GNU bug report logs -
#75380
Hyperbole menu breaks with custom keybinding
Previous Next
Reported by: Julian Hoch <julianhoch <at> web.de>
Date: Sun, 5 Jan 2025 11:48:02 UTC
Severity: normal
Done: Mats Lidell <matsl <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 75380 in the body.
You can then email your comments to 75380 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-hyperbole <at> gnu.org
:
bug#75380
; Package
hyperbole
.
(Sun, 05 Jan 2025 11:48:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Julian Hoch <julianhoch <at> web.de>
:
New bug report received and forwarded. Copy sent to
bug-hyperbole <at> gnu.org
.
(Sun, 05 Jan 2025 11:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
I am encountering a bug where the Hyperbole menu does not work when you
bind the "hyperbole" command to a custom key. I bound it to the
(admittedly somewhat unusual) key "S-<SF86Tools>" - simply one of the
few unused keys that I could comfortably map on my keyboard.
I use this code to bind the key:
(bind-key "S-<XF86Tools>" 'hyperbole)
If I now open Hyperbole menu and try to get into a submenu, I get the
following error:
Debugger entered--Lisp error: (wrong-type-argument characterp S-XF86Tools)
hui:menu-item(69 nil nil nil (("Hy9.0.2pre>") ("Act" hui:hbut-act "Activate button at point or prompt for a labeled b...") ("Butfile/" (menu . butfile) "Quick access button files menus.") ("Cust/" (menu . cust) "Customize Hyperbole by setting major options.") ("Doc/" (menu . doc) "Quick access to Hyperbole documentation.") ("Ebut/" (menu . ebut) "Explicit button commands.") ("Find/" (menu . find) "Find matching line commands.") ("Gbut/" (menu . gbut) "Global button commands.") ("HyWiki/" (menu . hywiki) "HyWiki commands.") ("Ibut/" (menu . ibut) "Implicit button and button type commands.") ("Kotl/" (menu . kotl) "Autonumbered outlining and hyperlink capabilities.") ("Msg/" (menu . msg) "Mail and News messaging capabilities.") ("Rolo/" (menu . hyrolo) "Hierarchical, multi-file rolo lookup and edit comm...") ("Screen/" (menu . screen) "Screen display management commands.") ("Win/" (menu . win) "Window configuration management commands.") ("historY" hhist:pop "Jump back to location prior to last Hyperbole butt...")))
...
As a workaround, I ALSO bind hyperbole to {C-h h} using
(general-define-key "C-h h" 'hyperbole)
After that, the menu works again (with both bindings).
However I feel this should not be necessary?
I use: Editor: GNU Emacs 29.4 with native comp
Hyperbole: 9.0.2pre
Sys Type: x86_64-pc-linux-gnu
OS Type: gnu/linux
Window Sys: x
News Reader: Gnus v5.13
Install: melpa, 20241230.2252
--
Julian Hoch
Information forwarded
to
bug-hyperbole <at> gnu.org
:
bug#75380
; Package
hyperbole
.
(Fri, 10 Jan 2025 21:58:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 75380 <at> debbugs.gnu.org (full text, mbox):
> Julian Hoch writes:
> Hi,
>
> I am encountering a bug where the Hyperbole menu does not work when you
> bind the "hyperbole" command to a custom key. I bound it to the
> (admittedly somewhat unusual) key "S-<SF86Tools>" - simply one of the
> few unused keys that I could comfortably map on my keyboard.
> I use this code to bind the key:
>
> (bind-key "S-<XF86Tools>" 'hyperbole)
>
> If I now open Hyperbole menu and try to get into a submenu, I get the
> following error:
>
> Debugger entered--Lisp error: (wrong-type-argument characterp S-XF86Tools)
> hui:menu-item(69 nil nil nil (("Hy9.0.2pre>") ("Act" hui:hbut-act "Activate button at point or prompt for a labeled b...") ("Butfile/" (menu . butfile) "Quick access button files menus.") ("Cust/" (menu . cust) "Customize Hyperbole by setting major options.") ("Doc/" (menu . doc) "Quick access to Hyperbole documentation.") ("Ebut/" (menu . ebut) "Explicit button commands.") ("Find/" (menu . find) "Find matching line commands.") ("Gbut/" (menu . gbut) "Global button commands.") ("HyWiki/" (menu . hywiki) "HyWiki commands.") ("Ibut/" (menu . ibut) "Implicit button and button type commands.") ("Kotl/" (menu . kotl) "Autonumbered outlining and hyperlink capabilities.") ("Msg/" (menu . msg) "Mail and News messaging capabilities.") ("Rolo/" (menu . hyrolo) "Hierarchical, multi-file rolo lookup and edit comm...") ("Screen/" (menu . screen) "Screen display management commands.") ("Win/" (menu . win) "Window configuration management commands.") ("historY" hhist:pop "Jump back to location prior to last Hyperbole butt...")))
> ...
>
> As a workaround, I ALSO bind hyperbole to {C-h h} using
>
> (general-define-key "C-h h" 'hyperbole)
>
> After that, the menu works again (with both bindings).
>
> However I feel this should not be necessary?
>
> I use: Editor: GNU Emacs 29.4 with native comp
> Hyperbole: 9.0.2pre
> Sys Type: x86_64-pc-linux-gnu
> OS Type: gnu/linux
> Window Sys: x
> News Reader: Gnus v5.13
> Install: melpa, 20241230.2252
> --
> Julian Hoch
This has been fixed with the commit 4033e96 and is available through the latest versions from Melpa or GNU-devel ELPA. Please git it a try.
%% Mats
bug closed, send any further explanations to
75380 <at> debbugs.gnu.org and Julian Hoch <julianhoch <at> web.de>
Request was from
Mats Lidell <matsl <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Fri, 10 Jan 2025 22:06:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 08 Feb 2025 12:24:13 GMT)
Full text and
rfc822 format available.
This bug report was last modified 129 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.