From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alan E. Davis" Subject: Re: Emacs/Org-mode configs spread over multiple accounts/machines (was: Variable settings in .emacs VS cross device portability.) Date: Thu, 2 Feb 2012 07:18:58 -0800 Message-ID: References: <2012-02-02T14-47-49@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d043892ab53d36d04b7fcb88b Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsyRd-00029Y-QI for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 10:19:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsyRU-0001uQ-Hp for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 10:19:29 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:61762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsyRU-0001u3-1G for emacs-orgmode@gnu.org; Thu, 02 Feb 2012 10:19:20 -0500 Received: by wgbdt13 with SMTP id dt13so2099865wgb.30 for ; Thu, 02 Feb 2012 07:19:19 -0800 (PST) In-Reply-To: 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: news1142@karl-voit.at Cc: emacs-orgmode@gnu.org --f46d043892ab53d36d04b7fcb88b Content-Type: text/plain; charset=ISO-8859-1 By the way, all of these are called from .emacs.el . Another point, I have elected not to byte-compile the loaded elisp files in ~/WorkBench/Emacs , so they will load ok on multiple versions of emacs. On Thu, Feb 2, 2012 at 7:16 AM, Alan E. Davis wrote: > My setup, while far from ideal, is working pretty well. It does require a > modicum of manual oversight. > > I have a directory, ~/WorkBench , in which all of my going work is > located. Dozens of subdirectories including every project I have worked on > or am working on, with PDFs, etc. In ~/WorkBench/org are some setup files: > > org-init-settings.el > org-local-init-settings.el (included in .gitignore) > emacs-common-settings.el (all machines) > emacs-local-settings.el (local machine --- included in > .gitignore) > emacs-frame-setup-magic.el > > The directory ~/WorkBench and all subdirectories are under git > supervision, so long as it stays smaller than about 3 GB. In that case, it > can be carried around on an 8GB flash drive, and cloned on other machines, > though I've had to delete and reclone, once the repo got too large. It > could be cloned to Dropbox if I wanted to spend money on it, and trusted > it. > > I really like this setup, the use of git. However, I am using git at the > most trivial level, and perhaps there are more direct ways to do this. > > The next step is to encrypt the whole thing. I have encrypted a couple of > sensitive files using bcrypt. > > Alan > > > > > On Thu, Feb 2, 2012 at 5:59 AM, Karl Voit wrote: > >> * 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 >> >> >> > --f46d043892ab53d36d04b7fcb88b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable By the way, all of these are called from .emacs.el .=A0=A0 Another point, I= have elected not to byte-compile the loaded elisp files in ~/WorkBench/Ema= cs , so they will load ok on multiple versions of emacs.

On Thu, Feb 2, 2012 at 7:16 AM, Alan E. Davis <lngndvs@gmail.com> wrote:
My setup, while far from ideal, is working pretty well.=A0 It does require = a modicum of manual oversight.

I have a directory, ~/WorkBench , in = which all of my going work is located.=A0 Dozens of subdirectories includin= g every project I have worked on or am working on, with PDFs, etc.=A0 In ~/= WorkBench/org are some setup files:

=A0=A0 org-init-settings.el
=A0=A0 org-local-init-settings.el=A0=A0= =A0=A0=A0=A0=A0=A0 (included in .gitignore)
=A0=A0 emacs-common-settings= .el=A0=A0 (all machines)
=A0=A0 emacs-local-settings.el=A0=A0=A0=A0=A0= =A0=A0=A0 (local machine --- included in .gitignore)
=A0=A0 emacs-frame-setup-magic.el=A0=A0

The directory ~/WorkBench a= nd all subdirectories are under git supervision, so long as it stays smalle= r than about 3 GB.=A0 In that case, it can be carried around on an 8GB flas= h drive, and cloned on other machines, though I've had to delete and re= clone, once the repo got too large.=A0=A0 It could be cloned to Dropbox if = I wanted to spend money on it, and trusted it.

I really like this setup, the use of git.=A0 However, I am using git at= the most trivial level, and perhaps there are more direct ways to do this.=

The next step is to encrypt the whole thing.=A0 I have encrypted a = couple of sensitive files using bcrypt.=A0=A0

Alan

--f46d043892ab53d36d04b7fcb88b--