emacs-devel
[Top][All Lists]
Advanced

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

Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?


From: Garreau\, Alexandre
Subject: Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?
Date: Tue, 16 Oct 2018 14:48:07 +0200
User-agent: Gnus (5.13), GNU Emacs 25.1.1 (i686-pc-linux-gnu)

On 2018-10-04 at 20:03, Noam Postavsky wrote:
> On Fri, 2 Feb 2018 at 17:24, Noam Postavsky
> <address@hidden> wrote:
>>
>> In Emacs 26 and earlier the following is valid lisp code:
>>
>> (setq ’bar 42)
>> (setq foo ’bar)
>>
>> In the current master branch, this will signal (invalid-read-syntax
>> "strange quote" "’").

Btw, aren’t there any ways of, at least locally, extending/redefining
such reader behavior such as the one of “'”, “,”/“,@”, “`”, “.”, “:”,
etc.?

For instance to experiment having such fancy and strange quotes in
source code: people really wanting to use it *might* want to use it as
such, instead of symbol component, which, inside ascii, often (with a
lot of exceptions such as in “!”, “?”, “:” (though it can have special
meaning) or “.” (though this one doesn’t work alone) other
non-human-text “punctuation” (also named “special characters”) such as
in “%&*+/<>address@hidden|”) cannot be part of a symbol without escaping (for
instance: “"#'(),;\[]`” (though this is tiny, it is not that simple)).



reply via email to

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