From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Unicode Lisp reader escapes Date: Fri, 05 May 2006 13:39:10 +0300 Message-ID: References: <17491.34779.959316.484740@parhasard.net> <87odyfnqcj.fsf-monnier+emacs@gnu.org> <17498.11949.75640.41779@parhasard.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1146825566 21816 80.91.229.2 (5 May 2006 10:39:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 May 2006 10:39:26 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 05 12:39:24 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 1FbxiS-0004rD-9M for ged-emacs-devel@m.gmane.org; Fri, 05 May 2006 12:39:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbxiR-0001Ec-Si for ged-emacs-devel@m.gmane.org; Fri, 05 May 2006 06:39:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FbxiG-0001Dw-LD for emacs-devel@gnu.org; Fri, 05 May 2006 06:39:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FbxiF-0001DP-CY for emacs-devel@gnu.org; Fri, 05 May 2006 06:39:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbxiF-0001DM-7c for emacs-devel@gnu.org; Fri, 05 May 2006 06:39:07 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FbxiN-0007ha-10; Fri, 05 May 2006 06:39:15 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-67-63.inter.net.il [80.230.67.63]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id ECS99602 (AUTH halo1); Fri, 5 May 2006 13:39:03 +0300 (IDT) Original-To: Aidan Kehoe In-reply-to: <17498.11949.75640.41779@parhasard.net> (message from Aidan Kehoe on Thu, 4 May 2006 18:41:17 +0200) 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:53942 Archived-At: > From: Aidan Kehoe > Date: Thu, 4 May 2006 18:41:17 +0200 > Cc: , emacs-devel@gnu.org > > > I think one relevant question is to what extent the C and Emacs Lisp > > string syntax are compatible in the first place. Emacs Lisp string > > syntax was largely based on C string syntax in 1984, but I don't know > > how C has developed since 1990. Can someone report on this question? > > The \u syntax (with a fixed number of digits) came into wide use with Java > in 1996. The necessity for the \U extension arose with progress towards > version 3.0 of Unicode and its ~1.1 million available code points. That > version of the standard was released in 1999; the C99 ISO standard for C of > the same year included both \u and \U. Various other C-oriented programming > languages have incorporated the syntax since. I think Richard was asking for a simple summary of the current C string syntax, with special emphasis on the standard escapes. \u and \U are only part of the story.