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 yA/eF+C68WJfIAEAbAwnHQ (envelope-from ) for ; Tue, 09 Aug 2022 03:39:44 +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 SBAYF+C68WJmoAAAG6o9tA (envelope-from ) for ; Tue, 09 Aug 2022 03:39:44 +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 D3DE539C83 for ; Tue, 9 Aug 2022 03:39:43 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 6EC245F36F; Tue, 9 Aug 2022 01:39:41 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id B74405F026 for ; Tue, 9 Aug 2022 01:39:38 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id A73235FBC0; Mon, 8 Aug 2022 21:39:37 -0400 (EDT) Received: (nullmailer pid 1783956 invoked by uid 1000); Tue, 09 Aug 2022 01:39:36 -0000 From: David Bremner To: Reto , Tomi Ollila Subject: Re: Create tags from folders In-Reply-To: <20220808221038.oebuhqqvgxgkqpa5@feather> References: <165989993313.7.8480352458042595298.55989238@8shield.net> <20220808221038.oebuhqqvgxgkqpa5@feather> Date: Mon, 08 Aug 2022 22:39:36 -0300 Message-ID: <8735e6jiuf.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: AWRTSN7HWDJNEFG7QIJIBKRHTXYN2FI7 X-Message-ID-Hash: AWRTSN7HWDJNEFG7QIJIBKRHTXYN2FI7 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: Notmuch mailinglist , 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-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=1660009184; 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; bh=aWSIoxzECtW2qjVjPjOHJ+ZPhzn/Awu4K7mUxKZbuyE=; b=ExOvpKzAsykZkNuXFDsVNkFtqFChiH9ZnB+tEt+ExZci0L7ssmk7iSIFKlBd+bRzkIayoG 7pd0tfOGqZe2bx/fGv1hYaTkWbcugOaJcKAlcasIzmbsm1xh8RBsXBfcst1F0bUUXktYwy pr2bb6/U8n8XqtUFOirfJTtrNfWrWktoNdgnEiRZVYfbFhTwPXJgyDu3eHPUoEwO6o3Zu0 KNhGL/16TPZSyDd5js4h2kDw78WYuUSJZn3CztQZZficwSHb4LLxMRIhjS9dTNXiJsN21N t/xoCEqyReQPjuDNTiAvS2kdnFhe3dn2ZC8d4hvtZZtKK8yoBZOFfYLD796f2A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660009184; a=rsa-sha256; cv=none; b=mYT5GZmtmMvN0Plop56Fk7ip+CAerVv3A5fJJbeL0BfjLsBKOsFZu7pOxFo+qvV5iiuDHV 8Z3MUvcqLV+V+FQr09QP87ioJ5mg8U9B5M9RhYHODS9RhBTA7b3YXzgDrzYcmBqGOd3V8Y BzXuGuUlEPZ3vqf9Vxe1RFLlLiNybWnjp4B/USPeV+jdNd+d1dkljwN7uJfMGu/VIf9cJb DpQwF/st5kp3Edex4rVUtPu4RVWJvpAn+R8z41xA6RS6eGZAtlhbYGSApP6LDQwMKBMm+v lndGzBiFu1PDPGxforUOGLk1NMo80unkTCu3PHfQUnirsvYHFa5evwr3PzRlKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -2.39 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: D3DE539C83 X-Spam-Score: -2.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: RiJW8TF5nw5x Reto writes: > > Second, I let notmuch index multiple email addresses in the same store, > meaning my folder queries are then nested rather deep. > > So my lovely tag:python query amounts to `notmuch search 'folder:reto@labrat.space/INBOX.lists.python-list'` > > Which... is a mouthful. > > Regexes aren't a solution, just makes it now two problems as I have > multiple python lists that could match ;) Just in case you didn't know, another option is define (with notmuch config) e.g. query:python as 'folder:reto@labrat.space/INBOX.lists.python-list' This has the advantage that you don't have to retag when new files are added, which is often the desired behaviour. d