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 ms0.migadu.com with LMTPS id qLBmE9S+wWGvbAEAgWs5BA (envelope-from ) for ; Tue, 21 Dec 2021 12:47:32 +0100 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 iEQGD9S+wWHYFQAAB5/wlQ (envelope-from ) for ; Tue, 21 Dec 2021 11:47:32 +0000 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 1684831117 for ; Tue, 21 Dec 2021 12:47:32 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 010D15F70A; Tue, 21 Dec 2021 11:47:28 +0000 (UTC) X-Greylist: delayed 506 seconds by postgrey-1.36 at yantan; Tue, 21 Dec 2021 11:47:24 UTC Received: from meesny.iki.fi (meesny.iki.fi [IPv6:2001:67c:2b0:1c1::201]) by mail.notmuchmail.org (Postfix) with ESMTPS id 57E725F5EE for ; Tue, 21 Dec 2021 11:47:24 +0000 (UTC) Received: from mithlond (mobile-access-6df047-237.dhcp.inet.fi [109.240.71.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: tlikonen) by meesny.iki.fi (Postfix) with ESMTPSA id D17152037C; Tue, 21 Dec 2021 13:38:56 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1640086737; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pEfS+ziW2VmF+0FhOK8Vhkk1EJMp2c7H7u/hSwnp4tA=; b=ABRx+xv2jf1uovlPjKhoUj5j82/hvaEUt9VBn/Tg5VOkFykbw0nyjRrYHcUasuPQ7bqYwM M7Ng2JgZoZsexJoA08GqeVHtcjh24mf1Fn0Seow3BV3CGow0G1o0x6xIECTvUjOelwrcv6 ZbWpfxkJkZGMC1NLccyVlAnUydqEZt8= From: Teemu Likonen To: Gregor Zattler , notmuch@notmuchmail.org Subject: Re: FR: show next unread message in notmuch-tree-mode In-Reply-To: <87zgou4kw8.fsf@no.workgroup> References: <87zgou4kw8.fsf@no.workgroup> User-Agent: Notmuch/0.34.2+1~g2394ee6 (https://notmuchmail.org) Emacs/28.0.90 (x86_64-pc-linux-gnu) Date: Tue, 21 Dec 2021 13:38:49 +0200 Message-ID: <87bl1a6vcm.fsf@iki.fi> MIME-Version: 1.0 ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=tlikonen smtp.mailfrom=tlikonen@iki.fi ARC-Seal: i=1; s=meesny; d=iki.fi; t=1640086737; a=rsa-sha256; cv=none; b=AoUOzwRL4WvVPZUN0bPsQyzq4ns33U3TB5YmqQXKys2Nj41laRJvvi15ivMc7zyQJ8opQC LzU8ahKX/gbJJ2sIAeOTMX0Ui4k3sc9GXQ2rKi0M3PVK37ZtRcqdzHsnY+a5Vk1els9KC6 gbgFlbouwyrA/qbVkuSMrB5nMOC9zh0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1640086737; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pEfS+ziW2VmF+0FhOK8Vhkk1EJMp2c7H7u/hSwnp4tA=; b=kyOfWEsHxycVmHT4Mhd4COMTE0iLnUb5R/XS2g3buAzDKspO56DEIwAtHdoeTVJBSDvR+i oZSclz+7gEdm6knjpmIVxevd7gPO3m66HFRm4/lLN9uN6h6ZOeubZtva88Ax9r/vDoWnVH fvQ2n/ILpTwDwB81vlWKuaLTzzJxK5w= Message-ID-Hash: BDHVKNBK73WKQATZUNSGKEFWRKDWJ74Q X-Message-ID-Hash: BDHVKNBK73WKQATZUNSGKEFWRKDWJ74Q X-MailFrom: tlikonen@iki.fi 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: multipart/mixed; boundary="===============4484266905683071337==" X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640087252; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UVXcPSDiaYLpENSB12oWH2aXLUK8qHDdf2mY8uq4ra0=; b=gP1wDd4640xqZkrx8y37Yb4Kc+42a0sPU65IFUJ7Kxwcn1dBnNGQmPpyhUB0AHSC+Tdm15 WcGrywqKc/XpM0M5G0IR1HCERQ9QliMp6aKL4kT1iAuK4NjR6k5LEoBTwUfkXQ1H2/0Y8o rMiPyCiYS9xAeAsIv09cIhA5r9KMN/W1Y7k2+5IIEpAKN3OSr8raLzz2gD0fcYPPVbYgq1 9v6Z5f0pEAVkHHh9KSQabnqiIfwRfSGiMq/6GHs4SBG8EBaAcOV80xw7p+yEjjtRR3hHjH O2di8wzUWZHgCwCqeDiDj1qfKkjz9RrYWBuq7LtmenBwumj7zxVI8BqqBgkThA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1640087252; a=rsa-sha256; cv=fail; b=NAR+RjInV+VGBLTKItR7T65b9nTtkE0i1/MPjA3ZqcR0/8tT8M+WFHcFVMTxHnw8/pYXm/ J0QiDFP5d8kjHKlkZabyjsvqOxw1foMNZoSoxIkwMytv/YkGYvYvHTLvqPJGx2PZVRixzt OxcUGYd1bDhmqxoQyOJY4XYiW3Snd1nFmC7BVyaHLF4SDVZiCjsOXcd1XWyIuADW3W53ac 0RVDmm6mHn/O4sboyPwHAOO3yLmOuqSxoqAt1X8HSipqXfi5yI/FHlnIF3O44w2Rx6EEpw H/idhv1gGWsIcxOcP+Y9QLg+66kkmm+JglxcNNRhPbG7Ptx3D7S/EVA+RtTFgA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=meesny header.b=ABRx+xv2; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=fail (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org does not designate 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -3.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=meesny header.b=ABRx+xv2; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=fail (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org does not designate 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 1684831117 X-Spam-Score: -3.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: pg6jeLezlJc5 --===============4484266905683071337== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * 2021-12-21 05:55:19+0100, Gregor Zattler wrote: > Dear notmuch developers, it would be easier to read big and old > threads, as e.g., the current one on emacs-devel on integrating sqlite > (starts with: id:87tufmjyai.fsf@gnus.org) in notmuch-tree-mode if > there was a notmuch-tree-scroll-or-next-unread command (and respective > key binding). While I don't oppose a new feature I'll show how I like to read unread messages. In *notmuch-hello* buffer I have a separate section for unread searches. Basically it is like normal list of saved searches but with search term "tag:unread" added. Here is the code: (defun my-notmuch-hello-unread () (notmuch-hello-insert-searches "Unread messages" (mapcar (lambda (search) (plist-put (copy-sequence search) :sort-order 'oldest-first)) notmuch-saved-searches) :filter "tag:unread AND NOT tag:spam" :hide-if-empty t)) (setq notmuch-hello-sections '(my-notmuch-hello-unread notmuch-hello-insert-saved-searches notmuch-hello-insert-alltags)) =2D-=20 /// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/ // OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIYEARYIAC4WIQQL23klfGMkeOvdGCt57xklfWtWWwUCYcG8yRAcdGxpa29uZW5A aWtpLmZpAAoJEHnvGSV9a1ZbtsABAIzh0yzBnBrVwr2Aa9LHB5Bl+So8LBaaaHUe bCNwyZS8AQDf4D827XZRaDx+m9tJz0gOMeFllBTZynMnPIcuV3CED4iGBAEWCAAu FiEEyVtsKrXpcQtYB3W4rZ11q+6UwnMFAmHBvM8QHHRsaWtvbmVuQGlraS5maQAK CRCtnXWr7pTCcz7FAQDWRHtCNyStz3qMCQGUKaD+oYxeF7cv1/N/H9tBdaevIAEA zII01dU/KZOIY2u3N1chpWRf2K10k9u98J2I95v86gU= =K+yW -----END PGP SIGNATURE----- --=-=-=-- --===============4484266905683071337== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============4484266905683071337==--