emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Emacs/Org-mode configs spread over multiple accounts/machines


From: Eric Schulte
Subject: Re: [O] Emacs/Org-mode configs spread over multiple accounts/machines
Date: Fri, 03 Feb 2012 11:30:26 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

One more option in this space is the technique used in the emacs starter
kit, in which specialized config files named after both the user and the
machine hostname are loaded on startup.  This allows sharing of config
across users and machines.

http://eschulte.me/emacs24-starter-kit/
https://github.com/eschulte/emacs24-starter-kit

Best,

"Alan E. Davis" <address@hidden> writes:

> 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 <address@hidden> 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 <address@hidden> wrote:
>>
>>> * Yu <address@hidden> 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
>>>
>>>
>>>
>>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]