diff options
| author | Richard M. Stallman | 2005-03-06 17:42:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-03-06 17:42:39 +0000 |
| commit | f5f793943ec68fea472d0ce81f56ffdd77a3695b (patch) | |
| tree | a7cc7d09cef803f6b7d101492d23a097e26fc46a | |
| parent | 1be48cfa6d9fc3a586c6646d49b886b6bfd58b65 (diff) | |
| download | emacs-f5f793943ec68fea472d0ce81f56ffdd77a3695b.tar.gz emacs-f5f793943ec68fea472d0ce81f56ffdd77a3695b.zip | |
(Sending Mail): Minor cleanup.
(Mail Aliases): Explain quoting conventions.
Update key rebinding example.
(Header Editing): C-M-i is like M-TAB.
(Mail Mode Misc): mail-attach-file does not do MIME.
| -rw-r--r-- | man/sending.texi | 35 |
1 files changed, 24 insertions, 11 deletions
diff --git a/man/sending.texi b/man/sending.texi index bb1ac2864ac..fb00f80a683 100644 --- a/man/sending.texi +++ b/man/sending.texi | |||
| @@ -45,7 +45,7 @@ switch to other buffers while in the middle of composing mail, and switch | |||
| 45 | back later (or never). If you use the @kbd{C-x m} command again when you | 45 | back later (or never). If you use the @kbd{C-x m} command again when you |
| 46 | have been composing another message but have not sent it, you are asked to | 46 | have been composing another message but have not sent it, you are asked to |
| 47 | confirm before the old message is erased. If you answer @kbd{n}, the | 47 | confirm before the old message is erased. If you answer @kbd{n}, the |
| 48 | @samp{*mail*} buffer is left selected with its old contents, so you can | 48 | @samp{*mail*} buffer remains selected with its old contents, so you can |
| 49 | finish the old message and send it. @kbd{C-u C-x m} is another way to do | 49 | finish the old message and send it. @kbd{C-u C-x m} is another way to do |
| 50 | this. Sending the message marks the @samp{*mail*} buffer ``unmodified,'' | 50 | this. Sending the message marks the @samp{*mail*} buffer ``unmodified,'' |
| 51 | which avoids the need for confirmation when @kbd{C-x m} is next used. | 51 | which avoids the need for confirmation when @kbd{C-x m} is next used. |
| @@ -289,7 +289,21 @@ this line:@refill | |||
| 289 | alias maingnu gnu@@gnu.org local-gnu | 289 | alias maingnu gnu@@gnu.org local-gnu |
| 290 | @end example | 290 | @end example |
| 291 | 291 | ||
| 292 | Emacs also recognizes include commands in @samp{.mailrc} files. | 292 | @noindent |
| 293 | Addresses specified in this way should use doublequotes around an | ||
| 294 | entire address when the address contains spaces. But you need not | ||
| 295 | include doublequotes around parts of the address, such as the person's | ||
| 296 | full name. Emacs puts them in if they are needed. For example, | ||
| 297 | |||
| 298 | @example | ||
| 299 | alias chief-torturer "George W. Bush <bush@whitehouse.gov>" | ||
| 300 | @end example | ||
| 301 | |||
| 302 | @noindent | ||
| 303 | is correct. Emacs will insert the address as @samp{"George W. Bush" | ||
| 304 | <bush@whitehouse.gov>}. | ||
| 305 | |||
| 306 | Emacs also recognizes ``include'' commands in @samp{.mailrc} files. | ||
| 293 | They look like this: | 307 | They look like this: |
| 294 | 308 | ||
| 295 | @example | 309 | @example |
| @@ -363,12 +377,10 @@ expansion as well. Here's how to do that: | |||
| 363 | @smallexample | 377 | @smallexample |
| 364 | (add-hook 'mail-mode-hook | 378 | (add-hook 'mail-mode-hook |
| 365 | (lambda () | 379 | (lambda () |
| 366 | (substitute-key-definition | 380 | (define-key |
| 367 | 'next-line 'mail-abbrev-next-line | 381 | mail-mode-map [remap next-line] 'mail-abbrev-next-line) |
| 368 | mail-mode-map global-map) | 382 | (define-key |
| 369 | (substitute-key-definition | 383 | mail-mode-map [remap end-of-buffer] 'mail-abbrev-end-of-buffer))) |
| 370 | 'end-of-buffer 'mail-abbrev-end-of-buffer | ||
| 371 | mail-mode-map global-map))) | ||
| 372 | @end smallexample | 384 | @end smallexample |
| 373 | 385 | ||
| 374 | @node Mail Mode | 386 | @node Mail Mode |
| @@ -503,8 +515,8 @@ inserts the full name corresponding to the address, if it can | |||
| 503 | determine the full name. The variable @code{mail-complete-style} | 515 | determine the full name. The variable @code{mail-complete-style} |
| 504 | controls whether to insert the full name, and what style to use, as in | 516 | controls whether to insert the full name, and what style to use, as in |
| 505 | @code{mail-from-style} (@pxref{Mail Headers}). (If your window | 517 | @code{mail-from-style} (@pxref{Mail Headers}). (If your window |
| 506 | manager defines @kbd{M-@key{TAB}} to switch windows, you can type this | 518 | manager defines @kbd{M-@key{TAB}} to switch windows, you can type |
| 507 | Emacs command as @kbd{@key{ESC} @key{TAB}}.) | 519 | @kbd{@key{ESC} @key{TAB}} or @kbd{C-M-i}.) |
| 508 | 520 | ||
| 509 | For completion purposes, the valid mailing addresses are taken to be | 521 | For completion purposes, the valid mailing addresses are taken to be |
| 510 | the local users' names plus your personal mail aliases. You can | 522 | the local users' names plus your personal mail aliases. You can |
| @@ -626,7 +638,8 @@ the usual command to insert a file in the current buffer. But it is | |||
| 626 | often more convenient to use a special command, @kbd{C-c C-i} | 638 | often more convenient to use a special command, @kbd{C-c C-i} |
| 627 | (@code{mail-attach-file}). This command inserts the file contents at | 639 | (@code{mail-attach-file}). This command inserts the file contents at |
| 628 | the end of the buffer, after your signature if any, with a delimiter | 640 | the end of the buffer, after your signature if any, with a delimiter |
| 629 | line that includes the file name. | 641 | line that includes the file name. Note that this is not a MIME |
| 642 | attachment. | ||
| 630 | 643 | ||
| 631 | @vindex mail-mode-hook | 644 | @vindex mail-mode-hook |
| 632 | @vindex mail-setup-hook | 645 | @vindex mail-setup-hook |