* global keybindings re-defined on package upgrade
@ 2022-09-15 20:55 Jose Antonio Ortega Ruiz
2022-09-15 23:02 ` Jose A Ortega Ruiz
0 siblings, 1 reply; 2+ messages in thread
From: Jose Antonio Ortega Ruiz @ 2022-09-15 20:55 UTC (permalink / raw)
To: emacs-devel
Hi,
Since a little while ago, in emacs 29.0.50 (master), it happens often
that when i upgrade installed packages, some global keybindings i've
re-defined in my init (e.g. <f2>, C-l, C-x p) get re-assigned to their
original binding; it doesn't happen all the time and i haven't yet been
able to find a pattern. But perhaps this is expected behaviour and i
should restart emacs on upgrade, or maybe move to new-style keymap-*
functions (i'm still using global-set-key and friends).
Thanks,
jao
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: global keybindings re-defined on package upgrade
2022-09-15 20:55 global keybindings re-defined on package upgrade Jose Antonio Ortega Ruiz
@ 2022-09-15 23:02 ` Jose A Ortega Ruiz
0 siblings, 0 replies; 2+ messages in thread
From: Jose A Ortega Ruiz @ 2022-09-15 23:02 UTC (permalink / raw)
To: emacs-devel
On Thu, Sep 15 2022, Jose Antonio Ortega Ruiz wrote:
> Hi,
>
> Since a little while ago, in emacs 29.0.50 (master), it happens often
> that when i upgrade installed packages, some global keybindings i've
> re-defined in my init (e.g. <f2>, C-l, C-x p) get re-assigned to their
> original binding; it doesn't happen all the time and i haven't yet been
> able to find a pattern. But perhaps this is expected behaviour and i
> should restart emacs on upgrade, or maybe move to new-style keymap-*
> functions (i'm still using global-set-key and friends).
Answering to myself, this is probably related to use-package's :bind
forms assigning keybindings to the global map; those seem to be the
bindings that are lost on package upgrades. I'll bring the issue to its
developer(s) once i manage to reproduce it reliably.
Thanks,
jao
--
Not far from the invention of fire must rank the invention of doubt.
-Thomas Henry Huxley, biologist (1825-1895)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-15 23:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15 20:55 global keybindings re-defined on package upgrade Jose Antonio Ortega Ruiz
2022-09-15 23:02 ` Jose A Ortega Ruiz
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).