Talk about spaces in the netrc file.
[gnus] / lisp / ChangeLog
1 2011-02-10  Teodor Zlatanov  <tzz@lifelogs.com>
2
3         * sieve-manage.el: Autoload `auth-source-search'.
4         (sieve-sasl-auth): Use it.
5
6 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
7
8         * nnimap.el: Autoload `auth-source-forget+'.
9         (nnimap-open-connection-1): Use it if the connection fails.
10
11         * auth-source.el: Require `password-cache'.
12         (auth-source-hide-passwords, auth-source-cache): Remove and mark
13         obsolete.
14         (auth-source-magic): Marker for `password-cache' keys.
15         (auth-source-do-cache): Update docstring.
16         (auth-source-search): Use and check cache.
17         (auth-source-forget-all-cached, auth-source-remember)
18         (auth-source-recall, auth-source-forget, auth-source-forget+)
19         (auth-source-specmatchp): Caching support functions.
20         (auth-source-forget-user-or-password, auth-source-forget-all-cached):
21         Remove and obsolete.
22         (auth-source-user-or-password): Remove caching to further discourage
23         using it.  Always hide passwords.
24
25         * password-cache.el (password-cache-remove): Accept secrets that are
26         not strings.
27
28 2011-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
29
30         * nntp.el (nntp-retrieve-group-data-early-disabled): Disable the async
31         code for now, since it doesn't work for all users.
32
33 2011-02-09  Julien Danjou  <julien@danjou.info>
34
35         * message.el (message-options): Make message-options really buffer
36         local.
37
38 2011-02-08  Teodor Zlatanov  <tzz@lifelogs.com>
39
40         * mail-source.el: Autoload `auth-source-search'.
41         (mail-source-keyword-map): Note order matters.
42         (mail-source-set-1): Get all the mail-source source values and
43         defaults and search auth-source on those if needed.  This can all
44         probably be simplified.
45
46         * nnimap.el: Autoload `auth-source-search'.
47         (nnimap-credentials): Use it.
48         (nnimap-open-connection-1): Ask for the virtual server and physical
49         address in one shot.
50
51         * nntp.el: Autoload `auth-source-search'.
52         (nntp-send-authinfo): Use it.  Note TODO.
53
54 2011-02-08  Julien Danjou  <julien@danjou.info>
55
56         * shr.el (shr-tag-body): Add support for text attribute in body
57         markups.
58
59         * message.el (message-options): Make message-options a local variable.
60
61 2011-02-07  Teodor Zlatanov  <tzz@lifelogs.com>
62
63         * auth-source.el (auth-source-secrets-search)
64         (auth-source-user-or-password): Use `append' instead of `nconc'.
65         (auth-source-user-or-password): Build return list better and protect
66         against nil :secret.
67
68 2011-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
69
70         * nnimap.el (nnimap-update-info): Refactor slightly.
71         (nnimap-update-info): Tell Gnus whether there are any \Recent messages.
72         (nnimap-update-info): Clean up slightly.
73         (nnimap-quirk): Add quirk for Gmail IMAP which bugs out on NUL
74         characters.
75         (nnimap-process-quirk): Renamed function to avoid collision.
76         (nnimap-update-info): Fix macrology bug-out.
77         (nnimap-update-info): Simplify split history test.
78
79 2011-02-06  Michael Albinus  <michael.albinus@gmx.de>
80
81         * auth-source.el (top): Require 'eieio unconditionally.  Autoload
82         `secrets-get-attributes' instead of `secrets-get-attribute'.
83         (auth-source-secrets-search): Limit search when `max' is greater than
84         number of results.
85
86 2011-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
87
88         * nntp.el (nntp-finish-retrieve-group-infos): Protect against the first
89         part not returning any data.
90
91         * proto-stream.el (open-protocol-stream): Document the return value.
92
93 2011-02-06  Teodor Zlatanov  <tzz@lifelogs.com>
94
95         * auth-source.el (auth-source-secrets-search): Add examples.
96
97 2011-02-06  Julien Danjou  <julien@danjou.info>
98
99         * message.el (message-setup-1): Handle message-generate-headers-first
100         set to t.
101
102 2011-02-06  Teodor Zlatanov  <tzz@lifelogs.com>
103
104         * auth-source.el (auth-sources): Allow for simpler defaults for Secrets
105         API with a string "secrets:collection-name" and with 'default.
106         (auth-source-backend-parse): Parse "secrets:collection-name" and
107         'default.  Recurse on parses instead of repeating code.  Use the
108         Secrets API is the source is not nil and 'ignore otherwise.  Emit a
109         message when ignoring a source.
110         (auth-source-search): List ignored search keys at the top level.
111         (auth-source-netrc-create): Use `case' instead of `cond'.
112         (auth-source-secrets-search): Created with TODOs.
113         (auth-source-secrets-create): Created with TODOs.
114         (auth-source-retrieve, auth-source-create, auth-source-delete)
115         (auth-source-protocol-defaults, auth-source-user-or-password-imap)
116         (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh)
117         (auth-source-user-or-password-sftp)
118         (auth-source-user-or-password-smtp): Removed.
119         (auth-source-user-or-password): Deprecated and modified to be a wrapper
120         around `auth-source-search'.  Not tested thoroughly.
121
122 2011-02-04  Teodor Zlatanov  <tzz@lifelogs.com>
123
124         * auth-source.el: Bring in assoc and eioeio libraries.
125         (secrets-enabled): New variable to track the status of the Secrets API.
126         (auth-source-backend): New EIOEIO class to represent a backend.
127         (auth-source-creation-defaults): New variable to set prompt defaults
128         during token creation (see the `auth-source-search' docstring for
129         details).
130         (auth-sources): Simplify to allow a simple string as a netrc backend
131         spec.
132         (auth-source-backend-parse): Parse a backend from an `auth-sources' spec.
133         (auth-source-backend-parse-parameters): Fill in the backend parameters.
134         (auth-source-search): Main auth-source API entry point.
135         (auth-source-delete): Wrapper around `auth-source-search' for deletion.
136         (auth-source-search-collection): Helper function for searching.
137         (auth-source-netrc-parse, auth-source-netrc-normalize)
138         (auth-source-netrc-search, auth-source-netrc-create): Netrc backend.
139         Supports search, create, and delete.
140         (auth-source-secrets-search, auth-source-secrets-create): Secrets API
141         backend stubs.
142         (auth-source-user-or-password): Call `auth-source-search' but it's not
143         ready yet.
144
145 2011-02-04  Lars Ingebrigtsen  <larsi@gnus.org>
146
147         * message.el (message-setup-1): Remove the read-only stuff, since it
148         doesn't work under XEmacs, for some reason.
149
150         * gnus-sum.el (gnus-user-date): Renamed back from
151         gnus-summary-user-date since user code refers to it.
152
153         * shr.el (shr-render-td): Store the actual background colour used.
154
155         * message.el (message-setup-1): Don't bind the constant
156         -forbidden-properties.
157         (message-setup-1): Revert previous change, since it needs to bind the
158         props to insert them.
159         (message-resend): Allow removing the read-only separator line.
160
161 2011-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
162
163         * nnimap.el (nnimap-request-accept-article): Give an error message if
164         the APPEND wasn't successful.
165
166 2011-02-03  Adam Sjøgren  <asjo@koldfront.dk>
167
168         * gnus-start.el (gnus-get-unread-articles): Fix the call to methods
169         that have no groups.
170
171 2011-02-03  Julien Danjou  <julien@danjou.info>
172
173         * gnus-draft.el: Remove progn around gnus-draft-setup.
174
175 2011-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
176
177         * gnus-start.el (gnus-read-active-for-groups): This function is never
178         called with a nil `infos', so clean that up.
179         (gnus-get-unread-articles): Request active files from primary/secondary
180         methods that have no groups (yet).
181
182 2011-02-03  Julien Danjou  <julien@danjou.info>
183
184         * message.el (message-setup-1): Always generate References first.
185         (message-mail): Return the return value of message-setup, not always t.
186         (message-setup-1): Insert mail-header-separator with read-only and
187         intangible properties set.
188
189         * gnus.el (gnus-summary-line-format): Add missing semi-colon for
190         user-date in docstring.
191
192         * gnus-art.el (gnus-article-jump-to-part): Remove useless sit-for.
193
194         * gnus.el (gnus-summary-line-format): Mention &user-date format in
195         docstring.
196
197         * gnus.el (gnus-user-date-format-alist): Change default value. Use
198         defcustom, with type and group. Move from gnus-util.el. Rename to
199         gnus-summary-user-date-format-alist.
200
201 2011-02-03  Glenn Morris  <rgm@gnu.org>
202
203         * nnimap.el (gnus-fetch-headers): Declare.
204
205         * nnheader.el (gnus-range-add, gnus-remove-from-range): Autoload.
206
207 2011-02-03  Lars Ingebrigtsen  <larsi@gnus.org>
208
209         * message.el (message-forward-make-body-digest-plain)
210         (message-followup, message-reply): Clean up things noted by Stefan.
211
212         * gnus-art.el (gnus-article-setup-buffer): Stop the date timer if
213         gnus-article-update-date-headers is nil.
214         (gnus-article-date-headers): Rip out the old -treat-date-* stuff, since
215         it didn't really work with defcustom.
216         (article-update-date-lapsed): Make sure the window start doesn't move,
217         either.
218
219 2011-02-01  Julien Danjou  <julien@danjou.info>
220
221         * mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff
222         format.
223
224         * mm-decode.el (mm-inline-media-tests): Do not check for diff-mode it's
225         standard in Emacs nowadays.
226
227         * color.el (color-gradient): Add a color-gradient function.
228
229 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
230
231         * message.el (message-expand-name): Don't trust the return value of
232         bbdb-complete-name.
233         (message-check-news-header-syntax): Remove unused var `start'.
234         (message-idna-to-ascii-rhs-1): Remove unused vars `rhs' and `address'.
235         (message-inhibit-body-encoding): Move to before first use.
236         (mail-abbrev-mode-regexp, Expires, User-Agent, Lines, Distribution)
237         (To, References, In-Reply-To, Newsgroups, Subject, Path, From)
238         (Organization, Message-ID, Date, mh-previous-window-config):
239         Defvar the vars using dynamic scoping.
240
241 2011-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
242
243         * shr.el (shr-render-td): Only do colours at the final rendering.
244         Should be slightly faster.
245         (shr-insert-table): Fix up TD background colours when doing the
246         vertical padding.
247
248         * gnus-art.el (article-date-ut): Protect against articles with no Date
249         header.
250         (article-update-date-lapsed): Don't use current-column to find the
251         horizontal position.  It's fragile in the presence of \003 characters.
252
253         * gnus-start.el (gnus-read-active-file-1): Remove dead parameter infos.
254
255 2011-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
256
257         * gnus-art.el (article-transform-date): Rewrite to still work when
258         there are several rfc2822 parts.
259         (article-transform-date): Fix infinite recursion.
260         (article-date-ut): Replace infinitely many Date headers with a single
261         one when called interactively.
262
263         * nnimap.el (nnimap-wait-for-response): Wait for results in a more
264         secure manner.
265
266         * gnus-art.el (article-update-date-lapsed): Try to avoid having point
267         move around by not using save-window-excursion.  It seems to work...
268
269 2011-01-31  Katsumi Yamaoka  <yamaoka@jpl.org>
270
271         * gnus-art.el (article-make-date-line): Work for user-defined format.
272
273 2011-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
274
275         * nntp.el (nntp-retrieve-group-data-early)
276         (nntp-finish-retrieve-group-infos): Implement the asynchronous data
277         fetching functions.
278
279         * gnus-start.el (gnus-read-active-for-groups): Read the active files
280         thoroughly for all backends that have no known groups.  This should
281         allow new nnml methods to retrieve mail.
282
283         * gnus-group.el (gnus-group-jump-to-group): Allow jumping to groups
284         that Gnus doesn't know exists again.
285
286         * gnus-art.el (gnus-article-date-lapsed-new-header): Removed.
287         (gnus-treat-date-ut): Ditto.
288         (gnus-article-update-date-header): Renamed.
289         (gnus-treat-date-local): Removed.
290         (gnus-treat-date-english): Removed.
291         (gnus-treat-date-lapsed): Removed.
292         (gnus-treat-date-combined-lapsed): Removed.
293         (gnus-treat-date-original): Removed.
294         (gnus-treat-date-iso8601): Removed.
295         (gnus-treat-date-user-defined): Removed.
296         (gnus-article-date-headers): New variable to control all the date
297         header options.
298         (article-date-ut): Rewrite to allow using the new way to format date
299         headers(s).
300
301 2011-01-30  Lars Ingebrigtsen  <larsi@gnus.org>
302
303         * nnmail.el (nnmail-article-group): Check for a direct fancy split
304         method.
305         (nnmail-article-group): A better test for fanciness.
306
307         * nnimap.el (nnimap-request-head): Protect against not finding the
308         article by Message-ID.
309
310 2011-01-29  Lars Ingebrigtsen  <larsi@gnus.org>
311
312         * gnus-art.el (article-update-date-lapsed): Try a better way to really
313         keep point at the "same place".
314
315 2011-01-28  Lars Ingebrigtsen  <larsi@gnus.org>
316
317         * gnus-sum.el (gnus-select-newsgroup): Don't try to alter the active
318         data if the group is unactivated.
319
320 2011-01-28  Julien Danjou  <julien@danjou.info>
321
322         * gnus-win.el: Remove dead function gnus-window-configuration-element.
323         (gnus-all-windows-visible-p): Remove old compatibility code.
324         (gnus-window-top-edge): Add docstring.
325
326         * gnus-group.el (gnus-group-jump-to-group): Set must match to t.
327
328 2011-01-28  Lars Ingebrigtsen  <larsi@gnus.org>
329
330         * gnus-int.el (gnus-request-marks): Call *-request-marks instead of the
331         older request-update-info.
332
333         * gnus-art.el (article-make-date-line): Limit the length a bit more.
334
335 2011-01-28  Daiki Ueno  <ueno@unixuser.org>
336
337         * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Give
338         mml2015-signers higher precedence over mml2015-sign-with-sender.
339
340 2011-01-27  Lars Ingebrigtsen  <larsi@gnus.org>
341
342         * gnus-group.el (gnus-group-refresh-group): Refresh even non-visible
343         groups.  This makes the nndraft:queue group pop up if it's not already
344         there.
345
346         * gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no
347         messages" logic, which was reversed.
348
349         * gnus-art.el (article-update-date-lapsed): Ensure that point stays at
350         the "same place" even if point is on the line being replaced.
351         (article-update-date-lapsed): Allow updating both the combined lapsed
352         and the lapsed headers.
353         (article-update-date-lapsed): Skip past all the X-Sent/Date headers.
354         (article-make-date-line): Limit the number of segments dynamically to
355         avoid too-long lines.
356
357 2011-01-27  Julien Danjou  <julien@danjou.info>
358
359         * mml2015.el (mml2015-epg-sign): Add and use mml2015-sign-with-sender.
360         (mml2015-epg-encrypt): Use mml2015-sign-with-sender.
361
362 2011-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
363
364         * shr.el (shr-expand-newlines, shr-previous-newline-padding-width):
365         Use plist-get instead of the cl function getf.
366
367 2011-01-27  Glenn Morris  <rgm@gnu.org>
368
369         * gnus-util.el (float-time): Get rid of compiler warning, again.
370
371 2011-01-27  Lars Ingebrigtsen  <larsi@gnus.org>
372
373         * shr.el (shr-put-color): Special-case background colours: Do put them
374         at the blank parts at the front of the lines.
375
376         * gnus-draft.el (gnus-draft-clear-marks): New function to be run as an
377         exit hook to nix out all data on readedness on group exit.
378
379         * gnus-util.el (float-time): If float-time is bound, always use it on
380         all Emacsen.  It's unclear why the subrp check was there.
381         (time-date): Require to make some autoload issues on XEmacs go away.
382
383         * shr.el (shr-put-color): Don't do the box padding in tables, since
384         they're already padded.
385
386 2011-01-26  Lars Ingebrigtsen  <larsi@gnus.org>
387
388         * gnus-art.el (gnus-article-next-page): When the last line of the
389         article is displayed, scroll down once more instead of going to the
390         next article at once.
391         (article-lapsed-string): Refactor out and allow specifying how many
392         segments you want.
393         (gnus-article-setup-buffer): Start updating the lapsed header directly.
394         (gnus-article-update-lapsed-header): New variable.
395
396         * shr.el: Revert change that made headings use different-sized faces.
397         The Emacs display engine isn't advanced enough that, for instance,
398         tables can comfortably use differntly-sized faces.
399
400 2011-01-25  Lars Ingebrigtsen  <larsi@gnus.org>
401
402         * nnimap.el (nnimap-open-connection-1): Store the actual stream type
403         used.
404         (nnimap-login): Prefer plain LOGIN if it's enabled (since it requires
405         fewer round trips than CRAM-MD5, and it's less likely to be buggy), and
406         we're using an encrypted connection.
407
408         * proto-stream.el: Alter the interface functions to also return the
409         actual stream type used: network or tls.
410
411 2011-01-25  Julien Danjou  <julien@danjou.info>
412
413         * mm-view.el (mm-display-shell-script-inline): Fix typo in docstring.
414         (mm-display-javascript-inline): New function.
415
416         * mm-decode.el (mm-inline-media-tests): Add application/javascript
417         viewing function.
418
419 2011-01-25  Katsumi Yamaoka  <yamaoka@jpl.org>
420
421         * shr.el (shr-expand-newlines): Fix variable name.
422
423 2011-01-25  Lars Ingebrigtsen  <larsi@gnus.org>
424
425         * shr.el (shr-expand-newlines): Make nested boxes work.
426
427 2011-01-24  Lars Ingebrigtsen  <larsi@gnus.org>
428
429         * shr.el (shr-expand-newlines): Proof of concept implemantation of boxy
430         backgrounds.
431         (shr-expand-newlines): Switch to using overlays to enable kill'n'yank
432         in a more sensible manner.
433
434 2011-01-24  Teodor Zlatanov  <tzz@lifelogs.com>
435
436         * mml-smime.el (mml-smime-use): Make it a defcustom and default to 'epg
437         if EPG is loaded.
438
439 2011-01-24  Julien Danjou  <julien@danjou.info>
440
441         * shr.el: Use defface to create shr-tag-h[1-6] faces to fontify h[1-6]
442         tags.
443
444 2011-01-24  Lars Ingebrigtsen  <larsi@gnus.org>
445
446         * gnus-art.el (gnus-article-read-summary-keys): Don't call disabled
447         commands.
448
449         * gnus-gravatar.el (gnus-gravatar-insert): Don't move point around
450         in the article buffer.
451         (gnus-gravatar-insert): Use blank space from the current buffer to
452         avoid breaking text properties.  This makes X-Sent updating work again.
453
454         * gravatar.el (gravatar-retrieve): Be silent when retrieving.
455
456 2011-01-23  Lars Ingebrigtsen  <larsi@gnus.org>
457
458         * gnus-html.el (gnus-html-image-fetched): Kill the buffer anyway, and
459         fix the bug in url-http.el instead.
460
461         * shr.el (shr-image-fetched): Ditto.
462
463         * shr.el (shr-image-fetched): Avoid having point move in the article
464         buffer.
465
466         * gnus-html.el (gnus-html-image-fetched): Don't kill the temporary
467         buffer after being called.  It's apparently being killed by url.el, and
468         killing it made point move to end-of-buffer in a random buffer.
469
470         * shr.el (shr-image-fetched): Ditto.
471
472 2011-01-23  Julien Danjou  <julien@danjou.info>
473
474         * mm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
475
476         * mm-uu.el (mm-uu-org-src-code-block-extract): Change text/org to
477         text/x-org.
478
479 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
480
481         * gnus-sum.el (gnus-summary-move-article): Protect against backends
482         (i.e., nnimap) returning nil as the article number.
483
484 2011-01-22  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
485
486         * flow-fill.el (fill-flowed): Make `delete-space' option correspond to
487         "DelSp" parameter in RFC3676.
488
489 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
490
491         * message.el (message-check-recipients): Display the encoded version of
492         the bogus address if they differ.
493
494         * gnus-draft.el (gnus-group-send-queue): Really refresh the queue group
495         after sending.
496
497         * gnus-agent.el (gnus-agent-send-mail): Ditto.
498
499         * gnus-group.el (gnus-group-refresh-group): New convenience function.
500
501         * gnus-draft.el (gnus-group-send-queue): Update the queue group in the
502         group buffer after sending the queue.
503
504         * gnus-agent.el (gnus-agent-send-mail): Ditto.
505
506 2011-01-22  Julien Danjou  <julien@danjou.info>
507
508         * mailcap.el (mailcap-mime-extensions): Rename text/org to text/x-org.
509
510 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
511
512         * mm-decode.el (mm-preferred-alternative-precedence): Don't bug out on
513         nested related parts.
514
515         * nnfolder.el (nnfolder-request-expire-articles): Return the list of
516         unexpired articles.  This fixes the regression that led expiry marks to
517         disappear from nnfolder groups.
518
519 2011-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
520
521         * gnus-art.el (gnus-button-alist, gnus-button-handle-info-keystrokes):
522         Don't confuse the "ret" of "retrograde" with RET.
523
524 2011-01-21  Julien Danjou  <julien@danjou.info>
525
526         * gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather
527         than mm-insert-inline.
528
529 2011-01-21  Katsumi Yamaoka  <yamaoka@jpl.org>
530
531         * gnus-art.el (gnus-article-remove-images, gnus-article-show-images):
532         Widen article buffer.
533
534 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
535
536         * mm-util.el (mm-find-buffer-file-coding-system): Don't forget to kill
537         the temp buffer.
538         * message.el (message-mailer-swallows-blank-line): Use with-temp-buffer.
539
540 2011-01-20  Julien Danjou  <julien@danjou.info>
541
542         * mm-decode.el (mm-inline-media-tests): Add text/x-sh.
543
544         * gnus-art.el (gnus-mime-inline-part): Use mm-display-inline rather
545         than mm-insert-inline to insert inline part: this respect
546         mm-inline-media-tests displayers.
547
548         * mm-view.el (mm-display-shell-script-inline): New function.
549
550         * mm-decode.el (mm-inline-media-tests): Add x-shellscript and x-sh.
551
552         * mm-uu.el (mm-uu-type-alist): Add org block.
553         (mm-uu-org-src-code-block-extract): New function.
554
555         * mm-view.el (mm-display-org-inline): New function.
556
557         * mm-decode.el (mm-automatic-display): Add text/org.
558
559         * mailcap.el (mailcap-mime-extensions): Add .org.
560
561 2011-01-19  Katsumi Yamaoka  <yamaoka@jpl.org>
562
563         * gnus-art.el (gnus-article-highlight): Remove argument passed to
564         gnus-article-add-buttons.
565
566 2011-01-19  Tom Rauchenwald  <sehnsucht.nach.unendlichkeit@quantentunnel.de>  (tiny change)
567
568         * spam.el (spam-spamassassin-register-with-sa-learn): Insert a full
569         From header with a date and "nobody" as the sender.
570
571 2011-01-19  Julien Danjou  <julien@danjou.info>
572
573         * gnus-art.el (gnus-article-add-buttons): Simplify condition.
574         (gnus-button-push): Remove gnus-button-entry function, it fails heavily
575         if you have the same regexp several times.
576         (gnus-button-push): Fix matching when regexp is symbol.
577
578 2011-01-15  Glenn Morris  <rgm@gnu.org>
579
580         * message.el (message-mail): A compose-mail function should
581         accept headers as strings.
582
583 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
584
585         * message.el (message-tool-bar-gnome): Tweak tool-bar items.
586         Add :vert-only tags.
587         (message-mail): New arg RETURN-ACTION.
588         (message-return-action): New var.
589         (message-bury): Use it.
590         (message-mode): Make it buffer-local.
591         (message-send-and-exit): Always call message-bury.
592
593         * gnus-msg.el (gnus-msg-mail): New arg RETURN-ACTION.  Pass it to
594         message-mail.
595
596 2011-01-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
597
598         * nnimap.el (nnimap-convert-partial-article): Protect against
599         zero-length body parts.
600
601         * mm-decode.el (mm-preferred-alternative-precedence):
602         Discourage showing empty parts.
603
604         * gnus-int.el (gnus-request-accept-article): Don't try to update marks
605         and stuff if the backend didn't return the article number.  This fixes
606         an Exchange-related nnimap bug.
607
608         * gnus-sum.el (gnus-summary-next-article): Remove hack to reselect
609         group window, because it does the wrong thing when a separate frame
610         displays the group buffer.
611
612         * proto-stream.el (open-protocol-stream): Protect against the low-level
613         transport functions returning nil.
614
615 2011-01-07  Daiki Ueno  <ueno@unixuser.org>
616
617         * mml2015.el (epg-sub-key-fingerprint): Autoload.
618         (mml2015-epg-find-usable-secret-key): New function.
619         (mml2015-epg-sign): Use mml2015-epg-find-usable-secret-key instead of
620         mml2015-epg-find-usable-key (Bug#7797).
621         (mml2015-epg-encrypt): Ditto.
622
623 2011-01-05  Katsumi Yamaoka  <yamaoka@jpl.org>
624
625         * dgnushack.el (rot13-string): Fix the way to get the argument.
626
627 2011-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
628
629         * flow-fill.el (fill-flowed-encode): Do encoding citation-aware.
630
631 2011-01-03  Glenn Morris  <rgm@gnu.org>
632
633         * sieve-manage.el (sieve-manage-open): Correctly set sieve-manage-port.
634
635         * sieve.el (sieve-open-server): Give a more explicit error if
636         sieve-manage-open returns nil.  (Bug#7720)
637
638 2011-01-02  Karl Fogel  <kfogel@red-bean.com>
639
640         * gnus-msg.el (gnus-message-replyencrypt): Default to `t'.
641
642 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
643
644         * nnimap.el (nnimap-login): Prefer AUTH=CRAM-MD5, if it's available.
645         This avoids sending passwords in plain text over non-encrypted
646         channels.
647
648         * shr.el (shr-rescale-image): Display all GIF images as animated images.
649
650         * nnimap.el (nnimap-login): Refactored out into own function, and
651         implement CRAM-MD5.
652         (nnimap-wait-for-line): Refactored out.
653
654         * mm-view.el (mml-smime): Require.
655
656 2010-12-20  David Engster  <deng@eml.cc>
657
658         * mm-view.el (mm-view-pkcs7-decrypt): If mml-smime-use is set to 'epg,
659         use EPG to decrypt S/MIME messages instead of openssl.
660
661 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
662
663         * nnimap.el (nnimap-request-group): Avoid double SELECT on `M-g'.
664
665         * gnus-group.el (gnus-group-kill-group): Don't try to update the group
666         status is the group clearly is unreachable.
667
668         * auth-source.el (auth-source-create): Add the optional second
669         parameter to `local-variable-p' to be compatible with XEmacs.
670
671 2011-01-02  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
672
673         * nnml.el (nnml-request-article): Allow requesting by Message-ID to
674         work when using a compressed nnml folder.
675
676 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
677
678         * gnus-sum.el (gnus-select-newsgroup): Don't propagate marks to
679         backends after sanitising on entry, because this never makes sense:
680         If the articles have gone missing, then the data no longer exists on
681         the backend, and if they haven't, then Gnus is wrong, and shouldn't
682         overwrite anything anyway.
683
684         * shr.el (shr-insert-document): Bind shr-width dynamically to
685         window-width if it's nil.
686
687 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
688
689         * shr.el (shr-width, shr-insert-document): Allow nil as shr-width value
690         with the meaning of using the full emacs window width for rendering.
691
692 2010-12-27  Daiki Ueno  <ueno@unixuser.org>
693
694         * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Take care the
695         case when sender is not given.
696
697 2010-12-23  Julien Danjou  <julien@danjou.info>
698
699         * gnus-gravatar.el (gnus-gravatar-transform-address): Set
700         `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting
701         the addresses, otherwise we might misplaced the gravatar.
702
703 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
704
705         * mml1991.el (pgg-sign-region, pgg-encrypt-region):
706         * gnus-art.el (pgg-snarf-keys-region): Autoload since PGG is now
707         obsolete in Emacs.
708
709 2010-12-20  Julien Danjou  <julien@danjou.info>
710
711         * gnus-util.el (gnus-rescale-image): Revert last change.
712
713 2010-12-17  Chong Yidong  <cyd@stupidchicken.com>
714
715         * binhex.el: Improve commentary (Bug#7482).
716
717 2010-12-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
718
719         * gnus-group.el (gnus-group-delete-articles): New command.
720
721 2010-12-17  Andrew Cohen  <cohen@andy.bu.edu>
722
723         * nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
724
725 2010-12-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
726
727         * gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change
728         here, since it's up to the backends to do CRLF removal if their
729         protocol has it.
730
731         * nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
732
733 2010-12-17  Julien Danjou  <julien@danjou.info>
734
735         * gnus-util.el (gnus-rescale-image): Allow to resize images even if
736         they are from file. Can also scale up.
737
738 2010-12-17  Andrew Cohen  <cohen@andy.bu.edu>
739
740         * gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore
741         gnus-use-agent.
742         (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
743
744         * nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
745
746 2010-12-17  Julien Danjou  <julien@danjou.info>
747
748         * gravatar.el (gravatar-retrieve-synchronously): New function.
749         (gravatar-get-data): Make more robust.
750
751 2010-12-16  Katsumi Yamaoka  <yamaoka@jpl.org>
752
753         * lpath.el: Bind epa-file-encrypt-to for Emacs 22 and XEmacs.
754
755 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
756
757         * nnimap.el (nnimap-wait-for-response): Fix the end-point calculation
758         to really consider the last line.
759
760 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
761
762         * auth-source.el (auth-source-gpg-encrypt-to): New variable to set the
763         list of recipient keys, or use symmetric encryption if not a list.
764         (auth-source-create): Use it to make `epa-file-encrypt-to' local for an
765         EPA override, replacing the call to `netrc-store-data'.
766
767 2010-12-16  Dan Davison  <dandavison7@gmail.com>  (tiny change)
768
769         * gnus-srvr.el: Avoid passing nil regexp argument to
770         delete-matching-lines.
771
772 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
773
774         * gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML
775         fetching stops when Gnus exits.
776
777         * nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own
778         function.
779         (nnfolder-request-expire-articles): Save all the buffers after doing
780         expiry.
781
782         * nnmail.el (nnmail-expiry-target-group): Revert the "all articles are
783         the last article", since that led to serious performance regressions
784         when expiring nnml groups.
785
786 2010-12-16  Andrew Cohen  <cohen@andy.bu.edu>
787
788         * nnir.el: Improve customizations.
789
790 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
791
792         * gnus-start.el (gnus-subscribe-newsgroup): Notify the backend.
793
794         * gnus-group.el (gnus-group-kill-group): Notify the backend that the
795         group has been killed.
796         (gnus-group-yank-group): Ditto.
797
798         * gnus-srvr.el (gnus-browse-unsubscribe-group): Ditto.
799
800         * nnimap.el (nnimap-request-update-group-status): New function.
801
802         * gnus-int.el (gnus-request-update-group-status): New interface
803         function.
804
805         * gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for
806         copying read-ness to the backends.
807
808         * nnimap.el (nnimap-quirk): New function.
809         (nnimap-retrieve-group-data-early): Use it.
810         (nnimap-quirks): New alist.
811
812 2010-12-16  Katsumi Yamaoka  <yamaoka@jpl.org>
813
814         * shr.el (shr-insert): Set shr-start after deleting trailing space;
815         don't delete it within indentation.
816
817 2010-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
818
819         * nnimap.el (nnimap-wait-for-response): Always look (at least) at the
820         previous line.
821
822 2010-12-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
823
824         * nnimap.el (nnimap-retrieve-group-data-early): Fix the syntax of the
825         QRESYNC command by deleting a superfluous space which broke Cyrus
826         servers.  This change will break other servers that are buggy the other
827         way around.
828
829 2010-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
830
831         * spam.el: Reindent and fix long lines.
832         (spam-copy-or-move-routine): Exclude invalid move destinations.
833
834 2010-12-14  Andrew Cohen  <cohen@andy.bu.edu>
835
836         * nnir.el (nnir-mode): Don't install registry hooks if user hasn't
837         installed the registry.
838
839 2010-12-14  Katsumi Yamaoka  <yamaoka@jpl.org>
840
841         * dgnushack.el (rot13-string): New macro for XEmacs.  netrc.el uses it.
842
843 2010-12-13  Andrew Cohen  <cohen@andy.bu.edu>
844
845         * nnir.el (nnir-run-gmane): Better check for gmane groups: error out if
846         groupname doesn't contain "gmane".
847
848 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
849
850         * netrc.el (netrc-point-at-eol): Remove the unused netrc-point-at-old
851         and netrc-bound-and-true-p bindings.
852         (netrc-parse): Cache the netrc contents.
853
854         * gnus-start.el (gnus-matches-options-n): Fix typo in last change.
855         (gnus-1): Don't create the nndrafts group twice.
856         (gnus-setup-news): There's no need to read the active file here, since
857         that's done again later on a per-backend basis.
858         (gnus-start-draft-setup): Make sure that the new group is started out
859         empty.
860
861         * gnus-agent.el (gnus-agentize): Don't create the queue group
862         automatically on startup.  It'll be created later, if needed.
863
864         * gnus-start.el (gnus-auto-subscribed-groups): Add nnimap to the list
865         of automatically subscribed groups.
866         (gnus-auto-subscribed-categories): New variable.
867         (gnus-matches-options-n): Use it.
868         (gnus-default-subscribed-newsgroups): Remove unused variable.
869         (gnus-start-draft-setup): Message a bit less.
870
871 2010-12-13  Andrew Cohen  <cohen@andy.bu.edu>
872
873         * nnir.el (nnir-run-imap): Return article list in order of increasing
874         UID.
875
876 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
877
878         * gnus-sum.el (gnus-summary-enter-digest-group):
879         Mention gnus-auto-select-on-ephemeral-exit.
880
881         * proto-stream.el (proto-stream-open-network-only): Fix the calling
882         convention of the network-only option.
883
884 2010-12-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
885
886         * proto-stream.el (proto-stream-open-network-only): New function to
887         have a way to specify non-STARTTLS upgrade connections.
888
889 2010-12-10  Julien Danjou  <julien@danjou.info>
890
891         * gnus-gravatar.el (gnus-gravatar-transform-address): Fix error when
892         email address is nil.
893
894         * message.el (message-bogus-recipient-p): Set address to "" if nil.
895
896 2010-12-10  Andrew Cohen  <cohen@andy.bu.edu>
897
898         * nnir.el (nnir-request-expire-articles): Ignore expiry except for
899         deletion.
900         (nnir-run-imap): Only need to parse list once.
901
902 2010-12-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
903
904         * shr.el (shr-tag-script): Ignore <script>.
905         (shr-tag-label): Add <label> support.
906
907 2010-12-09  Katsumi Yamaoka  <yamaoka@jpl.org>
908
909         * mm-util.el (mm-ucs-to-char): Use eval-and-compile.
910
911         * shr.el (shr-image-displayer): Work for images lined side by side.
912
913 2010-12-08  Robert Pluim  <rpluim@gmail.com>
914
915         * gnus-demon.el (gnus-demon-init): Call run-with-timer with an integer
916         parameter, since XEmacs doesn't accept t as a parameter.
917
918 2010-12-08  Andrew Cohen  <cohen@andy.bu.edu>
919
920         * nnir.el (nnir-retrieve-headers): Use rassq when comparing article
921         ids.
922         (nnir-run-gmane): Simplify groupspec formatting.
923         (nnir-request-expire-articles): New function.
924
925 2010-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
926
927         * nnimap.el (nnimap-parse-flags): Tweak VANISHED regexp to avoid regexp
928         overflow, possibly.
929
930         * shr.el (shr-tag-table-1): Use bg/gfcolor specs on tables.
931         (shr-render-td): Handle td style="" better.
932         (shr-tag-table): Use the color from the style sheet.
933         (shr-render-td): Make sure we copy over all the overlays, too.
934
935 2010-12-07  Andrew Cohen  <cohen@andy.bu.edu>
936
937         * nnir.el (nnir-run-gmane): Restore sub-optimal test for gmane server.
938         (nnir-request-article): Improve article retrieval.
939
940 2010-12-07  Katsumi Yamaoka  <yamaoka@jpl.org>
941
942         * mm-util.el (mm-extra-numeric-entities): New variable.
943
944         * mm-url.el (mm-url-decode-entities):
945         * mm-decode.el (mm-shr): Use it to decode extra numeric entities.
946
947         * lpath.el: Fbind completion-at-point for Emacs 22 and XEmacs.
948
949 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
950
951         * message.el: Use completion-at-point.
952         (message-completion-function): New fun, extracted from message-tab.
953         (message-mode): Use it for completion-at-point-functions.
954         (message-tab): Use it and completion-at-point.
955
956 2010-12-07  Katsumi Yamaoka  <yamaoka@jpl.org>
957
958         * shr.el (shr-find-fill-point): Don't break a line after a kinsoku-bol
959         character if a non-breakable character follows.
960
961 2010-12-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
962
963         * proto-stream.el (proto-stream-open-tls): Return nil if we don't get
964         any stream.
965
966         * shr.el (shr-tag-font): Colorize the region.
967         (shr-tag-body): Ditto.
968         (shr-tag-font): Actually let the styles be inherited instead of
969         overwriting them.
970         (shr-tag-font): Get the background color right.
971         (shr-tag-style): Ignore all <style> tags for the moment.
972
973         * gnus-int.el (gnus-request-thread): Rework to take a header instead of
974         a Message-ID to avoid having nnimap depend on gnus-sum.
975
976         * shr.el (shr-descend): Only colorize something if we have a node that
977         sets colors.
978
979 2010-12-06  Julien Danjou  <julien@danjou.info>
980
981         * shr.el (shr-render-td): Render td content with shr-descend, so style
982         will be applied to <td> too.
983         (shr-colorize-region): Colorize region even if we only have a background.
984         (shr-tag-body): Fix color and background color inheritance.
985         Do not recolorize after shr-generic.
986         (shr-tag-font): Let shr-generic colorize via inheritance.
987
988 2010-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
989
990         * shr.el (shr-find-fill-point): Don't regard apostrophe as kinsoku-bol.
991
992 2010-12-06  Andrew Cohen  <cohen@andy.bu.edu>
993
994         * nnir.el (nnir-request-move-article): Remove obsolete code.
995
996 2010-12-05  Katsumi Yamaoka  <yamaoka@jpl.org>
997
998         * gnus-util.el (gnus-macroexpand-all): Use eval-and-compile.
999
1000 2010-12-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1001
1002         * gnus-sum.el (gnus-summary-respool-article): The completion function
1003         expects a list instead of an alist.
1004
1005         * nntp.el (nntp-snarf-error-message): nnheader-report takes a format
1006         string as the parameter.
1007
1008         * gnus.el (gnus-valid-select-methods): Allow nnimap to respool.
1009
1010         * shr.el (shr-stylesheet): New dynamic variable for cascading the
1011         styles.
1012         (shr-colorize-region): New function.
1013         (shr-insert-background-overlay): Remove.
1014         (shr-render-td): Background setting should be taken care of on a higher
1015         level.
1016         (shr-tag-body): Use post-hoc colorizations.
1017         (shr-tag-body): Set up a style sheet based on bgcolor/fgcolor.
1018         (shr-put-color-1): Don't overwrite old colors.
1019         (shr-colorize-region): When the background color isn't explicit, use
1020         a fixed background.
1021
1022         * gnus-util.el (gnus-output-to-mail): Require nnmail before using
1023         nnmail variables.
1024
1025 2010-12-05  Bjørn Mork  <bjorn@mork.no>
1026
1027         * nnimap.el (nnimap-process-expiry-targets): Avoid downloading articles
1028         unless necessary.
1029
1030 2010-12-05  Andrew Cohen  <cohen@andy.bu.edu>
1031
1032         * nnir.el (nnir-run-gmane): Use more careful test for gmane nntp
1033         server.
1034
1035 2010-12-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1036
1037         * gnus-html.el (gnus-html-put-image): Use widget instead of local maps
1038         so that TAB works.
1039
1040         * gnus-sum.el (gnus-summary-show-article): Reverse the meanings of `C-u
1041         C-u g' and `C-u g' so that `C-u g' does what it traditionally did.
1042
1043         * shr.el (shr-urlify): Show the URL before the title to avoid
1044         misleading URLs.
1045
1046 2010-12-04  Adam Sjøgren  <asjo@koldfront.dk>
1047
1048         * shr.el (shr-urlify): Display the title in <a> tags.
1049
1050 2010-12-04  Andrew Cohen  <cohen@andy.bu.edu>
1051
1052         * nnir.el (nnir-categorize): Replace mapcar with mapc.
1053
1054 2010-12-03  Andrew Cohen  <cohen@andy.bu.edu>
1055
1056         * nnir.el: Rearrange code to allow macros to be autoloaded by
1057         gnus-sum.el.
1058         (nnir-retrieve-headers-override-function): Make this variable
1059         customizable.
1060         (nnir-retrieve-headers): Remove obsolete subject-mangling code.
1061
1062         * gnus-sum.el (nnir-article-group,nnir-article-rsv): Autoload macros
1063         from nnir.el.
1064
1065 2010-12-03  Julien Danjou  <julien@danjou.info>
1066
1067         * gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.
1068
1069 2010-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
1070
1071         * gnus-util.el (gnus-macroexpand-all): Don't modify argument;
1072         allow optional argument `environment'.
1073
1074 2010-12-03  Glenn Morris  <rgm@gnu.org>
1075
1076         * mm-extern.el (message-goto-body): Update declaration.
1077
1078 2010-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
1079
1080         * gnus-util.el (gnus-macroexpand-all): New function.
1081
1082         * gnus-sum.el (gnus-summary-line-format-alist): Use gnus-macroexpand-all
1083         instead of macroexpand-all that is unavailable in XEmacs.
1084
1085 2010-12-02  Andrew Cohen  <cohen@andy.bu.edu>
1086
1087         * nnir.el (nnir-summary-line-format): New variable.
1088         (nnir-mode): Use it.
1089         (nnir-artlist-*,nnir-aritem-*): Reimplement as macros.
1090         (nnir-article-ids): Reimplement as defsubst.
1091         (nnir-retrieve-headers): Don't mangle the subject header.
1092         (nnir-run-imap): Use 100 as RSV score.
1093         (nnir-run-find-grep): Fix for full server searching.
1094         (nnir-run-gmane): Better restriction to gmane groups.
1095
1096         * gnus-sum.el (gnus-summary-line-format-alist): Add specs for nnir
1097         summary buffers.
1098
1099 2010-12-02  Julien Danjou  <julien@danjou.info>
1100
1101         * gnus-win.el (gnus-configure-frame): Remove old compatibility code.
1102
1103         * gnus-msg.el: Mark gnus-outgoing-message-group as obsolete.
1104
1105         * gnus-win.el (gnus-configure-windows): Remove Gnus 3.x setting
1106         support.
1107
1108 2010-12-01  Andrew Cohen  <cohen@andy.bu.edu>
1109
1110         * nnir.el: Update to handle the registry better.
1111         (autoload): Silence byte-compiler.
1112         (nnir-open-server): Add a hook for nnir groups.
1113         (nnir-request-move-article): Don't mangle the header. Better to use
1114         formating variables (which will be added in the future).
1115         (nnir-registry-action): Update the registry using the original article
1116         group name.
1117         (nnir-mode): Install nnir-specific hooks for updating the registry.
1118
1119         * gnus-sum.el
1120         (gnus-article-original-subject,gnus-newsgroup-original-name):
1121         Remove obsolete variables.
1122         (gnus-summary-move-article): Remove use of obsolete variables.
1123         (gnus-summary-local-variables): Make move and delete hooks local to
1124         summary buffers.
1125
1126 2010-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1127
1128         * rtree.el: New file.
1129
1130 2010-12-01  Julien Danjou  <julien@danjou.info>
1131
1132         * message.el (message-user-organization): Do not use
1133         gnus-local-organization.
1134
1135         * gnus.el: Remove gnus-local-organization.
1136
1137         * gnus-msg.el: Remove nastygram thing.
1138
1139 2010-12-01  Teodor Zlatanov  <tzz@lifelogs.com>
1140
1141         * nnmaildir.el (nnmaildir-request-set-mark): Add article to add-mark
1142         funcall.
1143
1144 2010-12-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1145
1146         * gnus-gravatar.el (gnus-gravatar-insert): Allow LWSP in the middle of
1147         names.
1148
1149         * shr.el (shr-find-fill-point): Don't break line between kinsoku-bol
1150         characters.
1151
1152         * gnus-gravatar.el (gnus-gravatar-insert): Delete unnecessary binding
1153         to t of inhibit-read-only since it is inside gnus-with-article-headers.
1154         Suggested by Štěpán Němec <stepnem@gmail.com>.
1155         (gnus-gravatar-transform-address): Use mail-extract-address-components
1156         that supports non-ASCII names rather than mail-header-parse-addresses.
1157
1158 2010-11-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1159
1160         * proto-stream.el (open-protocol-stream): All starttls connections are
1161         handled by the network handler.
1162
1163 2010-11-30  Julien Danjou  <julien@danjou.info>
1164
1165         * nnimap.el (nnimap-open-connection-1): Use gnus-string-match-p.
1166         (nnimap-open-connection-1): Fix PREAUTH.
1167
1168         * gnus-gravatar.el (gnus-gravatar-size): Set gnus-gravatar-size to nil.
1169
1170 2010-11-30  Katsumi Yamaoka  <yamaoka@jpl.org>
1171
1172         * shr.el (shr-char-breakable-p, shr-char-nospace-p)
1173         (shr-char-kinsoku-bol-p, shr-char-kinsoku-eol-p): New macros.
1174         (shr-insert): Use them.
1175         (shr-find-fill-point): Work better for kinsoku chars and apostrophes.
1176
1177 2010-11-29  Andrew Cohen  <cohen@andy.bu.edu>
1178
1179         * nnir.el (nnir-request-move-article): Bail out if original group
1180         doesn't support article moves.
1181         (nnir-get-active): Improve active list retrieval.
1182
1183 2010-11-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1184
1185         * shr.el (shr-find-fill-point): Don't break before apostrophes.
1186
1187 2010-11-29  Binjo  <binjo.cn@gmail.com>  (tiny change)
1188
1189         * nnimap.el (nnimap-open-connection-1): w32 open-network-stream doesn't
1190         seem to accept strings-with-numbers as port numbers,
1191
1192 2010-11-29  Andrew Cohen  <cohen@andy.bu.edu>
1193
1194         * gnus-sum.el (gnus-summary-delete-article): If delete fails don't
1195         change the registry.
1196
1197 2010-11-29  Katsumi Yamaoka  <yamaoka@jpl.org>
1198
1199         * nnir.el (nnir-run-gmane): Use mm-delete-duplicates instead of
1200         delete-dups that is not available in XEmacs 21.4.
1201
1202         * mm-util.el (mm-delete-duplicates): Add comment.
1203
1204 2010-11-28  Andrew Cohen  <cohen@andy.bu.edu>
1205
1206         * nnir.el (nnir-ignored-newsgroups): New variable.
1207         (nnir-get-active): Use it.
1208
1209 2010-11-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1210
1211         * proto-stream.el (proto-stream-open-network): Add some comments.
1212
1213         * nntp.el (nntp-open-connection): Provide a :success condition.
1214
1215         * nnimap.el (nnimap-open-connection-1): Ditto.
1216
1217         * proto-stream.el (proto-stream-open-network): See what the response to
1218         the STARTTLS command is.
1219
1220         * nnimap.el (nnimap-open-connection-1): Always upgrade to STARTTLS (for
1221         backwards compatibility).
1222         (nnimap-open-connection-1): Really respect nnimap-server-port.
1223
1224         * proto-stream.el (proto-stream-open-network): When doing opportunistic
1225         TLS upgrades we don't really care about the identity of the peer.
1226         (proto-stream-open-network): Force starttls.el to use gnutls-cli, since
1227         that what we've checked for.
1228         (proto-stream-always-use-starttls): Only default to t if
1229         open-gnutls-stream exists.
1230         (proto-stream-open-network): If STARTTLS failed, then just open a
1231         normal connection.
1232         (proto-stream-open-network): Wait until the greeting before doing
1233         STARTTLS.
1234
1235         * nntp.el (nntp-open-connection): Report what the connection error is.
1236
1237         * proto-stream.el (open-protocol-stream): Rename from
1238         open-proto-stream.
1239
1240 2010-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1241
1242         * nnimap.el (nnimap-stream): Change default to `undecided'.
1243         (nnimap-open-connection): If `nnimap-stream' is `undecided', try ssl
1244         first, and then network.
1245         (nnimap-open-connection-1): Respect nnimap-server-port.
1246         (nnimap-open-connection): Be more backwards-compatible.
1247
1248         * proto-stream.el (proto-stream-always-use-starttls): New variable.
1249         (proto-stream-open-starttls): De-duplicate the starttls code.
1250         (proto-stream-open-starttls): Folded back into the main function.
1251         (proto-stream-open-network): Fix typo in the gnutls path.
1252         (proto-stream-command): Refactor out.
1253
1254         * nntp.el (nntp-open-connection): Fix the STARTTLS command syntax.
1255
1256         * proto-stream.el (proto-stream-open-starttls): Actually implement the
1257         starttls.el STARTTLS.
1258
1259         * color.el (color-lab->srgb): Fix function call name.
1260
1261         * proto-stream.el (proto-stream-open-tls): Delete output from openssl
1262         if we're using tls.el.
1263         (proto-stream-open-network): If we don't have gnutls-cli or gnutls
1264         built in, then don't try to establish a STARTTLS connection.
1265
1266         * nntp.el (nntp-open-connection): Switch on STARTTLS on supported
1267         servers.
1268
1269         * proto-stream.el (open-proto-stream): Use network, not stream.
1270         (open-proto-stream): Add a way to specify what the end of a command is.
1271
1272         * nntp.el (nntp-open-connection): Use proto-streams for the relevant
1273         connections types.
1274         (nntp-open-network-stream): Remove.
1275         (nntp-open-ssl-stream): Remove.
1276         (nntp-open-tls-stream): Remove.
1277         (nntp-ssl-program): Remove.
1278
1279         * nnimap.el (nnimap-open-connection): Check for "OK" from the greeting.
1280
1281 2010-11-27  Andrew Cohen  <cohen@andy.bu.edu>
1282
1283         * nnir.el: Fix typos.
1284         (nnir-retrieve-headers-override-function): Rename variable to reflect
1285         new semantics.
1286         (nnir-article-group, nnir-article-number, nnir-article-rsv): New helper
1287         macros.
1288         (nnir-request-article, nnir-request-move-article): Use them.
1289         (nnir-categorize): New function.
1290         (nnir-run-query): Use it.
1291         (nnir-retrieve-headers): Rewrite to batch header retrieval.
1292         (nnir-run-gmane): nnir-retrieve-headers now returns the headers already
1293         sorted.
1294         (nnir-group-full-name): Use gnus-group-full-name instead.
1295         (nnir-artlist-artitem-group, nnir-artlist-artitem-number)
1296         (nnir-artlist-artitem-rsv, nnir-sort-groups-by-server): Obsolete.
1297
1298 2010-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1299
1300         * nnimap.el (nnimap-open-connection): Fix typo in STARTTLS command.
1301
1302         * proto-stream.el: New library to provide protocol-specific
1303         TLS/STARTTLS connections for IMAP, NNTP, SMTP, POP3 and similar
1304         protocols.
1305         (open-proto-stream): Complete the documentation.
1306         (proto-stream-open-network): Fix some typos.
1307
1308         * nnimap.el (nnimap-open-connection): Use it.
1309
1310 2010-11-27  Yuri Karaban  <tech@askold.net>  (tiny change)
1311
1312         * pop3.el (pop3-open-server): Read server greeting before starting TLS
1313         negotiation.
1314
1315 2010-11-26  Julien Danjou  <julien@danjou.info>
1316
1317         * color.el: Rename various rgb functions to srgb.
1318
1319 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1320
1321         * nnimap.el (nnimap-get-groups): Allow non-quoted strings as mailbox
1322         names.
1323
1324 2010-11-26  Katsumi Yamaoka  <yamaoka@jpl.org>
1325
1326         * shr.el (shr-insert): Revert last change.
1327         (shr-find-fill-point): Never leave point being at bol;
1328         relax the kinsoku limitation when rendering tables.
1329
1330 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1331
1332         * nnmail.el (nnmail-expiry-target-group): Protect against degenerate
1333         results from -accept-article.
1334
1335         * shr-color.el: Require cl when compiling.
1336
1337         * nnheader.el (nnheader-update-marks-actions): Fix typo in last
1338         checkin.
1339
1340         * gnus-art.el (gnus-url-mailto): Unfold URLs before using them.
1341
1342         * nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
1343
1344         * gnus-sum.el (gnus-summary-push-marks-to-backend): Use 'set instead of
1345         'add and 'delete to set backend marks.
1346
1347         * nnmaildir.el (nnmaildir-request-set-mark): Be explicit about 'set.
1348
1349         * nnheader.el (nnheader-update-marks-actions): Refactor out.
1350
1351         * nntp.el (nntp-request-set-mark): Use it.
1352
1353         * nnfolder.el (nnfolder-request-set-mark): Ditto.
1354
1355         * nnml.el (nnml-request-set-mark): Ditto.
1356
1357         * nnimap.el (nnimap-last-response-string): Remove the unfolding -- it
1358         introduces regressions in article selection.
1359         (nnimap-find-uid-response): New function.
1360         (nnimap-request-accept-article): Use the UID returned, if any.
1361         (nnimap-request-move-article): Use the UID returned, if any.
1362         (nnimap-get-groups): Reimplement to work with folded lines.
1363         (nnimap-find-uid-response): The UID is the last element in the list.
1364         (nnimap-request-set-mark): Extend syntax with 'set.
1365
1366         * nnml.el (nnml-request-set-mark): Ditto.
1367
1368         * nnfolder.el (nnfolder-request-set-mark): Ditto.
1369
1370         * nntp.el (nntp-request-set-mark): Ditto.
1371
1372 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
1373
1374         * message.el (message-called-interactively-p): A temporary macro.
1375         (message-goto-body): Use it temporarily.
1376
1377 2010-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1378
1379         * nnimap.el (nnimap-unfold-quoted-lines): Refactor out.
1380         (nnimap-last-response-string): Unfold quoted lines, if they exist.
1381         (nnimap-last-response-string): Fix last unfolding fix.
1382
1383 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
1384
1385         * shr.el (shr-insert): Fix the way to fold lines.
1386
1387 2010-11-25  Julien Danjou  <julien@danjou.info>
1388
1389         * shr-color.el (shr-color->hexadecimal): Use color-rgb->hex
1390
1391         * color.el: Rename from color-lab.el
1392         (color-rgb->hex): Add.
1393         (color-complement): Add.
1394         (color-complement-hex): Add.
1395
1396         * gnus-sum.el (gnus-summary-widget-forward): Add, and bind to [tab].
1397
1398 2010-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1399
1400         * shr-color.el (shr-color-visible): Don't bug out if the colour names
1401         don't exist.
1402
1403 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
1404
1405         * mml.el (mml-preview): Make sure to bind gnus-displaying-mime to nil,
1406         assuming that article displaying or another mml-preview may be
1407         interrupted for an error or for the like.
1408
1409         * shr.el (shr-get-background): Fix argument name.
1410
1411 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1412
1413         * gnus-cache.el (gnus-summary-insert-cached-articles): Use it.
1414
1415         * gnus-sum.el (gnus-summary-include-articles): New function.
1416
1417         * message.el (message-goto-body): called-interactively-p needs a
1418         parameter, so use `any'.
1419
1420         * nnimap.el (nnimap-request-move-article): It's no longer necessary to
1421         clear marks before moving, since they're synced from the Gnus side
1422         first.
1423
1424         * gnus-sum.el (gnus-summary-push-marks-to-backend): New function.
1425         (gnus-summary-move-article): Copy over all marks before moving, so that
1426         IMAP doesn't think a new article has arrived.
1427
1428 2010-11-24  Julien Danjou  <julien@danjou.info>
1429
1430         * shr.el (shr-insert-background-overlay): Fix typo.
1431         (shr-render-td): Copy the background before rendering.
1432
1433         * shr-color.el (shr-color-visible): Fix docstring.
1434
1435         * shr.el (shr-tag-table): Add bgcolor support.
1436         (shr-render-td): Add bgcolor support.
1437         (shr-get-background): Add.
1438         (shr-insert-foreground-overlay): Use shr-get-background.
1439
1440         * message.el (message-goto-body): Use called-interactively-p.
1441         (message-in-body-p): message-goto-body returns point.
1442
1443 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1444
1445         * mm-util.el (mm-enable-multibyte): Use `to' instead of t.  This fixes
1446         Fixes something or other in Emacs 23, and is backwards compatible.
1447
1448         * message.el (message-goto-body): Remove the <#secure special-casing,
1449         which is too special.
1450
1451         * shr.el (shr-parse-style): Drop !important from styles.
1452
1453 2010-11-24  Daniel Schoepe  <daniel.schoepe@googlemail.com>  (tiny change)
1454
1455         * gnus-sum.el (gnus-summary-articles-in-thread): Fix a bug that causes
1456         this function to return incorrect results when calling it with an
1457         explicit article argument different from
1458         (gnus-summary-article-number).
1459
1460 2010-11-24  Julien Danjou  <julien@danjou.info>
1461
1462         * shr.el (shr-insert-color-overlay): Replace deprecated syntax.
1463         (shr-tag-body): Add background support.
1464         (shr-descend): Add background support.
1465         (shr-tag-title): Add.
1466
1467         * shr-color.el (shr-color-visible): Really return original background
1468         if fixed.
1469
1470 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1471
1472         * shr.el (shr-color-check): Protect against non-existant colour names.
1473
1474 2010-11-24  Julien Danjou  <julien@danjou.info>
1475
1476         * color-lab.el: Require 'cl when compiling.
1477
1478         * shr.el (shr-insert-color-overlay): Remove specific rgb() check.
1479
1480         * shr-color.el (shr-color->hexadecimal): Only return the hexadecimal
1481         matched part.
1482
1483         * color-lab.el: Fix all expt calls to use float type.
1484
1485 2010-11-24  Katsumi Yamaoka  <yamaoka@jpl.org>
1486
1487         * shr.el (shr-insert-color-overlay): Pass rgb(rrr, ggg, bbb) type color
1488         expression to shr-color-check as is.
1489
1490         * shr-color.el (shr-color->hexadecimal): Ignore case of color names.
1491
1492         * color-lab.el: Add coding cookie.
1493         (float-pi): Use eval-and-compile.
1494
1495         * dgnushack.el (dgnushack-compile): Exclude shr-color.el from being
1496         compiled for Emacsen having no `libxml-parse-html-region' support.
1497
1498 2010-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1499
1500         * shr.el (shr-insert-color-overlay): Split stuff like
1501         "#444444 !important" to find the real colour.
1502         (shr-tag-font): Resurrect shr-tag-font again, since it's needed to
1503         parse <font color="red"> entries.
1504
1505 2010-11-23  Andrew Cohen  <cohen@andy.bu.edu>
1506
1507         * nnheader.el (nnheader-parse-head): Bug fix.  Properly position
1508         point when parsing headers.
1509
1510         * nnspool.el (nnspool-insert-nov-head): Bug fix.  Make sure point
1511         is positioned properly when parsing headers.
1512
1513 2010-11-23  Julien Danjou  <julien@danjou.info>
1514
1515         * color-lab.el (boundp): Bind float-pi for Emacs < 23.3.
1516
1517         * shr-color.el (shr-color->hexadecimal): Add support for color names.
1518
1519         * shr.el (shr-parse-style): Replace \n with space in style parsing.
1520
1521         * shr-color.el (shr-color-hsl-to-rgb-fractions):
1522         Use shr-color-hue-to-rgb.
1523         (shr-color->hexadecimal): Call shr-color-hsl-to-rgb-fractions.
1524
1525 2010-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1526
1527         * shr.el (shr-color->hexadecimal): Autoload.
1528         (shr-descend): Add color to all tags.
1529
1530 2010-11-22  Julien Danjou  <julien@danjou.info>
1531
1532         * shr.el (shr-tag-color-check): Convert colors to hexadecimal with
1533         shr-color->hexadecimal.
1534
1535         * shr-color.el (shr-color->hexadecimal): Add converting functions for
1536         RGB() or HSL() color representation.
1537
1538         * shr.el (shr-tag-font): Add.
1539         (shr-tag-color-check): New function to get better colors.
1540         (shr-tag-insert-color-overlay): Factorize code between tag-font and
1541         tag-span.
1542
1543         * shr-color.el: New file.
1544
1545         * color-lab.el: New file.
1546
1547         * gnus-art.el (gnus-url-mailto): Do not downcase args.
1548
1549 2010-11-21  Andrew Cohen  <cohen@andy.bu.edu>
1550
1551         * nnir.el: Fix typo in comments.
1552         (nnir-run-imap): Simplify code. No need to reverse artlist.
1553         (nnir-run-gmane): Use nnir-tmp-buffer for web results.
1554
1555 2010-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1556
1557         * gnus-srvr.el (gnus-server-show-server): New command and keystroke.
1558
1559         * nnimap.el (nnimap-get-capabilities): Refactor out.
1560         (nnimap-open-connection): Re-request capabilities after STARTTLS.
1561
1562 2010-11-21  Ralf Angeli  <angeli@caeruleus.net>
1563
1564         * mm-uu.el (mm-uu-type-alist): Prevent spurious empty line from
1565         appearing when `mm-uu-hide-markers' is nil.
1566
1567 2010-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1568
1569         * nnimap.el (nnimap-unselect-group): Make into its own function.
1570         (nnimap-request-rename-group): Unselect group before renaming.
1571         This had gotten lost somewhere.
1572         (nnimap-request-accept-article): Keep track of examined groups, and
1573         unselect the group before APPENDing to read-only groups.
1574         (nnimap-request-move-article): Clear flags before moving so that they
1575         can be re-set later.
1576
1577 2010-11-20  Katsumi Yamaoka  <yamaoka@jpl.org>
1578
1579         * gnus-gravatar.el (gnus-gravatar-transform-address): Decode name again.
1580         (gnus-gravatar-insert): Put avatar always in the beginning of the field.
1581
1582 2010-11-19  Katsumi Yamaoka  <yamaoka@jpl.org>
1583
1584         * gnus-art.el (gnus-mime-display-single)
1585         * gnus-html.el (gnus-html-wash-images, gnus-html-prefetch-images)
1586         * mm-decode.el (mm-shr): Assume that gnus-inhibit-images may be a group
1587         parameter.
1588
1589 2010-11-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1590
1591         * shr.el (shr-table-horizontal-line): Rename from shr-table-line.
1592         (shr-table-vertical-line): New variable.
1593         (shr-insert-table): Use it.
1594
1595 2010-11-18  Katsumi Yamaoka  <yamaoka@jpl.org>
1596
1597         * gnus-html.el (gnus-html-wash-images): Don't display images if
1598         gnus-inhibit-images is non-nil; register displayer for cid images.
1599         (gnus-html-display-image): Work for cid image.
1600         (gnus-html-insert-image): Allow arguments.
1601         (gnus-html-put-image): Inhibit read-only.
1602         (gnus-html-prefetch-images): Don't prefetch images if
1603         gnus-inhibit-images is non-nil.
1604
1605 2010-11-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1606
1607         * shr.el (shr-put-image): Break lines when inserting big pictures.
1608
1609 2010-11-17  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
1610
1611         * mml2015.el (mml2015-epg-encrypt): Fix two cons with missing
1612         sender, thanks Katsumi Yamaoka.
1613
1614 2010-11-17  Andrew Cohen  <cohen@andy.bu.edu>
1615
1616         * nnir.el (nnir-run-imap): Reverse the article list for each group
1617         rather than the whole list.
1618
1619 2010-11-17  Katsumi Yamaoka  <yamaoka@jpl.org>
1620
1621         * shr.el (shr-image-displayer): Protect function against non-existent
1622         image source.
1623
1624         * gnus-art.el (gnus-inhibit-images): New user option.
1625         (gnus-mime-display-single): Don't display image if it is non-nil.
1626
1627         * mm-decode.el (mm-shr): Bind shr-inhibit-images to the value of
1628         gnus-inhibit-images.
1629
1630         * shr.el (shr-image-displayer): New function.
1631         (shr-tag-img): Use it.
1632
1633 2010-11-16  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
1634
1635         * mml2015.el (mml2015-epg-sign): Use From header.
1636
1637 2010-11-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1638
1639         * gnus-html.el (gnus-html-wash-images): Register a displayer.
1640
1641         * gnus-util.el (gnus-find-text-property-region): Return markers.
1642
1643         * shr.el (shr-tag-img): Put a displayer in the text property.
1644
1645         * gnus-util.el (gnus-find-text-property-region): New utility function.
1646
1647         * gnus-html.el (gnus-html-display-image): Make the alt optional.
1648         (gnus-html-show-images): Remove.
1649
1650         * gnus-art.el (gnus-article-show-images): New, more general function.
1651
1652         * gnus-html.el: Use image-url instead of gnus-image-url to unify the
1653         image url text properties.
1654
1655         * shr.el: Ditto.
1656
1657         * gnus-agent.el (gnus-agentize): Only do the auto-agentizing if
1658         gnus-agent-auto-agentize-methods is set.  Which it isn't.
1659
1660 2010-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1661
1662         * gnus-sum.el (gnus-summary-move-article): Fix `while' loop to make it
1663         work for two or more articles.
1664
1665 2010-11-12  Katsumi Yamaoka  <yamaoka@jpl.org>
1666
1667         * gnus-art.el (article-treat-non-ascii): Keep text properties not to
1668         divide an image that's in an html article to two or more when washing
1669         non-ASCII characters in alt text of it.
1670
1671 2010-11-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1672
1673         * mm-decode.el (mm-dissect-buffer): Pass sender's mail address to
1674         smime-decrypt-region using function argument.
1675         (mm-possibly-verify-or-decrypt, mm-dissect-multipart): Relay it.
1676
1677         * mm-view.el (mm-view-pkcs7, mm-view-pkcs7-decrypt): Relay it.
1678
1679         * smime.el (smime-decrypt-region): Catch it.
1680
1681 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1682
1683         * smime.el (smime-mode-map): Move initialization into declaration.
1684         (gnus-run-mode-hooks): Don't autoload.
1685         (smime-mode): Use define-derived-mode.
1686
1687 2010-11-11  Glenn Morris  <rgm@gnu.org>
1688
1689         * smime.el (from): Restrict declaration to XEmacs.
1690
1691         * nnir.el (gnus-group-topic-name): Autoload.
1692
1693 2010-11-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1694
1695         * shr.el (shr-insert): Don't break long line if it is because of
1696         kinsoku-bol characters in the line end.
1697
1698 2010-11-11  Andrew Cohen  <cohen@andy.bu.edu>
1699
1700         * nnir.el (nnir-request-move-article): Fix to provide original group
1701         and subject.
1702         (nnir-warp-to-article): Don't fail on articles whose headers haven't
1703         been retrieved.
1704
1705         * gnus-sum.el (gnus-summary-move-article): Use original group and
1706         subject for virtual articles such as those in an nnir summary buffer.
1707
1708 2010-11-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1709
1710         * gnus-art.el (article-treat-non-ascii): Make it work for XEmacs (at
1711         least 21.5).
1712
1713         * smime.el (from): Declare it again for XEmacs.
1714
1715 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1716
1717         * message.el (message-resend): Don't disable encoding unless it's
1718         already encoded.
1719
1720         * nnimap.el (nnimap-update-info): Fix problem with `g' chopping of
1721         low-numbered articles.
1722
1723 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1724
1725         * rfc2047.el (rfc2047-syntax-table): Simplify.
1726
1727         * lpath.el: Fbind set-char-table-range for XEmacs 21.4 and SXEmacs 22.1.
1728
1729         * gnus-art.el (article-treat-non-ascii): Use put-char-table instead of
1730         set-char-table-range for XEmacs.
1731
1732 2010-11-10  Glenn Morris  <rgm@gnu.org>
1733
1734         * time-date.el (time-to-seconds): Always an alias on Emacs,
1735         never a real function.
1736         (with-no-warnings): Remove compat stub, now unused.
1737         (time-less-p): Doc fix.
1738         (time-to-number-of-days): Simplify.
1739
1740         * smime.el (from): Remove unused declaration.
1741
1742         * gnus-util.el (with-no-warnings): Remove compat stub, now unused.
1743         (gnus-float-time): On Emacs, always an alias.
1744
1745         * ecomplete.el (with-no-warnings): Remove compat stub, now unused.
1746         (ecomplete-add-item): Use float-time on Emacs, else gnus-float-time.
1747
1748 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1749
1750         * dgnushack.el: Don't use ignore-errors in the top level form since it
1751         is unavailable in XEmacs even if cl is loaded.
1752
1753         * gnus-art.el (org-entities): Declare it to silence the byte compiler.
1754
1755 2010-11-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1756
1757         * shr.el (browse-url-mailto): Autoload.
1758
1759         * gnus-art.el (article-treat-non-ascii): New command and keystroke.
1760
1761         * message.el (message-subject-trailing-was-ask-regexp): A ] in a []
1762         regexp doesn't need quoting.
1763
1764 2010-11-09  Sven Joachim  <svenjoac@gmx.de>
1765
1766         * message.el (message-subject-trailing-was-ask-regexp)
1767         (message-subject-trailing-was-regexp): Match was: in addition to was.
1768
1769 2010-11-09  Glenn Morris  <rgm@gnu.org>
1770
1771         * nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
1772         (nnbabyl-check-mbox): Use point-at-bol.
1773
1774 2010-11-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1775
1776         * shr.el (shr-browse-url): Call browse-url-mailto for mailto: links.
1777
1778         * message.el (message-mailto): New function.
1779         (message-mailto): Should accept other parameters.
1780         (message-mailto): Remove since it duplicates browse-url-mailto
1781         functionality.
1782
1783 2010-11-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1784
1785         * gnus-start.el (gnus-get-unread-articles): Ignore totally non-existent
1786         methods.
1787         (gnus-read-active-file): Ditto.
1788
1789         * gnus-group.el (gnus-group-read-ephemeral-group): Remove superfluous
1790         ": " from the prompt.
1791         (gnus-group-make-group): Ditto.
1792
1793 2010-11-07  Glenn Morris  <rgm@gnu.org>
1794
1795         * gnus-bookmark.el (gnus-bookmark-bmenu-show-infos)
1796         (gnus-bookmark-kill-line): Use point-at-eol.
1797
1798 2010-11-07  Katsumi Yamaoka  <yamaoka@jpl.org>
1799
1800         * gnus-gravatar.el (gnus-gravatar-transform-address): No need to skip
1801         asterisks in From header.
1802
1803 2010-11-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1804
1805         * gnus-ems.el (gnus-put-image): Use a blank text as the insertion
1806         string to avoid making the From headers syntactically invalid.
1807
1808         * message.el (message-send-mail): Don't insert courtesy messages if the
1809         message already has List-Post and List-ID messages.
1810
1811 2010-11-06  Glenn Morris  <rgm@gnu.org>
1812
1813         * gnus-art.el (gnus-treat-article): Give dynamic local variables
1814         `condition', `type', `length' a prefix.
1815         (gnus-treat-predicate): Update for above name changes.
1816
1817 2010-11-06  Andrew Cohen  <cohen@andy.bu.edu>
1818
1819         * nnir.el (gnus-summary-nnir-goto-thread): Remove function and
1820         binding.  Handled by `gnus-summary-refer-thread' instead.
1821         (nnir-warp-to-article): New backend function.
1822
1823         * nnimap.el (nnimap-request-thread): Force dependency updating.
1824
1825         * gnus-sum.el (gnus-fetch-headers): Allow more arguments.
1826         (gnus-summary-refer-thread): Rework to improve thread-referral.
1827
1828         * gnus-int.el (gnus-warp-to-article): New function.
1829
1830         * gnus-sum.el (gnus-summary-article-map): Bind it.
1831
1832 2010-11-04  Andrew Cohen  <cohen@andy.bu.edu>
1833
1834         * nnir.el (gnus-summary-nnir-goto-thread): Limit work done by
1835         gnus-summary-refer-thread.
1836
1837         * gnus-sum.el (gnus-build-all-threads): Force updating of dependency
1838         headers.
1839         (gnus-summary-limit-include-thread): Prevent articles in thread from
1840         being cut in gnus-cut-threads.
1841         (gnus-summary-refer-thread): Limit retrieved headers to those in
1842         thread.
1843
1844 2010-11-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1845
1846         * message.el (message-send-mail): Use the value of
1847         message-courtesy-message from the message buffer.
1848
1849         * gnus-html.el (gnus-html-browse-url): Implement mailto: URLs.
1850
1851         * shr.el (shr-browse-url): Implement mailto: URLs.
1852
1853         * gnus-sum.el (gnus-summary-show-article): Take `t' as the arg to mean
1854         "raw".
1855
1856         * nnimap.el (nnimap-find-article-by-message-id): Don't EXAMINE a group
1857         if it's already selected.
1858
1859         * mm-decode.el (mm-save-part): Put the entire path in the `M-n' slot.
1860
1861 2010-11-04  Katsumi Yamaoka  <yamaoka@jpl.org>
1862
1863         * shr.el (shr-tag-img): Use string-width and truncate-string-to-width
1864         to measure the length and truncate alt text.
1865
1866 2010-11-03  Glenn Morris  <rgm@gnu.org>
1867
1868         * nndiary.el (nndiary-generate-nov-databases-1)
1869         (nndiary-generate-active-info): Rename dynamic variable `files' to
1870         something less generic.
1871
1872 2010-11-03  Andrew Cohen  <cohen@andy.bu.edu>
1873
1874         * nnir.el (nnir-request-move-article): Call the underlying backend to
1875         move articles from nnir.
1876
1877 2010-11-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1878
1879         * gnus-cite.el (gnus-article-natural-long-line-p): Remove.
1880
1881 2010-11-02  Julien Danjou  <julien@danjou.info>
1882
1883         * nnir.el: Remove wais support.
1884
1885 2010-11-02  Glenn Morris  <rgm@gnu.org>
1886
1887         * gnus-html.el: Reorder requirements to quieten compiler.
1888
1889 2010-11-02  Katsumi Yamaoka  <yamaoka@jpl.org>
1890
1891         * gnus-cite.el (gnus-article-fill-cited-article): Make fill work
1892         properly for XEmacs as well.
1893         (gnus-article-fill-cited-article, gnus-article-foldable-buffer)
1894         (gnus-article-natural-long-line-p): Use window-width rather than
1895         frame-width.
1896
1897 2010-11-01  Andrew Cohen  <cohen@andy.bu.edu>
1898
1899         * nnir.el (nnir-run-gmane): Inhibit demon.  Return nil if no messages.
1900         (nnir-read-parms): Don't modify query.
1901         (nnir-run-query): Add ability to search topic on current line.
1902         (nnir-get-active): Clean up.
1903
1904 2010-11-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1905
1906         * gnus-cite.el (gnus-article-foldable-buffer): Protect against
1907         degenerate articles.
1908
1909         * gnus-sum.el (gnus-print-buffer): Rewrite to use with-temp-buffer.
1910         (gnus-print-buffer): Just print the buffer as is, without any copying
1911         to a buffer and then re-highlighting.
1912
1913         * nnimap.el (nnimap-request-group): Store the new updated info.
1914         (nnimap-request-group): Select the group when we don't know whether it
1915         exists or not.
1916
1917         * gnus-start.el (gnus-ask-server-for-new-groups): Return the new
1918         groups.
1919
1920         * gnus-group.el (gnus-group-find-new-groups): Display all the new
1921         groups.
1922
1923         * gnus-start.el (gnus-find-new-newsgroups): Return the list of new
1924         groups.
1925
1926         * gnus-cite.el (gnus-article-fill-cited-article): Minimize the
1927         long-lines case by only filling the long lines.
1928
1929         * nnimap.el (nnimap-parse-line): Don't bug out oddly formed replies
1930         (bug #7311).
1931
1932 2010-11-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1933
1934         * shr.el: No need to declare `declare-function' since shr.el is for
1935         only Emacsen that provide `libxml-parse-html-region'.
1936
1937         * dgnushack.el: Remove `(defvar iswitchb-temp-buflist)', that is
1938         effective only in a file it is referred to.
1939
1940 2010-11-01  Glenn Morris  <rgm@gnu.org>
1941
1942         * mm-util.el (gnus-completing-read): Autoload.
1943         (mm-read-coding-system): Simplify Emacs definition.
1944
1945         * nnmail.el (gnus-activate-group):
1946         * nnimap.el (gnutls-negotiate):
1947         * nntp.el (netrc-parse): Fix declarations.
1948
1949 2010-11-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1950
1951         * gnus-util.el (gnus-string-match-p): New function, that is an alias to
1952         string-match-p in Emacs >=23.
1953
1954         * gnus-msg.el (gnus-configure-posting-styles)
1955         * nnir.el (nnir-run-gmane): Use gnus-string-match-p.
1956
1957 2010-11-01  Glenn Morris  <rgm@gnu.org>
1958
1959         * nnir.el (declare-function): Add compat stub.
1960         (mm-url-insert, mm-url-encode-www-form-urlencoded): Declare.
1961         (nnir-run-gmane): Require 'mm-url.
1962
1963         * mm-util.el (mm-string-to-multibyte): Simplify.
1964
1965         * shr.el (declare-function): Add compat stub.
1966         (url-cache-create-filename): Declare.
1967         (mm-disable-multibyte, widget-convert-button): Autoload.
1968
1969         * smime.el (ldap-search): Declare.
1970         (smime-cert-by-ldap-1): Require ldap on Emacs.
1971
1972         * nnimap.el: Require nnmail, and gnus-sum when compiling.
1973         (nnimap-keepalive): Use gnus-float-time.
1974
1975         * mail-source.el (nnheader-message, gnus-float-time): Autoload.
1976         (mail-source-delete-crash-box): Use gnus-float-time.
1977
1978         * gnus-dired.el (gnus-completing-read): Autoload.
1979
1980         * mm-view.el (gnus-rescale-image): Autoload.
1981
1982         * mm-decode.el (gnus-completing-read, gnus-blocked-images): Autoload.
1983
1984         * gnus.el (gnus-sloppily-equal-method-parameters): Move defn before use.
1985
1986         * sieve-manage.el: Require 'cl when compiling.
1987
1988         * gnus-util.el (iswitchb-read-buffer): Declare rather than autoload.
1989         (gnus-iswitchb-completing-read): Require iswitchb.
1990         (gnus-select-frame-set-input-focus): Silence compiler.
1991
1992 2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1993
1994         * message.el (message-subject-trailing-was-query): Change default to t,
1995         since I think that's what most people want.
1996
1997         * nnimap.el (nnimap-request-accept-article): Erase buffer before
1998         appending for easier debugging.
1999         (nnimap-wait-for-connection): Take a regexp.
2000         (nnimap-request-accept-article): Wait for the continuation line before
2001         sending anything unless we're streaming.
2002
2003         * gnus-art.el (gnus-treat-article): Only inhibit body washing, and
2004         leave the header washing to take place.
2005
2006 2010-10-31  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>
2007
2008         * gnus-msg.el (gnus-configure-posting-styles): Permit the use of
2009         regular expression match and replace in posting styles.
2010
2011 2010-10-31  Andrew Cohen  <cohen@andy.bu.edu>
2012
2013         * nnir.el (gnus-group-make-nnir-group,nnir-run-query): Allow searching
2014         an entire server.
2015         (nnir-get-active): New function.
2016         (nnir-run-imap): Use it.
2017         (nnir-run-gmane): Who knew, gmane search returns an article score!
2018
2019         * gnus-srvr.el (gnus-server-mode-map): Add binding "G" to search the
2020         server on the current line with nnir.
2021
2022 2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2023
2024         * gnus-cite.el (gnus-article-foldable-buffer): Refactor out.
2025         (gnus-article-foldable-buffer): Don't fold regions that have a ragged
2026         left edge.
2027         (gnus-article-foldable-buffer): Skip past the prefix when determining
2028         raggedness.
2029
2030         * gnus-sum.el (gnus-summary-show-article): Add `C-u C-u g' for showing
2031         the raw article, and change `C-u g' to show the article without doing
2032         treatments.
2033
2034         * gnus-art.el (gnus-mime-display-alternative): Actually pass the type
2035         on to `gnus-treat-article'.
2036         (gnus-inhibit-article-treatments): New variable.
2037
2038         * gnus.el: Autoload gnus-article-fill-cited-long-lines.
2039
2040         * gnus-art.el (gnus-treatment-function-alist): Have
2041         gnus-treat-fill-long-lines point to gnus-article-fill-cited-long-lines.
2042         (gnus-treat-fill-long-lines): Change default to fill all text/plain
2043         sections.
2044
2045         * gnus-cite.el (gnus-article-fill-cited-article): Remove unused `force'
2046         parameter.
2047         (gnus-article-fill-cited-long-lines): New function.
2048         (gnus-article-fill-cited-article): Allow filling only long sections.
2049
2050         * shr.el (shr-find-fill-point): Don't break lines between punctuation
2051         and non-punctuation (like after the apostrophe in "'We").
2052
2053         * gnus-sum.el (gnus-summary-select-article): Make sure
2054         gnus-original-article-buffer is alive.
2055
2056         * nndoc.el (nndoc-dissect-buffer): Reverse the order of the articles to
2057         reflect the order they're in in the digest.
2058
2059         * gnus.el (gnus-group-startup-message): Move point to the start of the
2060         buffer.
2061
2062         * nnimap.el (nnimap-capability): New function.
2063         (nnimap-open-connection): Only send AUTHENTICATE PLAIN if LOGINDISABLED
2064         is set.
2065
2066 2010-10-31  David Engster  <dengste@eml.cc>
2067
2068         * nnmairix.el (nnmairix-get-valid-servers): Return list of strings to
2069         conform with changes to gnus-completing-read.
2070
2071 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2072
2073         * shr.el (shr-tag-img): Output "*" instead of "[img]".
2074
2075 2010-10-30  Andrew Cohen  <cohen@andy.bu.edu>
2076
2077         * nnir.el: Move defvar, defcustom around to keep file organized
2078         and keep byte-compiler quiet.
2079         (nnir-read-parms): Accept search-engine as arg.
2080         (nnir-run-query): Pass search-engine as arg.
2081         (nnir-search-engine): Remove.
2082
2083 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2084
2085         * shr.el (shr-generic): The text nodes should be text, not :text.
2086
2087         * nnir.el (nnir-search-engine): Ressurect variable, since it's used
2088         later in the file.
2089
2090 2010-10-30  Andrew Cohen  <cohen@andy.bu.edu>
2091
2092         * nnir.el: General clean up.  Allow searching with multiple engines.
2093         Allow separate extra-parameters for each engine.
2094         Batch queries when possible.
2095         (nnir-imap-default-search-key,nnir-method-default-engines):
2096         Add customize interface.
2097         (nnir-run-gmane): New engine.
2098         (nnir-engines): Use it.  Qualify all prompts with engine name.
2099         (nnir-search-engine): Remove global variable.
2100         (nnir-run-hyrex): Restore for now.
2101         (nnir-extra-parms,nnir-search-history): New variables.
2102         (gnus-group-make-nnir-group): Use them.
2103         (nnir-group-server): Remove in favor of gnus-group-server.
2104         (nnir-request-group): Avoid searching twice.
2105         (nnir-sort-groups-by-server): New function.
2106
2107 2010-10-30  Julien Danjou  <julien@danjou.info>
2108
2109         * gnus-group.el: Remove gnus-group-fetch-control.
2110
2111         * gnus-start.el (gnus-find-new-newsgroups):
2112         Remove gnus-check-first-time-used.
2113
2114         * gnus.el: Remove gnus-backup-default-subscribed-newsgroups.
2115
2116 2010-10-30  Knut Anders Hatlen  <kahatlen@gmail.com>  (tiny change)
2117
2118         * nnimap.el (nnimap-update-info): Allow 'ticked and other flags to be
2119         set on groups that don't have \* permanentflags.
2120
2121 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2122
2123         * shr.el (shr-tag-span): Drop colorisation of regions since we don't
2124         control the background color.
2125         (shr-tag-img): Ignore very small web bug type images.
2126         (shr-put-image): Add help-echo alt texts to the images.
2127         (shr-tag-video): Show the video poster image.
2128
2129 2010-10-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2130
2131         * shr.el (shr-table-depth): New variable.
2132         (shr-tag-table-1): Only insert the images after the top-level table.
2133
2134         * nnimap.el (nnimap-split-incoming-mail): Fix typo.
2135
2136         * gnus-util.el (gnus-list-memq-of-list): New function.
2137
2138         * nnimap.el (nnimap-split-incoming-mail): Note that the INBOX has been
2139         selected.
2140         (nnimap-unsplittable-articles): New slot.
2141         (nnimap-new-articles): Use it.
2142
2143 2010-10-29  Stephen Berman  <stephen.berman@gmx.net>  (tiny change)
2144
2145         * gnus-group.el (gnus-group-get-new-news-this-group): Don't have point
2146         move to the previous line on `M-g'.
2147
2148 2010-10-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2149
2150         * gnus-msg.el (gnus-inews-do-gcc): Don't have the backends do the slow
2151         *-request-group, which seems unnecessary.
2152
2153         * nnimap.el (nnimap-quote-specials): Function copied over from
2154         imap.el.
2155         (nnimap-open-connection): Use AUTHENTICATE PLAIN on servers that say
2156         they support that.  Suggested by Tom Regner.
2157
2158 2010-10-29  Julien Danjou  <julien@danjou.info>
2159
2160         * gnus-sum.el (gnus-summary-delete-marked-as-read): Remove obsolete
2161         defalias.
2162         (gnus-summary-delete-marked-with): Remove obsolete defalias.
2163
2164         * gnus.el: Remove `gnus-nntp-service' variable.
2165         (gnus-secondary-servers): Make obsolete.
2166         (gnus-nntp-server): Make obsolete.
2167
2168         * gnus-start.el (gnus-1): Remove x-splash calls.
2169
2170         * gnus-ems.el (gnus-x-splash): Remove.
2171
2172         * gnus.el (gnus-group-startup-message): Simplify/update code.
2173
2174         * gnus-xmas.el (gnus-xmas-define): Remove unused gnus-characterp
2175         definition.
2176
2177         * gnus-group.el (gnus-group-make-tool-bar): Check for display graphic
2178         capability before doing anything.
2179         (gnus-group-insert-group-line): Remove useless
2180         gnus-group-remove-excess-properties.
2181
2182 2010-10-29  Katsumi Yamaoka  <yamaoka@jpl.org>
2183
2184         * gnus-art.el (gnus-article-goto-part): Work for article narrowed by ^L.
2185
2186 2010-10-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2187
2188         * gnus-sum.el (gnus-summary-rescan-group): Try to restore the window
2189         config after reselecting.
2190
2191 2010-10-28  Julien Danjou  <julien@danjou.info>
2192
2193         * shr.el (shr-put-image): Use point even if only inserting text.
2194         (shr-put-image): Save excursion when inserting alt text on non-graphic
2195         display, so the behaviour is the same when we are on a graphic display.
2196
2197         * nnir.el (nnir-run-swish-e): Remove hyrex support.
2198
2199 2010-10-28  Katsumi Yamaoka  <yamaoka@jpl.org>
2200
2201         * gnus-art.el (gnus-article-jump-to-part): Error on no part; fix prompt.
2202         (gnus-mime-copy-part): Check coding system, not charset.
2203         (gnus-mime-view-part-externally): Never remove part.
2204         (gnus-mime-view-part-internally): Don't remove part here.
2205         (gnus-article-part-wrapper): Make sure MIME tag is visible.
2206         (gnus-article-goto-part): Go to displayed or preferred subpart if it is
2207         multipart/alternative.
2208
2209         * mm-decode.el (mm-display-part): Take optional arg `force'.
2210
2211 2010-10-26  Julien Danjou  <julien@danjou.info>
2212
2213         * gnus-group.el (gnus-group-default-list-level): Add this function to
2214         compute the default list level.
2215         (gnus-group-default-list-level): Add possibility to use a function.
2216
2217 2010-10-27  Katsumi Yamaoka  <yamaoka@jpl.org>
2218
2219         * mm-decode.el (mm-shr): Add undisplayer to MIME handle.
2220
2221         * gnus-group.el (gnus-group-completing-read)
2222         (gnus-read-ephemeral-bug-group): Replace replace-regexp-in-string with
2223         gnus-replace-in-string.
2224
2225 2010-10-26  Katsumi Yamaoka  <yamaoka@jpl.org>
2226
2227         * shr.el (shr-tag-div): Add.
2228
2229         * lpath.el: Fbind current-idle-time for XEmacs 21.4 and SXEmacs 22.1.
2230
2231 2010-10-25  Julien Danjou  <julien@danjou.info>
2232
2233         * gnus-util.el: Remove `gnus-with-local-quit'.
2234
2235         * gnus-demon.el (gnus-demon-init): Use run-with-idle-timer function.
2236
2237 2010-10-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2238
2239         * gnus-sum.el (gnus-summary-select-article): Fix type error in checking
2240         the original article buffer.
2241
2242 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2243
2244         * nnimap.el (nnimap-request-head): New function.
2245         (nnimap-request-move-article): Try to be slighly faster by not
2246         requesting the entire message when moving.
2247         (nnimap-transform-headers): Don't bug out on bodiless articles.
2248         (nnimap-send-command): Have no outstanding messages if the IMAP server
2249         doesn't support streaming.
2250         (nnimap-transform-headers): Fold {quoted} strings more sloppily.
2251
2252 2010-10-24  Julien Danjou  <julien@danjou.info>
2253
2254         * message.el (message-default-headers): Fix type.
2255
2256 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2257
2258         * gnus-html.el (gnus-html-prefetch-images): Decode entities before
2259         prefetching images.
2260
2261         * gnus-sum.el (gnus-group-make-articles-read): Propagate marks to the
2262         backend for unknown groups.  This is mainly useful for nnimap groups.
2263
2264         * gnus-agent.el (gnus-agent-fetch-group): Don't download stuff if the
2265         group isn't covered by the agent.
2266
2267 2010-10-22  Andrew Cohen  <cohen@andy.bu.edu>
2268
2269         * nnir.el (nnir-method-default-engines): New variable.
2270         (nnir-run-query): Use it.
2271         (nnir-group-mode-hook): Remove key binding and move to gnus-group.el.
2272         (gnus-summary-nnir-goto-thread): Change group if needed.
2273
2274         * gnus-group.el (gnus-group-group-map): Add key binding for
2275         gnus-group-make-nnir-group.
2276
2277 2010-10-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2278
2279         * shr.el (shr-tag-object): Add.
2280
2281         * gnus-sum.el (gnus-summary-select-article): Make sure we have the
2282         original article buffer live.
2283         (gnus-summary-select-article-buffer):
2284         Mention gnus-widen-article-buffer.
2285
2286 2010-10-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2287
2288         * shr.el (shr-tag-strong): Add.
2289
2290 2010-10-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2291
2292         * gnus-group.el (gnus-group-completing-read): Remove all newlines from
2293         group names.  They mess up the group buffer badly.
2294
2295         * shr.el (shr-tag-img): Don't bug out on images that don't have a SRC.
2296
2297         * gnus-group.el (gnus-group-mark-group): Use gnus-group-position-point
2298         instead of the summary one.
2299
2300 2010-10-22  Katsumi Yamaoka  <yamaoka@jpl.org>
2301
2302         * mml.el (mml-preview): Work properly when editing article.
2303
2304         * gnus-start.el (gnus-read-active-file-1): Don't add method to
2305         gnus-have-read-active-file if it's already been in.
2306
2307 2010-10-22  Tom Tromey  <tromey@redhat.com>
2308
2309         * gnus-group.el (gnus-group-unsubscribe-group): Fix args passed to
2310         gnus-group-completing-read.
2311
2312 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2313
2314         * message.el (message-mode-map): Don't bind M-; to comment region, to
2315         allow the global comment-dwim to work.
2316
2317 2010-10-21  Julien Danjou  <julien@danjou.info>
2318
2319         * message.el (message-setup-1): Allow message-default-headers to be a
2320         function.
2321
2322 2010-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
2323
2324         * shr.el (shr-tag-table): Simplify.
2325
2326 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2327
2328         * gnus-html.el (gnus-html-prefetch-images): Only prefetch http images
2329         to avoid trying to snarf invalid stuff.
2330
2331         * gnus-sum.el (gnus-summary-edit-article-done): Bind free variable.
2332
2333         * gnus.el (gnus-message-archive-group): Quote value.
2334         (gnus-message-archive-group): Mark as changed.
2335
2336         * shr.el (shr-add-font): Don't put the font properties on the newline
2337         or the indentation.
2338
2339         * message.el (message-fix-before-sending): Change options when sending
2340         non-printable characters.
2341
2342         * gnus.el (gnus-message-archive-method): Change the default to
2343         monthly outgoing groups.
2344
2345         * gnus-sum.el (gnus-summary-edit-article-done): Try to replace articles
2346         that have gotten new numbers.
2347
2348         * nnimap.el (nnimap-request-replace-article): New function.
2349
2350 2010-10-21  Katsumi Yamaoka  <yamaoka@jpl.org>
2351
2352         * nnrss.el (nnrss-wash-html-in-text-plain-parts): Remove.
2353         (nnrss-request-article): Don't use special html washing code.
2354
2355 2010-10-20  Katsumi Yamaoka  <yamaoka@jpl.org>
2356
2357         * shr.el (shr-tag-table): Remove useless nconc.
2358
2359 2010-10-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2360
2361         * gnus-art.el (article-wash-html): Simplify and remove the charset
2362         stuff.  Use the normal html rendering code instead of the special html
2363         washing code.
2364
2365         * mm-view.el (mm-text-html-renderer-alist): Add the `shr' and
2366         `gnus-w3m' symbols.
2367         (mm-text-html-washer-alist): Remove.
2368
2369         * mm-decode.el (mm-inline-text-html-renderer): Remove.
2370         (mm-inline-media-tests): Remove use.
2371         (mm-text-html-renderer): Change default to the `shr' symbol.
2372
2373         * mm-view.el (mm-inline-text-html): Remove use.
2374
2375         * gnus-art.el (gnus-blocked-images): New function.  Allow the
2376         `gnus-blocked-images' to be a function.
2377         (gnus-article-wash-function): Remove.
2378
2379 2010-10-20  Julien Danjou  <julien@danjou.info>
2380
2381         * spam.el (spam-list-of-processors): Mark as obsolete.
2382
2383         * nnimap.el (nnimap-request-article): Fix BODYSTRUCTURE retrieval.
2384         (nnimap-insert-partial-structure): Fix boundary detection.
2385
2386 2010-10-20  Andreas Seltenreich  <seltenreich@gmx.de>
2387
2388         * gnus-draft.el (gnus-draft-check-draft-articles): Don't unnecessarily
2389         run file-truename on remote files.  This can be expensive and even
2390         prevent one from editing drafts if some unrelated buffer has a stale
2391         connection.
2392
2393 2010-10-20  Katsumi Yamaoka  <yamaoka@jpl.org>
2394
2395         * shr.el (shr-find-fill-point): Shorten line if the preceding char is
2396         kinsoku-eol regardless of shr-kinsoku-shorten.
2397         (shr-tag-table-1): Rename from shr-tag-table; make it a subroutine.
2398         (shr-tag-table): Support caption, thead, and tfoot.
2399
2400 2010-10-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2401
2402         * shr.el (shr-find-fill-point): Don't leave blanks at the start of some
2403         lines.
2404         (shr-save-contents): New command and keystroke.
2405
2406         * nndoc.el (nndoc-type-alist): Add git support.
2407         (nndoc-git-type-p): New function.
2408         (nndoc-transform-git-article): Ditto.
2409         (nndoc-transform-git-headers): Ditto.
2410         (nndoc-transform-git-headers): Generate Subject headers.
2411
2412         * shr.el (shr-parse-style): New function.
2413         (shr-tag-span): Ditto.
2414
2415         * nnmairix.el (nnmairix-summary-mode-hook): Move nnmairix's `$' command
2416         to `G G' to avoid collisions.
2417
2418 2010-10-19  Katsumi Yamaoka  <yamaoka@jpl.org>
2419
2420         * shr.el: Load kinsoku if necessary.
2421         (shr-kinsoku-shorten): New internal variable.
2422         (shr-find-fill-point): Make kinsoku shorten text line if
2423         shr-kinsoku-shorten is bound to non-nil.
2424         (shr-tag-table): Bild shr-kinsoku-shorten to t; refer to
2425         shr-indentation too when testing if table is wider than frame width.
2426         (shr-insert-table): Use `string-width' instead of `length' to measure
2427         text width.
2428         (shr-insert-table-ruler): Make sure indentation is done at bol.
2429
2430 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2431
2432         * nnimap.el (nnimap-request-move-article, nnimap-parse-line)
2433         (nnimap-process-expiry-targets): Use unibyte for buffers that hold
2434         undecoded network data.
2435
2436 2010-10-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2437
2438         * gnus-agent.el (gnus-agent-toggle-plugged): Use the right minor mode
2439         name in the mode line spec so that the mode line menu works
2440         (bug #2431).
2441
2442         * message.el (message-get-reply-headers): If we're fed `to-address',
2443         then always use that.
2444
2445         * gnus-art.el (gnus-article-make-menu-bar): The article/group menus
2446         aren't so wide as to need to switch off the edit menu.
2447
2448         * gnus-delay.el (gnus-delay-article): Remove superfluous `group'
2449         binding.  Suggested by Leo <sdl.web@gmail.com> (bug #6613).
2450
2451         * nnimap.el (nnimap-request-group): Don't SELECT the group twice on
2452         `M-g'.
2453         (nnimap-update-info): Update flags/read marks even if \* isn't part of
2454         the permanent marks.
2455
2456 2010-10-18  Andrew Cohen  <cohen@andy.bu.edu>
2457
2458         * gnus-registry.el (gnus-registry-split-fancy-with-parent):
2459         Splitting according to references/in-reply-to obeys the ignore-groups
2460         variable, while splitting by sender and subject do not.
2461
2462 2010-10-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2463
2464         * gnus-art.el (gnus-article-dumbquotes-map): Make into a char/string
2465         alist, so that we can look for non-Unicode chars.
2466         (article-translate-strings): Allow both character and string maps.
2467
2468 2010-10-18  Katsumi Yamaoka  <yamaoka@jpl.org>
2469
2470         * shr.el (shr-insert): Don't insert space behind a wide character
2471         categorized as kinsoku-bol, or between characters both categorized as
2472         nospace.
2473
2474 2010-10-16  Andrew Cohen  <cohen@andy.bu.edu>
2475
2476         * gnus-sum.el (gnus-summary-refer-thread): Bug fix.  Add the thread
2477         headers to gnus-newsgroup-headers.
2478
2479 2010-10-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2480
2481         * shr.el (shr-tag-img): Don't align images -- since we're not
2482         rescaling, this often leads to ugly displays.
2483
2484 2010-10-15  Andrew Cohen  <cohen@andy.bu.edu>
2485
2486         * gnus-sum.el (gnus-summary-refer-thread): Unconditionally ignore
2487         duplicates.
2488
2489 2010-10-15  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
2490
2491         * gnus-diary.el (gnus-diary-check-message): Fix gnus-completing-read
2492         call.
2493
2494 2010-10-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2495
2496         * gnus.el: Autoload gnus-html-show-images.
2497
2498         * nnimap.el: Use nnheader-message throughout.
2499
2500         * shr.el (shr-tag-img): Ignore images with no data.
2501
2502 2010-10-15  Julien Danjou  <julien@danjou.info>
2503
2504         * mml.el (mml-generate-mime-1): Add `mml-enable-flowed' variable to add
2505         a possibility to disable format=flow encoding when using hard newlines.
2506
2507 2010-10-15  Katsumi Yamaoka  <yamaoka@jpl.org>
2508
2509         * shr.el (shr-insert): Remove space inserted before or after a
2510         breakable character or at the beginning or the end of a line.
2511         (shr-find-fill-point): Do kinsoku; find the second best point or give
2512         it up if there's no breakable point.
2513
2514 2010-10-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2515
2516         * nnimap.el (nnimap-open-connection): Message when opening connection
2517         for debugging purposes.
2518
2519         * gnus-art.el (gnus-article-setup-buffer): Set article mode truncation
2520         on every setup buffer call to allow this to change from article to
2521         article.
2522
2523         * shr.el (shr-tag-table): Experimental feature: Truncate lines in
2524         buffers where we have a wide table.
2525
2526 2010-10-14  Andrew Cohen  <cohen@andy.bu.edu>
2527
2528         * gnus-sum.el (gnus-summary-refer-thread): Implement a version that
2529         uses *-request-thread.
2530
2531 2010-10-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2532
2533         * nnimap.el (nnimap-open-connection): Remove %s from openssl
2534         incantation, which is no longer valid.
2535
2536 2010-10-14  Julien Danjou  <julien@danjou.info>
2537
2538         * shr.el: Fix defcustom type (char -> character).
2539
2540 2010-10-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2541
2542         * nnimap.el (nnimap-open-connection): tls-program should be a list of
2543         programs.
2544
2545 2010-10-14  Julien Danjou  <julien@danjou.info>
2546
2547         * shr.el (shr-tag-a): Use url-link as widget type.
2548
2549         * gnus-group.el (gnus-group-insert-group-line): Fix group argument to
2550         `gnus-group-get-icon'.
2551
2552 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2553
2554         * nnimap.el (nnimap-close-server): Forget the nnimap data on close.
2555         This should make server editing work better.
2556
2557         * shr.el (shr-find-fill-point): Don't inloop on indented text.
2558
2559         * tls.el (tls-program): Remove spurious %s from openssl.
2560
2561         * nnimap.el (nnimap-open-connection): Fix open-tls-stream call.
2562         (nnimap-parse-flags): Fix regexp.
2563
2564         * shr.el (shr-find-fill-point): Use a filling algorithm that should
2565         probably work for CJVK text, too.
2566
2567         * nnimap.el (nnimap-extend-tls-programs): Remove.
2568         (nnimap-open-connection): Bind STARTTLS to openssl explicitly.
2569
2570         * tls.el (tls-starttls-switches): Remove starttls hack.
2571         (open-tls-stream): Ditto.
2572         (tls-find-starttls-argument): Ditto.
2573
2574 2010-10-13  Julien Danjou  <julien@danjou.info>
2575
2576         * nnimap.el (nnimap-parse-flags): Be more strict when looking for FETCH
2577         responses.
2578
2579 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2580
2581         * mm-decode.el (mm-shr): Allow use from non-Gnus users.
2582
2583         * gnus-spec.el (gnus-parse-simple-format): princ doesn't really insert
2584         anything in Emacs.
2585
2586         * shr.el (shr-current-column): Remove buggy and unnecessary function.
2587
2588 2010-10-13  Julien Danjou  <julien@danjou.info>
2589
2590         * shr.el (shr-width): Make shr-width a defcustom with default to
2591         fill-column.
2592         (shr-tag-img): Use shr-width rather than fill-column.
2593
2594 2010-10-13  Katsumi Yamaoka  <yamaoka@jpl.org>
2595
2596         * dgnushack.el (byte-optimize-apply)
2597         * gnus-dired.el (gnus-dired-attach): Silence XEmacs 21.5 when compiling.
2598
2599         * gnus-gravatar.el (gnus-gravatar-transform-address): Adjust avatars'
2600         position when (X-)Faces exist.
2601         (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Force displaying
2602         avatars when called interactively.
2603
2604 2010-10-12  Katsumi Yamaoka  <yamaoka@jpl.org>
2605
2606         * gnus-gravatar.el (gnus-gravatar-too-ugly): Don't test if
2607         gnus-article-x-face-too-ugly is bound.
2608
2609 2010-10-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2610
2611         * rfc2231.el (rfc2231-parse-string): Ignore repeated parts.
2612
2613         * nnimap.el (nnimap-request-rename-group): Unselect by selecting a
2614         mailbox that doesn't exist.
2615
2616 2010-10-12  Julien Danjou  <julien@danjou.info>
2617
2618         * shr.el (shr-tag-img): Encode URL properly when retrieving.
2619         (shr-get-image-data): Encode URL properly when fetching from cache.
2620         (shr-tag-img): Use aligned-to spaces to align correctly images.
2621
2622         * gnus-gravatar.el (gnus-gravatar-insert): Check if buffer is alive
2623         before inserting the Gravatar.
2624
2625         * shr.el (shr-tag-img): Add align attribute support for <img>.
2626
2627 2010-10-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2628
2629         * gnus-gravatar.el (gnus-art): Require.
2630
2631         * gnus-sum.el (gnus-summary-mark-as-unread-forward)
2632         (gnus-summary-mark-as-unread-backward, gnus-summary-mark-as-unread):
2633         Remove long obsoleted functions.
2634
2635 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
2636
2637         * lpath.el: Fbind gnutls-negotiate for Emacs 22 and XEmacsen.
2638
2639         * nnimap.el (gnutls-negotiate): Silence the byte compiler.
2640
2641         * gnus-art.el, gnus-cache.el, gnus-fun.el, gnus-group.el:
2642         * gnus-picon.el, gnus-spec.el, gnus-sum.el, gnus-util.el, gnus.el:
2643         * hashcash.el, imap.el, mail-source.el, message.el, mm-bodies.el:
2644         * mm-decode.el, mm-extern.el, mm-util.el, mm-view.el, mml-smime.el:
2645         * mml.el, mml1991.el, mml2015.el, nnfolder.el, nnheader.el, nnmail.el:
2646         * nnmaildir.el, nnrss.el, nntp.el, pgg-parse.el, pgg.el, rfc1843.el:
2647         * sieve-manage.el, smime.el, spam.el:
2648         Fix comment for declare-function.
2649
2650 2010-10-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2651
2652         * nnimap.el (nnimap-request-rename-group): Select group read-only
2653         before renaming it.
2654
2655         * shr.el (shr-insert): Fix up the white space only regexp.
2656
2657         * nnimap.el (nnimap-transform-split-mail): Not all articles have
2658         bodies.  Protect against this.  Reported by Michael Welsh Duggan.
2659
2660         * shr.el (shr-current-column): New function.
2661         (shr-find-fill-point): New function.
2662
2663 2010-10-11  Michael Welsh Duggan  <md5i@md5i.com>  (tiny change)
2664
2665         * sieve-manage.el (sieve-manage-open): Allow port names as well as port
2666         numbers.
2667
2668 2010-10-11  Julien Danjou  <julien@danjou.info>
2669
2670         * shr.el (shr-hr-line): Add.
2671         (shr-tag-hr): Use shr-hr-line to specify which character to use to
2672         display hr lines.
2673         (shr-max-columns): Do not change state to nil if we just inserting
2674         spaces.
2675
2676 2010-10-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2677
2678         * gnus-topic.el (gnus-topic-read-group): If after the last group,
2679         select the last group.
2680
2681 2010-10-11  Teodor Zlatanov  <tzz@lifelogs.com>
2682
2683         * gnus-int.el (gnus-run-hook-with-args): Autoload from gnus-util.el.
2684
2685 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
2686
2687         * dig.el (dig-mode-map): Declare and define in one step.
2688
2689 2010-10-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2690
2691         * nnimap.el (nnimap-update-qresync-info): \Flagged messages are read
2692         for Gnus.
2693         (nnimap-retrieve-group-data-early): utf7-encode the group parameters.
2694         (nnimap-update-qresync-info): Mark \Seen articles as read.
2695
2696         * gnus-sum.el (gnus-summary-set-local-parameters): Ignore the `active'
2697         non-variable, too.
2698
2699         * nnimap.el (nnimap-open-connection): Use gnutls STARTTLS, if
2700         available.
2701         (nnimap-update-info): Rely more on the current active than the param
2702         active to avoid marking articles as read too much.
2703
2704         * auth-source.el (auth-source-create): Use (user-login-name) for the
2705         user name default.
2706
2707         * nnimap.el (nnimap-update-info): If the server doesn't return any
2708         useful info, just use the previous info.
2709         (nnimap-update-info): Prefer old info over start-article.
2710         (nnimap-update-qresync-info): Finish implementing QRESYNC.
2711
2712 2010-10-10  Andrew Cohen  <cohen@andy.bu.edu>
2713
2714         * nnir.el (autoload): Clean up autoloads.
2715         (nnir-imap-default-search-key): Rename from nnir-imap-search-field.
2716         Use key rather than value.
2717         (nnir-imap-search-other): New variable.
2718         (nnir-read-parm): Use it.
2719         (nnir-imap-expr-to-imap): Use %S rather than imap-quote-specials.
2720         (gnus-summary-nnir-goto-thread): Modify to work with imap.
2721
2722 2010-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2723
2724         * nnimap.el (nnimap-wait-for-response): If the user hits `C-g', kill
2725         the process, too.
2726
2727 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2728
2729         * spam.el (gnus-summary-mode-map): Bind to "$".
2730         Suggested by Russ Allbery.
2731
2732         * shr.el: Rework the way things are indented by <li> slightly.
2733
2734         * gnus.el (gnus-group-set-parameter): Fix typo.
2735
2736         * nnimap.el: Start implementing QRESYNC support.
2737
2738 2010-10-09  Julien Danjou  <julien@danjou.info>
2739
2740         * nnir.el (nnir-engines): Fix too many arguments.
2741
2742 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2743
2744         * nnmail.el (nnmail-expiry-target-group): Say that every expiry target
2745         group is the "last", so that the backends like nnfolder actually save
2746         their folders.
2747
2748         * nnimap.el (nnimap-open-connection): If we have gnutls loaded, then
2749         try to use that for the tls stream.
2750         (nnimap-retrieve-group-data-early): Rework the marks code to heed
2751         UIDVALIDITY and find out which groups are read-only and not.
2752         (nnimap-get-flags): Use the same marks parsing code as the rest of
2753         nnimap.
2754
2755 2010-10-09  Julien Danjou  <julien@danjou.info>
2756
2757         * nnir.el (nnir-read-parm): Fix call to gnus-completing-read.
2758
2759         * gnus-gravatar.el (gnus-gravatar-transform-address): Error errors when
2760         retrieving gravatars.
2761
2762         * shr.el (shr-table-corner): Add.
2763         (shr-table-line): Add.
2764         (shr-insert-table-ruler): Use the above defcustoms to insert tables.
2765
2766 2010-10-08  Julien Danjou  <julien@danjou.info>
2767
2768         * mm-decode.el (mm-text-html-renderer): Add mm-shr in choice list.
2769
2770 2010-10-08  Teodor Zlatanov  <tzz@lifelogs.com>
2771
2772         * gnus-util.el (gnus-alist-pull): Rename `gnus-pull'.
2773
2774         * gnus-sum.el (gnus-mark-article-as-unread)
2775         (gnus-summary-mark-article-as-unread, gnus-summary-remove-bookmark)
2776         (gnus-summary-set-bookmark): Use it.
2777
2778         * gnus-msg.el (gnus-setup-message): Use it.
2779
2780         * gnus-demon.el (gnus-demon-remove-handler): Use it.
2781
2782         * gnus.el (gnus-group-remove-parameter): Use it.
2783
2784         * gnus-group.el (gnus-group-make-web-group): Use it.
2785
2786         * gnus-demon.el (gnus-demon-remove-handler): Use it.
2787
2788         * nnregistry.el: Update docs to mention manual.
2789
2790         * gnus-registry.el: Update docs to mention nnregistry.el.
2791         (gnus-registry-initialize): Don't install nnregistry refer method
2792         automatically.
2793         (gnus-registry-install-nnregistry): Remove it.
2794
2795 2010-10-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2796
2797         * shr.el (shr-insert): Don't insert double spaces.
2798
2799 2010-10-08  Katsumi Yamaoka  <yamaoka@jpl.org>
2800
2801         * gnus-gravatar.el (gnus-treat-from-gravatar)
2802         (gnus-treat-mail-gravatar): Bind gnus-gravatar-too-ugly to nil when
2803         called interactively.
2804
2805         * gnus-art.el (gnus-mime-view-part-externally)
2806         (gnus-mime-view-part-internally): Make predicate function passed to
2807         gnus-mime-view-part-as-type assume argument is a mime type, not a list
2808         of a mime type.
2809
2810         * shr.el (shr-table-widths): Don't use cl function `reduce'.
2811
2812 2010-10-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2813
2814         * shr.el (require): Require cl when compiling.
2815         (shr-tag-hr): New function.
2816
2817         * nnimap.el (nnimap-update-info): Remove double setting of high.
2818         (nnimap-update-info): Don't ignore groups that have no UIDNEXT.
2819         This makes nnimap work properly on Courier again.
2820
2821         * gnus.el (gnus-carpal): The carpal mode has been removed, but define
2822         the variable for backwards compatability.
2823
2824         * mm-decode.el (mm-save-part): If given a non-directory result, expand
2825         the file name before using to avoid setting mm-default-directory to
2826         nil.
2827
2828         * gnus-start.el (gnus-get-unread-articles): Require gnus-agent before
2829         bidning gnus-agent variables.
2830
2831         * shr.el (shr-render-td): Use a cache for the table rendering function
2832         to avoid getting an exponential rendering behaviour in nested tables.
2833         (shr-insert): Rework the line-breaking algorithm.
2834         (shr-insert): Don't leave trailing spaces.
2835         (shr-insert-table): Also insert empty TDs.
2836         (shr-tag-blockquote): Ensure paragraphs after </ul>.
2837
2838 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2839
2840         * gnus-sum.el (gnus-number): Rename from `number'.
2841         (gnus-article-marked-p, gnus-summary-limit-to-display-predicate)
2842         (gnus-summary-limit-children): Update uses correspondingly.
2843
2844 2010-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
2845
2846         * gnus-gravatar.el (gnus-gravatar-too-ugly): New user option.
2847         (gnus-gravatar-transform-address): Don't show avatars of people of
2848         which mail addresses match gnus-gravatar-too-ugly.
2849
2850 2010-10-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2851
2852         * shr.el (shr-table-widths): Expand TD elements to fill available
2853         space.
2854
2855 2010-10-07  Julien Danjou  <julien@danjou.info>
2856
2857         * nnimap.el (nnimap-request-rename-group): Add this method.
2858
2859 2010-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
2860
2861         * gnus-html.el (gnus-html-schedule-image-fetching): Remove function
2862         name from XEmacs' function-arglist.
2863
2864         * gnus-gravatar.el (gnus-gravatar-insert): Don't add properties to
2865         gravatar under XEmacs.
2866
2867 2010-10-07  Teodor Zlatanov  <tzz@lifelogs.com>
2868
2869         * auth-source.el: Update docs with TODO items.
2870
2871         * gnus-sync.el: Update docs to explain state and plans.
2872
2873         * gnus-int.el (gnus-after-set-mark-hook, gnus-before-update-mark-hook):
2874         Hooks for mark updates.
2875         (gnus-request-set-mark, gnus-request-update-mark): Use them.
2876
2877         * gnus-util.el (gnus-run-hooks-with-args): Convenience function to run
2878         hooks with arguments, which is needed for mark update hooks.
2879
2880 2010-10-06  Julien Danjou  <julien@danjou.info>
2881
2882         * gnus.el (gnus-expand-group-parameter): Only return and act on what
2883         was matched.
2884
2885         * sieve-manage.el: Update example in `Commentary'.
2886
2887         * sieve.el (sieve-open-server): Use sieve-manage-authenticate.
2888
2889         * sieve-manage.el (sieve-manage-open): Use sieve-manage-default-port,
2890         not 2000.
2891         (sieve-manage-authenticate): Re-add function.
2892
2893 2010-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2894
2895         * shr.el (shr-insert): Get 'space transition right.
2896         (shr-render-td): Only delete space at the end of the TD.
2897
2898         * nnimap.el (nnimap-open-connection): Prepare to support
2899         open-gnutls-stream.
2900
2901         * shr.el: Rearrange function order to be more logical.
2902
2903 2010-10-06  Julien Danjou  <julien@danjou.info>
2904
2905         * nnrss.el (nnrss-check-group): Remove 404 URL in comment.
2906         (nnrss-discover-feed): Remove 404 URL in docstring.
2907
2908         * nnir.el: Fix Swish-E URL.
2909         Fix Namazu URL.
2910
2911         * message.el (message-change-subject): Remove 404 URL in a comment.
2912
2913 2010-10-06  Katsumi Yamaoka  <yamaoka@jpl.org>
2914
2915         * gnus-art.el (gnus-mime-view-part-as-type): Make it work when being
2916         called interactively.
2917
2918         * gnus-util.el (gnus-remove-if): Allow hash table.
2919         (gnus-remove-if-not): New function.
2920
2921         * gnus-art.el (gnus-mime-view-part-as-type)
2922         * gnus-score.el (gnus-summary-score-effect)
2923         * gnus-sum.el (gnus-read-move-group-name):
2924         Replace remove-if-not with gnus-remove-if-not.
2925
2926         * gnus-group.el (gnus-group-completing-read):
2927         Regard collection as a hash table if it is not a list.
2928
2929 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2930
2931         * shr.el (shr-render-td): Allow blank/missing <TD>s.
2932
2933         * shr.el: Document the table-rendering algorithm.
2934
2935 2010-10-05  Katsumi Yamaoka  <yamaoka@jpl.org>
2936
2937         * dgnushack.el (dgnushack-compile): Exclude shr.el from being compiled
2938         for Emacsen having no `libxml-parse-html-region' support.
2939
2940 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2941
2942         * gnus-html.el (gnus-html-schedule-image-fetching): Protect against
2943         invalid URLs.
2944
2945         * shr.el (shr-tag-img): Shorten ALT texts and allow them to be
2946         line-broken.
2947         (shr-tag-img): Ignore image fetching errors.
2948         (shr-overlays-in-region): Compute overlay positions correctly.
2949
2950         * mm-decode.el (mm-shr): Require shr.
2951
2952         * gnus-art.el (gnus-blocked-images): Move variable here.
2953
2954         * shr.el (shr-insert-table): Bind free variable.
2955
2956         * mm-decode.el (mm-shr): Bind shr-content-function.
2957
2958         * shr.el (shr-content-function): New variable.
2959
2960         * gnus-sum.el (gnus-article-sort-by-most-recent-date): New function,
2961         added for symmetry.
2962
2963         * nnir.el (nnir-retrieve-headers): Don't bug out on invalid data.
2964
2965         * gnus-group.el (gnus-group-make-group): Doc fix.
2966
2967         * nnimap.el (nnimap-request-newgroups): Return success.
2968
2969         * shr.el (shr-find-elements): New function.
2970         (shr-tag-table): Put all the images after the table.
2971         (shr-tag-table): Really inhibit images inside the table.
2972         (shr-collect-overlays): Copy over overlays from the TD elements to the
2973         main document.
2974
2975         * mm-decode.el (mm-shr): Bind shr-blocked-images to
2976         gnus-blocked-images.
2977
2978 2010-10-05  Julien Danjou  <julien@danjou.info>
2979
2980         * sieve-manage.el (sieve-sasl-auth): Use auth-source to authenticate.
2981
2982         * gnus-html.el (gnus-html-wash-images): Rescale image from cid too.
2983         (gnus-html-maximum-image-size): Add this function.
2984         (gnus-html-put-image): Use gnus-html-maximum-image-size.
2985
2986         * sieve-manage.el (sieve-manage-capability): Do not bug out when the
2987         server-value of the capability is nil.
2988
2989 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2990
2991         * shr.el (shr-tag-em): Add <EM> tag.
2992
2993 2010-10-05  Florian Ragwitz  <rafl@debian.org>  (tiny change)
2994
2995         * sieve-manage.el (sieve-manage-default-stream): Make default stream
2996         customizable.
2997
2998         * gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid
2999         handing broken links to browse-url.
3000
3001 2010-10-05  Julien Danjou  <julien@danjou.info>
3002
3003         * gnus-util.el (gnus-emacs-completing-read)
3004         (gnus-iswitchb-completing-read): Use autoload rather than require.
3005
3006 2010-10-05  Katsumi Yamaoka  <yamaoka@jpl.org>
3007
3008         * lpath.el: Fbind libxml-parse-html-region and shr-insert-document for
3009         Emacs 22 and XEmacs; fbind help-function-arglist for XEmacs 21.4 and
3010         SXEmacs; fbind ido-completing-read, and bind iswitchb-mode and
3011         iswitchb-temp-buflist for XEmacs.
3012
3013         * gnus-util.el (gnus-completing-read-function): Exclude
3014         gnus-icompleting-read and gnus-ido-completing-read from candidates for
3015         XEmacs since iswitchb.el is very old and ido.el is unavailable in
3016         XEmacs.
3017
3018         * gnus-registry.el (gnus-registry-install-nnregistry): Rewrite so as
3019         not to use `delete-dups' that is unavailable in XEmacs 21.4.
3020
3021         * gnus-html.el: Don't require help-fns under XEmacs.
3022         (gnus-html-schedule-image-fetching): Work for XEmacs.
3023
3024         * mm-decode.el (mm-shr): Decode contents by charset.
3025
3026 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3027
3028         * nnimap.el (nnimap-open-connection): Give an error if nnimap-stream is
3029         unknown.
3030
3031         * shr.el (shr-tag-blockquote): Ensure paragraph after quote, too.
3032         (shr-get-image-data): Ensure against the cache file missing.
3033
3034         * nnimap.el (nnimap-finish-retrieve-group-infos): Message while waiting
3035         for data.
3036
3037         * spam-report.el (spam-report-url-ping-plain): Don't query about
3038         killing the process.
3039
3040         * shr.el (shr-render-td): Protect against too-wide text.
3041
3042 2010-10-04  Julien Danjou  <julien@danjou.info>
3043
3044         * mml-smime.el (mml-smime-openssl-encrypt-query): Fix choices.
3045         (mml-smime-openssl-sign-query): Fix gnus-completing-read call.
3046
3047         * gravatar.el (gravatar-retrieved): Kill buffer when gravatar has been
3048         retrieved.
3049
3050 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3051
3052         * shr.el (browse-url): Require.
3053         (shr-ensure-paragraph): Don't insert a new newline after empty-ish
3054         lines.
3055         (shr-show-alt-text, shr-browse-image): New commands.
3056         (shr-browse-url, shr-copy-url): New commands.
3057
3058         * gnus-sum.el (gnus-widen-article-window): New variable.
3059         (gnus-summary-select-article-buffer): Use it.
3060
3061         * message.el (message-idna-to-ascii-rhs-1): Don't bug out on addresses
3062         without @ signs.
3063
3064 2010-10-04  Michael Welsh Duggan  <md5i@md5i.com>  (tiny change)
3065
3066         * nnir.el (nnir-run-imap): Remove spurious space in search string.
3067
3068 2010-10-04  Julien Danjou  <julien@danjou.info>
3069
3070         * gnus-util.el (gnus-emacs-completing-read): Mapcar collection to list,
3071         for XEmacs.
3072
3073 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3074
3075         * gnus-salt.el: Remove all gnus-carpal stuff -- it's not useful.
3076
3077         * nnimap.el (nnimap-open-connection): Allow tls as a synonym for ssl.
3078         (nnimap-close-server): Implement.
3079
3080         * dgnushack.el (iswitchb): Require to shut up the compiler.
3081
3082         * shr.el (shr-ensure-paragraph): Fix the non-empty line case.
3083         (shr-insert): Tweak line breaking.
3084         (shr-insert): Handle <pre> better.
3085         (shr-tag-li): Get <li> indentation right.
3086         (shr-tag-li): Get <li> indentation even righter.
3087         (shr-tag-blockquote): Ensure paragraph start.
3088         (shr-make-table): Tweak table generation.
3089         (shr-make-table): Fix typo.
3090
3091         * shr.el: Implement table rendering.
3092
3093 2010-10-04  Julien Danjou  <julien@danjou.info>
3094
3095         * gnus-html.el (gnus-html-put-image): Fix resize image code.
3096
3097 2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3098
3099         * shr.el (shr-insert): Use string anchors instead of line anchors.
3100
3101 2010-10-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3102
3103         * shr.el: Add headings.
3104         (shr-ensure-paragraph): Actually work.
3105         (shr-tag-li): Make <ul> prettier.
3106         (shr-insert): Get white space at the beginning/end of elements right.
3107         (shr-tag-p): Collapse subsequent <p>s.
3108         (shr-ensure-paragraph): Don't insert double line feeds after blank
3109         lines.
3110         (shr-insert): \t is also space.
3111         (shr-tag-s): Fix "s" tag name function.
3112         (shr-tag-s): Fix face prop name.
3113
3114 2010-10-03  Julien Danjou  <julien@danjou.info>
3115
3116         * gnus-html.el (gnus-html-put-image): Use gnus-rescale-image.
3117
3118         * mm-view.el (gnus-window-inside-pixel-edges): Add autoload for
3119         gnus-window-inside-pixel-edges.
3120
3121         * gnus-ems.el (gnus-window-inside-pixel-edges): Move from gnus-html to
3122         gnus-ems.
3123
3124         * mm-view.el (mm-inline-image-emacs): Support image resizing.
3125
3126         * gnus-util.el (gnus-rescale-image): Add generic gnus-rescale-image
3127         function.
3128
3129         * mm-decode.el (mm-inline-large-images): Enhance defcustom and add
3130         resize choice.
3131
3132 2010-10-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3133
3134         * shr.el (shr-tag-p): Don't insert newlines on empty tags at the
3135         beginning of the buffer.
3136
3137         * gnus-sum.el (gnus-summary-select-article-buffer): Really select the
3138         article buffer again.
3139
3140         * shr.el (shr-tag-p): Don't insert newlines at the start of the buffer.
3141
3142         * mm-decode.el (mm-shr): Narrow before inserting, so that shr can know
3143         when it's at the start of the buffer.
3144
3145         * shr.el (shr-tag-blockquote): Convert name.
3146         (shr-rescale-image): Use the right image-size variant.
3147
3148         * gnus-sum.el (gnus-summary-select-article-buffer): If the article
3149         buffer isn't shown, then select the current article first instead of
3150         bugging out.
3151         (gnus-summary-select-article-buffer): Show both the article and summary
3152         buffers again.
3153
3154         * shr.el (shr-fontize-cont): Protect against regions with no text.
3155         Rename tag functions to shr-tag-* for enhanced security.
3156         (shr-tag-ul, shr-tag-ol, shr-tag-li, shr-tag-br): New functions.
3157
3158 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
3159
3160         * shr.el (shr-insert):
3161         * pop3.el (pop3-movemail):
3162         * gnus-html.el (gnus-html-wash-tags): Don't use plusp, as cl may not be
3163         loaded.
3164
3165 2010-10-03  Glenn Morris  <rgm@gnu.org>
3166
3167         * nnmairix.el (nnmairix-replace-illegal-chars): Drop Emacs 20 code.
3168
3169         * smime.el (smime-cert-by-ldap-1): Drop Emacs 21 code.
3170
3171         * gnus-art.el (gnus-next-page-map): Drop Emacs 20 compat cruft.
3172
3173         * gmm-utils.el (gmm-write-region): Drop Emacs 20 compat cruft.
3174
3175         * gnus-util.el (gnus-make-local-hook): Simplify.
3176
3177 2010-10-02  Julien Danjou  <julien@danjou.info>
3178
3179         * gnus-util.el (gnus-iswitchb-completing-read): New function.
3180         (gnus-ido-completing-read): New function.
3181         (gnus-emacs-completing-read): New function.
3182         (gnus-completing-read): Use gnus-completing-read-function.
3183         Add gnus-completing-read-function.
3184
3185 2010-10-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3186
3187         * shr.el (shr-insert-document): Autoload.
3188         (shr-img): Be silent.
3189         (shr-insert): Add a newline after every picture before text.
3190         (shr-add-font): Use overlays for combining faces.
3191         (shr-insert): Pass upwards the text start point.
3192
3193         * mm-decode.el (mm-text-html-renderer): Default to shr.el rendering, if
3194         possible.
3195         (mm-shr): New function.
3196
3197 2010-10-02  Julien Danjou  <julien@danjou.info>
3198
3199         * gnus-gravatar.el (gnus-gravatar-insert): Adjust character where we
3200         should go backward.
3201
3202 2010-10-02  Juanma Barranquero  <lekktu@gmail.com>
3203
3204         * shr.el (shr): Fix typo in provide call.
3205
3206 2010-10-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3207
3208         * shr.el: New file.
3209
3210         * gnus-html.el (gnus-html-schedule-image-fetching): Be silent.
3211
3212         * gnus-topic.el (gnus-topic-move-group): Fix the syntax of the
3213         completing read.
3214
3215 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3216
3217         * gnus-start.el (gnus-check-bogus-newsgroups): Say how many groups
3218         we're being queried about.  Suggested by Dan Jacobson.
3219
3220         * nndoc.el (nndoc-type-alist): Do babyl before mime-parts.
3221         Suggested by Jason Eisner.
3222
3223         * gnus-async.el (gnus-async-delete-prefetched-entry): Remove from hash
3224         table, too.  Suggested by Stefan Wiens.
3225         (gnus-async-prefetched-article-entry): Use intern-soft to avoid growing
3226         the table unnecessary.  Suggested by Stefan Wiens.
3227
3228         * gnus-sum.el (gnus-summary-clear-local-variables): This is probably no
3229         longer needed, and probably doesn't work either, as pointed out by
3230         Stefan Wiens.
3231         (gnus-summary-exit): Remove call to the clearing function.
3232         (gnus-summary-exit-no-update): Ditto.
3233
3234         * gnus-art.el (gnus-summary-save-in-file): Use with-current-buffer
3235         instead of gnus-eval-in-buffer-window to avoid popping up frames.
3236         Reported by Stefan Monnier.
3237         (gnus-summary-save-in-rmail): Ditto.
3238
3239         * gnus-sum.el (gnus-summary-select-article-buffer): Show only the
3240         article buffer, instead of both the article buffer and the summary
3241         buffer.  Sort of suggested by Dan Jacobson.
3242
3243         * gnus-win.el (gnus-buffer-configuration): Add an only-article spec.
3244
3245         * nnmbox.el (nnmbox-read-mbox): Mark buffer for deletion on Gnus exit.
3246         Suggested by Dan Jacobson.
3247
3248         * mm-encode.el (mm-content-transfer-encoding-defaults): Try to make the
3249         documentation clearer.
3250
3251         * message.el (message-shorten-references): Comment on the number "21".
3252         Suggested by Stefan Monnier.
3253
3254         * gnus-sum.el (gnus-summary-scroll-up): Add more documentation.
3255         Suggested by Dan Jacobson.
3256
3257         * gnus.el (gnus-large-newsgroup):
3258         Mention gnus-large-ephemeral-newsgroup.  Suggested by Dan Jacobson.
3259
3260         * gnus-msg.el (gnus-summary-resend-message): When resending, don't
3261         externalize attachments.  Bug reported by Steve Wen.
3262
3263         * gnus.el (gnus-continuum-version): Make inactive, since it doesn't
3264         really message anything to the user.
3265
3266         * nnmail.el (nnmail-article-group): Allow using the fancy split method
3267         directly.
3268
3269         * nnimap.el (nnimap-request-group): Low higher than high to signal no
3270         messages in empty groups.
3271
3272 2010-10-01  Ted Zlatanov  <tzz@lifelogs.com>
3273
3274         * nnimap.el (nnimap-request-group): Don't bug out when there's an empty
3275         non-UIDNEXT group.
3276
3277 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3278
3279         * gnus-group.el (gnus-group-completing-read): Return the symbol name,
3280         not the value from the collection.
3281
3282         * nnimap.el (nnimap-update-info): Ignore groups that have no UIDNEXT
3283         values.  This sometimes happens on some groups that have no info.
3284         (nnimap-request-newgroups): New function.
3285
3286 2010-10-01  Teodor Zlatanov  <tzz@lifelogs.com>
3287
3288         * gnus-registry.el (gnus-registry-install-nnregistry): Move the feature
3289         check into `gnus-registry-initialize'.
3290         (gnus-registry-initialize): Ditto.
3291         Fix and extend header docs.
3292
3293 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3294
3295         * gnus-html.el (gnus-html-prefetch-images): Adjust regexp to avoid
3296         regexp backtrace overflows.
3297
3298         * nnimap.el (nnimap-extend-tls-programs): Only extend those programs
3299         for starttls that tls.el implements; i.e. openssl.
3300
3301         * tls.el (tls-starttls-switches): Give up on using starttls with
3302         gnutls-cli.
3303         (tls-program): Add --insecure to be consistent with the defaults from
3304         openssl s_client.  Now all three commands are insecure.
3305
3306 2010-10-01  Katsumi Yamaoka  <yamaoka@jpl.org>
3307
3308         * lpath.el: Bind completion-styles-alist for XEmacs.
3309
3310         * gravatar.el: Don't load image.el that XEmacs doesn't provide.
3311         (gravatar-create-image): New function that's an alias to
3312         gnus-xmas-create-image, gnus-create-image, or create-image.
3313         (gravatar-data->image): Use it.
3314
3315 2010-09-30  Teodor Zlatanov  <tzz@lifelogs.com>
3316
3317         * gnus-registry.el (gnus-registry-install-nnregistry): New function to
3318         install the nnregistry refer method.
3319         (gnus-registry-install-hooks): Use it.
3320         (gnus-registry-unfollowed-groups): Add nnmairix to the default
3321         unfollowed groups.
3322
3323 2010-09-30  Jose A. Ortega Ruiz  <jao@gnu.org>  (tiny change)
3324
3325         * gnus-sum.el (gnus-summary-show-thread): Skip past invisible text when
3326         expanding threads.
3327
3328 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3329
3330         * nnir.el: Use the server names without suffixes (bug #7009).
3331
3332         * nnimap.el (nnimap-open-connection): Reinstate the auto-upgrade from
3333         unencrypted to STARTTLS, if possible.
3334
3335 2010-09-30  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
3336
3337         * message.el (message-ignored-supersedes-headers): Strip Injection-*
3338         headers before superseding.
3339
3340 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3341
3342         * nnrss.el (nnrss-use-local): Add documentation.
3343
3344         * nnimap.el (nnimap-extend-tls-programs): New function.
3345         (nnimap-open-connection): Use tls.el exclusively, and not starttls.el.
3346         (nnimap-wait-for-connection): Accept the greeting from the stupid
3347         output from openssl s_client -starttls, too.
3348
3349         * tls.el (tls-starttls-switches): New variable.
3350         (tls-find-starttls-argument): Use it.
3351         (open-tls-stream): Ditto.
3352
3353         * netrc.el (netrc-credentials): Return the value of the "default" entry.
3354         (netrc-machine): Ditto.
3355
3356         * nnimap.el (nnimap-find-article-by-message-id): Really return the
3357         article number.
3358         (nnimap-split-fancy): New variable.
3359         (nnimap-split-incoming-mail): Use it.
3360
3361         * nntp.el (nntp-server-list-active-group): Document.
3362
3363         * nnimap.el (nnimap-find-article-by-message-id): Use EXAMINE instead of
3364         SELECT to get the message-id.
3365
3366         * mail-source.el (mail-sources): Remove webmail support.
3367         (defvar): Ditto.
3368         (mail-source-fetcher-alist): Ditto.
3369         (mail-source-fetch-webmail): Remove.
3370
3371         * webmail.el: Remove -- doesn't seem relevant any more.
3372
3373         * gnus.el: Fix up make-obsolete-variable declarations throughout.
3374
3375         * nnimap.el (nnimap-request-accept-article): Get the Message-ID without
3376         the \r.
3377
3378 2010-09-30  Julien Danjou  <julien@danjou.info>
3379
3380         * gnus-agent.el (gnus-agent-add-group): Fix call to
3381         gnus-completing-read.
3382
3383 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3384
3385         * nndoc.el (nndoc-retrieve-groups): New function.
3386
3387         * nnimap.el (nnimap-split-incoming-mail): If nnimap-split-methods is
3388         `default', use nnmail-split-methods.
3389         (nnimap-request-article): Downcase the NILs so that they are nil.
3390
3391         * gnus-sum.el (gnus-valid-move-group-p): Make sure that `group' is a
3392         symbol.
3393
3394         * nnimap.el (nnimap-open-connection): Revert the auto-network->starttls
3395         code, since if the user has requested network, that's what they ought
3396         to get.
3397         (nnimap-request-set-mark): Erase the buffer before issuing commands.
3398         (nnimap-split-rule): Mark as obsolete.
3399
3400         * pop3.el (pop3-send-streaming-command, pop3-stream-length):
3401         New variable.
3402
3403         * nnimap.el (nnimap-insert-partial-structure): Get the type from the
3404         correct slot, too.
3405
3406 2010-09-29  Julien Danjou  <julien@danjou.info>
3407
3408         * gnus.el (gnus-local-domain): Declare variable obsolete.
3409
3410         * gnus-util.el (gnus-icompleting-read): Require iswitchb.
3411         Fix history computing.
3412         (gnus-ido-completing-read): Require ido.
3413
3414 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3415
3416         * gnus-registry.el: Don't prompt on load, which makes it impossible to
3417         build Gnus.
3418
3419         * nnimap.el (nnimap-insert-partial-structure): Be way more permissive
3420         when interpreting the structures.
3421         (nnimap-request-accept-article): Add \r\n to the lines to make this
3422         work with Cyrus.
3423
3424         * nndraft.el (nndraft-request-expire-articles): Use the group name
3425         instead if "nndraft".  Fix found by Nils Ackermann.
3426
3427 2010-09-29  Ludovic Courtes  <ludo@gnu.org>
3428
3429         * nnregistry.el: Add.
3430
3431 2010-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3432
3433         * nnmail.el (group, group-art-list, group-art):
3434         Remove unneeded directives.
3435
3436 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
3437
3438         * mm-util.el (mm-codepage-iso-8859-list, mm-charset-eval-alist)
3439         (mm-mime-charset)
3440         * rfc2047.el (rfc2047-syntax-table)
3441         * utf7.el (utf7-utf-16-coding-system): Comment fix.
3442
3443         * nnrss.el (nnrss-read-server-data, nnrss-read-group-data): Use `load'
3444         rather than `insert-file-contents' and `eval-region'.
3445
3446         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3447         construction.
3448
3449         * smime-ldap.el (smime-ldap-search): Remove Emacs 21 compatible code.
3450
3451         * time-date.el: No need to require cl for Emacs 21.
3452
3453 2010-09-29  Julien Danjou  <julien@danjou.info>
3454
3455         * gnus-gravatar.el (gnus-gravatar-properties): Add this properties in
3456         replacement of `gnus-gravatar-relief' to mimic
3457         `gnus-faces-properties-alist'.
3458         Add :version property.
3459
3460 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
3461
3462         * mail-source.el (mail-source-report-new-mail)
3463         * message.el (message-default-mail-headers)
3464         * mm-decode.el (mm-valid-image-format-p): Comment fix.
3465
3466         * mml2015.el (mml2015-use): Don't bind recursive-load-depth-limit.
3467
3468 2010-09-28  Julien Danjou  <julien@danjou.info>
3469
3470         * gnus-gravatar.el (gnus-gravatar-insert): Fix search in case
3471         mail-address contains the same string as real-name.
3472
3473         * gnus-ems.el (gnus-put-image): Revert Lars, change and insert
3474         non-blank in header, otherwise it'll get stripped.
3475
3476         * gnus-gravatar.el (gnus-gravatar-insert): Search backward for
3477         real-name, and then for mail address rather than doing : or , search.
3478
3479 2010-09-27  Julien Danjou  <julien@danjou.info>
3480
3481         * gnus-util.el (gnus-completing-read): Use gnus-use-ido to apply the
3482         right completing-read function.
3483         (gnus-use-ido): New variable
3484         (gnus-completing-read-with-default): Remove.
3485         * gnus-agent.el (gnus-agent-read-group): Remove prompt computing.
3486         (gnus-agent-add-group):
3487         * gnus-srvr.el (gnus-server-add-server, gnus-server-goto-server):
3488         * mm-view.el (mm-view-pkcs7-decrypt):
3489         * mm-util.el (mm-codepage-setup):
3490         * smime.el (smime-sign-buffer, smime-decrypt-buffer):
3491         * mml-smime.el (mml-smime-openssl-sign-query):
3492         * mml.el (mml-minibuffer-read-type, mml-minibuffer-read-disposition)
3493         (mml-insert-multipart):
3494         * gnus-msg.el (gnus-summary-yank-message):
3495         * gnus-int.el (gnus-start-news-server):
3496         * mm-decode.el (mm-interactively-view-part):
3497         * gnus-dired.el (gnus-dired-attach):
3498         * gnus.el (gnus-read-method):
3499         * gnus-bookmark.el (gnus-bookmark-jump):
3500         * gnus-art.el (gnus-mime-view-part-as-type)
3501         (gnus-mime-action-on-part, gnus-article-encrypt-body):
3502         * gnus-topic.el (gnus-topic-jump-to-topic, gnus-topic-move-matching)
3503         (gnus-topic-copy-matching, gnus-topic-sort-topics, gnus-topic-move):
3504         * nnmairix.el (nnmairix-create-server-and-default-group)
3505         (nnmairix-update-groups, nnmairix-get-server)
3506         (nnmairix-backend-to-server, nnmairix-goto-original-article)
3507         (nnmairix-get-group-from-file-path):
3508         * nnrss.el (nnrss-find-rss-via-syndic8):
3509         * gnus-group.el (gnus-group-completing-read, gnus-group-make-web-group)
3510         (gnus-group-make-useful-group, gnus-group-add-to-virtual)
3511         (gnus-group-browse-foreign-server):
3512         * gnus-sum.el (gnus-summary-goto-article, gnus-summary-limit-to-extra)
3513         (gnus-summary-execute-command, gnus-summary-respool-article)
3514         (gnus-read-move-group-name):
3515         * gnus-score.el (gnus-summary-increase-score)
3516         (gnus-summary-score-effect):
3517         * gnus-registry.el (gnus-registry-read-mark): Use gnus-completing-read.
3518
3519 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
3520
3521         * lpath.el: Remove url-http-file-exists-p, w32-focus-frame, and
3522         x-focus-frame.
3523
3524         * nnimap.el (auth-source-forget-user-or-password)
3525         (auth-source-user-or-password): Autoload.
3526
3527         * message.el (message-from-style, message-interactive)
3528         (message-cite-prefix-regexp, message-sendmail-envelope-from)
3529         (message-yank-prefix, message-indentation-spaces, message-signature)
3530         (message-signature-file): Add comment.
3531
3532 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3533
3534         * gnus-sum.el (gnus-summary-read-group-1): Set gnus-newsgroup-highest.
3535         (gnus-summary-insert-new-articles): Use gnus-newsgroup-highest to get
3536         new articles.
3537
3538         * nnimap.el (nnimap-request-article): Don't partial-fetch single-part
3539         parts.
3540         (nnimap-request-article): Work with the t setting, too.
3541
3542         * gnus-sum.el (gnus-summary-exit): Kill the article buffer later, so
3543         that you don't get flashes of other buffers.
3544         (gnus-summary-show-complete-article): Intern before setting.
3545
3546 2010-09-27  David Engster  <dengste@eml.cc>
3547
3548         * nnmairix.el (nnmairix-replace-group-and-numbers): Deal with NOV as
3549         well as HEADERS.
3550         (nnmairix-retrieve-headers): Provide new argument for the above.
3551
3552 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3553
3554         * gnus-sum.el (gnus-summary-move-article): Don't alter
3555         gnus-newsgroup-active.  This makes `/ N' work after copying to the same
3556         group.
3557
3558         * nnimap.el (nnimap-update-info): Don't destructively alter active.
3559
3560         * message.el (message-cite-prefix-regexp): Revert my last edit.
3561
3562         * gnus-sum.el (gnus-summary-show-complete-article): Bind the server
3563         variable instead of the Gnus variable.
3564
3565         * nnimap.el (nnimap-find-wanted-parts-1): Use it.
3566
3567         * gnus-art.el (gnus-fetch-partial-articles): Move back to nnimap again.
3568
3569         * nnimap.el (nnimap-request-accept-article): Remove the "." at the end,
3570         since some servers don't like it.
3571         (nnimap-open-connection): Forget credentials if the server says the
3572         password was wrong.
3573         (nnimap-parse-line): Protect against invalid data.
3574
3575         * gnus-sum.el (gnus-summary-move-article): Add comment.
3576         (gnus-summary-insert-new-articles): Copy the old-high watermark so that
3577         nothing alters it while scanning for new messages.
3578
3579         * nnimap.el (nnimap-request-accept-article): Send a "." at the end,
3580         which may or may not help.
3581         (nnimap-open-connection): If we're doing a stream connection, and then
3582         discover we're on a STARTTLS-capable server, then open a STARTTLS
3583         connection instead.
3584
3585 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3586
3587         * nnimap.el (utf7): Require.
3588
3589         * message.el (message-cite-prefix-regexp): Remove "}" from citation
3590         prefix.
3591
3592 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
3593
3594         * nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.
3595
3596 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3597
3598         * nnimap.el (nnimap-request-accept-article): Message the error on
3599         error.
3600
3601 2010-09-27  Katsumi Yamaoka  <yamaoka@jpl.org>
3602
3603         * gnus-art.el (gnus-mime-delete-part): Fix Lisp type of byte(s).
3604
3605 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3606
3607         * nndoc.el (nndoc-request-list): Return success always.
3608
3609         * gnus-agent.el (gnus-agent-retrieve-headers): Don't propagate
3610         `fetch-old' -- we only want to fetch the articles we've requested.
3611         The rest are in the agent, probably.
3612         (gnus-agent-read-servers-validate): Change the level for the "Ignoring
3613         disappeared server" to something low.  It's not important.
3614
3615         * nnimap.el (nnimap-get-whole-article): Remove the data that may have
3616         arrived before the FETCH data.
3617
3618         * nnmh.el (nnmh-request-expire-articles): Don't try to fetch the expiry
3619         target here, because we don't know the Gnus name of the group.
3620
3621         * nndraft.el (nndraft-request-expire-articles): Fetch the expiry target
3622         for the correct group.
3623
3624         * gnus-ems.el (gnus-create-image): Ignore all image-creation errors.
3625
3626         * gnus.el (gnus): Give a final warning after startup.
3627
3628         * gnus-util.el (gnus-action-message-log): New variable.
3629         (gnus-message): Use it.
3630         (gnus-final-warning): New function.
3631
3632         * nnimap.el (nnimap-open-connection): Record the greeting.
3633         (nnimap): Add greeting.
3634
3635 2010-09-26  Julien Danjou  <julien@danjou.info>
3636
3637         * gnus-html.el (gnus-html-show-images): Fix gnus-html-display-image
3638         arguments.
3639         (gnus-html-wash-images): Fix spec computing to include start/end.
3640
3641         * gnus-art.el (gnus-article-treat-body-boundary): Fix length computing.
3642
3643 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3644
3645         * nnimap.el (nnimap-request-expire-articles): Compress ranges before
3646         deletion.
3647         (nnimap-retrieve-headers): Don't select the group, because that's
3648         already done by nnimap-possibly-change-group.
3649
3650         * gnus-picon.el (gnus-picon-inhibit-top-level-domains): New variable.
3651         (gnus-picon-transform-address): Use it.
3652
3653         * mail-source.el (mail-source-value): Revert previous patch.
3654
3655         * nnimap.el (nnimap-credentials): Allow inhibiting the password query
3656         on failure.
3657         (nnimap-open-connection): Look up both virtual and physical server name
3658         credentials.
3659
3660         * gnus-win.el: Revert previous patch, since it made Gnus backtrace.
3661
3662 2009-02-07  Dave Love  <fx@gnu.org>
3663
3664         * tls.el (open-tls-stream): Don't query killing process.
3665
3666 2009-02-08  Dave Love  <fx@gnu.org>
3667
3668         * gnus-win.el (gnus-window-to-buffer-helper)
3669         (gnus-all-windows-visible-p): Function needn't be a symbol.
3670
3671         * mail-source.el (mail-source-value): Function needn't be a symbol.
3672
3673 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3674
3675         * message.el (message-cite-prefix-regexp): Remove } from the cite
3676         prefix.
3677
3678         * gnus-art.el (gnus-treatment-function-alist): Do picons before
3679         highlight again, so that the highlight is correct.
3680
3681         * gnus-picon.el (gnus-picon): Remove again.
3682         (gnus-picon-create-glyph): Set the background XPM colour explicitly.
3683
3684         * gnus-art.el (gnus-treatment-function-alist): Insert picons after
3685         doing the header highlightling, so that the background colour of the
3686         picon is correct.
3687
3688         * gnus-picon.el (gnus-picon-xbm): Remove obsolete face.
3689         (gnus-picon): Ditto.
3690         (gnus-picon): Reinstate.  The background colour for picons is white.
3691         (gnus-picon-insert-glyph): Make the background white.
3692
3693         * nnml.el (nnml-open-nov): Don't return dead buffers.
3694
3695         * auth-source.el (auth-source-create): Query the user for whether to
3696         store the credentials.
3697
3698         * netrc.el (netrc-store-data): New function.
3699
3700         * auth-source.el (auth-source-user-or-password): Use the existing auth
3701         sources, if any, for creation.
3702
3703         * gnus.el (gnus-group-fast-parameter): Return the last matching
3704         parameter instead of the first matching parameter.
3705
3706 2010-09-26  Julien Danjou  <julien@danjou.info>
3707
3708         * gnus-sum.el (gnus-auto-center-group): Transform into a defcustom.
3709
3710 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3711
3712         * mml2015.el (mml2015-use): Remove gpg support.
3713
3714         * mml1991.el (mml1991-function-alist): Remove gpg function.
3715         (mml1991-gpg-sign): Remove.
3716
3717 2010-09-26  Andreas Seltenreich  <seltenreich@gmx.de>
3718
3719         * gnus-srvr.el (gnus-browse-subscribe-newsgroup-method): New variable.
3720         (gnus-browse-unsubscribe-current-group): Document it.
3721         (gnus-browse-unsubscribe-group): Use it.
3722
3723 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3724
3725         * gnus-group.el (gnus-read-ephemeral-bug-group): Add the bug email
3726         address to the To list for easier response.
3727
3728         * gnus.el (gnus-play-startup-jingle): Remove.
3729         (gnus-splash): Don't play jingle.
3730         (gnus): Silence gnus-load message.
3731
3732         * gnus-art.el (gnus-treat-play-sounds): Remove.
3733
3734         * gnus.el (gnus-play-jingle): Remove audio support.
3735
3736         * gnus-cus.el (gnus-score-customize): Remove audio reference.
3737
3738         * earcon.el: Remove -- no users.
3739
3740         * gnus-audio.el: Remove -- no users of this package.
3741
3742         * gnus-sum.el (gnus-summary-limit-children): Remove nocem support.
3743
3744         * gnus-start.el (gnus-setup-news): Remove nocem support.
3745
3746         * gnus-group.el (gnus-group-get-new-news): Remove nocem call.
3747
3748         * gnus.el (gnus-use-nocem): Remove.
3749
3750         * gnus-demon.el (gnus-demon-add-nocem, gnus-demon-scan-nocem):
3751         Remove.
3752
3753         * gnus-nocem.el (gnus-nocem-issuers): Remove file.  Apparently nobody
3754         uses NoCeM any more.
3755
3756         * gnus-art.el (gnus-ctan-url): Seems not very useful -- removed.
3757         (gnus-button-ctan-handler): Ditto.
3758         (gnus-button-handle-ctan-bogus-regexp): Ditto.
3759         (gnus-button-ctan-directory-regexp): Ditto.
3760         (gnus-button-handle-ctan): Ditto.
3761         (gnus-button-tex-level): Ditto.
3762         (gnus-button-alist): Remove CTAN stuff.
3763
3764 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3765
3766         * nnimap.el (nnimap-wait-for-response): Reverse logic in the
3767         nnimap-streaming test.
3768
3769         * gnus-start.el (gnus-get-unread-articles): Don't try to open failed
3770         servers twice.
3771
3772         * nnimap.el (nnimap-open-connection): Add more error reporting when
3773         nnimap fails early.
3774
3775         * nnheader.el (nnheader-get-report-string): New function.
3776         (nnheader-get-report): Use it.
3777
3778         * gnus-int.el (gnus-check-server): Say what the error was when opening
3779         failed.
3780
3781         * nnimap.el (nnimap-wait-for-response): Search further when we're not
3782         using streaming.
3783
3784 2010-09-25  Julien Danjou  <julien@danjou.info>
3785
3786         * gnus-html.el (gnus-html-rescale-image): Use our defalias
3787         gnus-window-inside-pixel-edges.
3788
3789 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3790
3791         * gnus-srvr.el (gnus-server-copy-server): Add documentation.
3792
3793         * mm-decode.el (mm-save-part): Allow saving to other directories the
3794         normal Emacs way.
3795
3796         * nndoc.el (nndoc-type-alist): Move mime-parts after mbox.
3797         Suggested by Jay Berkenbilt.
3798
3799         * gnus-art.el (gnus-mime-delete-part): Fix plural for "byte" when
3800         there isn't a single byte.
3801
3802         * gnus-int.el (gnus-open-server): Don't query whether to go offline --
3803         just do it.  It doesn't really seem to matter what the user responds
3804         here, I think, so it's just a confusing question.
3805
3806         * nnimap.el (nnimap-retrieve-group-data-early): Fix typo in the
3807         non-streaming case.
3808
3809         * gnus-art.el (gnus-flush-original-article-buffer): Separate out.
3810         (gnus-article-encrypt-body): Use it.
3811
3812         * gnus-sum.el (gnus-summary-show-complete-article): New command and
3813         keystroke.
3814
3815         * nnimap.el (nnimap-find-wanted-parts-1):
3816         Use gnus-fetch-partial-articles.
3817
3818         * gnus-art.el (gnus-fetch-partial-articles): New variable.
3819
3820         * nnimap.el (nnimap-insert-partial-structure): New function.
3821         (nnimap-get-partial-article): New function.
3822         (nnimap-request-article): Use it.
3823         (nnimap-wait-for-response): Return whether the wait was successful.
3824         (nnimap-finish-retrieve-group-infos): Don't do anything if the
3825         retrieval wasn't successful.
3826         (nnimap-retrieve-group-data-early): Allow throttling servers.
3827         (nnimap-streaming): New variable.
3828         (nnimap-fetch-partial-articles): Remove.
3829
3830         * mm-decode.el (mm-with-part): Protect against killed buffers.
3831
3832         * nndraft.el (nndraft-retrieve-headers): Insert Lines and Chars headers
3833         for prettier summary display.
3834
3835 2010-09-25  Andrew Cohen  <cohen@andy.bu.edu>  (tiny change)
3836
3837         * nnir.el (nnir-run-imap): Allow sending IMAP search patterns directly.
3838
3839 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3840
3841         * gnus.el (gnus-local-domain): Put gnus-local-domain back again, since
3842         apparently third-party libraries depend on it.
3843
3844         * nnimap.el (nnimap-open-connection): Wait for the response to STARTTLS
3845         before starting negotiation.
3846
3847         * gnus-art.el (gnus-treat-from-gravatar): Change default to nil for
3848         privacy reasons.
3849         (gnus-treat-mail-gravatar): Ditto.
3850
3851         * gnus-ems.el (gnus-put-image): Don't put any non-blank text into the
3852         buffer when inserting images.  Inserting text into the headers, for
3853         instance, can make them invalid.
3854
3855 2010-09-25  Julien Danjou  <julien@danjou.info>
3856
3857         * rfc1843.el: Remove useless rfc1843-old-gnus-decode-header-function
3858         variables.
3859
3860         * nnheader.el: Remove useless variables news-reply-yank-from and
3861         news-reply-yank-message-id.
3862
3863         * mml2015.el: Remove useless mc-default-scheme and mc-schemes
3864         variables.
3865
3866         * mml1991.el: Remove useless mml1991-verbose.
3867
3868         * gnus.el: Remove useless variable gnus-use-generic-from.
3869         Remove obsolete variable gnus-topic-indentation.
3870
3871         * gnus-uu.el: Remove useless gnus-uu-shar-file-name.
3872
3873         * gnus-sum.el: Remove useless gnus-newsgroup-none-id.
3874
3875         * gnus-picon.el: Remove useless gnus-picon-setup-p variable.
3876
3877         * gnus-group.el: Remove useless gnus-group-icon-cache.
3878         Remove useless gnus-ephemeral-group-server.
3879
3880         * gnus-bookmark.el: Remove useless gnus-bookmark-after-jump-hook.
3881
3882         * mml2015.el: Remove useless mml2015-verbose.
3883
3884         * mml-smime.el: Remove useless mml-smime-verbose.
3885
3886         * gnus.el: Remove useless gnus-local-domain.
3887
3888         * gnus-gravatar.el (gnus-gravatar-transform-address):
3889         Use gnus-gravatar-size.
3890
3891         * gnus-art.el: Remove useless gnus-treat-translate.
3892
3893 2010-09-24  Julien Danjou  <julien@danjou.info>
3894
3895         * gnus-sum.el: Add support for Gravatars.
3896
3897         * gnus-art.el: Add support for Gravatars.
3898
3899         * gnus-gravatar.el: Add this file.
3900
3901         * gravatar.el: Add this file.
3902
3903 2010-09-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3904
3905         * gnus-sum.el (gnus-summary-fetch-faq): Remove.
3906
3907         * gnus-group.el (gnus-group-fetch-faq): Remove.
3908
3909         * gnus.el (gnus-group-faq-directory): Remove.
3910
3911         * gnus-group.el (gnus-group-fetch-charter): Remove.
3912
3913         * gnus.el (gnus-group-charter-alist): Remove.
3914
3915         * gnus-group.el (gnus-group-archive-directory): Remove.
3916         (gnus-group-recent-archive-directory): Ditto.
3917         (gnus-group-make-archive-group): Remove.
3918
3919         * nnimap.el (nnimap-update-info): Protect against nil uidnexts.
3920
3921         * gnus-cache.el (gnus-cache-braid-heads): When braiding heads, don't
3922         use the same article number for all the cached articles.
3923
3924         * nnimap.el (nnimap-command): Register the last command time so
3925         that we can use it for idling NOOPs.
3926         (nnimap-open-connection): Start the keeplive timer.
3927         (nnimap-make-process-buffer): Store all the process buffers.
3928         (nnimap-keepalive): New function.
3929
3930         * starttls.el (starttls-open-stream): Add autoload cookie.
3931
3932 2010-09-24  Michael Welsh Duggan  <md5i@md5i.com>  (tiny change)
3933
3934         * nnimap.el (nnimap-split-incoming-mail): Fix paren typo in the 'junk
3935         handling.
3936
3937 2010-09-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3938
3939         * nnrss.el (nnrss-retrieve-groups): Change to the group before checking
3940         its data structures.
3941
3942         * gnus.el (gnus-sloppily-equal-method-parameters): Use copy-sequence
3943         instead of the cl.el copy-list.
3944         (gnus-sloppily-equal-method-parameters): Use equal instead of the cl
3945         equalp.
3946
3947 2010-09-24  Katsumi Yamaoka  <yamaoka@jpl.org>
3948
3949         * gmm-utils.el (gmm-tool-bar-from-list): Always use tool-bar-local-item
3950         and tool-bar-local-item-from-menu.
3951
3952         * gnus-agent.el (gnus-agent-make-mode-line-string): Always use
3953         mode-line-highlight face for Emacs.
3954
3955         * gnus-art.el (toplevel): Don't bind recursive-load-depth-limit while
3956         loading gnus-sum.elc; fix comment for canlock-verify.
3957         (gnus-article-jump-to-part): Use read-number.
3958         (gnus-insert-mime-button, gnus-insert-mime-security-button):
3959         Remove Emacs pre-21 compatible code for help-echo.
3960         (gnus-article-next-page-1): No need to adjust the number of lines.
3961         (gnus-article-describe-bindings): Always use help-buffer.
3962
3963         * gnus-audio.el (gnus-audio-inline-sound)
3964         * gnus-cus.el (gnus-custom-mode)
3965         * gnus-group.el (gnus-group-update-tool-bar): Comment fix.
3966
3967         * gnus-sum.el (gnus-remove-overlays): Doc fix.
3968
3969         * gnus-util.el (gnus-select-frame-set-input-focus): Remove Emacs 21
3970         compatible code.
3971
3972 2010-09-24  Glenn Morris  <rgm@gnu.org>
3973
3974         * message.el (message-output): Use gnus-output-to-rmail if a buffer is
3975         visiting the fcc file in rmail-mode.
3976
3977         * dns-mode.el: Move autoloaded auto-mode-alist entries to files.el.
3978
3979 2010-09-24  Katsumi Yamaoka  <yamaoka@jpl.org>
3980
3981         * nnir.el: Silence the byte compiler.
3982
3983         * gnus-html.el (gnus-html-encode-url-chars): New function, that's an
3984         alias to browse-url-url-encode-chars if any.
3985         (gnus-html-encode-url): Use it.
3986
3987 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3988
3989         * gnus-start.el (gnus-use-backend-marks): New variable.
3990         (gnus-get-unread-articles-in-group): Use it.
3991
3992         * gnus-sum.el (gnus-summary-local-variables): Prepare for list/range
3993         makeover.
3994
3995 2010-09-23  Andrew Cohen  <cohen@andy.bu.edu>
3996
3997         * nnimap.el (nnimap-retrieve-headers): Return 'headers.
3998
3999 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4000
4001         * gnus-start.el (gnus-fixup-nnimap-unread-after-getting-new-news):
4002         Remove.
4003         (gnus-setup-news-hook):
4004         Remove gnus-fixup-nnimap-unread-after-getting-new-news.
4005
4006         * gnus-int.el (gnus-request-update-info): Protect against backends not
4007         having the function.
4008
4009         * nnimap.el (nnimap-stream): Mention starttls.
4010         (nnimap-open-connection): Add starttls support.
4011
4012 2010-09-23  Andrew Cohen  <cohen@andy.bu.edu>
4013
4014         * nnir.el (nnir-run-imap): Fix up nnir to work with the new nnimap.
4015
4016 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4017
4018         * nnimap.el (nnimap-transform-headers): Don't bug out on invalid
4019         BODYSTRUCTUREs.
4020         (nnimap-transform-headers): Unfold quoted {42} headers.
4021
4022         * gnus-start.el (gnus-get-unread-articles): Allow backends to update
4023         the info.
4024         (gnus-get-unread-articles): Only call updatep on backends that support
4025         it.
4026
4027         * nnweb.el (nnweb-request-update-info): NOOP.
4028
4029         * nnmaildir.el (nnmaildir-request-marks): Rename from -update-info.
4030
4031         * nnfolder.el (nnfolder-request-marks): Rename from -update-info,
4032         since it only deals with marks.
4033
4034         * gnus-int.el (gnus-request-marks): Rename gnus-request-update-info to
4035         gnus-request-marks, and make a new gnus-request-update-info.
4036
4037         * nnimap.el (nnimap-update-info): When UIDNEXT is present, use that for
4038         the active instead of the high number, which is usually too low.
4039
4040 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
4041
4042         * netrc.el (netrc-parse): Remove encrypt.el mentions.
4043         * encrypt.el: Remove.
4044
4045 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4046
4047         * nnimap.el (nnimap-update-info): Sync non-standard flags from the
4048         server in symbolic form.
4049
4050         * gnus-html.el (gnus-max-image-proportion): Increase proportion to 0.9.
4051
4052 2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4053
4054         * nnimap.el (nnimap-parse-flags): Parse the data in any order.
4055         (nnimap-update-info): Fix up code slightly.
4056
4057         * gnus-int.el (gnus-open-server): Add tracing for performance
4058         debugging.
4059
4060         * gnus-group.el (gnus-group-highlight-line): Typo fix: beg, not start.
4061         (gnus-group-insert-group-line): Pass the real group name so that it
4062         gets the right data.
4063
4064         * gnus-start.el (gnus-get-unread-articles): Don't have
4065         `gnus-get-unread-articles-in-group' update info, since that can be
4066         really slow and doesn't seem to be needed?
4067
4068 2010-09-22  Dan Christensen  <jdc@uwo.ca>
4069
4070         * time-date.el (date-to-time): Try using parse-time-string first before
4071         using the slower timezone-make-date-arpa-standard.
4072
4073 2010-09-22  Julien Danjou  <julien@danjou.info>
4074
4075         * gnus-group.el (gnus-group-insert-group-line):
4076         Call gnus-group-highlight-line.
4077         (gnus-group-update-hook): Remove gnus-group-highlight-line from the
4078         default hook list.
4079         (gnus-group-update-eval-form): Add new function.
4080         (gnus-group-highlight-line): Use gnus-group-update-eval-form.
4081         (gnus-group-get-icon): Use gnus-group-update-eval-form.
4082
4083 2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4084
4085         * nnimap.el (nnimap-request-expire-articles): If nnmail-expiry-wait is
4086         immediate, then expire all articles.
4087         (nnimap-update-info): Fix off-by-one errors.
4088         (nnimap-flags-to-marks): Would return no marks lists for group with no
4089         flags.  Instead return the other data.
4090
4091 2010-09-22  Julien Danjou  <julien@danjou.info>
4092
4093         * gnus-group.el (gnus-group-get-icon): Rename gnus-group-add-icon that
4094         Only return an icon.
4095         (gnus-group-insert-group-line): Compute icon to return.
4096
4097         * gnus-html.el (gnus-html-image-automatic-caching): Add custom var.
4098         (gnus-html-image-fetched): Only cache if
4099         gnus-html-image-automatic-caching is set.
4100         (gnus-html-image-fetched): Check for errors.
4101
4102 2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4103
4104         * gnus-start.el (gnus-read-active-for-groups): Only run -request-scan
4105         once per method on `g'.  This ensures that backends like nnfolder don't
4106         open all their folders.
4107
4108         * nnimap.el (nnimap-split-incoming-mail): Delete 'junk.
4109         (nnimap-request-list): Nix out group in the correct buffer.
4110         (nnimap-parse-flags): Implement by using `read' instead of
4111         hand-parsing.
4112         (nnimap-flags-to-marks): Pass on permanent-flags.
4113         (nnimap-make-process-buffer): Record the server name.
4114         (nnimap-parse-flags): Fix typo.
4115         (nnimap-request-scan): Run split on the server in general, not just a
4116         single group.
4117
4118         * nnmail.el (nnmail-split-incoming): Take an optional junk-func
4119         parameter, and propagate this downwards.
4120
4121         * nnimap.el (nnimap-request-list): Set the current nnimap group to nil,
4122         since EXAMINE changes it on the server.
4123
4124         * gnus-int.el (gnus-request-expire-articles): Inhibit the daemon, since
4125         this command might take a while.
4126
4127 2010-09-22  Julien Danjou  <julien@danjou.info>
4128
4129         * gnus-html.el (gnus-html-put-image): Stop using markers.  They are
4130         harmful if you have 2 images side-by-side, they can't be properly
4131         update on text deletion.  Using text-property is safer here.
4132         (gnus-html-image-fetched): Search also for \r\n\r\n to get the start of
4133         data.
4134
4135 2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4136
4137         * nnimap.el (nnimap-expunge-inbox): Remove.
4138         (nnimap-mark-and-expunge-incoming): Use nnimap-expunge instead.
4139         (nnimap-expunge): Flip default to t.
4140
4141         * gnus.el (gnus-method-to-server): Don't push things to the cache
4142         unless it's unique.
4143         (gnus-server-to-method): Ditto.
4144
4145 2010-09-22  Teodor Zlatanov  <tzz@lifelogs.com>
4146
4147         * nnimap.el (nnimap-delete-article): Tell user if expunge won't happen.
4148
4149 2010-09-22  Julien Danjou  <julien@danjou.info>
4150
4151         * gnus-html.el (gnus-html-get-image-data): Search also for \r\n\r\n to
4152         get the start of data.
4153         (gnus-html-encode-url): Add this function to encode special chars in
4154         URL.
4155         (gnus-html-wash-images): Use gnus-html-encode-url to encode URL.
4156         (gnus-html-prefetch-images): Use gnus-html-encode-url to encode URL.
4157
4158         * gnus-group.el (gnus-group-update-hook): Call gnus-group-add-icon by
4159         default.
4160         (gnus-group-add-icon): Move to gnus-group.el, and rewrite so it works.
4161
4162         * gnus-html.el (gnus-html-wash-images): Use xml-substitute-special on
4163         images alt-text.
4164         (gnus-html-put-image): Put alt-text as help-echo.
4165
4166 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
4167
4168         * mailcap.el (mailcap-parse-mailcap, mailcap-parse-mimetypes)
4169         * mm-util.el (mm-decompress-buffer)
4170         * nnir.el (nnir-run-find-grep)
4171         * pop3.el (pop3-list): Use 3rd arg of split-string.
4172
4173         * time-date.el (format-seconds): Comment fix.
4174
4175         * dgnushack.el (toplevel): Don't advise byte-optimize-form-code-walker
4176         and byte-optimize-form-code-walker.
4177         (dgnushack-make-auto-load): Don't advise make-autoload.
4178
4179         * lpath.el: Remove Emacs 21 stuff.
4180
4181 2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4182
4183         * gnus-sum.el (gnus-update-marks): Add sanity check to not delete marks
4184         outside the active range.  Suggested by Dan Christensen.
4185
4186         * gnus-start.el (gnus-get-unread-articles): Get the extended method
4187         slightly later to avoid double-getting it.
4188
4189         * nnml.el (nnml-generate-nov-file): Fix variable name clobbering from
4190         previous patch.
4191
4192         * gnus-sum.el (gnus-adjust-marked-articles): Fix another typo.
4193
4194 2010-09-21  Adam Sjøgren  <asjo@koldfront.dk>
4195
4196         * gnus-sum.el (gnus-adjust-marked-articles): Fix typo.
4197
4198 2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4199
4200         * gnus-int.el (gnus-open-server): Give a better error message in the
4201         "go offline" case.
4202
4203         * gnus-sum.el (gnus-adjust-marked-articles): Hack to avoid adjusting
4204         marks for nnimap, which is seldom the right thing to do.
4205
4206         * gnus.el (gnus-sloppily-equal-method-parameters): Refactor out.
4207         (gnus-same-method-different-name): New function.
4208
4209         * nnimap.el (parse-time): Require.
4210
4211         * gnus-start.el (gnus-get-unread-articles): Fix the prefixed select
4212         method in the presence of many similar methods.
4213
4214         * nnmail.el (nnmail-expired-article-p): Fix typo: time-subtract.
4215
4216         * nnimap.el (nnimap-find-expired-articles): Don't refer to
4217         nnml-inhibit-expiry.
4218
4219         * gnus-sum.el (gnus-summary-move-article): Use gnus-server-equal to
4220         find out whether methods are equal.
4221
4222         * nnimap.el (nnimap-find-expired-articles): New function.
4223         (nnimap-process-expiry-targets): New function.
4224         (nnimap-request-move-article): Request the article before looking at
4225         what the Message-ID is.  Fix found by Andrew Cohen.
4226         (nnimap-mark-and-expunge-incoming): Wait for the last sequence.
4227
4228         * nnmail.el (nnmail-expired-article-p): Allow returning the cutoff time
4229         for oldness in addition to being a predicate.
4230
4231         * nnimap.el (nnimap-request-group): When we have zero articles, return
4232         the right data to Gnus.
4233         (nnimap-request-expire-articles): Only delete articles immediately if
4234         the target is 'delete.
4235
4236         * gnus-sum.el (gnus-summary-move-article): When respooling to the same
4237         method, this would bug out.
4238
4239         * gnus-group.el (gnus-group-expunge-group): Rename from
4240         gnus-group-nnimap-expunge, and implemented as a normal interface
4241         function.
4242
4243         * gnus-int.el (gnus-request-expunge-group): New function.
4244
4245         * nnimap.el (nnimap-request-create-group): Implement.
4246         (nnimap-request-expunge-group): New function.
4247
4248 2010-09-21  Julien Danjou  <julien@danjou.info>
4249
4250         * gnus-html.el (gnus-html-image-cache-ttl): Add new variable.
4251         (gnus-html-cache-expired): Add new function.
4252         (gnus-html-wash-images): Use `gnus-html-cache-expired' to check
4253         wethever we should display image for fetch it.
4254         Compute alt-text earlier to pass it to the fetching function too.
4255         (gnus-html-schedule-image-fetching): Change function argument to only
4256         get one image at a time, not a list.
4257         (gnus-html-image-fetched): Use `url-store-in-cache' to store image in
4258         cache.
4259         (gnus-html-get-image-data): New function to retrieve image data from
4260         cache.
4261         (gnus-html-put-image): Change buffer argument to use image data rather
4262         than file, and place image above region rather than inserting a new
4263         one.  Do not take alt-text as argument, since it's useless now: we place
4264         the image above alt-text.
4265         (gnus-html-prune-cache): Remove.
4266         (gnus-html-show-images): Start to fetch image when we find one, do not
4267         push into a temporary list.
4268         (gnus-html-prefetch-images): Only fetch image if they have expired.
4269         (gnus-html-browse-image): Fix, use 'gnus-image-url.
4270         (gnus-html-image-map): Add "v" to browse-url on undisplayed image.
4271
4272 2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>
4273
4274         * rfc2047.el (rfc2047-encode-parameter): Doc fix.
4275
4276 2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4277
4278         * gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen)
4279         spec inser "*" if the group isn't active instead of 0.
4280
4281         * nnimap.el (nnimap-request-group): Don't select the imap buffer before
4282         opening the server.
4283         (nnimap-request-delete-group): Implement group deletion.
4284         (nnimap-transform-headers): Return the size of the entire message in
4285         the Bytes header, not just the size of the first part.
4286         (nnimap-request-move-article): When moving an article from nnimap,
4287         request the article first so the accepting form has an article to
4288         accept.  Reported by Dan Christensen.
4289         (nnimap-command): Make sure that the error message doesn't error out.
4290
4291 2010-09-20  David Edmondson  <dme@dme.org>  (tiny change)
4292
4293         * nnimap.el (nnimap-request-set-mark): Don't wait for a response when
4294         we haven't requested anything.
4295
4296 2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4297
4298         * nnimap.el (nnimap-fetch-inbox): Use "[]" as the parameter instead of
4299         "".  Fix found by Andrew Cohen.
4300
4301         * mail-parse.el (mail-header-encode-parameter): Use -encode-parameter
4302         instead of -encode-string.
4303
4304 2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>
4305
4306         * gnus-html.el (gnus-html-image-fetched): Pass arg to kill-buffer.
4307
4308         * gnus-sum.el (gnus-summary-update-mark): Replace subst-char-in-string
4309         by mm-subst-char-in-string.
4310
4311 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4312
4313         * nnimap.el (nnimap-wait-for-connection): Avoid a race condition while
4314         waiting for the connection string.
4315
4316         * gnus-html.el (gnus-html-image-fetched): Protect against the data not
4317         arriving.
4318
4319         * gnus-start.el (gnus-ignored-newsgroups): Remove [] from the list of
4320         bogus characters.  This allows selecting certain Gmail groups.
4321
4322         * nnimap.el (nnimap-find-wanted-parts-1): New function.
4323         (nnimap-fetch-partial-articles): New variable.
4324         (nnimap-open-connection): When looking for credentials, also use the
4325         nnimap-server-port.
4326         (nnimap-request-article): Return the group/article number, so that Gnus
4327         `^' works as expected.
4328         (nnimap-find-wanted-parts-1): Return the MIME parts as IMAP wants them.
4329
4330         * gnus.el (gnus-similar-server-opened): Refactor a bit and add
4331         comments.
4332         (gnus-methods-sloppily-equal): New function.
4333         (gnus): When using the development version of Gnus, load the gnus-load
4334         file.
4335
4336         * gnus-start.el (gnus-get-unread-articles): Make sure that we call
4337         `gnus-open-server' on each method before trying to scan them etc.
4338         This ensures that all the backend parameters are set correctly.
4339
4340         * nnimap.el (nnimap-authenticator): New variable.
4341         (nnimap-open-connection): Allow anonymous login.
4342         (nnimap-transform-headers): The chars header is called Chars not Bytes.
4343         (nnimap-wait-for-response): Don't infloop if the IMAP connection drops.
4344
4345         * gnus-art.el (gnus-article-describe-briefly): Fix up typo in last
4346         patch, found by Knut Anders Hatlen.
4347
4348 2010-09-19  Andreas Schwab  <schwab@linux-m68k.org>
4349
4350         * gnus-agent.el (gnus-agent-batch-confirmation)
4351         (gnus-agent-expire-group, gnus-agent-expire): Pass proper format string
4352         to gnus-message.
4353         * gnus-art.el (gnus-article-describe-briefly): Likewise.
4354         * gnus-group.el (gnus-group-list-groups, gnus-group-describe-group)
4355         (gnus-group-edit-global-kill, gnus-group-describe-briefly): Likewise.
4356         * gnus-int.el (gnus-open-server): Likewise.
4357         * gnus-score.el (gnus-score-edit-current-scores, gnus-score-edit-file)
4358         (gnus-score-check-syntax): Likewise.
4359         * gnus-srvr.el (gnus-browse-describe-briefly): Likewise.
4360         * gnus-start.el (gnus-read-active-file-1, gnus-read-active-file-1):
4361         Likewise.
4362         * gnus-sum.el (gnus-summary-describe-briefly): Likewise.
4363
4364 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4365
4366         * gnus-html.el (gnus-html-prefetch-images): Fix up the url-retrieve
4367         calling conventions so that prefetch doesn't bug out.
4368
4369 2010-09-19  Julien Danjou  <julien@danjou.info>
4370
4371         * gnus-sum.el (gnus-summary-update-mark): Use `subst-char-in-string'
4372         rather than `subst-char-in-region' in order to be able to replace ASCII
4373         char by UTF-8 ones.
4374
4375         * gnus-html.el (gnus-html-prefetch-images): Use `url-retrieve' rather
4376         than curl.
4377         (gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting
4378         the right URL and ALT text on images.
4379         (gnus-html-wash-tags): Fix tag case.
4380         Add support for `s' and `ins' tags.  Use gnus-emphasis-* faces.
4381         (gnus-article-html): Add -o display_ins_del=2 option.
4382         (gnus-html-wash-tags): Add better support for <ul> tags symbols.
4383
4384 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4385
4386         * nnheader.el (nnheader-insert-nov): Protect against junk appearing in
4387         the extra mail headers, which sometimes seem to happen for unknown
4388         reasons.
4389
4390         * mail-parse.el (mail-header-encode-parameter): Define as
4391         rfc2045-encode-string instead of as rfc2231-encode-string, since some
4392         (or most, perhaps?) mail readers don't understand the latter, but do
4393         understand the former.
4394
4395         * gnus-agent.el (gnus-agent-auto-agentize-methods): Switch the default
4396         to nil, so that no methods are automatically agentized.  I think this
4397         is probably what most users want.
4398
4399         * gnus-html.el (gnus-html-schedule-image-fetching): Ignore all errors
4400         from url-retrieve, for instance about invalid URLs.
4401
4402         * nnimap.el (nnimap-finish-retrieve-group-infos): Protect against
4403         groups that have no articles.
4404         (nnimap-request-article): Check that we really got an article when we
4405         requested one.
4406
4407         * gnus-agent.el (gnus-agent-load-alist): Nix out the alist if the file
4408         doesn't exist.
4409
4410         * nnimap.el (nnimap-finish-retrieve-group-infos): Return data in the
4411         nntp buffer so the agent can save it.
4412         (nnimap-open-shell-stream): Bind `process-connection-type' to nil, so
4413         that CRLF doesn't get translated to \n.
4414         (nnimap-open-connection): Don't make 'shell commands only send \n.
4415
4416 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4417
4418         * nnml.el (nnml-files): Add prefix to dynamic var `files'.
4419         (nnml-generate-nov-databases-directory, nnml-generate-active-info):
4420         Update var name.
4421         (nnml-generate-nov-file): Use dolist.
4422         (nnml-directory-articles, nnml-current-group-article-to-file-alist):
4423         Use with-current-buffer.
4424
4425 2010-09-18  Julien Danjou  <julien@danjou.info>
4426
4427         * gnus-html.el (gnus-html-schedule-image-fetching): Fetch all images in
4428         parallel.
4429
4430 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4431
4432         * nnimap.el (nnimap-update-info): When doing partial marks update, get
4433         the range update right.
4434         (nnimap-request-group): Don't make `M-g' bug out on group with no
4435         marks.
4436         (nnoo): Require, so that other packages can require nnimap.
4437         (nnimap-wait-for-response): Be a bit more lax in finding the end of the
4438         command we're looking for.  This helps when the server sends more
4439         responses after we've gotten everything we expected.
4440         (nnimap): Add a `newlinep' field to keep track of end-of-line
4441         conventions.
4442         Don't send CRLF to things that don't want it.
4443         (nnimap-request-accept-article): Ditto.
4444
4445 2010-09-18  Julien Danjou  <julien@danjou.info>
4446
4447         * gnus-html.el (gnus-html-schedule-image-fetching): Use `url' rather
4448         than curl to retrieve images.
4449
4450 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4451
4452         * nnimap.el (nnimap-update-info): Extend the info so that we can set
4453         the marks.
4454         (nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.
4455         (nnimap-wait-for-connection): New function.
4456         (nnimap-open-connection): If we have PREAUTH, don't query for login
4457         credentials.
4458         (nnimap-update-info): Fix off-by-one error when concatenating ranges
4459         when doing a partial update.
4460
4461 2010-09-18  Julien Danjou  <julien@danjou.info>
4462
4463         * gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML
4464         tags.
4465
4466 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4467
4468         * nnimap.el (nnimap-credentials): New function.
4469         (nnimap-open-connection): Use the new function to look for credentials
4470         also on the numeric equivalents of "imap" and "imaps".
4471
4472         * gnus-start.el (gnus-activate-group): Send the info to
4473         gnus-request-group.
4474
4475         * nnimap.el (nnimap-request-group): Have the "check" version of the
4476         function parse flags and update the info, so that a `M-g' get a total
4477         resync of all flags from the group.
4478
4479         * gnus-int.el (gnus-request-group): Take an optional `info' parameter
4480         to allow backends to alter the info on group selection.  Also alter all
4481         the backend -request-group functions to take the parameter.
4482
4483         * nnimap.el (nnimap-store-info): New function.
4484         (nnimap-update-info): Store the info for later usage.
4485         (nnimap-request-group): Use the stored info for the dont-check case, so
4486         that we don't retrieve all marks when we enter a group.
4487
4488         * nnimap.el: Use deffoo instead of defun for interface functions.
4489
4490         * gnus-start.el (gnus-get-unread-articles): Allow the backends to
4491         update the group info.  This makes the nndraft groups, for instance, go
4492         back to their old behaviour.
4493
4494         * gnus-sum.el (gnus-select-newsgroup): Indent.
4495
4496         * nnimap.el (nnimap-possibly-change-group): Return nil if we can't log
4497         in.
4498         (nnimap-finish-retrieve-group-infos): Make sure we're not waiting for
4499         nothing.
4500
4501         * gnus-start.el (gnus-get-unread-articles): Don't try to scan groups
4502         from methods that are denied.
4503
4504         * gnus-int.el (gnus-method-denied-p): New function.
4505
4506         * nnimap.el (nnimap-open-connection): Use auth-sources to query and
4507         store the password instead of netrc.
4508         (nnimap-open-connection): Don't error out when we can't make a
4509         connections.
4510
4511         * auth-source.el (auth-source-create): In the password prompt, say what
4512         we're querying for.  Also prompt for user name if that hasn't been
4513         given.
4514
4515         * nnimap.el (nnimap-with-process-buffer): Remove.
4516
4517 2010-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4518
4519         * gnus-start.el (gnus-read-active-for-groups): Don't use the "finish"
4520         method when we're reading from the agent.
4521
4522         * nnagent.el (nnagent-retrieve-group-data-early): New dummy method.
4523
4524         * auth-source.el (auth-sources): Add ~/.authinfo to the default, since
4525         that's probably most useful for users.
4526
4527         * gnus-int.el (gnus-check-server): Save result so that it doesn't say
4528         "failed" all the time.
4529
4530         * gnus.el: Throughout all files, replace (save-excursion (set-buffer
4531         ...)) with (with-current-buffer ... ).
4532
4533         * nntp.el (nntp-open-server): Return whether the open was successful or
4534         not.
4535
4536         * gnus-sum.el (gnus-summary-first-subject): Have `unseen-or-unread'
4537         select an unread unseen article first.
4538
4539         * nnimap.el (nnimap-open-connection): If the user doesn't have a
4540         /etc/services, supply some sensible port defaults.
4541
4542         * dgnushack.el: Define netrc-credentials.
4543
4544 2010-09-17  Julien Danjou  <julien@danjou.info>
4545
4546         * mm-decode.el (mm-text-html-renderer): Document gnus-article-html.
4547
4548 2010-09-17  Knut Anders Hatlen  <kahatlen@gmail.com>  (tiny change)
4549
4550         * nnimap.el (nnimap-get-groups): Don't bug out if the LIST command
4551         doesn't have any parameters.
4552
4553 2010-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4554
4555         * nnimap.el (nnimap-open-connection): Upcase all capabilities, and use
4556         only upcased checks.
4557
4558         * nnmail.el (nnmail-article-group): Fix typo in "bogus" section.
4559
4560         * nnimap.el (nnimap-open-shell-stream): New function.
4561         (nnimap-open-connection): Use it.
4562         (nnimap-transform-headers): Get the number of lines in each message.
4563         (nnimap-retrieve-headers): Query for BODYSTRUCTURE so that we get the
4564         number of lines.
4565         (nnimap-request-list): Not all servers return UIDNEXT.  Work past this
4566         problem.
4567
4568         * utf7.el (utf7-encode): Autoload.
4569
4570         * nnmail.el (nnmail-inhibit-default-split-group): New internal variable
4571         to allow the mail splitting to not return a default group.  This is
4572         useful for nnimap, which will leave unmatched mail in the inbox.
4573
4574         * nnimap.el: Rewritten.
4575
4576         * gnus.el (gnus-article-special-mark-lists): Add uid/active tuples, for
4577         nnimap usage.
4578
4579         * gnus-sum.el (gnus-summary-move-article): Pass the move-to group name
4580         if the move is internal, so that nnimap can do fast internal moves.
4581
4582         * gnus-start.el (gnus-get-unread-articles): Support early retrieval of
4583         data.
4584         (gnus-read-active-for-groups): Support finishing the early retrieval of
4585         data.
4586
4587         * gnus-range.el (gnus-range-nconcat): New function.
4588
4589         * gnus-int.el (gnus-finish-retrieve-group-infos)
4590         (gnus-retrieve-group-data-early): New functions.
4591
4592 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4593
4594         * nnrss.el (nnrss-retrieve-headers, nnrss-request-list-newsgroups)
4595         (nnrss-retrieve-groups):
4596         * pop3.el (pop3-open-server, pop3-read-response, pop3-list, pop3-retr)
4597         (pop3-quit): Use with-current-buffer.
4598
4599 2010-09-17  Katsumi Yamaoka  <yamaoka@jpl.org>
4600
4601         * pop3.el (pop3-wait-for-messages): Use pop3-accept-process-output
4602         instead of nnheader-accept-process-output.
4603
4604         * dgnushack.el (dgnushack-compile): Add comment.
4605
4606         * lpath.el: No need to fbind propertize for XEmacs 21.4.
4607
4608         * gnus-html.el (gnus-html-schedule-image-fetching)
4609         (gnus-html-prefetch-images): Replace process-kill-without-query by
4610         gnus-set-process-query-on-exit-flag.
4611
4612 2010-09-16  Romain Francoise  <romain@orebokech.com>
4613
4614         * gnus-html.el: Require gnus-art for `gnus-with-article-buffer'.
4615
4616 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4617
4618         * gnus-registry.el (gnus-registry-install-shortcuts): The second
4619         parameter to unintern is mandatory-ish in Emacs 24.
4620
4621         * gnus-html.el (gnus-html-schedule-image-fetching)
4622         (gnus-html-prefetch-images): Check for curl before using it.
4623
4624         * mm-decode.el (mm-text-html-renderer): Don't have gnus-article-html
4625         depend on curl, which isn't essential.
4626
4627         * imap.el: Revert back to version
4628         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4629         seem problematic.
4630
4631 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
4632
4633         * gnus-registry.el (gnus-registry-install-shortcuts):
4634         Explicitly pass `obarray' to `unintern' to avoid a warning.
4635
4636 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4637
4638         * gnus-start.el (gnus-read-active-for-groups): Revert the previous
4639         change.
4640
4641         * nnrss.el (nnrss-request-list): Remove this function and related
4642         functions, including the moreover stuff.
4643
4644 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4645
4646         * nnrss.el (nnrss-retrieve-groups): New function.
4647
4648 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
4649
4650         * .dir-locals.el: Add no-byte-compile cookie.
4651
4652 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
4653
4654         * time-date.el (format-seconds): Comment fix.
4655
4656         * gnus-start.el (gnus-read-active-for-groups): Run gnus-activate-group
4657         for back end that doesn't support request-scan.
4658
4659 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4660
4661         * gnus-start.el (gnus-read-active-file-1): If gnus-agent isn't set,
4662         then do request scans from the backends.
4663
4664         * netrc.el (netrc-credentials): New conveniency function.
4665
4666         * gnus-sum.el (gnus-summary-update-hook): Change default to nil, to
4667         avoid running a hook per line, since this takes a lot of time,
4668         profiling shows.
4669         (gnus-summary-prepare-threads): Call `gnus-summary-highlight-line'
4670         directly if gnus-visual-p is true.
4671
4672 2010-09-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4673
4674         * gnus-start.el (gnus-read-active-for-groups): Check only subscribed
4675         groups; replace mapcar with dolist which is a bit faster; pass groups
4676         info to gnus-read-active-file-1.
4677         (gnus-read-active-file-1): Scan only specified groups if the new
4678         optional arg `infos' is given.
4679
4680 2010-09-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4681
4682         * mail-source.el (mail-source-fetch-pop): Use pop3-movemail again.
4683
4684         * pop3.el (pop3-movemail): Remove.
4685         (pop3-streaming-movemail): Rename to pop3-movemail.
4686
4687         * gnus-html.el (gnus-html-wash-tags): Refactor out the image bit, and
4688         don't restrict end-tag searches to the end of the line.
4689
4690 2010-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
4691
4692         * gnus-start.el (gnus-get-unread-articles): Set the number of unread
4693         articles of every unchecked group to t, which means unknown since the
4694         server has never been opened.
4695
4696 2010-09-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4697
4698         * gnus-html.el (gnus-html-show-alt-text): New command.
4699         (gnus-html-browse-image): Ditto.
4700         (gnus-html-wash-tags): Add the data to allow showing the ALT text and
4701         to browse the image directly.
4702         (gnus-html-wash-tags): Search for images first, so that <a><img> works
4703         better.
4704
4705         * gnus-async.el (gnus-async-article-callback):
4706         Call `gnus-html-prefetch-images' unconditionally.
4707
4708         * gnus-html.el (gnus-html-schedule-image-fetching): Decode entities
4709         before feeding URLs to curl.
4710
4711 2010-09-07  Katsumi Yamaoka  <yamaoka@jpl.org>
4712
4713         * gnus-html.el (gnus-html-wash-tags, gnus-html-put-image): Mark cid and
4714         internal images as deletable by `W D D'.
4715
4716         * gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling.
4717         (gnus-async-article-callback): Fix typo.
4718
4719 2010-09-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4720
4721         * gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the
4722         current line to work around bugs in the output from w3m.
4723
4724         * gnus-async.el (gnus-async-article-callback): Always prefetch images
4725         for groups that want that.
4726
4727         * nntp.el (nntp-wait-for-string): Supply a timeout for
4728         accept-process-output to ensure progress.
4729
4730         * gnus-start.el (gnus-get-unread-articles): If being given an explicit
4731         level to get unread articles from, then use that for foreign groups,
4732         too.
4733
4734         * gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which
4735         confuses the rest of the function.
4736
4737         * gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan'
4738         for the methods that support -retrieve-groups, too.
4739
4740         * nnml.el (nnml-save-nov): Remove some debugging-related messages.
4741
4742 2010-09-06  Katsumi Yamaoka  <yamaoka@jpl.org>
4743
4744         * dgnushack.el (dgnushack-compile, dgnushack-make-cus-load)
4745         (dgnushack-make-auto-load): Exclude .dir-locals.el file.
4746
4747         * pop3.el: Require cl when compiling.
4748         (pop3-number-of-responses): Search for "+OK", not "+OK ".
4749
4750 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4751
4752         * gnus-start.el (gnus-get-unread-articles): Don't bother with groups
4753         that aren't going to be activated.
4754         (gnus-get-unread-articles): Fix up the last commit.
4755
4756         * gnus-html.el (gnus-article-html): Allow calling without specifying
4757         the handle.  In that case, dissect the buffer first.
4758
4759         * gnus-sum.el (gnus-set-mode-line): Don't pad the mode line string.
4760
4761         * nnimap.el (nnimap-open-connection): Revert the change that would look
4762         into authinfo for imaps instead of imap.
4763
4764         * gnus-start.el (gnus-activate-group): Take an optional parameter to
4765         say that you don't want to call gnus-request-group with don-check, but
4766         do check the reponse.  This is for virtual groups only.
4767         (gnus-get-unread-articles): Count the archive groups as secondary, so
4768         that they're activated the same way as before.
4769
4770         * imap.el (imap-message-map): Removed optional buffer parameter, since
4771         no callers use it.
4772         (imap-message-get): Ditto.
4773         (imap-message-put): Ditto.
4774         (imap-mailbox-map): Ditto.
4775         (imap-mailbox-put): Ditto.
4776         (imap-mailbox-get): Ditto.
4777         (imap-mailbox-get): Revert last change for this function.
4778
4779         * nnimap.el (nnimap-request-list): Servers may return \NoSelect
4780         case-insensitively.
4781         (nnimap-debug): Remove.
4782
4783         * imap.el (imap-fetch-safe): Removed function, and altered all callers
4784         to use `imap-fetch' instead.  According to the comments, this should be
4785         safe, since all other IMAP clients use the 1:* syntax.
4786         (imap-enable-exchange-bug-workaround): Removed.
4787         (imap-debug): Removed -- doesn't seem very useful.
4788
4789         * mail-source.el (mail-source-fetch): Don't message if we're fetching
4790         mail from a file, and the file doesn't exist.
4791
4792         * imap.el (imap-log): New convenience function used throughout instead
4793         of repeating the same code all over the place.
4794
4795         * pop3.el (pop3-streaming-movemail): Return t for success.
4796
4797         * nnimap.el (nnimap-open-connection): Look for the "imaps" entry in the
4798         .authinfo if we're using ssl connection.
4799
4800         * nnvirtual.el (nnvirtual-create-mapping): Use the active info we
4801         already have if we're in a main Gnus `g' run.
4802
4803         * gnus-start.el (gnus-method-rank): Get info for virtual groups last.
4804
4805 2010-09-05  Katsumi Yamaoka  <yamaoka@jpl.org>
4806
4807         * gnus-start.el (gnus-method-rank): Replace equalp with equal.
4808
4809         * nnmh.el (nnmh-request-list-1): Bind `file'.
4810
4811         * pop3.el (pop3-set-process-query-on-exit-flag): New function that's an
4812         alias to set-process-query-on-exit-flag or process-kill-without-query.
4813         (pop3-open-server): Use it.
4814
4815 2010-09-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4816
4817         * mail-source.el (mail-source-delete-crash-box): Always move the crash
4818         box to the Incoming file.  Fixes mistake in previous checkin.
4819
4820         * pop3.el (pop3-send-streaming-command): Off-by-one error on the
4821         request loop (for debugging purposes) removed.
4822
4823         * nnml.el (nnml-save-nov): Message around nnml-save-nov so that the
4824         culprit is more visible.
4825         (nnml-save-incremental-nov, nnml-open-incremental-nov)
4826         (nnml-add-incremental-nov): New functions to do "incremental" nov
4827         updates, where we just append to the end of the existing nov files
4828         without reading/writing them in full.
4829
4830         * mail-source.el (mail-source-delete-crash-box): Really only check the
4831         incoming files once in a while.
4832
4833         * pop3.el (pop3-streaming-movemail): Always close the pop3 connection.
4834
4835         * mail-source.el (mail-source-delete-crash-box): Only check the
4836         incoming files for deletion once per day to save a lot of file
4837         accesses.
4838
4839         * pop3.el (pop3-logon): Fix up unbound variable typo.
4840
4841         * mail-source.el (pop3-streaming-movemail): Autoload.
4842
4843         * pop3.el (pop3-streaming-movemail):
4844         Respect pop3-leave-mail-on-server.
4845
4846         * mail-source.el (mail-source-fetch-pop): Use streaming pop3
4847         retrieval.
4848
4849         * pop3.el (pop3-process-filter): Remove unused function.
4850         (pop3-streaming-movemail, pop3-send-streaming-command)
4851         (pop3-wait-for-messages, pop3-write-to-file)
4852         (pop3-number-of-responses): New functions for streaming pop3
4853         retrieval.
4854
4855         * gnus-start.el (gnus-get-unread-articles): Protect against groups that
4856         come from no known methods.
4857         (gnus-make-hashtable-from-newsrc-alist): Remove duplicates from .newsrc
4858         list.
4859
4860         * pop3.el (pop3-display-message-size-flag): Remove -- everybody wants
4861         message sizes.
4862         (pop3-movemail): Use erase-buffer instead of looping and deleting
4863         regions, which seems rather odd.
4864
4865         * gnus-agent.el (gnus-agent-load-local): Only read the agent.lib/local
4866         file once per `g' run.
4867
4868         * nnmh.el (nnmh-request-list-1): Output active lines also for empty
4869         directories.  This makes the draft queue directory work.
4870
4871         * gnus-start.el (gnus-get-unread-articles): Rewrite the way we request
4872         data from the backends, so that we only request the list of groups from
4873         each method once.  This should speed things up considerably.
4874
4875         * nnvirtual.el (nnvirtual-request-list): Remove function so that we can
4876         detect that it's not implemented.
4877
4878         * nnmh.el (nnmh-request-list-1): Fix up the recursion behavior so that
4879         we actually do recurse down into the tree, but don't stat all leaf
4880         nodes.
4881
4882         * gnus-html.el (gnus-html-show-images): If there are no images to show,
4883         then say so instead of bugging out.
4884
4885         * gnus-agent.el (gnus-agent-load-alist): Check whether the agentview
4886         files exist before trying to read them.
4887
4888         * gnus-html.el (gnus-html-wash-tags): Remove even more white space
4889         around <pre_int>.
4890
4891         * gnus-art.el (gnus-article-copy-string): Say what data we copied.
4892
4893         * nnmh.el (nnmh-request-list-1): Optimize for speed.
4894
4895 2010-09-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4896
4897         * mm-util.el (mm-image-load-path): Just return the image directories,
4898         not all directories in the path in addition to the image directories.
4899         (mm-image-load-path): Maintain a cache of the image directories so that
4900         the `g' command in Gnus doesn't have to stat dozens of directories each
4901         time.
4902
4903         * gnus-html.el (gnus-html-put-image): Allow images to be removed.
4904         (gnus-html-wash-tags): Add a new `i' command to insert images.
4905         (gnus-html-insert-image): New command and keystroke.
4906         (gnus-html-redisplay-with-images): New command and keystroke.
4907         (gnus-html-show-images): Rename command.
4908         (gnus-html-wash-tags): Remove more white space before <pre_int> image
4909         spacers.
4910         (gnus-html-wash-tags): Decode entities at the end, so that entities
4911         inside the tags don't mess up the rest of the "parsing".
4912
4913         * gnus-agent.el (gnus-agent-auto-agentize-methods): Change the default
4914         so that nnimap methods aren't agentized by default.  There's apparently
4915         many problems related to agent/imap behaviour.
4916
4917         * gnus-art.el (gnus-article-copy-string): New command and key binding.
4918
4919         * gnus-html.el: Doc fix.
4920
4921 2010-09-03  Katsumi Yamaoka  <yamaoka@jpl.org>
4922
4923         * lpath.el: Fbind device-on-window-system-p, glyph-image, glyphp, and
4924         specifier-spec-list for Emacs 21.
4925
4926         * gnus-html.el (gnus-html-put-image): Use gnus-graphic-display-p,
4927         glyph-width and glyph-height instead of display-graphic-p and
4928         image-size; make avoidance of displaying small images work for XEmacs.
4929
4930         * gnus-util.el (gnus-graphic-display-p): Use device-on-window-system-p
4931         for XEmacs.
4932
4933         * gnus-ems.el (gnus-set-process-plist, gnus-process-plist): Change name
4934         of symbol that holds plist data.
4935         (gnus-process-plist): Remove plist of process after getting it.
4936
4937 2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4938
4939         * message.el (message-generate-hashcash): Change default to
4940         'opportunistic if hashcash is installed.
4941
4942         * gnus-html.el (gnus-html-rescale-image): Fix up typo in rescaling.
4943         (gnus-html-put-image): Only call image-size once, since it's somewhat
4944         time-consuming on remote X servers.
4945
4946 2010-09-02  Katsumi Yamaoka  <yamaoka@jpl.org>
4947
4948         * gnus-xmas.el (gnus-xmas-create-image): Don't try to examine image
4949         type on data, not a file name.
4950
4951         * lpath.el: Fbind w3-parse-buffer for Emacs <=22 and XEmacs; fbind
4952         window-pixel-edges for Emacs 21.
4953
4954         * gnus-html.el (gnus-article-html): Make work buffer multibyte for
4955         decoded contents.
4956         (gnus-html-put-image, gnus-html-rescale-image): Pass `file' argument.
4957
4958 2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4959
4960         * gnus-group.el (gnus-group-line-format): Remove %O (moderated) from
4961         group line format, since it isn't very interesting.
4962
4963         * gnus-agent.el (gnus-agent-short-article),
4964         (gnus-agent-long-article): Increase values for these two variables,
4965         since most people are likely to have more network connection and
4966         storage than before.
4967
4968         * gnus.el (gnus-refer-article-method): Change default to 'current.
4969         When referring an article, the common behaviour is to refer it from the
4970         current select method, not the native select method.  The chances of
4971         the native select method having the message in question is rather slim
4972         these days.
4973
4974         * gnus-sum.el (gnus-auto-select-subject): Change default to
4975         `unseen-or-unread'.  I think it's likely that most people want to
4976         select an unseen article over a previously seen, but unread one.
4977
4978         * gnus.el (gnus-mode-non-string-length): Change default to 30.  nil
4979         means that in the article buffer none of the minor mode elements will
4980         be shown, usually, and this is not desirable in most cases.
4981
4982         * gnus-sum.el (gnus-summary-goto-unread): Change default to nil, so
4983         that commands like `d' (and the like) go to the next line in the
4984         buffer, instead of the next unread article.  I think this is the
4985         behaviour that is most natural for most users.
4986         (gnus-single-article-buffer): Change default to nil, so that people can
4987         have as many article buffers open as they have summary buffer.  I think
4988         this is the most natural way for the groups to behave.
4989
4990         * message.el (message-generate-new-buffers): Change default to
4991         `unsent', so that all new message buffers start their names with the
4992         string "*unsent", and it's easier to find the buffers if you move from
4993         them.
4994
4995 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4996
4997         * gnus-html.el (gnus-html-wash-tags): Don't show images that are really
4998         small.  They're probably tracking images.
4999         (gnus-html-wash-tags): Remove all <pre_int> place holders.
5000         (gnus-html-rescale-image): Yet another try at getting the image sizing
5001         right.
5002
5003         * nntp.el (nntp-request-set-mark): Refuse to do marks if
5004         nntp-marks-file-name is nil.
5005
5006 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
5007
5008         * gnus-html.el (gnus-html-wash-tags)
5009         (gnus-html-schedule-image-fetching, gnus-html-image-url-blocked-p):
5010         Better logging.
5011
5012 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5013
5014         * nndoc.el (nndoc-type-alist): Add a new type for Google digests.
5015
5016         * gnus-html.el (gnus-html-wash-tags): Check the value of
5017         gnus-blocked-images in the summary buffer.
5018
5019 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
5020
5021         * gnus-html.el (gnus-html-image-url-blocked-p): Doc fix.
5022
5023 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5024
5025         * gnus-html.el (gnus-html-wash-tags): "A" is also used for links, just
5026         like "a", it seems like.
5027         (gnus-html-image-url-blocked-p): Take a parameter for blocked-images
5028         since it needs to be picked from the correct buffer.
5029
5030         * nnwfm.el: Remove.
5031
5032         * nnlistserv.el: Remove.
5033
5034 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
5035
5036         * gnus-html.el (gnus-html-image-url-blocked-p): New function.
5037         (gnus-html-prefetch-images, gnus-html-wash-tags): Use it.
5038
5039 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5040
5041         * nnkiboze.el: Remove.
5042
5043         * nndb.el: Remove.
5044
5045         * gnus-html.el (gnus-html-put-image): Use the deleted text as the image
5046         alt text.
5047         (gnus-html-rescale-image): Try to get the rescaling logic right for
5048         images that are just wide and not tall.
5049
5050         * gnus.el (gnus-string-or): Fix the syntax to not use eval or
5051         overshadow variable bindings.
5052
5053 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
5054
5055         * gnus-html.el (gnus-html-wash-tags)
5056         (gnus-html-schedule-image-fetching, gnus-html-prefetch-images):
5057         Add extra logging.
5058
5059 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5060
5061         * gnus-html.el (gnus-html-wash-tags): Delete the IMG_ALT region.
5062         (gnus-max-image-proportion): New variable.
5063         (gnus-html-rescale-image): New function.
5064         (gnus-html-put-image): Rescale images.
5065
5066 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5067
5068         Fix up some byte-compiler warnings.
5069         * gnus.el (gnus-group-find-parameter, gnus-kill-save-kill-buffer):
5070         * gnus-cite.el (gnus-article-highlight-citation, gnus-dissect-cited-text)
5071         (gnus-article-fill-cited-article, gnus-article-hide-citation)
5072         (gnus-article-hide-citation-in-followups, gnus-cite-toggle):
5073         * gnus-group.el (gnus-group-set-mode-line, gnus-group-quit)
5074         (gnus-group-set-info, gnus-add-mark): Use with-current-buffer.
5075         (gnus-group-update-group): Use save-excursion and with-current-buffer.
5076
5077 2010-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
5078
5079         * gnus-html.el (gnus-article-html): Decode contents by charset.
5080
5081 2010-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
5082
5083         * gnus-html.el (gnus-html-cache-directory, gnus-html-cache-size)
5084         (gnus-html-frame-width, gnus-blocked-images)
5085         * message.el (message-prune-recipient-rules): Add custom version.
5086         * gnus-sum.el (gnus-auto-expirable-marks): Bump custom version.
5087
5088         * gnus-ems.el (gnus-process-get, gnus-process-put): New compatibility
5089         functions.
5090
5091         * gnus-html.el (gnus-html-curl-sentinel): Replace process-get with
5092         gnus-process-get.
5093
5094 2010-08-31  Julien Danjou  <julien@danjou.info>  (tiny change)
5095
5096         * nnimap.el (nnimap-request-newgroups): Use nnimap-request-list-method
5097         instead of lsub directly.
5098
5099 2010-08-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5100
5101         * nnwarchive.el: Remove.
5102
5103         * gnus-soup.el: Remove.
5104
5105         * nnsoup.el: Remove.
5106
5107         * nnultimate.el: Remove.
5108
5109         * gnus-html.el (gnus-blocked-images): New variable.
5110
5111         * message.el (message-prune-recipients): New function.
5112         (message-prune-recipient-rules): New variable.
5113
5114         * gnus-cite.el (gnus-article-natural-long-line-p): New function to
5115         guess whether a long line is natural text or not.
5116
5117         * gnus-html.el (gnus-html-schedule-image-fetching):
5118         Use gnus-process-plist and friends for compatibility.
5119
5120 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5121
5122         * gnus-html.el: Require packages that define macros used in this file.
5123         (gnus-article-mouse-face): Declare to silence byte-compiler.
5124         (gnus-html-curl-sentinel): Use with-current-buffer, inhibit-read-only, and
5125         process-get.
5126         (gnus-html-put-image): Use plist-get to avoid getf.
5127         (gnus-html-prefetch-images): Use with-current-buffer.
5128
5129 2010-08-31  Katsumi Yamaoka  <yamaoka@jpl.org>
5130
5131         * gnus-ems.el: Provide compatibility functions for
5132         gnus-set-process-plist.
5133
5134         * lpath.el: Bind completion-styles for Emacs 21 and XEmacs; bind
5135         header-line-format for XEmacs 21.4.
5136
5137         * gnus-sum.el (gnus-summary-stop-at-end-of-message)
5138         * gnus.el (gnus-valid-select-methods)
5139         * message.el (message-send-mail-partially-limit)
5140         * mm-decode.el (mm-text-html-renderer)
5141         * mml.el (mml-insert-mime-headers-always)
5142         * smiley.el (smiley-regexp-alist): Bump custom version.
5143
5144 2010-08-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5145
5146         * gnus-html.el: require mm-url.
5147         (gnus-html-wash-tags): Clarify the code a bit by renaming the variable
5148         with the url to `url'.
5149         (gnus-html-wash-tags): Support cid: URLs/images.
5150
5151 2010-08-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5152
5153         * gnus-sum.el: As per discussion 3 years, 8 weeks, 3 days, 9 hours, 57
5154         minutes, 56 seconds ago on the ding list, remove the `w' and `i'
5155         bindings, as they aren't useful at all.  `w' is moved to `W w'.
5156
5157         * gnus-move.el: Remove file, since it doesn't really work.
5158
5159         * gnus-html.el (gnus-article-html): Tell w3m that the input is
5160         UTF-8.  This seems to fix problems with some German web feeds.
5161
5162         * gnus.el (gnus-group-startup-message): Put the xpm version of the logo
5163         at the top so that the proper colours are applied.
5164
5165         * gnus-xmas.el (gnus-xmas-create-image): Make this work on files that
5166         don't have dots in their names.
5167
5168         * gnus-art.el (gnus-article-view-part): Doc fix.
5169
5170         * gnus-html.el (gnus-html-put-image): Use gnus-create-image to be
5171         XEmacs-compatible.
5172         (gnus-html-put-image): Don't do images on non-graphic displays.
5173
5174         * nnslashdot.el: Remove this unused backend.
5175
5176         * gnus-undo.el (gnus-undo-register-1): Limit the undo actions to 100
5177         actions.
5178         (gnus-undo-register-1): Revert last change.
5179
5180         * gnus-group.el (gnus-group-completing-read): Protect against not
5181         having completion-styles bound.
5182
5183         * mml.el (mml-insert-mime-headers-always): Change the default to t, to
5184         make broken recipients happier.
5185
5186         * gnus-html.el (gnus-html-put-image): Use gnus-put-image.
5187
5188         * gnus-ems.el (gnus-put-image): Have gnus-put-image take an optional
5189         point parameter.
5190
5191         * gnus-xmas.el (gnus-xmas-put-image): Ditto.
5192
5193         * gnus-group.el (gnus-group-completing-read): Add 'substring to
5194         completion-styles for group selection.
5195
5196 2009-02-04  Andreas Schwab  <schwab@suse.de>
5197
5198         * gnus-score.el (gnus-score-string): Fix regex for matching extra
5199         headers and regexp-quote the match if necessary.
5200
5201 2009-03-24  Miles Bader  <miles@gnu.org>
5202
5203         * smiley.el (smiley-regexp-alist): Don't delete the semicolon before
5204         the blinking smiley.
5205
5206 2009-03-24  Simon Josefsson  <simon@josefsson.org>
5207
5208         * smiley.el (smiley-regexp-alist): Disallow ;;) from being treated as a
5209         blink smiley.
5210
5211 2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5212
5213         * gnus-start.el (gnus-dribble-read-file): Ensure that the directory
5214         where the dribbel file lives exists.
5215
5216         * message.el (message-send-mail-partially-limit): Change the default to
5217         nil, since most people don't want this.
5218
5219         * mm-url.el (mm-url-decode-entities): Also decode entities like
5220         &#x3212.
5221
5222 2009-07-16  Kevin Ryde  <user42@zip.com.au>  (tiny change)
5223
5224         * gnus-sum.el (gnus-summary-idna-message):
5225         * nnrss.el (nnrss-normalize-date, nnrss-discover-feed):
5226         Hyperlink urls in docstrings with URL `...'.
5227
5228 2010-08-29  Adam Sjøgren  <asjo@koldfront.dk>
5229
5230         * gnus-html.el (gnus-html-put-image): Use XEmacs-compatible image
5231         functions.
5232
5233 2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5234
5235         * gnus-art.el (gnus-article-add-button): Take an optional parameter to
5236         say what the mouseover text should be.
5237
5238         * gnus-html.el (gnus-html-prefetch-images): Use the summary-local
5239         version of the mm-w3m-safe-url-regexp variable to only download images
5240         in the groups where we want that to happen.
5241
5242         * gnus-sum.el (gnus-summary-stop-at-end-of-message): New variable.
5243
5244         * gnus-art.el (gnus-article-beginning-of-window): Make into defun for
5245         easier debugging.
5246         (gnus-article-beginning-of-window): Add kludge to allow spacing past
5247         big pictures in the article buffer.
5248
5249         * mm-decode.el (mm-text-html-renderer): Default the html renderer to
5250         gnus-article-html.
5251         (mm-text-html-renderer): gnus-article-html needs curl in addition to
5252         w3m.
5253
5254         * gnus-html.el: Start a new super-simple HTML renderer based on w3m.
5255
5256 2010-08-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5257
5258         * gnus.el (gnus-valid-select-methods): Remove reference to nngoogle,
5259         which doesn't exist.
5260
5261         * message.el (message-inhibit-ecomplete): New variable to allow some
5262         function to inhibit ecomplete address storage.
5263         (message-resend): Disable ecomplete message storage when resending
5264         messages.
5265
5266         * nntp.el (nntp-async-kluge): Remove the Emacs 20.3-related kluge.
5267
5268 2010-08-27  Katsumi Yamaoka  <yamaoka@jpl.org>
5269
5270         * gnus-sum.el (gnus-summary-move-article, gnus-summary-delete-article):
5271         Save excursion while copying, moving, and deleting articles in order to
5272         prevent the cursor from jumping to unforeseen place.
5273
5274 2010-08-17  Katsumi Yamaoka  <yamaoka@jpl.org>
5275
5276         * lpath.el: No need to bind bookmark-current-buffer,
5277         bookmark-yank-point and bookmark-make-record-function.
5278
5279 2010-08-17  Glenn Morris  <rgm@gnu.org>
5280
5281         * gnus-sync.el: Require gnus components whose functions are used.
5282
5283         * gnus-art.el (bookmark-make-record-function):
5284         * gnus-sum.el (bookmark-yank-point, bookmark-current-bookmark):
5285         Declare for compiler.
5286
5287         * mm-url.el (mml-compute-boundary): Autoload.
5288
5289 2010-08-15  Katsumi Yamaoka  <yamaoka@jpl.org>
5290
5291         * gnus-start.el (gnus-start-draft-setup): Move doc string forward.
5292
5293 2010-08-14  Teodor Zlatanov  <tzz@lifelogs.com>
5294
5295         Typo fix "hoo4a" -> "hook".
5296
5297         * gnus-sync.el (gnus-sync-install-hooks): Typo fix.
5298
5299 2010-08-14  Glenn Morris  <rgm@gnu.org>
5300
5301         * gnus-sync.el (gnus-sync): Fix defgroup version.
5302
5303 2010-08-13  Teodor Zlatanov  <tzz@lifelogs.com>
5304
5305         Doc fixes and keep unknown groups (ammended for nunion bug fix).
5306
5307         * gnus-sync.el: Fix docs.
5308         (gnus-sync-save): Keep unknown groups in `gnus-sync-newsrc-loader'.
5309         (gnus-sync-read): Don't wipe `gnus-sync-newsrc-loader' after reading.
5310
5311 2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>
5312
5313         Optimizations for gnus-sync.el.
5314
5315         * gnus-sync.el: Add docs about gnus-sync-backend
5316         possibilities.
5317         (gnus-sync-save): Remove unnecessary message.
5318         (gnus-sync-read): Optimize and show what groups were skipped.
5319
5320 2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>
5321
5322         Minor bug fixes for gnus-sync.el.
5323
5324         * gnus-sync.el (gnus-sync-unload-hook, gnus-sync-install-hooks):
5325         Don't read the sync on get-new-news.
5326
5327         * gnus-sync.el (gnus-sync-save): Define `variable' so the compiler is
5328         quiet.
5329
5330         * gnus-sync.el (gnus-sync-read): Use `gnus-sync-newsrc-offsets'
5331         (fix typo).
5332
5333 2010-07-30  Lawrence Mitchell  <wence@gmx.li>
5334
5335         Make saving and restoring of hidden threads work with overlays.
5336         Patch applied by Ted Zlatanov.
5337
5338         * gnus-sum.el (gnus-hidden-threads-configuration)
5339         (gnus-restore-hidden-threads-configuration): Update to deal with text
5340         properties, rather than searching for a magic character.
5341
5342 2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>
5343
5344         New gnus-sync.el library for synchronization of marks.
5345
5346         * gnus-sync.el: New library for synchronization of marks.
5347
5348         * gnus-util.el (gnus-grep-in-list): Move from gnus-registry.el and
5349         renamed from `gnus-registry-grep-in-list'.
5350
5351         * gnus-registry.el (gnus-registry-follow-group-p):
5352         Use `gnus-grep-in-list'.
5353
5354         * gnus-start.el (gnus-start-draft-setup): Make it interactive.
5355
5356 2010-08-06  Katsumi Yamaoka  <yamaoka@jpl.org>
5357
5358         * rfc2047.el (rfc2047-encode): Use utf-8 as a last resort if
5359         determining charset of text fails.
5360
5361 2010-08-01  Katsumi Yamaoka  <yamaoka@jpl.org>
5362
5363         * nnmail.el (nnmail-get-new-mail-1): Revert.
5364
5365         * nnml.el (nnml-active-number): Make sure names of newly created groups
5366         in nnml-group-alist are encoded.
5367
5368 2010-07-30  Katsumi Yamaoka  <yamaoka@jpl.org>
5369
5370         * nnmail.el (nnmail-get-new-mail-1): Encode group names possibly
5371         containing non-ASCII characters in active file for nnml back end.
5372
5373 2010-07-24  David Engster  <dengste@eml.cc>
5374
5375         * mml-smime.el (mml-smime-epg-verify): Also accept the older
5376         x-pkcs7-signature MIME type as signature (RFC 2311, C.1).
5377
5378 2010-07-21  Daiki Ueno  <ueno@unixuser.org>
5379
5380         * mml.el (mml-parse-1): Collect "certfile" attributes in "<#secure>"
5381         tag (Bug#6654).
5382
5383 2010-07-20  Katsumi Yamaoka  <yamaoka@jpl.org>
5384
5385         * gnus-sum.el (gnus-summary-bookmark-make-record): Bookmark position in
5386         the article buffer, not the summary buffer.
5387
5388 2010-07-15  Katsumi Yamaoka  <yamaoka@jpl.org>
5389
5390         * gnus-sum.el (gnus-summary-bookmark-make-record): Make it work for
5391         Emacs 23 as well.
5392
5393 2010-07-15  Katsumi Yamaoka  <yamaoka@jpl.org>
5394
5395         * lpath.el: Bind bookmark-current-buffer, bookmark-yank-point for all
5396         Emacs versions; bind bookmark-make-record-function for Emacs >=22.
5397
5398 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5399
5400         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5401         Patch applied by Karl Fogel.
5402
5403         * gnus-sum.el (gnus-summary-bookmark-make-record):
5404         Set `bookmark-yank-point' and `bookmark-current-buffer' to allow C-w.
5405
5406 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5407
5408         Allow bookmarks to be set from Gnus Article buffers (Bug #5975).
5409         Patch applied (with minor tweaks) by Karl Fogel.  Note this leaves
5410         C-w still not working correctly from Article buffers; Thierry's
5411         patch to fix that will be applied after this.
5412
5413         * gnus-art.el (bookmark-make-record-function): New local variable.
5414
5415         * gnus-sum.el (gnus-summary-bookmark-make-record): Allow setting from
5416         article buffer.
5417         (gnus-summary-bookmark-jump): Maybe jump to article buffer.
5418
5419 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
5420
5421         * gnus-sum.el (bookmark-make-record-default): Adjust declaration, based
5422         on changes in bookmark.el.
5423
5424 2010-07-13  Katsumi Yamaoka  <yamaoka@jpl.org>
5425
5426         * gnus-xmas.el (gnus-xmas-read-event-char): Use display-message with
5427         `no-log' instead of message not to log prompt string.
5428
5429 2010-06-22  Mark A. Hershberger  <mah@everybody.org>
5430
5431         * mm-url.el (mm-url-encode-multipart-form-data): New function to handle
5432         the *other* type of HTML form submission.
5433
5434 2010-06-15  Michael Albinus  <michael.albinus@gmx.de>
5435
5436         * auth-source.el (auth-source-pick): If choice does not contain a
5437         questioned keyword, set the check to t.
5438
5439 2010-06-12  Romain Francoise  <romain@orebokech.com>
5440
5441         * gnus-util.el (gnus-date-get-time): Move up before first use.
5442
5443 2010-06-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5444
5445         * gnus-art.el (gnus-mime-buttonized-part-id): New internal variable.
5446         (gnus-article-edit-part): Bind it to make last part that is substituted
5447         or deleted visible.
5448         (gnus-mime-display-single): Buttonize part of which id equals to
5449         gnus-mime-buttonized-part-id.
5450
5451 2010-06-10  Dan Christensen  <jdc@uwo.ca>
5452
5453         * gnus-util.el (gnus-user-date): Use gnus-date-get-time.
5454         (gnus-dd-mmm): Use gnus-date-get-time.
5455         * gnus-sum.el (gnus-thread-latest-date): Use gnus-date-get-time and
5456         simplify logic.
5457         (gnus-summary-limit-to-age): Use gnus-date-get-time.
5458         (gnus-sort-threads): Emit message if gnus-sort-threads-loop used.
5459
5460 2010-06-08  Michael Albinus  <michael.albinus@gmx.de>
5461
5462         * auth-source.el (top): Autoload `secrets-list-collections',
5463         `secrets-create-item', `secrets-delete-item'.
5464         (auth-sources): Fix tag string.
5465         (auth-get-source, auth-source-retrieve, auth-source-create)
5466         (auth-source-delete): New defuns.
5467         (auth-source-pick): Rewrite in order to avoid 2 passes.
5468         (auth-source-forget-user-or-password): New parameter USERNAME.
5469         (auth-source-user-or-password): New parameters CREATE-MISSING and
5470         DELETE-EXISTING.  Retrieve password interactively, if needed.
5471
5472 2010-06-07  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
5473
5474         * gnus-agent.el (gnus-agent-expire-unagentized-dirs): Don't ask about
5475         deleting unused directories when gnus-expert-user is t.
5476
5477 2010-06-02  Katsumi Yamaoka  <yamaoka@jpl.org>
5478
5479         * gnus-art.el (gnus-article-browse-delete-temp-files): Don't make query
5480         for each temp file when gnus-article-browse-delete-temp is ask.
5481
5482 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5483
5484         * gnus-uu.el, imap.el, nndoc.el, nnrss.el, rfc2047.el, utf7.el: Replace
5485         Lisp calls to delete-backward-char by calls to delete-char.
5486
5487 2010-05-20  Kevin Ryde  <user42@zip.com.au>
5488
5489         * gnus-start.el (gnus-level-unsubscribed): Doc fix.  (Bug#6206)
5490
5491 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
5492
5493         * password-cache.el (password-cache-remove): Fix docstring.
5494
5495 2010-05-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5496
5497         * gnus-sum.el (gnus-summary-save-article): Don't bother to re-fetch
5498         article unless decoding article to be saved.
5499
5500 2010-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>
5501
5502         * mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt)
5503         * mml2015.el (mml2015-gpg-encrypt): Disable multibyte in buffers
5504         generated within the mm-with-unibyte-current-buffer macro.
5505
5506 2010-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>
5507
5508         * gnus-art.el (gnus-bind-safe-url-regexp): Bind mm-w3m-safe-url-regexp
5509         to nil when we're in a mml-preview buffer and no group is selected.
5510
5511 2010-05-12  Andreas Seltenreich  <seltenreich@gmx.de>
5512
5513         * gnus-sum.el (gnus-summary-read-group-1): Don't jump to next group
5514         when catching the `C-g'.  Reported by "Leo".
5515
5516 2010-05-12  Katsumi Yamaoka  <yamaoka@jpl.org>
5517
5518         * message.el (message-forward-make-body-plain)
5519         (message-forward-make-body-mml): Use mm-multibyte-string-p instead of
5520         multibyte-string-p.
5521
5522         * lpath.el: Revert.
5523
5524 2010-05-12  Katsumi Yamaoka  <yamaoka@jpl.org>
5525
5526         * message.el (message-forward-make-body-mml): Assume original message
5527         is multibyte string; error on unibyte.
5528         (message-forward-make-body-plain): Ditto; don't add excessive newline
5529         in body end.
5530
5531         * lpath.el: Fbind multibyte-string-p for XEmacs 21.4 and SXEmacs.
5532
5533 2010-05-11  Andreas Seltenreich  <seltenreich@gmx.de>
5534
5535         * gnus-sum.el (gnus-summary-kill-thread): Use gnus-summary-mark-article
5536         instead of g-s-m-a-as-unread to set the expirable mark.  (Bug#5284)
5537
5538 2010-05-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5539
5540         * mm-extern.el (mm-extern-url): Don't use
5541         mm-with-unibyte-current-buffer.
5542         (mm-extern-cache-contents): Use with-current-buffer instead of
5543         save-excursion + set-buffer.
5544
5545 2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5546
5547         * mm-util.el (mm-emacs-mule): Remove.
5548
5549 2010-05-10  Andreas Seltenreich  <seltenreich@gmx.de>
5550
5551         * gnus-sum.el (gnus-summary-mode): Don't make minor-mode-alist
5552         buffer-local as it's incompatible with Stefan Monnier's 2010-05-03
5553         change.
5554
5555 2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5556
5557         * mm-util.el (mm-with-unibyte-current-buffer): Redefine it so as not to
5558         bind the default value of enable-multibyte-characters to nil.
5559
5560 2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5561
5562         * message.el (message-forward-make-body-plain)
5563         (message-forward-make-body-mml):
5564         Don't use mm-with-unibyte-current-buffer.
5565
5566 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5567
5568         * dns-mode.el (auto-mode-alist): Add entry for .zone files.
5569
5570 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
5571
5572         * mml2015.el (mml2015-epg-find-usable-key): Skip disabled key
5573         (Bug#5592).
5574
5575 2010-05-07  Julien Danjou  <julien@danjou.info>
5576
5577         * gnus-art.el (gnus-mime-pipe-part): Add optional argument `cmd'; pass
5578         it to mm-pipe-part.
5579
5580         * mm-decode.el (mm-pipe-part): Add optional argument `cmd'; use it if
5581         it is given.
5582
5583 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
5584
5585         * binhex.el (binhex-decode-region-internal)
5586         * dns.el (dns-read-string-name, dns-write, dns-read, dns-read-type)
5587         (dns-query)
5588         * nnweb.el (nnweb-gmane-search)
5589         * pgg-parse.el (pgg-parse-armor)
5590         * pgg.el (pgg-verify-region)
5591         * sha1.el (sha1-string-external)
5592         * uudecode.el (uudecode-decode-region-internal)
5593         * yenc.el (yenc-decode-region): Don't run set-buffer-multibyte for
5594         XEmacs.
5595
5596         * gnus-art.el (gnus-article-browse-html-parts)
5597         * gnus-group.el (gnus-read-ephemeral-gmane-group)
5598         (gnus-read-ephemeral-bug-grou): Use mm-make-temp-file instead of
5599         make-temp-file.
5600
5601         * gnus-dired.el (gnus-dired-mode): Bind gnus-dired-mode-hook,
5602         gnus-dired-mode-on-hook and gnus-dired-mode-off-hook for XEmacs when
5603         compiling.
5604
5605         * gnus-ml.el (gnus-mailing-list-mode): Bind gnus-mailing-list-mode-hook,
5606         gnus-mailing-list-mode-on-hook and gnus-mailing-list-mode-off-hook for
5607         XEmacs when compiling.
5608
5609         * gnus-salt.el (gnus-pick-mode): Bind gnus-pick-mode-on-hook and
5610         gnus-pick-mode-off-hook for XEmacs when compiling.
5611         (gnus-binary-mode): Bind gnus-binary-mode-on-hook and
5612         gnus-binary-mode-off-hook for XEmacs when compiling.
5613
5614         * gnus-sum.el (gnus-summary-limit-strange-charsets-predicate):
5615         Return nil if char-charset is not available.
5616
5617         * imap.el (imap-disable-multibyte)
5618         * sieve-manage.el (sieve-manage-disable-multibyte): Redefine them as
5619         macros.
5620
5621         * mm-url.el (mm-url-form-encode-xwfu): Use mm-encode-coding-string
5622         instead of encode-coding-string.
5623
5624         * mm-util.el (mm-enable-multibyte, mm-disable-multibyte): Use (featurep
5625         'xemacs) instead of mm-emacs-mule to switch function definitions.
5626         (mm-with-unibyte-current-buffer): Make it a progn macro for XEmacs.
5627
5628         * lpath.el: Fbind delete-overlay and overlay-lists for XEmacs;
5629         bind temporary-file-directory for XEmacs;
5630         fbind make-temp-file, set-buffer-multibyte, string-as-multibyte and
5631         timer-set-function for XEmacs 21.4 and SXEmacs;
5632         bind timer-list for XEmacs 21.4 and SXEmacs;
5633         fbind char-charset and find-charset-region for non-Mule XEmacs;
5634         fbind decode-coding-region, decode-coding-string, detect-coding-region,
5635         encode-coding-region and encode-coding-string for XEmacs having no
5636         file-coding feature.
5637
5638 2010-05-06  Tommi Vainikainen  <thv@iki.fi>  (tiny change)
5639
5640         * mml-sec.el (mml-secure-message-sign): Fix cut and paste error.
5641
5642 2010-05-06  Katsumi Yamaoka  <yamaoka@jpl.org>
5643
5644         * gnus-dired.el, gnus-draft.el, gnus-ml.el, gnus-salt.el, gnus-sum.el,
5645         gnus-undo.el, mml.el: Require easy-mmode for XEmacs when compiling.
5646
5647 2010-05-03  Juanma Barranquero  <lekktu@gmail.com>
5648
5649         * mm-util.el (mm-decompress-buffer): Use `delete-file';
5650         alias `jka-compr-delete-temp-file' no longer exists.
5651
5652 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5653
5654         Use define-minor-mode in Gnus where applicable.
5655         * mml.el (mml-mode): Use define-minor-mode.
5656         * gnus-undo.el (gnus-undo-mode-map): Initialize in declaration.
5657         (gnus-undo-mode): Use define-minor-mode.
5658         * gnus-sum.el (gnus-dead-summary-mode-map): Initialize in declaration.
5659         (gnus-dead-summary-mode): Use define-minor-mode.
5660         * gnus-salt.el (gnus-pick-mode-map, gnus-binary-mode-map):
5661         Initialize in declaration.
5662         (gnus-pick-mode, gnus-binary-mode): Use define-minor-mode.
5663         * gnus-ml.el (gnus-mailing-list-mode-map): Initialize in declaration.
5664         (gnus-mailing-list-mode): Use define-minor-mode.
5665         * gnus-draft.el (gnus-draft-mode-map): Initialize in declaration.
5666         (gnus-draft-mode): Use define-minor-mode.
5667         * gnus-dired.el (gnus-dired-mode-map): Initialize in declaration.
5668         (gnus-dired-mode): Use define-minor-mode.
5669
5670 2010-05-01  Andreas Seltenreich  <seltenreich@gmx.de>
5671
5672         * mml.el (mml-generate-mime-1,mml-compute-boundary-1): Update 'mml
5673         handles on recursive mml-to-mime translation and check them for
5674         boundary delimiter collisions.  Reported by Greg Troxel.
5675
5676 2010-04-27  Katsumi Yamaoka  <yamaoka@jpl.org>
5677
5678         * gnus-util.el: Don't load tm and apel XEmacs packages when compiling.
5679
5680 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5681
5682         * mm-util.el (mm-find-buffer-file-coding-system):
5683         * yenc.el (yenc-decode-region): Don't let-bind a read-only variable.
5684
5685 2010-04-22  Andreas Seltenreich  <seltenreich@gmx.de>
5686
5687         * message.el (message-generate-headers): Record insertion of optional
5688         headers as well.  Otherwise the check to prevent repeated insertion of
5689         optional headers is a no-op.
5690
5691 2010-04-17  Teodor Zlatanov  <tzz@lifelogs.com>
5692
5693         * smime.el: Don't mention CVS.
5694
5695         * nnrss.el (nnrss-fetch): Don't mention CVS.
5696
5697         * nnir.el: Don't mention CVS.
5698
5699 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5700
5701         * gnus-sum.el (gnus-summary-bookmark-make-record):
5702         Add `location' field.
5703
5704 2010-04-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5705
5706         * lpath.el: Fbind bookmark-default-handler,
5707         bookmark-get-bookmark-record, bookmark-make-record-default,
5708         bookmark-prop-get for Emacs <23 and XEmacs.
5709
5710 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5711
5712         * gnus-sum.el: Add bookmark declarations to silence the compiler.
5713         (gnus-mark-xrefs-as-read, gnus-summary-limit-to-bodies):
5714         Use with-current-buffer to silence the byte-compiler.
5715         (gnus-summary-bookmark-make-record): Use derived-mode-p and don't
5716         bother to require `gnus'.
5717         (gnus-summary-bookmark-jump): Don't forget to autoload.  Simplify.
5718
5719 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5720
5721         * gnus-sum.el (gnus-summary-bookmark-make-record)
5722         (gnus-summary-bookmark-jump): New functions.
5723         (gnus-summary-mode): Setup bookmark support.
5724
5725 2010-04-01  Andreas Schwab  <schwab@linux-m68k.org>
5726
5727         * mm-uu.el (mm-uu-pgp-signed-extract-1): Use buffer-file-coding-system
5728         if set.
5729
5730 2010-03-31  Katsumi Yamaoka  <yamaoka@jpl.org>
5731
5732         * gnus-art.el (gnus-article-browse-html-save-cid-content): Rename from
5733         gnus-article-browse-html-save-cid-image; make it work recursively for
5734         forwarded messages as well.
5735         (gnus-article-browse-html-parts): Work when prefix arg is given.
5736         (gnus-article-browse-html-article): Doc fix.
5737
5738 2010-03-30  Chong Yidong  <cyd@stupidchicken.com>
5739
5740         * message.el (message-default-mail-headers):
5741         (message-default-headers): Carry the value mail-default-headers over
5742         into message-default-mail-headers, rather than message-default-headers.
5743
5744 2010-03-30  Martin Stjernholm  <mast@lysator.liu.se>
5745
5746         * mm-decode.el (mm-add-meta-html-tag): Add option to override the
5747         charset.
5748
5749         * gnus-art.el (gnus-article-browse-html-parts): Force the correct
5750         charset into the <meta> tag when the article is encoded to utf-8.
5751
5752 2010-03-30  Katsumi Yamaoka  <yamaoka@jpl.org>
5753
5754         * gnus-art.el (gnus-article-browse-delete-temp-files):
5755         Delete directories as well.
5756         (gnus-article-browse-html-parts): Work for images that do not specify
5757         file names; delete temp directory when quitting; insert header at the
5758         right place; use file: scheme for image files.
5759
5760 2010-03-30  Eric Schulte  <schulte.eric@gmail.com>
5761
5762         * gnus-art.el (gnus-article-browse-html-save-cid-image): New function.
5763         (gnus-article-browse-html-parts): Use it to make temporary cid image
5764         files in addition to html file so that browser may display them.
5765
5766 2010-03-29  Katsumi Yamaoka  <yamaoka@jpl.org>
5767
5768         * mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag.
5769
5770 2010-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
5771
5772         * auth-source.el (auth-source-pick): Fix for non-secrets specifier.
5773
5774 2010-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
5775
5776         * auth-source.el (auth-sources): Change default to be simpler.
5777         Explain about Secret Service API sources.  Improve Customize options.
5778         (auth-source-pick): Change to accept any number of search parameters.
5779         Implement fallbacks iteratively, not recursively.  Add scoring on the
5780         second pass and sort by score.  Call Secret Service API when needed.
5781         (auth-source-user-or-password): Use it.  Call Secret Service API
5782         directly when needed to get the user name and the password.
5783
5784 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
5785
5786         * message.el (message-interactive): Doc fix.
5787         (message-qmail-inject-args): Reflow.
5788         (message-kill-to-signature): Fix typo in docstring.
5789
5790         * smiley.el (smiley-buffer): Fix typo in docstring.
5791
5792 2010-03-24  Glenn Morris  <rgm@gnu.org>
5793
5794         * mail-source.el (gnus-message): Declare.
5795         (mail-source-delete-old-incoming): Require gnus-util.
5796
5797 2010-03-23  Katsumi Yamaoka  <yamaoka@jpl.org>
5798
5799         * gnus-art.el (canlock-verify): Autoload it for Emacs 21.
5800
5801         * message.el (ecomplete-setup): Autoload it for Emacs <23.
5802
5803         * mml-sec.el (mml-secure-cache-passphrase): Default to t that is
5804         password-cache's default if it is not bound.
5805         (mml-secure-passphrase-cache-expiry): Default to 16 that is
5806         password-cache-expiry's default if it is not bound.
5807
5808         * pop3.el (pop3-list): Don't use 3rd arg of `split-string' which is not
5809         available in Emacs 21.
5810
5811         * lpath.el: Suppress compiler warnings for:
5812         canlock-insert-header and smtpmail-default-smtp-server for Emacs 21 and
5813         XEmacs;
5814         ecomplete-add-item, ecomplete-save, hashcash-wait-async,
5815         mail-add-payment, mail-add-payment-async, netrc-get, netrc-machine,
5816         netrc-machine-user-or-password and netrc-parse for Emacs 22 and XEmacs.
5817
5818 2010-03-23  Teodor Zlatanov  <tzz@lifelogs.com>
5819
5820         * auth-source.el (auth-sources): Fix up definition so extra parameters
5821         are always inline.
5822
5823 2010-03-22  Martin Stjernholm  <mast@lysator.liu.se>
5824
5825         * nnimap.el (nnimap-verify-uidvalidity): Fix bug where uidvalidity
5826         wasn't updated after mismatch.  Clear cached mailbox info correctly
5827         when uidvalidity changes.
5828         (nnimap-group-prefixed-name): New function to avoid some code
5829         duplication.
5830         (nnimap-verify-uidvalidity, nnimap-group-overview-filename)
5831         (nnimap-request-group): Use it.
5832         (nnimap-retrieve-groups, nnimap-verify-uidvalidity)
5833         (nnimap-update-unseen): Significantly improved speed of Gnus startup
5834         with many imap folders.  This is done by caching the group status from
5835         the imap server persistently in a group parameter `imap-status'.  (This
5836         was cached before too if `nnimap-retrieve-groups-asynchronous' was set,
5837         but not persistently, so every Gnus startup was still very slow.)
5838
5839 2010-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
5840
5841         * assistant.el (assistant-render-text): Run `widget-setup' and don't
5842         delete the extra newline.  Otherwise editing of :string and :number
5843         types don't work.
5844
5845 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
5846
5847         * auth-source.el: Set up autoloads.  Bump to 23.2 because of the
5848         secrets.el dependency.
5849         (auth-sources): Add optional user name.  Add secrets.el configuration
5850         choice (unused right now).
5851
5852 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
5853
5854         * gnus-sum.el (gnus-summary-make-menu-bar):
5855         Let `gnus-registry-install-shortcuts' fill in the functions.
5856
5857         * gnus-registry.el (gnus-summary-misc-menu): Declare to avoid
5858         warnings.
5859         (gnus-registry-misc-menus): Variable to hold registry mark menus.
5860         (gnus-registry-install-shortcuts): Populate and use it in a
5861         `gnus-summary-menu-hook' lambda, under "Gnus"->"Registry Marks".
5862
5863 2010-03-20  Martin Stjernholm  <mast@lysator.liu.se>
5864
5865         * nnimap.el (nnimap-decode-group-name, nnimap-encode-group-name):
5866         In-place substitutions for the group name encoding/decoding.
5867         (nnimap-find-minmax-uid, nnimap-possibly-change-group)
5868         (nnimap-retrieve-headers-progress, nnimap-possibly-change-group)
5869         (nnimap-retrieve-headers-progress, nnimap-request-article-part)
5870         (nnimap-update-unseen, nnimap-request-list)
5871         (nnimap-retrieve-groups, nnimap-request-update-info-internal)
5872         (nnimap-request-set-mark, nnimap-split-to-groups)
5873         (nnimap-split-articles, nnimap-request-newgroups)
5874         (nnimap-request-create-group, nnimap-request-accept-article)
5875         (nnimap-request-delete-group, nnimap-request-rename-group)
5876         (nnimap-acl-get, nnimap-acl-edit): Use them.  Replace `mbx' with
5877         `encoded-mbx' for consistency.
5878         (nnimap-close-group): Call `imap-current-mailbox' instead of using the
5879         variable `imap-current-mailbox'.
5880
5881         * gnus-agent.el (gnus-agent-fetch-articles, gnus-agent-fetch-headers)
5882         (gnus-agent-regenerate-group): Use `gnus-agent-decoded-group-name'.
5883
5884 2010-03-20  Bojan Petrovic  <bpetrovi@f.bg.ac.rs>
5885
5886         * pop3.el (pop3-display-message-size-flag): Display message size byte
5887         counts during POP3 download.
5888         (pop3-movemail): Use it.
5889         (pop3-list): Implement listing of available messages.
5890
5891 2010-03-20  Mark Triggs  <mst@dishevelled.net>  (tiny change)
5892
5893         * nnir.el (nnir-get-article-nov-override-function): New function to
5894         override the normal NOV retrieval.
5895         (nnir-retrieve-headers): Use it.
5896
5897 2010-03-19  Michael Albinus  <michael.albinus@gmx.de>
5898
5899         * auth-source.el (netrc-machine-user-or-password): Autoload.
5900
5901 2010-03-19  Glenn Morris  <rgm@gnu.org>
5902
5903         Stop message.el from loading about 40 libraries it doesn't always need.
5904         The general approach is to autoload rather than require, and to
5905         require in the specific functions rather than the file.  (Bug#5642)
5906
5907         * gmm-utils.el: Don't require wid-edit.
5908         (widget-create-child-value, widget-convert, widget-default-get):
5909         Autoload.
5910
5911         * gnus-util.el: Don't require time-date, netrc.
5912         (message-fetch-field, gnus-group-name-decode): Declare rather than
5913         autoloading.
5914         (gnus-fetch-field): Require message.
5915         (gnus-decode-newsgroups): Require gnus-group.
5916
5917         * ietf-drums.el: Don't require time-date.
5918
5919         * message.el: Don't require hashcash, canlock, ecomplete.
5920         Do require mail-utils.  Require nnheader only when compiling.
5921         (smtpmail-default-smtp-server): Remove declaration.
5922         (message-send-mail-function): Check smtpmail-default-smtp-server
5923         is bound rather than requiring smtpmail.
5924         (message-auto-save-directory, message-insert-signature):
5925         Use expand-file-name rather than nnheader-concat.
5926         (nnheader-insert-file-contents): Autoload.
5927         (hashcash-wait-async): Declare.
5928         (message-send-mail): Only call gnus-setup-posting-charset if
5929         gnus-group-posting-charset-alist is bound.  Require hashcash if needed.
5930         (message-send-mail-with-sendmail): Require sendmail.
5931         (canlock-password, canlock-password-for-verify): Declare.
5932         (message-canlock-password): Require canlock.
5933         (nnheader-get-report): Autoload.
5934         (gnus-setup-posting-charset): Declare.
5935         (message-send-news): Require gnus-msg.
5936         (message-make-references, message-make-in-reply-to): Use mail-header-id
5937         rather than the alias mail-header-message-id.
5938         (ecomplete-add-item, ecomplete-save): Declare.
5939         (message-put-addresses-in-ecomplete): Require ecomplete.
5940         (ecomplete-display-matches): Autoload.
5941
5942         * mm-decode.el: Don't require mailcap, gnus-util.
5943         (gnus-map-function, gnus-replace-in-string, gnus-read-shell-command)
5944         (message-fetch-field, mailcap-parse-mailcaps, mailcap-mime-info):
5945         Autoload.
5946         (mailcap-mime-extensions): Declare.
5947
5948         * mm-encode.el: Don't require mailcap.