(nnimap-mark-and-expunge-incoming): Wait for the last sequence.
[gnus] / lisp / ChangeLog
1 2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2
3         * nnimap.el (nnimap-find-expired-articles): New function.
4         (nnimap-process-expiry-targets): New function.
5         (nnimap-request-move-article): Request the article before looking at
6         what the Message-ID is.  Fix found by Andrew Cohen.
7         (nnimap-mark-and-expunge-incoming): Wait for the last sequence.
8
9         * nnmail.el (nnmail-expired-article-p): Allow returning the cutoff time
10         for oldness in addition to being a predicate.
11
12         * nnimap.el (nnimap-request-group): When we have zero articles, return
13         the right data to Gnus.
14         (nnimap-request-expire-articles): Only delete articles immediately if
15         the target is 'delete.
16
17         * gnus-sum.el (gnus-summary-move-article): When respooling to the same
18         method, this would bug out.
19
20         * gnus-group.el (gnus-group-expunge-group): Renamed from
21         gnus-group-nnimap-expunge, and implemented as a normal interface
22         function.
23
24         * gnus-int.el (gnus-request-expunge-group): New function.
25
26         * nnimap.el (nnimap-request-create-group): Implement.
27         (nnimap-request-expunge-group): New function.
28
29 2010-09-21  Julien Danjou  <julien@danjou.info>
30
31         * gnus-html.el (gnus-html-image-cache-ttl): Add new variable.
32         (gnus-html-cache-expired): Add new function.
33         (gnus-html-wash-images): Use `gnus-html-cache-expired' to check
34         wethever we should display image for fetch it.
35         Compute alt-text earlier to pass it to the fetching function too.
36         (gnus-html-schedule-image-fetching): Change function argument to only
37         get one image at a time, not a list.
38         (gnus-html-image-fetched): Use `url-store-in-cache' to store image in
39         cache.
40         (gnus-html-get-image-data): New function to retrieve image data from
41         cache.
42         (gnus-html-put-image): Change buffer argument to use image data rather
43         than file, and place image above region rather than inserting a new
44         one. Do not take alt-text as argument, since it's useless now: we place
45         the image above alt-text.
46         (gnus-html-prune-cache): Remove.
47         (gnus-html-show-images): Start to fetch image when we find one, do not
48         push into a temporary list.
49         (gnus-html-prefetch-images): Only fetch image if they have expired.
50         (gnus-html-browse-image): Fix, use 'gnus-image-url.
51         (gnus-html-image-map): Add "v" to browse-url on undisplayed image.
52
53 2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>
54
55         * rfc2047.el (rfc2047-encode-parameter): Doc fix.
56
57 2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
58
59         * gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen)
60         spec inser "*" if the group isn't active instead of 0.
61
62         * nnimap.el (nnimap-request-group): Don't select the imap buffer before
63         opening the server.
64         (nnimap-request-delete-group): Implement group deletion.
65         (nnimap-transform-headers): Return the size of the entire message in
66         the Bytes header, not just the size of the first part.
67         (nnimap-request-move-article): When moving an article from nnimap,
68         request the article first so the accepting form has an article to
69         accept.  Reported by Dan Christensen.
70         (nnimap-command): Make sure that the error message doesn't error out.
71
72 2010-09-20  David Edmondson  <dme@dme.org>  (tiny change)
73
74         * nnimap.el (nnimap-request-set-mark): Don't wait for a response when
75         we haven't requested anything.
76
77 2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
78
79         * nnimap.el (nnimap-fetch-inbox): Use "[]" as the parameter instead of
80         "".  Fix found by Andrew Cohen.
81
82         * mail-parse.el (mail-header-encode-parameter): Use -encode-parameter
83         instead of -encode-string.
84
85 2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>
86
87         * gnus-html.el (gnus-html-image-fetched): Pass arg to kill-buffer.
88
89         * gnus-sum.el (gnus-summary-update-mark): Replace subst-char-in-string
90         by mm-subst-char-in-string.
91
92 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
93
94         * nnimap.el (nnimap-wait-for-connection): Avoid a race condition while
95         waiting for the connection string.
96
97         * gnus-html.el (gnus-html-image-fetched): Protect against the data not
98         arriving.
99
100         * gnus-start.el (gnus-ignored-newsgroups): Remove [] from the list of
101         bogus characters.  This allows selecting certain Gmail groups.
102
103         * nnimap.el (nnimap-find-wanted-parts-1): New function.
104         (nnimap-fetch-partial-articles): New variable.
105         (nnimap-open-connection): When looking for credentials, also use the
106         nnimap-server-port.
107         (nnimap-request-article): Return the group/article number, so that Gnus
108         `^' works as expected.
109         (nnimap-find-wanted-parts-1): Return the MIME parts as IMAP wants
110         them.
111
112         * gnus.el (gnus-similar-server-opened): Refactor a bit and add
113         comments.
114         (gnus-methods-sloppily-equal): New function.
115         (gnus): When using the development version of Gnus, load the gnus-load
116         file.
117
118         * gnus-start.el (gnus-get-unread-articles): Make sure that we call
119         `gnus-open-server' on each method before trying to scan them etc.  This
120         ensures that all the backend parameters are set correctly.
121
122         * nnimap.el (nnimap-authenticator): New variable.
123         (nnimap-open-connection): Allow anonymous login.
124         (nnimap-transform-headers): The chars header is called Chars not
125         Bytes.
126         (nnimap-wait-for-response): Don't infloop if the IMAP connection
127         drops.
128
129         * gnus-art.el (gnus-article-describe-briefly): Fix up typo in last
130         patch, found by Knut Anders Hatlen.
131
132 2010-09-19  Andreas Schwab  <schwab@linux-m68k.org>
133
134         * gnus-agent.el (gnus-agent-batch-confirmation)
135         (gnus-agent-expire-group, gnus-agent-expire): Pass proper format string
136         to gnus-message.
137         * gnus-art.el (gnus-article-describe-briefly): Likewise.
138         * gnus-group.el (gnus-group-list-groups, gnus-group-describe-group)
139         (gnus-group-edit-global-kill, gnus-group-describe-briefly): Likewise.
140         * gnus-int.el (gnus-open-server): Likewise.
141         * gnus-score.el (gnus-score-edit-current-scores, gnus-score-edit-file)
142         (gnus-score-check-syntax): Likewise.
143         * gnus-srvr.el (gnus-browse-describe-briefly): Likewise.
144         * gnus-start.el (gnus-read-active-file-1, gnus-read-active-file-1):
145         Likewise.
146         * gnus-sum.el (gnus-summary-describe-briefly): Likewise.
147
148 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
149
150         * gnus-html.el (gnus-html-prefetch-images): Fix up the url-retrieve
151         calling conventions so that prefetch doesn't bug out.
152
153 2010-09-19  Julien Danjou  <julien@danjou.info>
154
155         * gnus-sum.el (gnus-summary-update-mark): Use `subst-char-in-string'
156         rather than `subst-char-in-region' in order to be able to replace ASCII
157         char by UTF-8 ones.
158
159         * gnus-html.el (gnus-html-prefetch-images): Use `url-retrieve' rather
160         than curl.
161         (gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting
162         the right URL and ALT text on images.
163         (gnus-html-wash-tags): Fix tag case.
164         Add support for `s' and `ins' tags.  Use gnus-emphasis-* faces.
165         (gnus-article-html): Add -o display_ins_del=2 option.
166         (gnus-html-wash-tags): Add better support for <ul> tags symbols.
167
168 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
169
170         * nnheader.el (nnheader-insert-nov): Protect against junk appearing in
171         the extra mail headers, which sometimes seem to happen for unknown
172         reasons.
173
174         * mail-parse.el (mail-header-encode-parameter): Define as
175         rfc2045-encode-string instead of as rfc2231-encode-string, since some
176         (or most, perhaps?) mail readers don't understand the latter, but do
177         understand the former.
178
179         * gnus-agent.el (gnus-agent-auto-agentize-methods): Switch the default
180         to nil, so that no methods are automatically agentized.  I think this
181         is probably what most users want.
182
183         * gnus-html.el (gnus-html-schedule-image-fetching): Ignore all errors
184         from url-retrieve, for instance about invalid URLs.
185
186         * nnimap.el (nnimap-finish-retrieve-group-infos): Protect against
187         groups that have no articles.
188         (nnimap-request-article): Check that we really got an article when we
189         requested one.
190
191         * gnus-agent.el (gnus-agent-load-alist): Nix out the alist if the file
192         doesn't exist.
193
194         * nnimap.el (nnimap-finish-retrieve-group-infos): Return data in the
195         nntp buffer so the agent can save it.
196         (nnimap-open-shell-stream): Bind `process-connection-type' to nil, so
197         that CRLF doesn't get translated to \n.
198         (nnimap-open-connection): Don't make 'shell commands only send \n.
199
200 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
201
202         * nnml.el (nnml-files): Add prefix to dynamic var `files'.
203         (nnml-generate-nov-databases-directory, nnml-generate-active-info):
204         Update var name.
205         (nnml-generate-nov-file): Use dolist.
206         (nnml-directory-articles, nnml-current-group-article-to-file-alist):
207         Use with-current-buffer.
208
209 2010-09-18  Julien Danjou  <julien@danjou.info>
210
211         * gnus-html.el (gnus-html-schedule-image-fetching): Fetch all images in
212         parallel.
213
214 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
215
216         * nnimap.el (nnimap-update-info): When doing partial marks update, get
217         the range update right.
218         (nnimap-request-group): Don't make `M-g' bug out on group with no
219         marks.
220         (nnoo): Required, so that other packages can require nnimap.
221         (nnimap-wait-for-response): Be a bit more lax in finding the end of the
222         command we're looking for.  This helps when the server sends more
223         responses after we've gotten everything we expected.
224         (nnimap): Add a `newlinep' field to keep track of end-of-line
225         conventions.
226         Don't send CRLF to things that don't want it.
227         (nnimap-request-accept-article): Ditto.
228
229 2010-09-18  Julien Danjou  <julien@danjou.info>
230
231         * gnus-html.el (gnus-html-schedule-image-fetching): Use `url' rather
232         than curl to retrieve images.
233
234 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
235
236         * nnimap.el (nnimap-update-info): Extend the info so that we can set
237         the marks.
238         (nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.
239         (nnimap-wait-for-connection): New function.
240         (nnimap-open-connection): If we have PREAUTH, don't query for login
241         credentials.
242         (nnimap-update-info): Fix off-by-one error when concatenating ranges
243         when doing a partial update.
244
245 2010-09-18  Julien Danjou  <julien@danjou.info>
246
247         * gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML
248         tags.
249
250 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
251
252         * nnimap.el (nnimap-credentials): New function.
253         (nnimap-open-connection): Use the new function to look for credentials
254         also on the numeric equivalents of "imap" and "imaps".
255
256         * gnus-start.el (gnus-activate-group): Send the info to
257         gnus-request-group.
258
259         * nnimap.el (nnimap-request-group): Have the "check" version of the
260         function parse flags and update the info, so that a `M-g' get a total
261         resync of all flags from the group.
262
263         * gnus-int.el (gnus-request-group): Take an optional `info' parameter
264         to allow backends to alter the info on group selection.  Also alter all
265         the backend -request-group functions to take the parameter.
266
267         * nnimap.el (nnimap-store-info): New function.
268         (nnimap-update-info): Store the info for later usage.
269         (nnimap-request-group): Use the stored info for the dont-check case, so
270         that we don't retrieve all marks when we enter a group.
271
272         * nnimap.el: Use deffoo instead of defun for interface functions.
273
274         * gnus-start.el (gnus-get-unread-articles): Allow the backends to
275         update the group info.  This makes the nndraft groups, for instance, go
276         back to their old behaviour.
277
278         * gnus-sum.el (gnus-select-newsgroup): Indent.
279
280         * nnimap.el (nnimap-possibly-change-group): Return nil if we can't log
281         in.
282         (nnimap-finish-retrieve-group-infos): Make sure we're not waiting for
283         nothing.
284
285         * gnus-start.el (gnus-get-unread-articles): Don't try to scan groups
286         from methods that are denied.
287
288         * gnus-int.el (gnus-method-denied-p): New function.
289
290         * nnimap.el (nnimap-open-connection): Use auth-sources to query and
291         store the password instead of netrc.
292         (nnimap-open-connection): Don't error out when we can't make a
293         connections.
294
295         * auth-source.el (auth-source-create): In the password prompt, say what
296         we're querying for.  Also prompt for user name if that hasn't been
297         given.
298
299         * nnimap.el (nnimap-with-process-buffer): Removed.
300
301 2010-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
302
303         * gnus-start.el (gnus-read-active-for-groups): Don't use the "finish"
304         method when we're reading from the agent.
305
306         * nnagent.el (nnagent-retrieve-group-data-early): New dummy method.
307
308         * auth-source.el (auth-sources): Add ~/.authinfo to the default, since
309         that's probably most useful for users.
310
311         * gnus-int.el (gnus-check-server): Save result so that it doesn't say
312         "failed" all the time.
313
314         * gnus.el: Throughout all files, replace (save-excursion (set-buffer
315         ...)) with (with-current-buffer ... ).
316
317         * nntp.el (nntp-open-server): Return whether the open was successful or
318         not.
319
320         * gnus-sum.el (gnus-summary-first-subject): Have `unseen-or-unread'
321         select an unread unseen article first.
322
323         * nnimap.el (nnimap-open-connection): If the user doesn't have a
324         /etc/services, supply some sensible port defaults.
325
326         * dgnushack.el: Define netrc-credentials.
327
328 2010-09-17  Julien Danjou  <julien@danjou.info>
329
330         * mm-decode.el (mm-text-html-renderer): Document gnus-article-html.
331
332 2010-09-17  Knut Anders Hatlen  <kahatlen@gmail.com>  (tiny change)
333
334         * nnimap.el (nnimap-get-groups): Don't bug out if the LIST command
335         doesn't have any parameters.
336
337 2010-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
338
339         * nnimap.el (nnimap-open-connection): Upcase all capabilities, and use
340         only upcased checks.
341
342         * nnmail.el (nnmail-article-group): Fix typo in "bogus" section.
343
344         * nnimap.el (nnimap-open-shell-stream): New function.
345         (nnimap-open-connection): Use it.
346         (nnimap-transform-headers): Get the number of lines in each message.
347         (nnimap-retrieve-headers): Query for BODYSTRUCTURE so that we get the
348         number of lines.
349         (nnimap-request-list): Not all servers return UIDNEXT.  Work past this
350         problem.
351
352         * utf7.el (utf7-encode): Autoload.
353
354         * nnmail.el (nnmail-inhibit-default-split-group): New internal variable
355         to allow the mail splitting to not return a default group.  This is
356         useful for nnimap, which will leave unmatched mail in the inbox.
357
358         * nnimap.el: Rewritten.
359
360         * gnus.el (gnus-article-special-mark-lists): Add uid/active tuples, for
361         nnimap usage.
362
363         * gnus-sum.el (gnus-summary-move-article): Pass the move-to group name
364         if the move is internal, so that nnimap can do fast internal moves.
365
366         * gnus-start.el (gnus-get-unread-articles): Support early retrieval of
367         data.
368         (gnus-read-active-for-groups): Support finishing the early retrieval of
369         data.
370
371         * gnus-range.el (gnus-range-nconcat): New function.
372
373         * gnus-int.el (gnus-finish-retrieve-group-infos)
374         (gnus-retrieve-group-data-early): New functions.
375
376 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
377
378         * nnrss.el (nnrss-retrieve-headers, nnrss-request-list-newsgroups)
379         (nnrss-retrieve-groups):
380         * pop3.el (pop3-open-server, pop3-read-response, pop3-list, pop3-retr)
381         (pop3-quit): Use with-current-buffer.
382
383 2010-09-17  Katsumi Yamaoka  <yamaoka@jpl.org>
384
385         * pop3.el (pop3-wait-for-messages): Use pop3-accept-process-output
386         instead of nnheader-accept-process-output.
387
388         * dgnushack.el (dgnushack-compile): Add comment.
389
390         * lpath.el: No need to fbind propertize for XEmacs 21.4.
391
392         * gnus-html.el (gnus-html-schedule-image-fetching)
393         (gnus-html-prefetch-images): Replace process-kill-without-query by
394         gnus-set-process-query-on-exit-flag.
395
396 2010-09-16  Romain Francoise  <romain@orebokech.com>
397
398         * gnus-html.el: Require gnus-art for `gnus-with-article-buffer'.
399
400 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
401
402         * gnus-registry.el (gnus-registry-install-shortcuts): The second
403         parameter to unintern is mandatory-ish in Emacs 24.
404
405         * gnus-html.el (gnus-html-schedule-image-fetching)
406         (gnus-html-prefetch-images): Check for curl before using it.
407
408         * mm-decode.el (mm-text-html-renderer): Don't have gnus-article-html
409         depend on curl, which isn't essential.
410
411         * imap.el: Revert back to version
412         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
413         seem problematic.
414
415 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
416
417         * gnus-registry.el (gnus-registry-install-shortcuts):
418         Explicitly pass `obarray' to `unintern' to avoid a warning.
419
420 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
421
422         * gnus-start.el (gnus-read-active-for-groups): Reverted the previous
423         change.
424
425         * nnrss.el (nnrss-request-list): Removed this function and related
426         functions, including the moreover stuff.
427
428 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
429
430         * nnrss.el (nnrss-retrieve-groups): New function.
431
432 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
433
434         * .dir-locals.el: Add no-byte-compile cookie.
435
436 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
437
438         * time-date.el (format-seconds): Comment fix.
439
440         * gnus-start.el (gnus-read-active-for-groups): Run gnus-activate-group
441         for back end that doesn't support request-scan.
442
443 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
444
445         * gnus-start.el (gnus-read-active-file-1): If gnus-agent isn't set,
446         then do request scans from the backends.
447
448         * netrc.el (netrc-credentials): New conveniency function.
449
450         * gnus-sum.el (gnus-summary-update-hook): Change default to nil, to
451         avoid running a hook per line, since this takes a lot of time,
452         profiling shows.
453         (gnus-summary-prepare-threads): Call `gnus-summary-highlight-line'
454         directly if gnus-visual-p is true.
455
456 2010-09-10  Katsumi Yamaoka  <yamaoka@jpl.org>
457
458         * gnus-start.el (gnus-read-active-for-groups): Check only subscribed
459         groups; replace mapcar with dolist which is a bit faster; pass groups
460         info to gnus-read-active-file-1.
461         (gnus-read-active-file-1): Scan only specified groups if the new
462         optional arg `infos' is given.
463
464 2010-09-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
465
466         * mail-source.el (mail-source-fetch-pop): Use pop3-movemail again.
467
468         * pop3.el (pop3-movemail): Removed.
469         (pop3-streaming-movemail): Renamed to pop3-movemail.
470
471         * gnus-html.el (gnus-html-wash-tags): Refactor out the image bit, and
472         don't restrict end-tag searches to the end of the line.
473
474 2010-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
475
476         * gnus-start.el (gnus-get-unread-articles): Set the number of unread
477         articles of every unchecked group to t, which means unknown since the
478         server has never been opened.
479
480 2010-09-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
481
482         * gnus-html.el (gnus-html-show-alt-text): New command.
483         (gnus-html-browse-image): Ditto.
484         (gnus-html-wash-tags): Add the data to allow showing the ALT text and
485         to browse the image directly.
486         (gnus-html-wash-tags): Search for images first, so that <a><img> works
487         better.
488
489         * gnus-async.el (gnus-async-article-callback): Call
490         `gnus-html-prefetch-images' unconditionally.
491
492         * gnus-html.el (gnus-html-schedule-image-fetching): Decode entities
493         before feeding URLs to curl.
494
495 2010-09-07  Katsumi Yamaoka  <yamaoka@jpl.org>
496
497         * gnus-html.el (gnus-html-wash-tags, gnus-html-put-image): Mark cid and
498         internal images as deletable by `W D D'.
499
500         * gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling.
501         (gnus-async-article-callback): Fix typo.
502
503 2010-09-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
504
505         * gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the
506         current line to work around bugs in the output from w3m.
507
508         * gnus-async.el (gnus-async-article-callback): Always prefetch images
509         for groups that want that.
510
511         * nntp.el (nntp-wait-for-string): Supply a timeout for
512         accept-process-output to ensure progress.
513
514         * gnus-start.el (gnus-get-unread-articles): If being given an explicit
515         level to get unread articles from, then use that for foreign groups,
516         too.
517
518         * gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which
519         confuses the rest of the function.
520
521         * gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan'
522         for the methods that support -retrieve-groups, too.
523
524         * nnml.el (nnml-save-nov): Remove some debugging-related messages.
525
526 2010-09-06  Katsumi Yamaoka  <yamaoka@jpl.org>
527
528         * dgnushack.el (dgnushack-compile, dgnushack-make-cus-load)
529         (dgnushack-make-auto-load): Exclude .dir-locals.el file.
530
531         * pop3.el: Require cl when compiling.
532         (pop3-number-of-responses): Search for "+OK", not "+OK ".
533
534 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
535
536         * gnus-start.el (gnus-get-unread-articles): Don't bother with groups
537         that aren't going to be activated.
538         (gnus-get-unread-articles): Fix up the last commit.
539
540         * gnus-html.el (gnus-article-html): Allow calling without specifying
541         the handle.  In that case, dissect the buffer first.
542
543         * gnus-sum.el (gnus-set-mode-line): Don't pad the mode line string.
544
545         * nnimap.el (nnimap-open-connection): Revert the change that would look
546         into authinfo for imaps instead of imap.
547
548         * gnus-start.el (gnus-activate-group): Take an optional parameter to
549         say that you don't want to call gnus-request-group with don-check, but
550         do check the reponse.  This is for virtual groups only.
551         (gnus-get-unread-articles): Count the archive groups as secondary, so
552         that they're activated the same way as before.
553
554         * imap.el (imap-message-map): Removed optional buffer parameter, since
555         no callers use it.
556         (imap-message-get): Ditto.
557         (imap-message-put): Ditto.
558         (imap-mailbox-map): Ditto.
559         (imap-mailbox-put): Ditto.
560         (imap-mailbox-get): Ditto.
561         (imap-mailbox-get): Revert last change for this function.
562
563         * nnimap.el (nnimap-request-list): Servers may return \NoSelect
564         case-insensitively.
565         (nnimap-debug): Removed.
566
567         * imap.el (imap-fetch-safe): Removed function, and altered all callers
568         to use `imap-fetch' instead.  According to the comments, this should be
569         safe, since all other IMAP clients use the 1:* syntax.
570         (imap-enable-exchange-bug-workaround): Removed.
571         (imap-debug): Removed -- doesn't seem very useful.
572
573         * mail-source.el (mail-source-fetch): Don't message if we're fetching
574         mail from a file, and the file doesn't exist.
575
576         * imap.el (imap-log): New convenience function used throughout instead
577         of repeating the same code all over the place.
578
579         * pop3.el (pop3-streaming-movemail): Return t for success.
580
581         * nnimap.el (nnimap-open-connection): Look for the "imaps" entry in the
582         .authinfo if we're using ssl connection.
583
584         * nnvirtual.el (nnvirtual-create-mapping): Use the active info we
585         already have if we're in a main Gnus `g' run.
586
587         * gnus-start.el (gnus-method-rank): Get info for virtual groups last.
588
589 2010-09-05  Katsumi Yamaoka  <yamaoka@jpl.org>
590
591         * gnus-start.el (gnus-method-rank): Replace equalp with equal.
592
593         * nnmh.el (nnmh-request-list-1): Bind `file'.
594
595         * pop3.el (pop3-set-process-query-on-exit-flag): New function that's an
596         alias to set-process-query-on-exit-flag or process-kill-without-query.
597         (pop3-open-server): Use it.
598
599 2010-09-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
600
601         * mail-source.el (mail-source-delete-crash-box): Always move the crash
602         box to the Incoming file.  Fixes mistake in previous checkin.
603
604         * pop3.el (pop3-send-streaming-command): Off-by-one error on the
605         request loop (for debugging purposes) removed.
606
607         * nnml.el (nnml-save-nov): Message around nnml-save-nov so that the
608         culprit is more visible.
609         (nnml-save-incremental-nov, nnml-open-incremental-nov)
610         (nnml-add-incremental-nov): New functions to do "incremental" nov
611         updates, where we just append to the end of the existing nov files
612         without reading/writing them in full.
613
614         * mail-source.el (mail-source-delete-crash-box): Really only check the
615         incoming files once in a while.
616
617         * pop3.el (pop3-streaming-movemail): Always close the pop3 connection.
618
619         * mail-source.el (mail-source-delete-crash-box): Only check the
620         incoming files for deletion once per day to save a lot of file
621         accesses.
622
623         * pop3.el (pop3-logon): Fix up unbound variable typo.
624
625         * mail-source.el (pop3-streaming-movemail): Autoload.
626
627         * pop3.el (pop3-streaming-movemail): Respect
628         pop3-leave-mail-on-server.
629
630         * mail-source.el (mail-source-fetch-pop): Use streaming pop3
631         retrieval.
632
633         * pop3.el (pop3-process-filter): Removed unused function.
634         (pop3-streaming-movemail, pop3-send-streaming-command)
635         (pop3-wait-for-messages, pop3-write-to-file)
636         (pop3-number-of-responses): New functions for streaming pop3
637         retrieval.
638
639         * gnus-start.el (gnus-get-unread-articles): Protect against groups that
640         come from no known methods.
641         (gnus-make-hashtable-from-newsrc-alist): Remove duplicates from .newsrc
642         list.
643
644         * pop3.el (pop3-display-message-size-flag): Removed -- everybody wants
645         message sizes.
646         (pop3-movemail): Use erase-buffer instead of looping and deleting
647         regions, which seems rather odd.
648
649         * gnus-agent.el (gnus-agent-load-local): Only read the agent.lib/local
650         file once per `g' run.
651
652         * nnmh.el (nnmh-request-list-1): Output active lines also for empty
653         directories.  This makes the draft queue directory work.
654
655         * gnus-start.el (gnus-get-unread-articles): Rewrite the way we request
656         data from the backends, so that we only request the list of groups from
657         each method once.  This should speed things up considerably.
658
659         * nnvirtual.el (nnvirtual-request-list): Remove function so that we can
660         detect that it's not implemented.
661
662         * nnmh.el (nnmh-request-list-1): Fix up the recursion behavior so that
663         we actually do recurse down into the tree, but don't stat all leaf
664         nodes.
665
666         * gnus-html.el (gnus-html-show-images): If there are no images to show,
667         then say so instead of bugging out.
668
669         * gnus-agent.el (gnus-agent-load-alist): Check whether the agentview
670         files exist before trying to read them.
671
672         * gnus-html.el (gnus-html-wash-tags): Remove even more white space
673         around <pre_int>.
674
675         * gnus-art.el (gnus-article-copy-string): Say what data we copied.
676
677         * nnmh.el (nnmh-request-list-1): Optimize for speed.
678
679 2010-09-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
680
681         * mm-util.el (mm-image-load-path): Just return the image directories,
682         not all directories in the path in addition to the image directories.
683         (mm-image-load-path): Maintain a cache of the image directories so that
684         the `g' command in Gnus doesn't have to stat dozens of directories each
685         time.
686
687         * gnus-html.el (gnus-html-put-image): Allow images to be removed.
688         (gnus-html-wash-tags): Add a new `i' command to insert images.
689         (gnus-html-insert-image): New command and keystroke.
690         (gnus-html-redisplay-with-images): New command and keystroke.
691         (gnus-html-show-images): Renamed command.
692         (gnus-html-wash-tags): Remove more white space before <pre_int> image
693         spacers.
694         (gnus-html-wash-tags): Decode entities at the end, so that entities
695         inside the tags don't mess up the rest of the "parsing".
696
697         * gnus-agent.el (gnus-agent-auto-agentize-methods): Change the default
698         so that nnimap methods aren't agentized by default.  There's apparently
699         many problems related to agent/imap behaviour.
700
701         * gnus-art.el (gnus-article-copy-string): New command and key binding.
702
703         * gnus-html.el: Doc fix.
704
705 2010-09-03  Katsumi Yamaoka  <yamaoka@jpl.org>
706
707         * lpath.el: Fbind device-on-window-system-p, glyph-image, glyphp, and
708         specifier-spec-list for Emacs 21.
709
710         * gnus-html.el (gnus-html-put-image): Use gnus-graphic-display-p,
711         glyph-width and glyph-height instead of display-graphic-p and
712         image-size; make avoidance of displaying small images work for XEmacs.
713
714         * gnus-util.el (gnus-graphic-display-p): Use device-on-window-system-p
715         for XEmacs.
716
717         * gnus-ems.el (gnus-set-process-plist, gnus-process-plist): Change name
718         of symbol that holds plist data.
719         (gnus-process-plist): Remove plist of process after getting it.
720
721 2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
722
723         * message.el (message-generate-hashcash): Change default to
724         'opportunistic if hashcash is installed.
725
726         * gnus-html.el (gnus-html-rescale-image): Fix up typo in rescaling.
727         (gnus-html-put-image): Only call image-size once, since it's somewhat
728         time-consuming on remote X servers.
729
730 2010-09-02  Katsumi Yamaoka  <yamaoka@jpl.org>
731
732         * gnus-xmas.el (gnus-xmas-create-image): Don't try to examine image
733         type on data, not a file name.
734
735         * lpath.el: Fbind w3-parse-buffer for Emacs <=22 and XEmacs; fbind
736         window-pixel-edges for Emacs 21.
737
738         * gnus-html.el (gnus-article-html): Make work buffer multibyte for
739         decoded contents.
740         (gnus-html-put-image, gnus-html-rescale-image): Pass `file' argument.
741
742 2010-09-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
743
744         * gnus-group.el (gnus-group-line-format): Remove %O (moderated) from
745         group line format, since it isn't very interesting.
746
747         * gnus-agent.el (gnus-agent-short-article),
748         (gnus-agent-long-article): Increase values for these two variables,
749         since most people are likely to have more network connection and
750         storage than before.
751
752         * gnus.el (gnus-refer-article-method): Change default to 'current.
753         When referring an article, the common behaviour is to refer it from the
754         current select method, not the native select method.  The chances of
755         the native select method having the message in question is rather slim
756         these days.
757
758         * gnus-sum.el (gnus-auto-select-subject): Change default to
759         `unseen-or-unread'.  I think it's likely that most people want to
760         select an unseen article over a previously seen, but unread one.
761
762         * gnus.el (gnus-mode-non-string-length): Change default to 30.  nil
763         means that in the article buffer none of the minor mode elements will
764         be shown, usually, and this is not desirable in most cases.
765
766         * gnus-sum.el (gnus-summary-goto-unread): Change default to nil, so
767         that commands like `d' (and the like) go to the next line in the
768         buffer, instead of the next unread article.  I think this is the
769         behaviour that is most natural for most users.
770         (gnus-single-article-buffer): Change default to nil, so that people can
771         have as many article buffers open as they have summary buffer.  I think
772         this is the most natural way for the groups to behave.
773
774         * message.el (message-generate-new-buffers): Change default to
775         `unsent', so that all new message buffers start their names with the
776         string "*unsent", and it's easier to find the buffers if you move from
777         them.
778
779 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
780
781         * gnus-html.el (gnus-html-wash-tags): Don't show images that are really
782         small.  They're probably tracking images.
783         (gnus-html-wash-tags): Remove all <pre_int> place holders.
784         (gnus-html-rescale-image): Yet another try at getting the image sizing
785         right.
786
787         * nntp.el (nntp-request-set-mark): Refuse to do marks if
788         nntp-marks-file-name is nil.
789
790 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
791
792         * gnus-html.el (gnus-html-wash-tags)
793         (gnus-html-schedule-image-fetching, gnus-html-image-url-blocked-p):
794         Better logging.
795
796 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
797
798         * nndoc.el (nndoc-type-alist): Added a new type for Google digests.
799
800         * gnus-html.el (gnus-html-wash-tags): Check the value of
801         gnus-blocked-images in the summary buffer.
802
803 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
804
805         * gnus-html.el (gnus-html-image-url-blocked-p): Doc fix.
806
807 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
808
809         * gnus-html.el (gnus-html-wash-tags): "A" is also used for links, just
810         like "a", it seems like.
811         (gnus-html-image-url-blocked-p): Take a parameter for blocked-images
812         since it needs to be picked from the correct buffer.
813
814         * nnwfm.el: Removed.
815
816         * nnlistserv.el: Removed.
817
818 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
819
820         * gnus-html.el (gnus-html-image-url-blocked-p): New function.
821         (gnus-html-prefetch-images, gnus-html-wash-tags): Use it.
822
823 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
824
825         * nnkiboze.el: Removed.
826
827         * nndb.el: Removed.
828
829         * gnus-html.el (gnus-html-put-image): Use the deleted text as the image
830         alt text.
831         (gnus-html-rescale-image): Try to get the rescaling logic right for
832         images that are just wide and not tall.
833
834         * gnus.el (gnus-string-or): Fix the syntax to not use eval or
835         overshadow variable bindings.
836
837 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
838
839         * gnus-html.el (gnus-html-wash-tags)
840         (gnus-html-schedule-image-fetching, gnus-html-prefetch-images): Add
841         extra logging.
842
843 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
844
845         * gnus-html.el (gnus-html-wash-tags): Delete the IMG_ALT region.
846         (gnus-max-image-proportion): New variable.
847         (gnus-html-rescale-image): New function.
848         (gnus-html-put-image): Rescale images.
849
850 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
851
852         Fix up some byte-compiler warnings.
853         * gnus.el (gnus-group-find-parameter, gnus-kill-save-kill-buffer):
854         * gnus-cite.el (gnus-article-highlight-citation, gnus-dissect-cited-text)
855         (gnus-article-fill-cited-article, gnus-article-hide-citation)
856         (gnus-article-hide-citation-in-followups, gnus-cite-toggle):
857         * gnus-group.el (gnus-group-set-mode-line, gnus-group-quit)
858         (gnus-group-set-info, gnus-add-mark): Use with-current-buffer.
859         (gnus-group-update-group): Use save-excursion and with-current-buffer.
860
861 2010-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
862
863         * gnus-html.el (gnus-article-html): Decode contents by charset.
864
865 2010-09-01  Katsumi Yamaoka  <yamaoka@jpl.org>
866
867         * gnus-html.el (gnus-html-cache-directory, gnus-html-cache-size)
868         (gnus-html-frame-width, gnus-blocked-images)
869         * message.el (message-prune-recipient-rules): Add custom version.
870         * gnus-sum.el (gnus-auto-expirable-marks): Bump custom version.
871
872         * gnus-ems.el (gnus-process-get, gnus-process-put): New compatibility
873         functions.
874
875         * gnus-html.el (gnus-html-curl-sentinel): Replace process-get with
876         gnus-process-get.
877
878 2010-08-31  Julien Danjou  <julien@danjou.info>  (tiny change)
879
880         * nnimap.el (nnimap-request-newgroups): Use nnimap-request-list-method
881         instead of lsub directly.
882
883 2010-08-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
884
885         * nnwarchive.el: Removed.
886
887         * gnus-soup.el: Removed.
888
889         * nnsoup.el: Removed.
890
891         * nnultimate.el: Removed.
892
893         * gnus-html.el (gnus-blocked-images): New variable.
894
895         * message.el (message-prune-recipients): New function.
896         (message-prune-recipient-rules): New variable.
897
898         * gnus-cite.el (gnus-article-natural-long-line-p): New function to
899         guess whether a long line is natural text or not.
900
901         * gnus-html.el (gnus-html-schedule-image-fetching): Use
902         gnus-process-plist and friends for compatibility.
903
904 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
905
906         * gnus-html.el: Require packages that define macros used in this file.
907         (gnus-article-mouse-face): Declare to silence byte-compiler.
908         (gnus-html-curl-sentinel): Use with-current-buffer, inhibit-read-only, and
909         process-get.
910         (gnus-html-put-image): Use plist-get to avoid getf.
911         (gnus-html-prefetch-images): Use with-current-buffer.
912
913 2010-08-31  Katsumi Yamaoka  <yamaoka@jpl.org>
914
915         * gnus-ems.el: Provide compatibility functions for
916         gnus-set-process-plist.
917
918         * lpath.el: Bind completion-styles for Emacs 21 and XEmacs; bind
919         header-line-format for XEmacs 21.4.
920
921         * gnus-sum.el (gnus-summary-stop-at-end-of-message)
922         * gnus.el (gnus-valid-select-methods)
923         * message.el (message-send-mail-partially-limit)
924         * mm-decode.el (mm-text-html-renderer)
925         * mml.el (mml-insert-mime-headers-always)
926         * smiley.el (smiley-regexp-alist): Bump custom version.
927
928 2010-08-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
929
930         * gnus-html.el: require mm-url.
931         (gnus-html-wash-tags): Clarify the code a bit by renaming the variable
932         with the url to `url'.
933         (gnus-html-wash-tags): Support cid: URLs/images.
934
935 2010-08-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
936
937         * gnus-sum.el: As per discussion 3 years, 8 weeks, 3 days, 9 hours, 57
938         minutes, 56 seconds ago on the ding list, remove the `w' and `i'
939         bindings, as they aren't useful at all.  `w' is moved to `W w'.
940
941         * gnus-move.el: Removed file, since it doesn't really work.
942
943         * gnus-html.el (gnus-article-html): Tell w3m that the input is
944         UTF-8.  This seems to fix problems with some German web feeds.
945
946         * gnus.el (gnus-group-startup-message): Put the xpm version of the logo
947         at the top so that the proper colours are applied.
948
949         * gnus-xmas.el (gnus-xmas-create-image): Make this work on files that
950         don't have dots in their names.
951
952         * gnus-art.el (gnus-article-view-part): Doc fix.
953
954         * gnus-html.el (gnus-html-put-image): Use gnus-create-image to be
955         XEmacs-compatible.
956         (gnus-html-put-image): Don't do images on non-graphic displays.
957
958         * nnslashdot.el: Removed this unused backend.
959
960         * gnus-undo.el (gnus-undo-register-1): Limit the undo actions to 100
961         actions.
962         (gnus-undo-register-1): Revert last change.
963
964         * gnus-group.el (gnus-group-completing-read): Protect against not
965         having completion-styles bound.
966
967         * mml.el (mml-insert-mime-headers-always): Change the default to t, to
968         make broken recipients happier.
969
970         * gnus-html.el (gnus-html-put-image): Use gnus-put-image.
971
972         * gnus-ems.el (gnus-put-image): Have gnus-put-image take an optional
973         point parameter.
974
975         * gnus-xmas.el (gnus-xmas-put-image): Ditto.
976
977         * gnus-group.el (gnus-group-completing-read): Add 'substring to
978         completion-styles for group selection.
979
980 2009-02-04  Andreas Schwab  <schwab@suse.de>
981
982         * gnus-score.el (gnus-score-string): Fix regex for matching extra
983         headers and regexp-quote the match if necessary.
984
985 2009-03-24  Miles Bader  <miles@gnu.org>
986
987         * smiley.el (smiley-regexp-alist): Don't delete the semicolon before
988         the blinking smiley.
989
990 2009-03-24  Simon Josefsson  <simon@josefsson.org>
991
992         * smiley.el (smiley-regexp-alist): Disallow ;;) from being treated as a
993         blink smiley.
994
995 2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
996
997         * gnus-start.el (gnus-dribble-read-file): Ensure that the directory
998         where the dribbel file lives exists.
999
1000         * message.el (message-send-mail-partially-limit): Change the default to
1001         nil, since most people don't want this.
1002
1003         * mm-url.el (mm-url-decode-entities): Also decode entities like
1004         &#x3212.
1005
1006 2009-07-16  Kevin Ryde  <user42@zip.com.au>  (tiny change)
1007
1008         * gnus-sum.el (gnus-summary-idna-message):
1009         * nnrss.el (nnrss-normalize-date, nnrss-discover-feed):
1010         Hyperlink urls in docstrings with URL `...'.
1011
1012 2010-08-29  Adam Sjøgren  <asjo@koldfront.dk>
1013
1014         * gnus-html.el (gnus-html-put-image): Use XEmacs-compatible image
1015         functions.
1016
1017 2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1018
1019         * gnus-art.el (gnus-article-add-button): Take an optional parameter to
1020         say what the mouseover text should be.
1021
1022         * gnus-html.el (gnus-html-prefetch-images): Use the summary-local
1023         version of the mm-w3m-safe-url-regexp variable to only download images
1024         in the groups where we want that to happen.
1025
1026         * gnus-sum.el (gnus-summary-stop-at-end-of-message): New variable.
1027
1028         * gnus-art.el (gnus-article-beginning-of-window): Make into defun for
1029         easier debugging.
1030         (gnus-article-beginning-of-window): Add kludge to allow spacing past
1031         big pictures in the article buffer.
1032
1033         * mm-decode.el (mm-text-html-renderer): Default the html renderer to
1034         gnus-article-html.
1035         (mm-text-html-renderer): gnus-article-html needs curl in addition to
1036         w3m.
1037
1038         * gnus-html.el: Start a new super-simple HTML renderer based on w3m.
1039
1040 2010-08-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1041
1042         * gnus.el (gnus-valid-select-methods): Remove reference to nngoogle,
1043         which doesn't exist.
1044
1045         * message.el (message-inhibit-ecomplete): New variable to allow some
1046         function to inhibit ecomplete address storage.
1047         (message-resend): Disable ecomplete message storage when resending
1048         messages.
1049
1050         * nntp.el (nntp-async-kluge): Remove the Emacs 20.3-related kluge.
1051
1052 2010-08-27  Katsumi Yamaoka  <yamaoka@jpl.org>
1053
1054         * gnus-sum.el (gnus-summary-move-article, gnus-summary-delete-article):
1055         Save excursion while copying, moving, and deleting articles in order to
1056         prevent the cursor from jumping to unforeseen place.
1057
1058 2010-08-17  Katsumi Yamaoka  <yamaoka@jpl.org>
1059
1060         * lpath.el: No need to bind bookmark-current-buffer,
1061         bookmark-yank-point and bookmark-make-record-function.
1062
1063 2010-08-17  Glenn Morris  <rgm@gnu.org>
1064
1065         * gnus-sync.el: Require gnus components whose functions are used.
1066
1067         * gnus-art.el (bookmark-make-record-function):
1068         * gnus-sum.el (bookmark-yank-point, bookmark-current-bookmark):
1069         Declare for compiler.
1070
1071         * mm-url.el (mml-compute-boundary): Autoload.
1072
1073 2010-08-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1074
1075         * gnus-start.el (gnus-start-draft-setup): Move doc string forward.
1076
1077 2010-08-14  Teodor Zlatanov  <tzz@lifelogs.com>
1078
1079         Typo fix "hoo4a" -> "hook".
1080
1081         * gnus-sync.el (gnus-sync-install-hooks): Typo fix.
1082
1083 2010-08-14  Glenn Morris  <rgm@gnu.org>
1084
1085         * gnus-sync.el (gnus-sync): Fix defgroup version.
1086
1087 2010-08-13  Teodor Zlatanov  <tzz@lifelogs.com>
1088
1089         Doc fixes and keep unknown groups (ammended for nunion bug fix).
1090
1091         * gnus-sync.el: Fix docs.
1092         (gnus-sync-save): Keep unknown groups in `gnus-sync-newsrc-loader'.
1093         (gnus-sync-read): Don't wipe `gnus-sync-newsrc-loader' after reading.
1094
1095 2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>
1096
1097         Optimizations for gnus-sync.el.
1098
1099         * gnus-sync.el: Add docs about gnus-sync-backend
1100         possibilities.
1101         (gnus-sync-save): Remove unnecessary message.
1102         (gnus-sync-read): Optimize and show what groups were skipped.
1103
1104 2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>
1105
1106         Minor bug fixes for gnus-sync.el.
1107
1108         * gnus-sync.el (gnus-sync-unload-hook, gnus-sync-install-hooks): Don't
1109         read the sync on get-new-news.
1110
1111         * gnus-sync.el (gnus-sync-save): Define `variable' so the compiler is
1112         quiet.
1113
1114         * gnus-sync.el (gnus-sync-read): Use `gnus-sync-newsrc-offsets' (fix typo).
1115
1116 2010-07-30  Lawrence Mitchell  <wence@gmx.li>
1117
1118         Make saving and restoring of hidden threads work with overlays.
1119         Patch applied by Ted Zlatanov.
1120
1121         * gnus-sum.el (gnus-hidden-threads-configuration)
1122         (gnus-restore-hidden-threads-configuration): Update to deal with text
1123         properties, rather than searching for a magic character.
1124
1125 2010-08-12  Teodor Zlatanov  <tzz@lifelogs.com>
1126
1127         New gnus-sync.el library for synchronization of marks.
1128
1129         * gnus-sync.el: New library for synchronization of marks.
1130
1131         * gnus-util.el (gnus-grep-in-list): Moved from gnus-registry.el and
1132         renamed from `gnus-registry-grep-in-list'.
1133
1134         * gnus-registry.el (gnus-registry-follow-group-p): Use `gnus-grep-in-list'.
1135
1136         * gnus-start.el (gnus-start-draft-setup): Make it interactive.
1137
1138 2010-08-06  Katsumi Yamaoka  <yamaoka@jpl.org>
1139
1140         * rfc2047.el (rfc2047-encode): Use utf-8 as a last resort if
1141         determining charset of text fails.
1142
1143 2010-08-01  Katsumi Yamaoka  <yamaoka@jpl.org>
1144
1145         * nnmail.el (nnmail-get-new-mail-1): Revert.
1146
1147         * nnml.el (nnml-active-number): Make sure names of newly created groups
1148         in nnml-group-alist are encoded.
1149
1150 2010-07-30  Katsumi Yamaoka  <yamaoka@jpl.org>
1151
1152         * nnmail.el (nnmail-get-new-mail-1): Encode group names possibly
1153         containing non-ASCII characters in active file for nnml back end.
1154
1155 2010-07-24  David Engster  <dengste@eml.cc>
1156
1157         * mml-smime.el (mml-smime-epg-verify): Also accept the older
1158         x-pkcs7-signature MIME type as signature (RFC 2311, C.1).
1159
1160 2010-07-21  Daiki Ueno  <ueno@unixuser.org>
1161
1162         * mml.el (mml-parse-1): Collect "certfile" attributes in "<#secure>"
1163         tag (Bug#6654).
1164
1165 2010-07-20  Katsumi Yamaoka  <yamaoka@jpl.org>
1166
1167         * gnus-sum.el (gnus-summary-bookmark-make-record): Bookmark position in
1168         the article buffer, not the summary buffer.
1169
1170 2010-07-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1171
1172         * gnus-sum.el (gnus-summary-bookmark-make-record): Make it work for
1173         Emacs 23 as well.
1174
1175 2010-07-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1176
1177         * lpath.el: Bind bookmark-current-buffer, bookmark-yank-point for all
1178         Emacs versions; bind bookmark-make-record-function for Emacs >=22.
1179
1180 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1181
1182         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
1183         Patch applied by Karl Fogel.
1184
1185         * gnus-sum.el (gnus-summary-bookmark-make-record): Set
1186         `bookmark-yank-point' and `bookmark-current-buffer' to allow C-w.
1187
1188 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1189
1190         Allow bookmarks to be set from Gnus Article buffers (Bug #5975).
1191         Patch applied (with minor tweaks) by Karl Fogel.  Note this leaves
1192         C-w still not working correctly from Article buffers; Thierry's
1193         patch to fix that will be applied after this.
1194
1195         * gnus-art.el (bookmark-make-record-function): New local variable.
1196
1197         * gnus-sum.el (gnus-summary-bookmark-make-record): Allow setting from
1198         article buffer.
1199         (gnus-summary-bookmark-jump): Maybe jump to article buffer.
1200
1201 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
1202
1203         * gnus-sum.el (bookmark-make-record-default): Adjust declaration, based
1204         on changes in bookmark.el.
1205
1206 2010-07-13  Katsumi Yamaoka  <yamaoka@jpl.org>
1207
1208         * gnus-xmas.el (gnus-xmas-read-event-char): Use display-message with
1209         `no-log' instead of message not to log prompt string.
1210
1211 2010-06-22  Mark A. Hershberger  <mah@everybody.org>
1212
1213         * mm-url.el (mm-url-encode-multipart-form-data): New function to handle
1214         the *other* type of HTML form submission.
1215
1216 2010-06-15  Michael Albinus  <michael.albinus@gmx.de>
1217
1218         * auth-source.el (auth-source-pick): If choice does not contain a
1219         questioned keyword, set the check to t.
1220
1221 2010-06-12  Romain Francoise  <romain@orebokech.com>
1222
1223         * gnus-util.el (gnus-date-get-time): Move up before first use.
1224
1225 2010-06-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1226
1227         * gnus-art.el (gnus-mime-buttonized-part-id): New internal variable.
1228         (gnus-article-edit-part): Bind it to make last part that is substituted
1229         or deleted visible.
1230         (gnus-mime-display-single): Buttonize part of which id equals to
1231         gnus-mime-buttonized-part-id.
1232
1233 2010-06-10  Dan Christensen  <jdc@uwo.ca>
1234
1235         * gnus-util.el (gnus-user-date): Use gnus-date-get-time.
1236         (gnus-dd-mmm): Use gnus-date-get-time.
1237         * gnus-sum.el (gnus-thread-latest-date): Use gnus-date-get-time and
1238         simplify logic.
1239         (gnus-summary-limit-to-age): Use gnus-date-get-time.
1240         (gnus-sort-threads): emit message if gnus-sort-threads-loop used.
1241
1242 2010-06-08  Michael Albinus  <michael.albinus@gmx.de>
1243
1244         * auth-source.el (top): Autoload `secrets-list-collections',
1245         `secrets-create-item', `secrets-delete-item'.
1246         (auth-sources): Fix tag string.
1247         (auth-get-source, auth-source-retrieve, auth-source-create)
1248         (auth-source-delete): New defuns.
1249         (auth-source-pick): Rewrite in order to avoid 2 passes.
1250         (auth-source-forget-user-or-password): New parameter USERNAME.
1251         (auth-source-user-or-password): New parameters CREATE-MISSING and
1252         DELETE-EXISTING.  Retrieve password interactively, if needed.
1253
1254 2010-06-07  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
1255
1256         * gnus-agent.el (gnus-agent-expire-unagentized-dirs): Don't ask about
1257         deleting unused directories when gnus-expert-user is t.
1258
1259 2010-06-02  Katsumi Yamaoka  <yamaoka@jpl.org>
1260
1261         * gnus-art.el (gnus-article-browse-delete-temp-files): Don't make query
1262         for each temp file when gnus-article-browse-delete-temp is ask.
1263
1264 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1265
1266         * gnus-uu.el, imap.el, nndoc.el, nnrss.el, rfc2047.el, utf7.el: Replace
1267         Lisp calls to delete-backward-char by calls to delete-char.
1268
1269 2010-05-20  Kevin Ryde  <user42@zip.com.au>
1270
1271         * gnus-start.el (gnus-level-unsubscribed): Doc fix.  (Bug#6206)
1272
1273 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
1274
1275         * password-cache.el (password-cache-remove): Fix docstring.
1276
1277 2010-05-14  Katsumi Yamaoka  <yamaoka@jpl.org>
1278
1279         * gnus-sum.el (gnus-summary-save-article): Don't bother to re-fetch
1280         article unless decoding article to be saved.
1281
1282 2010-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>
1283
1284         * mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt)
1285         * mml2015.el (mml2015-gpg-encrypt): Disable multibyte in buffers
1286         generated within the mm-with-unibyte-current-buffer macro.
1287
1288 2010-05-13  Katsumi Yamaoka  <yamaoka@jpl.org>
1289
1290         * gnus-art.el (gnus-bind-safe-url-regexp): Bind mm-w3m-safe-url-regexp
1291         to nil when we're in a mml-preview buffer and no group is selected.
1292
1293 2010-05-12  Andreas Seltenreich  <seltenreich@gmx.de>
1294
1295         * gnus-sum.el (gnus-summary-read-group-1): Don't jump to next group
1296         when catching the `C-g'.  Reported by "Leo".
1297
1298 2010-05-12  Katsumi Yamaoka  <yamaoka@jpl.org>
1299
1300         * message.el (message-forward-make-body-plain)
1301         (message-forward-make-body-mml): Use mm-multibyte-string-p instead of
1302         multibyte-string-p.
1303
1304         * lpath.el: Revert.
1305
1306 2010-05-12  Katsumi Yamaoka  <yamaoka@jpl.org>
1307
1308         * message.el (message-forward-make-body-mml): Assume original message
1309         is multibyte string; error on unibyte.
1310         (message-forward-make-body-plain): Ditto; don't add excessive newline
1311         in body end.
1312
1313         * lpath.el: Fbind multibyte-string-p for XEmacs 21.4 and SXEmacs.
1314
1315 2010-05-11  Andreas Seltenreich  <seltenreich@gmx.de>
1316
1317         * gnus-sum.el (gnus-summary-kill-thread): Use gnus-summary-mark-article
1318         instead of g-s-m-a-as-unread to set the expirable mark.  (Bug#5284)
1319
1320 2010-05-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1321
1322         * mm-extern.el (mm-extern-url): Don't use
1323         mm-with-unibyte-current-buffer.
1324         (mm-extern-cache-contents): Use with-current-buffer instead of
1325         save-excursion + set-buffer.
1326
1327 2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1328
1329         * mm-util.el (mm-emacs-mule): Remove.
1330
1331 2010-05-10  Andreas Seltenreich  <seltenreich@gmx.de>
1332
1333         * gnus-sum.el (gnus-summary-mode): Don't make minor-mode-alist
1334         buffer-local as it's incompatible with Stefan Monnier's 2010-05-03
1335         change.
1336
1337 2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1338
1339         * mm-util.el (mm-with-unibyte-current-buffer): Redefine it so as not to
1340         bind the default value of enable-multibyte-characters to nil.
1341
1342 2010-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1343
1344         * message.el (message-forward-make-body-plain)
1345         (message-forward-make-body-mml):
1346         Don't use mm-with-unibyte-current-buffer.
1347
1348 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1349
1350         * dns-mode.el (auto-mode-alist): Add entry for .zone files.
1351
1352 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
1353
1354         * mml2015.el (mml2015-epg-find-usable-key): Skip disabled key
1355         (Bug#5592).
1356
1357 2010-05-07  Julien Danjou  <julien@danjou.info>
1358
1359         * gnus-art.el (gnus-mime-pipe-part): Add optional argument `cmd'; pass
1360         it to mm-pipe-part.
1361
1362         * mm-decode.el (mm-pipe-part): Add optional argument `cmd'; use it if
1363         it is given.
1364
1365 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
1366
1367         * binhex.el (binhex-decode-region-internal)
1368         * dns.el (dns-read-string-name, dns-write, dns-read, dns-read-type)
1369         (dns-query)
1370         * nnweb.el (nnweb-gmane-search)
1371         * pgg-parse.el (pgg-parse-armor)
1372         * pgg.el (pgg-verify-region)
1373         * sha1.el (sha1-string-external)
1374         * uudecode.el (uudecode-decode-region-internal)
1375         * yenc.el (yenc-decode-region): Don't run set-buffer-multibyte for
1376         XEmacs.
1377
1378         * gnus-art.el (gnus-article-browse-html-parts)
1379         * gnus-group.el (gnus-read-ephemeral-gmane-group)
1380         (gnus-read-ephemeral-bug-grou): Use mm-make-temp-file instead of
1381         make-temp-file.
1382
1383         * gnus-dired.el (gnus-dired-mode): Bind gnus-dired-mode-hook,
1384         gnus-dired-mode-on-hook and gnus-dired-mode-off-hook for XEmacs when
1385         compiling.
1386
1387         * gnus-ml.el (gnus-mailing-list-mode): Bind gnus-mailing-list-mode-hook,
1388         gnus-mailing-list-mode-on-hook and gnus-mailing-list-mode-off-hook for
1389         XEmacs when compiling.
1390
1391         * gnus-salt.el (gnus-pick-mode): Bind gnus-pick-mode-on-hook and
1392         gnus-pick-mode-off-hook for XEmacs when compiling.
1393         (gnus-binary-mode): Bind gnus-binary-mode-on-hook and
1394         gnus-binary-mode-off-hook for XEmacs when compiling.
1395
1396         * gnus-sum.el (gnus-summary-limit-strange-charsets-predicate): Return
1397         nil if char-charset is not available.
1398
1399         * imap.el (imap-disable-multibyte)
1400         * sieve-manage.el (sieve-manage-disable-multibyte): Redefine them as
1401         macros.
1402
1403         * mm-url.el (mm-url-form-encode-xwfu): Use mm-encode-coding-string
1404         instead of encode-coding-string.
1405
1406         * mm-util.el (mm-enable-multibyte, mm-disable-multibyte): Use (featurep
1407         'xemacs) instead of mm-emacs-mule to switch function definitions.
1408         (mm-with-unibyte-current-buffer): Make it a progn macro for XEmacs.
1409
1410         * lpath.el: Fbind delete-overlay and overlay-lists for XEmacs;
1411         bind temporary-file-directory for XEmacs;
1412         fbind make-temp-file, set-buffer-multibyte, string-as-multibyte and
1413         timer-set-function for XEmacs 21.4 and SXEmacs;
1414         bind timer-list for XEmacs 21.4 and SXEmacs;
1415         fbind char-charset and find-charset-region for non-Mule XEmacs;
1416         fbind decode-coding-region, decode-coding-string, detect-coding-region,
1417         encode-coding-region and encode-coding-string for XEmacs having no
1418         file-coding feature.
1419
1420 2010-05-06  Tommi Vainikainen  <thv@iki.fi>  (tiny change)
1421
1422         * mml-sec.el (mml-secure-message-sign): Fix cut and paste error.
1423
1424 2010-05-06  Katsumi Yamaoka  <yamaoka@jpl.org>
1425
1426         * gnus-dired.el, gnus-draft.el, gnus-ml.el, gnus-salt.el, gnus-sum.el,
1427         gnus-undo.el, mml.el: Require easy-mmode for XEmacs when compiling.
1428
1429 2010-05-03  Juanma Barranquero  <lekktu@gmail.com>
1430
1431         * mm-util.el (mm-decompress-buffer): Use `delete-file';
1432         alias `jka-compr-delete-temp-file' no longer exists.
1433
1434 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1435
1436         Use define-minor-mode in Gnus where applicable.
1437         * mml.el (mml-mode): Use define-minor-mode.
1438         * gnus-undo.el (gnus-undo-mode-map): Initialize in declaration.
1439         (gnus-undo-mode): Use define-minor-mode.
1440         * gnus-sum.el (gnus-dead-summary-mode-map): Initialize in declaration.
1441         (gnus-dead-summary-mode): Use define-minor-mode.
1442         * gnus-salt.el (gnus-pick-mode-map, gnus-binary-mode-map):
1443         Initialize in declaration.
1444         (gnus-pick-mode, gnus-binary-mode): Use define-minor-mode.
1445         * gnus-ml.el (gnus-mailing-list-mode-map): Initialize in declaration.
1446         (gnus-mailing-list-mode): Use define-minor-mode.
1447         * gnus-draft.el (gnus-draft-mode-map): Initialize in declaration.
1448         (gnus-draft-mode): Use define-minor-mode.
1449         * gnus-dired.el (gnus-dired-mode-map): Initialize in declaration.
1450         (gnus-dired-mode): Use define-minor-mode.
1451
1452 2010-05-01  Andreas Seltenreich  <seltenreich@gmx.de>
1453
1454         * mml.el (mml-generate-mime-1,mml-compute-boundary-1): Update 'mml
1455         handles on recursive mml-to-mime translation and check them for
1456         boundary delimiter collisions.  Reported by Greg Troxel.
1457
1458 2010-04-27  Katsumi Yamaoka  <yamaoka@jpl.org>
1459
1460         * gnus-util.el: Don't load tm and apel XEmacs packages when compiling.
1461
1462 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1463
1464         * mm-util.el (mm-find-buffer-file-coding-system):
1465         * yenc.el (yenc-decode-region): Don't let-bind a read-only variable.
1466
1467 2010-04-22  Andreas Seltenreich  <seltenreich@gmx.de>
1468
1469         * message.el (message-generate-headers): Record insertion of optional
1470         headers as well.  Otherwise the check to prevent repeated insertion of
1471         optional headers is a no-op.
1472
1473 2010-04-17  Teodor Zlatanov  <tzz@lifelogs.com>
1474
1475         * smime.el: Don't mention CVS.
1476
1477         * nnrss.el (nnrss-fetch): Don't mention CVS.
1478
1479         * nnir.el: Don't mention CVS.
1480
1481 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1482
1483         * gnus-sum.el (gnus-summary-bookmark-make-record): Add `location' field.
1484
1485 2010-04-14  Katsumi Yamaoka  <yamaoka@jpl.org>
1486
1487         * lpath.el: Fbind bookmark-default-handler,
1488         bookmark-get-bookmark-record, bookmark-make-record-default,
1489         bookmark-prop-get for Emacs <23 and XEmacs.
1490
1491 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1492
1493         * gnus-sum.el: Add bookmark declarations to silence the compiler.
1494         (gnus-mark-xrefs-as-read, gnus-summary-limit-to-bodies):
1495         Use with-current-buffer to silence the byte-compiler.
1496         (gnus-summary-bookmark-make-record): Use derived-mode-p and don't
1497         bother to require `gnus'.
1498         (gnus-summary-bookmark-jump): Don't forget to autoload.  Simplify.
1499
1500 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1501
1502         * gnus-sum.el (gnus-summary-bookmark-make-record)
1503         (gnus-summary-bookmark-jump): New functions.
1504         (gnus-summary-mode): Setup bookmark support.
1505
1506 2010-04-01  Andreas Schwab  <schwab@linux-m68k.org>
1507
1508         * mm-uu.el (mm-uu-pgp-signed-extract-1): Use buffer-file-coding-system
1509         if set.
1510
1511 2010-03-31  Katsumi Yamaoka  <yamaoka@jpl.org>
1512
1513         * gnus-art.el (gnus-article-browse-html-save-cid-content): Rename from
1514         gnus-article-browse-html-save-cid-image; make it work recursively for
1515         forwarded messages as well.
1516         (gnus-article-browse-html-parts): Work when prefix arg is given.
1517         (gnus-article-browse-html-article): Doc fix.
1518
1519 2010-03-30  Chong Yidong  <cyd@stupidchicken.com>
1520
1521         * message.el (message-default-mail-headers):
1522         (message-default-headers): Carry the value mail-default-headers over
1523         into message-default-mail-headers, rather than message-default-headers.
1524
1525 2010-03-30  Martin Stjernholm  <mast@lysator.liu.se>
1526
1527         * mm-decode.el (mm-add-meta-html-tag): Added option to override the
1528         charset.
1529
1530         * gnus-art.el (gnus-article-browse-html-parts): Force the correct
1531         charset into the <meta> tag when the article is encoded to utf-8.
1532
1533 2010-03-30  Katsumi Yamaoka  <yamaoka@jpl.org>
1534
1535         * gnus-art.el (gnus-article-browse-delete-temp-files): Delete
1536         directories as well.
1537         (gnus-article-browse-html-parts): Work for images that do not specify
1538         file names; delete temp directory when quitting; insert header at the
1539         right place; use file: scheme for image files.
1540
1541 2010-03-30  Eric Schulte  <schulte.eric@gmail.com>
1542
1543         * gnus-art.el (gnus-article-browse-html-save-cid-image): New function.
1544         (gnus-article-browse-html-parts): Use it to make temporary cid image
1545         files in addition to html file so that browser may display them.
1546
1547 2010-03-29  Katsumi Yamaoka  <yamaoka@jpl.org>
1548
1549         * mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag.
1550
1551 2010-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
1552
1553         * auth-source.el (auth-source-pick): Fix for non-secrets specifier.
1554
1555 2010-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
1556
1557         * auth-source.el (auth-sources): Change default to be simpler.  Explain
1558         about Secret Service API sources.  Improve Customize options.
1559         (auth-source-pick): Change to accept any number of search parameters.
1560         Implement fallbacks iteratively, not recursively.  Add scoring on the
1561         second pass and sort by score.  Call Secret Service API when needed.
1562         (auth-source-user-or-password): Use it.  Call Secret Service API
1563         directly when needed to get the user name and the password.
1564
1565 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
1566
1567         * message.el (message-interactive): Doc fix.
1568         (message-qmail-inject-args): Reflow.
1569         (message-kill-to-signature): Fix typo in docstring.
1570
1571         * smiley.el (smiley-buffer): Fix typo in docstring.
1572
1573 2010-03-24  Glenn Morris  <rgm@gnu.org>
1574
1575         * mail-source.el (gnus-message): Declare.
1576         (mail-source-delete-old-incoming): Require gnus-util.
1577
1578 2010-03-23  Katsumi Yamaoka  <yamaoka@jpl.org>
1579
1580         * gnus-art.el (canlock-verify): Autoload it for Emacs 21.
1581
1582         * message.el (ecomplete-setup): Autoload it for Emacs <23.
1583
1584         * mml-sec.el (mml-secure-cache-passphrase): Default to t that is
1585         password-cache's default if it is not bound.
1586         (mml-secure-passphrase-cache-expiry): Default to 16 that is
1587         password-cache-expiry's default if it is not bound.
1588
1589         * pop3.el (pop3-list): Don't use 3rd arg of `split-string' which is not
1590         available in Emacs 21.
1591
1592         * lpath.el: Suppress compiler warnings for:
1593         canlock-insert-header and smtpmail-default-smtp-server for Emacs 21 and
1594         XEmacs;
1595         ecomplete-add-item, ecomplete-save, hashcash-wait-async,
1596         mail-add-payment, mail-add-payment-async, netrc-get, netrc-machine,
1597         netrc-machine-user-or-password and netrc-parse for Emacs 22 and XEmacs.
1598
1599 2010-03-23  Teodor Zlatanov  <tzz@lifelogs.com>
1600
1601         * auth-source.el (auth-sources): Fix up definition so extra parameters
1602         are always inline.
1603
1604 2010-03-22  Martin Stjernholm  <mast@lysator.liu.se>
1605
1606         * nnimap.el (nnimap-verify-uidvalidity): Fixed bug where uidvalidity
1607         wasn't updated after mismatch.  Clear cached mailbox info correctly
1608         when uidvalidity changes.
1609         (nnimap-group-prefixed-name): New function to avoid some code
1610         duplication.
1611         (nnimap-verify-uidvalidity, nnimap-group-overview-filename)
1612         (nnimap-request-group): Use it.
1613         (nnimap-retrieve-groups, nnimap-verify-uidvalidity)
1614         (nnimap-update-unseen): Significantly improved speed of Gnus startup
1615         with many imap folders.  This is done by caching the group status from
1616         the imap server persistently in a group parameter `imap-status'.  (This
1617         was cached before too if `nnimap-retrieve-groups-asynchronous' was set,
1618         but not persistently, so every Gnus startup was still very slow.)
1619
1620 2010-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
1621
1622         * assistant.el (assistant-render-text): Run `widget-setup' and don't
1623         delete the extra newline.  Otherwise editing of :string and :number
1624         types don't work.
1625
1626 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
1627
1628         * auth-source.el: Set up autoloads.  Bump to 23.2 because of the
1629         secrets.el dependency.
1630         (auth-sources): Add optional user name.  Add secrets.el configuration
1631         choice (unused right now).
1632
1633 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
1634
1635         * gnus-sum.el (gnus-summary-make-menu-bar): Let
1636         `gnus-registry-install-shortcuts' fill in the functions.
1637
1638         * gnus-registry.el (gnus-summary-misc-menu): Declare to avoid
1639         warnings.
1640         (gnus-registry-misc-menus): Variable to hold registry mark menus.
1641         (gnus-registry-install-shortcuts): Populate and use it in a
1642         `gnus-summary-menu-hook' lambda, under "Gnus"->"Registry Marks".
1643
1644 2010-03-20  Martin Stjernholm  <mast@lysator.liu.se>
1645
1646         * nnimap.el (nnimap-decode-group-name, nnimap-encode-group-name):
1647         In-place substitutions for the group name encoding/decoding.
1648         (nnimap-find-minmax-uid, nnimap-possibly-change-group)
1649         (nnimap-retrieve-headers-progress, nnimap-possibly-change-group)
1650         (nnimap-retrieve-headers-progress, nnimap-request-article-part)
1651         (nnimap-update-unseen, nnimap-request-list)
1652         (nnimap-retrieve-groups, nnimap-request-update-info-internal)
1653         (nnimap-request-set-mark, nnimap-split-to-groups)
1654         (nnimap-split-articles, nnimap-request-newgroups)
1655         (nnimap-request-create-group, nnimap-request-accept-article)
1656         (nnimap-request-delete-group, nnimap-request-rename-group)
1657         (nnimap-acl-get, nnimap-acl-edit): Use them.  Replace `mbx' with
1658         `encoded-mbx' for consistency.
1659         (nnimap-close-group): Call `imap-current-mailbox' instead of using the
1660         variable `imap-current-mailbox'.
1661
1662         * gnus-agent.el (gnus-agent-fetch-articles, gnus-agent-fetch-headers)
1663         (gnus-agent-regenerate-group): Use `gnus-agent-decoded-group-name'.
1664
1665 2010-03-20  Bojan Petrovic  <bpetrovi@f.bg.ac.rs>
1666
1667         * pop3.el (pop3-display-message-size-flag): Display message size byte
1668         counts during POP3 download.
1669         (pop3-movemail): Use it.
1670         (pop3-list): Implement listing of available messages.
1671
1672 2010-03-20  Mark Triggs  <mst@dishevelled.net>  (tiny change)
1673
1674         * nnir.el (nnir-get-article-nov-override-function): New function to
1675         override the normal NOV retrieval.
1676         (nnir-retrieve-headers): Use it.
1677
1678 2010-03-19  Michael Albinus  <michael.albinus@gmx.de>
1679
1680         * auth-source.el (netrc-machine-user-or-password): Autoload.
1681
1682 2010-03-19  Glenn Morris  <rgm@gnu.org>
1683
1684         Stop message.el from loading about 40 libraries it doesn't always need.
1685         The general approach is to autoload rather than require, and to
1686         require in the specific functions rather than the file.  (Bug#5642)
1687
1688         * gmm-utils.el: Don't require wid-edit.
1689         (widget-create-child-value, widget-convert, widget-default-get):
1690         Autoload.
1691
1692         * gnus-util.el: Don't require time-date, netrc.
1693         (message-fetch-field, gnus-group-name-decode): Declare rather than
1694         autoloading.
1695         (gnus-fetch-field): Require message.
1696         (gnus-decode-newsgroups): Require gnus-group.
1697
1698         * ietf-drums.el: Don't require time-date.
1699
1700         * message.el: Don't require hashcash, canlock, ecomplete.
1701         Do require mail-utils.  Require nnheader only when compiling.
1702         (smtpmail-default-smtp-server): Remove declaration.
1703         (message-send-mail-function): Check smtpmail-default-smtp-server
1704         is bound rather than requiring smtpmail.
1705         (message-auto-save-directory, message-insert-signature): Use
1706         expand-file-name rather than nnheader-concat.
1707         (nnheader-insert-file-contents): Autoload.
1708         (hashcash-wait-async): Declare.
1709         (message-send-mail): Only call gnus-setup-posting-charset if
1710         gnus-group-posting-charset-alist is bound.  Require hashcash if needed.
1711         (message-send-mail-with-sendmail): Require sendmail.
1712         (canlock-password, canlock-password-for-verify): Declare.
1713         (message-canlock-password): Require canlock.
1714         (nnheader-get-report): Autoload.
1715         (gnus-setup-posting-charset): Declare.
1716         (message-send-news): Require gnus-msg.
1717         (message-make-references, message-make-in-reply-to): Use mail-header-id
1718         rather than the alias mail-header-message-id.
1719         (ecomplete-add-item, ecomplete-save): Declare.
1720         (message-put-addresses-in-ecomplete): Require ecomplete.
1721         (ecomplete-display-matches): Autoload.
1722
1723         * mm-decode.el: Don't require mailcap, gnus-util.
1724         (gnus-map-function, gnus-replace-in-string, gnus-read-shell-command)
1725         (message-fetch-field, mailcap-parse-mailcaps, mailcap-mime-info):
1726         Autoload.
1727         (mailcap-mime-extensions): Declare.
1728
1729         * mm-encode.el: Don't require mailcap.
1730         (mailcap-extension-to-mime): Autoload.
1731
1732         * mml-sec.el: Don't require password-cache.
1733
1734         * mml.el (gnus-setup-posting-charset): Declare rather than autoload.
1735         (mailcap-parse-mimetypes, mailcap-mime-types): Declare.
1736         (mml-minibuffer-read-type): Require mailcap.
1737         (mml-preview): Require gnus-msg.
1738
1739         * mml1991.el: Require password-cache.
1740         (password-cache-expiry): Remove declaration.
1741
1742         * mml2015.el: Require password-cache.
1743         (password-cache-expiry): Remove declaration.
1744
1745         * nneething.el (mailcap): Require mailcap.
1746
1747         * nnheader.el (declare-function): Add compatibility stub.
1748         (message-remove-header): Declare rather than autoload.
1749         (nnheader-replace-header): Require message.
1750
1751         * nnimap.el (declare-function): Add compatibility stub.
1752         (netrc-parse, netrc-machine-user-or-password): Declare.
1753         (nnimap-open-connection): Require netrc.
1754
1755         * nntp.el (declare-function): Add compatibility stub.
1756         (netrc-parse, netrc-machine, netrc-get): Declare.
1757         (nntp-send-authinfo): Require netrc.
1758
1759         * rfc2047.el: Don't require qp.
1760         (quoted-printable-encode-region, quoted-printable-decode-string):
1761         Autoload.
1762
1763         * sieve-mode.el: Don't require easymenu.
1764         (easy-menu-add-item): Autoload it.
1765
1766         * spam-stat.el (time-to-number-of-days): Autoload it.
1767
1768 2010-03-19  Glenn Morris  <rgm@gnu.org>
1769
1770         * password-cache.el (password-cache, password-cache-expiry): Autoload.
1771
1772 2010-03-18  Glenn Morris  <rgm@gnu.org>
1773
1774         * hashcash.el (declare-function): Remove duplicate definition.
1775
1776 2010-03-17  Kevin Ryde  <user42@zip.com.au>
1777
1778         * mml.el (mml-read-tag): Unquote values with `read' to reverse
1779         prin1 in mml-insert-tag (just stripping the quotes gave wrong
1780         value if any backslash escapes).
1781
1782 2010-03-15  Katsumi Yamaoka  <yamaoka@jpl.org>
1783
1784         * mm-util.el (mm-charset-to-coding-system): Use coding-system-from-name
1785         if it is available.  (bug#5647)
1786
1787         * lpath.el: Suppress compiler warning for coding-system-from-name for
1788         Emacs 21 and XEmacs.
1789
1790 2010-03-14  Juri Linkov  <juri@jurta.org>
1791
1792         * hmac-def.el:
1793         * hmac-md5.el:
1794         * netrc.el: Fix keywords.
1795
1796 2010-02-26  Glenn Morris  <rgm@gnu.org>
1797
1798         * message.el (message-send-mail-function): Change the default, so that
1799         it inherits from a customized send-mail-function.  (Bug#5643)
1800
1801 2010-02-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1802
1803         * gnus-art.el (gnus-treat-display-x-face): Don't burp if
1804         shell-command-to-string signals an error (bug#5299).
1805
1806 2010-02-24  Glenn Morris  <rgm@gnu.org>
1807
1808         * message.el (message-smtpmail-send-it)
1809         (message-send-mail-with-mailclient): Doc fixes.
1810
1811 2010-02-16  Glenn Morris  <rgm@gnu.org>
1812
1813         * message.el (message-default-mail-headers): Change the default value
1814         to ease the transition from mail-mode to message-mode.  (Bug#5555)
1815
1816 2010-01-19  Katsumi Yamaoka  <yamaoka@jpl.org>
1817
1818         * parse-time.el (parse-time-syntax): Define it for only XEmacs.
1819         (parse-time-string-chars): Implement 2009-08-16 change for Emacs.
1820
1821 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
1822
1823         * time-date.el (date-to-time): Doc fix (Bug#5408).
1824
1825 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
1826
1827         * message.el (message-mail): Just pass yank-action on to message-setup.