[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: ill-advised changes [was key bindings in hideshow.el]
From: |
Eric M. Ludlam |
Subject: |
Re[2]: ill-advised changes [was key bindings in hideshow.el] |
Date: |
Thu, 1 Feb 2001 07:36:42 -0500 |
>>> Eli Zaretskii <address@hidden> seems to think that:
>
>On Thu, 1 Feb 2001, thi wrote:
>
>> anyway, do you have any suggestions on how to resolve minor mode
>> keybindings that conflict w/ those of a major mode? i understand that
>> some people don't want to think about or talk about this topic at this
>> point -- that's fine; they are welcome to archive and revisit later like
>> anyone else on the list. perhaps you could provide a pointer to
>> previous discussion or a policy/convention/faq blurb somewhere?
>
>I'm not aware of any policy (except for C-c being reserved for the
>users). Perhaps someone else could help.
>
>Failing that, we could try to define some guidelines that would be in
>effect from now on.
[ ... ]
I'm wandering into this conversation a little late. The answers to
this particular question are well known!
The Emacs Lisp manual says that C-c <character> is reserved for users.
C-c C-<character> for major modes, and C-c <punctuation> is reserved
for minor modes.
Here are some relevant passages:
-------- Keymaps and Minor Modes ------------
The key sequences bound in a minor mode should consist of `C-c'
followed by a punctuation character *other than* `{', `}', `<', `>',
`:' or `;'. (Those few punctuation characters are reserved for major
modes.)
-------
-------- Major Mode Conventions -------------
* The key sequences bound in a major mode keymap should usually
start with `C-c', followed by a control character, a digit, or `{',
`}', `<', `>', `:' or `;'. The other punctuation characters are
reserved for minor modes, and ordinary letters are reserved for
users.
--------
Ta Da!
Eric
--
Eric Ludlam: address@hidden, address@hidden
Home: www.ultranet.com/~zappo Siege: www.siege-engine.com
Emacs: www.ultranet.com/~zappo/fsf.shtml GNU: www.gnu.org
- Re: ill-advised changes [was Re: key bindings in hideshow.el], Eli Zaretskii, 2001/02/01
- Re: ill-advised changes [was Re: key bindings in hideshow.el], thi, 2001/02/01
- Re: ill-advised changes [was Re: key bindings in hideshow.el], Eli Zaretskii, 2001/02/01
- Re[2]: ill-advised changes [was key bindings in hideshow.el],
Eric M. Ludlam <=
- Re: Re[2]: ill-advised changes [was key bindings in hideshow.el], Eli Zaretskii, 2001/02/01
- Re[4]: ill-advised changes [was key bindings in hideshow.el], Eric M. Ludlam, 2001/02/01
- Re: ill-advised changes [was key bindings in hideshow.el], thi, 2001/02/01
- Re: ill-advised changes [was key bindings in hideshow.el], Eli Zaretskii, 2001/02/01
- Re: ill-advised changes [was key bindings in hideshow.el], thi, 2001/02/01
- Re: ill-advised changes [was key bindings in hideshow.el], Eli Zaretskii, 2001/02/01
- Re: Re[2]: ill-advised changes [was key bindings in hideshow.el], Kai Großjohann, 2001/02/06
- Re: ill-advised changes [was key bindings in hideshow.el], Richard Stallman, 2001/02/07
- Re: ill-advised changes [was key bindings in hideshow.el], Kai Großjohann, 2001/02/07
- Re[2]: ill-advised changes [was key bindings in hideshow.el], Eric M. Ludlam, 2001/02/07