Mercurial > emacs
comparison doc/misc/mh-e.texi @ 97192:31496191ccd4
(Reading Mail)
(Viewing Attachments): Describe new function
mh-show-preferred-alternative.
(Sending Mail, Redistributing, Sending Message): Describe new hook
mh-annotate-msg-hook.
author | Bill Wohler <wohler@newt.com> |
---|---|
date | Fri, 01 Aug 2008 04:47:41 +0000 |
parents | 6e1d885ba36a |
children | d38d8feaaa82 |
comparison
equal
deleted
inserted
replaced
97191:31f6e0b2a80d | 97192:31496191ccd4 |
---|---|
1599 @kindex , (comma) | 1599 @kindex , (comma) |
1600 @findex mh-header-display | 1600 @findex mh-header-display |
1601 @item , (comma) | 1601 @item , (comma) |
1602 Display message with all header fields (@code{mh-header-display}). | 1602 Display message with all header fields (@code{mh-header-display}). |
1603 @c ------------------------- | 1603 @c ------------------------- |
1604 @cindex @samp{Message > Show Message with Preferred Alternative} menu item | |
1605 @cindex menu item, @samp{Message > Show Message with Preferred Alternative} | |
1606 @kindex : (colon) | |
1607 @findex mh-show-preferred-alternative | |
1608 @item : (colon) | |
1609 Display message with the default preferred alternative | |
1610 (@code{mh-show-preferred-alternative}). | |
1611 @c ------------------------- | |
1604 @kindex ; (semicolon) | 1612 @kindex ; (semicolon) |
1605 @findex mh-toggle-mh-decode-mime-flag | 1613 @findex mh-toggle-mh-decode-mime-flag |
1606 @item ; (semicolon) | 1614 @item ; (semicolon) |
1607 Toggle the value of @code{mh-decode-mime-flag} | 1615 Toggle the value of @code{mh-decode-mime-flag} |
1608 (@code{mh-toggle-mh-decode-mime-flag}). | 1616 (@code{mh-toggle-mh-decode-mime-flag}). |
2477 Many people prefer to see the @samp{text/plain} alternative rather | 2485 Many people prefer to see the @samp{text/plain} alternative rather |
2478 than the @samp{text/html} alternative. To do this in MH-E, customize | 2486 than the @samp{text/html} alternative. To do this in MH-E, customize |
2479 the option @code{mm-discouraged-alternatives}, and add | 2487 the option @code{mm-discouraged-alternatives}, and add |
2480 @samp{text/html}. The next best alternative, if any, will be shown. | 2488 @samp{text/html}. The next best alternative, if any, will be shown. |
2481 | 2489 |
2490 @findex mh-show-preferred-alternative | |
2491 @kindex : (colon) | |
2492 | |
2493 Occasionally, though, you might want to see the preferred alternative. | |
2494 The command @kbd{:} (@code{mh-show-preferred-alternative}) displays | |
2495 the message with the default preferred alternative. This is as if | |
2496 @code{mm-discouraged-alternatives} is set to @samp{nil}. Use the | |
2497 command @key{RET} (@code{mh-show}) to show the message normally again. | |
2498 | |
2482 @kindex K i | 2499 @kindex K i |
2483 @findex mh-folder-inline-mime-part | 2500 @findex mh-folder-inline-mime-part |
2484 | 2501 |
2485 You can view the raw contents of an attachment with the command @kbd{K | 2502 You can view the raw contents of an attachment with the command @kbd{K |
2486 i} (@code{mh-folder-inline-mime-part}). This command displays (or | 2503 i} (@code{mh-folder-inline-mime-part}). This command displays (or |
3534 @kbd{x} for you or undo the pending refiles and deletes. | 3551 @kbd{x} for you or undo the pending refiles and deletes. |
3535 | 3552 |
3536 @kindex x | 3553 @kindex x |
3537 @vindex mh-after-commands-processed-hook | 3554 @vindex mh-after-commands-processed-hook |
3538 @vindex mh-before-commands-processed-hook | 3555 @vindex mh-before-commands-processed-hook |
3556 @vindex mh-current-folder | |
3539 | 3557 |
3540 The command @kbd{x} runs @code{mh-before-commands-processed-hook} | 3558 The command @kbd{x} runs @code{mh-before-commands-processed-hook} |
3541 before the commands are processed and | 3559 before the commands are processed and |
3542 @code{mh-after-commands-processed-hook} after the commands are | 3560 @code{mh-after-commands-processed-hook} after the commands are |
3543 processed. Variables that are useful with the former hook include | 3561 processed. Variables that are useful with the former hook include |
3926 @end vtable | 3944 @end vtable |
3927 | 3945 |
3928 The following hooks are available. | 3946 The following hooks are available. |
3929 | 3947 |
3930 @vtable @code | 3948 @vtable @code |
3949 @item mh-annotate-msg-hook | |
3950 Hook run by @code{mh-annotate-msg} after annotation (default: | |
3951 @code{nil}). | |
3952 @c ------------------------- | |
3931 @item mh-forward-hook | 3953 @item mh-forward-hook |
3932 Hook run by @code{mh-forward} on a forwarded letter (default: | 3954 Hook run by @code{mh-forward} on a forwarded letter (default: |
3933 @code{nil}). | 3955 @code{nil}). |
3934 @c ------------------------- | 3956 @c ------------------------- |
3935 @item mh-letter-mode-hook | 3957 @item mh-letter-mode-hook |
3936 Hook run by @code{mh-letter-mode} on a new letter (default: | 3958 Hook run by @code{mh-letter-mode} on a new letter (default: |
3937 @code{nil}). | 3959 @code{nil}). |
3938 @end vtable | 3960 @end vtable |
3939 | 3961 |
3940 The functions and options introduced here are explained in more detail | 3962 @findex mh-annotate-msg |
3941 in the following sections. | 3963 @vindex mh-annotate-list |
3964 @vindex mh-annotate-msg-hook | |
3965 @vindex mh-current-folder | |
3966 | |
3967 A hook that is called whenever a message is sent and after the scan | |
3968 lines and message are annotated is @code{mh-annotate-msg-hook}. Hook | |
3969 functions can access the current folder name with | |
3970 @code{mh-current-folder} and obtain the message numbers of the | |
3971 annotated messages with @code{mh-annotate-list}. | |
3972 | |
3973 The rest of the functions and options introduced here are explained in | |
3974 more detail in the following sections. | |
3942 | 3975 |
3943 @menu | 3976 @menu |
3944 * Composing:: | 3977 * Composing:: |
3945 * Replying:: | 3978 * Replying:: |
3946 * Forwarding:: | 3979 * Forwarding:: |
4265 which is the case if @command{send}@footnote{See the section | 4298 which is the case if @command{send}@footnote{See the section |
4266 @uref{@value{MH-BOOK-HOME}/sensen.html, Sending Some Mail: comp send} | 4299 @uref{@value{MH-BOOK-HOME}/sensen.html, Sending Some Mail: comp send} |
4267 in the MH book.} is compiled with the @sc{berk} option (which many | 4300 in the MH book.} is compiled with the @sc{berk} option (which many |
4268 people abhor). If you find that MH will not allow you to redistribute | 4301 people abhor). If you find that MH will not allow you to redistribute |
4269 a message that has been redistributed before, turn off this option. | 4302 a message that has been redistributed before, turn off this option. |
4303 | |
4304 The hook @code{mh-annotate-msg-hook} is run after annotating the | |
4305 message and scan line (@pxref{Sending Mail}). | |
4270 | 4306 |
4271 @node Editing Again, , Redistributing, Sending Mail | 4307 @node Editing Again, , Redistributing, Sending Mail |
4272 @section Editing Old Drafts and Bounced Messages | 4308 @section Editing Old Drafts and Bounced Messages |
4273 | 4309 |
4274 @cindex @file{draft} | 4310 @cindex @file{draft} |
5617 | 5653 |
5618 In case the MH @command{send} program@footnote{See the section | 5654 In case the MH @command{send} program@footnote{See the section |
5619 @uref{@value{MH-BOOK-HOME}/sensen.html, Sending Some Mail: comp send} | 5655 @uref{@value{MH-BOOK-HOME}/sensen.html, Sending Some Mail: comp send} |
5620 in the MH book.} is installed under a different name, use | 5656 in the MH book.} is installed under a different name, use |
5621 @code{mh-send-prog} to tell MH-E the name. | 5657 @code{mh-send-prog} to tell MH-E the name. |
5658 | |
5659 The hook @code{mh-annotate-msg-hook} is run after annotating the | |
5660 message and scan line (@pxref{Sending Mail}). | |
5622 | 5661 |
5623 @node Killing Draft, , Sending Message, Editing Drafts | 5662 @node Killing Draft, , Sending Message, Editing Drafts |
5624 @section Killing the Draft | 5663 @section Killing the Draft |
5625 | 5664 |
5626 @cindex killing draft | 5665 @cindex killing draft |