From: Bastien <bzg@altern.org>
To: Rainer@krugs.de
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Correct / best way of loading packages in contrib when using org compiled from git?
Date: Fri, 22 Feb 2013 14:39:46 +0100 [thread overview]
Message-ID: <877gm0wjq5.fsf@bzg.ath.cx> (raw)
In-Reply-To: <51260B51.2060006@gmail.com> (Rainer M. Krug's message of "Thu, 21 Feb 2013 12:56:01 +0100")
Hi Rainer,
Rainer M Krug <r.m.krug@gmail.com> writes:
> #ORG_ADD_CONTRIB = org-e-* org-md org-export # e.g. the new exporter
The comment above was outdated since org-e-* files don't exist
anymore. I updated it.
> So I would have to add
>
> ORG_ADD_CONTRIB = org-notmuch
>
> to the local.mk file
This is correct and will tell Org to compile and install
org-notmuch.el.
But you will still have to require it in your configuration.
> 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.
Compiling, installing and requiring are three different things.
The makefile rules take care of the first two, while your config
file needs to take care of the third one in any case.
If you set the load-path to include the "contrib/lisp/" directory,
then you don't need to install org-notmuch, and (require 'org-notmuch)
will find it.
If you don't want to bother setting the load-path for "contrib/lisp/"
then you want to install Org. In this case, org-notmuch will not be
installed unless you add the "ORG_ADD_CONTRIB = org-notmuch" rule.
> 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.
I hope the above clarifies things.
I don't install Org files, I use them from the git repo and configure
the require accordingly.
> PS: I update my git almost daily via the following script:
This should be enough
#############################
#!/bin/sh
cd ~/.emacs.d/org-mode-git/org-mode
make update
#############################
HTH,
--
Bastien
next prev parent reply other threads:[~2013-02-22 13:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=877gm0wjq5.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--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).