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: Character literals for Unicode (control) characters Date: Thu, 03 Mar 2016 22:48:01 +0200 Message-ID: <83r3frz3su.fsf@gnu.org> References: <87r3fsjenn.fsf@gnus.org> <56D8623F.6060806@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1457038124 7181 80.91.229.3 (3 Mar 2016 20:48:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2016 20:48:44 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 03 21:48:36 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1abaAg-0002ip-2M for ged-emacs-devel@m.gmane.org; Thu, 03 Mar 2016 21:48:30 +0100 Original-Received: from localhost ([::1]:37303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abaAc-00035B-Bz for ged-emacs-devel@m.gmane.org; Thu, 03 Mar 2016 15:48:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abaAL-0002x2-63 for emacs-devel@gnu.org; Thu, 03 Mar 2016 15:48:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abaAI-0008NC-1A for emacs-devel@gnu.org; Thu, 03 Mar 2016 15:48:09 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abaAH-0008N8-U1; Thu, 03 Mar 2016 15:48:05 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1504 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1abaAH-0000iI-69; Thu, 03 Mar 2016 15:48:05 -0500 In-reply-to: <56D8623F.6060806@cs.ucla.edu> (message from Paul Eggert on Thu, 3 Mar 2016 08:11:43 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200894 Archived-At: > From: Paul Eggert > Date: Thu, 3 Mar 2016 08:11:43 -0800 > > On 03/02/2016 09:47 PM, Lars Ingebrigtsen wrote: > > And then I thought -- well, if we should have a literal syntax for > > Unicode control characters, why not for all of them? > Something like that would make sense. The escape sequence should bracket > the name, so that the escape sequences could be used in strings without > ambiguity. Something like \u[NAME], say. Unicode's UTS#18 (http://unicode.org/reports/tr18/) proposes \N[NAME] instead, albeit in the context of regular expressions. Perhaps we should adopt that instead.