From: Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: File closed where edebug was running
Date: Sun, 05 Jan 2025 10:11:07 -0500 [thread overview]
Message-ID: <jwv4j2dqow0.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: 92f004b5-be3a-482b-88ee-adfc2484cb88@easy-emacs.de
> Some function under edebug and closed that file by mistake, Emacs sends an
> error in case that function is affected.
> Depending on the function, that might make that instance of Emacs
> unusable. Can't even save buffers any more.
Yup. Been there, done that.
> Any suggestion?
Add some defense-against-breakage in the relevant ELisp code.
Which code is "the relevant ELisp code" depends on the specifics, which
you have not provided.
Stefan
prev parent reply other threads:[~2025-01-05 15:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-05 13:18 File closed where edebug was running Andreas Röhler
2025-01-05 15:11 ` Stefan Monnier via Users list for the GNU Emacs text editor [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=jwv4j2dqow0.fsf-monnier+emacs@gnu.org \
--to=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.