+2009-04-25 01:56 -0400 Dan Loewenherz <daniel.loewenherz@yale.edu> (c1b947f60ea6)
+
+ * init.h: Disables the insecure SSLv2 protocol. Closes #3192.
+
+2009-05-30 19:37 +0200 Rocco Rutte <pdmef@gmx.net> (b080ae086a62)
+
+ * ChangeLog, mbox.c: Keep new mail flag for mbox/mmdf folders after
+ closing. Closes #1362.
+
2009-05-30 10:23 -0700 Vincent Lefevre <vincent@vinc17.org> (be7b3d349725)
* po/fr.po: Updated French translation.
handler = crypt_smime_application_smime_handler;
}
-
- if (plaintext || handler)
+ /* only respect disposition == attachment if we're not
+ displaying from the attachment menu (i.e. pager) */
+ if ((!option (OPTHONORDISP) || (b->disposition != DISPATTACH ||
+ option(OPTVIEWATTACH))) &&
+ (plaintext || handler))
{
fseeko (s->fpin, b->offset, 0);
}
s->flags |= M_FIRSTDONE;
}
- else if (s->flags & M_DISPLAY)
+ /* print hint to use attachment menu for disposition == attachment
+ if we're not already being called from there */
+ else if ((s->flags & M_DISPLAY) || (b->disposition == DISPATTACH &&
+ !option (OPTVIEWATTACH) &&
+ option (OPTHONORDISP) &&
+ (plaintext || handler)))
{
state_mark_attach (s);
- state_printf (s, _("[-- %s/%s is unsupported "), TYPE (b), b->subtype);
+ if (option (OPTHONORDISP) && b->disposition == DISPATTACH)
+ fputs (_("[-- This is an attachment "), s->fpout);
+ else
+ state_printf (s, _("[-- %s/%s is unsupported "), TYPE (b), b->subtype);
if (!option (OPTVIEWATTACH))
{
if (km_expand_key (type, sizeof(type),
** .pp
** The file in which Mutt will save its history.
*/
+ { "honor_disposition", DT_BOOL, R_NONE, OPTHONORDISP, 0 },
+ /*
+ ** .pp
+ ** When \fIset\fP, Mutt will not display attachments with a
+ ** disposition of ``attachment'' inline even if it could
+ ** render the part to plain text. These MIME parts can only
+ ** be viewed from the attachment menu.
+ ** .pp
+ ** If \fIunset\fP, Mutt will render all MIME parts it can
+ ** properly transform to plain text.
+ */
{ "honor_followup_to", DT_QUAD, R_NONE, OPT_MFUPTO, M_YES },
/*
** .pp