[PATCH] Have notmuch count default to showing the total.
[notmuch-archives.git] / c6 / 82466d53b576a444fc2db12e680ab9df430123
1 Return-Path: <jan@ryngle.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id BC605431FBF\r
6         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 14:37:26 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id sL7mR8lUbS8n for <notmuch@notmuchmail.org>;\r
11         Sat, 21 Nov 2009 14:37:26 -0800 (PST)\r
12 Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com\r
13         [209.85.218.224])\r
14         by olra.theworths.org (Postfix) with ESMTP id 0AB08431FAE\r
15         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 14:37:25 -0800 (PST)\r
16 Received: by bwz24 with SMTP id 24so3155111bwz.30\r
17         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 14:37:25 -0800 (PST)\r
18 MIME-Version: 1.0\r
19 Received: by 10.204.25.198 with SMTP id a6mr3033326bkc.31.1258843045290; Sat, \r
20         21 Nov 2009 14:37:25 -0800 (PST)\r
21 Date: Sat, 21 Nov 2009 23:37:24 +0100\r
22 Message-ID: <f35dbb950911211437q34923ee8w14b1ef65a204b09f@mail.gmail.com>\r
23 From: Jan Janak <jan@ryngle.com>\r
24 To: Not Much Mail <notmuch@notmuchmail.org>\r
25 Content-Type: text/plain; charset=UTF-8\r
26 Subject: [notmuch] RFC: Multiple filenames for email messages\r
27 X-BeenThere: notmuch@notmuchmail.org\r
28 X-Mailman-Version: 2.1.12\r
29 Precedence: list\r
30 List-Id: "Use and development of the notmuch mail system."\r
31         <notmuch.notmuchmail.org>\r
32 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
33         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
34 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
35 List-Post: <mailto:notmuch@notmuchmail.org>\r
36 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
37 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
38         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
39 X-List-Received-Date: Sat, 21 Nov 2009 22:37:26 -0000\r
40 \r
41 The comment of _notmuch_message_set_filename says:\r
42 \r
43    XXX: We should still figure out if we think it's important to store\r
44    multiple filenames for email messages with identical message IDs.\r
45 \r
46 I have lots of such messages in my email collection, both in my local\r
47 copy of my Gmail account and also in the local copy of my company's\r
48 IMAP account.\r
49 \r
50 My dream mail indexing tool should be able to apply tags automatically\r
51 based on, among other things, the name of the directory the message is\r
52 stored in. If there are multiple copies of the same message scattered\r
53 across multiple directories, I would like to apply more tags.\r
54 \r
55 I assume that most tags will be applied (either manually or\r
56 automatically) after 'notmuch-new', I currently do some of it with a\r
57 simple shell script. The script does not apply tags based on directory\r
58 names yet, but it would make notmuch really flexible if we could do\r
59 that *and* if we could get access to all filenames of a particular\r
60 message.\r
61 \r
62 I'd like to propose that we store all filenames for email messages in\r
63 the database, not just one per message. I'd be happy to work on it and\r
64 submit a patch if others think that this would be good to have.\r
65 \r
66   -- Jan\r