GNU bug report logs - #67694
30.0.50; tool-bar

Previous Next

Package: emacs;

Reported by: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>

Date: Thu, 7 Dec 2023 15:45:01 UTC

Severity: normal

Merged with 51336, 67528

Found in versions 29.0.50, 30.0.50

Full log


View this message in rfc822 format

From: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
To: Daniel Martín <mardani29 <at> yahoo.es>
Cc: 67694 <at> debbugs.gnu.org
Subject: bug#67694: 30.0.50; tool-bar
Date: Mon, 18 Dec 2023 17:48:31 +0100

> Could you describe the steps to reproduce this bug in more detail?  Does
> it happen only when using the pdf-tools package?


No idea.

> 
> Starting from emacs -Q, I’ve installed the pdf-tools package (M-x
> package-install RET pdf-tools RET), but, after visiting a PDF file, I
> don’t see any tool-bar icons to go to the previous and next page in the
> PDF.


I have inserted something like the following in pdf-view.el:


(defvar pdfview-tool-bar-map
  (let ((map (make-sparse-keymap)))
(tool-bar-local-item "some-picture-name-1" 'pdf-view-first-page 'pdf-view-first-page map :help "First page")
(tool-bar-local-item "some-picture-name-2" 'pdf-view-next-page 'pdf-view-next-page map :help "Next page")
(tool-bar-local-item "some-picture-name-3" 'pdf-view-previous-page 'pdf-view-previous-page map :help "Previous page")
(tool-bar-local-item "some-picture-name-4" 'pdf-view-last-page 'pdf-view-last-page map :help "Last page")
map)



and, after the block starting with "(setq-local mode-line-position


(setq-local tool-bar-map pdfview-tool-bar-map)

Konrad





This bug report was last modified 1 year and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.