unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Giuseppe Scelsi <giuseppe.scelsi@analog.com>
To: emacs-devel@gnu.org
Subject: Compilation mode very slow with large files
Date: Mon, 03 Mar 2008 10:53:05 +1100	[thread overview]
Message-ID: <200803022353.m22Nr5Xc001411@bunyip.spd.analog.com> (raw)

Hi,

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>...".  I tried
to set '`global-font-lock-mode' to nil, with no success.

Hitting C-g manages to stop the process, but the buffer is left with no
fontification or hot links, in spite of reading '(Compilation)' in the
status bar.

I tried using 'debug-on-entry' and stepping through the code, but this
causes no apparent change in the buffer in spite of the process
terminating successfully with no error messages.

Is this a bug or an expected behaviour?  Does anyone have a suggestion
on how to work around this?  Or any hint about to further debug the
problem?  I am really interested in getting the active click-on links to
the relevant lines of source code, I wouldn't mind if fontification were
switched off.

Thanks in advance.

Giuseppe




             reply	other threads:[~2008-03-02 23:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-02 23:53 Giuseppe Scelsi [this message]
2008-03-03  2:22 ` Compilation mode very slow with large files Stefan Monnier
2008-03-03  2:26   ` Giuseppe Scelsi
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=200803022353.m22Nr5Xc001411@bunyip.spd.analog.com \
    --to=giuseppe.scelsi@analog.com \
    --cc=emacs-devel@gnu.org \
    /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).