aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGnus developers2011-09-19 22:06:57 +0000
committerKatsumi Yamaoka2011-09-19 22:06:57 +0000
commita3ddc4d9c617348a315f2d12d9ec651599efe6bd (patch)
tree14f703a7b3ed60c150073ec99abcfcc300f1c767
parente24e27be18156e7af5e8ec15a723225dfc7e22da (diff)
downloademacs-a3ddc4d9c617348a315f2d12d9ec651599efe6bd.tar.gz
emacs-a3ddc4d9c617348a315f2d12d9ec651599efe6bd.zip
Merge changes made in Gnus trunk.
mm-decode.el (mm-inline-media-tests): Fix typo in regexp. auth-source.el (auth-source-netrc-parse): Use an obfuscation method which work with things that are not ASCII.
-rw-r--r--lisp/gnus/ChangeLog9
-rw-r--r--lisp/gnus/auth-source.el7
-rw-r--r--lisp/gnus/mm-decode.el2
3 files changed, 12 insertions, 6 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index fa22d1a5ea1..3fdb759932f 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,12 @@
12011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * mm-decode.el (mm-inline-media-tests): Fix typo in regexp.
4
52011-09-19 Julien Danjou <julien@danjou.info>
6
7 * auth-source.el (auth-source-netrc-parse): Use an obfuscation method
8 which work with things that are not ASCII.
9
12011-09-17 Lars Magne Ingebrigtsen <larsi@gnus.org> 102011-09-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 11
3 * mm-decode.el (mm-inline-media-tests): Support imagemagick images. 12 * mm-decode.el (mm-inline-media-tests): Support imagemagick images.
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el
index 74d69d0820c..7a05edfabc2 100644
--- a/lisp/gnus/auth-source.el
+++ b/lisp/gnus/auth-source.el
@@ -886,11 +886,8 @@ Note that the MAX parameter is used so we can exit the parse early."
886 ;; (note for the irony-impaired: they are just obfuscated) 886 ;; (note for the irony-impaired: they are just obfuscated)
887 (aput 'auth-source-netrc-cache file 887 (aput 'auth-source-netrc-cache file
888 (list :mtime (nth 5 (file-attributes file)) 888 (list :mtime (nth 5 (file-attributes file))
889 :secret (lexical-let ((v (rot13-string 889 :secret (lexical-let ((v (mapcar '1+ (buffer-string))))
890 (base64-encode-string 890 (lambda () (apply 'string (mapcar '1- v)))))))
891 (buffer-string)))))
892 (lambda () (base64-decode-string
893 (rot13-string v)))))))
894 (goto-char (point-min)) 891 (goto-char (point-min))
895 ;; Go through the file, line by line. 892 ;; Go through the file, line by line.
896 (while (and (not (eobp)) 893 (while (and (not (eobp))
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
index 6e56213c327..37ee59e9b4b 100644
--- a/lisp/gnus/mm-decode.el
+++ b/lisp/gnus/mm-decode.el
@@ -265,7 +265,7 @@ before the external MIME handler is invoked."
265 ("multipart/alternative" ignore identity) 265 ("multipart/alternative" ignore identity)
266 ("multipart/mixed" ignore identity) 266 ("multipart/mixed" ignore identity)
267 ("multipart/related" ignore identity) 267 ("multipart/related" ignore identity)
268 ("image/*" 268 ("image/.*"
269 mm-inline-image 269 mm-inline-image
270 (lambda (handle) 270 (lambda (handle)
271 (and (mm-valid-image-format-p 'imagemagick) 271 (and (mm-valid-image-format-p 'imagemagick)