Re: [PATCH] lib: reword comment about XFOLDER: prefix
[notmuch-archives.git] / 6d / f84e13f894b645dbae70913a09b68337ac2344
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 arlo.cworth.org (Postfix) with ESMTP id AB0DE6DE09B0\r
6  for <notmuch@notmuchmail.org>; Tue, 14 Apr 2015 06:52:56 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 1.157\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.157 tagged_above=-999 required=5 tests=[AWL=0.505, \r
12  SPF_NEUTRAL=0.652] autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id mENwwVUyUlaM for <notmuch@notmuchmail.org>;\r
16  Tue, 14 Apr 2015 06:52:54 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18  by arlo.cworth.org (Postfix) with ESMTP id D88406DE0948\r
19  for <notmuch@notmuchmail.org>; Tue, 14 Apr 2015 06:52:53 -0700 (PDT)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21  by guru.guru-group.fi (Postfix) with ESMTP id 07C541000F3;\r
22  Tue, 14 Apr 2015 16:52:30 +0300 (EEST)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: francois@avalenn.eu, notmuch@notmuchmail.org\r
25 Subject: Re: "notmuch new" does not remove my file from db (double slash\r
26  problem ?)\r
27 In-Reply-To: <20150414105720.GH3224@fjo-extia-HPdeb.nsn-net.net>\r
28 References: <20150414105720.GH3224@fjo-extia-HPdeb.nsn-net.net>\r
29 User-Agent: Notmuch/0.19+107~gab55bdb (http://notmuchmail.org) Emacs/24.3.1\r
30  (x86_64-unknown-linux-gnu)\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
32  $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
33  !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
34 Date: Tue, 14 Apr 2015 16:52:29 +0300\r
35 Message-ID: <m2y4luyfz6.fsf@guru.guru-group.fi>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.18\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42  <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Tue, 14 Apr 2015 13:52:56 -0000\r
51 \r
52 On Tue, Apr 14 2015, francois@avalenn.eu wrote:\r
53 \r
54 > Hello list,\r
55 >\r
56 > I have a little problem here.\r
57 > I have a message of which I had multiple copies and I deleted one of\r
58 > them but "notmuch new" does not suppress this copy.\r
59 >\r
60 >     $ notmuch search --output=files id:20150216180408.HA14616@myhost\r
61 >     /home/francois/Maildir/my_first_box/cur/1424110151_0.24869.myhost,U=742:2,S\r
62 >     /home/francois/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S\r
63 >     /home/francois/Maildir/my_third_box//cur/1429004021.3224_3.myhost:2,S\r
64 >\r
65 > The last copy is the one I deleted.\r
66 > I tried to readd the message to this box and after I have this status :\r
67 >\r
68 >     $ cp ~/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S ~/Maildir/my_third_box/cur\r
69 >     $ notmuch new\r
70 >     Processed 1 file in almost no time.\r
71 >     No new mail.\r
72 >     $ notmuch search --output=files id:20150216180408.HA14616@myhost\r
73 >     /home/francois/Maildir/my_first_box/cur/1424110151_0.24869.myhost,U=742:2,S\r
74 >     /home/francois/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S\r
75 >     /home/francois/Maildir/my_third_box/cur/1429004021.3224_3.myhost:2,S\r
76 >     /home/francois/Maildir/my_third_box//cur/1429004021.3224_3.myhost:2,S\r
77 >\r
78 > And if I redelete it I come back to beginning :\r
79 >\r
80 >     $ rm ~/Maildir/my_third_box/cur/1429004021.3224_3.myhost:2,S\r
81 >     $ notmuch new\r
82 >     No new mail. Detected 1 file rename.\r
83 >     $ notmuch search --output=files id:20150216180408.HA14616@myhost\r
84 >     /home/francois/Maildir/my_first_box/cur/1424110151_0.24869.myhost,U=742:2,S\r
85 >     /home/francois/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S\r
86 >     /home/francois/Maildir/my_third_box//cur/1429004021.3224_3.myhost:2,S\r
87 >\r
88 >\r
89 > I don't know how the file path with double slash was added in the\r
90 > first place to the DB but I have a real problem with it.\r
91 >\r
92 > Anyone have any idea of how I can solve this ?\r
93 \r
94 When you remoted file from my_third_box/ directory timestamp was updated\r
95 and notmuch new should have noticed file disappearing -- it may be that\r
96 as it has same message id as another it somehow did not get disappeared\r
97 from db.\r
98 \r
99 what you can do is to move all of the messages to another directory,\r
100 run notmuch new, restore (some of) the files and run notmuch new again\r
101 (and then restore tags...)\r
102 \r
103 something like this:\r
104 \r
105 mkdir ~/tmp-20150414\r
106 notmuch search --output=files id:20150216180408.HA14616@myhost | xargs mv -T ~/tmp-20150414\r
107 notmuch new\r
108 mv ~/tmp-20150414/1424110151_0.24869.myhost,U=742:2,S ~/Maildir/my_first_box/cur/\r
109 notmuch new\r
110 \r
111 if you do this, report...\r
112 \r
113 I'll mark this message with notmuch::bug in nmbug (in near future...)\r
114 \r
115 Tomi\r
116 \r
117 \r
118 >\r
119 >     $ notmuch --version\r
120 >     notmuch 0.18.2\r
121 >     $  lsb_release -a\r
122 >     No LSB modules are available.\r
123 >     Distributor ID: Debian\r
124 >     Description:    Debian GNU/Linux 8.0 (jessie)\r
125 >     Release:        8.0\r
126 >     Codename:       jessie\r
127 >     \r
128 >\r
129 >\r
130 >\r
131 > F.\r
132 > _______________________________________________\r
133 > notmuch mailing list\r
134 > notmuch@notmuchmail.org\r
135 > http://notmuchmail.org/mailman/listinfo/notmuch\r