X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fgnus.el;h=b60d4e0cf42b1b3d52dcac03935b578e86f25b26;hb=0dccef740390165e58377ef7dd4268a457d6adcd;hp=8b43045ccc9e406becacf9c33411e9278d91970f;hpb=dea644f1c45180d99158c68cb196c9a66fe9d508;p=gnus diff --git a/lisp/gnus.el b/lisp/gnus.el index 8b43045cc..b60d4e0cf 100644 --- a/lisp/gnus.el +++ b/lisp/gnus.el @@ -1355,12 +1355,12 @@ updated if the value of this variable is nil, even if you change the value of `gnus-message-archive-method' afterward. If you want the saved \"archive\" method to be updated whenever you change the value of `gnus-message-archive-method', set this variable to a non-nil value." - :version "23.1" ;; No Gnus + :version "24.1" :group 'gnus-server :group 'gnus-message :type 'boolean) -(defcustom gnus-message-archive-group nil +(defcustom gnus-message-archive-group ((format-time-string "sent.%Y-%m")) "*Name of the group in which to save the messages you've written. This can either be a string; a list of strings; or an alist of regexps/functions/forms to be evaluated to return a string (or a list @@ -1382,6 +1382,9 @@ that case, just return a fully prefixed name of the group -- \"nnml+private:mail.misc\", for instance." :group 'gnus-message :type '(choice (const :tag "none" nil) + (const :tag "Weekly" ((format-time-string "sent.%Yw%U"))) + (const :tag "Monthly" ((format-time-string "sent.%Y-%m"))) + (const :tag "Yearly" ((format-time-string "sent.%Y"))) function sexp string))