all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Daniel Colascione <dancol@dancol.org>
Cc: Leo <sdl.web@gmail.com>, emacs-devel@gnu.org
Subject: Re: Should debug-on-quit becomes t after kill -SIGUSR2?
Date: Tue, 03 Jul 2012 09:51:48 -0400	[thread overview]
Message-ID: <jwvr4stosvw.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4FF283CC.2030901@dancol.org> (Daniel Colascione's message of "Mon, 02 Jul 2012 22:31:56 -0700")

>> I start using this new debug-on-event a bit and I find the side effect
>> of permanently changing debug-on-quit to t annoying. Is it intentional?
> It's intention in the sense that that's how it was intended to work,
> but that's because the feature is designed to bring you to the
> debugger no matter what, and as a last resort. Maybe we can set a
> timer to undo the change to the variable once we break into the debugger.

Or rather than a timer, we could define that a special value
(e.g. `once') for debug-on-quit means that it is reset to nil after we
enter the debugger.


        Stefan



      reply	other threads:[~2012-07-03 13:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11 10:02 Should debug-on-quit becomes t after kill -SIGUSR2? Leo
2012-07-03  5:31 ` Daniel Colascione
2012-07-03 13:51   ` Stefan Monnier [this message]

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=jwvr4stosvw.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    --cc=sdl.web@gmail.com \
    /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.