From 0c63001d80fbd5b9387fde8285e9c56ecdbf5d42 Mon Sep 17 00:00:00 2001 From: Anand Buddhdev Date: Sun, 2 Feb 2014 11:46:30 +0100 Subject: [PATCH] Re: bash completion error with 0.17 --- ee/2dc8baea56c702555c1f6563bb8afe5e756be0 | 161 ++++++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 ee/2dc8baea56c702555c1f6563bb8afe5e756be0 diff --git a/ee/2dc8baea56c702555c1f6563bb8afe5e756be0 b/ee/2dc8baea56c702555c1f6563bb8afe5e756be0 new file mode 100644 index 000000000..f444e3b19 --- /dev/null +++ b/ee/2dc8baea56c702555c1f6563bb8afe5e756be0 @@ -0,0 +1,161 @@ +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 A00D2431FC0 + for ; Sun, 2 Feb 2014 02:46:36 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.798 +X-Spam-Level: +X-Spam-Status: No, score=-0.798 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] + 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 K65H5ki9Gl1Z for ; + Sun, 2 Feb 2014 02:46:31 -0800 (PST) +Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com + [74.125.82.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 4175B431FBC for ; Sun, 2 Feb 2014 02:46:31 -0800 + (PST) +Received: by mail-wg0-f43.google.com with SMTP id y10so10566185wgg.34 + for ; Sun, 02 Feb 2014 02:46:30 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=mime-version:in-reply-to:references:date:message-id:subject:from:to + :cc:content-type; + bh=PXOBxCo7kjt2XHjNtZiLk66NnqBZxdcklYxUxah8kf4=; + b=mj1pxdAXiJoDgJ4mWyX2f7IjpcQveBPlzUmGfHwJ9yWfw+G50XDwUcvC6a89MX/Opt + 0uc2fDwF59Ik28Ycxa7tiqOilnNwgGa7MSTWKYkuaG4wBIRzFkJyLY3smOVv5yBsyKTV + UETRiBy4mJDmFgZunDSVbq0SPRLvwyWZOMfWiVbHNVrX/7pRFp8CeiRKD5CxvNKIiJQn + cWuvrTf4cFonLJkfPJk1CyZtezZZjELxFBGy5OkTVOWEW/2C0rmTV5kLZsMW8hi3Wj9b + yiJMS+z2Ph7uW4tF1cFbWbD4PVxPjbsteVsalgtvuJ6geAoWix102NjtyLtyBv7AoTVc + uNhA== +MIME-Version: 1.0 +X-Received: by 10.180.35.36 with SMTP id e4mr5062636wij.8.1391337990182; Sun, + 02 Feb 2014 02:46:30 -0800 (PST) +Received: by 10.227.2.9 with HTTP; Sun, 2 Feb 2014 02:46:30 -0800 (PST) +In-Reply-To: <87a9e9yeta.fsf@nikula.org> +References: + + <87a9e9yeta.fsf@nikula.org> +Date: Sun, 2 Feb 2014 11:46:30 +0100 +Message-ID: + +Subject: Re: bash completion error with 0.17 +From: Anand Buddhdev +To: Jani Nikula +Content-Type: multipart/alternative; boundary=e89a8f64352eaadbdf04f16a1e8c +Cc: notmuch@notmuchmail.org +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, 02 Feb 2014 10:46:36 -0000 + +--e89a8f64352eaadbdf04f16a1e8c +Content-Type: text/plain; charset=ISO-8859-1 + +Hi Jani, + +I already have bash-completion installed, although it's version 1.3. + + +On 2 February 2014 11:44, Jani Nikula wrote: + +> On Sun, 02 Feb 2014, Anand Buddhdev wrote: +> > Hi people, +> > +> > I've just discovered notmuch. I've installed version 0.17 on my Mac using +> > Homebrew. I've also built a forked mutt with notmuch support, and I'm +> > exploring setting up virtual folders, and keeping all mail in a single +> "All +> > Mail" Maildir, with everything just tagged, a la Gmail :) I love it. +> > +> > I have one issue to report: when I type "notmuch" at the command-line and +> > press tab, bash completion gives me the following error: +> > +> > $ notmuch -bash: _init_completion: command not found +> > +> > Looks like something is missing in the bash completion script. I'd +> > appreciate if someone could make a patch. +> +> You'll need the bash-completion package [1] too. I'm not sure about +> versions, but likely reasonably recent. +> +> The trivial "fix" patch would likely just check for the existence of +> _init_completion, and refuse to complete without it. For anything +> fancier, patches welcome... +> +> +> BR, +> Jani. +> +> +> [1] http://bash-completion.alioth.debian.org/ +> + +--e89a8f64352eaadbdf04f16a1e8c +Content-Type: text/html; charset=ISO-8859-1 +Content-Transfer-Encoding: quoted-printable + +
Hi Jani,

I already have bash-completion= + installed, although it's version 1.3.


On 2 February 2014 11:44, Jani Nik= +ula <jani@nikula.org> wrote:
+
On S= +un, 02 Feb 2014, Anand Buddhdev <arh= +bkb@gmail.com> wrote:
+ +> Hi people,
+>
+> I've just discovered notmuch. I've installed version 0.17 on m= +y Mac using
+> Homebrew. I've also built a forked mutt with notmuch support, and = +I'm
+> exploring setting up virtual folders, and keeping all mail in a single= + "All
+> Mail" Maildir, with everything just tagged, a la Gmail :) I love = +it.
+>
+> I have one issue to report: when I type "notmuch" at the com= +mand-line and
+> press tab, bash completion gives me the following error:
+>
+> $ notmuch -bash: _init_completion: command not found
+>
+> Looks like something is missing in the bash completion script. I'd= +
+> appreciate if someone could make a patch.
+
+
You'll need the bash-completion package [1] too. I'm no= +t sure about
+versions, but likely reasonably recent.
+
+The trivial "fix" patch would likely just check for the existence= + of
+_init_completion, and refuse to complete without it. For anything
+fancier, patches welcome...
+
+
+BR,
+Jani.
+
+
+[1] http://bash-completion.alioth.debian.org/
+

+ +--e89a8f64352eaadbdf04f16a1e8c-- -- 2.26.2