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 20:34:18 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

On 27.10.2022 19:53, Augusto Stoffel wrote:
On Thu, 27 Oct 2022 at 19:48, Dmitry Gutov wrote:

On 27.10.2022 19:37, Augusto Stoffel wrote:
The patch in my original message fixes this and shouldn't complicate a
future implementation of the per-project histories.
OK. Are you sure that it doesn't add the relative name to the history still?

AFAIU as long as hist is passed to project--completing-read-strict,
the completing-read call in there will alter the history first.
Note that history-add-new-input is bound to nil at the appropriate
place in the patch.

Ah, ok.

But how is completing-read using the history var? Only reading past inputs? Can it handle the absolute values there?





reply via email to

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