It is not clear from the manual against what the folder-hook command
matches the given pattern.

Let's say my folders are under /home/itz/foobar/ , and /home/itz/Mail is
a symbolic link to foobar.  Let us further assume the following is set
globally:

set folder=~/Mail

(I can neither confirm nor deny that this is in fact the case :)

Which of the following will fire when entering /home/itz/foobar/inbox ?


folder-hook ^inbox "my_hdr X-Foo: Bar"

folder-hook ^=inbox "my_hdr X-Foo: Bar"

folder-hook Mail/inbox "my_hdr X-Foo: Bar"

folder-hook ~/Mail/inbox "my_hdr X-Foo: Bar"

folder-hook foobar/inbox "my_hdr X-Foo: Bar"

folder-hook ~/foobar/inbox "my_hdr X-Foo: Bar"

folder-hook /home/itz/Mail/inbox "my_hdr X-Foo: Bar"

folder-hook /home/itz/foobar/inbox "my_hdr X-Foo: Bar"


Now assume in addition that inbox is in fact a maildir.  Will this
match, and similarly for all the other variants?

folder-hook ^inbox/ "my_hdr X-Foo: Bar"

Thanks for your kind attention ...

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.

Reply via email to