bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#34847: 27.0.50; auto-revert-buffers occasionally selects a killed bu


From: Basil L. Contovounesios
Subject: bug#34847: 27.0.50; auto-revert-buffers occasionally selects a killed buffer
Date: Sat, 06 Apr 2019 14:39:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: "Basil L. Contovounesios" <contovob@tcd.ie>
>> Date: Sat, 06 Apr 2019 02:55:05 +0100
>> Cc: 34847@debbugs.gnu.org
>> 
>> But instrumenting get-buffer-create and kill-buffer revealed that
>> kill-buffer-hook wasn't run sometimes, specifically when an
>> uninitialised inhibit_buffer_hooks happened to be non-zero.
>> 
>> Eli, is the following TRT?
>
> Yes.  Sorry, for some reason I assumed that the entire buffer struct
> is zeroed when a buffer is allocated, but I see now that was based on
> some dream, not on facts.

I was worried some magic like that might be happening somewhere,
but luckily reality is simpler than dreams in this case. ;)

Thanks,

-- 
Basil





reply via email to

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