From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: Packaging Org: how to put the newer version in load-path?
Date: Thu, 07 Jul 2011 18:42:12 +0200 [thread overview]
Message-ID: <87zkkqxct7.fsf@Rainer.invalid> (raw)
In-Reply-To: 87pqlmh1qh.fsf@zephyr.silentflame.com
Sean Whitton <sean@silentflame.com> writes:
> I am presently packaging up Org from git for a new (to me) GNU/Linux
> distribution I am switching to, CRUX [1], and I can’t figure out the
> clean way to get the new version of Org in /usr/share/emacs/site-lisp to
> override that in /usr/share/emacs/23.3. I mean I could easily add it to
> the front of my load-path in my own init file, but I don’t have to do
> that on Arch Linux, which I am switching away from, because something
> somewhere is adding it to the front of load-path for me. What might
> this be, so that I might duplicate this? Is there a system-wide file
> full of load paths for Emacs that I am missing?
This depends on how Emacs was configured. The initial load-path is
defined in epath.h or can be overridden by an environment variable
EMACSLOADPATH. The invocation
emacs -Q -nw --batch --eval '(message "%s" load-path)'
tells you what the load-path is before running any startup scripts (if
subdirs.el is existing in any of the initial load-path directories, then
any subdirectories should have been expanded already).
The standard setup should be looking for
…/$VERSION/site-lisp
…/site-lisp
…/$VERSION/lisp
…/$VERSION/leim (maybe)
in that order (first version specific site-lisp, then site-lisp, then
the lisp that came with that installation of Emacs). It could be
configured to use a different prefix for any site-lisp directories to
keep them separate from the installation.
HTH,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
DIY Stuff:
http://Synth.Stromeko.net/DIY.html
prev parent reply other threads:[~2011-07-07 16:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-07 9:35 Packaging Org: how to put the newer version in load-path? Sean Whitton
2011-07-07 16:42 ` Achim Gratz [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zkkqxct7.fsf@Rainer.invalid \
--to=stromeko@nexgo.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.