GNU bug report logs - #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)

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> gmail.com>

Date: Sun, 7 Mar 2021 04:33:02 UTC

Severity: normal

Found in version 28.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 46982 <at> debbugs.gnu.org, yantar92 <at> gmail.com
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
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: yantar92 <at> gmail.com,  46982 <at> 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.




This bug report was last modified 3 years and 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.