Re: [Mutt] #3246: Please make the internal viewer open diffs and/or text/*
#3246: Please make the internal viewer open diffs and/or text/*
-------------------------------+--------------------------------------------
Reporter: antonio@â | Owner: mutt-dev
Type: enhancement | Status: new
Priority: trivial | Milestone:
Component: display | Version: 1.5.19
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Changes (by projekt21):
* cc: alex-mutt@â (added)
* status: closed => new
* resolution: fixed =>
Comment:
I have a problem with this fix. I have:
.mutt/muttrc:
{{{
auto_view text/html
}}}
.muttrc/mailcap:
{{{
text/html; cat %s > /tmp/tmp_mailcap.html && firefox
file:///tmp/tmp_mailcap.html; test=RunningX
text/html; w3m -I %{charset} -T text/html -dump; copiousoutput
}}}
Before the changeset was applied, all text/html mails and attachments
were displayed inline (w3m) with auto_view. In addition I was able to
launch the attachment in firefox from the attachment menu.
After the changeset, the attchment is always show in w3m. No chance to
open it in firefox.
Is this the proposed solution of this changeset? Is there an alternative
configuration for my purpose?
To fix the problem on my side, I used the patch:
{{{
--- muttlib.c.orig 2010-01-21 11:07:04.000000000 +0100
+++ muttlib.c 2010-01-21 11:17:25.000000000 +0100
@@ -659,6 +659,7 @@
{
case TYPETEXT:
/* we can display any text, overridable by auto_view */
+ if (ascii_strcasecmp ("html", m->subtype))
return 0;
break;
}}}
Any thoughts?
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3246#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent