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 82B876DE0188 for ; Wed, 24 Aug 2016 10:47:16 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.58 X-Spam-Level: X-Spam-Status: No, score=-0.58 tagged_above=-999 required=5 tests=[AWL=0.140, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-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 OcSiYDiHGCFm for ; Wed, 24 Aug 2016 10:47:15 -0700 (PDT) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by arlo.cworth.org (Postfix) with ESMTPS id 391816DE00B8 for ; Wed, 24 Aug 2016 10:47:15 -0700 (PDT) Received: by mail-wm0-f48.google.com with SMTP id f65so209287444wmi.0 for ; Wed, 24 Aug 2016 10:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikula-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=FvWREXkG9y08GZS1Cdwck1CrBH4X4EjPyuPfkJgTof4=; b=gdCF1qPsJlC2MtANAYWBbdDH5r5UYe6joRBORCN5uFSrf+b9aKD9PJSf2z5sWoCtPO PD+PpDLuD2bJr3pgbVE6n92ljfOO2dCBN3VvcVWXKcmNk+uCuyGbAqwRBwLv0S71XB27 vUJoyFQnbybojEnWiBSX7OWEo2RYNaMWpzIgaacTDMfk2eWnlHQngMS4tAcoiKeZ6etx PieTSeSRq200SIpvdZQNyIBGNrkETKcZoFcVog6AWLG9NCe1QbUshNeSLnlhwlnyVZfn 8div3S/Zs9aOiDm/SQevkSAAkQdlZiPNQaAgvHTmWRDWmjh4uxFBKS2MztF7mqIyWhIt IARA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=FvWREXkG9y08GZS1Cdwck1CrBH4X4EjPyuPfkJgTof4=; b=BYvIUovDGBGQufcXQvf8cLnT5psVrrrMbDkDXX8haJ9pEr9X8eKVWyo2Hyk4y4xS3e jqKVHbeXjxZaLjtOcrTHRdSbPLbKfsffxqPR3sIPrLDiM9bGYgtNw7lI5+Caxtw3mUUa f5srnta6DAR41ylluPMKtS+/ysnsd2Q4HqbZ9mO0hyRloBZBlphswA2psKe2yK07/+lo uiyCIoJnYZPoqXIhcS9xwJtieQcASMQxwGU5+lgfbmgU9U2e+g5lpylyjC3SjnlkT5Rr WV5UhVPIEqSKSekFOOGfzjlCq/ZrayDSlhZcURAbB1pL9Tzdlc8MRxJs/mPyz8pfM3Pm Vo3w== X-Gm-Message-State: AEkooutLBaPAJdFhOZZUIE6zpVpIF0cXRovwqqmMw9rLs5lSd6OmRSALHNgYbYIIRzaupA== X-Received: by 10.28.183.135 with SMTP id h129mr27698091wmf.2.1472060833834; Wed, 24 Aug 2016 10:47:13 -0700 (PDT) Received: from localhost (mobile-access-bcee83-193.dhcp.inet.fi. [188.238.131.193]) by smtp.gmail.com with ESMTPSA id r16sm34783684wme.16.2016.08.24.10.47.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Aug 2016 10:47:13 -0700 (PDT) From: Jani Nikula To: Erik Rybakken , notmuch@notmuchmail.org Subject: Re: Feature request: Finer control of paths In-Reply-To: <20160824163006.dzdvzjvkg5uxtrnh@dell> References: <20160824163006.dzdvzjvkg5uxtrnh@dell> Date: Wed, 24 Aug 2016 20:45:36 +0300 Message-ID: <87vayqnjr3.fsf@nikula.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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: Wed, 24 Aug 2016 17:47:16 -0000 On Wed, 24 Aug 2016, Erik Rybakken wrote: > I would like to store hooks in a different directory from my mail. > It would be nice to have an option "hooks.path" with default being > "$DATABASEDIR/.notmuch/hooks/". Also, I think a similar option for > the xabian database would make sense. I think we agree it would be great to be able to configure the location of .notmuch. Unfortunately, the notmuch library currently assumes it can deduce the database location from the mail store location. The last I checked, making it configurable was a bit complicated, and so far nobody has thought it would be worth it. Making the hooks directory configurable would be significantly simpler. For the time being, you can work around the limitations by symlinking .notmuch or .notmuch/hooks to your preferred location. BR, Jani.