GNU bug report logs - #37455
27.0.50; insert-behind-hooks and insert-in-front-hooks in text properties do nothing when font-lock-mode is on

Previous Next

Package: emacs;

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

Date: Thu, 19 Sep 2019 00:53:02 UTC

Severity: normal

Found in version 27.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: 'Ihor Radchenko' <yantar92 <at> gmail.com>
Cc: 37455 <at> debbugs.gnu.org
Subject: bug#37455: 27.0.50; insert-behind-hooks and insert-in-front-hooks in text properties do nothing when font-lock-mode is on
Date: Thu, 19 Sep 2019 17:11:53 +0300
> From: 'Ihor Radchenko' <yantar92 <at> gmail.com>
> Date: Thu, 19 Sep 2019 08:48:57 +0800
> 
> Expected behaviour:
> 
> According to the manual, adding insert-in-front-hooks or
> insert-behind-hooks text properties should trigger the functions listed
> in the hooks when the text is inserted in front/behind the text.
> 
> Observed behaviour:
> 
> The functions never run unless I type very fast (with my own config) or
> when font-lock-mode is enabled.

We have too many hooks, and they fight each other.  Recursively.

Should be fixed now on the master branch.  Thanks.




This bug report was last modified 5 years and 301 days ago.

Previous Next


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