GNU bug report logs - #20412
25.0.50; Port not respected by ffap

Previous Next

Package: emacs;

Reported by: Marco Wahl <marcowahlsoft <at> gmail.com>

Date: Thu, 23 Apr 2015 14:24:01 UTC

Severity: minor

Tags: fixed, patch

Found in version 25.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Marco Wahl <marcowahlsoft <at> gmail.com>
Cc: 20412 <at> debbugs.gnu.org
Subject: Re: bug#20412: 25.0.50; Port not respected by ffap
Date: Fri, 02 Aug 2019 00:31:27 +0200
Marco Wahl <marcowahlsoft <at> gmail.com> writes:

> - Have the text '/ssh:root <at> 127.0.0.1#2222:/root/' in buffer *scratch*.
> - Put the cursor on the first slash.
> - M-x find-file-at-point
>
> Result: the filespec with the port is not recognised.
>
> Patch proposal:

[...]

> -    (file "--:\\\\$\\{\\}+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:")
> +    (file "--:\\\\$\\{\\}+<>@-Z_[:alpha:]~*?#" "<@" "@>;.,!:")

I wonder whether this will lead to more false positives than the number
of times it'll help with this syntax here.

But since it does test whether the file exists, perhaps it's not a
problem anyway.

Anybody got an opinion here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 177 days ago.

Previous Next


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