all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* elisp--local-variables triggers an error on special input
@ 2020-12-01 12:53 Evgeny Zajcev
  2020-12-01 13:15 ` Joost Kremers
  2020-12-01 15:45 ` Stefan Monnier
  0 siblings, 2 replies; 11+ messages in thread
From: Evgeny Zajcev @ 2020-12-01 12:53 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]

I've noticed that sometimes company raises an error in my *scratch*, I've
shrinked the case and got:

(with-current-buffer (get-buffer-create "pwp")
  (erase-buffer)
  (insert "((eg \"\C-,\")")
  (elisp--local-variables))

Evaluating this sexp raises "Invalid modifier in string" error

Not sure this is intended, I think elisp--local-variables expects
`invalid-read-syntax` error for this input, but got another error and does
not handle it preventing error from happening

-- 
lg

[-- Attachment #2: Type: text/html, Size: 745 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-01-03  2:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.