From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Juri Linkov <juri@jurta.org>
Newsgroups: gmane.emacs.devel
Subject: Re: C-j considered harmful (not really)
Date: Wed, 18 Nov 2009 11:54:04 +0200
Organization: JURTA
Message-ID: <876398uqgj.fsf@mail.jurta.org>
References: <912155b0911161437l7d5d5d3h790edff279fdad7a@mail.gmail.com>
	<7b501d5c0911161451s3e54e48dve127bd144f2affc8@mail.gmail.com>
	<877htpjwd4.fsf@mail.jurta.org>
	<200911172317.nAHNHZbL006602@fed.local>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: ger.gmane.org 1258539806 19597 80.91.229.12 (18 Nov 2009 10:23:26 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 18 Nov 2009 10:23:26 +0000 (UTC)
Cc: per@starback.se, emacs-devel@gnu.org, deniz.a.m.dogan@gmail.com
To: Xavier Maillard <xma@gnu.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 18 11:23:19 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 1NAhgU-0006Yk-1b
	for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 11:22:46 +0100
Original-Received: from localhost ([127.0.0.1]:58818 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1NAhgT-00085W-Bj
	for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 05:22:45 -0500
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NAhbz-0005HM-Ho
	for emacs-devel@gnu.org; Wed, 18 Nov 2009 05:18:07 -0500
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1NAhbu-0005Dl-HC
	for emacs-devel@gnu.org; Wed, 18 Nov 2009 05:18:06 -0500
Original-Received: from [199.232.76.173] (port=37380 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1NAhbu-0005Dc-6L
	for emacs-devel@gnu.org; Wed, 18 Nov 2009 05:18:02 -0500
Original-Received: from smtp-out3.starman.ee ([85.253.0.5]:58018 helo=mx1.starman.ee)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <juri@jurta.org>)
	id 1NAhbr-00013d-AM; Wed, 18 Nov 2009 05:17:59 -0500
X-Virus-Scanned: by Amavisd-New at mx1.starman.ee
Original-Received: from mail.starman.ee (82.131.31.20.cable.starman.ee [82.131.31.20])
	by mx1.starman.ee (Postfix) with ESMTP id 6E1443F411F;
	Wed, 18 Nov 2009 12:17:53 +0200 (EET)
In-Reply-To: <200911172317.nAHNHZbL006602@fed.local> (Xavier Maillard's
	message of "Wed, 18 Nov 2009 00:17:35 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6,
	seldom 2.4 (older, 4)
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:117166
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/117166>

>    >> 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?
>    >
>    > How about M-RET instead? That works in non-windowed Emacs as well and
>    > seems to be unbound by default.
>
>    In IM clients, S-RET inserts newline, and RET accepts input.
>
> Does it work in -nw environment ? Here S-RET is not recognized in
> my session (GNU Emacs running in the linux console).

I think most users including newbies that are unaware of `C-q C-j'
use Emacs on a window system anyway, so they would benefit from S-RET
that is a standard key to insert newline instead of accepting input
in other programs.

We have the same duality with the S-TAB key.  On a terminal, we provide
an alternative `ESC TAB'.

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