1 2011-02-10 Teodor Zlatanov <tzz@lifelogs.com>
3 * sieve-manage.el: Autoload `auth-source-search'.
4 (sieve-sasl-auth): Use it.
6 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
8 * nnimap.el: Autoload `auth-source-forget+'.
9 (nnimap-open-connection-1): Use it if the connection fails.
11 * auth-source.el: Require `password-cache'.
12 (auth-source-hide-passwords, auth-source-cache): Remove and mark
14 (auth-source-magic): Marker for `password-cache' keys.
15 (auth-source-do-cache): Update docstring.
16 (auth-source-search): Use and check cache.
17 (auth-source-forget-all-cached, auth-source-remember)
18 (auth-source-recall, auth-source-forget, auth-source-forget+)
19 (auth-source-specmatchp): Caching support functions.
20 (auth-source-forget-user-or-password, auth-source-forget-all-cached):
22 (auth-source-user-or-password): Remove caching to further discourage
23 using it. Always hide passwords.
25 * password-cache.el (password-cache-remove): Accept secrets that are
28 2011-02-09 Lars Ingebrigtsen <larsi@gnus.org>
30 * nntp.el (nntp-retrieve-group-data-early-disabled): Disable the async
31 code for now, since it doesn't work for all users.
33 2011-02-09 Julien Danjou <julien@danjou.info>
35 * message.el (message-options): Make message-options really buffer
38 2011-02-08 Teodor Zlatanov <tzz@lifelogs.com>
40 * mail-source.el: Autoload `auth-source-search'.
41 (mail-source-keyword-map): Note order matters.
42 (mail-source-set-1): Get all the mail-source source values and
43 defaults and search auth-source on those if needed. This can all
44 probably be simplified.
46 * nnimap.el: Autoload `auth-source-search'.
47 (nnimap-credentials): Use it.
48 (nnimap-open-connection-1): Ask for the virtual server and physical
51 * nntp.el: Autoload `auth-source-search'.
52 (nntp-send-authinfo): Use it. Note TODO.
54 2011-02-08 Julien Danjou <julien@danjou.info>
56 * shr.el (shr-tag-body): Add support for text attribute in body
59 * message.el (message-options): Make message-options a local variable.
61 2011-02-07 Teodor Zlatanov <tzz@lifelogs.com>
63 * auth-source.el (auth-source-secrets-search)
64 (auth-source-user-or-password): Use `append' instead of `nconc'.
65 (auth-source-user-or-password): Build return list better and protect
68 2011-02-07 Lars Ingebrigtsen <larsi@gnus.org>
70 * nnimap.el (nnimap-update-info): Refactor slightly.
71 (nnimap-update-info): Tell Gnus whether there are any \Recent messages.
72 (nnimap-update-info): Clean up slightly.
73 (nnimap-quirk): Add quirk for Gmail IMAP which bugs out on NUL
75 (nnimap-process-quirk): Renamed function to avoid collision.
76 (nnimap-update-info): Fix macrology bug-out.
77 (nnimap-update-info): Simplify split history test.
79 2011-02-06 Michael Albinus <michael.albinus@gmx.de>
81 * auth-source.el (top): Require 'eieio unconditionally. Autoload
82 `secrets-get-attributes' instead of `secrets-get-attribute'.
83 (auth-source-secrets-search): Limit search when `max' is greater than
86 2011-02-06 Lars Ingebrigtsen <larsi@gnus.org>
88 * nntp.el (nntp-finish-retrieve-group-infos): Protect against the first
89 part not returning any data.
91 * proto-stream.el (open-protocol-stream): Document the return value.
93 2011-02-06 Teodor Zlatanov <tzz@lifelogs.com>
95 * auth-source.el (auth-source-secrets-search): Add examples.
97 2011-02-06 Julien Danjou <julien@danjou.info>
99 * message.el (message-setup-1): Handle message-generate-headers-first
102 2011-02-06 Teodor Zlatanov <tzz@lifelogs.com>
104 * auth-source.el (auth-sources): Allow for simpler defaults for Secrets
105 API with a string "secrets:collection-name" and with 'default.
106 (auth-source-backend-parse): Parse "secrets:collection-name" and
107 'default. Recurse on parses instead of repeating code. Use the
108 Secrets API is the source is not nil and 'ignore otherwise. Emit a
109 message when ignoring a source.
110 (auth-source-search): List ignored search keys at the top level.
111 (auth-source-netrc-create): Use `case' instead of `cond'.
112 (auth-source-secrets-search): Created with TODOs.
113 (auth-source-secrets-create): Created with TODOs.
114 (auth-source-retrieve, auth-source-create, auth-source-delete)
115 (auth-source-protocol-defaults, auth-source-user-or-password-imap)
116 (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh)
117 (auth-source-user-or-password-sftp)
118 (auth-source-user-or-password-smtp): Removed.
119 (auth-source-user-or-password): Deprecated and modified to be a wrapper
120 around `auth-source-search'. Not tested thoroughly.
122 2011-02-04 Teodor Zlatanov <tzz@lifelogs.com>
124 * auth-source.el: Bring in assoc and eioeio libraries.
125 (secrets-enabled): New variable to track the status of the Secrets API.
126 (auth-source-backend): New EIOEIO class to represent a backend.
127 (auth-source-creation-defaults): New variable to set prompt defaults
128 during token creation (see the `auth-source-search' docstring for
130 (auth-sources): Simplify to allow a simple string as a netrc backend
132 (auth-source-backend-parse): Parse a backend from an `auth-sources' spec.
133 (auth-source-backend-parse-parameters): Fill in the backend parameters.
134 (auth-source-search): Main auth-source API entry point.
135 (auth-source-delete): Wrapper around `auth-source-search' for deletion.
136 (auth-source-search-collection): Helper function for searching.
137 (auth-source-netrc-parse, auth-source-netrc-normalize)
138 (auth-source-netrc-search, auth-source-netrc-create): Netrc backend.
139 Supports search, create, and delete.
140 (auth-source-secrets-search, auth-source-secrets-create): Secrets API
142 (auth-source-user-or-password): Call `auth-source-search' but it's not
145 2011-02-04 Lars Ingebrigtsen <larsi@gnus.org>
147 * message.el (message-setup-1): Remove the read-only stuff, since it
148 doesn't work under XEmacs, for some reason.
150 * gnus-sum.el (gnus-user-date): Renamed back from
151 gnus-summary-user-date since user code refers to it.
153 * shr.el (shr-render-td): Store the actual background colour used.
155 * message.el (message-setup-1): Don't bind the constant
156 -forbidden-properties.
157 (message-setup-1): Revert previous change, since it needs to bind the
158 props to insert them.
159 (message-resend): Allow removing the read-only separator line.
161 2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
163 * nnimap.el (nnimap-request-accept-article): Give an error message if
164 the APPEND wasn't successful.
166 2011-02-03 Adam Sjøgren <asjo@koldfront.dk>
168 * gnus-start.el (gnus-get-unread-articles): Fix the call to methods
171 2011-02-03 Julien Danjou <julien@danjou.info>
173 * gnus-draft.el: Remove progn around gnus-draft-setup.
175 2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
177 * gnus-start.el (gnus-read-active-for-groups): This function is never
178 called with a nil `infos', so clean that up.
179 (gnus-get-unread-articles): Request active files from primary/secondary
180 methods that have no groups (yet).
182 2011-02-03 Julien Danjou <julien@danjou.info>
184 * message.el (message-setup-1): Always generate References first.
185 (message-mail): Return the return value of message-setup, not always t.
186 (message-setup-1): Insert mail-header-separator with read-only and
187 intangible properties set.
189 * gnus.el (gnus-summary-line-format): Add missing semi-colon for
190 user-date in docstring.
192 * gnus-art.el (gnus-article-jump-to-part): Remove useless sit-for.
194 * gnus.el (gnus-summary-line-format): Mention &user-date format in
197 * gnus.el (gnus-user-date-format-alist): Change default value. Use
198 defcustom, with type and group. Move from gnus-util.el. Rename to
199 gnus-summary-user-date-format-alist.
201 2011-02-03 Glenn Morris <rgm@gnu.org>
203 * nnimap.el (gnus-fetch-headers): Declare.
205 * nnheader.el (gnus-range-add, gnus-remove-from-range): Autoload.
207 2011-02-03 Lars Ingebrigtsen <larsi@gnus.org>
209 * message.el (message-forward-make-body-digest-plain)
210 (message-followup, message-reply): Clean up things noted by Stefan.
212 * gnus-art.el (gnus-article-setup-buffer): Stop the date timer if
213 gnus-article-update-date-headers is nil.
214 (gnus-article-date-headers): Rip out the old -treat-date-* stuff, since
215 it didn't really work with defcustom.
216 (article-update-date-lapsed): Make sure the window start doesn't move,
219 2011-02-01 Julien Danjou <julien@danjou.info>
221 * mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff
224 * mm-decode.el (mm-inline-media-tests): Do not check for diff-mode it's
225 standard in Emacs nowadays.
227 * color.el (color-gradient): Add a color-gradient function.
229 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
231 * message.el (message-expand-name): Don't trust the return value of
233 (message-check-news-header-syntax): Remove unused var `start'.
234 (message-idna-to-ascii-rhs-1): Remove unused vars `rhs' and `address'.
235 (message-inhibit-body-encoding): Move to before first use.
236 (mail-abbrev-mode-regexp, Expires, User-Agent, Lines, Distribution)
237 (To, References, In-Reply-To, Newsgroups, Subject, Path, From)
238 (Organization, Message-ID, Date, mh-previous-window-config):
239 Defvar the vars using dynamic scoping.
241 2011-02-01 Lars Ingebrigtsen <larsi@gnus.org>
243 * shr.el (shr-render-td): Only do colours at the final rendering.
244 Should be slightly faster.
245 (shr-insert-table): Fix up TD background colours when doing the
248 * gnus-art.el (article-date-ut): Protect against articles with no Date
250 (article-update-date-lapsed): Don't use current-column to find the
251 horizontal position. It's fragile in the presence of \003 characters.
253 * gnus-start.el (gnus-read-active-file-1): Remove dead parameter infos.
255 2011-01-31 Lars Ingebrigtsen <larsi@gnus.org>
257 * gnus-art.el (article-transform-date): Rewrite to still work when
258 there are several rfc2822 parts.
259 (article-transform-date): Fix infinite recursion.
260 (article-date-ut): Replace infinitely many Date headers with a single
261 one when called interactively.
263 * nnimap.el (nnimap-wait-for-response): Wait for results in a more
266 * gnus-art.el (article-update-date-lapsed): Try to avoid having point
267 move around by not using save-window-excursion. It seems to work...
269 2011-01-31 Katsumi Yamaoka <yamaoka@jpl.org>
271 * gnus-art.el (article-make-date-line): Work for user-defined format.
273 2011-01-31 Lars Ingebrigtsen <larsi@gnus.org>
275 * nntp.el (nntp-retrieve-group-data-early)
276 (nntp-finish-retrieve-group-infos): Implement the asynchronous data
279 * gnus-start.el (gnus-read-active-for-groups): Read the active files
280 thoroughly for all backends that have no known groups. This should
281 allow new nnml methods to retrieve mail.
283 * gnus-group.el (gnus-group-jump-to-group): Allow jumping to groups
284 that Gnus doesn't know exists again.
286 * gnus-art.el (gnus-article-date-lapsed-new-header): Removed.
287 (gnus-treat-date-ut): Ditto.
288 (gnus-article-update-date-header): Renamed.
289 (gnus-treat-date-local): Removed.
290 (gnus-treat-date-english): Removed.
291 (gnus-treat-date-lapsed): Removed.
292 (gnus-treat-date-combined-lapsed): Removed.
293 (gnus-treat-date-original): Removed.
294 (gnus-treat-date-iso8601): Removed.
295 (gnus-treat-date-user-defined): Removed.
296 (gnus-article-date-headers): New variable to control all the date
298 (article-date-ut): Rewrite to allow using the new way to format date
301 2011-01-30 Lars Ingebrigtsen <larsi@gnus.org>
303 * nnmail.el (nnmail-article-group): Check for a direct fancy split
305 (nnmail-article-group): A better test for fanciness.
307 * nnimap.el (nnimap-request-head): Protect against not finding the
308 article by Message-ID.
310 2011-01-29 Lars Ingebrigtsen <larsi@gnus.org>
312 * gnus-art.el (article-update-date-lapsed): Try a better way to really
313 keep point at the "same place".
315 2011-01-28 Lars Ingebrigtsen <larsi@gnus.org>
317 * gnus-sum.el (gnus-select-newsgroup): Don't try to alter the active
318 data if the group is unactivated.
320 2011-01-28 Julien Danjou <julien@danjou.info>
322 * gnus-win.el: Remove dead function gnus-window-configuration-element.
323 (gnus-all-windows-visible-p): Remove old compatibility code.
324 (gnus-window-top-edge): Add docstring.
326 * gnus-group.el (gnus-group-jump-to-group): Set must match to t.
328 2011-01-28 Lars Ingebrigtsen <larsi@gnus.org>
330 * gnus-int.el (gnus-request-marks): Call *-request-marks instead of the
331 older request-update-info.
333 * gnus-art.el (article-make-date-line): Limit the length a bit more.
335 2011-01-28 Daiki Ueno <ueno@unixuser.org>
337 * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Give
338 mml2015-signers higher precedence over mml2015-sign-with-sender.
340 2011-01-27 Lars Ingebrigtsen <larsi@gnus.org>
342 * gnus-group.el (gnus-group-refresh-group): Refresh even non-visible
343 groups. This makes the nndraft:queue group pop up if it's not already
346 * gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no
347 messages" logic, which was reversed.
349 * gnus-art.el (article-update-date-lapsed): Ensure that point stays at
350 the "same place" even if point is on the line being replaced.
351 (article-update-date-lapsed): Allow updating both the combined lapsed
352 and the lapsed headers.
353 (article-update-date-lapsed): Skip past all the X-Sent/Date headers.
354 (article-make-date-line): Limit the number of segments dynamically to
355 avoid too-long lines.
357 2011-01-27 Julien Danjou <julien@danjou.info>
359 * mml2015.el (mml2015-epg-sign): Add and use mml2015-sign-with-sender.
360 (mml2015-epg-encrypt): Use mml2015-sign-with-sender.
362 2011-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
364 * shr.el (shr-expand-newlines, shr-previous-newline-padding-width):
365 Use plist-get instead of the cl function getf.
367 2011-01-27 Glenn Morris <rgm@gnu.org>
369 * gnus-util.el (float-time): Get rid of compiler warning, again.
371 2011-01-27 Lars Ingebrigtsen <larsi@gnus.org>
373 * shr.el (shr-put-color): Special-case background colours: Do put them
374 at the blank parts at the front of the lines.
376 * gnus-draft.el (gnus-draft-clear-marks): New function to be run as an
377 exit hook to nix out all data on readedness on group exit.
379 * gnus-util.el (float-time): If float-time is bound, always use it on
380 all Emacsen. It's unclear why the subrp check was there.
381 (time-date): Require to make some autoload issues on XEmacs go away.
383 * shr.el (shr-put-color): Don't do the box padding in tables, since
384 they're already padded.
386 2011-01-26 Lars Ingebrigtsen <larsi@gnus.org>
388 * gnus-art.el (gnus-article-next-page): When the last line of the
389 article is displayed, scroll down once more instead of going to the
390 next article at once.
391 (article-lapsed-string): Refactor out and allow specifying how many
393 (gnus-article-setup-buffer): Start updating the lapsed header directly.
394 (gnus-article-update-lapsed-header): New variable.
396 * shr.el: Revert change that made headings use different-sized faces.
397 The Emacs display engine isn't advanced enough that, for instance,
398 tables can comfortably use differntly-sized faces.
400 2011-01-25 Lars Ingebrigtsen <larsi@gnus.org>
402 * nnimap.el (nnimap-open-connection-1): Store the actual stream type
404 (nnimap-login): Prefer plain LOGIN if it's enabled (since it requires
405 fewer round trips than CRAM-MD5, and it's less likely to be buggy), and
406 we're using an encrypted connection.
408 * proto-stream.el: Alter the interface functions to also return the
409 actual stream type used: network or tls.
411 2011-01-25 Julien Danjou <julien@danjou.info>
413 * mm-view.el (mm-display-shell-script-inline): Fix typo in docstring.
414 (mm-display-javascript-inline): New function.
416 * mm-decode.el (mm-inline-media-tests): Add application/javascript
419 2011-01-25 Katsumi Yamaoka <yamaoka@jpl.org>
421 * shr.el (shr-expand-newlines): Fix variable name.
423 2011-01-25 Lars Ingebrigtsen <larsi@gnus.org>
425 * shr.el (shr-expand-newlines): Make nested boxes work.
427 2011-01-24 Lars Ingebrigtsen <larsi@gnus.org>
429 * shr.el (shr-expand-newlines): Proof of concept implemantation of boxy
431 (shr-expand-newlines): Switch to using overlays to enable kill'n'yank
432 in a more sensible manner.
434 2011-01-24 Teodor Zlatanov <tzz@lifelogs.com>
436 * mml-smime.el (mml-smime-use): Make it a defcustom and default to 'epg
439 2011-01-24 Julien Danjou <julien@danjou.info>
441 * shr.el: Use defface to create shr-tag-h[1-6] faces to fontify h[1-6]
444 2011-01-24 Lars Ingebrigtsen <larsi@gnus.org>
446 * gnus-art.el (gnus-article-read-summary-keys): Don't call disabled
449 * gnus-gravatar.el (gnus-gravatar-insert): Don't move point around
450 in the article buffer.
451 (gnus-gravatar-insert): Use blank space from the current buffer to
452 avoid breaking text properties. This makes X-Sent updating work again.
454 * gravatar.el (gravatar-retrieve): Be silent when retrieving.
456 2011-01-23 Lars Ingebrigtsen <larsi@gnus.org>
458 * gnus-html.el (gnus-html-image-fetched): Kill the buffer anyway, and
459 fix the bug in url-http.el instead.
461 * shr.el (shr-image-fetched): Ditto.
463 * shr.el (shr-image-fetched): Avoid having point move in the article
466 * gnus-html.el (gnus-html-image-fetched): Don't kill the temporary
467 buffer after being called. It's apparently being killed by url.el, and
468 killing it made point move to end-of-buffer in a random buffer.
470 * shr.el (shr-image-fetched): Ditto.
472 2011-01-23 Julien Danjou <julien@danjou.info>
474 * mm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
476 * mm-uu.el (mm-uu-org-src-code-block-extract): Change text/org to
479 2011-01-22 Lars Ingebrigtsen <larsi@gnus.org>
481 * gnus-sum.el (gnus-summary-move-article): Protect against backends
482 (i.e., nnimap) returning nil as the article number.
484 2011-01-22 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
486 * flow-fill.el (fill-flowed): Make `delete-space' option correspond to
487 "DelSp" parameter in RFC3676.
489 2011-01-22 Lars Ingebrigtsen <larsi@gnus.org>
491 * message.el (message-check-recipients): Display the encoded version of
492 the bogus address if they differ.
494 * gnus-draft.el (gnus-group-send-queue): Really refresh the queue group
497 * gnus-agent.el (gnus-agent-send-mail): Ditto.
499 * gnus-group.el (gnus-group-refresh-group): New convenience function.
501 * gnus-draft.el (gnus-group-send-queue): Update the queue group in the
502 group buffer after sending the queue.
504 * gnus-agent.el (gnus-agent-send-mail): Ditto.
506 2011-01-22 Julien Danjou <julien@danjou.info>
508 * mailcap.el (mailcap-mime-extensions): Rename text/org to text/x-org.
510 2011-01-22 Lars Ingebrigtsen <larsi@gnus.org>
512 * mm-decode.el (mm-preferred-alternative-precedence): Don't bug out on
513 nested related parts.
515 * nnfolder.el (nnfolder-request-expire-articles): Return the list of
516 unexpired articles. This fixes the regression that led expiry marks to
517 disappear from nnfolder groups.
519 2011-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
521 * gnus-art.el (gnus-button-alist, gnus-button-handle-info-keystrokes):
522 Don't confuse the "ret" of "retrograde" with RET.
524 2011-01-21 Julien Danjou <julien@danjou.info>
526 * gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather
527 than mm-insert-inline.
529 2011-01-21 Katsumi Yamaoka <yamaoka@jpl.org>
531 * gnus-art.el (gnus-article-remove-images, gnus-article-show-images):
532 Widen article buffer.
534 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
536 * mm-util.el (mm-find-buffer-file-coding-system): Don't forget to kill
538 * message.el (message-mailer-swallows-blank-line): Use with-temp-buffer.
540 2011-01-20 Julien Danjou <julien@danjou.info>
542 * mm-decode.el (mm-inline-media-tests): Add text/x-sh.
544 * gnus-art.el (gnus-mime-inline-part): Use mm-display-inline rather
545 than mm-insert-inline to insert inline part: this respect
546 mm-inline-media-tests displayers.
548 * mm-view.el (mm-display-shell-script-inline): New function.
550 * mm-decode.el (mm-inline-media-tests): Add x-shellscript and x-sh.
552 * mm-uu.el (mm-uu-type-alist): Add org block.
553 (mm-uu-org-src-code-block-extract): New function.
555 * mm-view.el (mm-display-org-inline): New function.
557 * mm-decode.el (mm-automatic-display): Add text/org.
559 * mailcap.el (mailcap-mime-extensions): Add .org.
561 2011-01-19 Katsumi Yamaoka <yamaoka@jpl.org>
563 * gnus-art.el (gnus-article-highlight): Remove argument passed to
564 gnus-article-add-buttons.
566 2011-01-19 Tom Rauchenwald <sehnsucht.nach.unendlichkeit@quantentunnel.de> (tiny change)
568 * spam.el (spam-spamassassin-register-with-sa-learn): Insert a full
569 From header with a date and "nobody" as the sender.
571 2011-01-19 Julien Danjou <julien@danjou.info>
573 * gnus-art.el (gnus-article-add-buttons): Simplify condition.
574 (gnus-button-push): Remove gnus-button-entry function, it fails heavily
575 if you have the same regexp several times.
576 (gnus-button-push): Fix matching when regexp is symbol.
578 2011-01-15 Glenn Morris <rgm@gnu.org>
580 * message.el (message-mail): A compose-mail function should
581 accept headers as strings.
583 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
585 * message.el (message-tool-bar-gnome): Tweak tool-bar items.
587 (message-mail): New arg RETURN-ACTION.
588 (message-return-action): New var.
589 (message-bury): Use it.
590 (message-mode): Make it buffer-local.
591 (message-send-and-exit): Always call message-bury.
593 * gnus-msg.el (gnus-msg-mail): New arg RETURN-ACTION. Pass it to
596 2011-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
598 * nnimap.el (nnimap-convert-partial-article): Protect against
599 zero-length body parts.
601 * mm-decode.el (mm-preferred-alternative-precedence):
602 Discourage showing empty parts.
604 * gnus-int.el (gnus-request-accept-article): Don't try to update marks
605 and stuff if the backend didn't return the article number. This fixes
606 an Exchange-related nnimap bug.
608 * gnus-sum.el (gnus-summary-next-article): Remove hack to reselect
609 group window, because it does the wrong thing when a separate frame
610 displays the group buffer.
612 * proto-stream.el (open-protocol-stream): Protect against the low-level
613 transport functions returning nil.
615 2011-01-07 Daiki Ueno <ueno@unixuser.org>
617 * mml2015.el (epg-sub-key-fingerprint): Autoload.
618 (mml2015-epg-find-usable-secret-key): New function.
619 (mml2015-epg-sign): Use mml2015-epg-find-usable-secret-key instead of
620 mml2015-epg-find-usable-key (Bug#7797).
621 (mml2015-epg-encrypt): Ditto.
623 2011-01-05 Katsumi Yamaoka <yamaoka@jpl.org>
625 * dgnushack.el (rot13-string): Fix the way to get the argument.
627 2011-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
629 * flow-fill.el (fill-flowed-encode): Do encoding citation-aware.
631 2011-01-03 Glenn Morris <rgm@gnu.org>
633 * sieve-manage.el (sieve-manage-open): Correctly set sieve-manage-port.
635 * sieve.el (sieve-open-server): Give a more explicit error if
636 sieve-manage-open returns nil. (Bug#7720)
638 2011-01-02 Karl Fogel <kfogel@red-bean.com>
640 * gnus-msg.el (gnus-message-replyencrypt): Default to `t'.
642 2011-01-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
644 * nnimap.el (nnimap-login): Prefer AUTH=CRAM-MD5, if it's available.
645 This avoids sending passwords in plain text over non-encrypted
648 * shr.el (shr-rescale-image): Display all GIF images as animated images.
650 * nnimap.el (nnimap-login): Refactored out into own function, and
652 (nnimap-wait-for-line): Refactored out.
654 * mm-view.el (mml-smime): Require.
656 2010-12-20 David Engster <deng@eml.cc>
658 * mm-view.el (mm-view-pkcs7-decrypt): If mml-smime-use is set to 'epg,
659 use EPG to decrypt S/MIME messages instead of openssl.
661 2011-01-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
663 * nnimap.el (nnimap-request-group): Avoid double SELECT on `M-g'.
665 * gnus-group.el (gnus-group-kill-group): Don't try to update the group
666 status is the group clearly is unreachable.
668 * auth-source.el (auth-source-create): Add the optional second
669 parameter to `local-variable-p' to be compatible with XEmacs.
671 2011-01-02 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
673 * nnml.el (nnml-request-article): Allow requesting by Message-ID to
674 work when using a compressed nnml folder.
676 2011-01-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
678 * gnus-sum.el (gnus-select-newsgroup): Don't propagate marks to
679 backends after sanitising on entry, because this never makes sense:
680 If the articles have gone missing, then the data no longer exists on
681 the backend, and if they haven't, then Gnus is wrong, and shouldn't
682 overwrite anything anyway.
684 * shr.el (shr-insert-document): Bind shr-width dynamically to
685 window-width if it's nil.
687 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
689 * shr.el (shr-width, shr-insert-document): Allow nil as shr-width value
690 with the meaning of using the full emacs window width for rendering.
692 2010-12-27 Daiki Ueno <ueno@unixuser.org>
694 * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Take care the
695 case when sender is not given.
697 2010-12-23 Julien Danjou <julien@danjou.info>
699 * gnus-gravatar.el (gnus-gravatar-transform-address): Set
700 `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting
701 the addresses, otherwise we might misplaced the gravatar.
703 2010-12-21 Daiki Ueno <ueno@unixuser.org>
705 * mml1991.el (pgg-sign-region, pgg-encrypt-region):
706 * gnus-art.el (pgg-snarf-keys-region): Autoload since PGG is now
709 2010-12-20 Julien Danjou <julien@danjou.info>
711 * gnus-util.el (gnus-rescale-image): Revert last change.
713 2010-12-17 Chong Yidong <cyd@stupidchicken.com>
715 * binhex.el: Improve commentary (Bug#7482).
717 2010-12-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
719 * gnus-group.el (gnus-group-delete-articles): New command.
721 2010-12-17 Andrew Cohen <cohen@andy.bu.edu>
723 * nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
725 2010-12-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
727 * gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change
728 here, since it's up to the backends to do CRLF removal if their
731 * nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
733 2010-12-17 Julien Danjou <julien@danjou.info>
735 * gnus-util.el (gnus-rescale-image): Allow to resize images even if
736 they are from file. Can also scale up.
738 2010-12-17 Andrew Cohen <cohen@andy.bu.edu>
740 * gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore
742 (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
744 * nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
746 2010-12-17 Julien Danjou <julien@danjou.info>
748 * gravatar.el (gravatar-retrieve-synchronously): New function.
749 (gravatar-get-data): Make more robust.
751 2010-12-16 Katsumi Yamaoka <yamaoka@jpl.org>
753 * lpath.el: Bind epa-file-encrypt-to for Emacs 22 and XEmacs.
755 2010-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
757 * nnimap.el (nnimap-wait-for-response): Fix the end-point calculation
758 to really consider the last line.
760 2010-12-16 Daiki Ueno <ueno@unixuser.org>
762 * auth-source.el (auth-source-gpg-encrypt-to): New variable to set the
763 list of recipient keys, or use symmetric encryption if not a list.
764 (auth-source-create): Use it to make `epa-file-encrypt-to' local for an
765 EPA override, replacing the call to `netrc-store-data'.
767 2010-12-16 Dan Davison <dandavison7@gmail.com> (tiny change)
769 * gnus-srvr.el: Avoid passing nil regexp argument to
770 delete-matching-lines.
772 2010-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
774 * gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML
775 fetching stops when Gnus exits.
777 * nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own
779 (nnfolder-request-expire-articles): Save all the buffers after doing
782 * nnmail.el (nnmail-expiry-target-group): Revert the "all articles are
783 the last article", since that led to serious performance regressions
784 when expiring nnml groups.
786 2010-12-16 Andrew Cohen <cohen@andy.bu.edu>
788 * nnir.el: Improve customizations.
790 2010-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
792 * gnus-start.el (gnus-subscribe-newsgroup): Notify the backend.
794 * gnus-group.el (gnus-group-kill-group): Notify the backend that the
795 group has been killed.
796 (gnus-group-yank-group): Ditto.
798 * gnus-srvr.el (gnus-browse-unsubscribe-group): Ditto.
800 * nnimap.el (nnimap-request-update-group-status): New function.
802 * gnus-int.el (gnus-request-update-group-status): New interface
805 * gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for
806 copying read-ness to the backends.
808 * nnimap.el (nnimap-quirk): New function.
809 (nnimap-retrieve-group-data-early): Use it.
810 (nnimap-quirks): New alist.
812 2010-12-16 Katsumi Yamaoka <yamaoka@jpl.org>
814 * shr.el (shr-insert): Set shr-start after deleting trailing space;
815 don't delete it within indentation.
817 2010-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
819 * nnimap.el (nnimap-wait-for-response): Always look (at least) at the
822 2010-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
824 * nnimap.el (nnimap-retrieve-group-data-early): Fix the syntax of the
825 QRESYNC command by deleting a superfluous space which broke Cyrus
826 servers. This change will break other servers that are buggy the other
829 2010-12-14 Teodor Zlatanov <tzz@lifelogs.com>
831 * spam.el: Reindent and fix long lines.
832 (spam-copy-or-move-routine): Exclude invalid move destinations.
834 2010-12-14 Andrew Cohen <cohen@andy.bu.edu>
836 * nnir.el (nnir-mode): Don't install registry hooks if user hasn't
837 installed the registry.
839 2010-12-14 Katsumi Yamaoka <yamaoka@jpl.org>
841 * dgnushack.el (rot13-string): New macro for XEmacs. netrc.el uses it.
843 2010-12-13 Andrew Cohen <cohen@andy.bu.edu>
845 * nnir.el (nnir-run-gmane): Better check for gmane groups: error out if
846 groupname doesn't contain "gmane".
848 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
850 * netrc.el (netrc-point-at-eol): Remove the unused netrc-point-at-old
851 and netrc-bound-and-true-p bindings.
852 (netrc-parse): Cache the netrc contents.
854 * gnus-start.el (gnus-matches-options-n): Fix typo in last change.
855 (gnus-1): Don't create the nndrafts group twice.
856 (gnus-setup-news): There's no need to read the active file here, since
857 that's done again later on a per-backend basis.
858 (gnus-start-draft-setup): Make sure that the new group is started out
861 * gnus-agent.el (gnus-agentize): Don't create the queue group
862 automatically on startup. It'll be created later, if needed.
864 * gnus-start.el (gnus-auto-subscribed-groups): Add nnimap to the list
865 of automatically subscribed groups.
866 (gnus-auto-subscribed-categories): New variable.
867 (gnus-matches-options-n): Use it.
868 (gnus-default-subscribed-newsgroups): Remove unused variable.
869 (gnus-start-draft-setup): Message a bit less.
871 2010-12-13 Andrew Cohen <cohen@andy.bu.edu>
873 * nnir.el (nnir-run-imap): Return article list in order of increasing
876 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
878 * gnus-sum.el (gnus-summary-enter-digest-group):
879 Mention gnus-auto-select-on-ephemeral-exit.
881 * proto-stream.el (proto-stream-open-network-only): Fix the calling
882 convention of the network-only option.
884 2010-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
886 * proto-stream.el (proto-stream-open-network-only): New function to
887 have a way to specify non-STARTTLS upgrade connections.
889 2010-12-10 Julien Danjou <julien@danjou.info>
891 * gnus-gravatar.el (gnus-gravatar-transform-address): Fix error when
892 email address is nil.
894 * message.el (message-bogus-recipient-p): Set address to "" if nil.
896 2010-12-10 Andrew Cohen <cohen@andy.bu.edu>
898 * nnir.el (nnir-request-expire-articles): Ignore expiry except for
900 (nnir-run-imap): Only need to parse list once.
902 2010-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
904 * shr.el (shr-tag-script): Ignore <script>.
905 (shr-tag-label): Add <label> support.
907 2010-12-09 Katsumi Yamaoka <yamaoka@jpl.org>
909 * mm-util.el (mm-ucs-to-char): Use eval-and-compile.
911 * shr.el (shr-image-displayer): Work for images lined side by side.
913 2010-12-08 Robert Pluim <rpluim@gmail.com>
915 * gnus-demon.el (gnus-demon-init): Call run-with-timer with an integer
916 parameter, since XEmacs doesn't accept t as a parameter.
918 2010-12-08 Andrew Cohen <cohen@andy.bu.edu>
920 * nnir.el (nnir-retrieve-headers): Use rassq when comparing article
922 (nnir-run-gmane): Simplify groupspec formatting.
923 (nnir-request-expire-articles): New function.
925 2010-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
927 * nnimap.el (nnimap-parse-flags): Tweak VANISHED regexp to avoid regexp
930 * shr.el (shr-tag-table-1): Use bg/gfcolor specs on tables.
931 (shr-render-td): Handle td style="" better.
932 (shr-tag-table): Use the color from the style sheet.
933 (shr-render-td): Make sure we copy over all the overlays, too.
935 2010-12-07 Andrew Cohen <cohen@andy.bu.edu>
937 * nnir.el (nnir-run-gmane): Restore sub-optimal test for gmane server.
938 (nnir-request-article): Improve article retrieval.
940 2010-12-07 Katsumi Yamaoka <yamaoka@jpl.org>
942 * mm-util.el (mm-extra-numeric-entities): New variable.
944 * mm-url.el (mm-url-decode-entities):
945 * mm-decode.el (mm-shr): Use it to decode extra numeric entities.
947 * lpath.el: Fbind completion-at-point for Emacs 22 and XEmacs.
949 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
951 * message.el: Use completion-at-point.
952 (message-completion-function): New fun, extracted from message-tab.
953 (message-mode): Use it for completion-at-point-functions.
954 (message-tab): Use it and completion-at-point.
956 2010-12-07 Katsumi Yamaoka <yamaoka@jpl.org>
958 * shr.el (shr-find-fill-point): Don't break a line after a kinsoku-bol
959 character if a non-breakable character follows.
961 2010-12-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
963 * proto-stream.el (proto-stream-open-tls): Return nil if we don't get
966 * shr.el (shr-tag-font): Colorize the region.
967 (shr-tag-body): Ditto.
968 (shr-tag-font): Actually let the styles be inherited instead of
970 (shr-tag-font): Get the background color right.
971 (shr-tag-style): Ignore all <style> tags for the moment.
973 * gnus-int.el (gnus-request-thread): Rework to take a header instead of
974 a Message-ID to avoid having nnimap depend on gnus-sum.
976 * shr.el (shr-descend): Only colorize something if we have a node that
979 2010-12-06 Julien Danjou <julien@danjou.info>
981 * shr.el (shr-render-td): Render td content with shr-descend, so style
982 will be applied to <td> too.
983 (shr-colorize-region): Colorize region even if we only have a background.
984 (shr-tag-body): Fix color and background color inheritance.
985 Do not recolorize after shr-generic.
986 (shr-tag-font): Let shr-generic colorize via inheritance.
988 2010-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
990 * shr.el (shr-find-fill-point): Don't regard apostrophe as kinsoku-bol.
992 2010-12-06 Andrew Cohen <cohen@andy.bu.edu>
994 * nnir.el (nnir-request-move-article): Remove obsolete code.
996 2010-12-05 Katsumi Yamaoka <yamaoka@jpl.org>
998 * gnus-util.el (gnus-macroexpand-all): Use eval-and-compile.
1000 2010-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1002 * gnus-sum.el (gnus-summary-respool-article): The completion function
1003 expects a list instead of an alist.
1005 * nntp.el (nntp-snarf-error-message): nnheader-report takes a format
1006 string as the parameter.
1008 * gnus.el (gnus-valid-select-methods): Allow nnimap to respool.
1010 * shr.el (shr-stylesheet): New dynamic variable for cascading the
1012 (shr-colorize-region): New function.
1013 (shr-insert-background-overlay): Remove.
1014 (shr-render-td): Background setting should be taken care of on a higher
1016 (shr-tag-body): Use post-hoc colorizations.
1017 (shr-tag-body): Set up a style sheet based on bgcolor/fgcolor.
1018 (shr-put-color-1): Don't overwrite old colors.
1019 (shr-colorize-region): When the background color isn't explicit, use
1022 * gnus-util.el (gnus-output-to-mail): Require nnmail before using
1025 2010-12-05 Bjørn Mork <bjorn@mork.no>
1027 * nnimap.el (nnimap-process-expiry-targets): Avoid downloading articles
1030 2010-12-05 Andrew Cohen <cohen@andy.bu.edu>
1032 * nnir.el (nnir-run-gmane): Use more careful test for gmane nntp
1035 2010-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1037 * gnus-html.el (gnus-html-put-image): Use widget instead of local maps
1040 * gnus-sum.el (gnus-summary-show-article): Reverse the meanings of `C-u
1041 C-u g' and `C-u g' so that `C-u g' does what it traditionally did.
1043 * shr.el (shr-urlify): Show the URL before the title to avoid
1046 2010-12-04 Adam Sjøgren <asjo@koldfront.dk>
1048 * shr.el (shr-urlify): Display the title in <a> tags.
1050 2010-12-04 Andrew Cohen <cohen@andy.bu.edu>
1052 * nnir.el (nnir-categorize): Replace mapcar with mapc.
1054 2010-12-03 Andrew Cohen <cohen@andy.bu.edu>
1056 * nnir.el: Rearrange code to allow macros to be autoloaded by
1058 (nnir-retrieve-headers-override-function): Make this variable
1060 (nnir-retrieve-headers): Remove obsolete subject-mangling code.
1062 * gnus-sum.el (nnir-article-group,nnir-article-rsv): Autoload macros
1065 2010-12-03 Julien Danjou <julien@danjou.info>
1067 * gnus-demon.el (gnus-demon-init): Fix time computing when time is nil.
1069 2010-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1071 * gnus-util.el (gnus-macroexpand-all): Don't modify argument;
1072 allow optional argument `environment'.
1074 2010-12-03 Glenn Morris <rgm@gnu.org>
1076 * mm-extern.el (message-goto-body): Update declaration.
1078 2010-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1080 * gnus-util.el (gnus-macroexpand-all): New function.
1082 * gnus-sum.el (gnus-summary-line-format-alist): Use gnus-macroexpand-all
1083 instead of macroexpand-all that is unavailable in XEmacs.
1085 2010-12-02 Andrew Cohen <cohen@andy.bu.edu>
1087 * nnir.el (nnir-summary-line-format): New variable.
1088 (nnir-mode): Use it.
1089 (nnir-artlist-*,nnir-aritem-*): Reimplement as macros.
1090 (nnir-article-ids): Reimplement as defsubst.
1091 (nnir-retrieve-headers): Don't mangle the subject header.
1092 (nnir-run-imap): Use 100 as RSV score.
1093 (nnir-run-find-grep): Fix for full server searching.
1094 (nnir-run-gmane): Better restriction to gmane groups.
1096 * gnus-sum.el (gnus-summary-line-format-alist): Add specs for nnir
1099 2010-12-02 Julien Danjou <julien@danjou.info>
1101 * gnus-win.el (gnus-configure-frame): Remove old compatibility code.
1103 * gnus-msg.el: Mark gnus-outgoing-message-group as obsolete.
1105 * gnus-win.el (gnus-configure-windows): Remove Gnus 3.x setting
1108 2010-12-01 Andrew Cohen <cohen@andy.bu.edu>
1110 * nnir.el: Update to handle the registry better.
1111 (autoload): Silence byte-compiler.
1112 (nnir-open-server): Add a hook for nnir groups.
1113 (nnir-request-move-article): Don't mangle the header. Better to use
1114 formating variables (which will be added in the future).
1115 (nnir-registry-action): Update the registry using the original article
1117 (nnir-mode): Install nnir-specific hooks for updating the registry.
1120 (gnus-article-original-subject,gnus-newsgroup-original-name):
1121 Remove obsolete variables.
1122 (gnus-summary-move-article): Remove use of obsolete variables.
1123 (gnus-summary-local-variables): Make move and delete hooks local to
1126 2010-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1128 * rtree.el: New file.
1130 2010-12-01 Julien Danjou <julien@danjou.info>
1132 * message.el (message-user-organization): Do not use
1133 gnus-local-organization.
1135 * gnus.el: Remove gnus-local-organization.
1137 * gnus-msg.el: Remove nastygram thing.
1139 2010-12-01 Teodor Zlatanov <tzz@lifelogs.com>
1141 * nnmaildir.el (nnmaildir-request-set-mark): Add article to add-mark
1144 2010-12-01 Katsumi Yamaoka <yamaoka@jpl.org>
1146 * gnus-gravatar.el (gnus-gravatar-insert): Allow LWSP in the middle of
1149 * shr.el (shr-find-fill-point): Don't break line between kinsoku-bol
1152 * gnus-gravatar.el (gnus-gravatar-insert): Delete unnecessary binding
1153 to t of inhibit-read-only since it is inside gnus-with-article-headers.
1154 Suggested by Štěpán Němec <stepnem@gmail.com>.
1155 (gnus-gravatar-transform-address): Use mail-extract-address-components
1156 that supports non-ASCII names rather than mail-header-parse-addresses.
1158 2010-11-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1160 * proto-stream.el (open-protocol-stream): All starttls connections are
1161 handled by the network handler.
1163 2010-11-30 Julien Danjou <julien@danjou.info>
1165 * nnimap.el (nnimap-open-connection-1): Use gnus-string-match-p.
1166 (nnimap-open-connection-1): Fix PREAUTH.
1168 * gnus-gravatar.el (gnus-gravatar-size): Set gnus-gravatar-size to nil.
1170 2010-11-30 Katsumi Yamaoka <yamaoka@jpl.org>
1172 * shr.el (shr-char-breakable-p, shr-char-nospace-p)
1173 (shr-char-kinsoku-bol-p, shr-char-kinsoku-eol-p): New macros.
1174 (shr-insert): Use them.
1175 (shr-find-fill-point): Work better for kinsoku chars and apostrophes.
1177 2010-11-29 Andrew Cohen <cohen@andy.bu.edu>
1179 * nnir.el (nnir-request-move-article): Bail out if original group
1180 doesn't support article moves.
1181 (nnir-get-active): Improve active list retrieval.
1183 2010-11-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1185 * shr.el (shr-find-fill-point): Don't break before apostrophes.
1187 2010-11-29 Binjo <binjo.cn@gmail.com> (tiny change)
1189 * nnimap.el (nnimap-open-connection-1): w32 open-network-stream doesn't
1190 seem to accept strings-with-numbers as port numbers,
1192 2010-11-29 Andrew Cohen <cohen@andy.bu.edu>
1194 * gnus-sum.el (gnus-summary-delete-article): If delete fails don't
1195 change the registry.
1197 2010-11-29 Katsumi Yamaoka <yamaoka@jpl.org>
1199 * nnir.el (nnir-run-gmane): Use mm-delete-duplicates instead of
1200 delete-dups that is not available in XEmacs 21.4.
1202 * mm-util.el (mm-delete-duplicates): Add comment.
1204 2010-11-28 Andrew Cohen <cohen@andy.bu.edu>
1206 * nnir.el (nnir-ignored-newsgroups): New variable.
1207 (nnir-get-active): Use it.
1209 2010-11-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
1211 * proto-stream.el (proto-stream-open-network): Add some comments.
1213 * nntp.el (nntp-open-connection): Provide a :success condition.
1215 * nnimap.el (nnimap-open-connection-1): Ditto.
1217 * proto-stream.el (proto-stream-open-network): See what the response to
1218 the STARTTLS command is.
1220 * nnimap.el (nnimap-open-connection-1): Always upgrade to STARTTLS (for
1221 backwards compatibility).
1222 (nnimap-open-connection-1): Really respect nnimap-server-port.
1224 * proto-stream.el (proto-stream-open-network): When doing opportunistic
1225 TLS upgrades we don't really care about the identity of the peer.
1226 (proto-stream-open-network): Force starttls.el to use gnutls-cli, since
1227 that what we've checked for.
1228 (proto-stream-always-use-starttls): Only default to t if
1229 open-gnutls-stream exists.
1230 (proto-stream-open-network): If STARTTLS failed, then just open a
1232 (proto-stream-open-network): Wait until the greeting before doing
1235 * nntp.el (nntp-open-connection): Report what the connection error is.
1237 * proto-stream.el (open-protocol-stream): Rename from
1240 2010-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1242 * nnimap.el (nnimap-stream): Change default to `undecided'.
1243 (nnimap-open-connection): If `nnimap-stream' is `undecided', try ssl
1244 first, and then network.
1245 (nnimap-open-connection-1): Respect nnimap-server-port.
1246 (nnimap-open-connection): Be more backwards-compatible.
1248 * proto-stream.el (proto-stream-always-use-starttls): New variable.
1249 (proto-stream-open-starttls): De-duplicate the starttls code.
1250 (proto-stream-open-starttls): Folded back into the main function.
1251 (proto-stream-open-network): Fix typo in the gnutls path.
1252 (proto-stream-command): Refactor out.
1254 * nntp.el (nntp-open-connection): Fix the STARTTLS command syntax.
1256 * proto-stream.el (proto-stream-open-starttls): Actually implement the
1257 starttls.el STARTTLS.
1259 * color.el (color-lab->srgb): Fix function call name.
1261 * proto-stream.el (proto-stream-open-tls): Delete output from openssl
1262 if we're using tls.el.
1263 (proto-stream-open-network): If we don't have gnutls-cli or gnutls
1264 built in, then don't try to establish a STARTTLS connection.
1266 * nntp.el (nntp-open-connection): Switch on STARTTLS on supported
1269 * proto-stream.el (open-proto-stream): Use network, not stream.
1270 (open-proto-stream): Add a way to specify what the end of a command is.
1272 * nntp.el (nntp-open-connection): Use proto-streams for the relevant
1274 (nntp-open-network-stream): Remove.
1275 (nntp-open-ssl-stream): Remove.
1276 (nntp-open-tls-stream): Remove.
1277 (nntp-ssl-program): Remove.
1279 * nnimap.el (nnimap-open-connection): Check for "OK" from the greeting.
1281 2010-11-27 Andrew Cohen <cohen@andy.bu.edu>
1283 * nnir.el: Fix typos.
1284 (nnir-retrieve-headers-override-function): Rename variable to reflect
1286 (nnir-article-group, nnir-article-number, nnir-article-rsv): New helper
1288 (nnir-request-article, nnir-request-move-article): Use them.
1289 (nnir-categorize): New function.
1290 (nnir-run-query): Use it.
1291 (nnir-retrieve-headers): Rewrite to batch header retrieval.
1292 (nnir-run-gmane): nnir-retrieve-headers now returns the headers already
1294 (nnir-group-full-name): Use gnus-group-full-name instead.
1295 (nnir-artlist-artitem-group, nnir-artlist-artitem-number)
1296 (nnir-artlist-artitem-rsv, nnir-sort-groups-by-server): Obsolete.
1298 2010-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1300 * nnimap.el (nnimap-open-connection): Fix typo in STARTTLS command.
1302 * proto-stream.el: New library to provide protocol-specific
1303 TLS/STARTTLS connections for IMAP, NNTP, SMTP, POP3 and similar
1305 (open-proto-stream): Complete the documentation.
1306 (proto-stream-open-network): Fix some typos.
1308 * nnimap.el (nnimap-open-connection): Use it.
1310 2010-11-27 Yuri Karaban <tech@askold.net> (tiny change)
1312 * pop3.el (pop3-open-server): Read server greeting before starting TLS
1315 2010-11-26 Julien Danjou <julien@danjou.info>
1317 * color.el: Rename various rgb functions to srgb.
1319 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1321 * nnimap.el (nnimap-get-groups): Allow non-quoted strings as mailbox
1324 2010-11-26 Katsumi Yamaoka <yamaoka@jpl.org>
1326 * shr.el (shr-insert): Revert last change.
1327 (shr-find-fill-point): Never leave point being at bol;
1328 relax the kinsoku limitation when rendering tables.
1330 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1332 * nnmail.el (nnmail-expiry-target-group): Protect against degenerate
1333 results from -accept-article.
1335 * shr-color.el: Require cl when compiling.
1337 * nnheader.el (nnheader-update-marks-actions): Fix typo in last
1340 * gnus-art.el (gnus-url-mailto): Unfold URLs before using them.
1342 * nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
1344 * gnus-sum.el (gnus-summary-push-marks-to-backend): Use 'set instead of
1345 'add and 'delete to set backend marks.
1347 * nnmaildir.el (nnmaildir-request-set-mark): Be explicit about 'set.
1349 * nnheader.el (nnheader-update-marks-actions): Refactor out.
1351 * nntp.el (nntp-request-set-mark): Use it.
1353 * nnfolder.el (nnfolder-request-set-mark): Ditto.
1355 * nnml.el (nnml-request-set-mark): Ditto.
1357 * nnimap.el (nnimap-last-response-string): Remove the unfolding -- it
1358 introduces regressions in article selection.
1359 (nnimap-find-uid-response): New function.
1360 (nnimap-request-accept-article): Use the UID returned, if any.
1361 (nnimap-request-move-article): Use the UID returned, if any.
1362 (nnimap-get-groups): Reimplement to work with folded lines.
1363 (nnimap-find-uid-response): The UID is the last element in the list.
1364 (nnimap-request-set-mark): Extend syntax with 'set.
1366 * nnml.el (nnml-request-set-mark): Ditto.
1368 * nnfolder.el (nnfolder-request-set-mark): Ditto.
1370 * nntp.el (nntp-request-set-mark): Ditto.
1372 2010-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
1374 * message.el (message-called-interactively-p): A temporary macro.
1375 (message-goto-body): Use it temporarily.
1377 2010-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1379 * nnimap.el (nnimap-unfold-quoted-lines): Refactor out.
1380 (nnimap-last-response-string): Unfold quoted lines, if they exist.
1381 (nnimap-last-response-string): Fix last unfolding fix.
1383 2010-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
1385 * shr.el (shr-insert): Fix the way to fold lines.
1387 2010-11-25 Julien Danjou <julien@danjou.info>
1389 * shr-color.el (shr-color->hexadecimal): Use color-rgb->hex
1391 * color.el: Rename from color-lab.el
1392 (color-rgb->hex): Add.
1393 (color-complement): Add.
1394 (color-complement-hex): Add.
1396 * gnus-sum.el (gnus-summary-widget-forward): Add, and bind to [tab].
1398 2010-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1400 * shr-color.el (shr-color-visible): Don't bug out if the colour names
1403 2010-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
1405 * mml.el (mml-preview): Make sure to bind gnus-displaying-mime to nil,
1406 assuming that article displaying or another mml-preview may be
1407 interrupted for an error or for the like.
1409 * shr.el (shr-get-background): Fix argument name.
1411 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1413 * gnus-cache.el (gnus-summary-insert-cached-articles): Use it.
1415 * gnus-sum.el (gnus-summary-include-articles): New function.
1417 * message.el (message-goto-body): called-interactively-p needs a
1418 parameter, so use `any'.
1420 * nnimap.el (nnimap-request-move-article): It's no longer necessary to
1421 clear marks before moving, since they're synced from the Gnus side
1424 * gnus-sum.el (gnus-summary-push-marks-to-backend): New function.
1425 (gnus-summary-move-article): Copy over all marks before moving, so that
1426 IMAP doesn't think a new article has arrived.
1428 2010-11-24 Julien Danjou <julien@danjou.info>
1430 * shr.el (shr-insert-background-overlay): Fix typo.
1431 (shr-render-td): Copy the background before rendering.
1433 * shr-color.el (shr-color-visible): Fix docstring.
1435 * shr.el (shr-tag-table): Add bgcolor support.
1436 (shr-render-td): Add bgcolor support.
1437 (shr-get-background): Add.
1438 (shr-insert-foreground-overlay): Use shr-get-background.
1440 * message.el (message-goto-body): Use called-interactively-p.
1441 (message-in-body-p): message-goto-body returns point.
1443 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1445 * mm-util.el (mm-enable-multibyte): Use `to' instead of t. This fixes
1446 Fixes something or other in Emacs 23, and is backwards compatible.
1448 * message.el (message-goto-body): Remove the <#secure special-casing,
1449 which is too special.
1451 * shr.el (shr-parse-style): Drop !important from styles.
1453 2010-11-24 Daniel Schoepe <daniel.schoepe@googlemail.com> (tiny change)
1455 * gnus-sum.el (gnus-summary-articles-in-thread): Fix a bug that causes
1456 this function to return incorrect results when calling it with an
1457 explicit article argument different from
1458 (gnus-summary-article-number).
1460 2010-11-24 Julien Danjou <julien@danjou.info>
1462 * shr.el (shr-insert-color-overlay): Replace deprecated syntax.
1463 (shr-tag-body): Add background support.
1464 (shr-descend): Add background support.
1465 (shr-tag-title): Add.
1467 * shr-color.el (shr-color-visible): Really return original background
1470 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1472 * shr.el (shr-color-check): Protect against non-existant colour names.
1474 2010-11-24 Julien Danjou <julien@danjou.info>
1476 * color-lab.el: Require 'cl when compiling.
1478 * shr.el (shr-insert-color-overlay): Remove specific rgb() check.
1480 * shr-color.el (shr-color->hexadecimal): Only return the hexadecimal
1483 * color-lab.el: Fix all expt calls to use float type.
1485 2010-11-24 Katsumi Yamaoka <yamaoka@jpl.org>
1487 * shr.el (shr-insert-color-overlay): Pass rgb(rrr, ggg, bbb) type color
1488 expression to shr-color-check as is.
1490 * shr-color.el (shr-color->hexadecimal): Ignore case of color names.
1492 * color-lab.el: Add coding cookie.
1493 (float-pi): Use eval-and-compile.
1495 * dgnushack.el (dgnushack-compile): Exclude shr-color.el from being
1496 compiled for Emacsen having no `libxml-parse-html-region' support.
1498 2010-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1500 * shr.el (shr-insert-color-overlay): Split stuff like
1501 "#444444 !important" to find the real colour.
1502 (shr-tag-font): Resurrect shr-tag-font again, since it's needed to
1503 parse <font color="red"> entries.
1505 2010-11-23 Andrew Cohen <cohen@andy.bu.edu>
1507 * nnheader.el (nnheader-parse-head): Bug fix. Properly position
1508 point when parsing headers.
1510 * nnspool.el (nnspool-insert-nov-head): Bug fix. Make sure point
1511 is positioned properly when parsing headers.
1513 2010-11-23 Julien Danjou <julien@danjou.info>
1515 * color-lab.el (boundp): Bind float-pi for Emacs < 23.3.
1517 * shr-color.el (shr-color->hexadecimal): Add support for color names.
1519 * shr.el (shr-parse-style): Replace \n with space in style parsing.
1521 * shr-color.el (shr-color-hsl-to-rgb-fractions):
1522 Use shr-color-hue-to-rgb.
1523 (shr-color->hexadecimal): Call shr-color-hsl-to-rgb-fractions.
1525 2010-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1527 * shr.el (shr-color->hexadecimal): Autoload.
1528 (shr-descend): Add color to all tags.
1530 2010-11-22 Julien Danjou <julien@danjou.info>
1532 * shr.el (shr-tag-color-check): Convert colors to hexadecimal with
1533 shr-color->hexadecimal.
1535 * shr-color.el (shr-color->hexadecimal): Add converting functions for
1536 RGB() or HSL() color representation.
1538 * shr.el (shr-tag-font): Add.
1539 (shr-tag-color-check): New function to get better colors.
1540 (shr-tag-insert-color-overlay): Factorize code between tag-font and
1543 * shr-color.el: New file.
1545 * color-lab.el: New file.
1547 * gnus-art.el (gnus-url-mailto): Do not downcase args.
1549 2010-11-21 Andrew Cohen <cohen@andy.bu.edu>
1551 * nnir.el: Fix typo in comments.
1552 (nnir-run-imap): Simplify code. No need to reverse artlist.
1553 (nnir-run-gmane): Use nnir-tmp-buffer for web results.
1555 2010-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1557 * gnus-srvr.el (gnus-server-show-server): New command and keystroke.
1559 * nnimap.el (nnimap-get-capabilities): Refactor out.
1560 (nnimap-open-connection): Re-request capabilities after STARTTLS.
1562 2010-11-21 Ralf Angeli <angeli@caeruleus.net>
1564 * mm-uu.el (mm-uu-type-alist): Prevent spurious empty line from
1565 appearing when `mm-uu-hide-markers' is nil.
1567 2010-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1569 * nnimap.el (nnimap-unselect-group): Make into its own function.
1570 (nnimap-request-rename-group): Unselect group before renaming.
1571 This had gotten lost somewhere.
1572 (nnimap-request-accept-article): Keep track of examined groups, and
1573 unselect the group before APPENDing to read-only groups.
1574 (nnimap-request-move-article): Clear flags before moving so that they
1575 can be re-set later.
1577 2010-11-20 Katsumi Yamaoka <yamaoka@jpl.org>
1579 * gnus-gravatar.el (gnus-gravatar-transform-address): Decode name again.
1580 (gnus-gravatar-insert): Put avatar always in the beginning of the field.
1582 2010-11-19 Katsumi Yamaoka <yamaoka@jpl.org>
1584 * gnus-art.el (gnus-mime-display-single)
1585 * gnus-html.el (gnus-html-wash-images, gnus-html-prefetch-images)
1586 * mm-decode.el (mm-shr): Assume that gnus-inhibit-images may be a group
1589 2010-11-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1591 * shr.el (shr-table-horizontal-line): Rename from shr-table-line.
1592 (shr-table-vertical-line): New variable.
1593 (shr-insert-table): Use it.
1595 2010-11-18 Katsumi Yamaoka <yamaoka@jpl.org>
1597 * gnus-html.el (gnus-html-wash-images): Don't display images if
1598 gnus-inhibit-images is non-nil; register displayer for cid images.
1599 (gnus-html-display-image): Work for cid image.
1600 (gnus-html-insert-image): Allow arguments.
1601 (gnus-html-put-image): Inhibit read-only.
1602 (gnus-html-prefetch-images): Don't prefetch images if
1603 gnus-inhibit-images is non-nil.
1605 2010-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1607 * shr.el (shr-put-image): Break lines when inserting big pictures.
1609 2010-11-17 Daniel Dehennin <daniel.dehennin@baby-gnu.org>
1611 * mml2015.el (mml2015-epg-encrypt): Fix two cons with missing
1612 sender, thanks Katsumi Yamaoka.
1614 2010-11-17 Andrew Cohen <cohen@andy.bu.edu>
1616 * nnir.el (nnir-run-imap): Reverse the article list for each group
1617 rather than the whole list.
1619 2010-11-17 Katsumi Yamaoka <yamaoka@jpl.org>
1621 * shr.el (shr-image-displayer): Protect function against non-existent
1624 * gnus-art.el (gnus-inhibit-images): New user option.
1625 (gnus-mime-display-single): Don't display image if it is non-nil.
1627 * mm-decode.el (mm-shr): Bind shr-inhibit-images to the value of
1628 gnus-inhibit-images.
1630 * shr.el (shr-image-displayer): New function.
1631 (shr-tag-img): Use it.
1633 2010-11-16 Daniel Dehennin <daniel.dehennin@baby-gnu.org>
1635 * mml2015.el (mml2015-epg-sign): Use From header.
1637 2010-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1639 * gnus-html.el (gnus-html-wash-images): Register a displayer.
1641 * gnus-util.el (gnus-find-text-property-region): Return markers.
1643 * shr.el (shr-tag-img): Put a displayer in the text property.
1645 * gnus-util.el (gnus-find-text-property-region): New utility function.
1647 * gnus-html.el (gnus-html-display-image): Make the alt optional.
1648 (gnus-html-show-images): Remove.
1650 * gnus-art.el (gnus-article-show-images): New, more general function.
1652 * gnus-html.el: Use image-url instead of gnus-image-url to unify the
1653 image url text properties.
1657 * gnus-agent.el (gnus-agentize): Only do the auto-agentizing if
1658 gnus-agent-auto-agentize-methods is set. Which it isn't.
1660 2010-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1662 * gnus-sum.el (gnus-summary-move-article): Fix `while' loop to make it
1663 work for two or more articles.
1665 2010-11-12 Katsumi Yamaoka <yamaoka@jpl.org>
1667 * gnus-art.el (article-treat-non-ascii): Keep text properties not to
1668 divide an image that's in an html article to two or more when washing
1669 non-ASCII characters in alt text of it.
1671 2010-11-11 Katsumi Yamaoka <yamaoka@jpl.org>
1673 * mm-decode.el (mm-dissect-buffer): Pass sender's mail address to
1674 smime-decrypt-region using function argument.
1675 (mm-possibly-verify-or-decrypt, mm-dissect-multipart): Relay it.
1677 * mm-view.el (mm-view-pkcs7, mm-view-pkcs7-decrypt): Relay it.
1679 * smime.el (smime-decrypt-region): Catch it.
1681 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1683 * smime.el (smime-mode-map): Move initialization into declaration.
1684 (gnus-run-mode-hooks): Don't autoload.
1685 (smime-mode): Use define-derived-mode.
1687 2010-11-11 Glenn Morris <rgm@gnu.org>
1689 * smime.el (from): Restrict declaration to XEmacs.
1691 * nnir.el (gnus-group-topic-name): Autoload.
1693 2010-11-11 Katsumi Yamaoka <yamaoka@jpl.org>
1695 * shr.el (shr-insert): Don't break long line if it is because of
1696 kinsoku-bol characters in the line end.
1698 2010-11-11 Andrew Cohen <cohen@andy.bu.edu>
1700 * nnir.el (nnir-request-move-article): Fix to provide original group
1702 (nnir-warp-to-article): Don't fail on articles whose headers haven't
1705 * gnus-sum.el (gnus-summary-move-article): Use original group and
1706 subject for virtual articles such as those in an nnir summary buffer.
1708 2010-11-11 Katsumi Yamaoka <yamaoka@jpl.org>
1710 * gnus-art.el (article-treat-non-ascii): Make it work for XEmacs (at
1713 * smime.el (from): Declare it again for XEmacs.
1715 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1717 * message.el (message-resend): Don't disable encoding unless it's
1720 * nnimap.el (nnimap-update-info): Fix problem with `g' chopping of
1721 low-numbered articles.
1723 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1725 * rfc2047.el (rfc2047-syntax-table): Simplify.
1727 * lpath.el: Fbind set-char-table-range for XEmacs 21.4 and SXEmacs 22.1.
1729 * gnus-art.el (article-treat-non-ascii): Use put-char-table instead of
1730 set-char-table-range for XEmacs.
1732 2010-11-10 Glenn Morris <rgm@gnu.org>
1734 * time-date.el (time-to-seconds): Always an alias on Emacs,
1735 never a real function.
1736 (with-no-warnings): Remove compat stub, now unused.
1737 (time-less-p): Doc fix.
1738 (time-to-number-of-days): Simplify.
1740 * smime.el (from): Remove unused declaration.
1742 * gnus-util.el (with-no-warnings): Remove compat stub, now unused.
1743 (gnus-float-time): On Emacs, always an alias.
1745 * ecomplete.el (with-no-warnings): Remove compat stub, now unused.
1746 (ecomplete-add-item): Use float-time on Emacs, else gnus-float-time.
1748 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1750 * dgnushack.el: Don't use ignore-errors in the top level form since it
1751 is unavailable in XEmacs even if cl is loaded.
1753 * gnus-art.el (org-entities): Declare it to silence the byte compiler.
1755 2010-11-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
1757 * shr.el (browse-url-mailto): Autoload.
1759 * gnus-art.el (article-treat-non-ascii): New command and keystroke.
1761 * message.el (message-subject-trailing-was-ask-regexp): A ] in a []
1762 regexp doesn't need quoting.
1764 2010-11-09 Sven Joachim <svenjoac@gmx.de>
1766 * message.el (message-subject-trailing-was-ask-regexp)
1767 (message-subject-trailing-was-regexp): Match was: in addition to was.
1769 2010-11-09 Glenn Morris <rgm@gnu.org>
1771 * nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
1772 (nnbabyl-check-mbox): Use point-at-bol.
1774 2010-11-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1776 * shr.el (shr-browse-url): Call browse-url-mailto for mailto: links.
1778 * message.el (message-mailto): New function.
1779 (message-mailto): Should accept other parameters.
1780 (message-mailto): Remove since it duplicates browse-url-mailto
1783 2010-11-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1785 * gnus-start.el (gnus-get-unread-articles): Ignore totally non-existent
1787 (gnus-read-active-file): Ditto.
1789 * gnus-group.el (gnus-group-read-ephemeral-group): Remove superfluous
1790 ": " from the prompt.
1791 (gnus-group-make-group): Ditto.
1793 2010-11-07 Glenn Morris <rgm@gnu.org>
1795 * gnus-bookmark.el (gnus-bookmark-bmenu-show-infos)
1796 (gnus-bookmark-kill-line): Use point-at-eol.
1798 2010-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
1800 * gnus-gravatar.el (gnus-gravatar-transform-address): No need to skip
1801 asterisks in From header.
1803 2010-11-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1805 * gnus-ems.el (gnus-put-image): Use a blank text as the insertion
1806 string to avoid making the From headers syntactically invalid.
1808 * message.el (message-send-mail): Don't insert courtesy messages if the
1809 message already has List-Post and List-ID messages.
1811 2010-11-06 Glenn Morris <rgm@gnu.org>
1813 * gnus-art.el (gnus-treat-article): Give dynamic local variables
1814 `condition', `type', `length' a prefix.
1815 (gnus-treat-predicate): Update for above name changes.
1817 2010-11-06 Andrew Cohen <cohen@andy.bu.edu>
1819 * nnir.el (gnus-summary-nnir-goto-thread): Remove function and
1820 binding. Handled by `gnus-summary-refer-thread' instead.
1821 (nnir-warp-to-article): New backend function.
1823 * nnimap.el (nnimap-request-thread): Force dependency updating.
1825 * gnus-sum.el (gnus-fetch-headers): Allow more arguments.
1826 (gnus-summary-refer-thread): Rework to improve thread-referral.
1828 * gnus-int.el (gnus-warp-to-article): New function.
1830 * gnus-sum.el (gnus-summary-article-map): Bind it.
1832 2010-11-04 Andrew Cohen <cohen@andy.bu.edu>
1834 * nnir.el (gnus-summary-nnir-goto-thread): Limit work done by
1835 gnus-summary-refer-thread.
1837 * gnus-sum.el (gnus-build-all-threads): Force updating of dependency
1839 (gnus-summary-limit-include-thread): Prevent articles in thread from
1840 being cut in gnus-cut-threads.
1841 (gnus-summary-refer-thread): Limit retrieved headers to those in
1844 2010-11-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1846 * message.el (message-send-mail): Use the value of
1847 message-courtesy-message from the message buffer.
1849 * gnus-html.el (gnus-html-browse-url): Implement mailto: URLs.
1851 * shr.el (shr-browse-url): Implement mailto: URLs.
1853 * gnus-sum.el (gnus-summary-show-article): Take `t' as the arg to mean
1856 * nnimap.el (nnimap-find-article-by-message-id): Don't EXAMINE a group
1857 if it's already selected.
1859 * mm-decode.el (mm-save-part): Put the entire path in the `M-n' slot.
1861 2010-11-04 Katsumi Yamaoka <yamaoka@jpl.org>
1863 * shr.el (shr-tag-img): Use string-width and truncate-string-to-width
1864 to measure the length and truncate alt text.
1866 2010-11-03 Glenn Morris <rgm@gnu.org>
1868 * nndiary.el (nndiary-generate-nov-databases-1)
1869 (nndiary-generate-active-info): Rename dynamic variable `files' to
1870 something less generic.
1872 2010-11-03 Andrew Cohen <cohen@andy.bu.edu>
1874 * nnir.el (nnir-request-move-article): Call the underlying backend to
1875 move articles from nnir.
1877 2010-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1879 * gnus-cite.el (gnus-article-natural-long-line-p): Remove.
1881 2010-11-02 Julien Danjou <julien@danjou.info>
1883 * nnir.el: Remove wais support.
1885 2010-11-02 Glenn Morris <rgm@gnu.org>
1887 * gnus-html.el: Reorder requirements to quieten compiler.
1889 2010-11-02 Katsumi Yamaoka <yamaoka@jpl.org>
1891 * gnus-cite.el (gnus-article-fill-cited-article): Make fill work
1892 properly for XEmacs as well.
1893 (gnus-article-fill-cited-article, gnus-article-foldable-buffer)
1894 (gnus-article-natural-long-line-p): Use window-width rather than
1897 2010-11-01 Andrew Cohen <cohen@andy.bu.edu>
1899 * nnir.el (nnir-run-gmane): Inhibit demon. Return nil if no messages.
1900 (nnir-read-parms): Don't modify query.
1901 (nnir-run-query): Add ability to search topic on current line.
1902 (nnir-get-active): Clean up.
1904 2010-11-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1906 * gnus-cite.el (gnus-article-foldable-buffer): Protect against
1907 degenerate articles.
1909 * gnus-sum.el (gnus-print-buffer): Rewrite to use with-temp-buffer.
1910 (gnus-print-buffer): Just print the buffer as is, without any copying
1911 to a buffer and then re-highlighting.
1913 * nnimap.el (nnimap-request-group): Store the new updated info.
1914 (nnimap-request-group): Select the group when we don't know whether it
1917 * gnus-start.el (gnus-ask-server-for-new-groups): Return the new
1920 * gnus-group.el (gnus-group-find-new-groups): Display all the new
1923 * gnus-start.el (gnus-find-new-newsgroups): Return the list of new
1926 * gnus-cite.el (gnus-article-fill-cited-article): Minimize the
1927 long-lines case by only filling the long lines.
1929 * nnimap.el (nnimap-parse-line): Don't bug out oddly formed replies
1932 2010-11-01 Katsumi Yamaoka <yamaoka@jpl.org>
1934 * shr.el: No need to declare `declare-function' since shr.el is for
1935 only Emacsen that provide `libxml-parse-html-region'.
1937 * dgnushack.el: Remove `(defvar iswitchb-temp-buflist)', that is
1938 effective only in a file it is referred to.
1940 2010-11-01 Glenn Morris <rgm@gnu.org>
1942 * mm-util.el (gnus-completing-read): Autoload.
1943 (mm-read-coding-system): Simplify Emacs definition.
1945 * nnmail.el (gnus-activate-group):
1946 * nnimap.el (gnutls-negotiate):
1947 * nntp.el (netrc-parse): Fix declarations.
1949 2010-11-01 Katsumi Yamaoka <yamaoka@jpl.org>
1951 * gnus-util.el (gnus-string-match-p): New function, that is an alias to
1952 string-match-p in Emacs >=23.
1954 * gnus-msg.el (gnus-configure-posting-styles)
1955 * nnir.el (nnir-run-gmane): Use gnus-string-match-p.
1957 2010-11-01 Glenn Morris <rgm@gnu.org>
1959 * nnir.el (declare-function): Add compat stub.
1960 (mm-url-insert, mm-url-encode-www-form-urlencoded): Declare.
1961 (nnir-run-gmane): Require 'mm-url.
1963 * mm-util.el (mm-string-to-multibyte): Simplify.
1965 * shr.el (declare-function): Add compat stub.
1966 (url-cache-create-filename): Declare.
1967 (mm-disable-multibyte, widget-convert-button): Autoload.
1969 * smime.el (ldap-search): Declare.
1970 (smime-cert-by-ldap-1): Require ldap on Emacs.
1972 * nnimap.el: Require nnmail, and gnus-sum when compiling.
1973 (nnimap-keepalive): Use gnus-float-time.
1975 * mail-source.el (nnheader-message, gnus-float-time): Autoload.
1976 (mail-source-delete-crash-box): Use gnus-float-time.
1978 * gnus-dired.el (gnus-completing-read): Autoload.
1980 * mm-view.el (gnus-rescale-image): Autoload.
1982 * mm-decode.el (gnus-completing-read, gnus-blocked-images): Autoload.
1984 * gnus.el (gnus-sloppily-equal-method-parameters): Move defn before use.
1986 * sieve-manage.el: Require 'cl when compiling.
1988 * gnus-util.el (iswitchb-read-buffer): Declare rather than autoload.
1989 (gnus-iswitchb-completing-read): Require iswitchb.
1990 (gnus-select-frame-set-input-focus): Silence compiler.
1992 2010-10-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
1994 * message.el (message-subject-trailing-was-query): Change default to t,
1995 since I think that's what most people want.
1997 * nnimap.el (nnimap-request-accept-article): Erase buffer before
1998 appending for easier debugging.
1999 (nnimap-wait-for-connection): Take a regexp.
2000 (nnimap-request-accept-article): Wait for the continuation line before
2001 sending anything unless we're streaming.
2003 * gnus-art.el (gnus-treat-article): Only inhibit body washing, and
2004 leave the header washing to take place.
2006 2010-10-31 Daniel Dehennin <daniel.dehennin@baby-gnu.org>
2008 * gnus-msg.el (gnus-configure-posting-styles): Permit the use of
2009 regular expression match and replace in posting styles.
2011 2010-10-31 Andrew Cohen <cohen@andy.bu.edu>
2013 * nnir.el (gnus-group-make-nnir-group,nnir-run-query): Allow searching
2015 (nnir-get-active): New function.
2016 (nnir-run-imap): Use it.
2017 (nnir-run-gmane): Who knew, gmane search returns an article score!
2019 * gnus-srvr.el (gnus-server-mode-map): Add binding "G" to search the
2020 server on the current line with nnir.
2022 2010-10-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
2024 * gnus-cite.el (gnus-article-foldable-buffer): Refactor out.
2025 (gnus-article-foldable-buffer): Don't fold regions that have a ragged
2027 (gnus-article-foldable-buffer): Skip past the prefix when determining
2030 * gnus-sum.el (gnus-summary-show-article): Add `C-u C-u g' for showing
2031 the raw article, and change `C-u g' to show the article without doing
2034 * gnus-art.el (gnus-mime-display-alternative): Actually pass the type
2035 on to `gnus-treat-article'.
2036 (gnus-inhibit-article-treatments): New variable.
2038 * gnus.el: Autoload gnus-article-fill-cited-long-lines.
2040 * gnus-art.el (gnus-treatment-function-alist): Have
2041 gnus-treat-fill-long-lines point to gnus-article-fill-cited-long-lines.
2042 (gnus-treat-fill-long-lines): Change default to fill all text/plain
2045 * gnus-cite.el (gnus-article-fill-cited-article): Remove unused `force'
2047 (gnus-article-fill-cited-long-lines): New function.
2048 (gnus-article-fill-cited-article): Allow filling only long sections.
2050 * shr.el (shr-find-fill-point): Don't break lines between punctuation
2051 and non-punctuation (like after the apostrophe in "'We").
2053 * gnus-sum.el (gnus-summary-select-article): Make sure
2054 gnus-original-article-buffer is alive.
2056 * nndoc.el (nndoc-dissect-buffer): Reverse the order of the articles to
2057 reflect the order they're in in the digest.
2059 * gnus.el (gnus-group-startup-message): Move point to the start of the
2062 * nnimap.el (nnimap-capability): New function.
2063 (nnimap-open-connection): Only send AUTHENTICATE PLAIN if LOGINDISABLED
2066 2010-10-31 David Engster <dengste@eml.cc>
2068 * nnmairix.el (nnmairix-get-valid-servers): Return list of strings to
2069 conform with changes to gnus-completing-read.
2071 2010-10-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2073 * shr.el (shr-tag-img): Output "*" instead of "[img]".
2075 2010-10-30 Andrew Cohen <cohen@andy.bu.edu>
2077 * nnir.el: Move defvar, defcustom around to keep file organized
2078 and keep byte-compiler quiet.
2079 (nnir-read-parms): Accept search-engine as arg.
2080 (nnir-run-query): Pass search-engine as arg.
2081 (nnir-search-engine): Remove.
2083 2010-10-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2085 * shr.el (shr-generic): The text nodes should be text, not :text.
2087 * nnir.el (nnir-search-engine): Ressurect variable, since it's used
2090 2010-10-30 Andrew Cohen <cohen@andy.bu.edu>
2092 * nnir.el: General clean up. Allow searching with multiple engines.
2093 Allow separate extra-parameters for each engine.
2094 Batch queries when possible.
2095 (nnir-imap-default-search-key,nnir-method-default-engines):
2096 Add customize interface.
2097 (nnir-run-gmane): New engine.
2098 (nnir-engines): Use it. Qualify all prompts with engine name.
2099 (nnir-search-engine): Remove global variable.
2100 (nnir-run-hyrex): Restore for now.
2101 (nnir-extra-parms,nnir-search-history): New variables.
2102 (gnus-group-make-nnir-group): Use them.
2103 (nnir-group-server): Remove in favor of gnus-group-server.
2104 (nnir-request-group): Avoid searching twice.
2105 (nnir-sort-groups-by-server): New function.
2107 2010-10-30 Julien Danjou <julien@danjou.info>
2109 * gnus-group.el: Remove gnus-group-fetch-control.
2111 * gnus-start.el (gnus-find-new-newsgroups):
2112 Remove gnus-check-first-time-used.
2114 * gnus.el: Remove gnus-backup-default-subscribed-newsgroups.
2116 2010-10-30 Knut Anders Hatlen <kahatlen@gmail.com> (tiny change)
2118 * nnimap.el (nnimap-update-info): Allow 'ticked and other flags to be
2119 set on groups that don't have \* permanentflags.
2121 2010-10-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2123 * shr.el (shr-tag-span): Drop colorisation of regions since we don't
2124 control the background color.
2125 (shr-tag-img): Ignore very small web bug type images.
2126 (shr-put-image): Add help-echo alt texts to the images.
2127 (shr-tag-video): Show the video poster image.
2129 2010-10-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2131 * shr.el (shr-table-depth): New variable.
2132 (shr-tag-table-1): Only insert the images after the top-level table.
2134 * nnimap.el (nnimap-split-incoming-mail): Fix typo.
2136 * gnus-util.el (gnus-list-memq-of-list): New function.
2138 * nnimap.el (nnimap-split-incoming-mail): Note that the INBOX has been
2140 (nnimap-unsplittable-articles): New slot.
2141 (nnimap-new-articles): Use it.
2143 2010-10-29 Stephen Berman <stephen.berman@gmx.net> (tiny change)
2145 * gnus-group.el (gnus-group-get-new-news-this-group): Don't have point
2146 move to the previous line on `M-g'.
2148 2010-10-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2150 * gnus-msg.el (gnus-inews-do-gcc): Don't have the backends do the slow
2151 *-request-group, which seems unnecessary.
2153 * nnimap.el (nnimap-quote-specials): Function copied over from
2155 (nnimap-open-connection): Use AUTHENTICATE PLAIN on servers that say
2156 they support that. Suggested by Tom Regner.
2158 2010-10-29 Julien Danjou <julien@danjou.info>
2160 * gnus-sum.el (gnus-summary-delete-marked-as-read): Remove obsolete
2162 (gnus-summary-delete-marked-with): Remove obsolete defalias.
2164 * gnus.el: Remove `gnus-nntp-service' variable.
2165 (gnus-secondary-servers): Make obsolete.
2166 (gnus-nntp-server): Make obsolete.
2168 * gnus-start.el (gnus-1): Remove x-splash calls.
2170 * gnus-ems.el (gnus-x-splash): Remove.
2172 * gnus.el (gnus-group-startup-message): Simplify/update code.
2174 * gnus-xmas.el (gnus-xmas-define): Remove unused gnus-characterp
2177 * gnus-group.el (gnus-group-make-tool-bar): Check for display graphic
2178 capability before doing anything.
2179 (gnus-group-insert-group-line): Remove useless
2180 gnus-group-remove-excess-properties.
2182 2010-10-29 Katsumi Yamaoka <yamaoka@jpl.org>
2184 * gnus-art.el (gnus-article-goto-part): Work for article narrowed by ^L.
2186 2010-10-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
2188 * gnus-sum.el (gnus-summary-rescan-group): Try to restore the window
2189 config after reselecting.
2191 2010-10-28 Julien Danjou <julien@danjou.info>
2193 * shr.el (shr-put-image): Use point even if only inserting text.
2194 (shr-put-image): Save excursion when inserting alt text on non-graphic
2195 display, so the behaviour is the same when we are on a graphic display.
2197 * nnir.el (nnir-run-swish-e): Remove hyrex support.
2199 2010-10-28 Katsumi Yamaoka <yamaoka@jpl.org>
2201 * gnus-art.el (gnus-article-jump-to-part): Error on no part; fix prompt.
2202 (gnus-mime-copy-part): Check coding system, not charset.
2203 (gnus-mime-view-part-externally): Never remove part.
2204 (gnus-mime-view-part-internally): Don't remove part here.
2205 (gnus-article-part-wrapper): Make sure MIME tag is visible.
2206 (gnus-article-goto-part): Go to displayed or preferred subpart if it is
2207 multipart/alternative.
2209 * mm-decode.el (mm-display-part): Take optional arg `force'.
2211 2010-10-26 Julien Danjou <julien@danjou.info>
2213 * gnus-group.el (gnus-group-default-list-level): Add this function to
2214 compute the default list level.
2215 (gnus-group-default-list-level): Add possibility to use a function.
2217 2010-10-27 Katsumi Yamaoka <yamaoka@jpl.org>
2219 * mm-decode.el (mm-shr): Add undisplayer to MIME handle.
2221 * gnus-group.el (gnus-group-completing-read)
2222 (gnus-read-ephemeral-bug-group): Replace replace-regexp-in-string with
2223 gnus-replace-in-string.
2225 2010-10-26 Katsumi Yamaoka <yamaoka@jpl.org>
2227 * shr.el (shr-tag-div): Add.
2229 * lpath.el: Fbind current-idle-time for XEmacs 21.4 and SXEmacs 22.1.
2231 2010-10-25 Julien Danjou <julien@danjou.info>
2233 * gnus-util.el: Remove `gnus-with-local-quit'.
2235 * gnus-demon.el (gnus-demon-init): Use run-with-idle-timer function.
2237 2010-10-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2239 * gnus-sum.el (gnus-summary-select-article): Fix type error in checking
2240 the original article buffer.
2242 2010-10-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2244 * nnimap.el (nnimap-request-head): New function.
2245 (nnimap-request-move-article): Try to be slighly faster by not
2246 requesting the entire message when moving.
2247 (nnimap-transform-headers): Don't bug out on bodiless articles.
2248 (nnimap-send-command): Have no outstanding messages if the IMAP server
2249 doesn't support streaming.
2250 (nnimap-transform-headers): Fold {quoted} strings more sloppily.
2252 2010-10-24 Julien Danjou <julien@danjou.info>
2254 * message.el (message-default-headers): Fix type.
2256 2010-10-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2258 * gnus-html.el (gnus-html-prefetch-images): Decode entities before
2261 * gnus-sum.el (gnus-group-make-articles-read): Propagate marks to the
2262 backend for unknown groups. This is mainly useful for nnimap groups.
2264 * gnus-agent.el (gnus-agent-fetch-group): Don't download stuff if the
2265 group isn't covered by the agent.
2267 2010-10-22 Andrew Cohen <cohen@andy.bu.edu>
2269 * nnir.el (nnir-method-default-engines): New variable.
2270 (nnir-run-query): Use it.
2271 (nnir-group-mode-hook): Remove key binding and move to gnus-group.el.
2272 (gnus-summary-nnir-goto-thread): Change group if needed.
2274 * gnus-group.el (gnus-group-group-map): Add key binding for
2275 gnus-group-make-nnir-group.
2277 2010-10-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2279 * shr.el (shr-tag-object): Add.
2281 * gnus-sum.el (gnus-summary-select-article): Make sure we have the
2282 original article buffer live.
2283 (gnus-summary-select-article-buffer):
2284 Mention gnus-widen-article-buffer.
2286 2010-10-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2288 * shr.el (shr-tag-strong): Add.
2290 2010-10-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2292 * gnus-group.el (gnus-group-completing-read): Remove all newlines from
2293 group names. They mess up the group buffer badly.
2295 * shr.el (shr-tag-img): Don't bug out on images that don't have a SRC.
2297 * gnus-group.el (gnus-group-mark-group): Use gnus-group-position-point
2298 instead of the summary one.
2300 2010-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
2302 * mml.el (mml-preview): Work properly when editing article.
2304 * gnus-start.el (gnus-read-active-file-1): Don't add method to
2305 gnus-have-read-active-file if it's already been in.
2307 2010-10-22 Tom Tromey <tromey@redhat.com>
2309 * gnus-group.el (gnus-group-unsubscribe-group): Fix args passed to
2310 gnus-group-completing-read.
2312 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2314 * message.el (message-mode-map): Don't bind M-; to comment region, to
2315 allow the global comment-dwim to work.
2317 2010-10-21 Julien Danjou <julien@danjou.info>
2319 * message.el (message-setup-1): Allow message-default-headers to be a
2322 2010-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
2324 * shr.el (shr-tag-table): Simplify.
2326 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2328 * gnus-html.el (gnus-html-prefetch-images): Only prefetch http images
2329 to avoid trying to snarf invalid stuff.
2331 * gnus-sum.el (gnus-summary-edit-article-done): Bind free variable.
2333 * gnus.el (gnus-message-archive-group): Quote value.
2334 (gnus-message-archive-group): Mark as changed.
2336 * shr.el (shr-add-font): Don't put the font properties on the newline
2339 * message.el (message-fix-before-sending): Change options when sending
2340 non-printable characters.
2342 * gnus.el (gnus-message-archive-method): Change the default to
2343 monthly outgoing groups.
2345 * gnus-sum.el (gnus-summary-edit-article-done): Try to replace articles
2346 that have gotten new numbers.
2348 * nnimap.el (nnimap-request-replace-article): New function.
2350 2010-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
2352 * nnrss.el (nnrss-wash-html-in-text-plain-parts): Remove.
2353 (nnrss-request-article): Don't use special html washing code.
2355 2010-10-20 Katsumi Yamaoka <yamaoka@jpl.org>
2357 * shr.el (shr-tag-table): Remove useless nconc.
2359 2010-10-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2361 * gnus-art.el (article-wash-html): Simplify and remove the charset
2362 stuff. Use the normal html rendering code instead of the special html
2365 * mm-view.el (mm-text-html-renderer-alist): Add the `shr' and
2367 (mm-text-html-washer-alist): Remove.
2369 * mm-decode.el (mm-inline-text-html-renderer): Remove.
2370 (mm-inline-media-tests): Remove use.
2371 (mm-text-html-renderer): Change default to the `shr' symbol.
2373 * mm-view.el (mm-inline-text-html): Remove use.
2375 * gnus-art.el (gnus-blocked-images): New function. Allow the
2376 `gnus-blocked-images' to be a function.
2377 (gnus-article-wash-function): Remove.
2379 2010-10-20 Julien Danjou <julien@danjou.info>
2381 * spam.el (spam-list-of-processors): Mark as obsolete.
2383 * nnimap.el (nnimap-request-article): Fix BODYSTRUCTURE retrieval.
2384 (nnimap-insert-partial-structure): Fix boundary detection.
2386 2010-10-20 Andreas Seltenreich <seltenreich@gmx.de>
2388 * gnus-draft.el (gnus-draft-check-draft-articles): Don't unnecessarily
2389 run file-truename on remote files. This can be expensive and even
2390 prevent one from editing drafts if some unrelated buffer has a stale
2393 2010-10-20 Katsumi Yamaoka <yamaoka@jpl.org>
2395 * shr.el (shr-find-fill-point): Shorten line if the preceding char is
2396 kinsoku-eol regardless of shr-kinsoku-shorten.
2397 (shr-tag-table-1): Rename from shr-tag-table; make it a subroutine.
2398 (shr-tag-table): Support caption, thead, and tfoot.
2400 2010-10-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2402 * shr.el (shr-find-fill-point): Don't leave blanks at the start of some
2404 (shr-save-contents): New command and keystroke.
2406 * nndoc.el (nndoc-type-alist): Add git support.
2407 (nndoc-git-type-p): New function.
2408 (nndoc-transform-git-article): Ditto.
2409 (nndoc-transform-git-headers): Ditto.
2410 (nndoc-transform-git-headers): Generate Subject headers.
2412 * shr.el (shr-parse-style): New function.
2413 (shr-tag-span): Ditto.
2415 * nnmairix.el (nnmairix-summary-mode-hook): Move nnmairix's `$' command
2416 to `G G' to avoid collisions.
2418 2010-10-19 Katsumi Yamaoka <yamaoka@jpl.org>
2420 * shr.el: Load kinsoku if necessary.
2421 (shr-kinsoku-shorten): New internal variable.
2422 (shr-find-fill-point): Make kinsoku shorten text line if
2423 shr-kinsoku-shorten is bound to non-nil.
2424 (shr-tag-table): Bild shr-kinsoku-shorten to t; refer to
2425 shr-indentation too when testing if table is wider than frame width.
2426 (shr-insert-table): Use `string-width' instead of `length' to measure
2428 (shr-insert-table-ruler): Make sure indentation is done at bol.
2430 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2432 * nnimap.el (nnimap-request-move-article, nnimap-parse-line)
2433 (nnimap-process-expiry-targets): Use unibyte for buffers that hold
2434 undecoded network data.
2436 2010-10-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2438 * gnus-agent.el (gnus-agent-toggle-plugged): Use the right minor mode
2439 name in the mode line spec so that the mode line menu works
2442 * message.el (message-get-reply-headers): If we're fed `to-address',
2443 then always use that.
2445 * gnus-art.el (gnus-article-make-menu-bar): The article/group menus
2446 aren't so wide as to need to switch off the edit menu.
2448 * gnus-delay.el (gnus-delay-article): Remove superfluous `group'
2449 binding. Suggested by Leo <sdl.web@gmail.com> (bug #6613).
2451 * nnimap.el (nnimap-request-group): Don't SELECT the group twice on
2453 (nnimap-update-info): Update flags/read marks even if \* isn't part of
2454 the permanent marks.
2456 2010-10-18 Andrew Cohen <cohen@andy.bu.edu>
2458 * gnus-registry.el (gnus-registry-split-fancy-with-parent):
2459 Splitting according to references/in-reply-to obeys the ignore-groups
2460 variable, while splitting by sender and subject do not.
2462 2010-10-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2464 * gnus-art.el (gnus-article-dumbquotes-map): Make into a char/string
2465 alist, so that we can look for non-Unicode chars.
2466 (article-translate-strings): Allow both character and string maps.
2468 2010-10-18 Katsumi Yamaoka <yamaoka@jpl.org>
2470 * shr.el (shr-insert): Don't insert space behind a wide character
2471 categorized as kinsoku-bol, or between characters both categorized as
2474 2010-10-16 Andrew Cohen <cohen@andy.bu.edu>
2476 * gnus-sum.el (gnus-summary-refer-thread): Bug fix. Add the thread
2477 headers to gnus-newsgroup-headers.
2479 2010-10-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2481 * shr.el (shr-tag-img): Don't align images -- since we're not
2482 rescaling, this often leads to ugly displays.
2484 2010-10-15 Andrew Cohen <cohen@andy.bu.edu>
2486 * gnus-sum.el (gnus-summary-refer-thread): Unconditionally ignore
2489 2010-10-15 Kan-Ru Chen <kanru@kanru.info> (tiny change)
2491 * gnus-diary.el (gnus-diary-check-message): Fix gnus-completing-read
2494 2010-10-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2496 * gnus.el: Autoload gnus-html-show-images.
2498 * nnimap.el: Use nnheader-message throughout.
2500 * shr.el (shr-tag-img): Ignore images with no data.
2502 2010-10-15 Julien Danjou <julien@danjou.info>
2504 * mml.el (mml-generate-mime-1): Add `mml-enable-flowed' variable to add
2505 a possibility to disable format=flow encoding when using hard newlines.
2507 2010-10-15 Katsumi Yamaoka <yamaoka@jpl.org>
2509 * shr.el (shr-insert): Remove space inserted before or after a
2510 breakable character or at the beginning or the end of a line.
2511 (shr-find-fill-point): Do kinsoku; find the second best point or give
2512 it up if there's no breakable point.
2514 2010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2516 * nnimap.el (nnimap-open-connection): Message when opening connection
2517 for debugging purposes.
2519 * gnus-art.el (gnus-article-setup-buffer): Set article mode truncation
2520 on every setup buffer call to allow this to change from article to
2523 * shr.el (shr-tag-table): Experimental feature: Truncate lines in
2524 buffers where we have a wide table.
2526 2010-10-14 Andrew Cohen <cohen@andy.bu.edu>
2528 * gnus-sum.el (gnus-summary-refer-thread): Implement a version that
2529 uses *-request-thread.
2531 2010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2533 * nnimap.el (nnimap-open-connection): Remove %s from openssl
2534 incantation, which is no longer valid.
2536 2010-10-14 Julien Danjou <julien@danjou.info>
2538 * shr.el: Fix defcustom type (char -> character).
2540 2010-10-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2542 * nnimap.el (nnimap-open-connection): tls-program should be a list of
2545 2010-10-14 Julien Danjou <julien@danjou.info>
2547 * shr.el (shr-tag-a): Use url-link as widget type.
2549 * gnus-group.el (gnus-group-insert-group-line): Fix group argument to
2550 `gnus-group-get-icon'.
2552 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2554 * nnimap.el (nnimap-close-server): Forget the nnimap data on close.
2555 This should make server editing work better.
2557 * shr.el (shr-find-fill-point): Don't inloop on indented text.
2559 * tls.el (tls-program): Remove spurious %s from openssl.
2561 * nnimap.el (nnimap-open-connection): Fix open-tls-stream call.
2562 (nnimap-parse-flags): Fix regexp.
2564 * shr.el (shr-find-fill-point): Use a filling algorithm that should
2565 probably work for CJVK text, too.
2567 * nnimap.el (nnimap-extend-tls-programs): Remove.
2568 (nnimap-open-connection): Bind STARTTLS to openssl explicitly.
2570 * tls.el (tls-starttls-switches): Remove starttls hack.
2571 (open-tls-stream): Ditto.
2572 (tls-find-starttls-argument): Ditto.
2574 2010-10-13 Julien Danjou <julien@danjou.info>
2576 * nnimap.el (nnimap-parse-flags): Be more strict when looking for FETCH
2579 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2581 * mm-decode.el (mm-shr): Allow use from non-Gnus users.
2583 * gnus-spec.el (gnus-parse-simple-format): princ doesn't really insert
2586 * shr.el (shr-current-column): Remove buggy and unnecessary function.
2588 2010-10-13 Julien Danjou <julien@danjou.info>
2590 * shr.el (shr-width): Make shr-width a defcustom with default to
2592 (shr-tag-img): Use shr-width rather than fill-column.
2594 2010-10-13 Katsumi Yamaoka <yamaoka@jpl.org>
2596 * dgnushack.el (byte-optimize-apply)
2597 * gnus-dired.el (gnus-dired-attach): Silence XEmacs 21.5 when compiling.
2599 * gnus-gravatar.el (gnus-gravatar-transform-address): Adjust avatars'
2600 position when (X-)Faces exist.
2601 (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Force displaying
2602 avatars when called interactively.
2604 2010-10-12 Katsumi Yamaoka <yamaoka@jpl.org>
2606 * gnus-gravatar.el (gnus-gravatar-too-ugly): Don't test if
2607 gnus-article-x-face-too-ugly is bound.
2609 2010-10-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2611 * rfc2231.el (rfc2231-parse-string): Ignore repeated parts.
2613 * nnimap.el (nnimap-request-rename-group): Unselect by selecting a
2614 mailbox that doesn't exist.
2616 2010-10-12 Julien Danjou <julien@danjou.info>
2618 * shr.el (shr-tag-img): Encode URL properly when retrieving.
2619 (shr-get-image-data): Encode URL properly when fetching from cache.
2620 (shr-tag-img): Use aligned-to spaces to align correctly images.
2622 * gnus-gravatar.el (gnus-gravatar-insert): Check if buffer is alive
2623 before inserting the Gravatar.
2625 * shr.el (shr-tag-img): Add align attribute support for <img>.
2627 2010-10-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2629 * gnus-gravatar.el (gnus-art): Require.
2631 * gnus-sum.el (gnus-summary-mark-as-unread-forward)
2632 (gnus-summary-mark-as-unread-backward, gnus-summary-mark-as-unread):
2633 Remove long obsoleted functions.
2635 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2637 * lpath.el: Fbind gnutls-negotiate for Emacs 22 and XEmacsen.
2639 * nnimap.el (gnutls-negotiate): Silence the byte compiler.
2641 * gnus-art.el, gnus-cache.el, gnus-fun.el, gnus-group.el:
2642 * gnus-picon.el, gnus-spec.el, gnus-sum.el, gnus-util.el, gnus.el:
2643 * hashcash.el, imap.el, mail-source.el, message.el, mm-bodies.el:
2644 * mm-decode.el, mm-extern.el, mm-util.el, mm-view.el, mml-smime.el:
2645 * mml.el, mml1991.el, mml2015.el, nnfolder.el, nnheader.el, nnmail.el:
2646 * nnmaildir.el, nnrss.el, nntp.el, pgg-parse.el, pgg.el, rfc1843.el:
2647 * sieve-manage.el, smime.el, spam.el:
2648 Fix comment for declare-function.
2650 2010-10-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2652 * nnimap.el (nnimap-request-rename-group): Select group read-only
2655 * shr.el (shr-insert): Fix up the white space only regexp.
2657 * nnimap.el (nnimap-transform-split-mail): Not all articles have
2658 bodies. Protect against this. Reported by Michael Welsh Duggan.
2660 * shr.el (shr-current-column): New function.
2661 (shr-find-fill-point): New function.
2663 2010-10-11 Michael Welsh Duggan <md5i@md5i.com> (tiny change)
2665 * sieve-manage.el (sieve-manage-open): Allow port names as well as port
2668 2010-10-11 Julien Danjou <julien@danjou.info>
2670 * shr.el (shr-hr-line): Add.
2671 (shr-tag-hr): Use shr-hr-line to specify which character to use to
2673 (shr-max-columns): Do not change state to nil if we just inserting
2676 2010-10-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2678 * gnus-topic.el (gnus-topic-read-group): If after the last group,
2679 select the last group.
2681 2010-10-11 Teodor Zlatanov <tzz@lifelogs.com>
2683 * gnus-int.el (gnus-run-hook-with-args): Autoload from gnus-util.el.
2685 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2687 * dig.el (dig-mode-map): Declare and define in one step.
2689 2010-10-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2691 * nnimap.el (nnimap-update-qresync-info): \Flagged messages are read
2693 (nnimap-retrieve-group-data-early): utf7-encode the group parameters.
2694 (nnimap-update-qresync-info): Mark \Seen articles as read.
2696 * gnus-sum.el (gnus-summary-set-local-parameters): Ignore the `active'
2699 * nnimap.el (nnimap-open-connection): Use gnutls STARTTLS, if
2701 (nnimap-update-info): Rely more on the current active than the param
2702 active to avoid marking articles as read too much.
2704 * auth-source.el (auth-source-create): Use (user-login-name) for the
2707 * nnimap.el (nnimap-update-info): If the server doesn't return any
2708 useful info, just use the previous info.
2709 (nnimap-update-info): Prefer old info over start-article.
2710 (nnimap-update-qresync-info): Finish implementing QRESYNC.
2712 2010-10-10 Andrew Cohen <cohen@andy.bu.edu>
2714 * nnir.el (autoload): Clean up autoloads.
2715 (nnir-imap-default-search-key): Rename from nnir-imap-search-field.
2716 Use key rather than value.
2717 (nnir-imap-search-other): New variable.
2718 (nnir-read-parm): Use it.
2719 (nnir-imap-expr-to-imap): Use %S rather than imap-quote-specials.
2720 (gnus-summary-nnir-goto-thread): Modify to work with imap.
2722 2010-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2724 * nnimap.el (nnimap-wait-for-response): If the user hits `C-g', kill
2727 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2729 * spam.el (gnus-summary-mode-map): Bind to "$".
2730 Suggested by Russ Allbery.
2732 * shr.el: Rework the way things are indented by <li> slightly.
2734 * gnus.el (gnus-group-set-parameter): Fix typo.
2736 * nnimap.el: Start implementing QRESYNC support.
2738 2010-10-09 Julien Danjou <julien@danjou.info>
2740 * nnir.el (nnir-engines): Fix too many arguments.
2742 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2744 * nnmail.el (nnmail-expiry-target-group): Say that every expiry target
2745 group is the "last", so that the backends like nnfolder actually save
2748 * nnimap.el (nnimap-open-connection): If we have gnutls loaded, then
2749 try to use that for the tls stream.
2750 (nnimap-retrieve-group-data-early): Rework the marks code to heed
2751 UIDVALIDITY and find out which groups are read-only and not.
2752 (nnimap-get-flags): Use the same marks parsing code as the rest of
2755 2010-10-09 Julien Danjou <julien@danjou.info>
2757 * nnir.el (nnir-read-parm): Fix call to gnus-completing-read.
2759 * gnus-gravatar.el (gnus-gravatar-transform-address): Error errors when
2760 retrieving gravatars.
2762 * shr.el (shr-table-corner): Add.
2763 (shr-table-line): Add.
2764 (shr-insert-table-ruler): Use the above defcustoms to insert tables.
2766 2010-10-08 Julien Danjou <julien@danjou.info>
2768 * mm-decode.el (mm-text-html-renderer): Add mm-shr in choice list.
2770 2010-10-08 Teodor Zlatanov <tzz@lifelogs.com>
2772 * gnus-util.el (gnus-alist-pull): Rename `gnus-pull'.
2774 * gnus-sum.el (gnus-mark-article-as-unread)
2775 (gnus-summary-mark-article-as-unread, gnus-summary-remove-bookmark)
2776 (gnus-summary-set-bookmark): Use it.
2778 * gnus-msg.el (gnus-setup-message): Use it.
2780 * gnus-demon.el (gnus-demon-remove-handler): Use it.
2782 * gnus.el (gnus-group-remove-parameter): Use it.
2784 * gnus-group.el (gnus-group-make-web-group): Use it.
2786 * gnus-demon.el (gnus-demon-remove-handler): Use it.
2788 * nnregistry.el: Update docs to mention manual.
2790 * gnus-registry.el: Update docs to mention nnregistry.el.
2791 (gnus-registry-initialize): Don't install nnregistry refer method
2793 (gnus-registry-install-nnregistry): Remove it.
2795 2010-10-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2797 * shr.el (shr-insert): Don't insert double spaces.
2799 2010-10-08 Katsumi Yamaoka <yamaoka@jpl.org>
2801 * gnus-gravatar.el (gnus-treat-from-gravatar)
2802 (gnus-treat-mail-gravatar): Bind gnus-gravatar-too-ugly to nil when
2803 called interactively.
2805 * gnus-art.el (gnus-mime-view-part-externally)
2806 (gnus-mime-view-part-internally): Make predicate function passed to
2807 gnus-mime-view-part-as-type assume argument is a mime type, not a list
2810 * shr.el (shr-table-widths): Don't use cl function `reduce'.
2812 2010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2814 * shr.el (require): Require cl when compiling.
2815 (shr-tag-hr): New function.
2817 * nnimap.el (nnimap-update-info): Remove double setting of high.
2818 (nnimap-update-info): Don't ignore groups that have no UIDNEXT.
2819 This makes nnimap work properly on Courier again.
2821 * gnus.el (gnus-carpal): The carpal mode has been removed, but define
2822 the variable for backwards compatability.
2824 * mm-decode.el (mm-save-part): If given a non-directory result, expand
2825 the file name before using to avoid setting mm-default-directory to
2828 * gnus-start.el (gnus-get-unread-articles): Require gnus-agent before
2829 bidning gnus-agent variables.
2831 * shr.el (shr-render-td): Use a cache for the table rendering function
2832 to avoid getting an exponential rendering behaviour in nested tables.
2833 (shr-insert): Rework the line-breaking algorithm.
2834 (shr-insert): Don't leave trailing spaces.
2835 (shr-insert-table): Also insert empty TDs.
2836 (shr-tag-blockquote): Ensure paragraphs after </ul>.
2838 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2840 * gnus-sum.el (gnus-number): Rename from `number'.
2841 (gnus-article-marked-p, gnus-summary-limit-to-display-predicate)
2842 (gnus-summary-limit-children): Update uses correspondingly.
2844 2010-10-07 Katsumi Yamaoka <yamaoka@jpl.org>
2846 * gnus-gravatar.el (gnus-gravatar-too-ugly): New user option.
2847 (gnus-gravatar-transform-address): Don't show avatars of people of
2848 which mail addresses match gnus-gravatar-too-ugly.
2850 2010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2852 * shr.el (shr-table-widths): Expand TD elements to fill available
2855 2010-10-07 Julien Danjou <julien@danjou.info>
2857 * nnimap.el (nnimap-request-rename-group): Add this method.
2859 2010-10-07 Katsumi Yamaoka <yamaoka@jpl.org>
2861 * gnus-html.el (gnus-html-schedule-image-fetching): Remove function
2862 name from XEmacs' function-arglist.
2864 * gnus-gravatar.el (gnus-gravatar-insert): Don't add properties to
2865 gravatar under XEmacs.
2867 2010-10-07 Teodor Zlatanov <tzz@lifelogs.com>
2869 * auth-source.el: Update docs with TODO items.
2871 * gnus-sync.el: Update docs to explain state and plans.
2873 * gnus-int.el (gnus-after-set-mark-hook, gnus-before-update-mark-hook):
2874 Hooks for mark updates.
2875 (gnus-request-set-mark, gnus-request-update-mark): Use them.
2877 * gnus-util.el (gnus-run-hooks-with-args): Convenience function to run
2878 hooks with arguments, which is needed for mark update hooks.
2880 2010-10-06 Julien Danjou <julien@danjou.info>
2882 * gnus.el (gnus-expand-group-parameter): Only return and act on what
2885 * sieve-manage.el: Update example in `Commentary'.
2887 * sieve.el (sieve-open-server): Use sieve-manage-authenticate.
2889 * sieve-manage.el (sieve-manage-open): Use sieve-manage-default-port,
2891 (sieve-manage-authenticate): Re-add function.
2893 2010-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2895 * shr.el (shr-insert): Get 'space transition right.
2896 (shr-render-td): Only delete space at the end of the TD.
2898 * nnimap.el (nnimap-open-connection): Prepare to support
2901 * shr.el: Rearrange function order to be more logical.
2903 2010-10-06 Julien Danjou <julien@danjou.info>
2905 * nnrss.el (nnrss-check-group): Remove 404 URL in comment.
2906 (nnrss-discover-feed): Remove 404 URL in docstring.
2908 * nnir.el: Fix Swish-E URL.
2911 * message.el (message-change-subject): Remove 404 URL in a comment.
2913 2010-10-06 Katsumi Yamaoka <yamaoka@jpl.org>
2915 * gnus-art.el (gnus-mime-view-part-as-type): Make it work when being
2916 called interactively.
2918 * gnus-util.el (gnus-remove-if): Allow hash table.
2919 (gnus-remove-if-not): New function.
2921 * gnus-art.el (gnus-mime-view-part-as-type)
2922 * gnus-score.el (gnus-summary-score-effect)
2923 * gnus-sum.el (gnus-read-move-group-name):
2924 Replace remove-if-not with gnus-remove-if-not.
2926 * gnus-group.el (gnus-group-completing-read):
2927 Regard collection as a hash table if it is not a list.
2929 2010-10-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2931 * shr.el (shr-render-td): Allow blank/missing <TD>s.
2933 * shr.el: Document the table-rendering algorithm.
2935 2010-10-05 Katsumi Yamaoka <yamaoka@jpl.org>
2937 * dgnushack.el (dgnushack-compile): Exclude shr.el from being compiled
2938 for Emacsen having no `libxml-parse-html-region' support.
2940 2010-10-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2942 * gnus-html.el (gnus-html-schedule-image-fetching): Protect against
2945 * shr.el (shr-tag-img): Shorten ALT texts and allow them to be
2947 (shr-tag-img): Ignore image fetching errors.
2948 (shr-overlays-in-region): Compute overlay positions correctly.
2950 * mm-decode.el (mm-shr): Require shr.
2952 * gnus-art.el (gnus-blocked-images): Move variable here.
2954 * shr.el (shr-insert-table): Bind free variable.
2956 * mm-decode.el (mm-shr): Bind shr-content-function.
2958 * shr.el (shr-content-function): New variable.
2960 * gnus-sum.el (gnus-article-sort-by-most-recent-date): New function,
2963 * nnir.el (nnir-retrieve-headers): Don't bug out on invalid data.
2965 * gnus-group.el (gnus-group-make-group): Doc fix.
2967 * nnimap.el (nnimap-request-newgroups): Return success.
2969 * shr.el (shr-find-elements): New function.
2970 (shr-tag-table): Put all the images after the table.
2971 (shr-tag-table): Really inhibit images inside the table.
2972 (shr-collect-overlays): Copy over overlays from the TD elements to the
2975 * mm-decode.el (mm-shr): Bind shr-blocked-images to
2976 gnus-blocked-images.
2978 2010-10-05 Julien Danjou <julien@danjou.info>
2980 * sieve-manage.el (sieve-sasl-auth): Use auth-source to authenticate.
2982 * gnus-html.el (gnus-html-wash-images): Rescale image from cid too.
2983 (gnus-html-maximum-image-size): Add this function.
2984 (gnus-html-put-image): Use gnus-html-maximum-image-size.
2986 * sieve-manage.el (sieve-manage-capability): Do not bug out when the
2987 server-value of the capability is nil.
2989 2010-10-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2991 * shr.el (shr-tag-em): Add <EM> tag.
2993 2010-10-05 Florian Ragwitz <rafl@debian.org> (tiny change)
2995 * sieve-manage.el (sieve-manage-default-stream): Make default stream
2998 * gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid
2999 handing broken links to browse-url.
3001 2010-10-05 Julien Danjou <julien@danjou.info>
3003 * gnus-util.el (gnus-emacs-completing-read)
3004 (gnus-iswitchb-completing-read): Use autoload rather than require.
3006 2010-10-05 Katsumi Yamaoka <yamaoka@jpl.org>
3008 * lpath.el: Fbind libxml-parse-html-region and shr-insert-document for
3009 Emacs 22 and XEmacs; fbind help-function-arglist for XEmacs 21.4 and
3010 SXEmacs; fbind ido-completing-read, and bind iswitchb-mode and
3011 iswitchb-temp-buflist for XEmacs.
3013 * gnus-util.el (gnus-completing-read-function): Exclude
3014 gnus-icompleting-read and gnus-ido-completing-read from candidates for
3015 XEmacs since iswitchb.el is very old and ido.el is unavailable in
3018 * gnus-registry.el (gnus-registry-install-nnregistry): Rewrite so as
3019 not to use `delete-dups' that is unavailable in XEmacs 21.4.
3021 * gnus-html.el: Don't require help-fns under XEmacs.
3022 (gnus-html-schedule-image-fetching): Work for XEmacs.
3024 * mm-decode.el (mm-shr): Decode contents by charset.
3026 2010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3028 * nnimap.el (nnimap-open-connection): Give an error if nnimap-stream is
3031 * shr.el (shr-tag-blockquote): Ensure paragraph after quote, too.
3032 (shr-get-image-data): Ensure against the cache file missing.
3034 * nnimap.el (nnimap-finish-retrieve-group-infos): Message while waiting
3037 * spam-report.el (spam-report-url-ping-plain): Don't query about
3038 killing the process.
3040 * shr.el (shr-render-td): Protect against too-wide text.
3042 2010-10-04 Julien Danjou <julien@danjou.info>
3044 * mml-smime.el (mml-smime-openssl-encrypt-query): Fix choices.
3045 (mml-smime-openssl-sign-query): Fix gnus-completing-read call.
3047 * gravatar.el (gravatar-retrieved): Kill buffer when gravatar has been
3050 2010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3052 * shr.el (browse-url): Require.
3053 (shr-ensure-paragraph): Don't insert a new newline after empty-ish
3055 (shr-show-alt-text, shr-browse-image): New commands.
3056 (shr-browse-url, shr-copy-url): New commands.
3058 * gnus-sum.el (gnus-widen-article-window): New variable.
3059 (gnus-summary-select-article-buffer): Use it.
3061 * message.el (message-idna-to-ascii-rhs-1): Don't bug out on addresses
3064 2010-10-04 Michael Welsh Duggan <md5i@md5i.com> (tiny change)
3066 * nnir.el (nnir-run-imap): Remove spurious space in search string.
3068 2010-10-04 Julien Danjou <julien@danjou.info>
3070 * gnus-util.el (gnus-emacs-completing-read): Mapcar collection to list,
3073 2010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3075 * gnus-salt.el: Remove all gnus-carpal stuff -- it's not useful.
3077 * nnimap.el (nnimap-open-connection): Allow tls as a synonym for ssl.
3078 (nnimap-close-server): Implement.
3080 * dgnushack.el (iswitchb): Require to shut up the compiler.
3082 * shr.el (shr-ensure-paragraph): Fix the non-empty line case.
3083 (shr-insert): Tweak line breaking.
3084 (shr-insert): Handle <pre> better.
3085 (shr-tag-li): Get <li> indentation right.
3086 (shr-tag-li): Get <li> indentation even righter.
3087 (shr-tag-blockquote): Ensure paragraph start.
3088 (shr-make-table): Tweak table generation.
3089 (shr-make-table): Fix typo.
3091 * shr.el: Implement table rendering.
3093 2010-10-04 Julien Danjou <julien@danjou.info>
3095 * gnus-html.el (gnus-html-put-image): Fix resize image code.
3097 2010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3099 * shr.el (shr-insert): Use string anchors instead of line anchors.
3101 2010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3103 * shr.el: Add headings.
3104 (shr-ensure-paragraph): Actually work.
3105 (shr-tag-li): Make <ul> prettier.
3106 (shr-insert): Get white space at the beginning/end of elements right.
3107 (shr-tag-p): Collapse subsequent <p>s.
3108 (shr-ensure-paragraph): Don't insert double line feeds after blank
3110 (shr-insert): \t is also space.
3111 (shr-tag-s): Fix "s" tag name function.
3112 (shr-tag-s): Fix face prop name.
3114 2010-10-03 Julien Danjou <julien@danjou.info>
3116 * gnus-html.el (gnus-html-put-image): Use gnus-rescale-image.
3118 * mm-view.el (gnus-window-inside-pixel-edges): Add autoload for
3119 gnus-window-inside-pixel-edges.
3121 * gnus-ems.el (gnus-window-inside-pixel-edges): Move from gnus-html to
3124 * mm-view.el (mm-inline-image-emacs): Support image resizing.
3126 * gnus-util.el (gnus-rescale-image): Add generic gnus-rescale-image
3129 * mm-decode.el (mm-inline-large-images): Enhance defcustom and add
3132 2010-10-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3134 * shr.el (shr-tag-p): Don't insert newlines on empty tags at the
3135 beginning of the buffer.
3137 * gnus-sum.el (gnus-summary-select-article-buffer): Really select the
3138 article buffer again.
3140 * shr.el (shr-tag-p): Don't insert newlines at the start of the buffer.
3142 * mm-decode.el (mm-shr): Narrow before inserting, so that shr can know
3143 when it's at the start of the buffer.
3145 * shr.el (shr-tag-blockquote): Convert name.
3146 (shr-rescale-image): Use the right image-size variant.
3148 * gnus-sum.el (gnus-summary-select-article-buffer): If the article
3149 buffer isn't shown, then select the current article first instead of
3151 (gnus-summary-select-article-buffer): Show both the article and summary
3154 * shr.el (shr-fontize-cont): Protect against regions with no text.
3155 Rename tag functions to shr-tag-* for enhanced security.
3156 (shr-tag-ul, shr-tag-ol, shr-tag-li, shr-tag-br): New functions.
3158 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3160 * shr.el (shr-insert):
3161 * pop3.el (pop3-movemail):
3162 * gnus-html.el (gnus-html-wash-tags): Don't use plusp, as cl may not be
3165 2010-10-03 Glenn Morris <rgm@gnu.org>
3167 * nnmairix.el (nnmairix-replace-illegal-chars): Drop Emacs 20 code.
3169 * smime.el (smime-cert-by-ldap-1): Drop Emacs 21 code.
3171 * gnus-art.el (gnus-next-page-map): Drop Emacs 20 compat cruft.
3173 * gmm-utils.el (gmm-write-region): Drop Emacs 20 compat cruft.
3175 * gnus-util.el (gnus-make-local-hook): Simplify.
3177 2010-10-02 Julien Danjou <julien@danjou.info>
3179 * gnus-util.el (gnus-iswitchb-completing-read): New function.
3180 (gnus-ido-completing-read): New function.
3181 (gnus-emacs-completing-read): New function.
3182 (gnus-completing-read): Use gnus-completing-read-function.
3183 Add gnus-completing-read-function.
3185 2010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3187 * shr.el (shr-insert-document): Autoload.
3188 (shr-img): Be silent.
3189 (shr-insert): Add a newline after every picture before text.
3190 (shr-add-font): Use overlays for combining faces.
3191 (shr-insert): Pass upwards the text start point.
3193 * mm-decode.el (mm-text-html-renderer): Default to shr.el rendering, if
3195 (mm-shr): New function.
3197 2010-10-02 Julien Danjou <julien@danjou.info>
3199 * gnus-gravatar.el (gnus-gravatar-insert): Adjust character where we
3202 2010-10-02 Juanma Barranquero <lekktu@gmail.com>
3204 * shr.el (shr): Fix typo in provide call.
3206 2010-10-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3210 * gnus-html.el (gnus-html-schedule-image-fetching): Be silent.
3212 * gnus-topic.el (gnus-topic-move-group): Fix the syntax of the
3215 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3217 * gnus-start.el (gnus-check-bogus-newsgroups): Say how many groups
3218 we're being queried about. Suggested by Dan Jacobson.
3220 * nndoc.el (nndoc-type-alist): Do babyl before mime-parts.
3221 Suggested by Jason Eisner.
3223 * gnus-async.el (gnus-async-delete-prefetched-entry): Remove from hash
3224 table, too. Suggested by Stefan Wiens.
3225 (gnus-async-prefetched-article-entry): Use intern-soft to avoid growing
3226 the table unnecessary. Suggested by Stefan Wiens.
3228 * gnus-sum.el (gnus-summary-clear-local-variables): This is probably no
3229 longer needed, and probably doesn't work either, as pointed out by
3231 (gnus-summary-exit): Remove call to the clearing function.
3232 (gnus-summary-exit-no-update): Ditto.
3234 * gnus-art.el (gnus-summary-save-in-file): Use with-current-buffer
3235 instead of gnus-eval-in-buffer-window to avoid popping up frames.
3236 Reported by Stefan Monnier.
3237 (gnus-summary-save-in-rmail): Ditto.
3239 * gnus-sum.el (gnus-summary-select-article-buffer): Show only the
3240 article buffer, instead of both the article buffer and the summary
3241 buffer. Sort of suggested by Dan Jacobson.
3243 * gnus-win.el (gnus-buffer-configuration): Add an only-article spec.
3245 * nnmbox.el (nnmbox-read-mbox): Mark buffer for deletion on Gnus exit.
3246 Suggested by Dan Jacobson.
3248 * mm-encode.el (mm-content-transfer-encoding-defaults): Try to make the
3249 documentation clearer.
3251 * message.el (message-shorten-references): Comment on the number "21".
3252 Suggested by Stefan Monnier.
3254 * gnus-sum.el (gnus-summary-scroll-up): Add more documentation.
3255 Suggested by Dan Jacobson.
3257 * gnus.el (gnus-large-newsgroup):
3258 Mention gnus-large-ephemeral-newsgroup. Suggested by Dan Jacobson.
3260 * gnus-msg.el (gnus-summary-resend-message): When resending, don't
3261 externalize attachments. Bug reported by Steve Wen.
3263 * gnus.el (gnus-continuum-version): Make inactive, since it doesn't
3264 really message anything to the user.
3266 * nnmail.el (nnmail-article-group): Allow using the fancy split method
3269 * nnimap.el (nnimap-request-group): Low higher than high to signal no
3270 messages in empty groups.
3272 2010-10-01 Ted Zlatanov <tzz@lifelogs.com>
3274 * nnimap.el (nnimap-request-group): Don't bug out when there's an empty
3277 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3279 * gnus-group.el (gnus-group-completing-read): Return the symbol name,
3280 not the value from the collection.
3282 * nnimap.el (nnimap-update-info): Ignore groups that have no UIDNEXT
3283 values. This sometimes happens on some groups that have no info.
3284 (nnimap-request-newgroups): New function.
3286 2010-10-01 Teodor Zlatanov <tzz@lifelogs.com>
3288 * gnus-registry.el (gnus-registry-install-nnregistry): Move the feature
3289 check into `gnus-registry-initialize'.
3290 (gnus-registry-initialize): Ditto.
3291 Fix and extend header docs.
3293 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3295 * gnus-html.el (gnus-html-prefetch-images): Adjust regexp to avoid
3296 regexp backtrace overflows.
3298 * nnimap.el (nnimap-extend-tls-programs): Only extend those programs
3299 for starttls that tls.el implements; i.e. openssl.
3301 * tls.el (tls-starttls-switches): Give up on using starttls with
3303 (tls-program): Add --insecure to be consistent with the defaults from
3304 openssl s_client. Now all three commands are insecure.
3306 2010-10-01 Katsumi Yamaoka <yamaoka@jpl.org>
3308 * lpath.el: Bind completion-styles-alist for XEmacs.
3310 * gravatar.el: Don't load image.el that XEmacs doesn't provide.
3311 (gravatar-create-image): New function that's an alias to
3312 gnus-xmas-create-image, gnus-create-image, or create-image.
3313 (gravatar-data->image): Use it.
3315 2010-09-30 Teodor Zlatanov <tzz@lifelogs.com>
3317 * gnus-registry.el (gnus-registry-install-nnregistry): New function to
3318 install the nnregistry refer method.
3319 (gnus-registry-install-hooks): Use it.
3320 (gnus-registry-unfollowed-groups): Add nnmairix to the default
3323 2010-09-30 Jose A. Ortega Ruiz <jao@gnu.org> (tiny change)
3325 * gnus-sum.el (gnus-summary-show-thread): Skip past invisible text when
3328 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3330 * nnir.el: Use the server names without suffixes (bug #7009).
3332 * nnimap.el (nnimap-open-connection): Reinstate the auto-upgrade from
3333 unencrypted to STARTTLS, if possible.
3335 2010-09-30 Teemu Likonen <tlikonen@iki.fi> (tiny change)
3337 * message.el (message-ignored-supersedes-headers): Strip Injection-*
3338 headers before superseding.
3340 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3342 * nnrss.el (nnrss-use-local): Add documentation.
3344 * nnimap.el (nnimap-extend-tls-programs): New function.
3345 (nnimap-open-connection): Use tls.el exclusively, and not starttls.el.
3346 (nnimap-wait-for-connection): Accept the greeting from the stupid
3347 output from openssl s_client -starttls, too.
3349 * tls.el (tls-starttls-switches): New variable.
3350 (tls-find-starttls-argument): Use it.
3351 (open-tls-stream): Ditto.
3353 * netrc.el (netrc-credentials): Return the value of the "default" entry.
3354 (netrc-machine): Ditto.
3356 * nnimap.el (nnimap-find-article-by-message-id): Really return the
3358 (nnimap-split-fancy): New variable.
3359 (nnimap-split-incoming-mail): Use it.
3361 * nntp.el (nntp-server-list-active-group): Document.
3363 * nnimap.el (nnimap-find-article-by-message-id): Use EXAMINE instead of
3364 SELECT to get the message-id.
3366 * mail-source.el (mail-sources): Remove webmail support.
3368 (mail-source-fetcher-alist): Ditto.
3369 (mail-source-fetch-webmail): Remove.
3371 * webmail.el: Remove -- doesn't seem relevant any more.
3373 * gnus.el: Fix up make-obsolete-variable declarations throughout.
3375 * nnimap.el (nnimap-request-accept-article): Get the Message-ID without
3378 2010-09-30 Julien Danjou <julien@danjou.info>
3380 * gnus-agent.el (gnus-agent-add-group): Fix call to
3381 gnus-completing-read.
3383 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3385 * nndoc.el (nndoc-retrieve-groups): New function.
3387 * nnimap.el (nnimap-split-incoming-mail): If nnimap-split-methods is
3388 `default', use nnmail-split-methods.
3389 (nnimap-request-article): Downcase the NILs so that they are nil.
3391 * gnus-sum.el (gnus-valid-move-group-p): Make sure that `group' is a
3394 * nnimap.el (nnimap-open-connection): Revert the auto-network->starttls
3395 code, since if the user has requested network, that's what they ought
3397 (nnimap-request-set-mark): Erase the buffer before issuing commands.
3398 (nnimap-split-rule): Mark as obsolete.
3400 * pop3.el (pop3-send-streaming-command, pop3-stream-length):
3403 * nnimap.el (nnimap-insert-partial-structure): Get the type from the
3406 2010-09-29 Julien Danjou <julien@danjou.info>
3408 * gnus.el (gnus-local-domain): Declare variable obsolete.
3410 * gnus-util.el (gnus-icompleting-read): Require iswitchb.
3411 Fix history computing.
3412 (gnus-ido-completing-read): Require ido.
3414 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3416 * gnus-registry.el: Don't prompt on load, which makes it impossible to
3419 * nnimap.el (nnimap-insert-partial-structure): Be way more permissive
3420 when interpreting the structures.
3421 (nnimap-request-accept-article): Add \r\n to the lines to make this
3424 * nndraft.el (nndraft-request-expire-articles): Use the group name
3425 instead if "nndraft". Fix found by Nils Ackermann.
3427 2010-09-29 Ludovic Courtes <ludo@gnu.org>
3429 * nnregistry.el: Add.
3431 2010-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
3433 * nnmail.el (group, group-art-list, group-art):
3434 Remove unneeded directives.
3436 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3438 * mm-util.el (mm-codepage-iso-8859-list, mm-charset-eval-alist)
3440 * rfc2047.el (rfc2047-syntax-table)
3441 * utf7.el (utf7-utf-16-coding-system): Comment fix.
3443 * nnrss.el (nnrss-read-server-data, nnrss-read-group-data): Use `load'
3444 rather than `insert-file-contents' and `eval-region'.
3446 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3449 * smime-ldap.el (smime-ldap-search): Remove Emacs 21 compatible code.
3451 * time-date.el: No need to require cl for Emacs 21.
3453 2010-09-29 Julien Danjou <julien@danjou.info>
3455 * gnus-gravatar.el (gnus-gravatar-properties): Add this properties in
3456 replacement of `gnus-gravatar-relief' to mimic
3457 `gnus-faces-properties-alist'.
3458 Add :version property.
3460 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3462 * mail-source.el (mail-source-report-new-mail)
3463 * message.el (message-default-mail-headers)
3464 * mm-decode.el (mm-valid-image-format-p): Comment fix.
3466 * mml2015.el (mml2015-use): Don't bind recursive-load-depth-limit.
3468 2010-09-28 Julien Danjou <julien@danjou.info>
3470 * gnus-gravatar.el (gnus-gravatar-insert): Fix search in case
3471 mail-address contains the same string as real-name.
3473 * gnus-ems.el (gnus-put-image): Revert Lars, change and insert
3474 non-blank in header, otherwise it'll get stripped.
3476 * gnus-gravatar.el (gnus-gravatar-insert): Search backward for
3477 real-name, and then for mail address rather than doing : or , search.
3479 2010-09-27 Julien Danjou <julien@danjou.info>
3481 * gnus-util.el (gnus-completing-read): Use gnus-use-ido to apply the
3482 right completing-read function.
3483 (gnus-use-ido): New variable
3484 (gnus-completing-read-with-default): Remove.
3485 * gnus-agent.el (gnus-agent-read-group): Remove prompt computing.
3486 (gnus-agent-add-group):
3487 * gnus-srvr.el (gnus-server-add-server, gnus-server-goto-server):
3488 * mm-view.el (mm-view-pkcs7-decrypt):
3489 * mm-util.el (mm-codepage-setup):
3490 * smime.el (smime-sign-buffer, smime-decrypt-buffer):
3491 * mml-smime.el (mml-smime-openssl-sign-query):
3492 * mml.el (mml-minibuffer-read-type, mml-minibuffer-read-disposition)
3493 (mml-insert-multipart):
3494 * gnus-msg.el (gnus-summary-yank-message):
3495 * gnus-int.el (gnus-start-news-server):
3496 * mm-decode.el (mm-interactively-view-part):
3497 * gnus-dired.el (gnus-dired-attach):
3498 * gnus.el (gnus-read-method):
3499 * gnus-bookmark.el (gnus-bookmark-jump):
3500 * gnus-art.el (gnus-mime-view-part-as-type)
3501 (gnus-mime-action-on-part, gnus-article-encrypt-body):
3502 * gnus-topic.el (gnus-topic-jump-to-topic, gnus-topic-move-matching)
3503 (gnus-topic-copy-matching, gnus-topic-sort-topics, gnus-topic-move):
3504 * nnmairix.el (nnmairix-create-server-and-default-group)
3505 (nnmairix-update-groups, nnmairix-get-server)
3506 (nnmairix-backend-to-server, nnmairix-goto-original-article)
3507 (nnmairix-get-group-from-file-path):
3508 * nnrss.el (nnrss-find-rss-via-syndic8):
3509 * gnus-group.el (gnus-group-completing-read, gnus-group-make-web-group)
3510 (gnus-group-make-useful-group, gnus-group-add-to-virtual)
3511 (gnus-group-browse-foreign-server):
3512 * gnus-sum.el (gnus-summary-goto-article, gnus-summary-limit-to-extra)
3513 (gnus-summary-execute-command, gnus-summary-respool-article)
3514 (gnus-read-move-group-name):
3515 * gnus-score.el (gnus-summary-increase-score)
3516 (gnus-summary-score-effect):
3517 * gnus-registry.el (gnus-registry-read-mark): Use gnus-completing-read.
3519 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3521 * lpath.el: Remove url-http-file-exists-p, w32-focus-frame, and
3524 * nnimap.el (auth-source-forget-user-or-password)
3525 (auth-source-user-or-password): Autoload.
3527 * message.el (message-from-style, message-interactive)
3528 (message-cite-prefix-regexp, message-sendmail-envelope-from)
3529 (message-yank-prefix, message-indentation-spaces, message-signature)
3530 (message-signature-file): Add comment.
3532 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3534 * gnus-sum.el (gnus-summary-read-group-1): Set gnus-newsgroup-highest.
3535 (gnus-summary-insert-new-articles): Use gnus-newsgroup-highest to get
3538 * nnimap.el (nnimap-request-article): Don't partial-fetch single-part
3540 (nnimap-request-article): Work with the t setting, too.
3542 * gnus-sum.el (gnus-summary-exit): Kill the article buffer later, so
3543 that you don't get flashes of other buffers.
3544 (gnus-summary-show-complete-article): Intern before setting.
3546 2010-09-27 David Engster <dengste@eml.cc>
3548 * nnmairix.el (nnmairix-replace-group-and-numbers): Deal with NOV as
3550 (nnmairix-retrieve-headers): Provide new argument for the above.
3552 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3554 * gnus-sum.el (gnus-summary-move-article): Don't alter
3555 gnus-newsgroup-active. This makes `/ N' work after copying to the same
3558 * nnimap.el (nnimap-update-info): Don't destructively alter active.
3560 * message.el (message-cite-prefix-regexp): Revert my last edit.
3562 * gnus-sum.el (gnus-summary-show-complete-article): Bind the server
3563 variable instead of the Gnus variable.
3565 * nnimap.el (nnimap-find-wanted-parts-1): Use it.
3567 * gnus-art.el (gnus-fetch-partial-articles): Move back to nnimap again.
3569 * nnimap.el (nnimap-request-accept-article): Remove the "." at the end,
3570 since some servers don't like it.
3571 (nnimap-open-connection): Forget credentials if the server says the
3573 (nnimap-parse-line): Protect against invalid data.
3575 * gnus-sum.el (gnus-summary-move-article): Add comment.
3576 (gnus-summary-insert-new-articles): Copy the old-high watermark so that
3577 nothing alters it while scanning for new messages.
3579 * nnimap.el (nnimap-request-accept-article): Send a "." at the end,
3580 which may or may not help.
3581 (nnimap-open-connection): If we're doing a stream connection, and then
3582 discover we're on a STARTTLS-capable server, then open a STARTTLS
3585 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3587 * nnimap.el (utf7): Require.
3589 * message.el (message-cite-prefix-regexp): Remove "}" from citation
3592 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3594 * nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.
3596 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3598 * nnimap.el (nnimap-request-accept-article): Message the error on
3601 2010-09-27 Katsumi Yamaoka <yamaoka@jpl.org>
3603 * gnus-art.el (gnus-mime-delete-part): Fix Lisp type of byte(s).
3605 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3607 * nndoc.el (nndoc-request-list): Return success always.
3609 * gnus-agent.el (gnus-agent-retrieve-headers): Don't propagate
3610 `fetch-old' -- we only want to fetch the articles we've requested.
3611 The rest are in the agent, probably.
3612 (gnus-agent-read-servers-validate): Change the level for the "Ignoring
3613 disappeared server" to something low. It's not important.
3615 * nnimap.el (nnimap-get-whole-article): Remove the data that may have
3616 arrived before the FETCH data.
3618 * nnmh.el (nnmh-request-expire-articles): Don't try to fetch the expiry
3619 target here, because we don't know the Gnus name of the group.
3621 * nndraft.el (nndraft-request-expire-articles): Fetch the expiry target
3622 for the correct group.
3624 * gnus-ems.el (gnus-create-image): Ignore all image-creation errors.
3626 * gnus.el (gnus): Give a final warning after startup.
3628 * gnus-util.el (gnus-action-message-log): New variable.
3629 (gnus-message): Use it.
3630 (gnus-final-warning): New function.
3632 * nnimap.el (nnimap-open-connection): Record the greeting.
3633 (nnimap): Add greeting.
3635 2010-09-26 Julien Danjou <julien@danjou.info>
3637 * gnus-html.el (gnus-html-show-images): Fix gnus-html-display-image
3639 (gnus-html-wash-images): Fix spec computing to include start/end.
3641 * gnus-art.el (gnus-article-treat-body-boundary): Fix length computing.
3643 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3645 * nnimap.el (nnimap-request-expire-articles): Compress ranges before
3647 (nnimap-retrieve-headers): Don't select the group, because that's
3648 already done by nnimap-possibly-change-group.
3650 * gnus-picon.el (gnus-picon-inhibit-top-level-domains): New variable.
3651 (gnus-picon-transform-address): Use it.
3653 * mail-source.el (mail-source-value): Revert previous patch.
3655 * nnimap.el (nnimap-credentials): Allow inhibiting the password query
3657 (nnimap-open-connection): Look up both virtual and physical server name
3660 * gnus-win.el: Revert previous patch, since it made Gnus backtrace.
3662 2009-02-07 Dave Love <fx@gnu.org>
3664 * tls.el (open-tls-stream): Don't query killing process.
3666 2009-02-08 Dave Love <fx@gnu.org>
3668 * gnus-win.el (gnus-window-to-buffer-helper)
3669 (gnus-all-windows-visible-p): Function needn't be a symbol.
3671 * mail-source.el (mail-source-value): Function needn't be a symbol.
3673 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3675 * message.el (message-cite-prefix-regexp): Remove } from the cite
3678 * gnus-art.el (gnus-treatment-function-alist): Do picons before
3679 highlight again, so that the highlight is correct.
3681 * gnus-picon.el (gnus-picon): Remove again.
3682 (gnus-picon-create-glyph): Set the background XPM colour explicitly.
3684 * gnus-art.el (gnus-treatment-function-alist): Insert picons after
3685 doing the header highlightling, so that the background colour of the
3688 * gnus-picon.el (gnus-picon-xbm): Remove obsolete face.
3689 (gnus-picon): Ditto.
3690 (gnus-picon): Reinstate. The background colour for picons is white.
3691 (gnus-picon-insert-glyph): Make the background white.
3693 * nnml.el (nnml-open-nov): Don't return dead buffers.
3695 * auth-source.el (auth-source-create): Query the user for whether to
3696 store the credentials.
3698 * netrc.el (netrc-store-data): New function.
3700 * auth-source.el (auth-source-user-or-password): Use the existing auth
3701 sources, if any, for creation.
3703 * gnus.el (gnus-group-fast-parameter): Return the last matching
3704 parameter instead of the first matching parameter.
3706 2010-09-26 Julien Danjou <julien@danjou.info>
3708 * gnus-sum.el (gnus-auto-center-group): Transform into a defcustom.
3710 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3712 * mml2015.el (mml2015-use): Remove gpg support.
3714 * mml1991.el (mml1991-function-alist): Remove gpg function.
3715 (mml1991-gpg-sign): Remove.
3717 2010-09-26 Andreas Seltenreich <seltenreich@gmx.de>
3719 * gnus-srvr.el (gnus-browse-subscribe-newsgroup-method): New variable.
3720 (gnus-browse-unsubscribe-current-group): Document it.
3721 (gnus-browse-unsubscribe-group): Use it.
3723 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3725 * gnus-group.el (gnus-read-ephemeral-bug-group): Add the bug email
3726 address to the To list for easier response.
3728 * gnus.el (gnus-play-startup-jingle): Remove.
3729 (gnus-splash): Don't play jingle.
3730 (gnus): Silence gnus-load message.
3732 * gnus-art.el (gnus-treat-play-sounds): Remove.
3734 * gnus.el (gnus-play-jingle): Remove audio support.
3736 * gnus-cus.el (gnus-score-customize): Remove audio reference.
3738 * earcon.el: Remove -- no users.
3740 * gnus-audio.el: Remove -- no users of this package.
3742 * gnus-sum.el (gnus-summary-limit-children): Remove nocem support.
3744 * gnus-start.el (gnus-setup-news): Remove nocem support.
3746 * gnus-group.el (gnus-group-get-new-news): Remove nocem call.
3748 * gnus.el (gnus-use-nocem): Remove.
3750 * gnus-demon.el (gnus-demon-add-nocem, gnus-demon-scan-nocem):
3753 * gnus-nocem.el (gnus-nocem-issuers): Remove file. Apparently nobody
3754 uses NoCeM any more.
3756 * gnus-art.el (gnus-ctan-url): Seems not very useful -- removed.
3757 (gnus-button-ctan-handler): Ditto.
3758 (gnus-button-handle-ctan-bogus-regexp): Ditto.
3759 (gnus-button-ctan-directory-regexp): Ditto.
3760 (gnus-button-handle-ctan): Ditto.
3761 (gnus-button-tex-level): Ditto.
3762 (gnus-button-alist): Remove CTAN stuff.
3764 2010-09-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3766 * nnimap.el (nnimap-wait-for-response): Reverse logic in the
3767 nnimap-streaming test.
3769 * gnus-start.el (gnus-get-unread-articles): Don't try to open failed
3772 * nnimap.el (nnimap-open-connection): Add more error reporting when
3775 * nnheader.el (nnheader-get-report-string): New function.
3776 (nnheader-get-report): Use it.
3778 * gnus-int.el (gnus-check-server): Say what the error was when opening
3781 * nnimap.el (nnimap-wait-for-response): Search further when we're not
3784 2010-09-25 Julien Danjou <julien@danjou.info>
3786 * gnus-html.el (gnus-html-rescale-image): Use our defalias
3787 gnus-window-inside-pixel-edges.
3789 2010-09-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3791 * gnus-srvr.el (gnus-server-copy-server): Add documentation.
3793 * mm-decode.el (mm-save-part): Allow saving to other directories the
3796 * nndoc.el (nndoc-type-alist): Move mime-parts after mbox.
3797 Suggested by Jay Berkenbilt.
3799 * gnus-art.el (gnus-mime-delete-part): Fix plural for "byte" when
3800 there isn't a single byte.
3802 * gnus-int.el (gnus-open-server): Don't query whether to go offline --
3803 just do it. It doesn't really seem to matter what the user responds
3804 here, I think, so it's just a confusing question.
3806 * nnimap.el (nnimap-retrieve-group-data-early): Fix typo in the
3809 * gnus-art.el (gnus-flush-original-article-buffer): Separate out.
3810 (gnus-article-encrypt-body): Use it.
3812 * gnus-sum.el (gnus-summary-show-complete-article): New command and
3815 * nnimap.el (nnimap-find-wanted-parts-1):
3816 Use gnus-fetch-partial-articles.
3818 * gnus-art.el (gnus-fetch-partial-articles): New variable.
3820 * nnimap.el (nnimap-insert-partial-structure): New function.
3821 (nnimap-get-partial-article): New function.
3822 (nnimap-request-article): Use it.
3823 (nnimap-wait-for-response): Return whether the wait was successful.
3824 (nnimap-finish-retrieve-group-infos): Don't do anything if the
3825 retrieval wasn't successful.
3826 (nnimap-retrieve-group-data-early): Allow throttling servers.
3827 (nnimap-streaming): New variable.
3828 (nnimap-fetch-partial-articles): Remove.
3830 * mm-decode.el (mm-with-part): Protect against killed buffers.
3832 * nndraft.el (nndraft-retrieve-headers): Insert Lines and Chars headers
3833 for prettier summary display.
3835 2010-09-25 Andrew Cohen <cohen@andy.bu.edu> (tiny change)
3837 * nnir.el (nnir-run-imap): Allow sending IMAP search patterns directly.
3839 2010-09-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3841 * gnus.el (gnus-local-domain): Put gnus-local-domain back again, since
3842 apparently third-party libraries depend on it.
3844 * nnimap.el (nnimap-open-connection): Wait for the response to STARTTLS
3845 before starting negotiation.
3847 * gnus-art.el (gnus-treat-from-gravatar): Change default to nil for
3849 (gnus-treat-mail-gravatar): Ditto.
3851 * gnus-ems.el (gnus-put-image): Don't put any non-blank text into the
3852 buffer when inserting images. Inserting text into the headers, for
3853 instance, can make them invalid.
3855 2010-09-25 Julien Danjou <julien@danjou.info>
3857 * rfc1843.el: Remove useless rfc1843-old-gnus-decode-header-function
3860 * nnheader.el: Remove useless variables news-reply-yank-from and
3861 news-reply-yank-message-id.
3863 * mml2015.el: Remove useless mc-default-scheme and mc-schemes
3866 * mml1991.el: Remove useless mml1991-verbose.
3868 * gnus.el: Remove useless variable gnus-use-generic-from.
3869 Remove obsolete variable gnus-topic-indentation.
3871 * gnus-uu.el: Remove useless gnus-uu-shar-file-name.
3873 * gnus-sum.el: Remove useless gnus-newsgroup-none-id.
3875 * gnus-picon.el: Remove useless gnus-picon-setup-p variable.
3877 * gnus-group.el: Remove useless gnus-group-icon-cache.
3878 Remove useless gnus-ephemeral-group-server.
3880 * gnus-bookmark.el: Remove useless gnus-bookmark-after-jump-hook.
3882 * mml2015.el: Remove useless mml2015-verbose.
3884 * mml-smime.el: Remove useless mml-smime-verbose.
3886 * gnus.el: Remove useless gnus-local-domain.
3888 * gnus-gravatar.el (gnus-gravatar-transform-address):
3889 Use gnus-gravatar-size.
3891 * gnus-art.el: Remove useless gnus-treat-translate.
3893 2010-09-24 Julien Danjou <julien@danjou.info>
3895 * gnus-sum.el: Add support for Gravatars.
3897 * gnus-art.el: Add support for Gravatars.
3899 * gnus-gravatar.el: Add this file.
3901 * gravatar.el: Add this file.
3903 2010-09-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3905 * gnus-sum.el (gnus-summary-fetch-faq): Remove.
3907 * gnus-group.el (gnus-group-fetch-faq): Remove.
3909 * gnus.el (gnus-group-faq-directory): Remove.
3911 * gnus-group.el (gnus-group-fetch-charter): Remove.
3913 * gnus.el (gnus-group-charter-alist): Remove.
3915 * gnus-group.el (gnus-group-archive-directory): Remove.
3916 (gnus-group-recent-archive-directory): Ditto.
3917 (gnus-group-make-archive-group): Remove.
3919 * nnimap.el (nnimap-update-info): Protect against nil uidnexts.
3921 * gnus-cache.el (gnus-cache-braid-heads): When braiding heads, don't
3922 use the same article number for all the cached articles.
3924 * nnimap.el (nnimap-command): Register the last command time so
3925 that we can use it for idling NOOPs.
3926 (nnimap-open-connection): Start the keeplive timer.
3927 (nnimap-make-process-buffer): Store all the process buffers.
3928 (nnimap-keepalive): New function.
3930 * starttls.el (starttls-open-stream): Add autoload cookie.
3932 2010-09-24 Michael Welsh Duggan <md5i@md5i.com> (tiny change)
3934 * nnimap.el (nnimap-split-incoming-mail): Fix paren typo in the 'junk
3937 2010-09-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3939 * nnrss.el (nnrss-retrieve-groups): Change to the group before checking
3940 its data structures.
3942 * gnus.el (gnus-sloppily-equal-method-parameters): Use copy-sequence
3943 instead of the cl.el copy-list.
3944 (gnus-sloppily-equal-method-parameters): Use equal instead of the cl
3947 2010-09-24 Katsumi Yamaoka <yamaoka@jpl.org>
3949 * gmm-utils.el (gmm-tool-bar-from-list): Always use tool-bar-local-item
3950 and tool-bar-local-item-from-menu.
3952 * gnus-agent.el (gnus-agent-make-mode-line-string): Always use
3953 mode-line-highlight face for Emacs.
3955 * gnus-art.el (toplevel): Don't bind recursive-load-depth-limit while
3956 loading gnus-sum.elc; fix comment for canlock-verify.
3957 (gnus-article-jump-to-part): Use read-number.
3958 (gnus-insert-mime-button, gnus-insert-mime-security-button):
3959 Remove Emacs pre-21 compatible code for help-echo.
3960 (gnus-article-next-page-1): No need to adjust the number of lines.
3961 (gnus-article-describe-bindings): Always use help-buffer.
3963 * gnus-audio.el (gnus-audio-inline-sound)
3964 * gnus-cus.el (gnus-custom-mode)
3965 * gnus-group.el (gnus-group-update-tool-bar): Comment fix.
3967 * gnus-sum.el (gnus-remove-overlays): Doc fix.
3969 * gnus-util.el (gnus-select-frame-set-input-focus): Remove Emacs 21
3972 2010-09-24 Glenn Morris <rgm@gnu.org>
3974 * message.el (message-output): Use gnus-output-to-rmail if a buffer is
3975 visiting the fcc file in rmail-mode.
3977 * dns-mode.el: Move autoloaded auto-mode-alist entries to files.el.
3979 2010-09-24 Katsumi Yamaoka <yamaoka@jpl.org>
3981 * nnir.el: Silence the byte compiler.
3983 * gnus-html.el (gnus-html-encode-url-chars): New function, that's an
3984 alias to browse-url-url-encode-chars if any.
3985 (gnus-html-encode-url): Use it.
3987 2010-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3989 * gnus-start.el (gnus-use-backend-marks): New variable.
3990 (gnus-get-unread-articles-in-group): Use it.
3992 * gnus-sum.el (gnus-summary-local-variables): Prepare for list/range
3995 2010-09-23 Andrew Cohen <cohen@andy.bu.edu>
3997 * nnimap.el (nnimap-retrieve-headers): Return 'headers.
3999 2010-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4001 * gnus-start.el (gnus-fixup-nnimap-unread-after-getting-new-news):
4003 (gnus-setup-news-hook):
4004 Remove gnus-fixup-nnimap-unread-after-getting-new-news.
4006 * gnus-int.el (gnus-request-update-info): Protect against backends not
4007 having the function.
4009 * nnimap.el (nnimap-stream): Mention starttls.
4010 (nnimap-open-connection): Add starttls support.
4012 2010-09-23 Andrew Cohen <cohen@andy.bu.edu>
4014 * nnir.el (nnir-run-imap): Fix up nnir to work with the new nnimap.
4016 2010-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4018 * nnimap.el (nnimap-transform-headers): Don't bug out on invalid
4020 (nnimap-transform-headers): Unfold quoted {42} headers.
4022 * gnus-start.el (gnus-get-unread-articles): Allow backends to update
4024 (gnus-get-unread-articles): Only call updatep on backends that support
4027 * nnweb.el (nnweb-request-update-info): NOOP.
4029 * nnmaildir.el (nnmaildir-request-marks): Rename from -update-info.
4031 * nnfolder.el (nnfolder-request-marks): Rename from -update-info,
4032 since it only deals with marks.
4034 * gnus-int.el (gnus-request-marks): Rename gnus-request-update-info to
4035 gnus-request-marks, and make a new gnus-request-update-info.
4037 * nnimap.el (nnimap-update-info): When UIDNEXT is present, use that for
4038 the active instead of the high number, which is usually too low.
4040 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4042 * netrc.el (netrc-parse): Remove encrypt.el mentions.
4043 * encrypt.el: Remove.
4045 2010-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4047 * nnimap.el (nnimap-update-info): Sync non-standard flags from the
4048 server in symbolic form.
4050 * gnus-html.el (gnus-max-image-proportion): Increase proportion to 0.9.
4052 2010-09-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4054 * nnimap.el (nnimap-parse-flags): Parse the data in any order.
4055 (nnimap-update-info): Fix up code slightly.
4057 * gnus-int.el (gnus-open-server): Add tracing for performance
4060 * gnus-group.el (gnus-group-highlight-line): Typo fix: beg, not start.
4061 (gnus-group-insert-group-line): Pass the real group name so that it
4062 gets the right data.
4064 * gnus-start.el (gnus-get-unread-articles): Don't have
4065 `gnus-get-unread-articles-in-group' update info, since that can be
4066 really slow and doesn't seem to be needed?
4068 2010-09-22 Dan Christensen <jdc@uwo.ca>
4070 * time-date.el (date-to-time): Try using parse-time-string first before
4071 using the slower timezone-make-date-arpa-standard.
4073 2010-09-22 Julien Danjou <julien@danjou.info>
4075 * gnus-group.el (gnus-group-insert-group-line):
4076 Call gnus-group-highlight-line.
4077 (gnus-group-update-hook): Remove gnus-group-highlight-line from the
4079 (gnus-group-update-eval-form): Add new function.
4080 (gnus-group-highlight-line): Use gnus-group-update-eval-form.
4081 (gnus-group-get-icon): Use gnus-group-update-eval-form.
4083 2010-09-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4085 * nnimap.el (nnimap-request-expire-articles): If nnmail-expiry-wait is
4086 immediate, then expire all articles.
4087 (nnimap-update-info): Fix off-by-one errors.
4088 (nnimap-flags-to-marks): Would return no marks lists for group with no
4089 flags. Instead return the other data.
4091 2010-09-22 Julien Danjou <julien@danjou.info>
4093 * gnus-group.el (gnus-group-get-icon): Rename gnus-group-add-icon that
4094 Only return an icon.
4095 (gnus-group-insert-group-line): Compute icon to return.
4097 * gnus-html.el (gnus-html-image-automatic-caching): Add custom var.
4098 (gnus-html-image-fetched): Only cache if
4099 gnus-html-image-automatic-caching is set.
4100 (gnus-html-image-fetched): Check for errors.
4102 2010-09-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4104 * gnus-start.el (gnus-read-active-for-groups): Only run -request-scan
4105 once per method on `g'. This ensures that backends like nnfolder don't
4106 open all their folders.
4108 * nnimap.el (nnimap-split-incoming-mail): Delete 'junk.
4109 (nnimap-request-list): Nix out group in the correct buffer.
4110 (nnimap-parse-flags): Implement by using `read' instead of
4112 (nnimap-flags-to-marks): Pass on permanent-flags.
4113 (nnimap-make-process-buffer): Record the server name.
4114 (nnimap-parse-flags): Fix typo.
4115 (nnimap-request-scan): Run split on the server in general, not just a
4118 * nnmail.el (nnmail-split-incoming): Take an optional junk-func
4119 parameter, and propagate this downwards.
4121 * nnimap.el (nnimap-request-list): Set the current nnimap group to nil,
4122 since EXAMINE changes it on the server.
4124 * gnus-int.el (gnus-request-expire-articles): Inhibit the daemon, since
4125 this command might take a while.
4127 2010-09-22 Julien Danjou <julien@danjou.info>
4129 * gnus-html.el (gnus-html-put-image): Stop using markers. They are
4130 harmful if you have 2 images side-by-side, they can't be properly
4131 update on text deletion. Using text-property is safer here.
4132 (gnus-html-image-fetched): Search also for \r\n\r\n to get the start of
4135 2010-09-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4137 * nnimap.el (nnimap-expunge-inbox): Remove.
4138 (nnimap-mark-and-expunge-incoming): Use nnimap-expunge instead.
4139 (nnimap-expunge): Flip default to t.
4141 * gnus.el (gnus-method-to-server): Don't push things to the cache
4143 (gnus-server-to-method): Ditto.
4145 2010-09-22 Teodor Zlatanov <tzz@lifelogs.com>
4147 * nnimap.el (nnimap-delete-article): Tell user if expunge won't happen.
4149 2010-09-22 Julien Danjou <julien@danjou.info>
4151 * gnus-html.el (gnus-html-get-image-data): Search also for \r\n\r\n to
4152 get the start of data.
4153 (gnus-html-encode-url): Add this function to encode special chars in
4155 (gnus-html-wash-images): Use gnus-html-encode-url to encode URL.
4156 (gnus-html-prefetch-images): Use gnus-html-encode-url to encode URL.
4158 * gnus-group.el (gnus-group-update-hook): Call gnus-group-add-icon by
4160 (gnus-group-add-icon): Move to gnus-group.el, and rewrite so it works.
4162 * gnus-html.el (gnus-html-wash-images): Use xml-substitute-special on
4164 (gnus-html-put-image): Put alt-text as help-echo.
4166 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4168 * mailcap.el (mailcap-parse-mailcap, mailcap-parse-mimetypes)
4169 * mm-util.el (mm-decompress-buffer)
4170 * nnir.el (nnir-run-find-grep)
4171 * pop3.el (pop3-list): Use 3rd arg of split-string.
4173 * time-date.el (format-seconds): Comment fix.
4175 * dgnushack.el (toplevel): Don't advise byte-optimize-form-code-walker
4176 and byte-optimize-form-code-walker.
4177 (dgnushack-make-auto-load): Don't advise make-autoload.
4179 * lpath.el: Remove Emacs 21 stuff.
4181 2010-09-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4183 * gnus-sum.el (gnus-update-marks): Add sanity check to not delete marks
4184 outside the active range. Suggested by Dan Christensen.
4186 * gnus-start.el (gnus-get-unread-articles): Get the extended method
4187 slightly later to avoid double-getting it.
4189 * nnml.el (nnml-generate-nov-file): Fix variable name clobbering from
4192 * gnus-sum.el (gnus-adjust-marked-articles): Fix another typo.
4194 2010-09-21 Adam Sjøgren <asjo@koldfront.dk>
4196 * gnus-sum.el (gnus-adjust-marked-articles): Fix typo.
4198 2010-09-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4200 * gnus-int.el (gnus-open-server): Give a better error message in the
4203 * gnus-sum.el (gnus-adjust-marked-articles): Hack to avoid adjusting
4204 marks for nnimap, which is seldom the right thing to do.
4206 * gnus.el (gnus-sloppily-equal-method-parameters): Refactor out.
4207 (gnus-same-method-different-name): New function.
4209 * nnimap.el (parse-time): Require.
4211 * gnus-start.el (gnus-get-unread-articles): Fix the prefixed select
4212 method in the presence of many similar methods.
4214 * nnmail.el (nnmail-expired-article-p): Fix typo: time-subtract.
4216 * nnimap.el (nnimap-find-expired-articles): Don't refer to
4217 nnml-inhibit-expiry.
4219 * gnus-sum.el (gnus-summary-move-article): Use gnus-server-equal to
4220 find out whether methods are equal.
4222 * nnimap.el (nnimap-find-expired-articles): New function.
4223 (nnimap-process-expiry-targets): New function.
4224 (nnimap-request-move-article): Request the article before looking at
4225 what the Message-ID is. Fix found by Andrew Cohen.
4226 (nnimap-mark-and-expunge-incoming): Wait for the last sequence.
4228 * nnmail.el (nnmail-expired-article-p): Allow returning the cutoff time
4229 for oldness in addition to being a predicate.
4231 * nnimap.el (nnimap-request-group): When we have zero articles, return
4232 the right data to Gnus.
4233 (nnimap-request-expire-articles): Only delete articles immediately if
4234 the target is 'delete.
4236 * gnus-sum.el (gnus-summary-move-article): When respooling to the same
4237 method, this would bug out.
4239 * gnus-group.el (gnus-group-expunge-group): Rename from
4240 gnus-group-nnimap-expunge, and implemented as a normal interface
4243 * gnus-int.el (gnus-request-expunge-group): New function.
4245 * nnimap.el (nnimap-request-create-group): Implement.
4246 (nnimap-request-expunge-group): New function.
4248 2010-09-21 Julien Danjou <julien@danjou.info>
4250 * gnus-html.el (gnus-html-image-cache-ttl): Add new variable.
4251 (gnus-html-cache-expired): Add new function.
4252 (gnus-html-wash-images): Use `gnus-html-cache-expired' to check
4253 wethever we should display image for fetch it.
4254 Compute alt-text earlier to pass it to the fetching function too.
4255 (gnus-html-schedule-image-fetching): Change function argument to only
4256 get one image at a time, not a list.
4257 (gnus-html-image-fetched): Use `url-store-in-cache' to store image in
4259 (gnus-html-get-image-data): New function to retrieve image data from
4261 (gnus-html-put-image): Change buffer argument to use image data rather
4262 than file, and place image above region rather than inserting a new
4263 one. Do not take alt-text as argument, since it's useless now: we place
4264 the image above alt-text.
4265 (gnus-html-prune-cache): Remove.
4266 (gnus-html-show-images): Start to fetch image when we find one, do not
4267 push into a temporary list.
4268 (gnus-html-prefetch-images): Only fetch image if they have expired.
4269 (gnus-html-browse-image): Fix, use 'gnus-image-url.
4270 (gnus-html-image-map): Add "v" to browse-url on undisplayed image.
4272 2010-09-20 Katsumi Yamaoka <yamaoka@jpl.org>
4274 * rfc2047.el (rfc2047-encode-parameter): Doc fix.
4276 2010-09-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4278 * gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen)
4279 spec inser "*" if the group isn't active instead of 0.
4281 * nnimap.el (nnimap-request-group): Don't select the imap buffer before
4283 (nnimap-request-delete-group): Implement group deletion.
4284 (nnimap-transform-headers): Return the size of the entire message in
4285 the Bytes header, not just the size of the first part.
4286 (nnimap-request-move-article): When moving an article from nnimap,
4287 request the article first so the accepting form has an article to
4288 accept. Reported by Dan Christensen.
4289 (nnimap-command): Make sure that the error message doesn't error out.
4291 2010-09-20 David Edmondson <dme@dme.org> (tiny change)
4293 * nnimap.el (nnimap-request-set-mark): Don't wait for a response when
4294 we haven't requested anything.
4296 2010-09-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4298 * nnimap.el (nnimap-fetch-inbox): Use "[]" as the parameter instead of
4299 "". Fix found by Andrew Cohen.
4301 * mail-parse.el (mail-header-encode-parameter): Use -encode-parameter
4302 instead of -encode-string.
4304 2010-09-20 Katsumi Yamaoka <yamaoka@jpl.org>
4306 * gnus-html.el (gnus-html-image-fetched): Pass arg to kill-buffer.
4308 * gnus-sum.el (gnus-summary-update-mark): Replace subst-char-in-string
4309 by mm-subst-char-in-string.
4311 2010-09-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4313 * nnimap.el (nnimap-wait-for-connection): Avoid a race condition while
4314 waiting for the connection string.
4316 * gnus-html.el (gnus-html-image-fetched): Protect against the data not
4319 * gnus-start.el (gnus-ignored-newsgroups): Remove [] from the list of
4320 bogus characters. This allows selecting certain Gmail groups.
4322 * nnimap.el (nnimap-find-wanted-parts-1): New function.
4323 (nnimap-fetch-partial-articles): New variable.
4324 (nnimap-open-connection): When looking for credentials, also use the
4326 (nnimap-request-article): Return the group/article number, so that Gnus
4327 `^' works as expected.
4328 (nnimap-find-wanted-parts-1): Return the MIME parts as IMAP wants them.
4330 * gnus.el (gnus-similar-server-opened): Refactor a bit and add
4332 (gnus-methods-sloppily-equal): New function.
4333 (gnus): When using the development version of Gnus, load the gnus-load
4336 * gnus-start.el (gnus-get-unread-articles): Make sure that we call
4337 `gnus-open-server' on each method before trying to scan them etc.
4338 This ensures that all the backend parameters are set correctly.
4340 * nnimap.el (nnimap-authenticator): New variable.
4341 (nnimap-open-connection): Allow anonymous login.
4342 (nnimap-transform-headers): The chars header is called Chars not Bytes.
4343 (nnimap-wait-for-response): Don't infloop if the IMAP connection drops.
4345 * gnus-art.el (gnus-article-describe-briefly): Fix up typo in last
4346 patch, found by Knut Anders Hatlen.
4348 2010-09-19 Andreas Schwab <schwab@linux-m68k.org>
4350 * gnus-agent.el (gnus-agent-batch-confirmation)
4351 (gnus-agent-expire-group, gnus-agent-expire): Pass proper format string
4353 * gnus-art.el (gnus-article-describe-briefly): Likewise.
4354 * gnus-group.el (gnus-group-list-groups, gnus-group-describe-group)
4355 (gnus-group-edit-global-kill, gnus-group-describe-briefly): Likewise.
4356 * gnus-int.el (gnus-open-server): Likewise.
4357 * gnus-score.el (gnus-score-edit-current-scores, gnus-score-edit-file)
4358 (gnus-score-check-syntax): Likewise.
4359 * gnus-srvr.el (gnus-browse-describe-briefly): Likewise.
4360 * gnus-start.el (gnus-read-active-file-1, gnus-read-active-file-1):
4362 * gnus-sum.el (gnus-summary-describe-briefly): Likewise.
4364 2010-09-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4366 * gnus-html.el (gnus-html-prefetch-images): Fix up the url-retrieve
4367 calling conventions so that prefetch doesn't bug out.
4369 2010-09-19 Julien Danjou <julien@danjou.info>
4371 * gnus-sum.el (gnus-summary-update-mark): Use `subst-char-in-string'
4372 rather than `subst-char-in-region' in order to be able to replace ASCII
4375 * gnus-html.el (gnus-html-prefetch-images): Use `url-retrieve' rather
4377 (gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting
4378 the right URL and ALT text on images.
4379 (gnus-html-wash-tags): Fix tag case.
4380 Add support for `s' and `ins' tags. Use gnus-emphasis-* faces.
4381 (gnus-article-html): Add -o display_ins_del=2 option.
4382 (gnus-html-wash-tags): Add better support for <ul> tags symbols.
4384 2010-09-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4386 * nnheader.el (nnheader-insert-nov): Protect against junk appearing in
4387 the extra mail headers, which sometimes seem to happen for unknown
4390 * mail-parse.el (mail-header-encode-parameter): Define as
4391 rfc2045-encode-string instead of as rfc2231-encode-string, since some
4392 (or most, perhaps?) mail readers don't understand the latter, but do
4393 understand the former.
4395 * gnus-agent.el (gnus-agent-auto-agentize-methods): Switch the default
4396 to nil, so that no methods are automatically agentized. I think this
4397 is probably what most users want.
4399 * gnus-html.el (gnus-html-schedule-image-fetching): Ignore all errors
4400 from url-retrieve, for instance about invalid URLs.
4402 * nnimap.el (nnimap-finish-retrieve-group-infos): Protect against
4403 groups that have no articles.
4404 (nnimap-request-article): Check that we really got an article when we
4407 * gnus-agent.el (gnus-agent-load-alist): Nix out the alist if the file
4410 * nnimap.el (nnimap-finish-retrieve-group-infos): Return data in the
4411 nntp buffer so the agent can save it.
4412 (nnimap-open-shell-stream): Bind `process-connection-type' to nil, so
4413 that CRLF doesn't get translated to \n.
4414 (nnimap-open-connection): Don't make 'shell commands only send \n.
4416 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4418 * nnml.el (nnml-files): Add prefix to dynamic var `files'.
4419 (nnml-generate-nov-databases-directory, nnml-generate-active-info):
4421 (nnml-generate-nov-file): Use dolist.
4422 (nnml-directory-articles, nnml-current-group-article-to-file-alist):
4423 Use with-current-buffer.
4425 2010-09-18 Julien Danjou <julien@danjou.info>
4427 * gnus-html.el (gnus-html-schedule-image-fetching): Fetch all images in
4430 2010-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4432 * nnimap.el (nnimap-update-info): When doing partial marks update, get
4433 the range update right.
4434 (nnimap-request-group): Don't make `M-g' bug out on group with no
4436 (nnoo): Require, so that other packages can require nnimap.
4437 (nnimap-wait-for-response): Be a bit more lax in finding the end of the
4438 command we're looking for. This helps when the server sends more
4439 responses after we've gotten everything we expected.
4440 (nnimap): Add a `newlinep' field to keep track of end-of-line
4442 Don't send CRLF to things that don't want it.
4443 (nnimap-request-accept-article): Ditto.
4445 2010-09-18 Julien Danjou <julien@danjou.info>
4447 * gnus-html.el (gnus-html-schedule-image-fetching): Use `url' rather
4448 than curl to retrieve images.
4450 2010-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4452 * nnimap.el (nnimap-update-info): Extend the info so that we can set
4454 (nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.
4455 (nnimap-wait-for-connection): New function.
4456 (nnimap-open-connection): If we have PREAUTH, don't query for login
4458 (nnimap-update-info): Fix off-by-one error when concatenating ranges
4459 when doing a partial update.
4461 2010-09-18 Julien Danjou <julien@danjou.info>
4463 * gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML
4466 2010-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4468 * nnimap.el (nnimap-credentials): New function.
4469 (nnimap-open-connection): Use the new function to look for credentials
4470 also on the numeric equivalents of "imap" and "imaps".
4472 * gnus-start.el (gnus-activate-group): Send the info to
4475 * nnimap.el (nnimap-request-group): Have the "check" version of the
4476 function parse flags and update the info, so that a `M-g' get a total
4477 resync of all flags from the group.
4479 * gnus-int.el (gnus-request-group): Take an optional `info' parameter
4480 to allow backends to alter the info on group selection. Also alter all
4481 the backend -request-group functions to take the parameter.
4483 * nnimap.el (nnimap-store-info): New function.
4484 (nnimap-update-info): Store the info for later usage.
4485 (nnimap-request-group): Use the stored info for the dont-check case, so
4486 that we don't retrieve all marks when we enter a group.
4488 * nnimap.el: Use deffoo instead of defun for interface functions.
4490 * gnus-start.el (gnus-get-unread-articles): Allow the backends to
4491 update the group info. This makes the nndraft groups, for instance, go
4492 back to their old behaviour.
4494 * gnus-sum.el (gnus-select-newsgroup): Indent.
4496 * nnimap.el (nnimap-possibly-change-group): Return nil if we can't log
4498 (nnimap-finish-retrieve-group-infos): Make sure we're not waiting for
4501 * gnus-start.el (gnus-get-unread-articles): Don't try to scan groups
4502 from methods that are denied.
4504 * gnus-int.el (gnus-method-denied-p): New function.
4506 * nnimap.el (nnimap-open-connection): Use auth-sources to query and
4507 store the password instead of netrc.
4508 (nnimap-open-connection): Don't error out when we can't make a
4511 * auth-source.el (auth-source-create): In the password prompt, say what
4512 we're querying for. Also prompt for user name if that hasn't been
4515 * nnimap.el (nnimap-with-process-buffer): Remove.
4517 2010-09-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4519 * gnus-start.el (gnus-read-active-for-groups): Don't use the "finish"
4520 method when we're reading from the agent.
4522 * nnagent.el (nnagent-retrieve-group-data-early): New dummy method.
4524 * auth-source.el (auth-sources): Add ~/.authinfo to the default, since
4525 that's probably most useful for users.
4527 * gnus-int.el (gnus-check-server): Save result so that it doesn't say
4528 "failed" all the time.
4530 * gnus.el: Throughout all files, replace (save-excursion (set-buffer
4531 ...)) with (with-current-buffer ... ).
4533 * nntp.el (nntp-open-server): Return whether the open was successful or
4536 * gnus-sum.el (gnus-summary-first-subject): Have `unseen-or-unread'
4537 select an unread unseen article first.
4539 * nnimap.el (nnimap-open-connection): If the user doesn't have a
4540 /etc/services, supply some sensible port defaults.
4542 * dgnushack.el: Define netrc-credentials.
4544 2010-09-17 Julien Danjou <julien@danjou.info>
4546 * mm-decode.el (mm-text-html-renderer): Document gnus-article-html.
4548 2010-09-17 Knut Anders Hatlen <kahatlen@gmail.com> (tiny change)
4550 * nnimap.el (nnimap-get-groups): Don't bug out if the LIST command
4551 doesn't have any parameters.
4553 2010-09-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4555 * nnimap.el (nnimap-open-connection): Upcase all capabilities, and use
4556 only upcased checks.
4558 * nnmail.el (nnmail-article-group): Fix typo in "bogus" section.
4560 * nnimap.el (nnimap-open-shell-stream): New function.
4561 (nnimap-open-connection): Use it.
4562 (nnimap-transform-headers): Get the number of lines in each message.
4563 (nnimap-retrieve-headers): Query for BODYSTRUCTURE so that we get the
4565 (nnimap-request-list): Not all servers return UIDNEXT. Work past this
4568 * utf7.el (utf7-encode): Autoload.
4570 * nnmail.el (nnmail-inhibit-default-split-group): New internal variable
4571 to allow the mail splitting to not return a default group. This is
4572 useful for nnimap, which will leave unmatched mail in the inbox.
4574 * nnimap.el: Rewritten.
4576 * gnus.el (gnus-article-special-mark-lists): Add uid/active tuples, for
4579 * gnus-sum.el (gnus-summary-move-article): Pass the move-to group name
4580 if the move is internal, so that nnimap can do fast internal moves.
4582 * gnus-start.el (gnus-get-unread-articles): Support early retrieval of
4584 (gnus-read-active-for-groups): Support finishing the early retrieval of
4587 * gnus-range.el (gnus-range-nconcat): New function.
4589 * gnus-int.el (gnus-finish-retrieve-group-infos)
4590 (gnus-retrieve-group-data-early): New functions.
4592 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4594 * nnrss.el (nnrss-retrieve-headers, nnrss-request-list-newsgroups)
4595 (nnrss-retrieve-groups):
4596 * pop3.el (pop3-open-server, pop3-read-response, pop3-list, pop3-retr)
4597 (pop3-quit): Use with-current-buffer.
4599 2010-09-17 Katsumi Yamaoka <yamaoka@jpl.org>
4601 * pop3.el (pop3-wait-for-messages): Use pop3-accept-process-output
4602 instead of nnheader-accept-process-output.
4604 * dgnushack.el (dgnushack-compile): Add comment.
4606 * lpath.el: No need to fbind propertize for XEmacs 21.4.
4608 * gnus-html.el (gnus-html-schedule-image-fetching)
4609 (gnus-html-prefetch-images): Replace process-kill-without-query by
4610 gnus-set-process-query-on-exit-flag.
4612 2010-09-16 Romain Francoise <romain@orebokech.com>
4614 * gnus-html.el: Require gnus-art for `gnus-with-article-buffer'.
4616 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4618 * gnus-registry.el (gnus-registry-install-shortcuts): The second
4619 parameter to unintern is mandatory-ish in Emacs 24.
4621 * gnus-html.el (gnus-html-schedule-image-fetching)
4622 (gnus-html-prefetch-images): Check for curl before using it.
4624 * mm-decode.el (mm-text-html-renderer): Don't have gnus-article-html
4625 depend on curl, which isn't essential.
4627 * imap.el: Revert back to version
4628 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4631 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4633 * gnus-registry.el (gnus-registry-install-shortcuts):
4634 Explicitly pass `obarray' to `unintern' to avoid a warning.
4636 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4638 * gnus-start.el (gnus-read-active-for-groups): Revert the previous
4641 * nnrss.el (nnrss-request-list): Remove this function and related
4642 functions, including the moreover stuff.
4644 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4646 * nnrss.el (nnrss-retrieve-groups): New function.
4648 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4650 * .dir-locals.el: Add no-byte-compile cookie.
4652 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4654 * time-date.el (format-seconds): Comment fix.
4656 * gnus-start.el (gnus-read-active-for-groups): Run gnus-activate-group
4657 for back end that doesn't support request-scan.
4659 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4661 * gnus-start.el (gnus-read-active-file-1): If gnus-agent isn't set,
4662 then do request scans from the backends.
4664 * netrc.el (netrc-credentials): New conveniency function.
4666 * gnus-sum.el (gnus-summary-update-hook): Change default to nil, to
4667 avoid running a hook per line, since this takes a lot of time,
4669 (gnus-summary-prepare-threads): Call `gnus-summary-highlight-line'
4670 directly if gnus-visual-p is true.
4672 2010-09-10 Katsumi Yamaoka <yamaoka@jpl.org>
4674 * gnus-start.el (gnus-read-active-for-groups): Check only subscribed
4675 groups; replace mapcar with dolist which is a bit faster; pass groups
4676 info to gnus-read-active-file-1.
4677 (gnus-read-active-file-1): Scan only specified groups if the new
4678 optional arg `infos' is given.
4680 2010-09-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4682 * mail-source.el (mail-source-fetch-pop): Use pop3-movemail again.
4684 * pop3.el (pop3-movemail): Remove.
4685 (pop3-streaming-movemail): Rename to pop3-movemail.
4687 * gnus-html.el (gnus-html-wash-tags): Refactor out the image bit, and
4688 don't restrict end-tag searches to the end of the line.
4690 2010-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
4692 * gnus-start.el (gnus-get-unread-articles): Set the number of unread
4693 articles of every unchecked group to t, which means unknown since the
4694 server has never been opened.
4696 2010-09-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4698 * gnus-html.el (gnus-html-show-alt-text): New command.
4699 (gnus-html-browse-image): Ditto.
4700 (gnus-html-wash-tags): Add the data to allow showing the ALT text and
4701 to browse the image directly.
4702 (gnus-html-wash-tags): Search for images first, so that <a><img> works
4705 * gnus-async.el (gnus-async-article-callback):
4706 Call `gnus-html-prefetch-images' unconditionally.
4708 * gnus-html.el (gnus-html-schedule-image-fetching): Decode entities
4709 before feeding URLs to curl.
4711 2010-09-07 Katsumi Yamaoka <yamaoka@jpl.org>
4713 * gnus-html.el (gnus-html-wash-tags, gnus-html-put-image): Mark cid and
4714 internal images as deletable by `W D D'.
4716 * gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling.
4717 (gnus-async-article-callback): Fix typo.
4719 2010-09-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4721 * gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the
4722 current line to work around bugs in the output from w3m.
4724 * gnus-async.el (gnus-async-article-callback): Always prefetch images
4725 for groups that want that.
4727 * nntp.el (nntp-wait-for-string): Supply a timeout for
4728 accept-process-output to ensure progress.
4730 * gnus-start.el (gnus-get-unread-articles): If being given an explicit
4731 level to get unread articles from, then use that for foreign groups,
4734 * gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which
4735 confuses the rest of the function.
4737 * gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan'
4738 for the methods that support -retrieve-groups, too.
4740 * nnml.el (nnml-save-nov): Remove some debugging-related messages.
4742 2010-09-06 Katsumi Yamaoka <yamaoka@jpl.org>
4744 * dgnushack.el (dgnushack-compile, dgnushack-make-cus-load)
4745 (dgnushack-make-auto-load): Exclude .dir-locals.el file.
4747 * pop3.el: Require cl when compiling.
4748 (pop3-number-of-responses): Search for "+OK", not "+OK ".
4750 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4752 * gnus-start.el (gnus-get-unread-articles): Don't bother with groups
4753 that aren't going to be activated.
4754 (gnus-get-unread-articles): Fix up the last commit.
4756 * gnus-html.el (gnus-article-html): Allow calling without specifying
4757 the handle. In that case, dissect the buffer first.
4759 * gnus-sum.el (gnus-set-mode-line): Don't pad the mode line string.
4761 * nnimap.el (nnimap-open-connection): Revert the change that would look
4762 into authinfo for imaps instead of imap.
4764 * gnus-start.el (gnus-activate-group): Take an optional parameter to
4765 say that you don't want to call gnus-request-group with don-check, but
4766 do check the reponse. This is for virtual groups only.
4767 (gnus-get-unread-articles): Count the archive groups as secondary, so
4768 that they're activated the same way as before.
4770 * imap.el (imap-message-map): Removed optional buffer parameter, since
4772 (imap-message-get): Ditto.
4773 (imap-message-put): Ditto.
4774 (imap-mailbox-map): Ditto.
4775 (imap-mailbox-put): Ditto.
4776 (imap-mailbox-get): Ditto.
4777 (imap-mailbox-get): Revert last change for this function.
4779 * nnimap.el (nnimap-request-list): Servers may return \NoSelect
4781 (nnimap-debug): Remove.
4783 * imap.el (imap-fetch-safe): Removed function, and altered all callers
4784 to use `imap-fetch' instead. According to the comments, this should be
4785 safe, since all other IMAP clients use the 1:* syntax.
4786 (imap-enable-exchange-bug-workaround): Removed.
4787 (imap-debug): Removed -- doesn't seem very useful.
4789 * mail-source.el (mail-source-fetch): Don't message if we're fetching
4790 mail from a file, and the file doesn't exist.
4792 * imap.el (imap-log): New convenience function used throughout instead
4793 of repeating the same code all over the place.
4795 * pop3.el (pop3-streaming-movemail): Return t for success.
4797 * nnimap.el (nnimap-open-connection): Look for the "imaps" entry in the
4798 .authinfo if we're using ssl connection.
4800 * nnvirtual.el (nnvirtual-create-mapping): Use the active info we
4801 already have if we're in a main Gnus `g' run.
4803 * gnus-start.el (gnus-method-rank): Get info for virtual groups last.
4805 2010-09-05 Katsumi Yamaoka <yamaoka@jpl.org>
4807 * gnus-start.el (gnus-method-rank): Replace equalp with equal.
4809 * nnmh.el (nnmh-request-list-1): Bind `file'.
4811 * pop3.el (pop3-set-process-query-on-exit-flag): New function that's an
4812 alias to set-process-query-on-exit-flag or process-kill-without-query.
4813 (pop3-open-server): Use it.
4815 2010-09-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4817 * mail-source.el (mail-source-delete-crash-box): Always move the crash
4818 box to the Incoming file. Fixes mistake in previous checkin.
4820 * pop3.el (pop3-send-streaming-command): Off-by-one error on the
4821 request loop (for debugging purposes) removed.
4823 * nnml.el (nnml-save-nov): Message around nnml-save-nov so that the
4824 culprit is more visible.
4825 (nnml-save-incremental-nov, nnml-open-incremental-nov)
4826 (nnml-add-incremental-nov): New functions to do "incremental" nov
4827 updates, where we just append to the end of the existing nov files
4828 without reading/writing them in full.
4830 * mail-source.el (mail-source-delete-crash-box): Really only check the
4831 incoming files once in a while.
4833 * pop3.el (pop3-streaming-movemail): Always close the pop3 connection.
4835 * mail-source.el (mail-source-delete-crash-box): Only check the
4836 incoming files for deletion once per day to save a lot of file
4839 * pop3.el (pop3-logon): Fix up unbound variable typo.
4841 * mail-source.el (pop3-streaming-movemail): Autoload.
4843 * pop3.el (pop3-streaming-movemail):
4844 Respect pop3-leave-mail-on-server.
4846 * mail-source.el (mail-source-fetch-pop): Use streaming pop3
4849 * pop3.el (pop3-process-filter): Remove unused function.
4850 (pop3-streaming-movemail, pop3-send-streaming-command)
4851 (pop3-wait-for-messages, pop3-write-to-file)
4852 (pop3-number-of-responses): New functions for streaming pop3
4855 * gnus-start.el (gnus-get-unread-articles): Protect against groups that
4856 come from no known methods.
4857 (gnus-make-hashtable-from-newsrc-alist): Remove duplicates from .newsrc
4860 * pop3.el (pop3-display-message-size-flag): Remove -- everybody wants
4862 (pop3-movemail): Use erase-buffer instead of looping and deleting
4863 regions, which seems rather odd.
4865 * gnus-agent.el (gnus-agent-load-local): Only read the agent.lib/local
4866 file once per `g' run.
4868 * nnmh.el (nnmh-request-list-1): Output active lines also for empty
4869 directories. This makes the draft queue directory work.
4871 * gnus-start.el (gnus-get-unread-articles): Rewrite the way we request
4872 data from the backends, so that we only request the list of groups from
4873 each method once. This should speed things up considerably.
4875 * nnvirtual.el (nnvirtual-request-list): Remove function so that we can
4876 detect that it's not implemented.
4878 * nnmh.el (nnmh-request-list-1): Fix up the recursion behavior so that
4879 we actually do recurse down into the tree, but don't stat all leaf
4882 * gnus-html.el (gnus-html-show-images): If there are no images to show,
4883 then say so instead of bugging out.
4885 * gnus-agent.el (gnus-agent-load-alist): Check whether the agentview
4886 files exist before trying to read them.
4888 * gnus-html.el (gnus-html-wash-tags): Remove even more white space
4891 * gnus-art.el (gnus-article-copy-string): Say what data we copied.
4893 * nnmh.el (nnmh-request-list-1): Optimize for speed.
4895 2010-09-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4897 * mm-util.el (mm-image-load-path): Just return the image directories,
4898 not all directories in the path in addition to the image directories.
4899 (mm-image-load-path): Maintain a cache of the image directories so that
4900 the `g' command in Gnus doesn't have to stat dozens of directories each
4903 * gnus-html.el (gnus-html-put-image): Allow images to be removed.
4904 (gnus-html-wash-tags): Add a new `i' command to insert images.
4905 (gnus-html-insert-image): New command and keystroke.
4906 (gnus-html-redisplay-with-images): New command and keystroke.
4907 (gnus-html-show-images): Rename command.
4908 (gnus-html-wash-tags): Remove more white space before <pre_int> image
4910 (gnus-html-wash-tags): Decode entities at the end, so that entities
4911 inside the tags don't mess up the rest of the "parsing".
4913 * gnus-agent.el (gnus-agent-auto-agentize-methods): Change the default
4914 so that nnimap methods aren't agentized by default. There's apparently
4915 many problems related to agent/imap behaviour.
4917 * gnus-art.el (gnus-article-copy-string): New command and key binding.
4919 * gnus-html.el: Doc fix.
4921 2010-09-03 Katsumi Yamaoka <yamaoka@jpl.org>
4923 * lpath.el: Fbind device-on-window-system-p, glyph-image, glyphp, and
4924 specifier-spec-list for Emacs 21.
4926 * gnus-html.el (gnus-html-put-image): Use gnus-graphic-display-p,
4927 glyph-width and glyph-height instead of display-graphic-p and
4928 image-size; make avoidance of displaying small images work for XEmacs.
4930 * gnus-util.el (gnus-graphic-display-p): Use device-on-window-system-p
4933 * gnus-ems.el (gnus-set-process-plist, gnus-process-plist): Change name
4934 of symbol that holds plist data.
4935 (gnus-process-plist): Remove plist of process after getting it.
4937 2010-09-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4939 * message.el (message-generate-hashcash): Change default to
4940 'opportunistic if hashcash is installed.
4942 * gnus-html.el (gnus-html-rescale-image): Fix up typo in rescaling.
4943 (gnus-html-put-image): Only call image-size once, since it's somewhat
4944 time-consuming on remote X servers.
4946 2010-09-02 Katsumi Yamaoka <yamaoka@jpl.org>
4948 * gnus-xmas.el (gnus-xmas-create-image): Don't try to examine image
4949 type on data, not a file name.
4951 * lpath.el: Fbind w3-parse-buffer for Emacs <=22 and XEmacs; fbind
4952 window-pixel-edges for Emacs 21.
4954 * gnus-html.el (gnus-article-html): Make work buffer multibyte for
4956 (gnus-html-put-image, gnus-html-rescale-image): Pass `file' argument.
4958 2010-09-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4960 * gnus-group.el (gnus-group-line-format): Remove %O (moderated) from
4961 group line format, since it isn't very interesting.
4963 * gnus-agent.el (gnus-agent-short-article),
4964 (gnus-agent-long-article): Increase values for these two variables,
4965 since most people are likely to have more network connection and
4966 storage than before.
4968 * gnus.el (gnus-refer-article-method): Change default to 'current.
4969 When referring an article, the common behaviour is to refer it from the
4970 current select method, not the native select method. The chances of
4971 the native select method having the message in question is rather slim
4974 * gnus-sum.el (gnus-auto-select-subject): Change default to
4975 `unseen-or-unread'. I think it's likely that most people want to
4976 select an unseen article over a previously seen, but unread one.
4978 * gnus.el (gnus-mode-non-string-length): Change default to 30. nil
4979 means that in the article buffer none of the minor mode elements will
4980 be shown, usually, and this is not desirable in most cases.
4982 * gnus-sum.el (gnus-summary-goto-unread): Change default to nil, so
4983 that commands like `d' (and the like) go to the next line in the
4984 buffer, instead of the next unread article. I think this is the
4985 behaviour that is most natural for most users.
4986 (gnus-single-article-buffer): Change default to nil, so that people can
4987 have as many article buffers open as they have summary buffer. I think
4988 this is the most natural way for the groups to behave.
4990 * message.el (message-generate-new-buffers): Change default to
4991 `unsent', so that all new message buffers start their names with the
4992 string "*unsent", and it's easier to find the buffers if you move from
4995 2010-09-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4997 * gnus-html.el (gnus-html-wash-tags): Don't show images that are really
4998 small. They're probably tracking images.
4999 (gnus-html-wash-tags): Remove all <pre_int> place holders.
5000 (gnus-html-rescale-image): Yet another try at getting the image sizing
5003 * nntp.el (nntp-request-set-mark): Refuse to do marks if
5004 nntp-marks-file-name is nil.
5006 2010-09-01 Teodor Zlatanov <tzz@lifelogs.com>
5008 * gnus-html.el (gnus-html-wash-tags)
5009 (gnus-html-schedule-image-fetching, gnus-html-image-url-blocked-p):
5012 2010-09-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5014 * nndoc.el (nndoc-type-alist): Add a new type for Google digests.
5016 * gnus-html.el (gnus-html-wash-tags): Check the value of
5017 gnus-blocked-images in the summary buffer.
5019 2010-09-01 Teodor Zlatanov <tzz@lifelogs.com>
5021 * gnus-html.el (gnus-html-image-url-blocked-p): Doc fix.
5023 2010-09-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5025 * gnus-html.el (gnus-html-wash-tags): "A" is also used for links, just
5026 like "a", it seems like.
5027 (gnus-html-image-url-blocked-p): Take a parameter for blocked-images
5028 since it needs to be picked from the correct buffer.
5032 * nnlistserv.el: Remove.
5034 2010-09-01 Teodor Zlatanov <tzz@lifelogs.com>
5036 * gnus-html.el (gnus-html-image-url-blocked-p): New function.
5037 (gnus-html-prefetch-images, gnus-html-wash-tags): Use it.
5039 2010-09-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5041 * nnkiboze.el: Remove.
5045 * gnus-html.el (gnus-html-put-image): Use the deleted text as the image
5047 (gnus-html-rescale-image): Try to get the rescaling logic right for
5048 images that are just wide and not tall.
5050 * gnus.el (gnus-string-or): Fix the syntax to not use eval or
5051 overshadow variable bindings.
5053 2010-09-01 Teodor Zlatanov <tzz@lifelogs.com>
5055 * gnus-html.el (gnus-html-wash-tags)
5056 (gnus-html-schedule-image-fetching, gnus-html-prefetch-images):
5059 2010-09-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5061 * gnus-html.el (gnus-html-wash-tags): Delete the IMG_ALT region.
5062 (gnus-max-image-proportion): New variable.
5063 (gnus-html-rescale-image): New function.
5064 (gnus-html-put-image): Rescale images.
5066 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5068 Fix up some byte-compiler warnings.
5069 * gnus.el (gnus-group-find-parameter, gnus-kill-save-kill-buffer):
5070 * gnus-cite.el (gnus-article-highlight-citation, gnus-dissect-cited-text)
5071 (gnus-article-fill-cited-article, gnus-article-hide-citation)
5072 (gnus-article-hide-citation-in-followups, gnus-cite-toggle):
5073 * gnus-group.el (gnus-group-set-mode-line, gnus-group-quit)
5074 (gnus-group-set-info, gnus-add-mark): Use with-current-buffer.
5075 (gnus-group-update-group): Use save-excursion and with-current-buffer.
5077 2010-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
5079 * gnus-html.el (gnus-article-html): Decode contents by charset.
5081 2010-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
5083 * gnus-html.el (gnus-html-cache-directory, gnus-html-cache-size)
5084 (gnus-html-frame-width, gnus-blocked-images)
5085 * message.el (message-prune-recipient-rules): Add custom version.
5086 * gnus-sum.el (gnus-auto-expirable-marks): Bump custom version.
5088 * gnus-ems.el (gnus-process-get, gnus-process-put): New compatibility
5091 * gnus-html.el (gnus-html-curl-sentinel): Replace process-get with
5094 2010-08-31 Julien Danjou <julien@danjou.info> (tiny change)
5096 * nnimap.el (nnimap-request-newgroups): Use nnimap-request-list-method
5097 instead of lsub directly.
5099 2010-08-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5101 * nnwarchive.el: Remove.
5103 * gnus-soup.el: Remove.
5105 * nnsoup.el: Remove.
5107 * nnultimate.el: Remove.
5109 * gnus-html.el (gnus-blocked-images): New variable.
5111 * message.el (message-prune-recipients): New function.
5112 (message-prune-recipient-rules): New variable.
5114 * gnus-cite.el (gnus-article-natural-long-line-p): New function to
5115 guess whether a long line is natural text or not.
5117 * gnus-html.el (gnus-html-schedule-image-fetching):
5118 Use gnus-process-plist and friends for compatibility.
5120 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5122 * gnus-html.el: Require packages that define macros used in this file.
5123 (gnus-article-mouse-face): Declare to silence byte-compiler.
5124 (gnus-html-curl-sentinel): Use with-current-buffer, inhibit-read-only, and
5126 (gnus-html-put-image): Use plist-get to avoid getf.
5127 (gnus-html-prefetch-images): Use with-current-buffer.
5129 2010-08-31 Katsumi Yamaoka <yamaoka@jpl.org>
5131 * gnus-ems.el: Provide compatibility functions for
5132 gnus-set-process-plist.
5134 * lpath.el: Bind completion-styles for Emacs 21 and XEmacs; bind
5135 header-line-format for XEmacs 21.4.
5137 * gnus-sum.el (gnus-summary-stop-at-end-of-message)
5138 * gnus.el (gnus-valid-select-methods)
5139 * message.el (message-send-mail-partially-limit)
5140 * mm-decode.el (mm-text-html-renderer)
5141 * mml.el (mml-insert-mime-headers-always)
5142 * smiley.el (smiley-regexp-alist): Bump custom version.
5144 2010-08-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5146 * gnus-html.el: require mm-url.
5147 (gnus-html-wash-tags): Clarify the code a bit by renaming the variable
5148 with the url to `url'.
5149 (gnus-html-wash-tags): Support cid: URLs/images.
5151 2010-08-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5153 * gnus-sum.el: As per discussion 3 years, 8 weeks, 3 days, 9 hours, 57
5154 minutes, 56 seconds ago on the ding list, remove the `w' and `i'
5155 bindings, as they aren't useful at all. `w' is moved to `W w'.
5157 * gnus-move.el: Remove file, since it doesn't really work.
5159 * gnus-html.el (gnus-article-html): Tell w3m that the input is
5160 UTF-8. This seems to fix problems with some German web feeds.
5162 * gnus.el (gnus-group-startup-message): Put the xpm version of the logo
5163 at the top so that the proper colours are applied.
5165 * gnus-xmas.el (gnus-xmas-create-image): Make this work on files that
5166 don't have dots in their names.
5168 * gnus-art.el (gnus-article-view-part): Doc fix.
5170 * gnus-html.el (gnus-html-put-image): Use gnus-create-image to be
5172 (gnus-html-put-image): Don't do images on non-graphic displays.
5174 * nnslashdot.el: Remove this unused backend.
5176 * gnus-undo.el (gnus-undo-register-1): Limit the undo actions to 100
5178 (gnus-undo-register-1): Revert last change.
5180 * gnus-group.el (gnus-group-completing-read): Protect against not
5181 having completion-styles bound.
5183 * mml.el (mml-insert-mime-headers-always): Change the default to t, to
5184 make broken recipients happier.
5186 * gnus-html.el (gnus-html-put-image): Use gnus-put-image.
5188 * gnus-ems.el (gnus-put-image): Have gnus-put-image take an optional
5191 * gnus-xmas.el (gnus-xmas-put-image): Ditto.
5193 * gnus-group.el (gnus-group-completing-read): Add 'substring to
5194 completion-styles for group selection.
5196 2009-02-04 Andreas Schwab <schwab@suse.de>
5198 * gnus-score.el (gnus-score-string): Fix regex for matching extra
5199 headers and regexp-quote the match if necessary.
5201 2009-03-24 Miles Bader <miles@gnu.org>
5203 * smiley.el (smiley-regexp-alist): Don't delete the semicolon before
5204 the blinking smiley.
5206 2009-03-24 Simon Josefsson <simon@josefsson.org>
5208 * smiley.el (smiley-regexp-alist): Disallow ;;) from being treated as a
5211 2010-08-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5213 * gnus-start.el (gnus-dribble-read-file): Ensure that the directory
5214 where the dribbel file lives exists.
5216 * message.el (message-send-mail-partially-limit): Change the default to
5217 nil, since most people don't want this.
5219 * mm-url.el (mm-url-decode-entities): Also decode entities like
5222 2009-07-16 Kevin Ryde <user42@zip.com.au> (tiny change)
5224 * gnus-sum.el (gnus-summary-idna-message):
5225 * nnrss.el (nnrss-normalize-date, nnrss-discover-feed):
5226 Hyperlink urls in docstrings with URL `...'.
5228 2010-08-29 Adam Sjøgren <asjo@koldfront.dk>
5230 * gnus-html.el (gnus-html-put-image): Use XEmacs-compatible image
5233 2010-08-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5235 * gnus-art.el (gnus-article-add-button): Take an optional parameter to
5236 say what the mouseover text should be.
5238 * gnus-html.el (gnus-html-prefetch-images): Use the summary-local
5239 version of the mm-w3m-safe-url-regexp variable to only download images
5240 in the groups where we want that to happen.
5242 * gnus-sum.el (gnus-summary-stop-at-end-of-message): New variable.
5244 * gnus-art.el (gnus-article-beginning-of-window): Make into defun for
5246 (gnus-article-beginning-of-window): Add kludge to allow spacing past
5247 big pictures in the article buffer.
5249 * mm-decode.el (mm-text-html-renderer): Default the html renderer to
5251 (mm-text-html-renderer): gnus-article-html needs curl in addition to
5254 * gnus-html.el: Start a new super-simple HTML renderer based on w3m.
5256 2010-08-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5258 * gnus.el (gnus-valid-select-methods): Remove reference to nngoogle,
5259 which doesn't exist.
5261 * message.el (message-inhibit-ecomplete): New variable to allow some
5262 function to inhibit ecomplete address storage.
5263 (message-resend): Disable ecomplete message storage when resending
5266 * nntp.el (nntp-async-kluge): Remove the Emacs 20.3-related kluge.
5268 2010-08-27 Katsumi Yamaoka <yamaoka@jpl.org>
5270 * gnus-sum.el (gnus-summary-move-article, gnus-summary-delete-article):
5271 Save excursion while copying, moving, and deleting articles in order to
5272 prevent the cursor from jumping to unforeseen place.
5274 2010-08-17 Katsumi Yamaoka <yamaoka@jpl.org>
5276 * lpath.el: No need to bind bookmark-current-buffer,
5277 bookmark-yank-point and bookmark-make-record-function.
5279 2010-08-17 Glenn Morris <rgm@gnu.org>
5281 * gnus-sync.el: Require gnus components whose functions are used.
5283 * gnus-art.el (bookmark-make-record-function):
5284 * gnus-sum.el (bookmark-yank-point, bookmark-current-bookmark):
5285 Declare for compiler.
5287 * mm-url.el (mml-compute-boundary): Autoload.
5289 2010-08-15 Katsumi Yamaoka <yamaoka@jpl.org>
5291 * gnus-start.el (gnus-start-draft-setup): Move doc string forward.
5293 2010-08-14 Teodor Zlatanov <tzz@lifelogs.com>
5295 Typo fix "hoo4a" -> "hook".
5297 * gnus-sync.el (gnus-sync-install-hooks): Typo fix.
5299 2010-08-14 Glenn Morris <rgm@gnu.org>
5301 * gnus-sync.el (gnus-sync): Fix defgroup version.
5303 2010-08-13 Teodor Zlatanov <tzz@lifelogs.com>
5305 Doc fixes and keep unknown groups (ammended for nunion bug fix).
5307 * gnus-sync.el: Fix docs.
5308 (gnus-sync-save): Keep unknown groups in `gnus-sync-newsrc-loader'.
5309 (gnus-sync-read): Don't wipe `gnus-sync-newsrc-loader' after reading.
5311 2010-08-12 Teodor Zlatanov <tzz@lifelogs.com>
5313 Optimizations for gnus-sync.el.
5315 * gnus-sync.el: Add docs about gnus-sync-backend
5317 (gnus-sync-save): Remove unnecessary message.
5318 (gnus-sync-read): Optimize and show what groups were skipped.
5320 2010-08-12 Teodor Zlatanov <tzz@lifelogs.com>
5322 Minor bug fixes for gnus-sync.el.
5324 * gnus-sync.el (gnus-sync-unload-hook, gnus-sync-install-hooks):
5325 Don't read the sync on get-new-news.
5327 * gnus-sync.el (gnus-sync-save): Define `variable' so the compiler is
5330 * gnus-sync.el (gnus-sync-read): Use `gnus-sync-newsrc-offsets'
5333 2010-07-30 Lawrence Mitchell <wence@gmx.li>
5335 Make saving and restoring of hidden threads work with overlays.
5336 Patch applied by Ted Zlatanov.
5338 * gnus-sum.el (gnus-hidden-threads-configuration)
5339 (gnus-restore-hidden-threads-configuration): Update to deal with text
5340 properties, rather than searching for a magic character.
5342 2010-08-12 Teodor Zlatanov <tzz@lifelogs.com>
5344 New gnus-sync.el library for synchronization of marks.
5346 * gnus-sync.el: New library for synchronization of marks.
5348 * gnus-util.el (gnus-grep-in-list): Move from gnus-registry.el and
5349 renamed from `gnus-registry-grep-in-list'.
5351 * gnus-registry.el (gnus-registry-follow-group-p):
5352 Use `gnus-grep-in-list'.
5354 * gnus-start.el (gnus-start-draft-setup): Make it interactive.
5356 2010-08-06 Katsumi Yamaoka <yamaoka@jpl.org>
5358 * rfc2047.el (rfc2047-encode): Use utf-8 as a last resort if
5359 determining charset of text fails.
5361 2010-08-01 Katsumi Yamaoka <yamaoka@jpl.org>
5363 * nnmail.el (nnmail-get-new-mail-1): Revert.
5365 * nnml.el (nnml-active-number): Make sure names of newly created groups
5366 in nnml-group-alist are encoded.
5368 2010-07-30 Katsumi Yamaoka <yamaoka@jpl.org>
5370 * nnmail.el (nnmail-get-new-mail-1): Encode group names possibly
5371 containing non-ASCII characters in active file for nnml back end.
5373 2010-07-24 David Engster <dengste@eml.cc>
5375 * mml-smime.el (mml-smime-epg-verify): Also accept the older
5376 x-pkcs7-signature MIME type as signature (RFC 2311, C.1).
5378 2010-07-21 Daiki Ueno <ueno@unixuser.org>
5380 * mml.el (mml-parse-1): Collect "certfile" attributes in "<#secure>"
5383 2010-07-20 Katsumi Yamaoka <yamaoka@jpl.org>
5385 * gnus-sum.el (gnus-summary-bookmark-make-record): Bookmark position in
5386 the article buffer, not the summary buffer.
5388 2010-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
5390 * gnus-sum.el (gnus-summary-bookmark-make-record): Make it work for
5393 2010-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
5395 * lpath.el: Bind bookmark-current-buffer, bookmark-yank-point for all
5396 Emacs versions; bind bookmark-make-record-function for Emacs >=22.
5398 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5400 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5401 Patch applied by Karl Fogel.
5403 * gnus-sum.el (gnus-summary-bookmark-make-record):
5404 Set `bookmark-yank-point' and `bookmark-current-buffer' to allow C-w.
5406 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5408 Allow bookmarks to be set from Gnus Article buffers (Bug #5975).
5409 Patch applied (with minor tweaks) by Karl Fogel. Note this leaves
5410 C-w still not working correctly from Article buffers; Thierry's
5411 patch to fix that will be applied after this.
5413 * gnus-art.el (bookmark-make-record-function): New local variable.
5415 * gnus-sum.el (gnus-summary-bookmark-make-record): Allow setting from
5417 (gnus-summary-bookmark-jump): Maybe jump to article buffer.
5419 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5421 * gnus-sum.el (bookmark-make-record-default): Adjust declaration, based
5422 on changes in bookmark.el.
5424 2010-07-13 Katsumi Yamaoka <yamaoka@jpl.org>
5426 * gnus-xmas.el (gnus-xmas-read-event-char): Use display-message with
5427 `no-log' instead of message not to log prompt string.
5429 2010-06-22 Mark A. Hershberger <mah@everybody.org>
5431 * mm-url.el (mm-url-encode-multipart-form-data): New function to handle
5432 the *other* type of HTML form submission.
5434 2010-06-15 Michael Albinus <michael.albinus@gmx.de>
5436 * auth-source.el (auth-source-pick): If choice does not contain a
5437 questioned keyword, set the check to t.
5439 2010-06-12 Romain Francoise <romain@orebokech.com>
5441 * gnus-util.el (gnus-date-get-time): Move up before first use.
5443 2010-06-10 Katsumi Yamaoka <yamaoka@jpl.org>
5445 * gnus-art.el (gnus-mime-buttonized-part-id): New internal variable.
5446 (gnus-article-edit-part): Bind it to make last part that is substituted
5448 (gnus-mime-display-single): Buttonize part of which id equals to
5449 gnus-mime-buttonized-part-id.
5451 2010-06-10 Dan Christensen <jdc@uwo.ca>
5453 * gnus-util.el (gnus-user-date): Use gnus-date-get-time.
5454 (gnus-dd-mmm): Use gnus-date-get-time.
5455 * gnus-sum.el (gnus-thread-latest-date): Use gnus-date-get-time and
5457 (gnus-summary-limit-to-age): Use gnus-date-get-time.
5458 (gnus-sort-threads): Emit message if gnus-sort-threads-loop used.
5460 2010-06-08 Michael Albinus <michael.albinus@gmx.de>
5462 * auth-source.el (top): Autoload `secrets-list-collections',
5463 `secrets-create-item', `secrets-delete-item'.
5464 (auth-sources): Fix tag string.
5465 (auth-get-source, auth-source-retrieve, auth-source-create)
5466 (auth-source-delete): New defuns.
5467 (auth-source-pick): Rewrite in order to avoid 2 passes.
5468 (auth-source-forget-user-or-password): New parameter USERNAME.
5469 (auth-source-user-or-password): New parameters CREATE-MISSING and
5470 DELETE-EXISTING. Retrieve password interactively, if needed.
5472 2010-06-07 Teemu Likonen <tlikonen@iki.fi> (tiny change)
5474 * gnus-agent.el (gnus-agent-expire-unagentized-dirs): Don't ask about
5475 deleting unused directories when gnus-expert-user is t.
5477 2010-06-02 Katsumi Yamaoka <yamaoka@jpl.org>
5479 * gnus-art.el (gnus-article-browse-delete-temp-files): Don't make query
5480 for each temp file when gnus-article-browse-delete-temp is ask.
5482 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5484 * gnus-uu.el, imap.el, nndoc.el, nnrss.el, rfc2047.el, utf7.el: Replace
5485 Lisp calls to delete-backward-char by calls to delete-char.
5487 2010-05-20 Kevin Ryde <user42@zip.com.au>
5489 * gnus-start.el (gnus-level-unsubscribed): Doc fix. (Bug#6206)
5491 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
5493 * password-cache.el (password-cache-remove): Fix docstring.
5495 2010-05-14 Katsumi Yamaoka <yamaoka@jpl.org>
5497 * gnus-sum.el (gnus-summary-save-article): Don't bother to re-fetch
5498 article unless decoding article to be saved.
5500 2010-05-13 Katsumi Yamaoka <yamaoka@jpl.org>
5502 * mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt)
5503 * mml2015.el (mml2015-gpg-encrypt): Disable multibyte in buffers
5504 generated within the mm-with-unibyte-current-buffer macro.
5506 2010-05-13 Katsumi Yamaoka <yamaoka@jpl.org>
5508 * gnus-art.el (gnus-bind-safe-url-regexp): Bind mm-w3m-safe-url-regexp
5509 to nil when we're in a mml-preview buffer and no group is selected.
5511 2010-05-12 Andreas Seltenreich <seltenreich@gmx.de>
5513 * gnus-sum.el (gnus-summary-read-group-1): Don't jump to next group
5514 when catching the `C-g'. Reported by "Leo".
5516 2010-05-12 Katsumi Yamaoka <yamaoka@jpl.org>
5518 * message.el (message-forward-make-body-plain)
5519 (message-forward-make-body-mml): Use mm-multibyte-string-p instead of
5524 2010-05-12 Katsumi Yamaoka <yamaoka@jpl.org>
5526 * message.el (message-forward-make-body-mml): Assume original message
5527 is multibyte string; error on unibyte.
5528 (message-forward-make-body-plain): Ditto; don't add excessive newline
5531 * lpath.el: Fbind multibyte-string-p for XEmacs 21.4 and SXEmacs.
5533 2010-05-11 Andreas Seltenreich <seltenreich@gmx.de>
5535 * gnus-sum.el (gnus-summary-kill-thread): Use gnus-summary-mark-article
5536 instead of g-s-m-a-as-unread to set the expirable mark. (Bug#5284)
5538 2010-05-11 Katsumi Yamaoka <yamaoka@jpl.org>
5540 * mm-extern.el (mm-extern-url): Don't use
5541 mm-with-unibyte-current-buffer.
5542 (mm-extern-cache-contents): Use with-current-buffer instead of
5543 save-excursion + set-buffer.
5545 2010-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
5547 * mm-util.el (mm-emacs-mule): Remove.
5549 2010-05-10 Andreas Seltenreich <seltenreich@gmx.de>
5551 * gnus-sum.el (gnus-summary-mode): Don't make minor-mode-alist
5552 buffer-local as it's incompatible with Stefan Monnier's 2010-05-03
5555 2010-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
5557 * mm-util.el (mm-with-unibyte-current-buffer): Redefine it so as not to
5558 bind the default value of enable-multibyte-characters to nil.
5560 2010-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
5562 * message.el (message-forward-make-body-plain)
5563 (message-forward-make-body-mml):
5564 Don't use mm-with-unibyte-current-buffer.
5566 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5568 * dns-mode.el (auto-mode-alist): Add entry for .zone files.
5570 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
5572 * mml2015.el (mml2015-epg-find-usable-key): Skip disabled key
5575 2010-05-07 Julien Danjou <julien@danjou.info>
5577 * gnus-art.el (gnus-mime-pipe-part): Add optional argument `cmd'; pass
5580 * mm-decode.el (mm-pipe-part): Add optional argument `cmd'; use it if
5583 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
5585 * binhex.el (binhex-decode-region-internal)
5586 * dns.el (dns-read-string-name, dns-write, dns-read, dns-read-type)
5588 * nnweb.el (nnweb-gmane-search)
5589 * pgg-parse.el (pgg-parse-armor)
5590 * pgg.el (pgg-verify-region)
5591 * sha1.el (sha1-string-external)
5592 * uudecode.el (uudecode-decode-region-internal)
5593 * yenc.el (yenc-decode-region): Don't run set-buffer-multibyte for
5596 * gnus-art.el (gnus-article-browse-html-parts)
5597 * gnus-group.el (gnus-read-ephemeral-gmane-group)
5598 (gnus-read-ephemeral-bug-grou): Use mm-make-temp-file instead of
5601 * gnus-dired.el (gnus-dired-mode): Bind gnus-dired-mode-hook,
5602 gnus-dired-mode-on-hook and gnus-dired-mode-off-hook for XEmacs when
5605 * gnus-ml.el (gnus-mailing-list-mode): Bind gnus-mailing-list-mode-hook,
5606 gnus-mailing-list-mode-on-hook and gnus-mailing-list-mode-off-hook for
5607 XEmacs when compiling.
5609 * gnus-salt.el (gnus-pick-mode): Bind gnus-pick-mode-on-hook and
5610 gnus-pick-mode-off-hook for XEmacs when compiling.
5611 (gnus-binary-mode): Bind gnus-binary-mode-on-hook and
5612 gnus-binary-mode-off-hook for XEmacs when compiling.
5614 * gnus-sum.el (gnus-summary-limit-strange-charsets-predicate):
5615 Return nil if char-charset is not available.
5617 * imap.el (imap-disable-multibyte)
5618 * sieve-manage.el (sieve-manage-disable-multibyte): Redefine them as
5621 * mm-url.el (mm-url-form-encode-xwfu): Use mm-encode-coding-string
5622 instead of encode-coding-string.
5624 * mm-util.el (mm-enable-multibyte, mm-disable-multibyte): Use (featurep
5625 'xemacs) instead of mm-emacs-mule to switch function definitions.
5626 (mm-with-unibyte-current-buffer): Make it a progn macro for XEmacs.
5628 * lpath.el: Fbind delete-overlay and overlay-lists for XEmacs;
5629 bind temporary-file-directory for XEmacs;
5630 fbind make-temp-file, set-buffer-multibyte, string-as-multibyte and
5631 timer-set-function for XEmacs 21.4 and SXEmacs;
5632 bind timer-list for XEmacs 21.4 and SXEmacs;
5633 fbind char-charset and find-charset-region for non-Mule XEmacs;
5634 fbind decode-coding-region, decode-coding-string, detect-coding-region,
5635 encode-coding-region and encode-coding-string for XEmacs having no
5636 file-coding feature.
5638 2010-05-06 Tommi Vainikainen <thv@iki.fi> (tiny change)
5640 * mml-sec.el (mml-secure-message-sign): Fix cut and paste error.
5642 2010-05-06 Katsumi Yamaoka <yamaoka@jpl.org>
5644 * gnus-dired.el, gnus-draft.el, gnus-ml.el, gnus-salt.el, gnus-sum.el,
5645 gnus-undo.el, mml.el: Require easy-mmode for XEmacs when compiling.
5647 2010-05-03 Juanma Barranquero <lekktu@gmail.com>
5649 * mm-util.el (mm-decompress-buffer): Use `delete-file';
5650 alias `jka-compr-delete-temp-file' no longer exists.
5652 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5654 Use define-minor-mode in Gnus where applicable.
5655 * mml.el (mml-mode): Use define-minor-mode.
5656 * gnus-undo.el (gnus-undo-mode-map): Initialize in declaration.
5657 (gnus-undo-mode): Use define-minor-mode.
5658 * gnus-sum.el (gnus-dead-summary-mode-map): Initialize in declaration.
5659 (gnus-dead-summary-mode): Use define-minor-mode.
5660 * gnus-salt.el (gnus-pick-mode-map, gnus-binary-mode-map):
5661 Initialize in declaration.
5662 (gnus-pick-mode, gnus-binary-mode): Use define-minor-mode.
5663 * gnus-ml.el (gnus-mailing-list-mode-map): Initialize in declaration.
5664 (gnus-mailing-list-mode): Use define-minor-mode.
5665 * gnus-draft.el (gnus-draft-mode-map): Initialize in declaration.
5666 (gnus-draft-mode): Use define-minor-mode.
5667 * gnus-dired.el (gnus-dired-mode-map): Initialize in declaration.
5668 (gnus-dired-mode): Use define-minor-mode.
5670 2010-05-01 Andreas Seltenreich <seltenreich@gmx.de>
5672 * mml.el (mml-generate-mime-1,mml-compute-boundary-1): Update 'mml
5673 handles on recursive mml-to-mime translation and check them for
5674 boundary delimiter collisions. Reported by Greg Troxel.
5676 2010-04-27 Katsumi Yamaoka <yamaoka@jpl.org>
5678 * gnus-util.el: Don't load tm and apel XEmacs packages when compiling.
5680 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5682 * mm-util.el (mm-find-buffer-file-coding-system):
5683 * yenc.el (yenc-decode-region): Don't let-bind a read-only variable.
5685 2010-04-22 Andreas Seltenreich <seltenreich@gmx.de>
5687 * message.el (message-generate-headers): Record insertion of optional
5688 headers as well. Otherwise the check to prevent repeated insertion of
5689 optional headers is a no-op.
5691 2010-04-17 Teodor Zlatanov <tzz@lifelogs.com>
5693 * smime.el: Don't mention CVS.
5695 * nnrss.el (nnrss-fetch): Don't mention CVS.
5697 * nnir.el: Don't mention CVS.
5699 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5701 * gnus-sum.el (gnus-summary-bookmark-make-record):
5702 Add `location' field.
5704 2010-04-14 Katsumi Yamaoka <yamaoka@jpl.org>
5706 * lpath.el: Fbind bookmark-default-handler,
5707 bookmark-get-bookmark-record, bookmark-make-record-default,
5708 bookmark-prop-get for Emacs <23 and XEmacs.
5710 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5712 * gnus-sum.el: Add bookmark declarations to silence the compiler.
5713 (gnus-mark-xrefs-as-read, gnus-summary-limit-to-bodies):
5714 Use with-current-buffer to silence the byte-compiler.
5715 (gnus-summary-bookmark-make-record): Use derived-mode-p and don't
5716 bother to require `gnus'.
5717 (gnus-summary-bookmark-jump): Don't forget to autoload. Simplify.
5719 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5721 * gnus-sum.el (gnus-summary-bookmark-make-record)
5722 (gnus-summary-bookmark-jump): New functions.
5723 (gnus-summary-mode): Setup bookmark support.
5725 2010-04-01 Andreas Schwab <schwab@linux-m68k.org>
5727 * mm-uu.el (mm-uu-pgp-signed-extract-1): Use buffer-file-coding-system
5730 2010-03-31 Katsumi Yamaoka <yamaoka@jpl.org>
5732 * gnus-art.el (gnus-article-browse-html-save-cid-content): Rename from
5733 gnus-article-browse-html-save-cid-image; make it work recursively for
5734 forwarded messages as well.
5735 (gnus-article-browse-html-parts): Work when prefix arg is given.
5736 (gnus-article-browse-html-article): Doc fix.
5738 2010-03-30 Chong Yidong <cyd@stupidchicken.com>
5740 * message.el (message-default-mail-headers):
5741 (message-default-headers): Carry the value mail-default-headers over
5742 into message-default-mail-headers, rather than message-default-headers.
5744 2010-03-30 Martin Stjernholm <mast@lysator.liu.se>
5746 * mm-decode.el (mm-add-meta-html-tag): Add option to override the
5749 * gnus-art.el (gnus-article-browse-html-parts): Force the correct
5750 charset into the <meta> tag when the article is encoded to utf-8.
5752 2010-03-30 Katsumi Yamaoka <yamaoka@jpl.org>
5754 * gnus-art.el (gnus-article-browse-delete-temp-files):
5755 Delete directories as well.
5756 (gnus-article-browse-html-parts): Work for images that do not specify
5757 file names; delete temp directory when quitting; insert header at the
5758 right place; use file: scheme for image files.
5760 2010-03-30 Eric Schulte <schulte.eric@gmail.com>
5762 * gnus-art.el (gnus-article-browse-html-save-cid-image): New function.
5763 (gnus-article-browse-html-parts): Use it to make temporary cid image
5764 files in addition to html file so that browser may display them.
5766 2010-03-29 Katsumi Yamaoka <yamaoka@jpl.org>
5768 * mm-decode.el (mm-add-meta-html-tag): Fix regexp matching meta tag.
5770 2010-03-29 Teodor Zlatanov <tzz@lifelogs.com>
5772 * auth-source.el (auth-source-pick): Fix for non-secrets specifier.
5774 2010-03-27 Teodor Zlatanov <tzz@lifelogs.com>
5776 * auth-source.el (auth-sources): Change default to be simpler.
5777 Explain about Secret Service API sources. Improve Customize options.
5778 (auth-source-pick): Change to accept any number of search parameters.
5779 Implement fallbacks iteratively, not recursively. Add scoring on the
5780 second pass and sort by score. Call Secret Service API when needed.
5781 (auth-source-user-or-password): Use it. Call Secret Service API
5782 directly when needed to get the user name and the password.
5784 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
5786 * message.el (message-interactive): Doc fix.
5787 (message-qmail-inject-args): Reflow.
5788 (message-kill-to-signature): Fix typo in docstring.
5790 * smiley.el (smiley-buffer): Fix typo in docstring.
5792 2010-03-24 Glenn Morris <rgm@gnu.org>
5794 * mail-source.el (gnus-message): Declare.
5795 (mail-source-delete-old-incoming): Require gnus-util.
5797 2010-03-23 Katsumi Yamaoka <yamaoka@jpl.org>
5799 * gnus-art.el (canlock-verify): Autoload it for Emacs 21.
5801 * message.el (ecomplete-setup): Autoload it for Emacs <23.
5803 * mml-sec.el (mml-secure-cache-passphrase): Default to t that is
5804 password-cache's default if it is not bound.
5805 (mml-secure-passphrase-cache-expiry): Default to 16 that is
5806 password-cache-expiry's default if it is not bound.
5808 * pop3.el (pop3-list): Don't use 3rd arg of `split-string' which is not
5809 available in Emacs 21.
5811 * lpath.el: Suppress compiler warnings for:
5812 canlock-insert-header and smtpmail-default-smtp-server for Emacs 21 and
5814 ecomplete-add-item, ecomplete-save, hashcash-wait-async,
5815 mail-add-payment, mail-add-payment-async, netrc-get, netrc-machine,
5816 netrc-machine-user-or-password and netrc-parse for Emacs 22 and XEmacs.
5818 2010-03-23 Teodor Zlatanov <tzz@lifelogs.com>
5820 * auth-source.el (auth-sources): Fix up definition so extra parameters
5823 2010-03-22 Martin Stjernholm <mast@lysator.liu.se>
5825 * nnimap.el (nnimap-verify-uidvalidity): Fix bug where uidvalidity
5826 wasn't updated after mismatch. Clear cached mailbox info correctly
5827 when uidvalidity changes.
5828 (nnimap-group-prefixed-name): New function to avoid some code
5830 (nnimap-verify-uidvalidity, nnimap-group-overview-filename)
5831 (nnimap-request-group): Use it.
5832 (nnimap-retrieve-groups, nnimap-verify-uidvalidity)
5833 (nnimap-update-unseen): Significantly improved speed of Gnus startup
5834 with many imap folders. This is done by caching the group status from
5835 the imap server persistently in a group parameter `imap-status'. (This
5836 was cached before too if `nnimap-retrieve-groups-asynchronous' was set,
5837 but not persistently, so every Gnus startup was still very slow.)
5839 2010-03-22 Teodor Zlatanov <tzz@lifelogs.com>
5841 * assistant.el (assistant-render-text): Run `widget-setup' and don't
5842 delete the extra newline. Otherwise editing of :string and :number
5845 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
5847 * auth-source.el: Set up autoloads. Bump to 23.2 because of the
5848 secrets.el dependency.
5849 (auth-sources): Add optional user name. Add secrets.el configuration
5850 choice (unused right now).
5852 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
5854 * gnus-sum.el (gnus-summary-make-menu-bar):
5855 Let `gnus-registry-install-shortcuts' fill in the functions.
5857 * gnus-registry.el (gnus-summary-misc-menu): Declare to avoid
5859 (gnus-registry-misc-menus): Variable to hold registry mark menus.
5860 (gnus-registry-install-shortcuts): Populate and use it in a
5861 `gnus-summary-menu-hook' lambda, under "Gnus"->"Registry Marks".
5863 2010-03-20 Martin Stjernholm <mast@lysator.liu.se>
5865 * nnimap.el (nnimap-decode-group-name, nnimap-encode-group-name):
5866 In-place substitutions for the group name encoding/decoding.
5867 (nnimap-find-minmax-uid, nnimap-possibly-change-group)
5868 (nnimap-retrieve-headers-progress, nnimap-possibly-change-group)
5869 (nnimap-retrieve-headers-progress, nnimap-request-article-part)
5870 (nnimap-update-unseen, nnimap-request-list)
5871 (nnimap-retrieve-groups, nnimap-request-update-info-internal)
5872 (nnimap-request-set-mark, nnimap-split-to-groups)
5873 (nnimap-split-articles, nnimap-request-newgroups)
5874 (nnimap-request-create-group, nnimap-request-accept-article)
5875 (nnimap-request-delete-group, nnimap-request-rename-group)
5876 (nnimap-acl-get, nnimap-acl-edit): Use them. Replace `mbx' with
5877 `encoded-mbx' for consistency.
5878 (nnimap-close-group): Call `imap-current-mailbox' instead of using the
5879 variable `imap-current-mailbox'.
5881 * gnus-agent.el (gnus-agent-fetch-articles, gnus-agent-fetch-headers)
5882 (gnus-agent-regenerate-group): Use `gnus-agent-decoded-group-name'.
5884 2010-03-20 Bojan Petrovic <bpetrovi@f.bg.ac.rs>
5886 * pop3.el (pop3-display-message-size-flag): Display message size byte
5887 counts during POP3 download.
5888 (pop3-movemail): Use it.
5889 (pop3-list): Implement listing of available messages.
5891 2010-03-20 Mark Triggs <mst@dishevelled.net> (tiny change)
5893 * nnir.el (nnir-get-article-nov-override-function): New function to
5894 override the normal NOV retrieval.
5895 (nnir-retrieve-headers): Use it.
5897 2010-03-19 Michael Albinus <michael.albinus@gmx.de>
5899 * auth-source.el (netrc-machine-user-or-password): Autoload.
5901 2010-03-19 Glenn Morris <rgm@gnu.org>
5903 Stop message.el from loading about 40 libraries it doesn't always need.
5904 The general approach is to autoload rather than require, and to
5905 require in the specific functions rather than the file. (Bug#5642)
5907 * gmm-utils.el: Don't require wid-edit.
5908 (widget-create-child-value, widget-convert, widget-default-get):
5911 * gnus-util.el: Don't require time-date, netrc.
5912 (message-fetch-field, gnus-group-name-decode): Declare rather than
5914 (gnus-fetch-field): Require message.
5915 (gnus-decode-newsgroups): Require gnus-group.
5917 * ietf-drums.el: Don't require time-date.
5919 * message.el: Don't require hashcash, canlock, ecomplete.
5920 Do require mail-utils. Require nnheader only when compiling.
5921 (smtpmail-default-smtp-server): Remove declaration.
5922 (message-send-mail-function): Check smtpmail-default-smtp-server
5923 is bound rather than requiring smtpmail.
5924 (message-auto-save-directory, message-insert-signature):
5925 Use expand-file-name rather than nnheader-concat.
5926 (nnheader-insert-file-contents): Autoload.
5927 (hashcash-wait-async): Declare.
5928 (message-send-mail): Only call gnus-setup-posting-charset if
5929 gnus-group-posting-charset-alist is bound. Require hashcash if needed.
5930 (message-send-mail-with-sendmail): Require sendmail.
5931 (canlock-password, canlock-password-for-verify): Declare.
5932 (message-canlock-password): Require canlock.
5933 (nnheader-get-report): Autoload.
5934 (gnus-setup-posting-charset): Declare.
5935 (message-send-news): Require gnus-msg.
5936 (message-make-references, message-make-in-reply-to): Use mail-header-id
5937 rather than the alias mail-header-message-id.
5938 (ecomplete-add-item, ecomplete-save): Declare.
5939 (message-put-addresses-in-ecomplete): Require ecomplete.
5940 (ecomplete-display-matches): Autoload.
5942 * mm-decode.el: Don't require mailcap, gnus-util.
5943 (gnus-map-function, gnus-replace-in-string, gnus-read-shell-command)
5944 (message-fetch-field, mailcap-parse-mailcaps, mailcap-mime-info):
5946 (mailcap-mime-extensions): Declare.
5948 * mm-encode.el: Don't require mailcap.