From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SMMUK3sbxWDd0gAAgWs5BA (envelope-from ) for ; Sat, 12 Jun 2021 22:39:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yA6ZJnsbxWAUHQAAbx9fmQ (envelope-from ) for ; Sat, 12 Jun 2021 20:39:23 +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 3A3C6A8BD for ; Sat, 12 Jun 2021 22:39:23 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 5D9352B26E; Sat, 12 Jun 2021 16:39:14 -0400 (EDT) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [IPv6:2a0b:5c81:1c1::37]) by mail.notmuchmail.org (Postfix) with ESMTPS id D75EB2B20F for ; Sat, 12 Jun 2021 16:39:11 -0400 (EDT) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 64C6F1B0004C; Sat, 12 Jun 2021 23:39:06 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1623530346; 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: in-reply-to:in-reply-to:references:references; bh=ZCDJyNMy/d9wpT6MCRfjJ3nPEmV9jaovLxlU9MWMc7k=; b=a1mOQHkpimrGL8q9t4qiDP6OiyaLQp2ghz8YhTPdKQV/Jmng/54jpnR49IgBYAYW6DQbrd gFVZ4k7O40qx3QbIhHIpEpkmhE08szpZKWB+IIcj9xvJheTpTl2GPFEqeDUXGF/dnTl2ci WAUZWdeIjztP7ARVIPiwmloCgGGY6WA+dJ5qPVRXE9InB0OwPBDeBRin8zqCVvzGAKE8aR YOAyH3VCKDejvlif1ADxlUd8dh20X8E0NU93w/8N4wHnpJeJKD2RS3Ts0+1ptY2DhdLbUo 5h1Li6sRw4AMdwRc7SEnlm5OZmHfmXJCecNhKzG1ohHQohKvXF0gG9kiDNJQnQ== From: Tomi Ollila To: Jonathan Wilner , Alan Schmitt Subject: Re: show a single message in a huge thread In-Reply-To: References: <871r9rkw2i.fsf@m4x.org> <878s3zniei.fsf@tethera.net> <87y2bzj651.fsf@m4x.org> <87k0neoywi.fsf@m4x.org> <87r1hll9j4.fsf@tethera.net> <87lf7sojbq.fsf@m4x.org> <871r9klat9.fsf@tethera.net> <878s3rmlfj.fsf@m4x.org> User-Agent: Notmuch/0.32+21~gfdddd4c (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1623530346; 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: in-reply-to:in-reply-to:references:references; bh=ZCDJyNMy/d9wpT6MCRfjJ3nPEmV9jaovLxlU9MWMc7k=; b=VBBLK8OaNcqHMaQBR3IQZr8elnz8QvjWapQnpfy602oRIro6yhTP8+0LQQc3nbEe5Ecfgt GNUKP+vJfGQQeLwHGXV2lpLEqKyJ+xuP0cncgizaW4fdQM077yUsa9U4tWUug0nS2AjVyx zgbwbmCaJ2zg62NlIZtcVBmYRvHrHvMbrdedosb96FwiS38mFhs4YYEMle3WcW5ULTX1G8 ohDBxvp8vD5IP9rMo0yHJR+Sqeho003a9VptGypodgWHw97a5RuSWs6+J9b+8MauF5eUnS LsVxHX19fYt1kIr5V0Hh5V/dYoYFUxChZCYLKQsYhS9LrGopnzCEuSVcEBWFrg== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1623530346; a=rsa-sha256; cv=none; b=i7fbTUG+FU/oLjqX3wiPv2HL7yz/VOukHTIzQH9eL4PFb0RQxEY0EMVCn8saJMjpb3bjou JSSyi/lbyjOaSiYx+4J8KJQ1mHBD1vnySU6ceXZPTJxI+70ZRpMsr6S72sAeOJg1UdsTcT GDRo9YQ1SHr3dAxJwfsLprH9awwQ69RcI2Bm2WXQmSxaYi3n6RQC/1klti71QDZ8wsyTCm JnXmuTKrKyCoSRLB04i33+ponwteGdJGn9XbDlfBuV0pKf4/q2tZJdAfm0eamykWkUnEAS G73uhJsp6cMt7VTPAKZJALe5YkDOLD/klWhGDSjhyxfEMwg79WHj99ua2tfGxg== Message-ID-Hash: HGN5XKYR7YBW4CXBPHGEHS6XEGI6UFGK X-Message-ID-Hash: HGN5XKYR7YBW4CXBPHGEHS6XEGI6UFGK X-MailFrom: tomi.ollila@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; suspicious-header CC: notmuch 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623530363; 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-unsubscribe:list-subscribe:list-post:dkim-signature; bh=n9AS4ylV897e9L7+9KoxyNFLXiN202i1BKnJ/XJZjb8=; b=srlyOa/W+5ZQK5hFKxjsZhTQr4NuWk7ljmkO+qn2MswLSwIq8N43nGsESfm/Wo/Kg5DBTP a7KPBrt8hUe297x4zSjhMpY+pCwSInV2ONEX4CCy9r8EvOly5CITMNiAxDvoTybOSA6E1x TtZ6pFiEMTxUHiUZM3fjDlL3SKEoN/VrsHu78aZuOBobCXsvGdttYAkQ+9IMTa909mTkaz kzL4E8oNtJJ1nv0jWLWTmPHNUJgviirM8rYu/ddDs3dUFVO+6W4kHvXbhSqGhW8eiSMO+0 SvLjlkIlynuITAmyPQWvjRzAa1jsMCBGnpv0yWXVa5xLDvvWxuzOzdCLYYoTtQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1623530363; a=rsa-sha256; cv=fail; b=RwNGNUUocf1vZiYfVZ1kKZpHzjaWBtP+w4SWfDraP9g6BDcHLn0cF0pgic8Lc+UQ/IiaMy ALVu88nVtiXopeV/0/0hhoA/bILkjYH+d8kQNa7trr/zPRxiNmTeoqn7hJomNTIgOCLoZ0 qTXci2CzoQqqhQwfA/NGE2Lwbj7bGlOR7i0Dl84o9zFxMHMfrFdKTN6JxrA1dmoMmJkoB7 CPXMBeG4jFQ5k51Yzy/4w9ay8E/mO7/UX4vvST9lVVJrYo9zmG/AVf7rk84dgnTptQ0JN4 WtMhzDKJqv/HwG9jGbnrBhvxINEhj2vYAZSrctteL2l3XXd4flJn1x4mdddAmw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=a1mOQHkp; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); 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: 0.97 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=a1mOQHkp; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); 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: 3A3C6A8BD X-Spam-Score: 0.97 X-Migadu-Scanner: scn0.migadu.com X-TUID: QUE0kCD0B7Br On Fri, Jun 11 2021, Jonathan Wilner wrote: > I definitely also have this problem with large threads - big time hangs > using Notmuch in Emacs. My simple tests indicate that it happens in Emacs, > not using Notmuch at the command line, though that can also take quite a > long time to return. > > I'm suspicious that there's something with HTML parsing - does that seem > possible? It might also make sense if Delta Chat is giving you HTML versus > plaintext. one thing you could also try is to press '<' in that notmuch show buffer adn observe how long it takes to drop indentation of the whole buffer (i don't remember how it does that) and then repres '<' and see whether re-indenting takes much more time dropping indentation. in notmuch show there is (defvar-local notmuch-show-indent-content t) I tried just to M-: (setq notmuch-show-indent-content nil) -- that did not have any effect... IIRC the (indent-rigidly ...) executions take quite a lot of time but is that significant or not here... Tomi > > > > On Thu, Jun 3, 2021 at 12:55 AM Alan Schmitt > wrote: > >> Hello, >> >> On 2021-06-02 09:18, David Bremner writes: >> >> > The code I posted worked fine for me for one message from a thread of >> > 323 messages. >> >> The thread that used to crash (before your patch) was from DeltaChat, >> which is an email-based chat app. The thread it produces are like lists >> more than trees. So I guess the depth of the tree is what matters. >> >> Best, >> >> Alan >> _______________________________________________ >> notmuch mailing list -- notmuch@notmuchmail.org >> To unsubscribe send an email to notmuch-leave@notmuchmail.org >> > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org