From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Per Starbäck" <per@starback.se>
Cc: Juri Linkov <juri@jurta.org>,
Deniz Dogan <deniz.a.m.dogan@gmail.com>,
emacs-devel@gnu.org
Subject: Re: C-j considered harmful (not really)
Date: Sun, 22 Nov 2009 21:57:12 -0500 [thread overview]
Message-ID: <jwvvdh22btj.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <912155b0911221236t7cebbb35n4bc10805bb685c1e@mail.gmail.com> ("Per Starbäck"'s message of "Sun, 22 Nov 2009 21:36:58 +0100")
> 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 I could live with that. But you'd still need to prefix it with
C-q in minibuffer prompts, wouldn't you? So we'd need more changes,
e.g. making LF in minibuffer input not exit the minibuffer. I've never
used an LF key, so I could live with that, but I don't know what other
people think about it.
Stefan
next prev parent reply other threads:[~2009-11-23 2:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-16 22:37 C-j considered harmful (not really) Per Starbäck
2009-11-16 22:51 ` Deniz Dogan
2009-11-17 10:09 ` Juri Linkov
2009-11-17 23:17 ` Xavier Maillard
2009-11-18 9:54 ` Juri Linkov
2009-11-22 20:36 ` Per Starbäck
2009-11-22 20:53 ` Deniz Dogan
2009-11-23 2:57 ` Stefan Monnier [this message]
2009-11-23 9:54 ` Juri Linkov
2009-11-23 11:11 ` Per Starbäck
2009-11-23 15:05 ` Drew Adams
2009-11-23 15:05 ` Drew Adams
2009-11-23 16:09 ` Per Starbäck
2009-11-24 17:12 ` Juri Linkov
2009-11-24 17:51 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvvdh22btj.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=deniz.a.m.dogan@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.org \
--cc=per@starback.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.