info-gnus-english
[Top][All Lists]
Advanced

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

Archiving


From: Luzio
Subject: Archiving
Date: Tue, 24 May 2011 19:59:29 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hello. I have a basic problem. I'm setting up my gnus newsreader and
i'd like to have fine control over the archiving sent messages.
Manual reads: 

   Save to different groups based on what group you are in:
     (setq gnus-message-archive-group
           '(("^alt" "sent-to-alt")
             ("mail" "sent-to-mail")
             (".*" "sent-to-misc")))

   More complex stuff:
     (setq gnus-message-archive-group
           '((if (message-news-p)
                 "misc-news"
               "misc-mail")))


What i need is to archive the news messages only. So i wrote to my
.gnus.el:

     (setq gnus-message-archive-group
           '((if (message-news-p)
            '(("^alt" "sent-to-alt")
             ("mail" "sent-to-mail")
             (".*" "sent-to-misc"))
               nil)))

But i'm getting an error. Why?


reply via email to

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