GNU bug report logs - #78769
31.0.50; improve ffap-file-name-with-spaces

Previous Next

Package: emacs;

Reported by: Madhu <enometh <at> meer.net>

Date: Thu, 12 Jun 2025 01:11:02 UTC

Severity: normal

Found in version 31.0.50

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

Full log


Message #22 received at 78769 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Madhu <enometh <at> meer.net>
Cc: 78769 <at> debbugs.gnu.org
Subject: Re: bug#78769: 31.0.50; improve ffap-file-name-with-spaces
Date: Fri, 13 Jun 2025 10:21:37 +0300
> Date: Fri, 13 Jun 2025 12:35:52 +0530 (IST)
> Cc: 78769-done <at> debbugs.gnu.org
> From: Madhu <enometh <at> meer.net>
> 
> *  Eli Zaretskii <eliz <at> gnu.org> <86msacdtsv.fsf <at> gnu.org>
> Wrote on Fri, 13 Jun 2025 09:44:48 +0300
> > The problem bothered me a lot, so I worked on it right away.
> >
> > Thanks for testing, I'm therefore closing this bug.
> 
> Thanks, it may be worth mentioning that setting
> ffap-file-name-with-spaces t has undsired effects on regular ffap. eg:
> ffap on the /etc/passwd on the line
> 
> ```
> /etc/passwd /etc/hosts
> ```
> 
> will return /etc not the full path.
> 
> but this is a known limitation.
> 
> [Unfortunately it is also a limitation in the other implementation I
> proposed, that of extending
>  (assq 'file ffap-string-at-point-mode-alist)
> so that doesn't buy anything.]

I think this aspect is already in the doc string of the variable:

  Enabling this variable may lead to ‘find-file-at-point’ guessing
  wrong more often when trying to find a file name intermingled
  with normal text, but can be useful when working on systems that
  normally use spaces in file names (like Microsoft Windows and the
  like).




This bug report was last modified 1 day ago.

Previous Next


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