shr: create faces for hN tags
[gnus] / lisp / ChangeLog
1 2011-01-24  Julien Danjou  <julien@danjou.info>
2
3         * shr.el: Use defface to create shr-tag-h[1-6] faces to fontify h[1-6]
4         tags.
5
6 2011-01-24  Lars Ingebrigtsen  <larsi@gnus.org>
7
8         * gnus-art.el (gnus-article-read-summary-keys): Don't call disabled
9         commands.
10
11         * gnus-gravatar.el (gnus-gravatar-insert): Don't move point around
12         in the article buffer.
13         (gnus-gravatar-insert): Use blank space from the current buffer to
14         avoid breaking text properties.  This makes X-Sent updating work again.
15
16         * gravatar.el (gravatar-retrieve): Be silent when retrieving.
17
18 2011-01-23  Lars Ingebrigtsen  <larsi@gnus.org>
19
20         * gnus-html.el (gnus-html-image-fetched): Kill the buffer anyway, and
21         fix the bug in url-http.el instead.
22
23         * shr.el (shr-image-fetched): Ditto.
24
25         * shr.el (shr-image-fetched): Avoid having point move in the article
26         buffer.
27
28         * gnus-html.el (gnus-html-image-fetched): Don't kill the temporary
29         buffer after being called.  It's apparently being killed by url.el, and
30         killing it made point move to end-of-buffer in a random buffer.
31
32         * shr.el (shr-image-fetched): Ditto.
33
34 2011-01-23  Julien Danjou  <julien@danjou.info>
35
36         * mm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
37
38         * mm-uu.el (mm-uu-org-src-code-block-extract): Change text/org to
39         text/x-org.
40
41 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
42
43         * gnus-sum.el (gnus-summary-move-article): Protect against backends
44         (i.e., nnimap) returning nil as the article number.
45
46 2011-01-22  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
47
48         * flow-fill.el (fill-flowed): Make `delete-space' option correspond to
49         "DelSp" parameter in RFC3676.
50
51 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
52
53         * message.el (message-check-recipients): Display the encoded version of
54         the bogus address if they differ.
55
56         * gnus-draft.el (gnus-group-send-queue): Really refresh the queue group
57         after sending.
58
59         * gnus-agent.el (gnus-agent-send-mail): Ditto.
60
61         * gnus-group.el (gnus-group-refresh-group): New convenience function.
62
63         * gnus-draft.el (gnus-group-send-queue): Update the queue group in the
64         group buffer after sending the queue.
65
66         * gnus-agent.el (gnus-agent-send-mail): Ditto.
67
68 2011-01-22  Julien Danjou  <julien@danjou.info>
69
70         * mailcap.el (mailcap-mime-extensions): Rename text/org to text/x-org.
71
72 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
73
74         * mm-decode.el (mm-preferred-alternative-precedence): Don't bug out on
75         nested related parts.
76
77         * nnfolder.el (nnfolder-request-expire-articles): Return the list of
78         unexpired articles.  This fixes the regression that led expiry marks to
79         disappear from nnfolder groups.
80
81 2011-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
82
83         * gnus-art.el (gnus-button-alist, gnus-button-handle-info-keystrokes):
84         Don't confuse the "ret" of "retrograde" with RET.
85
86 2011-01-21  Julien Danjou  <julien@danjou.info>
87
88         * gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather
89         than mm-insert-inline.
90
91 2011-01-21  Katsumi Yamaoka  <yamaoka@jpl.org>
92
93         * gnus-art.el (gnus-article-remove-images, gnus-article-show-images):
94         Widen article buffer.
95
96 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
97
98         * mm-util.el (mm-find-buffer-file-coding-system): Don't forget to kill
99         the temp buffer.
100         * message.el (message-mailer-swallows-blank-line): Use with-temp-buffer.
101
102 2011-01-20  Julien Danjou  <julien@danjou.info>
103
104         * mm-decode.el (mm-inline-media-tests): Add text/x-sh.
105
106         * gnus-art.el (gnus-mime-inline-part): Use mm-display-inline rather
107         than mm-insert-inline to insert inline part: this respect
108         mm-inline-media-tests displayers.
109
110         * mm-view.el (mm-display-shell-script-inline): New function.
111
112         * mm-decode.el (mm-inline-media-tests): Add x-shellscript and x-sh.
113
114         * mm-uu.el (mm-uu-type-alist): Add org block.
115         (mm-uu-org-src-code-block-extract): New function.
116
117         * mm-view.el (mm-display-org-inline): New function.
118
119         * mm-decode.el (mm-automatic-display): Add text/org.
120
121         * mailcap.el (mailcap-mime-extensions): Add .org.
122
123 2011-01-19  Katsumi Yamaoka  <yamaoka@jpl.org>
124
125         * gnus-art.el (gnus-article-highlight): Remove argument passed to
126         gnus-article-add-buttons.
127
128 2011-01-19  Tom Rauchenwald  <sehnsucht.nach.unendlichkeit@quantentunnel.de>  (tiny change)
129
130         * spam.el (spam-spamassassin-register-with-sa-learn): Insert a full
131         From header with a date and "nobody" as the sender.
132
133 2011-01-19  Julien Danjou  <julien@danjou.info>
134
135         * gnus-art.el (gnus-article-add-buttons): Simplify condition.
136         (gnus-button-push): Remove gnus-button-entry function, it fails heavily
137         if you have the same regexp several times.
138         (gnus-button-push): Fix matching when regexp is symbol.
139
140 2011-01-15  Glenn Morris  <rgm@gnu.org>
141
142         * message.el (message-mail): A compose-mail function should
143         accept headers as strings.
144
145 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
146
147         * message.el (message-tool-bar-gnome): Tweak tool-bar items.
148         Add :vert-only tags.
149         (message-mail): New arg RETURN-ACTION.
150         (message-return-action): New var.
151         (message-bury): Use it.
152         (message-mode): Make it buffer-local.
153         (message-send-and-exit): Always call message-bury.
154
155         * gnus-msg.el (gnus-msg-mail): New arg RETURN-ACTION.  Pass it to
156         message-mail.
157
158 2011-01-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
159
160         * nnimap.el (nnimap-convert-partial-article): Protect against
161         zero-length body parts.
162
163         * mm-decode.el (mm-preferred-alternative-precedence):
164         Discourage showing empty parts.
165
166         * gnus-int.el (gnus-request-accept-article): Don't try to update marks
167         and stuff if the backend didn't return the article number.  This fixes
168         an Exchange-related nnimap bug.
169
170         * gnus-sum.el (gnus-summary-next-article): Remove hack to reselect
171         group window, because it does the wrong thing when a separate frame
172         displays the group buffer.
173
174         * proto-stream.el (open-protocol-stream): Protect against the low-level
175         transport functions returning nil.
176
177 2011-01-07  Daiki Ueno  <ueno@unixuser.org>
178
179         * mml2015.el (epg-sub-key-fingerprint): Autoload.
180         (mml2015-epg-find-usable-secret-key): New function.
181         (mml2015-epg-sign): Use mml2015-epg-find-usable-secret-key instead of
182         mml2015-epg-find-usable-key (Bug#7797).
183         (mml2015-epg-encrypt): Ditto.
184
185 2011-01-05  Katsumi Yamaoka  <yamaoka@jpl.org>
186
187         * dgnushack.el (rot13-string): Fix the way to get the argument.
188
189 2011-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
190
191         * flow-fill.el (fill-flowed-encode): Do encoding citation-aware.
192
193 2011-01-03  Glenn Morris  <rgm@gnu.org>
194
195         * sieve-manage.el (sieve-manage-open): Correctly set sieve-manage-port.
196
197         * sieve.el (sieve-open-server): Give a more explicit error if
198         sieve-manage-open returns nil.  (Bug#7720)
199
200 2011-01-02  Karl Fogel  <kfogel@red-bean.com>
201
202         * gnus-msg.el (gnus-message-replyencrypt): Default to `t'.
203
204 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
205
206         * nnimap.el (nnimap-login): Prefer AUTH=CRAM-MD5, if it's available.
207         This avoids sending passwords in plain text over non-encrypted
208         channels.
209
210         * shr.el (shr-rescale-image): Display all GIF images as animated images.
211
212         * nnimap.el (nnimap-login): Refactored out into own function, and
213         implement CRAM-MD5.
214         (nnimap-wait-for-line): Refactored out.
215
216         * mm-view.el (mml-smime): Require.
217
218 2010-12-20  David Engster  <deng@eml.cc>
219
220         * mm-view.el (mm-view-pkcs7-decrypt): If mml-smime-use is set to 'epg,
221         use EPG to decrypt S/MIME messages instead of openssl.
222
223 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
224
225         * nnimap.el (nnimap-request-group): Avoid double SELECT on `M-g'.
226
227         * gnus-group.el (gnus-group-kill-group): Don't try to update the group
228         status is the group clearly is unreachable.
229
230         * auth-source.el (auth-source-create): Add the optional second
231         parameter to `local-variable-p' to be compatible with XEmacs.
232
233 2011-01-02  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
234
235         * nnml.el (nnml-request-article): Allow requesting by Message-ID to
236         work when using a compressed nnml folder.
237
238 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
239
240         * gnus-sum.el (gnus-select-newsgroup): Don't propagate marks to
241         backends after sanitising on entry, because this never makes sense:
242         If the articles have gone missing, then the data no longer exists on
243         the backend, and if they haven't, then Gnus is wrong, and shouldn't
244         overwrite anything anyway.
245
246         * shr.el (shr-insert-document): Bind shr-width dynamically to
247         window-width if it's nil.
248
249 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
250
251         * shr.el (shr-width, shr-insert-document): Allow nil as shr-width value
252         with the meaning of using the full emacs window width for rendering.
253
254 2010-12-27  Daiki Ueno  <ueno@unixuser.org>
255
256         * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Take care the
257         case when sender is not given.
258
259 2010-12-23  Julien Danjou  <julien@danjou.info>
260
261         * gnus-gravatar.el (gnus-gravatar-transform-address): Set
262         `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting
263         the addresses, otherwise we might misplaced the gravatar.
264
265 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
266
267         * mml1991.el (pgg-sign-region, pgg-encrypt-region):
268         * gnus-art.el (pgg-snarf-keys-region): Autoload since PGG is now
269         obsolete in Emacs.
270
271 2010-12-20  Julien Danjou  <julien@danjou.info>
272
273         * gnus-util.el (gnus-rescale-image): Revert last change.
274
275 2010-12-17  Chong Yidong  <cyd@stupidchicken.com>
276
277         * binhex.el: Improve commentary (Bug#7482).
278
279 2010-12-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
280
281         * gnus-group.el (gnus-group-delete-articles): New command.
282
283 2010-12-17  Andrew Cohen  <cohen@andy.bu.edu>
284
285         * nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
286
287 2010-12-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
288
289         * gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change
290         here, since it's up to the backends to do CRLF removal if their
291         protocol has it.
292
293         * nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
294
295 2010-12-17  Julien Danjou  <julien@danjou.info>
296
297         * gnus-util.el (gnus-rescale-image): Allow to resize images even if
298         they are from file. Can also scale up.
299
300 2010-12-17  Andrew Cohen  <cohen@andy.bu.edu>
301
302         * gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore
303         gnus-use-agent.
304         (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
305
306         * nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
307
308 2010-12-17  Julien Danjou  <julien@danjou.info>
309
310         * gravatar.el (gravatar-retrieve-synchronously): New function.
311         (gravatar-get-data): Make more robust.
312
313 2010-12-16  Katsumi Yamaoka  <yamaoka@jpl.org>
314
315         * lpath.el: Bind epa-file-encrypt-to for Emacs 22 and XEmacs.
316
317 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
318
319         * nnimap.el (nnimap-wait-for-response): Fix the end-point calculation
320         to really consider the last line.
321
322 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
323
324         * auth-source.el (auth-source-gpg-encrypt-to): New variable to set the
325         list of recipient keys, or use symmetric encryption if not a list.
326         (auth-source-create): Use it to make `epa-file-encrypt-to' local for an
327         EPA override, replacing the call to `netrc-store-data'.
328
329 2010-12-16  Dan Davison  <dandavison7@gmail.com>  (tiny change)
330
331         * gnus-srvr.el: Avoid passing nil regexp argument to
332         delete-matching-lines.
333
334 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
335
336         * gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML
337         fetching stops when Gnus exits.
338
339         * nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own
340         function.
341         (nnfolder-request-expire-articles): Save all the buffers after doing
342         expiry.
343
344         * nnmail.el (nnmail-expiry-target-group): Revert the "all articles are
345         the last article", since that led to serious performance regressions
346         when expiring nnml groups.
347
348 2010-12-16  Andrew Cohen  <cohen@andy.bu.edu>
349
350         * nnir.el: Improve customizations.
351
352 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
353
354         * gnus-start.el (gnus-subscribe-newsgroup): Notify the backend.
355
356         * gnus-group.el (gnus-group-kill-group): Notify the backend that the
357         group has been killed.
358         (gnus-group-yank-group): Ditto.
359
360         * gnus-srvr.el (gnus-browse-unsubscribe-group): Ditto.
361
362         * nnimap.el (nnimap-request-update-group-status): New function.
363
364         * gnus-int.el (gnus-request-update-group-status): New interface
365         function.
366
367         * gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for
368         copying read-ness to the backends.
369
370         * nnimap.el (nnimap-quirk): New function.
371         (nnimap-retrieve-group-data-early): Use it.
372         (nnimap-quirks): New alist.
373
374 2010-12-16  Katsumi Yamaoka  <yamaoka@jpl.org>
375
376         * shr.el (shr-insert): Set shr-start after deleting trailing space;
377         don't delete it within indentation.
378
379 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
380
381         * nnimap.el (nnimap-wait-for-response): Always look (at least) at the
382         previous line.
383
384 2010-12-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
385
386         * nnimap.el (nnimap-retrieve-group-data-early): Fix the syntax of the
387         QRESYNC command by deleting a superfluous space which broke Cyrus
388         servers.  This change will break other servers that are buggy the other
389         way around.
390
391 2010-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
392
393         * spam.el: Reindent and fix long lines.
394         (spam-copy-or-move-routine): Exclude invalid move destinations.
395
396 2010-12-14  Andrew Cohen  <cohen@andy.bu.edu>
397
398         * nnir.el (nnir-mode): Don't install registry hooks if user hasn't
399         installed the registry.
400
401 2010-12-14  Katsumi Yamaoka  <yamaoka@jpl.org>
402
403         * dgnushack.el (rot13-string): New macro for XEmacs.  netrc.el uses it.
404
405 2010-12-13  Andrew Cohen  <cohen@andy.bu.edu>
406
407         * nnir.el (nnir-run-gmane): Better check for gmane groups: error out if
408         groupname doesn't contain "gmane".
409
410 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
411
412         * netrc.el (netrc-point-at-eol): Remove the unused netrc-point-at-old
413         and netrc-bound-and-true-p bindings.
414         (netrc-parse): Cache the netrc contents.
415
416         * gnus-start.el (gnus-matches-options-n): Fix typo in last change.
417         (gnus-1): Don't create the nndrafts group twice.
418         (gnus-setup-news): There's no need to read the active file here, since
419         that's done again later on a per-backend basis.
420         (gnus-start-draft-setup): Make sure that the new group is started out
421         empty.
422
423         * gnus-agent.el (gnus-agentize): Don't create the queue group
424         automatically on startup.  It'll be created later, if needed.
425
426         * gnus-start.el (gnus-auto-subscribed-groups): Add nnimap to the list
427         of automatically subscribed groups.
428         (gnus-auto-subscribed-categories): New variable.
429         (gnus-matches-options-n): Use it.
430         (gnus-default-subscribed-newsgroups): Remove unused variable.
431         (gnus-start-draft-setup): Message a bit less.
432
433 2010-12-13  Andrew Cohen  <cohen@andy.bu.edu>
434
435         * nnir.el (nnir-run-imap): Return article list in order of increasing
436         UID.
437
438 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
439
440         * gnus-sum.el (gnus-summary-enter-digest-group):
441         Mention gnus-auto-select-on-ephemeral-exit.
442
443         * proto-stream.el (proto-stream-open-network-only): Fix the calling
444         convention of the network-only option.
445
446 2010-12-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
447
448         * proto-stream.el (proto-stream-open-network-only): New function to
449         have a way to specify non-STARTTLS upgrade connections.
450
451 2010-12-10  Julien Danjou  <julien@danjou.info>
452
453         * gnus-gravatar.el (gnus-gravatar-transform-address): Fix error when
454         email address is nil.
455
456         * message.el (message-bogus-recipient-p): Set address to "" if nil.
457
458 2010-12-10  Andrew Cohen  <cohen@andy.bu.edu>
459
460         * nnir.el (nnir-request-expire-articles): Ignore expiry except for
461         deletion.
462         (nnir-run-imap): Only need to parse list once.
463
464 2010-12-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
465
466         * shr.el (shr-tag-script): Ignore <script>.
467         (shr-tag-label): Add <label> support.
468
469 2010-12-09  Katsumi Yamaoka  <yamaoka@jpl.org>
470
471         * mm-util.el (mm-ucs-to-char): Use eval-and-compile.
472
473         * shr.el (shr-image-displayer): Work for images lined side by side.
474
475 2010-12-08  Robert Pluim  <rpluim@gmail.com>
476
477         * gnus-demon.el (gnus-demon-init): Call run-with-timer with an integer
478         parameter, since XEmacs doesn't accept t as a parameter.
479
480 2010-12-08  Andrew Cohen  <cohen@andy.bu.edu>
481
482         * nnir.el (nnir-retrieve-headers): Use rassq when comparing article
483         ids.
484         (nnir-run-gmane): Simplify groupspec formatting.
485         (nnir-request-expire-articles): New function.
486
487 2010-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
488
489         * nnimap.el (nnimap-parse-flags): Tweak VANISHED regexp to avoid regexp
490         overflow, possibly.
491
492         * shr.el (shr-tag-table-1): Use bg/gfcolor specs on tables.
493         (shr-render-td): Handle td style="" better.
494         (shr-tag-table): Use the color from the style sheet.
495         (shr-render-td): Make sure we copy over all the overlays, too.
496
497 2010-12-07  Andrew Cohen  <cohen@andy.bu.edu>
498
499         * nnir.el (nnir-run-gmane): Restore sub-optimal test for gmane server.
500         (nnir-request-article): Improve article retrieval.
501
502 2010-12-07  Katsumi Yamaoka  <yamaoka@jpl.org>
503
504         * mm-util.el (mm-extra-numeric-entities): New variable.
505
506         * mm-url.el (mm-url-decode-entities):
507         * mm-decode.el (mm-shr): Use it to decode extra numeric entities.
508
509         * lpath.el: Fbind completion-at-point for Emacs 22 and XEmacs.
510
511 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
512
513         * message.el: Use completion-at-point.
514         (message-completion-function): New fun, extracted from message-tab.
515         (message-mode): Use it for completion-at-point-functions.
516         (message-tab): Use it and completion-at-point.
517
518 2010-12-07  Katsumi Yamaoka  <yamaoka@jpl.org>
519
520         * shr.el (shr-find-fill-point): Don't break a line after a kinsoku-bol
521         character if a non-breakable character follows.
522
523 2010-12-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
524
525         * proto-stream.el (proto-stream-open-tls): Return nil if we don't get
526         any stream.
527
528         * shr.el (shr-tag-font): Colorize the region.
529         (shr-tag-body): Ditto.
530         (shr-tag-font): Actually let the styles be inherited instead of
531         overwriting them.
532         (shr-tag-font): Get the background color right.
533         (shr-tag-style): Ignore all <style> tags for the moment.
534
535         * gnus-int.el (gnus-request-thread): Rework to take a header instead of
536         a Message-ID to avoid having nnimap depend on gnus-sum.
537
538         * shr.el (shr-descend): Only colorize something if we have a node that
539         sets colors.
540
541 2010-12-06  Julien Danjou  <julien@danjou.info>
542
543         * shr.el (shr-render-td): Render td content with shr-descend, so style
544         will be applied to <td> too.
545         (shr-colorize-region): Colorize region even if we only have a background.
546         (shr-tag-body): Fix color and background color inheritance.
547         Do not recolorize after shr-generic.
548         (shr-tag-font): Let shr-generic colorize via inheritance.
549
550 2010-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
551
552         * shr.el (shr-find-fill-point): Don't regard apostrophe as kinsoku-bol.
553
554 2010-12-06  Andrew Cohen  <cohen@andy.bu.edu>
555
556         * nnir.el (nnir-request-move-article): Remove obsolete code.
557
558 2010-12-05  Katsumi Yamaoka  <yamaoka@jpl.org>
559
560         * gnus-util.el (gnus-macroexpand-all): Use eval-and-compile.
561
562 2010-12-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
563
564         * gnus-sum.el (gnus-summary-respool-article): The completion function
565         expects a list instead of an alist.
566
567         * nntp.el (nntp-snarf-error-message): nnheader-report takes a format
568         string as the parameter.
569
570         * gnus.el (gnus-valid-select-methods): Allow nnimap to respool.
571
572         * shr.el (shr-stylesheet): New dynamic variable for cascading the
573         styles.
574         (shr-colorize-region): New function.
575         (shr-insert-background-overlay): Remove.
576         (shr-render-td): Background setting should be taken care of on a higher
577         level.
578         (shr-tag-body): Use post-hoc colorizations.
579         (shr-tag-body): Set up a style sheet based on bgcolor/fgcolor.
580         (shr-put-color-1): Don't overwrite old colors.
581         (shr-colorize-region): When the background color isn't explicit, use
582         a fixed background.
583
584         * gnus-util.el (gnus-output-to-mail): Require nnmail before using
585         nnmail variables.
586
587 2010-12-05  Bjørn Mork  <bjorn@mork.no>
588
589         * nnimap.el (nnimap-process-expiry-targets): Avoid downloading articles
590         unless necessary.
591
592 2010-12-05  Andrew Cohen  <cohen@andy.bu.edu>
593
594         * nnir.el (nnir-run-gmane): Use more careful test for gmane nntp
595         server.
596
597 2010-12-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
598
599         * gnus-html.el (gnus-html-put-image): Use widget instead of local maps
600         so that TAB works.
601
602         * gnus-sum.el (gnus-summary-show-article): Reverse the meanings of `C-u
603         C-u g' and `C-u g' so that `C-u g' does what it traditionally did.
604
605         * shr.el (shr-urlify): Show the URL before the title to avoid
606         misleading URLs.
607
608 2010-12-04  Adam Sjøgren  <asjo@koldfront.dk>
609
610         * shr.el (shr-urlify): Display the title in <a> tags.
611
612 2010-12-04  Andrew Cohen  <cohen@andy.bu.edu>
613
614         * nnir.el (nnir-categorize): Replace mapcar with mapc.
615
616 2010-12-03  Andrew Cohen  <cohen@andy.bu.edu>
617
618         * nnir.el: Rearrange code to allow macros to be autoloaded by
619         gnus-sum.el.
620         (nnir-retrieve-headers-override-function): Make this variable
621         customizable.
622         (nnir-retrieve-headers): Remove obsolete subject-mangling code.
623
624         * gnus-sum.el (nnir-article-group,nnir-article-rsv): Autoload macros
625         from nnir.el.
626
627 2010-12-03  Julien Danjou  <julien@danjou.info>
628
629         * gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.
630
631 2010-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
632
633         * gnus-util.el (gnus-macroexpand-all): Don't modify argument;
634         allow optional argument `environment'.
635
636 2010-12-03  Glenn Morris  <rgm@gnu.org>
637
638         * mm-extern.el (message-goto-body): Update declaration.
639
640 2010-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
641
642         * gnus-util.el (gnus-macroexpand-all): New function.
643
644         * gnus-sum.el (gnus-summary-line-format-alist): Use gnus-macroexpand-all
645         instead of macroexpand-all that is unavailable in XEmacs.
646
647 2010-12-02  Andrew Cohen  <cohen@andy.bu.edu>
648
649         * nnir.el (nnir-summary-line-format): New variable.
650         (nnir-mode): Use it.
651         (nnir-artlist-*,nnir-aritem-*): Reimplement as macros.
652         (nnir-article-ids): Reimplement as defsubst.
653         (nnir-retrieve-headers): Don't mangle the subject header.
654         (nnir-run-imap): Use 100 as RSV score.
655         (nnir-run-find-grep): Fix for full server searching.
656         (nnir-run-gmane): Better restriction to gmane groups.
657
658         * gnus-sum.el (gnus-summary-line-format-alist): Add specs for nnir
659         summary buffers.
660
661 2010-12-02  Julien Danjou  <julien@danjou.info>
662
663         * gnus-win.el (gnus-configure-frame): Remove old compatibility code.
664
665         * gnus-msg.el: Mark gnus-outgoing-message-group as obsolete.
666
667         * gnus-win.el (gnus-configure-windows): Remove Gnus 3.x setting
668         support.
669
670 2010-12-01  Andrew Cohen  <cohen@andy.bu.edu>
671
672         * nnir.el: Update to handle the registry better.
673         (autoload): Silence byte-compiler.
674         (nnir-open-server): Add a hook for nnir groups.
675         (nnir-request-move-article): Don't mangle the header. Better to use
676         formating variables (which will be added in the future).
677         (nnir-registry-action): Update the registry using the original article
678         group name.
679         (nnir-mode): Install nnir-specific hooks for updating the registry.
680
681         * gnus-sum.el
682         (gnus-article-original-subject,gnus-newsgroup-original-name):
683         Remove obsolete variables.
684         (gnus-summary-move-article): Remove use of obsolete variables.
685         (gnus-summary-local-variables): Make move and delete hooks local to
686         summary buffers.
687
688 2010-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
689
690         * rtree.el: New file.
691
692 2010-12-01  Julien Danjou  <julien@danjou.info>
693
694         * message.el (message-user-organization): Do not use
695         gnus-local-organization.
696
697         * gnus.el: Remove gnus-local-organization.
698
699         * gnus-msg.el: Remove nastygram thing.
700
701 2010-12-01  Teodor Zlatanov  <tzz@lifelogs.com>
702
703         * nnmaildir.el (nnmaildir-request-set-mark): Add article to add-mark
704         funcall.
705
706 2010-12-01  Katsumi Yamaoka  <yamaoka@jpl.org>
707
708         * gnus-gravatar.el (gnus-gravatar-insert): Allow LWSP in the middle of
709         names.
710
711         * shr.el (shr-find-fill-point): Don't break line between kinsoku-bol
712         characters.
713
714         * gnus-gravatar.el (gnus-gravatar-insert): Delete unnecessary binding
715         to t of inhibit-read-only since it is inside gnus-with-article-headers.
716         Suggested by Å tÄ›pán NÄ›mec <stepnem@gmail.com>.
717         (gnus-gravatar-transform-address): Use mail-extract-address-components
718         that supports non-ASCII names rather than mail-header-parse-addresses.
719
720 2010-11-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
721
722         * proto-stream.el (open-protocol-stream): All starttls connections are
723         handled by the network handler.
724
725 2010-11-30  Julien Danjou  <julien@danjou.info>
726
727         * nnimap.el (nnimap-open-connection-1): Use gnus-string-match-p.
728         (nnimap-open-connection-1): Fix PREAUTH.
729
730         * gnus-gravatar.el (gnus-gravatar-size): Set gnus-gravatar-size to nil.
731
732 2010-11-30  Katsumi Yamaoka  <yamaoka@jpl.org>
733
734         * shr.el (shr-char-breakable-p, shr-char-nospace-p)
735         (shr-char-kinsoku-bol-p, shr-char-kinsoku-eol-p): New macros.
736         (shr-insert): Use them.
737         (shr-find-fill-point): Work better for kinsoku chars and apostrophes.
738
739 2010-11-29  Andrew Cohen  <cohen@andy.bu.edu>
740
741         * nnir.el (nnir-request-move-article): Bail out if original group
742         doesn't support article moves.
743         (nnir-get-active): Improve active list retrieval.
744
745 2010-11-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
746
747         * shr.el (shr-find-fill-point): Don't break before apostrophes.
748
749 2010-11-29  Binjo  <binjo.cn@gmail.com>  (tiny change)
750
751         * nnimap.el (nnimap-open-connection-1): w32 open-network-stream doesn't
752         seem to accept strings-with-numbers as port numbers,
753
754 2010-11-29  Andrew Cohen  <cohen@andy.bu.edu>
755
756         * gnus-sum.el (gnus-summary-delete-article): If delete fails don't
757         change the registry.
758
759 2010-11-29  Katsumi Yamaoka  <yamaoka@jpl.org>
760
761         * nnir.el (nnir-run-gmane): Use mm-delete-duplicates instead of
762         delete-dups that is not available in XEmacs 21.4.
763
764         * mm-util.el (mm-delete-duplicates): Add comment.
765
766 2010-11-28  Andrew Cohen  <cohen@andy.bu.edu>
767
768         * nnir.el (nnir-ignored-newsgroups): New variable.
769         (nnir-get-active): Use it.
770
771 2010-11-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
772
773         * proto-stream.el (proto-stream-open-network): Add some comments.
774
775         * nntp.el (nntp-open-connection): Provide a :success condition.
776
777         * nnimap.el (nnimap-open-connection-1): Ditto.
778
779         * proto-stream.el (proto-stream-open-network): See what the response to
780         the STARTTLS command is.
781
782         * nnimap.el (nnimap-open-connection-1): Always upgrade to STARTTLS (for
783         backwards compatibility).
784         (nnimap-open-connection-1): Really respect nnimap-server-port.
785
786         * proto-stream.el (proto-stream-open-network): When doing opportunistic
787         TLS upgrades we don't really care about the identity of the peer.
788         (proto-stream-open-network): Force starttls.el to use gnutls-cli, since
789         that what we've checked for.
790         (proto-stream-always-use-starttls): Only default to t if
791         open-gnutls-stream exists.
792         (proto-stream-open-network): If STARTTLS failed, then just open a
793         normal connection.
794         (proto-stream-open-network): Wait until the greeting before doing
795         STARTTLS.
796
797         * nntp.el (nntp-open-connection): Report what the connection error is.
798
799         * proto-stream.el (open-protocol-stream): Rename from
800         open-proto-stream.
801
802 2010-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
803
804         * nnimap.el (nnimap-stream): Change default to `undecided'.
805         (nnimap-open-connection): If `nnimap-stream' is `undecided', try ssl
806         first, and then network.
807         (nnimap-open-connection-1): Respect nnimap-server-port.
808         (nnimap-open-connection): Be more backwards-compatible.
809
810         * proto-stream.el (proto-stream-always-use-starttls): New variable.
811         (proto-stream-open-starttls): De-duplicate the starttls code.
812         (proto-stream-open-starttls): Folded back into the main function.
813         (proto-stream-open-network): Fix typo in the gnutls path.
814         (proto-stream-command): Refactor out.
815
816         * nntp.el (nntp-open-connection): Fix the STARTTLS command syntax.
817
818         * proto-stream.el (proto-stream-open-starttls): Actually implement the
819         starttls.el STARTTLS.
820
821         * color.el (color-lab->srgb): Fix function call name.
822
823         * proto-stream.el (proto-stream-open-tls): Delete output from openssl
824         if we're using tls.el.
825         (proto-stream-open-network): If we don't have gnutls-cli or gnutls
826         built in, then don't try to establish a STARTTLS connection.
827
828         * nntp.el (nntp-open-connection): Switch on STARTTLS on supported
829         servers.
830
831         * proto-stream.el (open-proto-stream): Use network, not stream.
832         (open-proto-stream): Add a way to specify what the end of a command is.
833
834         * nntp.el (nntp-open-connection): Use proto-streams for the relevant
835         connections types.
836         (nntp-open-network-stream): Remove.
837         (nntp-open-ssl-stream): Remove.
838         (nntp-open-tls-stream): Remove.
839         (nntp-ssl-program): Remove.
840
841         * nnimap.el (nnimap-open-connection): Check for "OK" from the greeting.
842
843 2010-11-27  Andrew Cohen  <cohen@andy.bu.edu>
844
845         * nnir.el: Fix typos.
846         (nnir-retrieve-headers-override-function): Rename variable to reflect
847         new semantics.
848         (nnir-article-group, nnir-article-number, nnir-article-rsv): New helper
849         macros.
850         (nnir-request-article, nnir-request-move-article): Use them.
851         (nnir-categorize): New function.
852         (nnir-run-query): Use it.
853         (nnir-retrieve-headers): Rewrite to batch header retrieval.
854         (nnir-run-gmane): nnir-retrieve-headers now returns the headers already
855         sorted.
856         (nnir-group-full-name): Use gnus-group-full-name instead.
857         (nnir-artlist-artitem-group, nnir-artlist-artitem-number)
858         (nnir-artlist-artitem-rsv, nnir-sort-groups-by-server): Obsolete.
859
860 2010-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
861
862         * nnimap.el (nnimap-open-connection): Fix typo in STARTTLS command.
863
864         * proto-stream.el: New library to provide protocol-specific
865         TLS/STARTTLS connections for IMAP, NNTP, SMTP, POP3 and similar
866         protocols.
867         (open-proto-stream): Complete the documentation.
868         (proto-stream-open-network): Fix some typos.
869
870         * nnimap.el (nnimap-open-connection): Use it.
871
872 2010-11-27  Yuri Karaban  <tech@askold.net>  (tiny change)
873
874         * pop3.el (pop3-open-server): Read server greeting before starting TLS
875         negotiation.
876
877 2010-11-26  Julien Danjou  <julien@danjou.info>
878
879         * color.el: Rename various rgb functions to srgb.
880
881 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
882
883         * nnimap.el (nnimap-get-groups): Allow non-quoted strings as mailbox
884         names.
885
886 2010-11-26  Katsumi Yamaoka  <yamaoka@jpl.org>
887
888         * shr.el (shr-insert): Revert last change.
889         (shr-find-fill-point): Never leave point being at bol;
890         relax the kinsoku limitation when rendering tables.
891
892 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
893
894         * nnmail.el (nnmail-expiry-target-group): Protect against degenerate
895         results from -accept-article.
896
897         * shr-color.el: Require cl when compiling.
898
899         * nnheader.el (nnheader-update-marks-actions): Fix typo in last
900         checkin.
901
902         * gnus-art.el (gnus-url-mailto): Unfold URLs before using them.
903
904         * nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
905
906         * gnus-sum.el (gnus-summary-push-marks-to-backend): Use 'set instead of
907         'add and 'delete to set backend marks.
908
909         * nnmaildir.el (nnmaildir-request-set-mark): Be explicit about 'set.
910
911         * nnheader.el (nnheader-update-marks-actions): Refactor out.
912
913         * nntp.el (nntp-request-set-mark): Use it.
914
915         * nnfolder.el (nnfolder-request-set-mark): Ditto.
916
917         * nnml.el (nnml-request-set-mark): Ditto.
918
919         * nnimap.el (nnimap-last-response-string): Remove the unfolding -- it
920         introduces regressions in article selection.
921         (nnimap-find-uid-response): New function.
922         (nnimap-request-accept-article): Use the UID returned, if any.
923         (nnimap-request-move-article): Use the UID returned, if any.
924         (nnimap-get-groups): Reimplement to work with folded lines.
925         (nnimap-find-uid-response): The UID is the last element in the list.
926         (nnimap-request-set-mark): Extend syntax with 'set.
927
928         * nnml.el (nnml-request-set-mark): Ditto.
929
930         * nnfolder.el (nnfolder-request-set-mark): Ditto.
931
932         * nntp.el (nntp-request-set-mark): Ditto.
933
934 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
935
936         * message.el (message-called-interactively-p): A temporary macro.
937         (message-goto-body): Use it temporarily.
938
939 2010-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
940
941         * nnimap.el (nnimap-unfold-quoted-lines): Refactor out.
942         (nnimap-last-response-string): Unfold quoted lines, if they exist.
943         (nnimap-last-response-string): Fix last unfolding fix.
944
945 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
946
947         * shr.el (shr-insert): Fix the way to fold lines.
948
949 2010-11-25  Julien Danjou  <julien@danjou.info>
950
951         * shr-color.el (shr-color->hexadecimal): Use color-rgb->hex
952
953         * color.el: Rename from color-lab.el
954         (color-rgb->hex): Add.
955         (color-complement): Add.
956         (color-complement-hex): Add.
957
958         * gnus-sum.el (gnus-summary-widget-forward): Add, and bind to [tab].
959
960 2010-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
961
962         * shr-color.el (shr-color-visible): Don't bug out if the colour names
963         don't exist.
964
965 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
966
967         * mml.el (mml-preview): Make sure to bind gnus-displaying-mime to nil,
968         assuming that article displaying or another mml-preview may be
969         interrupted for an error or for the like.
970
971         * shr.el (shr-get-background): Fix argument name.
972
973 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
974
975         * gnus-cache.el (gnus-summary-insert-cached-articles): Use it.
976
977         * gnus-sum.el (gnus-summary-include-articles): New function.
978
979         * message.el (message-goto-body): called-interactively-p needs a
980         parameter, so use `any'.
981
982         * nnimap.el (nnimap-request-move-article): It's no longer necessary to
983         clear marks before moving, since they're synced from the Gnus side
984         first.
985
986         * gnus-sum.el (gnus-summary-push-marks-to-backend): New function.
987         (gnus-summary-move-article): Copy over all marks before moving, so that
988         IMAP doesn't think a new article has arrived.
989
990 2010-11-24  Julien Danjou  <julien@danjou.info>
991
992         * shr.el (shr-insert-background-overlay): Fix typo.
993         (shr-render-td): Copy the background before rendering.
994
995         * shr-color.el (shr-color-visible): Fix docstring.
996
997         * shr.el (shr-tag-table): Add bgcolor support.
998         (shr-render-td): Add bgcolor support.
999         (shr-get-background): Add.
1000         (shr-insert-foreground-overlay): Use shr-get-background.
1001
1002         * message.el (message-goto-body): Use called-interactively-p.
1003         (message-in-body-p): message-goto-body returns point.
1004
1005 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1006
1007         * mm-util.el (mm-enable-multibyte): Use `to' instead of t.  This fixes
1008         Fixes something or other in Emacs 23, and is backwards compatible.
1009
1010         * message.el (message-goto-body): Remove the <#secure special-casing,
1011         which is too special.
1012
1013         * shr.el (shr-parse-style): Drop !important from styles.
1014
1015 2010-11-24  Daniel Schoepe  <daniel.schoepe@googlemail.com>  (tiny change)
1016
1017         * gnus-sum.el (gnus-summary-articles-in-thread): Fix a bug that causes
1018         this function to return incorrect results when calling it with an
1019         explicit article argument different from
1020         (gnus-summary-article-number).
1021
1022 2010-11-24  Julien Danjou  <julien@danjou.info>
1023
1024         * shr.el (shr-insert-color-overlay): Replace deprecated syntax.
1025         (shr-tag-body): Add background support.
1026         (shr-descend): Add background support.
1027         (shr-tag-title): Add.
1028
1029         * shr-color.el (shr-color-visible): Really return original background
1030         if fixed.
1031
1032 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1033
1034         * shr.el (shr-color-check): Protect against non-existant colour names.
1035
1036 2010-11-24  Julien Danjou  <julien@danjou.info>
1037
1038         * color-lab.el: Require 'cl when compiling.
1039
1040         * shr.el (shr-insert-color-overlay): Remove specific rgb() check.
1041
1042         * shr-color.el (shr-color->hexadecimal): Only return the hexadecimal
1043         matched part.
1044
1045         * color-lab.el: Fix all expt calls to use float type.
1046
1047 2010-11-24  Katsumi Yamaoka  <yamaoka@jpl.org>
1048
1049         * shr.el (shr-insert-color-overlay): Pass rgb(rrr, ggg, bbb) type color
1050         expression to shr-color-check as is.
1051
1052         * shr-color.el (shr-color->hexadecimal): Ignore case of color names.
1053
1054         * color-lab.el: Add coding cookie.
1055         (float-pi): Use eval-and-compile.
1056
1057         * dgnushack.el (dgnushack-compile): Exclude shr-color.el from being
1058         compiled for Emacsen having no `libxml-parse-html-region' support.
1059
1060 2010-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1061
1062         * shr.el (shr-insert-color-overlay): Split stuff like
1063         "#444444 !important" to find the real colour.
1064         (shr-tag-font): Resurrect shr-tag-font again, since it's needed to
1065         parse <font color="red"> entries.
1066
1067 2010-11-23  Andrew Cohen  <cohen@andy.bu.edu>
1068
1069         * nnheader.el (nnheader-parse-head): Bug fix.  Properly position
1070         point when parsing headers.
1071
1072         * nnspool.el (nnspool-insert-nov-head): Bug fix.  Make sure point
1073         is positioned properly when parsing headers.
1074
1075 2010-11-23  Julien Danjou  <julien@danjou.info>
1076
1077         * color-lab.el (boundp): Bind float-pi for Emacs < 23.3.
1078
1079         * shr-color.el (shr-color->hexadecimal): Add support for color names.
1080
1081         * shr.el (shr-parse-style): Replace \n with space in style parsing.
1082
1083         * shr-color.el (shr-color-hsl-to-rgb-fractions):
1084         Use shr-color-hue-to-rgb.
1085         (shr-color->hexadecimal): Call shr-color-hsl-to-rgb-fractions.
1086
1087 2010-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1088
1089         * shr.el (shr-color->hexadecimal): Autoload.
1090         (shr-descend): Add color to all tags.
1091
1092 2010-11-22  Julien Danjou  <julien@danjou.info>
1093
1094         * shr.el (shr-tag-color-check): Convert colors to hexadecimal with
1095         shr-color->hexadecimal.
1096
1097         * shr-color.el (shr-color->hexadecimal): Add converting functions for
1098         RGB() or HSL() color representation.
1099
1100         * shr.el (shr-tag-font): Add.
1101         (shr-tag-color-check): New function to get better colors.
1102         (shr-tag-insert-color-overlay): Factorize code between tag-font and
1103         tag-span.
1104
1105         * shr-color.el: New file.
1106
1107         * color-lab.el: New file.
1108
1109         * gnus-art.el (gnus-url-mailto): Do not downcase args.
1110
1111 2010-11-21  Andrew Cohen  <cohen@andy.bu.edu>
1112
1113         * nnir.el: Fix typo in comments.
1114         (nnir-run-imap): Simplify code. No need to reverse artlist.
1115         (nnir-run-gmane): Use nnir-tmp-buffer for web results.
1116
1117 2010-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1118
1119         * gnus-srvr.el (gnus-server-show-server): New command and keystroke.
1120
1121         * nnimap.el (nnimap-get-capabilities): Refactor out.
1122         (nnimap-open-connection): Re-request capabilities after STARTTLS.
1123
1124 2010-11-21  Ralf Angeli  <angeli@caeruleus.net>
1125
1126         * mm-uu.el (mm-uu-type-alist): Prevent spurious empty line from
1127         appearing when `mm-uu-hide-markers' is nil.
1128
1129 2010-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1130
1131         * nnimap.el (nnimap-unselect-group): Make into its own function.
1132         (nnimap-request-rename-group): Unselect group before renaming.
1133         This had gotten lost somewhere.
1134         (nnimap-request-accept-article): Keep track of examined groups, and
1135         unselect the group before APPENDing to read-only groups.
1136         (nnimap-request-move-article): Clear flags before moving so that they
1137         can be re-set later.
1138
1139 2010-11-20  Katsumi Yamaoka  <yamaoka@jpl.org>
1140
1141         * gnus-gravatar.el (gnus-gravatar-transform-address): Decode name again.
1142         (gnus-gravatar-insert): Put avatar always in the beginning of the field.
1143
1144 2010-11-19  Katsumi Yamaoka  <yamaoka@jpl.org>
1145
1146         * gnus-art.el (gnus-mime-display-single)
1147         * gnus-html.el (gnus-html-wash-images, gnus-html-prefetch-images)
1148         * mm-decode.el (mm-shr): Assume that gnus-inhibit-images may be a group
1149         parameter.
1150
1151 2010-11-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1152
1153         * shr.el (shr-table-horizontal-line): Rename from shr-table-line.
1154         (shr-table-vertical-line): New variable.
1155         (shr-insert-table): Use it.
1156
1157 2010-11-18  Katsumi Yamaoka  <yamaoka@jpl.org>
1158
1159         * gnus-html.el (gnus-html-wash-images): Don't display images if
1160         gnus-inhibit-images is non-nil; register displayer for cid images.
1161         (gnus-html-display-image): Work for cid image.
1162         (gnus-html-insert-image): Allow arguments.
1163         (gnus-html-put-image): Inhibit read-only.
1164         (gnus-html-prefetch-images): Don't prefetch images if
1165         gnus-inhibit-images is non-nil.
1166
1167 2010-11-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1168
1169         * shr.el (shr-put-image): Break lines when inserting big pictures.
1170
1171 2010-11-17  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
1172
1173         * mml2015.el (mml2015-epg-encrypt): Fix two cons with missing
1174         sender, thanks Katsumi Yamaoka.
1175
1176 2010-11-17  Andrew Cohen  <cohen@andy.bu.edu>
1177
1178         * nnir.el (nnir-run-imap): Reverse the article list for each group
1179         rather than the whole list.
1180
1181 2010-11-17  Katsumi Yamaoka  <yamaoka@jpl.org>
1182
1183         * shr.el (shr-image-displayer): Protect function against non-existent
1184         image source.
1185
1186         * gnus-art.el (gnus-inhibit-images): New user option.
1187         (gnus-mime-display-single): Don't display image if it is non-nil.
1188
1189         * mm-decode.el (mm-shr): Bind shr-inhibit-images to the value of
1190         gnus-inhibit-images.
1191
1192         * shr.el (shr-image-displayer): New function.
1193         (shr-tag-img): Use it.
1194
1195 2010-11-16  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
1196
1197         * mml2015.el (mml2015-epg-sign): Use From header.
1198
1199 2010-11-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1200
1201         * gnus-html.el (gnus-html-wash-images): Register a displayer.
1202
1203         * gnus-util.el (gnus-find-text-property-region): Return markers.
1204
1205         * shr.el (shr-tag-img): Put a displayer in the text property.
1206
1207         * gnus-util.el (gnus-find-text-property-region): New utility function.
1208
1209         * gnus-html.el (gnus-html-display-image): Make the alt optional.
1210         (gnus-html-show-images): Remove.
1211
1212         * gnus-art.el (gnus-article-show-images): New, more general function.
1213
1214         * gnus-html.el: Use image-url instead of gnus-image-url to unify the
1215         image url text properties.
1216
1217         * shr.el: Ditto.
1218
1219         * gnus-agent.el (gnus-agentize): Only do the auto-agentizing if
1220         gnus-agent-auto-agentize-methods is set.  Which it isn't.
1221
1222 2010-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1223
1224         * gnus-sum.el (gnus-summary-move-article): Fix `while' loop to make it
1225         work for two or more articles.
1226
1227 2010-11-12  Katsumi Yamaoka  <yamaoka@jpl.org>
1228
1229         * gnus-art.el (article-treat-non-ascii): Keep text properties not to
1230         divide an image that's in an html article to two or more when washing
1231         non-ASCII characters in alt text of it.
1232
1233 2010-11-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1234
1235         * mm-decode.el (mm-dissect-buffer): Pass sender's mail address to
1236         smime-decrypt-region using function argument.
1237         (mm-possibly-verify-or-decrypt, mm-dissect-multipart): Relay it.
1238
1239         * mm-view.el (mm-view-pkcs7, mm-view-pkcs7-decrypt): Relay it.
1240
1241         * smime.el (smime-decrypt-region): Catch it.
1242
1243 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1244
1245         * smime.el (smime-mode-map): Move initialization into declaration.
1246         (gnus-run-mode-hooks): Don't autoload.
1247         (smime-mode): Use define-derived-mode.
1248
1249 2010-11-11  Glenn Morris  <rgm@gnu.org>
1250
1251         * smime.el (from): Restrict declaration to XEmacs.
1252
1253         * nnir.el (gnus-group-topic-name): Autoload.
1254
1255 2010-11-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1256
1257         * shr.el (shr-insert): Don't break long line if it is because of
1258         kinsoku-bol characters in the line end.
1259
1260 2010-11-11  Andrew Cohen  <cohen@andy.bu.edu>
1261
1262         * nnir.el (nnir-request-move-article): Fix to provide original group
1263         and subject.
1264         (nnir-warp-to-article): Don't fail on articles whose headers haven't
1265         been retrieved.
1266
1267         * gnus-sum.el (gnus-summary-move-article): Use original group and
1268         subject for virtual articles such as those in an nnir summary buffer.
1269
1270 2010-11-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1271
1272         * gnus-art.el (article-treat-non-ascii): Make it work for XEmacs (at
1273         least 21.5).
1274
1275         * smime.el (from): Declare it again for XEmacs.
1276
1277 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1278
1279         * message.el (message-resend): Don't disable encoding unless it's
1280         already encoded.
1281
1282         * nnimap.el (nnimap-update-info): Fix problem with `g' chopping of
1283         low-numbered articles.
1284
1285 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1286
1287         * rfc2047.el (rfc2047-syntax-table): Simplify.
1288
1289         * lpath.el: Fbind set-char-table-range for XEmacs 21.4 and SXEmacs 22.1.
1290
1291         * gnus-art.el (article-treat-non-ascii): Use put-char-table instead of
1292         set-char-table-range for XEmacs.
1293
1294 2010-11-10  Glenn Morris  <rgm@gnu.org>
1295
1296         * time-date.el (time-to-seconds): Always an alias on Emacs,
1297         never a real function.
1298         (with-no-warnings): Remove compat stub, now unused.
1299         (time-less-p): Doc fix.
1300         (time-to-number-of-days): Simplify.
1301
1302         * smime.el (from): Remove unused declaration.
1303
1304         * gnus-util.el (with-no-warnings): Remove compat stub, now unused.
1305         (gnus-float-time): On Emacs, always an alias.
1306
1307         * ecomplete.el (with-no-warnings): Remove compat stub, now unused.
1308         (ecomplete-add-item): Use float-time on Emacs, else gnus-float-time.
1309
1310 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1311
1312         * dgnushack.el: Don't use ignore-errors in the top level form since it
1313         is unavailable in XEmacs even if cl is loaded.
1314
1315         * gnus-art.el (org-entities): Declare it to silence the byte compiler.
1316
1317 2010-11-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1318
1319         * shr.el (browse-url-mailto): Autoload.
1320
1321         * gnus-art.el (article-treat-non-ascii): New command and keystroke.
1322
1323         * message.el (message-subject-trailing-was-ask-regexp): A ] in a []
1324         regexp doesn't need quoting.
1325
1326 2010-11-09  Sven Joachim  <svenjoac@gmx.de>
1327
1328         * message.el (message-subject-trailing-was-ask-regexp)
1329         (message-subject-trailing-was-regexp): Match was: in addition to was.
1330
1331 2010-11-09  Glenn Morris  <rgm@gnu.org>
1332
1333         * nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
1334         (nnbabyl-check-mbox): Use point-at-bol.
1335
1336 2010-11-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1337
1338         * shr.el (shr-browse-url): Call browse-url-mailto for mailto: links.
1339
1340         * message.el (message-mailto): New function.
1341         (message-mailto): Should accept other parameters.
1342         (message-mailto): Remove since it duplicates browse-url-mailto
1343         functionality.
1344
1345 2010-11-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1346
1347         * gnus-start.el (gnus-get-unread-articles): Ignore totally non-existent
1348         methods.
1349         (gnus-read-active-file): Ditto.
1350
1351         * gnus-group.el (gnus-group-read-ephemeral-group): Remove superfluous
1352         ": " from the prompt.
1353         (gnus-group-make-group): Ditto.
1354
1355 2010-11-07  Glenn Morris  <rgm@gnu.org>
1356
1357         * gnus-bookmark.el (gnus-bookmark-bmenu-show-infos)
1358         (gnus-bookmark-kill-line): Use point-at-eol.
1359
1360 2010-11-07  Katsumi Yamaoka  <yamaoka@jpl.org>
1361
1362         * gnus-gravatar.el (gnus-gravatar-transform-address): No need to skip
1363         asterisks in From header.
1364
1365 2010-11-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1366
1367         * gnus-ems.el (gnus-put-image): Use a blank text as the insertion
1368         string to avoid making the From headers syntactically invalid.
1369
1370         * message.el (message-send-mail): Don't insert courtesy messages if the
1371         message already has List-Post and List-ID messages.
1372
1373 2010-11-06  Glenn Morris  <rgm@gnu.org>
1374
1375         * gnus-art.el (gnus-treat-article): Give dynamic local variables
1376         `condition', `type', `length' a prefix.
1377         (gnus-treat-predicate): Update for above name changes.
1378
1379 2010-11-06  Andrew Cohen  <cohen@andy.bu.edu>
1380
1381         * nnir.el (gnus-summary-nnir-goto-thread): Remove function and
1382         binding.  Handled by `gnus-summary-refer-thread' instead.
1383         (nnir-warp-to-article): New backend function.
1384
1385         * nnimap.el (nnimap-request-thread): Force dependency updating.
1386
1387         * gnus-sum.el (gnus-fetch-headers): Allow more arguments.
1388         (gnus-summary-refer-thread): Rework to improve thread-referral.
1389
1390         * gnus-int.el (gnus-warp-to-article): New function.
1391
1392         * gnus-sum.el (gnus-summary-article-map): Bind it.
1393
1394 2010-11-04  Andrew Cohen  <cohen@andy.bu.edu>
1395
1396         * nnir.el (gnus-summary-nnir-goto-thread): Limit work done by
1397         gnus-summary-refer-thread.
1398
1399         * gnus-sum.el (gnus-build-all-threads): Force updating of dependency
1400         headers.
1401         (gnus-summary-limit-include-thread): Prevent articles in thread from
1402         being cut in gnus-cut-threads.
1403         (gnus-summary-refer-thread): Limit retrieved headers to those in
1404         thread.
1405
1406 2010-11-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1407
1408         * message.el (message-send-mail): Use the value of
1409         message-courtesy-message from the message buffer.
1410
1411         * gnus-html.el (gnus-html-browse-url): Implement mailto: URLs.
1412
1413         * shr.el (shr-browse-url): Implement mailto: URLs.
1414
1415         * gnus-sum.el (gnus-summary-show-article): Take `t' as the arg to mean
1416         "raw".
1417
1418         * nnimap.el (nnimap-find-article-by-message-id): Don't EXAMINE a group
1419         if it's already selected.
1420
1421         * mm-decode.el (mm-save-part): Put the entire path in the `M-n' slot.
1422
1423 2010-11-04  Katsumi Yamaoka  <yamaoka@jpl.org>
1424
1425         * shr.el (shr-tag-img): Use string-width and truncate-string-to-width
1426         to measure the length and truncate alt text.
1427
1428 2010-11-03  Glenn Morris  <rgm@gnu.org>
1429
1430         * nndiary.el (nndiary-generate-nov-databases-1)
1431         (nndiary-generate-active-info): Rename dynamic variable `files' to
1432         something less generic.
1433
1434 2010-11-03  Andrew Cohen  <cohen@andy.bu.edu>
1435
1436         * nnir.el (nnir-request-move-article): Call the underlying backend to
1437         move articles from nnir.
1438
1439 2010-11-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1440
1441         * gnus-cite.el (gnus-article-natural-long-line-p): Remove.
1442
1443 2010-11-02  Julien Danjou  <julien@danjou.info>
1444
1445         * nnir.el: Remove wais support.
1446
1447 2010-11-02  Glenn Morris  <rgm@gnu.org>
1448
1449         * gnus-html.el: Reorder requirements to quieten compiler.
1450
1451 2010-11-02  Katsumi Yamaoka  <yamaoka@jpl.org>
1452
1453         * gnus-cite.el (gnus-article-fill-cited-article): Make fill work
1454         properly for XEmacs as well.
1455         (gnus-article-fill-cited-article, gnus-article-foldable-buffer)
1456         (gnus-article-natural-long-line-p): Use window-width rather than
1457         frame-width.
1458
1459 2010-11-01  Andrew Cohen  <cohen@andy.bu.edu>
1460
1461         * nnir.el (nnir-run-gmane): Inhibit demon.  Return nil if no messages.
1462         (nnir-read-parms): Don't modify query.
1463         (nnir-run-query): Add ability to search topic on current line.
1464         (nnir-get-active): Clean up.
1465
1466 2010-11-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1467
1468         * gnus-cite.el (gnus-article-foldable-buffer): Protect against
1469         degenerate articles.
1470
1471         * gnus-sum.el (gnus-print-buffer): Rewrite to use with-temp-buffer.
1472         (gnus-print-buffer): Just print the buffer as is, without any copying
1473         to a buffer and then re-highlighting.
1474
1475         * nnimap.el (nnimap-request-group): Store the new updated info.
1476         (nnimap-request-group): Select the group when we don't know whether it
1477         exists or not.
1478
1479         * gnus-start.el (gnus-ask-server-for-new-groups): Return the new
1480         groups.
1481
1482         * gnus-group.el (gnus-group-find-new-groups): Display all the new
1483         groups.
1484
1485         * gnus-start.el (gnus-find-new-newsgroups): Return the list of new
1486         groups.
1487
1488         * gnus-cite.el (gnus-article-fill-cited-article): Minimize the
1489         long-lines case by only filling the long lines.
1490
1491         * nnimap.el (nnimap-parse-line): Don't bug out oddly formed replies
1492         (bug #7311).
1493
1494 2010-11-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1495
1496         * shr.el: No need to declare `declare-function' since shr.el is for
1497         only Emacsen that provide `libxml-parse-html-region'.
1498
1499         * dgnushack.el: Remove `(defvar iswitchb-temp-buflist)', that is
1500         effective only in a file it is referred to.
1501
1502 2010-11-01  Glenn Morris  <rgm@gnu.org>
1503
1504         * mm-util.el (gnus-completing-read): Autoload.
1505         (mm-read-coding-system): Simplify Emacs definition.
1506
1507         * nnmail.el (gnus-activate-group):
1508         * nnimap.el (gnutls-negotiate):
1509         * nntp.el (netrc-parse): Fix declarations.
1510
1511 2010-11-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1512
1513         * gnus-util.el (gnus-string-match-p): New function, that is an alias to
1514         string-match-p in Emacs >=23.
1515
1516         * gnus-msg.el (gnus-configure-posting-styles)
1517         * nnir.el (nnir-run-gmane): Use gnus-string-match-p.
1518
1519 2010-11-01  Glenn Morris  <rgm@gnu.org>
1520
1521         * nnir.el (declare-function): Add compat stub.
1522         (mm-url-insert, mm-url-encode-www-form-urlencoded): Declare.
1523         (nnir-run-gmane): Require 'mm-url.
1524
1525         * mm-util.el (mm-string-to-multibyte): Simplify.
1526
1527         * shr.el (declare-function): Add compat stub.
1528         (url-cache-create-filename): Declare.
1529         (mm-disable-multibyte, widget-convert-button): Autoload.
1530
1531         * smime.el (ldap-search): Declare.
1532         (smime-cert-by-ldap-1): Require ldap on Emacs.
1533
1534         * nnimap.el: Require nnmail, and gnus-sum when compiling.
1535         (nnimap-keepalive): Use gnus-float-time.
1536
1537         * mail-source.el (nnheader-message, gnus-float-time): Autoload.
1538         (mail-source-delete-crash-box): Use gnus-float-time.
1539
1540         * gnus-dired.el (gnus-completing-read): Autoload.
1541
1542         * mm-view.el (gnus-rescale-image): Autoload.
1543
1544         * mm-decode.el (gnus-completing-read, gnus-blocked-images): Autoload.
1545
1546         * gnus.el (gnus-sloppily-equal-method-parameters): Move defn before use.
1547
1548         * sieve-manage.el: Require 'cl when compiling.
1549
1550         * gnus-util.el (iswitchb-read-buffer): Declare rather than autoload.
1551         (gnus-iswitchb-completing-read): Require iswitchb.
1552         (gnus-select-frame-set-input-focus): Silence compiler.
1553
1554 2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1555
1556         * message.el (message-subject-trailing-was-query): Change default to t,
1557         since I think that's what most people want.
1558
1559         * nnimap.el (nnimap-request-accept-article): Erase buffer before
1560         appending for easier debugging.
1561         (nnimap-wait-for-connection): Take a regexp.
1562         (nnimap-request-accept-article): Wait for the continuation line before
1563         sending anything unless we're streaming.
1564
1565         * gnus-art.el (gnus-treat-article): Only inhibit body washing, and
1566         leave the header washing to take place.
1567
1568 2010-10-31  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
1569
1570         * gnus-msg.el (gnus-configure-posting-styles): Permit the use of
1571         regular expression match and replace in posting styles.
1572
1573 2010-10-31  Andrew Cohen  <cohen@andy.bu.edu>
1574
1575         * nnir.el (gnus-group-make-nnir-group,nnir-run-query): Allow searching
1576         an entire server.
1577         (nnir-get-active): New function.
1578         (nnir-run-imap): Use it.
1579         (nnir-run-gmane): Who knew, gmane search returns an article score!
1580
1581         * gnus-srvr.el (gnus-server-mode-map): Add binding "G" to search the
1582         server on the current line with nnir.
1583
1584 2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1585
1586         * gnus-cite.el (gnus-article-foldable-buffer): Refactor out.
1587         (gnus-article-foldable-buffer): Don't fold regions that have a ragged
1588         left edge.
1589         (gnus-article-foldable-buffer): Skip past the prefix when determining
1590         raggedness.
1591
1592         * gnus-sum.el (gnus-summary-show-article): Add `C-u C-u g' for showing
1593         the raw article, and change `C-u g' to show the article without doing
1594         treatments.
1595
1596         * gnus-art.el (gnus-mime-display-alternative): Actually pass the type
1597         on to `gnus-treat-article'.
1598         (gnus-inhibit-article-treatments): New variable.
1599
1600         * gnus.el: Autoload gnus-article-fill-cited-long-lines.
1601
1602         * gnus-art.el (gnus-treatment-function-alist): Have
1603         gnus-treat-fill-long-lines point to gnus-article-fill-cited-long-lines.
1604         (gnus-treat-fill-long-lines): Change default to fill all text/plain
1605         sections.
1606
1607         * gnus-cite.el (gnus-article-fill-cited-article): Remove unused `force'
1608         parameter.
1609         (gnus-article-fill-cited-long-lines): New function.
1610         (gnus-article-fill-cited-article): Allow filling only long sections.
1611
1612         * shr.el (shr-find-fill-point): Don't break lines between punctuation
1613         and non-punctuation (like after the apostrophe in "'We").
1614
1615         * gnus-sum.el (gnus-summary-select-article): Make sure
1616         gnus-original-article-buffer is alive.
1617
1618         * nndoc.el (nndoc-dissect-buffer): Reverse the order of the articles to
1619         reflect the order they're in in the digest.
1620
1621         * gnus.el (gnus-group-startup-message): Move point to the start of the
1622         buffer.
1623
1624         * nnimap.el (nnimap-capability): New function.
1625         (nnimap-open-connection): Only send AUTHENTICATE PLAIN if LOGINDISABLED
1626         is set.
1627
1628 2010-10-31  David Engster  <dengste@eml.cc>
1629
1630         * nnmairix.el (nnmairix-get-valid-servers): Return list of strings to
1631         conform with changes to gnus-completing-read.
1632
1633 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1634
1635         * shr.el (shr-tag-img): Output "*" instead of "[img]".
1636
1637 2010-10-30  Andrew Cohen  <cohen@andy.bu.edu>
1638
1639         * nnir.el: Move defvar, defcustom around to keep file organized
1640         and keep byte-compiler quiet.
1641         (nnir-read-parms): Accept search-engine as arg.
1642         (nnir-run-query): Pass search-engine as arg.
1643         (nnir-search-engine): Remove.
1644
1645 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1646
1647         * shr.el (shr-generic): The text nodes should be text, not :text.
1648
1649         * nnir.el (nnir-search-engine): Ressurect variable, since it's used
1650         later in the file.
1651
1652 2010-10-30  Andrew Cohen  <cohen@andy.bu.edu>
1653
1654         * nnir.el: General clean up.  Allow searching with multiple engines.
1655         Allow separate extra-parameters for each engine.
1656         Batch queries when possible.
1657         (nnir-imap-default-search-key,nnir-method-default-engines):
1658         Add customize interface.
1659         (nnir-run-gmane): New engine.
1660         (nnir-engines): Use it.  Qualify all prompts with engine name.
1661         (nnir-search-engine): Remove global variable.
1662         (nnir-run-hyrex): Restore for now.
1663         (nnir-extra-parms,nnir-search-history): New variables.
1664         (gnus-group-make-nnir-group): Use them.
1665         (nnir-group-server): Remove in favor of gnus-group-server.
1666         (nnir-request-group): Avoid searching twice.
1667         (nnir-sort-groups-by-server): New function.
1668
1669 2010-10-30  Julien Danjou  <julien@danjou.info>
1670
1671         * gnus-group.el: Remove gnus-group-fetch-control.
1672
1673         * gnus-start.el (gnus-find-new-newsgroups):
1674         Remove gnus-check-first-time-used.
1675
1676         * gnus.el: Remove gnus-backup-default-subscribed-newsgroups.
1677
1678 2010-10-30  Knut Anders Hatlen  <kahatlen@gmail.com>  (tiny change)
1679
1680         * nnimap.el (nnimap-update-info): Allow 'ticked and other flags to be
1681         set on groups that don't have \* permanentflags.
1682
1683 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1684
1685         * shr.el (shr-tag-span): Drop colorisation of regions since we don't
1686         control the background color.
1687         (shr-tag-img): Ignore very small web bug type images.
1688         (shr-put-image): Add help-echo alt texts to the images.
1689         (shr-tag-video): Show the video poster image.
1690
1691 2010-10-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1692
1693         * shr.el (shr-table-depth): New variable.
1694         (shr-tag-table-1): Only insert the images after the top-level table.
1695
1696         * nnimap.el (nnimap-split-incoming-mail): Fix typo.
1697
1698         * gnus-util.el (gnus-list-memq-of-list): New function.
1699
1700         * nnimap.el (nnimap-split-incoming-mail): Note that the INBOX has been
1701         selected.
1702         (nnimap-unsplittable-articles): New slot.
1703         (nnimap-new-articles): Use it.
1704
1705 2010-10-29  Stephen Berman  <stephen.berman@gmx.net>  (tiny change)
1706
1707         * gnus-group.el (gnus-group-get-new-news-this-group): Don't have point
1708         move to the previous line on `M-g'.
1709
1710 2010-10-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1711
1712         * gnus-msg.el (gnus-inews-do-gcc): Don't have the backends do the slow
1713         *-request-group, which seems unnecessary.
1714
1715         * nnimap.el (nnimap-quote-specials): Function copied over from
1716         imap.el.
1717         (nnimap-open-connection): Use AUTHENTICATE PLAIN on servers that say
1718         they support that.  Suggested by Tom Regner.
1719
1720 2010-10-29  Julien Danjou  <julien@danjou.info>
1721
1722         * gnus-sum.el (gnus-summary-delete-marked-as-read): Remove obsolete
1723         defalias.
1724         (gnus-summary-delete-marked-with): Remove obsolete defalias.
1725
1726         * gnus.el: Remove `gnus-nntp-service' variable.
1727         (gnus-secondary-servers): Make obsolete.
1728         (gnus-nntp-server): Make obsolete.
1729
1730         * gnus-start.el (gnus-1): Remove x-splash calls.
1731
1732         * gnus-ems.el (gnus-x-splash): Remove.
1733
1734         * gnus.el (gnus-group-startup-message): Simplify/update code.
1735
1736         * gnus-xmas.el (gnus-xmas-define): Remove unused gnus-characterp
1737         definition.
1738
1739         * gnus-group.el (gnus-group-make-tool-bar): Check for display graphic
1740         capability before doing anything.
1741         (gnus-group-insert-group-line): Remove useless
1742         gnus-group-remove-excess-properties.
1743
1744 2010-10-29  Katsumi Yamaoka  <yamaoka@jpl.org>
1745
1746         * gnus-art.el (gnus-article-goto-part): Work for article narrowed by ^L.
1747
1748 2010-10-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1749
1750         * gnus-sum.el (gnus-summary-rescan-group): Try to restore the window
1751         config after reselecting.
1752
1753 2010-10-28  Julien Danjou  <julien@danjou.info>
1754
1755         * shr.el (shr-put-image): Use point even if only inserting text.
1756         (shr-put-image): Save excursion when inserting alt text on non-graphic
1757         display, so the behaviour is the same when we are on a graphic display.
1758
1759         * nnir.el (nnir-run-swish-e): Remove hyrex support.
1760
1761 2010-10-28  Katsumi Yamaoka  <yamaoka@jpl.org>
1762
1763         * gnus-art.el (gnus-article-jump-to-part): Error on no part; fix prompt.
1764         (gnus-mime-copy-part): Check coding system, not charset.
1765         (gnus-mime-view-part-externally): Never remove part.
1766         (gnus-mime-view-part-internally): Don't remove part here.
1767         (gnus-article-part-wrapper): Make sure MIME tag is visible.
1768         (gnus-article-goto-part): Go to displayed or preferred subpart if it is
1769         multipart/alternative.
1770
1771         * mm-decode.el (mm-display-part): Take optional arg `force'.
1772
1773 2010-10-26  Julien Danjou  <julien@danjou.info>
1774
1775         * gnus-group.el (gnus-group-default-list-level): Add this function to
1776         compute the default list level.
1777         (gnus-group-default-list-level): Add possibility to use a function.
1778
1779 2010-10-27  Katsumi Yamaoka  <yamaoka@jpl.org>
1780
1781         * mm-decode.el (mm-shr): Add undisplayer to MIME handle.
1782
1783         * gnus-group.el (gnus-group-completing-read)
1784         (gnus-read-ephemeral-bug-group): Replace replace-regexp-in-string with
1785         gnus-replace-in-string.
1786
1787 2010-10-26  Katsumi Yamaoka  <yamaoka@jpl.org>
1788
1789         * shr.el (shr-tag-div): Add.
1790
1791         * lpath.el: Fbind current-idle-time for XEmacs 21.4 and SXEmacs 22.1.
1792
1793 2010-10-25  Julien Danjou  <julien@danjou.info>
1794
1795         * gnus-util.el: Remove `gnus-with-local-quit'.
1796
1797         * gnus-demon.el (gnus-demon-init): Use run-with-idle-timer function.
1798
1799 2010-10-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1800
1801         * gnus-sum.el (gnus-summary-select-article): Fix type error in checking
1802         the original article buffer.
1803
1804 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1805
1806         * nnimap.el (nnimap-request-head): New function.
1807         (nnimap-request-move-article): Try to be slighly faster by not
1808         requesting the entire message when moving.
1809         (nnimap-transform-headers): Don't bug out on bodiless articles.
1810         (nnimap-send-command): Have no outstanding messages if the IMAP server
1811         doesn't support streaming.
1812         (nnimap-transform-headers): Fold {quoted} strings more sloppily.
1813
1814 2010-10-24  Julien Danjou  <julien@danjou.info>
1815
1816         * message.el (message-default-headers): Fix type.
1817
1818 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1819
1820         * gnus-html.el (gnus-html-prefetch-images): Decode entities before
1821         prefetching images.
1822
1823         * gnus-sum.el (gnus-group-make-articles-read): Propagate marks to the
1824         backend for unknown groups.  This is mainly useful for nnimap groups.
1825
1826         * gnus-agent.el (gnus-agent-fetch-group): Don't download stuff if the
1827         group isn't covered by the agent.
1828
1829 2010-10-22  Andrew Cohen  <cohen@andy.bu.edu>
1830
1831         * nnir.el (nnir-method-default-engines): New variable.
1832         (nnir-run-query): Use it.
1833         (nnir-group-mode-hook): Remove key binding and move to gnus-group.el.
1834         (gnus-summary-nnir-goto-thread): Change group if needed.
1835
1836         * gnus-group.el (gnus-group-group-map): Add key binding for
1837         gnus-group-make-nnir-group.
1838
1839 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1840
1841         * shr.el (shr-tag-object): Add.
1842
1843         * gnus-sum.el (gnus-summary-select-article): Make sure we have the
1844         original article buffer live.
1845         (gnus-summary-select-article-buffer):
1846         Mention gnus-widen-article-buffer.
1847
1848 2010-10-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1849
1850         * shr.el (shr-tag-strong): Add.
1851
1852 2010-10-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1853
1854         * gnus-group.el (gnus-group-completing-read): Remove all newlines from
1855         group names.  They mess up the group buffer badly.
1856
1857         * shr.el (shr-tag-img): Don't bug out on images that don't have a SRC.
1858
1859         * gnus-group.el (gnus-group-mark-group): Use gnus-group-position-point
1860         instead of the summary one.
1861
1862 2010-10-22  Katsumi Yamaoka  <yamaoka@jpl.org>
1863
1864         * mml.el (mml-preview): Work properly when editing article.
1865
1866         * gnus-start.el (gnus-read-active-file-1): Don't add method to
1867         gnus-have-read-active-file if it's already been in.
1868
1869 2010-10-22  Tom Tromey  <tromey@redhat.com>
1870
1871         * gnus-group.el (gnus-group-unsubscribe-group): Fix args passed to
1872         gnus-group-completing-read.
1873
1874 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1875
1876         * message.el (message-mode-map): Don't bind M-; to comment region, to
1877         allow the global comment-dwim to work.
1878
1879 2010-10-21  Julien Danjou  <julien@danjou.info>
1880
1881         * message.el (message-setup-1): Allow message-default-headers to be a
1882         function.
1883
1884 2010-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
1885
1886         * shr.el (shr-tag-table): Simplify.
1887
1888 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1889
1890         * gnus-html.el (gnus-html-prefetch-images): Only prefetch http images
1891         to avoid trying to snarf invalid stuff.
1892
1893         * gnus-sum.el (gnus-summary-edit-article-done): Bind free variable.
1894
1895         * gnus.el (gnus-message-archive-group): Quote value.
1896         (gnus-message-archive-group): Mark as changed.
1897
1898         * shr.el (shr-add-font): Don't put the font properties on the newline
1899         or the indentation.
1900
1901         * message.el (message-fix-before-sending): Change options when sending
1902         non-printable characters.
1903
1904         * gnus.el (gnus-message-archive-method): Change the default to
1905         monthly outgoing groups.
1906
1907         * gnus-sum.el (gnus-summary-edit-article-done): Try to replace articles
1908         that have gotten new numbers.
1909
1910         * nnimap.el (nnimap-request-replace-article): New function.
1911
1912 2010-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
1913
1914         * nnrss.el (nnrss-wash-html-in-text-plain-parts): Remove.
1915         (nnrss-request-article): Don't use special html washing code.
1916
1917 2010-10-20  Katsumi Yamaoka  <yamaoka@jpl.org>
1918
1919         * shr.el (shr-tag-table): Remove useless nconc.
1920
1921 2010-10-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1922
1923         * gnus-art.el (article-wash-html): Simplify and remove the charset
1924         stuff.  Use the normal html rendering code instead of the special html
1925         washing code.
1926
1927         * mm-view.el (mm-text-html-renderer-alist): Add the `shr' and
1928         `gnus-w3m' symbols.
1929         (mm-text-html-washer-alist): Remove.
1930
1931         * mm-decode.el (mm-inline-text-html-renderer): Remove.
1932         (mm-inline-media-tests): Remove use.
1933         (mm-text-html-renderer): Change default to the `shr' symbol.
1934
1935         * mm-view.el (mm-inline-text-html): Remove use.
1936
1937         * gnus-art.el (gnus-blocked-images): New function.  Allow the
1938         `gnus-blocked-images' to be a function.
1939         (gnus-article-wash-function): Remove.
1940
1941 2010-10-20  Julien Danjou  <julien@danjou.info>
1942
1943         * spam.el (spam-list-of-processors): Mark as obsolete.
1944
1945         * nnimap.el (nnimap-request-article): Fix BODYSTRUCTURE retrieval.
1946         (nnimap-insert-partial-structure): Fix boundary detection.
1947
1948 2010-10-20  Andreas Seltenreich  <seltenreich@gmx.de>
1949
1950         * gnus-draft.el (gnus-draft-check-draft-articles): Don't unnecessarily
1951         run file-truename on remote files.  This can be expensive and even
1952         prevent one from editing drafts if some unrelated buffer has a stale
1953         connection.
1954
1955 2010-10-20  Katsumi Yamaoka  <yamaoka@jpl.org>
1956
1957         * shr.el (shr-find-fill-point): Shorten line if the preceding char is
1958         kinsoku-eol regardless of shr-kinsoku-shorten.
1959         (shr-tag-table-1): Rename from shr-tag-table; make it a subroutine.
1960         (shr-tag-table): Support caption, thead, and tfoot.
1961
1962 2010-10-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1963
1964         * shr.el (shr-find-fill-point): Don't leave blanks at the start of some
1965         lines.
1966         (shr-save-contents): New command and keystroke.
1967
1968         * nndoc.el (nndoc-type-alist): Add git support.
1969         (nndoc-git-type-p): New function.
1970         (nndoc-transform-git-article): Ditto.
1971         (nndoc-transform-git-headers): Ditto.
1972         (nndoc-transform-git-headers): Generate Subject headers.
1973
1974         * shr.el (shr-parse-style): New function.
1975         (shr-tag-span): Ditto.
1976
1977         * nnmairix.el (nnmairix-summary-mode-hook): Move nnmairix's `$' command
1978         to `G G' to avoid collisions.
1979
1980 2010-10-19  Katsumi Yamaoka  <yamaoka@jpl.org>
1981
1982         * shr.el: Load kinsoku if necessary.
1983         (shr-kinsoku-shorten): New internal variable.
1984         (shr-find-fill-point): Make kinsoku shorten text line if
1985         shr-kinsoku-shorten is bound to non-nil.
1986         (shr-tag-table): Bild shr-kinsoku-shorten to t; refer to
1987         shr-indentation too when testing if table is wider than frame width.
1988         (shr-insert-table): Use `string-width' instead of `length' to measure
1989         text width.
1990         (shr-insert-table-ruler): Make sure indentation is done at bol.
1991
1992 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1993
1994         * nnimap.el (nnimap-request-move-article, nnimap-parse-line)
1995         (nnimap-process-expiry-targets): Use unibyte for buffers that hold
1996         undecoded network data.
1997
1998 2010-10-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1999
2000         * gnus-agent.el (gnus-agent-toggle-plugged): Use the right minor mode
2001         name in the mode line spec so that the mode line menu works
2002         (bug #2431).
2003
2004         * message.el (message-get-reply-headers): If we're fed `to-address',
2005         then always use that.
2006
2007         * gnus-art.el (gnus-article-make-menu-bar): The article/group menus
2008         aren't so wide as to need to switch off the edit menu.
2009
2010         * gnus-delay.el (gnus-delay-article): Remove superfluous `group'
2011         binding.  Suggested by Leo <sdl.web@gmail.com> (bug #6613).
2012
2013         * nnimap.el (nnimap-request-group): Don't SELECT the group twice on
2014         `M-g'.
2015         (nnimap-update-info): Update flags/read marks even if \* isn't part of
2016         the permanent marks.
2017
2018 2010-10-18  Andrew Cohen  <cohen@andy.bu.edu>
2019
2020         * gnus-registry.el (gnus-registry-split-fancy-with-parent):
2021         Splitting according to references/in-reply-to obeys the ignore-groups
2022         variable, while splitting by sender and subject do not.
2023
2024 2010-10-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2025
2026         * gnus-art.el (gnus-article-dumbquotes-map): Make into a char/string
2027         alist, so that we can look for non-Unicode chars.
2028         (article-translate-strings): Allow both character and string maps.
2029
2030 2010-10-18  Katsumi Yamaoka  <yamaoka@jpl.org>
2031
2032         * shr.el (shr-insert): Don't insert space behind a wide character
2033         categorized as kinsoku-bol, or between characters both categorized as
2034         nospace.
2035
2036 2010-10-16  Andrew Cohen  <cohen@andy.bu.edu>
2037
2038         * gnus-sum.el (gnus-summary-refer-thread): Bug fix.  Add the thread
2039         headers to gnus-newsgroup-headers.
2040
2041 2010-10-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2042
2043         * shr.el (shr-tag-img): Don't align images -- since we're not
2044         rescaling, this often leads to ugly displays.
2045
2046 2010-10-15  Andrew Cohen  <cohen@andy.bu.edu>
2047
2048         * gnus-sum.el (gnus-summary-refer-thread): Unconditionally ignore
2049         duplicates.
2050
2051 2010-10-15  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
2052
2053         * gnus-diary.el (gnus-diary-check-message): Fix gnus-completing-read
2054         call.
2055
2056 2010-10-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2057
2058         * gnus.el: Autoload gnus-html-show-images.
2059
2060         * nnimap.el: Use nnheader-message throughout.
2061
2062         * shr.el (shr-tag-img): Ignore images with no data.
2063
2064 2010-10-15  Julien Danjou  <julien@danjou.info>
2065
2066         * mml.el (mml-generate-mime-1): Add `mml-enable-flowed' variable to add
2067         a possibility to disable format=flow encoding when using hard newlines.
2068
2069 2010-10-15  Katsumi Yamaoka  <yamaoka@jpl.org>
2070
2071         * shr.el (shr-insert): Remove space inserted before or after a
2072         breakable character or at the beginning or the end of a line.
2073         (shr-find-fill-point): Do kinsoku; find the second best point or give
2074         it up if there's no breakable point.
2075
2076 2010-10-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2077
2078         * nnimap.el (nnimap-open-connection): Message when opening connection
2079         for debugging purposes.
2080
2081         * gnus-art.el (gnus-article-setup-buffer): Set article mode truncation
2082         on every setup buffer call to allow this to change from article to
2083         article.
2084
2085         * shr.el (shr-tag-table): Experimental feature: Truncate lines in
2086         buffers where we have a wide table.
2087
2088 2010-10-14  Andrew Cohen  <cohen@andy.bu.edu>
2089
2090         * gnus-sum.el (gnus-summary-refer-thread): Implement a version that
2091         uses *-request-thread.
2092
2093 2010-10-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2094
2095         * nnimap.el (nnimap-open-connection): Remove %s from openssl
2096         incantation, which is no longer valid.
2097
2098 2010-10-14  Julien Danjou  <julien@danjou.info>
2099
2100         * shr.el: Fix defcustom type (char -> character).
2101
2102 2010-10-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2103
2104         * nnimap.el (nnimap-open-connection): tls-program should be a list of
2105         programs.
2106
2107 2010-10-14  Julien Danjou  <julien@danjou.info>
2108
2109         * shr.el (shr-tag-a): Use url-link as widget type.
2110
2111         * gnus-group.el (gnus-group-insert-group-line): Fix group argument to
2112         `gnus-group-get-icon'.
2113
2114 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2115
2116         * nnimap.el (nnimap-close-server): Forget the nnimap data on close.
2117         This should make server editing work better.
2118
2119         * shr.el (shr-find-fill-point): Don't inloop on indented text.
2120
2121         * tls.el (tls-program): Remove spurious %s from openssl.
2122
2123         * nnimap.el (nnimap-open-connection): Fix open-tls-stream call.
2124         (nnimap-parse-flags): Fix regexp.
2125
2126         * shr.el (shr-find-fill-point): Use a filling algorithm that should
2127         probably work for CJVK text, too.
2128
2129         * nnimap.el (nnimap-extend-tls-programs): Remove.
2130         (nnimap-open-connection): Bind STARTTLS to openssl explicitly.
2131
2132         * tls.el (tls-starttls-switches): Remove starttls hack.
2133         (open-tls-stream): Ditto.
2134         (tls-find-starttls-argument): Ditto.
2135
2136 2010-10-13  Julien Danjou  <julien@danjou.info>
2137
2138         * nnimap.el (nnimap-parse-flags): Be more strict when looking for FETCH
2139         responses.
2140
2141 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2142
2143         * mm-decode.el (mm-shr): Allow use from non-Gnus users.
2144
2145         * gnus-spec.el (gnus-parse-simple-format): princ doesn't really insert
2146         anything in Emacs.
2147
2148         * shr.el (shr-current-column): Remove buggy and unnecessary function.
2149
2150 2010-10-13  Julien Danjou  <julien@danjou.info>
2151
2152         * shr.el (shr-width): Make shr-width a defcustom with default to
2153         fill-column.
2154         (shr-tag-img): Use shr-width rather than fill-column.
2155
2156 2010-10-13  Katsumi Yamaoka  <yamaoka@jpl.org>
2157
2158         * dgnushack.el (byte-optimize-apply)
2159         * gnus-dired.el (gnus-dired-attach): Silence XEmacs 21.5 when compiling.
2160
2161         * gnus-gravatar.el (gnus-gravatar-transform-address): Adjust avatars'
2162         position when (X-)Faces exist.
2163         (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Force displaying
2164         avatars when called interactively.
2165
2166 2010-10-12  Katsumi Yamaoka  <yamaoka@jpl.org>
2167
2168         * gnus-gravatar.el (gnus-gravatar-too-ugly): Don't test if
2169         gnus-article-x-face-too-ugly is bound.
2170
2171 2010-10-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2172
2173         * rfc2231.el (rfc2231-parse-string): Ignore repeated parts.
2174
2175         * nnimap.el (nnimap-request-rename-group): Unselect by selecting a
2176         mailbox that doesn't exist.
2177
2178 2010-10-12  Julien Danjou  <julien@danjou.info>
2179
2180         * shr.el (shr-tag-img): Encode URL properly when retrieving.
2181         (shr-get-image-data): Encode URL properly when fetching from cache.
2182         (shr-tag-img): Use aligned-to spaces to align correctly images.
2183
2184         * gnus-gravatar.el (gnus-gravatar-insert): Check if buffer is alive
2185         before inserting the Gravatar.
2186
2187         * shr.el (shr-tag-img): Add align attribute support for <img>.
2188
2189 2010-10-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2190
2191         * gnus-gravatar.el (gnus-art): Require.
2192
2193         * gnus-sum.el (gnus-summary-mark-as-unread-forward)
2194         (gnus-summary-mark-as-unread-backward, gnus-summary-mark-as-unread):
2195         Remove long obsoleted functions.
2196
2197 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
2198
2199         * lpath.el: Fbind gnutls-negotiate for Emacs 22 and XEmacsen.
2200
2201         * nnimap.el (gnutls-negotiate): Silence the byte compiler.
2202
2203         * gnus-art.el, gnus-cache.el, gnus-fun.el, gnus-group.el:
2204         * gnus-picon.el, gnus-spec.el, gnus-sum.el, gnus-util.el, gnus.el:
2205         * hashcash.el, imap.el, mail-source.el, message.el, mm-bodies.el:
2206         * mm-decode.el, mm-extern.el, mm-util.el, mm-view.el, mml-smime.el:
2207         * mml.el, mml1991.el, mml2015.el, nnfolder.el, nnheader.el, nnmail.el:
2208         * nnmaildir.el, nnrss.el, nntp.el, pgg-parse.el, pgg.el, rfc1843.el:
2209         * sieve-manage.el, smime.el, spam.el:
2210         Fix comment for declare-function.
2211
2212 2010-10-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2213
2214         * nnimap.el (nnimap-request-rename-group): Select group read-only
2215         before renaming it.
2216
2217         * shr.el (shr-insert): Fix up the white space only regexp.
2218
2219         * nnimap.el (nnimap-transform-split-mail): Not all articles have
2220         bodies.  Protect against this.  Reported by Michael Welsh Duggan.
2221
2222         * shr.el (shr-current-column): New function.
2223         (shr-find-fill-point): New function.
2224
2225 2010-10-11  Michael Welsh Duggan  <md5i@md5i.com>  (tiny change)
2226
2227         * sieve-manage.el (sieve-manage-open): Allow port names as well as port
2228         numbers.
2229
2230 2010-10-11  Julien Danjou  <julien@danjou.info>
2231
2232         * shr.el (shr-hr-line): Add.
2233         (shr-tag-hr): Use shr-hr-line to specify which character to use to
2234         display hr lines.
2235         (shr-max-columns): Do not change state to nil if we just inserting
2236         spaces.
2237
2238 2010-10-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2239
2240         * gnus-topic.el (gnus-topic-read-group): If after the last group,
2241         select the last group.
2242
2243 2010-10-11  Teodor Zlatanov  <tzz@lifelogs.com>
2244
2245         * gnus-int.el (gnus-run-hook-with-args): Autoload from gnus-util.el.
2246
2247 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
2248
2249         * dig.el (dig-mode-map): Declare and define in one step.
2250
2251 2010-10-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2252
2253         * nnimap.el (nnimap-update-qresync-info): \Flagged messages are read
2254         for Gnus.
2255         (nnimap-retrieve-group-data-early): utf7-encode the group parameters.
2256         (nnimap-update-qresync-info): Mark \Seen articles as read.
2257
2258         * gnus-sum.el (gnus-summary-set-local-parameters): Ignore the `active'
2259         non-variable, too.
2260
2261         * nnimap.el (nnimap-open-connection): Use gnutls STARTTLS, if
2262         available.
2263         (nnimap-update-info): Rely more on the current active than the param
2264         active to avoid marking articles as read too much.
2265
2266         * auth-source.el (auth-source-create): Use (user-login-name) for the
2267         user name default.
2268
2269         * nnimap.el (nnimap-update-info): If the server doesn't return any
2270         useful info, just use the previous info.
2271         (nnimap-update-info): Prefer old info over start-article.
2272         (nnimap-update-qresync-info): Finish implementing QRESYNC.
2273
2274 2010-10-10  Andrew Cohen  <cohen@andy.bu.edu>
2275
2276         * nnir.el (autoload): Clean up autoloads.
2277         (nnir-imap-default-search-key): Rename from nnir-imap-search-field.
2278         Use key rather than value.
2279         (nnir-imap-search-other): New variable.
2280         (nnir-read-parm): Use it.
2281         (nnir-imap-expr-to-imap): Use %S rather than imap-quote-specials.
2282         (gnus-summary-nnir-goto-thread): Modify to work with imap.
2283
2284 2010-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2285
2286         * nnimap.el (nnimap-wait-for-response): If the user hits `C-g', kill
2287         the process, too.
2288
2289 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2290
2291         * spam.el (gnus-summary-mode-map): Bind to "$".
2292         Suggested by Russ Allbery.
2293
2294         * shr.el: Rework the way things are indented by <li> slightly.
2295
2296         * gnus.el (gnus-group-set-parameter): Fix typo.
2297
2298         * nnimap.el: Start implementing QRESYNC support.
2299
2300 2010-10-09  Julien Danjou  <julien@danjou.info>
2301
2302         * nnir.el (nnir-engines): Fix too many arguments.
2303
2304 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2305
2306         * nnmail.el (nnmail-expiry-target-group): Say that every expiry target
2307         group is the "last", so that the backends like nnfolder actually save
2308         their folders.
2309
2310         * nnimap.el (nnimap-open-connection): If we have gnutls loaded, then
2311         try to use that for the tls stream.
2312         (nnimap-retrieve-group-data-early): Rework the marks code to heed
2313         UIDVALIDITY and find out which groups are read-only and not.
2314         (nnimap-get-flags): Use the same marks parsing code as the rest of
2315         nnimap.
2316
2317 2010-10-09  Julien Danjou  <julien@danjou.info>
2318
2319         * nnir.el (nnir-read-parm): Fix call to gnus-completing-read.
2320
2321         * gnus-gravatar.el (gnus-gravatar-transform-address): Error errors when
2322         retrieving gravatars.
2323
2324         * shr.el (shr-table-corner): Add.
2325         (shr-table-line): Add.
2326         (shr-insert-table-ruler): Use the above defcustoms to insert tables.
2327
2328 2010-10-08  Julien Danjou  <julien@danjou.info>
2329
2330         * mm-decode.el (mm-text-html-renderer): Add mm-shr in choice list.
2331
2332 2010-10-08  Teodor Zlatanov  <tzz@lifelogs.com>
2333
2334         * gnus-util.el (gnus-alist-pull): Rename `gnus-pull'.
2335
2336         * gnus-sum.el (gnus-mark-article-as-unread)
2337         (gnus-summary-mark-article-as-unread, gnus-summary-remove-bookmark)
2338         (gnus-summary-set-bookmark): Use it.
2339
2340         * gnus-msg.el (gnus-setup-message): Use it.
2341
2342         * gnus-demon.el (gnus-demon-remove-handler): Use it.
2343
2344         * gnus.el (gnus-group-remove-parameter): Use it.
2345
2346         * gnus-group.el (gnus-group-make-web-group): Use it.
2347
2348         * gnus-demon.el (gnus-demon-remove-handler): Use it.
2349
2350         * nnregistry.el: Update docs to mention manual.
2351
2352         * gnus-registry.el: Update docs to mention nnregistry.el.
2353         (gnus-registry-initialize): Don't install nnregistry refer method
2354         automatically.
2355         (gnus-registry-install-nnregistry): Remove it.
2356
2357 2010-10-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2358
2359         * shr.el (shr-insert): Don't insert double spaces.
2360
2361 2010-10-08  Katsumi Yamaoka  <yamaoka@jpl.org>
2362
2363         * gnus-gravatar.el (gnus-treat-from-gravatar)
2364         (gnus-treat-mail-gravatar): Bind gnus-gravatar-too-ugly to nil when
2365         called interactively.
2366
2367         * gnus-art.el (gnus-mime-view-part-externally)
2368         (gnus-mime-view-part-internally): Make predicate function passed to
2369         gnus-mime-view-part-as-type assume argument is a mime type, not a list
2370         of a mime type.
2371
2372         * shr.el (shr-table-widths): Don't use cl function `reduce'.
2373
2374 2010-10-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2375
2376         * shr.el (require): Require cl when compiling.
2377         (shr-tag-hr): New function.
2378
2379         * nnimap.el (nnimap-update-info): Remove double setting of high.
2380         (nnimap-update-info): Don't ignore groups that have no UIDNEXT.
2381         This makes nnimap work properly on Courier again.
2382
2383         * gnus.el (gnus-carpal): The carpal mode has been removed, but define
2384         the variable for backwards compatability.
2385
2386         * mm-decode.el (mm-save-part): If given a non-directory result, expand
2387         the file name before using to avoid setting mm-default-directory to
2388         nil.
2389
2390         * gnus-start.el (gnus-get-unread-articles): Require gnus-agent before
2391         bidning gnus-agent variables.
2392
2393         * shr.el (shr-render-td): Use a cache for the table rendering function
2394         to avoid getting an exponential rendering behaviour in nested tables.
2395         (shr-insert): Rework the line-breaking algorithm.
2396         (shr-insert): Don't leave trailing spaces.
2397         (shr-insert-table): Also insert empty TDs.
2398         (shr-tag-blockquote): Ensure paragraphs after </ul>.
2399
2400 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2401
2402         * gnus-sum.el (gnus-number): Rename from `number'.
2403         (gnus-article-marked-p, gnus-summary-limit-to-display-predicate)
2404         (gnus-summary-limit-children): Update uses correspondingly.
2405
2406 2010-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
2407
2408         * gnus-gravatar.el (gnus-gravatar-too-ugly): New user option.
2409         (gnus-gravatar-transform-address): Don't show avatars of people of
2410         which mail addresses match gnus-gravatar-too-ugly.
2411
2412 2010-10-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2413
2414         * shr.el (shr-table-widths): Expand TD elements to fill available
2415         space.
2416
2417 2010-10-07  Julien Danjou  <julien@danjou.info>
2418
2419         * nnimap.el (nnimap-request-rename-group): Add this method.
2420
2421 2010-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
2422
2423         * gnus-html.el (gnus-html-schedule-image-fetching): Remove function
2424         name from XEmacs' function-arglist.
2425
2426         * gnus-gravatar.el (gnus-gravatar-insert): Don't add properties to
2427         gravatar under XEmacs.
2428
2429 2010-10-07  Teodor Zlatanov  <tzz@lifelogs.com>
2430
2431         * auth-source.el: Update docs with TODO items.
2432
2433         * gnus-sync.el: Update docs to explain state and plans.
2434
2435         * gnus-int.el (gnus-after-set-mark-hook, gnus-before-update-mark-hook):
2436         Hooks for mark updates.
2437         (gnus-request-set-mark, gnus-request-update-mark): Use them.
2438
2439         * gnus-util.el (gnus-run-hooks-with-args): Convenience function to run
2440         hooks with arguments, which is needed for mark update hooks.
2441
2442 2010-10-06  Julien Danjou  <julien@danjou.info>
2443
2444         * gnus.el (gnus-expand-group-parameter): Only return and act on what
2445         was matched.
2446
2447         * sieve-manage.el: Update example in `Commentary'.
2448
2449         * sieve.el (sieve-open-server): Use sieve-manage-authenticate.
2450
2451         * sieve-manage.el (sieve-manage-open): Use sieve-manage-default-port,
2452         not 2000.
2453         (sieve-manage-authenticate): Re-add function.
2454
2455 2010-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2456
2457         * shr.el (shr-insert): Get 'space transition right.
2458         (shr-render-td): Only delete space at the end of the TD.
2459
2460         * nnimap.el (nnimap-open-connection): Prepare to support
2461         open-gnutls-stream.
2462
2463         * shr.el: Rearrange function order to be more logical.
2464
2465 2010-10-06  Julien Danjou  <julien@danjou.info>
2466
2467         * nnrss.el (nnrss-check-group): Remove 404 URL in comment.
2468         (nnrss-discover-feed): Remove 404 URL in docstring.
2469
2470         * nnir.el: Fix Swish-E URL.
2471         Fix Namazu URL.
2472
2473         * message.el (message-change-subject): Remove 404 URL in a comment.
2474
2475 2010-10-06  Katsumi Yamaoka  <yamaoka@jpl.org>
2476
2477         * gnus-art.el (gnus-mime-view-part-as-type): Make it work when being
2478         called interactively.
2479
2480         * gnus-util.el (gnus-remove-if): Allow hash table.
2481         (gnus-remove-if-not): New function.
2482
2483         * gnus-art.el (gnus-mime-view-part-as-type)
2484         * gnus-score.el (gnus-summary-score-effect)
2485         * gnus-sum.el (gnus-read-move-group-name):
2486         Replace remove-if-not with gnus-remove-if-not.
2487
2488         * gnus-group.el (gnus-group-completing-read):
2489         Regard collection as a hash table if it is not a list.
2490
2491 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2492
2493         * shr.el (shr-render-td): Allow blank/missing <TD>s.
2494
2495         * shr.el: Document the table-rendering algorithm.
2496
2497 2010-10-05  Katsumi Yamaoka  <yamaoka@jpl.org>
2498
2499         * dgnushack.el (dgnushack-compile): Exclude shr.el from being compiled
2500         for Emacsen having no `libxml-parse-html-region' support.
2501
2502 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2503
2504         * gnus-html.el (gnus-html-schedule-image-fetching): Protect against
2505         invalid URLs.
2506
2507         * shr.el (shr-tag-img): Shorten ALT texts and allow them to be
2508         line-broken.
2509         (shr-tag-img): Ignore image fetching errors.
2510         (shr-overlays-in-region): Compute overlay positions correctly.
2511
2512         * mm-decode.el (mm-shr): Require shr.
2513
2514         * gnus-art.el (gnus-blocked-images): Move variable here.
2515
2516         * shr.el (shr-insert-table): Bind free variable.
2517
2518         * mm-decode.el (mm-shr): Bind shr-content-function.
2519
2520         * shr.el (shr-content-function): New variable.
2521
2522         * gnus-sum.el (gnus-article-sort-by-most-recent-date): New function,
2523         added for symmetry.
2524
2525         * nnir.el (nnir-retrieve-headers): Don't bug out on invalid data.
2526
2527         * gnus-group.el (gnus-group-make-group): Doc fix.
2528
2529         * nnimap.el (nnimap-request-newgroups): Return success.
2530
2531         * shr.el (shr-find-elements): New function.
2532         (shr-tag-table): Put all the images after the table.
2533         (shr-tag-table): Really inhibit images inside the table.
2534         (shr-collect-overlays): Copy over overlays from the TD elements to the
2535         main document.
2536
2537         * mm-decode.el (mm-shr): Bind shr-blocked-images to
2538         gnus-blocked-images.
2539
2540 2010-10-05  Julien Danjou  <julien@danjou.info>
2541
2542         * sieve-manage.el (sieve-sasl-auth): Use auth-source to authenticate.
2543
2544         * gnus-html.el (gnus-html-wash-images): Rescale image from cid too.
2545         (gnus-html-maximum-image-size): Add this function.
2546         (gnus-html-put-image): Use gnus-html-maximum-image-size.
2547
2548         * sieve-manage.el (sieve-manage-capability): Do not bug out when the
2549         server-value of the capability is nil.
2550
2551 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2552
2553         * shr.el (shr-tag-em): Add <EM> tag.
2554
2555 2010-10-05  Florian Ragwitz  <rafl@debian.org>  (tiny change)
2556
2557         * sieve-manage.el (sieve-manage-default-stream): Make default stream
2558         customizable.
2559
2560         * gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid
2561         handing broken links to browse-url.
2562
2563 2010-10-05  Julien Danjou  <julien@danjou.info>
2564
2565         * gnus-util.el (gnus-emacs-completing-read)
2566         (gnus-iswitchb-completing-read): Use autoload rather than require.
2567
2568 2010-10-05  Katsumi Yamaoka  <yamaoka@jpl.org>
2569
2570         * lpath.el: Fbind libxml-parse-html-region and shr-insert-document for
2571         Emacs 22 and XEmacs; fbind help-function-arglist for XEmacs 21.4 and
2572         SXEmacs; fbind ido-completing-read, and bind iswitchb-mode and
2573         iswitchb-temp-buflist for XEmacs.
2574
2575         * gnus-util.el (gnus-completing-read-function): Exclude
2576         gnus-icompleting-read and gnus-ido-completing-read from candidates for
2577         XEmacs since iswitchb.el is very old and ido.el is unavailable in
2578         XEmacs.
2579
2580         * gnus-registry.el (gnus-registry-install-nnregistry): Rewrite so as
2581         not to use `delete-dups' that is unavailable in XEmacs 21.4.
2582
2583         * gnus-html.el: Don't require help-fns under XEmacs.
2584         (gnus-html-schedule-image-fetching): Work for XEmacs.
2585
2586         * mm-decode.el (mm-shr): Decode contents by charset.
2587
2588 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2589
2590         * nnimap.el (nnimap-open-connection): Give an error if nnimap-stream is
2591         unknown.
2592
2593         * shr.el (shr-tag-blockquote): Ensure paragraph after quote, too.
2594         (shr-get-image-data): Ensure against the cache file missing.
2595
2596         * nnimap.el (nnimap-finish-retrieve-group-infos): Message while waiting
2597         for data.
2598
2599         * spam-report.el (spam-report-url-ping-plain): Don't query about
2600         killing the process.
2601
2602         * shr.el (shr-render-td): Protect against too-wide text.
2603
2604 2010-10-04  Julien Danjou  <julien@danjou.info>
2605
2606         * mml-smime.el (mml-smime-openssl-encrypt-query): Fix choices.
2607         (mml-smime-openssl-sign-query): Fix gnus-completing-read call.
2608
2609         * gravatar.el (gravatar-retrieved): Kill buffer when gravatar has been
2610         retrieved.
2611
2612 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2613
2614         * shr.el (browse-url): Require.
2615         (shr-ensure-paragraph): Don't insert a new newline after empty-ish
2616         lines.
2617         (shr-show-alt-text, shr-browse-image): New commands.
2618         (shr-browse-url, shr-copy-url): New commands.
2619
2620         * gnus-sum.el (gnus-widen-article-window): New variable.
2621         (gnus-summary-select-article-buffer): Use it.
2622
2623         * message.el (message-idna-to-ascii-rhs-1): Don't bug out on addresses
2624         without @ signs.
2625
2626 2010-10-04  Michael Welsh Duggan  <md5i@md5i.com>  (tiny change)
2627
2628         * nnir.el (nnir-run-imap): Remove spurious space in search string.
2629
2630 2010-10-04  Julien Danjou  <julien@danjou.info>
2631
2632         * gnus-util.el (gnus-emacs-completing-read): Mapcar collection to list,
2633         for XEmacs.
2634
2635 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2636
2637         * gnus-salt.el: Remove all gnus-carpal stuff -- it's not useful.
2638
2639         * nnimap.el (nnimap-open-connection): Allow tls as a synonym for ssl.
2640         (nnimap-close-server): Implement.
2641
2642         * dgnushack.el (iswitchb): Require to shut up the compiler.
2643
2644         * shr.el (shr-ensure-paragraph): Fix the non-empty line case.
2645         (shr-insert): Tweak line breaking.
2646         (shr-insert): Handle <pre> better.
2647         (shr-tag-li): Get <li> indentation right.
2648         (shr-tag-li): Get <li> indentation even righter.
2649         (shr-tag-blockquote): Ensure paragraph start.
2650         (shr-make-table): Tweak table generation.
2651         (shr-make-table): Fix typo.
2652
2653         * shr.el: Implement table rendering.
2654
2655 2010-10-04  Julien Danjou  <julien@danjou.info>
2656
2657         * gnus-html.el (gnus-html-put-image): Fix resize image code.
2658
2659 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2660
2661         * shr.el (shr-insert): Use string anchors instead of line anchors.
2662
2663 2010-10-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2664
2665         * shr.el: Add headings.
2666         (shr-ensure-paragraph): Actually work.
2667         (shr-tag-li): Make <ul> prettier.
2668         (shr-insert): Get white space at the beginning/end of elements right.
2669         (shr-tag-p): Collapse subsequent <p>s.
2670         (shr-ensure-paragraph): Don't insert double line feeds after blank
2671         lines.
2672         (shr-insert): \t is also space.
2673         (shr-tag-s): Fix "s" tag name function.
2674         (shr-tag-s): Fix face prop name.
2675
2676 2010-10-03  Julien Danjou  <julien@danjou.info>
2677
2678         * gnus-html.el (gnus-html-put-image): Use gnus-rescale-image.
2679
2680         * mm-view.el (gnus-window-inside-pixel-edges): Add autoload for
2681         gnus-window-inside-pixel-edges.
2682
2683         * gnus-ems.el (gnus-window-inside-pixel-edges): Move from gnus-html to
2684         gnus-ems.
2685
2686         * mm-view.el (mm-inline-image-emacs): Support image resizing.
2687
2688         * gnus-util.el (gnus-rescale-image): Add generic gnus-rescale-image
2689         function.
2690
2691         * mm-decode.el (mm-inline-large-images): Enhance defcustom and add
2692         resize choice.
2693
2694 2010-10-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2695
2696         * shr.el (shr-tag-p): Don't insert newlines on empty tags at the
2697         beginning of the buffer.
2698
2699         * gnus-sum.el (gnus-summary-select-article-buffer): Really select the
2700         article buffer again.
2701
2702         * shr.el (shr-tag-p): Don't insert newlines at the start of the buffer.
2703
2704         * mm-decode.el (mm-shr): Narrow before inserting, so that shr can know
2705         when it's at the start of the buffer.
2706
2707         * shr.el (shr-tag-blockquote): Convert name.
2708         (shr-rescale-image): Use the right image-size variant.
2709
2710         * gnus-sum.el (gnus-summary-select-article-buffer): If the article
2711         buffer isn't shown, then select the current article first instead of
2712         bugging out.
2713         (gnus-summary-select-article-buffer): Show both the article and summary
2714         buffers again.
2715
2716         * shr.el (shr-fontize-cont): Protect against regions with no text.
2717         Rename tag functions to shr-tag-* for enhanced security.
2718         (shr-tag-ul, shr-tag-ol, shr-tag-li, shr-tag-br): New functions.
2719
2720 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
2721
2722         * shr.el (shr-insert):
2723         * pop3.el (pop3-movemail):
2724         * gnus-html.el (gnus-html-wash-tags): Don't use plusp, as cl may not be
2725         loaded.
2726
2727 2010-10-03  Glenn Morris  <rgm@gnu.org>
2728
2729         * nnmairix.el (nnmairix-replace-illegal-chars): Drop Emacs 20 code.
2730
2731         * smime.el (smime-cert-by-ldap-1): Drop Emacs 21 code.
2732
2733         * gnus-art.el (gnus-next-page-map): Drop Emacs 20 compat cruft.
2734
2735         * gmm-utils.el (gmm-write-region): Drop Emacs 20 compat cruft.
2736
2737         * gnus-util.el (gnus-make-local-hook): Simplify.
2738
2739 2010-10-02  Julien Danjou  <julien@danjou.info>
2740
2741         * gnus-util.el (gnus-iswitchb-completing-read): New function.
2742         (gnus-ido-completing-read): New function.
2743         (gnus-emacs-completing-read): New function.
2744         (gnus-completing-read): Use gnus-completing-read-function.
2745         Add gnus-completing-read-function.
2746
2747 2010-10-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2748
2749         * shr.el (shr-insert-document): Autoload.
2750         (shr-img): Be silent.
2751         (shr-insert): Add a newline after every picture before text.
2752         (shr-add-font): Use overlays for combining faces.
2753         (shr-insert): Pass upwards the text start point.
2754
2755         * mm-decode.el (mm-text-html-renderer): Default to shr.el rendering, if
2756         possible.
2757         (mm-shr): New function.
2758
2759 2010-10-02  Julien Danjou  <julien@danjou.info>
2760
2761         * gnus-gravatar.el (gnus-gravatar-insert): Adjust character where we
2762         should go backward.
2763
2764 2010-10-02  Juanma Barranquero  <lekktu@gmail.com>
2765
2766         * shr.el (shr): Fix typo in provide call.
2767
2768 2010-10-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2769
2770         * shr.el: New file.
2771
2772         * gnus-html.el (gnus-html-schedule-image-fetching): Be silent.
2773
2774         * gnus-topic.el (gnus-topic-move-group): Fix the syntax of the
2775         completing read.
2776
2777 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2778
2779         * gnus-start.el (gnus-check-bogus-newsgroups): Say how many groups
2780         we're being queried about.  Suggested by Dan Jacobson.
2781
2782         * nndoc.el (nndoc-type-alist): Do babyl before mime-parts.
2783         Suggested by Jason Eisner.
2784
2785         * gnus-async.el (gnus-async-delete-prefetched-entry): Remove from hash
2786         table, too.  Suggested by Stefan Wiens.
2787         (gnus-async-prefetched-article-entry): Use intern-soft to avoid growing
2788         the table unnecessary.  Suggested by Stefan Wiens.
2789
2790         * gnus-sum.el (gnus-summary-clear-local-variables): This is probably no
2791         longer needed, and probably doesn't work either, as pointed out by
2792         Stefan Wiens.
2793         (gnus-summary-exit): Remove call to the clearing function.
2794         (gnus-summary-exit-no-update): Ditto.
2795
2796         * gnus-art.el (gnus-summary-save-in-file): Use with-current-buffer
2797         instead of gnus-eval-in-buffer-window to avoid popping up frames.
2798         Reported by Stefan Monnier.
2799         (gnus-summary-save-in-rmail): Ditto.
2800
2801         * gnus-sum.el (gnus-summary-select-article-buffer): Show only the
2802         article buffer, instead of both the article buffer and the summary
2803         buffer.  Sort of suggested by Dan Jacobson.
2804
2805         * gnus-win.el (gnus-buffer-configuration): Add an only-article spec.
2806
2807         * nnmbox.el (nnmbox-read-mbox): Mark buffer for deletion on Gnus exit.
2808         Suggested by Dan Jacobson.
2809
2810         * mm-encode.el (mm-content-transfer-encoding-defaults): Try to make the
2811         documentation clearer.
2812
2813         * message.el (message-shorten-references): Comment on the number "21".
2814         Suggested by Stefan Monnier.
2815
2816         * gnus-sum.el (gnus-summary-scroll-up): Add more documentation.
2817         Suggested by Dan Jacobson.
2818
2819         * gnus.el (gnus-large-newsgroup):
2820         Mention gnus-large-ephemeral-newsgroup.  Suggested by Dan Jacobson.
2821
2822         * gnus-msg.el (gnus-summary-resend-message): When resending, don't
2823         externalize attachments.  Bug reported by Steve Wen.
2824
2825         * gnus.el (gnus-continuum-version): Make inactive, since it doesn't
2826         really message anything to the user.
2827
2828         * nnmail.el (nnmail-article-group): Allow using the fancy split method
2829         directly.
2830
2831         * nnimap.el (nnimap-request-group): Low higher than high to signal no
2832         messages in empty groups.
2833
2834 2010-10-01  Ted Zlatanov  <tzz@lifelogs.com>
2835
2836         * nnimap.el (nnimap-request-group): Don't bug out when there's an empty
2837         non-UIDNEXT group.
2838
2839 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2840
2841         * gnus-group.el (gnus-group-completing-read): Return the symbol name,
2842         not the value from the collection.
2843
2844         * nnimap.el (nnimap-update-info): Ignore groups that have no UIDNEXT
2845         values.  This sometimes happens on some groups that have no info.
2846         (nnimap-request-newgroups): New function.
2847
2848 2010-10-01  Teodor Zlatanov  <tzz@lifelogs.com>
2849
2850         * gnus-registry.el (gnus-registry-install-nnregistry): Move the feature
2851         check into `gnus-registry-initialize'.
2852         (gnus-registry-initialize): Ditto.
2853         Fix and extend header docs.
2854
2855 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2856
2857         * gnus-html.el (gnus-html-prefetch-images): Adjust regexp to avoid
2858         regexp backtrace overflows.
2859
2860         * nnimap.el (nnimap-extend-tls-programs): Only extend those programs
2861         for starttls that tls.el implements; i.e. openssl.
2862
2863         * tls.el (tls-starttls-switches): Give up on using starttls with
2864         gnutls-cli.
2865         (tls-program): Add --insecure to be consistent with the defaults from
2866         openssl s_client.  Now all three commands are insecure.
2867
2868 2010-10-01  Katsumi Yamaoka  <yamaoka@jpl.org>
2869
2870         * lpath.el: Bind completion-styles-alist for XEmacs.
2871
2872         * gravatar.el: Don't load image.el that XEmacs doesn't provide.
2873         (gravatar-create-image): New function that's an alias to
2874         gnus-xmas-create-image, gnus-create-image, or create-image.
2875         (gravatar-data->image): Use it.
2876
2877 2010-09-30  Teodor Zlatanov  <tzz@lifelogs.com>
2878
2879         * gnus-registry.el (gnus-registry-install-nnregistry): New function to
2880         install the nnregistry refer method.
2881         (gnus-registry-install-hooks): Use it.
2882         (gnus-registry-unfollowed-groups): Add nnmairix to the default
2883         unfollowed groups.
2884
2885 2010-09-30  Jose A. Ortega Ruiz  <jao@gnu.org>  (tiny change)
2886
2887         * gnus-sum.el (gnus-summary-show-thread): Skip past invisible text when
2888         expanding threads.
2889
2890 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2891
2892         * nnir.el: Use the server names without suffixes (bug #7009).
2893
2894         * nnimap.el (nnimap-open-connection): Reinstate the auto-upgrade from
2895         unencrypted to STARTTLS, if possible.
2896
2897 2010-09-30  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
2898
2899         * message.el (message-ignored-supersedes-headers): Strip Injection-*
2900         headers before superseding.
2901
2902 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2903
2904         * nnrss.el (nnrss-use-local): Add documentation.
2905
2906         * nnimap.el (nnimap-extend-tls-programs): New function.
2907         (nnimap-open-connection): Use tls.el exclusively, and not starttls.el.
2908         (nnimap-wait-for-connection): Accept the greeting from the stupid
2909         output from openssl s_client -starttls, too.
2910
2911         * tls.el (tls-starttls-switches): New variable.
2912         (tls-find-starttls-argument): Use it.
2913         (open-tls-stream): Ditto.
2914
2915         * netrc.el (netrc-credentials): Return the value of the "default" entry.
2916         (netrc-machine): Ditto.
2917
2918         * nnimap.el (nnimap-find-article-by-message-id): Really return the
2919         article number.
2920         (nnimap-split-fancy): New variable.
2921         (nnimap-split-incoming-mail): Use it.
2922
2923         * nntp.el (nntp-server-list-active-group): Document.
2924
2925         * nnimap.el (nnimap-find-article-by-message-id): Use EXAMINE instead of
2926         SELECT to get the message-id.
2927
2928         * mail-source.el (mail-sources): Remove webmail support.
2929         (defvar): Ditto.
2930         (mail-source-fetcher-alist): Ditto.
2931         (mail-source-fetch-webmail): Remove.
2932
2933         * webmail.el: Remove -- doesn't seem relevant any more.
2934
2935         * gnus.el: Fix up make-obsolete-variable declarations throughout.
2936
2937         * nnimap.el (nnimap-request-accept-article): Get the Message-ID without
2938         the \r.
2939
2940 2010-09-30  Julien Danjou  <julien@danjou.info>
2941
2942         * gnus-agent.el (gnus-agent-add-group): Fix call to
2943         gnus-completing-read.
2944
2945 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2946
2947         * nndoc.el (nndoc-retrieve-groups): New function.
2948
2949         * nnimap.el (nnimap-split-incoming-mail): If nnimap-split-methods is
2950         `default', use nnmail-split-methods.
2951         (nnimap-request-article): Downcase the NILs so that they are nil.
2952
2953         * gnus-sum.el (gnus-valid-move-group-p): Make sure that `group' is a
2954         symbol.
2955
2956         * nnimap.el (nnimap-open-connection): Revert the auto-network->starttls
2957         code, since if the user has requested network, that's what they ought
2958         to get.
2959         (nnimap-request-set-mark): Erase the buffer before issuing commands.
2960         (nnimap-split-rule): Mark as obsolete.
2961
2962         * pop3.el (pop3-send-streaming-command, pop3-stream-length):
2963         New variable.
2964
2965         * nnimap.el (nnimap-insert-partial-structure): Get the type from the
2966         correct slot, too.
2967
2968 2010-09-29  Julien Danjou  <julien@danjou.info>
2969
2970         * gnus.el (gnus-local-domain): Declare variable obsolete.
2971
2972         * gnus-util.el (gnus-icompleting-read): Require iswitchb.
2973         Fix history computing.
2974         (gnus-ido-completing-read): Require ido.
2975
2976 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2977
2978         * gnus-registry.el: Don't prompt on load, which makes it impossible to
2979         build Gnus.
2980
2981         * nnimap.el (nnimap-insert-partial-structure): Be way more permissive
2982         when interpreting the structures.
2983         (nnimap-request-accept-article): Add \r\n to the lines to make this
2984         work with Cyrus.
2985
2986         * nndraft.el (nndraft-request-expire-articles): Use the group name
2987         instead if "nndraft".  Fix found by Nils Ackermann.
2988
2989 2010-09-29  Ludovic Courtes  <ludo@gnu.org>
2990
2991         * nnregistry.el: Add.
2992
2993 2010-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2994
2995         * nnmail.el (group, group-art-list, group-art):
2996         Remove unneeded directives.
2997
2998 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
2999
3000         * mm-util.el (mm-codepage-iso-8859-list, mm-charset-eval-alist)
3001         (mm-mime-charset)
3002         * rfc2047.el (rfc2047-syntax-table)
3003         * utf7.el (utf7-utf-16-coding-system): Comment fix.
3004
3005         * nnrss.el (nnrss-read-server-data, nnrss-read-group-data): Use `load'
3006         rather than `insert-file-contents' and `eval-region'.
3007
3008         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3009         construction.
3010
3011         * smime-ldap.el (smime-ldap-search): Remove Emacs 21 compatible code.
3012
3013         * time-date.el: No need to require cl for Emacs 21.
3014
3015 2010-09-29  Julien Danjou  <julien@danjou.info>
3016
3017         * gnus-gravatar.el (gnus-gravatar-properties): Add this properties in
3018         replacement of `gnus-gravatar-relief' to mimic
3019         `gnus-faces-properties-alist'.
3020         Add :version property.
3021
3022 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
3023
3024         * mail-source.el (mail-source-report-new-mail)
3025         * message.el (message-default-mail-headers)
3026         * mm-decode.el (mm-valid-image-format-p): Comment fix.
3027
3028         * mml2015.el (mml2015-use): Don't bind recursive-load-depth-limit.
3029
3030 2010-09-28  Julien Danjou  <julien@danjou.info>
3031
3032         * gnus-gravatar.el (gnus-gravatar-insert): Fix search in case
3033         mail-address contains the same string as real-name.
3034
3035         * gnus-ems.el (gnus-put-image): Revert Lars, change and insert
3036         non-blank in header, otherwise it'll get stripped.
3037
3038         * gnus-gravatar.el (gnus-gravatar-insert): Search backward for
3039         real-name, and then for mail address rather than doing : or , search.
3040
3041 2010-09-27  Julien Danjou  <julien@danjou.info>
3042
3043         * gnus-util.el (gnus-completing-read): Use gnus-use-ido to apply the
3044         right completing-read function.
3045         (gnus-use-ido): New variable
3046         (gnus-completing-read-with-default): Remove.
3047         * gnus-agent.el (gnus-agent-read-group): Remove prompt computing.
3048         (gnus-agent-add-group):
3049         * gnus-srvr.el (gnus-server-add-server, gnus-server-goto-server):
3050         * mm-view.el (mm-view-pkcs7-decrypt):
3051         * mm-util.el (mm-codepage-setup):
3052         * smime.el (smime-sign-buffer, smime-decrypt-buffer):
3053         * mml-smime.el (mml-smime-openssl-sign-query):
3054         * mml.el (mml-minibuffer-read-type, mml-minibuffer-read-disposition)
3055         (mml-insert-multipart):
3056         * gnus-msg.el (gnus-summary-yank-message):
3057         * gnus-int.el (gnus-start-news-server):
3058         * mm-decode.el (mm-interactively-view-part):
3059         * gnus-dired.el (gnus-dired-attach):
3060         * gnus.el (gnus-read-method):
3061         * gnus-bookmark.el (gnus-bookmark-jump):
3062         * gnus-art.el (gnus-mime-view-part-as-type)
3063         (gnus-mime-action-on-part, gnus-article-encrypt-body):
3064         * gnus-topic.el (gnus-topic-jump-to-topic, gnus-topic-move-matching)
3065         (gnus-topic-copy-matching, gnus-topic-sort-topics, gnus-topic-move):
3066         * nnmairix.el (nnmairix-create-server-and-default-group)
3067         (nnmairix-update-groups, nnmairix-get-server)
3068         (nnmairix-backend-to-server, nnmairix-goto-original-article)
3069         (nnmairix-get-group-from-file-path):
3070         * nnrss.el (nnrss-find-rss-via-syndic8):
3071         * gnus-group.el (gnus-group-completing-read, gnus-group-make-web-group)
3072         (gnus-group-make-useful-group, gnus-group-add-to-virtual)
3073         (gnus-group-browse-foreign-server):
3074         * gnus-sum.el (gnus-summary-goto-article, gnus-summary-limit-to-extra)
3075         (gnus-summary-execute-command, gnus-summary-respool-article)
3076         (gnus-read-move-group-name):
3077         * gnus-score.el (gnus-summary-increase-score)
3078         (gnus-summary-score-effect):
3079         * gnus-registry.el (gnus-registry-read-mark): Use gnus-completing-read.
3080
3081 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
3082
3083         * lpath.el: Remove url-http-file-exists-p, w32-focus-frame, and
3084         x-focus-frame.
3085
3086         * nnimap.el (auth-source-forget-user-or-password)
3087         (auth-source-user-or-password): Autoload.
3088
3089         * message.el (message-from-style, message-interactive)
3090         (message-cite-prefix-regexp, message-sendmail-envelope-from)
3091         (message-yank-prefix, message-indentation-spaces, message-signature)
3092         (message-signature-file): Add comment.
3093
3094 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3095
3096         * gnus-sum.el (gnus-summary-read-group-1): Set gnus-newsgroup-highest.
3097         (gnus-summary-insert-new-articles): Use gnus-newsgroup-highest to get
3098         new articles.
3099
3100         * nnimap.el (nnimap-request-article): Don't partial-fetch single-part
3101         parts.
3102         (nnimap-request-article): Work with the t setting, too.
3103
3104         * gnus-sum.el (gnus-summary-exit): Kill the article buffer later, so
3105         that you don't get flashes of other buffers.
3106         (gnus-summary-show-complete-article): Intern before setting.
3107
3108 2010-09-27  David Engster  <dengste@eml.cc>
3109
3110         * nnmairix.el (nnmairix-replace-group-and-numbers): Deal with NOV as
3111         well as HEADERS.
3112         (nnmairix-retrieve-headers): Provide new argument for the above.
3113
3114 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3115
3116         * gnus-sum.el (gnus-summary-move-article): Don't alter
3117         gnus-newsgroup-active.  This makes `/ N' work after copying to the same
3118         group.
3119
3120         * nnimap.el (nnimap-update-info): Don't destructively alter active.
3121
3122         * message.el (message-cite-prefix-regexp): Revert my last edit.
3123
3124         * gnus-sum.el (gnus-summary-show-complete-article): Bind the server
3125         variable instead of the Gnus variable.
3126
3127         * nnimap.el (nnimap-find-wanted-parts-1): Use it.
3128
3129         * gnus-art.el (gnus-fetch-partial-articles): Move back to nnimap again.
3130
3131         * nnimap.el (nnimap-request-accept-article): Remove the "." at the end,
3132         since some servers don't like it.
3133         (nnimap-open-connection): Forget credentials if the server says the
3134         password was wrong.
3135         (nnimap-parse-line): Protect against invalid data.
3136
3137         * gnus-sum.el (gnus-summary-move-article): Add comment.
3138         (gnus-summary-insert-new-articles): Copy the old-high watermark so that
3139         nothing alters it while scanning for new messages.
3140
3141         * nnimap.el (nnimap-request-accept-article): Send a "." at the end,
3142         which may or may not help.
3143         (nnimap-open-connection): If we're doing a stream connection, and then
3144         discover we're on a STARTTLS-capable server, then open a STARTTLS
3145         connection instead.
3146
3147 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3148
3149         * nnimap.el (utf7): Require.
3150
3151         * message.el (message-cite-prefix-regexp): Remove "}" from citation
3152         prefix.
3153
3154 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
3155
3156         * nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.
3157
3158 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3159
3160         * nnimap.el (nnimap-request-accept-article): Message the error on
3161         error.
3162
3163 2010-09-27  Katsumi Yamaoka  <yamaoka@jpl.org>
3164
3165         * gnus-art.el (gnus-mime-delete-part): Fix Lisp type of byte(s).
3166
3167 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3168
3169         * nndoc.el (nndoc-request-list): Return success always.
3170
3171         * gnus-agent.el (gnus-agent-retrieve-headers): Don't propagate
3172         `fetch-old' -- we only want to fetch the articles we've requested.
3173         The rest are in the agent, probably.
3174         (gnus-agent-read-servers-validate): Change the level for the "Ignoring
3175         disappeared server" to something low.  It's not important.
3176
3177         * nnimap.el (nnimap-get-whole-article): Remove the data that may have
3178         arrived before the FETCH data.
3179
3180         * nnmh.el (nnmh-request-expire-articles): Don't try to fetch the expiry
3181         target here, because we don't know the Gnus name of the group.
3182
3183         * nndraft.el (nndraft-request-expire-articles): Fetch the expiry target
3184         for the correct group.
3185
3186         * gnus-ems.el (gnus-create-image): Ignore all image-creation errors.
3187
3188         * gnus.el (gnus): Give a final warning after startup.
3189
3190         * gnus-util.el (gnus-action-message-log): New variable.
3191         (gnus-message): Use it.
3192         (gnus-final-warning): New function.
3193
3194         * nnimap.el (nnimap-open-connection): Record the greeting.
3195         (nnimap): Add greeting.
3196
3197 2010-09-26  Julien Danjou  <julien@danjou.info>
3198
3199         * gnus-html.el (gnus-html-show-images): Fix gnus-html-display-image
3200         arguments.
3201         (gnus-html-wash-images): Fix spec computing to include start/end.
3202
3203         * gnus-art.el (gnus-article-treat-body-boundary): Fix length computing.
3204
3205 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3206
3207         * nnimap.el (nnimap-request-expire-articles): Compress ranges before
3208         deletion.
3209         (nnimap-retrieve-headers): Don't select the group, because that's
3210         already done by nnimap-possibly-change-group.
3211
3212         * gnus-picon.el (gnus-picon-inhibit-top-level-domains): New variable.
3213         (gnus-picon-transform-address): Use it.
3214
3215         * mail-source.el (mail-source-value): Revert previous patch.
3216
3217         * nnimap.el (nnimap-credentials): Allow inhibiting the password query
3218         on failure.
3219         (nnimap-open-connection): Look up both virtual and physical server name
3220         credentials.
3221
3222         * gnus-win.el: Revert previous patch, since it made Gnus backtrace.
3223
3224 2009-02-07  Dave Love  <fx@gnu.org>
3225
3226         * tls.el (open-tls-stream): Don't query killing process.
3227
3228 2009-02-08  Dave Love  <fx@gnu.org>
3229
3230         * gnus-win.el (gnus-window-to-buffer-helper)
3231         (gnus-all-windows-visible-p): Function needn't be a symbol.
3232
3233         * mail-source.el (mail-source-value): Function needn't be a symbol.
3234
3235 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3236
3237         * message.el (message-cite-prefix-regexp): Remove } from the cite
3238         prefix.
3239
3240         * gnus-art.el (gnus-treatment-function-alist): Do picons before
3241         highlight again, so that the highlight is correct.
3242
3243         * gnus-picon.el (gnus-picon): Remove again.
3244         (gnus-picon-create-glyph): Set the background XPM colour explicitly.
3245
3246         * gnus-art.el (gnus-treatment-function-alist): Insert picons after
3247         doing the header highlightling, so that the background colour of the
3248         picon is correct.
3249
3250         * gnus-picon.el (gnus-picon-xbm): Remove obsolete face.
3251         (gnus-picon): Ditto.
3252         (gnus-picon): Reinstate.  The background colour for picons is white.
3253         (gnus-picon-insert-glyph): Make the background white.
3254
3255         * nnml.el (nnml-open-nov): Don't return dead buffers.
3256
3257         * auth-source.el (auth-source-create): Query the user for whether to
3258         store the credentials.
3259
3260         * netrc.el (netrc-store-data): New function.
3261
3262         * auth-source.el (auth-source-user-or-password): Use the existing auth
3263         sources, if any, for creation.
3264
3265         * gnus.el (gnus-group-fast-parameter): Return the last matching
3266         parameter instead of the first matching parameter.
3267
3268 2010-09-26  Julien Danjou  <julien@danjou.info>
3269
3270         * gnus-sum.el (gnus-auto-center-group): Transform into a defcustom.
3271
3272 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3273
3274         * mml2015.el (mml2015-use): Remove gpg support.
3275
3276         * mml1991.el (mml1991-function-alist): Remove gpg function.
3277         (mml1991-gpg-sign): Remove.
3278
3279 2010-09-26  Andreas Seltenreich  <seltenreich@gmx.de>
3280
3281         * gnus-srvr.el (gnus-browse-subscribe-newsgroup-method): New variable.
3282         (gnus-browse-unsubscribe-current-group): Document it.
3283         (gnus-browse-unsubscribe-group): Use it.
3284
3285 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3286
3287         * gnus-group.el (gnus-read-ephemeral-bug-group): Add the bug email
3288         address to the To list for easier response.
3289
3290         * gnus.el (gnus-play-startup-jingle): Remove.
3291         (gnus-splash): Don't play jingle.
3292         (gnus): Silence gnus-load message.
3293
3294         * gnus-art.el (gnus-treat-play-sounds): Remove.
3295
3296         * gnus.el (gnus-play-jingle): Remove audio support.
3297
3298         * gnus-cus.el (gnus-score-customize): Remove audio reference.
3299
3300         * earcon.el: Remove -- no users.
3301
3302         * gnus-audio.el: Remove -- no users of this package.
3303
3304         * gnus-sum.el (gnus-summary-limit-children): Remove nocem support.
3305
3306         * gnus-start.el (gnus-setup-news): Remove nocem support.
3307
3308         * gnus-group.el (gnus-group-get-new-news): Remove nocem call.
3309
3310         * gnus.el (gnus-use-nocem): Remove.
3311
3312         * gnus-demon.el (gnus-demon-add-nocem, gnus-demon-scan-nocem):
3313         Remove.
3314
3315         * gnus-nocem.el (gnus-nocem-issuers): Remove file.  Apparently nobody
3316         uses NoCeM any more.
3317
3318         * gnus-art.el (gnus-ctan-url): Seems not very useful -- removed.
3319         (gnus-button-ctan-handler): Ditto.
3320         (gnus-button-handle-ctan-bogus-regexp): Ditto.
3321         (gnus-button-ctan-directory-regexp): Ditto.
3322         (gnus-button-handle-ctan): Ditto.
3323         (gnus-button-tex-level): Ditto.
3324         (gnus-button-alist): Remove CTAN stuff.
3325
3326 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3327
3328         * nnimap.el (nnimap-wait-for-response): Reverse logic in the
3329         nnimap-streaming test.
3330
3331         * gnus-start.el (gnus-get-unread-articles): Don't try to open failed
3332         servers twice.
3333
3334         * nnimap.el (nnimap-open-connection): Add more error reporting when
3335         nnimap fails early.
3336
3337         * nnheader.el (nnheader-get-report-string): New function.
3338         (nnheader-get-report): Use it.
3339
3340         * gnus-int.el (gnus-check-server): Say what the error was when opening
3341         failed.
3342
3343         * nnimap.el (nnimap-wait-for-response): Search further when we're not
3344         using streaming.
3345
3346 2010-09-25  Julien Danjou  <julien@danjou.info>
3347
3348         * gnus-html.el (gnus-html-rescale-image): Use our defalias
3349         gnus-window-inside-pixel-edges.
3350
3351 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3352
3353         * gnus-srvr.el (gnus-server-copy-server): Add documentation.
3354
3355         * mm-decode.el (mm-save-part): Allow saving to other directories the
3356         normal Emacs way.
3357
3358         * nndoc.el (nndoc-type-alist): Move mime-parts after mbox.
3359         Suggested by Jay Berkenbilt.
3360
3361         * gnus-art.el (gnus-mime-delete-part): Fix plural for "byte" when
3362         there isn't a single byte.
3363
3364         * gnus-int.el (gnus-open-server): Don't query whether to go offline --
3365         just do it.  It doesn't really seem to matter what the user responds
3366         here, I think, so it's just a confusing question.
3367
3368         * nnimap.el (nnimap-retrieve-group-data-early): Fix typo in the
3369         non-streaming case.
3370
3371         * gnus-art.el (gnus-flush-original-article-buffer): Separate out.
3372         (gnus-article-encrypt-body): Use it.
3373
3374         * gnus-sum.el (gnus-summary-show-complete-article): New command and
3375         keystroke.
3376
3377         * nnimap.el (nnimap-find-wanted-parts-1):
3378         Use gnus-fetch-partial-articles.
3379
3380         * gnus-art.el (gnus-fetch-partial-articles): New variable.
3381
3382         * nnimap.el (nnimap-insert-partial-structure): New function.
3383         (nnimap-get-partial-article): New function.
3384         (nnimap-request-article): Use it.
3385         (nnimap-wait-for-response): Return whether the wait was successful.
3386         (nnimap-finish-retrieve-group-infos): Don't do anything if the
3387         retrieval wasn't successful.
3388         (nnimap-retrieve-group-data-early): Allow throttling servers.
3389         (nnimap-streaming): New variable.
3390         (nnimap-fetch-partial-articles): Remove.
3391
3392         * mm-decode.el (mm-with-part): Protect against killed buffers.
3393
3394         * nndraft.el (nndraft-retrieve-headers): Insert Lines and Chars headers
3395         for prettier summary display.
3396
3397 2010-09-25  Andrew Cohen  <cohen@andy.bu.edu>  (tiny change)
3398
3399         * nnir.el (nnir-run-imap): Allow sending IMAP search patterns directly.
3400
3401 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3402
3403         * gnus.el (gnus-local-domain): Put gnus-local-domain back again, since
3404         apparently third-party libraries depend on it.
3405
3406         * nnimap.el (nnimap-open-connection): Wait for the response to STARTTLS
3407         before starting negotiation.
3408
3409         * gnus-art.el (gnus-treat-from-gravatar): Change default to nil for
3410         privacy reasons.
3411         (gnus-treat-mail-gravatar): Ditto.
3412
3413         * gnus-ems.el (gnus-put-image): Don't put any non-blank text into the
3414         buffer when inserting images.  Inserting text into the headers, for
3415         instance, can make them invalid.
3416
3417 2010-09-25  Julien Danjou  <julien@danjou.info>
3418
3419         * rfc1843.el: Remove useless rfc1843-old-gnus-decode-header-function
3420         variables.
3421
3422         * nnheader.el: Remove useless variables news-reply-yank-from and
3423         news-reply-yank-message-id.
3424
3425         * mml2015.el: Remove useless mc-default-scheme and mc-schemes
3426         variables.
3427
3428         * mml1991.el: Remove useless mml1991-verbose.
3429
3430         * gnus.el: Remove useless variable gnus-use-generic-from.
3431         Remove obsolete variable gnus-topic-indentation.
3432
3433         * gnus-uu.el: Remove useless gnus-uu-shar-file-name.
3434
3435         * gnus-sum.el: Remove useless gnus-newsgroup-none-id.
3436
3437         * gnus-picon.el: Remove useless gnus-picon-setup-p variable.
3438
3439         * gnus-group.el: Remove useless gnus-group-icon-cache.
3440         Remove useless gnus-ephemeral-group-server.
3441
3442         * gnus-bookmark.el: Remove useless gnus-bookmark-after-jump-hook.
3443
3444         * mml2015.el: Remove useless mml2015-verbose.
3445
3446         * mml-smime.el: Remove useless mml-smime-verbose.
3447
3448         * gnus.el: Remove useless gnus-local-domain.
3449
3450         * gnus-gravatar.el (gnus-gravatar-transform-address):
3451         Use gnus-gravatar-size.
3452
3453         * gnus-art.el: Remove useless gnus-treat-translate.
3454
3455 2010-09-24  Julien Danjou  <julien@danjou.info>
3456
3457         * gnus-sum.el: Add support for Gravatars.
3458
3459         * gnus-art.el: Add support for Gravatars.
3460
3461         * gnus-gravatar.el: Add this file.
3462
3463         * gravatar.el: Add this file.
3464
3465 2010-09-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3466
3467         * gnus-sum.el (gnus-summary-fetch-faq): Remove.
3468
3469         * gnus-group.el (gnus-group-fetch-faq): Remove.
3470
3471         * gnus.el (gnus-group-faq-directory): Remove.
3472
3473         * gnus-group.el (gnus-group-fetch-charter): Remove.
3474
3475         * gnus.el (gnus-group-charter-alist): Remove.
3476
3477         * gnus-group.el (gnus-group-archive-directory): Remove.
3478         (gnus-group-recent-archive-directory): Ditto.
3479         (gnus-group-make-archive-group): Remove.
3480
3481         * nnimap.el (nnimap-update-info): Protect against nil uidnexts.
3482
3483         * gnus-cache.el (gnus-cache-braid-heads): When braiding heads, don't
3484         use the same article number for all the cached articles.
3485
3486         * nnimap.el (nnimap-command): Register the last command time so
3487         that we can use it for idling NOOPs.
3488         (nnimap-open-connection): Start the keeplive timer.
3489         (nnimap-make-process-buffer): Store all the process buffers.
3490         (nnimap-keepalive): New function.
3491
3492         * starttls.el (starttls-open-stream): Add autoload cookie.
3493
3494 2010-09-24  Michael Welsh Duggan  <md5i@md5i.com>  (tiny change)
3495
3496         * nnimap.el (nnimap-split-incoming-mail): Fix paren typo in the 'junk
3497         handling.
3498
3499 2010-09-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3500
3501         * nnrss.el (nnrss-retrieve-groups): Change to the group before checking
3502         its data structures.
3503
3504         * gnus.el (gnus-sloppily-equal-method-parameters): Use copy-sequence
3505         instead of the cl.el copy-list.
3506         (gnus-sloppily-equal-method-parameters): Use equal instead of the cl
3507         equalp.
3508
3509 2010-09-24  Katsumi Yamaoka  <yamaoka@jpl.org>
3510
3511         * gmm-utils.el (gmm-tool-bar-from-list): Always use tool-bar-local-item
3512         and tool-bar-local-item-from-menu.
3513
3514         * gnus-agent.el (gnus-agent-make-mode-line-string): Always use
3515         mode-line-highlight face for Emacs.
3516
3517         * gnus-art.el (toplevel): Don't bind recursive-load-depth-limit while
3518         loading gnus-sum.elc; fix comment for canlock-verify.
3519         (gnus-article-jump-to-part): Use read-number.
3520         (gnus-insert-mime-button, gnus-insert-mime-security-button):
3521         Remove Emacs pre-21 compatible code for help-echo.
3522         (gnus-article-next-page-1): No need to adjust the number of lines.
3523         (gnus-article-describe-bindings): Always use help-buffer.
3524
3525         * gnus-audio.el (gnus-audio-inline-sound)
3526         * gnus-cus.el (gnus-custom-mode)
3527         * gnus-group.el (gnus-group-update-tool-bar): Comment fix.
3528
3529         * gnus-sum.el (gnus-remove-overlays): Doc fix.
3530
3531         * gnus-util.el (gnus-select-frame-set-input-focus): Remove Emacs 21
3532         compatible code.
3533
3534 2010-09-24  Glenn Morris  <rgm@gnu.org>
3535
3536         * message.el (message-output): Use gnus-output-to-rmail if a buffer is
3537         visiting the fcc file in rmail-mode.
3538
3539         * dns-mode.el: Move autoloaded auto-mode-alist entries to files.el.
3540
3541 2010-09-24  Katsumi Yamaoka  <yamaoka@jpl.org>
3542
3543         * nnir.el: Silence the byte compiler.
3544
3545         * gnus-html.el (gnus-html-encode-url-chars): New function, that's an
3546         alias to browse-url-url-encode-chars if any.
3547         (gnus-html-encode-url): Use it.
3548
3549 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3550
3551         * gnus-start.el (gnus-use-backend-marks): New variable.
3552         (gnus-get-unread-articles-in-group): Use it.
3553
3554         * gnus-sum.el (gnus-summary-local-variables): Prepare for list/range
3555         makeover.
3556
3557 2010-09-23  Andrew Cohen  <cohen@andy.bu.edu>
3558
3559         * nnimap.el (nnimap-retrieve-headers): Return 'headers.
3560
3561 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3562
3563         * gnus-start.el (gnus-fixup-nnimap-unread-after-getting-new-news):
3564         Remove.
3565         (gnus-setup-news-hook):
3566         Remove gnus-fixup-nnimap-unread-after-getting-new-news.
3567
3568         * gnus-int.el (gnus-request-update-info): Protect against backends not
3569         having the function.
3570
3571         * nnimap.el (nnimap-stream): Mention starttls.
3572         (nnimap-open-connection): Add starttls support.
3573
3574 2010-09-23  Andrew Cohen  <cohen@andy.bu.edu>
3575
3576         * nnir.el (nnir-run-imap): Fix up nnir to work with the new nnimap.
3577
3578 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3579
3580         * nnimap.el (nnimap-transform-headers): Don't bug out on invalid
3581         BODYSTRUCTUREs.
3582         (nnimap-transform-headers): Unfold quoted {42} headers.
3583
3584         * gnus-start.el (gnus-get-unread-articles): Allow backends to update
3585         the info.
3586         (gnus-get-unread-articles): Only call updatep on backends that support
3587         it.
3588
3589         * nnweb.el (nnweb-request-update-info): NOOP.
3590
3591         * nnmaildir.el (nnmaildir-request-marks): Rename from -update-info.
3592
3593         * nnfolder.el (nnfolder-request-marks): Rename from -update-info,
3594         since it only deals with marks.
3595
3596         * gnus-int.el (gnus-request-marks): Rename gnus-request-update-info to
3597         gnus-request-marks, and make a new gnus-request-update-info.
3598
3599         * nnimap.el (nnimap-update-info): When UIDNEXT is present, use that for
3600         the active instead of the high number, which is usually too low.
3601
3602 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
3603
3604         * netrc.el (netrc-parse): Remove encrypt.el mentions.
3605         * encrypt.el: Remove.
3606
3607 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3608
3609         * nnimap.el (nnimap-update-info): Sync non-standard flags from the
3610         server in symbolic form.
3611
3612         * gnus-html.el (gnus-max-image-proportion): Increase proportion to 0.9.
3613
3614 2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3615
3616         * nnimap.el (nnimap-parse-flags): Parse the data in any order.
3617         (nnimap-update-info): Fix up code slightly.
3618
3619         * gnus-int.el (gnus-open-server): Add tracing for performance
3620         debugging.
3621
3622         * gnus-group.el (gnus-group-highlight-line): Typo fix: beg, not start.
3623         (gnus-group-insert-group-line): Pass the real group name so that it
3624         gets the right data.
3625
3626         * gnus-start.el (gnus-get-unread-articles): Don't have
3627         `gnus-get-unread-articles-in-group' update info, since that can be
3628         really slow and doesn't seem to be needed?
3629
3630 2010-09-22  Dan Christensen  <jdc@uwo.ca>
3631
3632         * time-date.el (date-to-time): Try using parse-time-string first before
3633         using the slower timezone-make-date-arpa-standard.
3634
3635 2010-09-22  Julien Danjou  <julien@danjou.info>
3636
3637         * gnus-group.el (gnus-group-insert-group-line):
3638         Call gnus-group-highlight-line.
3639         (gnus-group-update-hook): Remove gnus-group-highlight-line from the
3640         default hook list.
3641         (gnus-group-update-eval-form): Add new function.
3642         (gnus-group-highlight-line): Use gnus-group-update-eval-form.
3643         (gnus-group-get-icon): Use gnus-group-update-eval-form.
3644
3645 2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3646
3647         * nnimap.el (nnimap-request-expire-articles): If nnmail-expiry-wait is
3648         immediate, then expire all articles.
3649         (nnimap-update-info): Fix off-by-one errors.
3650         (nnimap-flags-to-marks): Would return no marks lists for group with no
3651         flags.  Instead return the other data.
3652
3653 2010-09-22  Julien Danjou  <julien@danjou.info>
3654
3655         * gnus-group.el (gnus-group-get-icon): Rename gnus-group-add-icon that
3656         Only return an icon.
3657         (gnus-group-insert-group-line): Compute icon to return.
3658
3659         * gnus-html.el (gnus-html-image-automatic-caching): Add custom var.
3660         (gnus-html-image-fetched): Only cache if
3661         gnus-html-image-automatic-caching is set.
3662         (gnus-html-image-fetched): Check for errors.
3663
3664 2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3665
3666         * gnus-start.el (gnus-read-active-for-groups): Only run -request-scan
3667         once per method on `g'.  This ensures that backends like nnfolder don't
3668         open all their folders.
3669
3670         * nnimap.el (nnimap-split-incoming-mail): Delete 'junk.
3671         (nnimap-request-list): Nix out group in the correct buffer.
3672         (nnimap-parse-flags): Implement by using `read' instead of
3673         hand-parsing.
3674         (nnimap-flags-to-marks): Pass on permanent-flags.
3675         (nnimap-make-process-buffer): Record the server name.
3676         (nnimap-parse-flags): Fix typo.
3677         (nnimap-request-scan): Run split on the server in general, not just a
3678         single group.
3679
3680         * nnmail.el (nnmail-split-incoming): Take an optional junk-func
3681         parameter, and propagate this downwards.
3682
3683         * nnimap.el (nnimap-request-list): Set the current nnimap group to nil,
3684         since EXAMINE changes it on the server.
3685
3686         * gnus-int.el (gnus-request-expire-articles): Inhibit the daemon, since
3687         this command might take a while.
3688
3689 2010-09-22  Julien Danjou  <julien@danjou.info>
3690
3691         * gnus-html.el (gnus-html-put-image): Stop using markers.  They are
3692         harmful if you have 2 images side-by-side, they can't be properly
3693         update on text deletion.  Using text-property is safer here.
3694         (gnus-html-image-fetched): Search also for \r\n\r\n to get the start of
3695         data.
3696
3697 2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3698
3699         * nnimap.el (nnimap-expunge-inbox): Remove.
3700         (nnimap-mark-and-expunge-incoming): Use nnimap-expunge instead.
3701         (nnimap-expunge): Flip default to t.
3702
3703         * gnus.el (gnus-method-to-server): Don't push things to the cache
3704         unless it's unique.
3705         (gnus-server-to-method): Ditto.
3706
3707 2010-09-22  Teodor Zlatanov  <tzz@lifelogs.com>
3708
3709         * nnimap.el (nnimap-delete-article): Tell user if expunge won't happen.
3710
3711 2010-09-22  Julien Danjou  <julien@danjou.info>
3712
3713         * gnus-html.el (gnus-html-get-image-data): Search also for \r\n\r\n to
3714         get the start of data.
3715         (gnus-html-encode-url): Add this function to encode special chars in
3716         URL.
3717         (gnus-html-wash-images): Use gnus-html-encode-url to encode URL.
3718         (gnus-html-prefetch-images): Use gnus-html-encode-url to encode URL.
3719
3720         * gnus-group.el (gnus-group-update-hook): Call gnus-group-add-icon by
3721         default.
3722         (gnus-group-add-icon): Move to gnus-group.el, and rewrite so it works.
3723
3724         * gnus-html.el (gnus-html-wash-images): Use xml-substitute-special on
3725         images alt-text.
3726         (gnus-html-put-image): Put alt-text as help-echo.
3727
3728 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
3729
3730         * mailcap.el (mailcap-parse-mailcap, mailcap-parse-mimetypes)
3731         * mm-util.el (mm-decompress-buffer)
3732         * nnir.el (nnir-run-find-grep)
3733         * pop3.el (pop3-list): Use 3rd arg of split-string.
3734
3735         * time-date.el (format-seconds): Comment fix.
3736
3737         * dgnushack.el (toplevel): Don't advise byte-optimize-form-code-walker
3738         and byte-optimize-form-code-walker.
3739         (dgnushack-make-auto-load): Don't advise make-autoload.
3740
3741         * lpath.el: Remove Emacs 21 stuff.
3742
3743 2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3744
3745         * gnus-sum.el (gnus-update-marks): Add sanity check to not delete marks
3746         outside the active range.  Suggested by Dan Christensen.
3747
3748         * gnus-start.el (gnus-get-unread-articles): Get the extended method
3749         slightly later to avoid double-getting it.
3750
3751         * nnml.el (nnml-generate-nov-file): Fix variable name clobbering from
3752         previous patch.
3753
3754         * gnus-sum.el (gnus-adjust-marked-articles): Fix another typo.
3755
3756 2010-09-21  Adam Sjøgren  <asjo@koldfront.dk>
3757
3758         * gnus-sum.el (gnus-adjust-marked-articles): Fix typo.
3759
3760 2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3761
3762         * gnus-int.el (gnus-open-server): Give a better error message in the
3763         "go offline" case.
3764
3765         * gnus-sum.el (gnus-adjust-marked-articles): Hack to avoid adjusting
3766         marks for nnimap, which is seldom the right thing to do.
3767
3768         * gnus.el (gnus-sloppily-equal-method-parameters): Refactor out.
3769         (gnus-same-method-different-name): New function.
3770
3771         * nnimap.el (parse-time): Require.
3772
3773         * gnus-start.el (gnus-get-unread-articles): Fix the prefixed select
3774         method in the presence of many similar methods.
3775
3776         * nnmail.el (nnmail-expired-article-p): Fix typo: time-subtract.
3777
3778         * nnimap.el (nnimap-find-expired-articles): Don't refer to
3779         nnml-inhibit-expiry.
3780
3781         * gnus-sum.el (gnus-summary-move-article): Use gnus-server-equal to
3782         find out whether methods are equal.
3783
3784         * nnimap.el (nnimap-find-expired-articles): New function.
3785         (nnimap-process-expiry-targets): New function.
3786         (nnimap-request-move-article): Request the article before looking at
3787         what the Message-ID is.  Fix found by Andrew Cohen.
3788         (nnimap-mark-and-expunge-incoming): Wait for the last sequence.
3789
3790         * nnmail.el (nnmail-expired-article-p): Allow returning the cutoff time
3791         for oldness in addition to being a predicate.
3792
3793         * nnimap.el (nnimap-request-group): When we have zero articles, return
3794         the right data to Gnus.
3795         (nnimap-request-expire-articles): Only delete articles immediately if
3796         the target is 'delete.
3797
3798         * gnus-sum.el (gnus-summary-move-article): When respooling to the same
3799         method, this would bug out.
3800
3801         * gnus-group.el (gnus-group-expunge-group): Rename from
3802         gnus-group-nnimap-expunge, and implemented as a normal interface
3803         function.
3804
3805         * gnus-int.el (gnus-request-expunge-group): New function.
3806
3807         * nnimap.el (nnimap-request-create-group): Implement.
3808         (nnimap-request-expunge-group): New function.
3809
3810 2010-09-21  Julien Danjou  <julien@danjou.info>
3811
3812         * gnus-html.el (gnus-html-image-cache-ttl): Add new variable.
3813         (gnus-html-cache-expired): Add new function.
3814         (gnus-html-wash-images): Use `gnus-html-cache-expired' to check
3815         wethever we should display image for fetch it.
3816         Compute alt-text earlier to pass it to the fetching function too.
3817         (gnus-html-schedule-image-fetching): Change function argument to only
3818         get one image at a time, not a list.
3819         (gnus-html-image-fetched): Use `url-store-in-cache' to store image in
3820         cache.
3821         (gnus-html-get-image-data): New function to retrieve image data from
3822         cache.
3823         (gnus-html-put-image): Change buffer argument to use image data rather
3824         than file, and place image above region rather than inserting a new
3825         one.  Do not take alt-text as argument, since it's useless now: we place
3826         the image above alt-text.
3827         (gnus-html-prune-cache): Remove.
3828         (gnus-html-show-images): Start to fetch image when we find one, do not
3829         push into a temporary list.
3830         (gnus-html-prefetch-images): Only fetch image if they have expired.
3831         (gnus-html-browse-image): Fix, use 'gnus-image-url.
3832         (gnus-html-image-map): Add "v" to browse-url on undisplayed image.
3833
3834 2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>
3835
3836         * rfc2047.el (rfc2047-encode-parameter): Doc fix.
3837
3838 2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3839
3840         * gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen)
3841         spec inser "*" if the group isn't active instead of 0.
3842
3843         * nnimap.el (nnimap-request-group): Don't select the imap buffer before
3844         opening the server.
3845         (nnimap-request-delete-group): Implement group deletion.
3846         (nnimap-transform-headers): Return the size of the entire message in
3847         the Bytes header, not just the size of the first part.
3848         (nnimap-request-move-article): When moving an article from nnimap,
3849         request the article first so the accepting form has an article to
3850         accept.  Reported by Dan Christensen.
3851         (nnimap-command): Make sure that the error message doesn't error out.
3852
3853 2010-09-20  David Edmondson  <dme@dme.org>  (tiny change)
3854
3855         * nnimap.el (nnimap-request-set-mark): Don't wait for a response when
3856         we haven't requested anything.
3857
3858 2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3859
3860         * nnimap.el (nnimap-fetch-inbox): Use "[]" as the parameter instead of
3861         "".  Fix found by Andrew Cohen.
3862
3863         * mail-parse.el (mail-header-encode-parameter): Use -encode-parameter
3864         instead of -encode-string.
3865
3866 2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>
3867
3868         * gnus-html.el (gnus-html-image-fetched): Pass arg to kill-buffer.
3869
3870         * gnus-sum.el (gnus-summary-update-mark): Replace subst-char-in-string
3871         by mm-subst-char-in-string.
3872
3873 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3874
3875         * nnimap.el (nnimap-wait-for-connection): Avoid a race condition while
3876         waiting for the connection string.
3877
3878         * gnus-html.el (gnus-html-image-fetched): Protect against the data not
3879         arriving.
3880
3881         * gnus-start.el (gnus-ignored-newsgroups): Remove [] from the list of
3882         bogus characters.  This allows selecting certain Gmail groups.
3883
3884         * nnimap.el (nnimap-find-wanted-parts-1): New function.
3885         (nnimap-fetch-partial-articles): New variable.
3886         (nnimap-open-connection): When looking for credentials, also use the
3887         nnimap-server-port.
3888         (nnimap-request-article): Return the group/article number, so that Gnus
3889         `^' works as expected.
3890         (nnimap-find-wanted-parts-1): Return the MIME parts as IMAP wants them.
3891
3892         * gnus.el (gnus-similar-server-opened): Refactor a bit and add
3893         comments.
3894         (gnus-methods-sloppily-equal): New function.
3895         (gnus): When using the development version of Gnus, load the gnus-load
3896         file.
3897
3898         * gnus-start.el (gnus-get-unread-articles): Make sure that we call
3899         `gnus-open-server' on each method before trying to scan them etc.
3900         This ensures that all the backend parameters are set correctly.
3901
3902         * nnimap.el (nnimap-authenticator): New variable.
3903         (nnimap-open-connection): Allow anonymous login.
3904         (nnimap-transform-headers): The chars header is called Chars not Bytes.
3905         (nnimap-wait-for-response): Don't infloop if the IMAP connection drops.
3906
3907         * gnus-art.el (gnus-article-describe-briefly): Fix up typo in last
3908         patch, found by Knut Anders Hatlen.
3909
3910 2010-09-19  Andreas Schwab  <schwab@linux-m68k.org>
3911
3912         * gnus-agent.el (gnus-agent-batch-confirmation)
3913         (gnus-agent-expire-group, gnus-agent-expire): Pass proper format string
3914         to gnus-message.
3915         * gnus-art.el (gnus-article-describe-briefly): Likewise.
3916         * gnus-group.el (gnus-group-list-groups, gnus-group-describe-group)
3917         (gnus-group-edit-global-kill, gnus-group-describe-briefly): Likewise.
3918         * gnus-int.el (gnus-open-server): Likewise.
3919         * gnus-score.el (gnus-score-edit-current-scores, gnus-score-edit-file)
3920         (gnus-score-check-syntax): Likewise.
3921         * gnus-srvr.el (gnus-browse-describe-briefly): Likewise.
3922         * gnus-start.el (gnus-read-active-file-1, gnus-read-active-file-1):
3923         Likewise.
3924         * gnus-sum.el (gnus-summary-describe-briefly): Likewise.
3925
3926 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3927
3928         * gnus-html.el (gnus-html-prefetch-images): Fix up the url-retrieve
3929         calling conventions so that prefetch doesn't bug out.
3930
3931 2010-09-19  Julien Danjou  <julien@danjou.info>
3932
3933         * gnus-sum.el (gnus-summary-update-mark): Use `subst-char-in-string'
3934         rather than `subst-char-in-region' in order to be able to replace ASCII
3935         char by UTF-8 ones.
3936
3937         * gnus-html.el (gnus-html-prefetch-images): Use `url-retrieve' rather
3938         than curl.
3939         (gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting
3940         the right URL and ALT text on images.
3941         (gnus-html-wash-tags): Fix tag case.
3942         Add support for `s' and `ins' tags.  Use gnus-emphasis-* faces.
3943         (gnus-article-html): Add -o display_ins_del=2 option.
3944         (gnus-html-wash-tags): Add better support for <ul> tags symbols.
3945
3946 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3947
3948         * nnheader.el (nnheader-insert-nov): Protect against junk appearing in
3949         the extra mail headers, which sometimes seem to happen for unknown
3950         reasons.
3951
3952         * mail-parse.el (mail-header-encode-parameter): Define as
3953         rfc2045-encode-string instead of as rfc2231-encode-string, since some
3954         (or most, perhaps?) mail readers don't understand the latter, but do
3955         understand the former.
3956
3957         * gnus-agent.el (gnus-agent-auto-agentize-methods): Switch the default
3958         to nil, so that no methods are automatically agentized.  I think this
3959         is probably what most users want.
3960
3961         * gnus-html.el (gnus-html-schedule-image-fetching): Ignore all errors
3962         from url-retrieve, for instance about invalid URLs.
3963
3964         * nnimap.el (nnimap-finish-retrieve-group-infos): Protect against
3965         groups that have no articles.
3966         (nnimap-request-article): Check that we really got an article when we
3967         requested one.
3968
3969         * gnus-agent.el (gnus-agent-load-alist): Nix out the alist if the file
3970         doesn't exist.
3971
3972         * nnimap.el (nnimap-finish-retrieve-group-infos): Return data in the
3973         nntp buffer so the agent can save it.
3974         (nnimap-open-shell-stream): Bind `process-connection-type' to nil, so
3975         that CRLF doesn't get translated to \n.
3976         (nnimap-open-connection): Don't make 'shell commands only send \n.
3977
3978 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3979
3980         * nnml.el (nnml-files): Add prefix to dynamic var `files'.
3981         (nnml-generate-nov-databases-directory, nnml-generate-active-info):
3982         Update var name.
3983         (nnml-generate-nov-file): Use dolist.
3984         (nnml-directory-articles, nnml-current-group-article-to-file-alist):
3985         Use with-current-buffer.
3986
3987 2010-09-18  Julien Danjou  <julien@danjou.info>
3988
3989         * gnus-html.el (gnus-html-schedule-image-fetching): Fetch all images in
3990         parallel.
3991
3992 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3993
3994         * nnimap.el (nnimap-update-info): When doing partial marks update, get
3995         the range update right.
3996         (nnimap-request-group): Don't make `M-g' bug out on group with no
3997         marks.
3998         (nnoo): Require, so that other packages can require nnimap.
3999         (nnimap-wait-for-response): Be a bit more lax in finding the end of the
4000         command we're looking for.  This helps when the server sends more
4001         responses after we've gotten everything we expected.
4002         (nnimap): Add a `newlinep' field to keep track of end-of-line
4003         conventions.
4004         Don't send CRLF to things that don't want it.
4005         (nnimap-request-accept-article): Ditto.
4006
4007 2010-09-18  Julien Danjou  <julien@danjou.info>
4008
4009         * gnus-html.el (gnus-html-schedule-image-fetching): Use `url' rather
4010         than curl to retrieve images.
4011
4012 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4013
4014         * nnimap.el (nnimap-update-info): Extend the info so that we can set
4015         the marks.
4016         (nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.
4017         (nnimap-wait-for-connection): New function.
4018         (nnimap-open-connection): If we have PREAUTH, don't query for login
4019         credentials.
4020         (nnimap-update-info): Fix off-by-one error when concatenating ranges
4021         when doing a partial update.
4022
4023 2010-09-18  Julien Danjou  <julien@danjou.info>
4024
4025         * gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML
4026         tags.
4027
4028 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4029
4030         * nnimap.el (nnimap-credentials): New function.
4031         (nnimap-open-connection): Use the new function to look for credentials
4032         also on the numeric equivalents of "imap" and "imaps".
4033
4034         * gnus-start.el (gnus-activate-group): Send the info to
4035         gnus-request-group.
4036
4037         * nnimap.el (nnimap-request-group): Have the "check" version of the
4038         function parse flags and update the info, so that a `M-g' get a total
4039         resync of all flags from the group.
4040
4041         * gnus-int.el (gnus-request-group): Take an optional `info' parameter
4042         to allow backends to alter the info on group selection.  Also alter all
4043         the backend -request-group functions to take the parameter.
4044
4045         * nnimap.el (nnimap-store-info): New function.
4046         (nnimap-update-info): Store the info for later usage.
4047         (nnimap-request-group): Use the stored info for the dont-check case, so
4048         that we don't retrieve all marks when we enter a group.
4049
4050         * nnimap.el: Use deffoo instead of defun for interface functions.
4051
4052         * gnus-start.el (gnus-get-unread-articles): Allow the backends to
4053         update the group info.  This makes the nndraft groups, for instance, go
4054         back to their old behaviour.
4055
4056         * gnus-sum.el (gnus-select-newsgroup): Indent.
4057
4058         * nnimap.el (nnimap-possibly-change-group): Return nil if we can't log
4059         in.
4060         (nnimap-finish-retrieve-group-infos): Make sure we're not waiting for
4061         nothing.
4062
4063         * gnus-start.el (gnus-get-unread-articles): Don't try to scan groups
4064         from methods that are denied.
4065
4066         * gnus-int.el (gnus-method-denied-p): New function.
4067
4068         * nnimap.el (nnimap-open-connection): Use auth-sources to query and
4069         store the password instead of netrc.
4070         (nnimap-open-connection): Don't error out when we can't make a
4071         connections.
4072
4073         * auth-source.el (auth-source-create): In the password prompt, say what
4074         we're querying for.  Also prompt for user name if that hasn't been
4075         given.
4076
4077         * nnimap.el (nnimap-with-process-buffer): Remove.
4078
4079 2010-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4080
4081         * gnus-start.el (gnus-read-active-for-groups): Don't use the "finish"
4082         method when we're reading from the agent.
4083
4084         * nnagent.el (nnagent-retrieve-group-data-early): New dummy method.
4085
4086         * auth-source.el (auth-sources): Add ~/.authinfo to the default, since
4087         that's probably most useful for users.
4088
4089         * gnus-int.el (gnus-check-server): Save result so that it doesn't say
4090         "failed" all the time.
4091
4092         * gnus.el: Throughout all files, replace (save-excursion (set-buffer
4093         ...)) with (with-current-buffer ... ).
4094
4095         * nntp.el (nntp-open-server): Return whether the open was successful or
4096         not.
4097
4098         * gnus-sum.el (gnus-summary-first-subject): Have `unseen-or-unread'
4099         select an unread unseen article first.
4100
4101         * nnimap.el (nnimap-open-connection): If the user doesn't have a
4102         /etc/services, supply some sensible port defaults.
4103
4104         * dgnushack.el: Define netrc-credentials.
4105
4106 2010-09-17  Julien Danjou  <julien@danjou.info>
4107
4108         * mm-decode.el (mm-text-html-renderer): Document gnus-article-html.
4109
4110 2010-09-17  Knut Anders Hatlen  <kahatlen@gmail.com>  (tiny change)
4111
4112         * nnimap.el (nnimap-get-groups): Don't bug out if the LIST command
4113         doesn't have any parameters.
4114
4115 2010-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4116
4117         * nnimap.el (nnimap-open-connection): Upcase all capabilities, and use
4118         only upcased checks.
4119
4120         * nnmail.el (nnmail-article-group): Fix typo in "bogus" section.
4121
4122         * nnimap.el (nnimap-open-shell-stream): New function.
4123         (nnimap-open-connection): Use it.
4124         (nnimap-transform-headers): Get the number of lines in each message.
4125         (nnimap-retrieve-headers): Query for BODYSTRUCTURE so that we get the
4126         number of lines.
4127         (nnimap-request-list): Not all servers return UIDNEXT.  Work past this
4128         problem.
4129
4130         * utf7.el (utf7-encode): Autoload.
4131
4132         * nnmail.el (nnmail-inhibit-default-split-group): New internal variable
4133         to allow the mail splitting to not return a default group.  This is
4134         useful for nnimap, which will leave unmatched mail in the inbox.
4135
4136         * nnimap.el: Rewritten.
4137
4138         * gnus.el (gnus-article-special-mark-lists): Add uid/active tuples, for
4139         nnimap usage.
4140
4141         * gnus-sum.el (gnus-summary-move-article): Pass the move-to group name
4142         if the move is internal, so that nnimap can do fast internal moves.
4143
4144         * gnus-start.el (gnus-get-unread-articles): Support early retrieval of
4145         data.
4146         (gnus-read-active-for-groups): Support finishing the early retrieval of
4147         data.
4148
4149         * gnus-range.el (gnus-range-nconcat): New function.
4150
4151         * gnus-int.el (gnus-finish-retrieve-group-infos)
4152         (gnus-retrieve-group-data-early): New functions.
4153
4154 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4155
4156         * nnrss.el (nnrss-retrieve-headers, nnrss-request-list-newsgroups)
4157         (nnrss-retrieve-groups):
4158         * pop3.el (pop3-open-server, pop3-read-response, pop3-list, pop3-retr)
4159         (pop3-quit): Use with-current-buffer.
4160
4161 2010-09-17  Katsumi Yamaoka  <yamaoka@jpl.org>
4162
4163         * pop3.el (pop3-wait-for-messages): Use pop3-accept-process-output
4164         instead of nnheader-accept-process-output.
4165
4166         * dgnushack.el (dgnushack-compile): Add comment.
4167
4168         * lpath.el: No need to fbind propertize for XEmacs 21.4.
4169
4170         * gnus-html.el (gnus-html-schedule-image-fetching)
4171         (gnus-html-prefetch-images): Replace process-kill-without-query by
4172         gnus-set-process-query-on-exit-flag.
4173
4174 2010-09-16  Romain Francoise  <romain@orebokech.com>
4175
4176         * gnus-html.el: Require gnus-art for `gnus-with-article-buffer'.
4177
4178 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4179
4180         * gnus-registry.el (gnus-registry-install-shortcuts): The second
4181         parameter to unintern is mandatory-ish in Emacs 24.
4182
4183         * gnus-html.el (gnus-html-schedule-image-fetching)
4184         (gnus-html-prefetch-images): Check for curl before using it.
4185
4186         * mm-decode.el (mm-text-html-renderer): Don't have gnus-article-html
4187         depend on curl, which isn't essential.
4188
4189         * imap.el: Revert back to version
4190         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4191         seem problematic.
4192
4193 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
4194
4195         * gnus-registry.el (gnus-registry-install-shortcuts):
4196         Explicitly pass `obarray' to `unintern' to avoid a warning.
4197
4198 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4199
4200         * gnus-start.el (gnus-read-active-for-groups): Revert the previous
4201         change.
4202
4203         * nnrss.el (nnrss-request-list): Remove this function and related
4204         functions, including the moreover stuff.
4205
4206 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4207
4208         * nnrss.el (nnrss-retrieve-groups): New function.
4209
4210 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
4211
4212         * .dir-locals.el: Add no-byte-compile cookie.
4213
4214 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
4215
4216         * time-date.el (format-seconds): Comment fix.
4217
4218         * gnus-start.el (gnus-read-active-for-groups): Run gnus-activate-group
4219         for back end that doesn't support request-scan.
4220
4221 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4222
4223         * gnus-start.el (gnus-read-active-file-1): If gnus-agent isn't set,
4224         then do request scans from the backends.
4225
4226         * netrc.el (netrc-credentials): New conveniency function.
4227
4228         * gnus-sum.el (gnus-summary-update-hook): Change default to nil, to
4229         avoid running a hook per line, since this takes a lot of time,
4230         profiling shows.
4231         (gnus-summary-prepare-threads): Call `gnus-summary-highlight-line'
4232         directly if gnus-visual-p is true.
4233
4234 2010-09-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4235
4236         * gnus-start.el (gnus-read-active-for-groups): Check only subscribed
4237         groups; replace mapcar with dolist which is a bit faster; pass groups
4238         info to gnus-read-active-file-1.
4239         (gnus-read-active-file-1): Scan only specified groups if the new
4240         optional arg `infos' is given.
4241
4242 2010-09-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4243
4244         * mail-source.el (mail-source-fetch-pop): Use pop3-movemail again.
4245
4246         * pop3.el (pop3-movemail): Remove.
4247         (pop3-streaming-movemail): Rename to pop3-movemail.
4248
4249         * gnus-html.el (gnus-html-wash-tags): Refactor out the image bit, and
4250         don't restrict end-tag searches to the end of the line.
4251
4252 2010-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
4253
4254         * gnus-start.el (gnus-get-unread-articles): Set the number of unread
4255         articles of every unchecked group to t, which means unknown since the
4256         server has never been opened.
4257
4258 2010-09-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4259
4260         * gnus-html.el (gnus-html-show-alt-text): New command.
4261         (gnus-html-browse-image): Ditto.
4262         (gnus-html-wash-tags): Add the data to allow showing the ALT text and
4263         to browse the image directly.
4264         (gnus-html-wash-tags): Search for images first, so that <a><img> works
4265         better.
4266
4267         * gnus-async.el (gnus-async-article-callback):
4268         Call `gnus-html-prefetch-images' unconditionally.
4269
4270         * gnus-html.el (gnus-html-schedule-image-fetching): Decode entities
4271         before feeding URLs to curl.
4272
4273 2010-09-07  Katsumi Yamaoka  <yamaoka@jpl.org>
4274
4275         * gnus-html.el (gnus-html-wash-tags, gnus-html-put-image): Mark cid and
4276         internal images as deletable by `W D D'.
4277
4278         * gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling.
4279         (gnus-async-article-callback): Fix typo.
4280
4281 2010-09-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4282
4283         * gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the
4284         current line to work around bugs in the output from w3m.
4285
4286         * gnus-async.el (gnus-async-article-callback): Always prefetch images
4287         for groups that want that.
4288
4289         * nntp.el (nntp-wait-for-string): Supply a timeout for
4290         accept-process-output to ensure progress.
4291
4292         * gnus-start.el (gnus-get-unread-articles): If being given an explicit
4293         level to get unread articles from, then use that for foreign groups,
4294         too.
4295
4296         * gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which
4297         confuses the rest of the function.
4298
4299         * gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan'
4300         for the methods that support -retrieve-groups, too.
4301
4302         * nnml.el (nnml-save-nov): Remove some debugging-related messages.
4303
4304 2010-09-06  Katsumi Yamaoka  <yamaoka@jpl.org>
4305
4306         * dgnushack.el (dgnushack-compile, dgnushack-make-cus-load)
4307         (dgnushack-make-auto-load): Exclude .dir-locals.el file.
4308
4309         * pop3.el: Require cl when compiling.
4310         (pop3-number-of-responses): Search for "+OK", not "+OK ".
4311
4312 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4313
4314         * gnus-start.el (gnus-get-unread-articles): Don't bother with groups
4315         that aren't going to be activated.
4316         (gnus-get-unread-articles): Fix up the last commit.
4317
4318         * gnus-html.el (gnus-article-html): Allow calling without specifying
4319         the handle.  In that case, dissect the buffer first.
4320
4321         * gnus-sum.el (gnus-set-mode-line): Don't pad the mode line string.
4322
4323         * nnimap.el (nnimap-open-connection): Revert the change that would look
4324         into authinfo for imaps instead of imap.
4325
4326         * gnus-start.el (gnus-activate-group): Take an optional parameter to
4327         say that you don't want to call gnus-request-group with don-check, but
4328         do check the reponse.  This is for virtual groups only.
4329         (gnus-get-unread-articles): Count the archive groups as secondary, so
4330         that they're activated the same way as before.
4331
4332         * imap.el (imap-message-map): Removed optional buffer parameter, since
4333         no callers use it.
4334         (imap-message-get): Ditto.
4335         (imap-message-put): Ditto.
4336         (imap-mailbox-map): Ditto.
4337         (imap-mailbox-put): Ditto.
4338         (imap-mailbox-get): Ditto.
4339         (imap-mailbox-get): Revert last change for this function.
4340
4341         * nnimap.el (nnimap-request-list): Servers may return \NoSelect
4342         case-insensitively.
4343         (nnimap-debug): Remove.
4344
4345         * imap.el (imap-fetch-safe): Removed function, and altered all callers
4346         to use `imap-fetch' instead.  According to the comments, this should be
4347         safe, since all other IMAP clients use the 1:* syntax.
4348         (imap-enable-exchange-bug-workaround): Removed.
4349         (imap-debug): Removed -- doesn't seem very useful.
4350
4351         * mail-source.el (mail-source-fetch): Don't message if we're fetching
4352         mail from a file, and the file doesn't exist.
4353
4354         * imap.el (imap-log): New convenience function used throughout instead
4355         of repeating the same code all over the place.
4356
4357         * pop3.el (pop3-streaming-movemail): Return t for success.
4358
4359         * nnimap.el (nnimap-open-connection): Look for the "imaps" entry in the
4360         .authinfo if we're using ssl connection.
4361
4362         * nnvirtual.el (nnvirtual-create-mapping): Use the active info we
4363         already have if we're in a main Gnus `g' run.
4364
4365         * gnus-start.el (gnus-method-rank): Get info for virtual groups last.
4366
4367 2010-09-05  Katsumi Yamaoka  <yamaoka@jpl.org>
4368
4369         * gnus-start.el (gnus-method-rank): Replace equalp with equal.
4370
4371         * nnmh.el (nnmh-request-list-1): Bind `file'.
4372
4373         * pop3.el (pop3-set-process-query-on-exit-flag): New function that's an
4374         alias to set-process-query-on-exit-flag or process-kill-without-query.
4375         (pop3-open-server): Use it.
4376
4377 2010-09-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4378
4379         * mail-source.el (mail-source-delete-crash-box): Always move the crash
4380         box to the Incoming file.  Fixes mistake in previous checkin.
4381
4382         * pop3.el (pop3-send-streaming-command): Off-by-one error on the
4383         request loop (for debugging purposes) removed.
4384
4385         * nnml.el (nnml-save-nov): Message around nnml-save-nov so that the
4386         culprit is more visible.
4387         (nnml-save-incremental-nov, nnml-open-incremental-nov)
4388         (nnml-add-incremental-nov): New functions to do "incremental" nov
4389         updates, where we just append to the end of the existing nov files
4390         without reading/writing them in full.
4391
4392         * mail-source.el (mail-source-delete-crash-box): Really only check the
4393         incoming files once in a while.
4394
4395         * pop3.el (pop3-streaming-movemail): Always close the pop3 connection.
4396
4397         * mail-source.el (mail-source-delete-crash-box): Only check the
4398         incoming files for deletion once per day to save a lot of file
4399         accesses.
4400
4401         * pop3.el (pop3-logon): Fix up unbound variable typo.
4402
4403         * mail-source.el (pop3-streaming-movemail): Autoload.
4404
4405         * pop3.el (pop3-streaming-movemail):
4406         Respect pop3-leave-mail-on-server.
4407
4408         * mail-source.el (mail-source-fetch-pop): Use streaming pop3
4409         retrieval.
4410
4411         * pop3.el (pop3-process-filter): Remove unused function.
4412         (pop3-streaming-movemail, pop3-send-streaming-command)
4413         (pop3-wait-for-messages, pop3-write-to-file)
4414         (pop3-number-of-responses): New functions for streaming pop3
4415         retrieval.
4416
4417         * gnus-start.el (gnus-get-unread-articles): Protect against groups that
4418         come from no known methods.
4419         (gnus-make-hashtable-from-newsrc-alist): Remove duplicates from .newsrc
4420         list.
4421
4422         * pop3.el (pop3-display-message-size-flag): Remove -- everybody wants
4423         message sizes.
4424         (pop3-movemail): Use erase-buffer instead of looping and deleting
4425         regions, which seems rather odd.
4426
4427         * gnus-agent.el (gnus-agent-load-local): Only read the agent.lib/local
4428         file once per `g' run.
4429
4430         * nnmh.el (nnmh-request-list-1): Output active lines also for empty
4431         directories.  This makes the draft queue directory work.
4432
4433         * gnus-start.el (gnus-get-unread-articles): Rewrite the way we request
4434         data from the backends, so that we only request the list of groups from
4435         each method once.  This should speed things up considerably.
4436
4437         * nnvirtual.el (nnvirtual-request-list): Remove function so that we can
4438         detect that it's not implemented.
4439
4440         * nnmh.el (nnmh-request-list-1): Fix up the recursion behavior so that
4441         we actually do recurse down into the tree, but don't stat all leaf
4442         nodes.
4443
4444         * gnus-html.el (gnus-html-show-images): If there are no images to show,
4445         then say so instead of bugging out.
4446
4447         * gnus-agent.el (gnus-agent-load-alist): Check whether the agentview
4448         files exist before trying to read them.
4449
4450         * gnus-html.el (gnus-html-wash-tags): Remove even more white space
4451         around <pre_int>.
4452
4453         * gnus-art.el (gnus-article-copy-string): Say what data we copied.
4454
4455         * nnmh.el (nnmh-request-list-1): Optimize for speed.
4456
4457 2010-09-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4458
4459         * mm-util.el (mm-image-load-path): Just return the image directories,
4460         not all directories in the path in addition to the image directories.
4461         (mm-image-load-path): Maintain a cache of the image directories so that
4462         the `g' command in Gnus doesn't have to stat dozens of directories each
4463         time.
4464
4465         * gnus-html.el (gnus-html-put-image): Allow images to be removed.
4466         (gnus-html-wash-tags): Add a new `i' command to insert images.
4467         (gnus-html-insert-image): New command and keystroke.
4468         (gnus-html-redisplay-with-images): New command and keystroke.
4469         (gnus-html-show-images): Rename command.
4470         (gnus-html-wash-tags): Remove more white space before <pre_int> image
4471         spacers.
4472         (gnus-html-wash-tags): Decode entities at the end, so that entities
4473         inside the tags don't mess up the rest of the "parsing".
4474
4475         * gnus-agent.el (gnus-agent-auto-agentize-methods): Change the default
4476         so that nnimap methods aren't agentized by default.  There's apparently
4477         many problems related to agent/imap behaviour.
4478
4479         * gnus-art.el (gnus-article-copy-string): New command and key binding.
4480
4481         * gnus-html.el: Doc fix.
4482
4483 2010-09-03  Katsumi Yamaoka  <yamaoka@jpl.org>
4484
4485         * lpath.el: Fbind device-on-window-system-p, glyph-image, glyphp, and
4486         specifier-spec-list for Emacs 21.
4487
4488         * gnus-html.el (gnus-html-put-image): Use gnus-graphic-display-p,
4489         glyph-width and glyph-height instead of display-graphic-p and
4490         image-size; make avoidance of displaying small images work for XEmacs.
4491
4492         * gnus-util.el (gnus-graphic-display-p): Use device-on-window-system-p
4493         for XEmacs.
4494
4495         * gnus-ems.el (gnus-set-process-plist, gnus-process-plist): Change name
4496         of symbol that holds plist data.
4497         (gnus-process-plist): Remove plist of process after getting it.
4498
4499 2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4500
4501         * message.el (message-generate-hashcash): Change default to
4502         'opportunistic if hashcash is installed.
4503
4504         * gnus-html.el (gnus-html-rescale-image): Fix up typo in rescaling.
4505         (gnus-html-put-image): Only call image-size once, since it's somewhat
4506         time-consuming on remote X servers.
4507
4508 2010-09-02  Katsumi Yamaoka  <yamaoka@jpl.org>
4509
4510         * gnus-xmas.el (gnus-xmas-create-image): Don't try to examine image
4511         type on data, not a file name.
4512
4513         * lpath.el: Fbind w3-parse-buffer for Emacs <=22 and XEmacs; fbind
4514         window-pixel-edges for Emacs 21.
4515
4516         * gnus-html.el (gnus-article-html): Make work buffer multibyte for
4517         decoded contents.
4518         (gnus-html-put-image, gnus-html-rescale-image): Pass `file' argument.
4519
4520 2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4521
4522         * gnus-group.el (gnus-group-line-format): Remove %O (moderated) from
4523         group line format, since it isn't very interesting.
4524
4525         * gnus-agent.el (gnus-agent-short-article),
4526         (gnus-agent-long-article): Increase values for these two variables,
4527         since most people are likely to have more network connection and
4528         storage than before.
4529
4530         * gnus.el (gnus-refer-article-method): Change default to 'current.
4531         When referring an article, the common behaviour is to refer it from the
4532         current select method, not the native select method.  The chances of
4533         the native select method having the message in question is rather slim
4534         these days.
4535
4536         * gnus-sum.el (gnus-auto-select-subject): Change default to
4537         `unseen-or-unread'.  I think it's likely that most people want to
4538         select an unseen article over a previously seen, but unread one.
4539
4540         * gnus.el (gnus-mode-non-string-length): Change default to 30.  nil
4541         means that in the article buffer none of the minor mode elements will
4542         be shown, usually, and this is not desirable in most cases.
4543
4544         * gnus-sum.el (gnus-summary-goto-unread): Change default to nil, so
4545         that commands like `d' (and the like) go to the next line in the
4546         buffer, instead of the next unread article.  I think this is the
4547         behaviour that is most natural for most users.
4548         (gnus-single-article-buffer): Change default to nil, so that people can
4549         have as many article buffers open as they have summary buffer.  I think
4550         this is the most natural way for the groups to behave.
4551
4552         * message.el (message-generate-new-buffers): Change default to
4553         `unsent', so that all new message buffers start their names with the
4554         string "*unsent", and it's easier to find the buffers if you move from
4555         them.
4556
4557 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4558
4559         * gnus-html.el (gnus-html-wash-tags): Don't show images that are really
4560         small.  They're probably tracking images.
4561         (gnus-html-wash-tags): Remove all <pre_int> place holders.
4562         (gnus-html-rescale-image): Yet another try at getting the image sizing
4563         right.
4564
4565         * nntp.el (nntp-request-set-mark): Refuse to do marks if
4566         nntp-marks-file-name is nil.
4567
4568 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
4569
4570         * gnus-html.el (gnus-html-wash-tags)
4571         (gnus-html-schedule-image-fetching, gnus-html-image-url-blocked-p):
4572         Better logging.
4573
4574 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4575
4576         * nndoc.el (nndoc-type-alist): Add a new type for Google digests.
4577
4578         * gnus-html.el (gnus-html-wash-tags): Check the value of
4579         gnus-blocked-images in the summary buffer.
4580
4581 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
4582
4583         * gnus-html.el (gnus-html-image-url-blocked-p): Doc fix.
4584
4585 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4586
4587         * gnus-html.el (gnus-html-wash-tags): "A" is also used for links, just
4588         like "a", it seems like.
4589         (gnus-html-image-url-blocked-p): Take a parameter for blocked-images
4590         since it needs to be picked from the correct buffer.
4591
4592         * nnwfm.el: Remove.
4593
4594         * nnlistserv.el: Remove.
4595
4596 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
4597
4598         * gnus-html.el (gnus-html-image-url-blocked-p): New function.
4599         (gnus-html-prefetch-images, gnus-html-wash-tags): Use it.
4600
4601 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4602
4603         * nnkiboze.el: Remove.
4604
4605         * nndb.el: Remove.
4606
4607         * gnus-html.el (gnus-html-put-image): Use the deleted text as the image
4608         alt text.
4609         (gnus-html-rescale-image): Try to get the rescaling logic right for
4610         images that are just wide and not tall.
4611
4612         * gnus.el (gnus-string-or): Fix the syntax to not use eval or
4613         overshadow variable bindings.
4614
4615 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
4616
4617         * gnus-html.el (gnus-html-wash-tags)
4618         (gnus-html-schedule-image-fetching, gnus-html-prefetch-images):
4619         Add extra logging.
4620
4621 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4622
4623         * gnus-html.el (gnus-html-wash-tags): Delete the IMG_ALT region.
4624         (gnus-max-image-proportion): New variable.
4625         (gnus-html-rescale-image): New function.
4626         (gnus-html-put-image): Rescale images.
4627
4628 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4629
4630         Fix up some byte-compiler warnings.
4631         * gnus.el (gnus-group-find-parameter, gnus-kill-save-kill-buffer):
4632         * gnus-cite.el (gnus-article-highlight-citation, gnus-dissect-cited-text)
4633         (gnus-article-fill-cited-article, gnus-article-hide-citation)
4634         (gnus-article-hide-citation-in-followups, gnus-cite-toggle):
4635         * gnus-group.el (gnus-group-set-mode-line, gnus-group-quit)
4636         (gnus-group-set-info, gnus-add-mark): Use with-current-buffer.
4637         (gnus-group-update-group): Use save-excursion and with-current-buffer.
4638
4639 2010-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
4640
4641         * gnus-html.el (gnus-article-html): Decode contents by charset.
4642
4643 2010-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
4644
4645         * gnus-html.el (gnus-html-cache-directory, gnus-html-cache-size)
4646         (gnus-html-frame-width, gnus-blocked-images)
4647         * message.el (message-prune-recipient-rules): Add custom version.
4648         * gnus-sum.el (gnus-auto-expirable-marks): Bump custom version.
4649
4650         * gnus-