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

Support multi-isearch-buffers or similar behavior #40

Open
kickingvegas opened this issue Mar 4, 2024 · 2 comments
Open

Support multi-isearch-buffers or similar behavior #40

kickingvegas opened this issue Mar 4, 2024 · 2 comments
Labels
enhancement New feature or request isearch

Comments

@kickingvegas
Copy link
Owner

Per input from @dandrake from https://mathstodon.xyz/@ddrake/112037755737321142, add multi-isearch-buffers like behavior to cc-isearch-menu.

@kickingvegas kickingvegas added the enhancement New feature or request label Mar 4, 2024
@kickingvegas
Copy link
Owner Author

TIL about multi-isearch-buffers. It’s both neat and kinda awkward as it doesn’t integrate the current search. At the moment I think a custom function will need to be made to get what you’re looking for.

A couple of observations:

  • By default, multi-isearch-buffers forces you to select which buffers to isearch through which can be onerous. You need to invoke a prefix (C-u) to allow for a regexp filter of the buffers to isearch through.
    • Open question whether requiring knowledge of Elisp regexp is too high a bar for casual users
    • You don’t get a choice of order of buffers to isearch through when using a regexp.
  • Fine line between just using rgrep to get desired result.

That said, when I get the cycles I’ll try to explore if a solution that integrates the current search can be made. I’m open to a PR for this as well.

@kickingvegas
Copy link
Owner Author

@dandrake - As it turns out, this workflow in Casual Dired v1.1.0 might be what you're looking for:

  1. Launch Casual Dired in a Dired buffer.
  2. Mark some files.
  3. From the Casual Dired main menu: (#) Utils > (s) Search & Replace > (C-s) I-search

You will now be able to search through multiple files.

@kickingvegas kickingvegas transferred this issue from kickingvegas/casual-isearch Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request isearch
Projects
None yet
Development

No branches or pull requests

1 participant