comparison doc/emacs/rmail.texi @ 102411:76ba505784ee

(Rmail Basics): Add reference to sorting. (Rmail Scrolling, Rmail Motion, Rmail Reply, Rmail Display): Minor re-wordings. (Rmail Deletion): Expunging is not the only way to change the numbers. (Rmail Labels): Labels can also be used in sorting. (Rmail Summary Edit): Mention rmail-summary-next-same-subject.
author Glenn Morris <rgm@gnu.org>
date Thu, 05 Mar 2009 07:08:36 +0000
parents 6afe784c0226
children 1d1d5d9bd884
comparison
equal deleted inserted replaced
102410:6afe784c0226 102411:76ba505784ee
57 message. You can also create multiple Rmail files and use Rmail to move 57 message. You can also create multiple Rmail files and use Rmail to move
58 messages between them. 58 messages between them.
59 59
60 @cindex message number 60 @cindex message number
61 Within the Rmail file, messages are normally arranged sequentially in 61 Within the Rmail file, messages are normally arranged sequentially in
62 order of receipt; you can specify other ways to sort them. Messages are 62 order of receipt; you can specify other ways to sort them (@pxref{Rmail
63 identified by consecutive integers which are their @dfn{message numbers}. 63 Sorting}). Messages are identified by consecutive integers which are
64 The number of the current message is displayed in Rmail's mode line, 64 their @dfn{message numbers}. The number of the current message is
65 followed by the total number of messages in the file. You can move to 65 displayed in Rmail's mode line, followed by the total number of messages
66 a message by specifying its message number with the @kbd{j} key 66 in the file. You can move to a message by specifying its message number
67 (@pxref{Rmail Motion}). 67 with the @kbd{j} key (@pxref{Rmail Motion}).
68 68
69 @kindex s @r{(Rmail)} 69 @kindex s @r{(Rmail)}
70 @findex rmail-expunge-and-save 70 @findex rmail-expunge-and-save
71 Following the usual conventions of Emacs, changes in an Rmail file 71 Following the usual conventions of Emacs, changes in an Rmail file
72 become permanent only when you save the file. You can save it with 72 become permanent only when you save the file. You can save it with
120 @findex rmail-beginning-of-message 120 @findex rmail-beginning-of-message
121 @findex rmail-end-of-message 121 @findex rmail-end-of-message
122 The command @kbd{.} (@code{rmail-beginning-of-message}) scrolls back to the 122 The command @kbd{.} (@code{rmail-beginning-of-message}) scrolls back to the
123 beginning of the selected message. This is not quite the same as @kbd{M-<}: 123 beginning of the selected message. This is not quite the same as @kbd{M-<}:
124 for one thing, it does not set the mark; for another, it resets the buffer 124 for one thing, it does not set the mark; for another, it resets the buffer
125 boundaries to the current message if you have changed them. Similarly, 125 boundaries of the current message if you have changed them. Similarly,
126 the command @kbd{/} (@code{rmail-end-of-message}) scrolls forward to the end 126 the command @kbd{/} (@code{rmail-end-of-message}) scrolls forward to the end
127 of the selected message. 127 of the selected message.
128 @c The comment about buffer boundaries is still true in mbox Rmail, if 128 @c The comment about buffer boundaries is still true in mbox Rmail, if
129 @c less likely to be relevant. 129 @c less likely to be relevant.
130 130
223 The @kbd{C-c C-n} (@code{rmail-next-same-subject}) command moves to 223 The @kbd{C-c C-n} (@code{rmail-next-same-subject}) command moves to
224 the next message with the same subject as the current one. A prefix 224 the next message with the same subject as the current one. A prefix
225 argument serves as a repeat count. With a negative argument, this 225 argument serves as a repeat count. With a negative argument, this
226 command moves backward, acting like @kbd{C-c C-p} 226 command moves backward, acting like @kbd{C-c C-p}
227 (@code{rmail-previous-same-subject}). When comparing subjects, these 227 (@code{rmail-previous-same-subject}). When comparing subjects, these
228 commands ignore the typical prefixes added to the subjects of replies. 228 commands ignore the prefixes typically added to the subjects of replies.
229 229
230 @kindex j @r{(Rmail)} 230 @kindex j @r{(Rmail)}
231 @kindex > @r{(Rmail)} 231 @kindex > @r{(Rmail)}
232 @kindex < @r{(Rmail)} 232 @kindex < @r{(Rmail)}
233 @findex rmail-show-message 233 @findex rmail-show-message
248 present; but it still has its place in the Rmail file, and still has its 248 present; but it still has its place in the Rmail file, and still has its
249 message number. 249 message number.
250 250
251 @cindex expunging (Rmail) 251 @cindex expunging (Rmail)
252 @dfn{Expunging} the Rmail file actually removes the deleted messages. 252 @dfn{Expunging} the Rmail file actually removes the deleted messages.
253 The remaining messages are renumbered consecutively. Expunging is the only 253 The remaining messages are renumbered consecutively.
254 action that changes the message number of any message, except for 254 @c The following is neither true (there is also unforward, sorting,
255 undigestifying (@pxref{Rmail Digest}). 255 @c etc), nor especially interesting.
256 @c Expunging is the only action that changes the message number of any
257 @c message, except for undigestifying (@pxref{Rmail Digest}).
256 258
257 @table @kbd 259 @table @kbd
258 @item d 260 @item d
259 Delete the current message, and move to the next nondeleted message 261 Delete the current message, and move to the next nondeleted message
260 (@code{rmail-delete-forward}). 262 (@code{rmail-delete-forward}).
610 label on the current message. If the @var{label} argument is empty, it 612 label on the current message. If the @var{label} argument is empty, it
611 means to assign or remove the same label most recently assigned or 613 means to assign or remove the same label most recently assigned or
612 removed. 614 removed.
613 615
614 Once you have given messages labels to classify them as you wish, there 616 Once you have given messages labels to classify them as you wish, there
615 are two ways to use the labels: in moving and in summaries. 617 are three ways to use the labels: in moving, in summaries, and in sorting.
616 618
617 @kindex C-M-n @r{(Rmail)} 619 @kindex C-M-n @r{(Rmail)}
618 @kindex C-M-p @r{(Rmail)} 620 @kindex C-M-p @r{(Rmail)}
619 @findex rmail-next-labeled-message 621 @findex rmail-next-labeled-message
620 @findex rmail-previous-labeled-message 622 @findex rmail-previous-labeled-message
633 @xref{Rmail Summary}, for information on summaries. 635 @xref{Rmail Summary}, for information on summaries.
634 636
635 If the @var{labels} argument to @kbd{C-M-n}, @kbd{C-M-p} or 637 If the @var{labels} argument to @kbd{C-M-n}, @kbd{C-M-p} or
636 @kbd{C-M-l} is empty, it means to use the last set of labels specified 638 @kbd{C-M-l} is empty, it means to use the last set of labels specified
637 for any of these commands. 639 for any of these commands.
640
641 @xref{Rmail Sorting}, for information on sorting messages with labels.
638 642
639 @node Rmail Attributes 643 @node Rmail Attributes
640 @section Rmail Attributes 644 @section Rmail Attributes
641 645
642 Some labels such as @samp{deleted} and @samp{filed} have built-in 646 Some labels such as @samp{deleted} and @samp{filed} have built-in
779 783
780 @findex rmail-resend 784 @findex rmail-resend
781 @dfn{Resending} is an alternative similar to forwarding; the 785 @dfn{Resending} is an alternative similar to forwarding; the
782 difference is that resending sends a message that is ``from'' the 786 difference is that resending sends a message that is ``from'' the
783 original sender, just as it reached you---with a few added header fields 787 original sender, just as it reached you---with a few added header fields
784 @samp{Resent-From} and @samp{Resent-To} to indicate that it came via 788 (@samp{Resent-From} and @samp{Resent-To}) to indicate that it came via
785 you. To resend a message in Rmail, use @kbd{C-u f}. (@kbd{f} runs 789 you. To resend a message in Rmail, use @kbd{C-u f}. (@kbd{f} runs
786 @code{rmail-forward}, which invokes @code{rmail-resend} if you provide a 790 @code{rmail-forward}, which invokes @code{rmail-resend} if you provide a
787 numeric argument.) 791 numeric argument.)
788 792
789 @kindex m @r{(Rmail)} 793 @kindex m @r{(Rmail)}
995 comma-separated list of labels. A prefix argument acts as a repeat 999 comma-separated list of labels. A prefix argument acts as a repeat
996 count. 1000 count.
997 @item C-M-p @var{labels} @key{RET} 1001 @item C-M-p @var{labels} @key{RET}
998 Move to the previous message with at least one of the specified labels 1002 Move to the previous message with at least one of the specified labels
999 (@code{rmail-summary-previous-labeled-message}). 1003 (@code{rmail-summary-previous-labeled-message}).
1004 @item C-c C-n @key{RET}
1005 Move to the next message with the same subject as the current message
1006 (@code{rmail-summary-next-same-subject}). A prefix argument acts as a
1007 repeat count.
1008 @item C-c C-p @key{RET}
1009 Move to the previous message with the same subject as the current message
1010 (@code{rmail-summary-previous-same-subject}).
1000 @end table 1011 @end table
1001 1012
1002 @vindex rmail-redisplay-summary 1013 @vindex rmail-redisplay-summary
1003 Deletion, undeletion, and getting new mail, and even selection of a 1014 Deletion, undeletion, and getting new mail, and even selection of a
1004 different message all update the summary buffer when you do them in the 1015 different message all update the summary buffer when you do them in the
1115 @code{rmail-displayed-headers} instead. If non-@code{nil}, this should 1126 @code{rmail-displayed-headers} instead. If non-@code{nil}, this should
1116 be a regular expression specifying which headers to display. 1127 be a regular expression specifying which headers to display.
1117 1128
1118 @kindex t @r{(Rmail)} 1129 @kindex t @r{(Rmail)}
1119 @findex rmail-toggle-header 1130 @findex rmail-toggle-header
1120 Rmail saves the complete original header before reformatting; to see 1131 To see the complete, original header, use the @kbd{t} command
1121 it, use the @kbd{t} command (@code{rmail-toggle-header}). This 1132 (@code{rmail-toggle-header}). This discards the reformatted headers of
1122 discards the reformatted headers of the current message and displays 1133 the current message and displays it with the original header. Repeating
1123 it with the original header. Repeating @kbd{t} reformats the message 1134 @kbd{t} reformats the message again, which shows only the interesting
1124 again, which shows only the interesting headers according to the 1135 headers according to the current values of the above variables.
1125 current values of the above variables. Selecting the message again also 1136 Selecting the message again also reformats it if necessary.
1126 reformats it if necessary.
1127 1137
1128 When the @kbd{t} command has a prefix argument, a positive argument 1138 When the @kbd{t} command has a prefix argument, a positive argument
1129 means to show the reformatted header, and a zero or negative argument 1139 means to show the reformatted header, and a zero or negative argument
1130 means to show the full header. 1140 means to show the full header.
1131 1141