1 Return-Path: <bremner@tethera.net>
\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 99748431FBD
\r
6 for <notmuch@notmuchmail.org>; Wed, 28 May 2014 17:26:59 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 7WXdnj1SozKL for <notmuch@notmuchmail.org>;
\r
16 Wed, 28 May 2014 17:26:54 -0700 (PDT)
\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])
\r
18 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 2CD0B431FB6
\r
21 for <notmuch@notmuchmail.org>; Wed, 28 May 2014 17:26:54 -0700 (PDT)
\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)
\r
23 (envelope-from <bremner@tethera.net>)
\r
24 id 1WpoBF-0001WY-OQ; Wed, 28 May 2014 21:26:49 -0300
\r
25 Received: (nullmailer pid 17857 invoked by uid 1000); Thu, 29 May 2014
\r
27 From: David Bremner <david@tethera.net>
\r
28 To: notmuch@notmuchmail.org
\r
29 Subject: [PATCH] test: use --quick when starting emacs.
\r
30 Date: Wed, 28 May 2014 21:26:27 -0300
\r
31 Message-Id: <1401323187-17799-1-git-send-email-david@tethera.net>
\r
32 X-Mailer: git-send-email 2.0.0.rc2
\r
33 X-BeenThere: notmuch@notmuchmail.org
\r
34 X-Mailman-Version: 2.1.13
\r
36 List-Id: "Use and development of the notmuch mail system."
\r
37 <notmuch.notmuchmail.org>
\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
39 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
41 List-Post: <mailto:notmuch@notmuchmail.org>
\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
45 X-List-Received-Date: Thu, 29 May 2014 00:26:59 -0000
\r
47 At least in emacs24, this removes the "site-lisp" directories from the
\r
48 load path in addition to enforcing --no-site-lisp --no-init-file.
\r
50 This works around a slightly mysterious bug on Debian that causes
\r
51 test-lib.el not to load when there is cl-lib.el(c) in some site-lisp
\r
52 directory. It should be harmless in general since we really don't
\r
53 want to load any files from addon packages to emacs.
\r
55 test/test-lib.sh | 7 +++----
\r
56 1 file changed, 3 insertions(+), 4 deletions(-)
\r
58 diff --git a/test/test-lib.sh b/test/test-lib.sh
\r
59 index 8697d6a..17deaab 100644
\r
60 --- a/test/test-lib.sh
\r
61 +++ b/test/test-lib.sh
\r
62 @@ -1081,15 +1081,14 @@ export NOTMUCH_CONFIG=$NOTMUCH_CONFIG
\r
64 # Here's what we are using here:
\r
66 -# --no-init-file Don't load users ~/.emacs
\r
68 -# --no-site-file Don't load the site-wide startup stuff
\r
69 +# --quick Use minimal customization. This implies --no-init-file,
\r
70 +# --no-site-file and (emacs 24) --no-site-lisp
\r
72 # --directory Ensure that the local elisp sources are found
\r
74 # --load Force loading of notmuch.el and test-lib.el
\r
76 -exec ${TEST_EMACS} --no-init-file --no-site-file \
\r
77 +exec ${TEST_EMACS} --quick \
\r
78 --directory "$TEST_DIRECTORY/../emacs" --load notmuch.el \
\r
79 --directory "$TEST_DIRECTORY" --load test-lib.el \
\r