Re: Tag sent messages as sent
authorJani Nikula <jani@nikula.org>
Wed, 13 Apr 2016 19:14:20 +0000 (22:14 +0300)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:38 +0000 (16:21 -0700)
25/0392d4acbcd1525e53b66a5640b43caa0c39ad [new file with mode: 0644]

diff --git a/25/0392d4acbcd1525e53b66a5640b43caa0c39ad b/25/0392d4acbcd1525e53b66a5640b43caa0c39ad
new file mode 100644 (file)
index 0000000..3679539
--- /dev/null
@@ -0,0 +1,106 @@
+Return-Path: <jani@nikula.org>\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 3C2BD6DE0159\r
+ for <notmuch@notmuchmail.org>; Wed, 13 Apr 2016 12:16:01 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.191\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.191 tagged_above=-999 required=5\r
+ tests=[AWL=-0.202, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
+ T_SPF_HELO_TEMPERROR=0.01, URIBL_BLOCKED=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 3BHgER-pqBVq for <notmuch@notmuchmail.org>;\r
+ Wed, 13 Apr 2016 12:15:47 -0700 (PDT)\r
+Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com\r
+ [74.125.82.52]) by arlo.cworth.org (Postfix) with ESMTPS id 1F5396DE0127 for\r
+ <notmuch@notmuchmail.org>; Wed, 13 Apr 2016 12:15:36 -0700 (PDT)\r
+Received: by mail-wm0-f52.google.com with SMTP id u206so94235264wme.1\r
+ for <notmuch@notmuchmail.org>; Wed, 13 Apr 2016 12:15:36 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=nikula-org.20150623.gappssmtp.com; s=20150623;\r
+ h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
+ :message-id:mime-version;\r
+ bh=Xfwjb/d7hHAzcG+6c/S3PWGZIPBw5c/2j39hdxKEoc4=;\r
+ b=BSLmy2J0eGfcSqbATvwxkTEs4EqXG6t+z9Id7sL30+Ajqmx+kcdCWioBQS1lyz81BV\r
+ dVHYBZKFKK59gRYEP4Qu/z7+ZcJv1VKoCHGkeF7WC9A3qP0EkiaoLkjYkX5Lnxr0pENp\r
+ 4VpLmtjmgxoxPCQsAMo8LpS2kGh+5ypFefb5ERVk6e/Xkz8CpFCxwxAxOncBNriu8v0T\r
+ 9gfpHu9iMWisnp+w5nkmRtsIcUptXak6KfHBuLMnRYAHpFn8FJqxqyRc0Fhqt6qxOM2+\r
+ PPKzVSZLTLIFjeIOF6MvrukZwmjiXX6W2c420PHKKjtiQHufUCOFM3cHRRmem6XyuynT\r
+ IPBA==\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:in-reply-to:references\r
+ :user-agent:date:message-id:mime-version;\r
+ bh=Xfwjb/d7hHAzcG+6c/S3PWGZIPBw5c/2j39hdxKEoc4=;\r
+ b=cZtgJ90wDq5zQ/fyZBneq6ubBeEu37Vv2qidRD3PhUkQO1tELTDX1I/DWOnUa4pl2x\r
+ aR5s5ihZADAFIZwIxu8+DHvKpuED3Qr1d2qDypa1YS3TAb3ZOnZgUdOBmeesgwF/QYIQ\r
+ QAfpK2+MI+ZeKN4POzXSYyp3WnmBS5q+P/acM2oCWP9it7bNpRc2VWODv35NJkNjEC3I\r
+ K2Qfz9sGmLIK33y3Erb/rZEVx3PreGGh+KG163dFncC6nULtENFVGXHDJhhl5VQop0Y/\r
+ imS4+zrcMmf1sCxX4LRonth5RtPvFRQtcWIwXZ9s+UGV2QwYaIk5sW+hD0tWqBjQOj2o\r
+ 4how==\r
+X-Gm-Message-State:\r
+ AOPr4FXgZkrJuLo+D8x5tVtyUYkNZQ0omGXvqFWRu+HrlN9RERkGzNbfJEAJ28ube6TpUg==\r
+X-Received: by 10.28.139.129 with SMTP id n123mr12097662wmd.13.1460574935192; \r
+ Wed, 13 Apr 2016 12:15:35 -0700 (PDT)\r
+Received: from localhost (mobile-access-bcee7f-102.dhcp.inet.fi.\r
+ [188.238.127.102])\r
+ by smtp.gmail.com with ESMTPSA id r10sm28015699wjf.2.2016.04.13.12.15.34\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Wed, 13 Apr 2016 12:15:34 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Laurence Rochfort <laurence.rochfort@gmail.com>, notmuch@notmuchmail.org\r
+Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+Subject: Re: Tag sent messages as sent\r
+In-Reply-To:\r
+ <CAMof6LCnXyTQNHoiUf0tH1R=Qo5zMBK3sJ3k0vDarKgzFJDi0g@mail.gmail.com>\r
+References:\r
+ <CAMof6LCnXyTQNHoiUf0tH1R=Qo5zMBK3sJ3k0vDarKgzFJDi0g@mail.gmail.com>\r
+User-Agent: Notmuch/0.21+109~g54aeab1 (http://notmuchmail.org) Emacs/24.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Wed, 13 Apr 2016 22:14:20 +0300\r
+Message-ID: <87d1ptwcc3.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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: Wed, 13 Apr 2016 19:16:01 -0000\r
+\r
+On Fri, 01 Apr 2016, Laurence Rochfort <laurence.rochfort@gmail.com> wrote:\r
+> Hello,\r
+>\r
+> I'm trying notmuch via the emacs interface for the first time today.\r
+>\r
+> I've noticed that messages that I've sent are tagged with "inbox", rather\r
+> than "sent" as I'd expect.\r
+>\r
+> I've configured the notmuch-fcc-dirs as follows in my init.el.\r
+>\r
+> (setq notmuch-fcc-dirs "Sent")\r
+>\r
+> Should notmuch emacs client mark sent messages with a sent tag? If not how\r
+> can I do so and stop them appearing in my inbox search?\r
+\r
+Not that it helps you, but the easiest way to implement this would be to\r
+replace our fcc implementation in emacs/notmuch-maildir-fcc.el to use\r
+notmuch insert, as also suggested by Daniel in [1]. This would also\r
+enable fcc in remote notmuch setups.\r
+\r
+BR,\r
+Jani.\r
+\r
+\r
+[1] id:878u3k7t0l.fsf@alice.fifthhorseman.net\r