diff options
| author | Joakim Verona | 2012-12-26 23:41:16 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-26 23:41:16 +0100 |
| commit | 54058e7cab73a5e1a7253decb745989d9149897b (patch) | |
| tree | ef990840daf6a2bc6d477fe24b366db3c39ff1d7 | |
| parent | 5d58baa3598ed3b75700361d421498a148f3ffda (diff) | |
| parent | da42d41a9011b9e866f22021185d26608300fe44 (diff) | |
| download | emacs-54058e7cab73a5e1a7253decb745989d9149897b.tar.gz emacs-54058e7cab73a5e1a7253decb745989d9149897b.zip | |
auto upstream
| -rw-r--r-- | lisp/gnus/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/mml2015.el | 19 |
3 files changed, 25 insertions, 11 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index c873c6f6704..d95c9cdee30 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,18 @@ | |||
| 1 | 2012-12-26 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * mml2015.el (mml2015-epg-key-image): Use mm-set-buffer-multibyte. | ||
| 4 | |||
| 5 | 2012-12-25 Adam Sjøgren <asjo@koldfront.dk> | ||
| 6 | |||
| 7 | * mml2015.el (mml2015-epg-key-image): use --attribute-fd rather than | ||
| 8 | temporary file to get PGP key image. Pass no-show-photos when extracting | ||
| 9 | image to avoid having it pop up twice. | ||
| 10 | |||
| 1 | 2012-12-26 Lars Ingebrigtsen <larsi@gnus.org> | 11 | 2012-12-26 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 12 | ||
| 13 | * gnus-art.el (gnus-article-treat-types): Include text/html as parts | ||
| 14 | eligible for treatment. | ||
| 15 | |||
| 3 | * gnus-util.el (gnus-goto-colon): Move to the beginning of the visual | 16 | * gnus-util.el (gnus-goto-colon): Move to the beginning of the visual |
| 4 | lines. This makes summary commands with hidden threads work more | 17 | lines. This makes summary commands with hidden threads work more |
| 5 | reliably. | 18 | reliably. |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 53e3d67161f..ba186d50555 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -1121,8 +1121,8 @@ parts. When nil, redisplay article." | |||
| 1121 | (const :tag "Header" head))) | 1121 | (const :tag "Header" head))) |
| 1122 | 1122 | ||
| 1123 | (defvar gnus-article-treat-types '("text/plain" "text/x-verbatim" | 1123 | (defvar gnus-article-treat-types '("text/plain" "text/x-verbatim" |
| 1124 | "text/x-patch") | 1124 | "text/x-patch" "text/html") |
| 1125 | "Parts to treat.") | 1125 | "Part types eligible for treatment.") |
| 1126 | 1126 | ||
| 1127 | (defvar gnus-inhibit-treatment nil | 1127 | (defvar gnus-inhibit-treatment nil |
| 1128 | "Whether to inhibit treatment.") | 1128 | "Whether to inhibit treatment.") |
diff --git a/lisp/gnus/mml2015.el b/lisp/gnus/mml2015.el index 847d1fa786f..0bc83ad4fb0 100644 --- a/lisp/gnus/mml2015.el +++ b/lisp/gnus/mml2015.el | |||
| @@ -822,15 +822,16 @@ If set, it overrides the setting of `mml2015-sign-with-sender'." | |||
| 822 | 822 | ||
| 823 | (defun mml2015-epg-key-image (key-id) | 823 | (defun mml2015-epg-key-image (key-id) |
| 824 | "Return the image of a key, if any" | 824 | "Return the image of a key, if any" |
| 825 | (let ((filename | 825 | (with-temp-buffer |
| 826 | (replace-regexp-in-string | 826 | (mm-set-buffer-multibyte nil) |
| 827 | "\n" "" | 827 | (let* ((coding-system-for-write 'binary) |
| 828 | (shell-command-to-string | 828 | (coding-system-for-read 'binary) |
| 829 | (format "%s --photo-viewer 'echo %%I >&2' --list-keys %s > /dev/null" | 829 | (data (shell-command-to-string |
| 830 | epg-gpg-program key-id))))) | 830 | (format "%s --list-options no-show-photos --attribute-fd 2 --list-keys %s > /dev/null" |
| 831 | (when (and (not (string-equal filename "")) | 831 | epg-gpg-program key-id)))) |
| 832 | (file-exists-p filename)) | 832 | (when (> (length data) 0) |
| 833 | (create-image filename)))) | 833 | (insert (substring data 16)) |
| 834 | (create-image (buffer-string) nil t))))) | ||
| 834 | 835 | ||
| 835 | (defun mml2015-epg-key-image-to-string (key-id) | 836 | (defun mml2015-epg-key-image-to-string (key-id) |
| 836 | "Return a string with the image of a key, if any" | 837 | "Return a string with the image of a key, if any" |