unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: dm-list-email-notmuch@scs.stanford.edu
To: notmuch@notmuchmail.org
Subject: Re: Enabling and disabling maildir.synchronize_flags
Date: Sun, 16 Aug 2015 12:34:30 -0700	[thread overview]
Message-ID: <87pp2n9g2v.fsf@ta.scs.stanford.edu> (raw)
In-Reply-To: <87614ffl0t.fsf@maritornes.cs.unb.ca>

David Bremner <david@tethera.net> writes:

> David Mazieres <dm-list-email-notmuch@scs.stanford.edu> writes:
>> So my question remains, what's the easiest safe way to re-enable
[ 2 more citation lines. Click/Enter to show. ]
>> synchronize_flags after disabling it?  (Safe meaning it won't change any
>> tags.)  It could be that there's a very simple answer, in which case
>> sticking it in the man page might be nice.
>
> I can't think of a simple, safe, and fast answer.

Okay, thanks.  At least I wasn't missing something obvious.

> 2) when the lastmod changes go in, it seems like you could run the first
>    notmuch new after enabling tag synchonizing, and dump only the tag
>    changes since a checkpoint lastmod value. This would allow rolling
>    back the unwanted tag changes.

Indeed, one of many reasons I'm eagerly awaiting lastmod changes.

> [1]: see this potential test, if for some reason we wanted to
>      guarantee this behaviours.

If we did want this, I'm assuming it would take the form of a new option
to notmuch new (--override-flags) which says to do the synchronization
in the other direction (Xapian -> Maildir)?  There would be benefit to
having such a flag, but I don't know how hard it would be to implement,
so I can't do the cost/benefit analysis.

As a kind of aside, one reason people might want to synchronize flags is
for mobile device support.  I don't regularly access my email from my
mobile phone, but on those rare occasions when I might need to, I set up
an IMAP server and use an imap client on the phone.  I wonder if anyone
has thought about implementing an IMAP-ish server directly on top of
libnotmuch.  (I say IMAP-ish because the obvious SEARCH command
implementation wouldn't be RFC3501-compliant, but who cares when notmuch
has something better.)

Does anyone else use both notmuch but also access email from a mobile
device?  If so what do you do?

David

      parent reply	other threads:[~2015-08-16 19:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01 19:58 Enabling and disabling maildir.synchronize_flags dm-list-email-notmuch
2015-08-16  9:39 ` David Bremner
2015-08-16  9:52   ` David Mazieres
2015-08-16 12:57     ` David Bremner
     [not found]       ` <87vbcf9ge1.fsf@ta.scs.stanford.edu>
2015-08-16 19:34         ` dm-list-email-notmuch [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=87pp2n9g2v.fsf@ta.scs.stanford.edu \
    --to=dm-list-email-notmuch@scs.stanford.edu \
    --cc=notmuch@notmuchmail.org \
    /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).