Re: [PATCH 0/4] Maildir synchronization v2

Subject: Re: [PATCH 0/4] Maildir synchronization v2

Date: Wed, 13 Oct 2010 10:50:36 -0400

To: Michal Sojka

Cc: notmuch@notmuchmail.org

From: Servilio Afre Puentes


On 13 October 2010 08:13, Michal Sojka <sojkam1@fel.cvut.cz> wrote:
[...]
> THERE IS CURRENTLY ONE KNOWN ISSUE: Viewing/storing of attachments of
> unread messages doesn't work. The reason is that when you view the
> message its unread tag is removed which causes the file to be renamed,
> but Emacs still uses the original name to access the attachment. You can
> workaround this by closing the message and opening it again. This issue
> will be fixed after we (I) implement "notmuch cat" command. With this
> command, emacs would not access the messages by the file name, but by
> running notmuch cat id:<message-id> which will always give the correct
> content.

Wouldn't it be more efficient to query notmuch for the filename using
the message ID we store in the DB? When network usage is implemented,
tramp can give us transparent remote file access in emacs.

Regards,

Servilio

Thread: