--- Begin Message ---
Subject: |
[PATCH] docview: Only enable imenu when supported |
Date: |
Fri, 07 Jul 2023 11:24:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hello,
More info is in the commit message.
To re-create the error open up an EPUB file (or possibly any non-PDF
file in doc-view) and press 'M-g i' to run 'imenu'. Doing that I get
the following error:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
string-match("\\`PK\\'" nil)
imenu-find-default("PK" (("*Rescan*" . -99) nil))
imenu--completion-buffer((("*Rescan*" . -99) nil) nil)
imenu-choose-buffer-index()
byte-code("\300 C\207" [imenu-choose-buffer-index] 1)
command-execute(imenu)
0001-docview-Only-enable-imenu-when-supported.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#64516: [PATCH] docview: Only enable imenu when supported |
Date: |
Thu, 20 Jul 2023 19:05:38 +0300 |
> From: Tassilo Horn <tsdh@gnu.org>
> Cc: Eli Zaretskii <eliz@gnu.org>, 64516@debbugs.gnu.org, jao@gnu.org
> Date: Tue, 18 Jul 2023 21:14:35 +0200
>
> Alright, I've amended your patch with my slight modifications. Eli,
> feel free to "git am" it where you see fit. It should apply both on
> master and on emacs-29.
Thanks to both of you. I've now installed this on the master branch,
and I'm closing the bug.
--- End Message ---