GNU bug report logs - #33695
27.0.50; which-function reports wrong imenu information

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Mon, 10 Dec 2018 18:59:02 UTC

Severity: normal

Found in version 27.0.50

Done: Alex Branham <alex.branham <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 33695 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Alex Branham <alex.branham <at> gmail.com>, 33695 <at> debbugs.gnu.org
Subject: Re: bug#33695: 27.0.50; which-function reports wrong imenu information
Date: Tue, 11 Dec 2018 09:35:08 +0100
> - Have `which-function' update `imenu--index-alist' before checking it
>    (also easy to implement, but updating the index could be slow in large
>    buffers)

Maybe we should try to do what 'imenu-update-menubar' does here:
Compare the values of 'imenu-menubar-modified-tick' and
'buffer-chars-modified-tick' and update 'imenu--index-alist' if they
differ.

martin




This bug report was last modified 6 years and 151 days ago.

Previous Next


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