From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao-Yong Jin Subject: Re: Org-mode documentation within Emacs Date: Wed, 24 Apr 2013 22:43:10 +0900 Message-ID: <9922EDEE-69B3-4520-BEED-D5E88EDB5E89@gmail.com> References: <2013-04-23T15-56-22@devnull.Karl-Voit.at> <86li89p9w8.fsf@somewhere.org> <86obd5kpms.fsf@somewhere.org> Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_5FD0B733-3667-4916-BDB6-F293D568D0FD" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUzye-00030v-9P for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 09:43:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUzyd-0007MX-JW for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 09:43:16 -0400 Received: from mail-pd0-f170.google.com ([209.85.192.170]:35876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUzyd-0007MC-9b for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 09:43:15 -0400 Received: by mail-pd0-f170.google.com with SMTP id 10so1138800pdi.29 for ; Wed, 24 Apr 2013 06:43:13 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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: Alan Schmitt Cc: Sebastien Vauban , emacs-orgmode@gnu.org --Apple-Mail=_5FD0B733-3667-4916-BDB6-F293D568D0FD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Apr 24, 2013, at 6:40 PM, Alan Schmitt = wrote: > Hi Sebastien, >=20 > Sebastien Vauban writes: >=20 >> See = http://lists.gnu.org/archive/html/help-gnu-emacs/2004-10/msg00331.html >=20 > I finally managed to make it work using INFOPATH, which is quite = painful > to do under OS X. I really don't understand why there isn't a way to = do > this from inside emacs configuration files (I tried the > Info-additional-directory-list but it did not work). I guess you changed the plist of Emacs.app? That's not really required. = How do you install your emacs? 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. > Thanks for pointing me in the right direction, >=20 > Alan >=20 --Apple-Mail=_5FD0B733-3667-4916-BDB6-F293D568D0FD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii alan.schmitt@polytechnique.= org> wrote:
Hi = Sebastien,

Sebastien Vauban writes:

See http://lists.gnu.org/archive/html/help-gnu-emacs/2004-10/msg00331.ht= ml

I finally managed to make it work using = INFOPATH, which is quite painful
to do under OS X. I really don't = understand why there isn't a way to do
this from inside emacs = configuration files (I tried the
Info-additional-directory-list but = it did not work).

I guess you changed the = plist of Emacs.app?  That's not really required.  How do you = install your emacs?

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.

Thanks for pointing me in the right = direction,

Alan


= --Apple-Mail=_5FD0B733-3667-4916-BDB6-F293D568D0FD--