<<< Date Index >>>     <<< Thread Index >>>

Re: trash folder -> 1.6?



On 2007-04-12 12:57:29 -0700, William Yardley wrote:
> I have a version of the patch (attached) which should apply to current
> CVS.

In your patch, the following diff is missing:

diff -Naurd mutt-cvs/imap/message.c mutt-new/imap/message.c
--- mutt-cvs/imap/message.c     2005-08-02 02:01:46.000000000 +0000
+++ mutt-new/imap/message.c     2005-09-05 11:10:21.000000000 +0000
@@ -755,6 +755,7 @@
         if (ctx->hdrs[n]->tagged)
         {
           mutt_set_flag (ctx, ctx->hdrs[n], M_DELETE, 1);
+         mutt_set_flag (ctx, ctx->hdrs[n], M_APPENDED, 1);
           if (option (OPTDELETEUNTAG))
             mutt_set_flag (ctx, ctx->hdrs[n], M_TAG, 0);
         }
@@ -762,6 +763,7 @@
     else
     {
       mutt_set_flag (ctx, h, M_DELETE, 1);
+      mutt_set_flag (ctx, h, M_APPENDED, 1);
       if (option (OPTDELETEUNTAG))
         mutt_set_flag (ctx, h, M_TAG, 0);
     }

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)