From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: karl@freefriends.org (Karl Berry) Newsgroups: gmane.emacs.devel Subject: Re: Info-index fails on node-name "~/.cvsrc" Date: Fri, 21 May 2004 09:31:25 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200405211331.i4LDVPG26015@f7.net> References: <87iseqjj73.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1085150845 3412 80.91.224.253 (21 May 2004 14:47:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 May 2004 14:47:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri May 21 16:46:59 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BRBIZ-0002Kr-00 for ; Fri, 21 May 2004 16:46:59 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BRBIZ-0001WK-00 for ; Fri, 21 May 2004 16:46:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRBC6-00084l-QI for emacs-devel@quimby.gnus.org; Fri, 21 May 2004 10:40:18 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BRBAO-0007fu-0S for emacs-devel@gnu.org; Fri, 21 May 2004 10:38:32 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BRB6c-0006kc-Qw for emacs-devel@gnu.org; Fri, 21 May 2004 10:35:10 -0400 Original-Received: from [209.61.216.22] (helo=f7.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRA7Y-0001aQ-8U for emacs-devel@gnu.org; Fri, 21 May 2004 09:31:32 -0400 Original-Received: (from karl@localhost) by f7.net (8.11.7-20030920/8.11.7) id i4LDVPG26015; Fri, 21 May 2004 09:31:25 -0400 Original-To: juri@jurta.org In-Reply-To: <87iseqjj73.fsf@mail.jurta.org> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23816 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23816 The main problem is backward compatibility. Of course. Perhaps the most reliable way is to scan the whole Info file and its subfiles for index cookies. If there is at least one such cookie, then to assume that it is in the 4.7 format. Otherwise, to use the old heuristic by determining the index node by its name. That sounds good to me. I can't think of anything better, and in practice, I think it will be just fine. I guess this is a case where we need to have global information about the Info version being written, for 100% perfect accuracy.