Subject: bug#45779: Once FFAP sniffs a URL, its taste buds no longer recognize filenames

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 11 Jan 2021 16:29:15 +0100

積丹尼 Dan Jacobson <[email-masked]> writes:

> $ echo http://example.com > /tmp/z
> $ emacs -nw -q /tmp/z
> Now do M-x ffap
> Now delete the URL that it is prompting us with.
> Now enter ~/.em<TAB>
> Tab doesn't complete .emacs!!

ffap is a guessing system, and it calls `read-string' when it guesses
that you want to enter an URL.  And even if you delete the URL, that
doesn't magically change back to calling `read-file-name'.

So I think the answer here is "don't do that, then"?

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