10

I want to create a clickable-link in my Org file directly to documentation built into Emacs. Is this possible to do? The documentation I want to link to are:

  • Emacs Lisp Intro
  • The GNU Emacs Lisp Reference Manual

1 Answer 1

14

When in a certain buffer one can use M-x org-store-link to find the correct syntax for linking to that file.

For linking to internal documentation you can use the following links:

info:elisp#Introduction
info:elisp

The first will take you to the Elisp Intro, the second to the Reference Manual. Whenever you may wish to link to an info document, use the following syntax:

info:file#node

The file and node names are always listed on the top of any info file. In case the node name has spaces, then you'll have to use bracketed links, i.e.:

For entry "File: emacs.info,  Node: User Input" use

[[info:emacs#User Input]]

To explore the documentation, use the command info-manual, which is bound to C-h r.

5
  • 1
    Hi @dangom, that works well thank you. I did not say explicitly in my question but I would also like to know how to find out what that link is to a particular document or particular node of that document. Could you help out with that? I might ask this as another question altogether. Apr 7, 2018 at 11:34
  • Of course. See updated answer.
    – Daniel
    Apr 7, 2018 at 12:27
  • node names are case sensitive for info command but not in emacs (info.el)
    – user15057
    Jan 10, 2019 at 7:21
  • This didn't work for me, I had to use a # as separator for the last part instead, e.g. [[info:elisp#Frame Layout]]. This was in Emacs 27, if that makes a difference. What also helped me to figure this out was to use org-store-link in the appropriate place.
    – terje
    Feb 12, 2019 at 7:26
  • Just a side note: ol-info has to be loaded for this to work. It is loaded by default, but some custom configurations may disable this feature. Oct 8, 2021 at 8:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.