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 #30 received at 39802 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 39802 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#39802: (info "(emacs) Init Rebinding") needs to say it is
 impossible to unbind local keys
Date: Fri, 28 Feb 2020 09:52:22 +0200
> From: Noam Postavsky <npostavs <at> gmail.com>
> Date: Thu, 27 Feb 2020 08:14:56 -0500
> Cc: 39802 <at> debbugs.gnu.org
> 
> +@findex define-key
>    As described in @ref{Local Keymaps}, major modes and minor modes can
> -define local keymaps.  These keymaps are constructed when the mode is
> -used for the first time in a session.  If you wish to change one of
> -these keymaps, you must use the @dfn{mode hook} (@pxref{Hooks}).
> +define local keymaps.  The function @code{define-key} can be used to
> +make changes in a specific keymap.  This function can also unset keys,
> +when passed @code{nil} as the binding.

This loses useful information in the sentence that starts with "These
keymaps".

Otherwise I'm okay with the proposed change.




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.