* Re: different archiving methods depending on group
[not found] <87vfis4jzk.fsf@ultra5.pricerunner.com>
@ 2004-05-19 14:36 ` Reiner Steib
0 siblings, 0 replies; only message in thread
From: Reiner Steib @ 2004-05-19 14:36 UTC (permalink / raw)
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-19 14:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <87vfis4jzk.fsf@ultra5.pricerunner.com>
2004-05-19 14:36 ` different archiving methods depending on group Reiner Steib
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).