[gnus git] branch master updated: m0-1-17-g67445c8 =3= HTML button insertion cleanup ; * gnus-art.el (gnus-mime-inline-part): Slight clean-up. ; * mm-archive.el (mm-archive-decoders): Add support for tar.

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  67445c8c3427d6924fb337b935861d8c5dc2d4ed (commit)
       via  3017247f28c633f9c8a8ae7bb1ab77931249fe1e (commit)
       via  9fce64e698de147b7d90d23692bcff5045adab9c (commit)
      from  0f6fbf486c943528c6f04f431c023d3922ab110c (commit)


- Log -----------------------------------------------------------------
commit 67445c8c3427d6924fb337b935861d8c5dc2d4ed
Author: Lars Ingebrigtsen <[email protected]>
Date:   Wed Feb 1 01:58:20 2012 +0100

    HTML button insertion cleanup
    
    * mm-decode.el (mm-shr): Make sure that the HTML ends with a newline.
    Otherwise inserting text into the Gnus buffer can look odd.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7c2ae5d..da89607 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2012-02-01  Lars Ingebrigtsen  <[email protected]>
 
+	* mm-decode.el (mm-shr): Make sure that the HTML ends with a newline.
+	Otherwise inserting text into the Gnus buffer can look odd.
+
 	* gnus-art.el (gnus-mime-inline-part): Slight clean-up.
 
 	* mm-archive.el (mm-archive-decoders): Add support for tar.
diff --git a/lisp/mm-decode.el b/lisp/mm-decode.el
index e6407cf..3b3695b 100644
--- a/lisp/mm-decode.el
+++ b/lisp/mm-decode.el
@@ -1765,6 +1765,8 @@ If RECURSIVE, search recursively."
 				  mm-extra-numeric-entities)))
 	     (replace-match (char-to-string char))))
 	 (libxml-parse-html-region (point-min) (point-max))))
+      (unless (bobp)
+	(insert "\n"))
       (mm-handle-set-undisplayer
        handle
        `(lambda ()

commit 3017247f28c633f9c8a8ae7bb1ab77931249fe1e
Author: Lars Ingebrigtsen <[email protected]>
Date:   Wed Feb 1 01:41:28 2012 +0100

    * gnus-art.el (gnus-mime-inline-part): Slight clean-up.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 751945a..7c2ae5d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
 2012-02-01  Lars Ingebrigtsen  <[email protected]>
 
+	* gnus-art.el (gnus-mime-inline-part): Slight clean-up.
+
 	* mm-archive.el (mm-archive-decoders): Add support for tar.
 
 	* gnus.el (gnus-logo-color-alist): Change the colours for Ma Gnus.
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index b282afd..4f6d4d6 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -5323,9 +5323,8 @@ Compressed files like .gz and .bz2 are decompressed."
 		(or (cdr (assq arg
 			       gnus-summary-show-article-charset-alist))
 		    (mm-read-coding-system "Charset: "))))
-	 (t
-	  (if (mm-handle-undisplayer handle)
-	      (mm-remove-part handle))))
+	 ((mm-handle-undisplayer handle)
+	  (mm-remove-part handle)))
 	(forward-line 2)
         (mm-display-inline handle)
 	(goto-char b)))))

commit 9fce64e698de147b7d90d23692bcff5045adab9c
Author: Lars Ingebrigtsen <[email protected]>
Date:   Wed Feb 1 01:38:50 2012 +0100

    * mm-archive.el (mm-archive-decoders): Add support for tar.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 99313a8..751945a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
 2012-02-01  Lars Ingebrigtsen  <[email protected]>
 
+	* mm-archive.el (mm-archive-decoders): Add support for tar.
+
 	* gnus.el (gnus-logo-color-alist): Change the colours for Ma Gnus.
 
 	* nnmail.el (nnmail-extra-headers): Add Cc to the default.
diff --git a/lisp/mm-archive.el b/lisp/mm-archive.el
index dbe68af..c8fced4 100644
--- a/lisp/mm-archive.el
+++ b/lisp/mm-archive.el
@@ -23,7 +23,8 @@
 ;;; Code:
 
 (defvar mm-archive-decoders
-  '(("application/ms-tnef" "tnef" "-f" "-" "-C")))
+  '(("application/ms-tnef" "tnef" "-f" "-" "-C")
+    ("application/x-tar" "tar" "xf" "-" "-C")))
 
 (defun mm-dissect-archive (handle)
   (let ((decoder (cdr (assoc (car (mm-handle-type handle))

-----------------------------------------------------------------------
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     |    7 +++++++
 lisp/gnus-art.el   |    5 ++---
 lisp/mm-archive.el |    3 ++-
 lisp/mm-decode.el  |    2 ++
 4 files changed, 13 insertions(+), 4 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.