-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
89 lines (58 loc) · 2.48 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
mode-info ----- Commands to show Info descriptions.
1. Introduction
This package provides improved describe-function and
describe-variable and combines major modes to edit programming
languages and its Info closely.
`mode-info-describe-function' which is one of commands defined by
this package, is very similar to `describe-function', but can select
the appropriate document based on major-mode. For example, when it
is called in c-mode buffers, it retrieves the documentation of the
specified function from GNU C Library Reference Manual and shows it.
When it is called in emacs-lisp-mode buffers, it retrieves the
documentation from Emacs Lisp Reference Manual and shows it. If
failure it shows a documentation string.
The latest version of this package can be downloaded from:
http://namazu.org/~tsuchiya/elisp/mode-info.tar.gz
2. Available documents
Following texinfo documents are supported.
Emacs Lisp Reference Manual
Emacs Manual
GNU C Library Reference Manual
Ruby Reference Manual (Japanese)
Perl Reference Manual (Japanese)
Octave Reference Manual
SLIB Reference Manual
Guile Reference Manual
Gauche Reference Manual
Make Manual
3. Install
Before installation, Info documents will have to be installed.
(1) Run configure script:
./configure
This should setup stuffs to build mode-info. If Info documents
are installed to an unusual directory, the installer will miss
them. In this case, it is necessary to tell their place to the
installer, as follows:
./configure --with-info-addpath=DIR1:DIR2
For more detail, see the help message of configure script.
(2) Execute these commands to byte compile emacs-lisp programs and to
install them.
make
make install
(3) Execute these commands to make indices of all available Info
documents and to install them.
make index
make install-index
If you want to keep old indices, you can skip this step.
(4) Put these following expressions to your ~/.emacs.
(require 'mi-config)
(global-set-key "\C-hf" 'mode-info-describe-function)
(global-set-key "\C-hv" 'mode-info-describe-variable)
(global-set-key "\M-." 'mode-info-find-tag)
4. Contact Address
TSUCHIYA Masatoshi <[email protected]>
Local Variables:
mode: indented-text
coding: ascii
fill-column: 72
End: