annotate man/woman.texi @ 77221:be9753e42cdf

** Parsing URL attributes - url-mailto, url-imap, url-ldap broken? http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg00455.html Resolved.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 15 Apr 2007 16:51:17 +0000
parents b3d988b9d686
children 88224dc74061 4ef881a120fe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1 \input texinfo @c -*-texinfo-*-
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
2 @c %**start of header
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
3 @setfilename ../info/woman
46111
acf90bfa4934 Upcase the abbreviation "W.O." and add periods.
Richard M. Stallman <rms@gnu.org>
parents: 46110
diff changeset
4 @settitle WoMan: Browse Unix Manual Pages ``W.O. (without) Man''
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5 @c Manual last updated:
69681
11b616eddda4 @copyright{}, no indentation in @copying{}
Karl Berry <karl@gnu.org>
parents: 68639
diff changeset
6 @set UPDATED Time-stamp: <2006-03-25 14:59:03 karl>
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7 @c Software version:
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
8 @set VERSION 0.54 (beta)
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9 @afourpaper
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10 @c With different size paper the printed page breaks will need attention!
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
11 @c Look for @page and @need commands.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12 @setchapternewpage off
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13 @paragraphindent 0
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 @c %**end of header
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15
47737
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 46918
diff changeset
16 @copying
46111
acf90bfa4934 Upcase the abbreviation "W.O." and add periods.
Richard M. Stallman <rms@gnu.org>
parents: 46110
diff changeset
17 This file documents WoMan: A program to browse Unix manual pages `W.O.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 (without) man'.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19
64890
3723093a21fd Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 60439
diff changeset
20 Copyright @copyright{} 2001, 2002, 2003, 2004,
75348
3d45362f1d38 Add 2007 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 73947
diff changeset
21 2005, 2006, 2007 Free Software Foundation, Inc.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22
47737
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 46918
diff changeset
23 @quotation
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
24 Permission is granted to copy, distribute and/or modify this document
65555
69b3598a61c5 Update all manuals to specify GFDL version 1.2.
Romain Francoise <romain@orebokech.com>
parents: 64890
diff changeset
25 under the terms of the GNU Free Documentation License, Version 1.2 or
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
26 any later version published by the Free Software Foundation; with no
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
27 Invariant Sections, with the Front-Cover texts being ``A GNU
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
28 Manual,'' and with the Back-Cover Texts as in (a) below. A copy of the
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
29 license is included in the section entitled ``GNU Free Documentation
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
30 License'' in the Emacs manual.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
31
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
32 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
33 this GNU Manual, like GNU software. Copies published by the Free
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
34 Software Foundation raise funds for GNU development.''
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
36 This document is part of a collection distributed under the GNU Free
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
37 Documentation License. If you want to distribute this document
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
38 separately from the collection, you can do so by adding a copy of the
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
39 license to the document, as described in section 6 of the license.
47737
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 46918
diff changeset
40 @end quotation
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 46918
diff changeset
41 @end copying
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 46918
diff changeset
42
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 46918
diff changeset
43 @dircategory Emacs
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 46918
diff changeset
44 @direntry
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 46918
diff changeset
45 * WoMan: (woman). Browse UN*X Manual Pages "W.O. (without) Man".
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 46918
diff changeset
46 @end direntry
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
47
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
48 @finalout
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
49
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
50 @titlepage
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
51 @title WoMan
46111
acf90bfa4934 Upcase the abbreviation "W.O." and add periods.
Richard M. Stallman <rms@gnu.org>
parents: 46110
diff changeset
52 @subtitle Browse Unix Manual Pages ``W.O. (without) Man''
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
53 @subtitle Software Version @value{VERSION}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
54 @author Francis J. Wright
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
55 @sp 2
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
56 @author School of Mathematical Sciences
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
57 @author Queen Mary and Westfield College
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
58 @author (University of London)
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
59 @author Mile End Road, London E1 4NS, UK
73947
f5b99da95474 Update author address but say he no longer maintains it.
Richard M. Stallman <rms@gnu.org>
parents: 73498
diff changeset
60 @author @email{F.J.Wright@@qmul.ac.uk}
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
61 @author @uref{http://centaur.maths.qmw.ac.uk/}
73947
f5b99da95474 Update author address but say he no longer maintains it.
Richard M. Stallman <rms@gnu.org>
parents: 73498
diff changeset
62 @c He no longer maintains this manual.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
63 @sp 2
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
64 @author Manual Last Updated @value{UPDATED}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
65
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
66 @comment The following two commands start the copyright page.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
67 @page
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
68 @vskip 0pt plus 1filll
47737
0a70200bde27 use @copying instead of @ifinfo.
Karl Berry <karl@gnu.org>
parents: 46918
diff changeset
69 @insertcopying
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
70 @end titlepage
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
71
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
72 @contents
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
73
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
74 @c ===================================================================
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
75
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
76 @ifnottex
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
77 @node Top, Introduction, (dir), (dir)
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
78 @comment node-name, next, previous, up
46111
acf90bfa4934 Upcase the abbreviation "W.O." and add periods.
Richard M. Stallman <rms@gnu.org>
parents: 46110
diff changeset
79 @top WoMan: Browse Unix Manual Pages ``W.O. (without) Man''
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
80
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
81 @display
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
82 Software Version @value{VERSION}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
83 Manual Last Updated @value{UPDATED}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
84
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
85 @email{F.J.Wright@@qmw.ac.uk, Francis J. Wright}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
86 @uref{http://centaur.maths.qmw.ac.uk/, School of Mathematical Sciences}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
87 Queen Mary and Westfield College (University of London)
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
88 Mile End Road, London E1 4NS, UK
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
89 @end display
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
90 @end ifnottex
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
91
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
92 @menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
93 * Introduction:: Introduction
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
94 * Background:: Background
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
95 * Finding:: Finding and Formatting Man Pages
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
96 * Browsing:: Browsing Man Pages
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
97 * Customization:: Customization
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
98 * Log:: The *WoMan-Log* Buffer
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
99 * Technical:: Technical Details
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
100 * Bugs:: Reporting Bugs
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
101 * Acknowledgements:: Acknowledgements
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
102 * Command Index:: Command Index
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
103 * Variable Index:: Variable Index
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
104 * Keystroke Index:: Keystroke Index
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
105 * Concept Index:: Concept Index
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
106 @end menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
107
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
108 @c ===================================================================
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
109
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
110 @node Introduction, Background, Top, Top
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
111 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
112 @chapter Introduction
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
113 @cindex introduction
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
114
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
115 This version of WoMan should run with GNU Emacs 20.3 or later on any
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
116 platform. It has not been tested, and may not run, with any other
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
117 version of Emacs. It was developed primarily on various versions of
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
118 Microsoft Windows, but has also been tested on MS-DOS, and various
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
119 versions of UNIX and GNU/Linux.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
120
60439
56ad74aa4129 (Introduction): Minor cleanups.
Richard M. Stallman <rms@gnu.org>
parents: 54836
diff changeset
121 WoMan is distributed with GNU Emacs. In addition, the current source
56ad74aa4129 (Introduction): Minor cleanups.
Richard M. Stallman <rms@gnu.org>
parents: 54836
diff changeset
122 code and documentation files are available from
56ad74aa4129 (Introduction): Minor cleanups.
Richard M. Stallman <rms@gnu.org>
parents: 54836
diff changeset
123 @uref{http://centaur.maths.qmw.ac.uk/Emacs/WoMan/, the WoMan web
56ad74aa4129 (Introduction): Minor cleanups.
Richard M. Stallman <rms@gnu.org>
parents: 54836
diff changeset
124 server}.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
125
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
126 WoMan implements a subset of the formatting performed by the Emacs
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
127 @code{man} (or @code{manual-entry}) command to format a Unix-style
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
128 @dfn{manual page} (usually abbreviated to @dfn{man page}) for display,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
129 but without calling any external programs. It is intended to emulate
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
130 the whole of the @code{roff -man} macro package, plus those @code{roff}
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
131 requests (@pxref{Background, , Background}) that are most commonly used
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
132 in man pages. However, the emulation is modified to include the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
133 reformatting done by the Emacs @code{man} command. No hyphenation is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
134 performed.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
135
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
136 @table @b
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
137 @item Advantages
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
138 Much more direct, does not require any external programs. Supports
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
139 completion on man page names.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
140 @item Disadvantages
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
141 Not a complete emulation. Currently no support for @code{eqn} or
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
142 @code{tbl}. Slightly slower for large man pages (but usually faster for
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
143 small- and medium-size pages).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
144 @end table
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
145
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
146 This browser works quite well on simple well-written man files. It
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
147 works less well on idiosyncratic files that ``break the rules'' or use
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
148 the more obscure @code{roff} requests directly. Current test results
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
149 are available in the file
48786
90cdeb7dd535 Fix URL.
Pavel Janík <Pavel@Janik.cz>
parents: 47737
diff changeset
150 @uref{http://centaur.maths.qmw.ac.uk/Emacs/WoMan/files/woman.status,
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
151 @file{woman.status}}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
152
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
153 WoMan supports the use of compressed man files via
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
154 @code{auto-compression-mode} by turning it on if necessary. But you may
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
155 need to adjust the user option @code{woman-file-compression-regexp}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
156 @xref{Interface Options, , Interface Options}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
157
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
158 Brief help on the WoMan interactive commands and user options, all of
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
159 which begin with the prefix @code{woman-} (or occasionally
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
160 @code{WoMan-}), is available most easily by loading WoMan and then
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
161 either running the command @code{woman-mini-help} or selecting the WoMan
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
162 menu option @samp{Mini Help}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
163
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
164 WoMan is (of course) still under development! Please
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
165 @email{F.J.Wright@@qmw.ac.uk, let me know} what doesn't work---I am
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
166 adding and improving functionality as testing shows that it is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
167 necessary. Guidance on reporting bugs is given below. @xref{Bugs, ,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
168 Reporting Bugs}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
169
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
170 @c ===================================================================
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
171
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
172 @node Background, Finding, Introduction, Top
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
173 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
174 @chapter Background
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
175 @cindex background
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
176
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
177 WoMan is a browser for traditional Unix-style manual page documentation.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
178 Each such document is conventionally referred to as a @dfn{manual page},
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
179 or @dfn{man page} for short, even though some are very much longer than
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
180 one page. A man page is a document written using the Unix ``man''
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
181 macros, which are themselves written in the nroff/troff text processing
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
182 markup language. @code{nroff} and @code{troff} are text processors
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
183 originally written for the UNIX operating system by Joseph F. Ossanna at
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
184 Bell Laboratories, Murray Hill, New Jersey, USA@. They are closely
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
185 related, and except in the few cases where the distinction between them
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
186 is important I will refer to them both ambiguously as @code{roff}.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
187
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
188 @code{roff} markup consists of @dfn{requests} and @dfn{escape
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
189 sequences}. A request occupies a complete line and begins with either a
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
190 period or a single forward quote. An escape sequences is embedded
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
191 within the input text and begins (by default) with a backslash. The
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
192 original man macro package defines 20 new @code{roff} requests
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
193 implemented as macros, which were considered to be sufficient for
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
194 writing man pages. But whilst in principle man pages use only the man
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
195 macros, in practice a significant number use many other @code{roff}
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
196 requests.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
197
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
198 The distinction between @code{troff} and @code{nroff} is that
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
199 @code{troff} was designed to drive a phototypesetter whereas
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
200 @code{nroff} was designed to produce essentially @acronym{ASCII} output for a
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
201 character-based device similar to a teletypewriter (usually abbreviated
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
202 to ``teletype'' or ``tty''). Hence, @code{troff} supports much finer
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
203 control over output positioning than does @code{nroff} and can be seen
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
204 as a forerunner of @TeX{}. Traditionally, man pages are either
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
205 formatted by @code{troff} for typesetting or by @code{nroff} for
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
206 printing on a character printer or displaying on a screen. Of course,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
207 over the last 25 years or so, the distinction between typeset output on
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
208 paper and characters on a screen has become blurred by the fact that
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
209 most screens now support bit-mapped displays, so that any information
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
210 that can be printed can also be rendered on screen, the only difference
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
211 being the resolution.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
212
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
213 Nevertheless, Unix-style manual page documentation is still normally
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
214 browsed on screen by running a program called @code{man}. This program
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
215 looks in a predefined set of directories for the man page matching a
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
216 specified topic, then either formats the source file by running
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
217 @code{nroff} or recovers a pre-formatted file, and displays it via a
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
218 pager such as @code{more}. @code{nroff} normally formats for a printer,
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
219 so it paginates the output, numbers the pages, etc., most of which is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
220 irrelevant when the document is browsed as a continuous scrollable
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
221 document on screen. The only concession to on-screen browsing normally
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
222 implemented by the @code{man} program is to squeeze consecutive blank
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
223 lines into a single blank line.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
224
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
225 For some time, Emacs has offered an improved interface for browsing man
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
226 pages in the form of the Emacs @code{man} (or @code{manual-entry})
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
227 command, see @ref{Documentation, man, Documentation Commands, emacs, GNU
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
228 Emacs Manual}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
229 This command runs @code{man} as described above, perhaps in
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
230 the background, and then post-processes the output to remove much of the
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
231 @code{nroff} pagination such as page headers and footers, and places the
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
232 result into an Emacs buffer. It puts this buffer into a special major
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
233 mode, which is tailored for man page browsing, and provides a number of
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
234 useful navigation commands, support for following references, etc. It
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
235 provides some support for special display faces (fonts), but no special
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
236 menu or mouse support. The Emacs man package appears to have been
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
237 developed over about 10 years, from the late 1980s to the late 1990s.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
238
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
239 There is considerable inefficiency in having @code{nroff} paginate a
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
240 document and then removing most of the pagination!
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
241
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
242 WoMan is an Emacs Lisp library that provides an emulation of the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
243 functionality of the Emacs @code{man} command, the main difference being
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
244 that WoMan does not use any external programs. The only situation in
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
245 which WoMan might use an external program is when the source file is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
246 compressed, when WoMan will use the standard Emacs automatic
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
247 decompression facility, which does call an external program.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
248
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
249 I began developing WoMan in the Spring of 1997 and the first version was
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
250 released in May 1997. The original motivation for WoMan was the fact
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
251 that many GNU and Unix programs are ported to other platforms and come
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
252 with Unix-style manual page documentation. This may be difficult to
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
253 read because ports of the Unix-style @code{man} program can be a little
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
254 awkward to set up. I decided that it should not be too hard to emulate
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
255 the 20 @code{man} macros directly, without treating them as macros and
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
256 largely ignoring the underlying @code{roff} requests, given the text
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
257 processing capabilities of Emacs. This proved to be essentially true,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
258 and it did not take a great deal of work to be able to format simple man
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
259 pages acceptably.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
260
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
261 One problem arose with the significant number of man pages that use
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
262 @code{roff} requests in addition to the @code{man} macros, and since
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
263 releasing the first version of WoMan I have been continually extending
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
264 it to support more @code{roff} requests. WoMan can now format a
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
265 significant proportion of the man pages that I have tested, either well
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
266 or at least readably. However, I have added capabilities partly by
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
267 making additional passes through the document, a design that is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
268 fundamentally flawed. This can only be solved by a major re-design of
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
269 WoMan to handle the major formatting within a single recursive pass,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
270 rather than the present multiple passes without any significant
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
271 recursion. There are some @code{roff} requests that cannot be handled
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
272 satisfactorily within the present design. Some of these are currently
36168
df827c1def99 Clean up close-quote punctuation.
Richard M. Stallman <rms@gnu.org>
parents: 31954
diff changeset
273 handled by kludges that ``usually more or less work.''
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
274
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
275 The principle advantage of WoMan is that it does not require @code{man},
36168
df827c1def99 Clean up close-quote punctuation.
Richard M. Stallman <rms@gnu.org>
parents: 31954
diff changeset
276 and indeed the name WoMan is a contraction of ``without man.'' But it
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
277 has other advantages. It does not paginate the document, so it does not
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
278 need to un-paginate it again, thereby saving time. It could take full
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
279 advantage of the display capabilities available to it, and I hope to
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
280 develop WoMan to take advantage of developments in Emacs itself. At
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
281 present, WoMan uses several display faces to support bold and italic
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
282 text, to indicate other fonts, etc. The default faces are also
46918
82d113655734 Minor spelling and grammar corrections.
Paul Eggert <eggert@twinsun.com>
parents: 46111
diff changeset
283 colored, but the choice of faces is customizable. WoMan provides menu
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
284 support for navigation and mouse support for following references, in
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
285 addition to the navigation facilities provided by @code{man} mode.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
286 WoMan has (this) texinfo documentation!
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
287
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
288 WoMan @emph{does not} replace @code{man}, although it does use a number
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
289 of the facilities implemented in the Emacs @code{man} library. WoMan
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
290 and man can happily co-exist, which is very useful for comparison and
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
291 debugging purposes.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
292
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
293 @code{nroff} simulates non-@acronym{ASCII} characters by using one or more
52979
3649390c0f91 Replace @sc{ascii} and ASCII with @acronym{ASCII}.
Eli Zaretskii <eliz@gnu.org>
parents: 52704
diff changeset
294 @acronym{ASCII} characters. WoMan should be able to do much better than
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
295 this. I have recently begun to add support for WoMan to use more of the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
296 characters in its default font and to use a symbol font, and it is an
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
297 aspect that I intend to develop further in the near future. It should
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
298 be possible to move WoMan from an emulation of @code{nroff} to an
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
299 emulation of @code{troff} as GNU Emacs moves to providing bit-mapped
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
300 display facilities.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
301
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
302 @node Finding, Browsing, Background, Top
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
303 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
304 @chapter Finding and Formatting Man Pages
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
305 @cindex using, finding man pages
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
306 @cindex using, formatting man pages
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
307 @cindex finding man pages
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
308 @cindex formatting man pages
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
309 @cindex man pages, finding
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
310 @cindex man pages, formatting
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
311
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
312 WoMan provides three user interfaces for finding and formatting man pages:
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
313
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
314 @itemize @bullet
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
315 @item
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
316 a topic interface similar to that provided by the standard Emacs
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
317 @code{man} command;
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
318
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
319 @item
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
320 a family of filename interfaces analogous to the standard Emacs
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
321 @code{view-file} command;
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
322
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
323 @item
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
324 an automatic interface that detects the file type from its contents.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
325 (This is currently neither well tested, well supported nor recommended!)
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
326 @end itemize
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
327
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
328 The topic and filename interfaces support completion in the usual way.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
329
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
330 The topic interface is generally the most convenient for regular use,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
331 although it may require some special setup, especially if your machine
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
332 does not already have a conventional @code{man} installation (which
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
333 WoMan tries to detect).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
334
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
335 The simplest filename interface command @code{woman-find-file} can
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
336 always be used with no setup at all (provided WoMan is installed and
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
337 loaded or set up to autoload).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
338
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
339 The automatic interface always requires special setup.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
340
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
341
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
342 @heading Case-Dependence of Filenames
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
343
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
344 @cindex case-sensitivity
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
345 @vindex w32-downcase-file-names
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
346 By default, WoMan ignores case in file pathnames only when it seems
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
347 appropriate. Microsoft Windows users who want complete case
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
348 independence should set the special NTEmacs variable
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
349 @code{w32-downcase-file-names} to @code{t} and use all lower case when
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
350 setting WoMan file paths.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
351
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
352
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
353 @menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
354 * Topic:: Topic Interface
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
355 * Filename:: Filename Interface
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
356 * Automatic:: Automatic Interface
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
357 @end menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
358
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
359 @node Topic, Filename, Finding, Finding
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
360 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
361 @section Topic Interface
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
362 @cindex topic interface
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
363
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
364 The topic interface is accessed principally via the command
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
365 @code{woman}. The same command can be accessed via the menu item
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
366 @samp{Help->Manuals->Read Man Page (WoMan)...} once WoMan has been
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
367 loaded. The command reads a manual topic in the minibuffer, which can
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
368 be the @dfn{basename} of a man file anywhere in the man file
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
369 structure. The ``basename'' in this context means the filename
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
370 without any directory component and without any extension or suffix
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
371 components that relate to the file type. So, for example, if there is
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
372 a compressed source file in Chapter 5 of the UNIX Programmer's Manual
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
373 with the full pathname @file{/usr/local/man/man5/man.conf.5.gz} then
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
374 the topic is @code{man.conf}. Provided WoMan is configured correctly,
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
375 this topic will appear among the completions offered by @code{woman}.
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
376 If more than one file has the same topic name then WoMan will prompt
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
377 for which file to format. Completion of topics is case insensitive.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
378
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
379 Clearly, @code{woman} has to know where to look for man files and there
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
380 are two customizable user options that store this information:
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
381 @code{woman-manpath} and @code{woman-path}. @xref{Interface Options, ,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
382 Interface Options}. If @code{woman-manpath} is not set explicitly then
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
383 WoMan tries to pick up the information that would be used by the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
384 @code{man} command, as follows. If the environment variable
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
385 @code{MANPATH} is set, which seems to be the standard mechanism under
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
386 UNIX, then WoMan parses that. Otherwise, if WoMan can find a
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
387 configuration file named (by default) @file{man.conf} (or something very
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
388 similar), which seems to be the standard mechanism under GNU/Linux, then
76839
4a7ae61207d2 * woman.el (woman-Cyg-to-Win): Don't convert cons cells
David Kastrup <dak@gnu.org>
parents: 75348
diff changeset
389 it parses that. To be precise, ``something very similar'' means
4a7ae61207d2 * woman.el (woman-Cyg-to-Win): Don't convert cons cells
David Kastrup <dak@gnu.org>
parents: 75348
diff changeset
390 starting with @samp{man} and ending with @samp{.conf} and possibly more
4a7ae61207d2 * woman.el (woman-Cyg-to-Win): Don't convert cons cells
David Kastrup <dak@gnu.org>
parents: 75348
diff changeset
391 lowercase letters, e.g.@: @file{manual.configuration}.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
392 The search path and/or precise full path name for this file are set by
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
393 the value of the customizable user option @code{woman-man.conf-path}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
394 If all else fails, WoMan uses a plausible default man search path.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
395
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
396 If the above default configuration does not work correctly for any
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
397 reason then simply customize the value of @code{woman-manpath}. To
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
398 access man files that are not in a conventional man file hierarchy,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
399 customize the value of @code{woman-path} to include the directories
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
400 containing the files. In this way, @code{woman} can access manual files
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
401 @emph{anywhere} in the entire file system.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
402
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
403 There are two differences between @code{woman-manpath} and
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
404 @code{woman-path}. Firstly, the elements of @code{woman-manpath} must
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
405 be directories that contain @emph{directories of} man files, whereas the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
406 elements of @code{woman-path} must be directories that contain man files
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
407 @emph{directly}. Secondly, the last directory component of each element
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
408 of @code{woman-path} is treated as a regular (Emacs) match expression
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
409 rather than a fixed name, which allows collections of related
76839
4a7ae61207d2 * woman.el (woman-Cyg-to-Win): Don't convert cons cells
David Kastrup <dak@gnu.org>
parents: 75348
diff changeset
410 directories to be specified succinctly. Also, elements of
4a7ae61207d2 * woman.el (woman-Cyg-to-Win): Don't convert cons cells
David Kastrup <dak@gnu.org>
parents: 75348
diff changeset
411 @code{woman-manpath} can be conses, indicating a mapping from
4a7ae61207d2 * woman.el (woman-Cyg-to-Win): Don't convert cons cells
David Kastrup <dak@gnu.org>
parents: 75348
diff changeset
412 @samp{PATH} environment variable components to man directory
4a7ae61207d2 * woman.el (woman-Cyg-to-Win): Don't convert cons cells
David Kastrup <dak@gnu.org>
parents: 75348
diff changeset
413 hierarchies.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
414
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
415 For topic completion to work, WoMan must build a list of all the manual
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
416 files that it can access, which can be very slow, especially if a
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
417 network is involved. For this reason, it caches various amounts of
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
418 information, after which retrieving it from the cache is very fast. If
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
419 the cache ever gets out of synchronism with reality, running the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
420 @code{woman} command with a prefix argument (e.g.@: @kbd{C-u M-x woman})
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
421 will force it to rebuild its cache. This is necessary only if the names
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
422 or locations of any man files change; it is not necessary if only their
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
423 contents change. It would always be necessary if such a change occurred
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
424 whilst Emacs were running and after WoMan has been loaded. It may be
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
425 necessary if such a change occurs between Emacs sessions and persistent
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
426 caching is used, although WoMan can detect some changes that invalidate
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
427 its cache and rebuild it automatically.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
428
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
429 Customize the variable @code{woman-cache-filename} to save the cache
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
430 between Emacs sessions. This is recommended only if the @code{woman}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
431 command is too slow the first time it is run in an Emacs session, while
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
432 it builds its cache in main memory, which @emph{may} be @emph{very}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
433 slow. @xref{Cache, , The WoMan Topic Cache}, for further details.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
434
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
435
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
436 @menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
437 * Cache:: The WoMan Topic Cache
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
438 * Word at point:: Using the ``Word at Point'' as a Topic Suggestion
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
439 @end menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
440
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
441 @node Cache, Word at point, Topic, Topic
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
442 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
443 @subsection The WoMan Topic Cache
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
444 @cindex topic cache
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
445 @cindex cache, topic
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
446
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
447 The amount of information that WoMan caches (in main memory and,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
448 optionally, saved to disc) is controlled by the user option
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
449 @code{woman-cache-level}. There is a trade-off between the speed with
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
450 which WoMan can find a file and the size of the cache, and the default
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
451 setting gives a reasonable compromise.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
452
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
453 The @code{woman} command always performs a certain amount of caching in
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
454 main memory, but it can also write its cache to the filestore as a
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
455 persistent cache under control of the user option
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
456 @code{woman-cache-filename}. If persistent caching is turned on then
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
457 WoMan re-loads its internal cache from the cache file almost
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
458 instantaneously, so that there is never any perceptible start-up delay
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
459 @emph{except} when WoMan rebuilds its cache. Persistent caching is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
460 currently turned off by default. This is because users with persistent
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
461 caching turned on may overlook the need to force WoMan to rebuild its
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
462 cache the first time they run it after they have installed new man
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
463 files; with persistent caching turned off, WoMan automatically rebuilds
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
464 its cache every time it is run in a new Emacs session.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
465
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
466 A prefix argument always causes the @code{woman} command (only) to
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
467 rebuild its topic cache, and to re-save it to
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
468 @code{woman-cache-filename} if this variable has a non-@code{nil} value. This
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
469 is necessary if the @emph{names} of any of the directories or files in
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
470 the paths specified by @code{woman-manpath} or @code{woman-path} change.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
471 If WoMan user options that affect the cache are changed then WoMan will
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
472 automatically update its cache file on disc (if one is in use) the next
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
473 time it is run in a new Emacs session.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
474
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
475
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
476 @node Word at point, , Cache, Topic
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
477 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
478 @subsection Using the ``Word at Point'' as a Topic Suggestion
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
479 @cindex word at point
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
480 @cindex point, word at
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
481
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
482 By default, the @code{woman} command uses the word nearest to point in
77055
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
483 the current buffer as a suggestion for the topic to look up, if it
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
484 exists as a valid topic. The topic can be confirmed or edited in the
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
485 minibuffer.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
486
77055
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
487 You can also bind the variable @code{woman-use-topic-at-point} locally
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
488 to a non-@code{nil} value (using @code{let}), in which case
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
489 @code{woman} will can use the suggested topic without confirmation if
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
490 possible. This may be useful to provide special private key bindings,
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
491 e.g.@: this key binding for @kbd{C-c w} runs WoMan on the topic at
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
492 point without seeking confirmation:
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
493
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
494 @lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
495 (global-set-key "\C-cw"
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
496 (lambda ()
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
497 (interactive)
77055
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
498 (let ((woman-use-topic-at-point t))
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
499 (woman))))
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
500 @end lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
501
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
502
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
503 @node Filename, Automatic, Topic, Finding
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
504 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
505 @section Filename Interface
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
506 @cindex filename interface
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
507
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
508 The commands in this family are completely independent of the topic
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
509 interface, caching mechanism, etc.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
510
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
511 @findex woman-find-file
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
512 The filename interface is accessed principally via the extended command
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
513 @code{woman-find-file}, which is available without any configuration at
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
514 all (provided WoMan is installed and loaded or set up to autoload).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
515 This command can be used to browse any accessible man file, regardless
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
516 of its filename or location. If the file is compressed then automatic
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
517 file decompression must already be turned on (e.g.@: see the
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
518 @samp{Help->Options} submenu)---it is turned on automatically only by
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
519 the @code{woman} topic interface.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
520
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
521 @findex woman-dired-find-file
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
522 Once WoMan is loaded (or if specially set up), various additional
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
523 commands in this family are available. In a dired buffer, the command
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
524 @code{woman-dired-find-file} allows the file on the same line as point
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
525 to be formatted and browsed by WoMan. It is bound to the key @kbd{W} in
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
526 the dired mode map and added to the dired major mode menu. It may also
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
527 be bound to @kbd{w}, unless this key is bound by another library, which
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
528 it is by @code{dired-x}, for example. Because it is quite likely that
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
529 other libraries will extend the capabilities of such a commonly used
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
530 mode as dired, the precise key bindings added by WoMan to the dired mode
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
531 map are controlled by the user option @code{woman-dired-keys}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
532
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
533 @findex woman-tar-extract-file
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
534 When a tar (Tape ARchive) file is visited in Emacs, it is opened in tar
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
535 mode, which parses the tar file and shows a dired-like view of its
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
536 contents. The WoMan command @code{woman-tar-extract-file} allows the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
537 file on the same line as point to be formatted and browsed by WoMan. It
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
538 is bound to the key @kbd{w} in the tar mode map and added to the tar
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
539 major mode menu.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
540
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
541 The command @code{woman-reformat-last-file}, which is bound to the key
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
542 @kbd{R} in WoMan mode and available on the major mode menu, reformats
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
543 the last file formatted by WoMan. This may occasionally be useful if
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
544 formatting parameters, such as the fill column, are changed, or perhaps
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
545 if the buffer is somehow corrupted.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
546
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
547 @findex woman-decode-buffer
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
548 The command @code{woman-decode-buffer} can be used to decode and browse
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
549 the current buffer if it is visiting a man file, although it is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
550 primarily used internally by WoMan.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
551
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
552
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
553 @node Automatic, , Filename, Finding
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
554 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
555 @section Automatic Interface
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
556 @cindex automatic interface
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
557
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
558 Emacs provides an interface to detect automatically the format of a file
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
559 and decode it when it is visited. It is used primarily by the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
560 facilities for editing rich (i.e.@: formatted) text, as a way to store
52979
3649390c0f91 Replace @sc{ascii} and ASCII with @acronym{ASCII}.
Eli Zaretskii <eliz@gnu.org>
parents: 52704
diff changeset
561 formatting information transparently as @acronym{ASCII} markup. WoMan can in
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
562 principle use this interface, but it must be configured explicitly.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
563
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
564 This use of WoMan does not seem to be particularly advantageous, so it
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
565 is not really supported. It originated during early experiments on how
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
566 best to implement WoMan, before I implemented the current topic
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
567 interface, and I subsequently stopped using it. I might revive it as a
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
568 mechanism for storing pre-formatted WoMan files, somewhat analogous to
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
569 the standard Unix @code{catman} facility. In the meantime, it exists
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
570 for anyone who wants to experiment with it. Once it is set up it is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
571 simply a question of visiting the file and there is no WoMan-specific
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
572 user interface!
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
573
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
574 To use it, put something like this in your @file{.emacs} file. [The
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
575 call to @code{set-visited-file-name} is to avoid font-locking triggered
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
576 by automatic major mode selection.]
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
577
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
578 @lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
579 (autoload 'woman-decode-region "woman")
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
580
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
581 (add-to-list 'format-alist
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
582 '(man "Unix man-page source format" "\\.\\(TH\\|ig\\) "
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
583 woman-decode-region nil nil
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
584 (lambda (arg)
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
585 set-visited-file-name
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
586 (file-name-sans-extension buffer-file-name))))
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
587 @end lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
588
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
589 @c ===================================================================
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
590
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
591 @node Browsing, Customization, Finding, Top
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
592 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
593 @chapter Browsing Man Pages
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
594 @cindex using, browsing man pages
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
595 @cindex browsing man pages
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
596 @cindex man pages, browsing
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
597
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
598 Once a man page has been found and formatted, WoMan provides a browsing
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
599 interface that is essentially the same as that provided by the standard
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
600 Emacs @code{man} command (and much of the code is inherited from the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
601 @code{man} library, which WoMan currently requires). Many WoMan
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
602 facilities can be accessed from the WoMan major mode menu as well as via
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
603 key bindings, etc.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
604
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
605 WoMan does not produce any page breaks or page numbers, and in fact does
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
606 not paginate the man page at all, since this is not appropriate for
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
607 continuous online browsing. It produces a document header line that is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
608 constructed from the standard man page header and footer. Apart from
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
609 that, the appearance of the formatted man page should be almost
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
610 identical to what would be produced by @code{man}, with consecutive
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
611 blank lines squeezed to a single blank line.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
612
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
613 @menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
614 * Fonts:: Fonts and Faces
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
615 * Navigation:: Navigation
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
616 * References:: Following References
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
617 * Changing:: Changing the Current Man Page
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
618 * Convenience:: Convenience Key Bindings
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
619 * Imenu:: Imenu Support; Contents Menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
620 @end menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
621
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
622 @node Fonts, Navigation, Browsing, Browsing
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
623 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
624 @section Fonts and Faces
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
625 @cindex fonts
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
626 @cindex faces
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
627
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
628 Fonts used by @code{roff} are handled by WoMan as faces, the details of
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
629 which are customizable. @xref{Faces, , Faces}. WoMan supports both the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
630 italic and bold fonts normally used in man pages, together with a single
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
631 face to represent all unknown fonts (which are occasionally used in
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
632 ``non-standard'' man pages, usually to represent a ``typewriter'' font)
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
633 and a face to indicate additional symbols introduced by WoMan. This
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
634 currently means the characters ^ and _ used to indicate super- and
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
635 sub-scripts, which are not displayed well by WoMan.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
636
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
637
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
638 @node Navigation, References, Fonts, Browsing
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
639 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
640 @section Navigation
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
641 @cindex navigation
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
642
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
643 Man (and hence WoMan) mode can be thought of as a superset of view mode.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
644 The buffer cannot be edited, so keys that would normally self-insert are
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
645 used for navigation. The WoMan key bindings are a minor modification of
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
646 the @code{man} key bindings.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
647
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
648 @table @kbd
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
649 @item @key{SPC}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
650 @kindex SPC
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
651 @findex scroll-up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
652 Scroll the man page up the window (@code{scroll-up}).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
653
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
654 @item @key{DEL}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
655 @kindex DEL
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
656 @findex scroll-down
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
657 Scroll the man page down the window (@code{scroll-down}).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
658
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
659 @item n
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
660 @kindex n
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
661 @findex Man-next-section
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
662 Move point to the Nth next section---default 1 (@code{Man-next-section}).
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
663
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
664 @item p
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
665 @kindex p
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
666 @findex Man-previous-section
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
667 Move point to Nth previous section---default 1
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
668 (@code{Man-previous-section}).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
669
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
670 @item g
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
671 @kindex g
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
672 @findex Man-goto-section
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
673 Move point to the specified section (@code{Man-goto-section}).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
674
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
675 @item s
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
676 @kindex s
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
677 @findex Man-goto-see-also-section
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
678 Move point to the ``SEE ALSO'' section
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
679 (@code{Man-goto-see-also-section}). Actually the section moved to is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
680 described by @code{Man-see-also-regexp}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
681 @end table
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
682
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
683
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
684 @node References, Changing, Navigation, Browsing
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
685 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
686 @section Following References
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
687 @cindex following references
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
688 @cindex references
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
689
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
690 Man pages usually contain a ``SEE ALSO'' section containing references
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
691 to other man pages. If these man pages are installed then WoMan can
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
692 easily be directed to follow the reference, i.e.@: to find and format the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
693 man page. When the mouse is passed over a correctly formatted reference
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
694 it is highlighted, in which case clicking the middle button
36168
df827c1def99 Clean up close-quote punctuation.
Richard M. Stallman <rms@gnu.org>
parents: 31954
diff changeset
695 @kbd{Mouse-2} will cause WoMan to follow the reference. Alternatively,
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
696 when point is over such a reference the key @key{RET} will follow the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
697 reference.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
698
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
699 Any word in the buffer can be used as a reference by clicking
36168
df827c1def99 Clean up close-quote punctuation.
Richard M. Stallman <rms@gnu.org>
parents: 31954
diff changeset
700 @kbd{Mouse-2} over it provided the Meta key is also used (although in
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
701 general such a ``reference'' will not lead to a man page).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
702 Alternatively, the key @kbd{r} allows completion to be used to select a
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
703 reference to follow, based on the word at point as default.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
704
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
705 @table @kbd
36168
df827c1def99 Clean up close-quote punctuation.
Richard M. Stallman <rms@gnu.org>
parents: 31954
diff changeset
706 @item @kbd{Mouse-2}
df827c1def99 Clean up close-quote punctuation.
Richard M. Stallman <rms@gnu.org>
parents: 31954
diff changeset
707 @kindex Mouse-2
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
708 @findex woman-mouse-2
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
709 Run WoMan with word under mouse as topic (@code{woman-mouse-2}). The
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
710 word must be mouse-highlighted unless @code{woman-mouse-2} is used with
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
711 the Meta key.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
712
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
713 @item @key{RET}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
714 @kindex RET
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
715 @findex man-follow
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
716 Get the man page for the topic under (or nearest to) point
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
717 (@code{man-follow}).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
718
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
719 @item r
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
720 @kindex r
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
721 @findex Man-follow-manual-reference
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
722 Get one of the man pages referred to in the ``SEE ALSO'' section
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
723 (@code{Man-follow-manual-reference}). Specify which reference to use;
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
724 default is based on word at point.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
725 @end table
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
726
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
727
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
728 @node Changing, Convenience, References, Browsing
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
729 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
730 @section Changing the Current Man Page
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
731 @cindex changing current man page
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
732 @cindex current man page, changing
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
733
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
734 The man page currently being browsed by WoMan can be changed in several
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
735 ways. The command @code{woman} can be invoked to format another man
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
736 page, or the current WoMan buffer can be buried or killed. WoMan
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
737 maintains a ring of formatted man pages, and it is possible to move
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
738 forwards and backwards in this ring by moving to the next or previous
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
739 man page. It is sometimes useful to reformat the current page, for
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
740 example after the right margin (the wrap column) or some other
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
741 formatting parameter has been changed.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
742
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
743 Buffers formatted by Man and WoMan are completely unrelated, even though
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
744 some of the commands to manipulate them are superficially the same (and
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
745 share code).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
746
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
747 @table @kbd
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
748 @item m
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
749 @kindex m
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
750 @findex man
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
751 Run the command @code{man} to get a Un*x manual page and put it in a
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
752 buffer. This command is the top-level command in the man package. It
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
753 runs a Un*x command to retrieve and clean a man page in the background
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
754 and places the results in a Man mode (man page browsing) buffer. If a
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
755 man buffer already exists for this man page, it will display
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
756 immediately. This works exactly the same if WoMan is loaded, except
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
757 that the formatting time is displayed in the mini-buffer.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
758
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
759 @item w
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
760 @kindex w
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
761 @findex woman
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
762 Run the command @code{woman} exactly as if the extended command or menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
763 item had been used.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
764
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
765 @item q
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
766 @kindex q
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
767 @findex Man-quit
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
768 Bury the buffer containing the current man page (@code{Man-quit}),
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
769 i.e.@: move it to the bottom of the buffer stack.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
770
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
771 @item k
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
772 @kindex k
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
773 @findex Man-kill
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
774 Kill the buffer containing the current man page (@code{Man-kill}),
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
775 i.e.@: delete it completely so that it can be retrieved only by formatting
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
776 the page again.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
777
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
778 @item M-p
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
779 @kindex M-p
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
780 @findex WoMan-previous-manpage
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
781 Find the previous WoMan buffer (@code{WoMan-previous-manpage}).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
782
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
783 @item M-n
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
784 @kindex M-n
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
785 @findex WoMan-next-manpage
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
786 Find the next WoMan buffer (@code{WoMan-next-manpage}).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
787
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
788 @item R
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
789 @kindex R
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
790 @findex woman-reformat-last-file
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
791 Call WoMan to reformat the last man page formatted by WoMan
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
792 (@code{woman-reformat-last-file}), e.g.@: after changing the fill column.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
793 @end table
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
794
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
795
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
796 @node Convenience, Imenu, Changing, Browsing
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
797 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
798 @section Convenience Key Bindings
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
799 @cindex convenience key bindings
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
800 @cindex key bindings, convenience
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
801
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
802 @table @kbd
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
803 @item -
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
804 @kindex -
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
805 @findex negative-argument
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
806 Begin a negative numeric argument for the next command
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
807 (@code{negative-argument}).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
808
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
809 @item 0 .. 9
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
810 @kindex 0 .. 9
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
811 @findex digit-argument
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
812 Part of the numeric argument for the next command
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
813 (@code{digit-argument}).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
814
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
815 @item <
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
816 @kindex <
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
817 @itemx .
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
818 @kindex .
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
819 @findex beginning-of-buffer
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
820 Move point to the beginning of the buffer; leave mark at previous
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
821 position (@code{beginning-of-buffer}).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
822
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
823 @item >
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
824 @kindex >
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
825 @findex end-of-buffer
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
826 Move point to the end of the buffer; leave mark at previous position
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
827 (@code{end-of-buffer}).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
828
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
829 @item ?
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
830 @kindex ?
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
831 @findex describe-mode
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
832 Display documentation of current major mode and minor modes
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
833 (@code{describe-mode}). The major mode description comes first,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
834 followed by the minor modes, each on a separate page.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
835 @end table
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
836
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
837
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
838 @node Imenu, , Convenience, Browsing
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
839 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
840 @section Imenu Support; Contents Menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
841 @cindex imenu support
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
842 @cindex contents menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
843
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
844 The WoMan menu provides an option to make a contents menu for the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
845 current man page (using @code{imenu}). Alternatively, if you customize
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
846 the option @code{woman-imenu} to @code{t} then WoMan will do it
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
847 automatically for every man page. The menu title is set by the option
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
848 @code{woman-imenu-title}, which is ``CONTENTS'' by default. The menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
849 shows manual sections and subsections by default, but you can change
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
850 this by customizing @code{woman-imenu-generic-expression}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
851
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
852 WoMan is configured not to replace spaces in an imenu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
853 @code{*Completion*} buffer. For further documentation on the use of
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
854 imenu, such as menu sorting, see the source file @file{imenu.el}, which
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
855 is distributed with GNU Emacs.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
856
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
857 @c ===================================================================
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
858
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
859 @node Customization, Log, Browsing, Top
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
860 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
861 @chapter Customization
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
862 @cindex customization
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
863
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
864 All WoMan user options are customizable, and it is recommended to
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
865 change them only via the standard Emacs customization facilities.
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
866 WoMan defines a top-level customization group called @code{WoMan}
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
867 under the parent group @code{Help}. It can be accessed either via the
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
868 standard Emacs facilities, e.g.@: via the @samp{Help->Customize}
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
869 submenu, or via the WoMan major mode menu.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
870
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
871 The top-level WoMan group contains only a few general options and three
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
872 subgroups. The hooks are provided only for special purposes that, for
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
873 example, require code to be executed, and should be changed only via
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
874 @code{Customization} or the function @code{add-hook}. Most
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
875 customization should be possible via existing user options.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
876
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
877 @vtable @code
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
878 @item woman-show-log
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
879 A boolean value that defaults to @code{nil}. If non-@code{nil} then show the
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
880 @code{*WoMan-Log*} buffer if appropriate, i.e.@: if any warning messages
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
881 are written to it. @xref{Log, , The *WoMan-Log* Buffer}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
882
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
883 @item woman-pre-format-hook
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
884 A hook run immediately before formatting a buffer. It might, for
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
885 example, be used for face customization. @xref{Faces, , Faces},
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
886 however.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
887
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
888 @item woman-post-format-hook
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
889 A hook run immediately after formatting a buffer. It might, for
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
890 example, be used for installing a dynamic menu using @code{imenu}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
891 (However. in this case it is better to use the built-in WoMan
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
892 @code{imenu} support. @xref{Imenu, , Imenu Support; Contents Menu}.)
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
893 @end vtable
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
894
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
895 @heading Customization Subgroups
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
896
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
897 @table @code
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
898 @item WoMan Interface
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
899 These options control the process of locating the appropriate file to
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
900 browse, and the appearance of the browsing interface.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
901
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
902 @item WoMan Formatting
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
903 These options control the layout that WoMan uses to format the man page.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
904
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
905 @item WoMan Faces
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
906 These options control the display faces that WoMan uses to format the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
907 man page.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
908 @end table
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
909
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
910 @menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
911 * Interface Options::
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
912 * Formatting Options::
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
913 * Faces::
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
914 * Special symbols::
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
915 @end menu
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
916
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
917 @node Interface Options, Formatting Options, Customization, Customization
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
918 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
919 @section Interface Options
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
920 @cindex interface options
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
921
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
922 These options control the process of locating the appropriate file to
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
923 browse, and the appearance of the browsing interface.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
924
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
925 @vtable @code
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
926 @item woman-man.conf-path
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
927 A list of strings representing directories to search and/or files to try
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
928 for a man configuration file. The default is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
929
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
930 @lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
931 ("/etc" "/usr/local/lib")
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
932 @end lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
933
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
934 @noindent
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
935 [for GNU/Linux and Cygwin respectively.] A trailing separator (@file{/}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
936 for UNIX etc.) on directories is optional and the filename matched if a
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
937 directory is specified is the first to match the regexp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
938 @code{man.*\.conf}. If the environment variable @code{MANPATH} is not
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
939 set but a configuration file is found then it is parsed instead (or as
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
940 well) to provide a default value for @code{woman-manpath}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
941
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
942 @item woman-manpath
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
943 A list of strings representing @emph{directory trees} to search for Unix
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
944 manual files. Each element should be the name of a directory that
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
945 contains subdirectories of the form @file{man?}, or more precisely
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
946 subdirectories selected by the value of @code{woman-manpath-man-regexp}.
76839
4a7ae61207d2 * woman.el (woman-Cyg-to-Win): Don't convert cons cells
David Kastrup <dak@gnu.org>
parents: 75348
diff changeset
947 Non-directory and unreadable files are ignored. This can also contain
4a7ae61207d2 * woman.el (woman-Cyg-to-Win): Don't convert cons cells
David Kastrup <dak@gnu.org>
parents: 75348
diff changeset
948 conses, with the car indicating a @code{PATH} variable component mapped
4a7ae61207d2 * woman.el (woman-Cyg-to-Win): Don't convert cons cells
David Kastrup <dak@gnu.org>
parents: 75348
diff changeset
949 to the directory tree given in the cdr.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
950
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
951 @cindex @code{MANPATH}, environment variable
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
952 If not set then the environment variable @code{MANPATH} is used. If no
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
953 such environment variable is found, the default list is determined by
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
954 consulting the man configuration file if found. By default this is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
955 expected to be either @file{/etc/man.config} or
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
956 @file{/usr/local/lib/man.conf}, which is controlled by the user option
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
957 @code{woman-man.conf-path}. An empty substring of @code{MANPATH}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
958 denotes the default list. Otherwise, the default value of this variable
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
959 is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
960
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
961 @lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
962 ("/usr/man" "/usr/local/man")
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
963 @end lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
964
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
965 Any environment variables (names of which must have the Unix-style form
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
966 @code{$NAME}, e.g.@: @code{$HOME}, @code{$EMACSDATA}, @code{$EMACS_DIR},
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
967 regardless of platform) are evaluated first but each element must
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
968 evaluate to a @emph{single} directory name. Trailing @file{/}s are
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
969 ignored. (Specific directories in @code{woman-path} are also searched.)
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
970
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
971 On Microsoft platforms I recommend including drive letters explicitly,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
972 e.g.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
973
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
974 @lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
975 ("C:/Cygwin/usr/man" "C:/usr/man" "C:/usr/local/man")
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
976 @end lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
977
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
978 @cindex directory separator character
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
979 @cindex @code{MANPATH}, directory separator
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
980 The @code{MANPATH} environment variable may be set using DOS
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
981 semi-colon-separated or Unix-style colon-separated syntax (but not
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
982 mixed).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
983
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
984 @item woman-manpath-man-regexp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
985 A regular expression to match man directories @emph{under} the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
986 @code{woman-manpath} directories. These normally have names of the form
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
987 @file{man?}. Its default value is @code{"[Mm][Aa][Nn]"}, which is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
988 case-insensitive mainly for the benefit of Microsoft platforms. Its
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
989 purpose is to avoid directories such as @file{cat?}, @file{.},
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
990 @file{..}, etc.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
991
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
992 @item woman-path
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
993 A list of strings representing @emph{specific directories} to search for
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
994 Unix manual files. For example
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
995
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
996 @lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
997 ("/emacs/etc")
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
998 @end lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
999
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1000 These directories are searched in addition to the directory trees
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1001 specified in @code{woman-manpath}. Each element should be a directory
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1002 string or @code{nil}, which represents the current directory when the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1003 path is expanded and cached. However, the last component (only) of each
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1004 directory string is treated as a regexp (Emacs, not shell) and the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1005 string is expanded into a list of matching directories. Non-directory
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1006 and unreadable files are ignored. The default value on MS-DOS is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1007
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1008 @lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1009 ("$DJDIR/info" "$DJDIR/man/cat[1-9onlp]")
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1010 @end lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1011
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1012 @noindent
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1013 and on other platforms is @code{nil}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1014
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
1015 Any environment variables (names of which must have the Unix-style form
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1016 @code{$NAME}, e.g.@: @code{$HOME}, @code{$EMACSDATA}, @code{$EMACS_DIR},
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1017 regardless of platform) are evaluated first but each element must
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1018 evaluate to a @emph{single} directory name (regexp, see above). For
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1019 example
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1020
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1021 @lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1022 ("$EMACSDATA")
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1023 @end lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1024
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1025 @noindent
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1026 or equivalently
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1027
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1028 @lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1029 ("$EMACS_DIR/etc")
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1030 @end lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1031
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1032 @noindent
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1033 Trailing @file{/}s are discarded. (The directory trees in
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1034 @code{woman-manpath} are also searched.) On Microsoft platforms I
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1035 recommend including drive letters explicitly.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1036
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1037 @item woman-cache-level
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1038 A positive integer representing the level of topic caching:
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1039
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1040 @enumerate
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1041 @item
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1042 cache only the topic and directory lists (uses minimal memory, but not
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1043 recommended);
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1044 @item
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1045 cache also the directories for each topic (faster, without using much
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1046 more memory);
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1047 @item
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1048 cache also the actual filenames for each topic (fastest, but uses twice
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1049 as much memory).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1050 @end enumerate
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1051
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1052 The default value is currently 2, a good general compromise. If the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1053 @code{woman} command is slow to find files then try 3, which may be
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1054 particularly beneficial with large remote-mounted man directories. Run
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1055 the @code{woman} command with a prefix argument or delete the cache file
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1056 @code{woman-cache-filename} for a change to take effect. (Values < 1
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1057 behave like 1; values > 3 behave like 3.)
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1058
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1059 @item woman-cache-filename
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1060 Either a string representing the full pathname of the WoMan directory
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1061 and topic cache file, or @code{nil}. It is used to save and restore the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1062 cache between Emacs sessions. This is especially useful with
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1063 remote-mounted man page files! The default value of @code{nil}
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1064 suppresses this action. The ``standard'' non-@code{nil} filename is
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1065 @file{~/.wmncach.el}. Remember that a prefix argument forces the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1066 @code{woman} command to update and re-write the cache.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1067
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1068 @item woman-dired-keys
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1069 A list of @code{dired} mode keys to be defined to run WoMan on the
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1070 current file, e.g.@: @code{("w" "W")} or any non-@code{nil} atom to
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1071 automatically define @kbd{w} and @kbd{W} if they are unbound, or
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1072 @code{nil} to do nothing. Default is @code{t}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1073
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1074 @item woman-imenu-generic-expression
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1075 Imenu support for Sections and Subsections: an alist with elements of
36543
57371dae7dbd Fix the Copyright notices. Change UN*X -> Unix and -- -> ---.
Eli Zaretskii <eliz@gnu.org>
parents: 36514
diff changeset
1076 the form @code{(MENU-TITLE REGEXP INDEX)}---see the documentation for
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1077 @code{imenu-generic-expression}. Default value is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1078
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1079 @lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1080 ((nil "\n\\([A-Z].*\\)" 1) ; SECTION, but not TITLE
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1081 ("*Subsections*" "^ \\([A-Z].*\\)" 1))
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1082 @end lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1083
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1084 @item woman-imenu
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1085 A boolean value that defaults to @code{nil}. If non-@code{nil} then WoMan adds
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1086 a Contents menu to the menubar by calling @code{imenu-add-to-menubar}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1087
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1088 @item woman-imenu-title
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1089 A string representing the title to use if WoMan adds a Contents menu to
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1090 the menubar. Default is @code{"CONTENTS"}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1091
77055
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
1092 @item woman-use-topic-at-point
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
1093 A boolean value that defaults to @code{nil}. If non-@code{nil} then
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
1094 the @code{woman} command uses the word at point as the topic,
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
1095 @emph{without interactive confirmation}, if it exists as a topic.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1096
77055
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
1097 @item woman-use-topic-at-point-default
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
1098 A boolean value representing the default value for
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
1099 @code{woman-use-topic-at-point}. The default value is @code{nil}.
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
1100 [The variable @code{woman-use-topic-at-point} may be @code{let}-bound
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
1101 when @code{woman} is loaded, in which case its global value does not
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
1102 get defined. The function @code{woman-file-name} sets it to this
b3d988b9d686 (Word at point, Interface Options): woman-topic-at-point renamed to
Chong Yidong <cyd@stupidchicken.com>
parents: 76839
diff changeset
1103 value if it is unbound.]
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1104
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1105 @item woman-uncompressed-file-regexp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1106 A regular match expression used to select man source files (ignoring any
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1107 compression extension). The default value is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1108 @code{"\\.\\([0-9lmnt]\\w*\\)"} [which means a filename extension is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1109 required].
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1110
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1111 @emph{Do not change this unless you are sure you know what you are doing!}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1112
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1113 The SysV standard man pages use two character suffixes, and this is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1114 becoming more common in the GNU world. For example, the man pages in
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1115 the @code{ncurses} package include @file{toe.1m}, @file{form.3x}, etc.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1116
52704
980a04480377 Fix @strong{Note:}.
Richard M. Stallman <rms@gnu.org>
parents: 52401
diff changeset
1117 @strong{Please note:} an optional compression regexp will be appended,
980a04480377 Fix @strong{Note:}.
Richard M. Stallman <rms@gnu.org>
parents: 52401
diff changeset
1118 so this regexp @emph{must not} end with any kind of string terminator
980a04480377 Fix @strong{Note:}.
Richard M. Stallman <rms@gnu.org>
parents: 52401
diff changeset
1119 such as @code{$} or @code{\\'}.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1120
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1121 @item woman-file-compression-regexp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1122 A regular match expression used to match compressed man file extensions
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1123 for which decompressors are available and handled by auto-compression
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1124 mode. It should begin with @code{\\.} and end with @code{\\'} and
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1125 @emph{must not} be optional. The default value is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1126 @code{"\\.\\(g?z\\|bz2\\)\\'"}, which matches the @code{gzip} and
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1127 @code{bzip2} compression extensions.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1128
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1129 @emph{Do not change this unless you are sure you know what you are doing!}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1130
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1131 [It should be compatible with the @code{car} of
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1132 @code{jka-compr-file-name-handler-entry}, but that is unduly
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1133 complicated, includes an inappropriate extension (@file{.tgz}) and is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1134 not loaded by default!]
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1135
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1136 @item woman-use-own-frame
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1137 If non-@code{nil} then use a dedicated frame for displaying WoMan windows.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1138 This is useful only when WoMan is run under a window system such as X or
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1139 Microsoft Windows that supports real multiple frames, in which case the
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1140 default value is non-@code{nil}.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1141 @end vtable
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1142
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1143
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1144 @node Formatting Options, Faces, Interface Options, Customization
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1145 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1146 @section Formatting Options
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1147 @cindex formatting options
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1148
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1149 These options control the layout that WoMan uses to format the man page.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1150
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1151 @vtable @code
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1152 @item woman-fill-column
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1153 An integer specifying the right margin for formatted text. Default is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1154 65.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1155
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1156 @item woman-fill-frame
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1157 A boolean value. If non-@code{nil} then most of the frame width is used,
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1158 overriding the value of @code{woman-fill-column}. Default is @code{nil}.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1159
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1160 @item woman-default-indent
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1161 An integer specifying the default prevailing indent for the @code{-man}
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1162 macros. Default is 5. Set this variable to 7 to emulate GNU/Linux man
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1163 formatting.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1164
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1165 @item woman-bold-headings
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1166 A boolean value. If non-@code{nil} then embolden section and subsection
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1167 headings. Default is @code{t}. [Heading emboldening is @emph{not} standard
46918
82d113655734 Minor spelling and grammar corrections.
Paul Eggert <eggert@twinsun.com>
parents: 46111
diff changeset
1168 @code{man} behavior.]
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1169
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1170 @item woman-ignore
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1171 A boolean value. If non-@code{nil} then unrecognised requests etc. are
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
1172 ignored. Default is @code{t}. This gives the standard @code{roff} behavior.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1173 If @code{nil} then they are left in the buffer, which may aid debugging.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1174
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1175 @item woman-preserve-ascii
52979
3649390c0f91 Replace @sc{ascii} and ASCII with @acronym{ASCII}.
Eli Zaretskii <eliz@gnu.org>
parents: 52704
diff changeset
1176 A boolean value. If non-@code{nil} then preserve @acronym{ASCII} characters in the
3649390c0f91 Replace @sc{ascii} and ASCII with @acronym{ASCII}.
Eli Zaretskii <eliz@gnu.org>
parents: 52704
diff changeset
1177 WoMan buffer. Otherwise, non-@acronym{ASCII} characters (that display as
3649390c0f91 Replace @sc{ascii} and ASCII with @acronym{ASCII}.
Eli Zaretskii <eliz@gnu.org>
parents: 52704
diff changeset
1178 @acronym{ASCII}) may remain, which is irrelevant unless the buffer is to be
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1179 saved to a file. Default is @code{nil}.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1180
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1181 @item woman-emulation
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
1182 WoMan emulation, currently either @code{nroff} or @code{troff}. Default
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
1183 is @code{nroff}. @code{troff} emulation is experimental and largely
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1184 untested.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1185 @end vtable
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1186
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1187
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1188 @node Faces, Special symbols, Formatting Options, Customization
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1189 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1190 @section Faces
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1191 @cindex faces
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1192
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1193 These options control the display faces that WoMan uses to format the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1194 man page.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1195
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1196 @vtable @code
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1197 @item woman-fontify
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1198 A boolean value. If non-@code{nil} then WoMan assumes that face support is
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1199 available. It defaults to a non-@code{nil} value if the display supports
46918
82d113655734 Minor spelling and grammar corrections.
Paul Eggert <eggert@twinsun.com>
parents: 46111
diff changeset
1200 either colors or different fonts.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1201
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1202 @item woman-italic-face
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1203 Face for italic font in man pages. Default: italic, underlined,
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
1204 foreground red. This is overkill! @code{troff} uses just italic;
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
1205 @code{nroff} uses just underline. You should probably select either
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1206 italic or underline as you prefer, but not both, although italic and
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1207 underline work together perfectly well!
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1208
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1209 @item woman-bold-face
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1210 Face for bold font in man pages. Default: bold, foreground blue.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1211
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1212 @item woman-unknown-face
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1213 Face for all unknown fonts in man pages. Default: foreground brown.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1214 Brown is a good compromise: it is distinguishable from the default but
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1215 not enough so as to make font errors look terrible. (Files that use
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1216 non-standard fonts seem to do so badly or in idiosyncratic ways!)
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1217
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1218 @item woman-addition-face
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1219 Face for all additions made by WoMan to man pages.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1220 Default: foreground orange.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1221 @end vtable
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1222
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1223
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1224 @node Special symbols, , Faces, Customization
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1225 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1226 @section Special symbols
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1227 @cindex special symbols
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1228
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1229 This section currently applies @emph{only} to Microsoft Windows.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1230
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1231 WoMan provides partial experimental support for special symbols,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1232 initially only for MS-Windows and only for MS-Windows fonts. This
52979
3649390c0f91 Replace @sc{ascii} and ASCII with @acronym{ASCII}.
Eli Zaretskii <eliz@gnu.org>
parents: 52704
diff changeset
1233 includes both non-@acronym{ASCII} characters from the main text font and use
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1234 of a separate symbol font. Later, support will be added for other font
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1235 types (e.g.@: @code{bdf} fonts) and for the X Window System. In Emacs
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1236 20.7, the current support works partially under Windows 9x but may not
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1237 work on any other platform.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1238
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1239 @vtable @code
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1240 @item woman-use-extended-font
52979
3649390c0f91 Replace @sc{ascii} and ASCII with @acronym{ASCII}.
Eli Zaretskii <eliz@gnu.org>
parents: 52704
diff changeset
1241 A boolean value. If non-@code{nil} then WoMan may use non-@acronym{ASCII} characters
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1242 from the default font. Default is @code{t}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1243
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1244 @item woman-use-symbol-font
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1245 A boolean value. If non-@code{nil} then WoMan may use the symbol font.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1246 Default is @code{nil}, mainly because it may change the line spacing (at
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1247 least in NTEmacs 20).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1248
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1249 @item woman-symbol-font
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1250 A string describing the symbol font to use for special characters.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1251 It should be compatible with, and the same size as, the default text font.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1252 Under MS-Windows, the default is
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1253
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1254 @lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1255 "-*-Symbol-normal-r-*-*-*-*-96-96-p-*-ms-symbol"
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1256 @end lisp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1257 @end vtable
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1258
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1259
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1260 @c ===================================================================
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1261
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1262 @node Log, Technical, Customization, Top
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1263 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1264 @chapter The *WoMan-Log* Buffer
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1265 @cindex log buffer
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1266 @cindex buffer, log
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1267
46918
82d113655734 Minor spelling and grammar corrections.
Paul Eggert <eggert@twinsun.com>
parents: 46111
diff changeset
1268 This is modeled on the Emacs byte-compiler. It logs all files
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1269 formatted by WoMan and the time taken. If WoMan finds anything that it
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1270 cannot handle then it writes a warning to this buffer. If the variable
36514
9f8d10fad236 Fix Texinfo usage. Write GNU/Linux, not Linux.
Richard M. Stallman <rms@gnu.org>
parents: 36168
diff changeset
1271 @code{woman-show-log} is non-@code{nil} (by default it is @code{nil}) then
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1272 WoMan automatically displays this buffer. @xref{Interface Options, ,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1273 Interface Options}. Many WoMan warnings can be completely ignored,
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1274 because they are reporting the fact that WoMan has ignored requests that
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1275 it is correct for WoMan to ignore. In some future version this level of
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1276 paranoia may be reduced, but not until WoMan is deemed more reliable.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1277 At present, all warnings should be treated with some suspicion.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1278 Uninterpreted escape sequences are also logged (in some cases).
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1279
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1280 By resetting the variable @code{woman-ignore} to @code{nil} (by default
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
1281 it is @code{t}), uninterpreted @code{roff} requests can optionally be
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1282 left in the formatted buffer to indicate precisely where they occurred.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1283 @xref{Interface Options, , Interface Options}.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1284
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1285 @c ===================================================================
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1286
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1287 @node Technical, Bugs, Log, Top
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1288 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1289 @chapter Technical Details
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1290 @cindex technical details
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1291 @cindex horizontal spacing
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1292 @cindex spacing, horizontal and vertical
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1293 @cindex vertical spacing
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1294 @cindex resolution
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1295
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1296 @heading Horizontal and vertical spacing and resolution
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1297
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1298 WoMan currently assumes 10 characters per inch horizontally, hence a
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1299 horizontal resolution of 24 basic units, and 5 lines per inch
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1300 vertically, hence a vertical resolution of 48 basic units.
73498
7e38ba4d2476 Downcase nroff/troff/roff.
Richard M. Stallman <rms@gnu.org>
parents: 69681
diff changeset
1301 (@code{nroff} uses 240 per inch.)
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1302
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1303 @heading Vertical spacing and blank lines
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1304
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1305 The number of consecutive blank lines in the formatted buffer should be
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1306 either 0 or 1. A blank line should leave a space like .sp 1.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1307 Current policy is to output vertical space only immediately before text
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1308 is output.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1309
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1310 @c ===================================================================
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1311
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1312 @node Bugs, Acknowledgements, Technical, Top
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1313 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1314 @chapter Reporting Bugs
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1315 @cindex reporting bugs
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1316 @cindex bugs, reporting
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1317
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1318 If WoMan fails completely, or formats a file incorrectly (i.e.@:
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1319 obviously wrongly or significantly differently from @code{man}) or
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1320 inelegantly, then please
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1321
46110
3c7e78fd0dae Update bug recommendations for being part of Emacs distribution.
Richard M. Stallman <rms@gnu.org>
parents: 43962
diff changeset
1322 @enumerate
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1323 @item
46110
3c7e78fd0dae Update bug recommendations for being part of Emacs distribution.
Richard M. Stallman <rms@gnu.org>
parents: 43962
diff changeset
1324 try the latest version of @file{woman.el} from the Emacs CVS repository
3c7e78fd0dae Update bug recommendations for being part of Emacs distribution.
Richard M. Stallman <rms@gnu.org>
parents: 43962
diff changeset
1325 on @uref{http://savannah.gnu.org/}. If it still fails, please
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1326
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1327 @item
46110
3c7e78fd0dae Update bug recommendations for being part of Emacs distribution.
Richard M. Stallman <rms@gnu.org>
parents: 43962
diff changeset
1328 send a bug report to @email{bug-gnu-emacs@@gnu.org} and to
3c7e78fd0dae Update bug recommendations for being part of Emacs distribution.
Richard M. Stallman <rms@gnu.org>
parents: 43962
diff changeset
1329 @email{F.J.Wright@@qmw.ac.uk}. Please include the entry from the
3c7e78fd0dae Update bug recommendations for being part of Emacs distribution.
Richard M. Stallman <rms@gnu.org>
parents: 43962
diff changeset
1330 @code{*WoMan-Log*} buffer relating to the problem file, together with
3c7e78fd0dae Update bug recommendations for being part of Emacs distribution.
Richard M. Stallman <rms@gnu.org>
parents: 43962
diff changeset
1331 a brief description of the problem. Please indicate where you got the
3c7e78fd0dae Update bug recommendations for being part of Emacs distribution.
Richard M. Stallman <rms@gnu.org>
parents: 43962
diff changeset
1332 man source file from, but do not send it unless asked to send it.
30659
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1333 @end enumerate
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1334
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1335 @c ===================================================================
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1336
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1337 @node Acknowledgements, Command Index, Bugs, Top
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1338 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1339 @chapter Acknowledgements
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1340 @cindex acknowledgements
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1341
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1342 For Heather, Kathryn and Madelyn, the women in my life (although they
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1343 will probably never use it)!
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1344
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1345 I also thank the following for helpful suggestions, bug reports, code
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1346 fragments, general interest, etc.:
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1347
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1348 @quotation
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1349 Jari Aalto, @email{jari.aalto@@cs.tpu.fi}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1350 Dean Andrews, @email{dean@@dra.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1351 Juanma Barranquero, @email{barranquero@@laley-actualidad.es}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1352 Karl Berry, @email{kb@@cs.umb.edu}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1353 Jim Chapman, @email{jchapman@@netcomuk.co.uk}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1354 Frederic Corne, @email{frederic.corne@@erli.fr}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1355 Peter Craft, @email{craft@@alacritech.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1356 Charles Curley, @email{ccurley@@trib.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1357 Jim Davidson, @email{jdavidso@@teknowledge.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1358 Kevin D'Elia, @email{Kevin.DElia@@mci.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1359 John Fitch, @email{jpff@@maths.bath.ac.uk}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1360 Hans Frosch, @email{jwfrosch@@rish.b17c.ingr.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1361 Guy Gascoigne-Piggford, @email{ggp@@informix.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1362 Brian Gorka, @email{gorkab@@sanchez.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1363 Nicolai Henriksen, @email{nhe@@lyngso-industri.dk}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1364 Thomas Herchenroeder, @email{the@@software-ag.de}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1365 Alexander Hinds, @email{ahinds@@thegrid.net}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1366 Stefan Hornburg, @email{sth@@hacon.de}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1367 Theodore Jump, @email{tjump@@cais.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1368 Paul Kinnucan, @email{paulk@@mathworks.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1369 Jonas Linde, @email{jonas@@init.se}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1370 Andrew McRae, @email{andrewm@@optimation.co.nz}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1371 Howard Melman, @email{howard@@silverstream.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1372 Dennis Pixton, @email{dennis@@math.binghamton.edu}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1373 T. V. Raman, @email{raman@@Adobe.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1374 Bruce Ravel, @email{bruce.ravel@@nist.gov}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1375 Benjamin Riefenstahl, @email{benny@@crocodial.de}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1376 Kevin Ruland, @email{kruland@@seistl.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1377 Tom Schutter, @email{tom@@platte.com}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1378 Wei-Xue Shi, @email{wxshi@@ma.neweb.ne.jp}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1379 Fabio Somenzi, @email{fabio@@joplin.colorado.edu}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1380 Karel Sprenger, @email{ks@@ic.uva.nl}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1381 Chris Szurgot, @email{szurgot@@itribe.net}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1382 Paul A. Thompson, @email{pat@@po.cwru.edu}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1383 Arrigo Triulzi, @email{arrigo@@maths.qmw.ac.uk}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1384 Geoff Voelker, @email{voelker@@cs.washington.edu}@*
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1385 Eli Zaretskii, @email{eliz@@is.elta.co.il}
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1386 @end quotation
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1387
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1388 @c ===================================================================
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1389
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1390 @comment END OF MANUAL TEXT
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1391 @page
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1392
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1393 @node Command Index, Variable Index, Acknowledgements, Top
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1394 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1395 @unnumbered Command Index
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1396
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1397 @printindex fn
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1398
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1399 @node Variable Index, Keystroke Index, Command Index, Top
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1400 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1401 @unnumbered Variable Index
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1402
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1403 @printindex vr
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1404
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1405 @c Without a page throw here, the page length seems to get reset to the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1406 @c depth of the index that fits on the page after the previous index.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1407 @c This must be a bug!
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1408
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1409 @page
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1410
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1411 @node Keystroke Index, Concept Index, Variable Index, Top
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1412 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1413 @unnumbered Keystroke Index
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1414
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1415 @printindex ky
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1416
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1417 @c Without a page throw here, the page length seems to get reset to the
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1418 @c depth of the index that fits on the page after the previous index.
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1419 @c This must be a bug!
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1420
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1421 @page
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1422
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1423 @node Concept Index, , Keystroke Index, Top
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1424 @comment node-name, next, previous, up
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1425 @unnumbered Concept Index
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1426
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1427 @printindex cp
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1428
ebfc33859f55 File added to the Emacs distribution.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1429 @bye
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48786
diff changeset
1430
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48786
diff changeset
1431 @ignore
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48786
diff changeset
1432 arch-tag: a1a6b715-396f-4378-9b94-0b2ca0aa5028
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48786
diff changeset
1433 @end ignore