Download GNU Emacs Manual - Programming Systems Lab

Transcript
Chapter 28: Reading Mail with Rmail
304
l labels RET
C-M-l labels RET
Make a summary of all messages containing any of the labels labels (rmailsummary-by-labels).
The a (rmail-add-label) and k (rmail-kill-label) commands allow you to assign
or remove any label on the current message. If the label argument is empty, it means to
assign or remove the same label most recently assigned or removed.
Once you have given messages labels to classify them as you wish, there are two ways
to use the labels: in moving and in summaries.
The command C-M-n labels RET (rmail-next-labeled-message) moves to the next
message that has one of the labels labels. The argument labels specifies one or more label
names, separated by commas. C-M-p (rmail-previous-labeled-message) is similar, but
moves backwards to previous messages. A numeric argument to either command serves as
a repeat count.
The command C-M-l labels RET (rmail-summary-by-labels) displays a summary
containing only the messages that have at least one of a specified set of labels. The
argument labels is one or more label names, separated by commas. See Section 28.11
[Rmail Summary], page 306, for information on summaries.
If the labels argument to C-M-n, C-M-p or C-M-l is empty, it means to use the last set
of labels specified for any of these commands.
28.9 Rmail Attributes
Some labels such as ‘deleted’ and ‘filed’ have built-in meanings, and Rmail assigns them
to messages automatically at appropriate times; these labels are called attributes. Here is
a list of Rmail attributes:
‘unseen’
Means the message has never been current. Assigned to messages when they
come from an inbox file, and removed when a message is made current. When
you start Rmail, it initially shows the first message that has this attribute.
‘deleted’
Means the message is deleted. Assigned by deletion commands and removed
by undeletion commands (see Section 28.4 [Rmail Deletion], page 299).
‘filed’
Means the message has been copied to some other file. Assigned by the o and
C-o file output commands (see Section 28.7 [Rmail Output], page 302).
‘stored’
Assigned by the w file output command (see Section 28.7 [Rmail Output],
page 302).
‘answered’
Means you have mailed an answer to the message. Assigned by the r command
(rmail-reply). See Section 28.10 [Rmail Reply], page 305.
‘forwarded’
Means you have forwarded the message. Assigned by the f command (rmailforward). See Section 28.10 [Rmail Reply], page 305.
‘edited’
Means you have edited the text of the message within Rmail. See Section 28.15
[Rmail Editing], page 311.