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

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

how to work with nnfolder?


From: Easior
Subject: how to work with nnfolder?
Date: Fri, 09 Nov 2012 12:25:16 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

hi, all.

To archive the messages sent, I use

;; Tell gnus which method to use for archives (nnfolder)
(setq gnus-message-archive-method
           '(nnfolder "archive"
                 (nnfolder-directory "~/.emacs.d/gnus/Mail/archive/")
                 (nnfolder-active-file
"~/.emacs.d/gnus/Mail/archive/active")
                 (nnfolder-get-new-mail nil)
                 (nnfolder-inhibit-expiry t)))
;; Tell gnus into which group to store messages
(setq gnus-message-archive-group
      '((if (message-news-p)
            "nnfolder+archive:sent.news"
            "nnfolder+archive:sent.mail")))

However, there is something weird happened. When I send a message by gnus,
I'll find that a file named 'mail' will be created in the directory
"~/.emacs.d/gnus/Mail/archive/sent/". In fact, it is not correct. Gnus
should create a file, e.g. named '1', in the directory
"~/.emacs.d/gnus/Mail/archive/sent/mail". If I
only use the following configuration

;; Tell gnus into which group to store messages
(setq gnus-message-archive-group
      '((if (message-news-p)
            "nnml+POP:sent.news"
            "nnml+POP:sent.mail")))

everything is ok. What's happened?

Thanks in advance.

Cheers,

Easior

-- 
自从你离开了以后,我一直等待着你回来
心痛的时候,真是好辛苦
My homepage:[http://xxxxxxxx]




reply via email to

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