unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Sean Whitton <spwhitton@spwhitton.name>, notmuch@notmuchmail.org
Subject: Re: Maildir sync of seen flag confusing with multiple copies
Date: Sat, 19 Aug 2017 20:28:56 -0300	[thread overview]
Message-ID: <87r2w7rvbb.fsf@tethera.net> (raw)
In-Reply-To: <87zib8yw8w.fsf@iris.silentflame.com>

Sean Whitton <spwhitton@spwhitton.name> writes:

> Hello,
>
> If I have multiple copies of a message (e.g. in different subdirectories
> of my mail store), notmuch conveniently only shows me one of them.  Once
> I've read that, though, it seems that only one of the messages in my
> Maildir gets marked as read.
>
> This seems to defeat syncing Maildir flags, because then the message
> will keep showing as unread in other clients.
>

The following (passing) test case is supposed to test exactly that
situation:

test_begin_subtest "Tag changes modify flags of multiple files"
notmuch tag -replied subject:"Duplicated message"
(cd $MAIL_DIR/cur/; ls duplicated*) > actual
test_expect_equal "$(< actual)"  "duplicated-message-another-copy:2,S
duplicated-message-copy:2,S
duplicated-message:2,S"

I wonder what is different about your situation.

d

      reply	other threads:[~2017-08-19 23:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-10  2:47 Maildir sync of seen flag confusing with multiple copies Sean Whitton
2017-08-19 23:28 ` David Bremner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r2w7rvbb.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=spwhitton@spwhitton.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).