From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eBJ8DQMgSWEoSwAAgWs5BA (envelope-from ) for ; Tue, 21 Sep 2021 01:57:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gGMsCQMgSWF5PQAA1q6Kng (envelope-from ) for ; Mon, 20 Sep 2021 23:57:55 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (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 62A0B173AF for ; Tue, 21 Sep 2021 01:57:54 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id DA13C204EF; Mon, 20 Sep 2021 19:57:50 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 15AD7204EA for ; Mon, 20 Sep 2021 19:57:49 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id BDEAD5FD5C; Mon, 20 Sep 2021 19:57:48 -0400 (EDT) Received: (nullmailer pid 201095 invoked by uid 1000); Mon, 20 Sep 2021 23:57:47 -0000 From: David Bremner To: andreas@rammhold.de, notmuch@notmuchmail.org Subject: Re: [RFC 0/2] add --new-tags= to notmuch-new(1) In-Reply-To: <20210916102517.1744389-1-andreas@rammhold.de> References: <20210916102517.1744389-1-andreas@rammhold.de> Date: Mon, 20 Sep 2021 20:57:47 -0300 Message-ID: <878rzqvlz8.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: JVD4OUXLFFI6C2SEVFDMMO6HJM2DBT7U X-Message-ID-Hash: JVD4OUXLFFI6C2SEVFDMMO6HJM2DBT7U 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; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632182274; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to: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-unsubscribe:list-subscribe:list-post; bh=IXtGI9yz5DeS7U2jFbFIkXWV9Cl+uiZ2foQCiJmZXlo=; b=a0D4vqWSLXz5y6qyyZgu24bihGHCAMnA8l8oE+rin9r2gzejkheYz6jsskiNJOUrN+OigH +ETi8xigk5eAsYV5KYyIzA23cAW7c8CmnFwoxtiTU/VtxOJIGc/CiAbuNONrLDH4LQZrp0 ldgHifuB15KHw4htwhhs86Pux2qw8pF2L45lgN/nbi1olzAruwbmllCk0eFSJfFwhUQzMa jAOMIrUr7KqI1fkWqhIM4NkK87EJ7kngLuf4L5YEhDwLt4FX2OY6C83ouwK+SSGS9DYIhl 6ox9wmqaZCBuXRzoJHZY+1mHnzthgMxXB/HnoiOqmaNyA/aCQw+cP4mfOrYehw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632182274; a=rsa-sha256; cv=none; b=WY4Kr1WMwkP95zSJjCHoI1Z98hmgWMG4EZ8sNY8mpCG7MYvLSoOCXq3dFEoCD4LrNc5htK xtwCYYsXw/7Esfo9muotd9nEbHpxeCopqCQBQjKs7MDPoyGDh+lrdFl9qNcFSWQg0Q8xWk nYkmdoz5Rwydhm6tzA8YGdTNSTVmcVRLdIOaglV9eo7RFnGDbJITwlviZ1b5jlie8rT84M yrkzoXeqV7TBJE92xyPdakIDhk+Js4EOhku9Ql7BVZA8ASTGyRipSi+UwVRARrNwOGuFts GANg5zS7J2mCDBX7yoKhWf7trxil+14LgafEMZp7WtN+GeZOy0hf+P7bvE9tCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.08 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 62A0B173AF X-Spam-Score: -2.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: pZxfDWTXPJ4F andreas@rammhold.de writes: > I am posting this as an RFC to see what other users and the developers think > about this approach and if anyone has solved a similar issue (in a different > way). I honestly don't know if what you propose is the best solution for your problem. Looking at the functionality for it's own sake, I wonder why you don't copy the UI from notmuch insert, which already allows specifying arbitrary tag operations for newly delivered messages. I suspect some of the code can re-used as well. d