all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: ndame <emacsuser@freemail.hu>
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, 07 Aug 2019 15:59:20 +0200	[thread overview]
Message-ID: <871rxxdqkn.fsf@web.de> (raw)
In-Reply-To: <AxwYKQ.ZaaBVMLXAAlk.zvffFt679MgjCrVrEyT@freemail.hu> (ndame's message of "Wed, 7 Aug 2019 15:40:52 +0200 (CEST)")

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	other threads:[~2019-08-07 13:59 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 [this message]
2019-08-07 14:17   ` Noam Postavsky
2019-08-07 14:34   ` ndame
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

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

  git send-email \
    --in-reply-to=871rxxdqkn.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=emacsuser@freemail.hu \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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.