GNU bug report logs - #22551
24.5; M-x grep: can't add option after default option list

Previous Next

Package: emacs;

Reported by: Benoit Coste <ben.coste <at> gmail.com>

Date: Thu, 4 Feb 2016 16:22:01 UTC

Severity: minor

Tags: notabug

Found in version 24.5

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Glenn Morris <rgm <at> gnu.org>
To: Benoit Coste <ben.coste <at> gmail.com>
Cc: 22551 <at> debbugs.gnu.org
Subject: Re: bug#22551: 24.5;
 M-x grep: can't add option after default option list
Date: Thu, 04 Feb 2016 12:32:31 -0500
Benoit Coste wrote:

> When I type M-x grep, this is what I get.
>
> Run grep (like this): grep --color -nH -e
>
> If if try to add an option after the '-e', let's say '-R', Emacs thinks
> the option is the pattern I am looking for instead of considering it as
> an option.

We assume familiarity with grep options. The -e option of grep takes an
argument, namely the pattern to search for. You can either add your
option before the -e, or maybe you are interested in M-x rgrep.
I don't see this as an Emacs bug.




This bug report was last modified 9 years and 109 days ago.

Previous Next


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