bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55267: 29.0.50; Provide customization to save project-find-file arg


From: Pankaj Jangid
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Dmitry Gutov <dgutov@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.





reply via email to

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