[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Geiser-users] [PATCH] Add `dir' file to list the info manual

From: Diogo F. S. Ramos
Subject: [Geiser-users] [PATCH] Add `dir' file to list the info manual
Date: Mon, 5 Aug 2013 11:43:41 -0300

If a user doesn't want to install geiser, it's possible to run it in
place by loading `elisp/geiser.el' directly.

It's also possible to read the info manual directly but it's
inconvenient to not have it listed when hitting C-h i inside Emacs.

To list such manual, it's necessary to tell info where to look for it.
One way of doing it is adding the directory to the variable
`Info-additional-directory-list'.  But, for this to work, there's need
to be a `dir' file listing the info manual.

I'm not sure if the `dir' file should be produced during compilation
or not.

Looking for inspiration, I looked at auctex package inside emacs' elpa
branch and AFAICS it has a fixed `dir', just like in this patch.

 doc/dir | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 doc/dir

diff --git a/doc/dir b/doc/dir
new file mode 100644
index 0000000..bb69d61
--- /dev/null
+++ b/doc/dir
@@ -0,0 +1,18 @@
+This is the file .../info/dir, which contains the
+topmost node of the Info hierarchy, called (dir)Top.
+The first time you invoke Info you start off looking at this node.
+File: dir,     Node: Top       This is the top of the INFO tree
+  This (the Directory node) gives a menu of major topics.
+  Typing "q" exits, "?" lists all Info commands, "d" returns here,
+  "h" gives a primer for first-timers,
+  "mEmacs<Return>" visits the Emacs manual, etc.
+  In Emacs, you can click mouse button 2 on a menu item or cross reference
+  to select it.
+* Menu:
+* Geiser: (geiser).             Emacs environment for Scheme hacking.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]