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#46982: 28.0.50; after-change-functions in an indirect buffer are not called if the change is done while base buffer is active (and vice versa) Date: Fri, 17 Jun 2022 08:42:33 +0300 Message-ID: <83pmj7q20m.fsf@gnu.org> References: <87h7lnk2by.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7949"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46982@debbugs.gnu.org, yantar92@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 17 07:44:10 2022 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 1o24m9-0001rR-Vm for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Jun 2022 07:44:10 +0200 Original-Received: from localhost ([::1]:46076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o24m8-000276-IU for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Jun 2022 01:44:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o24l7-00025U-HS for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 01:43:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49644) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o24l4-0002Q2-Ba for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 01:43:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o24l4-0002Kn-9z for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 01:43: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: Fri, 17 Jun 2022 05:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46982 X-GNU-PR-Package: emacs Original-Received: via spool by 46982-submit@debbugs.gnu.org id=B46982.16554445668951 (code B ref 46982); Fri, 17 Jun 2022 05:43:02 +0000 Original-Received: (at 46982) by debbugs.gnu.org; 17 Jun 2022 05:42:46 +0000 Original-Received: from localhost ([127.0.0.1]:43541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o24ko-0002KJ-7b for submit@debbugs.gnu.org; Fri, 17 Jun 2022 01:42:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o24km-0002K7-NO for 46982@debbugs.gnu.org; Fri, 17 Jun 2022 01:42:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o24kh-0002Ob-C0; Fri, 17 Jun 2022 01:42:39 -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=FISNqT+zVArvZXc6U5Qk4knZCjtw+JRHITyBovjErC4=; b=evWSdu2SWyqN v5WZbuCIzM9Lqh+4HH5ZtEATJpTSTssSsAkhS/LOjKEeouX9vcgMY5HVBPocLeZqO71qqrnbnDw9K JJ9kM/ktrt5F5QDeVHzoVgnIx6j0Nrc9hpeRG2wfeKk54aDjED7rS/BDmlVQlZVuswHpMqILhka99 iFg1uwYeXphRHVzTqteT34NE5+7j4YnBw1jqt8W4BxlsbaFnwbuwmUZW7kY/vVoCq4k65vNj4UFOz ANLWw/dU3DyrP7FYJ4hjdJoDct9gnPvzvCOc7a7A61MOnONYkZ3+5i1uaEcVIFf57w0a6CwkzX6f0 DT1TxsVv28/u1++iX6C2AQ==; Original-Received: from [87.69.77.57] (port=4798 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o24kg-0006qv-5v; Fri, 17 Jun 2022 01:42:38 -0400 In-Reply-To: (bug-gnu-emacs@gnu.org) 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" Xref: news.gmane.io gmane.emacs.bugs:234669 Archived-At: > Cc: 46982@debbugs.gnu.org > Date: Thu, 16 Jun 2022 22:36:29 -0400 > From: Stefan Monnier via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > It's currently the responsibility of the code that sets up the indirect > buffer(s) to setup a `before/after-change-functions` in the base buffer > that runs (some of) the `before/after-change-functions` in the indirect > buffer(s) where they are needed. Do you think we should document this caveat in the ELisp manual?