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