--- /dev/null
+Return-Path: <kedals0@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 45D99431FB6\r
+ for <notmuch@notmuchmail.org>; Wed, 20 Mar 2013 02:02:33 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.201\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+ RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id vEwF92F39+o0 for <notmuch@notmuchmail.org>;\r
+ Wed, 20 Mar 2013 02:02:32 -0700 (PDT)\r
+Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com\r
+ [74.125.82.51]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client\r
+ certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
+ AAA7A431FAF for <notmuch@notmuchmail.org>; Wed, 20 Mar 2013 02:02:32 -0700\r
+ (PDT)\r
+Received: by mail-wg0-f51.google.com with SMTP id 8so1121287wgl.30\r
+ for <notmuch@notmuchmail.org>; Wed, 20 Mar 2013 02:02:30 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=x-received:from:to:subject:user-agent:date:message-id:mime-version\r
+ :content-type:content-transfer-encoding;\r
+ bh=qnrC3Id9rGFVKLgGzHJTdxhI8dbUYs7kZh/bKOVQr8o=;\r
+ b=VTm4xtiiHiuDomn9q+Z1pGKYumKNSElwdgv7GBxfMJr/3H8LMoqvBwbzBCyDf4iUU2\r
+ rM1lJu/QGdvUsxoY6OECisWd6basBFNlUjx0KuGLvgtfQdbL/Fr2GMN0piBa/m/Ibiwj\r
+ I1FKKw8V88aOqmY57Xbd/hy/FbiPETJKFdhyv5gmOOfz0a7iXxHUIuPf+rQXfiA8yX9S\r
+ fJoJUQwEWVE3dB1X9fxqXr1KtL5pEKHCJCu+VMW5vM5VbK+urnYwcetmbUN3UmAR8/hZ\r
+ WUWRn9NODnGXf9qb1SI59JMZ4xr0/npx5zV4j4rJ6dETQoQhW654Af1KBmuHU2onUhdo\r
+ QO6Q==\r
+X-Received: by 10.180.38.101 with SMTP id f5mr2159667wik.25.1363770150181;\r
+ Wed, 20 Mar 2013 02:02:30 -0700 (PDT)\r
+Received: from localhost (AStrasbourg-156-1-129-186.w90-6.abo.wanadoo.fr.\r
+ [90.6.64.186])\r
+ by mx.google.com with ESMTPS id j4sm5512434wiz.10.2013.03.20.02.02.28\r
+ (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+ Wed, 20 Mar 2013 02:02:29 -0700 (PDT)\r
+From: kedals0@gmail.com\r
+To: notmuch@notmuchmail.org\r
+Subject: Strange behavior on manually files moving\r
+User-Agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Wed, 20 Mar 2013 10:02:20 +0100\r
+Message-ID: <87vc8me95v.fsf@compaq.home>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 20 Mar 2013 09:02:33 -0000\r
+\r
+Hello,\r
+\r
+When I manually move some messages, these changes are detected by\r
+notmuch but it doesn't remove these files of its database.\r
+I think, it's more clear to show you an example:\r
+\r
+1) Initialisation\r
+ toto@compaq:~$ notmuch new\r
+ No new mail.\r
+\r
+2) I show you the initial location of the message that we will move\r
+ toto@compaq:~$ ls /home/toto/mail/drafts/cur/#*message*-20130312-163131#=\r
+:2,DS\r
+ /home/toto/mail/drafts/cur/#*message*-20130312-163131#:2,DS\r
+\r
+3) we move this message\r
+ toto@compaq:~$ mv /home/toto/mail/drafts/cur/#*message*-20130312-163131#=\r
+:2,DS /home/toto/mail/local/trash/cur/\r
+\r
+4) we update notmuch database\r
+ toto@compaq:~$ notmuch new\r
+ Processed 1 file in almost no time.\r
+ No new mail. Removed 1 message.\r
+\r
+5) we can observe that old message location still exist in the db\r
+ toto@compaq:~$ notmuch search --output=3Dfiles tag:draft folder:local/tr=\r
+ash/\r
+ /home/toto/mail/local/trash/cur/#*message*-20130312-163131#:2,DS\r
+ /home/toto/mail/drafts/cur/#*message*-20130312-163131#:2,DS\r
+\r
+6) but no file exist at this location.\r
+ toto@compaq:~$ ls /home/toto/mail/drafts/cur/#*message*-20130312-163131#=\r
+:2,DS\r
+ ls: impossible d'acc=C3=A9der =C3=A0 /home/toto/mail/drafts/cur/#*messag=\r
+e*-20130312-163131#:2,DS: Aucun fichier ou dossier de ce type\r
+\r
+\r
+I don't understand this problem because this usecase is close from a\r
+file deletion which works.\r
+\r
+Would anyone have an idea ?\r
+\r
+Thx,\r
+Dal.\r
+\r