From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: emacs 22.3.1 igrep issue Date: Wed, 24 Mar 2010 18:53:47 -0600 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269478828 26554 80.91.229.12 (25 Mar 2010 01:00:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 25 Mar 2010 01:00:28 +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 Mar 25 02:00:22 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 1NubQn-0004AF-Rm for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Mar 2010 02:00:18 +0100 Original-Received: from localhost ([127.0.0.1]:38937 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NubQn-0001sM-GD for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Mar 2010 21:00:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NubKy-0008HQ-JU for help-gnu-emacs@gnu.org; Wed, 24 Mar 2010 20:54:16 -0400 Original-Received: from [140.186.70.92] (port=49924 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NubKw-0008GR-TH for help-gnu-emacs@gnu.org; Wed, 24 Mar 2010 20:54:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NubKp-0001i4-Vk for help-gnu-emacs@gnu.org; Wed, 24 Mar 2010 20:54:13 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:44381) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NubKp-0001hv-G4 for help-gnu-emacs@gnu.org; Wed, 24 Mar 2010 20:54:07 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NubKn-0002NY-Py for help-gnu-emacs@gnu.org; Thu, 25 Mar 2010 01:54:05 +0100 Original-Received: from c-71-237-24-138.hsd1.co.comcast.net ([71.237.24.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Mar 2010 01:54:05 +0100 Original-Received: from kevin.d.rodgers by c-71-237-24-138.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Mar 2010 01:54:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 48 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-24-138.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:72481 Archived-At: Kenneth Goldman wrote: > Lennart Borgman wrote on 03/23/2010 05:49:54 PM: ... > > > 1 - The first few lines of output look like this, which means I can't > > > immediately start > > > stepping through. I have to click on the igrep frame first. > > > > I can't understand what you mean. What did you expect? > > Those 3 lines (the ones with the mode, the date, and the blank) > confuse next-error. > > > > > > -*- mode: igrep; default-directory: "f:/emacs/" -*- > > > Igrep started at Tue Mar 23 15:33:32 > > > > > > grep -n -i -e copy f:/emacs/*.el NUL > > > ... and then the matches ... Ah, I see the same thing in 22.3. For some reason, Emacs identifies the "Igrep started at ..." line as a grep hit: There are text properties here: face (compilation-info underline) help-echo "mouse-2: visit this file and line" keymap compilation-button-map message [Show] mouse-face highlight Here's where igrep hands over control to Emacs: (if (fboundp 'compilation-start) ; Emacs 22 (let ((compilation-process-setup-function 'grep-process-setup)) (or (fboundp 'igrep-mode) (define-derived-mode igrep-mode grep-mode "Igrep")) (compilation-start command 'igrep-mode nil (cond ((eq compilation-highlight-regexp t)) (compilation-highlight-regexp (if (eq program "fgrep") (regexp-quote regex) regex))))) (compile-internal command (format "No more %s matches" program) "Igrep" nil grep-regexp-alist)) -- Kevin Rodgers Denver, Colorado, USA