unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Cc: 34847@debbugs.gnu.org, dale@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	[thread overview]
Message-ID: <838swnbpt8.fsf@gnu.org> (raw)
In-Reply-To: <87ftqvlwxy.fsf@tcd.ie> (contovob@tcd.ie)

> 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.





  reply	other threads:[~2019-04-06  6:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-13 18:03 bug#34847: 27.0.50; auto-revert-buffers occasionally selects a killed buffer Dale Sedivec
2019-03-24 14:31 ` Michael Albinus
2019-04-05 14:03   ` Tassilo Horn
2019-04-06  9:07     ` Michael Albinus
2019-04-06  2:02   ` Basil L. Contovounesios
2019-04-06  9:37     ` Michael Albinus
2019-04-06 13:42       ` Basil L. Contovounesios
2019-04-06  1:55 ` Basil L. Contovounesios
2019-04-06  6:39   ` Eli Zaretskii [this message]
2019-04-06 13:39     ` Basil L. Contovounesios

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838swnbpt8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=34847@debbugs.gnu.org \
    --cc=contovob@tcd.ie \
    --cc=dale@codefu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).