From mboxrd@z Thu Jan  1 00:00:00 1970
From: Alan Schmitt <alan.schmitt@polytechnique.org>
Subject: Re: Org-mode documentation within Emacs
Date: Wed, 24 Apr 2013 16:34:35 +0200
Message-ID: <m28v48dmkk.fsf@polytechnique.org>
References: <2013-04-23T15-56-22@devnull.Karl-Voit.at>
	<m2k3nt7244.fsf@polytechnique.org> <86li89p9w8.fsf@somewhere.org>
	<m2k3ntl183.fsf@polytechnique.org> <86obd5kpms.fsf@somewhere.org>
	<m24newfeqc.fsf@polytechnique.org>
	<9922EDEE-69B3-4520-BEED-D5E88EDB5E89@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([208.118.235.92]:37103)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <alan.schmitt@polytechnique.org>) id 1UV0mg-0005oy-RU
	for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 10:35:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <alan.schmitt@polytechnique.org>) id 1UV0mc-0005xb-4s
	for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 10:34:58 -0400
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:47443)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <alan.schmitt@polytechnique.org>) id 1UV0mb-0005x1-Ug
	for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 10:34:54 -0400
In-reply-to: <9922EDEE-69B3-4520-BEED-D5E88EDB5E89@gmail.com>
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: Xiao-Yong Jin <jinxiaoyong@gmail.com>
Cc: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>, emacs-orgmode@gnu.org

Xiao-Yong Jin writes:

> I guess you changed the plist of Emacs.app? 

No, I set /etc/launchd.conf (and I also set the INFOPATH in my .zshrc).

> That's not really required.  How do you install your emacs?

Homebrew, using this version:
https://github.com/railwaycat/emacs-mac-port

> On my machine, with Emacs.app compiled from bzr source, start it with
>
> $ sh -c "unset INFOPATH && Emacs -Q"
>
> In the scratch buffer,
>
> (getenv "INFOPATH")
> nil
>
> (add-to-list 'Info-default-directory-list "~/.emacs.d/org-mode/doc")
> ("~/.emacs.d/org-mode/doc" "/Applications/Emacs.app/Contents/Resources/info/" "/usr/share/info/")
>
> (info)
> nil
>
> Info-directory-list
> ("~/.emacs.d/org-mode/doc" "/Applications/Emacs.app/Contents/Resources/info/" "/usr/share/info/")
>
> So the only thing I need to do is changing `Info-default-directory-list' in my ~/.emacs
>
> You might want to check the above procedure and see what you get.

As "/usr/share/info" is in the default path, which contains the files
for the old emacs that ships with OS X, I cannot use
`Info-default-directory-list': the newer info files for org mode would
be shadowed. So I need to set INFOPATH to something (or unset it) in any
case.

Alan