GNU bug report logs - #39802
(info "(emacs) Init Rebinding") doesn't explain how to unbind local keys

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 26 Feb 2020 15:49:01 UTC

Severity: wishlist

Tags: fixed, patch

Merged with 39630

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 39802 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 39802 <at> debbugs.gnu.org
Subject: Re: bug#39802: (info "(emacs) Init Rebinding") needs to say it is
 impossible to unbind local keys
Date: Wed, 26 Feb 2020 12:04:05 -0500
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> If
>
>   C-. runs the command flyspell-auto-correct-word (found in
>   flyspell-mode-map), which is an interactive compiled Lisp function in
>  ‘flyspell.el’.
>
>   It is bound to C-., C-M-i.
>
> And the user wants to unbind it, well,
> (info "(emacs) Init Rebinding")
> won't break the bad news to him that it is just not possible.

If I understood correctly, then

    (define-key flyspell-mode-map (kbd "C-.") nil)

would work.




This bug report was last modified 5 years and 78 days ago.

Previous Next


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