all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* using find-grep in emacs
@ 2013-05-13 23:47 Rami A
  2013-05-14  0:45 ` Dan Espen
  2013-05-15 18:25 ` Rami A
  0 siblings, 2 replies; 17+ messages in thread
From: Rami A @ 2013-05-13 23:47 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,
I am trying to setup some default for grep-find in emacs.
I do the following to search in the source code:
M-x find-grep
which give:
find . -type f -exec grep -n  {} /dev/null \;

Now I have to change /dev/null to be the directory which I want to search in.
How is it possible to not do that every time I use find-grep and that it could remember the directory I am specifying.

Also, How to make it default to search all three file types .h .s .c and nothing else?


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-05-16  5:10 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-13 23:47 using find-grep in emacs Rami A
2013-05-14  0:45 ` Dan Espen
2013-05-14  2:36   ` Barry Margolin
2013-05-14 13:31     ` Ludwig, Mark
2013-05-14  4:45   ` Bob Proulx
2013-05-14 11:48     ` Andreas Röhler
2013-05-14 15:27       ` Peter Dyballa
2013-05-14 15:42         ` Bob Proulx
2013-05-14 17:19           ` Andreas Röhler
     [not found]         ` <mailman.25743.1368546134.855.help-gnu-emacs@gnu.org>
2013-05-14 19:41           ` Barry Margolin
2013-05-15 18:25 ` Rami A
2013-05-15 18:49   ` Dan Espen
2013-05-15 18:51   ` Andreas Röhler
     [not found]   ` <mailman.25858.1368643771.855.help-gnu-emacs@gnu.org>
2013-05-15 19:11     ` Rami A
2013-05-15 19:46       ` Andreas Röhler
2013-05-15 21:23         ` Peter Dyballa
2013-05-16  5:10           ` Andreas Röhler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.