From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 902936DE2B7A for ; Wed, 14 Mar 2018 18:54:16 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[AWL=0.011, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 1wUyCJg8lDW8 for ; Wed, 14 Mar 2018 18:54:14 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id C42E16DE27DD for ; Wed, 14 Mar 2018 18:54:14 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1ewI5n-0000yS-LJ; Wed, 14 Mar 2018 21:54:07 -0400 Received: (nullmailer pid 859 invoked by uid 1000); Thu, 15 Mar 2018 01:54:06 -0000 From: David Bremner To: Tomi Ollila , sh!zeeg , notmuch@notmuchmail.org Subject: Re: [PATCH 1/2] cli: looking for config file in $XDG_CONFIG_HOME In-Reply-To: References: <20180314124321.13848-1-shizeeque@gmail.com> Date: Wed, 14 Mar 2018 22:54:06 -0300 Message-ID: <87d106qf29.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 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: Thu, 15 Mar 2018 01:54:16 -0000 Tomi Ollila writes: > Interesting stuff -- IIRC we tried something like this like 5 years ago > ... and now we've been discussing about other options ... Yes, several more radical changes have been proposed. This series (modulo issues Tomi points out) is relatively minor so we could probably entertain some version of it while we think about the harder issues related to configuration stored in the database. > Anyway, this would break status quo and current users' environments, > and secondly it looks like all fails unless this /notmuch/ directory > in XDG_CONFIG_HOME / ~/.config exists. There doesn't seem to be a good reason to drop ~/.notmuch-config completely here. As Tomi notes, that would break notmuch for all current users. I suppose I could live with $XDG_CONFIG_HOME/notmuch/config (or whatever) taking precedence if it exists. d