From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-mode + icicles, avoid key binding redefinitions? Date: Thu, 23 Jan 2014 08:43:57 +0100 Message-ID: <87ob33nnwi.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6ExL-0008O9-J0 for emacs-orgmode@gnu.org; Thu, 23 Jan 2014 02:44:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6ExF-0002gl-1v for emacs-orgmode@gnu.org; Thu, 23 Jan 2014 02:44:07 -0500 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:55022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6ExE-0002gb-Qt for emacs-orgmode@gnu.org; Thu, 23 Jan 2014 02:44:00 -0500 Received: by mail-wg0-f42.google.com with SMTP id l18so295351wgh.5 for ; Wed, 22 Jan 2014 23:44:00 -0800 (PST) In-Reply-To: (Drew Adams's message of "Wed, 22 Jan 2014 20:45:33 -0800 (PST)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Drew Adams Cc: emacs-orgmode@gnu.org Drew Adams writes: > * Sequences consisting of `C-c' followed by any other punctuation > character are allocated for minor modes. Using them in a major > mode is not absolutely prohibited, but if you do that, the major > mode binding may be shadowed from time to time by minor modes. > > IOW, no major mode should bind any of the latter group of keys, > including `C-'' and `C-`', and any minor mode may do so - whether > that mode is "official" or not. We are talking about C-c ' but I think that's a typo in the paragraph above, since the manual you quote is about C-c '. > 1b. There is no global default binding for `C-'' in `emacs -Q'. > And there should not be, since it is reserved for minor modes. > > I don't know whether Org binds `C-'' for a minor mode or for > a major mode, but if it is the latter then it is in violation > of the convention. As the manual says, this is not prohibited, just discouraged. You're of course allowed to shadow C-c ' in your code. -- Bastien