|
From: | Dmitry Gutov |
Subject: | bug#58447: [PATCH] In project-find-file, add absolute file name to history |
Date: | Thu, 27 Oct 2022 18:36:13 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 |
On 27.10.2022 17:26, Augusto Stoffel wrote:
One thing to consider here is compatibility with savehist-mode and the like. I guess the only simple way to achieve this is with one global variable per project.
I suppose interning a symbol with the project root directory in its name could work.
Passing it to completing-read will unavoidably result in relative names still, though. But it won't be so much of a problem anymore.
And then there would be the issue of when to garbage-collect the saved save pertaining to old projects.
Inside project--remove-from-project-list? Either one specific project, or doing a full scan of obarray.
[Prev in Thread] | Current Thread | [Next in Thread] |