From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id BD5EC6DE12BB for ; Sun, 4 Sep 2016 08:56:29 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.141 X-Spam-Level: X-Spam-Status: No, score=0.141 tagged_above=-999 required=5 tests=[AWL=-0.289, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pUCpSetMgapF for ; Sun, 4 Sep 2016 08:56:27 -0700 (PDT) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by arlo.cworth.org (Postfix) with ESMTPS id 761FA6DE12B9 for ; Sun, 4 Sep 2016 08:56:27 -0700 (PDT) Received: by mail-wm0-f68.google.com with SMTP id l65so1991518wmf.3 for ; Sun, 04 Sep 2016 08:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=U78lMxMj9xaEzcafhL8mb5ooyvpVCJ6UfvCvYqJd8Zw=; b=pkYsF09uQAImrNH45HnB+R9X/4kQfg/3L8abrGZ8o5f12Cltv/Oy7GrkghZp2MPykm ZCy+cymSxfx1WQfDiw8iJYCMCNCcdlHPIwTkKhWkWiLRFpQ8AbBkEuB/+0uXgIR3DggN Bpqxi3bXQsofP2pLF4B3JVmYr068ZJ8NS6iUSwyDTPlTTeRWJCILx/pWKMfzr1SWXJY+ gB+WAAi5nQI74KjtnHqvJUvcBXlrLWqtDJ2UrWe5M7/QPe6kLeo0zuIQ8hCZFNvVUU4D aAawWExhfCvmqhZogLC2wtCeZhLDemwHBCPPVlGxfMfIHsoMStKJpRpzpyPWoU7BTmFM zmqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=U78lMxMj9xaEzcafhL8mb5ooyvpVCJ6UfvCvYqJd8Zw=; b=bzRV+eBIQRYTg0U0HNjmDXXO2evkO4r2xyh+IhHGB1FuK+CT8WFvvYI0Lv5JqsZLWM Mv5tsMCxq2CGEiDJS/XDOU509Kq5WNqMOPxVZsVNqYyle55u/zOVdxsqQMaAi3JsEeki KijoXpDmH7NK5arX88YBuWdPl7+0ZHG2mZnQFF4PBsHrmPHz02wLnpEC0EW1zoWkVjb5 18N50h3Bxt2Sv7lMaThI5+ALLoZiWAczSHCOGCMZt8ZAuHcpBzcd16jQD9C9QvMqYrhh 0zWFUrurp1wcLHrmvFgewDfkih1l+igBKxlsRbMqYzE6DJ0s7yMPNkl6FFcmSyP8SdsA RvWQ== X-Gm-Message-State: AE9vXwM7jZcQNb0nQh2Yq7jGAOA4i97iAweaokYcu4ssjj9Xm/deGQOj9KYxFY8kp4cfJA== X-Received: by 10.194.89.228 with SMTP id br4mr27264371wjb.187.1473004586086; Sun, 04 Sep 2016 08:56:26 -0700 (PDT) Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162]) by smtp.gmail.com with ESMTPSA id ce6sm21980876wjc.27.2016.09.04.08.56.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Sep 2016 08:56:25 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH 0/2] emacs: add postpone support Date: Sun, 4 Sep 2016 16:56:20 +0100 Message-Id: <1473004582-19396-1-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 2.1.4 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2016 15:56:29 -0000 This series adds postpone support to the emacs frontend. It is similar to the series at id:1465001026-29392-1-git-send-email-markwalters1009@gmail.com but is based on top of the insert/fcc support (now in master). The first patch is trivial -- it just frees up the e keybinding for "edit" (ie resume) from tree-mode. The second patch add the postpone/resume support. It is a large patch, but I don't see an obvious way to break it up. Things to note: Draft messages will be stored in the mail store unencrypted, regardless of the signing/encryption tags in the message. There is a custom variable notmuch-message-quoted-tags (which should always include "secure" unless you really know what you are doing). If you set it to '("secure" "part") then attachments won't be saved with the draft, and will be inserted when the message is sent. This may be desired in some cases, but may break cases when there are "transient" attachments, for example when postponing rfc822 forwarded messages Once a message is resumed, the original is tagged deleted. This means it doesn't show up in searches, unless you explicitly add tag:deleted to the search. You might want to add draft to the list of excluded in the notmuch config file, so that draft messages only show up when explicitly searched for. Best wishes Mark Mark Walters (2): emacs: tree: move binding for pressing button in message pane to u emacs: postpone/resume support emacs/notmuch-message.el | 171 +++++++++++++++++++++++++++++++++++++++++++++++ emacs/notmuch-mua.el | 4 ++ emacs/notmuch-show.el | 11 +++ emacs/notmuch-tree.el | 3 +- 4 files changed, 188 insertions(+), 1 deletion(-) -- 2.1.4