From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MhASH+2YVmMxtgAAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 15:53:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AIH+G+2YVmO8AAAAauVa8A (envelope-from ) for ; Mon, 24 Oct 2022 15:53:49 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 350B3E6FA for ; Mon, 24 Oct 2022 15:53:49 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id A410B5F8CB; Mon, 24 Oct 2022 13:39:51 +0000 (UTC) Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by mail.notmuchmail.org (Postfix) with ESMTPS id F005A5F3CF for ; Mon, 24 Oct 2022 13:39:48 +0000 (UTC) Received: by mail-ed1-x52b.google.com with SMTP id a5so18316164edb.11 for ; Mon, 24 Oct 2022 06:39:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=bR3t9XoTCUc/fkXLySwUx2cFCKFmGQ7AKGWZiuS8gEk=; b=Ee6uCCqZHd/TIFZfb+NYr46IYNaAGfTYUEUSnz2u9OLe1BQh4053ewOehaztecLH1+ trU8rgJgBIOcFyA15WiAFNYGcHwgGNT4DMxpebuobQqdfDdKDtGIAcDjooMuMN3xfox9 okQleunbLThiW03F++l+0NafBz4pYOJUUIiP1GivlJ2KePUUF5OZeCCEZm3xJ4iD6d0d 9Y90CP973GSO2m9qKMdS008HbimKoaJNjO4UF2FXnOG+HgGetoIjDgJBoiZtIenCUvdC sA9OwEqSsgm20hynDjzH7B6AGp3koKWi9BMmngOLOdJ5o4XpEFX3lLCgiVBDWipBo6Qa TlAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bR3t9XoTCUc/fkXLySwUx2cFCKFmGQ7AKGWZiuS8gEk=; b=qgM0zrEOOW5U23o5beHIyuBnMEXP2q9pM08vlKEwpcIMdjjl9Z9CcN3mIJe18vjxZy Nk5LvUUtNB+NrU8/5XT64gqSsgSICBd2Y6PSO//SrxnY57+2y1srQ8gNFSa5C+oY3v69 TV7mt/iDDvuoRzuUqi6cp+mvyEJg26Y4p+F4nERgEzELUtbNxQylmoIc7+awPBmjZLXi rv5k84tvrEaf4+qOBXR3+R0rXNxkDzKH248+WkEvwogsLOxV+jhdJ0oKNfMmfcLFuEiV AuvVSoCpG76fcyYZE1fSXP/CohGqp9LdeoGW/y+VMJW8eWtpXeFPYyxHOo5xEGvAYtHQ gH4w== X-Gm-Message-State: ACrzQf3nEav8ULh9vGKeVAHtECw7EyH+Bk4YyEJHuSgDJiP2hEqbqjiG pGfVrx+O1iTHEE9oaqKmJDE= X-Google-Smtp-Source: AMsMyM62btgoAHEwFPq+XMC7cQDksx13hRbkCcH2ATEYCpm3nq6hWlB/9+O8EXk2yw/OC5G5Qn88Ng== X-Received: by 2002:aa7:c58e:0:b0:461:77b:7bd with SMTP id g14-20020aa7c58e000000b00461077b07bdmr19998719edq.387.1666618788292; Mon, 24 Oct 2022 06:39:48 -0700 (PDT) Received: from localhost ([147.161.245.71]) by smtp.gmail.com with ESMTPSA id bf5-20020a0564021a4500b0046189948481sm3950298edb.53.2022.10.24.06.39.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Oct 2022 06:39:47 -0700 (PDT) Date: Mon, 24 Oct 2022 15:39:46 +0200 From: Dario To: David Bremner Subject: Re: Consider following XDG base directory specification Message-ID: <20221024133946.x3rbmlshw3mfjzkk@dario-arch3> References: <20221024090957.ekvfaob3bfmpc4ow@dario-arch3> <87v8o9wjp5.fsf@tethera.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <87v8o9wjp5.fsf@tethera.net> Message-ID-Hash: IHUNSCGVPA4XYDNJAP7M7BHOJXH6325Y X-Message-ID-Hash: IHUNSCGVPA4XYDNJAP7M7BHOJXH6325Y X-MailFrom: piombo.dario@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 CC: notmuch@notmuchmail.org X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666619629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2Ojtvy17eKsh1pfCr00ENSQipEG5cey4vrV+wPDp57I=; b=o2DEfNgWrSZRmAF+p7tmjl6143O1QC1D+J8knP4q/Epgytz0j5MdDM5NyF9E9M7E5tp+TD jqTSXpfSEGahpyfE6uhmcTm8QSZkiDK9ab5W4cPwFcvxBdXS+gIMDDbXZZMsYsXAVUfU5z 4A6pkMZRyt2xiYy+HcKcwvMeEHntFGwNlLzFpDqqsdxtvT3JyrTL8+vmSTjEDyFXNVRJzG 1PhiPL+Qg8Rcy5rIC9qlosAYj7omKkd2HoHc0kFDRxuAK3FIDkiJI/OoyLBmdAfw1VYMNy X/LtapBTh2tjKv8NWRcbm06tD5V8t5DRBFYVTUUn0Sc8az6Q3S0aWe8QrvxFWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666619629; a=rsa-sha256; cv=none; b=JoRf2KUR81JlUcQfuMlBQR3YGoksGlYnTsWnowUSElmTNEEkaaG75mQrVe7RBu0V45CjJg dGmomtTe4SNrLVBhIQqUIQsW0fxbKPEZAWCM7iJ7ZogC25h+Ouk+qUzvXa3lYKY9trRcv1 tl+PaoUUeC+tA5pK+GVj3SdMMhxpZ919T5BlGBAujOCNiCML/gdRU2csnIZVyk6CfvXcgN xJKS1cZIOtNVf1goPaTuUb4p/idgjSkN6/ae1UT7zOZPqwXrfyhUE5u5dGT6APt3qmWP8r xKf1kDYlpI0AjeGdrZgtYhJKdkrz3Mv4N+rVv4NgcPwcCIsMCqLgwYhh6o1cew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=Ee6uCCqZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 7.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=Ee6uCCqZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 350B3E6FA X-Spam-Score: 7.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: E9UyBV3RQVn/ Thanks for replying thank you very much for pointing me in the right direction. I guess I didn't RTFM properly. Environment variables are good enough for me. Keep up the good work. On 2022-10-24 08:21:42-0300, David Bremner wrote: > Dario writes: > > > I apologize in advance if the issue has already been raised by somebody else > > but I couldn't find anything on the bug tracker and furthermore I'm one of > > those freaks who prefer a de-cluttered home directory. ;-) > > > > Instead of saving config file in $HOME/.notmuch-config, > > ${XDG_CONFIG_HOME:-$HOME/notmuch}/notmuch-config (notmuchrc is a nice name too) > > should be used for unix-based operating systems according to the XDG Base Directory Specification. > > > > See > > https://notmuchmail.org/doc/latest/man1/notmuch-config.html#configuration > > > As well as keeping the home directory clean, the semantic separation of config, > > runtime data, cache data and user-local software by the spec is helpful to users > > and other tools (e.g. backup software). > > > > In terms of migration, I would suggest using the xdg-compilant config location > > if it exists and falling back to the current default location. > > The priority of configurations is unlikely to change at this point. Too > much potential for breakage for too little gain. > > d >