Over on <URL:news:comp.mail.mutt> someone was trying to work out how to easily get into mutt's "-y screen" once mutt is up and running. They also wanted to ensure that the current mailbox "state" was saved before changing to this new screen. The obvious answer seems to be something like this: ,---- | macro index "y" "<sync-mailbox><change-folder>?<toggle-mailboxes>" | macro pager "y" "<sync-mailbox><change-folder>?<toggle-mailboxes>" `---- This works fine *unless* the mailbox you're currently in is empty. Instead the macro stops playing after the <sync-mailbox> because, instead of syncing the empty mailbox, it generates a "There are no messages". Two questions arise from this. First, is there a reason why the syncing of an empty mailbox is considered to be an error? Second, if there is a good reason for this can anyone think of a method of doing the above and have it work in non-empty and empty folders? -- Take a look in Hagbard's World: | mutt.octet.filter - autoview octet-streams http://www.hagbard.demon.co.uk/ | mutt.vcard.filter - autoview simple vcards http://www.acemake.com/hagbard/ | muttrc2html - muttrc -> HTML utility Free software, including........| muttrc.sl - Jed muttrc mode
