Re: [PATCH 1/2] emacs: Add tests for quoting of MML tags in replies
[notmuch-archives.git] / 94 / 3d0ec1582e0f8704c8b518242819fd1e766e75
1 Return-Path: <tomi.ollila@iki.fi>\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 71E67429E25\r
6         for <notmuch@notmuchmail.org>; Tue, 13 Sep 2011 14:32:11 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id DISrGHAwF3lp for <notmuch@notmuchmail.org>;\r
16         Tue, 13 Sep 2011 14:32:10 -0700 (PDT)\r
17 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 8A413431FB6\r
21         for <notmuch@notmuchmail.org>; Tue, 13 Sep 2011 14:32:10 -0700 (PDT)\r
22 Received: from localhost6.localdomain6 (entry3.nixu.fi [193.209.237.21])\r
23         by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id\r
24         p8DLW8G1022252\r
25         for <notmuch@notmuchmail.org>; Wed, 14 Sep 2011 00:32:08 +0300\r
26 From: tomi.ollila@iki.fi\r
27 To: notmuch@notmuchmail.org\r
28 Subject: [PATCH 0/3] Configuration file option to exclude files/directories\r
29 Date: Wed, 14 Sep 2011 00:32:01 +0300\r
30 Message-Id: <1315949524-4948-1-git-send-email-tomi.ollila@iki.fi>\r
31 X-Mailer: git-send-email 1.7.3.4\r
32 X-BeenThere: notmuch@notmuchmail.org\r
33 X-Mailman-Version: 2.1.13\r
34 Precedence: list\r
35 List-Id: "Use and development of the notmuch mail system."\r
36         <notmuch.notmuchmail.org>\r
37 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
38         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
39 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
40 List-Post: <mailto:notmuch@notmuchmail.org>\r
41 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
42 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
44 X-List-Received-Date: Tue, 13 Sep 2011 21:32:11 -0000\r
45 \r
46 This patch set adds a configuration option 'database.exclude'; a list of\r
47 files/directories to be excluded when doing 'notmuch new' operation.\r
48 \r
49 Notes:\r
50 \r
51 1) Currently the comments for newly created configuration file are not\r
52 updated, so for not this is 'undocumented feature'. Should there be an\r
53 empty configuration line as a placeholder ... ?\r
54 \r
55 2) Whenever some already existing directory is added to the exclude list\r
56 and the parent directory timestamp has not changed, notmuch new will not\r
57 notice the directory has gone (as it still is there), user needs to 'touch'\r
58 the parent directory before next 'notmuch new' no make notmuch notice.\r
59 \r
60 3) count_files() function is not touched. The functionality there has fallen\r
61 behind of add_files_recursive (maildir+tmp check and following symlinks).\r
62 The question there should it be updated, or attempted to merge with\r
63 add_files (as the comment says). count_files() is only called at the beginning\r
64 when database is not yet initialised.\r
65 \r
66 Tomi\r
67 \r
68  notmuch-client.h |    3 ++\r
69  notmuch-config.c |   89 +++++++++++++++++++++++++++++++++++++++--------------\r
70  notmuch-new.c    |   22 ++++++++++++-\r
71  3 files changed, 88 insertions(+), 26 deletions(-)\r
72 \r