From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konrad Podczeck Newsgroups: gmane.emacs.bugs Subject: bug#67694: 30.0.50; tool-bar Date: Mon, 18 Dec 2023 17:48:31 +0100 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34460"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67694@debbugs.gnu.org To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 18 17:49:13 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rFGno-0008hM-HW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Dec 2023 17:49:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFGne-0000qE-B4; Mon, 18 Dec 2023 11:49:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rFGnc-0000pR-Ej for bug-gnu-emacs@gnu.org; Mon, 18 Dec 2023 11:49:00 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rFGnc-0002yf-6L for bug-gnu-emacs@gnu.org; Mon, 18 Dec 2023 11:49:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFGnd-0001zN-T6 for bug-gnu-emacs@gnu.org; Mon, 18 Dec 2023 11:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Konrad Podczeck Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Dec 2023 16:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67694 X-GNU-PR-Package: emacs Original-Received: via spool by 67694-submit@debbugs.gnu.org id=B67694.17029181317603 (code B ref 67694); Mon, 18 Dec 2023 16:49:01 +0000 Original-Received: (at 67694) by debbugs.gnu.org; 18 Dec 2023 16:48:51 +0000 Original-Received: from localhost ([127.0.0.1]:33419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFGnT-0001yZ-D0 for submit@debbugs.gnu.org; Mon, 18 Dec 2023 11:48:51 -0500 Original-Received: from grace.univie.ac.at ([2001:62a:4:25::25:115]:51200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFGnR-0001xq-HY for 67694@debbugs.gnu.org; Mon, 18 Dec 2023 11:48:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev3; h=To:References:Message-Id:Content-Transfer-Encoding: Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=w4vd+ElHpIwLU2FRTFe1bHNK/8c3ekJCHtqGAKm3NB0=; b=go06VdrO7ygLs9dF520E4z2a+7 F+OZ0ju+Ncg4Hckq+rRH7i3pOKKCMkdnWnasaOBKI3MCXcAM1GhUTZzV0VrgXH5LAJpUlpd6T1mw0 9eZbYi23PZNcUoYe9Ua+GuFppxp69KyJ0cqjeX04LSL0veiPgKzU/QJDvqwsqYfME0jkqNUcfgKg3 s43o5Ngx2KQWhF0jykQoa7k12qjseqeYBKWiYvwSleCGVQfzC7gUjRnS15FuKMP8F70QQ2tGkZByC fTltbXhMxVy3mJHUyg5RVrnoBcgZ2BAxn+G0uvtivPEqWHcoVPb0pCAcWYjcDbrb1se+/Pvq8veni TuK0s6EA==; Original-Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at) by grace.univie.ac.at with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.97) (envelope-from ) id 1rFGnK-00000002nQh-0Val; Mon, 18 Dec 2023 17:48:42 +0100 Original-Received: from [41.66.124.146] (helo=smtpclient.apple) by joan.univie.ac.at with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.97) (envelope-from ) id 1rFGnK-00000008IRP-0CBU; Mon, 18 Dec 2023 17:48:42 +0100 In-Reply-To: X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Univie-Virus-Scan: scanned by ClamAV on joan.univie.ac.at X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276465 Archived-At: > Could you describe the steps to reproduce this bug in more detail? = Does > it happen only when using the pdf-tools package? No idea. >=20 > Starting from emacs -Q, I=E2=80=99ve installed the pdf-tools package = (M-x > package-install RET pdf-tools RET), but, after visiting a PDF file, I > don=E2=80=99t 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