From: TAKAHASHI Tamotsu Date: Wed, 14 Jul 2004 04:16:58 +0000 (+0000) Subject: Introduce $include_onlyfirst. X-Git-Tag: mutt-1-5-15-rel~159 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6720bb8f0f2c8abc5f449efc6a9806b95803052;p=mutt Introduce $include_onlyfirst. --- diff --git a/commands.c b/commands.c index 38abc5ea..95a5334f 100644 --- a/commands.c +++ b/commands.c @@ -501,9 +501,9 @@ int mutt_select_sort (int reverse) int method = Sort; /* save the current method in case of abort */ switch (mutt_multi_choice (reverse ? - _("Rev-Sort (d)ate/(f)rm/(r)ecv/(s)ubj/t(o)/(t)hread/(u)nsort/si(z)e/s(c)ore?: ") : - _("Sort (d)ate/(f)rm/(r)ecv/(s)ubj/t(o)/(t)hread/(u)nsort/si(z)e/s(c)ore?: "), - _("dfrsotuzc"))) + _("Rev-Sort (d)ate/(f)rm/(r)ecv/(s)ubj/t(o)/(t)hread/(u)nsort/si(z)e/s(c)ore/s(p)am?: ") : + _("Sort (d)ate/(f)rm/(r)ecv/(s)ubj/t(o)/(t)hread/(u)nsort/si(z)e/s(c)ore/s(p)am?: "), + _("dfrsotuzcp"))) { case -1: /* abort - don't resort */ return -1; @@ -543,6 +543,10 @@ int mutt_select_sort (int reverse) case 9: /* s(c)ore */ Sort = SORT_SCORE; break; + + case 10: /* s(p)am */ + Sort = SORT_SPAM; + break; } if (reverse) Sort |= SORT_REVERSE; diff --git a/copy.c b/copy.c index ff889cde..9e77ba2f 100644 --- a/copy.c +++ b/copy.c @@ -586,6 +586,8 @@ _mutt_copy_message (FILE *fpout, FILE *fpin, HEADER *hdr, BODY *body, s.flags |= M_WEED; if (flags & M_CM_CHARCONV) s.flags |= M_CHARCONV; + if (flags & M_CM_REPLYING) + s.flags |= M_REPLYING; if (WithCrypto && flags & M_CM_VERIFY) s.flags |= M_VERIFY; diff --git a/copy.h b/copy.h index c03d5f85..67568380 100644 --- a/copy.h +++ b/copy.h @@ -25,6 +25,7 @@ #define M_CM_WEED (1<<5) /* weed message/rfc822 attachment headers */ #define M_CM_CHARCONV (1<<6) /* perform character set conversions */ #define M_CM_PRINTING (1<<7) /* printing the message - display light */ +#define M_CM_REPLYING (1<<8) /* replying the message */ #define M_CM_DECODE_PGP (1<<8) /* used for decoding PGP messages */ diff --git a/doc/manual.sgml.head b/doc/manual.sgml.head index 0ced0e50..3dfb89a3 100644 --- a/doc/manual.sgml.head +++ b/doc/manual.sgml.head @@ -1499,6 +1499,97 @@ specify the same pattern specified in the Spam detection