60421a67a06dd0a66c19a262ca7a2440550f1595
[gnus] / lisp / ChangeLog
1 2011-01-28  Julien Danjou  <julien@danjou.info>
2
3         * gnus-group.el (gnus-group-jump-to-group): Set must match to t.
4
5 2011-01-28  Lars Ingebrigtsen  <larsi@gnus.org>
6
7         * gnus-int.el (gnus-request-marks): Call *-request-marks instead of the
8         older request-update-info.
9
10         * gnus-art.el (article-make-date-line): Limit the length a bit more.
11
12 2011-01-28  Daiki Ueno  <ueno@unixuser.org>
13
14         * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Give
15         mml2015-signers higher precedence over mml2015-sign-with-sender.
16
17 2011-01-27  Lars Ingebrigtsen  <larsi@gnus.org>
18
19         * gnus-group.el (gnus-group-refresh-group): Refresh even non-visible
20         groups.  This makes the nndraft:queue group pop up if it's not already
21         there.
22
23         * gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no
24         messages" logic, which was reversed.
25
26         * gnus-art.el (article-update-date-lapsed): Ensure that point stays at
27         the "same place" even if point is on the line being replaced.
28         (article-update-date-lapsed): Allow updating both the combined lapsed
29         and the lapsed headers.
30         (article-update-date-lapsed): Skip past all the X-Sent/Date headers.
31         (article-make-date-line): Limit the number of segments dynamically to
32         avoid too-long lines.
33
34 2011-01-27  Julien Danjou  <julien@danjou.info>
35
36         * mml2015.el (mml2015-epg-sign): Add and use mml2015-sign-with-sender.
37         (mml2015-epg-encrypt): Use mml2015-sign-with-sender.
38
39 2011-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
40
41         * shr.el (shr-expand-newlines, shr-previous-newline-padding-width):
42         Use plist-get instead of the cl function getf.
43
44 2011-01-27  Glenn Morris  <rgm@gnu.org>
45
46         * gnus-util.el (float-time): Get rid of compiler warning, again.
47
48 2011-01-27  Lars Ingebrigtsen  <larsi@gnus.org>
49
50         * shr.el (shr-put-color): Special-case background colours: Do put them
51         at the blank parts at the front of the lines.
52
53         * gnus-draft.el (gnus-draft-clear-marks): New function to be run as an
54         exit hook to nix out all data on readedness on group exit.
55
56         * gnus-util.el (float-time): If float-time is bound, always use it on
57         all Emacsen.  It's unclear why the subrp check was there.
58         (time-date): Require to make some autoload issues on XEmacs go away.
59
60         * shr.el (shr-put-color): Don't do the box padding in tables, since
61         they're already padded.
62
63 2011-01-26  Lars Ingebrigtsen  <larsi@gnus.org>
64
65         * gnus-art.el (gnus-article-next-page): When the last line of the
66         article is displayed, scroll down once more instead of going to the
67         next article at once.
68         (article-lapsed-string): Refactor out and allow specifying how many
69         segments you want.
70         (gnus-article-setup-buffer): Start updating the lapsed header directly.
71         (gnus-article-update-lapsed-header): New variable.
72
73         * shr.el: Revert change that made headings use different-sized faces.
74         The Emacs display engine isn't advanced enough that, for instance,
75         tables can comfortably use differntly-sized faces.
76
77 2011-01-25  Lars Ingebrigtsen  <larsi@gnus.org>
78
79         * nnimap.el (nnimap-open-connection-1): Store the actual stream type
80         used.
81         (nnimap-login): Prefer plain LOGIN if it's enabled (since it requires
82         fewer round trips than CRAM-MD5, and it's less likely to be buggy), and
83         we're using an encrypted connection.
84
85         * proto-stream.el: Alter the interface functions to also return the
86         actual stream type used: network or tls.
87
88 2011-01-25  Julien Danjou  <julien@danjou.info>
89
90         * mm-view.el (mm-display-shell-script-inline): Fix typo in docstring.
91         (mm-display-javascript-inline): New function.
92
93         * mm-decode.el (mm-inline-media-tests): Add application/javascript
94         viewing function.
95
96 2011-01-25  Katsumi Yamaoka  <yamaoka@jpl.org>
97
98         * shr.el (shr-expand-newlines): Fix variable name.
99
100 2011-01-25  Lars Ingebrigtsen  <larsi@gnus.org>
101
102         * shr.el (shr-expand-newlines): Make nested boxes work.
103
104 2011-01-24  Lars Ingebrigtsen  <larsi@gnus.org>
105
106         * shr.el (shr-expand-newlines): Proof of concept implemantation of boxy
107         backgrounds.
108         (shr-expand-newlines): Switch to using overlays to enable kill'n'yank
109         in a more sensible manner.
110
111 2011-01-24  Teodor Zlatanov  <tzz@lifelogs.com>
112
113         * mml-smime.el (mml-smime-use): Make it a defcustom and default to 'epg
114         if EPG is loaded.
115
116 2011-01-24  Julien Danjou  <julien@danjou.info>
117
118         * shr.el: Use defface to create shr-tag-h[1-6] faces to fontify h[1-6]
119         tags.
120
121 2011-01-24  Lars Ingebrigtsen  <larsi@gnus.org>
122
123         * gnus-art.el (gnus-article-read-summary-keys): Don't call disabled
124         commands.
125
126         * gnus-gravatar.el (gnus-gravatar-insert): Don't move point around
127         in the article buffer.
128         (gnus-gravatar-insert): Use blank space from the current buffer to
129         avoid breaking text properties.  This makes X-Sent updating work again.
130
131         * gravatar.el (gravatar-retrieve): Be silent when retrieving.
132
133 2011-01-23  Lars Ingebrigtsen  <larsi@gnus.org>
134
135         * gnus-html.el (gnus-html-image-fetched): Kill the buffer anyway, and
136         fix the bug in url-http.el instead.
137
138         * shr.el (shr-image-fetched): Ditto.
139
140         * shr.el (shr-image-fetched): Avoid having point move in the article
141         buffer.
142
143         * gnus-html.el (gnus-html-image-fetched): Don't kill the temporary
144         buffer after being called.  It's apparently being killed by url.el, and
145         killing it made point move to end-of-buffer in a random buffer.
146
147         * shr.el (shr-image-fetched): Ditto.
148
149 2011-01-23  Julien Danjou  <julien@danjou.info>
150
151         * mm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
152
153         * mm-uu.el (mm-uu-org-src-code-block-extract): Change text/org to
154         text/x-org.
155
156 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
157
158         * gnus-sum.el (gnus-summary-move-article): Protect against backends
159         (i.e., nnimap) returning nil as the article number.
160
161 2011-01-22  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
162
163         * flow-fill.el (fill-flowed): Make `delete-space' option correspond to
164         "DelSp" parameter in RFC3676.
165
166 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
167
168         * message.el (message-check-recipients): Display the encoded version of
169         the bogus address if they differ.
170
171         * gnus-draft.el (gnus-group-send-queue): Really refresh the queue group
172         after sending.
173
174         * gnus-agent.el (gnus-agent-send-mail): Ditto.
175
176         * gnus-group.el (gnus-group-refresh-group): New convenience function.
177
178         * gnus-draft.el (gnus-group-send-queue): Update the queue group in the
179         group buffer after sending the queue.
180
181         * gnus-agent.el (gnus-agent-send-mail): Ditto.
182
183 2011-01-22  Julien Danjou  <julien@danjou.info>
184
185         * mailcap.el (mailcap-mime-extensions): Rename text/org to text/x-org.
186
187 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
188
189         * mm-decode.el (mm-preferred-alternative-precedence): Don't bug out on
190         nested related parts.
191
192         * nnfolder.el (nnfolder-request-expire-articles): Return the list of
193         unexpired articles.  This fixes the regression that led expiry marks to
194         disappear from nnfolder groups.
195
196 2011-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
197
198         * gnus-art.el (gnus-button-alist, gnus-button-handle-info-keystrokes):
199         Don't confuse the "ret" of "retrograde" with RET.
200
201 2011-01-21  Julien Danjou  <julien@danjou.info>
202
203         * gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather
204         than mm-insert-inline.
205
206 2011-01-21  Katsumi Yamaoka  <yamaoka@jpl.org>
207
208         * gnus-art.el (gnus-article-remove-images, gnus-article-show-images):
209         Widen article buffer.
210
211 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
212
213         * mm-util.el (mm-find-buffer-file-coding-system): Don't forget to kill
214         the temp buffer.
215         * message.el (message-mailer-swallows-blank-line): Use with-temp-buffer.
216
217 2011-01-20  Julien Danjou  <julien@danjou.info>
218
219         * mm-decode.el (mm-inline-media-tests): Add text/x-sh.
220
221         * gnus-art.el (gnus-mime-inline-part): Use mm-display-inline rather
222         than mm-insert-inline to insert inline part: this respect
223         mm-inline-media-tests displayers.
224
225         * mm-view.el (mm-display-shell-script-inline): New function.
226
227         * mm-decode.el (mm-inline-media-tests): Add x-shellscript and x-sh.
228
229         * mm-uu.el (mm-uu-type-alist): Add org block.
230         (mm-uu-org-src-code-block-extract): New function.
231
232         * mm-view.el (mm-display-org-inline): New function.
233
234         * mm-decode.el (mm-automatic-display): Add text/org.
235
236         * mailcap.el (mailcap-mime-extensions): Add .org.
237
238 2011-01-19  Katsumi Yamaoka  <yamaoka@jpl.org>
239
240         * gnus-art.el (gnus-article-highlight): Remove argument passed to
241         gnus-article-add-buttons.
242
243 2011-01-19  Tom Rauchenwald  <sehnsucht.nach.unendlichkeit@quantentunnel.de>  (tiny change)
244
245         * spam.el (spam-spamassassin-register-with-sa-learn): Insert a full
246         From header with a date and "nobody" as the sender.
247
248 2011-01-19  Julien Danjou  <julien@danjou.info>
249
250         * gnus-art.el (gnus-article-add-buttons): Simplify condition.
251         (gnus-button-push): Remove gnus-button-entry function, it fails heavily
252         if you have the same regexp several times.
253         (gnus-button-push): Fix matching when regexp is symbol.
254
255 2011-01-15  Glenn Morris  <rgm@gnu.org>
256
257         * message.el (message-mail): A compose-mail function should
258         accept headers as strings.
259
260 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
261
262         * message.el (message-tool-bar-gnome): Tweak tool-bar items.
263         Add :vert-only tags.
264         (message-mail): New arg RETURN-ACTION.
265         (message-return-action): New var.
266         (message-bury): Use it.
267         (message-mode): Make it buffer-local.
268         (message-send-and-exit): Always call message-bury.
269
270         * gnus-msg.el (gnus-msg-mail): New arg RETURN-ACTION.  Pass it to
271         message-mail.
272
273 2011-01-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
274
275         * nnimap.el (nnimap-convert-partial-article): Protect against
276         zero-length body parts.
277
278         * mm-decode.el (mm-preferred-alternative-precedence):
279         Discourage showing empty parts.
280
281         * gnus-int.el (gnus-request-accept-article): Don't try to update marks
282         and stuff if the backend didn't return the article number.  This fixes
283         an Exchange-related nnimap bug.
284
285         * gnus-sum.el (gnus-summary-next-article): Remove hack to reselect
286         group window, because it does the wrong thing when a separate frame
287         displays the group buffer.
288
289         * proto-stream.el (open-protocol-stream): Protect against the low-level
290         transport functions returning nil.
291
292 2011-01-07  Daiki Ueno  <ueno@unixuser.org>
293
294         * mml2015.el (epg-sub-key-fingerprint): Autoload.
295         (mml2015-epg-find-usable-secret-key): New function.
296         (mml2015-epg-sign): Use mml2015-epg-find-usable-secret-key instead of
297         mml2015-epg-find-usable-key (Bug#7797).
298         (mml2015-epg-encrypt): Ditto.
299
300 2011-01-05  Katsumi Yamaoka  <yamaoka@jpl.org>
301
302         * dgnushack.el (rot13-string): Fix the way to get the argument.
303
304 2011-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
305
306         * flow-fill.el (fill-flowed-encode): Do encoding citation-aware.
307
308 2011-01-03  Glenn Morris  <rgm@gnu.org>
309
310         * sieve-manage.el (sieve-manage-open): Correctly set sieve-manage-port.
311
312         * sieve.el (sieve-open-server): Give a more explicit error if
313         sieve-manage-open returns nil.  (Bug#7720)
314
315 2011-01-02  Karl Fogel  <kfogel@red-bean.com>
316
317         * gnus-msg.el (gnus-message-replyencrypt): Default to `t'.
318
319 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
320
321         * nnimap.el (nnimap-login): Prefer AUTH=CRAM-MD5, if it's available.
322         This avoids sending passwords in plain text over non-encrypted
323         channels.
324
325         * shr.el (shr-rescale-image): Display all GIF images as animated images.
326
327         * nnimap.el (nnimap-login): Refactored out into own function, and
328         implement CRAM-MD5.
329         (nnimap-wait-for-line): Refactored out.
330
331         * mm-view.el (mml-smime): Require.
332
333 2010-12-20  David Engster  <deng@eml.cc>
334
335         * mm-view.el (mm-view-pkcs7-decrypt): If mml-smime-use is set to 'epg,
336         use EPG to decrypt S/MIME messages instead of openssl.
337
338 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
339
340         * nnimap.el (nnimap-request-group): Avoid double SELECT on `M-g'.
341
342         * gnus-group.el (gnus-group-kill-group): Don't try to update the group
343         status is the group clearly is unreachable.
344
345         * auth-source.el (auth-source-create): Add the optional second
346         parameter to `local-variable-p' to be compatible with XEmacs.
347
348 2011-01-02  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
349
350         * nnml.el (nnml-request-article): Allow requesting by Message-ID to
351         work when using a compressed nnml folder.
352
353 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
354
355         * gnus-sum.el (gnus-select-newsgroup): Don't propagate marks to
356         backends after sanitising on entry, because this never makes sense:
357         If the articles have gone missing, then the data no longer exists on
358         the backend, and if they haven't, then Gnus is wrong, and shouldn't
359         overwrite anything anyway.
360
361         * shr.el (shr-insert-document): Bind shr-width dynamically to
362         window-width if it's nil.
363
364 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
365
366         * shr.el (shr-width, shr-insert-document): Allow nil as shr-width value
367         with the meaning of using the full emacs window width for rendering.
368
369 2010-12-27  Daiki Ueno  <ueno@unixuser.org>
370
371         * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Take care the
372         case when sender is not given.
373
374 2010-12-23  Julien Danjou  <julien@danjou.info>
375
376         * gnus-gravatar.el (gnus-gravatar-transform-address): Set
377         `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting
378         the addresses, otherwise we might misplaced the gravatar.
379
380 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
381
382         * mml1991.el (pgg-sign-region, pgg-encrypt-region):
383         * gnus-art.el (pgg-snarf-keys-region): Autoload since PGG is now
384         obsolete in Emacs.
385
386 2010-12-20  Julien Danjou  <julien@danjou.info>
387
388         * gnus-util.el (gnus-rescale-image): Revert last change.
389
390 2010-12-17  Chong Yidong  <cyd@stupidchicken.com>
391
392         * binhex.el: Improve commentary (Bug#7482).
393
394 2010-12-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
395
396         * gnus-group.el (gnus-group-delete-articles): New command.
397
398 2010-12-17  Andrew Cohen  <cohen@andy.bu.edu>
399
400         * nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
401
402 2010-12-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
403
404         * gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change
405         here, since it's up to the backends to do CRLF removal if their
406         protocol has it.
407
408         * nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
409
410 2010-12-17  Julien Danjou  <julien@danjou.info>
411
412         * gnus-util.el (gnus-rescale-image): Allow to resize images even if
413         they are from file. Can also scale up.
414
415 2010-12-17  Andrew Cohen  <cohen@andy.bu.edu>
416
417         * gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore
418         gnus-use-agent.
419         (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
420
421         * nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
422
423 2010-12-17  Julien Danjou  <julien@danjou.info>
424
425         * gravatar.el (gravatar-retrieve-synchronously): New function.
426         (gravatar-get-data): Make more robust.
427
428 2010-12-16  Katsumi Yamaoka  <yamaoka@jpl.org>
429
430         * lpath.el: Bind epa-file-encrypt-to for Emacs 22 and XEmacs.
431
432 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
433
434         * nnimap.el (nnimap-wait-for-response): Fix the end-point calculation
435         to really consider the last line.
436
437 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
438
439         * auth-source.el (auth-source-gpg-encrypt-to): New variable to set the
440         list of recipient keys, or use symmetric encryption if not a list.
441         (auth-source-create): Use it to make `epa-file-encrypt-to' local for an
442         EPA override, replacing the call to `netrc-store-data'.
443
444 2010-12-16  Dan Davison  <dandavison7@gmail.com>  (tiny change)
445
446         * gnus-srvr.el: Avoid passing nil regexp argument to
447         delete-matching-lines.
448
449 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
450
451         * gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML
452         fetching stops when Gnus exits.
453
454         * nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own
455         function.
456         (nnfolder-request-expire-articles): Save all the buffers after doing
457         expiry.
458
459         * nnmail.el (nnmail-expiry-target-group): Revert the "all articles are
460         the last article", since that led to serious performance regressions
461         when expiring nnml groups.
462
463 2010-12-16  Andrew Cohen  <cohen@andy.bu.edu>
464
465         * nnir.el: Improve customizations.
466
467 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
468
469         * gnus-start.el (gnus-subscribe-newsgroup): Notify the backend.
470
471         * gnus-group.el (gnus-group-kill-group): Notify the backend that the
472         group has been killed.
473         (gnus-group-yank-group): Ditto.
474
475         * gnus-srvr.el (gnus-browse-unsubscribe-group): Ditto.
476
477         * nnimap.el (nnimap-request-update-group-status): New function.
478
479         * gnus-int.el (gnus-request-update-group-status): New interface
480         function.
481
482         * gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for
483         copying read-ness to the backends.
484
485         * nnimap.el (nnimap-quirk): New function.
486         (nnimap-retrieve-group-data-early): Use it.
487         (nnimap-quirks): New alist.
488
489 2010-12-16  Katsumi Yamaoka  <yamaoka@jpl.org>
490
491         * shr.el (shr-insert): Set shr-start after deleting trailing space;
492         don't delete it within indentation.
493
494 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
495
496         * nnimap.el (nnimap-wait-for-response): Always look (at least) at the
497         previous line.
498
499 2010-12-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
500
501         * nnimap.el (nnimap-retrieve-group-data-early): Fix the syntax of the
502         QRESYNC command by deleting a superfluous space which broke Cyrus
503         servers.  This change will break other servers that are buggy the other
504         way around.
505
506 2010-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
507
508         * spam.el: Reindent and fix long lines.
509         (spam-copy-or-move-routine): Exclude invalid move destinations.
510
511 2010-12-14  Andrew Cohen  <cohen@andy.bu.edu>
512
513         * nnir.el (nnir-mode): Don't install registry hooks if user hasn't
514         installed the registry.
515
516 2010-12-14  Katsumi Yamaoka  <yamaoka@jpl.org>
517
518         * dgnushack.el (rot13-string): New macro for XEmacs.  netrc.el uses it.
519
520 2010-12-13  Andrew Cohen  <cohen@andy.bu.edu>
521
522         * nnir.el (nnir-run-gmane): Better check for gmane groups: error out if
523         groupname doesn't contain "gmane".
524
525 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
526
527         * netrc.el (netrc-point-at-eol): Remove the unused netrc-point-at-old
528         and netrc-bound-and-true-p bindings.
529         (netrc-parse): Cache the netrc contents.
530
531         * gnus-start.el (gnus-matches-options-n): Fix typo in last change.
532         (gnus-1): Don't create the nndrafts group twice.
533         (gnus-setup-news): There's no need to read the active file here, since
534         that's done again later on a per-backend basis.
535         (gnus-start-draft-setup): Make sure that the new group is started out
536         empty.
537
538         * gnus-agent.el (gnus-agentize): Don't create the queue group
539         automatically on startup.  It'll be created later, if needed.
540
541         * gnus-start.el (gnus-auto-subscribed-groups): Add nnimap to the list
542         of automatically subscribed groups.
543         (gnus-auto-subscribed-categories): New variable.
544         (gnus-matches-options-n): Use it.
545         (gnus-default-subscribed-newsgroups): Remove unused variable.
546         (gnus-start-draft-setup): Message a bit less.
547
548 2010-12-13  Andrew Cohen  <cohen@andy.bu.edu>
549
550         * nnir.el (nnir-run-imap): Return article list in order of increasing
551         UID.
552
553 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
554
555         * gnus-sum.el (gnus-summary-enter-digest-group):
556         Mention gnus-auto-select-on-ephemeral-exit.
557
558         * proto-stream.el (proto-stream-open-network-only): Fix the calling
559         convention of the network-only option.
560
561 2010-12-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
562
563         * proto-stream.el (proto-stream-open-network-only): New function to
564         have a way to specify non-STARTTLS upgrade connections.
565
566 2010-12-10  Julien Danjou  <julien@danjou.info>
567
568         * gnus-gravatar.el (gnus-gravatar-transform-address): Fix error when
569         email address is nil.
570
571         * message.el (message-bogus-recipient-p): Set address to "" if nil.
572
573 2010-12-10  Andrew Cohen  <cohen@andy.bu.edu>
574
575         * nnir.el (nnir-request-expire-articles): Ignore expiry except for
576         deletion.
577         (nnir-run-imap): Only need to parse list once.
578
579 2010-12-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
580
581         * shr.el (shr-tag-script): Ignore <script>.
582         (shr-tag-label): Add <label> support.
583
584 2010-12-09  Katsumi Yamaoka  <yamaoka@jpl.org>
585
586         * mm-util.el (mm-ucs-to-char): Use eval-and-compile.
587
588         * shr.el (shr-image-displayer): Work for images lined side by side.
589
590 2010-12-08  Robert Pluim  <rpluim@gmail.com>
591
592         * gnus-demon.el (gnus-demon-init): Call run-with-timer with an integer
593         parameter, since XEmacs doesn't accept t as a parameter.
594
595 2010-12-08  Andrew Cohen  <cohen@andy.bu.edu>
596
597         * nnir.el (nnir-retrieve-headers): Use rassq when comparing article
598         ids.
599         (nnir-run-gmane): Simplify groupspec formatting.
600         (nnir-request-expire-articles): New function.
601
602 2010-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
603
604         * nnimap.el (nnimap-parse-flags): Tweak VANISHED regexp to avoid regexp
605         overflow, possibly.
606
607         * shr.el (shr-tag-table-1): Use bg/gfcolor specs on tables.
608         (shr-render-td): Handle td style="" better.
609         (shr-tag-table): Use the color from the style sheet.
610         (shr-render-td): Make sure we copy over all the overlays, too.
611
612 2010-12-07  Andrew Cohen  <cohen@andy.bu.edu>
613
614         * nnir.el (nnir-run-gmane): Restore sub-optimal test for gmane server.
615         (nnir-request-article): Improve article retrieval.
616
617 2010-12-07  Katsumi Yamaoka  <yamaoka@jpl.org>
618
619         * mm-util.el (mm-extra-numeric-entities): New variable.
620
621         * mm-url.el (mm-url-decode-entities):
622         * mm-decode.el (mm-shr): Use it to decode extra numeric entities.
623
624         * lpath.el: Fbind completion-at-point for Emacs 22 and XEmacs.
625
626 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
627
628         * message.el: Use completion-at-point.
629         (message-completion-function): New fun, extracted from message-tab.
630         (message-mode): Use it for completion-at-point-functions.
631         (message-tab): Use it and completion-at-point.
632
633 2010-12-07  Katsumi Yamaoka  <yamaoka@jpl.org>
634
635         * shr.el (shr-find-fill-point): Don't break a line after a kinsoku-bol
636         character if a non-breakable character follows.
637
638 2010-12-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
639
640         * proto-stream.el (proto-stream-open-tls): Return nil if we don't get
641         any stream.
642
643         * shr.el (shr-tag-font): Colorize the region.
644         (shr-tag-body): Ditto.
645         (shr-tag-font): Actually let the styles be inherited instead of
646         overwriting them.
647         (shr-tag-font): Get the background color right.
648         (shr-tag-style): Ignore all <style> tags for the moment.
649
650         * gnus-int.el (gnus-request-thread): Rework to take a header instead of
651         a Message-ID to avoid having nnimap depend on gnus-sum.
652
653         * shr.el (shr-descend): Only colorize something if we have a node that
654         sets colors.
655
656 2010-12-06  Julien Danjou  <julien@danjou.info>
657
658         * shr.el (shr-render-td): Render td content with shr-descend, so style
659         will be applied to <td> too.
660         (shr-colorize-region): Colorize region even if we only have a background.
661         (shr-tag-body): Fix color and background color inheritance.
662         Do not recolorize after shr-generic.
663         (shr-tag-font): Let shr-generic colorize via inheritance.
664
665 2010-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
666
667         * shr.el (shr-find-fill-point): Don't regard apostrophe as kinsoku-bol.
668
669 2010-12-06  Andrew Cohen  <cohen@andy.bu.edu>
670
671         * nnir.el (nnir-request-move-article): Remove obsolete code.
672
673 2010-12-05  Katsumi Yamaoka  <yamaoka@jpl.org>
674
675         * gnus-util.el (gnus-macroexpand-all): Use eval-and-compile.
676
677 2010-12-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
678
679         * gnus-sum.el (gnus-summary-respool-article): The completion function
680         expects a list instead of an alist.
681
682         * nntp.el (nntp-snarf-error-message): nnheader-report takes a format
683         string as the parameter.
684
685         * gnus.el (gnus-valid-select-methods): Allow nnimap to respool.
686
687         * shr.el (shr-stylesheet): New dynamic variable for cascading the
688         styles.
689         (shr-colorize-region): New function.
690         (shr-insert-background-overlay): Remove.
691         (shr-render-td): Background setting should be taken care of on a higher
692         level.
693         (shr-tag-body): Use post-hoc colorizations.
694         (shr-tag-body): Set up a style sheet based on bgcolor/fgcolor.
695         (shr-put-color-1): Don't overwrite old colors.
696         (shr-colorize-region): When the background color isn't explicit, use
697         a fixed background.
698
699         * gnus-util.el (gnus-output-to-mail): Require nnmail before using
700         nnmail variables.
701
702 2010-12-05  Bjørn Mork  <bjorn@mork.no>
703
704         * nnimap.el (nnimap-process-expiry-targets): Avoid downloading articles
705         unless necessary.
706
707 2010-12-05  Andrew Cohen  <cohen@andy.bu.edu>
708
709         * nnir.el (nnir-run-gmane): Use more careful test for gmane nntp
710         server.
711
712 2010-12-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
713
714         * gnus-html.el (gnus-html-put-image): Use widget instead of local maps
715         so that TAB works.
716
717         * gnus-sum.el (gnus-summary-show-article): Reverse the meanings of `C-u
718         C-u g' and `C-u g' so that `C-u g' does what it traditionally did.
719
720         * shr.el (shr-urlify): Show the URL before the title to avoid
721         misleading URLs.
722
723 2010-12-04  Adam Sjøgren  <asjo@koldfront.dk>
724
725         * shr.el (shr-urlify): Display the title in <a> tags.
726
727 2010-12-04  Andrew Cohen  <cohen@andy.bu.edu>
728
729         * nnir.el (nnir-categorize): Replace mapcar with mapc.
730
731 2010-12-03  Andrew Cohen  <cohen@andy.bu.edu>
732
733         * nnir.el: Rearrange code to allow macros to be autoloaded by
734         gnus-sum.el.
735         (nnir-retrieve-headers-override-function): Make this variable
736         customizable.
737         (nnir-retrieve-headers): Remove obsolete subject-mangling code.
738
739         * gnus-sum.el (nnir-article-group,nnir-article-rsv): Autoload macros
740         from nnir.el.
741
742 2010-12-03  Julien Danjou  <julien@danjou.info>
743
744         * gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.
745
746 2010-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
747
748         * gnus-util.el (gnus-macroexpand-all): Don't modify argument;
749         allow optional argument `environment'.
750
751 2010-12-03  Glenn Morris  <rgm@gnu.org>
752
753         * mm-extern.el (message-goto-body): Update declaration.
754
755 2010-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
756
757         * gnus-util.el (gnus-macroexpand-all): New function.
758
759         * gnus-sum.el (gnus-summary-line-format-alist): Use gnus-macroexpand-all
760         instead of macroexpand-all that is unavailable in XEmacs.
761
762 2010-12-02  Andrew Cohen  <cohen@andy.bu.edu>
763
764         * nnir.el (nnir-summary-line-format): New variable.
765         (nnir-mode): Use it.
766         (nnir-artlist-*,nnir-aritem-*): Reimplement as macros.
767         (nnir-article-ids): Reimplement as defsubst.
768         (nnir-retrieve-headers): Don't mangle the subject header.
769         (nnir-run-imap): Use 100 as RSV score.
770         (nnir-run-find-grep): Fix for full server searching.
771         (nnir-run-gmane): Better restriction to gmane groups.
772
773         * gnus-sum.el (gnus-summary-line-format-alist): Add specs for nnir
774         summary buffers.
775
776 2010-12-02  Julien Danjou  <julien@danjou.info>
777
778         * gnus-win.el (gnus-configure-frame): Remove old compatibility code.
779
780         * gnus-msg.el: Mark gnus-outgoing-message-group as obsolete.
781
782         * gnus-win.el (gnus-configure-windows): Remove Gnus 3.x setting
783         support.
784
785 2010-12-01  Andrew Cohen  <cohen@andy.bu.edu>
786
787         * nnir.el: Update to handle the registry better.
788         (autoload): Silence byte-compiler.
789         (nnir-open-server): Add a hook for nnir groups.
790         (nnir-request-move-article): Don't mangle the header. Better to use
791         formating variables (which will be added in the future).
792         (nnir-registry-action): Update the registry using the original article
793         group name.
794         (nnir-mode): Install nnir-specific hooks for updating the registry.
795
796         * gnus-sum.el
797         (gnus-article-original-subject,gnus-newsgroup-original-name):
798         Remove obsolete variables.
799         (gnus-summary-move-article): Remove use of obsolete variables.
800         (gnus-summary-local-variables): Make move and delete hooks local to
801         summary buffers.
802
803 2010-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
804
805         * rtree.el: New file.
806
807 2010-12-01  Julien Danjou  <julien@danjou.info>
808
809         * message.el (message-user-organization): Do not use
810         gnus-local-organization.
811
812         * gnus.el: Remove gnus-local-organization.
813
814         * gnus-msg.el: Remove nastygram thing.
815
816 2010-12-01  Teodor Zlatanov  <tzz@lifelogs.com>
817
818         * nnmaildir.el (nnmaildir-request-set-mark): Add article to add-mark
819         funcall.
820
821 2010-12-01  Katsumi Yamaoka  <yamaoka@jpl.org>
822
823         * gnus-gravatar.el (gnus-gravatar-insert): Allow LWSP in the middle of
824         names.
825
826         * shr.el (shr-find-fill-point): Don't break line between kinsoku-bol
827         characters.
828
829         * gnus-gravatar.el (gnus-gravatar-insert): Delete unnecessary binding
830         to t of inhibit-read-only since it is inside gnus-with-article-headers.
831         Suggested by Å tÄ›pán NÄ›mec <stepnem@gmail.com>.
832         (gnus-gravatar-transform-address): Use mail-extract-address-components
833         that supports non-ASCII names rather than mail-header-parse-addresses.
834
835 2010-11-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
836
837         * proto-stream.el (open-protocol-stream): All starttls connections are
838         handled by the network handler.
839
840 2010-11-30  Julien Danjou  <julien@danjou.info>
841
842         * nnimap.el (nnimap-open-connection-1): Use gnus-string-match-p.
843         (nnimap-open-connection-1): Fix PREAUTH.
844
845         * gnus-gravatar.el (gnus-gravatar-size): Set gnus-gravatar-size to nil.
846
847 2010-11-30  Katsumi Yamaoka  <yamaoka@jpl.org>
848
849         * shr.el (shr-char-breakable-p, shr-char-nospace-p)
850         (shr-char-kinsoku-bol-p, shr-char-kinsoku-eol-p): New macros.
851         (shr-insert): Use them.
852         (shr-find-fill-point): Work better for kinsoku chars and apostrophes.
853
854 2010-11-29  Andrew Cohen  <cohen@andy.bu.edu>
855
856         * nnir.el (nnir-request-move-article): Bail out if original group
857         doesn't support article moves.
858         (nnir-get-active): Improve active list retrieval.
859
860 2010-11-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
861
862         * shr.el (shr-find-fill-point): Don't break before apostrophes.
863
864 2010-11-29  Binjo  <binjo.cn@gmail.com>  (tiny change)
865
866         * nnimap.el (nnimap-open-connection-1): w32 open-network-stream doesn't
867         seem to accept strings-with-numbers as port numbers,
868
869 2010-11-29  Andrew Cohen  <cohen@andy.bu.edu>
870
871         * gnus-sum.el (gnus-summary-delete-article): If delete fails don't
872         change the registry.
873
874 2010-11-29  Katsumi Yamaoka  <yamaoka@jpl.org>
875
876         * nnir.el (nnir-run-gmane): Use mm-delete-duplicates instead of
877         delete-dups that is not available in XEmacs 21.4.
878
879         * mm-util.el (mm-delete-duplicates): Add comment.
880
881 2010-11-28  Andrew Cohen  <cohen@andy.bu.edu>
882
883         * nnir.el (nnir-ignored-newsgroups): New variable.
884         (nnir-get-active): Use it.
885
886 2010-11-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
887
888         * proto-stream.el (proto-stream-open-network): Add some comments.
889
890         * nntp.el (nntp-open-connection): Provide a :success condition.
891
892         * nnimap.el (nnimap-open-connection-1): Ditto.
893
894         * proto-stream.el (proto-stream-open-network): See what the response to
895         the STARTTLS command is.
896
897         * nnimap.el (nnimap-open-connection-1): Always upgrade to STARTTLS (for
898         backwards compatibility).
899         (nnimap-open-connection-1): Really respect nnimap-server-port.
900
901         * proto-stream.el (proto-stream-open-network): When doing opportunistic
902         TLS upgrades we don't really care about the identity of the peer.
903         (proto-stream-open-network): Force starttls.el to use gnutls-cli, since
904         that what we've checked for.
905         (proto-stream-always-use-starttls): Only default to t if
906         open-gnutls-stream exists.
907         (proto-stream-open-network): If STARTTLS failed, then just open a
908         normal connection.
909         (proto-stream-open-network): Wait until the greeting before doing
910         STARTTLS.
911
912         * nntp.el (nntp-open-connection): Report what the connection error is.
913
914         * proto-stream.el (open-protocol-stream): Rename from
915         open-proto-stream.
916
917 2010-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
918
919         * nnimap.el (nnimap-stream): Change default to `undecided'.
920         (nnimap-open-connection): If `nnimap-stream' is `undecided', try ssl
921         first, and then network.
922         (nnimap-open-connection-1): Respect nnimap-server-port.
923         (nnimap-open-connection): Be more backwards-compatible.
924
925         * proto-stream.el (proto-stream-always-use-starttls): New variable.
926         (proto-stream-open-starttls): De-duplicate the starttls code.
927         (proto-stream-open-starttls): Folded back into the main function.
928         (proto-stream-open-network): Fix typo in the gnutls path.
929         (proto-stream-command): Refactor out.
930
931         * nntp.el (nntp-open-connection): Fix the STARTTLS command syntax.
932
933         * proto-stream.el (proto-stream-open-starttls): Actually implement the
934         starttls.el STARTTLS.
935
936         * color.el (color-lab->srgb): Fix function call name.
937
938         * proto-stream.el (proto-stream-open-tls): Delete output from openssl
939         if we're using tls.el.
940         (proto-stream-open-network): If we don't have gnutls-cli or gnutls
941         built in, then don't try to establish a STARTTLS connection.
942
943         * nntp.el (nntp-open-connection): Switch on STARTTLS on supported
944         servers.
945
946         * proto-stream.el (open-proto-stream): Use network, not stream.
947         (open-proto-stream): Add a way to specify what the end of a command is.
948
949         * nntp.el (nntp-open-connection): Use proto-streams for the relevant
950         connections types.
951         (nntp-open-network-stream): Remove.
952         (nntp-open-ssl-stream): Remove.
953         (nntp-open-tls-stream): Remove.
954         (nntp-ssl-program): Remove.
955
956         * nnimap.el (nnimap-open-connection): Check for "OK" from the greeting.
957
958 2010-11-27  Andrew Cohen  <cohen@andy.bu.edu>
959
960         * nnir.el: Fix typos.
961         (nnir-retrieve-headers-override-function): Rename variable to reflect
962         new semantics.
963         (nnir-article-group, nnir-article-number, nnir-article-rsv): New helper
964         macros.
965         (nnir-request-article, nnir-request-move-article): Use them.
966         (nnir-categorize): New function.
967         (nnir-run-query): Use it.
968         (nnir-retrieve-headers): Rewrite to batch header retrieval.
969         (nnir-run-gmane): nnir-retrieve-headers now returns the headers already
970         sorted.
971         (nnir-group-full-name): Use gnus-group-full-name instead.
972         (nnir-artlist-artitem-group, nnir-artlist-artitem-number)
973         (nnir-artlist-artitem-rsv, nnir-sort-groups-by-server): Obsolete.
974
975 2010-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
976
977         * nnimap.el (nnimap-open-connection): Fix typo in STARTTLS command.
978
979         * proto-stream.el: New library to provide protocol-specific
980         TLS/STARTTLS connections for IMAP, NNTP, SMTP, POP3 and similar
981         protocols.
982         (open-proto-stream): Complete the documentation.
983         (proto-stream-open-network): Fix some typos.
984
985         * nnimap.el (nnimap-open-connection): Use it.
986
987 2010-11-27  Yuri Karaban  <tech@askold.net>  (tiny change)
988
989         * pop3.el (pop3-open-server): Read server greeting before starting TLS
990         negotiation.
991
992 2010-11-26  Julien Danjou  <julien@danjou.info>
993
994         * color.el: Rename various rgb functions to srgb.
995
996 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
997
998         * nnimap.el (nnimap-get-groups): Allow non-quoted strings as mailbox
999         names.
1000
1001 2010-11-26  Katsumi Yamaoka  <yamaoka@jpl.org>
1002
1003         * shr.el (shr-insert): Revert last change.
1004         (shr-find-fill-point): Never leave point being at bol;
1005         relax the kinsoku limitation when rendering tables.
1006
1007 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1008
1009         * nnmail.el (nnmail-expiry-target-group): Protect against degenerate
1010         results from -accept-article.
1011
1012         * shr-color.el: Require cl when compiling.
1013
1014         * nnheader.el (nnheader-update-marks-actions): Fix typo in last
1015         checkin.
1016
1017         * gnus-art.el (gnus-url-mailto): Unfold URLs before using them.
1018
1019         * nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
1020
1021         * gnus-sum.el (gnus-summary-push-marks-to-backend): Use 'set instead of
1022         'add and 'delete to set backend marks.
1023
1024         * nnmaildir.el (nnmaildir-request-set-mark): Be explicit about 'set.
1025
1026         * nnheader.el (nnheader-update-marks-actions): Refactor out.
1027
1028         * nntp.el (nntp-request-set-mark): Use it.
1029
1030         * nnfolder.el (nnfolder-request-set-mark): Ditto.
1031
1032         * nnml.el (nnml-request-set-mark): Ditto.
1033
1034         * nnimap.el (nnimap-last-response-string): Remove the unfolding -- it
1035         introduces regressions in article selection.
1036         (nnimap-find-uid-response): New function.
1037         (nnimap-request-accept-article): Use the UID returned, if any.
1038         (nnimap-request-move-article): Use the UID returned, if any.
1039         (nnimap-get-groups): Reimplement to work with folded lines.
1040         (nnimap-find-uid-response): The UID is the last element in the list.
1041         (nnimap-request-set-mark): Extend syntax with 'set.
1042
1043         * nnml.el (nnml-request-set-mark): Ditto.
1044
1045         * nnfolder.el (nnfolder-request-set-mark): Ditto.
1046
1047         * nntp.el (nntp-request-set-mark): Ditto.
1048
1049 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
1050
1051         * message.el (message-called-interactively-p): A temporary macro.
1052         (message-goto-body): Use it temporarily.
1053
1054 2010-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1055
1056         * nnimap.el (nnimap-unfold-quoted-lines): Refactor out.
1057         (nnimap-last-response-string): Unfold quoted lines, if they exist.
1058         (nnimap-last-response-string): Fix last unfolding fix.
1059
1060 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
1061
1062         * shr.el (shr-insert): Fix the way to fold lines.
1063
1064 2010-11-25  Julien Danjou  <julien@danjou.info>
1065
1066         * shr-color.el (shr-color->hexadecimal): Use color-rgb->hex
1067
1068         * color.el: Rename from color-lab.el
1069         (color-rgb->hex): Add.
1070         (color-complement): Add.
1071         (color-complement-hex): Add.
1072
1073         * gnus-sum.el (gnus-summary-widget-forward): Add, and bind to [tab].
1074
1075 2010-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1076
1077         * shr-color.el (shr-color-visible): Don't bug out if the colour names
1078         don't exist.
1079
1080 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
1081
1082         * mml.el (mml-preview): Make sure to bind gnus-displaying-mime to nil,
1083         assuming that article displaying or another mml-preview may be
1084         interrupted for an error or for the like.
1085
1086         * shr.el (shr-get-background): Fix argument name.
1087
1088 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1089
1090         * gnus-cache.el (gnus-summary-insert-cached-articles): Use it.
1091
1092         * gnus-sum.el (gnus-summary-include-articles): New function.
1093
1094         * message.el (message-goto-body): called-interactively-p needs a
1095         parameter, so use `any'.
1096
1097         * nnimap.el (nnimap-request-move-article): It's no longer necessary to
1098         clear marks before moving, since they're synced from the Gnus side
1099         first.
1100
1101         * gnus-sum.el (gnus-summary-push-marks-to-backend): New function.
1102         (gnus-summary-move-article): Copy over all marks before moving, so that
1103         IMAP doesn't think a new article has arrived.
1104
1105 2010-11-24  Julien Danjou  <julien@danjou.info>
1106
1107         * shr.el (shr-insert-background-overlay): Fix typo.
1108         (shr-render-td): Copy the background before rendering.
1109
1110         * shr-color.el (shr-color-visible): Fix docstring.
1111
1112         * shr.el (shr-tag-table): Add bgcolor support.
1113         (shr-render-td): Add bgcolor support.
1114         (shr-get-background): Add.
1115         (shr-insert-foreground-overlay): Use shr-get-background.
1116
1117         * message.el (message-goto-body): Use called-interactively-p.
1118         (message-in-body-p): message-goto-body returns point.
1119
1120 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1121
1122         * mm-util.el (mm-enable-multibyte): Use `to' instead of t.  This fixes
1123         Fixes something or other in Emacs 23, and is backwards compatible.
1124
1125         * message.el (message-goto-body): Remove the <#secure special-casing,
1126         which is too special.
1127
1128         * shr.el (shr-parse-style): Drop !important from styles.
1129
1130 2010-11-24  Daniel Schoepe  <daniel.schoepe@googlemail.com>  (tiny change)
1131
1132         * gnus-sum.el (gnus-summary-articles-in-thread): Fix a bug that causes
1133         this function to return incorrect results when calling it with an
1134         explicit article argument different from
1135         (gnus-summary-article-number).
1136
1137 2010-11-24  Julien Danjou  <julien@danjou.info>
1138
1139         * shr.el (shr-insert-color-overlay): Replace deprecated syntax.
1140         (shr-tag-body): Add background support.
1141         (shr-descend): Add background support.
1142         (shr-tag-title): Add.
1143
1144         * shr-color.el (shr-color-visible): Really return original background
1145         if fixed.
1146
1147 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1148
1149         * shr.el (shr-color-check): Protect against non-existant colour names.
1150
1151 2010-11-24  Julien Danjou  <julien@danjou.info>
1152
1153         * color-lab.el: Require 'cl when compiling.
1154
1155         * shr.el (shr-insert-color-overlay): Remove specific rgb() check.
1156
1157         * shr-color.el (shr-color->hexadecimal): Only return the hexadecimal
1158         matched part.
1159
1160         * color-lab.el: Fix all expt calls to use float type.
1161
1162 2010-11-24  Katsumi Yamaoka  <yamaoka@jpl.org>
1163
1164         * shr.el (shr-insert-color-overlay): Pass rgb(rrr, ggg, bbb) type color
1165         expression to shr-color-check as is.
1166
1167         * shr-color.el (shr-color->hexadecimal): Ignore case of color names.
1168
1169         * color-lab.el: Add coding cookie.
1170         (float-pi): Use eval-and-compile.
1171
1172         * dgnushack.el (dgnushack-compile): Exclude shr-color.el from being
1173         compiled for Emacsen having no `libxml-parse-html-region' support.
1174
1175 2010-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1176
1177         * shr.el (shr-insert-color-overlay): Split stuff like
1178         "#444444 !important" to find the real colour.
1179         (shr-tag-font): Resurrect shr-tag-font again, since it's needed to
1180         parse <font color="red"> entries.
1181
1182 2010-11-23  Andrew Cohen  <cohen@andy.bu.edu>
1183
1184         * nnheader.el (nnheader-parse-head): Bug fix.  Properly position
1185         point when parsing headers.
1186
1187         * nnspool.el (nnspool-insert-nov-head): Bug fix.  Make sure point
1188         is positioned properly when parsing headers.
1189
1190 2010-11-23  Julien Danjou  <julien@danjou.info>
1191
1192         * color-lab.el (boundp): Bind float-pi for Emacs < 23.3.
1193
1194         * shr-color.el (shr-color->hexadecimal): Add support for color names.
1195
1196         * shr.el (shr-parse-style): Replace \n with space in style parsing.
1197
1198         * shr-color.el (shr-color-hsl-to-rgb-fractions):
1199         Use shr-color-hue-to-rgb.
1200         (shr-color->hexadecimal): Call shr-color-hsl-to-rgb-fractions.
1201
1202 2010-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1203
1204         * shr.el (shr-color->hexadecimal): Autoload.
1205         (shr-descend): Add color to all tags.
1206
1207 2010-11-22  Julien Danjou  <julien@danjou.info>
1208
1209         * shr.el (shr-tag-color-check): Convert colors to hexadecimal with
1210         shr-color->hexadecimal.
1211
1212         * shr-color.el (shr-color->hexadecimal): Add converting functions for
1213         RGB() or HSL() color representation.
1214
1215         * shr.el (shr-tag-font): Add.
1216         (shr-tag-color-check): New function to get better colors.
1217         (shr-tag-insert-color-overlay): Factorize code between tag-font and
1218         tag-span.
1219
1220         * shr-color.el: New file.
1221
1222         * color-lab.el: New file.
1223
1224         * gnus-art.el (gnus-url-mailto): Do not downcase args.
1225
1226 2010-11-21  Andrew Cohen  <cohen@andy.bu.edu>
1227
1228         * nnir.el: Fix typo in comments.
1229         (nnir-run-imap): Simplify code. No need to reverse artlist.
1230         (nnir-run-gmane): Use nnir-tmp-buffer for web results.
1231
1232 2010-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1233
1234         * gnus-srvr.el (gnus-server-show-server): New command and keystroke.
1235
1236         * nnimap.el (nnimap-get-capabilities): Refactor out.
1237         (nnimap-open-connection): Re-request capabilities after STARTTLS.
1238
1239 2010-11-21  Ralf Angeli  <angeli@caeruleus.net>
1240
1241         * mm-uu.el (mm-uu-type-alist): Prevent spurious empty line from
1242         appearing when `mm-uu-hide-markers' is nil.
1243
1244 2010-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1245
1246         * nnimap.el (nnimap-unselect-group): Make into its own function.
1247         (nnimap-request-rename-group): Unselect group before renaming.
1248         This had gotten lost somewhere.
1249         (nnimap-request-accept-article): Keep track of examined groups, and
1250         unselect the group before APPENDing to read-only groups.
1251         (nnimap-request-move-article): Clear flags before moving so that they
1252         can be re-set later.
1253
1254 2010-11-20  Katsumi Yamaoka  <yamaoka@jpl.org>
1255
1256         * gnus-gravatar.el (gnus-gravatar-transform-address): Decode name again.
1257         (gnus-gravatar-insert): Put avatar always in the beginning of the field.
1258
1259 2010-11-19  Katsumi Yamaoka  <yamaoka@jpl.org>
1260
1261         * gnus-art.el (gnus-mime-display-single)
1262         * gnus-html.el (gnus-html-wash-images, gnus-html-prefetch-images)
1263         * mm-decode.el (mm-shr): Assume that gnus-inhibit-images may be a group
1264         parameter.
1265
1266 2010-11-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1267
1268         * shr.el (shr-table-horizontal-line): Rename from shr-table-line.
1269         (shr-table-vertical-line): New variable.
1270         (shr-insert-table): Use it.
1271
1272 2010-11-18  Katsumi Yamaoka  <yamaoka@jpl.org>
1273
1274         * gnus-html.el (gnus-html-wash-images): Don't display images if
1275         gnus-inhibit-images is non-nil; register displayer for cid images.
1276         (gnus-html-display-image): Work for cid image.
1277         (gnus-html-insert-image): Allow arguments.
1278         (gnus-html-put-image): Inhibit read-only.
1279         (gnus-html-prefetch-images): Don't prefetch images if
1280         gnus-inhibit-images is non-nil.
1281
1282 2010-11-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1283
1284         * shr.el (shr-put-image): Break lines when inserting big pictures.
1285
1286 2010-11-17  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
1287
1288         * mml2015.el (mml2015-epg-encrypt): Fix two cons with missing
1289         sender, thanks Katsumi Yamaoka.
1290
1291 2010-11-17  Andrew Cohen  <cohen@andy.bu.edu>
1292
1293         * nnir.el (nnir-run-imap): Reverse the article list for each group
1294         rather than the whole list.
1295
1296 2010-11-17  Katsumi Yamaoka  <yamaoka@jpl.org>
1297
1298         * shr.el (shr-image-displayer): Protect function against non-existent
1299         image source.
1300
1301         * gnus-art.el (gnus-inhibit-images): New user option.
1302         (gnus-mime-display-single): Don't display image if it is non-nil.
1303
1304         * mm-decode.el (mm-shr): Bind shr-inhibit-images to the value of
1305         gnus-inhibit-images.
1306
1307         * shr.el (shr-image-displayer): New function.
1308         (shr-tag-img): Use it.
1309
1310 2010-11-16  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
1311
1312         * mml2015.el (mml2015-epg-sign): Use From header.
1313
1314 2010-11-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1315
1316         * gnus-html.el (gnus-html-wash-images): Register a displayer.
1317
1318         * gnus-util.el (gnus-find-text-property-region): Return markers.
1319
1320         * shr.el (shr-tag-img): Put a displayer in the text property.
1321
1322         * gnus-util.el (gnus-find-text-property-region): New utility function.
1323
1324         * gnus-html.el (gnus-html-display-image): Make the alt optional.
1325         (gnus-html-show-images): Remove.
1326
1327         * gnus-art.el (gnus-article-show-images): New, more general function.
1328
1329         * gnus-html.el: Use image-url instead of gnus-image-url to unify the
1330         image url text properties.
1331
1332         * shr.el: Ditto.
1333
1334         * gnus-agent.el (gnus-agentize): Only do the auto-agentizing if
1335         gnus-agent-auto-agentize-methods is set.  Which it isn't.
1336
1337 2010-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1338
1339         * gnus-sum.el (gnus-summary-move-article): Fix `while' loop to make it
1340         work for two or more articles.
1341
1342 2010-11-12  Katsumi Yamaoka  <yamaoka@jpl.org>
1343
1344         * gnus-art.el (article-treat-non-ascii): Keep text properties not to
1345         divide an image that's in an html article to two or more when washing
1346         non-ASCII characters in alt text of it.
1347
1348 2010-11-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1349
1350         * mm-decode.el (mm-dissect-buffer): Pass sender's mail address to
1351         smime-decrypt-region using function argument.
1352         (mm-possibly-verify-or-decrypt, mm-dissect-multipart): Relay it.
1353
1354         * mm-view.el (mm-view-pkcs7, mm-view-pkcs7-decrypt): Relay it.
1355
1356         * smime.el (smime-decrypt-region): Catch it.
1357
1358 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1359
1360         * smime.el (smime-mode-map): Move initialization into declaration.
1361         (gnus-run-mode-hooks): Don't autoload.
1362         (smime-mode): Use define-derived-mode.
1363
1364 2010-11-11  Glenn Morris  <rgm@gnu.org>
1365
1366         * smime.el (from): Restrict declaration to XEmacs.
1367
1368         * nnir.el (gnus-group-topic-name): Autoload.
1369
1370 2010-11-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1371
1372         * shr.el (shr-insert): Don't break long line if it is because of
1373         kinsoku-bol characters in the line end.
1374
1375 2010-11-11  Andrew Cohen  <cohen@andy.bu.edu>
1376
1377         * nnir.el (nnir-request-move-article): Fix to provide original group
1378         and subject.
1379         (nnir-warp-to-article): Don't fail on articles whose headers haven't
1380         been retrieved.
1381
1382         * gnus-sum.el (gnus-summary-move-article): Use original group and
1383         subject for virtual articles such as those in an nnir summary buffer.
1384
1385 2010-11-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1386
1387         * gnus-art.el (article-treat-non-ascii): Make it work for XEmacs (at
1388         least 21.5).
1389
1390         * smime.el (from): Declare it again for XEmacs.
1391
1392 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1393
1394         * message.el (message-resend): Don't disable encoding unless it's
1395         already encoded.
1396
1397         * nnimap.el (nnimap-update-info): Fix problem with `g' chopping of
1398         low-numbered articles.
1399
1400 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1401
1402         * rfc2047.el (rfc2047-syntax-table): Simplify.
1403
1404         * lpath.el: Fbind set-char-table-range for XEmacs 21.4 and SXEmacs 22.1.
1405
1406         * gnus-art.el (article-treat-non-ascii): Use put-char-table instead of
1407         set-char-table-range for XEmacs.
1408
1409 2010-11-10  Glenn Morris  <rgm@gnu.org>
1410
1411         * time-date.el (time-to-seconds): Always an alias on Emacs,
1412         never a real function.
1413         (with-no-warnings): Remove compat stub, now unused.
1414         (time-less-p): Doc fix.
1415         (time-to-number-of-days): Simplify.
1416
1417         * smime.el (from): Remove unused declaration.
1418
1419         * gnus-util.el (with-no-warnings): Remove compat stub, now unused.
1420         (gnus-float-time): On Emacs, always an alias.
1421
1422         * ecomplete.el (with-no-warnings): Remove compat stub, now unused.
1423         (ecomplete-add-item): Use float-time on Emacs, else gnus-float-time.
1424
1425 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1426
1427         * dgnushack.el: Don't use ignore-errors in the top level form since it
1428         is unavailable in XEmacs even if cl is loaded.
1429
1430         * gnus-art.el (org-entities): Declare it to silence the byte compiler.
1431
1432 2010-11-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1433
1434         * shr.el (browse-url-mailto): Autoload.
1435
1436         * gnus-art.el (article-treat-non-ascii): New command and keystroke.
1437
1438         * message.el (message-subject-trailing-was-ask-regexp): A ] in a []
1439         regexp doesn't need quoting.
1440
1441 2010-11-09  Sven Joachim  <svenjoac@gmx.de>
1442
1443         * message.el (message-subject-trailing-was-ask-regexp)
1444         (message-subject-trailing-was-regexp): Match was: in addition to was.
1445
1446 2010-11-09  Glenn Morris  <rgm@gnu.org>
1447
1448         * nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
1449         (nnbabyl-check-mbox): Use point-at-bol.
1450
1451 2010-11-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1452
1453         * shr.el (shr-browse-url): Call browse-url-mailto for mailto: links.
1454
1455         * message.el (message-mailto): New function.
1456         (message-mailto): Should accept other parameters.
1457         (message-mailto): Remove since it duplicates browse-url-mailto
1458         functionality.
1459
1460 2010-11-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1461
1462         * gnus-start.el (gnus-get-unread-articles): Ignore totally non-existent
1463         methods.
1464         (gnus-read-active-file): Ditto.
1465
1466         * gnus-group.el (gnus-group-read-ephemeral-group): Remove superfluous
1467         ": " from the prompt.
1468         (gnus-group-make-group): Ditto.
1469
1470 2010-11-07  Glenn Morris  <rgm@gnu.org>
1471
1472         * gnus-bookmark.el (gnus-bookmark-bmenu-show-infos)
1473         (gnus-bookmark-kill-line): Use point-at-eol.
1474
1475 2010-11-07  Katsumi Yamaoka  <yamaoka@jpl.org>
1476
1477         * gnus-gravatar.el (gnus-gravatar-transform-address): No need to skip
1478         asterisks in From header.
1479
1480 2010-11-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1481
1482         * gnus-ems.el (gnus-put-image): Use a blank text as the insertion
1483         string to avoid making the From headers syntactically invalid.
1484
1485         * message.el (message-send-mail): Don't insert courtesy messages if the
1486         message already has List-Post and List-ID messages.
1487
1488 2010-11-06  Glenn Morris  <rgm@gnu.org>
1489
1490         * gnus-art.el (gnus-treat-article): Give dynamic local variables
1491         `condition', `type', `length' a prefix.
1492         (gnus-treat-predicate): Update for above name changes.
1493
1494 2010-11-06  Andrew Cohen  <cohen@andy.bu.edu>
1495
1496         * nnir.el (gnus-summary-nnir-goto-thread): Remove function and
1497         binding.  Handled by `gnus-summary-refer-thread' instead.
1498         (nnir-warp-to-article): New backend function.
1499
1500         * nnimap.el (nnimap-request-thread): Force dependency updating.
1501
1502         * gnus-sum.el (gnus-fetch-headers): Allow more arguments.
1503         (gnus-summary-refer-thread): Rework to improve thread-referral.
1504
1505         * gnus-int.el (gnus-warp-to-article): New function.
1506
1507         * gnus-sum.el (gnus-summary-article-map): Bind it.
1508
1509 2010-11-04  Andrew Cohen  <cohen@andy.bu.edu>
1510
1511         * nnir.el (gnus-summary-nnir-goto-thread): Limit work done by
1512         gnus-summary-refer-thread.
1513
1514         * gnus-sum.el (gnus-build-all-threads): Force updating of dependency
1515         headers.
1516         (gnus-summary-limit-include-thread): Prevent articles in thread from
1517         being cut in gnus-cut-threads.
1518         (gnus-summary-refer-thread): Limit retrieved headers to those in
1519         thread.
1520
1521 2010-11-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1522
1523         * message.el (message-send-mail): Use the value of
1524         message-courtesy-message from the message buffer.
1525
1526         * gnus-html.el (gnus-html-browse-url): Implement mailto: URLs.
1527
1528         * shr.el (shr-browse-url): Implement mailto: URLs.
1529
1530         * gnus-sum.el (gnus-summary-show-article): Take `t' as the arg to mean
1531         "raw".
1532
1533         * nnimap.el (nnimap-find-article-by-message-id): Don't EXAMINE a group
1534         if it's already selected.
1535
1536         * mm-decode.el (mm-save-part): Put the entire path in the `M-n' slot.
1537
1538 2010-11-04  Katsumi Yamaoka  <yamaoka@jpl.org>
1539
1540         * shr.el (shr-tag-img): Use string-width and truncate-string-to-width
1541         to measure the length and truncate alt text.
1542
1543 2010-11-03  Glenn Morris  <rgm@gnu.org>
1544
1545         * nndiary.el (nndiary-generate-nov-databases-1)
1546         (nndiary-generate-active-info): Rename dynamic variable `files' to
1547         something less generic.
1548
1549 2010-11-03  Andrew Cohen  <cohen@andy.bu.edu>
1550
1551         * nnir.el (nnir-request-move-article): Call the underlying backend to
1552         move articles from nnir.
1553
1554 2010-11-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1555
1556         * gnus-cite.el (gnus-article-natural-long-line-p): Remove.
1557
1558 2010-11-02  Julien Danjou  <julien@danjou.info>
1559
1560         * nnir.el: Remove wais support.
1561
1562 2010-11-02  Glenn Morris  <rgm@gnu.org>
1563
1564         * gnus-html.el: Reorder requirements to quieten compiler.
1565
1566 2010-11-02  Katsumi Yamaoka  <yamaoka@jpl.org>
1567
1568         * gnus-cite.el (gnus-article-fill-cited-article): Make fill work
1569         properly for XEmacs as well.
1570         (gnus-article-fill-cited-article, gnus-article-foldable-buffer)
1571         (gnus-article-natural-long-line-p): Use window-width rather than
1572         frame-width.
1573
1574 2010-11-01  Andrew Cohen  <cohen@andy.bu.edu>
1575
1576         * nnir.el (nnir-run-gmane): Inhibit demon.  Return nil if no messages.
1577         (nnir-read-parms): Don't modify query.
1578         (nnir-run-query): Add ability to search topic on current line.
1579         (nnir-get-active): Clean up.
1580
1581 2010-11-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1582
1583         * gnus-cite.el (gnus-article-foldable-buffer): Protect against
1584         degenerate articles.
1585
1586         * gnus-sum.el (gnus-print-buffer): Rewrite to use with-temp-buffer.
1587         (gnus-print-buffer): Just print the buffer as is, without any copying
1588         to a buffer and then re-highlighting.
1589
1590         * nnimap.el (nnimap-request-group): Store the new updated info.
1591         (nnimap-request-group): Select the group when we don't know whether it
1592         exists or not.
1593
1594         * gnus-start.el (gnus-ask-server-for-new-groups): Return the new
1595         groups.
1596
1597         * gnus-group.el (gnus-group-find-new-groups): Display all the new
1598         groups.
1599
1600         * gnus-start.el (gnus-find-new-newsgroups): Return the list of new
1601         groups.
1602
1603         * gnus-cite.el (gnus-article-fill-cited-article): Minimize the
1604         long-lines case by only filling the long lines.
1605
1606         * nnimap.el (nnimap-parse-line): Don't bug out oddly formed replies
1607         (bug #7311).
1608
1609 2010-11-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1610
1611         * shr.el: No need to declare `declare-function' since shr.el is for
1612         only Emacsen that provide `libxml-parse-html-region'.
1613
1614         * dgnushack.el: Remove `(defvar iswitchb-temp-buflist)', that is
1615         effective only in a file it is referred to.
1616
1617 2010-11-01  Glenn Morris  <rgm@gnu.org>
1618
1619         * mm-util.el (gnus-completing-read): Autoload.
1620         (mm-read-coding-system): Simplify Emacs definition.
1621
1622         * nnmail.el (gnus-activate-group):
1623         * nnimap.el (gnutls-negotiate):
1624         * nntp.el (netrc-parse): Fix declarations.
1625
1626 2010-11-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1627
1628         * gnus-util.el (gnus-string-match-p): New function, that is an alias to
1629         string-match-p in Emacs >=23.
1630
1631         * gnus-msg.el (gnus-configure-posting-styles)
1632         * nnir.el (nnir-run-gmane): Use gnus-string-match-p.
1633
1634 2010-11-01  Glenn Morris  <rgm@gnu.org>
1635
1636         * nnir.el (declare-function): Add compat stub.
1637         (mm-url-insert, mm-url-encode-www-form-urlencoded): Declare.
1638         (nnir-run-gmane): Require 'mm-url.
1639
1640         * mm-util.el (mm-string-to-multibyte): Simplify.
1641
1642         * shr.el (declare-function): Add compat stub.
1643         (url-cache-create-filename): Declare.
1644         (mm-disable-multibyte, widget-convert-button): Autoload.
1645
1646         * smime.el (ldap-search): Declare.
1647         (smime-cert-by-ldap-1): Require ldap on Emacs.
1648
1649         * nnimap.el: Require nnmail, and gnus-sum when compiling.
1650         (nnimap-keepalive): Use gnus-float-time.
1651
1652         * mail-source.el (nnheader-message, gnus-float-time): Autoload.
1653         (mail-source-delete-crash-box): Use gnus-float-time.
1654
1655         * gnus-dired.el (gnus-completing-read): Autoload.
1656
1657         * mm-view.el (gnus-rescale-image): Autoload.
1658
1659         * mm-decode.el (gnus-completing-read, gnus-blocked-images): Autoload.
1660
1661         * gnus.el (gnus-sloppily-equal-method-parameters): Move defn before use.
1662
1663         * sieve-manage.el: Require 'cl when compiling.
1664
1665         * gnus-util.el (iswitchb-read-buffer): Declare rather than autoload.
1666         (gnus-iswitchb-completing-read): Require iswitchb.
1667         (gnus-select-frame-set-input-focus): Silence compiler.
1668
1669 2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1670
1671         * message.el (message-subject-trailing-was-query): Change default to t,
1672         since I think that's what most people want.
1673
1674         * nnimap.el (nnimap-request-accept-article): Erase buffer before
1675         appending for easier debugging.
1676         (nnimap-wait-for-connection): Take a regexp.
1677         (nnimap-request-accept-article): Wait for the continuation line before
1678         sending anything unless we're streaming.
1679
1680         * gnus-art.el (gnus-treat-article): Only inhibit body washing, and
1681         leave the header washing to take place.
1682
1683 2010-10-31  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
1684
1685         * gnus-msg.el (gnus-configure-posting-styles): Permit the use of
1686         regular expression match and replace in posting styles.
1687
1688 2010-10-31  Andrew Cohen  <cohen@andy.bu.edu>
1689
1690         * nnir.el (gnus-group-make-nnir-group,nnir-run-query): Allow searching
1691         an entire server.
1692         (nnir-get-active): New function.
1693         (nnir-run-imap): Use it.
1694         (nnir-run-gmane): Who knew, gmane search returns an article score!
1695
1696         * gnus-srvr.el (gnus-server-mode-map): Add binding "G" to search the
1697         server on the current line with nnir.
1698
1699 2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1700
1701         * gnus-cite.el (gnus-article-foldable-buffer): Refactor out.
1702         (gnus-article-foldable-buffer): Don't fold regions that have a ragged
1703         left edge.
1704         (gnus-article-foldable-buffer): Skip past the prefix when determining
1705         raggedness.
1706
1707         * gnus-sum.el (gnus-summary-show-article): Add `C-u C-u g' for showing
1708         the raw article, and change `C-u g' to show the article without doing
1709         treatments.
1710
1711         * gnus-art.el (gnus-mime-display-alternative): Actually pass the type
1712         on to `gnus-treat-article'.
1713         (gnus-inhibit-article-treatments): New variable.
1714
1715         * gnus.el: Autoload gnus-article-fill-cited-long-lines.
1716
1717         * gnus-art.el (gnus-treatment-function-alist): Have
1718         gnus-treat-fill-long-lines point to gnus-article-fill-cited-long-lines.
1719         (gnus-treat-fill-long-lines): Change default to fill all text/plain
1720         sections.
1721
1722         * gnus-cite.el (gnus-article-fill-cited-article): Remove unused `force'
1723         parameter.
1724         (gnus-article-fill-cited-long-lines): New function.
1725         (gnus-article-fill-cited-article): Allow filling only long sections.
1726
1727         * shr.el (shr-find-fill-point): Don't break lines between punctuation
1728         and non-punctuation (like after the apostrophe in "'We").
1729
1730         * gnus-sum.el (gnus-summary-select-article): Make sure
1731         gnus-original-article-buffer is alive.
1732
1733         * nndoc.el (nndoc-dissect-buffer): Reverse the order of the articles to
1734         reflect the order they're in in the digest.
1735
1736         * gnus.el (gnus-group-startup-message): Move point to the start of the
1737         buffer.
1738
1739         * nnimap.el (nnimap-capability): New function.
1740         (nnimap-open-connection): Only send AUTHENTICATE PLAIN if LOGINDISABLED
1741         is set.
1742
1743 2010-10-31  David Engster  <dengste@eml.cc>
1744
1745         * nnmairix.el (nnmairix-get-valid-servers): Return list of strings to
1746         conform with changes to gnus-completing-read.
1747
1748 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1749
1750         * shr.el (shr-tag-img): Output "*" instead of "[img]".
1751
1752 2010-10-30  Andrew Cohen  <cohen@andy.bu.edu>
1753
1754         * nnir.el: Move defvar, defcustom around to keep file organized
1755         and keep byte-compiler quiet.
1756         (nnir-read-parms): Accept search-engine as arg.
1757         (nnir-run-query): Pass search-engine as arg.
1758         (nnir-search-engine): Remove.
1759
1760 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1761
1762         * shr.el (shr-generic): The text nodes should be text, not :text.
1763
1764         * nnir.el (nnir-search-engine): Ressurect variable, since it's used
1765         later in the file.
1766
1767 2010-10-30  Andrew Cohen  <cohen@andy.bu.edu>
1768
1769         * nnir.el: General clean up.  Allow searching with multiple engines.
1770         Allow separate extra-parameters for each engine.
1771         Batch queries when possible.
1772         (nnir-imap-default-search-key,nnir-method-default-engines):
1773         Add customize interface.
1774         (nnir-run-gmane): New engine.
1775         (nnir-engines): Use it.  Qualify all prompts with engine name.
1776         (nnir-search-engine): Remove global variable.
1777         (nnir-run-hyrex): Restore for now.
1778         (nnir-extra-parms,nnir-search-history): New variables.
1779         (gnus-group-make-nnir-group): Use them.
1780         (nnir-group-server): Remove in favor of gnus-group-server.
1781         (nnir-request-group): Avoid searching twice.
1782         (nnir-sort-groups-by-server): New function.
1783
1784 2010-10-30  Julien Danjou  <julien@danjou.info>
1785
1786         * gnus-group.el: Remove gnus-group-fetch-control.
1787
1788         * gnus-start.el (gnus-find-new-newsgroups):
1789         Remove gnus-check-first-time-used.
1790
1791         * gnus.el: Remove gnus-backup-default-subscribed-newsgroups.
1792
1793 2010-10-30  Knut Anders Hatlen  <kahatlen@gmail.com>  (tiny change)
1794
1795         * nnimap.el (nnimap-update-info): Allow 'ticked and other flags to be
1796         set on groups that don't have \* permanentflags.
1797
1798 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1799
1800         * shr.el (shr-tag-span): Drop colorisation of regions since we don't
1801         control the background color.
1802         (shr-tag-img): Ignore very small web bug type images.
1803         (shr-put-image): Add help-echo alt texts to the images.
1804         (shr-tag-video): Show the video poster image.
1805
1806 2010-10-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1807
1808         * shr.el (shr-table-depth): New variable.
1809         (shr-tag-table-1): Only insert the images after the top-level table.
1810
1811         * nnimap.el (nnimap-split-incoming-mail): Fix typo.
1812
1813         * gnus-util.el (gnus-list-memq-of-list): New function.
1814
1815         * nnimap.el (nnimap-split-incoming-mail): Note that the INBOX has been
1816         selected.
1817         (nnimap-unsplittable-articles): New slot.
1818         (nnimap-new-articles): Use it.
1819
1820 2010-10-29  Stephen Berman  <stephen.berman@gmx.net>  (tiny change)
1821
1822         * gnus-group.el (gnus-group-get-new-news-this-group): Don't have point
1823         move to the previous line on `M-g'.
1824
1825 2010-10-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1826
1827         * gnus-msg.el (gnus-inews-do-gcc): Don't have the backends do the slow
1828         *-request-group, which seems unnecessary.
1829
1830         * nnimap.el (nnimap-quote-specials): Function copied over from
1831         imap.el.
1832         (nnimap-open-connection): Use AUTHENTICATE PLAIN on servers that say
1833         they support that.  Suggested by Tom Regner.
1834
1835 2010-10-29  Julien Danjou  <julien@danjou.info>
1836
1837         * gnus-sum.el (gnus-summary-delete-marked-as-read): Remove obsolete
1838         defalias.
1839         (gnus-summary-delete-marked-with): Remove obsolete defalias.
1840
1841         * gnus.el: Remove `gnus-nntp-service' variable.
1842         (gnus-secondary-servers): Make obsolete.
1843         (gnus-nntp-server): Make obsolete.
1844
1845         * gnus-start.el (gnus-1): Remove x-splash calls.
1846
1847         * gnus-ems.el (gnus-x-splash): Remove.
1848
1849         * gnus.el (gnus-group-startup-message): Simplify/update code.
1850
1851         * gnus-xmas.el (gnus-xmas-define): Remove unused gnus-characterp
1852         definition.
1853
1854         * gnus-group.el (gnus-group-make-tool-bar): Check for display graphic
1855         capability before doing anything.
1856         (gnus-group-insert-group-line): Remove useless
1857         gnus-group-remove-excess-properties.
1858
1859 2010-10-29  Katsumi Yamaoka  <yamaoka@jpl.org>
1860
1861         * gnus-art.el (gnus-article-goto-part): Work for article narrowed by ^L.
1862
1863 2010-10-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1864
1865         * gnus-sum.el (gnus-summary-rescan-group): Try to restore the window
1866         config after reselecting.
1867
1868 2010-10-28  Julien Danjou  <julien@danjou.info>
1869
1870         * shr.el (shr-put-image): Use point even if only inserting text.
1871         (shr-put-image): Save excursion when inserting alt text on non-graphic
1872         display, so the behaviour is the same when we are on a graphic display.
1873
1874         * nnir.el (nnir-run-swish-e): Remove hyrex support.
1875
1876 2010-10-28  Katsumi Yamaoka  <yamaoka@jpl.org>
1877
1878         * gnus-art.el (gnus-article-jump-to-part): Error on no part; fix prompt.
1879         (gnus-mime-copy-part): Check coding system, not charset.
1880         (gnus-mime-view-part-externally): Never remove part.
1881         (gnus-mime-view-part-internally): Don't remove part here.
1882         (gnus-article-part-wrapper): Make sure MIME tag is visible.
1883         (gnus-article-goto-part): Go to displayed or preferred subpart if it is
1884         multipart/alternative.
1885
1886         * mm-decode.el (mm-display-part): Take optional arg `force'.
1887
1888 2010-10-26  Julien Danjou  <julien@danjou.info>
1889
1890         * gnus-group.el (gnus-group-default-list-level): Add this function to
1891         compute the default list level.
1892         (gnus-group-default-list-level): Add possibility to use a function.
1893
1894 2010-10-27  Katsumi Yamaoka  <yamaoka@jpl.org>
1895
1896         * mm-decode.el (mm-shr): Add undisplayer to MIME handle.
1897
1898         * gnus-group.el (gnus-group-completing-read)
1899         (gnus-read-ephemeral-bug-group): Replace replace-regexp-in-string with
1900         gnus-replace-in-string.
1901
1902 2010-10-26  Katsumi Yamaoka  <yamaoka@jpl.org>
1903
1904         * shr.el (shr-tag-div): Add.
1905
1906         * lpath.el: Fbind current-idle-time for XEmacs 21.4 and SXEmacs 22.1.
1907
1908 2010-10-25  Julien Danjou  <julien@danjou.info>
1909
1910         * gnus-util.el: Remove `gnus-with-local-quit'.
1911
1912         * gnus-demon.el (gnus-demon-init): Use run-with-idle-timer function.
1913
1914 2010-10-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1915
1916         * gnus-sum.el (gnus-summary-select-article): Fix type error in checking
1917         the original article buffer.
1918
1919 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1920
1921         * nnimap.el (nnimap-request-head): New function.
1922         (nnimap-request-move-article): Try to be slighly faster by not
1923         requesting the entire message when moving.
1924         (nnimap-transform-headers): Don't bug out on bodiless articles.
1925         (nnimap-send-command): Have no outstanding messages if the IMAP server
1926         doesn't support streaming.
1927         (nnimap-transform-headers): Fold {quoted} strings more sloppily.
1928
1929 2010-10-24  Julien Danjou  <julien@danjou.info>
1930
1931         * message.el (message-default-headers): Fix type.
1932
1933 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1934
1935         * gnus-html.el (gnus-html-prefetch-images): Decode entities before
1936         prefetching images.
1937
1938         * gnus-sum.el (gnus-group-make-articles-read): Propagate marks to the
1939         backend for unknown groups.  This is mainly useful for nnimap groups.
1940
1941         * gnus-agent.el (gnus-agent-fetch-group): Don't download stuff if the
1942         group isn't covered by the agent.
1943
1944 2010-10-22  Andrew Cohen  <cohen@andy.bu.edu>
1945
1946         * nnir.el (nnir-method-default-engines): New variable.
1947         (nnir-run-query): Use it.
1948         (nnir-group-mode-hook): Remove key binding and move to gnus-group.el.
1949         (gnus-summary-nnir-goto-thread): Change group if needed.
1950
1951         * gnus-group.el (gnus-group-group-map): Add key binding for
1952         gnus-group-make-nnir-group.
1953
1954 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1955
1956         * shr.el (shr-tag-object): Add.
1957
1958         * gnus-sum.el (gnus-summary-select-article): Make sure we have the
1959         original article buffer live.
1960         (gnus-summary-select-article-buffer):
1961         Mention gnus-widen-article-buffer.
1962
1963 2010-10-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1964
1965         * shr.el (shr-tag-strong): Add.
1966
1967 2010-10-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1968
1969         * gnus-group.el (gnus-group-completing-read): Remove all newlines from
1970         group names.  They mess up the group buffer badly.
1971
1972         * shr.el (shr-tag-img): Don't bug out on images that don't have a SRC.
1973
1974         * gnus-group.el (gnus-group-mark-group): Use gnus-group-position-point
1975         instead of the summary one.
1976
1977 2010-10-22  Katsumi Yamaoka  <yamaoka@jpl.org>
1978
1979         * mml.el (mml-preview): Work properly when editing article.
1980
1981         * gnus-start.el (gnus-read-active-file-1): Don't add method to
1982         gnus-have-read-active-file if it's already been in.
1983
1984 2010-10-22  Tom Tromey  <tromey@redhat.com>
1985
1986         * gnus-group.el (gnus-group-unsubscribe-group): Fix args passed to
1987         gnus-group-completing-read.
1988
1989 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1990
1991         * message.el (message-mode-map): Don't bind M-; to comment region, to
1992         allow the global comment-dwim to work.
1993
1994 2010-10-21  Julien Danjou  <julien@danjou.info>
1995
1996         * message.el (message-setup-1): Allow message-default-headers to be a
1997         function.
1998
1999 2010-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
2000
2001         * shr.el (shr-tag-table): Simplify.
2002
2003 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2004
2005         * gnus-html.el (gnus-html-prefetch-images): Only prefetch http images
2006         to avoid trying to snarf invalid stuff.
2007
2008         * gnus-sum.el (gnus-summary-edit-article-done): Bind free variable.
2009
2010         * gnus.el (gnus-message-archive-group): Quote value.
2011         (gnus-message-archive-group): Mark as changed.
2012
2013         * shr.el (shr-add-font): Don't put the font properties on the newline
2014         or the indentation.
2015
2016         * message.el (message-fix-before-sending): Change options when sending
2017         non-printable characters.
2018
2019         * gnus.el (gnus-message-archive-method): Change the default to
2020         monthly outgoing groups.
2021
2022         * gnus-sum.el (gnus-summary-edit-article-done): Try to replace articles
2023         that have gotten new numbers.
2024
2025         * nnimap.el (nnimap-request-replace-article): New function.
2026
2027 2010-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
2028
2029         * nnrss.el (nnrss-wash-html-in-text-plain-parts): Remove.
2030         (nnrss-request-article): Don't use special html washing code.
2031
2032 2010-10-20  Katsumi Yamaoka  <yamaoka@jpl.org>
2033
2034         * shr.el (shr-tag-table): Remove useless nconc.
2035
2036 2010-10-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2037
2038         * gnus-art.el (article-wash-html): Simplify and remove the charset
2039         stuff.  Use the normal html rendering code instead of the special html
2040         washing code.
2041
2042         * mm-view.el (mm-text-html-renderer-alist): Add the `shr' and
2043         `gnus-w3m' symbols.
2044         (mm-text-html-washer-alist): Remove.
2045
2046         * mm-decode.el (mm-inline-text-html-renderer): Remove.
2047         (mm-inline-media-tests): Remove use.
2048         (mm-text-html-renderer): Change default to the `shr' symbol.
2049
2050         * mm-view.el (mm-inline-text-html): Remove use.
2051
2052         * gnus-art.el (gnus-blocked-images): New function.  Allow the
2053         `gnus-blocked-images' to be a function.
2054         (gnus-article-wash-function): Remove.
2055
2056 2010-10-20  Julien Danjou  <julien@danjou.info>
2057
2058         * spam.el (spam-list-of-processors): Mark as obsolete.
2059
2060         * nnimap.el (nnimap-request-article): Fix BODYSTRUCTURE retrieval.
2061         (nnimap-insert-partial-structure): Fix boundary detection.
2062
2063 2010-10-20  Andreas Seltenreich  <seltenreich@gmx.de>
2064
2065         * gnus-draft.el (gnus-draft-check-draft-articles): Don't unnecessarily
2066         run file-truename on remote files.  This can be expensive and even
2067         prevent one from editing drafts if some unrelated buffer has a stale
2068         connection.
2069
2070 2010-10-20  Katsumi Yamaoka  <yamaoka@jpl.org>
2071
2072         * shr.el (shr-find-fill-point): Shorten line if the preceding char is
2073         kinsoku-eol regardless of shr-kinsoku-shorten.
2074         (shr-tag-table-1): Rename from shr-tag-table; make it a subroutine.
2075         (shr-tag-table): Support caption, thead, and tfoot.
2076
2077 2010-10-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2078
2079         * shr.el (shr-find-fill-point): Don't leave blanks at the start of some
2080         lines.
2081         (shr-save-contents): New command and keystroke.
2082
2083         * nndoc.el (nndoc-type-alist): Add git support.
2084         (nndoc-git-type-p): New function.
2085         (nndoc-transform-git-article): Ditto.
2086         (nndoc-transform-git-headers): Ditto.
2087         (nndoc-transform-git-headers): Generate Subject headers.
2088
2089         * shr.el (shr-parse-style): New function.
2090         (shr-tag-span): Ditto.
2091
2092         * nnmairix.el (nnmairix-summary-mode-hook): Move nnmairix's `$' command
2093         to `G G' to avoid collisions.
2094
2095 2010-10-19  Katsumi Yamaoka  <yamaoka@jpl.org>
2096
2097         * shr.el: Load kinsoku if necessary.
2098         (shr-kinsoku-shorten): New internal variable.
2099         (shr-find-fill-point): Make kinsoku shorten text line if
2100         shr-kinsoku-shorten is bound to non-nil.
2101         (shr-tag-table): Bild shr-kinsoku-shorten to t; refer to
2102         shr-indentation too when testing if table is wider than frame width.
2103         (shr-insert-table): Use `string-width' instead of `length' to measure
2104         text width.
2105         (shr-insert-table-ruler): Make sure indentation is done at bol.
2106
2107 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2108
2109         * nnimap.el (nnimap-request-move-article, nnimap-parse-line)
2110         (nnimap-process-expiry-targets): Use unibyte for buffers that hold
2111         undecoded network data.
2112
2113 2010-10-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2114
2115         * gnus-agent.el (gnus-agent-toggle-plugged): Use the right minor mode
2116         name in the mode line spec so that the mode line menu works
2117         (bug #2431).
2118
2119         * message.el (message-get-reply-headers): If we're fed `to-address',
2120         then always use that.
2121
2122         * gnus-art.el (gnus-article-make-menu-bar): The article/group menus
2123         aren't so wide as to need to switch off the edit menu.
2124
2125         * gnus-delay.el (gnus-delay-article): Remove superfluous `group'
2126         binding.  Suggested by Leo <sdl.web@gmail.com> (bug #6613).
2127
2128         * nnimap.el (nnimap-request-group): Don't SELECT the group twice on
2129         `M-g'.
2130         (nnimap-update-info): Update flags/read marks even if \* isn't part of
2131         the permanent marks.
2132
2133 2010-10-18  Andrew Cohen  <cohen@andy.bu.edu>
2134
2135         * gnus-registry.el (gnus-registry-split-fancy-with-parent):
2136         Splitting according to references/in-reply-to obeys the ignore-groups
2137         variable, while splitting by sender and subject do not.
2138
2139 2010-10-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2140
2141         * gnus-art.el (gnus-article-dumbquotes-map): Make into a char/string
2142         alist, so that we can look for non-Unicode chars.
2143         (article-translate-strings): Allow both character and string maps.
2144
2145 2010-10-18  Katsumi Yamaoka  <yamaoka@jpl.org>
2146
2147         * shr.el (shr-insert): Don't insert space behind a wide character
2148         categorized as kinsoku-bol, or between characters both categorized as
2149         nospace.
2150
2151 2010-10-16  Andrew Cohen  <cohen@andy.bu.edu>
2152
2153         * gnus-sum.el (gnus-summary-refer-thread): Bug fix.  Add the thread
2154         headers to gnus-newsgroup-headers.
2155
2156 2010-10-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2157
2158         * shr.el (shr-tag-img): Don't align images -- since we're not
2159         rescaling, this often leads to ugly displays.
2160
2161 2010-10-15  Andrew Cohen  <cohen@andy.bu.edu>
2162
2163         * gnus-sum.el (gnus-summary-refer-thread): Unconditionally ignore
2164         duplicates.
2165
2166 2010-10-15  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
2167
2168         * gnus-diary.el (gnus-diary-check-message): Fix gnus-completing-read
2169         call.
2170
2171 2010-10-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2172
2173         * gnus.el: Autoload gnus-html-show-images.
2174
2175         * nnimap.el: Use nnheader-message throughout.
2176
2177         * shr.el (shr-tag-img): Ignore images with no data.
2178
2179 2010-10-15  Julien Danjou  <julien@danjou.info>
2180
2181         * mml.el (mml-generate-mime-1): Add `mml-enable-flowed' variable to add
2182         a possibility to disable format=flow encoding when using hard newlines.
2183
2184 2010-10-15  Katsumi Yamaoka  <yamaoka@jpl.org>
2185
2186         * shr.el (shr-insert): Remove space inserted before or after a
2187         breakable character or at the beginning or the end of a line.
2188         (shr-find-fill-point): Do kinsoku; find the second best point or give
2189         it up if there's no breakable point.
2190
2191 2010-10-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2192
2193         * nnimap.el (nnimap-open-connection): Message when opening connection
2194         for debugging purposes.
2195
2196         * gnus-art.el (gnus-article-setup-buffer): Set article mode truncation
2197         on every setup buffer call to allow this to change from article to
2198         article.
2199
2200         * shr.el (shr-tag-table): Experimental feature: Truncate lines in
2201         buffers where we have a wide table.
2202
2203 2010-10-14  Andrew Cohen  <cohen@andy.bu.edu>
2204
2205         * gnus-sum.el (gnus-summary-refer-thread): Implement a version that
2206         uses *-request-thread.
2207
2208 2010-10-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2209
2210         * nnimap.el (nnimap-open-connection): Remove %s from openssl
2211         incantation, which is no longer valid.
2212
2213 2010-10-14  Julien Danjou  <julien@danjou.info>
2214
2215         * shr.el: Fix defcustom type (char -> character).
2216
2217 2010-10-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2218
2219         * nnimap.el (nnimap-open-connection): tls-program should be a list of
2220         programs.
2221
2222 2010-10-14  Julien Danjou  <julien@danjou.info>
2223
2224         * shr.el (shr-tag-a): Use url-link as widget type.
2225
2226         * gnus-group.el (gnus-group-insert-group-line): Fix group argument to
2227         `gnus-group-get-icon'.
2228
2229 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2230
2231         * nnimap.el (nnimap-close-server): Forget the nnimap data on close.
2232         This should make server editing work better.
2233
2234         * shr.el (shr-find-fill-point): Don't inloop on indented text.
2235
2236         * tls.el (tls-program): Remove spurious %s from openssl.
2237
2238         * nnimap.el (nnimap-open-connection): Fix open-tls-stream call.
2239         (nnimap-parse-flags): Fix regexp.
2240
2241         * shr.el (shr-find-fill-point): Use a filling algorithm that should
2242         probably work for CJVK text, too.
2243
2244         * nnimap.el (nnimap-extend-tls-programs): Remove.
2245         (nnimap-open-connection): Bind STARTTLS to openssl explicitly.
2246
2247         * tls.el (tls-starttls-switches): Remove starttls hack.
2248         (open-tls-stream): Ditto.
2249         (tls-find-starttls-argument): Ditto.
2250
2251 2010-10-13  Julien Danjou  <julien@danjou.info>
2252
2253         * nnimap.el (nnimap-parse-flags): Be more strict when looking for FETCH
2254         responses.
2255
2256 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2257
2258         * mm-decode.el (mm-shr): Allow use from non-Gnus users.
2259
2260         * gnus-spec.el (gnus-parse-simple-format): princ doesn't really insert
2261         anything in Emacs.
2262
2263         * shr.el (shr-current-column): Remove buggy and unnecessary function.
2264
2265 2010-10-13  Julien Danjou  <julien@danjou.info>
2266
2267         * shr.el (shr-width): Make shr-width a defcustom with default to
2268         fill-column.
2269         (shr-tag-img): Use shr-width rather than fill-column.
2270
2271 2010-10-13  Katsumi Yamaoka  <yamaoka@jpl.org>
2272
2273         * dgnushack.el (byte-optimize-apply)
2274         * gnus-dired.el (gnus-dired-attach): Silence XEmacs 21.5 when compiling.
2275
2276         * gnus-gravatar.el (gnus-gravatar-transform-address): Adjust avatars'
2277         position when (X-)Faces exist.
2278         (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Force displaying
2279         avatars when called interactively.
2280
2281 2010-10-12  Katsumi Yamaoka  <yamaoka@jpl.org>
2282
2283         * gnus-gravatar.el (gnus-gravatar-too-ugly): Don't test if
2284         gnus-article-x-face-too-ugly is bound.
2285
2286 2010-10-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2287
2288         * rfc2231.el (rfc2231-parse-string): Ignore repeated parts.
2289
2290         * nnimap.el (nnimap-request-rename-group): Unselect by selecting a
2291         mailbox that doesn't exist.
2292
2293 2010-10-12  Julien Danjou  <julien@danjou.info>
2294
2295         * shr.el (shr-tag-img): Encode URL properly when retrieving.
2296         (shr-get-image-data): Encode URL properly when fetching from cache.
2297         (shr-tag-img): Use aligned-to spaces to align correctly images.
2298
2299         * gnus-gravatar.el (gnus-gravatar-insert): Check if buffer is alive
2300         before inserting the Gravatar.
2301
2302         * shr.el (shr-tag-img): Add align attribute support for <img>.
2303
2304 2010-10-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2305
2306         * gnus-gravatar.el (gnus-art): Require.
2307
2308         * gnus-sum.el (gnus-summary-mark-as-unread-forward)
2309         (gnus-summary-mark-as-unread-backward, gnus-summary-mark-as-unread):
2310         Remove long obsoleted functions.
2311
2312 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
2313
2314         * lpath.el: Fbind gnutls-negotiate for Emacs 22 and XEmacsen.
2315
2316         * nnimap.el (gnutls-negotiate): Silence the byte compiler.
2317
2318         * gnus-art.el, gnus-cache.el, gnus-fun.el, gnus-group.el:
2319         * gnus-picon.el, gnus-spec.el, gnus-sum.el, gnus-util.el, gnus.el:
2320         * hashcash.el, imap.el, mail-source.el, message.el, mm-bodies.el:
2321         * mm-decode.el, mm-extern.el, mm-util.el, mm-view.el, mml-smime.el:
2322         * mml.el, mml1991.el, mml2015.el, nnfolder.el, nnheader.el, nnmail.el:
2323         * nnmaildir.el, nnrss.el, nntp.el, pgg-parse.el, pgg.el, rfc1843.el:
2324         * sieve-manage.el, smime.el, spam.el:
2325         Fix comment for declare-function.
2326
2327 2010-10-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2328
2329         * nnimap.el (nnimap-request-rename-group): Select group read-only
2330         before renaming it.
2331
2332         * shr.el (shr-insert): Fix up the white space only regexp.
2333
2334         * nnimap.el (nnimap-transform-split-mail): Not all articles have
2335         bodies.  Protect against this.  Reported by Michael Welsh Duggan.
2336
2337         * shr.el (shr-current-column): New function.
2338         (shr-find-fill-point): New function.
2339
2340 2010-10-11  Michael Welsh Duggan  <md5i@md5i.com>  (tiny change)
2341
2342         * sieve-manage.el (sieve-manage-open): Allow port names as well as port
2343         numbers.
2344
2345 2010-10-11  Julien Danjou  <julien@danjou.info>
2346
2347         * shr.el (shr-hr-line): Add.
2348         (shr-tag-hr): Use shr-hr-line to specify which character to use to
2349         display hr lines.
2350         (shr-max-columns): Do not change state to nil if we just inserting
2351         spaces.
2352
2353 2010-10-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2354
2355         * gnus-topic.el (gnus-topic-read-group): If after the last group,
2356         select the last group.
2357
2358 2010-10-11  Teodor Zlatanov  <tzz@lifelogs.com>
2359
2360         * gnus-int.el (gnus-run-hook-with-args): Autoload from gnus-util.el.
2361
2362 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
2363
2364         * dig.el (dig-mode-map): Declare and define in one step.
2365
2366 2010-10-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2367
2368         * nnimap.el (nnimap-update-qresync-info): \Flagged messages are read
2369         for Gnus.
2370         (nnimap-retrieve-group-data-early): utf7-encode the group parameters.
2371         (nnimap-update-qresync-info): Mark \Seen articles as read.
2372
2373         * gnus-sum.el (gnus-summary-set-local-parameters): Ignore the `active'
2374         non-variable, too.
2375
2376         * nnimap.el (nnimap-open-connection): Use gnutls STARTTLS, if
2377         available.
2378         (nnimap-update-info): Rely more on the current active than the param
2379         active to avoid marking articles as read too much.
2380
2381         * auth-source.el (auth-source-create): Use (user-login-name) for the
2382         user name default.
2383
2384         * nnimap.el (nnimap-update-info): If the server doesn't return any
2385         useful info, just use the previous info.
2386         (nnimap-update-info): Prefer old info over start-article.
2387         (nnimap-update-qresync-info): Finish implementing QRESYNC.
2388
2389 2010-10-10  Andrew Cohen  <cohen@andy.bu.edu>
2390
2391         * nnir.el (autoload): Clean up autoloads.
2392         (nnir-imap-default-search-key): Rename from nnir-imap-search-field.
2393         Use key rather than value.
2394         (nnir-imap-search-other): New variable.
2395         (nnir-read-parm): Use it.
2396         (nnir-imap-expr-to-imap): Use %S rather than imap-quote-specials.
2397         (gnus-summary-nnir-goto-thread): Modify to work with imap.
2398
2399 2010-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2400
2401         * nnimap.el (nnimap-wait-for-response): If the user hits `C-g', kill
2402         the process, too.
2403
2404 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2405
2406         * spam.el (gnus-summary-mode-map): Bind to "$".
2407         Suggested by Russ Allbery.
2408
2409         * shr.el: Rework the way things are indented by <li> slightly.
2410
2411         * gnus.el (gnus-group-set-parameter): Fix typo.
2412
2413         * nnimap.el: Start implementing QRESYNC support.
2414
2415 2010-10-09  Julien Danjou  <julien@danjou.info>
2416
2417         * nnir.el (nnir-engines): Fix too many arguments.
2418
2419 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2420
2421         * nnmail.el (nnmail-expiry-target-group): Say that every expiry target
2422         group is the "last", so that the backends like nnfolder actually save
2423         their folders.
2424
2425         * nnimap.el (nnimap-open-connection): If we have gnutls loaded, then
2426         try to use that for the tls stream.
2427         (nnimap-retrieve-group-data-early): Rework the marks code to heed
2428         UIDVALIDITY and find out which groups are read-only and not.
2429         (nnimap-get-flags): Use the same marks parsing code as the rest of
2430         nnimap.
2431
2432 2010-10-09  Julien Danjou  <julien@danjou.info>
2433
2434         * nnir.el (nnir-read-parm): Fix call to gnus-completing-read.
2435
2436         * gnus-gravatar.el (gnus-gravatar-transform-address): Error errors when
2437         retrieving gravatars.
2438
2439         * shr.el (shr-table-corner): Add.
2440         (shr-table-line): Add.
2441         (shr-insert-table-ruler): Use the above defcustoms to insert tables.
2442
2443 2010-10-08  Julien Danjou  <julien@danjou.info>
2444
2445         * mm-decode.el (mm-text-html-renderer): Add mm-shr in choice list.
2446
2447 2010-10-08  Teodor Zlatanov  <tzz@lifelogs.com>
2448
2449         * gnus-util.el (gnus-alist-pull): Rename `gnus-pull'.
2450
2451         * gnus-sum.el (gnus-mark-article-as-unread)
2452         (gnus-summary-mark-article-as-unread, gnus-summary-remove-bookmark)
2453         (gnus-summary-set-bookmark): Use it.
2454
2455         * gnus-msg.el (gnus-setup-message): Use it.
2456
2457         * gnus-demon.el (gnus-demon-remove-handler): Use it.
2458
2459         * gnus.el (gnus-group-remove-parameter): Use it.
2460
2461         * gnus-group.el (gnus-group-make-web-group): Use it.
2462
2463         * gnus-demon.el (gnus-demon-remove-handler): Use it.
2464
2465         * nnregistry.el: Update docs to mention manual.
2466
2467         * gnus-registry.el: Update docs to mention nnregistry.el.
2468         (gnus-registry-initialize): Don't install nnregistry refer method
2469         automatically.
2470         (gnus-registry-install-nnregistry): Remove it.
2471
2472 2010-10-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2473
2474         * shr.el (shr-insert): Don't insert double spaces.
2475
2476 2010-10-08  Katsumi Yamaoka  <yamaoka@jpl.org>
2477
2478         * gnus-gravatar.el (gnus-treat-from-gravatar)
2479         (gnus-treat-mail-gravatar): Bind gnus-gravatar-too-ugly to nil when
2480         called interactively.
2481
2482         * gnus-art.el (gnus-mime-view-part-externally)
2483         (gnus-mime-view-part-internally): Make predicate function passed to
2484         gnus-mime-view-part-as-type assume argument is a mime type, not a list
2485         of a mime type.
2486
2487         * shr.el (shr-table-widths): Don't use cl function `reduce'.
2488
2489 2010-10-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2490
2491         * shr.el (require): Require cl when compiling.
2492         (shr-tag-hr): New function.
2493
2494         * nnimap.el (nnimap-update-info): Remove double setting of high.
2495         (nnimap-update-info): Don't ignore groups that have no UIDNEXT.
2496         This makes nnimap work properly on Courier again.
2497
2498         * gnus.el (gnus-carpal): The carpal mode has been removed, but define
2499         the variable for backwards compatability.
2500
2501         * mm-decode.el (mm-save-part): If given a non-directory result, expand
2502         the file name before using to avoid setting mm-default-directory to
2503         nil.
2504
2505         * gnus-start.el (gnus-get-unread-articles): Require gnus-agent before
2506         bidning gnus-agent variables.
2507
2508         * shr.el (shr-render-td): Use a cache for the table rendering function
2509         to avoid getting an exponential rendering behaviour in nested tables.
2510         (shr-insert): Rework the line-breaking algorithm.
2511         (shr-insert): Don't leave trailing spaces.
2512         (shr-insert-table): Also insert empty TDs.
2513         (shr-tag-blockquote): Ensure paragraphs after </ul>.
2514
2515 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2516
2517         * gnus-sum.el (gnus-number): Rename from `number'.
2518         (gnus-article-marked-p, gnus-summary-limit-to-display-predicate)
2519         (gnus-summary-limit-children): Update uses correspondingly.
2520
2521 2010-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
2522
2523         * gnus-gravatar.el (gnus-gravatar-too-ugly): New user option.
2524         (gnus-gravatar-transform-address): Don't show avatars of people of
2525         which mail addresses match gnus-gravatar-too-ugly.
2526
2527 2010-10-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2528
2529         * shr.el (shr-table-widths): Expand TD elements to fill available
2530         space.
2531
2532 2010-10-07  Julien Danjou  <julien@danjou.info>
2533
2534         * nnimap.el (nnimap-request-rename-group): Add this method.
2535
2536 2010-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
2537
2538         * gnus-html.el (gnus-html-schedule-image-fetching): Remove function
2539         name from XEmacs' function-arglist.
2540
2541         * gnus-gravatar.el (gnus-gravatar-insert): Don't add properties to
2542         gravatar under XEmacs.
2543
2544 2010-10-07  Teodor Zlatanov  <tzz@lifelogs.com>
2545
2546         * auth-source.el: Update docs with TODO items.
2547
2548         * gnus-sync.el: Update docs to explain state and plans.
2549
2550         * gnus-int.el (gnus-after-set-mark-hook, gnus-before-update-mark-hook):
2551         Hooks for mark updates.
2552         (gnus-request-set-mark, gnus-request-update-mark): Use them.
2553
2554         * gnus-util.el (gnus-run-hooks-with-args): Convenience function to run
2555         hooks with arguments, which is needed for mark update hooks.
2556
2557 2010-10-06  Julien Danjou  <julien@danjou.info>
2558
2559         * gnus.el (gnus-expand-group-parameter): Only return and act on what
2560         was matched.
2561
2562         * sieve-manage.el: Update example in `Commentary'.
2563
2564         * sieve.el (sieve-open-server): Use sieve-manage-authenticate.
2565
2566         * sieve-manage.el (sieve-manage-open): Use sieve-manage-default-port,
2567         not 2000.
2568         (sieve-manage-authenticate): Re-add function.
2569
2570 2010-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2571
2572         * shr.el (shr-insert): Get 'space transition right.
2573         (shr-render-td): Only delete space at the end of the TD.
2574
2575         * nnimap.el (nnimap-open-connection): Prepare to support
2576         open-gnutls-stream.
2577
2578         * shr.el: Rearrange function order to be more logical.
2579
2580 2010-10-06  Julien Danjou  <julien@danjou.info>
2581
2582         * nnrss.el (nnrss-check-group): Remove 404 URL in comment.
2583         (nnrss-discover-feed): Remove 404 URL in docstring.
2584
2585         * nnir.el: Fix Swish-E URL.
2586         Fix Namazu URL.
2587
2588         * message.el (message-change-subject): Remove 404 URL in a comment.
2589
2590 2010-10-06  Katsumi Yamaoka  <yamaoka@jpl.org>
2591
2592         * gnus-art.el (gnus-mime-view-part-as-type): Make it work when being
2593         called interactively.
2594
2595         * gnus-util.el (gnus-remove-if): Allow hash table.
2596         (gnus-remove-if-not): New function.
2597
2598         * gnus-art.el (gnus-mime-view-part-as-type)
2599         * gnus-score.el (gnus-summary-score-effect)
2600         * gnus-sum.el (gnus-read-move-group-name):
2601         Replace remove-if-not with gnus-remove-if-not.
2602
2603         * gnus-group.el (gnus-group-completing-read):
2604         Regard collection as a hash table if it is not a list.
2605
2606 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2607
2608         * shr.el (shr-render-td): Allow blank/missing <TD>s.
2609
2610         * shr.el: Document the table-rendering algorithm.
2611
2612 2010-10-05  Katsumi Yamaoka  <yamaoka@jpl.org>
2613
2614         * dgnushack.el (dgnushack-compile): Exclude shr.el from being compiled
2615         for Emacsen having no `libxml-parse-html-region' support.
2616
2617 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2618
2619         * gnus-html.el (gnus-html-schedule-image-fetching): Protect against
2620         invalid URLs.
2621
2622         * shr.el (shr-tag-img): Shorten ALT texts and allow them to be
2623         line-broken.
2624         (shr-tag-img): Ignore image fetching errors.
2625         (shr-overlays-in-region): Compute overlay positions correctly.
2626
2627         * mm-decode.el (mm-shr): Require shr.
2628
2629         * gnus-art.el (gnus-blocked-images): Move variable here.
2630
2631         * shr.el (shr-insert-table): Bind free variable.
2632
2633         * mm-decode.el (mm-shr): Bind shr-content-function.
2634
2635         * shr.el (shr-content-function): New variable.
2636
2637         * gnus-sum.el (gnus-article-sort-by-most-recent-date): New function,
2638         added for symmetry.
2639
2640         * nnir.el (nnir-retrieve-headers): Don't bug out on invalid data.
2641
2642         * gnus-group.el (gnus-group-make-group): Doc fix.
2643
2644         * nnimap.el (nnimap-request-newgroups): Return success.
2645
2646         * shr.el (shr-find-elements): New function.
2647         (shr-tag-table): Put all the images after the table.
2648         (shr-tag-table): Really inhibit images inside the table.
2649         (shr-collect-overlays): Copy over overlays from the TD elements to the
2650         main document.
2651
2652         * mm-decode.el (mm-shr): Bind shr-blocked-images to
2653         gnus-blocked-images.
2654
2655 2010-10-05  Julien Danjou  <julien@danjou.info>
2656
2657         * sieve-manage.el (sieve-sasl-auth): Use auth-source to authenticate.
2658
2659         * gnus-html.el (gnus-html-wash-images): Rescale image from cid too.
2660         (gnus-html-maximum-image-size): Add this function.
2661         (gnus-html-put-image): Use gnus-html-maximum-image-size.
2662
2663         * sieve-manage.el (sieve-manage-capability): Do not bug out when the
2664         server-value of the capability is nil.
2665
2666 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2667
2668         * shr.el (shr-tag-em): Add <EM> tag.
2669
2670 2010-10-05  Florian Ragwitz  <rafl@debian.org>  (tiny change)
2671
2672         * sieve-manage.el (sieve-manage-default-stream): Make default stream
2673         customizable.
2674
2675         * gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid
2676         handing broken links to browse-url.
2677
2678 2010-10-05  Julien Danjou  <julien@danjou.info>
2679
2680         * gnus-util.el (gnus-emacs-completing-read)
2681         (gnus-iswitchb-completing-read): Use autoload rather than require.
2682
2683 2010-10-05  Katsumi Yamaoka  <yamaoka@jpl.org>
2684
2685         * lpath.el: Fbind libxml-parse-html-region and shr-insert-document for
2686         Emacs 22 and XEmacs; fbind help-function-arglist for XEmacs 21.4 and
2687         SXEmacs; fbind ido-completing-read, and bind iswitchb-mode and
2688         iswitchb-temp-buflist for XEmacs.
2689
2690         * gnus-util.el (gnus-completing-read-function): Exclude
2691         gnus-icompleting-read and gnus-ido-completing-read from candidates for
2692         XEmacs since iswitchb.el is very old and ido.el is unavailable in
2693         XEmacs.
2694
2695         * gnus-registry.el (gnus-registry-install-nnregistry): Rewrite so as
2696         not to use `delete-dups' that is unavailable in XEmacs 21.4.
2697
2698         * gnus-html.el: Don't require help-fns under XEmacs.
2699         (gnus-html-schedule-image-fetching): Work for XEmacs.
2700
2701         * mm-decode.el (mm-shr): Decode contents by charset.
2702
2703 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2704
2705         * nnimap.el (nnimap-open-connection): Give an error if nnimap-stream is
2706         unknown.
2707
2708         * shr.el (shr-tag-blockquote): Ensure paragraph after quote, too.
2709         (shr-get-image-data): Ensure against the cache file missing.
2710
<