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

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

bug#49104: [PATCH] 28.0.50; Handle remapped commands for M-TAB in `flysp


From: Eli Zaretskii
Subject: bug#49104: [PATCH] 28.0.50; Handle remapped commands for M-TAB in `flyspell-prog-mode'
Date: Sat, 19 Jun 2021 15:20:12 +0300

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Jim Porter <jporterbugs@gmail.com>,  49104@debbugs.gnu.org
> Date: Sat, 19 Jun 2021 07:51:29 -0400
> 
> >> To reproduce this issue, you can do the following:
> >> 
> >>   emacs -Q
> >>   (global-set-key [remap completion-at-point]
> >>                   (lambda () (interactive) (message "remapped")))
> >>   M-x flyspell-prog-mode
> >>   M-TAB ;; Or C-M-i
> >
> > Isn't it a bug that global/local-key-binding don't return such
> > remapped bindings, at least optionally?
> 
> I don't

Why not?

> but I wonder why flyspell-prog-mode uses those functions
> instead of using just `key-binding`

Because the latter is not described in the ELisp manual where
global/local-key-binding are, and isn't referenced from there?





reply via email to

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