On Thu, 15 Dec 2022 at 01:04, Dmitry Gutov wrote:
We're probably talking about the same thing, if the filtering is going
to use the list of files from project-files, rather than
file-exists-p. In either case, the user could actually input a
non-existent file (or file not in the completion table) which would
fail that test. But they'll hopefully hit C-x C-s soon after.
My suggestion was not to filer based on project-files, but rather simply
by file name prefixes. Which, if I read correctly, is exactly what your
patch v2 does.
The patches could be combined, but v1 seems to be too invasive for
emacs-29, yet v2 could be just small enough to be considered
"bugfix-only".
So, what does everyone think about the latter?
If people agree that the v2 patch is an improvement, we can check it
in and leave project-local histories until later.
In fact I think v2 already is a completely satisfactory implementation
the project-local file history feature.