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: Mon, 23 Nov 2009 11:54:32 +0200
Organization: JURTA
Message-ID: <87zl6dk2pz.fsf@mail.jurta.org>
References: <912155b0911161437l7d5d5d3h790edff279fdad7a@mail.gmail.com>
	<7b501d5c0911161451s3e54e48dve127bd144f2affc8@mail.gmail.com>
	<877htpjwd4.fsf@mail.jurta.org>
	<912155b0911221236t7cebbb35n4bc10805bb685c1e@mail.gmail.com>
	<jwvvdh22btj.fsf-monnier+emacs@gnu.org>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: ger.gmane.org 1258973046 11805 80.91.229.12 (23 Nov 2009 10:44:06 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 23 Nov 2009 10:44:06 +0000 (UTC)
Cc: Deniz Dogan <deniz.a.m.dogan@gmail.com>,
	Per =?iso-8859-1?Q?Starb=E4ck?= <per@starback.se>, emacs-devel@gnu.org
To: Stefan Monnier <monnier@iro.umontreal.ca>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 23 11:43:58 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 1NCWOj-0004yX-97
	for ged-emacs-devel@m.gmane.org; Mon, 23 Nov 2009 11:43:58 +0100
Original-Received: from localhost ([127.0.0.1]:45578 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1NCWOi-0000An-LA
	for ged-emacs-devel@m.gmane.org; Mon, 23 Nov 2009 05:43:56 -0500
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NCWLt-0007TF-Qi
	for emacs-devel@gnu.org; Mon, 23 Nov 2009 05:41:01 -0500
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1NCWLn-0007R3-6k
	for emacs-devel@gnu.org; Mon, 23 Nov 2009 05:40:59 -0500
Original-Received: from [199.232.76.173] (port=56820 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1NCWLm-0007Qm-Lh
	for emacs-devel@gnu.org; Mon, 23 Nov 2009 05:40:54 -0500
Original-Received: from smtp-out3.starman.ee ([85.253.0.5]:60558 helo=mx1.starman.ee)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <juri@jurta.org>) id 1NCWLm-0003BF-4b
	for emacs-devel@gnu.org; Mon, 23 Nov 2009 05:40:54 -0500
X-Virus-Scanned: by Amavisd-New at mx1.starman.ee
Original-Received: from mail.starman.ee (82.131.34.24.cable.starman.ee [82.131.34.24])
	by mx1.starman.ee (Postfix) with ESMTP id 0BAE63F421C;
	Mon, 23 Nov 2009 12:40:44 +0200 (EET)
In-Reply-To: <jwvvdh22btj.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message
	of "Sun, 22 Nov 2009 21:57:12 -0500")
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:117573
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/117573>

> > 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/