812ca8258c226b86134c1948f6de93dac706d86d
[gnus] / lisp / ChangeLog
1 2011-06-21  Andrew Cohen  <cohen@andy.bu.edu>
2
3         * nnimap.el (nnimap-find-article-by-message-id): return nil when no
4         article found.
5
6 2011-06-18  Teodor Zlatanov  <tzz@lifelogs.com>
7
8         * auth-source.el (auth-source-netrc-use-gpg-tokens): Replace
9         `auth-source-save-secrets' with a more sensitive alist that can be
10         configured per file.  Experimental, so defaults to 'never.
11         (auth-source-netrc-create): Use it.  Still experimental code.
12         (with-auth-source-epa-overrides): Use `find-file-hooks' if
13         `find-file-hook' is unbound (XEmacs fix).  Fix backquoting bug.
14
15 2011-06-16  Teodor Zlatanov  <tzz@lifelogs.com>
16
17         * auth-source.el (auth-source-save-secrets): New variable to control if
18         secret tokens should be saved encrypted.
19         (auth-source-netrc-parse, auth-source-netrc-search): Pass the file name
20         to `auth-source-netrc-normalize'.
21         (with-auth-source-epa-overrides): Add convenience macro.  Don't depend
22         on the EPA variables being defined.
23         (auth-source-epa-make-gpg-token): Convert text to a "gpg:" token.
24         (auth-source-netrc-normalize): Convert "gpg:" tokens back to text in
25         the lexical-let closure.
26         (auth-source-netrc-create): Create "gpg:" tokens according to
27         `auth-source-save-secrets'.
28
29 2011-06-10  Katsumi Yamaoka  <yamaoka@jpl.org>
30
31         * gnus-group.el (gnus-group-update-group): Add new argument
32         `info-unchanged' that stops updating dribble buffer.
33
34         * gnus-start.el (gnus-dribble-enter): Add new argument `regexp' that
35         deletes lines matching to it in dribble buffer.
36
37         * gnus-agent.el (gnus-agent-fetch-group-1):
38         * gnus-group.el (gnus-group-update-group-line, gnus-group-make-group):
39         * gnus-srvr.el (gnus-server-update-server, gnus-server-set-info):
40         * gnus-start.el (gnus-group-change-level):
41         * gnus-sum.el (gnus-summary-move-article): Delete old dribble entry.
42
43         * gnus-sum.el (gnus-summary-update-info): Don't update dribble buffer
44         if newsgroup info is not changed.
45
46         * gnus-group.el (gnus-group-get-new-news-this-group):
47         * gnus-sum.el (gnus-summary-read-group-1, gnus-summary-exit-no-update):
48         Don't update dribble buffer.
49
50 2011-06-01  Teodor Zlatanov  <tzz@lifelogs.com>
51
52         * gnus-registry.el (gnus-registry-remove-ignored): New function to
53         remove entries with groups we ignore.
54
55 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
56
57         * shr.el (shr-rescale-image): Add an :ascent of 100 to images so that
58         the underline comes at the bottom.
59
60 2011-05-31  Teodor Zlatanov  <tzz@lifelogs.com>
61
62         * gnus-registry.el (gnus-registry-article-marks-to-chars): Rename from
63         `gnus-registry-user-format-function-M' and declare the latter obsolete.
64         (gnus-registry-article-marks-to-names): Rename from
65         `gnus-registry-user-format-function-M2'.
66
67 2011-05-31  Katsumi Yamaoka  <yamaoka@jpl.org>
68
69         * gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in
70         ephemeral group.
71
72 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
73
74         * shr.el (shr-browse-image): Copy the URL if called interactively.
75
76 2011-05-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
77
78         * gnus-group.el (gnus-group-mark-article-read): It's possible that we
79         want to have `gnus-newsgroup-unselected' kept sorted.  If this isn't
80         done, then unselected articles may be marked as read.
81
82         * pop3.el (pop3-open-server): Erase the buffer after the greeting,
83         since not doing this seems to lead to a race condition in pop3-logon.
84
85         * nnvirtual.el (nnvirtual-request-article): Bind `gnus-command-method'
86         so that the call chain it correct when we call "upwards".
87
88         * gnus-sum.el (gnus-select-newsgroup): Auto-expiry doesn't make sense
89         in read-only groups.
90
91         * gnus-group.el (gnus-group-mark-article-read): Ditto.
92
93         * message.el (message-cite-reply-position): Doc string fix.
94
95         * nnimap.el (nnimap-transform-headers): Simplify regexp to hopefully
96         avoid regexp overflow.
97         (nnimap-transform-split-mail): Ditto.
98
99         * pop3.el (pop3-retr): Error out if the server closes the connection.
100
101 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
102
103         * mml1991.el (mml1991-mailcrypt-encrypt): Remove use of ill-designed
104         mm-with-unibyte-current-buffer.  The buffer should not contain any
105         multibyte chars anyway at this stage.
106
107 2011-05-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
108
109         * shr.el (shr-urlify): Use shr-add-font to make underlines be less ugly
110         at the end of lines.
111
112 2011-05-29  Julien Danjou  <julien@danjou.info>
113
114         * smiley.el (gnus-smiley-file-types): Add gif as supported file type.
115
116 2011-05-27  Glenn Morris  <rgm@gnu.org>
117
118         * gnus-group.el (gnus-bug-group-download-format-alist):
119         Use the "maintainer" version of debian reports as well.
120
121 2011-05-26  Glenn Morris  <rgm@gnu.org>
122
123         * gnus-group.el (gnus-bug-group-download-format-alist):
124         Use the "maintainer" version of debbugs.gnu.org reports.
125
126 2011-05-24  Katsumi Yamaoka  <yamaoka@jpl.org>
127
128         * gnus-art.el (gnus-mime-delete-part): Fix mm-handle-filename usage.
129
130 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
131
132         * gnus-cus.el (gnus-agent-customize-category):
133         * gnus-delay.el (gnus-delay-send-queue):
134         * gnus.el (gnus-other-frame):
135         Don't quote lambda expressions with `quote'.
136
137 2011-05-20  Teodor Zlatanov  <tzz@lifelogs.com>
138
139         * gnus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide
140         the thread moves us backwards and so we loop forever.
141
142 2011-05-19  Katsumi Yamaoka  <yamaoka@jpl.org>
143
144         * mm-bodies.el (mm-decode-content-transfer-encoding): Allow leading
145         whitespace in base64 data lines.
146
147 2011-05-18  Teodor Zlatanov  <tzz@lifelogs.com>
148
149         * gnus-registry.el (gnus-registry-user-format-function-M):
150         Use `mapconcat'.
151         (gnus-registry-user-format-function-M2): Use to see the full text of
152         the marks.  Make "," the mark text separator.
153
154         * nntp.el (nntp-send-authinfo): Use the "force" token for NNTP
155         authentication with auth-source.
156
157 2011-05-17  Glenn Morris  <rgm@gnu.org>
158
159         * gnus-group.el (gnus-import-other-newsrc-file):
160         Use insert-file-contents.
161
162 2011-05-16  Teodor Zlatanov  <tzz@lifelogs.com>
163
164         * gnus-sum.el (gnus-summary-hide-all-threads): Add update message every
165         1000 iterations.
166
167 2011-05-16  Katsumi Yamaoka  <yamaoka@jpl.org>
168
169         * nntp.el (nntp-open-connection): Check if process-type is available.
170
171 2011-05-16  Julien Danjou  <julien@danjou.info>
172
173         * shr.el (shr-tag-del): Add support for del tag.
174
175 2011-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>
176
177         * gnus-html.el (gnus-html-put-image): Register a displayer.
178
179         * shr.el (shr-image-displayer): Don't remove text props from alt text.
180
181 2011-05-13  Teodor Zlatanov  <tzz@lifelogs.com>
182
183         * registry.el (prune-factor): New initialization parameter defaulting
184         to 0.1.
185         (registry-prune-hard): Use it.
186
187         * gnus-registry.el (gnus-registry-fixup-registry): Set prune-factor to
188         0.1 expicitly.
189
190 2011-05-13  Glenn Morris  <rgm@gnu.org>
191
192         * message.el (message-send-mail-with-sendmail): Assume sendmail-program
193         is bound, since this function requires sendmail.
194
195 2011-05-11  Teodor Zlatanov  <tzz@lifelogs.com>
196
197         * registry.el (registry-usage-test): Disable pruning test.
198
199 2011-05-11  David Engster  <dengste@eml.cc>
200
201         * lpath.el: Bind shr-put-image and process-type for Emacs22 and XEmacs.
202         Bind set-network-process-option for XEmacs.
203
204 2011-05-10  Teodor Zlatanov  <tzz@lifelogs.com>
205
206         * registry.el (registry-prune-hard-candidates)
207         (registry-prune-soft-candidates): Helper methods for registry pruning.
208         (registry-prune): Use them.  Make the sort function optional.
209
210 2011-05-10  Jim Meyering  <meyering@redhat.com>
211
212         * shr.el (shr-colorize-region): Fix typo "on on -> on".
213
214 2011-05-10  Julien Danjou  <julien@danjou.info>
215
216         * shr.el (shr-put-color-1): Do not bug out when old-props is a face
217         symbol and not a list.
218
219 2011-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
220
221         * gnus-art.el (gnus-article-mode): Move binding of
222         shr-put-image-function here from gnus-article-prepare-display.
223
224         * shr.el (shr-put-image-function): New variable.
225         (shr-image-fetched, shr-image-displayer, shr-tag-img): Funcall it.
226         (shr-put-image): Return scaled image.
227
228         * gnus-art.el (gnus-shr-put-image): New function.
229         (gnus-article-prepare-display): Bind shr-put-image-function to it.
230
231         * gnus-html.el (gnus-html-wash-images): Register scaled images, not
232         original ones, as deletable.
233
234 2011-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
235
236         * nntp.el (nntp-open-connection): Set TCP keepalive option.
237
238 2011-05-09  Teodor Zlatanov  <tzz@lifelogs.com>
239
240         * registry.el (registry-full): Add convenience method.  Fix logic.
241         (registry-insert): Use it.  Fix logic here too.
242
243         * gnus-registry.el (gnus-registry-insert): Add wrapper that calls
244         `registry-prune' if `registry-full' returns t.
245         (gnus-registry-handle-action)
246         (gnus-registry-get-or-make-entry, gnus-registry-set-id-key)
247         (gnus-registry-usage-test): Use it.
248
249 2011-05-07  Julien Danjou  <julien@danjou.info>
250
251         * shr.el (shr-link): Make shr-link inherit from link by default.
252
253 2011-05-06  Teodor Zlatanov  <tzz@lifelogs.com>
254
255         * shr.el (shr-urlify, shr-link): Fix shr-link face.
256
257 2011-05-05  Teodor Zlatanov  <tzz@lifelogs.com>
258
259         * shr.el (shr-urlify, shr-link): Still broken but at least doesn't
260         error out because the face is not a list.
261
262 2011-05-05  Glenn Morris  <rgm@gnu.org>
263
264         * proto-stream.el (gnutls-negotiate): Fix declarations.
265
266         * gnus-start.el (gnus-propagate-marks): Declare.
267
268 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
269
270         * registry.el (registry-reindex): Fix percentage message.
271
272         * proto-stream.el (network-stream-open-starttls): Adjust to call
273         `gnutls-negotiate' with :process and :hostname arguments.
274
275 2011-05-03  Teodor Zlatanov  <tzz@lifelogs.com>
276
277         * shr.el: Add shr-link face for links.
278         (shr-urlify): Use it.
279
280         * registry.el (registry-insert): Make error message more helpful.
281
282 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
283
284         * gnus-html.el (gnus-html-schedule-image-fetching):
285         Use url-queue-retrieve, if it exists.
286
287         * shr.el (shr-tag-img): Ditto.
288
289         * gnus.el: Autoload more gnus-agent functions.
290
291         * gnus-art.el (gnus-request-article-this-buffer): Store articles in the
292         agent if we haven't already (bug#8502).
293
294         * gnus-async.el (gnus-async-article-callback): Put prefetched articles
295         into the Agent, too.
296
297         * gnus-agent.el (gnus-agent-store-article): New function.
298
299         * nnheader.el (nnheader-insert-buffer-substring): Rename from nntp-
300         and moved from that file for reuse.
301
302         * pop3.el (pop3-open-server): Error messages are "-ERR".
303
304 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
305
306         * pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS.
307         (open-tls-stream): Remove superfluous tls/starttls autoloads.
308
309 2011-05-01  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
310
311         * gnus.el: No Gnus v0.17 is released.
312
313 2011-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
314
315         * gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary
316         buffer has moved to a different frame.
317
318 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
319
320         * nnimap.el (nnimap-request-article): Use nntp-insert-buffer-substring
321         to get the conversion from unibyte to multibyte buffers to work on
322         Emacs 22.
323
324         * nntp.el (nntp-request-article): Slight clean-up.
325
326 2011-04-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
327
328         * shr.el (shr-strike-through): New face.
329         (shr-tag-s): Use it to provide <s> support.
330         (shr-tag-s): Remove duplicate definition.
331
332 2011-04-25  Teodor Zlatanov  <tzz@lifelogs.com>
333
334         * gnus-registry.el (gnus-registry-ignore-group-p): Don't call
335         `gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist.
336
337 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
338
339         * proto-stream.el (proto-stream-open-starttls): Give host parameter to
340         `gnutls-negotiate'.
341         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
342
343 2011-04-23  Glenn Morris  <rgm@gnu.org>
344
345         * gnus-sum.el (gnus-extra-headers): Bump :version.
346
347 2011-04-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
348
349         * shr.el (shr-tag-sup): New function.
350         (shr-tag-sub): Ditto.
351
352 2011-04-22  Teodor Zlatanov  <tzz@lifelogs.com>
353
354         * gnus-registry.el (gnus-registry-ignore-group-p): Test specifically
355         for the case where `gnus-registry-ignored-groups' is a list of lists,
356         and don't call `gnus-parameter-registry-ignore' otherwise.
357
358 2011-04-21  Teodor Zlatanov  <tzz@lifelogs.com>
359
360         * nnimap.el (nnimap-user): New backend variable.
361         (nnimap-open-connection-1): Use it.
362         (nnimap-credentials): Accept user parameter so it's explicit what user
363         name is desired.
364
365         * gnus-sum.el (gnus-extra-headers): Add Keywords, Cc, and Gcc to
366         default.
367
368         * gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el,
369         not gnus-registry.el.
370
371         * gnus-registry.el: Mention in comments how to modify
372         `gnus-extra-headers' for proper recipient tracking and that it may
373         already have To and Cc recently, which it does as of this commit.
374         (gnus-registry-ignored-groups): Remove defcustom.
375         Explain why in comments.
376         (gnus-registry-action): Fix data-header reference to use the extra
377         headers.  Explain in package commentary how to add To and Cc headers to
378         the gnus-extra-headers.
379         (gnus-registry-ignored-groups): Adjust defaults to match the parameter.
380         (gnus-registry-ignore-group-p): Adjust to take either a group/topic
381         parameter list or a string list in `gnus-registry-ignored-groups'.
382         Fix logic error.
383
384 2011-04-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
385
386         * shr.el (shr-expand-url): Protect against null urls.
387
388 2011-04-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
389
390         * shr.el (shr-base): New binding.
391         (shr-tag-base): Keep track of <base>.
392         (shr-expand-url): New function used throughout.
393
394 2011-04-20  Teodor Zlatanov  <tzz@lifelogs.com>
395
396         * gnus-registry.el
397         (gnus-registry--split-fancy-with-parent-internal): Fix loop bugs.
398         (gnus-registry-ignored-groups): New variable.
399         (gnus-registry-ignore-group-p): Use it.
400         (gnus-registry-handle-action): Use `gnus-registry-ignore-group-p' and
401         set the destination group to nil (same as delete) if it's ignored.
402
403 2011-04-20  David Engster  <dengste@eml.cc>
404
405         * tests/gnustest-nntp.el: New file for simple NNTP testing.
406
407         * Makefile.in (test-nntp): New rule.
408         (check): Add it.
409         (test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.
410
411 2011-04-20  Katsumi Yamaoka  <yamaoka@jpl.org>
412
413         * gnus-registry.el (gnus-registry-action)
414         (gnus-registry-fetch-header-fast):
415         Don't use mail-header that looks an internal function of mailheader.el.
416
417 2011-04-19  Glenn Morris  <rgm@gnu.org>
418
419         * time-date.el (time-to-days): Remove unused local variables.
420
421 2011-04-18  Katsumi Yamaoka  <yamaoka@jpl.org>
422
423         * gnus-registry.el: Eliminate cl functions.
424         (gnus-registry-sort-addresses): New function that replaces mapcan.
425         (gnus-registry-action, gnus-registry-spool-action)
426         (gnus-registry-split-fancy-with-parent)
427         (gnus-registry-fetch-recipients-fast): Use it.
428         (gnus-registry-import-eld): Replace delete* with dolist + delq.
429
430         * registry.el (initialize-instance, registry-lookup)
431         (registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
432         (registry-lookup-secondary-value, registry-search, registry-delete)
433         (registry-insert, registry-reindex, registry-size, registry-prune):
434         Use eval-and-compile.
435
436 2011-04-16  Teodor Zlatanov  <tzz@lifelogs.com>
437
438         * registry.el (registry-reindex): New method to recreate the secondary
439         registry indices.
440
441         * gnus-registry.el (gnus-registry-fixup-registry): Use it if the
442         tracked field changes.
443         (gnus-registry-unfollowed-addresses, gnus-registry-track-extra)
444         (gnus-registry-action, gnus-registry-spool-action)
445         (gnus-registry-handle-action)
446         (gnus-registry--split-fancy-with-parent-internal)
447         (gnus-registry-split-fancy-with-parent)
448         (gnus-registry-register-message-ids): Add recipient tracking on spool,
449         move, and delete actions, and for fancy splitting with parent.
450         (gnus-registry-extract-addresses)
451         (gnus-registry-fetch-recipients-fast)
452         (gnus-registry-fetch-header-fast): Convenience functions.
453         (gnus-registry-misc-test): ERT test of
454         `gnus-registry-extract-addresses'.
455
456 2011-04-15  Teodor Zlatanov  <tzz@lifelogs.com>
457
458         * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
459         Track by subject first, then sender.
460
461 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
462
463         * message.el (message-bogus-system-names): Replace ^...$ => \`...\'.
464
465         * gnus.el (gnus-splash-svg-color-symbols): Don't use insert-file from
466         Lisp.
467
468         * gnus-draft.el (gnus-draft-setup): New arg `dont-pop'.
469         (gnus-draft-send): Use it to avoid popping
470         up frames from gnus-group-send-queue.
471
472 2011-04-14  Teodor Zlatanov  <tzz@lifelogs.com>
473
474         * gnus-registry.el: Updated gnus-registry docs.
475
476 2011-04-12  Teodor Zlatanov  <tzz@lifelogs.com>
477
478         * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
479         Fix logic bug.
480         (gnus-registry-post-process-groups): Fix logging of no results and
481         quote sender and subject.
482
483 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
484
485         * proto-stream.el (proto-stream-open-starttls): Only do opportunistic
486         STARTTLS upgrades if we have built-in gnutls support.  Upgrades via
487         gnutls-cli are too slow to be done opportunistically.
488
489         * gnus-start.el (gnus-get-unread-articles): Slight cleanup.
490         (gnus-read-active-for-groups): Don't try to finish getting stuff where
491         we had no early-data returned.
492         (gnus-get-unread-articles): Add a sanity check so that we don't issue
493         two async commands to the same server at the same time.
494
495 2011-04-12  Stig Sandbeck Mathisen  <ssm@fnord.no>  (tiny change)
496
497         * gnus-sum.el (gnus-summary-select-article-buffer): Doc fix.
498
499 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
500
501         * gnus-registry.el (gnus-registry-remake-db): Put the warning on a
502         "warning" level.
503
504         * mm-url.el (mm-url-package-name): Remove to ease third-party reuse.
505         (mm-url-insert-file-contents): Don't set the package names.
506
507 2011-04-11  Teodor Zlatanov  <tzz@lifelogs.com>
508
509         * gnus-registry.el (gnus-registry-action): Remove properties and
510         simplify subject in `gnus-registry-handle-action'.
511         (gnus-registry-spool-action): Get subject and sender from message if
512         they are not passed in.
513         (gnus-registry-handle-action): Remove properties and simplify subject
514         consistently.
515
516 2011-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
517
518         * registry.el: Require CL before using defmacro*.
519
520 2011-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
521
522         * gnus-art.el (article-treat-date): Assume that
523         gnus-article-date-headers may be a group parameter.
524
525 2011-04-07  Teodor Zlatanov  <tzz@lifelogs.com>
526
527         * gnus-registry.el (gnus-registry-handle-action): More debugging.
528
529         * gnus-start.el (gnus-gnus-to-newsrc-format): Add a way to run
530         interactively so the newsrc file can contain foreign groups too.
531         Useful for debugging but not much for users.
532
533 2011-04-07  David Engster  <dengste@eml.cc>
534
535         * registry.el (registry-usage-test): Only do
536         `registry-lookup-breaks-before-lexbind' testing for Emacs24 with
537         lexical binding.
538
539 2011-04-07  David Engster  <dengste@eml.cc>
540
541         * Makefile.in (check, test-registry): New rules for test-suite.
542
543 2011-04-06  David Engster  <dengste@eml.cc>
544
545         * registry.el, gnus-registry.el: Use `ignore-errors' instead of third
546         argument NOERROR for `require', since XEmacs 21.4 does not support it.
547
548 2011-04-06  David Engster  <dengste@eml.cc>
549
550         * registry.el (initialize-instance): Change :after to :AFTER to be
551         compatible with old EIEIO version in XEmacs.
552
553 2011-04-06  Teodor Zlatanov  <tzz@lifelogs.com>
554
555         * gnus-registry.el (gnus-registry-post-process-groups)
556         (gnus-registry--split-fancy-with-parent-internal): Fix splitting bugs
557         and provide better messaging.
558
559 2011-04-06  David Engster  <dengste@eml.cc>
560
561         * Makefile.in (fail-on-warning): New rule to compile with warnings as
562         errors.
563
564         * dgnushack.el (dgnushack-compile-error-on-warn): New function to call
565         dgnushack-compile with error-on-warn enabled, and to signal an error if
566         clean compilation failed.
567         (dgnushack-compile): New argument 'error-on-warn'.  If non-nil, compile
568         with `byte-compile-error-on-warn'.  Return nil if errors occured.
569
570 2011-04-06  Teodor Zlatanov  <tzz@lifelogs.com>
571
572         * gnus-registry.el: Don't use ERT if it's not available.  Load it
573         unconditionally anyway, discarding errors.
574         (gnus-registry-delete-entries): New convenience function.
575         (gnus-registry-import-eld): Import from old .eld registry.
576
577         * registry.el: Don't use ERT if it's not available.  Load it
578         unconditionally anyway, discarding errors.
579
580         * proto-stream.el (gnutls-negotiate): Revert inadvertent commit of the
581         version from the Claudio Bley GnuTLS patch (extra optional parameters
582         and host name).
583
584 2011-04-05  Teodor Zlatanov  <tzz@lifelogs.com>
585
586         * gnus-registry.el (gnus-registry-fixup-registry): New function to
587         fixup the parameters that can be customized by the user between
588         save/read cycles.
589         (gnus-registry-read): Use it.
590         (gnus-registry-make-db): Use it.
591         (gnus-registry-spool-action, gnus-registry-handle-action):
592         Fix messaging.
593         (gnus-registry--split-fancy-with-parent-internal): Fix loop.
594         Map references to actual group names with sender and subject tracking.
595         (gnus-registry-post-process-groups): Use `cond' for better messaging.
596         (gnus-registry-usage-test): Add subject lookup test.
597
598         * registry.el (registry-db, initialize-instance): Set up constructor
599         instead of :initform arguments for the sake of older Emacsen.
600         (registry-lookup-breaks-before-lexbind): New method to demonstrate
601         pre-lexbind merge bug.
602         (registry-usage-test): Use it.
603         (initialize-instance, registry-db): Move the non-function initforms
604         back to the class definition.
605
606 2011-04-03  Teodor Zlatanov  <tzz@lifelogs.com>
607
608         * registry.el: New library to manage gnus-registry-style data.
609
610         * gnus-registry.el: Use it (major rewrite).
611
612         * nnregistry.el: Use it.
613
614         * spam.el: Use it.
615
616 2011-04-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
617
618         * gnus-sum.el (gnus-update-marks): Reinstate the code to not alter
619         marks on non-selected articles.
620
621 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
622
623         * nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command
624         parameter to open-protocol-stream.
625
626 2011-04-01  Julien Danjou  <julien@danjou.info>
627
628         * mm-view.el (mm-display-inline-fontify): Do not fontify with
629         fundamental-mode.
630
631 2011-04-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
632
633         * gnus-start.el (gnus-get-unread-articles): Don't try to contact denied
634         servers.
635
636 2011-03-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
637
638         * gnus-sum.el (gnus-update-marks): Revert intersection change, which
639         made marks not propagate, again.
640
641 2011-03-30  Chong Yidong  <cyd@stupidchicken.com>
642
643         * proto-stream.el (open-protocol-stream): Bring back `network' type.
644         Make this the default type.
645         (proto-stream-open-plain): Rename from proto-stream-open-default.
646         (open-protocol-stream, proto-stream-open-starttls)
647         (proto-stream-open-tls, proto-stream-open-shell): Replace `default'
648         with `plain'.
649
650         * nnimap.el (nnimap-stream, nnimap-open-connection-1): Accept `network'
651         value.
652
653         * nntp.el (nntp-open-connection-function): Document the fact that some
654         values are not functions but are instead handled specially.
655         Recognize nntp-open-plain-stream value.
656         (nntp-open-connection): Recognize that value.
657
658 2011-03-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
659
660         * dgnushack.el: Only do the defcustom compilation thing on XEmacs,
661         where it seems to be needed.
662
663 2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
664
665         * gssapi.el (open-gssapi-stream): Remove the last mentions of the IMAP
666         stuff.
667
668         * gnus-score.el (gnus-score-string): Fix calling convention of
669         `gnus-simplify-buffer-fuzzy' after last patches.
670
671         * gnus-sum.el (gnus-update-marks): Don't send any marks updates to the
672         server for articles we didn't get any headers for.  This is a sanity
673         check.
674
675 2011-03-29  Michael Welsh Duggan  <md5i@md5i.com>
676
677         * nnimap.el (nnimap-open-connection-1): Is the login responds with a
678         new CAPABILITY, use it.
679
680 2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
681
682         * gnus-agent.el (gnus-agent-fetch-headers): Don't message if we're not
683         downloading anything.
684
685         * gnus.el (gnus-splash-svg-color-symbols): Remove superfluous `and'.
686
687 2011-03-29  Adam Sjøgren  <asjo@koldfront.dk>
688
689         * gnus.el (gnus-group-startup-message): Prefer svg file and replace
690         colors.
691         (gnus-splash-svg-color-symbols): New function.
692
693 2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
694
695         * gnus-sum.el (gnus-simplify-buffer-fuzzy): Take the regexp explicitly
696         instead of using the global gnus-simplify-subject-fuzzy-regexp.
697         (gnus-simplify-subject-fuzzy): Use the local
698         gnus-simplify-subject-fuzzy-regex instead of the global one.
699         This makes using this variable in group parameters work.
700
701 2011-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
702
703         * gnus-registry.el (gnus-registry-unfollowed-groups):
704         Add "archive:sent" to the unfollowed group regex (for the recent Gnus
705         archive:sent-YYYY-MM-DD groups).
706         (gnus-registry-split-fancy-with-parent): Bail out early in sender
707         tracking if there are more than `gnus-registry-max-track-groups'
708         matches.
709
710 2011-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
711
712         * message.el (message--yank-original-internal): New function to do the
713         insertion cleanly inside eval in `message-yank-original'.
714         (message-yank-original): Use it.
715
716 2011-03-29  Julien Danjou  <julien@danjou.info>
717
718         * mm-view.el (mm-display-inline-fontify): Use `set-normal-mode' with
719         local variables disabled rather than `normal-mode'.
720
721 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
722
723         * imap.el (imap-shell-open, imap-process-connection-type):
724         Use imap-process-connection-type for 'shell' streams as well as
725         Kerberos, SSL, other subprocesses.
726
727 2011-03-26  Chong Yidong  <cyd@stupidchicken.com>
728
729         * proto-stream.el: Changes preparatory to merging open-protocol-stream
730         with open-network-stream.
731         (proto-stream-always-use-starttls): Option removed.
732         (open-protocol-stream): Return a process object by default.  Provide a
733         new parameter :return-list specifying a list-type return value, which
734         now has the form (PROP . PLIST) instead of a fixed-length list.  Change
735         :type `network' to `try-starttls', and `network-only' to `default'.
736         Make `default' the default, for compatibility with open-network-stream.
737         Handle the no-parameter case exactly as open-network-stream, with no
738         additional stream processing.  Search plists using plist-get.
739         Explicitly add :end-of-commend parameter if it is missing.
740         (proto-stream-open-default): Rename from
741         proto-stream-open-network-only.  Return 'default as the type.
742         (proto-stream-open-starttls): Rename from proto-stream-open-network.
743         Use plist-get.  Don't return `tls' as the type if STARTTLS negotiation
744         failed.  Always return a list with a (possibly dead) process as the
745         first element, for compatibility with open-network-stream.
746         (proto-stream-open-tls): Use plist-get.  Always return a list.
747         (proto-stream-open-shell): Return `default' as connection type.
748         (proto-stream-capability-open): Use plist-get.
749         (proto-stream-eoc): Function deleted.
750
751         * nnimap.el (nnimap-stream, nnimap-open-connection)
752         (nnimap-open-connection-1): Handle renaming of :type parameter for
753         open-protocol-stream.
754         (nnimap-open-connection-1): Pass a :return-list parameter
755         open-protocol-stream to obtain a list return value.  Parse this list
756         using plist-get.
757
758         * nntp.el (nntp-open-connection): Handle renaming of :type parameter
759         for open-protocol-stream.  Accept open-protocol-stream return value
760         that is a subprocess object instead of a list.  Handle the case of a
761         dead returned process.
762
763 2011-03-25  Teodor Zlatanov  <tzz@lifelogs.com>
764
765         * mm-util.el (mm-handle-filename): Move to mm-decode.el (bug#8330).
766
767         * mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330).
768
769 2011-03-21  Julien Danjou  <julien@danjou.info>
770
771         * mm-view.el (mm-display-inline-fontify): Make mode optional, and call
772         normal-mode if not set. Set temp buffer unmodified to avoid kill-buffer
773         query.
774         (mm-inline-text): Render normal text with fontification whenever
775         possible.
776
777         * gnus-sum.el (gnus-summary-save-parts-1):
778         * gnus-art.el (gnus-article-browse-html-save-cid-content)
779         (gnus-article-browse-html-parts, gnus-mime-delete-part)
780         (gnus-mime-copy-part, gnus-mime-inline-part, gnus-insert-mime-button):
781         Use `mm-handle-filename'.
782
783         * mm-util.el (mm-handle-filename): New function, return the filename of
784         an handle.
785
786 2011-03-18  Julien Danjou  <julien@danjou.info>
787
788         * gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
789         (gnus-buffer-live-p): Check that buffer is not nil.
790
791 2011-03-17  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
792
793         * gnus.el: No Gnus v0.15 is released.
794
795 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
796
797         * time-date.el (format-seconds): Use assoc instead of assoc-string to
798         avoid warning on XEmacs.
799
800         * dgnushack.el: Bind help-echo-owns-message to avoid a compiler warning
801         on XEmacs.
802
803         * gnus-art.el: Require mouse, which the build bot seems to say is
804         needed.
805
806         * dgnushack.el: Define url-retrieve-synchronously unless not defined.
807
808         * gravatar.el (gravatar-retrieve-synchronously): Use `url-retrieve' on
809         XEmacs, since it doesn't have url-retrieve-synchronously.
810
811         * time-date.el (format-seconds): Use assoc instead of assoc-string,
812         since assoc-string doesn't exist in XEmacs.
813
814 2011-03-17  Antoine Levitt  <antoine.levitt@gmail.com>
815
816         * gnus-group.el (gnus-group-list-ticked): New function.
817         (gnus-group-make-menu-bar): Provide a menu entry for it.
818         (gnus-group-list-map): Provide a binding for it.
819
820 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
821
822         * shr.el (shr-visit-file): New command.
823
824         * nnimap.el (nnimap-fetch-inbox): Rewrite slightly last patch.
825
826 2011-03-17  Bjørn Mork  <bjorn@mork.no>
827
828         * nnimap.el (nnimap-fetch-inbox): Don't download bodies on ver4-capable
829         servers.
830
831 2011-03-16  Julien Danjou  <julien@danjou.info>
832
833         * mm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are
834         inline.
835
836         * gnus-art.el (article-hide-list-identifiers):
837         Use gnus-group-get-list-identifiers.
838
839         * gnus-sum.el (gnus-group-get-list-identifiers): New function.
840         (gnus-summary-remove-list-identifiers):
841         Use gnus-group-get-list-identifiers to get regexp.
842         (gnus-select-newsgroup, gnus-summary-insert-subject)
843         (gnus-summary-insert-articles):
844         Call gnus-summary-remove-list-identifiers unconditionally.
845
846 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
847
848         * gnus-sum.el (gnus-articles-to-read): Revert back to old behaviour if
849         we're selecting a group with unread articles.
850
851         * nnimap.el (nnimap-open-connection-1): Allow `network-only', too.
852
853         * gssapi.el: New file separated out from imap.el to provide a general
854         Kerberos 5 connection facility for Emacs.
855
856         * message.el (message-elide-ellipsis): Document the format spec
857         ellipsis.
858
859 2011-03-15  Reiner Steib  <Reiner.Steib@gmx.de>
860
861         * message.el (message-elide-region): Allow the ellipsis to say how many
862         lines were removed.
863
864 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
865
866         * gnus-win.el (gnus-configure-frame): Protect against trying to restore
867         window configurations containing buffers that are now dead.
868
869         * nnimap.el (nnimap-parse-flags): Remove all MODSEQ entries before
870         parsing to avoid integer overflows.
871         (nnimap-parse-flags): Simplify the last change.
872         (nnimap-parse-flags): Store HIGHESTMODSEQ as a string, since it may be
873         too large for 32-bit Emacsen.
874
875 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
876
877         * auth-source.el (auth-source-netrc-create):
878         * message.el (message-yank-original): Fix use of `case'.
879
880 2011-03-15  Nelson Ferreira  <nelson.ferreira@ieee.org>  (tiny change)
881
882         * gnus-art.el (gnus-article-treat-body-boundary): Fix boundary width on
883         XEmacs, which was one character too wide.
884
885 2011-03-09  Antoine Levitt  <antoine.levitt@gmail.com>
886
887         * gnus-sum.el (gnus-articles-to-read): Use gnus-large-newsgroup as
888         default number of articles to display.
889         (gnus-articles-to-read): Use pretty names for prompt.
890
891 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
892
893         * gnus-int.el (gnus-open-server): Ditto.
894
895         * gnus-start.el (gnus-activate-group): Give a backtrace if
896         debug-on-quit is set and the user hits `C-g'.
897         (gnus-read-active-file): Ditto.
898
899         * gnus-group.el (gnus-group-read-ephemeral-group): Ditto.
900
901 2011-03-15  Teodor Zlatanov  <tzz@lifelogs.com>
902
903         * message.el (message-yank-original): Use cond instead of CL case.
904
905 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
906
907         * auth-source.el (auth-source-netrc-create): Use usual format for the
908         default in prompts.
909
910 2011-03-14  Katsumi Yamaoka  <yamaoka@jpl.org>
911
912         * lpath.el: Fbind read-char-choice for XEmacs.
913
914 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
915
916         * auth-source.el (auth-source-netrc-create): Show the default in the
917         prompt when prompting for token creation.
918
919 2011-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
920
921         * auth-source.el (auth-source-format-prompt): Always convert the value
922         to a string to avoid evaluating non-string arguments.
923         (auth-source-netrc-create): Offer default properly, not as initial
924         content in `read-string'.
925         (auth-source-netrc-saver): Use a cache keyed by file name and MD5 hash
926         of line to determine if we've been run before.  If so, don't run again,
927         but print a trivial message to indicate the cache was hit instead.
928
929 2011-03-11  Teodor Zlatanov  <tzz@lifelogs.com>
930
931         * gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook):
932         Don't install `gnus-sync-read' to any hooks by default.  It's buggy.
933         The user will have to run `gnus-sync-read' manually and wait for Cloudy
934         Gnus.
935
936 2011-03-11  Julien Danjou  <julien@danjou.info>
937
938         * mm-uu.el (mm-uu-type-alist): Add support for diff starting with "===
939         modified file".
940
941 2011-03-09  Teodor Zlatanov  <tzz@lifelogs.com>
942
943         * auth-source.el (auth-source-read-char-choice): New function to read a
944         character choice using `dropdown-list', `read-char-choice', or
945         `read-char'.  It appends "[a/b/c] " to the prompt if the choices were
946         '(?a ?b ?c).  The `dropdown-list' support is disabled for now.  Use
947         `eval-when-compile' to load `dropdown-list'.  Remove `dropdown-list'.
948         (auth-source-netrc-saver): Use it.
949         (auth-source-pick-first-password): New convenience function.
950
951 2011-03-08  Teodor Zlatanov  <tzz@lifelogs.com>
952
953         * nnimap.el (nnimap-credentials): Keep the :save-function as the third
954         parameter in the credentials.
955         (nnimap-open-connection-1): Use it after a successful login.
956         (nnimap-credentials): Add IMAP-specific user and password prompt.
957
958         * auth-source.el (auth-source-search): Add :require parameter, taking a
959         list.  Document it and the :save-function return token.  Pass :require
960         down.  Change the CREATED message from a warning to a debug statement.
961         (auth-source-search-backends): Pass :require down.
962         (auth-source-netrc-search): Pass :require down.
963         (auth-source-netrc-parse): Use :require, if it's given, as a filter.
964         Change save prompt to indicate all modifications saved here are
965         deletions.
966         (auth-source-netrc-create): Take user login name as default in user
967         prompt.  Move all the save functionality to a lexically bound function
968         under the :save-function token in the returned list.  Set up clearer
969         default prompts for user, host, port, and secret.
970         (auth-source-netrc-saver): New function, intended to be wrapped for
971         :save-function.
972
973 2011-03-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
974
975         * shr.el (shr-table-horizontal-line): Change the defaults for the table
976         lines to be spaces instead.
977
978 2011-03-07  Julien Danjou  <julien@danjou.info>
979
980         * sieve-manage.el (sieve-sasl-auth): Create auth-info if not found.
981         (sieve-sasl-auth): Check that auth-source-search did return something,
982         or just return an empty string.
983
984 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
985
986         * gnus.el (gnus-interactive): Use read-directory-name.
987
988         * gnus-uu.el (gnus-uu-decode-uu-and-save)
989         (gnus-uu-decode-unshar-and-save, gnus-uu-decode-save)
990         (gnus-uu-decode-binhex, gnus-uu-decode-yenc)
991         (gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save):
992         Likewise.
993
994         * gnus-group.el (gnus-group-make-directory-group): Likewise.
995
996 2011-03-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
997
998         * gnus-start.el (gnus-group-change-level): Allow putting foreign groups
999         onto the list of killed groups, too.  This makes killed nnimap groups,
1000         for instance, more reliably not reappear.
1001
1002         * nnimap.el (nnimap-request-thread): Don't bug out when we can't find
1003         the parent.
1004
1005         * gnus-sum.el (gnus-update-read-articles): Fix typo.
1006
1007         * gnus.el (gnus-valid-select-methods): Mark nnimap as a backend that
1008         really have server-side marks.
1009
1010         * gnus-sum.el (gnus-propagate-marks): Change default back to nil again,
1011         since most backends do not usefully have server-side marks.
1012         (gnus-update-read-articles): Propagate marks to all backends that
1013         really have server-side marks.
1014
1015 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
1016
1017         * message.el (message-cite-reply-position, message-cite-style):
1018         New variables.
1019         (message-yank-original): Use the new citation styles.
1020
1021 2011-03-04  Daiki Ueno  <ueno@unixuser.org>
1022
1023         * message.el (message-options): Revert 22da67af (workaround for XEmacs
1024         buffer-local issue); don't mark it buffer-local when running under
1025         XEmacs.
1026
1027 2011-03-03  Tassilo Horn  <tassilo@member.fsf.org>
1028
1029         * nnimap.el (nnimap-parse-flags): Add a workaround for FETCH lines with
1030         numbers too big to be `read'.
1031
1032 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
1033
1034         * password-cache.el (password-in-cache-p): Add autoload.
1035
1036         * message.el (message-options): Make buffer-local two ways to attempt
1037         to fix a XEmacs bug.
1038
1039 2011-03-02  Julien Danjou  <julien@danjou.info>
1040
1041         * gnus-art.el (gnus-with-article-buffer): Fix buffer live check.
1042
1043 2011-03-01  Julien Danjou  <julien@danjou.info>
1044
1045         * gnus-art.el (list-identifier): Add list-identifier as a parameter
1046         group.
1047         (article-hide-list-identifiers): Use list-identifier group parameter.
1048
1049 2011-02-28  Julien Danjou  <julien@danjou.info>
1050
1051         * sieve.el (sieve-buffer-script-name): New local variable to store
1052         sieve script name.
1053         (sieve-edit-script): Store sieve script name.
1054         (sieve-upload): Use sieve script name when uploading.
1055         (sieve-upload): Use substitute-command-keys.
1056         (sieve-edit-script): Use substitute-command-keys.
1057         (sieve-refresh-scriptlist): Use substitute-command-keys.
1058         (sieve-manage-mode-map): Define keymap properly.
1059         (sieve-manage-mode): Do not set mode name manually, change mode-name to
1060         (sieve-refresh-scriptlist): Use substitute-command-keys."Sieve-manage".
1061         Remove commented code about cvs.
1062         (sieve-manage-quit): New function.
1063         (sieve-manage-mode-map): Bind 'q' to sieve-manage-quit.
1064
1065 2011-02-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1066
1067         * gnus-group.el (gnus-import-other-newsrc-file): New function.
1068
1069 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
1070
1071         * auth-source.el (auth-source-search): Cache empty result sets.
1072
1073         * password-cache.el (password-in-cache-p): Convenience function to
1074         check if a key is in the cache, even if the value is nil.
1075
1076         * auth-source.el (auth-source-save-behavior): New variable to replace
1077         `auth-source-never-create'.
1078         (auth-source-netrc-create): Use it.
1079         (auth-source-never-save): Remove.
1080
1081 2011-02-25  Lars Ingebrigtsen  <larsi@gnus.org>
1082
1083         * nnimap.el (nnimap-stream): Doc fix.
1084         (nnimap-open-connection-1): Reverse the order of the ports to that the
1085         prompted-for port is first.
1086
1087         * gnus-start.el (gnus-get-unread-articles): Don't clobber the async
1088         retrieval by the no-group selection.
1089
1090         * gnus-demon.el (gnus-demon-init): run-with-timer should be called with
1091         numerical parameters.
1092
1093 2011-02-25  Julien Danjou  <julien@danjou.info>
1094
1095         * gnus-gravatar.el: Use gnus-with-article-buffer.
1096
1097         * gnus-art.el (gnus-with-article-buffer): Check that the
1098         gnus-article-buffer is alive.
1099
1100 2011-02-24  Teodor Zlatanov  <tzz@lifelogs.com>
1101
1102         * auth-source.el (auth-source-creation-prompts): New variable to manage
1103         creation-time prompts.
1104         (auth-source-search): Document it.
1105         (auth-source-format-prompt): Add utility function.
1106         (auth-source-netrc-create): Don't default the user name to
1107         user-login-name.  Use `auth-source-creation-prompts' and some default
1108         prompts for user, host, port, and password (the default generic prompt
1109         remains ugly).
1110         (auth-source-never-save): Add customizable option to never save info.
1111         (auth-source-netrc-create): Use it and improve save prompts.  Fix help
1112         mode excursion.
1113
1114 2011-02-24  Katsumi Yamaoka  <yamaoka@jpl.org>
1115
1116         * auth-source.el (auth-source-netrc-create): Use `read-char' with no
1117         argument that XEmacs doesn't support.
1118
1119         * dgnushack.el (dgnushack-compile): Exclude color.el from being
1120         compiled for Emacsen having no `libxml-parse-html-region' support.
1121
1122         * gnus-xmas.el (gnus-xmas-define): Remove gnus-x-color-values.
1123
1124         * lpath.el: Bind buffer-save-without-query for XEmacs.
1125
1126 2011-02-23  Julien Danjou  <julien@danjou.info>
1127
1128         * gnus-art.el (article-make-date-line): Ignore errors if time is
1129         invalid and not convertible.
1130         (article-make-date-line): Only add lapsed time if time is not nil.
1131
1132 2011-02-23  Teodor Zlatanov  <tzz@lifelogs.com>
1133
1134         * auth-source.el (auth-source-netrc-create): Use `read-char' instead of
1135         `read-char-choice' for backwards compatibility.
1136         (auth-source-netrc-element-or-first): New function to DTRT for
1137         parameter extraction.
1138         (auth-source-netrc-create): Use it and fix multiple parameter print
1139         bug.  Use the default passed from above (given-default) or the
1140         built-in (user-login-name for :user).
1141
1142 2011-02-23  Lars Ingebrigtsen  <larsi@gnus.org>
1143
1144         * gnus-start.el (gnus-dribble-read-file):
1145         Set buffer-save-without-query, since we always want to save the dribble
1146         file, probably.
1147
1148         * nnmail.el (nnmail-article-group): Allow a final "" split to work on
1149         nnimap.
1150
1151         * gnus-sum.el (gnus-user-date-format-alist): Rename back again from
1152         -summary- since it's a user-visible variable.
1153
1154         * nnimap.el (nnimap-retrieve-group-data-early): Don't do QRESYNC the
1155         first time you use the new Gnus.
1156
1157 2011-02-22  Teodor Zlatanov  <tzz@lifelogs.com>
1158
1159         * auth-source.el: Don't load netrc.el.
1160         (auth-sources): Search ~/.netrc as well by default.
1161         (auth-source-debug): Add 'trivia option for extra output.
1162         (auth-source-do-trivia): Use it.
1163         (auth-source-search): Simplify logic to use
1164         `auth-source-search-backends'.  Use `auth-source-do-trivia' where
1165         appropriate.  Don't keep a running count at this level.  Layer :create
1166         and :delete options appropriately on the first and second passes.
1167         Don't track the backend with the search results.
1168         (auth-source-search-backends): New function to search a list of
1169         backends for a processed spec.
1170         (auth-source-netrc-parse): Cache all netrc files, making
1171         auth-source-netrc-cache an alist keyed by the file name and using the
1172         file mtime as the caching criterion.  Keep the obfuscated data secret
1173         with a lexical bind.
1174         (auth-source-netrc-search): Don't calculate the length of the results
1175         unnecessarily.
1176         (auth-source-search-backends): Fix bug.
1177         (auth-source-netrc-create): Rework prompts.
1178
1179 2011-02-22  Andrew Cohen  <cohen@andy.bu.edu>
1180
1181         * nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key):
1182         Lower case names of search constraints.
1183         (nnir-run-query): Cache and reuse search constraints for all imap
1184         servers.
1185
1186 2011-02-22  Lars Ingebrigtsen  <larsi@gnus.org>
1187
1188         * gnus-msg.el (gnus-inews-add-send-actions): Restore the winconf name
1189         after exit.
1190         (gnus-setup-message): Define missing variable from last checkin.
1191
1192         * gnus-sum.el (gnus-summary-show-article): When called with t as the
1193         value, show the raw article.
1194
1195 2011-02-22  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
1196
1197         * gnus.el: No Gnus v0.13 is released.
1198
1199 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
1200
1201         * nnimap.el (nnimap-open-connection-1): Revert last change, since
1202         auth-source now accepts numbers.
1203
1204         * auth-source.el (auth-source-netrc-parse): Accept a number as the port
1205         spec, too.
1206         (auth-source-ensure-strings): New function.
1207
1208         * gnus-art.el (gnus-article-update-date-headers): Doc fix.
1209         (gnus-article-setup-buffer): Always restart the date timer so that user
1210         changes to the frequency is respected.
1211
1212         * nnimap.el (nnimap-open-connection-1): auth-source expects strings as
1213         port numbers, so make sure it gets that if nnimap-server-port is
1214         explicit.
1215
1216 2011-02-21  Simon Josefsson  <simon@josefsson.org>
1217
1218         * nnimap.el (nnimap-inbox): Doc fix.
1219
1220 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
1221
1222         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1223         Autoload.  Add optional arg FRAME, and pass it to color-values.
1224         (color-complement): Caller changed.  Doc fix.
1225         (color-gradient): Rewrite for better clarity and efficiency.
1226
1227 2011-02-20  Chong Yidong  <cyd@stupidchicken.com>
1228
1229         * shr-color.el (shr-color->hexadecimal): Use renamed function names
1230         color-rgb-to-hex, color-name-to-rgb, color-srgb-to-lab, and
1231         color-lab-to-srgb.
1232
1233 2011-02-20  Drew Adams  <drew.adams@oracle.com>
1234
1235         * color.el: First part of merge from hexrgb.el.
1236         (color-rgb-to-hex): Rename from color-rgb->hex.
1237         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
1238         saturation to zero if the value is too small.
1239         (color-rgb-to-hsl): Rename from color-rgb->hsl.
1240         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
1241         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
1242         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
1243         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
1244         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
1245         (color-cie-de2000): Doc fix.
1246
1247 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
1248
1249         * nntp.el (nntp-finish-retrieve-group-infos): Add a kludge to use the
1250         given method as in the group name if we're using an extended method.
1251         (nntp-finish-retrieve-group-infos): Wait for the end of the LIST ACTIVE
1252         command, if we're using that, instead of waiting for the beginning.
1253
1254         * gnus-start.el (gnus-get-unread-articles): Extend the methods so that
1255         we're sure to get unique server names, and we don't output two async
1256         commands in the same buffer.  This fixes an NNTP hang for some users.
1257
1258 2011-02-21  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
1259
1260         * gnus.el: No Gnus v0.11 is released.
1261
1262 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
1263
1264         * gnus-sum.el (gnus-summary-next-article): Add a kludge to reselect the
1265         summary buffer before reading going to the next buffer.  This avoids
1266         putting the point in the group buffer if you `C-g' the command.
1267
1268         * auth-source.el (auth-source-netrc-parse): Add an in-memory netrc
1269         cache (for now) to make ~/.authinfo.gpg files usable.
1270
1271         * nnfolder.el (copyright-update): Define for the compiler.
1272
1273         * auth-source.el (auth-source-search): Fix unbound variable.
1274
1275 2011-02-19  Glenn Morris  <rgm@gnu.org>
1276
1277         * gnus.el (gnus-meta): Doc fix.
1278
1279 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
1280
1281         * nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update,
1282         in case it's not yet loaded.
1283
1284 2011-02-20  Lars Ingebrigtsen  <larsi@gnus.org>
1285
1286         * nnimap.el (nnimap-wait-for-response): Ensure that we get the entire
1287         line we're waiting for.
1288
1289 2011-02-19  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
1290
1291         * gnus-art.el (gnus-article-next-page-1): Because customized mode-line
1292         face with line-width greater than zero will cause RET in gnus summary
1293         buffer to scroll down article page-wise because auto vscroll happens,
1294         it should be temporalily disabled when doing a scroll-up.
1295
1296 2011-02-19  Lars Ingebrigtsen  <larsi@gnus.org>
1297
1298         * nnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK"
1299         outputs from the server.
1300
1301 2011-02-18  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
1302
1303         * gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook
1304         later so that bbdb can hook in easier.
1305
1306 2011-02-18  Lars Ingebrigtsen  <larsi@gnus.org>
1307
1308         * auth-source.el (auth-source-search): Don't try to create credentials
1309         if the caller doesn't want that.
1310         (auth-source-search): If we don't find a match, don't bug out on
1311         non-bound variables.
1312         (auth-source-search): Only ask a single backend to create the
1313         credentials.
1314
1315         * nnimap.el (nnimap-log-command): Add a newline to the inhibited
1316         logging.
1317         (nnimap-credentials): Protect against auth-source-search returning nil.
1318         (nnimap-request-list): Protect against not being able to open the
1319         server.
1320
1321 2011-02-17  Lars Ingebrigtsen  <larsi@gnus.org>
1322
1323         * auth-source.el (auth-source-search): Do a two-phase search, one with
1324         no :create to get the responses from all backends.
1325
1326         * nnimap.el (nnimap-open-connection-1): Delete duplicate server names
1327         when getting credentials.
1328
1329         * gnus-util.el (gnus-delete-duplicates): New function.
1330
1331 2011-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
1332
1333         * nnimap.el (nnimap-credentials): Instead of picking the first port as
1334         a creation default, pass the whole port list down.  It will be
1335         completed.
1336
1337         * auth-source.el (auth-source-search): Updated docs to talk about
1338         multiple creation choices.
1339         (auth-source-netrc-create): Accept a list as a value (from the search
1340         parameters) and do completion on that list.  Keep a separate netrc line
1341         with the password obscured for showing the user.
1342
1343         * nnimap.el (nnimap-open-connection-1): Make the `nnimap-address' the
1344         first choice to `auth-source-search' so it will be used for entry
1345         creation instead of the server's Gnus-specific name.
1346         (nnimap-credentials): Rely on the auth-source library to select which
1347         port is actually wanted in the new netrc entry, so don't override
1348         `auth-source-creation-defaults'.
1349
1350         * auth-source.el (auth-source-netrc-parse): Use :port instead of
1351         :protocol and accept a missing user, host, or port as a wildcard match.
1352         (auth-source-debug): Default to off.
1353
1354         (auth-source-netrc-search, auth-source-netrc-create)
1355         (auth-source-secrets-search, auth-source-secrets-create)
1356         (auth-source-user-or-password, auth-source-backend, auth-sources)
1357         (auth-source-backend-parse-parameters, auth-source-search): Use :port
1358         instead of :protocol.
1359
1360         * nnimap.el (nnimap-credentials): Pass a port default to
1361         `auth-source-search' in case an entry needs to be created.
1362         (nnimap-open-connection-1): Use :port instead of :protocol.
1363
1364 2011-02-17  Katsumi Yamaoka  <yamaoka@jpl.org>
1365
1366         * auth-source.el: Bind load-path when loading EIEIO from
1367         "gnus-fallback-lib/eieio"; don't pass more than two args, that XEmacs
1368         21.4 doesn't support, to `require'.
1369         (auth-source-secrets-search): Use mm-delete-duplicates instead of
1370         delete-dups that is not available in XEmacs 21.4.
1371
1372 2011-02-16  Raphael Kubo da Costa  <kubito@gmail.com>  (tiny change)
1373
1374         * auth-source.el: Correctly load EIEIO from "gnus-fallback-lib/eieio"
1375         as EIEIO must also be loaded when auth-source.el is being
1376         byte-compiled.
1377
1378 2011-02-16  Teodor Zlatanov  <tzz@lifelogs.com>
1379
1380         * gnus-fallback-lib/eieio/eieio.el: Copy from Emacs.
1381
1382         * gnus-fallback-lib/eieio/eieio-speedbar.el: Copy from Emacs.
1383
1384         * gnus-fallback-lib/eieio/eieio-opt.el: Copy from Emacs.
1385
1386         * gnus-fallback-lib/eieio/eieio-datadebug.el: Copy from Emacs.
1387
1388         * gnus-fallback-lib/eieio/eieio-custom.el: Copy from Emacs.
1389
1390         * gnus-fallback-lib/eieio/eieio-comp.el: Copy from Emacs.
1391
1392         * gnus-fallback-lib/eieio/eieio-base.el: Copy from Emacs.
1393
1394         * auth-source.el: Load EIEIO from "gnus-fallback-lib/eieio" if
1395         necessary.
1396
1397 2011-02-16  Lars Ingebrigtsen  <larsi@gnus.org>
1398
1399         * gnus-sum.el (gnus-propagate-marks): Change default to t again, since
1400         nil means that nnimap doesn't get updated.
1401
1402 2011-02-16  Teodor Zlatanov  <tzz@lifelogs.com>
1403
1404         * auth-source.el (auth-source-netrc-create): Return a synthetic search
1405         result when the user doesn't want to write to the file.
1406         (auth-source-netrc-search): Expect a synthetic result and proceed
1407         accordingly.
1408         (auth-source-cache-expiry): New variable to override
1409         `password-cache-expiry'.
1410         (auth-source-remember): Use it.
1411
1412         * nnimap.el (nnimap-credentials): Remove the `inhibit-create'
1413         parameter.  Create entry if necessary by using :create t.
1414         (nnimap-open-connection-1): Don't pass `inhibit-create'.
1415
1416 2011-02-15  Teodor Zlatanov  <tzz@lifelogs.com>
1417
1418         * auth-source.el (auth-source-debug): Enable by default and don't
1419         mention the obsolete `auth-source-hide-passwords'.
1420         (auth-source-do-warn): New function to debug unconditionally.
1421         (auth-source-do-debug): Use it.
1422         (auth-source-backend-parse): Use it for invalid `auth-sources' entries
1423         and for Secrets API entries when the secrets.el library is not
1424         available.
1425
1426 2011-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
1427
1428         * gnus-sum.el (gnus-propagate-marks): Default to nil.
1429         (gnus-summary-exit): Kill the correct article buffer on exit from a
1430         `C-d' group.
1431
1432         * gnus-start.el (gnus-use-backend-marks): Removed, since it duplicates
1433         gnus-propagate-marks.
1434
1435         * gnus-sum.el (gnus-summary-exit-no-update): Restore the group conf
1436         before killing the buffers so that a non-full window conf gets handled
1437         correctly.
1438         (gnus-summary-exit): Ditto.
1439         (gnus-summary-read-group-1): Ditto.
1440
1441         * nntp.el (nntp-retrieve-group-data-early): Reinstate the two-part
1442         async code again so that we can debug it properly.
1443
1444         * message.el (message-reply): Take an optional switch-buffer parameter
1445         so that Gnus window confs are respected better.
1446
1447 2011-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
1448
1449         * auth-source.el (auth-source-backend-parse-parameters): Don't rely on
1450         `plist-get' to accept non-list parameters (XEmacs issue).
1451         Fix docstring.
1452         (auth-source-secrets-search): Use `delete-dups', `append mapcar', and
1453         `butlast' instead of `remove-duplicates', `mapcan', and `subseq'.
1454         (auth-sources, auth-source-backend-parse, auth-source-secrets-search):
1455         Login collection is "Login" and not "login".
1456
1457 2011-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
1458
1459         * gnus-art.el (article-update-date-lapsed): Don't bug out when updating
1460         multiple headers.
1461
1462         * nnimap.el (nnimap-inhibit-logging): New variable.
1463         (nnimap-log-command): Don't log login commands.
1464
1465         * auth-source.el (auth-source-netrc-search): The asserts seem to want
1466         to have more parameters.
1467
1468         * nnimap.el (nnimap-send-command): Mark the command time for each
1469         command, so that we don't get NOOPs stepping on our toes.
1470
1471         * gnus-art.el (article-date-ut): Get the date from the Date header on
1472         `t'.
1473
1474 2011-02-14  Katsumi Yamaoka  <yamaoka@jpl.org>
1475
1476         * auth-source.el (auth-source-search): Use copy-sequence instead of
1477         the cl.el copy-list.
1478
1479 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1480
1481         * imap.el: Bring it back (revert
1482         84d800cd31de3064f0ed39617d725709a2f8f42f).
1483
1484 2011-02-13  Adam Sjøgren  <asjo@koldfront.dk>
1485
1486         * gnus-delay.el (gnus-delay-article) Fix number of seconds per day.
1487         Improve prompt.
1488
1489 2011-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
1490
1491         * gnus-art.el (gnus-article-mode-line-format): Remove the article
1492         washing status from the default format.  It isn't very informative.
1493
1494 2011-02-13  Tassilo Horn  <tassilo@member.fsf.org>  (tiny change)
1495
1496         * nnimap.el (nnimap-request-accept-article, nnimap-process-quirk):
1497         Fix Gcc processing on imap.
1498
1499 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1500
1501         * imap.el: Remove file.  All the functionality is in nnimap.el.
1502
1503 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1504
1505         * message.el (message-bury): Don't pop up a new window when selected
1506         window is dedicated.
1507
1508 2011-02-10  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
1509
1510         * gnus-sum.el (gnus-summary-save-parts): Use read-directory-name.
1511
1512 2011-02-10  Teodor Zlatanov  <tzz@lifelogs.com>
1513
1514         * sieve-manage.el: Autoload `auth-source-search'.
1515         (sieve-sasl-auth): Use it.
1516
1517 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
1518
1519         * nnimap.el: Autoload `auth-source-forget+'.
1520         (nnimap-open-connection-1): Use it if the connection fails.
1521
1522         * auth-source.el: Require `password-cache'.
1523         (auth-source-hide-passwords, auth-source-cache): Remove and mark
1524         obsolete.
1525         (auth-source-magic): Marker for `password-cache' keys.
1526         (auth-source-do-cache): Update docstring.
1527         (auth-source-search): Use and check cache.
1528         (auth-source-forget-all-cached, auth-source-remember)
1529         (auth-source-recall, auth-source-forget, auth-source-forget+)
1530         (auth-source-specmatchp): Caching support functions.
1531         (auth-source-forget-user-or-password, auth-source-forget-all-cached):
1532         Remove and obsolete.
1533         (auth-source-user-or-password): Remove caching to further discourage
1534         using it.  Always hide passwords.
1535
1536         * password-cache.el (password-cache-remove): Accept secrets that are
1537         not strings.
1538
1539 2011-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
1540
1541         * nntp.el (nntp-retrieve-group-data-early-disabled): Disable the async
1542         code for now, since it doesn't work for all users.
1543
1544 2011-02-09  Julien Danjou  <julien@danjou.info>
1545
1546         * message.el (message-options): Make message-options really buffer
1547         local.
1548
1549 2011-02-08  Teodor Zlatanov  <tzz@lifelogs.com>
1550
1551         * mail-source.el: Autoload `auth-source-search'.
1552         (mail-source-keyword-map): Note order matters.
1553         (mail-source-set-1): Get all the mail-source source values and
1554         defaults and search auth-source on those if needed.  This can all
1555         probably be simplified.
1556
1557         * nnimap.el: Autoload `auth-source-search'.
1558         (nnimap-credentials): Use it.
1559         (nnimap-open-connection-1): Ask for the virtual server and physical
1560         address in one shot.
1561
1562         * nntp.el: Autoload `auth-source-search'.
1563         (nntp-send-authinfo): Use it.  Note TODO.
1564
1565 2011-02-08  Julien Danjou  <julien@danjou.info>
1566
1567         * shr.el (shr-tag-body): Add support for text attribute in body
1568         markups.
1569
1570         * message.el (message-options): Make message-options a local variable.
1571
1572 2011-02-07  Teodor Zlatanov  <tzz@lifelogs.com>
1573
1574         * auth-source.el (auth-source-secrets-search)
1575         (auth-source-user-or-password): Use `append' instead of `nconc'.
1576         (auth-source-user-or-password): Build return list better and protect
1577         against nil :secret.
1578
1579 2011-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
1580
1581         * nnimap.el (nnimap-update-info): Refactor slightly.
1582         (nnimap-update-info): Tell Gnus whether there are any \Recent messages.
1583         (nnimap-update-info): Clean up slightly.
1584         (nnimap-quirk): Add quirk for Gmail IMAP which bugs out on NUL
1585         characters.
1586         (nnimap-process-quirk): Rename function to avoid collision.
1587         (nnimap-update-info): Fix macrology bug-out.
1588         (nnimap-update-info): Simplify split history test.
1589
1590 2011-02-06  Michael Albinus  <michael.albinus@gmx.de>
1591
1592         * auth-source.el (top): Require 'eieio unconditionally.
1593         Autoload `secrets-get-attributes' instead of `secrets-get-attribute'.
1594         (auth-source-secrets-search): Limit search when `max' is greater than
1595         number of results.
1596
1597 2011-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
1598
1599         * nntp.el (nntp-finish-retrieve-group-infos): Protect against the first
1600         part not returning any data.
1601
1602         * proto-stream.el (open-protocol-stream): Document the return value.
1603
1604 2011-02-06  Teodor Zlatanov  <tzz@lifelogs.com>
1605
1606         * auth-source.el (auth-source-secrets-search): Add examples.
1607
1608 2011-02-06  Julien Danjou  <julien@danjou.info>
1609
1610         * message.el (message-setup-1): Handle message-generate-headers-first
1611         set to t.
1612
1613 2011-02-06  Teodor Zlatanov  <tzz@lifelogs.com>
1614
1615         * auth-source.el (auth-sources): Allow for simpler defaults for Secrets
1616         API with a string "secrets:collection-name" and with 'default.
1617         (auth-source-backend-parse): Parse "secrets:collection-name" and
1618         'default.  Recurse on parses instead of repeating code.  Use the
1619         Secrets API is the source is not nil and 'ignore otherwise.  Emit a
1620         message when ignoring a source.
1621         (auth-source-search): List ignored search keys at the top level.
1622         (auth-source-netrc-create): Use `case' instead of `cond'.
1623         (auth-source-secrets-search): Created with TODOs.
1624         (auth-source-secrets-create): Created with TODOs.
1625         (auth-source-retrieve, auth-source-create, auth-source-delete)
1626         (auth-source-protocol-defaults, auth-source-user-or-password-imap)
1627         (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh)
1628         (auth-source-user-or-password-sftp)
1629         (auth-source-user-or-password-smtp): Remove.
1630         (auth-source-user-or-password): Deprecated and modified to be a wrapper
1631         around `auth-source-search'.  Not tested thoroughly.
1632
1633 2011-02-04  Teodor Zlatanov  <tzz@lifelogs.com>
1634
1635         * auth-source.el: Bring in assoc and eioeio libraries.
1636         (secrets-enabled): New variable to track the status of the Secrets API.
1637         (auth-source-backend): New EIOEIO class to represent a backend.
1638         (auth-source-creation-defaults): New variable to set prompt defaults
1639         during token creation (see the `auth-source-search' docstring for
1640         details).
1641         (auth-sources): Simplify to allow a simple string as a netrc backend
1642         spec.
1643         (auth-source-backend-parse): Parse a backend from an `auth-sources' spec.
1644         (auth-source-backend-parse-parameters): Fill in the backend parameters.
1645         (auth-source-search): Main auth-source API entry point.
1646         (auth-source-delete): Wrapper around `auth-source-search' for deletion.
1647         (auth-source-search-collection): Helper function for searching.
1648         (auth-source-netrc-parse, auth-source-netrc-normalize)
1649         (auth-source-netrc-search, auth-source-netrc-create): Netrc backend.
1650         Supports search, create, and delete.
1651         (auth-source-secrets-search, auth-source-secrets-create): Secrets API
1652         backend stubs.
1653         (auth-source-user-or-password): Call `auth-source-search' but it's not
1654         ready yet.
1655
1656 2011-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
1657
1658         * message.el (message-setup-1): Remove the read-only stuff, since it
1659         doesn't work under XEmacs, for some reason.
1660
1661         * gnus-sum.el (gnus-user-date): Rename back from
1662         gnus-summary-user-date since user code refers to it.
1663
1664         * shr.el (shr-render-td): Store the actual background colour used.
1665
1666         * message.el (message-setup-1): Don't bind the constant
1667         -forbidden-properties.
1668         (message-setup-1): Revert previous change, since it needs to bind the
1669         props to insert them.
1670         (message-resend): Allow removing the read-only separator line.
1671
1672 2011-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
1673
1674         * nnimap.el (nnimap-request-accept-article): Give an error message if
1675         the APPEND wasn't successful.
1676
1677 2011-02-03  Adam Sjøgren  <asjo@koldfront.dk>
1678
1679         * gnus-start.el (gnus-get-unread-articles): Fix the call to methods
1680         that have no groups.
1681
1682 2011-02-03  Julien Danjou  <julien@danjou.info>
1683
1684         * gnus-draft.el: Remove progn around gnus-draft-setup.
1685
1686 2011-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
1687
1688         * gnus-start.el (gnus-read-active-for-groups): This function is never
1689         called with a nil `infos', so clean that up.
1690         (gnus-get-unread-articles): Request active files from primary/secondary
1691         methods that have no groups (yet).
1692
1693 2011-02-03  Julien Danjou  <julien@danjou.info>
1694
1695         * message.el (message-setup-1): Always generate References first.
1696         (message-mail): Return the return value of message-setup, not always t.
1697         (message-setup-1): Insert mail-header-separator with read-only and
1698         intangible properties set.
1699
1700         * gnus.el (gnus-summary-line-format): Add missing semi-colon for
1701         user-date in docstring.
1702
1703         * gnus-art.el (gnus-article-jump-to-part): Remove useless sit-for.
1704
1705         * gnus.el (gnus-summary-line-format): Mention &user-date format in
1706         docstring.
1707
1708         * gnus.el (gnus-user-date-format-alist): Change default value. Use
1709         defcustom, with type and group. Move from gnus-util.el. Rename to
1710         gnus-summary-user-date-format-alist.
1711
1712 2011-02-03  Glenn Morris  <rgm@gnu.org>
1713
1714         * nnimap.el (gnus-fetch-headers): Declare.
1715
1716         * nnheader.el (gnus-range-add, gnus-remove-from-range): Autoload.
1717
1718 2011-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
1719
1720         * message.el (message-forward-make-body-digest-plain)
1721         (message-followup, message-reply): Clean up things noted by Stefan.
1722
1723         * gnus-art.el (gnus-article-setup-buffer): Stop the date timer if
1724         gnus-article-update-date-headers is nil.
1725         (gnus-article-date-headers): Rip out the old -treat-date-* stuff, since
1726         it didn't really work with defcustom.
1727         (article-update-date-lapsed): Make sure the window start doesn't move,
1728         either.
1729
1730 2011-02-01  Julien Danjou  <julien@danjou.info>
1731
1732         * mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff
1733         format.
1734
1735         * mm-decode.el (mm-inline-media-tests): Do not check for diff-mode it's
1736         standard in Emacs nowadays.
1737
1738         * color.el (color-gradient): Add a color-gradient function.
1739
1740 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1741
1742         * message.el (message-expand-name): Don't trust the return value of
1743         bbdb-complete-name.
1744         (message-check-news-header-syntax): Remove unused var `start'.
1745         (message-idna-to-ascii-rhs-1): Remove unused vars `rhs' and `address'.
1746         (message-inhibit-body-encoding): Move to before first use.
1747         (mail-abbrev-mode-regexp, Expires, User-Agent, Lines, Distribution)
1748         (To, References, In-Reply-To, Newsgroups, Subject, Path, From)
1749         (Organization, Message-ID, Date, mh-previous-window-config):
1750         Defvar the vars using dynamic scoping.
1751
1752 2011-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
1753
1754         * shr.el (shr-render-td): Only do colours at the final rendering.
1755         Should be slightly faster.
1756         (shr-insert-table): Fix up TD background colours when doing the
1757         vertical padding.
1758
1759         * gnus-art.el (article-date-ut): Protect against articles with no Date
1760         header.
1761         (article-update-date-lapsed): Don't use current-column to find the
1762         horizontal position.  It's fragile in the presence of \003 characters.
1763
1764         * gnus-start.el (gnus-read-active-file-1): Remove dead parameter infos.
1765
1766 2011-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
1767
1768         * gnus-art.el (article-transform-date): Rewrite to still work when
1769         there are several rfc2822 parts.
1770         (article-transform-date): Fix infinite recursion.
1771         (article-date-ut): Replace infinitely many Date headers with a single
1772         one when called interactively.
1773
1774         * nnimap.el (nnimap-wait-for-response): Wait for results in a more
1775         secure manner.
1776
1777         * gnus-art.el (article-update-date-lapsed): Try to avoid having point
1778         move around by not using save-window-excursion.  It seems to work...
1779
1780 2011-01-31  Katsumi Yamaoka  <yamaoka@jpl.org>
1781
1782         * gnus-art.el (article-make-date-line): Work for user-defined format.
1783
1784 2011-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
1785
1786         * nntp.el (nntp-retrieve-group-data-early)
1787         (nntp-finish-retrieve-group-infos): Implement the asynchronous data
1788         fetching functions.
1789
1790         * gnus-start.el (gnus-read-active-for-groups): Read the active files
1791         thoroughly for all backends that have no known groups.  This should
1792         allow new nnml methods to retrieve mail.
1793
1794         * gnus-group.el (gnus-group-jump-to-group): Allow jumping to groups
1795         that Gnus doesn't know exists again.
1796
1797         * gnus-art.el (gnus-article-date-lapsed-new-header): Remove.
1798         (gnus-treat-date-ut): Ditto.
1799         (gnus-article-update-date-header): Rename.
1800         (gnus-treat-date-local): Remove.
1801         (gnus-treat-date-english): Remove.
1802         (gnus-treat-date-lapsed): Remove.
1803         (gnus-treat-date-combined-lapsed): Remove.
1804         (gnus-treat-date-original): Remove.
1805         (gnus-treat-date-iso8601): Remove.
1806         (gnus-treat-date-user-defined): Remove.
1807         (gnus-article-date-headers): New variable to control all the date
1808         header options.
1809         (article-date-ut): Rewrite to allow using the new way to format date
1810         headers(s).
1811
1812 2011-01-30  Lars Ingebrigtsen  <larsi@gnus.org>
1813
1814         * nnmail.el (nnmail-article-group): Check for a direct fancy split
1815         method.
1816         (nnmail-article-group): A better test for fanciness.
1817
1818         * nnimap.el (nnimap-request-head): Protect against not finding the
1819         article by Message-ID.
1820
1821 2011-01-29  Lars Ingebrigtsen  <larsi@gnus.org>
1822
1823         * gnus-art.el (article-update-date-lapsed): Try a better way to really
1824         keep point at the "same place".
1825
1826 2011-01-28  Lars Ingebrigtsen  <larsi@gnus.org>
1827
1828         * gnus-sum.el (gnus-select-newsgroup): Don't try to alter the active
1829         data if the group is unactivated.
1830
1831 2011-01-28  Julien Danjou  <julien@danjou.info>
1832
1833         * gnus-win.el: Remove dead function gnus-window-configuration-element.
1834         (gnus-all-windows-visible-p): Remove old compatibility code.
1835         (gnus-window-top-edge): Add docstring.
1836
1837         * gnus-group.el (gnus-group-jump-to-group): Set must match to t.
1838
1839 2011-01-28  Lars Ingebrigtsen  <larsi@gnus.org>
1840
1841         * gnus-int.el (gnus-request-marks): Call *-request-marks instead of the
1842         older request-update-info.
1843
1844         * gnus-art.el (article-make-date-line): Limit the length a bit more.
1845
1846 2011-01-28  Daiki Ueno  <ueno@unixuser.org>
1847
1848         * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt):
1849         Give mml2015-signers higher precedence over mml2015-sign-with-sender.
1850
1851 2011-01-27  Lars Ingebrigtsen  <larsi@gnus.org>
1852
1853         * gnus-group.el (gnus-group-refresh-group): Refresh even non-visible
1854         groups.  This makes the nndraft:queue group pop up if it's not already
1855         there.
1856
1857         * gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no
1858         messages" logic, which was reversed.
1859
1860         * gnus-art.el (article-update-date-lapsed): Ensure that point stays at
1861         the "same place" even if point is on the line being replaced.
1862         (article-update-date-lapsed): Allow updating both the combined lapsed
1863         and the lapsed headers.
1864         (article-update-date-lapsed): Skip past all the X-Sent/Date headers.
1865         (article-make-date-line): Limit the number of segments dynamically to
1866         avoid too-long lines.
1867
1868 2011-01-27  Julien Danjou  <julien@danjou.info>
1869
1870         * mml2015.el (mml2015-epg-sign): Add and use mml2015-sign-with-sender.
1871         (mml2015-epg-encrypt): Use mml2015-sign-with-sender.
1872
1873 2011-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
1874
1875         * shr.el (shr-expand-newlines, shr-previous-newline-padding-width):
1876         Use plist-get instead of the cl function getf.
1877
1878 2011-01-27  Glenn Morris  <rgm@gnu.org>
1879
1880         * gnus-util.el (float-time): Get rid of compiler warning, again.
1881
1882 2011-01-27  Lars Ingebrigtsen  <larsi@gnus.org>
1883
1884         * shr.el (shr-put-color): Special-case background colours: Do put them
1885         at the blank parts at the front of the lines.
1886
1887         * gnus-draft.el (gnus-draft-clear-marks): New function to be run as an
1888         exit hook to nix out all data on readedness on group exit.
1889
1890         * gnus-util.el (float-time): If float-time is bound, always use it on
1891         all Emacsen.  It's unclear why the subrp check was there.
1892         (time-date): Require to make some autoload issues on XEmacs go away.
1893
1894         * shr.el (shr-put-color): Don't do the box padding in tables, since
1895         they're already padded.
1896
1897 2011-01-26  Lars Ingebrigtsen  <larsi@gnus.org>
1898
1899         * gnus-art.el (gnus-article-next-page): When the last line of the
1900         article is displayed, scroll down once more instead of going to the
1901         next article at once.
1902         (article-lapsed-string): Refactor out and allow specifying how many
1903         segments you want.
1904         (gnus-article-setup-buffer): Start updating the lapsed header directly.
1905         (gnus-article-update-lapsed-header): New variable.
1906
1907         * shr.el: Revert change that made headings use different-sized faces.
1908         The Emacs display engine isn't advanced enough that, for instance,
1909         tables can comfortably use differently-sized faces.
1910
1911 2011-01-25  Lars Ingebrigtsen  <larsi@gnus.org>
1912
1913         * nnimap.el (nnimap-open-connection-1): Store the actual stream type
1914         used.
1915         (nnimap-login): Prefer plain LOGIN if it's enabled (since it requires
1916         fewer round trips than CRAM-MD5, and it's less likely to be buggy), and
1917         we're using an encrypted connection.
1918
1919         * proto-stream.el: Alter the interface functions to also return the
1920         actual stream type used: network or tls.
1921
1922 2011-01-25  Julien Danjou  <julien@danjou.info>
1923
1924         * mm-view.el (mm-display-shell-script-inline): Fix typo in docstring.
1925         (mm-display-javascript-inline): New function.
1926
1927         * mm-decode.el (mm-inline-media-tests): Add application/javascript
1928         viewing function.
1929
1930 2011-01-25  Katsumi Yamaoka  <yamaoka@jpl.org>
1931
1932         * shr.el (shr-expand-newlines): Fix variable name.
1933
1934 2011-01-25  Lars Ingebrigtsen  <larsi@gnus.org>
1935
1936         * shr.el (shr-expand-newlines): Make nested boxes work.
1937
1938 2011-01-24  Lars Ingebrigtsen  <larsi@gnus.org>
1939
1940         * shr.el (shr-expand-newlines): Proof of concept implemantation of boxy
1941         backgrounds.
1942         (shr-expand-newlines): Switch to using overlays to enable kill'n'yank
1943         in a more sensible manner.
1944
1945 2011-01-24  Teodor Zlatanov  <tzz@lifelogs.com>
1946
1947         * mml-smime.el (mml-smime-use): Make it a defcustom and default to 'epg
1948         if EPG is loaded.
1949
1950 2011-01-24  Julien Danjou  <julien@danjou.info>
1951
1952         * shr.el: Use defface to create shr-tag-h[1-6] faces to fontify h[1-6]
1953         tags.
1954
1955 2011-01-24  Lars Ingebrigtsen  <larsi@gnus.org>
1956
1957         * gnus-art.el (gnus-article-read-summary-keys): Don't call disabled
1958         commands.
1959
1960         * gnus-gravatar.el (gnus-gravatar-insert): Don't move point around
1961         in the article buffer.
1962         (gnus-gravatar-insert): Use blank space from the current buffer to
1963         avoid breaking text properties.  This makes X-Sent updating work again.
1964
1965         * gravatar.el (gravatar-retrieve): Be silent when retrieving.
1966
1967 2011-01-23  Lars Ingebrigtsen  <larsi@gnus.org>
1968
1969         * gnus-html.el (gnus-html-image-fetched): Kill the buffer anyway, and
1970         fix the bug in url-http.el instead.
1971
1972         * shr.el (shr-image-fetched): Ditto.
1973
1974         * shr.el (shr-image-fetched): Avoid having point move in the article
1975         buffer.
1976
1977         * gnus-html.el (gnus-html-image-fetched): Don't kill the temporary
1978         buffer after being called.  It's apparently being killed by url.el, and
1979         killing it made point move to end-of-buffer in a random buffer.
1980
1981         * shr.el (shr-image-fetched): Ditto.
1982
1983 2011-01-23  Julien Danjou  <julien@danjou.info>
1984
1985         * mm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
1986
1987         * mm-uu.el (mm-uu-org-src-code-block-extract): Change text/org to
1988         text/x-org.
1989
1990 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
1991
1992         * gnus-sum.el (gnus-summary-move-article): Protect against backends
1993         (i.e., nnimap) returning nil as the article number.
1994
1995 2011-01-22  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
1996
1997         * flow-fill.el (fill-flowed): Make `delete-space' option correspond to
1998         "DelSp" parameter in RFC3676.
1999
2000 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
2001
2002         * message.el (message-check-recipients): Display the encoded version of
2003         the bogus address if they differ.
2004
2005         * gnus-draft.el (gnus-group-send-queue): Really refresh the queue group
2006         after sending.
2007
2008         * gnus-agent.el (gnus-agent-send-mail): Ditto.
2009
2010         * gnus-group.el (gnus-group-refresh-group): New convenience function.
2011
2012         * gnus-draft.el (gnus-group-send-queue): Update the queue group in the
2013         group buffer after sending the queue.
2014
2015         * gnus-agent.el (gnus-agent-send-mail): Ditto.
2016
2017 2011-01-22  Julien Danjou  <julien@danjou.info>
2018
2019         * mailcap.el (mailcap-mime-extensions): Rename text/org to text/x-org.
2020
2021 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
2022
2023         * mm-decode.el (mm-preferred-alternative-precedence): Don't bug out on
2024         nested related parts.
2025
2026         * nnfolder.el (nnfolder-request-expire-articles): Return the list of
2027         unexpired articles.  This fixes the regression that led expiry marks to
2028         disappear from nnfolder groups.
2029
2030 2011-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2031
2032         * gnus-art.el (gnus-button-alist, gnus-button-handle-info-keystrokes):
2033         Don't confuse the "ret" of "retrograde" with RET.
2034
2035 2011-01-21  Julien Danjou  <julien@danjou.info>
2036
2037         * gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather
2038         than mm-insert-inline.
2039
2040 2011-01-21  Katsumi Yamaoka  <yamaoka@jpl.org>
2041
2042         * gnus-art.el (gnus-article-remove-images, gnus-article-show-images):
2043         Widen article buffer.
2044
2045 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2046
2047         * mm-util.el (mm-find-buffer-file-coding-system): Don't forget to kill
2048         the temp buffer.
2049         * message.el (message-mailer-swallows-blank-line): Use with-temp-buffer.
2050
2051 2011-01-20  Julien Danjou  <julien@danjou.info>
2052
2053         * mm-decode.el (mm-inline-media-tests): Add text/x-sh.
2054
2055         * gnus-art.el (gnus-mime-inline-part): Use mm-display-inline rather
2056         than mm-insert-inline to insert inline part: this respect
2057         mm-inline-media-tests displayers.
2058
2059         * mm-view.el (mm-display-shell-script-inline): New function.
2060
2061         * mm-decode.el (mm-inline-media-tests): Add x-shellscript and x-sh.
2062
2063         * mm-uu.el (mm-uu-type-alist): Add org block.
2064         (mm-uu-org-src-code-block-extract): New function.
2065
2066         * mm-view.el (mm-display-org-inline): New function.
2067
2068         * mm-decode.el (mm-automatic-display): Add text/org.
2069
2070         * mailcap.el (mailcap-mime-extensions): Add .org.
2071
2072 2011-01-19  Katsumi Yamaoka  <yamaoka@jpl.org>
2073
2074         * gnus-art.el (gnus-article-highlight): Remove argument passed to
2075         gnus-article-add-buttons.
2076
2077 2011-01-19  Tom Rauchenwald  <sehnsucht.nach.unendlichkeit@quantentunnel.de>  (tiny change)
2078
2079         * spam.el (spam-spamassassin-register-with-sa-learn): Insert a full
2080         From header with a date and "nobody" as the sender.
2081
2082 2011-01-19  Julien Danjou  <julien@danjou.info>
2083
2084         * gnus-art.el (gnus-article-add-buttons): Simplify condition.
2085         (gnus-button-push): Remove gnus-button-entry function, it fails heavily
2086         if you have the same regexp several times.
2087         (gnus-button-push): Fix matching when regexp is symbol.
2088
2089 2011-01-15  Glenn Morris  <rgm@gnu.org>
2090
2091         * message.el (message-mail): A compose-mail function should
2092         accept headers as strings.
2093
2094 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2095
2096         * message.el (message-tool-bar-gnome): Tweak tool-bar items.
2097         Add :vert-only tags.
2098         (message-mail): New arg RETURN-ACTION.
2099         (message-return-action): New var.
2100         (message-bury): Use it.
2101         (message-mode): Make it buffer-local.
2102         (message-send-and-exit): Always call message-bury.
2103
2104         * gnus-msg.el (gnus-msg-mail): New arg RETURN-ACTION.  Pass it to
2105         message-mail.
2106
2107 2011-01-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2108
2109         * nnimap.el (nnimap-convert-partial-article): Protect against
2110         zero-length body parts.
2111
2112         * mm-decode.el (mm-preferred-alternative-precedence):
2113         Discourage showing empty parts.
2114
2115         * gnus-int.el (gnus-request-accept-article): Don't try to update marks
2116         and stuff if the backend didn't return the article number.  This fixes
2117         an Exchange-related nnimap bug.
2118
2119         * gnus-sum.el (gnus-summary-next-article): Remove hack to reselect
2120         group window, because it does the wrong thing when a separate frame
2121         displays the group buffer.
2122
2123         * proto-stream.el (open-protocol-stream): Protect against the low-level
2124         transport functions returning nil.
2125
2126 2011-01-07  Daiki Ueno  <ueno@unixuser.org>
2127
2128         * mml2015.el (epg-sub-key-fingerprint): Autoload.
2129         (mml2015-epg-find-usable-secret-key): New function.
2130         (mml2015-epg-sign): Use mml2015-epg-find-usable-secret-key instead of
2131         mml2015-epg-find-usable-key (Bug#7797).
2132         (mml2015-epg-encrypt): Ditto.
2133
2134 2011-01-05  Katsumi Yamaoka  <yamaoka@jpl.org>
2135
2136         * dgnushack.el (rot13-string): Fix the way to get the argument.
2137
2138 2011-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2139
2140         * flow-fill.el (fill-flowed-encode): Do encoding citation-aware.
2141
2142 2011-01-03  Glenn Morris  <rgm@gnu.org>
2143
2144         * sieve-manage.el (sieve-manage-open): Correctly set sieve-manage-port.
2145
2146         * sieve.el (sieve-open-server): Give a more explicit error if
2147         sieve-manage-open returns nil.  (Bug#7720)
2148
2149 2011-01-02  Karl Fogel  <kfogel@red-bean.com>
2150
2151         * gnus-msg.el (gnus-message-replyencrypt): Default to `t'.
2152
2153 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2154
2155         * nnimap.el (nnimap-login): Prefer AUTH=CRAM-MD5, if it's available.
2156         This avoids sending passwords in plain text over non-encrypted
2157         channels.
2158
2159         * shr.el (shr-rescale-image): Display all GIF images as animated images.
2160
2161         * nnimap.el (nnimap-login): Refactored out into own function, and
2162         implement CRAM-MD5.
2163         (nnimap-wait-for-line): Refactored out.
2164
2165         * mm-view.el (mml-smime): Require.
2166
2167 2010-12-20  David Engster  <deng@eml.cc>
2168
2169         * mm-view.el (mm-view-pkcs7-decrypt): If mml-smime-use is set to 'epg,
2170         use EPG to decrypt S/MIME messages instead of openssl.
2171
2172 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2173
2174         * nnimap.el (nnimap-request-group): Avoid double SELECT on `M-g'.
2175
2176         * gnus-group.el (gnus-group-kill-group): Don't try to update the group
2177         status is the group clearly is unreachable.
2178
2179         * auth-source.el (auth-source-create): Add the optional second
2180         parameter to `local-variable-p' to be compatible with XEmacs.
2181
2182 2011-01-02  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
2183
2184         * nnml.el (nnml-request-article): Allow requesting by Message-ID to
2185         work when using a compressed nnml folder.
2186
2187 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2188
2189         * gnus-sum.el (gnus-select-newsgroup): Don't propagate marks to
2190         backends after sanitising on entry, because this never makes sense:
2191         If the articles have gone missing, then the data no longer exists on
2192         the backend, and if they haven't, then Gnus is wrong, and shouldn't
2193         overwrite anything anyway.
2194
2195         * shr.el (shr-insert-document): Bind shr-width dynamically to
2196         window-width if it's nil.
2197
2198 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2199
2200         * shr.el (shr-width, shr-insert-document): Allow nil as shr-width value
2201         with the meaning of using the full emacs window width for rendering.
2202
2203 2010-12-27  Daiki Ueno  <ueno@unixuser.org>
2204
2205         * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Take care the
2206         case when sender is not given.
2207
2208 2010-12-23  Julien Danjou  <julien@danjou.info>
2209
2210         * gnus-gravatar.el (gnus-gravatar-transform-address): Set
2211         `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting
2212         the addresses, otherwise we might misplaced the gravatar.
2213
2214 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
2215
2216         * mml1991.el (pgg-sign-region, pgg-encrypt-region):
2217         * gnus-art.el (pgg-snarf-keys-region): Autoload since PGG is now
2218         obsolete in Emacs.
2219
2220 2010-12-20  Julien Danjou  <julien@danjou.info>
2221
2222         * gnus-util.el (gnus-rescale-image): Revert last change.
2223
2224 2010-12-17  Chong Yidong  <cyd@stupidchicken.com>
2225
2226         * binhex.el: Improve commentary (Bug#7482).
2227
2228 2010-12-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2229
2230         * gnus-group.el (gnus-group-delete-articles): New command.
2231
2232 2010-12-17  Andrew Cohen  <cohen@andy.bu.edu>
2233
2234         * nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
2235
2236 2010-12-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2237
2238         * gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change
2239         here, since it's up to the backends to do CRLF removal if their
2240         protocol has it.
2241
2242         * nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
2243
2244 2010-12-17  Julien Danjou  <julien@danjou.info>
2245
2246         * gnus-util.el (gnus-rescale-image): Allow to resize images even if
2247         they are from file. Can also scale up.
2248
2249 2010-12-17  Andrew Cohen  <cohen@andy.bu.edu>
2250
2251         * gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore
2252         gnus-use-agent.
2253         (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
2254
2255         * nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
2256
2257 2010-12-17  Julien Danjou  <julien@danjou.info>
2258
2259         * gravatar.el (gravatar-retrieve-synchronously): New function.
2260         (gravatar-get-data): Make more robust.
2261
2262 2010-12-16  Katsumi Yamaoka  <yamaoka@jpl.org>
2263
2264         * lpath.el: Bind epa-file-encrypt-to for Emacs 22 and XEmacs.
2265
2266 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2267
2268         * nnimap.el (nnimap-wait-for-response): Fix the end-point calculation
2269         to really consider the last line.
2270
2271 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
2272
2273         * auth-source.el (auth-source-gpg-encrypt-to): New variable to set the
2274         list of recipient keys, or use symmetric encryption if not a list.
2275         (auth-source-create): Use it to make `epa-file-encrypt-to' local for an
2276         EPA override, replacing the call to `netrc-store-data'.
2277
2278 2010-12-16  Dan Davison  <dandavison7@gmail.com>  (tiny change)
2279
2280         * gnus-srvr.el: Avoid passing nil regexp argument to
2281         delete-matching-lines.
2282
2283 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2284
2285         * gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML
2286         fetching stops when Gnus exits.
2287
2288         * nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own
2289         function.
2290         (nnfolder-request-expire-articles): Save all the buffers after doing
2291         expiry.
2292
2293         * nnmail.el (nnmail-expiry-target-group): Revert the "all articles are
2294         the last article", since that led to serious performance regressions
2295         when expiring nnml groups.
2296
2297 2010-12-16  Andrew Cohen  <cohen@andy.bu.edu>
2298
2299         * nnir.el: Improve customizations.
2300
2301 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2302
2303         * gnus-start.el (gnus-subscribe-newsgroup): Notify the backend.
2304
2305         * gnus-group.el (gnus-group-kill-group): Notify the backend that the
2306         group has been killed.
2307         (gnus-group-yank-group): Ditto.
2308
2309         * gnus-srvr.el (gnus-browse-unsubscribe-group): Ditto.
2310
2311         * nnimap.el (nnimap-request-update-group-status): New function.
2312
2313         * gnus-int.el (gnus-request-update-group-status): New interface
2314         function.
2315
2316         * gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for
2317         copying read-ness to the backends.
2318
2319         * nnimap.el (nnimap-quirk): New function.
2320         (nnimap-retrieve-group-data-early): Use it.
2321         (nnimap-quirks): New alist.
2322
2323 2010-12-16  Katsumi Yamaoka  <yamaoka@jpl.org>
2324
2325         * shr.el (shr-insert): Set shr-start after deleting trailing space;
2326         don't delete it within indentation.
2327
2328 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2329
2330         * nnimap.el (nnimap-wait-for-response): Always look (at least) at the
2331         previous line.
2332
2333 2010-12-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2334
2335         * nnimap.el (nnimap-retrieve-group-data-early): Fix the syntax of the
2336         QRESYNC command by deleting a superfluous space which broke Cyrus
2337         servers.  This change will break other servers that are buggy the other
2338         way around.
2339
2340 2010-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
2341
2342         * spam.el: Reindent and fix long lines.
2343         (spam-copy-or-move-routine): Exclude invalid move destinations.
2344
2345 2010-12-14  Andrew Cohen  <cohen@andy.bu.edu>
2346
2347         * nnir.el (nnir-mode): Don't install registry hooks if user hasn't
2348         installed the registry.
2349
2350 2010-12-14  Katsumi Yamaoka  <yamaoka@jpl.org>
2351
2352         * dgnushack.el (rot13-string): New macro for XEmacs.  netrc.el uses it.
2353
2354 2010-12-13  Andrew Cohen  <cohen@andy.bu.edu>
2355
2356         * nnir.el (nnir-run-gmane): Better check for gmane groups: error out if
2357         groupname doesn't contain "gmane".
2358
2359 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2360
2361         * netrc.el (netrc-point-at-eol): Remove the unused netrc-point-at-old
2362         and netrc-bound-and-true-p bindings.
2363         (netrc-parse): Cache the netrc contents.
2364
2365         * gnus-start.el (gnus-matches-options-n): Fix typo in last change.
2366         (gnus-1): Don't create the nndrafts group twice.
2367         (gnus-setup-news): There's no need to read the active file here, since
2368         that's done again later on a per-backend basis.
2369         (gnus-start-draft-setup): Make sure that the new group is started out
2370         empty.
2371
2372         * gnus-agent.el (gnus-agentize): Don't create the queue group
2373         automatically on startup.  It'll be created later, if needed.
2374
2375         * gnus-start.el (gnus-auto-subscribed-groups): Add nnimap to the list
2376         of automatically subscribed groups.
2377         (gnus-auto-subscribed-categories): New variable.
2378         (gnus-matches-options-n): Use it.
2379         (gnus-default-subscribed-newsgroups): Remove unused variable.
2380         (gnus-start-draft-setup): Message a bit less.
2381
2382 2010-12-13  Andrew Cohen  <cohen@andy.bu.edu>
2383
2384         * nnir.el (nnir-run-imap): Return article list in order of increasing
2385         UID.
2386
2387 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2388
2389         * gnus-sum.el (gnus-summary-enter-digest-group):
2390         Mention gnus-auto-select-on-ephemeral-exit.
2391
2392         * proto-stream.el (proto-stream-open-network-only): Fix the calling
2393         convention of the network-only option.
2394
2395 2010-12-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2396
2397         * proto-stream.el (proto-stream-open-network-only): New function to
2398         have a way to specify non-STARTTLS upgrade connections.
2399
2400 2010-12-10  Julien Danjou  <julien@danjou.info>
2401
2402         * gnus-gravatar.el (gnus-gravatar-transform-address): Fix error when
2403         email address is nil.
2404
2405         * message.el (message-bogus-recipient-p): Set address to "" if nil.
2406
2407 2010-12-10  Andrew Cohen  <cohen@andy.bu.edu>
2408
2409         * nnir.el (nnir-request-expire-articles): Ignore expiry except for
2410         deletion.
2411         (nnir-run-imap): Only need to parse list once.
2412
2413 2010-12-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2414
2415         * shr.el (shr-tag-script): Ignore <script>.
2416         (shr-tag-label): Add <label> support.
2417
2418 2010-12-09  Katsumi Yamaoka  <yamaoka@jpl.org>
2419
2420         * mm-util.el (mm-ucs-to-char): Use eval-and-compile.
2421
2422         * shr.el (shr-image-displayer): Work for images lined side by side.
2423
2424 2010-12-08  Robert Pluim  <rpluim@gmail.com>
2425
2426         * gnus-demon.el (gnus-demon-init): Call run-with-timer with an integer
2427         parameter, since XEmacs doesn't accept t as a parameter.
2428
2429 2010-12-08  Andrew Cohen  <cohen@andy.bu.edu>
2430
2431         * nnir.el (nnir-retrieve-headers): Use rassq when comparing article
2432         ids.
2433         (nnir-run-gmane): Simplify groupspec formatting.
2434         (nnir-request-expire-articles): New function.
2435
2436 2010-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2437
2438         * nnimap.el (nnimap-parse-flags): Tweak VANISHED regexp to avoid regexp
2439         overflow, possibly.
2440
2441         * shr.el (shr-tag-table-1): Use bg/gfcolor specs on tables.
2442         (shr-render-td): Handle td style="" better.
2443         (shr-tag-table): Use the color from the style sheet.
2444         (shr-render-td): Make sure we copy over all the overlays, too.
2445
2446 2010-12-07  Andrew Cohen  <cohen@andy.bu.edu>
2447
2448         * nnir.el (nnir-run-gmane): Restore sub-optimal test for gmane server.
2449         (nnir-request-article): Improve article retrieval.
2450
2451 2010-12-07  Katsumi Yamaoka  <yamaoka@jpl.org>
2452
2453         * mm-util.el (mm-extra-numeric-entities): New variable.
2454
2455         * mm-url.el (mm-url-decode-entities):
2456         * mm-decode.el (mm-shr): Use it to decode extra numeric entities.
2457
2458         * lpath.el: Fbind completion-at-point for Emacs 22 and XEmacs.
2459
2460 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2461
2462         * message.el: Use completion-at-point.
2463         (message-completion-function): New fun, extracted from message-tab.
2464         (message-mode): Use it for completion-at-point-functions.
2465         (message-tab): Use it and completion-at-point.
2466
2467 2010-12-07  Katsumi Yamaoka  <yamaoka@jpl.org>
2468
2469         * shr.el (shr-find-fill-point): Don't break a line after a kinsoku-bol
2470         character if a non-breakable character follows.
2471
2472 2010-12-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2473
2474         * proto-stream.el (proto-stream-open-tls): Return nil if we don't get
2475         any stream.
2476
2477         * shr.el (shr-tag-font): Colorize the region.
2478         (shr-tag-body): Ditto.
2479         (shr-tag-font): Actually let the styles be inherited instead of
2480         overwriting them.
2481         (shr-tag-font): Get the background color right.
2482         (shr-tag-style): Ignore all <style> tags for the moment.
2483
2484         * gnus-int.el (gnus-request-thread): Rework to take a header instead of
2485         a Message-ID to avoid having nnimap depend on gnus-sum.
2486
2487         * shr.el (shr-descend): Only colorize something if we have a node that
2488         sets colors.
2489
2490 2010-12-06  Julien Danjou  <julien@danjou.info>
2491
2492         * shr.el (shr-render-td): Render td content with shr-descend, so style
2493         will be applied to <td> too.
2494         (shr-colorize-region): Colorize region even if we only have a background.
2495         (shr-tag-body): Fix color and background color inheritance.
2496         Do not recolorize after shr-generic.
2497         (shr-tag-font): Let shr-generic colorize via inheritance.
2498
2499 2010-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
2500
2501         * shr.el (shr-find-fill-point): Don't regard apostrophe as kinsoku-bol.
2502
2503 2010-12-06  Andrew Cohen  <cohen@andy.bu.edu>
2504
2505         * nnir.el (nnir-request-move-article): Remove obsolete code.
2506
2507 2010-12-05  Katsumi Yamaoka  <yamaoka@jpl.org>
2508
2509         * gnus-util.el (gnus-macroexpand-all): Use eval-and-compile.
2510
2511 2010-12-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2512
2513         * gnus-sum.el (gnus-summary-respool-article): The completion function
2514         expects a list instead of an alist.
2515
2516         * nntp.el (nntp-snarf-error-message): nnheader-report takes a format
2517         string as the parameter.
2518
2519         * gnus.el (gnus-valid-select-methods): Allow nnimap to respool.
2520
2521         * shr.el (shr-stylesheet): New dynamic variable for cascading the
2522         styles.
2523         (shr-colorize-region): New function.
2524         (shr-insert-background-overlay): Remove.
2525         (shr-render-td): Background setting should be taken care of on a higher
2526         level.
2527         (shr-tag-body): Use post-hoc colorizations.
2528         (shr-tag-body): Set up a style sheet based on bgcolor/fgcolor.
2529         (shr-put-color-1): Don't overwrite old colors.
2530         (shr-colorize-region): When the background color isn't explicit, use
2531         a fixed background.
2532
2533         * gnus-util.el (gnus-output-to-mail): Require nnmail before using
2534         nnmail variables.
2535
2536 2010-12-05  Bjørn Mork  <bjorn@mork.no>
2537
2538         * nnimap.el (nnimap-process-expiry-targets): Avoid downloading articles
2539         unless necessary.
2540
2541 2010-12-05  Andrew Cohen  <cohen@andy.bu.edu>
2542
2543         * nnir.el (nnir-run-gmane): Use more careful test for gmane nntp
2544         server.
2545
2546 2010-12-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2547
2548         * gnus-html.el (gnus-html-put-image): Use widget instead of local maps
2549         so that TAB works.
2550
2551         * gnus-sum.el (gnus-summary-show-article): Reverse the meanings of `C-u
2552         C-u g' and `C-u g' so that `C-u g' does what it traditionally did.
2553
2554         * shr.el (shr-urlify): Show the URL before the title to avoid
2555         misleading URLs.
2556
2557 2010-12-04  Adam Sjøgren  <asjo@koldfront.dk>
2558
2559         * shr.el (shr-urlify): Display the title in <a> tags.
2560
2561 2010-12-04  Andrew Cohen  <cohen@andy.bu.edu>
2562
2563         * nnir.el (nnir-categorize): Replace mapcar with mapc.
2564
2565 2010-12-03  Andrew Cohen  <cohen@andy.bu.edu>
2566
2567         * nnir.el: Rearrange code to allow macros to be autoloaded by
2568         gnus-sum.el.
2569         (nnir-retrieve-headers-override-function): Make this variable
2570         customizable.
2571         (nnir-retrieve-headers): Remove obsolete subject-mangling code.
2572
2573         * gnus-sum.el (nnir-article-group,nnir-article-rsv): Autoload macros
2574         from nnir.el.
2575
2576 2010-12-03  Julien Danjou  <julien@danjou.info>
2577
2578         * gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.
2579
2580 2010-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
2581
2582         * gnus-util.el (gnus-macroexpand-all): Don't modify argument;
2583         allow optional argument `environment'.
2584
2585 2010-12-03  Glenn Morris  <rgm@gnu.org>
2586
2587         * mm-extern.el (message-goto-body): Update declaration.
2588
2589 2010-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
2590
2591         * gnus-util.el (gnus-macroexpand-all): New function.
2592
2593         * gnus-sum.el (gnus-summary-line-format-alist): Use gnus-macroexpand-all
2594         instead of macroexpand-all that is unavailable in XEmacs.
2595
2596 2010-12-02  Andrew Cohen  <cohen@andy.bu.edu>
2597
2598         * nnir.el (nnir-summary-line-format): New variable.
2599         (nnir-mode): Use it.
2600         (nnir-artlist-*,nnir-aritem-*): Reimplement as macros.
2601         (nnir-article-ids): Reimplement as defsubst.
2602         (nnir-retrieve-headers): Don't mangle the subject header.
2603         (nnir-run-imap): Use 100 as RSV score.
2604         (nnir-run-find-grep): Fix for full server searching.
2605         (nnir-run-gmane): Better restriction to gmane groups.
2606
2607         * gnus-sum.el (gnus-summary-line-format-alist): Add specs for nnir
2608         summary buffers.