* eliminate empty mm-alternatives too
@ 2011-01-06 3:37 jidanni
2011-01-09 15:46 ` Greg Troxel
2011-01-11 19:21 ` Lars Magne Ingebrigtsen
0 siblings, 2 replies; 8+ messages in thread
From: jidanni @ 2011-01-06 3:37 UTC (permalink / raw)
To: ding
You know, sometimes
X-Spam-Report:
* 0.7 MPART_ALT_DIFF BODY: HTML and text parts are different
Indeed sometimes there is that part, but nothing much in it:
--=_NextPart_2rfkindysadvnqw3nerasdf
Content-Type: text/DOESN'T MATTER
Content-Transfer-Encoding: quoted-printable
--=_NextPart_2rfkindysadvnqw3nerasdf
In such cases, could gnus please just show the other part,
I.e., eliminate the empty part as one of the candidates before further
weeding out mm-discouraged-alternatives. Thanks.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: eliminate empty mm-alternatives too
2011-01-06 3:37 eliminate empty mm-alternatives too jidanni
@ 2011-01-09 15:46 ` Greg Troxel
2011-01-11 19:21 ` Lars Magne Ingebrigtsen
1 sibling, 0 replies; 8+ messages in thread
From: Greg Troxel @ 2011-01-09 15:46 UTC (permalink / raw)
To: jidanni; +Cc: ding
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
jidanni@jidanni.org writes:
> You know, sometimes
> X-Spam-Report:
> * 0.7 MPART_ALT_DIFF BODY: HTML and text parts are different
>
> Indeed sometimes there is that part, but nothing much in it:
>
> --=_NextPart_2rfkindysadvnqw3nerasdf
> Content-Type: text/DOESN'T MATTER
> Content-Transfer-Encoding: quoted-printable
>
>
>
> --=_NextPart_2rfkindysadvnqw3nerasdf
This mail is defective; I score it even higher.
> In such cases, could gnus please just show the other part,
> I.e., eliminate the empty part as one of the candidates before further
> weeding out mm-discouraged-alternatives. Thanks.
But yes, that makes sense. If it does show the html part when text was
requested via discouraged-alternatives, I think it makes sense to add
X-Gnus-Warning: suppressing empty text/plain part
so the reader knows the mail was bogus.
[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: eliminate empty mm-alternatives too
2011-01-06 3:37 eliminate empty mm-alternatives too jidanni
2011-01-09 15:46 ` Greg Troxel
@ 2011-01-11 19:21 ` Lars Magne Ingebrigtsen
2011-01-21 13:43 ` David Edmondson
1 sibling, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-01-11 19:21 UTC (permalink / raw)
To: ding
jidanni@jidanni.org writes:
> In such cases, could gnus please just show the other part,
> I.e., eliminate the empty part as one of the candidates before further
> weeding out mm-discouraged-alternatives. Thanks.
Good idea. Fixed and pushed.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: eliminate empty mm-alternatives too
2011-01-11 19:21 ` Lars Magne Ingebrigtsen
@ 2011-01-21 13:43 ` David Edmondson
2011-01-22 2:53 ` Lars Ingebrigtsen
0 siblings, 1 reply; 8+ messages in thread
From: David Edmondson @ 2011-01-21 13:43 UTC (permalink / raw)
To: ding
* larsi@gnus.org [2011-01-11 Tue 19:21]
> jidanni@jidanni.org writes:
>
>> In such cases, could gnus please just show the other part,
>> I.e., eliminate the empty part as one of the candidates before further
>> weeding out mm-discouraged-alternatives. Thanks.
>
> Good idea. Fixed and pushed.
This appears to cause trouble when a multipart/alternative part contains
text/plain and multipart/related parts (the latter containing text/html
and image/jpeg).
There's an error thrown - no buffer named "multipart/related" exists.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: eliminate empty mm-alternatives too
2011-01-21 13:43 ` David Edmondson
@ 2011-01-22 2:53 ` Lars Ingebrigtsen
2011-01-23 12:01 ` David Edmondson
0 siblings, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2011-01-22 2:53 UTC (permalink / raw)
To: ding
David Edmondson <dme@dme.org> writes:
> There's an error thrown - no buffer named "multipart/related" exists.
Could you send me an example message that shows this bug?
Or `(setq debug-on-error t)' and post the backtrace.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: eliminate empty mm-alternatives too
2011-01-22 2:53 ` Lars Ingebrigtsen
@ 2011-01-23 12:01 ` David Edmondson
2011-01-26 22:14 ` Julien Barnier
0 siblings, 1 reply; 8+ messages in thread
From: David Edmondson @ 2011-01-23 12:01 UTC (permalink / raw)
To: ding
* larsi@gnus.org [2011-01-22 Sat 02:53]
> David Edmondson <dme@dme.org> writes:
>
>> There's an error thrown - no buffer named "multipart/related" exists.
>
> Could you send me an example message that shows this bug?
>
> Or `(setq debug-on-error t)' and post the backtrace.
It was fixed by:
(mm-preferred-alternative-precedence): Don't bug out on nested related parts.
Thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: eliminate empty mm-alternatives too
2011-01-23 12:01 ` David Edmondson
@ 2011-01-26 22:14 ` Julien Barnier
2011-01-27 9:31 ` Julien Danjou
0 siblings, 1 reply; 8+ messages in thread
From: Julien Barnier @ 2011-01-26 22:14 UTC (permalink / raw)
To: ding
Hi,
David Edmondson <dme <at> dme.org> writes:
> It was fixed by:
>
> (mm-preferred-alternative-precedence): Don't bug out on nested related parts.
I just met the same problem as you describe, with a "no buffer named
multipart/related" error while trying to display this kind of mail.
I try to understand the fix you are talking about, but unfortunately I can't
make it work. Do you redefine the mm-preferred-alternative-precedence function
?
Thanks a lot in advance !
Julien
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: eliminate empty mm-alternatives too
2011-01-26 22:14 ` Julien Barnier
@ 2011-01-27 9:31 ` Julien Danjou
0 siblings, 0 replies; 8+ messages in thread
From: Julien Danjou @ 2011-01-27 9:31 UTC (permalink / raw)
To: Julien Barnier; +Cc: ding
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
On Wed, Jan 26 2011, Julien Barnier wrote:
> I try to understand the fix you are talking about, but unfortunately I can't
> make it work. Do you redefine the mm-preferred-alternative-precedence function
> ?
No, he just git pull-ed and rebuilt Gnus. :)
--
Julien Danjou
❱ http://julien.danjou.info
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-01-27 9:31 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-06 3:37 eliminate empty mm-alternatives too jidanni
2011-01-09 15:46 ` Greg Troxel
2011-01-11 19:21 ` Lars Magne Ingebrigtsen
2011-01-21 13:43 ` David Edmondson
2011-01-22 2:53 ` Lars Ingebrigtsen
2011-01-23 12:01 ` David Edmondson
2011-01-26 22:14 ` Julien Barnier
2011-01-27 9:31 ` Julien Danjou
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).