From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.help Subject: Re: Can I share ~/.emacs.d/elpa with two machines? Date: Sat, 03 Oct 2015 21:04:38 +0100 Message-ID: <87twq7en1l.fsf@russet.org.uk> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1443902727 5053 80.91.229.3 (3 Oct 2015 20:05:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Oct 2015 20:05:27 +0000 (UTC) Cc: Help Gnu Emacs mailing list , Stefan Monnier , Kaushal Modi To: Rainer M Krug Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 03 22:05:18 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZiT3U-0006XF-2V for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Oct 2015 22:05:16 +0200 Original-Received: from localhost ([::1]:39868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiT3T-0005Pf-G8 for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Oct 2015 16:05:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiT3E-0005M8-TN for help-gnu-emacs@gnu.org; Sat, 03 Oct 2015 16:05:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZiT3B-0003Uk-NB for help-gnu-emacs@gnu.org; Sat, 03 Oct 2015 16:05:00 -0400 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:56511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiT3B-0003UX-G7 for help-gnu-emacs@gnu.org; Sat, 03 Oct 2015 16:04:57 -0400 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1ZiT37-0007g3-G1; Sat, 03 Oct 2015 21:04:54 +0100 Original-Received: from cpc6-benw10-2-0-cust45.gate.cable.virginm.net ([92.238.179.46] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1ZiT32-00075A-Q2; Sat, 03 Oct 2015 21:04:53 +0100 In-Reply-To: (Rainer M. Krug's message of "Fri, 2 Oct 2015 21:05:57 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107499 Archived-At: Rainer M Krug writes: > Kaushal Modi writes: > >> @Stefan, sharing elpa/ between at least emacs 24.5 and emacs 25.x (git >> master) does not work as the complied .elc files are not compatible between >> the two versions. > > Just jumping in as I have the two version problem. > > I am fine with most of my stuff managed by cask, therefore aware of > versions. But how can I manage org, which is via git? Any smart > suggestion how I can use this between two versions on one machine? I use "use-package" and ":ensure" which pulls down everything from ELPA. So I share my .emacs between machines but not my elpa directory. In terms of supporting multiple versions of Emacs, I use this.... (setq package-user-dir (concat "~/.emacs.d/elpa/" ;; if we use emacs-version we get a ;; LOT of pre-release directories. (int-to-string emacs-major-version) "." (int-to-string emacs-minor-version))) With org, not sure what the problem is? You want to run this directly off a git clone? I wrote "git-update.el" for use with use-package -- you should just be able to clone org twice. Phil