From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: grep gets confused if interrupted Date: Mon, 25 Feb 2008 14:05:05 -0800 Message-ID: <200802252205.m1PM550g010037@sallyv1.ics.uci.edu> References: <200802251711.m1PHBaFh020569@sallyv1.ics.uci.edu> <87lk58wwgm.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203977280 4199 80.91.229.12 (25 Feb 2008 22:08:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Feb 2008 22:08:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 25 23:08:25 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JTlUf-0002Sm-5U for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2008 23:08:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTlU9-0003Cn-CE for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2008 17:07:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JTlU3-0003AY-Q0 for emacs-devel@gnu.org; Mon, 25 Feb 2008 17:07:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JTlU2-000382-59 for emacs-devel@gnu.org; Mon, 25 Feb 2008 17:07:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTlU1-00037r-S0 for emacs-devel@gnu.org; Mon, 25 Feb 2008 17:07:37 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JTlU1-0000uF-Kx for emacs-devel@gnu.org; Mon, 25 Feb 2008 17:07:37 -0500 X-ICS-MailScanner-Watermark: 1204581907.7382@6EHRcMcmbd7g5XlK3ZbWOw Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m1PM550g010037; Mon, 25 Feb 2008 14:05:05 -0800 (PST) In-Reply-To: <87lk58wwgm.fsf@jurta.org> (Juri Linkov's message of "Mon, 25 Feb 2008 23:45:34 +0200") Original-Lines: 33 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90439 Archived-At: Juri Linkov writes: > > M-x lgrep RET setq RET el /PATH_TO_EMACS/lisp RET > > > > (this should take enough time to allow you to switch to the *grep* > > buffer and do C-c C-k) > > > > Then grep prints at the end of the buffer: > > > > Grep finished with no matches found > > > > (there are plenty of matches in the buffer at that point) > > > > Can someone please fix this? > > It tried this and it prints for me: > > Grep interrupt at Mon Feb 25 23:45:11 OK, it has to do with the SHELL: Grep prints this in the beginning: grep -i -nH -e setq *.el tcsh: No entry for terminal type "emacs-grep" tcsh: using dumb terminal settings. If I do: M-: (setq shell-file-name "/bin/sh") RET then interrupting works as expected. This is on a Fedora 8 x86 system.