From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: broken grep Date: Sun, 21 Sep 2003 20:42:03 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1064194972 4914 80.91.224.253 (22 Sep 2003 01:42:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2003 01:42:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 22 03:42:50 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A1Fj0-0000dp-00 for ; Mon, 22 Sep 2003 03:42:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A1Fic-0006CB-KY for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Sep 2003 21:42:26 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A1FiJ-00069t-HM for help-gnu-emacs@gnu.org; Sun, 21 Sep 2003 21:42:07 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A1FiH-00068X-Tt for help-gnu-emacs@gnu.org; Sun, 21 Sep 2003 21:42:06 -0400 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A1FiH-00067i-D0 for help-gnu-emacs@gnu.org; Sun, 21 Sep 2003 21:42:05 -0400 Original-Received: from linux183.ma.utexas.edu (linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id h8M1g3913305; Sun, 21 Sep 2003 20:42:03 -0500 Original-Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1A1FiF-0003fh-00; Sun, 21 Sep 2003 20:42:03 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: (help-gnu-emacs-request@gnu.org) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12708 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12708 Hi, when I run grep like this: (defun grope (string) (interactive "MRegex: ") (grep (concat "grep -n -i -e \"" string "\" " (concat apm:dir "a*.tex ") (concat apm:dir "b*.tex ") (concat apm:dir "t*.tex ") (concat apm:dir "m*.tex "))) (switch-to-buffer "*grep*")) I get cd ~/apm/ grep -n -i -e "int" /Users/joe/apm/a*.tex /Users/joe/apm/b*.tex /Users/joe/apm/t*.tex /Users/joe/apm/m*.tex /dev/null grep exited abnormally with code 2 at Sun Sep 21 20:39:50 Similarly if I just run grep through M-x grep But if I copy and paste the grep string above to an rxvt, it runs no problem. Also it ran no problem in Emacs until today. Any idea what is causing the trouble? Too many files in the directory maybe?? Causing some kind of depth variable in Emacs to overload? Joe