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