Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 48 / 46ee40e60bd3458e186d7963066aec15a63e4b
1 Return-Path: <kedals0@gmail.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 45D99431FB6\r
6         for <notmuch@notmuchmail.org>; Wed, 20 Mar 2013 02:02:33 -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.201\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id vEwF92F39+o0 for <notmuch@notmuchmail.org>;\r
18         Wed, 20 Mar 2013 02:02:32 -0700 (PDT)\r
19 Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com\r
20  [74.125.82.51])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
21  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
22  AAA7A431FAF    for <notmuch@notmuchmail.org>; Wed, 20 Mar 2013 02:02:32 -0700\r
23  (PDT)\r
24 Received: by mail-wg0-f51.google.com with SMTP id 8so1121287wgl.30\r
25         for <notmuch@notmuchmail.org>; Wed, 20 Mar 2013 02:02:30 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=x-received:from:to:subject:user-agent:date:message-id:mime-version\r
28         :content-type:content-transfer-encoding;\r
29         bh=qnrC3Id9rGFVKLgGzHJTdxhI8dbUYs7kZh/bKOVQr8o=;\r
30         b=VTm4xtiiHiuDomn9q+Z1pGKYumKNSElwdgv7GBxfMJr/3H8LMoqvBwbzBCyDf4iUU2\r
31         rM1lJu/QGdvUsxoY6OECisWd6basBFNlUjx0KuGLvgtfQdbL/Fr2GMN0piBa/m/Ibiwj\r
32         I1FKKw8V88aOqmY57Xbd/hy/FbiPETJKFdhyv5gmOOfz0a7iXxHUIuPf+rQXfiA8yX9S\r
33         fJoJUQwEWVE3dB1X9fxqXr1KtL5pEKHCJCu+VMW5vM5VbK+urnYwcetmbUN3UmAR8/hZ\r
34         WUWRn9NODnGXf9qb1SI59JMZ4xr0/npx5zV4j4rJ6dETQoQhW654Af1KBmuHU2onUhdo\r
35         QO6Q==\r
36 X-Received: by 10.180.38.101 with SMTP id f5mr2159667wik.25.1363770150181;\r
37         Wed, 20 Mar 2013 02:02:30 -0700 (PDT)\r
38 Received: from localhost (AStrasbourg-156-1-129-186.w90-6.abo.wanadoo.fr.\r
39         [90.6.64.186])\r
40         by mx.google.com with ESMTPS id j4sm5512434wiz.10.2013.03.20.02.02.28\r
41         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
42         Wed, 20 Mar 2013 02:02:29 -0700 (PDT)\r
43 From: kedals0@gmail.com\r
44 To: notmuch@notmuchmail.org\r
45 Subject: Strange behavior on manually files moving\r
46 User-Agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.4.1\r
47         (x86_64-pc-linux-gnu)\r
48 Date: Wed, 20 Mar 2013 10:02:20 +0100\r
49 Message-ID: <87vc8me95v.fsf@compaq.home>\r
50 MIME-Version: 1.0\r
51 Content-Type: text/plain; charset=utf-8\r
52 Content-Transfer-Encoding: quoted-printable\r
53 X-BeenThere: notmuch@notmuchmail.org\r
54 X-Mailman-Version: 2.1.13\r
55 Precedence: list\r
56 List-Id: "Use and development of the notmuch mail system."\r
57         <notmuch.notmuchmail.org>\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
61 List-Post: <mailto:notmuch@notmuchmail.org>\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
65 X-List-Received-Date: Wed, 20 Mar 2013 09:02:33 -0000\r
66 \r
67 Hello,\r
68 \r
69 When I manually move some messages, these changes are detected by\r
70 notmuch but it doesn't remove these files of its database.\r
71 I think, it's more clear to show you an example:\r
72 \r
73 1) Initialisation\r
74    toto@compaq:~$ notmuch new\r
75    No new mail.\r
76 \r
77 2) I show you the initial location of the message that we will move\r
78    toto@compaq:~$ ls /home/toto/mail/drafts/cur/#*message*-20130312-163131#=\r
79 :2,DS\r
80    /home/toto/mail/drafts/cur/#*message*-20130312-163131#:2,DS\r
81 \r
82 3) we move this message\r
83    toto@compaq:~$ mv /home/toto/mail/drafts/cur/#*message*-20130312-163131#=\r
84 :2,DS /home/toto/mail/local/trash/cur/\r
85 \r
86 4) we update notmuch database\r
87    toto@compaq:~$ notmuch new\r
88    Processed 1 file in almost no time.\r
89    No new mail. Removed 1 message.\r
90 \r
91 5) we can observe that old message location still exist in the db\r
92    toto@compaq:~$ notmuch search --output=3Dfiles tag:draft folder:local/tr=\r
93 ash/\r
94    /home/toto/mail/local/trash/cur/#*message*-20130312-163131#:2,DS\r
95    /home/toto/mail/drafts/cur/#*message*-20130312-163131#:2,DS\r
96 \r
97 6) but no file exist at this location.\r
98    toto@compaq:~$ ls /home/toto/mail/drafts/cur/#*message*-20130312-163131#=\r
99 :2,DS\r
100    ls: impossible d'acc=C3=A9der =C3=A0 /home/toto/mail/drafts/cur/#*messag=\r
101 e*-20130312-163131#:2,DS: Aucun fichier ou dossier de ce type\r
102 \r
103 \r
104 I don't understand this problem because this usecase is close from a\r
105 file deletion which works.\r
106 \r
107 Would anyone have an idea ?\r
108 \r
109 Thx,\r
110 Dal.\r
111 \r