From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 sOEKBCeL8WL3NgEAbAwnHQ (envelope-from ) for ; Tue, 09 Aug 2022 00:16:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KCYmBCeL8WI5MAEA9RJhRA (envelope-from ) for ; Tue, 09 Aug 2022 00:16:07 +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)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8B8C13555F for ; Tue, 9 Aug 2022 00:16:06 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 69AFB5F370; Mon, 8 Aug 2022 22:10:44 +0000 (UTC) Received: from mariecurie.labrat.space (mariecurie.labrat.space [116.203.185.229]) by mail.notmuchmail.org (Postfix) with ESMTPS id 4D5355E545 for ; Mon, 8 Aug 2022 22:10:41 +0000 (UTC) Received: from labrat.space (adsl-178-38-36-59.adslplus.ch [178.38.36.59]) by mariecurie.labrat.space (Postfix) with ESMTPSA id 98FF43D268DA; Tue, 9 Aug 2022 00:10:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=labrat.space; s=201904; t=1659996640; bh=wZ8H90Odx4qkoLa54Y4pUikZVXStw+rPhxAXyDOfd/4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To:From:To:CC:Date: Subject:Content-Type:Content-Disposition:Reply-To:In-Reply-To: MIME-Version:Message-ID:References; b=Y6YOtcBoHaoqR2Yv0b+ekdqWkspMW2XTOyRTNTz3oUAyLRW2sZh2tb4+j6Dc+1oQW e0IYBOUquMCuVdlq9eeSfS9meWtdJL8y92ILGXwxUd+wK+0ADsuf7Wsw2XJ/8j6gPC A5ro5P6d2tWSadFpL63RBkpOSuNbrYIvQVVxJzOJIInJtmWBulqyKKBtDQh1JPj7xv CenMqZZlTrb83VBjG+lx/OGx/B1My6ulDKZSO5kahS/ANG4cETWHRs+i8CB2ojp9BL lKaTYtGR1dt8L1ywUkK7IOrt45Bzg3pNLfjca99tY7BJ5tE99Y+9Y9Q/Owuu5orwVt LoifEQt/Yav/Q== Date: Tue, 9 Aug 2022 00:10:38 +0200 From: Reto To: Tomi Ollila Subject: Re: Create tags from folders Message-ID: <20220808221038.oebuhqqvgxgkqpa5@feather> Mail-Followup-To: Tomi Ollila , Notmuch mailinglist , notmuch@notmuchmail.org References: <165989993313.7.8480352458042595298.55989238@8shield.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Message-ID-Hash: LII56DMLM4LY47SU6FEKV424WRLL33Y3 X-Message-ID-Hash: LII56DMLM4LY47SU6FEKV424WRLL33Y3 X-MailFrom: reto@labrat.space 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=1659996966; 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:dkim-signature; bh=2E2o2YyxvIpccpwiwsfoG/7cAGrjkmWcdy2U+fgI05o=; b=Y7kWDKnZ8Z5slXNJ8/tfE8Y4jHZBR+WxqvFcZorZzoISzNjuF76umNnLyc9KSs5cn+ooUo mujtgKRR/X1JbmCH4DMwmo7xDld+RI9KiyN/m4UIcdrTiliEtYO3dOq/wYfrKxo2HizSOV pHLwETnUN5Tz8lrIMJ67tQF6HJpT0Y22h1haO+uP2dDZjXYFq8D+jfx122XdrEORmveu8J 9XW9sRdcYaW/7NmCcKmajtNerNSd7k3UucY6hhbib1GGrYeIWY0E8qnP1/+ucZcSAYiA61 uGnfQCwRzOZM+ENDpSFUhB3rM71AmEKfPHXrzwghKkE+YCIFAQmNHKADpvUQZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659996966; a=rsa-sha256; cv=none; b=qlWY3YIzdiXrfttWMHcsOAOOwg9hWz1xn9QJQR944CH9cfBnyXFsjMae2dd+6rbptRUt6N V5a0h5j/xN82YQ4f6UhmKlCjdj3Ltmajft/VJW6MI02GHr5SVncPrZA6Zp9Yhq/yrIJQLk xjly+Af738cGDbq91hZA/jf3zX5evlfyTs9mGq85e1P5ju49RvpSDk8+k2DIeflhZN0v7g BLtL5qs3NIZ86xJjAd5f+gTB8XTB6I9DK2O4qFWEua/hjkxfWbT9nbe3DTfHbAMDe0iDEG XfL6tzNtsOYqW1d7G53nNUbXdU7STi/Wf6yTju0zNm9aowD4JCGrpN/jHM00zw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=labrat.space header.s=201904 header.b=Y6YOtcBo; dmarc=fail reason="SPF not aligned (strict)" header.from=labrat.space (policy=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: 7.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=labrat.space header.s=201904 header.b=Y6YOtcBo; dmarc=fail reason="SPF not aligned (strict)" header.from=labrat.space (policy=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: 8B8C13555F X-Spam-Score: 7.16 X-Migadu-Scanner: scn1.migadu.com X-TUID: Yiq5z8kE/lEG On Mon, Aug 08, 2022 at 05:30:29PM +0300, Tomi Ollila wrote: > On Sun, Aug 07 2022, Notmuch mailinglist wrote: > > It is kinda duplicate information to have mail tagged with same name > as the folder it is located in... but there may be reasons one would > like to do such a thing -- and at least I am interested (at least a bit) > why. Well, for starters folders may change (say archiving those on the imap side), the semantic tags do not. 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 ;) Cheers, Reto PS: not op, but also re-tagging even though I have emails filtered to dedicated folders via sieve.