--- /dev/null
+Return-Path: <francois@avalenn.eu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 174216DE025E\r
+ for <notmuch@notmuchmail.org>; Tue, 14 Apr 2015 04:18:00 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.874\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.874 tagged_above=-999 required=5 tests=[AWL=1.574, \r
+ RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id lMck66pRT5rU for <notmuch@notmuchmail.org>;\r
+ Tue, 14 Apr 2015 04:17:57 -0700 (PDT)\r
+X-Greylist: delayed 993 seconds by postgrey-1.35 at arlo;\r
+ Tue, 14 Apr 2015 04:17:57 PDT\r
+Received: from slow1-d.mail.gandi.net (slow1-d.mail.gandi.net [217.70.178.86])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 03BD26DE0243\r
+ for <notmuch@notmuchmail.org>; Tue, 14 Apr 2015 04:17:56 -0700 (PDT)\r
+Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net\r
+ [217.70.183.197])\r
+ by slow1-d.mail.gandi.net (Postfix) with ESMTP id 711A347EB99\r
+ for <notmuch@notmuchmail.org>; Tue, 14 Apr 2015 13:01:21 +0200 (CEST)\r
+Received: from mfilter41-d.gandi.net (mfilter41-d.gandi.net [217.70.178.173])\r
+ by relay5-d.mail.gandi.net (Postfix) with ESMTP id 0A0AC41C08A\r
+ for <notmuch@notmuchmail.org>; Tue, 14 Apr 2015 13:01:17 +0200 (CEST)\r
+X-Virus-Scanned: Debian amavisd-new at mfilter41-d.gandi.net\r
+Received: from relay5-d.mail.gandi.net ([217.70.183.197])\r
+ by mfilter41-d.gandi.net (mfilter41-d.gandi.net [10.0.15.180]) (amavisd-new,\r
+ port 10024) with ESMTP id VDsjnRSZmSpa for <notmuch@notmuchmail.org>;\r
+ Tue, 14 Apr 2015 13:01:13 +0200 (CEST)\r
+X-Originating-IP: 62.159.77.186\r
+Received: from localhost (unknown [62.159.77.186])\r
+ (Authenticated sender: francois@avalenn.eu)\r
+ by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 695B741C08F\r
+ for <notmuch@notmuchmail.org>; Tue, 14 Apr 2015 13:01:13 +0200 (CEST)\r
+Date: Tue, 14 Apr 2015 12:57:20 +0200\r
+From: francois@avalenn.eu\r
+To: notmuch@notmuchmail.org\r
+Subject: "notmuch new" does not remove my file from db (double slash problem\r
+ ?)\r
+Message-ID: <20150414105720.GH3224@fjo-extia-HPdeb.nsn-net.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12)\r
+X-Mailman-Approved-At: Tue, 14 Apr 2015 06:04:52 -0700\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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: Tue, 14 Apr 2015 11:18:00 -0000\r
+\r
+Hello list,\r
+\r
+I have a little problem here.\r
+I have a message of which I had multiple copies and I deleted one of\r
+them but "notmuch new" does not suppress this copy.\r
+\r
+ $ notmuch search --output=files id:20150216180408.HA14616@myhost\r
+ /home/francois/Maildir/my_first_box/cur/1424110151_0.24869.myhost,U=742:2,S\r
+ /home/francois/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S\r
+ /home/francois/Maildir/my_third_box//cur/1429004021.3224_3.myhost:2,S\r
+\r
+The last copy is the one I deleted.\r
+I tried to readd the message to this box and after I have this status :\r
+\r
+ $ cp ~/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S ~/Maildir/my_third_box/cur\r
+ $ notmuch new\r
+ Processed 1 file in almost no time.\r
+ No new mail.\r
+ $ notmuch search --output=files id:20150216180408.HA14616@myhost\r
+ /home/francois/Maildir/my_first_box/cur/1424110151_0.24869.myhost,U=742:2,S\r
+ /home/francois/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S\r
+ /home/francois/Maildir/my_third_box/cur/1429004021.3224_3.myhost:2,S\r
+ /home/francois/Maildir/my_third_box//cur/1429004021.3224_3.myhost:2,S\r
+\r
+And if I redelete it I come back to beginning :\r
+\r
+ $ rm ~/Maildir/my_third_box/cur/1429004021.3224_3.myhost:2,S\r
+ $ notmuch new\r
+ No new mail. Detected 1 file rename.\r
+ $ notmuch search --output=files id:20150216180408.HA14616@myhost\r
+ /home/francois/Maildir/my_first_box/cur/1424110151_0.24869.myhost,U=742:2,S\r
+ /home/francois/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S\r
+ /home/francois/Maildir/my_third_box//cur/1429004021.3224_3.myhost:2,S\r
+\r
+\r
+I don't know how the file path with double slash was added in the\r
+first place to the DB but I have a real problem with it.\r
+\r
+Anyone have any idea of how I can solve this ?\r
+\r
+ $ notmuch --version\r
+ notmuch 0.18.2\r
+ $ lsb_release -a\r
+ No LSB modules are available.\r
+ Distributor ID: Debian\r
+ Description: Debian GNU/Linux 8.0 (jessie)\r
+ Release: 8.0\r
+ Codename: jessie\r
+ \r
+\r
+\r
+\r
+F.\r