GNU bug report logs - #7229
23.1; ido guess and ffap bug

Previous Next

Package: emacs;

Reported by: "Thibault Kruse" <thibault.kruse <at> gmx.de>

Date: Sat, 16 Oct 2010 20:52:02 UTC

Severity: minor

Tags: fixed, patch

Merged with 8990, 24057

Found in versions 23.1, 23.3, 25.1.50

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: Thibault Kruse <thibault.kruse <at> gmx.de>, 7229 <at> debbugs.gnu.org
Subject: bug#7229: 23.1; ido guess and ffap bug
Date: Sat, 13 Jul 2013 05:28:04 +0400
On 13.07.2013 5:20, Leo Liu wrote:
> On 2013-07-13 07:03 +0800, Dmitry Gutov wrote:
>> 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.
>
> Is ffap-url-regexp enough?

Not 100% sure what you mean, but probably not:

1) It doesn't match "/**", a value which apparently (ffap-guesser) can 
return even if there's no existing file with that name.

2) Likewise, it doesn't match "http:/". And I'm sure we can find other 
examples.




This bug report was last modified 8 years and 65 days ago.

Previous Next


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