emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Glyn Millington <glyn.millington@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Org-mode documentation within Emacs
Date: Tue, 23 Apr 2013 16:58:14 +0100	[thread overview]
Message-ID: <87a9opxmqx.fsf@nowhere.org> (raw)
In-Reply-To: m2k3ntl183.fsf@polytechnique.org

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> 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

Hi Alan,

This is how I do it.



1. Compile the .texi source
     i.e. makeinfo org.texi

(You should find org.texi in the doc directory)

That will result in a file simply called "org"

2. Put it into the right directory - can be  /home/glyn/info
3. Use install-info to edit file
  
   ie - in ~/info 

   install-info org dir

   where dir is the local info header file :-)   

I also have this in my init.el

(setq Info-default-directory-list (cons "/home/glyn/info/" Info-default-directory-list))

Then it should appear in Emacs' info-reader


atb



Glyn

  reply	other threads:[~2013-04-23 16:10 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-23 14:04 Org-mode documentation within Emacs Karl Voit
2013-04-23 14:28 ` Alan Schmitt
2013-04-23 15:03   ` Sebastien Vauban
2013-04-23 15:14     ` Karl Voit
2013-04-24 12:21       ` Nicolas Richard
2013-04-23 15:23     ` Alan Schmitt
2013-04-23 15:58       ` Glyn Millington [this message]
2013-04-23 17:32         ` Alan Schmitt
2013-04-25  5:35           ` Eric Abrahamsen
2013-04-23 19:34       ` Sebastien Vauban
2013-04-24  9:40         ` Alan Schmitt
2013-04-24 13:43           ` Xiao-Yong Jin
2013-04-24 14:34             ` Alan Schmitt
2013-04-24  7:51       ` Eric S Fraga
2013-04-24 10:19         ` Suvayu Ali
2013-04-23 15:24   ` François Pinard
2013-04-23 16:37 ` Suvayu Ali
2013-04-23 22:19   ` Jude DaShiell
2013-04-23 17:23 ` Achim Gratz
2013-04-24  6:43   ` Rainer Stengele
2013-04-24 17:59     ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a9opxmqx.fsf@nowhere.org \
    --to=glyn.millington@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).