Protect better against async retrievals happening concurrently
[gnus] / lisp / ChangeLog
1 2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2
3         * nntp.el (nntp-retrieve-groups): Refuse to do retrieval when an async
4         retrieval is happening.
5
6         * gnus.el (gnus-parameters): Doc fix.
7
8 2012-01-06  Dave Abrahams  <dave@boostpro.com>  (tiny change)
9
10         * gnus-sum.el (gnus-summary-refer-thread): If the subtree is hidden,
11         show the thread after expansion.
12
13 2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14
15         * gnus-art.el (article-narrow-to-head): If the head is completely
16         empty, narrow to the empty region (bug#9764).
17
18         * gnus-sum.el (gnus-summary-mark-article-as-unread): Mark articles as
19         read, and then mark them as unread only when the unread mark is used.
20         This makes `C-- T k' actually work, even though it's confusing.
21
22         * gnus-win.el (gnus-all-windows-visible-p): Ensure that the buffer is
23         alive before we try to find its window.
24
25 2012-01-06  Brian Sniffen  <bsniffen@akamai.com>  (tiny change)
26
27         * mm-decode.el (mm-display-external): Use a longer timeout for the
28         deletion to allow slow programs to display the file.
29
30 2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
31
32         * gnus-art.el (gnus-article-browse-delete-temp-files): Fix up the
33         prompt to be less confusing.
34
35         * gnus-msg.el (gnus-summary-reply): Do not give a `switch-to-buffer'
36         argument to `message-reply'.  This broke `special-display-*' frame
37         pop-uping (bug#10238).
38
39 2012-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
40
41         * starttls.el (starttls-available-p): Return nil on Windows/MS-DOS
42         systems, since these allegedly don't work there.
43
44 2012-01-04  Chris Gray  <chrismgray@gmail.com>  (tiny change)
45
46         * mm-decode.el (mm-shr): Check that `gnus-summary-buffer' really is a
47         live buffer.
48
49 2012-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
50
51         * nnir.el (nnir-retrieve-headers): Protect against the article not
52         existing on the server (bug#10335).
53
54 2012-01-04  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
55
56         * gnus-agent.el (gnus-agent-load-local): Recompute
57         gnus-agent-article-local on changing method.
58
59 2012-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
60
61         * gnus.el (gnus-parameters): Note precedence.
62
63 2012-01-04  Leo  <sdl.web@gmail.com>
64
65         * nndraft.el (nndraft-update-unread-articles): Don't move point around
66         in the group buffer.
67
68 2012-01-04  Julien Danjou  <julien@danjou.info>
69
70         * nnimap.el (nnimap-update-info): Fix an error when all articles UIDs
71         change.
72
73 2012-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
74
75         * shr.el (shr-rescale-image): Add :ascent 100 to the rescaled picture,
76         too.
77
78         * nntp.el (nntp-retrieve-group-data-early): Use it.
79
80 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
81
82         * nntp.el (nntp-retrieval-in-progress): New variable.
83         (nntp-make-process-buffer): Make it buffer-local.
84
85         * gnus-demon.el (gnus-demon-time-to-step): Resurrect function lost in
86         2010.
87         (gnus-demon-init): Use it to compute the time if time is on the form
88         "04:23".
89
90         * gnus-topic.el (gnus-topic-history): Define `gnus-topic-history'.
91
92         * nnimap.el (nnimap-finish-retrieve-group-infos): Check the connection
93         status in the correct buffer.
94
95 2012-01-03  Leo  <sdl.web@gmail.com>
96
97         * gnus-topic.el (gnus-topic-goto-next-group): Don't move point around
98         when opening topics (bug#10407).
99
100 2011-12-30  Paul Eggert  <eggert@cs.ucla.edu>
101
102         * gnus-cus.el (gnus-score-customize):
103         * gnus-sum.el (gnus-sort-gathered-threads):
104         * message.el (message-shorten-references):
105         * nnmairix.el (nnmairix-request-group):
106         * uudecode.el (uudecode-decode-region-internal): Spelling fix.
107
108 2011-12-29  Paul Eggert  <eggert@cs.ucla.edu>
109
110         * gnus-agent.el (gnus-agent-regenerate-group):
111         * gnus-int.el (gnus-retrieve-group-data-early):
112         * mm-util.el (mm-codepage-ibm-list):
113         * nndiary.el (Commentary, nndiary-get-new-mail):
114         * nnir.el (nnir):
115         * pgg-parse.el (pgg-parse-symmetric-key-algorithm-alist): Spelling fix.
116
117 2011-12-28  Katsumi Yamaoka  <yamaoka@jpl.org>
118
119         * mm-view.el (mm-display-inline-fontify): Add comment.
120
121 2011-12-21  Paul Eggert  <eggert@cs.ucla.edu>
122
123         * nndiary.el (nndiary-parse-schedule-value, nndiary-parse-schedule):
124         * ntlm.el (ntlm-smb-dohash): Spelling fix.
125
126 2011-12-19  Paul Eggert  <eggert@cs.ucla.edu>
127
128         * gnus-art.el (gnus-split-methods):
129         * gnus-msg.el (gnus-configure-posting-styles):
130         * gnus-spec.el (gnus-parse-simple-format):
131         * gnus-win.el (gnus-configure-frame, gnus-all-windows-visible-p):
132         * message.el (message-do-actions): Spelling fix.
133
134 2011-12-15  Juri Linkov  <juri@jurta.org>
135
136         * mm-decode.el (mm-inline-media-tests): Add missing
137         `mm-handle-media-subtype'.
138
139 2011-12-14  Paul Eggert  <eggert@cs.ucla.edu>
140
141         * gnus-group.el (gnus-group-tool-bar):
142         * gnus-sum.el (gnus-summary-tool-bar):
143         * message.el (message-tool-bar):
144         * rfc2231.el (rfc2231-parse-string): Spelling fix.
145
146 2011-12-12  Paul Eggert  <eggert@cs.ucla.edu>
147
148         * plstore.el (plstore--insert-buffer): Spelling fix.
149
150 2011-12-09  Tassilo Horn  <tassilo@member.fsf.org>
151
152         * message.el (message-valid-fqdn-regexp): Update with newly approved
153         top-level domain names ".tel" and ".asia".
154
155 2011-12-08  Katsumi Yamaoka  <yamaoka@jpl.org>
156
157         * gnus-sum.el (gnus-summary-show-article): Don't load shr
158         unconditionally.
159
160 2011-12-07  Katsumi Yamaoka  <yamaoka@jpl.org>
161
162         * message.el (message-pop-to-buffer): Use pop-to-buffer instead of
163         pop-to-buffer-same-window for old Emacsen.
164
165 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
166
167         * gnus-sum.el (gnus-summary-make-tool-bar): Fix typo.
168
169 2011-12-05  Paul Eggert  <eggert@cs.ucla.edu>
170
171         * netrc.el (netrc-credentials): Spelling fix.
172
173 2011-12-04  Paul Eggert  <eggert@cs.ucla.edu>
174
175         * gnus-fun.el (gnus-fun-ppm-change-string):
176         * gnus-msg.el (gnus-inews-do-gcc):
177         * gnus-sum.el (gnus-summary-find-for-reselect):
178         * gnus.el (gnus-summary-cancelled):
179         * message.el (message-cancel-hook, message-send-news):
180         * nndiary.el (nndiary-headers, nndiary-parse-schedule-value):
181         * nnir.el (nnir-run-hyrex):
182         * nntp.el (nntp-with-open-group-function):
183         * pgg.el (pgg-pending-timers): Spelling fix.
184
185 2011-12-04  Chong Yidong  <cyd@gnu.org>
186
187         * message.el (message-pop-to-buffer): Partially revert 2011-11-30
188         change (Bug#10200).
189
190 2011-12-02  Katsumi Yamaoka  <yamaoka@jpl.org>
191
192         * compface.el (uncompface):
193         * gnus-art.el (gnus-article-x-face-command): Update the header format
194         of icon data for the most recent icontopbm program.
195
196 2011-12-01  Katsumi Yamaoka  <yamaoka@jpl.org>
197
198         * gnus-msg.el (gnus-inews-do-gcc):
199         * message.el (message-send-mail):
200         * mml.el (mml-generate-mime): Share the value of the buffer-local
201         `message-options' variable between a draft buffer and temprary working
202         buffers.
203
204 2011-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
205
206         * message.el (message-pop-to-buffer): Revert 2011-09-11 change.
207
208 2011-11-30  Katsumi Yamaoka  <yamaoka@jpl.org>
209
210         * gnus-art.el (gnus-article-browse-html-parts): Convert link file names
211         for Cygwin.
212
213 2011-11-27  Paul Eggert  <eggert@cs.ucla.edu>
214
215         * gnus-group.el (gnus-group-prepare-flat):
216         * mm-bodies.el (mm-encode-body):
217         * mml.el (mml-preview):
218         * nnml.el (nnml-request-compact-group):
219         * pop3.el (pop3-stream-type): Spelling fix.
220
221 2011-11-26  Paul Eggert  <eggert@cs.ucla.edu>
222
223         * gnus-start.el (gnus-newsrc-to-gnus-format): Spelling fix.
224
225 2011-11-25  Paul Eggert  <eggert@cs.ucla.edu>
226
227         * color.el (color-rgb-to-hsl):
228         * gmm-utils.el (gmm-tool-bar-style):
229         * gnus-group.el (gnus-group-prepare-flat):
230         * gnus-topic.el (gnus-topic-prepare-topic):
231         * mm-decode.el (mm-discouraged-alternatives):
232         * rfc2047.el (rfc2047-encode-1):
233         * starttls.el: Spelling fix.
234
235 2011-11-24  Glenn Morris  <rgm@gnu.org>
236
237         * binhex.el (binhex-begin-line): Give it basic doc-string.
238
239         * starttls.el, tls.el: Fix case of "GnuTLS".
240
241 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
242
243         * gnus-group.el (gnus-group-highlight): Fix typo.
244
245 2011-11-24  Adam W  <adam_w67@yahoo.com>  (tiny change)
246
247         * mail-source.el (mail-source-fetch-maildir): Don't expect the return
248         value of `delete-file', that returns nil for a local file but returns t
249         for a remote file using ssh.
250
251 2011-11-22  Paul Eggert  <eggert@cs.ucla.edu>
252
253         * gnus-sum.el (gnus-summary-save-article): Spelling fix.
254
255 2011-11-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
256
257         * shr.el (shr-table-horizontal-line): Use "?\s" instead of "? " to
258         avoid later breakage.
259
260 2011-11-22  Katsumi Yamaoka  <yamaoka@jpl.org>
261
262         * gnus-art.el (gnus-article-setup-buffer): Decode group name used for
263         article buffers' name.
264
265 2011-11-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
266
267         * shr.el (shr-table-horizontal-line): Revert infinite loops introduced
268         by Paul Eggert's spellfixes two days ago.
269
270 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
271
272         * dgnushack.el (fboundp): Define `with-demoted-errors' for Emacsen that
273         doesn't have it.
274
275         * mm-view.el (mm-display-inline-fontify): Make the font-lock variables
276         buffer-local instead of binding them to avoid warnings.  Also demote
277         errors (bug#10063).
278         (font-lock-mode-hook): Shut up byte compiler.
279
280 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
281
282         * mm-util.el (mm-charset-after):
283         * nnir.el (nnir-run-hyrex):
284         * ntlm.el (ntlm-build-auth-request, ntlm-build-auth-response)
285         (ntlm-get-password-hashes, ntlm-md4hash):
286         * smime.el: Fix typo.
287
288 2011-11-20  Paul Eggert  <eggert@cs.ucla.edu>
289
290         * gnus-agent.el (gnus-agent-expire-group-1):
291         * nndiary.el (nndiary-last-occurence):
292         * nnimap.el (nnimap-request-set-mark):
293         * nnmairix.el (nnmairix-only-use-registry):
294         * gnus-group.el (gnus-group-prepare-flat):
295         * gnus-sum.el (gnus-decode-encoded-word-methods):
296         * message.el (message-wash-subject):
297         * nntp.el (nntp-retrieve-headers-with-xover):
298         * smime.el (smime-certificate-directory): Spelling fix.
299
300 2011-11-19  Paul Eggert  <eggert@cs.ucla.edu>
301
302         * nnmail.el (nnmail-get-new-mail-1): Remove unused local variables.
303
304         * color.el:
305         * gnus-agent.el (gnus-agent-possibly-alter-active):
306         * gnus-dired.el (gnus-dired-print):
307         * mail-parse.el:
308         * nnmairix.el (nnmairix-request-group):
309         * shr.el (shr-image-displayer):
310         * sieve-manage.el:
311         * spam.el (spam-autodetect-recheck-messages): Spelling fix.
312
313 2011-11-18  Paul Eggert  <eggert@cs.ucla.edu>
314
315         * gnus-sum.el (gnus-auto-select-subject):
316         * spam-report.el (spam-report-resend): Spelling fix.
317
318 2011-11-17  Paul Eggert  <eggert@cs.ucla.edu>
319
320         * gnus-agent.el (gnus-agent-get-undownloaded-list):
321         * gnus-art.el (gnus-default-article-saver):
322         * gnus-srvr.el (gnus-server-copy-server):
323         * gnus.el (gnus-sloppily-equal-method-parameters):
324         * html2text.el (html2text-format-tag-list):
325         * message.el (message-narrow-to-head):
326         * nndiary.el:
327         * nnmairix.el (nnmairix-determine-original-group-from-registry):
328         * sieve.el: Spelling fix.
329
330 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
331
332         * gnus-agent.el (gnus-agent-expire-unagentized-dirs):
333         * gnus-sum.el (gnus-summary-make-menu-bar):
334         * gnus-uu.el (gnus-uu-decode-postscript)
335         (gnus-uu-decode-postscript-and-save):
336         * mailcap.el (mailcap-print-command):
337         * registry.el (registry-lookup, registry-lookup-breaks-before-lexbind):
338         Fix typos.
339
340 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
341
342         * gnus-art.el (gnus-article-part-wrapper):
343         * html2text.el (html2text-fix-paragraphs):
344         * mm-decode.el (mm-image-fit-p):
345         * rfc2047.el (rfc2047-encode-message-header):
346         * shr-color.el (shr-color-visible-distance-min)
347         (shr-color-relative-to-absolute, set-minimum-interval)
348         (shr-color-visible): Fix typos.
349
350 2011-11-15  Paul Eggert  <eggert@cs.ucla.edu>
351
352         * gmm-utils.el (gmm-tool-bar-item):
353         * gnus-art.el (gnus-treat-body-boundary):
354         * gnus-diary.el (gnus-user-format-function-d):
355         * gnus-start.el (gnus-get-unread-articles):
356         * pgg-gpg.el (pgg-gpg-update-agent):
357         * smime.el (smime-cert-by-ldap-1): Spelling fix.
358
359 2011-11-14  Paul Eggert  <eggert@cs.ucla.edu>
360
361         * gnus-topic.el (gnus-group-prepare-topics):
362         * gnus-uu.el (gnus-extract-view):
363         * gnus-win.el (gnus-use-frames-on-any-display): Spelling fix.
364
365 2011-11-09  Teodor Zlatanov  <tzz@lifelogs.com>
366
367         * spam.el: Move BBDB autoloads.
368         (spam-exists-in-BBDB-p): New function to do the BBDB search directly in
369         BBDB 2 and 3.
370         (spam-check-BBDB): Use it.
371         (spam-enter-ham-BBDB): Use it.
372
373 2011-11-09  Paul Eggert  <eggert@cs.ucla.edu>
374
375         * smime.el (smime-draw-buffer): Spelling fix.
376
377 2011-10-31  Peter Münster  <pmrb@free.fr>  (tiny change)
378
379         * gnus-group.el (gnus-group-get-new-news): New parameter `one-level'
380         for scanning exactly one level.
381         * gnus-start.el (gnus-get-unread-articles): Ditto.
382
383 2011-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
384
385         * gnus-sum.el (gnus-articles-to-read): Change wording in prompt to be
386         slightly clearer.
387
388 2011-11-03  Teodor Zlatanov  <tzz@lifelogs.com>
389
390         * gnus-sync.el: More commentary about setup.
391
392 2011-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
393
394         * message.el (message-send-and-exit): Document `arg'.
395
396 2011-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
397
398         * nnimap.el (nnimap-open-connection-1): Use tcp-keealive if possible.
399
400 2011-11-02  Teodor Zlatanov  <tzz@lifelogs.com>
401
402         * gnus-sync.el: More commentary about `gnus-sync-read' issues.
403
404         * gnus-util.el (gnus-bound-and-true-p): Another comment to explain why
405         we don't use `bound-and-true-p'.
406
407 2011-11-01  Teodor Zlatanov  <tzz@lifelogs.com>
408
409         * gnus-util.el (gnus-bound-and-true-p): Remove.
410         (gnus-bound-and-true-dumber-p): Rename to `gnus-bound-and-true-p'.
411         * nnir.el: Use it.
412         * nnmairix.el: Use it.
413
414 2011-10-31  Teodor Zlatanov  <tzz@lifelogs.com>
415
416         * gnus-sync.el: Improve docs about CouchDB admins.
417
418         * gnus-util.el (gnus-bound-and-true-dumber-p): Define new, slower, dumb
419         function because `gnus-bound-and-true-p' doesn't work well in XEmacs
420         for reasons unknown.
421         * nnir.el: Use it.
422         * nnmairix.el: Use it.
423
424         * nnregistry.el: Remove unnecessary `gnus-registry-enabled' defvar.
425         * nnir.el: Ditto.
426         * nnmairix.el: Ditto.
427
428         * gnus-registry.el (gnus-registry-enabled): Default to nil.
429
430 2011-10-29  Teodor Zlatanov  <tzz@lifelogs.com>
431
432         * gnus-sync.el (gnus-sync-lesync-setup): Fix salt when user setup is
433         not needed.  Provide xmlplistread list function to produce XML plist
434         output for non-Gnus LeSync clients.
435
436 2011-10-27  Teodor Zlatanov  <tzz@lifelogs.com>
437
438         * gnus-fallback-lib/json.el: Add for XEmacs and Emacs 22 support.
439
440         * gnus-sync.el: Add LeSync synchronization backend and logic to read
441         and save against it.  Group subscriptions, read marks, other marks,
442         subscription levels, topic names, and topic offsets (the group's
443         position within the topic) are saved.  This is an experimental backend
444         and may change significantly.  Load json.el from the gnus-fallback-lib
445         if it's not available otherwise.
446         (gnus-sync-save): Don't use `apply-partially' because of XEmacs.
447
448 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
449
450         * message.el (message-completion-function): Make sure
451         message-tab-body-function is not attempted if one of
452         message-completion-alist fails to find a completion (bug#9158).
453
454 2011-10-26  Daiki Ueno  <ueno@unixuser.org>
455
456         * mml.el (mml-quote-region): Quote <#secure> tag.
457         (mml-generate-mime-1): Unquote <#secure> tag.
458
459 2011-10-20  Chong Yidong  <cyd@gnu.org>
460
461         * gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
462         calling a minor mode from Lisp with nil arg enables it, so we have to
463         make the wording a bit ambiguous here).
464
465 2011-10-18  Teodor Zlatanov  <tzz@lifelogs.com>
466
467         * gnus-util.el (gnus-bound-and-true-p): Macro for XEmacs compatibility.
468         * nnir.el (nnir-mode): Use it.
469         * nnmairix.el (nnmairix-determine-original-group-from-registry):
470         Use it.
471
472         * nnir.el (gnus-registry-enabled): Defvar to keep the compiler happy.
473         * nnmairix.el (gnus-registry-enabled): Ditto.
474
475 2011-10-17  Dave Abrahams  <dave@boostpro.com>  (tiny change)
476
477         * gnus-registry.el (gnus-registry-enabled): Add new variable (Bug#9691).
478         (gnus-registry-install-shortcuts): Set `gnus-registry-install' to 'ask
479         only while we need to find out if it should be t or nil.
480         (gnus-registry-initialize): Don't set `gnus-registry-install' to t.
481         (gnus-registry-install-hooks): Set `gnus-registry-enabled' to t when
482         the registry is installed.  Set it to nil when it's unloaded.
483         (gnus-registry-install-p): Provide user guidance for the initial value
484         of `gnus-registry-install' when it's 'ask, otherwise return its value.
485         * nnregistry.el (nnregistry-open-server, nnregistry-server-opened):
486         Use `gnus-registry-enabled' instead of `gnus-registry-install'.
487         * nnmairix.el (nnmairix-determine-original-group-from-registry):
488         Use `gnus-registry-enabled' instead of `gnus-registry-install'.
489         * nnir.el (nnir-mode): Use `gnus-registry-enabled' instead of
490         `gnus-registry-install'.
491
492 2011-10-17  Daiki Ueno  <ueno@unixuser.org>
493
494         * mml2015.el (mml2015-epg-find-usable-key): Add comment about the
495         previous change.
496         * mml1991.el (mml1991-epg-find-usable-key): Skip the whole key if the
497         primary key is marked as disabled.
498
499 2011-10-17  Christian von Roques  <roques@mti.ag>  (tiny change)
500
501         * mml2015.el (mml2015-epg-find-usable-key): Skip the whole key if the
502         primary key is marked as disabled.
503
504 2011-10-11  Andreas Schwab  <schwab@linux-m68k.org>
505
506         * html2text.el (html2text-clean-anchor): Check for quotes around
507         `href' value.
508
509 2011-10-11  Teodor Zlatanov  <tzz@lifelogs.com>
510
511         * spam.el (spam-check-BBDB): Simplify and support BBDB 3.x when
512         searching.  Drop `bbdb-cache'.
513
514 2011-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
515
516         * message.el (message-signed-or-encrypted-p): Exclude header when
517         checking if there is signed or encrypted body in text/plain message.
518
519 2011-10-09  Andreas Schwab  <schwab@linux-m68k.org>
520
521         * html2text.el (html2text-get-attr): Correctly handle attribute values
522         containing "=".
523
524 2011-09-22  Kan-Ru Chen  <kanru@kanru.info>
525
526         * ecomplete.el (ecomplete-display-matches): Use a local keymap to
527         handle bindings.
528
529 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
530
531         * gnus-win.el (gnus-configure-windows): Protect against reading
532         ephemeral groups outside of Gnus.
533
534 2011-10-06  Katsumi Yamaoka  <yamaoka@jpl.org>
535
536         * shr.el (shr-tag-img): Don't get images displayed in tables.
537
538 2011-10-03  Glenn Morris  <rgm@gnu.org>
539
540         * gnus-group.el (gnus-bug-group-download-format-alist): Once again get
541         the "maintainer" version of debbugs.gnu.org reports.
542
543 2011-10-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
544
545         * shr.el (shr-tag-img): Add a space at the end of an ALT image text to
546         make asynchronous adjacent image insertion work better.
547
548 2011-09-27  Daiki Ueno  <ueno@unixuser.org>
549
550         * plstore.el (plstore-select-keys, plstore-encrypt-to): Clarify
551         documentation.
552
553 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
554
555         * gnus-uu.el (gnus-uu-grab-articles): Require gnus-async so that
556         `gnus-asynchronous' isn't shadowed.
557
558 2011-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
559
560         * gnus-xmas.el (gnus-xmas-define): Add `member-ignore-case'.
561
562         * nnimap.el (nnimap-wait-for-response): Message less (bug#9540).
563         (nnimap-insert-partial-structure): The charset parameter isn't
564         case-sensitive.
565
566         * nnheader.el (nnheader-message-maybe): New function.
567
568         * shr.el (shr-tag-table): Render totally broken tables better.
569
570         * mml.el (mml-generate-mime-1): Don't alter the contents if we're
571         computing the boundary.
572
573 2011-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
574
575         * pop3.el (pop3-number-of-responses): Remove.
576         (pop3-wait-for-messages): Rewrite to take linear time instead of
577         exponential time.
578
579 2011-09-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
580
581         * gnus-sum.el (gnus-summary-show-article): Bind `shr-ignore-cache' to
582         re-fetch images.
583
584         * shr.el (shr-tag-img): Support a new variable `shr-ignore-cache' to
585         re-fetch images when hitting `g' in Gnus.
586
587 2011-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
588
589         * mml.el (mml-inhibit-compute-boundary): New internal variable.
590         (mml-compute-boundary): Don't check collision if it is non-nil.
591         (mml-compute-boundary-1): Use mml-generate-mime-1 to encode part
592         before checking collision.
593
594 2011-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
595
596         * message.el (message-indent-citation): Really make sure there's a
597         newline at the end.
598
599         * nnimap.el (nnimap-parse-flags): Make regexp less prone to overflows.
600         Fix suggested by John Wiegley.
601
602         * pop3.el (pop3-open-server): Fix +OK end-of-command regexp.
603
604         * gnus-art.el (gnus-treat-hide-citation): Add doc.
605
606         * message.el (message-default-send-rename-function): Break out into its
607         own function.
608
609         * ecomplete.el (ecomplete-display-matches): Revert patch since it
610         doesn't work under XEmacs.
611
612         * nnimap.el (nnimap-map-port): New function to connect to 993 instead
613         of "imaps" to word around Windows problems.
614         (nnimap-open-connection-1): Use it.
615
616         * message.el (message-indent-citation): Revert last change which made
617         `F' not work.
618
619 2011-09-13  Kan-Ru Chen  <kanru@kanru.info>
620
621         * ecomplete.el (ecomplete-display-matches): Intercept key sequence from
622         terminal as well.
623
624 2011-09-21  Katsumi Yamaoka  <yamaoka@jpl.org>
625
626         * mm-view.el (mm-display-inline-fontify): Don't run doc-view-mode
627         because it displays images using overlays that aren't easy to copy to
628         the article buffer.
629
630 2011-09-20  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
631
632         * message.el (message-indent-citation): Fix empty line removal at the
633         end of the citation.
634
635 2011-09-20  Julien Danjou  <julien@danjou.info>
636
637         * auth-source.el (auth-source-netrc-create): Use default value for
638         password if specified.  Evaluate default.
639         (auth-source-plstore-create): Ditto.
640         (auth-source-plstore-create, auth-source-netrc-create): Fix default
641         value evaluation.
642         (auth-source-netrc-create): Typo fix.
643         (auth-source-plstore-create): Ditto.
644
645         * password-cache.el (password-cache-remove): Remove entries even if the
646         value is nil, so that password with a nil value (negative caching) is
647         possible to invalidate.
648
649         * auth-source.el (auth-source-format-cache-entry): New function.
650
651 2011-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>
652
653         * gnus-fun.el (gnus-convert-image-to-x-face-command): Doc fix.
654
655 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
656
657         * mm-decode.el (mm-inline-media-tests): Fix typo in regexp.
658
659 2011-09-19  Julien Danjou  <julien@danjou.info>
660
661         * auth-source.el (auth-source-netrc-parse): Use an obfuscation method
662         which work with things that are not ASCII.
663
664 2011-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
665
666         * mm-decode.el (mm-inline-media-tests): Support imagemagick images.
667
668 2011-09-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
669
670         * gnus-sum.el (gnus-summary-read-group-1): Bump the "Retrieving"
671         message level.
672
673 2011-09-15  Katsumi Yamaoka  <yamaoka@jpl.org>
674
675         * message.el (message-read-from-minibuffer): Make abbrev expansion work.
676
677 2011-09-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
678
679         * gnus.el (gnus-interactive-exit): Update defcustom spec.
680
681 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
682
683         * gnus.el (gnus-nntp-server): Move to gnus-int.el to silence bytecomp.
684         * gnus-int.el (gnus-nntp-server): Move from gnus.el.
685
686 2011-09-12  Andrew Cohen  <cohen@andy.bu.edu>
687
688         * gnus-group.el (gnus-group-list-limit-map, gnus-group-list-flush-map)
689         (gnus-group-list-plus-map): Allow limiting, flushing and plusing ticked
690         articles.
691
692 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
693
694         * message.el (message-pop-to-buffer): Default to switch-to-buffer.
695         (message-mail-other-window, message-mail-other-frame)
696         (message-news-other-window, message-news-other-frame):
697         Use switch-to-buffer-other-frame and switch-to-buffer-other-window
698         instead of setting buffer display varibles.
699
700 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
701
702         * gnus-group.el (gnus-group-list-limit): Explain what the command does.
703
704         * gnus-sum.el (gnus-fetch-headers): Bump message level.
705
706 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
707
708         * gnus-dup.el (gnus-dup-suppress-articles): Move "Suppressing
709         duplicates" to a higher level.
710
711         * gnus-util.el (gnus-verbose): Lower default to 6 to get rid of the
712         most egregious messages.
713
714 2011-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
715
716         * gnus-msg.el (gnus-summary-mail-forward): Minuscule doc fix.
717
718 2011-09-10  Tetsuo Tsukamoto  <tt.tetsuo.tsukamoto@gmail.com>  (tiny change)
719
720         * nnrss.el (nnrss-retrieve-groups): Decode the charset before looking
721         up the file (bug#9351).
722
723 2011-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
724
725         * nnimap.el: Redo the charset handling.  Let Gnus encode the names, as
726         it does with all other backends, but decode the names immediately after
727         getting them.
728
729         * gnus-group.el (gnus-group-name-charset): Always return `utf-7' when
730         decoding nnimap groups.
731
732         * gnus.el (gnus-variable-list): Don't save `gnus-format-specs' in the
733         newsrc file.  It doesn't seem like an important optimization any more.
734
735 2011-09-10  Dave Abrahams  <dave@boostpro.com>  (tiny change)
736
737         * nnimap.el (nnimap-transform-headers): Fix regexp to be less prone to
738         overflows.
739
740 2011-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
741
742         * gnus.el (gnus-article-mark-lists): Remove `recent'.
743         (gnus-interactive-exit): Extend to `quiet'.
744
745         * gnus-sum.el (gnus-offer-save-summaries): Use it.
746
747         * gnus-art.el (gnus-treat-hide-citation-maybe): Add more doc to the
748         string.
749
750         * plstore.el (plstore--get-buffer): Silence compiler warnings by
751         renaming function arguments from `this'.
752
753         * gnus-sum.el (gnus-newsgroup-recent): Remove.
754
755         * gnus-spec.el (gnus-lrm-string-p): `bidi-string-mark-left-to-right'
756         has been renamed.
757         (gnus-lrm-string-p): Include RLM and PDF, too.
758
759         * gnus-int.el (gnus-open-server): Make the "denied" message clearer
760         (bug#9225).
761
762 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
763
764         Add autoload cookies for functions used by sendmail.el.
765         * mm-encode.el (mm-default-file-encoding): Add autoload cookie.
766
767         * mml.el (mml-to-mime, mml-attach-file): Add autoload cookies.
768
769 2011-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
770
771         * gnus-art.el (article-date-ut): Work properly even when there are
772         things like Date header in the body; work for forwarded parts.
773
774 2011-09-05  Andrew Cohen  <cohen@andy.bu.edu>
775
776         * gnus-sum.el (gnus-summary-exit): Ensure we kill the proper
777         original-article-buffer.
778
779 2011-09-05  Kan-Ru Chen  <kanru@kanru.info>
780
781         * nnir.el (nnir-compose-result): Fix matching of server type.
782         (nnir-run-swish++): Ditto.
783         (nnir-run-namazu): Ditto.
784         (nnir-run-notmuch): Ditto.
785
786 2011-09-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
787
788         * gnus.el (gnus-home-directory): Add warning about setting in .gnus.el
789         (bug#9405).
790
791         * gnus-score.el (gnus-summary-increase-score): Doc clarification
792         (bug#9421).
793
794         * gnus-spec.el (gnus-face-0): Make all the face specs into defcustoms
795         (bug#9425).
796
797         * gnus-art.el (gnus-treatment-function-alist): Remove CRs as the first
798         thing (bug#9426).
799
800 2011-09-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
801
802         * nnimap.el (nnimap-open-connection-1): Use the correct port number in
803         the error message.
804
805 2011-09-02  Eli Zaretskii  <eliz@gnu.org>
806
807         * message.el (message-setup-1): Return t (Bug#9392).
808
809 2011-09-01  Andrew Cohen  <cohen@andy.bu.edu>
810
811         * gnus-sum.el: When adding article headers to a summary buffer also
812         update gnus-newsgroup-articles (bug#9386).
813
814 2011-08-30  Katsumi Yamaoka  <yamaoka@jpl.org>
815
816         * auth-source.el: Autoload help-mode.
817
818 2011-08-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
819
820         * gnus-group.el (gnus-group-name-charset): Don't bug out on server
821         names.
822
823 2011-08-27  Daiki Ueno  <ueno@unixuser.org>
824
825         * mml-smime.el (mml-smime-epg-verify): Don't use the 4th arg of
826         mm-replace-in-string for compatibility issues.
827         * mml2015.el (mml2015-epg-verify): Ditto.
828
829 2011-08-26  Katsumi Yamaoka  <yamaoka@jpl.org>
830
831         * mailcap.el (mailcap-mime-data): Regexp-quote MIME subtype.
832
833         * gnus-msg.el (gnus-setup-message): Remove extra apostrophe.
834
835 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
836
837         * nnmail.el (nnmail-get-new-mail-1): If one mail source bugs out,
838         continue on and do the clean-up phase (bug#9188).
839
840         * gnus-sum.el (gnus-summary-expire-articles): When expiring articles,
841         just ignore groups that can't be opened instead of erroring out
842         (bug#9225).
843
844         * gnus-art.el (gnus-article-update-date-headers): Flip the default to
845         nil since some many people are fuddy-duddies.
846
847         * gnus-html.el (gnus-html-image-fetched): Don't cache zero-length
848         images.
849
850         * nntp.el (nntp-authinfo-file): Mark as obsolete -- use auth-source
851         instead.
852
853         * pop3.el (pop3-wait-for-messages): Don't use Gnus functions here.
854
855         * gnus-util.el (gnus-process-live-p): Copy over compat function.
856
857         * pop3.el (pop3-wait-for-messages): If the pop3 process dies, stop
858         processing.
859
860         * nntp.el (nntp-kill-buffer): Kill the process before killing the
861         buffer to avoid warnings.
862
863 2011-08-20  Simon Josefsson  <simon@josefsson.org>
864
865         * gnus-agent.el (gnus-agent-expire-done-message): Use %.f as format
866         specified to reduce precision.
867
868 2011-08-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
869
870         * nnimap.el (nnimap-transform-headers): Protect against (NIL ...)
871         bodystructures (bug#9314).
872
873 2011-08-19  Katsumi Yamaoka  <yamaoka@jpl.org>
874
875         * gnus-art.el (gnus-insert-mime-button, gnus-mime-display-alternative):
876         Make button keymap non-sticky after buttons.
877
878 2011-08-18  David Engster  <dengste@eml.cc>
879
880         * nnmairix.el (nnmairix-request-set-mark)
881         (nnmairix-goto-original-article): Remove adding of article to registry,
882         since `gnus-registry-add-group' isn't available anymore.
883         (nnmairix-determine-original-group-from-registry):
884         Use `gnus-registry-get-id-key' since `gnus-registry-fetch-groups' isn't
885         available anymore.
886
887 2011-08-12  Simon Josefsson  <simon@josefsson.org>
888
889         * starttls.el (starttls-any-program-available): Define as obsolete
890         function.
891
892 2011-08-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
893
894         * gnus-util.el (gnus-y-or-n-p): Reinstate the message-clearing y-or-n-p
895         versions which Gnus use when appropriate.
896
897         * gnus-group.el (gnus-group-clear-data): Add a y-or-n query, since it's
898         a pretty destructive command.
899
900         * nnmail.el (nnmail-extra-headers): Clarify slightly (bug#9302).
901
902 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
903
904         * message.el (message-fix-before-sending): Make a different warning
905         about NUL characters (bug#9270).
906
907         * gnus-sum.el (gnus-auto-select-subject): Allow specifying a function
908         from custom (bug#9260).
909
910         * gnus-spec.el (gnus-lrm-string): Use 8206 instead of ?\x200e to make
911         things work in Emacs 22 and XEmacs, too.
912
913         * gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): LRM-ify the
914         default From.
915
916         * gnus-spec.el (gnus-lrm-string-p): New macro.
917         (gnus-lrm-string): New constant.
918         (gnus-summary-line-format-spec): LRM-ify the from.
919         (gnus-tilde-max-form): LRM-ify string chopping.
920
921         * gnus-ems.el (gnus-string-mark-left-to-right): New function.
922
923         * message.el (message-is-yours-p): Allow disabling canlock checking
924         (bug#9295).
925         (message-shoot-gnksa-feet): Add `canlock-verify'.
926         (message-auto-save-directory): Use ~/ as the auto-save directory if the
927         message directory isn't writable (bug#9304).
928
929         * auth-source.el (auth-source-netrc-saver): Make the .authinfo file
930         non-world-readable.
931
932 2011-08-17  Katsumi Yamaoka  <yamaoka@jpl.org>
933
934         * nndraft.el (nndraft-update-unread-articles): Don't send delayed
935         articles.
936
937 2011-08-13  Andreas Schwab  <schwab@linux-m68k.org>
938
939         * gnus-score.el (gnus-all-score-files): Use copy-sequence instead of
940         copy-list.
941
942 2011-08-12  Sam Steingold  <sds@gnu.org>
943
944         * gnus-score.el (gnus-score-find-alist): Keep the score files already
945         in the reverse order to avoid modifying the cache with `nreverse'.
946         (gnus-all-score-files): Do not modify the value returned by
947         `gnus-score-find-alist' because it lives in a cache variable.
948         (gnus-current-home-score-file): No need to `nreverse' the return value
949         of `gnus-score-find-alist', it is already in the correct order.
950
951 2011-08-11  Andrew Cohen  <cohen@andy.bu.edu>
952
953         * nnimap.el (nnimap-transform-headers): BODYSTRUCTURE for messages of
954         type MESSAGE and subtype RFC822 is slightly different from those of
955         type TEXT.
956
957 2011-08-05  Andrew Cohen  <cohen@andy.bu.edu>
958
959         * gnus-sum.el (gnus-summary-refer-article): Warp to article.
960         This allows article-referral to work from an nnir group.
961
962 2011-08-04  Andrew Cohen  <cohen@andy.bu.edu>
963
964         * gnus.el (registry-ignore): Add nnir groups to the ignore-list.
965
966 2011-08-04  Daiki Ueno  <ueno@unixuser.org>
967
968         * mml1991.el (mml1991-epg-find-usable-key)
969         (mml1991-epg-find-usable-secret-key): New function.
970         (mml1991-epg-sign): Check if signing key is usable.
971         (mml1991-epg-encrypt): Check if encrypting key is usable (bug#8955).
972
973 2011-08-03  Andrew Cohen  <cohen@andy.bu.edu>
974
975         * nnir.el (nnir-read-server-parm): Add an argument to restrict to
976         server-variables only.  This should fix a bug introduced with commit
977         e1889675b7f4adf057833c5513c9374134c4e053.
978         (nnir-run-query): 'nnir-search-engine should not be set from the global
979         environment.
980
981 2011-08-02  Andrew Cohen  <cohen@andy.bu.edu>
982
983         * nnir.el (nnir-search-thread): Position point on referring article
984         line.
985         (nnir-warp-to-article): Clean up summary buffers.
986
987         * nnimap.el (nnimap-request-thread): Whitespace fix.
988
989 2011-08-02  Steve Purcell  <steve@sanityinc.com>  (tiny change)
990
991         * nnimap.el (nnimap-get-groups): Decode "&" correctly.
992
993 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
994
995         * starttls.el (starttls-available-p): Rename from
996         `starttls-any-program-available' and changed return convention.
997
998 2011-07-31  Lars Ingebrigtsen  <larsi@gnus.org>
999
1000         * nnmaildir.el (nnmaildir-request-accept-article): Don't call
1001         `unix-sync' unless it's defined.
1002
1003 2011-07-31  Marcus Harnisch  <marcus.harnisch@gmx.net>  (tiny change)
1004
1005         * gnus-art.el (gnus-article-stop-animations): Use `elt' instead of
1006         `aref' for XEmacs compatibiltiy.
1007
1008 2011-07-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1009
1010         * spam.el (spam-fetch-field-fast): Rewrite slightly for clarity.
1011
1012 2011-07-31  Dave Abrahams  <dave@boostpro.com>  (tiny change)
1013
1014         * gnus-sum.el (gnus-summary-refer-thread): Since lambdas aren't
1015         closures, quote the form properly (bug#9194).
1016
1017 2011-07-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1018
1019         * gnus-sum.el (gnus-summary-insert-new-articles): Clean up slightly.
1020         (gnus-summary-insert-new-articles): Protect against servers that are
1021         down.
1022
1023 2011-07-29  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
1024
1025         * mm-decode.el (mm-dissect-buffer): Add a default content-disposition
1026         in mm handle if none is specified.
1027
1028 2011-07-24  Andrew Cohen  <cohen@andy.bu.edu>
1029
1030         * nnimap.el (nnimap-make-thread-query): Quote message-ids for gmail.
1031
1032 2011-07-23  Andrew Cohen  <cohen@andy.bu.edu>
1033
1034         * nnir.el (nnir-search-thread): New function to make an nnir group
1035         based on a thread query.
1036
1037         * gnus-sum.el (gnus-refer-thread-use-nnir): New variable to control use
1038         of nnir in thread referral.
1039         (gnus-summary-refer-thread): Use it.
1040
1041         * nnimap.el (nnimap-request-thread): Use it.
1042
1043 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1044
1045         * shr.el (shr-tag-comment): Ignore HTML comments.
1046
1047 2011-07-20  Andrew Cohen  <cohen@andy.bu.edu>
1048
1049         * nnir.el (gnus-group-make-nnir-group): Allow optional search query
1050         argument.
1051         (gnus-group-make-nnir-group, nnir-request-group, nnir-run-query):
1052         Use `nnir-address' to handle server info rather than passing an arg.
1053
1054         * nnimap.el (nnimap-make-thread-query): New utility function to format
1055         an imap thread search query.
1056         (nnimap-request-thread): Use it.
1057
1058         * gnus-sum.el (gnus-handle-ephemeral-exit): Ensure we are setting the
1059         right select-method if we are not going back to the group buffer.
1060
1061 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1062
1063         * gnus-group.el (gnus-group-read-ephemeral-group): Make sure we don't
1064         enter invalid buffer configurations into the quit form (bug#9107).
1065         (gnus-group-tool-bar-gnome): Replace connect/disconnect with
1066         unplugged/plugged.
1067
1068         * gnus-sum.el (gnus-summary-refer-thread): When inserting new headers,
1069         keep track of which ones are unread (bug#9061).
1070
1071         * gnus.el (gnus-refer-article-method): Allow entering any sexp
1072         (bug#9055).
1073
1074         * gnus-art.el (gnus-article-show-images): Allow working if using w3m
1075         (bug#9041).
1076
1077         * gnus-html.el (mm-util): Require (bug#9073).
1078
1079         * gnus-sum.el (gnus-delete-duplicate-headers): New function.
1080         (gnus-summary-refer-thread): Use it to remove duplicates in the
1081         un-threaded view (bug#9053).
1082         (gnus-summary-insert-subject): Document USE-OLD-HEADER (bug#9070).
1083
1084 2011-07-07  Kan-Ru Chen  <kanru@kanru.info>
1085
1086         * nnir.el (nnir-read-server-parm): Use default value from global
1087         variable.  Without this the default search engine parameters aren't
1088         used at all.
1089
1090 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1091
1092         * message.el (message-unique-id): Don't use the undocumented return
1093         value from (random t) (bug#9118).
1094
1095 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1096
1097         * message.el (message-auto-save-directory): If the ~/Mail directory
1098         doesn't exist, use ~ as the auto-save directory (bug#4432).
1099
1100         * gnus-group.el (gnus-group-read-ephemeral-group): Start Gnus if it
1101         hasn't already been started.
1102
1103 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1104
1105         * gnus.el (debbugs-gnu): Rename from debbugs-emacs.
1106
1107         * message.el (message-reply): Work around mysterious bug where
1108         `message-mode' seems to overwrite the locally bound `subject' variable.
1109
1110 2011-07-14  Andrew Cohen  <cohen@andy.bu.edu>
1111
1112         * nnimap.el (nnimap-request-thread): Ensure search is performed in
1113         correct group.
1114
1115         * gnus-int.el (gnus-request-thread): Add group argument.
1116
1117         * gnus-sum.el (gnus-summary-refer-thread): Use it.
1118
1119 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1120
1121         * dgnushack.el (debbugs-gnu-summary-mode): Update compat names, too.
1122
1123         * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): `debbugs-*'
1124         renamed to `debbugs-gnu-*'.
1125
1126 2011-07-08  Daiki Ueno  <ueno@unixuser.org>
1127
1128         * plstore.el: Revert the editing feature since it is not urgent.
1129         (plstore-mode, plstore-mode-toggle-display, plstore-mode-original)
1130         (plstore-mode-decoded): Remove.
1131
1132 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1133
1134         * gnus-msg.el (gnus-bug): Don't insert user variables.  It usually
1135         isn't very interesting any more, and it leaks potentially secret data.
1136         (gnus-debug): Remove.
1137
1138         * gnus-art.el (gnus-ignored-headers): Remove obsolete and non-working
1139         use of :custom-show.
1140
1141 2011-07-07  Daiki Ueno  <ueno@unixuser.org>
1142
1143         * plstore.el: Add documentation.
1144         (plstore-mode): New mode to edit plstore file.
1145         (plstore-mode-toggle-display, plstore-mode-original)
1146         (plstore-mode-decoded): New command.
1147         (plstore--encode, plstore--decode, plstore--write-contents-functions)
1148         (plstore--insert-buffer, plstore--make): New function.
1149         (plstore-open, plstore-save): Simplify by using them.
1150
1151 2011-07-06  Glenn Morris  <rgm@gnu.org>
1152
1153         * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Silence compiler.
1154
1155 2011-07-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1156
1157         * gnus.el (gnus-refer-article-method): Remove mention of nnspool, which
1158         no longer is much used.
1159         (gnus-summary-line-format): Link to "Marking Articles" instead of "Read
1160         Articles".
1161
1162 2011-04-03  Kan-Ru Chen  <kanru@kanru.info>
1163
1164         * nnir.el (nnir-notmuch-program, nnir-notmuch-additional-switches)
1165         (nnir-notmuch-remove-prefix, nnir-engines, nnir-run-notmuch): New nnir
1166         `notmuch' backend.
1167
1168 2011-07-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1169
1170         * mm-decode.el (mm-text-html-renderer): Doc fix.
1171
1172         * gnus-msg.el (gnus-bug): Fix the MML tag.
1173
1174         * pop3.el (pop3-open-server): -ERR is a valid response to CAPA.
1175
1176 2011-07-05  Daiki Ueno  <ueno@unixuser.org>
1177
1178         * gnus-start.el (gnus-get-unread-articles): Don't connect to the
1179         secondary methods if started with `gnus-no-server'.
1180
1181 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
1182
1183         * message.el (message-return-action): Fix typo in docstring.
1184
1185 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1186
1187         * gnus-group.el (gnus-read-ephemeral-bug-group): Allow fetching several
1188         bug reports at once.
1189
1190         * nnimap.el (nnimap-request-scan): Say that splitting has finished.
1191
1192 2011-07-04  Katsumi Yamaoka  <yamaoka@jpl.org>
1193
1194         * nndraft.el: Require gnus-group.
1195         (nndraft-request-list): Declare.
1196
1197         * nndraft.el (nndraft-update-unread-articles): Don't show group having
1198         no unread article unless it matches gnus-permanently-visible-groups.
1199
1200         * nndraft.el (nndraft-update-unread-articles): New function.
1201         (nndraft-request-associate-buffer): Use it to update the number of
1202         unread articles for the nndraft groups in the group buffer when saving
1203         or killing a draft message.
1204
1205 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1206
1207         * gnus-group.el (gnus-read-ephemeral-bug-group): Bind the coding
1208         systems to binary before writing and reading the mbox files.
1209
1210         * gnus.el (gnus-summary-line-format): Link to the info node for %U
1211         instead of trying to list them all (bug#8978).
1212
1213 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
1214
1215         * pop3.el (pop3-open-server): Use :end-of-capability.
1216
1217 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1218
1219         * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Make sure that
1220         the id is always a number.
1221
1222         * dgnushack.el (debbugs-summary-mode): Shut up compiler about debbugs.
1223
1224         * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Hook into
1225         debbugs mode, if possible.
1226
1227 2011-07-02  Daiki Ueno  <ueno@unixuser.org>
1228
1229         * auth-source.el (auth-source-token-passphrase-callback-function):
1230         Reindent.
1231         (epg-context-operation): Remove unnecessary autoload.
1232
1233 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1234
1235         * gnus.el (gnus-list-debbugs): New command.
1236
1237         * gnus-group.el (gnus-bug-group-download-format-alist): Get the
1238         mboxstat instead of the maintbox, since the stat seems to be fuller.
1239
1240         * gnus-msg.el (gnus-configure-posting-styles): Don't try to select dead
1241         summary buffers.
1242
1243         * message.el (message-get-reply-headers): Delete all duplicates,
1244         instead of the first.
1245         (message-get-reply-headers): Ensure that we have progress while
1246         deleting duplicates.
1247
1248         * gnus-msg.el (gnus-configure-posting-styles): Get the local
1249         gnus-posting-style value from the summary buffer to make it easier to
1250         make that a per-buffer conf.
1251
1252 2011-07-02  Andrew Cohen  <cohen@andy.bu.edu>
1253
1254         * nnir.el (nnir-run-imap): Allow halting a search when an article is
1255         found by setting `shortcut' in 'query.
1256         (nnir-request-article): Use `shortcut' setting when requesting article
1257         by Message-ID.
1258
1259 2011-07-02  Teodor Zlatanov  <tzz@lifelogs.com>
1260
1261         * gnus-msg.el (gnus-bug): Give the Version and Package headers to
1262         debbugs with the X-Debbugs-Package and X-Debbugs-Version headers.
1263         Bring the pseudo-headers back too.
1264
1265 2011-07-01  Daiki Ueno  <ueno@unixuser.org>
1266
1267         * auth-source.el (auth-source-token-passphrase-callback-function):
1268         Simplify and remove EPA dependency.
1269
1270 2011-07-01  Andrew Cohen  <cohen@andy.bu.edu>
1271
1272         * nnir.el (nnir-request-article): Fix error message text.
1273
1274 2011-07-01  Daiki Ueno  <ueno@unixuser.org>
1275
1276         * auth-source.el (plstore-delete): Autoload.
1277         (auth-source-plstore-search): Support delete operation.
1278         * plstore.el (plstore-delete): New function.
1279
1280 2011-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1281
1282         * gnus-draft.el (gnus-draft-clear-marks): Revert last change;
1283         mark actually existing articles as unread rather than the ones that
1284         active asserts.
1285
1286 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
1287
1288         * nntp.el (nntp-record-command):
1289         * gnus-util.el (gnus-message-with-timestamp-1):
1290         Use format-time-string rather than decoding time stamps by hand.
1291         This is simpler and insulates the code from potential changes to
1292         current-time format.
1293
1294 2011-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1295
1296         * gnus-draft.el (gnus-draft-clear-marks): Mark deleted articles as read.
1297
1298 2011-07-01  Daiki Ueno  <ueno@unixuser.org>
1299
1300         * plstore.el (plstore-select-keys, plstore-encrypt-to): New variable.
1301         (plstore-save): Support public key encryption.
1302         (plstore--init-from-buffer): New function.
1303         (plstore-open): Use it; fix error when opening a non-existent file.
1304         (plstore-revert): Use plstore--init-from-buffer.
1305
1306 2011-07-01  Daiki Ueno  <ueno@unixuser.org>
1307
1308         * auth-source.el (auth-source-backend): Fix :initarg for data slot.
1309
1310 2011-06-30  Katsumi Yamaoka  <yamaoka@jpl.org>
1311
1312         * mml2015.el (mml2015-use): Replace string-match-p with string-match
1313         for old Emacsen.
1314
1315 2011-06-30  Daiki Ueno  <ueno@unixuser.org>
1316
1317         * mml2015.el (mml2015-use): Don't try to load PGG on Emacs 24, when EPG
1318         is not fully working.
1319
1320 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1321
1322         * dgnushack.el: Autoload sha1 on XEmacs.
1323
1324         * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Take an optional
1325         quit window configuration.
1326
1327         * auth-source.el (epg-context-set-passphrase-callback):
1328         Remove duplicate autoload.
1329
1330 2011-06-30  Andrew Cohen  <cohen@andy.bu.edu>
1331
1332         * nnir.el (nnir-request-article): Allow requesting articles by
1333         Message-ID with nnimap.
1334
1335         * gnus-sum.el (gnus-refer-article-methods): Allow (nnir) entry to use
1336         current server.
1337
1338 2011-06-30  Teodor Zlatanov  <tzz@lifelogs.com>
1339
1340         * auth-source.el: Autoload EPA/EPG functions.
1341         (auth-source-netrc-use-gpg-tokens): Clarify that it should not be
1342         changed when EPA/EPG is not available.
1343         (auth-source-backend): Rename "arg" member to "data".
1344         (auth-source-backend-parse, auth-source-plstore-search)
1345         (auth-source-plstore-create): Use it.
1346
1347 2011-06-30  Andrew Cohen  <cohen@andy.bu.edu>
1348
1349         * gnus-art.el (gnus-request-article-this-buffer): Use existing function
1350         `gnus-refer-article-methods'.
1351
1352 2011-06-30  Teodor Zlatanov  <tzz@lifelogs.com>
1353
1354         * auth-source.el: Require EPA and EPG.
1355         (auth-source-passphrase-alist): New variable.
1356         (auth-source-passphrase-callback-function)
1357         (auth-source-token-passphrase-callback-function): Callbacks for the
1358         netrc field encryption (GPG tokens).
1359         (auth-source-epa-extract-gpg-token, auth-source-epa-make-gpg-token):
1360         Symmetric encryption and decryption of the netrc GPG tokens.
1361         (auth-source-netrc-normalize): Use them, simplifying the closure.
1362
1363 2011-06-30  Katsumi Yamaoka  <yamaoka@jpl.org>
1364
1365         * dgnushack.el (dgnushack-compile): Don't compile plstore.el unless epg
1366         is available.
1367
1368 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1369
1370         * nnimap.el (nnimap-split-incoming-mail): If `nnimap-split-fancy' is
1371         non-nil, and `nnimap-split-methods' is nil, use the former.
1372
1373 2011-06-30  Daiki Ueno  <ueno@unixuser.org>
1374
1375         * plstore.el (plstore-revert): New function.
1376         (plstore-open): Use it; hide the buffer from user.
1377
1378 2011-06-30  Daiki Ueno  <ueno@unixuser.org>
1379
1380         * auth-source.el (auth-source-backend): New member "arg".
1381         (auth-source-backend-parse): Handle new backend 'plstore.
1382         * plstore.el: New file.
1383
1384 2011-06-30  Glenn Morris  <rgm@gnu.org>
1385
1386         * mm-util.el (mm-charset-synonym-alist): Move definition before use.
1387
1388 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1389
1390         * nnimap.el (nnimap-process-expiry-targets): Say what target we're
1391         expiring articles to.
1392
1393         * mm-util.el (mm-charset-to-coding-system): Recognize all ANSI.x3.4
1394         variations as ASCII (bug#5458).
1395
1396 2011-06-30  Katsumi Yamaoka  <yamaoka@jpl.org>
1397
1398         * nnmh.el (nnmh-request-list-1): Work on MS Windows.
1399
1400 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1401
1402         * message.el (message-point-in-header-p): Tweak the function to default
1403         to saying that we're not in the headers if there is no separator at
1404         all.  This makes it possible to use the Message version of `M-q' in
1405         buffers with no headers (bug#7987).
1406         (message-point-in-header-p): Fix last checkin to work with an empty
1407         mail-header-separator, too.
1408
1409         * auth-source.el (auth-source-netrc-saver): If the user says "don't ask
1410         again, save the choice via customize.
1411
1412 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1413
1414         * message.el (message-send-mail-function): Add `sendmail-query-once'.
1415
1416         * nnimap.el (nnimap-finish-retrieve-group-infos): If the server has
1417         ended the connection, bail out before waiting infinitely on a new
1418         connection.
1419
1420 2011-06-28  Teodor Zlatanov  <tzz@lifelogs.com>
1421
1422         * gnus-msg.el (gnus-bug): Add Package and Version pseudo-headers to bug
1423         reports.
1424
1425         * gnus.el (gnus-bug-package): Use "gnus."
1426         (gnus-maintainer): Direct bug reports to submit@debbugs.gnu.org.
1427
1428 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1429
1430         * dgnushack.el: Make the timer warning go away on XEmacs.
1431
1432         * gnus-art.el (gnus-article-stop-animations): New function to stop any
1433         animations going on at article exit time.
1434
1435         * gnus-registry.el (gnus-registry-user-format-function-M): Reinstate,
1436         since removing it breaks people upgrading.
1437
1438         * shr.el (shr-put-image): Use the new interface for animating images.
1439         (shr-put-image): Animate for 60 seconds.
1440
1441         * dgnushack.el: Bind `gnutls-available-p' to `ignore' on XEmacs to
1442         avoid compiler warnings.
1443
1444         * auth-source.el (with-auth-source-epa-overrides): Fix compilation
1445         error with `find-file-hooks' on Emacs 22.
1446         (with-auth-source-epa-overrides): Ugly hack to Wrap the
1447         `find-file-hook' things in `symbol-value' to avoid compilation warnings
1448         on all architectures.
1449
1450         * spam.el (spam-stat): Require in a normal fashion without binding
1451         `spam-stat-install-hooks' to avoid compilation warnings.
1452
1453         * spam-stat.el (spam-stat-install-hooks): Remove.
1454         (spam-stat-install-hooks): Don't run automatically.
1455
1456 2011-06-26  Timo Juhani Lindfors  <timo.lindfors@iki.fi>  (tiny change)
1457
1458         * gnus-msg.el (gnus-summary-reply-to-list-with-original): New command
1459         and keystroke.
1460
1461 2011-06-23  Katsumi Yamaoka  <yamaoka@jpl.org>
1462
1463         * auth-source.el (auth-source-netrc-cache): Move forward.
1464
1465 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1466
1467         * proto-stream.el (proto-stream-open-starttls): Use
1468         `gnutls-available-p' to see whether we have built-in support.
1469
1470         * auth-source.el (auth-source-netrc-create): Don't query the bits that
1471         we already know.
1472         (auth-source-forget-all-cached): Clear auth-source-netrc-cache, too.
1473         (auth-source-netrc-create): Don't prompt for the stuff we already know.
1474
1475 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1476
1477         * auth-source.el (auth-source-netrc-create): Don't print all tokens in
1478         %S format, since that looks odd.
1479         (auth-sources): Prefer the ~/.authinfo file over the ~/.authinfo.gpg
1480         file, especially when saving.
1481
1482 2011-06-21  Andrew Cohen  <cohen@andy.bu.edu>
1483
1484         * nnimap.el (nnimap-find-article-by-message-id): return nil when no
1485         article found.
1486
1487 2011-06-18  Teodor Zlatanov  <tzz@lifelogs.com>
1488
1489         * auth-source.el (auth-source-netrc-use-gpg-tokens): Replace
1490         `auth-source-save-secrets' with a more sensitive alist that can be
1491         configured per file.  Experimental, so defaults to 'never.
1492         (auth-source-netrc-create): Use it.  Still experimental code.
1493         (with-auth-source-epa-overrides): Use `find-file-hooks' if
1494         `find-file-hook' is unbound (XEmacs fix).  Fix backquoting bug.
1495
1496 2011-06-16  Teodor Zlatanov  <tzz@lifelogs.com>
1497
1498         * auth-source.el (auth-source-save-secrets): New variable to control if
1499         secret tokens should be saved encrypted.
1500         (auth-source-netrc-parse, auth-source-netrc-search): Pass the file name
1501         to `auth-source-netrc-normalize'.
1502         (with-auth-source-epa-overrides): Add convenience macro.  Don't depend
1503         on the EPA variables being defined.
1504         (auth-source-epa-make-gpg-token): Convert text to a "gpg:" token.
1505         (auth-source-netrc-normalize): Convert "gpg:" tokens back to text in
1506         the lexical-let closure.
1507         (auth-source-netrc-create): Create "gpg:" tokens according to
1508         `auth-source-save-secrets'.
1509
1510 2011-06-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1511
1512         * gnus-group.el (gnus-group-update-group): Add new argument
1513         `info-unchanged' that stops updating dribble buffer.
1514
1515         * gnus-start.el (gnus-dribble-enter): Add new argument `regexp' that
1516         deletes lines matching to it in dribble buffer.
1517
1518         * gnus-agent.el (gnus-agent-fetch-group-1):
1519         * gnus-group.el (gnus-group-update-group-line, gnus-group-make-group):
1520         * gnus-srvr.el (gnus-server-update-server, gnus-server-set-info):
1521         * gnus-start.el (gnus-group-change-level):
1522         * gnus-sum.el (gnus-summary-move-article): Delete old dribble entry.
1523
1524         * gnus-sum.el (gnus-summary-update-info): Don't update dribble buffer
1525         if newsgroup info is not changed.
1526
1527         * gnus-group.el (gnus-group-get-new-news-this-group):
1528         * gnus-sum.el (gnus-summary-read-group-1, gnus-summary-exit-no-update):
1529         Don't update dribble buffer.
1530
1531 2011-06-01  Teodor Zlatanov  <tzz@lifelogs.com>
1532
1533         * gnus-registry.el (gnus-registry-remove-ignored): New function to
1534         remove entries with groups we ignore.
1535
1536 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1537
1538         * shr.el (shr-rescale-image): Add an :ascent of 100 to images so that
1539         the underline comes at the bottom.
1540
1541 2011-05-31  Teodor Zlatanov  <tzz@lifelogs.com>
1542
1543         * gnus-registry.el (gnus-registry-article-marks-to-chars): Rename from
1544         `gnus-registry-user-format-function-M' and declare the latter obsolete.
1545         (gnus-registry-article-marks-to-names): Rename from
1546         `gnus-registry-user-format-function-M2'.
1547
1548 2011-05-31  Katsumi Yamaoka  <yamaoka@jpl.org>
1549
1550         * gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in
1551         ephemeral group.
1552
1553 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1554
1555         * shr.el (shr-browse-image): Copy the URL if called interactively.
1556
1557 2011-05-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1558
1559         * gnus-group.el (gnus-group-mark-article-read): It's possible that we
1560         want to have `gnus-newsgroup-unselected' kept sorted.  If this isn't
1561         done, then unselected articles may be marked as read.
1562
1563         * pop3.el (pop3-open-server): Erase the buffer after the greeting,
1564         since not doing this seems to lead to a race condition in pop3-logon.
1565
1566         * nnvirtual.el (nnvirtual-request-article): Bind `gnus-command-method'
1567         so that the call chain it correct when we call "upwards".
1568
1569         * gnus-sum.el (gnus-select-newsgroup): Auto-expiry doesn't make sense
1570         in read-only groups.
1571
1572         * gnus-group.el (gnus-group-mark-article-read): Ditto.
1573
1574         * message.el (message-cite-reply-position): Doc string fix.
1575
1576         * nnimap.el (nnimap-transform-headers): Simplify regexp to hopefully
1577         avoid regexp overflow.
1578         (nnimap-transform-split-mail): Ditto.
1579
1580         * pop3.el (pop3-retr): Error out if the server closes the connection.
1581
1582 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1583
1584         * mml1991.el (mml1991-mailcrypt-encrypt): Remove use of ill-designed
1585         mm-with-unibyte-current-buffer.  The buffer should not contain any
1586         multibyte chars anyway at this stage.
1587
1588 2011-05-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1589
1590         * shr.el (shr-urlify): Use shr-add-font to make underlines be less ugly
1591         at the end of lines.
1592
1593 2011-05-29  Julien Danjou  <julien@danjou.info>
1594
1595         * smiley.el (gnus-smiley-file-types): Add gif as supported file type.
1596
1597 2011-05-27  Glenn Morris  <rgm@gnu.org>
1598
1599         * gnus-group.el (gnus-bug-group-download-format-alist):
1600         Use the "maintainer" version of debian reports as well.
1601
1602 2011-05-26  Glenn Morris  <rgm@gnu.org>
1603
1604         * gnus-group.el (gnus-bug-group-download-format-alist):
1605         Use the "maintainer" version of debbugs.gnu.org reports.
1606
1607 2011-05-24  Katsumi Yamaoka  <yamaoka@jpl.org>
1608
1609         * gnus-art.el (gnus-mime-delete-part): Fix mm-handle-filename usage.
1610
1611 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1612
1613         * gnus-cus.el (gnus-agent-customize-category):
1614         * gnus-delay.el (gnus-delay-send-queue):
1615         * gnus.el (gnus-other-frame):
1616         Don't quote lambda expressions with `quote'.
1617
1618 2011-05-20  Teodor Zlatanov  <tzz@lifelogs.com>
1619
1620         * gnus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide
1621         the thread moves us backwards and so we loop forever.
1622
1623 2011-05-19  Katsumi Yamaoka  <yamaoka@jpl.org>
1624
1625         * mm-bodies.el (mm-decode-content-transfer-encoding): Allow leading
1626         whitespace in base64 data lines.
1627
1628 2011-05-18  Teodor Zlatanov  <tzz@lifelogs.com>
1629
1630         * gnus-registry.el (gnus-registry-user-format-function-M):
1631         Use `mapconcat'.
1632         (gnus-registry-user-format-function-M2): Use to see the full text of
1633         the marks.  Make "," the mark text separator.
1634
1635         * nntp.el (nntp-send-authinfo): Use the "force" token for NNTP
1636         authentication with auth-source.
1637
1638 2011-05-17  Glenn Morris  <rgm@gnu.org>
1639
1640         * gnus-group.el (gnus-import-other-newsrc-file):
1641         Use insert-file-contents.
1642
1643 2011-05-16  Teodor Zlatanov  <tzz@lifelogs.com>
1644
1645         * gnus-sum.el (gnus-summary-hide-all-threads): Add update message every
1646         1000 iterations.
1647
1648 2011-05-16  Katsumi Yamaoka  <yamaoka@jpl.org>
1649
1650         * nntp.el (nntp-open-connection): Check if process-type is available.
1651
1652 2011-05-16  Julien Danjou  <julien@danjou.info>
1653
1654         * shr.el (shr-tag-del): Add support for del tag.
1655
1656 2011-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>
1657
1658         * gnus-html.el (gnus-html-put-image): Register a displayer.
1659
1660         * shr.el (shr-image-displayer): Don't remove text props from alt text.
1661
1662 2011-05-13  Teodor Zlatanov  <tzz@lifelogs.com>
1663
1664         * registry.el (prune-factor): New initialization parameter defaulting
1665         to 0.1.
1666         (registry-prune-hard): Use it.
1667
1668         * gnus-registry.el (gnus-registry-fixup-registry): Set prune-factor to
1669         0.1 expicitly.
1670
1671 2011-05-13  Glenn Morris  <rgm@gnu.org>
1672
1673         * message.el (message-send-mail-with-sendmail): Assume sendmail-program
1674         is bound, since this function requires sendmail.
1675
1676 2011-05-11  Teodor Zlatanov  <tzz@lifelogs.com>
1677
1678         * registry.el (registry-usage-test): Disable pruning test.
1679
1680 2011-05-11  David Engster  <dengste@eml.cc>
1681
1682         * lpath.el: Bind shr-put-image and process-type for Emacs22 and XEmacs.
1683         Bind set-network-process-option for XEmacs.
1684
1685 2011-05-10  Teodor Zlatanov  <tzz@lifelogs.com>
1686
1687         * registry.el (registry-prune-hard-candidates)
1688         (registry-prune-soft-candidates): Helper methods for registry pruning.
1689         (registry-prune): Use them.  Make the sort function optional.
1690
1691 2011-05-10  Jim Meyering  <meyering@redhat.com>
1692
1693         * shr.el (shr-colorize-region): Fix typo "on on -> on".
1694
1695 2011-05-10  Julien Danjou  <julien@danjou.info>
1696
1697         * shr.el (shr-put-color-1): Do not bug out when old-props is a face
1698         symbol and not a list.
1699
1700 2011-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1701
1702         * gnus-art.el (gnus-article-mode): Move binding of
1703         shr-put-image-function here from gnus-article-prepare-display.
1704
1705         * shr.el (shr-put-image-function): New variable.
1706         (shr-image-fetched, shr-image-displayer, shr-tag-img): Funcall it.
1707         (shr-put-image): Return scaled image.
1708
1709         * gnus-art.el (gnus-shr-put-image): New function.
1710         (gnus-article-prepare-display): Bind shr-put-image-function to it.
1711
1712         * gnus-html.el (gnus-html-wash-images): Register scaled images, not
1713         original ones, as deletable.
1714
1715 2011-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1716
1717         * nntp.el (nntp-open-connection): Set TCP keepalive option.
1718
1719 2011-05-09  Teodor Zlatanov  <tzz@lifelogs.com>
1720
1721         * registry.el (registry-full): Add convenience method.  Fix logic.
1722         (registry-insert): Use it.  Fix logic here too.
1723
1724         * gnus-registry.el (gnus-registry-insert): Add wrapper that calls
1725         `registry-prune' if `registry-full' returns t.
1726         (gnus-registry-handle-action)
1727         (gnus-registry-get-or-make-entry, gnus-registry-set-id-key)
1728         (gnus-registry-usage-test): Use it.
1729
1730 2011-05-07  Julien Danjou  <julien@danjou.info>
1731
1732         * shr.el (shr-link): Make shr-link inherit from link by default.
1733
1734 2011-05-06  Teodor Zlatanov  <tzz@lifelogs.com>
1735
1736         * shr.el (shr-urlify, shr-link): Fix shr-link face.
1737
1738 2011-05-05  Teodor Zlatanov  <tzz@lifelogs.com>
1739
1740         * shr.el (shr-urlify, shr-link): Still broken but at least doesn't
1741         error out because the face is not a list.
1742
1743 2011-05-05  Glenn Morris  <rgm@gnu.org>
1744
1745         * proto-stream.el (gnutls-negotiate): Fix declarations.
1746
1747         * gnus-start.el (gnus-propagate-marks): Declare.
1748
1749 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
1750
1751         * registry.el (registry-reindex): Fix percentage message.
1752
1753         * proto-stream.el (network-stream-open-starttls): Adjust to call
1754         `gnutls-negotiate' with :process and :hostname arguments.
1755
1756 2011-05-03  Teodor Zlatanov  <tzz@lifelogs.com>
1757
1758         * shr.el: Add shr-link face for links.
1759         (shr-urlify): Use it.
1760
1761         * registry.el (registry-insert): Make error message more helpful.
1762
1763 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1764
1765         * gnus-html.el (gnus-html-schedule-image-fetching):
1766         Use url-queue-retrieve, if it exists.
1767
1768         * shr.el (shr-tag-img): Ditto.
1769
1770         * gnus.el: Autoload more gnus-agent functions.
1771
1772         * gnus-art.el (gnus-request-article-this-buffer): Store articles in the
1773         agent if we haven't already (bug#8502).
1774
1775         * gnus-async.el (gnus-async-article-callback): Put prefetched articles
1776         into the Agent, too.
1777
1778         * gnus-agent.el (gnus-agent-store-article): New function.
1779
1780         * nnheader.el (nnheader-insert-buffer-substring): Rename from nntp-
1781         and moved from that file for reuse.
1782
1783         * pop3.el (pop3-open-server): Error messages are "-ERR".
1784
1785 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1786
1787         * pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS.
1788         (open-tls-stream): Remove superfluous tls/starttls autoloads.
1789
1790 2011-05-01  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
1791
1792         * gnus.el: No Gnus v0.17 is released.
1793
1794 2011-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1795
1796         * gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary
1797         buffer has moved to a different frame.
1798
1799 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1800
1801         * nnimap.el (nnimap-request-article): Use nntp-insert-buffer-substring
1802         to get the conversion from unibyte to multibyte buffers to work on
1803         Emacs 22.
1804
1805         * nntp.el (nntp-request-article): Slight clean-up.
1806
1807 2011-04-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1808
1809         * shr.el (shr-strike-through): New face.
1810         (shr-tag-s): Use it to provide <s> support.
1811         (shr-tag-s): Remove duplicate definition.
1812
1813 2011-04-25  Teodor Zlatanov  <tzz@lifelogs.com>
1814
1815         * gnus-registry.el (gnus-registry-ignore-group-p): Don't call
1816         `gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist.
1817
1818 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1819
1820         * proto-stream.el (proto-stream-open-starttls): Give host parameter to
1821         `gnutls-negotiate'.
1822         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
1823
1824 2011-04-23  Glenn Morris  <rgm@gnu.org>
1825
1826         * gnus-sum.el (gnus-extra-headers): Bump :version.
1827
1828 2011-04-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1829
1830         * shr.el (shr-tag-sup): New function.
1831         (shr-tag-sub): Ditto.
1832
1833 2011-04-22  Teodor Zlatanov  <tzz@lifelogs.com>
1834
1835         * gnus-registry.el (gnus-registry-ignore-group-p): Test specifically
1836         for the case where `gnus-registry-ignored-groups' is a list of lists,
1837         and don't call `gnus-parameter-registry-ignore' otherwise.
1838
1839 2011-04-21  Teodor Zlatanov  <tzz@lifelogs.com>
1840
1841         * nnimap.el (nnimap-user): New backend variable.
1842         (nnimap-open-connection-1): Use it.
1843         (nnimap-credentials): Accept user parameter so it's explicit what user
1844         name is desired.
1845
1846         * gnus-sum.el (gnus-extra-headers): Add Keywords, Cc, and Gcc to
1847         default.
1848
1849         * gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el,
1850         not gnus-registry.el.
1851
1852         * gnus-registry.el: Mention in comments how to modify
1853         `gnus-extra-headers' for proper recipient tracking and that it may
1854         already have To and Cc recently, which it does as of this commit.
1855         (gnus-registry-ignored-groups): Remove defcustom.
1856         Explain why in comments.
1857         (gnus-registry-action): Fix data-header reference to use the extra
1858         headers.  Explain in package commentary how to add To and Cc headers to
1859         the gnus-extra-headers.
1860         (gnus-registry-ignored-groups): Adjust defaults to match the parameter.
1861         (gnus-registry-ignore-group-p): Adjust to take either a group/topic
1862         parameter list or a string list in `gnus-registry-ignored-groups'.
1863         Fix logic error.
1864
1865 2011-04-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1866
1867         * shr.el (shr-expand-url): Protect against null urls.
1868
1869 2011-04-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1870
1871         * shr.el (shr-base): New binding.
1872         (shr-tag-base): Keep track of <base>.
1873         (shr-expand-url): New function used throughout.
1874
1875 2011-04-20  Teodor Zlatanov  <tzz@lifelogs.com>
1876
1877         * gnus-registry.el
1878         (gnus-registry--split-fancy-with-parent-internal): Fix loop bugs.
1879         (gnus-registry-ignored-groups): New variable.
1880         (gnus-registry-ignore-group-p): Use it.
1881         (gnus-registry-handle-action): Use `gnus-registry-ignore-group-p' and
1882         set the destination group to nil (same as delete) if it's ignored.
1883
1884 2011-04-20  David Engster  <dengste@eml.cc>
1885
1886         * tests/gnustest-nntp.el: New file for simple NNTP testing.
1887
1888         * Makefile.in (test-nntp): New rule.
1889         (check): Add it.
1890         (test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.
1891
1892 2011-04-20  Katsumi Yamaoka  <yamaoka@jpl.org>
1893
1894         * gnus-registry.el (gnus-registry-action)
1895         (gnus-registry-fetch-header-fast):
1896         Don't use mail-header that looks an internal function of mailheader.el.
1897
1898 2011-04-19  Glenn Morris  <rgm@gnu.org>
1899
1900         * time-date.el (time-to-days): Remove unused local variables.
1901
1902 2011-04-18  Katsumi Yamaoka  <yamaoka@jpl.org>
1903
1904         * gnus-registry.el: Eliminate cl functions.
1905         (gnus-registry-sort-addresses): New function that replaces mapcan.
1906         (gnus-registry-action, gnus-registry-spool-action)
1907         (gnus-registry-split-fancy-with-parent)
1908         (gnus-registry-fetch-recipients-fast): Use it.
1909         (gnus-registry-import-eld): Replace delete* with dolist + delq.
1910
1911         * registry.el (initialize-instance, registry-lookup)
1912         (registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
1913         (registry-lookup-secondary-value, registry-search, registry-delete)
1914         (registry-insert, registry-reindex, registry-size, registry-prune):
1915         Use eval-and-compile.
1916
1917 2011-04-16  Teodor Zlatanov  <tzz@lifelogs.com>
1918
1919         * registry.el (registry-reindex): New method to recreate the secondary
1920         registry indices.
1921
1922         * gnus-registry.el (gnus-registry-fixup-registry): Use it if the
1923         tracked field changes.
1924         (gnus-registry-unfollowed-addresses, gnus-registry-track-extra)
1925         (gnus-registry-action, gnus-registry-spool-action)
1926         (gnus-registry-handle-action)
1927         (gnus-registry--split-fancy-with-parent-internal)
1928         (gnus-registry-split-fancy-with-parent)
1929         (gnus-registry-register-message-ids): Add recipient tracking on spool,
1930         move, and delete actions, and for fancy splitting with parent.
1931         (gnus-registry-extract-addresses)
1932         (gnus-registry-fetch-recipients-fast)
1933         (gnus-registry-fetch-header-fast): Convenience functions.
1934         (gnus-registry-misc-test): ERT test of
1935         `gnus-registry-extract-addresses'.
1936
1937 2011-04-15  Teodor Zlatanov  <tzz@lifelogs.com>
1938
1939         * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
1940         Track by subject first, then sender.
1941
1942 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1943
1944         * message.el (message-bogus-system-names): Replace ^...$ => \`...\'.
1945
1946         * gnus.el (gnus-splash-svg-color-symbols): Don't use insert-file from
1947         Lisp.
1948
1949         * gnus-draft.el (gnus-draft-setup): New arg `dont-pop'.
1950         (gnus-draft-send): Use it to avoid popping
1951         up frames from gnus-group-send-queue.
1952
1953 2011-04-14  Teodor Zlatanov  <tzz@lifelogs.com>
1954
1955         * gnus-registry.el: Updated gnus-registry docs.
1956
1957 2011-04-12  Teodor Zlatanov  <tzz@lifelogs.com>
1958
1959         * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
1960         Fix logic bug.
1961         (gnus-registry-post-process-groups): Fix logging of no results and
1962         quote sender and subject.
1963
1964 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1965
1966         * proto-stream.el (proto-stream-open-starttls): Only do opportunistic
1967         STARTTLS upgrades if we have built-in gnutls support.  Upgrades via
1968         gnutls-cli are too slow to be done opportunistically.
1969
1970         * gnus-start.el (gnus-get-unread-articles): Slight cleanup.
1971         (gnus-read-active-for-groups): Don't try to finish getting stuff where
1972         we had no early-data returned.
1973         (gnus-get-unread-articles): Add a sanity check so that we don't issue
1974         two async commands to the same server at the same time.
1975
1976 2011-04-12  Stig Sandbeck Mathisen  <ssm@fnord.no>  (tiny change)
1977
1978         * gnus-sum.el (gnus-summary-select-article-buffer): Doc fix.
1979
1980 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1981
1982         * gnus-registry.el (gnus-registry-remake-db): Put the warning on a
1983         "warning" level.
1984
1985         * mm-url.el (mm-url-package-name): Remove to ease third-party reuse.
1986         (mm-url-insert-file-contents): Don't set the package names.
1987
1988 2011-04-11  Teodor Zlatanov  <tzz@lifelogs.com>
1989
1990         * gnus-registry.el (gnus-registry-action): Remove properties and
1991         simplify subject in `gnus-registry-handle-action'.
1992         (gnus-registry-spool-action): Get subject and sender from message if
1993         they are not passed in.
1994         (gnus-registry-handle-action): Remove properties and simplify subject
1995         consistently.
1996
1997 2011-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1998
1999         * registry.el: Require CL before using defmacro*.
2000
2001 2011-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
2002
2003         * gnus-art.el (article-treat-date): Assume that
2004         gnus-article-date-headers may be a group parameter.
2005
2006 2011-04-07  Teodor Zlatanov  <tzz@lifelogs.com>
2007
2008         * gnus-registry.el (gnus-registry-handle-action): More debugging.
2009
2010         * gnus-start.el (gnus-gnus-to-newsrc-format): Add a way to run
2011         interactively so the newsrc file can contain foreign groups too.
2012         Useful for debugging but not much for users.
2013
2014 2011-04-07  David Engster  <dengste@eml.cc>
2015
2016         * registry.el (registry-usage-test): Only do
2017         `registry-lookup-breaks-before-lexbind' testing for Emacs24 with
2018         lexical binding.
2019
2020 2011-04-07  David Engster  <dengste@eml.cc>
2021
2022         * Makefile.in (check, test-registry): New rules for test-suite.
2023
2024 2011-04-06  David Engster  <dengste@eml.cc>
2025
2026         * registry.el, gnus-registry.el: Use `ignore-errors' instead of third
2027         argument NOERROR for `require', since XEmacs 21.4 does not support it.
2028
2029 2011-04-06  David Engster  <dengste@eml.cc>
2030
2031         * registry.el (initialize-instance): Change :after to :AFTER to be
2032         compatible with old EIEIO version in XEmacs.
2033
2034 2011-04-06  Teodor Zlatanov  <tzz@lifelogs.com>
2035
2036         * gnus-registry.el (gnus-registry-post-process-groups)
2037         (gnus-registry--split-fancy-with-parent-internal): Fix splitting bugs
2038         and provide better messaging.
2039
2040 2011-04-06  David Engster  <dengste@eml.cc>
2041
2042         * Makefile.in (fail-on-warning): New rule to compile with warnings as
2043         errors.
2044
2045         * dgnushack.el (dgnushack-compile-error-on-warn): New function to call
2046         dgnushack-compile with error-on-warn enabled, and to signal an error if
2047         clean compilation failed.
2048         (dgnushack-compile): New argument 'error-on-warn'.  If non-nil, compile
2049         with `byte-compile-error-on-warn'.  Return nil if errors occured.
2050
2051 2011-04-06  Teodor Zlatanov  <tzz@lifelogs.com>
2052
2053         * gnus-registry.el: Don't use ERT if it's not available.  Load it
2054         unconditionally anyway, discarding errors.
2055         (gnus-registry-delete-entries): New convenience function.
2056         (gnus-registry-import-eld): Import from old .eld registry.
2057
2058         * registry.el: Don't use ERT if it's not available.  Load it
2059         unconditionally anyway, discarding errors.
2060
2061         * proto-stream.el (gnutls-negotiate): Revert inadvertent commit of the
2062         version from the Claudio Bley GnuTLS patch (extra optional parameters
2063         and host name).
2064
2065 2011-04-05  Teodor Zlatanov  <tzz@lifelogs.com>
2066
2067         * gnus-registry.el (gnus-registry-fixup-registry): New function to
2068         fixup the parameters that can be customized by the user between
2069         save/read cycles.
2070         (gnus-registry-read): Use it.
2071         (gnus-registry-make-db): Use it.
2072         (gnus-registry-spool-action, gnus-registry-handle-action):
2073         Fix messaging.
2074         (gnus-registry--split-fancy-with-parent-internal): Fix loop.
2075         Map references to actual group names with sender and subject tracking.
2076         (gnus-registry-post-process-groups): Use `cond' for better messaging.
2077         (gnus-registry-usage-test): Add subject lookup test.
2078
2079         * registry.el (registry-db, initialize-instance): Set up constructor
2080         instead of :initform arguments for the sake of older Emacsen.
2081         (registry-lookup-breaks-before-lexbind): New method to demonstrate
2082         pre-lexbind merge bug.
2083         (registry-usage-test): Use it.
2084         (initialize-instance, registry-db): Move the non-function initforms
2085         back to the class definition.
2086
2087 2011-04-03  Teodor Zlatanov  <tzz@lifelogs.com>
2088
2089         * registry.el: New library to manage gnus-registry-style data.
2090
2091         * gnus-registry.el: Use it (major rewrite).
2092
2093         * nnregistry.el: Use it.
2094
2095         * spam.el: Use it.
2096
2097 2011-04-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2098
2099         * gnus-sum.el (gnus-update-marks): Reinstate the code to not alter
2100         marks on non-selected articles.
2101
2102 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
2103
2104         * nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command
2105         parameter to open-protocol-stream.
2106
2107 2011-04-01  Julien Danjou  <julien@danjou.info>
2108
2109         * mm-view.el (mm-display-inline-fontify): Do not fontify with
2110         fundamental-mode.
2111
2112 2011-04-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2113
2114         * gnus-start.el (gnus-get-unread-articles): Don't try to contact denied
2115         servers.
2116
2117 2011-03-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2118
2119         * gnus-sum.el (gnus-update-marks): Revert intersection change, which
2120         made marks not propagate, again.
2121
2122 2011-03-30  Chong Yidong  <cyd@stupidchicken.com>
2123
2124         * proto-stream.el (open-protocol-stream): Bring back `network' type.
2125         Make this the default type.
2126         (proto-stream-open-plain): Rename from proto-stream-open-default.
2127         (open-protocol-stream, proto-stream-open-starttls)
2128         (proto-stream-open-tls, proto-stream-open-shell): Replace `default'
2129         with `plain'.
2130
2131         * nnimap.el (nnimap-stream, nnimap-open-connection-1): Accept `network'
2132         value.
2133
2134         * nntp.el (nntp-open-connection-function): Document the fact that some
2135         values are not functions but are instead handled specially.
2136         Recognize nntp-open-plain-stream value.
2137         (nntp-open-connection): Recognize that value.
2138
2139 2011-03-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2140
2141         * dgnushack.el: Only do the defcustom compilation thing on XEmacs,
2142         where it seems to be needed.
2143
2144 2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2145
2146         * gssapi.el (open-gssapi-stream): Remove the last mentions of the IMAP
2147         stuff.
2148
2149         * gnus-score.el (gnus-score-string): Fix calling convention of
2150         `gnus-simplify-buffer-fuzzy' after last patches.
2151
2152         * gnus-sum.el (gnus-update-marks): Don't send any marks updates to the
2153         server for articles we didn't get any headers for.  This is a sanity
2154         check.
2155
2156 2011-03-29  Michael Welsh Duggan  <md5i@md5i.com>
2157
2158         * nnimap.el (nnimap-open-connection-1): Is the login responds with a
2159         new CAPABILITY, use it.
2160
2161 2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2162
2163         * gnus-agent.el (gnus-agent-fetch-headers): Don't message if we're not
2164         downloading anything.
2165
2166         * gnus.el (gnus-splash-svg-color-symbols): Remove superfluous `and'.
2167
2168 2011-03-29  Adam Sjøgren  <asjo@koldfront.dk>
2169
2170         * gnus.el (gnus-group-startup-message): Prefer svg file and replace
2171         colors.
2172         (gnus-splash-svg-color-symbols): New function.
2173
2174 2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2175
2176         * gnus-sum.el (gnus-simplify-buffer-fuzzy): Take the regexp explicitly
2177         instead of using the global gnus-simplify-subject-fuzzy-regexp.
2178         (gnus-simplify-subject-fuzzy): Use the local
2179         gnus-simplify-subject-fuzzy-regex instead of the global one.
2180         This makes using this variable in group parameters work.
2181
2182 2011-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
2183
2184         * gnus-registry.el (gnus-registry-unfollowed-groups):
2185         Add "archive:sent" to the unfollowed group regex (for the recent Gnus
2186         archive:sent-YYYY-MM-DD groups).
2187         (gnus-registry-split-fancy-with-parent): Bail out early in sender
2188         tracking if there are more than `gnus-registry-max-track-groups'
2189         matches.
2190
2191 2011-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2192
2193         * message.el (message--yank-original-internal): New function to do the
2194         insertion cleanly inside eval in `message-yank-original'.
2195         (message-yank-original): Use it.
2196
2197 2011-03-29  Julien Danjou  <julien@danjou.info>
2198
2199         * mm-view.el (mm-display-inline-fontify): Use `set-normal-mode' with
2200         local variables disabled rather than `normal-mode'.
2201
2202 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
2203
2204         * imap.el (imap-shell-open, imap-process-connection-type):
2205         Use imap-process-connection-type for 'shell' streams as well as
2206         Kerberos, SSL, other subprocesses.
2207
2208 2011-03-26  Chong Yidong  <cyd@stupidchicken.com>
2209
2210         * proto-stream.el: Changes preparatory to merging open-protocol-stream
2211         with open-network-stream.
2212         (proto-stream-always-use-starttls): Option removed.
2213         (open-protocol-stream): Return a process object by default.  Provide a
2214         new parameter :return-list specifying a list-type return value, which
2215         now has the form (PROP . PLIST) instead of a fixed-length list.  Change
2216         :type `network' to `try-starttls', and `network-only' to `default'.
2217         Make `default' the default, for compatibility with open-network-stream.
2218         Handle the no-parameter case exactly as open-network-stream, with no
2219         additional stream processing.  Search plists using plist-get.
2220         Explicitly add :end-of-commend parameter if it is missing.
2221         (proto-stream-open-default): Rename from
2222         proto-stream-open-network-only.  Return 'default as the type.
2223         (proto-stream-open-starttls): Rename from proto-stream-open-network.
2224         Use plist-get.  Don't return `tls' as the type if STARTTLS negotiation
2225         failed.  Always return a list with a (possibly dead) process as the
2226         first element, for compatibility with open-network-stream.
2227         (proto-stream-open-tls): Use plist-get.  Always return a list.
2228         (proto-stream-open-shell): Return `default' as connection type.
2229         (proto-stream-capability-open): Use plist-get.
2230         (proto-stream-eoc): Function deleted.
2231
2232         * nnimap.el (nnimap-stream, nnimap-open-connection)
2233         (nnimap-open-connection-1): Handle renaming of :type parameter for
2234         open-protocol-stream.
2235         (nnimap-open-connection-1): Pass a :return-list parameter
2236         open-protocol-stream to obtain a list return value.  Parse this list
2237         using plist-get.
2238
2239         * nntp.el (nntp-open-connection): Handle renaming of :type parameter
2240         for open-protocol-stream.  Accept open-protocol-stream return value
2241         that is a subprocess object instead of a list.  Handle the case of a
2242         dead returned process.
2243
2244 2011-03-25  Teodor Zlatanov  <tzz@lifelogs.com>
2245
2246         * mm-util.el (mm-handle-filename): Move to mm-decode.el (bug#8330).
2247
2248         * mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330).
2249
2250 2011-03-21  Julien Danjou  <julien@danjou.info>
2251
2252         * mm-view.el (mm-display-inline-fontify): Make mode optional, and call
2253         normal-mode if not set.  Set temp buffer unmodified to avoid kill-buffer
2254         query.
2255         (mm-inline-text): Render normal text with fontification whenever
2256         possible.
2257
2258         * gnus-sum.el (gnus-summary-save-parts-1):
2259         * gnus-art.el (gnus-article-browse-html-save-cid-content)
2260         (gnus-article-browse-html-parts, gnus-mime-delete-part)
2261         (gnus-mime-copy-part, gnus-mime-inline-part, gnus-insert-mime-button):
2262         Use `mm-handle-filename'.
2263
2264         * mm-util.el (mm-handle-filename): New function, return the filename of
2265         an handle.
2266
2267 2011-03-18  Julien Danjou  <julien@danjou.info>
2268
2269         * gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
2270         (gnus-buffer-live-p): Check that buffer is not nil.
2271
2272 2011-03-17  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
2273
2274         * gnus.el: No Gnus v0.15 is released.
2275
2276 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2277
2278         * time-date.el (format-seconds): Use assoc instead of assoc-string to
2279         avoid warning on XEmacs.
2280
2281         * dgnushack.el: Bind help-echo-owns-message to avoid a compiler warning
2282         on XEmacs.
2283
2284         * gnus-art.el: Require mouse, which the build bot seems to say is
2285         needed.
2286
2287         * dgnushack.el: Define url-retrieve-synchronously unless not defined.
2288
2289         * gravatar.el (gravatar-retrieve-synchronously): Use `url-retrieve' on
2290         XEmacs, since it doesn't have url-retrieve-synchronously.
2291
2292         * time-date.el (format-seconds): Use assoc instead of assoc-string,
2293         since assoc-string doesn't exist in XEmacs.
2294
2295 2011-03-17  Antoine Levitt  <antoine.levitt@gmail.com>
2296
2297         * gnus-group.el (gnus-group-list-ticked): New function.
2298         (gnus-group-make-menu-bar): Provide a menu entry for it.
2299         (gnus-group-list-map): Provide a binding for it.
2300
2301 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2302
2303         * shr.el (shr-visit-file): New command.
2304
2305         * nnimap.el (nnimap-fetch-inbox): Rewrite slightly last patch.
2306
2307 2011-03-17  Bjørn Mork  <bjorn@mork.no>
2308
2309         * nnimap.el (nnimap-fetch-inbox): Don't download bodies on ver4-capable
2310         servers.
2311
2312 2011-03-16  Julien Danjou  <julien@danjou.info>
2313
2314         * mm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are
2315         inline.
2316
2317         * gnus-art.el (article-hide-list-identifiers):
2318         Use gnus-group-get-list-identifiers.
2319
2320         * gnus-sum.el (gnus-group-get-list-identifiers): New function.
2321         (gnus-summary-remove-list-identifiers):
2322         Use gnus-group-get-list-identifiers to get regexp.
2323         (gnus-select-newsgroup, gnus-summary-insert-subject)
2324         (gnus-summary-insert-articles):
2325         Call gnus-summary-remove-list-identifiers unconditionally.
2326
2327 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2328
2329         * gnus-sum.el (gnus-articles-to-read): Revert back to old behavior if
2330         we're selecting a group with unread articles.
2331
2332         * nnimap.el (nnimap-open-connection-1): Allow `network-only', too.
2333
2334         * gssapi.el: New file separated out from imap.el to provide a general
2335         Kerberos 5 connection facility for Emacs.
2336
2337         * message.el (message-elide-ellipsis): Document the format spec
2338         ellipsis.
2339
2340 2011-03-15  Reiner Steib  <Reiner.Steib@gmx.de>
2341
2342         * message.el (message-elide-region): Allow the ellipsis to say how many
2343         lines were removed.
2344
2345 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2346
2347         * gnus-win.el (gnus-configure-frame): Protect against trying to restore
2348         window configurations containing buffers that are now dead.
2349
2350         * nnimap.el (nnimap-parse-flags): Remove all MODSEQ entries before
2351         parsing to avoid integer overflows.
2352         (nnimap-parse-flags): Simplify the last change.
2353         (nnimap-parse-flags): Store HIGHESTMODSEQ as a string, since it may be
2354         too large for 32-bit Emacsen.
2355
2356 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2357
2358         * auth-source.el (auth-source-netrc-create):
2359         * message.el (message-yank-original): Fix use of `case'.
2360
2361 2011-03-15  Nelson Ferreira  <nelson.ferreira@ieee.org>  (tiny change)
2362
2363         * gnus-art.el (gnus-article-treat-body-boundary): Fix boundary width on
2364         XEmacs, which was one character too wide.
2365
2366 2011-03-09  Antoine Levitt  <antoine.levitt@gmail.com>
2367
2368         * gnus-sum.el (gnus-articles-to-read): Use gnus-large-newsgroup as
2369         default number of articles to display.
2370         (gnus-articles-to-read): Use pretty names for prompt.
2371
2372 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2373
2374         * gnus-int.el (gnus-open-server): Ditto.
2375
2376         * gnus-start.el (gnus-activate-group): Give a backtrace if
2377         debug-on-quit is set and the user hits `C-g'.
2378         (gnus-read-active-file): Ditto.
2379
2380         * gnus-group.el (gnus-group-read-ephemeral-group): Ditto.
2381
2382 2011-03-15  Teodor Zlatanov  <tzz@lifelogs.com>
2383
2384         * message.el (message-yank-original): Use cond instead of CL case.
2385
2386 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2387
2388         * auth-source.el (auth-source-netrc-create): Use usual format for the
2389         default in prompts.
2390
2391 2011-03-14  Katsumi Yamaoka  <yamaoka@jpl.org>
2392
2393         * lpath.el: Fbind read-char-choice for XEmacs.
2394
2395 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
2396
2397         * auth-source.el (auth-source-netrc-create): Show the default in the
2398         prompt when prompting for token creation.
2399
2400 2011-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
2401
2402         * auth-source.el (auth-source-format-prompt): Always convert the value
2403         to a string to avoid evaluating non-string arguments.
2404         (auth-source-netrc-create): Offer default properly, not as initial
2405         content in `read-string'.
2406         (auth-source-netrc-saver): Use a cache keyed by file name and MD5 hash
2407         of line to determine if we've been run before.  If so, don't run again,
2408         but print a trivial message to indicate the cache was hit instead.
2409
2410 2011-03-11  Teodor Zlatanov  <tzz@lifelogs.com>
2411
2412         * gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook):
2413         Don't install `gnus-sync-read' to any hooks by default.  It's buggy.
2414         The user will have to run `gnus-sync-read' manually and wait for Cloudy
2415         Gnus.
2416
2417 2011-03-11  Julien Danjou  <julien@danjou.info>
2418
2419         * mm-uu.el (mm-uu-type-alist): Add support for diff starting with "===
2420         modified file".
2421
2422 2011-03-09  Teodor Zlatanov  <tzz@lifelogs.com>
2423
2424         * auth-source.el (auth-source-read-char-choice): New function to read a
2425         character choice using `dropdown-list', `read-char-choice', or
2426         `read-char'.  It appends "[a/b/c] " to the prompt if the choices were
2427         '(?a ?b ?c).  The `dropdown-list' support is disabled for now.  Use
2428         `eval-when-compile' to load `dropdown-list'.  Remove `dropdown-list'.
2429         (auth-source-netrc-saver): Use it.
2430         (auth-source-pick-first-password): New convenience function.
2431
2432 2011-03-08  Teodor Zlatanov  <tzz@lifelogs.com>
2433
2434         * nnimap.el (nnimap-credentials): Keep the :save-function as the third
2435         parameter in the credentials.
2436         (nnimap-open-connection-1): Use it after a successful login.
2437         (nnimap-credentials): Add IMAP-specific user and password prompt.
2438
2439         * auth-source.el (auth-source-search): Add :require parameter, taking a
2440         list.  Document it and the :save-function return token.  Pass :require
2441         down.  Change the CREATED message from a warning to a debug statement.
2442         (auth-source-search-backends): Pass :require down.
2443         (auth-source-netrc-search): Pass :require down.
2444         (auth-source-netrc-parse): Use :require, if it's given, as a filter.
2445         Change save prompt to indicate all modifications saved here are
2446         deletions.
2447         (auth-source-netrc-create): Take user login name as default in user
2448         prompt.  Move all the save functionality to a lexically bound function
2449         under the :save-function token in the returned list.  Set up clearer
2450         default prompts for user, host, port, and secret.
2451         (auth-source-netrc-saver): New function, intended to be wrapped for
2452         :save-function.
2453
2454 2011-03-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2455
2456         * shr.el (shr-table-horizontal-line): Change the defaults for the table
2457         lines to be spaces instead.
2458
2459 2011-03-07  Julien Danjou  <julien@danjou.info>
2460
2461         * sieve-manage.el (sieve-sasl-auth): Create auth-info if not found.
2462         (sieve-sasl-auth): Check that auth-source-search did return something,
2463         or just return an empty string.
2464
2465 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
2466
2467         * gnus.el (gnus-interactive): Use read-directory-name.
2468
2469         * gnus-uu.el (gnus-uu-decode-uu-and-save)
2470         (gnus-uu-decode-unshar-and-save, gnus-uu-decode-save)
2471         (gnus-uu-decode-binhex, gnus-uu-decode-yenc)
2472         (gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save):
2473         Likewise.
2474
2475         * gnus-group.el (gnus-group-make-directory-group): Likewise.
2476
2477 2011-03-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2478
2479         * gnus-start.el (gnus-group-change-level): Allow putting foreign groups
2480         onto the list of killed groups, too.  This makes killed nnimap groups,
2481         for instance, more reliably not reappear.
2482
2483         * nnimap.el (nnimap-request-thread): Don't bug out when we can't find
2484         the parent.
2485
2486         * gnus-sum.el (gnus-update-read-articles): Fix typo.
2487
2488         * gnus.el (gnus-valid-select-methods): Mark nnimap as a backend that
2489         really have server-side marks.
2490
2491         * gnus-sum.el (gnus-propagate-marks): Change default back to nil again,
2492         since most backends do not usefully have server-side marks.
2493         (gnus-update-read-articles): Propagate marks to all backends that
2494         really have server-side marks.
2495
2496 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
2497
2498         * message.el (message-cite-reply-position, message-cite-style):
2499         New variables.
2500         (message-yank-original): Use the new citation styles.
2501
2502 2011-03-04  Daiki Ueno  <ueno@unixuser.org>
2503
2504         * message.el (message-options): Revert 22da67af (workaround for XEmacs
2505         buffer-local issue); don't mark it buffer-local when running under
2506         XEmacs.
2507
2508 2011-03-03  Tassilo Horn  <tassilo@member.fsf.org>
2509
2510         * nnimap.el (nnimap-parse-flags): Add a workaround for FETCH lines with
2511         numbers too big to be `read'.
2512
2513 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
2514
2515         * password-cache.el (password-in-cache-p): Add autoload.
2516
2517         * message.el (message-options): Make buffer-local two ways to attempt
2518         to fix a XEmacs bug.
2519
2520 2011-03-02  Julien Danjou  <julien@danjou.info>
2521
2522         * gnus-art.el (gnus-with-article-buffer): Fix buffer live check.
2523
2524 2011-03-01  Julien Danjou  <julien@danjou.info>
2525
2526         * gnus-art.el (list-identifier): Add list-identifier as a parameter
2527         group.
2528         (article-hide-list-identifiers): Use list-identifier group parameter.
2529
2530 2011-02-28  Julien Danjou  <julien@danjou.info>
2531
2532         * sieve.el (sieve-buffer-script-name): New local variable to store
2533         sieve script name.
2534         (sieve-edit-script): Store sieve script name.
2535         (sieve-upload): Use sieve script name when uploading.
2536         (sieve-upload): Use substitute-command-keys.
2537         (sieve-edit-script): Use substitute-command-keys.
2538         (sieve-refresh-scriptlist): Use substitute-command-keys.
2539         (sieve-manage-mode-map): Define keymap properly.
2540         (sieve-manage-mode): Do not set mode name manually, change mode-name to
2541         (sieve-refresh-scriptlist): Use substitute-command-keys."Sieve-manage".
2542         Remove commented code about cvs.
2543         (sieve-manage-quit): New function.
2544         (sieve-manage-mode-map): Bind 'q' to sieve-manage-quit.
2545
2546 2011-02-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2547
2548         * gnus-group.el (gnus-import-other-newsrc-file): New function.
2549
2550 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
2551
2552         * auth-source.el (auth-source-search): Cache empty result sets.
2553
2554         * password-cache.el (password-in-cache-p): Convenience function to
2555         check if a key is in the cache, even if the value is nil.
2556
2557         * auth-source.el (auth-source-save-behavior): New variable to replace
2558         `auth-source-never-create'.
2559         (auth-source-netrc-create): Use it.
2560         (auth-source-never-save): Remove.
2561
2562 2011-02-25  Lars Ingebrigtsen  <larsi@gnus.org>
2563
2564         * nnimap.el (nnimap-stream): Doc fix.
2565         (nnimap-open-connection-1): Reverse the order of the ports to that the
2566         prompted-for port is first.
2567
2568         * gnus-start.el (gnus-get-unread-articles): Don't clobber the async
2569         retrieval by the no-group selection.
2570
2571         * gnus-demon.el (gnus-demon-init): run-with-timer should be called with
2572         numerical parameters.
2573
2574 2011-02-25  Julien Danjou  <julien@danjou.info>
2575
2576         * gnus-gravatar.el: Use gnus-with-article-buffer.
2577
2578         * gnus-art.el (gnus-with-article-buffer): Check that the
2579         gnus-article-buffer is alive.
2580
2581 2011-02-24  Teodor Zlatanov  <tzz@lifelogs.com>
2582
2583         * auth-source.el (auth-source-creation-prompts): New variable to manage
2584         creation-time prompts.
2585         (auth-source-search): Document it.
2586         (auth-source-format-prompt): Add utility function.
2587         (auth-source-netrc-create): Don't default the user name to
2588         user-login-name.  Use `auth-source-creation-prompts' and some default
2589         prompts for user, host, port, and password (the default generic prompt
2590         remains ugly).
2591         (auth-source-never-save): Add customizable option to never save info.
2592         (auth-source-netrc-create): Use it and improve save prompts.  Fix help
2593         mode excursion.
2594
2595 2011-02-24  Katsumi Yamaoka  <yamaoka@jpl.org>
2596
2597         * auth-source.el (auth-source-netrc-create): Use `read-char' with no
2598         argument that XEmacs doesn't support.
2599
2600         * dgnushack.el (dgnushack-compile): Exclude color.el from being
2601         compiled for Emacsen having no `libxml-parse-html-region' support.
2602
2603         * gnus-xmas.el (gnus-xmas-define): Remove gnus-x-color-values.
2604
2605         * lpath.el: Bind buffer-save-without-query for XEmacs.
2606
2607 2011-02-23  Julien Danjou  <julien@danjou.info>
2608
2609         * gnus-art.el (article-make-date-line): Ignore errors if time is
2610         invalid and not convertible.
2611         (article-make-date-line): Only add lapsed time if time is not nil.
2612
2613 2011-02-23  Teodor Zlatanov  <tzz@lifelogs.com>
2614
2615         * auth-source.el (auth-source-netrc-create): Use `read-char' instead of
2616         `read-char-choice' for backwards compatibility.
2617         (auth-source-netrc-element-or-first): New function to DTRT for
2618         parameter extraction.
2619         (auth-source-netrc-create): Use it and fix multiple parameter print
2620         bug.  Use the default passed from above (given-default) or the
2621         built-in (user-login-name for :user).
2622
2623 2011-02-23  Lars Ingebrigtsen  <larsi@gnus.org>
2624
2625         * gnus-start.el (gnus-dribble-read-file):
2626         Set buffer-save-without-query, since we always want to save the dribble
2627         file, probably.
2628
2629         * nnmail.el (nnmail-article-group): Allow a final "" split to work on
2630         nnimap.
2631
2632         * gnus-sum.el (gnus-user-date-format-alist): Rename back again from
2633         -summary- since it's a user-visible variable.
2634
2635         * nnimap.el (nnimap-retrieve-group-data-early): Don't do QRESYNC the
2636         first time you use the new Gnus.
2637
2638 2011-02-22  Teodor Zlatanov  <tzz@lifelogs.com>
2639
2640         * auth-source.el: Don't load netrc.el.
2641         (auth-sources): Search ~/.netrc as well by default.
2642         (auth-source-debug): Add 'trivia option for extra output.
2643         (auth-source-do-trivia): Use it.
2644         (auth-source-search): Simplify logic to use
2645         `auth-source-search-backends'.  Use `auth-source-do-trivia' where
2646         appropriate.  Don't keep a running count at this level.  Layer :create
2647         and :delete options appropriately on the first and second passes.
2648         Don't track the backend with the search results.
2649         (auth-source-search-backends): New function to search a list of
2650         backends for a processed spec.
2651         (auth-source-netrc-parse): Cache all netrc files, making
2652         auth-source-netrc-cache an alist keyed by the file name and using the
2653         file mtime as the caching criterion.  Keep the obfuscated data secret
2654         with a lexical bind.
2655         (auth-source-netrc-search): Don't calculate the length of the results
2656         unnecessarily.
2657         (auth-source-search-backends): Fix bug.
2658         (auth-source-netrc-create): Rework prompts.
2659
2660 2011-02-22  Andrew Cohen  <cohen@andy.bu.edu>
2661
2662         * nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key):
2663         Lower case names of search constraints.
2664         (nnir-run-query): Cache and reuse search constraints for all imap
2665         servers.
2666
2667 2011-02-22  Lars Ingebrigtsen  <larsi@gnus.org>
2668
2669         * gnus-msg.el (gnus-inews-add-send-actions): Restore the winconf name
2670         after exit.
2671         (gnus-setup-message): Define missing variable from last checkin.
2672
2673         * gnus-sum.el (gnus-summary-show-article): When called with t as the
2674         value, show the raw article.
2675
2676 2011-02-22  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
2677
2678         * gnus.el: No Gnus v0.13 is released.
2679
2680 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
2681
2682         * nnimap.el (nnimap-open-connection-1): Revert last change, since
2683         auth-source now accepts numbers.
2684
2685         * auth-source.el (auth-source-netrc-parse): Accept a number as the port
2686         spec, too.
2687         (auth-source-ensure-strings): New function.
2688
2689         * gnus-art.el (gnus-article-update-date-headers): Doc fix.
2690         (gnus-article-setup-buffer): Always restart the date timer so that user
2691         changes to the frequency is respected.
2692
2693         * nnimap.el (nnimap-open-connection-1): auth-source expects strings as
2694         port numbers, so make sure it gets that if nnimap-server-port is
2695         explicit.
2696
2697 2011-02-21  Simon Josefsson  <simon@josefsson.org>
2698
2699         * nnimap.el (nnimap-inbox): Doc fix.
2700
2701 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
2702
2703         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
2704         Autoload.  Add optional arg FRAME, and pass it to color-values.
2705         (color-complement): Caller changed.  Doc fix.
2706         (color-gradient): Rewrite for better clarity and efficiency.
2707
2708 2011-02-20  Chong Yidong  <cyd@stupidchicken.com>
2709
2710         * shr-color.el (shr-color->hexadecimal): Use renamed function names
2711         color-rgb-to-hex, color-name-to-rgb, color-srgb-to-lab, and
2712         color-lab-to-srgb.
2713
2714 2011-02-20  Drew Adams  <drew.adams@oracle.com>
2715
2716         * color.el: First part of merge from hexrgb.el.
2717         (color-rgb-to-hex): Rename from color-rgb->hex.
2718         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
2719         saturation to zero if the value is too small.
2720         (color-rgb-to-hsl): Rename from color-rgb->hsl.
2721         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
2722         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
2723         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
2724         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
2725         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
2726         (color-cie-de2000): Doc fix.
2727
2728 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
2729
2730         * nntp.el (nntp-finish-retrieve-group-infos): Add a kludge to use the
2731         given method as in the group name if we're using an extended method.
2732         (nntp-finish-retrieve-group-infos): Wait for the end of the LIST ACTIVE
2733         command, if we're using that, instead of waiting for the beginning.
2734
2735         * gnus-start.el (gnus-get-unread-articles): Extend the methods so that
2736         we're sure to get unique server names, and we don't output two async
2737         commands in the same buffer.  This fixes an NNTP hang for some users.
2738
2739 2011-02-21  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
2740
2741         * gnus.el: No Gnus v0.11 is released.
2742
2743 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
2744
2745         * gnus-sum.el (gnus-summary-next-article): Add a kludge to reselect the
2746         summary buffer before reading going to the next buffer.  This avoids
2747         putting the point in the group buffer if you `C-g' the command.
2748
2749         * auth-source.el (auth-source-netrc-parse): Add an in-memory netrc
2750         cache (for now) to make ~/.authinfo.gpg files usable.
2751
2752         * nnfolder.el (copyright-update): Define for the compiler.
2753
2754         * auth-source.el (auth-source-search): Fix unbound variable.
2755
2756 2011-02-19  Glenn Morris  <rgm@gnu.org>
2757
2758         * gnus.el (gnus-meta): Doc fix.
2759
2760 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
2761
2762         * nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update,
2763         in case it's not yet loaded.
2764
2765 2011-02-20  Lars Ingebrigtsen  <larsi@gnus.org>
2766
2767         * nnimap.el (nnimap-wait-for-response): Ensure that we get the entire
2768         line we're waiting for.
2769
2770 2011-02-19  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
2771
2772         * gnus-art.el (gnus-article-next-page-1): Because customized mode-line
2773         face with line-width greater than zero will cause RET in gnus summary
2774         buffer to scroll down article page-wise because auto vscroll happens,
2775         it should be temporally disabled when doing a scroll-up.
2776
2777 2011-02-19  Lars Ingebrigtsen  <larsi@gnus.org>
2778
2779         * nnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK"
2780         outputs from the server.
2781
2782 2011-02-18  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
2783
2784         * gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook
2785         later so that bbdb can hook in easier.
2786
2787 2011-02-18  Lars Ingebrigtsen  <larsi@gnus.org>
2788
2789         * auth-source.el (auth-source-search): Don't try to create credentials
2790         if the caller doesn't want that.
2791         (auth-source-search): If we don't find a match, don't bug out on
2792         non-bound variables.
2793         (auth-source-search): Only ask a single backend to create the
2794         credentials.
2795
2796         * nnimap.el (nnimap-log-command): Add a newline to the inhibited
2797         logging.
2798         (nnimap-credentials): Protect against auth-source-search returning nil.
2799         (nnimap-request-list): Protect against not being able to open the
2800         server.
2801
2802 2011-02-17  Lars Ingebrigtsen  <larsi@gnus.org>
2803
2804         * auth-source.el (auth-source-search): Do a two-phase search, one with
2805         no :create to get the responses from all backends.
2806
2807         * nnimap.el (nnimap-open-connection-1): Delete duplicate server names
2808         when getting credentials.
2809
2810         * gnus-util.el (gnus-delete-duplicates): New function.
2811
2812 2011-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
2813
2814         * nnimap.el (nnimap-credentials): Instead of picking the first port as
2815         a creation default, pass the whole port list down.  It will be
2816         completed.
2817
2818         * auth-source.el (auth-source-search): Updated docs to talk about
2819         multiple creation choices.
2820         (auth-source-netrc-create): Accept a list as a value (from the search
2821         parameters) and do completion on that list.  Keep a separate netrc line
2822         with the password obscured for showing the user.
2823
2824         * nnimap.el (nnimap-open-connection-1): Make the `nnimap-address' the
2825         first choice to `auth-source-search' so it will be used for entry
2826         creation instead of the server's Gnus-specific name.
2827         (nnimap-credentials): Rely on the auth-source library to select which
2828         port is actually wanted in the new netrc entry, so don't override
2829         `auth-source-creation-defaults'.
2830
2831         * auth-source.el (auth-source-netrc-parse): Use :port instead of
2832         :protocol and accept a missing user, host, or port as a wildcard match.
2833         (auth-source-debug): Default to off.
2834
2835         (auth-source-netrc-search, auth-source-netrc-create)
2836         (auth-source-secrets-search, auth-source-secrets-create)
2837         (auth-source-user-or-password, auth-source-backend, auth-sources)
2838         (auth-source-backend-parse-parameters, auth-source-search): Use :port
2839         instead of :protocol.
2840
2841         * nnimap.el (nnimap-credentials): Pass a port default to
2842         `auth-source-search' in case an entry needs to be created.
2843         (nnimap-open-connection-1): Use :port instead of :protocol.
2844
2845 2011-02-17  Katsumi Yamaoka  <yamaoka@jpl.org>
2846
2847         * auth-source.el: Bind load-path when loading EIEIO from
2848         "gnus-fallback-lib/eieio"; don't pass more than two args, that XEmacs
2849         21.4 doesn't support, to `require'.
2850         (auth-source-secrets-search): Use mm-delete-duplicates instead of
2851         delete-dups that is not available in XEmacs 21.4.
2852
2853 2011-02-16  Raphael Kubo da Costa  <kubito@gmail.com>  (tiny change)
2854
2855         * auth-source.el: Correctly load EIEIO from "gnus-fallback-lib/eieio"
2856         as EIEIO must also be loaded when auth-source.el is being
2857         byte-compiled.
2858
2859 2011-02-16  Teodor Zlatanov  <tzz@lifelogs.com>
2860
2861         * gnus-fallback-lib/eieio/eieio.el: Copy from Emacs.
2862
2863         * gnus-fallback-lib/eieio/eieio-speedbar.el: Copy from Emacs.
2864
2865         * gnus-fallback-lib/eieio/eieio-opt.el: Copy from Emacs.
2866
2867         * gnus-fallback-lib/eieio/eieio-datadebug.el: Copy from Emacs.
2868
2869         * gnus-fallback-lib/eieio/eieio-custom.el: Copy from Emacs.
2870
2871         * gnus-fallback-lib/eieio/eieio-comp.el: Copy from Emacs.
2872
2873         * gnus-fallback-lib/eieio/eieio-base.el: Copy from Emacs.
2874
2875         * auth-source.el: Load EIEIO from "gnus-fallback-lib/eieio" if
2876         necessary.
2877
2878 2011-02-16  Lars Ingebrigtsen  <larsi@gnus.org>
2879
2880         * gnus-sum.el (gnus-propagate-marks): Change default to t again, since
2881         nil means that nnimap doesn't get updated.
2882
2883 2011-02-16  Teodor Zlatanov  <tzz@lifelogs.com>
2884
2885         * auth-source.el (auth-source-netrc-create): Return a synthetic search
2886         result when the user doesn't want to write to the file.
2887         (auth-source-netrc-search): Expect a synthetic result and proceed
2888         accordingly.
2889         (auth-source-cache-expiry): New variable to override
2890         `password-cache-expiry'.
2891         (auth-source-remember): Use it.
2892
2893         * nnimap.el (nnimap-credentials): Remove the `inhibit-create'
2894         parameter.  Create entry if necessary by using :create t.
2895         (nnimap-open-connection-1): Don't pass `inhibit-create'.
2896
2897 2011-02-15  Teodor Zlatanov  <tzz@lifelogs.com>
2898
2899         * auth-source.el (auth-source-debug): Enable by default and don't
2900         mention the obsolete `auth-source-hide-passwords'.
2901         (auth-source-do-warn): New function to debug unconditionally.
2902         (auth-source-do-debug): Use it.
2903         (auth-source-backend-parse): Use it for invalid `auth-sources' entries
2904         and for Secrets API entries when the secrets.el library is not
2905         available.
2906
2907 2011-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
2908
2909         * gnus-sum.el (gnus-propagate-marks): Default to nil.
2910         (gnus-summary-exit): Kill the correct article buffer on exit from a
2911         `C-d' group.
2912
2913         * gnus-start.el (gnus-use-backend-marks): Removed, since it duplicates
2914         gnus-propagate-marks.
2915
2916         * gnus-sum.el (gnus-summary-exit-no-update): Restore the group conf
2917         before killing the buffers so that a non-full window conf gets handled
2918         correctly.
2919         (gnus-summary-exit): Ditto.
2920         (gnus-summary-read-group-1): Ditto.
2921
2922         * nntp.el (nntp-retrieve-group-data-early): Reinstate the two-part
2923         async code again so that we can debug it properly.
2924
2925         * message.el (message-reply): Take an optional switch-buffer parameter
2926         so that Gnus window confs are respected better.
2927
2928 2011-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
2929
2930         * auth-source.el (auth-source-backend-parse-parameters): Don't rely on
2931         `plist-get' to accept non-list parameters (XEmacs issue).
2932         Fix docstring.
2933         (auth-source-secrets-search): Use `delete-dups', `append mapcar', and
2934         `butlast' instead of `remove-duplicates', `mapcan', and `subseq'.
2935         (auth-sources, auth-source-backend-parse, auth-source-secrets-search):
2936         Login collection is "Login" and not "login".
2937
2938 2011-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
2939
2940         * gnus-art.el (article-update-date-lapsed): Don't bug out when updating
2941         multiple headers.
2942
2943         * nnimap.el (nnimap-inhibit-logging): New variable.
2944         (nnimap-log-command): Don't log login commands.
2945
2946         * auth-source.el (auth-source-netrc-search): The asserts seem to want
2947         to have more parameters.
2948
2949         * nnimap.el (nnimap-send-command): Mark the command time for each
2950         command, so that we don't get NOOPs stepping on our toes.
2951
2952         * gnus-art.el (article-date-ut): Get the date from the Date header on
2953         `t'.
2954
2955 2011-02-14  Katsumi Yamaoka  <yamaoka@jpl.org>
2956
2957         * auth-source.el (auth-source-search): Use copy-sequence instead of
2958         the cl.el copy-list.
2959
2960 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
2961
2962         * imap.el: Bring it back (revert
2963         84d800cd31de3064f0ed39617d725709a2f8f42f).
2964
2965 2011-02-13  Adam Sjøgren  <asjo@koldfront.dk>
2966
2967         * gnus-delay.el (gnus-delay-article) Fix number of seconds per day.
2968         Improve prompt.
2969
2970 2011-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
2971
2972         * gnus-art.el (gnus-article-mode-line-format): Remove the article
2973         washing status from the default format.  It isn't very informative.
2974
2975 2011-02-13  Tassilo Horn  <tassilo@member.fsf.org>  (tiny change)
2976
2977         * nnimap.el (nnimap-request-accept-article, nnimap-process-quirk):
2978         Fix Gcc processing on imap.
2979
2980 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
2981
2982         * imap.el: Remove file.  All the functionality is in nnimap.el.
2983
2984 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2985
2986         * message.el (message-bury): Don't pop up a new window when selected
2987         window is dedicated.
2988
2989 2011-02-10  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
2990
2991         * gnus-sum.el (gnus-summary-save-parts): Use read-directory-name.
2992
2993 2011-02-10  Teodor Zlatanov  <tzz@lifelogs.com>
2994
2995         * sieve-manage.el: Autoload `auth-source-search'.
2996         (sieve-sasl-auth): Use it.
2997
2998 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
2999
3000         * nnimap.el: Autoload `auth-source-forget+'.
3001         (nnimap-open-connection-1): Use it if the connection fails.
3002
3003         * auth-source.el: Require `password-cache'.
3004         (auth-source-hide-passwords, auth-source-cache): Remove and mark
3005         obsolete.
3006         (auth-source-magic): Marker for `password-cache' keys.
3007         (auth-source-do-cache): Update docstring.
3008         (auth-source-search): Use and check cache.
3009         (auth-source-forget-all-cached, auth-source-remember)
3010         (auth-source-recall, auth-source-forget, auth-source-forget+)
3011         (auth-source-specmatchp): Caching support functions.
3012         (auth-source-forget-user-or-password, auth-source-forget-all-cached):
3013         Remove and obsolete.
3014         (auth-source-user-or-password): Remove caching to further discourage
3015         using it.  Always hide passwords.
3016
3017         * password-cache.el (password-cache-remove): Accept secrets that are
3018         not strings.
3019
3020 2011-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
3021
3022         * nntp.el (nntp-retrieve-group-data-early-disabled): Disable the async
3023         code for now, since it doesn't work for all users.
3024
3025 2011-02-09  Julien Danjou  <julien@danjou.info>
3026
3027         * message.el (message-options): Make message-options really buffer
3028         local.
3029
3030 2011-02-08  Teodor Zlatanov  <tzz@lifelogs.com>
3031
3032         * mail-source.el: Autoload `auth-source-search'.
3033         (mail-source-keyword-map): Note order matters.
3034         (mail-source-set-1): Get all the mail-source source values and
3035         defaults and search auth-source on those if needed.  This can all
3036         probably be simplified.
3037
3038         * nnimap.el: Autoload `auth-source-search'.
3039         (nnimap-credentials): Use it.
3040         (nnimap-open-connection-1): Ask for the virtual server and physical
3041         address in one shot.
3042
3043         * nntp.el: Autoload `auth-source-search'.
3044         (nntp-send-authinfo): Use it.  Note TODO.
3045
3046 2011-02-08  Julien Danjou  <julien@danjou.info>
3047
3048         * shr.el (shr-tag-body): Add support for text attribute in body
3049         markups.
3050
3051         * message.el (message-options): Make message-options a local variable.
3052
3053 2011-02-07  Teodor Zlatanov  <tzz@lifelogs.com>
3054
3055         * auth-source.el (auth-source-secrets-search)
3056         (auth-source-user-or-password): Use `append' instead of `nconc'.
3057         (auth-source-user-or-password): Build return list better and protect
3058         against nil :secret.
3059
3060 2011-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
3061
3062         * nnimap.el (nnimap-update-info): Refactor slightly.
3063         (nnimap-update-info): Tell Gnus whether there are any \Recent messages.
3064         (nnimap-update-info): Clean up slightly.
3065         (nnimap-quirk): Add quirk for Gmail IMAP which bugs out on NUL
3066         characters.
3067         (nnimap-process-quirk): Rename function to avoid collision.
3068         (nnimap-update-info): Fix macrology bug-out.
3069         (nnimap-update-info): Simplify split history test.
3070
3071 2011-02-06  Michael Albinus  <michael.albinus@gmx.de>
3072
3073         * auth-source.el (top): Require 'eieio unconditionally.
3074         Autoload `secrets-get-attributes' instead of `secrets-get-attribute'.
3075         (auth-source-secrets-search): Limit search when `max' is greater than
3076         number of results.
3077
3078 2011-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
3079
3080         * nntp.el (nntp-finish-retrieve-group-infos): Protect against the first
3081         part not returning any data.
3082
3083         * proto-stream.el (open-protocol-stream): Document the return value.
3084
3085 2011-02-06  Teodor Zlatanov  <tzz@lifelogs.com>
3086
3087         * auth-source.el (auth-source-secrets-search): Add examples.
3088
3089 2011-02-06  Julien Danjou  <julien@danjou.info>
3090
3091         * message.el (message-setup-1): Handle message-generate-headers-first
3092         set to t.
3093
3094 2011-02-06  Teodor Zlatanov  <tzz@lifelogs.com>
3095
3096         * auth-source.el (auth-sources): Allow for simpler defaults for Secrets
3097         API with a string "secrets:collection-name" and with 'default.
3098         (auth-source-backend-parse): Parse "secrets:collection-name" and
3099         'default.  Recurse on parses instead of repeating code.  Use the
3100         Secrets API is the source is not nil and 'ignore otherwise.  Emit a
3101         message when ignoring a source.
3102         (auth-source-search): List ignored search keys at the top level.
3103         (auth-source-netrc-create): Use `case' instead of `cond'.
3104         (auth-source-secrets-search): Created with TODOs.
3105         (auth-source-secrets-create): Created with TODOs.
3106         (auth-source-retrieve, auth-source-create, auth-source-delete)
3107         (auth-source-protocol-defaults, auth-source-user-or-password-imap)
3108         (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh)
3109         (auth-source-user-or-password-sftp)
3110         (auth-source-user-or-password-smtp): Remove.
3111         (auth-source-user-or-password): Deprecated and modified to be a wrapper
3112         around `auth-source-search'.  Not tested thoroughly.
3113
3114 2011-02-04  Teodor Zlatanov  <tzz@lifelogs.com>
3115
3116         * auth-source.el: Bring in assoc and eioeio libraries.
3117         (secrets-enabled): New variable to track the status of the Secrets API.
3118         (auth-source-backend): New EIOEIO class to represent a backend.
3119         (auth-source-creation-defaults): New variable to set prompt defaults
3120         during token creation (see the `auth-source-search' docstring for
3121         details).
3122         (auth-sources): Simplify to allow a simple string as a netrc backend
3123         spec.
3124         (auth-source-backend-parse): Parse a backend from an `auth-sources' spec.
3125         (auth-source-backend-parse-parameters): Fill in the backend parameters.
3126         (auth-source-search): Main auth-source API entry point.
3127         (auth-source-delete): Wrapper around `auth-source-search' for deletion.
3128         (auth-source-search-collection): Helper function for searching.
3129         (auth-source-netrc-parse, auth-source-netrc-normalize)
3130         (auth-source-netrc-search, auth-source-netrc-create): Netrc backend.
3131         Supports search, create, and delete.
3132         (auth-source-secrets-search, auth-source-secrets-create): Secrets API
3133         backend stubs.
3134         (auth-source-user-or-password): Call `auth-source-search' but it's not
3135         ready yet.
3136
3137 2011-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
3138
3139         * message.el (message-setup-1): Remove the read-only stuff, since it
3140         doesn't work under XEmacs, for some reason.
3141
3142         * gnus-sum.el (gnus-user-date): Rename back from
3143         gnus-summary-user-date since user code refers to it.
3144
3145         * shr.el (shr-render-td): Store the actual background color used.
3146
3147         * message.el (message-setup-1): Don't bind the constant
3148         -forbidden-properties.
3149         (message-setup-1): Revert previous change, since it needs to bind the
3150         props to insert them.
3151         (message-resend): Allow removing the read-only separator line.
3152
3153 2011-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
3154
3155         * nnimap.el (nnimap-request-accept-article): Give an error message if
3156         the APPEND wasn't successful.
3157
3158 2011-02-03  Adam Sjøgren  <asjo@koldfront.dk>
3159
3160         * gnus-start.el (gnus-get-unread-articles): Fix the call to methods
3161         that have no groups.
3162
3163 2011-02-03  Julien Danjou  <julien@danjou.info>
3164
3165         * gnus-draft.el: Remove progn around gnus-draft-setup.
3166
3167 2011-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
3168
3169         * gnus-start.el (gnus-read-active-for-groups): This function is never
3170         called with a nil `infos', so clean that up.
3171         (gnus-get-unread-articles): Request active files from primary/secondary
3172         methods that have no groups (yet).
3173
3174 2011-02-03  Julien Danjou  <julien@danjou.info>
3175
3176         * message.el (message-setup-1): Always generate References first.
3177         (message-mail): Return the return value of message-setup, not always t.
3178         (message-setup-1): Insert mail-header-separator with read-only and
3179         intangible properties set.
3180
3181         * gnus.el (gnus-summary-line-format): Add missing semi-colon for
3182         user-date in docstring.
3183
3184         * gnus-art.el (gnus-article-jump-to-part): Remove useless sit-for.
3185
3186         * gnus.el (gnus-summary-line-format): Mention &user-date format in
3187         docstring.
3188
3189         * gnus.el (gnus-user-date-format-alist): Change default value.
3190         Use defcustom, with type and group. Move from gnus-util.el.
3191         Rename to gnus-summary-user-date-format-alist.
3192
3193 2011-02-03  Glenn Morris  <rgm@gnu.org>
3194
3195         * nnimap.el (gnus-fetch-headers): Declare.
3196
3197         * nnheader.el (gnus-range-add, gnus-remove-from-range): Autoload.
3198
3199 2011-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
3200
3201         * message.el (message-forward-make-body-digest-plain)
3202         (message-followup, message-reply): Clean up things noted by Stefan.
3203
3204         * gnus-art.el (gnus-article-setup-buffer): Stop the date timer if
3205         gnus-article-update-date-headers is nil.
3206         (gnus-article-date-headers): Rip out the old -treat-date-* stuff, since
3207         it didn't really work with defcustom.
3208         (article-update-date-lapsed): Make sure the window start doesn't move,
3209         either.
3210
3211 2011-02-01  Julien Danjou  <julien@danjou.info>
3212
3213         * mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff
3214         format.
3215
3216         * mm-decode.el (mm-inline-media-tests): Do not check for diff-mode it's
3217         standard in Emacs nowadays.
3218
3219         * color.el (color-gradient): Add a color-gradient function.
3220
3221 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3222
3223         * message.el (message-expand-name): Don't trust the return value of
3224         bbdb-complete-name.
3225         (message-check-news-header-syntax): Remove unused var `start'.
3226         (message-idna-to-ascii-rhs-1): Remove unused vars `rhs' and `address'.
3227         (message-inhibit-body-encoding): Move to before first use.
3228         (mail-abbrev-mode-regexp, Expires, User-Agent, Lines, Distribution)
3229         (To, References, In-Reply-To, Newsgroups, Subject, Path, From)
3230         (Organization, Message-ID, Date, mh-previous-window-config):
3231         Defvar the vars using dynamic scoping.
3232
3233 2011-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
3234
3235         * shr.el (shr-render-td): Only do colors at the final rendering.
3236         Should be slightly faster.
3237         (shr-insert-table): Fix up TD background colors when doing the
3238         vertical padding.
3239
3240         * gnus-art.el (article-date-ut): Protect against articles with no Date
3241         header.
3242         (article-update-date-lapsed): Don't use current-column to find the
3243         horizontal position.  It's fragile in the presence of \003 characters.
3244
3245         * gnus-start.el (gnus-read-active-file-1): Remove dead parameter infos.
3246
3247 2011-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
3248
3249         * gnus-art.el (article-transform-date): Rewrite to still work when
3250         there are several rfc2822 parts.
3251         (article-transform-date): Fix infinite recursion.
3252         (article-date-ut): Replace infinitely many Date headers with a single
3253         one when called interactively.
3254
3255         * nnimap.el (nnimap-wait-for-response): Wait for results in a more
3256         secure manner.
3257
3258         * gnus-art.el (article-update-date-lapsed): Try to avoid having point
3259         move around by not using save-window-excursion.  It seems to work...
3260
3261 2011-01-31  Katsumi Yamaoka  <yamaoka@jpl.org>
3262
3263         * gnus-art.el (article-make-date-line): Work for user-defined format.
3264
3265 2011-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
3266
3267         * nntp.el (nntp-retrieve-group-data-early)
3268         (nntp-finish-retrieve-group-infos): Implement the asynchronous data
3269         fetching functions.
3270
3271         * gnus-start.el (gnus-read-active-for-groups): Read the active files
3272         thoroughly for all backends that have no known groups.  This should
3273         allow new nnml methods to retrieve mail.
3274
3275         * gnus-group.el (gnus-group-jump-to-group): Allow jumping to groups
3276         that Gnus doesn't know exists again.
3277
3278         * gnus-art.el (gnus-article-date-lapsed-new-header): Remove.
3279         (gnus-treat-date-ut): Ditto.
3280         (gnus-article-update-date-header): Rename.
3281         (gnus-treat-date-local): Remove.
3282         (gnus-treat-date-english): Remove.
3283         (gnus-treat-date-lapsed): Remove.
3284         (gnus-treat-date-combined-lapsed): Remove.
3285         (gnus-treat-date-original): Remove.
3286         (gnus-treat-date-iso8601): Remove.
3287         (gnus-treat-date-user-defined): Remove.
3288         (gnus-article-date-headers): New variable to control all the date
3289         header options.
3290         (article-date-ut): Rewrite to allow using the new way to format date
3291         headers(s).
3292
3293 2011-01-30  Lars Ingebrigtsen  <larsi@gnus.org>
3294
3295         * nnmail.el (nnmail-article-group): Check for a direct fancy split
3296         method.
3297         (nnmail-article-group): A better test for fanciness.
3298
3299         * nnimap.el (nnimap-request-head): Protect against not finding the
3300         article by Message-ID.
3301
3302 2011-01-29  Lars Ingebrigtsen  <larsi@gnus.org>
3303
3304         * gnus-art.el (article-update-date-lapsed): Try a better way to really
3305         keep point at the "same place".
3306
3307 2011-01-28  Lars Ingebrigtsen  <larsi@gnus.org>
3308
3309         * gnus-sum.el (gnus-select-newsgroup): Don't try to alter the active
3310         data if the group is inactive.
3311
3312 2011-01-28  Julien Danjou  <julien@danjou.info>
3313
3314         * gnus-win.el: Remove dead function gnus-window-configuration-element.
3315         (gnus-all-windows-visible-p): Remove old compatibility code.
3316         (gnus-window-top-edge): Add docstring.
3317
3318         * gnus-group.el (gnus-group-jump-to-group): Set must match to t.
3319
3320 2011-01-28  Lars Ingebrigtsen  <larsi@gnus.org>
3321
3322         * gnus-int.el (gnus-request-marks): Call *-request-marks instead of the
3323         older request-update-info.
3324
3325         * gnus-art.el (article-make-date-line): Limit the length a bit more.
3326
3327 2011-01-28  Daiki Ueno  <ueno@unixuser.org>
3328
3329         * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt):
3330         Give mml2015-signers higher precedence over mml2015-sign-with-sender.
3331
3332 2011-01-27  Lars Ingebrigtsen  <larsi@gnus.org>
3333
3334         * gnus-group.el (gnus-group-refresh-group): Refresh even non-visible
3335         groups.  This makes the nndraft:queue group pop up if it's not already
3336         there.
3337
3338         * gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no
3339         messages" logic, which was reversed.
3340
3341         * gnus-art.el (article-update-date-lapsed): Ensure that point stays at
3342         the "same place" even if point is on the line being replaced.
3343         (article-update-date-lapsed): Allow updating both the combined lapsed
3344         and the lapsed headers.
3345         (article-update-date-lapsed): Skip past all the X-Sent/Date headers.
3346         (article-make-date-line): Limit the number of segments dynamically to
3347         avoid too-long lines.
3348
3349 2011-01-27  Julien Danjou  <julien@danjou.info>
3350
3351         * mml2015.el (mml2015-epg-sign): Add and use mml2015-sign-with-sender.
3352         (mml2015-epg-encrypt): Use mml2015-sign-with-sender.
3353
3354 2011-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
3355
3356         * shr.el (shr-expand-newlines, shr-previous-newline-padding-width):
3357         Use plist-get instead of the cl function getf.
3358
3359 2011-01-27  Glenn Morris  <rgm@gnu.org>
3360
3361         * gnus-util.el (float-time): Get rid of compiler warning, again.
3362
3363 2011-01-27  Lars Ingebrigtsen  <larsi@gnus.org>
3364
3365         * shr.el (shr-put-color): Special-case background colors: Do put them
3366         at the blank parts at the front of the lines.
3367
3368         * gnus-draft.el (gnus-draft-clear-marks): New function to be run as an
3369         exit hook to nix out all data on readedness on group exit.
3370
3371         * gnus-util.el (float-time): If float-time is bound, always use it on
3372         all Emacsen.  It's unclear why the subrp check was there.
3373         (time-date): Require to make some autoload issues on XEmacs go away.
3374
3375         * shr.el (shr-put-color): Don't do the box padding in tables, since
3376         they're already padded.
3377
3378 2011-01-26  Lars Ingebrigtsen  <larsi@gnus.org>
3379
3380         * gnus-art.el (gnus-article-next-page): When the last line of the
3381         article is displayed, scroll down once more instead of going to the
3382         next article at once.
3383         (article-lapsed-string): Refactor out and allow specifying how many
3384         segments you want.
3385         (gnus-article-setup-buffer): Start updating the lapsed header directly.
3386         (gnus-article-update-lapsed-header): New variable.
3387
3388         * shr.el: Revert change that made headings use different-sized faces.
3389         The Emacs display engine isn't advanced enough that, for instance,
3390         tables can comfortably use differently-sized faces.
3391
3392 2011-01-25  Lars Ingebrigtsen  <larsi@gnus.org>
3393
3394         * nnimap.el (nnimap-open-connection-1): Store the actual stream type
3395         used.
3396         (nnimap-login): Prefer plain LOGIN if it's enabled (since it requires
3397         fewer round trips than CRAM-MD5, and it's less likely to be buggy), and
3398         we're using an encrypted connection.
3399
3400         * proto-stream.el: Alter the interface functions to also return the
3401         actual stream type used: network or tls.
3402
3403 2011-01-25  Julien Danjou  <julien@danjou.info>
3404
3405         * mm-view.el (mm-display-shell-script-inline): Fix typo in docstring.
3406         (mm-display-javascript-inline): New function.
3407
3408         * mm-decode.el (mm-inline-media-tests): Add application/javascript
3409         viewing function.
3410
3411 2011-01-25  Katsumi Yamaoka  <yamaoka@jpl.org>
3412
3413         * shr.el (shr-expand-newlines): Fix variable name.
3414
3415 2011-01-25  Lars Ingebrigtsen  <larsi@gnus.org>
3416
3417         * shr.el (shr-expand-newlines): Make nested boxes work.
3418
3419 2011-01-24  Lars Ingebrigtsen  <larsi@gnus.org>
3420
3421         * shr.el (shr-expand-newlines): Proof of concept implementation of boxy
3422         backgrounds.
3423         (shr-expand-newlines): Switch to using overlays to enable kill'n'yank
3424         in a more sensible manner.
3425
3426 2011-01-24  Teodor Zlatanov  <tzz@lifelogs.com>
3427
3428         * mml-smime.el (mml-smime-use): Make it a defcustom and default to 'epg
3429         if EPG is loaded.
3430
3431 2011-01-24  Julien Danjou  <julien@danjou.info>
3432
3433         * shr.el: Use defface to create shr-tag-h[1-6] faces to fontify h[1-6]
3434         tags.
3435
3436 2011-01-24  Lars Ingebrigtsen  <larsi@gnus.org>
3437
3438         * gnus-art.el (gnus-article-read-summary-keys): Don't call disabled
3439         commands.
3440
3441         * gnus-gravatar.el (gnus-gravatar-insert): Don't move point around
3442         in the article buffer.
3443         (gnus-gravatar-insert): Use blank space from the current buffer to
3444         avoid breaking text properties.  This makes X-Sent updating work again.
3445
3446         * gravatar.el (gravatar-retrieve): Be silent when retrieving.
3447
3448 2011-01-23  Lars Ingebrigtsen  <larsi@gnus.org>
3449
3450         * gnus-html.el (gnus-html-image-fetched): Kill the buffer anyway, and
3451         fix the bug in url-http.el instead.
3452
3453         * shr.el (shr-image-fetched): Ditto.
3454
3455         * shr.el (shr-image-fetched): Avoid having point move in the article
3456         buffer.
3457
3458         * gnus-html.el (gnus-html-image-fetched): Don't kill the temporary
3459         buffer after being called.  It's apparently being killed by url.el, and
3460         killing it made point move to end-of-buffer in a random buffer.
3461
3462         * shr.el (shr-image-fetched): Ditto.
3463
3464 2011-01-23  Julien Danjou  <julien@danjou.info>
3465
3466         * mm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
3467
3468         * mm-uu.el (mm-uu-org-src-code-block-extract): Change text/org to
3469         text/x-org.
3470
3471 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
3472
3473         * gnus-sum.el (gnus-summary-move-article): Protect against backends
3474         (i.e., nnimap) returning nil as the article number.
3475
3476 2011-01-22  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
3477
3478         * flow-fill.el (fill-flowed): Make `delete-space' option correspond to
3479         "DelSp" parameter in RFC3676.
3480
3481 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
3482
3483         * message.el (message-check-recipients): Display the encoded version of
3484         the bogus address if they differ.
3485
3486         * gnus-draft.el (gnus-group-send-queue): Really refresh the queue group
3487         after sending.
3488
3489         * gnus-agent.el (gnus-agent-send-mail): Ditto.
3490
3491         * gnus-group.el (gnus-group-refresh-group): New convenience function.
3492
3493         * gnus-draft.el (gnus-group-send-queue): Update the queue group in the
3494         group buffer after sending the queue.
3495
3496         * gnus-agent.el (gnus-agent-send-mail): Ditto.
3497
3498 2011-01-22  Julien Danjou  <julien@danjou.info>
3499
3500         * mailcap.el (mailcap-mime-extensions): Rename text/org to text/x-org.
3501
3502 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
3503
3504         * mm-decode.el (mm-preferred-alternative-precedence): Don't bug out on
3505         nested related parts.
3506
3507         * nnfolder.el (nnfolder-request-expire-articles): Return the list of
3508         unexpired articles.  This fixes the regression that led expiry marks to
3509         disappear from nnfolder groups.
3510
3511 2011-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3512
3513         * gnus-art.el (gnus-button-alist, gnus-button-handle-info-keystrokes):
3514         Don't confuse the "ret" of "retrograde" with RET.
3515
3516 2011-01-21  Julien Danjou  <julien@danjou.info>
3517
3518         * gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather
3519         than mm-insert-inline.
3520
3521 2011-01-21  Katsumi Yamaoka  <yamaoka@jpl.org>
3522
3523         * gnus-art.el (gnus-article-remove-images, gnus-article-show-images):
3524         Widen article buffer.
3525
3526 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3527
3528         * mm-util.el (mm-find-buffer-file-coding-system): Don't forget to kill
3529         the temp buffer.
3530         * message.el (message-mailer-swallows-blank-line): Use with-temp-buffer.
3531
3532 2011-01-20  Julien Danjou  <julien@danjou.info>
3533
3534         * mm-decode.el (mm-inline-media-tests): Add text/x-sh.
3535
3536         * gnus-art.el (gnus-mime-inline-part): Use mm-display-inline rather
3537         than mm-insert-inline to insert inline part: this respect
3538         mm-inline-media-tests displayers.
3539
3540         * mm-view.el (mm-display-shell-script-inline): New function.
3541
3542         * mm-decode.el (mm-inline-media-tests): Add x-shellscript and x-sh.
3543
3544         * mm-uu.el (mm-uu-type-alist): Add org block.
3545         (mm-uu-org-src-code-block-extract): New function.
3546
3547         * mm-view.el (mm-display-org-inline): New function.
3548
3549         * mm-decode.el (mm-automatic-display): Add text/org.
3550
3551         * mailcap.el (mailcap-mime-extensions): Add .org.
3552
3553 2011-01-19  Katsumi Yamaoka  <yamaoka@jpl.org>
3554
3555         * gnus-art.el (gnus-article-highlight): Remove argument passed to
3556         gnus-article-add-buttons.
3557
3558 2011-01-19  Tom Rauchenwald  <sehnsucht.nach.unendlichkeit@quantentunnel.de>  (tiny change)
3559
3560         * spam.el (spam-spamassassin-register-with-sa-learn): Insert a full
3561         From header with a date and "nobody" as the sender.
3562
3563 2011-01-19  Julien Danjou  <julien@danjou.info>
3564
3565         * gnus-art.el (gnus-article-add-buttons): Simplify condition.
3566         (gnus-button-push): Remove gnus-button-entry function, it fails heavily
3567         if you have the same regexp several times.
3568         (gnus-button-push): Fix matching when regexp is symbol.
3569
3570 2011-01-15  Glenn Morris  <rgm@gnu.org>
3571
3572         * message.el (message-mail): A compose-mail function should
3573         accept headers as strings.
3574
3575 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
3576
3577         * message.el (message-tool-bar-gnome): Tweak tool-bar items.
3578         Add :vert-only tags.
3579         (message-mail): New arg RETURN-ACTION.
3580         (message-return-action): New var.
3581         (message-bury): Use it.
3582         (message-mode): Make it buffer-local.
3583         (message-send-and-exit): Always call message-bury.
3584
3585         * gnus-msg.el (gnus-msg-mail): New arg RETURN-ACTION.  Pass it to
3586         message-mail.
3587
3588 2011-01-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3589
3590         * nnimap.el (nnimap-convert-partial-article): Protect against
3591         zero-length body parts.
3592
3593         * mm-decode.el (mm-preferred-alternative-precedence):
3594         Discourage showing empty parts.
3595
3596         * gnus-int.el (gnus-request-accept-article): Don't try to update marks
3597         and stuff if the backend didn't return the article number.  This fixes
3598         an Exchange-related nnimap bug.
3599
3600         * gnus-sum.el (gnus-summary-next-article): Remove hack to reselect
3601         group window, because it does the wrong thing when a separate frame
3602         displays the group buffer.
3603
3604         * proto-stream.el (open-protocol-stream): Protect against the low-level
3605         transport functions returning nil.
3606
3607 2011-01-07  Daiki Ueno  <ueno@unixuser.org>
3608
3609         * mml2015.el (epg-sub-key-fingerprint): Autoload.
3610         (mml2015-epg-find-usable-secret-key): New function.
3611         (mml2015-epg-sign): Use mml2015-epg-find-usable-secret-key instead of
3612         mml2015-epg-find-usable-key (Bug#7797).
3613         (mml2015-epg-encrypt): Ditto.
3614
3615 2011-01-05  Katsumi Yamaoka  <yamaoka@jpl.org>
3616
3617         * dgnushack.el (rot13-string): Fix the way to get the argument.
3618
3619 2011-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3620
3621         * flow-fill.el (fill-flowed-encode): Do encoding citation-aware.
3622
3623 2011-01-03  Glenn Morris  <rgm@gnu.org>
3624
3625         * sieve-manage.el (sieve-manage-open): Correctly set sieve-manage-port.
3626
3627         * sieve.el (sieve-open-server): Give a more explicit error if
3628         sieve-manage-open returns nil.  (Bug#7720)
3629
3630 2011-01-02  Karl Fogel  <kfogel@red-bean.com>
3631
3632         * gnus-msg.el (gnus-message-replyencrypt): Default to `t'.
3633
3634 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3635
3636         * nnimap.el (nnimap-login): Prefer AUTH=CRAM-MD5, if it's available.
3637         This avoids sending passwords in plain text over non-encrypted
3638         channels.
3639
3640         * shr.el (shr-rescale-image): Display all GIF images as animated images.
3641
3642         * nnimap.el (nnimap-login): Refactored out into own function, and
3643         implement CRAM-MD5.
3644         (nnimap-wait-for-line): Refactored out.
3645
3646         * mm-view.el (mml-smime): Require.
3647
3648 2010-12-20  David Engster  <deng@eml.cc>
3649
3650         * mm-view.el (mm-view-pkcs7-decrypt): If mml-smime-use is set to 'epg,
3651         use EPG to decrypt S/MIME messages instead of openssl.
3652
3653 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3654
3655         * nnimap.el (nnimap-request-group): Avoid double SELECT on `M-g'.
3656
3657         * gnus-group.el (gnus-group-kill-group): Don't try to update the group
3658         status is the group clearly is unreachable.
3659
3660         * auth-source.el (auth-source-create): Add the optional second
3661         parameter to `local-variable-p' to be compatible with XEmacs.
3662
3663 2011-01-02  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
3664
3665         * nnml.el (nnml-request-article): Allow requesting by Message-ID to
3666         work when using a compressed nnml folder.
3667
3668 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3669
3670         * gnus-sum.el (gnus-select-newsgroup): Don't propagate marks to
3671         backends after sanitising on entry, because this never makes sense:
3672         If the articles have gone missing, then the data no longer exists on
3673         the backend, and if they haven't, then Gnus is wrong, and shouldn't
3674         overwrite anything anyway.
3675
3676         * shr.el (shr-insert-document): Bind shr-width dynamically to
3677         window-width if it's nil.
3678
3679 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3680
3681         * shr.el (shr-width, shr-insert-document): Allow nil as shr-width value
3682         with the meaning of using the full emacs window width for rendering.
3683
3684 2010-12-27  Daiki Ueno  <ueno@unixuser.org>
3685
3686         * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Take care the
3687         case when sender is not given.
3688
3689 2010-12-23  Julien Danjou  <julien@danjou.info>
3690
3691         * gnus-gravatar.el (gnus-gravatar-transform-address): Set
3692         `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting
3693         the addresses, otherwise we might misplaced the gravatar.
3694
3695 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
3696
3697         * mml1991.el (pgg-sign-region, pgg-encrypt-region):
3698         * gnus-art.el (pgg-snarf-keys-region): Autoload since PGG is now
3699         obsolete in Emacs.
3700
3701 2010-12-20  Julien Danjou  <julien@danjou.info>
3702
3703         * gnus-util.el (gnus-rescale-image): Revert last change.
3704
3705 2010-12-17  Chong Yidong  <cyd@stupidchicken.com>
3706
3707         * binhex.el: Improve commentary (Bug#7482).
3708
3709 2010-12-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3710
3711         * gnus-group.el (gnus-group-delete-articles): New command.
3712
3713 2010-12-17  Andrew Cohen  <cohen@andy.bu.edu>
3714
3715         * nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
3716
3717 2010-12-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3718
3719         * gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change
3720         here, since it's up to the backends to do CRLF removal if their
3721         protocol has it.
3722
3723         * nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
3724
3725 2010-12-17  Julien Danjou  <julien@danjou.info>
3726
3727         * gnus-util.el (gnus-rescale-image): Allow to resize images even if
3728         they are from file.  Can also scale up.
3729
3730 2010-12-17  Andrew Cohen  <cohen@andy.bu.edu>
3731
3732         * gnus-sum.el (gnus-summary-refer-thread): Simplify code.
3733         Restore gnus-use-agent.
3734         (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
3735
3736         * nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
3737
3738 2010-12-17  Julien Danjou  <julien@danjou.info>
3739
3740         * gravatar.el (gravatar-retrieve-synchronously): New function.
3741         (gravatar-get-data): Make more robust.
3742
3743 2010-12-16  Katsumi Yamaoka  <yamaoka@jpl.org>
3744
3745         * lpath.el: Bind epa-file-encrypt-to for Emacs 22 and XEmacs.
3746
3747 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3748
3749         * nnimap.el (nnimap-wait-for-response): Fix the end-point calculation
3750         to really consider the last line.
3751
3752 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
3753
3754         * auth-source.el (auth-source-gpg-encrypt-to): New variable to set the
3755         list of recipient keys, or use symmetric encryption if not a list.
3756         (auth-source-create): Use it to make `epa-file-encrypt-to' local for an
3757         EPA override, replacing the call to `netrc-store-data'.
3758
3759 2010-12-16  Dan Davison  <dandavison7@gmail.com>  (tiny change)
3760
3761         * gnus-srvr.el: Avoid passing nil regexp argument to
3762         delete-matching-lines.
3763
3764 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3765
3766         * gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML
3767         fetching stops when Gnus exits.
3768
3769         * nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own
3770         function.
3771         (nnfolder-request-expire-articles): Save all the buffers after doing
3772         expiry.
3773
3774         * nnmail.el (nnmail-expiry-target-group): Revert the "all articles are
3775         the last article", since that led to serious performance regressions
3776         when expiring nnml groups.
3777
3778 2010-12-16  Andrew Cohen  <cohen@andy.bu.edu>
3779
3780         * nnir.el: Improve customizations.
3781
3782 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3783
3784         * gnus-start.el (gnus-subscribe-newsgroup): Notify the backend.
3785
3786         * gnus-group.el (gnus-group-kill-group): Notify the backend that the
3787         group has been killed.
3788         (gnus-group-yank-group): Ditto.
3789
3790         * gnus-srvr.el (gnus-browse-unsubscribe-group): Ditto.
3791
3792         * nnimap.el (nnimap-request-update-group-status): New function.
3793
3794         * gnus-int.el (gnus-request-update-group-status): New interface
3795         function.
3796
3797         * gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for
3798         copying read-ness to the backends.
3799
3800         * nnimap.el (nnimap-quirk): New function.
3801         (nnimap-retrieve-group-data-early): Use it.
3802         (nnimap-quirks): New alist.
3803
3804 2010-12-16  Katsumi Yamaoka  <yamaoka@jpl.org>
3805
3806         * shr.el (shr-insert): Set shr-start after deleting trailing space;
3807         don't delete it within indentation.
3808
3809 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3810
3811         * nnimap.el (nnimap-wait-for-response): Always look (at least) at the
3812         previous line.
3813
3814 2010-12-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3815
3816         * nnimap.el (nnimap-retrieve-group-data-early): Fix the syntax of the
3817         QRESYNC command by deleting a superfluous space which broke Cyrus
3818         servers.  This change will break other servers that are buggy the other
3819         way around.
3820
3821 2010-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
3822
3823         * spam.el: Reindent and fix long lines.
3824         (spam-copy-or-move-routine): Exclude invalid move destinations.
3825
3826 2010-12-14  Andrew Cohen  <cohen@andy.bu.edu>
3827
3828         * nnir.el (nnir-mode): Don't install registry hooks if user hasn't
3829         installed the registry.
3830
3831 2010-12-14  Katsumi Yamaoka  <yamaoka@jpl.org>
3832
3833         * dgnushack.el (rot13-string): New macro for XEmacs.  netrc.el uses it.
3834
3835 2010-12-13  Andrew Cohen  <cohen@andy.bu.edu>
3836
3837         * nnir.el (nnir-run-gmane): Better check for gmane groups: error out if
3838         groupname doesn't contain "gmane".
3839
3840 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3841
3842         * netrc.el (netrc-point-at-eol): Remove the unused netrc-point-at-old
3843         and netrc-bound-and-true-p bindings.
3844         (netrc-parse): Cache the netrc contents.
3845
3846         * gnus-start.el (gnus-matches-options-n): Fix typo in last change.
3847         (gnus-1): Don't create the nndrafts group twice.
3848         (gnus-setup-news): There's no need to read the active file here, since
3849         that's done again later on a per-backend basis.
3850         (gnus-start-draft-setup): Make sure that the new group is started out
3851         empty.
3852
3853         * gnus-agent.el (gnus-agentize): Don't create the queue group
3854         automatically on startup.  It'll be created later, if needed.
3855
3856         * gnus-start.el (gnus-auto-subscribed-groups): Add nnimap to the list
3857         of automatically subscribed groups.
3858         (gnus-auto-subscribed-categories): New variable.
3859         (gnus-matches-options-n): Use it.
3860         (gnus-default-subscribed-newsgroups): Remove unused variable.
3861         (gnus-start-draft-setup): Message a bit less.
3862
3863 2010-12-13  Andrew Cohen  <cohen@andy.bu.edu>
3864
3865         * nnir.el (nnir-run-imap): Return article list in order of increasing
3866         UID.
3867
3868 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3869
3870         * gnus-sum.el (gnus-summary-enter-digest-group):
3871         Mention gnus-auto-select-on-ephemeral-exit.
3872
3873         * proto-stream.el (proto-stream-open-network-only): Fix the calling
3874         convention of the network-only option.
3875
3876 2010-12-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3877
3878         * proto-stream.el (proto-stream-open-network-only): New function to
3879         have a way to specify non-STARTTLS upgrade connections.
3880
3881 2010-12-10  Julien Danjou  <julien@danjou.info>
3882
3883         * gnus-gravatar.el (gnus-gravatar-transform-address): Fix error when
3884         email address is nil.
3885
3886         * message.el (message-bogus-recipient-p): Set address to "" if nil.
3887
3888 2010-12-10  Andrew Cohen  <cohen@andy.bu.edu>
3889
3890         * nnir.el (nnir-request-expire-articles): Ignore expiry except for
3891         deletion.
3892         (nnir-run-imap): Only need to parse list once.
3893
3894 2010-12-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3895
3896         * shr.el (shr-tag-script): Ignore <script>.
3897         (shr-tag-label): Add <label> support.
3898
3899 2010-12-09  Katsumi Yamaoka  <yamaoka@jpl.org>
3900
3901         * mm-util.el (mm-ucs-to-char): Use eval-and-compile.
3902
3903         * shr.el (shr-image-displayer): Work for images lined side by side.
3904
3905 2010-12-08  Robert Pluim  <rpluim@gmail.com>
3906
3907         * gnus-demon.el (gnus-demon-init): Call run-with-timer with an integer
3908         parameter, since XEmacs doesn't accept t as a parameter.
3909
3910 2010-12-08  Andrew Cohen  <cohen@andy.bu.edu>
3911
3912         * nnir.el (nnir-retrieve-headers): Use rassq when comparing article
3913         ids.
3914         (nnir-run-gmane): Simplify groupspec formatting.
3915         (nnir-request-expire-articles): New function.
3916
3917 2010-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3918
3919         * nnimap.el (nnimap-parse-flags): Tweak VANISHED regexp to avoid regexp
3920         overflow, possibly.
3921
3922         * shr.el (shr-tag-table-1): Use bg/gfcolor specs on tables.
3923         (shr-render-td): Handle td style="" better.
3924         (shr-tag-table): Use the color from the style sheet.
3925         (shr-render-td): Make sure we copy over all the overlays, too.
3926
3927 2010-12-07  Andrew Cohen  <cohen@andy.bu.edu>
3928
3929         * nnir.el (nnir-run-gmane): Restore sub-optimal test for gmane server.
3930         (nnir-request-article): Improve article retrieval.
3931
3932 2010-12-07  Katsumi Yamaoka  <yamaoka@jpl.org>
3933
3934         * mm-util.el (mm-extra-numeric-entities): New variable.
3935
3936         * mm-url.el (mm-url-decode-entities):
3937         * mm-decode.el (mm-shr): Use it to decode extra numeric entities.
3938
3939         * lpath.el: Fbind completion-at-point for Emacs 22 and XEmacs.
3940
3941 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3942
3943         * message.el: Use completion-at-point.
3944         (message-completion-function): New fun, extracted from message-tab.
3945         (message-mode): Use it for completion-at-point-functions.
3946         (message-tab): Use it and completion-at-point.
3947
3948 2010-12-07  Katsumi Yamaoka  <yamaoka@jpl.org>
3949
3950         * shr.el (shr-find-fill-point): Don't break a line after a kinsoku-bol
3951         character if a non-breakable character follows.
3952
3953 2010-12-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3954
3955         * proto-stream.el (proto-stream-open-tls): Return nil if we don't get
3956         any stream.
3957
3958         * shr.el (shr-tag-font): Colorize the region.
3959         (shr-tag-body): Ditto.
3960         (shr-tag-font): Actually let the styles be inherited instead of
3961         overwriting them.
3962         (shr-tag-font): Get the background color right.
3963         (shr-tag-style): Ignore all <style> tags for the moment.
3964
3965         * gnus-int.el (gnus-request-thread): Rework to take a header instead of
3966         a Message-ID to avoid having nnimap depend on gnus-sum.
3967
3968         * shr.el (shr-descend): Only colorize something if we have a node that
3969         sets colors.
3970
3971 2010-12-06  Julien Danjou  <julien@danjou.info>
3972
3973         * shr.el (shr-render-td): Render td content with shr-descend, so style
3974         will be applied to <td> too.
3975         (shr-colorize-region): Colorize region even if we only have a background.
3976         (shr-tag-body): Fix color and background color inheritance.
3977         Do not recolorize after shr-generic.
3978         (shr-tag-font): Let shr-generic colorize via inheritance.
3979
3980 2010-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
3981
3982         * shr.el (shr-find-fill-point): Don't regard apostrophe as kinsoku-bol.
3983
3984 2010-12-06  Andrew Cohen  <cohen@andy.bu.edu>
3985
3986         * nnir.el (nnir-request-move-article): Remove obsolete code.
3987
3988 2010-12-05  Katsumi Yamaoka  <yamaoka@jpl.org>
3989
3990         * gnus-util.el (gnus-macroexpand-all): Use eval-and-compile.
3991
3992 2010-12-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3993
3994         * gnus-sum.el (gnus-summary-respool-article): The completion function
3995         expects a list instead of an alist.
3996
3997         * nntp.el (nntp-snarf-error-message): nnheader-report takes a format
3998         string as the parameter.
3999
4000         * gnus.el (gnus-valid-select-methods): Allow nnimap to respool.
4001
4002         * shr.el (shr-stylesheet): New dynamic variable for cascading the
4003         styles.
4004         (shr-colorize-region): New function.
4005         (shr-insert-background-overlay): Remove.
4006         (shr-render-td): Background setting should be taken care of on a higher
4007         level.
4008         (shr-tag-body): Use post-hoc colorizations.
4009         (shr-tag-body): Set up a style sheet based on bgcolor/fgcolor.
4010         (shr-put-color-1): Don't overwrite old colors.
4011         (shr-colorize-region): When the background color isn't explicit, use
4012         a fixed background.
4013
4014         * gnus-util.el (gnus-output-to-mail): Require nnmail before using
4015         nnmail variables.
4016
4017 2010-12-05  Bjørn Mork  <bjorn@mork.no>
4018
4019         * nnimap.el (nnimap-process-expiry-targets): Avoid downloading articles
4020         unless necessary.
4021
4022 2010-12-05  Andrew Cohen  <cohen@andy.bu.edu>
4023
4024         * nnir.el (nnir-run-gmane): Use more careful test for gmane nntp
4025         server.
4026
4027 2010-12-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4028
4029         * gnus-html.el (gnus-html-put-image): Use widget instead of local maps
4030         so that TAB works.
4031
4032         * gnus-sum.el (gnus-summary-show-article): Reverse the meanings of `C-u
4033         C-u g' and `C-u g' so that `C-u g' does what it traditionally did.
4034
4035         * shr.el (shr-urlify): Show the URL before the title to avoid
4036         misleading URLs.
4037
4038 2010-12-04  Adam Sjøgren  <asjo@koldfront.dk>
4039
4040         * shr.el (shr-urlify): Display the title in <a> tags.
4041
4042 2010-12-04  Andrew Cohen  <cohen@andy.bu.edu>
4043
4044         * nnir.el (nnir-categorize): Replace mapcar with mapc.
4045
4046 2010-12-03  Andrew Cohen  <cohen@andy.bu.edu>
4047
4048         * nnir.el: Rearrange code to allow macros to be autoloaded by
4049         gnus-sum.el.
4050         (nnir-retrieve-headers-override-function): Make this variable
4051         customizable.
4052         (nnir-retrieve-headers): Remove obsolete subject-mangling code.
4053
4054         * gnus-sum.el (nnir-article-group,nnir-article-rsv): Autoload macros
4055         from nnir.el.
4056
4057 2010-12-03  Julien Danjou  <julien@danjou.info>
4058
4059         * gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.
4060
4061 2010-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
4062
4063         * gnus-util.el (gnus-macroexpand-all): Don't modify argument;
4064         allow optional argument `environment'.
4065
4066 2010-12-03  Glenn Morris  <rgm@gnu.org>
4067
4068         * mm-extern.el (message-goto-body): Update declaration.
4069
4070 2010-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
4071
4072         * gnus-util.el (gnus-macroexpand-all): New function.
4073
4074         * gnus-sum.el (gnus-summary-line-format-alist): Use gnus-macroexpand-all
4075         instead of macroexpand-all that is unavailable in XEmacs.
4076
4077 2010-12-02  Andrew Cohen  <cohen@andy.bu.edu>
4078
4079         * nnir.el (nnir-summary-line-format): New variable.
4080         (nnir-mode): Use it.
4081         (nnir-artlist-*,nnir-aritem-*): Reimplement as macros.
4082         (nnir-article-ids): Reimplement as defsubst.
4083         (nnir-retrieve-headers): Don't mangle the subject header.
4084         (nnir-run-imap): Use 100 as RSV score.
4085         (nnir-run-find-grep): Fix for full server searching.
4086         (nnir-run-gmane): Better restriction to gmane groups.
4087
4088         * gnus-sum.el (gnus-summary-line-format-alist): Add specs for nnir
4089         summary buffers.
4090
4091 2010-12-02  Julien Danjou  <julien@danjou.info>
4092
4093         * gnus-win.el (gnus-configure-frame): Remove old compatibility code.
4094
4095         * gnus-msg.el: Mark gnus-outgoing-message-group as obsolete.
4096
4097         * gnus-win.el (gnus-configure-windows): Remove Gnus 3.x setting
4098         support.
4099
4100 2010-12-01  Andrew Cohen  <cohen@andy.bu.edu>
4101
4102         * nnir.el: Update to handle the registry better.
4103         (autoload): Silence byte-compiler.
4104         (nnir-open-server): Add a hook for nnir groups.
4105         (nnir-request-move-article): Don't mangle the header.  Better to use
4106         formatting variables (which will be added in the future).
4107         (nnir-registry-action): Update the registry using the original article
4108         group name.
4109         (nnir-mode): Install nnir-specific hooks for updating the registry.
4110
4111         * gnus-sum.el
4112         (gnus-article-original-subject,gnus-newsgroup-original-name):
4113         Remove obsolete variables.
4114         (gnus-summary-move-article): Remove use of obsolete variables.
4115         (gnus-summary-local-variables): Make move and delete hooks local to
4116         summary buffers.
4117
4118 2010-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4119
4120         * rtree.el: New file.
4121
4122 2010-12-01  Julien Danjou  <julien@danjou.info>
4123
4124         * message.el (message-user-organization): Do not use
4125         gnus-local-organization.
4126
4127         * gnus.el: Remove gnus-local-organization.
4128
4129         * gnus-msg.el: Remove nastygram thing.
4130
4131 2010-12-01  Teodor Zlatanov  <tzz@lifelogs.com>
4132
4133         * nnmaildir.el (nnmaildir-request-set-mark): Add article to add-mark
4134         funcall.
4135
4136 2010-12-01  Katsumi Yamaoka  <yamaoka@jpl.org>
4137
4138         * gnus-gravatar.el (gnus-gravatar-insert): Allow LWSP in the middle of
4139         names.
4140
4141         * shr.el (shr-find-fill-point): Don't break line between kinsoku-bol
4142         characters.
4143
4144         * gnus-gravatar.el (gnus-gravatar-insert): Delete unnecessary binding
4145         to t of inhibit-read-only since it is inside gnus-with-article-headers.
4146         Suggested by Štěpán Němec <stepnem@gmail.com>.
4147         (gnus-gravatar-transform-address): Use mail-extract-address-components
4148         that supports non-ASCII names rather than mail-header-parse-addresses.
4149
4150 2010-11-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4151
4152         * proto-stream.el (open-protocol-stream): All starttls connections are
4153         handled by the network handler.
4154
4155 2010-11-30  Julien Danjou  <julien@danjou.info>
4156
4157         * nnimap.el (nnimap-open-connection-1): Use gnus-string-match-p.
4158         (nnimap-open-connection-1): Fix PREAUTH.
4159
4160         * gnus-gravatar.el (gnus-gravatar-size): Set gnus-gravatar-size to nil.
4161
4162 2010-11-30  Katsumi Yamaoka  <yamaoka@jpl.org>
4163
4164         * shr.el (shr-char-breakable-p, shr-char-nospace-p)
4165         (shr-char-kinsoku-bol-p, shr-char-kinsoku-eol-p): New macros.
4166         (shr-insert): Use them.
4167         (shr-find-fill-point): Work better for kinsoku chars and apostrophes.
4168
4169 2010-11-29  Andrew Cohen  <cohen@andy.bu.edu>
4170
4171         * nnir.el (nnir-request-move-article): Bail out if original group
4172         doesn't support article moves.
4173         (nnir-get-active): Improve active list retrieval.
4174
4175 2010-11-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4176
4177         * shr.el (shr-find-fill-point): Don't break before apostrophes.
4178
4179 2010-11-29  Binjo  <binjo.cn@gmail.com>  (tiny change)
4180
4181         * nnimap.el (nnimap-open-connection-1): w32 open-network-stream doesn't
4182         seem to accept strings-with-numbers as port numbers,
4183
4184 2010-11-29  Andrew Cohen  <cohen@andy.bu.edu>
4185
4186         * gnus-sum.el (gnus-summary-delete-article): If delete fails don't
4187         change the registry.
4188
4189 2010-11-29  Katsumi Yamaoka  <yamaoka@jpl.org>
4190
4191         * nnir.el (nnir-run-gmane): Use mm-delete-duplicates instead of
4192         delete-dups that is not available in XEmacs 21.4.
4193
4194         * mm-util.el (mm-delete-duplicates): Add comment.
4195
4196 2010-11-28  Andrew Cohen  <cohen@andy.bu.edu>
4197
4198         * nnir.el (nnir-ignored-newsgroups): New variable.
4199         (nnir-get-active): Use it.
4200
4201 2010-11-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4202
4203         * proto-stream.el (proto-stream-open-network): Add some comments.
4204
4205         * nntp.el (nntp-open-connection): Provide a :success condition.
4206
4207         * nnimap.el (nnimap-open-connection-1): Ditto.
4208
4209         * proto-stream.el (proto-stream-open-network): See what the response to
4210         the STARTTLS command is.
4211
4212         * nnimap.el (nnimap-open-connection-1): Always upgrade to STARTTLS (for
4213         backwards compatibility).
4214         (nnimap-open-connection-1): Really respect nnimap-server-port.
4215
4216         * proto-stream.el (proto-stream-open-network): When doing opportunistic
4217         TLS upgrades we don't really care about the identity of the peer.
4218         (proto-stream-open-network): Force starttls.el to use gnutls-cli, since
4219         that what we've checked for.
4220         (proto-stream-always-use-starttls): Only default to t if
4221         open-gnutls-stream exists.
4222         (proto-stream-open-network): If STARTTLS failed, then just open a
4223         normal connection.
4224         (proto-stream-open-network): Wait until the greeting before doing
4225         STARTTLS.
4226
4227         * nntp.el (nntp-open-connection): Report what the connection error is.
4228
4229         * proto-stream.el (open-protocol-stream): Rename from
4230         open-proto-stream.
4231
4232 2010-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4233
4234         * nnimap.el (nnimap-stream): Change default to `undecided'.
4235         (nnimap-open-connection): If `nnimap-stream' is `undecided', try ssl
4236         first, and then network.
4237         (nnimap-open-connection-1): Respect nnimap-server-port.
4238         (nnimap-open-connection): Be more backwards-compatible.
4239
4240         * proto-stream.el (proto-stream-always-use-starttls): New variable.
4241         (proto-stream-open-starttls): De-duplicate the starttls code.
4242         (proto-stream-open-starttls): Folded back into the main function.
4243         (proto-stream-open-network): Fix typo in the gnutls path.
4244         (proto-stream-command): Refactor out.
4245
4246         * nntp.el (nntp-open-connection): Fix the STARTTLS command syntax.
4247
4248         * proto-stream.el (proto-stream-open-starttls): Actually implement the
4249         starttls.el STARTTLS.
4250
4251         * color.el (color-lab->srgb): Fix function call name.
4252
4253         * proto-stream.el (proto-stream-open-tls): Delete output from openssl
4254         if we're using tls.el.
4255         (proto-stream-open-network): If we don't have gnutls-cli or gnutls
4256         built in, then don't try to establish a STARTTLS connection.
4257
4258         * nntp.el (nntp-open-connection): Switch on STARTTLS on supported
4259         servers.
4260
4261         * proto-stream.el (open-proto-stream): Use network, not stream.
4262         (open-proto-stream): Add a way to specify what the end of a command is.
4263
4264         * nntp.el (nntp-open-connection): Use proto-streams for the relevant
4265         connections types.
4266         (nntp-open-network-stream): Remove.
4267         (nntp-open-ssl-stream): Remove.
4268         (nntp-open-tls-stream): Remove.
4269         (nntp-ssl-program): Remove.
4270
4271         * nnimap.el (nnimap-open-connection): Check for "OK" from the greeting.
4272
4273 2010-11-27  Andrew Cohen  <cohen@andy.bu.edu>
4274
4275         * nnir.el: Fix typos.
4276         (nnir-retrieve-headers-override-function): Rename variable to reflect
4277         new semantics.
4278         (nnir-article-group, nnir-article-number, nnir-article-rsv): New helper
4279         macros.
4280         (nnir-request-article, nnir-request-move-article): Use them.
4281         (nnir-categorize): New function.
4282         (nnir-run-query): Use it.
4283         (nnir-retrieve-headers): Rewrite to batch header retrieval.
4284         (nnir-run-gmane): nnir-retrieve-headers now returns the headers already
4285         sorted.
4286         (nnir-group-full-name): Use gnus-group-full-name instead.
4287         (nnir-artlist-artitem-group, nnir-artlist-artitem-number)
4288         (nnir-artlist-artitem-rsv, nnir-sort-groups-by-server): Obsolete.
4289
4290 2010-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4291
4292         * nnimap.el (nnimap-open-connection): Fix typo in STARTTLS command.
4293
4294         * proto-stream.el: New library to provide protocol-specific
4295         TLS/STARTTLS connections for IMAP, NNTP, SMTP, POP3 and similar
4296         protocols.
4297         (open-proto-stream): Complete the documentation.
4298         (proto-stream-open-network): Fix some typos.
4299
4300         * nnimap.el (nnimap-open-connection): Use it.
4301
4302 2010-11-27  Yuri Karaban  <tech@askold.net>  (tiny change)
4303
4304         * pop3.el (pop3-open-server): Read server greeting before starting TLS
4305         negotiation.
4306
4307 2010-11-26  Julien Danjou  <julien@danjou.info>
4308
4309         * color.el: Rename various rgb functions to srgb.
4310
4311 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4312
4313         * nnimap.el (nnimap-get-groups): Allow non-quoted strings as mailbox
4314         names.
4315
4316 2010-11-26  Katsumi Yamaoka  <yamaoka@jpl.org>
4317
4318         * shr.el (shr-insert): Revert last change.
4319         (shr-find-fill-point): Never leave point being at bol;
4320         relax the kinsoku limitation when rendering tables.
4321
4322 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4323
4324         * nnmail.el (nnmail-expiry-target-group): Protect against degenerate
4325         results from -accept-article.
4326
4327         * shr-color.el: Require cl when compiling.
4328
4329         * nnheader.el (nnheader-update-marks-actions): Fix typo in last
4330         checkin.
4331
4332         * gnus-art.el (gnus-url-mailto): Unfold URLs before using them.
4333
4334         * nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
4335
4336         * gnus-sum.el (gnus-summary-push-marks-to-backend): Use 'set instead of
4337         'add and 'delete to set backend marks.
4338
4339         * nnmaildir.el (nnmaildir-request-set-mark): Be explicit about 'set.
4340
4341         * nnheader.el (nnheader-update-marks-actions): Refactor out.
4342
4343         * nntp.el (nntp-request-set-mark): Use it.
4344
4345         * nnfolder.el (nnfolder-request-set-mark): Ditto.
4346
4347         * nnml.el (nnml-request-set-mark): Ditto.
4348
4349         * nnimap.el (nnimap-last-response-string): Remove the unfolding -- it
4350         introduces regressions in article selection.
4351         (nnimap-find-uid-response): New function.
4352         (nnimap-request-accept-article): Use the UID returned, if any.
4353         (nnimap-request-move-article): Use the UID returned, if any.
4354         (nnimap-get-groups): Reimplement to work with folded lines.
4355         (nnimap-find-uid-response): The UID is the last element in the list.
4356         (nnimap-request-set-mark): Extend syntax with 'set.
4357
4358         * nnml.el (nnml-request-set-mark): Ditto.
4359
4360         * nnfolder.el (nnfolder-request-set-mark): Ditto.
4361
4362         * nntp.el (nntp-request-set-mark): Ditto.
4363
4364 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
4365
4366         * message.el (message-called-interactively-p): A temporary macro.
4367         (message-goto-body): Use it temporarily.
4368
4369 2010-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4370
4371         * nnimap.el (nnimap-unfold-quoted-lines): Refactor out.
4372         (nnimap-last-response-string): Unfold quoted lines, if they exist.
4373         (nnimap-last-response-string): Fix last unfolding fix.
4374
4375 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
4376
4377         * shr.el (shr-insert): Fix the way to fold lines.
4378
4379 2010-11-25  Julien Danjou  <julien@danjou.info>
4380
4381         * shr-color.el (shr-color->hexadecimal): Use color-rgb->hex
4382
4383         * color.el: Rename from color-lab.el
4384         (color-rgb->hex): Add.
4385         (color-complement): Add.
4386         (color-complement-hex): Add.
4387
4388         * gnus-sum.el (gnus-summary-widget-forward): Add, and bind to [tab].
4389
4390 2010-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4391
4392         * shr-color.el (shr-color-visible): Don't bug out if the color names
4393         don't exist.
4394
4395 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
4396
4397         * mml.el (mml-preview): Make sure to bind gnus-displaying-mime to nil,
4398         assuming that article displaying or another mml-preview may be
4399         interrupted for an error or for the like.
4400
4401         * shr.el (shr-get-background): Fix argument name.
4402
4403 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4404
4405         * gnus-cache.el (gnus-summary-insert-cached-articles): Use it.
4406
4407         * gnus-sum.el (gnus-summary-include-articles): New function.
4408
4409         * message.el (message-goto-body): called-interactively-p needs a
4410         parameter, so use `any'.
4411
4412         * nnimap.el (nnimap-request-move-article): It's no longer necessary to
4413         clear marks before moving, since they're synced from the Gnus side
4414         first.
4415
4416         * gnus-sum.el (gnus-summary-push-marks-to-backend): New function.
4417         (gnus-summary-move-article): Copy over all marks before moving, so that
4418         IMAP doesn't think a new article has arrived.
4419
4420 2010-11-24  Julien Danjou  <julien@danjou.info>
4421
4422         * shr.el (shr-insert-background-overlay): Fix typo.
4423         (shr-render-td): Copy the background before rendering.
4424
4425         * shr-color.el (shr-color-visible): Fix docstring.
4426
4427         * shr.el (shr-tag-table): Add bgcolor support.
4428         (shr-render-td): Add bgcolor support.
4429         (shr-get-background): Add.
4430         (shr-insert-foreground-overlay): Use shr-get-background.
4431
4432         * message.el (message-goto-body): Use called-interactively-p.
4433         (message-in-body-p): message-goto-body returns point.
4434
4435 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4436
4437         * mm-util.el (mm-enable-multibyte): Use `to' instead of t.  This fixes
4438         Fixes something or other in Emacs 23, and is backwards compatible.
4439
4440         * message.el (message-goto-body): Remove the <#secure special-casing,
4441         which is too special.
4442
4443         * shr.el (shr-parse-style): Drop !important from styles.
4444
4445 2010-11-24  Daniel Schoepe  <daniel.schoepe@googlemail.com>  (tiny change)
4446
4447         * gnus-sum.el (gnus-summary-articles-in-thread): Fix a bug that causes
4448         this function to return incorrect results when calling it with an
4449         explicit article argument different from
4450         (gnus-summary-article-number).
4451
4452 2010-11-24  Julien Danjou  <julien@danjou.info>
4453
4454         * shr.el (shr-insert-color-overlay): Replace deprecated syntax.
4455         (shr-tag-body): Add background support.
4456         (shr-descend): Add background support.
4457         (shr-tag-title): Add.
4458
4459         * shr-color.el (shr-color-visible): Really return original background
4460         if fixed.
4461
4462 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4463
4464         * shr.el (shr-color-check): Protect against non-existent color names.
4465
4466 2010-11-24  Julien Danjou  <julien@danjou.info>
4467
4468         * color-lab.el: Require 'cl when compiling.
4469
4470         * shr.el (shr-insert-color-overlay): Remove specific rgb() check.
4471
4472         * shr-color.el (shr-color->hexadecimal): Only return the hexadecimal
4473         matched part.
4474
4475         * color-lab.el: Fix all expt calls to use float type.
4476
4477 2010-11-24  Katsumi Yamaoka  <yamaoka@jpl.org>
4478
4479         * shr.el (shr-insert-color-overlay): Pass rgb(rrr, ggg, bbb) type color
4480         expression to shr-color-check as is.
4481
4482         * shr-color.el (shr-color->hexadecimal): Ignore case of color names.
4483
4484         * color-lab.el: Add coding cookie.
4485         (float-pi): Use eval-and-compile.
4486
4487         * dgnushack.el (dgnushack-compile): Exclude shr-color.el from being
4488         compiled for Emacsen having no `libxml-parse-html-region' support.
4489
4490 2010-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4491
4492         * shr.el (shr-insert-color-overlay): Split stuff like
4493         "#444444 !important" to find the real color.
4494         (shr-tag-font): Resurrect shr-tag-font again, since it's needed to
4495         parse <font color="red"> entries.
4496
4497 2010-11-23  Andrew Cohen  <cohen@andy.bu.edu>
4498
4499         * nnheader.el (nnheader-parse-head): Bug fix.  Properly position
4500         point when parsing headers.
4501
4502         * nnspool.el (nnspool-insert-nov-head): Bug fix.  Make sure point
4503         is positioned properly when parsing headers.
4504
4505 2010-11-23  Julien Danjou  <julien@danjou.info>
4506
4507         * color-lab.el (boundp): Bind float-pi for Emacs < 23.3.
4508
4509         * shr-color.el (shr-color->hexadecimal): Add support for color names.
4510
4511         * shr.el (shr-parse-style): Replace \n with space in style parsing.
4512
4513         * shr-color.el (shr-color-hsl-to-rgb-fractions):
4514         Use shr-color-hue-to-rgb.
4515         (shr-color->hexadecimal): Call shr-color-hsl-to-rgb-fractions.
4516
4517 2010-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4518
4519         * shr.el (shr-color->hexadecimal): Autoload.
4520         (shr-descend): Add color to all tags.
4521
4522 2010-11-22  Julien Danjou  <julien@danjou.info>
4523
4524         * shr.el (shr-tag-color-check): Convert colors to hexadecimal with
4525         shr-color->hexadecimal.
4526
4527         * shr-color.el (shr-color->hexadecimal): Add converting functions for
4528         RGB() or HSL() color representation.
4529
4530         * shr.el (shr-tag-font): Add.
4531         (shr-tag-color-check): New function to get better colors.
4532         (shr-tag-insert-color-overlay): Factorize code between tag-font and
4533         tag-span.
4534
4535         * shr-color.el: New file.
4536
4537         * color-lab.el: New file.
4538
4539         * gnus-art.el (gnus-url-mailto): Do not downcase args.
4540
4541 2010-11-21  Andrew Cohen  <cohen@andy.bu.edu>
4542
4543         * nnir.el: Fix typo in comments.
4544         (nnir-run-imap): Simplify code.  No need to reverse artlist.
4545         (nnir-run-gmane): Use nnir-tmp-buffer for web results.
4546
4547 2010-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4548
4549         * gnus-srvr.el (gnus-server-show-server): New command and keystroke.
4550
4551         * nnimap.el (nnimap-get-capabilities): Refactor out.
4552         (nnimap-open-connection): Re-request capabilities after STARTTLS.
4553
4554 2010-11-21  Ralf Angeli  <angeli@caeruleus.net>
4555
4556         * mm-uu.el (mm-uu-type-alist): Prevent spurious empty line from
4557         appearing when `mm-uu-hide-markers' is nil.
4558
4559 2010-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4560
4561         * nnimap.el (nnimap-unselect-group): Make into its own function.
4562         (nnimap-request-rename-group): Unselect group before renaming.
4563         This had gotten lost somewhere.
4564         (nnimap-request-accept-article): Keep track of examined groups, and
4565         unselect the group before APPENDing to read-only groups.
4566         (nnimap-request-move-article): Clear flags before moving so that they
4567         can be re-set later.
4568
4569 2010-11-20  Katsumi Yamaoka  <yamaoka@jpl.org>
4570
4571         * gnus-gravatar.el (gnus-gravatar-transform-address): Decode name again.
4572         (gnus-gravatar-insert): Put avatar always in the beginning of the field.
4573
4574 2010-11-19  Katsumi Yamaoka  <yamaoka@jpl.org>
4575
4576         * gnus-art.el (gnus-mime-display-single):
4577         * gnus-html.el (gnus-html-wash-images, gnus-html-prefetch-images):
4578         * mm-decode.el (mm-shr): Assume that gnus-inhibit-images may be a group
4579         parameter.
4580
4581 2010-11-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4582
4583         * shr.el (shr-table-horizontal-line): Rename from shr-table-line.
4584         (shr-table-vertical-line): New variable.
4585         (shr-insert-table): Use it.
4586
4587 2010-11-18  Katsumi Yamaoka  <yamaoka@jpl.org>
4588
4589         * gnus-html.el (gnus-html-wash-images): Don't display images if
4590         gnus-inhibit-images is non-nil; register displayer for cid images.
4591         (gnus-html-display-image): Work for cid image.
4592         (gnus-html-insert-image): Allow arguments.
4593         (gnus-html-put-image): Inhibit read-only.
4594         (gnus-html-prefetch-images): Don't prefetch images if
4595         gnus-inhibit-images is non-nil.
4596
4597 2010-11-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4598
4599         * shr.el (shr-put-image): Break lines when inserting big pictures.
4600
4601 2010-11-17  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
4602
4603         * mml2015.el (mml2015-epg-encrypt): Fix two cons with missing
4604         sender, thanks Katsumi Yamaoka.
4605
4606 2010-11-17  Andrew Cohen  <cohen@andy.bu.edu>
4607
4608         * nnir.el (nnir-run-imap): Reverse the article list for each group
4609         rather than the whole list.
4610
4611 2010-11-17  Katsumi Yamaoka  <yamaoka@jpl.org>
4612
4613         * shr.el (shr-image-displayer): Protect function against non-existent
4614         image source.
4615
4616         * gnus-art.el (gnus-inhibit-images): New user option.
4617         (gnus-mime-display-single): Don't display image if it is non-nil.
4618
4619         * mm-decode.el (mm-shr): Bind shr-inhibit-images to the value of
4620         gnus-inhibit-images.
4621
4622         * shr.el (shr-image-displayer): New function.
4623         (shr-tag-img): Use it.
4624
4625 2010-11-16  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
4626
4627         * mml2015.el (mml2015-epg-sign): Use From header.
4628
4629 2010-11-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4630
4631         * gnus-html.el (gnus-html-wash-images): Register a displayer.
4632
4633         * gnus-util.el (gnus-find-text-property-region): Return markers.
4634
4635         * shr.el (shr-tag-img): Put a displayer in the text property.
4636
4637         * gnus-util.el (gnus-find-text-property-region): New utility function.
4638
4639         * gnus-html.el (gnus-html-display-image): Make the alt optional.
4640         (gnus-html-show-images): Remove.
4641
4642         * gnus-art.el (gnus-article-show-images): New, more general function.
4643
4644         * gnus-html.el: Use image-url instead of gnus-image-url to unify the
4645         image url text properties.
4646
4647         * shr.el: Ditto.
4648
4649         * gnus-agent.el (gnus-agentize): Only do the auto-agentizing if
4650         gnus-agent-auto-agentize-methods is set.  Which it isn't.
4651
4652 2010-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
4653
4654         * gnus-sum.el (gnus-summary-move-article): Fix `while' loop to make it
4655         work for two or more articles.
4656
4657 2010-11-12  Katsumi Yamaoka  <yamaoka@jpl.org>
4658
4659         * gnus-art.el (article-treat-non-ascii): Keep text properties not to
4660         divide an image that's in an html article to two or more when washing
4661         non-ASCII characters in alt text of it.
4662
4663 2010-11-11  Katsumi Yamaoka  <yamaoka@jpl.org>
4664
4665         * mm-decode.el (mm-dissect-buffer): Pass sender's mail address to
4666         smime-decrypt-region using function argument.
4667         (mm-possibly-verify-or-decrypt, mm-dissect-multipart): Relay it.
4668
4669         * mm-view.el (mm-view-pkcs7, mm-view-pkcs7-decrypt): Relay it.
4670
4671         * smime.el (smime-decrypt-region): Catch it.
4672
4673 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4674
4675         * smime.el (smime-mode-map): Move initialization into declaration.
4676         (gnus-run-mode-hooks): Don't autoload.
4677         (smime-mode): Use define-derived-mode.
4678
4679 2010-11-11  Glenn Morris  <rgm@gnu.org>
4680
4681         * smime.el (from): Restrict declaration to XEmacs.
4682
4683         * nnir.el (gnus-group-topic-name): Autoload.
4684
4685 2010-11-11  Katsumi Yamaoka  <yamaoka@jpl.org>
4686
4687         * shr.el (shr-insert): Don't break long line if it is because of
4688         kinsoku-bol characters in the line end.
4689
4690 2010-11-11  Andrew Cohen  <cohen@andy.bu.edu>
4691
4692         * nnir.el (nnir-request-move-article): Fix to provide original group
4693         and subject.
4694         (nnir-warp-to-article): Don't fail on articles whose headers haven't
4695         been retrieved.
4696
4697         * gnus-sum.el (gnus-summary-move-article): Use original group and
4698         subject for virtual articles such as those in an nnir summary buffer.
4699
4700 2010-11-11  Katsumi Yamaoka  <yamaoka@jpl.org>
4701
4702         * gnus-art.el (article-treat-non-ascii): Make it work for XEmacs (at
4703         least 21.5).
4704
4705         * smime.el (from): Declare it again for XEmacs.
4706
4707 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4708
4709         * message.el (message-resend): Don't disable encoding unless it's
4710         already encoded.
4711
4712         * nnimap.el (nnimap-update-info): Fix problem with `g' chopping of
4713         low-numbered articles.
4714
4715 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4716
4717         * rfc2047.el (rfc2047-syntax-table): Simplify.
4718
4719         * lpath.el: Fbind set-char-table-range for XEmacs 21.4 and SXEmacs 22.1.
4720
4721         * gnus-art.el (article-treat-non-ascii): Use put-char-table instead of
4722         set-char-table-range for XEmacs.
4723
4724 2010-11-10  Glenn Morris  <rgm@gnu.org>
4725
4726         * time-date.el (time-to-seconds): Always an alias on Emacs,
4727         never a real function.
4728         (with-no-warnings): Remove compat stub, now unused.
4729         (time-less-p): Doc fix.
4730         (time-to-number-of-days): Simplify.
4731
4732         * smime.el (from): Remove unused declaration.
4733
4734         * gnus-util.el (with-no-warnings): Remove compat stub, now unused.
4735         (gnus-float-time): On Emacs, always an alias.
4736
4737         * ecomplete.el (with-no-warnings): Remove compat stub, now unused.
4738         (ecomplete-add-item): Use float-time on Emacs, else gnus-float-time.
4739
4740 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4741
4742         * dgnushack.el: Don't use ignore-errors in the top level form since it
4743         is unavailable in XEmacs even if cl is loaded.
4744
4745         * gnus-art.el (org-entities): Declare it to silence the byte compiler.
4746
4747 2010-11-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4748
4749         * shr.el (browse-url-mailto): Autoload.
4750
4751         * gnus-art.el (article-treat-non-ascii): New command and keystroke.
4752
4753         * message.el (message-subject-trailing-was-ask-regexp): A ] in a []
4754         regexp doesn't need quoting.
4755
4756 2010-11-09  Sven Joachim  <svenjoac@gmx.de>
4757
4758         * message.el (message-subject-trailing-was-ask-regexp)
4759         (message-subject-trailing-was-regexp): Match was: in addition to was.
4760
4761 2010-11-09  Glenn Morris  <rgm@gnu.org>
4762
4763         * nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
4764         (nnbabyl-check-mbox): Use point-at-bol.
4765
4766 2010-11-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4767
4768         * shr.el (shr-browse-url): Call browse-url-mailto for mailto: links.
4769
4770         * message.el (message-mailto): New function.
4771         (message-mailto): Should accept other parameters.
4772         (message-mailto): Remove since it duplicates browse-url-mailto
4773         functionality.
4774
4775 2010-11-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4776
4777         * gnus-start.el (gnus-get-unread-articles): Ignore totally non-existent
4778         methods.
4779         (gnus-read-active-file): Ditto.
4780
4781         * gnus-group.el (gnus-group-read-ephemeral-group): Remove superfluous
4782         ": " from the prompt.
4783         (gnus-group-make-group): Ditto.
4784
4785 2010-11-07  Glenn Morris  <rgm@gnu.org>
4786
4787         * gnus-bookmark.el (gnus-bookmark-bmenu-show-infos)
4788         (gnus-bookmark-kill-line): Use point-at-eol.
4789
4790 2010-11-07  Katsumi Yamaoka  <yamaoka@jpl.org>
4791
4792         * gnus-gravatar.el (gnus-gravatar-transform-address): No need to skip
4793         asterisks in From header.
4794
4795 2010-11-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4796
4797         * gnus-ems.el (gnus-put-image): Use a blank text as the insertion
4798         string to avoid making the From headers syntactically invalid.
4799
4800         * message.el (message-send-mail): Don't insert courtesy messages if the
4801         message already has List-Post and List-ID messages.
4802
4803 2010-11-06  Glenn Morris  <rgm@gnu.org>
4804
4805         * gnus-art.el (gnus-treat-article): Give dynamic local variables
4806         `condition', `type', `length' a prefix.
4807         (gnus-treat-predicate): Update for above name changes.
4808
4809 2010-11-06  Andrew Cohen  <cohen@andy.bu.edu>
4810
4811         * nnir.el (gnus-summary-nnir-goto-thread): Remove function and
4812         binding.  Handled by `gnus-summary-refer-thread' instead.
4813         (nnir-warp-to-article): New backend function.
4814
4815         * nnimap.el (nnimap-request-thread): Force dependency updating.
4816
4817         * gnus-sum.el (gnus-fetch-headers): Allow more arguments.
4818         (gnus-summary-refer-thread): Rework to improve thread-referral.
4819
4820         * gnus-int.el (gnus-warp-to-article): New function.
4821
4822         * gnus-sum.el (gnus-summary-article-map): Bind it.
4823
4824 2010-11-04  Andrew Cohen  <cohen@andy.bu.edu>
4825
4826         * nnir.el (gnus-summary-nnir-goto-thread): Limit work done by
4827         gnus-summary-refer-thread.
4828
4829         * gnus-sum.el (gnus-build-all-threads): Force updating of dependency
4830         headers.
4831         (gnus-summary-limit-include-thread): Prevent articles in thread from
4832         being cut in gnus-cut-threads.
4833         (gnus-summary-refer-thread): Limit retrieved headers to those in
4834         thread.
4835
4836 2010-11-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4837
4838         * message.el (message-send-mail): Use the value of
4839         message-courtesy-message from the message buffer.
4840
4841         * gnus-html.el (gnus-html-browse-url): Implement mailto: URLs.
4842
4843         * shr.el (shr-browse-url): Implement mailto: URLs.
4844
4845         * gnus-sum.el (gnus-summary-show-article): Take `t' as the arg to mean
4846         "raw".
4847
4848         * nnimap.el (nnimap-find-article-by-message-id): Don't EXAMINE a group
4849         if it's already selected.
4850
4851         * mm-decode.el (mm-save-part): Put the entire path in the `M-n' slot.
4852
4853 2010-11-04  Katsumi Yamaoka  <yamaoka@jpl.org>
4854
4855         * shr.el (shr-tag-img): Use string-width and truncate-string-to-width
4856         to measure the length and truncate alt text.
4857
4858 2010-11-03  Glenn Morris  <rgm@gnu.org>
4859
4860         * nndiary.el (nndiary-generate-nov-databases-1)
4861         (nndiary-generate-active-info): Rename dynamic variable `files' to
4862         something less generic.
4863
4864 2010-11-03  Andrew Cohen  <cohen@andy.bu.edu>
4865
4866         * nnir.el (nnir-request-move-article): Call the underlying backend to
4867         move articles from nnir.
4868
4869 2010-11-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4870
4871         * gnus-cite.el (gnus-article-natural-long-line-p): Remove.
4872
4873 2010-11-02  Julien Danjou  <julien@danjou.info>
4874
4875         * nnir.el: Remove wais support.
4876
4877 2010-11-02  Glenn Morris  <rgm@gnu.org>
4878
4879         * gnus-html.el: Reorder requirements to quieten compiler.
4880
4881 2010-11-02  Katsumi Yamaoka  <yamaoka@jpl.org>
4882
4883         * gnus-cite.el (gnus-article-fill-cited-article): Make fill work
4884         properly for XEmacs as well.
4885         (gnus-article-fill-cited-article, gnus-article-foldable-buffer)
4886         (gnus-article-natural-long-line-p): Use window-width rather than
4887         frame-width.
4888
4889 2010-11-01  Andrew Cohen  <cohen@andy.bu.edu>
4890
4891         * nnir.el (nnir-run-gmane): Inhibit demon.  Return nil if no messages.
4892         (nnir-read-parms): Don't modify query.
4893         (nnir-run-query): Add ability to search topic on current line.
4894         (nnir-get-active): Clean up.
4895
4896 2010-11-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4897
4898         * gnus-cite.el (gnus-article-foldable-buffer): Protect against
4899         degenerate articles.
4900
4901         * gnus-sum.el (gnus-print-buffer): Rewrite to use with-temp-buffer.
4902         (gnus-print-buffer): Just print the buffer as is, without any copying
4903         to a buffer and then re-highlighting.
4904
4905         * nnimap.el (nnimap-request-group): Store the new updated info.
4906         (nnimap-request-group): Select the group when we don't know whether it
4907         exists or not.
4908
4909         * gnus-start.el (gnus-ask-server-for-new-groups): Return the new
4910         groups.
4911
4912         * gnus-group.el (gnus-group-find-new-groups): Display all the new
4913         groups.
4914
4915         * gnus-start.el (gnus-find-new-newsgroups): Return the list of new
4916         groups.
4917
4918         * gnus-cite.el (gnus-article-fill-cited-article): Minimize the
4919         long-lines case by only filling the long lines.
4920
4921         * nnimap.el (nnimap-parse-line): Don't bug out oddly formed replies
4922         (bug #7311).
4923
4924 2010-11-01  Katsumi Yamaoka  <yamaoka@jpl.org>
4925
4926         * shr.el: No need to declare `declare-function' since shr.el is for
4927         only Emacsen that provide `libxml-parse-html-region'.
4928
4929         * dgnushack.el: Remove `(defvar iswitchb-temp-buflist)', that is
4930         effective only in a file it is referred to.
4931
4932 2010-11-01  Glenn Morris  <rgm@gnu.org>
4933
4934         * mm-util.el (gnus-completing-read): Autoload.
4935         (mm-read-coding-system): Simplify Emacs definition.
4936
4937         * nnmail.el (gnus-activate-group):
4938         * nnimap.el (gnutls-negotiate):
4939         * nntp.el (netrc-parse): Fix declarations.
4940
4941 2010-11-01  Katsumi Yamaoka  <yamaoka@jpl.org>
4942
4943         * gnus-util.el (gnus-string-match-p): New function, that is an alias to
4944         string-match-p in Emacs >=23.
4945
4946         * gnus-msg.el (gnus-configure-posting-styles):
4947         * nnir.el (nnir-run-gmane): Use gnus-string-match-p.
4948
4949 2010-11-01  Glenn Morris  <rgm@gnu.org>
4950
4951         * nnir.el (declare-function): Add compat stub.
4952         (mm-url-insert, mm-url-encode-www-form-urlencoded): Declare.
4953         (nnir-run-gmane): Require 'mm-url.
4954
4955         * mm-util.el (mm-string-to-multibyte): Simplify.
4956
4957         * shr.el (declare-function): Add compat stub.
4958         (url-cache-create-filename): Declare.
4959         (mm-disable-multibyte, widget-convert-button): Autoload.
4960
4961         * smime.el (ldap-search): Declare.
4962         (smime-cert-by-ldap-1): Require ldap on Emacs.
4963
4964         * nnimap.el: Require nnmail, and gnus-sum when compiling.
4965         (nnimap-keepalive): Use gnus-float-time.
4966
4967         * mail-source.el (nnheader-message, gnus-float-time): Autoload.
4968         (mail-source-delete-crash-box): Use gnus-float-time.
4969
4970         * gnus-dired.el (gnus-completing-read): Autoload.
4971
4972         * mm-view.el (gnus-rescale-image): Autoload.
4973
4974         * mm-decode.el (gnus-completing-read, gnus-blocked-images): Autoload.
4975
4976         * gnus.el (gnus-sloppily-equal-method-parameters): Move defn before use.
4977
4978         * sieve-manage.el: Require 'cl when compiling.
4979
4980         * gnus-util.el (iswitchb-read-buffer): Declare rather than autoload.
4981         (gnus-iswitchb-completing-read): Require iswitchb.
4982         (gnus-select-frame-set-input-focus): Silence compiler.
4983
4984 2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4985
4986         * message.el (message-subject-trailing-was-query): Change default to t,
4987         since I think that's what most people want.
4988
4989         * nnimap.el (nnimap-request-accept-article): Erase buffer before
4990         appending for easier debugging.
4991         (nnimap-wait-for-connection): Take a regexp.
4992         (nnimap-request-accept-article): Wait for the continuation line before
4993         sending anything unless we're streaming.
4994
4995         * gnus-art.el (gnus-treat-article): Only inhibit body washing, and
4996         leave the header washing to take place.
4997
4998 2010-10-31  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
4999
5000         * gnus-msg.el (gnus-configure-posting-styles): Permit the use of
5001         regular expression match and replace in posting styles.
5002
5003 2010-10-31  Andrew Cohen  <cohen@andy.bu.edu>
5004
5005         * nnir.el (gnus-group-make-nnir-group,nnir-run-query): Allow searching
5006         an entire server.
5007         (nnir-get-active): New function.
5008         (nnir-run-imap): Use it.
5009         (nnir-run-gmane): Who knew, gmane search returns an article score!
5010
5011         * gnus-srvr.el (gnus-server-mode-map): Add binding "G" to search the
5012         server on the current line with nnir.
5013
5014 2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5015
5016         * gnus-cite.el (gnus-article-foldable-buffer): Refactor out.
5017         (gnus-article-foldable-buffer): Don't fold regions that have a ragged
5018         left edge.
5019         (gnus-article-foldable-buffer): Skip past the prefix when determining
5020         raggedness.
5021
5022         * gnus-sum.el (gnus-summary-show-article): Add `C-u C-u g' for showing
5023         the raw article, and change `C-u g' to show the article without doing
5024         treatments.
5025
5026         * gnus-art.el (gnus-mime-display-alternative): Actually pass the type
5027         on to `gnus-treat-article'.
5028         (gnus-inhibit-article-treatments): New variable.
5029
5030         * gnus.el: Autoload gnus-article-fill-cited-long-lines.
5031
5032         * gnus-art.el (gnus-treatment-function-alist): Have
5033         gnus-treat-fill-long-lines point to gnus-article-fill-cited-long-lines.
5034         (gnus-treat-fill-long-lines): Change default to fill all text/plain
5035         sections.
5036
5037         * gnus-cite.el (gnus-article-fill-cited-article): Remove unused `force'
5038         parameter.
5039         (gnus-article-fill-cited-long-lines): New function.
5040         (gnus-article-fill-cited-article): Allow filling only long sections.
5041
5042         * shr.el (shr-find-fill-point): Don't break lines between punctuation
5043         and non-punctuation (like after the apostrophe in "'We").
5044
5045         * gnus-sum.el (gnus-summary-select-article): Make sure
5046         gnus-original-article-buffer is alive.
5047
5048         * nndoc.el (nndoc-dissect-buffer): Reverse the order of the articles to
5049         reflect the order they're in in the digest.
5050
5051         * gnus.el (gnus-group-startup-message): Move point to the start of the
5052         buffer.
5053
5054         * nnimap.el (nnimap-capability): New function.
5055         (nnimap-open-connection): Only send AUTHENTICATE PLAIN if LOGINDISABLED
5056         is set.
5057
5058 2010-10-31  David Engster  <dengste@eml.cc>
5059
5060         * nnmairix.el (nnmairix-get-valid-servers): Return list of strings to
5061         conform with changes to gnus-completing-read.
5062
5063 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5064
5065         * shr.el (shr-tag-img): Output "*" instead of "[img]".
5066
5067 2010-10-30  Andrew Cohen  <cohen@andy.bu.edu>
5068
5069         * nnir.el: Move defvar, defcustom around to keep file organized
5070         and keep byte-compiler quiet.
5071         (nnir-read-parms): Accept search-engine as arg.
5072         (nnir-run-query): Pass search-engine as arg.
5073         (nnir-search-engine): Remove.
5074
5075 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5076
5077         * shr.el (shr-generic): The text nodes should be text, not :text.
5078
5079         * nnir.el (nnir-search-engine): Ressurect variable, since it's used
5080         later in the file.
5081
5082 2010-10-30  Andrew Cohen  <cohen@andy.bu.edu>
5083
5084         * nnir.el: General clean up.  Allow searching with multiple engines.
5085         Allow separate extra-parameters for each engine.
5086         Batch queries when possible.
5087         (nnir-imap-default-search-key,nnir-method-default-engines):
5088         Add customize interface.
5089         (nnir-run-gmane): New engine.
5090         (nnir-engines): Use it.  Qualify all prompts with engine name.
5091         (nnir-search-engine): Remove global variable.
5092         (nnir-run-hyrex): Restore for now.
5093         (nnir-extra-parms,nnir-search-history): New variables.
5094         (gnus-group-make-nnir-group): Use them.
5095         (nnir-group-server): Remove in favor of gnus-group-server.
5096         (nnir-request-group): Avoid searching twice.
5097         (nnir-sort-groups-by-server): New function.
5098
5099 2010-10-30  Julien Danjou  <julien@danjou.info>
5100
5101         * gnus-group.el: Remove gnus-group-fetch-control.
5102
5103         * gnus-start.el (gnus-find-new-newsgroups):
5104         Remove gnus-check-first-time-used.
5105
5106         * gnus.el: Remove gnus-backup-default-subscribed-newsgroups.
5107
5108 2010-10-30  Knut Anders Hatlen  <kahatlen@gmail.com>  (tiny change)
5109
5110         * nnimap.el (nnimap-update-info): Allow 'ticked and other flags to be
5111         set on groups that don't have \* permanentflags.
5112
5113 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5114
5115         * shr.el (shr-tag-span): Drop colorization of regions since we don't
5116         control the background color.
5117         (shr-tag-img): Ignore very small web bug type images.
5118         (shr-put-image): Add help-echo alt texts to the images.
5119         (shr-tag-video): Show the video poster image.
5120
5121 2010-10-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5122
5123         * shr.el (shr-table-depth): New variable.
5124         (shr-tag-table-1): Only insert the images after the top-level table.
5125
5126         * nnimap.el (nnimap-split-incoming-mail): Fix typo.
5127
5128         * gnus-util.el (gnus-list-memq-of-list): New function.
5129
5130         * nnimap.el (nnimap-split-incoming-mail): Note that the INBOX has been
5131         selected.
5132         (nnimap-unsplittable-articles): New slot.
5133         (nnimap-new-articles): Use it.
5134
5135 2010-10-29  Stephen Berman  <stephen.berman@gmx.net>  (tiny change)
5136
5137         * gnus-group.el (gnus-group-get-new-news-this-group): Don't have point
5138         move to the previous line on `M-g'.
5139
5140 2010-10-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5141
5142         * gnus-msg.el (gnus-inews-do-gcc): Don't have the backends do the slow
5143         *-request-group, which seems unnecessary.
5144
5145         * nnimap.el (nnimap-quote-specials): Function copied over from
5146         imap.el.
5147         (nnimap-open-connection): Use AUTHENTICATE PLAIN on servers that say
5148         they support that.  Suggested by Tom Regner.
5149
5150 2010-10-29  Julien Danjou  <julien@danjou.info>
5151
5152         * gnus-sum.el (gnus-summary-delete-marked-as-read): Remove obsolete
5153         defalias.
5154         (gnus-summary-delete-marked-with): Remove obsolete defalias.
5155
5156         * gnus.el: Remove `gnus-nntp-service' variable.
5157         (gnus-secondary-servers): Make obsolete.
5158         (gnus-nntp-server): Make obsolete.
5159
5160         * gnus-start.el (gnus-1): Remove x-splash calls.
5161
5162         * gnus-ems.el (gnus-x-splash): Remove.
5163
5164         * gnus.el (gnus-group-startup-message): Simplify/update code.
5165
5166         * gnus-xmas.el (gnus-xmas-define): Remove unused gnus-characterp
5167         definition.
5168
5169         * gnus-group.el (gnus-group-make-tool-bar): Check for display graphic
5170         capability before doing anything.
5171         (gnus-group-insert-group-line): Remove useless
5172         gnus-group-remove-excess-properties.
5173
5174 2010-10-29  Katsumi Yamaoka  <yamaoka@jpl.org>
5175
5176         * gnus-art.el (gnus-article-goto-part): Work for article narrowed by ^L.
5177
5178 2010-10-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5179
5180         * gnus-sum.el (gnus-summary-rescan-group): Try to restore the window
5181         config after reselecting.
5182
5183 2010-10-28  Julien Danjou  <julien@danjou.info>
5184
5185         * shr.el (shr-put-image): Use point even if only inserting text.
5186         (shr-put-image): Save excursion when inserting alt text on non-graphic
5187         display, so the behavior is the same when we are on a graphic display.
5188
5189         * nnir.el (nnir-run-swish-e): Remove hyrex support.
5190
5191 2010-10-28  Katsumi Yamaoka  <yamaoka@jpl.org>
5192
5193         * gnus-art.el (gnus-article-jump-to-part): Error on no part; fix prompt.
5194         (gnus-mime-copy-part): Check coding system, not charset.
5195         (gnus-mime-view-part-externally): Never remove part.
5196         (gnus-mime-view-part-internally): Don't remove part here.
5197         (gnus-article-part-wrapper): Make sure MIME tag is visible.
5198         (gnus-article-goto-part): Go to displayed or preferred subpart if it is
5199         multipart/alternative.
5200
5201         * mm-decode.el (mm-display-part): Take optional arg `force'.
5202
5203 2010-10-26  Julien Danjou  <julien@danjou.info>
5204
5205         * gnus-group.el (gnus-group-default-list-level): Add this function to
5206         compute the default list level.
5207         (gnus-group-default-list-level): Add possibility to use a function.
5208
5209 2010-10-27  Katsumi Yamaoka  <yamaoka@jpl.org>
5210
5211         * mm-decode.el (mm-shr): Add undisplayer to MIME handle.
5212
5213         * gnus-group.el (gnus-group-completing-read)
5214         (gnus-read-ephemeral-bug-group): Replace replace-regexp-in-string with
5215         gnus-replace-in-string.
5216
5217 2010-10-26  Katsumi Yamaoka  <yamaoka@jpl.org>
5218
5219         * shr.el (shr-tag-div): Add.
5220
5221         * lpath.el: Fbind current-idle-time for XEmacs 21.4 and SXEmacs 22.1.
5222
5223 2010-10-25  Julien Danjou  <julien@danjou.info>
5224
5225         * gnus-util.el: Remove `gnus-with-local-quit'.
5226
5227         * gnus-demon.el (gnus-demon-init): Use run-with-idle-timer function.
5228
5229 2010-10-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5230
5231         * gnus-sum.el (gnus-summary-select-article): Fix type error in checking
5232         the original article buffer.
5233
5234 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5235
5236         * nnimap.el (nnimap-request-head): New function.
5237         (nnimap-request-move-article): Try to be slightly faster by not
5238         requesting the entire message when moving.
5239         (nnimap-transform-headers): Don't bug out on bodiless articles.
5240         (nnimap-send-command): Have no outstanding messages if the IMAP server
5241         doesn't support streaming.
5242         (nnimap-transform-headers): Fold {quoted} strings more sloppily.
5243
5244 2010-10-24  Julien Danjou  <julien@danjou.info>
5245
5246         * message.el (message-default-headers): Fix type.
5247
5248 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5249
5250         * gnus-html.el (gnus-html-prefetch-images): Decode entities before
5251         prefetching images.
5252
5253         * gnus-sum.el (gnus-group-make-articles-read): Propagate marks to the
5254         backend for unknown groups.  This is mainly useful for nnimap groups.
5255
5256         * gnus-agent.el (gnus-agent-fetch-group): Don't download stuff if the
5257         group isn't covered by the agent.
5258
5259 2010-10-22  Andrew Cohen  <cohen@andy.bu.edu>
5260
5261         * nnir.el (nnir-method-default-engines): New variable.
5262         (nnir-run-query): Use it.
5263         (nnir-group-mode-hook): Remove key binding and move to gnus-group.el.
5264         (gnus-summary-nnir-goto-thread): Change group if needed.
5265
5266         * gnus-group.el (gnus-group-group-map): Add key binding for
5267         gnus-group-make-nnir-group.
5268
5269 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5270
5271         * shr.el (shr-tag-object): Add.
5272
5273         * gnus-sum.el (gnus-summary-select-article): Make sure we have the
5274         original article buffer live.
5275         (gnus-summary-select-article-buffer):
5276         Mention gnus-widen-article-buffer.
5277
5278 2010-10-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5279
5280         * shr.el (shr-tag-strong): Add.
5281
5282 2010-10-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5283
5284         * gnus-group.el (gnus-group-completing-read): Remove all newlines from
5285         group names.  They mess up the group buffer badly.
5286
5287         * shr.el (shr-tag-img): Don't bug out on images that don't have a SRC.
5288
5289         * gnus-group.el (gnus-group-mark-group): Use gnus-group-position-point
5290         instead of the summary one.
5291
5292 2010-10-22  Katsumi Yamaoka  <yamaoka@jpl.org>
5293
5294         * mml.el (mml-preview): Work properly when editing article.
5295
5296         * gnus-start.el (gnus-read-active-file-1): Don't add method to
5297         gnus-have-read-active-file if it's already been in.
5298
5299 2010-10-22  Tom Tromey  <tromey@redhat.com>
5300
5301         * gnus-group.el (gnus-group-unsubscribe-group): Fix args passed to
5302         gnus-group-completing-read.
5303
5304 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5305
5306         * message.el (message-mode-map): Don't bind M-; to comment region, to
5307         allow the global comment-dwim to work.
5308
5309 2010-10-21  Julien Danjou  <julien@danjou.info>
5310
5311         * message.el (message-setup-1): Allow message-default-headers to be a
5312         function.
5313
5314 2010-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
5315
5316         * shr.el (shr-tag-table): Simplify.
5317
5318 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5319
5320         * gnus-html.el (gnus-html-prefetch-images): Only prefetch http images
5321         to avoid trying to snarf invalid stuff.
5322
5323         * gnus-sum.el (gnus-summary-edit-article-done): Bind free variable.
5324
5325         * gnus.el (gnus-message-archive-group): Quote value.
5326         (gnus-message-archive-group): Mark as changed.
5327
5328         * shr.el (shr-add-font): Don't put the font properties on the newline
5329         or the indentation.
5330
5331         * message.el (message-fix-before-sending): Change options when sending
5332         non-printable characters.
5333
5334         * gnus.el (gnus-message-archive-method): Change the default to
5335         monthly outgoing groups.
5336
5337         * gnus-sum.el (gnus-summary-edit-article-done): Try to replace articles
5338         that have gotten new numbers.
5339
5340         * nnimap.el (nnimap-request-replace-article): New function.
5341
5342 2010-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
5343
5344         * nnrss.el (nnrss-wash-html-in-text-plain-parts): Remove.
5345         (nnrss-request-article): Don't use special html washing code.
5346
5347 2010-10-20  Katsumi Yamaoka  <yamaoka@jpl.org>
5348
5349         * shr.el (shr-tag-table): Remove useless nconc.
5350
5351 2010-10-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5352
5353         * gnus-art.el (article-wash-html): Simplify and remove the charset
5354         stuff.  Use the normal html rendering code instead of the special html
5355         washing code.
5356
5357         * mm-view.el (mm-text-html-renderer-alist): Add the `shr' and
5358         `gnus-w3m' symbols.
5359         (mm-text-html-washer-alist): Remove.
5360
5361         * mm-decode.el (mm-inline-text-html-renderer): Remove.
5362         (mm-inline-media-tests): Remove use.
5363         (mm-text-html-renderer): Change default to the `shr' symbol.
5364
5365         * mm-view.el (mm-inline-text-html): Remove use.
5366
5367         * gnus-art.el (gnus-blocked-images): New function.  Allow the
5368         `gnus-blocked-images' to be a function.
5369         (gnus-article-wash-function): Remove.
5370
5371 2010-10-20  Julien Danjou  <julien@danjou.info>
5372
5373         * spam.el (spam-list-of-processors): Mark as obsolete.
5374
5375         * nnimap.el (nnimap-request-article): Fix BODYSTRUCTURE retrieval.
5376         (nnimap-insert-partial-structure): Fix boundary detection.
5377
5378 2010-10-20  Andreas Seltenreich  <seltenreich@gmx.de>
5379
5380         * gnus-draft.el (gnus-draft-check-draft-articles): Don't unnecessarily
5381         run file-truename on remote files.  This can be expensive and even
5382         prevent one from editing drafts if some unrelated buffer has a stale
5383         connection.
5384
5385 2010-10-20  Katsumi Yamaoka  <yamaoka@jpl.org>
5386
5387         * shr.el (shr-find-fill-point): Shorten line if the preceding char is
5388         kinsoku-eol regardless of shr-kinsoku-shorten.
5389         (shr-tag-table-1): Rename from shr-tag-table; make it a subroutine.
5390         (shr-tag-table): Support caption, thead, and tfoot.
5391
5392 2010-10-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5393
5394         * shr.el (shr-find-fill-point): Don't leave blanks at the start of some
5395         lines.
5396         (shr-save-contents): New command and keystroke.
5397
5398         * nndoc.el (nndoc-type-alist): Add git support.
5399         (nndoc-git-type-p): New function.
5400         (nndoc-transform-git-article): Ditto.
5401         (nndoc-transform-git-headers): Ditto.
5402         (nndoc-transform-git-headers): Generate Subject headers.
5403
5404         * shr.el (shr-parse-style): New function.
5405         (shr-tag-span): Ditto.
5406
5407         * nnmairix.el (nnmairix-summary-mode-hook): Move nnmairix's `$' command
5408         to `G G' to avoid collisions.
5409
5410 2010-10-19  Katsumi Yamaoka  <yamaoka@jpl.org>
5411
5412         * shr.el: Load kinsoku if necessary.
5413         (shr-kinsoku-shorten): New internal variable.
5414         (shr-find-fill-point): Make kinsoku shorten text line if
5415         shr-kinsoku-shorten is bound to non-nil.
5416         (shr-tag-table): Bild shr-kinsoku-shorten to t; refer to
5417         shr-indentation too when testing if table is wider than frame width.
5418         (shr-insert-table): Use `string-width' instead of `length' to measure
5419         text width.
5420         (shr-insert-table-ruler): Make sure indentation is done at bol.
5421
5422 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5423
5424         * nnimap.el (nnimap-request-move-article, nnimap-parse-line)
5425         (nnimap-process-expiry-targets): Use unibyte for buffers that hold
5426         undecoded network data.
5427
5428 2010-10-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5429
5430         * gnus-agent.el (gnus-agent-toggle-plugged): Use the right minor mode
5431         name in the mode line spec so that the mode line menu works
5432         (bug #2431).
5433
5434         * message.el (message-get-reply-headers): If we're fed `to-address',
5435         then always use that.
5436
5437         * gnus-art.el (gnus-article-make-menu-bar): The article/group menus
5438         aren't so wide as to need to switch off the edit menu.
5439
5440         * gnus-delay.el (gnus-delay-article): Remove superfluous `group'
5441         binding.  Suggested by Leo <sdl.web@gmail.com> (bug #6613).
5442
5443         * nnimap.el (nnimap-request-group): Don't SELECT the group twice on
5444         `M-g'.
5445         (nnimap-update-info): Update flags/read marks even if \* isn't part of
5446         the permanent marks.
5447
5448 2010-10-18  Andrew Cohen  <cohen@andy.bu.edu>
5449
5450         * gnus-registry.el (gnus-registry-split-fancy-with-parent):
5451         Splitting according to references/in-reply-to obeys the ignore-groups
5452         variable, while splitting by sender and subject do not.
5453
5454 2010-10-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5455
5456         * gnus-art.el (gnus-article-dumbquotes-map): Make into a char/string
5457         alist, so that we can look for non-Unicode chars.
5458         (article-translate-strings): Allow both character and string maps.
5459
5460 2010-10-18  Katsumi Yamaoka  <yamaoka@jpl.org>
5461
5462         * shr.el (shr-insert): Don't insert space behind a wide character
5463         categorized as kinsoku-bol, or between characters both categorized as
5464         nospace.
5465
5466 2010-10-16  Andrew Cohen  <cohen@andy.bu.edu>
5467
5468         * gnus-sum.el (gnus-summary-refer-thread): Bug fix.  Add the thread
5469         headers to gnus-newsgroup-headers.
5470
5471 2010-10-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5472
5473         * shr.el (shr-tag-img): Don't align images -- since we're not
5474         rescaling, this often leads to ugly displays.
5475
5476 2010-10-15  Andrew Cohen  <cohen@andy.bu.edu>
5477
5478         * gnus-sum.el (gnus-summary-refer-thread): Unconditionally ignore
5479         duplicates.
5480
5481 2010-10-15  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
5482
5483         * gnus-diary.el (gnus-diary-check-message): Fix gnus-completing-read
5484         call.
5485
5486 2010-10-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5487
5488         * gnus.el: Autoload gnus-html-show-images.
5489
5490         * nnimap.el: Use nnheader-message throughout.
5491
5492         * shr.el (shr-tag-img): Ignore images with no data.
5493
5494 2010-10-15  Julien Danjou  <julien@danjou.info>
5495
5496         * mml.el (mml-generate-mime-1): Add `mml-enable-flowed' variable to add
5497         a possibility to disable format=flow encoding when using hard newlines.
5498
5499 2010-10-15  Katsumi Yamaoka  <yamaoka@jpl.org>
5500
5501         * shr.el (shr-insert): Remove space inserted before or after a
5502         breakable character or at the beginning or the end of a line.
5503         (shr-find-fill-point): Do kinsoku; find the second best point or give
5504         it up if there's no breakable point.
5505
5506 2010-10-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5507
5508         * nnimap.el (nnimap-open-connection): Message when opening connection
5509         for debugging purposes.
5510
5511         * gnus-art.el (gnus-article-setup-buffer): Set article mode truncation
5512         on every setup buffer call to allow this to change from article to
5513         article.
5514
5515         * shr.el (shr-tag-table): Experimental feature: Truncate lines in
5516         buffers where we have a wide table.
5517
5518 2010-10-14  Andrew Cohen  <cohen@andy.bu.edu>
5519
5520         * gnus-sum.el (gnus-summary-refer-thread): Implement a version that
5521         uses *-request-thread.
5522
5523 2010-10-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5524
5525         * nnimap.el (nnimap-open-connection): Remove %s from openssl
5526         incantation, which is no longer valid.
5527
5528 2010-10-14  Julien Danjou  <julien@danjou.info>
5529
5530         * shr.el: Fix defcustom type (char -> character).
5531
5532 2010-10-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5533
5534         * nnimap.el (nnimap-open-connection): tls-program should be a list of
5535         programs.
5536
5537 2010-10-14  Julien Danjou  <julien@danjou.info>
5538
5539         * shr.el (shr-tag-a): Use url-link as widget type.
5540
5541         * gnus-group.el (gnus-group-insert-group-line): Fix group argument to
5542         `gnus-group-get-icon'.
5543
5544 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5545
5546         * nnimap.el (nnimap-close-server): Forget the nnimap data on close.
5547         This should make server editing work better.
5548
5549         * shr.el (shr-find-fill-point): Don't inloop on indented text.
5550
5551         * tls.el (tls-program): Remove spurious %s from openssl.
5552
5553         * nnimap.el (nnimap-open-connection): Fix open-tls-stream call.
5554         (nnimap-parse-flags): Fix regexp.
5555
5556         * shr.el (shr-find-fill-point): Use a filling algorithm that should
5557         probably work for CJVK text, too.
5558
5559         * nnimap.el (nnimap-extend-tls-programs): Remove.
5560         (nnimap-open-connection): Bind STARTTLS to openssl explicitly.
5561
5562         * tls.el (tls-starttls-switches): Remove starttls hack.
5563         (open-tls-stream): Ditto.
5564         (tls-find-starttls-argument): Ditto.
5565
5566 2010-10-13  Julien Danjou  <julien@danjou.info>
5567
5568         * nnimap.el (nnimap-parse-flags): Be more strict when looking for FETCH
5569         responses.
5570
5571 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5572
5573         * mm-decode.el (mm-shr): Allow use from non-Gnus users.
5574
5575         * gnus-spec.el (gnus-parse-simple-format): princ doesn't really insert
5576         anything in Emacs.
5577
5578         * shr.el (shr-current-column): Remove buggy and unnecessary function.
5579
5580 2010-10-13  Julien Danjou  <julien@danjou.info>
5581
5582         * shr.el (shr-width): Make shr-width a defcustom with default to
5583         fill-column.
5584         (shr-tag-img): Use shr-width rather than fill-column.
5585
5586 2010-10-13  Katsumi Yamaoka  <yamaoka@jpl.org>
5587
5588         * dgnushack.el (byte-optimize-apply):
5589         * gnus-dired.el (gnus-dired-attach): Silence XEmacs 21.5 when compiling.
5590
5591         * gnus-gravatar.el (gnus-gravatar-transform-address): Adjust avatars'
5592         position when (X-)Faces exist.
5593         (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Force displaying
5594         avatars when called interactively.
5595
5596 2010-10-12  Katsumi Yamaoka  <yamaoka@jpl.org>
5597
5598         * gnus-gravatar.el (gnus-gravatar-too-ugly): Don't test if
5599         gnus-article-x-face-too-ugly is bound.
5600
5601 2010-10-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5602
5603         * rfc2231.el (rfc2231-parse-string): Ignore repeated parts.
5604
5605         * nnimap.el (nnimap-request-rename-group): Unselect by selecting a
5606         mailbox that doesn't exist.
5607
5608 2010-10-12  Julien Danjou  <julien@danjou.info>
5609
5610         * shr.el (shr-tag-img): Encode URL properly when retrieving.
5611         (shr-get-image-data): Encode URL properly when fetching from cache.
5612         (shr-tag-img): Use aligned-to spaces to align correctly images.
5613
5614         * gnus-gravatar.el (gnus-gravatar-insert): Check if buffer is alive
5615         before inserting the Gravatar.
5616
5617         * shr.el (shr-tag-img): Add align attribute support for <img>.
5618
5619 2010-10-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5620
5621         * gnus-gravatar.el (gnus-art): Require.
5622
5623         * gnus-sum.el (gnus-summary-mark-as-unread-forward)
5624         (gnus-summary-mark-as-unread-backward, gnus-summary-mark-as-unread):
5625         Remove long obsoleted functions.
5626
5627 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5628
5629         * lpath.el: Fbind gnutls-negotiate for Emacs 22 and XEmacsen.
5630
5631         * nnimap.el (gnutls-negotiate): Silence the byte compiler.
5632
5633         * gnus-art.el, gnus-cache.el, gnus-fun.el, gnus-group.el:
5634         * gnus-picon.el, gnus-spec.el, gnus-sum.el, gnus-util.el, gnus.el:
5635         * hashcash.el, imap.el, mail-source.el, message.el, mm-bodies.el:
5636         * mm-decode.el, mm-extern.el, mm-util.el, mm-view.el, mml-smime.el:
5637         * mml.el, mml1991.el, mml2015.el, nnfolder.el, nnheader.el, nnmail.el:
5638         * nnmaildir.el, nnrss.el, nntp.el, pgg-parse.el, pgg.el, rfc1843.el:
5639         * sieve-manage.el, smime.el, spam.el:
5640         Fix comment for declare-function.
5641
5642 2010-10-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5643
5644         * nnimap.el (nnimap-request-rename-group): Select group read-only
5645         before renaming it.
5646
5647         * shr.el (shr-insert): Fix up the white space only regexp.
5648
5649         * nnimap.el (nnimap-transform-split-mail): Not all articles have
5650         bodies.  Protect against this.  Reported by Michael Welsh Duggan.
5651
5652         * shr.el (shr-current-column): New function.
5653         (shr-find-fill-point): New function.
5654
5655 2010-10-11  Michael Welsh Duggan  <md5i@md5i.com>  (tiny change)
5656
5657         * sieve-manage.el (sieve-manage-open): Allow port names as well as port
5658         numbers.
5659
5660 2010-10-11  Julien Danjou  <julien@danjou.info>
5661
5662         * shr.el (shr-hr-line): Add.
5663         (shr-tag-hr): Use shr-hr-line to specify which character to use to
5664         display hr lines.
5665         (shr-max-columns): Do not change state to nil if we just inserting
5666         spaces.
5667
5668 2010-10-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5669
5670         * gnus-topic.el (gnus-topic-read-group): If after the last group,
5671         select the last group.
5672
5673 2010-10-11  Teodor Zlatanov  <tzz@lifelogs.com>
5674
5675         * gnus-int.el (gnus-run-hook-with-args): Autoload from gnus-util.el.
5676
5677 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5678
5679         * dig.el (dig-mode-map): Declare and define in one step.
5680
5681 2010-10-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5682
5683         * nnimap.el (nnimap-update-qresync-info): \Flagged messages are read
5684         for Gnus.
5685         (nnimap-retrieve-group-data-early): utf7-encode the group parameters.
5686         (nnimap-update-qresync-info): Mark \Seen articles as read.
5687
5688         * gnus-sum.el (gnus-summary-set-local-parameters): Ignore the `active'
5689         non-variable, too.
5690
5691         * nnimap.el (nnimap-open-connection): Use gnutls STARTTLS, if
5692         available.
5693         (nnimap-update-info): Rely more on the current active than the param
5694         active to avoid marking articles as read too much.
5695
5696         * auth-source.el (auth-source-create): Use (user-login-name) for the
5697         user name default.
5698
5699         * nnimap.el (nnimap-update-info): If the server doesn't return any
5700         useful info, just use the previous info.
5701         (nnimap-update-info): Prefer old info over start-article.
5702         (nnimap-update-qresync-info): Finish implementing QRESYNC.
5703
5704 2010-10-10  Andrew Cohen  <cohen@andy.bu.edu>
5705
5706         * nnir.el (autoload): Clean up autoloads.
5707         (nnir-imap-default-search-key): Rename from nnir-imap-search-field.
5708         Use key rather than value.
5709         (nnir-imap-search-other): New variable.
5710         (nnir-read-parm): Use it.
5711         (nnir-imap-expr-to-imap): Use %S rather than imap-quote-specials.
5712         (gnus-summary-nnir-goto-thread): Modify to work with imap.
5713
5714 2010-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5715
5716         * nnimap.el (nnimap-wait-for-response): If the user hits `C-g', kill
5717         the process, too.
5718
5719 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5720
5721         * spam.el (gnus-summary-mode-map): Bind to "$".
5722         Suggested by Russ Allbery.
5723
5724         * shr.el: Rework the way things are indented by <li> slightly.
5725
5726         * gnus.el (gnus-group-set-parameter): Fix typo.
5727
5728         * nnimap.el: Start implementing QRESYNC support.
5729
5730 2010-10-09  Julien Danjou  <julien@danjou.info>
5731
5732         * nnir.el (nnir-engines): Fix too many arguments.
5733
5734 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5735
5736         * nnmail.el (nnmail-expiry-target-group): Say that every expiry target
5737         group is the "last", so that the backends like nnfolder actually save
5738         their folders.
5739
5740         * nnimap.el (nnimap-open-connection): If we have gnutls loaded, then
5741         try to use that for the tls stream.
5742         (nnimap-retrieve-group-data-early): Rework the marks code to heed
5743         UIDVALIDITY and find out which groups are read-only and not.
5744         (nnimap-get-flags): Use the same marks parsing code as the rest of
5745         nnimap.
5746
5747 2010-10-09  Julien Danjou  <julien@danjou.info>
5748
5749         * nnir.el (nnir-read-parm): Fix call to gnus-completing-read.
5750
5751         * gnus-gravatar.el (gnus-gravatar-transform-address): Error errors when
5752         retrieving gravatars.
5753
5754         * shr.el (shr-table-corner): Add.
5755         (shr-table-line): Add.
5756         (shr-insert-table-ruler): Use the above defcustoms to insert tables.
5757
5758 2010-10-08  Julien Danjou  <julien@danjou.info>
5759
5760         * mm-decode.el (mm-text-html-renderer): Add mm-shr in choice list.
5761
5762 2010-10-08  Teodor Zlatanov  <tzz@lifelogs.com>
5763
5764         * gnus-util.el (gnus-alist-pull): Rename `gnus-pull'.
5765
5766         * gnus-sum.el (gnus-mark-article-as-unread)
5767         (gnus-summary-mark-article-as-unread, gnus-summary-remove-bookmark)
5768         (gnus-summary-set-bookmark): Use it.
5769
5770         * gnus-msg.el (gnus-setup-message): Use it.
5771
5772         * gnus-demon.el (gnus-demon-remove-handler): Use it.
5773
5774         * gnus.el (gnus-group-remove-parameter): Use it.
5775
5776         * gnus-group.el (gnus-group-make-web-group): Use it.
5777
5778         * gnus-demon.el (gnus-demon-remove-handler): Use it.
5779
5780         * nnregistry.el: Update docs to mention manual.
5781
5782         * gnus-registry.el: Update docs to mention nnregistry.el.
5783         (gnus-registry-initialize): Don't install nnregistry refer method
5784         automatically.
5785         (gnus-registry-install-nnregistry): Remove it.
5786
5787 2010-10-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5788
5789         * shr.el (shr-insert): Don't insert double spaces.
5790
5791 2010-10-08  Katsumi Yamaoka  <yamaoka@jpl.org>
5792
5793         * gnus-gravatar.el (gnus-treat-from-gravatar)
5794         (gnus-treat-mail-gravatar): Bind gnus-gravatar-too-ugly to nil when
5795         called interactively.
5796
5797         * gnus-art.el (gnus-mime-view-part-externally)
5798         (gnus-mime-view-part-internally): Make predicate function passed to
5799         gnus-mime-view-part-as-type assume argument is a mime type, not a list
5800         of a mime type.
5801
5802         * shr.el (shr-table-widths): Don't use cl function `reduce'.
5803
5804 2010-10-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5805
5806         * shr.el (require): Require cl when compiling.
5807         (shr-tag-hr): New function.
5808
5809         * nnimap.el (nnimap-update-info): Remove double setting of high.
5810         (nnimap-update-info): Don't ignore groups that have no UIDNEXT.
5811         This makes nnimap work properly on Courier again.
5812
5813         * gnus.el (gnus-carpal): The carpal mode has been removed, but define
5814         the variable for backwards compatibility.
5815
5816         * mm-decode.el (mm-save-part): If given a non-directory result, expand
5817         the file name before using to avoid setting mm-default-directory to
5818         nil.
5819
5820         * gnus-start.el (gnus-get-unread-articles): Require gnus-agent before
5821         bidning gnus-agent variables.
5822
5823         * shr.el (shr-render-td): Use a cache for the table rendering function
5824         to avoid getting an exponential rendering behavior in nested tables.
5825         (shr-insert): Rework the line-breaking algorithm.
5826         (shr-insert): Don't leave trailing spaces.
5827         (shr-insert-table): Also insert empty TDs.
5828         (shr-tag-blockquote): Ensure paragraphs after </ul>.
5829
5830 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5831
5832         * gnus-sum.el (gnus-number): Rename from `number'.
5833         (gnus-article-marked-p, gnus-summary-limit-to-display-predicate)
5834         (gnus-summary-limit-children): Update uses correspondingly.
5835
5836 2010-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
5837
5838         * gnus-gravatar.el (gnus-gravatar-too-ugly): New user option.
5839         (gnus-gravatar-transform-address): Don't show avatars of people of
5840         which mail addresses match gnus-gravatar-too-ugly.
5841
5842 2010-10-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5843
5844         * shr.el (shr-table-widths): Expand TD elements to fill available
5845         space.
5846
5847 2010-10-07  Julien Danjou  <julien@danjou.info>
5848
5849         * nnimap.el (nnimap-request-rename-group): Add this method.
5850
5851 2010-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
5852
5853         * gnus-html.el (gnus-html-schedule-image-fetching): Remove function
5854         name from XEmacs' function-arglist.
5855
5856         * gnus-gravatar.el (gnus-gravatar-insert): Don't add properties to
5857         gravatar under XEmacs.
5858
5859 2010-10-07  Teodor Zlatanov  <tzz@lifelogs.com>
5860
5861         * auth-source.el: Update docs with TODO items.
5862
5863         * gnus-sync.el: Update docs to explain state and plans.
5864
5865         * gnus-int.el (gnus-after-set-mark-hook, gnus-before-update-mark-hook):
5866         Hooks for mark updates.
5867         (gnus-request-set-mark, gnus-request-update-mark): Use them.
5868
5869         * gnus-util.el (gnus-run-hooks-with-args): Convenience function to run
5870         hooks with arguments, which is needed for mark update hooks.
5871
5872 2010-10-06  Julien Danjou  <julien@danjou.info>
5873
5874         * gnus.el (gnus-expand-group-parameter): Only return and act on what
5875         was matched.
5876
5877         * sieve-manage.el: Update example in `Commentary'.
5878
5879         * sieve.el (sieve-open-server): Use sieve-manage-authenticate.
5880
5881         * sieve-manage.el (sieve-manage-open): Use sieve-manage-default-port,
5882         not 2000.
5883         (sieve-manage-authenticate): Re-add function.
5884
5885 2010-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5886
5887         * shr.el (shr-insert): Get 'space transition right.
5888         (shr-render-td): Only delete space at the end of the TD.
5889
5890         * nnimap.el (nnimap-open-connection): Prepare to support
5891         open-gnutls-stream.
5892
5893         * shr.el: Rearrange function order to be more logical.
5894
5895 2010-10-06  Julien Danjou  <julien@danjou.info>
5896
5897         * nnrss.el (nnrss-check-group): Remove 404 URL in comment.
5898         (nnrss-discover-feed): Remove 404 URL in docstring.
5899
5900         * nnir.el: Fix Swish-E URL.
5901         Fix Namazu URL.
5902
5903         * message.el (message-change-subject): Remove 404 URL in a comment.
5904
5905 2010-10-06  Katsumi Yamaoka  <yamaoka@jpl.org>
5906
5907         * gnus-art.el (gnus-mime-view-part-as-type): Make it work when being
5908         called interactively.
5909
5910         * gnus-util.el (gnus-remove-if): Allow hash table.
5911         (gnus-remove-if-not): New function.
5912
5913         * gnus-art.el (gnus-mime-view-part-as-type):
5914         * gnus-score.el (gnus-summary-score-effect):
5915         * gnus-sum.el (gnus-read-move-group-name):
5916         Replace remove-if-not with gnus-remove-if-not.
5917
5918         * gnus-group.el (gnus-group-completing-read):
5919         Regard collection as a hash table if it is not a list.
5920
5921 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5922
5923         * shr.el (shr-render-td): Allow blank/missing <TD>s.
5924
5925         * shr.el: Document the table-rendering algorithm.
5926
5927 2010-10-05  Katsumi Yamaoka  <yamaoka@jpl.org>
5928
5929         * dgnushack.el (dgnushack-compile): Exclude shr.el from being compiled
5930         for Emacsen having no `libxml-parse-html-region' support.
5931
5932 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5933
5934         * gnus-html.el (gnus-html-schedule-image-fetching): Protect against
5935         invalid URLs.
5936
5937         * shr.el (shr-tag-img): Shorten ALT texts and allow them to be
5938         line-broken.
5939         (shr-tag-img): Ignore image fetching errors.
5940         (shr-overlays-in-region): Compute overlay positions correctly.
5941
5942         * mm-decode.el (mm-shr): Require shr.
5943
5944         * gnus-art.el (gnus-blocked-images): Move variable here.
5945
5946         * shr.el (shr-insert-table): Bind free variable.
5947
5948         * mm-decode.el (mm-shr): Bind shr-content-function.
5949
5950         * shr.el (shr-content-function): New variable.
5951
5952         * gnus-sum.el (gnus-article-sort-by-most-recent-date): New function,
5953         added for symmetry.
5954
5955         * nnir.el (nnir-retrieve-headers): Don't bug out on invalid data.
5956
5957         * gnus-group.el (gnus-group-make-group): Doc fix.
5958
5959         * nnimap.el (nnimap-request-newgroups): Return success.
5960
5961         * shr.el (shr-find-elements): New function.
5962         (shr-tag-table): Put all the images after the table.
5963         (shr-tag-table): Really inhibit images inside the table.
5964         (shr-collect-overlays): Copy over overlays from the TD elements to the
5965         main document.
5966
5967         * mm-decode.el (mm-shr): Bind shr-blocked-images to
5968         gnus-blocked-images.
5969
5970 2010-10-05  Julien Danjou  <julien@danjou.info>
5971
5972         * sieve-manage.el (sieve-sasl-auth): Use auth-source to authenticate.
5973
5974         * gnus-html.el (gnus-html-wash-images): Rescale image from cid too.
5975         (gnus-html-maximum-image-size): Add this function.
5976         (gnus-html-put-image): Use gnus-html-maximum-image-size.
5977
5978         * sieve-manage.el (sieve-manage-capability): Do not bug out when the
5979         server-value of the capability is nil.
5980
5981 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5982
5983         * shr.el (shr-tag-em): Add <EM> tag.
5984
5985 2010-10-05  Florian Ragwitz  <rafl@debian.org>  (tiny change)
5986
5987         * sieve-manage.el (sieve-manage-default-stream): Make default stream
5988         customizable.
5989
5990         * gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid
5991         handing broken links to browse-url.
5992
5993 2010-10-05  Julien Danjou  <julien@danjou.info>
5994
5995         * gnus-util.el (gnus-emacs-completing-read)
5996         (gnus-iswitchb-completing-read): Use autoload rather than require.
5997
5998 2010-10-05  Katsumi Yamaoka  <yamaoka@jpl.org>
5999
6000         * lpath.el: Fbind libxml-parse-html-region and shr-insert-document for
6001         Emacs 22 and XEmacs; fbind help-function-arglist for XEmacs 21.4 and
6002         SXEmacs; fbind ido-completing-read, and bind iswitchb-mode and
6003         iswitchb-temp-buflist for XEmacs.
6004
6005         * gnus-util.el (gnus-completing-read-function): Exclude
6006         gnus-icompleting-read and gnus-ido-completing-read from candidates for
6007         XEmacs since iswitchb.el is very old and ido.el is unavailable in
6008         XEmacs.
6009
6010         * gnus-registry.el (gnus-registry-install-nnregistry): Rewrite so as
6011         not to use `delete-dups' that is unavailable in XEmacs 21.4.
6012
6013         * gnus-html.el: Don't require help-fns under XEmacs.
6014         (gnus-html-schedule-image-fetching): Work for XEmacs.
6015
6016         * mm-decode.el (mm-shr): Decode contents by charset.
6017
6018 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6019
6020         * nnimap.el (nnimap-open-connection): Give an error if nnimap-stream is
6021         unknown.
6022
6023         * shr.el (shr-tag-blockquote): Ensure paragraph after quote, too.
6024         (shr-get-image-data): Ensure against the cache file missing.
6025
6026         * nnimap.el (nnimap-finish-retrieve-group-infos): Message while waiting
6027         for data.
6028
6029         * spam-report.el (spam-report-url-ping-plain): Don't query about
6030         killing the process.
6031
6032         * shr.el (shr-render-td): Protect against too-wide text.
6033
6034 2010-10-04  Julien Danjou  <julien@danjou.info>
6035
6036         * mml-smime.el (mml-smime-openssl-encrypt-query): Fix choices.
6037         (mml-smime-openssl-sign-query): Fix gnus-completing-read call.
6038
6039         * gravatar.el (gravatar-retrieved): Kill buffer when gravatar has been
6040         retrieved.
6041
6042 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6043
6044         * shr.el (browse-url): Require.
6045         (shr-ensure-paragraph): Don't insert a new newline after empty-ish
6046         lines.
6047         (shr-show-alt-text, shr-browse-image): New commands.
6048         (shr-browse-url, shr-copy-url): New commands.
6049
6050         * gnus-sum.el (gnus-widen-article-window): New variable.
6051         (gnus-summary-select-article-buffer): Use it.
6052
6053         * message.el (message-idna-to-ascii-rhs-1): Don't bug out on addresses
6054         without @ signs.
6055
6056 2010-10-04  Michael Welsh Duggan  <md5i@md5i.com>  (tiny change)
6057
6058         * nnir.el (nnir-run-imap): Remove spurious space in search string.
6059
6060 2010-10-04  Julien Danjou  <julien@danjou.info>
6061
6062         * gnus-util.el (gnus-emacs-completing-read): Mapcar collection to list,
6063         for XEmacs.
6064
6065 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6066
6067         * gnus-salt.el: Remove all gnus-carpal stuff -- it's not useful.
6068
6069         * nnimap.el (nnimap-open-connection): Allow tls as a synonym for ssl.
6070         (nnimap-close-server): Implement.
6071
6072         * dgnushack.el (iswitchb): Require to shut up the compiler.
6073
6074         * shr.el (shr-ensure-paragraph): Fix the non-empty line case.
6075         (shr-insert): Tweak line breaking.
6076         (shr-insert): Handle <pre> better.
6077         (shr-tag-li): Get <li> indentation right.
6078         (shr-tag-li): Get <li> indentation even righter.
6079         (shr-tag-blockquote): Ensure paragraph start.
6080         (shr-make-table): Tweak table generation.
6081         (shr-make-table): Fix typo.
6082
6083         * shr.el: Implement table rendering.
6084
6085 2010-10-04  Julien Danjou  <julien@danjou.info>
6086
6087         * gnus-html.el (gnus-html-put-image): Fix resize image code.
6088
6089 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6090
6091         * shr.el (shr-insert): Use string anchors instead of line anchors.
6092
6093 2010-10-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6094
6095         * shr.el: Add headings.
6096         (shr-ensure-paragraph): Actually work.
6097         (shr-tag-li): Make <ul> prettier.
6098         (shr-insert): Get white space at the beginning/end of elements right.
6099         (shr-tag-p): Collapse subsequent <p>s.
6100         (shr-ensure-paragraph): Don't insert double line feeds after blank
6101         lines.
6102         (shr-insert): \t is also space.
6103         (shr-tag-s): Fix "s" tag name function.
6104         (shr-tag-s): Fix face prop name.
6105
6106 2010-10-03  Julien Danjou  <julien@danjou.info>
6107
6108         * gnus-html.el (gnus-html-put-image): Use gnus-rescale-image.
6109
6110         * mm-view.el (gnus-window-inside-pixel-edges): Add autoload for
6111         gnus-window-inside-pixel-edges.
6112
6113         * gnus-ems.el (gnus-window-inside-pixel-edges): Move from gnus-html to
6114         gnus-ems.
6115
6116         * mm-view.el (mm-inline-image-emacs): Support image resizing.
6117
6118         * gnus-util.el (gnus-rescale-image): Add generic gnus-rescale-image
6119         function.
6120
6121         * mm-decode.el (mm-inline-large-images): Enhance defcustom and add
6122         resize choice.
6123
6124 2010-10-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6125
6126         * shr.el (shr-tag-p): Don't insert newlines on empty tags at the
6127         beginning of the buffer.
6128
6129         * gnus-sum.el (gnus-summary-select-article-buffer): Really select the
6130         article buffer again.
6131
6132         * shr.el (shr-tag-p): Don't insert newlines at the start of the buffer.
6133
6134         * mm-decode.el (mm-shr): Narrow before inserting, so that shr can know
6135         when it's at the start of the buffer.
6136
6137         * shr.el (shr-tag-blockquote): Convert name.
6138         (shr-rescale-image): Use the right image-size variant.
6139
6140         * gnus-sum.el (gnus-summary-select-article-buffer): If the article
6141         buffer isn't shown, then select the current article first instead of
6142         bugging out.
6143         (gnus-summary-select-article-buffer): Show both the article and summary
6144         buffers again.
6145
6146         * shr.el (shr-fontize-cont): Protect against regions with no text.
6147         Rename tag functions to shr-tag-* for enhanced security.
6148         (shr-tag-ul, shr-tag-ol, shr-tag-li, shr-tag-br): New functions.
6149
6150 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6151
6152         * shr.el (shr-insert):
6153         * pop3.el (pop3-movemail):
6154         * gnus-html.el (gnus-html-wash-tags): Don't use plusp, as cl may not be
6155         loaded.
6156
6157 2010-10-03  Glenn Morris  <rgm@gnu.org>
6158
6159         * nnmairix.el (nnmairix-replace-illegal-chars): Drop Emacs 20 code.
6160
6161         * smime.el (smime-cert-by-ldap-1): Drop Emacs 21 code.
6162
6163         * gnus-art.el (gnus-next-page-map): Drop Emacs 20 compat cruft.
6164
6165         * gmm-utils.el (gmm-write-region): Drop Emacs 20 compat cruft.
6166
6167         * gnus-util.el (gnus-make-local-hook): Simplify.
6168
6169 2010-10-02  Julien Danjou  <julien@danjou.info>
6170
6171         * gnus-util.el (gnus-iswitchb-completing-read): New function.
6172         (gnus-ido-completing-read): New function.
6173         (gnus-emacs-completing-read): New function.
6174         (gnus-completing-read): Use gnus-completing-read-function.
6175         Add gnus-completing-read-function.
6176
6177 2010-10-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6178
6179         * shr.el (shr-insert-document): Autoload.
6180         (shr-img): Be silent.
6181         (shr-insert): Add a newline after every picture before text.
6182         (shr-add-font): Use overlays for combining faces.
6183         (shr-insert): Pass upwards the text start point.
6184
6185         * mm-decode.el (mm-text-html-renderer): Default to shr.el rendering, if
6186         possible.
6187         (mm-shr): New function.
6188
6189 2010-10-02  Julien Danjou  <julien@danjou.info>
6190
6191         * gnus-gravatar.el (gnus-gravatar-insert): Adjust character where we
6192         should go backward.
6193
6194 2010-10-02  Juanma Barranquero  <lekktu@gmail.com>
6195
6196         * shr.el (shr): Fix typo in provide call.
6197
6198 2010-10-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6199
6200         * shr.el: New file.
6201
6202         * gnus-html.el (gnus-html-schedule-image-fetching): Be silent.
6203
6204         * gnus-topic.el (gnus-topic-move-group): Fix the syntax of the
6205         completing read.
6206
6207 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6208
6209         * gnus-start.el (gnus-check-bogus-newsgroups): Say how many groups
6210         we're being queried about.  Suggested by Dan Jacobson.
6211
6212         * nndoc.el (nndoc-type-alist): Do babyl before mime-parts.
6213         Suggested by Jason Eisner.
6214
6215         * gnus-async.el (gnus-async-delete-prefetched-entry): Remove from hash
6216         table, too.  Suggested by Stefan Wiens.
6217         (gnus-async-prefetched-article-entry): Use intern-soft to avoid growing
6218         the table unnecessary.  Suggested by Stefan Wiens.
6219
6220         * gnus-sum.el (gnus-summary-clear-local-variables): This is probably no
6221         longer needed, and probably doesn't work either, as pointed out by
6222         Stefan Wiens.
6223         (gnus-summary-exit): Remove call to the clearing function.
6224         (gnus-summary-exit-no-update): Ditto.
6225
6226         * gnus-art.el (gnus-summary-save-in-file): Use with-current-buffer
6227         instead of gnus-eval-in-buffer-window to avoid popping up frames.
6228         Reported by Stefan Monnier.
6229         (gnus-summary-save-in-rmail): Ditto.
6230
6231         * gnus-sum.el (gnus-summary-select-article-buffer): Show only the
6232         article buffer, instead of both the article buffer and the summary
6233         buffer.  Sort of suggested by Dan Jacobson.
6234
6235         * gnus-win.el (gnus-buffer-configuration): Add an only-article spec.
6236
6237         * nnmbox.el (nnmbox-read-mbox): Mark buffer for deletion on Gnus exit.
6238         Suggested by Dan Jacobson.
6239
6240         * mm-encode.el (mm-content-transfer-encoding-defaults): Try to make the
6241         documentation clearer.
6242
6243         * message.el (message-shorten-references): Comment on the number "21".
6244         Suggested by Stefan Monnier.
6245
6246         * gnus-sum.el (gnus-summary-scroll-up): Add more documentation.
6247         Suggested by Dan Jacobson.
6248
6249         * gnus.el (gnus-large-newsgroup):
6250         Mention gnus-large-ephemeral-newsgroup.  Suggested by Dan Jacobson.
6251
6252         * gnus-msg.el (gnus-summary-resend-message): When resending, don't
6253         externalize attachments.  Bug reported by Steve Wen.
6254
6255         * gnus.el (gnus-continuum-version): Make inactive, since it doesn't
6256         really message anything to the user.
6257
6258         * nnmail.el (nnmail-article-group): Allow using the fancy split method
6259         directly.
6260
6261         * nnimap.el (nnimap-request-group): Low higher than high to signal no
6262         messages in empty groups.
6263
6264 2010-10-01  Ted Zlatanov  <tzz@lifelogs.com>
6265
6266         * nnimap.el (nnimap-request-group): Don't bug out when there's an empty
6267         non-UIDNEXT group.
6268
6269 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6270
6271         * gnus-group.el (gnus-group-completing-read): Return the symbol name,
6272         not the value from the collection.
6273
6274         * nnimap.el (nnimap-update-info): Ignore groups that have no UIDNEXT
6275         values.  This sometimes happens on some groups that have no info.
6276         (nnimap-request-newgroups): New function.
6277
6278 2010-10-01  Teodor Zlatanov  <tzz@lifelogs.com>
6279
6280         * gnus-registry.el (gnus-registry-install-nnregistry): Move the feature
6281         check into `gnus-registry-initialize'.
6282         (gnus-registry-initialize): Ditto.
6283         Fix and extend header docs.
6284
6285 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6286
6287         * gnus-html.el (gnus-html-prefetch-images): Adjust regexp to avoid
6288         regexp backtrace overflows.
6289
6290         * nnimap.el (nnimap-extend-tls-programs): Only extend those programs
6291         for starttls that tls.el implements; i.e. openssl.
6292
6293         * tls.el (tls-starttls-switches): Give up on using starttls with
6294         gnutls-cli.
6295         (tls-program): Add --insecure to be consistent with the defaults from
6296         openssl s_client.  Now all three commands are insecure.
6297
6298 2010-10-01  Katsumi Yamaoka  <yamaoka@jpl.org>
6299
6300         * lpath.el: Bind completion-styles-alist for XEmacs.
6301
6302         * gravatar.el: Don't load image.el that XEmacs doesn't provide.
6303         (gravatar-create-image): New function that's an alias to
6304         gnus-xmas-create-image, gnus-create-image, or create-image.
6305         (gravatar-data->image): Use it.
6306
6307 2010-09-30  Teodor Zlatanov  <tzz@lifelogs.com>
6308
6309         * gnus-registry.el (gnus-registry-install-nnregistry): New function to
6310         install the nnregistry refer method.
6311         (gnus-registry-install-hooks): Use it.
6312         (gnus-registry-unfollowed-groups): Add nnmairix to the default
6313         unfollowed groups.
6314
6315 2010-09-30  Jose A. Ortega Ruiz  <jao@gnu.org>  (tiny change)
6316
6317         * gnus-sum.el (gnus-summary-show-thread): Skip past invisible text when
6318         expanding threads.
6319
6320 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6321
6322         * nnir.el: Use the server names without suffixes (bug #7009).
6323
6324         * nnimap.el (nnimap-open-connection): Reinstate the auto-upgrade from
6325         unencrypted to STARTTLS, if possible.
6326
6327 2010-09-30  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
6328
6329         * message.el (message-ignored-supersedes-headers): Strip Injection-*
6330         headers before superseding.
6331
6332 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6333
6334         * nnrss.el (nnrss-use-local): Add documentation.
6335
6336         * nnimap.el (nnimap-extend-tls-programs): New function.
6337         (nnimap-open-connection): Use tls.el exclusively, and not starttls.el.
6338         (nnimap-wait-for-connection): Accept the greeting from the stupid
6339         output from openssl s_client -starttls, too.
6340
6341         * tls.el (tls-starttls-switches): New variable.
6342         (tls-find-starttls-argument): Use it.
6343         (open-tls-stream): Ditto.
6344
6345         * netrc.el (netrc-credentials): Return the value of the "default" entry.
6346         (netrc-machine): Ditto.
6347
6348         * nnimap.el (nnimap-find-article-by-message-id): Really return the
6349         article number.
6350         (nnimap-split-fancy): New variable.
6351         (nnimap-split-incoming-mail): Use it.
6352
6353         * nntp.el (nntp-server-list-active-group): Document.
6354
6355         * nnimap.el (nnimap-find-article-by-message-id): Use EXAMINE instead of
6356         SELECT to get the message-id.
6357
6358         * mail-source.el (mail-sources): Remove webmail support.
6359         (defvar): Ditto.
6360         (mail-source-fetcher-alist): Ditto.
6361         (mail-source-fetch-webmail): Remove.
6362
6363         * webmail.el: Remove -- doesn't seem relevant any more.
6364
6365         * gnus.el: Fix up make-obsolete-variable declarations throughout.
6366
6367         * nnimap.el (nnimap-request-accept-article): Get the Message-ID without
6368         the \r.
6369
6370 2010-09-30  Julien Danjou  <julien@danjou.info>
6371
6372         * gnus-agent.el (gnus-agent-add-group): Fix call to
6373         gnus-completing-read.
6374
6375 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6376
6377         * nndoc.el (nndoc-retrieve-groups): New function.
6378
6379         * nnimap.el (nnimap-split-incoming-mail): If nnimap-split-methods is
6380         `default', use nnmail-split-methods.
6381         (nnimap-request-article): Downcase the NILs so that they are nil.
6382
6383         * gnus-sum.el (gnus-valid-move-group-p): Make sure that `group' is a
6384         symbol.
6385
6386         * nnimap.el (nnimap-open-connection): Revert the auto-network->starttls
6387         code, since if the user has requested network, that's what they ought
6388         to get.
6389         (nnimap-request-set-mark): Erase the buffer before issuing commands.
6390         (nnimap-split-rule): Mark as obsolete.
6391
6392         * pop3.el (pop3-send-streaming-command, pop3-stream-length):
6393         New variable.
6394
6395         * nnimap.el (nnimap-insert-partial-structure): Get the type from the
6396         correct slot, too.
6397
6398 2010-09-29  Julien Danjou  <julien@danjou.info>
6399
6400         * gnus.el (gnus-local-domain): Declare variable obsolete.
6401
6402         * gnus-util.el (gnus-icompleting-read): Require iswitchb.
6403         Fix history computing.
6404         (gnus-ido-completing-read): Require ido.
6405
6406 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6407
6408         * gnus-registry.el: Don't prompt on load, which makes it impossible to
6409         build Gnus.
6410
6411         * nnimap.el (nnimap-insert-partial-structure): Be way more permissive
6412         when interpreting the structures.
6413         (nnimap-request-accept-article): Add \r\n to the lines to make this
6414         work with Cyrus.
6415
6416         * nndraft.el (nndraft-request-expire-articles): Use the group name
6417         instead if "nndraft".  Fix found by Nils Ackermann.
6418
6419 2010-09-29  Ludovic Courtes  <ludo@gnu.org>
6420
6421         * nnregistry.el: Add.
6422
6423 2010-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6424
6425         * nnmail.el (group, group-art-list, group-art):
6426         Remove unneeded directives.
6427
6428 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
6429
6430         * mm-util.el (mm-codepage-iso-8859-list, mm-charset-eval-alist)
6431         (mm-mime-charset):
6432         * rfc2047.el (rfc2047-syntax-table):
6433         * utf7.el (utf7-utf-16-coding-system): Comment fix.
6434
6435         * nnrss.el (nnrss-read-server-data, nnrss-read-group-data): Use `load'
6436         rather than `insert-file-contents' and `eval-region'.
6437
6438         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6439         construction.
6440
6441         * smime-ldap.el (smime-ldap-search): Remove Emacs 21 compatible code.
6442
6443         * time-date.el: No need to require cl for Emacs 21.
6444
6445 2010-09-29  Julien Danjou  <julien@danjou.info>
6446
6447         * gnus-gravatar.el (gnus-gravatar-properties): Add this properties in
6448         replacement of `gnus-gravatar-relief' to mimic
6449         `gnus-faces-properties-alist'.
6450         Add :version property.
6451
6452 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6453
6454         * mail-source.el (mail-source-report-new-mail):
6455         * message.el (message-default-mail-headers):
6456         * mm-decode.el (mm-valid-image-format-p): Comment fix.
6457
6458         * mml2015.el (mml2015-use): Don't bind recursive-load-depth-limit.
6459
6460 2010-09-28  Julien Danjou  <julien@danjou.info>
6461
6462         * gnus-gravatar.el (gnus-gravatar-insert): Fix search in case
6463         mail-address contains the same string as real-name.
6464
6465         * gnus-ems.el (gnus-put-image): Revert Lars, change and insert
6466         non-blank in header, otherwise it'll get stripped.
6467
6468         * gnus-gravatar.el (gnus-gravatar-insert): Search backward for
6469         real-name, and then for mail address rather than doing : or , search.
6470
6471 2010-09-27  Julien Danjou  <julien@danjou.info>
6472
6473         * gnus-util.el (gnus-completing-read): Use gnus-use-ido to apply the
6474         right completing-read function.
6475         (gnus-use-ido): New variable
6476         (gnus-completing-read-with-default): Remove.
6477         * gnus-agent.el (gnus-agent-read-group): Remove prompt computing.
6478         (gnus-agent-add-group):
6479         * gnus-srvr.el (gnus-server-add-server, gnus-server-goto-server):
6480         * mm-view.el (mm-view-pkcs7-decrypt):
6481         * mm-util.el (mm-codepage-setup):
6482         * smime.el (smime-sign-buffer, smime-decrypt-buffer):
6483         * mml-smime.el (mml-smime-openssl-sign-query):
6484         * mml.el (mml-minibuffer-read-type, mml-minibuffer-read-disposition)
6485         (mml-insert-multipart):
6486         * gnus-msg.el (gnus-summary-yank-message):
6487         * gnus-int.el (gnus-start-news-server):
6488         * mm-decode.el (mm-interactively-view-part):
6489         * gnus-dired.el (gnus-dired-attach):
6490         * gnus.el (gnus-read-method):
6491         * gnus-bookmark.el (gnus-bookmark-jump):
6492         * gnus-art.el (gnus-mime-view-part-as-type)
6493         (gnus-mime-action-on-part, gnus-article-encrypt-body):
6494         * gnus-topic.el (gnus-topic-jump-to-topic, gnus-topic-move-matching)
6495         (gnus-topic-copy-matching, gnus-topic-sort-topics, gnus-topic-move):
6496         * nnmairix.el (nnmairix-create-server-and-default-group)
6497         (nnmairix-update-groups, nnmairix-get-server)
6498         (nnmairix-backend-to-server, nnmairix-goto-original-article)
6499         (nnmairix-get-group-from-file-path):
6500         * nnrss.el (nnrss-find-rss-via-syndic8):
6501         * gnus-group.el (gnus-group-completing-read, gnus-group-make-web-group)
6502         (gnus-group-make-useful-group, gnus-group-add-to-virtual)
6503         (gnus-group-browse-foreign-server):
6504         * gnus-sum.el (gnus-summary-goto-article, gnus-summary-limit-to-extra)
6505         (gnus-summary-execute-command, gnus-summary-respool-article)
6506         (gnus-read-move-group-name):
6507         * gnus-score.el (gnus-summary-increase-score)
6508         (gnus-summary-score-effect):
6509         * gnus-registry.el (gnus-registry-read-mark): Use gnus-completing-read.
6510
6511 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6512
6513         * lpath.el: Remove url-http-file-exists-p, w32-focus-frame, and
6514         x-focus-frame.
6515
6516         * nnimap.el (auth-source-forget-user-or-password)
6517         (auth-source-user-or-password): Autoload.
6518
6519         * message.el (message-from-style, message-interactive)
6520         (message-cite-prefix-regexp, message-sendmail-envelope-from)
6521         (message-yank-prefix, message-indentation-spaces, message-signature)
6522         (message-signature-file): Add comment.
6523
6524 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6525
6526         * gnus-sum.el (gnus-summary-read-group-1): Set gnus-newsgroup-highest.
6527         (gnus-summary-insert-new-articles): Use gnus-newsgroup-highest to get
6528         new articles.
6529
6530         * nnimap.el (nnimap-request-article): Don't partial-fetch single-part
6531         parts.
6532         (nnimap-request-article): Work with the t setting, too.
6533
6534         * gnus-sum.el (gnus-summary-exit): Kill the article buffer later, so
6535         that you don't get flashes of other buffers.
6536         (gnus-summary-show-complete-article): Intern before setting.
6537
6538 2010-09-27  David Engster  <dengste@eml.cc>
6539
6540         * nnmairix.el (nnmairix-replace-group-and-numbers): Deal with NOV as
6541         well as HEADERS.
6542         (nnmairix-retrieve-headers): Provide new argument for the above.
6543
6544 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6545
6546         * gnus-sum.el (gnus-summary-move-article): Don't alter
6547         gnus-newsgroup-active.  This makes `/ N' work after copying to the same
6548         group.
6549
6550         * nnimap.el (nnimap-update-info): Don't destructively alter active.
6551
6552         * message.el (message-cite-prefix-regexp): Revert my last edit.
6553
6554         * gnus-sum.el (gnus-summary-show-complete-article): Bind the server
6555         variable instead of the Gnus variable.
6556
6557         * nnimap.el (nnimap-find-wanted-parts-1): Use it.
6558
6559         * gnus-art.el (gnus-fetch-partial-articles): Move back to nnimap again.
6560
6561         * nnimap.el (nnimap-request-accept-article): Remove the "." at the end,
6562         since some servers don't like it.
6563         (nnimap-open-connection): Forget credentials if the server says the
6564         password was wrong.
6565         (nnimap-parse-line): Protect against invalid data.
6566
6567         * gnus-sum.el (gnus-summary-move-article): Add comment.
6568         (gnus-summary-insert-new-articles): Copy the old-high watermark so that
6569         nothing alters it while scanning for new messages.
6570
6571         * nnimap.el (nnimap-request-accept-article): Send a "." at the end,
6572         which may or may not help.
6573         (nnimap-open-connection): If we're doing a stream connection, and then
6574         discover we're on a STARTTLS-capable server, then open a STARTTLS
6575         connection instead.
6576
6577 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6578
6579         * nnimap.el (utf7): Require.
6580
6581         * message.el (message-cite-prefix-regexp): Remove "}" from citation
6582         prefix.
6583
6584 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
6585
6586         * nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.
6587
6588 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6589
6590         * nnimap.el (nnimap-request-accept-article): Message the error on
6591         error.
6592
6593 2010-09-27  Katsumi Yamaoka  <yamaoka@jpl.org>
6594
6595         * gnus-art.el (gnus-mime-delete-part): Fix Lisp type of byte(s).
6596
6597 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6598
6599         * nndoc.el (nndoc-request-list): Return success always.
6600
6601         * gnus-agent.el (gnus-agent-retrieve-headers): Don't propagate
6602         `fetch-old' -- we only want to fetch the articles we've requested.
6603         The rest are in the agent, probably.
6604         (gnus-agent-read-servers-validate): Change the level for the "Ignoring
6605         disappeared server" to something low.  It's not important.
6606
6607         * nnimap.el (nnimap-get-whole-article): Remove the data that may have
6608         arrived before the FETCH data.
6609
6610         * nnmh.el (nnmh-request-expire-articles): Don't try to fetch the expiry
6611         target here, because we don't know the Gnus name of the group.
6612
6613         * nndraft.el (nndraft-request-expire-articles): Fetch the expiry target
6614         for the correct group.
6615
6616         * gnus-ems.el (gnus-create-image): Ignore all image-creation errors.
6617
6618         * gnus.el (gnus): Give a final warning after startup.
6619
6620         * gnus-util.el (gnus-action-message-log): New variable.
6621         (gnus-message): Use it.
6622         (gnus-final-warning): New function.
6623
6624         * nnimap.el (nnimap-open-connection): Record the greeting.
6625         (nnimap): Add greeting.
6626
6627 2010-09-26  Julien Danjou  <julien@danjou.info>
6628
6629         * gnus-html.el (gnus-html-show-images): Fix gnus-html-display-image
6630         arguments.
6631         (gnus-html-wash-images): Fix spec computing to include start/end.
6632
6633         * gnus-art.el (gnus-article-treat-body-boundary): Fix length computing.
6634
6635 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6636
6637         * nnimap.el (nnimap-request-expire-articles): Compress ranges before
6638         deletion.
6639         (nnimap-retrieve-headers): Don't select the group, because that's
6640         already done by nnimap-possibly-change-group.
6641
6642         * gnus-picon.el (gnus-picon-inhibit-top-level-domains): New variable.
6643         (gnus-picon-transform-address): Use it.
6644
6645         * mail-source.el (mail-source-value): Revert previous patch.
6646
6647         * nnimap.el (nnimap-credentials): Allow inhibiting the password query
6648         on failure.
6649         (nnimap-open-connection): Look up both virtual and physical server name
6650         credentials.
6651
6652         * gnus-win.el: Revert previous patch, since it made Gnus backtrace.
6653
6654 2009-02-07  Dave Love  <fx@gnu.org>
6655
6656         * tls.el (open-tls-stream): Don't query killing process.
6657
6658 2009-02-08  Dave Love  <fx@gnu.org>
6659
6660         * gnus-win.el (gnus-window-to-buffer-helper)
6661         (gnus-all-windows-visible-p): Function needn't be a symbol.
6662
6663         * mail-source.el (mail-source-value): Function needn't be a symbol.
6664
6665 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6666
6667         * message.el (message-cite-prefix-regexp): Remove } from the cite
6668         prefix.
6669
6670         * gnus-art.el (gnus-treatment-function-alist): Do picons before
6671         highlight again, so that the highlight is correct.
6672
6673         * gnus-picon.el (gnus-picon): Remove again.
6674         (gnus-picon-create-glyph): Set the background XPM color explicitly.
6675
6676         * gnus-art.el (gnus-treatment-function-alist): Insert picons after
6677         doing the header highlightling, so that the background color of the
6678         picon is correct.
6679
6680         * gnus-picon.el (gnus-picon-xbm): Remove obsolete face.
6681         (gnus-picon): Ditto.
6682         (gnus-picon): Reinstate.  The background color for picons is white.
6683         (gnus-picon-insert-glyph): Make the background white.
6684
6685         * nnml.el (nnml-open-nov): Don't return dead buffers.
6686
6687         * auth-source.el (auth-source-create): Query the user for whether to
6688         store the credentials.
6689
6690         * netrc.el (netrc-store-data): New function.
6691
6692         * auth-source.el (auth-source-user-or-password): Use the existing auth
6693         sources, if any, for creation.
6694
6695         * gnus.el (gnus-group-fast-parameter): Return the last matching
6696         parameter instead of the first matching parameter.
6697
6698 2010-09-26  Julien Danjou  <julien@danjou.info>
6699
6700         * gnus-sum.el (gnus-auto-center-group): Transform into a defcustom.
6701
6702 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6703
6704         * mml2015.el (mml2015-use): Remove gpg support.
6705
6706         * mml1991.el (mml1991-function-alist): Remove gpg function.
6707         (mml1991-gpg-sign): Remove.
6708
6709 2010-09-26  Andreas Seltenreich  <seltenreich@gmx.de>
6710
6711         * gnus-srvr.el (gnus-browse-subscribe-newsgroup-method): New variable.
6712         (gnus-browse-unsubscribe-current-group): Document it.
6713         (gnus-browse-unsubscribe-group): Use it.
6714
6715 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6716
6717         * gnus-group.el (gnus-read-ephemeral-bug-group): Add the bug email
6718         address to the To list for easier response.
6719
6720         * gnus.el (gnus-play-startup-jingle): Remove.
6721         (gnus-splash): Don't play jingle.
6722         (gnus): Silence gnus-load message.
6723
6724         * gnus-art.el (gnus-treat-play-sounds): Remove.
6725
6726         * gnus.el (gnus-play-jingle): Remove audio support.
6727
6728         * gnus-cus.el (gnus-score-customize): Remove audio reference.
6729
6730         * earcon.el: Remove -- no users.
6731
6732         * gnus-audio.el: Remove -- no users of this package.
6733
6734         * gnus-sum.el (gnus-summary-limit-children): Remove nocem support.
6735
6736         * gnus-start.el (gnus-setup-news): Remove nocem support.
6737
6738         * gnus-group.el (gnus-group-get-new-news): Remove nocem call.
6739
6740         * gnus.el (gnus-use-nocem): Remove.
6741
6742         * gnus-demon.el (gnus-demon-add-nocem, gnus-demon-scan-nocem):
6743         Remove.
6744
6745         * gnus-nocem.el (gnus-nocem-issuers): Remove file.  Apparently nobody
6746         uses NoCeM any more.
6747
6748         * gnus-art.el (gnus-ctan-url): Seems not very useful -- removed.
6749         (gnus-button-ctan-handler): Ditto.
6750         (gnus-button-handle-ctan-bogus-regexp): Ditto.
6751         (gnus-button-ctan-directory-regexp): Ditto.
6752         (gnus-button-handle-ctan): Ditto.
6753         (gnus-button-tex-level): Ditto.
6754         (gnus-button-alist): Remove CTAN stuff.
6755
6756 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6757
6758         * nnimap.el (nnimap-wait-for-response): Reverse logic in the
6759         nnimap-streaming test.
6760
6761         * gnus-start.el (gnus-get-unread-articles): Don't try to open failed
6762         servers twice.
6763
6764         * nnimap.el (nnimap-open-connection): Add more error reporting when
6765         nnimap fails early.
6766
6767         * nnheader.el (nnheader-get-report-string): New function.
6768         (nnheader-get-report): Use it.
6769
6770         * gnus-int.el (gnus-check-server): Say what the error was when opening
6771         failed.
6772
6773         * nnimap.el (nnimap-wait-for-response): Search further when we're not
6774         using streaming.
6775
6776 2010-09-25  Julien Danjou  <julien@danjou.info>
6777
6778         * gnus-html.el (gnus-html-rescale-image): Use our defalias
6779         gnus-window-inside-pixel-edges.
6780
6781 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6782
6783         * gnus-srvr.el (gnus-server-copy-server): Add documentation.
6784
6785         * mm-decode.el (mm-save-part): Allow saving to other directories the
6786         normal Emacs way.
6787
6788         * nndoc.el (nndoc-type-alist): Move mime-parts after mbox.
6789         Suggested by Jay Berkenbilt.
6790
6791         * gnus-art.el (gnus-mime-delete-part): Fix plural for "byte" when
6792         there isn't a single byte.
6793
6794         * gnus-int.el (gnus-open-server): Don't query whether to go offline --
6795         just do it.  It doesn't really seem to matter what the user responds
6796         here, I think, so it's just a confusing question.
6797
6798         * nnimap.el (nnimap-retrieve-group-data-early): Fix typo in the
6799         non-streaming case.
6800
6801         * gnus-art.el (gnus-flush-original-article-buffer): Separate out.
6802         (gnus-article-encrypt-body): Use it.
6803
6804         * gnus-sum.el (gnus-summary-show-complete-article): New command and
6805         keystroke.
6806
6807         * nnimap.el (nnimap-find-wanted-parts-1):
6808         Use gnus-fetch-partial-articles.
6809
6810         * gnus-art.el (gnus-fetch-partial-articles): New variable.
6811
6812         * nnimap.el (nnimap-insert-partial-structure): New function.
6813         (nnimap-get-partial-article): New function.
6814         (nnimap-request-article): Use it.
6815         (nnimap-wait-for-response): Return whether the wait was successful.
6816         (nnimap-finish-retrieve-group-infos): Don't do anything if the
6817         retrieval wasn't successful.
6818         (nnimap-retrieve-group-data-early): Allow throttling servers.
6819         (nnimap-streaming): New variable.
6820         (nnimap-fetch-partial-articles): Remove.
6821
6822         * mm-decode.el (mm-with-part): Protect against killed buffers.
6823
6824         * nndraft.el (nndraft-retrieve-headers): Insert Lines and Chars headers
6825         for prettier summary display.
6826
6827 2010-09-25  Andrew Cohen  <cohen@andy.bu.edu>  (tiny change)
6828
6829         * nnir.el (nnir-run-imap): Allow sending IMAP search patterns directly.
6830
6831 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6832
6833         * gnus.el (gnus-local-domain): Put gnus-local-domain back again, since
6834         apparently third-party libraries depend on it.
6835
6836         * nnimap.el (nnimap-open-connection): Wait for the response to STARTTLS
6837         before starting negotiation.
6838
6839         * gnus-art.el (gnus-treat-from-gravatar): Change default to nil for
6840         privacy reasons.
6841         (gnus-treat-mail-gravatar): Ditto.
6842
6843         * gnus-ems.el (gnus-put-image): Don't put any non-blank text into the
6844         buffer when inserting images.  Inserting text into the headers, for
6845         instance, can make them invalid.
6846
6847 2010-09-25  Julien Danjou  <julien@danjou.info>
6848
6849         * rfc1843.el: Remove useless rfc1843-old-gnus-decode-header-function
6850         variables.
6851
6852         * nnheader.el: Remove useless variables news-reply-yank-from and
6853         news-reply-yank-message-id.
6854
6855         * mml2015.el: Remove useless mc-default-scheme and mc-schemes
6856         variables.
6857
6858         * mml1991.el: Remove useless mml1991-verbose.
6859
6860         * gnus.el: Remove useless variable gnus-use-generic-from.
6861         Remove obsolete variable gnus-topic-indentation.
6862
6863         * gnus-uu.el: Remove useless gnus-uu-shar-file-name.
6864
6865         * gnus-sum.el: Remove useless gnus-newsgroup-none-id.
6866
6867         * gnus-picon.el: Remove useless gnus-picon-setup-p variable.
6868
6869         * gnus-group.el: Remove useless gnus-group-icon-cache.
6870         Remove useless gnus-ephemeral-group-server.
6871
6872         * gnus-bookmark.el: Remove useless gnus-bookmark-after-jump-hook.
6873
6874         * mml2015.el: Remove useless mml2015-verbose.
6875
6876         * mml-smime.el: Remove useless mml-smime-verbose.
6877
6878         * gnus.el: Remove useless gnus-local-domain.
6879
6880         * gnus-gravatar.el (gnus-gravatar-transform-address):
6881         Use gnus-gravatar-size.
6882
6883         * gnus-art.el: Remove useless gnus-treat-translate.
6884
6885 2010-09-24  Julien Danjou  <julien@danjou.info>
6886
6887         * gnus-sum.el: Add support for Gravatars.
6888
6889         * gnus-art.el: Add support for Gravatars.
6890
6891         * gnus-gravatar.el: Add this file.
6892
6893         * gravatar.el: Add this file.
6894
6895 2010-09-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6896
6897         * gnus-sum.el (gnus-summary-fetch-faq): Remove.
6898
6899         * gnus-group.el (gnus-group-fetch-faq): Remove.
6900
6901         * gnus.el (gnus-group-faq-directory): Remove.
6902
6903         * gnus-group.el (gnus-group-fetch-charter): Remove.
6904
6905         * gnus.el (gnus-group-charter-alist): Remove.
6906
6907         * gnus-group.el (gnus-group-archive-directory): Remove.
6908         (gnus-group-recent-archive-directory): Ditto.
6909         (gnus-group-make-archive-group): Remove.
6910
6911         * nnimap.el (nnimap-update-info): Protect against nil uidnexts.
6912
6913         * gnus-cache.el (gnus-cache-braid-heads): When braiding heads, don't
6914         use the same article number for all the cached articles.
6915
6916         * nnimap.el (nnimap-command): Register the last command time so
6917         that we can use it for idling NOOPs.
6918         (nnimap-open-connection): Start the keeplive timer.
6919         (nnimap-make-process-buffer): Store all the process buffers.
6920         (nnimap-keepalive): New function.
6921
6922         * starttls.el (starttls-open-stream): Add autoload cookie.
6923
6924 2010-09-24  Michael Welsh Duggan  <md5i@md5i.com>  (tiny change)
6925
6926         * nnimap.el (nnimap-split-incoming-mail): Fix paren typo in the 'junk
6927         handling.
6928
6929 2010-09-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6930
6931         * nnrss.el (nnrss-retrieve-groups): Change to the group before checking
6932         its data structures.
6933
6934         * gnus.el (gnus-sloppily-equal-method-parameters): Use copy-sequence
6935         instead of the cl.el copy-list.
6936         (gnus-sloppily-equal-method-parameters): Use equal instead of the cl
6937         equalp.
6938
6939 2010-09-24  Katsumi Yamaoka  <yamaoka@jpl.org>
6940
6941         * gmm-utils.el (gmm-tool-bar-from-list): Always use tool-bar-local-item
6942         and tool-bar-local-item-from-menu.
6943
6944         * gnus-agent.el (gnus-agent-make-mode-line-string): Always use
6945         mode-line-highlight face for Emacs.
6946
6947         * gnus-art.el (toplevel): Don't bind recursive-load-depth-limit while
6948         loading gnus-sum.elc; fix comment for canlock-verify.
6949         (gnus-article-jump-to-part): Use read-number.
6950         (gnus-insert-mime-button, gnus-insert-mime-security-button):
6951         Remove Emacs pre-21 compatible code for help-echo.
6952         (gnus-article-next-page-1): No need to adjust the number of lines.
6953         (gnus-article-describe-bindings): Always use help-buffer.
6954
6955         * gnus-audio.el (gnus-audio-inline-sound):
6956         * gnus-cus.el (gnus-custom-mode):
6957         * gnus-group.el (gnus-group-update-tool-bar): Comment fix.
6958
6959         * gnus-sum.el (gnus-remove-overlays): Doc fix.
6960
6961         * gnus-util.el (gnus-select-frame-set-input-focus): Remove Emacs 21
6962         compatible code.
6963
6964 2010-09-24  Glenn Morris  <rgm@gnu.org>
6965
6966         * message.el (message-output): Use gnus-output-to-rmail if a buffer is
6967         visiting the fcc file in rmail-mode.
6968
6969         * dns-mode.el: Move autoloaded auto-mode-alist entries to files.el.
6970
6971 2010-09-24  Katsumi Yamaoka  <yamaoka@jpl.org>
6972
6973         * nnir.el: Silence the byte compiler.
6974
6975         * gnus-html.el (gnus-html-encode-url-chars): New function, that's an
6976         alias to browse-url-url-encode-chars if any.
6977         (gnus-html-encode-url): Use it.
6978
6979 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6980
6981         * gnus-start.el (gnus-use-backend-marks): New variable.
6982         (gnus-get-unread-articles-in-group): Use it.
6983
6984         * gnus-sum.el (gnus-summary-local-variables): Prepare for list/range
6985         makeover.
6986
6987 2010-09-23  Andrew Cohen  <cohen@andy.bu.edu>
6988
6989         * nnimap.el (nnimap-retrieve-headers): Return 'headers.
6990
6991 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6992
6993         * gnus-start.el (gnus-fixup-nnimap-unread-after-getting-new-news):
6994         Remove.
6995         (gnus-setup-news-hook):
6996         Remove gnus-fixup-nnimap-unread-after-getting-new-news.
6997
6998         * gnus-int.el (gnus-request-update-info): Protect against backends not
6999         having the function.
7000
7001         * nnimap.el (nnimap-stream): Mention starttls.
7002         (nnimap-open-connection): Add starttls support.
7003
7004 2010-09-23  Andrew Cohen  <cohen@andy.bu.edu>
7005
7006         * nnir.el (nnir-run-imap): Fix up nnir to work with the new nnimap.
7007
7008 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>