|
From: | Juri Linkov |
Subject: | bug#58447: [PATCH] In project-find-file, add absolute file name to history |
Date: | Sun, 18 Dec 2022 10:36:48 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
>> I agree with Augusto that filtering that implements project-local history >> should be the default behavior for emacs-29. I tried your second patch >> and it nicely handles even such sequences as `C-x p f' and `C-x p F'. >> (and in the opposite direction from `C-x p F' to `C-x p f' it >> filters out external files, that is expected and consistent.) > > That sounds like a consensus, then. I've pushed the v2 patch to emacs-29. Thanks. One very minor detail: when the history contains the project root directory then it's confusing to see that M-p does nothing. It looks like it has no effect because it inserts an empty string. Maybe better to filter out empty strings?
[Prev in Thread] | Current Thread | [Next in Thread] |