muttprint on PDF
Dear mutt users, I have installed 'muttprint' in order to print my mails nicely. The preferred way for printing messages is on a local file instead of sending them to a printing device. 'muttprint' seems to produce Encapsulated PostScript files only, i.e. using LaTeX and not pdfLaTeX to compile them. Is it possible to produce a nicely printed, _local_PDF_file_ when pressing 'p'. This is the corresponding entry in my .muttrc: set print_command=muttprint --printer TO_FILE:$HOME/Desktop/muttprint.eps %s Best, AS
Mark new as read
Hello! I have a simple questions which i haven't on the net. How can i mark every new mail in a folder at once read? I need this espacially for the mailinglists. thx Alex
Re: Mark new as read
* Alex Huth a.h...@tmr.net [08-12-2009 10:37]: I have a simple questions which i haven't on the net. How can i mark every new mail in a folder at once read? I need this espacially for the mailinglists. I have the following macro in my .muttrc (all on one line): macro index ,r tag-pattern~Nentertag-prefixclear-flagNuntag-pattern.enter mark all new messages read Best, -- René Clerc - (r...@clerc.nl) - PGP: 0x9ACE0AC7 Cogito cogito ergo cogito sum. -Ambrose Bierce, The Devil's Dictionary pgpUMDZYcAL54.pgp Description: PGP signature
Re: Mark new as read
On Tue, Dec 08, 2009 at 10:37:55AM +0100, Alex Huth wrote: I have a simple questions which i haven't on the net. How can i mark every new mail in a folder at once read? I need this espacially for the mailinglists. T ~N RET ;N T means 'tag-pattern', ~N is a pattern meaning 'new messages', and ;N toggles the new-flag on all marked messages. -- Joost Kremers Life has its moments
How to match multi-charactors?
Hi, list: I'm trying to limit the messages with the key binding l then =b foo, but I find foo must be English, multi-charactor can't match any messages, so my question is how to let mutt match the messages whose message body contents some particular multi-charactors? -- Hi, Wu, Yue
Re: muttprint on PDF
On 8-12-2009, at 09h 57'56, Angel Spassov wrote about muttprint on PDF Is it possible to produce a nicely printed, _local_PDF_file_ when pressing 'p'. This is the corresponding entry in my .muttrc: set print_command=muttprint --printer TO_FILE:$HOME/Desktop/muttprint.eps %s I was not aware of muttprint producing eps files. It produces ps file which you can convert to pdf using ps2pdf. So, what about: set print_command=muttprint --printer TO_FILE:$HOME/Desktop/muttprint.ps %s;ps2pdf $HOME/Desktop/muttprint.ps;\rm $HOME/Desktop/muttprint.ps Ionel P.S. eps files are to be included in LaTeX (usually images).
Re: muttprint on PDF
Sorry, i did not reply to the list. On Tue, Dec 08, 2009 at 09:57:56AM +0100, Angel Spassov wrote: Dear mutt users, I have installed 'muttprint' in order to print my mails nicely. The preferred way for printing messages is on a local file instead of sending them to a printing device. 'muttprint' seems to produce Encapsulated PostScript files only, i.e. using LaTeX and not pdfLaTeX to compile them. Is it possible to produce a nicely printed, _local_PDF_file_ when pressing 'p'. This is the corresponding entry in my .muttrc: set print_command=muttprint --printer TO_FILE:$HOME/Desktop/muttprint.eps %s try something like: set print_command=muttprint -p - | ps2pdf - mail.pdf well, some time ago, just for fun, i wrote a little script in python to print email directly in pdf without the need of all the dependencies of muttprint (read latex) but is a little bit raw and i think, because i don't really know muttprint and latex, that muttprint is more powerful. if you are interested on it i can put it online to the public mocking. Best, AS m. signature.asc Description: Digital signature
Re: Mark new as read
* Joost Kremers schrieb: On Tue, Dec 08, 2009 at 10:37:55AM +0100, Alex Huth wrote: T ~N RET ;N T means 'tag-pattern', ~N is a pattern meaning 'new messages', and ;N toggles the new-flag on all marked messages. thx, that's great! Alex
Re: muttprint on PDF
On Tue, Dec 08, 2009 at 12:45:37PM +0100, Ionel Mugurel Ciobica wrote: I was not aware of muttprint producing eps files. It produces ps file which you can convert to pdf using ps2pdf. So, what about: if they really are eps files (which would surprise me as well, i admit), they can be converted to pdf with epstopdf, so a similar setting for print_command should work. P.S. eps files are to be included in LaTeX (usually images). they can also be converted to pdf files which can then be included as images in MS Word. (Sometimes you have to... :-( ) -- Joost Kremers Life has its moments
Re: muttprint on PDF
Joost Kremers wrote (08.Dec.2009 at 15:45 +0100): On Tue, Dec 08, 2009 at 12:45:37PM +0100, Ionel Mugurel Ciobica wrote: I was not aware of muttprint producing eps files. It produces ps file which you can convert to pdf using ps2pdf. So, what about: if they really are eps files (which would surprise me as well, i admit), they can be converted to pdf with epstopdf, so a similar setting for print_command should work. My mistake, it is PostScript of course. P.S. eps files are to be included in LaTeX (usually images). they can also be converted to pdf files which can then be included as images in MS Word. (Sometimes you have to... :-( ) Thanks for the fast and helpful replies. I made a mixure of your solutions which seems to suit me just fine (and it looks fairly elegant): set print_command=muttprint -p - | ps2pdf - $HOME/Desktop/muttprint.pdf Anyway, special thanks goes to Marco Giusti for his alternative offer. PS: This is one of the most helpful and friendly lists that I am posting to. -- Joost Kremers Life has its moments Best, AS
Re: mutt on remote host
On Sun, Dec 06, 2009 at 03:19:56PM +0100, Ionel Mugurel Ciobica wrote: I would like to make that automatic. Before I go and write procedures for this I am asking if someone already did this, so I don't need to reinvent the wheel. The shell from witch mutt runs knows about $REMOTEHOST. I also use ssh-agent, so no need to worry about passwords and stuff. Only shortcut I can come up with is that you can pipe the attachment to ssh u...@localmachine cat file-in-homedir.ext when your agent knows a key that can open the connection to the localmachine. Peter
Re: mutt on remote host
On 2009-12-08, Peter Wiersig pe...@friesenpeter.de wrote: On Sun, Dec 06, 2009 at 03:19:56PM +0100, Ionel Mugurel Ciobica wrote: I would like to make that automatic. Before I go and write procedures for this I am asking if someone already did this, so I don't need to reinvent the wheel. The shell from witch mutt runs knows about $REMOTEHOST. I also use ssh-agent, so no need to worry about passwords and stuff. Only shortcut I can come up with is that you can pipe the attachment to ssh u...@localmachine cat file-in-homedir.ext when your agent knows a key that can open the connection to the localmachine. You could write a shell script that uses sshfs to mount the remote directory and then view the file with whatever. http://en.wikipedia.org/wiki/SSHFS http://fuse.sourceforge.net/sshfs.html -- Grant Edwards grante Yow! The FALAFEL SANDWICH at lands on my HEAD and I visi.combecome a VEGETARIAN ...