[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trying to set nnmail-split-methods neatly
From: |
Reiner Steib |
Subject: |
Re: trying to set nnmail-split-methods neatly |
Date: |
Thu, 22 Apr 2004 09:37:54 +0200 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) |
On Thu, Apr 22 2004, Rafael Villarroel wrote:
> (setq common-string "stuff")
>
> (setq nnmail-split-methods
> '(("Foo" (concat common-string "more-stuff")
> "Foo2" (concat common-string "other-stuff")
> ("Misc" ""))))
>
> but everything goes into Misc, even those mails that go into Foo when
> I write that rule directly as ("Foo" "stuffmore-stuff").
(setq common-string "stuff"
nnmail-split-methods
`(("Foo" ,(concat common-string "more-stuff")
"Foo2" ,(concat common-string "other-stuff")
("Misc" ""))))
See (info "(elisp)Backquote") for explanations.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/