unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Compilation mode very slow with large files
@ 2008-03-02 23:53 Giuseppe Scelsi
  2008-03-03  2:22 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Giuseppe Scelsi @ 2008-03-02 23:53 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-03  2:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-03-03  2:50     ` Stefan Monnier

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).