Subject: bug#7229: 23.1; ido guess and ffap bug

From: Dmitry Gutov <[email-masked]>
Date: Sat, 13 Jul 2013 03:03:28 +0400

Leo Liu <[email-masked]> writes:

> On 2010-10-17 04:08 +0800, Thibault Kruse wrote:
>> enter /**
>> cursor at the end of that line
>> M-x ido-find-file (or C-x f): ido suggests /**, instead of pwd
>> enter <test />
>> cursor at the end of that line
>> M-x ido-find-file (or C-x f): ido suggests /, instead of pwd
>>
>> same for M-x ffap
>
> I don't see any bugs here. ido and ffap seem working consistently per
> your request (/** and / are valid file names).

Maybe we should be able to restrict `ffap-file-at-point' to local files
(which it checks for existence).

After all, the variable that enables this behavior is called
`ido-use-filename-at-point', and the description does not tell you that
the thing at point could be interpreted as a remote URL.