[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
eval-last-sexp / C-x C-e, and punctuation like `?’' [Was: Re: Change of
From: |
Garreau\, Alexandre |
Subject: |
eval-last-sexp / C-x C-e, and punctuation like `?’' [Was: Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?)] |
Date: |
Sat, 06 Oct 2018 17:40:53 +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)
I just noticed: in emacs 25, if evaluating `’bar' with `eval-last-sexp'
/ C-x C-e, this gives an error as it ignores the ?’ and eval only `bar',
the same way, if point is placed after the ?’, it tries to eval “setq”…
Maybe I do not know enough of elisp, but why that? are there other
punctuation characters triggering this behavior? meanwhile, are they
all okay for the reader to put in symbols unescaped (except ? , ?\",
?\(, ?\), ?,, ?`, and maybe some others from ascii I forgot)?
Why does eval-last-sexps treat this differently than the reader?
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, (continued)
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Eli Zaretskii, 2018/10/10
- RE: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Drew Adams, 2018/10/10
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Yuri Khan, 2018/10/10
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Juri Linkov, 2018/10/15
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Richard Stallman, 2018/10/09
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Richard Stallman, 2018/10/09
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Eli Zaretskii, 2018/10/10
- Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Richard Stallman, 2018/10/11
eval-last-sexp / C-x C-e, and punctuation like `?’' [Was: Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?)],
Garreau\, Alexandre <=
Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?, Garreau\, Alexandre, 2018/10/16