[neomutt-devel] displaying text/x-patch

ng0 ng0 at infotropique.org
Sat Oct 14 17:38:25 CEST 2017


Hi,

Mehdi Abaakouk transcribed 1.8K bytes:
> Hi,
> 
> On Sat, Oct 14, 2017 at 11:42:02AM +0000, ng0 wrote:
> > Hi,
> > 
> > do I miss something obvious (maybe smth in "~/.mailcap"?) to
> > enable support for 'text/x-patch'?
> 
> Upstream Mutt considers all text/* as human readable,

That's where my irritation originated from then.

> when in fact most text/*
> are not (they are html/xml/css/cvs/javascript...)
> 
> Neomutt considers only text/plain as human readable by default.
> 
> To consider more text/XXXX as human readable, you can add in your mailcap:
> 
>  text/x-diff; cat '%s'; copiousoutput;
>  text/x-patch; cat '%s'; copiousoutput;
> 
> It's not the first times I see this question, so I open an issue [1] to improve
> the documentation.

Thanks.

> [1] https://github.com/neomutt/neomutt/issues/859
> 
> -- 
> Mehdi Abaakouk
> mail: sileht at sileht.net
> irc: sileht



-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://dist.ng0.infotropique.org/dist/keys/
https://www.infotropique.org https://ng0.infotropique.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/attachments/20171014/01ea0192/attachment.sig>


More information about the neomutt-devel mailing list