56c4bde4a4088f22bbae0ea9ebb2e2ab3d6e32ef
[gnus] / lisp / ChangeLog
1 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2
3         * gnus-sum.el (gnus-articles-to-read): Revert back to old behaviour if
4         we're selecting a group with unread articles.
5
6         * nnimap.el (nnimap-open-connection-1): Allow `network-only', too.
7
8         * gssapi.el: New file separated out from imap.el to provide a general
9         Kerberos 5 connection facility for Emacs.
10
11         * message.el (message-elide-ellipsis): Document the format spec
12         ellipsis.
13
14 2011-03-15  Reiner Steib  <Reiner.Steib@gmx.de>
15
16         * message.el (message-elide-region): Allow the ellipsis to say how many
17         lines were removed.
18
19 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20
21         * gnus-win.el (gnus-configure-frame): Protect against trying to restore
22         window configurations containing buffers that are now dead.
23
24         * nnimap.el (nnimap-parse-flags): Remove all MODSEQ entries before
25         parsing to avoid integer overflows.
26         (nnimap-parse-flags): Simplify the last change.
27         (nnimap-parse-flags): Store HIGHESTMODSEQ as a string, since it may be
28         too large for 32-bit Emacsen.
29
30 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
31
32         * auth-source.el (auth-source-netrc-create):
33         * message.el (message-yank-original): Fix use of `case'.
34
35 2011-03-15  Nelson Ferreira  <nelson.ferreira@ieee.org>  (tiny change)
36
37         * gnus-art.el (gnus-article-treat-body-boundary): Fix boundary width on
38         XEmacs, which was one character too wide.
39
40 2011-03-09  Antoine Levitt  <antoine.levitt@gmail.com>
41
42         * gnus-sum.el (gnus-articles-to-read): Use gnus-large-newsgroup as
43         default number of articles to display.
44         (gnus-articles-to-read): Use pretty names for prompt.
45
46 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
47
48         * gnus-int.el (gnus-open-server): Ditto.
49
50         * gnus-start.el (gnus-activate-group): Give a backtrace if
51         debug-on-quit is set and the user hits `C-g'.
52         (gnus-read-active-file): Ditto.
53
54         * gnus-group.el (gnus-group-read-ephemeral-group): Ditto.
55
56 2011-03-15  Teodor Zlatanov  <tzz@lifelogs.com>
57
58         * message.el (message-yank-original): Use cond instead of CL case.
59
60 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
61
62         * auth-source.el (auth-source-netrc-create): Use usual format for the
63         default in prompts.
64
65 2011-03-14  Katsumi Yamaoka  <yamaoka@jpl.org>
66
67         * lpath.el: Fbind read-char-choice for XEmacs.
68
69 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
70
71         * auth-source.el (auth-source-netrc-create): Show the default in the
72         prompt when prompting for token creation.
73
74 2011-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
75
76         * auth-source.el (auth-source-format-prompt): Always convert the value
77         to a string to avoid evaluating non-string arguments.
78         (auth-source-netrc-create): Offer default properly, not as initial
79         content in `read-string'.
80         (auth-source-netrc-saver): Use a cache keyed by file name and MD5 hash
81         of line to determine if we've been run before.  If so, don't run again,
82         but print a trivial message to indicate the cache was hit instead.
83
84 2011-03-11  Teodor Zlatanov  <tzz@lifelogs.com>
85
86         * gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook): Don't
87         install `gnus-sync-read' to any hooks by default.  It's buggy.  The
88         user will have to run `gnus-sync-read' manually and wait for Cloudy
89         Gnus.
90
91 2011-03-11  Julien Danjou  <julien@danjou.info>
92
93         * mm-uu.el (mm-uu-type-alist): Add support for diff starting with "===
94         modified file".
95
96 2011-03-09  Teodor Zlatanov  <tzz@lifelogs.com>
97
98         * auth-source.el (auth-source-read-char-choice): New function to read a
99         character choice using `dropdown-list', `read-char-choice', or
100         `read-char'.  It appends "[a/b/c] " to the prompt if the choices were
101         '(?a ?b ?c).  The `dropdown-list' support is disabled for now.  Use
102         `eval-when-compile' to load `dropdown-list'.  Remove `dropdown-list'.
103         (auth-source-netrc-saver): Use it.
104         (auth-source-pick-first-password): New convenience function.
105
106 2011-03-08  Teodor Zlatanov  <tzz@lifelogs.com>
107
108         * nnimap.el (nnimap-credentials): Keep the :save-function as the third
109         parameter in the credentials.
110         (nnimap-open-connection-1): Use it after a successful login.
111         (nnimap-credentials): Add IMAP-specific user and password prompt.
112
113         * auth-source.el (auth-source-search): Add :require parameter, taking a
114         list.  Document it and the :save-function return token.  Pass :require
115         down.  Change the CREATED message from a warning to a debug statement.
116         (auth-source-search-backends): Pass :require down.
117         (auth-source-netrc-search): Pass :require down.
118         (auth-source-netrc-parse): Use :require, if it's given, as a filter.
119         Change save prompt to indicate all modifications saved here are
120         deletions.
121         (auth-source-netrc-create): Take user login name as default in user
122         prompt.  Move all the save functionality to a lexically bound function
123         under the :save-function token in the returned list.  Set up clearer
124         default prompts for user, host, port, and secret.
125         (auth-source-netrc-saver): New function, intended to be wrapped for
126         :save-function.
127
128 2011-03-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
129
130         * shr.el (shr-table-horizontal-line): Change the defaults for the table
131         lines to be spaces instead.
132
133 2011-03-07  Julien Danjou  <julien@danjou.info>
134
135         * sieve-manage.el (sieve-sasl-auth): Create auth-info if not found.
136         (sieve-sasl-auth): Check that auth-source-search did return something,
137         or just return an empty string.
138
139 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
140
141         * gnus.el (gnus-interactive): Use read-directory-name.
142
143         * gnus-uu.el (gnus-uu-decode-uu-and-save)
144         (gnus-uu-decode-unshar-and-save, gnus-uu-decode-save)
145         (gnus-uu-decode-binhex, gnus-uu-decode-yenc)
146         (gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save):
147         Likewise.
148
149         * gnus-group.el (gnus-group-make-directory-group): Likewise.
150
151 2011-03-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
152
153         * gnus-start.el (gnus-group-change-level): Allow putting foreign groups
154         onto the list of killed groups, too.  This makes killed nnimap groups,
155         for instance, more reliably not reappear.
156
157         * nnimap.el (nnimap-request-thread): Don't bug out when we can't find
158         the parent.
159
160         * gnus-sum.el (gnus-update-read-articles): Fix typo.
161
162         * gnus.el (gnus-valid-select-methods): Mark nnimap as a backend that
163         really have server-side marks.
164
165         * gnus-sum.el (gnus-propagate-marks): Change default back to nil again,
166         since most backends do not usefully have server-side marks.
167         (gnus-update-read-articles): Propagate marks to all backends that
168         really have server-side marks.
169
170 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
171
172         * message.el (message-cite-reply-position, message-cite-style): New
173         variables.
174         (message-yank-original): Use the new citation styles.
175
176 2011-03-04  Daiki Ueno  <ueno@unixuser.org>
177
178         * message.el (message-options): Revert 22da67af (workaround for XEmacs
179         buffer-local issue); don't mark it buffer-local when running under
180         XEmacs.
181
182 2011-03-03  Tassilo Horn  <tassilo@member.fsf.org>
183
184         * nnimap.el (nnimap-parse-flags): Add a workaround for FETCH lines with
185         numbers too big to be `read'.
186
187 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
188
189         * password-cache.el (password-in-cache-p): Add autoload.
190
191         * message.el (message-options): Make buffer-local two ways to attempt
192         to fix a XEmacs bug.
193
194 2011-03-02  Julien Danjou  <julien@danjou.info>
195
196         * gnus-art.el (gnus-with-article-buffer): Fix buffer live check.
197
198 2011-03-01  Julien Danjou  <julien@danjou.info>
199
200         * gnus-art.el (list-identifier): Add list-identifier as a parameter
201         group.
202         (article-hide-list-identifiers): Use list-identifier group parameter.
203
204 2011-02-28  Julien Danjou  <julien@danjou.info>
205
206         * sieve.el (sieve-buffer-script-name): New local variable to store
207         sieve script name.
208         (sieve-edit-script): Store sieve script name.
209         (sieve-upload): Use sieve script name when uploading.
210         (sieve-upload): Use substitute-command-keys.
211         (sieve-edit-script): Use substitute-command-keys.
212         (sieve-refresh-scriptlist): Use substitute-command-keys.
213         (sieve-manage-mode-map): Define keymap properly.
214         (sieve-manage-mode): Do not set mode name manually, change mode-name to
215         (sieve-refresh-scriptlist): Use substitute-command-keys."Sieve-manage".
216         Remove commented code about cvs.
217         (sieve-manage-quit): New function.
218         (sieve-manage-mode-map): Bind 'q' to sieve-manage-quit.
219
220 2011-02-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
221
222         * gnus-group.el (gnus-import-other-newsrc-file): New function.
223
224 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
225
226         * auth-source.el (auth-source-search): Cache empty result sets.
227
228         * password-cache.el (password-in-cache-p): Convenience function to
229         check if a key is in the cache, even if the value is nil.
230
231         * auth-source.el (auth-source-save-behavior): New variable to replace
232         `auth-source-never-create'.
233         (auth-source-netrc-create): Use it.
234         (auth-source-never-save): Remove.
235
236 2011-02-25  Lars Ingebrigtsen  <larsi@gnus.org>
237
238         * nnimap.el (nnimap-stream): Doc fix.
239         (nnimap-open-connection-1): Reverse the order of the ports to that the
240         prompted-for port is first.
241
242         * gnus-start.el (gnus-get-unread-articles): Don't clobber the async
243         retrieval by the no-group selection.
244
245         * gnus-demon.el (gnus-demon-init): run-with-timer should be called with
246         numerical parameters.
247
248 2011-02-25  Julien Danjou  <julien@danjou.info>
249
250         * gnus-gravatar.el: Use gnus-with-article-buffer.
251
252         * gnus-art.el (gnus-with-article-buffer): Check that the
253         gnus-article-buffer is alive.
254
255 2011-02-24  Teodor Zlatanov  <tzz@lifelogs.com>
256
257         * auth-source.el (auth-source-creation-prompts): New variable to manage
258         creation-time prompts.
259         (auth-source-search): Document it.
260         (auth-source-format-prompt): Add utility function.
261         (auth-source-netrc-create): Don't default the user name to
262         user-login-name.  Use `auth-source-creation-prompts' and some default
263         prompts for user, host, port, and password (the default generic prompt
264         remains ugly).
265         (auth-source-never-save): Add customizable option to never save info.
266         (auth-source-netrc-create): Use it and improve save prompts.  Fix help
267         mode excursion.
268
269 2011-02-24  Katsumi Yamaoka  <yamaoka@jpl.org>
270
271         * auth-source.el (auth-source-netrc-create): Use `read-char' with no
272         argument that XEmacs doesn't support.
273
274         * dgnushack.el (dgnushack-compile): Exclude color.el from being
275         compiled for Emacsen having no `libxml-parse-html-region' support.
276
277         * gnus-xmas.el (gnus-xmas-define): Remove gnus-x-color-values.
278
279         * lpath.el: Bind buffer-save-without-query for XEmacs.
280
281 2011-02-23  Julien Danjou  <julien@danjou.info>
282
283         * gnus-art.el (article-make-date-line): Ignore errors if time is
284         invalid and not convertible.
285         (article-make-date-line): Only add lapsed time if time is not nil.
286
287 2011-02-23  Teodor Zlatanov  <tzz@lifelogs.com>
288
289         * auth-source.el (auth-source-netrc-create): Use `read-char' instead of
290         `read-char-choice' for backwards compatibility.
291         (auth-source-netrc-element-or-first): New function to DTRT for
292         parameter extraction.
293         (auth-source-netrc-create): Use it and fix multiple parameter print
294         bug.  Use the default passed from above (given-default) or the
295         built-in (user-login-name for :user).
296
297 2011-02-23  Lars Ingebrigtsen  <larsi@gnus.org>
298
299         * gnus-start.el (gnus-dribble-read-file): Set
300         buffer-save-without-query, since we always want to save the dribble
301         file, probably.
302
303         * nnmail.el (nnmail-article-group): Allow a final "" split to work on
304         nnimap.
305
306         * gnus-sum.el (gnus-user-date-format-alist): Renamed back again from
307         -summary- since it's a user-visible variable.
308
309         * nnimap.el (nnimap-retrieve-group-data-early): Don't do QRESYNC the
310         first time you use the new Gnus.
311
312 2011-02-22  Teodor Zlatanov  <tzz@lifelogs.com>
313
314         * auth-source.el: Don't load netrc.el.
315         (auth-sources): Search ~/.netrc as well by default.
316         (auth-source-debug): Add 'trivia option for extra output.
317         (auth-source-do-trivia): Use it.
318         (auth-source-search): Simplify logic to use
319         `auth-source-search-backends'.  Use `auth-source-do-trivia' where
320         appropriate.  Don't keep a running count at this level.  Layer :create
321         and :delete options appropriately on the first and second passes.
322         Don't track the backend with the search results.
323         (auth-source-search-backends): New function to search a list of
324         backends for a processed spec.
325         (auth-source-netrc-parse): Cache all netrc files, making
326         auth-source-netrc-cache an alist keyed by the file name and using the
327         file mtime as the caching criterion.  Keep the obfuscated data secret
328         with a lexical bind.
329         (auth-source-netrc-search): Don't calculate the length of the results
330         unnecessarily.
331         (auth-source-search-backends): Fix bug.
332         (auth-source-netrc-create): Rework prompts.
333
334 2011-02-22  Andrew Cohen  <cohen@andy.bu.edu>
335
336         * nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key):
337         Lower case names of search constraints.
338         (nnir-run-query): Cache and reuse search constraints for all imap
339         servers.
340