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 B2BF96DE0361 for ; Fri, 18 Jan 2019 16:27:13 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.059 X-Spam-Level: X-Spam-Status: No, score=-0.059 tagged_above=-999 required=5 tests=[AWL=0.142, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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 LoWvVyoDSXDu for ; Fri, 18 Jan 2019 16:27:12 -0800 (PST) Received: from istari.evenmere.org (istari.evenmere.org [136.248.125.194]) by arlo.cworth.org (Postfix) with ESMTP id 938BD6DE014D for ; Fri, 18 Jan 2019 16:27:12 -0800 (PST) Received: by istari.evenmere.org (Postfix, from userid 113) id 7E26A1F7DA8; Fri, 18 Jan 2019 19:27:10 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=evenmere.org; s=default; t=1547857630; bh=t1UmXz2IYHtaNEhxHi/Io5Iy3Oyxc2VsTaEvn78r/vA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=y4Wah6m56pgmvKTuVeBZrgztlcCmsEsw56DPGnL+YTuyC0Nj12jE9uVFtcyTL506W XSjWAckwDFqX9oHaYe5XMktqnefvqW+RtmSuSDZQ2rA1h+IUeGRmvY9/rUOzPvKmwu O7g0XJC90KldMN0dlB0S978fQY3kBn5rOB3WMa8M= Received: from [192.168.0.23] (pool-108-7-216-63.bstnma.fios.verizon.net [108.7.216.63]) by istari.evenmere.org (Postfix) with ESMTPSA id 3FF531F7DA8; Fri, 18 Jan 2019 19:27:08 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=evenmere.org; s=default; t=1547857628; bh=t1UmXz2IYHtaNEhxHi/Io5Iy3Oyxc2VsTaEvn78r/vA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=mle/nY+r+BJ74XYwvckw9F/yIn4aRbHT60KwiMWCDxzc6wSQAQV8yUrQs5GkFHWA1 1RSJBHLQTI1zXWj+Xi0CM1R8JqpaKItpO11i70uZyiMD13k0jdve+G446eFUapb3RT RA063vMFWCrE5WyDDd67WGABV7mLdpDR6Hn+vgOI= Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: emacs slow with large threads From: Brian Sniffen X-Mailer: iPhone Mail (16C101) In-Reply-To: <87fttpy0n5.fsf@mechane.wlandry.net> Date: Fri, 18 Jan 2019 19:27:07 -0500 Cc: "notmuch@notmuchmail.org" Content-Transfer-Encoding: quoted-printable Message-Id: <8CF7B808-E2BC-4902-AE46-1D398013EF51@evenmere.org> References: <87fttpy0n5.fsf@mechane.wlandry.net> To: "Landry, Walter" 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: , X-List-Received-Date: Sat, 19 Jan 2019 00:27:13 -0000 This is much worse than normal problems with large files or long lines. Ther= e=E2=80=99s something worse-than-quadratic in the nesting and indenting elis= p. I=E2=80=99ve been meaning to get around to figuring out what, but no luck= yet.=20 --=20 Brian Sniffen > On Jan 18, 2019, at 7:03 PM, Landry, Walter wrote: >=20 > Hello Everyone, >=20 > I am using the emacs frontend to notmuch. It has mostly been a pleasant > experience, but I am having a problem with large threads. Essentially, > when I try to view a large thread, the machine locks up for many > minutes. The problem seems very similar to these posts. >=20 > https://notmuchmail.org/pipermail/notmuch/2013/014811.html > https://notmuchmail.org/pipermail/notmuch/2015/020379.html >=20 > I tried turning off html rendering by setting mm-text-html-renderer to > nil. That helped, but it is still taking at least 10 minutes to render > a thread. I killed it when I ran out of patience. >=20 > The thread has 231 messages, and running >=20 > notmuch show thread:000000000000d637 | wc -l >=20 > shows that it is 46918 lines long. Running that on the command line is > fast, taking 0.123 seconds. As a comparison, I tried opening the thread > with astroid. It was not instantaneous, but it only took about 3 > seconds. >=20 > I am guessing that the emacs mode is trying to process the result. I > can work around this a bit by opening individual messages with "C-u RET" > instead of "RET". But then I lose context. >=20 > Is there anything else I can do to make this work? >=20 > Thanks, > Walter Landry > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch