From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Stefan Monnier <monnier@iro.umontreal.ca>
Newsgroups: gmane.emacs.devel
Subject: Re: TeX input method
Date: Thu, 05 Oct 2006 10:52:27 -0400
Message-ID: <jwvlknu4y7q.fsf-monnier+emacs@gnu.org>
References: <jwvbqou1pt1.fsf-monnier+emacs@gnu.org>
	<858xjxzgfs.fsf@lola.goethe.zz>
	<jwv4pulzf10.fsf-monnier+emacs@gnu.org>
	<851wppzemy.fsf@lola.goethe.zz>
	<jwvmz8dxz0v.fsf-monnier+emacs@gnu.org> <E1GUwvH-0003Px-00@etlken>
	<buobqoruy63.fsf@dhapc248.dev.necel.com>
	<85d597ql3a.fsf@lola.goethe.zz>
	<jwv1wpm6f5z.fsf-monnier+emacs@gnu.org>
	<85mz8aonen.fsf@lola.goethe.zz>
NNTP-Posting-Host: main.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: sea.gmane.org 1160060409 25136 80.91.229.2 (5 Oct 2006 15:00:09 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Thu, 5 Oct 2006 15:00:09 +0000 (UTC)
Cc: Kenichi Handa <handa@m17n.org>, emacs-devel@gnu.org,
	Miles Bader <miles@gnu.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 05 17:00:05 2006
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 ciao.gmane.org with esmtp (Exim 4.43)
	id 1GVUab-0002DG-4Q
	for ged-emacs-devel@m.gmane.org; Thu, 05 Oct 2006 16:52:46 +0200
Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1GVUaa-0000id-PC
	for ged-emacs-devel@m.gmane.org; Thu, 05 Oct 2006 10:52:44 -0400
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1GVUaR-0000iH-6Z
	for emacs-devel@gnu.org; Thu, 05 Oct 2006 10:52:35 -0400
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1GVUaP-0000i5-FV
	for emacs-devel@gnu.org; Thu, 05 Oct 2006 10:52:34 -0400
Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1GVUaP-0000i2-Cv
	for emacs-devel@gnu.org; Thu, 05 Oct 2006 10:52:33 -0400
Original-Received: from [209.226.175.110] (helo=tomts43-srv.bellnexxia.net)
	by monty-python.gnu.org with esmtp (Exim 4.52)
	id 1GVUh2-00082h-Al; Thu, 05 Oct 2006 10:59:24 -0400
Original-Received: from localhost ([70.53.194.68]) by tomts43-srv.bellnexxia.net
	(InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP
	id <20061005145228.FJHY19825.tomts43-srv.bellnexxia.net@localhost>;
	Thu, 5 Oct 2006 10:52:28 -0400
Original-Received: by localhost (Postfix, from userid 20848)
	id 05D037ED3; Thu,  5 Oct 2006 10:52:28 -0400 (EDT)
Original-To: David Kastrup <dak@gnu.org>
In-Reply-To: <85mz8aonen.fsf@lola.goethe.zz> (David Kastrup's message of "Thu\,
	05 Oct 2006 16\:19\:44 +0200")
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)
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:60433
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/60433>

>>>>> "David" =3D=3D David Kastrup <dak@gnu.org> writes:

> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> But ~ is a different beast.
>>=20
>> Then what about changing the=20
>>=20
>>     ~ -> =A0
>> into
>>     ~~ -> =A0
>> or
>>     ~ -> =A0
>>     ~~ -> ~
>>=20
>> At least this way, the user will get the usual underlining as well
>> as echo-area feedback so she knows what's going on and the NBSP will
>> be reachable with ~ so the user's expectation that it works like TeX
>> won't be too far off.

> I think I would prefer the second variant.

OK would others object?

> It seems closer to the usual accent behavior.

[ I presume you think of a latin-prefix style input-method ]
Odd, I'd think the opposite: with accents, after hitting the accent key, the
accent char is displayed as is (i.e. after hitting just ~, an underlined ~
would be displayed) and if the following key is not one of the special ones,
the accent stays as a normal char.
The first variant behaves like that.  The second behaves more like the
" -> `` thingy of LaTeX-mode.

I myself prefer the first variant, because it's less intrusive, but if
people prefer the second (which is closer to the current behavior), I can
live it.


        Stefan