84 |
@findex rmail-quit |
@findex rmail-quit |
85 |
@kindex b @r{(Rmail)} |
@kindex b @r{(Rmail)} |
86 |
@findex rmail-bury |
@findex rmail-bury |
87 |
You can exit Rmail with @kbd{q} (@code{rmail-quit}); this expunges and |
You can exit Rmail with @kbd{q} (@code{rmail-quit}); this expunges |
88 |
saves the Rmail file and then switches to another buffer. But there is |
and saves the Rmail file, then buries the Rmail buffer as well as its |
89 |
no need to ``exit'' formally. If you switch from Rmail to editing in |
summary buffer (@pxref{Rmail Summary}), if present. But there is no |
90 |
other buffers, and never happen to switch back, you have exited. (The |
need to ``exit'' formally. If you switch from Rmail to editing in |
91 |
Rmail command @kbd{b}, @code{rmail-bury}, does this for you.) Just make |
other buffers, and never happen to switch back, you have exited. Just |
92 |
sure to save the Rmail file eventually (like any other file you have |
make sure to save the Rmail file eventually (like any other file you |
93 |
changed). @kbd{C-x s} is a good enough way to do this |
have changed). @kbd{C-x s} is a good enough way to do this |
94 |
(@pxref{Saving}). |
(@pxref{Saving}). The Rmail command @kbd{b}, @code{rmail-bury}, |
95 |
|
buries the Rmail buffer and its summary buffer without expunging and |
96 |
|
saving the Rmail file. |
97 |
|
|
98 |
@node Rmail Scrolling |
@node Rmail Scrolling |
99 |
@section Scrolling Within a Message |
@section Scrolling Within a Message |
257 |
messages already deleted, while @kbd{C-d} (@code{rmail-delete-backward}) |
messages already deleted, while @kbd{C-d} (@code{rmail-delete-backward}) |
258 |
moves to the previous nondeleted message. If there is no nondeleted |
moves to the previous nondeleted message. If there is no nondeleted |
259 |
message to move to in the specified direction, the message that was just |
message to move to in the specified direction, the message that was just |
260 |
deleted remains current. A numeric argument to either command reverses |
deleted remains current. @kbd{d} with a numeric argument is |
261 |
the direction of motion after deletion. |
equivalent to @kbd{C-d}. |
262 |
|
|
263 |
@vindex rmail-delete-message-hook |
@vindex rmail-delete-message-hook |
264 |
Whenever Rmail deletes a message, it runs the hook |
Whenever Rmail deletes a message, it runs the hook |
319 |
or @file{/usr/mail/@var{username}}, depending on your operating system. |
or @file{/usr/mail/@var{username}}, depending on your operating system. |
320 |
|
|
321 |
To see what the default is on your system, use @kbd{C-h v |
To see what the default is on your system, use @kbd{C-h v |
322 |
rmail-primary-inbox @key{RET}}. You can specify the inbox file(s) for |
rmail-primary-inbox-list @key{RET}}. You can specify the inbox file(s) for |
323 |
any Rmail file with the command @code{set-rmail-inbox-list}; see |
any Rmail file with the command @code{set-rmail-inbox-list}; see |
324 |
@ref{Rmail Files}. |
@ref{Rmail Files}. |
325 |
|
|
510 |
the regular expression). |
the regular expression). |
511 |
|
|
512 |
@vindex rmail-delete-after-output |
@vindex rmail-delete-after-output |
513 |
Copying a message gives the original copy of the message the |
Copying a message with @kbd{o} or @kbd{C-o} gives the original copy |
514 |
@samp{filed} attribute, so that @samp{filed} appears in the mode line |
of the message the @samp{filed} attribute, so that @samp{filed} |
515 |
when such a message is current. If you like to keep just a single copy |
appears in the mode line when such a message is current. @kbd{w} |
516 |
of every mail message, set the variable @code{rmail-delete-after-output} |
gives it the @samp{stored} attribute. If you like to keep just a |
517 |
to @code{t}; then the @kbd{o} and @kbd{C-o} commands delete the original |
single copy of every mail message, set the variable |
518 |
message after copying it. (You can undelete the original afterward if |
@code{rmail-delete-after-output} to @code{t}; then the @kbd{o}, |
519 |
you wish.) |
@kbd{C-o} and @kbd{w} commands delete the original message after |
520 |
|
copying it. (You can undelete the original afterward if you wish.) |
521 |
|
|
522 |
Copying messages into files in system inbox format uses the header |
Copying messages into files in system inbox format uses the header |
523 |
fields that are displayed in Rmail at the time. Thus, if you use the |
fields that are displayed in Rmail at the time. Thus, if you use the |
570 |
@item C-M-p @var{labels} @key{RET} |
@item C-M-p @var{labels} @key{RET} |
571 |
Move to the previous message that has one of the labels @var{labels} |
Move to the previous message that has one of the labels @var{labels} |
572 |
(@code{rmail-previous-labeled-message}). |
(@code{rmail-previous-labeled-message}). |
573 |
@item C-M-l @var{labels} @key{RET} |
@item l @var{labels} @key{RET} |
574 |
|
@itemx C-M-l @var{labels} @key{RET} |
575 |
Make a summary of all messages containing any of the labels @var{labels} |
Make a summary of all messages containing any of the labels @var{labels} |
576 |
(@code{rmail-summary-by-labels}). |
(@code{rmail-summary-by-labels}). |
577 |
@end table |
@end table |
630 |
removed by undeletion commands (@pxref{Rmail Deletion}). |
removed by undeletion commands (@pxref{Rmail Deletion}). |
631 |
@item filed |
@item filed |
632 |
Means the message has been copied to some other file. Assigned by the |
Means the message has been copied to some other file. Assigned by the |
633 |
file output commands (@pxref{Rmail Files}). |
@kbd{o} and @kbd{C-o} file output commands (@pxref{Rmail Output}). |
634 |
|
@item stored |
635 |
|
Assigned by the @kbd{w} file output command (@pxref{Rmail Output}). |
636 |
@item answered |
@item answered |
637 |
Means you have mailed an answer to the message. Assigned by the @kbd{r} |
Means you have mailed an answer to the message. Assigned by the @kbd{r} |
638 |
command (@code{rmail-reply}). @xref{Rmail Reply}. |
command (@code{rmail-reply}). @xref{Rmail Reply}. |
918 |
Move to the last line, and select its message. |
Move to the last line, and select its message. |
919 |
@item < |
@item < |
920 |
Move to the first line, and select its message. |
Move to the first line, and select its message. |
921 |
|
@item j |
922 |
|
@itemx @key{RET} |
923 |
|
Select the message on the current line (ensuring that the RMAIL buffer |
924 |
|
appears on the screen). With argument @var{n}, select message number |
925 |
|
@var{n} and move to its line in the summary buffer; this signals an |
926 |
|
error if the message is not listed in the summary buffer. |
927 |
@item M-s @var{pattern} @key{RET} |
@item M-s @var{pattern} @key{RET} |
928 |
Search through messages for @var{pattern} starting with the current |
Search through messages for @var{pattern} starting with the current |
929 |
message; select the message found, and move point in the summary buffer |
message; select the message found, and move point in the summary buffer |
1275 |
specify the user password, @var{host-or-file-name} is the name or IP |
specify the user password, @var{host-or-file-name} is the name or IP |
1276 |
address of the remote mail server to connect to; e.g., |
address of the remote mail server to connect to; e.g., |
1277 |
@code{pop://smith:guessme@@remote.server.net}. |
@code{pop://smith:guessme@@remote.server.net}. |
1278 |
|
|
1279 |
@item imap |
@item imap |
1280 |
A remote mailbox to be accessed via IMAP4 protocol. @var{User} |
A remote mailbox to be accessed via IMAP4 protocol. @var{User} |
1281 |
specifies the remote user name to use, @var{pass} may be used to |
specifies the remote user name to use, @var{pass} may be used to |
1299 |
@code{nil}, Rmail searches for @code{movemail} in the directories |
@code{nil}, Rmail searches for @code{movemail} in the directories |
1300 |
listed in @code{rmail-movemail-search-path} and @code{exec-path}, then |
listed in @code{rmail-movemail-search-path} and @code{exec-path}, then |
1301 |
in @code{exec-directory}. |
in @code{exec-directory}. |
1302 |
|
|
1303 |
@node Remote Mailboxes |
@node Remote Mailboxes |
1304 |
@section Retrieving Mail from Remote Mailboxes |
@section Retrieving Mail from Remote Mailboxes |
1305 |
@pindex movemail |
@pindex movemail |
1329 |
@samp{pop://@var{username}:@var{password}@@@var{hostname}}. In this |
@samp{pop://@var{username}:@var{password}@@@var{hostname}}. In this |
1330 |
case, @var{password} takes preference over the one set by |
case, @var{password} takes preference over the one set by |
1331 |
@code{rmail-remote-password}. This is especially useful if you have |
@code{rmail-remote-password}. This is especially useful if you have |
1332 |
several remote mailboxes with different passwords. |
several remote mailboxes with different passwords. |
1333 |
|
|
1334 |
For backward compatibility Rmail also supports two alternative ways |
For backward compatibility Rmail also supports two alternative ways |
1335 |
of specifying remote POP mailboxes. Specifying inbox name in the form |
of specifying remote POP mailboxes. Specifying inbox name in the form |
1336 |
@samp{po:@var{username}:@var{hostname}} is equivalent to |
@samp{po:@var{username}:@var{hostname}} is equivalent to |
1337 |
@samp{pop://@var{username}@@@var{hostname}}. Alternatively, you may set |
@samp{pop://@var{username}@@@var{hostname}}. Alternatively, you may set |
1338 |
a ``file name'' of @samp{po:@var{username}} in the inbox list of an |
a ``file name'' of @samp{po:@var{username}} in the inbox list of an |
1339 |
Rmail file. @code{Movemail} will handle such a name by opening a |
Rmail file. @code{Movemail} will handle such a name by opening a |
1345 |
supported only by the @code{mailutils movemail}. To specify an IMAP |
supported only by the @code{mailutils movemail}. To specify an IMAP |
1346 |
mailbox in the inbox list, use the following mailbox @acronym{URL}: |
mailbox in the inbox list, use the following mailbox @acronym{URL}: |
1347 |
@samp{imap://@var{username}[:@var{password}]@@@var{hostname}}. The |
@samp{imap://@var{username}[:@var{password}]@@@var{hostname}}. The |
1348 |
@var{password} part is optional, as descrbed above. |
@var{password} part is optional, as described above. |
1349 |
|
|
1350 |
@vindex rmail-remote-password |
@vindex rmail-remote-password |
1351 |
@vindex rmail-remote-password-required |
@vindex rmail-remote-password-required |
1355 |
following algorithm to retrieve it: |
following algorithm to retrieve it: |
1356 |
|
|
1357 |
@enumerate |
@enumerate |
1358 |
@item |
@item |
1359 |
If the @var{password} is present in mailbox URL (see above), it is |
If the @var{password} is present in mailbox URL (see above), it is |
1360 |
used. |
used. |
1361 |
@item |
@item |
1362 |
If the variable @code{rmail-remote-password} is non-@code{nil}, its |
If the variable @code{rmail-remote-password} is non-@code{nil}, its |
1363 |
value is used. |
value is used. |
1364 |
@item |
@item |