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