Daniel Barrett
2017-06-20 16:32:21 UTC
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 "***@bar.com" in
the folder ~/.Mail/myfolder. Here is a value without regexps, which
works correctly:
(setq vm-auto-folder-alist
'(
("From" ("***@bar.com" . "~/.Mail/myfolder"))
("To" ("***@bar.com" . "~/.Mail/myfolder"))
)
)
and here is an attempt with regexps, which does not work:
(setq vm-auto-folder-alist
'(
("From\|To" ("***@bar.com" . "~/.Mail/myfolder"))
)
)
When I use the second value and press "s" to save a message to or from
***@bar.com, the folder name (~/.Mail/myfolder) should auto-fill but
does not.
Thanks for any tips!
--
Dan Barrett
***@blazemonger.com
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 "***@bar.com" in
the folder ~/.Mail/myfolder. Here is a value without regexps, which
works correctly:
(setq vm-auto-folder-alist
'(
("From" ("***@bar.com" . "~/.Mail/myfolder"))
("To" ("***@bar.com" . "~/.Mail/myfolder"))
)
)
and here is an attempt with regexps, which does not work:
(setq vm-auto-folder-alist
'(
("From\|To" ("***@bar.com" . "~/.Mail/myfolder"))
)
)
When I use the second value and press "s" to save a message to or from
***@bar.com, the folder name (~/.Mail/myfolder) should auto-fill but
does not.
Thanks for any tips!
--
Dan Barrett
***@blazemonger.com