From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71424: 29.3; auto-revert-use-notify buggy interaction with indirect buffers Date: Sat, 08 Jun 2024 20:44:57 +0300 Message-ID: <86plsrba7a.fsf@gnu.org> References: <87ed98caci.fsf@bcc32.com> <86h6e3ex13.fsf@gnu.org> <01d36245-763b-43e8-93f8-679f176fedd0@app.fastmail.com> <86zfrvbdsz.fsf@gnu.org> <871q57gynq.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="862"; mail-complaints-to="usenet@ciao.gmane.io" Cc: z@bcc32.com, 71424@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 08 19:45:56 2024 Return-path: 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 ) id 1sG08a-000AaO-7l for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Jun 2024 19:45:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sG08S-0006jr-RY; Sat, 08 Jun 2024 13:45:48 -0400 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 ) id 1sG08Q-0006jP-HP for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 13:45:46 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sG08Q-0006LP-9R for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 13:45:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sG08g-0004gt-4q for bug-gnu-emacs@gnu.org; Sat, 08 Jun 2024 13:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Jun 2024 17:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71424 X-GNU-PR-Package: emacs Original-Received: via spool by 71424-submit@debbugs.gnu.org id=B71424.171786872717984 (code B ref 71424); Sat, 08 Jun 2024 17:46:02 +0000 Original-Received: (at 71424) by debbugs.gnu.org; 8 Jun 2024 17:45:27 +0000 Original-Received: from localhost ([127.0.0.1]:39388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sG087-0004fz-6B for submit@debbugs.gnu.org; Sat, 08 Jun 2024 13:45:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sG081-0004fc-O9 for 71424@debbugs.gnu.org; Sat, 08 Jun 2024 13:45:25 -0400 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 ) id 1sG07g-00066I-66; Sat, 08 Jun 2024 13:45:00 -0400 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=EO5NZ3QDLq2ZchXJFReO2d6rK32S8DNdTsHMUW/WQDs=; b=mUsPAUMK7I7j FZ/97U4rgl+I9rnSvLLDWW3KsvthrYg6vcKhsv/jD08ZExlr+hfp+v3jxWdCsStKpArQV6T6RDrFE ODV/CFKTHygekm9Oa8W+5epL97pGaEyCU+P5iCITDPzhqAG/BsNjGYNKURHj46lWTM+GxxeZGGIMR xe4Z8uVwQLroTyhIcLSn2SPptJ6LuvdGljMUx3FCLSuMqB9GsZR3oSaE3Lb+rjauxDyigUVainELo SwQ52isVwo/3UJ6rDs6bltZU4cTD/eOsNa7ISt8VwHLlOHU3+EYf3DVyrvqISEYDuCQMp7PSXxhxV G7jfQh5DsGuhHZVw1cMD9A==; In-Reply-To: <871q57gynq.fsf@gmx.de> (message from Michael Albinus on Sat, 08 Jun 2024 18:57:45 +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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:286884 Archived-At: > From: Michael Albinus > Cc: "Aaron Zeng" , 71424@debbugs.gnu.org > Date: Sat, 08 Jun 2024 18:57:45 +0200 > > Eli Zaretskii writes: > > Hi Eli, > > >> Indeed, while the indirect buffer is live, everything works fine. > >> However, after you kill the indirect buffer, then the buffer no > >> longer gets auto-reverted when you modify SOME-FILE outside Emacs. > > > > Right. Michael, is the below the correct fix? > > I haven't tested yet, but it looks proper to me. You might push it. Thanks, done. > I will add a test for this case next days. Thanks.