2003-02-24 Reiner Steib <Reiner.Steib@gmx.de>
[gnus] / lisp / ChangeLog
1 2003-02-24  Reiner Steib  <Reiner.Steib@gmx.de>
2
3         * mail-source.el (mail-source-delete-incoming): Allow integer value.
4         (mail-source-delete-old-incoming-confirm): New variable.
5         (mail-source-delete-old-incoming): Use it.  New function.
6         (mail-source-callback): Call `mail-source-delete-old-incoming' if
7         `mail-source-delete-incoming' is a nonnegative integer.
8
9 2003-03-03  Reiner Steib  <Reiner.Steib@gmx.de>
10
11         * gnus-msg.el (gnus-extended-version): Fix for 'emacs-gnus-config.
12         (gnus-user-agent): Fixed typo.
13
14 2003-03-03  Kevin Greiner  <kgreiner@xpediantsolutions.com>
15
16         * gnus-agent.el (gnus-agent-enable-expiration): Fixed documentation.
17         (gnus-agent-expire-group-1): Removed invalid (interactive) specifier.
18
19 2003-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20
21         * gnus-agent.el (gnus-agent-fetch-articles): Fix nil message.
22         (gnus-agent-fetch-session): Allow debugging to take place.
23
24 2003-03-03  Jesper Harder  <harder@ifa.au.dk>
25
26         * gnus-sum.el (gnus-highlight-selected-summary)
27         (gnus-article-get-xrefs, gnus-summary-show-thread): Use
28         `gnus-point-at-bol' and `gnus-point-at-eol' instead of
29         `(progn (beginning-of-line) (point))'.  It's shorter, faster,
30         and makes it clear that we don't need the side effect.
31         * gnus-util.el (gnus-delete-line): do.  
32         * gnus-xmas.el (gnus-group-add-icon): do.
33         * nnmail.el (nnmail-article-group, nnmail-cache-fetch-group): do.
34         * nntp.el (nntp-send-authinfo-from-file): do.
35         * nnml.el (nnml-header-value): do.
36         * nnheader.el (nnheader-insert-references): do.
37         * gnus-cite.el (gnus-article-highlight-citation) 
38         (gnus-cite-parse): do.
39         * gnus-score.el (gnus-score-followup): do.
40         * gnus-draft.el (gnus-draft-send): do.
41         * gnus-group.el (gnus-group-highlight-line): do.
42         * gnus-cache.el (gnus-cache-braid-nov): do.
43         * nnfolder.el (nnfolder-retrieve-headers)
44         (nnfolder-request-article): do.
45         * gnus-art.el (article-hide-boring-headers)
46         (gnus-article-hide-header): do.
47         
48         * nnheader.el (nnheader-find-nov-line): Use gnus-delete-line.
49         * nnml.el (nnml-request-replace-article): do.
50         * nnmbox.el (nnmbox-request-move-article, nnmbox-delete-mail): do.
51         * nnfolder.el (nnfolder-request-move-article): do.
52         * gnus-cache.el (gnus-cache-possibly-remove-article): do.
53         * gnus-art.el (gnus-mm-display-part): do.
54
55         * gnus-art.el (gnus-article-goto-part): Use gnus-goto-char.
56         
57 2003-03-02  Kevin Greiner  <kgreiner@xpediantsolutions.com>
58
59         * nntp.el (nntp-possibly-change-group): Avoid calling
60         process-buffer on nil (Which happened when you lost your
61         connection while fetching); instead signal a "Server Closed
62         Connection" error.
63
64 2003-03-02  Kevin Greiner  <kgreiner@xpediantsolutions.com>
65
66         * gnus-agent.el (gnus-agent-enable-expiration): New
67         variable. Either ENABLE or DISABLE.  Sets default behavior for
68         selecting which groups are expired.
69         (gnus-agent-cat-set-property, gnus-agent-cat-defaccessor,
70         gnus-agent-set-cat-groups): Provides abstract interface for
71         accessing agent category.  Category now implemented by an alist.
72         (gnus-agent-add-group, gnus-agent-remove-group,
73         gnus-category-insert-line, gnus-category-edit-predicate,
74         gnus-category-edit-score, gnus-category-edit-groups,
75         gnus-category-copy, gnus-category-add, gnus-group-category): Use
76         new agent category abstraction.
77         (gnus-agent-find-parameter): New function. Search for agent
78         configuration parameter first in the group's parameters, then its
79         topics (if any), and then the group's category.  If not found
80         anywhere, use the original defined constants.
81         (gnus-agent-fetch-headers, gnus-agent-fetch-group-1): Use new
82         gnus-agent-find-parameter.
83         (gnus-agent-fetch-headers, gnus-agent-uncached-articles): Clearing
84         gnus-agent-cache now blocks retrieving headers and articles from
85         the local cache.  Fetched content is still added to the cache
86         before being returned.
87         (gnus-agent-fetch-session): Use error-message-string to generate
88         displayed error message.
89         (gnus-agent-customize-category): New Command. 'e' in category
90         buffer opens category customization buffer.
91         (gnus-category-read): Reads either positional or alist format;
92         returns alist format.
93         (gnus-category-write): Writes category file compatible with
94         current, and previous, versions of gnus-agent.
95         (gnus-category-make-function, gnus-category-make-function-1):
96         Corrected documentation; parameter is predicate NOT category.
97         (gnus-predicate-implies-unread): Now works in more cases per the
98         todo comment.
99         (gnus-function-implies-unread-1): New function. Supports
100         gnus-predicate-implies-unread.
101         (gnus-agent-expire-group): Command now provides default of group
102         under point.
103         (gnus-agent-expire-group-1): Obeys new agent-enable-expiration and
104         agent-days-until-old parameters. No longer supports
105         gnus-agent-expire-days being set to an alist.
106         (gnus-agent-request-article): Now performs its own checks of
107         gnus-agent, gnus-agent-cache, and gnus-plugged rather than
108         assuming that the caller will do them correctly.
109         (): Added one-time hook to gnus-group-prepare-hook.  Detects when
110         gnus-agent-expire-days is set to an alist.  Converts said alist
111         into group parameter so that gnus-agent-expire-days will not be
112         needed.
113         * gnus-art.el (gnus-request-article-this-buffer): Conditional
114         checks surrounding gnus-agent-request-article removed; now
115         performed by gnus-agent-request-article.
116         * gnus-cus.el (gnus-agent-parameters): New variable. List of
117         customizable group/topic parameters that regulate the agent.
118         (gnus-group-customize): Uses gnus-agent-parameters.  Replaced
119         kill-buffer with gnus-kill-buffer to remove the killed buffer from
120         the list of gnus buffers.
121         (gnus-trim-whitespace): Removes leading and trailing whitespace
122         from multiline strings.
123         (gnus-agent-cat-prepare-category-field,
124         gnus-agent-customize-category): Constructs a category
125         customization buffer.
126         * gnus-int.el (gnus-retrieve-headers,
127         gnus-request-expire-articles): No longer checks gnus-agent-cache
128         as it is handled internally by the agent.
129         (gnus-request-head, gnus-request-body): Conditional checks
130         surrounding gnus-agent-request-article removed; now performed by
131         gnus-agent-request-article.
132         
133         * gnus-start.el (): Added defvar statements to resolve compilation
134         warnings.
135         (gnus-long-file-names): New function. Isolates platform dependent
136         msdos-long-file-names.
137         (gnus-save-startup-file-via-temp-buffer): New variable. Provides
138         option of writing directly to file.  Avoids memory exhausted
139         errors when .newsrc.eld is huge.
140         (gnus-save-newsrc-file): Uses new
141         gnus-save-startup-file-via-temp-buffer.
142         (gnus-gnus-to-quick-newsrc-format): Rewritten to write to
143         standard-output.
144         (gnus-display-time-event-handler): Changed to alias from a defun
145         to avoid a compile-time warning when display-time-event-handler is
146         not defined.
147         * gnus-util.el (gnus-with-output-to-file): New macro. Binds
148         standard-output such that prin1 and princ will write directly to a
149         file.
150
151         * gnus.el (gnus-agent-cache): Expanded documentation.
152         (gnus-summary-high-undownloaded-face): Removed second bold keyword
153         so that this face is actually bold.
154
155         * nnkiboze.el (nnkiboze-request-article): Only use the cache when
156         gnus-use-cache has been set.
157
158 2003-03-02  Jesper Harder  <harder@ifa.au.dk>
159
160         * nnvirtual.el (nnvirtual-update-xref-header): Simplify.
161
162 2003-03-01  Jesper Harder  <harder@ifa.au.dk>
163