# HG changeset patch # User Katsumi Yamaoka # Date 1283613875 0 # Node ID 0d6f1624cdf75f70c2a3fb96ea7cd069f54787d4 # Parent 6d74afef6e68816e08dfd7c0f16b64314216d97b (gnus-article-copy-string): Say what data we copied; (gnus-html-wash-tags): Remove even more white space around ; (gnus-agent-load-alist): Check whether the agentview files exist before trying to read them. diff -r 6d74afef6e68 -r 0d6f1624cdf7 lisp/gnus/ChangeLog --- a/lisp/gnus/ChangeLog Sat Sep 04 18:16:08 2010 +0300 +++ b/lisp/gnus/ChangeLog Sat Sep 04 15:24:35 2010 +0000 @@ -1,5 +1,13 @@ 2010-09-04 Lars Magne Ingebrigtsen + * gnus-agent.el (gnus-agent-load-alist): Check whether the agentview + files exist before trying to read them. + + * gnus-html.el (gnus-html-wash-tags): Remove even more white space + around . + + * gnus-art.el (gnus-article-copy-string): Say what data we copied. + * nnmh.el (nnmh-request-list-1): Optimize for speed. 2010-09-03 Lars Magne Ingebrigtsen diff -r 6d74afef6e68 -r 0d6f1624cdf7 lisp/gnus/gnus-agent.el --- a/lisp/gnus/gnus-agent.el Sat Sep 04 18:16:08 2010 +0300 +++ b/lisp/gnus/gnus-agent.el Sat Sep 04 15:24:35 2010 +0000 @@ -2108,13 +2108,15 @@ (defun gnus-agent-load-alist (group) "Load the article-state alist for GROUP." ;; Bind free variable that's used in `gnus-agent-read-agentview'. - (let ((gnus-agent-read-agentview group) - (file-name-coding-system nnmail-pathname-coding-system)) - (setq gnus-agent-article-alist - (gnus-cache-file-contents - (gnus-agent-article-name ".agentview" group) - 'gnus-agent-file-loading-cache - 'gnus-agent-read-agentview)))) + (let* ((gnus-agent-read-agentview group) + (file-name-coding-system nnmail-pathname-coding-system) + (agentview (gnus-agent-article-name ".agentview" group))) + (when (file-exists-p agentview) + (setq gnus-agent-article-alist + (gnus-cache-file-contents + agentview + 'gnus-agent-file-loading-cache + 'gnus-agent-read-agentview))))) (defun gnus-agent-read-agentview (file) "Load FILE and do a `read' there." diff -r 6d74afef6e68 -r 0d6f1624cdf7 lisp/gnus/gnus-art.el --- a/lisp/gnus/gnus-art.el Sat Sep 04 18:16:08 2010 +0300 +++ b/lisp/gnus/gnus-art.el Sat Sep 04 15:24:35 2010 +0000 @@ -7949,7 +7949,8 @@ (when data (with-temp-buffer (insert data) - (copy-region-as-kill (point-min) (point-max)))))) + (copy-region-as-kill (point-min) (point-max)) + (message "Copied %s" data))))) ;;; Internal functions: diff -r 6d74afef6e68 -r 0d6f1624cdf7 lisp/gnus/gnus-html.el --- a/lisp/gnus/gnus-html.el Sat Sep 04 18:16:08 2010 +0300 +++ b/lisp/gnus/gnus-html.el Sat Sep 04 15:24:35 2010 +0000 @@ -112,7 +112,7 @@ (defun gnus-html-wash-tags () (let (tag parameters string start end images url) (goto-char (point-min)) - (while (re-search-forward " * *\n" nil t) + (while (re-search-forward " * * *\n" nil t) (replace-match "" t t)) (goto-char (point-min)) (while (re-search-forward "<\\([^ />]+\\)\\([^>]*\\)>" nil t)