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