3c76be34a606e9e30ab5ef72a3caefb37578e167
[gnus] / lisp / ChangeLog
1 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2
3         * gnus-group.el (gnus-group-read-ephemeral-group): Make sure we don't
4         enter invalid buffer configurations into the quit form (bug#9107).
5
6         * gnus-sum.el (gnus-summary-refer-thread): When inserting new headers,
7         keep track of which ones are unread (bug#9061).
8
9         * gnus.el (gnus-refer-article-method): Allow entering any sexp
10         (bug#9055).
11
12         * gnus-art.el (gnus-article-show-images): Allow working if using w3m
13         (bug#9041).
14
15         * gnus-html.el (mm-util): Require (bug#9073).
16
17         * gnus-sum.el (gnus-delete-duplicate-headers): New function.
18         (gnus-summary-refer-thread): Use it to remove duplicates in the
19         un-threaded view (bug#9053).
20         (gnus-summary-insert-subject): Document USE-OLD-HEADER (bug#9070).
21
22 2011-07-07  Kan-Ru Chen  <kanru@kanru.info>
23
24         * nnir.el (nnir-read-server-parm): Use default value from global
25         variable.  Without this the default search engine parameters aren't
26         used at all.
27
28 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
29
30         * message.el (message-unique-id): Don't use the undocumented return
31         value from (random t) (bug#9118).
32
33 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
34
35         * message.el (message-auto-save-directory): If the ~/Mail directory
36         doesn't exist, use ~ as the auto-save directory (bug#4432).
37
38         * gnus-group.el (gnus-group-read-ephemeral-group): Start Gnus if it
39         hasn't already been started.
40
41 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
42
43         * gnus.el (debbugs-gnu): Renamed from debbugs-emacs.
44
45         * message.el (message-reply): Work around mysterious bug where
46         `message-mode' seems to overwrite the locally bound `subject' variable.
47
48 2011-07-14  Andrew Cohen  <cohen@andy.bu.edu>
49
50         * nnimap.el (nnimap-request-thread): Ensure search is performed in
51         correct group.
52
53         * gnus-int.el (gnus-request-thread): Add group argument.
54
55         * gnus-sum.el (gnus-summary-refer-thread): Use it.
56
57 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
58
59         * dgnushack.el (debbugs-gnu-summary-mode): Update compat names, too.
60
61         * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): `debbugs-*'
62         renamed to `debbugs-gnu-*'.
63
64 2011-07-08  Daiki Ueno  <ueno@unixuser.org>
65
66         * plstore.el: Revert the editing feature since it is not urgent.
67         (plstore-mode, plstore-mode-toggle-display, plstore-mode-original)
68         (plstore-mode-decoded): Remove.
69
70 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
71
72         * gnus-msg.el (gnus-bug): Don't insert user variables.  It usually
73         isn't very interesting any more, and it leaks potentially secret data.
74         (gnus-debug): Removed.
75
76         * gnus-art.el (gnus-ignored-headers): Removed obsolete and non-working
77         use of :custom-show.
78
79 2011-07-07  Daiki Ueno  <ueno@unixuser.org>
80
81         * plstore.el: Add documentation.
82         (plstore-mode): New mode to edit plstore file.
83         (plstore-mode-toggle-display, plstore-mode-original)
84         (plstore-mode-decoded): New command.
85         (plstore--encode, plstore--decode, plstore--write-contents-functions)
86         (plstore--insert-buffer, plstore--make): New function.
87         (plstore-open, plstore-save): Simplify by using them.
88
89 2011-07-06  Glenn Morris  <rgm@gnu.org>
90
91         * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Silence compiler.
92
93 2011-07-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
94
95         * gnus.el (gnus-refer-article-method): Remove mention of nnspool, which
96         no longer is much used.
97         (gnus-summary-line-format): Link to "Marking Articles" instead of "Read
98         Articles".
99
100 2011-04-03  Kan-Ru Chen  <kanru@kanru.info>
101
102         * nnir.el (nnir-notmuch-program, nnir-notmuch-additional-switches)
103         (nnir-notmuch-remove-prefix, nnir-engines, nnir-run-notmuch): New nnir
104         `notmuch' backend.
105
106 2011-07-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
107
108         * mm-decode.el (mm-text-html-renderer): Doc fix.
109
110         * gnus-msg.el (gnus-bug): Fix the MML tag.
111
112         * pop3.el (pop3-open-server): -ERR is a valid response to CAPA.
113
114 2011-07-05  Daiki Ueno  <ueno@unixuser.org>
115
116         * gnus-start.el (gnus-get-unread-articles): Don't connect to the
117         secondary methods if started with `gnus-no-server'.
118
119 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
120
121         * message.el (message-return-action): Fix typo in docstring.
122
123 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
124
125         * gnus-group.el (gnus-read-ephemeral-bug-group): Allow fetching several
126         bug reports at once.
127
128         * nnimap.el (nnimap-request-scan): Say that splitting has finished.
129
130 2011-07-04  Katsumi Yamaoka  <yamaoka@jpl.org>
131
132         * nndraft.el: Require gnus-group.
133         (nndraft-request-list): Declare.
134
135         * nndraft.el (nndraft-update-unread-articles): Don't show group having
136         no unread article unless it matches gnus-permanently-visible-groups.
137
138         * nndraft.el (nndraft-update-unread-articles): New function.
139         (nndraft-request-associate-buffer): Use it to update the number of
140         unread articles for the nndraft groups in the group buffer when saving
141         or killing a draft message.
142
143 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
144
145         * gnus-group.el (gnus-read-ephemeral-bug-group): Bind the coding
146         systems to binary before writing and reading the mbox files.
147
148         * gnus.el (gnus-summary-line-format): Link to the info node for %U
149         instead of trying to list them all (bug#8978).
150
151 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
152
153         * pop3.el (pop3-open-server): Use :end-of-capability.
154
155 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
156
157         * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Make sure that
158         the id is always a number.
159
160         * dgnushack.el (debbugs-summary-mode): Shut up compiler about debbugs.
161
162         * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Hook into
163         debbugs mode, if possible.
164
165 2011-07-02  Daiki Ueno  <ueno@unixuser.org>
166
167         * auth-source.el (auth-source-token-passphrase-callback-function):
168         Reindent.
169         (epg-context-operation): Remove unnecessary autoload.
170
171 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
172
173         * gnus.el (gnus-list-debbugs): New command.
174
175         * gnus-group.el (gnus-bug-group-download-format-alist): Get the
176         mboxstat instead of the maintbox, since the stat seems to be fuller.
177
178         * gnus-msg.el (gnus-configure-posting-styles): Don't try to select dead
179         summary buffers.
180
181         * message.el (message-get-reply-headers): Delete all duplicates,
182         instead of the first.
183         (message-get-reply-headers): Ensure that we have progress while
184         deleting duplicates.
185
186         * gnus-msg.el (gnus-configure-posting-styles): Get the local
187         gnus-posting-style value from the summary buffer to make it easier to
188         make that a per-buffer conf.
189
190 2011-07-02  Andrew Cohen  <cohen@andy.bu.edu>
191
192         * nnir.el (nnir-run-imap): Allow halting a search when an article is
193         found by setting `shortcut' in 'query.
194         (nnir-request-article): Use `shortcut' setting when requesting article
195         by Message-ID.
196
197 2011-07-02  Teodor Zlatanov  <tzz@lifelogs.com>
198
199         * gnus-msg.el (gnus-bug): Give the Version and Package headers to
200         debbugs with the X-Debbugs-Package and X-Debbugs-Version headers.
201         Bring the pseudo-headers back too.
202
203 2011-07-01  Daiki Ueno  <ueno@unixuser.org>
204
205         * auth-source.el (auth-source-token-passphrase-callback-function):
206         Simplify and remove EPA dependency.
207
208 2011-07-01  Andrew Cohen  <cohen@andy.bu.edu>
209
210         * nnir.el (nnir-request-article): Fix error message text.
211
212 2011-07-01  Daiki Ueno  <ueno@unixuser.org>
213
214         * auth-source.el (plstore-delete): Autoload.
215         (auth-source-plstore-search): Support delete operation.
216         * plstore.el (plstore-delete): New function.
217
218 2011-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
219
220         * gnus-draft.el (gnus-draft-clear-marks): Revert last change;
221         mark actually existing articles as unread rather than the ones that
222         active asserts.
223
224 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
225
226         * nntp.el (nntp-record-command):
227         * gnus-util.el (gnus-message-with-timestamp-1):
228         Use format-time-string rather than decoding time stamps by hand.
229         This is simpler and insulates the code from potential changes to
230         current-time format.
231
232 2011-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
233
234         * gnus-draft.el (gnus-draft-clear-marks): Mark deleted articles as read.
235
236 2011-07-01  Daiki Ueno  <ueno@unixuser.org>
237
238         * plstore.el (plstore-select-keys, plstore-encrypt-to): New variable.
239         (plstore-save): Support public key encryption.
240         (plstore--init-from-buffer): New function.
241         (plstore-open): Use it; fix error when opening a non-existent file.
242         (plstore-revert): Use plstore--init-from-buffer.
243
244 2011-07-01  Daiki Ueno  <ueno@unixuser.org>
245
246         * auth-source.el (auth-source-backend): Fix :initarg for data slot.
247
248 2011-06-30  Katsumi Yamaoka  <yamaoka@jpl.org>
249
250         * mml2015.el (mml2015-use): Replace string-match-p with string-match
251         for old Emacsen.
252
253 2011-06-30  Daiki Ueno  <ueno@unixuser.org>
254
255         * mml2015.el (mml2015-use): Don't try to load PGG on Emacs 24, when EPG
256         is not fully working.
257
258 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
259
260         * dgnushack.el: Autoload sha1 on XEmacs.
261
262         * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Take an optional
263         quit window configuration.
264
265         * auth-source.el (epg-context-set-passphrase-callback): Remove
266         duplicate autoload.
267
268 2011-06-30  Andrew Cohen  <cohen@andy.bu.edu>
269
270         * nnir.el (nnir-request-article): Allow requesting articles by
271         Message-ID with nnimap.
272
273         * gnus-sum.el (gnus-refer-article-methods): Allow (nnir) entry to use
274         current server.
275
276 2011-06-30  Teodor Zlatanov  <tzz@lifelogs.com>
277
278         * auth-source.el: Autoload EPA/EPG functions.
279         (auth-source-netrc-use-gpg-tokens): Clarify that it should not be
280         changed when EPA/EPG is not available.
281         (auth-source-backend): Rename "arg" member to "data".
282         (auth-source-backend-parse, auth-source-plstore-search)
283         (auth-source-plstore-create): Use it.
284
285 2011-06-30  Andrew Cohen  <cohen@andy.bu.edu>
286
287         * gnus-art.el (gnus-request-article-this-buffer): Use existing function
288         `gnus-refer-article-methods'.
289
290 2011-06-30  Teodor Zlatanov  <tzz@lifelogs.com>
291
292         * auth-source.el: Require EPA and EPG.
293         (auth-source-passphrase-alist): New variable.
294         (auth-source-passphrase-callback-function)
295         (auth-source-token-passphrase-callback-function): Callbacks for the
296         netrc field encryption (GPG tokens).
297         (auth-source-epa-extract-gpg-token, auth-source-epa-make-gpg-token):
298         Symmetric encryption and decryption of the netrc GPG tokens.
299         (auth-source-netrc-normalize): Use them, simplifying the closure.
300
301 2011-06-30  Katsumi Yamaoka  <yamaoka@jpl.org>
302
303         * dgnushack.el (dgnushack-compile): Don't compile plstore.el unless epg
304         is available.
305
306 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
307
308         * nnimap.el (nnimap-split-incoming-mail): If `nnimap-split-fancy' is
309         non-nil, and `nnimap-split-methods' is nil, use the former.
310
311 2011-06-30  Daiki Ueno  <ueno@unixuser.org>
312
313         * plstore.el (plstore-revert): New function.
314         (plstore-open): Use it; hide the buffer from user.
315
316 2011-06-30  Daiki Ueno  <ueno@unixuser.org>
317
318         * auth-source.el (auth-source-backend): New member "arg".
319         (auth-source-backend-parse): Handle new backend 'plstore.
320         * plstore.el: New file.
321
322 2011-06-30  Glenn Morris  <rgm@gnu.org>
323
324         * mm-util.el (mm-charset-synonym-alist): Move definition before use.
325
326 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
327
328         * nnimap.el (nnimap-process-expiry-targets): Say what target we're
329         expiring articles to.
330
331         * mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4
332         variations as ASCII (bug#5458).
333
334 2011-06-30  Katsumi Yamaoka  <yamaoka@jpl.org>
335
336         * nnmh.el (nnmh-request-list-1): Work on MS Windows.
337
338 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
339
340         * message.el (message-point-in-header-p): Tweak the function to default
341         to saying that we're not in the headers if there is no separator at
342         all.  This makes it possible to use the Message version of `M-q' in
343         buffers with no headers (bug#7987).
344         (message-point-in-header-p): Fix last checkin to work with an empty
345         mail-header-separator, too.
346
347         * auth-source.el (auth-source-netrc-saver): If the user says "don't ask
348         again, save the choice via customize.
349
350 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
351
352         * message.el (message-send-mail-function): Add `sendmail-query-once'.
353
354         * nnimap.el (nnimap-finish-retrieve-group-infos): If the server has
355         ended the connection, bail out before waiting infinitely on a new
356         connection.
357
358 2011-06-28  Teodor Zlatanov  <tzz@lifelogs.com>
359
360         * gnus-msg.el (gnus-bug): Add Package and Version pseudo-headers to bug
361         reports.
362
363         * gnus.el (gnus-bug-package): Use "gnus."
364         (gnus-maintainer): Direct bug reports to submit@debbugs.gnu.org.
365
366 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
367
368         * dgnushack.el: Make the timer warning go away on XEmacs.
369
370         * gnus-art.el (gnus-article-stop-animations): New function to stop any
371         animations going on at article exit time.
372
373         * gnus-registry.el (gnus-registry-user-format-function-M): Reinstate,
374         since removing it breaks people upgrading.
375
376         * shr.el (shr-put-image): Use the new interface for animating images.
377         (shr-put-image): Animate for 60 seconds.
378
379         * dgnushack.el: Bind `gnutls-available-p' to `ignore' on XEmacs to
380         avoid compiler warnings.
381
382         * auth-source.el (with-auth-source-epa-overrides): Fix compilation
383         error with `find-file-hooks' on Emacs 22.
384         (with-auth-source-epa-overrides): Ugly hack to Wrap the
385         `find-file-hook' things in `symbol-value' to avoid compilation warnings
386         on all architectures.
387
388         * spam.el (spam-stat): Require in a normal fashion without binding
389         `spam-stat-install-hooks' to avoid compilation warnings.
390
391         * spam-stat.el (spam-stat-install-hooks): Removed.
392         (spam-stat-install-hooks): Don't run automatically.
393
394 2011-06-26  Timo Juhani Lindfors  <timo.lindfors@iki.fi>  (tiny change)
395
396         * gnus-msg.el (gnus-summary-reply-to-list-with-original): New command
397         and keystroke.
398
399 2011-06-23  Katsumi Yamaoka  <yamaoka@jpl.org>
400
401         * auth-source.el (auth-source-netrc-cache): Move forward.
402
403 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
404
405         * proto-stream.el (proto-stream-open-starttls): Use
406         `gnutls-available-p' to see whether we have built-in support.
407
408         * auth-source.el (auth-source-netrc-create): Don't query the bits that
409         we already know.
410         (auth-source-forget-all-cached): Clear auth-source-netrc-cache, too.
411         (auth-source-netrc-create): Don't prompt for the stuff we already know.
412
413 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
414
415         * auth-source.el (auth-source-netrc-create): Don't print all tokens in
416         %S format, since that looks odd.
417         (auth-sources): Prefer the ~/.authinfo file over the ~/.authinfo.gpg
418         file, especially when saving.
419
420 2011-06-21  Andrew Cohen  <cohen@andy.bu.edu>
421
422         * nnimap.el (nnimap-find-article-by-message-id): return nil when no
423         article found.
424
425 2011-06-18  Teodor Zlatanov  <tzz@lifelogs.com>
426
427         * auth-source.el (auth-source-netrc-use-gpg-tokens): Replace
428         `auth-source-save-secrets' with a more sensitive alist that can be
429         configured per file.  Experimental, so defaults to 'never.
430         (auth-source-netrc-create): Use it.  Still experimental code.
431         (with-auth-source-epa-overrides): Use `find-file-hooks' if
432         `find-file-hook' is unbound (XEmacs fix).  Fix backquoting bug.
433
434 2011-06-16  Teodor Zlatanov  <tzz@lifelogs.com>
435
436         * auth-source.el (auth-source-save-secrets): New variable to control if
437         secret tokens should be saved encrypted.
438         (auth-source-netrc-parse, auth-source-netrc-search): Pass the file name
439         to `auth-source-netrc-normalize'.
440         (with-auth-source-epa-overrides): Add convenience macro.  Don't depend
441         on the EPA variables being defined.
442         (auth-source-epa-make-gpg-token): Convert text to a "gpg:" token.
443         (auth-source-netrc-normalize): Convert "gpg:" tokens back to text in
444         the lexical-let closure.
445         (auth-source-netrc-create): Create "gpg:" tokens according to
446         `auth-source-save-secrets'.
447
448 2011-06-10  Katsumi Yamaoka  <yamaoka@jpl.org>
449
450         * gnus-group.el (gnus-group-update-group): Add new argument
451         `info-unchanged' that stops updating dribble buffer.
452
453         * gnus-start.el (gnus-dribble-enter): Add new argument `regexp' that
454         deletes lines matching to it in dribble buffer.
455
456         * gnus-agent.el (gnus-agent-fetch-group-1):
457         * gnus-group.el (gnus-group-update-group-line, gnus-group-make-group):
458         * gnus-srvr.el (gnus-server-update-server, gnus-server-set-info):
459         * gnus-start.el (gnus-group-change-level):
460         * gnus-sum.el (gnus-summary-move-article): Delete old dribble entry.
461
462         * gnus-sum.el (gnus-summary-update-info): Don't update dribble buffer
463         if newsgroup info is not changed.
464
465         * gnus-group.el (gnus-group-get-new-news-this-group):
466         * gnus-sum.el (gnus-summary-read-group-1, gnus-summary-exit-no-update):
467         Don't update dribble buffer.
468
469 2011-06-01  Teodor Zlatanov  <tzz@lifelogs.com>
470
471         * gnus-registry.el (gnus-registry-remove-ignored): New function to
472         remove entries with groups we ignore.
473
474 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
475
476         * shr.el (shr-rescale-image): Add an :ascent of 100 to images so that
477         the underline comes at the bottom.
478
479 2011-05-31  Teodor Zlatanov  <tzz@lifelogs.com>
480
481         * gnus-registry.el (gnus-registry-article-marks-to-chars): Rename from
482         `gnus-registry-user-format-function-M' and declare the latter obsolete.
483         (gnus-registry-article-marks-to-names): Rename from
484         `gnus-registry-user-format-function-M2'.
485
486 2011-05-31  Katsumi Yamaoka  <yamaoka@jpl.org>
487
488         * gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in
489         ephemeral group.
490
491 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
492
493         * shr.el (shr-browse-image): Copy the URL if called interactively.
494
495 2011-05-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
496
497         * gnus-group.el (gnus-group-mark-article-read): It's possible that we
498         want to have `gnus-newsgroup-unselected' kept sorted.  If this isn't
499         done, then unselected articles may be marked as read.
500
501         * pop3.el (pop3-open-server): Erase the buffer after the greeting,
502         since not doing this seems to lead to a race condition in pop3-logon.
503
504         * nnvirtual.el (nnvirtual-request-article): Bind `gnus-command-method'
505         so that the call chain it correct when we call "upwards".
506
507         * gnus-sum.el (gnus-select-newsgroup): Auto-expiry doesn't make sense
508         in read-only groups.
509
510         * gnus-group.el (gnus-group-mark-article-read): Ditto.
511
512         * message.el (message-cite-reply-position): Doc string fix.
513
514         * nnimap.el (nnimap-transform-headers): Simplify regexp to hopefully
515         avoid regexp overflow.
516         (nnimap-transform-split-mail): Ditto.
517
518         * pop3.el (pop3-retr): Error out if the server closes the connection.
519
520 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
521
522         * mml1991.el (mml1991-mailcrypt-encrypt): Remove use of ill-designed
523         mm-with-unibyte-current-buffer.  The buffer should not contain any
524         multibyte chars anyway at this stage.
525
526 2011-05-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
527
528         * shr.el (shr-urlify): Use shr-add-font to make underlines be less ugly
529         at the end of lines.
530
531 2011-05-29  Julien Danjou  <julien@danjou.info>
532
533         * smiley.el (gnus-smiley-file-types): Add gif as supported file type.
534
535 2011-05-27  Glenn Morris  <rgm@gnu.org>
536
537         * gnus-group.el (gnus-bug-group-download-format-alist):
538         Use the "maintainer" version of debian reports as well.
539
540 2011-05-26  Glenn Morris  <rgm@gnu.org>
541
542         * gnus-group.el (gnus-bug-group-download-format-alist):
543         Use the "maintainer" version of debbugs.gnu.org reports.
544
545 2011-05-24  Katsumi Yamaoka  <yamaoka@jpl.org>
546
547         * gnus-art.el (gnus-mime-delete-part): Fix mm-handle-filename usage.
548
549 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
550
551         * gnus-cus.el (gnus-agent-customize-category):
552         * gnus-delay.el (gnus-delay-send-queue):
553         * gnus.el (gnus-other-frame):
554         Don't quote lambda expressions with `quote'.
555
556 2011-05-20  Teodor Zlatanov  <tzz@lifelogs.com>
557
558         * gnus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide
559         the thread moves us backwards and so we loop forever.
560
561 2011-05-19  Katsumi Yamaoka  <yamaoka@jpl.org>
562
563         * mm-bodies.el (mm-decode-content-transfer-encoding): Allow leading
564         whitespace in base64 data lines.
565
566 2011-05-18  Teodor Zlatanov  <tzz@lifelogs.com>
567
568         * gnus-registry.el (gnus-registry-user-format-function-M):
569         Use `mapconcat'.
570         (gnus-registry-user-format-function-M2): Use to see the full text of
571         the marks.  Make "," the mark text separator.
572
573         * nntp.el (nntp-send-authinfo): Use the "force" token for NNTP
574         authentication with auth-source.
575
576 2011-05-17  Glenn Morris  <rgm@gnu.org>
577
578         * gnus-group.el (gnus-import-other-newsrc-file):
579         Use insert-file-contents.
580
581 2011-05-16  Teodor Zlatanov  <tzz@lifelogs.com>
582
583         * gnus-sum.el (gnus-summary-hide-all-threads): Add update message every
584         1000 iterations.
585
586 2011-05-16  Katsumi Yamaoka  <yamaoka@jpl.org>
587
588         * nntp.el (nntp-open-connection): Check if process-type is available.
589
590 2011-05-16  Julien Danjou  <julien@danjou.info>
591
592         * shr.el (shr-tag-del): Add support for del tag.
593
594 2011-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>
595
596         * gnus-html.el (gnus-html-put-image): Register a displayer.
597
598         * shr.el (shr-image-displayer): Don't remove text props from alt text.
599
600 2011-05-13  Teodor Zlatanov  <tzz@lifelogs.com>
601
602         * registry.el (prune-factor): New initialization parameter defaulting
603         to 0.1.
604         (registry-prune-hard): Use it.
605
606         * gnus-registry.el (gnus-registry-fixup-registry): Set prune-factor to
607         0.1 expicitly.
608
609 2011-05-13  Glenn Morris  <rgm@gnu.org>
610
611         * message.el (message-send-mail-with-sendmail): Assume sendmail-program
612         is bound, since this function requires sendmail.
613
614 2011-05-11  Teodor Zlatanov  <tzz@lifelogs.com>
615
616         * registry.el (registry-usage-test): Disable pruning test.
617
618 2011-05-11  David Engster  <dengste@eml.cc>
619
620         * lpath.el: Bind shr-put-image and process-type for Emacs22 and XEmacs.
621         Bind set-network-process-option for XEmacs.
622
623 2011-05-10  Teodor Zlatanov  <tzz@lifelogs.com>
624
625         * registry.el (registry-prune-hard-candidates)
626         (registry-prune-soft-candidates): Helper methods for registry pruning.
627         (registry-prune): Use them.  Make the sort function optional.
628
629 2011-05-10  Jim Meyering  <meyering@redhat.com>
630
631         * shr.el (shr-colorize-region): Fix typo "on on -> on".
632
633 2011-05-10  Julien Danjou  <julien@danjou.info>
634
635         * shr.el (shr-put-color-1): Do not bug out when old-props is a face
636         symbol and not a list.
637
638 2011-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
639
640         * gnus-art.el (gnus-article-mode): Move binding of
641         shr-put-image-function here from gnus-article-prepare-display.
642
643         * shr.el (shr-put-image-function): New variable.
644         (shr-image-fetched, shr-image-displayer, shr-tag-img): Funcall it.
645         (shr-put-image): Return scaled image.
646
647         * gnus-art.el (gnus-shr-put-image): New function.
648         (gnus-article-prepare-display): Bind shr-put-image-function to it.
649
650         * gnus-html.el (gnus-html-wash-images): Register scaled images, not
651         original ones, as deletable.
652
653 2011-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
654
655         * nntp.el (nntp-open-connection): Set TCP keepalive option.
656
657 2011-05-09  Teodor Zlatanov  <tzz@lifelogs.com>
658
659         * registry.el (registry-full): Add convenience method.  Fix logic.
660         (registry-insert): Use it.  Fix logic here too.
661
662         * gnus-registry.el (gnus-registry-insert): Add wrapper that calls
663         `registry-prune' if `registry-full' returns t.
664         (gnus-registry-handle-action)
665         (gnus-registry-get-or-make-entry, gnus-registry-set-id-key)
666         (gnus-registry-usage-test): Use it.
667
668 2011-05-07  Julien Danjou  <julien@danjou.info>
669
670         * shr.el (shr-link): Make shr-link inherit from link by default.
671
672 2011-05-06  Teodor Zlatanov  <tzz@lifelogs.com>
673
674         * shr.el (shr-urlify, shr-link): Fix shr-link face.
675
676 2011-05-05  Teodor Zlatanov  <tzz@lifelogs.com>
677
678         * shr.el (shr-urlify, shr-link): Still broken but at least doesn't
679         error out because the face is not a list.
680
681 2011-05-05  Glenn Morris  <rgm@gnu.org>
682
683         * proto-stream.el (gnutls-negotiate): Fix declarations.
684
685         * gnus-start.el (gnus-propagate-marks): Declare.
686
687 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
688
689         * registry.el (registry-reindex): Fix percentage message.
690
691         * proto-stream.el (network-stream-open-starttls): Adjust to call
692         `gnutls-negotiate' with :process and :hostname arguments.
693
694 2011-05-03  Teodor Zlatanov  <tzz@lifelogs.com>
695
696         * shr.el: Add shr-link face for links.
697         (shr-urlify): Use it.
698
699         * registry.el (registry-insert): Make error message more helpful.
700
701 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
702
703         * gnus-html.el (gnus-html-schedule-image-fetching):
704         Use url-queue-retrieve, if it exists.
705
706         * shr.el (shr-tag-img): Ditto.
707
708         * gnus.el: Autoload more gnus-agent functions.
709
710         * gnus-art.el (gnus-request-article-this-buffer): Store articles in the
711         agent if we haven't already (bug#8502).
712
713         * gnus-async.el (gnus-async-article-callback): Put prefetched articles
714         into the Agent, too.
715
716         * gnus-agent.el (gnus-agent-store-article): New function.
717
718         * nnheader.el (nnheader-insert-buffer-substring): Rename from nntp-
719         and moved from that file for reuse.
720
721         * pop3.el (pop3-open-server): Error messages are "-ERR".
722
723 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
724
725         * pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS.
726         (open-tls-stream): Remove superfluous tls/starttls autoloads.
727
728 2011-05-01  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
729
730         * gnus.el: No Gnus v0.17 is released.
731
732 2011-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
733
734         * gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary
735         buffer has moved to a different frame.
736
737 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
738
739         * nnimap.el (nnimap-request-article): Use nntp-insert-buffer-substring
740         to get the conversion from unibyte to multibyte buffers to work on
741         Emacs 22.
742
743         * nntp.el (nntp-request-article): Slight clean-up.
744
745 2011-04-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
746
747         * shr.el (shr-strike-through): New face.
748         (shr-tag-s): Use it to provide <s> support.
749         (shr-tag-s): Remove duplicate definition.
750
751 2011-04-25  Teodor Zlatanov  <tzz@lifelogs.com>
752
753         * gnus-registry.el (gnus-registry-ignore-group-p): Don't call
754         `gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist.
755
756 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
757
758         * proto-stream.el (proto-stream-open-starttls): Give host parameter to
759         `gnutls-negotiate'.
760         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
761
762 2011-04-23  Glenn Morris  <rgm@gnu.org>
763
764         * gnus-sum.el (gnus-extra-headers): Bump :version.
765
766 2011-04-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
767
768         * shr.el (shr-tag-sup): New function.
769         (shr-tag-sub): Ditto.
770
771 2011-04-22  Teodor Zlatanov  <tzz@lifelogs.com>
772
773         * gnus-registry.el (gnus-registry-ignore-group-p): Test specifically
774         for the case where `gnus-registry-ignored-groups' is a list of lists,
775         and don't call `gnus-parameter-registry-ignore' otherwise.
776
777 2011-04-21  Teodor Zlatanov  <tzz@lifelogs.com>
778
779         * nnimap.el (nnimap-user): New backend variable.
780         (nnimap-open-connection-1): Use it.
781         (nnimap-credentials): Accept user parameter so it's explicit what user
782         name is desired.
783
784         * gnus-sum.el (gnus-extra-headers): Add Keywords, Cc, and Gcc to
785         default.
786
787         * gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el,
788         not gnus-registry.el.
789
790         * gnus-registry.el: Mention in comments how to modify
791         `gnus-extra-headers' for proper recipient tracking and that it may
792         already have To and Cc recently, which it does as of this commit.
793         (gnus-registry-ignored-groups): Remove defcustom.
794         Explain why in comments.
795         (gnus-registry-action): Fix data-header reference to use the extra
796         headers.  Explain in package commentary how to add To and Cc headers to
797         the gnus-extra-headers.
798         (gnus-registry-ignored-groups): Adjust defaults to match the parameter.
799         (gnus-registry-ignore-group-p): Adjust to take either a group/topic
800         parameter list or a string list in `gnus-registry-ignored-groups'.
801         Fix logic error.
802
803 2011-04-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
804
805         * shr.el (shr-expand-url): Protect against null urls.
806
807 2011-04-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
808
809         * shr.el (shr-base): New binding.
810         (shr-tag-base): Keep track of <base>.
811         (shr-expand-url): New function used throughout.
812
813 2011-04-20  Teodor Zlatanov  <tzz@lifelogs.com>
814
815         * gnus-registry.el
816         (gnus-registry--split-fancy-with-parent-internal): Fix loop bugs.
817         (gnus-registry-ignored-groups): New variable.
818         (gnus-registry-ignore-group-p): Use it.
819         (gnus-registry-handle-action): Use `gnus-registry-ignore-group-p' and
820         set the destination group to nil (same as delete) if it's ignored.
821
822 2011-04-20  David Engster  <dengste@eml.cc>
823
824         * tests/gnustest-nntp.el: New file for simple NNTP testing.
825
826         * Makefile.in (test-nntp): New rule.
827         (check): Add it.
828         (test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.
829
830 2011-04-20  Katsumi Yamaoka  <yamaoka@jpl.org>
831
832         * gnus-registry.el (gnus-registry-action)
833         (gnus-registry-fetch-header-fast):
834         Don't use mail-header that looks an internal function of mailheader.el.
835
836 2011-04-19  Glenn Morris  <rgm@gnu.org>
837
838         * time-date.el (time-to-days): Remove unused local variables.
839
840 2011-04-18  Katsumi Yamaoka  <yamaoka@jpl.org>
841
842         * gnus-registry.el: Eliminate cl functions.
843         (gnus-registry-sort-addresses): New function that replaces mapcan.
844         (gnus-registry-action, gnus-registry-spool-action)
845         (gnus-registry-split-fancy-with-parent)
846         (gnus-registry-fetch-recipients-fast): Use it.
847         (gnus-registry-import-eld): Replace delete* with dolist + delq.
848
849         * registry.el (initialize-instance, registry-lookup)
850         (registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
851         (registry-lookup-secondary-value, registry-search, registry-delete)
852         (registry-insert, registry-reindex, registry-size, registry-prune):
853         Use eval-and-compile.
854
855 2011-04-16  Teodor Zlatanov  <tzz@lifelogs.com>
856
857         * registry.el (registry-reindex): New method to recreate the secondary
858         registry indices.
859
860         * gnus-registry.el (gnus-registry-fixup-registry): Use it if the
861         tracked field changes.
862         (gnus-registry-unfollowed-addresses, gnus-registry-track-extra)
863         (gnus-registry-action, gnus-registry-spool-action)
864         (gnus-registry-handle-action)
865         (gnus-registry--split-fancy-with-parent-internal)
866         (gnus-registry-split-fancy-with-parent)
867         (gnus-registry-register-message-ids): Add recipient tracking on spool,
868         move, and delete actions, and for fancy splitting with parent.
869         (gnus-registry-extract-addresses)
870         (gnus-registry-fetch-recipients-fast)
871         (gnus-registry-fetch-header-fast): Convenience functions.
872         (gnus-registry-misc-test): ERT test of
873         `gnus-registry-extract-addresses'.
874
875 2011-04-15  Teodor Zlatanov  <tzz@lifelogs.com>
876
877         * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
878         Track by subject first, then sender.
879
880 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
881
882         * message.el (message-bogus-system-names): Replace ^...$ => \`...\'.
883
884         * gnus.el (gnus-splash-svg-color-symbols): Don't use insert-file from
885         Lisp.
886
887         * gnus-draft.el (gnus-draft-setup): New arg `dont-pop'.
888         (gnus-draft-send): Use it to avoid popping
889         up frames from gnus-group-send-queue.
890
891 2011-04-14  Teodor Zlatanov  <tzz@lifelogs.com>
892
893         * gnus-registry.el: Updated gnus-registry docs.
894
895 2011-04-12  Teodor Zlatanov  <tzz@lifelogs.com>
896
897         * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
898         Fix logic bug.
899         (gnus-registry-post-process-groups): Fix logging of no results and
900         quote sender and subject.
901
902 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
903
904         * proto-stream.el (proto-stream-open-starttls): Only do opportunistic
905         STARTTLS upgrades if we have built-in gnutls support.  Upgrades via
906         gnutls-cli are too slow to be done opportunistically.
907
908         * gnus-start.el (gnus-get-unread-articles): Slight cleanup.
909         (gnus-read-active-for-groups): Don't try to finish getting stuff where
910         we had no early-data returned.
911         (gnus-get-unread-articles): Add a sanity check so that we don't issue
912         two async commands to the same server at the same time.
913
914 2011-04-12  Stig Sandbeck Mathisen  <ssm@fnord.no>  (tiny change)
915
916         * gnus-sum.el (gnus-summary-select-article-buffer): Doc fix.
917
918 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
919
920         * gnus-registry.el (gnus-registry-remake-db): Put the warning on a
921         "warning" level.
922
923         * mm-url.el (mm-url-package-name): Remove to ease third-party reuse.
924         (mm-url-insert-file-contents): Don't set the package names.
925
926 2011-04-11  Teodor Zlatanov  <tzz@lifelogs.com>
927
928         * gnus-registry.el (gnus-registry-action): Remove properties and
929         simplify subject in `gnus-registry-handle-action'.
930         (gnus-registry-spool-action): Get subject and sender from message if
931         they are not passed in.
932         (gnus-registry-handle-action): Remove properties and simplify subject
933         consistently.
934
935 2011-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
936
937         * registry.el: Require CL before using defmacro*.
938
939 2011-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
940
941         * gnus-art.el (article-treat-date): Assume that
942         gnus-article-date-headers may be a group parameter.
943
944 2011-04-07  Teodor Zlatanov  <tzz@lifelogs.com>
945
946         * gnus-registry.el (gnus-registry-handle-action): More debugging.
947
948         * gnus-start.el (gnus-gnus-to-newsrc-format): Add a way to run
949         interactively so the newsrc file can contain foreign groups too.
950         Useful for debugging but not much for users.
951
952 2011-04-07  David Engster  <dengste@eml.cc>
953
954         * registry.el (registry-usage-test): Only do
955         `registry-lookup-breaks-before-lexbind' testing for Emacs24 with
956         lexical binding.
957
958 2011-04-07  David Engster  <dengste@eml.cc>
959
960         * Makefile.in (check, test-registry): New rules for test-suite.
961
962 2011-04-06  David Engster  <dengste@eml.cc>
963
964         * registry.el, gnus-registry.el: Use `ignore-errors' instead of third
965         argument NOERROR for `require', since XEmacs 21.4 does not support it.
966
967 2011-04-06  David Engster  <dengste@eml.cc>
968
969         * registry.el (initialize-instance): Change :after to :AFTER to be
970         compatible with old EIEIO version in XEmacs.
971
972 2011-04-06  Teodor Zlatanov  <tzz@lifelogs.com>
973
974         * gnus-registry.el (gnus-registry-post-process-groups)
975         (gnus-registry--split-fancy-with-parent-internal): Fix splitting bugs
976         and provide better messaging.
977
978 2011-04-06  David Engster  <dengste@eml.cc>
979
980         * Makefile.in (fail-on-warning): New rule to compile with warnings as
981         errors.
982
983         * dgnushack.el (dgnushack-compile-error-on-warn): New function to call
984         dgnushack-compile with error-on-warn enabled, and to signal an error if
985         clean compilation failed.
986         (dgnushack-compile): New argument 'error-on-warn'.  If non-nil, compile
987         with `byte-compile-error-on-warn'.  Return nil if errors occured.
988
989 2011-04-06  Teodor Zlatanov  <tzz@lifelogs.com>
990
991         * gnus-registry.el: Don't use ERT if it's not available.  Load it
992         unconditionally anyway, discarding errors.
993         (gnus-registry-delete-entries): New convenience function.
994         (gnus-registry-import-eld): Import from old .eld registry.
995
996         * registry.el: Don't use ERT if it's not available.  Load it
997         unconditionally anyway, discarding errors.
998
999         * proto-stream.el (gnutls-negotiate): Revert inadvertent commit of the
1000         version from the Claudio Bley GnuTLS patch (extra optional parameters
1001         and host name).
1002
1003 2011-04-05  Teodor Zlatanov  <tzz@lifelogs.com>
1004
1005         * gnus-registry.el (gnus-registry-fixup-registry): New function to
1006         fixup the parameters that can be customized by the user between
1007         save/read cycles.
1008         (gnus-registry-read): Use it.
1009         (gnus-registry-make-db): Use it.
1010         (gnus-registry-spool-action, gnus-registry-handle-action):
1011         Fix messaging.
1012         (gnus-registry--split-fancy-with-parent-internal): Fix loop.
1013         Map references to actual group names with sender and subject tracking.
1014         (gnus-registry-post-process-groups): Use `cond' for better messaging.
1015         (gnus-registry-usage-test): Add subject lookup test.
1016
1017         * registry.el (registry-db, initialize-instance): Set up constructor
1018         instead of :initform arguments for the sake of older Emacsen.
1019         (registry-lookup-breaks-before-lexbind): New method to demonstrate
1020         pre-lexbind merge bug.
1021         (registry-usage-test): Use it.
1022         (initialize-instance, registry-db): Move the non-function initforms
1023         back to the class definition.
1024
1025 2011-04-03  Teodor Zlatanov  <tzz@lifelogs.com>
1026
1027         * registry.el: New library to manage gnus-registry-style data.
1028
1029         * gnus-registry.el: Use it (major rewrite).
1030
1031         * nnregistry.el: Use it.
1032
1033         * spam.el: Use it.
1034
1035 2011-04-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1036
1037         * gnus-sum.el (gnus-update-marks): Reinstate the code to not alter
1038         marks on non-selected articles.
1039
1040 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
1041
1042         * nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command
1043         parameter to open-protocol-stream.
1044
1045 2011-04-01  Julien Danjou  <julien@danjou.info>
1046
1047         * mm-view.el (mm-display-inline-fontify): Do not fontify with
1048         fundamental-mode.
1049
1050 2011-04-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1051
1052         * gnus-start.el (gnus-get-unread-articles): Don't try to contact denied
1053         servers.
1054
1055 2011-03-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1056
1057         * gnus-sum.el (gnus-update-marks): Revert intersection change, which
1058         made marks not propagate, again.
1059
1060 2011-03-30  Chong Yidong  <cyd@stupidchicken.com>
1061
1062         * proto-stream.el (open-protocol-stream): Bring back `network' type.
1063         Make this the default type.
1064         (proto-stream-open-plain): Rename from proto-stream-open-default.
1065         (open-protocol-stream, proto-stream-open-starttls)
1066         (proto-stream-open-tls, proto-stream-open-shell): Replace `default'
1067         with `plain'.
1068
1069         * nnimap.el (nnimap-stream, nnimap-open-connection-1): Accept `network'
1070         value.
1071
1072         * nntp.el (nntp-open-connection-function): Document the fact that some
1073         values are not functions but are instead handled specially.
1074         Recognize nntp-open-plain-stream value.
1075         (nntp-open-connection): Recognize that value.
1076
1077 2011-03-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1078
1079         * dgnushack.el: Only do the defcustom compilation thing on XEmacs,
1080         where it seems to be needed.
1081
1082 2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1083
1084         * gssapi.el (open-gssapi-stream): Remove the last mentions of the IMAP
1085         stuff.
1086
1087         * gnus-score.el (gnus-score-string): Fix calling convention of
1088         `gnus-simplify-buffer-fuzzy' after last patches.
1089
1090         * gnus-sum.el (gnus-update-marks): Don't send any marks updates to the
1091         server for articles we didn't get any headers for.  This is a sanity
1092         check.
1093
1094 2011-03-29  Michael Welsh Duggan  <md5i@md5i.com>
1095
1096         * nnimap.el (nnimap-open-connection-1): Is the login responds with a
1097         new CAPABILITY, use it.
1098
1099 2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1100
1101         * gnus-agent.el (gnus-agent-fetch-headers): Don't message if we're not
1102         downloading anything.
1103
1104         * gnus.el (gnus-splash-svg-color-symbols): Remove superfluous `and'.
1105
1106 2011-03-29  Adam Sjøgren  <asjo@koldfront.dk>
1107
1108         * gnus.el (gnus-group-startup-message): Prefer svg file and replace
1109         colors.
1110         (gnus-splash-svg-color-symbols): New function.
1111
1112 2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1113
1114         * gnus-sum.el (gnus-simplify-buffer-fuzzy): Take the regexp explicitly
1115         instead of using the global gnus-simplify-subject-fuzzy-regexp.
1116         (gnus-simplify-subject-fuzzy): Use the local
1117         gnus-simplify-subject-fuzzy-regex instead of the global one.
1118         This makes using this variable in group parameters work.
1119
1120 2011-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
1121
1122         * gnus-registry.el (gnus-registry-unfollowed-groups):
1123         Add "archive:sent" to the unfollowed group regex (for the recent Gnus
1124         archive:sent-YYYY-MM-DD groups).
1125         (gnus-registry-split-fancy-with-parent): Bail out early in sender
1126         tracking if there are more than `gnus-registry-max-track-groups'
1127         matches.
1128
1129 2011-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1130
1131         * message.el (message--yank-original-internal): New function to do the
1132         insertion cleanly inside eval in `message-yank-original'.
1133         (message-yank-original): Use it.
1134
1135 2011-03-29  Julien Danjou  <julien@danjou.info>
1136
1137         * mm-view.el (mm-display-inline-fontify): Use `set-normal-mode' with
1138         local variables disabled rather than `normal-mode'.
1139
1140 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
1141
1142         * imap.el (imap-shell-open, imap-process-connection-type):
1143         Use imap-process-connection-type for 'shell' streams as well as
1144         Kerberos, SSL, other subprocesses.
1145
1146 2011-03-26  Chong Yidong  <cyd@stupidchicken.com>
1147
1148         * proto-stream.el: Changes preparatory to merging open-protocol-stream
1149         with open-network-stream.
1150         (proto-stream-always-use-starttls): Option removed.
1151         (open-protocol-stream): Return a process object by default.  Provide a
1152         new parameter :return-list specifying a list-type return value, which
1153         now has the form (PROP . PLIST) instead of a fixed-length list.  Change
1154         :type `network' to `try-starttls', and `network-only' to `default'.
1155         Make `default' the default, for compatibility with open-network-stream.
1156         Handle the no-parameter case exactly as open-network-stream, with no
1157         additional stream processing.  Search plists using plist-get.
1158         Explicitly add :end-of-commend parameter if it is missing.
1159         (proto-stream-open-default): Rename from
1160         proto-stream-open-network-only.  Return 'default as the type.
1161         (proto-stream-open-starttls): Rename from proto-stream-open-network.
1162         Use plist-get.  Don't return `tls' as the type if STARTTLS negotiation
1163         failed.  Always return a list with a (possibly dead) process as the
1164         first element, for compatibility with open-network-stream.
1165         (proto-stream-open-tls): Use plist-get.  Always return a list.
1166         (proto-stream-open-shell): Return `default' as connection type.
1167         (proto-stream-capability-open): Use plist-get.
1168         (proto-stream-eoc): Function deleted.
1169
1170         * nnimap.el (nnimap-stream, nnimap-open-connection)
1171         (nnimap-open-connection-1): Handle renaming of :type parameter for
1172         open-protocol-stream.
1173         (nnimap-open-connection-1): Pass a :return-list parameter
1174         open-protocol-stream to obtain a list return value.  Parse this list
1175         using plist-get.
1176
1177         * nntp.el (nntp-open-connection): Handle renaming of :type parameter
1178         for open-protocol-stream.  Accept open-protocol-stream return value
1179         that is a subprocess object instead of a list.  Handle the case of a
1180         dead returned process.
1181
1182 2011-03-25  Teodor Zlatanov  <tzz@lifelogs.com>
1183
1184         * mm-util.el (mm-handle-filename): Move to mm-decode.el (bug#8330).
1185
1186         * mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330).
1187
1188 2011-03-21  Julien Danjou  <julien@danjou.info>
1189
1190         * mm-view.el (mm-display-inline-fontify): Make mode optional, and call
1191         normal-mode if not set. Set temp buffer unmodified to avoid kill-buffer
1192         query.
1193         (mm-inline-text): Render normal text with fontification whenever
1194         possible.
1195
1196         * gnus-sum.el (gnus-summary-save-parts-1):
1197         * gnus-art.el (gnus-article-browse-html-save-cid-content)
1198         (gnus-article-browse-html-parts, gnus-mime-delete-part)
1199         (gnus-mime-copy-part, gnus-mime-inline-part, gnus-insert-mime-button):
1200         Use `mm-handle-filename'.
1201
1202         * mm-util.el (mm-handle-filename): New function, return the filename of
1203         an handle.
1204
1205 2011-03-18  Julien Danjou  <julien@danjou.info>
1206
1207         * gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
1208         (gnus-buffer-live-p): Check that buffer is not nil.
1209
1210 2011-03-17  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
1211
1212         * gnus.el: No Gnus v0.15 is released.
1213
1214 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1215
1216         * time-date.el (format-seconds): Use assoc instead of assoc-string to
1217         avoid warning on XEmacs.
1218
1219         * dgnushack.el: Bind help-echo-owns-message to avoid a compiler warning
1220         on XEmacs.
1221
1222         * gnus-art.el: Require mouse, which the build bot seems to say is
1223         needed.
1224
1225         * dgnushack.el: Define url-retrieve-synchronously unless not defined.
1226
1227         * gravatar.el (gravatar-retrieve-synchronously): Use `url-retrieve' on
1228         XEmacs, since it doesn't have url-retrieve-synchronously.
1229
1230         * time-date.el (format-seconds): Use assoc instead of assoc-string,
1231         since assoc-string doesn't exist in XEmacs.
1232
1233 2011-03-17  Antoine Levitt  <antoine.levitt@gmail.com>
1234
1235         * gnus-group.el (gnus-group-list-ticked): New function.
1236         (gnus-group-make-menu-bar): Provide a menu entry for it.
1237         (gnus-group-list-map): Provide a binding for it.
1238
1239 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1240
1241         * shr.el (shr-visit-file): New command.
1242
1243         * nnimap.el (nnimap-fetch-inbox): Rewrite slightly last patch.
1244
1245 2011-03-17  Bjørn Mork  <bjorn@mork.no>
1246
1247         * nnimap.el (nnimap-fetch-inbox): Don't download bodies on ver4-capable
1248         servers.
1249
1250 2011-03-16  Julien Danjou  <julien@danjou.info>
1251
1252         * mm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are
1253         inline.
1254
1255         * gnus-art.el (article-hide-list-identifiers):
1256         Use gnus-group-get-list-identifiers.
1257
1258         * gnus-sum.el (gnus-group-get-list-identifiers): New function.
1259         (gnus-summary-remove-list-identifiers):
1260         Use gnus-group-get-list-identifiers to get regexp.
1261         (gnus-select-newsgroup, gnus-summary-insert-subject)
1262         (gnus-summary-insert-articles):
1263         Call gnus-summary-remove-list-identifiers unconditionally.
1264
1265 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1266
1267         * gnus-sum.el (gnus-articles-to-read): Revert back to old behaviour if
1268         we're selecting a group with unread articles.
1269
1270         * nnimap.el (nnimap-open-connection-1): Allow `network-only', too.
1271
1272         * gssapi.el: New file separated out from imap.el to provide a general
1273         Kerberos 5 connection facility for Emacs.
1274
1275         * message.el (message-elide-ellipsis): Document the format spec
1276         ellipsis.
1277
1278 2011-03-15  Reiner Steib  <Reiner.Steib@gmx.de>
1279
1280         * message.el (message-elide-region): Allow the ellipsis to say how many
1281         lines were removed.
1282
1283 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1284
1285         * gnus-win.el (gnus-configure-frame): Protect against trying to restore
1286         window configurations containing buffers that are now dead.
1287
1288         * nnimap.el (nnimap-parse-flags): Remove all MODSEQ entries before
1289         parsing to avoid integer overflows.
1290         (nnimap-parse-flags): Simplify the last change.
1291         (nnimap-parse-flags): Store HIGHESTMODSEQ as a string, since it may be
1292         too large for 32-bit Emacsen.
1293
1294 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1295
1296         * auth-source.el (auth-source-netrc-create):
1297         * message.el (message-yank-original): Fix use of `case'.
1298
1299 2011-03-15  Nelson Ferreira  <nelson.ferreira@ieee.org>  (tiny change)
1300
1301         * gnus-art.el (gnus-article-treat-body-boundary): Fix boundary width on
1302         XEmacs, which was one character too wide.
1303
1304 2011-03-09  Antoine Levitt  <antoine.levitt@gmail.com>
1305
1306         * gnus-sum.el (gnus-articles-to-read): Use gnus-large-newsgroup as
1307         default number of articles to display.
1308         (gnus-articles-to-read): Use pretty names for prompt.
1309
1310 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1311
1312         * gnus-int.el (gnus-open-server): Ditto.
1313
1314         * gnus-start.el (gnus-activate-group): Give a backtrace if
1315         debug-on-quit is set and the user hits `C-g'.
1316         (gnus-read-active-file): Ditto.
1317
1318         * gnus-group.el (gnus-group-read-ephemeral-group): Ditto.
1319
1320 2011-03-15  Teodor Zlatanov  <tzz@lifelogs.com>
1321
1322         * message.el (message-yank-original): Use cond instead of CL case.
1323
1324 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1325
1326         * auth-source.el (auth-source-netrc-create): Use usual format for the
1327         default in prompts.
1328
1329 2011-03-14  Katsumi Yamaoka  <yamaoka@jpl.org>
1330
1331         * lpath.el: Fbind read-char-choice for XEmacs.
1332
1333 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
1334
1335         * auth-source.el (auth-source-netrc-create): Show the default in the
1336         prompt when prompting for token creation.
1337
1338 2011-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
1339
1340         * auth-source.el (auth-source-format-prompt): Always convert the value
1341         to a string to avoid evaluating non-string arguments.
1342         (auth-source-netrc-create): Offer default properly, not as initial
1343         content in `read-string'.
1344         (auth-source-netrc-saver): Use a cache keyed by file name and MD5 hash
1345         of line to determine if we've been run before.  If so, don't run again,
1346         but print a trivial message to indicate the cache was hit instead.
1347
1348 2011-03-11  Teodor Zlatanov  <tzz@lifelogs.com>
1349
1350         * gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook):
1351         Don't install `gnus-sync-read' to any hooks by default.  It's buggy.
1352         The user will have to run `gnus-sync-read' manually and wait for Cloudy
1353         Gnus.
1354
1355 2011-03-11  Julien Danjou  <julien@danjou.info>
1356
1357         * mm-uu.el (mm-uu-type-alist): Add support for diff starting with "===
1358         modified file".
1359
1360 2011-03-09  Teodor Zlatanov  <tzz@lifelogs.com>
1361
1362         * auth-source.el (auth-source-read-char-choice): New function to read a
1363         character choice using `dropdown-list', `read-char-choice', or
1364         `read-char'.  It appends "[a/b/c] " to the prompt if the choices were
1365         '(?a ?b ?c).  The `dropdown-list' support is disabled for now.  Use
1366         `eval-when-compile' to load `dropdown-list'.  Remove `dropdown-list'.
1367         (auth-source-netrc-saver): Use it.
1368         (auth-source-pick-first-password): New convenience function.
1369
1370 2011-03-08  Teodor Zlatanov  <tzz@lifelogs.com>
1371
1372         * nnimap.el (nnimap-credentials): Keep the :save-function as the third
1373         parameter in the credentials.
1374         (nnimap-open-connection-1): Use it after a successful login.
1375         (nnimap-credentials): Add IMAP-specific user and password prompt.
1376
1377         * auth-source.el (auth-source-search): Add :require parameter, taking a
1378         list.  Document it and the :save-function return token.  Pass :require
1379         down.  Change the CREATED message from a warning to a debug statement.
1380         (auth-source-search-backends): Pass :require down.
1381         (auth-source-netrc-search): Pass :require down.
1382         (auth-source-netrc-parse): Use :require, if it's given, as a filter.
1383         Change save prompt to indicate all modifications saved here are
1384         deletions.
1385         (auth-source-netrc-create): Take user login name as default in user
1386         prompt.  Move all the save functionality to a lexically bound function
1387         under the :save-function token in the returned list.  Set up clearer
1388         default prompts for user, host, port, and secret.
1389         (auth-source-netrc-saver): New function, intended to be wrapped for
1390         :save-function.
1391
1392 2011-03-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1393
1394         * shr.el (shr-table-horizontal-line): Change the defaults for the table
1395         lines to be spaces instead.
1396
1397 2011-03-07  Julien Danjou  <julien@danjou.info>
1398
1399         * sieve-manage.el (sieve-sasl-auth): Create auth-info if not found.
1400         (sieve-sasl-auth): Check that auth-source-search did return something,
1401         or just return an empty string.
1402
1403 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
1404
1405         * gnus.el (gnus-interactive): Use read-directory-name.
1406
1407         * gnus-uu.el (gnus-uu-decode-uu-and-save)
1408         (gnus-uu-decode-unshar-and-save, gnus-uu-decode-save)
1409         (gnus-uu-decode-binhex, gnus-uu-decode-yenc)
1410         (gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save):
1411         Likewise.
1412
1413         * gnus-group.el (gnus-group-make-directory-group): Likewise.
1414
1415 2011-03-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1416
1417         * gnus-start.el (gnus-group-change-level): Allow putting foreign groups
1418         onto the list of killed groups, too.  This makes killed nnimap groups,
1419         for instance, more reliably not reappear.
1420
1421         * nnimap.el (nnimap-request-thread): Don't bug out when we can't find
1422         the parent.
1423
1424         * gnus-sum.el (gnus-update-read-articles): Fix typo.
1425
1426         * gnus.el (gnus-valid-select-methods): Mark nnimap as a backend that
1427         really have server-side marks.
1428
1429         * gnus-sum.el (gnus-propagate-marks): Change default back to nil again,
1430         since most backends do not usefully have server-side marks.
1431         (gnus-update-read-articles): Propagate marks to all backends that
1432         really have server-side marks.
1433
1434 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
1435
1436         * message.el (message-cite-reply-position, message-cite-style):
1437         New variables.
1438         (message-yank-original): Use the new citation styles.
1439
1440 2011-03-04  Daiki Ueno  <ueno@unixuser.org>
1441
1442         * message.el (message-options): Revert 22da67af (workaround for XEmacs
1443         buffer-local issue); don't mark it buffer-local when running under
1444         XEmacs.
1445
1446 2011-03-03  Tassilo Horn  <tassilo@member.fsf.org>
1447
1448         * nnimap.el (nnimap-parse-flags): Add a workaround for FETCH lines with
1449         numbers too big to be `read'.
1450
1451 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
1452
1453         * password-cache.el (password-in-cache-p): Add autoload.
1454
1455         * message.el (message-options): Make buffer-local two ways to attempt
1456         to fix a XEmacs bug.
1457
1458 2011-03-02  Julien Danjou  <julien@danjou.info>
1459
1460         * gnus-art.el (gnus-with-article-buffer): Fix buffer live check.
1461
1462 2011-03-01  Julien Danjou  <julien@danjou.info>
1463
1464         * gnus-art.el (list-identifier): Add list-identifier as a parameter
1465         group.
1466         (article-hide-list-identifiers): Use list-identifier group parameter.
1467
1468 2011-02-28  Julien Danjou  <julien@danjou.info>
1469
1470         * sieve.el (sieve-buffer-script-name): New local variable to store
1471         sieve script name.
1472         (sieve-edit-script): Store sieve script name.
1473         (sieve-upload): Use sieve script name when uploading.
1474         (sieve-upload): Use substitute-command-keys.
1475         (sieve-edit-script): Use substitute-command-keys.
1476         (sieve-refresh-scriptlist): Use substitute-command-keys.
1477         (sieve-manage-mode-map): Define keymap properly.
1478         (sieve-manage-mode): Do not set mode name manually, change mode-name to
1479         (sieve-refresh-scriptlist): Use substitute-command-keys."Sieve-manage".
1480         Remove commented code about cvs.
1481         (sieve-manage-quit): New function.
1482         (sieve-manage-mode-map): Bind 'q' to sieve-manage-quit.
1483
1484 2011-02-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1485
1486         * gnus-group.el (gnus-import-other-newsrc-file): New function.
1487
1488 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
1489
1490         * auth-source.el (auth-source-search): Cache empty result sets.
1491
1492         * password-cache.el (password-in-cache-p): Convenience function to
1493         check if a key is in the cache, even if the value is nil.
1494
1495         * auth-source.el (auth-source-save-behavior): New variable to replace
1496         `auth-source-never-create'.
1497         (auth-source-netrc-create): Use it.
1498         (auth-source-never-save): Remove.
1499
1500 2011-02-25  Lars Ingebrigtsen  <larsi@gnus.org>
1501
1502         * nnimap.el (nnimap-stream): Doc fix.
1503         (nnimap-open-connection-1): Reverse the order of the ports to that the
1504         prompted-for port is first.
1505
1506         * gnus-start.el (gnus-get-unread-articles): Don't clobber the async
1507         retrieval by the no-group selection.
1508
1509         * gnus-demon.el (gnus-demon-init): run-with-timer should be called with
1510         numerical parameters.
1511
1512 2011-02-25  Julien Danjou  <julien@danjou.info>
1513
1514         * gnus-gravatar.el: Use gnus-with-article-buffer.
1515
1516         * gnus-art.el (gnus-with-article-buffer): Check that the
1517         gnus-article-buffer is alive.
1518
1519 2011-02-24  Teodor Zlatanov  <tzz@lifelogs.com>
1520
1521         * auth-source.el (auth-source-creation-prompts): New variable to manage
1522         creation-time prompts.
1523         (auth-source-search): Document it.
1524         (auth-source-format-prompt): Add utility function.
1525         (auth-source-netrc-create): Don't default the user name to
1526         user-login-name.  Use `auth-source-creation-prompts' and some default
1527         prompts for user, host, port, and password (the default generic prompt
1528         remains ugly).
1529         (auth-source-never-save): Add customizable option to never save info.
1530         (auth-source-netrc-create): Use it and improve save prompts.  Fix help
1531         mode excursion.
1532
1533 2011-02-24  Katsumi Yamaoka  <yamaoka@jpl.org>
1534
1535         * auth-source.el (auth-source-netrc-create): Use `read-char' with no
1536         argument that XEmacs doesn't support.
1537
1538         * dgnushack.el (dgnushack-compile): Exclude color.el from being
1539         compiled for Emacsen having no `libxml-parse-html-region' support.
1540
1541         * gnus-xmas.el (gnus-xmas-define): Remove gnus-x-color-values.
1542
1543         * lpath.el: Bind buffer-save-without-query for XEmacs.
1544
1545 2011-02-23  Julien Danjou  <julien@danjou.info>
1546
1547         * gnus-art.el (article-make-date-line): Ignore errors if time is
1548         invalid and not convertible.
1549         (article-make-date-line): Only add lapsed time if time is not nil.
1550
1551 2011-02-23  Teodor Zlatanov  <tzz@lifelogs.com>
1552
1553         * auth-source.el (auth-source-netrc-create): Use `read-char' instead of
1554         `read-char-choice' for backwards compatibility.
1555         (auth-source-netrc-element-or-first): New function to DTRT for
1556         parameter extraction.
1557         (auth-source-netrc-create): Use it and fix multiple parameter print
1558         bug.  Use the default passed from above (given-default) or the
1559         built-in (user-login-name for :user).
1560
1561 2011-02-23  Lars Ingebrigtsen  <larsi@gnus.org>
1562
1563         * gnus-start.el (gnus-dribble-read-file):
1564         Set buffer-save-without-query, since we always want to save the dribble
1565         file, probably.
1566
1567         * nnmail.el (nnmail-article-group): Allow a final "" split to work on
1568         nnimap.
1569
1570         * gnus-sum.el (gnus-user-date-format-alist): Rename back again from
1571         -summary- since it's a user-visible variable.
1572
1573         * nnimap.el (nnimap-retrieve-group-data-early): Don't do QRESYNC the
1574         first time you use the new Gnus.
1575
1576 2011-02-22  Teodor Zlatanov  <tzz@lifelogs.com>
1577
1578         * auth-source.el: Don't load netrc.el.
1579         (auth-sources): Search ~/.netrc as well by default.
1580         (auth-source-debug): Add 'trivia option for extra output.
1581         (auth-source-do-trivia): Use it.
1582         (auth-source-search): Simplify logic to use
1583         `auth-source-search-backends'.  Use `auth-source-do-trivia' where
1584         appropriate.  Don't keep a running count at this level.  Layer :create
1585         and :delete options appropriately on the first and second passes.
1586         Don't track the backend with the search results.
1587         (auth-source-search-backends): New function to search a list of
1588         backends for a processed spec.
1589         (auth-source-netrc-parse): Cache all netrc files, making
1590         auth-source-netrc-cache an alist keyed by the file name and using the
1591         file mtime as the caching criterion.  Keep the obfuscated data secret
1592         with a lexical bind.
1593         (auth-source-netrc-search): Don't calculate the length of the results
1594         unnecessarily.
1595         (auth-source-search-backends): Fix bug.
1596         (auth-source-netrc-create): Rework prompts.
1597
1598 2011-02-22  Andrew Cohen  <cohen@andy.bu.edu>
1599
1600         * nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key):
1601         Lower case names of search constraints.
1602         (nnir-run-query): Cache and reuse search constraints for all imap
1603         servers.
1604
1605 2011-02-22  Lars Ingebrigtsen  <larsi@gnus.org>
1606
1607         * gnus-msg.el (gnus-inews-add-send-actions): Restore the winconf name
1608         after exit.
1609         (gnus-setup-message): Define missing variable from last checkin.
1610
1611         * gnus-sum.el (gnus-summary-show-article): When called with t as the
1612         value, show the raw article.
1613
1614 2011-02-22  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
1615
1616         * gnus.el: No Gnus v0.13 is released.
1617
1618 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
1619
1620         * nnimap.el (nnimap-open-connection-1): Revert last change, since
1621         auth-source now accepts numbers.
1622
1623         * auth-source.el (auth-source-netrc-parse): Accept a number as the port
1624         spec, too.
1625         (auth-source-ensure-strings): New function.
1626
1627         * gnus-art.el (gnus-article-update-date-headers): Doc fix.
1628         (gnus-article-setup-buffer): Always restart the date timer so that user
1629         changes to the frequency is respected.
1630
1631         * nnimap.el (nnimap-open-connection-1): auth-source expects strings as
1632         port numbers, so make sure it gets that if nnimap-server-port is
1633         explicit.
1634
1635 2011-02-21  Simon Josefsson  <simon@josefsson.org>
1636
1637         * nnimap.el (nnimap-inbox): Doc fix.
1638
1639 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
1640
1641         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1642         Autoload.  Add optional arg FRAME, and pass it to color-values.
1643         (color-complement): Caller changed.  Doc fix.
1644         (color-gradient): Rewrite for better clarity and efficiency.
1645
1646 2011-02-20  Chong Yidong  <cyd@stupidchicken.com>
1647
1648         * shr-color.el (shr-color->hexadecimal): Use renamed function names
1649         color-rgb-to-hex, color-name-to-rgb, color-srgb-to-lab, and
1650         color-lab-to-srgb.
1651
1652 2011-02-20  Drew Adams  <drew.adams@oracle.com>
1653
1654         * color.el: First part of merge from hexrgb.el.
1655         (color-rgb-to-hex): Rename from color-rgb->hex.
1656         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
1657         saturation to zero if the value is too small.
1658         (color-rgb-to-hsl): Rename from color-rgb->hsl.
1659         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
1660         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
1661         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
1662         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
1663         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
1664         (color-cie-de2000): Doc fix.
1665
1666 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
1667
1668         * nntp.el (nntp-finish-retrieve-group-infos): Add a kludge to use the
1669         given method as in the group name if we're using an extended method.
1670         (nntp-finish-retrieve-group-infos): Wait for the end of the LIST ACTIVE
1671         command, if we're using that, instead of waiting for the beginning.
1672
1673         * gnus-start.el (gnus-get-unread-articles): Extend the methods so that
1674         we're sure to get unique server names, and we don't output two async
1675         commands in the same buffer.  This fixes an NNTP hang for some users.
1676
1677 2011-02-21  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
1678
1679         * gnus.el: No Gnus v0.11 is released.
1680
1681 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
1682
1683         * gnus-sum.el (gnus-summary-next-article): Add a kludge to reselect the
1684         summary buffer before reading going to the next buffer.  This avoids
1685         putting the point in the group buffer if you `C-g' the command.
1686
1687         * auth-source.el (auth-source-netrc-parse): Add an in-memory netrc
1688         cache (for now) to make ~/.authinfo.gpg files usable.
1689
1690         * nnfolder.el (copyright-update): Define for the compiler.
1691
1692         * auth-source.el (auth-source-search): Fix unbound variable.
1693
1694 2011-02-19  Glenn Morris  <rgm@gnu.org>
1695
1696         * gnus.el (gnus-meta): Doc fix.
1697
1698 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
1699
1700         * nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update,
1701         in case it's not yet loaded.
1702
1703 2011-02-20  Lars Ingebrigtsen  <larsi@gnus.org>
1704
1705         * nnimap.el (nnimap-wait-for-response): Ensure that we get the entire
1706         line we're waiting for.
1707
1708 2011-02-19  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
1709
1710         * gnus-art.el (gnus-article-next-page-1): Because customized mode-line
1711         face with line-width greater than zero will cause RET in gnus summary
1712         buffer to scroll down article page-wise because auto vscroll happens,
1713         it should be temporalily disabled when doing a scroll-up.
1714
1715 2011-02-19  Lars Ingebrigtsen  <larsi@gnus.org>
1716
1717         * nnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK"
1718         outputs from the server.
1719
1720 2011-02-18  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
1721
1722         * gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook
1723         later so that bbdb can hook in easier.
1724
1725 2011-02-18  Lars Ingebrigtsen  <larsi@gnus.org>
1726
1727         * auth-source.el (auth-source-search): Don't try to create credentials
1728         if the caller doesn't want that.
1729         (auth-source-search): If we don't find a match, don't bug out on
1730         non-bound variables.
1731         (auth-source-search): Only ask a single backend to create the
1732         credentials.
1733
1734         * nnimap.el (nnimap-log-command): Add a newline to the inhibited
1735         logging.
1736         (nnimap-credentials): Protect against auth-source-search returning nil.
1737         (nnimap-request-list): Protect against not being able to open the
1738         server.
1739
1740 2011-02-17  Lars Ingebrigtsen  <larsi@gnus.org>
1741
1742         * auth-source.el (auth-source-search): Do a two-phase search, one with
1743         no :create to get the responses from all backends.
1744
1745         * nnimap.el (nnimap-open-connection-1): Delete duplicate server names
1746         when getting credentials.
1747
1748         * gnus-util.el (gnus-delete-duplicates): New function.
1749
1750 2011-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
1751
1752         * nnimap.el (nnimap-credentials): Instead of picking the first port as
1753         a creation default, pass the whole port list down.  It will be
1754         completed.
1755
1756         * auth-source.el (auth-source-search): Updated docs to talk about
1757         multiple creation choices.
1758         (auth-source-netrc-create): Accept a list as a value (from the search
1759         parameters) and do completion on that list.  Keep a separate netrc line
1760         with the password obscured for showing the user.
1761
1762         * nnimap.el (nnimap-open-connection-1): Make the `nnimap-address' the
1763         first choice to `auth-source-search' so it will be used for entry
1764         creation instead of the server's Gnus-specific name.
1765         (nnimap-credentials): Rely on the auth-source library to select which
1766         port is actually wanted in the new netrc entry, so don't override
1767         `auth-source-creation-defaults'.
1768
1769         * auth-source.el (auth-source-netrc-parse): Use :port instead of
1770         :protocol and accept a missing user, host, or port as a wildcard match.
1771         (auth-source-debug): Default to off.
1772
1773         (auth-source-netrc-search, auth-source-netrc-create)
1774         (auth-source-secrets-search, auth-source-secrets-create)
1775         (auth-source-user-or-password, auth-source-backend, auth-sources)
1776         (auth-source-backend-parse-parameters, auth-source-search): Use :port
1777         instead of :protocol.
1778
1779         * nnimap.el (nnimap-credentials): Pass a port default to
1780         `auth-source-search' in case an entry needs to be created.
1781         (nnimap-open-connection-1): Use :port instead of :protocol.
1782
1783 2011-02-17  Katsumi Yamaoka  <yamaoka@jpl.org>
1784
1785         * auth-source.el: Bind load-path when loading EIEIO from
1786         "gnus-fallback-lib/eieio"; don't pass more than two args, that XEmacs
1787         21.4 doesn't support, to `require'.
1788         (auth-source-secrets-search): Use mm-delete-duplicates instead of
1789         delete-dups that is not available in XEmacs 21.4.
1790
1791 2011-02-16  Raphael Kubo da Costa  <kubito@gmail.com>  (tiny change)
1792
1793         * auth-source.el: Correctly load EIEIO from "gnus-fallback-lib/eieio"
1794         as EIEIO must also be loaded when auth-source.el is being
1795         byte-compiled.
1796
1797 2011-02-16  Teodor Zlatanov  <tzz@lifelogs.com>
1798
1799         * gnus-fallback-lib/eieio/eieio.el: Copy from Emacs.
1800
1801         * gnus-fallback-lib/eieio/eieio-speedbar.el: Copy from Emacs.
1802
1803         * gnus-fallback-lib/eieio/eieio-opt.el: Copy from Emacs.
1804
1805         * gnus-fallback-lib/eieio/eieio-datadebug.el: Copy from Emacs.
1806
1807         * gnus-fallback-lib/eieio/eieio-custom.el: Copy from Emacs.
1808
1809         * gnus-fallback-lib/eieio/eieio-comp.el: Copy from Emacs.
1810
1811         * gnus-fallback-lib/eieio/eieio-base.el: Copy from Emacs.
1812
1813         * auth-source.el: Load EIEIO from "gnus-fallback-lib/eieio" if
1814         necessary.
1815
1816 2011-02-16  Lars Ingebrigtsen  <larsi@gnus.org>
1817
1818         * gnus-sum.el (gnus-propagate-marks): Change default to t again, since
1819         nil means that nnimap doesn't get updated.
1820
1821 2011-02-16  Teodor Zlatanov  <tzz@lifelogs.com>
1822
1823         * auth-source.el (auth-source-netrc-create): Return a synthetic search
1824         result when the user doesn't want to write to the file.
1825         (auth-source-netrc-search): Expect a synthetic result and proceed
1826         accordingly.
1827         (auth-source-cache-expiry): New variable to override
1828         `password-cache-expiry'.
1829         (auth-source-remember): Use it.
1830
1831         * nnimap.el (nnimap-credentials): Remove the `inhibit-create'
1832         parameter.  Create entry if necessary by using :create t.
1833         (nnimap-open-connection-1): Don't pass `inhibit-create'.
1834
1835 2011-02-15  Teodor Zlatanov  <tzz@lifelogs.com>
1836
1837         * auth-source.el (auth-source-debug): Enable by default and don't
1838         mention the obsolete `auth-source-hide-passwords'.
1839         (auth-source-do-warn): New function to debug unconditionally.
1840         (auth-source-do-debug): Use it.
1841         (auth-source-backend-parse): Use it for invalid `auth-sources' entries
1842         and for Secrets API entries when the secrets.el library is not
1843         available.
1844
1845 2011-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
1846
1847         * gnus-sum.el (gnus-propagate-marks): Default to nil.
1848         (gnus-summary-exit): Kill the correct article buffer on exit from a
1849         `C-d' group.
1850
1851         * gnus-start.el (gnus-use-backend-marks): Removed, since it duplicates
1852         gnus-propagate-marks.
1853
1854         * gnus-sum.el (gnus-summary-exit-no-update): Restore the group conf
1855         before killing the buffers so that a non-full window conf gets handled
1856         correctly.
1857         (gnus-summary-exit): Ditto.
1858         (gnus-summary-read-group-1): Ditto.
1859
1860         * nntp.el (nntp-retrieve-group-data-early): Reinstate the two-part
1861         async code again so that we can debug it properly.
1862
1863         * message.el (message-reply): Take an optional switch-buffer parameter
1864         so that Gnus window confs are respected better.
1865
1866 2011-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
1867
1868         * auth-source.el (auth-source-backend-parse-parameters): Don't rely on
1869         `plist-get' to accept non-list parameters (XEmacs issue).
1870         Fix docstring.
1871         (auth-source-secrets-search): Use `delete-dups', `append mapcar', and
1872         `butlast' instead of `remove-duplicates', `mapcan', and `subseq'.
1873         (auth-sources, auth-source-backend-parse, auth-source-secrets-search):
1874         Login collection is "Login" and not "login".
1875
1876 2011-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
1877
1878         * gnus-art.el (article-update-date-lapsed): Don't bug out when updating
1879         multiple headers.
1880
1881         * nnimap.el (nnimap-inhibit-logging): New variable.
1882         (nnimap-log-command): Don't log login commands.
1883
1884         * auth-source.el (auth-source-netrc-search): The asserts seem to want
1885         to have more parameters.
1886
1887         * nnimap.el (nnimap-send-command): Mark the command time for each
1888         command, so that we don't get NOOPs stepping on our toes.
1889
1890         * gnus-art.el (article-date-ut): Get the date from the Date header on
1891         `t'.
1892
1893 2011-02-14  Katsumi Yamaoka  <yamaoka@jpl.org>
1894
1895         * auth-source.el (auth-source-search): Use copy-sequence instead of
1896         the cl.el copy-list.
1897
1898 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1899
1900         * imap.el: Bring it back (revert
1901         84d800cd31de3064f0ed39617d725709a2f8f42f).
1902
1903 2011-02-13  Adam Sjøgren  <asjo@koldfront.dk>
1904
1905         * gnus-delay.el (gnus-delay-article) Fix number of seconds per day.
1906         Improve prompt.
1907
1908 2011-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
1909
1910         * gnus-art.el (gnus-article-mode-line-format): Remove the article
1911         washing status from the default format.  It isn't very informative.
1912
1913 2011-02-13  Tassilo Horn  <tassilo@member.fsf.org>  (tiny change)
1914
1915         * nnimap.el (nnimap-request-accept-article, nnimap-process-quirk):
1916         Fix Gcc processing on imap.
1917
1918 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1919
1920         * imap.el: Remove file.  All the functionality is in nnimap.el.
1921
1922 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1923
1924         * message.el (message-bury): Don't pop up a new window when selected
1925         window is dedicated.
1926
1927 2011-02-10  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
1928
1929         * gnus-sum.el (gnus-summary-save-parts): Use read-directory-name.
1930
1931 2011-02-10  Teodor Zlatanov  <tzz@lifelogs.com>
1932
1933         * sieve-manage.el: Autoload `auth-source-search'.
1934         (sieve-sasl-auth): Use it.
1935
1936 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
1937
1938         * nnimap.el: Autoload `auth-source-forget+'.
1939         (nnimap-open-connection-1): Use it if the connection fails.
1940
1941         * auth-source.el: Require `password-cache'.
1942         (auth-source-hide-passwords, auth-source-cache): Remove and mark
1943         obsolete.
1944         (auth-source-magic): Marker for `password-cache' keys.
1945         (auth-source-do-cache): Update docstring.
1946         (auth-source-search): Use and check cache.
1947         (auth-source-forget-all-cached, auth-source-remember)
1948         (auth-source-recall, auth-source-forget, auth-source-forget+)
1949         (auth-source-specmatchp): Caching support functions.
1950         (auth-source-forget-user-or-password, auth-source-forget-all-cached):
1951         Remove and obsolete.
1952         (auth-source-user-or-password): Remove caching to further discourage
1953         using it.  Always hide passwords.
1954
1955         * password-cache.el (password-cache-remove): Accept secrets that are
1956         not strings.
1957
1958 2011-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
1959
1960         * nntp.el (nntp-retrieve-group-data-early-disabled): Disable the async
1961         code for now, since it doesn't work for all users.
1962
1963 2011-02-09  Julien Danjou  <julien@danjou.info>
1964
1965         * message.el (message-options): Make message-options really buffer
1966         local.
1967
1968 2011-02-08  Teodor Zlatanov  <tzz@lifelogs.com>
1969
1970         * mail-source.el: Autoload `auth-source-search'.
1971         (mail-source-keyword-map): Note order matters.
1972         (mail-source-set-1): Get all the mail-source source values and
1973         defaults and search auth-source on those if needed.  This can all
1974         probably be simplified.
1975
1976         * nnimap.el: Autoload `auth-source-search'.
1977         (nnimap-credentials): Use it.
1978         (nnimap-open-connection-1): Ask for the virtual server and physical
1979         address in one shot.
1980
1981         * nntp.el: Autoload `auth-source-search'.
1982         (nntp-send-authinfo): Use it.  Note TODO.
1983
1984 2011-02-08  Julien Danjou  <julien@danjou.info>
1985
1986         * shr.el (shr-tag-body): Add support for text attribute in body
1987         markups.
1988
1989         * message.el (message-options): Make message-options a local variable.
1990
1991 2011-02-07  Teodor Zlatanov  <tzz@lifelogs.com>
1992
1993         * auth-source.el (auth-source-secrets-search)
1994         (auth-source-user-or-password): Use `append' instead of `nconc'.
1995         (auth-source-user-or-password): Build return list better and protect
1996         against nil :secret.
1997
1998 2011-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
1999
2000         * nnimap.el (nnimap-update-info): Refactor slightly.
2001         (nnimap-update-info): Tell Gnus whether there are any \Recent messages.
2002         (nnimap-update-info): Clean up slightly.
2003         (nnimap-quirk): Add quirk for Gmail IMAP which bugs out on NUL
2004         characters.
2005         (nnimap-process-quirk): Rename function to avoid collision.
2006         (nnimap-update-info): Fix macrology bug-out.
2007         (nnimap-update-info): Simplify split history test.
2008
2009 2011-02-06  Michael Albinus  <michael.albinus@gmx.de>
2010
2011         * auth-source.el (top): Require 'eieio unconditionally.
2012         Autoload `secrets-get-attributes' instead of `secrets-get-attribute'.
2013         (auth-source-secrets-search): Limit search when `max' is greater than
2014         number of results.
2015
2016 2011-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
2017
2018         * nntp.el (nntp-finish-retrieve-group-infos): Protect against the first
2019         part not returning any data.
2020
2021         * proto-stream.el (open-protocol-stream): Document the return value.
2022
2023 2011-02-06  Teodor Zlatanov  <tzz@lifelogs.com>
2024
2025         * auth-source.el (auth-source-secrets-search): Add examples.
2026
2027 2011-02-06  Julien Danjou  <julien@danjou.info>
2028
2029         * message.el (message-setup-1): Handle message-generate-headers-first
2030         set to t.
2031
2032 2011-02-06  Teodor Zlatanov  <tzz@lifelogs.com>
2033
2034         * auth-source.el (auth-sources): Allow for simpler defaults for Secrets
2035         API with a string "secrets:collection-name" and with 'default.
2036         (auth-source-backend-parse): Parse "secrets:collection-name" and
2037         'default.  Recurse on parses instead of repeating code.  Use the
2038         Secrets API is the source is not nil and 'ignore otherwise.  Emit a
2039         message when ignoring a source.
2040         (auth-source-search): List ignored search keys at the top level.
2041         (auth-source-netrc-create): Use `case' instead of `cond'.
2042         (auth-source-secrets-search): Created with TODOs.
2043         (auth-source-secrets-create): Created with TODOs.
2044         (auth-source-retrieve, auth-source-create, auth-source-delete)
2045         (auth-source-protocol-defaults, auth-source-user-or-password-imap)
2046         (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh)
2047         (auth-source-user-or-password-sftp)
2048         (auth-source-user-or-password-smtp): Remove.
2049         (auth-source-user-or-password): Deprecated and modified to be a wrapper
2050         around `auth-source-search'.  Not tested thoroughly.
2051
2052 2011-02-04  Teodor Zlatanov  <tzz@lifelogs.com>
2053
2054         * auth-source.el: Bring in assoc and eioeio libraries.
2055         (secrets-enabled): New variable to track the status of the Secrets API.
2056         (auth-source-backend): New EIOEIO class to represent a backend.
2057         (auth-source-creation-defaults): New variable to set prompt defaults
2058         during token creation (see the `auth-source-search' docstring for
2059         details).
2060         (auth-sources): Simplify to allow a simple string as a netrc backend
2061         spec.
2062         (auth-source-backend-parse): Parse a backend from an `auth-sources' spec.
2063         (auth-source-backend-parse-parameters): Fill in the backend parameters.
2064         (auth-source-search): Main auth-source API entry point.
2065         (auth-source-delete): Wrapper around `auth-source-search' for deletion.
2066         (auth-source-search-collection): Helper function for searching.