From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Stefan Monnier via "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#49160: 28.0.50; [PATCH] Uninitialized inhibit_buffer_hooks
Date: Sat, 14 Jan 2023 09:01:50 -0500
Message-ID: <jwva62lqkpc.fsf-monnier+emacs@gnu.org>
References: <874kdratxt.fsf@dick> <83fsxaunxe.fsf@gnu.org>
 <87a6mijmrb.fsf@gnus.org> <87sfggx21q.fsf@tcd.ie>
 <83wn5slt22.fsf@gnu.org> <871qo0vkkb.fsf@tcd.ie>
 <83tu0wkxq4.fsf@gnu.org> <jwvcz7jiuv5.fsf-monnier+emacs@gnu.org>
 <83pmbh6ynl.fsf@gnu.org>
Reply-To: Stefan Monnier <monnier@iro.umontreal.ca>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="10977"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cc: contovob@tcd.ie, larsi@gnus.org, 49160@debbugs.gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 14 15:03:20 2023
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1pGh7w-0002ej-1A
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Jan 2023 15:03:20 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1pGh7h-0006Cs-NW; Sat, 14 Jan 2023 09:03:05 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1pGh7f-0006Ci-RC
 for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 09:03:03 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1pGh7e-00016A-JC
 for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 09:03:03 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pGh7d-0006sa-Um
 for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 09:03:01 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Stefan Monnier <monnier@iro.umontreal.ca>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 14 Jan 2023 14:03:01 +0000
Resent-Message-ID: <handler.49160.B49160.167370492226366@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 49160
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
Original-Received: via spool by 49160-submit@debbugs.gnu.org id=B49160.167370492226366
 (code B ref 49160); Sat, 14 Jan 2023 14:03:01 +0000
Original-Received: (at 49160) by debbugs.gnu.org; 14 Jan 2023 14:02:02 +0000
Original-Received: from localhost ([127.0.0.1]:53684 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1pGh6g-0006rC-E8
 for submit@debbugs.gnu.org; Sat, 14 Jan 2023 09:02:02 -0500
Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:52726)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@iro.umontreal.ca>) id 1pGh6d-0006qX-Au
 for 49160@debbugs.gnu.org; Sat, 14 Jan 2023 09:02:00 -0500
Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9154880DCA;
 Sat, 14 Jan 2023 09:01:53 -0500 (EST)
Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id EE9958043D;
 Sat, 14 Jan 2023 09:01:51 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1673704912;
 bh=O3itUTdrbJADmouuLfU04rMbjYs0k0iw9OWw89rZUKo=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=N9c8G8Hu9MojHE+W6X9cjMmojIzlbZl/M49yCNlyphGuVl5w9RPtuOrtEl2eoNTzI
 ZPC2ff1InafK7tWveMAZmp9NjEGjWACzzk/vgUMsyYAPlXPzYPBBXaX2D3FUtDjN5R
 qu26wKlW4XieuUiYhAL5ujfm0UQ9uhmn6xDuuMrwSVJFT4ECdCpJ4mNcFDGw+m1RjR
 6Mlu9LaIMvT7Dq0/70rcHexRGCecNtWMc+C5H9nwgNPtcvF8x3u21W09xrU4CQ8/eg
 ypGjRQhLJf6USV7fJyxjILEDnPRpSTE06jfgyNX8ZUvRfR9HohS2pgMyjemmG+9vWM
 x3+dNhUjGoqbQ==
Original-Received: from pastel (unknown [45.72.200.228])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id AB84012017B;
 Sat, 14 Jan 2023 09:01:51 -0500 (EST)
In-Reply-To: <83pmbh6ynl.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 14 Jan
 2023 15:20:14 +0200")
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:253358
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/253358>

>> It makes the code simpler and fixes a bug, I'm all for it.
>> I don't think it's urgent, so it's not super important whether it goes
>> into `emacs-29`, OTOH.
>
> Installing it means the buffer-list-update-hook will not run when we
> generate an indirect buffer with this option.  Is that reasonable?

I think it's not just reasonable but is what I'd expect to happen.


        Stefan