emacs-devel
[Top][All Lists]
Advanced

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

Re: elisp--local-variables triggers an error on special input


From: Joost Kremers
Subject: Re: elisp--local-variables triggers an error on special input
Date: Tue, 01 Dec 2020 15:36:47 +0100
User-agent: mu4e 1.5.7; emacs 27.1.50

On Tue, Dec 01 2020, tomas@tuxteam.de wrote:
> On Tue, Dec 01, 2020 at 02:15:48PM +0100, Joost Kremers wrote:
>> You get that error by just eval'ing:
>> 
>>     (insert "((eg \"\C-,\")")
>> 
>> in the *scratch* buffer.
>
> Hm. I don't. The string just gets inserted:
>
>   ((eg "C-,")
>
> (as I'd expected).

What Emacs version are you using?

Mine is:

"GNU Emacs 27.1.50 (build 9, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo 
version 1.15.10)
 of 2020-11-14"

>> So it doesn't seem to be related to `elisp--local-variables`.
>
> What does happen if you toggle-debug-on-error before doing
> that?

Nothing very interesting:

```
Debugger entered--Lisp error: (error "Invalid modifier in string")
  read(#<buffer test.el>)
  elisp--preceding-sexp()
  elisp--eval-last-sexp(nil)
  eval-last-sexp(nil)
  funcall-interactively(eval-last-sexp nil)
  call-interactively(eval-last-sexp nil nil)
  command-execute(eval-last-sexp)
```

-- 
Joost Kremers
Life has its moments



reply via email to

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