aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-03-06 17:42:39 +0000
committerRichard M. Stallman2005-03-06 17:42:39 +0000
commitf5f793943ec68fea472d0ce81f56ffdd77a3695b (patch)
treea7cc7d09cef803f6b7d101492d23a097e26fc46a
parent1be48cfa6d9fc3a586c6646d49b886b6bfd58b65 (diff)
downloademacs-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.texi35
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
45back later (or never). If you use the @kbd{C-x m} command again when you 45back later (or never). If you use the @kbd{C-x m} command again when you
46have been composing another message but have not sent it, you are asked to 46have been composing another message but have not sent it, you are asked to
47confirm before the old message is erased. If you answer @kbd{n}, the 47confirm 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
49finish the old message and send it. @kbd{C-u C-x m} is another way to do 49finish the old message and send it. @kbd{C-u C-x m} is another way to do
50this. Sending the message marks the @samp{*mail*} buffer ``unmodified,'' 50this. Sending the message marks the @samp{*mail*} buffer ``unmodified,''
51which avoids the need for confirmation when @kbd{C-x m} is next used. 51which avoids the need for confirmation when @kbd{C-x m} is next used.
@@ -289,7 +289,21 @@ this line:@refill
289alias maingnu gnu@@gnu.org local-gnu 289alias 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
293Addresses specified in this way should use doublequotes around an
294entire address when the address contains spaces. But you need not
295include doublequotes around parts of the address, such as the person's
296full name. Emacs puts them in if they are needed. For example,
297
298@example
299alias chief-torturer "George W. Bush <bush@whitehouse.gov>"
300@end example
301
302@noindent
303is 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.
293They look like this: 307They 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
503determine the full name. The variable @code{mail-complete-style} 515determine the full name. The variable @code{mail-complete-style}
504controls whether to insert the full name, and what style to use, as in 516controls 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
506manager defines @kbd{M-@key{TAB}} to switch windows, you can type this 518manager defines @kbd{M-@key{TAB}} to switch windows, you can type
507Emacs 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
510the local users' names plus your personal mail aliases. You can 522the 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
626often more convenient to use a special command, @kbd{C-c C-i} 638often 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
628the end of the buffer, after your signature if any, with a delimiter 640the end of the buffer, after your signature if any, with a delimiter
629line that includes the file name. 641line that includes the file name. Note that this is not a MIME
642attachment.
630 643
631@vindex mail-mode-hook 644@vindex mail-mode-hook
632@vindex mail-setup-hook 645@vindex mail-setup-hook