[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Character literals for Unicode (control) characters

From: Paul Eggert
Subject: Re: Character literals for Unicode (control) characters
Date: Thu, 3 Mar 2016 15:58:43 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]