>>>>> "Daniel" == Daniel Barrett <[email protected]> writes:
Daniel> I can't seem to make vm-auto-folder-alist work with regular
Daniel> expressions in the first argument. Am I doing something wrong?
Daniel> This VM 8.2.0b.
Daniel> For example, I'd like to file all email to or from "[email protected]"
Daniel> in the folder ~/.Mail/myfolder. Here is a value without regexps,
Daniel> which works correctly:
Daniel> (setq vm-auto-folder-alist '( ("From" ("[email protected]"
Daniel> . "~/.Mail/myfolder")) ("To" ("[email protected]"
Daniel> . "~/.Mail/myfolder")) ) )
Daniel> and here is an attempt with regexps, which does not work:
Daniel> (setq vm-auto-folder-alist '( ("From\|To" ("[email protected]"
Daniel> . "~/.Mail/myfolder")) ) )
Daniel> When I use the second value and press "s" to save a message to
Daniel> or from [email protected], the folder name (~/.Mail/myfolder) should
Daniel> auto-fill but does not.
Daniel> Thanks for any tips!
Try "From\\|To"
Cheers
--
Uwe Bonnes [email protected]
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------