X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=blobdiff_plain;f=emacstips.mdwn;fp=emacstips.mdwn;h=712569e0e058830eaefd6a1b8afc1d84e750c185;hp=b41faed951a38b6d218ec6439d2fe30bc596ef87;hb=aea32d8c96b20101f6c49698d644d96c8e747a64;hpb=eb582e4c263fa93196854c7c632687f186c4c8af diff --git a/emacstips.mdwn b/emacstips.mdwn index b41faed..712569e 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -249,6 +249,21 @@ Sometimes it may be necessary to display the message, or a single MIME part, in an external browser. This can be done by `(notmuch-show-view-part)`, bound to `. v` by default. +This command will try to view the message part the point is on with an +external viewer. The mime-type of the part will determine what viewer +will be used. Typically a 'text/html' part will be send to your +browser. + +The configuration for this is kept in so called `mailcap` +files. (typically the file is `~/.mailcap` or `/etc/mailcap`) If the +wrong viewer is started or something else goes wrong, there's a good +chance something needs to be adapted in the mailcap configuration. + +For Example: The `copiousoutput` setting in mailcap files needs to be +removed for some mime-types to prevent immediate removal of tempory +files so the configured viewer can access them. + + ## msmtp, message mode and multiple accounts As an alternative to running a mail server such as sendmail or postfix