viewmail-info
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VM] vm-auto-folder-alist and regexps?


From: Uwe Bonnes
Subject: Re: [VM] vm-auto-folder-alist and regexps?
Date: Tue, 20 Jun 2017 18:37:03 +0200

>>>>> "Daniel" == Daniel Barrett <address@hidden> 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 "address@hidden"
    Daniel> in the folder ~/.Mail/myfolder. Here is a value without regexps,
    Daniel> which works correctly:

    Daniel>   (setq vm-auto-folder-alist '( ("From" ("address@hidden"
    Daniel> . "~/.Mail/myfolder")) ("To" ("address@hidden"
    Daniel> . "~/.Mail/myfolder")) ) )

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

    Daniel>   (setq vm-auto-folder-alist '( ("From\|To" ("address@hidden"
    Daniel> . "~/.Mail/myfolder")) ) )

    Daniel> When I use the second value and press "s" to save a message to
    Daniel> or from address@hidden, the folder name (~/.Mail/myfolder) should
    Daniel> auto-fill but does not.

    Daniel> Thanks for any tips!

Try "From\\|To"

Cheers
-- 
Uwe Bonnes                address@hidden

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]