--- /dev/null
+Return-Path: <felipe.contreras@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 9511C431FBC\r
+ for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 08:58:05 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 1BtTO3lUm5QA for <notmuch@notmuchmail.org>;\r
+ Wed, 18 Apr 2012 08:58:00 -0700 (PDT)\r
+Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com\r
+ [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 9BA45431FAE\r
+ for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 08:58:00 -0700 (PDT)\r
+Received: by eaa1 with SMTP id 1so3090887eaa.26\r
+ for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 08:57:59 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=mime-version:in-reply-to:references:date:message-id:subject:from:to\r
+ :cc:content-type:content-transfer-encoding;\r
+ bh=3LLVkU9oWKGPR/rXsI7LjkmkzyN2YTYsm4AljcIrZok=;\r
+ b=DCbyrEm0ZWqqJhmihkivGKDWhpf/2/eo257sYj/bMhFoPgM8wWzelayIPP9XRUbr0g\r
+ AM2ROb+Rm0uOMsy/7sUKGOTB5VjvgxbRZgX2Rs70n/pew/a27HkxaEwy0eqkBK6UCBBl\r
+ h8eO5aYBCAGoT1jEpDeeHghR0YIKRROHbDW3PSPHSEizcdn/C3DLTskYE/TYOaAiHULz\r
+ vDakGTf02q+0Q2rgIEn9X62fDoq0zZfXtYa3a1jfflenbMRqzxyGFAzYXGR9s/Dm4NXO\r
+ 718Be97wK0su+11QGOcoJWqWXQLnhaQ1RMOVnH/OYeaVaGoqThizNfsCJ87HxmGH82vb\r
+ lMfA==\r
+MIME-Version: 1.0\r
+Received: by 10.14.96.129 with SMTP id r1mr477519eef.86.1334764679414; Wed, 18\r
+ Apr 2012 08:57:59 -0700 (PDT)\r
+Received: by 10.213.19.67 with HTTP; Wed, 18 Apr 2012 08:57:59 -0700 (PDT)\r
+In-Reply-To: <m2sjg1dp51.fsf@guru.guru-group.fi>\r
+References: <1334751115-7216-1-git-send-email-felipe.contreras@gmail.com>\r
+ <m2ty0hxk0p.fsf@guru.guru-group.fi>\r
+ <CAMP44s3wmEnP=iMQY0gvNKPNAQnMVgCGmkqqaD+L3Fd8nhnMGQ@mail.gmail.com>\r
+ <871unlgk7h.fsf@zancas.localnet>\r
+ <m2sjg1dp51.fsf@guru.guru-group.fi>\r
+Date: Wed, 18 Apr 2012 18:57:59 +0300\r
+Message-ID:\r
+ <CAMP44s0icH2UfnmFJ9=DDGKUzs4jNLHdnHBZ9Yxnd-Ka2nor_A@mail.gmail.com>\r
+Subject: Re: [PATCH] vim: simplify build\r
+From: Felipe Contreras <felipe.contreras@gmail.com>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 18 Apr 2012 15:58:05 -0000\r
+\r
+On Wed, Apr 18, 2012 at 6:40 PM, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
+> On Wed, Apr 18 2012, David Bremner <david@tethera.net> wrote:\r
+>\r
+>> Felipe Contreras <felipe.contreras@gmail.com> writes:\r
+>>>> If this is not an issue, then LGTM.\r
+>>>\r
+>>> I don't know, I have always used $(PWD), unless anybody else prefers\r
+>>> $(CURDIR), I'll push that.\r
+>>\r
+>> I think CURDIR is better; if only because it is the standard (GNU) make\r
+>> way of doing things [1]. =C2=A0I'm not sure if there is a functional\r
+>> difference or not. At least CURDIR definitely works with make -C [2]\r
+>\r
+> I read some web pages and then did an experiment; GNU make (v 3.77+)\r
+> has builtin variable $(CURDIR). $(PWD) gets value from environment:\r
+>\r
+> doing the following:\r
+>\r
+> $ cat > foo.mk <<EOF\r
+> all:\r
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0pwd=3D`pwd`; echo $pwd\r
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0echo $(CURDIR)\r
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0echo $(PWD)\r
+> EOF\r
+> $ PWD=3D make -f foo.mk\r
+> pwd=3D`pwd`; echo $pwd\r
+\r
+Agh! Complete confusion. Add an '@' before echo =3D/\r
+\r
+> So, most portable option would be using pwd=3D`pwd`; echo $pwd\r
+> construct in the makefile. Next option would be using $(CURDIR)\r
+> and it works with -C (and with original bourne shell which does\r
+> not manage $PWD). That is GNU make (v 3.77+) spesific but the makefiles\r
+> use GNU make constructs elsewhere too.\r
+\r
+I think `pwd` is overkill. I vote for $(CURDIR), although $$PWD\r
+wouldn't be bad either.\r
+\r
+Cheers.\r
+\r
+--=20\r
+Felipe Contreras\r