From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: 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 Message-ID: <83blpjgnd5.fsf@gnu.org> References: <87blplic2s.5.fsf@jidanni.org> <85ftex9vc0.fsf@gmail.com> <8736axia2u.5.fsf@jidanni.org> <85d0a19t6i.fsf@gmail.com> <871rqh0w9p.5.fsf@jidanni.org> <87eeug9nov.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="4066"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39802@debbugs.gnu.org, jidanni@jidanni.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 28 08:53:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j7aSN-0000wR-Hu for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Feb 2020 08:53:11 +0100 Original-Received: from localhost ([::1]:43174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7aSM-0006cK-HR for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Feb 2020 02:53:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39199) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7aSF-0006bi-KW for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 02:53:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7aSE-0004Cr-LY for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 02:53:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54619) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7aSE-0004Ck-Id for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 02:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j7aSE-0005BM-Ef for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 02:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Feb 2020 07:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 39802-submit@debbugs.gnu.org id=B39802.158287636319891 (code B ref 39802); Fri, 28 Feb 2020 07:53:02 +0000 Original-Received: (at 39802) by debbugs.gnu.org; 28 Feb 2020 07:52:43 +0000 Original-Received: from localhost ([127.0.0.1]:60592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7aRv-0005Al-D8 for submit@debbugs.gnu.org; Fri, 28 Feb 2020 02:52:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7aRt-0005AX-8q for 39802@debbugs.gnu.org; Fri, 28 Feb 2020 02:52:41 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j7aRo-0003iy-0I; Fri, 28 Feb 2020 02:52:36 -0500 Original-Received: from [176.228.60.248] (port=1091 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j7aRn-0005It-BP; Fri, 28 Feb 2020 02:52:35 -0500 In-reply-to: <87eeug9nov.fsf@gmail.com> (message from Noam Postavsky on Thu, 27 Feb 2020 08:14:56 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176557 Archived-At: > From: Noam Postavsky > Date: Thu, 27 Feb 2020 08:14:56 -0500 > Cc: 39802@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.