[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: different archiving methods depending on group
From: |
Reiner Steib |
Subject: |
Re: different archiving methods depending on group |
Date: |
Wed, 19 May 2004 16:36:39 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
On Wed, May 19 2004, Gustaf Erikson wrote:
> I would like the following archiving scenario:
>
> * When sending mail, archive to the nnfolder archive group misc-mail.
>
> * When posting news, archive to the nnfolder archive group misc-news.
>
> * When using IMAP, archive to the IMAP folder INBOX.Sent.
Untested:
(setq gnus-message-archive-group
'((cond
((string-match "^nnimap" gnus-newsgroup-name)
"nnimap+company-mail:INBOX.Sent")
((message-news-p)
"nnfolder+archive:misc-news")
(t
"nnfolder+archive:misc-mail"))))
See also (info "(gnus)Archived Messages") and (info "(elisp)Conditionals").
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/