help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Is there a reason why iinvalid-read-syntax doesn't give me the locat


From: Michael Heerdegen
Subject: Re: Is there a reason why iinvalid-read-syntax doesn't give me the location of the error?
Date: Wed, 07 Aug 2019 15:59:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

ndame <emacsuser@freemail.hu> writes:

> 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.

I don't have the answer to your question, only a workaround: turn on
debug-on-error and eval.  When the debugger pops up, switch to the
source code buffer.  Point will be likely near the problem (AFAICT
`read' just leaves point where it gave up).

Michael.



reply via email to

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