]> git.eshelyaron.com Git - emacs.git/commitdiff
gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid handing broken links...
authorGnus developers <ding@gnus.org>
Mon, 27 Sep 2010 12:22:22 +0000 (12:22 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 27 Sep 2010 12:22:22 +0000 (12:22 +0000)
nnimap.el (nnimap-request-accept-article): Message the error on error.

lisp/gnus/ChangeLog
lisp/gnus/gnus-html.el
lisp/gnus/nnimap.el

index c5b91e84a6387a3bb890f8a4dffcd94164a04fdc..faca19a8b3e875e78e41b653bf34cec6d3519b98 100644 (file)
@@ -2,10 +2,20 @@
 
        * nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.
 
+2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-request-accept-article): Message the error on
+       error.
+
 2010-09-27  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-art.el (gnus-mime-delete-part): Fix Lisp type of byte(s).
 
+2010-09-26  Florian Ragwitz  <rafl@debian.org>
+
+       * gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid
+       handing broken links to browse-url.
+
 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * nndoc.el (nndoc-request-list): Return success always.
index 587c28e974a84478e320ada34d7b18cee95462f1..4bac528196d28ba22f55e1b8ec8ef1aada62457b 100644 (file)
@@ -286,7 +286,7 @@ Use ALT-TEXT for the image string."
          (setq url (match-string 1 parameters))
           (gnus-message 8 "gnus-html-wash-tags: fetching link URL %s" url)
          (gnus-article-add-button start end
-                                  'browse-url url
+                                  'browse-url (mm-url-decode-entities-string url)
                                   url)
          (let ((overlay (gnus-make-overlay start end)))
            (gnus-overlay-put overlay 'evaporate t)
index a99ee0883303fceaebb7046f5262680be862f06c..c84bc6d5d7817ca7b2384f0e76a24fdb44b308a1 100644 (file)
@@ -772,7 +772,10 @@ some servers.")
                                 "\n"
                               "\r\n"))
        (let ((result (nnimap-get-response sequence)))
-         (when result
+         (if (not (car result))
+             (progn
+               (message "%s" (nnheader-get-report-string 'nnimap))
+               nil)
            (cons group
                  (nnimap-find-article-by-message-id group message-id))))))))