GNU bug report logs -
#37623
27.0.50; describe-key fails in tab-bar-mode
Previous Next
Reported by: Alex Branham <alex.branham <at> gmail.com>
Date: Fri, 4 Oct 2019 14:25:01 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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37623 in the body.
You can then email your comments to 37623 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37623
; Package
emacs
.
(Fri, 04 Oct 2019 14:25:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Branham <alex.branham <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 04 Oct 2019 14:25:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi, and thanks for all the work on tab-bar-mode!
It appears as though describe-key fails when the mouse is pressed on a
non-currently-active tab in the tab-bar:
emacs -Q
M-x tab-bar-mode
C-x b RET
C-h k (then click the mouse button on a non-currently-active tab):
run-hook-with-args: Wrong type argument: symbolp, #[0 "ÁÀ!" [(tab
(name . "*scratch*") (time . 1570198894) (wc . #<window-configuration>)
(ws ((min-height . 4) (min-width . 10) (min-height-ignore . 2)
(min-width-ignore . 6) (min-height-safe . 1) (min-width-safe . 2)
(min-pixel-height . 68) (min-pixel-width . 80) (min-pixel-height-ignore
. 34) (min-pixel-width-ignore . 48) ...) leaf (pixel-width . 1600)
(pixel-height . 714) (total-width . 200) (total-height . 42)
(normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected
. t) (hscroll . 0) (fringes 8 8 nil nil) (margins nil) (scroll-bars nil
2 t nil 0 t nil) (vscroll . 0) (dedicated) (point . 146) ...)))
tab-bar-select-tab] 2 nil nil]Cannot find image file
‘/build/source/etc/images/tabs/close.xpm’
Thanks,
Alex
In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10)
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: NixOS 19.03.173553.6420e2649fa (Koi)
Configured using:
'configure
--prefix=/nix/store/79qhpwxjkiczd5zbhqlr183dq7340rwz-emacs-27.0.50
--disable-build-details --with-modules --with-x-toolkit=gtk3 --with-xft
CFLAGS=-DMAC_OS_X_VERSION_MAX_ALLOWED=101200'
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY
LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON
PDUMPER GMP
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Memory information:
((conses 16 738894 80787)
(symbols 48 56491 67)
(strings 32 210994 11090)
(string-bytes 1 6887125)
(vectors 16 112908)
(vector-slots 8 2382739 96402)
(floats 8 1127 347)
(intervals 56 18313 1652)
(buffers 1000 47))
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37623
; Package
emacs
.
(Mon, 07 Oct 2019 20:37:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 37623 <at> debbugs.gnu.org (full text, mbox):
> It appears as though describe-key fails when the mouse is pressed on a
> non-currently-active tab in the tab-bar:
>
> emacs -Q
> M-x tab-bar-mode
> C-x b RET
> C-h k (then click the mouse button on a non-currently-active tab):
>
> run-hook-with-args: Wrong type argument: symbolp, #[0 "ÁÀ!" [(tab
> (name . "*scratch*") (time . 1570198894) (wc . #<window-configuration>)
> (ws ((min-height . 4) (min-width . 10) (min-height-ignore . 2)
> (min-width-ignore . 6) (min-height-safe . 1) (min-width-safe . 2)
> (min-pixel-height . 68) (min-pixel-width . 80) (min-pixel-height-ignore
> . 34) (min-pixel-width-ignore . 48) ...) leaf (pixel-width . 1600)
> (pixel-height . 714) (total-width . 200) (total-height . 42)
> (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected
> . t) (hscroll . 0) (fringes 8 8 nil nil) (margins nil) (scroll-bars nil
> 2 t nil 0 t nil) (vscroll . 0) (dedicated) (point . 146) ...)))
> tab-bar-select-tab] 2 nil nil]Cannot find image file
> ‘/build/source/etc/images/tabs/close.xpm’
From what I see, you clicked the mouse button on the tab close button, right?
Then I can reproduce the same problem, and it seems the bug is in
Help mode that can't handle lambda as a function, it supports only
function symbols. A complete backtrace:
Debugger entered--Lisp error: (wrong-type-argument symbolp (lambda nil (interactive) (tab-bar-close-tab 1)))
help-fns--globalized-minor-mode((lambda nil (interactive) (tab-bar-close-tab 1)))
run-hook-with-args(help-fns--globalized-minor-mode (lambda nil (interactive) (tab-bar-close-tab 1)))
describe-function-1((lambda nil (interactive) (tab-bar-close-tab 1)))
describe-key((([(tab-bar) C-current-tab] . [(tab-bar) C-current-tab])))
funcall-interactively(describe-key (([(tab-bar) C-current-tab] . [(tab-bar) C-current-tab])))
call-interactively(describe-key nil nil)
command-execute(describe-key)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37623
; Package
emacs
.
(Mon, 07 Oct 2019 21:19:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 37623 <at> debbugs.gnu.org (full text, mbox):
On Mon 07 Oct 2019 at 23:34, Juri Linkov <juri <at> linkov.net> wrote:
>> It appears as though describe-key fails when the mouse is pressed on a
>> non-currently-active tab in the tab-bar:
>>
>> emacs -Q
>> M-x tab-bar-mode
>> C-x b RET
>> C-h k (then click the mouse button on a non-currently-active tab):
>>
>> run-hook-with-args: Wrong type argument: symbolp, #[0 "ÁÀ!" [(tab
>> (name . "*scratch*") (time . 1570198894) (wc . #<window-configuration>)
>> (ws ((min-height . 4) (min-width . 10) (min-height-ignore . 2)
>> (min-width-ignore . 6) (min-height-safe . 1) (min-width-safe . 2)
>> (min-pixel-height . 68) (min-pixel-width . 80) (min-pixel-height-ignore
>> . 34) (min-pixel-width-ignore . 48) ...) leaf (pixel-width . 1600)
>> (pixel-height . 714) (total-width . 200) (total-height . 42)
>> (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected
>> . t) (hscroll . 0) (fringes 8 8 nil nil) (margins nil) (scroll-bars nil
>> 2 t nil 0 t nil) (vscroll . 0) (dedicated) (point . 146) ...)))
>> tab-bar-select-tab] 2 nil nil]Cannot find image file
>> ‘/build/source/etc/images/tabs/close.xpm’
>
> From what I see, you clicked the mouse button on the tab close button,
> right?
Anywhere in a non-active tab, not just on the tab close button.
The message about the image file not being found is unrelated (probably,
anyway), seems to be another bug or issue with my build. I get *tons*
(thousands) of these messages but haven't had time to look into it yet:
Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’
Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
Thanks,
Alex
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37623
; Package
emacs
.
(Wed, 09 Oct 2019 20:59:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 37623 <at> debbugs.gnu.org (full text, mbox):
>>> It appears as though describe-key fails when the mouse is pressed on a
>>> non-currently-active tab in the tab-bar:
>>>
>>> emacs -Q
>>> M-x tab-bar-mode
>>> C-x b RET
>>> C-h k (then click the mouse button on a non-currently-active tab):
>>>
>>> run-hook-with-args: Wrong type argument: symbolp, #[0 "ÁÀ!" [(tab
>>> (name . "*scratch*") (time . 1570198894) (wc . #<window-configuration>)
>>> (ws ((min-height . 4) (min-width . 10) (min-height-ignore . 2)
>>> (min-width-ignore . 6) (min-height-safe . 1) (min-width-safe . 2)
>>> (min-pixel-height . 68) (min-pixel-width . 80) (min-pixel-height-ignore
>>> . 34) (min-pixel-width-ignore . 48) ...) leaf (pixel-width . 1600)
>>> (pixel-height . 714) (total-width . 200) (total-height . 42)
>>> (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected
>>> . t) (hscroll . 0) (fringes 8 8 nil nil) (margins nil) (scroll-bars nil
>>> 2 t nil 0 t nil) (vscroll . 0) (dedicated) (point . 146) ...)))
>>> tab-bar-select-tab] 2 nil nil]Cannot find image file
>>> ‘/build/source/etc/images/tabs/close.xpm’
>>
>> From what I see, you clicked the mouse button on the tab close button,
>> right?
>
> Anywhere in a non-active tab, not just on the tab close button.
I see that today Lars fixed this help-mode bug in f2cbc7214f, so
now it's possible to use lambdas in menu items.
Please try again.
> The message about the image file not being found is unrelated (probably,
> anyway), seems to be another bug or issue with my build. I get *tons*
> (thousands) of these messages but haven't had time to look into it yet:
>
> Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’
> Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
I don't know why your build has no images, but I'll fix these warnings
by checking if the image exists.
Reply sent
to
Alex Branham <alex.branham <at> gmail.com>
:
You have taken responsibility.
(Wed, 09 Oct 2019 21:06:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Alex Branham <alex.branham <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 09 Oct 2019 21:06:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 37623-done <at> debbugs.gnu.org (full text, mbox):
On Wed 09 Oct 2019 at 23:43, Juri Linkov <juri <at> linkov.net> wrote:
> I see that today Lars fixed this help-mode bug in f2cbc7214f, so
> now it's possible to use lambdas in menu items.
>
> Please try again.
Yes, that seems to be fixed so I'm closing this report. Thanks!
>> The message about the image file not being found is unrelated (probably,
>> anyway), seems to be another bug or issue with my build. I get *tons*
>> (thousands) of these messages but haven't had time to look into it yet:
>>
>> Cannot find image file ‘/build/source/etc/images/tabs/close.xpm’
>> Cannot find image file ‘/build/source/etc/images/tabs/new.xpm’
>
> I don't know why your build has no images, but I'll fix these warnings
> by checking if the image exists.
I've opened bug#37685 for that.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 07 Nov 2019 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 220 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.