From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Unicode Lisp reader escapes Date: Tue, 09 May 2006 23:43:59 +0300 Organization: JURTA Message-ID: <87vesi6nh1.fsf@jurta.org> References: <17491.34779.959316.484740@parhasard.net> <17492.29148.246942.842300@parhasard.net> <8764kkawsf.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147216626 13932 80.91.229.2 (9 May 2006 23:17:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 May 2006 23:17:06 +0000 (UTC) Cc: kehoea@parhasard.net, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 10 01:17: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 1FdbRr-00036B-RQ for ged-emacs-devel@m.gmane.org; Wed, 10 May 2006 01:17:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdbRr-00044p-8U for ged-emacs-devel@m.gmane.org; Tue, 09 May 2006 19:16:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FdbRc-00044A-Fy for emacs-devel@gnu.org; Tue, 09 May 2006 19:16:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FdbRa-00042v-56 for emacs-devel@gnu.org; Tue, 09 May 2006 19:16:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdbRa-00042o-0i for emacs-devel@gnu.org; Tue, 09 May 2006 19:16:42 -0400 Original-Received: from [217.25.160.1] (helo=relay1.binet.com.ua) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FdbSh-0004o4-PD; Tue, 09 May 2006 19:17:52 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by relay1.binet.com.ua (Postfix) with ESMTP id 99EFE7A983; Wed, 10 May 2006 02:16:38 +0300 (EEST) Original-Received: from mail.binet.com.ua (i61.dialup.binet.com.ua [217.25.161.125]) by relay1.binet.com.ua (Postfix) with ESMTP id 64BEF7A9BD; Wed, 10 May 2006 02:16:35 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sat, 06 May 2006 19:36:19 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by ClamAv at binet.com.ua 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:54151 Archived-At: > Are there reasons not to use Perl's notation for Unicode characters, > i.e. "\x{...}"? The Unicode code for the desired character, > is placed in the braces in hexadecimal, and has no fixed length. > Examples: "\x{DF}", "\x{0448}", "\x{001D0ED}". > > We could support this form, as well as \u and \U for compatibility > with other languages. Support for \u and \U in Emacs Lisp would be good since other _Lisp_ languages support \uXXXX and \UXXXXXXXX as well. But other Lisp languages support also Lisp notation for Unicode characters. I think Emacs should support it too. In this notation Unicode characters are written as #\u3042 or #\u0002a6b2 with the leading hash mark. Also it would be good to support a syntax for named Unicode characters. Common Lisp has the syntax #\euro_sign, and Perl - \N{EURO SIGN}. -- Juri Linkov http://www.jurta.org/emacs/