I can't seem to make vm-auto-folder-alist work with regular
expressions in the first argument. Am I doing something wrong? This VM
8.2.0b.

For example, I'd like to file all email to or from "[email protected]" in
the folder ~/.Mail/myfolder. Here is a value without regexps, which
works correctly:

  (setq vm-auto-folder-alist
      '(
        ("From" ("[email protected]" . "~/.Mail/myfolder"))
        ("To" ("[email protected]" . "~/.Mail/myfolder"))
       )
  )

and here is an attempt with regexps, which does not work:

  (setq vm-auto-folder-alist
      '(
        ("From\|To" ("[email protected]" . "~/.Mail/myfolder"))
       )
  )

When I use the second value and press "s" to save a message to or from
[email protected], the folder name (~/.Mail/myfolder) should auto-fill but
does not.

Thanks for any tips!

--
Dan Barrett
[email protected]


Reply via email to