Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 8ED756DE021E for ; Sun, 16 Aug 2015 03:15:55 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -1.792 X-Spam-Level: X-Spam-Status: No, score=-1.792 tagged_above=-999 required=5 tests=[AWL=0.315, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001, URIBL_SBL=0.644, URIBL_SBL_A=0.1] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WDuFymkohWjD for ; Sun, 16 Aug 2015 03:15:53 -0700 (PDT) X-Greylist: delayed 1397 seconds by postgrey-1.35 at arlo; Sun, 16 Aug 2015 03:15:53 PDT Received: from market.scs.stanford.edu (market.scs.stanford.edu [171.66.3.10]) by arlo.cworth.org (Postfix) with ESMTPS id 8FD706DE009A for ; Sun, 16 Aug 2015 03:15:53 -0700 (PDT) Received: from market.scs.stanford.edu (localhost.scs.stanford.edu [127.0.0.1]) by market.scs.stanford.edu (8.14.7/8.14.7) with ESMTP id t7G9qap6026130; Sun, 16 Aug 2015 02:52:36 -0700 (PDT) Received: (from dm@localhost) by market.scs.stanford.edu (8.14.7/8.14.7/Submit) id t7G9qaPb025981; Sun, 16 Aug 2015 02:52:36 -0700 (PDT) X-Authentication-Warning: market.scs.stanford.edu: dm set sender to return-y6xfje9utikfmhtxvrchdsbzc6@ta.scs.stanford.edu using -f From: David Mazieres To: David Bremner , notmuch@notmuchmail.org Subject: Re: Enabling and disabling maildir.synchronize_flags In-Reply-To: <87r3n3fu7d.fsf@maritornes.cs.unb.ca> References: <87r3orbqfn.fsf@ta.scs.stanford.edu> <87r3n3fu7d.fsf@maritornes.cs.unb.ca> Date: Sun, 16 Aug 2015 02:52:35 -0700 Message-ID: <874mjzblwc.fsf@ta.scs.stanford.edu> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Aug 2015 10:15:55 -0000 David Bremner writes: > dm-list-email-notmuch@scs.stanford.edu writes: > >> 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 > > Hi David; > > Sorry about the long delay. I'm not sure I follow the connection between > your paragraph above and the the example. The example seems safe, but as > you say, disabling synching should bs safe anyway. It's not an example, it's kind of a worst case scenario if there's no easy and safe way way to enable synchronize_flags. I want to try disabling flags, but if I change my mind and the only way to get it back is to do a full notmuch dump/restore, that's a pretty hefty penalty. Also, even if I do a full notmuch dump / restore, I'm not sure if the notmuch new is necessary in the middle. So my question remains, what's the easiest safe way to re-enable 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. Thanks, David