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 BAA376DE02DD for ; Fri, 18 Jan 2019 16:03:20 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[DKIMWL_WL_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_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 S6wbmb5Wwy8W for ; Fri, 18 Jan 2019 16:03:20 -0800 (PST) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-eopbgr760075.outbound.protection.outlook.com [40.107.76.75]) by arlo.cworth.org (Postfix) with ESMTPS id E9CEE6DE0280 for ; Fri, 18 Jan 2019 16:03:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=caltech.onmicrosoft.com; s=selector1-caltech-edu; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qkjXHvJiLR8Do5JSXPvF5ZwYd1RWkupa0KkKa4ghG/s=; b=WBNGR6F+cnWE9TUQlyGk5I5ll8dm70W8W1SIp8yFdK3GLChXsC7fTa5QhuF+ifuG6UU54r2ofKVy0SXSHA7yKYLZLRmOvE44BDDzyD8bAKvdlNzFSmoIqwGWojh8tvbLtl56uXH12YCd3gvu3ynvFO3xpiPXApANOFSOQTSevh8= Received: from CY4PR03MB3207.namprd03.prod.outlook.com (10.171.244.141) by CY4PR03MB2695.namprd03.prod.outlook.com (10.173.43.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.18; Sat, 19 Jan 2019 00:03:18 +0000 Received: from CY4PR03MB3207.namprd03.prod.outlook.com ([fe80::b187:d0d9:4f38:bea4]) by CY4PR03MB3207.namprd03.prod.outlook.com ([fe80::b187:d0d9:4f38:bea4%3]) with mapi id 15.20.1516.019; Sat, 19 Jan 2019 00:03:18 +0000 From: "Landry, Walter" To: "notmuch@notmuchmail.org" Subject: emacs slow with large threads Thread-Topic: emacs slow with large threads Thread-Index: AQHUr4ph3sfbpPEUvUi4zPXQmuSTkQ== Date: Sat, 19 Jan 2019 00:03:18 +0000 Message-ID: <87fttpy0n5.fsf@mechane.wlandry.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P265CA0382.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a3::34) To CY4PR03MB3207.namprd03.prod.outlook.com (2603:10b6:910:51::13) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [128.179.253.184] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR03MB2695; 6:YFikbS1DNGJ4K3nnVjD6jyeQebMV0S2b9w1RN1jsVOy+F8lQH7xRVrycjtCn0HinNPr/QyLg4Q/MZj1anLhYmoGWlO+Q2lXeyAMf0si7v2cd2o9XUdYL2UTqjSVJ2wvt3Qzh/Cj8fMJoveMVyNzrONzrWY5sVNAM8dsTQeMhxLNxBvdyR60/s1LBKR9AYpDVUrnK7dCl4unPcKRkEgGwJUJVSe0XfCgHHL/pE8vFUZ1Q5Um5N9VAVKpTEluDHet9ERp3ygS7YCHwDT27Wjnv3YV5PIizJJhmkuvAE1Kti3t7ZwDnAjebO3reAkr6wthiwiJg3LEkORa7p4ai0+FGgrGd/6V8QzCb16Gnpu8BZc8Pk8IjUWxpgfpkvXBEhGiJASD69XOB+AosL4/3BRfpup9aPkZZqqAb6MrQAapHyZ0+6nqTMIrSZSMbdte+3DD8yMgpWO4JQK1qp0H6FfJezA==; 5:gvBXscxSMXtBUF2s4KTeKUCZVb5npF5wD1+BPKCmeLZNAk1CENCxNyJVRHJTrZFYKhpE8ZPXfk/q3D4+ZUbe6YgpOjLvqFAsmuvd/dfHesS6OTbsktkaXXvBuXYeVl6WYkxiBzNeGroduHuTVPcT8bKp7X5zp5GvJSfpueyXsSRa7RxYi2+kOBNopdNOo1x8ktSfC78WzijYl6vwomcxdw==; 7:7XKYg3RL0Vi5hPMHYzVBvXpUh9PLjGKTc9dpA4Bb4/BZ4USdXEpdMocmOwnoGOkUv7psWQaynx2/ef5pdBUBZ9UtJltCIKNQ9hD9Mso4JSTXaKF+ypwiEGfRCXl1mKxEGjufhB5mrRfc6a/3pq9jGg== x-ms-office365-filtering-correlation-id: 8ddfd767-25bb-4def-7b72-08d67da18427 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020); SRVR:CY4PR03MB2695; x-ms-traffictypediagnostic: CY4PR03MB2695: x-microsoft-antispam-prvs: x-forefront-prvs: 09222B39F5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(396003)(39860400002)(376002)(136003)(199004)(189003)(53754006)(6306002)(25786009)(256004)(486006)(6486002)(6506007)(52116002)(9686003)(8936002)(476003)(68736007)(8676002)(53936002)(6436002)(5640700003)(102836004)(81166006)(1730700003)(6346003)(186003)(81156014)(2501003)(6916009)(33896004)(26005)(2351001)(75432002)(316002)(88552002)(305945005)(386003)(786003)(97736004)(105586002)(6512007)(966005)(14454004)(2906002)(5660300001)(99286004)(106356001)(6116002)(71190400001)(3846002)(86362001)(71200400001)(478600001)(66066001)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2695; H:CY4PR03MB3207.namprd03.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: caltech.edu does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=wlandry@caltech.edu; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Otw7/++nyAr6cPQ6SMu6FkXUkR8JTh4Hx5M8k/jigf+OLu6VUO/N5IfXa4yrQJOKXkdh0XezHjCaD85+N7KlalSYUm/QHhmcBdjlxLLRYUeYkUprHE0ws8ofR1dEmrL/CYDkkJUQMjNJAq4BYyJlcnVxPfkIW2jrt5m/dKIJY+JURGo0Oi8iqDFG3DCeGjlorG2WfR0VMyOaPJ30gWFsVrsiiKStRU7mkeYvF6iJxV7PtwPHu266qpg/xVbH/ahkm+ss5izyyUp+XW2OL5KOHKlPCsIMjbNRPtVroJpEyPipJA60mdNZrQpZ61UsyGeP/lxOCr8WoTdxNydL6qHWJ7y+eH2vUsao3Eqi1tK4TXKs9q0zAvmd0L7ctbhOUKyt2Fey1lN0lrUVboquVoqNJuga/Rr5r5+kfPl1qhYg7eQ= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: caltech.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 8ddfd767-25bb-4def-7b72-08d67da18427 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jan 2019 00:03:16.9192 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fd5be9d9-7b72-4df9-830e-b1f9cc5b44bd X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2695 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:03:20 -0000 Hello Everyone, 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. https://notmuchmail.org/pipermail/notmuch/2013/014811.html https://notmuchmail.org/pipermail/notmuch/2015/020379.html 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. The thread has 231 messages, and running notmuch show thread:000000000000d637 | wc -l 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. 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. Is there anything else I can do to make this work? Thanks, Walter Landry