diff options
| author | Glenn Morris | 2009-03-15 21:16:52 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-03-15 21:16:52 +0000 |
| commit | 2186d13f03a32f1fce02451cc994b661e37ae569 (patch) | |
| tree | c9a666b93762b47493a318de3979b546328af2c2 | |
| parent | 4ad1654a908f42b824ec247308902814c7e30288 (diff) | |
| download | emacs-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/ChangeLog | 12 | ||||
| -rw-r--r-- | doc/emacs/sending.texi | 78 |
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 @@ | |||
| 1 | 2009-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 | |||
| 1 | 2009-03-15 Chong Yidong <cyd@stupidchicken.com> | 13 | 2009-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 |
| 93 | fields} which say who sent it, when, to whom, why, and so on. Some | 93 | fields} which say who sent it, when, to whom, why, and so on. Some |
| 94 | header fields, such as @samp{Date} and @samp{Sender}, are created | 94 | header fields, such as @samp{Date} and @samp{Message-Id}, are created |
| 95 | automatically when you send the message. Others, such as the recipient | 95 | automatically when you send the message. Others, such as the recipient |
| 96 | names, must be specified by you in order to send the message properly. | 96 | names, 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 |
| 99 | ordinary editing commands. Mail mode provides commands to help you | 99 | ordinary editing commands. Mail mode provides commands to help you |
| 100 | edit some header fields, and some are preinitialized in the buffer | 100 | edit some header fields, and some are automatically preinitialized in |
| 101 | automatically when appropriate. | 101 | the 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 | |||
| 211 | the variable @code{mail-default-reply-to} to that address (as a string). | 211 | the variable @code{mail-default-reply-to} to that address (as a string). |
| 212 | Then Emacs initializes the message with a @samp{Reply-to} field as | 212 | Then Emacs initializes the message with a @samp{Reply-to} field as |
| 213 | specified. When you first compose a mail, if | 213 | specified. 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 |
| 215 | environment variable @env{REPLYTO}. | 215 | environment variable @env{REPLYTO}. |
| 216 | 216 | ||
| 217 | @item Mail-reply-to | ||
| 218 | This field takes precedence over @samp{Reply-to}. It is used because | ||
| 219 | some 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 |
| 219 | you reply to a message from a mailing list that you are subscribed to. | 224 | you 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 | |||
| 237 | think about it (@pxref{Rmail}). | 242 | think about it (@pxref{Rmail}). |
| 238 | 243 | ||
| 239 | @item References | 244 | @item References |
| 240 | This field lists the message IDs of related previous messages (a message | 245 | This field lists the Message-Ids of related previous messages (a |
| 241 | ID is a unique identifier generated when a message is sent). Rmail sets | 246 | Message-Id is a unique identifier generated when a message is sent). |
| 242 | up this field automatically when you reply to a message. | 247 | Rmail 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. | |||
| 284 | outgoing message by setting the variable @code{mail-default-headers} | 289 | outgoing message by setting the variable @code{mail-default-headers} |
| 285 | to a string. Then @code{C-x m} inserts this string into the message | 290 | to a string. Then @code{C-x m} inserts this string into the message |
| 286 | headers. If the default header fields are not appropriate for a | 291 | headers. If the default header fields are not appropriate for a |
| 287 | particular message, edit them as appropriate before sending the | 292 | particular message, edit them as necessary before sending the message. |
| 288 | message. | ||
| 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 | |||
| 328 | full name. Emacs puts them in if they are needed. For example, | 332 | full name. Emacs puts them in if they are needed. For example, |
| 329 | 333 | ||
| 330 | @example | 334 | @example |
| 331 | alias pres "President of the United States <president@@whitehouse.gov>" | 335 | alias jsmith "John Q. Smith <none@@example.com>" |
| 332 | @end example | 336 | @end example |
| 333 | 337 | ||
| 334 | @noindent | 338 | @noindent |
| 335 | is correct in @samp{.mailrc}. Emacs will insert the address as | 339 | is 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. |
| 339 | They look like this: | 343 | They 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 |
| 496 | user agent sends mail. It should be set to a function. The default | 500 | user agent sends mail. It should be set to a function. In most cases, |
| 497 | is @code{sendmail-send-it}, which delivers mail using the Sendmail | 501 | the default is @code{sendmail-send-it}, which delivers mail using the |
| 498 | installation on the local host. To send mail through a SMTP server, | 502 | Sendmail installation on the local host. On Mac OS X and Windows, |
| 499 | set it to @code{smtpmail-send-it} and set up the Emacs SMTP library | 503 | however, 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 |
| 501 | Other options are @code{feedmail-send-it} (see the commentary section of | 505 | server, set @code{send-mail-function} to @code{smtpmail-send-it} and set |
| 502 | the @file{feedmail.el} package), and @code{mailclient-send-it} (see | 506 | up the Emacs SMTP library (@pxref{Top,,Emacs SMTP Library, smtpmail, |
| 503 | @file{mailclient.el}). | 507 | Sending mail via SMTP}). Another option is @code{feedmail-send-it} (see |
| 508 | the 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 |
| 612 | command, @kbd{C-c C-y} can be used inside the mail buffer to insert | 618 | command, @kbd{C-c C-y} can be used inside the mail buffer to insert the |
| 613 | the text of the message you are replying to. Normally it indents each line | 619 | text of the message you are replying to. Normally it indents each line |
| 614 | of that message three spaces and eliminates most header fields (as | 620 | of that message three spaces and eliminates most header fields (as |
| 615 | specified by the variable @code{mail-yank-ignored-headers}). A numeric | 621 | specified by the variable @code{mail-yank-ignored-headers}). A numeric |
| 616 | argument specifies the number of spaces to indent. An argument of just | 622 | argument 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, | 624 | argument of just @kbd{C-u} says not to indent at all and not to |
| 619 | so you can insert several old messages by selecting one in Rmail, | 625 | eliminate anything. @kbd{C-c C-y} always uses the current message from |
| 620 | switching to @samp{*mail*} and yanking it, then switching back to | 626 | the Rmail buffer, so you can insert several old messages by selecting |
| 621 | Rmail to select another. | 627 | one in Rmail, switching to @samp{*mail*} and yanking it, then switching |
| 628 | back 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 | |||
| 626 | value of @code{nil} means to use indentation; this is the default.) | 633 | value of @code{nil} means to use indentation; this is the default.) |
| 627 | However, @kbd{C-u C-c C-y} never adds anything at the beginning of the | 634 | However, @kbd{C-u C-c C-y} never adds anything at the beginning of the |
| 628 | inserted lines, regardless of the value of @code{mail-yank-prefix}. | 635 | inserted 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 |
| 681 | the 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 |
| 682 | may contain telephone numbers, or your physical location. The text | 688 | you are. For example, it may contain telephone numbers, or your |
| 683 | comes from the variable @code{mail-signature}. It can be a fixed | 689 | physical location. The text comes from the variable |
| 684 | string, 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 |
| 685 | or @code{nil}, the function inserts the contents of the file | 691 | that returns a string. If it is @code{t} or @code{nil}, the function |
| 686 | @code{mail-signature-file}. By default, this is the file | 692 | inserts the contents of the file @code{mail-signature-file}. By |
| 687 | @file{~/.signature} in your home directory. | 693 | default, 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, |
| 690 | starting a mail automatically inserts your signature. Otherwise, you | 696 | starting a mail automatically inserts your signature. Otherwise, you |