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 #23 received at 49160 <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 49160 <at> debbugs.gnu.org,
 dick <dick.r.chiang <at> gmail.com>
Subject: Re: bug#49160: 28.0.50; [PATCH] Uninitialized inhibit_buffer_hooks
Date: Wed, 11 Jan 2023 20:13:21 +0000
[Message part 1 (text/plain, inline)]
Lars Ingebrigtsen [2021-07-19 18:23 +0200] wrote:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>> 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.
>
> I've now applied Dick's patch, and then adjusted as you suggest.

Fmake_indirect_buffer continues to run buffer-list-update-hook
regardless of the new argument.  Any objections to changing that?

[0001-Fix-buffer-list-update-hook-for-indirect-buffers.patch (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
Thanks,

-- 
Basil

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.