GNU bug report logs - #78221
31.0.50; Improving *-change-functions notifications

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Fri, 2 May 2025 21:49:02 UTC

Severity: normal

Found in version 31.0.50

Full log


Message #50 received at 78221 <at> debbugs.gnu.org (full text, mbox):

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 78221 <at> debbugs.gnu.org, Alan Mackenzie <acm <at> muc.de>
Subject: Re: bug#78221: 31.0.50; Improving *-change-functions notifications
Date: Sun, 04 May 2025 06:15:03 +0000
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> Org mode currently has to resort to (eq
>> org-fold-core--last-buffer-chars-modified-tick
>> (buffer-chars-modified-tick)) checks to filter out changes in
>> text properties.
>
> Interesting.  What made you do that?  IME, it's fairly rare for
> text-property changes to trigger such notifications.

Some parts of Org mode (org-agenda, org-sparse-tree) use text properties
and trigger the notifications; usually that happens across the whole
buffer. And when that does happen, expensive processing of buffer
changes makes things very slow.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




This bug report was last modified 32 days ago.

Previous Next


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