bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58447: [PATCH] In project-find-file, add absolute file name to histo


From: Juri Linkov
Subject: bug#58447: [PATCH] In project-find-file, add absolute file name to history
Date: Mon, 12 Dec 2022 19:41:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>>>>>> One solution would be to write a confirmation function instead of using
>>>>>> the symbol 'confirm' for completing-read in 
>>>>>> project--completing-read-strict.
>>>>>> Such a function could check if the filename is absolute
>>>>> And exists, I suppose?
>>>> I'd prefer to have separate histories: with absolute filenames for C-x
>>>> C-f,
>>>> and project-relative filenames for C-x p f.
>>> Yeah, ok.
>>>
>>> I think we just postponed this improvement because we might not manage it
>>> in time for the 29's release.
>> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]