From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Nesbit Newsgroups: gmane.emacs.devel Subject: INFOPATH in OS X application bundle Date: Thu, 2 Jun 2005 16:58:56 +0100 Message-ID: <1032c5c7d7e7257acfca5f9db2076896@siru.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1117728591 29631 80.91.229.2 (2 Jun 2005 16:09:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2005 16:09:51 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 02 18:09:43 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DdsEL-0005eN-QE for ged-emacs-devel@m.gmane.org; Thu, 02 Jun 2005 18:07:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DdsJs-0007na-75 for ged-emacs-devel@m.gmane.org; Thu, 02 Jun 2005 12:13:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DdsGT-00057q-PJ for emacs-devel@gnu.org; Thu, 02 Jun 2005 12:09:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DdsGN-00054q-BO for emacs-devel@gnu.org; Thu, 02 Jun 2005 12:09:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DdsGM-0004re-Rm for emacs-devel@gnu.org; Thu, 02 Jun 2005 12:09:43 -0400 Original-Received: from [66.111.4.27] (helo=out3.smtp.messagingengine.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dds8K-0003h4-3e for emacs-devel@gnu.org; Thu, 02 Jun 2005 12:01:24 -0400 Original-Received: from frontend3.messagingengine.com (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id D8740C9711D for ; Thu, 2 Jun 2005 11:59:00 -0400 (EDT) X-Sasl-enc: g3mw/IVVCOEM5wk9e05saZul2A2+pcqWlCx1GaO+ONgPdDnx/DbYlw 1117727939 Original-Received: from [138.37.33.110] (unknown [138.37.33.110]) by frontend3.messagingengine.com (Postfix) with ESMTP id 9A79F84 for ; Thu, 2 Jun 2005 11:58:59 -0400 (EDT) Original-To: emacs-devel@gnu.org X-Mailer: Apple Mail (2.622) 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:38048 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38048 There's a bit of code in src/mac.c which sets the environment variable INFOPATH if it's not already set, when Emacs is installed as a self-contained application bundle. Normally, Info-directory-list should be initialised based on Info-default-directory-list. But because INFOPATH gets set behind the user's back, this does not happen, and so Info-directory-list is set based on INFOPATH. This is unexpected and confusing behaviour (at least it was for me). Would it be better to add the bundle's Info directory to Info-default-directory-list, instead of playing around with INFOPATH? Isn't this the sort of thing that Info-default-directory-list is designed for? Andrew