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 18:28:23 +0300 Message-ID: <8335g3paw8.fsf@gnu.org> References: <87h7lnk2by.fsf@localhost> <83pmj7q20m.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5173"; 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 17:33:00 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 1o2Dy0-00018M-0V for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Jun 2022 17:33:00 +0200 Original-Received: from localhost ([::1]:46430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2Dxy-0007Bx-JN for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Jun 2022 11:32:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2DuA-0003h4-Rz for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 11:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2DuA-00064U-In for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 11:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2DuA-0002kc-FV for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 11:29: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 15:29: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.165547971610528 (code B ref 46982); Fri, 17 Jun 2022 15:29:02 +0000 Original-Received: (at 46982) by debbugs.gnu.org; 17 Jun 2022 15:28:36 +0000 Original-Received: from localhost ([127.0.0.1]:46729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Dtk-0002ji-AZ for submit@debbugs.gnu.org; Fri, 17 Jun 2022 11:28:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Dth-0002jV-Nk for 46982@debbugs.gnu.org; Fri, 17 Jun 2022 11:28:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2Dtb-00061i-LC; Fri, 17 Jun 2022 11:28:28 -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=uTnNAgpVPNHvsI6DU6J3HLP2enaZSu4L7uk+poVlbbs=; b=nnA4owohBg0N A7xdrSHEdQbbXGJhiGeDvpiEEIPfUyYH35p8MbZqfC/6Cvf7osjsuC3fUsVo0Fxoob263BNrGcC4d ETopK8AIZgwvzF9pd7wg1Y+vzd57p6p021fZFkfuObllLrccVva7Q+Z8PdgVsYZBAJ+f6JGDAqDBV liZfL1mA5MacrxasQvgo5eTi0dRKTZ+hLg+CWmdRjswE6HTuVZKUaiygWcUZOzvvCjVJHXCsjls1n QuHe4nP/sYpmVIp5EIYXsEKVyQBz38mYuwEzAYfA6NjIFAR2zfY19GyZr+Gjgol2qP9CYtE960H6h ST1t8ma98n1ue5f1jYc78Q==; Original-Received: from [87.69.77.57] (port=1230 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 1o2Dtb-00062p-4G; Fri, 17 Jun 2022 11:28:27 -0400 In-Reply-To: (message from Stefan Monnier on Fri, 17 Jun 2022 09:29:54 -0400) 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:234705 Archived-At: > From: Stefan Monnier > Cc: yantar92@gmail.com, 46982@debbugs.gnu.org > Date: Fri, 17 Jun 2022 09:29:54 -0400 > > Eli Zaretskii [2022-06-17 08:42:33] wrote: > >> 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? > > It might be a good thing to mention somewhere around > `clone-buffer`, yes. I'll see what I can come up with. Thanks.