emacs-devel
[Top][All Lists]
Advanced

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

Re: How does one find out what file a library has been loaded from?


From: Eli Zaretskii
Subject: Re: How does one find out what file a library has been loaded from?
Date: Wed, 03 Aug 2022 17:19:07 +0300

> From: Andrea Corallo <akrl@sdf.org>
> Cc: acm@muc.de, emacs-devel@gnu.org
> Date: Tue, 02 Aug 2022 14:13:58 +0000
> 
> > So in that case, my changes would return the .eln file even
> > though it was not actually loaded.
> 
> Ops that's correct, I miss-read your code sorry.
> 
> > We could document this corner use case, and say that we return the
> > .eln file even if it's outdated, or we could add the timestamp test
> > you suggested, and return the .elc file if the test fails.
> 
> I think would be nicer to have the timestamp test.
> 
> Still if the filesystem state changes the result could be incorrect, ex
> one could even remove the .eln file and even if the definition is coming
> from it we'd return the .elc.  Perhaps we should document this?

OK, thanks.  I added the timestamp test, fixed the typo spotted by
Alan, and installed the changes together with their documentation.



reply via email to

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