GNU bug report logs - #66022
30.0.50; kmacro overwriting global keybindings

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Sat, 16 Sep 2023 06:39:02 UTC

Severity: normal

Found in version 30.0.50

Fixed in version 30.1

Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: monnier <at> iro.umontreal.ca, 66022 <at> debbugs.gnu.org
Subject: bug#66022: 30.0.50; kmacro overwriting global keybindings
Date: Sun, 17 Sep 2023 08:52:07 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
>> Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>,  66022 <at> debbugs.gnu.org
>> Date: Sun, 17 Sep 2023 08:40:06 +0200
>> 
>> I'm using use-package (+ straight) in my init.el, and because of that
>> the bindings are done, behind the scenes, with bind-key.  The
>> use-package binding f2 looks like (stripped down):
>> 
>>   (use-package emacs
>>     :bind
>>     ;; FIXME: The function key bindings sometimes mysteriously
>>     ;; disappear, and are replaced with the original bindings in
>>     ;; global-map.
>>     ("<f2>" . mode-line-other-buffer))
>
> What does use-package do when the "package" is "emacs"?  IOW, at what
> point in time will the above binding be executed, and what event will
> trigger that?

Nothing.  It's sort of an idiom I found on the net for general
customizations and so on that don't belong to a particular package.
Some people apparently name it "general".




This bug report was last modified 1 year and 227 days ago.

Previous Next


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