From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 1FD9C6DE128B for ; Sun, 13 Aug 2017 22:55:13 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.039 X-Spam-Level: X-Spam-Status: No, score=0.039 tagged_above=-999 required=5 tests=[FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211, SPF_PASS=-0.001] autolearn=disabled 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 3YRRDazLVCcT for ; Sun, 13 Aug 2017 22:55:12 -0700 (PDT) Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) by arlo.cworth.org (Postfix) with ESMTPS id 8CA226DE11EF for ; Sun, 13 Aug 2017 22:55:11 -0700 (PDT) Received: by mail-wr0-f171.google.com with SMTP id 33so30926645wrz.4 for ; Sun, 13 Aug 2017 22:55:11 -0700 (PDT) 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:date:message-id; bh=RZQH+y0NJyhPCI7Qe/W2gGfCfUWvvhk3ZauoKdlE7UY=; b=Zvl/FSGzWnI72C94uAbSzyRlDMPeM5GN+g1AG0sTV3tFS3rMkFgTXRc/24YHq0AbHx G6I1ozzkB5z8GmWMzC4jO5ZrqdiTx48ETKqCu829P07xAY0eQAUQyDnlyGZcbdBfnJfe G/yrXEmGRAfbpVtlCv1fHhyh+QcdyUiTitFwwcjr7gUAWvBZ80V7kOw5ghANunZxne5U MQNj6T43y8HkXVnKwhBJJe1mQ+c4Q6NdMT69TIFQRTMCHU6/WdKBQQTtZWrltVsYx3bI nowEARejzHjAKEhsDLVSJB4G2GEy1GP/EMIwaAZUDgI5JiKrUz4eUqqYN+bfqYDmJWzS ijvQ== X-Gm-Message-State: AHYfb5jBQd/Mwn/7n6Ftl67/RZP0xlDTNm4of3hgPc13YpIhH0IMkzHE u6VoOq4DTDO5lVCOoD4= X-Received: by 10.223.136.178 with SMTP id f47mr18132704wrf.250.1502690109667; Sun, 13 Aug 2017 22:55:09 -0700 (PDT) Received: from home.thecybershadow.net ([89.28.117.31]) by smtp.gmail.com with ESMTPSA id w20sm6045494wra.27.2017.08.13.22.55.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Aug 2017 22:55:08 -0700 (PDT) From: Vladimir Panteleev To: notmuch@notmuchmail.org Subject: [PATCH 0/2] Update search results when tags change Date: Mon, 14 Aug 2017 05:54:55 +0000 Message-Id: <20170814055457.7475-1-git@thecybershadow.net> X-Mailer: git-send-email 2.13.3 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2017 05:55:13 -0000 One of the things that stood out to me right after I tried using notmuch, is that whenever I performed a search (which included some unread messages), opened an unread search result, and went back to the search buffer, it would still show that thread as unread. To update the display, I'd need to invoke notmuch-refresh-this-buffer, which is not only pretty slow, but also resets point, i.e. all-in-all rather annoying. Fortunately, this was very easy to fix, as the machinery for updating individual search results was already in place.