GNU bug report logs -
#7229
23.1; ido guess and ffap bug
Previous Next
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
On 2013-07-12 09:20 +0800, Leo Liu wrote:
> Then maybe call it sub-optimal default behavior instead of a bug.
From my experience I agree.
I enabled ido-use-url-at-point and ido-use-filename-at-point for a while
and was constantly annoyed by false positives and negatives. I have set
both to nil in the last few years.
Maybe the feature can be changed this way:
1. remove both ido-use-url-at-point and ido-use-filename-at-point
2. when ido-find-file is invoked with prefix, use ffap.
You can experiment this with the following:
(setq ido-use-filename-at-point nil
ido-use-url-at-point nil)
(defadvice ido-file-internal (around ffap activate)
"When called with a prefix, use `ffap' instead."
(if current-prefix-arg
(ffap)
ad-do-it))
Let me know if this is a good idea and should be part of ido.el. Thanks.
Leo
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.