[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45779: Once FFAP sniffs a URL, its taste buds no longer recognize fi
From: |
Lars Ingebrigtsen |
Subject: |
bug#45779: Once FFAP sniffs a URL, its taste buds no longer recognize filenames |
Date: |
Mon, 11 Jan 2021 16:29:15 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
積丹尼 Dan Jacobson <jidanni@jidanni.org> 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