Subject: Re: bug#67901: 30.0.50; Can't access previous history entries with M-p from within project-find-file

From: Dmitry Gutov <[email-masked]>
Date: Wed, 20 Dec 2023 17:45:55 +0200

Hi Brian,

Thanks for the report, it's a recent thing.

On 19/12/2023 15:29, Brian Leung wrote:
>  From an 'emacs -q' session, I find that after using M-x
> project-find-file (or C-x p f) and selecting some candidate foo, trying
> to use M-p within a subsequent invocation of project-find-file will not
> recover foo.
> 
> However, using M-p from within find-file (instead of project-find-file)
> will indeed recover foo.

This is now fixed on master, commit 338409c1f19.

Also Cc-ing Spencer: note that project--transplant-file-name now returns 
non-abbreviated name (different project-read-file-name-function's can 
abbreviate or not, but expand-file-name seems to work just as well).