bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20412: 25.0.50; Port not respected by ffap


From: Lars Ingebrigtsen
Subject: bug#20412: 25.0.50; Port not respected by ffap
Date: Fri, 02 Aug 2019 00:31:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Marco Wahl <address@hidden> writes:

> - Have the text '/ssh:root@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]