From: Gnus developers Date: Mon, 27 Sep 2010 12:22:22 +0000 (+0000) Subject: gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid handing broken links... X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~47^2~39 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=062eae9968c98274237dab7a0e3c43e1693dfaf0;p=emacs.git gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid handing broken links to browse-url. nnimap.el (nnimap-request-accept-article): Message the error on error. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index c5b91e84a63..faca19a8b3e 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -2,10 +2,20 @@ * nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring. +2010-09-27 Lars Magne Ingebrigtsen + + * nnimap.el (nnimap-request-accept-article): Message the error on + error. + 2010-09-27 Katsumi Yamaoka * gnus-art.el (gnus-mime-delete-part): Fix Lisp type of byte(s). +2010-09-26 Florian Ragwitz + + * gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid + handing broken links to browse-url. + 2010-09-26 Lars Magne Ingebrigtsen * nndoc.el (nndoc-request-list): Return success always. diff --git a/lisp/gnus/gnus-html.el b/lisp/gnus/gnus-html.el index 587c28e974a..4bac528196d 100644 --- a/lisp/gnus/gnus-html.el +++ b/lisp/gnus/gnus-html.el @@ -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) diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index a99ee088330..c84bc6d5d78 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -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))))))))