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: Tue, 23 Apr 2013 17:23:56 +0200
Message-ID: <m2k3ntl183.fsf@polytechnique.org>
References: <2013-04-23T15-56-22@devnull.Karl-Voit.at>
	<m2k3nt7244.fsf@polytechnique.org> <86li89p9w8.fsf@somewhere.org>
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]:36851)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <alan.schmitt@polytechnique.org>) id 1UUf4Z-0008Nc-2p
	for emacs-orgmode@gnu.org; Tue, 23 Apr 2013 11:24:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <alan.schmitt@polytechnique.org>) id 1UUf4X-0002T6-Kg
	for emacs-orgmode@gnu.org; Tue, 23 Apr 2013 11:23:59 -0400
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:10876)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <alan.schmitt@polytechnique.org>) id 1UUf4X-0002SL-FO
	for emacs-orgmode@gnu.org; Tue, 23 Apr 2013 11:23:57 -0400
In-reply-to: <86li89p9w8.fsf@somewhere.org>
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: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org

Sebastien Vauban writes:

> Hi Alan,
>
> Alan Schmitt wrote:
>> Karl Voit writes:
>>
>>> The repository[1] does contain the doc-directory. I compiled the whole
>>> Org-mode repos including the doc sub-tree. So no compile error while
>>> the docu is generated.
>>>
>>> "C-h i" was my first guess but it does not list Org-mode at all :-(
>>
>> This is what I have in my configuration files:
>>
>> #+BEGIN_SRC emacs-lisp
>> (add-to-list 'Info-directory-list "/Users/schmitta/.emacs.d/org/info")
>> #+END_SRC
>
> Don't play with `Info-directory-list', it's not intended to be settable by the
> user. Set the `Info-default-directory-list' variable instead.

I just tried it, and now I no longer have org in my info directory. Here
is the value of Info-default-directory-list

("/Users/schmitta/.emacs.d/org/info" "/usr/local/Cellar/emacs-mac/emacs-24.3-mac-4.1/share/info/emacs/" "/usr/share/info/")

and here is the value of Info-directory-list

("/Users/schmitta/.emacs.d/elpa/auctex-11.86" "/usr/share/info/")

As it's the latter that is used to find the info files, it means that it
won't find org. It seems that it is initialized before my initialization
file can add the directory to the default value. (I'm using the startup
kit, if it makes a difference.)

I just read the help on "Info-directory-list", and it does not say I
should not set it. Why is it bad? And how should I make emacs pick up
the value from default?

Thanks,

Alan