annotate man/mh-e.texi @ 78:c7528f8e288d r20-0b34

Import from CVS: tag r20-0b34
author cvs
date Mon, 13 Aug 2007 09:05:42 +0200
parents 131b0175ea99
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 \input texinfo @c -*-texinfo-*-
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 0
diff changeset
2 @c $Id: mh-e.texi,v 1.1.1.1 1996/12/18 22:43:45 steve Exp $
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 @c Time-stamp: <95/04/14 19:05:01 gildea>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 @c %**start of header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 @setfilename ../info/mh-e.info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 @settitle mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 @c %**end of header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 @setchapternewpage odd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 @c Version variables.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 @set EDITION 1.2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 @set VERSION 5.0.2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 @set UPDATED 22 August 1995
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 @set UPDATE-MONTH August 1995
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 This is Edition @value{EDITION}, last updated @value{UPDATED}, of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 @cite{mh-e, The Emacs Interface to MH}, for mh-e, Version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 @value{VERSION}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 Copyright 1995 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 Permission is granted to make and distribute verbatim
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 copies of this manual provided the copyright notice and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 this permission notice are preserved on all copies.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 @ignore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 Permission is granted to process this file through TeX
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 and print the results, provided the printed document
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 carries a copying permission notice identical to this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 one except for the removal of this paragraph (this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 paragraph not being relevant to the printed manual).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 @end ignore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 Permission is granted to copy and distribute modified
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 versions of this manual under the conditions for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 verbatim copying, provided also that the section
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 entitled ``Copying''
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 is included exactly as in the original, and provided
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 that the entire resulting derived work is distributed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 under the terms of a permission notice identical to this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 Permission is granted to copy and distribute
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 translations of this manual into another language,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 under the above conditions for modified versions,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 except that this permission notice may be stated in a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 translation approved by the Free Software Foundation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 @titlepage
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 @sp 10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 @center @titlefont{mh-e}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 @sp 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 @center The Emacs Interface to MH
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 @sp 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 @center by Bill Wohler
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 @sp 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 @center Edition @value{EDITION} for mh-e Version @value{VERSION}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 @sp 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 @center @value{UPDATE-MONTH}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 @page
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 @vskip 0pt plus 1filll
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 Copyright @copyright{} 1995 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 Permission is granted to make and distribute verbatim
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 copies of this manual provided the copyright notice and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 this permission notice are preserved on all copies.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 Permission is granted to copy and distribute modified
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 versions of this manual under the conditions for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 verbatim copying, provided also that the section
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 entitled ``The GNU General Public License''
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 is included exactly as in the original, and provided
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 that the entire resulting derived work is distributed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 under the terms of a permission notice identical to this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 Permission is granted to copy and distribute
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 translations of this manual into another language,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 under the above conditions for modified versions,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 except that this permission notice may be stated in a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 translation approved by the Free Software Foundation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 @end titlepage
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 @node Top, Preface, (dir), (dir)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 @top MH and Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 This is Edition @value{EDITION} of @cite{mh-e, The Emacs Interface to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 MH}, last updated @value{UPDATED} for mh-e Version @value{VERSION}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 * Preface:: Introduction to mh-e.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 * Tour Through mh-e:: Use mh-e quickly!
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 * Using mh-e:: Documentation for all commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 * Customizing mh-e:: Documentation for all variables.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 * Odds and Ends:: Getting mh-e, reporting bugs, mailing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 list and FAQ.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 * History:: The authors speak up!
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 * Changes to mh-e:: Actual changes between Versions 3 and beyond.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 * Copying:: The GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 * Command Index::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 * Variable Index::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 * Concept Index::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 @node Preface, Tour Through mh-e, Top, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 @unnumbered Preface
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 @cindex Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 @cindex Unix commands, Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 These chapters introduce another interface to MH that is accessible
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 through the GNU Emacs editor, namely, @emph{mh-e}. mh-e is easy to use.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 I don't assume that you know GNU Emacs or even MH at this point, since I
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 didn't know either of them when I discovered mh-e. However, mh-e was
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 the tip of the iceberg, and I discovered more and more niceties about
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 GNU Emacs and MH@. Now I'm fully hooked on both of them.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 @cindex history
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 The mh-e package is distributed with GNU Emacs, @footnote{Note that mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 is supported with MH 6 and either GNU @w{Emacs 18} or GNU @w{Emacs 19}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 Reportedly, large parts of it work with @w{MH 5} and also with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 Lucid/XEmacs and Epoch, but there are no guarantees. It is also
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 distributed with Lucid/XEmacs, as well as with MH itself.} so you shouldn't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 have to do anything special to use it. But it's important to note a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 brief history of mh-e. @w{Version 3} was prevalent through the @w{Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 18} and early @w{Emacs 19} years. Then @w{Version 4} came out (@w{Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 19.23}), which introduced several new and changed commands. Finally,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 @w{Version 5.0} was released, which fixed some bugs and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 incompatibilities. This is the version covered by this manual.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 @ref{Getting Started} will help you decide which version you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 have.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 If you don't already use GNU Emacs but want to learn more, you can read
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 an online tutorial by starting GNU Emacs and typing @kbd{C-h t}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 (@code{help-with-tutorial}). (This notation is described in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 @ref{Conventions}.) If you want to take the plunge, consult the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 @iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 @cite{GNU Emacs Manual},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 @end iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 @ref{top, , GNU Emacs Manual, emacs, The GNU Emacs Manual},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 from the Free Software Foundation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 If more information is needed, you can go to the Unix manual pages of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 the individual MH commands. When the name is not obvious, I'll guide
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 you to a relevant MH manual page that describes the action more fully.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 I hope you enjoy these chapters! If you have any comments, or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 suggestions for this document, please let me know.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 @noindent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 Bill Wohler <@i{wohler@@newt.com}>@*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 8 February 1995
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 @node Tour Through mh-e, Using mh-e, Preface, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 @chapter Tour Through mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 This chapter introduces some of the terms you'll need to know and then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 takes you on a tour of mh-e. @footnote{The keys mentioned in these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 chapters refer to the default key bindings. If you've changed the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 bindings, refer to the command summaries at the beginning of each major
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 section in @ref{Using mh-e}, for a mapping between default key bindings
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 and function names.} When you're done, you'll be able to send, read,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 and file mail, which is all that a lot of people ever do. But if you're
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 the curious type, you'll read @ref{Using mh-e} to be able to use all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 the features of mh-e. If you're the adventurous type, you'll read
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 @ref{Customizing mh-e} to make mh-e do what you want. I suggest you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 read this chapter first to get the big picture, and then you can read
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 the other two as you wish.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 * Conventions:: GNU Emacs Terms and Conventions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 * Getting Started::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 * Sending Mail Tour::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 * Reading Mail Tour::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 * Processing Mail Tour::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 * Leaving mh-e::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 * More About mh-e::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 @node Conventions, Getting Started, Tour Through mh-e, Tour Through mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 @section GNU Emacs Terms and Conventions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 @cindex Emacs, terms and conventions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 @cindex Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 @cindex Unix commands, Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 If you're an experienced Emacs user, you can skip the following
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 conventions and definition of terms and go directly to @ref{Getting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 Started} below. The conventions are as follows:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 @item C-x
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 Hold down the @key{CTRL} (Control) key and press the @kbd{x} key.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 @item M-x
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 Hold down the @key{META} or @key{ALT} key and press the @kbd{x} key.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 Since some keyboards don't have a @key{META} key, you can generate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 @kbd{M-x}, for example, by pressing @key{ESC} (Escape), @emph{releasing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 it}, @footnote{This is emphasized because pressing ESC twice or holding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 it down a second too long so that it repeats gives you an error message.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 and then pressing the @kbd{x} key.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 @item RET
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 Press the @key{RETURN} or @key{ENTER} key. This is normally used to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 complete a command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 @item SPC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 Press the space bar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 @item TAB
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 Press the @key{TAB} key.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 @item DEL
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 Press the @key{DELETE} key. This may also be a Backspace key, depending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 on your keyboard or Emacs configuration.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 @cindex Emacs, prefix argument
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 @cindex prefix argument
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 A @dfn{prefix argument} allows you to pass an argument to any Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 function. To pass an argument, type @kbd{C-u} before the Emacs command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 or keystroke. Numeric arguments can be passed as well. For example, to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 insert five f's, use @kbd{C-u 5 f}. There is a default of four when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 using @kbd{C-u}, and you can use multiple prefix arguments to provide
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 arguments of powers of four. To continue our example, you could insert
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 four f's with @kbd{C-u f}, 16 f's with @kbd{C-u C-u f}, 64 f's with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 @kbd{C-u C-u C-u f}, and so on. Numeric and valueless negative
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 arguments can also be inserted with the @key{META} key. Examples
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 include @kbd{M-5} to specify an argument of 5, or @kbd{M--} which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 specifies a negative argument with no particular value.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 @sp 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 @need 1000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 @center @strong{NOTE}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 @quotation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 The prefix @kbd{C-u} or @kbd{M-} is not necessary in mh-e's MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 modes (@pxref{Reading Mail Tour}). In these modes, simply enter the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 numerical argument before entering the command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 @end quotation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 @cindex point
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 @cindex Emacs, point
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 @cindex mark
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 @cindex Emacs, mark
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 @cindex region
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 @cindex Emacs, region
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 There are several other terms that are used in Emacs that you should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 know. The @dfn{point} is where the cursor currently is. You can save
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 your current place in the file by setting a @dfn{mark}. This operation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 is useful in several ways. The mark can be later used when defining a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 @dfn{region}, which is the text between the point and mark. Many
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 commands operate on regions, such as those for deleting text or filling
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 paragraphs. A mark can be set with @kbd{C-@@} (or @kbd{C-SPC}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 @cindex minibuffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 @cindex Emacs, minibuffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 @cindex file completion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 @cindex Emacs, file completion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 The @dfn{minibuffer} is the bottom line of the Emacs window, where all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 prompting and multiple-character input is directed. If you are prompted
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 for information in the minibuffer, such as a filename, Emacs can help
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 you complete your answer if you type @key{SPC} or @key{TAB}. A second
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 @key{SPC} or @key{TAB} will list all possibilities at that point. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 minibuffer is also where you enter Emacs function names after typing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 @kbd{M-x}. For example, in the first paragraph, I mentioned that you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 could obtain help with @kbd{C-h t} (@code{help-with-tutorial}). What
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 this means is that you can get a tutorial by typing either @kbd{C-h t}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 or @kbd{M-x help-with-tutorial}. In the latter case, you are prompted
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 for @samp{help-with-tutorial} in the minibuffer after typing @kbd{M-x}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 @cindex interrupting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281 @cindex Emacs, interrupting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 @cindex quitting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 @cindex Emacs, quitting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 @i{In case of trouble:} Emacs can be interrupted at any time with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 @kbd{C-g}. For example, if you've started a command that requests that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 you enter something in the minibuffer, but then you change your mind,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 type @kbd{C-g} and you'll be back where you started. If you want to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 exit Emacs entirely, use @kbd{C-x C-c}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 @node Getting Started, Sending Mail Tour, Conventions, Tour Through mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 @section Getting Started
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 Because there are many old versions of mh-e out there, it is important to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 know which version you have. I'll be talking about @w{Version 5} which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 is similar to @w{Version 4} and vastly different from @w{Version 3}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 First, enter @kbd{M-x load-library @key{RET} mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 @key{RET}}. @footnote{You wouldn't ordinarily do this.} The message,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 @samp{Loading mh-e...done}, should be displayed in the minibuffer. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 you get @samp{Cannot open load file: mh-e}, then your Emacs is very
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302 badly configured, or mh-e is missing. You may wish to have your system
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 administrator install a new Emacs or at least the latest mh-e files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 Having loaded mh-e successfully, enter @kbd{M-x mh-version @key{RET}}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 The version of mh-e should be displayed. Hopefully it says that you're
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 running @w{Version @value{VERSION}} which is the latest version as of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 this printing. If instead Emacs beeps and says @samp{[No match]}, then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 you're running an old version of mh-e.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 If these tests reveal a non-existent or old version of mh-e, please
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 consider obtaining a new version. You can have your system
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 administrator upgrade the system-wide version, or you can install your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 own personal version. It's really quite easy; instructions for getting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 and installing mh-e are in @ref{Getting mh-e}. In the meantime, see
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 @ref{Changes to mh-e}, which compares the old and new names of commands,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 functions, variables, and buffers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319 @cindex @code{install-mh}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 @cindex MH commands, @code{install-mh}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 Also, older versions of mh-e assumed that you had already set up your MH
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 environment. Newer versions set up a new MH environment for you by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 running @code{install-mh} and notifying you of this fact with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 message in a temporary buffer:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 I'm going to create the standard MH path for you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 Therefore, if you've never run MH before and you're using an old version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 of mh-e, you need to run @code{install-mh} from the shell before you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 continue the tour. If you don't, you'll be greeted with the error
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 message: @samp{Can't find MH profile}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 @cindex @file{.emacs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 @cindex files, @file{.emacs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339 If, during the tour described in this chapter, you see a message like:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 @samp{Searching for program: no such file or directory,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 /usr/local/bin/mhpath}, it means that the MH programs and files are kept
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 in a nonstandard directory. In this case, simply add the following to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 @file{~/.emacs} and restart @code{emacs}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 @vindex @code{mh-progs}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 @vindex @code{mh-lib}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 @c XXX Real example for really naive user?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 (setq mh-progs "@var{/path/to/MH/binary/directory/}")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 (setq mh-lib "@var{/path/to/MH/library/directory/}")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 @cindex ~
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 The @samp{~} notation used by @file{~/.emacs} above represents your home
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 directory. This is used by the @code{bash} and @code{csh} shells. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 your shell does not support this feature, you could use the environment
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 variable @samp{$HOME} (such as @file{$HOME/.emacs}) or the absolute path
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 (as in @file{/home/wohler/.emacs}) instead.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 At this point, you should see something like the screen in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365 figure in @ref{Reading Mail Tour}. We're now ready to move on.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 @node Sending Mail Tour, Reading Mail Tour, Getting Started, Tour Through mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 @section Sending Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 @cindex sending mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 @findex @code{mh-smail}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 Let's start our tour by sending ourselves a message which we can later
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 read and process. Enter @kbd{M-x mh-smail} to invoke the mh-e program
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375 to send messages. You will be prompted in the minibuffer by @samp{To:}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 Enter your login name. The next prompt is @samp{cc:}. Hit @key{RET} to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 indicate that no carbon copies are to be sent. At the @samp{Subject:}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 prompt, enter @kbd{Test} or anything else that comes to mind.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 @cindex MH-Letter mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 @cindex modes, MH-Letter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 @cindex mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 Once you've specified the recipients and subject, your message appears
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385 in an Emacs buffer whose mode @footnote{A @dfn{mode} changes Emacs to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 make it easier to edit a particular type of text.} is MH-Letter.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387 Enter some text in the body of the message, using normal Emacs commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 You should now have something like this: @footnote{If you're running Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389 under the X Window System, then you would also see a menubar. I've left
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 out the menubar in all of the example screens.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 @cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401 -----Emacs: *scratch* (Lisp Interaction)--All---------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
402 To: wohler
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403 cc:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404 Subject: Test
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405 --------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406 This is a test message to get the wheels churning...#
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
409 --**-@{draft@} (MH-Letter)--All----------------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
410
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
411 @end cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
412 @i{mh-e message composition window}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416 @cindex MH-Letter mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417 @cindex modes, MH-Letter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419 Note the line of dashes that separates the header and the body of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420 message. It is essential that these dashes (or a blank line) are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
421 present or the body of your message will be considered to be part of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
422 the header.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
424 There are several commands specific to MH-Letter mode, but at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425 this time we'll only use @kbd{C-c C-c} to send your message. Type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426 @kbd{C-c C-c} now. That's all there is to it!
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428 @node Reading Mail Tour, Processing Mail Tour, Sending Mail Tour, Tour Through mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429 @section Receiving Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 @cindex reading mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 @findex @code{mh-rmail}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433 @cindex @code{inc}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 @cindex MH commands, @code{inc}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435 @cindex @code{scan}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436 @cindex MH commands, @code{scan}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 @cindex MH-Folder mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 @cindex modes, MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 To read the mail you've just sent yourself, enter @kbd{M-x mh-rmail}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 This incorporates the new mail and put the output from @code{inc}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 (called @dfn{scan lines} after the MH program @code{scan} which prints a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443 one-line summary of each message) into a buffer called @samp{+inbox}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444 whose major mode is MH-Folder.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 @sp 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447 @need 1000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448 @center @strong{NOTE}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450 @quotation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
451 The @kbd{M-x mh-rmail} command will show you only new mail, not old
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452 mail. If you were to run this tour again, you would use @kbd{M-r} to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453 pull all your messages into mh-e.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454 @end quotation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 You should see the scan line for your message, and perhaps others. Use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457 @kbd{n} or @kbd{p} to move the cursor to your test message and type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 @key{RET} to read your message. You should see something like:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462 @cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463 3 24Aug root received fax files on Wed Aug 24 11:00:13 PDT 1994
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464 # 4+ 24Aug To:wohler Test<<This is a test message to get the wheels chu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
466 --%%-@{+inbox@} 4 msgs (1-4) (MH-Folder Show)--Bot---------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467 To: wohler
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468 Subject: Test
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469 Date: Wed, 24 Aug 1994 13:01:13 -0700
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 From: Bill Wohler <wohler@@newt.com>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 This is a test message to get the wheels churning...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478 -----@{show-+inbox@} 4 (MH-Show)--Bot----------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480 @end cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481 @i{After incorporating new messages}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485 If you typed a long message, you can view subsequent pages with @key{SPC}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486 and previous pages with @key{DEL}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488 @node Processing Mail Tour, Leaving mh-e, Reading Mail Tour, Tour Through mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 @section Processing Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491 @cindex processing mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493 The first thing we want to do is reply to the message that we sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494 ourselves. Ensure that the cursor is still on the same line as your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495 test message and type @kbd{r}. You are prompted in the minibuffer with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496 @samp{Reply to whom:}. Here mh-e is asking whether you'd like to reply
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497 to the original sender only, to the sender and primary recipients, or to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498 the sender and all recipients. If you simply hit @key{RET}, you'll
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499 reply only to the sender. Hit @key{RET} now.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501 You'll find yourself in an Emacs buffer similar to that when you were
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502 sending the original message, like this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
503
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
504 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 @cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 To: wohler
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508 Subject: Re: Test
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 In-reply-to: Bill Wohler's message of Wed, 24 Aug 1994 13:01:13 -0700
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 <199408242001.NAA00505@@newt.com>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 --------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 --**-@{draft@} (MH-Letter)--All----------------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515 To: wohler
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 Subject: Test
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517 Date: Wed, 24 Aug 1994 13:01:13 -0700
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518 From: Bill Wohler <wohler@@newt.com>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520 This is a test message to get the wheels churning...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 -----@{show-+inbox@} 4 (MH-Show)--Bot----------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 Composing a reply...done
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 @end cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525 @i{Composition window during reply}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529 By default, MH will not add you to the address list of your replies, so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530 if you find that the @samp{To:} header field is missing, don't worry.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 In this case, type @kbd{C-c C-f C-t} to create and go to the @samp{To:}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532 field, where you can type your login name again. You can move around
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533 with the arrow keys or with @kbd{C-p} (@code{previous-line}), @kbd{C-n}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534 (@code{next-line}), @kbd{C-b} (@code{backward-char}), and @kbd{C-f}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 (@code{forward-char}) and can delete the previous character with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536 @key{DEL}. When you're finished editing your message, send it with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
537 @kbd{C-c C-c} as before.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539 @cindex folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541 You'll often want to save messages that were sent to you in an organized
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
542 fashion. This is done with @dfn{folders}. You can use folders to keep
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 messages from your friends, or messages related to a particular topic.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544 With your cursor in the MH-Folder buffer and positioned on the message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 you sent to yourself, type @kbd{o} to output (@code{refile} in MH
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546 parlance) that message to a folder. Enter @kbd{test} at the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547 @samp{Destination:} prompt and type @kbd{y} (or @key{SPC}) when mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 asks to create the folder @samp{+test}. Note that a @samp{^} (caret)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 appears next to the message number, which means that the message has
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550 been marked for refiling but has not yet been refiled. We'll talk about
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551 how the refile is actually carried out in a moment.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553 @cindex MH-Folder mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554 @cindex modes, MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 Your previous reply is now waiting in the system mailbox. You
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 incorporate this mail into your MH-Folder buffer named @samp{+inbox}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558 with the @kbd{i} command. Do this now. After the mail is incorporated,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 use @kbd{n} or @kbd{p} to move the cursor to the new message, and read
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560 it with @key{RET}. Let's delete this message by typing @kbd{d}. Note
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 that a @samp{D} appears next to the message number. This means that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 message is marked for deletion but is not yet deleted. To perform the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 deletion (and the refile we did previously), use the @kbd{x} command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565 @findex @code{mh-smail}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 If you want to send another message you can use @kbd{m} instead of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568 @kbd{M-x mh-smail}. So go ahead, send some mail to your friends!
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 @node Leaving mh-e, More About mh-e, Processing Mail Tour, Tour Through mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 @section Leaving mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573 @cindex Emacs, quitting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574 @cindex quitting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576 You may now wish to exit @code{emacs} entirely. Use @kbd{C-x C-c} to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 exit @code{emacs}. If you exited without running @kbd{x} in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578 @samp{+inbox} buffer, Emacs will offer to save it for you. Type @kbd{y}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579 or @key{SPC} to save @samp{+inbox} changes, which means to perform any refiles
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 and deletes that you did there.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582 If you don't want to leave Emacs, you can type @kbd{q} to bury (hide)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583 the mh-e folder or delete them entirely with @kbd{C-x k}. You can then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584 later recall them with @kbd{C-x b} or @kbd{M-x mh-rmail}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586 @node More About mh-e, , Leaving mh-e, Tour Through mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 @section More About mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589 These are the basic commands to get you going, but there are plenty
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590 more. If you think that mh-e is for you, read @ref{Using mh-e} and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591 @ref{Customizing mh-e} to find out how you can:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593 @itemize @bullet
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
594 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595 Print your messages. (@ref{Printing} and @ref{Customizing Printing}.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597 Edit messages and include your signature. (@ref{Draft Editing}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 and @ref{Customizing Draft Editing}.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600 Forward messages. (@ref{Forwarding} and @ref{Customizing Forwarding}.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
602 Read digests. (@ref{Viewing}.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
603 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604 Edit bounced messages. (@ref{Old Drafts} and @ref{Customizing Old Drafts}.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606 Send multimedia messages. (@ref{Editing MIME} and @ref{Customizing Editing MIME}.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
607 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
608 Process mail that was sent with @code{shar} or @code{uuencode}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
609 (@ref{Files and Pipes}.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
610 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611 Use sequences conveniently. (@ref{Sequences}.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
612 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
613 Show header fields in different fonts. (@ref{Customizing Viewing}.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
615 Find previously refiled messages. (@ref{Searching}.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
616 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
617 Place messages in a file. (@ref{Files and Pipes}.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
618 @end itemize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
619
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
620 Remember that you can also use MH commands when you're not running mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
621 (and when you are!).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
623 @node Using mh-e, Customizing mh-e, Tour Through mh-e, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
624 @chapter Using mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
625
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
626 This chapter leaves the tutorial style and goes into more detail about
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
627 every mh-e command. The default, or "out of the box," behavior is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
628 documented. If this is not to your liking (for instance, you print with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
629 something other than @code{lpr)}, see the associated section in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
630 @ref{Customizing mh-e} which is organized exactly like this chapter.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
631
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
632 @cindex Emacs, functions; describe-mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
633 @cindex Emacs, online help
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634 @cindex online help
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636 There are many commands, but don't get intimidated. There are command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
637 summaries at the beginning of each section. In case you have or would
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638 like to rebind the keys, the command summaries also list the associated
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639 Emacs Lisp function. Furthermore, even if you're stranded on a desert
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640 island with a laptop and are without your manuals, you can get a summary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
641 of all these commands with GNU Emacs online help: use @kbd{C-h m}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
642 (@code{describe-mode}) for a brief summary of commands or @kbd{C-h i} to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
643 read this manual via Info. The online help is quite good; try running
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
644 @kbd{C-h C-h C-h}. This brings up a list of available help topics, one
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
645 of which displays the documentation for a given key (like @kbd{C-h k
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
646 C-n}). In addition, review @ref{Conventions}, if any of the GNU Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
647 conventions are strange to you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
648
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
649 Let's get started!
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
650
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
651 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652 * Reading Mail::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
653 * Sending Mail::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
654 * Draft Editing::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
655 * Moving Mail::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
656 * Searching::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
657 * Sequences::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658 * Miscellaneous::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
660
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661 @node Reading Mail, Sending Mail, Using mh-e, Using mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 @section Reading Your Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
663
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
664 @cindex reading mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
665 @findex @code{mh-rmail}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
666 @cindex MH-Folder mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
667 @cindex modes, MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
668
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
669 The mh-e entry point for reading mail is @kbd{M-x mh-rmail}. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
670 command incorporates your mail and creates a buffer called @samp{+inbox}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671 in MH-Folder mode. The @kbd{M-x mh-rmail} command shows you only new
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672 mail, not old mail. @footnote{If you want to see your old mail as well,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673 use @kbd{M-r} to pull all your messages into mh-e. Or, give a prefix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
674 argument to @code{mh-rmail} so it will prompt you for folder to visit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
675 like @kbd{M-f} (for example, @kbd{C-u M-x mh-rmail @key{RET} bob
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
676 @key{RET}}). Both @kbd{M-r} and @kbd{M-f} are described in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
677 @ref{Organizing}.} The @samp{+inbox} buffer contains @dfn{scan lines},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
678 which are one-line summaries of each incorporated message. You can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
679 perform most MH commands on these messages via one-letter commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
680 discussed in this chapter. See @code{scan}(1) for a description of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
681 contents of the scan lines, and see the Figure in @ref{Reading Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
682 Tour}, for an example.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
683
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
684 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
685 @item RET
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
686 Display a message (@code{mh-show}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
687
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
688 @item SPC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
689 Go to next page in message (@code{mh-page-msg}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
690
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
691 @item DEL
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
692 Go to previous page in message (@code{mh-previous-page}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
693
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
694 @item , (comma)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
695 Display a message with all header fields (@code{mh-header-display}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
696
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
697 @item M-SPC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
698 Go to next message in digest (@code{mh-page-digest}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
699
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
700 @item M-DEL
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
701 Go to previous message in digest (@code{mh-page-digest-backwards}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
702
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
703 @item M-b
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
704 Break up digest into separate messages (@code{mh-burst-digest}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
705
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
706 @item n
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
707 Display next message (@code{mh-next-undeleted-msg}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
708
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
709 @item p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
710 Display previous message (@code{mh-previous-undeleted-msg}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
711
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
712 @item g
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
713 Go to a message (@code{mh-goto-msg}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
714
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
715 @item M-<
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
716 Go to first message (@code{mh-first-msg}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
717
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
718 @item M->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
719 Go to last message (@code{mh-last-msg}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
720
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
721 @item t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
722 Toggle between MH-Folder and MH-Folder Show modes (@code{mh-toggle-showing}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
723 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
724
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
725 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
726 * Viewing::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
727 * Moving Around::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
728 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
729
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
730 @node Viewing, Moving Around, Reading Mail, Reading Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
731 @subsection Viewing Your Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
732
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
733 @findex @code{mh-show}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
734 @findex @code{mh-page-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
735 @findex @code{mh-previous-page}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
736
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
737 The @kbd{RET} (@code{mh-show}) command displays the message that the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
738 cursor is on. If the message is already displayed, it scrolls to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
739 beginning of the message. Use @key{SPC} (@code{mh-page-msg}) and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
740 @key{DEL} (@code{mh-previous-page}) to move forwards and backwards one
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
741 page at a time through the message. You can give either of these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
742 commands a prefix argument that specifies the number of lines to scroll
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
743 (such as @kbd{10 SPC}). mh-e normally hides a lot of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
744 superfluous header fields that mailers add to a message, but if you wish
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
745 to see all of them, use the @kbd{,} (comma; @code{mh-header-display})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
746 command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
747
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
748 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
749 * Reading Digests::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
750 * Reading MIME::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
751 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
752
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
753 @node Reading Digests, Reading MIME, Viewing, Viewing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
754 @subsubsection Reading Digests
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
755
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
756 @cindex digests
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
757 @findex @code{mh-page-digest}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
758 @findex @code{mh-page-digest-backwards}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
759
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
760 A digest is a message that contains other messages. Special mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
761 commands let you read digests conveniently. You can use @key{SPC} and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
762 @key{DEL} to page through the digest as if it were a normal message, but
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
763 if you wish to skip to the next message in the digest, use @kbd{M-SPC}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
764 (@code{mh-page-digest}). To return to a previous message, use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
765 @kbd{M-DEL} (@code{mh-page-digest-backwards}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
766
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
767 @cindex @code{burst}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
768 @cindex MH commands, @code{burst}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
769 @cindex MH-Folder Show mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
770 @cindex modes, MH-Folder Show
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
771 @findex @code{mh-burst-digest}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
772
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
773 @c There was a page break at the colon in the following paragraph which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
774 @c broke the transition to the example.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
775 @need 2000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
776
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
777 Another handy command is @kbd{M-b} (@code{mh-burst-digest}). This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
778 command uses the MH command @code{burst} to break out each message in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
779 the digest into its own message. Using this command, you can quickly
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
780 delete unwanted messages, like this: Once the digest is split up, toggle
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
781 out of MH-Folder Show mode with @kbd{t} (@pxref{Moving Around}) so that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
782 the scan lines fill the screen and messages aren't displayed. Then use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
783 @kbd{d} (@pxref{Deleting}) to quickly delete messages that you don't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
784 want to read (based on the @samp{Subject:} header field). You can also
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
785 burst the digest to reply directly to the people who posted the messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
786 in the digest. One problem you may encounter is that the @samp{From:}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
787 header fields are preceded with a @samp{>} so that your reply can't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
788 create the @samp{To:} field correctly. In this case, you must correct
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
789 the @samp{To:} field yourself. This is described later in @ref{Editing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
790 Textual}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
791
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
792 @node Reading MIME, , Reading Digests, Viewing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
793 @subsubsection Reading Multimedia Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
794
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
795 @cindex multimedia mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
796 @cindex MIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
797 @cindex @code{show}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
798 @cindex MH commands, @code{show}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
799 @cindex @code{mhn}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
800 @cindex MH commands, @code{mhn}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
801
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
802 MH has the ability to read @dfn{@sc{mime}} (Multipurpose Internet Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
803 Extensions) messages. Unfortunately, mh-e does not yet have this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
804 ability, so you have to use the MH commands @code{show} or @code{mhn}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
805 from the shell to read @sc{mime} messages. @footnote{You can call them
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
806 directly from Emacs if you're running the X Window System: type @kbd{M-!
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
807 xterm -e mhn @var{message-number}}. You can leave out the @code{xterm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
808 -e} if you use @code{mhn -list} or @code{mhn -store}.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
809
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
810 @node Moving Around, , Viewing, Reading Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
811 @subsection Moving Around
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
812
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
813 @cindex moving between messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
814 @findex @code{mh-next-undeleted-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
815 @findex @code{mh-previous-undeleted-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
816 @findex @code{mh-goto-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
817 @findex @code{mh-last-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
818 @findex @code{mh-first-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
819
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
820 To move on to the next message, use the @kbd{n}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
821 (@code{mh-next-undeleted-msg}) command; use the @kbd{p}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
822 (@code{mh-previous-undeleted-msg}) command to read the previous message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
823 Both of these commands can be given a prefix argument to specify how
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
824 many messages to skip (for example, @kbd{5 n}). You can also move to a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
825 specific message with @kbd{g} (@code{mh-goto-msg}). You can enter the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
826 message number either before or after typing @kbd{g}. In the latter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
827 case, Emacs prompts you. Finally, you can go to the first or last
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
828 message with @kbd{M-<} (@code{mh-first-msg}) and @kbd{M->}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
829 (@code{mh-last-msg}) respectively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
830
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
831 @cindex MH-Folder mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
832 @cindex modes, MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
833
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
834 You can also use the Emacs commands @kbd{C-p} (@code{previous-line}) and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
835 @kbd{C-n} (@code{next-line}) to move up and down the scan lines in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
836 MH-Folder window. These commands can be used in conjunction with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
837 @kbd{RET} to look at deleted or refiled messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
838
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
839 @cindex MH-Folder mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
840 @cindex modes, MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
841 @cindex MH-Folder Show mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
842 @cindex modes, MH-Folder Show
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
843 @cindex junk mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
844 @findex @code{mh-toggle-showing}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
845
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
846 The command @kbd{t} (@code{mh-toggle-showing}) switches between
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
847 MH-Folder mode and MH-Folder Show mode. @footnote{For you Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
848 wizards, this is implemented as an Emacs minor mode.} MH-Folder mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
849 turns off the associated show buffer so that you can perform operations
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
850 on the messages quickly without reading them. This is an excellent way
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
851 to prune out your junk mail or to refile a group of messages to another
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
852 folder for later examination.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
853
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
854 @node Sending Mail, Draft Editing, Reading Mail, Using mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
855 @section Sending Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
856
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
857 @cindex sending mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
858 @findex @code{mh-smail}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
859
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
860 You can send a mail message in several ways. You can call @kbd{M-x
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
861 mh-smail} directly, or from the command line like this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
862
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
863 @cindex starting from command line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
864
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
865 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
866 % @kbd{emacs -f mh-smail}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
867 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
868
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
869 From within mh-e's MH-Folder mode, other methods of sending mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
870 are available as well:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
871
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
872 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
873 @item m
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
874 Compose a message (@code{mh-send}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
875
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
876 @item r
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
877 Reply to a message (@code{mh-reply}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
878
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
879 @item f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
880 Forward message(s) (@code{mh-forward}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
881
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
882 @item M-d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
883 Redistribute a message (@code{mh-redistribute}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
884
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
885 @item M-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
886 Edit a message that was bounced by mailer (@code{mh-extract-rejected-mail}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
887
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
888 @item M-a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
889 Edit a message to send it again (@code{mh-edit-again}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
890 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
891
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
892 @cindex MH-Folder mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
893 @cindex modes, MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
894 @cindex MH-Letter mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
895 @cindex modes, MH-Letter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
896 @findex @code{mh-send}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
897
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
898 From within a MH-Folder buffer, you can simply use the command @kbd{m}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
899 (@code{mh-send}). However you invoke @code{mh-send}, you are prompted
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
900 for the @samp{To:}, @samp{cc:}, and @samp{Subject:} header fields. Once
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
901 you've specified the recipients and subject, your message appears in an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
902 Emacs buffer whose mode is MH-Letter (see the Figure in @ref{Sending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
903 Mail} to see what the buffer looks like). MH-Letter mode allows you to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
904 edit your message, to check the validity of the recipients, to insert
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
905 other messages into your message, and to send the message. We'll go
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
906 more into depth about editing a @dfn{draft} @footnote{I highly recommend
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
907 that you use a @dfn{draft folder} so that you can edit several drafts in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
908 parallel. To do so, create a folder (e.g., @file{+drafts}), and add a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
909 profile component called @samp{Draft-Folder:} which contains
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
910 @file{+drafts} (see @code{mh-profile}(5)).} (a message you're composing)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
911 in just a moment.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
912
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
913 @findex @code{mh-smail}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
914 @findex @code{mh-smail-other-window}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
915
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
916 @code{mh-smail} always creates a two-window layout with the current
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
917 buffer on top and the draft on the bottom. If you would rather preserve
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
918 the window layout, use @kbd{M-x mh-smail-other-window}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
919
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
920 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
921 * Replying::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
922 * Forwarding::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
923 * Redistributing::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
924 * Old Drafts::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
925 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
926
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
927 @node Replying, Forwarding, Sending Mail, Sending Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
928 @subsection Replying to Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
929
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
930 @cindex replying
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
931 @cindex @code{mhl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
932 @cindex MH commands, @code{mhl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
933 @cindex @file{mhl.reply}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
934 @cindex files, @file{mhl.reply}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
935 @findex @code{mh-reply}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
936
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
937 To compose a reply to a message, use the @kbd{r} (@code{mh-reply})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
938 command. If you supply a prefix argument (as in @kbd{C-u r}), the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
939 message you are replying to is inserted in your reply after having first
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
940 been run through @code{mhl} with the format file @file{mhl.reply}. See
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
941 @code{mhl}(1) to see how you can modify the default @file{mhl.reply}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
942 file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
943
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
944 When you reply to a message, you are first prompted with @samp{Reply to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
945 whom?}. You have several choices here.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
946
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
947 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
948 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
949 @b{Response} @b{Reply Goes To}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
950
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
951 @kbd{from} @r{The person who sent the message. This is the default,}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
952 @r{so @key{RET} is sufficient.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
953
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
954 @kbd{to} @r{Replies to the sender, plus all recipients in the}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
955 @r{@samp{To:} header field.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
956
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
957 @kbd{all}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
958 @kbd{cc} @r{Forms a reply to the sender, plus all recipients.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
959 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
960 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
961
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
962 @cindex @code{repl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
963 @cindex MH commands, @code{repl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
964
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
965 Depending on your answer, @code{repl} is given a different argument to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
966 form your reply. Specifically, a choice of @kbd{from} or none at all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
967 runs @code{repl -nocc all}, and a choice of @kbd{to} runs @code{repl -cc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
968 to}. Finally, either @kbd{cc} or @kbd{all} runs @code{repl -cc all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
969 -nocc me}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
970
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
971 @cindex MH-Letter mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
972 @cindex modes, MH-Letter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
973
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
974 Two windows are then created. One window contains the message to which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
975 you are replying. Your draft, in MH-Letter mode (described in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
976 @ref{Draft Editing}), is in the other window.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
977
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
978 If you wish to customize the header or other parts of the reply draft,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
979 please see @code{repl}(1) and @code{mh-format}(5).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
980
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
981 @node Forwarding, Redistributing, Replying, Sending Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
982 @subsection Forwarding Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
983
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
984 @cindex forwarding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
985 @cindex @code{forw}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
986 @cindex MH commands, @code{forw}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
987 @findex @code{mh-forward}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
988
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
989 To forward a message, use the @kbd{f} (@code{mh-forward}) command. You
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
990 are given a draft to edit that looks like it would if you had run the MH
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
991 command @code{forw}. You are given a chance to add some text (see
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
992 @ref{Draft Editing}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
993
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
994 You can forward several messages by using a prefix argument; in this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
995 case, you are prompted for the name of a @dfn{sequence}, a symbolic name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
996 that represents a list or range of message numbers (for example,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
997 @kbd{C-u f forbob @key{RET}}). All of the messages in the sequence are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
998 inserted into your draft. By the way, although sequences are often
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
999 mentioned in this chapter, you don't have to worry about them for now;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1000 the full description of sequences in mh-e is at the end in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1001 @ref{Sequences}. To learn more about sequences in general, please see
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1002 @code{mh-sequence}(5).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1003
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1004 @node Redistributing, Old Drafts, Forwarding, Sending Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1005 @subsection Redistributing Your Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1006
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1007 @cindex redistributing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1008 @findex @code{mh-redistribute}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1009
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1010 The command @kbd{M-d} (@code{mh-redistribute}) is similar in function to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1011 forwarding mail, but it does not allow you to edit the message, nor does
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1012 it add your name to the @samp{From:} header field. It appears to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1013 recipient as if the message had come from the original sender. For more
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1014 information on redistributing messages, see @code{dist}(1). Also
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1015 investigate the @kbd{M-a} (@code{mh-edit-again}) command in @ref{Old
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1016 Drafts}, for another way to redistribute messages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1017
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1018 @node Old Drafts, , Redistributing, Sending Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1019 @subsection Editing Old Drafts and Bounced Messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1020
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1021 @cindex re-editing drafts
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1022 @cindex @file{draft}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1023 @cindex files, @file{draft}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1024 @findex @code{mh-edit-again}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1025
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1026 If you don't complete a draft for one reason or another, and if the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1027 draft buffer is no longer available, you can pick your draft up again
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1028 with @kbd{M-a} (@code{mh-edit-again}). If you don't use a draft folder,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1029 your last @file{draft} file will be used. If you use draft folders,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1030 you'll need to visit the draft folder with @kbd{M-f drafts @key{RET}},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1031 use @kbd{n} to move to the appropriate message, and then use @kbd{M-a}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1032 to prepare the message for editing.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1033
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1034 The @kbd{M-a} command can also be used to take messages that were sent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1035 to you and to send them to more people.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1036
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1037 @cindex Mailer-Daemon
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1038 @findex @code{mh-extract-rejected-mail}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1039
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1040 Don't use @kbd{M-a} to re-edit a message from a @i{Mailer-Daemon} who
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1041 complained that your mail wasn't posted for some reason or another. In
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1042 this case, use @kbd{M-e} (@code{mh-extract-rejected-mail}) to prepare
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1043 the message for editing by removing the @i{Mailer-Daemon} envelope and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1044 unneeded header fields. Fix whatever addressing problem you had, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1045 send the message again with @kbd{C-c C-c}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1046
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1047 @node Draft Editing, Moving Mail, Sending Mail, Using mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1048 @section Editing a Draft
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1049
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1050 @cindex editing draft
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1051 @cindex MH-Letter mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1052 @cindex modes, MH-Letter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1053
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1054 When you edit a message that you want to send (called a @dfn{draft} in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1055 this case), the mode used is MH-Letter. This mode provides
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1056 several commands in addition to the normal Emacs editing commands to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1057 help you edit your draft.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1058
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1059 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1060 @item C-c C-y
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1061 Insert contents of message to which you're replying (@code{mh-yank-cur-msg}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1062
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1063 @item C-c C-i
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1064 Insert a message from a folder (@code{mh-insert-letter}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1065
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1066 @item C-c C-f C-t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1067 Move to @samp{To:} header field (@code{mh-to-field}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1068
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1069 @item C-c C-f C-c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1070 Move to @samp{cc:} header field (@code{mh-to-field}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1071
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1072 @item C-c C-f C-s
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1073 Move to @samp{Subject:} header field (@code{mh-to-field}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1074
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1075 @item C-c C-f C-f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1076 Move to @samp{From:} header field (@code{mh-to-field}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1077
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1078 @item C-c C-f C-b
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1079 Move to @samp{Bcc:} header field (@code{mh-to-field}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1080
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1081 @item C-c C-f C-f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1082 Move to @samp{Fcc:} header field (@code{mh-to-fcc}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1083
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1084 @item C-c C-f C-d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1085 Move to @samp{Dcc:} header field (@code{mh-to-field}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1086
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1087 @item C-c C-w
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1088 Display expanded recipient list (@code{mh-check-whom}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1089
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1090 @item C-c C-s
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1091 Insert signature in message (@code{mh-insert-signature}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1092
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1093 @item C-c C-m C-f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1094 Include forwarded message (@sc{mime}) (@code{mh-mhn-compose-forw}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1095
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1096 @item C-c C-m C-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1097 Include anonymous ftp reference (@sc{mime}) (@code{mh-mhn-compose-anon-ftp}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1098
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1099 @item C-c C-m C-t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1100 Include anonymous ftp reference to compressed tar file (@sc{mime})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1101 (@code{mh-mhn-compose-external-compressed-tar}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1102
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1103 @item C-c C-m C-i
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1104 Include binary, image, sound, etc. (@sc{mime})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1105 (@code{mh-mhn-compose-insertion}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1106
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1107 @item C-c C-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1108 Run through @code{mhn} before sending (@code{mh-edit-mhn}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1109
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1110 @item C-c C-m C-u
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1111 Undo effects of @code{mhn} (@code{mh-revert-mhn-edit}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1112
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1113 @item C-c C-c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1114 Save draft and send message (@code{mh-send-letter}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1115
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1116 @item C-c C-q
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1117 Quit editing and delete draft message (@code{mh-fully-kill-draft}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1118 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1119
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1120 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1121 * Editing Textual::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1122 * Editing MIME::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1123 * Sending Message::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1124 * Killing Draft::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1125 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1126
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1127 @node Editing Textual, Editing MIME, Draft Editing, Draft Editing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1128 @subsection Editing Textual Messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1129
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1130 The following sections show you how to edit a draft.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1131 The commands described here are also applicable to messages that have
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1132 multimedia components.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1134 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1135 * Inserting Letter::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1136 * Inserting Messages::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1137 * Header::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1138 * Recipients::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1139 * Signature::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1140 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1141
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1142 @node Inserting Letter, Inserting Messages, Editing Textual, Editing Textual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1143 @subsubsection Inserting letter to which you're replying
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1144
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1145 @cindex inserting messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1146 @findex @code{mh-yank-cur-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1147
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1148 It is often useful to insert a snippet of text from a letter that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1149 someone mailed to provide some context for your reply. The command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1150 @kbd{C-c C-y} (@code{mh-yank-cur-msg}) does this by yanking a portion of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1151 text from the message to which you're replying and inserting @samp{> }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1152 before each line.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1153
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1154 @cindex mark
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1155 @cindex Emacs, mark
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1156 @cindex point
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1157 @cindex Emacs, point
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1158 @cindex region
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1159 @cindex Emacs, region
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1160
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1161 You can control how much text is included when you run this command. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1162 you run this command right away, without entering the buffer containing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1163 the message to you, this command will yank the entire message, as is,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1164 into your reply. @footnote{If you'd rather have the header cleaned up,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1165 use @kbd{C-u r} instead of @kbd{r} when replying (see @ref{Replying}).}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1166 If you enter the buffer containing the message sent to you and move the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1167 cursor to a certain point and return to your reply and run @kbd{C-c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1168 C-y}, then the text yanked will range from that point to the end of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1169 message. Finally, the most common action you'll perform is to enter the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1170 message sent to you, move the cursor to the beginning of a paragraph or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1171 phrase, set the @dfn{mark} with @kbd{C-SPC} or @kbd{C-@@}, and move the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1172 cursor to the end of the paragraph or phrase. The cursor position is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1173 called the @dfn{point}, and the space between the mark and point is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1174 called the @dfn{region}. Having done that, @kbd{C-c C-y} will insert
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1175 the region you selected.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1176
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1177 @node Inserting Messages, Header, Inserting Letter, Editing Textual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1178 @subsubsection Inserting messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1179
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1180 @cindex inserting messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1181 @findex @code{mh-insert-letter}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1182
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1183 Messages can be inserted with @kbd{C-c C-i} (@code{mh-insert-letter}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1184 This command prompts you for the folder and message number and inserts
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1185 the message, indented by @samp{> }. Certain undesirable header fields
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1186 are removed before insertion. If given a prefix argument (like @kbd{C-u
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1187 C-c C-i}), the header is left intact, the message is not indented, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1188 @samp{> } is not inserted before each line.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1189
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1190 @node Header, Recipients, Inserting Messages, Editing Textual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1191 @subsubsection Editing the header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1192
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1193 @cindex editing header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1194 @findex @code{mh-to-field}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1195
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1196 Because the header is part of the message, you can edit the header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1197 fields as you wish. However, several convenience functions exist to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1198 help you create and edit them. For example, the command @kbd{C-c C-f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1199 C-t} (@code{mh-to-field}; alternatively, @kbd{C-c C-f t}) moves the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1200 cursor to the @samp{To:} header field, creating it if necessary. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1201 functions to move to the @samp{cc:}, @samp{Subject:}, @samp{From:},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1202 @samp{Bcc:}, and @samp{Dcc:} header fields are similar.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1203
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1204 @findex @code{mh-to-fcc}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1205
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1206 One function behaves differently from the others, namely, @kbd{C-c C-f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1207 C-f} (@code{mh-to-fcc}; alternatively, @kbd{C-c C-f f}). This function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1208 will prompt you for the folder name in which to file a copy of the draft.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1209
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1210 Be sure to leave a row of dashes or a blank line between the header and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1211 the body of the message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1212
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1213 @node Recipients, Signature, Header, Editing Textual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1214 @subsubsection Checking recipients
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1215
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1216 @cindex checking recipients
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1217 @cindex @code{whom}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1218 @cindex MH commands, @code{whom}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1219 @findex @code{mh-check-whom}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1220
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1221 The @kbd{C-c C-w} (@code{mh-check-whom}) command expands aliases so you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1222 can check the actual address(es) in the alias. A new buffer is created
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1223 with the output of @code{whom}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1224
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1225 @node Signature, , Recipients, Editing Textual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1226 @subsubsection Inserting your signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1227
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1228 @cindex inserting signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1229 @cindex signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1230 @cindex @file{.signature}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1231 @cindex files, @file{.signature}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1232 @findex @code{mh-insert-signature}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1233
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1234 You can insert your signature at the current cursor location with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1235 @kbd{C-c C-s} (@code{mh-insert-signature}) command. The text of your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1236 signature is taken from the file @file{~/.signature}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1237
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1238 @node Editing MIME, Sending Message, Editing Textual, Draft Editing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1239 @subsection Editing Multimedia Messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1240
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1241 @cindex MIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1242 @cindex multimedia mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1243 @cindex @code{mhn}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1244 @cindex MH commands, @code{mhn}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1245
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1246 mh-e has the capability to create multimedia messages. It uses the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1247 @sc{mime} (Multipurpose Internet Mail Extensions) protocol. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1248 @sc{mime} protocol allows you to incorporate images, sound, video,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1249 binary files, and even commands that fetch a file with @samp{ftp} when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1250 your recipient reads the message! If you were to create a multimedia
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1251 message with plain MH commands, you would use @code{mhn}. Indeed, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1252 mh-e @sc{mime} commands merely insert @code{mhn} directives which are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1253 later expanded by @code{mhn}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1254
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1255 Each of the mh-e commands for editing multimedia messages or for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1256 incorporating multimedia objects is prefixed with @kbd{C-c C-m} .
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1257
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1258 @cindex content types
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1259 @cindex MIME, content types
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1260
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1261 Several @sc{mime} objects are defined. They are called @dfn{content
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1262 types}. The table in @ref{Customizing Draft Editing} contains a list of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1263 the content types that mh-e currently knows about. Several of the mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1264 commands fill in the content type for you, whereas others require you to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1265 enter one. Most of the time, it should be obvious which one to use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1266 (e.g., use @kbd{image/jpeg} to include a @sc{jpeg} image). If not, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1267 can refer to @sc{rfc} 1521,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1268 @c Footnotes are very fragile. Hence the duplication.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1269 @c The line break in the footnote was necessary since TeX wasn't creating one.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1270 @ifclear html
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1271 @footnote{This @sc{rfc} (Request For Comments) is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1272 available via the @sc{url} @*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1273 @file{ftp://ds.internic.net/rfc/rfc1521.txt}.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1274 @end ifclear
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1275 @ifset html
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1276 @footnote{This @sc{rfc} (Request For Comments) is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1277 available via the @sc{url} @*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1278 @file{<A HREF="ftp://ds.internic.net/rfc/rfc1521.txt">ftp://ds.internic.net/rfc/rfc1521.txt</A>}.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1279 @end ifset
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1280 which defines the @sc{mime} protocol, for a list of valid content types.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1281
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1282 @cindex content description
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1283 @cindex MIME, content description
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1284
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1285 You are also sometimes asked for a @dfn{content description}. This is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1286 simply an optional brief phrase, in your own words, that describes the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1287 object. If you don't care to enter a content description, just press
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1288 return and none will be included; however, a reader may skip over
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1289 multimedia fields unless the content description is compelling.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1290
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1291 Remember: you can always add @code{mhn} directives by hand.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1292
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1293 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1294 * Forwarding MIME::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1295 * FTP::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1296 * Tar::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1297 * Other MIME Objects::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1298 * Sending MIME::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1299 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1300
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1301 @node Forwarding MIME, FTP, Editing MIME, Editing MIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1302 @subsubsection Forwarding multimedia messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1303
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1304 @findex @code{mh-mhn-compose-forw}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1305
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1306 Mail may be forwarded with @sc{mime} using the command @kbd{C-c C-m C-f}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1307 (@code{mh-mhn-compose-forw}). You are prompted for a content
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1308 description, the name of the folder in which the messages to forward are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1309 located, and the messages' numbers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1310
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1311 @node FTP, Tar, Forwarding MIME, Editing MIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1312 @subsubsection Including an ftp reference
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1313
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1314 @cindex @code{ftp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1315 @cindex Unix commands, @code{ftp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1316 @cindex MIME, @code{ftp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1317 @findex @code{mh-mhn-compose-anon-ftp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1318
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1319 You can even have your message initiate an @code{ftp} transfer when the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1320 recipient reads the message. To do this, use the @kbd{C-c C-m C-e}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1321 (@code{mh-mhn-compose-anon-ftp}) command. You are prompted for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1322 remote host and pathname, the content type, and the content description.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1323
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1324 @node Tar, Other MIME Objects, FTP, Editing MIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1325 @subsubsection Including tar files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1326
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1327 @cindex @code{tar}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1328 @cindex Unix commands, @code{tar}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1329 @cindex MIME, @code{tar}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1330 @cindex @code{ftp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1331 @cindex Unix commands, @code{ftp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1332 @cindex MIME, @code{ftp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1333 @findex @code{mh-mhn-compose-external-compressed-tar}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1334
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1335 If the remote file (@pxref{FTP}) is a compressed tar file, you can use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1336 @kbd{C-c C-m C-t} (@code{mh-mhn-compose-external-compressed-tar}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1337 Then, in addition to retrieving the file via anonymous @emph{ftp}, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1338 file will also be uncompressed and untarred. You are prompted for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1339 remote host and pathname and the content description. The pathname
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1340 should contain at least one @samp{/} (slash), because the pathname is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1341 broken up into directory and name components.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1342
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1343 @node Other MIME Objects, Sending MIME, Tar, Editing MIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1344 @subsubsection Including other multimedia objects
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1345
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1346 @cindex images
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1347 @cindex MIME, images
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1348 @cindex sound
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1349 @cindex MIME, sound
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1350 @cindex video
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1351 @cindex MIME, video
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1352 @findex @code{mh-mhn-compose-insertion}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1353
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1354 Images, sound, and video can be inserted in your message with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1355 @kbd{C-c C-m C-i} (@code{mh-mhn-compose-insertion}) command. You are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1356 prompted for the filename containing the object, the content type, and a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1357 content description of the object.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1358
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1359 @node Sending MIME, , Other MIME Objects, Editing MIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1360 @subsubsection Readying multimedia messages for sending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1361
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1362 When you are finished editing a @sc{mime} message, it might look like this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1363
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1364 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1365 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1366 @cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1367 3 24Aug root received fax files on Wed Aug 24 11:00:13
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1368 4+ 24Aug To:wohler Test<<This is a test message to get the wh
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1369
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1370
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1371
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1372
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1373
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1374 --%%-@{+inbox@} 4 msgs (1-4) (MH-Folder Show)--Bot-------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1375 To: wohler
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1376 cc:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1377 Subject: Test of MIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1378 --------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1379 #@@application/octet-stream [Nonexistent ftp test file] \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1380 access-type=anon-ftp; site=berzerk.com; name=panacea.tar.gz; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1381 directory="/pub/"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1382 #audio/basic [Test sound bite] /tmp/noise.au
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1383 --**-@{draft@} (MH-Letter)--All--------------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1384
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1385 @end cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1386 @i{mh-e @sc{mime} draft}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1387 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1388 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1389
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1390 @cindex @code{mhn}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1391 @cindex MH commands, @code{mhn}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1392 @findex @code{mh-edit-mhn}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1393
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1394 The lines added by the previous commands are @code{mhn} directives and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1395 need to be converted to @sc{mime} directives before sending. This is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1396 accomplished by the command @kbd{C-c C-e} (@code{mh-edit-mhn}), which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1397 runs @code{mhn} on the message. The following screen shows what those
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1398 commands look like in full @sc{mime} format. You can see why mail user
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1399 agents are usually built to hide these details from the user.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1400
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1401 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1402 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1403 @cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1404 To: wohler
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1405 cc:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1406 Subject: Test of MIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1407 MIME-Version: 1.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1408 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1409 Content-ID: <1623.777796162.0@@newt.com>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1410
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1411 ------- =_aaaaaaaaaa0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1412 Content-Type: message/external-body; access-type="anon-ftp";
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1413 site="berzerk.com"; name="panacea.tar.gz"; directory="/pub/"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1414
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1415 Content-Type: application/octet-stream
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1416 Content-ID: <1623.777796162.1@@newt.com>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1417 Content-Description: Nonexistent ftp test file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1418
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1419 ------- =_aaaaaaaaaa0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1420 Content-Type: audio/basic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1421 Content-ID: <1623.777796162.2@@newt.com>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1422 Content-Description: Test sound bite
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1423 Content-Transfer-Encoding: base64
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1424
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1425 Q3JlYXRpdmUgVm9pY2UgRmlsZRoaAAoBKREBQh8AgwCAgH9/f35+fn59fX5+fn5+f39/f39/f3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1426 f4B/f39/f39/f39/f39/f39+f39+f39/f39/f4B/f39/fn5/f39/f3+Af39/f39/gH9/f39/fn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1427 -----@{draft@} (MH-Letter)--Top--------------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1428
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1429 @end cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1430 @i{mh-e @sc{mime} draft ready to send}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1431 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1432 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1433
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1434 @findex @code{mh-revert-mhn-edit}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1435
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1436 This action can be undone by running @kbd{C-c C-m C-u}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1437 (@code{mh-revert-mhn-edit}). It does this by reverting to a backup
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1438 file. You are prompted to confirm this action, but you can avoid the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1439 confirmation by adding an argument (for example, @kbd{C-u C-c C-m C-u}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1440
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1441 @node Sending Message, Killing Draft, Editing MIME, Draft Editing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1442 @subsection Sending a Message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1443
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1444 @cindex sending mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1445 @findex @code{mh-send-letter}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1446
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1447 When you are all through editing a message, you send it with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1448 @kbd{C-c C-c} (@code{mh-send-letter}) command. You can give an argument
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1449 (as in @kbd{C-u C-c C-c}) to monitor the first stage of the delivery.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1450
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1451 @node Killing Draft, , Sending Message, Draft Editing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1452 @subsection Killing the Draft
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1453
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1454 @cindex killing draft
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1455 @findex @code{mh-fully-kill-draft}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1456
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1457 If for some reason you are not happy with the draft, you can kill it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1458 instead with @kbd{C-c C-q} (@code{mh-fully-kill-draft}). Emacs then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1459 kills the draft buffer and deletes the draft message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1460
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1461 @node Moving Mail, Searching, Draft Editing, Using mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1462 @section Moving Your Mail Around
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1463
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1464 @cindex processing mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1465
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1466 This section covers how messages and folders can be moved about or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1467 manipulated. Messages may be incorporated into your @file{+inbox},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1468 deleted, and refiled. Messages containing @code{shar} or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1469 @code{uuencode} output can be stored. Folders can be visited, sorted,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1470 packed, or deleted. Here's a list of the available commands to do these
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1471 things:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1472
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1473 @c Stephen thinks that ? should be documented here, since it also shows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1474 @c which folders a message will be refiled to.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1475
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1476 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1477 @item i
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1478 Incorporate new mail into folder (@code{mh-inc-folder}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1479
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1480 @item d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1481 Delete message (@code{mh-delete-msg}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1482
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1483 @item C-d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1484 Delete message, don't move to next message (@code{mh-delete-msg-no-motion}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1485
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1486 @item M-s
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1487 Find messages that meet search criteria (@code{mh-search-folder}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1488
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1489 @item o
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1490 Output (refile) message to folder (@code{mh-refile-msg}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1491
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1492 @item c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1493 Copy message to folder (@code{mh-copy-msg}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1494
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1495 @item C-o
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1496 Output (write) message to file (@code{mh-write-msg-to-file}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1497
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1498 @item !
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1499 Repeat last output command (@code{mh-refile-or-write-again}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1500
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1501 @item l
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1502 Print message with @code{lpr} (@code{mh-print-msg}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1503
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1504 @item |
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1505 Pipe message through shell command (@code{mh-pipe-msg}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1506
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1507 @item M-n
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1508 Unpack message created with @code{uudecode} or @code{shar}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1509 (@code{mh-store-msg}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1510
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1511 @item M-l
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1512 List all folders (@code{mh-list-folders}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1513
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1514 @item M-f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1515 Visit folder (@code{mh-visit-folder}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1516
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1517 @item M-r
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1518 Regenerate scan lines (@code{mh-rescan-folder}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1519
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1520 @item M-x mh-sort-folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1521 Sort folder.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1522
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1523 @item M-p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1524 Pack folder (@code{mh-pack-folder}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1525
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1526 @item M-k
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1527 Remove folder (@code{mh-kill-folder}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1528
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1529 @item x
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1530 Execute pending refiles and deletes (@code{mh-execute-commands}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1531
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1532 @item u
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1533 Undo pending refile or delete (@code{mh-undo}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1534
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1535 @item M-u
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1536 Undo all pending refiles and deletes (@code{mh-undo-folder}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1537
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1538 @item q
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1539 Quit (@code{mh-quit}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1540 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1541
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1542 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1543 * Incorporating::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1544 * Deleting::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1545 * Organizing::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1546 * Printing::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1547 * Files and Pipes::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1548 * Finishing Up::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1549 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1550
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1551 @node Incorporating, Deleting, Moving Mail, Moving Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1552 @subsection Incorporating Your Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1553
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1554 @cindex incorporating
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1555 @findex @code{mh-inc-folder}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1556
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1557 If at any time you receive new mail, incorporate the new mail into your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1558 @samp{+inbox} buffer with @kbd{i} (@code{mh-inc-folder}). Note that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1559 @kbd{i} will display the @samp{+inbox} buffer, even if there isn't any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1560 new mail. You can incorporate mail from any file into the current
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1561 folder by specifying a prefix argument; you'll be prompted for the name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1562 of the file to use (for example, @kbd{C-u i ~/mbox @key{RET}}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1563
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1564 @cindex Emacs, notification of new mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1565 @cindex notification of new mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1566 @cindex new mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1567 @cindex @file{.emacs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1568 @cindex files, @file{.emacs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1569
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1570 Emacs can notify you when you have new mail by displaying @samp{Mail} in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1571 the mode line. To enable this behavior, and to have a clock in the mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1572 line besides, add the following to @file{~/.emacs}:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1573
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1574 @findex @code{display-time}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1575
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1576 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1577 (display-time)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1578 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1579
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1580 @node Deleting, Organizing, Incorporating, Moving Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1581 @subsection Deleting Your Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1582
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1583 @cindex deleting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1584 @findex @code{mh-delete-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1585 @findex @code{mh-delete-msg-no-motion}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1586
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1587 To mark a message for deletion, use the @kbd{d} (@code{mh-delete-msg})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1588 command. A @samp{D} is placed by the message in the scan window, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1589 the next message is displayed. If the previous command had been
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1590 @kbd{p}, then the next message displayed is the message previous to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1591 message just deleted. If you specify a prefix argument, you will be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1592 prompted for a sequence (@pxref{Sequences}) to delete (for example,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1593 @kbd{C-u d frombob RET}). The @kbd{x} command actually carries out the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1594 deletion (@pxref{Finishing Up}). @kbd{C-d}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1595 (@code{mh-delete-msg-no-motion}) marks the message for deletion but
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1596 leaves the cursor at the current message in case you wish to perform
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1597 other operations on the message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1598
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1599 @node Organizing, Printing, Deleting, Moving Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1600 @subsection Organizing Your Mail with Folders
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1601
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1602 @cindex using folders
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1603 @cindex @code{folder}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1604 @cindex MH commands, @code{folder}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1605 @cindex @code{refile}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1606 @cindex MH commands, @code{refile}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1607 @findex @code{mh-refile-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1608
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1609 mh-e has analogies for each of the MH @code{folder} and @code{refile}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1610 commands. To refile a message in another folder, use the @kbd{o}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1611 (@code{mh-refile-msg}) (mnemonic: ``output'') command. You are prompted
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1612 for the folder name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1613
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1614 @findex @code{mh-refile-or-write-again}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1615
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1616 If you are refiling several messages into the same folder, you can use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1617 the @kbd{!} (@code{mh-refile-or-write-again}) command to repeat the last
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1618 refile or write (see the description of @kbd{C-o} in @ref{Files and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1619 Pipes}). Or, place the messages into a sequence (@ref{Sequences}) and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1620 specify a prefix argument to @kbd{o}, in which case you'll be prompted
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1621 for the name of the sequence (for example, @kbd{C-u o search RET}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1622
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1623 @findex @code{mh-copy-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1624
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1625 If you wish to copy a message to another folder, you can use the @kbd{c}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1626 (@code{mh-copy-msg}) command (see the @code{-link} argument to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1627 @code{refile}(1)). You are prompted for a folder, and you can specify a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1628 prefix argument if you want to copy a sequence into another folder. In
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1629 this case, you are then prompted for the sequence. Note that unlike the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1630 @kbd{o} command, the copy takes place immediately. The original copy
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1631 remains in the current folder.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1632
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1633 @findex @code{mh-visit-folder}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1634
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1635 When you want to read the messages that you have refiled into folders,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1636 use the @kbd{M-f} (@code{mh-visit-folder}) command to visit the folder.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1637 You are prompted for the folder name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1638
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1639 @findex @code{mh-list-folders}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1640 @findex @code{mh-visit-folder}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1641 @findex @code{mh-sort-folder}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1642 @findex @code{mh-pack-folder}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1643 @findex @code{mh-rescan-folder}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1644
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1645 Other commands you can perform on folders include: @kbd{M-l}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1646 (@code{mh-list-folders}), to list all the folders in your mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1647 directory; @kbd{M-k} (@code{mh-kill-folder}), to remove a folder;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1648 @kbd{M-x mh-sort-folder}, to sort the messages by date (see
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1649 @code{sortm}(1) to see how to sort by other criteria); @kbd{M-p}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1650 (@code{mh-pack-folder}), to pack a folder, removing gaps from the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1651 numbering sequence; and @kbd{M-r} (@code{mh-rescan-folder}), to rescan
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1652 the folder, which is useful to grab all messages in your @file{+inbox}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1653 after processing your new mail for the first time. If you don't want to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1654 rescan the entire folder, give @kbd{M-r} or @kbd{M-p} a prefix argument
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1655 and you'll be prompted for a range of messages to display (for instance,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1656 @kbd{C-u M-r last:50 RET}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1657
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1658 @node Printing, Files and Pipes, Organizing, Moving Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1659 @subsection Printing Your Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1660
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1661 @cindex printing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1662 @cindex @code{mhl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1663 @cindex MH commands, @code{mhl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1664 @cindex @code{lpr}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1665 @cindex Unix commands, @code{lpr}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1666 @findex @code{mh-print-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1667
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1668 Printing mail is simple. Enter @kbd{l} (@code{mh-print-msg}) (for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1669 @i{l}ine printer or @i{l}pr). The message is formatted with @code{mhl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1670 and printed with the @code{lpr} command. You can print all the messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1671 in a sequence by specifying a prefix argument, in which case you are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1672 prompted for the name of the sequence (as in @kbd{C-u l frombob RET}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1673
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1674 @node Files and Pipes, Finishing Up, Printing, Moving Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1675 @subsection Files and Pipes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1676
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1677 @cindex using files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1678 @cindex using pipes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1679 @findex @code{mh-write-msg-to-file}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1680
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1681 mh-e does offer a couple of commands that are not a part of MH@. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1682 first one, @kbd{C-o} (@code{mh-write-msg-to-file}), writes a message to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1683 a file (think of the @kbd{o} as in "output"). You are prompted for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1684 filename. If the file already exists, the message is appended to it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1685 You can also write the message to the file without the header by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1686 specifying a prefix argument (such as @kbd{C-u C-o /tmp/foobar RET}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1687 Subsequent writes to the same file can be made with the @kbd{!}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1688 command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1689
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1690 @findex @code{mh-pipe-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1691
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1692 You can also pipe the message through a Unix shell command with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1693 @kbd{|} (@code{mh-pipe-msg}) command. You are prompted for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1694 Unix command through which you wish to run your message. If you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1695 give an argument to this command, the message header is included in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1696 text passed to the command (the contrived example @kbd{C-u | lpr}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1697 would be done with the @kbd{l} command instead).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1698
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1699 @cindex @code{shar}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1700 @cindex Unix commands, @code{shar}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1701 @cindex @code{uuencode}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1702 @cindex Unix commands, @code{uuencode}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1703 @findex @code{mh-store-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1704
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1705 If the message is a shell archive @code{shar} or has been run through
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1706 @code{uuencode} use @kbd{M-n} (@code{mh-store-msg}) to extract the body
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1707 of the message. The default directory for extraction is the current
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1708 directory, and you have a chance to specify a different extraction
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1709 directory. The next time you use this command, the default directory is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1710 the last directory you used.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1711
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1712 @node Finishing Up, , Files and Pipes, Moving Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1713 @subsection Finishing Up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1714
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1715 @cindex expunging refiles and deletes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1716 @findex @code{mh-undo}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1717 @findex @code{mh-undo-folder}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1718
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1719 If you've deleted a message or refiled it, but changed your mind, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1720 can cancel the action before you've executed it. Use @kbd{u}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1721 (@code{mh-undo}) to undo a refile on or deletion of a single message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1722 You can also undo refiles and deletes for messages that belong to a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1723 given sequence by specifying a prefix argument. You'll be prompted for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1724 the name of the sequence (as in @kbd{C-u u frombob RET}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1725 Alternatively, you can use @kbd{M-u} (@code{mh-undo-folder}) to undo all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1726 refiles or deletes in the current folder.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1727
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1728 @findex @code{mh-execute-commands}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1729
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1730 If you've marked messages to be deleted or refiled and you want to go
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1731 ahead and delete or refile the messages, use @kbd{x}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1732 (@code{mh-execute-commands}). Many mh-e commands that may affect the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1733 numbering of the messages (such as @kbd{M-r} or @kbd{M-p}) will ask if you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1734 want to process refiles or deletes first and then either run @kbd{x} for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1735 you or undo the pending refiles and deletes, which are lost.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1736
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1737 @findex @code{mh-rmail}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1738 @findex @code{mh-quit}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1739
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1740 When you want to quit using mh-e and go back to editing, you can use the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1741 @kbd{q} (@code{mh-quit}) command. This buries the buffers of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1742 current mh-e folder and restores the buffers that were present when you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1743 first ran @kbd{M-x mh-rmail}. You can later restore your mh-e session
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1744 by selecting the @samp{+inbox} buffer or by running @kbd{M-x mh-rmail}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1745 again.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1746
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1747 @node Searching, Sequences, Moving Mail, Using mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1748 @section Searching Through Messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1749
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1750 @cindex searching
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1751 @findex @code{mh-search-folder}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1752
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1753 You can search a folder for messages to or from a particular person or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1754 about a particular subject. In fact, you can also search for messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1755 containing selected strings in any arbitrary header field or any string
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1756 found within the messages. Use the @kbd{M-s} (@code{mh-search-folder})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1757 command. You are first prompted for the name of the folder to search
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1758 and then placed in the following buffer in MH-Pick mode:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1759
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1760 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1761 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1762 @cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1763 From: #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1764 To:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1765 Cc:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1766 Date:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1767 Subject:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1768 --------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1769
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1770
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1771
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1772
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1773
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1774
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1775
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1776
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1777
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1778 --**-Emacs: pick-pattern (MH-Pick)------All----------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1779
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1780 @end cartouche
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1781 @i{Pick window}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1782 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1783 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1784
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1785 @cindex @code{pick}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1786 @cindex MH commands, @code{pick}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1787
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1788 Edit this template by entering your search criteria in an appropriate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1789 header field that is already there, or create a new field yourself. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1790 the string you're looking for could be anywhere in a message, then place
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1791 the string underneath the row of dashes. The @kbd{M-s} command uses the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1792 MH command @code{pick} to do the real work, so read @code{pick}(1) to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1793 find out more about how to enter the criteria.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1794
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1795 There are no semantics associated with the search criteria---they are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1796 simply treated as strings. Case is ignored when all lowercase is used,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1797 and regular expressions (a la @code{ed}) are available. It is all right
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1798 to specify several search criteria. What happens then is that a logical
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1799 @emph{and} of the various fields is performed. If you prefer a logical
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1800 @emph{or} operation, run @kbd{M-s} multiple times.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1801
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1802 As an example, let's say that we want to find messages from Ginnean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1803 about horseback riding in the Kosciusko National Park (Australia) during
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1804 January, 1994. Normally we would start with a broad search and narrow
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1805 it down if necessary to produce a manageable amount of data, but we'll
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1806 cut to the chase and create a fairly restrictive set of criteria as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1807 follows:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1808
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1809 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1810 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1811 From: ginnean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1812 To:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1813 Cc:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1814 Date: Jan 1994
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1815 Subject: horse.*kosciusko
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1816 --------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1817 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1818 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1819
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1820 @findex @code{mh-to-field}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1821
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1822 As with MH-Letter mode, MH-Pick provides commands like
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1823 @kbd{C-c C-f C-t} to help you fill in the blanks.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1824
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1825 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1826 @item C-c C-f C-t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1827 Move to @samp{To:} header field (@code{mh-to-field}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1828
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1829 @item C-c C-f C-c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1830 Move to @samp{cc:} header field (@code{mh-to-field}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1831
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1832 @item C-c C-f C-s
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1833 Move to @samp{Subject:} header field (@code{mh-to-field}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1834
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1835 @item C-c C-f C-f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1836 Move to @samp{From:} header field (@code{mh-to-field}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1837
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1838 @item C-c C-f C-b
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1839 Move to @samp{Bcc:} header field (@code{mh-to-field}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1840
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1841 @item C-c C-f C-f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1842 Move to @samp{Fcc:} header field (@code{mh-to-field}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1843
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1844 @item C-c C-f C-d
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1845 Move to @samp{Dcc:} header field (@code{mh-to-field}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1846
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1847 @item C-c C-c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1848 Execute the search (@code{mh-do-pick-search}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1849 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1850
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1851 @findex @code{mh-do-pick-search}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1852
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1853 To perform the search, type @kbd{C-c C-c} (@code{mh-do-pick-search}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1854 The selected messages are placed in the @i{search} sequence, which you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1855 can use later in forwarding (@pxref{Forwarding}), printing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1856 (@pxref{Printing}), or narrowing your field of view (@pxref{Sequences}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1857 Subsequent searches are appended to the @i{search} sequence. If,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1858 however, you wish to start with a clean slate, first delete the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1859 @i{search} sequence (how to do this is discussed in @ref{Sequences}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1860
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1861 @cindex MH-Folder mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1862 @cindex modes, MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1863
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1864 If you're searching in a folder that is already displayed in a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1865 MH-Folder buffer, only those messages contained in the buffer are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1866 used for the search. Therefore, if you want to search in all messages,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1867 first kill the folder's buffer with @kbd{C-x k} or scan the entire
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1868 folder with @kbd{M-r}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1869
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1870 @node Sequences, Miscellaneous, Searching, Using mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1871 @section Using Sequences
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1872
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1873 @cindex sequences
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1874
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1875 For the whole scoop on MH sequences, refer to @code{mh-sequence}(5). As
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1876 you've read, several of the mh-e commands can operate on a sequence,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1877 which is a shorthand for a range or group of messages. For example, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1878 might want to forward several messages to a friend or colleague. Here's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1879 how to manipulate sequences.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1880
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1881 @table @kbd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1882 @item %
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1883 Put message in a sequence (@code{mh-put-msg-in-seq}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1884
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1885 @item ?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1886 Display sequences that message belongs to (@code{mh-msg-is-in-seq}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1887
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1888 @item M-q
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1889 List all sequences in folder (@code{mh-list-sequences}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1890
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1891 @item M-%
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1892 Remove message from sequence (@code{mh-delete-msg-from-seq}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1893
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1894 @item M-#
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1895 Delete sequence (@code{mh-delete-seq}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1896
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1897 @item C-x n
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1898 Restrict display to messages in sequence (@code{mh-narrow-to-seq}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1899
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1900 @item C-x w
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1901 Remove restriction; display all messages (@code{mh-widen}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1902
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1903 @item M-x mh-update-sequences
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1904 Push mh-e's state out to MH@.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1905 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1906
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1907 @cindex @code{pick}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1908 @cindex MH commands, @code{pick}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1909 @findex @code{mh-put-msg-in-seq}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1910
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1911 To place a message in a sequence, use @kbd{%} (@code{mh-put-msg-in-seq})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1912 to do it manually, or use the MH command @code{pick} or the mh-e version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1913 of @code{pick} (@ref{Searching}) which create a sequence automatically.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1914 Give @kbd{%} a prefix argument and you can add all the messages in one
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1915 sequence to another sequence (for example, @kbd{C-u % SourceSequence
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1916 RET}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1917
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1918 @cindex MH-Folder mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1919 @cindex modes, MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1920 @findex @code{mh-narrow-to-seq}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1921 @findex @code{mh-widen}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1922
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1923 Once you've placed some messages in a sequence, you may wish to narrow
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1924 the field of view to just those messages in the sequence you've created.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1925 To do this, use @kbd{C-x n} (@code{mh-narrow-to-seq}). You are prompted
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1926 for the name of the sequence. What this does is show only those
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1927 messages that are in the selected sequence in the MH-Folder buffer. In
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1928 addition, it limits further mh-e searches to just those messages. When
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1929 you want to widen the view to all your messages again, use @kbd{C-x w}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1930 (@code{mh-widen}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1931
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1932 @findex @code{mh-msg-is-in-seq}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1933 @findex @code{mh-list-sequences}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1934
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1935 You can see which sequences a message is in with the @kbd{?}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1936 (@code{mh-msg-is-in-seq}) command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1937 @c Doesn't work:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1938 @c use a prefix argument to query a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1939 @c message other than the current one (as in @kbd{C-u ? 42 RET}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1940 Or, you can list all sequences in a selected folder (default is current
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1941 folder) with @kbd{M-q} (@code{mh-list-sequences}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1942
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1943 @findex @code{mh-delete-msg-from-seq}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1944 @findex @code{mh-delete-seq}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1945
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1946 If you want to remove a message from a sequence, use @kbd{M-%}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1947 (@code{mh-delete-msg-from-seq}), and if you want to delete an entire
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1948 sequence, use @kbd{M-#} (@code{mh-delete-seq}). In the latter case you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1949 are prompted for the sequence to delete. Note that this deletes only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1950 the sequence, not the messages in the sequence. If you want to delete
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1951 the messages, use @kbd{C-u d} (see @ref{Deleting} above).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1952
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1953 @cindex @code{mark}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1954 @cindex MH commands, @code{mark}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1955
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1956 @findex @code{mh-update-sequences}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1957
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1958 Two sequences are maintained internally by mh-e and pushed out to MH
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1959 when you type either the @kbd{x} or @kbd{q} command. They are the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1960 sequence specified by your @samp{Unseen-Sequence:} profile entry and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1961 @i{cur}. However, you can also just update MH's state with the command
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1962 @kbd{M-x mh-update-sequences}. See @ref{Customizing Viewing} for an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1963 example of how this command might be used.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1964
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1965 With the exceptions of @kbd{C-x n} and @kbd{C-x w}, the underlying MH
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1966 command dealing with sequences is @code{mark}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1967
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1968 @node Miscellaneous, , Sequences, Using mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1969 @section Miscellaneous Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1970
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1971 @findex @code{mh-version}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1972
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1973 One other command worth noting is @kbd{M-x mh-version}. Since there
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1974 were a few changes in command letters between @w{Versions 3} and 4, use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1975 this command to see which version you are running. This command didn't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1976 exist before @w{Version 4}, so the message @samp{[No match]}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1977 indicates that it's time to upgrade (@pxref{Getting mh-e}). In the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1978 meantime, use the older commands that are listed in @ref{Changes to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1979 mh-e}. The output of @kbd{M-x mh-version} should also be included with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1980 any bug report you send (@pxref{Bug Reports}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1981
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1982 @node Customizing mh-e, Odds and Ends, Using mh-e, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1983 @chapter Customizing mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1984
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1985 Until now, we've talked about the mh-e commands as they work ``out of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1986 box.'' Of course, it is also possible to reconfigure mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1987 @c to fit the needs of even the most demanding user. ???
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1988 beyond recognition. The following sections describe all of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1989 customization variables, show the defaults, and make recommendations for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1990 customization. The outline of this chapter is identical to that of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1991 @ref{Using mh-e}, to make it easier to find the variables you'd need to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1992 modify to affect a particular command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1993
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1994 However, when customizing your mail environment, first try to change
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1995 what you want in MH, and only change mh-e if changing MH is not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1996 possible. That way you will get the same behavior inside and outside
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1997 GNU Emacs. Note that mh-e does not provide hooks for customizations
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1998 that can be done in MH; this omission is intentional.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1999
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2000 @cindex @file{.emacs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2001 @cindex files, @file{.emacs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2002
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2003 Many string or integer variables are easy enough to modify using Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2004 Lisp. Any such modifications should be placed in a file called
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2005 @file{.emacs} in your home directory (that is, @file{~/.emacs}). For
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2006 example, to modify the variable that controls printing, you could add:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2007
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2008 @vindex @code{mh-lpr-command-format}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2009
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2010 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2011 (setq mh-lpr-command-format "nenscript -G -r -2 -i'%s'")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2012 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2013
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2014 @ref{Customizing Printing} talks more about this variable.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2015
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2016 @cindex setting variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2017 @cindex Emacs, setting variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2018
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2019 Variables can also hold Boolean values. In Emacs Lisp, the Boolean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2020 values are @code{nil}, which means false, and @code{t}, which means true.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2021 Usually, variables are turned off by setting their value to @code{nil}, as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2022 in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2023
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2024 @vindex @code{mh-bury-show-buffer}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2025
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2026 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2027 (setq mh-bury-show-buffer nil)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2028 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2029
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2030 which keeps the MH-Show buffer at the top of the buffer stack.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2031 To turn a variable on, you use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2032
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2033 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2034 (setq mh-bury-show-buffer t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2035 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2036
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2037 which places the MH-Show buffer at the bottom of the buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2038 stack. However, the text says to turn on a variable by setting it to a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2039 @emph{non-@code{nil}} value, because sometimes values other than @code{t} are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2040 meaningful (for example, see @code{mhl-formfile}, described in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2041 @ref{Customizing Viewing}). Other variables, such as hooks, involve a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2042 little more Emacs Lisp programming expertise.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2043
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2044 You can also ``preview'' the effects of changing variables before
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2045 committing the changes to @file{~/.emacs}. Variables can be changed in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2046 the current Emacs session by using @kbd{M-x set-variable}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2047
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2048 @c XXX Stephen says: would be easier to just call them functions, which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2049 @c you mostly do.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2050 In general, @dfn{commands} in this text refer to Emacs Lisp functions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2051 Programs outside of Emacs are specifically called MH commands, shell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2052 commands, or Unix commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2053
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2054 @cindex Emacs, Emacs Lisp manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2055 @cindex Emacs, online help
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2056 @cindex online help
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2057 @cindex Emacs, info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2058 @cindex info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2059
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2060 I hope I've included enough examples here to get you well on your way.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2061 If you want to explore Emacs Lisp further, a programming manual does
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2062 exist,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2063 @c Yes, some of the stuff in the following sections is redundant, but
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2064 @c TeX barfs if the @ifs are inside the @footnote.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2065 @iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2066 @footnote{The @cite{GNU Emacs Lisp Reference Manual} may be available
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2067 online in the Info system by typing @kbd{C-h i m Emacs Lisp RET}. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2068 not, you can order a printed manual, which has the desirable side-effect
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2069 of helping to support the Free Software Foundation which made all this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2070 great software available. You can find an order form by running
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2071 @kbd{C-h C-d}, or you can request an order form from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2072 @i{gnu@@prep.ai.mit.edu}.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2073 @end iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2074 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2075 @footnote{Perhaps you can find the online version of @ref{Top, The GNU
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2076 Emacs Lisp Reference Manual, , elisp, GNU Emacs Lisp Reference Manual}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2077 If not, you can order a printed manual, which has the desirable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2078 side-effect of helping to support the Free Software Foundation which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2079 made all this great software available. You can find an order form by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2080 running @kbd{C-h C-d}, or you can request an order form from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2081 @i{gnu@@prep.ai.mit.edu}.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2082 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2083 and you can look at the code itself for examples. Look in the Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2084 Lisp directory on your system (such as @file{/usr/local/lib/emacs/lisp})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2085 and find all the @file{mh-*.el} files there. When calling mh-e and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2086 other Emacs Lisp functions directly from Emacs Lisp code, you'll need to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2087 know the correct arguments. Use the online help for this. For example,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2088 try @kbd{C-h f mh-execute-commands RET}. If you write your own
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2089 functions, please do not prefix your symbols (variables and functions)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2090 with @code{mh-}. This prefix is reserved for the mh-e package. To
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2091 avoid conflicts with existing mh-e symbols, use a prefix like @code{my-}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2092 or your initials.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2093
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2094 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2095 * Customizing Reading::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2096 * Customizing Sending::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2097 * Customizing Draft Editing::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2098 * Customizing Moving Mail::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2099 * Customizing Searching::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2100 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2101
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2102 @node Customizing Reading, Customizing Sending, Customizing mh-e, Customizing mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2103 @section Reading Your Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2105 @cindex reading mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2106 @cindex @file{.emacs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2107 @cindex files, @file{.emacs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2108
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2109 I'll start out by including a function that I use as a front end to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2110 mh-e. @footnote{Stephen Gildea's favorite binding is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2111 @kbd{(global-set-key "\C-cr" 'mh-rmail)}.} It toggles between your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2112 working window configuration, which may be quite involved---windows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2113 filled with source, compilation output, man pages, and other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2114 documentation---and your mh-e window configuration. Like the rest of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2115 the customization described in this chapter, simply add the following
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2116 code to @file{~/.emacs}. Don't be intimidated by the size of this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2117 example; most customizations are only one line.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2118
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2119 @iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2120 @filbreak
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2121 @end iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2122
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2123 @findex @code{mh-rmail}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2124
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2125 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2126 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2127 @i{Starting mh-e}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2128
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2129 (defvar my-mh-screen-saved nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2130 "Set to non-@code{nil} when mh-e window configuration shown.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2131 (defvar my-normal-screen nil "Normal window configuration.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2132 (defvar my-mh-screen nil "mh-e window configuration.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2134 (defun my-mh-rmail (&optional arg)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2135 "Toggle between mh-e and normal screen configurations.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2136 With non-@code{nil} or prefix argument, @i{inc} mailbox as well
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2137 when going into mail."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2138 (interactive "P") ; @r{user callable function, P=prefix arg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2139 (setq my-mh-screen-saved ; @r{save state}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2140 (cond
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2141 ;; @r{Bring up mh-e screen if arg or normal window configuration.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2142 ;; @r{If arg or +inbox buffer doesn't exist, run mh-rmail.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2143 ((or arg (null my-mh-screen-saved))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2144 (setq my-normal-screen (current-window-configuration))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2145 (if (or arg (null (get-buffer "+inbox")))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2146 (mh-rmail)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2147 (set-window-configuration my-mh-screen))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2148 t) ; @r{set my-mh-screen-saved to @code{t}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2149 ;; @r{Otherwise, save mh-e screen and restore normal screen.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2150 (t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2151 (setq my-mh-screen (current-window-configuration))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2152 (set-window-configuration my-normal-screen)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2153 nil)))) ; @r{set my-mh-screen-saved to nil}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2154
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2155 (global-set-key "\C-x\r" 'my-mh-rmail) ;@r{ call with C-x RET}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2156 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2157 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2158
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2159 If you type an argument (@kbd{C-u}) or if @code{my-mh-screen-saved}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2160 is @code{nil} (meaning a non-mh-e window configuration), the current window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2161 configuration is saved, either +inbox is displayed or @code{mh-rmail} is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2162 run, and the mh-e window configuration is shown. Otherwise, the mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2163 window configuration is saved and the original configuration is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2164 displayed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2165
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2166 Now to configure mh-e. The following table lists general mh-e variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2167 and variables that are used while reading mail.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2168 @c XXX Seth wishes the descriptions to be more parallel. That is,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2169 @c some are actions, and some are objects. Hmmm.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2170
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2171 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2172 @item mh-progs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2173 Directory containing MH programs (default: dynamic).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2174
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2175 @item mh-lib
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2176 Directory containing MH support files and programs (default: dynamic).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2177
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2178 @item mh-do-not-confirm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2179 Don't confirm on non-reversible commands (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2180
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2181 @item mh-summary-height
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2182 Number of scan lines to show (includes mode line) (default: 4).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2183
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2184 @item mh-folder-mode-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2185 Functions to run in MH-Folder mode (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2186
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2187 @item mh-clean-message-header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2188 Remove extraneous headers (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2189
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2190 @item mh-invisible-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2191 Headers to hide (default: @samp{"^Received: \\| ^Message-Id: \\|
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2192 ^Remailed-\\| ^Via: \\| ^Mail-from: \\| ^Return-Path: \\| ^In-Reply-To:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2193 \\| ^Resent-"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2194
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2195 @item mh-visible-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2196 Headers to display (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2197
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2198 @item mhl-formfile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2199 Format file for @code{mhl} (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2200
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2201 @item mh-show-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2202 Functions to run when showing message (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2203
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2204 @item mh-show-mode-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2205 Functions to run when showing message (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2206
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2207 @item mh-bury-show-buffer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2208 Leave show buffer at bottom of stack (default: @code{t}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2209
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2210 @item mh-show-buffer-mode-line-buffer-id
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2211 Name of show buffer in mode line (default: @samp{"@{show-%s@} %d"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2212 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2213
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2214 @vindex @code{mh-progs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2215 @vindex @code{mh-lib}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2216
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2217 The two variables @code{mh-progs} and @code{mh-lib} are used to tell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2218 mh-e where the MH programs and supporting files are kept, respectively.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2219 mh-e does try to figure out where they are kept for itself by looking in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2220 common places and in the user's @samp{PATH} environment variable, but if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2221 it cannot find the directories, or finds the wrong ones, you should set
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2222 these variables. The name of the directory should be placed in double
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2223 quotes, and there should be a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2224 trailing slash (@samp{/}). See the example in @ref{Getting Started}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2225
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2226 @vindex @code{mh-do-not-confirm}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2227
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2228 If you never make mistakes, and you do not like confirmations for your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2229 actions, you can set @code{mh-do-not-confirm} to a non-@code{nil} value to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2230 disable confirmation for unrecoverable commands such as @kbd{M-k}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2231 (@code{mh-kill-folder}) and @kbd{M-u} (@code{mh-undo-folder}). Here's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2232 how you set boolean values:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2233
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2234 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2235 (setq mh-do-not-confirm t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2236 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2237
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2238 @vindex @code{mh-summary-height}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2239 @cindex MH-Folder mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2240 @cindex modes, MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2241
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2242 @c Prevent page break between paragraph and example.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2243 @need 2000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2244 The variable @code{mh-summary-height} controls the number of scan lines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2245 displayed in the MH-Folder window, including the mode line. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2246 default value of 4 means that 3 scan lines are displayed. Here's how
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2247 you set numerical values:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2248
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2249 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2250 (setq mh-summary-height 2) ; @r{only show the current scan line}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2251 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2252
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2253 @vindex @code{mh-bury-show-buffer}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2254 @cindex MH-Folder mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2255 @cindex modes, MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2256
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2257 Normally the buffer for displaying messages is buried at the bottom at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2258 the buffer stack. You may wish to disable this feature by setting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2259 @code{mh-bury-show-buffer} to @code{nil}. One advantage of not burying the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2260 show buffer is that one can delete the show buffer more easily in an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2261 electric buffer list because of its proximity to its associated
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2262 MH-Folder buffer. Try running @kbd{M-x electric-buffer-list} to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2263 see what I mean.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2264
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2265 @vindex @code{mh-folder-mode-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2266 @cindex MH-Folder mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2267 @cindex modes, MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2268
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2269 The hook @code{mh-folder-mode-hook} is called when a new folder is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2270 created with MH-Folder mode. This could be used to set your own
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2271 key bindings, for example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2272
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2273 @vindex @code{mh-folder-mode-hook}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2274
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2275 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2276 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2277 @i{Create additional key bindings via mh-folder-mode-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2278
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2279 (defvar my-mh-init-done nil "Non-@code{nil} when one-time mh-e settings made.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2280
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2281 (defun my-mh-folder-mode-hook ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2282 "Hook to set key bindings in MH-Folder mode."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2283 (if (not my-mh-init-done) ; @r{only need to bind the keys once }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2284 (progn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2285 (local-set-key "/" 'search-msg)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2286 (local-set-key "b" 'mh-burst-digest) ; @r{better use of @kbd{b}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2287 (setq my-mh-init-done t))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2288
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2289 ;;; @r{Emacs 19}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2290 (add-hook 'mh-folder-mode-hook 'my-mh-folder-mode-hook)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2291 ;;; @r{Emacs 18}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2292 ;;; @r{(setq mh-folder-mode-hook (cons 'my-mh-folder-mode-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2293 ;;; @r{mh-folder-mode-hook))}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2294
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2295 (defun search-msg ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2296 "Search for a regexp in the current message."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2297 (interactive) ; @r{user function}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2298 (save-window-excursion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2299 (other-window 1) ; @r{go to next window}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2300 (isearch-forward-regexp))) ; @r{string search; hit return (ESC}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2301 ; @r{in Emacs 18) when done}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2302 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2303 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2304
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2305 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2306 * Customizing Viewing::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2307 * Customizing Moving Around::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2308 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2309
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2310 @node Customizing Viewing, Customizing Moving Around, Customizing Reading, Customizing Reading
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2311 @subsection Viewing Your Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2312
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2313 @vindex @code{mh-clean-message-header}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2314 @vindex @code{mh-invisible-headers}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2315 @vindex @code{mh-visible-headers}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2316
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2317 Several variables control what displayed messages look like. Normally
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2318 messages are delivered with a handful of uninteresting header fields.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2319 You can make them go away by setting @code{mh-clean-message-header} to a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2320 non-@code{nil} value. The header can then be cleaned up in two ways. By
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2321 default, the header fields in @code{mh-invisible-headers} are removed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2322 On the other hand, you could set @code{mh-visible-headers} to the fields
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2323 that you would like to see. If this variable is set,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2324 @code{mh-invisible-headers} is ignored. I suggest that you not set
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2325 @code{mh-visible-headers} since if you use this variable, you might miss
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2326 a lot of header fields that you'd rather not miss. As an example of how
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2327 to set a string variable, @code{mh-visible-headers} can be set to show a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2328 minimum set of header fields (see (@ref{Regexps, , Syntax of Regular
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2329 Expressions, emacs, The GNU Emacs Manual}, for a description of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2330 special characters in this string):
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2331
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2332 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2333 (setq mh-visible-headers "^From: \\|^Subject: \\|^Date: ")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2334 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2335
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2336 @cindex @code{mhl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2337 @cindex MH commands, @code{mhl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2338 @vindex @code{mhl-formfile}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2339
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2340 Normally mh-e takes care of displaying messages itself (rather than
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2341 calling an MH program to do the work). If you'd rather have @code{mhl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2342 display the message (within mh-e), set the variable @code{mhl-formfile}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2343 to a non-@code{nil} value. You can set this variable either to @code{t}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2344 to use the default format file or to a filename if you have your own
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2345 format file (@code{mhl}(1) tells you how to write one). When writing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2346 your own format file, use a nonzero value for @code{overflowoffset} to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2347 ensure the header is RFC 822 compliant and parseable by mh-e.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2348 @code{mhl} is always used for printing and forwarding; in this case, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2349 value of @code{mhl-formfile} is consulted if it is a filename.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2350
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2351 @vindex @code{mh-show-mode-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2352
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2353 Two hooks can be used to control how messages are displayed. The first
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2354 hook, @code{mh-show-mode-hook}, is called early on in the process of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2355 displaying of messages. It is used to perform some actions on the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2356 contents of messages, such as highlighting the header fields. If you're
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2357 running Emacs 19 under the X Window System, the following example will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2358 highlight the @samp{From:} and @samp{Subject:} header fields. This is a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2359 very nice feature indeed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2360
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2361 @vindex @code{mh-show-mode-hook}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2362
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2363 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2364 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2365 @i{Emphasize header fields in different fonts via mh-show-mode-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2366
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2367 (defvar my-mh-keywords
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2368 '(("^From: \\(.*\\)" 1 'bold t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2369 ("^Subject: \\(.*\\)" 1 'highlight t))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2370 "mh-e additions for font-lock-keywords.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2371
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2372 (defun my-mh-show-mode-hook ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2373 "Hook to turn on and customize fonts."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2374 (require 'font-lock) ; @r{for font-lock-keywords below}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2375 (make-local-variable 'font-lock-mode-hook) ; @r{don't affect other buffers}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2376 (add-hook 'font-lock-mode-hook ; @r{set a hook with inline function}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2377 (function ; @r{modifies font-lock-keywords when}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2378 (lambda () ; @r{font-lock-mode run}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2379 (setq font-lock-keywords
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2380 (append my-mh-keywords font-lock-keywords)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2381 (font-lock-mode 1)) ; @r{change the typefaces}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2382
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2383 (if window-system ; @r{can't do this on @sc{ASCII} terminal}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2384 (add-hook 'mh-show-mode-hook 'my-mh-show-mode-hook))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2385 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2386 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2387
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2388 @vindex @code{mh-show-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2389
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2390 The second hook, @code{mh-show-hook}, is the last thing called after
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2391 messages are displayed. It's used to affect the behavior of mh-e in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2392 general or when @code{mh-show-mode-hook} is too early. For example, if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2393 you wanted to keep mh-e in sync with MH, you could use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2394 @code{mh-show-hook} as follows:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2395
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2396 @vindex @code{mh-show-hook}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2397
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2398 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2399 (add-hook 'mh-show-hook 'mh-update-sequences)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2400 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2401
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2402 @vindex @code{mh-show-buffer-mode-line-buffer-id}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2403 @cindex MH-Show mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2404 @cindex modes, MH-Show
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2405
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2406 The function @code{mh-update-sequences} is documented in @ref{Finishing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2407 Up}. For those who like to modify their mode lines, use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2408 @code{mh-show-buffer-mode-line-buffer-id} to modify the mode line in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2409 MH-Show buffers. Place the two escape strings @samp{%s} and @samp{%d},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2410 which will display the folder name and the message number, respectively,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2411 somewhere in the string in that order. The default value of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2412 @samp{"@{show-%s@} %d"} yields a mode line of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2413
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2414 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2415 -----@{show-+inbox@} 4 (MH-Show)--Bot----------------------------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2416 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2417
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2418 @node Customizing Moving Around, , Customizing Viewing, Customizing Reading
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2419 @subsection Moving Around
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2420
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2421 @cindex moving between messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2422 @cindex MH-Show mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2423 @cindex modes, MH-Show
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2424 @cindex MH-Folder mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2425 @cindex modes, MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2426 @vindex @code{mh-recenter-summary-p}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2427
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2428 When you use @kbd{t} (@code{mh-toggle-showing}) to toggle between show
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2429 mode and scan mode, the MH-Show buffer is hidden and the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2430 MH-Folder buffer is left alone. Setting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2431 @code{mh-recenter-summary-p} to a non-@code{nil} value causes the toggle to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2432 display as many scan lines as possible, with the cursor at the middle.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2433 The effect of @code{mh-recenter-summary-p} is rather useful, but it can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2434 be annoying on a slow network connection.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2435
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2436 @node Customizing Sending, Customizing Draft Editing, Customizing Reading, Customizing mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2437 @section Sending Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2438
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2439 @cindex sending mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2440
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2441 You may wish to start off by adding the following useful key bindings to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2442 your @file{.emacs} file:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2443
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2444 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2445 (global-set-key "\C-xm" 'mh-smail)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2446 (global-set-key "\C-x4m" 'mh-smail-other-window)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2447 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2448
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2449 In addition, several variables are useful when sending mail or replying
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2450 to mail. They are summarized in the following table.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2451
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2452 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2453 @item mh-comp-formfile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2454 Format file for drafts (default: @samp{"components"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2455
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2456 @item mh-repl-formfile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2457 Format file for replies (default: @samp{"replcomps"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2458
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2459 @item mh-letter-mode-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2460 Functions to run in MH-Letter mode (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2461
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2462 @item mh-compose-letter-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2463 Functions to run when starting a new draft (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2464
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2465 @item mh-reply-default-reply-to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2466 Whom reply goes to (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2467
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2468 @item mh-forward-subject-format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2469 Format string for forwarded message subject (default: @samp{"%s: %s"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2470
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2471 @item mh-redist-full-contents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2472 @code{send} requires entire message (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2473
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2474 @item mh-new-draft-cleaned-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2475 Remove these header fields from re-edited draft (default:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2476 @samp{"^Date:\\| ^Received:\\| ^Message-Id:\\| ^From:\\| ^Sender:\\|
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2477 ^Delivery-Date:\\| ^Return-Path:"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2478 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2479
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2480 @cindex @code{comp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2481 @cindex MH commands, @code{comp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2482 @vindex @code{mh-comp-formfile}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2483 @cindex @file{components}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2484 @cindex files, @file{components}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2485 @cindex @code{repl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2486 @cindex MH commands, @code{repl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2487 @cindex @file{replcomps}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2488 @cindex files, @file{replcomps}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2489 @vindex @code{mh-repl-formfile}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2490
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2491 Since mh-e does not use @code{comp} to create the initial draft, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2492 need to set @code{mh-comp-formfile} to the name of your components file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2493 if it isn't @file{components}. This is the name of the file that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2494 contains the form for composing messages. If it does not contain an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2495 absolute pathname, mh-e searches for the file first in your MH directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2496 and then in the system MH library directory (such as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2497 @file{/usr/local/lib/mh}). Replies, on the other hand, are built using
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2498 @code{repl}. You can change the location of the field file from the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2499 default of @file{replcomps} by modifying @code{mh-repl-formfile}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2500
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2501 @vindex @code{mh-letter-mode-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2502 @cindex @code{repl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2503 @cindex MH commands, @code{repl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2504 @cindex @file{components}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2505 @cindex files, @file{components}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2506
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2507 Two hooks are provided to run commands on your freshly created draft.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2508 The first hook, @code{mh-letter-mode-hook}, allows you to do some
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2509 processing before editing a letter. For example, you may wish to modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2510 the header after @code{repl} has done its work, or you may have a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2511 complicated @file{components} file and need to tell mh-e where the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2512 cursor should go. Here's an example of how you would use this hook---all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2513 of the other hooks are set in this fashion as well.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2514
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2515 @findex @code{mh-insert-signature}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2516
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2517 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2518 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2519 @i{Prepare draft for editing via mh-letter-mode-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2520
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2521 (defvar letter-mode-init-done nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2522 "Non-@code{nil} when one-time mh-e settings have made.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2523
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2524 (defun my-mh-letter-mode-hook ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2525 "Hook to prepare letter for editing."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2526 (if (not letter-mode-init-done) ; @r{only need to bind the keys once}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2527 (progn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2528 (local-set-key "\C-ctb" 'add-enriched-text)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2529 (local-set-key "\C-cti" 'add-enriched-text)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2530 (local-set-key "\C-ctf" 'add-enriched-text)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2531 (local-set-key "\C-cts" 'add-enriched-text)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2532 (local-set-key "\C-ctB" 'add-enriched-text)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2533 (local-set-key "\C-ctu" 'add-enriched-text)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2534 (local-set-key "\C-ctc" 'add-enriched-text)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2535 (setq letter-mode-init-done t)))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2536 (setq fill-prefix " ") ; @r{I find indented text easier to read}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2537 (save-excursion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2538 (goto-char (point-max)) ; @r{go to end of message to}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2539 (mh-insert-signature))) ; @r{insert signature}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2540
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2541 (add-hook 'mh-letter-mode-hook 'my-mh-letter-mode-hook)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2542 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2543 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2544
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2545 The function, @code{add-enriched-text} is defined in the example in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2546 @ref{Customizing Editing MIME}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2547
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2548 @vindex @code{mh-compose-letter-function}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2549
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2550 The second hook, a function really, is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2551 @code{mh-compose-letter-function}. Like @code{mh-letter-mode-hook}, it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2552 is called just before editing a new message; however, it is the last
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2553 function called before you edit your message. The consequence of this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2554 is that you can write a function to write and send the message for you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2555 This function is passed three arguments: the contents of the @samp{To:},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2556 @samp{Subject:}, and @samp{cc:} header fields.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2557
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2558 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2559 * Customizing Replying::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2560 * Customizing Forwarding::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2561 * Customizing Redistributing::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2562 * Customizing Old Drafts::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2563 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2564
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2565 @node Customizing Replying, Customizing Forwarding, Customizing Sending, Customizing Sending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2566 @subsection Replying to Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2567
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2568 @cindex replying
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2569 @vindex @code{mh-reply-default-reply-to}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2570
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2571 If you find that most of the time that you specify @kbd{cc} when you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2572 reply to a message, set @code{mh-reply-default-reply-to} to @samp{cc}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2573 This variable is normally set to @code{nil} so that you are prompted for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2574 the recipient of a reply. It can be set to one of @samp{from},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2575 @samp{to}, or @samp{cc}; you are then no longer prompted for the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2576 recipient(s) of your reply.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2577
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2578 @node Customizing Forwarding, Customizing Redistributing, Customizing Replying, Customizing Sending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2579 @subsection Forwarding Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2580
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2581 @cindex forwarding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2582 @vindex @code{mh-forward-subject-format}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2583
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2584 When forwarding a message, the format of the @samp{Subject:} header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2585 field can be modified by the variable @code{mh-forward-subject-format}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2586 This variable is a string which includes two escapes (@samp{%s}). The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2587 first @samp{%s} is replaced with the sender of the original message, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2588 the second one is replaced with the original @samp{Subject:}. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2589 default value of @samp{"%s: %s"} takes a message with the header:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2590
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2591 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2592 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2593 To: Bill Wohler <wohler@@newt.com>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2594 Subject: Re: 49er football
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2595 From: Greg DesBrisay <gd@@cellnet.com>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2596 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2597 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2598
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2599 and creates a subject header field of:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2600
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2601 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2602 Subject: Greg DesBrisay: Re: 49er football
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2603 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2604
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2605 @node Customizing Redistributing, Customizing Old Drafts, Customizing Forwarding, Customizing Sending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2606 @subsection Redistributing Your Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2607
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2608 @cindex redistributing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2609 @vindex @code{mh-redist-full-contents}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2610 @cindex @code{dist}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2611 @cindex MH commands, @code{dist}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2612 @cindex @code{send}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2613 @cindex MH commands, @code{send}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2614
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2615 The variable @code{mh-redist-full-contents} must be set to non-@code{nil} if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2616 @code{dist} requires the whole letter for redistribution, which is the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2617 case if @code{send} is compiled with the @sc{berk} @footnote{To see which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2618 options your copy of MH was compiled with, use @kbd{M-x mh-version}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2619 (@ref{Miscellaneous}).} option (which many people abhor). If you find
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2620 that MH will not allow you to redistribute a message that has been
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2621 redistributed before, this variable should be set to @code{nil}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2622
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2623 @node Customizing Old Drafts, , Customizing Redistributing, Customizing Sending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2624 @subsection Editing Old Drafts and Bounced Messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2625
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2626 @cindex re-editing drafts
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2627 @vindex @code{mh-new-draft-cleaned-headers}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2628
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2629 The header fields specified by @code{mh-new-draft-cleaned-headers} are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2630 removed from an old draft that has been recreated with @kbd{M-e}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2631 (@code{mh-extract-rejected-mail}) or @kbd{M-a} (@code{mh-edit-again}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2632 If when you edit an old draft with these commands you find that there
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2633 are header fields that you don't want included, you can append them to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2634 this variable. For example,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2635
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2636 @vindex @code{mh-new-draft-cleaned-headers}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2637
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2638 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2639 (setq mh-new-draft-cleaned-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2640 (concat mh-new-draft-cleaned-headers "\\|^Some-Field:"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2641 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2642
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2643 @cindex regular expressions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2644
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2645 This appends the regular expression @samp{\\|^Some-Field:} to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2646 variable (@pxref{Regexps, , Syntax of Regular Expressions, emacs, The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2647 GNU Emacs Manual}). The @samp{\\|} means @emph{or}, and the @samp{^}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2648 (caret) matches the beginning of the line. This is done to be very
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2649 specific about which fields match. The literal @samp{:} is appended for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2650 the same reason.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2651
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2652 @node Customizing Draft Editing, Customizing Moving Mail, Customizing Sending, Customizing mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2653 @section Editing a Draft
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2654
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2655 @cindex editing draft
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2656
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2657 There are several variables used during the draft editing phase.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2658 Examples include changing the name of the file that holds your signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2659 or telling mh-e about new multimedia types. They are:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2660
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2661 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2662 @item mh-yank-from-start-of-msg
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2663 How to yank when region not set (default: @code{t}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2664
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2665 @item mh-ins-buf-prefix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2666 Indent for yanked messages (default: @samp{"> "}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2667
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2668 @item mail-citation-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2669 Functions to run on yanked messages (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2670
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2671 @item mh-delete-yanked-msg-window
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2672 Delete message window on yank (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2673
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2674 @c Need the @* because otherwise TeX fills it wrong and complains
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2675 @c about overfull hbox.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2676 @item mh-mime-content-types
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2677 List of valid content types (default: @samp{'(("text/plain")@*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2678 ("text/richtext") ("multipart/mixed") ("multipart/alternative")@*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2679 ("multipart/digest") ("multipart/parallel") ("message/rfc822")@*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2680 ("message/partial") ("message/external-body")@*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2681 ("application/octet-stream") ("application/postscript")@*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2682 ("image/jpeg") ("image/gif") ("audio/basic") ("video/mpeg"))}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2683
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2684 @item mh-mhn-args
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2685 Additional arguments for @code{mhn} (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2686
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2687 @item mh-signature-file-name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2688 File containing signature (default: @samp{"~/.signature"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2689
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2690 @item mh-before-send-letter-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2691 Functions to run before sending draft (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2692
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2693 @item mh-send-prog
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2694 MH program used to send messages (default: @samp{"send"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2695 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2696
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2697 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2698 * Customizing Editing Textual::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2699 * Customizing Editing MIME::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2700 * Customizing Sending Message::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2701 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2702
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2703 @node Customizing Editing Textual, Customizing Editing MIME, Customizing Draft Editing, Customizing Draft Editing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2704 @subsection Editing Textual Messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2705
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2706 The following two sections include variables that customize the way you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2707 edit a draft. The discussion here applies to editing multimedia
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2708 messages as well.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2709
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2710 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2711 * Customizing Inserting Letter::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2712 * Customizing Signature::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2713 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2714
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2715 @node Customizing Inserting Letter, Customizing Signature, Customizing Editing Textual, Customizing Editing Textual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2716 @subsubsection Inserting letter to which you're replying
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2717
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2718 @cindex inserting messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2719 @vindex @code{mh-yank-from-start-of-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2720 @vindex @code{mh-ins-buf-prefix}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2721 @vindex @code{mail-citation-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2722 @vindex @code{mh-ins-buf-prefix}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2723 @vindex @code{mh-delete-yanked-msg-window}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2724
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2725 To control how much of the message to which you are replying is yanked
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2726 by @kbd{C-c C-y} (@code{mh-yank-cur-msg}) into your reply, modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2727 @code{mh-yank-from-start-of-msg}. The default value of @code{t} means
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2728 that the entire message is copied. If it is set to @code{'body} (don't
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2729 forget the apostrophe), then only the message body is copied. If it is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2730 set to @code{nil}, only the part of the message following point (the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2731 current cursor position in the message's buffer) is copied. In any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2732 case, this variable is ignored if a region is set in the message you are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2733 replying to. The string contained in @code{mh-ins-buf-prefix} is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2734 inserted before each line of a message that is inserted into a draft
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2735 with @kbd{C-c C-y} (@code{mh-yank-cur-msg}). I suggest that you not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2736 modify this variable. The default value of @samp{"> "} is the default
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2737 string for many mailers and news readers: messages are far easier to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2738 read if several included messages have all been indented by the same
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2739 string. The variable @code{mail-citation-hook} is @code{nil} by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2740 default, which means that when a message is inserted into the letter,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2741 each line is prefixed by @code{mh-ins-buf-prefix}. Otherwise, it can be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2742 set to a function that modifies an included
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2743 @cindex Emacs, packages, supercite
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2744 citation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2745 @c Footnotes are fragile; hence the redundancy.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2746 @c TeX not inserting a line break; hence the @*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2747 @ifclear html
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2748 @footnote{@emph{Supercite} is an example of a full-bodied, full-featured
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2749 citation package. It is in Emacs versions 19.15 and later, and can be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2750 found via anonymous @code{ftp} on @samp{archive.cis.ohio-state.edu} in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2751 @* @file{/pub/gnu/emacs/elisp-archive/packages/sc3.1.tar.Z}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2752 @end ifclear
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2753 @ifset html
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2754 @footnote{@emph{Supercite} is an example of a full-bodied,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2755 full-featured citation package. It is in Emacs versions 19.15 and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2756 later, and its @sc{url} is @*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2757 @file{<A HREF="ftp://archive.cis.ohio-state.edu/pub/gnu/emacs/elisp-archive/packages/sc3.1.tar.Z">ftp://archive.cis.ohio-state.edu/pub/gnu/emacs/elisp-archive/packages/sc3.1.tar.Z</A>}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2758 @end ifset
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2759 If you like to yank all the text from the message you're replying to in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2760 one go, set @code{mh-delete-yanked-msg-window} to non-@code{nil} to delete
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2761 the window containing the original message after yanking it to make more
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2762 room on your screen for your reply.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2763
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2764 @node Customizing Signature, , Customizing Inserting Letter, Customizing Editing Textual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2765 @subsubsection Inserting your signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2766
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2767 @cindex inserting signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2768 @cindex signature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2769 @vindex @code{mh-signature-file-name}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2770 @cindex @file{.signature}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2771 @cindex files, @file{.signature}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2772
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2773 You can change the name of the file inserted with @kbd{C-c C-s}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2774 (@code{mh-insert-signature}) by changing @code{mh-signature-file-name}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2775 (default: @file{"~/.signature"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2776
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2777 @node Customizing Editing MIME, Customizing Sending Message, Customizing Editing Textual, Customizing Draft Editing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2778 @subsection Editing Multimedia Messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2779
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2780 @cindex MIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2781 @cindex multimedia mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2782 @vindex @code{mh-mime-content-types}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2783
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2784 The variable @code{mh-mime-content-types} contains a list of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2785 currently valid content types. They are listed in the table in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2786 @ref{Customizing Draft Editing}. If you encounter a new content type,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2787 you can add it like this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2788
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2789 @vindex @code{mh-mime-content-types}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2790
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2791 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2792 (setq mh-mime-content-types (append mh-mime-content-types
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2793 '(("@var{new/type}"))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2794 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2795
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2796 Emacs macros can be used to insert enriched text directives like
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2797 @samp{<bold>}. The following code will make, for example, @kbd{C-c t
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2798 b} insert the @samp{<bold>} directive.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2799
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2800 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2801 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2802 @i{Emacs macros for entering enriched text}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2803
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2804 (defvar enriched-text-types '(("b" . "bold") ("i" . "italic") ("f" . "fixed")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2805 ("s" . "smaller") ("B" . "bigger")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2806 ("u" . "underline") ("c" . "center"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2807 "Alist of (final-character . directive) choices for add-enriched-text.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2808 Additional types can be found in RFC 1563.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2809
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2810 (defun add-enriched-text (begin end)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2811 "Add enriched text directives around region.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2812 The directive used comes from the list enriched-text-types and is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2813 specified by the last keystroke of the command. When called from Lisp,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2814 arguments are BEGIN and END@."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2815 (interactive "r")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2816 ;; @r{Set type to the directive indicated by the last keystroke.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2817 (let ((type (cdr (assoc (char-to-string (logior last-input-char ?@w{`}))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2818 enriched-text-types))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2819 (save-restriction ; @r{restores state from narrow-to-region}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2820 (narrow-to-region begin end) ; @r{narrow view to region}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2821 (goto-char (point-min)) ; @r{move to beginning of text}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2822 (insert "<" type ">") ; @r{insert beginning directive}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2823 (goto-char (point-max)) ; @r{move to end of text}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2824 (insert "</" type ">")))) ; @r{insert terminating directive}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2825 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2826 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2827
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2828 To use the function @code{add-enriched-text}, first create keybindings
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2829 for it (@pxref{Customizing Sending}). Then, set the mark with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2830 @kbd{C-@@} or @kbd{C-SPC}, type in the text to be highlighted, and type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2831 @kbd{C-c t b}. This adds @samp{<bold>} where you set the mark and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2832 adds @samp{</bold>} at the location of your cursor, giving you something
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2833 like: @samp{You should be <bold>very</bold>}. You may also be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2834 interested in investigating @code{sgml-mode}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2835
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2836 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2837 * Customizing Sending MIME::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2838 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2839
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2840 @node Customizing Sending MIME, , Customizing Editing MIME, Customizing Editing MIME
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2841 @subsubsection Readying multimedia messages for sending
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2842
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2843 @vindex @code{mh-mhn-args}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2844
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2845 If you wish to pass additional arguments to @code{mhn} to affect how it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2846 builds your message, use the variable @code{mh-mhn-args}. For example,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2847 you can build a consistency check into the message by setting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2848 @code{mh-mhn-args} to @code{-check}. The recipient of your message can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2849 then run @code{mhn -check} on the message---@code{mhn} will complain if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2850 the message has been corrupted on the way. The @kbd{C-c C-e}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2851 (@code{mh-mhn-edit}) command only consults this variable when given a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2852 prefix argument.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2853
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2854 @node Customizing Sending Message, , Customizing Editing MIME, Customizing Draft Editing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2855 @subsection Sending a Message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2856
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2857 @cindex sending mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2858 @cindex spell check
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2859 @vindex @code{mh-before-send-letter-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2860
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2861 If you want to check your spelling in your message before sending, use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2862 @code{mh-before-send-letter-hook} like this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2863
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2864 @i{Spell-check message via mh-before-send-letter-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2865
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2866 @vindex @code{mh-before-send-letter-hook}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2867
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2868 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2869 (add-hook 'mh-before-send-letter-hook 'ispell-message)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2870 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2871
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2872 @cindex @code{send}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2873 @cindex MH commands, @code{send}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2874 @vindex @code{mh-send-prog}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2875
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2876 In case the MH @code{send} program is installed under a different name,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2877 use @code{mh-send-prog} to tell mh-e the name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2878
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2879 @node Customizing Moving Mail, Customizing Searching, Customizing Draft Editing, Customizing mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2880 @section Moving Your Mail Around
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2881
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2882 @cindex processing mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2883
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2884 If you change the name of some of the MH programs or have your own
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2885 printing programs, the following variables can help you.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2886 They are described in detail in the subsequent sections.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2887
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2888 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2889 @item mh-inc-prog
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2890 Program to incorporate mail (default: @samp{"inc"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2891
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2892 @item mh-inc-folder-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2893 Functions to run when incorporating mail (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2894
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2895 @item mh-delete-msg-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2896 Functions to run when deleting messages (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2897
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2898 @item mh-print-background
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2899 Print in foreground or background (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2900
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2901 @item mh-lpr-command-format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2902 Command used to print (default: @samp{"lpr -J '%s'"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2903
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2904 @item mh-default-folder-for-message-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2905 Function to generate a default folder (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2906
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2907 @item mh-auto-folder-collect
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2908 Collect folder names in background at startup (default: @code{t}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2909
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2910 @item mh-recursive-folders
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2911 Collect nested folders (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2912
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2913 @item mh-refile-msg-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2914 Functions to run when refiling message (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2915
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2916 @item mh-store-default-directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2917 Default directory for storing files created by @code{uuencode} or @code{shar}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2918 (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2919
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2920 @item mh-sortm-args
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2921 Additional arguments for @code{sortm} (default: @code{nil}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2922
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2923 @item mh-scan-prog
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2924 Program to scan messages (default: @samp{"scan"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2925
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2926 @item mh-before-quit-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2927 Functions to run before quitting (default: @code{nil}). See also
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2928 @code{mh-quit-hook}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2929
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2930 @item mh-quit-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2931 Functions to run after quitting (default: @code{nil}). See also
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2932 @code{mh-before-quit-hook}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2933 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2934
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2935 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2936 * Customizing Incorporating::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2937 * Customizing Deleting::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2938 * Customizing Organizing::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2939 * Customizing Printing::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2940 * Customizing Files and Pipes::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2941 * Customizing Finishing Up::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2942 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2943
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2944 @node Customizing Incorporating, Customizing Deleting, Customizing Moving Mail, Customizing Moving Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2945 @subsection Incorporating Your Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2946
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2947 @cindex incorporating
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2948 @vindex @code{mh-inc-prog}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2949 @cindex @code{inc}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2950 @cindex MH commands, @code{inc}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2951 @vindex @code{mh-progs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2952 @vindex @code{mh-scan-prog}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2953 @vindex @code{mh-inc-folder-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2954
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2955 The name of the program that incorporates new mail is stored in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2956 @code{mh-inc-prog}; it is @samp{"inc"} by default. This program
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2957 generates a one-line summary for each of the new messages. Unless it is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2958 an absolute pathname, the file is assumed to be in the @code{mh-progs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2959 directory. You may also link a file to @code{inc} that uses a different
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2960 format (see @code{mh-profile}(5)). You'll then need to modify several
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2961 variables appropriately; see @code{mh-scan-prog} below. You can set the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2962 hook @code{mh-inc-folder-hook}, which is called after new mail is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2963 incorporated by the @kbd{i} (@code{mh-inc-folder}) command. A good use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2964 of this hook is to rescan the whole folder either after running @kbd{M-x
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2965 mh-rmail} the first time or when you've changed the message numbers from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2966 outside of mh-e.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2967
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2968 @findex @code{mh-execute-commands}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2969 @findex @code{mh-rescan-folder}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2970 @findex @code{mh-show}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2971 @vindex @code{mh-inc-folder-hook}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2972
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2973 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2974 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2975 @i{Rescan folder after incorporating new mail via mh-inc-folder-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2976
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2977 (defun my-mh-inc-folder-hook ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2978 "Hook to rescan folder after incorporating mail."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2979 (if (buffer-modified-p) ; @r{if outstanding refiles and deletes,}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2980 (mh-execute-commands)) ; @r{carry them out}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2981 (mh-rescan-folder) ; @r{synchronize with +inbox}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2982 (mh-show)) ; @r{show the current message}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2983
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2984 (add-hook 'mh-inc-folder-hook 'my-mh-inc-folder-hook)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2985 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2986 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2987
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2988 @node Customizing Deleting, Customizing Organizing, Customizing Incorporating, Customizing Moving Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2989 @subsection Deleting Your Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2990
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2991 @cindex deleting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2992 @vindex @code{mh-delete-msg-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2993
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2994 The hook @code{mh-delete-msg-hook} is called after you mark a message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2995 for deletion. For example, the current maintainer of mh-e used this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2996 once when he kept statistics on his mail usage.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2997
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2998 @node Customizing Organizing, Customizing Printing, Customizing Deleting, Customizing Moving Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2999 @subsection Organizing Your Mail with Folders
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3000
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3001 @cindex using folders
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3002 @vindex @code{mh-recursive-folders}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3003 @vindex @code{mh-auto-folder-collect}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3004
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3005 By default, operations on folders work only one level at a time. Set
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3006 @code{mh-recursive-folders} to non-@code{nil} to operate on all folders.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3007 This mostly means that you'll be able to see all your folders when you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3008 press @key{TAB} when prompted for a folder name. The variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3009 @code{mh-auto-folder-collect} is normally turned on to generate a list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3010 of folder names in the background as soon as mh-e is loaded. Otherwise,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3011 the list is generated when you need a folder name the first time (as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3012 with @kbd{o} (@code{mh-refile-msg})). If you have a lot of folders and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3013 you have @code{mh-recursive-folders} set, this could take a while, which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3014 is why it's nice to do the folder collection in the background.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3015
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3016 @vindex @code{mh-default-folder-for-message-function}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3017 @findex @code{mh-refile-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3018 @findex @code{mh-to-fcc}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3019 @cindex @file{.emacs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3020 @cindex files, @file{.emacs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3021
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3022 The function @code{mh-default-folder-for-message-function} is used by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3023 @kbd{o} (@code{mh-refile-msg}) and @kbd{C-c C-f C-f} (@code{mh-to-fcc})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3024 to generate a default folder. The generated folder name should be a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3025 string with a @samp{+} before it. For each of my correspondents, I use the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3026 same name for both an alias and a folder. So, I wrote a function that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3027 takes the address in the @samp{From:} header field, finds it in my alias
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3028 file, and returns the alias, which is used as a default folder name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3029 This is the most complicated example given here, and it demonstrates
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3030 several features of Emacs Lisp programming. You should be able to drop
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3031 this into @file{~/.emacs}, however. If you use this to store messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3032 in a subfolder of your Mail directory, you can modify the line that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3033 starts @samp{(format +%s...} and insert your subfolder after the folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3034 symbol @samp{+}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3035 @c Note for me: if I insert a new version, don't forget to remove the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3036 @c "a/" from the folder name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3037
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3038 @iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3039 @filbreak
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3040 @end iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3041
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3042 @vindex @code{mh-default-folder-for-message-function}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3043 @vindex @code{mh-user-path}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3044
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3045 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3046 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3047 @i{Creating useful default folder for refiling via mh-default-folder-for-message-function}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3048
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3049 (defun my-mh-folder-from-address ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3050 "Determine folder name from address.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3051 Takes the address in the From: header field, and returns its corresponding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3052 alias from the user's personal aliases file. Returns @code{nil} if the address
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3053 was not found."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3054 (require 'rfc822) ; @r{for the rfc822 functions}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3055 (search-forward-regexp "^From: \\(.*\\)") ; @r{grab header field contents}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3056 (save-excursion ; @r{save state}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3057 (let ((addr (car (rfc822-addresses ; @r{get address}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3058 (buffer-substring (match-beginning 1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3059 (match-end 1)))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3060 (buffer (get-buffer-create " *temp*")) ; @r{set local variables}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3061 folder)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3062 (set-buffer buffer) ; @r{jump to temporary buffer}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3063 (unwind-protect ; @r{run kill-buffer when done}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3064 (progn ; @r{function grouping construct}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3065 (insert-file-contents (expand-file-name "aliases"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3066 mh-user-path))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3067 (goto-char (point-min)) ; @r{grab aliases file and go to start}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3068 (setq folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3069 ;; @r{Search for the given address, even commented-out}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3070 ;; @r{addresses are found!}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3071 ;; @r{The function search-forward-regexp sets values that are}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3072 ;; @r{later used by match-beginning and match-end.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3073 (if (search-forward-regexp (format "^;*\\(.*\\):.*%s"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3074 addr) nil t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3075 ;; @r{NOTE WELL: this is what the return value looks like.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3076 ;; @r{You can modify the format string to match your own}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3077 ;; @r{Mail hierarchy.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3078 (format "+%s" (buffer-substring (match-beginning 1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3079 (match-end 1))))))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3080 (kill-buffer buffer)) ; @r{get rid of our temporary buffer}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3081 folder))) ; @r{function's return value}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3082
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3083 (setq mh-default-folder-for-message-function 'my-mh-folder-from-address)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3084 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3085 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3086
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3087 @vindex @code{mh-refile-msg-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3088
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3089 The hook @code{mh-refile-msg-hook} is called after a message is marked
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3090 to be refiled.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3091
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3092 @vindex @code{mh-sortm-args}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3093 @cindex @code{sortm}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3094 @cindex MH commands, @code{sortm}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3095 @findex @code{mh-sort-folder}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3096 @cindex MH profile components, @code{sortm}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3097 @cindex @file{.mh_profile}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3098 @cindex files, @file{.mh_profile}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3099
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3100 The variable @code{mh-sortm-args} holds extra arguments to pass on to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3101 the @code{sortm} command. Note: this variable is only consulted when a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3102 prefix argument is given to @kbd{M-x mh-sort-folder}. It is used to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3103 override any arguments given in a @code{sortm:} entry in your MH profile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3104 (@file{~/.mh_profile}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3106 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3107 * Customizing Scan Line Formats::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3108 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3109
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3110 @node Customizing Scan Line Formats, , Customizing Organizing, Customizing Organizing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3111 @subsubsection Scan line formatting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3112
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3113 @vindex @code{mh-scan-prog}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3114 @cindex @code{scan}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3115 @cindex MH commands, @code{scan}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3116 @vindex @code{mh-progs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3117
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3118 The name of the program that generates a listing of one line per message
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3119 is held in @code{mh-scan-prog} (default: @samp{"scan"}). Unless this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3120 variable contains an absolute pathname, it is assumed to be in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3121 @code{mh-progs} directory. You may link another program to @code{scan}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3122 (see @code{mh-profile}(5)) to produce a different type of listing.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3123
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3124 If you change the format of the scan lines you'll need to tell mh-e how
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3125 to parse the new format. As you see, quite a lot of variables are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3126 involved to do that. The first variable has to do with pruning out
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3127 garbage.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3128
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3129 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3130 @item mh-valid-scan-line
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3131 @vindex @code{mh-valid-scan-line}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3132 @cindex @code{inc}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3133 @cindex MH commands, @code{inc}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3134 @cindex @code{scan}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3135 @cindex MH commands, @code{scan}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3136 This regular expression describes a valid scan line. This is used to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3137 eliminate error messages that are occasionally produced by @code{inc} or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3138 @code{scan} (default: @samp{"^ *[0-9]"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3139 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3140
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3141 Next, two variables control how the message numbers are parsed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3142
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3143 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3144
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3145 @item mh-msg-number-regexp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3146 @vindex @code{mh-msg-number-regexp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3147 This regular expression is used to extract the message number from a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3148 scan line. Note that the message number must be placed in quoted
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3149 parentheses, (\\(...\\)), as in the default of @w{@samp{"^
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3150 *\\([0-9]+\\)"}}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3151
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3152 @item mh-msg-search-regexp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3153 @vindex @code{mh-msg-search-regexp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3154 Given a message number (which is inserted in @samp{%d}), this regular
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3155 expression will match the scan line that it represents (default:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3156 @samp{"^[^0-9]*%d[^0-9]"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3157 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3158
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3159 Finally, there are a slew of variables that control how mh-e marks up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3160 the scan lines.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3161
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3162 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3163 @item mh-cmd-note
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3164 @vindex @code{mh-cmd-note}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3165 Number of characters to skip over before inserting notation (default:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3166 4). Note how it relates to the following regular expressions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3167
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3168 @item mh-deleted-msg-regexp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3169 @vindex @code{mh-deleted-msg-regexp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3170 This regular expression describes deleted messages (default:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3171 @samp{"^....D"}). See also @code{mh-note-deleted}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3172
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3173 @item mh-refiled-msg-regexp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3174 @vindex @code{mh-refiled-msg-regexp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3175 This regular expression describes refiled messages (default:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3176 @samp{"^....\\^"}). See also @code{mh-note-refiled}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3177
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3178 @item mh-cur-scan-msg-regexp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3179 @vindex @code{mh-cur-scan-msg-regexp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3180 This regular expression matches the current message (default:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3181 @samp{"^....\\+"}). See also @code{mh-note-cur}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3182
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3183 @item mh-good-msg-regexp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3184 @vindex @code{mh-good-msg-regexp}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3185 This regular expression describes which messages should be shown when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3186 mh-e goes to the next or previous message. Normally, deleted or refiled
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3187 messages are skipped over (default: @samp{"^....[^D^]"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3188
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3189 @item mh-note-deleted
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3190 @vindex @code{mh-note-deleted}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3191 Messages that have been deleted to are marked by this string (default:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3192 @samp{"D"}). See also @code{mh-deleted-msg-regexp}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3193
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3194 @item mh-note-refiled
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3195 @vindex @code{mh-note-refiled}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3196 Messages that have been refiled are marked by this string (default:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3197 @samp{"^"}). See also @code{mh-refiled-msg-regexp}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3198
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3199 @item mh-note-copied
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3200 @vindex @code{mh-note-copied}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3201 Messages that have been copied are marked by this string (default:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3202 @samp{"C"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3203
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3204 @item mh-note-cur
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3205 @vindex @code{mh-note-cur}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3206 The current message (in MH, not in mh-e) is marked by this string
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3207 (default: @samp{"+"}). See also @code{mh-cur-scan-msg-regexp}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3208
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3209 @item mh-note-repl
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3210 @vindex @code{mh-note-repl}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3211 Messages that have been replied to are marked by this string (default:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3212 @samp{"-"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3213
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3214 @item mh-note-forw
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3215 @vindex @code{mh-note-forw}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3216 Messages that have been forwarded are marked by this string (default:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3217 @samp{"F"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3218
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3219 @item mh-note-dist
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3220 @vindex @code{mh-note-dist}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3221 Messages that have been redistributed are marked by this string
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3222 (default: @samp{"R"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3223
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3224 @item mh-note-printed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3225 @vindex @code{mh-note-printed}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3226 Messages that have been printed are marked by this string (default:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3227 @samp{"P"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3228
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3229 @item mh-note-seq
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3230 @vindex @code{mh-note-seq}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3231 Messages in a sequence are marked by this string (default: @samp{"%"}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3232 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3233
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3234 @node Customizing Printing, Customizing Files and Pipes, Customizing Organizing, Customizing Moving Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3235 @subsection Printing Your Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3236
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3237 @cindex printing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3238 @vindex @code{mh-print-background}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3239 @vindex @code{mh-lpr-command-format}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3240 @cindex @code{lpr}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3241 @cindex Unix commands, @code{lpr}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3242
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3243 Normally messages are printed in the foreground. If this is slow on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3244 your system, you may elect to set @code{mh-print-background} to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3245 non-@code{nil} to print in the background. If you do this, do not delete
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3246 the message until it is printed or else the output may be truncated.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3247 The variable @code{mh-lpr-command-format} controls how the printing is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3248 actually done. The string can contain one escape, @samp{%s}, which is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3249 filled with the name of the folder and the message number and is useful
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3250 for print job names. As an example, the default is @samp{"lpr -J
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3251 '%s'"}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3252
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3253 @node Customizing Files and Pipes, Customizing Finishing Up, Customizing Printing, Customizing Moving Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3254 @subsection Files and Pipes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3255
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3256 @cindex using files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3257 @cindex using pipes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3258 @findex @code{mh-store-msg}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3259 @vindex @code{mh-store-default-directory}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3260
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3261 The initial directory for the @code{mh-store-msg} command is held in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3262 @code{mh-store-default-directory}. Since I almost always run
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3263 @code{mh-store-msg} on sources, I set it to my personal source directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3264 like this:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3265
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3266 @vindex @code{mh-store-default-directory}, example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3267
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3268 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3269 (setq mh-store-default-directory (expand-file-name "~/src/"))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3270 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3271
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3272 @findex @code{mh-store-buffer}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3273 @cindex @code{uuencode}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3274 @cindex Unix commands, @code{uuencode}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3275 @cindex @code{shar}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3276 @cindex Unix commands, @code{shar}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3277
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3278 Subsequent incarnations of @code{mh-store-msg} offer the last directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3279 used as the default. By the way, @code{mh-store-msg} calls the Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3280 Lisp function @code{mh-store-buffer}. I mention this because you can use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3281 it directly if you're editing a buffer that contains a file that has
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3282 been run through @code{uuencode} or @code{shar}. For example, you can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3283 extract the contents of the current buffer in your home directory by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3284 typing @kbd{M-x mh-store-buffer @key{RET} ~ @key{RET}}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3285
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3286 @node Customizing Finishing Up, , Customizing Files and Pipes, Customizing Moving Mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3287 @subsection Finishing Up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3288
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3289 @cindex quitting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3290 @vindex @code{mh-before-quit-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3291 @vindex @code{mh-quit-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3292 @findex @code{mh-execute-commands}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3293
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3294 The two variables @code{mh-before-quit-hook} and @code{mh-quit-hook} are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3295 called by @kbd{q} (@code{mh-quit}). The former one is called before the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3296 quit occurs, so you might use it to perform any mh-e operations; you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3297 could perform some query and abort the quit or call
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3298 @code{mh-execute-commands}, for example. The latter is not run in an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3299 mh-e context, so you might use it to modify the window setup.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3300
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3301 @node Customizing Searching, , Customizing Moving Mail, Customizing mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3302 @section Searching Through Messages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3303 @cindex searching
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3304
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3305 @vindex @code{mh-pick-mode-hook}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3306 @vindex @code{mh-partial-folder-mode-line-annotation}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3307
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3308 If you find that you do the same thing over and over when editing the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3309 search template, you may wish to bind some shortcuts to keys. This can
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3310 be done with the variable @code{mh-pick-mode-hook}, which is called when
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3311 @kbd{M-s} (@code{mh-search-folder}) is run on a new pattern.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3312
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3313 The string
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3314 @code{mh-partial-folder-mode-line-annotation} is used to annotate the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3315 mode line when only a portion of the folder is shown. For example, this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3316 will be displayed after running @kbd{M-s} (@code{mh-search-folder}) to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3317 list messages based on some search criteria (see @ref{Searching}). The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3318 default annotation of @samp{"select"} yields a mode line that looks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3319 like:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3320
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3321 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3322 --%%-@{+inbox/select@} 2 msgs (2-3) (MH-Folder)--All-----------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3323 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3324
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3325 @node Odds and Ends, History, Customizing mh-e, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3326 @appendix Odds and Ends
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3327
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3328 This appendix covers a few topics that don't fit elsewhere. Here I tell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3329 you how to report bugs and how to get on the mh-e mailing list. I also
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3330 point out some additional sources of information.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3331
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3332 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3333 * Bug Reports::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3334 * Mailing List::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3335 * MH FAQ::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3336 * Getting mh-e::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3337 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3338
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3339 @node Bug Reports, Mailing List, Odds and Ends, Odds and Ends
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3340 @appendixsec Bug Reports
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3341
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3342 @cindex bugs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3343 @cindex Gildea, Stephen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3344
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3345 The current maintainer of mh-e is Stephen Gildea
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3346 <@i{gildea@@lcs.mit.edu}>. Please mail bug reports directly to him, as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3347 well as any praise or suggestions. Please include the output of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3348 @kbd{M-x mh-version} (@pxref{Miscellaneous}) in any bug report you send.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3349
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3350 @node Mailing List, MH FAQ, Bug Reports, Odds and Ends
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3351 @appendixsec mh-e Mailing List
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3352
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3353 @cindex mailing list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3354
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3355 There is a mailing list, @i{mh-e@@x.org}, for discussion of mh-e and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3356 announcements of new versions. Send a ``subscribe'' message to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3357 @i{mh-e-request@@x.org} to be added. Do not report bugs on this list;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3358 mail them directly to the maintainer (@pxref{Bug Reports}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3359
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3360 @node MH FAQ, Getting mh-e, Mailing List, Odds and Ends
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3361 @appendixsec MH FAQ
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3362
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3363 @cindex MH FAQ
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3364 @cindex FAQ
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3365
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3366 An FAQ appears monthly in the newsgroup @samp{comp.mail.mh}. While very
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3367 little is there that deals with mh-e specifically, there is an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3368 incredible wealth of material about MH itself which you will find
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3369 useful. The subject of the FAQ is @cite{MH Frequently Asked Questions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3370 (FAQ) with Answers}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3371
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3372 The FAQ can be also obtained by anonymous @code{ftp} or via the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3373 World Wide Web (WWW)@. It is located at:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3374
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3375 @ifclear html
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3376 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3377 ftp://rtfm.mit.edu/pub/usenet/news.answers/mail/mh-faq/part1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3378 http://www.cis.ohio-state.edu/hypertext/faq/usenet/mail/mh-faq/part1/faq.html
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3379 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3380 @end ifclear
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3381
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3382 @ifset html
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3383 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3384 <A HREF="ftp://rtfm.mit.edu/pub/usenet/news.answers/mail/mh-faq/part1">ftp://rtfm.mit.edu/pub/usenet/news.answers/mail/mh-faq/part1</A>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3385 <A HREF="http://www.cis.ohio-state.edu/hypertext/faq/usenet/mail/mh-faq/part1/faq.html">http://www.cis.ohio-state.edu/hypertext/faq/usenet/mail/mh-faq/part1/faq.html</A>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3386 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3387 @end ifset
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3388
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3389 Otherwise, you can use mail. Send mail to @i{mail-server@@rtfm.mit.edu}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3390 containing the following:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3391
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3392 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3393 send usenet/news.answers/mail/mh-faq/part1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3394 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3395
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3396 @node Getting mh-e, , MH FAQ, Odds and Ends
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3397 @appendixsec Getting mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3398
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3399 @cindex obtaining mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3400
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3401 If you're running a pre-4.0 version of mh-e, please consider upgrading.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3402 You can either have your system administrator upgrade your Emacs, or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3403 just the files for mh-e.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3404
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3405 The MH distribution contains a copy of mh-e in @file{miscellany/mh-e}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3406 Make sure it is at least @w{Version 4.0}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3407
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3408 The latest version of mh-e can be obtained via anonymous @code{ftp} from
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3409 @samp{ftp.x.org}. The file containing mh-e is currently
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3410 @ifclear html
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3411 @file{/misc/mh-e/mh-e-@value{VERSION}.tar.Z}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3412 @end ifclear
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3413 @ifset html
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3414 @file{<A HREF="ftp://ftp.x.org/misc/mh-e/mh-e-@value{VERSION}.tar.Z">/misc/mh-e/mh-e-@value{VERSION}.tar.Z</A>}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3415 @end ifset
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3416 I suggest that you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3417 extract the files from @file{mh-e-@value{VERSION}.tar.Z} in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3418 following fashion:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3419
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3420 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3421 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3422 % @kbd{cd} # @r{Start in your home directory}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3423 % @kbd{mkdir lib lib/emacs} # @r{Create directory for mh-e}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3424 % @kbd{cd lib/emacs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3425 % @kbd{zcat @var{path/to/}mh-e-@value{VERSION}.tar.Z | tar xvf -} # @r{Extract files}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3426 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3427 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3428
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3429 @cindex @file{.emacs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3430 @cindex files, @file{.emacs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3431
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3432 To use these new files, add the following to @file{~/.emacs}:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3433
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3434 @lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3435 (setq load-path (cons (expand-file-name "~/lib/emacs") load-path))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3436 @end lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3437
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3438 @cindex news
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3439 @cindex files, @samp{MH-E-NEWS}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3440
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3441 That's it! If you're already running Emacs, please quit that session
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3442 and start again to load in the new mh-e. Check that you're running the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3443 new version with the command @kbd{M-x mh-version} after running any mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3444 command. The distribution comes with a file called @file{MH-E-NEWS} so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3445 you can see what's new.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3446
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3447 @node History, Changes to mh-e, Odds and Ends, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3448 @appendix History of mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3449
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3450 @cindex history of mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3451
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3452 mh-e was originally written by Brian Reid in 1983 and has changed hands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3453 twice since then. Jim Larus wanted to do something similar for GNU
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3454 Emacs, and ended up completely rewriting it that same year. In 1989,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3455 Stephen Gildea picked it up and is now currently improving and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3456 maintaining it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3457
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3458 @menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3459 * From Brian Reid::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3460 * From Jim Larus::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3461 * From Stephen Gildea::
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3462 @end menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3463
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3464 @node From Brian Reid, From Jim Larus, History, History
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3465 @appendixsec From Brian Reid
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3466
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3467 @cindex Reid, Brian
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3468
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3469 One day in 1983 I got the flu and had to stay home from work for three
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3470 days with nothing to do. I used that time to write MHE@. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3471 fundamental idea behind MHE was that it was a ``puppeteer'' driving the MH
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3472 programs underneath it. MH had a model that the editor was supposed to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3473 run as a subprocess of the mailer, which seemed to me at the time to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3474 the tail wagging the dog. So I turned it around and made the editor
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3475 drive the MH programs. I made sure that the UCI people (who were
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3476 maintaining MH at the time) took in my changes and made them stick.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3477
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3478 Today, I still use my own version of MHE because I don't at all like the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3479 way that GNU mh-e works and I've never gotten to be good enough at
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3480 hacking Emacs Lisp to make GNU mh-e do what I want. The Gosling-emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3481 version of MHE and the GNU Emacs version of mh-e have almost nothing in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3482 common except similar names. They work differently, have different
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3483 conceptual models, and have different key bindings. @footnote{After
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3484 reading this article, I questioned Brian about his version of MHE, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3485 received some great ideas for improving mh-e such as a dired-like method
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3486 of selecting folders; and removing the prompting when sending mail,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3487 filling in the blanks in the draft buffer instead. I passed them on to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3488 Stephen Gildea, the current maintainer, and he was excited about the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3489 ideas as well. Perhaps one day, mh-e will again resemble MHE, although
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3490 none of these ideas are manifest in Version 5.0.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3491
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3492 Brian Reid, June 1994
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3493
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3494 @node From Jim Larus, From Stephen Gildea, From Brian Reid, History
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3495 @appendixsec From Jim Larus
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3496
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3497 @cindex Larus, Jim
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3498
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3499 Brian Reid, while at CMU or shortly after going to Stanford wrote a mail
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3500 reading program called MHE for Gosling Emacs. It had much the same
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3501 structure as mh-e (i.e., invoked MH programs), though it was simpler and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3502 the commands were slightly different. Unfortunately, I no longer have a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3503 copy so the differences are lost in the mists of time.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3504
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3505 In '82-83, I was working at BBN and wrote a lot of mlisp code in Gosling
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3506 Emacs to make it look more like Tennex Emacs. One of the packages that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3507 I picked up and improved was Reid's mail system. In '83, I went back to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3508 Berkeley. About that time, Stallman's first version of GNU Emacs came
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3509 out and people started to move to it from Gosling Emacs (as I recall,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3510 the transition took a year or two). I decided to port Reid's MHE and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3511 used the mlisp to Emacs Lisp translator that came with GNU Emacs. It
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3512 did a lousy job and the resulting code didn't work, so I bit the bullet
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3513 and rewrote the code by hand (it was a lot smaller and simpler then, so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3514 it took only a day or two).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3515
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3516 Soon after that, mh-e became part of the standard Emacs distribution and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3517 suggestions kept dribbling in for improvements. mh-e soon reached
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3518 sufficient functionality to keep me happy, but I kept on improving it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3519 because I was a graduate student with plenty of time on my hands and it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3520 was more fun than my dissertation. In retrospect, the one thing that I
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3521 regret is not writing any documentation, which seriously limited the use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3522 and appeal of the package.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3523
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3524 @cindex @code{xmh}, in mh-e history
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3525
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3526 In '89, I came to Wisconsin as a professor and decided not to work on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3527 mh-e. It was stable, except for minor bugs, and had enough
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3528 functionality, so I let it be for a few years. Stephen Gildea of BBN
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3529 began to pester me about the bugs, but I ignored them. In 1990, he went
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3530 off to the X Consortium, said good bye, and said that he would now be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3531 using @code{xmh}. A few months later, he came back and said that he
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3532 couldn't stand @code{xmh} and could I put a few more bug fixes into
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3533 mh-e. At that point, I had no interest in fixing mh-e, so I gave the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3534 responsibility of maintenance to him and he has done a fine job since
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3535 then.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3536
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3537 Jim Larus, June 1994
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3538
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3539 @node From Stephen Gildea, , From Jim Larus, History
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3540 @appendixsec From Stephen Gildea
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3541
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3542 @cindex Gildea, Stephen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3543
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3544 In 1987 I went to work for Bolt Beranek and Newman, as Jim had before
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3545 me. In my previous job, I had been using RMAIL, but as my folders tend
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3546 to run large, I was frustrated with the speed of RMAIL@. However, I
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3547 stuck with it because I wanted the GNU Emacs interface. I am very
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3548 familiar and comfortable with the Emacs interface (with just a few
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3549 modifications of my own) and dislike having to use applications with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3550 embedded editors; they never live up to Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3551
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3552 MH is the mail reader of choice at BBN, so I converted to it. Since I
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3553 didn't want to give up using an Emacs interface, I started using mh-e.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3554 As is my wont, I started hacking on it almost immediately. I first used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3555 version 3.4m. One of the first features I added was to treat the folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3556 buffer as a file-visiting buffer: you could lock it, save it, and be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3557 warned of unsaved changes when killing it. I also worked to bring its
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3558 functionality a little closer to RMAIL@. Jim Larus was very cooperative
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3559 about merging in my changes, and my efforts first appeared in version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3560 3.6, distributed with Emacs 18.52 in 1988. Next I decided mh-e was too
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3561 slow and optimized it a lot. Version, 3.7, distributed with Emacs 18.56
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3562 in 1990, was noticeably faster.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3563
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3564 When I moved to the X Consortium I became the first person there to not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3565 use xmh. (There is now one other engineer there using mh-e.) About
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3566 this point I took over maintenance of mh-e from Jim and was finally able
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3567 to add some features Jim hadn't accepted, such as the backward searching
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3568 undo. My first release was 3.8 (Emacs 18.58) in 1992.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3569
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3570 Now, in 1994, we see a flurry of releases, with both 4.0 and 5.0.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3571 Version 4.0 added many new features, including background folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3572 collection and support for composing @sc{mime} messages. (Reading
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3573 @sc{mime} messages remains to be done, alas.) While writing this book,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3574 Bill Wohler gave mh-e its closest examination ever, uncovering bugs and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3575 inconsistencies that required a new major version to fix, and so version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3576 5 was released.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3577
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3578 Stephen Gildea, June 1994
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3579
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3580 @node Changes to mh-e, Copying, History, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3581 @appendix Changes to mh-e
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3582
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3583 @cindex @code{mh-e}: comparison between versions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3584
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3585 mh-e had a fairly major facelift between @w{Versions 3} and 4. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3586 differences between @w{Versions 4} and 5 from the user's viewpoint are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3587 relatively minor. The prompting order for the folder and message number
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3588 in a couple of functions had been switched inadvertently in @w{Version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3589 4}. @w{Version 5} switches the order back. The @file{+inbox} folder is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3590 no longer hard-coded, but rather uses the @samp{Inbox} MH Profile entry.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3591 See the file @file{etc/MH-E-NEWS} in the Emacs distribution for more
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3592 details on the changes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3593
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3594 This section documents the changes between @w{Version 3} and newer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3595 versions so that you'll know which commands to use (or which commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3596 you won't have) in case you're stuck with an old version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3597
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3598 The following tables summarize the changes to buffer names, commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3599 and variables.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3600
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3601 @unnumberedsec Buffer Mode Names
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3602
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3603 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3604 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3605 @b{Version 3} @b{Version 4}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3606
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3607 mh-e folder MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3608 mh-e scan MH-Folder
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3609 mh-e show MH-Folder Show
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3610 Fundamental MH-Show
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3611 mh-e letter MH-Letter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3612 mh-e letter MH-Pick
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3613 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3614 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3615
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3616 @page
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3617
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3618 @unnumberedsec Commands
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3619
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3620 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3621 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3622 @b{Version 3} @b{Version 4}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3623
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3624 @b{Function} @b{Command} @b{Command} @b{Function}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3625
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3626 mh-first-msg < M-< mh-first-msg
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3627 - - M-> mh-last-msg
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3628 mh-show . RET mh-show
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3629 - - , mh-header-display
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3630 mh-reply a r mh-reply
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3631 mh-redistribute r M-d mh-redistribute
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3632 mh-unshar-msg - M-n mh-store-msg
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3633 mh-write-msg-to-file M-o C-o mh-write-msg-to-file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3634 mh-delete-msg-from-seq C-u M-% M-# mh-delete-seq
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3635 - - M-q mh-list-sequences
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3636 mh-quit b q mh-quit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3637 - - C-C C-f C-r mh-to-field (@samp{From:})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3638 - - C-C C-f C-d mh-to-field (@samp{Dcc:})
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3639 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3640 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3641
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3642 @unnumberedsec Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3643
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3644 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3645 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3646 @b{Version 3} @b{Version 4}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3647
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3648 @b{Variable} @b{Value} @b{Value} @b{Variable}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3649
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3650 mh-show-buffer- "@{%%b@} %s/%d" "@{show-%s@} %d" mh-show-buffer-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3651 mode-line-buffer-id mode-line-buffer-id
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3652 mh-unshar-default- "" nil mh-store-default-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3653 directory directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3654 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3655 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3656
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3657
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3658 @unnumberedsec New Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3659
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3660 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3661 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3662 mail-citation-hook mh-new-draft-cleaned-headers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3663 mail-header-separator mh-pick-mode-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3664 mh-auto-folder-collect mh-refile-msg-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3665 mh-comp-formfile mh-scan-prog
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3666 mh-repl-formfile mh-send-prog
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3667 mh-delete-msg-hook mh-show-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3668 mh-forward-subject-format mh-show-mode-hook
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3669 mh-inc-prog mh-signature-file-name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3670 mh-mime-content-types mh-sortm-args
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3671 mh-default-folder-for-message-function mh-repl-formfile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3672 mh-mhn-args
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3673 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3674 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3675
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3676 @node Copying, Command Index, Changes to mh-e, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3677 @appendix GNU GENERAL PUBLIC LICENSE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3678 @center Version 2, June 1991
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3679
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3680 @display
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3681 Copyright @copyright{} 1989, 1991 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3682 675 Mass Ave, Cambridge, MA 02139, USA
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3683
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3684 Everyone is permitted to copy and distribute verbatim copies
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3685 of this license document, but changing it is not allowed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3686 @end display
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3687
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3688 @appendixsec Preamble
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3689
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3690 The licenses for most software are designed to take away your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3691 freedom to share and change it. By contrast, the GNU General Public
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3692 License is intended to guarantee your freedom to share and change free
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3693 software---to make sure the software is free for all its users. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3694 General Public License applies to most of the Free Software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3695 Foundation's software and to any other program whose authors commit to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3696 using it. (Some other Free Software Foundation software is covered by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3697 the GNU Library General Public License instead.) You can apply it to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3698 your programs, too.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3699
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3700 When we speak of free software, we are referring to freedom, not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3701 price. Our General Public Licenses are designed to make sure that you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3702 have the freedom to distribute copies of free software (and charge for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3703 this service if you wish), that you receive source code or can get it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3704 if you want it, that you can change the software or use pieces of it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3705 in new free programs; and that you know you can do these things.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3706
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3707 To protect your rights, we need to make restrictions that forbid
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3708 anyone to deny you these rights or to ask you to surrender the rights.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3709 These restrictions translate to certain responsibilities for you if you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3710 distribute copies of the software, or if you modify it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3711
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3712 For example, if you distribute copies of such a program, whether
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3713 gratis or for a fee, you must give the recipients all the rights that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3714 you have. You must make sure that they, too, receive or can get the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3715 source code. And you must show them these terms so they know their
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3716 rights.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3717
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3718 We protect your rights with two steps: (1) copyright the software, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3719 (2) offer you this license which gives you legal permission to copy,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3720 distribute and/or modify the software.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3721
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3722 Also, for each author's protection and ours, we want to make certain
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3723 that everyone understands that there is no warranty for this free
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3724 software. If the software is modified by someone else and passed on, we
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3725 want its recipients to know that what they have is not the original, so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3726 that any problems introduced by others will not reflect on the original
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3727 authors' reputations.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3728
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3729 Finally, any free program is threatened constantly by software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3730 patents. We wish to avoid the danger that redistributors of a free
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3731 program will individually obtain patent licenses, in effect making the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3732 program proprietary. To prevent this, we have made it clear that any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3733 patent must be licensed for everyone's free use or not licensed at all.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3734
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3735 The precise terms and conditions for copying, distribution and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3736 modification follow.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3737
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3738 @iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3739 @appendixsec TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3740 @end iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3741 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3742 @center TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3743 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3744
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3745 @enumerate 0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3746 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3747 This License applies to any program or other work which contains
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3748 a notice placed by the copyright holder saying it may be distributed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3749 under the terms of this General Public License. The ``Program'', below,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3750 refers to any such program or work, and a ``work based on the Program''
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3751 means either the Program or any derivative work under copyright law:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3752 that is to say, a work containing the Program or a portion of it,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3753 either verbatim or with modifications and/or translated into another
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3754 language. (Hereinafter, translation is included without limitation in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3755 the term ``modification''.) Each licensee is addressed as ``you''.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3756
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3757 Activities other than copying, distribution and modification are not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3758 covered by this License; they are outside its scope. The act of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3759 running the Program is not restricted, and the output from the Program
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3760 is covered only if its contents constitute a work based on the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3761 Program (independent of having been made by running the Program).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3762 Whether that is true depends on what the Program does.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3763
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3764 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3765 You may copy and distribute verbatim copies of the Program's
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3766 source code as you receive it, in any medium, provided that you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3767 conspicuously and appropriately publish on each copy an appropriate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3768 copyright notice and disclaimer of warranty; keep intact all the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3769 notices that refer to this License and to the absence of any warranty;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3770 and give any other recipients of the Program a copy of this License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3771 along with the Program.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3772
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3773 You may charge a fee for the physical act of transferring a copy, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3774 you may at your option offer warranty protection in exchange for a fee.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3775
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3776 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3777 You may modify your copy or copies of the Program or any portion
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3778 of it, thus forming a work based on the Program, and copy and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3779 distribute such modifications or work under the terms of Section 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3780 above, provided that you also meet all of these conditions:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3781
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3782 @enumerate a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3783 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3784 You must cause the modified files to carry prominent notices
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3785 stating that you changed the files and the date of any change.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3786
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3787 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3788 You must cause any work that you distribute or publish, that in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3789 whole or in part contains or is derived from the Program or any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3790 part thereof, to be licensed as a whole at no charge to all third
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3791 parties under the terms of this License.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3792
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3793 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3794 If the modified program normally reads commands interactively
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3795 when run, you must cause it, when started running for such
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3796 interactive use in the most ordinary way, to print or display an
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3797 announcement including an appropriate copyright notice and a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3798 notice that there is no warranty (or else, saying that you provide
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3799 a warranty) and that users may redistribute the program under
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3800 these conditions, and telling the user how to view a copy of this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3801 License. (Exception: if the Program itself is interactive but
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3802 does not normally print such an announcement, your work based on
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3803 the Program is not required to print an announcement.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3804 @end enumerate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3805
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3806 These requirements apply to the modified work as a whole. If
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3807 identifiable sections of that work are not derived from the Program,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3808 and can be reasonably considered independent and separate works in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3809 themselves, then this License, and its terms, do not apply to those
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3810 sections when you distribute them as separate works. But when you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3811 distribute the same sections as part of a whole which is a work based
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3812 on the Program, the distribution of the whole must be on the terms of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3813 this License, whose permissions for other licensees extend to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3814 entire whole, and thus to each and every part regardless of who wrote it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3815
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3816 Thus, it is not the intent of this section to claim rights or contest
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3817 your rights to work written entirely by you; rather, the intent is to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3818 exercise the right to control the distribution of derivative or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3819 collective works based on the Program.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3820
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3821 In addition, mere aggregation of another work not based on the Program
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3822 with the Program (or with a work based on the Program) on a volume of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3823 a storage or distribution medium does not bring the other work under
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3824 the scope of this License.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3825
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3826 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3827 You may copy and distribute the Program (or a work based on it,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3828 under Section 2) in object code or executable form under the terms of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3829 Sections 1 and 2 above provided that you also do one of the following:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3830
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3831 @enumerate a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3832 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3833 Accompany it with the complete corresponding machine-readable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3834 source code, which must be distributed under the terms of Sections
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3835 1 and 2 above on a medium customarily used for software interchange; or,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3836
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3837 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3838 Accompany it with a written offer, valid for at least three
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3839 years, to give any third party, for a charge no more than your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3840 cost of physically performing source distribution, a complete
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3841 machine-readable copy of the corresponding source code, to be
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3842 distributed under the terms of Sections 1 and 2 above on a medium
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3843 customarily used for software interchange; or,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3844
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3845 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3846 Accompany it with the information you received as to the offer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3847 to distribute corresponding source code. (This alternative is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3848 allowed only for noncommercial distribution and only if you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3849 received the program in object code or executable form with such
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3850 an offer, in accord with Subsection b above.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3851 @end enumerate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3852
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3853 The source code for a work means the preferred form of the work for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3854 making modifications to it. For an executable work, complete source
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3855 code means all the source code for all modules it contains, plus any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3856 associated interface definition files, plus the scripts used to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3857 control compilation and installation of the executable. However, as a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3858 special exception, the source code distributed need not include
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3859 anything that is normally distributed (in either source or binary
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3860 form) with the major components (compiler, kernel, and so on) of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3861 operating system on which the executable runs, unless that component
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3862 itself accompanies the executable.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3863
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3864 If distribution of executable or object code is made by offering
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3865 access to copy from a designated place, then offering equivalent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3866 access to copy the source code from the same place counts as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3867 distribution of the source code, even though third parties are not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3868 compelled to copy the source along with the object code.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3869
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3870 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3871 You may not copy, modify, sublicense, or distribute the Program
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3872 except as expressly provided under this License. Any attempt
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3873 otherwise to copy, modify, sublicense or distribute the Program is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3874 void, and will automatically terminate your rights under this License.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3875 However, parties who have received copies, or rights, from you under
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3876 this License will not have their licenses terminated so long as such
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3877 parties remain in full compliance.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3878
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3879 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3880 You are not required to accept this License, since you have not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3881 signed it. However, nothing else grants you permission to modify or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3882 distribute the Program or its derivative works. These actions are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3883 prohibited by law if you do not accept this License. Therefore, by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3884 modifying or distributing the Program (or any work based on the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3885 Program), you indicate your acceptance of this License to do so, and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3886 all its terms and conditions for copying, distributing or modifying
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3887 the Program or works based on it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3888
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3889 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3890 Each time you redistribute the Program (or any work based on the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3891 Program), the recipient automatically receives a license from the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3892 original licensor to copy, distribute or modify the Program subject to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3893 these terms and conditions. You may not impose any further
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3894 restrictions on the recipients' exercise of the rights granted herein.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3895 You are not responsible for enforcing compliance by third parties to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3896 this License.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3897
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3898 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3899 If, as a consequence of a court judgment or allegation of patent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3900 infringement or for any other reason (not limited to patent issues),
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3901 conditions are imposed on you (whether by court order, agreement or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3902 otherwise) that contradict the conditions of this License, they do not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3903 excuse you from the conditions of this License. If you cannot
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3904 distribute so as to satisfy simultaneously your obligations under this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3905 License and any other pertinent obligations, then as a consequence you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3906 may not distribute the Program at all. For example, if a patent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3907 license would not permit royalty-free redistribution of the Program by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3908 all those who receive copies directly or indirectly through you, then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3909 the only way you could satisfy both it and this License would be to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3910 refrain entirely from distribution of the Program.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3911
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3912 If any portion of this section is held invalid or unenforceable under
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3913 any particular circumstance, the balance of the section is intended to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3914 apply and the section as a whole is intended to apply in other
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3915 circumstances.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3916
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3917 It is not the purpose of this section to induce you to infringe any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3918 patents or other property right claims or to contest validity of any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3919 such claims; this section has the sole purpose of protecting the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3920 integrity of the free software distribution system, which is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3921 implemented by public license practices. Many people have made
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3922 generous contributions to the wide range of software distributed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3923 through that system in reliance on consistent application of that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3924 system; it is up to the author/donor to decide if he or she is willing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3925 to distribute software through any other system and a licensee cannot
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3926 impose that choice.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3927
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3928 This section is intended to make thoroughly clear what is believed to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3929 be a consequence of the rest of this License.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3930
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3931 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3932 If the distribution and/or use of the Program is restricted in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3933 certain countries either by patents or by copyrighted interfaces, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3934 original copyright holder who places the Program under this License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3935 may add an explicit geographical distribution limitation excluding
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3936 those countries, so that distribution is permitted only in or among
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3937 countries not thus excluded. In such case, this License incorporates
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3938 the limitation as if written in the body of this License.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3939
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3940 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3941 The Free Software Foundation may publish revised and/or new versions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3942 of the General Public License from time to time. Such new versions will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3943 be similar in spirit to the present version, but may differ in detail to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3944 address new problems or concerns.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3945
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3946 Each version is given a distinguishing version number. If the Program
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3947 specifies a version number of this License which applies to it and ``any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3948 later version'', you have the option of following the terms and conditions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3949 either of that version or of any later version published by the Free
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3950 Software Foundation. If the Program does not specify a version number of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3951 this License, you may choose any version ever published by the Free Software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3952 Foundation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3953
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3954 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3955 If you wish to incorporate parts of the Program into other free
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3956 programs whose distribution conditions are different, write to the author
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3957 to ask for permission. For software which is copyrighted by the Free
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3958 Software Foundation, write to the Free Software Foundation; we sometimes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3959 make exceptions for this. Our decision will be guided by the two goals
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3960 of preserving the free status of all derivatives of our free software and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3961 of promoting the sharing and reuse of software generally.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3962
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3963 @iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3964 @heading NO WARRANTY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3965 @end iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3966 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3967 @center NO WARRANTY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3968 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3969
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3970 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3971 BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3972 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW@. EXCEPT WHEN
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3973 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3974 PROVIDE THE PROGRAM ``AS IS'' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3975 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3976 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE@. THE ENTIRE RISK AS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3977 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU@. SHOULD THE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3978 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3979 REPAIR OR CORRECTION.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3980
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3981 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3982 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3983 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3984 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3985 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3986 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3987 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3988 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3989 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3990 POSSIBILITY OF SUCH DAMAGES.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3991 @end enumerate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3992
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3993 @iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3994 @heading END OF TERMS AND CONDITIONS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3995 @end iftex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3996 @ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3997 @center END OF TERMS AND CONDITIONS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3998 @end ifinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3999
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4000 @page
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4001 @appendixsec How to Apply These Terms to Your New Programs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4002
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4003 If you develop a new program, and you want it to be of the greatest
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4004 possible use to the public, the best way to achieve this is to make it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4005 free software which everyone can redistribute and change under these terms.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4006
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4007 To do so, attach the following notices to the program. It is safest
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4008 to attach them to the start of each source file to most effectively
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4009 convey the exclusion of warranty; and each file should have at least
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4010 the ``copyright'' line and a pointer to where the full notice is found.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4011
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4012 @smallexample
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4013 @var{one line to give the program's name and an idea of what it does.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4014 Copyright (C) 19@var{yy} @var{name of author}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4015
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4016 This program is free software; you can redistribute it and/or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4017 modify it under the terms of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4018 as published by the Free Software Foundation; either version 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4019 of the License, or (at your option) any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4020
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4021 This program is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4022 but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4023 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE@. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4024 GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4025
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4026 You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4027 along with this program; if not, write to the Free Software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4028 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4029 @end smallexample
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4030
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4031 Also add information on how to contact you by electronic and paper mail.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4032
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4033 If the program is interactive, make it output a short notice like this
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4034 when it starts in an interactive mode:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4035
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4036 @smallexample
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4037 Gnomovision version 69, Copyright (C) 19@var{yy} @var{name of author}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4038 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4039 type `show w'. This is free software, and you are welcome
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4040 to redistribute it under certain conditions; type `show c'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4041 for details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4042 @end smallexample
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4043
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4044 The hypothetical commands @samp{show w} and @samp{show c} should show
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4045 the appropriate parts of the General Public License. Of course, the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4046 commands you use may be called something other than @samp{show w} and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4047 @samp{show c}; they could even be mouse-clicks or menu items---whatever
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4048 suits your program.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4049
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4050 You should also get your employer (if you work as a programmer) or your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4051 school, if any, to sign a ``copyright disclaimer'' for the program, if
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4052 necessary. Here is a sample; alter the names:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4053
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4054 @smallexample
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4055 @group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4056 Yoyodyne, Inc., hereby disclaims all copyright
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4057 interest in the program `Gnomovision'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4058 (which makes passes at compilers) written
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4059 by James Hacker.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4060
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4061 @var{signature of Ty Coon}, 1 April 1989
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4062 Ty Coon, President of Vice
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4063 @end group
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4064 @end smallexample
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4065
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4066 This General Public License does not permit incorporating your program into
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4067 proprietary programs. If your program is a subroutine library, you may
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4068 consider it more useful to permit linking proprietary applications with the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4069 library. If this is what you want to do, use the GNU Library General
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4070 Public License instead of this License.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4071
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4072 @node Command Index, Variable Index, Copying, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4073 @unnumbered Command Index
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4074
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4075 @printindex fn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4076
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4077 @node Variable Index, Concept Index, Command Index, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4078 @unnumbered Variable Index
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4079
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4080 @printindex vr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4081
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4082 @node Concept Index, , Variable Index, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4083 @unnumbered Concept Index
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4084
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4085 @printindex cp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4086
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4087 @contents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4088 @bye
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4089
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4090 @c XXX In the sections on customizing mh-e, you can add cross-references
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4091 @c to the Emacs manual and the Emacs Lisp manual wherever they are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4092 @c useful. @pxref{node, , section, emacs, The GNU Emacs Manual}