From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Overriding emacs key bindings Date: Mon, 16 May 2016 21:07:19 -0700 (PDT) Message-ID: <7ed720ce-0339-4de0-8f05-2f2ebbab3531@default> References: <86k2iteg4e.fsf@student.uu.se> <(message> <17> <2016> <01:29:37> <+0200)> <87lh39h2hr.fsf@robertthorpeconsulting.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1463458095 14810 80.91.229.3 (17 May 2016 04:08:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 May 2016 04:08:15 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Robert Thorpe , Emanuel Berg , xiongtk Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 17 06:07:57 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b2WIW-00025l-Cx for geh-help-gnu-emacs@m.gmane.org; Tue, 17 May 2016 06:07:56 +0200 Original-Received: from localhost ([::1]:48298 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2WIV-00044z-D9 for geh-help-gnu-emacs@m.gmane.org; Tue, 17 May 2016 00:07:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2WIE-0003xG-3Q for help-gnu-emacs@gnu.org; Tue, 17 May 2016 00:07:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2WI8-0008D6-Ac for help-gnu-emacs@gnu.org; Tue, 17 May 2016 00:07:36 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:36525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2WI8-0008BT-1u for help-gnu-emacs@gnu.org; Tue, 17 May 2016 00:07:32 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u4H47SWO032193 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 17 May 2016 04:07:29 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u4H47Riq020445 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 17 May 2016 04:07:27 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u4H47Ldu004481; Tue, 17 May 2016 04:07:26 GMT In-Reply-To: <87lh39h2hr.fsf@robertthorpeconsulting.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:110012 Archived-At: > Emacs reserves all keybindings of the type C-c C- > for modes. No, it does not. Emacs does not reserve any keys from users. Users can bind any keys they like. What Emacs reserves (by convention) are keys from modes. It says that major modes should use only these keys and minor modes should use only those keys. And neither major nor minor should use a third set of keys, which are _only_ for users (again, by convention). But users can use _any_ keys. > However, if the second key doesn't begin with ctrl then > the user can use it. Doesn't matter what the first or second key is. Users can use all keys. They can override any key bound by any mode. Thank goodness. It would be silly if some keys were reserved for modes and not allowed for users.