emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C-j considered harmful (not really)


From: Juri Linkov
Subject: Re: C-j considered harmful (not really)
Date: Mon, 23 Nov 2009 11:54:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)

> > Evidently <S-return> is used to insert newlines in lots of programs.
> > I've just searched for "shift-return" and "shift-enter" on the web and
> > seen many examples.
> >
> > After reconsidering this I then suggest just that <S-return> should be
> > usable as an alternative to C-j.
>
> So you suggest
>
>   (define-key function-key-map [S-return] [?\C-j])
>
> ?

I guess the initial suggestion was rather:

  (define-key minibuffer-local-map [S-return] 'newline)

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]