GNU bug report logs - #76969
kill-buffer fails silently when a thread exists where it's current

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dmitry <at> gutov.dev>

Date: Wed, 12 Mar 2025 01:17:01 UTC

Severity: normal

Full log


Message #62 received at 76969 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Eli Zaretskii <eliz <at> gnu.org>, Spencer Baugh <sbaugh <at> janestreet.com>
Cc: 76969 <at> debbugs.gnu.org
Subject: Re: bug#76969: kill-buffer fails silently when a thread exists where
 it's current
Date: Tue, 18 Mar 2025 02:21:23 +0200
On 17/03/2025 21:41, Eli Zaretskii wrote:
> Don't forget that
> the target thread could be the main thread.

Good question what we should do with the main thread in this case - but 
even if it receives the signal, it should be more a lot more visible to 
the user than in background threads, helping fix whatever misbehavior 
that caused it.

But we'll probably use the same method that's being discussed to declare 
a thread an exception, prohibiting its buffer from being killed externally.




This bug report was last modified 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.