emacs-devel
[Top][All Lists]
Advanced

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

Re: Missing snprintf in ucrt mingw + vc-refresh in find-file hook?


From: Eli Zaretskii
Subject: Re: Missing snprintf in ucrt mingw + vc-refresh in find-file hook?
Date: Wed, 14 Feb 2024 19:29:02 +0200

> Date: Wed, 14 Feb 2024 19:01:10 +0200
> Cc: arthur.miller@live.com, emacs-devel@gnu.org
> From: Dmitry Gutov <dmitry@gutov.dev>
> 
> > My point is that find-file-hook has an explicit and very specific
> > trigger for fetching the VC information, whereas doing that from the
> > mode line doesn't have that advantage, and will probably need to call
> > VC much more frequently in order not to miss changes.
> 
> Again: the backend and state are cached. Why would VC be called more?

How do you know when the cache is stale and needs to be refreshed, if
the only purpose is to show the info on the mode line?



reply via email to

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