From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#49160: 28.0.50; [PATCH] Uninitialized inhibit_buffer_hooks
Date: Sat, 14 Jan 2023 15:20:14 +0200
Message-ID: <83pmbh6ynl.fsf@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>
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="38715"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: larsi@gnus.org, 49160@debbugs.gnu.org
To: Stefan Monnier <monnier@iro.umontreal.ca>, contovob@tcd.ie
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 14 14:21:12 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 1pGgT9-0009lg-Vk
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Jan 2023 14:21:12 +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 1pGgT1-0003rX-Uk; Sat, 14 Jan 2023 08:21:03 -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 1pGgT0-0003qd-MI
 for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 08:21:02 -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 1pGgT0-0002u9-Di
 for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 08:21:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pGgT0-0005fE-1p
 for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 08:21:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Eli Zaretskii <eliz@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 14 Jan 2023 13:21:02 +0000
Resent-Message-ID: <handler.49160.B49160.167370242021699@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.167370242021699
 (code B ref 49160); Sat, 14 Jan 2023 13:21:02 +0000
Original-Received: (at 49160) by debbugs.gnu.org; 14 Jan 2023 13:20:20 +0000
Original-Received: from localhost ([127.0.0.1]:53638 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1pGgSK-0005dv-C1
 for submit@debbugs.gnu.org; Sat, 14 Jan 2023 08:20:20 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:44840)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@gnu.org>) id 1pGgSI-0005dc-0d
 for 49160@debbugs.gnu.org; Sat, 14 Jan 2023 08:20:19 -0500
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1pGgSB-0002f6-RZ; Sat, 14 Jan 2023 08:20:11 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=wsExVSzXWc+uIO7Ynp3xGvZ3mHwOtMPtc9bfmG4wU8Q=; b=H4PUlqd+blVU
 rTSlTokWQHE2ERn65SReG5zXT/GJlOiisWU7uVOXxghvYDomR7Xm3S1dDDbLkad5juwRf24aODBd9
 /0XLKNhCewKlKXHtIJ9xAJWt1evvC7BhohxA5jxuXiTAaYMPWBzuUlM7j2qqRP9Af0LHwB6ALYUw2
 Mn+xb/O9doG5d4stRb+IzlXhvNrhh1RlGdSizSkFgZaYwm+ZF8w0Ud5c+GcbbDuSHITk5FtNzeWAy
 1RhtL5RhaJh4dwNW5uO5O1NdTOSuSSLAMUXpEhLdCC9gNBuaL7CSHv352U+sd5rxRJPiyly5Vjb9j
 WSzHT61vhotMp3pN1h48tw==;
Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1pGgSB-0003cQ-BF; Sat, 14 Jan 2023 08:20:11 -0500
In-Reply-To: <jwvcz7jiuv5.fsf-monnier+emacs@gnu.org> (message from Stefan
 Monnier on Thu, 12 Jan 2023 11:25:40 -0500)
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:253357
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/253357>

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: "Basil L. Contovounesios" <contovob@tcd.ie>,  larsi@gnus.org,
>   49160@debbugs.gnu.org
> Date: Thu, 12 Jan 2023 11:25:40 -0500
> 
> >> > So I'm not sure we want this.  What is the real-life use case behind
> >> > this request?
> >> 
> >> The real-life use case is satisfying this bug report+patch from me,
> >> fixing what seems like a simple oversight, and the ensuing peace of mind
> >> that I will be grateful for, of course ;).
> >
> > Stefan, WDYT?
> 
> 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?

If you-two aren't averted by this effect, then let's install this on
the emacs-29 branch.