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

2020-09-04 Thread Rémi Vanicat
Le 03 septembre 2020, David Bremner a écrit: [...] > Let me know if you intend to update pdf-tools to a new upstream > version. If not I (or someone) can upload a patched version of 0.90 > I'm a little overwhelmed by paid work those week, so I would be thankful for a team upload. Thanks for th

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

2020-09-03 Thread Lev Lamberov
Чт 03 сен 2020 @ 10:13 David Bremner : > 3) replace the definition of display-buffer-split-below-and-attach > > (defun display-buffer-split-below-and-attach (buf alist) > "Display buffer action using `pdf-util-window-attach'." > (let ((window (selected-window)) > (height (cdr (assq 'wi

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

2020-09-03 Thread Lev Lamberov
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(# # window ((inhibit-same-window . t) (window-height . 0.25

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

2020-09-03 Thread David Bremner
Package: elpa-pdf-tools Version: 0.90-3 Severity: important -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 The function display-buffer-split-below-and-attach in pdf-utils.el calls the (presumably internal) function window--display-buffer with 5 arguments, when it expects 3 to 4 in emacs 27.1. T