From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 iJ6KNXnfpWPluQAAbAwnHQ (envelope-from ) for ; Fri, 23 Dec 2022 18:03:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ONJMNXnfpWP4dgEA9RJhRA (envelope-from ) for ; Fri, 23 Dec 2022 18:03:53 +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 915E43CC25 for ; Fri, 23 Dec 2022 18:03:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p8l3l-0005Hj-1y; Fri, 23 Dec 2022 11:38:13 -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 1p8l3k-0005HG-7J for emacs-orgmode@gnu.org; Fri, 23 Dec 2022 11:38:12 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8l3i-0004ZO-Tc for emacs-orgmode@gnu.org; Fri, 23 Dec 2022 11:38:12 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1p8l3h-00052X-6I for emacs-orgmode@gnu.org; Fri, 23 Dec 2022 17:38:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Richard Kim Subject: Re: Recommended way to work on main without upgrading Org? Date: Fri, 23 Dec 2022 08:38:03 -0800 Message-ID: <87r0wqm5xw.fsf@gmail.com> References: <875ye4xgzv.fsf@gmail.com> <873598xco0.fsf@gmail.com> <87ili2t7lk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:Ze+U5uOPgTV9kUFjK09lTj2YJXI= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: emacs18@gmail.com 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=1671815033; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=XnNdYIJJRvhyYsMdHpJOfRKiOasl4Js+9moRy0S4oCg=; b=SyUsEGHMFWPEo7T+GUXAck6VB3x1YANfbSFDLk1WxFfXfbnAHLJ+7Hk97BWPJVTyfw5acu LRQd3CU8kWULoju5FRfMwLaZB96DiXV2msv9JqL+Sn5fVWfpHDGlB8jAvCxzypjit+WnU1 1sFX2tX1HVeGlZA3GvG2EY4Z5o3cPZBANGR++44p5B/KKuuHzYp4PjGkSLCdtdp8RZAksC 8Cd+2I/M8XNKD1BAzecQdW1QZQgU+ebGywThR1l9iKfUtXeW65V1KZ3OaAkdPF5kWbNYV7 5xJRDVYTARCxPvivE3yAN7+w/lV7Vaj6aJDepKbFyla74RR0yvLn/nAw1+DNFQ== 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671815033; a=rsa-sha256; cv=none; b=tTfucgJpG6HkPYUEXOmMU/slLPbGRI7yxh34k+35IrR0uvOXgBaIUmc+ntQTc9foNxDfLU VSw6AXoKmCwuv+/ZRrLT2qkjhX+KuRo3A/A9whVtKEqXySr6mNrxSljiDuKRGvXXXxR4mE Vy6caAuwpTivKtCuUaBSE67WKUZfsoHplgknTivAG5xW8XwXIuydfM3iteITQZbn8M7P+E Afo4JTSfT7Bk4pzToG8SFDExawnjDZc0Gx/qBDjf1vxCj3JusY6HyM0ZAA4vNBj2sXaYi+ KhY/iEP8tPUG1z3XzvjeLlhc55JybqcLM2ItE5uWnP6DFSU1Hf4wi3uaiBgcFw== X-Spam-Score: 5.19 X-Migadu-Queue-Id: 915E43CC25 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 5.19 X-TUID: zPXDxoKdeaN8 Richard Kim writes: > Karthik Chikmagalur writes: > >> I can get it to work with emacs -Q as well, and this is good for testing, thank you. >> >> But I'm looking for a way to retain the rest of my configuration and swap out >> Org as required. Otherwise I can't do any interactive development. Another >> alternative is to set up a completely different init directory and run Emacs >> with a chemacs2 profile or with the new --init-directory flag, but considering >> the complexity/size of my configuration this would be onerous. > > How about specifying org version of your choice on command line like this? > > emacs --eval "(add-to-list 'load-path \"/path/to/org\")" > > So long as you don't activate another org mode package within your > start-up files, above should work I think. If you want to better control where your org path end up in load-path, then you can use one of several hooks, e.g., following delays updating load-path till almost the very end of emacs startup process emacs --eval "(add-hook 'emacs-startup-hook (lambda () (add-to-list 'load-path \"/path/to/org\")) 100)" See [[info:elisp#Startup Summary]] for emacs startup details.