From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel Subject: Re: Slow Info startup Date: Wed, 30 Nov 2005 12:19:44 +0900 Organization: Emacsen advocacy group Message-ID: References: <878xv6zwqa.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133321035 17091 80.91.229.2 (30 Nov 2005 03:23:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2005 03:23:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 30 04:23:47 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EhIVo-0008CH-0y for ged-emacs-devel@m.gmane.org; Wed, 30 Nov 2005 04:20:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EhIVn-0002qn-G3 for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2005 22:20:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EhIVc-0002qd-FR for emacs-devel@gnu.org; Tue, 29 Nov 2005 22:19:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EhIVa-0002po-Pc for emacs-devel@gnu.org; Tue, 29 Nov 2005 22:19:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EhIVa-0002pl-N1 for emacs-devel@gnu.org; Tue, 29 Nov 2005 22:19:50 -0500 Original-Received: from [66.225.201.13] (helo=washington.hostforweb.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EhIVa-0004cH-Kc for emacs-devel@gnu.org; Tue, 29 Nov 2005 22:19:50 -0500 Original-Received: from localhost ([127.0.0.1]:50203) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1EhIVl-0008AW-SX; Tue, 29 Nov 2005 21:20:02 -0600 Original-To: Chong Yidong X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:VTCDtrZutGssbiGNTbRmNOL2IoQ= X-Hashcash: 1:20:051130:cyd@stupidchicken.com::XD7+Xeff87wZKAGm:00000000000000000000000000000000000000001MmO X-Hashcash: 1:20:051130:emacs-devel@gnu.org::izY6Aq5vqiCaGkqm:0000000000000000000000000000000000000000000A9a X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:46794 Archived-At: >>>>> In <878xv6zwqa.fsf@stupidchicken.com> Chong Yidong wrote: > Katsumi Yamaoka 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.