2012-02-13 Lars Ingebrigtsen * shr.el (shr-rescale-image): Allow viewing large images. (shr-rescale-image): Fix wrong merge. 2012-02-13 Lars Ingebrigtsen * nnimap.el (nnimap-record-commands): New variable. (nnimap-log-command): Use it. (nnimap-make-process-buffer): Add a space to the process buffer. * shr.el (shr-rescale-image): Allow viewing large images. 2012-02-12 Lars Ingebrigtsen * nnml.el (nnml-request-compact-group): Delete the marks file after compaction (bug#10800). * gnus-art.el (gnus-stop-downloads): Stop `url-queue' downloads on group exit. * nnimap.el (nnimap-parse-flags): Parse correctly when we have mixed QRESYNC/FETCH output. 2012-02-11 Glenn Morris * sieve-manage.el (sieve-manage-default-stream): * shr.el (shr): * nnir.el (nnir-ignored-newsgroups, nnir-summary-line-format) (nnir-retrieve-headers-override-function) (nnir-imap-default-search-key, nnir-notmuch-program) (nnir-notmuch-additional-switches, nnir-notmuch-remove-prefix) (nnir-method-default-engines): * message.el (message-cite-reply-position): * gssapi.el (gssapi-program): * gravatar.el (gravatar): * gnus-sum.el (gnus-refer-thread-use-nnir): * gnus-registry.el (gnus-registry-unfollowed-addresses) (gnus-registry-max-pruned-entries): * gnus-picon.el (gnus-picon-inhibit-top-level-domains): * gnus-int.el (gnus-after-set-mark-hook) (gnus-before-update-mark-hook): * gnus-async.el (gnus-async-post-fetch-function): * auth-source.el (auth-source-cache-expiry): Add missing :version tags to new defcustoms and defgroups. 2012-02-11 Lars Ingebrigtsen * gnus-sum.el (gnus-adjust-marked-articles): Add to `gnus-newsgroup-unexist'. * gnus.el (gnus-article-mark-lists): Add `unexist' to the list of marks. (gnus-article-special-mark-lists): Put the `unexist' in the special marks list instead. * gnus-sum.el (gnus-articles-to-read): Don't include unexisting articles in the list of articles to be selected. * nnimap.el (nnimap-retrieve-group-data-early): Query for unexisting articles. (nnimap-update-info): Keep track of unexisting articles. (nnimap-update-qresync-info): Ditto. 2012-02-10 Lars Ingebrigtsen * message.el (message-default-send-mail-function): Made into own function for reuse by emacsbug.el. 2012-02-09 Juanma Barranquero * gnus.el (gnus-method-ephemeral-p): Move after declaration of defsubst `gnus-sloppily-equal-method-parameters' to avoid a warning. 2012-02-09 Lars Ingebrigtsen * mm-archive.el (mm-archive-dissect-and-inline): New function. (mm-archive-dissect-and-inline): Fix up the undisplayer. * gnus-compat.el: Define `timer-set-function'. * mm-decode.el (mm-display-external): Output the text from the command in the buffer after the command finished. This makes text-based commands behave better. 2012-02-08 Lars Ingebrigtsen * gnus-compat.el: Add a compat for the old `url-retrieve'. 2012-02-07 Lars Ingebrigtsen * gnus-compat.el: Make `help-function-arglist' be compatible on Emacs 23.1. 2012-02-07 Katsumi Yamaoka * gnus-sum.el (gnus-summary-show-thread): Revert last two changes. 2012-02-07 Lars Ingebrigtsen * message.el (smtpmail-smtp-user): Silence compiler warning. 2012-02-06 Lars Ingebrigtsen * message.el (message-multi-smtp-send-mail): Also allow specifying the SMTP user name. 2012-02-06 Katsumi Yamaoka * gnus-sum.el (gnus-summary-show-thread): next-single-char-property-change may return nil in XEmacs. (gnus-summary-article-map): Fix typo. 2012-02-09 Lars Ingebrigtsen * gnus-msg.el (gnus-msg-mail): Use `message-mail' if Gnus isn't running. * nnimap.el (nnimap-wait-for-response): Minor fixup of message string. * gnus.el (gnus-server-extend-method): Don't add an -address component if the method already has one (bug#9676). 2012-02-08 Lars Ingebrigtsen * gnus-sum.el (gnus-summary-insert-old-articles): Use a default instead of an initial-input for consistency (bug#10757). * dgnushack.el: Fix XEmacs compilation warning. * shr.el: Inhibit getting and sending cookies when fetching pictures. * gnus-html.el (gnus-html-schedule-image-fetching): Ditto. 2012-02-07 Lars Ingebrigtsen * shr.el (shr-remove-trailing-whitespace): Don't strip whitespace from lines that are narrower than the window width. Otherwise background "blocks" will look less readable. 2012-02-07 Katsumi Yamaoka * gnus-sum.el (gnus-summary-show-thread): Revert last two changes. 2012-02-07 Lars Ingebrigtsen * nnimap.el (nnimap-transform-headers): Remove unused variable. (nnimap-transform-headers): Fix parsing BODYSTRUCTURE elements that have newlines within the strings, and where the UID comes after the BODYSTRUCTURE element (bug#10537). * shr-color.el (shr-color-set-minimum-interval): Rename to add prefix (bug#10732). * shr.el (shr-insert-document): Add doc string. (shr-visit-file): Ditto. (shr-remove-trailing-whitespace): New function. (shr-insert-document): Use it to clean up trailing whitespace as the final step (bug#10714). 2012-02-06 Lars Ingebrigtsen * gnus-sum.el (gnus-summary-exit-no-update): Really deaden the summary buffer if `gnus-kill-summary-on-exit' is nil. 2012-02-06 Katsumi Yamaoka * gnus-sum.el (gnus-summary-show-thread): next-single-char-property-change may return nil in XEmacs. 2012-02-06 Lars Ingebrigtsen * gnus-sum.el (gnus-handle-ephemeral-exit): Allow exiting from Gnus when just reading a single group from "without" Gnus. 2012-02-06 Chong Yidong * gnus-sum.el (gnus-summary-show-thread): next-single-char-property-change never returns nil (Bug#8657). 2012-02-02 Lars Ingebrigtsen * message.el (message-multi-smtp-send-mail): New function. (message-multi-smtp-send-mail): Respect the X-Message-SMTP-Method header to implement multi-SMTP functionality. * gnus-agent.el (gnus-agent-send-mail-function): Removed. (gnus-agentize): Don't set it. (gnus-agent-send-mail): Don't use it. * gnus-sum.el (gnus-summary-widget-backward): New function and keystroke. * gnus-compat.el: More the compat functions more compatible. * shr.el (shr-put-image): Remove underlines from sliced images. (shr-zoom-image): Compute the region to be replaced more correctly. 2012-02-02 Katsumi Yamaoka * gnus-msg.el (gnus-gcc-self-resent-messages): New user option. (gnus-summary-resend-message-insert-gcc): New function. (gnus-summary-resend-message): Modify message-header-setup-hook and message-sent-hook to make it work for Gcc. (gnus-inews-do-gcc): Update the number of unread articles of groups that messages are Gcc'd to. * message.el (message-resend): Run message-sent-hook to do Gcc. 2012-02-01 Lars Ingebrigtsen * lpath.el: Fix an XEmacs compilation warning. * gnus-compat.el: Require `help-fns' to fix compilation error. * gnus-registry.el (gnus-registry-fixup-registry): Move the message to a higher level to silence compilation. * gnus-art.el (gnus-shr-put-image): Take and pass on a `flags' parameter to allow controlling the scaling. * shr.el (shr-zoom-image): New command and keystroke. (shr-put-image): Take a `size' flag to say how to scale the image. * gnus-compat.el: Redefine `delete-directory' to provide recursive deletion unless already defined. * gnus.el (gnus-compat): Require it. * gnus-compat.el: New file. * gnus-start.el (gnus-clean-old-newsrc): New function. (gnus-read-newsrc-file): Use it. * mm-archive.el (mm-dissect-archive): Use it to get all file names. Use recursive deletion. (mm-dissect-archive): Add support for zip files. * gnus-util.el (gnus-recursive-directory-files): New function. * mm-archive.el (mm-archive-list-files): Inline text and image parts. (mm-archive-decoders): Add tgz support. * mm-decode.el (mm-shr): Make sure that the HTML ends with a newline. Otherwise inserting text into the Gnus buffer can look odd. * gnus-art.el (gnus-mime-inline-part): Slight clean-up. * mm-archive.el (mm-archive-decoders): Add support for tar. * gnus.el (gnus-logo-color-alist): Change the colours for Ma Gnus. * nnmail.el (nnmail-extra-headers): Add Cc to the default. 2012-01-31 Lars Ingebrigtsen * mm-decode.el (mm-dissect-singlepart): Check that the decoder exists. * mm-archive.el: New file. * mm-decode.el (mm-dissect-singlepart): Use it to decode ms-tnef files. * mm-util.el (mm-find-buffer-file-coding-system): Comment fix. * message.el (message-goto-*): Make all the `message-goto-*' commands push the mark before moving point. This makes it easier to go back to where you came from after editing whatever you jumped to. 2012-01-31 Lars Magne Ingebrigtsen * gnus.el: Ma Gnus v0.1 is released. 2012-02-05 Lars Ingebrigtsen * nnimap.el (nnimap-open-server): Allow switching the nnoo server without reconnecting. (nnimap-possibly-change-group): Ditto. (nnimap-finish-retrieve-group-infos): Don't reconnect if the server connection has died before being called. 2012-02-02 Lars Ingebrigtsen * nnimap.el (nnimap-retrieve-group-data-early): Don't say we're doing an initial sync unless we're really doing one. * gnus-group.el (gnus-group-read-ephemeral-group): Don't add a new address parameter if one already exists (bug#9676). * gnus-msg.el (gnus-summary-mail-forward): Respect the process marks, not the prefix, as documented (bug#10689). 2012-02-01 Lars Ingebrigtsen * gnus.el (gnus-valid-select-methods): nnmaildir also saves marks in the "server". * gnus-group.el (gnus-group-get-new-news-this-group): Don't overwrite the real error message with the useless "previously known to be down". Which isn't even correct. * nntp.el (nntp-open-connection): Report the error message if the nntp server can't be reached. * nnimap.el (nnimap-retrieve-group-data-early): Keep track of how many groups we do a total scan for. (nnimap-wait-for-response): Say that we're doing a total scan, if we're doing that. 2012-01-31 Jim Meyering * gnus-agent.el (gnus-agent-expire-unagentized-dirs): Correct a comment (insert "not") and hide nominally-doubled "to". 2012-01-31 Lars Ingebrigtsen * gnus.el (gnus-version): Change name to "Ma Gnus". 2012-01-30 Philipp Haselwarter (tiny change) * gnus-agent.el (gnus-agent-auto-agentize-methods): Point to the Agent section in the manual. 2012-01-30 Lars Ingebrigtsen * rfc2047.el (rfc2047-encode-region): Allow not folding the encoded words. (rfc2047-encode-string): Ditto. (rfc2047-encode-parameter): Don't fold parameters. Some MUAs do not understand folded filename="..." parameters, for instance. * nnimap.el (nnimap-wait-for-response): Include the imap server name in the message for greater debuggability. 2012-01-28 Lars Ingebrigtsen * mm-view.el (mm-display-inline-fontify): Bind `font-lock-support-mode' instead of setting it locally, since the latter doesn't seem to have any effect (most of the time). 2012-01-27 Elias Pipping (tiny change) * shr.el (shr-browse-url): Fix the name of the `browse-url-mail' function call. 2012-01-27 Vida Gábor (tiny change) * gnus-demon.el (gnus-demon-run-callback, gnus-demon-init): Convert to seconds, and make the repeat clause with HH:MM specs work as documented. 2012-01-27 Lars Ingebrigtsen * proto-stream.el (proto-stream-capability-open): Fall back on :end-of-command if :end-of-capability doesn't exist. 2012-01-26 Katsumi Yamaoka * gnus-sum.el (gnus-summary-mode): Don't make bidi-paragraph-direction bound globally in old Emacsen and XEmacsen. 2012-01-27 Lars Ingebrigtsen * gnus-start.el (gnus-get-unread-articles): Clear out "early" methods so that previous errors don't prohibit getting new news. * nnimap.el (nnimap-retrieve-group-data-early): Ditto. * nntp.el (nntp-retrieve-group-data-early): Ditto. 2012-01-26 Nick Alcock (tiny change) * gnus.el (gnus-group-find-parameter): Check for liveness of the buffer, not of the string which is its name. 2012-01-26 Lars Ingebrigtsen * proto-stream.el (proto-stream-capability-open): Wait for :end-of-capability, not :end-of-command. * gnus-sum.el (gnus-summary-move-article): Don't propagate marks to non-server-marks groups. (gnus-group-make-articles-read): Ditto. * gnus-srvr.el (gnus-server-prepare): Use it to avoid showing ephemeral methods (bug#9676). * gnus.el (gnus-method-ephemeral-p): New function. 2012-01-26 Katsumi Yamaoka * gnus-sum.el (gnus-summary-mode): Force paragraph direction to be left-to-right. 2012-01-26 Lars Ingebrigtsen * nnimap.el (nnir-search-thread): Autoload to avoid a compilation warning. 2012-01-25 Lars Ingebrigtsen * gnus-sum.el (gnus-summary-line-format-alist): Don't try to macroexpand the nnir things, since they haven't been defined yet, and nnir requires gnus-sum. 2012-01-24 Julien Danjou * color.el (color-rgb-to-hsl): Fix value computing. (color-hue-to-rgb): New function. (color-hsl-to-rgb): New function. (color-clamp, color-saturate-hsl, color-saturate-name) (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl) (color-lighten-name, color-darken-hsl, color-darken-name): New function. 2012-01-21 Lars Magne Ingebrigtsen * mm-decode.el (mm-interactively-view-part): Fix prompt. 2012-01-19 Julien Danjou * color.el (color-name-to-rgb): Use the white color to find the max color component value and return correctly computed values. (color-name-to-rgb): Add missing float conversion for max value. 2012-01-10 Teodor Zlatanov * nntp.el (nntp-send-authinfo): Query `auth-source-search' with the logical server name in addition to the actual machine address. * auth-source.el (auth-source-user-and-password): Add convenience wrapper to search by just host and optionally user. 2012-01-07 Lars Magne Ingebrigtsen * shr.el (shr-visit-file): Move point to the beginning of the buffer after rendering. 2012-01-07 Teodor Zlatanov * gnus-sync.el (gnus-sync-newsrc-groups): Quote normally. (gnus-sync-lesync-pre-save-group-entry): Remove invalid invlists. (gnus-sync-lesync-normalize-group-entry): Ignore a few more keys. 2012-01-07 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-summary-read-group): Document more parameters (bug#9693). (gnus-summary-setup-buffer): Document return value (bug#9697). * mm-decode.el (mm-interactively-view-part): Use `completing-read', since ido doesn't work on symbols (bug#9632). * gnus.el (gnus-group-fast-parameter): Use the same precedence rules when getting a single value as when getting all the values. This means that atoms like `gcc-self' work cumulatively, like variable settings, instead of getting the value from the last matching clause. (gnus-group-find-parameter): Protect against the group buffer not existing (bug#9585). 2012-01-06 Lars Magne Ingebrigtsen * gnus-start.el (gnus-activate-group): Document more parameters (bug#9694). * gnus-group.el (gnus-group-read-ephemeral-group): Doc clarification (bug#9692). * gnus-agent.el (gnus-agent-store-article): Tell the Agent when the article was fetched, so that it can be expired later (bug#9958). (gnus-agent-summary-fetch-series): Add doc string. (gnus-agent-summary-fetch-group): Don't remove tick and dormant marks (bug#9517). * nntp.el (nntp-retrieve-groups): Refuse to do retrieval when an async retrieval is happening. * gnus.el (gnus-parameters): Doc fix. 2012-01-06 Dave Abrahams * gnus-sum.el (gnus-summary-refer-thread): If the subtree is hidden, show the thread after expansion. 2012-01-06 Lars Magne Ingebrigtsen * gnus-art.el (article-narrow-to-head): If the head is completely empty, narrow to the empty region (bug#9764). * gnus-sum.el (gnus-summary-mark-article-as-unread): Mark articles as read, and then mark them as unread only when the unread mark is used. This makes `C-- T k' actually work, even though it's confusing. * gnus-win.el (gnus-all-windows-visible-p): Ensure that the buffer is alive before we try to find its window. 2012-01-06 Brian Sniffen (tiny change) * mm-decode.el (mm-display-external): Use a longer timeout for the deletion to allow slow programs to display the file. 2012-01-06 Lars Magne Ingebrigtsen * gnus-art.el (gnus-article-browse-delete-temp-files): Fix up the prompt to be less confusing. * gnus-msg.el (gnus-summary-reply): Do not give a `switch-to-buffer' argument to `message-reply'. This broke `special-display-*' frame pop-uping (bug#10238). 2012-01-05 Lars Magne Ingebrigtsen * starttls.el (starttls-available-p): Return nil on Windows/MS-DOS systems, since these allegedly don't work there. 2012-01-04 Chris Gray (tiny change) * mm-decode.el (mm-shr): Check that `gnus-summary-buffer' really is a live buffer. 2012-01-04 Lars Magne Ingebrigtsen * nnir.el (nnir-retrieve-headers): Protect against the article not existing on the server (bug#10335). 2012-01-04 Wolfgang Jenkner (tiny change) * gnus-agent.el (gnus-agent-load-local): Recompute gnus-agent-article-local on changing method. 2012-01-04 Lars Magne Ingebrigtsen * gnus.el (gnus-parameters): Note precedence. 2012-01-04 Leo * nndraft.el (nndraft-update-unread-articles): Don't move point around in the group buffer. 2012-01-04 Julien Danjou * nnimap.el (nnimap-update-info): Fix an error when all articles UIDs change. 2012-01-04 Lars Magne Ingebrigtsen * shr.el (shr-rescale-image): Add :ascent 100 to the rescaled picture, too. * nntp.el (nntp-retrieve-group-data-early): Use it. 2012-01-03 Lars Magne Ingebrigtsen * nntp.el (nntp-retrieval-in-progress): New variable. (nntp-make-process-buffer): Make it buffer-local. * gnus-demon.el (gnus-demon-time-to-step): Resurrect function lost in 2010. (gnus-demon-init): Use it to compute the time if time is on the form "04:23". * gnus-topic.el (gnus-topic-history): Define `gnus-topic-history'. * nnimap.el (nnimap-finish-retrieve-group-infos): Check the connection status in the correct buffer. 2012-01-03 Leo * gnus-topic.el (gnus-topic-goto-next-group): Don't move point around when opening topics (bug#10407). 2011-12-30 Paul Eggert * gnus-cus.el (gnus-score-customize): * gnus-sum.el (gnus-sort-gathered-threads): * message.el (message-shorten-references): * nnmairix.el (nnmairix-request-group): * uudecode.el (uudecode-decode-region-internal): Spelling fix. 2011-12-29 Paul Eggert * gnus-agent.el (gnus-agent-regenerate-group): * gnus-int.el (gnus-retrieve-group-data-early): * mm-util.el (mm-codepage-ibm-list): * nndiary.el (Commentary, nndiary-get-new-mail): * nnir.el (nnir): * pgg-parse.el (pgg-parse-symmetric-key-algorithm-alist): Spelling fix. 2011-12-28 Katsumi Yamaoka * mm-view.el (mm-display-inline-fontify): Add comment. 2011-12-21 Paul Eggert * nndiary.el (nndiary-parse-schedule-value, nndiary-parse-schedule): * ntlm.el (ntlm-smb-dohash): Spelling fix. 2011-12-19 Paul Eggert * gnus-art.el (gnus-split-methods): * gnus-msg.el (gnus-configure-posting-styles): * gnus-spec.el (gnus-parse-simple-format): * gnus-win.el (gnus-configure-frame, gnus-all-windows-visible-p): * message.el (message-do-actions): Spelling fix. 2011-12-15 Juri Linkov * mm-decode.el (mm-inline-media-tests): Add missing `mm-handle-media-subtype'. 2011-12-14 Paul Eggert * gnus-group.el (gnus-group-tool-bar): * gnus-sum.el (gnus-summary-tool-bar): * message.el (message-tool-bar): * rfc2231.el (rfc2231-parse-string): Spelling fix. 2011-12-12 Paul Eggert * plstore.el (plstore--insert-buffer): Spelling fix. 2011-12-09 Tassilo Horn * message.el (message-valid-fqdn-regexp): Update with newly approved top-level domain names ".tel" and ".asia". 2011-12-08 Katsumi Yamaoka * gnus-sum.el (gnus-summary-show-article): Don't load shr unconditionally. 2011-12-07 Katsumi Yamaoka * message.el (message-pop-to-buffer): Use pop-to-buffer instead of pop-to-buffer-same-window for old Emacsen. 2011-12-06 Juanma Barranquero * gnus-sum.el (gnus-summary-make-tool-bar): Fix typo. 2011-12-05 Paul Eggert * netrc.el (netrc-credentials): Spelling fix. 2011-12-04 Paul Eggert * gnus-fun.el (gnus-fun-ppm-change-string): * gnus-msg.el (gnus-inews-do-gcc): * gnus-sum.el (gnus-summary-find-for-reselect): * gnus.el (gnus-summary-cancelled): * message.el (message-cancel-hook, message-send-news): * nndiary.el (nndiary-headers, nndiary-parse-schedule-value): * nnir.el (nnir-run-hyrex): * nntp.el (nntp-with-open-group-function): * pgg.el (pgg-pending-timers): Spelling fix. 2011-12-04 Chong Yidong * message.el (message-pop-to-buffer): Partially revert 2011-11-30 change (Bug#10200). 2011-12-02 Katsumi Yamaoka * compface.el (uncompface): * gnus-art.el (gnus-article-x-face-command): Update the header format of icon data for the most recent icontopbm program. 2011-12-01 Katsumi Yamaoka * gnus-msg.el (gnus-inews-do-gcc): * message.el (message-send-mail): * mml.el (mml-generate-mime): Share the value of the buffer-local `message-options' variable between a draft buffer and temprary working buffers. 2011-11-30 Stefan Monnier * message.el (message-pop-to-buffer): Revert 2011-09-11 change. 2011-11-30 Katsumi Yamaoka * gnus-art.el (gnus-article-browse-html-parts): Convert link file names for Cygwin. 2011-11-27 Paul Eggert * gnus-group.el (gnus-group-prepare-flat): * mm-bodies.el (mm-encode-body): * mml.el (mml-preview): * nnml.el (nnml-request-compact-group): * pop3.el (pop3-stream-type): Spelling fix. 2011-11-26 Paul Eggert * gnus-start.el (gnus-newsrc-to-gnus-format): Spelling fix. 2011-11-25 Paul Eggert * color.el (color-rgb-to-hsl): * gmm-utils.el (gmm-tool-bar-style): * gnus-group.el (gnus-group-prepare-flat): * gnus-topic.el (gnus-topic-prepare-topic): * mm-decode.el (mm-discouraged-alternatives): * rfc2047.el (rfc2047-encode-1): * starttls.el: Spelling fix. 2011-11-24 Glenn Morris * binhex.el (binhex-begin-line): Give it basic doc-string. * starttls.el, tls.el: Fix case of "GnuTLS". 2011-11-24 Juanma Barranquero * gnus-group.el (gnus-group-highlight): Fix typo. 2011-11-24 Adam W (tiny change) * mail-source.el (mail-source-fetch-maildir): Don't expect the return value of `delete-file', that returns nil for a local file but returns t for a remote file using ssh. 2011-11-22 Paul Eggert * gnus-sum.el (gnus-summary-save-article): Spelling fix. 2011-11-22 Lars Magne Ingebrigtsen * shr.el (shr-table-horizontal-line): Use "?\s" instead of "? " to avoid later breakage. 2011-11-22 Katsumi Yamaoka * gnus-art.el (gnus-article-setup-buffer): Decode group name used for article buffers' name. 2011-11-22 Lars Magne Ingebrigtsen * shr.el (shr-table-horizontal-line): Revert infinite loops introduced by Paul Eggert's spellfixes two days ago. 2011-11-21 Lars Magne Ingebrigtsen * dgnushack.el (fboundp): Define `with-demoted-errors' for Emacsen that doesn't have it. * mm-view.el (mm-display-inline-fontify): Make the font-lock variables buffer-local instead of binding them to avoid warnings. Also demote errors (bug#10063). (font-lock-mode-hook): Shut up byte compiler. 2011-11-20 Juanma Barranquero * mm-util.el (mm-charset-after): * nnir.el (nnir-run-hyrex): * ntlm.el (ntlm-build-auth-request, ntlm-build-auth-response) (ntlm-get-password-hashes, ntlm-md4hash): * smime.el: Fix typo. 2011-11-20 Paul Eggert * gnus-agent.el (gnus-agent-expire-group-1): * nndiary.el (nndiary-last-occurence): * nnimap.el (nnimap-request-set-mark): * nnmairix.el (nnmairix-only-use-registry): * gnus-group.el (gnus-group-prepare-flat): * gnus-sum.el (gnus-decode-encoded-word-methods): * message.el (message-wash-subject): * nntp.el (nntp-retrieve-headers-with-xover): * smime.el (smime-certificate-directory): Spelling fix. 2011-11-19 Paul Eggert * nnmail.el (nnmail-get-new-mail-1): Remove unused local variables. * color.el: * gnus-agent.el (gnus-agent-possibly-alter-active): * gnus-dired.el (gnus-dired-print): * mail-parse.el: * nnmairix.el (nnmairix-request-group): * shr.el (shr-image-displayer): * sieve-manage.el: * spam.el (spam-autodetect-recheck-messages): Spelling fix. 2011-11-18 Paul Eggert * gnus-sum.el (gnus-auto-select-subject): * spam-report.el (spam-report-resend): Spelling fix. 2011-11-17 Paul Eggert * gnus-agent.el (gnus-agent-get-undownloaded-list): * gnus-art.el (gnus-default-article-saver): * gnus-srvr.el (gnus-server-copy-server): * gnus.el (gnus-sloppily-equal-method-parameters): * html2text.el (html2text-format-tag-list): * message.el (message-narrow-to-head): * nndiary.el: * nnmairix.el (nnmairix-determine-original-group-from-registry): * sieve.el: Spelling fix. 2011-11-16 Juanma Barranquero * gnus-agent.el (gnus-agent-expire-unagentized-dirs): * gnus-sum.el (gnus-summary-make-menu-bar): * gnus-uu.el (gnus-uu-decode-postscript) (gnus-uu-decode-postscript-and-save): * mailcap.el (mailcap-print-command): * registry.el (registry-lookup, registry-lookup-breaks-before-lexbind): Fix typos. 2011-11-15 Juanma Barranquero * gnus-art.el (gnus-article-part-wrapper): * html2text.el (html2text-fix-paragraphs): * mm-decode.el (mm-image-fit-p): * rfc2047.el (rfc2047-encode-message-header): * shr-color.el (shr-color-visible-distance-min) (shr-color-relative-to-absolute, set-minimum-interval) (shr-color-visible): Fix typos. 2011-11-15 Paul Eggert * gmm-utils.el (gmm-tool-bar-item): * gnus-art.el (gnus-treat-body-boundary): * gnus-diary.el (gnus-user-format-function-d): * gnus-start.el (gnus-get-unread-articles): * pgg-gpg.el (pgg-gpg-update-agent): * smime.el (smime-cert-by-ldap-1): Spelling fix. 2011-11-14 Paul Eggert * gnus-topic.el (gnus-group-prepare-topics): * gnus-uu.el (gnus-extract-view): * gnus-win.el (gnus-use-frames-on-any-display): Spelling fix. 2011-11-09 Teodor Zlatanov * spam.el: Move BBDB autoloads. (spam-exists-in-BBDB-p): New function to do the BBDB search directly in BBDB 2 and 3. (spam-check-BBDB): Use it. (spam-enter-ham-BBDB): Use it. 2011-11-09 Paul Eggert * smime.el (smime-draw-buffer): Spelling fix. 2011-10-31 Peter Münster (tiny change) * gnus-group.el (gnus-group-get-new-news): New parameter `one-level' for scanning exactly one level. * gnus-start.el (gnus-get-unread-articles): Ditto. 2011-11-03 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-articles-to-read): Change wording in prompt to be slightly clearer. 2011-11-03 Teodor Zlatanov * gnus-sync.el: More commentary about setup. 2011-11-03 Lars Magne Ingebrigtsen * message.el (message-send-and-exit): Document `arg'. 2011-11-03 Stefan Monnier * nnimap.el (nnimap-open-connection-1): Use tcp-keealive if possible. 2011-11-02 Teodor Zlatanov * gnus-sync.el: More commentary about `gnus-sync-read' issues. * gnus-util.el (gnus-bound-and-true-p): Another comment to explain why we don't use `bound-and-true-p'. 2011-11-01 Teodor Zlatanov * gnus-util.el (gnus-bound-and-true-p): Remove. (gnus-bound-and-true-dumber-p): Rename to `gnus-bound-and-true-p'. * nnir.el: Use it. * nnmairix.el: Use it. 2011-10-31 Teodor Zlatanov * gnus-sync.el: Improve docs about CouchDB admins. * gnus-util.el (gnus-bound-and-true-dumber-p): Define new, slower, dumb function because `gnus-bound-and-true-p' doesn't work well in XEmacs for reasons unknown. * nnir.el: Use it. * nnmairix.el: Use it. * nnregistry.el: Remove unnecessary `gnus-registry-enabled' defvar. * nnir.el: Ditto. * nnmairix.el: Ditto. * gnus-registry.el (gnus-registry-enabled): Default to nil. 2011-10-29 Teodor Zlatanov * gnus-sync.el (gnus-sync-lesync-setup): Fix salt when user setup is not needed. Provide xmlplistread list function to produce XML plist output for non-Gnus LeSync clients. 2011-10-27 Teodor Zlatanov * gnus-fallback-lib/json.el: Add for XEmacs and Emacs 22 support. * gnus-sync.el: Add LeSync synchronization backend and logic to read and save against it. Group subscriptions, read marks, other marks, subscription levels, topic names, and topic offsets (the group's position within the topic) are saved. This is an experimental backend and may change significantly. Load json.el from the gnus-fallback-lib if it's not available otherwise. (gnus-sync-save): Don't use `apply-partially' because of XEmacs. 2011-10-26 Stefan Monnier * message.el (message-completion-function): Make sure message-tab-body-function is not attempted if one of message-completion-alist fails to find a completion (bug#9158). 2011-10-26 Daiki Ueno * mml.el (mml-quote-region): Quote <#secure> tag. (mml-generate-mime-1): Unquote <#secure> tag. 2011-10-20 Chong Yidong * gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24, calling a minor mode from Lisp with nil arg enables it, so we have to make the wording a bit ambiguous here). 2011-10-18 Teodor Zlatanov * gnus-util.el (gnus-bound-and-true-p): Macro for XEmacs compatibility. * nnir.el (nnir-mode): Use it. * nnmairix.el (nnmairix-determine-original-group-from-registry): Use it. * nnir.el (gnus-registry-enabled): Defvar to keep the compiler happy. * nnmairix.el (gnus-registry-enabled): Ditto. 2011-10-17 Dave Abrahams * gnus-registry.el (gnus-registry-enabled): Add new variable (Bug#9691). (gnus-registry-install-shortcuts): Set `gnus-registry-install' to 'ask only while we need to find out if it should be t or nil. (gnus-registry-initialize): Don't set `gnus-registry-install' to t. (gnus-registry-install-hooks): Set `gnus-registry-enabled' to t when the registry is installed. Set it to nil when it's unloaded. (gnus-registry-install-p): Provide user guidance for the initial value of `gnus-registry-install' when it's 'ask, otherwise return its value. * nnregistry.el (nnregistry-open-server, nnregistry-server-opened): Use `gnus-registry-enabled' instead of `gnus-registry-install'. * nnmairix.el (nnmairix-determine-original-group-from-registry): Use `gnus-registry-enabled' instead of `gnus-registry-install'. * nnir.el (nnir-mode): Use `gnus-registry-enabled' instead of `gnus-registry-install'. 2011-10-17 Daiki Ueno * mml2015.el (mml2015-epg-find-usable-key): Add comment about the previous change. * mml1991.el (mml1991-epg-find-usable-key): Skip the whole key if the primary key is marked as disabled. 2011-10-17 Christian von Roques (tiny change) * mml2015.el (mml2015-epg-find-usable-key): Skip the whole key if the primary key is marked as disabled. 2011-10-11 Andreas Schwab * html2text.el (html2text-clean-anchor): Check for quotes around `href' value. 2011-10-11 Teodor Zlatanov * spam.el (spam-check-BBDB): Simplify and support BBDB 3.x when searching. Drop `bbdb-cache'. 2011-10-11 Katsumi Yamaoka * message.el (message-signed-or-encrypted-p): Exclude header when checking if there is signed or encrypted body in text/plain message. 2011-10-09 Andreas Schwab * html2text.el (html2text-get-attr): Correctly handle attribute values containing "=". 2011-09-22 Kan-Ru Chen * ecomplete.el (ecomplete-display-matches): Use a local keymap to handle bindings. 2011-10-06 Lars Magne Ingebrigtsen * gnus-win.el (gnus-configure-windows): Protect against reading ephemeral groups outside of Gnus. 2011-10-06 Katsumi Yamaoka * shr.el (shr-tag-img): Don't get images displayed in tables. 2011-10-03 Glenn Morris * gnus-group.el (gnus-bug-group-download-format-alist): Once again get the "maintainer" version of debbugs.gnu.org reports. 2011-10-02 Lars Magne Ingebrigtsen * shr.el (shr-tag-img): Add a space at the end of an ALT image text to make asynchronous adjacent image insertion work better. 2011-09-27 Daiki Ueno * plstore.el (plstore-select-keys, plstore-encrypt-to): Clarify documentation. 2011-09-27 Lars Magne Ingebrigtsen * gnus-uu.el (gnus-uu-grab-articles): Require gnus-async so that `gnus-asynchronous' isn't shadowed. 2011-09-26 Lars Magne Ingebrigtsen * gnus-xmas.el (gnus-xmas-define): Add `member-ignore-case'. * nnimap.el (nnimap-wait-for-response): Message less (bug#9540). (nnimap-insert-partial-structure): The charset parameter isn't case-sensitive. * nnheader.el (nnheader-message-maybe): New function. * shr.el (shr-tag-table): Render totally broken tables better. * mml.el (mml-generate-mime-1): Don't alter the contents if we're computing the boundary. 2011-09-26 Lars Magne Ingebrigtsen * pop3.el (pop3-number-of-responses): Remove. (pop3-wait-for-messages): Rewrite to take linear time instead of exponential time. 2011-09-24 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-summary-show-article): Bind `shr-ignore-cache' to re-fetch images. * shr.el (shr-tag-img): Support a new variable `shr-ignore-cache' to re-fetch images when hitting `g' in Gnus. 2011-09-22 Katsumi Yamaoka * mml.el (mml-inhibit-compute-boundary): New internal variable. (mml-compute-boundary): Don't check collision if it is non-nil. (mml-compute-boundary-1): Use mml-generate-mime-1 to encode part before checking collision. 2011-09-21 Lars Magne Ingebrigtsen * message.el (message-indent-citation): Really make sure there's a newline at the end. * nnimap.el (nnimap-parse-flags): Make regexp less prone to overflows. Fix suggested by John Wiegley. * pop3.el (pop3-open-server): Fix +OK end-of-command regexp. * gnus-art.el (gnus-treat-hide-citation): Add doc. * message.el (message-default-send-rename-function): Break out into its own function. * ecomplete.el (ecomplete-display-matches): Revert patch since it doesn't work under XEmacs. * nnimap.el (nnimap-map-port): New function to connect to 993 instead of "imaps" to word around Windows problems. (nnimap-open-connection-1): Use it. * message.el (message-indent-citation): Revert last change which made `F' not work. 2011-09-13 Kan-Ru Chen * ecomplete.el (ecomplete-display-matches): Intercept key sequence from terminal as well. 2011-09-21 Katsumi Yamaoka * mm-view.el (mm-display-inline-fontify): Don't run doc-view-mode because it displays images using overlays that aren't easy to copy to the article buffer. 2011-09-20 Łukasz Stelmach (tiny change) * message.el (message-indent-citation): Fix empty line removal at the end of the citation. 2011-09-20 Julien Danjou * auth-source.el (auth-source-netrc-create): Use default value for password if specified. Evaluate default. (auth-source-plstore-create): Ditto. (auth-source-plstore-create, auth-source-netrc-create): Fix default value evaluation. (auth-source-netrc-create): Typo fix. (auth-source-plstore-create): Ditto. * password-cache.el (password-cache-remove): Remove entries even if the value is nil, so that password with a nil value (negative caching) is possible to invalidate. * auth-source.el (auth-source-format-cache-entry): New function. 2011-09-20 Katsumi Yamaoka * gnus-fun.el (gnus-convert-image-to-x-face-command): Doc fix. 2011-09-18 Lars Magne Ingebrigtsen * mm-decode.el (mm-inline-media-tests): Fix typo in regexp. 2011-09-19 Julien Danjou * auth-source.el (auth-source-netrc-parse): Use an obfuscation method which work with things that are not ASCII. 2011-09-17 Lars Magne Ingebrigtsen * mm-decode.el (mm-inline-media-tests): Support imagemagick images. 2011-09-15 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-summary-read-group-1): Bump the "Retrieving" message level. 2011-09-15 Katsumi Yamaoka * message.el (message-read-from-minibuffer): Make abbrev expansion work. 2011-09-12 Lars Magne Ingebrigtsen * gnus.el (gnus-interactive-exit): Update defcustom spec. 2011-09-12 Stefan Monnier * gnus.el (gnus-nntp-server): Move to gnus-int.el to silence bytecomp. * gnus-int.el (gnus-nntp-server): Move from gnus.el. 2011-09-12 Andrew Cohen * gnus-group.el (gnus-group-list-limit-map, gnus-group-list-flush-map) (gnus-group-list-plus-map): Allow limiting, flushing and plusing ticked articles. 2011-09-11 Chong Yidong * message.el (message-pop-to-buffer): Default to switch-to-buffer. (message-mail-other-window, message-mail-other-frame) (message-news-other-window, message-news-other-frame): Use switch-to-buffer-other-frame and switch-to-buffer-other-window instead of setting buffer display varibles. 2011-09-11 Lars Magne Ingebrigtsen * gnus-group.el (gnus-group-list-limit): Explain what the command does. * gnus-sum.el (gnus-fetch-headers): Bump message level. 2011-09-11 Lars Magne Ingebrigtsen * gnus-dup.el (gnus-dup-suppress-articles): Move "Suppressing duplicates" to a higher level. * gnus-util.el (gnus-verbose): Lower default to 6 to get rid of the most egregious messages. 2011-09-10 Lars Magne Ingebrigtsen * gnus-msg.el (gnus-summary-mail-forward): Minuscule doc fix. 2011-09-10 Tetsuo Tsukamoto (tiny change) * nnrss.el (nnrss-retrieve-groups): Decode the charset before looking up the file (bug#9351). 2011-09-10 Lars Magne Ingebrigtsen * nnimap.el: Redo the charset handling. Let Gnus encode the names, as it does with all other backends, but decode the names immediately after getting them. * gnus-group.el (gnus-group-name-charset): Always return `utf-7' when decoding nnimap groups. * gnus.el (gnus-variable-list): Don't save `gnus-format-specs' in the newsrc file. It doesn't seem like an important optimization any more. 2011-09-10 Dave Abrahams * nnimap.el (nnimap-transform-headers): Fix regexp to be less prone to overflows. 2011-09-10 Lars Magne Ingebrigtsen * gnus.el (gnus-article-mark-lists): Remove `recent'. (gnus-interactive-exit): Extend to `quiet'. * gnus-sum.el (gnus-offer-save-summaries): Use it. * gnus-art.el (gnus-treat-hide-citation-maybe): Add more doc to the string. * plstore.el (plstore--get-buffer): Silence compiler warnings by renaming function arguments from `this'. * gnus-sum.el (gnus-newsgroup-recent): Remove. * gnus-spec.el (gnus-lrm-string-p): `bidi-string-mark-left-to-right' has been renamed. (gnus-lrm-string-p): Include RLM and PDF, too. * gnus-int.el (gnus-open-server): Make the "denied" message clearer (bug#9225). 2011-09-10 Eli Zaretskii Add autoload cookies for functions used by sendmail.el. * mm-encode.el (mm-default-file-encoding): Add autoload cookie. * mml.el (mml-to-mime, mml-attach-file): Add autoload cookies. 2011-09-09 Katsumi Yamaoka * gnus-art.el (article-date-ut): Work properly even when there are things like Date header in the body; work for forwarded parts. 2011-09-05 Andrew Cohen * gnus-sum.el (gnus-summary-exit): Ensure we kill the proper original-article-buffer. 2011-09-05 Kan-Ru Chen * nnir.el (nnir-compose-result): Fix matching of server type. (nnir-run-swish++): Ditto. (nnir-run-namazu): Ditto. (nnir-run-notmuch): Ditto. 2011-09-04 Lars Magne Ingebrigtsen * gnus.el (gnus-home-directory): Add warning about setting in .gnus.el (bug#9405). * gnus-score.el (gnus-summary-increase-score): Doc clarification (bug#9421). * gnus-spec.el (gnus-face-0): Make all the face specs into defcustoms (bug#9425). * gnus-art.el (gnus-treatment-function-alist): Remove CRs as the first thing (bug#9426). 2011-09-03 Lars Magne Ingebrigtsen * nnimap.el (nnimap-open-connection-1): Use the correct port number in the error message. 2011-09-02 Eli Zaretskii * message.el (message-setup-1): Return t (Bug#9392). 2011-09-01 Andrew Cohen * gnus-sum.el: When adding article headers to a summary buffer also update gnus-newsgroup-articles (bug#9386). 2011-08-30 Katsumi Yamaoka * auth-source.el: Autoload help-mode. 2011-08-30 Lars Magne Ingebrigtsen * gnus-group.el (gnus-group-name-charset): Don't bug out on server names. 2011-08-27 Daiki Ueno * mml-smime.el (mml-smime-epg-verify): Don't use the 4th arg of mm-replace-in-string for compatibility issues. * mml2015.el (mml2015-epg-verify): Ditto. 2011-08-26 Katsumi Yamaoka * mailcap.el (mailcap-mime-data): Regexp-quote MIME subtype. * gnus-msg.el (gnus-setup-message): Remove extra apostrophe. 2011-08-21 Lars Magne Ingebrigtsen * nnmail.el (nnmail-get-new-mail-1): If one mail source bugs out, continue on and do the clean-up phase (bug#9188). * gnus-sum.el (gnus-summary-expire-articles): When expiring articles, just ignore groups that can't be opened instead of erroring out (bug#9225). * gnus-art.el (gnus-article-update-date-headers): Flip the default to nil since some many people are fuddy-duddies. * gnus-html.el (gnus-html-image-fetched): Don't cache zero-length images. * nntp.el (nntp-authinfo-file): Mark as obsolete -- use auth-source instead. * pop3.el (pop3-wait-for-messages): Don't use Gnus functions here. * gnus-util.el (gnus-process-live-p): Copy over compat function. * pop3.el (pop3-wait-for-messages): If the pop3 process dies, stop processing. * nntp.el (nntp-kill-buffer): Kill the process before killing the buffer to avoid warnings. 2011-08-20 Simon Josefsson * gnus-agent.el (gnus-agent-expire-done-message): Use %.f as format specified to reduce precision. 2011-08-19 Lars Magne Ingebrigtsen * nnimap.el (nnimap-transform-headers): Protect against (NIL ...) bodystructures (bug#9314). 2011-08-19 Katsumi Yamaoka * gnus-art.el (gnus-insert-mime-button, gnus-mime-display-alternative): Make button keymap non-sticky after buttons. 2011-08-18 David Engster * nnmairix.el (nnmairix-request-set-mark) (nnmairix-goto-original-article): Remove adding of article to registry, since `gnus-registry-add-group' isn't available anymore. (nnmairix-determine-original-group-from-registry): Use `gnus-registry-get-id-key' since `gnus-registry-fetch-groups' isn't available anymore. 2011-08-12 Simon Josefsson * starttls.el (starttls-any-program-available): Define as obsolete function. 2011-08-18 Lars Magne Ingebrigtsen * gnus-util.el (gnus-y-or-n-p): Reinstate the message-clearing y-or-n-p versions which Gnus use when appropriate. * gnus-group.el (gnus-group-clear-data): Add a y-or-n query, since it's a pretty destructive command. * nnmail.el (nnmail-extra-headers): Clarify slightly (bug#9302). 2011-08-17 Lars Magne Ingebrigtsen * message.el (message-fix-before-sending): Make a different warning about NUL characters (bug#9270). * gnus-sum.el (gnus-auto-select-subject): Allow specifying a function from custom (bug#9260). * gnus-spec.el (gnus-lrm-string): Use 8206 instead of ?\x200e to make things work in Emacs 22 and XEmacs, too. * gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): LRM-ify the default From. * gnus-spec.el (gnus-lrm-string-p): New macro. (gnus-lrm-string): New constant. (gnus-summary-line-format-spec): LRM-ify the from. (gnus-tilde-max-form): LRM-ify string chopping. * gnus-ems.el (gnus-string-mark-left-to-right): New function. * message.el (message-is-yours-p): Allow disabling canlock checking (bug#9295). (message-shoot-gnksa-feet): Add `canlock-verify'. (message-auto-save-directory): Use ~/ as the auto-save directory if the message directory isn't writable (bug#9304). * auth-source.el (auth-source-netrc-saver): Make the .authinfo file non-world-readable. 2011-08-17 Katsumi Yamaoka * nndraft.el (nndraft-update-unread-articles): Don't send delayed articles. 2011-08-13 Andreas Schwab * gnus-score.el (gnus-all-score-files): Use copy-sequence instead of copy-list. 2011-08-12 Sam Steingold * gnus-score.el (gnus-score-find-alist): Keep the score files already in the reverse order to avoid modifying the cache with `nreverse'. (gnus-all-score-files): Do not modify the value returned by `gnus-score-find-alist' because it lives in a cache variable. (gnus-current-home-score-file): No need to `nreverse' the return value of `gnus-score-find-alist', it is already in the correct order. 2011-08-11 Andrew Cohen * nnimap.el (nnimap-transform-headers): BODYSTRUCTURE for messages of type MESSAGE and subtype RFC822 is slightly different from those of type TEXT. 2011-08-05 Andrew Cohen * gnus-sum.el (gnus-summary-refer-article): Warp to article. This allows article-referral to work from an nnir group. 2011-08-04 Andrew Cohen * gnus.el (registry-ignore): Add nnir groups to the ignore-list. 2011-08-04 Daiki Ueno * mml1991.el (mml1991-epg-find-usable-key) (mml1991-epg-find-usable-secret-key): New function. (mml1991-epg-sign): Check if signing key is usable. (mml1991-epg-encrypt): Check if encrypting key is usable (bug#8955). 2011-08-03 Andrew Cohen * nnir.el (nnir-read-server-parm): Add an argument to restrict to server-variables only. This should fix a bug introduced with commit e1889675b7f4adf057833c5513c9374134c4e053. (nnir-run-query): 'nnir-search-engine should not be set from the global environment. 2011-08-02 Andrew Cohen * nnir.el (nnir-search-thread): Position point on referring article line. (nnir-warp-to-article): Clean up summary buffers. * nnimap.el (nnimap-request-thread): Whitespace fix. 2011-08-02 Steve Purcell (tiny change) * nnimap.el (nnimap-get-groups): Decode "&" correctly. 2011-08-02 Lars Magne Ingebrigtsen * starttls.el (starttls-available-p): Rename from `starttls-any-program-available' and changed return convention. 2011-07-31 Lars Ingebrigtsen * nnmaildir.el (nnmaildir-request-accept-article): Don't call `unix-sync' unless it's defined. 2011-07-31 Marcus Harnisch (tiny change) * gnus-art.el (gnus-article-stop-animations): Use `elt' instead of `aref' for XEmacs compatibiltiy. 2011-07-31 Lars Magne Ingebrigtsen * spam.el (spam-fetch-field-fast): Rewrite slightly for clarity. 2011-07-31 Dave Abrahams * gnus-sum.el (gnus-summary-refer-thread): Since lambdas aren't closures, quote the form properly (bug#9194). 2011-07-31 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-summary-insert-new-articles): Clean up slightly. (gnus-summary-insert-new-articles): Protect against servers that are down. 2011-07-29 Daniel Dehennin * mm-decode.el (mm-dissect-buffer): Add a default content-disposition in mm handle if none is specified. 2011-07-24 Andrew Cohen * nnimap.el (nnimap-make-thread-query): Quote message-ids for gmail. 2011-07-23 Andrew Cohen * nnir.el (nnir-search-thread): New function to make an nnir group based on a thread query. * gnus-sum.el (gnus-refer-thread-use-nnir): New variable to control use of nnir in thread referral. (gnus-summary-refer-thread): Use it. * nnimap.el (nnimap-request-thread): Use it. 2011-07-20 Lars Magne Ingebrigtsen * shr.el (shr-tag-comment): Ignore HTML comments. 2011-07-20 Andrew Cohen * nnir.el (gnus-group-make-nnir-group): Allow optional search query argument. (gnus-group-make-nnir-group, nnir-request-group, nnir-run-query): Use `nnir-address' to handle server info rather than passing an arg. * nnimap.el (nnimap-make-thread-query): New utility function to format an imap thread search query. (nnimap-request-thread): Use it. * gnus-sum.el (gnus-handle-ephemeral-exit): Ensure we are setting the right select-method if we are not going back to the group buffer. 2011-07-19 Lars Magne Ingebrigtsen * gnus-group.el (gnus-group-read-ephemeral-group): Make sure we don't enter invalid buffer configurations into the quit form (bug#9107). (gnus-group-tool-bar-gnome): Replace connect/disconnect with unplugged/plugged. * gnus-sum.el (gnus-summary-refer-thread): When inserting new headers, keep track of which ones are unread (bug#9061). * gnus.el (gnus-refer-article-method): Allow entering any sexp (bug#9055). * gnus-art.el (gnus-article-show-images): Allow working if using w3m (bug#9041). * gnus-html.el (mm-util): Require (bug#9073). * gnus-sum.el (gnus-delete-duplicate-headers): New function. (gnus-summary-refer-thread): Use it to remove duplicates in the un-threaded view (bug#9053). (gnus-summary-insert-subject): Document USE-OLD-HEADER (bug#9070). 2011-07-07 Kan-Ru Chen * nnir.el (nnir-read-server-parm): Use default value from global variable. Without this the default search engine parameters aren't used at all. 2011-07-19 Lars Magne Ingebrigtsen * message.el (message-unique-id): Don't use the undocumented return value from (random t) (bug#9118). 2011-07-16 Lars Magne Ingebrigtsen * message.el (message-auto-save-directory): If the ~/Mail directory doesn't exist, use ~ as the auto-save directory (bug#4432). * gnus-group.el (gnus-group-read-ephemeral-group): Start Gnus if it hasn't already been started. 2011-07-15 Lars Magne Ingebrigtsen * gnus.el (debbugs-gnu): Rename from debbugs-emacs. * message.el (message-reply): Work around mysterious bug where `message-mode' seems to overwrite the locally bound `subject' variable. 2011-07-14 Andrew Cohen * nnimap.el (nnimap-request-thread): Ensure search is performed in correct group. * gnus-int.el (gnus-request-thread): Add group argument. * gnus-sum.el (gnus-summary-refer-thread): Use it. 2011-07-10 Lars Magne Ingebrigtsen * dgnushack.el (debbugs-gnu-summary-mode): Update compat names, too. * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): `debbugs-*' renamed to `debbugs-gnu-*'. 2011-07-08 Daiki Ueno * plstore.el: Revert the editing feature since it is not urgent. (plstore-mode, plstore-mode-toggle-display, plstore-mode-original) (plstore-mode-decoded): Remove. 2011-07-07 Lars Magne Ingebrigtsen * gnus-msg.el (gnus-bug): Don't insert user variables. It usually isn't very interesting any more, and it leaks potentially secret data. (gnus-debug): Remove. * gnus-art.el (gnus-ignored-headers): Remove obsolete and non-working use of :custom-show. 2011-07-07 Daiki Ueno * plstore.el: Add documentation. (plstore-mode): New mode to edit plstore file. (plstore-mode-toggle-display, plstore-mode-original) (plstore-mode-decoded): New command. (plstore--encode, plstore--decode, plstore--write-contents-functions) (plstore--insert-buffer, plstore--make): New function. (plstore-open, plstore-save): Simplify by using them. 2011-07-06 Glenn Morris * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Silence compiler. 2011-07-05 Lars Magne Ingebrigtsen * gnus.el (gnus-refer-article-method): Remove mention of nnspool, which no longer is much used. (gnus-summary-line-format): Link to "Marking Articles" instead of "Read Articles". 2011-04-03 Kan-Ru Chen * nnir.el (nnir-notmuch-program, nnir-notmuch-additional-switches) (nnir-notmuch-remove-prefix, nnir-engines, nnir-run-notmuch): New nnir `notmuch' backend. 2011-07-05 Lars Magne Ingebrigtsen * mm-decode.el (mm-text-html-renderer): Doc fix. * gnus-msg.el (gnus-bug): Fix the MML tag. * pop3.el (pop3-open-server): -ERR is a valid response to CAPA. 2011-07-05 Daiki Ueno * gnus-start.el (gnus-get-unread-articles): Don't connect to the secondary methods if started with `gnus-no-server'. 2011-07-05 Juanma Barranquero * message.el (message-return-action): Fix typo in docstring. 2011-07-04 Lars Magne Ingebrigtsen * gnus-group.el (gnus-read-ephemeral-bug-group): Allow fetching several bug reports at once. * nnimap.el (nnimap-request-scan): Say that splitting has finished. 2011-07-04 Katsumi Yamaoka * nndraft.el: Require gnus-group. (nndraft-request-list): Declare. * nndraft.el (nndraft-update-unread-articles): Don't show group having no unread article unless it matches gnus-permanently-visible-groups. * nndraft.el (nndraft-update-unread-articles): New function. (nndraft-request-associate-buffer): Use it to update the number of unread articles for the nndraft groups in the group buffer when saving or killing a draft message. 2011-07-03 Lars Magne Ingebrigtsen * gnus-group.el (gnus-read-ephemeral-bug-group): Bind the coding systems to binary before writing and reading the mbox files. * gnus.el (gnus-summary-line-format): Link to the info node for %U instead of trying to list them all (bug#8978). 2011-07-03 Wolfgang Jenkner (tiny change) * pop3.el (pop3-open-server): Use :end-of-capability. 2011-07-03 Lars Magne Ingebrigtsen * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Make sure that the id is always a number. * dgnushack.el (debbugs-summary-mode): Shut up compiler about debbugs. * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Hook into debbugs mode, if possible. 2011-07-02 Daiki Ueno * auth-source.el (auth-source-token-passphrase-callback-function): Reindent. (epg-context-operation): Remove unnecessary autoload. 2011-07-02 Lars Magne Ingebrigtsen * gnus.el (gnus-list-debbugs): New command. * gnus-group.el (gnus-bug-group-download-format-alist): Get the mboxstat instead of the maintbox, since the stat seems to be fuller. * gnus-msg.el (gnus-configure-posting-styles): Don't try to select dead summary buffers. * message.el (message-get-reply-headers): Delete all duplicates, instead of the first. (message-get-reply-headers): Ensure that we have progress while deleting duplicates. * gnus-msg.el (gnus-configure-posting-styles): Get the local gnus-posting-style value from the summary buffer to make it easier to make that a per-buffer conf. 2011-07-02 Andrew Cohen * nnir.el (nnir-run-imap): Allow halting a search when an article is found by setting `shortcut' in 'query. (nnir-request-article): Use `shortcut' setting when requesting article by Message-ID. 2011-07-02 Teodor Zlatanov * gnus-msg.el (gnus-bug): Give the Version and Package headers to debbugs with the X-Debbugs-Package and X-Debbugs-Version headers. Bring the pseudo-headers back too. 2011-07-01 Daiki Ueno * auth-source.el (auth-source-token-passphrase-callback-function): Simplify and remove EPA dependency. 2011-07-01 Andrew Cohen * nnir.el (nnir-request-article): Fix error message text. 2011-07-01 Daiki Ueno * auth-source.el (plstore-delete): Autoload. (auth-source-plstore-search): Support delete operation. * plstore.el (plstore-delete): New function. 2011-07-01 Katsumi Yamaoka * gnus-draft.el (gnus-draft-clear-marks): Revert last change; mark actually existing articles as unread rather than the ones that active asserts. 2011-07-01 Paul Eggert * nntp.el (nntp-record-command): * gnus-util.el (gnus-message-with-timestamp-1): Use format-time-string rather than decoding time stamps by hand. This is simpler and insulates the code from potential changes to current-time format. 2011-07-01 Katsumi Yamaoka * gnus-draft.el (gnus-draft-clear-marks): Mark deleted articles as read. 2011-07-01 Daiki Ueno * plstore.el (plstore-select-keys, plstore-encrypt-to): New variable. (plstore-save): Support public key encryption. (plstore--init-from-buffer): New function. (plstore-open): Use it; fix error when opening a non-existent file. (plstore-revert): Use plstore--init-from-buffer. 2011-07-01 Daiki Ueno * auth-source.el (auth-source-backend): Fix :initarg for data slot. 2011-06-30 Katsumi Yamaoka * mml2015.el (mml2015-use): Replace string-match-p with string-match for old Emacsen. 2011-06-30 Daiki Ueno * mml2015.el (mml2015-use): Don't try to load PGG on Emacs 24, when EPG is not fully working. 2011-06-30 Lars Magne Ingebrigtsen * dgnushack.el: Autoload sha1 on XEmacs. * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Take an optional quit window configuration. * auth-source.el (epg-context-set-passphrase-callback): Remove duplicate autoload. 2011-06-30 Andrew Cohen * nnir.el (nnir-request-article): Allow requesting articles by Message-ID with nnimap. * gnus-sum.el (gnus-refer-article-methods): Allow (nnir) entry to use current server. 2011-06-30 Teodor Zlatanov * auth-source.el: Autoload EPA/EPG functions. (auth-source-netrc-use-gpg-tokens): Clarify that it should not be changed when EPA/EPG is not available. (auth-source-backend): Rename "arg" member to "data". (auth-source-backend-parse, auth-source-plstore-search) (auth-source-plstore-create): Use it. 2011-06-30 Andrew Cohen * gnus-art.el (gnus-request-article-this-buffer): Use existing function `gnus-refer-article-methods'. 2011-06-30 Teodor Zlatanov * auth-source.el: Require EPA and EPG. (auth-source-passphrase-alist): New variable. (auth-source-passphrase-callback-function) (auth-source-token-passphrase-callback-function): Callbacks for the netrc field encryption (GPG tokens). (auth-source-epa-extract-gpg-token, auth-source-epa-make-gpg-token): Symmetric encryption and decryption of the netrc GPG tokens. (auth-source-netrc-normalize): Use them, simplifying the closure. 2011-06-30 Katsumi Yamaoka * dgnushack.el (dgnushack-compile): Don't compile plstore.el unless epg is available. 2011-06-30 Lars Magne Ingebrigtsen * nnimap.el (nnimap-split-incoming-mail): If `nnimap-split-fancy' is non-nil, and `nnimap-split-methods' is nil, use the former. 2011-06-30 Daiki Ueno * plstore.el (plstore-revert): New function. (plstore-open): Use it; hide the buffer from user. 2011-06-30 Daiki Ueno * auth-source.el (auth-source-backend): New member "arg". (auth-source-backend-parse): Handle new backend 'plstore. * plstore.el: New file. 2011-06-30 Glenn Morris * mm-util.el (mm-charset-synonym-alist): Move definition before use. 2011-06-30 Lars Magne Ingebrigtsen * nnimap.el (nnimap-process-expiry-targets): Say what target we're expiring articles to. * mm-util.el (mm-charset-to-coding-system): Recognize all ANSI.x3.4 variations as ASCII (bug#5458). 2011-06-30 Katsumi Yamaoka * nnmh.el (nnmh-request-list-1): Work on MS Windows. 2011-06-30 Lars Magne Ingebrigtsen * message.el (message-point-in-header-p): Tweak the function to default to saying that we're not in the headers if there is no separator at all. This makes it possible to use the Message version of `M-q' in buffers with no headers (bug#7987). (message-point-in-header-p): Fix last checkin to work with an empty mail-header-separator, too. * auth-source.el (auth-source-netrc-saver): If the user says "don't ask again, save the choice via customize. 2011-06-29 Lars Magne Ingebrigtsen * message.el (message-send-mail-function): Add `sendmail-query-once'. * nnimap.el (nnimap-finish-retrieve-group-infos): If the server has ended the connection, bail out before waiting infinitely on a new connection. 2011-06-28 Teodor Zlatanov * gnus-msg.el (gnus-bug): Add Package and Version pseudo-headers to bug reports. * gnus.el (gnus-bug-package): Use "gnus." (gnus-maintainer): Direct bug reports to submit@debbugs.gnu.org. 2011-06-26 Lars Magne Ingebrigtsen * dgnushack.el: Make the timer warning go away on XEmacs. * gnus-art.el (gnus-article-stop-animations): New function to stop any animations going on at article exit time. * gnus-registry.el (gnus-registry-user-format-function-M): Reinstate, since removing it breaks people upgrading. * shr.el (shr-put-image): Use the new interface for animating images. (shr-put-image): Animate for 60 seconds. * dgnushack.el: Bind `gnutls-available-p' to `ignore' on XEmacs to avoid compiler warnings. * auth-source.el (with-auth-source-epa-overrides): Fix compilation error with `find-file-hooks' on Emacs 22. (with-auth-source-epa-overrides): Ugly hack to Wrap the `find-file-hook' things in `symbol-value' to avoid compilation warnings on all architectures. * spam.el (spam-stat): Require in a normal fashion without binding `spam-stat-install-hooks' to avoid compilation warnings. * spam-stat.el (spam-stat-install-hooks): Remove. (spam-stat-install-hooks): Don't run automatically. 2011-06-26 Timo Juhani Lindfors (tiny change) * gnus-msg.el (gnus-summary-reply-to-list-with-original): New command and keystroke. 2011-06-23 Katsumi Yamaoka * auth-source.el (auth-source-netrc-cache): Move forward. 2011-06-22 Lars Magne Ingebrigtsen * proto-stream.el (proto-stream-open-starttls): Use `gnutls-available-p' to see whether we have built-in support. * auth-source.el (auth-source-netrc-create): Don't query the bits that we already know. (auth-source-forget-all-cached): Clear auth-source-netrc-cache, too. (auth-source-netrc-create): Don't prompt for the stuff we already know. 2011-06-21 Lars Magne Ingebrigtsen * auth-source.el (auth-source-netrc-create): Don't print all tokens in %S format, since that looks odd. (auth-sources): Prefer the ~/.authinfo file over the ~/.authinfo.gpg file, especially when saving. 2011-06-21 Andrew Cohen * nnimap.el (nnimap-find-article-by-message-id): return nil when no article found. 2011-06-18 Teodor Zlatanov * auth-source.el (auth-source-netrc-use-gpg-tokens): Replace `auth-source-save-secrets' with a more sensitive alist that can be configured per file. Experimental, so defaults to 'never. (auth-source-netrc-create): Use it. Still experimental code. (with-auth-source-epa-overrides): Use `find-file-hooks' if `find-file-hook' is unbound (XEmacs fix). Fix backquoting bug. 2011-06-16 Teodor Zlatanov * auth-source.el (auth-source-save-secrets): New variable to control if secret tokens should be saved encrypted. (auth-source-netrc-parse, auth-source-netrc-search): Pass the file name to `auth-source-netrc-normalize'. (with-auth-source-epa-overrides): Add convenience macro. Don't depend on the EPA variables being defined. (auth-source-epa-make-gpg-token): Convert text to a "gpg:" token. (auth-source-netrc-normalize): Convert "gpg:" tokens back to text in the lexical-let closure. (auth-source-netrc-create): Create "gpg:" tokens according to `auth-source-save-secrets'. 2011-06-10 Katsumi Yamaoka * gnus-group.el (gnus-group-update-group): Add new argument `info-unchanged' that stops updating dribble buffer. * gnus-start.el (gnus-dribble-enter): Add new argument `regexp' that deletes lines matching to it in dribble buffer. * gnus-agent.el (gnus-agent-fetch-group-1): * gnus-group.el (gnus-group-update-group-line, gnus-group-make-group): * gnus-srvr.el (gnus-server-update-server, gnus-server-set-info): * gnus-start.el (gnus-group-change-level): * gnus-sum.el (gnus-summary-move-article): Delete old dribble entry. * gnus-sum.el (gnus-summary-update-info): Don't update dribble buffer if newsgroup info is not changed. * gnus-group.el (gnus-group-get-new-news-this-group): * gnus-sum.el (gnus-summary-read-group-1, gnus-summary-exit-no-update): Don't update dribble buffer. 2011-06-01 Teodor Zlatanov * gnus-registry.el (gnus-registry-remove-ignored): New function to remove entries with groups we ignore. 2011-05-31 Lars Magne Ingebrigtsen * shr.el (shr-rescale-image): Add an :ascent of 100 to images so that the underline comes at the bottom. 2011-05-31 Teodor Zlatanov * gnus-registry.el (gnus-registry-article-marks-to-chars): Rename from `gnus-registry-user-format-function-M' and declare the latter obsolete. (gnus-registry-article-marks-to-names): Rename from `gnus-registry-user-format-function-M2'. 2011-05-31 Katsumi Yamaoka * gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in ephemeral group. 2011-05-31 Lars Magne Ingebrigtsen * shr.el (shr-browse-image): Copy the URL if called interactively. 2011-05-30 Lars Magne Ingebrigtsen * gnus-group.el (gnus-group-mark-article-read): It's possible that we want to have `gnus-newsgroup-unselected' kept sorted. If this isn't done, then unselected articles may be marked as read. * pop3.el (pop3-open-server): Erase the buffer after the greeting, since not doing this seems to lead to a race condition in pop3-logon. * nnvirtual.el (nnvirtual-request-article): Bind `gnus-command-method' so that the call chain it correct when we call "upwards". * gnus-sum.el (gnus-select-newsgroup): Auto-expiry doesn't make sense in read-only groups. * gnus-group.el (gnus-group-mark-article-read): Ditto. * message.el (message-cite-reply-position): Doc string fix. * nnimap.el (nnimap-transform-headers): Simplify regexp to hopefully avoid regexp overflow. (nnimap-transform-split-mail): Ditto. * pop3.el (pop3-retr): Error out if the server closes the connection. 2011-05-30 Stefan Monnier * mml1991.el (mml1991-mailcrypt-encrypt): Remove use of ill-designed mm-with-unibyte-current-buffer. The buffer should not contain any multibyte chars anyway at this stage. 2011-05-29 Lars Magne Ingebrigtsen * shr.el (shr-urlify): Use shr-add-font to make underlines be less ugly at the end of lines. 2011-05-29 Julien Danjou * smiley.el (gnus-smiley-file-types): Add gif as supported file type. 2011-05-27 Glenn Morris * gnus-group.el (gnus-bug-group-download-format-alist): Use the "maintainer" version of debian reports as well. 2011-05-26 Glenn Morris * gnus-group.el (gnus-bug-group-download-format-alist): Use the "maintainer" version of debbugs.gnu.org reports. 2011-05-24 Katsumi Yamaoka * gnus-art.el (gnus-mime-delete-part): Fix mm-handle-filename usage. 2011-05-23 Stefan Monnier * gnus-cus.el (gnus-agent-customize-category): * gnus-delay.el (gnus-delay-send-queue): * gnus.el (gnus-other-frame): Don't quote lambda expressions with `quote'. 2011-05-20 Teodor Zlatanov * gnus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide the thread moves us backwards and so we loop forever. 2011-05-19 Katsumi Yamaoka * mm-bodies.el (mm-decode-content-transfer-encoding): Allow leading whitespace in base64 data lines. 2011-05-18 Teodor Zlatanov * gnus-registry.el (gnus-registry-user-format-function-M): Use `mapconcat'. (gnus-registry-user-format-function-M2): Use to see the full text of the marks. Make "," the mark text separator. * nntp.el (nntp-send-authinfo): Use the "force" token for NNTP authentication with auth-source. 2011-05-17 Glenn Morris * gnus-group.el (gnus-import-other-newsrc-file): Use insert-file-contents. 2011-05-16 Teodor Zlatanov * gnus-sum.el (gnus-summary-hide-all-threads): Add update message every 1000 iterations. 2011-05-16 Katsumi Yamaoka * nntp.el (nntp-open-connection): Check if process-type is available. 2011-05-16 Julien Danjou * shr.el (shr-tag-del): Add support for del tag. 2011-05-13 Katsumi Yamaoka * gnus-html.el (gnus-html-put-image): Register a displayer. * shr.el (shr-image-displayer): Don't remove text props from alt text. 2011-05-13 Teodor Zlatanov * registry.el (prune-factor): New initialization parameter defaulting to 0.1. (registry-prune-hard): Use it. * gnus-registry.el (gnus-registry-fixup-registry): Set prune-factor to 0.1 expicitly. 2011-05-13 Glenn Morris * message.el (message-send-mail-with-sendmail): Assume sendmail-program is bound, since this function requires sendmail. 2011-05-11 Teodor Zlatanov * registry.el (registry-usage-test): Disable pruning test. 2011-05-11 David Engster * lpath.el: Bind shr-put-image and process-type for Emacs22 and XEmacs. Bind set-network-process-option for XEmacs. 2011-05-10 Teodor Zlatanov * registry.el (registry-prune-hard-candidates) (registry-prune-soft-candidates): Helper methods for registry pruning. (registry-prune): Use them. Make the sort function optional. 2011-05-10 Jim Meyering * shr.el (shr-colorize-region): Fix typo "on on -> on". 2011-05-10 Julien Danjou * shr.el (shr-put-color-1): Do not bug out when old-props is a face symbol and not a list. 2011-05-10 Katsumi Yamaoka * gnus-art.el (gnus-article-mode): Move binding of shr-put-image-function here from gnus-article-prepare-display. * shr.el (shr-put-image-function): New variable. (shr-image-fetched, shr-image-displayer, shr-tag-img): Funcall it. (shr-put-image): Return scaled image. * gnus-art.el (gnus-shr-put-image): New function. (gnus-article-prepare-display): Bind shr-put-image-function to it. * gnus-html.el (gnus-html-wash-images): Register scaled images, not original ones, as deletable. 2011-05-09 Stefan Monnier * nntp.el (nntp-open-connection): Set TCP keepalive option. 2011-05-09 Teodor Zlatanov * registry.el (registry-full): Add convenience method. Fix logic. (registry-insert): Use it. Fix logic here too. * gnus-registry.el (gnus-registry-insert): Add wrapper that calls `registry-prune' if `registry-full' returns t. (gnus-registry-handle-action) (gnus-registry-get-or-make-entry, gnus-registry-set-id-key) (gnus-registry-usage-test): Use it. 2011-05-07 Julien Danjou * shr.el (shr-link): Make shr-link inherit from link by default. 2011-05-06 Teodor Zlatanov * shr.el (shr-urlify, shr-link): Fix shr-link face. 2011-05-05 Teodor Zlatanov * shr.el (shr-urlify, shr-link): Still broken but at least doesn't error out because the face is not a list. 2011-05-05 Glenn Morris * proto-stream.el (gnutls-negotiate): Fix declarations. * gnus-start.el (gnus-propagate-marks): Declare. 2011-05-04 Teodor Zlatanov * registry.el (registry-reindex): Fix percentage message. * proto-stream.el (network-stream-open-starttls): Adjust to call `gnutls-negotiate' with :process and :hostname arguments. 2011-05-03 Teodor Zlatanov * shr.el: Add shr-link face for links. (shr-urlify): Use it. * registry.el (registry-insert): Make error message more helpful. 2011-05-02 Lars Magne Ingebrigtsen * gnus-html.el (gnus-html-schedule-image-fetching): Use url-queue-retrieve, if it exists. * shr.el (shr-tag-img): Ditto. * gnus.el: Autoload more gnus-agent functions. * gnus-art.el (gnus-request-article-this-buffer): Store articles in the agent if we haven't already (bug#8502). * gnus-async.el (gnus-async-article-callback): Put prefetched articles into the Agent, too. * gnus-agent.el (gnus-agent-store-article): New function. * nnheader.el (nnheader-insert-buffer-substring): Rename from nntp- and moved from that file for reuse. * pop3.el (pop3-open-server): Error messages are "-ERR". 2011-05-01 Lars Magne Ingebrigtsen * pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS. (open-tls-stream): Remove superfluous tls/starttls autoloads. 2011-05-01 Lars Magne Ingebrigtsen * gnus.el: No Gnus v0.17 is released. 2011-05-01 Stefan Monnier * gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary buffer has moved to a different frame. 2011-05-01 Lars Magne Ingebrigtsen * nnimap.el (nnimap-request-article): Use nntp-insert-buffer-substring to get the conversion from unibyte to multibyte buffers to work on Emacs 22. * nntp.el (nntp-request-article): Slight clean-up. 2011-04-29 Lars Magne Ingebrigtsen * shr.el (shr-strike-through): New face. (shr-tag-s): Use it to provide support. (shr-tag-s): Remove duplicate definition. 2011-04-25 Teodor Zlatanov * gnus-registry.el (gnus-registry-ignore-group-p): Don't call `gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist. 2011-04-24 Teodor Zlatanov * proto-stream.el (proto-stream-open-starttls): Give host parameter to `gnutls-negotiate'. (gnutls-negotiate): Adjust `gnutls-negotiate' declaration. 2011-04-23 Glenn Morris * gnus-sum.el (gnus-extra-headers): Bump :version. 2011-04-24 Lars Magne Ingebrigtsen * shr.el (shr-tag-sup): New function. (shr-tag-sub): Ditto. 2011-04-22 Teodor Zlatanov * gnus-registry.el (gnus-registry-ignore-group-p): Test specifically for the case where `gnus-registry-ignored-groups' is a list of lists, and don't call `gnus-parameter-registry-ignore' otherwise. 2011-04-21 Teodor Zlatanov * nnimap.el (nnimap-user): New backend variable. (nnimap-open-connection-1): Use it. (nnimap-credentials): Accept user parameter so it's explicit what user name is desired. * gnus-sum.el (gnus-extra-headers): Add Keywords, Cc, and Gcc to default. * gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el, not gnus-registry.el. * gnus-registry.el: Mention in comments how to modify `gnus-extra-headers' for proper recipient tracking and that it may already have To and Cc recently, which it does as of this commit. (gnus-registry-ignored-groups): Remove defcustom. Explain why in comments. (gnus-registry-action): Fix data-header reference to use the extra headers. Explain in package commentary how to add To and Cc headers to the gnus-extra-headers. (gnus-registry-ignored-groups): Adjust defaults to match the parameter. (gnus-registry-ignore-group-p): Adjust to take either a group/topic parameter list or a string list in `gnus-registry-ignored-groups'. Fix logic error. 2011-04-21 Lars Magne Ingebrigtsen * shr.el (shr-expand-url): Protect against null urls. 2011-04-20 Lars Magne Ingebrigtsen * shr.el (shr-base): New binding. (shr-tag-base): Keep track of . (shr-expand-url): New function used throughout. 2011-04-20 Teodor Zlatanov * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal): Fix loop bugs. (gnus-registry-ignored-groups): New variable. (gnus-registry-ignore-group-p): Use it. (gnus-registry-handle-action): Use `gnus-registry-ignore-group-p' and set the destination group to nil (same as delete) if it's ignored. 2011-04-20 David Engster * tests/gnustest-nntp.el: New file for simple NNTP testing. * Makefile.in (test-nntp): New rule. (check): Add it. (test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'. 2011-04-20 Katsumi Yamaoka * gnus-registry.el (gnus-registry-action) (gnus-registry-fetch-header-fast): Don't use mail-header that looks an internal function of mailheader.el. 2011-04-19 Glenn Morris * time-date.el (time-to-days): Remove unused local variables. 2011-04-18 Katsumi Yamaoka * gnus-registry.el: Eliminate cl functions. (gnus-registry-sort-addresses): New function that replaces mapcan. (gnus-registry-action, gnus-registry-spool-action) (gnus-registry-split-fancy-with-parent) (gnus-registry-fetch-recipients-fast): Use it. (gnus-registry-import-eld): Replace delete* with dolist + delq. * registry.el (initialize-instance, registry-lookup) (registry-lookup-breaks-before-lexbind, registry-lookup-secondary) (registry-lookup-secondary-value, registry-search, registry-delete) (registry-insert, registry-reindex, registry-size, registry-prune): Use eval-and-compile. 2011-04-16 Teodor Zlatanov * registry.el (registry-reindex): New method to recreate the secondary registry indices. * gnus-registry.el (gnus-registry-fixup-registry): Use it if the tracked field changes. (gnus-registry-unfollowed-addresses, gnus-registry-track-extra) (gnus-registry-action, gnus-registry-spool-action) (gnus-registry-handle-action) (gnus-registry--split-fancy-with-parent-internal) (gnus-registry-split-fancy-with-parent) (gnus-registry-register-message-ids): Add recipient tracking on spool, move, and delete actions, and for fancy splitting with parent. (gnus-registry-extract-addresses) (gnus-registry-fetch-recipients-fast) (gnus-registry-fetch-header-fast): Convenience functions. (gnus-registry-misc-test): ERT test of `gnus-registry-extract-addresses'. 2011-04-15 Teodor Zlatanov * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal): Track by subject first, then sender. 2011-04-15 Stefan Monnier * message.el (message-bogus-system-names): Replace ^...$ => \`...\'. * gnus.el (gnus-splash-svg-color-symbols): Don't use insert-file from Lisp. * gnus-draft.el (gnus-draft-setup): New arg `dont-pop'. (gnus-draft-send): Use it to avoid popping up frames from gnus-group-send-queue. 2011-04-14 Teodor Zlatanov * gnus-registry.el: Updated gnus-registry docs. 2011-04-12 Teodor Zlatanov * gnus-registry.el (gnus-registry--split-fancy-with-parent-internal): Fix logic bug. (gnus-registry-post-process-groups): Fix logging of no results and quote sender and subject. 2011-04-12 Lars Magne Ingebrigtsen * proto-stream.el (proto-stream-open-starttls): Only do opportunistic STARTTLS upgrades if we have built-in gnutls support. Upgrades via gnutls-cli are too slow to be done opportunistically. * gnus-start.el (gnus-get-unread-articles): Slight cleanup. (gnus-read-active-for-groups): Don't try to finish getting stuff where we had no early-data returned. (gnus-get-unread-articles): Add a sanity check so that we don't issue two async commands to the same server at the same time. 2011-04-12 Stig Sandbeck Mathisen (tiny change) * gnus-sum.el (gnus-summary-select-article-buffer): Doc fix. 2011-04-12 Lars Magne Ingebrigtsen * gnus-registry.el (gnus-registry-remake-db): Put the warning on a "warning" level. * mm-url.el (mm-url-package-name): Remove to ease third-party reuse. (mm-url-insert-file-contents): Don't set the package names. 2011-04-11 Teodor Zlatanov * gnus-registry.el (gnus-registry-action): Remove properties and simplify subject in `gnus-registry-handle-action'. (gnus-registry-spool-action): Get subject and sender from message if they are not passed in. (gnus-registry-handle-action): Remove properties and simplify subject consistently. 2011-04-11 Stefan Monnier * registry.el: Require CL before using defmacro*. 2011-04-11 Katsumi Yamaoka * gnus-art.el (article-treat-date): Assume that gnus-article-date-headers may be a group parameter. 2011-04-07 Teodor Zlatanov * gnus-registry.el (gnus-registry-handle-action): More debugging. * gnus-start.el (gnus-gnus-to-newsrc-format): Add a way to run interactively so the newsrc file can contain foreign groups too. Useful for debugging but not much for users. 2011-04-07 David Engster * registry.el (registry-usage-test): Only do `registry-lookup-breaks-before-lexbind' testing for Emacs24 with lexical binding. 2011-04-07 David Engster * Makefile.in (check, test-registry): New rules for test-suite. 2011-04-06 David Engster * registry.el, gnus-registry.el: Use `ignore-errors' instead of third argument NOERROR for `require', since XEmacs 21.4 does not support it. 2011-04-06 David Engster * registry.el (initialize-instance): Change :after to :AFTER to be compatible with old EIEIO version in XEmacs. 2011-04-06 Teodor Zlatanov * gnus-registry.el (gnus-registry-post-process-groups) (gnus-registry--split-fancy-with-parent-internal): Fix splitting bugs and provide better messaging. 2011-04-06 David Engster * Makefile.in (fail-on-warning): New rule to compile with warnings as errors. * dgnushack.el (dgnushack-compile-error-on-warn): New function to call dgnushack-compile with error-on-warn enabled, and to signal an error if clean compilation failed. (dgnushack-compile): New argument 'error-on-warn'. If non-nil, compile with `byte-compile-error-on-warn'. Return nil if errors occured. 2011-04-06 Teodor Zlatanov * gnus-registry.el: Don't use ERT if it's not available. Load it unconditionally anyway, discarding errors. (gnus-registry-delete-entries): New convenience function. (gnus-registry-import-eld): Import from old .eld registry. * registry.el: Don't use ERT if it's not available. Load it unconditionally anyway, discarding errors. * proto-stream.el (gnutls-negotiate): Revert inadvertent commit of the version from the Claudio Bley GnuTLS patch (extra optional parameters and host name). 2011-04-05 Teodor Zlatanov * gnus-registry.el (gnus-registry-fixup-registry): New function to fixup the parameters that can be customized by the user between save/read cycles. (gnus-registry-read): Use it. (gnus-registry-make-db): Use it. (gnus-registry-spool-action, gnus-registry-handle-action): Fix messaging. (gnus-registry--split-fancy-with-parent-internal): Fix loop. Map references to actual group names with sender and subject tracking. (gnus-registry-post-process-groups): Use `cond' for better messaging. (gnus-registry-usage-test): Add subject lookup test. * registry.el (registry-db, initialize-instance): Set up constructor instead of :initform arguments for the sake of older Emacsen. (registry-lookup-breaks-before-lexbind): New method to demonstrate pre-lexbind merge bug. (registry-usage-test): Use it. (initialize-instance, registry-db): Move the non-function initforms back to the class definition. 2011-04-03 Teodor Zlatanov * registry.el: New library to manage gnus-registry-style data. * gnus-registry.el: Use it (major rewrite). * nnregistry.el: Use it. * spam.el: Use it. 2011-04-03 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-update-marks): Reinstate the code to not alter marks on non-selected articles. 2011-04-02 Chong Yidong * nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command parameter to open-protocol-stream. 2011-04-01 Julien Danjou * mm-view.el (mm-display-inline-fontify): Do not fontify with fundamental-mode. 2011-04-01 Lars Magne Ingebrigtsen * gnus-start.el (gnus-get-unread-articles): Don't try to contact denied servers. 2011-03-30 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-update-marks): Revert intersection change, which made marks not propagate, again. 2011-03-30 Chong Yidong * proto-stream.el (open-protocol-stream): Bring back `network' type. Make this the default type. (proto-stream-open-plain): Rename from proto-stream-open-default. (open-protocol-stream, proto-stream-open-starttls) (proto-stream-open-tls, proto-stream-open-shell): Replace `default' with `plain'. * nnimap.el (nnimap-stream, nnimap-open-connection-1): Accept `network' value. * nntp.el (nntp-open-connection-function): Document the fact that some values are not functions but are instead handled specially. Recognize nntp-open-plain-stream value. (nntp-open-connection): Recognize that value. 2011-03-30 Lars Magne Ingebrigtsen * dgnushack.el: Only do the defcustom compilation thing on XEmacs, where it seems to be needed. 2011-03-29 Lars Magne Ingebrigtsen * gssapi.el (open-gssapi-stream): Remove the last mentions of the IMAP stuff. * gnus-score.el (gnus-score-string): Fix calling convention of `gnus-simplify-buffer-fuzzy' after last patches. * gnus-sum.el (gnus-update-marks): Don't send any marks updates to the server for articles we didn't get any headers for. This is a sanity check. 2011-03-29 Michael Welsh Duggan * nnimap.el (nnimap-open-connection-1): Is the login responds with a new CAPABILITY, use it. 2011-03-29 Lars Magne Ingebrigtsen * gnus-agent.el (gnus-agent-fetch-headers): Don't message if we're not downloading anything. * gnus.el (gnus-splash-svg-color-symbols): Remove superfluous `and'. 2011-03-29 Adam Sjøgren * gnus.el (gnus-group-startup-message): Prefer svg file and replace colors. (gnus-splash-svg-color-symbols): New function. 2011-03-29 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-simplify-buffer-fuzzy): Take the regexp explicitly instead of using the global gnus-simplify-subject-fuzzy-regexp. (gnus-simplify-subject-fuzzy): Use the local gnus-simplify-subject-fuzzy-regex instead of the global one. This makes using this variable in group parameters work. 2011-03-29 Teodor Zlatanov * gnus-registry.el (gnus-registry-unfollowed-groups): Add "archive:sent" to the unfollowed group regex (for the recent Gnus archive:sent-YYYY-MM-DD groups). (gnus-registry-split-fancy-with-parent): Bail out early in sender tracking if there are more than `gnus-registry-max-track-groups' matches. 2011-03-29 Stefan Monnier * message.el (message--yank-original-internal): New function to do the insertion cleanly inside eval in `message-yank-original'. (message-yank-original): Use it. 2011-03-29 Julien Danjou * mm-view.el (mm-display-inline-fontify): Use `set-normal-mode' with local variables disabled rather than `normal-mode'. 2011-03-28 Brian T. Sniffen (tiny change) * imap.el (imap-shell-open, imap-process-connection-type): Use imap-process-connection-type for 'shell' streams as well as Kerberos, SSL, other subprocesses. 2011-03-26 Chong Yidong * proto-stream.el: Changes preparatory to merging open-protocol-stream with open-network-stream. (proto-stream-always-use-starttls): Option removed. (open-protocol-stream): Return a process object by default. Provide a new parameter :return-list specifying a list-type return value, which now has the form (PROP . PLIST) instead of a fixed-length list. Change :type `network' to `try-starttls', and `network-only' to `default'. Make `default' the default, for compatibility with open-network-stream. Handle the no-parameter case exactly as open-network-stream, with no additional stream processing. Search plists using plist-get. Explicitly add :end-of-commend parameter if it is missing. (proto-stream-open-default): Rename from proto-stream-open-network-only. Return 'default as the type. (proto-stream-open-starttls): Rename from proto-stream-open-network. Use plist-get. Don't return `tls' as the type if STARTTLS negotiation failed. Always return a list with a (possibly dead) process as the first element, for compatibility with open-network-stream. (proto-stream-open-tls): Use plist-get. Always return a list. (proto-stream-open-shell): Return `default' as connection type. (proto-stream-capability-open): Use plist-get. (proto-stream-eoc): Function deleted. * nnimap.el (nnimap-stream, nnimap-open-connection) (nnimap-open-connection-1): Handle renaming of :type parameter for open-protocol-stream. (nnimap-open-connection-1): Pass a :return-list parameter open-protocol-stream to obtain a list return value. Parse this list using plist-get. * nntp.el (nntp-open-connection): Handle renaming of :type parameter for open-protocol-stream. Accept open-protocol-stream return value that is a subprocess object instead of a list. Handle the case of a dead returned process. 2011-03-25 Teodor Zlatanov * mm-util.el (mm-handle-filename): Move to mm-decode.el (bug#8330). * mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330). 2011-03-21 Julien Danjou * mm-view.el (mm-display-inline-fontify): Make mode optional, and call normal-mode if not set. Set temp buffer unmodified to avoid kill-buffer query. (mm-inline-text): Render normal text with fontification whenever possible. * gnus-sum.el (gnus-summary-save-parts-1): * gnus-art.el (gnus-article-browse-html-save-cid-content) (gnus-article-browse-html-parts, gnus-mime-delete-part) (gnus-mime-copy-part, gnus-mime-inline-part, gnus-insert-mime-button): Use `mm-handle-filename'. * mm-util.el (mm-handle-filename): New function, return the filename of an handle. 2011-03-18 Julien Danjou * gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p. (gnus-buffer-live-p): Check that buffer is not nil. 2011-03-17 Lars Magne Ingebrigtsen * gnus.el: No Gnus v0.15 is released. 2011-03-17 Lars Magne Ingebrigtsen * time-date.el (format-seconds): Use assoc instead of assoc-string to avoid warning on XEmacs. * dgnushack.el: Bind help-echo-owns-message to avoid a compiler warning on XEmacs. * gnus-art.el: Require mouse, which the build bot seems to say is needed. * dgnushack.el: Define url-retrieve-synchronously unless not defined. * gravatar.el (gravatar-retrieve-synchronously): Use `url-retrieve' on XEmacs, since it doesn't have url-retrieve-synchronously. * time-date.el (format-seconds): Use assoc instead of assoc-string, since assoc-string doesn't exist in XEmacs. 2011-03-17 Antoine Levitt * gnus-group.el (gnus-group-list-ticked): New function. (gnus-group-make-menu-bar): Provide a menu entry for it. (gnus-group-list-map): Provide a binding for it. 2011-03-17 Lars Magne Ingebrigtsen * shr.el (shr-visit-file): New command. * nnimap.el (nnimap-fetch-inbox): Rewrite slightly last patch. 2011-03-17 Bjørn Mork * nnimap.el (nnimap-fetch-inbox): Don't download bodies on ver4-capable servers. 2011-03-16 Julien Danjou * mm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are inline. * gnus-art.el (article-hide-list-identifiers): Use gnus-group-get-list-identifiers. * gnus-sum.el (gnus-group-get-list-identifiers): New function. (gnus-summary-remove-list-identifiers): Use gnus-group-get-list-identifiers to get regexp. (gnus-select-newsgroup, gnus-summary-insert-subject) (gnus-summary-insert-articles): Call gnus-summary-remove-list-identifiers unconditionally. 2011-03-15 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-articles-to-read): Revert back to old behavior if we're selecting a group with unread articles. * nnimap.el (nnimap-open-connection-1): Allow `network-only', too. * gssapi.el: New file separated out from imap.el to provide a general Kerberos 5 connection facility for Emacs. * message.el (message-elide-ellipsis): Document the format spec ellipsis. 2011-03-15 Reiner Steib * message.el (message-elide-region): Allow the ellipsis to say how many lines were removed. 2011-03-15 Lars Magne Ingebrigtsen * gnus-win.el (gnus-configure-frame): Protect against trying to restore window configurations containing buffers that are now dead. * nnimap.el (nnimap-parse-flags): Remove all MODSEQ entries before parsing to avoid integer overflows. (nnimap-parse-flags): Simplify the last change. (nnimap-parse-flags): Store HIGHESTMODSEQ as a string, since it may be too large for 32-bit Emacsen. 2011-03-15 Stefan Monnier * auth-source.el (auth-source-netrc-create): * message.el (message-yank-original): Fix use of `case'. 2011-03-15 Nelson Ferreira (tiny change) * gnus-art.el (gnus-article-treat-body-boundary): Fix boundary width on XEmacs, which was one character too wide. 2011-03-09 Antoine Levitt * gnus-sum.el (gnus-articles-to-read): Use gnus-large-newsgroup as default number of articles to display. (gnus-articles-to-read): Use pretty names for prompt. 2011-03-15 Lars Magne Ingebrigtsen * gnus-int.el (gnus-open-server): Ditto. * gnus-start.el (gnus-activate-group): Give a backtrace if debug-on-quit is set and the user hits `C-g'. (gnus-read-active-file): Ditto. * gnus-group.el (gnus-group-read-ephemeral-group): Ditto. 2011-03-15 Teodor Zlatanov * message.el (message-yank-original): Use cond instead of CL case. 2011-03-15 Stefan Monnier * auth-source.el (auth-source-netrc-create): Use usual format for the default in prompts. 2011-03-14 Katsumi Yamaoka * lpath.el: Fbind read-char-choice for XEmacs. 2011-03-13 Teodor Zlatanov * auth-source.el (auth-source-netrc-create): Show the default in the prompt when prompting for token creation. 2011-03-12 Teodor Zlatanov * auth-source.el (auth-source-format-prompt): Always convert the value to a string to avoid evaluating non-string arguments. (auth-source-netrc-create): Offer default properly, not as initial content in `read-string'. (auth-source-netrc-saver): Use a cache keyed by file name and MD5 hash of line to determine if we've been run before. If so, don't run again, but print a trivial message to indicate the cache was hit instead. 2011-03-11 Teodor Zlatanov * gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook): Don't install `gnus-sync-read' to any hooks by default. It's buggy. The user will have to run `gnus-sync-read' manually and wait for Cloudy Gnus. 2011-03-11 Julien Danjou * mm-uu.el (mm-uu-type-alist): Add support for diff starting with "=== modified file". 2011-03-09 Teodor Zlatanov * auth-source.el (auth-source-read-char-choice): New function to read a character choice using `dropdown-list', `read-char-choice', or `read-char'. It appends "[a/b/c] " to the prompt if the choices were '(?a ?b ?c). The `dropdown-list' support is disabled for now. Use `eval-when-compile' to load `dropdown-list'. Remove `dropdown-list'. (auth-source-netrc-saver): Use it. (auth-source-pick-first-password): New convenience function. 2011-03-08 Teodor Zlatanov * nnimap.el (nnimap-credentials): Keep the :save-function as the third parameter in the credentials. (nnimap-open-connection-1): Use it after a successful login. (nnimap-credentials): Add IMAP-specific user and password prompt. * auth-source.el (auth-source-search): Add :require parameter, taking a list. Document it and the :save-function return token. Pass :require down. Change the CREATED message from a warning to a debug statement. (auth-source-search-backends): Pass :require down. (auth-source-netrc-search): Pass :require down. (auth-source-netrc-parse): Use :require, if it's given, as a filter. Change save prompt to indicate all modifications saved here are deletions. (auth-source-netrc-create): Take user login name as default in user prompt. Move all the save functionality to a lexically bound function under the :save-function token in the returned list. Set up clearer default prompts for user, host, port, and secret. (auth-source-netrc-saver): New function, intended to be wrapped for :save-function. 2011-03-07 Lars Magne Ingebrigtsen * shr.el (shr-table-horizontal-line): Change the defaults for the table lines to be spaces instead. 2011-03-07 Julien Danjou * sieve-manage.el (sieve-sasl-auth): Create auth-info if not found. (sieve-sasl-auth): Check that auth-source-search did return something, or just return an empty string. 2011-03-05 Antoine Levitt * gnus.el (gnus-interactive): Use read-directory-name. * gnus-uu.el (gnus-uu-decode-uu-and-save) (gnus-uu-decode-unshar-and-save, gnus-uu-decode-save) (gnus-uu-decode-binhex, gnus-uu-decode-yenc) (gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save): Likewise. * gnus-group.el (gnus-group-make-directory-group): Likewise. 2011-03-05 Lars Magne Ingebrigtsen * gnus-start.el (gnus-group-change-level): Allow putting foreign groups onto the list of killed groups, too. This makes killed nnimap groups, for instance, more reliably not reappear. * nnimap.el (nnimap-request-thread): Don't bug out when we can't find the parent. * gnus-sum.el (gnus-update-read-articles): Fix typo. * gnus.el (gnus-valid-select-methods): Mark nnimap as a backend that really have server-side marks. * gnus-sum.el (gnus-propagate-marks): Change default back to nil again, since most backends do not usefully have server-side marks. (gnus-update-read-articles): Propagate marks to all backends that really have server-side marks. 2011-03-05 Antoine Levitt * message.el (message-cite-reply-position, message-cite-style): New variables. (message-yank-original): Use the new citation styles. 2011-03-04 Daiki Ueno * message.el (message-options): Revert 22da67af (workaround for XEmacs buffer-local issue); don't mark it buffer-local when running under XEmacs. 2011-03-03 Tassilo Horn * nnimap.el (nnimap-parse-flags): Add a workaround for FETCH lines with numbers too big to be `read'. 2011-03-02 Teodor Zlatanov * password-cache.el (password-in-cache-p): Add autoload. * message.el (message-options): Make buffer-local two ways to attempt to fix a XEmacs bug. 2011-03-02 Julien Danjou * gnus-art.el (gnus-with-article-buffer): Fix buffer live check. 2011-03-01 Julien Danjou * gnus-art.el (list-identifier): Add list-identifier as a parameter group. (article-hide-list-identifiers): Use list-identifier group parameter. 2011-02-28 Julien Danjou * sieve.el (sieve-buffer-script-name): New local variable to store sieve script name. (sieve-edit-script): Store sieve script name. (sieve-upload): Use sieve script name when uploading. (sieve-upload): Use substitute-command-keys. (sieve-edit-script): Use substitute-command-keys. (sieve-refresh-scriptlist): Use substitute-command-keys. (sieve-manage-mode-map): Define keymap properly. (sieve-manage-mode): Do not set mode name manually, change mode-name to (sieve-refresh-scriptlist): Use substitute-command-keys."Sieve-manage". Remove commented code about cvs. (sieve-manage-quit): New function. (sieve-manage-mode-map): Bind 'q' to sieve-manage-quit. 2011-02-27 Lars Magne Ingebrigtsen * gnus-group.el (gnus-import-other-newsrc-file): New function. 2011-02-25 Teodor Zlatanov * auth-source.el (auth-source-search): Cache empty result sets. * password-cache.el (password-in-cache-p): Convenience function to check if a key is in the cache, even if the value is nil. * auth-source.el (auth-source-save-behavior): New variable to replace `auth-source-never-create'. (auth-source-netrc-create): Use it. (auth-source-never-save): Remove. 2011-02-25 Lars Ingebrigtsen * nnimap.el (nnimap-stream): Doc fix. (nnimap-open-connection-1): Reverse the order of the ports to that the prompted-for port is first. * gnus-start.el (gnus-get-unread-articles): Don't clobber the async retrieval by the no-group selection. * gnus-demon.el (gnus-demon-init): run-with-timer should be called with numerical parameters. 2011-02-25 Julien Danjou * gnus-gravatar.el: Use gnus-with-article-buffer. * gnus-art.el (gnus-with-article-buffer): Check that the gnus-article-buffer is alive. 2011-02-24 Teodor Zlatanov * auth-source.el (auth-source-creation-prompts): New variable to manage creation-time prompts. (auth-source-search): Document it. (auth-source-format-prompt): Add utility function. (auth-source-netrc-create): Don't default the user name to user-login-name. Use `auth-source-creation-prompts' and some default prompts for user, host, port, and password (the default generic prompt remains ugly). (auth-source-never-save): Add customizable option to never save info. (auth-source-netrc-create): Use it and improve save prompts. Fix help mode excursion. 2011-02-24 Katsumi Yamaoka * auth-source.el (auth-source-netrc-create): Use `read-char' with no argument that XEmacs doesn't support. * dgnushack.el (dgnushack-compile): Exclude color.el from being compiled for Emacsen having no `libxml-parse-html-region' support. * gnus-xmas.el (gnus-xmas-define): Remove gnus-x-color-values. * lpath.el: Bind buffer-save-without-query for XEmacs. 2011-02-23 Julien Danjou * gnus-art.el (article-make-date-line): Ignore errors if time is invalid and not convertible. (article-make-date-line): Only add lapsed time if time is not nil. 2011-02-23 Teodor Zlatanov * auth-source.el (auth-source-netrc-create): Use `read-char' instead of `read-char-choice' for backwards compatibility. (auth-source-netrc-element-or-first): New function to DTRT for parameter extraction. (auth-source-netrc-create): Use it and fix multiple parameter print bug. Use the default passed from above (given-default) or the built-in (user-login-name for :user). 2011-02-23 Lars Ingebrigtsen * gnus-start.el (gnus-dribble-read-file): Set buffer-save-without-query, since we always want to save the dribble file, probably. * nnmail.el (nnmail-article-group): Allow a final "" split to work on nnimap. * gnus-sum.el (gnus-user-date-format-alist): Rename back again from -summary- since it's a user-visible variable. * nnimap.el (nnimap-retrieve-group-data-early): Don't do QRESYNC the first time you use the new Gnus. 2011-02-22 Teodor Zlatanov * auth-source.el: Don't load netrc.el. (auth-sources): Search ~/.netrc as well by default. (auth-source-debug): Add 'trivia option for extra output. (auth-source-do-trivia): Use it. (auth-source-search): Simplify logic to use `auth-source-search-backends'. Use `auth-source-do-trivia' where appropriate. Don't keep a running count at this level. Layer :create and :delete options appropriately on the first and second passes. Don't track the backend with the search results. (auth-source-search-backends): New function to search a list of backends for a processed spec. (auth-source-netrc-parse): Cache all netrc files, making auth-source-netrc-cache an alist keyed by the file name and using the file mtime as the caching criterion. Keep the obfuscated data secret with a lexical bind. (auth-source-netrc-search): Don't calculate the length of the results unnecessarily. (auth-source-search-backends): Fix bug. (auth-source-netrc-create): Rework prompts. 2011-02-22 Andrew Cohen * nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key): Lower case names of search constraints. (nnir-run-query): Cache and reuse search constraints for all imap servers. 2011-02-22 Lars Ingebrigtsen * gnus-msg.el (gnus-inews-add-send-actions): Restore the winconf name after exit. (gnus-setup-message): Define missing variable from last checkin. * gnus-sum.el (gnus-summary-show-article): When called with t as the value, show the raw article. 2011-02-22 Lars Magne Ingebrigtsen * gnus.el: No Gnus v0.13 is released. 2011-02-21 Lars Ingebrigtsen * nnimap.el (nnimap-open-connection-1): Revert last change, since auth-source now accepts numbers. * auth-source.el (auth-source-netrc-parse): Accept a number as the port spec, too. (auth-source-ensure-strings): New function. * gnus-art.el (gnus-article-update-date-headers): Doc fix. (gnus-article-setup-buffer): Always restart the date timer so that user changes to the frequency is respected. * nnimap.el (nnimap-open-connection-1): auth-source expects strings as port numbers, so make sure it gets that if nnimap-server-port is explicit. 2011-02-21 Simon Josefsson * nnimap.el (nnimap-inbox): Doc fix. 2011-02-21 Chong Yidong * color.el (color-name-to-rgb): Rename from color-rgb->normalize. Autoload. Add optional arg FRAME, and pass it to color-values. (color-complement): Caller changed. Doc fix. (color-gradient): Rewrite for better clarity and efficiency. 2011-02-20 Chong Yidong * shr-color.el (shr-color->hexadecimal): Use renamed function names color-rgb-to-hex, color-name-to-rgb, color-srgb-to-lab, and color-lab-to-srgb. 2011-02-20 Drew Adams * color.el: First part of merge from hexrgb.el. (color-rgb-to-hex): Rename from color-rgb->hex. (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and saturation to zero if the value is too small. (color-rgb-to-hsl): Rename from color-rgb->hsl. (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix. (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix. (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix. (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix. (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix. (color-cie-de2000): Doc fix. 2011-02-21 Lars Ingebrigtsen * nntp.el (nntp-finish-retrieve-group-infos): Add a kludge to use the given method as in the group name if we're using an extended method. (nntp-finish-retrieve-group-infos): Wait for the end of the LIST ACTIVE command, if we're using that, instead of waiting for the beginning. * gnus-start.el (gnus-get-unread-articles): Extend the methods so that we're sure to get unique server names, and we don't output two async commands in the same buffer. This fixes an NNTP hang for some users. 2011-02-21 Lars Magne Ingebrigtsen * gnus.el: No Gnus v0.11 is released. 2011-02-21 Lars Ingebrigtsen * gnus-sum.el (gnus-summary-next-article): Add a kludge to reselect the summary buffer before reading going to the next buffer. This avoids putting the point in the group buffer if you `C-g' the command. * auth-source.el (auth-source-netrc-parse): Add an in-memory netrc cache (for now) to make ~/.authinfo.gpg files usable. * nnfolder.el (copyright-update): Define for the compiler. * auth-source.el (auth-source-search): Fix unbound variable. 2011-02-19 Glenn Morris * gnus.el (gnus-meta): Doc fix. 2011-02-19 Chong Yidong * nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update, in case it's not yet loaded. 2011-02-20 Lars Ingebrigtsen * nnimap.el (nnimap-wait-for-response): Ensure that we get the entire line we're waiting for. 2011-02-19 Darren Hoo (tiny change) * gnus-art.el (gnus-article-next-page-1): Because customized mode-line face with line-width greater than zero will cause RET in gnus summary buffer to scroll down article page-wise because auto vscroll happens, it should be temporally disabled when doing a scroll-up. 2011-02-19 Lars Ingebrigtsen * nnimap.el (nnimap-parse-copied-articles): Allow for " OK" outputs from the server. 2011-02-18 Antoine Levitt (tiny change) * gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook later so that bbdb can hook in easier. 2011-02-18 Lars Ingebrigtsen * auth-source.el (auth-source-search): Don't try to create credentials if the caller doesn't want that. (auth-source-search): If we don't find a match, don't bug out on non-bound variables. (auth-source-search): Only ask a single backend to create the credentials. * nnimap.el (nnimap-log-command): Add a newline to the inhibited logging. (nnimap-credentials): Protect against auth-source-search returning nil. (nnimap-request-list): Protect against not being able to open the server. 2011-02-17 Lars Ingebrigtsen * auth-source.el (auth-source-search): Do a two-phase search, one with no :create to get the responses from all backends. * nnimap.el (nnimap-open-connection-1): Delete duplicate server names when getting credentials. * gnus-util.el (gnus-delete-duplicates): New function. 2011-02-17 Teodor Zlatanov * nnimap.el (nnimap-credentials): Instead of picking the first port as a creation default, pass the whole port list down. It will be completed. * auth-source.el (auth-source-search): Updated docs to talk about multiple creation choices. (auth-source-netrc-create): Accept a list as a value (from the search parameters) and do completion on that list. Keep a separate netrc line with the password obscured for showing the user. * nnimap.el (nnimap-open-connection-1): Make the `nnimap-address' the first choice to `auth-source-search' so it will be used for entry creation instead of the server's Gnus-specific name. (nnimap-credentials): Rely on the auth-source library to select which port is actually wanted in the new netrc entry, so don't override `auth-source-creation-defaults'. * auth-source.el (auth-source-netrc-parse): Use :port instead of :protocol and accept a missing user, host, or port as a wildcard match. (auth-source-debug): Default to off. (auth-source-netrc-search, auth-source-netrc-create) (auth-source-secrets-search, auth-source-secrets-create) (auth-source-user-or-password, auth-source-backend, auth-sources) (auth-source-backend-parse-parameters, auth-source-search): Use :port instead of :protocol. * nnimap.el (nnimap-credentials): Pass a port default to `auth-source-search' in case an entry needs to be created. (nnimap-open-connection-1): Use :port instead of :protocol. 2011-02-17 Katsumi Yamaoka * auth-source.el: Bind load-path when loading EIEIO from "gnus-fallback-lib/eieio"; don't pass more than two args, that XEmacs 21.4 doesn't support, to `require'. (auth-source-secrets-search): Use mm-delete-duplicates instead of delete-dups that is not available in XEmacs 21.4. 2011-02-16 Raphael Kubo da Costa (tiny change) * auth-source.el: Correctly load EIEIO from "gnus-fallback-lib/eieio" as EIEIO must also be loaded when auth-source.el is being byte-compiled. 2011-02-16 Teodor Zlatanov * gnus-fallback-lib/eieio/eieio.el: Copy from Emacs. * gnus-fallback-lib/eieio/eieio-speedbar.el: Copy from Emacs. * gnus-fallback-lib/eieio/eieio-opt.el: Copy from Emacs. * gnus-fallback-lib/eieio/eieio-datadebug.el: Copy from Emacs. * gnus-fallback-lib/eieio/eieio-custom.el: Copy from Emacs. * gnus-fallback-lib/eieio/eieio-comp.el: Copy from Emacs. * gnus-fallback-lib/eieio/eieio-base.el: Copy from Emacs. * auth-source.el: Load EIEIO from "gnus-fallback-lib/eieio" if necessary. 2011-02-16 Lars Ingebrigtsen * gnus-sum.el (gnus-propagate-marks): Change default to t again, since nil means that nnimap doesn't get updated. 2011-02-16 Teodor Zlatanov * auth-source.el (auth-source-netrc-create): Return a synthetic search result when the user doesn't want to write to the file. (auth-source-netrc-search): Expect a synthetic result and proceed accordingly. (auth-source-cache-expiry): New variable to override `password-cache-expiry'. (auth-source-remember): Use it. * nnimap.el (nnimap-credentials): Remove the `inhibit-create' parameter. Create entry if necessary by using :create t. (nnimap-open-connection-1): Don't pass `inhibit-create'. 2011-02-15 Teodor Zlatanov * auth-source.el (auth-source-debug): Enable by default and don't mention the obsolete `auth-source-hide-passwords'. (auth-source-do-warn): New function to debug unconditionally. (auth-source-do-debug): Use it. (auth-source-backend-parse): Use it for invalid `auth-sources' entries and for Secrets API entries when the secrets.el library is not available. 2011-02-14 Lars Ingebrigtsen * gnus-sum.el (gnus-propagate-marks): Default to nil. (gnus-summary-exit): Kill the correct article buffer on exit from a `C-d' group. * gnus-start.el (gnus-use-backend-marks): Removed, since it duplicates gnus-propagate-marks. * gnus-sum.el (gnus-summary-exit-no-update): Restore the group conf before killing the buffers so that a non-full window conf gets handled correctly. (gnus-summary-exit): Ditto. (gnus-summary-read-group-1): Ditto. * nntp.el (nntp-retrieve-group-data-early): Reinstate the two-part async code again so that we can debug it properly. * message.el (message-reply): Take an optional switch-buffer parameter so that Gnus window confs are respected better. 2011-02-14 Teodor Zlatanov * auth-source.el (auth-source-backend-parse-parameters): Don't rely on `plist-get' to accept non-list parameters (XEmacs issue). Fix docstring. (auth-source-secrets-search): Use `delete-dups', `append mapcar', and `butlast' instead of `remove-duplicates', `mapcan', and `subseq'. (auth-sources, auth-source-backend-parse, auth-source-secrets-search): Login collection is "Login" and not "login". 2011-02-14 Lars Ingebrigtsen * gnus-art.el (article-update-date-lapsed): Don't bug out when updating multiple headers. * nnimap.el (nnimap-inhibit-logging): New variable. (nnimap-log-command): Don't log login commands. * auth-source.el (auth-source-netrc-search): The asserts seem to want to have more parameters. * nnimap.el (nnimap-send-command): Mark the command time for each command, so that we don't get NOOPs stepping on our toes. * gnus-art.el (article-date-ut): Get the date from the Date header on `t'. 2011-02-14 Katsumi Yamaoka * auth-source.el (auth-source-search): Use copy-sequence instead of the cl.el copy-list. 2011-02-13 Teodor Zlatanov * imap.el: Bring it back (revert 84d800cd31de3064f0ed39617d725709a2f8f42f). 2011-02-13 Adam Sjøgren * gnus-delay.el (gnus-delay-article) Fix number of seconds per day. Improve prompt. 2011-02-13 Lars Ingebrigtsen * gnus-art.el (gnus-article-mode-line-format): Remove the article washing status from the default format. It isn't very informative. 2011-02-13 Tassilo Horn (tiny change) * nnimap.el (nnimap-request-accept-article, nnimap-process-quirk): Fix Gcc processing on imap. 2011-02-13 Teodor Zlatanov * imap.el: Remove file. All the functionality is in nnimap.el. 2011-02-10 Stefan Monnier * message.el (message-bury): Don't pop up a new window when selected window is dedicated. 2011-02-10 Antoine Levitt (tiny change) * gnus-sum.el (gnus-summary-save-parts): Use read-directory-name. 2011-02-10 Teodor Zlatanov * sieve-manage.el: Autoload `auth-source-search'. (sieve-sasl-auth): Use it. 2011-02-09 Teodor Zlatanov * nnimap.el: Autoload `auth-source-forget+'. (nnimap-open-connection-1): Use it if the connection fails. * auth-source.el: Require `password-cache'. (auth-source-hide-passwords, auth-source-cache): Remove and mark obsolete. (auth-source-magic): Marker for `password-cache' keys. (auth-source-do-cache): Update docstring. (auth-source-search): Use and check cache. (auth-source-forget-all-cached, auth-source-remember) (auth-source-recall, auth-source-forget, auth-source-forget+) (auth-source-specmatchp): Caching support functions. (auth-source-forget-user-or-password, auth-source-forget-all-cached): Remove and obsolete. (auth-source-user-or-password): Remove caching to further discourage using it. Always hide passwords. * password-cache.el (password-cache-remove): Accept secrets that are not strings. 2011-02-09 Lars Ingebrigtsen * nntp.el (nntp-retrieve-group-data-early-disabled): Disable the async code for now, since it doesn't work for all users. 2011-02-09 Julien Danjou * message.el (message-options): Make message-options really buffer local. 2011-02-08 Teodor Zlatanov * mail-source.el: Autoload `auth-source-search'. (mail-source-keyword-map): Note order matters. (mail-source-set-1): Get all the mail-source source values and defaults and search auth-source on those if needed. This can all probably be simplified. * nnimap.el: Autoload `auth-source-search'. (nnimap-credentials): Use it. (nnimap-open-connection-1): Ask for the virtual server and physical address in one shot. * nntp.el: Autoload `auth-source-search'. (nntp-send-authinfo): Use it. Note TODO. 2011-02-08 Julien Danjou * shr.el (shr-tag-body): Add support for text attribute in body markups. * message.el (message-options): Make message-options a local variable. 2011-02-07 Teodor Zlatanov * auth-source.el (auth-source-secrets-search) (auth-source-user-or-password): Use `append' instead of `nconc'. (auth-source-user-or-password): Build return list better and protect against nil :secret. 2011-02-07 Lars Ingebrigtsen * nnimap.el (nnimap-update-info): Refactor slightly. (nnimap-update-info): Tell Gnus whether there are any \Recent messages. (nnimap-update-info): Clean up slightly. (nnimap-quirk): Add quirk for Gmail IMAP which bugs out on NUL characters. (nnimap-process-quirk): Rename function to avoid collision. (nnimap-update-info): Fix macrology bug-out. (nnimap-update-info): Simplify split history test. 2011-02-06 Michael Albinus * auth-source.el (top): Require 'eieio unconditionally. Autoload `secrets-get-attributes' instead of `secrets-get-attribute'. (auth-source-secrets-search): Limit search when `max' is greater than number of results. 2011-02-06 Lars Ingebrigtsen * nntp.el (nntp-finish-retrieve-group-infos): Protect against the first part not returning any data. * proto-stream.el (open-protocol-stream): Document the return value. 2011-02-06 Teodor Zlatanov * auth-source.el (auth-source-secrets-search): Add examples. 2011-02-06 Julien Danjou * message.el (message-setup-1): Handle message-generate-headers-first set to t. 2011-02-06 Teodor Zlatanov * auth-source.el (auth-sources): Allow for simpler defaults for Secrets API with a string "secrets:collection-name" and with 'default. (auth-source-backend-parse): Parse "secrets:collection-name" and 'default. Recurse on parses instead of repeating code. Use the Secrets API is the source is not nil and 'ignore otherwise. Emit a message when ignoring a source. (auth-source-search): List ignored search keys at the top level. (auth-source-netrc-create): Use `case' instead of `cond'. (auth-source-secrets-search): Created with TODOs. (auth-source-secrets-create): Created with TODOs. (auth-source-retrieve, auth-source-create, auth-source-delete) (auth-source-protocol-defaults, auth-source-user-or-password-imap) (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh) (auth-source-user-or-password-sftp) (auth-source-user-or-password-smtp): Remove. (auth-source-user-or-password): Deprecated and modified to be a wrapper around `auth-source-search'. Not tested thoroughly. 2011-02-04 Teodor Zlatanov * auth-source.el: Bring in assoc and eioeio libraries. (secrets-enabled): New variable to track the status of the Secrets API. (auth-source-backend): New EIOEIO class to represent a backend. (auth-source-creation-defaults): New variable to set prompt defaults during token creation (see the `auth-source-search' docstring for details). (auth-sources): Simplify to allow a simple string as a netrc backend spec. (auth-source-backend-parse): Parse a backend from an `auth-sources' spec. (auth-source-backend-parse-parameters): Fill in the backend parameters. (auth-source-search): Main auth-source API entry point. (auth-source-delete): Wrapper around `auth-source-search' for deletion. (auth-source-search-collection): Helper function for searching. (auth-source-netrc-parse, auth-source-netrc-normalize) (auth-source-netrc-search, auth-source-netrc-create): Netrc backend. Supports search, create, and delete. (auth-source-secrets-search, auth-source-secrets-create): Secrets API backend stubs. (auth-source-user-or-password): Call `auth-source-search' but it's not ready yet. 2011-02-04 Lars Ingebrigtsen * message.el (message-setup-1): Remove the read-only stuff, since it doesn't work under XEmacs, for some reason. * gnus-sum.el (gnus-user-date): Rename back from gnus-summary-user-date since user code refers to it. * shr.el (shr-render-td): Store the actual background color used. * message.el (message-setup-1): Don't bind the constant -forbidden-properties. (message-setup-1): Revert previous change, since it needs to bind the props to insert them. (message-resend): Allow removing the read-only separator line. 2011-02-03 Lars Ingebrigtsen * nnimap.el (nnimap-request-accept-article): Give an error message if the APPEND wasn't successful. 2011-02-03 Adam Sjøgren * gnus-start.el (gnus-get-unread-articles): Fix the call to methods that have no groups. 2011-02-03 Julien Danjou * gnus-draft.el: Remove progn around gnus-draft-setup. 2011-02-03 Lars Ingebrigtsen * gnus-start.el (gnus-read-active-for-groups): This function is never called with a nil `infos', so clean that up. (gnus-get-unread-articles): Request active files from primary/secondary methods that have no groups (yet). 2011-02-03 Julien Danjou * message.el (message-setup-1): Always generate References first. (message-mail): Return the return value of message-setup, not always t. (message-setup-1): Insert mail-header-separator with read-only and intangible properties set. * gnus.el (gnus-summary-line-format): Add missing semi-colon for user-date in docstring. * gnus-art.el (gnus-article-jump-to-part): Remove useless sit-for. * gnus.el (gnus-summary-line-format): Mention &user-date format in docstring. * gnus.el (gnus-user-date-format-alist): Change default value. Use defcustom, with type and group. Move from gnus-util.el. Rename to gnus-summary-user-date-format-alist. 2011-02-03 Glenn Morris * nnimap.el (gnus-fetch-headers): Declare. * nnheader.el (gnus-range-add, gnus-remove-from-range): Autoload. 2011-02-03 Lars Ingebrigtsen * message.el (message-forward-make-body-digest-plain) (message-followup, message-reply): Clean up things noted by Stefan. * gnus-art.el (gnus-article-setup-buffer): Stop the date timer if gnus-article-update-date-headers is nil. (gnus-article-date-headers): Rip out the old -treat-date-* stuff, since it didn't really work with defcustom. (article-update-date-lapsed): Make sure the window start doesn't move, either. 2011-02-01 Julien Danjou * mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff format. * mm-decode.el (mm-inline-media-tests): Do not check for diff-mode it's standard in Emacs nowadays. * color.el (color-gradient): Add a color-gradient function. 2011-02-01 Stefan Monnier * message.el (message-expand-name): Don't trust the return value of bbdb-complete-name. (message-check-news-header-syntax): Remove unused var `start'. (message-idna-to-ascii-rhs-1): Remove unused vars `rhs' and `address'. (message-inhibit-body-encoding): Move to before first use. (mail-abbrev-mode-regexp, Expires, User-Agent, Lines, Distribution) (To, References, In-Reply-To, Newsgroups, Subject, Path, From) (Organization, Message-ID, Date, mh-previous-window-config): Defvar the vars using dynamic scoping. 2011-02-01 Lars Ingebrigtsen * shr.el (shr-render-td): Only do colors at the final rendering. Should be slightly faster. (shr-insert-table): Fix up TD background colors when doing the vertical padding. * gnus-art.el (article-date-ut): Protect against articles with no Date header. (article-update-date-lapsed): Don't use current-column to find the horizontal position. It's fragile in the presence of \003 characters. * gnus-start.el (gnus-read-active-file-1): Remove dead parameter infos. 2011-01-31 Lars Ingebrigtsen * gnus-art.el (article-transform-date): Rewrite to still work when there are several rfc2822 parts. (article-transform-date): Fix infinite recursion. (article-date-ut): Replace infinitely many Date headers with a single one when called interactively. * nnimap.el (nnimap-wait-for-response): Wait for results in a more secure manner. * gnus-art.el (article-update-date-lapsed): Try to avoid having point move around by not using save-window-excursion. It seems to work... 2011-01-31 Katsumi Yamaoka * gnus-art.el (article-make-date-line): Work for user-defined format. 2011-01-31 Lars Ingebrigtsen * nntp.el (nntp-retrieve-group-data-early) (nntp-finish-retrieve-group-infos): Implement the asynchronous data fetching functions. * gnus-start.el (gnus-read-active-for-groups): Read the active files thoroughly for all backends that have no known groups. This should allow new nnml methods to retrieve mail. * gnus-group.el (gnus-group-jump-to-group): Allow jumping to groups that Gnus doesn't know exists again. * gnus-art.el (gnus-article-date-lapsed-new-header): Remove. (gnus-treat-date-ut): Ditto. (gnus-article-update-date-header): Rename. (gnus-treat-date-local): Remove. (gnus-treat-date-english): Remove. (gnus-treat-date-lapsed): Remove. (gnus-treat-date-combined-lapsed): Remove. (gnus-treat-date-original): Remove. (gnus-treat-date-iso8601): Remove. (gnus-treat-date-user-defined): Remove. (gnus-article-date-headers): New variable to control all the date header options. (article-date-ut): Rewrite to allow using the new way to format date headers(s). 2011-01-30 Lars Ingebrigtsen * nnmail.el (nnmail-article-group): Check for a direct fancy split method. (nnmail-article-group): A better test for fanciness. * nnimap.el (nnimap-request-head): Protect against not finding the article by Message-ID. 2011-01-29 Lars Ingebrigtsen * gnus-art.el (article-update-date-lapsed): Try a better way to really keep point at the "same place". 2011-01-28 Lars Ingebrigtsen * gnus-sum.el (gnus-select-newsgroup): Don't try to alter the active data if the group is inactive. 2011-01-28 Julien Danjou * gnus-win.el: Remove dead function gnus-window-configuration-element. (gnus-all-windows-visible-p): Remove old compatibility code. (gnus-window-top-edge): Add docstring. * gnus-group.el (gnus-group-jump-to-group): Set must match to t. 2011-01-28 Lars Ingebrigtsen * gnus-int.el (gnus-request-marks): Call *-request-marks instead of the older request-update-info. * gnus-art.el (article-make-date-line): Limit the length a bit more. 2011-01-28 Daiki Ueno * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Give mml2015-signers higher precedence over mml2015-sign-with-sender. 2011-01-27 Lars Ingebrigtsen * gnus-group.el (gnus-group-refresh-group): Refresh even non-visible groups. This makes the nndraft:queue group pop up if it's not already there. * gnus-sum.el (gnus-summary-read-group-1): Fix the "contains no messages" logic, which was reversed. * gnus-art.el (article-update-date-lapsed): Ensure that point stays at the "same place" even if point is on the line being replaced. (article-update-date-lapsed): Allow updating both the combined lapsed and the lapsed headers. (article-update-date-lapsed): Skip past all the X-Sent/Date headers. (article-make-date-line): Limit the number of segments dynamically to avoid too-long lines. 2011-01-27 Julien Danjou * mml2015.el (mml2015-epg-sign): Add and use mml2015-sign-with-sender. (mml2015-epg-encrypt): Use mml2015-sign-with-sender. 2011-01-27 Katsumi Yamaoka * shr.el (shr-expand-newlines, shr-previous-newline-padding-width): Use plist-get instead of the cl function getf. 2011-01-27 Glenn Morris * gnus-util.el (float-time): Get rid of compiler warning, again. 2011-01-27 Lars Ingebrigtsen * shr.el (shr-put-color): Special-case background colors: Do put them at the blank parts at the front of the lines. * gnus-draft.el (gnus-draft-clear-marks): New function to be run as an exit hook to nix out all data on readedness on group exit. * gnus-util.el (float-time): If float-time is bound, always use it on all Emacsen. It's unclear why the subrp check was there. (time-date): Require to make some autoload issues on XEmacs go away. * shr.el (shr-put-color): Don't do the box padding in tables, since they're already padded. 2011-01-26 Lars Ingebrigtsen * gnus-art.el (gnus-article-next-page): When the last line of the article is displayed, scroll down once more instead of going to the next article at once. (article-lapsed-string): Refactor out and allow specifying how many segments you want. (gnus-article-setup-buffer): Start updating the lapsed header directly. (gnus-article-update-lapsed-header): New variable. * shr.el: Revert change that made headings use different-sized faces. The Emacs display engine isn't advanced enough that, for instance, tables can comfortably use differently-sized faces. 2011-01-25 Lars Ingebrigtsen * nnimap.el (nnimap-open-connection-1): Store the actual stream type used. (nnimap-login): Prefer plain LOGIN if it's enabled (since it requires fewer round trips than CRAM-MD5, and it's less likely to be buggy), and we're using an encrypted connection. * proto-stream.el: Alter the interface functions to also return the actual stream type used: network or tls. 2011-01-25 Julien Danjou * mm-view.el (mm-display-shell-script-inline): Fix typo in docstring. (mm-display-javascript-inline): New function. * mm-decode.el (mm-inline-media-tests): Add application/javascript viewing function. 2011-01-25 Katsumi Yamaoka * shr.el (shr-expand-newlines): Fix variable name. 2011-01-25 Lars Ingebrigtsen * shr.el (shr-expand-newlines): Make nested boxes work. 2011-01-24 Lars Ingebrigtsen * shr.el (shr-expand-newlines): Proof of concept implementation of boxy backgrounds. (shr-expand-newlines): Switch to using overlays to enable kill'n'yank in a more sensible manner. 2011-01-24 Teodor Zlatanov * mml-smime.el (mml-smime-use): Make it a defcustom and default to 'epg if EPG is loaded. 2011-01-24 Julien Danjou * shr.el: Use defface to create shr-tag-h[1-6] faces to fontify h[1-6] tags. 2011-01-24 Lars Ingebrigtsen * gnus-art.el (gnus-article-read-summary-keys): Don't call disabled commands. * gnus-gravatar.el (gnus-gravatar-insert): Don't move point around in the article buffer. (gnus-gravatar-insert): Use blank space from the current buffer to avoid breaking text properties. This makes X-Sent updating work again. * gravatar.el (gravatar-retrieve): Be silent when retrieving. 2011-01-23 Lars Ingebrigtsen * gnus-html.el (gnus-html-image-fetched): Kill the buffer anyway, and fix the bug in url-http.el instead. * shr.el (shr-image-fetched): Ditto. * shr.el (shr-image-fetched): Avoid having point move in the article buffer. * gnus-html.el (gnus-html-image-fetched): Don't kill the temporary buffer after being called. It's apparently being killed by url.el, and killing it made point move to end-of-buffer in a random buffer. * shr.el (shr-image-fetched): Ditto. 2011-01-23 Julien Danjou * mm-decode.el (mm-inline-media-tests): Change text/org to text/x-org. * mm-uu.el (mm-uu-org-src-code-block-extract): Change text/org to text/x-org. 2011-01-22 Lars Ingebrigtsen * gnus-sum.el (gnus-summary-move-article): Protect against backends (i.e., nnimap) returning nil as the article number. 2011-01-22 Kazuhiro Ito (tiny change) * flow-fill.el (fill-flowed): Make `delete-space' option correspond to "DelSp" parameter in RFC3676. 2011-01-22 Lars Ingebrigtsen * message.el (message-check-recipients): Display the encoded version of the bogus address if they differ. * gnus-draft.el (gnus-group-send-queue): Really refresh the queue group after sending. * gnus-agent.el (gnus-agent-send-mail): Ditto. * gnus-group.el (gnus-group-refresh-group): New convenience function. * gnus-draft.el (gnus-group-send-queue): Update the queue group in the group buffer after sending the queue. * gnus-agent.el (gnus-agent-send-mail): Ditto. 2011-01-22 Julien Danjou * mailcap.el (mailcap-mime-extensions): Rename text/org to text/x-org. 2011-01-22 Lars Ingebrigtsen * mm-decode.el (mm-preferred-alternative-precedence): Don't bug out on nested related parts. * nnfolder.el (nnfolder-request-expire-articles): Return the list of unexpired articles. This fixes the regression that led expiry marks to disappear from nnfolder groups. 2011-01-21 Stefan Monnier * gnus-art.el (gnus-button-alist, gnus-button-handle-info-keystrokes): Don't confuse the "ret" of "retrograde" with RET. 2011-01-21 Julien Danjou * gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather than mm-insert-inline. 2011-01-21 Katsumi Yamaoka * gnus-art.el (gnus-article-remove-images, gnus-article-show-images): Widen article buffer. 2011-01-20 Stefan Monnier * mm-util.el (mm-find-buffer-file-coding-system): Don't forget to kill the temp buffer. * message.el (message-mailer-swallows-blank-line): Use with-temp-buffer. 2011-01-20 Julien Danjou * mm-decode.el (mm-inline-media-tests): Add text/x-sh. * gnus-art.el (gnus-mime-inline-part): Use mm-display-inline rather than mm-insert-inline to insert inline part: this respect mm-inline-media-tests displayers. * mm-view.el (mm-display-shell-script-inline): New function. * mm-decode.el (mm-inline-media-tests): Add x-shellscript and x-sh. * mm-uu.el (mm-uu-type-alist): Add org block. (mm-uu-org-src-code-block-extract): New function. * mm-view.el (mm-display-org-inline): New function. * mm-decode.el (mm-automatic-display): Add text/org. * mailcap.el (mailcap-mime-extensions): Add .org. 2011-01-19 Katsumi Yamaoka * gnus-art.el (gnus-article-highlight): Remove argument passed to gnus-article-add-buttons. 2011-01-19 Tom Rauchenwald (tiny change) * spam.el (spam-spamassassin-register-with-sa-learn): Insert a full From header with a date and "nobody" as the sender. 2011-01-19 Julien Danjou * gnus-art.el (gnus-article-add-buttons): Simplify condition. (gnus-button-push): Remove gnus-button-entry function, it fails heavily if you have the same regexp several times. (gnus-button-push): Fix matching when regexp is symbol. 2011-01-15 Glenn Morris * message.el (message-mail): A compose-mail function should accept headers as strings. 2011-01-13 Chong Yidong * message.el (message-tool-bar-gnome): Tweak tool-bar items. Add :vert-only tags. (message-mail): New arg RETURN-ACTION. (message-return-action): New var. (message-bury): Use it. (message-mode): Make it buffer-local. (message-send-and-exit): Always call message-bury. * gnus-msg.el (gnus-msg-mail): New arg RETURN-ACTION. Pass it to message-mail. 2011-01-11 Lars Magne Ingebrigtsen * nnimap.el (nnimap-convert-partial-article): Protect against zero-length body parts. * mm-decode.el (mm-preferred-alternative-precedence): Discourage showing empty parts. * gnus-int.el (gnus-request-accept-article): Don't try to update marks and stuff if the backend didn't return the article number. This fixes an Exchange-related nnimap bug. * gnus-sum.el (gnus-summary-next-article): Remove hack to reselect group window, because it does the wrong thing when a separate frame displays the group buffer. * proto-stream.el (open-protocol-stream): Protect against the low-level transport functions returning nil. 2011-01-07 Daiki Ueno * mml2015.el (epg-sub-key-fingerprint): Autoload. (mml2015-epg-find-usable-secret-key): New function. (mml2015-epg-sign): Use mml2015-epg-find-usable-secret-key instead of mml2015-epg-find-usable-key (Bug#7797). (mml2015-epg-encrypt): Ditto. 2011-01-05 Katsumi Yamaoka * dgnushack.el (rot13-string): Fix the way to get the argument. 2011-01-03 Lars Magne Ingebrigtsen * flow-fill.el (fill-flowed-encode): Do encoding citation-aware. 2011-01-03 Glenn Morris * sieve-manage.el (sieve-manage-open): Correctly set sieve-manage-port. * sieve.el (sieve-open-server): Give a more explicit error if sieve-manage-open returns nil. (Bug#7720) 2011-01-02 Karl Fogel * gnus-msg.el (gnus-message-replyencrypt): Default to `t'. 2011-01-02 Lars Magne Ingebrigtsen * nnimap.el (nnimap-login): Prefer AUTH=CRAM-MD5, if it's available. This avoids sending passwords in plain text over non-encrypted channels. * shr.el (shr-rescale-image): Display all GIF images as animated images. * nnimap.el (nnimap-login): Refactored out into own function, and implement CRAM-MD5. (nnimap-wait-for-line): Refactored out. * mm-view.el (mml-smime): Require. 2010-12-20 David Engster * mm-view.el (mm-view-pkcs7-decrypt): If mml-smime-use is set to 'epg, use EPG to decrypt S/MIME messages instead of openssl. 2011-01-02 Lars Magne Ingebrigtsen * nnimap.el (nnimap-request-group): Avoid double SELECT on `M-g'. * gnus-group.el (gnus-group-kill-group): Don't try to update the group status is the group clearly is unreachable. * auth-source.el (auth-source-create): Add the optional second parameter to `local-variable-p' to be compatible with XEmacs. 2011-01-02 Wang Diancheng (tiny change) * nnml.el (nnml-request-article): Allow requesting by Message-ID to work when using a compressed nnml folder. 2011-01-02 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-select-newsgroup): Don't propagate marks to backends after sanitising on entry, because this never makes sense: If the articles have gone missing, then the data no longer exists on the backend, and if they haven't, then Gnus is wrong, and shouldn't overwrite anything anyway. * shr.el (shr-insert-document): Bind shr-width dynamically to window-width if it's nil. 2010-12-30 Tassilo Horn * shr.el (shr-width, shr-insert-document): Allow nil as shr-width value with the meaning of using the full emacs window width for rendering. 2010-12-27 Daiki Ueno * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Take care the case when sender is not given. 2010-12-23 Julien Danjou * gnus-gravatar.el (gnus-gravatar-transform-address): Set `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting the addresses, otherwise we might misplaced the gravatar. 2010-12-21 Daiki Ueno * mml1991.el (pgg-sign-region, pgg-encrypt-region): * gnus-art.el (pgg-snarf-keys-region): Autoload since PGG is now obsolete in Emacs. 2010-12-20 Julien Danjou * gnus-util.el (gnus-rescale-image): Revert last change. 2010-12-17 Chong Yidong * binhex.el: Improve commentary (Bug#7482). 2010-12-17 Lars Magne Ingebrigtsen * gnus-group.el (gnus-group-delete-articles): New command. 2010-12-17 Andrew Cohen * nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound. 2010-12-17 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change here, since it's up to the backends to do CRLF removal if their protocol has it. * nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers. 2010-12-17 Julien Danjou * gnus-util.el (gnus-rescale-image): Allow to resize images even if they are from file. Can also scale up. 2010-12-17 Andrew Cohen * gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore gnus-use-agent. (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol. * nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null. 2010-12-17 Julien Danjou * gravatar.el (gravatar-retrieve-synchronously): New function. (gravatar-get-data): Make more robust. 2010-12-16 Katsumi Yamaoka * lpath.el: Bind epa-file-encrypt-to for Emacs 22 and XEmacs. 2010-12-16 Lars Magne Ingebrigtsen * nnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really consider the last line. 2010-12-16 Daiki Ueno * auth-source.el (auth-source-gpg-encrypt-to): New variable to set the list of recipient keys, or use symmetric encryption if not a list. (auth-source-create): Use it to make `epa-file-encrypt-to' local for an EPA override, replacing the call to `netrc-store-data'. 2010-12-16 Dan Davison (tiny change) * gnus-srvr.el: Avoid passing nil regexp argument to delete-matching-lines. 2010-12-16 Lars Magne Ingebrigtsen * gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML fetching stops when Gnus exits. * nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own function. (nnfolder-request-expire-articles): Save all the buffers after doing expiry. * nnmail.el (nnmail-expiry-target-group): Revert the "all articles are the last article", since that led to serious performance regressions when expiring nnml groups. 2010-12-16 Andrew Cohen * nnir.el: Improve customizations. 2010-12-16 Lars Magne Ingebrigtsen * gnus-start.el (gnus-subscribe-newsgroup): Notify the backend. * gnus-group.el (gnus-group-kill-group): Notify the backend that the group has been killed. (gnus-group-yank-group): Ditto. * gnus-srvr.el (gnus-browse-unsubscribe-group): Ditto. * nnimap.el (nnimap-request-update-group-status): New function. * gnus-int.el (gnus-request-update-group-status): New interface function. * gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for copying read-ness to the backends. * nnimap.el (nnimap-quirk): New function. (nnimap-retrieve-group-data-early): Use it. (nnimap-quirks): New alist. 2010-12-16 Katsumi Yamaoka * shr.el (shr-insert): Set shr-start after deleting trailing space; don't delete it within indentation. 2010-12-16 Lars Magne Ingebrigtsen * nnimap.el (nnimap-wait-for-response): Always look (at least) at the previous line. 2010-12-15 Lars Magne Ingebrigtsen * nnimap.el (nnimap-retrieve-group-data-early): Fix the syntax of the QRESYNC command by deleting a superfluous space which broke Cyrus servers. This change will break other servers that are buggy the other way around. 2010-12-14 Teodor Zlatanov * spam.el: Reindent and fix long lines. (spam-copy-or-move-routine): Exclude invalid move destinations. 2010-12-14 Andrew Cohen * nnir.el (nnir-mode): Don't install registry hooks if user hasn't installed the registry. 2010-12-14 Katsumi Yamaoka * dgnushack.el (rot13-string): New macro for XEmacs. netrc.el uses it. 2010-12-13 Andrew Cohen * nnir.el (nnir-run-gmane): Better check for gmane groups: error out if groupname doesn't contain "gmane". 2010-12-13 Lars Magne Ingebrigtsen * netrc.el (netrc-point-at-eol): Remove the unused netrc-point-at-old and netrc-bound-and-true-p bindings. (netrc-parse): Cache the netrc contents. * gnus-start.el (gnus-matches-options-n): Fix typo in last change. (gnus-1): Don't create the nndrafts group twice. (gnus-setup-news): There's no need to read the active file here, since that's done again later on a per-backend basis. (gnus-start-draft-setup): Make sure that the new group is started out empty. * gnus-agent.el (gnus-agentize): Don't create the queue group automatically on startup. It'll be created later, if needed. * gnus-start.el (gnus-auto-subscribed-groups): Add nnimap to the list of automatically subscribed groups. (gnus-auto-subscribed-categories): New variable. (gnus-matches-options-n): Use it. (gnus-default-subscribed-newsgroups): Remove unused variable. (gnus-start-draft-setup): Message a bit less. 2010-12-13 Andrew Cohen * nnir.el (nnir-run-imap): Return article list in order of increasing UID. 2010-12-13 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-summary-enter-digest-group): Mention gnus-auto-select-on-ephemeral-exit. * proto-stream.el (proto-stream-open-network-only): Fix the calling convention of the network-only option. 2010-12-10 Lars Magne Ingebrigtsen * proto-stream.el (proto-stream-open-network-only): New function to have a way to specify non-STARTTLS upgrade connections. 2010-12-10 Julien Danjou * gnus-gravatar.el (gnus-gravatar-transform-address): Fix error when email address is nil. * message.el (message-bogus-recipient-p): Set address to "" if nil. 2010-12-10 Andrew Cohen * nnir.el (nnir-request-expire-articles): Ignore expiry except for deletion. (nnir-run-imap): Only need to parse list once. 2010-12-09 Lars Magne Ingebrigtsen * shr.el (shr-tag-script): Ignore