2010-10-01 Katsumi Yamaoka * gravatar.el: Don't load image.el that XEmacs doesn't provide. (gravatar-create-image): New function that's an alias to gnus-xmas-create-image, gnus-create-image, or create-image. (gravatar-data->image): Use it. 2010-09-30 Teodor Zlatanov * gnus-registry.el (gnus-registry-install-nnregistry): New function to install the nnregistry refer method. (gnus-registry-install-hooks): Use it. (gnus-registry-unfollowed-groups): Add nnmairix to the default unfollowed groups. 2010-09-30 Jose A. Ortega Ruiz (tiny change) * gnus-sum.el (gnus-summary-show-thread): Skip past invisible text when expanding threads. 2010-09-30 Lars Magne Ingebrigtsen * nnir.el: Use the server names without suffixes (bug #7009). * nnimap.el (nnimap-open-connection): Reinstate the auto-upgrade from unencrypted to STARTTLS, if possible. 2010-09-30 Teemu Likonen (tiny change) * message.el (message-ignored-supersedes-headers): Strip Injection-* headers before superseding. 2010-09-30 Lars Magne Ingebrigtsen * nnrss.el (nnrss-use-local): Add documentation. * nnimap.el (nnimap-extend-tls-programs): New function. (nnimap-open-connection): Use tls.el exclusively, and not starttls.el. (nnimap-wait-for-connection): Accept the greeting from the stupid output from openssl s_client -starttls, too. * nnimap.el (nnimap-find-article-by-message-id): Really return the article number. (nnimap-split-fancy): New variable. (nnimap-split-incoming-mail): Use it. * nntp.el (nntp-server-list-active-group): Document. * nnimap.el (nnimap-find-article-by-message-id): Use EXAMINE instead of SELECT to get the message-id. * mail-source.el (mail-sources): Removed webmail support. (defvar): Ditto. (mail-source-fetcher-alist): Ditto. (mail-source-fetch-webmail): Removed. * webmail.el: Removed -- doesn't seem relevant any more. * gnus.el: Fix up make-obsolete-variable declarations throughout. * nnimap.el (nnimap-request-accept-article): Get the Message-ID without the \r. 2010-09-30 Julien Danjou * gnus-agent.el (gnus-agent-add-group): Fix call to gnus-completing-read. 2010-09-29 Lars Magne Ingebrigtsen * nndoc.el (nndoc-retrieve-groups): New function. * nnimap.el (nnimap-split-incoming-mail): If nnimap-split-methods is `default', use nnmail-split-methods. (nnimap-request-article): Downcase the NILs so that they are nil. * gnus-sum.el (gnus-valid-move-group-p): Make sure that `group' is a symbol. * nnimap.el (nnimap-open-connection): Revert the auto-network->starttls code, since if the user has requested network, that's what they ought to get. (nnimap-request-set-mark): Erase the buffer before issuing commands. (nnimap-split-rule): Mark as obsolete. * pop3.el (pop3-send-streaming-command, pop3-stream-length): New variable. * nnimap.el (nnimap-insert-partial-structure): Get the type from the correct slot, too. 2010-09-29 Julien Danjou * gnus.el (gnus-local-domain): Declare variable obsolete. * gnus-util.el (gnus-icompleting-read): Require iswitchb. Fix history computing. (gnus-ido-completing-read): Require ido. 2010-09-29 Lars Magne Ingebrigtsen * gnus-registry.el: Don't prompt on load, which makes it impossible to build Gnus. * nnimap.el (nnimap-insert-partial-structure): Be way more permissive when interpreting the structures. (nnimap-request-accept-article): Add \r\n to the lines to make this work with Cyrus. * nndraft.el (nndraft-request-expire-articles): Use the group name instead if "nndraft". Fix found by Nils Ackermann. 2010-09-29 Ludovic Courtes * nnregistry.el: Added. 2010-09-29 Stefan Monnier * nnmail.el (group, group-art-list, group-art): Remove unneeded directives. 2010-09-29 Katsumi Yamaoka * mm-util.el (mm-codepage-iso-8859-list, mm-charset-eval-alist) (mm-mime-charset) * rfc2047.el (rfc2047-syntax-table) * utf7.el (utf7-utf-16-coding-system): Comment fix. * nnrss.el (nnrss-read-server-data, nnrss-read-group-data): Use `load' rather than `insert-file-contents' and `eval-region'. 2010-09-29 Julien Danjou * gnus-gravatar.el (gnus-gravatar-properties): Add this properties in replacement of `gnus-gravatar-relief' to mimic `gnus-faces-properties-alist'. Add :version property. 2010-09-28 Katsumi Yamaoka * mail-source.el (mail-source-report-new-mail) * message.el (message-default-mail-headers) * mm-decode.el (mm-valid-image-format-p): Comment fix. * mml2015.el (mml2015-use): Don't bind recursive-load-depth-limit. 2010-09-28 Julien Danjou * gnus-gravatar.el (gnus-gravatar-insert): Fix search in case mail-address contains the same string as real-name. * gnus-ems.el (gnus-put-image): Revert Lars, change and insert non-blank in header, otherwise it'll get stripped. * gnus-gravatar.el (gnus-gravatar-insert): Search backward for real-name, and then for mail address rather than doing : or , search. 2010-09-27 Julien Danjou * gnus-srvr.el (gnus-server-add-server): Use gnus-completing-read. (gnus-server-goto-server): Use gnus-completing-read. * mm-view.el (mm-view-pkcs7-decrypt): Use gnus-completing-read. * mm-util.el (defalias): Use gnus-completing-read. (mm-codepage-setup): Use gnus-completing-read. * smime.el (smime-sign-buffer): Use gnus-completing-read. (smime-decrypt-buffer): Use gnus-completing-read. * mml-smime.el (mml-smime-openssl-sign-query): Use gnus-completing-read. * mml.el (mml-minibuffer-read-type): Use gnus-completing-read. (mml-minibuffer-read-disposition): Use gnus-completing-read. (mml-insert-multipart): Use gnus-completing-read. * gnus-msg.el (gnus-summary-yank-message): Use gnus-completing-read. * gnus-int.el (gnus-start-news-server): Use gnus-completing-read. * mm-decode.el (mm-interactively-view-part): Use gnus-completing-read. * gnus-dired.el (gnus-dired-attach): Use gnus-completing-read. * gnus.el (gnus-read-method): Use gnus-completing-read. * gnus-bookmark.el (gnus-bookmark-jump): Use gnus-completing-read. * gnus-art.el (gnus-mime-view-part-as-type): Use gnus-completing-read. (gnus-mime-action-on-part): Use gnus-completing-read. (gnus-article-encrypt-body): Use gnus-completing-read. * gnus-topic.el (gnus-topic-jump-to-topic): Use gnus-completing-read. (gnus-topic-move-matching): Use gnus-completing-read. (gnus-topic-copy-matching): Use gnus-completing-read. (gnus-topic-sort-topics): Use gnus-completing-read. (gnus-topic-move): Use gnus-completing-read. * gnus-agent.el (gnus-agent-read-group): Remove prompt computing. (gnus-agent-add-group): Use gnus-completing-read. * nnmairix.el (nnmairix-create-server-and-default-group): Use gnus-completing-read. (nnmairix-update-groups): Use gnus-completing-read. (nnmairix-get-server): Use gnus-completing-read. (nnmairix-backend-to-server): Use gnus-completing-read. (nnmairix-goto-original-article): Use gnus-completing-read. (nnmairix-get-group-from-file-path): Use gnus-completing-read. * nnrss.el (nnrss-find-rss-via-syndic8): Use gnus-completing-read. * gnus-group.el (gnus-group-completing-read): Use gnus-completing-read. (gnus-group-make-useful-group): Use gnus-completing-read. (gnus-group-make-web-group): Use gnus-completing-read. (gnus-group-add-to-virtual): Use gnus-completing-read. (gnus-group-browse-foreign-server): Use gnus-completing-read. * gnus-sum.el (gnus-summary-goto-article): Use gnus-completing-read. (gnus-summary-limit-to-extra): Use gnus-completing-read. (gnus-summary-execute-command): Use gnus-completing-read. (gnus-summary-respool-article): Use gnus-completing-read. (gnus-read-move-group-name): Use gnus-completing-read. * gnus-score.el (gnus-summary-increase-score): Use gnus-completing-read. (gnus-summary-score-effect): Use gnus-completing-read. * gnus-registry.el (gnus-registry-read-mark): Use gnus-completing-read. * gnus-util.el (gnus-completing-read): Use gnus-use-ido to apply the right completing-read function. (gnus-use-ido): New variable (gnus-completing-read-with-default): Remove. 2010-09-28 Katsumi Yamaoka * nnimap.el (auth-source-forget-user-or-password) (auth-source-user-or-password): Autoload. * message.el (message-from-style, message-interactive) (message-signature): Remove comment. (message-cite-prefix-regexp): Default to mail-citation-prefix-regexp always. (message-sendmail-envelope-from): Comment fix. (message-yank-prefix): Default to mail-yank-prefix always. (message-indentation-spaces): Default to mail-indentation-spaces always. (message-signature-file): Default to mail-signature-file always. 2010-09-27 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-summary-read-group-1): Set gnus-newsgroup-highest. (gnus-summary-insert-new-articles): Use gnus-newsgroup-highest to get new articles. * nnimap.el (nnimap-request-article): Don't partial-fetch single-part parts. (nnimap-request-article): Work with the t setting, too. * gnus-sum.el (gnus-summary-exit): Kill the article buffer later, so that you don't get flashes of other buffers. (gnus-summary-show-complete-article): Intern before setting. 2010-09-27 David Engster * nnmairix.el: (nnmairix-replace-group-and-numbers): Deal with NOV as well as HEADERS. (nnmairix-retrieve-headers): Provide new argument for the above. 2010-09-27 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-summary-move-article): Don't alter gnus-newsgroup-active. This makes `/ N' work after copying to the same group. * nnimap.el (nnimap-update-info): Don't destructively alter active. * message.el (message-cite-prefix-regexp): Revert my last edit. * gnus-sum.el (gnus-summary-show-complete-article): Bind the server variable instead of the Gnus variable. * nnimap.el (nnimap-find-wanted-parts-1): Use it. * gnus-art.el (gnus-fetch-partial-articles): Moved back to nnimap again. * nnimap.el (nnimap-request-accept-article): Remove the "." at the end, since some servers don't like it. (nnimap-open-connection): Forget credentials if the server says the password was wrong. (nnimap-parse-line): Protect against invalid data. * gnus-sum.el (gnus-summary-move-article): Add comment. (gnus-summary-insert-new-articles): Copy the old-high watermark so that nothing alters it while scanning for new messages. * nnimap.el (nnimap-request-accept-article): Send a "." at the end, which may or may not help. (nnimap-open-connection): If we're doing a stream connection, and then discover we're on a STARTTLS-capable server, then open a STARTTLS connection instead. 2010-09-27 Lars Magne Ingebrigtsen * nnimap.el (utf7): Required. * message.el (message-cite-prefix-regexp): Remove "}" from citation prefix. 2010-09-27 Juanma Barranquero * nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring. 2010-09-27 Lars Magne Ingebrigtsen * nnimap.el (nnimap-request-accept-article): Message the error on error. 2010-09-27 Katsumi Yamaoka * gnus-art.el (gnus-mime-delete-part): Fix Lisp type of byte(s). 2010-09-26 Lars Magne Ingebrigtsen * nndoc.el (nndoc-request-list): Return success always. * gnus-agent.el (gnus-agent-retrieve-headers): Don't propagate `fetch-old' -- we only want to fetch the articles we've requested. The rest are in the agent, probably. (gnus-agent-read-servers-validate): Change the level for the "Ignoring disappeared server" to something low. It's not important. * nnimap.el (nnimap-get-whole-article): Remove the data that may have arrived before the FETCH data. * nnmh.el (nnmh-request-expire-articles): Don't try to fetch the expiry target here, because we don't know the Gnus name of the group. * nndraft.el (nndraft-request-expire-articles): Fetch the expiry target for the correct group. * gnus-ems.el (gnus-create-image): Ignore all image-creation errors. * gnus.el (gnus): Give a final warning after startup. * gnus-util.el (gnus-action-message-log): New variable. (gnus-message): Use it. (gnus-final-warning): New function. * nnimap.el (nnimap-open-connection): Record the greeting. (nnimap): Add greeting. 2010-09-26 Julien Danjou * gnus-html.el (gnus-html-show-images): Fix gnus-html-display-image arguments. (gnus-html-wash-images): Fix spec computing to include start/end. * gnus-art.el (gnus-article-treat-body-boundary): Fix length computing. 2010-09-26 Lars Magne Ingebrigtsen * nnimap.el (nnimap-request-expire-articles): Compress ranges before deletion. (nnimap-retrieve-headers): Don't select the group, because that's already done by nnimap-possibly-change-group. * gnus-picon.el (gnus-picon-inhibit-top-level-domains): New variable. (gnus-picon-transform-address): Use it. * mail-source.el (mail-source-value): Revert previous patch. * nnimap.el (nnimap-credentials): Allow inhibiting the password query on failure. (nnimap-open-connection): Look up both virtual and physical server name credentials. * gnus-win.el: Revert previous patch, since it made Gnus backtrace. 2009-02-08 Dave Love * gnus-win.el (gnus-window-to-buffer-helper, gnus-all-windows-visible-p): Function needn't be a symbol. * mail-source.el (mail-source-value): Function needn't be a symbol. 2010-09-26 Lars Magne Ingebrigtsen * message.el (message-cite-prefix-regexp): Remove } from the cite prefix. * gnus-art.el (gnus-treatment-function-alist): Do picons before highlight again, so that the highlight is correct. * gnus-picon.el (gnus-picon): Remove again. (gnus-picon-create-glyph): Set the background XPM colour explicitly. * gnus-art.el (gnus-treatment-function-alist): Insert picons after doing the header highlightling, so that the background colour of the picon is correct. * gnus-picon.el (gnus-picon-xbm): Removed obsolete face. (gnus-picon): Ditto. (gnus-picon): Reinstate. The background colour for picons is white. (gnus-picon-insert-glyph): Make the background white. * nnml.el (nnml-open-nov): Don't return dead buffers. * auth-source.el (auth-source-create): Query the user for whether to store the credentials. * auth-source.el (auth-source-user-or-password): Use the existing auth sources, if any, for creation. * gnus.el (gnus-group-fast-parameter): Return the last matching parameter instead of the first matching parameter. 2010-09-26 Julien Danjou * gnus-sum.el (gnus-auto-center-group): Transform into a defcustom. 2010-09-26 Lars Magne Ingebrigtsen * mml2015.el (mml2015-use): Remove gpg support. * mml1991.el (mml1991-function-alist): Remove gpg function. (mml1991-gpg-sign): Removed. 2010-09-26 Andreas Seltenreich * gnus-srvr.el (gnus-browse-subscribe-newsgroup-method): New variable. (gnus-browse-unsubscribe-current-group): Document it. (gnus-browse-unsubscribe-group): Use it. 2010-09-26 Lars Magne Ingebrigtsen * gnus-group.el (gnus-read-ephemeral-bug-group): Add the bug email address to the To list for easier response. * gnus.el (gnus-play-startup-jingle): Removed. (gnus-splash): Don't play jingle. (gnus): Silence gnus-load message. * gnus-art.el (gnus-treat-play-sounds): Removed. * gnus.el (gnus-play-jingle): Remove audio support. * gnus-cus.el (gnus-score-customize): Remove audio reference. * earcon.el: Removed -- no users. * gnus-audio.el: Removed -- no users of this package. * gnus-sum.el (gnus-summary-limit-children): Remove nocem support. * gnus-start.el (gnus-setup-news): Remove nocem support. * gnus-group.el (gnus-group-get-new-news): Removed nocem call. * gnus.el (gnus-use-nocem): Removed. * gnus-demon.el (gnus-demon-add-nocem, gnus-demon-scan-nocem): Removed. * gnus-nocem.el (gnus-nocem-issuers): Removed file. Apparently nobody uses NoCeM any more. * gnus-art.el (gnus-ctan-url): Seems not very useful -- removed. (gnus-button-ctan-handler): Ditto. (gnus-button-handle-ctan-bogus-regexp): Ditto. (gnus-button-ctan-directory-regexp): Ditto. (gnus-button-handle-ctan): Ditto. (gnus-button-tex-level): Ditto. (gnus-button-alist): Removed CTAN stuff. 2010-09-25 Lars Magne Ingebrigtsen * nnimap.el (nnimap-wait-for-response): Reversed logic in the nnimap-streaming test. * gnus-start.el (gnus-get-unread-articles): Don't try to open failed servers twice. * nnimap.el (nnimap-open-connection): Add more error reporting when nnimap fails early. * nnheader.el (nnheader-get-report-string): New function. (nnheader-get-report): Use it. * gnus-int.el (gnus-check-server): Say what the error was when opening failed. * nnimap.el (nnimap-wait-for-response): Search further when we're not using streaming. 2010-09-25 Julien Danjou * gnus-html.el (gnus-html-rescale-image): Use our defalias gnus-window-inside-pixel-edges. 2010-09-25 Lars Magne Ingebrigtsen * gnus-srvr.el (gnus-server-copy-server): Add documentation. * mm-decode.el (mm-save-part): Allow saving to other directories the normal Emacs way. * nndoc.el (nndoc-type-alist): Move mime-parts after mbox. Suggested by Jay Berkenbilt. * gnus-art.el (gnus-mime-delete-part): Fix plural for "byte" when there isn't a single byte. * gnus-int.el (gnus-open-server): Don't query whether to go offline -- just do it. It doesn't really seem to matter what the user responds here, I think, so it's just a confusing question. * nnimap.el (nnimap-retrieve-group-data-early): Fix typo in the non-streaming case. * gnus-art.el (gnus-flush-original-article-buffer): Separated out. (gnus-article-encrypt-body): Use it. * gnus-sum.el (gnus-summary-show-complete-article): New command and keystroke. * nnimap.el (nnimap-find-wanted-parts-1): Use gnus-fetch-partial-articles. * gnus-art.el (gnus-fetch-partial-articles): New variable. * nnimap.el (nnimap-insert-partial-structure): New function. (nnimap-get-partial-article): New function. (nnimap-request-article): Use it. (nnimap-wait-for-response): Return whether the wait was successful. (nnimap-finish-retrieve-group-infos): Don't do anything if the retrieval wasn't successful. (nnimap-retrieve-group-data-early): Allow throttling servers. (nnimap-streaming): New variable. (nnimap-fetch-partial-articles): Removed. * mm-decode.el (mm-with-part): Protect against killed buffers. * nndraft.el (nndraft-retrieve-headers): Insert Lines and Chars headers for prettier summary display. 2010-09-25 Andrew Cohen (tiny change) * nnir.el (nnir-run-imap): Allow sending IMAP search patterns directly. 2010-09-25 Lars Magne Ingebrigtsen * gnus.el (gnus-local-domain): Put gnus-local-domain back again, since apparently third-party libraries depend on it. * nnimap.el (nnimap-open-connection): Wait for the response to STARTTLS before starting negotiation. * gnus-art.el (gnus-treat-from-gravatar): Change default to nil for privacy reasons. (gnus-treat-mail-gravatar): Ditto. * gnus-ems.el (gnus-put-image): Don't put any non-blank text into the buffer when inserting images. Inserting text into the headers, for instance, can make them invalid. 2010-09-25 Julien Danjou * rfc1843.el: Remove useless rfc1843-old-gnus-decode-header-function variables. * nnheader.el: Remove useless variables news-reply-yank-from and news-reply-yank-message-id. * mml2015.el: Remove useless mc-default-scheme and mc-schemes variables. * mml1991.el: Remove useless mml1991-verbose. * gnus.el: Remove useless variable gnus-use-generic-from. Remove obsolete variable gnus-topic-indentation. * gnus-uu.el: Remove useless gnus-uu-shar-file-name. * gnus-sum.el: Remove useless gnus-newsgroup-none-id. * gnus-picon.el: Remove useless gnus-picon-setup-p variable. * gnus-group.el: Remove useless gnus-group-icon-cache. Remove useless gnus-ephemeral-group-server. * gnus-bookmark.el: Remove useless gnus-bookmark-after-jump-hook. * mml2015.el: Remove useless mml2015-verbose. * mml-smime.el: Remove useless mml-smime-verbose. * gnus.el: Remove useless gnus-local-domain. * gnus-gravatar.el (gnus-gravatar-transform-address): Use gnus-gravatar-size. * gnus-art.el: Remove useless gnus-treat-translate. 2010-09-24 Julien Danjou * gnus-sum.el: Add support for Gravatars. * gnus-art.el: Add support for Gravatars. * gnus-gravatar.el: Add this file. * gravatar.el: Add this file. 2010-09-24 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-summary-fetch-faq): Removed. * gnus-group.el (gnus-group-fetch-faq): Removed. * gnus.el (gnus-group-faq-directory): Removed. * gnus-group.el (gnus-group-fetch-charter): Removed. * gnus.el (gnus-group-charter-alist): Removed. * gnus-group.el (gnus-group-archive-directory): Removed. (gnus-group-recent-archive-directory): Ditto. (gnus-group-make-archive-group): Removed. * nnimap.el (nnimap-update-info): Protect against nil uidnexts. * gnus-cache.el (gnus-cache-braid-heads): When braiding heads, don't use the same article number for all the cached articles. * nnimap.el (nnimap-command): Register the last command time so that we can use it for idling NOOPs. (nnimap-open-connection): Start the keeplive timer. (nnimap-make-process-buffer): Store all the process buffers. (nnimap-keepalive): New function. * starttls.el: (starttls-open-stream): Add autoload cookie. 2010-09-24 Michael Welsh Duggan (tiny change) * nnimap.el (nnimap-split-incoming-mail): Fix paren typo in the 'junk handling. 2010-09-24 Lars Magne Ingebrigtsen * nnrss.el (nnrss-retrieve-groups): Change to the group before checking its data structures. * gnus.el (gnus-sloppily-equal-method-parameters): Use copy-sequence instead of the cl.el copy-list. (gnus-sloppily-equal-method-parameters): Use equal instead of the cl equalp. 2010-09-24 Katsumi Yamaoka * gmm-utils.el (gmm-tool-bar-from-list): Always use tool-bar-local-item and tool-bar-local-item-from-menu. * gnus-agent.el (gnus-agent-make-mode-line-string): Always use mode-line-highlight face for Emacs. * gnus-art.el (toplevel): Don't bind recursive-load-depth-limit while loading gnus-sum.elc; fix comment for canlock-verify. (gnus-article-jump-to-part): Use read-number. (gnus-insert-mime-button, gnus-insert-mime-security-button): Remove Emacs pre-21 compatible code for help-echo. (gnus-article-next-page-1): No need to adjust the number of lines. (gnus-article-describe-bindings): Always use help-buffer. * gnus-audio.el (gnus-audio-inline-sound) * gnus-cus.el (gnus-custom-mode) * gnus-group.el (gnus-group-update-tool-bar): Comment fix. * gnus-sum.el (gnus-remove-overlays): Doc fix. * gnus-util.el (gnus-select-frame-set-input-focus): Remove Emacs 21 compatible code. 2010-09-24 Glenn Morris * message.el (message-output): Use gnus-output-to-rmail if a buffer is visiting the fcc file in rmail-mode. 2010-09-24 Katsumi Yamaoka * nnir.el: Silence the byte compiler. * gnus-html.el (gnus-html-encode-url-chars): New function, that's an alias to browse-url-url-encode-chars if any. (gnus-html-encode-url): Use it. 2010-09-23 Lars Magne Ingebrigtsen * gnus-start.el (gnus-use-backend-marks): New variable. (gnus-get-unread-articles-in-group): Use it. * gnus-sum.el (gnus-summary-local-variables): Prepare for list/range makeover. 2010-09-23 Andrew Cohen * nnimap.el (nnimap-retrieve-headers): Return 'headers. 2010-09-23 Lars Magne Ingebrigtsen * gnus-start.el (gnus-fixup-nnimap-unread-after-getting-new-news): Removed. (gnus-setup-news-hook): Removed gnus-fixup-nnimap-unread-after-getting-new-news. * gnus-int.el (gnus-request-update-info): Protect against backends not having the function. * nnimap.el (nnimap-stream): Mention starttls. (nnimap-open-connection): Add starttls support. 2010-09-23 Andrew Cohen * nnir.el (nnir-run-imap): Fix up nnir to work with the new nnimap. 2010-09-23 Lars Magne Ingebrigtsen * nnimap.el (nnimap-transform-headers): Don't bug out on invalid BODYSTRUCTUREs. (nnimap-transform-headers): Unfold quoted {42} headers. * gnus-start.el (gnus-get-unread-articles): Allow backends to update the info. (gnus-get-unread-articles): Only call updatep on backends that support it. * nnweb.el (nnweb-request-update-info): NOOP. * nnmaildir.el (nnmaildir-request-marks): Renamed from -update-info. * nnfolder.el (nnfolder-request-marks): Renamed from -update-info, since it only deals with marks. * gnus-int.el (gnus-request-marks): Renamed gnus-request-update-info to gnus-request-marks, and make a new gnus-request-update-info. * nnimap.el (nnimap-update-info): When UIDNEXT is present, use that for the active instead of the high number, which is usually too low. 2010-09-23 Teodor Zlatanov * encrypt.el: Removed. 2010-09-23 Lars Magne Ingebrigtsen * nnimap.el (nnimap-update-info): Sync non-standard flags from the server in symbolic form. * gnus-html.el (gnus-max-image-proportion): Increase proportion to 0.9. 2010-09-22 Lars Magne Ingebrigtsen * nnimap.el (nnimap-parse-flags): Parse the data in any order. (nnimap-update-info): Fix up code slightly. * gnus-int.el (gnus-open-server): Add tracing for performance debugging. * gnus-group.el (gnus-group-highlight-line): Typo fix: beg, not start. (gnus-group-insert-group-line): Pass the real group name so that it gets the right data. * gnus-start.el (gnus-get-unread-articles): Don't have `gnus-get-unread-articles-in-group' update info, since that can be really slow and doesn't seem to be needed? 2010-09-22 Julien Danjou * gnus-group.el (gnus-group-insert-group-line): Call gnus-group-highlight-line. (gnus-group-update-hook): Remove gnus-group-highlight-line from the default hook list. (gnus-group-update-eval-form): Add new function. (gnus-group-highlight-line): Use gnus-group-update-eval-form. (gnus-group-get-icon): Use gnus-group-update-eval-form. 2010-09-22 Lars Magne Ingebrigtsen * nnimap.el (nnimap-request-expire-articles): If nnmail-expiry-wait is immediate, then expire all articles. (nnimap-update-info): Fix off-by-one errors. (nnimap-flags-to-marks): Would return no marks lists for group with no flags. Instead return the other data. 2010-09-22 Julien Danjou * gnus-group.el (gnus-group-get-icon): Renamed gnus-group-add-icon that Only return an icon. (gnus-group-insert-group-line): Compute icon to return. * gnus-html.el (gnus-html-image-automatic-caching): Add custom variable. (gnus-html-image-fetched): Only cache if gnus-html-image-automatic-caching is set. (gnus-html-image-fetched): Check for errors. 2010-09-22 Lars Magne Ingebrigtsen * gnus-start.el (gnus-read-active-for-groups): Only run -request-scan once per method on `g'. This ensures that backends like nnfolder don't open all their folders. * nnimap.el (nnimap-split-incoming-mail): Delete 'junk. (nnimap-request-list): Nix out group in the correct buffer. (nnimap-parse-flags): Implement by using `read' instead of hand-parsing. (nnimap-flags-to-marks): Pass on permanent-flags. (nnimap-make-process-buffer): Record the server name. (nnimap-parse-flags): Fix typo. (nnimap-request-scan): Run split on the server in general, not just a single group. * nnmail.el (nnmail-split-incoming): Take an optional junk-func parameter, and propagate this downwards. * nnimap.el (nnimap-request-list): Set the current nnimap group to nil, since EXAMINE changes it on the server. * gnus-int.el (gnus-request-expire-articles): Inhibit the daemon, since this command might take a while. 2010-09-22 Julien Danjou * gnus-html.el (gnus-html-put-image): Stop using markers. They are harmful if you have 2 images side-by-side, they can't be properly update on text deletion. Using text-property is safer here. (gnus-html-image-fetched): Search also for \r\n\r\n to get the start of data. 2010-09-22 Lars Magne Ingebrigtsen * nnimap.el (nnimap-expunge-inbox): Removed. (nnimap-mark-and-expunge-incoming): Use nnimap-expunge instead. (nnimap-expunge): Flip default to t. * gnus.el (gnus-method-to-server): Don't push things to the cache unless it's unique. (gnus-server-to-method): Ditto. 2010-09-22 Teodor Zlatanov * nnimap.el (nnimap-delete-article): Tell user if expunge won't happen. 2010-09-22 Julien Danjou * gnus-html.el (gnus-html-get-image-data): Search also for \r\n\r\n to get the start of data. (gnus-html-encode-url): Add this function to encode special chars in URL. (gnus-html-wash-images): Use gnus-html-encode-url to encode URL. (gnus-html-prefetch-images): Use gnus-html-encode-url to encode URL. * gnus-group.el (gnus-group-update-hook): Call gnus-group-add-icon by default. (gnus-group-add-icon): Move to gnus-group.el, and rewrite so it works. * gnus-html.el (gnus-html-wash-images): Use xml-substitute-special on images alt-text. (gnus-html-put-image): Put alt-text as help-echo. 2010-09-22 Katsumi Yamaoka * mailcap.el (mailcap-parse-mailcap, mailcap-parse-mimetypes) * mm-util.el (mm-decompress-buffer) * nnir.el (nnir-run-find-grep) * pop3.el (pop3-list): Use 3rd arg of split-string. 2010-09-21 Lars Magne Ingebrigtsen * gnus-sum.el (gnus-update-marks): Add sanity check to not delete marks outside the active range. Suggested by Dan Christensen. * gnus-start.el (gnus-get-unread-articles): Get the extended method slightly later to avoid double-getting it. * nnml.el (nnml-generate-nov-file): Fix variable name clobbering from previous patch. * gnus-sum.el (gnus-adjust-marked-articles): Fix another typo. 2010-09-21 Adam Sjøgren * gnus-sum.el (gnus-adjust-marked-articles): Fix typo. 2010-09-21 Lars Magne Ingebrigtsen * gnus-int.el (gnus-open-server): Give a better error message in the "go offline" case. * gnus-sum.el (gnus-adjust-marked-articles): Hack to avoid adjusting marks for nnimap, which is seldom the right thing to do. * gnus.el (gnus-sloppily-equal-method-parameters): Refactor out. (gnus-same-method-different-name): New function. * nnimap.el (parse-time): Require. * gnus-start.el (gnus-get-unread-articles): Fix the prefixed select method in the presence of many similar methods. * nnmail.el (nnmail-expired-article-p): Fix typo: time-subtract. * nnimap.el (nnimap-find-expired-articles): Don't refer to nnml-inhibit-expiry. * gnus-sum.el (gnus-summary-move-article): Use gnus-server-equal to find out whether methods are equal. * nnimap.el (nnimap-find-expired-articles): New function. (nnimap-process-expiry-targets): New function. (nnimap-request-move-article): Request the article before looking at what the Message-ID is. Fix found by Andrew Cohen. (nnimap-mark-and-expunge-incoming): Wait for the last sequence. * nnmail.el (nnmail-expired-article-p): Allow returning the cutoff time for oldness in addition to being a predicate. * nnimap.el (nnimap-request-group): When we have zero articles, return the right data to Gnus. (nnimap-request-expire-articles): Only delete articles immediately if the target is 'delete. * gnus-sum.el (gnus-summary-move-article): When respooling to the same method, this would bug out. * gnus-group.el (gnus-group-expunge-group): Renamed from gnus-group-nnimap-expunge, and implemented as a normal interface function. * gnus-int.el (gnus-request-expunge-group): New function. * nnimap.el (nnimap-request-create-group): Implement. (nnimap-request-expunge-group): New function. 2010-09-21 Julien Danjou * gnus-html.el (gnus-html-image-cache-ttl): Add new variable. (gnus-html-cache-expired): Add new function. (gnus-html-wash-images): Use `gnus-html-cache-expired' to check wethever we should display image for fetch it. Compute alt-text earlier to pass it to the fetching function too. (gnus-html-schedule-image-fetching): Change function argument to only get one image at a time, not a list. (gnus-html-image-fetched): Use `url-store-in-cache' to store image in cache. (gnus-html-get-image-data): New function to retrieve image data from cache. (gnus-html-put-image): Change buffer argument to use image data rather than file, and place image above region rather than inserting a new one. Do not take alt-text as argument, since it's useless now: we place the image above alt-text. (gnus-html-prune-cache): Remove. (gnus-html-show-images): Start to fetch image when we find one, do not push into a temporary list. (gnus-html-prefetch-images): Only fetch image if they have expired. (gnus-html-browse-image): Fix, use 'gnus-image-url. (gnus-html-image-map): Add "v" to browse-url on undisplayed image. 2010-09-20 Katsumi Yamaoka * rfc2047.el (rfc2047-encode-parameter): Doc fix. 2010-09-20 Lars Magne Ingebrigtsen * gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen) spec inser "*" if the group isn't active instead of 0. * nnimap.el (nnimap-request-group): Don't select the imap buffer before opening the server. (nnimap-request-delete-group): Implement group deletion. (nnimap-transform-headers): Return the size of the entire message in the Bytes header, not just the size of the first part. (nnimap-request-move-article): When moving an article from nnimap, request the article first so the accepting form has an article to accept. Reported by Dan Christensen. (nnimap-command): Make sure that the error message doesn't error out. 2010-09-20 David Edmondson (tiny change) * nnimap.el (nnimap-request-set-mark): Don't wait for a response when we haven't requested anything. 2010-09-20 Lars Magne Ingebrigtsen * nnimap.el (nnimap-fetch-inbox): Use "[]" as the parameter instead of "". Fix found by Andrew Cohen. * mail-parse.el (mail-header-encode-parameter): Use -encode-parameter instead of -encode-string. 2010-09-20 Katsumi Yamaoka * gnus-html.el (gnus-html-image-fetched): Pass arg to kill-buffer. * gnus-sum.el (gnus-summary-update-mark): Replace subst-char-in-string by mm-subst-char-in-string. 2010-09-19 Lars Magne Ingebrigtsen * nnimap.el (nnimap-wait-for-connection): Avoid a race condition while waiting for the connection string. * gnus-html.el (gnus-html-image-fetched): Protect against the data not arriving. * gnus-start.el (gnus-ignored-newsgroups): Remove [] from the list of bogus characters. This allows selecting certain Gmail groups. * nnimap.el (nnimap-find-wanted-parts-1): New function. (nnimap-fetch-partial-articles): New variable. (nnimap-open-connection): When looking for credentials, also use the nnimap-server-port. (nnimap-request-article): Return the group/article number, so that Gnus `^' works as expected. (nnimap-find-wanted-parts-1): Return the MIME parts as IMAP wants them. * gnus.el (gnus-similar-server-opened): Refactor a bit and add comments. (gnus-methods-sloppily-equal): New function. (gnus): When using the development version of Gnus, load the gnus-load file. * gnus-start.el (gnus-get-unread-articles): Make sure that we call `gnus-open-server' on each method before trying to scan them etc. This ensures that all the backend parameters are set correctly. * nnimap.el (nnimap-authenticator): New variable. (nnimap-open-connection): Allow anonymous login. (nnimap-transform-headers): The chars header is called Chars not Bytes. (nnimap-wait-for-response): Don't infloop if the IMAP connection drops. * gnus-art.el (gnus-article-describe-briefly): Fix up typo in last patch, found by Knut Anders Hatlen. 2010-09-19 Andreas Schwab * gnus-agent.el (gnus-agent-batch-confirmation) (gnus-agent-expire-group, gnus-agent-expire): Pass proper format string to gnus-message. * gnus-art.el (gnus-article-describe-briefly): Likewise. * gnus-group.el (gnus-group-list-groups, gnus-group-describe-group) (gnus-group-edit-global-kill, gnus-group-describe-briefly): Likewise. * gnus-int.el (gnus-open-server): Likewise. * gnus-score.el (gnus-score-edit-current-scores, gnus-score-edit-file) (gnus-score-check-syntax): Likewise. * gnus-srvr.el (gnus-browse-describe-briefly): Likewise. * gnus-start.el (gnus-read-active-file-1, gnus-read-active-file-1): Likewise. * gnus-sum.el (gnus-summary-describe-briefly): Likewise. 2010-09-19 Lars Magne Ingebrigtsen * gnus-html.el (gnus-html-prefetch-images): Fix up the url-retrieve calling conventions so that prefetch doesn't bug out. 2010-09-19 Julien Danjou * gnus-sum.el (gnus-summary-update-mark): Use `subst-char-in-string' rather than `subst-char-in-region' in order to be able to replace ASCII char by UTF-8 ones. * gnus-html.el (gnus-html-prefetch-images): Use `url-retrieve' rather than curl. (gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting the right URL and ALT text on images. (gnus-html-wash-tags): Fix tag case. Add support for `s' and `ins' tags. Use gnus-emphasis-* faces. (gnus-article-html): Add -o display_ins_del=2 option. (gnus-html-wash-tags): Add better support for