GNU bug report logs -
#58447
[PATCH] In project-find-file, add absolute file name to history
Previous Next
Reported by: Augusto Stoffel <arstoffel <at> gmail.com>
Date: Tue, 11 Oct 2022 18:30:02 UTC
Severity: normal
Tags: patch
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 58447 <at> debbugs.gnu.org (full text, mbox):
> Date: Thu, 27 Oct 2022 11:44:09 +0300
> Cc: 58447 <at> debbugs.gnu.org
> From: Dmitry Gutov <dgutov <at> 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 <at> 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.
This bug report was last modified 2 years and 232 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.