emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation mode very slow with large files


From: Giuseppe Scelsi
Subject: Re: Compilation mode very slow with large files
Date: Mon, 03 Mar 2008 13:26:27 +1100

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 via email to

[Prev in Thread] Current Thread [Next in Thread]