unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Enabling and disabling maildir.synchronize_flags
@ 2015-07-01 19:58 dm-list-email-notmuch
  2015-08-16  9:39 ` David Bremner
  0 siblings, 1 reply; 5+ messages in thread
From: dm-list-email-notmuch @ 2015-07-01 19:58 UTC (permalink / raw)
  To: notmuch

Sorry if this question is answered somewhere, but I'm wondering:  What
is the best way to enable and disable maildir.synchronize_flags?

It seems that disabling it should simply be safe.  But re-enabling, one
risks losing tags, as the next notmuch new will cause old maildir flags
to override the xapian database.  So that suggests something like:

   notmuch dump > backup
   notmuch config set maildir.synchronize_flags false
   # Do I need to run notmuch new here?
   notmuch restore < backup

Is that safe?  The man page suggests one additionally need to run
notmuch new before running notmuch restore.  All of this is pretty slow.
Is there a more efficient way?

A one or two sentence clarification in the notmuch-config man page might
be helpful to people contemplating playing with this switch.  The
default is on, to I suspect it costs a lot of performance.  I've been
afraid to turn it off for fear that I won't be able to undo this
cleanly.

Thanks,
David

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-16 19:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).