GNU bug report logs - #34847
27.0.50; auto-revert-buffers occasionally selects a killed buffer

Previous Next

Package: emacs;

Reported by: Dale Sedivec <dale <at> codefu.org>

Date: Wed, 13 Mar 2019 18:09:01 UTC

Severity: normal

Tags: fixed, patch

Merged with 35755

Found in version 27.0.50

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 34847 <at> debbugs.gnu.org, dale <at> codefu.org
Subject: bug#34847: 27.0.50; auto-revert-buffers occasionally selects a killed buffer
Date: Sat, 06 Apr 2019 09:39:15 +0300
> From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
> Date: Sat, 06 Apr 2019 02:55:05 +0100
> Cc: 34847 <at> 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.




This bug report was last modified 6 years and 3 days ago.

Previous Next


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