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: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 78221 <at> debbugs.gnu.org, yantar92 <at> posteo.net, acm <at> muc.de
Subject: bug#78221: 31.0.50; Improving *-change-functions notifications
Date: Sun, 04 May 2025 08:31:15 +0300
> Cc: 78221 <at> debbugs.gnu.org, Alan Mackenzie <acm <at> muc.de>
> Date: Sat, 03 May 2025 22:48:10 -0400
> From:  Stefan Monnier via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> >>   Or we could rely on a (symbol) property being set on the functions
> >>   added to `*-change-functions` to tell whether they want to know about
> >>   changes to text-properties or not.
> >>   Or maybe a more crude way would be a buffer-local variable controlling
> >>   whether `*-change-functions` are called for text-property changes.
> > Or pass a 4th parameter to *-change-functions indicating whether the
> > change involved actual text edits or it only touched text-properties.
> 
> But many functions used on this hook don't accept 4 parameters, so
> that's not backward compatible.

We could use func-arity, couldn't we?




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.