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 uPUTIBwFSmFUcwAAgWs5BA (envelope-from ) for ; Tue, 21 Sep 2021 18:15:24 +0200 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 kCTLGxwFSmFqPwAAB5/wlQ (envelope-from ) for ; Tue, 21 Sep 2021 16:15:24 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (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 90BFB36CD for ; Tue, 21 Sep 2021 18:15:23 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id E79EC20645; Tue, 21 Sep 2021 12:15:19 -0400 (EDT) Received: from mx1.polytechnique.org (mx1.polytechnique.org [129.104.30.34]) by mail.notmuchmail.org (Postfix) with ESMTPS id 58DAC20565 for ; Tue, 21 Sep 2021 12:15:17 -0400 (EDT) Received: from set (cbg35-2-78-242-14-140.fbx.proxad.net [78.242.14.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id E47FE5611E4; Tue, 21 Sep 2021 18:15:15 +0200 (CEST) From: Alan Schmitt To: David Bremner , notmuch Subject: Re: performance in emacs displaying a huge thread In-Reply-To: <87h7eeszv8.fsf@tethera.net> References: <877e1sr378.fsf@polytechnique.org> <877e1s4gsg.fsf@swing.csc.kth.se> <874kvsp2ni.fsf@polytechnique.org> <87tuk81tqj.fsf@tethera.net> <87mtpca7d4.fsf@m4x.org> <878s0w12fm.fsf@tethera.net> <878s0v9swk.fsf@m4x.org> <87o89qzzb5.fsf@tethera.net> <87wnnauznr.fsf@m4x.org> <87lf3qt80i.fsf@tethera.net> <87lf3quhu4.fsf@m4x.org> <87h7eeszv8.fsf@tethera.net> Date: Tue, 21 Sep 2021 18:14:55 +0200 Message-ID: <87ilytvrb4.fsf@m4x.org> MIME-Version: 1.0 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Tue Sep 21 18:15:16 2021 +0200 (CEST)) X-Org-Mail: alan.schmitt.1995@polytechnique.org Message-ID-Hash: 3JVGARQ6LG7C64TXEDJDR6LBAXGHYS3F X-Message-ID-Hash: 3JVGARQ6LG7C64TXEDJDR6LBAXGHYS3F X-MailFrom: SRS0=6r45=OL=polytechnique.org=alan.schmitt@bounces.m4x.org 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; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============5050832763216728880==" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632240923; 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-unsubscribe:list-subscribe:list-post; bh=ZyNAtCDbIGYW0id9LTJGUL4OpLgoI4gVIhjdt6gzpz0=; b=WHltIQoCALztmYHb2386vkSc6w61QX+1ZX9By7eSjuPbK8ZnzSZoPdwQMxsoJ68RD/cYjr bKEfwQjDMuKbttylJ3YX1IGuA+FcDpp/MIxH43I3XtytmH6XClcRazD2Laalt/G9VxkABJ eYGUC5typVD+/d6NbMsEW/gZlFdfZ+yz6Fz8ZDqDLq4/SkUzhUAgMMAnokDn+QF6f7JocJ uZU+IzrfJ+6HbwV1aA8wnAs0bRID9OkMBUz3fAuD+BwhlxEzZjpNKUi86v2/kDBapoHIiw qAy40Hr5p3oy+bBAT5o9/EPX7fQN+FUCKf6RFFgFuc4+APdsR3o5+ZIawXDIpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632240923; a=rsa-sha256; cv=none; b=Vwzs6hNkqlTpTrPpDmCApVNnCnnfsNwiP2+ahmw3MuDE/AfltFUgfjnR7wxywiCzgbzfpx CQ6tcYlG2ruSE3/btGvurMr/VZ1CS1fmwHLFKzNVGt61nNEvFy+zAfVPKoOiOnaaDi++nB rt+qxf1Oem0iwZ0iKABFhW5D3R5xzoNgIrhggv0q+KKO25WDKhn5aOcOp0j8K+5OHoBjqM xLrGsLGtOQU5bXY8VaLVdSvOSfL78a4QNStF5wiDUXePOtGemg7FSvfgSjHDcYo+j8pY6r d7XjhWFmUvGU7b64BZea1V+32VbavgEGRNwaVgO+1aiFncoBDgFwoe86vjn9nw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -4.22 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 90BFB36CD X-Spam-Score: -4.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: qiVvMdTR4ARa --===============5050832763216728880== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, On 2021-09-21 12:38, David Bremner writes: > Alan Schmitt writes: > >> Thank you for bearing with me. I confirm that I can see messages at the >> beginning of the thread using both an unthreaded search and >> notmuch-show-only-matching-messages set to t. Unfortunately, messages >> later in the thread still result in an error: >> >> Debugger entered--Lisp error: (error "Lisp nesting exceeds =E2=80=98max-= lisp-eval-depth=E2=80=99") >> mapc(#f(compiled-function (tree) #) ((nil ((n= il ((nil (...)))))) (nil ((nil ((nil nil))))))) >> notmuch-show-insert-thread(((nil ((nil ((nil (...)))))) (nil ((nil ((n= il nil)))))) 197) >> notmuch-show-insert-tree((nil ((nil ((nil ((nil ...))))) (nil ((nil ((= nil nil))))))) 196) > > I don't really understand how you got here. For me, if I type U from > notmuch-search to get an unthreaded view, then just shows the > single message, and "notmuch-show-insert-tree" is not called. > > In this way I can view arbitrary messages threads of up to 1024 in > length. I didn't test with encrypted messages, maybe that changes > something. I can view a thread with more than 7000 messages (with show-only-matching-messages to t) if they are not encrypted. In fact I already could with 0.32 if I remember correctly. The fact that messages are encrypted seems to matter here. If it matters, here is the bottom of the debug stack: notmuch-show-insert-thread(((nil ((nil ((nil nil) (nil (... ...))))))) 1) notmuch-show-insert-tree((nil ((nil ((nil ((nil nil) (nil ...))))))) 0) #f(compiled-function (tree) #)((nil ((nil ((nil = ((nil nil) (nil ...)))))))) mapc(#f(compiled-function (tree) #) ((nil ((nil = ((nil (... ...)))))))) notmuch-show-insert-thread(((nil ((nil ((nil (... ...))))))) 0) #f(compiled-function (thread) #)(((nil ((nil ((n= il (... ...)))))))) mapc(#f(compiled-function (thread) #) (((nil ((n= il ((nil ...)))))))) notmuch-show-insert-forest((((nil ((nil ((nil ...)))))))) notmuch-show--build-buffer() notmuch-show("id:Mr.ye1AxFHsd2E.Vd_oS17awSv@polytechnique.org") notmuch-tree-show-message-out() notmuch-tree-show-message(nil) funcall-interactively(notmuch-tree-show-message nil) call-interactively(notmuch-tree-show-message nil nil) command-execute(notmuch-tree-show-message) Best, Alan --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE6lXof/BsSVW56ZmGBA0KO07S5ccFAmFKBP8fHGFsYW4uc2No bWl0dEBwb2x5dGVjaG5pcXVlLm9yZwAKCRAEDQo7TtLlx0KWCACR/yvwN7HV39ch o6gcCDUk84KHuqi+OjUOIsIzNyU7PhTx0uNoVOBND7+JN61G3dqfT9F18o7Lv0re KYVzWI/9hsRP1d3mwVPjI9YoM36+kbFuaADpNC6RV8jHfqF8+2MWAsjcvF1M6UDt 8l3ffzZf5zNIGgPURClGR5JXUSd9ncWTKvcll0DXiWtF0LwEbLc/EEfJaXnz91Ai CWjmJJFbyMZ2pCsBTbPlveXIcZSdZ6JizpzNm8QN3MLt6cB3Cc7H4CuLO8Hf4uq/ 3kCSQolqMfIFb+cMG1ANUot7egUr/L4VWWriQqATQSuJu8rJ7XDxtYDYr9/CDEXg GFG8sr/I =np9j -----END PGP SIGNATURE----- --=-=-=-- --===============5050832763216728880== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============5050832763216728880==--