From: Maxim Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: trivial software engineering'ish question: switching org's
Date: Mon, 22 Mar 2021 19:06:29 +0700 [thread overview]
Message-ID: <s3a186$158i$1@ciao.gmane.io> (raw)
In-Reply-To: <705757.1616348671@apollo2.minshall.org>
On 22/03/2021 00:44, Greg Minshall wrote:
> hi. i occasionally want to switch from the org package to a git
> version, then back again. and, i want to avoid the dread "mixed
> installation".
Do you really need to switch or just to launch it a couple of times? Is
it required to run namely compiled version?
Actually I am unsure if the following way is reliable or it has some
problems that I have not discovered yet.
emacs -q -L ~/src/org-mode/lisp -L ~/src/org-mode/contrib/lisp file.org
Unfortunately -L (--directory) options are processed after
~/.emacs.d/init.el, that is why -q (--no-init-file) is added. I had
(require 'org-protocol) in init.el file and a part of org bundled with
emacs were loaded before processing of -L. If there is no setup for
alternative org version, the file could be loaded after -L options using
-l ~/emacs.d/init.el (--load), alternatively a bit cleaned variant of
init.el from another directory could be specified.
I do not recommend to skip contrib directory. I noticed that due to
system-wide configs some files could be loaded from older org contrib.
next prev parent reply other threads:[~2021-03-22 12:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-21 17:44 trivial software engineering'ish question: switching org's Greg Minshall
2021-03-21 21:35 ` Tim Cross
2021-03-22 1:43 ` Gustav Wikström
2021-03-22 7:41 ` Greg Minshall
2021-03-24 2:56 ` straight.el and org info pages? Greg Minshall
2021-03-24 4:49 ` Gustav Wikström
2021-03-24 6:25 ` Greg Minshall
2021-03-24 5:02 ` Richard Kim
2021-03-24 6:23 ` Greg Minshall
2021-03-22 0:40 ` trivial software engineering'ish question: switching org's Anthony Cowley
2021-03-22 12:06 ` Maxim Nikulin [this message]
2021-03-24 5:12 ` Greg Minshall
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='s3a186$158i$1@ciao.gmane.io' \
--to=manikulin@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 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).