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: igrep mode incovenient compilation of results Date: Mon, 05 Aug 2013 16:26:55 -0600 Message-ID: References: <39e8981d-dc7b-456a-980e-ecc26a3e1bbb@googlegroups.com> <92db25fe-e036-4f62-ad29-cf323160be1d@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1375741649 19072 80.91.229.3 (5 Aug 2013 22:27:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2013 22:27:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 06 00:27:30 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V6TFR-0000eE-QG for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Aug 2013 00:27:29 +0200 Original-Received: from localhost ([::1]:51145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6TFR-000238-9V for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Aug 2013 18:27:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6TFA-000216-03 for help-gnu-emacs@gnu.org; Mon, 05 Aug 2013 18:27:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6TF2-0007wZ-Mi for help-gnu-emacs@gnu.org; Mon, 05 Aug 2013 18:27:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:55949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6TF2-0007wO-Fp for help-gnu-emacs@gnu.org; Mon, 05 Aug 2013 18:27:04 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V6TEz-0000Rh-Jg for help-gnu-emacs@gnu.org; Tue, 06 Aug 2013 00:27:01 +0200 Original-Received: from 71-215-81-77.hlrn.qwest.net ([71.215.81.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Aug 2013 00:27:01 +0200 Original-Received: from kevin.d.rodgers by 71-215-81-77.hlrn.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Aug 2013 00:27:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 71-215-81-77.hlrn.qwest.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 In-Reply-To: <92db25fe-e036-4f62-ad29-cf323160be1d@googlegroups.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92743 Archived-At: On 8/2/13 10:58 AM, Rami A wrote: > Thank you for taking a look Kevin. > No grep doesnt show the same kind of behavior. > I actually found a solution by simply changing 'igrep-mode to 'grep-mode in this code: >> (compilation-start command >> 'igrep-mode >> nil > > And that did the trick. Interesting, thanks! I wonder why the preceding form is not enough, to allow igrep-mode to be passed as the second arg to compilation-start? (or (fboundp 'igrep-mode) (define-derived-mode igrep-mode grep-mode "Igrep")) -- Kevin Rodgers Denver, Colorado, USA