Dired: Classic Technique for Manual-Visual Search 1 ▲ The Art Of Not Asking Why 3 hours ago · Tech · hide · Fediverse post Here’s a Dired thing that most Emacs veterans know well, but only clicked for me yesterday: searching for specific words and terms in different files while narrowing the results down until you find exactly what you need. There are many ways to do this, some in Emacs and some outside, but I find that the manual-visual process in the middle makes this especially powerful, as you get to see the files selected each time and decide what to keep as you keep narrowing down your search. Let’s say you want to find journal entries where you wrote about a vacation that involved going out of state, and maybe get an idea of where you stayed, say a hotel vs. an Airbnb. In Dired, go to the folder where the words are (say your journal notes directory) and enter % g for a regex search for term 1 — in our case, “vacation”. Dired will mark the files containing “vacation” somewhere in the text. You now start the manual narrowing process: Enter t to mark all the opposite files, the ones that were not… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town