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 E6D786DE00C4 for ; Mon, 28 Aug 2017 00:32:31 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.484 X-Spam-Level: X-Spam-Status: No, score=0.484 tagged_above=-999 required=5 tests=[AWL=-0.455, 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211, 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 DcZtuRETj_Yb for ; Mon, 28 Aug 2017 00:32:31 -0700 (PDT) Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by arlo.cworth.org (Postfix) with ESMTPS id E86A76DE009B for ; Mon, 28 Aug 2017 00:32:30 -0700 (PDT) Received: by mail-wr0-f193.google.com with SMTP id z91so3640542wrc.0 for ; Mon, 28 Aug 2017 00:32:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Xmtm1fezc1ZhbsSpMq5mpnJa/g0kNhTlK9T4xycEx50=; b=FjvodRE2sG/H2ScgTzm36EQlN3tg+2Rv695E/Bo9MA32j1lpuRla++2fOvl+nfiqWl pm/Zu/hH7hCVmQw8ygcoICvYGeplJlyNHpD/gKzPhl6uvrfvN4o1a+xI0qe0wzLDRucS 2spkbhRUvqshJDOizuKb4A6jfUQDCszFhy2PySsGYlAOlKxnZHrhYIXI98rGji1CkeKS pNsQKPDulon/6pJeChiZnvFkm8M0pOfqOWlaOfnhrFux/si7uV/vJKKCtxKtrNNuK9rQ 8prltmFBN9TY9gNsskUAA4hBRUWdQ+W+oXRmaKFHRPt63VXDGV2ckw8kP1O1hprCDzO4 cM+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Xmtm1fezc1ZhbsSpMq5mpnJa/g0kNhTlK9T4xycEx50=; b=RqsmPu6xSAXA28grOPkcErkuNHeVa+U6GHDQGjIAobpbkhqJPFhoqjzBJFX0lM3hqB BNWAZCLhr00ZjmG1uihA+9b/CBirTJnXXyHHVCprQHCyBS7WdU64DLN4UsNAVZApfg9/ oygcUnhHKgBNcfTYhd/RI35IsnZuaczcyPlneJMLejgtTXGdEggXvsW/KxWAyjUrMAdP X/ZzdsA5IbzhV07q7QFfA2O+GVuNhXgTnD7vl2t5R7sDvKniufvYld6BUw5q9HMUEACD SN0zGNukuuEm3/0s/lXRYu7kUnA005fJfLI+s02OWZSwzUZWwih2B6i9UQ3+NpJmxEzI JlvA== X-Gm-Message-State: AHYfb5gRR/RMq356XSrQFjWqyVNeHyH8xK0e10zJEmERXg877KTJmgXq iQOsISQb8imIOKLx X-Received: by 10.223.164.197 with SMTP id h5mr3681207wrb.38.1503905547979; Mon, 28 Aug 2017 00:32:27 -0700 (PDT) Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162]) by smtp.gmail.com with ESMTPSA id w73sm5180910wmw.20.2017.08.28.00.32.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Aug 2017 00:32:27 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH 0/2] emacs: allow message/rfc822 to be inserted in the mailstore Date: Mon, 28 Aug 2017 08:32:20 +0100 Message-Id: <1503905542-19961-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.23 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: Mon, 28 Aug 2017 07:32:32 -0000 Several people including id:87bmnlko2o.fsf@len have asked to be able to reply directly to message/rfc822 messages from the emacs frontend. Doing that in emacs would be likely to be a little fragile as all other replies are generated by the cli code. This pair of patches provide an alternative approach: let the user insert the attached message directly into the mailstore. Once it is there, the user can reply as normal. I have been running something like this for a long time (see id:1463744295-12533-1-git-send-email-markwalters1009@gmail.com for my earlier version) with no problems. This new version includes some better error checking, and allows the user to specify tags for the inserted message. The new version is not heavily tested but seems to work. Best wishes Mark Mark Walters (2): emacs: maildir fcc make insert more flexible emacs: show: allow user to insert rfc822 parts as messages emacs/notmuch-maildir-fcc.el | 16 ++++++++++------ emacs/notmuch-show.el | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 6 deletions(-) -- 2.1.4