* support for C++ files in lgrep/rgrep
@ 2008-06-27 16:17 Dan Nicolaescu
0 siblings, 0 replies; only message in thread
From: Dan Nicolaescu @ 2008-06-27 16:17 UTC (permalink / raw)
To: emacs-devel
Using the c ch h "abbreviations" in lgrep/rgrep is very useful.
Something similar for C++ would be even more useful because of the
variety of file names used for C++ files.
I have been using with good results the following :
@@ -144,7 +144,9 @@ The following place holders should be pr
(defcustom grep-files-aliases
'(("asm" . "*.[sS]")
("c" . "*.c")
- ("cc" . "*.cc")
+ ("cc" . "*.cc *.cxx *.cpp *.C *.CC *.c++")
+ ("cch" . "*.cc *.[ch]xx *.[ch]pp *.[CH] *.CC *.HH *.[ch]++")
+ ("hh" . "*.hxx *.hpp *.[Hh] *.HH *.h++")
("ch" . "*.[ch]")
("el" . "*.el")
("h" . "*.h")
Any reason not to have something like this?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-27 16:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-27 16:17 support for C++ files in lgrep/rgrep Dan Nicolaescu
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.