[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: Ben Reser <ben_at_reser.org>
Date: 2003-12-14 01:09:16 CET

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 <ben@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
Received on Sun Dec 14 01:09:57 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.