GNU bug report logs - #78929
31.0.50; ffap does not find the correct filename in remote projects

Previous Next

Package: emacs;

Reported by: Liu Hui <liuhui1610 <at> gmail.com>

Date: Mon, 30 Jun 2025 14:48:02 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Liu Hui <liuhui1610 <at> gmail.com>
Subject: bug#78929: closed (Re: bug#78929: 31.0.50; ffap does not find the
 correct filename in remote projects)
Date: Sat, 05 Jul 2025 09:22:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#78929: 31.0.50; ffap does not find the correct filename in remote projects

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 78929 <at> debbugs.gnu.org.

-- 
78929: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78929
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Liu Hui <liuhui1610 <at> gmail.com>
Cc: sbaugh <at> janestreet.com, 78929-done <at> debbugs.gnu.org
Subject: Re: bug#78929: 31.0.50; ffap does not find the correct filename in
 remote projects
Date: Sat, 05 Jul 2025 12:20:44 +0300
> From: Liu Hui <liuhui1610 <at> gmail.com>
> Date: Fri, 4 Jul 2025 12:54:55 +0800
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 78929 <at> debbugs.gnu.org
> 
> On Fri, Jul 4, 2025 at 2:02 AM Spencer Baugh <sbaugh <at> janestreet.com> wrote:
> >
> > Eli Zaretskii <eliz <at> gnu.org> writes:
> >
> > >> From: Liu Hui <liuhui1610 <at> gmail.com>
> > >> 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?
> 
> I confirm the issue is fixed, thanks!

Thanks, installed on the master branch, and closing the bug.

[Message part 3 (message/rfc822, inline)]
From: Liu Hui <liuhui1610 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 31.0.50; ffap does not find the correct filename in remote projects
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.

Thanks.

--
Liu Hui



This bug report was last modified 10 days ago.

Previous Next


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