GNU bug report logs -
#58447
[PATCH] In project-find-file, add absolute file name to history
Previous Next
Reported by: Augusto Stoffel <arstoffel <at> gmail.com>
Date: Tue, 11 Oct 2022 18:30:02 UTC
Severity: normal
Tags: patch
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>>> Unfortunately, this makes the emacs-29 release unusable.
>>
>> Would you say the new behavior is worse than what we had before?
>
> Unfortunately, yes. It turned out that it interferes too much
> in normal workflows of using 'C-x p f'. I suggest to keep
> the history of 'C-x p f' with relative filenames intact,
> and add absolute filenames to 'file-name-history' that already
> contains absolute filenames.
Until now, `C-x p f' and `C-x C-f' have always shared the same history
variable, `file-name-history'. Reverting this change to go back to the
even more broken (IMO) behavior of adding relative file names to the
history of `C-x C-f' et al.
How about computing the history of `C-x p f' dynamically by filtering
the elements of `file-name-history' which belong to the current project?
This is simpler than the other viable solution, to introduce
project-dependent histories.
This bug report was last modified 2 years and 232 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.