From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Problem with grep in Emacs 23.2 Date: Tue, 7 Sep 2010 02:24:29 +0200 Message-ID: References: <2491E099-746A-4074-B521-E912570D8B61@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1283819123 15841 80.91.229.12 (7 Sep 2010 00:25:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2010 00:25:23 +0000 (UTC) Cc: help-gnu-emacs To: Shenli Zhu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 07 02:25:22 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Osm00-0006hi-P8 for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Sep 2010 02:25:21 +0200 Original-Received: from localhost ([127.0.0.1]:47713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oslzy-0001Sm-OV for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Sep 2010 20:25:18 -0400 Original-Received: from [140.186.70.92] (port=53050 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OslzW-0001Sh-OR for help-gnu-emacs@gnu.org; Mon, 06 Sep 2010 20:24:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OslzV-0005SC-N8 for help-gnu-emacs@gnu.org; Mon, 06 Sep 2010 20:24:50 -0400 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:49952) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OslzV-0005S8-JA for help-gnu-emacs@gnu.org; Mon, 06 Sep 2010 20:24:49 -0400 Original-Received: by qwf7 with SMTP id 7so5640295qwf.0 for ; Mon, 06 Sep 2010 17:24:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=U1W+U1OTr1dVFqihnNTaOqhxpeiOEzZ1YIDPksmCx54=; b=sAYHIdGAm0kEfaApBsfp41Vjaf4N7O69ou4QU0kS0jztFVCtLVK5Zm6/ruoEmY2b7P HtMRc+pKQ3nIVawWhchr3pI16etK125N+mcq/q9icSZeiiIGUcRQTX4Yiv6H3zOXKTdc t/JPPer1IXMPoXtT9zba+B3/XD8zX+UuJBC2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=TvyOZHPgr92uLgCAVlGQPzUOLAY6d7fJYYp9Rw4r2yzlKIuSJxa22eMLXk8pPvXw3W OtWof3ETAOr9u8Q9gwWb9nUP78nSv1sEo+C8mpvE/N5N+ZO7GdDolnyZBHdNevU9M0Ha sVxPAUSFkcGv7IT+UlJVd/gp6aYY6rbZ6/xjI= Original-Received: by 10.224.67.65 with SMTP id q1mr483411qai.198.1283819089095; Mon, 06 Sep 2010 17:24:49 -0700 (PDT) Original-Received: by 10.229.216.74 with HTTP; Mon, 6 Sep 2010 17:24:29 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74906 Archived-At: On Tue, Sep 7, 2010 at 2:22 AM, Shenli Zhu wrote: > Hi Peter, > > Do you mean the grep-command I set should be runnable in shell? I just use > grep-command to store the grep template, so it cannot be run in shell. > > Why we need probe-grep? To test whether grep exists and whether its function > works correctly? Can I skip it? probe-grep tries to find out what grep program you actually use and what it can do. So, yes, you can skip it if you know what the program can do.