GNU bug report logs - #58447
[PATCH] In project-find-file, add absolute file name to history

Previous Next

Package: emacs;

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 #178 received at 58447 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Augusto Stoffel <arstoffel <at> gmail.com>,
 58447 <at> debbugs.gnu.org
Subject: Re: bug#58447: [PATCH] In project-find-file, add absolute file name
 to history
Date: Sun, 18 Dec 2022 10:36:48 +0200
>> 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?




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.