From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IDr1Mkvao2NkHgAAbAwnHQ (envelope-from ) for ; Thu, 22 Dec 2022 05:17:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aHJDMkvao2MEZgEAG6o9tA (envelope-from ) for ; Thu, 22 Dec 2022 05:17:15 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 560683F9D0 for ; Thu, 22 Dec 2022 05:17:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p8D0L-0006Qq-HF; Wed, 21 Dec 2022 23:16:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8D0J-0006QU-Tx for emacs-orgmode@gnu.org; Wed, 21 Dec 2022 23:16:23 -0500 Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8D0I-0008Qh-2J for emacs-orgmode@gnu.org; Wed, 21 Dec 2022 23:16:23 -0500 Received: from fw.net.yu.netyu.xyz ( [50.224.8.147]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 680f7fbb (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 22 Dec 2022 04:16:12 +0000 (UTC) References: <875ye4xgzv.fsf@gmail.com> User-agent: mu4e 1.8.13; emacs 30.0.50 To: Karthik Chikmagalur 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 In-reply-to: <875ye4xgzv.fsf@gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ruijie Yu From: Ruijie Yu via "General discussions about Org-mode." Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671682635; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=VMcI0xg9Y1i5nvb9tG6A7L4NP5HCpvGR9en9f5W6/ec=; b=mnPogEbOwvu7wZSvfHwF4J5Ww+IKsm0ro22Q4npyBBmXEx1JRKlZFJ/eKlA4LHSZkoXjUU jCTH7yARGZ/XeRv0qgXov009MsKYb59+rdybhwSvsQsRTnK315y4/dLrVtwG11y21fpbtl wYf2nTqsRWLTWQAFe/nSufbvFonMP/zravGgki29ZoFQXICOdIMcfrIQSwVnWaUuy25PNC yQkMEPH+2DH4vNG+MZmeNit0Akkm8i4SBQef8lguZSDSaiAeJfhujb1M9gFiwLdma2SzLf 3vCJaR97MKMyCbuGbWXZzajQF1lV+Ghapxya6pyFjkyKmQZtx6UbfVoboSY2sQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671682635; a=rsa-sha256; cv=none; b=ET0FmG4qR6FBhetqfyzWy/K7eBY7bDJbdQsiYzGmnpk4qzgbZbdLEPxyRMOhXTyYibFMn5 SXd6jy1WGGT7LjrR2EATYYbZsqhAnz0xeVxGUnI9G2sq0bhiVUWUSebL9CQSIM2nZmHB23 GWlxB/NGGDV49kYP7cMkMdfIXN0lNNEz1eIqvs3wO4bRWA51w58WsofJaSWoFFHWob0h8r taoXHvDYoW7lPvNoFKOMBuinadF1wSQ8cY60vZ/zfF/2JkVjwSFp36JLSQ5w7U3rGahX5d CqVcY9WL3i6qbN5ONEHsKKZNDk7P056lKVp9n9dUadwv6QpR6lNXqq0W494esg== X-Spam-Score: -2.30 X-Migadu-Queue-Id: 560683F9D0 Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.30 X-TUID: a+Je7zptDimq Karthik Chikmagalur 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.