From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 OMvDEGa1oGIIGgAAbAwnHQ (envelope-from ) for ; Wed, 08 Jun 2022 16:42:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uHPiD2a1oGJbJgAAG6o9tA (envelope-from ) for ; Wed, 08 Jun 2022 16:42:46 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 AE2FD38D5F for ; Wed, 8 Jun 2022 16:42:45 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 94EA75F751; Wed, 8 Jun 2022 14:42:42 +0000 (UTC) X-Greylist: delayed 377 seconds by postgrey-1.36 at yantan; Wed, 08 Jun 2022 14:42:39 UTC Received: from code.pm (ks39550.kimsufi.com [91.121.23.116]) by mail.notmuchmail.org (Postfix) with ESMTP id 591B95F731 for ; Wed, 8 Jun 2022 14:42:39 +0000 (UTC) Received: from code.pm (122.188-176-91.adsl-dyn.isp.belgacom.be [91.176.188.122]) by code.pm (Postfix) with ESMTPSA id BD769BF778; Wed, 8 Jun 2022 16:37:19 +0200 (CEST) From: erik colson To: David Bremner , notmuch@notmuchmail.org Subject: Re: marking multiple messages to tag In-Reply-To: <87o7z31iwp.fsf@tethera.net> References: <87h74wxmni.fsf@toolbox.mail-host-address-is-not-set> <87o7z31iwp.fsf@tethera.net> Date: Wed, 08 Jun 2022 16:36:21 +0200 Message-ID: <875ylb1au2.fsf@code.pm> MIME-Version: 1.0 Message-ID-Hash: ME4NIPRRAZWLHITGICLLWHF7D2RA5XWV X-Message-ID-Hash: ME4NIPRRAZWLHITGICLLWHF7D2RA5XWV X-MailFrom: eco@ecocode.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 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-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654699365; 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-owner:list-unsubscribe:list-subscribe:list-post; bh=PpwqUH2PWN+re/I7+scv6IbDI4Nzi4WryNJ4vXTruT4=; b=WgFPed6xH6r6vyAk7cVDsjyYGz5q51cPcMJDaEfHeLH+jCh8g8sS0P7gUSoG+bZf7WmIMn edSrcbzwMM50hX2E/IIczsuHZFHlUZ9Woy8IoOvkKwB8awP0cLyJCRcm+1sICE/quN/X7N NJjhrjrxGPXoAUcyh1X0lqySB6O/y60XUuSbYX7YgndVU6GQbVJLMy2C+KGT2II209N55t 9TrZ3ypE67r5Xez3lLhCt6AAKdLOjNi9Ovua4p+se56MZMVkFtMhoPCr79t2acbtHlXs8n nLv/pbvg5AdlZ/dZN44DKzAArsiPHVKX3YQkPeXcYbykeVaeejqkx8i5RDtUAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654699365; a=rsa-sha256; cv=none; b=HNNT5flHSIAmx8bDinO5SGtRRzk5mqj1bfO4ZD4/TDXnKdwWbaUkavMkshDP1Lf6QqvBQB 4b/vCJ7Rf3oQYHwgSqMntjkEM1ZTykL8d8X5nR89BT0PAumeQ41oRGU+v44B0dixNi2Ffe FObl9hnzCdHhWLPkPv+kDv359QxgaaJ7IKpnyRASYcUvuMWl5OiHLEIborPC4ei+fKRD3p OgkKt1l8YIILwlQ0Ne3CD+7PaT9r9Rk+7tFOYT018oPbqVBlVWeqktgy+6VvpRRVUHwqjn nKxHLujl9KeR5Z9DOhzmiHbpBdA26/URnW2oI5TpB5dKNzSXyioLX1ArIUxJyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -3.10 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: AE2FD38D5F X-Spam-Score: -3.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: E90jJQo1BFXi Hi David, The idea of using a intermediate "marked" tag should work. Albeit there is a risk other messages are already marked and will therefor be tagged too. My idea would be to add an alert if the user is marking a first message in the current selection _and_ there is already a message (somewhere else) marked. I think that should not be difficult to add your solution. I'll try this out maybe next weekend ;) thanks ! -- erik colson