[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Slow Info startup
From: |
Katsumi Yamaoka |
Subject: |
Re: Slow Info startup |
Date: |
Wed, 30 Nov 2005 12:19:44 +0900 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
>>>>> In <address@hidden> Chong Yidong wrote:
> Katsumi Yamaoka <address@hidden> writes:
>> I have several Info directories specified to Info-directory-list
>> and there are a lot of entries in those dir files. Recently, I
>> found it takes a long time to start up Info. It is caused by
>> the change of Info-fontify-node made at 2005-11-25. Is there a
>> way to make it fast besides reducing Info-directory-list?
> The change was to correctly fontify Info buffers opened with
> Info-on-current-buffer. If we are willing to sacrifice a little
> correctness, there is one change that can speed things up. See the
> attached patch.
Thanks. I tried it and confirmed it makes the Info start fast
as before.
> The side-effect of this is that Info will fontify
> incorrectly in one corner case. This happens when you call
> Info-on-current-buffer on a file named (e.g.) "elisp" outside of
> Info-directory list, or a non-file buffer named "elisp". When you
> browse around, your Info history will be recorded as though you are
> visiting the real "elisp" info file, at /usr/share/info/elisp or
> wherever. If you later visit the "real" info file, those links will
> be fontified as "previously visited" links. Maybe that's an
> acceptable situation, however.
It seems ok if those "elisp"s are the same, if anything, that's
acceptable on me.