Eli Zaretskii writes: >> From: Liu Hui >> Date: Mon, 30 Jun 2025 22:47:10 +0800 >> >> Hi, >> >> The following recipe is extracted from bug#78925: >> >> 1. emacs -Q >> 2. Open a file in a remote project: >> C-x C-f /ssh:server:~/a_git_project/test_file >> 3. Create a file that exists outside the project in the remote host, e.g. >> M-! touch /tmp/abc >> 4. type the above filename (i.e. /tmp/abc) in test_file, and M-x ffap >> >> ffap prompts /ssh:server:~/a_git_project/tmp/abc, while in Emacs 29 >> prompts /ssh:server:/tmp/abc correctly. This problem seems to be >> related to commit 1eae0e7edf4. > > Spencer, could you please look into this? Thanks for the report, this is indeed a bug in ffap-in-project. This should be fixed by the attached patch, could you please test?