From: phillip.lord@russet.org.uk (Phillip Lord)
To: Rainer M Krug <Rainer@krugs.de>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>,
Stefan Monnier <monnier@iro.umontreal.ca>,
Kaushal Modi <kaushal.modi@gmail.com>
Subject: Re: Can I share ~/.emacs.d/elpa with two machines?
Date: Sat, 03 Oct 2015 21:04:38 +0100 [thread overview]
Message-ID: <87twq7en1l.fsf@russet.org.uk> (raw)
In-Reply-To: <m237xtf5uy.fsf@krugs.de> (Rainer M. Krug's message of "Fri, 2 Oct 2015 21:05:57 +0200")
Rainer M Krug <Rainer@krugs.de> writes:
> Kaushal Modi <kaushal.modi@gmail.com> 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
next prev parent reply other threads:[~2015-10-03 20:04 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-02 14:03 Can I share ~/.emacs.d/elpa with two machines? Jorge
2015-10-02 15:54 ` Stefan Monnier
2015-10-02 17:05 ` Kaushal Modi
2015-10-02 19:05 ` Rainer M Krug
2015-10-02 19:23 ` Kaushal Modi
2015-10-05 7:54 ` Rainer M Krug
2015-10-05 10:19 ` Suvayu Ali
2015-10-05 11:34 ` Rainer M Krug
2015-10-05 13:13 ` Suvayu Ali
2015-10-05 13:45 ` Rainer M Krug
2015-10-05 12:55 ` Kaushal Modi
2015-10-05 12:46 ` Kaushal Modi
2015-10-05 13:16 ` Suvayu Ali
2015-10-05 13:56 ` Kaushal Modi
2015-10-05 15:21 ` Solved: " Rainer M Krug
2015-10-03 20:04 ` Phillip Lord [this message]
2015-10-02 19:35 ` Stefan Monnier
2015-10-02 15:59 ` Kaushal Modi
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twq7en1l.fsf@russet.org.uk \
--to=phillip.lord@russet.org.uk \
--cc=Rainer@krugs.de \
--cc=help-gnu-emacs@gnu.org \
--cc=kaushal.modi@gmail.com \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.