Gnus development mailing list
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: info-gnus-english@gnu.org
Cc: ding@gnus.org
Subject: Re: Prefering plain text over html parts in multipart messages
Date: Sat, 04 Aug 2007 15:20:33 +0200	[thread overview]
Message-ID: <87zm17xwpq.fsf@baldur.tsdh.de> (raw)
In-Reply-To: <v98x8td130.fsf@marauder.physik.uni-ulm.de>

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

Reiner Steib <reinersteib+gmane@imap.cc> writes:

Hi Reiner,

>> Strange "text/html" is in it by default, but I have at least one
>> article with both html and text part where the html part is shown as
>> default...
>
> This should not happen.  Could you debug it or send the article
> (private info removed) to ding as a gzipped attachment?

Sure. After investigating a bit further I found out that gnus displays
always the html part and omits the text part with the default values of
`mm-discouraged-alternatives' and `gnus-buttonized-mime-types'.

With

(setq mm-discouraged-alternatives '("text/html" "text/richtext" "text/enriched")
      gnus-buttonized-mime-types  '("multipart/signed" "multipart/alternative"))

I get the buttons and the text part is displayed by default.

Here's an example multipart mail.


[-- Attachment #2: A multipart message where the html part is displayed by default --]
[-- Type: application/octet-stream, Size: 3883 bytes --]

[-- Attachment #3: Type: text/plain, Size: 637 bytes --]


>> Anyway, this lead me to `gnus-buttonized-mime-types' which is a nice
>> feature.
> [...]
>> (setq mm-discouraged-alternatives
>>       '("text/html" "text/richtext" "text/enriched")
>>       gnus-buttonized-mime-types
>>       '("multipart/signed" "multipart/alternative"))
>>
>> and the text part is displayed by default + mime buttons. Nice!
>
> I think this is more or less the example from (info
> "(emacs-mime)Display Customization"), isn't it?

Yes, at least the setting of `gnus-buttonized-mime-types'.

Bye,
Tassilo

Followup-To: gmane.emacs.gnus.general
-- 
      "DRM manages rights in the same way a jail manages freedom"

[-- Attachment #4: Type: text/plain, Size: 161 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

       reply	other threads:[~2007-08-04 13:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4271.1186086396.32220.info-gnus-english@gnu.org>
     [not found] ` <878x8td64f.fsf@topper.koldfront.dk>
     [not found]   ` <87myx98wux.fsf@baldur.tsdh.de>
     [not found]     ` <v98x8td130.fsf@marauder.physik.uni-ulm.de>
2007-08-04 13:20       ` Tassilo Horn [this message]
2007-08-04 14:02         ` Reiner Steib
2007-08-04 14:54           ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zm17xwpq.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=ding@gnus.org \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).