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: Wed, 29 Jun 2022 19:08:30 +0300 Message-ID: <83y1xf5u69.fsf@gnu.org> References: <87h7lnk2by.fsf@localhost> <83pmj7q20m.fsf@gnu.org> <87sfnxppdq.fsf@localhost> <83letpjugf.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31435"; 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 Wed Jun 29 18:12:01 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 1o6aIK-0007zV-KQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jun 2022 18:12:00 +0200 Original-Received: from localhost ([::1]:48260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6aIH-0000yn-MW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jun 2022 12:11:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6aFT-0005go-Vg for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2022 12:09:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6aFS-0000kg-BL for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2022 12:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6aFS-0007hG-6P for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2022 12:09: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: Wed, 29 Jun 2022 16:09: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.165651891329543 (code B ref 46982); Wed, 29 Jun 2022 16:09:02 +0000 Original-Received: (at 46982) by debbugs.gnu.org; 29 Jun 2022 16:08:33 +0000 Original-Received: from localhost ([127.0.0.1]:60008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6aEy-0007gR-Lu for submit@debbugs.gnu.org; Wed, 29 Jun 2022 12:08:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6aEw-0007gC-Uj for 46982@debbugs.gnu.org; Wed, 29 Jun 2022 12:08:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:32776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6aEq-0008IS-WD; Wed, 29 Jun 2022 12:08:25 -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=ty7GCC5IJhqXeAlNghMG5dANsbbNCy0td7MSYCBP83s=; b=I/KJzl2CYpeC 1Aj00+T9v7fBwXcnkNTwgRBg5GLkPLvF4mBKp13h0wEzgwWWGDBDk9iUpxIyArNrSRSsffckUjJvZ X2jRXxQ64eNgfrar1dDbLNhpswWRb+WldPBjNweldqFyEPiwg8ncRHDhMs10A19bRox9GLHDBWwEK OT9cuPLM5fh4V2vGOvsz+1EkTXaxAVBj1ZxeX/MkzEREYmDtPjol/cbYsktTiey76kFi+f6eMw83s I3agKs1rHhqPr5d7iQB4b9qjxvNkpEVjfc2GKgASRMjP4E087Bm61U6CIrsEoGY0XkgOjYhrwz96o rz3Z+3DmnDwtq4kg+zp6iQ==; Original-Received: from [87.69.77.57] (port=2548 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 1o6aEq-00082m-Fs; Wed, 29 Jun 2022 12:08:24 -0400 In-Reply-To: (message from Stefan Monnier on Wed, 29 Jun 2022 11:19:37 -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:235650 Archived-At: > From: Stefan Monnier > Cc: Ihor Radchenko , 46982@debbugs.gnu.org > Date: Wed, 29 Jun 2022 11:19:37 -0400 > > >> >> It might be a good thing to mention somewhere around > >> >> `clone-buffer`, yes. I'll see what I can come up with. > >> > Hmm... we don't document `clone-buffer` anywhere that I can see. > >> > Any suggestion where I could put that kind of info? > >> `clone-indirect-buffer' I think. For example, in 19.6 Indirect Buffers > >> section of the manual. > > Yes, there, please. > > How does the patch below sound to you? LGTM, thanks.