-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add builtins-only flag #46
Comments
Interesting idea, I'm not opposed to this. Since suggest always returns 5 results anyway, I generally find that it returns both builtin functions and |
I feel like I had an example like that, but I can't remember what it Still, it would be nice to filter out suggestions that I know won't be
four of those five suggestions are no good. (Of course, it's good to know that those functions are out there in Besides improving the quality of the results (in this specific case), |
I was reminded of this issue today, when I got the following results:
If you're willing to use s.el, An ideal ordering is probably this:
I'm not sure exactly what heuristics to use here. We probably want to upweight smaller numbers of function calls and upweight calls that only use built-in functions. In this case, downweighting calls that have extra args ( |
Sometimes you can't or don't want to use functions from
f
,s
, etc. In those cases it would be nice to be able to restrictsuggest
output to just builtin Emacs functions.The text was updated successfully, but these errors were encountered: