aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/emacs/ChangeLog16
-rw-r--r--doc/emacs/rmail.texi99
2 files changed, 72 insertions, 43 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index cbc089b5bef..522caa127ce 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,19 @@
12009-03-03 Glenn Morris <rgm@gnu.org>
2
3 * rmail.texi (Rmail Deletion): Revert previous change, which was
4 describing the Rmail summary versions.
5 (Rmail Reply): Give more details of rmail-dont-reply-to-names.
6 Minor re-wording for rmail-resend.
7 (Rmail Make Summary): Summaries apply to buffers rather than files.
8 <rmail-summary-by-topic>: Headers includes the subject.
9 <rmail-summary-by-recipients, rmail-summary-by-topic>: Give more
10 details, including prefix arguments.
11 Not counting lines might be faster.
12 (Rmail Summary Edit): More details on the delete commands.
13 Add rmail-summary-bury.
14 (Rmail Display): Mention rmail-displayed-headers. Fix typo.
15 Simplify rmail-highlighted-headers description. Update face name.
16
12009-03-02 Juanma Barranquero <lekktu@gmail.com> 172009-03-02 Juanma Barranquero <lekktu@gmail.com>
2 18
3 * mark.texi (Marking Objects): Fix typo. 19 * mark.texi (Marking Objects): Fix typo.
diff --git a/doc/emacs/rmail.texi b/doc/emacs/rmail.texi
index c1ea58e52bb..8205dbd7554 100644
--- a/doc/emacs/rmail.texi
+++ b/doc/emacs/rmail.texi
@@ -260,10 +260,10 @@ current message and select another message. @kbd{d}
260(@code{rmail-delete-forward}) moves to the following message, skipping 260(@code{rmail-delete-forward}) moves to the following message, skipping
261messages already deleted, while @kbd{C-d} (@code{rmail-delete-backward}) 261messages already deleted, while @kbd{C-d} (@code{rmail-delete-backward})
262moves to the previous nondeleted message. If there is no nondeleted 262moves to the previous nondeleted message. If there is no nondeleted
263message to move to in the specified direction, these commands move to 263message to move to in the specified direction, the message that was just
264the last or first message. With a numeric argument, these commands 264deleted remains current. @kbd{d} with a prefix argument is equivalent
265delete the specified number of messages. @kbd{d} with a negative 265to @kbd{C-d}. Note that the Rmail summary versions of these commands
266numeric argument is equivalent to @kbd{C-d}, and vice versa. 266behave slightly differently (@pxref{Rmail Summary Edit}).
267 267
268@c mention other hooks, eg show message hook? 268@c mention other hooks, eg show message hook?
269@vindex rmail-delete-message-hook 269@vindex rmail-delete-message-hook
@@ -698,13 +698,16 @@ sent the message you received, and the @samp{CC} field starts out with
698all the other recipients of that message. 698all the other recipients of that message.
699 699
700@vindex rmail-dont-reply-to-names 700@vindex rmail-dont-reply-to-names
701 You can exclude certain recipients from being placed automatically in 701 You can exclude certain recipients from being included automatically
702the @samp{CC}, using the variable @code{rmail-dont-reply-to-names}. Its 702in replies, using the variable @code{rmail-dont-reply-to-names}. Its
703value should be a regular expression (as a string); any recipient that 703value should be a regular expression (as a string); any recipient that
704the regular expression matches, is excluded from the @samp{CC} field. 704the regular expression matches, is excluded from the @samp{CC} field.
705The default value matches your own name, and any name starting with 705They are also excluded from the @samp{To} field, unless this would leave
706@samp{info-}. (Those names are excluded because there is a convention 706the field empty. If this variables is nil, then the first time you
707of using them for large mailing lists to broadcast announcements.) 707compose a reply it is initialized to a default value that matches your
708own address, and any name starting with @samp{info-}. (Those names are
709excluded because there is a convention of using them for large mailing
710lists to broadcast announcements.)
708 711
709 To omit the @samp{CC} field completely for a particular reply, enter 712 To omit the @samp{CC} field completely for a particular reply, enter
710the reply command with a numeric argument: @kbd{C-u r} or @kbd{1 r}. 713the reply command with a numeric argument: @kbd{C-u r} or @kbd{1 r}.
@@ -763,8 +766,8 @@ difference is that resending sends a message that is ``from'' the
763original sender, just as it reached you---with a few added header fields 766original sender, just as it reached you---with a few added header fields
764@samp{Resent-From} and @samp{Resent-To} to indicate that it came via 767@samp{Resent-From} and @samp{Resent-To} to indicate that it came via
765you. To resend a message in Rmail, use @kbd{C-u f}. (@kbd{f} runs 768you. To resend a message in Rmail, use @kbd{C-u f}. (@kbd{f} runs
766@code{rmail-forward}, which is programmed to invoke @code{rmail-resend} 769@code{rmail-forward}, which invokes @code{rmail-resend} if you provide a
767if you provide a numeric argument.) 770numeric argument.)
768 771
769@kindex m @r{(Rmail)} 772@kindex m @r{(Rmail)}
770@findex rmail-mail 773@findex rmail-mail
@@ -817,9 +820,9 @@ time.
817@node Rmail Make Summary 820@node Rmail Make Summary
818@subsection Making Summaries 821@subsection Making Summaries
819 822
820 Here are the commands to create a summary for the current Rmail file. 823 Here are the commands to create a summary for the current Rmail
821Once the Rmail file has a summary buffer, changes in the Rmail file 824buffer. Once the Rmail buffer has a summary, changes in the Rmail
822(such as deleting or expunging messages, and getting new mail) 825buffer (such as deleting or expunging messages, and getting new mail)
823automatically update the summary. 826automatically update the summary.
824 827
825@table @kbd 828@table @kbd
@@ -837,15 +840,14 @@ Summarize messages that have one or more of the specified recipients
837Summarize messages that have a match for the specified regexp 840Summarize messages that have a match for the specified regexp
838@var{topic} in their subjects (@code{rmail-summary-by-topic}). 841@var{topic} in their subjects (@code{rmail-summary-by-topic}).
839@item C-M-s @var{regexp} 842@item C-M-s @var{regexp}
840Summarize messages whose headers and the subject line match the 843Summarize messages whose headers match the specified regular expression
841specified regular expression @var{regexp} 844@var{regexp} (@code{rmail-summary-by-regexp}).
842(@code{rmail-summary-by-regexp}).
843@end table 845@end table
844 846
845@kindex h @r{(Rmail)} 847@kindex h @r{(Rmail)}
846@findex rmail-summary 848@findex rmail-summary
847 The @kbd{h} or @kbd{C-M-h} (@code{rmail-summary}) command fills the summary buffer 849 The @kbd{h} or @kbd{C-M-h} (@code{rmail-summary}) command fills the summary buffer
848for the current Rmail file with a summary of all the messages in the file. 850for the current Rmail buffer with a summary of all the messages in the buffer.
849It then displays and selects the summary buffer in another window. 851It then displays and selects the summary buffer in another window.
850 852
851@kindex l @r{(Rmail)} 853@kindex l @r{(Rmail)}
@@ -859,24 +861,28 @@ commas.
859@kindex C-M-r @r{(Rmail)} 861@kindex C-M-r @r{(Rmail)}
860@findex rmail-summary-by-recipients 862@findex rmail-summary-by-recipients
861 @kbd{C-M-r @var{rcpts} @key{RET}} (@code{rmail-summary-by-recipients}) 863 @kbd{C-M-r @var{rcpts} @key{RET}} (@code{rmail-summary-by-recipients})
862makes a partial summary mentioning only the messages that have one or more 864makes a partial summary mentioning only the messages that have one or
863of the recipients @var{rcpts}. @var{rcpts} should contain mailing 865more recipients matching the regular expression @var{rcpts}. Commas can
864addresses separated by commas. 866be used to separate multiple regular expressions. These are matched
867against the @samp{To}, @samp{From}, and @samp{CC} headers (with a prefix
868argument, this header is not included).
865 869
866@kindex C-M-t @r{(Rmail)} 870@kindex C-M-t @r{(Rmail)}
867@findex rmail-summary-by-topic 871@findex rmail-summary-by-topic
868 @kbd{C-M-t @var{topic} @key{RET}} (@code{rmail-summary-by-topic}) 872 @kbd{C-M-t @var{topic} @key{RET}} (@code{rmail-summary-by-topic})
869makes a partial summary mentioning only the messages whose subjects have 873makes a partial summary mentioning only the messages whose subjects have
870a match for the regular expression @var{topic}. 874a match for the regular expression @var{topic}. Commas can be used to
875separate multiple regular expressions. With a prefix argument, the
876match is against the whole message, not just the subject.
871 877
872@kindex C-M-s @r{(Rmail)} 878@kindex C-M-s @r{(Rmail)}
873@findex rmail-summary-by-regexp 879@findex rmail-summary-by-regexp
874 @kbd{C-M-s @var{regexp} @key{RET}} (@code{rmail-summary-by-regexp}) 880 @kbd{C-M-s @var{regexp} @key{RET}} (@code{rmail-summary-by-regexp})
875makes a partial summary which mentions only the messages whose headers 881makes a partial summary that mentions only the messages whose headers
876(including the date and the subject lines) match the regular 882(including the date and the subject lines) match the regular
877expression @var{regexp}. 883expression @var{regexp}.
878 884
879 Note that there is only one summary buffer for any Rmail file; 885 Note that there is only one summary buffer for any Rmail buffer;
880making any kind of summary discards any previous summary. 886making any kind of summary discards any previous summary.
881 887
882@vindex rmail-summary-window-size 888@vindex rmail-summary-window-size
@@ -884,7 +890,8 @@ making any kind of summary discards any previous summary.
884 The variable @code{rmail-summary-window-size} says how many lines to 890 The variable @code{rmail-summary-window-size} says how many lines to
885use for the summary window. The variable 891use for the summary window. The variable
886@code{rmail-summary-line-count-flag} controls whether the summary line 892@code{rmail-summary-line-count-flag} controls whether the summary line
887for a message should include the line count of the message. 893for a message should include the line count of the message. Setting
894this option to nil might speed up the generation of summaries.
888 895
889@node Rmail Summary Edit 896@node Rmail Summary Edit
890@subsection Editing in Summaries 897@subsection Editing in Summaries
@@ -904,10 +911,12 @@ Rmail buffer. Thus, @kbd{d} in the summary buffer deletes the current
904message, @kbd{u} undeletes, and @kbd{x} expunges. (However, in the 911message, @kbd{u} undeletes, and @kbd{x} expunges. (However, in the
905summary buffer, a numeric argument to @kbd{d}, @kbd{C-d} and @kbd{u} 912summary buffer, a numeric argument to @kbd{d}, @kbd{C-d} and @kbd{u}
906serves as a repeat count. A negative argument reverses the meaning of 913serves as a repeat count. A negative argument reverses the meaning of
907@kbd{d} and @kbd{C-d}.) @kbd{o} and @kbd{C-o} output the current 914@kbd{d} and @kbd{C-d}. Also, if there are no more undeleted messages in
908message to a file; @kbd{r} starts a reply to it. You can scroll the 915the relevant direction, the delete commands go to the first or last
909current message while remaining in the summary buffer using @key{SPC} 916message, rather than staying on the current message.) @kbd{o} and
910and @key{DEL}. 917@kbd{C-o} output the current message to a FILE; @kbd{r} starts a reply
918to it. You can scroll the current message while remaining in the
919summary buffer using @key{SPC} and @key{DEL}.
911 920
912 The Rmail commands to move between messages also work in the summary 921 The Rmail commands to move between messages also work in the summary
913buffer, but with a twist: they move through the set of messages included 922buffer, but with a twist: they move through the set of messages included
@@ -954,11 +963,15 @@ the screen.
954@findex rmail-summary-wipe 963@findex rmail-summary-wipe
955@kindex q @r{(Rmail summary)} 964@kindex q @r{(Rmail summary)}
956@findex rmail-summary-quit 965@findex rmail-summary-quit
966@kindex b @r{(Rmail summary)}
967@findex rmail-summary-bury
957 When you are finished using the summary, type @kbd{Q} 968 When you are finished using the summary, type @kbd{Q}
958(@code{rmail-summary-wipe}) to delete the summary buffer's window. You 969(@code{rmail-summary-wipe}) to delete the summary buffer's window. You
959can also exit Rmail while in the summary: @kbd{q} 970can also exit Rmail while in the summary: @kbd{q}
960(@code{rmail-summary-quit}) deletes the summary window, then exits from 971(@code{rmail-summary-quit}) deletes the summary window, then exits from
961Rmail by saving the Rmail file and switching to another buffer. 972Rmail by saving the Rmail file and switching to another buffer.
973Alternatively, @kbd{b} (@code{rmail-summary-bury}) simply buries the
974Rmail summary and buffer.
962 975
963@node Rmail Sorting 976@node Rmail Sorting
964@section Sorting the Rmail File 977@section Sorting the Rmail File
@@ -1035,6 +1048,11 @@ of a header field, that whole field is hidden. However, the variable
1035matching that regular expression is shown even if it matches 1048matching that regular expression is shown even if it matches
1036@code{rmail-ignored-headers} too. 1049@code{rmail-ignored-headers} too.
1037 1050
1051@vindex rmail-displayed-headers
1052 As an alternative to the previous two variables, you can set
1053@code{rmail-displayed-headers} instead. If non-@code{nil}, this should
1054be a regular expression specifying which headers to display.
1055
1038@kindex t @r{(Rmail)} 1056@kindex t @r{(Rmail)}
1039@findex rmail-toggle-header 1057@findex rmail-toggle-header
1040 Rmail saves the complete original header before reformatting; to see 1058 Rmail saves the complete original header before reformatting; to see
@@ -1042,7 +1060,7 @@ it, use the @kbd{t} command (@code{rmail-toggle-header}). This
1042discards the reformatted headers of the current message and displays 1060discards the reformatted headers of the current message and displays
1043it with the original header. Repeating @kbd{t} reformats the message 1061it with the original header. Repeating @kbd{t} reformats the message
1044again, which shows only the interesting headers according to the 1062again, which shows only the interesting headers according to the
1045current values of those variable. Selecting the message again also 1063current values of the above variables. Selecting the message again also
1046reformats it if necessary. 1064reformats it if necessary.
1047 1065
1048 When the @kbd{t} command has a prefix argument, a positive argument 1066 When the @kbd{t} command has a prefix argument, a positive argument
@@ -1050,19 +1068,14 @@ means to show the reformatted header, and a zero or negative argument
1050means to show the full header. 1068means to show the full header.
1051 1069
1052@vindex rmail-highlighted-headers 1070@vindex rmail-highlighted-headers
1053 When the terminal supports multiple fonts or colors, Rmail 1071 Rmail highlights certain header fields that are especially
1054highlights certain header fields that are especially interesting---by 1072interesting---by default, the @samp{From} and @samp{Subject} fields.
1055default, the @samp{From} and @samp{Subject} fields. The variable 1073The variable @code{rmail-highlighted-headers} holds a regular expression
1056@code{rmail-highlighted-headers} holds a regular expression that 1074that specifies the header fields to highlight; if it matches the
1057specifies the header fields to highlight; if it matches the beginning 1075beginning of a header field, that whole field is highlighted. To turn
1058of a header field, that whole field is highlighted. 1076off this feature, set @code{rmail-highlighted-headers} to @code{nil}.
1059 1077Customize the face @code{rmail-highlight} to adjust the style of the
1060 If you specify unusual colors for your text foreground and 1078highlighting.
1061background, the colors used for highlighting may not go well with
1062them. If so, specify different colors by setting the variable
1063@code{rmail-highlight-face} to a suitable face. To turn off
1064highlighting entirely in Rmail, set @code{rmail-highlighted-headers}
1065to @code{nil}.
1066 1079
1067 You can highlight and activate URLs in incoming messages by adding 1080 You can highlight and activate URLs in incoming messages by adding
1068the function @code{goto-address-mode} to the hook 1081the function @code{goto-address-mode} to the hook