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" 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 09:29:54 -0400 Message-ID: References: <87h7lnk2by.fsf@localhost> <83pmj7q20m.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31914"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 46982@debbugs.gnu.org, yantar92@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 17 15:31:34 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 1o2C4U-000839-Ge for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Jun 2022 15:31:34 +0200 Original-Received: from localhost ([::1]:52268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2C4T-00040b-Cg for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Jun 2022 09:31:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2C3y-0003y6-34 for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 09:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50502) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2C3x-0007Pc-R0 for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 09:31:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2C3x-00059W-Lb for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 09:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Jun 2022 13:31:01 +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.165547260519659 (code B ref 46982); Fri, 17 Jun 2022 13:31:01 +0000 Original-Received: (at 46982) by debbugs.gnu.org; 17 Jun 2022 13:30:05 +0000 Original-Received: from localhost ([127.0.0.1]:44397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2C32-000571-KK for submit@debbugs.gnu.org; Fri, 17 Jun 2022 09:30:05 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:11817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2C30-00056C-JA for 46982@debbugs.gnu.org; Fri, 17 Jun 2022 09:30:03 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 445AD1006DD; Fri, 17 Jun 2022 09:29:57 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id F4205100163; Fri, 17 Jun 2022 09:29:55 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1655472596; bh=aTmWuinPeKjufsxkJcagR3hfMaKFMYfP39TGx8umM5A=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=oYZwMR/hy1afDhNsxlzVNEhGuyqYbRrWqo2t01OTwpgGVyQtQ6VaWAe4aKYXEbg5V wN0USeUGOLHIlIKt6QUfpZPutv7uUwHlme2InZ7d4+BFt1BWj464RMcfveipZN74Qd zG9oMayoVMod1Z3Da+ermSnJRGKCNhPQ0DZ2Qhp9xMYuM3A5ryFmCvyu67/Z4wZI3+ bBHfPcoJAR5b25dQ00ENXXZsvlDXYsHfsZiEgMpTl1Rs/hUASARDZC8dC8rGp4C31v F256wDWFN7bM2pJ5zPqiP5hN9Empmhfo6k42SsuJ11gkvm55Q4pTOPIEAA4aGBL/gX KvvlCe1rnJ81A== Original-Received: from pastel (unknown [45.72.221.51]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 932B11204DE; Fri, 17 Jun 2022 09:29:55 -0400 (EDT) In-Reply-To: <83pmj7q20m.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 17 Jun 2022 08:42:33 +0300") 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:234691 Archived-At: 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. Stefan