(open-tls-stream): Remove superfluous tls/starttls autoloads.
[gnus] / lisp / ChangeLog
1 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2
3         * pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS.
4         (open-tls-stream): Remove superfluous tls/starttls autoloads.
5
6 2011-05-01  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
7
8         * gnus.el: No Gnus v0.17 is released.
9
10 2011-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11
12         * gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary
13         buffer has moved to a different frame.
14
15 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16
17         * nnimap.el (nnimap-request-article): Use nntp-insert-buffer-substring
18         to get the conversion from unibyte to multibyte buffers to work on
19         Emacs 22.
20
21         * nntp.el (nntp-request-article): Slight clean-up.
22
23 2011-04-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
24
25         * shr.el (shr-strike-through): New face.
26         (shr-tag-s): Use it to provide <s> support.
27         (shr-tag-s): Remove duplicate definition.
28
29 2011-04-25  Teodor Zlatanov  <tzz@lifelogs.com>
30
31         * gnus-registry.el (gnus-registry-ignore-group-p): Don't call
32         `gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist.
33
34 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
35
36         * proto-stream.el (proto-stream-open-starttls): Give host parameter to
37         `gnutls-negotiate'.
38         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
39
40 2011-04-23  Glenn Morris  <rgm@gnu.org>
41
42         * gnus-sum.el (gnus-extra-headers): Bump :version.
43
44 2011-04-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
45
46         * shr.el (shr-tag-sup): New function.
47         (shr-tag-sub): Ditto.
48
49 2011-04-22  Teodor Zlatanov  <tzz@lifelogs.com>
50
51         * gnus-registry.el (gnus-registry-ignore-group-p): Test specifically
52         for the case where `gnus-registry-ignored-groups' is a list of lists,
53         and don't call `gnus-parameter-registry-ignore' otherwise.
54
55 2011-04-21  Teodor Zlatanov  <tzz@lifelogs.com>
56
57         * nnimap.el (nnimap-user): New backend variable.
58         (nnimap-open-connection-1): Use it.
59         (nnimap-credentials): Accept user parameter so it's explicit what user
60         name is desired.
61
62         * gnus-sum.el (gnus-extra-headers): Add Keywords, Cc, and Gcc to
63         default.
64
65         * gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el,
66         not gnus-registry.el.
67
68         * gnus-registry.el: Mention in comments how to modify
69         `gnus-extra-headers' for proper recipient tracking and that it may
70         already have To and Cc recently, which it does as of this commit.
71         (gnus-registry-ignored-groups): Remove defcustom.
72         Explain why in comments.
73         (gnus-registry-action): Fix data-header reference to use the extra
74         headers.  Explain in package commentary how to add To and Cc headers to
75         the gnus-extra-headers.
76         (gnus-registry-ignored-groups): Adjust defaults to match the parameter.
77         (gnus-registry-ignore-group-p): Adjust to take either a group/topic
78         parameter list or a string list in `gnus-registry-ignored-groups'.  Fix
79         logic error.
80
81 2011-04-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
82
83         * shr.el (shr-expand-url): Protect against null urls.
84
85 2011-04-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
86
87         * shr.el (shr-base): New binding.
88         (shr-tag-base): Keep track of <base>.
89         (shr-expand-url): New function used throughout.
90
91 2011-04-20  Teodor Zlatanov  <tzz@lifelogs.com>
92
93         * gnus-registry.el
94         (gnus-registry--split-fancy-with-parent-internal): Fix loop bugs.
95         (gnus-registry-ignored-groups): New variable.
96         (gnus-registry-ignore-group-p): Use it.
97         (gnus-registry-handle-action): Use `gnus-registry-ignore-group-p' and
98         set the destination group to nil (same as delete) if it's ignored.
99
100 2011-04-20  David Engster  <dengste@eml.cc>
101
102         * tests/gnustest-nntp.el: New file for simple NNTP testing.
103
104         * Makefile.in (test-nntp): New rule.
105         (check): Add it.
106         (test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.
107
108 2011-04-20  Katsumi Yamaoka  <yamaoka@jpl.org>
109
110         * gnus-registry.el (gnus-registry-action)
111         (gnus-registry-fetch-header-fast):
112         Don't use mail-header that looks an internal function of mailheader.el.
113
114 2011-04-19  Glenn Morris  <rgm@gnu.org>
115
116         * time-date.el (time-to-days): Remove unused local variables.
117
118 2011-04-18  Katsumi Yamaoka  <yamaoka@jpl.org>
119
120         * gnus-registry.el: Eliminate cl functions.
121         (gnus-registry-sort-addresses): New function that replaces mapcan.
122         (gnus-registry-action, gnus-registry-spool-action)
123         (gnus-registry-split-fancy-with-parent)
124         (gnus-registry-fetch-recipients-fast): Use it.
125         (gnus-registry-import-eld): Replace delete* with dolist + delq.
126
127         * registry.el (initialize-instance, registry-lookup)
128         (registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
129         (registry-lookup-secondary-value, registry-search, registry-delete)
130         (registry-insert, registry-reindex, registry-size, registry-prune):
131         Use eval-and-compile.
132
133 2011-04-16  Teodor Zlatanov  <tzz@lifelogs.com>
134
135         * registry.el (registry-reindex): New method to recreate the secondary
136         registry indices.
137
138         * gnus-registry.el (gnus-registry-fixup-registry): Use it if the
139         tracked field changes.
140         (gnus-registry-unfollowed-addresses, gnus-registry-track-extra)
141         (gnus-registry-action, gnus-registry-spool-action)
142         (gnus-registry-handle-action)
143         (gnus-registry--split-fancy-with-parent-internal)
144         (gnus-registry-split-fancy-with-parent)
145         (gnus-registry-register-message-ids): Add recipient tracking on spool,
146         move, and delete actions, and for fancy splitting with parent.
147         (gnus-registry-extract-addresses)
148         (gnus-registry-fetch-recipients-fast)
149         (gnus-registry-fetch-header-fast): Convenience functions.
150         (gnus-registry-misc-test): ERT test of
151         `gnus-registry-extract-addresses'.
152
153 2011-04-15  Teodor Zlatanov  <tzz@lifelogs.com>
154
155         * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
156         Track by subject first, then sender.
157
158 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
159
160         * message.el (message-bogus-system-names): Replace ^...$ => \`...\'.
161
162         * gnus.el (gnus-splash-svg-color-symbols): Don't use insert-file from
163         Lisp.
164
165         * gnus-draft.el (gnus-draft-setup): New arg `dont-pop'.
166         (gnus-draft-send): Use it to avoid popping
167         up frames from gnus-group-send-queue.
168
169 2011-04-14  Teodor Zlatanov  <tzz@lifelogs.com>
170
171         * gnus-registry.el: Updated gnus-registry docs.
172
173 2011-04-12  Teodor Zlatanov  <tzz@lifelogs.com>
174
175         * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
176         Fix logic bug.
177         (gnus-registry-post-process-groups): Fix logging of no results and
178         quote sender and subject.
179
180 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
181
182         * proto-stream.el (proto-stream-open-starttls): Only do opportunistic
183         STARTTLS upgrades if we have built-in gnutls support.  Upgrades via
184         gnutls-cli are too slow to be done opportunistically.
185
186         * gnus-start.el (gnus-get-unread-articles): Slight cleanup.
187         (gnus-read-active-for-groups): Don't try to finish getting stuff where
188         we had no early-data returned.
189         (gnus-get-unread-articles): Add a sanity check so that we don't issue
190         two async commands to the same server at the same time.
191
192 2011-04-12  Stig Sandbeck Mathisen  <ssm@fnord.no>  (tiny change)
193
194         * gnus-sum.el (gnus-summary-select-article-buffer): Doc fix.
195
196 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
197
198         * gnus-registry.el (gnus-registry-remake-db): Put the warning on a
199         "warning" level.
200
201         * mm-url.el (mm-url-package-name): Removed to ease third-party reuse.
202         (mm-url-insert-file-contents): Don't set the package names.
203
204 2011-04-11  Teodor Zlatanov  <tzz@lifelogs.com>
205
206         * gnus-registry.el (gnus-registry-action): Remove properties and
207         simplify subject in `gnus-registry-handle-action'.
208         (gnus-registry-spool-action): Get subject and sender from message if
209         they are not passed in.
210         (gnus-registry-handle-action): Remove properties and simplify subject
211         consistently.
212
213 2011-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
214
215         * registry.el: Require CL before using defmacro*.
216
217 2011-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
218
219         * gnus-art.el (article-treat-date): Assume that
220         gnus-article-date-headers may be a group parameter.
221
222 2011-04-07  Teodor Zlatanov  <tzz@lifelogs.com>
223
224         * gnus-registry.el (gnus-registry-handle-action): More debugging.
225
226         * gnus-start.el (gnus-gnus-to-newsrc-format): Add a way to run
227         interactively so the newsrc file can contain foreign groups too.
228         Useful for debugging but not much for users.
229
230 2011-04-07  David Engster  <dengste@eml.cc>
231
232         * registry.el (registry-usage-test): Only do
233         `registry-lookup-breaks-before-lexbind' testing for Emacs24 with
234         lexical binding.
235
236 2011-04-07  David Engster  <dengste@eml.cc>
237
238         * Makefile.in (check, test-registry): New rules for test-suite.
239
240 2011-04-06  David Engster  <dengste@eml.cc>
241
242         * registry.el, gnus-registry.el: Use `ignore-errors' instead of third
243         argument NOERROR for `require', since XEmacs 21.4 does not support it.
244
245 2011-04-06  David Engster  <dengste@eml.cc>
246
247         * registry.el (initialize-instance): Change :after to :AFTER to be
248         compatible with old EIEIO version in XEmacs.
249
250 2011-04-06  Teodor Zlatanov  <tzz@lifelogs.com>
251
252         * gnus-registry.el (gnus-registry-post-process-groups)
253         (gnus-registry--split-fancy-with-parent-internal): Fix splitting bugs
254         and provide better messaging.
255
256 2011-04-06  David Engster  <dengste@eml.cc>
257
258         * Makefile.in (fail-on-warning): New rule to compile with warnings as
259         errors.
260
261         * dgnushack.el (dgnushack-compile-error-on-warn): New function to call
262         dgnushack-compile with error-on-warn enabled, and to signal an error if
263         clean compilation failed.
264         (dgnushack-compile): New argument 'error-on-warn'.  If non-nil, compile
265         with `byte-compile-error-on-warn'.  Return nil if errors occured.
266
267 2011-04-06  Teodor Zlatanov  <tzz@lifelogs.com>
268
269         * gnus-registry.el: Don't use ERT if it's not available.  Load it
270         unconditionally anyway, discarding errors.
271         (gnus-registry-delete-entries): New convenience function.
272         (gnus-registry-import-eld): Import from old .eld registry.
273
274         * registry.el: Don't use ERT if it's not available.  Load it
275         unconditionally anyway, discarding errors.
276
277         * proto-stream.el (gnutls-negotiate): Revert inadvertent commit of the
278         version from the Claudio Bley GnuTLS patch (extra optional parameters
279         and host name).
280
281 2011-04-05  Teodor Zlatanov  <tzz@lifelogs.com>
282
283         * gnus-registry.el (gnus-registry-fixup-registry): New function to
284         fixup the parameters that can be customized by the user between
285         save/read cycles.
286         (gnus-registry-read): Use it.
287         (gnus-registry-make-db): Use it.
288         (gnus-registry-spool-action, gnus-registry-handle-action): Fix
289         messaging.
290         (gnus-registry--split-fancy-with-parent-internal): Fix loop.  Map
291         references to actual group names with sender and subject tracking.
292         (gnus-registry-post-process-groups): Use `cond' for better messaging.
293         (gnus-registry-usage-test): Add subject lookup test.
294
295         * registry.el (registry-db, initialize-instance): Set up constructor
296         instead of :initform arguments for the sake of older Emacsen.
297         (registry-lookup-breaks-before-lexbind): New method to demonstrate
298         pre-lexbind merge bug.
299         (registry-usage-test): Use it.
300         (initialize-instance, registry-db): Move the non-function initforms
301         back to the class definition.
302
303 2011-04-03  Teodor Zlatanov  <tzz@lifelogs.com>
304
305         * registry.el: New library to manage gnus-registry-style data.
306
307         * gnus-registry.el: Use it (major rewrite).
308
309         * nnregistry.el: Use it.
310
311         * spam.el: Use it.
312
313 2011-04-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
314
315         * gnus-sum.el (gnus-update-marks): Reinstate the code to not alter
316         marks on non-selected articles.
317
318 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
319
320         * nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command
321         parameter to open-protocol-stream.
322
323 2011-04-01  Julien Danjou  <julien@danjou.info>
324
325         * mm-view.el (mm-display-inline-fontify): Do not fontify with
326         fundamental-mode.
327
328 2011-04-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
329
330         * gnus-start.el (gnus-get-unread-articles): Don't try to contact denied
331         servers.
332
333 2011-03-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
334
335         * gnus-sum.el (gnus-update-marks): Revert intersection change, which
336         made marks not propagate, again.
337
338 2011-03-30  Chong Yidong  <cyd@stupidchicken.com>
339
340         * proto-stream.el (open-protocol-stream): Bring back `network' type.
341         Make this the default type.
342         (proto-stream-open-plain): Rename from proto-stream-open-default.
343         (open-protocol-stream, proto-stream-open-starttls)
344         (proto-stream-open-tls, proto-stream-open-shell): Replace `default'
345         with `plain'.
346
347         * nnimap.el (nnimap-stream, nnimap-open-connection-1): Accept `network'
348         value.
349
350         * nntp.el (nntp-open-connection-function): Document the fact that some
351         values are not functions but are instead handled specially.  Recognize
352         nntp-open-plain-stream value.
353         (nntp-open-connection): Recognize that value.
354
355 2011-03-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
356
357         * dgnushack.el: Only do the defcustom compilation thing on XEmacs,
358         where it seems to be needed.
359
360 2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
361
362         * gssapi.el (open-gssapi-stream): Remove the last mentions of the IMAP
363         stuff.
364
365         * gnus-score.el (gnus-score-string): Fix calling convention of
366         `gnus-simplify-buffer-fuzzy' after last patches.
367
368         * gnus-sum.el (gnus-update-marks): Don't send any marks updates to the
369         server for articles we didn't get any headers for.  This is a sanity
370         check.
371
372 2011-03-29  Michael Welsh Duggan  <md5i@md5i.com>
373
374         * nnimap.el (nnimap-open-connection-1): Is the login responds with a
375         new CAPABILITY, use it.
376
377 2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
378
379         * gnus-agent.el (gnus-agent-fetch-headers): Don't message if we're not
380         downloading anything.
381
382         * gnus.el (gnus-splash-svg-color-symbols): Removed superfluous `and'.
383
384 2011-03-29  Adam Sjøgren  <asjo@koldfront.dk>
385
386         * gnus.el (gnus-group-startup-message): Prefer svg file and replace
387         colors.
388         (gnus-splash-svg-color-symbols): New function.
389
390 2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
391
392         * gnus-sum.el (gnus-simplify-buffer-fuzzy): Take the regexp explicitly
393         instead of using the global gnus-simplify-subject-fuzzy-regexp.
394         (gnus-simplify-subject-fuzzy): Use the local
395         gnus-simplify-subject-fuzzy-regex instead of the global one.  This
396         makes using this variable in group parameters work.
397
398 2011-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
399
400         * gnus-registry.el (gnus-registry-unfollowed-groups): Add
401         "archive:sent" to the unfollowed group regex (for the recent Gnus
402         archive:sent-YYYY-MM-DD groups).
403         (gnus-registry-split-fancy-with-parent): Bail out early in sender
404         tracking if there are more than `gnus-registry-max-track-groups'
405         matches.
406
407 2011-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
408
409         * message.el (message--yank-original-internal): New function to do the
410         insertion cleanly inside eval in `message-yank-original'.
411         (message-yank-original): Use it.
412
413 2011-03-29  Julien Danjou  <julien@danjou.info>
414
415         * mm-view.el (mm-display-inline-fontify): Use `set-normal-mode' with
416         local variables disabled rather than `normal-mode'.
417
418 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
419
420         * imap.el (imap-shell-open, imap-process-connection-type): Use
421         imap-process-connection-type for 'shell' streams as well as
422         Kerberos, SSL, other subprocesses.
423
424 2011-03-26  Chong Yidong  <cyd@stupidchicken.com>
425
426         * proto-stream.el: Changes preparatory to merging open-protocol-stream
427         with open-network-stream.
428         (proto-stream-always-use-starttls): Option removed.
429         (open-protocol-stream): Return a process object by default.  Provide a
430         new parameter :return-list specifying a list-type return value, which
431         now has the form (PROP . PLIST) instead of a fixed-length list.  Change
432         :type `network' to `try-starttls', and `network-only' to `default'.
433         Make `default' the default, for compatibility with open-network-stream.
434         Handle the no-parameter case exactly as open-network-stream, with no
435         additional stream processing.  Search plists using plist-get.
436         Explicitly add :end-of-commend parameter if it is missing.
437         (proto-stream-open-default): Renamed from
438         proto-stream-open-network-only.  Return 'default as the type.
439         (proto-stream-open-starttls): Rename from proto-stream-open-network.
440         Use plist-get.  Don't return `tls' as the type if STARTTLS negotiation
441         failed.  Always return a list with a (possibly dead) process as the
442         first element, for compatibility with open-network-stream.
443         (proto-stream-open-tls): Use plist-get.  Always return a list.
444         (proto-stream-open-shell): Return `default' as connection type.
445         (proto-stream-capability-open): Use plist-get.
446         (proto-stream-eoc): Function deleted.
447
448         * nnimap.el (nnimap-stream, nnimap-open-connection)
449         (nnimap-open-connection-1): Handle renaming of :type parameter for
450         open-protocol-stream.
451         (nnimap-open-connection-1): Pass a :return-list parameter
452         open-protocol-stream to obtain a list return value.  Parse this list
453         using plist-get.
454
455         * nntp.el (nntp-open-connection): Handle renaming of :type parameter
456         for open-protocol-stream.  Accept open-protocol-stream return value
457         that is a subprocess object instead of a list.  Handle the case of a
458         dead returned process.
459
460 2011-03-25  Teodor Zlatanov  <tzz@lifelogs.com>
461
462         * mm-util.el (mm-handle-filename): Move to mm-decode.el (bug#8330).
463
464         * mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330).
465
466 2011-03-21  Julien Danjou  <julien@danjou.info>
467
468         * mm-view.el (mm-display-inline-fontify): Make mode optional, and call
469         normal-mode if not set. Set temp buffer unmodified to avoid kill-buffer
470         query.
471         (mm-inline-text): Render normal text with fontification whenever
472         possible.
473
474         * gnus-sum.el (gnus-summary-save-parts-1):
475         * gnus-art.el (gnus-article-browse-html-save-cid-content)
476         (gnus-article-browse-html-parts, gnus-mime-delete-part)
477         (gnus-mime-copy-part, gnus-mime-inline-part, gnus-insert-mime-button):
478         Use `mm-handle-filename'.
479
480         * mm-util.el (mm-handle-filename): New function, return the filename of
481         an handle.
482
483 2011-03-18  Julien Danjou  <julien@danjou.info>
484
485         * gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
486         (gnus-buffer-live-p): Check that buffer is not nil.
487
488 2011-03-17  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
489
490         * gnus.el: No Gnus v0.15 is released.
491
492 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
493
494         * time-date.el (format-seconds): Use assoc instead of assoc-string to
495         avoid warning on XEmacs.
496
497         * dgnushack.el: Bind help-echo-owns-message to avoid a compiler warning
498         on XEmacs.
499
500         * gnus-art.el: Require mouse, which the build bot seems to say is
501         needed.
502
503         * dgnushack.el: Define url-retrieve-synchronously unless not defined.
504
505         * gravatar.el (gravatar-retrieve-synchronously): Use `url-retrieve' on
506         XEmacs, since it doesn't have url-retrieve-synchronously.
507
508         * time-date.el (format-seconds): Use assoc instead of assoc-string,
509         since assoc-string doesn't exist in XEmacs.
510
511 2011-03-17  Antoine Levitt  <antoine.levitt@gmail.com>
512
513         * gnus-group.el (gnus-group-list-ticked): New function.
514         (gnus-group-make-menu-bar): Provide a menu entry for it.
515         (gnus-group-list-map): Provide a binding for it.
516
517 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
518
519         * shr.el (shr-visit-file): New command.
520
521         * nnimap.el (nnimap-fetch-inbox): Rewrite slightly last patch.
522
523 2011-03-17  Bjørn Mork  <bjorn@mork.no>
524
525         * nnimap.el (nnimap-fetch-inbox): Don't download bodies on ver4-capable
526         servers.
527
528 2011-03-16  Julien Danjou  <julien@danjou.info>
529
530         * mm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are
531         inline.
532
533         * gnus-art.el (article-hide-list-identifiers): Use
534         gnus-group-get-list-identifiers.
535
536         * gnus-sum.el (gnus-group-get-list-identifiers): New function.
537         (gnus-summary-remove-list-identifiers): Use
538         gnus-group-get-list-identifiers to get regexp.
539         (gnus-select-newsgroup, gnus-summary-insert-subject)
540         (gnus-summary-insert-articles): Call
541         gnus-summary-remove-list-identifiers unconditionally.
542
543 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
544
545         * gnus-sum.el (gnus-articles-to-read): Revert back to old behaviour if
546         we're selecting a group with unread articles.
547
548         * nnimap.el (nnimap-open-connection-1): Allow `network-only', too.
549
550         * gssapi.el: New file separated out from imap.el to provide a general
551         Kerberos 5 connection facility for Emacs.
552
553         * message.el (message-elide-ellipsis): Document the format spec
554         ellipsis.
555
556 2011-03-15  Reiner Steib  <Reiner.Steib@gmx.de>
557
558         * message.el (message-elide-region): Allow the ellipsis to say how many
559         lines were removed.
560
561 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
562
563         * gnus-win.el (gnus-configure-frame): Protect against trying to restore
564         window configurations containing buffers that are now dead.
565
566         * nnimap.el (nnimap-parse-flags): Remove all MODSEQ entries before
567         parsing to avoid integer overflows.
568         (nnimap-parse-flags): Simplify the last change.
569         (nnimap-parse-flags): Store HIGHESTMODSEQ as a string, since it may be
570         too large for 32-bit Emacsen.
571
572 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
573
574         * auth-source.el (auth-source-netrc-create):
575         * message.el (message-yank-original): Fix use of `case'.
576
577 2011-03-15  Nelson Ferreira  <nelson.ferreira@ieee.org>  (tiny change)
578
579         * gnus-art.el (gnus-article-treat-body-boundary): Fix boundary width on
580         XEmacs, which was one character too wide.
581
582 2011-03-09  Antoine Levitt  <antoine.levitt@gmail.com>
583
584         * gnus-sum.el (gnus-articles-to-read): Use gnus-large-newsgroup as
585         default number of articles to display.
586         (gnus-articles-to-read): Use pretty names for prompt.
587
588 2011-03-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
589
590         * gnus-int.el (gnus-open-server): Ditto.
591
592         * gnus-start.el (gnus-activate-group): Give a backtrace if
593         debug-on-quit is set and the user hits `C-g'.
594         (gnus-read-active-file): Ditto.
595
596         * gnus-group.el (gnus-group-read-ephemeral-group): Ditto.
597
598 2011-03-15  Teodor Zlatanov  <tzz@lifelogs.com>
599
600         * message.el (message-yank-original): Use cond instead of CL case.
601
602 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
603
604         * auth-source.el (auth-source-netrc-create): Use usual format for the
605         default in prompts.
606
607 2011-03-14  Katsumi Yamaoka  <yamaoka@jpl.org>
608
609         * lpath.el: Fbind read-char-choice for XEmacs.
610
611 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
612
613         * auth-source.el (auth-source-netrc-create): Show the default in the
614         prompt when prompting for token creation.
615
616 2011-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
617
618         * auth-source.el (auth-source-format-prompt): Always convert the value
619         to a string to avoid evaluating non-string arguments.
620         (auth-source-netrc-create): Offer default properly, not as initial
621         content in `read-string'.
622         (auth-source-netrc-saver): Use a cache keyed by file name and MD5 hash
623         of line to determine if we've been run before.  If so, don't run again,
624         but print a trivial message to indicate the cache was hit instead.
625
626 2011-03-11  Teodor Zlatanov  <tzz@lifelogs.com>
627
628         * gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook):
629         Don't install `gnus-sync-read' to any hooks by default.  It's buggy.
630         The user will have to run `gnus-sync-read' manually and wait for Cloudy
631         Gnus.
632
633 2011-03-11  Julien Danjou  <julien@danjou.info>
634
635         * mm-uu.el (mm-uu-type-alist): Add support for diff starting with "===
636         modified file".
637
638 2011-03-09  Teodor Zlatanov  <tzz@lifelogs.com>
639
640         * auth-source.el (auth-source-read-char-choice): New function to read a
641         character choice using `dropdown-list', `read-char-choice', or
642         `read-char'.  It appends "[a/b/c] " to the prompt if the choices were
643         '(?a ?b ?c).  The `dropdown-list' support is disabled for now.  Use
644         `eval-when-compile' to load `dropdown-list'.  Remove `dropdown-list'.
645         (auth-source-netrc-saver): Use it.
646         (auth-source-pick-first-password): New convenience function.
647
648 2011-03-08  Teodor Zlatanov  <tzz@lifelogs.com>
649
650         * nnimap.el (nnimap-credentials): Keep the :save-function as the third
651         parameter in the credentials.
652         (nnimap-open-connection-1): Use it after a successful login.
653         (nnimap-credentials): Add IMAP-specific user and password prompt.
654
655         * auth-source.el (auth-source-search): Add :require parameter, taking a
656         list.  Document it and the :save-function return token.  Pass :require
657         down.  Change the CREATED message from a warning to a debug statement.
658         (auth-source-search-backends): Pass :require down.
659         (auth-source-netrc-search): Pass :require down.
660         (auth-source-netrc-parse): Use :require, if it's given, as a filter.
661         Change save prompt to indicate all modifications saved here are
662         deletions.
663         (auth-source-netrc-create): Take user login name as default in user
664         prompt.  Move all the save functionality to a lexically bound function
665         under the :save-function token in the returned list.  Set up clearer
666         default prompts for user, host, port, and secret.
667         (auth-source-netrc-saver): New function, intended to be wrapped for
668         :save-function.
669
670 2011-03-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
671
672         * shr.el (shr-table-horizontal-line): Change the defaults for the table
673         lines to be spaces instead.
674
675 2011-03-07  Julien Danjou  <julien@danjou.info>
676
677         * sieve-manage.el (sieve-sasl-auth): Create auth-info if not found.
678         (sieve-sasl-auth): Check that auth-source-search did return something,
679         or just return an empty string.
680
681 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
682
683         * gnus.el (gnus-interactive): Use read-directory-name.
684
685         * gnus-uu.el (gnus-uu-decode-uu-and-save)
686         (gnus-uu-decode-unshar-and-save, gnus-uu-decode-save)
687         (gnus-uu-decode-binhex, gnus-uu-decode-yenc)
688         (gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save):
689         Likewise.
690
691         * gnus-group.el (gnus-group-make-directory-group): Likewise.
692
693 2011-03-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
694
695         * gnus-start.el (gnus-group-change-level): Allow putting foreign groups
696         onto the list of killed groups, too.  This makes killed nnimap groups,
697         for instance, more reliably not reappear.
698
699         * nnimap.el (nnimap-request-thread): Don't bug out when we can't find
700         the parent.
701
702         * gnus-sum.el (gnus-update-read-articles): Fix typo.
703
704         * gnus.el (gnus-valid-select-methods): Mark nnimap as a backend that
705         really have server-side marks.
706
707         * gnus-sum.el (gnus-propagate-marks): Change default back to nil again,
708         since most backends do not usefully have server-side marks.
709         (gnus-update-read-articles): Propagate marks to all backends that
710         really have server-side marks.
711
712 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
713
714         * message.el (message-cite-reply-position, message-cite-style):
715         New variables.
716         (message-yank-original): Use the new citation styles.
717
718 2011-03-04  Daiki Ueno  <ueno@unixuser.org>
719
720         * message.el (message-options): Revert 22da67af (workaround for XEmacs
721         buffer-local issue); don't mark it buffer-local when running under
722         XEmacs.
723
724 2011-03-03  Tassilo Horn  <tassilo@member.fsf.org>
725
726         * nnimap.el (nnimap-parse-flags): Add a workaround for FETCH lines with
727         numbers too big to be `read'.
728
729 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
730
731         * password-cache.el (password-in-cache-p): Add autoload.
732
733         * message.el (message-options): Make buffer-local two ways to attempt
734         to fix a XEmacs bug.
735
736 2011-03-02  Julien Danjou  <julien@danjou.info>
737
738         * gnus-art.el (gnus-with-article-buffer): Fix buffer live check.
739
740 2011-03-01  Julien Danjou  <julien@danjou.info>
741
742         * gnus-art.el (list-identifier): Add list-identifier as a parameter
743         group.
744         (article-hide-list-identifiers): Use list-identifier group parameter.
745
746 2011-02-28  Julien Danjou  <julien@danjou.info>
747
748         * sieve.el (sieve-buffer-script-name): New local variable to store
749         sieve script name.
750         (sieve-edit-script): Store sieve script name.
751         (sieve-upload): Use sieve script name when uploading.
752         (sieve-upload): Use substitute-command-keys.
753         (sieve-edit-script): Use substitute-command-keys.
754         (sieve-refresh-scriptlist): Use substitute-command-keys.
755         (sieve-manage-mode-map): Define keymap properly.
756         (sieve-manage-mode): Do not set mode name manually, change mode-name to
757         (sieve-refresh-scriptlist): Use substitute-command-keys."Sieve-manage".
758         Remove commented code about cvs.
759         (sieve-manage-quit): New function.
760         (sieve-manage-mode-map): Bind 'q' to sieve-manage-quit.
761
762 2011-02-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
763
764         * gnus-group.el (gnus-import-other-newsrc-file): New function.
765
766 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
767
768         * auth-source.el (auth-source-search): Cache empty result sets.
769
770         * password-cache.el (password-in-cache-p): Convenience function to
771         check if a key is in the cache, even if the value is nil.
772
773         * auth-source.el (auth-source-save-behavior): New variable to replace
774         `auth-source-never-create'.
775         (auth-source-netrc-create): Use it.
776         (auth-source-never-save): Remove.
777
778 2011-02-25  Lars Ingebrigtsen  <larsi@gnus.org>
779
780         * nnimap.el (nnimap-stream): Doc fix.
781         (nnimap-open-connection-1): Reverse the order of the ports to that the
782         prompted-for port is first.
783
784         * gnus-start.el (gnus-get-unread-articles): Don't clobber the async
785         retrieval by the no-group selection.
786
787         * gnus-demon.el (gnus-demon-init): run-with-timer should be called with
788         numerical parameters.
789
790 2011-02-25  Julien Danjou  <julien@danjou.info>
791
792         * gnus-gravatar.el: Use gnus-with-article-buffer.
793
794         * gnus-art.el (gnus-with-article-buffer): Check that the
795         gnus-article-buffer is alive.
796
797 2011-02-24  Teodor Zlatanov  <tzz@lifelogs.com>
798
799         * auth-source.el (auth-source-creation-prompts): New variable to manage
800         creation-time prompts.
801         (auth-source-search): Document it.
802         (auth-source-format-prompt): Add utility function.
803         (auth-source-netrc-create): Don't default the user name to
804         user-login-name.  Use `auth-source-creation-prompts' and some default
805         prompts for user, host, port, and password (the default generic prompt
806         remains ugly).
807         (auth-source-never-save): Add customizable option to never save info.
808         (auth-source-netrc-create): Use it and improve save prompts.  Fix help
809         mode excursion.
810
811 2011-02-24  Katsumi Yamaoka  <yamaoka@jpl.org>
812
813         * auth-source.el (auth-source-netrc-create): Use `read-char' with no
814         argument that XEmacs doesn't support.
815
816         * dgnushack.el (dgnushack-compile): Exclude color.el from being
817         compiled for Emacsen having no `libxml-parse-html-region' support.
818
819         * gnus-xmas.el (gnus-xmas-define): Remove gnus-x-color-values.
820
821         * lpath.el: Bind buffer-save-without-query for XEmacs.
822
823 2011-02-23  Julien Danjou  <julien@danjou.info>
824
825         * gnus-art.el (article-make-date-line): Ignore errors if time is
826         invalid and not convertible.
827         (article-make-date-line): Only add lapsed time if time is not nil.
828
829 2011-02-23  Teodor Zlatanov  <tzz@lifelogs.com>
830
831         * auth-source.el (auth-source-netrc-create): Use `read-char' instead of
832         `read-char-choice' for backwards compatibility.
833         (auth-source-netrc-element-or-first): New function to DTRT for
834         parameter extraction.
835         (auth-source-netrc-create): Use it and fix multiple parameter print
836         bug.  Use the default passed from above (given-default) or the
837         built-in (user-login-name for :user).
838
839 2011-02-23  Lars Ingebrigtsen  <larsi@gnus.org>
840
841         * gnus-start.el (gnus-dribble-read-file):
842         Set buffer-save-without-query, since we always want to save the dribble
843         file, probably.
844
845         * nnmail.el (nnmail-article-group): Allow a final "" split to work on
846         nnimap.
847
848         * gnus-sum.el (gnus-user-date-format-alist): Rename back again from
849         -summary- since it's a user-visible variable.
850
851         * nnimap.el (nnimap-retrieve-group-data-early): Don't do QRESYNC the
852         first time you use the new Gnus.
853
854 2011-02-22  Teodor Zlatanov  <tzz@lifelogs.com>
855
856         * auth-source.el: Don't load netrc.el.
857         (auth-sources): Search ~/.netrc as well by default.
858         (auth-source-debug): Add 'trivia option for extra output.
859         (auth-source-do-trivia): Use it.
860         (auth-source-search): Simplify logic to use
861         `auth-source-search-backends'.  Use `auth-source-do-trivia' where
862         appropriate.  Don't keep a running count at this level.  Layer :create
863         and :delete options appropriately on the first and second passes.
864         Don't track the backend with the search results.
865         (auth-source-search-backends): New function to search a list of
866         backends for a processed spec.
867         (auth-source-netrc-parse): Cache all netrc files, making
868         auth-source-netrc-cache an alist keyed by the file name and using the
869         file mtime as the caching criterion.  Keep the obfuscated data secret
870         with a lexical bind.
871         (auth-source-netrc-search): Don't calculate the length of the results
872         unnecessarily.
873         (auth-source-search-backends): Fix bug.
874         (auth-source-netrc-create): Rework prompts.
875
876 2011-02-22  Andrew Cohen  <cohen@andy.bu.edu>
877
878         * nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key):
879         Lower case names of search constraints.
880         (nnir-run-query): Cache and reuse search constraints for all imap
881         servers.
882
883 2011-02-22  Lars Ingebrigtsen  <larsi@gnus.org>
884
885         * gnus-msg.el (gnus-inews-add-send-actions): Restore the winconf name
886         after exit.
887         (gnus-setup-message): Define missing variable from last checkin.
888
889         * gnus-sum.el (gnus-summary-show-article): When called with t as the
890         value, show the raw article.
891
892 2011-02-22  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
893
894         * gnus.el: No Gnus v0.13 is released.
895
896 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
897
898         * nnimap.el (nnimap-open-connection-1): Revert last change, since
899         auth-source now accepts numbers.
900
901         * auth-source.el (auth-source-netrc-parse): Accept a number as the port
902         spec, too.
903         (auth-source-ensure-strings): New function.
904
905         * gnus-art.el (gnus-article-update-date-headers): Doc fix.
906         (gnus-article-setup-buffer): Always restart the date timer so that user
907         changes to the frequency is respected.
908
909         * nnimap.el (nnimap-open-connection-1): auth-source expects strings as
910         port numbers, so make sure it gets that if nnimap-server-port is
911         explicit.
912
913 2011-02-21  Simon Josefsson  <simon@josefsson.org>
914
915         * nnimap.el (nnimap-inbox): Doc fix.
916
917 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
918
919         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
920         Autoload.  Add optional arg FRAME, and pass it to color-values.
921         (color-complement): Caller changed.  Doc fix.
922         (color-gradient): Rewrite for better clarity and efficiency.
923
924 2011-02-20  Chong Yidong  <cyd@stupidchicken.com>
925
926         * shr-color.el (shr-color->hexadecimal): Use renamed function names
927         color-rgb-to-hex, color-name-to-rgb, color-srgb-to-lab, and
928         color-lab-to-srgb.
929
930 2011-02-20  Drew Adams  <drew.adams@oracle.com>
931
932         * color.el: First part of merge from hexrgb.el.
933         (color-rgb-to-hex): Rename from color-rgb->hex.
934         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
935         saturation to zero if the value is too small.
936         (color-rgb-to-hsl): Rename from color-rgb->hsl.
937         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
938         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
939         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
940         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
941         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
942         (color-cie-de2000): Doc fix.
943
944 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
945
946         * nntp.el (nntp-finish-retrieve-group-infos): Add a kludge to use the
947         given method as in the group name if we're using an extended method.
948         (nntp-finish-retrieve-group-infos): Wait for the end of the LIST ACTIVE
949         command, if we're using that, instead of waiting for the beginning.
950
951         * gnus-start.el (gnus-get-unread-articles): Extend the methods so that
952         we're sure to get unique server names, and we don't output two async
953         commands in the same buffer.  This fixes an NNTP hang for some users.
954
955 2011-02-21  Lars Magne Ingebrigtsen  <lars@ingebrigtsen.no>
956
957         * gnus.el: No Gnus v0.11 is released.
958
959 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
960
961         * gnus-sum.el (gnus-summary-next-article): Add a kludge to reselect the
962         summary buffer before reading going to the next buffer.  This avoids
963         putting the point in the group buffer if you `C-g' the command.
964
965         * auth-source.el (auth-source-netrc-parse): Add an in-memory netrc
966         cache (for now) to make ~/.authinfo.gpg files usable.
967
968         * nnfolder.el (copyright-update): Define for the compiler.
969
970         * auth-source.el (auth-source-search): Fix unbound variable.
971
972 2011-02-19  Glenn Morris  <rgm@gnu.org>
973
974         * gnus.el (gnus-meta): Doc fix.
975
976 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
977
978         * nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update,
979         in case it's not yet loaded.
980
981 2011-02-20  Lars Ingebrigtsen  <larsi@gnus.org>
982
983         * nnimap.el (nnimap-wait-for-response): Ensure that we get the entire
984         line we're waiting for.
985
986 2011-02-19  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
987
988         * gnus-art.el (gnus-article-next-page-1): Because customized mode-line
989         face with line-width greater than zero will cause RET in gnus summary
990         buffer to scroll down article page-wise because auto vscroll happens,
991         it should be temporalily disabled when doing a scroll-up.
992
993 2011-02-19  Lars Ingebrigtsen  <larsi@gnus.org>
994
995         * nnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK"
996         outputs from the server.
997
998 2011-02-18  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
999
1000         * gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook
1001         later so that bbdb can hook in easier.
1002
1003 2011-02-18  Lars Ingebrigtsen  <larsi@gnus.org>
1004
1005         * auth-source.el (auth-source-search): Don't try to create credentials
1006         if the caller doesn't want that.
1007         (auth-source-search): If we don't find a match, don't bug out on
1008         non-bound variables.
1009         (auth-source-search): Only ask a single backend to create the
1010         credentials.
1011
1012         * nnimap.el (nnimap-log-command): Add a newline to the inhibited
1013         logging.
1014         (nnimap-credentials): Protect against auth-source-search returning nil.
1015         (nnimap-request-list): Protect against not being able to open the
1016         server.
1017
1018 2011-02-17  Lars Ingebrigtsen  <larsi@gnus.org>
1019
1020         * auth-source.el (auth-source-search): Do a two-phase search, one with
1021         no :create to get the responses from all backends.
1022
1023         * nnimap.el (nnimap-open-connection-1): Delete duplicate server names
1024         when getting credentials.
1025
1026         * gnus-util.el (gnus-delete-duplicates): New function.
1027
1028 2011-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
1029
1030         * nnimap.el (nnimap-credentials): Instead of picking the first port as
1031         a creation default, pass the whole port list down.  It will be
1032         completed.
1033
1034         * auth-source.el (auth-source-search): Updated docs to talk about
1035         multiple creation choices.
1036         (auth-source-netrc-create): Accept a list as a value (from the search
1037         parameters) and do completion on that list.  Keep a separate netrc line
1038         with the password obscured for showing the user.
1039
1040         * nnimap.el (nnimap-open-connection-1): Make the `nnimap-address' the
1041         first choice to `auth-source-search' so it will be used for entry
1042         creation instead of the server's Gnus-specific name.
1043         (nnimap-credentials): Rely on the auth-source library to select which
1044         port is actually wanted in the new netrc entry, so don't override
1045         `auth-source-creation-defaults'.
1046
1047         * auth-source.el (auth-source-netrc-parse): Use :port instead of
1048         :protocol and accept a missing user, host, or port as a wildcard match.
1049         (auth-source-debug): Default to off.
1050
1051         (auth-source-netrc-search, auth-source-netrc-create)
1052         (auth-source-secrets-search, auth-source-secrets-create)
1053         (auth-source-user-or-password, auth-source-backend, auth-sources)