GNU bug report logs - #45779
Once FFAP sniffs a URL, its taste buds no longer recognize filenames

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 11 Jan 2021 11:37:01 UTC

Severity: minor

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 45779 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 45779 <at> debbugs.gnu.org
Subject: Re: bug#45779: Once FFAP sniffs a URL, its taste buds no longer
 recognize filenames
Date: Mon, 11 Jan 2021 16:29:15 +0100
積丹尼 Dan Jacobson <jidanni <at> 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




This bug report was last modified 4 years and 132 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.