[Arcana] A random emacs question

Aaron S. Hawley aaron.s.hawley at gmail.com
Fri May 9 14:54:57 CDT 2008


On Fri, May 9, 2008 at 2:06 PM, Jim Blandy <jimb at red-bean.com> wrote:
> If all else fails, you can always just type M-x grep in the dired
> buffer and construct an appropriate 'find ... | xargs' thing.  That's
> what I do for any kind of directory tree traversal.

That's what M-x find-grep and M-x rgrep are for.  Their default
behavior have their kinks, but they're pretty handy.

> I've often wanted a keystroke that would let me pull the list of files
> marked in dired into a shell command I'm entering.  Should be easy.
>
> On Tue, May 6, 2008 at 6:25 AM, Brian Postow <bpostow at gmail.com> wrote:
>> This seems to be the highest concentration of emacs knowledge that I still
>> have access to, so here goes...
>>
>> I know that with dired-do-search I can search within a number of files. Is
>> there a way to do this recursively? so that if a directory is marked it will
>> search in all of the files in that directory? I haven't found a variable to
>> set or an argument to dired-do-search, which is where I would assume the
>> option would be...
>>
>> thanks.
>>
>> Brian
>>
>
> _______________________________________________
> Arcana mailing list
> Arcana at red-bean.com
> http://www.red-bean.com/mailman/listinfo/arcana
>



-- 
Modern man suffers from a kind of poverty of the spirit which
stands in glaring contrast to his scientific and technological
abundance. We've learned to fly the air like birds, we've learned
to swim the seas as fish, yet we haven't learned to walk the
earth as brothers and sisters. -- Dr. Martin King




More information about the Arcana mailing list