From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: =?ISO-8859-1?Q?Per_Starb=E4ck?= <per@starback.se>
Newsgroups: gmane.emacs.devel
Subject: Re: C-j considered harmful (not really)
Date: Sun, 22 Nov 2009 21:36:58 +0100
Message-ID: <912155b0911221236t7cebbb35n4bc10805bb685c1e@mail.gmail.com>
References: <912155b0911161437l7d5d5d3h790edff279fdad7a@mail.gmail.com>
	<7b501d5c0911161451s3e54e48dve127bd144f2affc8@mail.gmail.com>
	<877htpjwd4.fsf@mail.jurta.org>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1258922238 22159 80.91.229.12 (22 Nov 2009 20:37:18 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 22 Nov 2009 20:37:18 +0000 (UTC)
Cc: emacs-devel@gnu.org, Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: Juri Linkov <juri@jurta.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 22 21:37:12 2009
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([199.232.76.165])
	by lo.gmane.org with esmtp (Exim 4.50)
	id 1NCJBI-00064O-1e
	for ged-emacs-devel@m.gmane.org; Sun, 22 Nov 2009 21:37:12 +0100
Original-Received: from localhost ([127.0.0.1]:58813 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1NCJBH-0006uH-DO
	for ged-emacs-devel@m.gmane.org; Sun, 22 Nov 2009 15:37:11 -0500
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NCJBB-0006re-Ad
	for emacs-devel@gnu.org; Sun, 22 Nov 2009 15:37:05 -0500
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1NCJB6-0006pJ-Fd
	for emacs-devel@gnu.org; Sun, 22 Nov 2009 15:37:05 -0500
Original-Received: from [199.232.76.173] (port=38154 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1NCJB6-0006pG-BM
	for emacs-devel@gnu.org; Sun, 22 Nov 2009 15:37:00 -0500
Original-Received: from mail-fx0-f213.google.com ([209.85.220.213]:41857)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <per.starback@gmail.com>) id 1NCJB6-0001wO-0m
	for emacs-devel@gnu.org; Sun, 22 Nov 2009 15:37:00 -0500
Original-Received: by fxm5 with SMTP id 5so5662040fxm.8
	for <emacs-devel@gnu.org>; Sun, 22 Nov 2009 12:36:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:sender:received:in-reply-to
	:references:date:x-google-sender-auth:message-id:subject:from:to:cc
	:content-type; bh=I1bCig4NlldNehYuyv16xC7zq7kIAEvY799ahMd1S6k=;
	b=N45ZkZRHkJU11vPcP5KM7Z2kKr75ewIpr426fnx2QmQ+QXhUWGrvOvww4emgUJ0JBL
	ReJBFog88YXTEJKrpTNfgYeQZ50mh40KjDxVgcAH2Iqs7211FMsdSOGM66AWUwp16vrs
	HrrOQhHjmhAil1w8t5gPz1DHt2f8fsBODrQAU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:sender:in-reply-to:references:date
	:x-google-sender-auth:message-id:subject:from:to:cc:content-type;
	b=HTHbqyQ90IKif9EMaEf4JKA/7UsqCSl1UH41RODvf9K9SxKdHQtoo8GYa8HZSJf4vT
	asNkqduGPZMHkwScOg2N3I2ZTvwJ61xGEBPNeasSMIYVoBj86sPRSS5de/paRbgrYTpa
	JClSrtEtJp5jg5pFPOPmWIECFJaNwOq419yYk=
Original-Received: by 10.223.4.214 with SMTP id 22mr597224fas.34.1258922218497; Sun, 22 
	Nov 2009 12:36:58 -0800 (PST)
In-Reply-To: <877htpjwd4.fsf@mail.jurta.org>
X-Google-Sender-Auth: 9943992203a6a0ed
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.devel:117506
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/117506>

2009/11/17 Juri Linkov <juri@jurta.org>:
>>> That key should be used in I-search with the same meaning as C-j has
>>> now, and should
>>> be possible to use instead of C-q C-j to enter a newline in minibuffer
>>> input. Maybe
>>> <C-return> could be used for this?

> In IM clients, S-RET inserts newline, and RET accepts input.

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.

* nice for those who are used to that from other programs
* easier to remember for most new users
* I realize now I would like it personally as well. I used the
linefeed key a lot back when I used a vt100,
but nowadays I have keyboards without a linefeed key, like most of
them are. I could use C-j but I find
myself typing RET TAB far more often. I think it would be easier to
learn to linefeed-deprived fingers to
sneak in a shift with the RET.
* Since <S-return> isn't always available it should probably not be
used for some new command anyway,
so this is as good a use of it as there is.