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