diff options
| author | Lars Magne Ingebrigtsen | 2010-09-04 15:24:35 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-09-04 15:24:35 +0000 |
| commit | c25d60ab3b8dc9f5741fc8868fe03e55828ae0f1 (patch) | |
| tree | 76414a90c86992eec9fd90e772ecd50a78df81bf | |
| parent | 6e6b8e25b118a680ef322ab74e42f556b804c70b (diff) | |
| download | emacs-c25d60ab3b8dc9f5741fc8868fe03e55828ae0f1.tar.gz emacs-c25d60ab3b8dc9f5741fc8868fe03e55828ae0f1.zip | |
(gnus-article-copy-string): Say what data we copied; (gnus-html-wash-tags): Remove even more white space around <pre_int>; (gnus-agent-load-alist): Check whether the agentview files exist before trying to read them.
| -rw-r--r-- | lisp/gnus/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/gnus/gnus-agent.el | 16 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 3 | ||||
| -rw-r--r-- | lisp/gnus/gnus-html.el | 2 |
4 files changed, 20 insertions, 9 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index c18cf19aaed..d5cdb241bec 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | 2010-09-04 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2010-09-04 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * gnus-agent.el (gnus-agent-load-alist): Check whether the agentview | ||
| 4 | files exist before trying to read them. | ||
| 5 | |||
| 6 | * gnus-html.el (gnus-html-wash-tags): Remove even more white space | ||
| 7 | around <pre_int>. | ||
| 8 | |||
| 9 | * gnus-art.el (gnus-article-copy-string): Say what data we copied. | ||
| 10 | |||
| 3 | * nnmh.el (nnmh-request-list-1): Optimize for speed. | 11 | * nnmh.el (nnmh-request-list-1): Optimize for speed. |
| 4 | 12 | ||
| 5 | 2010-09-03 Lars Magne Ingebrigtsen <larsi@gnus.org> | 13 | 2010-09-03 Lars Magne Ingebrigtsen <larsi@gnus.org> |
diff --git a/lisp/gnus/gnus-agent.el b/lisp/gnus/gnus-agent.el index 96a62e61552..c5232819379 100644 --- a/lisp/gnus/gnus-agent.el +++ b/lisp/gnus/gnus-agent.el | |||
| @@ -2108,13 +2108,15 @@ doesn't exist, to valid the overview buffer." | |||
| 2108 | (defun gnus-agent-load-alist (group) | 2108 | (defun gnus-agent-load-alist (group) |
| 2109 | "Load the article-state alist for GROUP." | 2109 | "Load the article-state alist for GROUP." |
| 2110 | ;; Bind free variable that's used in `gnus-agent-read-agentview'. | 2110 | ;; Bind free variable that's used in `gnus-agent-read-agentview'. |
| 2111 | (let ((gnus-agent-read-agentview group) | 2111 | (let* ((gnus-agent-read-agentview group) |
| 2112 | (file-name-coding-system nnmail-pathname-coding-system)) | 2112 | (file-name-coding-system nnmail-pathname-coding-system) |
| 2113 | (setq gnus-agent-article-alist | 2113 | (agentview (gnus-agent-article-name ".agentview" group))) |
| 2114 | (gnus-cache-file-contents | 2114 | (when (file-exists-p agentview) |
| 2115 | (gnus-agent-article-name ".agentview" group) | 2115 | (setq gnus-agent-article-alist |
| 2116 | 'gnus-agent-file-loading-cache | 2116 | (gnus-cache-file-contents |
| 2117 | 'gnus-agent-read-agentview)))) | 2117 | agentview |
| 2118 | 'gnus-agent-file-loading-cache | ||
| 2119 | 'gnus-agent-read-agentview))))) | ||
| 2118 | 2120 | ||
| 2119 | (defun gnus-agent-read-agentview (file) | 2121 | (defun gnus-agent-read-agentview (file) |
| 2120 | "Load FILE and do a `read' there." | 2122 | "Load FILE and do a `read' there." |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 944e65dfe8e..bfdb9bd6b63 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -7949,7 +7949,8 @@ url is put as the `gnus-button-url' overlay property on the button." | |||
| 7949 | (when data | 7949 | (when data |
| 7950 | (with-temp-buffer | 7950 | (with-temp-buffer |
| 7951 | (insert data) | 7951 | (insert data) |
| 7952 | (copy-region-as-kill (point-min) (point-max)))))) | 7952 | (copy-region-as-kill (point-min) (point-max)) |
| 7953 | (message "Copied %s" data))))) | ||
| 7953 | 7954 | ||
| 7954 | ;;; Internal functions: | 7955 | ;;; Internal functions: |
| 7955 | 7956 | ||
diff --git a/lisp/gnus/gnus-html.el b/lisp/gnus/gnus-html.el index e14d109d6ed..f7eb05bf8b7 100644 --- a/lisp/gnus/gnus-html.el +++ b/lisp/gnus/gnus-html.el | |||
| @@ -112,7 +112,7 @@ fit these criteria." | |||
| 112 | (defun gnus-html-wash-tags () | 112 | (defun gnus-html-wash-tags () |
| 113 | (let (tag parameters string start end images url) | 113 | (let (tag parameters string start end images url) |
| 114 | (goto-char (point-min)) | 114 | (goto-char (point-min)) |
| 115 | (while (re-search-forward " *<pre_int> *</pre_int>\n" nil t) | 115 | (while (re-search-forward " *<pre_int> *</pre_int> *\n" nil t) |
| 116 | (replace-match "" t t)) | 116 | (replace-match "" t t)) |
| 117 | (goto-char (point-min)) | 117 | (goto-char (point-min)) |
| 118 | (while (re-search-forward "<\\([^ />]+\\)\\([^>]*\\)>" nil t) | 118 | (while (re-search-forward "<\\([^ />]+\\)\\([^>]*\\)>" nil t) |