Hello Katsumiさん、 Katsumi Yamaoka wrote: > However, if an image is attached to the mail (i.e., it is a MIME > part of the mail, that is called a cid image), the `i' command > (currently) doesn't support it. That's exactly what I am talking about. I came up with a solution to my need. I am posting here in case someone else needs it. I don't like it because it involves Python and the function is hard coded with the nnml backend. (defun ivan-gnus-save-attachment () "Save all atachments include cid inline attachments." (interactive) (let ((output-buffer (get-buffer-create "output")) (file-name (nnml-article-to-file (gnus-summary-article-number)))) (switch-to-buffer output-buffer) (erase-buffer) (insert "The following files were extracted:\n\n") (call-process "extract-inline-attachment.py" nil output-buffer t file-name))) I have attached the python script. I would rather do it all in elisp but whenever I look at gnus code my brain melts ;) > In that case, you can use the `C-d' command on a summary buffer to > dissect the mail into some parts. And you can easily find an image > among them and save it to a file in an ordinary way. I didn't know that command. Nice! However it gets too long with multiple images. C-d C-n C-n C-n C-n K b C-o C-n o ~/tmp/foo.png RET And I have to do the K b sequence for each image... > Maybe the `i' command (shr-browse-image) needs to be improved so > as to support cid images. Also the `o' command (shr-save-contents) > had better support saving both external and cid images as well. That would be nice. > My only worry is that it may require renaming shr.el to chr.el Why? > In natural Japanese, we'd say: 「...」を聴きながら… ;-) Thank you for correcting my Japanese!