all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Alan Mackenzie <acm@muc.de>
Cc: Richard Stallman <rms@gnu.org>, emacs-devel@gnu.org
Subject: Re: 15 seconds to fontify index
Date: Sun, 01 Apr 2007 20:58:30 -0400	[thread overview]
Message-ID: <jwvbqi7vbku.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20070401232333.GD1063@muc.de> (Alan Mackenzie's message of "2 Apr 2007 00\:04\:45 +0200\, Mon\, 2 Apr 2007 00\:23\:33 +0100")

>> For the Emacs Lisp Manual, info.el takes 15 seconds to fontify
>> the index.  That's a serious problem, and we need to do something
>> about it.

> It's not the fontification.  When I turn font-lock-mode off, it still
> takes me 11 seconds (1.2 GHz Athlon) to display the page.

info.el does not use font-lock, so it just *always* parses the page and adds
the fontification info, except it puts it on font-lock-face, so that the
highlighting is only visible if font-lock-mode is turned on.  But the work
is done regardless.

Using font-lock (with jit-lock) would make things faster (because lazier) on
large nodes.


        Stefan

  parent reply	other threads:[~2007-04-02  0:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-01 21:42 15 seconds to fontify index Richard Stallman
2007-04-01 21:57 ` Nick Roberts
2007-04-02  4:30   ` Chong Yidong
2007-04-02 12:23     ` Eli Zaretskii
2007-04-02 12:33       ` David Kastrup
2007-04-02 13:00         ` Eli Zaretskii
2007-04-03 10:41           ` Yavor Doganov
2007-04-01 22:04 ` Alan Mackenzie
2007-04-01 22:41   ` Andreas Schwab
2007-04-02  0:58   ` Stefan Monnier [this message]
2007-04-02 12:17 ` Eli Zaretskii
2007-04-02 18:05   ` Reiner Steib
2007-04-02 23:02     ` Miles Bader
2007-04-03 16:33       ` James Cloos
2007-04-03 23:40         ` Miles Bader
2007-04-04 14:02         ` Richard Stallman
2007-04-03  7:46   ` Richard Stallman
2007-04-03  0:04 ` Kevin Ryde

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

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

  git send-email \
    --in-reply-to=jwvbqi7vbku.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.