unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: ndame <emacsuser@freemail.hu>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
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)	[thread overview]
Message-ID: <AxwYlQ.zBDsW3CaXQiF.E9NyODx3wRdoDOOqHWj@freemail.hu> (raw)
In-Reply-To: <871rxxdqkn.fsf@web.de>

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


  parent reply	other threads:[~2019-08-07 14:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2019-08-08  8:10     ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=AxwYlQ.zBDsW3CaXQiF.E9NyODx3wRdoDOOqHWj@freemail.hu \
    --to=emacsuser@freemail.hu \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael_heerdegen@web.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).