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