Ignore the `active' non-variable, too.
[gnus] / lisp / ChangeLog
1 2010-10-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2
3         * gnus-sum.el (gnus-summary-set-local-parameters): Ignore the `active'
4         non-variable, too.
5
6         * nnimap.el (nnimap-open-connection): Use gnutls STARTTLS, if
7         available.
8         (nnimap-update-info): Rely more on the current active than the param
9         active to avoid marking articles as read too much.
10
11         * auth-source.el (auth-source-create): Use (user-login-name) for the
12         user name default.
13
14         * nnimap.el (nnimap-update-info): If the server doesn't return any
15         useful info, just use the previous info.
16         (nnimap-update-info): Prefer old info over start-article.
17         (nnimap-update-qresync-info): Finish implementing QRESYNC.
18
19 2010-10-10  Andrew Cohen  <cohen@andy.bu.edu>
20
21         * nnir.el (autoload): Clean up autoloads.
22         (nnir-imap-default-search-key): Renamed from
23         nnir-imap-search-field. Use key rather than value.
24         (nnir-imap-search-other): New variable.
25         (nnir-read-parm): Use it.
26         (nnir-imap-expr-to-imap): Use %S rather than imap-quote-specials.
27         (gnus-summary-nnir-goto-thread): Modify to work with imap.
28
29 2010-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
30
31         * nnimap.el (nnimap-wait-for-response): If the user hits `C-g', kill
32         the process, too.
33
34 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
35
36         * spam.el (gnus-summary-mode-map): Bind to "$".  Suggested by Russ
37         Allbery.
38
39         * shr.el: Rework the way things are indented by <li> slightly.
40
41         * gnus.el (gnus-group-set-parameter): Fix typo.
42
43         * nnimap.el: Start implementing QRESYNC support.
44
45 2010-10-09  Julien Danjou  <julien@danjou.info>
46
47         * nnir.el (nnir-engines): Fix too many arguments.
48
49 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
50
51         * nnmail.el (nnmail-expiry-target-group): Say that every expiry target
52         group is the "last", so that the backends like nnfolder actually save
53         their folders.
54
55         * nnimap.el (nnimap-open-connection): If we have gnutls loaded, then
56         try to use that for the tls stream.
57         (nnimap-retrieve-group-data-early): Rework the marks code to heed
58         UIDVALIDITY and find out which groups are read-only and not.
59         (nnimap-get-flags): Use the same marks parsing code as the rest of
60         nnimap.
61
62 2010-10-09  Julien Danjou  <julien@danjou.info>
63
64         * nnir.el (nnir-read-parm): Fix call to gnus-completing-read.
65
66         * gnus-gravatar.el (gnus-gravatar-transform-address): Error errors when
67         retrieving gravatars.
68
69         * shr.el (shr-table-corner): Add.
70         (shr-table-line): Add.
71         (shr-insert-table-ruler): Use the above defcustoms to insert tables.
72
73 2010-10-08  Julien Danjou  <julien@danjou.info>
74
75         * mm-decode.el (mm-text-html-renderer): Add mm-shr in choice list.
76
77 2010-10-08  Teodor Zlatanov  <tzz@lifelogs.com>
78
79         * gnus-util.el (gnus-alist-pull): Rename `gnus-pull'.
80
81         * gnus-sum.el (gnus-mark-article-as-unread)
82         (gnus-summary-mark-article-as-unread, gnus-summary-remove-bookmark)
83         (gnus-summary-set-bookmark): Use it.
84
85         * gnus-msg.el (gnus-setup-message): Use it.
86
87         * gnus-demon.el (gnus-demon-remove-handler): Use it.
88
89         * gnus.el (gnus-group-remove-parameter): Use it.
90
91         * gnus-group.el (gnus-group-make-web-group): Use it.
92
93         * gnus-demon.el (gnus-demon-remove-handler): Use it.
94
95         * nnregistry.el: Update docs to mention manual.
96
97         * gnus-registry.el: Update docs to mention nnregistry.el.
98         (gnus-registry-initialize): Don't install nnregistry refer method
99         automatically.
100         (gnus-registry-install-nnregistry): Remove it.
101
102 2010-10-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
103
104         * shr.el (shr-insert): Don't insert double spaces.
105
106 2010-10-08  Katsumi Yamaoka  <yamaoka@jpl.org>
107
108         * gnus-gravatar.el (gnus-treat-from-gravatar)
109         (gnus-treat-mail-gravatar): Bind gnus-gravatar-too-ugly to nil when
110         called interactively.
111
112         * gnus-art.el (gnus-mime-view-part-externally)
113         (gnus-mime-view-part-internally): Make predicate function passed to
114         gnus-mime-view-part-as-type assume argument is a mime type, not a list
115         of a mime type.
116
117         * shr.el (shr-table-widths): Don't use cl function `reduce'.
118
119 2010-10-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
120
121         * shr.el (require): Require cl when compiling.
122         (shr-tag-hr): New function.
123
124         * nnimap.el (nnimap-update-info): Remove double setting of high.
125         (nnimap-update-info): Don't ignore groups that have no UIDNEXT.  This
126         makes nnimap work properly on Courier again.
127
128         * gnus.el (gnus-carpal): The carpal mode has been removed, but define
129         the variable for backwards compatability.
130
131         * mm-decode.el (mm-save-part): If given a non-directory result, expand
132         the file name before using to avoid setting mm-default-directory to
133         nil.
134
135         * gnus-start.el (gnus-get-unread-articles): Require gnus-agent before
136         bidning gnus-agent variables.
137
138         * shr.el (shr-render-td): Use a cache for the table rendering function
139         to avoid getting an exponential rendering behaviour in nested tables.
140         (shr-insert): Rework the line-breaking algorithm.
141         (shr-insert): Don't leave trailing spaces.
142         (shr-insert-table): Also insert empty TDs.
143         (shr-tag-blockquote): Ensure paragraphs after </ul>.
144
145 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
146
147         * gnus-sum.el (gnus-number): Rename from `number'.
148         (gnus-article-marked-p, gnus-summary-limit-to-display-predicate)
149         (gnus-summary-limit-children): Update uses correspondingly.
150
151 2010-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
152
153         * gnus-gravatar.el (gnus-gravatar-too-ugly): New user option.
154         (gnus-gravatar-transform-address): Don't show avatars of people of
155         which mail addresses match gnus-gravatar-too-ugly.
156
157 2010-10-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
158
159         * shr.el (shr-table-widths): Expand TD elements to fill available
160         space.
161
162 2010-10-07  Julien Danjou  <julien@danjou.info>
163
164         * nnimap.el (nnimap-request-rename-group): Add this method.
165
166 2010-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
167
168         * gnus-html.el (gnus-html-schedule-image-fetching): Remove function
169         name from XEmacs' function-arglist.
170
171         * gnus-gravatar.el (gnus-gravatar-insert): Don't add properties to
172         gravatar under XEmacs.
173
174 2010-10-07  Teodor Zlatanov  <tzz@lifelogs.com>
175
176         * auth-source.el: Update docs with TODO items.
177
178         * gnus-sync.el: Update docs to explain state and plans.
179
180         * gnus-int.el (gnus-after-set-mark-hook, gnus-before-update-mark-hook):
181         Hooks for mark updates.
182         (gnus-request-set-mark, gnus-request-update-mark): Use them.
183
184         * gnus-util.el (gnus-run-hooks-with-args): Convenience function to run
185         hooks with arguments, which is needed for mark update hooks.
186
187 2010-10-06  Julien Danjou  <julien@danjou.info>
188
189         * gnus.el (gnus-expand-group-parameter): Only return and act on what
190         was matched.
191
192         * sieve-manage.el: Update example in `Commentary'.
193
194         * sieve.el (sieve-open-server): Use sieve-manage-authenticate.
195
196         * sieve-manage.el (sieve-manage-open): Use sieve-manage-default-port,
197         not 2000.
198         (sieve-manage-authenticate): Re-add function.
199
200 2010-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
201
202         * shr.el (shr-insert): Get 'space transition right.
203         (shr-render-td): Only delete space at the end of the TD.
204
205         * nnimap.el (nnimap-open-connection): Prepare to support
206         open-gnutls-stream.
207
208         * shr.el: Rearrange function order to be more logical.
209
210 2010-10-06  Julien Danjou  <julien@danjou.info>
211
212         * nnrss.el (nnrss-check-group): Remove 404 URL in comment.
213         (nnrss-discover-feed): Remove 404 URL in docstring.
214
215         * nnir.el: Fix Swish-E URL.
216         Fix Namazu URL.
217
218         * message.el (message-change-subject): Remove 404 URL in a comment.
219
220 2010-10-06  Katsumi Yamaoka  <yamaoka@jpl.org>
221
222         * gnus-art.el (gnus-mime-view-part-as-type): Make it work when being
223         called interactively.
224
225         * gnus-util.el (gnus-remove-if): Allow hash table.
226         (gnus-remove-if-not): New function.
227
228         * gnus-art.el (gnus-mime-view-part-as-type)
229         * gnus-score.el (gnus-summary-score-effect)
230         * gnus-sum.el (gnus-read-move-group-name):
231         Replace remove-if-not with gnus-remove-if-not.
232
233         * gnus-group.el (gnus-group-completing-read):
234         Regard collection as a hash table if it is not a list.
235
236 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
237
238         * shr.el (shr-render-td): Allow blank/missing <TD>s.
239
240         * shr.el: Document the table-rendering algorithm.
241
242 2010-10-05  Katsumi Yamaoka  <yamaoka@jpl.org>
243
244         * dgnushack.el (dgnushack-compile): Exclude shr.el from being compiled
245         for Emacsen having no `libxml-parse-html-region' support.
246
247 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
248
249         * gnus-html.el (gnus-html-schedule-image-fetching): Protect against
250         invalid URLs.
251
252         * shr.el (shr-tag-img): Shorten ALT texts and allow them to be
253         line-broken.
254         (shr-tag-img): Ignore image fetching errors.
255         (shr-overlays-in-region): Compute overlay positions correctly.
256
257         * mm-decode.el (mm-shr): Require shr.
258
259         * gnus-art.el (gnus-blocked-images): Move variable here.
260
261         * shr.el (shr-insert-table): Bind free variable.
262
263         * mm-decode.el (mm-shr): Bind shr-content-function.
264
265         * shr.el (shr-content-function): New variable.
266
267         * gnus-sum.el (gnus-article-sort-by-most-recent-date): New function,
268         added for symmetry.
269
270         * nnir.el (nnir-retrieve-headers): Don't bug out on invalid data.
271
272         * gnus-group.el (gnus-group-make-group): Doc fix.
273
274         * nnimap.el (nnimap-request-newgroups): Return success.
275
276         * shr.el (shr-find-elements): New function.
277         (shr-tag-table): Put all the images after the table.
278         (shr-tag-table): Really inhibit images inside the table.
279         (shr-collect-overlays): Copy over overlays from the TD elements to the
280         main document.
281
282         * mm-decode.el (mm-shr): Bind shr-blocked-images to
283         gnus-blocked-images.
284
285 2010-10-05  Julien Danjou  <julien@danjou.info>
286
287         * sieve-manage.el (sieve-sasl-auth): Use auth-source to authenticate.
288
289         * gnus-html.el (gnus-html-wash-images): Rescale image from cid too.
290         (gnus-html-maximum-image-size): Add this function.
291         (gnus-html-put-image): Use gnus-html-maximum-image-size.
292
293         * sieve-manage.el (sieve-manage-capability): Do not bug out when the
294         server-value of the capability is nil.
295
296 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
297
298         * shr.el (shr-tag-em): Add <EM> tag.
299
300 2010-10-05  Florian Ragwitz  <rafl@debian.org>  (tiny change)
301
302         * sieve-manage.el (sieve-manage-default-stream): Make default stream
303         customizable.
304
305         * gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid
306         handing broken links to browse-url.
307
308 2010-10-05  Julien Danjou  <julien@danjou.info>
309
310         * gnus-util.el (gnus-emacs-completing-read)
311         (gnus-iswitchb-completing-read): Use autoload rather than require.
312
313 2010-10-05  Katsumi Yamaoka  <yamaoka@jpl.org>
314
315         * lpath.el: Fbind libxml-parse-html-region and shr-insert-document for
316         Emacs 22 and XEmacs; fbind help-function-arglist for XEmacs 21.4 and
317         SXEmacs; fbind ido-completing-read, and bind iswitchb-mode and
318         iswitchb-temp-buflist for XEmacs.
319
320         * gnus-util.el (gnus-completing-read-function): Exclude
321         gnus-icompleting-read and gnus-ido-completing-read from candidates for
322         XEmacs since iswitchb.el is very old and ido.el is unavailable in
323         XEmacs.
324
325         * gnus-registry.el (gnus-registry-install-nnregistry): Rewrite so as
326         not to use `delete-dups' that is unavailable in XEmacs 21.4.
327
328         * gnus-html.el: Don't require help-fns under XEmacs.
329         (gnus-html-schedule-image-fetching): Work for XEmacs.
330
331         * mm-decode.el (mm-shr): Decode contents by charset.
332
333 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
334
335         * nnimap.el (nnimap-open-connection): Give an error if nnimap-stream is
336         unknown.
337
338         * shr.el (shr-tag-blockquote): Ensure paragraph after quote, too.
339         (shr-get-image-data): Ensure against the cache file missing.
340
341         * nnimap.el (nnimap-finish-retrieve-group-infos): Message while waiting
342         for data.
343
344         * spam-report.el (spam-report-url-ping-plain): Don't query about
345         killing the process.
346
347         * shr.el (shr-render-td): Protect against too-wide text.
348
349 2010-10-04  Julien Danjou  <julien@danjou.info>
350
351         * mml-smime.el (mml-smime-openssl-encrypt-query): Fix choices.
352         (mml-smime-openssl-sign-query): Fix gnus-completing-read call.
353
354         * gravatar.el (gravatar-retrieved): Kill buffer when gravatar has been
355         retrieved.
356
357 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
358
359         * shr.el (browse-url): Required.
360         (shr-ensure-paragraph): Don't insert a new newline after empty-ish
361         lines.
362         (shr-show-alt-text, shr-browse-image): New commands.
363         (shr-browse-url, shr-copy-url): New commands.
364
365         * gnus-sum.el (gnus-widen-article-window): New variable.
366         (gnus-summary-select-article-buffer): Use it.
367
368         * message.el (message-idna-to-ascii-rhs-1): Don't bug out on addresses
369         without @ signs.
370
371 2010-10-04  Michael Welsh Duggan  <md5i@md5i.com>  (tiny change)
372
373         * nnir.el (nnir-run-imap): Remove spurious space in search string.
374
375 2010-10-04  Julien Danjou  <julien@danjou.info>
376
377         * gnus-util.el (gnus-emacs-completing-read): Mapcar collection to list,
378         for XEmacs.
379
380 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
381
382         * gnus-salt.el: Remove all gnus-carpal stuff -- it's not useful.
383
384         * nnimap.el (nnimap-open-connection): Allow tls as a synonym for ssl.
385         (nnimap-close-server): Implement.
386
387         * dgnushack.el (iswitchb): Require to shut up the compiler.
388
389         * shr.el (shr-ensure-paragraph): Fix the non-empty line case.
390         (shr-insert): Tweak line breaking.
391         (shr-insert): Handle <pre> better.
392         (shr-tag-li): Get <li> indentation right.
393         (shr-tag-li): Get <li> indentation even righter.
394         (shr-tag-blockquote): Ensure paragraph start.
395         (shr-make-table): Tweak table generation.
396         (shr-make-table): Fix typo.
397
398         * shr.el: Implement table rendering.
399
400 2010-10-04  Julien Danjou  <julien@danjou.info>
401
402         * gnus-html.el (gnus-html-put-image): Fix resize image code.
403
404 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
405
406         * shr.el (shr-insert): Use string anchors instead of line anchors.
407
408 2010-10-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
409
410         * shr.el: Add headings.
411         (shr-ensure-paragraph): Actually work.
412         (shr-tag-li): Make <ul> prettier.
413         (shr-insert): Get white space at the beginning/end of elements right.
414         (shr-tag-p): Collapse subsequent <p>s.
415         (shr-ensure-paragraph): Don't insert double line feeds after blank
416         lines.
417         (shr-insert): \t is also space.
418         (shr-tag-s): Fix "s" tag name function.
419         (shr-tag-s): Fix face prop name.
420
421 2010-10-03  Julien Danjou  <julien@danjou.info>
422
423         * gnus-html.el (gnus-html-put-image): Use gnus-rescale-image.
424
425         * mm-view.el (gnus-window-inside-pixel-edges): Add autoload for
426         gnus-window-inside-pixel-edges.
427
428         * gnus-ems.el (gnus-window-inside-pixel-edges): Move from gnus-html to
429         gnus-ems.
430
431         * mm-view.el (mm-inline-image-emacs): Support image resizing.
432
433         * gnus-util.el (gnus-rescale-image): Add generic gnus-rescale-image
434         function.
435
436         * mm-decode.el (mm-inline-large-images): Enhance defcustom and add
437         resize choice.
438
439 2010-10-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
440
441         * shr.el (shr-tag-p): Don't insert newlines on empty tags at the
442         beginning of the buffer.
443
444         * gnus-sum.el (gnus-summary-select-article-buffer): Really select the
445         article buffer again.
446
447         * shr.el (shr-tag-p): Don't insert newlines at the start of the
448         buffer.
449
450         * mm-decode.el (mm-shr): Narrow before inserting, so that shr can know
451         when it's at the start of the buffer.
452
453         * shr.el (shr-tag-blockquote): Convert name.
454         (shr-rescale-image): Use the right image-size variant.
455
456         * gnus-sum.el (gnus-summary-select-article-buffer): If the article
457         buffer isn't shown, then select the current article first instead of
458         bugging out.
459         (gnus-summary-select-article-buffer): Show both the article and summary
460         buffers again.
461
462         * shr.el (shr-fontize-cont): Protect against regions with no text.
463         Rename tag functions to shr-tag-* for enhanced security.
464         (shr-tag-ul, shr-tag-ol, shr-tag-li, shr-tag-br): New functions.
465
466 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
467
468         * shr.el (shr-insert):
469         * pop3.el (pop3-movemail):
470         * gnus-html.el (gnus-html-wash-tags): Don't use plusp, as cl may not be
471         loaded.
472
473 2010-10-03  Glenn Morris  <rgm@gnu.org>
474
475         * nnmairix.el (nnmairix-replace-illegal-chars): Drop Emacs 20 code.
476
477         * smime.el (smime-cert-by-ldap-1): Drop Emacs 21 code.
478
479         * gnus-art.el (gnus-next-page-map): Drop Emacs 20 compat cruft.
480
481         * gmm-utils.el (gmm-write-region): Drop Emacs 20 compat cruft.
482
483         * gnus-util.el (gnus-make-local-hook): Simplify.
484
485 2010-10-02  Julien Danjou  <julien@danjou.info>
486
487         * gnus-util.el (gnus-iswitchb-completing-read): New function.
488         (gnus-ido-completing-read): New function.
489         (gnus-emacs-completing-read): New function.
490         (gnus-completing-read): Use gnus-completing-read-function.
491         Add gnus-completing-read-function.
492
493 2010-10-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
494
495         * shr.el (shr-insert-document): Autoload.
496         (shr-img): Be silent.
497         (shr-insert): Add a newline after every picture before text.
498         (shr-add-font): Use overlays for combining faces.
499         (shr-insert): Pass upwards the text start point.
500
501         * mm-decode.el (mm-text-html-renderer): Default to shr.el rendering, if
502         possible.
503         (mm-shr): New function.
504
505 2010-10-02  Julien Danjou  <julien@danjou.info>
506
507         * gnus-gravatar.el (gnus-gravatar-insert): Adjust character where we
508         should go backward.
509
510 2010-10-02  Juanma Barranquero  <lekktu@gmail.com>
511
512         * shr.el (shr): Fix typo in provide call.
513
514 2010-10-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
515
516         * shr.el: New file.
517
518         * gnus-html.el (gnus-html-schedule-image-fetching): Be silent.
519
520         * gnus-topic.el (gnus-topic-move-group): Fix the syntax of the
521         completing read.
522
523 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
524
525         * gnus-start.el (gnus-check-bogus-newsgroups): Say how many groups
526         we're being queried about.  Suggested by Dan Jacobson.
527
528         * nndoc.el (nndoc-type-alist): Do babyl before mime-parts.  Suggested
529         by Jason Eisner.
530
531         * gnus-async.el (gnus-async-delete-prefetched-entry): Remove from hash
532         table, too.  Suggested by Stefan Wiens.
533         (gnus-async-prefetched-article-entry): Use intern-soft to avoid growing
534         the table unnecessary.  Suggested by Stefan Wiens.
535
536         * gnus-sum.el (gnus-summary-clear-local-variables): This is probably no
537         longer needed, and probably doesn't work either, as pointed out by
538         Stefan Wiens.
539         (gnus-summary-exit): Remove call to the clearing function.
540         (gnus-summary-exit-no-update): Ditto.
541
542         * gnus-art.el (gnus-summary-save-in-file): Use with-current-buffer
543         instead of gnus-eval-in-buffer-window to avoid popping up frames.
544         Reported by Stefan Monnier.
545         (gnus-summary-save-in-rmail): Ditto.
546
547         * gnus-sum.el (gnus-summary-select-article-buffer): Show only the
548         article buffer, instead of both the article buffer and the summary
549         buffer.  Sort of suggested by Dan Jacobson.
550
551         * gnus-win.el (gnus-buffer-configuration): Add an only-article spec.
552
553         * nnmbox.el (nnmbox-read-mbox): Mark buffer for deletion on Gnus exit.
554         Suggested by Dan Jacobson.
555
556         * mm-encode.el (mm-content-transfer-encoding-defaults): Try to make the
557         documentation clearer.
558
559         * message.el (message-shorten-references): Comment on the number "21".
560         Suggested by Stefan Monnier.
561
562         * gnus-sum.el (gnus-summary-scroll-up): Add more documentation.
563         Suggested by Dan Jacobson.
564
565         * gnus.el (gnus-large-newsgroup): Mention
566         gnus-large-ephemeral-newsgroup.  Suggested by Dan Jacobson.
567
568         * gnus-msg.el (gnus-summary-resend-message): When resending, don't
569         externalize attachments.  Bug reported by Steve Wen.
570
571         * gnus.el (gnus-continuum-version): Make inactive, since it doesn't
572         really message anything to the user.
573
574         * nnmail.el (nnmail-article-group): Allow using the fancy split method
575         directly.
576
577         * nnimap.el (nnimap-request-group): Low higher than high to signal no
578         messages in empty groups.
579
580 2010-10-01  Ted Zlatanov  <tzz@lifelogs.com>
581
582         * nnimap.el (nnimap-request-group): Don't bug out when there's an empty
583         non-UIDNEXT group.
584
585 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
586
587         * gnus-group.el (gnus-group-completing-read): Return the symbol name,
588         not the value from the collection.
589
590         * nnimap.el (nnimap-update-info): Ignore groups that have no UIDNEXT
591         values.  This sometimes happens on some groups that have no info.
592         (nnimap-request-newgroups): New function.
593
594 2010-10-01  Teodor Zlatanov  <tzz@lifelogs.com>
595
596         * gnus-registry.el (gnus-registry-install-nnregistry): Move the feature
597         check into `gnus-registry-initialize'.
598         (gnus-registry-initialize): Ditto.
599         Fix and extend header docs.
600
601 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
602
603         * gnus-html.el (gnus-html-prefetch-images): Adjust regexp to avoid
604         regexp backtrace overflows.
605
606         * nnimap.el (nnimap-extend-tls-programs): Only extend those programs
607         for starttls that tls.el implements; i.e. openssl.
608
609         * tls.el (tls-starttls-switches): Give up on using starttls with
610         gnutls-cli.
611         (tls-program): Add --insecure to be consistent with the defaults from
612         openssl s_client.  Now all three commands are insecure.
613
614 2010-10-01  Katsumi Yamaoka  <yamaoka@jpl.org>
615
616         * lpath.el: Bind completion-styles-alist for XEmacs.
617
618         * gravatar.el: Don't load image.el that XEmacs doesn't provide.
619         (gravatar-create-image): New function that's an alias to
620         gnus-xmas-create-image, gnus-create-image, or create-image.
621         (gravatar-data->image): Use it.
622
623 2010-09-30  Teodor Zlatanov  <tzz@lifelogs.com>
624
625         * gnus-registry.el (gnus-registry-install-nnregistry): New function to
626         install the nnregistry refer method.
627         (gnus-registry-install-hooks): Use it.
628         (gnus-registry-unfollowed-groups): Add nnmairix to the default
629         unfollowed groups.
630
631 2010-09-30  Jose A. Ortega Ruiz  <jao@gnu.org>  (tiny change)
632
633         * gnus-sum.el (gnus-summary-show-thread): Skip past invisible text when
634         expanding threads.
635
636 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
637
638         * nnir.el: Use the server names without suffixes (bug #7009).
639
640         * nnimap.el (nnimap-open-connection): Reinstate the auto-upgrade from
641         unencrypted to STARTTLS, if possible.
642
643 2010-09-30  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
644
645         * message.el (message-ignored-supersedes-headers): Strip Injection-*
646         headers before superseding.
647
648 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
649
650         * nnrss.el (nnrss-use-local): Add documentation.
651
652         * nnimap.el (nnimap-extend-tls-programs): New function.
653         (nnimap-open-connection): Use tls.el exclusively, and not starttls.el.
654         (nnimap-wait-for-connection): Accept the greeting from the stupid
655         output from openssl s_client -starttls, too.
656
657         * tls.el (tls-starttls-switches): New variable.
658         (tls-find-starttls-argument): Use it.
659         (open-tls-stream): Ditto.
660
661         * netrc.el (netrc-credentials): Return the value of the "default"
662         entry.
663         (netrc-machine): Ditto.
664
665         * nnimap.el (nnimap-find-article-by-message-id): Really return the
666         article number.
667         (nnimap-split-fancy): New variable.
668         (nnimap-split-incoming-mail): Use it.
669
670         * nntp.el (nntp-server-list-active-group): Document.
671
672         * nnimap.el (nnimap-find-article-by-message-id): Use EXAMINE instead of
673         SELECT to get the message-id.
674
675         * mail-source.el (mail-sources): Removed webmail support.
676         (defvar): Ditto.
677         (mail-source-fetcher-alist): Ditto.
678         (mail-source-fetch-webmail): Removed.
679
680         * webmail.el: Removed -- doesn't seem relevant any more.
681
682         * gnus.el: Fix up make-obsolete-variable declarations throughout.
683
684         * nnimap.el (nnimap-request-accept-article): Get the Message-ID without
685         the \r.
686
687 2010-09-30  Julien Danjou  <julien@danjou.info>
688
689         * gnus-agent.el (gnus-agent-add-group): Fix call to
690         gnus-completing-read.
691
692 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
693
694         * nndoc.el (nndoc-retrieve-groups): New function.
695
696         * nnimap.el (nnimap-split-incoming-mail): If nnimap-split-methods is
697         `default', use nnmail-split-methods.
698         (nnimap-request-article): Downcase the NILs so that they are nil.
699
700         * gnus-sum.el (gnus-valid-move-group-p): Make sure that `group' is a
701         symbol.
702
703         * nnimap.el (nnimap-open-connection): Revert the auto-network->starttls
704         code, since if the user has requested network, that's what they ought
705         to get.
706         (nnimap-request-set-mark): Erase the buffer before issuing commands.
707         (nnimap-split-rule): Mark as obsolete.
708
709         * pop3.el (pop3-send-streaming-command, pop3-stream-length): New
710         variable.
711
712         * nnimap.el (nnimap-insert-partial-structure): Get the type from the
713         correct slot, too.
714
715 2010-09-29  Julien Danjou  <julien@danjou.info>
716
717         * gnus.el (gnus-local-domain): Declare variable obsolete.
718
719         * gnus-util.el (gnus-icompleting-read): Require iswitchb. Fix history
720         computing.
721         (gnus-ido-completing-read): Require ido.
722
723 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
724
725         * gnus-registry.el: Don't prompt on load, which makes it impossible to
726         build Gnus.
727
728         * nnimap.el (nnimap-insert-partial-structure): Be way more permissive
729         when interpreting the structures.
730         (nnimap-request-accept-article): Add \r\n to the lines to make this
731         work with Cyrus.
732
733         * nndraft.el (nndraft-request-expire-articles): Use the group name
734         instead if "nndraft".  Fix found by Nils Ackermann.
735
736 2010-09-29  Ludovic Courtes  <ludo@gnu.org>
737
738         * nnregistry.el: Added.
739
740 2010-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
741
742         * nnmail.el (group, group-art-list, group-art):
743         Remove unneeded directives.
744
745 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
746
747         * mm-util.el (mm-codepage-iso-8859-list, mm-charset-eval-alist)
748         (mm-mime-charset)
749         * rfc2047.el (rfc2047-syntax-table)
750         * utf7.el (utf7-utf-16-coding-system): Comment fix.
751
752         * nnrss.el (nnrss-read-server-data, nnrss-read-group-data): Use `load'
753         rather than `insert-file-contents' and `eval-region'.
754
755         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
756         construction.
757
758         * smime-ldap.el (smime-ldap-search): Remove Emacs 21 compatible code.
759
760         * time-date.el: No need to require cl for Emacs 21.
761
762 2010-09-29  Julien Danjou  <julien@danjou.info>
763
764         * gnus-gravatar.el (gnus-gravatar-properties): Add this properties in
765         replacement of `gnus-gravatar-relief' to mimic
766         `gnus-faces-properties-alist'.
767         Add :version property.
768
769 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
770
771         * mail-source.el (mail-source-report-new-mail)
772         * message.el (message-default-mail-headers)
773         * mm-decode.el (mm-valid-image-format-p): Comment fix.
774
775         * mml2015.el (mml2015-use): Don't bind recursive-load-depth-limit.
776
777 2010-09-28  Julien Danjou  <julien@danjou.info>
778
779         * gnus-gravatar.el (gnus-gravatar-insert): Fix search in case
780         mail-address contains the same string as real-name.
781
782         * gnus-ems.el (gnus-put-image): Revert Lars, change and insert
783         non-blank in header, otherwise it'll get stripped.
784
785         * gnus-gravatar.el (gnus-gravatar-insert): Search backward for
786         real-name, and then for mail address rather than doing : or , search.
787
788 2010-09-27  Julien Danjou  <julien@danjou.info>
789
790         * gnus-srvr.el (gnus-server-add-server): Use gnus-completing-read.
791         (gnus-server-goto-server): Use gnus-completing-read.
792
793         * mm-view.el (mm-view-pkcs7-decrypt): Use gnus-completing-read.
794
795         * mm-util.el (defalias): Use gnus-completing-read.
796         (mm-codepage-setup): Use gnus-completing-read.
797
798         * smime.el (smime-sign-buffer): Use gnus-completing-read.
799         (smime-decrypt-buffer): Use gnus-completing-read.
800
801         * mml-smime.el (mml-smime-openssl-sign-query): Use gnus-completing-read.
802
803         * mml.el (mml-minibuffer-read-type): Use gnus-completing-read.
804         (mml-minibuffer-read-disposition): Use gnus-completing-read.
805         (mml-insert-multipart): Use gnus-completing-read.
806
807         * gnus-msg.el (gnus-summary-yank-message): Use gnus-completing-read.
808
809         * gnus-int.el (gnus-start-news-server): Use gnus-completing-read.
810
811         * mm-decode.el (mm-interactively-view-part): Use gnus-completing-read.
812
813         * gnus-dired.el (gnus-dired-attach): Use gnus-completing-read.
814
815         * gnus.el (gnus-read-method): Use gnus-completing-read.
816
817         * gnus-bookmark.el (gnus-bookmark-jump): Use gnus-completing-read.
818
819         * gnus-art.el (gnus-mime-view-part-as-type): Use gnus-completing-read.
820         (gnus-mime-action-on-part): Use gnus-completing-read.
821         (gnus-article-encrypt-body): Use gnus-completing-read.
822
823         * gnus-topic.el (gnus-topic-jump-to-topic): Use gnus-completing-read.
824         (gnus-topic-move-matching): Use gnus-completing-read.
825         (gnus-topic-copy-matching): Use gnus-completing-read.
826         (gnus-topic-sort-topics): Use gnus-completing-read.
827         (gnus-topic-move): Use gnus-completing-read.
828
829         * gnus-agent.el (gnus-agent-read-group): Remove prompt computing.
830         (gnus-agent-add-group): Use gnus-completing-read.
831
832         * nnmairix.el (nnmairix-create-server-and-default-group): Use
833         gnus-completing-read.
834         (nnmairix-update-groups): Use gnus-completing-read.
835         (nnmairix-get-server): Use gnus-completing-read.
836         (nnmairix-backend-to-server): Use gnus-completing-read.
837         (nnmairix-goto-original-article): Use gnus-completing-read.
838         (nnmairix-get-group-from-file-path): Use gnus-completing-read.
839
840         * nnrss.el (nnrss-find-rss-via-syndic8): Use gnus-completing-read.
841
842         * gnus-group.el (gnus-group-completing-read): Use gnus-completing-read.
843         (gnus-group-make-useful-group): Use gnus-completing-read.
844         (gnus-group-make-web-group): Use gnus-completing-read.
845         (gnus-group-add-to-virtual): Use gnus-completing-read.
846         (gnus-group-browse-foreign-server): Use gnus-completing-read.
847
848         * gnus-sum.el (gnus-summary-goto-article): Use gnus-completing-read.
849         (gnus-summary-limit-to-extra): Use gnus-completing-read.
850         (gnus-summary-execute-command): Use gnus-completing-read.
851         (gnus-summary-respool-article): Use gnus-completing-read.
852         (gnus-read-move-group-name): Use gnus-completing-read.
853
854         * gnus-score.el (gnus-summary-increase-score): Use gnus-completing-read.
855         (gnus-summary-score-effect): Use gnus-completing-read.
856
857         * gnus-registry.el (gnus-registry-read-mark): Use gnus-completing-read.
858
859         * gnus-util.el (gnus-completing-read): Use gnus-use-ido to apply the
860         right completing-read function.
861         (gnus-use-ido): New variable
862         (gnus-completing-read-with-default): Remove.
863
864 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
865
866         * lpath.el: Remove url-http-file-exists-p, w32-focus-frame, and
867         x-focus-frame.
868
869         * nnimap.el (auth-source-forget-user-or-password)
870         (auth-source-user-or-password): Autoload.
871
872         * message.el (message-from-style, message-interactive)
873         (message-cite-prefix-regexp, message-sendmail-envelope-from)
874         (message-yank-prefix, message-indentation-spaces, message-signature)
875         (message-signature-file): Add comment.
876
877 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
878
879         * gnus-sum.el (gnus-summary-read-group-1): Set gnus-newsgroup-highest.
880         (gnus-summary-insert-new-articles): Use gnus-newsgroup-highest to get
881         new articles.
882
883         * nnimap.el (nnimap-request-article): Don't partial-fetch single-part
884         parts.
885         (nnimap-request-article): Work with the t setting, too.
886
887         * gnus-sum.el (gnus-summary-exit): Kill the article buffer later, so
888         that you don't get flashes of other buffers.
889         (gnus-summary-show-complete-article): Intern before setting.
890
891 2010-09-27  David Engster  <dengste@eml.cc>
892
893         * nnmairix.el: (nnmairix-replace-group-and-numbers): Deal with NOV as
894         well as HEADERS.
895         (nnmairix-retrieve-headers): Provide new argument for the above.
896
897 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
898
899         * gnus-sum.el (gnus-summary-move-article): Don't alter
900         gnus-newsgroup-active.  This makes `/ N' work after copying to the same
901         group.
902
903         * nnimap.el (nnimap-update-info): Don't destructively alter active.
904
905         * message.el (message-cite-prefix-regexp): Revert my last edit.
906
907         * gnus-sum.el (gnus-summary-show-complete-article): Bind the server
908         variable instead of the Gnus variable.
909
910         * nnimap.el (nnimap-find-wanted-parts-1): Use it.
911
912         * gnus-art.el (gnus-fetch-partial-articles): Moved back to nnimap
913         again.
914
915         * nnimap.el (nnimap-request-accept-article): Remove the "." at the end,
916         since some servers don't like it.
917         (nnimap-open-connection): Forget credentials if the server says the
918         password was wrong.
919         (nnimap-parse-line): Protect against invalid data.
920
921         * gnus-sum.el (gnus-summary-move-article): Add comment.
922         (gnus-summary-insert-new-articles): Copy the old-high watermark so that
923         nothing alters it while scanning for new messages.
924
925         * nnimap.el (nnimap-request-accept-article): Send a "." at the end,
926         which may or may not help.
927         (nnimap-open-connection): If we're doing a stream connection, and then
928         discover we're on a STARTTLS-capable server, then open a STARTTLS
929         connection instead.
930
931 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
932
933         * nnimap.el (utf7): Required.
934
935         * message.el (message-cite-prefix-regexp): Remove "}" from citation
936         prefix.
937
938 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
939
940         * nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.
941
942 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
943
944         * nnimap.el (nnimap-request-accept-article): Message the error on
945         error.
946
947 2010-09-27  Katsumi Yamaoka  <yamaoka@jpl.org>
948
949         * gnus-art.el (gnus-mime-delete-part): Fix Lisp type of byte(s).
950
951 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
952
953         * nndoc.el (nndoc-request-list): Return success always.
954
955         * gnus-agent.el (gnus-agent-retrieve-headers): Don't propagate
956         `fetch-old' -- we only want to fetch the articles we've requested.  The
957         rest are in the agent, probably.
958         (gnus-agent-read-servers-validate): Change the level for the "Ignoring
959         disappeared server" to something low.  It's not important.
960
961         * nnimap.el (nnimap-get-whole-article): Remove the data that may have
962         arrived before the FETCH data.
963
964         * nnmh.el (nnmh-request-expire-articles): Don't try to fetch the expiry
965         target here, because we don't know the Gnus name of the group.
966
967         * nndraft.el (nndraft-request-expire-articles): Fetch the expiry target
968         for the correct group.
969
970         * gnus-ems.el (gnus-create-image): Ignore all image-creation errors.
971
972         * gnus.el (gnus): Give a final warning after startup.
973
974         * gnus-util.el (gnus-action-message-log): New variable.
975         (gnus-message): Use it.
976         (gnus-final-warning): New function.
977
978         * nnimap.el (nnimap-open-connection): Record the greeting.
979         (nnimap): Add greeting.
980
981 2010-09-26  Julien Danjou  <julien@danjou.info>
982
983         * gnus-html.el (gnus-html-show-images): Fix gnus-html-display-image
984         arguments.
985         (gnus-html-wash-images): Fix spec computing to include start/end.
986
987         * gnus-art.el (gnus-article-treat-body-boundary): Fix length computing.
988
989 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
990
991         * nnimap.el (nnimap-request-expire-articles): Compress ranges before
992         deletion.
993         (nnimap-retrieve-headers): Don't select the group, because that's
994         already done by nnimap-possibly-change-group.
995
996         * gnus-picon.el (gnus-picon-inhibit-top-level-domains): New variable.
997         (gnus-picon-transform-address): Use it.
998
999         * mail-source.el (mail-source-value): Revert previous patch.
1000
1001         * nnimap.el (nnimap-credentials): Allow inhibiting the password query
1002         on failure.
1003         (nnimap-open-connection): Look up both virtual and physical server name
1004         credentials.
1005
1006         * gnus-win.el: Revert previous patch, since it made Gnus backtrace.
1007
1008 2009-02-07  Dave Love  <fx@gnu.org>
1009
1010         * tls.el (open-tls-stream): Don't query killing process.
1011
1012 2009-02-08  Dave Love  <fx@gnu.org>
1013
1014         * gnus-win.el (gnus-window-to-buffer-helper,
1015         gnus-all-windows-visible-p): Function needn't be a symbol.
1016
1017         * mail-source.el (mail-source-value): Function needn't be a symbol.
1018
1019 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1020
1021         * message.el (message-cite-prefix-regexp): Remove } from the cite
1022         prefix.
1023
1024         * gnus-art.el (gnus-treatment-function-alist): Do picons before
1025         highlight again, so that the highlight is correct.
1026
1027         * gnus-picon.el (gnus-picon): Remove again.
1028         (gnus-picon-create-glyph): Set the background XPM colour explicitly.
1029
1030         * gnus-art.el (gnus-treatment-function-alist): Insert picons after
1031         doing the header highlightling, so that the background colour of the
1032         picon is correct.
1033
1034         * gnus-picon.el (gnus-picon-xbm): Removed obsolete face.
1035         (gnus-picon): Ditto.
1036         (gnus-picon): Reinstate.  The background colour for picons is white.
1037         (gnus-picon-insert-glyph): Make the background white.
1038
1039         * nnml.el (nnml-open-nov): Don't return dead buffers.
1040
1041         * auth-source.el (auth-source-create): Query the user for whether to
1042         store the credentials.
1043
1044         * netrc.el (netrc-store-data): New function.
1045
1046         * auth-source.el (auth-source-user-or-password): Use the existing auth
1047         sources, if any, for creation.
1048
1049         * gnus.el (gnus-group-fast-parameter): Return the last matching
1050         parameter instead of the first matching parameter.
1051
1052 2010-09-26  Julien Danjou  <julien@danjou.info>
1053
1054         * gnus-sum.el (gnus-auto-center-group): Transform into a defcustom.
1055
1056 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1057
1058         * mml2015.el (mml2015-use): Remove gpg support.
1059
1060         * mml1991.el (mml1991-function-alist): Remove gpg function.
1061         (mml1991-gpg-sign): Removed.
1062
1063 2010-09-26  Andreas Seltenreich  <seltenreich@gmx.de>
1064
1065         * gnus-srvr.el (gnus-browse-subscribe-newsgroup-method): New variable.
1066         (gnus-browse-unsubscribe-current-group): Document it.
1067         (gnus-browse-unsubscribe-group): Use it.
1068
1069 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1070
1071         * gnus-group.el (gnus-read-ephemeral-bug-group): Add the bug email
1072         address to the To list for easier response.
1073
1074         * gnus.el (gnus-play-startup-jingle): Removed.
1075         (gnus-splash): Don't play jingle.
1076         (gnus): Silence gnus-load message.
1077
1078         * gnus-art.el (gnus-treat-play-sounds): Removed.
1079
1080         * gnus.el (gnus-play-jingle): Remove audio support.
1081
1082         * gnus-cus.el (gnus-score-customize): Remove audio reference.
1083
1084         * earcon.el: Removed -- no users.
1085
1086         * gnus-audio.el: Removed -- no users of this package.
1087
1088         * gnus-sum.el (gnus-summary-limit-children): Remove nocem support.
1089
1090         * gnus-start.el (gnus-setup-news): Remove nocem support.
1091
1092         * gnus-group.el (gnus-group-get-new-news): Removed nocem call.
1093
1094         * gnus.el (gnus-use-nocem): Removed.
1095
1096         * gnus-demon.el (gnus-demon-add-nocem, gnus-demon-scan-nocem):
1097         Removed.
1098
1099         * gnus-nocem.el (gnus-nocem-issuers): Removed file.  Apparently nobody
1100         uses NoCeM any more.
1101
1102         * gnus-art.el (gnus-ctan-url): Seems not very useful -- removed.
1103         (gnus-button-ctan-handler): Ditto.
1104         (gnus-button-handle-ctan-bogus-regexp): Ditto.
1105         (gnus-button-ctan-directory-regexp): Ditto.
1106         (gnus-button-handle-ctan): Ditto.
1107         (gnus-button-tex-level): Ditto.
1108         (gnus-button-alist): Removed CTAN stuff.
1109
1110 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1111
1112         * nnimap.el (nnimap-wait-for-response): Reversed logic in the
1113         nnimap-streaming test.
1114
1115         * gnus-start.el (gnus-get-unread-articles): Don't try to open failed
1116         servers twice.
1117
1118         * nnimap.el (nnimap-open-connection): Add more error reporting when
1119         nnimap fails early.
1120
1121         * nnheader.el (nnheader-get-report-string): New function.
1122         (nnheader-get-report): Use it.
1123
1124         * gnus-int.el (gnus-check-server): Say what the error was when opening
1125         failed.
1126
1127         * nnimap.el (nnimap-wait-for-response): Search further when we're not
1128         using streaming.
1129
1130 2010-09-25  Julien Danjou  <julien@danjou.info>
1131
1132         * gnus-html.el (gnus-html-rescale-image): Use our defalias
1133         gnus-window-inside-pixel-edges.
1134
1135 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1136
1137         * gnus-srvr.el (gnus-server-copy-server): Add documentation.
1138
1139         * mm-decode.el (mm-save-part): Allow saving to other directories the
1140         normal Emacs way.
1141
1142         * nndoc.el (nndoc-type-alist): Move mime-parts after mbox.  Suggested
1143         by Jay Berkenbilt.
1144
1145         * gnus-art.el (gnus-mime-delete-part): Fix plural for "byte" when
1146         there isn't a single byte.
1147
1148         * gnus-int.el (gnus-open-server): Don't query whether to go offline --
1149         just do it.  It doesn't really seem to matter what the user responds
1150         here, I think, so it's just a confusing question.
1151
1152         * nnimap.el (nnimap-retrieve-group-data-early): Fix typo in the
1153         non-streaming case.
1154
1155         * gnus-art.el (gnus-flush-original-article-buffer): Separated out.
1156         (gnus-article-encrypt-body): Use it.
1157
1158         * gnus-sum.el (gnus-summary-show-complete-article): New command and
1159         keystroke.
1160
1161         * nnimap.el (nnimap-find-wanted-parts-1): Use
1162         gnus-fetch-partial-articles.
1163
1164         * gnus-art.el (gnus-fetch-partial-articles): New variable.
1165
1166         * nnimap.el (nnimap-insert-partial-structure): New function.
1167         (nnimap-get-partial-article): New function.
1168         (nnimap-request-article): Use it.
1169         (nnimap-wait-for-response): Return whether the wait was successful.
1170         (nnimap-finish-retrieve-group-infos): Don't do anything if the
1171         retrieval wasn't successful.
1172         (nnimap-retrieve-group-data-early): Allow throttling servers.
1173         (nnimap-streaming): New variable.
1174         (nnimap-fetch-partial-articles): Removed.
1175
1176         * mm-decode.el (mm-with-part): Protect against killed buffers.
1177
1178         * nndraft.el (nndraft-retrieve-headers): Insert Lines and Chars headers
1179         for prettier summary display.
1180
1181 2010-09-25  Andrew Cohen  <cohen@andy.bu.edu>  (tiny change)
1182
1183         * nnir.el (nnir-run-imap): Allow sending IMAP search patterns
1184         directly.
1185
1186 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1187
1188         * gnus.el (gnus-local-domain): Put gnus-local-domain back again, since
1189         apparently third-party libraries depend on it.
1190
1191         * nnimap.el (nnimap-open-connection): Wait for the response to STARTTLS
1192         before starting negotiation.
1193
1194         * gnus-art.el (gnus-treat-from-gravatar): Change default to nil for
1195         privacy reasons.
1196         (gnus-treat-mail-gravatar): Ditto.
1197
1198         * gnus-ems.el (gnus-put-image): Don't put any non-blank text into the
1199         buffer when inserting images.  Inserting text into the headers, for
1200         instance, can make them invalid.
1201
1202 2010-09-25  Julien Danjou  <julien@danjou.info>
1203
1204         * rfc1843.el: Remove useless rfc1843-old-gnus-decode-header-function
1205         variables.
1206
1207         * nnheader.el: Remove useless variables news-reply-yank-from and
1208         news-reply-yank-message-id.
1209
1210         * mml2015.el: Remove useless mc-default-scheme and mc-schemes
1211         variables.
1212
1213         * mml1991.el: Remove useless mml1991-verbose.
1214
1215         * gnus.el: Remove useless variable gnus-use-generic-from.
1216         Remove obsolete variable gnus-topic-indentation.
1217
1218         * gnus-uu.el: Remove useless gnus-uu-shar-file-name.
1219
1220         * gnus-sum.el: Remove useless gnus-newsgroup-none-id.
1221
1222         * gnus-picon.el: Remove useless gnus-picon-setup-p variable.
1223
1224         * gnus-group.el: Remove useless gnus-group-icon-cache.
1225         Remove useless gnus-ephemeral-group-server.
1226
1227         * gnus-bookmark.el: Remove useless gnus-bookmark-after-jump-hook.
1228
1229         * mml2015.el: Remove useless mml2015-verbose.
1230
1231         * mml-smime.el: Remove useless mml-smime-verbose.
1232
1233         * gnus.el: Remove useless gnus-local-domain.
1234
1235         * gnus-gravatar.el (gnus-gravatar-transform-address): Use
1236         gnus-gravatar-size.
1237
1238         * gnus-art.el: Remove useless gnus-treat-translate.
1239
1240 2010-09-24  Julien Danjou  <julien@danjou.info>
1241
1242         * gnus-sum.el: Add support for Gravatars.
1243
1244         * gnus-art.el: Add support for Gravatars.
1245
1246         * gnus-gravatar.el: Add this file.
1247
1248         * gravatar.el: Add this file.
1249
1250 2010-09-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1251
1252         * gnus-sum.el (gnus-summary-fetch-faq): Removed.
1253
1254         * gnus-group.el (gnus-group-fetch-faq): Removed.
1255
1256         * gnus.el (gnus-group-faq-directory): Removed.
1257
1258         * gnus-group.el (gnus-group-fetch-charter): Removed.
1259
1260         * gnus.el (gnus-group-charter-alist): Removed.
1261
1262         * gnus-group.el (gnus-group-archive-directory): Removed.
1263         (gnus-group-recent-archive-directory): Ditto.
1264         (gnus-group-make-archive-group): Removed.
1265
1266         * nnimap.el (nnimap-update-info): Protect against nil uidnexts.
1267
1268         * gnus-cache.el (gnus-cache-braid-heads): When braiding heads, don't
1269         use the same article number for all the cached articles.
1270
1271         * nnimap.el (nnimap-command): Register the last command time so
1272         that we can use it for idling NOOPs.
1273         (nnimap-open-connection): Start the keeplive timer.
1274         (nnimap-make-process-buffer): Store all the process buffers.
1275         (nnimap-keepalive): New function.
1276
1277         * starttls.el: (starttls-open-stream): Add autoload cookie.
1278
1279 2010-09-24  Michael Welsh Duggan  <md5i@md5i.com>  (tiny change)
1280
1281         * nnimap.el (nnimap-split-incoming-mail): Fix paren typo in the 'junk
1282         handling.
1283
1284 2010-09-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1285
1286         * nnrss.el (nnrss-retrieve-groups): Change to the group before checking
1287         its data structures.
1288
1289         * gnus.el (gnus-sloppily-equal-method-parameters): Use copy-sequence
1290         instead of the cl.el copy-list.
1291         (gnus-sloppily-equal-method-parameters): Use equal instead of the cl
1292         equalp.
1293
1294 2010-09-24  Katsumi Yamaoka  <yamaoka@jpl.org>
1295
1296         * gmm-utils.el (gmm-tool-bar-from-list): Always use tool-bar-local-item
1297         and tool-bar-local-item-from-menu.
1298
1299         * gnus-agent.el (gnus-agent-make-mode-line-string): Always use
1300         mode-line-highlight face for Emacs.
1301
1302         * gnus-art.el (toplevel): Don't bind recursive-load-depth-limit while
1303         loading gnus-sum.elc; fix comment for canlock-verify.
1304         (gnus-article-jump-to-part): Use read-number.
1305         (gnus-insert-mime-button, gnus-insert-mime-security-button): Remove
1306         Emacs pre-21 compatible code for help-echo.
1307         (gnus-article-next-page-1): No need to adjust the number of lines.
1308         (gnus-article-describe-bindings): Always use help-buffer.
1309
1310         * gnus-audio.el (gnus-audio-inline-sound)
1311         * gnus-cus.el (gnus-custom-mode)
1312         * gnus-group.el (gnus-group-update-tool-bar): Comment fix.
1313
1314         * gnus-sum.el (gnus-remove-overlays): Doc fix.
1315
1316         * gnus-util.el (gnus-select-frame-set-input-focus): Remove Emacs 21
1317         compatible code.
1318
1319 2010-09-24  Glenn Morris  <rgm@gnu.org>
1320
1321         * message.el (message-output): Use gnus-output-to-rmail if a buffer is
1322         visiting the fcc file in rmail-mode.
1323
1324         * dns-mode.el: Move autoloaded auto-mode-alist entries to files.el.
1325
1326 2010-09-24  Katsumi Yamaoka  <yamaoka@jpl.org>
1327
1328         * nnir.el: Silence the byte compiler.
1329
1330         * gnus-html.el (gnus-html-encode-url-chars): New function, that's an
1331         alias to browse-url-url-encode-chars if any.
1332         (gnus-html-encode-url): Use it.
1333
1334 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1335
1336         * gnus-start.el (gnus-use-backend-marks): New variable.
1337         (gnus-get-unread-articles-in-group): Use it.
1338
1339         * gnus-sum.el (gnus-summary-local-variables): Prepare for list/range
1340         makeover.
1341
1342 2010-09-23  Andrew Cohen  <cohen@andy.bu.edu>
1343
1344         * nnimap.el (nnimap-retrieve-headers): Return 'headers.
1345
1346 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1347
1348         * gnus-start.el (gnus-fixup-nnimap-unread-after-getting-new-news):
1349         Removed.
1350         (gnus-setup-news-hook): Removed
1351         gnus-fixup-nnimap-unread-after-getting-new-news.
1352
1353         * gnus-int.el (gnus-request-update-info): Protect against backends not
1354         having the function.
1355
1356         * nnimap.el (nnimap-stream): Mention starttls.
1357         (nnimap-open-connection): Add starttls support.
1358
1359 2010-09-23  Andrew Cohen  <cohen@andy.bu.edu>
1360
1361         * nnir.el (nnir-run-imap): Fix up nnir to work with the new nnimap.
1362
1363 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1364
1365         * nnimap.el (nnimap-transform-headers): Don't bug out on invalid
1366         BODYSTRUCTUREs.
1367         (nnimap-transform-headers): Unfold quoted {42} headers.
1368
1369         * gnus-start.el (gnus-get-unread-articles): Allow backends to update
1370         the info.
1371         (gnus-get-unread-articles): Only call updatep on backends that support
1372         it.
1373
1374         * nnweb.el (nnweb-request-update-info): NOOP.
1375
1376         * nnmaildir.el (nnmaildir-request-marks): Renamed from -update-info.
1377
1378         * nnfolder.el (nnfolder-request-marks): Renamed from -update-info,
1379         since it only deals with marks.
1380
1381         * gnus-int.el (gnus-request-marks): Renamed gnus-request-update-info to
1382         gnus-request-marks, and make a new gnus-request-update-info.
1383
1384         * nnimap.el (nnimap-update-info): When UIDNEXT is present, use that for
1385         the active instead of the high number, which is usually too low.
1386
1387 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
1388
1389         * netrc.el (netrc-parse): Remove encrypt.el mentions.
1390         * encrypt.el: Removed.
1391
1392 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1393
1394         * nnimap.el (nnimap-update-info): Sync non-standard flags from the
1395         server in symbolic form.
1396
1397         * gnus-html.el (gnus-max-image-proportion): Increase proportion to
1398         0.9.
1399
1400 2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1401
1402         * nnimap.el (nnimap-parse-flags): Parse the data in any order.
1403         (nnimap-update-info): Fix up code slightly.
1404
1405         * gnus-int.el (gnus-open-server): Add tracing for performance
1406         debugging.
1407
1408         * gnus-group.el (gnus-group-highlight-line): Typo fix: beg, not start.
1409         (gnus-group-insert-group-line): Pass the real group name so that it
1410         gets the right data.
1411
1412         * gnus-start.el (gnus-get-unread-articles): Don't have
1413         `gnus-get-unread-articles-in-group' update info, since that can be
1414         really slow and doesn't seem to be needed?
1415
1416 2010-09-22  Dan Christensen  <jdc@uwo.ca>
1417
1418         * time-date.el (date-to-time): Try using parse-time-string first before
1419         using the slower timezone-make-date-arpa-standard.
1420
1421 2010-09-22  Julien Danjou  <julien@danjou.info>
1422
1423         * gnus-group.el (gnus-group-insert-group-line): Call
1424         gnus-group-highlight-line.
1425         (gnus-group-update-hook): Remove gnus-group-highlight-line from the
1426         default hook list.
1427         (gnus-group-update-eval-form): Add new function.
1428         (gnus-group-highlight-line): Use gnus-group-update-eval-form.
1429         (gnus-group-get-icon): Use gnus-group-update-eval-form.
1430
1431 2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1432
1433         * nnimap.el (nnimap-request-expire-articles): If nnmail-expiry-wait is
1434         immediate, then expire all articles.
1435         (nnimap-update-info): Fix off-by-one errors.
1436         (nnimap-flags-to-marks): Would return no marks lists for group with no
1437         flags.  Instead return the other data.
1438
1439 2010-09-22  Julien Danjou  <julien@danjou.info>
1440
1441         * gnus-group.el (gnus-group-get-icon): Renamed gnus-group-add-icon that
1442         Only return an icon.
1443         (gnus-group-insert-group-line): Compute icon to return.
1444
1445         * gnus-html.el (gnus-html-image-automatic-caching): Add custom
1446         variable.
1447         (gnus-html-image-fetched): Only cache if
1448         gnus-html-image-automatic-caching is set.
1449         (gnus-html-image-fetched): Check for errors.
1450
1451 2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1452
1453         * gnus-start.el (gnus-read-active-for-groups): Only run -request-scan
1454         once per method on `g'.  This ensures that backends like nnfolder don't
1455         open all their folders.
1456
1457         * nnimap.el (nnimap-split-incoming-mail): Delete 'junk.
1458         (nnimap-request-list): Nix out group in the correct buffer.
1459         (nnimap-parse-flags): Implement by using `read' instead of
1460         hand-parsing.
1461         (nnimap-flags-to-marks): Pass on permanent-flags.
1462         (nnimap-make-process-buffer): Record the server name.
1463         (nnimap-parse-flags): Fix typo.
1464         (nnimap-request-scan): Run split on the server in general, not just a
1465         single group.
1466
1467         * nnmail.el (nnmail-split-incoming): Take an optional junk-func
1468         parameter, and propagate this downwards.
1469
1470         * nnimap.el (nnimap-request-list): Set the current nnimap group to nil,
1471         since EXAMINE changes it on the server.
1472
1473         * gnus-int.el (gnus-request-expire-articles): Inhibit the daemon, since
1474         this command might take a while.
1475
1476 2010-09-22  Julien Danjou  <julien@danjou.info>
1477
1478         * gnus-html.el (gnus-html-put-image): Stop using markers. They are
1479         harmful if you have 2 images side-by-side, they can't be properly
1480         update on text deletion.  Using text-property is safer here.
1481         (gnus-html-image-fetched): Search also for \r\n\r\n to get the start of
1482         data.
1483
1484 2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1485
1486         * nnimap.el (nnimap-expunge-inbox): Removed.
1487         (nnimap-mark-and-expunge-incoming): Use nnimap-expunge instead.
1488         (nnimap-expunge): Flip default to t.
1489
1490         * gnus.el (gnus-method-to-server): Don't push things to the cache
1491         unless it's unique.
1492         (gnus-server-to-method): Ditto.
1493
1494 2010-09-22  Teodor Zlatanov  <tzz@lifelogs.com>
1495
1496         * nnimap.el (nnimap-delete-article): Tell user if expunge won't happen.
1497
1498 2010-09-22  Julien Danjou  <julien@danjou.info>
1499
1500         * gnus-html.el (gnus-html-get-image-data): Search also for \r\n\r\n to
1501         get the start of data.
1502         (gnus-html-encode-url): Add this function to encode special chars in
1503         URL.
1504         (gnus-html-wash-images): Use gnus-html-encode-url to encode URL.
1505         (gnus-html-prefetch-images): Use gnus-html-encode-url to encode URL.
1506
1507         * gnus-group.el (gnus-group-update-hook): Call gnus-group-add-icon by
1508         default.
1509         (gnus-group-add-icon): Move to gnus-group.el, and rewrite so it works.
1510
1511         * gnus-html.el (gnus-html-wash-images): Use xml-substitute-special on
1512         images alt-text.
1513         (gnus-html-put-image): Put alt-text as help-echo.
1514
1515 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
1516
1517         * mailcap.el (mailcap-parse-mailcap, mailcap-parse-mimetypes)
1518         * mm-util.el (mm-decompress-buffer)
1519         * nnir.el (nnir-run-find-grep)
1520         * pop3.el (pop3-list): Use 3rd arg of split-string.
1521
1522         * time-date.el (format-seconds): Comment fix.
1523
1524         * dgnushack.el (toplevel): Don't advise byte-optimize-form-code-walker
1525         and byte-optimize-form-code-walker.
1526         (dgnushack-make-auto-load): Don't advise make-autoload.
1527
1528         * lpath.el: Remove Emacs 21 stuff.
1529
1530 2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1531
1532         * gnus-sum.el (gnus-update-marks): Add sanity check to not delete marks
1533         outside the active range.  Suggested by Dan Christensen.
1534
1535         * gnus-start.el (gnus-get-unread-articles): Get the extended method
1536         slightly later to avoid double-getting it.
1537
1538         * nnml.el (nnml-generate-nov-file): Fix variable name clobbering from
1539         previous patch.
1540
1541         * gnus-sum.el (gnus-adjust-marked-articles): Fix another typo.
1542
1543 2010-09-21  Adam Sjøgren  <asjo@koldfront.dk>
1544
1545         * gnus-sum.el (gnus-adjust-marked-articles): Fix typo.
1546
1547 2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1548
1549         * gnus-int.el (gnus-open-server): Give a better error message in the
1550         "go offline" case.
1551
1552         * gnus-sum.el (gnus-adjust-marked-articles): Hack to avoid adjusting
1553         marks for nnimap, which is seldom the right thing to do.
1554
1555         * gnus.el (gnus-sloppily-equal-method-parameters): Refactor out.
1556         (gnus-same-method-different-name): New function.
1557
1558         * nnimap.el (parse-time): Require.
1559
1560         * gnus-start.el (gnus-get-unread-articles): Fix the prefixed select
1561         method in the presence of many similar methods.
1562
1563         * nnmail.el (nnmail-expired-article-p): Fix typo: time-subtract.
1564
1565         * nnimap.el (nnimap-find-expired-articles): Don't refer to
1566         nnml-inhibit-expiry.
1567
1568         * gnus-sum.el (gnus-summary-move-article): Use gnus-server-equal to
1569         find out whether methods are equal.
1570
1571         * nnimap.el (nnimap-find-expired-articles): New function.
1572         (nnimap-process-expiry-targets): New function.
1573         (nnimap-request-move-article): Request the article before looking at
1574         what the Message-ID is.  Fix found by Andrew Cohen.
1575         (nnimap-mark-and-expunge-incoming): Wait for the last sequence.
1576
1577         * nnmail.el (nnmail-expired-article-p): Allow returning the cutoff time
1578         for oldness in addition to being a predicate.
1579
1580         * nnimap.el (nnimap-request-group): When we have zero articles, return
1581         the right data to Gnus.
1582         (nnimap-request-expire-articles): Only delete articles immediately if
1583         the target is 'delete.
1584
1585         * gnus-sum.el (gnus-summary-move-article): When respooling to the same
1586         method, this would bug out.
1587
1588         * gnus-group.el (gnus-group-expunge-group): Renamed from
1589         gnus-group-nnimap-expunge, and implemented as a normal interface
1590         function.
1591
1592         * gnus-int.el (gnus-request-expunge-group): New function.
1593
1594         * nnimap.el (nnimap-request-create-group): Implement.
1595         (nnimap-request-expunge-group): New function.
1596
1597 2010-09-21  Julien Danjou  <julien@danjou.info>
1598
1599         * gnus-html.el (gnus-html-image-cache-ttl): Add new variable.
1600         (gnus-html-cache-expired): Add new function.
1601         (gnus-html-wash-images): Use `gnus-html-cache-expired' to check
1602         wethever we should display image for fetch it.
1603         Compute alt-text earlier to pass it to the fetching function too.
1604         (gnus-html-schedule-image-fetching): Change function argument to only
1605         get one image at a time, not a list.
1606         (gnus-html-image-fetched): Use `url-store-in-cache' to store image in
1607         cache.
1608         (gnus-html-get-image-data): New function to retrieve image data from
1609         cache.
1610         (gnus-html-put-image): Change buffer argument to use image data rather
1611         than file, and place image above region rather than inserting a new
1612         one. Do not take alt-text as argument, since it's useless now: we place
1613         the image above alt-text.
1614         (gnus-html-prune-cache): Remove.
1615         (gnus-html-show-images): Start to fetch image when we find one, do not
1616         push into a temporary list.
1617         (gnus-html-prefetch-images): Only fetch image if they have expired.
1618         (gnus-html-browse-image): Fix, use 'gnus-image-url.
1619         (gnus-html-image-map): Add "v" to browse-url on undisplayed image.
1620
1621 2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>
1622
1623         * rfc2047.el (rfc2047-encode-parameter): Doc fix.
1624
1625 2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1626
1627         * gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen)
1628         spec inser "*" if the group isn't active instead of 0.
1629
1630         * nnimap.el (nnimap-request-group): Don't select the imap buffer before
1631         opening the server.
1632         (nnimap-request-delete-group): Implement group deletion.
1633         (nnimap-transform-headers): Return the size of the entire message in
1634         the Bytes header, not just the size of the first part.
1635         (nnimap-request-move-article): When moving an article from nnimap,
1636         request the article first so the accepting form has an article to
1637         accept.  Reported by Dan Christensen.
1638         (nnimap-command): Make sure that the error message doesn't error out.
1639
1640 2010-09-20  David Edmondson  <dme@dme.org>  (tiny change)
1641
1642         * nnimap.el (nnimap-request-set-mark): Don't wait for a response when
1643         we haven't requested anything.
1644
1645 2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1646
1647         * nnimap.el (nnimap-fetch-inbox): Use "[]" as the parameter instead of
1648         "".  Fix found by Andrew Cohen.
1649
1650         * mail-parse.el (mail-header-encode-parameter): Use -encode-parameter
1651         instead of -encode-string.
1652
1653 2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>
1654
1655         * gnus-html.el (gnus-html-image-fetched): Pass arg to kill-buffer.
1656
1657         * gnus-sum.el (gnus-summary-update-mark): Replace subst-char-in-string
1658         by mm-subst-char-in-string.
1659
1660 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1661
1662         * nnimap.el (nnimap-wait-for-connection): Avoid a race condition while
1663         waiting for the connection string.
1664
1665         * gnus-html.el (gnus-html-image-fetched): Protect against the data not
1666         arriving.
1667
1668         * gnus-start.el (gnus-ignored-newsgroups): Remove [] from the list of
1669         bogus characters.  This allows selecting certain Gmail groups.
1670
1671         * nnimap.el (nnimap-find-wanted-parts-1): New function.
1672         (nnimap-fetch-partial-articles): New variable.
1673         (nnimap-open-connection): When looking for credentials, also use the
1674         nnimap-server-port.
1675         (nnimap-request-article): Return the group/article number, so that Gnus
1676         `^' works as expected.
1677         (nnimap-find-wanted-parts-1): Return the MIME parts as IMAP wants
1678         them.
1679
1680         * gnus.el (gnus-similar-server-opened): Refactor a bit and add
1681         comments.
1682         (gnus-methods-sloppily-equal): New function.
1683         (gnus): When using the development version of Gnus, load the gnus-load
1684         file.
1685
1686         * gnus-start.el (gnus-get-unread-articles): Make sure that we call
1687         `gnus-open-server' on each method before trying to scan them etc.  This
1688         ensures that all the backend parameters are set correctly.
1689
1690         * nnimap.el (nnimap-authenticator): New variable.
1691         (nnimap-open-connection): Allow anonymous login.
1692         (nnimap-transform-headers): The chars header is called Chars not
1693         Bytes.
1694         (nnimap-wait-for-response): Don't infloop if the IMAP connection
1695         drops.
1696
1697         * gnus-art.el (gnus-article-describe-briefly): Fix up typo in last
1698         patch, found by Knut Anders Hatlen.
1699
1700 2010-09-19  Andreas Schwab  <schwab@linux-m68k.org>
1701
1702         * gnus-agent.el (gnus-agent-batch-confirmation)
1703         (gnus-agent-expire-group, gnus-agent-expire): Pass proper format string
1704         to gnus-message.
1705         * gnus-art.el (gnus-article-describe-briefly): Likewise.
1706         * gnus-group.el (gnus-group-list-groups, gnus-group-describe-group)
1707         (gnus-group-edit-global-kill, gnus-group-describe-briefly): Likewise.
1708         * gnus-int.el (gnus-open-server): Likewise.
1709         * gnus-score.el (gnus-score-edit-current-scores, gnus-score-edit-file)
1710         (gnus-score-check-syntax): Likewise.
1711         * gnus-srvr.el (gnus-browse-describe-briefly): Likewise.
1712         * gnus-start.el (gnus-read-active-file-1, gnus-read-active-file-1):
1713         Likewise.
1714         * gnus-sum.el (gnus-summary-describe-briefly): Likewise.
1715
1716 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1717
1718         * gnus-html.el (gnus-html-prefetch-images): Fix up the url-retrieve
1719         calling conventions so that prefetch doesn't bug out.
1720
1721 2010-09-19  Julien Danjou  <julien@danjou.info>
1722
1723         * gnus-sum.el (gnus-summary-update-mark): Use `subst-char-in-string'
1724         rather than `subst-char-in-region' in order to be able to replace ASCII
1725         char by UTF-8 ones.
1726
1727         * gnus-html.el (gnus-html-prefetch-images): Use `url-retrieve' rather
1728         than curl.
1729         (gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting
1730         the right URL and ALT text on images.
1731         (gnus-html-wash-tags): Fix tag case.
1732         Add support for `s' and `ins' tags.  Use gnus-emphasis-* faces.
1733         (gnus-article-html): Add -o display_ins_del=2 option.
1734         (gnus-html-wash-tags): Add better support for <ul> tags symbols.
1735
1736 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1737
1738         * nnheader.el (nnheader-insert-nov): Protect against junk appearing in
1739         the extra mail headers, which sometimes seem to happen for unknown
1740         reasons.
1741
1742         * mail-parse.el (mail-header-encode-parameter): Define as
1743         rfc2045-encode-string instead of as rfc2231-encode-string, since some
1744         (or most, perhaps?) mail readers don't understand the latter, but do
1745         understand the former.
1746
1747         * gnus-agent.el (gnus-agent-auto-agentize-methods): Switch the default
1748         to nil, so that no methods are automatically agentized.  I think this
1749         is probably what most users want.
1750
1751         * gnus-html.el (gnus-html-schedule-image-fetching): Ignore all errors
1752         from url-retrieve, for instance about invalid URLs.
1753
1754         * nnimap.el (nnimap-finish-retrieve-group-infos): Protect against
1755         groups that have no articles.
1756         (nnimap-request-article): Check that we really got an article when we
1757         requested one.
1758
1759         * gnus-agent.el (gnus-agent-load-alist): Nix out the alist if the file
1760         doesn't exist.
1761
1762         * nnimap.el (nnimap-finish-retrieve-group-infos): Return data in the
1763         nntp buffer so the agent can save it.
1764         (nnimap-open-shell-stream): Bind `process-connection-type' to nil, so
1765         that CRLF doesn't get translated to \n.
1766         (nnimap-open-connection): Don't make 'shell commands only send \n.
1767
1768 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1769
1770         * nnml.el (nnml-files): Add prefix to dynamic var `files'.
1771         (nnml-generate-nov-databases-directory, nnml-generate-active-info):
1772         Update var name.
1773         (nnml-generate-nov-file): Use dolist.
1774         (nnml-directory-articles, nnml-current-group-article-to-file-alist):
1775         Use with-current-buffer.
1776
1777 2010-09-18  Julien Danjou  <julien@danjou.info>
1778
1779         * gnus-html.el (gnus-html-schedule-image-fetching): Fetch all images in
1780         parallel.
1781
1782 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1783
1784         * nnimap.el (nnimap-update-info): When doing partial marks update, get
1785         the range update right.
1786         (nnimap-request-group): Don't make `M-g' bug out on group with no
1787         marks.
1788         (nnoo): Required, so that other packages can require nnimap.
1789         (nnimap-wait-for-response): Be a bit more lax in finding the end of the
1790         command we're looking for.  This helps when the server sends more
1791         responses after we've gotten everything we expected.
1792         (nnimap): Add a `newlinep' field to keep track of end-of-line
1793         conventions.
1794         Don't send CRLF to things that don't want it.
1795         (nnimap-request-accept-article): Ditto.
1796
1797 2010-09-18  Julien Danjou  <julien@danjou.info>
1798
1799         * gnus-html.el (gnus-html-schedule-image-fetching): Use `url' rather
1800         than curl to retrieve images.
1801
1802 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1803
1804         * nnimap.el (nnimap-update-info): Extend the info so that we can set
1805         the marks.
1806         (nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.
1807         (nnimap-wait-for-connection): New function.
1808         (nnimap-open-connection): If we have PREAUTH, don't query for login
1809         credentials.
1810         (nnimap-update-info): Fix off-by-one error when concatenating ranges
1811         when doing a partial update.
1812
1813 2010-09-18  Julien Danjou  <julien@danjou.info>
1814
1815         * gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML
1816         tags.
1817
1818 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1819
1820         * nnimap.el (nnimap-credentials): New function.
1821         (nnimap-open-connection): Use the new function to look for credentials
1822         also on the numeric equivalents of "imap" and "imaps".
1823
1824         * gnus-start.el (gnus-activate-group): Send the info to
1825         gnus-request-group.
1826
1827         * nnimap.el (nnimap-request-group): Have the "check" version of the
1828         function parse flags and update the info, so that a `M-g' get a total
1829         resync of all flags from the group.
1830
1831         * gnus-int.el (gnus-request-group): Take an optional `info' parameter
1832         to allow backends to alter the info on group selection.  Also alter all
1833         the backend -request-group functions to take the parameter.
1834
1835         * nnimap.el (nnimap-store-info): New function.
1836         (nnimap-update-info): Store the info for later usage.
1837         (nnimap-request-group): Use the stored info for the dont-check case, so
1838         that we don't retrieve all marks when we enter a group.
1839
1840         * nnimap.el: Use deffoo instead of defun for interface functions.
1841
1842         * gnus-start.el (gnus-get-unread-articles): Allow the backends to
1843         update the group info.  This makes the nndraft groups, for instance, go
1844         back to their old behaviour.
1845
1846         * gnus-sum.el (gnus-select-newsgroup): Indent.
1847
1848         * nnimap.el (nnimap-possibly-change-group): Return nil if we can't log
1849         in.
1850         (nnimap-finish-retrieve-group-infos): Make sure we're not waiting for
1851         nothing.
1852
1853         * gnus-start.el (gnus-get-unread-articles): Don't try to scan groups
1854         from methods that are denied.
1855
1856         * gnus-int.el (gnus-method-denied-p): New function.
1857
1858         * nnimap.el (nnimap-open-connection): Use auth-sources to query and
1859         store the password instead of netrc.
1860         (nnimap-open-connection): Don't error out when we can't make a
1861         connections.
1862
1863         * auth-source.el (auth-source-create): In the password prompt, say what
1864         we're querying for.  Also prompt for user name if that hasn't been
1865         given.
1866
1867         * nnimap.el (nnimap-with-process-buffer): Removed.
1868
1869 2010-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1870
1871         * gnus-start.el (gnus-read-active-for-groups): Don't use the "finish"
1872         method when we're reading from the agent.
1873
1874         * nnagent.el (nnagent-retrieve-group-data-early): New dummy method.
1875
1876         * auth-source.el (auth-sources): Add ~/.authinfo to the default, since
1877         that's probably most useful for users.
1878
1879         * gnus-int.el (gnus-check-server): Save result so that it doesn't say
1880         "failed" all the time.
1881
1882         * gnus.el: Throughout all files, replace (save-excursion (set-buffer
1883         ...)) with (with-current-buffer ... ).
1884
1885         * nntp.el (nntp-open-server): Return whether the open was successful or
1886         not.
1887
1888         * gnus-sum.el (gnus-summary-first-subject): Have `unseen-or-unread'
1889         select an unread unseen article first.
1890
1891         * nnimap.el (nnimap-open-connection): If the user doesn't have a
1892         /etc/services, supply some sensible port defaults.
1893
1894         * dgnushack.el: Define netrc-credentials.
1895
1896 2010-09-17  Julien Danjou  <julien@danjou.info>
1897
1898         * mm-decode.el (mm-text-html-renderer): Document gnus-article-html.
1899
1900 2010-09-17  Knut Anders Hatlen  <kahatlen@gmail.com>  (tiny change)
1901
1902         * nnimap.el (nnimap-get-groups): Don't bug out if the LIST command
1903         doesn't have any parameters.
1904
1905 2010-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1906
1907         * nnimap.el (nnimap-open-connection): Upcase all capabilities, and use
1908         only upcased checks.
1909
1910         * nnmail.el (nnmail-article-group): Fix typo in "bogus" section.
1911
1912         * nnimap.el (nnimap-open-shell-stream): New function.
1913         (nnimap-open-connection): Use it.
1914         (nnimap-transform-headers): Get the number of lines in each message.
1915         (nnimap-retrieve-headers): Query for BODYSTRUCTURE so that we get the
1916         number of lines.
1917         (nnimap-request-list): Not all servers return UIDNEXT.  Work past this
1918         problem.
1919
1920         * utf7.el (utf7-encode): Autoload.
1921
1922         * nnmail.el (nnmail-inhibit-default-split-group): New internal variable
1923         to allow the mail splitting to not return a default group.  This is
1924         useful for nnimap, which will leave unmatched mail in the inbox.
1925
1926         * nnimap.el: Rewritten.
1927
1928         * gnus.el (gnus-article-special-mark-lists): Add uid/active tuples, for
1929         nnimap usage.
1930
1931         * gnus-sum.el (gnus-summary-move-article): Pass the move-to group name
1932         if the move is internal, so that nnimap can do fast internal moves.
1933
1934         * gnus-start.el (gnus-get-unread-articles): Support early retrieval of
1935         data.
1936         (gnus-read-active-for-groups): Support finishing the early retrieval of
1937         data.
1938
1939         * gnus-range.el (gnus-range-nconcat): New function.
1940
1941         * gnus-int.el (gnus-finish-retrieve-group-infos)
1942         (gnus-retrieve-group-data-early): New functions.
1943
1944 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1945
1946         * nnrss.el (nnrss-retrieve-headers, nnrss-request-list-newsgroups)
1947         (nnrss-retrieve-groups):
1948         * pop3.el (pop3-open-server, pop3-read-response, pop3-list, pop3-retr)
1949         (pop3-quit): Use with-current-buffer.
1950
1951 2010-09-17  Katsumi Yamaoka  <yamaoka@jpl.org>
1952
1953         * pop3.el (pop3-wait-for-messages): Use pop3-accept-process-output
1954         instead of nnheader-accept-process-output.
1955
1956         * dgnushack.el (dgnushack-compile): Add comment.
1957
1958         * lpath.el: No need to fbind propertize for XEmacs 21.4.
1959
1960         * gnus-html.el (gnus-html-schedule-image-fetching)
1961         (gnus-html-prefetch-images): Replace process-kill-without-query by
1962         gnus-set-process-query-on-exit-flag.
1963
1964 2010-09-16  Romain Francoise  <romain@orebokech.com>
1965
1966         * gnus-html.el: Require gnus-art for `gnus-with-article-buffer'.
1967
1968 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1969
1970         * gnus-registry.el (gnus-registry-install-shortcuts): The second
1971         parameter to unintern is mandatory-ish in Emacs 24.
1972
1973         * gnus-html.el (gnus-html-schedule-image-fetching)
1974         (gnus-html-prefetch-images): Check for curl before using it.
1975
1976         * mm-decode.el (mm-text-html-renderer): Don't have gnus-article-html
1977         depend on curl, which isn't essential.
1978
1979         * imap.el: Revert back to version
1980         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
1981         seem problematic.
1982
1983 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
1984
1985         * gnus-registry.el (gnus-registry-install-shortcuts):
1986         Explicitly pass `obarray' to `unintern' to avoid a warning.
1987
1988 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1989
1990         * gnus-start.el (gnus-read-active-for-groups): Reverted the previous
1991         change.
1992
1993         * nnrss.el (nnrss-request-list): Removed this function and related
1994         functions, including the moreover stuff.
1995
1996 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1997
1998         * nnrss.el (nnrss-retrieve-groups): New function.
1999
2000 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
2001
2002         * .dir-locals.el: Add no-byte-compile cookie.
2003
2004 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
2005
2006         * time-date.el (format-seconds): Comment fix.
2007
2008         * gnus-start.el (gnus-read-active-for-groups): Run gnus-activate-group
2009         for back end that doesn't support request-scan.
2010
2011 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2012
2013         * gnus-start.el (gnus-read-active-file-1): If gnus-agent isn't set,
2014         then do request scans from the backends.
2015
2016         * netrc.el (netrc-credentials): New conveniency function.
2017
2018         * gnus-sum.el (gnus-summary-update-hook): Change default to nil, to
2019         avoid running a hook per line, since this takes a lot of time,
2020         profiling shows.
2021         (gnus-summary-prepare-threads): Call `gnus-summary-highlight-line'
2022         directly if gnus-visual-p is true.
2023
2024 2010-09-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2025
2026         * gnus-start.el (gnus-read-active-for-groups): Check only subscribed
2027         groups; replace mapcar with dolist which is a bit faster; pass groups
2028         info to gnus-read-active-file-1.
2029         (gnus-read-active-file-1): Scan only specified groups if the new
2030         optional arg `infos' is given.
2031
2032 2010-09-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2033
2034         * mail-source.el (mail-source-fetch-pop): Use pop3-movemail again.
2035
2036         * pop3.el (pop3-movemail): Removed.
2037         (pop3-streaming-movemail): Renamed to pop3-movemail.
2038
2039         * gnus-html.el (gnus-html-wash-tags): Refactor out the image bit, and
2040         don't restrict end-tag searches to the end of the line.
2041
2042 2010-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
2043
2044         * gnus-start.el (gnus-get-unread-articles): Set the number of unread
2045         articles of every unchecked group to t, which means unknown since the
2046         server has never been opened.
2047
2048 2010-09-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2049
2050         * gnus-html.el (gnus-html-show-alt-text): New command.
2051         (gnus-html-browse-image): Ditto.
2052         (gnus-html-wash-tags): Add the data to allow showing the ALT text and
2053         to browse the image directly.
2054         (gnus-html-wash-tags): Search for images first, so that <a><img> works
2055         better.
2056
2057         * gnus-async.el (gnus-async-article-callback): Call
2058         `gnus-html-prefetch-images' unconditionally.
2059
2060         * gnus-html.el (gnus-html-schedule-image-fetching): Decode entities
2061         before feeding URLs to curl.
2062
2063 2010-09-07  Katsumi Yamaoka  <yamaoka@jpl.org>
2064
2065         * gnus-html.el (gnus-html-wash-tags, gnus-html-put-image): Mark cid and
2066         internal images as deletable by `W D D'.
2067
2068         * gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling.
2069         (gnus-async-article-callback): Fix typo.
2070
2071 2010-09-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2072
2073         * gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the
2074         current line to work around bugs in the output from w3m.
2075
2076         * gnus-async.el (gnus-async-article-callback): Always prefetch images
2077         for groups that want that.
2078
2079         * nntp.el (nntp-wait-for-string): Supply a timeout for
2080         accept-process-output to ensure progress.
2081
2082         * gnus-start.el (gnus-get-unread-articles): If being given an explicit
2083         level to get unread articles from, then use that for foreign groups,
2084         too.
2085
2086         * gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which
2087         confuses the rest of the function.
2088
2089         * gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan'
2090         for the methods that support -retrieve-groups, too.
2091
2092         * nnml.el (nnml-save-nov): Remove some debugging-related messages.
2093
2094 2010-09-06  Katsumi Yamaoka  <yamaoka@jpl.org>
2095
2096         * dgnushack.el (dgnushack-compile, dgnushack-make-cus-load)
2097         (dgnushack-make-auto-load): Exclude .dir-locals.el file.
2098
2099         * pop3.el: Require cl when compiling.
2100         (pop3-number-of-responses): Search for "+OK", not "+OK ".
2101
2102 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2103
2104         * gnus-start.el (gnus-get-unread-articles): Don't bother with groups
2105         that aren't going to be activated.
2106         (gnus-get-unread-articles): Fix up the last commit.
2107
2108         * gnus-html.el (gnus-article-html): Allow calling without specifying
2109         the handle.  In that case, dissect the buffer first.
2110
2111         * gnus-sum.el (gnus-set-mode-line): Don't pad the mode line string.
2112
2113         * nnimap.el (nnimap-open-connection): Revert the change that would look
2114         into authinfo for imaps instead of imap.
2115
2116         * gnus-start.el (gnus-activate-group): Take an optional parameter to
2117         say that you don't want to call gnus-request-group with don-check, but
2118         do check the reponse.  This is for virtual groups only.
2119         (gnus-get-unread-articles): Count the archive groups as secondary, so
2120         that they're activated the same way as before.
2121
2122         * imap.el (imap-message-map): Removed optional buffer parameter, since
2123         no callers use it.
2124         (imap-message-get): Ditto.
2125         (imap-message-put): Ditto.
2126         (imap-mailbox-map): Ditto.
2127         (imap-mailbox-put): Ditto.
2128         (imap-mailbox-get): Ditto.
2129         (imap-mailbox-get): Revert last change for this function.
2130
2131         * nnimap.el (nnimap-request-list): Servers may return \NoSelect
2132         case-insensitively.
2133         (nnimap-debug): Removed.
2134
2135         * imap.el (imap-fetch-safe): Removed function, and altered all callers
2136         to use `imap-fetch' instead.  According to the comments, this should be
2137         safe, since all other IMAP clients use the 1:* syntax.
2138         (imap-enable-exchange-bug-workaround): Removed.
2139         (imap-debug): Removed -- doesn't seem very useful.
2140
2141         * mail-source.el (mail-source-fetch): Don't message if we're fetching
2142         mail from a file, and the file doesn't exist.
2143
2144         * imap.el (imap-log): New convenience function used throughout instead
2145         of repeating the same code all over the place.
2146
2147         * pop3.el (pop3-streaming-movemail): Return t for success.
2148
2149         * nnimap.el (nnimap-open-connection): Look for the "imaps" entry in the
2150         .authinfo if we're using ssl connection.
2151
2152         * nnvirtual.el (nnvirtual-create-mapping): Use the active info we
2153         already have if we're in a main Gnus `g' run.
2154
2155         * gnus-start.el (gnus-method-rank): Get info for virtual groups last.
2156
2157 2010-09-05  Katsumi Yamaoka  <yamaoka@jpl.org>
2158
2159         * gnus-start.el (gnus-method-rank): Replace equalp with equal.
2160
2161         * nnmh.el (nnmh-request-list-1): Bind `file'.
2162
2163         * pop3.el (pop3-set-process-query-on-exit-flag): New function that's an
2164         alias to set-process-query-on-exit-flag or process-kill-without-query.
2165         (pop3-open-server): Use it.
2166
2167 2010-09-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2168
2169         * mail-source.el (mail-source-delete-crash-box): Always move the crash
2170         box to the Incoming file.  Fixes mistake in previous checkin.
2171
2172         * pop3.el (pop3-send-streaming-command): Off-by-one error on the
2173         request loop (for debugging purposes) removed.
2174
2175         * nnml.el (nnml-save-nov): Message around nnml-save-nov so that the
2176         culprit is more visible.
2177         (nnml-save-incremental-nov, nnml-open-incremental-nov)
2178         (nnml-add-incremental-nov): New functions to do "incremental" nov
2179         updates, where we just append to the end of the existing nov files
2180         without reading/writing them in full.
2181
2182         * mail-source.el (mail-source-delete-crash-box): Really only check the
2183         incoming files once in a while.
2184
2185         * pop3.el (pop3-streaming-movemail): Always close the pop3 connection.
2186
2187         * mail-source.el (mail-source-delete-crash-box): Only check the
2188         incoming files for deletion once per day to save a lot of file
2189         accesses.
2190
2191         * pop3.el (pop3-logon): Fix up unbound variable typo.
2192
2193         * mail-source.el (pop3-streaming-movemail): Autoload.
2194
2195         * pop3.el (pop3-streaming-movemail): Respect
2196         pop3-leave-mail-on-server.
2197
2198         * mail-source.el (mail-source-fetch-pop): Use streaming pop3
2199         retrieval.
2200
2201         * pop3.el (pop3-process-filter): Removed unused function.
2202         (pop3-streaming-movemail, pop3-send-streaming-command)
2203         (pop3-wait-for-messages, pop3-write-to-file)
2204         (pop3-number-of-responses): New functions for streaming pop3
2205         retrieval.
2206
2207         * gnus-start.el (gnus-get-unread-articles): Protect against groups that
2208         come from no known methods.
2209         (gnus-make-hashtable-from-newsrc-alist): Remove duplicates from .newsrc
2210         list.
2211
2212         * pop3.el (pop3-display-message-size-flag): Removed -- everybody wants
2213         message sizes.
2214         (pop3-movemail): Use erase-buffer instead of looping and deleting
2215         regions, which seems rather odd.
2216
2217         * gnus-agent.el (gnus-agent-load-local): Only read the agent.lib/local
2218         file once per `g' run.
2219
2220         * nnmh.el (nnmh-request-list-1): Output active lines also for empty
2221         directories.  This makes the draft queue directory work.
2222
2223         * gnus-start.el (gnus-get-unread-articles): Rewrite the way we request
2224         data from the backends, so that we only request the list of groups from
2225         each method once.  This should speed things up considerably.
2226
2227         * nnvirtual.el (nnvirtual-request-list): Remove function so that we can
2228         detect that it's not implemented.
2229
2230         * nnmh.el (nnmh-request-list-1): Fix up the recursion behavior so that
2231         we actually do recurse down into the tree, but don't stat all leaf
2232         nodes.
2233
2234         * gnus-html.el (gnus-html-show-images): If there are no images to show,
2235         then say so instead of bugging out.
2236
2237         * gnus-agent.el (gnus-agent-load-alist): Check whether the agentview
2238         files exist before trying to read them.
2239
2240         * gnus-html.el (gnus-html-wash-tags): Remove even more white space
2241         around <pre_int>.
2242
2243         * gnus-art.el (gnus-article-copy-string): Say what data we copied.
2244
2245         * nnmh.el (nnmh-request-list-1): Optimize for speed.
2246
2247 2010-09-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2248
2249         * mm-util.el (mm-image-load-path): Just return the image directories,
2250         not all directories in the path in addition to the image directories.
2251         (mm-image-load-path): Maintain a cache of the image directories so that
2252         the `g' command in Gnus doesn't have to stat dozens of directories each
2253         time.
2254
2255         * gnus-html.el (gnus-html-put-image): Allow images to be removed.
2256         (gnus-html-wash-tags): Add a new `i' command to insert images.
2257         (gnus-html-insert-image): New command and keystroke.
2258         (gnus-html-redisplay-with-images): New command and keystroke.
2259         (gnus-html-show-images): Renamed command.
2260         (gnus-html-wash-tags): Remove more white space before <pre_int> image
2261         spacers.
2262         (gnus-html-wash-tags): Decode entities at the end, so that entities
2263         inside the tags don't mess up the rest of the "parsing".
2264
2265         * gnus-agent.el (gnus-agent-auto-agentize-methods): Change the default
2266         so that nnimap methods aren't agentized by default.  There's apparently
2267         many problems related to agent/imap behaviour.
2268
2269         * gnus-art.el (gnus-article-copy-string): New command and key binding.
2270
2271         * gnus-html.el: Doc fix.
2272
2273 2010-09-03  Katsumi Yamaoka  <yamaoka@jpl.org>
2274
2275         * lpath.el: Fbind device-on-window-system-p, glyph-image, glyphp, and
2276         specifier-spec-list for Emacs 21.
2277
2278         * gnus-html.el (gnus-html-put-image): Use gnus-graphic-display-p,
2279         glyph-width and glyph-height instead of display-graphic-p and
2280         image-size; make avoidance of displaying small images work for XEmacs.
2281
2282         * gnus-util.el (gnus-graphic-display-p): Use device-on-window-system-p
2283         for XEmacs.
2284
2285         * gnus-ems.el (gnus-set-process-plist, gnus-process-plist): Change name
2286         of symbol that holds plist data.
2287         (gnus-process-plist): Remove plist of process after getting it.
2288
2289 2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2290
2291         * message.el (message-generate-hashcash): Change default to
2292         'opportunistic if hashcash is installed.
2293
2294         * gnus-html.el (gnus-html-rescale-image): Fix up typo in rescaling.
2295         (gnus-html-put-image): Only call image-size once, since it's somewhat
2296         time-consuming on remote X servers.
2297
2298 2010-09-02  Katsumi Yamaoka  <yamaoka@jpl.org>
2299
2300         * gnus-xmas.el (gnus-xmas-create-image): Don't try to examine image
2301         type on data, not a file name.
2302
2303         * lpath.el: Fbind w3-parse-buffer for Emacs <=22 and XEmacs; fbind
2304         window-pixel-edges for Emacs 21.
2305
2306         * gnus-html.el (gnus-article-html): Make work buffer multibyte for
2307         decoded contents.
2308         (gnus-html-put-image, gnus-html-rescale-image): Pass `file' argument.
2309
2310 2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2311
2312         * gnus-group.el (gnus-group-line-format): Remove %O (moderated) from
2313         group line format, since it isn't very interesting.
2314
2315         * gnus-agent.el (gnus-agent-short-article),
2316         (gnus-agent-long-article): Increase values for these two variables,
2317         since most people are likely to have more network connection and
2318         storage than before.
2319
2320         * gnus.el (gnus-refer-article-method): Change default to 'current.
2321         When referring an article, the common behaviour is to refer it from the
2322         current select method, not the native select method.  The chances of
2323         the native select method having the message in question is rather slim
2324         these days.
2325
2326         * gnus-sum.el (gnus-auto-select-subject): Change default to
2327         `unseen-or-unread'.  I think it's likely that most people want to
2328         select an unseen article over a previously seen, but unread one.
2329
2330         * gnus.el (gnus-mode-non-string-length): Change default to 30.  nil
2331         means that in the article buffer none of the minor mode elements will
2332         be shown, usually, and this is not desirable in most cases.
2333
2334         * gnus-sum.el (gnus-summary-goto-unread): Change default to nil, so
2335         that commands like `d' (and the like) go to the next line in the
2336         buffer, instead of the next unread article.  I think this is the
2337         behaviour that is most natural for most users.
2338         (gnus-single-article-buffer): Change default to nil, so that people can
2339         have as many article buffers open as they have summary buffer.  I think
2340         this is the most natural way for the groups to behave.
2341
2342         * message.el (message-generate-new-buffers): Change default to
2343         `unsent', so that all new message buffers start their names with the
2344         string "*unsent", and it's easier to find the buffers if you move from
2345         them.
2346
2347 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2348
2349         * gnus-html.el (gnus-html-wash-tags): Don't show images that are really
2350         small.  They're probably tracking images.
2351         (gnus-html-wash-tags): Remove all <pre_int> place holders.
2352         (gnus-html-rescale-image): Yet another try at getting the image sizing
2353         right.
2354
2355         * nntp.el (nntp-request-set-mark): Refuse to do marks if
2356         nntp-marks-file-name is nil.
2357
2358 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
2359
2360         * gnus-html.el (gnus-html-wash-tags)
2361         (gnus-html-schedule-image-fetching, gnus-html-image-url-blocked-p):
2362         Better logging.
2363
2364 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2365
2366         * nndoc.el (nndoc-type-alist): Added a new type for Google digests.
2367
2368         * gnus-html.el (gnus-html-wash-tags): Check the value of
2369         gnus-blocked-images in the summary buffer.
2370
2371 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
2372
2373         * gnus-html.el (gnus-html-image-url-blocked-p): Doc fix.
2374
2375 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2376
2377         * gnus-html.el (gnus-html-wash-tags): "A" is also used for links, just
2378         like "a", it seems like.
2379         (gnus-html-image-url-blocked-p): Take a parameter for blocked-images
2380         since it needs to be picked from the correct buffer.
2381
2382         * nnwfm.el: Removed.
2383
2384         * nnlistserv.el: Removed.
2385
2386 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
2387
2388         * gnus-html.el (gnus-html-image-url-blocked-p): New function.
2389         (gnus-html-prefetch-images, gnus-html-wash-tags): Use it.
2390
2391 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2392
2393         * nnkiboze.el: Removed.
2394
2395         * nndb.el: Removed.
2396
2397         * gnus-html.el (gnus-html-put-image): Use the deleted text as the image
2398         alt text.
2399         (gnus-html-rescale-image): Try to get the rescaling logic right for
2400         images that are just wide and not tall.
2401
2402         * gnus.el (gnus-string-or): Fix the syntax to not use eval or
2403         overshadow variable bindings.
2404
2405 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
2406
2407         * gnus-html.el (gnus-html-wash-tags)
2408         (gnus-html-schedule-image-fetching, gnus-html-prefetch-images): Add
2409         extra logging.
2410
2411 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2412
2413         * gnus-html.el (gnus-html-wash-tags): Delete the IMG_ALT region.
2414         (gnus-max-image-proportion): New variable.
2415         (gnus-html-rescale-image): New function.
2416         (gnus-html-put-image): Rescale images.
2417
2418 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2419
2420         Fix up some byte-compiler warnings.
2421         * gnus.el (gnus-group-find-parameter, gnus-kill-save-kill-buffer):
2422         * gnus-cite.el (gnus-article-highlight-citation, gnus-dissect-cited-text)
2423         (gnus-article-fill-cited-article, gnus-article-hide-citation)
2424         (gnus-article-hide-citation-in-followups, gnus-cite-toggle):
2425         * gnus-group.el (gnus-group-set-mode-line, gnus-group-quit)
2426         (gnus-group-set-info, gnus-add-mark): Use with-current-buffer.
2427         (gnus-group-update-group): Use save-excursion and with-current-buffer.
2428
2429 2010-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
2430
2431         * gnus-html.el (gnus-article-html): Decode contents by charset.
2432
2433 2010-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
2434
2435         * gnus-html.el (gnus-html-cache-directory, gnus-html-cache-size)
2436         (gnus-html-frame-width, gnus-blocked-images)
2437         * message.el (message-prune-recipient-rules): Add custom version.
2438         * gnus-sum.el (gnus-auto-expirable-marks): Bump custom version.
2439
2440         * gnus-ems.el (gnus-process-get, gnus-process-put): New compatibility
2441         functions.
2442
2443         * gnus-html.el (gnus-html-curl-sentinel): Replace process-get with
2444         gnus-process-get.
2445
2446 2010-08-31  Julien Danjou  <julien@danjou.info>  (tiny change)
2447
2448         * nnimap.el (nnimap-request-newgroups): Use nnimap-request-list-method
2449         instead of lsub directly.
2450
2451 2010-08-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2452
2453         * nnwarchive.el: Removed.
2454
2455         * gnus-soup.el: Removed.
2456
2457         * nnsoup.el: Removed.
2458
2459         * nnultimate.el: Removed.
2460
2461         * gnus-html.el (gnus-blocked-images): New variable.
2462
2463         * message.el (message-prune-recipients): New function.
2464         (message-prune-recipient-rules): New variable.
2465
2466         * gnus-cite.el (gnus-article-natural-long-line-p): New function to
2467         guess whether a long line is natural text or not.
2468
2469         * gnus-html.el (gnus-html-schedule-image-fetching): Use
2470         gnus-process-plist and friends for compatibility.
2471
2472 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2473
2474         * gnus-html.el: Require packages that define macros used in this file.
2475         (gnus-article-mouse-face): Declare to silence byte-compiler.
2476         (gnus-html-curl-sentinel): Use with-current-buffer, inhibit-read-only, and
2477         process-get.
2478         (gnus-html-put-image): Use plist-get to avoid getf.
2479         (gnus-html-prefetch-images): Use with-current-buffer.
2480
2481 2010-08-31  Katsumi Yamaoka  <yamaoka@jpl.org>
2482
2483         * gnus-ems.el: Provide compatibility functions for
2484         gnus-set-process-plist.
2485
2486         * lpath.el: Bind completion-styles for Emacs 21 and XEmacs; bind
2487         header-line-format for XEmacs 21.4.
2488
2489         * gnus-sum.el (gnus-summary-stop-at-end-of-message)
2490         * gnus.el (gnus-valid-select-methods)
2491         * message.el (message-send-mail-partially-limit)
2492         * mm-decode.el (mm-text-html-renderer)
2493         * mml.el (mml-insert-mime-headers-always)
2494         * smiley.el (smiley-regexp-alist): Bump custom version.
2495
2496 2010-08-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2497
2498         * gnus-html.el: require mm-url.
2499         (gnus-html-wash-tags): Clarify the code a bit by renaming the variable
2500         with the url to `url'.
2501         (gnus-html-wash-tags): Support cid: URLs/images.
2502
2503 2010-08-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2504
2505         * gnus-sum.el: As per discussion 3 years, 8 weeks, 3 days, 9 hours, 57
2506         minutes, 56 seconds ago on the ding list, remove the `w' and `i'
2507         bindings, as they aren't useful at all.  `w' is moved to `W w'.
2508
2509         * gnus-move.el: Removed file, since it doesn't really work.
2510
2511         * gnus-html.el (gnus-article-html): Tell w3m that the input is
2512         UTF-8.  This seems to fix problems with some German web feeds.
2513
2514         * gnus.el (gnus-group-startup-message): Put the xpm version of the logo
2515         at the top so that the proper colours are applied.
2516
2517         * gnus-xmas.el (gnus-xmas-create-image): Make this work on files that
2518         don't have dots in their names.
2519
2520         * gnus-art.el (gnus-article-view-part): Doc fix.
2521
2522         * gnus-html.el (gnus-html-put-image): Use gnus-create-image to be
2523         XEmacs-compatible.
2524         (gnus-html-put-image): Don't do images on non-graphic displays.
2525
2526         * nnslashdot.el: Removed this unused backend.
2527
2528         * gnus-undo.el (gnus-undo-register-1): Limit the undo actions to 100
2529         actions.
2530         (gnus-undo-register-1): Revert last change.
2531
2532         * gnus-group.el (gnus-group-completing-read): Protect against not
2533         having completion-styles bound.
2534
2535         * mml.el (mml-insert-mime-headers-always): Change the default to t, to
2536         make broken recipients happier.
2537
2538         * gnus-html.el (gnus-html-put-image): Use gnus-put-image.
2539
2540         * gnus-ems.el (gnus-put-image): Have gnus-put-image take an optional
2541         point parameter.
2542
2543         * gnus-xmas.el (gnus-xmas-put-image): Ditto.
2544
2545         * gnus-group.el (gnus-group-completing-read): Add 'substring to
2546         completion-styles for group selection.
2547
2548 2009-02-04  Andreas Schwab  <schwab@suse.de>
2549
2550         * gnus-score.el (gnus-score-string): Fix regex for matching extra
2551         headers and regexp-quote the match if necessary.
2552
2553 2009-03-24  Miles Bader  <miles@gnu.org>
2554
2555         * smiley.el (smiley-regexp-alist): Don't delete the semicolon before
2556         the blinking smiley.
2557
2558 2009-03-24  Simon Josefsson  <simon@josefsson.org>
2559
2560         * smiley.el (smiley-regexp-alist): Disallow ;;) from being treated as a
2561         blink smiley.
2562
2563 2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2564
2565         * gnus-start.el (gnus-dribble-read-file): Ensure that the directory
2566         where the dribbel file lives exists.
2567
2568         * message.el (message-send-mail-partially-limit): Change the default to
2569         nil, since most people don't want this.
2570
2571         * mm-url.el (mm-url-decode-entities): Also decode entities like
2572         &#x3212.
2573
2574 2009-07-16  Kevin Ryde  <user42@zip.com.au>  (tiny change)
2575
2576         * gnus-sum.el (gnus-summary-idna-message):
2577         * nnrss.el (nnrss-normalize-date, nnrss-discover-feed):
2578         Hyperlink urls in docstrings with URL `...'.
2579
2580 2010-08-29  Adam Sjøgren  <asjo@koldfront.dk>
2581
2582         * gnus-html.el (gnus-html-put-image): Use XEmacs-compatible image
2583         functions.
2584
2585 2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2586
2587         * gnus-art.el (gnus-article-add-button): Take an optional parameter to
2588         say what the mouseover text should be.
2589
2590         * gnus-html.el (gnus-html-prefetch-images): Use the summary-local
2591         version of the mm-w3m-safe-url-regexp variable to only download images
2592         in the groups where we want that to happen.
2593
2594         * gnus-sum.el (gnus-summary-stop-at-end-of-message): New variable.
2595
2596         * gnus-art.el (gnus-article-beginning-of-window): Make into defun for
2597         easier debugging.
2598         (gnus-article-beginning-of-window): Add kludge to allow spacing past
2599         big pictures in the article buffer.
2600
2601         * mm-decode.el (mm-text-html-renderer): Default the html renderer to
2602         gnus-article-html.
2603         (mm-text-html-renderer): gnus-article-html needs curl in addition to
2604         w3m.
2605
2606         * gnus-html.el: Start a new super-simple HTML renderer based on w3m.
2607
2608 2010-08-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2609
2610         * gnus.el (gnus-valid-select-methods): Remove reference to nngoogle,
2611         which doesn't exist.
2612
2613         * message.el (message-inhibit-ecomplete): New variable to allow some
2614         function to inhibit ecomplete address storage.
2615         (message-resend): Disable ecomplete message storage when resending
2616         messages.
2617
2618         * nntp.el (nntp-async-kluge): Remove the Emacs 20.3-related kluge.
2619
2620 2010-08-27  Katsumi Yamaoka  <yamaoka@jpl.org>
2621
2622         * gnus-sum.el (gnus-summary-move-article, gnus-summary-delete-article):
2623         Save excursion while copying, moving, and deleting articles in order to
2624         prevent the cursor from jumping to unforeseen place.
2625
2626 2010-08-17  Katsumi Yamaoka  <yamaoka@jpl.org>
2627
2628         * lpath.el: No need to bind bookmark-current-buffer,
2629         bookmark-yank-point and bookmark-make-record-function.
2630
2631 2010-08-17  Glenn Morris  <rgm@gnu.org>
2632
2633         * gnus-sync.el: Require gnus components whose functions are used.
2634
2635         * gnus-art.el (bookmark-make-record-function):
2636         * gnus-sum.el (bookmark-yank-point, bookmark-current-bookmark):
2637         Declare for compiler.
2638
2639         * mm-url.el (mml-compute-boundary): Autoload.
2640
2641 2010-08-15  Katsumi Yamaoka  <yamaoka@jpl.org>
2642
2643         * gnus-start.el (gnus-start-draft-setup): Move doc string forward.
2644
2645 2010-08-14  Teodor Zlatanov  <tzz@lifelogs.com>
2646
2647         Typo fix "hoo4a" -> "hook".
2648
2649         * gnus-sync.el (gnus-sync-install-hooks): Typo fix.
2650
2651 2010-08-14  Glenn Morris  <rgm@gnu.org>
2652
2653         * gnus-sync.el (gnus-sync): Fix defgroup version.
2654
2655 2010-08-13  Teodor Zlatanov  <tzz@lifelogs.com>
2656
2657         Doc fixes and keep unknown groups (ammended for nunion bug fix).
2658
2659         * gnus-sync.el: Fix docs.
2660         (gnus-sync-save): Keep unknown groups in `gnus-sync-newsrc-loader'.
2661         (gnus-sync-read): Don't wipe `gnus-sync-newsrc-loader' after reading.
2662
2663 2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>
2664
2665         Optimizations for gnus-sync.el.
2666
2667         * gnus-sync.el: Add docs about gnus-sync-backend
2668         possibilities.
2669         (gnus-sync-save): Remove unnecessary message.
2670         (gnus-sync-read): Optimize and show what groups were skipped.
2671
2672 2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>
2673
2674         Minor bug fixes for gnus-sync.el.
2675
2676         * gnus-sync.el (gnus-sync-unload-hook, gnus-sync-install-hooks): Don't
2677         read the sync on get-new-news.
2678
2679         * gnus-sync.el (gnus-sync-save): Define `variable' so the compiler is
2680         quiet.
2681
2682         * gnus-sync.el (gnus-sync-read): Use `gnus-sync-newsrc-offsets' (fix typo).
2683
2684 2010-07-30  Lawrence Mitchell  <wence@gmx.li>
2685
2686         Make saving and restoring of hidden threads work with overlays.
2687         Patch applied by Ted Zlatanov.
2688
2689         * gnus-sum.el (gnus-hidden-threads-configuration)
2690         (gnus-restore-hidden-threads-configuration): Update to deal with text
2691         properties, rather than searching for a magic character.
2692
2693 2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>
2694
2695         New gnus-sync.el library for synchronization of marks.
2696
2697         * gnus-sync.el: New library for synchronization of marks.
2698
2699         * gnus-util.el (gnus-grep-in-list): Moved from gnus-registry.el and
2700         renamed from `gnus-registry-grep-in-list'.
2701
2702         * gnus-registry.el (gnus-registry-follow-group-p): Use `gnus-grep-in-list'.
2703
2704         * gnus-start.el (gnus-start-draft-setup): Make it interactive.
2705
2706 2010-08-06  Katsumi Yamaoka  <yamaoka@jpl.org>
2707
2708         * rfc2047.el (rfc2047-encode): Use utf-8 as a last resort if
2709         determining charset of text fails.
2710
2711 2010-08-01  Katsumi Yamaoka  <yamaoka@jpl.org>
2712
2713         * nnmail.el (nnmail-get-new-mail-1): Revert.
2714
2715         * nnml.el (nnml-active-number): Make sure names of newly created groups
2716         in nnml-group-alist are encoded.
2717
2718 2010-07-30  Katsumi Yamaoka  <yamaoka@jpl.org>
2719
2720         * nnmail.el (nnmail-get-new-mail-1): Encode group names possibly
2721         containing non-ASCII characters in active file for nnml back end.
2722
2723 2010-07-24  David Engster  <dengste@eml.cc>
2724
2725         * mml-smime.el (mml-smime-epg-verify): Also accept the older
2726         x-pkcs7-signature MIME type as signature (RFC 2311, C.1).
2727
2728 2010-07-21  Daiki Ueno  <ueno@unixuser.org>
2729
2730         * mml.el (mml-parse-1): Collect "certfile" attributes in "<#secure>"
2731         tag (Bug#6654).
2732
2733 2010-07-20  Katsumi Yamaoka  <yamaoka@jpl.org>
2734
2735         * gnus-sum.el (gnus-summary-bookmark-make-record): Bookmark position in
2736         the article buffer, not the summary buffer.
2737
2738 2010-07-15  Katsumi Yamaoka  <yamaoka@jpl.org>
2739
2740         * gnus-sum.el (gnus-summary-bookmark-make-record): Make it work for
2741         Emacs 23 as well.
2742
2743 2010-07-15  Katsumi Yamaoka  <yamaoka@jpl.org>
2744
2745         * lpath.el: Bind bookmark-current-buffer, bookmark-yank-point for all
2746         Emacs versions; bind bookmark-make-record-function for Emacs >=22.
2747
2748 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2749
2750         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
2751         Patch applied by Karl Fogel.
2752
2753         * gnus-sum.el (gnus-summary-bookmark-make-record): Set
2754         `bookmark-yank-point' and `bookmark-current-buffer' to allow C-w.
2755
2756 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2757
2758         Allow bookmarks to be set from Gnus Article buffers (Bug #5975).
2759         Patch applied (with minor tweaks) by Karl Fogel.  Note this leaves
2760         C-w still not working correctly from Article buffers; Thierry's
2761         patch to fix that will be applied after this.
2762
2763         * gnus-art.el (bookmark-make-record-function): New local variable.
2764
2765         * gnus-sum.el (gnus-summary-bookmark-make-record): Allow setting from
2766         article buffer.
2767         (gnus-summary-bookmark-jump): Maybe jump to article buffer.
2768
2769 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
2770
2771         * gnus-sum.el (bookmark-make-record-default): Adjust declaration, based
2772         on changes in bookmark.el.
2773
2774 2010-07-13  Katsumi Yamaoka  <yamaoka@jpl.org>
2775
2776         * gnus-xmas.el (gnus-xmas-read-event-char): Use display-message with
2777         `no-log' instead of message not to log prompt string.
2778
2779 2010-06-22  Mark A. Hershberger  <mah@everybody.org>
2780
2781         * mm-url.el (mm-url-encode-multipart-form-data): New function to handle
2782         the *other* type of HTML form submission.
2783
2784 2010-06-15  Michael Albinus  <michael.albinus@gmx.de>
2785
2786         * auth-source.el (auth-source-pick): If choice does not contain a
2787         questioned keyword, set the check to t.
2788
2789 2010-06-12  Romain Francoise  <romain@orebokech.com>
2790
2791         * gnus-util.el (gnus-date-get-time): Move up before first use.
2792
2793 2010-06-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2794
2795         * gnus-art.el (gnus-mime-buttonized-part-id): New internal variable.
2796         (gnus-article-edit-part): Bind it to make last part that is substituted
2797         or deleted visible.
2798         (gnus-mime-display-single): Buttonize part of which id equals to
2799         gnus-mime-buttonized-part-id.
2800
2801 2010-06-10  Dan Christensen  <jdc@uwo.ca>
2802
2803         * gnus-util.el (gnus-user-date): Use gnus-date-get-time.
2804         (gnus-dd-mmm): Use gnus-date-get-time.
2805         * gnus-sum.el (gnus-thread-latest-date): Use gnus-date-get-time and
2806         simplify logic.
2807         (gnus-summary-limit-to-age): Use gnus-date-get-time.
2808         (gnus-sort-threads): emit message if gnus-sort-threads-loop used.
2809
2810 2010-06-08  Michael Albinus  <michael.albinus@gmx.de>
2811
2812         * auth-source.el (top): Autoload `secrets-list-collections',
2813         `secrets-create-item', `secrets-delete-item'.
2814         (auth-sources): Fix tag string.
2815         (auth-get-source, auth-source-retrieve, auth-source-create)
2816         (auth-source-delete): New defuns.
2817         (auth-source-pick): Rewrite in order to avoid 2 passes.
2818         (auth-source-forget-user-or-password): New parameter USERNAME.
2819         (auth-source-user-or-password): New parameters CREATE-MISSING and
2820         DELETE-EXISTING.  Retrieve password interactively, if needed.
2821
2822 2010-06-07  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
2823
2824         * gnus-agent.el (gnus-agent-expire-unagentized-dirs): Don't ask about
2825         deleting unused directories when gnus-expert-user is t.
2826
2827 2010-06-02  Katsumi Yamaoka  <yamaoka@jpl.org>
2828
2829         * gnus-art.el (gnus-article-browse-delete-temp-files): Don't make query
2830         for each temp file when gnus-article-browse-delete-temp is ask.
2831
2832 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2833
2834         * gnus-uu.el, imap.el, nndoc.el, nnrss.el, rfc2047.el, utf7.el: Replace
2835         Lisp calls to delete-backward-char by calls to delete-char.
2836
2837 2010-05-20  Kevin Ryde  <user42@zip.com.au>
2838
2839         * gnus-start.el (gnus-level-unsubscribed): Doc fix.  (Bug#6206)
2840
2841 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
2842
2843         * password-cache.el (password-cache-remove): Fix docstring.
2844
2845 2010-05-14  Katsumi Yamaoka  <yamaoka@jpl.org>
2846
2847         * gnus-sum.el (gnus-summary-save-article): Don't bother to re-fetch
2848         article unless decoding article to be saved.
2849
2850 2010-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>
2851
2852         * mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt)
2853         * mml2015.el (mml2015-gpg-encrypt): Disable multibyte in buffers
2854         generated within the mm-with-unibyte-current-buffer macro.
2855
2856 2010-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>
2857
2858         * gnus-art.el (gnus-bind-safe-url-regexp): Bind mm-w3m-safe-url-regexp
2859         to nil when we're in a mml-preview buffer and no group is selected.
2860
2861 2010-05-12  Andreas Seltenreich  <seltenreich@gmx.de>
2862
2863         * gnus-sum.el (gnus-summary-read-group-1): Don't jump to next group
2864         when catching the `C-g'.  Reported by "Leo".
2865
2866 2010-05-12  Katsumi Yamaoka  <yamaoka@jpl.org>
2867
2868         * message.el (message-forward-make-body-plain)
2869         (message-forward-make-body-mml): Use mm-multibyte-string-p instead of
2870         multibyte-string-p.
2871
2872         * lpath.el: Revert.
2873
2874 2010-05-12  Katsumi Yamaoka  <yamaoka@jpl.org>
2875
2876         * message.el (message-forward-make-body-mml): Assume original message
2877         is multibyte string; error on unibyte.
2878         (message-forward-make-body-plain): Ditto; don't add excessive newline
2879         in body end.
2880
2881         * lpath.el: Fbind multibyte-string-p for XEmacs 21.4 and SXEmacs.
2882
2883 2010-05-11  Andreas Seltenreich  <seltenreich@gmx.de>
2884
2885         * gnus-sum.el (gnus-summary-kill-thread): Use gnus-summary-mark-article
2886         instead of g-s-m-a-as-unread to set the expirable mark.  (Bug#5284)
2887
2888 2010-05-11  Katsumi Yamaoka  <yamaoka@jpl.org>
2889
2890         * mm-extern.el (mm-extern-url): Don't use
2891         mm-with-unibyte-current-buffer.
2892         (mm-extern-cache-contents): Use with-current-buffer instead of
2893         save-excursion + set-buffer.
2894
2895 2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2896
2897         * mm-util.el (mm-emacs-mule): Remove.
2898
2899 2010-05-10  Andreas Seltenreich  <seltenreich@gmx.de>
2900
2901         * gnus-sum.el (gnus-summary-mode): Don't make minor-mode-alist
2902         buffer-local as it's incompatible with Stefan Monnier's 2010-05-03
2903         change.
2904
2905 2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2906
2907         * mm-util.el (mm-with-unibyte-current-buffer): Redefine it so as not to
2908         bind the default value of enable-multibyte-characters to nil.
2909
2910 2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2911
2912         * message.el (message-forward-make-body-plain)
2913         (message-forward-make-body-mml):
2914         Don't use mm-with-unibyte-current-buffer.
2915
2916 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2917
2918         * dns-mode.el (auto-mode-alist): Add entry for .zone files.
2919
2920 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
2921
2922         * mml2015.el (mml2015-epg-find-usable-key): Skip disabled key
2923         (Bug#5592).
2924
2925 2010-05-07  Julien Danjou  <julien@danjou.info>
2926
2927         * gnus-art.el (gnus-mime-pipe-part): Add optional argument `cmd'; pass
2928         it to mm-pipe-part.
2929
2930         * mm-decode.el (mm-pipe-part): Add optional argument `cmd'; use it if
2931         it is given.
2932
2933 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
2934
2935         * binhex.el (binhex-decode-region-internal)
2936         * dns.el (dns-read-string-name, dns-write, dns-read, dns-read-type)
2937         (dns-query)
2938         * nnweb.el (nnweb-gmane-search)
2939         * pgg-parse.el (pgg-parse-armor)
2940         * pgg.el (pgg-verify-region)
2941         * sha1.el (sha1-string-external)
2942         * uudecode.el (uudecode-decode-region-internal)
2943         * yenc.el (yenc-decode-region): Don't run set-buffer-multibyte for
2944         XEmacs.
2945
2946         * gnus-art.el (gnus-article-browse-html-parts)
2947         * gnus-group.el (gnus-read-ephemeral-gmane-group)
2948         (gnus-read-ephemeral-bug-grou): Use mm-make-temp-file instead of
2949         make-temp-file.
2950
2951         * gnus-dired.el (gnus-dired-mode): Bind gnus-dired-mode-hook,
2952         gnus-dired-mode-on-hook and gnus-dired-mode-off-hook for XEmacs when
2953         compiling.
2954
2955         * gnus-ml.el (gnus-mailing-list-mode): Bind gnus-mailing-list-mode-hook,
2956         gnus-mailing-list-mode-on-hook and gnus-mailing-list-mode-off-hook for
2957         XEmacs when compiling.
2958
2959         * gnus-salt.el (gnus-pick-mode): Bind gnus-pick-mode-on-hook and
2960         gnus-pick-mode-off-hook for XEmacs when compiling.
2961         (gnus-binary-mode): Bind gnus-binary-mode-on-hook and
2962         gnus-binary-mode-off-hook for XEmacs when compiling.
2963
2964         * gnus-sum.el (gnus-summary-limit-strange-charsets-predicate): Return
2965         nil if char-charset is not available.
2966
2967         * imap.el (imap-disable-multibyte)
2968         * sieve-manage.el (sieve-manage-disable-multibyte): Redefine them as
2969         macros.
2970
2971         * mm-url.el (mm-url-form-encode-xwfu): Use mm-encode-coding-string
2972         instead of encode-coding-string.
2973
2974         * mm-util.el (mm-enable-multibyte, mm-disable-multibyte): Use (featurep
2975         'xemacs) instead of mm-emacs-mule to switch function definitions.
2976         (mm-with-unibyte-current-buffer): Make it a progn macro for XEmacs.
2977
2978         * lpath.el: Fbind delete-overlay and overlay-lists for XEmacs;
2979         bind temporary-file-directory for XEmacs;
2980         fbind make-temp-file, set-buffer-multibyte, string-as-multibyte and
2981         timer-set-function for XEmacs 21.4 and SXEmacs;
2982         bind timer-list for XEmacs 21.4 and SXEmacs;
2983         fbind char-charset and find-charset-region for non-Mule XEmacs;
2984         fbind decode-coding-region, decode-coding-string, detect-coding-region,
2985         encode-coding-region and encode-coding-string for XEmacs having no
2986         file-coding feature.
2987
2988 2010-05-06  Tommi Vainikainen  <thv@iki.fi>  (tiny change)
2989
2990         * mml-sec.el (mml-secure-message-sign): Fix cut and paste error.
2991
2992 2010-05-06  Katsumi Yamaoka  <yamaoka@jpl.org>
2993
2994         * gnus-dired.el, gnus-draft.el, gnus-ml.el, gnus-salt.el, gnus-sum.el,
2995         gnus-undo.el, mml.el: Require easy-mmode for XEmacs when compiling.
2996
2997 2010-05-03  Juanma Barranquero  <lekktu@gmail.com>
2998
2999         * mm-util.el (mm-decompress-buffer): Use `delete-file';
3000         alias `jka-compr-delete-temp-file' no longer exists.
3001
3002 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3003
3004         Use define-minor-mode in Gnus where applicable.
3005         * mml.el (mml-mode): Use define-minor-mode.
3006         * gnus-undo.el (gnus-undo-mode-map): Initialize in declaration.
3007         (gnus-undo-mode): Use define-minor-mode.
3008         * gnus-sum.el (gnus-dead-summary-mode-map): Initialize in declaration.
3009         (gnus-dead-summary-mode): Use define-minor-mode.
3010         * gnus-salt.el (gnus-pick-mode-map, gnus-binary-mode-map):
3011         Initialize in declaration.
3012         (gnus-pick-mode, gnus-binary-mode): Use define-minor-mode.
3013         * gnus-ml.el (gnus-mailing-list-mode-map): Initialize in declaration.
3014         (gnus-mailing-list-mode): Use define-minor-mode.
3015         * gnus-draft.el (gnus-draft-mode-map): Initialize in declaration.
3016         (gnus-draft-mode): Use define-minor-mode.
3017         * gnus-dired.el (gnus-dired-mode-map): Initialize in declaration.
3018         (gnus-dired-mode): Use define-minor-mode.
3019
3020 2010-05-01  Andreas Seltenreich  <seltenreich@gmx.de>
3021
3022         * mml.el (mml-generate-mime-1,mml-compute-boundary-1): Update 'mml
3023         handles on recursive mml-to-mime translation and check them for
3024         boundary delimiter collisions.  Reported by Greg Troxel.
3025
3026 2010-04-27  Katsumi Yamaoka  <yamaoka@jpl.org>
3027
3028         * gnus-util.el: Don't load tm and apel XEmacs packages when compiling.
3029
3030 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3031
3032         * mm-util.el (mm-find-buffer-file-coding-system):
3033         * yenc.el (yenc-decode-region): Don't let-bind a read-only variable.
3034
3035 2010-04-22  Andreas Seltenreich  <seltenreich@gmx.de>
3036
3037         * message.el (message-generate-headers): Record insertion of optional
3038         headers as well.  Otherwise the check to prevent repeated insertion of
3039         optional headers is a no-op.
3040
3041 2010-04-17  Teodor Zlatanov  <tzz@lifelogs.com>
3042
3043         * smime.el: Don't mention CVS.
3044
3045         * nnrss.el (nnrss-fetch): Don't mention CVS.
3046
3047         * nnir.el: Don't mention CVS.
3048
3049 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3050
3051         * gnus-sum.el (gnus-summary-bookmark-make-record): Add `location' field.
3052
3053 2010-04-14  Katsumi Yamaoka  <yamaoka@jpl.org>
3054
3055         * lpath.el: Fbind bookmark-default-handler,
3056         bookmark-get-bookmark-record, bookmark-make-record-default,
3057         bookmark-prop-get for Emacs <23 and XEmacs.
3058
3059 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3060
3061         * gnus-sum.el: Add bookmark declarations to silence the compiler.
3062         (gnus-mark-xrefs-as-read, gnus-summary-limit-to-bodies):
3063         Use with-current-buffer to silence the byte-compiler.
3064         (gnus-summary-bookmark-make-record): Use derived-mode-p and don't
3065         bother to require `gnus'.
3066         (gnus-summary-bookmark-jump): Don't forget to autoload.  Simplify.
3067
3068 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3069
3070         * gnus-sum.el (gnus-summary-bookmark-make-record)
3071         (gnus-summary-bookmark-jump): New functions.
3072         (gnus-summary-mode): Setup bookmark support.
3073
3074 2010-04-01  Andreas Schwab  <schwab@linux-m68k.org>
3075
3076         * mm-uu.el (mm-uu-pgp-signed-extract-1): Use buffer-file-coding-system
3077         if set.
3078
3079 2010-03-31  Katsumi Yamaoka  <yamaoka@jpl.org>
3080
3081         * gnus-art.el (gnus-article-browse-html-save-cid-content): Rename from
3082         gnus-article-browse-html-save-cid-image; make it work recursively for
3083         forwarded messages as well.
3084         (gnus-article-browse-html-parts): Work when prefix arg is given.
3085         (gnus-article-browse-html-article): Doc fix.
3086
3087 2010-03-30  Chong Yidong  <cyd@stupidchicken.com>
3088
3089         * message.el (message-default-mail-headers):
3090         (message-default-headers): Carry the value mail-default-headers over
3091         into message-default-mail-headers, rather than message-default-headers.
3092
3093 2010-03-30  Martin Stjernholm  <mast@lysator.liu.se>
3094
3095         * mm-decode.el (mm-add-meta-html-tag): Added option to override the
3096         charset.
3097
3098         * gnus-art.el (gnus-article-browse-html-parts): Force the correct
3099         charset into the <meta> tag when the article is encoded to utf-8.
3100
3101 2010-03-30  Katsumi Yamaoka  <yamaoka@jpl.org>
3102
3103         * gnus-art.el (gnus-article-browse-delete-temp-files): Delete
3104         directories as well.
3105         (gnus-article-browse-html-parts): Work for images that do not specify
3106         file names; delete temp directory when quitting; insert header at the
3107         right place; use file: scheme for image files.
3108
3109 2010-03-30  Eric Schulte  <schulte.eric@gmail.com>
3110
3111         * gnus-art.el (gnus-article-browse-html-save-cid-image): New function.
3112         (gnus-article-browse-html-parts): Use it to make temporary cid image
3113         files in addition to html file so that browser may display them.
3114
3115 2010-03-29  Katsumi Yamaoka  <yamaoka@jpl.org>
3116
3117         * mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag.
3118
3119 2010-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
3120
3121         * auth-source.el (auth-source-pick): Fix for non-secrets specifier.
3122
3123 2010-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
3124
3125         * auth-source.el (auth-sources): Change default to be simpler.  Explain
3126         about Secret Service API sources.  Improve Customize options.
3127         (auth-source-pick): Change to accept any number of search parameters.
3128         Implement fallbacks iteratively, not recursively.  Add scoring on the
3129         second pass and sort by score.  Call Secret Service API when needed.
3130         (auth-source-user-or-password): Use it.  Call Secret Service API
3131         directly when needed to get the user name and the password.
3132
3133 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
3134
3135         * message.el (message-interactive): Doc fix.
3136         (message-qmail-inject-args): Reflow.
3137         (message-kill-to-signature): Fix typo in docstring.
3138
3139         * smiley.el (smiley-buffer): Fix typo in docstring.
3140
3141 2010-03-24  Glenn Morris  <rgm@gnu.org>
3142
3143         * mail-source.el (gnus-message): Declare.
3144         (mail-source-delete-old-incoming): Require gnus-util.
3145
3146 2010-03-23  Katsumi Yamaoka  <yamaoka@jpl.org>
3147
3148         * gnus-art.el (canlock-verify): Autoload it for Emacs 21.
3149
3150         * message.el (ecomplete-setup): Autoload it for Emacs <23.
3151
3152         * mml-sec.el (mml-secure-cache-passphrase): Default to t that is
3153         password-cache's default if it is not bound.
3154         (mml-secure-passphrase-cache-expiry): Default to 16 that is
3155         password-cache-expiry's default if it is not bound.
3156
3157         * pop3.el (pop3-list): Don't use 3rd arg of `split-string' which is not
3158         available in Emacs 21.
3159
3160         * lpath.el: Suppress compiler warnings for:
3161         canlock-insert-header and smtpmail-default-smtp-server for Emacs 21 and
3162         XEmacs;
3163         ecomplete-add-item, ecomplete-save, hashcash-wait-async,
3164         mail-add-payment, mail-add-payment-async, netrc-get, netrc-machine,
3165         netrc-machine-user-or-password and netrc-parse for Emacs 22 and XEmacs.
3166
3167 2010-03-23  Teodor Zlatanov  <tzz@lifelogs.com>
3168
3169         * auth-source.el (auth-sources): Fix up definition so extra parameters
3170         are always inline.
3171
3172 2010-03-22  Martin Stjernholm  <mast@lysator.liu.se>
3173
3174         * nnimap.el (nnimap-verify-uidvalidity): Fixed bug where uidvalidity
3175         wasn't updated after mismatch.  Clear cached mailbox info correctly
3176         when uidvalidity changes.
3177         (nnimap-group-prefixed-name): New function to avoid some code
3178         duplication.
3179         (nnimap-verify-uidvalidity, nnimap-group-overview-filename)
3180         (nnimap-request-group): Use it.
3181         (nnimap-retrieve-groups, nnimap-verify-uidvalidity)
3182         (nnimap-update-unseen): Significantly improved speed of Gnus startup
3183         with many imap folders.  This is done by caching the group status from
3184         the imap server persistently in a group parameter `imap-status'.  (This
3185         was cached before too if `nnimap-retrieve-groups-asynchronous' was set,
3186         but not persistently, so every Gnus startup was still very slow.)
3187
3188 2010-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
3189
3190         * assistant.el (assistant-render-text): Run `widget-setup' and don't
3191         delete the extra newline.  Otherwise editing of :string and :number
3192         types don't work.
3193
3194 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
3195
3196         * auth-source.el: Set up autoloads.  Bump to 23.2 because of the
3197         secrets.el dependency.
3198         (auth-sources): Add optional user name.  Add secrets.el configuration
3199         choice (unused right now).
3200
3201 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
3202
3203         * gnus-sum.el (gnus-summary-make-menu-bar): Let
3204         `gnus-registry-install-shortcuts' fill in the functions.
3205
3206         * gnus-registry.el (gnus-summary-misc-menu): Declare to avoid
3207         warnings.
3208         (gnus-registry-misc-menus): Variable to hold registry mark menus.
3209         (gnus-registry-install-shortcuts): Populate and use it in a
3210         `gnus-summary-menu-hook' lambda, under "Gnus"->"Registry Marks".
3211
3212 2010-03-20  Martin Stjernholm  <mast@lysator.liu.se>
3213
3214         * nnimap.el (nnimap-decode-group-name, nnimap-encode-group-name):
3215         In-place substitutions for the group name encoding/decoding.
3216         (nnimap-find-minmax-uid, nnimap-possibly-change-group)
3217         (nnimap-retrieve-headers-progress, nnimap-possibly-change-group)
3218         (nnimap-retrieve-headers-progress, nnimap-request-article-part)
3219         (nnimap-update-unseen, nnimap-request-list)
3220         (nnimap-retrieve-groups, nnimap-request-update-info-internal)
3221         (nnimap-request-set-mark, nnimap-split-to-groups)
3222         (nnimap-split-articles, nnimap-request-newgroups)
3223         (nnimap-request-create-group, nnimap-request-accept-article)
3224         (nnimap-request-delete-group, nnimap-request-rename-group)
3225         (nnimap-acl-get, nnimap-acl-edit): Use them.  Replace `mbx' with
3226         `encoded-mbx' for consistency.
3227         (nnimap-close-group): Call `imap-current-mailbox' instead of using the
3228         variable `imap-current-mailbox'.
3229
3230         * gnus-agent.el (gnus-agent-fetch-articles, gnus-agent-fetch-headers)
3231         (gnus-agent-regenerate-group): Use `gnus-agent-decoded-group-name'.
3232
3233 2010-03-20  Bojan Petrovic  <bpetrovi@f.bg.ac.rs>
3234
3235         * pop3.el (pop3-display-message-size-flag): Display message size byte
3236         counts during POP3 download.
3237         (pop3-movemail): Use it.
3238         (pop3-list): Implement listing of available messages.
3239
3240 2010-03-20  Mark Triggs  <mst@dishevelled.net>  (tiny change)
3241
3242         * nnir.el (nnir-get-article-nov-override-function): New function to
3243         override the normal NOV retrieval.
3244         (nnir-retrieve-headers): Use it.
3245
3246 2010-03-19  Michael Albinus  <michael.albinus@gmx.de>
3247
3248         * auth-source.el (netrc-machine-user-or-password): Autoload.
3249
3250 2010-03-19  Glenn Morris  <rgm@gnu.org>
3251
3252         Stop message.el from loading about 40 libraries it doesn't always need.
3253         The general approach is to autoload rather than require, and to
3254         require in the specific functions rather than the file.  (Bug#5642)
3255
3256         * gmm-utils.el: Don't require wid-edit.
3257         (widget-create-child-value, widget-convert, widget-default-get):
3258         Autoload.
3259
3260         * gnus-util.el: Don't require time-date, netrc.
3261         (message-fetch-field, gnus-group-name-decode): Declare rather&n