GNU bug report logs - #70996
project-find-file defaults

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Fri, 17 May 2024 06:53:01 UTC

Severity: normal

Fixed in version 30.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: Juri Linkov <juri <at> linkov.net>
To: 70996 <at> debbugs.gnu.org
Cc: Dmitry Gutov <dmitry <at> gutov.dev>
Subject: bug#70996: project-find-file defaults
Date: Tue, 28 May 2024 19:32:20 +0300
close 70996 30.0.50
thanks

> (thing-at-point 'filename) in project-find-file is a very useful feature
> that often helps to use a string under point as a partial file name
> to match a project file name as substring.  So it's like 'M-.'
> that navigates by file names instead of identifiers.
>
> But the problem is that in this case it drops the current file name
> as the default value that is also useful in many cases.
>
> Fortunately, the minibuffer supports a list of default values,
> like in the following patch:

With no objections this is pushed to master.




This bug report was last modified 1 year and 35 days ago.

Previous Next


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