ac-fuzzy-complete doesn't seem to work. #220

Open
yyr opened this Issue Mar 24, 2013 · 7 comments

Comments

Projects
None yet
4 participants
@yyr

yyr commented Mar 24, 2013

unfortunately I dont know how to check, atleast for me the advertized behaviour is not working.

@yyr

This comment has been minimized.

Show comment Hide comment
@yyr

yyr Mar 24, 2013

Okay I think its my mistake in understanding this feature. I thought that this feature is similar to ido mode, But it seems not. I think this issue can be closed

But Let me ask for a feature.

When a ac-menu is shown is it possible to select one of the displayed candidate with ido-mode (or similar way).?
(I mean instead of navigating with C-n C-p)

yyr commented Mar 24, 2013

Okay I think its my mistake in understanding this feature. I thought that this feature is similar to ido mode, But it seems not. I think this issue can be closed

But Let me ask for a feature.

When a ac-menu is shown is it possible to select one of the displayed candidate with ido-mode (or similar way).?
(I mean instead of navigating with C-n C-p)

@asmeurer

This comment has been minimized.

Show comment Hide comment
@asmeurer

asmeurer Mar 24, 2013

Contributor

For me, fuzzy matching works, but only if I press TAB. Is there a way to make it automatically pop up in the fuzzy case? Or would that be too slow?

Contributor

asmeurer commented Mar 24, 2013

For me, fuzzy matching works, but only if I press TAB. Is there a way to make it automatically pop up in the fuzzy case? Or would that be too slow?

@m2ym

This comment has been minimized.

Show comment Hide comment
@m2ym

m2ym Mar 30, 2013

Member

@yyr I don't know much about ido-mode. Could please explain a little bit more?

Member

m2ym commented Mar 30, 2013

@yyr I don't know much about ido-mode. Could please explain a little bit more?

@m2ym

This comment has been minimized.

Show comment Hide comment
@m2ym

m2ym Mar 30, 2013

Member

@asmeurer I have not yet tried but it should be slow. Plus it would be little noisy.

Member

m2ym commented Mar 30, 2013

@asmeurer I have not yet tried but it should be slow. Plus it would be little noisy.

@asmeurer

This comment has been minimized.

Show comment Hide comment
@asmeurer

asmeurer Apr 3, 2013

Contributor

Well I don't mind noisy, because for me, the more true positives that ac gives, the better. This increases my typing speed by a lot (I even have ac enabled in text-mode). And seeing as I don't have any other kind of auto correct for misspelled words, this would be a boon to me. Maybe an optional flag to enable it? Of course, if it really is too slow, then it won't be very useful, but I'd at least like to test it out. And anyway, from what I've seen (and correct me if I'm wrong here) "too slow" would just mean that if I type too fast, then auto-complete might not be able to keep up with me, and so won't give completions as often. Thus, if it's no too too slow, then the benefits of better matching might outweigh the loss of matches when I am typing fast (which is arguably when I need ac the least anyway).

Regarding ido-mode, I think he means the feature where you can type any non-sequential set of characters in a word, in order, and have it match. So, for example, M-x acm would give auto-complete-mode (matching auto-complete-mode). ido handles all this logic quite nicely, so it would just be a matter of enabling it.

Contributor

asmeurer commented Apr 3, 2013

Well I don't mind noisy, because for me, the more true positives that ac gives, the better. This increases my typing speed by a lot (I even have ac enabled in text-mode). And seeing as I don't have any other kind of auto correct for misspelled words, this would be a boon to me. Maybe an optional flag to enable it? Of course, if it really is too slow, then it won't be very useful, but I'd at least like to test it out. And anyway, from what I've seen (and correct me if I'm wrong here) "too slow" would just mean that if I type too fast, then auto-complete might not be able to keep up with me, and so won't give completions as often. Thus, if it's no too too slow, then the benefits of better matching might outweigh the loss of matches when I am typing fast (which is arguably when I need ac the least anyway).

Regarding ido-mode, I think he means the feature where you can type any non-sequential set of characters in a word, in order, and have it match. So, for example, M-x acm would give auto-complete-mode (matching auto-complete-mode). ido handles all this logic quite nicely, so it would just be a matter of enabling it.

@asmeurer

This comment has been minimized.

Show comment Hide comment
@asmeurer

asmeurer Apr 3, 2013

Contributor

Not only that, but the mapping of TAB to activating auto-complete is unreliable for me. I don't know if this is an auto-complete bug or just an issue with the way I have things configured, but half the time, unless auto-complete is already open, it does a regular tab (indent in programming mode, or just a tab in text-mode). There's a good deal of ambiguity here, as I actually do want to be able to do indentation in programming mode as well. So the result is that I almost never activate auto-complete manually, instead relying almost entirely on automatic execution. I know about M-TAB, but that's too slow for something that's supposed to speed up my typing (not to mention that it moves my fingers from home row). That's why I'm a huge fan of the auto-complete philosophy of "doing what users want without any command".

(btw, sorry to hijack this issue. auto fuzzy-complete and ido matching are two completely separate things)

Contributor

asmeurer commented Apr 3, 2013

Not only that, but the mapping of TAB to activating auto-complete is unreliable for me. I don't know if this is an auto-complete bug or just an issue with the way I have things configured, but half the time, unless auto-complete is already open, it does a regular tab (indent in programming mode, or just a tab in text-mode). There's a good deal of ambiguity here, as I actually do want to be able to do indentation in programming mode as well. So the result is that I almost never activate auto-complete manually, instead relying almost entirely on automatic execution. I know about M-TAB, but that's too slow for something that's supposed to speed up my typing (not to mention that it moves my fingers from home row). That's why I'm a huge fan of the auto-complete philosophy of "doing what users want without any command".

(btw, sorry to hijack this issue. auto fuzzy-complete and ido matching are two completely separate things)

@xiaohanyu

This comment has been minimized.

Show comment Hide comment
@xiaohanyu

xiaohanyu Mar 19, 2014

Agree with @asmeurer , +1 for fuzzy complete by default.

Agree with @asmeurer , +1 for fuzzy complete by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment