From: Rustom Mody <rustompmody@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: minimizing mixed installs
Date: Sun, 19 Jan 2014 22:38:33 +0530 [thread overview]
Message-ID: <CAJ+Teof+ShAY3ih997+UXBBm6H1S0eqipKKEn=Cuspa4CJ_=_w@mail.gmail.com> (raw)
After my recent encounters with mixed installs, I poked around a bit
and found this line (around line 80) in org.el
(load "org-loaddefs.el" t t t)
It seems to me (with very scant knowledge of course :D)
- the noerror (first 't' ) makes this fail silently
- to load another org-loaddefs in the path if it exists
Ive replaced this with these 3 lines:
(setq vv (concat (file-name-directory load-file-name) "org-loaddefs.el"))
(message (format "vv is %s" vv))
(load vv nil t t)
This ensures that
- only a sibling org-loaddefs of org.el will be loaded
- if this file -- org-loaddefs -- not found then fail noisily
[The setq and the vv are of course a hack to see whats going on]
On my setup I could check these 4 cases
1 emacs23
2 emacs24
a with org-loaddefs works
b without org-loaddefs gives explicit errors
reply other threads:[~2014-01-19 17:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='CAJ+Teof+ShAY3ih997+UXBBm6H1S0eqipKKEn=Cuspa4CJ_=_w@mail.gmail.com' \
--to=rustompmody@gmail.com \
--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.