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

macro to unset flags and save to folder



Hi there,

I have this small annoyance and I seem to be unable to figure out how to
solve it. At this moment I have this in my .muttrc:

  macro index,pager       "\Ca"           "s^.2008\n"

This works perfect. But to make it even more perfectly, I want to have
it to clear any "new" or "old" message flags. I am aware this should be
possible with the <clear-flag> commands. However, when doing something
like the following, it doesn't do the things I want:

  macro index     "\Ca"           "<enter-command>set resolve=no<enter>\
                                        <clear-flag>N\
                                        <clear-flag>O\
                                        <save-message>^.2008<enter>\
                                        <enter-command>set resolve=yes<enter>"

In one way or another it will clear flags on messages and archive the
messages which I do not intend to clear the flags and to archive. I
presume this is influenced by the "resolve" variable, but even when
disabling that variable it doesn't do what I want.

Does anyone have any idea?

-- 
Rejo Zenger <rejo@xxxxxxxxx> https://rejo.zenger.nl

Attachment: signature.asc
Description: Digital signature