comparison lisp/gnus/gnus-agent.el @ 90233:ee12d75eb214

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-85 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 556-561) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 122-124) - Update from CVS: lisp/mm-url.el (mm-url-decode-entities): Fix regexp. - Update from CVS
author Miles Bader <miles@gnu.org>
date Sun, 25 Sep 2005 22:07:01 +0000
parents 10fe5fadaf89 cb3218d6e82a
children 7beb78bc1f8e
comparison
equal deleted inserted replaced
90232:eab32348047a 90233:ee12d75eb214
116 :type 'function) 116 :type 'function)
117 117
118 (defcustom gnus-agent-synchronize-flags t 118 (defcustom gnus-agent-synchronize-flags t
119 "Indicate if flags are synchronized when you plug in. 119 "Indicate if flags are synchronized when you plug in.
120 If this is `ask' the hook will query the user." 120 If this is `ask' the hook will query the user."
121 ;; If the default switches to something else than nil, then the function
122 ;; should be fixed not be exceedingly slow. See 2005-09-20 ChangeLog entry.
121 :version "21.1" 123 :version "21.1"
122 :type '(choice (const :tag "Always" t) 124 :type '(choice (const :tag "Always" t)
123 (const :tag "Never" nil) 125 (const :tag "Never" nil)
124 (const :tag "Ask" ask)) 126 (const :tag "Ask" ask))
125 :group 'gnus-agent) 127 :group 'gnus-agent)
2932 ;; expiration statistics of this single group 2934 ;; expiration statistics of this single group
2933 (gnus-agent-expire-stats (list 0 0 0.0))) 2935 (gnus-agent-expire-stats (list 0 0 0.0)))
2934 (if (or (not (eq articles t)) 2936 (if (or (not (eq articles t))
2935 (yes-or-no-p 2937 (yes-or-no-p
2936 (concat "Are you sure that you want to " 2938 (concat "Are you sure that you want to "
2937 "expire all articles in " group "."))) 2939 "expire all articles in " group "? ")))
2938 (let ((gnus-command-method (gnus-find-method-for-group group)) 2940 (let ((gnus-command-method (gnus-find-method-for-group group))
2939 (overview (gnus-get-buffer-create " *expire overview*")) 2941 (overview (gnus-get-buffer-create " *expire overview*"))
2940 orig) 2942 orig)
2941 (unwind-protect 2943 (unwind-protect
2942 (let ((active-file (gnus-agent-lib-file "active"))) 2944 (let ((active-file (gnus-agent-lib-file "active")))
3306 3308
3307 (if group 3309 (if group
3308 (gnus-agent-expire-group group articles force) 3310 (gnus-agent-expire-group group articles force)
3309 (if (or (not (eq articles t)) 3311 (if (or (not (eq articles t))
3310 (yes-or-no-p "Are you sure that you want to expire all \ 3312 (yes-or-no-p "Are you sure that you want to expire all \
3311 articles in every agentized group.")) 3313 articles in every agentized group? "))
3312 (let ((methods (gnus-agent-covered-methods)) 3314 (let ((methods (gnus-agent-covered-methods))
3313 ;; Bind gnus-agent-expire-current-dirs to enable tracking 3315 ;; Bind gnus-agent-expire-current-dirs to enable tracking
3314 ;; of agent directories. 3316 ;; of agent directories.
3315 (gnus-agent-expire-current-dirs nil) 3317 (gnus-agent-expire-current-dirs nil)
3316 ;; Bind gnus-agent-expire-stats to enable tracking of 3318 ;; Bind gnus-agent-expire-stats to enable tracking of