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