From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Beno=C3=AEt?= Coste 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 21:46:02 +0000 Message-ID: References: <87y4b0tpjd.fsf@bcoste-MS-7752.i-did-not-set--mail-host-address--so-tickle-me> <5a6c290e-b05a-4112-97e5-7e19fe3756f1@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11406bbecfa8bf052af8a93c X-Trace: ger.gmane.org 1454622440 27418 80.91.229.3 (4 Feb 2016 21:47:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 21:47:20 +0000 (UTC) Cc: 22551@debbugs.gnu.org To: Drew Adams , Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 04 22:47:10 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 1aRRk6-0003E6-Ku for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 22:47:10 +0100 Original-Received: from localhost ([::1]:44204 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRRk6-0002JD-2W for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 16:47:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRRk2-0002Id-DM for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:47:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRRjy-0004JX-AA for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:47:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRRjy-0004J5-6K for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRRjx-0005ZX-QF for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Beno=C3=AEt?= Coste Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Feb 2016 21:47: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: notabug Original-Received: via spool by 22551-submit@debbugs.gnu.org id=B22551.145462238021371 (code B ref 22551); Thu, 04 Feb 2016 21:47:01 +0000 Original-Received: (at 22551) by debbugs.gnu.org; 4 Feb 2016 21:46:20 +0000 Original-Received: from localhost ([127.0.0.1]:60716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRRjI-0005Yd-2F for submit@debbugs.gnu.org; Thu, 04 Feb 2016 16:46:20 -0500 Original-Received: from mail-lf0-f43.google.com ([209.85.215.43]:36645) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRRjG-0005YR-HK for 22551@debbugs.gnu.org; Thu, 04 Feb 2016 16:46:18 -0500 Original-Received: by mail-lf0-f43.google.com with SMTP id 78so45384804lfy.3 for <22551@debbugs.gnu.org>; Thu, 04 Feb 2016 13:46:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=1gwhmyJmBwAF8n76m888TUdwH3m36RFQsruTutK7Ktk=; b=rKWiHZwoHAP4UTjTMS2k7kx2a7S2DOFETu/WU6IHMYOXYhQ8PIQs3wIko2qzLx2nTJ 2HWk8RS96rxv/fHYAyfffc0/ALvasCjaTyODOk8jBwDnPht/ElaNb8sAM8s48MexVTIP np0Q3H3ly0Geml7hwjqOe1TQ70Ulu6YfYHjd/+P3kOp+npAPPippxOXugx56Zllch9rG dBmpLu0u84DMbaj1WkQThgH3oVhQrzu4B7hoF6GmjgHYbGHeExY756c0Js3X1b6Eehzj MhGotKxF5Z7ohjMVtbUnUoNCx4ejwtVjXJy5ovnmgGk9oK97Zk2h6ZZZsCvBZKUa9TTf VICQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; bh=1gwhmyJmBwAF8n76m888TUdwH3m36RFQsruTutK7Ktk=; b=R/3jjoF/VCvZNoOxMXSEGKPL0X+YWPST/iPonpXQ/7QWFMvBZ24HoSBsHHEGGLgrDe 9fnTggc2W2bFDjx1ZVoYWFMHhz7VTExK8x7GPsX2q5RVz3sH0q1OcadgNEJtdqd20nzc u8nDX0CfmwQzKKMChLOMtQQZfbjTm0QT2ZA1OAsX1UK2mrN9Ijz3mtCY4Hu7G+uxVsER iWwnp3So/vppsQlbOOnTshQ2mo6S8rg5xWmWPUVuP+3MyqwJGKiDNy6ppt9HWCRrhjjN Q8Xv701x3wCakN/A9hbm4SD5dSy7ciOEl9lIm1eI+hpvb8cj/D1k6scx3pI/VE4hK13F DQqA== X-Gm-Message-State: AG10YORLTUnOY7PBgJNiFOyzO8b7kS6/taXIH6O1GmzTw4z7L+txFblP8s4EJI9NLUz1DeSIoF24wIdaZAjKZQ== X-Received: by 10.25.20.39 with SMTP id k39mr4492024lfi.152.1454622372766; Thu, 04 Feb 2016 13:46:12 -0800 (PST) In-Reply-To: <5a6c290e-b05a-4112-97e5-7e19fe3756f1@default> 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:112439 Archived-At: --001a11406bbecfa8bf052af8a93c Content-Type: text/plain; charset=UTF-8 Oh, my bad. I though -e was an option not taking arguments. Sorry for the noise. On Thu, Feb 4, 2016 at 6:35 PM Drew Adams wrote: > > 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. > > aka `M-x man RET grep RET' > > That shows: > > grep [OPTIONS] [-e PATTERN | -f FILE] [FILE...] > --001a11406bbecfa8bf052af8a93c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Oh, my bad. I though -e was an option not taking arguments= .

Sorry for the noise.

On Thu, Feb 4, 2016 at 6:35 PM Drew Adams <drew.adams@oracle.com> wrote:<= br>
> We assume familiarity with gre= p 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.

aka `M-x man RET grep RET'

That shows:

grep=C2=A0 [OPTIONS]=C2=A0 [-e=C2=A0 PATTERN=C2=A0 =C2=A0|=C2=A0 =C2=A0-f= =C2=A0 =C2=A0FILE]=C2=A0 [FILE...]
--001a11406bbecfa8bf052af8a93c--