On 25 Jan 2008 11:24 -0500, by [EMAIL PROTECTED] (Ross Vandegrift):
> macro index     $       <sync-mailbox>c!<enter>

You might want to try something like this:

macro index $ '<enter-command>set delete=yes 
move=yes<enter><sync-mailbox><change-folder>^<enter><enter-command>set 
move=ask-yes delete=ask-yes<enter>'

It all goes on one line in your .muttrc (in case it wraps) and adjust
as desired at the end.

The "^" means "current mailbox", so if you use this macro in a mailbox
other than your inbox, you don't get thrown out of it.

The one downside of this that I can think of is that it repositions
the current message indicator as the mailbox is reloaded, but that
seems like a relatively small trade-off.

-- 
Michael Kjörling .. [EMAIL PROTECTED] .. http://michael.kjorling.se
* ..... No bird soars too high if he soars with his own wings ..... *
* ENCRYPTED email preferred -- OpenPGP key ID: 0x(758F8749)BDE9ADA6 *
* ASCII Ribbon Campaign: Against HTML mail, proprietary attachments *

Attachment: pgprPFRhW5Siq.pgp
Description: PGP signature

Reply via email to