On 23Oct2011 06:15, du yang <[email protected]> wrote: | On Sunday 10/23/11 05:35:49 CST, Cameron Simpson wrote: | > I have a folder-hook that's seeming to not work. It is thus: | > | > folder-hook . 'push ":set auto_tag=no<enter><untag-pattern>~T<enter><tag-pattern>~=<enter><tag-prefix-cond><tag-prefix><delete-message><untag-pattern>~T<enter><end-cond>:set auto_tag=yes<enter>" | >[...] | | > It has just occurred to me, as I type this, from the name | > "tag-prefix-cond", that it is not a little "if" statement but a | > variant of "tag-prefix" - is that the case? Should I just drop the inner | > "tag-prefix"? | | Yes, "tag-prefix-cond" is a variant of "tag-prefix". normally the | action after "tag-prefix" would be done on the current selected message | if there is no matching. But "tag-prefix-cond" will do nothing.
Thanks. I've changed my: <tag-prefix-cond><tag-prefix> into: <tag-prefix-cond> and things seem to be working now. Cheers, -- Cameron Simpson <[email protected]> DoD#743 http://www.cskk.ezoshosting.com/cs/ On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. - Babbage
