[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Search StackOverflow and paste code snippets without leaving the edi
From: |
Andrey Tykhonov |
Subject: |
Re: Search StackOverflow and paste code snippets without leaving the edited file |
Date: |
Sat, 11 Jan 2014 01:33:16 +0200 |
2014/1/10 Drew Adams <drew.adams@oracle.com>
> > > I'm not sure that I chose right prefix "C-c o". I hope it will be
> > > ok.
> >
> > Please do not use bindings with "C-c <letter>". They seem unused
> > because they are reserved for customization by the individual user.
> > They're the only key bindings so reserved, and we really need to not
> > override them.
>
> Yes. To elaborate:
>
> In the Elisp manual, `i key TAB' shows `key bindings, conventions for'.
> Choosing that takes you to node `Key Binding Conventions', where you
> see this among other guidelines, right near the beginning:
>
> * Don't define `C-c LETTER' as a key in Lisp programs. Sequences
> consisting of `C-c' and a letter (either upper or lower case) are
> reserved for users; they are the *only* sequences reserved for
> users, so do not block them.
> If you are writing a major mode, you owe it to yourself to check
> the manual for this and other advice about writing modes.
> `i convention TAB' shows you, for example, index entries
> `conventions for writing major modes' and `conventions for writing
> minor modes'.
>
Thank you for these references, Drew! I feel that I need to investigate
this question more deeper before changing existing code. I've started with
major mode conventions and will put appropriate changes step by step.
- Re: Search StackOverflow and paste code snippets without leaving the edited file, (continued)
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Andrey Tykhonov, 2014/01/04
- Message not available
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Emanuel Berg, 2014/01/04
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Marcin Borkowski, 2014/01/05
- Message not available
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Emanuel Berg, 2014/01/05
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Marcin Borkowski, 2014/01/06
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Marcin Borkowski, 2014/01/06
- Message not available
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Emanuel Berg, 2014/01/07
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Andrey Tykhonov, 2014/01/10
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Paul Smith, 2014/01/10
- RE: Search StackOverflow and paste code snippets without leaving the edited file, Drew Adams, 2014/01/10
- Re: Search StackOverflow and paste code snippets without leaving the edited file,
Andrey Tykhonov <=
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Andrey Tykhonov, 2014/01/10
- Message not available
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Emanuel Berg, 2014/01/10
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Paul Smith, 2014/01/10
- Message not available
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Emanuel Berg, 2014/01/10
- Message not available
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Emanuel Berg, 2014/01/10
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Andrey Tykhonov, 2014/01/10
Re: Search StackOverflow and paste code snippets without leaving the edited file, Rustom Mody, 2014/01/03