Re: Suggestion when saving mails

2010-07-22 Thread David Champion
* On 21 Jul 2010, Roger wrote: Since I'm always saving/moving email to $HOME/.maildir/.Spam... you would think Mutt would catch-on after the 10th email. ;-) I attach the following macros to the z key in my .muttrc macro index z s=mutt/spam\n move message to spam macro pager z

Suggestion when saving mails

2010-07-21 Thread Christoph Kluenter
Hi all, when I press s to save a mail to another folder, mutt suggest the foldername. But mutt is mostly always wrong :-) So I thought it would be nice if I could write my own script which would parse the mail and suggest a folder. Is something like this possible or feasable ? Alternatively I

Re: Suggestion when saving mails

2010-07-21 Thread Joost Kremers
On Wed, Jul 21, 2010 at 09:36:54AM +0200, Christoph Kluenter wrote: when I press s to save a mail to another folder, mutt suggest the foldername. But mutt is mostly always wrong :-) So I thought it would be nice if I could write my own script which would parse the mail and suggest a

Re: Suggestion when saving mails

2010-07-21 Thread Christoph Kluenter
* Am Wed, Jul 21, 2010 at 10:02:08AM +0200 , schrieb Joost Kremers: On Wed, Jul 21, 2010 at 09:36:54AM +0200, Christoph Kluenter wrote: when I press s to save a mail to another folder, mutt suggest the foldername. But mutt is mostly always wrong :-) So I thought it would be nice if I

Re: Suggestion when saving mails

2010-07-21 Thread Rado S
=- Christoph Kluenter wrote on Wed 21.Jul'10 at 10:30:34 +0200 -= Thank you very much. save-hooks is exactly what I want. There are some vars controlling save-location, if you want to make it constant. -- © Rado S. -- You must provide YOUR effort for your goal! EVERY effort counts: at least

Re: Suggestion when saving mails

2010-07-21 Thread Roger
On Wed, Jul 21, 2010 at 09:36:54AM +0200, Christoph Kluenter wrote: Hi all, when I press s to save a mail to another folder, mutt suggest the foldername. But mutt is mostly always wrong :-) So I thought it would be nice if I could write my own script which would parse the mail and suggest a

Re: Suggestion when saving mails

2010-07-21 Thread Patrick Shanahan
* Roger rog...@sdf.org [07-21-10 14:57]: You do have a valid point with Mutt being *always* wrong, to the point it just makes up some folder name that doesn't even exist from the idea of the sender's email address! mutt can only be wrong as it is configured (or not) to be. A likely more

Re: Suggestion when saving mails

2010-07-21 Thread Roger
On Wed, Jul 21, 2010 at 06:50:12PM +0200, Rado S wrote: =- Christoph Kluenter wrote on Wed 21.Jul'10 at 10:30:34 +0200 -= Thank you very much. save-hooks is exactly what I want. There are some vars controlling save-location, if you want to make it constant. force_name save_name?

Re: Suggestion when saving mails

2010-07-21 Thread Steve Searle
Around 07:56pm on Wednesday, July 21, 2010 (UK time), Roger scrawled: Since I'm always saving/moving email to $HOME/.maildir/.Spam... you would think Mutt would catch-on after the 10th email. ;-) I attach the following macros to the z key in my .muttrc macro index z s=mutt/spam\n move

Re: Suggestion when saving mails

2010-07-21 Thread Roger
On Wed, Jul 21, 2010 at 10:12:34PM +0100, Steve Searle wrote: Around 07:56pm on Wednesday, July 21, 2010 (UK time), Roger scrawled: Since I'm always saving/moving email to $HOME/.maildir/.Spam... you would think Mutt would catch-on after the 10th email. ;-) I attach the following macros to the