bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56714: 28.1.90; html-mode-map binds M-o


From: Augusto Stoffel
Subject: bug#56714: 28.1.90; html-mode-map binds M-o
Date: Mon, 01 Aug 2022 19:20:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

On Sat, 23 Jul 2022 at 10:01, Daniel Mendler <mail@daniel-mendler.de> wrote:

> At least this explains your reaction that the feature is working as
> intended. However this looks like a bad compromise given that the
> situation is now even worse than before, since the users have to move
> two keybindings now instead of a single one if they want to get rid of
> M-o consistently.

I agree that not actually freeing M-o defeats the purpose of freeing it.

I would also like to add for the record that diff-mode suffers from the
same issue.  I believe the following diff would suffice to fix it.

modified   lisp/vc/diff-mode.el
@@ -196,7 +196,7 @@ diff-mode-map
           ;; We want to inherit most bindings from
           ;; `diff-mode-shared-map', but not all since they may hide
           ;; useful `M-<foo>' global bindings when editing.
-          (dolist (key '("A" "r" "R" "g" "q" "W" "z"))
+          (dolist (key '("A" "r" "R" "g" "q" "W" "z" "o"))
             (keymap-set map key nil))
           map)
   ;; From compilation-minor-mode.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]