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 EEAD66DE0E8C for ; Tue, 10 Dec 2019 08:12:03 -0800 (PST) Authentication-Results: arlo.cworth.org; dkim=pass (1024-bit key; unprotected) header.d=caltech.onmicrosoft.com header.i=@caltech.onmicrosoft.com header.b="rOCIl05T"; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.29 X-Spam-Level: X-Spam-Status: No, score=-0.29 tagged_above=-999 required=5 tests=[AWL=-0.290, DKIMWL_WL_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] 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 r1If3oV4PTMx for ; Tue, 10 Dec 2019 08:12:02 -0800 (PST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2081.outbound.protection.outlook.com [40.107.223.81]) by arlo.cworth.org (Postfix) with ESMTPS id 1D0CC6DE015D for ; Tue, 10 Dec 2019 08:12:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IDc5Hd4ljcHkEeiggdx7ZxzUwlzzZ+tvt/2aQifsYhBTplSPkbb7aYbUHvhsRDcF4RTApOtY+4fAGSPunCbRUgyBS3l9vh+q88xqwtCFP8JHejEnpoY9TgOCGgHoYXdwKDqinxnzh2Ahp6prbFLQdP+ph1qhInWajiY06QCdT3OrXIV5esKIXzNdPPuFf8rCd9nDYG70Vi7L35aUez9/W2C3MHpy5KdL6a22zbADwGfbAXuMqeHKW8lhvO4EDnKEoz1avnrFquhANOVDwv1+BJlPUg+RKgXvLQ99TdFRCzzuzSNdKySRofOWuIbWX4nx1wL4cAl7LIydFtXC//p10w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YWZxsUQb2QVURRg3G91bt/xhr+lKaTIaF8DEBGjs3S4=; b=hZ+ZxGQ+Qs+HslvumqorI8Gl/Z2QvupNkVN5yMXJOrr/wWSAjGM4SIOv4BrKzliAwU1mzW9BbbeiFcNwQ0LojC/zDBQ5z/KUw7lSHM/ARrBLv7MPvhBTiCvf+1I8Fpuihf9QrDZszQVmYpyp82VAmYdJta4kYf7gTls5jX9uXXThxaKZIVWP9QeynnLjDZjsHrBJBApP7uFA8CkkVPSSIISDdY4UlMg0Ztl07btDtPKmjjYSeFN3hVlHcyfDhocXi9hH+3dDvoGGijvXDmNqYJnYvl9URrZmHpWiNzfoHxxtdw3h9ikVfpgD+/R21mKmD3GuxxZc1EVJWX5pIlV+vQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=caltech.edu; dmarc=pass action=none header.from=caltech.edu; dkim=pass header.d=caltech.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=caltech.onmicrosoft.com; s=selector2-caltech-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YWZxsUQb2QVURRg3G91bt/xhr+lKaTIaF8DEBGjs3S4=; b=rOCIl05TZLEE012gIRo/C1aiKCQx/6xpX8CAB6cTo2LUVTTodVfNLvFQn3LjbNF5jQZzK8MzI/zue+BKEbj5AJBGKdlMgXFrZAsd6IYikBAWyDy4iNEZDBRrmaH3nYB9zTZ/CXqjt9VECriq4RVjmX1TogpD6Wnou+w7NBSk+Vs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jrollins@caltech.edu; Received: from servo.finestructure.net (76.91.54.61) by DM6PR03MB3562.namprd03.prod.outlook.com (2603:10b6:5:b2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.18; Tue, 10 Dec 2019 16:11:59 +0000 Received: by servo.finestructure.net (Postfix, from userid 1000) id 4532C12B; Tue, 10 Dec 2019 08:11:56 -0800 (PST) From: Jameson Graef Rollins To: "Jorge P. de Morais Neto" , Daniel Kahn Gillmor , Tomi Ollila , notmuch@notmuchmail.org Subject: Re: moving the config into the database [was: Re: [PATCH] Display extra headers for emacs-mua - db config option] In-Reply-To: <877e36bryd.fsf@disroot.org> References: <20191116162723.18343-1-johan.parin@gmail.com> <875zjd8lev.fsf@tethera.net> <875zjdj9jz.fsf@fifthhorseman.net> <87o8x4iqar.fsf@fifthhorseman.net> <87a782bw83.fsf@disroot.org> <87blsiwxk8.fsf@caltech.edu> <877e36bryd.fsf@disroot.org> User-Agent: Notmuch/0.29.2 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Tue, 10 Dec 2019 08:11:56 -0800 Message-ID: <87lfrktb1v.fsf@caltech.edu> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [76.91.54.61] X-ClientProxiedBy: BYAPR07CA0062.namprd07.prod.outlook.com (2603:10b6:a03:60::39) To DM6PR03MB3562.namprd03.prod.outlook.com (2603:10b6:5:b2::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c51e3309-897a-4905-855f-08d77d8baf9a X-MS-TrafficTypeDiagnostic: DM6PR03MB3562: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-Forefront-PRVS: 02475B2A01 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(376002)(39860400002)(136003)(346002)(51444003)(199004)(189003)(2906002)(66946007)(26005)(36756003)(70586007)(42186006)(786003)(316002)(8936002)(5660300002)(110136005)(8676002)(2616005)(4744005)(478600001)(186003)(81166006)(86362001)(81156014)(75432002)(6266002)(130980200001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR03MB3562; H:servo.finestructure.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: caltech.edu does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cbumIWKSWRC0c+EoBOnPzWDoUoU78bAmGeP5iwgs9cCHV+4urYOmgSEfWwY2lz6snTQhWVK09EHoNNFZmuUEt6NLc4MPd10h4BSYa7huBSjrvv4pqacdRe3cHfp3LT3hTNmPxsvgqBEcZzQdRwl6yWkQkUUbujXPxvPNUhzWmFVpVMg2KFCwFb5ZA/iimfMlTrrd7alHg4x8yb0HiNhkhu4E4TMtwcteuHkoWxJahhHAA7oSZIkNYbEuTsSBkId8q96+8R2QMk7j3zovrqzV7PMtMeV20aj2HHhspgY9So1nHo4CLu48dxyfzvEva72AJDq6n2kQrduU0VCABr6LWFPbNXRdIzgdIrWrgB+4adBeZj8DjHw3Cz9KQmSePfNVnTZYOR5muEZ6E07ZEhaPKRk66Mex5AwhqlVfUlSLCLfA4SRZ5q/0iY/V/fPLbNAM8M/TlH9tzGHoa5I+ET8ceyPtv8aKxZPHw9QhQWM2DIKbqcGSKMJslYy5dHhnTvNuLYxOae/b/PURK7lhBigjvQ== X-OriginatorOrg: caltech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2019 16:11:59.5570 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c51e3309-897a-4905-855f-08d77d8baf9a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fd5be9d9-7b72-4df9-830e-b1f9cc5b44bd X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR03MB3562 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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, 10 Dec 2019 16:12:04 -0000 On Sun, Dec 08 2019, Jorge P. de Morais Neto wrote: > Em [2019-12-08 dom 09:12:55-0800], Jameson Graef Rollins escreveu: > >> You can already use 'notmuch config list' to dump every configuration >> item to stdout. Would that be sufficient for personal synchronization >> purposes. > > But then I would have to remember invoking > ~notmuch config list > ~/notmuch-config~ > every time I changed Notmuch configuration. Rather than remember, why not just have your synchronization script retrieve the config at sync time using notmuch config/dump. That way you don't have to remember to do anything, and you can be agnostic about how the configuration info is stored on disk. Fwiw I support dkg's idea to store the config in the database itself. I think that's a clean simplification that makes a lot of sense. jamie.