From fd8eb2f106d3452054be47f2c40c7c65a5715c97 Mon Sep 17 00:00:00 2001 From: Jakob Date: Mon, 26 Mar 2012 12:07:43 +1700 Subject: [PATCH] Re: [PATCH] vim: fix regex after "notmuch show" output change --- 36/5204329b80907fbb9d6bea15df97ce48cfa677 | 70 +++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 36/5204329b80907fbb9d6bea15df97ce48cfa677 diff --git a/36/5204329b80907fbb9d6bea15df97ce48cfa677 b/36/5204329b80907fbb9d6bea15df97ce48cfa677 new file mode 100644 index 000000000..cfd4c5e12 --- /dev/null +++ b/36/5204329b80907fbb9d6bea15df97ce48cfa677 @@ -0,0 +1,70 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id EF7D2431FAF + for ; Sun, 25 Mar 2012 12:07:47 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id ugW76NsS9xrf for ; + Sun, 25 Mar 2012 12:07:46 -0700 (PDT) +Received: from qmta05.emeryville.ca.mail.comcast.net + (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) + by olra.theworths.org (Postfix) with ESMTP id 7916B431FAE + for ; Sun, 25 Mar 2012 12:07:46 -0700 (PDT) +Received: from omta12.emeryville.ca.mail.comcast.net ([76.96.30.44]) + by qmta05.emeryville.ca.mail.comcast.net with comcast + id pv1f1i0040x6nqcA5v7lTf; Sun, 25 Mar 2012 19:07:45 +0000 +Received: from dalek.condo.net ([67.170.34.167]) + by omta12.emeryville.ca.mail.comcast.net with comcast + id pv7j1i00a3cMnU38Yv7kv2; Sun, 25 Mar 2012 19:07:45 +0000 +Received: from jakob by dalek.condo.net with local (Exim 4.77) + (envelope-from ) + id 1SBsn1-00051w-7d; Sun, 25 Mar 2012 12:07:43 -0700 +Date: Sun, 25 Mar 2012 12:07:43 -0700 +From: Jakob +To: Tomi Ollila , notmuch@notmuchmail.org +Subject: Re: [PATCH] vim: fix regex after "notmuch show" output change +Message-ID: <20120325190743.GA19215@dalek.hsd1.wa.comcast.net> +References: <1332390675-31273-1-git-send-email-jakob@pipefour.org> + +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: +User-Agent: Mutt/1.5.21 (2010-09-15) +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Sun, 25 Mar 2012 19:07:48 -0000 + +On Sat, 24 Mar 2012 10:58:59 +0200, Tomi Ollila wrote: +> Is this regexp part below good ? +> +> > + ... match:\([0-9]*\) excluded:\([[0-9]*\) filename:\(.*\)$', ... +> +> ( --> excluded:\([[0-9]*\) <-- ) + +Yeah, that was the core of the change. With this new field in the +output, the old regex didn't match at all. You can see the fix working by +trying to use the vim plugin as-is and trying to reply to a message or +view a message's ID or any number of other things that fail right now. +After updating this regex, everything starts working again. + +Thanks, +Jakob -- 2.26.2