From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qISdEmbtRWNLTAEAbAwnHQ (envelope-from ) for ; Wed, 12 Oct 2022 00:25:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0LKwEmbtRWOXsgAA9RJhRA (envelope-from ) for ; Wed, 12 Oct 2022 00:25:42 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 BA15F293C6 for ; Wed, 12 Oct 2022 00:25:41 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 6AA685F375; Tue, 11 Oct 2022 22:25:39 +0000 (UTC) X-Greylist: delayed 340 seconds by postgrey-1.36 at yantan; Tue, 11 Oct 2022 22:25:36 UTC Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) by mail.notmuchmail.org (Postfix) with ESMTPS id 41E7B5F36C for ; Tue, 11 Oct 2022 22:25:36 +0000 (UTC) Received: (Authenticated sender: robin@jarry.cc) by mail.gandi.net (Postfix) with ESMTPSA id 201DA240005; Tue, 11 Oct 2022 22:25:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jarry.cc; s=gm1; t=1665527135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zZQNc+n46nkFbMncmQ/C9fBwp1kI8xbUSjtnBkU8fEc=; b=RDGKQ8nKBmF2vxN2D2Pa70EqNPV7nn1DGXUIj08twiUpxFwg4G33lcjifxj1PycpbMQw6w VkUqREonV++zr44pTMHqFEZ8ZjHbzbIAUHyfyloAfM1QkkBZ531cABM/7mMBcYkvEIeufX 8C7n8Ai7H7byLJLFB/0TdDXvoj5WLp7gjMK8w5jzHvDhJWPgSaIBIGLCPKlLHKdYfwlThs nS/qZqAzNzAfnZlms8jTo9juOaCz0EvGlsk0lks2hHcxgRGcBKgzdnJs2/EtjVAU08sY49 mj/288GmswOFv0Uzac9EbC1Mxx1UXB6VNX5pKhg60AGiK0u6U6UUzQ3VYlVChQ== Mime-Version: 1.0 Date: Wed, 12 Oct 2022 00:25:34 +0200 Message-Id: Subject: Re: [PATCH] cli: add options --offset and --limit to notmuch show From: "Robin Jarry" To: X-Mailer: aerc/0.12.0-92-g720ebf153306 References: <20221011221942.341732-1-robin@jarry.cc> In-Reply-To: <20221011221942.341732-1-robin@jarry.cc> Message-ID-Hash: C5PEHTWSUTFUY5EGIPX2CA2BHPW5HETN X-Message-ID-Hash: C5PEHTWSUTFUY5EGIPX2CA2BHPW5HETN X-MailFrom: robin@jarry.cc 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; digests; suspicious-header CC: Tim Culverhouse 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-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665527142; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc: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=PKa/u5sdUM92rcxdqm1Nd6hLsxnJu5K1YN36Y2OZMAI=; b=MbG/+NjYhdjduYyI5WYvYb7vI3NXt45ssFJfYDG7B1zweHpsRTCWKOV1rhdVXstfsltp7T VlJu10Fkb1lJqpwS5ewXl9yGB2WFBJCXvjvxLM+FEZyK2274lURZmFu8Dak6B75SqYUCUO CD0WcvcMiD3sf/lp6Qb1RrZO4GwCW1ufc4noMt5Yfz1eQYKn3P3AyuNRH4sEKkDpCFKIYG 6OlFGHPmXfe0XgUv+8hujwvTo7947opuAxj9FkPQFMofZEYV8E795UnhzxHCOhmELmqk7s J/kSXDlnZHhQhlQLGEfsn5qr5WCXpPT4BCc6Ugx/yafcZrLCxNG1qTnLj2Dq6Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665527142; a=rsa-sha256; cv=none; b=dlMmp/GFVXkXg07h0jKpN0RjJoKYdfNIzoLE0XPVmrJGiVX0j/WfN7VsyYT+Xw+kbYK2t2 ICUc7TsDsOzbhHfWLCY5lo8wAz22u83hvJ2PUkG++/qnv8QLPrFcrQYQZ8HKiz1uqdD1QB lweqWkLn0wOKHeQnVrrGr73rFJB5GYYTj4+QnWUxncO+JwNAbu6SHpdsN/7SZdCTOPOxPH b1OUod6k+7Ar+eDvFjZJdTQZ+mOYeVq3VKJaoXPwHaoKoemo7s1VmNSnWTIgtrbvlKg28R jFL5qGJFsy4Imo0r2x2QoV4IVmznv9NiB1wTOFJAB08RburObAvSuLDaacw79w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=jarry.cc header.s=gm1 header.b=RDGKQ8nK; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 2.88 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=jarry.cc header.s=gm1 header.b=RDGKQ8nK; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: BA15F293C6 X-Spam-Score: 2.88 X-Migadu-Scanner: scn0.migadu.com X-TUID: MIgoKRMtLDRd Robin Jarry, Oct 12, 2022 at 00:19: > + if (print_status_query ("notmuch search", query, s)) I just realized that I copy pasted code from notmuch-search.c and did not updated everything on the way... I'll hold before sending a v2 if there are other remarks or changes required. Cheers all.