all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Debugging Elisp
Date: Sat, 25 May 2013 20:43:45 -0400	[thread overview]
Message-ID: <jwvr4gud135.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 86ehcu28br.fsf@somewhere.org

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


        Stefan




  reply	other threads:[~2013-05-26  0:43 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 [this message]
     [not found]     ` <mailman.390.1369529042.22516.help-gnu-emacs@gnu.org>
2013-05-26 19:12       ` Sebastien Vauban
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=jwvr4gud135.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.