[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Correct / best way of loading packages in contrib when using org com
From: |
Rainer M Krug |
Subject: |
[O] Correct / best way of loading packages in contrib when using org compiled from git? |
Date: |
Thu, 21 Feb 2013 12:56:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:19.0) Gecko/20130125 Thunderbird/19.0 |
-----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: address@hidden
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-----