Re: Invoking an alternative command on a MIME part

2015-04-28 Thread Luis Mochan
Oh, but now you need a different pipe depending on the file type, e.g. for PDF and PNG. I don't really want that as mailcap already handles this. I use it only when I want to override mailcap for whatever reason, and then I specify the program I want to use in the pipe command. Otherwise I

Re: display html email in browser?

2015-04-28 Thread Francesco Ariis
On Tue, Apr 28, 2015 at 12:09:34PM -0400, Peter P. wrote: Dear fellow mutt users, Is there a way to have an html email rendered and displayed in a browser window? Hello Peter, once opened the message, press 'v' (view-attachments) and then select the .html one and press enter, that should

Re: display html email in browser?

2015-04-28 Thread Peter P.
* Francesco Ariis fa...@ariis.it [2015-04-28 12:47]: On Tue, Apr 28, 2015 at 12:09:34PM -0400, Peter P. wrote: Dear fellow mutt users, Is there a way to have an html email rendered and displayed in a browser window? Hello Peter, once opened the message, press 'v' (view-attachments)

display html email in browser?

2015-04-28 Thread Peter P.
Dear fellow mutt users, Is there a way to have an html email rendered and displayed in a browser window? I tried saving the html message part to disk and opened that file, but there was no formatting, and some symbols were wrong. Motivation: Wanting to print a few html emails in their original

Re: display html email in browser?

2015-04-28 Thread Grant Edwards
On 2015-04-28, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2015-04-28, Grant Edwards grant.b.edwa...@gmail.com wrote: Yep. What many of us do is use w3m to view inside mutt, and then define a 'print' command to view it externally: text/html; w3m -T text/html -dump; copiousoutput;

How best to build on Ubuntu (15.04) ?

2015-04-28 Thread Xu Wang
Dear Mutt users, I am quite happy to begin using Mutt. I would like to build Mutt on Ubuntu 15.04. However, I am confused because of all the different patches there exist. Does someone have a script that they would be interested in sharing which does a build that is sensible? For example, how to

Re: display html email in browser?

2015-04-28 Thread Grant Edwards
On 2015-04-28, Grant Edwards grant.b.edwa...@gmail.com wrote: Yep. What many of us do is use w3m to view inside mutt, and then define a 'print' command to view it externally: text/html; w3m -T text/html -dump; copiousoutput; print = firefoxurl %s; Uh, in case your crystal ball was broken,

Re: display html email in browser?

2015-04-28 Thread Peter Davis
Peter P. peterpar...@fastmail.com writes: * Francesco Ariis fa...@ariis.it [2015-04-28 12:47]: On Tue, Apr 28, 2015 at 12:09:34PM -0400, Peter P. wrote: Dear fellow mutt users, Is there a way to have an html email rendered and displayed in a browser window? Hello Peter, once opened

Re: display html email in browser?

2015-04-28 Thread Francesco Ariis
On Tue, Apr 28, 2015 at 01:02:52PM -0400, Peter P. wrote: Thanks Francesco, That way the message gets displayed inside mutt using w3m. In my .muttrc I have set auto_view text/html application/x-pgp-message and text/html; /usr/bin/w3m -dump -T text/html '%s'; copiousoutput;

Re: display html email in browser?

2015-04-28 Thread Grant Edwards
On 2015-04-28, Peter P. peterpar...@fastmail.com wrote: * Francesco Ariis fa...@ariis.it [2015-04-28 12:47]: On Tue, Apr 28, 2015 at 12:09:34PM -0400, Peter P. wrote: Dear fellow mutt users, Is there a way to have an html email rendered and displayed in a browser window? Hello Peter,

Re: Invoking an alternative command on a MIME part

2015-04-28 Thread martin f krafft
also sprach Luis Mochan moc...@fis.unam.mx [2015-04-28 04:36 +0200]: What I do in similar situations is pipe the attachment to a helper (I call it muttfilter) that accepts as first argument a file name, Oh, but now you need a different pipe depending on the file type, e.g. for PDF and PNG. I

view-attach vs. view-mailcap (was: Invoking an alternative command on a MIME part)

2015-04-28 Thread martin f krafft
also sprach Cameron Simpson c...@zip.com.au [2015-04-28 04:17 +0200]: I do not properly understand view-mailcap versus view-attach. I would appreciate someone else chiming in here. I think the difference is that view-attach tries to render inline (e.g. text/plain) and only resorts to

[working hack found] Re: Invoking an alternative command on a MIME part

2015-04-28 Thread martin f krafft
also sprach Cameron Simpson c...@zip.com.au [2015-04-28 04:17 +0200]: Sounds like a job for a mutt macro. A first cut would be to write a macro which pointed $mailcap_path at a different mailcap file, then ran view-attach, then restored the old value. Yes! This idea led me to a working

Re: display html email in browser?

2015-04-28 Thread Larry Hynes
On 2015-04-28, Peter P. peterpar...@fastmail.com wrote: Dear fellow mutt users, Is there a way to have an html email rendered and displayed in a browser window? I tried saving the html message part to disk and opened that file, but there was no formatting, and some symbols were wrong. I use