unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Giuseppe Scelsi <giuseppe.scelsi@analog.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Compilation mode very slow with large files
Date: Mon, 03 Mar 2008 13:26:27 +1100	[thread overview]
Message-ID: <200803030226.m232QR19001938@bunyip.spd.analog.com> (raw)
In-Reply-To: Message from Stefan Monnier <monnier@iro.umontreal.ca> of "Sun, 02 Mar 2008 21:22:18 CDT." <jwvmypgsg5w.fsf-monnier+emacs@gnu.org>

Stefan,

The reason I am doing this is to analyse build logs produced in the
past.  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)?

Giuseppe

----

> > In Emacs 22.1.1 for Windows, when I open a large text file (15 MB) in
> > fundamental mode and then switch to compilation mode, emacs hangs for
> > ever, while the status bar displays "Fontifying <filename>...".
>
> Yes.  This is expected.  Could explain why you're doing this?
>
>
>         Stefan
>
>
> PS: As for why this is; compilation-mode uses font-lock internally, so
> turning off global-font-lock-mode doesn't help because compilation-mode
> forces it back on anyway; furthermore compilation-mode needs font-lock
> to work "top-to-bottom" rather than "first treat the part that's
> displayed", so it disables jit-lock, thus causing the whole buffer to be
> fontified at start.




  reply	other threads:[~2008-03-03  2:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-02 23:53 Compilation mode very slow with large files Giuseppe Scelsi
2008-03-03  2:22 ` Stefan Monnier
2008-03-03  2:26   ` Giuseppe Scelsi [this message]
2008-03-03  2:50     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200803030226.m232QR19001938@bunyip.spd.analog.com \
    --to=giuseppe.scelsi@analog.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).