From: A Soare <alinsoar@voila.fr>
To: "Emacs Dev [emacs-devel]" <emacs-devel@gnu.org>
Subject: Re: kill-buffer during *debugging*
Date: Sun, 18 Feb 2007 09:56:22 +0100 (CET) [thread overview]
Message-ID: <32083765.135971171788982404.JavaMail.www@wwinf4006> (raw)
> 3. WITHOUT STOPPING the debugger kill the buffer using C-x k.
>
> Here is the bug. The *debugging* mode is still active.
>
> Could you explain that more concretely? What does it mean to say
> "still active" in this case?
The *debugging* mode is "still active" = If I am killing the buffer while I am debugging with edebug - that means I am killing the buffer when the *debugging* is active as a minor mode (we see minor modes in the mode line if `minor-mode-alist is set in `default-mode-line-format) -, in the MODE LINE one can still see *debugging*. So the debugging mode is still active, even if the buffer was closed.
My code from that little patch makes 2 things:
1. stop the debugger (using the (top-level), as it is used in present when pressing "q")
2. kill the buffer.
It runs "a la fois" 2 commands:
((top-level)
(kill-buffer))
This is executed in a lambda function associated to C-x k.
Without my patch, when I press C-x k and the debugger is running, the buffer is killed, but the debugger is not stopped (is still active).
next reply other threads:[~2007-02-18 8:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-18 8:56 A Soare [this message]
2007-02-20 18:07 ` kill-buffer during *debugging* Stuart D. Herring
-- strict thread matches above, loose matches on Subject: below --
2007-02-15 10:31 A Soare
2007-02-17 20:57 ` Richard Stallman
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=32083765.135971171788982404.JavaMail.www@wwinf4006 \
--to=alinsoar@voila.fr \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).