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

2015-04-28 Thread martin f krafft
also sprach Cameron Simpson [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 solution^W hack:

Re: Invoking an alternative command on a MIME part

2015-04-28 Thread martin f krafft
also sprach Luis Mochan [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 don't really want t

vs. (was: Invoking an alternative command on a MIME part)

2015-04-28 Thread martin f krafft
also sprach Cameron Simpson [2015-04-28 04:17 +0200]: > I do not properly understand versus . > I would appreciate someone else chiming in here. I think the difference is that tries to render inline (e.g. text/plain) and only resorts to run-mailcap when it has not internal viewer. skips the in

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 si

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 fo

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 , that should auto-

Re: display html email in browser?

2015-04-28 Thread Peter P.
* Francesco Ariis [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) and

Re: display html email in browser?

2015-04-28 Thread Peter Davis
"Peter P." writes: > * Francesco Ariis [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, pr

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. wrote: > * Francesco Ariis [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

Re: display html email in browser?

2015-04-28 Thread Larry Hynes
On 2015-04-28, Peter P. 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 muttils (https://bit

Re: display html email in browser?

2015-04-28 Thread Grant Edwards
On 2015-04-28, Grant Edwards 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, that's a line from ~/

Re: display html email in browser?

2015-04-28 Thread Grant Edwards
On 2015-04-28, Grant Edwards wrote: > On 2015-04-28, Grant Edwards 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

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 b