From: Marcel van der Boom Date: Wed, 28 Nov 2018 15:57:27 +0000 (+0100) Subject: Add info about maildcap files, exmaple: `copiousoutput` X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=commitdiff_plain;h=aea32d8c96b20101f6c49698d644d96c8e747a64 Add info about maildcap files, exmaple: `copiousoutput` The `copiousoutput` setting in mailcap may be cause for failure in viewing html parts if the browser immediately returns. --- 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