[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#969462: elpa-pdf-tools: annotation editing broken with emacs 27.1



Hi,

I can confirm the problem. When trying to add new annotation I'm getting
wrong-number-of-arguments error. Please, find the debug log below:

Debugger entered--Lisp error: (wrong-number-of-arguments (3 . 4) 5)
  window--display-buffer(#<buffer *Edit Annotation 1989_hellman.pdf*> #<window 387 on 1989_hellman.pdf> window ((inhibit-same-window . t) (window-height . 0.25)) nil)
  display-buffer-split-below-and-attach(#<buffer *Edit Annotation 1989_hellman.pdf*> ((inhibit-same-window . t) (window-height . 0.25)))
  display-buffer(#<buffer *Edit Annotation 1989_hellman.pdf*> ((display-buffer-reuse-window display-buffer-split-below-and-attach) (inhibit-same-window . t) (window-height . 0.25)))
  pdf-annot-edit-contents(((buffer . #<buffer 1989_hellman.pdf>) (page . 8) (edges 0.080065 0.223485 0.19281 0.25) (type . squiggly) (id . annot-8-2) (flags . 0) (color . "#ffa500") (contents . "") (modified 24400 57626) (label . "Lev Lamberov") (subject) (opacity . 1.0) (popup-edges) (popup-is-open) (created) (markup-edges (0.080065 0.223485 0.19281 0.25))))
  pdf-annot-default-activate-handler(((buffer . #<buffer 1989_hellman.pdf>) (page . 8) (edges 0.080065 0.223485 0.19281 0.25) (type . squiggly) (id . annot-8-2) (flags . 0) (color . "#ffa500") (contents . "") (modified 24400 57626) (label . "Lev Lamberov") (subject) (opacity . 1.0) (popup-edges) (popup-is-open) (created) (markup-edges (0.080065 0.223485 0.19281 0.25))))
  pdf-annot-activate-annotation(((buffer . #<buffer 1989_hellman.pdf>) (page . 8) (edges 0.080065 0.223485 0.19281 0.25) (type . squiggly) (id . annot-8-2) (flags . 0) (color . "#ffa500") (contents . "") (modified 24400 57626) (label . "Lev Lamberov") (subject) (opacity . 1.0) (popup-edges) (popup-is-open) (created) (markup-edges (0.080065 0.223485 0.19281 0.25))))
  pdf-annot-add-annotation(squiggly ((0.08607594936708861 0.23679060665362034 0.1949367088607595 0.24266144814090018)) ((color . "orange") (label . "Lev Lamberov")) 8)
  pdf-annot-add-markup-annotation(((0.08607594936708861 0.23679060665362034 0.1949367088607595 0.24266144814090018)) squiggly nil nil)
  pdf-annot-add-squiggly-markup-annotation(((0.08607594936708861 0.23679060665362034 0.1949367088607595 0.24266144814090018)))
  funcall-interactively(pdf-annot-add-squiggly-markup-annotation ((0.08607594936708861 0.23679060665362034 0.1949367088607595 0.24266144814090018)))
  #<subr call-interactively>(pdf-annot-add-squiggly-markup-annotation nil nil)
  apply(#<subr call-interactively> pdf-annot-add-squiggly-markup-annotation (nil nil))
  call-interactively@ido-cr+-record-current-command(#<subr call-interactively> pdf-annot-add-squiggly-markup-annotation nil nil)
  apply(call-interactively@ido-cr+-record-current-command #<subr call-interactively> (pdf-annot-add-squiggly-markup-annotation nil nil))
  call-interactively(pdf-annot-add-squiggly-markup-annotation nil nil)
  command-execute(pdf-annot-add-squiggly-markup-annotation)

Regards,
Lev


Reply to: