Mercurial > hg > xemacs-beta
comparison man/vm.texi @ 10:49a24b4fd526 r19-15b6
Import from CVS: tag r19-15b6
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:47:52 +0200 |
parents | 376386a54a3c |
children | 859a2309aef8 |
comparison
equal
deleted
inserted
replaced
9:6f2bbbbbe05a | 10:49a24b4fd526 |
---|---|
1 \input texinfo @comment -*-Texinfo-*- | 1 \input texinfo @comment -*-Texinfo-*- |
2 @setfilename ../info/vm.info | 2 @setfilename vm.info |
3 @settitle VM User's Manual | 3 @settitle VM User's Manual |
4 @iftex | 4 @iftex |
5 @finalout | 5 @finalout |
6 @end iftex | 6 @end iftex |
7 @c @setchapternewpage odd % For book style double sided manual. | 7 @c @setchapternewpage odd % For book style double sided manual. |
47 are preserved on all copies. | 47 are preserved on all copies. |
48 | 48 |
49 @end titlepage | 49 @end titlepage |
50 @page | 50 @page |
51 @ifinfo | 51 @ifinfo |
52 @node Top, Introduction, (dir), (dir) | 52 @node Top, Introduction,, (DIR) |
53 | 53 |
54 This manual documents the VM mail reader, a Lisp program which runs as a | 54 This manual documents the VM mail reader, a Lisp program which runs as a |
55 subsystem under Emacs. The manual is divided into the following | 55 subsystem under Emacs. The manual is divided into the following |
56 chapters. | 56 chapters. |
57 | 57 |
68 * Undoing:: How to undo changes to message attributes. | 68 * Undoing:: How to undo changes to message attributes. |
69 * Grouping Messages:: How to make VM present similar message together. | 69 * Grouping Messages:: How to make VM present similar message together. |
70 * Reading Digests:: How to read digests under VM. | 70 * Reading Digests:: How to read digests under VM. |
71 * Summaries:: How to view and customize the summary of a folder. | 71 * Summaries:: How to view and customize the summary of a folder. |
72 * Miscellaneous:: Various customization variables undescribed elsewhere. | 72 * Miscellaneous:: Various customization variables undescribed elsewhere. |
73 * License:: The GNU General Public License | |
74 | 73 |
75 Indices: | 74 Indices: |
76 | 75 |
77 * Key Index:: Menus of command keys and their references. | 76 * Key Index:: Menus of command keys and their references. |
78 * Command Index:: Menus of commands and their references. | 77 * Command Index:: Menus of commands and their references. |
79 * Variable Index:: Menus of variables and their references. | 78 * Variable Index:: Menus of variables and their references. |
80 @end menu | 79 @end menu |
81 @end ifinfo | 80 @end ifinfo |
82 | 81 |
83 @node License, , , Top | 82 @node License, Introduction, Variable Index, Top |
84 @unnumbered License | 83 @unnumbered License |
85 | 84 |
86 @unnumbered GNU GENERAL PUBLIC LICENSE | 85 @unnumbered GNU GENERAL PUBLIC LICENSE |
87 @center Version 1, February 1989 | 86 @center Version 1, February 1989 |
88 @cindex license to copy Emacs | 87 @cindex license to copy Emacs |
381 Ty Coon, President of Vice | 380 Ty Coon, President of Vice |
382 @end example | 381 @end example |
383 | 382 |
384 That's all there is to it! | 383 That's all there is to it! |
385 | 384 |
386 @node Introduction, Starting Up, Top, Top | 385 @node Introduction, Starting Up, License, Top |
387 @unnumbered Introduction | 386 @unnumbered Introduction |
388 | 387 |
389 VM (View Mail) is an Emacs subsystem that allows UNIX mail to be read | 388 VM (View Mail) is an Emacs subsystem that allows UNIX mail to be read |
390 and disposed of within Emacs. Commands exist to do the normal things | 389 and disposed of within Emacs. Commands exist to do the normal things |
391 expected of a mail user agent, such as generating replies, saving | 390 expected of a mail user agent, such as generating replies, saving |
432 @dfn{expunging} and it is accomplished by typing @kbd{#} | 431 @dfn{expunging} and it is accomplished by typing @kbd{#} |
433 (@code{vm-expunge-folder}). The message is still present in the on-disk | 432 (@code{vm-expunge-folder}). The message is still present in the on-disk |
434 version of the folder until the folder is saved.@refill | 433 version of the folder until the folder is saved.@refill |
435 | 434 |
436 Typing @kbd{h} (@code{vm-summarize}) causes VM to pop up a window | 435 Typing @kbd{h} (@code{vm-summarize}) causes VM to pop up a window |
437 containing a summary of the contents of the current folder. The summary is | 436 containing a summary of contents of the current folder. The summary is |
438 presented one line per message, by message number, listing each message's | 437 presented one line per message, by message number, listing each message's |
439 author, date sent, line and byte count, and subject. Also, various | 438 author, date sent, line and byte count, and subject. Also various |
440 letters appear beside the message number to indicate that a message is | 439 letters appear beside the message number to indicate that a message is |
441 new, unread, flagged for deletion, etc. An arrow @samp{->} appears to | 440 new, unread, flagged for deletion, etc. An arrow @samp{->} appears to |
442 the left of the line summarizing the current message. The summary | 441 the left of the line summarizing the current message. The summary |
443 format is user configurable, @pxref{Summaries}.@refill | 442 format is user configurable, @pxref{Summaries}.@refill |
444 | 443 |
486 any of these methods), it attempts to load the file @file{~/.vm}. If | 485 any of these methods), it attempts to load the file @file{~/.vm}. If |
487 present this file should contain Lisp code, much like the @file{.emacs} | 486 present this file should contain Lisp code, much like the @file{.emacs} |
488 file. Since VM has in excess of forty configuration variables, use of | 487 file. Since VM has in excess of forty configuration variables, use of |
489 the @file{~/.vm} can considerably reduce clutter in the @file{.emacs} | 488 the @file{~/.vm} can considerably reduce clutter in the @file{.emacs} |
490 file. You can force the reloading of this file on demand by typing | 489 file. You can force the reloading of this file on demand by typing |
491 @kbd{L} (@code{vm-load-init-file}) from within VM.@refill | 490 @kbd{L} from within VM.@refill |
492 | 491 |
493 @findex vm | 492 @findex vm |
494 @vindex vm-primary-inbox | 493 @vindex vm-primary-inbox |
495 @kbd{M-x vm} causes VM to gather any mail present in your system mailbox | 494 @kbd{M-x vm} causes VM to gather any mail present in your system mailbox |
496 and append it to a file known as your @dfn{primary inbox}, creating | 495 and append it to a file known as your @dfn{primary inbox}, creating |
544 | 543 |
545 @vindex vm-startup-with-summary | 544 @vindex vm-startup-with-summary |
546 The variable @code{vm-startup-with-summary} controls whether VM | 545 The variable @code{vm-startup-with-summary} controls whether VM |
547 automatically displays a summary of the folder's contents at startup. A | 546 automatically displays a summary of the folder's contents at startup. A |
548 value of @code{nil} gives no summary; a value of @code{t} gives a full | 547 value of @code{nil} gives no summary; a value of @code{t} gives a full |
549 frame summary. A value that is neither @code{t} nor @code{nil} splits | 548 screen summary. A value that is neither @code{t} nor @code{nil} splits |
550 the frame between the summary and the folder display. The latter only | 549 the screen between the summary and the folder display. The latter only |
551 works if the variable @code{pop-up-windows}'s value is non-@code{nil}, | 550 works if the variable @code{pop-up-windows}'s value is non-@code{nil}, |
552 and the value of @code{vm-mutable-windows} is non-@code{nil}. The | 551 and the value of @code{vm-mutable-windows} is non-@code{nil}. The |
553 default value of @code{vm-startup-with-summary} is @code{nil}.@refill | 552 default value of @code{vm-startup-with-summary} is @code{nil}.@refill |
554 | 553 |
555 @vindex vm-mail-window-percentage | 554 @vindex vm-mail-window-percentage |
556 The variable @code{vm-mail-window-percentage} tells VM what percentage of | 555 The variable @code{vm-mail-window-percentage} tells VM what percentage of |
557 the frame should be given to the folder display when both it and the | 556 the screen should be given to the folder display when both it and the |
558 folder summary are being displayed. Note that Emacs enforces a minimum | 557 folder summary are being displayed. Note that Emacs enforces a minimum |
559 window size limit, so a very high or very low value for this variable | 558 window size limit, so a very high or very low value for this variable |
560 may squeeze out one of the displays entirely. This variable's default | 559 may squeeze out one of the displays entirely. This variable's default |
561 value is 75, which works with Emacs' default minimum window size limit, | 560 value is 75, which works with Emacs' default minimum window size limit, |
562 on a 24 line terminal. Note that the value of @code{vm-mutable-windows} | 561 on a 24 line terminal. Note that the value of @code{vm-mutable-windows} |
582 @vindex vm-skip-read-messages | 581 @vindex vm-skip-read-messages |
583 The primary commands for selecting messages in VM are @kbd{n} | 582 The primary commands for selecting messages in VM are @kbd{n} |
584 (@code{vm-next-message}) and @kbd{p} (@code{vm-previous-message}). | 583 (@code{vm-next-message}) and @kbd{p} (@code{vm-previous-message}). |
585 These commands move forward and backward through the current folder. | 584 These commands move forward and backward through the current folder. |
586 When they go beyond the end or beginning of the folder they wrap to the | 585 When they go beyond the end or beginning of the folder they wrap to the |
587 beginning and end respectively. By default, these commands skip messages | 586 beginning and end respectively. By default these commands skip messages |
588 flagged for deletion. This behavior can be disabled by setting the value | 587 flagged for deletion. This behavior can be disabled by setting the value |
589 of the variable @code{vm-skip-deleted-messages} to @code{nil}. These | 588 of the variable @code{vm-skip-deleted-messages} to @code{nil}. These |
590 commands can also be made to skip messages that have been read; set | 589 commands can also be made to skip messages that have been read; set |
591 @code{vm-skip-read-messages} to @code{t} to do this. | 590 @code{vm-skip-read-messages} to @code{t} to do this. |
592 | 591 |
615 will behave as if the value is @code{nil}. The default value of | 614 will behave as if the value is @code{nil}. The default value of |
616 @code{vm-circular-folders} is @code{0}.@refill | 615 @code{vm-circular-folders} is @code{0}.@refill |
617 | 616 |
618 Other commands to select messages: | 617 Other commands to select messages: |
619 | 618 |
620 @table @kbd | 619 @iftex |
620 @table @asis | |
621 @end iftex | |
622 @ifinfo | |
623 @table @key | |
624 @end ifinfo | |
621 @findex vm-goto-message | 625 @findex vm-goto-message |
622 @kindex RET | 626 @kindex RET |
623 @item RET (@code{vm-goto-message}) | 627 @item RET (@code{vm-goto-message}) |
624 Go to message number @var{n}. @var{n} is the prefix argument, if | 628 Go to message number @var{n}. @var{n} is the prefix argument, if |
625 provided, otherwise it is prompted for in the minibuffer. | 629 provided, otherwise it is prompted for in the minibuffer. |
662 @end table | 666 @end table |
663 | 667 |
664 @node Reading Messages, Sending Messages, Selecting Messages, Top | 668 @node Reading Messages, Sending Messages, Selecting Messages, Top |
665 @chapter Reading Messages | 669 @chapter Reading Messages |
666 | 670 |
667 Once a message has been selected, VM will present it to you. By default, | 671 Once a message has been selected, VM will present it to you. By default |
668 presentation is done in two stages: @dfn{previewing} and @dfn{paging}. | 672 presentation is done in two stages: @dfn{previewing} and @dfn{paging}. |
669 | 673 |
670 @menu | 674 @menu |
671 * Previewing:: Customizing message previews. | 675 * Previewing:: Customizing message previews. |
672 * Paging:: Scrolling and paging through the current message. | 676 * Paging:: Scrolling and paging through the current message. |
678 @dfn{Previewing} is VM's way of showing you a small portion of a message | 682 @dfn{Previewing} is VM's way of showing you a small portion of a message |
679 and allowing you to decide whether you want to read it. Typing | 683 and allowing you to decide whether you want to read it. Typing |
680 @key{SPC} exposes the body of the message, and from there you can | 684 @key{SPC} exposes the body of the message, and from there you can |
681 repeatedly type @key{SPC} to page through the message. | 685 repeatedly type @key{SPC} to page through the message. |
682 | 686 |
683 By default, the sender, recipient, subject and date headers are shown | 687 By default the sender, recipient, subject and date headers are shown |
684 when previewing; the rest of the message is hidden. This behavior may | 688 when previewing; the rest of the message is hidden. This behavior may |
685 be altered by changing the settings of three variables: | 689 be altered by changing the settings of two variables: |
686 @code{vm-visible-headers}, @code{vm-invisible-header-regexp} and | 690 @code{vm-visible-headers}, @code{vm-invisible-header-regexp} and |
687 @code{vm-preview-lines}.@refill | 691 @code{vm-preview-lines}.@refill |
688 | 692 |
689 @vindex vm-preview-lines | 693 @vindex vm-preview-lines |
690 The value of @code{vm-preview-lines} should be a number that tells VM | 694 The value of @code{vm-preview-lines} should be a number that tells VM |
725 matches the beginnings of any header that should be presented in inverse | 729 matches the beginnings of any header that should be presented in inverse |
726 video when previewing. For example, a value of @samp{"^From\\|^Subject"} | 730 video when previewing. For example, a value of @samp{"^From\\|^Subject"} |
727 causes the From and Subject headers to be highlighted.@refill | 731 causes the From and Subject headers to be highlighted.@refill |
728 | 732 |
729 @vindex vm-preview-read-messages | 733 @vindex vm-preview-read-messages |
730 By default, VM previews all messages, even if they have already been read. | 734 By default VM previews all messages, even if they have already been read. |
731 To have VM preview only those messages that have not been read, set the | 735 To have VM preview only those messages that have not been read, set the |
732 value of @code{vm-preview-read-messages} to @code{nil}. | 736 value of @code{vm-preview-read-messages} to @code{nil}. |
733 | 737 |
734 @findex vm-expose-hidden-headers | 738 @findex vm-expose-hidden-headers |
735 Typing @kbd{t} (@code{vm-expose-hidden-headers}) makes VM toggle | 739 Typing @kbd{t} (@code{vm-expose-hidden-headers}) makes VM toggle |
764 When sending messages from within VM, you will be using the standard | 768 When sending messages from within VM, you will be using the standard |
765 Mail major mode provided with GNU Emacs. @xref{Mail Mode,,,emacs, the | 769 Mail major mode provided with GNU Emacs. @xref{Mail Mode,,,emacs, the |
766 GNU Emacs Manual}. | 770 GNU Emacs Manual}. |
767 However, @samp{*mail*} buffers created by VM have extra command keys: | 771 However, @samp{*mail*} buffers created by VM have extra command keys: |
768 | 772 |
769 @table @kbd | 773 @iftex |
774 @table @asis | |
775 @end iftex | |
776 @ifinfo | |
777 @table @key | |
778 @end ifinfo | |
770 @findex vm-yank-message | 779 @findex vm-yank-message |
771 @kindex C-c C-y | 780 @kindex C-c C-y |
772 @item C-c C-y (@code{vm-yank-message}) | 781 @item C-c C-y (@code{vm-yank-message}) |
773 Copies a message from the current folder into the @samp{*mail*} buffer. | 782 Copies a message from the current folder into the @samp{*mail*} buffer. |
774 The message number is read from the minibuffer. By default, each line of | 783 The message number is read from the minibuffer. By default each line of |
775 the copy is prepended with the value of the variable | 784 the copy is prepended with the value of the variable |
776 @code{vm-included-text-prefix}. All message headers are yanked along | 785 @code{vm-included-text-prefix}. All message headers are yanked along |
777 with the text. Point is left before the inserted text, the mark after. | 786 with the text. Point is left before the inserted text, the mark after. |
778 Any hook functions bound to mail-yank-hooks are run, after inserting | 787 Any hook functions bound to mail-yank-hooks are run, after inserting |
779 the text and setting point and mark. If a prefix argument is given, | 788 the text and setting point and mark. If a prefix argument is given, |
797 The simplest command is @kbd{m} (@code{vm-mail}) which sends a mail | 806 The simplest command is @kbd{m} (@code{vm-mail}) which sends a mail |
798 message much as @kbd{M-x mail} does but allows the added commands | 807 message much as @kbd{M-x mail} does but allows the added commands |
799 described above. | 808 described above. |
800 | 809 |
801 @code{vm-mail} can be invoked outside of VM by typing @kbd{M-x vm-mail}. | 810 @code{vm-mail} can be invoked outside of VM by typing @kbd{M-x vm-mail}. |
802 However, of the above commands, only @kbd{C-c y} | 811 However, of the above commands, only @key{C-c y} |
803 (@code{vm-yank-message-other-folder}) will work; all the other commands | 812 (@code{vm-yank-message-other-folder}) will work; all the other commands |
804 require a parent folder.@refill | 813 require a parent folder.@refill |
805 | 814 |
806 If you send a message and it is returned by the mail system because it | 815 If you send a message and it is returned by the mail system because it |
807 was undeliverable, you can easily resend the message by typing @kbd{M-r} | 816 was undeliverable, you an easily resend the message by typing @kbd{M-r} |
808 (@code{vm-resend-bounced-message}). VM will extract the old message and | 817 (@code{vm-resend-bounced-message}). VM will extract the old message and |
809 its pertinent headers from the returned message, and place you in a | 818 its pertinent headers from the returned message, and place you in a |
810 @samp{*mail*} buffer. You can then change the recipient addresses or do | 819 @samp{*mail*} buffer. You can then change the recipient addresses or do |
811 whatever is necessary to correct the original problem and resend the | 820 whatever is necessary to correct the original problem and resend the |
812 message.@refill | 821 message.@refill |
819 @node Replying, Forwarding Messages, Sending Messages, Sending Messages | 828 @node Replying, Forwarding Messages, Sending Messages, Sending Messages |
820 @section Replying | 829 @section Replying |
821 | 830 |
822 @vindex vm-reply-subject-prefix | 831 @vindex vm-reply-subject-prefix |
823 VM has special commands that make it easy to reply to a message. When a | 832 VM has special commands that make it easy to reply to a message. When a |
824 reply command is invoked, VM fills in the subject and recipient headers | 833 reply command is invoked VM fills in the subject and recipient headers |
825 for you, since it is apparent to whom the message should be sent and | 834 for you, since it is apparent to whom the message should be sent and |
826 what the subject should be. There is an old convention of prepending | 835 what the subject should be. There is an old convention of prepending |
827 the string @samp{"Re: "} to the subject of replies if the string isn't | 836 the string @samp{"Re: "} to the subject of replies if the string isn't |
828 present already. VM supports this indirectly by providing the variable | 837 present already. VM supports this indirectly by providing the variable |
829 @code{vm-reply-subject-prefix}. Its value should be a string to prepend | 838 @code{vm-reply-subject-prefix}. Its value should be a string to prepend |
866 non-@code{nil}, the reply headers will stripped of all information but | 875 non-@code{nil}, the reply headers will stripped of all information but |
867 the actual addresses. | 876 the actual addresses. |
868 | 877 |
869 The reply commands are: | 878 The reply commands are: |
870 | 879 |
871 @table @kbd | 880 @iftex |
881 @table @asis | |
882 @end iftex | |
883 @ifinfo | |
884 @table @key | |
885 @end ifinfo | |
872 @findex vm-reply | 886 @findex vm-reply |
873 @kindex r | 887 @kindex r |
874 @item r (@code{vm-reply}) | 888 @item r (@code{vm-reply}) |
875 Replies to the author of the current message. | 889 Replies to the author of the current message. |
876 @findex vm-reply-include-text | 890 @findex vm-reply-include-text |
916 @vindex vm-forwarding-subject-format | 930 @vindex vm-forwarding-subject-format |
917 Typing @kbd{z} puts you into a @samp{*mail*} buffer just like @kbd{m}, | 931 Typing @kbd{z} puts you into a @samp{*mail*} buffer just like @kbd{m}, |
918 except the current message appears as the body of the message in the | 932 except the current message appears as the body of the message in the |
919 @samp{*mail*} buffer. The forwarded message is surrounded by RFC 934 | 933 @samp{*mail*} buffer. The forwarded message is surrounded by RFC 934 |
920 compliant message delimiters. If the variable | 934 compliant message delimiters. If the variable |
921 @code{vm-rfc934-forwarding} is non-@code{nil}, "^-" to "- -" character | 935 @code{vm-rfc934-forwarding} is non-@code{nil} "^-" to "- -" character |
922 stuffing is done to the forwarded message (this is the default). This | 936 stuffing is done to the forwarded message (this is the default). This |
923 behavior is required if the recipient of the forwarded message wants to | 937 behavior is required if the recipient of the forwarded message wants to |
924 use a RFC 934 standard bursting agent to access the message. If the | 938 use a RFC 934 standard bursting agent to access the message. If the |
925 variable @code{vm-forwarding-subject-format} is non-@code{nil} it should | 939 variable @code{vm-forwarding-subject-format} is non-@code{nil} it should |
926 specify the format of the Subject header of the forwarded message. This | 940 specify the format of the Subject header of the forwarded message. This |
993 @var{header-name} is matched by the regular expression @var{regexp}, VM | 1007 @var{header-name} is matched by the regular expression @var{regexp}, VM |
994 will evaluate the corresponding @var{folder-name} and use the result as | 1008 will evaluate the corresponding @var{folder-name} and use the result as |
995 the default when prompting for a folder to save the message in. If | 1009 the default when prompting for a folder to save the message in. If |
996 the resulting folder name is a relative pathname it resolves to the directory | 1010 the resulting folder name is a relative pathname it resolves to the directory |
997 named by @code{vm-folder-directory}, or the @code{default-directory} of | 1011 named by @code{vm-folder-directory}, or the @code{default-directory} of |
998 the currently visited folder if @code{vm-folder-directory} is @code{nil}.@refill | 1012 the currently visited folder if @code{vm-folder-directory} is nil.@refill |
999 | 1013 |
1000 When @var{folder-name} is evaluated, the current buffer will contain only | 1014 When @var{folder-name} is evaluated, the current buffer will contain only |
1001 the contents of the header named by @var{header-name}. It is safe to | 1015 the contents of the header named by @var{header-name}. It is safe to |
1002 modify this buffer. You can use the match data from any @samp{\( @dots{} | 1016 modify this buffer. You can use the match data from any @samp{\( @dots{} |
1003 \)} grouping constructs in @var{regexp} along with the function | 1017 \)} grouping constructs in @var{regexp} along with the function |
1004 @code{buffer-substring} to build a folder name based on the header information. | 1018 buffer-substring to build a folder name based on the header information. |
1005 If the result of evaluating @var{folder-name} is a list, then the list will | 1019 If the result of evaluating @var{folder-name} is a list, then the list will |
1006 be treated as another auto-folder-alist and will be descended | 1020 be treated as another auto-folder-alist and will be descended |
1007 recursively.@refill | 1021 recursively.@refill |
1008 | 1022 |
1009 @vindex vm-auto-folder-case-fold-search | 1023 @vindex vm-auto-folder-case-fold-search |
1031 will append to the file itself.@refill | 1045 will append to the file itself.@refill |
1032 | 1046 |
1033 @vindex vm-delete-after-saving | 1047 @vindex vm-delete-after-saving |
1034 After a message is saved to a folder, the usual thing to do next is to | 1048 After a message is saved to a folder, the usual thing to do next is to |
1035 delete it. If the variable @code{vm-delete-after-saving} is | 1049 delete it. If the variable @code{vm-delete-after-saving} is |
1036 non-@code{nil}, VM will flag messages for deletion automatically after | 1050 non-@code{nil} VM will flag messages for deletion automatically after |
1037 saving them. This applies only to saves to folders, not for the @kbd{w} | 1051 saving them. This applies only to saves to folders, not for the @key{w} |
1038 command (see below).@refill | 1052 command (see below).@refill |
1039 | 1053 |
1040 Other commands: | 1054 Other commands: |
1041 | 1055 |
1042 @table @kbd | 1056 @iftex |
1057 @table @asis | |
1058 @end iftex | |
1059 @ifinfo | |
1060 @table @key | |
1061 @end ifinfo | |
1043 @findex vm-save-message-sans-headers | 1062 @findex vm-save-message-sans-headers |
1044 @kindex w | 1063 @kindex w |
1045 @item w (@code{vm-save-message-sans-headers}) | 1064 @item w (@code{vm-save-message-sans-headers}) |
1046 Saves a message or messages to a file without their headers. This | 1065 Saves a message or messages to a file without their headers. This |
1047 command responds to a prefix argument exactly as @code{vm-save-message} | 1066 command responds to a prefix argument exactly as @code{vm-save-message} |
1054 are flagged for deletion are not saved by this command. If invoked with a | 1073 are flagged for deletion are not saved by this command. If invoked with a |
1055 prefix argument, confirmation will be requested for each save. | 1074 prefix argument, confirmation will be requested for each save. |
1056 @findex vm-pipe-message-to-command | 1075 @findex vm-pipe-message-to-command |
1057 @kindex | | 1076 @kindex | |
1058 @item | (@code{vm-pipe-message-to-command}) | 1077 @item | (@code{vm-pipe-message-to-command}) |
1059 Runs a shell command with some or all of the current message as input. | 1078 Runs a shell command with the some or all of the current message as input. |
1060 By default, the entire message is used.@* | 1079 By default the entire message is used.@* |
1061 @* | 1080 @* |
1062 If invoked with one @t{C-u} the text portion of the message is used.@* | 1081 If invoked with one @t{C-u} the text portion of the message is used.@* |
1063 If invoked with two @t{C-u}'s the header portion of the message is used.@* | 1082 If invoked with two @t{C-u}'s the header portion of the message is used.@* |
1064 @* | 1083 @* |
1065 If the shell command generates any output, it is displayed in a | 1084 If the shell command generates any output, it is displayed in a |
1071 | 1090 |
1072 In VM, messages are flagged for deletion, and then are subsequently | 1091 In VM, messages are flagged for deletion, and then are subsequently |
1073 @dfn{expunged} or removed from the folder. The messages are not removed | 1092 @dfn{expunged} or removed from the folder. The messages are not removed |
1074 from the on-disk copy of the folder until the folder is saved. | 1093 from the on-disk copy of the folder until the folder is saved. |
1075 | 1094 |
1076 @table @kbd | 1095 @iftex |
1096 @table @asis | |
1097 @end iftex | |
1098 @ifinfo | |
1099 @table @key | |
1100 @end ifinfo | |
1077 @findex vm-delete-message | 1101 @findex vm-delete-message |
1078 @kindex d | 1102 @kindex d |
1079 @item d (@code{vm-delete-message}) | 1103 @item d (@code{vm-delete-message}) |
1080 Flags the current message for deletion. A prefix argument @var{n} | 1104 Flags the current message for deletion. A prefix argument @var{n} |
1081 causes the current message and the next @var{n-1} messages to be flagged. | 1105 causes the current message and the next @var{n-1} messages to be flagged. |
1089 A negative @var{n} causes the current message and the previous @var{n-1} | 1113 A negative @var{n} causes the current message and the previous @var{n-1} |
1090 messages to be undeleted. | 1114 messages to be undeleted. |
1091 @findex vm-kill-subject | 1115 @findex vm-kill-subject |
1092 @kindex k | 1116 @kindex k |
1093 @item k (@code{vm-kill-subject}) | 1117 @item k (@code{vm-kill-subject}) |
1094 Flags all messages with the same subject as the current message (ignoring | 1118 Flags all message with the same subject as the current message (ignoring |
1095 ``Re:'') for deletion. | 1119 ``Re:'') for deletion. |
1096 @findex vm-expunge-folder | 1120 @findex vm-expunge-folder |
1097 @kindex # | 1121 @kindex # |
1098 @item # (@code{vm-expunge-folder}) | 1122 @item # (@code{vm-expunge-folder}) |
1099 Does the actual removal of messages flagged for deletion in the current | 1123 Does the actual removal of messages flagged for deletion in the current |
1140 prefix argument means mark the previous @var{n-1}. An asterisk | 1164 prefix argument means mark the previous @var{n-1}. An asterisk |
1141 (@samp{*}) will appear to the right of the message numbers of all marked | 1165 (@samp{*}) will appear to the right of the message numbers of all marked |
1142 messages in the summary window.@refill | 1166 messages in the summary window.@refill |
1143 | 1167 |
1144 To remove a mark from the current message, use @kbd{C-c SPC} | 1168 To remove a mark from the current message, use @kbd{C-c SPC} |
1145 (@code{vm-unmark-message}). Prefix arguments work as with | 1169 (@code{vm-unmark-message}. Prefix arguments work as with |
1146 @code{vm-mark-message}.@refill | 1170 @code{vm-mark-message}.@refill |
1147 | 1171 |
1148 Use @kbd{C-c C-a} to mark all messages in the current folder; @kbd{C-c a} | 1172 Use @kbd{C-c C-a} to mark all message in the current folder; @kbd{C-c a} |
1149 removes marks from all messages. | 1173 removes marks from all messages. |
1150 | 1174 |
1151 To apply a VM command to all marked message you must prefix it with the | 1175 To apply a VM command to all marked message you must prefix it with the |
1152 key sequence @kbd{C-c RET} (@code{vm-next-command-uses-marks}). The | 1176 key sequence @kbd{C-c RET} (@code{vm-next-command-uses-marks}). The |
1153 next VM command will apply to all marked messages, provided the | 1177 next VM command will apply to all marked messages, provided the |
1154 command can be applied to such messages in a meaningful and useful way. | 1178 command can be applied to such messages in a meaningful and useful way. |
1155 The current commands that can be applied to marked messages are: | 1179 The current commands that can be applied to marked message are: |
1156 @code{vm-delete-message}, @code{vm-discard-cached-data}, | 1180 @code{vm-delete-message}, @code{vm-discard-cached-data}, |
1157 @code{vm-followup}, @code{vm-followup-include-text}, @code{vm-reply}, | 1181 @code{vm-followup}, @code{vm-followup-include-text}, @code{vm-reply}, |
1158 @code{vm-reply-include-text}, @code{vm-save-message}, | 1182 @code{vm-reply-include-text}, @code{vm-save-message}, |
1159 @code{vm-save-message-sans-headers}, @code{vm-send-digest}, | 1183 @code{vm-save-message-sans-headers}, @code{vm-send-digest}, |
1160 @code{vm-undelete-message}, and @code{vm-unread-message}.@refill | 1184 @code{vm-undelete-message}, and @code{vm-unread-message}.@refill |
1181 | 1205 |
1182 @findex vm-group-messages | 1206 @findex vm-group-messages |
1183 @kindex G | 1207 @kindex G |
1184 In order to make numerous related messages easier to cope with, VM | 1208 In order to make numerous related messages easier to cope with, VM |
1185 provides the command @kbd{G} (@code{vm-group-messages}), which groups | 1209 provides the command @kbd{G} (@code{vm-group-messages}), which groups |
1186 all messages in a folder according to some criterion. @dfn{Grouping} | 1210 all message in a folder according to some criterion. @dfn{Grouping} |
1187 causes messages that are related in some way to be presented | 1211 causes messages that are related in some way to be presented |
1188 consecutively. The actual order of the folder is not altered; | 1212 consecutively. The actual order of the folder is not altered; |
1189 the messages are simply numbered and presented differently. Grouping | 1213 the messages are simply numbered and presented differently. Grouping |
1190 should not be confused with sorting; grouping only moves messages that | 1214 should not be confused with sorting; grouping only moves messages that |
1191 occur later in the folder backward to ``clump'' with other related | 1215 occur later in the folder backward to ``clump'' with other related |
1209 | 1233 |
1210 @vindex vm-group-by | 1234 @vindex vm-group-by |
1211 If the variable @code{vm-group-by} has a non-@code{nil} value it | 1235 If the variable @code{vm-group-by} has a non-@code{nil} value it |
1212 specifies the default grouping that will be used for all folders. So if | 1236 specifies the default grouping that will be used for all folders. So if |
1213 you like having your mail presented to you grouped by subject, then put | 1237 you like having your mail presented to you grouped by subject, then put |
1214 @code{(setq vm-group-by "subject")} in your @file{.vm} or @file{.emacs} | 1238 @code{(setq vm-group-by "subject")} in your @file{.emacs} file to get this |
1215 file to get this behavior.@refill | 1239 behavior.@refill |
1216 | 1240 |
1217 @node Reading Digests, Summaries, Grouping Messages, Top | 1241 @node Reading Digests, Summaries, Grouping Messages, Top |
1218 @chapter Reading Digests | 1242 @chapter Reading Digests |
1219 | 1243 |
1220 A @dfn{digest} is one or more mail messages encapsulated in a single message. | 1244 A @dfn{digest} is one or more mail messages encapsulated in a single message. |
1224 messages under VM. | 1248 messages under VM. |
1225 | 1249 |
1226 @findex vm-burst-digest | 1250 @findex vm-burst-digest |
1227 @kindex * | 1251 @kindex * |
1228 The command @kbd{*} (@code{vm-burst-digest}) bursts a digest into its | 1252 The command @kbd{*} (@code{vm-burst-digest}) bursts a digest into its |
1229 individual messages and appends them to the current folder. These | 1253 individual messages and appends them to current folder. These |
1230 messages are then assimilated into the current folder using the default | 1254 messages are then assimilated into the current folder using the default |
1231 grouping. @xref{Grouping Messages}. The original digest message is not | 1255 grouping. @xref{Grouping Messages}. The original digest message is not |
1232 altered, and the messages extracted from it are not part of the on-disk copy | 1256 altered, and the messages extracted from it are not part of the on-disk copy |
1233 of the folder until a save is done.@refill | 1257 of the folder until a save is done.@refill |
1234 | 1258 |
1248 contents of the current folder. The information in the summary is | 1272 contents of the current folder. The information in the summary is |
1249 automatically updated as changes are made to the current folder. An | 1273 automatically updated as changes are made to the current folder. An |
1250 arrow @samp{->} appears to the left of the line summarizing the current | 1274 arrow @samp{->} appears to the left of the line summarizing the current |
1251 message. The variable @code{vm-auto-center-summary} controls whether VM | 1275 message. The variable @code{vm-auto-center-summary} controls whether VM |
1252 will keep the summary arrow vertically centered within the summary | 1276 will keep the summary arrow vertically centered within the summary |
1253 window. A value of @code{t} causes VM to always keep the arrow | 1277 window. A value of @code{t} causes VM to always keep arrow centered. A |
1254 centered. A value of @code{nil} (the default) means VM will never | 1278 value of @code{nil} means VM will never bother centering the arrow. A |
1255 bother centering the arrow. A value that is not @code{nil} and not | 1279 value that is not @code{nil} and not @code{t} causes VM to center the |
1256 @code{t} causes VM to center the arrow only if the summary window is not | 1280 arrow only if the summary window is not the only existing window.@refill |
1257 the only existing window.@refill | |
1258 | 1281 |
1259 @vindex vm-summary-format | 1282 @vindex vm-summary-format |
1260 The variable @code{vm-summary-format} controls the format of each | 1283 The variable @code{vm-summary-format} controls the format of each |
1261 message's summary. Its value should be a string. This string should | 1284 message's summary. Its value should be a string. This string should |
1262 contain printf-like ``%'' conversion specifiers which substitute | 1285 contain printf-like ``%'' conversion specifiers which substitute |
1330 @chapter Miscellaneous | 1353 @chapter Miscellaneous |
1331 | 1354 |
1332 Here are some VM customization variables that don't really fit into the | 1355 Here are some VM customization variables that don't really fit into the |
1333 other chapters. | 1356 other chapters. |
1334 | 1357 |
1358 @iftex | |
1359 @table @asis | |
1360 @end iftex | |
1361 @ifinfo | |
1335 @table @code | 1362 @table @code |
1363 @end ifinfo | |
1336 @vindex vm-confirm-quit | 1364 @vindex vm-confirm-quit |
1337 @item vm-confirm-quit | 1365 @item vm-confirm-quit |
1338 A value of @code{t} causes VM to always ask for confirmation before | 1366 A value of t causes VM to always ask for confirmation before ending |
1339 ending a VM visit of a folder. A @code{nil} value means VM will ask | 1367 a VM visit of a folder. A nil value means VM will ask only when messages |
1340 only when messages will be lost unwittingly by quitting, i.e. not | 1368 will be lost unwittingly by quitting, i.e. not removed by intentional |
1341 removed by intentional delete and expunge. A value that is neither | 1369 delete and expunge. A value that is not nil and not t causes VM to ask |
1342 @code{nil} nor @code{t} causes VM to ask only when there are unsaved | 1370 only when there are unsaved changes to message attributes or message |
1343 changes to message attributes or message will be lost. | 1371 will be lost. |
1344 @vindex vm-berkeley-mail-compatibility | 1372 @vindex vm-berkeley-mail-compatibility |
1345 @item vm-berkeley-mail-compatibility | 1373 @item vm-berkeley-mail-compatibility |
1346 A non-@code{nil} value means to read and write BSD @i{Mail(1)} style Status: | 1374 A non-@code{nil} value means to read and write BSD @i{Mail(1)} style Status: |
1347 headers. This makes sense if you plan to use VM to read mail archives | 1375 headers. This makes sense if you plan to use VM to read mail archives |
1348 created by @i{Mail}. | 1376 created by @i{Mail}. |
1362 A non-@code{nil} value for this variable causes VM to remove empty (zero | 1390 A non-@code{nil} value for this variable causes VM to remove empty (zero |
1363 length) folder files after saving them. | 1391 length) folder files after saving them. |
1364 @vindex vm-mutable-windows | 1392 @vindex vm-mutable-windows |
1365 @item vm-mutable-windows | 1393 @item vm-mutable-windows |
1366 This variable's value controls VM's window usage. A value of @code{t} gives VM | 1394 This variable's value controls VM's window usage. A value of @code{t} gives VM |
1367 free run of the Emacs display; it will commandeer the entire frame for | 1395 free run of the Emacs display; it will commandeer the entire screen for |
1368 its purposes. A value of @code{nil} restricts VM's window usage to the window | 1396 its purposes. A value of @code{nil} restricts VM's window usage to the window |
1369 from which it was invoked. VM will not create, delete, or use any other | 1397 from which it was invoked. VM will not create, delete, or use any other |
1370 windows, nor will it resize its own window. A value that is neither @code{t} | 1398 windows, nor will it resize its own window. A value that is neither @code{t} |
1371 nor @code{nil} allows VM to use other windows, but it will not create new ones, | 1399 nor @code{nil} allows VM to use other windows, but it will not create new ones, |
1372 or resize or delete the current ones.@refill | 1400 or resize or delete the current ones.@refill |
1388 | 1416 |
1389 @node Command Index, Variable Index, Key Index, Top | 1417 @node Command Index, Variable Index, Key Index, Top |
1390 @unnumbered Command Index | 1418 @unnumbered Command Index |
1391 @printindex fn | 1419 @printindex fn |
1392 | 1420 |
1393 @node Variable Index, , Command Index, Top | 1421 @node Variable Index, Introduction, Command Index, Top |
1394 @unnumbered Variable Index | 1422 @unnumbered Variable Index |
1395 @printindex vr | 1423 @printindex vr |
1396 | 1424 |
1397 @summarycontents | 1425 @summarycontents |
1398 @contents | 1426 @contents |