In GNU Emacs, I could use something like the hypothetical "flyexist.el" - I have a buffer with absolute (Unix) file names in it (plus some additional text around them). Most of these files exist, but some are missing. I would like to run a function that gives me the missing files (possibly with a red overlay). This function would have to figure out which of the text in the buffer looks like a file name (some false positives are in order), and then work with it using the exist-p file.
For example, suppose my buffer contains
Some random text mentioning /file/that/does/exist.txt, some more random text, and a /file/that/does/not-exist.txt
I want to highlight the second file.
Already have something like that?
source share