emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Recommended way to work on main without upgrading Org?
Date: Thu, 22 Dec 2022 15:22:29 +1100	[thread overview]
Message-ID: <86cz8chxd0.fsf@gmail.com> (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

Have a look at the chemacs2 package
https://github.com/plexus/chemacs2.git

With this package, you can define multiple Emacs profiles, making it
easy to start Emacs with different configurations or package
versions. For example, I have a number of different profiles, including
'default', 'experiment' and 'vanilla'.

My default profile is my normal day-to-day emacs configuration.
The 'experiment' profile is where I am trying out different packages or
different configurations. When there has been a major new release of a
package I rely on (such as org), I will usually upgrade in the
'experiment' profile and try it out to verify it has no major issues
before I install it in my default profile.

The 'vanilla' profile is a very basic and as close to 'out of the box'
configuration as I can do. I use it when I've discovered a bug and want
to both verify it isn't due to any of my configuration and provide
a minimal reproducible case which works with Emacs default
configuration.

All I have to do to use the non-default profile is start Emacs with the
command argument --with-profile=<name> where <name> is the profile name
I want to run.




  parent reply	other threads:[~2022-12-22  4:33 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.
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 [this message]
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=86cz8chxd0.fsf@gmail.com \
    --to=theophilusx@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).