You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Reser <be...@reser.org> on 2003/12/14 00:09:16 UTC

[OT] auto viewing text/x-diff attachments in mutt.

John Szakmeister patch caused me to go digging to figure out how to
have mutt automatically inline text/x-diff attachments in the main
viewing window.  I figured out how to do it and figured this would
be useful to those using mutt, especially since Greg Stein made a
comment about having to press v, to see the attachment.

Add the following to your ~/.mailcap file:
text/diff;cat %s; copiousoutput

Add this to your ~/.muttrc (or simply add text/x-diff if you
already have an auto_view line like I do):
auto_view text/x-diff

Now diff's attached as type text/x-diff will show in the message for
you. You can use the same thing for other file types. :) 

-- 
Ben Reser <be...@reser.org>
http://ben.reser.org

"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [OT] auto viewing text/x-diff attachments in mutt.

Posted by Ben Reser <be...@reser.org>.
On Sat, Dec 13, 2003 at 04:09:16PM -0800, Ben Reser wrote:
> Add the following to your ~/.mailcap file:
> text/diff;cat %s; copiousoutput

typo alert, that should be:
text/x-diff;cat %s; copiousoutput

sorry.

-- 
Ben Reser <be...@reser.org>
http://ben.reser.org

"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org