Hi fellow mutters,
just came across a funny bug. It's not limited to fcc-save-hook of cause
it applies for send-hook, etc, too.
fcc-save-hook "~t A | ~t B | ~t C | ~f A | ~f B | ~f C" =abc
works, while
fcc-save-hook "~t (A | B | C) | ~f (A | B | C)" =abc
doesn't. Mutt complains about 'Unmatched ( or \('. Ok, quoting will help.
At least that's what I thought first. But it's even more strange:
fcc-save-hook "~t (A \| B \| C) | ~f (A \| B \| C)" =abc
no way, but:
fcc-save-hook "~t (A\|B\|C) | ~f (A\|B\|C)" =abc
works.
Mutt doesn't complain any more and does what I intended. Why do I have
to leave out the spaces? I did this to make my hooks more legible but
with this 'feature' I wouldn't call the resulting hook legible. :-/
Can anybody explain this strange behavior to me?
Michael
--
"It's God. No, not Richard Stallman, or Linus Torvalds, but God."
(By Matt Welsh)
PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key