From aea32d8c96b20101f6c49698d644d96c8e747a64 Mon Sep 17 00:00:00 2001 From: Marcel van der Boom Date: Wed, 28 Nov 2018 16:57:27 +0100 Subject: [PATCH] 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. --- emacstips.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- 2.43.0