GNU bug report logs - #70616
29.3; imenu in Elisp buffers omits keymap variables defined by defvar-keymap

Previous Next

Package: emacs;

Reported by: z <at> bcc32.com

Date: Sat, 27 Apr 2024 22:28:03 UTC

Severity: normal

Found in version 29.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70616 in the body.
You can then email your comments to 70616 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#70616; Package emacs. (Sat, 27 Apr 2024 22:28:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to z <at> bcc32.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 27 Apr 2024 22:28:03 GMT) Full text and rfc822 format available.

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

From: z <at> bcc32.com
To: bug-gnu-emacs <at> gnu.org
Subject: 29.3; imenu in Elisp buffers omits keymap variables defined by
 defvar-keymap
Date: Sat, 27 Apr 2024 17:21:42 -0400
1. emacs -Q
2. Visit some Elisp file that uses defvar-keymap, e.g., C-x C-f ~/src/emacs/trunk/lisp/button.el
3. M-x imenu

button-map is defined in this file, using the defvar-keymap macro, but
it doesn't show up in the imenu index.  Other things defined in this
file do show up.  I think this is just a matter of updating
lisp-imenu-generic-expression, but I'm not familiar enough to say for
certain.

In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.18.0, Xaw3d scroll bars)
Windowing system distributor 'HC-Consult', version 11.0.12014000
System Description: NixOS 23.11 (Tapir)

Configured using:
 'configure
 --prefix=/nix/store/2cgdvmzrgkihvjx4w34sjj29zjr2dy8b-emacs-29.3
 --disable-build-details --with-modules --with-x-toolkit=lucid
 --with-xft --with-cairo --with-compress-install
 --with-toolkit-scroll-bars --with-native-compilation
 --without-imagemagick --without-small-ja-dic --with-tree-sitter
 --with-xinput2 --without-xwidgets --with-dbus --with-selinux'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP
NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM
LUCID ZLIB

Important settings:
  value of $EMACSLOADPATH: 
  value of $EMACSNATIVELOADPATH: 
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Org




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 04 May 2024 11:16:01 GMT) Full text and rfc822 format available.

Notification sent to z <at> bcc32.com:
bug acknowledged by developer. (Sat, 04 May 2024 11:16:01 GMT) Full text and rfc822 format available.

Message #10 received at 70616-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: z <at> bcc32.com
Cc: 70616-done <at> debbugs.gnu.org
Subject: Re: bug#70616: 29.3;
 imenu in Elisp buffers omits keymap variables defined by defvar-keymap
Date: Sat, 04 May 2024 14:15:03 +0300
> From: z <at> bcc32.com
> Date: Sat, 27 Apr 2024 17:21:42 -0400
> 
> 1. emacs -Q
> 2. Visit some Elisp file that uses defvar-keymap, e.g., C-x C-f ~/src/emacs/trunk/lisp/button.el
> 3. M-x imenu
> 
> button-map is defined in this file, using the defvar-keymap macro, but
> it doesn't show up in the imenu index.  Other things defined in this
> file do show up.  I think this is just a matter of updating
> lisp-imenu-generic-expression, but I'm not familiar enough to say for
> certain.

Thanks.  This seems to be already fixed on the master branch, so I
think this bug is already fixed there, and I'm therefore closing it.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Jun 2024 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified today.

Previous Next


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