From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Unicode Lisp reader escapes Date: Sun, 30 Apr 2006 23:12:13 -0400 Message-ID: <87hd4acuey.fsf-monnier+emacs@gnu.org> References: <17491.34779.959316.484740@parhasard.net> <17492.29148.246942.842300@parhasard.net> <17493.12935.604847.524198@parhasard.net> <87u08a7c44.fsf@catnip.gol.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1146453185 22558 80.91.229.2 (1 May 2006 03:13:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 May 2006 03:13:05 +0000 (UTC) Cc: Aidan Kehoe , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 01 05:13:03 2006 Return-path: 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 1FaOqL-0003yx-Kb for ged-emacs-devel@m.gmane.org; Mon, 01 May 2006 05:13:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaOqL-0007vf-1K for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 23:13:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FaOpf-0007kP-3i for emacs-devel@gnu.org; Sun, 30 Apr 2006 23:12:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FaOpd-0007jF-6J for emacs-devel@gnu.org; Sun, 30 Apr 2006 23:12:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaOpd-0007j4-1A for emacs-devel@gnu.org; Sun, 30 Apr 2006 23:12:17 -0400 Original-Received: from [209.226.175.34] (helo=tomts13-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FaOtJ-0008W8-Hs; Sun, 30 Apr 2006 23:16:05 -0400 Original-Received: from alfajor ([70.55.146.223]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060501031213.LITU29052.tomts13-srv.bellnexxia.net@alfajor>; Sun, 30 Apr 2006 23:12:13 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 93CA4D9211; Sun, 30 Apr 2006 23:12:13 -0400 (EDT) Original-To: Miles Bader In-Reply-To: <87u08a7c44.fsf@catnip.gol.com> (Miles Bader's message of "Mon, 01 May 2006 10:44:11 +0900") 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:53705 Archived-At: >> I find _that_ distinctly ugly, but more of a problem with it than the >> aesthetics is that it=E2=80=99s unfamiliar to everyone, Lisp people and = Java people >> alike. > How about supporting both the "standard" syntax ("\u0123") > and a flexible-length syntax like "\u{123}" (I seem to recall this > a syntax like this being discussed on this list)? Currently The syntax for \xNNNN hexadeciaml escapes is that it ends whenever reaching a non-hexadecimal char, and if you need your \xNNN escape to be followed by an hexidecimal char, then you have to seprate the two with "\ " (and the Lisp printer does that automatically, of course). Is there a strong reason not do use the same rule for \u ? Stefan