[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: |
Fri, 16 Dec 2022 09:48:09 +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.
>
> Fair enough.
>
> Can we do something with it, though, without piping all-files through
> #'expand-file-name?
In theory, it should be sufficient to pipe through #'expand-file-name
only the completion candidate to try both with and without
#'expand-file-name. But in practice this might require
implementing this as the CONFIRM function.
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, (continued)
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Augusto Stoffel, 2022/12/14
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Dmitry Gutov, 2022/12/14
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Augusto Stoffel, 2022/12/14
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Dmitry Gutov, 2022/12/14
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Juri Linkov, 2022/12/15
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Augusto Stoffel, 2022/12/15
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Dmitry Gutov, 2022/12/15
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Dmitry Gutov, 2022/12/15
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Juri Linkov, 2022/12/15
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Dmitry Gutov, 2022/12/15
- bug#58447: [PATCH] In project-find-file, add absolute file name to history,
Juri Linkov <=
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Dmitry Gutov, 2022/12/17
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Augusto Stoffel, 2022/12/15
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Dmitry Gutov, 2022/12/15
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Juri Linkov, 2022/12/15
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Dmitry Gutov, 2022/12/15
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Juri Linkov, 2022/12/18
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Dmitry Gutov, 2022/12/18
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Juri Linkov, 2022/12/19
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Eli Zaretskii, 2022/12/19
- bug#58447: [PATCH] In project-find-file, add absolute file name to history, Juri Linkov, 2022/12/19