"notmuch new" does not remove my file from db (double slash problem ?)

francois at avalenn.eu francois at avalenn.eu
Tue Apr 14 03:57:20 PDT 2015


Hello list,

I have a little problem here.
I have a message of which I had multiple copies and I deleted one of
them but "notmuch new" does not suppress this copy.

    $ notmuch search --output=files id:20150216180408.HA14616 at myhost
    /home/francois/Maildir/my_first_box/cur/1424110151_0.24869.myhost,U=742:2,S
    /home/francois/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S
    /home/francois/Maildir/my_third_box//cur/1429004021.3224_3.myhost:2,S

The last copy is the one I deleted.
I tried to readd the message to this box and after I have this status :

    $ cp ~/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S ~/Maildir/my_third_box/cur
    $ notmuch new
    Processed 1 file in almost no time.
    No new mail.
    $ notmuch search --output=files id:20150216180408.HA14616 at myhost
    /home/francois/Maildir/my_first_box/cur/1424110151_0.24869.myhost,U=742:2,S
    /home/francois/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S
    /home/francois/Maildir/my_third_box/cur/1429004021.3224_3.myhost:2,S
    /home/francois/Maildir/my_third_box//cur/1429004021.3224_3.myhost:2,S

And if I redelete it I come back to beginning :

    $ rm ~/Maildir/my_third_box/cur/1429004021.3224_3.myhost:2,S
    $ notmuch new
    No new mail. Detected 1 file rename.
    $ notmuch search --output=files id:20150216180408.HA14616 at myhost
    /home/francois/Maildir/my_first_box/cur/1424110151_0.24869.myhost,U=742:2,S
    /home/francois/Maildir/my_second_box/cur/1424110163_0.24869.myhost,U=14486:2,S
    /home/francois/Maildir/my_third_box//cur/1429004021.3224_3.myhost:2,S


I don't know how the file path with double slash was added in the
first place to the DB but I have a real problem with it.

Anyone have any idea of how I can solve this ?

    $ notmuch --version
    notmuch 0.18.2
    $  lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description:    Debian GNU/Linux 8.0 (jessie)
    Release:        8.0
    Codename:       jessie
    



F.


More information about the notmuch mailing list