comparison man/rmail.texi @ 61436:6ca0b35309a2

(Rmail Basics): Clarify description of `q' and `b'. (Rmail Deletion): `C-d' in RMAIL buffer does not accept a numeric argument. (Rmail Inbox): Give full name of `rmail-primary-inbox-list'. (Rmail Output): Clarify which statements apply to `o', `C-o' and `w', respectively. (Rmail Labels): Mention `l'. (Rmail Attributes): Correct pxref. Mention `stored' attribute. (Rmail Summary Edit): Describe `j' and RET.
author Luc Teirlinck <teirllm@auburn.edu>
date Sun, 10 Apr 2005 19:25:14 +0000
parents f3b502de01b6
children 8507a91dd6c7
comparison
equal deleted inserted replaced
61435:e23c9743cccb 61436:6ca0b35309a2
82 82
83 @kindex q @r{(Rmail)} 83 @kindex q @r{(Rmail)}
84 @findex rmail-quit 84 @findex rmail-quit
85 @kindex b @r{(Rmail)} 85 @kindex b @r{(Rmail)}
86 @findex rmail-bury 86 @findex rmail-bury
87 You can exit Rmail with @kbd{q} (@code{rmail-quit}); this expunges and 87 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 88 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 89 summary buffer (@pxref{Rmail Summary}), if present. But there is no
90 other buffers, and never happen to switch back, you have exited. (The 90 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 91 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 92 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 93 have changed). @kbd{C-x s} is a good enough way to do this
94 (@pxref{Saving}). 94 (@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.
95 97
96 @node Rmail Scrolling 98 @node Rmail Scrolling
97 @section Scrolling Within a Message 99 @section Scrolling Within a Message
98 100
99 When Rmail displays a message that does not fit on the screen, you 101 When Rmail displays a message that does not fit on the screen, you
253 current message and select another message. @kbd{d} 255 current message and select another message. @kbd{d}
254 (@code{rmail-delete-forward}) moves to the following message, skipping 256 (@code{rmail-delete-forward}) moves to the following message, skipping
255 messages already deleted, while @kbd{C-d} (@code{rmail-delete-backward}) 257 messages already deleted, while @kbd{C-d} (@code{rmail-delete-backward})
256 moves to the previous nondeleted message. If there is no nondeleted 258 moves to the previous nondeleted message. If there is no nondeleted
257 message to move to in the specified direction, the message that was just 259 message to move to in the specified direction, the message that was just
258 deleted remains current. A numeric argument to either command reverses 260 deleted remains current. @kbd{d} with a numeric argument is
259 the direction of motion after deletion. 261 equivalent to @kbd{C-d}.
260 262
261 @vindex rmail-delete-message-hook 263 @vindex rmail-delete-message-hook
262 Whenever Rmail deletes a message, it runs the hook 264 Whenever Rmail deletes a message, it runs the hook
263 @code{rmail-delete-message-hook}. When the hook functions are invoked, 265 @code{rmail-delete-message-hook}. When the hook functions are invoked,
264 the message has been marked deleted, but it is still the current message 266 the message has been marked deleted, but it is still the current message
315 means to use the default inbox. The default inbox is 317 means to use the default inbox. The default inbox is
316 @file{/var/mail/@var{username}}, @file{/usr/spool/mail/@var{username}}, 318 @file{/var/mail/@var{username}}, @file{/usr/spool/mail/@var{username}},
317 or @file{/usr/mail/@var{username}}, depending on your operating system. 319 or @file{/usr/mail/@var{username}}, depending on your operating system.
318 320
319 To see what the default is on your system, use @kbd{C-h v 321 To see what the default is on your system, use @kbd{C-h v
320 rmail-primary-inbox @key{RET}}. You can specify the inbox file(s) for 322 rmail-primary-inbox-list @key{RET}}. You can specify the inbox file(s) for
321 any Rmail file with the command @code{set-rmail-inbox-list}; see 323 any Rmail file with the command @code{set-rmail-inbox-list}; see
322 @ref{Rmail Files}. 324 @ref{Rmail Files}.
323 325
324 There are two reasons for having separate Rmail files and inboxes. 326 There are two reasons for having separate Rmail files and inboxes.
325 327
506 menu: the first variable says which directory to find them in; the 508 menu: the first variable says which directory to find them in; the
507 second says which files in that directory to offer (all those that match 509 second says which files in that directory to offer (all those that match
508 the regular expression). 510 the regular expression).
509 511
510 @vindex rmail-delete-after-output 512 @vindex rmail-delete-after-output
511 Copying a message gives the original copy of the message the 513 Copying a message with @kbd{o} or @kbd{C-o} gives the original copy
512 @samp{filed} attribute, so that @samp{filed} appears in the mode line 514 of the message the @samp{filed} attribute, so that @samp{filed}
513 when such a message is current. If you like to keep just a single copy 515 appears in the mode line when such a message is current. @kbd{w}
514 of every mail message, set the variable @code{rmail-delete-after-output} 516 gives it the @samp{stored} attribute. If you like to keep just a
515 to @code{t}; then the @kbd{o} and @kbd{C-o} commands delete the original 517 single copy of every mail message, set the variable
516 message after copying it. (You can undelete the original afterward if 518 @code{rmail-delete-after-output} to @code{t}; then the @kbd{o},
517 you wish.) 519 @kbd{C-o} and @kbd{w} commands delete the original message after
520 copying it. (You can undelete the original afterward if you wish.)
518 521
519 Copying messages into files in system inbox format uses the header 522 Copying messages into files in system inbox format uses the header
520 fields that are displayed in Rmail at the time. Thus, if you use the 523 fields that are displayed in Rmail at the time. Thus, if you use the
521 @kbd{t} command to view the entire header and then copy the message, the 524 @kbd{t} command to view the entire header and then copy the message, the
522 entire header is copied. @xref{Rmail Display}. 525 entire header is copied. @xref{Rmail Display}.
565 Move to the next message that has one of the labels @var{labels} 568 Move to the next message that has one of the labels @var{labels}
566 (@code{rmail-next-labeled-message}). 569 (@code{rmail-next-labeled-message}).
567 @item C-M-p @var{labels} @key{RET} 570 @item C-M-p @var{labels} @key{RET}
568 Move to the previous message that has one of the labels @var{labels} 571 Move to the previous message that has one of the labels @var{labels}
569 (@code{rmail-previous-labeled-message}). 572 (@code{rmail-previous-labeled-message}).
570 @item C-M-l @var{labels} @key{RET} 573 @item l @var{labels} @key{RET}
574 @itemx C-M-l @var{labels} @key{RET}
571 Make a summary of all messages containing any of the labels @var{labels} 575 Make a summary of all messages containing any of the labels @var{labels}
572 (@code{rmail-summary-by-labels}). 576 (@code{rmail-summary-by-labels}).
573 @end table 577 @end table
574 578
575 @kindex a @r{(Rmail)} 579 @kindex a @r{(Rmail)}
624 @item deleted 628 @item deleted
625 Means the message is deleted. Assigned by deletion commands and 629 Means the message is deleted. Assigned by deletion commands and
626 removed by undeletion commands (@pxref{Rmail Deletion}). 630 removed by undeletion commands (@pxref{Rmail Deletion}).
627 @item filed 631 @item filed
628 Means the message has been copied to some other file. Assigned by the 632 Means the message has been copied to some other file. Assigned by the
629 file output commands (@pxref{Rmail Files}). 633 @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}).
630 @item answered 636 @item answered
631 Means you have mailed an answer to the message. Assigned by the @kbd{r} 637 Means you have mailed an answer to the message. Assigned by the @kbd{r}
632 command (@code{rmail-reply}). @xref{Rmail Reply}. 638 command (@code{rmail-reply}). @xref{Rmail Reply}.
633 @item forwarded 639 @item forwarded
634 Means you have forwarded the message. Assigned by the @kbd{f} command 640 Means you have forwarded the message. Assigned by the @kbd{f} command
910 Move to previous line and select its message. 916 Move to previous line and select its message.
911 @item > 917 @item >
912 Move to the last line, and select its message. 918 Move to the last line, and select its message.
913 @item < 919 @item <
914 Move to the first line, and select its message. 920 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.
915 @item M-s @var{pattern} @key{RET} 927 @item M-s @var{pattern} @key{RET}
916 Search through messages for @var{pattern} starting with the current 928 Search through messages for @var{pattern} starting with the current
917 message; select the message found, and move point in the summary buffer 929 message; select the message found, and move point in the summary buffer
918 to that message's line. 930 to that message's line.
919 @end table 931 @end table
1261 A remote mailbox to be accessed via POP3 protocol. @var{User} 1273 A remote mailbox to be accessed via POP3 protocol. @var{User}
1262 specifies the remote user name to use, @var{pass} may be used to 1274 specifies the remote user name to use, @var{pass} may be used to
1263 specify the user password, @var{host-or-file-name} is the name or IP 1275 specify the user password, @var{host-or-file-name} is the name or IP
1264 address of the remote mail server to connect to; e.g., 1276 address of the remote mail server to connect to; e.g.,
1265 @code{pop://smith:guessme@@remote.server.net}. 1277 @code{pop://smith:guessme@@remote.server.net}.
1266 1278
1267 @item imap 1279 @item imap
1268 A remote mailbox to be accessed via IMAP4 protocol. @var{User} 1280 A remote mailbox to be accessed via IMAP4 protocol. @var{User}
1269 specifies the remote user name to use, @var{pass} may be used to 1281 specifies the remote user name to use, @var{pass} may be used to
1270 specify the user password, @var{host-or-file-name} is the name or IP 1282 specify the user password, @var{host-or-file-name} is the name or IP
1271 address of the remote mail server to connect to; 1283 address of the remote mail server to connect to;
1285 @code{movemail} to use. If that is a string, it specifies the 1297 @code{movemail} to use. If that is a string, it specifies the
1286 absolute file name of the @code{movemail} executable. If it is 1298 absolute file name of the @code{movemail} executable. If it is
1287 @code{nil}, Rmail searches for @code{movemail} in the directories 1299 @code{nil}, Rmail searches for @code{movemail} in the directories
1288 listed in @code{rmail-movemail-search-path} and @code{exec-path}, then 1300 listed in @code{rmail-movemail-search-path} and @code{exec-path}, then
1289 in @code{exec-directory}. 1301 in @code{exec-directory}.
1290 1302
1291 @node Remote Mailboxes 1303 @node Remote Mailboxes
1292 @section Retrieving Mail from Remote Mailboxes 1304 @section Retrieving Mail from Remote Mailboxes
1293 @pindex movemail 1305 @pindex movemail
1294 1306
1295 Some sites use a method called POP for accessing users' inbox data 1307 Some sites use a method called POP for accessing users' inbox data
1315 server and @var{username} is the user name on that server. 1327 server and @var{username} is the user name on that server.
1316 Additionally, you may specify the password in the mailbox @acronym{URL}: 1328 Additionally, you may specify the password in the mailbox @acronym{URL}:
1317 @samp{pop://@var{username}:@var{password}@@@var{hostname}}. In this 1329 @samp{pop://@var{username}:@var{password}@@@var{hostname}}. In this
1318 case, @var{password} takes preference over the one set by 1330 case, @var{password} takes preference over the one set by
1319 @code{rmail-remote-password}. This is especially useful if you have 1331 @code{rmail-remote-password}. This is especially useful if you have
1320 several remote mailboxes with different passwords. 1332 several remote mailboxes with different passwords.
1321 1333
1322 For backward compatibility Rmail also supports two alternative ways 1334 For backward compatibility Rmail also supports two alternative ways
1323 of specifying remote POP mailboxes. Specifying inbox name in the form 1335 of specifying remote POP mailboxes. Specifying inbox name in the form
1324 @samp{po:@var{username}:@var{hostname}} is equivalent to 1336 @samp{po:@var{username}:@var{hostname}} is equivalent to
1325 @samp{pop://@var{username}@@@var{hostname}}. Alternatively, you may set 1337 @samp{pop://@var{username}@@@var{hostname}}. Alternatively, you may set
1326 a ``file name'' of @samp{po:@var{username}} in the inbox list of an 1338 a ``file name'' of @samp{po:@var{username}} in the inbox list of an
1327 Rmail file. @code{Movemail} will handle such a name by opening a 1339 Rmail file. @code{Movemail} will handle such a name by opening a
1328 connection to the POP server. The @env{MAILHOST} environment variable 1340 connection to the POP server. The @env{MAILHOST} environment variable
1329 will in this case specify the machine to look for the server on. 1341 will in this case specify the machine to look for the server on.
1331 @cindex IMAP mailboxes 1343 @cindex IMAP mailboxes
1332 Another method for accessing remote mailboxes is IMAP. This method is 1344 Another method for accessing remote mailboxes is IMAP. This method is
1333 supported only by the @code{mailutils movemail}. To specify an IMAP 1345 supported only by the @code{mailutils movemail}. To specify an IMAP
1334 mailbox in the inbox list, use the following mailbox @acronym{URL}: 1346 mailbox in the inbox list, use the following mailbox @acronym{URL}:
1335 @samp{imap://@var{username}[:@var{password}]@@@var{hostname}}. The 1347 @samp{imap://@var{username}[:@var{password}]@@@var{hostname}}. The
1336 @var{password} part is optional, as descrbed above. 1348 @var{password} part is optional, as described above.
1337 1349
1338 @vindex rmail-remote-password 1350 @vindex rmail-remote-password
1339 @vindex rmail-remote-password-required 1351 @vindex rmail-remote-password-required
1340 @vindex rmail-pop-password 1352 @vindex rmail-pop-password
1341 @vindex rmail-pop-password-required 1353 @vindex rmail-pop-password-required
1342 Accessing a remote mailbox may require a password. Rmail uses the 1354 Accessing a remote mailbox may require a password. Rmail uses the
1343 following algorithm to retrieve it: 1355 following algorithm to retrieve it:
1344 1356
1345 @enumerate 1357 @enumerate
1346 @item 1358 @item
1347 If the @var{password} is present in mailbox URL (see above), it is 1359 If the @var{password} is present in mailbox URL (see above), it is
1348 used. 1360 used.
1349 @item 1361 @item
1350 If the variable @code{rmail-remote-password} is non-@code{nil}, its 1362 If the variable @code{rmail-remote-password} is non-@code{nil}, its
1351 value is used. 1363 value is used.
1352 @item 1364 @item
1353 Otherwise, if @code{rmail-remote-password-required} is non-@code{nil}, 1365 Otherwise, if @code{rmail-remote-password-required} is non-@code{nil},
1354 then Rmail will ask you for the password to use. 1366 then Rmail will ask you for the password to use.