emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: threads and kill-buffer


From: Tom Tromey
Subject: Re: threads and kill-buffer
Date: Wed, 05 Sep 2012 12:20:38 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

>>>>> "Eli" == Eli Zaretskii <address@hidden> writes:

Eli> How about letting kill-buffer succeed, but delay the actual deletion
Eli> of the buffer until no thread has it as current, like what Posix
Eli> filesystems do with file deletion?

I think that's a very interesting idea, thanks.

I have been thinking about it and the only issue I see is that, since it
introduces a new buffer state, we would have to decide what
buffer-live-p returns for a buffer that is killed-but-not-yet-dead.

I suppose we may also want a new predicate to detect this state.

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]