Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* how to work with nnfolder?
@ 2012-11-09  4:25 Easior
  2012-11-09  7:11 ` Adam Sjøgren
  0 siblings, 1 reply; 3+ messages in thread
From: Easior @ 2012-11-09  4:25 UTC (permalink / raw)
  To: info-gnus-english


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]


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-09 11:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-09  4:25 how to work with nnfolder? Easior
2012-11-09  7:11 ` Adam Sjøgren
2012-11-09 11:01   ` Easior

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).