From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao-Yong Jin <jinxiaoyong@gmail.com> 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> <m2k3nt7244.fsf@polytechnique.org> <86li89p9w8.fsf@somewhere.org> <m2k3ntl183.fsf@polytechnique.org> <86obd5kpms.fsf@somewhere.org> <m24newfeqc.fsf@polytechnique.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: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([208.118.235.92]:45621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <jinxiaoyong@gmail.com>) 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 <jinxiaoyong@gmail.com>) 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 <jinxiaoyong@gmail.com>) 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 <emacs-orgmode@gnu.org>; Wed, 24 Apr 2013 06:43:13 -0700 (PDT) In-Reply-To: <m24newfeqc.fsf@polytechnique.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: Alan Schmitt <alan.schmitt@polytechnique.org> Cc: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>, 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 = <alan.schmitt@polytechnique.org> 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 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = "><br><div><div>On Apr 24, 2013, at 6:40 PM, Alan Schmitt <<a = href=3D"mailto:alan.schmitt@polytechnique.org">alan.schmitt@polytechnique.= org</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite">Hi = Sebastien,<br><br>Sebastien Vauban writes:<br><br><blockquote = type=3D"cite">See <a = href=3D"http://lists.gnu.org/archive/html/help-gnu-emacs/2004-10/msg00331.= html">http://lists.gnu.org/archive/html/help-gnu-emacs/2004-10/msg00331.ht= ml</a><br></blockquote><br>I finally managed to make it work using = INFOPATH, which is quite painful<br>to do under OS X. I really don't = understand why there isn't a way to do<br>this from inside emacs = configuration files (I tried the<br>Info-additional-directory-list but = it did not work).<br></blockquote><div><br></div>I guess you changed the = plist of Emacs.app? That's not really required. How do you = install your emacs?</div><div><br></div><div>On my machine, with = Emacs.app compiled from bzr source, start it = with</div><div><br></div><blockquote style=3D"margin: 0 0 0 40px; = border: none; padding: 0px;"><div><font face=3D"Consolas">$ sh -c = "unset INFOPATH && Emacs = -Q"</font></div></blockquote><div><br></div><div>In the scratch = buffer,</div><div><br></div><blockquote style=3D"margin: 0 0 0 40px; = border: none; padding: 0px;"><div><div><font face=3D"Consolas"><span = style=3D"background-color: transparent;">(getenv = "INFOPATH")</span></font></div></div><div><div><font = face=3D"Consolas"><span style=3D"background-color: = transparent;">nil</span></font></div></div><div><div><font = face=3D"Consolas"><span style=3D"background-color: = transparent;"><br></span></font></div></div><div><div><font = face=3D"Consolas"><span style=3D"background-color: = transparent;">(add-to-list 'Info-default-directory-list = "~/.emacs.d/org-mode/doc")</span></font></div></div><div><div><font = face=3D"Consolas"><span style=3D"background-color: = transparent;">("~/.emacs.d/org-mode/doc" = "/Applications/Emacs.app/Contents/Resources/info/" = "/usr/share/info/")</span></font></div></div><div><div><font = face=3D"Consolas"><span style=3D"background-color: = transparent;"><br></span></font></div></div><div><div><font = face=3D"Consolas"><span style=3D"background-color: = transparent;">(info)</span></font></div></div><div><div><font = face=3D"Consolas"><span style=3D"background-color: = transparent;">nil</span></font></div></div><div><div><font = face=3D"Consolas"><span style=3D"background-color: = transparent;"><br></span></font></div></div><div><div><font = face=3D"Consolas"><span style=3D"background-color: = transparent;">Info-directory-list</span></font></div></div><div><div><font= face=3D"Consolas"><span style=3D"background-color: = transparent;">("~/.emacs.d/org-mode/doc" = "/Applications/Emacs.app/Contents/Resources/info/" = "/usr/share/info/")</span></font></div></div></blockquote><div><div><br></= div><div>So the only thing I need to do is changing = `Info-default-directory-list' in my = ~/.emacs</div><div><br></div><div>You might want to check the above = procedure and see what you get.</div></div><div><br><blockquote = type=3D"cite">Thanks for pointing me in the right = direction,<br><br>Alan<br><br></blockquote></div><br></body></html>= --Apple-Mail=_5FD0B733-3667-4916-BDB6-F293D568D0FD--