emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ruijie Yu via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Recommended way to work on main without upgrading Org?
Date: Wed, 21 Dec 2022 21:51:21 -0600	[thread overview]
Message-ID: <sdvedss3wg3.fsf@fw.net.yu> (raw)
In-Reply-To: <875ye4xgzv.fsf@gmail.com>


Karthik Chikmagalur <karthikchikmagalur@gmail.com> writes:

> Hi,
>
> I'm trying to work on the main branch of Org, with the intent of creating a
> patch.  However, I need to continue using Org 9.5 for everyday work in a
> separate Emacs session as I can't have things breaking.  Is there a recommended
> way to run two simultaneous instances of Emacs using two different Org versions?
>
> I use Straight to install Org 9.5.  I've cloned the latest main branch from
> Savannah to work on, but I'm not able to test my changes cleanly since there are
> two org versions in the mix -- technically three including the built-in version
> that's been shadowed.
>
> Karthik

I got curious and tried it myself.  References are the emacs manpage in
my system and this message in the mailing list
(https://lists.gnu.org/archive/html/emacs-orgmode/2022-12/msg00520.html).

$ cd $(mktemp -d)
$ git clone git://git.savannah.gnu.org/emacs/org-mode.git
$ make -C org-mode
$ emacs -Q -L org-mode/lisp -l org --batch --eval "(call-interactively #'org-version)"
Org mode version 9.6 (release_9.6-126-gf731d4 @ /tmp/tmp.1wPdM68xpD/org-mode/lisp/)

At the last step, if you remove everything after --batch, you will have
a clean-slate Emacs with nothing but org loaded.


  reply	other threads:[~2022-12-22  4:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-22  3:19 Recommended way to work on main without upgrading Org? Karthik Chikmagalur
2022-12-22  3:51 ` Ruijie Yu via General discussions about Org-mode. [this message]
2022-12-22  4:52   ` Karthik Chikmagalur
2022-12-22 10:15     ` Max Nikulin
2022-12-23 16:20     ` Richard Kim
2022-12-23 16:38       ` Richard Kim
2022-12-23 17:07         ` Richard Kim
2022-12-22  4:22 ` Tim Cross
2022-12-22  5:02   ` Greg Minshall
2022-12-22  7:52 ` Milan Glacier

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=sdvedss3wg3.fsf@fw.net.yu \
    --to=emacs-orgmode@gnu.org \
    --cc=karthikchikmagalur@gmail.com \
    --cc=ruijie@netyu.xyz \
    /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).