2010-10-19 Lars Magne Ingebrigtsen * shr.el (shr-find-fill-point): Don't leave blanks at the start of some lines. * nndoc.el (nndoc-type-alist): Add git support. (nndoc-git-type-p): New function. (nndoc-transform-git-article): Ditto. (nndoc-transform-git-headers): Ditto. (nndoc-transform-git-headers): Generate Subject headers. * shr.el (shr-parse-style): New function. (shr-tag-span): Ditto. * nnmairix.el (nnmairix-summary-mode-hook): Move nnmairix's `$' command to `G G' to avoid collisions. 2010-10-19 Katsumi Yamaoka * shr.el: Load kinsoku if necessary. (shr-kinsoku-shorten): New internal variable. (shr-find-fill-point): Make kinsoku shorten text line if shr-kinsoku-shorten is bound to non-nil. (shr-tag-table): Bild shr-kinsoku-shorten to t; refer to shr-indentation too when testing if table is wider than frame width. (shr-insert-table): Use `string-width' instead of `length' to measure text width. (shr-insert-table-ruler): Make sure indentation is done at bol. 2010-10-19 Stefan Monnier * nnimap.el (nnimap-request-move-article, nnimap-parse-line) (nnimap-process-expiry-targets): Use unibyte for buffers that hold undecoded network data. 2010-10-18 Lars Magne Ingebrigtsen * gnus-agent.el (gnus-agent-toggle-plugged): Use the right minor mode name in the mode line spec so that the mode line menu works (bug #2431). * message.el (message-get-reply-headers): If we're fed `to-address', then always use that. * gnus-art.el (gnus-article-make-menu-bar): The article/group menus aren't so wide as to need to switch off the edit menu. * gnus-delay.el (gnus-delay-article): Remove superfluous `group' binding. Suggested by Leo (bug #6613). * nnimap.el (nnimap-request-group): Don't SELECT the group twice on `M-g'. (nnimap-update-info): Update flags/read marks even if \* isn't part of the permanent marks. 2010-10-18 Andrew Cohen * gnus-registry.el (gnus-registry-split-fancy-with-parent): Splitting according to references/in-reply-to obeys the ignore-groups variable, while splitting by sender and subject do not. 2010-10-18 Lars Magne Ingebrigtsen * gnus-art.el (gnus-article-dumbquotes-map): Make into a char/string alist, so that we can look for non-Unicode chars. (article-translate-strings): Allow both character and string maps. 2010-10-18 Katsumi Yamaoka * shr.el (shr-insert): Don't insert space behind a wide character categorized as kinsoku-bol, or between characters both categorized as nospace. 2010-10-16 Andrew Cohen * gnus-sum.el (gnus-summary-refer-thread): Bug fix. Add the thread headers to gnus-newsgroup-headers. 2010-10-16 Lars Magne Ingebrigtsen * shr.el (shr-tag-img): Don't align images -- since we're not rescaling, this often leads to ugly displays. 2010-10-15 Andrew Cohen * gnus-sum.el (gnus-summary-refer-thread): Unconditionally ignore duplicates. 2010-10-15 Kan-Ru Chen (tiny change) * gnus-diary.el (gnus-diary-check-message): Fix gnus-completing-read call. 2010-10-15 Lars Magne Ingebrigtsen * gnus.el: Autoload gnus-html-show-images. * nnimap.el: Use nnheader-message throughout. * shr.el (shr-tag-img): Ignore images with no data. 2010-10-15 Julien Danjou * mml.el (mml-generate-mime-1): Add `mml-enable-flow' variable to add a possibility to disable format=flow encoding when using hard newlines. 2010-10-15 Katsumi Yamaoka * shr.el (shr-insert): Remove space inserted before or after a breakable character or at the beginning or the end of a line. (shr-find-fill-point): Do kinsoku; find the second best point or give it up if there's no breakable point. 2010-10-14 Lars Magne Ingebrigtsen * nnimap.el (nnimap-open-connection): Message when opening connection for debugging purposes. * gnus-art.el (gnus-article-setup-buffer): Set article mode truncation on every setup buffer call to allow this to change from article to article. * shr.el (shr-tag-table): Experimental feature: Truncate lines in buffers where we have a wide table. 2010-10-14 Andrew Cohen * gnus-sum.el (gnus-summary-refer-thread): Implement a version that uses *-request-thread. 2010-10-14 Lars Magne Ingebrigtsen * nnimap.el (nnimap-open-connection): Remove %s from openssl incantation, which is no longer valid. 2010-10-14 Julien Danjou * shr.el: Fix defcustom type (char -> character). 2010-10-14 Lars Magne Ingebrigtsen * nnimap.el (nnimap-open-connection): tls-program should be a list of programs. 2010-10-14 Julien Danjou * shr.el (shr-tag-a): Use url-link as widget type. * gnus-group.el (gnus-group-insert-group-line): Fix group argument to `gnus-group-get-icon'. 2010-10-13 Lars Magne Ingebrigtsen * nnimap.el (nnimap-close-server): Forget the nnimap data on close. This should make server editing work better. * shr.el (shr-find-fill-point): Don't inloop on indented text. * tls.el (tls-program): Remove spurious %s from openssl. * nnimap.el (nnimap-open-connection): Fix open-tls-stream call. (nnimap-parse-flags): Fix regexp. * shr.el (shr-find-fill-point): Use a filling algorithm that should probably work for CJVK text, too. * nnimap.el (nnimap-extend-tls-programs): Removed. (nnimap-open-connection): Bind STARTTLS to openssl explicitly. * tls.el (tls-starttls-switches): Remove starttls hack. (open-tls-stream): Ditto. (tls-find-starttls-argument): Ditto. 2010-10-13 Julien Danjou * nnimap.el (nnimap-parse-flags): Be more strict when looking for FETCH responses. 2010-10-13 Lars Magne Ingebrigtsen * mm-decode.el (mm-shr): Allow use from non-Gnus users. * gnus-spec.el (gnus-parse-simple-format): princ doesn't really insert anything in Emacs. * shr.el (shr-current-column): Remove buggy and unnecessary function. 2010-10-13 Julien Danjou * shr.el (shr-width): Make shr-width a defcustom with default to fill-column. (shr-tag-img): Use shr-width rather than fill-column. 2010-10-13 Katsumi Yamaoka * dgnushack.el (byte-optimize-apply) * gnus-dired.el (gnus-dired-attach): Silence XEmacs 21.5 when compiling. * gnus-gravatar.el (gnus-gravatar-transform-address): Adjust avatars' position when (X-)Faces exist. (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Force displaying avatars when called interactively. 2010-10-12 Katsumi Yamaoka * gnus-gravatar.el (gnus-gravatar-too-ugly): Don't test if gnus-article-x-face-too-ugly is bound. 2010-10-12 Lars Magne Ingebrigtsen * rfc2231.el (rfc2231-parse-string): Ignore repeated parts. * nnimap.el (nnimap-request-rename-group): Unselect by selecting a mailbox that doesn't exist. 2010-10-12 Julien Danjou * shr.el (shr-tag-img): Encode URL properly when retrieving. (shr-get-image-data): Encode URL properly when fetching from cache. (shr-tag-img): Use aligned-to spaces to align correctly images. * gnus-gravatar.el (gnus-gravatar-insert): Check if buffer is alive before inserting the Gravatar. * shr.el (shr-tag-img): Add align attribute support for . 2010-10-12 Lars Magne Ingebrigtsen * gnus-gravatar.el (gnus-art): Required. * gnus-sum.el (gnus-summary-mark-as-unread-forward) (gnus-summary-mark-as-unread-backward, gnus-summary-mark-as-unread): Remove long obsoleted functions. 2010-10-11 Katsumi Yamaoka * lpath.el: Fbind gnutls-negotiate for Emacs 22 and XEmacsen. * nnimap.el (gnutls-negotiate): Silence the byte compiler. * gnus-art.el, gnus-cache.el, gnus-fun.el, gnus-group.el, gnus-picon.el, gnus-spec.el, gnus-sum.el, gnus-util.el, gnus.el, hashcash.el, imap.el, mail-source.el, message.el, mm-bodies.el, mm-decode.el, mm-extern.el, mm-util.el, mm-view.el, mml-smime.el, mml.el, mml1991.el, mml2015.el, nnfolder.el, nnheader.el, nnmail.el, nnmaildir.el, nnrss.el, nntp.el, pgg-parse.el, pgg.el, rfc1843.el, sieve-manage.el, smime.el, spam.el: Fix comment for declare-function. 2010-10-11 Lars Magne Ingebrigtsen * nnimap.el (nnimap-request-rename-group): Select group read-only before renaming it. * shr.el (shr-insert): Fix up the white space only regexp. * nnimap.el (nnimap-transform-split-mail): Not all articles have bodies. Protect against this. Reported by Michael Welsh Duggan. * shr.el (shr-current-column): New function. (shr-find-fill-point): New function. 2010-10-11 Michael Welsh Duggan (tiny change) * sieve-manage.el (sieve-manage-open): Allow port names as well as port numbers. 2010-10-11 Julien Danjou * shr.el (shr-hr-line): Add. (shr-tag-hr): Use shr-hr-line to specify which character to use to display hr lines. (shr-max-columns): Do not change state to nil if we just inserting spaces. 2010-10-11 Lars Magne Ingebrigtsen * gnus-topic.el (gnus-topic-read-group): If after the last group, select the last group. 2010-10-11 Teodor Zlatanov * gnus-int.el (gnus-run-hook-with-args): Autoload from gnus-util.el. 2010-10-10 Dan Nicolaescu * dig.el (dig-mode-map): Declare and define in one step. 2010-10-10 Lars Magne Ingebrigtsen * nnimap.el (nnimap-update-qresync-info): \Flagged messages are read for Gnus. (nnimap-retrieve-group-data-early): utf7-encode the group parameters. (nnimap-update-qresync-info): Mark \Seen articles as read. * gnus-sum.el (gnus-summary-set-local-parameters): Ignore the `active' non-variable, too. * nnimap.el (nnimap-open-connection): Use gnutls STARTTLS, if available. (nnimap-update-info): Rely more on the current active than the param active to avoid marking articles as read too much. * auth-source.el (auth-source-create): Use (user-login-name) for the user name default. * nnimap.el (nnimap-update-info): If the server doesn't return any useful info, just use the previous info. (nnimap-update-info): Prefer old info over start-article. (nnimap-update-qresync-info): Finish implementing QRESYNC. 2010-10-10 Andrew Cohen * nnir.el (autoload): Clean up autoloads. (nnir-imap-default-search-key): Renamed from nnir-imap-search-field. Use key rather than value. (nnir-imap-search-other): New variable. (nnir-read-parm): Use it. (nnir-imap-expr-to-imap): Use %S rather than imap-quote-specials. (gnus-summary-nnir-goto-thread): Modify to work with imap. 2010-10-10 Stefan Monnier * nnimap.el (nnimap-wait-for-response): If the user hits `C-g', kill the process, too. 2010-10-09 Lars Magne Ingebrigtsen * spam.el (gnus-summary-mode-map): Bind to "$". Suggested by Russ Allbery. * shr.el: Rework the way things are indented by
  • slightly. * gnus.el (gnus-group-set-parameter): Fix typo. * nnimap.el: Start implementing QRESYNC support. 2010-10-09 Julien Danjou * nnir.el (nnir-engines): Fix too many arguments. 2010-10-09 Lars Magne Ingebrigtsen * nnmail.el (nnmail-expiry-target-group): Say that every expiry target group is the "last", so that the backends like nnfolder actually save their folders. * nnimap.el (nnimap-open-connection): If we have gnutls loaded, then try to use that for the tls stream. (nnimap-retrieve-group-data-early): Rework the marks code to heed UIDVALIDITY and find out which groups are read-only and not. (nnimap-get-flags): Use the same marks parsing code as the rest of nnimap. 2010-10-09 Julien Danjou * nnir.el (nnir-read-parm): Fix call to gnus-completing-read. * gnus-gravatar.el (gnus-gravatar-transform-address): Error errors when retrieving gravatars. * shr.el (shr-table-corner): Add. (shr-table-line): Add. (shr-insert-table-ruler): Use the above defcustoms to insert tables. 2010-10-08 Julien Danjou * mm-decode.el (mm-text-html-renderer): Add mm-shr in choice list. 2010-10-08 Teodor Zlatanov * gnus-util.el (gnus-alist-pull): Rename `gnus-pull'. * gnus-sum.el (gnus-mark-article-as-unread) (gnus-summary-mark-article-as-unread, gnus-summary-remove-bookmark) (gnus-summary-set-bookmark): Use it. * gnus-msg.el (gnus-setup-message): Use it. * gnus-demon.el (gnus-demon-remove-handler): Use it. * gnus.el (gnus-group-remove-parameter): Use it. * gnus-group.el (gnus-group-make-web-group): Use it. * gnus-demon.el (gnus-demon-remove-handler): Use it. * nnregistry.el: Update docs to mention manual. * gnus-registry.el: Update docs to mention nnregistry.el. (gnus-registry-initialize): Don't install nnregistry refer method automatically. (gnus-registry-install-nnregistry): Remove it. 2010-10-08 Lars Magne Ingebrigtsen * shr.el (shr-insert): Don't insert double spaces. 2010-10-08 Katsumi Yamaoka * gnus-gravatar.el (gnus-treat-from-gravatar) (gnus-treat-mail-gravatar): Bind gnus-gravatar-too-ugly to nil when called interactively. * gnus-art.el (gnus-mime-view-part-externally) (gnus-mime-view-part-internally): Make predicate function passed to gnus-mime-view-part-as-type assume argument is a mime type, not a list of a mime type. * shr.el (shr-table-widths): Don't use cl function `reduce'. 2010-10-07 Lars Magne Ingebrigtsen * shr.el (require): Require cl when compiling. (shr-tag-hr): New function. * nnimap.el (nnimap-update-info): Remove double setting of high. (nnimap-update-info): Don't ignore groups that have no UIDNEXT. This makes nnimap work properly on Courier again. * gnus.el (gnus-carpal): The carpal mode has been removed, but define the variable for backwards compatability. * mm-decode.el (mm-save-part): If given a non-directory result, expand the file name before using to avoid setting mm-default-directory to nil. * gnus-start.el (gnus-get-unread-articles): Require gnus-agent before bidning gnus-agent variables. * shr.el (shr-render-td): Use a cache for the table rendering function to avoid getting an exponential rendering behaviour in nested tables. (shr-insert): Rework the line-breaking algorithm. (shr-insert): Don't leave trailing spaces. (shr-insert-table): Also insert empty TDs. (shr-tag-blockquote): Ensure paragraphs after . 2010-10-07 Stefan Monnier * gnus-sum.el (gnus-number): Rename from `number'. (gnus-article-marked-p, gnus-summary-limit-to-display-predicate) (gnus-summary-limit-children): Update uses correspondingly. 2010-10-07 Katsumi Yamaoka * gnus-gravatar.el (gnus-gravatar-too-ugly): New user option. (gnus-gravatar-transform-address): Don't show avatars of people of which mail addresses match gnus-gravatar-too-ugly. 2010-10-07 Lars Magne Ingebrigtsen * shr.el (shr-table-widths): Expand TD elements to fill available space. 2010-10-07 Julien Danjou * nnimap.el (nnimap-request-rename-group): Add this method. 2010-10-07 Katsumi Yamaoka * gnus-html.el (gnus-html-schedule-image-fetching): Remove function name from XEmacs' function-arglist. * gnus-gravatar.el (gnus-gravatar-insert): Don't add properties to gravatar under XEmacs. 2010-10-07 Teodor Zlatanov * auth-source.el: Update docs with TODO items. * gnus-sync.el: Update docs to explain state and plans. * gnus-int.el (gnus-after-set-mark-hook, gnus-before-update-mark-hook): Hooks for mark updates. (gnus-request-set-mark, gnus-request-update-mark): Use them. * gnus-util.el (gnus-run-hooks-with-args): Convenience function to run hooks with arguments, which is needed for mark update hooks. 2010-10-06 Julien Danjou * gnus.el (gnus-expand-group-parameter): Only return and act on what was matched. * sieve-manage.el: Update example in `Commentary'. * sieve.el (sieve-open-server): Use sieve-manage-authenticate. * sieve-manage.el (sieve-manage-open): Use sieve-manage-default-port, not 2000. (sieve-manage-authenticate): Re-add function. 2010-10-06 Lars Magne Ingebrigtsen * shr.el (shr-insert): Get 'space transition right. (shr-render-td): Only delete space at the end of the TD. * nnimap.el (nnimap-open-connection): Prepare to support open-gnutls-stream. * shr.el: Rearrange function order to be more logical. 2010-10-06 Julien Danjou * nnrss.el (nnrss-check-group): Remove 404 URL in comment. (nnrss-discover-feed): Remove 404 URL in docstring. * nnir.el: Fix Swish-E URL. Fix Namazu URL. * message.el (message-change-subject): Remove 404 URL in a comment. 2010-10-06 Katsumi Yamaoka * gnus-art.el (gnus-mime-view-part-as-type): Make it work when being called interactively. * gnus-util.el (gnus-remove-if): Allow hash table. (gnus-remove-if-not): New function. * gnus-art.el (gnus-mime-view-part-as-type) * gnus-score.el (gnus-summary-score-effect) * gnus-sum.el (gnus-read-move-group-name): Replace remove-if-not with gnus-remove-if-not. * gnus-group.el (gnus-group-completing-read): Regard collection as a hash table if it is not a list. 2010-10-05 Lars Magne Ingebrigtsen * shr.el (shr-render-td): Allow blank/missing s. * shr.el: Document the table-rendering algorithm. 2010-10-05 Katsumi Yamaoka * dgnushack.el (dgnushack-compile): Exclude shr.el from being compiled for Emacsen having no `libxml-parse-html-region' support. 2010-10-05 Lars Magne Ingebrigtsen * gnus-html.el (gnus-html-schedule-image-fetching): Protect against invalid URLs. * shr.el (shr-tag-img): Shorten ALT texts and allow them to be line-broken. (shr-tag-img): Ignore image fetching errors. (shr-overlays-in-region): Compute overlay positions correctly. * mm-decode.el (mm-shr): Require shr. * gnus-art.el (gnus-blocked-images): Move variable here. * shr.el (shr-insert-table): Bind free variable. * mm-decode.el (mm-shr): Bind shr-content-function. * shr.el (shr-content-function): New variable. * gnus-sum.el (gnus-article-sort-by-most-recent-date): New function, added for symmetry. * nnir.el (nnir-retrieve-headers): Don't bug out on invalid data. * gnus-group.el (gnus-group-make-group): Doc fix. * nnimap.el (nnimap-request-newgroups): Return success. * shr.el (shr-find-elements): New function. (shr-tag-table): Put all the images after the table. (shr-tag-table): Really inhibit images inside the table. (shr-collect-overlays): Copy over overlays from the TD elements to the main document. * mm-decode.el (mm-shr): Bind shr-blocked-images to gnus-blocked-images. 2010-10-05 Julien Danjou * sieve-manage.el (sieve-sasl-auth): Use auth-source to authenticate. * gnus-html.el (gnus-html-wash-images): Rescale image from cid too. (gnus-html-maximum-image-size): Add this function. (gnus-html-put-image): Use gnus-html-maximum-image-size. * sieve-manage.el (sieve-manage-capability): Do not bug out when the server-value of the capability is nil. 2010-10-05 Lars Magne Ingebrigtsen * shr.el (shr-tag-em): Add tag. 2010-10-05 Florian Ragwitz (tiny change) * sieve-manage.el (sieve-manage-default-stream): Make default stream customizable. * gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid handing broken links to browse-url. 2010-10-05 Julien Danjou * gnus-util.el (gnus-emacs-completing-read) (gnus-iswitchb-completing-read): Use autoload rather than require. 2010-10-05 Katsumi Yamaoka * lpath.el: Fbind libxml-parse-html-region and shr-insert-document for Emacs 22 and XEmacs; fbind help-function-arglist for XEmacs 21.4 and SXEmacs; fbind ido-completing-read, and bind iswitchb-mode and iswitchb-temp-buflist for XEmacs. * gnus-util.el (gnus-completing-read-function): Exclude gnus-icompleting-read and gnus-ido-completing-read from candidates for XEmacs since iswitchb.el is very old and ido.el is unavailable in XEmacs. * gnus-registry.el (gnus-registry-install-nnregistry): Rewrite so as not to use `delete-dups' that is unavailable in XEmacs 21.4. * gnus-html.el: Don't require help-fns under XEmacs. (gnus-html-schedule-image-fetching): Work for XEmacs. * mm-decode.el (mm-shr): Decode contents by charset. 2010-10-04 Lars Magne Ingebrigtsen * nnimap.el (nnimap-open-connection): Give an error if nnimap-stream is unknown. * shr.el (shr-tag-blockquote): Ensure paragraph after quote, too. (shr-get-image-data): Ensure against the cache file missing. * nnimap.el (nnimap-finish-retrieve-group-infos): Message while waiting for data. * spam-report.el (spam-report-url-ping-plain): Don't query about killing the process. * shr.el (shr-render-td): Protect against too-wide text. 2010-10-04 Julien Danjou * mml-smime.el (mml-smime-openssl-encrypt-query): Fix choices. (mml-smime-openssl-sign-query): Fix gnus-completing-read call. * gravatar.el (gravatar-retrieved): Kill buffer when gravatar has been retrieved. 2010-10-04 Lars Magne Ingebrigtsen * shr.el (browse-url): Required. (shr-ensure-paragraph): Don't insert a new newline after empty-ish lines. (shr-show-alt-text, shr-browse-image): New commands. (shr-browse-url, shr-copy-url): New commands. * gnus-sum.el (gnus-widen-article-window): New variable. (gnus-summary-select-article-buffer): Use it. * message.el (message-idna-to-ascii-rhs-1): Don't bug out on addresses without @ signs. 2010-10-04 Michael Welsh Duggan (tiny change) * nnir.el (nnir-run-imap): Remove spurious space in search string. 2010-10-04 Julien Danjou * gnus-util.el (gnus-emacs-completing-read): Mapcar collection to list, for XEmacs. 2010-10-04 Lars Magne Ingebrigtsen * gnus-salt.el: Remove all gnus-carpal stuff -- it's not useful. * nnimap.el (nnimap-open-connection): Allow tls as a synonym for ssl. (nnimap-close-server): Implement. * dgnushack.el (iswitchb): Require to shut up the compiler. * shr.el (shr-ensure-paragraph): Fix the non-empty line case. (shr-insert): Tweak line breaking. (shr-insert): Handle
     better.
    	(shr-tag-li): Get 
  • indentation right. (shr-tag-li): Get
  • indentation even righter. (shr-tag-blockquote): Ensure paragraph start. (shr-make-table): Tweak table generation. (shr-make-table): Fix typo. * shr.el: Implement table rendering. 2010-10-04 Julien Danjou * gnus-html.el (gnus-html-put-image): Fix resize image code. 2010-10-04 Lars Magne Ingebrigtsen * shr.el (shr-insert): Use string anchors instead of line anchors. 2010-10-03 Lars Magne Ingebrigtsen * shr.el: Add headings. (shr-ensure-paragraph): Actually work. (shr-tag-li): Make