Subject: bug#20412: 25.0.50; Port not respected by ffap

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 02 Aug 2019 00:31:27 +0200

Marco Wahl <[email-masked]> writes:

> - Have the text '/ssh:[email-masked]#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