emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trivial software engineering'ish question: switching org's


From: Maxim Nikulin
Subject: Re: trivial software engineering'ish question: switching org's
Date: Mon, 22 Mar 2021 19:06:29 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]