* archive
@ 2010-10-09 12:00 Richard Riley
2010-10-09 12:48 ` archive Adam Sjøgren
2010-10-09 14:06 ` archive Andreas Schwab
0 siblings, 2 replies; 3+ messages in thread
From: Richard Riley @ 2010-10-09 12:00 UTC (permalink / raw)
To: nognus
Could some kind soul share their gnus archive settings please. My
archive group is always marked as closed. I tried the example direct
from the manual.
(setq gnus-message-archive-method
'(nnfolder "archive"
(nnfolder-directory (expand-file-name "~/Mail/archive"))
(nnfolder-inhibit-expiry t)
(nnfolder-active-file (expand-file-name
"~/Mail/archive/active"))))
(dirs exist)
Also, should nndrafts be automatic? or do I need a specific select? Its
not clear to me from the manual and I dont have any custom settings
which could disable it.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: archive
2010-10-09 12:00 archive Richard Riley
@ 2010-10-09 12:48 ` Adam Sjøgren
2010-10-09 14:06 ` archive Andreas Schwab
1 sibling, 0 replies; 3+ messages in thread
From: Adam Sjøgren @ 2010-10-09 12:48 UTC (permalink / raw)
To: ding
On Sat, 09 Oct 2010 14:00:13 +0200, Richard wrote:
> Could some kind soul share their gnus archive settings please.
I use this (unchanged since last millenium, I think, so things may be
outdated, but it Works For Me(tm)):
; Mark gcc'ed (archive) as read:
(setq gnus-gcc-mark-as-read t)
; Archive outgoing articles:
(setq gnus-message-archive-method '(nnml "archive"
(nnml-directory "~/Mail/archive")
(nnml-active-file "~/Mail/archive/active")
(nnml-get-new-mail nil)
(nnml-inhibit-expiry t)))
(setq gnus-message-archive-group
'((if (message-news-p)
(concat "news-" (format-time-string "%Y"))
(concat "mail-" (format-time-string "%Y")))))
Best regards,
Adam
--
"None of them kicks go boom Adam Sjøgren
None of them basslines fill the room" asjo@koldfront.dk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: archive
2010-10-09 12:00 archive Richard Riley
2010-10-09 12:48 ` archive Adam Sjøgren
@ 2010-10-09 14:06 ` Andreas Schwab
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2010-10-09 14:06 UTC (permalink / raw)
To: Richard Riley; +Cc: nognus
Richard Riley <rileyrg@googlemail.com> writes:
> Could some kind soul share their gnus archive settings please. My
> archive group is always marked as closed. I tried the example direct
> from the manual.
>
>
> (setq gnus-message-archive-method
> '(nnfolder "archive"
> (nnfolder-directory (expand-file-name "~/Mail/archive"))
You set nnfolder-directory to the list `(expand-file-name
"~/Mail/archive")', but it is supposed to be a string. If you want to
evaluate the list you need to do so explicitly.
(setq gnus-message-archive-method
`(nnfolder "archive"
(nnfolder-directory ,(expand-file-name "~/Mail/archive"))
(nnfolder-inhibit-expiry t)
(nnfolder-active-file ,(expand-file-name "~/Mail/archive/active"))))
Read about backquote in the Emacs Lisp manual (*note (elisp) Backquote::).
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-09 14:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-09 12:00 archive Richard Riley
2010-10-09 12:48 ` archive Adam Sjøgren
2010-10-09 14:06 ` archive Andreas Schwab
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).