X-Envelope-From: notmuch-bounces@notmuchmail.org  Sun Aug 16 14:09:15 2026
Return-Path: <notmuch-bounces@notmuchmail.org>
X-Original-To: nmbug@yantan.tethera.net
Delivered-To: nmbug@yantan.tethera.net
Received: from yantan.tethera.net (localhost [127.0.0.1])
	by mail.notmuchmail.org (Postfix) with ESMTP id 0B7325E222;
	Sun, 16 Aug 2026 14:09:15 +0000 (UTC)
Received: from phubs.tethera.net (phubs.tethera.net [192.99.9.157])
	by mail.notmuchmail.org (Postfix) with ESMTPS id 367C65DF37
	for <notmuch@notmuchmail.org>; Sun, 16 Aug 2026 14:09:12 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tethera.net;
 i=@tethera.net; q=dns/txt; s=2024; t=1786889350; h=from : to : cc :
 subject : in-reply-to : references : date : message-id : mime-version
 : content-type : from;
 bh=x+sg7SRKb6N7jM8jblyiUDs7xuhAY7Vv0B2OZiCAjkA=;
 b=EeRWP02N8RO6bAa4Q1h1311W9MEg8ulw2ciB5EFrksaX/mYUPnz+xuEl3fZIIFFKgWhiV
 njlRsqxIH77n5fg2uXuXjolwR5zjhXOaIzjQvILVsqzvrqVi3DbZuhI3/zVs8X4uLMRaXTD
 vPkOZRcNKUl2B8RFJRgG8ihC/YKt53iQekllQ3IZuir5iKsHjpjIzNc0II1DjhYfykfvWVe
 WJ6J83CQ9yDJL8cfXghQlf5e+NloRaPiAO5UufrHEZLE8jYa+pBX9qBBWwf8QRql5K9RWSu
 hcvj8n7y0sTulXcdbfs0SLqpaA+2Q6YN7Q9XWFXcU090DB5KzUy3N0BeGmjA==
Received: from tethera.net (fctnnbsc38w-142-162-53-181.dhcp-dynamic.fibreop.nb.bellaliant.net [142.162.53.181])
	by phubs.tethera.net (Postfix) with ESMTPS id D58E31800F7;
	Sun, 16 Aug 2026 11:09:09 -0300 (ADT)
Received: (nullmailer pid 1610268 invoked by uid 1000);
	Sun, 16 Aug 2026 14:09:06 -0000
From: David Bremner <david@tethera.net>
To: inwit <inwit@sindominio.net>, notmuch@notmuchmail.org
Subject: Re: [PATCH 1/3] cli: add --profile option
In-Reply-To: <20260509155257.2477368-2-inwit@sindominio.net>
References: <20260509155257.2477368-1-inwit@sindominio.net>
 <20260509155257.2477368-2-inwit@sindominio.net>
Date: Sun, 16 Aug 2026 11:09:06 -0300
Message-ID: <877blqdunx.fsf@tethera.net>
MIME-Version: 1.0
Message-ID-Hash: DMMDR7E6F5JHRQYO4CVPICMIVFSQTUND
X-Message-ID-Hash: DMMDR7E6F5JHRQYO4CVPICMIVFSQTUND
X-MailFrom: david@tethera.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: inwit <inwit@sindominio.net>
X-Mailman-Version: 3.3.3
Precedence: list
List-Id: "Use and development of the notmuch mail system." <notmuch.notmuchmail.org>
List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
List-Owner: <mailto:notmuch-owner@notmuchmail.org>
List-Post: <mailto:notmuch@notmuchmail.org>
List-Subscribe: <mailto:notmuch-join@notmuchmail.org>
List-Unsubscribe: <mailto:notmuch-leave@notmuchmail.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit


Apologies for the long delay in answering.

inwit <inwit@sindominio.net> writes:

> @@ -54,6 +54,7 @@ notmuch_exit_if_unmatched_db_uuid (notmuch_database_t *notmuch);
>  
>  static bool print_version = false, print_help = false;
>  static const char *notmuch_requested_db_uuid = NULL;
> +static const char *notmuch_requested_profile = NULL;

A minor nitpick about naming:

I think the 'requested' in db_uuid is meant to indicate a potential
mismatch between what the user passed, and what is in the database. I
don't think it is helpful in the case of the profile, since we are not
reading that from the database / other config source. Maybe
"profile_name" to follow "config_file_name"?

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org
