[PATCH v2 0/3] postpone and resume support
authorMark Walters <markwalters1009@gmail.com>
Fri, 3 Jun 2016 17:49:52 +0000 (18:49 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:57 +0000 (16:21 -0700)
71/8ff8eb0edf99295b12b64dd47f803aee984b17 [new file with mode: 0644]

diff --git a/71/8ff8eb0edf99295b12b64dd47f803aee984b17 b/71/8ff8eb0edf99295b12b64dd47f803aee984b17
new file mode 100644 (file)
index 0000000..2cdbc43
--- /dev/null
@@ -0,0 +1,122 @@
+Return-Path: <markwalters1009@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 3C44F6DE0243\r
+ for <notmuch@notmuchmail.org>; Fri,  3 Jun 2016 10:50:21 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.176\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.176 tagged_above=-999 required=5 tests=[AWL=-0.254,\r
+  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,\r
+ SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 37sdARzcIvhy for <notmuch@notmuchmail.org>;\r
+ Fri,  3 Jun 2016 10:50:12 -0700 (PDT)\r
+Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com\r
+ [74.125.82.41]) by arlo.cworth.org (Postfix) with ESMTPS id B1AB66DE0159 for\r
+ <notmuch@notmuchmail.org>; Fri,  3 Jun 2016 10:50:11 -0700 (PDT)\r
+Received: by mail-wm0-f41.google.com with SMTP id z87so5377804wmh.0\r
+ for <notmuch@notmuchmail.org>; Fri, 03 Jun 2016 10:50:11 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:cc:subject:date:message-id;\r
+ bh=OY6e9nR414K0JKJR/1VBMJPK1t22l+Sg54mwx12Kr3c=;\r
+ b=ATcMgUcoH4kdvtCVU/8HKmIaSUoDETW4wa/FlLylmq/FhRNYFs1Z8JxL5pIcqN9Fla\r
+ u4g5Ymr+AOivsyzPY1gwbDas5gWoTb23USVT7UHQBJGgDHxJO5opx2sAWP2RwsS6/77R\r
+ rojBtMTypLLzDAI2NUAU3+tWBbjRoaxGpzmv3FvO7A8cExKAwCyrIkOhBuXXGP4PBULR\r
+ GzM1YhXqE4CHt/XUGjFNDAmTS9kQbj95BaiHCUVzq/u+kvTWoxNE9BSMGWAOrF/aCz7H\r
+ KhxHBuh1MjbJAEdTbZgs3JPhvYFF77xKDqvQ5v+uBKGdeCcMAg6WI107bfxzepIg4B9D\r
+ 2iUA==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:cc:subject:date:message-id;\r
+ bh=OY6e9nR414K0JKJR/1VBMJPK1t22l+Sg54mwx12Kr3c=;\r
+ b=i7VdJQ99hUbymlFm1StrHbsF3wIPLgiDkajy/5DwVcJv4tQYFhKm/5pf9weKE102e1\r
+ khmZopkgPdXiQR25fAvg+vflVJaFa4k2Df0xABEbzNcKq5bI7o6nyAIoxGQfzUR4/XVJ\r
+ /NE6K/vTOsdKj7evX+xraSC2+GBAc8Elng9LxPfSqqrqAVrtB2wBBI/P1twjwEWJBZln\r
+ OSkjGJX5JM+TpDZeHC3jiKlxP6+CgkqY0DsoI+jrPZFXGrHbNPZfzxjUTPKO9mWVWAsN\r
+ bKDJSvXiTotWxbE/LUl5jNvXXRo+XeiTylM7ZxfWnpyg+Hn3p+65Zf3904oO+uELWZkn\r
+ iZkw==\r
+X-Gm-Message-State:\r
+ ALyK8tKlUbGn+zVWd+vB/uGaEhYTD1dVzwjXsPKUV7QBl8lt/kxbRXA7W5VAPnf/V7jWDg==\r
+X-Received: by 10.28.10.65 with SMTP id 62mr595991wmk.81.1464976209998;\r
+ Fri, 03 Jun 2016 10:50:09 -0700 (PDT)\r
+Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])\r
+ by smtp.gmail.com with ESMTPSA id m8sm6775891wjd.34.2016.06.03.10.49.59\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Fri, 03 Jun 2016 10:50:02 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 0/3] postpone and resume support\r
+Date: Fri,  3 Jun 2016 18:49:52 +0100\r
+Message-Id: <1464976195-23134-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 2.1.4\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 03 Jun 2016 17:50:21 -0000\r
+\r
+This is a new version of the WIP patch at\r
+id:1464915472-5669-1-git-send-email-markwalters1009@gmail.com\r
+\r
+So far it seems to deal with all cases that I have tried, and the\r
+CAVEATS list is rather smaller than before.\r
+\r
+The bindings are C-x C-s to save a draft (in notmuch-message-mode) C-c\r
+C-p to postpone a draft (ie save and exit buffer), and "e" to resume\r
+editing from either show or tree mode. You may want to add "draft" to\r
+your list of excluded tags to hide them unless you specifically search\r
+for them.\r
+\r
+CAVEATS\r
+\r
+Attachments work, but the attachment that will be sent is the\r
+attachment that was there when the message was postponed. (Attachments\r
+added after resume are obviously not added until the message is sent.)\r
+\r
+Each save saves a separate copy of the message. We hide these copies\r
+with the deleted tag but we don't actually delete them. Thus if you\r
+save several copies of message with large attachments you will use a\r
+lot of space.\r
+\r
+If you use signing or encryption then I don't know what will happen: \r
+I have not tested at all.  You might sign a partial message that you\r
+didn't mean too; you might expose plain text to someone.\r
+\r
+Finally, and this is not really a caveat, it *may* be possible to resume\r
+a previously sent message. At the moment I haven't tested this, and\r
+have made it so that emacs warns before allowing it.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+Mark Walters (3):\r
+  emacs: tree: move binding for pressing button in message pane to g\r
+  emacs: notmuch-check-exit-status bugfix\r
+  emacs:  postpone/resume support\r
+\r
+ emacs/notmuch-lib.el     |  10 +++-\r
+ emacs/notmuch-message.el | 135 +++++++++++++++++++++++++++++++++++++++++++++++\r
+ emacs/notmuch-mua.el     |   4 ++\r
+ emacs/notmuch-show.el    |  13 +++++\r
+ emacs/notmuch-tree.el    |   3 +-\r
+ 5 files changed, 162 insertions(+), 3 deletions(-)\r
+\r
+-- \r
+2.1.4\r
+\r