[gnus git] branch master updated: n0-17-192-g4ea2a15 =4= * gnus.el (gnus-refer-article-method): Allow entering any sexp ; Make `W D W' work with w3m. ; * gnus-html.el (mm-util): Require (bug#9073). ; (gnus-summary-insert-subject): Document USE-OLD-HEADER (bug#9070).
Lars Magne Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 4ea2a1512b176c26b318c5f45c51f8988754b3e7 (commit)
via 2220563ed5635f20ac4a3ccfbb42044ea09823f8 (commit)
via 35bde5c3662186fbccc710aed52f47d0c34be1d9 (commit)
via 06be7450b81900a1e17939cfeda949b12613ce23 (commit)
from 1655d61cbda74a7223935196be1e1c6182a3c9b8 (commit)
- Log -----------------------------------------------------------------
commit 4ea2a1512b176c26b318c5f45c51f8988754b3e7
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Tue Jul 19 19:54:10 2011 +0200
* gnus.el (gnus-refer-article-method): Allow entering any sexp
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b2a100d..9303c64 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2011-07-19 Lars Magne Ingebrigtsen <[email protected]>
+ * 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).
diff --git a/lisp/gnus.el b/lisp/gnus.el
index 66eecbf..a453b57 100644
--- a/lisp/gnus.el
+++ b/lisp/gnus.el
@@ -1434,6 +1434,7 @@ list, Gnus will try all the methods in the list until it finds a match."
(const current)
(const :tag "Google" (nnweb "refer" (nnweb-type google)))
gnus-select-method
+ sexp
(repeat :menu-tag "Try multiple"
:tag "Multiple"
:value (current (nnweb "refer" (nnweb-type google)))
commit 2220563ed5635f20ac4a3ccfbb42044ea09823f8
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Tue Jul 19 19:50:06 2011 +0200
Make `W D W' work with w3m.
* gnus-art.el (gnus-article-show-images): Allow working if using w3m
(bug#9041).
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 63578ff..b2a100d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2011-07-19 Lars Magne Ingebrigtsen <[email protected]>
+ * 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.
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index 7255be4..c29000f 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -2267,6 +2267,8 @@ unfolded."
(dolist (elem gnus-article-image-alist)
(gnus-delete-images (car elem))))))
+(autoload 'w3m-toggle-inline-images "w3m")
+
(defun gnus-article-show-images ()
"Show any images that are in the HTML-rendered article buffer.
This only works if the article in question is HTML."
@@ -2274,11 +2276,14 @@ This only works if the article in question is HTML."
(gnus-with-article-buffer
(save-restriction
(widen)
+ (if (eq mm-text-html-renderer 'w3m)
+ (let ((mm-inline-text-html-with-images nil))
+ (w3m-toggle-inline-images))
(dolist (region (gnus-find-text-property-region (point-min) (point-max)
'image-displayer))
(destructuring-bind (start end function) region
(funcall function (get-text-property start 'image-url)
- start end))))))
+ start end)))))))
(defun gnus-article-treat-fold-newsgroups ()
"Unfold folded message headers.
commit 35bde5c3662186fbccc710aed52f47d0c34be1d9
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Tue Jul 19 19:37:58 2011 +0200
* gnus-html.el (mm-util): Require (bug#9073).
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5b94c79..63578ff 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2011-07-19 Lars Magne Ingebrigtsen <[email protected]>
+ * 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).
diff --git a/lisp/gnus-html.el b/lisp/gnus-html.el
index 6ca3c8b..d3da6aa 100644
--- a/lisp/gnus-html.el
+++ b/lisp/gnus-html.el
@@ -38,6 +38,7 @@
(require 'url-cache)
(require 'xml)
(require 'browse-url)
+(require 'mm-util)
(eval-and-compile (unless (featurep 'xemacs) (require 'help-fns)))
(defcustom gnus-html-image-cache-ttl (days-to-time 7)
commit 06be7450b81900a1e17939cfeda949b12613ce23
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Tue Jul 19 19:35:56 2011 +0200
(gnus-summary-insert-subject): Document USE-OLD-HEADER (bug#9070).
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c47cc5c..5b94c79 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -3,6 +3,7 @@
* 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 <[email protected]>
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 9f72484..245d244 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -6562,7 +6562,10 @@ This is meant to be called in `gnus-article-internal-prepare-hook'."
(defun gnus-summary-insert-subject (id &optional old-header use-old-header)
"Find article ID and insert the summary line for that article.
OLD-HEADER can either be a header or a line number to insert
-the subject line on."
+the subject line on.
+If USE-OLD-HEADER is non-nil, then OLD-HEADER should be a header,
+and OLD-HEADER will be used when the summary line is inserted,
+too, instead of trying to fetch new headers."
(let* ((line (and (numberp old-header) old-header))
(old-header (and (vectorp old-header) old-header))
(header (cond ((and old-header use-old-header)
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 9 +++++++++
lisp/gnus-art.el | 15 ++++++++++-----
lisp/gnus-html.el | 1 +
lisp/gnus-sum.el | 5 ++++-
lisp/gnus.el | 1 +
5 files changed, 25 insertions(+), 6 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project