GNU bug report logs - #13693
M-x grep should do some basic parameter checking

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Tue, 12 Feb 2013 05:50:02 UTC

Severity: wishlist

Tags: wontfix

Merged with 1863, 6553

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 13693 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: jidanni <at> jidanni.org
Cc: 13693 <at> debbugs.gnu.org
Subject: Re: bug#13693: M-x grep should do some basic parameter checking
Date: Wed, 13 Feb 2013 10:46:18 +0200
> $ emacs
> (grep "grep -nH -e love")
> Will always fail. And the user will think "well, I can't find the love
> letter she sent me, and thus can't find her address, so I will just give
> up," when all along he just forgot to give the filename.
>
> Whereas normally
> $ grep love
> would hang, waiting for input, so he would know that the relationship
> still had a chance, and it was just emacs that was the reason the two
> would have lost touch...

If you tend to forget the pattern or file argument there is a reliable grep
known as `M-x rgrep' that asks you what and where to search.




This bug report was last modified 7 years and 39 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.