[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: |
ndame |
Subject: |
Re: Is there a reason why iinvalid-read-syntax doesn't give me the location of the error? |
Date: |
Wed, 7 Aug 2019 16:34:31 +0200 (CEST) |
> 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).
Yes, thank you.
I was so baffled by invalid-read-syntax not printing the position like
scan-error (I tried it with 26.2) that it did not occur to me to try
it with debug enabled.