From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Correct / best way of loading packages in contrib when using org compiled from git? Date: Thu, 21 Feb 2013 12:56:01 +0100 Message-ID: <51260B51.2060006@gmail.com> Reply-To: Rainer@krugs.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8UlC-0003tU-KW for emacs-orgmode@gnu.org; Thu, 21 Feb 2013 06:56:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8Ukv-0004al-IU for emacs-orgmode@gnu.org; Thu, 21 Feb 2013 06:56:22 -0500 Received: from mail-wg0-f53.google.com ([74.125.82.53]:51906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8Ukv-0004aI-8w for emacs-orgmode@gnu.org; Thu, 21 Feb 2013 06:56:05 -0500 Received: by mail-wg0-f53.google.com with SMTP id fn15so7410478wgb.20 for ; Thu, 21 Feb 2013 03:56:03 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I am using org-mode from git and compile it. I would like to use the org-notmuch module in the contrib directory, and I activate it using: (add-to-list 'load-path "~/.emacs.d/org-mode/contrib/lisp") (require 'org-notmuch) But, as Suvayo pointed out to me, in default.mk it says: # Define if you want to include some (or all) files from contrib/lisp # just the filename please (no path prefix, no .el suffix), maybe with globbing #ORG_ADD_CONTRIB = org-e-* org-md org-export # e.g. the new exporter So I would have to add ORG_ADD_CONTRIB = org-notmuch to the local.mk file Nevertheless, I would like to stick with a configutration which uses the normal compiled version and all configurations are in one file (emacs.org), so I would prefer the require... approach. But I would like to have some clarification, what the differences are between the two approaches and if (and if yes, why) it would be advisable to use the second approach. Thanks lot, Rainer PS: I update my git almost daily via the following script: #############################3 #!/bin/sh cd ~/.emacs.d/org-mode-git/org-mode git checkout master git fetch --tags origin git pull git gc git checkout master make clean make make autoloads make doc make info #############################3 - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRJgtRAAoJENvXNx4PUvmC6GgIANoMPX4TEwfjKVMstEoCHjFX FYA1y2gRKFRRx0Qe/7gRMz7eMvHKrblnzH1A67MmUpGTO2H607pInMEsHsjWIcVH EqfffwHdbSVMHaZwr6mKW+j0CXvGwVzviT2OrHl8BPMdt5DKScYuJBy7FUq2jKYg 9nZ7ATVs4ADy/Nxsqq7dcuJf2wDkw4ZWDgOnKu2guD5IFUVOgqe5H1vjEUa/veOH V1VpuTjN7R5lWhVvxjDlLPzq4O3QGzmq5zj6S07wFJlx2dstN7mo6SP2RoiKO3Zl Wc2KyK1+sMVpdZJDKtIyrJa1F4VTr40R0NtuC/ookq9j5b8H4R26LtDkxtUoncw= =vRYR -----END PGP SIGNATURE-----