all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problem with grep in Emacs 23.2
@ 2010-09-06 11:32 Shenli Zhu
  2010-09-06 20:04 ` Peter Dyballa
  0 siblings, 1 reply; 9+ messages in thread
From: Shenli Zhu @ 2010-09-06 11:32 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

Hi,

In Emacs 23.1, to grep,
(1) M-x grep,
(2) change grep-command "grep -i -nH -e \"re\" -r \"/home/username/\"
--include=\"*.*\"" to what I want.
All works well.

But in Emacs 23.2, after step(1), Emacs will fork a grep subprocess which
take all CPU resource and I have to kill it.

I trace the code, there is a function grep-compute-defaults, seems to check
the system info and set some initial values. It will call grep-probe to run
some small test(grep English in the file Hello in Emacs).

But my grep-command cause Emacs/grep-probe into a non responsive state.

I don't want to change grep-command, how can I skip grep-probe?

Thanks,
Davy

[-- Attachment #2: Type: text/html, Size: 753 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-10-01  2:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.