[notmuch] RFC: Multiple filenames for email messages
authorJan Janak <jan@ryngle.com>
Sat, 21 Nov 2009 22:37:24 +0000 (23:37 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:38 +0000 (09:35 -0800)
c6/82466d53b576a444fc2db12e680ab9df430123 [new file with mode: 0644]

diff --git a/c6/82466d53b576a444fc2db12e680ab9df430123 b/c6/82466d53b576a444fc2db12e680ab9df430123
new file mode 100644 (file)
index 0000000..862e8b2
--- /dev/null
@@ -0,0 +1,66 @@
+Return-Path: <jan@ryngle.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 olra.theworths.org (Postfix) with ESMTP id BC605431FBF\r
+       for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 14:37:26 -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 sL7mR8lUbS8n for <notmuch@notmuchmail.org>;\r
+       Sat, 21 Nov 2009 14:37:26 -0800 (PST)\r
+Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com\r
+       [209.85.218.224])\r
+       by olra.theworths.org (Postfix) with ESMTP id 0AB08431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 14:37:25 -0800 (PST)\r
+Received: by bwz24 with SMTP id 24so3155111bwz.30\r
+       for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 14:37:25 -0800 (PST)\r
+MIME-Version: 1.0\r
+Received: by 10.204.25.198 with SMTP id a6mr3033326bkc.31.1258843045290; Sat, \r
+       21 Nov 2009 14:37:25 -0800 (PST)\r
+Date: Sat, 21 Nov 2009 23:37:24 +0100\r
+Message-ID: <f35dbb950911211437q34923ee8w14b1ef65a204b09f@mail.gmail.com>\r
+From: Jan Janak <jan@ryngle.com>\r
+To: Not Much Mail <notmuch@notmuchmail.org>\r
+Content-Type: text/plain; charset=UTF-8\r
+Subject: [notmuch] RFC: Multiple filenames for email 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: Sat, 21 Nov 2009 22:37:26 -0000\r
+\r
+The comment of _notmuch_message_set_filename says:\r
+\r
+   XXX: We should still figure out if we think it's important to store\r
+   multiple filenames for email messages with identical message IDs.\r
+\r
+I have lots of such messages in my email collection, both in my local\r
+copy of my Gmail account and also in the local copy of my company's\r
+IMAP account.\r
+\r
+My dream mail indexing tool should be able to apply tags automatically\r
+based on, among other things, the name of the directory the message is\r
+stored in. If there are multiple copies of the same message scattered\r
+across multiple directories, I would like to apply more tags.\r
+\r
+I assume that most tags will be applied (either manually or\r
+automatically) after 'notmuch-new', I currently do some of it with a\r
+simple shell script. The script does not apply tags based on directory\r
+names yet, but it would make notmuch really flexible if we could do\r
+that *and* if we could get access to all filenames of a particular\r
+message.\r
+\r
+I'd like to propose that we store all filenames for email messages in\r
+the database, not just one per message. I'd be happy to work on it and\r
+submit a patch if others think that this would be good to have.\r
+\r
+  -- Jan\r