[feature request] emacs: use `notmuch insert` for FCC
authorSteven Allen <steven@stebalien.com>
Sat, 20 Aug 2016 03:12:51 +0000 (23:12 +2000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:28 +0000 (16:22 -0700)
97/b65b51a4cb3ad05a1657f116641c8e0c96383f [new file with mode: 0644]

diff --git a/97/b65b51a4cb3ad05a1657f116641c8e0c96383f b/97/b65b51a4cb3ad05a1657f116641c8e0c96383f
new file mode 100644 (file)
index 0000000..16f22e6
--- /dev/null
@@ -0,0 +1,91 @@
+Return-Path: <stebalien@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 18F356DE0B14\r
+ for <notmuch@notmuchmail.org>; Fri, 19 Aug 2016 20:12:55 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.637\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.637 tagged_above=-999 required=5 tests=[AWL=0.024,\r
+  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249,\r
+  FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.211, SPF_PASS=-0.001]\r
+ 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 nkTdRgKVoDNT for <notmuch@notmuchmail.org>;\r
+ Fri, 19 Aug 2016 20:12:54 -0700 (PDT)\r
+Received: from mail-io0-f174.google.com (mail-io0-f174.google.com\r
+ [209.85.223.174])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 0EB7D6DE0B00\r
+ for <notmuch@notmuchmail.org>; Fri, 19 Aug 2016 20:12:53 -0700 (PDT)\r
+Received: by mail-io0-f174.google.com with SMTP id q83so65606508iod.1\r
+ for <notmuch@notmuchmail.org>; Fri, 19 Aug 2016 20:12:53 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=sender:from:to:subject:date:message-id:mime-version;\r
+ bh=5rRjUxLBOwbAWNbnaUZibgllT822aiL+qyTRrOlxWNk=;\r
+ b=BmXPSU6ZQqw1rPTF6eHYgkwj3/Y4cRB07RnEL0yyXAkXhv9Fr71nz+L4b4dwHc6y2H\r
+ KSFoCCPTiLsPtSiEjFlc+SvUqLH8FVFvv6KNTORb4dhLxedeeHS7HRJcQc58fpHpPsfQ\r
+ Vjat/7/9EB2GAXXBSGroqVCO//nzNa93K/FFrnSU0Gx8XTS3B+3CQLdYNwtAu8qlZti4\r
+ YNEnBQWkmYYvmqEr4By/dncEjhVw1haqC6vxsxD91wTh2I/WjZsCXFkuCrVysesA6BG0\r
+ N/4KVsDH8XxX6zjjpKEn+gwADqi2On7/V7jnbSPrCxGk/WP6R8lqDWv48tHR2QVwOBbB\r
+ 5zJQ==\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:sender:from:to:subject:date:message-id\r
+ :mime-version;\r
+ bh=5rRjUxLBOwbAWNbnaUZibgllT822aiL+qyTRrOlxWNk=;\r
+ b=fm++IHMHRKLL9Yh61T76sXyQRJb+vChaWXjj5Ogc4rUu0S81LA1ZGNQtXWo/v+TkKZ\r
+ Ss4oMmhLIPaqTMnmzF5oxfrOsg/OJkr+7LTPF7vnGQKF9vjoe4wWAxeAVPQazDgaBkFS\r
+ n/IbzL1RH1UwhAPMt9xZbA1PtRSI8vXq557TjGNjDdbFD2YuXeKehvlGGFoCIc6R+TFV\r
+ VJjMjLdApQPcyO6consSJWxgJQ3xN+E0B2ou+6TaE9BOIMB8G0tbpIpDg+rK95RdHkLm\r
+ ZaWCJEqk+fJDHy3BWNoHE6Q71A8xUCvwfIvVZ2q08l+5OLbJEC+t3G3CaYMMfBFJGS/N\r
+ DTSg==\r
+X-Gm-Message-State:\r
+ AEkoouurxDqBS20U7wC8ElgOzR5VBZd1jGmhrlznXcjBSfewNRTemgFq4QussBJENV2Tcw==\r
+X-Received: by 10.107.53.163 with SMTP id k35mr13354195ioo.75.1471662772761;\r
+ Fri, 19 Aug 2016 20:12:52 -0700 (PDT)\r
+Received: from localhost (30-9-168.wireless.csail.mit.edu. [128.30.9.168])\r
+ by smtp.gmail.com with ESMTPSA id z128sm4681080iof.4.2016.08.19.20.12.52\r
+ for <notmuch@notmuchmail.org>\r
+ (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\r
+ Fri, 19 Aug 2016 20:12:52 -0700 (PDT)\r
+Sender: - <stebalien@gmail.com>\r
+From: Steven Allen <steven@stebalien.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [feature request] emacs: use `notmuch insert` for FCC\r
+Date: Fri, 19 Aug 2016 23:12:51 -0400\r
+Message-ID: <87lgzsb0b0.fsf@stebalien.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.22\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: Sat, 20 Aug 2016 03:12:55 -0000\r
+\r
+\r
+Instead of directly dropping messages into a maildir on FCC, it would be\r
+better to pipe to `notmuch insert --folder=$dir -- $tags`. This way,\r
+\r
+1. The message is indexed immediately and shows up in searches without\r
+requiring a call to `notmuch new`.\r
+2. It can be tagged.\r
+\r
+(unless I'm missing something)\r
+\r
+Unfortunately, I'm not comfortable enough with elisp to implement this myself.\r
+\r
+-- \r
+Steven Allen\r
+((Do Not Email <honeypot@stebalien.com>))\r