all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dkcombs@panix.com (David Combs)
To: help-gnu-emacs@gnu.org
Subject: Re: Problem with grep in Emacs 23.2
Date: Fri, 1 Oct 2010 02:04:47 +0000 (UTC)	[thread overview]
Message-ID: <i83fjv$kt1$4@reader1.panix.com> (raw)
In-Reply-To: mailman.0.1283844542.27325.help-gnu-emacs@gnu.org

In article <mailman.0.1283844542.27325.help-gnu-emacs@gnu.org>,
Shenli Zhu  <zhushenli2@gmail.com> wrote:
>-=-=-=-=-=-
>
>Set grep-use-null-device to t, problem solved.
>
>On Tue, Sep 7, 2010 at 9:50 AM, Shenli Zhu <zhushenli2@gmail.com> 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 <lennart.borgman@gmail.com
>> > 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 <zhushenli2@gmail.com> 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 <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
>>> >> > 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



      parent reply	other threads:[~2010-10-01  2:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-06 11:32 Problem with grep in Emacs 23.2 Shenli Zhu
2010-09-06 20:04 ` Peter Dyballa
2010-09-07  0:22   ` Shenli Zhu
2010-09-07  0:24     ` Lennart Borgman
2010-09-07  1:05       ` Shenli Zhu
2010-09-07  1:24         ` Lennart Borgman
2010-09-07  1:50           ` Shenli Zhu
2010-09-07  7:28             ` Shenli Zhu
     [not found]             ` <mailman.0.1283844542.27325.help-gnu-emacs@gnu.org>
2010-10-01  2:04               ` David Combs [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='i83fjv$kt1$4@reader1.panix.com' \
    --to=dkcombs@panix.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.