emacs-devel
[Top][All Lists]
Advanced

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

Re: Raw string literals in Emacs lisp.


From: Tassilo Horn
Subject: Re: Raw string literals in Emacs lisp.
Date: Fri, 25 Jul 2014 21:15:07 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

Matthew Plant <address@hidden> writes:

> I would argue that is still workable, through various hacks. In the cond
> case if you wanted to specify I raw string literal you would do
> (("default")), which I think is still illegal.

Yes, that's illegal.  But why not #"foo" (like in Clojure regexps)?  Or
SXEmacs version of raw strings #r"foo"?  To me, that reads much better
than ("foo") and is much less ambiguous.

Bye,
Tassilo

>> > What if we assume that any string surrounded immediately by
>> > parenthesis is a raw string literal?  I'm pretty sure every instance
>> > of ("...") is currently illegal,...
>>
>> Nope, inside a `cond', ("default") is a short alternative for (t
>> "default").



reply via email to

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