From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Eichwalder Newsgroups: gmane.emacs.devel Subject: Info-directory-list initialization Date: Thu, 23 Jul 2009 12:19:04 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248344372 29248 80.91.229.12 (23 Jul 2009 10:19:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jul 2009 10:19:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 23 12:19:25 2009 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 1MTvOX-0005U5-D6 for ged-emacs-devel@m.gmane.org; Thu, 23 Jul 2009 12:19:25 +0200 Original-Received: from localhost ([127.0.0.1]:60294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTvOW-0001cl-Ln for ged-emacs-devel@m.gmane.org; Thu, 23 Jul 2009 06:19:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTvOO-0001aS-L5 for emacs-devel@gnu.org; Thu, 23 Jul 2009 06:19:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTvOI-0001Xk-2P for emacs-devel@gnu.org; Thu, 23 Jul 2009 06:19:14 -0400 Original-Received: from [199.232.76.173] (port=48188 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTvOH-0001Xa-On for emacs-devel@gnu.org; Thu, 23 Jul 2009 06:19:09 -0400 Original-Received: from cantor.suse.de ([195.135.220.2]:46676 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MTvOG-00087X-Pt for emacs-devel@gnu.org; Thu, 23 Jul 2009 06:19:09 -0400 Original-Received: from relay2.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 23BFC457F0 for ; Thu, 23 Jul 2009 12:19:05 +0200 (CEST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:113048 Archived-At: I'm wondering whether Info-directory-list initialization actually works as said in the Info-directory-list docstring: ... or the concatenation of the two if INFOPATH ends with a colon. When `Info-directory-list' is initialized from the value of `Info-default-directory-list', and Emacs is not installed in one of the standard directories, the first element of the resulting list is the directory where Emacs installs the Info files that come with it. This is so that Emacs's own manual, which suits the version of Emacs you are using, will always be found first. I installed emacs 23.1.50 from CVS with --prefix=/gnu. When I start emacs with INFOPATH=: /gnu/bin/emacs -q --no-site-file I see: Info-directory-list is a variable defined in `info.el'. Its value is ("" "/gnu/share/info/" "/usr/share/info/") But when I call C-h i, emacs offers Info files from /usr/share/info for reading instead of /gnu/share/info, which comes earlier. I can read the files from /gnu/share/info, when I call INFOPATH=/gnu/share/info /gnu/bin/emacs -q --no-site-file -- Karl Eichwalder R&D / Documentation SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)