From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Character literals for Unicode (control) characters Date: Thu, 3 Mar 2016 15:58:43 -0800 Organization: UCLA Computer Science Department Message-ID: <56D8CFB3.2050002@cs.ucla.edu> References: <87r3fsjenn.fsf@gnus.org> <56D8623F.6060806@cs.ucla.edu> <83r3frz3su.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1457049561 24085 80.91.229.3 (3 Mar 2016 23:59:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2016 23:59:21 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 04 00:59:09 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 1abd98-0003dE-8u for ged-emacs-devel@m.gmane.org; Fri, 04 Mar 2016 00:59:06 +0100 Original-Received: from localhost ([::1]:37965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abd97-0004Bk-Hx for ged-emacs-devel@m.gmane.org; Thu, 03 Mar 2016 18:59:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abd8t-0004BT-Hf for emacs-devel@gnu.org; Thu, 03 Mar 2016 18:58:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abd8s-0000jc-Os for emacs-devel@gnu.org; Thu, 03 Mar 2016 18:58:51 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:50779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abd8n-0000il-4x; Thu, 03 Mar 2016 18:58:45 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A6CB8161012; Thu, 3 Mar 2016 15:58:44 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id bZt0Dcu_jnnm; Thu, 3 Mar 2016 15:58:43 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9D8E7161009; Thu, 3 Mar 2016 15:58:43 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AXGh2qgbrMR1; Thu, 3 Mar 2016 15:58:43 -0800 (PST) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 85494160FF5; Thu, 3 Mar 2016 15:58:43 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <83r3frz3su.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:200898 Archived-At: On 03/03/2016 12:48 PM, Eli Zaretskii wrote: > 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. Sure, that works. Except as I read it, they're proposing curly braces, e.g.: "Use Greek capital letters (\N{GREEK CAPITAL LETTER ALPHA}\N{EN DASH}\N{GREEK CAPITAL LETTER OMEGA}) to denote figures." Since Elisp caters to strings that cross line boundaries, it looks like lread.c's read_escape should allow arbitrary nonempty white space in places where the official Unicode name contains a single space.