langhelp 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Changes +2530 -0
- data/bin/mklanghelp +50 -0
- data/data/langhelp/config.sample +889 -0
- data/files +39 -0
- data/graphviz-dot.jpg +0 -0
- data/langhelp.en.html +409 -0
- data/langhelp.en.rd +390 -0
- data/langhelp.ja.html +524 -0
- data/langhelp.ja.rd +487 -0
- data/lib/el4r/emacsruby/autoload/50langhelp.rb +2 -0
- data/lib/el4r/emacsruby/langhelp.rb +864 -0
- data/lib/el4r/emacsruby/test-langhelp.rb +300 -0
- data/lib/langhelp/langhelp-base.rb +649 -0
- data/lib/langhelp/langhelp-sub.rb +1023 -0
- data/lib/langhelp/lh_lua.rb +25 -0
- data/lib/langhelp/lh_perl.rb +112 -0
- data/lib/langhelp/lh_php.rb +34 -0
- data/lib/langhelp/lh_python.rb +31 -0
- data/lib/langhelp/lh_ruby.rb +400 -0
- data/lib/langhelp/mklanghelp.rb +140 -0
- data/lib/langhelp/parse-info.rb +145 -0
- data/ri.jpg +0 -0
- data/setup.rb +1551 -0
- data/test/a_classes.lst +2 -0
- data/test/a_methods.lst +2 -0
- data/test/b_classes.lst +2 -0
- data/test/b_methods.lst +2 -0
- data/test/c_methods.lst +4 -0
- data/test/common.rb +15 -0
- data/test/d_methods.lst +4 -0
- data/test/langhelp.e +566 -0
- data/test/ruby.e +3 -0
- data/test/tagify01-before.html +11 -0
- data/test/tagify02-before.html +11 -0
- data/test/test-base.rb +538 -0
- data/test/test-command.rb +92 -0
- data/test/test-parse-info.rb +175 -0
- data/test/test-ruby.rb +242 -0
- data/test/testdoc.rd +6 -0
- metadata +84 -0
data/langhelp.en.rd
ADDED
@@ -0,0 +1,390 @@
|
|
1
|
+
=begin
|
2
|
+
|
3
|
+
= langhelp: Integrated help system in EmacsRuby
|
4
|
+
|
5
|
+
##### [whats new]
|
6
|
+
== What's new
|
7
|
+
|
8
|
+
=== [2006/09/21] 0.9.8 released
|
9
|
+
|
10
|
+
* The code was refactored, so langhelp needs el4r 1.0.4 or newer.
|
11
|
+
* Better Ri for (X)Emacs handling.
|
12
|
+
* New function: lh-man*
|
13
|
+
* New command: langhelp-test-definition-this-line
|
14
|
+
|
15
|
+
|
16
|
+
=== [2006/08/03] 0.9.7 released
|
17
|
+
* `langhelp-at-point' enables you to search for current word.
|
18
|
+
* Langhelp uses its own frame by default.
|
19
|
+
* Added a script to fetch ((<SRFI|URL:http://srfi.schemers.org/>)) documents.
|
20
|
+
* Adjusted to Emacs 22.
|
21
|
+
|
22
|
+
=== [2006/02/09] 0.9.6 released
|
23
|
+
* Fixed display problem of `lh-ri' function with ri-emacs.
|
24
|
+
* Many ways to follow link.
|
25
|
+
* Follow link in this line and put point on screen top. (normal:l, RET)
|
26
|
+
* Follow link in this line and center point in window. (;, L, C)
|
27
|
+
* Follow link in this line and select the help window to edit. (o)
|
28
|
+
* Follow link in this line and kill the help window buffer. (K, D)
|
29
|
+
|
30
|
+
|
31
|
+
=== [2006/02/01] 0.9.5 released
|
32
|
+
|
33
|
+
* Colorized title
|
34
|
+
* New function: lh-file, lh-center
|
35
|
+
* Narrowing to section
|
36
|
+
* *langhelp index* was sorted
|
37
|
+
* Many bug fix
|
38
|
+
|
39
|
+
=== [2005/12/23] 0.9.4 released
|
40
|
+
* New function: lh-to
|
41
|
+
* Reimplemented function: lh-goto-link
|
42
|
+
* Speeduped function: lh-w3m
|
43
|
+
* config: cvsbook, cvsbook-ja, WWWC documents
|
44
|
+
* class HTML
|
45
|
+
* new attributes: :recursive, :basedir
|
46
|
+
* Indented by tab.
|
47
|
+
|
48
|
+
=== [2005/12/11] 0.9.3 released
|
49
|
+
|
50
|
+
* class HTML
|
51
|
+
* Now you can specify multiple HTMLs.
|
52
|
+
* Extract the HTML title.
|
53
|
+
* Disable charset conversion with `:noconv' attribute.
|
54
|
+
* Support subversion book using these features.
|
55
|
+
|
56
|
+
=== [2005/12/10] 0.9.2 released
|
57
|
+
|
58
|
+
* langhelp full index (((%d%)) in langhelp buffer or ((%C-u C-c s%))).
|
59
|
+
* New class: HTML; create HTML index.
|
60
|
+
* More config settings. Not only programming languages but also shell commands.
|
61
|
+
|
62
|
+
=== [2005/12/03] 0.9.1 released
|
63
|
+
* Adjust to Ruby1.9.
|
64
|
+
* Langhelp default key binding (((%C-c s%))).
|
65
|
+
|
66
|
+
=== [2005/12/02] 0.9.0 released
|
67
|
+
Initial release
|
68
|
+
|
69
|
+
|
70
|
+
##### [/whats new]
|
71
|
+
|
72
|
+
##### [abstract]
|
73
|
+
== Abstract
|
74
|
+
|
75
|
+
Langhelp creates an index of documents of various programming languages and shell commands.
|
76
|
+
Langhelp enables you to search documents instantly in Emacs.
|
77
|
+
If you are a programmer, then you may sometimes wonder, what is the usage of this function?
|
78
|
+
If you use Unices, then you may wonder, what is the usage of this command?
|
79
|
+
Langhelp answers the question INSTANTLY.
|
80
|
+
|
81
|
+
Currently langhelp supports languages and commands below.
|
82
|
+
planner, xnee, html, svn, bison,
|
83
|
+
cvs, libtool, latex, ratpoisonrc, java,
|
84
|
+
id-utils, gengetopt, wget, lua, php,
|
85
|
+
texinfo, c++, c, standards, grep,
|
86
|
+
rb, gdb, diff, octave, scheme,
|
87
|
+
python, global, flex, tcl, m4,
|
88
|
+
sed, screenrc, xmms-shell, gzip, perl,
|
89
|
+
emacs-lisp, ruby, autoconf, sgrep, hurd,
|
90
|
+
el4r, binutils, awk, graphviz-dot, makefile,
|
91
|
+
sh,
|
92
|
+
|
93
|
+
Langhelp may be the first tool written in EmacsRuby in the world.
|
94
|
+
In other words, langhelp is an practical example of EmacsRuby script.
|
95
|
+
|
96
|
+
##### [/abstract]
|
97
|
+
|
98
|
+
== Screenshots
|
99
|
+
* ((<Calling `ri' from langhelp. (Ruby)|URL:ri.jpg>))
|
100
|
+
* ((<Seeing HTML document of Graphviz DOT language.|URL:graphviz-dot.jpg>))
|
101
|
+
|
102
|
+
##### [install]
|
103
|
+
== Environment
|
104
|
+
|
105
|
+
Langhelp depends on some tools.
|
106
|
+
* ((<Ruby 1.8.2 or upper|URL:http://www.ruby-lang.org/>))
|
107
|
+
* emacs21 / xemacs21 / emacs22
|
108
|
+
* ((<el4r 1.0.4 or upper|URL:http://www.rubyist.net/~rubikitch/computer/el4r/>))
|
109
|
+
|
110
|
+
I use Debian GNU/Linux and Emacs21((-I currently use Emacs22.-)).
|
111
|
+
Langhelp probably works on other GNU/Linux or Unices.
|
112
|
+
Langhelp also works on Windows(Meadow + Cygwin).
|
113
|
+
|
114
|
+
Langhelp does not compete against other document-lookup tools, but langhelp INTEGRATES document-lookup tools.
|
115
|
+
The more you have tools, the more usefule langhelp is.
|
116
|
+
|
117
|
+
|
118
|
+
=== Langhelp support tools
|
119
|
+
The following tools are not mandatory but strengthens langhelp.
|
120
|
+
|
121
|
+
: various Info documents
|
122
|
+
Langhelp treats Info documents VERY EASY.
|
123
|
+
: ((<w3m|URL:http://w3m.sourceforge.net/>)), ((<emacs_w3m|URL:http://emacs-w3m.namazu.org/>))
|
124
|
+
W3m processes HTML documents.
|
125
|
+
Emacs-w3m is a WWW browser in Emacs, uses w3m internally.
|
126
|
+
: Ri
|
127
|
+
Ri looks up Ruby methods. It is bundled in Ruby distribution.
|
128
|
+
: ((<Ri for (X)Emacs|URL:http://rubyforge.org/projects/ri-emacs/>))
|
129
|
+
This tool speeds up `ri' calls.
|
130
|
+
: ((<luahelp|URL:http://lua-users.org/files/wiki_insecure/users/NormanRamsey/luahelp>))
|
131
|
+
Luahelp searches ((<Lua|URL:http://www.lua.org/>)) documents.
|
132
|
+
: ((<Emacs Lisp List|URL:http://www.damtp.cam.ac.uk/user/sje30/emacs/ell.html>))
|
133
|
+
There are MANY EmacsLisp programs.
|
134
|
+
: ((<screenrc.el|URL:http://www.rubyist.net/~rubikitch/computer/screenrc-mode/>))
|
135
|
+
Major mode for editing screenrc.
|
136
|
+
: ratpoison.el
|
137
|
+
Major mode for editing ratpoisonrc. It is bundled in ratpoison distribution.
|
138
|
+
: ((<bm.el|URL:http://cvs.savannah.gnu.org/viewcvs/*checkout*/bm/bm/bm.el?rev=HEAD&content-type=text/plain>))
|
139
|
+
Visible bookmarks in buffer.
|
140
|
+
|
141
|
+
== Install
|
142
|
+
First install el4r to run EmacsRuby scripts.
|
143
|
+
ruby -ropen-uri -e 'URI("http://www.rubyist.net/~rubikitch/archive/el4r-1.0.4.tar.gz").read.display' > el4r-1.0.4.tar.gz
|
144
|
+
tar xzf el4r-1.0.4.tar.gz
|
145
|
+
cd el4r-1.0.4
|
146
|
+
ruby setup.rb
|
147
|
+
|
148
|
+
ruby -S el4r-rctool -p
|
149
|
+
ruby -S el4r-rctool -i
|
150
|
+
|
151
|
+
|
152
|
+
Then install langhelp.
|
153
|
+
Please execute the following commands.
|
154
|
+
|
155
|
+
ruby -ropen-uri -e 'URI("http://www.rubyist.net/~rubikitch/archive/langhelp-0.9.8.tar.gz").read.display' > langhelp-0.9.8.tar.gz
|
156
|
+
tar xzvf langhelp-0.9.8.tar.gz
|
157
|
+
|
158
|
+
|
159
|
+
When you failed, please download it from the next link.
|
160
|
+
|
161
|
+
* ((<langhelp-0.9.8.tar.gz|URL:http://www.rubyist.net/~rubikitch/archive/langhelp-0.9.8.tar.gz>))
|
162
|
+
|
163
|
+
Then, install it.
|
164
|
+
|
165
|
+
cd langhelp-0.9.8
|
166
|
+
ruby setup.rb
|
167
|
+
|
168
|
+
Victor Borja created ((<Gentoo ebuild|URL:http://darcs.thehatcher.com/vic/erebor-ebuilds/app-emacs/>)). Thanks.
|
169
|
+
|
170
|
+
Boris Daix created ((<Debian package|URL:http://alysse.dyndns.org/~bdaix/debian/>)). Thanks.
|
171
|
+
Put the following to your /etc/apt/sources.list:
|
172
|
+
deb http://alysse.dyndns.org/~bdaix/debian/packages unstable/
|
173
|
+
deb-src http://alysse.dyndns.org/~bdaix/debian/packages unstable/
|
174
|
+
|
175
|
+
|
176
|
+
##### [/install]
|
177
|
+
|
178
|
+
== Configuration file
|
179
|
+
|
180
|
+
The user configuration file of langhelp is `~/.langhelp/config', which is pure Ruby script.
|
181
|
+
|
182
|
+
If you install langhelp for the first time, copy `data/langhelp/config.sample' to `~/.langhelp/config'.
|
183
|
+
cp data/langhelp/config.sample ~/.langhelp/config
|
184
|
+
|
185
|
+
Writing config from scratch is very very hard, so `config.sample' is also installed.
|
186
|
+
The following command indicates where `config.sample' is.
|
187
|
+
|
188
|
+
ruby -rrbconfig -e 'puts "#{Config::CONFIG["datadir"]}/langhelp/config.sample"'
|
189
|
+
|
190
|
+
=== Quick start
|
191
|
+
##### [quick start]
|
192
|
+
First execute `mklanghelp' command. Beware two hyphens.
|
193
|
+
|
194
|
+
mklanghelp --all
|
195
|
+
|
196
|
+
If you use Windows, you may use `ruby -S'.
|
197
|
+
|
198
|
+
ruby -S mklanghelp --all
|
199
|
+
|
200
|
+
Probably you would encounter with many error messages because the documents does not exist in the path specified in the config file.
|
201
|
+
Errors are ignored and langhelp does the best effort.
|
202
|
+
|
203
|
+
Errors are erased by
|
204
|
+
* installing missing documents later
|
205
|
+
* fixing the paths
|
206
|
+
* commenting out the line
|
207
|
+
|
208
|
+
Modify your config file after reading comments in config file CAREFULLY.
|
209
|
+
##### [/quick start]
|
210
|
+
|
211
|
+
|
212
|
+
=== Language-specific configuration
|
213
|
+
|
214
|
+
Langhelp works in Emacs.
|
215
|
+
Many major modes for programming languages exist.
|
216
|
+
Normally the name of major mode ends with `-mode'.
|
217
|
+
|
218
|
+
Langhelp knows currently editing language by major mode.
|
219
|
+
Here the `language name' of langhelp is defined: ((*the string removed `-mode' from major mode name*)).
|
220
|
+
For instance, ruby-mode is the major mode of Ruby, then the language name is `ruby'.
|
221
|
+
graphviz-dot-mode is the major mode of ((<Graphviz DOT language|URL:http://www.graphviz.org/>)), then the language name is `graphviz-dot'.
|
222
|
+
|
223
|
+
If there is no major mode, use `define-generic-mode' or `define-derived-mode' to fabricate major mode.
|
224
|
+
It is needed that the major mode ONLY exists.
|
225
|
+
|
226
|
+
Example:
|
227
|
+
(define-generic-mode 'foo-mode (list ?#) nil nil nil nil)
|
228
|
+
(define-derived-mode baz-mode fundamental-mode "baz")
|
229
|
+
|
230
|
+
Language-specific configuration means to specify @lang variable properly.
|
231
|
+
|
232
|
+
The details are written in `data/langhelp/config.sample'.
|
233
|
+
|
234
|
+
=== Checking document definitions
|
235
|
+
|
236
|
+
Since version 0.9.8, langhelp provides document definition check function.
|
237
|
+
Point the line containing file name (document definition Hash) and issue
|
238
|
+
M-x langhelp-test-definition-this-line
|
239
|
+
|
240
|
+
You check the index the document definition outputs.
|
241
|
+
|
242
|
+
=== Troubleshooting
|
243
|
+
|
244
|
+
The following command does syntax check.
|
245
|
+
|
246
|
+
ruby -c ~/.langhelp/config
|
247
|
+
|
248
|
+
== How to Use
|
249
|
+
|
250
|
+
=== Making Indexes
|
251
|
+
##### [making indexes1]
|
252
|
+
Langhelp has indexes by language.
|
253
|
+
`mklanghelp' command makes indexes based on config file.
|
254
|
+
|
255
|
+
Invoking langhelp without arguments shows the usage.
|
256
|
+
##### [/making indexes1]
|
257
|
+
|
258
|
+
Usage: mklanghelp [options] [languages]
|
259
|
+
Supported languages: planner, xnee, html, svn, bison, cvs, libtool, latex, ratpoisonrc, java, id-utils, gengetopt, wget, lua, php, texinfo, c++, c, standards, grep, rb, gdb, diff, octave, scheme, python, global, flex, tcl, m4, sed, screenrc, xmms-shell, gzip, perl, emacs-lisp, ruby, autoconf, sgrep, hurd, el4r, binutils, awk, graphviz-dot, makefile, sh
|
260
|
+
-a, --all Output index of all languages.
|
261
|
+
--home=DIR Output directory of index files.
|
262
|
+
--suffix=SUFFIX Suffix of index files [default: .e]
|
263
|
+
-c, --init-script FILE Initialize script name [default: /home/rubikitch/.langhelp/mklanghelp-init.rb]
|
264
|
+
-f Suppress read of init script.
|
265
|
+
--langs Output supported languages.
|
266
|
+
--stdout Output index into stdout.
|
267
|
+
-e, --eval=EXP Evaluate.
|
268
|
+
-d, --debug Output stack trace when error occurred.
|
269
|
+
|
270
|
+
|
271
|
+
##### [making indexes2]
|
272
|
+
Invoking langhelp with arguments makes indexes of each languages.
|
273
|
+
With `--all' option, languages makes indexes of all languages.
|
274
|
+
##### [/making indexes2]
|
275
|
+
|
276
|
+
Example:
|
277
|
+
##### [mklanghelp examples]
|
278
|
+
mklanghelp ruby emacs-lisp
|
279
|
+
mklanghelp --all
|
280
|
+
##### [/mklanghelp examples]
|
281
|
+
|
282
|
+
=== In Emacs
|
283
|
+
If you want to access documents managed by langhelp, type
|
284
|
+
C-c s
|
285
|
+
If you are upgrading from 0.9.0, add the line below to config.
|
286
|
+
@langhelp_key = '\C-cs'
|
287
|
+
|
288
|
+
|
289
|
+
Then, the `*langhelp:langname*' buffer appears and starts incremental search.
|
290
|
+
|
291
|
+
When you call langhelp, many lines containing EmacsLisp sexps appear.
|
292
|
+
Sexp are colored by font-lock.
|
293
|
+
Langhelp accesses information sources by evaluating sexps, so called lisp-hyperlink.
|
294
|
+
This means that if you define the appropriate EmacsLisp function then langhelp can call EVERYTHING!
|
295
|
+
|
296
|
+
The cursor movement is performed by vi-like ((%k%))/((%j%)) as well as ((%p%))/((%n%)).
|
297
|
+
|
298
|
+
To follow the link, type ((%l%)) or ((%RET%)).
|
299
|
+
Some links specify LINE to jump(line number or line contents).
|
300
|
+
((%l%)) or ((%RET%)) follow link in this line and put point on screen top.
|
301
|
+
((%;%)), ((%L%)) or ((%C%)) follow link in this line and center point in window.
|
302
|
+
((%o%)) follows link in this line and selects the help window to edit.
|
303
|
+
|
304
|
+
Following many links increase buffers.
|
305
|
+
Typing ((%K%)) or ((%D%)) kills the help window buffer.
|
306
|
+
|
307
|
+
Typing ((%C-o%)) in incremental search does search refinement.
|
308
|
+
|
309
|
+
If ((<bm.el|URL:http://cvs.savannah.gnu.org/viewcvs/*checkout*/bm/bm/bm.el?rev=HEAD&content-type=text/plain>)) are installed, typing ((%m%)) makes bookmark.
|
310
|
+
((%P%)) and ((%N%)) perform bookmark jump.
|
311
|
+
|
312
|
+
((%C-c C-n%)) toggles narrowing to this section.
|
313
|
+
|
314
|
+
Typing ((%C-c C-c%)) exits langhelp and restore window configuration before langhelp was called.
|
315
|
+
|
316
|
+
Some people may perfer using `window manager' of Emacs.
|
317
|
+
Install ((<windows.el|URL:http://www.gentei.org/~yuuji/software/windows.el>)), ((<escreen.el|URL:http://www.splode.com/~friedman/software/emacs-lisp/src/escreen.el>)) or ((<elscreen.el|URL:http://www.morishima.net/~naoto/software/elscreen/>)) when you want to save window configuration.
|
318
|
+
|
319
|
+
Remember to restart el4r when you remake indexes or modify config file after starting langhelp.
|
320
|
+
M-x el4r-boot
|
321
|
+
|
322
|
+
==== With `C-u'
|
323
|
+
Typing ((%C-u C-c s%)) shows langhelp full index, which is the list of languages managed by langhelp.
|
324
|
+
Typing ((%d%)) in langhelp buffer also shows langhelp full index.
|
325
|
+
|
326
|
+
==== With `C-u C-u'
|
327
|
+
Typing ((%C-u C-u C-c s%)) searches current word. (since v0.9.7)
|
328
|
+
|
329
|
+
Alternatively typing
|
330
|
+
M-x langhelp-at-point
|
331
|
+
does the same thing.
|
332
|
+
|
333
|
+
== Customizing
|
334
|
+
|
335
|
+
If you want to customize langhelp, read config file carefully.
|
336
|
+
|
337
|
+
As explaining in the config file there are some general purpose classes:`Grep', `W3MGrep'.
|
338
|
+
`Grep' extracts lines matching the regexp and makes index.
|
339
|
+
`W3MGrep' is almost the same as `Grep', the only difference is that the plain-text generated by w3m is to be processed.
|
340
|
+
Manuals in plain-text or HTML can be imported into langhelp easily by regexp.
|
341
|
+
|
342
|
+
=== `~/.langhelp/mklanghelp-init.rb'
|
343
|
+
|
344
|
+
`~/.langhelp/mklanghelp-init.rb' is a Ruby script called by `mklanghelp' before processing.
|
345
|
+
|
346
|
+
Index classes are subclass of AbstractIndex.
|
347
|
+
Write your own index classes in that file.
|
348
|
+
|
349
|
+
After defining new index classes you can use it by specifying config file.
|
350
|
+
|
351
|
+
Example:
|
352
|
+
@lang["foo"] = [
|
353
|
+
{:FooIndex => true, :title=>"Foo", :cmd=>"fooindex"},
|
354
|
+
]
|
355
|
+
|
356
|
+
Then execute `mklanghelp'.
|
357
|
+
|
358
|
+
=== `~/.el4r/init.rb'
|
359
|
+
`~/.el4r/init.rb' are loaded when starting el4r.
|
360
|
+
|
361
|
+
Langhelp can treat any EmacsLisp functions as lisp-hyperlink.
|
362
|
+
But the functions with the prefix `lh-' are colorized by font-lock.
|
363
|
+
|
364
|
+
=== If you do not like frames
|
365
|
+
Since v0.9.7, langhelp on Emacs on window systems uses its own frame.
|
366
|
+
If you do not like frames, add
|
367
|
+
|
368
|
+
@NO_FRAME = true
|
369
|
+
|
370
|
+
to `~/.langhelp/config'.
|
371
|
+
|
372
|
+
== Porting to Other Editors
|
373
|
+
`bin/mklanghelp' and `lib/langhelp/*.rb' does not utterly depend on specific editors.
|
374
|
+
The task of These files is only to write indexes.
|
375
|
+
Writing `Local Variables' section is only related to Emacs.
|
376
|
+
|
377
|
+
If you write the program corresponding to `lib/el4r/emacsruby/langhelp.rb', i.e. implementing all the functions appearing in the index, langhelp will work on other Lisp-based editors.
|
378
|
+
Because sexps appearing in the index are not nested, reading the text between () will enable langhelp to work on non-Lisp-based editors.
|
379
|
+
|
380
|
+
If you port langhelp to other editors, I am willing to include your contribution.
|
381
|
+
|
382
|
+
== Feedbacks
|
383
|
+
If you are trouble with langhelp, please post to the mail form at the end of this page freely.
|
384
|
+
I am waiting for better configurations and new language supports.
|
385
|
+
|
386
|
+
|
387
|
+
== License
|
388
|
+
GPL
|
389
|
+
|
390
|
+
=end
|
data/langhelp.ja.html
ADDED
@@ -0,0 +1,524 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-2022-jp" ?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
|
6
|
+
<head>
|
7
|
+
<title>langhelp: $BE}9g%I%-%e%a%s%H8!:w4o(B on Emacs</title>
|
8
|
+
<meta http-equiv="Content-type" content="text/html; charset=iso-2022-jp" />
|
9
|
+
<!-- head-element:nil -->
|
10
|
+
</head>
|
11
|
+
<body>
|
12
|
+
<h2>Index</h2>
|
13
|
+
|
14
|
+
<ul>
|
15
|
+
<li><p><a href="#label:1">What's new</a></p>
|
16
|
+
<ul>
|
17
|
+
<li><a href="#label:2">[2006/09/21] 0.9.8 released</a></li>
|
18
|
+
<li><a href="#label:3">[2006/08/03] 0.9.7 released</a></li>
|
19
|
+
<li><a href="#label:4">[2006/02/09] 0.9.6 released</a></li>
|
20
|
+
<li><a href="#label:5">[2006/02/01] 0.9.5 released</a></li>
|
21
|
+
<li><a href="#label:6">[2005/12/23] 0.9.4 released</a></li>
|
22
|
+
<li><a href="#label:7">[2005/12/11] 0.9.3 released</a></li>
|
23
|
+
<li><a href="#label:8">[2005/12/10] 0.9.2 released</a></li>
|
24
|
+
<li><a href="#label:9">[2005/12/03] 0.9.1 released</a></li>
|
25
|
+
<li><a href="#label:10">[2005/12/02] 0.9.0 released</a></li>
|
26
|
+
</ul></li>
|
27
|
+
<li><a href="#label:11">$B35MW(B</a></li>
|
28
|
+
<li><a href="#label:12">$B%9%/%j!<%s%7%g%C%H(B</a></li>
|
29
|
+
<li><a href="#label:13">$BF0:n4D6-(B</a></li>
|
30
|
+
<li><a href="#label:26">$B%$%s%9%H!<%k(B</a></li>
|
31
|
+
<li><p><a href="#label:27">$B@_Dj%U%!%$%k(B</a></p>
|
32
|
+
<ul>
|
33
|
+
<li><a href="#label:28">Quick start</a></li>
|
34
|
+
<li><a href="#label:29">GNUjdoc$B%I%-%e%a%s%H$NF3F~(B</a></li>
|
35
|
+
<li><p><a href="#label:30">$B8@8l$4$H$N@_Dj(B</a></p>
|
36
|
+
<ul>
|
37
|
+
<li><a href="#label:31">Ruby$B$,$o$+$k?M8~$1$N@bL@(B</a></li>
|
38
|
+
<li><a href="#label:32">Ruby$B$,$o$+$i$J$$?M8~$1$N@bL@(B</a></li>
|
39
|
+
</ul></li>
|
40
|
+
<li><a href="#label:33">$B@_Dj$NF0:n3NG'(B</a></li>
|
41
|
+
<li><a href="#label:34">$B%H%i%V%k%7%e!<%F%#%s%0(B</a></li>
|
42
|
+
</ul></li>
|
43
|
+
<li><p><a href="#label:35">$B;H$$J}(B</a></p>
|
44
|
+
<ul>
|
45
|
+
<li><a href="#label:36">$B$^$:$OL\<!:n@.(B</a></li>
|
46
|
+
<li><p><a href="#label:37">Emacs$B$K$F(B</a></p>
|
47
|
+
<ul>
|
48
|
+
<li><a href="#label:38">C-u$B$r$D$1$k$H(Blanghelp$B$NAmL\<!(B</a></li>
|
49
|
+
<li><a href="#label:39">C-u C-u$B$r$D$1$k$H8=:_0LCV$NC18l$r8!:w(B</a></li>
|
50
|
+
</ul></li>
|
51
|
+
</ul></li>
|
52
|
+
<li><p><a href="#label:40">$B%+%9%?%^%$%:(B</a></p>
|
53
|
+
<ul>
|
54
|
+
<li><a href="#label:41">~/.langhelp/mklanghelp-init.rb</a></li>
|
55
|
+
<li><a href="#label:42">~/.el4r/init.rb</a></li>
|
56
|
+
<li><a href="#label:43">$B%U%l!<%`$r;H$o$J$$(B</a></li>
|
57
|
+
</ul></li>
|
58
|
+
<li><a href="#label:44">$B0\?"@-$K$D$$$F(B</a></li>
|
59
|
+
<li><a href="#label:45">$B%U%#!<%I%P%C%/(B</a></li>
|
60
|
+
<li><a href="#label:46">$B%i%$%;%s%9(B</a></li>
|
61
|
+
</ul>
|
62
|
+
<hr />
|
63
|
+
|
64
|
+
<h1><a name="Title:" href="#Title:">Title:</a> <a name="label:0">langhelp: $BE}9g%I%-%e%a%s%H8!:w4o(B on Emacs</a></h1><!-- RDLabel: "langhelp: $BE}9g%I%-%e%a%s%H8!:w4o(B on Emacs" -->
|
65
|
+
|
66
|
+
<h2><a name="1" href="#1">1</a> <a name="label:1">What's new</a></h2><!-- RDLabel: "What's new" -->
|
67
|
+
|
68
|
+
<h3><a name="1.1" href="#1.1">1.1</a> <a name="label:2">[2006/09/21] 0.9.8 released</a></h3><!-- RDLabel: "[2006/09/21] 0.9.8 released" -->
|
69
|
+
|
70
|
+
<ul>
|
71
|
+
<li>$B%3!<%I$r0lIt%j%U%!%/%?%j%s%0!#$3$l$K$h$j(Bel4r 1.0.4$B0J>e$,I,MW!#(B</li>
|
72
|
+
<li>Ri for (X)Emacs$BBP1~$N%P%0=$@5!#(B</li>
|
73
|
+
<li>$B?7$7$$4X?t(B: lh-man*</li>
|
74
|
+
<li>$B?7$7$$%3%^%s%I(B: langhelp-test-definition-this-line</li>
|
75
|
+
</ul>
|
76
|
+
<h3><a name="1.2" href="#1.2">1.2</a> <a name="label:3">[2006/08/03] 0.9.7 released</a></h3><!-- RDLabel: "[2006/08/03] 0.9.7 released" -->
|
77
|
+
|
78
|
+
<ul>
|
79
|
+
<li>$B%]%$%s%H0LCV$K$"$kC18l$r8!:w$G$-$k$h$&$K$J$j$^$7$?!J(Blanghelp-at-point$B!K(B</li>
|
80
|
+
<li>langhelp$B@lMQ%U%l!<%`$r;H$&$h$&$K$J$j$^$7$?!J%*%W%7%g%s$GL58z!K(B</li>
|
81
|
+
<li><a href="http://srfi.schemers.org/">Scheme$B$N(BSRFI</a>$B%I%-%e%a%s%H$r%@%&%s%m!<%I$9$k%9%/%j%W%H$rE:IU$7$^$7$?(B.</li>
|
82
|
+
<li>Emacs 22$BBP1~(B</li>
|
83
|
+
</ul>
|
84
|
+
<h3><a name="1.3" href="#1.3">1.3</a> <a name="label:4">[2006/02/09] 0.9.6 released</a></h3><!-- RDLabel: "[2006/02/09] 0.9.6 released" -->
|
85
|
+
|
86
|
+
<ul>
|
87
|
+
<li>ri-emacs$BF3F~;~$K(Bri$B$N7k2LI=<($,$&$^$/$$$C$F$$$J$+$C$?$N$r=$@5(B</li>
|
88
|
+
<li><p>$B%j%s%/$rC)$C$?$H$-$NI=<(J}K!$,A}$($^$7$?(B</p>
|
89
|
+
<ul>
|
90
|
+
<li>$B;XDj$5$l$?9T$r%&%#%s%I%&$N:G>eIt$KI=<(!JDL>o!'(Bl, RET$B!K(B</li>
|
91
|
+
<li>$B;XDj$5$l$?9T$r%&%#%s%I%&$NCf1{$KI=<(!J(B;, L, C$B!K(B</li>
|
92
|
+
<li>$B%U%)!<%+%9$r%j%s%/@h$N%&%#%s%I%&$K0\$9!J(Bo$B!K(B</li>
|
93
|
+
<li>$B%j%s%/@h$N%P%C%U%!$r:o=|$9$k!J(BK, D$B!K(B</li>
|
94
|
+
</ul></li>
|
95
|
+
</ul>
|
96
|
+
<h3><a name="1.4" href="#1.4">1.4</a> <a name="label:5">[2006/02/01] 0.9.5 released</a></h3><!-- RDLabel: "[2006/02/01] 0.9.5 released" -->
|
97
|
+
|
98
|
+
<ul>
|
99
|
+
<li>$B%?%$%H%k$K?'$E$1(B</li>
|
100
|
+
<li>$B?7$7$$4X?t(B: lh-file, lh-center</li>
|
101
|
+
<li>narrowing</li>
|
102
|
+
<li>*langhelp index*$B$r(Bsort</li>
|
103
|
+
<li>$BMM!9$J(Bbug fix</li>
|
104
|
+
</ul>
|
105
|
+
<h3><a name="1.5" href="#1.5">1.5</a> <a name="label:6">[2005/12/23] 0.9.4 released</a></h3><!-- RDLabel: "[2005/12/23] 0.9.4 released" -->
|
106
|
+
|
107
|
+
<ul>
|
108
|
+
<li>$B%?%$%H%k$X%8%c%s%W$9$k(Blh-to$B4X?t!#(B</li>
|
109
|
+
<li>lh-goto-link$B4X?t$r:F<BAu!#(B</li>
|
110
|
+
<li>lh-w3m$B4X?t$r9bB.2=!#(B</li>
|
111
|
+
<li>config: cvsbook, cvsbook-ja, WWWC$B5,3J=qDI2C!#(B</li>
|
112
|
+
<li><p>HTML$B%/%i%9(B</p>
|
113
|
+
<ul>
|
114
|
+
<li>:recursive, :basedir$BB0@-$rDI2C!#(B</li>
|
115
|
+
</ul></li>
|
116
|
+
<li>$B%?%V$K$h$k%$%s%G%s%H(B</li>
|
117
|
+
</ul>
|
118
|
+
<h3><a name="1.6" href="#1.6">1.6</a> <a name="label:7">[2005/12/11] 0.9.3 released</a></h3><!-- RDLabel: "[2005/12/11] 0.9.3 released" -->
|
119
|
+
|
120
|
+
<ul>
|
121
|
+
<li><p>HTML$B%/%i%9(B</p>
|
122
|
+
<ul>
|
123
|
+
<li>$BJ#?t$N(BHTML$B$rF1;~$K;XDj$9$k$3$H$,2DG=$K$J$j$^$7$?!#(B</li>
|
124
|
+
<li>$B%?%$%H%k$rH4$-=P$9$h$&$K$7$^$7$?!#(B</li>
|
125
|
+
<li>$BJ8;z%3!<%I$rJQ49$7$J$$(B:noconv$BB0@-$rDI2C$7$^$7$?!#(B</li>
|
126
|
+
<li>$B$3$l$i$N5!G=$r;H$C$F(Bsubversion$B$N%^%K%e%"%k$r<h$j9~$_$^$7$?!#(B</li>
|
127
|
+
</ul></li>
|
128
|
+
</ul>
|
129
|
+
<h3><a name="1.7" href="#1.7">1.7</a> <a name="label:8">[2005/12/10] 0.9.2 released</a></h3><!-- RDLabel: "[2005/12/10] 0.9.2 released" -->
|
130
|
+
|
131
|
+
<ul>
|
132
|
+
<li>$B$=$l$>$l$N8@8l$X$NL\<!$rI=<((B (langhelp $B%P%C%U%!$G(B<kbd>d</kbd>$B$r2!$9!&(BC-u$B$r$D$1$F5/F0(B).</li>
|
133
|
+
<li>HTML$B$NL\<!$r:n@.$9$k%/%i%9!#(B</li>
|
134
|
+
<li>config$B%U%!%$%k$N@_Dj$rA}6/!#%W%m%0%i%_%s%08@8l$K8B$i$:!"DL>o$N%3%^%s%I$NL\<!$b@_Dj!#(B</li>
|
135
|
+
</ul>
|
136
|
+
<h3><a name="1.8" href="#1.8">1.8</a> <a name="label:9">[2005/12/03] 0.9.1 released</a></h3><!-- RDLabel: "[2005/12/03] 0.9.1 released" -->
|
137
|
+
|
138
|
+
<ul>
|
139
|
+
<li>Ruby1.9$BBP1~!#(B</li>
|
140
|
+
<li>C-c s$B$r%G%U%)%k%H$N5/F0%-!<$K!#(B</li>
|
141
|
+
</ul>
|
142
|
+
<h3><a name="1.9" href="#1.9">1.9</a> <a name="label:10">[2005/12/02] 0.9.0 released</a></h3><!-- RDLabel: "[2005/12/02] 0.9.0 released" -->
|
143
|
+
|
144
|
+
<p>Initial release</p>
|
145
|
+
<h2><a name="2" href="#2">2</a> <a name="label:11">$B35MW(B</a></h2><!-- RDLabel: "$B35MW(B" -->
|
146
|
+
|
147
|
+
<p>langhelp$B$O$"$i$f$k%W%m%0%i%_%s%08@8l$d%3%^%s%I$N%I%-%e%a%s%H>pJs8;$NL\<!$r:n@.$7!"(BEmacs$BFb$G=V;~$K8!:w$9$k$3$H$rL\E*$H$7$?%D!<%k$G$9!#(B
|
148
|
+
$B%W%m%0%i%_%s%0Cf!"!V$3$N4X?t$N;H$$J}!"$I$&$@$C$?$+$J!W$H5?Ld$K;W$&$3$H$O$h$/$"$j$^$9$M!#(B
|
149
|
+
$B$"$k%3%^%s%I$r;H$$$?$$$1$I!";H$$J}$,$o$+$i$J$/$J$k$3$H$b$h$/$"$j$^$9$M!#(B
|
150
|
+
langhelp$B$,Ez$($XD>9T$7$F$/$l$^$9!#(B</p>
|
151
|
+
<p>Ruby$B%W%m%0%i%_%s%0$r=u$1$kN`;w$N%D!<%k$H$7$F!"@[:n(BRDindex$B$,$"$j$^$9$,!"(Blanghelp$B$O$=$N8e7Q$H$J$k$h$&3+H/$7$F$$$^$9!#(B
|
152
|
+
RDindex$B$O(BRD$B7A<0$N%I%-%e%a%s%H$7$+8!:w$G$-$^$;$s$,!"(Blanghelp$B$O2C$($F(BRDoc$B!"(BRefe$B!"(BRubyDoc$B$J$I$N7A<0$b07$($^$9!#(B</p>
|
153
|
+
<p>$B8=:_(Blanghelp$B$,%5%]!<%H$7$F$$$k8@8l!&%3%^%s%I$O0J2<$N$b$N$G$9!#(B</p>
|
154
|
+
<pre>planner, xnee, html, svn, bison,
|
155
|
+
cvs, libtool, latex, ratpoisonrc, java,
|
156
|
+
id-utils, gengetopt, wget, lua, php,
|
157
|
+
texinfo, c++, c, standards, grep,
|
158
|
+
rb, gdb, diff, octave, scheme,
|
159
|
+
python, global, flex, tcl, m4,
|
160
|
+
sed, screenrc, xmms-shell, gzip, perl,
|
161
|
+
emacs-lisp, ruby, autoconf, sgrep, hurd,
|
162
|
+
el4r, binutils, awk, graphviz-dot, makefile,
|
163
|
+
sh, </pre>
|
164
|
+
<p>langhelp$B$O(B<em>EmacsRuby</em>$B$G=q$+$l$?$*$=$i$/@$3&=i$N%D!<%k$G$9!#(B
|
165
|
+
langhelp$B$O(BEmacsRuby$B$N<BMQE*$JNc$N$R$H$D$H$b8@$($^$9!#(B</p>
|
166
|
+
<h2><a name="3" href="#3">3</a> <a name="label:12">$B%9%/%j!<%s%7%g%C%H(B</a></h2><!-- RDLabel: "$B%9%/%j!<%s%7%g%C%H(B" -->
|
167
|
+
|
168
|
+
<ul>
|
169
|
+
<li><a href="ri.jpg">Ruby$B%W%m%0%i%_%s%0Cf$K(Blanghelp$B$+$i(Bri$B$r8F=P$7$F$$$k?^(B</a></li>
|
170
|
+
<li><a href="graphviz-dot.jpg">Graphviz$B$N(BDOT$B8@8l$NJT=8Cf$K(Blanghelp$B$+$i(BHTML$B%I%-%e%a%s%H$r;2>H$7$F$$$k?^(B</a></li>
|
171
|
+
</ul>
|
172
|
+
<h2><a name="4" href="#4">4</a> <a name="label:13">$BF0:n4D6-(B</a></h2><!-- RDLabel: "$BF0:n4D6-(B" -->
|
173
|
+
|
174
|
+
<p>$BF0:n$K$O0J2<$N4D6-$,I,MW$G$9!#(B</p>
|
175
|
+
<ul>
|
176
|
+
<li>ruby 1.8.2$B0J>e(B</li>
|
177
|
+
<li>emacs21 / xemacs21 / emacs22</li>
|
178
|
+
<li>el4r 1.0.4$B0J>e(B</li>
|
179
|
+
</ul>
|
180
|
+
<p>$BI.<T$N4D6-$O(BDebian GNU/Linux & Emacs21<a name="footmark:1" id="footmark:1" href="#foottext:1"><sup><small>*1</small></sup></a>$B$G$9!#(B
|
181
|
+
$BB>$N(BGNU/Linux$B!"(BUnix$B7O(BOS$B$G$bLdBj$J$/F0$/$H;W$o$l$^$9!#(B
|
182
|
+
Windows$B4D6-!J(BMeadow + Cygwin$B!K$G$bF0:nJs9p$5$l$^$7$?!#(B</p>
|
183
|
+
<p>langhelp$B$OB>$N8!:w%D!<%k$rGS=|$9$k$b$N$G$O$"$j$^$;$s!#(B
|
184
|
+
$B$5$^$6$^$J%D!<%k$N=u$1$rF@$F$3$=NO$rH/4x$7$^$9!#(B
|
185
|
+
$B0J2<$N%D!<%k$OI,?\$G$O$"$j$^$;$s$,!"$"$l$P(Blanghelp$B$O%Q%o!<%"%C%W$7$^$9!#(B
|
186
|
+
langhelp$B$O4vB?$N8!:w%D!<%k$rM-5!E*$KE}9g$9$k%D!<%k$J$N$G$9!#(B</p>
|
187
|
+
<dl>
|
188
|
+
<dt><a name="label:14" id="label:14"></a>$B$5$^$6$^$J(BInfo$B7A<0$N%I%-%e%a%s%H(B</dt><!-- RDLabel: "$B$5$^$6$^$J(BInfo$B7A<0$N%I%-%e%a%s%H(B" -->
|
189
|
+
<dd>
|
190
|
+
<p>Info$B7A<0$N%I%-%e%a%s%H$O$H$F$b4JC1$K(Blanghelp$B$K<h$j9~$a$^$9!#(B</p>
|
191
|
+
</dd>
|
192
|
+
<dt><a name="label:15" id="label:15"></a><a href="http://w3m.sourceforge.net/">w3m</a>, <a href="http://emacs-w3m.namazu.org/">emacs_w3m</a></dt><!-- RDLabel: ", " -->
|
193
|
+
<dd>
|
194
|
+
<p>HTML$B7A<0$N%I%-%e%a%s%H$r=hM}!&I=<($9$k$N$K;H$$$^$9!#(B</p>
|
195
|
+
</dd>
|
196
|
+
<dt><a name="label:16" id="label:16"></a>Ri</dt><!-- RDLabel: "Ri" -->
|
197
|
+
<dd>
|
198
|
+
<p>Ruby$B$N%a%=%C%I$N@bL@$r1Q8l$G=PNO$7$^$9!#$3$l$O(BRuby$BI8=`E:IU$G$9!#(B</p>
|
199
|
+
</dd>
|
200
|
+
<dt><a name="label:17" id="label:17"></a><a href="http://rubyforge.org/projects/ri-emacs/">Ri for (X)Emacs</a></dt><!-- RDLabel: "" -->
|
201
|
+
<dd>
|
202
|
+
<p>$B$"$k$H(Bri$B$N8F$S=P$7$,9bB.2=$5$l$^$9!#(B</p>
|
203
|
+
</dd>
|
204
|
+
<dt><a name="label:18" id="label:18"></a><a href="http://i.loveruby.net/ja/projects/refe/">ReFe</a></dt><!-- RDLabel: "" -->
|
205
|
+
<dd>
|
206
|
+
<p>Ruby$B$N%a%=%C%I$N@bL@$rF|K\8l$G=PNO$7$^$9!#(B</p>
|
207
|
+
</dd>
|
208
|
+
<dt><a name="label:19" id="label:19"></a><a href="http://www.moonwolf.com/ruby/">RubyDocTool</a></dt><!-- RDLabel: "" -->
|
209
|
+
<dd>
|
210
|
+
<p>RubyDoc$B7A<0$N%I%-%e%a%s%H$r=hM}$7$^$9!#(B</p>
|
211
|
+
</dd>
|
212
|
+
<dt><a name="label:20" id="label:20"></a><a href="http://lua-users.org/files/wiki_insecure/users/NormanRamsey/luahelp">luahelp</a></dt><!-- RDLabel: "" -->
|
213
|
+
<dd>
|
214
|
+
<p><a href="http://www.lua.org/">Lua</a>$B$N%I%-%e%a%s%H$r8!:w$7$^$9!#(B</p>
|
215
|
+
</dd>
|
216
|
+
<dt><a name="label:21" id="label:21"></a><a href="http://openlab.ring.gr.jp/gnujdoc/">GNUjdoc</a></dt><!-- RDLabel: "" -->
|
217
|
+
<dd>
|
218
|
+
<p>Info$B7A<0$N%I%-%e%a%s%H$NF|K\8lLu!#(B</p>
|
219
|
+
</dd>
|
220
|
+
<dt><a name="label:22" id="label:22"></a><a href="http://www.damtp.cam.ac.uk/user/sje30/emacs/ell.html">Emacs Lisp List</a></dt><!-- RDLabel: "" -->
|
221
|
+
<dd>
|
222
|
+
<p>EmacsLisp$B$,$?$/$5$sEPO?$5$l$F$$$^$9!#(B</p>
|
223
|
+
</dd>
|
224
|
+
<dt><a name="label:23" id="label:23"></a><a href="http://www.rubyist.net/~rubikitch/computer/screenrc-mode/">screenrc.el</a></dt><!-- RDLabel: "" -->
|
225
|
+
<dd>
|
226
|
+
<p>screenrc$B$NJT=8$r9T$&%a%8%c!<%b!<%I$G$9!#(B</p>
|
227
|
+
</dd>
|
228
|
+
<dt><a name="label:24" id="label:24"></a>ratpoison.el</dt><!-- RDLabel: "ratpoison.el" -->
|
229
|
+
<dd>
|
230
|
+
<p>ratpoisonrc$B$NJT=8$r9T$&%a%8%c!<%b!<%I$G$9!#(Bratpoison$BI8=`E:IU$G$9!#(B</p>
|
231
|
+
</dd>
|
232
|
+
<dt><a name="label:25" id="label:25"></a><a href="http://cvs.savannah.gnu.org/viewcvs/*checkout*/bm/bm/bm.el?rev=HEAD&content-type=text/plain">bm.el</a></dt><!-- RDLabel: "" -->
|
233
|
+
<dd>
|
234
|
+
<p>$B%P%C%U%!Fb$N%V%C%/%^!<%/$G$9!#(B
|
235
|
+
$B%V%C%/%^!<%/$r@_Dj$7$?9T$K$O$o$+$j$d$9$/?'$,$D$1$i$l!"%V%C%/%^!<%/4V$N%8%c%s%W$b2DG=$G$9!#(B
|
236
|
+
langhelp$B$K8B$i$:$$$m$s$J>lLL$G;H$($k$?$a!"$*$9$9$a$G$9!#(B</p>
|
237
|
+
</dd>
|
238
|
+
</dl>
|
239
|
+
<h2><a name="5" href="#5">5</a> <a name="label:26">$B%$%s%9%H!<%k(B</a></h2><!-- RDLabel: "$B%$%s%9%H!<%k(B" -->
|
240
|
+
|
241
|
+
<p>$B$^$:!"(BEmacsRuby$B$rF0$+$9$?$a$K(Bel4r$B$r%$%s%9%H!<%k$7$^$9!#(B</p>
|
242
|
+
<pre>ruby -ropen-uri -e 'URI("http://www.rubyist.net/~rubikitch/archive/el4r-1.0.4.tar.gz").read.display' > el4r-1.0.4.tar.gz
|
243
|
+
tar xzf el4r-1.0.4.tar.gz
|
244
|
+
cd el4r-1.0.4
|
245
|
+
ruby setup.rb
|
246
|
+
|
247
|
+
ruby -S el4r-rctool -p
|
248
|
+
ruby -S el4r-rctool -i</pre>
|
249
|
+
<p>$B<!$O(Blanghelp$B$r%$%s%9%H!<%k$7$^$9!#(B
|
250
|
+
$B0J2<$N%3%^%s%I$r<B9T$7$F$/$@$5$$!#(B</p>
|
251
|
+
<pre>ruby -ropen-uri -e 'URI("http://www.rubyist.net/~rubikitch/archive/langhelp-0.9.8.tar.gz").read.display' > langhelp-0.9.8.tar.gz
|
252
|
+
tar xzvf langhelp-0.9.8.tar.gz</pre>
|
253
|
+
<p>$B<:GT$9$k>l9g$O<!$N%j%s%/$+$i%@%&%s%m!<%I$7$F$/$@$5$$!#(B</p>
|
254
|
+
<ul>
|
255
|
+
<li><a href="http://www.rubyist.net/~rubikitch/archive/langhelp-0.9.8.tar.gz">langhelp-0.9.8.tar.gz</a></li>
|
256
|
+
</ul>
|
257
|
+
<p>$B$=$l$+$i<!$N%3%^%s%I$G%$%s%9%H!<%k!#(B</p>
|
258
|
+
<pre>cd langhelp-0.9.8
|
259
|
+
ruby setup.rb</pre>
|
260
|
+
<p>Victor Borja$B$5$s$,(B<a href="http://darcs.thehatcher.com/vic/erebor-ebuilds/app-emacs/">Gentoo ebuild</a>$B$r:n@.$7$F$/$l$^$7$?!#(B
|
261
|
+
$B$"$j$,$H$&$4$6$$$^$9!#(B</p>
|
262
|
+
<p>Boris Daix$B$5$s$,(B<a href="http://alysse.dyndns.org/~bdaix/debian/">Debian package</a>$B$r:n@.$7$F$/$l$^$7$?!#(B
|
263
|
+
$B$"$j$,$H$&$4$6$$$^$9!#(B
|
264
|
+
/etc/apt/sources.list$B$K<!$N@_Dj$r2C$($F$/$@$5$$!#(B</p>
|
265
|
+
<pre>deb http://alysse.dyndns.org/~bdaix/debian/packages unstable/
|
266
|
+
deb-src http://alysse.dyndns.org/~bdaix/debian/packages unstable/</pre>
|
267
|
+
<p>$B%$%s%9%H!<%k$,=*$o$C$?$i@_Dj%U%!%$%k$r=q$-$^$9!#(B</p>
|
268
|
+
<h2><a name="6" href="#6">6</a> <a name="label:27">$B@_Dj%U%!%$%k(B</a></h2><!-- RDLabel: "$B@_Dj%U%!%$%k(B" -->
|
269
|
+
|
270
|
+
<p>$B8D?M@_Dj%U%!%$%k$O(B ~/.langhelp/config $B$G$9!#(B
|
271
|
+
$B=c?h$J(BRuby$B%9%/%j%W%H$G$9!#(B
|
272
|
+
$B$d$d$3$7$$$G$9$,$,$s$P$C$F$/$@$5$$!#(B</p>
|
273
|
+
<p>$B=i$a$F%$%s%9%H!<%k$9$k?M$O!"(B data/langhelp/config.sample $B$r(B ~/.langhelp/config $B$X%3%T!<$7$F$/$@$5$$!#(B</p>
|
274
|
+
<p>$B@_Dj$KI,MW$J>pJs$O(B config $B%U%!%$%k$K=q$+$l$F$$$^$9!#(B
|
275
|
+
config$B%U%!%$%k$NCf$N%Q%9Ey$N5-=R$OI.<T$N4D6-$N$b$N$G$9!#(B
|
276
|
+
info $BEy$N%U%!%$%k$,JL$N%Q%9$KCV$+$l$F$$$k$N$J$iE,59$K=$@5$7$F$/$@$5$$!#(B
|
277
|
+
$BFC$K(B Windows $B4D6-$G$O!"$^$:$[$H$s$I$N>l9g%Q%9$r=q$-49$($kI,MW$,$"$k$+$H;W$$$^$9!#(B
|
278
|
+
$B>\:Y$K$D$$$F$O(Bconfig$B%U%!%$%kCf$N%3%a%s%H$K=q$$$F$"$j$^$9!#(B</p>
|
279
|
+
<p>config$B%U%!%$%k$N=$@5$r=u$1$k$?$a$K!"(B[EVAL IT] $B%^!<%/$,$D$1$i$l$?9T$rMQ0U$7$F$$$^$9!#(B
|
280
|
+
[EVAL IT]$B%^!<%/$N8e$m$K=q$+$l$F$$$k$N$,(BS$B<0$G$9!#(B
|
281
|
+
$B$=$N9T$K0\$C$F(B<kbd>C-e C-x C-e</kbd>$B$r2!$7$F(BS$B<0$rI>2A$7$F$/$@$5$$!#(B
|
282
|
+
$B%I%-%e%a%s%H$N$"$j$+$d8x<0%5%$%H$XHt$s$G$/$l$?$j$7$^$9!#(B
|
283
|
+
$B$b$7!"(BDebian GNU/Linux$B4D6-$J$i$P(B debian: $B9T$K=q$$$F$$$k%Q%C%1!<%8$r(B apt-get install $B$9$k$@$1$G%I%-%e%a%s%H$,%$%s%9%H!<%k$5$l$^$9!#(B</p>
|
284
|
+
<p>$B@_Dj%U%!%$%k$r(B1$B$+$i=q$/$N$OBgJQ$J$N$G%$%s%9%H!<%k8e$b%7%9%F%`>e$KCV$/$h$&$K$7$F$$$^$9!#(B
|
285
|
+
$B<!$N%3%^%s%I$G(Bconfig.sample$B$N$"$j$+$r=PNO$7$^$9!#(B
|
286
|
+
<a name="footmark:2" id="footmark:2" href="#foottext:2"><sup><small>*2</small></sup></a></p>
|
287
|
+
<pre>ruby -rrbconfig -e 'puts "#{Config::CONFIG["datadir"]}/langhelp/config.sample"'</pre>
|
288
|
+
<p>$B$5$C$5$H?J$_$?$$?M$O>oMQ$N8@8l$R$H$D$N$_@_Dj$7$F$/$@$5$$!#(B</p>
|
289
|
+
<h3><a name="6.1" href="#6.1">6.1</a> <a name="label:28">Quick start</a></h3><!-- RDLabel: "Quick start" -->
|
290
|
+
|
291
|
+
<p>$B$^$:(B</p>
|
292
|
+
<pre>mklanghelp --all</pre>
|
293
|
+
<p>$B$r<B9T$7$F$/$@$5$$!#%O%$%U%s$O(B2$B$D$G$9!*(B
|
294
|
+
Windows$B$N?M$O(B</p>
|
295
|
+
<pre>ruby -S mklanghelp --all</pre>
|
296
|
+
<p>$B$H$9$kI,MW$,$"$k$G$7$g$&!#(B</p>
|
297
|
+
<p>$BB?J,B?$/$N%(%i!<%a%C%;!<%8$,$G$^$9$,!"$[$H$s$I$N>l9g(B config $B$K=q$+$l$?>l=j$K%I%-%e%a%s%H$,B8:_$7$J$$$+$i$G$9!#(B
|
298
|
+
$B%(%i!<$,5/$-$?ItJ,$OL5;k$5$l!"$G$-$k8B$j:GBg8B$NEXNO$r$7$^$9!#(B</p>
|
299
|
+
<p>$B%(%i!<$,5/$-$?2U=j$K$D$$$F$O!"8e$G%I%-%e%a%s%H$r%$%s%9%H!<%k$7$?$j!"%Q%9$r=$@5$9$k$J$j!"$=$NItJ,$r%3%a%s%H%"%&%H$9$k$J$j$7$F$/$@$5$$!#(B</p>
|
300
|
+
<h3><a name="6.2" href="#6.2">6.2</a> <a name="label:29">GNUjdoc$B%I%-%e%a%s%H$NF3F~(B</a></h3><!-- RDLabel: "GNUjdoc$B%I%-%e%a%s%H$NF3F~(B" -->
|
301
|
+
|
302
|
+
<p><a href="http://openlab.ring.gr.jp/gnujdoc/">GNUjdoc</a>$B$O$?$/$5$s$N(BInfo$B%U%!%$%k$rF|K\8lLu$7$F$$$k(BGNU$B8xG'%W%m%8%'%/%H$G$9!#(B
|
303
|
+
$BF|K\?M$K$O?46/$$L#J}$H$J$k$G$7$g$&!#(B
|
304
|
+
$B$?$@$7!"(BInfo$B%U%!%$%k$XJQ49$9$k$K$O(Bautomake, autoconf$B$r%$%s%9%H!<%k$9$kI,MW$,$"$j$^$9!#(B
|
305
|
+
<a name="footmark:3" id="footmark:3" href="#foottext:3"><sup><small>*3</small></sup></a></p>
|
306
|
+
<p>$B0J2<$N<j=g$G(B ~/.langhelp/gnujdoc/ $B0J2<$K%I%-%e%a%s%H$,G[CV$5$l$^$9!#(B
|
307
|
+
config$B$N%Q%9$b$=$&$J$C$F$$$^$9!#(B</p>
|
308
|
+
<ol>
|
309
|
+
<li><a href="http://openlab.ring.gr.jp/gnujdoc/snapshot/">snapshot</a>$B$X%"%/%;%9$7$F:G?7$N%I%-%e%a%s%H$r%@%&%s%m!<%I$7$^$9!#(B</li>
|
310
|
+
<li>cd ~/.langhelp</li>
|
311
|
+
<li><p>$BE83+$7$^$9!#(B</p>
|
312
|
+
<ul>
|
313
|
+
<li>tar xjvf gnujdoc-20051129.tar.bz2</li>
|
314
|
+
<li>tar xzvf gnujdoc-20051129.tar.gz</li>
|
315
|
+
</ul></li>
|
316
|
+
<li><p>Info$B%U%!%$%k$XJQ49$7$^$9!#(B</p>
|
317
|
+
<pre>autoreconf -fi
|
318
|
+
./configure
|
319
|
+
make</pre></li>
|
320
|
+
</ol>
|
321
|
+
<h3><a name="6.3" href="#6.3">6.3</a> <a name="label:30">$B8@8l$4$H$N@_Dj(B</a></h3><!-- RDLabel: "$B8@8l$4$H$N@_Dj(B" -->
|
322
|
+
|
323
|
+
<p>langhelp$B$O(BEmacs$B>e$GF0$-$^$9!#(B
|
324
|
+
Emacs$B$K$O8fB8CN$NDL$j!"$5$^$6$^$J8@8lMQ$N%a%8%c!<%b!<%I$,B8:_$7$^$9!#(B
|
325
|
+
$B%W%m%0%i%_%s%08@8l$K8B$i$:!"@_Dj%U%!%$%k@lMQ$N%a%8%c!<%b!<%I$5$(B8:_$7$^$9!#(B
|
326
|
+
$BDL>o%a%8%c!<%b!<%I$NL>A0$O(B -mode $B$G=*$o$j$^$9!#(B</p>
|
327
|
+
<p>langhelp$B$O%a%8%c!<%b!<%I$G8@8l$rH=CG$7$^$9!#(B
|
328
|
+
$B$3$3$G(Blanghelp$B$N!V8@8lL>!W$H$O(B<em>$B%a%8%c!<%b!<%IL>$+$i(B -mode $B$r<h$j=|$$$?J8;zNs(B</em>$B$HDj5A$7$^$9!#(B
|
329
|
+
$B$?$H$($P(BRuby$B$KBP$7$F$O(Bruby-mode$B$,%a%8%c!<%b!<%I$G8@8lL>$O(Bruby$B$G$9!#(B
|
330
|
+
<a href="http://www.graphviz.org/">Graphviz</a>$B$N(BDOT$B8@8l$KBP$7$F$O(Bgraphviz-dot-mode$B$,%a%8%c!<%b!<%I$J$N$G!"(Bgraphviz-dot$B$,8@8lL>$G$9!#(B</p>
|
331
|
+
<p>$B$b$7%a%8%c!<%b!<%I$,B8:_$7$J$$$N$G$"$l$P!"(B define-generic-mode $B$d(B define-derived-mode $B$J$I$G$G$C$A$"$2$F$7$^$$$^$7$g$&!#(B
|
332
|
+
$B$?$@!"%a%8%c!<%b!<%I$,B8:_$7$F$l$P$$$$$N$G$9!#(B</p>
|
333
|
+
<pre>$BNc(B
|
334
|
+
(define-generic-mode 'foo-mode (list ?#) nil nil nil nil)
|
335
|
+
(define-derived-mode baz-mode fundamental-mode "baz")</pre>
|
336
|
+
<p>$B8@8l$4$H$N@_Dj$H$O!"(B @lang $BJQ?t$rE,@Z$K@_Dj$9$k$3$H$G$9!#(B</p>
|
337
|
+
<h4><a name="6.3.1" href="#6.3.1">6.3.1</a> <a name="label:31">Ruby$B$,$o$+$k?M8~$1$N@bL@(B</a></h4><!-- RDLabel: "Ruby$B$,$o$+$k?M8~$1$N@bL@(B" -->
|
338
|
+
|
339
|
+
<p>@lang$BJQ?t$O!"8@8lL>!J(BString$B!K$r%-!<$H$7!"!V(BHash$BMWAG$N$_$r;}$DG[Ns!W$rCM$K;}$D(BHash$B$G$9!#(B
|
340
|
+
$BG[NsFbIt$N(BHash$B$r$3$3$G$O!V%I%-%e%a%s%HDj5A!W$H8F$S$^$9!#(B</p>
|
341
|
+
<h4><a name="6.3.2" href="#6.3.2">6.3.2</a> <a name="label:32">Ruby$B$,$o$+$i$J$$?M8~$1$N@bL@(B</a></h4><!-- RDLabel: "Ruby$B$,$o$+$i$J$$?M8~$1$N@bL@(B" -->
|
342
|
+
|
343
|
+
<p>$B$3$&$$$&46$8$G@_Dj$7$^$9!#(B</p>
|
344
|
+
<pre>@lang["$B8@8lL>$,F~$j$^$9(B"] = [
|
345
|
+
{ ... },
|
346
|
+
{ ... },
|
347
|
+
] </pre>
|
348
|
+
<p>[$B$+$i(B]$B$^$G$,$=$N8@8l$N@_DjItJ,$G$9!#(B
|
349
|
+
$B$J$*!"%9%Z!<%9$NNL$OG$0U$G$9!#(B
|
350
|
+
$B9TCf$N(B # $B$+$i8e$m$O%3%a%s%H$J$N$GL5;k$5$l$^$9!#(B</p>
|
351
|
+
<p>{$B$+$i(B}$B$^$G$,!V%I%-%e%a%s%HDj5A!W$G$9!#(B</p>
|
352
|
+
<h3><a name="6.4" href="#6.4">6.4</a> <a name="label:33">$B@_Dj$NF0:n3NG'(B</a></h3><!-- RDLabel: "$B@_Dj$NF0:n3NG'(B" -->
|
353
|
+
|
354
|
+
<p>$B%P!<%8%g%s(B0.9.8$B$h$j@_Dj$NF0:n3NG'$,$G$-$k$h$&$K$J$j$^$7$?!#(B
|
355
|
+
$B%I%-%e%a%s%HDj5A$N9T$K%+!<%=%k$r$"$o$;$F(B</p>
|
356
|
+
<pre>M-x langhelp-test-definition-this-line</pre>
|
357
|
+
<p>$B$r<B9T$9$k$H!"$=$N%I%-%e%a%s%HDj5A$,=PNO$9$kL\<!$r3NG'$G$-$^$9!#(B</p>
|
358
|
+
<h3><a name="6.5" href="#6.5">6.5</a> <a name="label:34">$B%H%i%V%k%7%e!<%F%#%s%0(B</a></h3><!-- RDLabel: "$B%H%i%V%k%7%e!<%F%#%s%0(B" -->
|
359
|
+
|
360
|
+
<p>$B<!$N%3%^%s%I$GJ8K!$,@5$7$$$+%A%'%C%/$7$F$/$@$5$$!#(B</p>
|
361
|
+
<pre>ruby -c ~/.langhelp/config</pre>
|
362
|
+
<h2><a name="7" href="#7">7</a> <a name="label:35">$B;H$$J}(B</a></h2><!-- RDLabel: "$B;H$$J}(B" -->
|
363
|
+
|
364
|
+
<h3><a name="7.1" href="#7.1">7.1</a> <a name="label:36">$B$^$:$OL\<!:n@.(B</a></h3><!-- RDLabel: "$B$^$:$OL\<!:n@.(B" -->
|
365
|
+
|
366
|
+
<p>langhelp$B$O8@8l$4$H$KL\<!$r;}$A$^$9!#(B
|
367
|
+
$B@_Dj%U%!%$%k$K4p$$$FL\<!$r:n@.$9$k$N$,(B mklanghelp $B%3%^%s%I$G$9!#(B</p>
|
368
|
+
<p>$B0z?t$J$7$G5/F0$9$k$H!";H$$J}$rI=<($7$^$9!#(B</p>
|
369
|
+
<pre>mklanghelp</pre>
|
370
|
+
<p>$BI.<T$N4D6-$G$O<!$N$h$&$K=PNO$5$l$^$9!#(B</p>
|
371
|
+
<pre>Usage: mklanghelp [options] [languages]
|
372
|
+
Supported languages: planner, xnee, html, svn, bison, cvs, libtool, latex, ratpoisonrc, java, id-utils, gengetopt, wget, lua, php, texinfo, c++, c, standards, grep, rb, gdb, diff, octave, scheme, python, global, flex, tcl, m4, sed, screenrc, xmms-shell, gzip, perl, emacs-lisp, ruby, autoconf, sgrep, hurd, el4r, binutils, awk, graphviz-dot, makefile, sh
|
373
|
+
-a, --all Output index of all languages.
|
374
|
+
--home=DIR Output directory of index files.
|
375
|
+
--suffix=SUFFIX Suffix of index files [default: .e]
|
376
|
+
-c, --init-script FILE Initialize script name [default: /home/rubikitch/.langhelp/mklanghelp-init.rb]
|
377
|
+
-f Suppress read of init script.
|
378
|
+
--langs Output supported languages.
|
379
|
+
--stdout Output index into stdout.
|
380
|
+
-e, --eval=EXP Evaluate.
|
381
|
+
-d, --debug Output stack trace when error occurred.</pre>
|
382
|
+
<p>$B0z?t$K8@8lL>$rJB$Y$k$H!"$=$l$>$l$N8@8l$NL\<!$r:n@.$7$^$9!#(B
|
383
|
+
--all$B$GA4$F$N8@8l$NL\<!$r:n@.$7$^$9!#(B</p>
|
384
|
+
<pre>mklanghelp ruby emacs-lisp
|
385
|
+
mklanghelp --all</pre>
|
386
|
+
<h3><a name="7.2" href="#7.2">7.2</a> <a name="label:37">Emacs$B$K$F(B</a></h3><!-- RDLabel: "Emacs$B$K$F(B" -->
|
387
|
+
|
388
|
+
<p>langhelp$B$G4IM}$5$l$F$$$k%I%-%e%a%s%H$K%"%/%;%9$7$?$/$J$C$?$i!"(B</p>
|
389
|
+
<pre>C-c s</pre>
|
390
|
+
<p>$B$G(Blanghelp$B$r5/F0$7$F$/$@$5$$!#(B
|
391
|
+
0.9.0$B$h$j%"%C%W%0%l!<%I$9$k?M$O(Bconfig$B%U%!%$%k$K<!$N9T$r2C$($F$/$@$5$$!#$b$A$m$s$*9%$-$J%-!<$KJQ$($F$b9=$$$^$;$s!#(B</p>
|
392
|
+
<pre>@langhelp_key = '\C-cs'</pre>
|
393
|
+
<p>$B$9$k$H!"2hLL$,@Z$jBX$o$j!"(B *langhelp:$B8@8lL>(B* $B$H$$$&%P%C%U%!$,=P$F$-$^$9!#(B
|
394
|
+
$B$=$N$H$-$9$G$K(Bincremental search$B$KF~$C$F$$$k$N$G!"$=$N$^$^8!:w$7$F$/$@$5$$!#(B</p>
|
395
|
+
<p>langhelp$B$r8F=P$7$?$H$-$K!"(B</p>
|
396
|
+
<pre># (lh-ri "Array#pack")</pre>
|
397
|
+
<p>$B$J$I%+%C%3$GJq$^$l$?9T$,$?$/$5$s=P$F$-$^$9!#(B
|
398
|
+
$B:G=i$O$.$g$C$H$9$k$H;W$$$^$9$,!"<B$O(BEmacsLisp$B<0!J(BS$B<0!K$G$9!#(B
|
399
|
+
S$B<0$rI>2A$9$k$3$H$G!">pJs8;$K%"%/%;%9$7$F$$$k$N$G$9!#(B
|
400
|
+
$B$$$C$F$_$l$P!"(BS$B<0%O%$%Q!<%j%s%/$G$9!#(B
|
401
|
+
$B$3$l$O!"(BEmacsLisp$B4X?t$rE,59Dj5A$7$F$d$l$P!"$I$s$J>pJs$K$b%"%/%;%9$G$-$k$3$H$r0UL#$7$F$$$^$9!*(B
|
402
|
+
langhelp$B$,9b$$=@Fp@-$r;}$A!"!VE}9g!W%I%-%e%a%s%H8!:w4o$HL>>h$C$F$$$k$N$O!"$=$&$$$&$o$1$J$N$G$9!#(B</p>
|
403
|
+
<p>$B%+!<%=%k$N>e2<0\F0$O(Bp, n$B$K2C$($F(Bvi$BIw$N(Bk, j$B$b;H$($^$9!#(B</p>
|
404
|
+
<p>$B%j%s%/$XHt$V$K$O(Bl, RET$B$G$9!#(B
|
405
|
+
$B%j%s%/$K$O9T$r;XDj$7$F$$$k!J9THV9f$+9T$NFbMF!K>l9g$,$"$j$^$9$,!#(B
|
406
|
+
l, RET$B$O;XDj$5$l$?9T$r%&%#%s%I%&:G>eIt$KI=<($7$^$9!#(B
|
407
|
+
;, L, C$B$O;XDj$5$l$?9T$r%&%#%s%I%&Cf1{It$KI=<($7$^$9!#(B
|
408
|
+
$B$=$N$H$-!";XDj$5$l$?9T$,$o$+$k$h$&$K0l=V%O%$%i%$%H$5$l$^$9!#(B
|
409
|
+
o$B$G%j%s%/@h$N%&%#%s%I%&$X%U%)!<%+%9$r0\$7$^$9!#(B</p>
|
410
|
+
<p>$B%j%s%/$r$I$s$I$s3+$$$F$$$k$H!"%P%C%U%!$,$I$s$I$sA}$($F$$$-$^$9!#(B
|
411
|
+
K, D$B$G%j%s%/@h$N%P%C%U%!$r:o=|$G$-$^$9!#(B</p>
|
412
|
+
<p>$B8!:wCf$K(B<kbd>C-o</kbd>$B$r2!$9$H8!:wCf$NC18l$,4^$`9T$N$_$rI=<($9$k9J$j9~$_8!:w$,$G$-$^$9!#(B
|
413
|
+
$B9J$j9~$_8!:wCf$K$5$i$K9J$j9~$_8!:w$b$G$-$^$9!#(B</p>
|
414
|
+
<p>bm.el$B$,%$%s%9%H!<%k$7$F$"$l$P!"(Bm$B$G$=$N9T$K!V$7$*$j!W$r$D$1$i$l$^$9!#(BP, N(K, J)$B$G$7$*$j4V$r%8%c%s%W$G$-$^$9!#(B</p>
|
415
|
+
<p><kbd>C-c C-n</kbd>$B$G8=:_I=<(Cf$N%;%/%7%g%s$N$_$rI=<(!&A4BN$rI=<($r@Z$j49$($^$9!#(B</p>
|
416
|
+
<p>langhelp$B$+$iH4$1$k$K$O(B<kbd>C-c C-c</kbd>$B$G$9!#8F$S=P$9A0$N%&%#%s%I%&9=@.$KLa$j$^$9!#(B
|
417
|
+
$B?M$K$h$C$F$O!"%&%#%s%I%&9=@.$rJ]B8$9$k(BEmacsLisp$B$HJ;MQ$9$k$3$H$r9%$`$+$b$7$l$^$;$s!#(B
|
418
|
+
$B$=$&$$$&(BEmacsLisp$B$O(B<a href="http://www.gentei.org/~yuuji/software/windows.el">windows.el</a>$B!"(B <a href="http://www.splode.com/~friedman/software/emacs-lisp/src/escreen.el">escreen.el</a>$B!"(B<a href="http://www.morishima.net/~naoto/software/elscreen/">elscreen.el</a>$B$J$I$,$"$j$^$9!#(B
|
419
|
+
$BFHN)$7$?%U%l!<%`$KI=<($9$k$3$H$r9%$`$+$b$7$l$^$;$s!#(B</p>
|
420
|
+
<p>$B$=$NB>%-!<3d$jEv$F$N>\:Y$O(Bconfig$B%U%!%$%k$N(B@KEY_BINDING$B$r8+$F$/$@$5$$!#(B
|
421
|
+
$B=$@5$9$k$3$H$G9%$-$J%-!<$K5!G=$r3d$jEv$F$i$l$^$9!#(B</p>
|
422
|
+
<p>langhelp$B5/F08e$KL\<!$r:F@8@.$7$?$j(B config $B%U%!%$%k$rJQ99$7$?>l9g$O!"(Bel4r$B$r:F5/F0$7$F$/$@$5$$!#(B
|
423
|
+
$B$9$+$5$:H?1G$5$l$^$9!#(B</p>
|
424
|
+
<pre>M-x el4r-boot</pre>
|
425
|
+
<h4><a name="7.2.1" href="#7.2.1">7.2.1</a> <a name="label:38">C-u$B$r$D$1$k$H(Blanghelp$B$NAmL\<!(B</a></h4><!-- RDLabel: "C-u$B$r$D$1$k$H(Blanghelp$B$NAmL\<!(B" -->
|
426
|
+
|
427
|
+
<p>langhelp$B$r;H$C$F$$$k$H!":#JT=8$7$F$$$k8@8l0J30$N9`L\$r8+$?$$$H$-$,$"$j$^$9!#(B
|
428
|
+
$B$=$N$H$-$O(BC-u$B$r$D$1$F5/F0$7$F$/$@$5$$!#(B</p>
|
429
|
+
<pre>C-u C-c s</pre>
|
430
|
+
<p>$B$9$k$H!"(Blanghelp$B$,4IM}$7$F$$$kA48@8l$NL\<!$,=P$FMh$^$9!#(B
|
431
|
+
$BDL>oF1MM(Bincremental search$B$KF~$C$F$$$k$N$G!"$9$+$5$:L\E*$N8@8l$X0\F0$G$-$^$9!#(B</p>
|
432
|
+
<p>$B$^$?!"(B*langhelp:$B8@8lL>(B* $B%P%C%U%!Cf$G$b(B<kbd>d</kbd>$B$r2!$9$3$H$G!"A48@8l$NL\<!$X0\F0$G$-$^$9!#(B</p>
|
433
|
+
<h4><a name="7.2.2" href="#7.2.2">7.2.2</a> <a name="label:39">C-u C-u$B$r$D$1$k$H8=:_0LCV$NC18l$r8!:w(B</a></h4><!-- RDLabel: "C-u C-u$B$r$D$1$k$H8=:_0LCV$NC18l$r8!:w(B" -->
|
434
|
+
|
435
|
+
<p>$B%P!<%8%g%s(B0.9.7$B$h$j!"%+!<%=%k>e$NC18l$r8!:w$9$k$3$H$,$G$-$k$h$&$K$J$j$^$7$?!#(B</p>
|
436
|
+
<pre>C-u C-u C-c s</pre>
|
437
|
+
<p>$B$"$k$$$O(B</p>
|
438
|
+
<pre>M-x langhelp-at-point</pre>
|
439
|
+
<p>$B$GL\<!$+$i%+!<%=%k0LCV$NC18l$r8!:w$7$F$/$l$^$9!#(B</p>
|
440
|
+
<h2><a name="8" href="#8">8</a> <a name="label:40">$B%+%9%?%^%$%:(B</a></h2><!-- RDLabel: "$B%+%9%?%^%$%:(B" -->
|
441
|
+
|
442
|
+
<p>$B%+%9%?%^%$%:$9$k$K$O$^$:(Bconfig$B%U%!%$%k$N%3%a%s%H$K=q$+$l$F$$$k@bL@$r=OFI$7$F$/$@$5$$!#(B</p>
|
443
|
+
<p>$B;H$$$3$s$G$/$k$H!"$=$N$&$A<+J,MQ$NL\<!:n@.%/%i%9$d!"L\<!$+$i8F=P$5$l$k(BEmacsLisp$B4X?t$r=q$-$?$/$J$C$F$/$k$G$7$g$&!#(B
|
444
|
+
$BEvA3!"$=$l$J$j$N(BRuby$B$NCN<1$,I,MW$G$9!#(B</p>
|
445
|
+
<p>$B$7$+$7!"$=$3$^$G$9$kI,MW$,$"$k$3$H$O5)$G$9!#(B</p>
|
446
|
+
<p>config $B%U%!%$%k$K@bL@$,$"$k$h$&$K(B Grep $B$d(B W3MGrep $B$J$I$NHFMQL\E*$N%/%i%9$,B8:_$7$^$9!#(B
|
447
|
+
Grep$B%/%i%9$O%U%!%$%kCf$G@55,I=8=$K%^%C%A$9$k9T$N$_$rH4$-=P$7!"$=$l$rL\<!$K$7$^$9!#(B
|
448
|
+
W3MGrep$B%/%i%9$O(BGrep$B$H$[$H$s$IF1$8$G$9$,!"(Bw3m$B$K$h$j(Bplain text$B2=$5$l$?$b$N$,=hM}BP>]$G$9!#(B
|
449
|
+
HTML$B%/%i%9$O(BHTML$B%U%!%$%kCf$N=EMW$JMWAG!J(BH1$B!A(BH6$B!"(BDT$B!K$rH4$-=P$7$FL\<!$K$7$^$9!#(B
|
450
|
+
$B@55,I=8=$N@_Dj<!Bh$G(Bplain text$B$d(BHTML$B$K$h$k%^%K%e%"%k$OLdBj$J$/(Blanghelp$B$K<h$j9~$`$3$H$,$G$-$k$G$7$g$&!#(B</p>
|
451
|
+
<h3><a name="8.1" href="#8.1">8.1</a> <a name="label:41">~/.langhelp/mklanghelp-init.rb</a></h3><!-- RDLabel: "~/.langhelp/mklanghelp-init.rb" -->
|
452
|
+
|
453
|
+
<p>~/.langhelp/mklanghelp-init.rb$B$O(Bmklanghelp$B$G=hM}$9$kA0$K8F$P$l$k(BRuby$B%9%/%j%W%H$G$9!#(B
|
454
|
+
$B$3$l$K<+:nL\<!:n@.%/%i%9$r5-=R$7$F$/$@$5$$!#(B</p>
|
455
|
+
<p>$BL\<!:n@.%/%i%9(B FooIndex $B$O<!$N$h$&$KDj5A$7$^$9!#(B</p>
|
456
|
+
<ul>
|
457
|
+
<li>AbstractIndex$B%/%i%9$r7Q>5(B</li>
|
458
|
+
<li><p>Foo#init(x={}) $B$O=i4|2=$r9T$&(B</p>
|
459
|
+
<ul>
|
460
|
+
<li>x$B$O(Bconfig$B%U%!%$%k$GDj5A$5$l$F$$$k(BHash</li>
|
461
|
+
</ul></li>
|
462
|
+
<li><p>Foo#normalize_filename!(*filenames) $B$O;XDj$5$l$?3F!9$N%U%!%$%kL>$r@55,2=(B</p>
|
463
|
+
<ul>
|
464
|
+
<li>$B%U%!%$%kL>$,3JG<$5$l$F$$$kJQ?t$K$?$$$7$F$OI,$:8F$VI,MW$,$"$j$^$9(B</li>
|
465
|
+
</ul></li>
|
466
|
+
<li><p>Foo#arg1 $B$O%/%i%9L>$N%7%s%\%k!J(B:Foo$B!K$NCM(B</p>
|
467
|
+
<ul>
|
468
|
+
<li>true$B$N>l9g!"%7%'%k%3%^%s%I$,8F$P$l$k(B</li>
|
469
|
+
<li>$B47=,E*$K=hM}BP>]$r@_Dj(B</li>
|
470
|
+
</ul></li>
|
471
|
+
<li><p>Foo#to_e(out) $B$O%j%s%/$N=q$-=P$7(B</p>
|
472
|
+
<ul>
|
473
|
+
<li>out$B$O(B << $B%a%=%C%I$r;}$D!J(BIO$B!"(BString$B!"(Betc$B!K(B</li>
|
474
|
+
</ul></li>
|
475
|
+
</ul>
|
476
|
+
<p>$B>\$7$/$O(Blanghelp/lh_*.rb$B$r8+$F$/$@$5$$!#(B
|
477
|
+
$B0lHV4JC1$JL\<!:n@.%/%i%9$O(B LuaHelp $B$G$9!#(B</p>
|
478
|
+
<p>$BL\<!:n@.%/%i%9$rDj5A$G$-$?$i!"(B config $B%U%!%$%k$K@_Dj$r5-=R$7$^$9!#(B</p>
|
479
|
+
<pre>@lang["foo"] = [
|
480
|
+
{:FooIndex => true, :title=>"Foo", :cmd=>"fooindex"},
|
481
|
+
]</pre>
|
482
|
+
<p>config$B$K@_Dj$r=q$$$?$i(B</p>
|
483
|
+
<pre>mklanghelp foo</pre>
|
484
|
+
<p>$B$G(Bfoo$B$NL\<!$r:n@.$7$^$9!#$=$7$F(B el4r $B$r:F5/F0$7$^$9!#(B</p>
|
485
|
+
<pre>M-x el4r-boot</pre>
|
486
|
+
<p>Emacs$BFb$G(Bfoo-mode$B$N$H$-!"(Blanghelp$B$r5/F0$9$k$H!"(BFooIndex$B$K$h$kL\<!$,I=<($5$l$^$9!#(B
|
487
|
+
$B>e$N;XDj$N>l9g!"(B lh-fooindex $B4X?t$r8F$S=P$9$h$&$K$J$j$^$9!#(B
|
488
|
+
lh-fooindex$B4X?t$O(Bcmd$B$G;XDj$5$l$F$$$k(B fooindex $B%7%'%k%3%^%s%I$r8F=P$7$^$9!#(B</p>
|
489
|
+
<h3><a name="8.2" href="#8.2">8.2</a> <a name="label:42">~/.el4r/init.rb</a></h3><!-- RDLabel: "~/.el4r/init.rb" -->
|
490
|
+
|
491
|
+
<p>el4r$B5/F0;~$K!J$D$^$j(Blanghelp$B$b5/F0!KDj5A$5$l$k(BEmacsLisp$B4X?t$O(B ~/.el4r/init.rb $B$K=q$-$^$9!#(B
|
492
|
+
$BEvA3$3$N%U%!%$%k$O(BEmacsRuby$B$H$7$F<B9T$5$l$^$9!#(B</p>
|
493
|
+
<p>langhelp$B$G$OG$0U$NL>A0$N(BEmacsLisp$B4X?t$,;H$($^$9!#(B
|
494
|
+
$B$,!"(B lh- $B$H$$$&(Bprefix$B$r$D$1$k$H(B font-lock $B$K$h$j?'$,$D$/$h$&$K$J$j$^$9!#(B</p>
|
495
|
+
<h3><a name="8.3" href="#8.3">8.3</a> <a name="label:43">$B%U%l!<%`$r;H$o$J$$(B</a></h3><!-- RDLabel: "$B%U%l!<%`$r;H$o$J$$(B" -->
|
496
|
+
|
497
|
+
<p>$B%P!<%8%g%s(B0.9.7$B$h$j%&%#%s%I%&%7%9%F%`>e$N!J$D$^$j(B-nw$B$G$O$J$$!K(BEmacs$B$O%G%U%)%k%H$G(Blanghelp$B%U%l!<%`$r;H$&$h$&$K$J$j$^$7$?!#(B
|
498
|
+
$B%U%l!<%`7y$$$J?M$O(B ~/.langhelp/config $B$K(B</p>
|
499
|
+
<pre>@NO_FRAME = true</pre>
|
500
|
+
<p>$B$H=q$$$F$/$@$5$$!#(B</p>
|
501
|
+
<h2><a name="9" href="#9">9</a> <a name="label:44">$B0\?"@-$K$D$$$F(B</a></h2><!-- RDLabel: "$B0\?"@-$K$D$$$F(B" -->
|
502
|
+
|
503
|
+
<p>mklanghelp$B%3%^%s%I5Z$S(B lib/langhelp/*.rb $B$O!"%(%G%#%?$NFC@-$K$OA4$/0MB8$7$F$$$^$;$s!#(B
|
504
|
+
$B$=$l$i$N;E;v$O!"$?$@L\<!$r=q$-=P$9$@$1$G$9!#(B
|
505
|
+
$BM#0l(BLocal Variables$B$r=q$-=P$9$H$3$m$N$_!"(BEmacs$B$K4X78$"$k$H$3$m$G$9!#(B</p>
|
506
|
+
<p>lib/el4r/emacsruby/langhelp.rb $BAjEv$N%W%m%0%i%`$r=q$1$P!J$D$^$j!"L\<!$KEP>l$9$k$9$Y$F$N4X?t$r<BAu$9$l$P!K!"(Bxyzzy$B$J$IB>$N(BLisp$B7O%(%G%#%?$G$bF0$/$H;W$$$^$9!#(B
|
507
|
+
$BL\<!$KEP>l$9$k(BS$B<0$O$[$H$s$I$9$Y$F%M%9%H$7$F$$$J$$!J0lAH$N(B()$B$N$_!K$N$G!"(B()$B$NCf?H$rFI$_<h$l$PHs(BLisp$B7O%(%G%#%?$K$b0\?"$G$-$k$H;W$$$^$9!#(B</p>
|
508
|
+
<p>$B$b$70\?"$7$F$/$l$k?M$,$$$k$J$i$P!"4n$s$G<h$j9~$_$^$9!#(B</p>
|
509
|
+
<h2><a name="10" href="#10">10</a> <a name="label:45">$B%U%#!<%I%P%C%/(B</a></h2><!-- RDLabel: "$B%U%#!<%I%P%C%/(B" -->
|
510
|
+
|
511
|
+
<p>$B$J$K$+$o$+$i$J$$E@$,$"$j$^$7$?$i!"(Bruby-list$B%a!<%j%s%0%j%9%H$+%Z!<%8:G2<It$K$"$kEj=qH"$+$i1sN8$J$/<ALd$7$F$/$@$5$$!#(B
|
512
|
+
$BF1$8LdBj$KG:$s$G$$$k?M$,$$$k$+$b$7$l$J$$$N$G!"(Bruby-list$B$NJ}$,$*$9$9$a$G$9!#(B
|
513
|
+
langhelp$B$,L$%5%]!<%H$N8@8l$N@_Dj!"$h$j$h$$@_DjNc$bBg4?7^$G$9!#(B</p>
|
514
|
+
<h2><a name="11" href="#11">11</a> <a name="label:46">$B%i%$%;%s%9(B</a></h2><!-- RDLabel: "$B%i%$%;%s%9(B" -->
|
515
|
+
|
516
|
+
<p>GPL$B$H$7$^$9!#(B</p>
|
517
|
+
<hr />
|
518
|
+
<p>
|
519
|
+
<a name="foottext:1" id="foottext:1" href="#footmark:1"><sup><small>*1</small></sup></a><small>$B8=:_$O(BEmacs22$B$X0\9T$7$^$7$?!#(B</small><br />
|
520
|
+
<a name="foottext:2" id="foottext:2" href="#footmark:2"><sup><small>*2</small></sup></a><small>$BI.<T$N4D6-$G$O(B /usr/local/share/langhelp/config.sample $B$H=P$^$9!#(B</small><br />
|
521
|
+
<a name="foottext:3" id="foottext:3" href="#footmark:3"><sup><small>*3</small></sup></a><small>Meadow$B$@$H(BNetInstall$B$,$"$k$N$G<B$OLdBj$J$$!)(B</small><br />
|
522
|
+
</p>
|
523
|
+
</body>
|
524
|
+
</html>
|