emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master e8488bcc9c: Avoid having font locking triggering unnecessary


From: Lars Ingebrigtsen
Subject: Re: master e8488bcc9c: Avoid having font locking triggering unnecessary auto-saving
Date: Mon, 09 May 2022 14:37:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

>     * lisp/subr.el (with-silent-modifications): Use it to restore the
>     ticks (bug#11303).

Hm, this had one unintended consequence, apparently -- in a mode I have
that inserts image thumbnails (using with-silent-modifications when
slapping a 'display property over some text), the buffer wasn't updated
afterwards...  So perhaps this needs a rethink, or (at least)
documentation.

But it's slightly unusual -- it's running very asynchronously, so
there's no user input while it's fetching the images from the net.
(Once I do anything in Emacs, it updates the window.)  Is that why the
effect isn't noticeable with normal font locking?  Hm...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]