GNU bug report logs - #55267
29.0.50; Provide customization to save project-find-file arg to savehist

Previous Next

Package: emacs;

Reported by: Pankaj Jangid <pankaj <at> codeisgreat.org>

Date: Thu, 5 May 2022 03:25:01 UTC

Severity: normal

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pankaj Jangid <pankaj <at> codeisgreat.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 55267 <at> debbugs.gnu.org, Juri Linkov <juri <at> linkov.net>
Subject: bug#55267: 29.0.50; Provide customization to save project-find-file arg to savehist
Date: Mon, 30 May 2022 11:38:40 +0530
Dmitry Gutov <dgutov <at> yandex.ru> writes:

> On 12.05.2022 19:38, Juri Linkov wrote:
>> BTW, here is another improvement for project-find-file.
>> If there is no file name under point, it could propose
>> the current file name for editing in the minibuffer,
>> to find another file based on the current file
>> when their names are similar.
>
> Here as well: if you find this helpful, that sounds okay to me.
>
> I haven't ever felt a need for this particular behavior, but it
> shouldn't hurt either.

To be consistent with other subsystems of Emacs, we can do something
that Dired does.

1. Press ’R’ to rename a file.

2. Then press ’M-n’. It invokes (next-history-element) which fills
   current file in the minibuffer for editing.

the advantage of this above approach is that it offers user a
choice - continue using the same behaviour or press ’M-n’ to prefill
current file name.




This bug report was last modified 2 years and 357 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.