emacs-devel
[Top][All Lists]
Advanced

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

Re: Character literals for Unicode (control) characters


From: Eli Zaretskii
Subject: Re: Character literals for Unicode (control) characters
Date: Thu, 03 Mar 2016 22:48:01 +0200

> From: Paul Eggert <address@hidden>
> 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.



reply via email to

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