From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Huchler Newsgroups: gmane.emacs.help Subject: Re: unexpected result with keymap inheritance Date: Thu, 24 Nov 2016 03:20:33 +0100 Message-ID: <87a8cpvcsu.fsf@mail.de> References: <20161121002838.rkoniry5n6aemrzt@doriath.local> <87twb0sqnr.fsf@gmail.com> <871sy3jpu4.fsf@gmail.com> <87fumicynb.fsf@gmail.com> <87a8cplwkk.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1479999079 6595 195.159.176.226 (24 Nov 2016 14:51:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2016 14:51:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 24 15:51:15 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 1c9vMk-0000m0-P5 for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Nov 2016 15:51:10 +0100 Original-Received: from localhost ([::1]:40564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9vMo-00056m-B2 for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Nov 2016 09:51:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9jeZ-0005tA-GS for help-gnu-emacs@gnu.org; Wed, 23 Nov 2016 21:20:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9jeW-00005W-C0 for help-gnu-emacs@gnu.org; Wed, 23 Nov 2016 21:20:47 -0500 Original-Received: from [195.159.176.226] (port=36197 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9jeW-000054-4w for help-gnu-emacs@gnu.org; Wed, 23 Nov 2016 21:20:44 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1c9jeQ-0002Za-7h for help-gnu-emacs@gnu.org; Thu, 24 Nov 2016 03:20:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:NToxxtl7SIcu7ixLRjgWFe4cw5w= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-Mailman-Approved-At: Thu, 24 Nov 2016 09:50:33 -0500 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:111786 Archived-At: Alex Kost writes: > Stefan Monnier (2016-11-23 08:42 -0500) wrote: > >>> Now what I want is just to remove "o" and "u" from >>> 'very-special-mode-map', so that my keys from 'special-mode-map' will >>> take precedence, but I can't do it, as with this: >> >> I see, yes, that makes sense. I suggest you `M-x report-emacs-bug` and >> ask for this feature. > > Thanks, but there are tons of Emacs bugs, and I wouldn't like to bother > you and other contributors with just another feature request. I think I could use that "fix/feature" too. I have many global key bindings, but some modes like gnus etc overwrites it. Also magit as another example. I mean I guess I still would have to override the gnus-mode-map but not for the 5 gnus-sub-mode-maps? I dont need it that urgend, but it could be useful to have. It also could be useful for modes like ergoemacs or stuff like that, (flykeys) maybe even evilmode?