aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-03-15 21:16:52 +0000
committerGlenn Morris2009-03-15 21:16:52 +0000
commit2186d13f03a32f1fce02451cc994b661e37ae569 (patch)
treec9a666b93762b47493a318de3979b546328af2c2
parent4ad1654a908f42b824ec247308902814c7e30288 (diff)
downloademacs-2186d13f03a32f1fce02451cc994b661e37ae569.tar.gz
emacs-2186d13f03a32f1fce02451cc994b661e37ae569.zip
(Mail Format): Replace "Sender" with "Message-Id", since
the former is not always used. (Mail Headers): Use active voice. Add "Mail-reply-to". Change case of "Id". Avoid repeated "appropriate". (Mail Aliases): Fix previous change - use an example with a ".", so it does actually get quoted when expanded. (Mail Sending): Mailclient is the default on some systems. (Citing Mail): Mention mail-indentation-spaces. (Mail Mode Misc): Add an @dfn for "mail signature".
-rw-r--r--doc/emacs/ChangeLog12
-rw-r--r--doc/emacs/sending.texi78
2 files changed, 54 insertions, 36 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 8567982b85f..ca3b2cc51fa 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,15 @@
12009-03-15 Glenn Morris <rgm@gnu.org>
2
3 * sending.texi (Mail Format): Replace "Sender" with "Message-Id", since
4 the former is not always used.
5 (Mail Headers): Use active voice. Add "Mail-reply-to".
6 Change case of "Id". Avoid repeated "appropriate".
7 (Mail Aliases): Fix previous change - use an example with a ".", so it
8 does actually get quoted when expanded.
9 (Mail Sending): Mailclient is the default on some systems.
10 (Citing Mail): Mention mail-indentation-spaces.
11 (Mail Mode Misc): Add an @dfn for "mail signature".
12
12009-03-15 Chong Yidong <cyd@stupidchicken.com> 132009-03-15 Chong Yidong <cyd@stupidchicken.com>
2 14
3 * mini.texi (Completion Commands): Describe Emacs 23 completion rules. 15 * mini.texi (Completion Commands): Describe Emacs 23 completion rules.
diff --git a/doc/emacs/sending.texi b/doc/emacs/sending.texi
index 47ecc021f3c..3cc3791a9d3 100644
--- a/doc/emacs/sending.texi
+++ b/doc/emacs/sending.texi
@@ -91,14 +91,14 @@ separate manual. It may be useful for looking up names and addresses.
91 91
92 In addition to the @dfn{text} or @dfn{body}, a message has @dfn{header 92 In addition to the @dfn{text} or @dfn{body}, a message has @dfn{header
93fields} which say who sent it, when, to whom, why, and so on. Some 93fields} which say who sent it, when, to whom, why, and so on. Some
94header fields, such as @samp{Date} and @samp{Sender}, are created 94header fields, such as @samp{Date} and @samp{Message-Id}, are created
95automatically when you send the message. Others, such as the recipient 95automatically when you send the message. Others, such as the recipient
96names, must be specified by you in order to send the message properly. 96names, must be specified by you in order to send the message properly.
97 97
98 In the mail buffer, you can insert and edit header fields using 98 In the mail buffer, you can insert and edit header fields using
99ordinary editing commands. Mail mode provides commands to help you 99ordinary editing commands. Mail mode provides commands to help you
100edit some header fields, and some are preinitialized in the buffer 100edit some header fields, and some are automatically preinitialized in
101automatically when appropriate. 101the buffer, when appropriate.
102 102
103@vindex mail-header-separator 103@vindex mail-header-separator
104 The line in the buffer that says 104 The line in the buffer that says
@@ -211,9 +211,14 @@ To put a fixed @samp{Reply-to} address into every outgoing message, set
211the variable @code{mail-default-reply-to} to that address (as a string). 211the variable @code{mail-default-reply-to} to that address (as a string).
212Then Emacs initializes the message with a @samp{Reply-to} field as 212Then Emacs initializes the message with a @samp{Reply-to} field as
213specified. When you first compose a mail, if 213specified. When you first compose a mail, if
214@code{mail-default-reply-to} is @code{nil}, it is initialized from the 214@code{mail-default-reply-to} is @code{nil}, Emacs initializes it from the
215environment variable @env{REPLYTO}. 215environment variable @env{REPLYTO}.
216 216
217@item Mail-reply-to
218 This field takes precedence over @samp{Reply-to}. It is used because
219some mailing lists set the @samp{Reply-to} field for their own purposes
220(a somewhat controversial practice).
221
217@item Mail-followup-to 222@item Mail-followup-to
218 This field contains one or more addresses. It is typically used when 223 This field contains one or more addresses. It is typically used when
219you reply to a message from a mailing list that you are subscribed to. 224you reply to a message from a mailing list that you are subscribed to.
@@ -237,9 +242,9 @@ when you reply to a message in Rmail, and you never need to
237think about it (@pxref{Rmail}). 242think about it (@pxref{Rmail}).
238 243
239@item References 244@item References
240This field lists the message IDs of related previous messages (a message 245This field lists the Message-Ids of related previous messages (a
241ID is a unique identifier generated when a message is sent). Rmail sets 246Message-Id is a unique identifier generated when a message is sent).
242up this field automatically when you reply to a message. 247Rmail sets up this field automatically when you reply to a message.
243@end table 248@end table
244 249
245 The @samp{To}, @samp{CC}, and @samp{BCC} header fields can appear 250 The @samp{To}, @samp{CC}, and @samp{BCC} header fields can appear
@@ -284,8 +289,7 @@ Allow the system to insert the @samp{From} field.
284outgoing message by setting the variable @code{mail-default-headers} 289outgoing message by setting the variable @code{mail-default-headers}
285to a string. Then @code{C-x m} inserts this string into the message 290to a string. Then @code{C-x m} inserts this string into the message
286headers. If the default header fields are not appropriate for a 291headers. If the default header fields are not appropriate for a
287particular message, edit them as appropriate before sending the 292particular message, edit them as necessary before sending the message.
288message.
289 293
290@node Mail Aliases 294@node Mail Aliases
291@section Mail Aliases 295@section Mail Aliases
@@ -328,12 +332,12 @@ include double quotes around parts of the address, such as the person's
328full name. Emacs puts them in if they are needed. For example, 332full name. Emacs puts them in if they are needed. For example,
329 333
330@example 334@example
331alias pres "President of the United States <president@@whitehouse.gov>" 335alias jsmith "John Q. Smith <none@@example.com>"
332@end example 336@end example
333 337
334@noindent 338@noindent
335is correct in @samp{.mailrc}. Emacs will insert the address as 339is correct in @samp{.mailrc}. Emacs will insert the address as
336@samp{"President of the United States" <president@@whitehouse.gov>}. 340@samp{"John Q. Smith" <none@@example.com>}.
337 341
338 Emacs also recognizes ``include'' commands in @samp{.mailrc} files. 342 Emacs also recognizes ``include'' commands in @samp{.mailrc} files.
339They look like this: 343They look like this:
@@ -493,14 +497,16 @@ showing a list of possible coding systems.
493@cindex Mailclient 497@cindex Mailclient
494@vindex send-mail-function 498@vindex send-mail-function
495 The variable @code{send-mail-function} controls how the default mail 499 The variable @code{send-mail-function} controls how the default mail
496user agent sends mail. It should be set to a function. The default 500user agent sends mail. It should be set to a function. In most cases,
497is @code{sendmail-send-it}, which delivers mail using the Sendmail 501the default is @code{sendmail-send-it}, which delivers mail using the
498installation on the local host. To send mail through a SMTP server, 502Sendmail installation on the local host. On Mac OS X and Windows,
499set it to @code{smtpmail-send-it} and set up the Emacs SMTP library 503however, the default is normally @code{mailclient-send-it} (see
500(@pxref{Top,,Emacs SMTP Library, smtpmail, Sending mail via SMTP}). 504@file{mailclient.el}). To send mail through an SMTP
501Other options are @code{feedmail-send-it} (see the commentary section of 505server, set @code{send-mail-function} to @code{smtpmail-send-it} and set
502the @file{feedmail.el} package), and @code{mailclient-send-it} (see 506up the Emacs SMTP library (@pxref{Top,,Emacs SMTP Library, smtpmail,
503@file{mailclient.el}). 507Sending mail via SMTP}). Another option is @code{feedmail-send-it} (see
508the commentary section of the @file{feedmail.el} package).
509@c FIXME Some details of Mailclient would probably be good.
504 510
505@node Header Editing 511@node Header Editing
506@subsection Mail Header Editing 512@subsection Mail Header Editing
@@ -609,16 +615,17 @@ Fill each paragraph cited from another message
609@kindex C-c C-y @r{(Mail mode)} 615@kindex C-c C-y @r{(Mail mode)}
610@findex mail-yank-original 616@findex mail-yank-original
611 When mail sending is invoked from the Rmail mail reader using an Rmail 617 When mail sending is invoked from the Rmail mail reader using an Rmail
612command, @kbd{C-c C-y} can be used inside the mail buffer to insert 618command, @kbd{C-c C-y} can be used inside the mail buffer to insert the
613the text of the message you are replying to. Normally it indents each line 619text of the message you are replying to. Normally it indents each line
614of that message three spaces and eliminates most header fields (as 620of that message three spaces and eliminates most header fields (as
615specified by the variable @code{mail-yank-ignored-headers}). A numeric 621specified by the variable @code{mail-yank-ignored-headers}). A numeric
616argument specifies the number of spaces to indent. An argument of just 622argument specifies the number of spaces to indent (the variable
617@kbd{C-u} says not to indent at all and not to eliminate anything. 623@code{mail-indentation-spaces} specifies the default number). An
618@kbd{C-c C-y} always uses the current message from the Rmail buffer, 624argument of just @kbd{C-u} says not to indent at all and not to
619so you can insert several old messages by selecting one in Rmail, 625eliminate anything. @kbd{C-c C-y} always uses the current message from
620switching to @samp{*mail*} and yanking it, then switching back to 626the Rmail buffer, so you can insert several old messages by selecting
621Rmail to select another. 627one in Rmail, switching to @samp{*mail*} and yanking it, then switching
628back to Rmail to select another.
622 629
623@vindex mail-yank-prefix 630@vindex mail-yank-prefix
624 You can specify the text for @kbd{C-c C-y} to insert at the beginning 631 You can specify the text for @kbd{C-c C-y} to insert at the beginning
@@ -626,7 +633,6 @@ of each line: set @code{mail-yank-prefix} to the desired string. (A
626value of @code{nil} means to use indentation; this is the default.) 633value of @code{nil} means to use indentation; this is the default.)
627However, @kbd{C-u C-c C-y} never adds anything at the beginning of the 634However, @kbd{C-u C-c C-y} never adds anything at the beginning of the
628inserted lines, regardless of the value of @code{mail-yank-prefix}. 635inserted lines, regardless of the value of @code{mail-yank-prefix}.
629@c Indentation controlled by mail-indentation-spaces.
630 636
631@kindex C-c C-r @r{(Mail mode)} 637@kindex C-c C-r @r{(Mail mode)}
632@findex mail-yank-region 638@findex mail-yank-region
@@ -677,14 +683,14 @@ separator line---that is, to the beginning of the message body text.
677@kindex C-c C-w @r{(Mail mode)} 683@kindex C-c C-w @r{(Mail mode)}
678@findex mail-signature 684@findex mail-signature
679@vindex mail-signature 685@vindex mail-signature
680 @kbd{C-c C-w} (@code{mail-signature}) adds a standard piece of text at 686 @kbd{C-c C-w} (@code{mail-signature}) adds a standard piece of text
681the end of the message to say more about who you are. For example, it 687(your @dfn{mail signature}) at the end of the message to say more about who
682may contain telephone numbers, or your physical location. The text 688you are. For example, it may contain telephone numbers, or your
683comes from the variable @code{mail-signature}. It can be a fixed 689physical location. The text comes from the variable
684string, or a Lisp expression that returns a string. If it is @code{t} 690@code{mail-signature}. It can be a fixed string, or a Lisp expression
685or @code{nil}, the function inserts the contents of the file 691that returns a string. If it is @code{t} or @code{nil}, the function
686@code{mail-signature-file}. By default, this is the file 692inserts the contents of the file @code{mail-signature-file}. By
687@file{~/.signature} in your home directory. 693default, this is the file @file{~/.signature} in your home directory.
688 694
689 If the variable @code{mail-signature} has a non-@code{nil} value, 695 If the variable @code{mail-signature} has a non-@code{nil} value,
690starting a mail automatically inserts your signature. Otherwise, you 696starting a mail automatically inserts your signature. Otherwise, you