emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#64516: closed ([PATCH] docview: Only enable imenu when supported)


From: GNU bug Tracking System
Subject: bug#64516: closed ([PATCH] docview: Only enable imenu when supported)
Date: Thu, 20 Jul 2023 16:06:02 +0000

Your message dated Thu, 20 Jul 2023 19:05:38 +0300
with message-id <83bkg636wd.fsf@gnu.org>
and subject line Re: bug#64516: [PATCH] docview: Only enable imenu when 
supported
has caused the debbugs.gnu.org bug report #64516,
regarding [PATCH] docview: Only enable imenu when supported
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
64516: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64516
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- 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)

Attachment: 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 ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]