From 846f5ccaeacd1ac8a8eb9ef583fa12b7999be996 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Sun, 25 Mar 2012 22:42:53 +0300 Subject: [PATCH] Re: [PATCH] vim: fix regex after "notmuch show" output change --- 77/1b9fedfe54761b89b12f68e2d7078a5873c372 | 73 +++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 77/1b9fedfe54761b89b12f68e2d7078a5873c372 diff --git a/77/1b9fedfe54761b89b12f68e2d7078a5873c372 b/77/1b9fedfe54761b89b12f68e2d7078a5873c372 new file mode 100644 index 000000000..1406b8cf1 --- /dev/null +++ b/77/1b9fedfe54761b89b12f68e2d7078a5873c372 @@ -0,0 +1,73 @@ +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 73E73431FAF + for ; Sun, 25 Mar 2012 12:42:59 -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=[none] + 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 So3v+S5Ub5Qg for ; + Sun, 25 Mar 2012 12:42:57 -0700 (PDT) +Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66]) + by olra.theworths.org (Postfix) with ESMTP id E0D2A431FAE + for ; Sun, 25 Mar 2012 12:42:56 -0700 (PDT) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id 67AD968055; Sun, 25 Mar 2012 22:42:53 +0300 (EEST) +From: Tomi Ollila +To: Jakob , notmuch@notmuchmail.org +Subject: Re: [PATCH] vim: fix regex after "notmuch show" output change +In-Reply-To: <20120325190743.GA19215@dalek.hsd1.wa.comcast.net> +References: <1332390675-31273-1-git-send-email-jakob@pipefour.org> + + <20120325190743.GA19215@dalek.hsd1.wa.comcast.net>User-Agent: + Notmuch/0.12+71~gdacf76b (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +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:42:59 -0000 + +Jakob writes: + +> 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. + +I meant about the syntax: \([[0-9]*\) i.e. 2 opening [[:s + +> +> Thanks, +> Jakob + +Tomi -- 2.26.2