Ahoy,
Personally I'm finding the source-file cache really helpful when doing M-. with modified buffers, but it only works for some types of location.
The `code-location' we get from function objects contains the mtime of the source file at the time of compilation, which we can check against the file and the cache. But `source-locations' that we get for classes from PCL and `xref-contexts' don't have this timestamp.
What to do? I'm tempted to try hacking CMUCL to include mtime in the other locations too, but I'm not 100% certain that the caching approach is right. Any opinions?
-Luke
Luke Gorrie luke@bluetail.com writes:
What to do? I'm tempted to try hacking CMUCL to include mtime in the other locations too, but I'm not 100% certain that the caching approach is right. Any opinions?
Perhaps you could try to find a function that is defined in the same file and use the timestamp of the function.
BTW, it might be a good idea to search for Emacs generated backup files with the same timestamp.
Helmut.
Helmut Eller e9626484@stud3.tuwien.ac.at writes:
Perhaps you could try to find a function that is defined in the same file and use the timestamp of the function.
BTW, it might be a good idea to search for Emacs generated backup files with the same timestamp.
Yes! Two very good ideas :-)