unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#66022: 30.0.50; kmacro overwriting global keybindings
@ 2023-09-16  6:38 Gerd Möllmann
  2023-09-16  7:01 ` Andreas Schwab
                   ` (2 more replies)
  0 siblings, 3 replies; 54+ messages in thread
From: Gerd Möllmann @ 2023-09-16  6:38 UTC (permalink / raw)
  To: 66022

current master 1442f4043a761e9bdeeb4e1fbe9822c2987c1502, emacs -Q

  (keymap-global-set "S-<mouse-3>" 'ignore)

then C-x ( C-g.

  (keymap-lookup global-map "S-<mouse-3>")
  => kmacro-end-call-mouse

Notice that the binding has been overwritten.

This is actually not the binding I care about, but it's the only one I
can easily reproduce with emacs -Q.  With my init file, and with a
(trace-function 'global-set-key) I see

======================================================================
1 -> (global-set-key "(" kmacro-start-macro)
1 <- global-set-key: kmacro-start-macro
======================================================================
1 -> (global-set-key ")" kmacro-end-macro)
1 <- global-set-key: kmacro-end-macro
======================================================================
1 -> (global-set-key "e" kmacro-end-and-call-macro)
1 <- global-set-key: kmacro-end-and-call-macro
======================================================================
1 -> (global-set-key [f3] kmacro-start-macro-or-insert-counter)
1 <- global-set-key: kmacro-start-macro-or-insert-counter
======================================================================
1 -> (global-set-key [f4] kmacro-end-or-call-macro)
1 <- global-set-key: kmacro-end-or-call-macro
======================================================================
1 -> (global-set-key "\v" kmacro-keymap)
1 <- global-set-key: kmacro-keymap
======================================================================
1 -> (global-set-key "6" 2C-command)
1 <- global-set-key: 2C-command
======================================================================
1 -> (global-set-key [f2] 2C-command)
1 <- global-set-key: 2C-command

which overwrites part of my key bindings, also with ones from two-column.

(Note that two-column and kmacro are the only packages with autoloads
for global-set-key.  Maybe that plays a role, but TBH I don't have a
clue what's going on here.)





^ permalink raw reply	[flat|nested] 54+ messages in thread

end of thread, other threads:[~2023-10-04  5:01 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-16  6:38 bug#66022: 30.0.50; kmacro overwriting global keybindings Gerd Möllmann
2023-09-16  7:01 ` Andreas Schwab
2023-09-16  7:36   ` Gerd Möllmann
2023-09-16 18:44     ` Gerd Möllmann
2023-09-16 20:06       ` Andreas Schwab
2023-09-16 20:18         ` Gerd Möllmann
2023-09-16 20:37           ` Andreas Schwab
2023-09-16 20:55             ` Gerd Möllmann
2023-09-17  6:05 ` Eli Zaretskii
2023-09-17  6:31   ` Gerd Möllmann
2023-09-17  6:40     ` Gerd Möllmann
2023-09-17  6:47       ` Eli Zaretskii
2023-09-17  6:52         ` Gerd Möllmann
2023-09-17  8:53           ` Eli Zaretskii
2023-09-17  8:58             ` Gerd Möllmann
2023-09-17  9:18               ` Eli Zaretskii
2023-09-17  9:50                 ` Gerd Möllmann
2023-09-17 10:02                 ` Gerd Möllmann
2023-09-17 10:45                   ` Eli Zaretskii
2023-09-17 11:07                     ` Gerd Möllmann
2023-09-17 11:23                       ` Eli Zaretskii
2023-09-17 11:26                         ` Gerd Möllmann
2023-09-17 17:13                       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-17 18:10                         ` Gerd Möllmann
2023-09-17 19:10                           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-18 14:36                             ` Gerd Möllmann
2023-09-18 14:42                               ` Gerd Möllmann
2023-09-18 14:52                                 ` Eli Zaretskii
2023-09-18 14:56                                   ` Gerd Möllmann
2023-09-18 15:09                                     ` Eli Zaretskii
2023-09-18 15:18                                       ` Gerd Möllmann
2023-09-18 15:25                                         ` Gerd Möllmann
2023-09-18 16:25                                           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-18 16:33                                             ` Gerd Möllmann
2023-09-18 17:00                                               ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-18 17:54                                                 ` Gerd Möllmann
2023-09-18 18:24                                                   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-18 18:27                                                     ` Gerd Möllmann
2023-09-20  9:57                                                     ` Gerd Möllmann
2023-09-20 14:11                                                       ` Eli Zaretskii
2023-09-20 14:22                                                         ` Gerd Möllmann
2023-09-20 15:04                                                           ` Eli Zaretskii
2023-09-20 15:09                                                             ` Gerd Möllmann
2023-09-20 16:56                                                           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-20 18:24                                                             ` Gerd Möllmann
2023-09-20 18:50                                                               ` Alan Third
2023-09-20 19:04                                                                 ` Gerd Möllmann
2023-09-21  5:13                                                                 ` Gerd Möllmann
2023-09-20 19:05                                                             ` Alan Third
2023-09-18 17:03                                           ` Eli Zaretskii
2023-09-18 17:42                                             ` Gerd Möllmann
2023-09-18 16:23                                     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-18 17:19                                       ` Eli Zaretskii
2023-10-04  5:01 ` Gerd Möllmann

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).