From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wJZoNlpxfWFTTQEAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 18:22:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aFAfMlpxfWGLKgAA1q6Kng (envelope-from ) for ; Sat, 30 Oct 2021 16:22:50 +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 6BC0531B3 for ; Sat, 30 Oct 2021 18:22:50 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 67B051F497; Sat, 30 Oct 2021 12:22:42 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id EF28D1F486 for ; Sat, 30 Oct 2021 12:22:39 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 4F0825FC42; Sat, 30 Oct 2021 12:22:39 -0400 (EDT) Received: (nullmailer pid 1204116 invoked by uid 1000); Sat, 30 Oct 2021 16:22:38 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Use libnotmuch config / database search in python-cffi bindings Date: Sat, 30 Oct 2021 13:22:31 -0300 Message-Id: <20211030162235.1203886-1-david@tethera.net> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Message-ID-Hash: L3RMRFMYD223IDKGB43AHC6FUSEWS2JQ X-Message-ID-Hash: L3RMRFMYD223IDKGB43AHC6FUSEWS2JQ X-MailFrom: bremner@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; digests; suspicious-header 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635610970; 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:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=A/D3e9ZZBHCNWzvE3LAumaqswOd3XlcYm2G6jGC51js=; b=rgCsYw40vuE+HhneS/SwEuL5MjNnW4g33UEvoxjrWz6bXI3kGy1Lv6fzRTTWbSrvsAm2Xp 1Ck+RhMgahkXYHyqzk3GCLqE4p+m3MSQXrfJHUxGP2/yTkfXPw7Z3SroJnrPhKaPCWPl+h zyE9qMADjeGCQOHfOBUScn49BwWab18o7zpb8AXg0Vkyie5z3axJRC4+Hh7F7iAKA7xmIA 06S91c3yhCS7S29L9x2PhEAUNgJvS/xQ5/GWO4DhHPdImiB3eS6b/C7u0S2pgzbfYaPCmj GflCfg9etLCKdd2OSbENVDrTni7k+jB56/git3GMYT7VkTfmZSHih7HRnuaNzQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635610970; a=rsa-sha256; cv=none; b=l4btRfpv9gBsccVbCIi4yjazT2jH/3VrHKrNaP1ggcItIReBbJi00Q59z0qEQZbOOoPMJG tTaGl+20tAWc9eEWJ5CWlsnucGeoSGu8RXLnQQbWQfufVrFjitwlrZWs68++DSKdX7a/tv C7JhM9zPxkA6yMYApCsZZ90LDGERCUog6XqhquvWFGqzAQlZOEnt45x7kVy3Hd1mGPkKEa dw7B9ThJ/bkpLf6IlVu+UM79F1stRXGXW4XY8isbzCMJ8n7zAQXhPQl0xU4eehK/ywROSK uf58ZrAWl8vI3FH3GyQ76u1EIFw9jlC985HRcp1tiHzwSfMostH9ksuceflGjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -1.13 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: 6BC0531B3 X-Spam-Score: -1.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: DyPU8SLY1Xc3 This is my first "serious" attempt at modifying the python-cffi bindings, so I would appreciate feedback, particularly on the API changes. In my dev branch this is applied on top the series [1] and the patch [2]. The first is mandatory, the second might be optional, I didn't test. [1]: id:20211028013419.3996019-2-david@tethera.net [2]: id:20211029145459.563484-1-david@tethera.net