>> "Eric" == Eric S Fraga writes: > Uwe Brauer writes: >> Hi >> >> mml-dired-attach is rather rigid, since it does not allow to chose the >> attchment type. I propose to add this functionality, at least >> optionally. > I must admit that I have never found a need for this > functionality. Either I add the type (if new) to mime.types or I simply > edit the message buffer as the attachment information is just text... When I change in gnus-dired-attach (mml-attach-file (car files-to-attach) (or (mm-default-file-encoding (car files-to-attach)) "application/octet-stream") nil) To (mml-attach-file (car files-to-attach) (mml-minibuffer-read-type (car files-to-attach)) ) Then it works as I expect, however the interactive call of that function is too complicated for me, usually I would do a (defun my-dired-attach (&optional arg) (interactive "P") (if arg (New code) (old code)))