From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mIk2G6YjT2HUHQEAgWs5BA (envelope-from ) for ; Sat, 25 Sep 2021 15:27:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QL2vFqYjT2HlaQAAbx9fmQ (envelope-from ) for ; Sat, 25 Sep 2021 13:27:02 +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 76B711FB0F for ; Sat, 25 Sep 2021 15:27:01 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 631C026DDF; Sat, 25 Sep 2021 09:26:56 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 846B526DCA for ; Sat, 25 Sep 2021 09:26:54 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 0A6E35FD5C; Sat, 25 Sep 2021 09:26:54 -0400 (EDT) Received: (nullmailer pid 1354339 invoked by uid 1000); Sat, 25 Sep 2021 13:26:51 -0000 From: David Bremner To: Alan Schmitt , notmuch Subject: Re: performance in emacs displaying a huge thread In-Reply-To: <874ka9dtqf.fsf@m4x.org> References: <877e1sr378.fsf@polytechnique.org> <877e1s4gsg.fsf@swing.csc.kth.se> <874kvsp2ni.fsf@polytechnique.org> <87tuk81tqj.fsf@tethera.net> <87mtpca7d4.fsf@m4x.org> <878s0w12fm.fsf@tethera.net> <878s0v9swk.fsf@m4x.org> <87o89qzzb5.fsf@tethera.net> <87wnnauznr.fsf@m4x.org> <87lf3qt80i.fsf@tethera.net> <87lf3quhu4.fsf@m4x.org> <87h7eeszv8.fsf@tethera.net> <87ilytvrb4.fsf@m4x.org> <87mto4awpu.fsf@tethera.net> <87ilyqdq8m.fsf@m4x.org> <8735ptblbs.fsf@tethera.net> <874ka9dtqf.fsf@m4x.org> Date: Sat, 25 Sep 2021 10:26:51 -0300 Message-ID: <87zgs0aiqs.fsf@tethera.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Message-ID-Hash: RUV6MCHBNXN4Q6ZX7HFYZQ26GAMDETEV X-Message-ID-Hash: RUV6MCHBNXN4Q6ZX7HFYZQ26GAMDETEV X-MailFrom: david@tethera.net 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 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: X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632576421; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=ZLKytspR1h7iTRAwWKzBXGE2JT4oq4Xpiyu6HcVcsi8=; b=kpNsrBJn0w/8V0ZPPNymJf0/1DBEKl5WePViLllUTo5MPBE/I6hZ3nXacPP044Oi4hJnrr gyoFzLjPqE56OPTuziKKqsFtktQu1DBgyiO4Mi9iMCqQdU1ix+rP/ntq0JAFbMiRc+N2pW aHz4uvt9QvWZD8ZAAV04jyLjp9J3ocXJ3u/9PMp9ru7ciLyPYj9RDPqCxvJRn3LKjO/x1l Vn2ZYwq2IWtNsHT8wcyJ525B+rUphKI14lsETrB5tCPCyLtWt9tAq4IaDnIhgXSK24WYDN sSqA+5wPpiVqXgLKd2+RGp+Yb0X3/YgMvcaJRrd0DvdTKZ+M/mmFO5PBDG+9dw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632576421; a=rsa-sha256; cv=none; b=sme4fYh40KEBQSnQqyMwk6V8RK6h61a+MGGVY/d9pnuLkF7NMB1pCeZRQlXJXtfUnpZtUL 1Y1g4YjmqI450DfItVyb3FiWl6PEbQ1usoeRbQzlbw/euqKeIK0V4b4l5ynn84xoFw6NDV Fff5sR69HnCHWmmU6sHyLfy2iBCWFC9lSBREoFUEGj6EdLSU3PgU4fjXrxpyxcvkzwPXgA Rs57L6mq9ZTFm+ZcIP1i4CIzkKyrxzz/WvNw/EOZqaXWzZfOvI8a1OihBaRR9u9y4+KvRP hu2doaReyaNpCn3J1DTEbpB7VDVIPTqdXdohU5mdmTPyOtl42ivISyWYJ27Cow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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.56 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 76B711FB0F X-Spam-Score: -0.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: 74TFX660Aytm --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Alan Schmitt writes: > > The surprising thing is that there is not file=20 > ~/.emacs-configs/doom-emacs/.local/straight/repos/notmuch/emacs/notmuch-v= ersion.el, > just a file > ~/.emacs-configs/doom-emacs/.local/straight/repos/notmuch/emacs/notmuch-v= ersion.el.tmpl > so this is probably why the global file is chosen. > > I have no idea why this is happening=E2=80=A6 It could be a doom or strai= ght > bug=E2=80=A6 If you think so as well, I will report it. I think it is a bug in doom or straight, or at least an assumption that turns out to be wrong. They are assuming the elisp is runnable from git, but in fact it needs to run make to create notmuch-version.el. I think the straight recipe could specify a ":pre-build" step to build notmuch-version.el. I attach a Makefile snippet that shows how to build the file without running configure. You'd still need make, git, and sed.=20 --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=Standalone.mk Content-Transfer-Encoding: base64 VkVSU0lPTjo9JChzaGVsbCBnaXQgZGVzY3JpYmUgLS1hYmJyZXY9NyAtLW1hdGNoICdbMC05Ll0q J3xzZWQgLWUgcy9fL34vIC1lIHMvLS8rLyAtZSBzLy0vfi8pCiMgZm9yIHJlbGVhc2VkIHZlcnNp b25zOiAKIyBWRVJTSU9OOj0kKHNoZWxsIGNhdCB2ZXJzaW9uLnR4dCkKRUxQQV9WRVJTSU9OOj0k KHN1YnN0IH4sXywkKFZFUlNJT04pKQoKZW1hY3Mvbm90bXVjaC12ZXJzaW9uLmVsOiBlbWFjcy9u b3RtdWNoLXZlcnNpb24uZWwudG1wbAoJc2VkIC1lICdzLyVBRyUvR2VuZXJhdGVkIGZpbGUgKGZy b20gJCg8RikpIC0tIGRvIG5vdCBlZGl0IS8nIFwKCSAgICAtZSAncy8lVkVSU0lPTiUvIiQoRUxQ QV9WRVJTSU9OKSIvJyAkPCA+ICRACgo= --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --=-=-=--