all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: help-gnu-emacs@gnu.org
Subject: Sharing .emacs.d between different hosts: issues with shared elpa folder
Date: Fri, 23 Jan 2015 10:33:58 +0100	[thread overview]
Message-ID: <2015-01-23T10-29-32@devnull.Karl-Voit.at> (raw)

Hi!

I sync my .emacs.d folder between Windows, OS X, and GNU/Linux.[1]

So far, this worked pretty well. In recent time, I got some issues
on Windows when I installed or updated packages via GNU/Linux Emacs.
For example, this one happened today:

| Debugger entered--Lisp error: (invalid-function "python")
|   "python"("virtualenv" "tools")
|   byte-code("\300\301\302\303\304\305\306\307\310\311\312\"\207" [define-package "pyvenv" "20150110.421" "Python virtual environment interface" nil :url "http://github.com/jorgenschaefer/pyvenv" :keywords "python" "virtualenv" "tools"] 11)
|   load("c:/Users/karl.voit/AppData/Roaming/.emacs.d/elpa/pyvenv-20150110.421/pyvenv-pkg" nil t)
|   package-load-descriptor("~/.emacs.d/elpa" "pyvenv-20150110.421")
|   package-maybe-load-descriptor("pyvenv" "20150110.421" "~/.emacs.d/elpa")
|   package-load-all-descriptors()
|   package-initialize()
|   eval-buffer(#<buffer  *load*-245402> nil "c:/Users/karl.voit/.emacs.d/main.el" nil t)  ; Reading at buffer position 1666
|   load-with-code-conversion("c:/Users/karl.voit/.emacs.d/main.el" "c:/Users/karl.voit/.emacs.d/main.el" nil nil)
|   load("C:/Users/karl.voit/.emacs.d/main.el")
|   eval-buffer(#<buffer  *load*> nil "c:/Users/karl.voit/AppData/Roaming/.emacs.d/init.el" nil t)  ; Reading at buffer position 469
|   load-with-code-conversion("c:/Users/karl.voit/AppData/Roaming/.emacs.d/init.el" "c:/Users/karl.voit/AppData/Roaming/.emacs.d/init.el" t t)
|   load("c:/Users/karl.voit/AppData/Roaming/.emacs.d/init" t t)
|   #[0 \205\262

So far, I resolved it by deleting the elpa/$PACKAGE folder. Some
times, re-installing via Windows/Emacs helped.

I read that sharing the elpa folder is not recommended and I guess
this results in issues like the one above.

I don't want to manage different sets of packages per host. So: how
do I accomplish working sharing of packages/dot-emacs?

Thanks!

[1] https://github.com/novoid/dot-emacs

-- 
All in all, one of the most disturbing things today is the definitive
fact that the NSA, GCHQ, and many more government organizations are
massively terrorizing the freedom of us and the next generations.
                                                  http://Karl-Voit.at




             reply	other threads:[~2015-01-23  9:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-23  9:33 Karl Voit [this message]
2015-01-25 13:18 ` Sharing .emacs.d between different hosts: issues with shared elpa folder Alexis
2015-01-25 14:06   ` Rasmus

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=2015-01-23T10-29-32@devnull.Karl-Voit.at \
    --to=devnull@karl-voit.at \
    --cc=help-gnu-emacs@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /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.