From: David Bremner Date: Fri, 10 Jun 2016 02:42:05 +0000 (+2100) Subject: Re: [PATCH] WIP: regexp matching in 'subject' and 'from' X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=73ccbb8e6f12d4e7074e086ea12cca41e55dc2ca;p=notmuch-archives.git Re: [PATCH] WIP: regexp matching in 'subject' and 'from' --- diff --git a/35/8a6429dda890b38e6173734b6d1cfbe1682b4b b/35/8a6429dda890b38e6173734b6d1cfbe1682b4b new file mode 100644 index 000000000..f9de2bfb7 --- /dev/null +++ b/35/8a6429dda890b38e6173734b6d1cfbe1682b4b @@ -0,0 +1,64 @@ +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 4D6E86DE02DA + for ; Thu, 9 Jun 2016 19:42:17 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.011 +X-Spam-Level: +X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5 + tests=[AWL=-0.000, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] + 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 459M706bYG-w for ; + Thu, 9 Jun 2016 19:42:09 -0700 (PDT) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 3F0356DE0222 + for ; Thu, 9 Jun 2016 19:42:09 -0700 (PDT) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1bBCOR-0003DH-Hr; Thu, 09 Jun 2016 22:41:55 -0400 +Received: (nullmailer pid 11964 invoked by uid 1000); + Fri, 10 Jun 2016 02:42:05 -0000 +From: David Bremner +To: notmuch +Subject: Re: [PATCH] WIP: regexp matching in 'subject' and 'from' +In-Reply-To: <1465525688-30913-1-git-send-email-david@tethera.net> +References: <1465265149-7174-1-git-send-email-david@tethera.net> + <1465525688-30913-1-git-send-email-david@tethera.net> +User-Agent: Notmuch/0.22+28~gb9bf3f4 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Thu, 09 Jun 2016 23:42:05 -0300 +Message-ID: <87d1npydc2.fsf@zancas.localnet> +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: Fri, 10 Jun 2016 02:42:17 -0000 + +David Bremner writes: + +> +#ifdef HAVE_XAPIAN_FIELD_PROCESSOR +> + delete notmuch->from_re_field_processor; +> + notmuch->from_re_field_processor = NULL; +> + delete notmuch->subject_re_field_processor; +> + notmuch->subject_re_field_processor = NULL; +> +#endif + +and of course everywhere it says #ifdef HAVE_XAPIAN_FIELD_PROCESSOR, is +should say #if. + +d