From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dhruva Newsgroups: gmane.emacs.devel Subject: Re: info DIR file: Duplicate topic entries problem Date: Sat, 23 Jun 2007 21:33:00 +0530 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182614891 16851 80.91.229.12 (23 Jun 2007 16:08:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2007 16:08:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Eli Zaretskii" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 23 18:08:09 2007 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 1I289f-0006hg-Mk for ged-emacs-devel@m.gmane.org; Sat, 23 Jun 2007 18:08:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I289f-0005uU-0h for ged-emacs-devel@m.gmane.org; Sat, 23 Jun 2007 12:08:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I284q-0002vo-1v for emacs-devel@gnu.org; Sat, 23 Jun 2007 12:03:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I284l-0002u3-HB for emacs-devel@gnu.org; Sat, 23 Jun 2007 12:03:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I284l-0002tx-Ac for emacs-devel@gnu.org; Sat, 23 Jun 2007 12:03:03 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.171]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I284k-0004Ot-DN for emacs-devel@gnu.org; Sat, 23 Jun 2007 12:03:02 -0400 Original-Received: by ug-out-1314.google.com with SMTP id 34so1134585ugf for ; Sat, 23 Jun 2007 09:03:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jtnnKnEBuZYLLYgdBw0rc8NvOSSEwoidetUIKam4vAKLq00euBcRsJqgyfLraIAg8J0iwt4mi0LUd331sHTa1Ay3iig74xWAp/NrKLfGrE97XEW5H09qFlvE5sWada8wYwAFL+XAQ3WeoLnKm1h2XF5V2GJ0Au9Z0Y+gQC3Y7HQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=I7+gb09x9Ijdyf8OZgYMnMtVlnv4qwhj76p3CQDG3qnO6DRZ7i2OiKA/XIpMZVofZ+0m93LSLhdTFdxe2/ZcBoP6K2j8g8K/aI1/rzrltscwA3gLz8MCXiA5jNgcesct9S2I/ZdyAlDeBnnHkEfNnoDqzOCL3iuAsEZDfreCDLY= Original-Received: by 10.78.145.5 with SMTP id s5mr1991144hud.1182614580905; Sat, 23 Jun 2007 09:03:00 -0700 (PDT) Original-Received: by 10.78.206.13 with HTTP; Sat, 23 Jun 2007 09:03:00 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:73710 Archived-At: Hi, Thank you for the detailed explanation. On 6/23/07, Eli Zaretskii wrote: > that case. You are welcome to suggest changes that avoid duplicate > entries in the DIR node, but please make sure the modified code does > not break the use case where the binaries are installed in an > arbitrary directory with no sources or build directory anywhere in > sight. The default installation on windows puts info under the emacs folder tree: Can we use: (if (file-directory-p) (concat invocation-directory "../info") ()) I am not sure regarding the installation on non windows. Another approach is to have a file containing the paths to folders to be added to Info and lisp search paths. An install script (not the install target of makefile) used to install pre-built binaries could read that file and generate a lisp file which can be loaded by emacs on startup, this can have location specific folder locations. > We already do that, see info-initialize. That's why > Info-directory-list doesn't include the non-existing directories. On my system, "Info-directory-list" evaluates to "nil". Could this indicate a problem? with best regards, dhruva -- Dhruva Krishnamurthy Contents reflect my personal views only!