From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Voit Newsgroups: gmane.emacs.help Subject: Sharing .emacs.d between different hosts: issues with shared elpa folder Date: Fri, 23 Jan 2015 10:33:58 +0100 Organization: www.karl-voit.at Message-ID: <2015-01-23T10-29-32@devnull.Karl-Voit.at> Reply-To: Karl Voit NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1422005684 4799 80.91.229.3 (23 Jan 2015 09:34:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2015 09:34:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 23 10:34:43 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 1YEadS-0004QK-1B for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Jan 2015 10:34:38 +0100 Original-Received: from localhost ([::1]:57816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEadR-0004GU-7j for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Jan 2015 04:34:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEadF-0004GM-In for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 04:34:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEadC-0007ez-Dd for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 04:34:25 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:58488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEadC-0007ep-6Q for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 04:34:22 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YEad9-0004BS-VT for help-gnu-emacs@gnu.org; Fri, 23 Jan 2015 10:34:20 +0100 Original-Received: from friends.grml.info ([136.243.234.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Jan 2015 10:34:19 +0100 Original-Received: from news1142 by friends.grml.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Jan 2015 10:34:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: friends.grml.info X-GPG-Key: http://www.Karl-Voit.at/Karl_Voit_GnuPG_public_key.gpg X-Registered-Linux-User: 224337 X-Confession: Pastafarian http://www.venganza.org/ User-Agent: slrn/pre1.0.0-18 (Linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:102222 Archived-At: 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(# 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(# 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