GNU bug report logs - #49160
28.0.50; [PATCH] Uninitialized inhibit_buffer_hooks

Previous Next

Package: emacs;

Reported by: dick <dick.r.chiang <at> gmail.com>

Date: Mon, 21 Jun 2021 19:40:01 UTC

Severity: normal

Tags: patch

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 49160 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: dick <dick.r.chiang <at> gmail.com>
Cc: 49160 <at> debbugs.gnu.org
Subject: Re: bug#49160: 28.0.50; [PATCH] Uninitialized inhibit_buffer_hooks
Date: Tue, 22 Jun 2021 14:41:17 +0300
> From: dick <dick.r.chiang <at> gmail.com>
> Date: Mon, 21 Jun 2021 15:39:26 -0400
> 
> It's random whether buffers created outside `get-buffer-create`, i.e.,
> indirect buffers, call kill-buffer hooks.

Please in the future try to be more explicit in describing the
problem.  "It is random" isn't explicit enough.

More to the point: since this attribute of a buffer cannot be changed
once the buffer is created, I think it might be okay to copy from the
base buffer, but we should also allow the caller to control that by
introducing an optional argument similar to that of get-buffer-create.
And if we do that, we could also consider making the default value be
nil, not necessarily a copy of that of the base buffer.

Thanks.




This bug report was last modified 2 years and 210 days ago.

Previous Next


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