[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Raw string literals in Emacs lisp.
From: |
David Kastrup |
Subject: |
Re: Raw string literals in Emacs lisp. |
Date: |
Sat, 02 Aug 2014 11:14:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Alan Mackenzie <address@hidden> writes:
> Hello, Ted.
>
> On Wed, Jul 30, 2014 at 04:54:43PM -0400, Ted Zlatanov wrote:
>
>> ....., I just want a simple syntax for literal data :)
>
>> How about using a Unicode character as the marker? (prepares for stoning)
>
> OK, it's taken time, and nobody else looks like they're about to do it,
> so I will cast the first stone.
>
> NO, NO, NO, NO! The only Unicode characters to be used in Emacs are
> those that are also ASCII characters, with a tiny number of essential
> exceptions (for example, the non-European characters in the sentence-end
> regexp, and, of course, people's names in comments).
>
> A Non-ASCII character is difficult to type for most people. Not all
> setups can display it. Adopting such a character would mean a lot of
> work for a lot of people.
>
> And using such characters as delimiters would introduce yet one more
> incompatibility with XEmacs which, Stephen informs us, uses #r"..." for
> raw strings. Why not just adapt that convention? Easy to type, easy to
> read, easy to parse.
Easy to parse?
r#"?\" is a complete string. How do you parse it backwards?
--
David Kastrup
- Re: Raw string literals in Emacs lisp., Alan Mackenzie, 2014/08/02
- Re: Raw string literals in Emacs lisp.,
David Kastrup <=
- Re: Raw string literals in Emacs lisp., Alan Mackenzie, 2014/08/02
- Re: Raw string literals in Emacs lisp., Stephen J. Turnbull, 2014/08/03
- Re: Raw string literals in Emacs lisp., David Kastrup, 2014/08/03
- Re: Raw string literals in Emacs lisp., Stephen J. Turnbull, 2014/08/03
- Re: Raw string literals in Emacs lisp., David Kastrup, 2014/08/03
- Re: Raw string literals in Emacs lisp., Stephen J. Turnbull, 2014/08/03
- Re: Raw string literals in Emacs lisp., Richard Stallman, 2014/08/03
- Re: Raw string literals in Emacs lisp., David Kastrup, 2014/08/04
- Re: Raw string literals in Emacs lisp., Richard Stallman, 2014/08/04