Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 5F62A40DBFA for ; Tue, 16 Nov 2010 11:09:59 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.89 X-Spam-Level: X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OYE7gbEQoZi3; Tue, 16 Nov 2010 11:09:49 -0800 (PST) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1E09E40DDC5; Tue, 16 Nov 2010 11:09:49 -0800 (PST) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id A2D3625412B; Tue, 16 Nov 2010 11:09:48 -0800 (PST) From: Carl Worth To: "Ciprian Dorin\, Craciun" , notmuch@notmuchmail.org Subject: Re: `notmuch setup` replaces `~/.notmuch-config` instead of truncating it In-Reply-To: References: User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) Date: Tue, 16 Nov 2010 11:09:48 -0800 Message-ID: <87sjz1dr0j.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Tue, 16 Nov 2010 19:09:59 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 16 Nov 2010 15:33:30 +0200, "Ciprian Dorin, Craciun" wrote: > First congratulations for the nice software! Thanks so much! Welcome to notmuch. > So my question is: is this behaviour (of deleting the file and > creating a new one) deliberate? If not, could it be fixed (I could > provide a patch) to just update the file in place? Daniel gave the perfect answer later in the thread. It is intentional to replace the file with a new, complete version, (to avoid loss/corruption of the file if "notmuch setup" is interrupted). But we should fix this to replace the target of any symlinks. =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFM4tb86JDdNq8qSWgRAoDcAJ0bOND2+3rJKpx4M9jxpX/STAsg+gCeLd+B J7/h0tgKpCk8+inuIq5oth4= =LH/m -----END PGP SIGNATURE----- --=-=-=--