From 0375b8d4dae6afd10be14ec2e0253d95ca938b98 Mon Sep 17 00:00:00 2001 From: Matthew Lear Date: Tue, 24 Mar 2015 21:58:40 +0000 Subject: [PATCH] emacs / vim - time taken to open threads --- 5f/63aed23bea59e1de28611e064fdb83624d741b | 75 +++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 5f/63aed23bea59e1de28611e064fdb83624d741b diff --git a/5f/63aed23bea59e1de28611e064fdb83624d741b b/5f/63aed23bea59e1de28611e064fdb83624d741b new file mode 100644 index 000000000..be488f53f --- /dev/null +++ b/5f/63aed23bea59e1de28611e064fdb83624d741b @@ -0,0 +1,75 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 9CE5C431E82 + for ; Tue, 24 Mar 2015 15:00:29 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.438 +X-Spam-Level: ** +X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 + tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id mOm4XCTHOUns for ; + Tue, 24 Mar 2015 15:00:26 -0700 (PDT) +Received: from sip.bubblegen.co.uk (bubblegen.plus.com [80.229.236.194]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 5627A431E62 + for ; Tue, 24 Mar 2015 15:00:26 -0700 (PDT) +Message-ID: <5511DE10.80107@bubblegen.co.uk> +Date: Tue, 24 Mar 2015 21:58:40 +0000 +From: Matthew Lear +MIME-Version: 1.0 +To: notmuch@notmuchmail.org +Subject: emacs / vim - time taken to open threads +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: 8bit +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Tue, 24 Mar 2015 22:00:29 -0000 + +Hi all, +Continuing my journey with notmuch... It has been very enjoyable so far. +One thing which has been puzzling me greatly is the time it can take to +notmuch-show a moderately sized thread (eg one with 32 messages with a +three to four sentence paragraph per message - approx 32 x 35kB with +some small attachments). Opening the thread using notmuch-show in emacs +takes about six seconds. If I build the ruby bindings and load up +notmuch in vim or gvim, opening the same thread takes less than a +second. It's *loads* quicker. + +I've rolled back and rolled forwards the version of emacs in my gentoo +installation (various versions of 24) and built it without all available +options, run it bare bones in X and without X. The behaviour is the +same. I've also stripped back my .emacs to nothing more than pulling in +notmuch.el but there is no change in the behaviour. + +I've read some posts about emacs hanging when opening emails due to +attached files, but that was quite a while ago (pre 24). Some of the +emails in my thread have photos (a few hundred kB), others have URLs but +this shouldn't slow emacs down. + +Despite being a vi guy for years, I prefer the emacs interface to +notmuch and really like what it provides. I'm sticking with it but there +is clearly a problem and I'd like to solve it. It's annoying when you +know that something isn't working as well as it should be. + +Is it known that emacs is slower with notmuch or do you think I have +some kind of build / environment problem? Or could it be due to some of +the email content (doubtful) or something else such as encoding etc? + +Cheers, +-- Matt -- 2.26.2