From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Why doesn't Info `T' cache node tree for current file? Date: Wed, 11 Jun 2008 12:27:57 +0300 Organization: JURTA Message-ID: <878wxctirr.fsf@jurta.org> References: <004001c8cb1b$69006c10$0200a8c0@us.oracle.com> <004201c8cb25$1b2be870$0200a8c0@us.oracle.com> <009501c8cb3c$9246d110$0200a8c0@us.oracle.com> <877icwn8l0.fsf@jurta.org> <00ad01c8cb71$bb7d1960$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213178374 22769 80.91.229.12 (11 Jun 2008 09:59:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2008 09:59:34 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 11 12:00:16 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K6N7n-00038t-Tc for ged-emacs-devel@m.gmane.org; Wed, 11 Jun 2008 12:00:16 +0200 Original-Received: from localhost ([127.0.0.1]:32953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6N70-0004P0-IH for ged-emacs-devel@m.gmane.org; Wed, 11 Jun 2008 05:59:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6N5h-0003kU-KW for emacs-devel@gnu.org; Wed, 11 Jun 2008 05:58:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6N5h-0003kI-9t for emacs-devel@gnu.org; Wed, 11 Jun 2008 05:58:05 -0400 Original-Received: from [199.232.76.173] (port=60394 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6N5h-0003kF-0z for emacs-devel@gnu.org; Wed, 11 Jun 2008 05:58:05 -0400 Original-Received: from relay03.kiev.sovam.com ([62.64.120.201]:58366) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K6N5b-0006ld-Ng; Wed, 11 Jun 2008 05:58:00 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay03.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1K6N5Y-0004kN-W7; Wed, 11 Jun 2008 12:57:57 +0300 In-Reply-To: <00ad01c8cb71$bb7d1960$0200a8c0@us.oracle.com> (Drew Adams's message of "Tue, 10 Jun 2008 20:17:51 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: d0b3bc0b24c4067239780ad28ae5b444 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 3090 [June 11 2008] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) 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:98936 Archived-At: >> It is not very quick, since the code has to reread all Info subfiles >> (its slowest part). > > That was my thinking - it really does seem to do quite a lot of work. > > On the other hand, at least with the manuals I use (Emacs and Elisp), it seems > pretty snappy to me. Do you really see a performance problem, or is this just > hypothetical? If you have a fast machine, this doesn't mean everyone has the same. Try on at least 300MHz proc to see how quick it is. >> I see one problem: how to refresh the cached TOC buffer when >> the Info file changes > > Do you mean when you go to a different manual (different file), or do you mean > when someone changes the file on disk? > > I think we can ignore the latter (no?). The same Info file doesn't change too often, but there are situations when for instance, the user writes a new Info manual, and in the process of writing uses the TOC as an overview of the manual (i.e. iterations like add a new node, revisit the TOC, reorganize its structure, and so on). -- Juri Linkov http://www.jurta.org/emacs/