From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cPhmCJALJmOI+wAAbAwnHQ (envelope-from ) for ; Sat, 17 Sep 2022 20:01:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sC9jCJALJmNPkQAA9RJhRA (envelope-from ) for ; Sat, 17 Sep 2022 20:01:52 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 9B85C131EB for ; Sat, 17 Sep 2022 20:01:51 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id A37255F38B; Sat, 17 Sep 2022 18:01:48 +0000 (UTC) Received: from mslow1.mail.gandi.net (mslow1.mail.gandi.net [217.70.178.240]) by mail.notmuchmail.org (Postfix) with ESMTPS id AE5455F382 for ; Sat, 17 Sep 2022 18:01:45 +0000 (UTC) Received: from relay6-d.mail.gandi.net (unknown [217.70.183.198]) by mslow1.mail.gandi.net (Postfix) with ESMTP id 3ED0BC7E3B for ; Sat, 17 Sep 2022 17:52:46 +0000 (UTC) Received: (Authenticated sender: mail@jao.io) by mail.gandi.net (Postfix) with ESMTPSA id AF3A8C0005; Sat, 17 Sep 2022 17:52:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jao.io; s=gm1; t=1663437164; 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; bh=mR4wHmwk3r/prhzzrS/kcB7ExPDeNQAQMjnPtu1QNTw=; b=d0jZRAhrY7jkUfxjd/KTrz4JC22vTCSexv5z760GggTxRp7hW87O8F0eKT6NlAoC+F6UZo 1xW8BARrlhQPxKsPhk7g6RjtXO6MmUcwLmQPR0zufroAc4Z6iDnNZSvDwv1pISrIuYgCo0 uNxO36Ah4MuWz+C89PYRcqXiQRNYepkgPPO3N0iHJ7mRnuWmk243aJa0f49RzrpzIEhVAk bGnHjQY4Y0vyZh93Snzh2hC1mUaqJvZCiRBeNczpgDIi0K+n+sIadCw29iSCD6ecoTQtL9 rdSVZtyLAx3FQYvDxXYTuMvuix8A81HPdH4y9+n3HCslMgvsRObua1/la/uREQ== Received: from localhost (rivendell.localdomain [local]) by rivendell.localdomain (OpenSMTPD) with ESMTPA id 5738acb5; Sat, 17 Sep 2022 17:52:42 +0000 (UTC) From: Jose A Ortega Ruiz To: notmuch@notmuchmail.org Subject: Re: Notmuch emacs client is slow when opening inbox. In-Reply-To: <875yhmfglb.fsf@gmail.com> References: <875yhmfglb.fsf@gmail.com> X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: Date: Sat, 17 Sep 2022 18:52:42 +0100 Message-ID: <871qs9riqd.fsf@mail.jao.io> MIME-Version: 1.0 Message-ID-Hash: QKRGO2UUNL5EDNAHEOICLM2USY52HVKG X-Message-ID-Hash: QKRGO2UUNL5EDNAHEOICLM2USY52HVKG X-MailFrom: mail@jao.io X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663437711; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4typgxIMYldYTk6YWaT4woXWqaKi31SbV5w3nEqqiPE=; b=Ral6KmPudsCrWq0K5CwgyGA/H1iV5V7yo2YfMKqOXRE7b1HQs37Ks35jrg9yO/g1OQSILY g1YXFZ+qmnrPfODIgUvSf/GhrU1CKy4L7Gfo235ZHTk/cTxFRCXZfIb35JZF/XFHjACsSJ IrK4FwH+NLIoeB8IL6yQqKrYQb9eXR7LL1G/Co4fc1yVaEC8fNdoTDygti/Oz0VJ6uFO0p +cO8/A3wzl9AUyWmrx9xApP4akfjsPeuzya9MWfuF7wDj9hYOFn57j/5JCbvWeZCdzyPC9 7tPWn8Xb3qxOA4KxkymTnQjSlhZXYwrVZDYprccZ1MEa7Ey2do9TRrmtan842g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663437712; a=rsa-sha256; cv=none; b=N4Nq3of4zx64CkKiNrUG35EFyWlmbg4rE6xTsYj6wd09m+Xesnw92jvvSWuhBCtbyCQnb4 At3Da0eekDm8/m+uOsOAs1cxKKz+JNZiVgGPehLw0+e+zpkRiulWqvf67XWv5/WfPJdSiQ thH6Qx+vP+gcJ7LcGfEgyYBIxu8AuR/WLBiVvyNsL5Vq0RrJNB6aupZFKAT8oeBg4RGqzB QTRwt/mRHQooeShIX60+/XjUV/zsz6X5avQLbaQYQanHQcXJi8t+xZiRTBtBowhAnoodDO owvHAz+lg1fMHHM/bWemhlBULkZz7yDVbCnxZKQcaRc1la56vHgN2nSzJpQChA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=jao.io header.s=gm1 header.b=d0jZRAhr; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 1.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=jao.io header.s=gm1 header.b=d0jZRAhr; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 9B85C131EB X-Spam-Score: 1.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: E8+qJZA88Prg On Sat, Sep 17 2022, sam.hedin@gmail.com wrote: > I found this from 2011, which seems to discuss the feature I want. > However, it was never merged as far as I can see: > https://notmuchmail.org/pipermail/notmuch/2011/006297.html interesting! if we were to have this, i think i'd prefer pagination rather than increasing the limit and keeping the old ones, and make it work for tree searches too. and perhaps the limit (page size) could be a query parameter, so that one could have different page sizes for different queries. if that makes sense (and i'm not missing a better way already in place), i might try to implement it when i have a bit of time. cheers, jao -- Keep away from people who try to belittle your ambitions. Small people always do that, but the really great make you feel that you, too, can become great. - Mark Twain