Re: A tool for printing from notmuch

2011-01-29 Thread Sebastian Spaeth
On Fri, 28 Jan 2011 15:25:28 -0500, Jesse Rosenthal jrosent...@jhu.edu wrote: Dear all, Printing from notmuch is a bit of a pain. Hi Jesse, that sounds like a fantastic solution and I will look into it, so far I have been printing the buffers which does not include attachments at all. I

Re: A tool for printing from notmuch

2011-01-28 Thread Andreas Amann
Dear Jesse, Printing from notmuch is a bit of a pain. Muttprint doesn't really help much, because it can't handle multiparts well, doesn't know what to do with html, and will print out pages of base64 if you have attachments. And more often than not, what I need to print is an HTML email (a

Re: A tool for printing from notmuch

2011-01-28 Thread Jesse Rosenthal
Hi Andreas, On Fri, 28 Jan 2011 20:59:06 +, Andreas Amann a.am...@ucc.ie wrote: Unfortunately I could not get it to work with python2.7: Traceback (most recent call last): File /home/amann/local/bin/notmuchprint, line 284, in module main(config) File

Re: A tool for printing from notmuch

2011-01-28 Thread Jesse Rosenthal
On Fri, 28 Jan 2011 16:11:00 -0500, Jesse Rosenthal jrosent...@jhu.edu wrote: Hmm... looks like a problem with ConfigParser. Maybe the default values aren't working well? Yep, that was the problem. It turns out it doesn't take True and False as defaults -- needs strings (yes, no, true, false)

Re: A tool for printing from notmuch

2011-01-28 Thread Andreas Amann
On Fri, 28 Jan 2011 16:11:00 -0500, Jesse Rosenthal jrosent...@jhu.edu wrote: Hmm... looks like a problem with ConfigParser. Maybe the default values aren't working well? Try setting up a ~/.notmuchprintrc: notmuch_command: /usr/local/bin/notmuch browser_command: /usr/bin/firefox