Re: [notmuch] [PATCH] notmuch: Add Maildir directory name as tag name for messages
authorMichiel Buddingh' <michiel@michielbuddingh.net>
Sun, 22 Nov 2009 16:00:36 +0000 (17:00 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:39 +0000 (09:35 -0800)
fa/b6918df00dae99db75090d8cd813fbf53cba2c [new file with mode: 0644]

diff --git a/fa/b6918df00dae99db75090d8cd813fbf53cba2c b/fa/b6918df00dae99db75090d8cd813fbf53cba2c
new file mode 100644 (file)
index 0000000..326089e
--- /dev/null
@@ -0,0 +1,74 @@
+Return-Path: <michiel@michielbuddingh.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 74DE2431FC4\r
+       for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 08:00:38 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 0NtT+XqUk2AL for <notmuch@notmuchmail.org>;\r
+       Sun, 22 Nov 2009 08:00:36 -0800 (PST)\r
+Received: from aegir.org.uk (aegir.org.uk [87.238.170.13])\r
+       by olra.theworths.org (Postfix) with ESMTP id 6DA8F431FC0\r
+       for <notmuch@notmuchmail.org>; Sun, 22 Nov 2009 08:00:36 -0800 (PST)\r
+Received: from localhost.localdomain (109-9-ftth.onsnetstudenten.nl\r
+       [145.120.9.109])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by aegir.org.uk (Postfix) with ESMTPSA id E43BE2E03C;\r
+       Sun, 22 Nov 2009 17:00:35 +0100 (CET)\r
+Date: Sun, 22 Nov 2009 17:00:36 +0100\r
+From: Michiel Buddingh' <michiel@michielbuddingh.net>\r
+To: djcb@djcbsoftware.nl\r
+Message-ID: <4b096024.f5WEZqYlMxgYs/o1%michiel@michielbuddingh.net>\r
+References: <87fx8bygi7.fsf@linux.vnet.ibm.com>\r
+       <87bpiv4t9h.fsf@yoom.home.cworth.org>\r
+       <87y6lz39nd.fsf@yoom.home.cworth.org>\r
+       <20091121221207.GB17268@jukie.net>\r
+       <9cce5525b093b87fe74d427954ffad89@localhost>\r
+       <87d43b2oif.fsf@yoom.home.cworth.org>\r
+       <9bfdedddeab9c58cd45d8d448323d0fc@localhost>\r
+       <87vdh2n7y2.wl%djcb@djcbsoftware.nl>\r
+In-Reply-To: <87vdh2n7y2.wl%djcb@djcbsoftware.nl>\r
+User-Agent: Heirloom mailx 12.4 7/29/08\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Transfer-Encoding: 7bit\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: [notmuch] [PATCH] notmuch: Add Maildir directory name as tag\r
+       name for messages\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 22 Nov 2009 16:00:38 -0000\r
+\r
+Dirk-Jan C. Binnema <djcb.bulk@gmail.com> wrote:\r
+>     Michiel> +\r
+>     Michiel> +static void\r
+>     Michiel> +derive_tags_from_maildir_flags (notmuch_message_t \r
+>     Michiel> *message, const char *\r
+>     Michiel> path)\r
+>\r
+> I see you don't handle the "N" -- is that deliberate? Also, a \r
+> minor addition may to also allow for '!' instead of ':' as a \r
+> separator, as that's the semi-official way to use Maildirs on \r
+> (V)FAT filesystems (which don't allow for colons in filenames).\r
+\r
+Not deliberate.  Simply unaware of the "N" flag, nor aware of \r
+practices for storing Maildirs on (V)FAT.\r
+\r
+I've used only this file as a reference.\r
+http://cr.yp.to/proto/maildir.html\r
+\r
+mvg,\r
+Michiel Buddingh'\r