>>>>> In <7ivej0u3tp.fsf@lanthane.pps.jussieu.fr> >>>>> Juliusz Chroboczek wrote: > I recently received an unencrypted e-mail with an encrypted attachment > with was of MIME type ``application/octet-stream'' and an extension of > ``.pgp''. When I tried to save the attachment to disk, EasyPG asked > me to select a destination key and insisted that I must encrypt it. Again. > This was worked around by saving the attachment to a different > filename and then renaming it from the shell, but it's still mightily > inconvenient. It's not so easy to be solved because mm-save-part-to-file avoids only re-compression, and there is no option to avoid re-encryption as well. Preliminarily, I just installed the following change to the Gnus trunk. 2007-01-22 Daiki Ueno * mm-decode.el (mm-save-part-to-file): Use `mm-write-region' instead of `write-region' to respect `mm-inhibit-file-name-handlers'.