[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").
- Raw string literals in Emacs lisp., Matthew Plant, 2014/07/25
- Re: Raw string literals in Emacs lisp., Tom Tromey, 2014/07/25
- Raw string literals in Emacs lisp., Stephen J. Turnbull, 2014/07/25
- Re: Raw string literals in Emacs lisp., Matthew Plant, 2014/07/26
- Re: Raw string literals in Emacs lisp., chad, 2014/07/26
- Re: Raw string literals in Emacs lisp., Matthew Plant, 2014/07/26
- Re: Raw string literals in Emacs lisp., Stephen J. Turnbull, 2014/07/27
- Re: Raw string literals in Emacs lisp., David Kastrup, 2014/07/27
- Re: Raw string literals in Emacs lisp., David Caldwell, 2014/07/27