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