From 580bb8eaf0ea905c8dfa259a1b1d88c5d226e9a8 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Tue, 9 Feb 2016 07:28:12 +2000 Subject: [PATCH] Re: api-doc: return status for notmuch_query_search_threads_st ... --- 28/7a4bea00133c7410474d9f30cd0914b2c63f8e | 65 +++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 28/7a4bea00133c7410474d9f30cd0914b2c63f8e diff --git a/28/7a4bea00133c7410474d9f30cd0914b2c63f8e b/28/7a4bea00133c7410474d9f30cd0914b2c63f8e new file mode 100644 index 000000000..1a00af93c --- /dev/null +++ b/28/7a4bea00133c7410474d9f30cd0914b2c63f8e @@ -0,0 +1,65 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 1E8AF6DE0A7F + for ; Mon, 8 Feb 2016 03:28:22 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.308 +X-Spam-Level: +X-Spam-Status: No, score=-0.308 tagged_above=-999 required=5 tests=[AWL=0.243, + RP_MATCHES_RCVD=-0.55, 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 P-XWM3zVW5RB for ; + Mon, 8 Feb 2016 03:28:20 -0800 (PST) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 45F616DE0261 + for ; Mon, 8 Feb 2016 03:28:20 -0800 (PST) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1aSjyg-0007AE-3l; Mon, 08 Feb 2016 06:27:34 -0500 +Received: (nullmailer pid 31783 invoked by uid 1000); + Mon, 08 Feb 2016 11:28:12 -0000 +From: David Bremner +To: Gaute Hope , notmuch@notmuchmail.org +Subject: Re: api-doc: return status for notmuch_query_search_threads_st ... +In-Reply-To: <1454839405-astroid-0-pyvwjk7jt8-6563@strange> +References: <1454839405-astroid-0-pyvwjk7jt8-6563@strange> +User-Agent: Notmuch/0.21+5~gca076ce (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Mon, 08 Feb 2016 07:28:12 -0400 +Message-ID: <87wpqf8mr7.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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, 08 Feb 2016 11:28:22 -0000 + +Gaute Hope writes: + +> Hi, +> +> I am switching from the deprecated notmuch_query_search_threads to +> notmuch_query_search_threads_st, but the api-documentation does not +> specify what status values are returned and what they mean. +> +> The same goes for notmuch_query_search_messages_st (...). +> + +They both can return OUT_OF_MEMORY, XAPIAN_EXCEPTION, and SUCCESS. +It would be great if someone (TM) would work up, and test the output of +doxygen on, a patch to lib/notmuch.h. + +d -- 2.26.2