From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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