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

Q: Can you search file contents rather than file names? #68

Open
LeoUfimtsev opened this issue Jan 15, 2015 · 4 comments
Open

Q: Can you search file contents rather than file names? #68

LeoUfimtsev opened this issue Jan 15, 2015 · 4 comments

Comments

@LeoUfimtsev
Copy link

Hello,

I started learning Emacs like 2 hours ago.

I then learned about Outline mode.

I now seek a way to search only the headings from the outline mode and thought maybe flx would help me.

Can I use flx to search the content of a file rather than searching file names?

(sorry if this is very obvious)

@Silex
Copy link

Silex commented Jan 16, 2015

IMHO to search file contents you should use something like https://github.com/Wilfred/ag.el or M-x rgrep

@LeoUfimtsev
Copy link
Author

Thank you for the answer. What I meant is that I was looking for fuzzy search fithin the scope of one file, not across many files.

@lewang
Copy link
Owner

lewang commented Jan 22, 2015

Hi,

I'm not sure if ido can be used to do an interactive occur type of
functionality. I suspect not as ido doesn't deal with longs trings very
well because it's restricted to the minibuffer.

On Thu, Jan 22, 2015 at 9:22 AM, LeoUfimtsev [email protected]
wrote:

Thank you for the answer. What I meant is that I was looking for fuzzy
search fithin the scope of one file, not across many files.


Reply to this email directly or view it on GitHub
#68 (comment).

Le

@PythonNut
Copy link
Collaborator

@LeoUfimtsev if you simply want to fuzzy search symbols in a buffer, you might take a look at flx-isearch.

If you want to search outline headings, which are not symbols, you can discuss adding that feature in an issue in that repo. The infrastructure is there, and adding probably won't be too hard.

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

No branches or pull requests

4 participants