From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: Re: Problem with grep in Emacs 23.2 Date: Fri, 1 Oct 2010 02:04:47 +0000 (UTC) Organization: Public Access Networks Corp. Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1291884665 2970 80.91.229.12 (9 Dec 2010 08:51:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 08:51:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 09:51:01 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 1PQcDL-0004Pz-5D for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 09:50:59 +0100 Original-Received: from localhost ([127.0.0.1]:54472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQcDJ-0004EZ-MZ for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 03:50:57 -0500 Original-Path: usenet.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 76 Original-NNTP-Posting-Host: panix1.panix.com Original-X-Trace: reader1.panix.com 1285898687 21409 166.84.1.1 (1 Oct 2010 02:04:47 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Fri, 1 Oct 2010 02:04:47 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Original-Xref: usenet.stanford.edu gnu.emacs.help:181577 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:76888 Archived-At: In article , Shenli Zhu wrote: >-=-=-=-=-=- > >Set grep-use-null-device to t, problem solved. > >On Tue, Sep 7, 2010 at 9:50 AM, Shenli Zhu wrote: > >> Lennart, thank you, >> >> I set grep-use-null-device to nil, but the problem still happen. >> >> Maybe I shall trace the code to find how to avoid grep-probe. There is no >> switch to turn off (grep-compute-defaults) in grep, because different >> versions of grep. But I think most of people work on Linux and Gnu grep. So >> why not have a switch tell it do not compute defaults? >> >> >> On Tue, Sep 7, 2010 at 9:24 AM, Lennart Borgman > > wrote: >> >>> 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 < >>> lennart.borgman@gmail.com> >>> > 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. >>> > >>> > >>> >> >> > >-=-=-=-=-=- >[Alternative: text/html] >-=-=-=-=-=- Hi -- I just came across this thread. This M-x grep problem is a bug that you guys have now fixed in the sources, etc? Or is this something that, when I start using it, each of will have to do that fix ourselves? Or what. Am just a little confused. THANKS! David