bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13693: M-x grep should do some basic parameter checking


From: Juri Linkov
Subject: bug#13693: M-x grep should do some basic parameter checking
Date: Thu, 14 Feb 2013 11:23:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)

> JL> If you tend to forget the pattern or file argument there is a reliable 
> grep
> JL> known as `M-x rgrep' that asks you what and where to search.
>
> Yes, I use that too.
>
> And that is what is causing me to even remember less that M-x grep needs
> more arguments when I use it !

Then customize `grep-command' to something like "grep -nH -e pattern *"
that would remind you to replace the default search string "pattern"
and to replace "*" with actual file names to search.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]