all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: tomas@tuxteam.de
Cc: emacs-devel@gnu.org
Subject: Re: elisp--local-variables triggers an error on special input
Date: Tue, 01 Dec 2020 15:36:47 +0100	[thread overview]
Message-ID: <87k0u1d24g.fsf@fastmail.fm> (raw)
In-Reply-To: <20201201142406.GA5457@tuxteam.de>


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	other threads:[~2020-12-01 14:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-01 12:53 elisp--local-variables triggers an error on special input Evgeny Zajcev
2020-12-01 13:15 ` Joost Kremers
2020-12-01 14:24   ` tomas
2020-12-01 14:36     ` Joost Kremers [this message]
2020-12-01 20:16       ` tomas
2020-12-01 14:42     ` Gregory Heytings via Emacs development discussions.
2020-12-01 15:45 ` Stefan Monnier
2020-12-17  8:30   ` Evgeny Zajcev
2020-12-17 15:43     ` Stefan Monnier
2020-12-29  7:06       ` Evgeny Zajcev
2021-01-03  2:47         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0u1d24g.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=emacs-devel@gnu.org \
    --cc=tomas@tuxteam.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.