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 65FB36DE019C for ; Mon, 21 Jan 2019 04:40:11 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.199 X-Spam-Level: X-Spam-Status: No, score=-0.199 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 3WssurzsC_pQ for ; Mon, 21 Jan 2019 04:40:10 -0800 (PST) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by arlo.cworth.org (Postfix) with ESMTPS id E12116DE0140 for ; Mon, 21 Jan 2019 04:40:09 -0800 (PST) Received: by mail-wr1-f51.google.com with SMTP id t6so23108171wrr.12 for ; Mon, 21 Jan 2019 04:40:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=0ObFXZOPYr/8s3b7WzzMFCiXXrhxfPirOXTbh6CRHq4=; b=BUjHy4m7vqKFps8WxhgCy6LHyJcxb/5t2i3zbNHNTtjckA7tDDHk1pMH34gBif2Aah YYSctlXqjFDMSlXDt0fL2t5TXysw/P2jjw8/2snmf28H345yltp5p//BW1qT17sgL76R RTeOKEtPUrADhMVROU8lBbDuyO2ZbDtlhPIVgahSU5pEuahwEg7QAmpaPK3llWFA+2iP rtE783Xayk59fNAp6VOpYeoB5uiHP56Pa+ouJK8gOYPkjKjEZPDQCPE1BjpfOcCrCA0C peEesJCD2Z/iwOzWIf5PsQWgb2cIn5HJJgrZ21yFrNaxYbzSV4/QiGpb/YBQVPVW/xQv otKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=0ObFXZOPYr/8s3b7WzzMFCiXXrhxfPirOXTbh6CRHq4=; b=Tjd3HjChnT3/ILEGknJvUTRc5fYZgcnzqFk39u2hgHUmUtI6J7Tt6XZ32rErIBD0QU bCOd6puBA07e7doR3gH4m3MQVm695j4L/QCvKRU5Xeq7HCq/Rz3wJ1B3fR6z3fjgXWel q30DMTo13tG7pQIAkQfIzE5e5FyimuQdTtiKuoK1u174Ehg4LNNILS+3pyc4GfOdYryj zwzoC0I+eM5MGreaRiSus770a1aWm/bk8WgohHXME9dIh+mpz1ZTaC8KF7zMPV6d3OTO /yiWWy+1u4iVKEzcVSP1oK7j+Hd6dw1ViE5oUKM6X8zYGvzwcRnpF17Q96k+paG8AqOe BsmA== X-Gm-Message-State: AJcUukccAL57/Y8LGPbM+D/JNIbKP4pdl99zPGl43tfPBwTpMccQtDNz B11CVj2HDn7z7NWNPECiVIkJCHIHALDtn5jN344HJVyb X-Google-Smtp-Source: ALg8bN7O7GJexpRc5A7WASmo9hn9kx0ODwpP8PgONeO/wvadN2PcdIgzIOpFQr9FXQtNkC+J84HMWqNXf0HeRShJiW0= X-Received: by 2002:adf:ffca:: with SMTP id x10mr29213289wrs.289.1548074407616; Mon, 21 Jan 2019 04:40:07 -0800 (PST) MIME-Version: 1.0 References: <87fttpy0n5.fsf@mechane.wlandry.net> <878szh8q1j.fsf@cgc-instruments.com> <87munwabxc.fsf@mechane.wlandry.net> <87tvi26zh3.fsf@cgc-instruments.com> In-Reply-To: <87tvi26zh3.fsf@cgc-instruments.com> From: Emilio Francesquini Date: Mon, 21 Jan 2019 10:39:40 -0200 Message-ID: Subject: Re: emacs slow with large threads To: notmuch@notmuchmail.org Content-Type: multipart/alternative; boundary="00000000000026e4d9057ff729b4" 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: Mon, 21 Jan 2019 12:40:11 -0000 --00000000000026e4d9057ff729b4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello there, I recently ran into the same (slowness) problem when viewing long threads. After some profiling I found out that disabling indentation did the trick for me. In my case it went from unusable (>5 minutes) to ~3 seconds for large threads. (setq notmuch-show-indent-content nil) Hope it helps. On Mon, Jan 21, 2019 at 9:07 AM Dan =C4=8Cerm=C3=A1k wrote: > "Landry, Walter" writes: > > > Dan =C4=8Cerm=C3=A1k writes: > > > >> Hi Landry, > >> > >> I am afraid this is a common limitation of emacs: if you start opening > >> large files (especially with long lines) it becomes very slow. > >> > >> A viable workaround is to open the offending thread in the tree view > >> (bound to 'z' by default) and then only view individual messages. > > > > Tree view works well [1]. Everything is fast, and I kind of prefer tha= t > > view anyway. > > > > Thanks, > > Walter Landry > > > > [1] I have been using notmuch for almost a year, and I did not realize > > that there is a separate tree view. > > I have been using notmuch for about two years and iirc didn't realize > tree view existed until about half a year ago. Should really have read > the manual and all the key bindings at first. > > > _______________________________________________ > > notmuch mailing list > > notmuch@notmuchmail.org > > https://notmuchmail.org/mailman/listinfo/notmuch > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch > --00000000000026e4d9057ff729b4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello there,

I recently ran = into the same (slowness) problem when viewing long threads.
After some profiling I found out that disabling indentation did the trick for me. In my case it went from unusable (>5 minutes) to ~3 seconds for=20 large threads.

(setq notmuch-show-indent-conte= nt nil)

Hope it helps.

On Mon, Jan 21, 2019 at 9:07 AM Dan =C4= =8Cerm=C3=A1k <dan.cermak@poste= o.net> wrote:
"Landry, Walter" <wlandry@caltech.edu> writes:

> Dan =C4=8Cerm=C3=A1k <dan.cermak@posteo.net> writes:
>
>> Hi Landry,
>>
>> I am afraid this is a common limitation of emacs: if you start ope= ning
>> large files (especially with long lines) it becomes very slow.
>>
>> A viable workaround is to open the offending thread in the tree vi= ew
>> (bound to 'z' by default) and then only view individual me= ssages.
>
> Tree view works well [1].=C2=A0 Everything is fast, and I kind of pref= er that
> view anyway.
>
> Thanks,
> Walter Landry
>
> [1] I have been using notmuch for almost a year, and I did not realize=
>=C2=A0 =C2=A0 =C2=A0that there is a separate tree view.

I have been using notmuch for about two years and iirc didn't realize tree view existed until about half a year ago. Should really have read
the manual and all the key bindings at first.

> _______________________________________________
> notmuch mailing list
> notmuch@n= otmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuc= h
_______________________________________________
notmuch mailing list
notmuch@notmuc= hmail.org
https://notmuchmail.org/mailman/listinfo/notmuch=
--00000000000026e4d9057ff729b4--