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: Liu Hui <liuhui1610 <at> gmail.com>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 78929 <at> debbugs.gnu.org
Subject: bug#78929: 31.0.50; ffap does not find the correct filename in remote projects
Date: Fri, 4 Jul 2025 12:54:55 +0800
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!




This bug report was last modified 11 days ago.

Previous Next


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