[PATCH 0/4] Maildir synchronization

Michal Sojka sojkam1 at fel.cvut.cz
Wed Jun 9 21:59:02 PDT 2010


On Thu, 10 Jun 2010, Dirk Hohndel wrote:
> On Wed, 09 Jun 2010 19:52:42 +0100, Matt Fleming <matt at console-pimps.org> wrote:
> I've been using them for a while as well and love the feature, but I
> keep running into situations where notmuch seems to get out of sync
> regarding file names on disk. I haven't done a lot of searching on what
> exactly causes this - but the symptom is that you'll open a message,
> read it and then try to do something on it (like, save an attachment)
> and suddenly are told that the message file on disk can't be found.
> Or that you reply to a message and just as you are trying to send the
> reply things fail for the same reason.

This is a known limitation.
>From id:1273580061-22580-3-git-send-email-sojkam1 at fel.cvut.cz:

   The reason is that when you view the message its unread tag is
   removed which leads to rename of the file, but Emacs still uses the
   original name to access the attachment.

   Workaround: close the message and open it again.

IMHO, the final solution to this issue would be the "notmuch cat"
command. With this command, emacs would not access the messages by file
name, but by message id. My previous notmuch cat patches didn't have
support for message id and I plan to work on this but not earlier than
the next month.

Bye
Michal


More information about the notmuch mailing list