[Mutt] Re: [Mutt] respond inline to attached patch?

Mihai Lazarescu mtlagm at gmail.com
Sun Jul 29 15:06:59 UTC 2018


On Sunday, July 29, 2018 at 10:33:03 -0400, Xu Wang wrote:

> [-- Attachment #2: app2or_py.patch --]
> [-- Type: text/x-patch; charset=UTF-8, Encoding: 7bit, Size: 4.2K --]
>
> [-- text/x-patch is unsupported (use 'v' to view this part) --]
>
> So now I just need to figure out how to make it supported. I wonder if
> there is a way to make all "text/anything" supported.

MIME type text/x-patch (and the lack of viewer) may be 
the reason.  What I get (mostly SVN commit reports) is type 
text/plain:

    Content-Disposition: attachment; filename=XXX.diff
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit

You may be looking for a setting like:

    auto_view text/x-patch

and specify a MIME handler for text/x-patch in .mailcap, 
e.g., cat.

Mihai


More information about the Mutt-users mailing list