On Thu, Jan 31, 2002 at 07:25:41PM +0100, Adam Byrtek wrote:
> On Thu, Jan 31, 2002 at 01:03:32PM -0500, Philip Mak wrote:
> > So, it makes sense for me to keep my inbox clean so that it only
> > contains messages that I still have to "do something" about. Any
> > messages that I have finished, I move them into my "done" folder.
> 
> folder-hook mbox "macro index d '<save-message>=archive\n' 'archive message'"
> folder-hook mbox "macro pager d '<save-message>=archive\n' 'archive message'"
> 
> But I'm not sure is this what are you looking for. If you want to, you
> could add 'synchronize' at the end of this macro, but I prefer not to
> - I tend to delete sometimes some mail by mistake.

That's not quite what I wanted to do. I wouldn't want to save *every*
message to the archive (some messages are not useful to keep around,
e.g. spam etc.).

Making a hook macro to save the message to the archive mailbox would
make it slightly faster, but the synchronize part is also a problem.
Right now, in order to make the moved message disappear immediately
from the message listing, I would have to synchronize, which would
also delete any messages (and also takes a second or two; synchronize
is not instantaneous).

I suspect what I'm talking about would not be possible without hacking
the mutt source code. Anyone have ideas on how to do this (and how
many other people are interested in having such a feature? :).

Reply via email to