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: Dmitry Gutov
Subject: bug#58447: [PATCH] In project-find-file, add absolute file name to history
Date: Thu, 27 Oct 2022 17:21:24 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

On 27.10.2022 16:15, Eli Zaretskii wrote:
Date: Thu, 27 Oct 2022 11:44:09 +0300
Cc:58447@debbugs.gnu.org
From: Dmitry Gutov<dgutov@yandex.ru>

On 26.10.2022 12:04, Augusto Stoffel wrote:
I'm copying Dmitry.
Hi!

On Tue, 11 Oct 2022 at 22:13, Eli Zaretskii wrote:

From: Augusto Stoffel<arstoffel@gmail.com>
Date: Tue, 11 Oct 2022 20:29:24 +0200

`project-find-file' and related commands share their history with more
general commands like `find-file', so they should add the absolute file
name to history.  Currently, file names relative to the project root are
added.  The attached patch fixes this.
Shouldn't project.el have its separate history of file names,
I'm not sure that's useful, but then the history items should be
absolute file names anyway.

perhaps even a project-specific history?
This might make sense.
I like both of these ideas, except I'm not sure how to implement the
project-specific part better.

I suppose we won't be passing the history var to completing-read anymore?
I thought about a project-specific history variable.

...one global variable per project?





reply via email to

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