From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Shenli Zhu Newsgroups: gmane.emacs.help Subject: Re: Problem with grep in Emacs 23.2 Date: Tue, 7 Sep 2010 09:05:05 +0800 Message-ID: References: <2491E099-746A-4074-B521-E912570D8B61@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e64353a0ce3afa048fa0fcb3 X-Trace: dough.gmane.org 1283821550 22614 80.91.229.12 (7 Sep 2010 01:05:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2010 01:05:50 +0000 (UTC) Cc: help-gnu-emacs To: Lennart Borgman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 07 03:05:49 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 1OsmdB-0001ch-6I for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Sep 2010 03:05:49 +0200 Original-Received: from localhost ([127.0.0.1]:48916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsmdA-00055d-9k for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Sep 2010 21:05:48 -0400 Original-Received: from [140.186.70.92] (port=45538 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Osmcf-00053y-M9 for help-gnu-emacs@gnu.org; Mon, 06 Sep 2010 21:05:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsmcX-0001p0-K9 for help-gnu-emacs@gnu.org; Mon, 06 Sep 2010 21:05:17 -0400 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:36075) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsmcX-0001ok-HI for help-gnu-emacs@gnu.org; Mon, 06 Sep 2010 21:05:09 -0400 Original-Received: by iwn33 with SMTP id 33so6951354iwn.0 for ; Mon, 06 Sep 2010 18:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=K9nUQuIOoHKVBXq1MnbxqNa43l2DpRYZCs3+oPQDOO4=; b=ZhA/rUQ8w9N+ESORaKSU2ycfw/f5Zkiuk0AF8KpcgHNLcQiKh9FeP/kn5/iRDS7bwm K25CO/ZSwC0QONmZ5avxD65/73adjuuo+VDaVz7nS1k6GFKlxqXrzKP6DXIkCDVXcDM/ cxvJAkbJSo/uGDcJW8xzox72R9xiFtSQt2txs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=TSgX7jKJFUtHTl8laHv64qp1oU1DmNVhJKYwznCTH1xsSwQsz2Am3cOvtB9dpJUKva a8tQ1nhphMIvRInC8KXA2OutyEeeRO30ZgJyszTzM3lOry3L9o+RGFE9oCElxS5pOPEa iurOGWt2xwlmZmPUmJR8vbVe5zsCtwmknY8mc= Original-Received: by 10.231.146.129 with SMTP id h1mr7092141ibv.181.1283821505755; Mon, 06 Sep 2010 18:05:05 -0700 (PDT) Original-Received: by 10.231.154.2 with HTTP; Mon, 6 Sep 2010 18:05:05 -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:74908 Archived-At: --0016e64353a0ce3afa048fa0fcb3 Content-Type: text/plain; charset=ISO-8859-1 Hi, Lennart, how to skip grep-probe/grep-compute-defaults (add hook or change variable)? Thanks On Tue, Sep 7, 2010 at 8:24 AM, Lennart Borgman wrote: > 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. > --0016e64353a0ce3afa048fa0fcb3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, Lennart, how to skip grep-probe/grep-compute-defaults (add hook or chan= ge variable)?

Thanks

On Tue, Sep = 7, 2010 at 8:24 AM, Lennart Borgman <lennart.borgman@gmail.com> wrote:=
On Tue, Sep 7, 2010 at 2:22 AM, Shenli Zhu <zhushenli2@gmail.com> 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 fu= nction
> 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.

--0016e64353a0ce3afa048fa0fcb3--