this post was submitted on 20 Oct 2023
2 points (100.0% liked)
Emacs
311 readers
2 users here now
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Get Emacs
Rules
- Posts should be emacs related
- Be kind please
- Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.
Emacs Resources
Emacs Tutorials
- Beginner’s Guide to Emacs
- Absolute Beginner's Guide to Emacs
- How to Learn Emacs: A Hand-drawn One-pager for Beginners
Useful Emacs configuration files and distributions
Quick pain-saver tip
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I ask only for the first step. After I have all the referenced message IDs I will start working on the notmuch side to find and tag!
You can simply loop over all the org files, open one by one, and search within each file individually using (while (re-seacrch-forward ...) ...).
I plan on searching hundreds of files (all notes) so... some way that does not open all of them would be preferable.
If opening a file is a problem, you can create temporary buffer and then use
insert-file-contents
+ search +erase-buffer
.