From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org
Subject: Re: Debugging Elisp
Date: Sun, 26 May 2013 21:12:12 +0200 [thread overview]
Message-ID: <86mwrhzhbn.fsf@somewhere.org> (raw)
In-Reply-To: mailman.390.1369529042.22516.help-gnu-emacs@gnu.org
Hello Stefan,
Stefan Monnier wrote:
>> What you say here resonates to me. I have the impression (from pragmatic
>> observations) that `toggle-debug-on-error' just shows the next first error,
>> then none. While `M-: (setq debug-on-error t)' will work forever.
>
> You misunderstood: toggle-debug-on-error is exactly the same as setting
> via setq or set-variable. What Pascal was referring to is that errors
> that occur while running post-command-hook cause the corresponding
> function to be removed from the hook (to try and prevent the error from
> occurring over and over again), so such errors tend to "occur only once".
Thanks for putting me right on tracks, then. I don't think I've dreamed,
though.
Next time I need to track down some error, and get a backtrace, I'll be much
more careful for testing, and report anything I would consider as being wrong.
Up to that point, then, I'm presumed to be wrong.
Best regards,
Seb
--
Sebastien Vauban
next prev parent reply other threads:[~2013-05-26 19:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-25 9:10 Debugging Elisp Miguel Guedes
2013-05-25 13:44 ` Pascal J. Bourguignon
2013-05-25 19:00 ` Sebastien Vauban
2013-05-26 0:43 ` Stefan Monnier
[not found] ` <mailman.390.1369529042.22516.help-gnu-emacs@gnu.org>
2013-05-26 19:12 ` Sebastien Vauban [this message]
2013-05-26 9:49 ` Phillip Lord
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=86mwrhzhbn.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=help-gnu-emacs-mXXj517/zsQ@public.gmane.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.