(gnus-html-put-image): Put alt-text as help-echo
[gnus] / lisp / ChangeLog
1 2010-09-22  Julien Danjou  <julien@danjou.info>
2
3         * gnus-html.el (gnus-html-wash-images): Use xml-substitute-special on
4         images alt-text.
5         (gnus-html-put-image): Put alt-text as help-echo.
6
7 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
8
9         * mailcap.el (mailcap-parse-mailcap, mailcap-parse-mimetypes)
10         * mm-util.el (mm-decompress-buffer)
11         * nnir.el (nnir-run-find-grep)
12         * pop3.el (pop3-list): Use 3rd arg of split-string.
13
14         * time-date.el (format-seconds): Comment fix.
15
16         * dgnushack.el (toplevel): Don't advise byte-optimize-form-code-walker
17         and byte-optimize-form-code-walker.
18         (dgnushack-make-auto-load): Don't advise make-autoload.
19
20         * lpath.el: Remove Emacs 21 stuff.
21
22 2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23
24         * nnml.el (nnml-generate-nov-file): Fix variable name clobbering from
25         previous patch.
26
27         * gnus-sum.el (gnus-adjust-marked-articles): Fix another typo.
28
29 2010-09-21  Adam Sjøgren  <asjo@koldfront.dk>
30
31         * gnus-sum.el (gnus-adjust-marked-articles): Fix typo.
32
33 2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
34
35         * gnus-int.el (gnus-open-server): Give a better error message in the
36         "go offline" case.
37
38         * gnus-sum.el (gnus-adjust-marked-articles): Hack to avoid adjusting
39         marks for nnimap, which is seldom the right thing to do.
40
41         * gnus.el (gnus-sloppily-equal-method-parameters): Refactor out.
42         (gnus-same-method-different-name): New function.
43
44         * nnimap.el (parse-time): Require.
45
46         * gnus-start.el (gnus-get-unread-articles): Fix the prefixed select
47         method in the presence of many similar methods.
48
49         * nnmail.el (nnmail-expired-article-p): Fix typo: time-subtract.
50
51         * nnimap.el (nnimap-find-expired-articles): Don't refer to
52         nnml-inhibit-expiry.
53
54         * gnus-sum.el (gnus-summary-move-article): Use gnus-server-equal to
55         find out whether methods are equal.
56
57         * nnimap.el (nnimap-find-expired-articles): New function.
58         (nnimap-process-expiry-targets): New function.
59         (nnimap-request-move-article): Request the article before looking at
60         what the Message-ID is.  Fix found by Andrew Cohen.
61         (nnimap-mark-and-expunge-incoming): Wait for the last sequence.
62
63         * nnmail.el (nnmail-expired-article-p): Allow returning the cutoff time
64         for oldness in addition to being a predicate.
65
66         * nnimap.el (nnimap-request-group): When we have zero articles, return
67         the right data to Gnus.
68         (nnimap-request-expire-articles): Only delete articles immediately if
69         the target is 'delete.
70
71         * gnus-sum.el (gnus-summary-move-article): When respooling to the same
72         method, this would bug out.
73
74         * gnus-group.el (gnus-group-expunge-group): Renamed from
75         gnus-group-nnimap-expunge, and implemented as a normal interface
76         function.
77
78         * gnus-int.el (gnus-request-expunge-group): New function.
79
80         * nnimap.el (nnimap-request-create-group): Implement.
81         (nnimap-request-expunge-group): New function.
82
83 2010-09-21  Julien Danjou  <julien@danjou.info>
84
85         * gnus-html.el (gnus-html-image-cache-ttl): Add new variable.
86         (gnus-html-cache-expired): Add new function.
87         (gnus-html-wash-images): Use `gnus-html-cache-expired' to check
88         wethever we should display image for fetch it.
89         Compute alt-text earlier to pass it to the fetching function too.
90         (gnus-html-schedule-image-fetching): Change function argument to only
91         get one image at a time, not a list.
92         (gnus-html-image-fetched): Use `url-store-in-cache' to store image in
93         cache.
94         (gnus-html-get-image-data): New function to retrieve image data from
95         cache.
96         (gnus-html-put-image): Change buffer argument to use image data rather
97         than file, and place image above region rather than inserting a new
98         one. Do not take alt-text as argument, since it's useless now: we place
99         the image above alt-text.
100         (gnus-html-prune-cache): Remove.
101         (gnus-html-show-images): Start to fetch image when we find one, do not
102         push into a temporary list.
103         (gnus-html-prefetch-images): Only fetch image if they have expired.
104         (gnus-html-browse-image): Fix, use 'gnus-image-url.
105         (gnus-html-image-map): Add "v" to browse-url on undisplayed image.
106
107 2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>
108
109         * rfc2047.el (rfc2047-encode-parameter): Doc fix.
110
111 2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
112
113         * gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen)
114         spec inser "*" if the group isn't active instead of 0.
115
116         * nnimap.el (nnimap-request-group): Don't select the imap buffer before
117         opening the server.
118         (nnimap-request-delete-group): Implement group deletion.
119         (nnimap-transform-headers): Return the size of the entire message in
120         the Bytes header, not just the size of the first part.
121         (nnimap-request-move-article): When moving an article from nnimap,
122         request the article first so the accepting form has an article to
123         accept.  Reported by Dan Christensen.
124         (nnimap-command): Make sure that the error message doesn't error out.
125
126 2010-09-20  David Edmondson  <dme@dme.org>  (tiny change)
127
128         * nnimap.el (nnimap-request-set-mark): Don't wait for a response when
129         we haven't requested anything.
130
131 2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
132
133         * nnimap.el (nnimap-fetch-inbox): Use "[]" as the parameter instead of
134         "".  Fix found by Andrew Cohen.
135
136         * mail-parse.el (mail-header-encode-parameter): Use -encode-parameter
137         instead of -encode-string.
138
139 2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>
140
141         * gnus-html.el (gnus-html-image-fetched): Pass arg to kill-buffer.
142
143         * gnus-sum.el (gnus-summary-update-mark): Replace subst-char-in-string
144         by mm-subst-char-in-string.
145
146 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
147
148         * nnimap.el (nnimap-wait-for-connection): Avoid a race condition while
149         waiting for the connection string.
150
151         * gnus-html.el (gnus-html-image-fetched): Protect against the data not
152         arriving.
153
154         * gnus-start.el (gnus-ignored-newsgroups): Remove [] from the list of
155         bogus characters.  This allows selecting certain Gmail groups.
156
157         * nnimap.el (nnimap-find-wanted-parts-1): New function.
158         (nnimap-fetch-partial-articles): New variable.
159         (nnimap-open-connection): When looking for credentials, also use the
160         nnimap-server-port.
161         (nnimap-request-article): Return the group/article number, so that Gnus
162         `^' works as expected.
163         (nnimap-find-wanted-parts-1): Return the MIME parts as IMAP wants
164         them.
165
166         * gnus.el (gnus-similar-server-opened): Refactor a bit and add
167         comments.
168         (gnus-methods-sloppily-equal): New function.
169         (gnus): When using the development version of Gnus, load the gnus-load
170         file.
171
172         * gnus-start.el (gnus-get-unread-articles): Make sure that we call
173         `gnus-open-server' on each method before trying to scan them etc.  This
174         ensures that all the backend parameters are set correctly.
175
176         * nnimap.el (nnimap-authenticator): New variable.
177         (nnimap-open-connection): Allow anonymous login.
178         (nnimap-transform-headers): The chars header is called Chars not
179         Bytes.
180         (nnimap-wait-for-response): Don't infloop if the IMAP connection
181         drops.
182
183         * gnus-art.el (gnus-article-describe-briefly): Fix up typo in last
184         patch, found by Knut Anders Hatlen.
185
186 2010-09-19  Andreas Schwab  <schwab@linux-m68k.org>
187
188         * gnus-agent.el (gnus-agent-batch-confirmation)
189         (gnus-agent-expire-group, gnus-agent-expire): Pass proper format string
190         to gnus-message.
191         * gnus-art.el (gnus-article-describe-briefly): Likewise.
192         * gnus-group.el (gnus-group-list-groups, gnus-group-describe-group)
193         (gnus-group-edit-global-kill, gnus-group-describe-briefly): Likewise.
194         * gnus-int.el (gnus-open-server): Likewise.
195         * gnus-score.el (gnus-score-edit-current-scores, gnus-score-edit-file)
196         (gnus-score-check-syntax): Likewise.
197         * gnus-srvr.el (gnus-browse-describe-briefly): Likewise.
198         * gnus-start.el (gnus-read-active-file-1, gnus-read-active-file-1):
199         Likewise.
200         * gnus-sum.el (gnus-summary-describe-briefly): Likewise.
201
202 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
203
204         * gnus-html.el (gnus-html-prefetch-images): Fix up the url-retrieve
205         calling conventions so that prefetch doesn't bug out.
206
207 2010-09-19  Julien Danjou  <julien@danjou.info>
208
209         * gnus-sum.el (gnus-summary-update-mark): Use `subst-char-in-string'
210         rather than `subst-char-in-region' in order to be able to replace ASCII
211         char by UTF-8 ones.
212
213         * gnus-html.el (gnus-html-prefetch-images): Use `url-retrieve' rather
214         than curl.
215         (gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting
216         the right URL and ALT text on images.
217         (gnus-html-wash-tags): Fix tag case.
218         Add support for `s' and `ins' tags.  Use gnus-emphasis-* faces.
219         (gnus-article-html): Add -o display_ins_del=2 option.
220         (gnus-html-wash-tags): Add better support for <ul> tags symbols.
221
222 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
223
224         * nnheader.el (nnheader-insert-nov): Protect against junk appearing in
225         the extra mail headers, which sometimes seem to happen for unknown
226         reasons.
227
228         * mail-parse.el (mail-header-encode-parameter): Define as
229         rfc2045-encode-string instead of as rfc2231-encode-string, since some
230         (or most, perhaps?) mail readers don't understand the latter, but do
231         understand the former.
232
233         * gnus-agent.el (gnus-agent-auto-agentize-methods): Switch the default
234         to nil, so that no methods are automatically agentized.  I think this
235         is probably what most users want.
236
237         * gnus-html.el (gnus-html-schedule-image-fetching): Ignore all errors
238         from url-retrieve, for instance about invalid URLs.
239
240         * nnimap.el (nnimap-finish-retrieve-group-infos): Protect against
241         groups that have no articles.
242         (nnimap-request-article): Check that we really got an article when we
243         requested one.
244
245         * gnus-agent.el (gnus-agent-load-alist): Nix out the alist if the file
246         doesn't exist.
247
248         * nnimap.el (nnimap-finish-retrieve-group-infos): Return data in the
249         nntp buffer so the agent can save it.
250         (nnimap-open-shell-stream): Bind `process-connection-type' to nil, so
251         that CRLF doesn't get translated to \n.
252         (nnimap-open-connection): Don't make 'shell commands only send \n.
253
254 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
255
256         * nnml.el (nnml-files): Add prefix to dynamic var `files'.
257         (nnml-generate-nov-databases-directory, nnml-generate-active-info):
258         Update var name.
259         (nnml-generate-nov-file): Use dolist.
260         (nnml-directory-articles, nnml-current-group-article-to-file-alist):
261         Use with-current-buffer.
262
263 2010-09-18  Julien Danjou  <julien@danjou.info>
264
265         * gnus-html.el (gnus-html-schedule-image-fetching): Fetch all images in
266         parallel.
267
268 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
269
270         * nnimap.el (nnimap-update-info): When doing partial marks update, get
271         the range update right.
272         (nnimap-request-group): Don't make `M-g' bug out on group with no
273         marks.
274         (nnoo): Required, so that other packages can require nnimap.
275         (nnimap-wait-for-response): Be a bit more lax in finding the end of the
276         command we're looking for.  This helps when the server sends more
277         responses after we've gotten everything we expected.
278         (nnimap): Add a `newlinep' field to keep track of end-of-line
279         conventions.
280         Don't send CRLF to things that don't want it.
281         (nnimap-request-accept-article): Ditto.
282
283 2010-09-18  Julien Danjou  <julien@danjou.info>
284
285         * gnus-html.el (gnus-html-schedule-image-fetching): Use `url' rather
286         than curl to retrieve images.
287
288 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
289
290         * nnimap.el (nnimap-update-info): Extend the info so that we can set
291         the marks.
292         (nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.
293         (nnimap-wait-for-connection): New function.
294         (nnimap-open-connection): If we have PREAUTH, don't query for login
295         credentials.
296         (nnimap-update-info): Fix off-by-one error when concatenating ranges
297         when doing a partial update.
298
299 2010-09-18  Julien Danjou  <julien@danjou.info>
300
301         * gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML
302         tags.
303
304 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
305
306         * nnimap.el (nnimap-credentials): New function.
307         (nnimap-open-connection): Use the new function to look for credentials
308         also on the numeric equivalents of "imap" and "imaps".
309
310         * gnus-start.el (gnus-activate-group): Send the info to
311         gnus-request-group.
312
313         * nnimap.el (nnimap-request-group): Have the "check" version of the
314         function parse flags and update the info, so that a `M-g' get a total
315         resync of all flags from the group.
316
317         * gnus-int.el (gnus-request-group): Take an optional `info' parameter
318         to allow backends to alter the info on group selection.  Also alter all
319         the backend -request-group functions to take the parameter.
320
321         * nnimap.el (nnimap-store-info): New function.
322         (nnimap-update-info): Store the info for later usage.
323         (nnimap-request-group): Use the stored info for the dont-check case, so
324         that we don't retrieve all marks when we enter a group.
325
326         * nnimap.el: Use deffoo instead of defun for interface functions.
327
328         * gnus-start.el (gnus-get-unread-articles): Allow the backends to
329         update the group info.  This makes the nndraft groups, for instance, go
330         back to their old behaviour.
331
332         * gnus-sum.el (gnus-select-newsgroup): Indent.
333
334         * nnimap.el (nnimap-possibly-change-group): Return nil if we can't log
335         in.
336         (nnimap-finish-retrieve-group-infos): Make sure we're not waiting for
337         nothing.
338
339         * gnus-start.el (gnus-get-unread-articles): Don't try to scan groups
340         from methods that are denied.
341
342         * gnus-int.el (gnus-method-denied-p): New function.
343
344         * nnimap.el (nnimap-open-connection): Use auth-sources to query and
345         store the password instead of netrc.
346         (nnimap-open-connection): Don't error out when we can't make a
347         connections.
348
349         * auth-source.el (auth-source-create): In the password prompt, say what
350         we're querying for.  Also prompt for user name if that hasn't been
351         given.
352
353         * nnimap.el (nnimap-with-process-buffer): Removed.
354
355 2010-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
356
357         * gnus-start.el (gnus-read-active-for-groups): Don't use the "finish"
358         method when we're reading from the agent.
359
360         * nnagent.el (nnagent-retrieve-group-data-early): New dummy method.
361
362         * auth-source.el (auth-sources): Add ~/.authinfo to the default, since
363         that's probably most useful for users.
364
365         * gnus-int.el (gnus-check-server): Save result so that it doesn't say
366         "failed" all the time.
367
368         * gnus.el: Throughout all files, replace (save-excursion (set-buffer
369         ...)) with (with-current-buffer ... ).
370
371         * nntp.el (nntp-open-server): Return whether the open was successful or
372         not.
373
374         * gnus-sum.el (gnus-summary-first-subject): Have `unseen-or-unread'
375         select an unread unseen article first.
376
377         * nnimap.el (nnimap-open-connection): If the user doesn't have a
378         /etc/services, supply some sensible port defaults.
379
380         * dgnushack.el: Define netrc-credentials.
381
382 2010-09-17  Julien Danjou  <julien@danjou.info>
383
384         * mm-decode.el (mm-text-html-renderer): Document gnus-article-html.
385
386 2010-09-17  Knut Anders Hatlen  <kahatlen@gmail.com>  (tiny change)
387
388         * nnimap.el (nnimap-get-groups): Don't bug out if the LIST command
389         doesn't have any parameters.
390
391 2010-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
392
393         * nnimap.el (nnimap-open-connection): Upcase all capabilities, and use
394         only upcased checks.
395
396         * nnmail.el (nnmail-article-group): Fix typo in "bogus" section.
397
398         * nnimap.el (nnimap-open-shell-stream): New function.
399         (nnimap-open-connection): Use it.
400         (nnimap-transform-headers): Get the number of lines in each message.
401         (nnimap-retrieve-headers): Query for BODYSTRUCTURE so that we get the
402         number of lines.
403         (nnimap-request-list): Not all servers return UIDNEXT.  Work past this
404         problem.
405
406         * utf7.el (utf7-encode): Autoload.
407
408         * nnmail.el (nnmail-inhibit-default-split-group): New internal variable
409         to allow the mail splitting to not return a default group.  This is
410         useful for nnimap, which will leave unmatched mail in the inbox.
411
412         * nnimap.el: Rewritten.
413
414         * gnus.el (gnus-article-special-mark-lists): Add uid/active tuples, for
415         nnimap usage.
416
417         * gnus-sum.el (gnus-summary-move-article): Pass the move-to group name
418         if the move is internal, so that nnimap can do fast internal moves.
419
420         * gnus-start.el (gnus-get-unread-articles): Support early retrieval of
421         data.
422         (gnus-read-active-for-groups): Support finishing the early retrieval of
423         data.
424
425         * gnus-range.el (gnus-range-nconcat): New function.
426
427         * gnus-int.el (gnus-finish-retrieve-group-infos)
428         (gnus-retrieve-group-data-early): New functions.
429
430 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
431
432         * nnrss.el (nnrss-retrieve-headers, nnrss-request-list-newsgroups)
433         (nnrss-retrieve-groups):
434         * pop3.el (pop3-open-server, pop3-read-response, pop3-list, pop3-retr)
435         (pop3-quit): Use with-current-buffer.
436
437 2010-09-17  Katsumi Yamaoka  <yamaoka@jpl.org>
438
439         * pop3.el (pop3-wait-for-messages): Use pop3-accept-process-output
440         instead of nnheader-accept-process-output.
441
442         * dgnushack.el (dgnushack-compile): Add comment.
443
444         * lpath.el: No need to fbind propertize for XEmacs 21.4.
445
446         * gnus-html.el (gnus-html-schedule-image-fetching)
447         (gnus-html-prefetch-images): Replace process-kill-without-query by
448         gnus-set-process-query-on-exit-flag.
449
450 2010-09-16  Romain Francoise  <romain@orebokech.com>
451
452         * gnus-html.el: Require gnus-art for `gnus-with-article-buffer'.
453
454 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
455
456         * gnus-registry.el (gnus-registry-install-shortcuts): The second
457         parameter to unintern is mandatory-ish in Emacs 24.
458
459         * gnus-html.el (gnus-html-schedule-image-fetching)
460         (gnus-html-prefetch-images): Check for curl before using it.
461
462         * mm-decode.el (mm-text-html-renderer): Don't have gnus-article-html
463         depend on curl, which isn't essential.
464
465         * imap.el: Revert back to version
466         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
467         seem problematic.
468
469 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
470
471         * gnus-registry.el (gnus-registry-install-shortcuts):
472         Explicitly pass `obarray' to `unintern' to avoid a warning.
473
474 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
475
476         * gnus-start.el (gnus-read-active-for-groups): Reverted the previous
477         change.
478
479         * nnrss.el (nnrss-request-list): Removed this function and related
480         functions, including the moreover stuff.
481
482 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
483
484         * nnrss.el (nnrss-retrieve-groups): New function.
485
486 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
487
488         * .dir-locals.el: Add no-byte-compile cookie.
489
490 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
491
492         * time-date.el (format-seconds): Comment fix.
493
494         * gnus-start.el (gnus-read-active-for-groups): Run gnus-activate-group
495         for back end that doesn't support request-scan.
496
497 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
498
499         * gnus-start.el (gnus-read-active-file-1): If gnus-agent isn't set,
500         then do request scans from the backends.
501
502         * netrc.el (netrc-credentials): New conveniency function.
503
504         * gnus-sum.el (gnus-summary-update-hook): Change default to nil, to
505         avoid running a hook per line, since this takes a lot of time,
506         profiling shows.
507         (gnus-summary-prepare-threads): Call `gnus-summary-highlight-line'
508         directly if gnus-visual-p is true.
509
510 2010-09-10  Katsumi Yamaoka  <yamaoka@jpl.org>
511
512         * gnus-start.el (gnus-read-active-for-groups): Check only subscribed
513         groups; replace mapcar with dolist which is a bit faster; pass groups
514         info to gnus-read-active-file-1.
515         (gnus-read-active-file-1): Scan only specified groups if the new
516         optional arg `infos' is given.
517
518 2010-09-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
519
520         * mail-source.el (mail-source-fetch-pop): Use pop3-movemail again.
521
522         * pop3.el (pop3-movemail): Removed.
523         (pop3-streaming-movemail): Renamed to pop3-movemail.
524
525         * gnus-html.el (gnus-html-wash-tags): Refactor out the image bit, and
526         don't restrict end-tag searches to the end of the line.
527
528 2010-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
529
530         * gnus-start.el (gnus-get-unread-articles): Set the number of unread
531         articles of every unchecked group to t, which means unknown since the
532         server has never been opened.
533
534 2010-09-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
535
536         * gnus-html.el (gnus-html-show-alt-text): New command.
537         (gnus-html-browse-image): Ditto.
538         (gnus-html-wash-tags): Add the data to allow showing the ALT text and
539         to browse the image directly.
540         (gnus-html-wash-tags): Search for images first, so that <a><img> works
541         better.
542
543         * gnus-async.el (gnus-async-article-callback): Call
544         `gnus-html-prefetch-images' unconditionally.
545
546         * gnus-html.el (gnus-html-schedule-image-fetching): Decode entities
547         before feeding URLs to curl.
548
549 2010-09-07  Katsumi Yamaoka  <yamaoka@jpl.org>
550
551         * gnus-html.el (gnus-html-wash-tags, gnus-html-put-image): Mark cid and
552         internal images as deletable by `W D D'.
553
554         * gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling.
555         (gnus-async-article-callback): Fix typo.
556
557 2010-09-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
558
559         * gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the
560         current line to work around bugs in the output from w3m.
561
562         * gnus-async.el (gnus-async-article-callback): Always prefetch images
563         for groups that want that.
564
565         * nntp.el (nntp-wait-for-string): Supply a timeout for
566         accept-process-output to ensure progress.
567
568         * gnus-start.el (gnus-get-unread-articles): If being given an explicit
569         level to get unread articles from, then use that for foreign groups,
570         too.
571
572         * gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which
573         confuses the rest of the function.
574
575         * gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan'
576         for the methods that support -retrieve-groups, too.
577
578         * nnml.el (nnml-save-nov): Remove some debugging-related messages.
579
580 2010-09-06  Katsumi Yamaoka  <yamaoka@jpl.org>
581
582         * dgnushack.el (dgnushack-compile, dgnushack-make-cus-load)
583         (dgnushack-make-auto-load): Exclude .dir-locals.el file.
584
585         * pop3.el: Require cl when compiling.
586         (pop3-number-of-responses): Search for "+OK", not "+OK ".
587
588 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
589
590         * gnus-start.el (gnus-get-unread-articles): Don't bother with groups
591         that aren't going to be activated.
592         (gnus-get-unread-articles): Fix up the last commit.
593
594         * gnus-html.el (gnus-article-html): Allow calling without specifying
595         the handle.  In that case, dissect the buffer first.
596
597         * gnus-sum.el (gnus-set-mode-line): Don't pad the mode line string.
598
599         * nnimap.el (nnimap-open-connection): Revert the change that would look
600         into authinfo for imaps instead of imap.
601
602         * gnus-start.el (gnus-activate-group): Take an optional parameter to
603         say that you don't want to call gnus-request-group with don-check, but
604         do check the reponse.  This is for virtual groups only.
605         (gnus-get-unread-articles): Count the archive groups as secondary, so
606         that they're activated the same way as before.
607
608         * imap.el (imap-message-map): Removed optional buffer parameter, since
609         no callers use it.
610         (imap-message-get): Ditto.
611         (imap-message-put): Ditto.
612         (imap-mailbox-map): Ditto.
613         (imap-mailbox-put): Ditto.
614         (imap-mailbox-get): Ditto.
615         (imap-mailbox-get): Revert last change for this function.
616
617         * nnimap.el (nnimap-request-list): Servers may return \NoSelect
618         case-insensitively.
619         (nnimap-debug): Removed.
620
621         * imap.el (imap-fetch-safe): Removed function, and altered all callers
622         to use `imap-fetch' instead.  According to the comments, this should be
623         safe, since all other IMAP clients use the 1:* syntax.
624         (imap-enable-exchange-bug-workaround): Removed.
625         (imap-debug): Removed -- doesn't seem very useful.
626
627         * mail-source.el (mail-source-fetch): Don't message if we're fetching
628         mail from a file, and the file doesn't exist.
629
630         * imap.el (imap-log): New convenience function used throughout instead
631         of repeating the same code all over the place.
632
633         * pop3.el (pop3-streaming-movemail): Return t for success.
634
635         * nnimap.el (nnimap-open-connection): Look for the "imaps" entry in the
636         .authinfo if we're using ssl connection.
637
638         * nnvirtual.el (nnvirtual-create-mapping): Use the active info we
639         already have if we're in a main Gnus `g' run.
640
641         * gnus-start.el (gnus-method-rank): Get info for virtual groups last.
642
643 2010-09-05  Katsumi Yamaoka  <yamaoka@jpl.org>
644
645         * gnus-start.el (gnus-method-rank): Replace equalp with equal.
646
647         * nnmh.el (nnmh-request-list-1): Bind `file'.
648
649         * pop3.el (pop3-set-process-query-on-exit-flag): New function that's an
650         alias to set-process-query-on-exit-flag or process-kill-without-query.
651         (pop3-open-server): Use it.
652
653 2010-09-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
654
655         * mail-source.el (mail-source-delete-crash-box): Always move the crash
656         box to the Incoming file.  Fixes mistake in previous checkin.
657
658         * pop3.el (pop3-send-streaming-command): Off-by-one error on the
659         request loop (for debugging purposes) removed.
660
661         * nnml.el (nnml-save-nov): Message around nnml-save-nov so that the
662         culprit is more visible.
663         (nnml-save-incremental-nov, nnml-open-incremental-nov)
664         (nnml-add-incremental-nov): New functions to do "incremental" nov
665         updates, where we just append to the end of the existing nov files
666         without reading/writing them in full.
667
668         * mail-source.el (mail-source-delete-crash-box): Really only check the
669         incoming files once in a while.
670
671         * pop3.el (pop3-streaming-movemail): Always close the pop3 connection.
672
673         * mail-source.el (mail-source-delete-crash-box): Only check the
674         incoming files for deletion once per day to save a lot of file
675         accesses.
676
677         * pop3.el (pop3-logon): Fix up unbound variable typo.
678
679         * mail-source.el (pop3-streaming-movemail): Autoload.
680
681         * pop3.el (pop3-streaming-movemail): Respect
682         pop3-leave-mail-on-server.
683
684         * mail-source.el (mail-source-fetch-pop): Use streaming pop3
685         retrieval.
686
687         * pop3.el (pop3-process-filter): Removed unused function.
688         (pop3-streaming-movemail, pop3-send-streaming-command)
689         (pop3-wait-for-messages, pop3-write-to-file)
690         (pop3-number-of-responses): New functions for streaming pop3
691         retrieval.
692
693         * gnus-start.el (gnus-get-unread-articles): Protect against groups that
694         come from no known methods.
695         (gnus-make-hashtable-from-newsrc-alist): Remove duplicates from .newsrc
696         list.
697
698         * pop3.el (pop3-display-message-size-flag): Removed -- everybody wants
699         message sizes.
700         (pop3-movemail): Use erase-buffer instead of looping and deleting
701         regions, which seems rather odd.
702
703         * gnus-agent.el (gnus-agent-load-local): Only read the agent.lib/local
704         file once per `g' run.
705
706         * nnmh.el (nnmh-request-list-1): Output active lines also for empty
707         directories.  This makes the draft queue directory work.
708
709         * gnus-start.el (gnus-get-unread-articles): Rewrite the way we request
710         data from the backends, so that we only request the list of groups from
711         each method once.  This should speed things up considerably.
712
713         * nnvirtual.el (nnvirtual-request-list): Remove function so that we can
714         detect that it's not implemented.
715
716         * nnmh.el (nnmh-request-list-1): Fix up the recursion behavior so that
717         we actually do recurse down into the tree, but don't stat all leaf
718         nodes.
719
720         * gnus-html.el (gnus-html-show-images): If there are no images to show,
721         then say so instead of bugging out.
722
723         * gnus-agent.el (gnus-agent-load-alist): Check whether the agentview
724         files exist before trying to read them.
725
726         * gnus-html.el (gnus-html-wash-tags): Remove even more white space
727         around <pre_int>.
728
729         * gnus-art.el (gnus-article-copy-string): Say what data we copied.
730
731         * nnmh.el (nnmh-request-list-1): Optimize for speed.
732
733 2010-09-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
734
735         * mm-util.el (mm-image-load-path): Just return the image directories,
736         not all directories in the path in addition to the image directories.
737         (mm-image-load-path): Maintain a cache of the image directories so that
738         the `g' command in Gnus doesn't have to stat dozens of directories each
739         time.
740
741         * gnus-html.el (gnus-html-put-image): Allow images to be removed.
742         (gnus-html-wash-tags): Add a new `i' command to insert images.
743         (gnus-html-insert-image): New command and keystroke.
744         (gnus-html-redisplay-with-images): New command and keystroke.
745         (gnus-html-show-images): Renamed command.
746         (gnus-html-wash-tags): Remove more white space before <pre_int> image
747         spacers.
748         (gnus-html-wash-tags): Decode entities at the end, so that entities
749         inside the tags don't mess up the rest of the "parsing".
750
751         * gnus-agent.el (gnus-agent-auto-agentize-methods): Change the default
752         so that nnimap methods aren't agentized by default.  There's apparently
753         many problems related to agent/imap behaviour.
754
755         * gnus-art.el (gnus-article-copy-string): New command and key binding.
756
757         * gnus-html.el: Doc fix.
758
759 2010-09-03  Katsumi Yamaoka  <yamaoka@jpl.org>
760
761         * lpath.el: Fbind device-on-window-system-p, glyph-image, glyphp, and
762         specifier-spec-list for Emacs 21.
763
764         * gnus-html.el (gnus-html-put-image): Use gnus-graphic-display-p,
765         glyph-width and glyph-height instead of display-graphic-p and
766         image-size; make avoidance of displaying small images work for XEmacs.
767
768         * gnus-util.el (gnus-graphic-display-p): Use device-on-window-system-p
769         for XEmacs.
770
771         * gnus-ems.el (gnus-set-process-plist, gnus-process-plist): Change name
772         of symbol that holds plist data.
773         (gnus-process-plist): Remove plist of process after getting it.
774
775 2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
776
777         * message.el (message-generate-hashcash): Change default to
778         'opportunistic if hashcash is installed.
779
780         * gnus-html.el (gnus-html-rescale-image): Fix up typo in rescaling.
781         (gnus-html-put-image): Only call image-size once, since it's somewhat
782         time-consuming on remote X servers.
783
784 2010-09-02  Katsumi Yamaoka  <yamaoka@jpl.org>
785
786         * gnus-xmas.el (gnus-xmas-create-image): Don't try to examine image
787         type on data, not a file name.
788
789         * lpath.el: Fbind w3-parse-buffer for Emacs <=22 and XEmacs; fbind
790         window-pixel-edges for Emacs 21.
791
792         * gnus-html.el (gnus-article-html): Make work buffer multibyte for
793         decoded contents.
794         (gnus-html-put-image, gnus-html-rescale-image): Pass `file' argument.
795
796 2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
797
798         * gnus-group.el (gnus-group-line-format): Remove %O (moderated) from
799         group line format, since it isn't very interesting.
800
801         * gnus-agent.el (gnus-agent-short-article),
802         (gnus-agent-long-article): Increase values for these two variables,
803         since most people are likely to have more network connection and
804         storage than before.
805
806         * gnus.el (gnus-refer-article-method): Change default to 'current.
807         When referring an article, the common behaviour is to refer it from the
808         current select method, not the native select method.  The chances of
809         the native select method having the message in question is rather slim
810         these days.
811
812         * gnus-sum.el (gnus-auto-select-subject): Change default to
813         `unseen-or-unread'.  I think it's likely that most people want to
814         select an unseen article over a previously seen, but unread one.
815
816         * gnus.el (gnus-mode-non-string-length): Change default to 30.  nil
817         means that in the article buffer none of the minor mode elements will
818         be shown, usually, and this is not desirable in most cases.
819
820         * gnus-sum.el (gnus-summary-goto-unread): Change default to nil, so
821         that commands like `d' (and the like) go to the next line in the
822         buffer, instead of the next unread article.  I think this is the
823         behaviour that is most natural for most users.
824         (gnus-single-article-buffer): Change default to nil, so that people can
825         have as many article buffers open as they have summary buffer.  I think
826         this is the most natural way for the groups to behave.
827
828         * message.el (message-generate-new-buffers): Change default to
829         `unsent', so that all new message buffers start their names with the
830         string "*unsent", and it's easier to find the buffers if you move from
831         them.
832
833 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
834
835         * gnus-html.el (gnus-html-wash-tags): Don't show images that are really
836         small.  They're probably tracking images.
837         (gnus-html-wash-tags): Remove all <pre_int> place holders.
838         (gnus-html-rescale-image): Yet another try at getting the image sizing
839         right.
840
841         * nntp.el (nntp-request-set-mark): Refuse to do marks if
842         nntp-marks-file-name is nil.
843
844 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
845
846         * gnus-html.el (gnus-html-wash-tags)
847         (gnus-html-schedule-image-fetching, gnus-html-image-url-blocked-p):
848         Better logging.
849
850 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
851
852         * nndoc.el (nndoc-type-alist): Added a new type for Google digests.
853
854         * gnus-html.el (gnus-html-wash-tags): Check the value of
855         gnus-blocked-images in the summary buffer.
856
857 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
858
859         * gnus-html.el (gnus-html-image-url-blocked-p): Doc fix.
860
861 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
862
863         * gnus-html.el (gnus-html-wash-tags): "A" is also used for links, just
864         like "a", it seems like.
865         (gnus-html-image-url-blocked-p): Take a parameter for blocked-images
866         since it needs to be picked from the correct buffer.
867
868         * nnwfm.el: Removed.
869
870         * nnlistserv.el: Removed.
871
872 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
873
874         * gnus-html.el (gnus-html-image-url-blocked-p): New function.
875         (gnus-html-prefetch-images, gnus-html-wash-tags): Use it.
876
877 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
878
879         * nnkiboze.el: Removed.
880
881         * nndb.el: Removed.
882
883         * gnus-html.el (gnus-html-put-image): Use the deleted text as the image
884         alt text.
885         (gnus-html-rescale-image): Try to get the rescaling logic right for
886         images that are just wide and not tall.
887
888         * gnus.el (gnus-string-or): Fix the syntax to not use eval or
889         overshadow variable bindings.
890
891 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
892
893         * gnus-html.el (gnus-html-wash-tags)
894         (gnus-html-schedule-image-fetching, gnus-html-prefetch-images): Add
895         extra logging.
896
897 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
898
899         * gnus-html.el (gnus-html-wash-tags): Delete the IMG_ALT region.
900         (gnus-max-image-proportion): New variable.
901         (gnus-html-rescale-image): New function.
902         (gnus-html-put-image): Rescale images.
903
904 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
905
906         Fix up some byte-compiler warnings.
907         * gnus.el (gnus-group-find-parameter, gnus-kill-save-kill-buffer):
908         * gnus-cite.el (gnus-article-highlight-citation, gnus-dissect-cited-text)
909         (gnus-article-fill-cited-article, gnus-article-hide-citation)
910         (gnus-article-hide-citation-in-followups, gnus-cite-toggle):
911         * gnus-group.el (gnus-group-set-mode-line, gnus-group-quit)
912         (gnus-group-set-info, gnus-add-mark): Use with-current-buffer.
913         (gnus-group-update-group): Use save-excursion and with-current-buffer.
914
915 2010-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
916
917         * gnus-html.el (gnus-article-html): Decode contents by charset.
918
919 2010-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
920
921         * gnus-html.el (gnus-html-cache-directory, gnus-html-cache-size)
922         (gnus-html-frame-width, gnus-blocked-images)
923         * message.el (message-prune-recipient-rules): Add custom version.
924         * gnus-sum.el (gnus-auto-expirable-marks): Bump custom version.
925
926         * gnus-ems.el (gnus-process-get, gnus-process-put): New compatibility
927         functions.
928
929         * gnus-html.el (gnus-html-curl-sentinel): Replace process-get with
930         gnus-process-get.
931
932 2010-08-31  Julien Danjou  <julien@danjou.info>  (tiny change)
933
934         * nnimap.el (nnimap-request-newgroups): Use nnimap-request-list-method
935         instead of lsub directly.
936
937 2010-08-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
938
939         * nnwarchive.el: Removed.
940
941         * gnus-soup.el: Removed.
942
943         * nnsoup.el: Removed.
944
945         * nnultimate.el: Removed.
946
947         * gnus-html.el (gnus-blocked-images): New variable.
948
949         * message.el (message-prune-recipients): New function.
950         (message-prune-recipient-rules): New variable.
951
952         * gnus-cite.el (gnus-article-natural-long-line-p): New function to
953         guess whether a long line is natural text or not.
954
955         * gnus-html.el (gnus-html-schedule-image-fetching): Use
956         gnus-process-plist and friends for compatibility.
957
958 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
959
960         * gnus-html.el: Require packages that define macros used in this file.
961         (gnus-article-mouse-face): Declare to silence byte-compiler.
962         (gnus-html-curl-sentinel): Use with-current-buffer, inhibit-read-only, and
963         process-get.
964         (gnus-html-put-image): Use plist-get to avoid getf.
965         (gnus-html-prefetch-images): Use with-current-buffer.
966
967 2010-08-31  Katsumi Yamaoka  <yamaoka@jpl.org>
968
969         * gnus-ems.el: Provide compatibility functions for
970         gnus-set-process-plist.
971
972         * lpath.el: Bind completion-styles for Emacs 21 and XEmacs; bind
973         header-line-format for XEmacs 21.4.
974
975         * gnus-sum.el (gnus-summary-stop-at-end-of-message)
976         * gnus.el (gnus-valid-select-methods)
977         * message.el (message-send-mail-partially-limit)
978         * mm-decode.el (mm-text-html-renderer)
979         * mml.el (mml-insert-mime-headers-always)
980         * smiley.el (smiley-regexp-alist): Bump custom version.
981
982 2010-08-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
983
984         * gnus-html.el: require mm-url.
985         (gnus-html-wash-tags): Clarify the code a bit by renaming the variable
986         with the url to `url'.
987         (gnus-html-wash-tags): Support cid: URLs/images.
988
989 2010-08-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
990
991         * gnus-sum.el: As per discussion 3 years, 8 weeks, 3 days, 9 hours, 57
992         minutes, 56 seconds ago on the ding list, remove the `w' and `i'
993         bindings, as they aren't useful at all.  `w' is moved to `W w'.
994
995         * gnus-move.el: Removed file, since it doesn't really work.
996
997         * gnus-html.el (gnus-article-html): Tell w3m that the input is
998         UTF-8.  This seems to fix problems with some German web feeds.
999
1000         * gnus.el (gnus-group-startup-message): Put the xpm version of the logo
1001         at the top so that the proper colours are applied.
1002
1003         * gnus-xmas.el (gnus-xmas-create-image): Make this work on files that
1004         don't have dots in their names.
1005
1006         * gnus-art.el (gnus-article-view-part): Doc fix.
1007
1008         * gnus-html.el (gnus-html-put-image): Use gnus-create-image to be
1009         XEmacs-compatible.
1010         (gnus-html-put-image): Don't do images on non-graphic displays.
1011
1012         * nnslashdot.el: Removed this unused backend.
1013
1014         * gnus-undo.el (gnus-undo-register-1): Limit the undo actions to 100
1015         actions.
1016         (gnus-undo-register-1): Revert last change.
1017
1018         * gnus-group.el (gnus-group-completing-read): Protect against not
1019         having completion-styles bound.
1020
1021         * mml.el (mml-insert-mime-headers-always): Change the default to t, to
1022         make broken recipients happier.
1023
1024         * gnus-html.el (gnus-html-put-image): Use gnus-put-image.
1025
1026         * gnus-ems.el (gnus-put-image): Have gnus-put-image take an optional
1027         point parameter.
1028
1029         * gnus-xmas.el (gnus-xmas-put-image): Ditto.
1030
1031         * gnus-group.el (gnus-group-completing-read): Add 'substring to
1032         completion-styles for group selection.
1033
1034 2009-02-04  Andreas Schwab  <schwab@suse.de>
1035
1036         * gnus-score.el (gnus-score-string): Fix regex for matching extra
1037         headers and regexp-quote the match if necessary.
1038
1039 2009-03-24  Miles Bader  <miles@gnu.org>
1040
1041         * smiley.el (smiley-regexp-alist): Don't delete the semicolon before
1042         the blinking smiley.
1043
1044 2009-03-24  Simon Josefsson  <simon@josefsson.org>
1045
1046         * smiley.el (smiley-regexp-alist): Disallow ;;) from being treated as a
1047         blink smiley.
1048
1049 2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1050
1051         * gnus-start.el (gnus-dribble-read-file): Ensure that the directory
1052         where the dribbel file lives exists.
1053
1054         * message.el (message-send-mail-partially-limit): Change the default to
1055         nil, since most people don't want this.
1056
1057         * mm-url.el (mm-url-decode-entities): Also decode entities like
1058         &#x3212.
1059
1060 2009-07-16  Kevin Ryde  <user42@zip.com.au>  (tiny change)
1061
1062         * gnus-sum.el (gnus-summary-idna-message):
1063         * nnrss.el (nnrss-normalize-date, nnrss-discover-feed):
1064         Hyperlink urls in docstrings with URL `...'.
1065
1066 2010-08-29  Adam Sjøgren  <asjo@koldfront.dk>
1067
1068         * gnus-html.el (gnus-html-put-image): Use XEmacs-compatible image
1069         functions.
1070
1071 2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1072
1073         * gnus-art.el (gnus-article-add-button): Take an optional parameter to
1074         say what the mouseover text should be.
1075
1076         * gnus-html.el (gnus-html-prefetch-images): Use the summary-local
1077         version of the mm-w3m-safe-url-regexp variable to only download images
1078         in the groups where we want that to happen.
1079
1080         * gnus-sum.el (gnus-summary-stop-at-end-of-message): New variable.
1081
1082         * gnus-art.el (gnus-article-beginning-of-window): Make into defun for
1083         easier debugging.
1084         (gnus-article-beginning-of-window): Add kludge to allow spacing past
1085         big pictures in the article buffer.
1086
1087         * mm-decode.el (mm-text-html-renderer): Default the html renderer to
1088         gnus-article-html.
1089         (mm-text-html-renderer): gnus-article-html needs curl in addition to
1090         w3m.
1091
1092         * gnus-html.el: Start a new super-simple HTML renderer based on w3m.
1093
1094 2010-08-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1095
1096         * gnus.el (gnus-valid-select-methods): Remove reference to nngoogle,
1097         which doesn't exist.
1098
1099         * message.el (message-inhibit-ecomplete): New variable to allow some
1100         function to inhibit ecomplete address storage.
1101         (message-resend): Disable ecomplete message storage when resending
1102         messages.
1103
1104         * nntp.el (nntp-async-kluge): Remove the Emacs 20.3-related kluge.
1105
1106 2010-08-27  Katsumi Yamaoka  <yamaoka@jpl.org>
1107
1108         * gnus-sum.el (gnus-summary-move-article, gnus-summary-delete-article):
1109         Save excursion while copying, moving, and deleting articles in order to
1110         prevent the cursor from jumping to unforeseen place.
1111
1112 2010-08-17  Katsumi Yamaoka  <yamaoka@jpl.org>
1113
1114         * lpath.el: No need to bind bookmark-current-buffer,
1115         bookmark-yank-point and bookmark-make-record-function.
1116
1117 2010-08-17  Glenn Morris  <rgm@gnu.org>
1118
1119         * gnus-sync.el: Require gnus components whose functions are used.
1120
1121         * gnus-art.el (bookmark-make-record-function):
1122         * gnus-sum.el (bookmark-yank-point, bookmark-current-bookmark):
1123         Declare for compiler.
1124
1125         * mm-url.el (mml-compute-boundary): Autoload.
1126
1127 2010-08-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1128
1129         * gnus-start.el (gnus-start-draft-setup): Move doc string forward.
1130
1131 2010-08-14  Teodor Zlatanov  <tzz@lifelogs.com>
1132
1133         Typo fix "hoo4a" -> "hook".
1134
1135         * gnus-sync.el (gnus-sync-install-hooks): Typo fix.
1136
1137 2010-08-14  Glenn Morris  <rgm@gnu.org>
1138
1139         * gnus-sync.el (gnus-sync): Fix defgroup version.
1140
1141 2010-08-13  Teodor Zlatanov  <tzz@lifelogs.com>
1142
1143         Doc fixes and keep unknown groups (ammended for nunion bug fix).
1144
1145         * gnus-sync.el: Fix docs.
1146         (gnus-sync-save): Keep unknown groups in `gnus-sync-newsrc-loader'.
1147         (gnus-sync-read): Don't wipe `gnus-sync-newsrc-loader' after reading.
1148
1149 2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>
1150
1151         Optimizations for gnus-sync.el.
1152
1153         * gnus-sync.el: Add docs about gnus-sync-backend
1154         possibilities.
1155         (gnus-sync-save): Remove unnecessary message.
1156         (gnus-sync-read): Optimize and show what groups were skipped.
1157
1158 2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>
1159
1160         Minor bug fixes for gnus-sync.el.
1161
1162         * gnus-sync.el (gnus-sync-unload-hook, gnus-sync-install-hooks): Don't
1163         read the sync on get-new-news.
1164
1165         * gnus-sync.el (gnus-sync-save): Define `variable' so the compiler is
1166         quiet.
1167
1168         * gnus-sync.el (gnus-sync-read): Use `gnus-sync-newsrc-offsets' (fix typo).
1169
1170 2010-07-30  Lawrence Mitchell  <wence@gmx.li>
1171
1172         Make saving and restoring of hidden threads work with overlays.
1173         Patch applied by Ted Zlatanov.
1174
1175         * gnus-sum.el (gnus-hidden-threads-configuration)
1176         (gnus-restore-hidden-threads-configuration): Update to deal with text
1177         properties, rather than searching for a magic character.
1178
1179 2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>
1180
1181         New gnus-sync.el library for synchronization of marks.
1182
1183         * gnus-sync.el: New library for synchronization of marks.
1184
1185         * gnus-util.el (gnus-grep-in-list): Moved from gnus-registry.el and
1186         renamed from `gnus-registry-grep-in-list'.
1187
1188         * gnus-registry.el (gnus-registry-follow-group-p): Use `gnus-grep-in-list'.
1189
1190         * gnus-start.el (gnus-start-draft-setup): Make it interactive.
1191
1192 2010-08-06  Katsumi Yamaoka  <yamaoka@jpl.org>
1193
1194         * rfc2047.el (rfc2047-encode): Use utf-8 as a last resort if
1195         determining charset of text fails.
1196
1197 2010-08-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1198
1199         * nnmail.el (nnmail-get-new-mail-1): Revert.
1200
1201         * nnml.el (nnml-active-number): Make sure names of newly created groups
1202         in nnml-group-alist are encoded.
1203
1204 2010-07-30  Katsumi Yamaoka  <yamaoka@jpl.org>
1205
1206         * nnmail.el (nnmail-get-new-mail-1): Encode group names possibly
1207         containing non-ASCII characters in active file for nnml back end.
1208
1209 2010-07-24  David Engster  <dengste@eml.cc>
1210
1211         * mml-smime.el (mml-smime-epg-verify): Also accept the older
1212         x-pkcs7-signature MIME type as signature (RFC 2311, C.1).
1213
1214 2010-07-21  Daiki Ueno  <ueno@unixuser.org>
1215
1216         * mml.el (mml-parse-1): Collect "certfile" attributes in "<#secure>"
1217         tag (Bug#6654).
1218
1219 2010-07-20  Katsumi Yamaoka  <yamaoka@jpl.org>
1220
1221         * gnus-sum.el (gnus-summary-bookmark-make-record): Bookmark position in
1222         the article buffer, not the summary buffer.
1223
1224 2010-07-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1225
1226         * gnus-sum.el (gnus-summary-bookmark-make-record): Make it work for
1227         Emacs 23 as well.
1228
1229 2010-07-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1230
1231         * lpath.el: Bind bookmark-current-buffer, bookmark-yank-point for all
1232         Emacs versions; bind bookmark-make-record-function for Emacs >=22.
1233
1234 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1235
1236         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
1237         Patch applied by Karl Fogel.
1238
1239         * gnus-sum.el (gnus-summary-bookmark-make-record): Set
1240         `bookmark-yank-point' and `bookmark-current-buffer' to allow C-w.
1241
1242 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1243
1244         Allow bookmarks to be set from Gnus Article buffers (Bug #5975).
1245         Patch applied (with minor tweaks) by Karl Fogel.  Note this leaves
1246         C-w still not working correctly from Article buffers; Thierry's
1247         patch to fix that will be applied after this.
1248
1249         * gnus-art.el (bookmark-make-record-function): New local variable.
1250
1251         * gnus-sum.el (gnus-summary-bookmark-make-record): Allow setting from
1252         article buffer.
1253         (gnus-summary-bookmark-jump): Maybe jump to article buffer.
1254
1255 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
1256
1257         * gnus-sum.el (bookmark-make-record-default): Adjust declaration, based
1258         on changes in bookmark.el.
1259
1260 2010-07-13  Katsumi Yamaoka  <yamaoka@jpl.org>
1261
1262         * gnus-xmas.el (gnus-xmas-read-event-char): Use display-message with
1263         `no-log' instead of message not to log prompt string.
1264
1265 2010-06-22  Mark A. Hershberger  <mah@everybody.org>
1266
1267         * mm-url.el (mm-url-encode-multipart-form-data): New function to handle
1268         the *other* type of HTML form submission.
1269
1270 2010-06-15  Michael Albinus  <michael.albinus@gmx.de>
1271
1272         * auth-source.el (auth-source-pick): If choice does not contain a
1273         questioned keyword, set the check to t.
1274
1275 2010-06-12  Romain Francoise  <romain@orebokech.com>
1276
1277         * gnus-util.el (gnus-date-get-time): Move up before first use.
1278
1279 2010-06-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1280
1281         * gnus-art.el (gnus-mime-buttonized-part-id): New internal variable.
1282         (gnus-article-edit-part): Bind it to make last part that is substituted
1283         or deleted visible.
1284         (gnus-mime-display-single): Buttonize part of which id equals to
1285         gnus-mime-buttonized-part-id.
1286
1287 2010-06-10  Dan Christensen  <jdc@uwo.ca>
1288
1289         * gnus-util.el (gnus-user-date): Use gnus-date-get-time.
1290         (gnus-dd-mmm): Use gnus-date-get-time.
1291         * gnus-sum.el (gnus-thread-latest-date): Use gnus-date-get-time and
1292         simplify logic.
1293         (gnus-summary-limit-to-age): Use gnus-date-get-time.
1294         (gnus-sort-threads): emit message if gnus-sort-threads-loop used.
1295
1296 2010-06-08  Michael Albinus  <michael.albinus@gmx.de>
1297
1298         * auth-source.el (top): Autoload `secrets-list-collections',
1299         `secrets-create-item', `secrets-delete-item'.
1300         (auth-sources): Fix tag string.
1301         (auth-get-source, auth-source-retrieve, auth-source-create)
1302         (auth-source-delete): New defuns.
1303         (auth-source-pick): Rewrite in order to avoid 2 passes.
1304         (auth-source-forget-user-or-password): New parameter USERNAME.
1305         (auth-source-user-or-password): New parameters CREATE-MISSING and
1306         DELETE-EXISTING.  Retrieve password interactively, if needed.
1307
1308 2010-06-07  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
1309
1310         * gnus-agent.el (gnus-agent-expire-unagentized-dirs): Don't ask about
1311         deleting unused directories when gnus-expert-user is t.
1312
1313 2010-06-02  Katsumi Yamaoka  <yamaoka@jpl.org>
1314
1315         * gnus-art.el (gnus-article-browse-delete-temp-files): Don't make query
1316         for each temp file when gnus-article-browse-delete-temp is ask.
1317
1318 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1319
1320         * gnus-uu.el, imap.el, nndoc.el, nnrss.el, rfc2047.el, utf7.el: Replace
1321         Lisp calls to delete-backward-char by calls to delete-char.
1322
1323 2010-05-20  Kevin Ryde  <user42@zip.com.au>
1324
1325         * gnus-start.el (gnus-level-unsubscribed): Doc fix.  (Bug#6206)
1326
1327 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
1328
1329         * password-cache.el (password-cache-remove): Fix docstring.
1330
1331 2010-05-14  Katsumi Yamaoka  <yamaoka@jpl.org>
1332
1333         * gnus-sum.el (gnus-summary-save-article): Don't bother to re-fetch
1334         article unless decoding article to be saved.
1335
1336 2010-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>
1337
1338         * mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt)
1339         * mml2015.el (mml2015-gpg-encrypt): Disable multibyte in buffers
1340         generated within the mm-with-unibyte-current-buffer macro.
1341
1342 2010-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>
1343
1344         * gnus-art.el (gnus-bind-safe-url-regexp): Bind mm-w3m-safe-url-regexp
1345         to nil when we're in a mml-preview buffer and no group is selected.
1346
1347 2010-05-12  Andreas Seltenreich  <seltenreich@gmx.de>
1348
1349         * gnus-sum.el (gnus-summary-read-group-1): Don't jump to next group
1350         when catching the `C-g'.  Reported by "Leo".
1351
1352 2010-05-12  Katsumi Yamaoka  <yamaoka@jpl.org>
1353
1354         * message.el (message-forward-make-body-plain)
1355         (message-forward-make-body-mml): Use mm-multibyte-string-p instead of
1356         multibyte-string-p.
1357
1358         * lpath.el: Revert.
1359
1360 2010-05-12  Katsumi Yamaoka  <yamaoka@jpl.org>
1361
1362         * message.el (message-forward-make-body-mml): Assume original message
1363         is multibyte string; error on unibyte.
1364         (message-forward-make-body-plain): Ditto; don't add excessive newline
1365         in body end.
1366
1367         * lpath.el: Fbind multibyte-string-p for XEmacs 21.4 and SXEmacs.
1368
1369 2010-05-11  Andreas Seltenreich  <seltenreich@gmx.de>
1370
1371         * gnus-sum.el (gnus-summary-kill-thread): Use gnus-summary-mark-article
1372         instead of g-s-m-a-as-unread to set the expirable mark.  (Bug#5284)
1373
1374 2010-05-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1375
1376         * mm-extern.el (mm-extern-url): Don't use
1377         mm-with-unibyte-current-buffer.
1378         (mm-extern-cache-contents): Use with-current-buffer instead of
1379         save-excursion + set-buffer.
1380
1381 2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1382
1383         * mm-util.el (mm-emacs-mule): Remove.
1384
1385 2010-05-10  Andreas Seltenreich  <seltenreich@gmx.de>
1386
1387         * gnus-sum.el (gnus-summary-mode): Don't make minor-mode-alist
1388         buffer-local as it's incompatible with Stefan Monnier's 2010-05-03
1389         change.
1390
1391 2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1392
1393         * mm-util.el (mm-with-unibyte-current-buffer): Redefine it so as not to
1394         bind the default value of enable-multibyte-characters to nil.
1395
1396 2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1397
1398         * message.el (message-forward-make-body-plain)
1399         (message-forward-make-body-mml):
1400         Don't use mm-with-unibyte-current-buffer.
1401
1402 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1403
1404         * dns-mode.el (auto-mode-alist): Add entry for .zone files.
1405
1406 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
1407
1408         * mml2015.el (mml2015-epg-find-usable-key): Skip disabled key
1409         (Bug#5592).
1410
1411 2010-05-07  Julien Danjou  <julien@danjou.info>
1412
1413         * gnus-art.el (gnus-mime-pipe-part): Add optional argument `cmd'; pass
1414         it to mm-pipe-part.
1415
1416         * mm-decode.el (mm-pipe-part): Add optional argument `cmd'; use it if
1417         it is given.
1418
1419 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
1420
1421         * binhex.el (binhex-decode-region-internal)
1422         * dns.el (dns-read-string-name, dns-write, dns-read, dns-read-type)
1423         (dns-query)
1424         * nnweb.el (nnweb-gmane-search)
1425         * pgg-parse.el (pgg-parse-armor)
1426         * pgg.el (pgg-verify-region)
1427         * sha1.el (sha1-string-external)
1428         * uudecode.el (uudecode-decode-region-internal)
1429         * yenc.el (yenc-decode-region): Don't run set-buffer-multibyte for
1430         XEmacs.
1431
1432         * gnus-art.el (gnus-article-browse-html-parts)
1433         * gnus-group.el (gnus-read-ephemeral-gmane-group)
1434         (gnus-read-ephemeral-bug-grou): Use mm-make-temp-file instead of
1435         make-temp-file.
1436
1437         * gnus-dired.el (gnus-dired-mode): Bind gnus-dired-mode-hook,
1438         gnus-dired-mode-on-hook and gnus-dired-mode-off-hook for XEmacs when
1439         compiling.
1440
1441         * gnus-ml.el (gnus-mailing-list-mode): Bind gnus-mailing-list-mode-hook,
1442         gnus-mailing-list-mode-on-hook and gnus-mailing-list-mode-off-hook for
1443         XEmacs when compiling.
1444
1445         * gnus-salt.el (gnus-pick-mode): Bind gnus-pick-mode-on-hook and
1446         gnus-pick-mode-off-hook for XEmacs when compiling.
1447         (gnus-binary-mode): Bind gnus-binary-mode-on-hook and
1448         gnus-binary-mode-off-hook for XEmacs when compiling.
1449
1450         * gnus-sum.el (gnus-summary-limit-strange-charsets-predicate): Return
1451         nil if char-charset is not available.
1452
1453         * imap.el (imap-disable-multibyte)
1454         * sieve-manage.el (sieve-manage-disable-multibyte): Redefine them as
1455         macros.
1456
1457         * mm-url.el (mm-url-form-encode-xwfu): Use mm-encode-coding-string
1458         instead of encode-coding-string.
1459
1460         * mm-util.el (mm-enable-multibyte, mm-disable-multibyte): Use (featurep
1461         'xemacs) instead of mm-emacs-mule to switch function definitions.
1462         (mm-with-unibyte-current-buffer): Make it a progn macro for XEmacs.
1463
1464         * lpath.el: Fbind delete-overlay and overlay-lists for XEmacs;
1465         bind temporary-file-directory for XEmacs;
1466         fbind make-temp-file, set-buffer-multibyte, string-as-multibyte and
1467         timer-set-function for XEmacs 21.4 and SXEmacs;
1468         bind timer-list for XEmacs 21.4 and SXEmacs;
1469         fbind char-charset and find-charset-region for non-Mule XEmacs;
1470         fbind decode-coding-region, decode-coding-string, detect-coding-region,
1471         encode-coding-region and encode-coding-string for XEmacs having no
1472         file-coding feature.
1473
1474 2010-05-06  Tommi Vainikainen  <thv@iki.fi>  (tiny change)
1475
1476         * mml-sec.el (mml-secure-message-sign): Fix cut and paste error.
1477
1478 2010-05-06  Katsumi Yamaoka  <yamaoka@jpl.org>
1479
1480         * gnus-dired.el, gnus-draft.el, gnus-ml.el, gnus-salt.el, gnus-sum.el,
1481         gnus-undo.el, mml.el: Require easy-mmode for XEmacs when compiling.
1482
1483 2010-05-03  Juanma Barranquero  <lekktu@gmail.com>
1484
1485         * mm-util.el (mm-decompress-buffer): Use `delete-file';
1486         alias `jka-compr-delete-temp-file' no longer exists.
1487
1488 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1489
1490         Use define-minor-mode in Gnus where applicable.
1491         * mml.el (mml-mode): Use define-minor-mode.
1492         * gnus-undo.el (gnus-undo-mode-map): Initialize in declaration.
1493         (gnus-undo-mode): Use define-minor-mode.
1494         * gnus-sum.el (gnus-dead-summary-mode-map): Initialize in declaration.
1495         (gnus-dead-summary-mode): Use define-minor-mode.
1496         * gnus-salt.el (gnus-pick-mode-map, gnus-binary-mode-map):
1497         Initialize in declaration.
1498         (gnus-pick-mode, gnus-binary-mode): Use define-minor-mode.
1499         * gnus-ml.el (gnus-mailing-list-mode-map): Initialize in declaration.
1500         (gnus-mailing-list-mode): Use define-minor-mode.
1501         * gnus-draft.el (gnus-draft-mode-map): Initialize in declaration.
1502         (gnus-draft-mode): Use define-minor-mode.
1503         * gnus-dired.el (gnus-dired-mode-map): Initialize in declaration.
1504         (gnus-dired-mode): Use define-minor-mode.
1505
1506 2010-05-01  Andreas Seltenreich  <seltenreich@gmx.de>
1507
1508         * mml.el (mml-generate-mime-1,mml-compute-boundary-1): Update 'mml
1509         handles on recursive mml-to-mime translation and check them for
1510         boundary delimiter collisions.  Reported by Greg Troxel.
1511
1512 2010-04-27  Katsumi Yamaoka  <yamaoka@jpl.org>
1513
1514         * gnus-util.el: Don't load tm and apel XEmacs packages when compiling.
1515
1516 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1517
1518         * mm-util.el (mm-find-buffer-file-coding-system):
1519         * yenc.el (yenc-decode-region): Don't let-bind a read-only variable.
1520
1521 2010-04-22  Andreas Seltenreich  <seltenreich@gmx.de>
1522
1523         * message.el (message-generate-headers): Record insertion of optional
1524         headers as well.  Otherwise the check to prevent repeated insertion of
1525         optional headers is a no-op.
1526
1527 2010-04-17  Teodor Zlatanov  <tzz@lifelogs.com>
1528
1529         * smime.el: Don't mention CVS.
1530
1531         * nnrss.el (nnrss-fetch): Don't mention CVS.
1532
1533         * nnir.el: Don't mention CVS.
1534
1535 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1536
1537         * gnus-sum.el (gnus-summary-bookmark-make-record): Add `location' field.
1538
1539 2010-04-14  Katsumi Yamaoka  <yamaoka@jpl.org>
1540
1541         * lpath.el: Fbind bookmark-default-handler,
1542         bookmark-get-bookmark-record, bookmark-make-record-default,
1543         bookmark-prop-get for Emacs <23 and XEmacs.
1544
1545 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1546
1547         * gnus-sum.el: Add bookmark declarations to silence the compiler.
1548         (gnus-mark-xrefs-as-read, gnus-summary-limit-to-bodies):
1549         Use with-current-buffer to silence the byte-compiler.
1550         (gnus-summary-bookmark-make-record): Use derived-mode-p and don't
1551         bother to require `gnus'.
1552         (gnus-summary-bookmark-jump): Don't forget to autoload.  Simplify.
1553
1554 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1555
1556         * gnus-sum.el (gnus-summary-bookmark-make-record)
1557         (gnus-summary-bookmark-jump): New functions.
1558         (gnus-summary-mode): Setup bookmark support.
1559
1560 2010-04-01  Andreas Schwab  <schwab@linux-m68k.org>
1561
1562         * mm-uu.el (mm-uu-pgp-signed-extract-1): Use buffer-file-coding-system
1563         if set.
1564
1565 2010-03-31  Katsumi Yamaoka  <yamaoka@jpl.org>
1566
1567         * gnus-art.el (gnus-article-browse-html-save-cid-content): Rename from
1568         gnus-article-browse-html-save-cid-image; make it work recursively for
1569         forwarded messages as well.
1570         (gnus-article-browse-html-parts): Work when prefix arg is given.
1571         (gnus-article-browse-html-article): Doc fix.
1572
1573 2010-03-30  Chong Yidong  <cyd@stupidchicken.com>
1574
1575         * message.el (message-default-mail-headers):
1576         (message-default-headers): Carry the value mail-default-headers over
1577         into message-default-mail-headers, rather than message-default-headers.
1578
1579 2010-03-30  Martin Stjernholm  <mast@lysator.liu.se>
1580
1581         * mm-decode.el (mm-add-meta-html-tag): Added option to override the
1582         charset.
1583
1584         * gnus-art.el (gnus-article-browse-html-parts): Force the correct
1585         charset into the <meta> tag when the article is encoded to utf-8.
1586
1587 2010-03-30  Katsumi Yamaoka  <yamaoka@jpl.org>
1588
1589         * gnus-art.el (gnus-article-browse-delete-temp-files): Delete
1590         directories as well.
1591         (gnus-article-browse-html-parts): Work for images that do not specify
1592         file names; delete temp directory when quitting; insert header at the
1593         right place; use file: scheme for image files.
1594
1595 2010-03-30  Eric Schulte  <schulte.eric@gmail.com>
1596
1597         * gnus-art.el (gnus-article-browse-html-save-cid-image): New function.
1598         (gnus-article-browse-html-parts): Use it to make temporary cid image
1599         files in addition to html file so that browser may display them.
1600
1601 2010-03-29  Katsumi Yamaoka  <yamaoka@jpl.org>
1602
1603         * mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag.
1604
1605 2010-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
1606
1607         * auth-source.el (auth-source-pick): Fix for non-secrets specifier.
1608
1609 2010-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
1610
1611         * auth-source.el (auth-sources): Change default to be simpler.  Explain
1612         about Secret Service API sources.  Improve Customize options.
1613         (auth-source-pick): Change to accept any number of search parameters.
1614         Implement fallbacks iteratively, not recursively.  Add scoring on the
1615         second pass and sort by score.  Call Secret Service API when needed.
1616         (auth-source-user-or-password): Use it.  Call Secret Service API
1617         directly when needed to get the user name and the password.
1618
1619 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
1620
1621         * message.el (message-interactive): Doc fix.
1622         (message-qmail-inject-args): Reflow.
1623         (message-kill-to-signature): Fix typo in docstring.
1624
1625         * smiley.el (smiley-buffer): Fix typo in docstring.
1626
1627 2010-03-24  Glenn Morris  <rgm@gnu.org>
1628
1629         * mail-source.el (gnus-message): Declare.
1630         (mail-source-delete-old-incoming): Require gnus-util.
1631
1632 2010-03-23  Katsumi Yamaoka  <yamaoka@jpl.org>
1633
1634         * gnus-art.el (canlock-verify): Autoload it for Emacs 21.
1635
1636         * message.el (ecomplete-setup): Autoload it for Emacs <23.
1637
1638         * mml-sec.el (mml-secure-cache-passphrase): Default to t that is
1639         password-cache's default if it is not bound.
1640         (mml-secure-passphrase-cache-expiry): Default to 16 that is
1641         password-cache-expiry's default if it is not bound.
1642
1643         * pop3.el (pop3-list): Don't use 3rd arg of `split-string' which is not
1644         available in Emacs 21.
1645
1646         * lpath.el: Suppress compiler warnings for:
1647         canlock-insert-header and smtpmail-default-smtp-server for Emacs 21 and
1648         XEmacs;
1649         ecomplete-add-item, ecomplete-save, hashcash-wait-async,
1650         mail-add-payment, mail-add-payment-async, netrc-get, netrc-machine,
1651         netrc-machine-user-or-password and netrc-parse for Emacs 22 and XEmacs.
1652
1653 2010-03-23  Teodor Zlatanov  <tzz@lifelogs.com>
1654
1655         * auth-source.el (auth-sources): Fix up definition so extra parameters
1656         are always inline.
1657
1658 2010-03-22  Martin Stjernholm  <mast@lysator.liu.se>
1659
1660         * nnimap.el (nnimap-verify-uidvalidity): Fixed bug where uidvalidity
1661         wasn't updated after mismatch.  Clear cached mailbox info correctly
1662         when uidvalidity changes.
1663         (nnimap-group-prefixed-name): New function to avoid some code
1664         duplication.
1665         (nnimap-verify-uidvalidity, nnimap-group-overview-filename)
1666         (nnimap-request-group): Use it.
1667         (nnimap-retrieve-groups, nnimap-verify-uidvalidity)
1668         (nnimap-update-unseen): Significantly improved speed of Gnus startup
1669         with many imap folders.  This is done by caching the group status from
1670         the imap server persistently in a group parameter `imap-status'.  (This
1671         was cached before too if `nnimap-retrieve-groups-asynchronous' was set,
1672         but not persistently, so every Gnus startup was still very slow.)
1673
1674 2010-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
1675
1676         * assistant.el (assistant-render-text): Run `widget-setup' and don't
1677         delete the extra newline.  Otherwise editing of :string and :number
1678         types don't work.
1679
1680 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
1681
1682         * auth-source.el: Set up autoloads.  Bump to 23.2 because of the
1683         secrets.el dependency.
1684         (auth-sources): Add optional user name.  Add secrets.el configuration
1685         choice (unused right now).
1686
1687 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
1688
1689         * gnus-sum.el (gnus-summary-make-menu-bar): Let
1690         `gnus-registry-install-shortcuts' fill in the functions.
1691
1692         * gnus-registry.el (gnus-summary-misc-menu): Declare to avoid
1693         warnings.
1694         (gnus-registry-misc-menus): Variable to hold registry mark menus.
1695         (gnus-registry-install-shortcuts): Populate and use it in a
1696         `gnus-summary-menu-hook' lambda, under "Gnus"->"Registry Marks".
1697
1698 2010-03-20  Martin Stjernholm  <mast@lysator.liu.se>
1699
1700         * nnimap.el (nnimap-decode-group-name, nnimap-encode-group-name):
1701         In-place substitutions for the group name encoding/decoding.
1702         (nnimap-find-minmax-uid, nnimap-possibly-change-group)
1703         (nnimap-retrieve-headers-progress, nnimap-possibly-change-group)
1704         (nnimap-retrieve-headers-progress, nnimap-request-article-part)
1705         (nnimap-update-unseen, nnimap-request-list)
1706         (nnimap-retrieve-groups, nnimap-request-update-info-internal)
1707         (nnimap-request-set-mark, nnimap-split-to-groups)
1708         (nnimap-split-articles, nnimap-request-newgroups)
1709         (nnimap-request-create-group, nnimap-request-accept-article)
1710         (nnimap-request-delete-group, nnimap-request-rename-group)
1711         (nnimap-acl-get, nnimap-acl-edit): Use them.  Replace `mbx' with
1712         `encoded-mbx' for consistency.
1713         (nnimap-close-group): Call `imap-current-mailbox' instead of using the
1714         variable `imap-current-mailbox'.
1715
1716         * gnus-agent.el (gnus-agent-fetch-articles, gnus-agent-fetch-headers)
1717         (gnus-agent-regenerate-group): Use `gnus-agent-decoded-group-name'.
1718
1719 2010-03-20  Bojan Petrovic  <bpetrovi@f.bg.ac.rs>
1720
1721         * pop3.el (pop3-display-message-size-flag): Display message size byte
1722         counts during POP3 download.
1723         (pop3-movemail): Use it.
1724         (pop3-list): Implement listing of available messages.
1725
1726 2010-03-20  Mark Triggs  <mst@dishevelled.net>  (tiny change)
1727
1728         * nnir.el (nnir-get-article-nov-override-function): New function to
1729         override the normal NOV retrieval.
1730         (nnir-retrieve-headers): Use it.
1731
1732 2010-03-19  Michael Albinus  <michael.albinus@gmx.de>
1733
1734         * auth-source.el (netrc-machine-user-or-password): Autoload.
1735
1736 2010-03-19  Glenn Morris  <rgm@gnu.org>
1737
1738         Stop message.el from loading about 40 libraries it doesn't always need.
1739         The general approach is to autoload rather than require, and to
1740         require in the specific functions rather than the file.  (Bug#5642)
1741
1742         * gmm-utils.el: Don't require wid-edit.
1743         (widget-create-child-value, widget-convert, widget-default-get):
1744         Autoload.
1745
1746         * gnus-util.el: Don't require time-date, netrc.
1747         (message-fetch-field, gnus-group-name-decode): Declare rather than
1748         autoloading.
1749         (gnus-fetch-field): Require message.
1750         (gnus-decode-newsgroups): Require gnus-group.
1751
1752         * ietf-drums.el: Don't require time-date.
1753
1754         * message.el: Don't require hashcash, canlock, ecomplete.
1755         Do require mail-utils.  Require nnheader only when compiling.
1756         (smtpmail-default-smtp-server): Remove declaration.
1757         (message-send-mail-function): Check smtpmail-default-smtp-server
1758         is bound rather than requiring smtpmail.
1759         (message-auto-save-directory, message-insert-signature): Use
1760         expand-file-name rather than nnheader-concat.
1761         (nnheader-insert-file-contents): Autoload.
1762         (hashcash-wait-async): Declare.
1763         (message-send-mail): Only call gnus-setup-posting-charset if
1764         gnus-group-posting-charset-alist is bound.  Require hashcash if needed.
1765         (message-send-mail-with-sendmail): Require sendmail.
1766         (canlock-password, canlock-password-for-verify): Declare.
1767         (message-canlock-password): Require canlock.
1768         (nnheader-get-report): Autoload.
1769         (gnus-setup-posting-charset): Declare.
1770         (message-send-news): Require gnus-msg.
1771         (message-make-references, message-make-in-reply-to): Use mail-header-id
1772         rather than the alias mail-header-message-id.
1773         (ecomplete-add-item, ecomplete-save): Declare.
1774         (message-put-addresses-in-ecomplete): Require ecomplete.
1775         (ecomplete-display-matches): Autoload.
1776
1777         * mm-decode.el: Don't require mailcap, gnus-util.
1778         (gnus-map-function, gnus-replace-in-string, gnus-read-shell-command)
1779         (message-fetch-field, mailcap-parse-mailcaps, mailcap-mime-info):
1780         Autoload.
1781         (mailcap-mime-extensions): Declare.
1782
1783         * mm-encode.el: Don't require mailcap.
1784         (mailcap-extension-to-mime): Autoload.
1785
1786         * mml-sec.el: Don't require password-cache.
1787
1788         * mml.el (gnus-setup-posting-charset): Declare rather than autoload.
1789         (mailcap-parse-mimetypes, mailcap-mime-types): Declare.
1790         (mml-minibuffer-read-type): Require mailcap.
1791         (mml-preview): Require gnus-msg.
1792
1793         * mml1991.el: Require password-cache.
1794         (password-cache-expiry): Remove declaration.
1795
1796         * mml2015.el: Require password-cache.
1797         (password-cache-expiry): Remove declaration.
1798
1799         * nneething.el (mailcap): Require mailcap.
1800
1801         * nnheader.el (declare-function): Add compatibility stub.
1802         (message-remove-header): Declare rather than autoload.
1803         (nnheader-replace-header): Require message.
1804
1805         * nnimap.el (declare-function): Add compatibility stub.
1806         (netrc-parse, netrc-machine-user-or-password): Declare.
1807         (nnimap-open-connection): Require netrc.
1808
1809         * nntp.el (declare-function): Add compatibility stub.
1810         (netrc-parse, netrc-machine, netrc-get): Declare.
1811         (nntp-send-authinfo): Require netrc.
1812
1813         * rfc2047.el: Don't require qp.
1814         (quoted-printable-encode-region, quoted-printable-decode-string):
1815         Autoload.
1816
1817         * sieve-mode.el: Don't require easymenu.
1818         (easy-menu-add-item): Autoload it.
1819
1820         * spam-stat.el (time-to-number-of-days): Autoload it.
1821
1822 2010-03-19  Glenn Morris  <rgm@gnu.org>
1823
1824         * password-cache.el (password-cache, password-cache-expiry): Autoload.
1825
1826 2010-03-18  Glenn Morris  <rgm@gnu.org>
1827
1828         * hashcash.el (declare-function): Remove duplicate definition.
1829
1830 2010-03-17  Kevin Ryde  <user42@zip.com.au>
1831
1832         * mml.el (mml-read-tag): Unquote values with `read' to reverse
1833         prin1 in mml-insert-tag (just stripping the quotes gave wrong
1834         value if any backslash escapes).
1835
1836 2010-03-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1837
1838         * mm-util.el (mm-charset-to-coding-system): Use coding-system-from-name
1839         if it is available.  (bug#5647)
1840
1841         * lpath.el: Suppress compiler warning for coding-system-from-name for
1842         Emacs 21 and XEmacs.
1843
1844 2010-03-14  Juri Linkov  <juri@jurta.org>
1845
1846         * hmac-def.el:
1847         * hmac-md5.el:
1848         * netrc.el: Fix keywords.
1849
1850 2010-02-26  Glenn Morris  <rgm@gnu.org>
1851
1852         * message.el (message-send-mail-function): Change the default, so that
1853         it inherits from a customized send-mail-function.  (Bug#5643)
1854
1855 2010-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1856
1857         * gnus-art.el (gnus-treat-display-x-face): Don't burp if
1858         shell-command-to-string signals an error (bug#5299).
1859
1860 2010-02-24  Glenn Morris  <rgm@gnu.org>
1861
1862         * message.el (message-smtpmail-send-it)
1863         (message-send-mail-with-mailclient): Doc fixes.
1864
1865 2010-02-16  Glenn Morris  <rgm@gnu.org>
1866
1867         * message.el (message-default-mail-headers): Change the default value
1868         to ease the transition from mail-mode to message-mode.  (Bug#5555)
1869
1870 2010-01-19  Katsumi Yamaoka  <yamaoka@jpl.org>
1871
1872         * parse-time.el (parse-time-syntax): Define it for only XEmacs.
1873         (parse-time-string-chars): Implement 2009-08-16 change for Emacs.
1874
1875 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
1876
1877         * time-date.el (date-to-time): Doc fix (Bug#5408).
1878
1879 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
1880
1881         * message.el (message-mail): Just pass yank-action on to message-setup.
1882         (message-setup): Handle (FUN . ARGS) form of yank-action.
1883         (message-with-reply-buffer, message-widen-reply)
1884         (message-yank-original): Handle non-buffer values of
1885         message-reply-buffer (Bug#4080).
1886         (message-setup-1): Prefer to save message-reply-buffer as a buffer.
1887
1888 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
1889
1890         * nnmairix.el (nnmairix-group-delete-recreate-this-group):
1891         Fix typo in docstring.
1892
1893 2010-01-08  Jason Rumney  <jasonr@gnu.org>
1894
1895         * sieve-manage.el (sieve-manage-parse-capability-1): Loosely match OK
1896         response.
1897
1898 2010-01-06  Katsumi Yamaoka  <yamaoka@jpl.org>
1899
1900         * gnus-art.el (gnus-article-describe-bindings): Work for prefix keys.
1901
1902         * gnus-xmas.el (gnus-xmas-article-describe-bindings): Ditto.
1903
1904         * message.el (message-check-news-header-syntax): Protect against a
1905         string that `rfc822-addresses' returns when parsing fails.
1906
1907 2010-01-06  Katsumi Yamaoka  <yamaoka@jpl.org>
1908
1909         * gnus-util.el (gnus-invisible-p, gnus-next-char-property-change)
1910         (gnus-previous-char-property-change): New functions.
1911
1912         * gnus-sum.el (gnus-forward-line-ignore-invisible): Use them.
1913
1914 2010-01-05  Andreas Schwab  <schwab@linux-m68k.org>
1915
1916         * gnus-sum.el (gnus-forward-line-ignore-invisible): New function.
1917         (gnus-summary-recenter): Use it instead of forward-line.  (Bug#5257)
1918
1919 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
1920
1921         * message.el (message-exchange-point-and-mark): Rework last change to
1922         avoid using optional arg of exchange-point-and-mark, for backward
1923         compatibility.
1924
1925 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
1926
1927         * message.el (message-exchange-point-and-mark): Call
1928         exchange-point-and-mark with an argument rather than setting
1929         mark-active by hand (Bug#5175).
1930
1931 2009-12-18  Katsumi Yamaoka  <yamaoka@jpl.org>
1932
1933         * nntp.el (nntp-service-to-port): Work for service expressed with
1934         numeric string; replace [:digit:] with [0-9] for XEmacs.
1935
1936 2009-12-17  Glenn Morris  <rgm@gnu.org>
1937
1938         * gnus-group.el (gnus-bug-group-download-format-alist):
1939         Change emacs entry to debbugs.gnu.org.  Bump :version.
1940
1941 2009-12-13  Reiner Steib  <Reiner.Steib@gmx.de>
1942
1943         * mm-encode.el (mm-sign-option, mm-encrypt-option): Add :version tag.
1944
1945 2009-12-12  Reiner Steib  <Reiner.Steib@gmx.de>
1946
1947         * message.el (message-info): Explain why we use `Info-goto-node'.
1948
1949 2009-12-02  Katsumi Yamaoka  <yamaoka@jpl.org>
1950
1951         * lpath.el: Always bind default-file-name-coding-system for (S)XEmacs.
1952
1953 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1954
1955         * message.el (message-completion-in-region): New compatibility function.
1956         (message-expand-group): Use it.
1957
1958 2009-12-02  Katsumi Yamaoka  <yamaoka@jpl.org>
1959
1960         * gnus-group.el (gnus-group-prepare-flat): Check also whether groups
1961         with no unread article should be listed if the 2nd arg `predicate' is
1962         given.
1963
1964 2009-11-30  Katsumi Yamaoka  <yamaoka@jpl.org>
1965
1966         * lpath.el: Fbind recenter-top-bottom for Emacs 21, 22, and (S)XEmacs.
1967
1968 2009-11-29  Juri Linkov  <juri@jurta.org>
1969
1970         * gnus-sum.el (gnus-recenter): Use `recenter-top-bottom'
1971         when it is fboundp in GNU Emacs 23.1.  Put `isearch-scroll' property
1972         on `gnus-recenter'. (Bug#4698, Bug#4981)
1973
1974 2009-11-26  Kevin Ryde  <user42@zip.com.au>
1975
1976         * sha1.el (sha1-string-external): default-directory "/" in case
1977         otherwise non-existent.  process-connection-type pipe for touch of
1978         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
1979
1980 2009-11-25  Kevin Ryde  <user42@zip.com.au>
1981
1982         * dns-mode.el: Add "Keywords: comm".  It's only an editing mode, but
1983         it's comms related and sgml-mode.el has "comm" on that basis too.
1984
1985 2009-11-17  Katsumi Yamaoka  <yamaoka@jpl.org>
1986
1987         * rfc2047.el (rfc2047-decode-region): Don't quote decoded words
1988         containing tspecial characters if they have been already quoted.
1989
1990 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
1991
1992         * dns-mode.el (auto-mode-alist): Purecopy string.
1993
1994 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1995
1996         * hashcash.el (hashcash-generate-payment): Use with-current-buffer.
1997
1998 2009-10-24  Glenn Morris  <rgm@gnu.org>
1999
2000         * gnus-art.el (help-xref-stack-item): Define for compiler.
2001
2002 2009-10-21  Kevin Ryde  <user42@zip.com.au>
2003
2004         * dns.el: Add "Keywords: comm", as per net/net-utils.el.
2005
2006 2009-10-20  Katsumi Yamaoka  <yamaoka@jpl.org>
2007
2008         * gnus-sum.el (gnus-remove-overlays): eval-and-compile.
2009
2010 2009-10-19  Katsumi Yamaoka  <yamaoka@jpl.org>
2011
2012         * gnus-sum.el (gnus-summary-show-thread): Remove useless goto-char.
2013         (gnus-summary-show-thread, gnus-summary-hide-thread): Indent.
2014
2015 2009-10-16  Katsumi Yamaoka  <yamaoka@jpl.org>
2016
2017         * gnus.el (gnus-overlay-get): New alias to overlay-get.
2018         (gnus-overlays-in): New alias to overlays-in.
2019
2020         * gnus-sum.el (gnus-remove-overlays): Use gnus-overlays-in,
2021         gnus-overlay-get, and gnus-delete-overlay.
2022         (gnus-summary-show-thread): Make it work as well for systems in which
2023         next-single-char-property-change is not available.
2024         (gnus-summary-hide-thread): Use gnus-make-overlay and gnus-overlay-put.
2025
2026         * gnus-xmas.el (gnus-xmas-overlays-in): New function.
2027         (gnus-overlay-get): New alias to extent-property.
2028         (gnus-overlays-in): New alias to gnus-xmas-overlays-in.
2029
2030         * dgnushack.el: Autoload add-to-invisibility-spec for XEmacs 21.4 and
2031         SXEmacs.
2032
2033         * lpath.el: Fbind next-single-char-property-change for XEmacs 21.4 and
2034         SXEmacs.
2035
2036 2009-10-14  Reiner Steib  <Reiner.Steib@gmx.de>
2037
2038         * gnus-sum.el (gnus-remove-overlays): Add doc string and alias.
2039
2040 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
2041
2042         * gnus-sum.el (gnus-remove-overlays): Compatibility code for Emacs 21
2043         and XEmacs that don't have `remove-overlays'.
2044
2045 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2046
2047         * gnus-sum.el (gnus-summary-mode, gnus-summary-show-all-threads)
2048         (gnus-summary-show-thread, gnus-summary-hide-thread): Get rid of
2049         selective display.  Use overlays instead.
2050
2051 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
2052
2053         * spam-stat.el (spam-stat-strip-xref): Fix typo in docstring.
2054
2055 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
2056
2057         * spam-stat.el (spam-stat-load): Fix typo in message.
2058
2059 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
2060
2061         * dig.el (dig-invoke): Fix typo in docstring.
2062         (query-dig): Reflow docstring.
2063
2064 2009-09-23  Juanma Barranquero  <lekktu@gmail.com>
2065
2066         * gnus-art.el (gnus-article-encrypt-body):
2067         * message.el (message-check-recipients):
2068         * mm-util.el (mm-codepage-setup):
2069         * nnir.el (gnus-summary-nnir-goto-thread, nnir-run-waissearch)
2070         (nnir-run-swish++, nnir-run-swish-e): Fix typos in error messages.
2071
2072 2009-09-22  Daiki Ueno  <ueno@unixuser.org>
2073
2074         * mm-encode.el (mm-sign-option, mm-encrypt-option): New user option.
2075         * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Let users select
2076         keys from the menu if mm-{sign,encrypt}-option is 'guided.
2077         * mml-smime.el (mml-smime-epg-sign, mml-smime-epg-encrypt): Ditto.
2078         * mml1991.el (mml1991-epg-sign, mml1991-epg-encrypt): Ditto.
2079
2080 2009-09-21  Kevin Ryde  <user42@zip.com.au>
2081
2082         * dig.el: Add "Keywords: comm", as per net-utils.el.
2083
2084 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2085
2086         * dig.el (dig-mode): Use define-derived-mode.
2087
2088 2009-09-19  Glenn Morris  <rgm@gnu.org>
2089
2090         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
2091
2092 2009-09-18  Glenn Morris  <rgm@gnu.org>
2093
2094         * gnus-diary.el (gnus-diary-check-message):
2095         * message.el (message-insert-formatted-citation-line):
2096         * nnbabyl.el (top-level):
2097         * nndiary.el (nndiary-schedule):
2098         Fix typos in condition-case handlers.
2099
2100 2009-09-15  Katsumi Yamaoka  <yamaoka@jpl.org>
2101
2102         * gnus-art.el (gnus-article-edit-part): Work for the buffer
2103         configuration that provides the sole article window in a frame;
2104         position point correctly after deleting a part.
2105
2106 2009-09-14  Adam Sjøgren  <asjo@koldfront.dk>
2107
2108         * spam.el (spam-unregister-on-reregister): Add boolean variable.
2109         (spam-resolve-registrations-routine): Use it to unregister articles
2110         that change status.
2111
2112 2009-09-13  Katsumi Yamaoka  <yamaoka@jpl.org>
2113
2114         * parse-time.el (parse-time-syntax): Restore it to keep compatibility
2115         with XEmacs.
2116         (parse-time-string-chars): Use it.
2117
2118 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
2119
2120         * imap.el (imap-interactive-login): Better messages.
2121         (imap-open): Fix bug with renamed buffer on reconnect.
2122         (imap-authenticate): Add buffer-local imap-last-authenticator variable
2123         for easier debugging and cleaner code.  On successful (guessed based on
2124         server capabilities) secondary authentication, set imap-state
2125         correctly.
2126         (imap-last-authenticator): Define imap-last-authenticator as a variable
2127         to avoid warnings.
2128
2129 2009-09-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2130
2131         * nnrss.el (nnrss-request-article): Remove binding of
2132         default-enable-multibyte-characters that has gotten needless by
2133         the 2007-07-13 change in rfc2047-encode-message-header.
2134
2135         * mml.el (mml-insert-multipart): Error on the message header.
2136         (mml-insert-part): Error on the message header; position point at
2137         the end of a MIME tag.
2138
2139 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
2140
2141         * time-date.el (autoload): Expand define-obsolete-function-alias into
2142         defalias and make-obsolete for old Emacsen that Gnus supports.
2143         (with-no-warnings): Define it for old Emacsen.
2144         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
2145         is available.
2146         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
2147         float-time is available; suppress compile warning for time-to-seconds.
2148
2149         * gnus-util.el (with-no-warnings): Define it for old Emacsen.
2150         (gnus-float-time): Alias to float-time if it exists.
2151
2152         * ecomplete.el (with-no-warnings): Define it for old Emacsen.
2153         (ecomplete-add-item): Don't use (featurep 'xemacs) to check if
2154         float-time is available; suppress compile warning for time-to-seconds.
2155
2156         * lpath.el: Fbind time-to-seconds for Emacs 21.; fbind float-time for
2157         XEmacs.
2158
2159 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
2160
2161         * imap.el (imap-message-map): Docstring fix.
2162
2163 2009-09-07  Katsumi Yamaoka  <yamaoka@jpl.org>
2164
2165         * mm-encode.el (mm-encode-buffer): Don't force 7bit encoding since MTA
2166         may break data.  Suggested by Dmitri Paduchikh <dpaduch@k66.ru>.
2167         Add the optional argument `encoding' that overrides the default.
2168
2169         * mml.el (mml-generate-mime-1): Pass encoding defined by a user to
2170         mm-encode-buffer.
2171
2172 2009-09-04  Glenn Morris  <rgm@gnu.org>
2173
2174         * qp.el (quoted-printable-encode-string): Use mm-enable-multibyte, or
2175         mm-disable-multibyte, rather than default-enable-multibyte-characters.
2176         * utf7.el (utf7-encode, utf7-decode): Use mm-with-multibyte-buffer, or
2177         mm-with-unibyte-buffer, rather than default-enable-multibyte-characters.
2178         * mm-util.el (mm-with-unibyte-current-buffer)
2179         (mm-find-buffer-file-coding-system):
2180         * yenc.el (yenc-decode-region): Use default-value rather than
2181         default-enable-multibyte-characters.
2182
2183 2009-09-03  Glenn Morris  <rgm@gnu.org>
2184
2185         * mm-util.el (mm-emacs-mule, mm-default-multibyte-p):
2186         * rfc2047.el (rfc2047-encode-message-header): Use default-value rather
2187         than default-enable-multibyte-characters.
2188
2189 2009-09-02  Karl Kleinpaste  <karl@kleinpaste.org>
2190
2191         * gnus-art.el (gnus-article-read-summary-keys):
2192         Fix gnus-buffer-configuration's value temporarily used.
2193
2194 2009-09-02  Glenn Morris  <rgm@gnu.org>
2195
2196         * gnus-util.el (gnus-float-time): New function.
2197         * gnus-delay.el (gnus-delay-article):
2198         * gnus-sum.el (gnus-thread-latest-date):
2199         * gnus-util.el (gnus-user-date): Use gnus-float-time.
2200         * nnspool.el (nnspool-request-newgroups):
2201         Use gnus-float-time rather than time-to-seconds.
2202         * ecomplete.el (ecomplete-add-item): In Emacs, use float-time.
2203
2204         * gnus-art.el (gnus-signature-face, gnus-header-from-face)
2205         (gnus-header-subject-face, gnus-header-newsgroups-face)
2206         (gnus-header-name-face, gnus-header-content-face):
2207         * gnus-cite.el (gnus-cite-attribution-face, gnus-cite-face-1)
2208         (gnus-cite-face-2, gnus-cite-face-3, gnus-cite-face-4)
2209         (gnus-cite-face-5, gnus-cite-face-6, gnus-cite-face-7)
2210         (gnus-cite-face-8, gnus-cite-face-9, gnus-cite-face-10)
2211         (gnus-cite-face-11):
2212         * gnus-picon.el (gnus-picon-xbm-face, gnus-picon-face):
2213         * gnus-srvr.el (gnus-server-agent-face, gnus-server-opened-face)
2214         (gnus-server-closed-face, gnus-server-denied-face)
2215         (gnus-server-offline-face):
2216         * gnus.el (gnus-group-news-1-face, gnus-group-news-1-empty-face)
2217         (gnus-group-news-2-face, gnus-group-news-2-empty-face)
2218         (gnus-group-news-3-face, gnus-group-news-3-empty-face)
2219         (gnus-group-news-4-face, gnus-group-news-4-empty-face)
2220         (gnus-group-news-5-face, gnus-group-news-5-empty-face)
2221         (gnus-group-news-6-face, gnus-group-news-6-empty-face)
2222         (gnus-group-news-low-face, gnus-group-news-low-empty-face)
2223         (gnus-group-mail-1-face, gnus-group-mail-1-empty-face)
2224         (gnus-group-mail-2-face, gnus-group-mail-2-empty-face)
2225         (gnus-group-mail-3-face, gnus-group-mail-3-empty-face)
2226         (gnus-group-mail-low-face, gnus-group-mail-low-empty-face)
2227         (gnus-summary-selected-face, gnus-summary-cancelled-face)
2228         (gnus-summary-high-ticked-face, gnus-summary-low-ticked-face)
2229         (gnus-summary-normal-ticked-face, gnus-summary-high-ancient-face)
2230         (gnus-summary-low-ancient-face, gnus-summary-normal-ancient-face)
2231         (gnus-summary-high-undownloaded-face)
2232         (gnus-summary-low-undownloaded-face)
2233         (gnus-summary-normal-undownloaded-face)
2234         (gnus-summary-high-unread-face, gnus-summary-low-unread-face)
2235         (gnus-summary-normal-unread-face, gnus-summary-high-read-face)
2236         (gnus-summary-low-read-face, gnus-summary-normal-read-face)
2237         (gnus-splash-face):
2238         * message.el (message-header-to-face, message-header-cc-face)
2239         (message-header-subject-face, message-header-newsgroups-face)
2240         (message-header-other-face, message-header-name-face)
2241         (message-header-xheader-face, message-separator-face)
2242         (message-cited-text-face, message-mml-face):
2243         * sieve-mode.el (sieve-control-commands-face)
2244         (sieve-action-commands-face, sieve-test-commands-face)
2245         (sieve-tagged-arguments-face):
2246         * spam.el (spam-face):
2247         Mark face aliases with "-face" in the name as obsolete.
2248
2249 2009-09-01  Glenn Morris  <rgm@gnu.org>
2250
2251         * gnus-salt.el (gnus-pick-mouse-pick-region): Use forward-line rather
2252         than goto-line.
2253
2254 2009-08-31  Katsumi Yamaoka  <yamaoka@jpl.org>
2255
2256         * mml.el (mml-attach-file, mml-attach-buffer, mml-attach-external):
2257         Don't move point if the command is invoked inside the message header.
2258
2259 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2260
2261         * imap.el (imap-send-command): Simplify.
2262         (imap-wait-for-tag): point-max -> buffer-size.
2263
2264 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2265
2266         * spam.el (spam-ifile-path, spam-bogofilter-path, spam-sa-learn-path)
2267         (spam-ifile-database-path, spam-bsfilter-path, spam-spamassassin-path):
2268         * nnmail.el (nnmail-spool-file, nnmail-fix-eudora-headers):
2269         * nnir.el (nnir-swish-e-index-file):
2270         * gnus-sum.el (gnus-summary-delete-marked-as-read)
2271         (gnus-summary-delete-marked-with, gnus-summary-mark-as-unread-forward)
2272         (gnus-summary-mark-as-unread-backward, gnus-summary-mark-as-unread):
2273         * gnus-msg.el (gnus-inews-mark-gcc-as-read):
2274         * gnus-art.el (gnus-article-hide-pgp-hook, gnus-treat-strip-pgp)
2275         (gnus-treat-display-xface): Add Emacs version of obsolescence.
2276
2277 2009-08-28  Katsumi Yamaoka  <yamaoka@jpl.org>
2278
2279         * mml.el (mml-attach-file, mml-attach-buffer, mml-attach-external):
2280         Don't save excursion.
2281
2282 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2283
2284         * nnheader.el (nnheader-find-file-noselect):
2285         * mm-util.el (mm-insert-file-contents):
2286         Use (default-value 'major-mode) instead of default-major-mode.
2287
2288 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2289
2290         * nnrss.el (nnrss-request-article): Avoid default-fill-column.
2291
2292 2009-08-26  Glenn Morris  <rgm@gnu.org>
2293
2294         * parse-time.el (parse-time-rules): Autoload riskiness here, rather
2295         than placing in files.el.
2296
2297 2009-08-25  Glenn Morris  <rgm@gnu.org>
2298
2299         * nnir.el (top-level): Don't require cl at run-time.
2300         (nnir-run-waissearch, nnir-run-swish-e, nnir-run-hyrex):
2301         Replace cl-function substitute with gnus-replace-in-string.
2302         (nnir-run-waissearch, nnir-run-swish++, nnir-run-swish-e)
2303         (nnir-run-hyrex, nnir-run-namazu): Replace cl-function sort* with sort.
2304         (nnir-run-find-grep): Replace cl-functions find-if and subseq with
2305         simplified expansions.
2306
2307 2009-08-25  Kevin Ryde  <user42@zip.com.au>
2308
2309         * dig.el (dig): Add autoload cookie.
2310
2311 2009-08-22  Glenn Morris  <rgm@gnu.org>
2312
2313         * gnus-art.el (gnus-button-patch): Use forward-line rather than
2314         goto-line.
2315
2316 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
2317
2318         * parse-time.el (parse-time-string-chars): Save match data.
2319
2320 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
2321
2322         * parse-time.el (parse-time-string-chars): Compute using character
2323         classes, to handle non-ascii characters (Bug#3190).
2324
2325 2009-08-12  Katsumi Yamaoka  <yamaoka@jpl.org>
2326
2327         * gnus-group.el (gnus-safe-html-newsgroups): New user option.
2328
2329         * gnus-art.el (gnus-bind-safe-url-regexp): New macro.
2330         (gnus-mime-view-all-parts, gnus-mime-view-part-internally)
2331         (gnus-mm-display-part, gnus-mime-display-single)
2332         (gnus-mime-display-alternative): Use gnus-bind-safe-url-regexp to
2333         override mm-w3m-safe-url-regexp according to gnus-safe-html-newsgroups.
2334
2335         * gnus-sum.el
2336         (gnus-mark-copied-or-moved-articles-as-expirable): New user option.
2337         (gnus-summary-move-article): Add expirable mark to articles copied or
2338         moved to group that has auto-expire turned on if the option is non-nil.
2339
2340 2009-07-24  Glenn Morris  <rgm@gnu.org>
2341
2342         * gnus-demon.el (gnus-demon-add-nntp-close-connection):
2343         Fix typo.  (Bug#3903)
2344
2345 2009-07-23  Katsumi Yamaoka  <yamaoka@jpl.org>
2346
2347         * gnus-art.el (gnus-article-mode-map): Bind the "e" key to
2348         gnus-article-read-summary-keys rather than gnus-summary-edit-article
2349         that should not be used for draft articles.
2350         (gnus-article-read-summary-keys): Use key-binding instead of lookup-key
2351         that has no concern in minor mode keys.
2352         (gnus-article-summary-command, gnus-article-summary-command-nosave):
2353         Abolish.
2354
2355 2009-07-16  Katsumi Yamaoka  <yamaoka@jpl.org>
2356
2357         * nnrss.el (nnrss-request-article): Allow mml-to-mime to generate MIME
2358         article without making inquiry to a user for unknown encoding.
2359
2360         * nnmaildir.el (nnmaildir--group-maxnum, nnmaildir--new-number)
2361         (nnmaildir--scan): Assume i-node and device number that file-attributes
2362         returns might be cons-cell.
2363
2364         * dgnushack.el: Autoload thing-at-point for XEmacs 21.5.
2365
2366         * lpath.el: Fbind cp-supported-codepages for XEmacs 21.5.
2367
2368 2009-07-16  Teodor Zlatanov  <tzz@lifelogs.com>
2369
2370         * auth-source.el: Remove docs now in auth.texi.  Don't use
2371         `gnus-message' for logging.  Add new variables `auth-source-debug' and
2372         `auth-source-hide-passwords' and use them.
2373
2374 2009-07-15  Glenn Morris  <rgm@gnu.org>
2375
2376         * gnus-spec.el (gnus-make-format-preserve-properties): Doc fix.
2377
2378 2009-07-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2379
2380         * gnus-group.el (gnus-group-make-rss-group): Strip newlines and
2381         excessive whitespace from the default values of title and description.
2382
2383 2009-06-22  Katsumi Yamaoka  <yamaoka@jpl.org>
2384
2385         * mm-decode.el (mm-dissect-buffer): Use message-fetch-field instead of
2386         mail-fetch-field to fetch Content-Description header in order to
2387         exclude newlines.
2388
2389 2009-06-18  Ulrich Mueller  <ulm@gentoo.org>
2390
2391         * pgg-gpg.el (pgg-gpg-lookup-key-owner): Handle colon listings
2392         format used by GnuPG 2.0.11.
2393
2394 2009-06-01  Katsumi Yamaoka  <yamaoka@jpl.org>
2395
2396         * gnus-art.el (gnus-mime-delete-part): Specify gnus-decoded as charset
2397         to deleted part.
2398
2399 2009-05-30  David Engster  <dengste@eml.cc>
2400
2401         * nnmairix.el: Remove old documentation in the commentary block.
2402         (nnmairix-request-group): Do not update active file for nnml back ends.
2403         (nnmairix-retrieve-headers): Set gnus-nov-is-evil to t for nnimap back
2404         end so that overview files are ignored.
2405         (nnmairix-update-groups): Make updating the groups more robust by using
2406         marks.
2407         (nnmairix-determine-original-group-from-path): Circumvent mairix bug
2408         with dollar characters in message-id.
2409
2410 2009-04-28  Reiner Steib  <Reiner.Steib@gmx.de>
2411
2412         * spam.el: Use dns-query instead of query-dns.  Was renamed on
2413         2008-12-25 in dns.el.
2414
2415 2009-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2416
2417         * rfc2047.el (rfc2047-decode-region): Don't skip past `start', which
2418         could happen if the text is only composed of spaces and/or tabs.
2419
2420 2009-03-03  Brian Sniffen  <bts@evenmere.org>  (tiny change)
2421
2422         * gnus-draft.el (gnus-draft-send): Bind gnus-message-setup-hook to nil
2423         when sending a queued message to avoid extra mml tags.
2424
2425 2009-03-02  Katsumi Yamaoka  <yamaoka@jpl.org>
2426
2427         * mml.el (mml-insert-mime): Don't break parts that mm-uu dissected.
2428
2429 2009-02-27  Katsumi Yamaoka  <yamaoka@jpl.org>
2430
2431         * lpath.el: Fbind rmail-swap-buffers-maybe for Emacs 21~22;
2432         fbind rmail-msg-restore-non-pruned-header, rmail-swap-buffers-maybe and
2433         rmail-toggle-header for XEmacs;
2434         bind rmail-default-file and rmail-default-rmail-file for XEmacs.
2435
2436 2009-02-25  Katsumi Yamaoka  <yamaoka@jpl.org>
2437
2438         * gnus-dired.el: Remove autoload for gnus-setup-message.
2439         (gnus-dired-attach): Fake this-command value to prevent Gnus from
2440         displaying Gnus logo; always use compose-mail.
2441
2442 2009-02-23  Katsumi Yamaoka  <yamaoka@jpl.org>
2443
2444         * gnus-dired.el: Tell autoload that gnus-setup-message is a macro.
2445
2446 2009-02-18  Katsumi Yamaoka  <yamaoka@jpl.org>
2447
2448         * gnus-nocem.el (gnus-nocem-groups): Remove invalid NoCeM groups.
2449         (gnus-nocem-issuers): List currently active issuers; fix custom type.
2450         (gnus-nocem-verifyer): Default to gnus-nocem-epg-verify if EasyPG is
2451         available.
2452         (gnus-nocem-epg-verify): New function.
2453
2454 2009-02-15  Reiner Steib  <Reiner.Steib@gmx.de>
2455
2456         * gnus-art.el (gnus-button-alist): Recognize Konqueror info links.
2457
2458 2009-02-15  Glenn Morris  <rgm@gnu.org>
2459
2460         * gnus-util.el (rmail-insert-rmail-file-header)
2461         (rmail-count-new-messages, rmail-show-message): Remove unnecessary
2462         autoloads.
2463         (rmail-default-rmail-file): Remove unnecessary declaration.
2464         (gnus-output-to-rmail): Handle mbox Rmail as well as Babyl Rmail.
2465
2466 2009-02-14  Glenn Morris  <rgm@gnu.org>
2467
2468         * gnus.el (rmail-default-rmail-file): Remove declaration of deleted
2469         variable (only used in gnus-util, which declares it anyway).
2470         (rmail-output-to-rmail-file): Remove autoload of deleted function,
2471         which was only needed by gnus-art (changed to not use it any more).
2472         (rmail-insert-rmail-file-header): Remove autoload of deleted function,
2473         only used in gnus-util, which autoloads it itself.
2474         (rmail-update-summary): Fix autoload.
2475
2476         * gnus-art.el (gnus-summary-save-in-mail): Use gnus-output-to-rmail
2477         rather than rmail-output-to-rmail-file.
2478
2479 2009-02-07  Glenn Morris  <rgm@gnu.org>
2480
2481         * message.el (rmail-msg-restore-non-pruned-header): Remove unneeded
2482         autoload of function that no longer exists.
2483         (rmail-toggle-header): Declare.
2484         (message-forward-rmail-make-body): Handle mbox Rmail.
2485
2486 2009-01-31  Glenn Morris  <rgm@gnu.org>
2487
2488         * gnus-sum.el (gnus-summary-next-article): XEmacs-friendly version of
2489         2009-01-09 change.
2490
2491 2009-01-31  Dave Love  <fx@gnu.org>
2492
2493         * imap.el (imap-fetch-safe): Bind debug-on-error.
2494         (imap-debug): Add imap-fetch-safe.
2495
2496 2009-01-26  Teodor Zlatanov  <tzz@lifelogs.com>
2497
2498         * auth-source.el (auth-source-forget-user-or-password): Clarify docs.
2499         (auth-source-forget-all-cached): New convenience function.
2500         (auth-source-user-or-password): Accept list of modes or a single mode.
2501
2502         * mail-source.el (mail-source-bind, mail-source-set-1): Use list of
2503         auth-source modes.
2504
2505         * netrc.el (netrc-machine-user-or-password): Use list of
2506         auth-source modes.
2507