From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id T3OsLLErr15yKAAA0tVLHw (envelope-from ) for ; Sun, 03 May 2020 20:38:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2N6YHrsrr16rfQAAB5/wlQ (envelope-from ) for ; Sun, 03 May 2020 20:38:19 +0000 Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B11159445AD for ; Sun, 3 May 2020 20:38:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 239406DE0F8C; Sun, 3 May 2020 13:38:13 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nzGJNAk3s0Eu; Sun, 3 May 2020 13:38:12 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id 526BC6DE0F76; Sun, 3 May 2020 13:38:11 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id B7A076DE0F76 for ; Sun, 3 May 2020 13:38:09 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RKux0s9Q0RXP for ; Sun, 3 May 2020 13:38:08 -0700 (PDT) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by arlo.cworth.org (Postfix) with ESMTPS id 9ACA46DE0F54 for ; Sun, 3 May 2020 13:38:08 -0700 (PDT) Received: by mail-lf1-f53.google.com with SMTP id h26so4995251lfg.6 for ; Sun, 03 May 2020 13:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=hzYInvTdkHeJ6EvgC1r55gGxTl2dF99Uq7NMJWAht5w=; b=OFhogvhHyGa7+0YjHwvcBI06PebmMhiIXJ7OxfoCdSuVU9Cm+XFGKHyQAWyEyEiDwA kEjnC51IPmlE5oubZFsjtol+m7otcFlvCt/84XdpefaAyUPAJfzSC9EK5bU1xWBmaiVe aZWjhiiUhpWGafOvSnvxtl/wwugZHQ/UQ/bzTgf/6tiITjaKJTaLjprx946vpAZshF1S mo6XWuWnawjLHrn356x5foWw6pN1vFRRtv3oU/uVgrjROzgH8tLnki7jhQbLXZzLE+3W 2z1EhPEZOPfbD1Dpm25PWYbHk3t+qdNvAjidK11hizq/f2gK8ZG3AoghVaLbCB41jHAe 1//w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=hzYInvTdkHeJ6EvgC1r55gGxTl2dF99Uq7NMJWAht5w=; b=hG7pCB0tVsIOh2LIatbzzkaLV9r/c1J/LWUkp7SHb+uo26gqqvTjIFQfKLz/coXn9h VEtgePI1T4nb2Gy5+YIt+2zKtO2/S90yLyIraWGWDr5NyKUpp0ezVfz0gKcrY2ZDms8U jlDa+tpG+d6MGMSwot0sJ2gEp/Bx2LAsxgInIvDbcV8F2wkFfZuTLgtckWGBG7L8roCa AsvCaarpCc72LCp71fHDvWm2SNxgTzg3go43OPAo/0ywq7JvV3BVE/MXwpAqFmPi9Za1 7ZRHf5ApQ/7tQqGswUyUSJ1/gWaeKL3l5NpTpYZwhAJ3VdiIyyDLy1RUoeeP1CRQwdjA 6/9w== X-Gm-Message-State: AGi0PuYxDAO99C5srypHdVviB1znCQNEmyKEUSf7yNqYiWXHSJCy4e9M vj3tFTj6g5TLxSkkBOtjeBaQcULrSi8= X-Google-Smtp-Source: APiQypJeVJ8mPywk+5Gg9dtiuyXjOHeIPYUpyv7RN6TjiByLu/NYFBOq9u8sWe7XHoUyHY+HqRE3aw== X-Received: by 2002:a19:f610:: with SMTP id x16mr9253643lfe.79.1588538286075; Sun, 03 May 2020 13:38:06 -0700 (PDT) Received: from real.local (102-65-12-222.ftth.web.africa. [102.65.12.222]) by smtp.gmail.com with ESMTPSA id j15sm6477914lja.71.2020.05.03.13.38.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 May 2020 13:38:05 -0700 (PDT) From: Keegan Carruthers-Smith To: Chris Tennant , notmuch@notmuchmail.org Subject: Re: waiting tag In-Reply-To: References: Date: Sun, 03 May 2020 22:37:16 +0200 Message-ID: MIME-Version: 1.0 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: notmuch-bounces@notmuchmail.org Sender: "notmuch" X-Scanner: scn0 X-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=OFhogvhH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 50.126.95.6 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Scan-Result: default: False [0.09 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.4654735715012]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; DWL_DNSWL_FAIL(0.00)[50.126.95.6:server fail]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 27017(-0.18), country: US(-0.00), ip: 50.126.95.6(-0.47)]; DKIM_TRACE(0.00)[gmail.com:-]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.50)[cached: notmuchmail.org]; MAILLIST(-0.20)[mailman]; RCVD_IN_DNSWL_FAIL(0.00)[50.126.95.6:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:27017, ipnet:50.126.64.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[102.65.12.222:received]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[keegancsmith@gmail.com,notmuch-bounces@notmuchmail.org]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[notmuchmail.org:email,witeshadow.com:email]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[notmuch@notmuchmail.org]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: 2vQBJjcL5wxX Chris Tennant writes: > I would like to have emails that I am waiting on a response for to have a > special tag that is removed once I get a reply. There are other products > that do this, but I would much rather do it all from NotMuchMail. You can add a "post-new" hook which does this. Assuming you are use "waiting" as the special tag and notmuch's default "new" tag this could work for you: notmuch tag -waiting -- tag:waiting and 'thread:{tag:new}' Just ensure you are clearing out the new tag to get the correct behaviour. For example by running "notmuch tag -new -- tag:new" at the end of your post-new hook. Cheers, Keegan