On Sat, Mar 22, 2003 at 08:07:22AM -0500, Anthony E. Greene wrote:
> On 22-Mar-2003/10:31 +0200, [EMAIL PROTECTED] wrote:
> >
> >  Ask me if I would like to move a message highlighted in the index to
> >  the mailbox 'spam'.
> >
> >I suppose my main question is how to create a macro that first copies the
> >mail to mailbox 'spam' (or at least asks me if I would like to copy it 
> >there) AND THEN marks the message for deletion.
> 
> Uhh... "move" is the same as "copy, then delete original". Try it on a
> file if you need to convince yourself:

Uhh...  This is mutt, not a shell.  The copy/delete command is save.
You would save to =spam to append the message to mailbox spam (mutt will
prompt to create the spam folder if it doesn't exist) then flag the
message for delete.

So...  the simple command is:

macro index <f2> s=spam

You may want to bind the key in the pager mode as well.

>   mv thisfile /tmp
> 
> is the same as 
> 
>   cp thisfile /tmp
>   rm thisfile

A google search on "mutt macro move message" would have found lots of
suggestions on how this is done.  The linuxworld article is pretty
decent (from a quick scan anyway).

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to