From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Emacs/Org-mode configs spread over multiple accounts/machines (was: Variable settings in .emacs VS cross device portability.) Date: Thu, 2 Feb 2012 14:59:10 +0100 Message-ID: <2012-02-02T14-47-49@devnull.Karl-Voit.at> References: Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsxCD-0000yk-Fp for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 08:59:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsxC7-00026D-BL for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 08:59:29 -0500 Received: from plane.gmane.org ([80.91.229.3]:51883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsxC7-000267-4y for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 08:59:23 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RsxC5-0005Mp-HR for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 14:59:21 +0100 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 14:59:21 +0100 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 14:59:21 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org * Yu wrote: > Hello! > > I was wondering if there is a possibility to make org-files fully > portable in behaviour (especially when exporting) between different > emacs installations. The Tread has turned into BIND and local variables only. I wanted to add my current solution which uses a different approach. My ~/.emacs is a symlink to ~/hosts/${HOSTNAME}/emacs where host-specific or platform-specific configuration is stored. The directory ~/hosts is synchronized[1] on all of my machines and accounts. In ~/hosts/all/emacs.d/* I have got myorgmode.el, mycommon.el, myauctex.el, myedit-server.el, mypython.el, and so forth. As you can imagine, the ~/hosts/${HOSTNAME}/emacs contains a load command for mycommon.el which refers to all the other el files. Therefore mycommon.el and all the others are identical on all my machines whereas ~/.emacs contains (only few) platform-specific things. Maybe this is a possible attempt to overcome your problems when using Org-mode on different machines. 1. I am currently using Unison File Synchronizer[2] in combination with crond/LaunchCtl but git or something like dvcs-autosync[3] or even Dropbox will work too. 2. http://www.cis.upenn.edu/~bcpierce/unison/ 3. http://www.mayrhofer.eu.org/dvcs-autosync -- Karl Voit