all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is there a reason why iinvalid-read-syntax doesn't give me the location of the error?
@ 2019-08-07 13:40 ndame
  2019-08-07 13:59 ` Michael Heerdegen
  0 siblings, 1 reply; 5+ messages in thread
From: ndame @ 2019-08-07 13:40 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Sometimes I encounter huge generated elisp list data which has a
problem somewhere. So when I evaluate it I get the error:

   Lisp error: (invalid-read-syntax ". in wrong context")


I wonder why the error message doesn't give me the location of the
error like scan-error. I have to bisect the file to find the bad part.

Doesn't invalid-read-syntax have the location where it encountered the
error? If it does then why doesn't it print it like scan-error?
 


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

end of thread, other threads:[~2019-08-08  8:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-07 13:40 Is there a reason why iinvalid-read-syntax doesn't give me the location of the error? ndame
2019-08-07 13:59 ` Michael Heerdegen
2019-08-07 14:17   ` Noam Postavsky
2019-08-07 14:34   ` ndame
2019-08-08  8:10     ` 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.