From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#22551: 24.5; M-x grep: can't add option after default option list Date: Thu, 04 Feb 2016 12:32:31 -0500 Message-ID: References: <87y4b0tpjd.fsf@bcoste-MS-7752.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454607199 2893 80.91.229.3 (4 Feb 2016 17:33:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 17:33:19 +0000 (UTC) Cc: 22551@debbugs.gnu.org To: Benoit Coste Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 04 18:33:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aRNmE-0007Wi-UL for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 18:33:07 +0100 Original-Received: from localhost ([::1]:43236 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRNmE-0002iU-7R for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 12:33:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRNmB-0002iM-0Y for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 12:33:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRNmA-0000sl-B7 for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 12:33:02 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRNmA-0000sN-0z for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 12:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRNm9-0004oY-Sk for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 12:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Feb 2016 17:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22551 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22551-submit@debbugs.gnu.org id=B22551.145460716318481 (code B ref 22551); Thu, 04 Feb 2016 17:33:01 +0000 Original-Received: (at 22551) by debbugs.gnu.org; 4 Feb 2016 17:32:43 +0000 Original-Received: from localhost ([127.0.0.1]:60549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRNlr-0004o1-7e for submit@debbugs.gnu.org; Thu, 04 Feb 2016 12:32:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39916) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRNlp-0004no-2W for 22551@debbugs.gnu.org; Thu, 04 Feb 2016 12:32:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRNlj-0000f7-9T for 22551@debbugs.gnu.org; Thu, 04 Feb 2016 12:32:35 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRNlh-0000eW-QY; Thu, 04 Feb 2016 12:32:33 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aRNlf-0000yj-Ur; Thu, 04 Feb 2016 12:32:32 -0500 X-Spook: Critical infrastructure Armani fraud Arellano-Felix PLF X-Ran: 3Z|S,Pjv7ihq4aiY?2Ae74q>k-T8D,nbF4Z%/WcH'z^)}1#01iY<6LIi5HuD-;nXghj8F} X-Hue: yellow X-Attribution: GM In-Reply-To: <87y4b0tpjd.fsf@bcoste-MS-7752.i-did-not-set--mail-host-address--so-tickle-me> (Benoit Coste's message of "Thu, 04 Feb 2016 17:21:10 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112420 Archived-At: 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.