Skip to content
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

find-library offers many ../ options when ivy-mode is active #873

Closed
Wilfred opened this issue Feb 3, 2017 · 5 comments
Closed

find-library offers many ../ options when ivy-mode is active #873

Wilfred opened this issue Feb 3, 2017 · 5 comments

Comments

@Wilfred
Copy link
Contributor

@Wilfred Wilfred commented Feb 3, 2017

When ivy-mode is enabled, M-x find-library offers lots of ../ options (286 in my current Emacs instance):

screen shot 2017-02-03 at 16 32 32

However, when ivy-mode is disabled, M-x find-library only offers one ../ option:

screen shot 2017-02-03 at 16 33 15

Selecting a ../ option simply gives the error find-library-name: Can't find library ../ so perhaps ivy-mode should simply filter this out?

@abo-abo
Copy link
Owner

@abo-abo abo-abo commented Feb 3, 2017

See counsel-load-library for a function that does this in a proper way. To find instead of loading press C-..

@Wilfred
Copy link
Contributor Author

@Wilfred Wilfred commented Feb 3, 2017

Thanks, that's very useful. I can't see the C-. find option when pressing M-o in counsel-load-library -- is that expected?

@abo-abo
Copy link
Owner

@abo-abo abo-abo commented Feb 3, 2017

Thanks, that's very useful. I can't see the C-. find option when pressing M-o in counsel-load-library -- is that expected?

No, I forgot to add it :). Could you fix?

@Wilfred
Copy link
Contributor Author

@Wilfred Wilfred commented Feb 3, 2017

Turns out there's counsel-find-library too!

@abo-abo
Copy link
Owner

@abo-abo abo-abo commented Feb 4, 2017

Oh. I forgot there was a PR for that some time ago:).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants