<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3246: Please make the internal viewer open diffs and/or



* Mutt <fleas@xxxxxxxx> [2009-06-17 19:34]:
> #3246: Please make the internal viewer open diffs and/or text/*
> -------------------------------+--------------------------------------------
>   Reporter:  antonio@xxxxxxxx  |       Owner:  mutt-dev
>       Type:  enhancement       |      Status:  closed  
>   Priority:  trivial           |   Milestone:          
>  Component:  display           |     Version:  1.5.19  
> Resolution:  fixed             |    Keywords:          
> -------------------------------+--------------------------------------------
> Changes (by Rocco Rutte <pdmef@xxxxxxx>):

>   * status:  new => closed
>   * resolution:  => fixed


> Comment:

>  (In [4b5326d8d2ee]) Always display text/* parts inline, overrideable by
>  auto_view. Closes #3246.

Dear list,

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?

Thank you
Alex

-- 
Alex Pleiner <pleiner@xxxxxxxxxxx>      zeitform Internet Dienste OHG
Tel./Fax: +49 (0) 6151 155-635 / -634   Fraunhoferstraße 5
PGP S/MIME: http://key.zeitform.de/ap   64283 Darmstadt, Germany
Reg: HRA 6898 (Amtsgericht Darmstadt)   http://www.zeitform.de