<<< Date Index >>>     <<< Thread Index >>>

Re: mark as read and save macro don't work correctly, why?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday, October  2 at 09:35 PM, quoth Raphael Brunner:
>folder-hook .          'set sort=reverse-date-received; \
>                                macro index d 
> "<clear-flag>N<save-message>=999-Trash^M<sync-mailbox>"; \
>                                macro pager d 
> "<clear-flag>N<save-message>=999-Trash^M<sync-mailbox>" 
>
>now, if I press 'd' on a message, the N-flag is cleared, but the next
>message is deleted, not the marked. is there some easy way to make this
>macro correct?

The solution to your problem is to unset $resolve at the beginning of 
the macro, and reset it at the end. That will prevent it from moving 
the cursor to the next message after <clear-flag> executes. For more 
information, check out the man page and search for "resolve".

~Kyle
- -- 
If you cannot change your mind, how can you be certain that you have 
one?
                                                             -- Unknown
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFHAqJvBkIOoMqOI14RAhOJAJ48AEGrgWWwxjsw6tpW7LKpoXH/igCgwpTl
Gfg3g5/UbYB6maaSGPsgH2Q=
=uAdq
-----END PGP SIGNATURE-----