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 03:24:47 +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 1283822737 25633 80.91.229.12 (7 Sep 2010 01:25:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2010 01:25:37 +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 03:25:36 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 1OsmwJ-0007FC-Hd for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Sep 2010 03:25:35 +0200 Original-Received: from localhost ([127.0.0.1]:32809 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsmwI-0002ja-Ra for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Sep 2010 21:25:34 -0400 Original-Received: from [140.186.70.92] (port=44522 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Osmvt-0002jM-Kt for help-gnu-emacs@gnu.org; Mon, 06 Sep 2010 21:25:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Osmvs-0003yx-6D for help-gnu-emacs@gnu.org; Mon, 06 Sep 2010 21:25:09 -0400 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:46444) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Osmvs-0003ys-2q for help-gnu-emacs@gnu.org; Mon, 06 Sep 2010 21:25:08 -0400 Original-Received: by qwf7 with SMTP id 7so5672796qwf.0 for ; Mon, 06 Sep 2010 18:25:07 -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=r9rnmhEJlE/7WLOXFgXy990TmWDrGBxcR2+IHORiThE=; b=rsFPLLwlKra50LngGXx0wk8B5JHE9da68w2K0ATGPHRouFihMxtIbcPpnouNPNnQnG moV6C0E7VIiJfT4iggD8ysywV3oszgQdkvknUyqwcPZN/Zu6oOgmmWNPlRIbkpb5WVT2 JeZeMUVsd7BASqCXPM1GTPAZpRmwo/UGlVkio= 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=GhworhM7Pk44JsGV0MbwXDRgDVP2/st4E3V2OSoOsuenXC7jW+E4f+6/6OSukjJ8hL pWOwYmI7wNQ0NNWTSv+soFjuPD3L1l+V2EsAzWB6MtLnEHgbjrKyRWuOpnhZP6cgK+fl wme9mCSfSRBPC5K1ovbr9jYjKX8MEUN8XlvNQ= Original-Received: by 10.224.65.138 with SMTP id j10mr80507qai.147.1283822707403; Mon, 06 Sep 2010 18:25:07 -0700 (PDT) Original-Received: by 10.229.216.74 with HTTP; Mon, 6 Sep 2010 18:24:47 -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:74909 Archived-At: Use customize to set the needed values, for example: M-x customize RET grep-use-null-device RET On Tue, Sep 7, 2010 at 3:05 AM, Shenli Zhu wrote: > 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. > >