From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Compilation mode very slow with large files Date: Sun, 02 Mar 2008 21:50:39 -0500 Message-ID: References: <200803030226.m232QR19001938@bunyip.spd.analog.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204512656 13365 80.91.229.12 (3 Mar 2008 02:50:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Mar 2008 02:50:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Giuseppe Scelsi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 03 03:51:22 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 1JW0lu-0004fv-HO for ged-emacs-devel@m.gmane.org; Mon, 03 Mar 2008 03:51:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JW0lN-0006hR-Q8 for ged-emacs-devel@m.gmane.org; Sun, 02 Mar 2008 21:50:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JW0lJ-0006gn-Ic for emacs-devel@gnu.org; Sun, 02 Mar 2008 21:50:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JW0lF-0006gN-2V for emacs-devel@gnu.org; Sun, 02 Mar 2008 21:50:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JW0lF-0006gK-0q for emacs-devel@gnu.org; Sun, 02 Mar 2008 21:50:41 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JW0lE-0006Z4-Gh for emacs-devel@gnu.org; Sun, 02 Mar 2008 21:50:40 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CACb2ykfO+LKX/2dsb2JhbACCDJAvmReBAA X-IronPort-AV: E=Sophos;i="4.25,435,1199682000"; d="scan'208";a="15470787" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 02 Mar 2008 21:50:39 -0500 Original-Received: from pastel.home ([206.248.178.151]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id JFB42139; Sun, 02 Mar 2008 21:50:39 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 374DE8279; Sun, 2 Mar 2008 21:50:39 -0500 (EST) In-Reply-To: <200803030226.m232QR19001938@bunyip.spd.analog.com> (Giuseppe Scelsi's message of "Mon, 03 Mar 2008 13:26:27 +1100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:91144 Archived-At: > The reason I am doing this is to analyse build logs produced in > the past. That makes sense. > It is very useful to be able to click on an error and jump > straight to the source code. Is there any way I could do this other > than through the compilation mode (and writing my own lisp code)? You should be able to force compilation-mode to use jit-lock (which should fix your problems), tho I'm not sure how. Maybe (require 'compile) (add-hook 'compilation-turn-on-font-lock (lambda () (kill-local-variable 'font-lock-support-mode))) 100% guaranteed untested, Stefan PS: jit-lock will introduce various problems, such as the fact that C-x ` may incorrectly tell you there's no more errors. Or the fact that directory change messages may not be obeyed.