Re: Autoview, mailcap, etc. question
On Friday, 26 June 2009 at 12:00, Kyle Wheeler wrote:
> On Friday, June 26 at 05:39 PM, quoth Chris G:
> >I'm sure I used to be able to view HTML E-Mails two ways, firstly in
> >mutt's pager using links 'automatically' and secondly using firefox if
> >I used the v[iew-attachments] command. Now however I seem to be stuck
> >with only links.
Make sure the line with copiousoutput comes after any other
handler. It looks like it doesn't in your muttrc.
> From the attachment menu, use 'm' (the <view-mailcap> function)
> instead of just <Return> (<view-attach> function). If it's more
> convenient, you can just rebind <Return> to restore the old behavior:
>
> bind attach <Return> view-mailcap
>
> I don't entirely understand the reasons this behavior was changed, but
> it's been discussed a bit on the mutt-dev list.
>
> It has something to do with making mutt more sane for people who don't
> have a mailcap and still want to be able to read text/* attachments.
Basically, view-attachment now works the same way as the pager, but
limited to just the scope of the attachment. If it can show the
attachment inline, it will. This is kind of nice, for instance, if you
want to read a patch buried in a bunch of other
attachments. view-mailcap will always launch the external (possibly
interactive) viewer.