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


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 78221 <at> debbugs.gnu.org, Alan Mackenzie <acm <at> muc.de>
Subject: bug#78221: 31.0.50; Improving *-change-functions notifications
Date: Sun, 04 May 2025 14:38:05 -0400
>> I wonder if someone actually knows of a `*-change-function` which wants
>> to be triggered when text-properties are modified.  I'm not 100% sure
>> that I've never seen such a thing, but at least I can't remember seeing
>> (nor writing) such a thing.
> Me neither.

🙁

>> Are these property-modifications spread all over the place or can you
>> point us to a few important places where they happen?
>
> - org-edit-latex-fragment

Hmm... AFAICT it adds text properties to a string, not to a buffer.

> - org-display-custom-time

AFAICT this is called exclusively from font-lock, so
`inhibit-modifications-hooks` should always be set already.

> - org-agenda (in special org-agenda buffers). not relevant to
>   *-change-functions Org mode uses though

`org-agenda.el` didn't quite fit on my screen (🙂), so I didn't
investigate, especially since you say it's not directly relevant.


        Stefan





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.