Re: Forcing a sync of maildir flags?

2022-05-03 Thread Sean Whitton
Hello, On Tue 03 May 2022 at 09:14AM -03, David Bremner wrote: > I have the same intuition. Unfortunately it is not as simple as adding > in a couple calls to this function. The complications I am aware of so > far are > > 1) We need to distinguish between when a newly discovered file should > up

Re: Forcing a sync of maildir flags?

2022-05-03 Thread David Bremner
Sean Whitton writes: > Hello David, >> # next line is a no-op, because it already doesn't have the unread tag >> notmuch tag -unread folder:sent > > Seems also worth noting that to my mind it ultimately shouldn't be > necessary to run that command -- notmuch should notice that one copy of > the m

Re: Forcing a sync of maildir flags?

2022-05-02 Thread Sean Whitton
Hello David, On Sun 01 May 2022 at 08:23PM -03, David Bremner wrote: > Sean Whitton writes: >> >> Thanks. Let me record in this thread what I will believe it will take a >> reproduce this in a test: >> >> 1) inbox and sent are Maildirs >> >> 1) Compose mail to a mailing list which will return c

Re: Forcing a sync of maildir flags?

2022-05-01 Thread David Bremner
Sean Whitton writes: > > Thanks. Let me record in this thread what I will believe it will take a > reproduce this in a test: > > 1) inbox and sent are Maildirs > > 1) Compose mail to a mailing list which will return copies of >submissions, with `Fcc: sent -unread` Since you mention Fcc, are

Re: Forcing a sync of maildir flags?

2022-04-13 Thread Gregor Zattler
Hi Sean, * Sean Whitton [2022-04-04; 21:48]: > On Tue 22 Mar 2022 at 12:44pm -07, Sean Whitton wrote: > >> I am seeing this bug, or a closely related one, a whole lot right now. >> Messages are coming back as unread over and over again. me too. And it's not only messages from me, but also messag

Re: Forcing a sync of maildir flags?

2022-04-04 Thread Sean Whitton
Hello, On Tue 22 Mar 2022 at 12:44pm -07, Sean Whitton wrote: > I am seeing this bug, or a closely related one, a whole lot right now. > Messages are coming back as unread over and over again. I recently made > some changes to my notmuch cronjobs, so that probably has something to > do with it,

Re: Forcing a sync of maildir flags?

2022-03-22 Thread Sean Whitton
Hello David, On Thu 20 Feb 2020 at 08:22AM -04, David Bremner wrote: > Sean Whitton writes: > >> I have this in my post-new hook: >> >> notmuch tag -unread -- folder:sent >> >> The idea is that copies of my sent mail which get returned to me and >> stored in my inbox, e.g. by mailing lists,

Re: Forcing a sync of maildir flags?

2020-02-21 Thread Sean Whitton
Hello, On Thu 20 Feb 2020 at 08:06PM -04, David Bremner wrote: > Sean Whitton writes: > >> So, your hypothesis is that notmuch is opting not to add the Seen flag >> in order to avoid having to move the message from new to cur, for the >> sake of mutt, but that's a bug because I've explicitly req

Re: Forcing a sync of maildir flags?

2020-02-20 Thread David Bremner
Sean Whitton writes: > So, your hypothesis is that notmuch is opting not to add the Seen flag > in order to avoid having to move the message from new to cur, for the > sake of mutt, but that's a bug because I've explicitly requested adding > Seen, so it ought to go ahead and move it from new to c

Re: Forcing a sync of maildir flags?

2020-02-20 Thread Sean Whitton
Hello David, Thank you for your reply. On Thu 20 Feb 2020 at 08:22AM -04, David Bremner wrote: > Sean Whitton writes: > >> I have this in my post-new hook: >> >> notmuch tag -unread -- folder:sent >> >> The idea is that copies of my sent mail which get returned to me and >> stored in my inb

Re: Forcing a sync of maildir flags?

2020-02-20 Thread David Bremner
David Bremner writes: >> This works: >> >> notmuch tag +unread -- folder:sent >> notmuch tag -unread -- folder:sent >> >> Is there some more elegant way to force a sync of maildir flags? Am I >> the only one that has copies of my own mail in my inbox folder, not >> marked as read from th

Re: Forcing a sync of maildir flags?

2020-02-20 Thread David Bremner
Sean Whitton writes: > I have this in my post-new hook: > > notmuch tag -unread -- folder:sent > > The idea is that copies of my sent mail which get returned to me and > stored in my inbox, e.g. by mailing lists, would get maildir Seen tags > added to them. But that does not happen. I guess

Forcing a sync of maildir flags?

2020-02-19 Thread Sean Whitton
Hello, I have this in my post-new hook: notmuch tag -unread -- folder:sent The idea is that copies of my sent mail which get returned to me and stored in my inbox, e.g. by mailing lists, would get maildir Seen tags added to them. But that does not happen. This works: notmuch tag +unre