[PATCH v2 2/7] emacs: Use text properties instead of overlays for tag coloring
[notmuch-archives.git] / ca / 66e10c222611e8312541d3c7b53a4a2a9299e6
1 Return-Path: <sojkam1@fel.cvut.cz>\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 640DA40D144\r
6         for <notmuch@notmuchmail.org>; Wed, 13 Oct 2010 05:14:25 -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: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] autolearn=ham\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 ebJ4Mghl-G-N for <notmuch@notmuchmail.org>;\r
16         Wed, 13 Oct 2010 05:14:12 -0700 (PDT)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id E9D2840D143\r
19         for <notmuch@notmuchmail.org>; Wed, 13 Oct 2010 05:14:11 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 45E8E19F33E2;\r
22         Wed, 13 Oct 2010 14:14:11 +0200 (CEST)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id 3akFoJJMFIoC; Wed, 13 Oct 2010 14:14:09 +0200 (CEST)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id DAD9619F33CC;\r
30         Wed, 13 Oct 2010 14:14:09 +0200 (CEST)\r
31 Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id D95B915C082;\r
34         Wed, 13 Oct 2010 14:14:09 +0200 (CEST)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1P60Dg-0005VH-DA; Wed, 13 Oct 2010 14:14:08 +0200\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: notmuch@notmuchmail.org\r
40 Subject: [PATCH 0/4] Maildir synchronization v2\r
41 Date: Wed, 13 Oct 2010 14:13:54 +0200\r
42 Message-Id: <1286972038-21064-1-git-send-email-sojkam1@fel.cvut.cz>\r
43 X-Mailer: git-send-email 1.7.1.3.g75e44\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.13\r
46 Precedence: list\r
47 List-Id: "Use and development of the notmuch mail system."\r
48         <notmuch.notmuchmail.org>\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
52 List-Post: <mailto:notmuch@notmuchmail.org>\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
56 X-List-Received-Date: Wed, 13 Oct 2010 12:14:25 -0000\r
57 \r
58 Hi,\r
59 \r
60 this is an updated version of patches sent in\r
61 id:1273580061-22580-1-git-send-email-sojkam1@fel.cvut.cz. Only the last\r
62 patch (tests) was actually updated to work with new test suite. These\r
63 patches has already been tested by several people and I think they are\r
64 ready to be merged. They can be pulled by:\r
65 \r
66 git pull git://rtime.felk.cvut.cz/notmuch maildir-sync-v2\r
67 \r
68 These patches implement synchronization between maildir flags and\r
69 notmuch tags. The synchronization can be configured to not happen at\r
70 all (default), to set/unset tags when importing new (or new and\r
71 renamed) messages and to happen in both directions - set/unset tags\r
72 during importing and change maildir flags during tagging.\r
73 \r
74 THERE IS CURRENTLY ONE KNOWN ISSUE: Viewing/storing of attachments of\r
75 unread messages doesn't work. The reason is that when you view the\r
76 message its unread tag is removed which causes the file to be renamed,\r
77 but Emacs still uses the original name to access the attachment. You can\r
78 workaround this by closing the message and opening it again. This issue\r
79 will be fixed after we (I) implement "notmuch cat" command. With this\r
80 command, emacs would not access the messages by the file name, but by\r
81 running notmuch cat id:<message-id> which will always give the correct\r
82 content.\r
83 \r
84 Michal Sojka (4):\r
85   lib: Return added message even if it already was in the database\r
86   Maildir synchronization\r
87   Make maildir synchronization configurable\r
88   Tests for maildir synchronization\r
89 \r
90  lib/database-private.h |    2 +-\r
91  lib/database.cc        |   19 ++++-\r
92  lib/message.cc         |  226 ++++++++++++++++++++++++++++++++++++++++++++++++\r
93  lib/notmuch-private.h  |    4 +\r
94  lib/notmuch.h          |   29 ++++++-\r
95  notmuch-client.h       |    7 ++\r
96  notmuch-config.c       |   48 ++++++++++\r
97  notmuch-new.c          |    7 ++-\r
98  notmuch-restore.c      |    2 +\r
99  notmuch-setup.c        |   17 ++++\r
100  notmuch-tag.c          |    2 +\r
101  test/maildir-sync      |  216 +++++++++++++++++++++++++++++++++++++++++++++\r
102  test/notmuch-test      |    2 +-\r
103  test/test-lib.sh       |   14 +++-\r
104  14 files changed, 588 insertions(+), 7 deletions(-)\r
105  create mode 100755 test/maildir-sync\r
106 \r