From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21754: 25.0.50; doc of `grep' - no description of how to call it: COMMAND-ARGS undefined Date: Sun, 25 Oct 2015 22:06:51 +0200 Message-ID: <83bnbmd86c.fsf@gnu.org> References: <0ed13600-cfc4-42f8-8808-fe0c5e84500c@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445803704 29657 80.91.229.3 (25 Oct 2015 20:08:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Oct 2015 20:08:24 +0000 (UTC) Cc: 21754-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 25 21:08:13 2015 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 1ZqRaN-0005u4-Su for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Oct 2015 21:08:12 +0100 Original-Received: from localhost ([::1]:49367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqRaN-0007d0-GH for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Oct 2015 16:08:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqRaJ-0007cm-Id for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2015 16:08:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqRaE-0007tr-J9 for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2015 16:08:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqRaE-0007tl-Fz for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2015 16:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZqRaE-0003Zw-2m for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2015 16:08:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Oct 2015 20:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 21754 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 21754@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 21754-done@debbugs.gnu.org id=D21754.144580362413690 (code D ref 21754); Sun, 25 Oct 2015 20:08:01 +0000 Original-Received: (at 21754-done) by debbugs.gnu.org; 25 Oct 2015 20:07:04 +0000 Original-Received: from localhost ([127.0.0.1]:38225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZqRZH-0003Yk-FC for submit@debbugs.gnu.org; Sun, 25 Oct 2015 16:07:03 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:39819) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZqRYw-0003Xz-FX for 21754-done@debbugs.gnu.org; Sun, 25 Oct 2015 16:07:01 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NWS00200KYBE000@a-mtaout20.012.net.il> for 21754-done@debbugs.gnu.org; Sun, 25 Oct 2015 22:06:41 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWS0023XL749O50@a-mtaout20.012.net.il>; Sun, 25 Oct 2015 22:06:41 +0200 (IST) In-reply-to: <0ed13600-cfc4-42f8-8808-fe0c5e84500c@default> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:108029 Archived-At: > Date: Sun, 25 Oct 2015 08:35:00 -0700 (PDT) > From: Drew Adams > > > > Here is the entire doc string: > > (grep COMMAND-ARGS) > > Run grep, with user-specified args, and collect output in a buffer. > While grep runs asynchronously, you can use C-x ` (M-x next-error), > or RET in the *grep* buffer, to go to the lines where grep found > matches. To kill the grep job before it finishes, type C-c C-k. > > For doing a recursive 'grep', see the 'rgrep' command. For running > 'grep' in a specific directory, see 'lgrep'. > > This command uses a special history list for its COMMAND-ARGS, so you > can easily repeat a grep command. > > A prefix argument says to default the argument based upon the current > tag the cursor is over, substituting it into the last grep command > in the grep command history (or into 'grep-command' if that history > list is empty). > > There is _zero_ information here about parameter COMMAND-ARGS. Thanks, fixed.