On Jan 29, parv [[EMAIL PROTECTED]] wrote:
> "when you want something done, you have to do it yourself."
> 
> enough w/ all the fudging!  given all the guesses flying around, i
> fed up and tried on my own.  so here it is...

Er, what fudging?  What you have is pretty much identical to what was
suggested.  Oh well.

> # next three lines should be one;
> # wrapped for email
> macro index <Esc>z \
>  '<tag-pattern> ~P<enter><tag-prefix><clear-flag>N<untag-pattern> ~P<enter>' \
>  "mark messages read sent by  me"
> #
> # after defining key binding, make it execute for every folder
> #
> folder-hook . 'push \ez'
> 
> ...i tried to put the whole macro in to the folder hook; but i kept
> getting "unknown command" w/...
> 
> folder-hook . '<tag-pattern>'

Yes, because folder-hooks can only take commands.  <tag-pattern> is a
function.  push is a command.  You need 'push <tag-pattern>...'

> ...and "too many arguments" w/ ...
> 
> folder-hook . 'push T~P'

This is probably because you have multiple matching folder-hooks w/push or
something, and you don't have an <enter> in there, so they all end up in
the same keyboard buffer and manage to create an illegal command.

Attachment: msg23941/pgp00000.pgp
Description: PGP signature

Reply via email to