[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RESOLVED Re: Regexp in nnmail-split-methods (was Re: cleaning up a big r
From: |
Tory S. Anderson |
Subject: |
RESOLVED Re: Regexp in nnmail-split-methods (was Re: cleaning up a big regexp) |
Date: |
Wed, 17 Sep 2014 17:20:31 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
That did the trick. Thanks!
sokobania.01@gmail.com writes:
> Le mardi 16 septembre 2014 13:05:16 UTC+2, Tory S. Anderson a écrit :
>> (setq nnmail-split-methods
>>
>> ; '(("mail.bulk" my-bulk-from) ;; breaks my split-methods
>>
>> ("mail.bulk"
>> "^From:.*\\(?:@\\(?:facebookmail\\.com\\|lin\\(?:guistlist\\.org\\|kedin\\.com\\)\\|\\(?:maillist\\.codeproject\\|p\\(?:apajohns-specials\\|lus\\.google\\)\\|qomail\\.quikorder\\|sportsauthority\\|twitter\\|youtube\\)\\.com\\)\\)")
>
> You have to use a backquote (or backtick) and a comma to replace the symbol
> my-bulk-from by its value in the list you create:
> (setq nnmail-split-methods
> `(("mail.bulk" ,my-bulk-from) ;; Won't break my split-methods
> ("mail.bulk"
> "^From:.*\\(?:@\\(?:facebookmail\\.com\\|lin\\(?:guistlist\\.org\\|kedin\\.com\\)\\|\\(?:maillist\\.codeproject\\|p\\(?:apajohns-specials\\|lus\\.google\\)\\|qomail\\.quikorder\\|sportsauthority\\|twitter\\|youtube\\)\\.com\\)\\)")
>
> This is some lispish stuff...
> HTH
> )jack(
- Re: cleaning up a big regexp, (continued)
- Re: cleaning up a big regexp, Tory S. Anderson, 2014/09/15
- Re: cleaning up a big regexp, Michael Albinus, 2014/09/15
- Re: cleaning up a big regexp, Tory S. Anderson, 2014/09/15
- Re: cleaning up a big regexp, Michael Albinus, 2014/09/15
- Re: cleaning up a big regexp, Stefan Monnier, 2014/09/15
- Re: cleaning up a big regexp, Michael Albinus, 2014/09/15
- Thanks! Re: cleaning up a big regexp, Tory S. Anderson, 2014/09/15
- Re: cleaning up a big regexp, Stefan Monnier, 2014/09/15
- Regexp in nnmail-split-methods (was Re: cleaning up a big regexp), Tory S. Anderson, 2014/09/16
- Message not available
- Re: Regexp in nnmail-split-methods (was Re: cleaning up a big regexp), sokobania . 01, 2014/09/16
- RESOLVED Re: Regexp in nnmail-split-methods (was Re: cleaning up a big regexp),
Tory S. Anderson <=