--- /dev/null
+Return-Path: <ethan.glasser.camp@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 1EC0E431FBC\r
+ for <notmuch@notmuchmail.org>; Tue, 13 Nov 2012 17:19:08 -0800 (PST)\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 9QRH3EuBZplM for <notmuch@notmuchmail.org>;\r
+ Tue, 13 Nov 2012 17:19:06 -0800 (PST)\r
+Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com\r
+ [209.85.216.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id AA0A8431FAF\r
+ for <notmuch@notmuchmail.org>; Tue, 13 Nov 2012 17:19:06 -0800 (PST)\r
+Received: by mail-qa0-f46.google.com with SMTP id c11so1882176qad.5\r
+ for <notmuch@notmuchmail.org>; Tue, 13 Nov 2012 17:19:04 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+ :mime-version:content-type;\r
+ bh=4Dl8rIjPeXIEpZym4Ickvc3s68lnR4Cgn4uRz7nBZHM=;\r
+ b=opqiENbOirhIvsW++iIcs5VljqP/v5zbGPTdYTV5yHP6ezt3pSvTzM+YsGOe37jHOm\r
+ WZ+mRwLGlXVlRigX6xptGN8hleJUszArpdYSD0F6szRJo5oAftHYjIuRaixOWwtieDPC\r
+ FiOyyPxQ273WdWdlxwTSAYNT0OnfOdJDZPArZ4naLaTG2gnU+XiYzZM5psSZdYnWM8dd\r
+ RUox8x+SVeAmN00jm37YJaD0ebwNMVnYvOm9OlcvT48fg8tHPjeXmVstiaZmlWpOVEiL\r
+ 15ihxk0vOytjWmpp7AZMhUMKbh/vtkpt8Uy5iKYawzv+NOEwUNQC5rok2DEya9helmMF\r
+ Bubw==\r
+Received: by 10.224.19.74 with SMTP id z10mr24165125qaa.96.1352855944865;\r
+ Tue, 13 Nov 2012 17:19:04 -0800 (PST)\r
+Received: from smtp.gmail.com (mca2d36d0.tmodns.net. [208.54.45.202])\r
+ by mx.google.com with ESMTPS id jw1sm1214448qeb.13.2012.11.13.17.19.03\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Tue, 13 Nov 2012 17:19:04 -0800 (PST)\r
+From: Ethan Glasser-Camp <ethan.glasser.camp@gmail.com>\r
+To: Damien Cassou <damien.cassou@gmail.com>,\r
+ notmuch mailing list <notmuch@notmuchmail.org>\r
+Subject: Re: emacs: Handling external dependencies\r
+In-Reply-To:\r
+ <CA+y5ggiGrAcicQLeskaXFoxYyJQVVXZ1VRX=XS8zPFR9_mBFxA@mail.gmail.com>\r
+References:\r
+ <CA+y5ggiGrAcicQLeskaXFoxYyJQVVXZ1VRX=XS8zPFR9_mBFxA@mail.gmail.com>\r
+User-Agent: Notmuch/0.14+45~g6ea9330 (http://notmuchmail.org) Emacs/23.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Tue, 13 Nov 2012 20:19:02 -0500\r
+Message-ID: <87pq3h56d5.fsf@betacantrips.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\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, 14 Nov 2012 01:19:08 -0000\r
+\r
+Damien Cassou <damien.cassou@gmail.com> writes:\r
+\r
+> 4) distribute the dependency with the rest of notmuch (in a separate\r
+> "fallback-libs/" directory) and load it only when requiring the\r
+> library with the standard load-path does not work. Jonas Bernoulli\r
+> gave me a way to do that:\r
+>\r
+> ,----\r
+> | (or (require 'THE-LIB nil t)\r
+> | (let ((load-path\r
+> | (cons (expand-file-name\r
+> | "fallback-libs"\r
+> | (file-name-directory (or load-file-name buffer-file-name)))\r
+> | load-path)))\r
+> | (require 'THE-LIB)))\r
+> `----\r
+>\r
+> What do you think?\r
+\r
+Why not just append it to the *end* of load-path? Then it won't shadow\r
+anything.\r
+\r
+Ethan\r