all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Eli Zaretskii <eliz@gnu.org>
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 14:39:47 +0100	[thread overview]
Message-ID: <87sguvs15o.fsf@tcd.ie> (raw)
In-Reply-To: <838swnbpt8.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 6 Apr 2019 09:39:15 +0300")

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	other threads:[~2019-04-06 13: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
2019-04-06 13:39     ` Basil L. Contovounesios [this message]

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

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

  git send-email \
    --in-reply-to=87sguvs15o.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=34847@debbugs.gnu.org \
    --cc=dale@codefu.org \
    --cc=eliz@gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.