GNU bug report logs -
#49953
28.0.50; tmm is broken on compiled menus
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Mon, 9 Aug 2021 07:24:02 UTC
Severity: normal
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
0. emacs -Q
1. Eval: (tmm-prompt (mouse-buffer-menu-keymap))
2. Select a menu item with the mouse click
from the *Completions* buffer
3. It fails with this backtrace:
Debugger entered--Lisp error: (error "Empty menu reached")
error("Empty menu reached")
tmm-prompt((keymap "Select Buffer" [("*scratch* * " . #f(compiled-function () (interactive nil) #<bytecode...
tmm-prompt((keymap (Select\ Buffer "Select Buffer" keymap ...
(progn (tmm-prompt (mouse-buffer-menu-keymap)))
eval((progn (tmm-prompt (mouse-buffer-menu-keymap))) t)
elisp--eval-last-sexp((4))
eval-last-sexp((4))
funcall-interactively(eval-last-sexp (4))
call-interactively(eval-last-sexp nil nil)
command-execute(eval-last-sexp)
This regression began to occur after merging native-compilation.
It seems the problem is that tmm-get-keymap does very strange things:
(cond ((if (listp elt)
(or (keymapp elt) (eq (car elt) 'lambda))
(and (symbolp elt) (fboundp elt)))
I don't know why it checks for 'lambda' and 'symbolp',
but such checks fail on a compiled function.
This bug report was last modified 3 years and 286 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.