Re: mutt, html and chrome

2012-05-18 Thread Paul Tansom
** Luis Mochan moc...@fis.unam.mx [2012-05-15 21:24]: Very recently I started having a curious situation when I open the html version of messages with mutt. My default browser is 'chrome'. Typically, in mutt I press 'v', I find the html message from the list, I press return and the message is

Re: mutt, html and chrome

2012-05-16 Thread Marco Giusti
On Tue, May 15, 2012 at 03:50:56PM -0500, Luis Mochan wrote: Looks more like mutt is handing over the URI file:///tmp/mutt.html to your browser and before this has time to fetch the file, mutt has deleted it again; depends on your configuration in .mailcap I'm using the system's defaults

Re: mutt, html and chrome

2012-05-16 Thread Luis Mochan
Dear Marco, Of course, simplicity is usually best! Thanks! Luis This seems more like an hack but it works most of the times: text/html; /usr/bin/sensible-browser '%s' sleep 2; ... text/html; /usr/bin/iceweasel '%s' sleep 2; ... --

mutt, html and chrome

2012-05-15 Thread Luis Mochan
Very recently I started having a curious situation when I open the html version of messages with mutt. My default browser is 'chrome'. Typically, in mutt I press 'v', I find the html message from the list, I press return and the message is displayed in a new window in my running 'chrome'.

Re: mutt, html and chrome

2012-05-15 Thread Matthias Apitz
El día Tuesday, May 15, 2012 a las 03:22:20PM -0500, Luis Mochan escribió: Very recently I started having a curious situation when I open the html version of messages with mutt. My default browser is 'chrome'. Typically, in mutt I press 'v', I find the html message from the list, I press

Re: mutt, html and chrome

2012-05-15 Thread Luis Mochan
Looks more like mutt is handing over the URI file:///tmp/mutt.html to your browser and before this has time to fetch the file, mutt has deleted it again; depends on your configuration in .mailcap I'm using the system's defaults since some long time ago. I guess the relevant lines in my

Re: mutt, html and chrome

2012-05-15 Thread Michael Ludwig
Luis Mochan schrieb am 15.05.2012 um 15:22 (-0500): If I insist enough times, the message eventually is successfully displayed in my browser. My guess is that there is some kind of race condition which becomes apparent only when my computer is busy, as if the browser tries to read the

Re: mutt, html and chrome

2012-05-15 Thread Luis Mochan
Thanks Michael, I'll try that when I get to my office. I found an alternative solution at http://www.spocom.com/users/gjohnson/mutt/#html by running a simple script that saves the file and then call's the browser. Best regards, Luis On Wed, May 16, 2012 at 12:27:19AM +0200, Michael Ludwig

Re: mutt, html and chrome

2012-05-15 Thread Luis Mochan
I made a small perl script (attached) that replicates the behavior of mutt_netscape by Gary A. Johnson garyj...@spk.agilent.com and which seems to solve my problem of disappearing temporal files before the browser reads them. Thanks for your kind help! Luis On Tue, May 15, 2012 at 07:30:06PM