* Eric Smith <[EMAIL PROTECTED]> [08/13/01 16:25]:
> | You just have to define some macros. For instance :
> | 
> | macro index d "<delete-message><sync-mailbox>" "delete and sync"
> | macro pager d "<delete-message><sync-mailbox>" "delete and sync"
> | 
>
> Of course !
>
> But slight problem, the sync-mailbox command does not work on my Mutt
> 1.2.5i in the pager - only in the index.  Can check this by going
> exec sync-mailbox
> sync-mailbox: no such command

Ok. I hadn't tested these macros. I forgot <sync-mailbox> is only for
the pager.

> And of course this don't win any prizes cause you dont get to read the mail!
> macro index <return> "<display-message><exit><sync-mailbox>" "read the [...]
        ^^^^^           ^^^^^^^^^^^^^^^^^^^^^^^
              ??? this seems equivalent to... doing nothing !

For the index:
    macro index d "<delete-message><sync-mailbox>"
For the pager:
    macro pager d "<exit><delete-message><sync-mailbox><display-message>"

Er... <delete-message> was indeed the worst example I could have chosen,
because Mutt won't display the mail it has just deleted!  :-/

But you get the idea.

-- 
Cedric

Reply via email to