emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Correct / best way of loading packages in contrib when using org compiled from git?
@ 2013-02-21 11:56 Rainer M Krug
  2013-02-22 13:39 ` Bastien
  0 siblings, 1 reply; 10+ messages in thread
From: Rainer M Krug @ 2013-02-21 11:56 UTC (permalink / raw)
  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-----

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-02-25 17:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-21 11:56 Correct / best way of loading packages in contrib when using org compiled from git? Rainer M Krug
2013-02-22 13:39 ` Bastien
2013-02-22 14:08   ` Rainer M Krug
2013-02-22 14:32     ` Bastien
2013-02-22 15:42       ` Achim Gratz
2013-02-25 10:00         ` Rainer M Krug
2013-02-25 10:19           ` Bastien
2013-02-22 21:17     ` Achim Gratz
2013-02-25 10:05       ` Rainer M Krug
2013-02-25 17:37         ` Achim Gratz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).