emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <r.m.krug@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Correct / best way of loading packages in contrib when using org compiled from git?
Date: Thu, 21 Feb 2013 12:56:01 +0100	[thread overview]
Message-ID: <51260B51.2060006@gmail.com> (raw)

-----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-----

             reply	other threads:[~2013-02-21 11:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-21 11:56 Rainer M Krug [this message]
2013-02-22 13:39 ` Correct / best way of loading packages in contrib when using org compiled from git? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51260B51.2060006@gmail.com \
    --to=r.m.krug@gmail.com \
    --cc=Rainer@krugs.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).