emacs-devel
[Top][All Lists]
Advanced

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

Re: master daea9b3 1/2: Read mailcaps again only when necessary


From: Stefan Monnier
Subject: Re: master daea9b3 1/2: Read mailcaps again only when necessary
Date: Mon, 01 Nov 2021 14:06:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen [2021-11-01 18:01:56] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> If two packages read&parse the same file and both rely on this function
>> to decide when to reparse, the second package can get a nil value
>> (because the first has caused the mtime to be reset in the hash table)
>> even though the file has changed since it last parsed it.
> I think that's up to the higher level to decide whether it's a problem
> or not, like with other memoizing functions.

What higher level?  I'm talking about two separate packages that don't
know each other, so there's no higher level magic that will save us.


        Stefan




reply via email to

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