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
Message #166 received at 58447 <at> debbugs.gnu.org (full text, mbox):
On 15/12/2022 19:24, Juri Linkov wrote:
>>> But please also note that its value 'project--read-file-absolute'
>>> is also broken. It asks confirmation for re-visiting even absolute
>>> filenames, because currently 'C-x p f' adds abbreviated filenames,
>>> but confirmation checks for absolute.
>> Does the breakage show itself only when you add a history entry using one
>> value of project-read-file-name-function and then try to look it up when
>> using another value of project-read-file-name-function?
>>
>> If so, that's probably bearable enough for now (people don't really change
>> this value often). Fixing it will require resolving the abbreviation
>> situation. And we might as well switch to relative names in project-files
>> first.
> Visiting with 'C-x C-f' adds an abbreviated file name to the history.
> So it looks strange that 'C-x p f M-p' doesn't understand that it's
> absolute even though it's abbreviated.
Fair enough.
Can we do something with it, though, without piping all-files through
#'expand-file-name?
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.