From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: unexpected result with keymap inheritance Date: Tue, 22 Nov 2016 22:07:31 +0300 Message-ID: <871sy3jpu4.fsf@gmail.com> References: <20161121002838.rkoniry5n6aemrzt@doriath.local> <87twb0sqnr.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1479841686 2345 195.159.176.226 (22 Nov 2016 19:08:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 22 Nov 2016 19:08:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 22 20:08:02 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9GQE-0008LW-Nk for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Nov 2016 20:08:02 +0100 Original-Received: from localhost ([::1]:57571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9GQI-0002Zg-3N for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Nov 2016 14:08:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9GPn-0002Zb-3R for help-gnu-emacs@gnu.org; Tue, 22 Nov 2016 14:07:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9GPj-00071J-Ug for help-gnu-emacs@gnu.org; Tue, 22 Nov 2016 14:07:35 -0500 Original-Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:35267) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9GPj-00070B-OG for help-gnu-emacs@gnu.org; Tue, 22 Nov 2016 14:07:31 -0500 Original-Received: by mail-wm0-x22e.google.com with SMTP id a197so41412089wmd.0 for ; Tue, 22 Nov 2016 11:07:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Bnsd4dHArafo/15xr9Q2bkisJQrdFjR15OwIVsWZx1E=; b=HQJRdIdE7BEZ2ESWn1raoyS7vnZrBynbFWC0clYQZ2nXS2aDyN4fYSMK+cxbiNMWgW bG5adpB6Im4C3pXbpPiZ66Z81JDc4elSUUCpq0OAiVMedQ/mOGNHuogb+EXO8DntW5df hJKkHbg3gsQyaXZa+omQHyd6yYfyxkN3RAMzJ8j9BK4TuJ6Xr7fF64BRxAZxjBC+hM4R QbH06xjA8KU13oK2yqQh8fRYJR5JLZf6MGPPqXxfV8GizlEn9x7MAx4qi/+ysoOd/7B+ kJRpYpbUpWPiz+nCFfM3VA8QIGjCcQYkCPMITjkduiQB69vaElCgTv+VL+f+ugQ1qUX1 ug7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Bnsd4dHArafo/15xr9Q2bkisJQrdFjR15OwIVsWZx1E=; b=HdPAealqL1VGZv1by+hur72BDZEUOx5tvkYawryKozhpoSkDgrOwT50pQg/lNFCDie jU0schIYtrTjZorca+mMasqMP8mtSO+lNlHB4rMrptVyuZehjaOFr29AAuqkKHK8qDHP wEHC7devCdXMZlknNDU5Yr79Nz7mAAWBz2Mj4xgYWYu258f0mpLfFOB8wGLQtq51sP/H oHNtvA4KoupJ+WGcZxDOJkfYdQHqEKEhZsPEJKwMFdavHEsZjbf3T52KN4GBMbT8/10i DLAevexFC3VgiRiQWDUEWvjiFl4abbOrBSP1BgjiRTF20vuH+HqBBaldZz0sRgox8uIk DPXg== X-Gm-Message-State: AKaTC03aNmzZUL4nIYcmckVTAmsraIlBNYGZE66Q4kdcF2H3gG9loTT9CcJw+g8PeIPKiA== X-Received: by 10.25.20.37 with SMTP id k37mr4785607lfi.149.1479841650073; Tue, 22 Nov 2016 11:07:30 -0800 (PST) Original-Received: from leviafan ([217.107.192.156]) by smtp.gmail.com with ESMTPSA id x4sm6638689lff.15.2016.11.22.11.07.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Nov 2016 11:07:29 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Mon, 21 Nov 2016 21:55:31 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111762 Archived-At: Stefan Monnier (2016-11-21 21:55 -0500) wrote: >> I miss this "remove key binding" feature a lot! If I may ask, do you >> know whether there are plans to add such a feature? Thanks. > > I don't know of any such plan. It's ugly to implement, it's unclear > what it should do, and the use cases aren't very common. > > If you "miss a lot", I suspect you're doing something very unusual, > or you're not aware of some other way to get the same result. Well, yes, I think I do something very unusual: I rebind hundreds and hundreds of default key bindings. And my use case is: I often want to just remove a key from some map so that a key from its parent map will take precedence. -- Alex