|
From: | Juri Linkov |
Subject: | bug#58447: [PATCH] In project-find-file, add absolute file name to history |
Date: | Thu, 15 Dec 2022 19:24:24 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
>> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |