Adam Sjøgren writes:

> Nickolai writes:
>
>> I got several e-mails with an empty message body and a plain text file
>> attached. The contents of these files are shown as if they were the
>> message body, and the message buffer makes no mention of an attachment being
>> present.
>
> You could perhaps add the mime type to gnus-buttonized-mime-types -
> then a button should show up:
>
> ,----[ C-h v gnus-buttonized-mime-types RET ]
> | gnus-buttonized-mime-types is a variable defined in ‘gnus-art.el’.
> | 
> | Its value is
> | ("multipart/encrypted" "multipart/signed" "image/.*"
> |  "message/feedback-report" "application/gzip"
> |  "application/tlsrpt\\+gzip" "application/zip")
> | Original value was nil
> | 
> | List of MIME types that should be given buttons when rendered inline.
> | If set, this variable overrides ‘gnus-unbuttonized-mime-types’.
> | To see e.g. security buttons you could set this to
> | ‘("multipart/signed")’.  You could also add "multipart/alternative" to
> | this list to display radio buttons that allow you to choose one of two
> | media types those mails include.  See also ‘mm-discouraged-alternatives’.
> | This variable is only used when ‘gnus-inhibit-mime-unbuttonizing’ is nil.
> `----

Hi Adam,

Thank you for your reply. I added

(setq gnus-buttonized-mime-types
 '("multipart/encrypted" "multipart/signed" "image/.*"
   "message/feedback-report" "application/gzip"
   "application/tlsrpt\\+gzip" "application/zip"
   "text/plain"))

to the config file, but, sadly, that didn't do what I need. I did get a
new "text/plain" button in *some* messages but not in the ones I was
talking about. Also, there is no "text/plain" button in the messages
that contain plain text as their body and no attachments.

I tried

(setq gnus-mime-display-attachment-buttons-in-header t)

to no avail.

Reply via email to