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