1 Return-Path: <ethan.glasser.camp@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 1EC0E431FBC
\r
6 for <notmuch@notmuchmail.org>; Tue, 13 Nov 2012 17:19:08 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id 9QRH3EuBZplM for <notmuch@notmuchmail.org>;
\r
17 Tue, 13 Nov 2012 17:19:06 -0800 (PST)
\r
18 Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com
\r
19 [209.85.216.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id AA0A8431FAF
\r
22 for <notmuch@notmuchmail.org>; Tue, 13 Nov 2012 17:19:06 -0800 (PST)
\r
23 Received: by mail-qa0-f46.google.com with SMTP id c11so1882176qad.5
\r
24 for <notmuch@notmuchmail.org>; Tue, 13 Nov 2012 17:19:04 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=from:to:subject:in-reply-to:references:user-agent:date:message-id
\r
27 :mime-version:content-type;
\r
28 bh=4Dl8rIjPeXIEpZym4Ickvc3s68lnR4Cgn4uRz7nBZHM=;
\r
29 b=opqiENbOirhIvsW++iIcs5VljqP/v5zbGPTdYTV5yHP6ezt3pSvTzM+YsGOe37jHOm
\r
30 WZ+mRwLGlXVlRigX6xptGN8hleJUszArpdYSD0F6szRJo5oAftHYjIuRaixOWwtieDPC
\r
31 FiOyyPxQ273WdWdlxwTSAYNT0OnfOdJDZPArZ4naLaTG2gnU+XiYzZM5psSZdYnWM8dd
\r
32 RUox8x+SVeAmN00jm37YJaD0ebwNMVnYvOm9OlcvT48fg8tHPjeXmVstiaZmlWpOVEiL
\r
33 15ihxk0vOytjWmpp7AZMhUMKbh/vtkpt8Uy5iKYawzv+NOEwUNQC5rok2DEya9helmMF
\r
35 Received: by 10.224.19.74 with SMTP id z10mr24165125qaa.96.1352855944865;
\r
36 Tue, 13 Nov 2012 17:19:04 -0800 (PST)
\r
37 Received: from smtp.gmail.com (mca2d36d0.tmodns.net. [208.54.45.202])
\r
38 by mx.google.com with ESMTPS id jw1sm1214448qeb.13.2012.11.13.17.19.03
\r
39 (version=TLSv1/SSLv3 cipher=OTHER);
\r
40 Tue, 13 Nov 2012 17:19:04 -0800 (PST)
\r
41 From: Ethan Glasser-Camp <ethan.glasser.camp@gmail.com>
\r
42 To: Damien Cassou <damien.cassou@gmail.com>,
\r
43 notmuch mailing list <notmuch@notmuchmail.org>
\r
44 Subject: Re: emacs: Handling external dependencies
\r
46 <CA+y5ggiGrAcicQLeskaXFoxYyJQVVXZ1VRX=XS8zPFR9_mBFxA@mail.gmail.com>
\r
48 <CA+y5ggiGrAcicQLeskaXFoxYyJQVVXZ1VRX=XS8zPFR9_mBFxA@mail.gmail.com>
\r
49 User-Agent: Notmuch/0.14+45~g6ea9330 (http://notmuchmail.org) Emacs/23.4.1
\r
50 (x86_64-pc-linux-gnu)
\r
51 Date: Tue, 13 Nov 2012 20:19:02 -0500
\r
52 Message-ID: <87pq3h56d5.fsf@betacantrips.com>
\r
54 Content-Type: text/plain; charset=us-ascii
\r
55 X-BeenThere: notmuch@notmuchmail.org
\r
56 X-Mailman-Version: 2.1.13
\r
58 List-Id: "Use and development of the notmuch mail system."
\r
59 <notmuch.notmuchmail.org>
\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
63 List-Post: <mailto:notmuch@notmuchmail.org>
\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
67 X-List-Received-Date: Wed, 14 Nov 2012 01:19:08 -0000
\r
69 Damien Cassou <damien.cassou@gmail.com> writes:
\r
71 > 4) distribute the dependency with the rest of notmuch (in a separate
\r
72 > "fallback-libs/" directory) and load it only when requiring the
\r
73 > library with the standard load-path does not work. Jonas Bernoulli
\r
74 > gave me a way to do that:
\r
77 > | (or (require 'THE-LIB nil t)
\r
78 > | (let ((load-path
\r
79 > | (cons (expand-file-name
\r
81 > | (file-name-directory (or load-file-name buffer-file-name)))
\r
83 > | (require 'THE-LIB)))
\r
86 > What do you think?
\r
88 Why not just append it to the *end* of load-path? Then it won't shadow
\r