* syncing org-mode files on three unconnected machines?
@ 2009-02-09 3:43 Alan E. Davis
2009-02-09 6:39 ` Carsten Dominik
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Alan E. Davis @ 2009-02-09 3:43 UTC (permalink / raw)
To: emacs-orgmode Mailinglist
[-- Attachment #1.1: Type: text/plain, Size: 2012 bytes --]
I am studying and using git in several ways at work and at home, and hope to
dive further into the agenda possibilities. I have been using org-mode at
work, on two machines, as well as at home, on my preferred main machine. I
also would like to run emacs and org-mode sometimes on a laptop. I am not
currently able to network or internetwork between them, due to various
firewall and wireless router issues that are beyond my level.
My question is basically how to keep the files consistent among the various
machines. I have thought of at least two ways, but don't understand whether
either of them will work:
1. I am now carrying around a USB flash drive with three ~/org trees from
three machines. I have been trying to maintain important files by hand:
cutting and pasting headlines and their subtrees, then sorting the entire
target file. Is there a canonical method for merging two files (basically
the same file on two different machines, edited at different times, with
some overlaps)?
2. I am thinking git. I'm uncertain about git at the best, so I don't know
how to implement this. Is this reasonable? A git archive is kept on a
flash drive. It is updated from the drive of the current machine. ~/org on
the current machine is also updated from the git archive on the flash
drive.
I am currently struggling to get git working on all my ~/org trees. Also, I
have set some files outside that tree as remember targets or with links to
be access from git files. Somehow, those files will have to be hardlinked
on both or all three machines, meaning the machines will have to mirror each
other.
Somehow, any solution to this problem will need to be robust when I forget
my flash drive.
Am I dreaming?
Thank you,
Alan
--
Alan Davis
It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
---- Bertrand Russell
They are ill discoverers that think there is no land, when they can see
nothing but sea.
---- Sir Francis Bacon
[-- Attachment #1.2: Type: text/html, Size: 2264 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: syncing org-mode files on three unconnected machines?
2009-02-09 3:43 syncing org-mode files on three unconnected machines? Alan E. Davis
@ 2009-02-09 6:39 ` Carsten Dominik
2009-02-09 7:22 ` Thierry Volpiatto
[not found] ` <e0e1fe620902090012j54286429v509cc2e5892225bd@mail.gmail.com>
2 siblings, 0 replies; 7+ messages in thread
From: Carsten Dominik @ 2009-02-09 6:39 UTC (permalink / raw)
To: Alan E. Davis; +Cc: emacs-orgmode Mailinglist
While I am using git myself, you may want to look into
http://getdropbox.com/
I discovered this only recently, and keeping your org files
in the drop box may be a perfect solution.
- Carsten
On Feb 9, 2009, at 4:43 AM, Alan E. Davis wrote:
> I am studying and using git in several ways at work and at home, and
> hope to dive further into the agenda possibilities. I have been
> using org-mode at work, on two machines, as well as at home, on my
> preferred main machine. I also would like to run emacs and org-mode
> sometimes on a laptop. I am not currently able to network or
> internetwork between them, due to various firewall and wireless
> router issues that are beyond my level.
>
> My question is basically how to keep the files consistent among the
> various machines. I have thought of at least two ways, but don't
> understand whether either of them will work:
>
> 1. I am now carrying around a USB flash drive with three ~/org
> trees from three machines. I have been trying to maintain important
> files by hand: cutting and pasting headlines and their subtrees,
> then sorting the entire target file. Is there a canonical method
> for merging two files (basically the same file on two different
> machines, edited at different times, with some overlaps)?
>
> 2. I am thinking git. I'm uncertain about git at the best, so I
> don't know how to implement this. Is this reasonable? A git
> archive is kept on a flash drive. It is updated from the drive of
> the current machine. ~/org on the current machine is also updated
> from the git archive on the flash drive.
>
> I am currently struggling to get git working on all my ~/org trees.
> Also, I have set some files outside that tree as remember targets or
> with links to be access from git files. Somehow, those files will
> have to be hardlinked on both or all three machines, meaning the
> machines will have to mirror each other.
>
> Somehow, any solution to this problem will need to be robust when I
> forget my flash drive.
>
> Am I dreaming?
>
> Thank you,
>
> Alan
>
>
> --
> Alan Davis
>
> It is undesirable to believe a proposition when
> there is no ground whatsoever for supposing it is true.
> ---- Bertrand Russell
> They are ill discoverers that think there is no land, when they can
> see nothing but sea.
> ---- Sir Francis Bacon
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: syncing org-mode files on three unconnected machines?
2009-02-09 3:43 syncing org-mode files on three unconnected machines? Alan E. Davis
2009-02-09 6:39 ` Carsten Dominik
@ 2009-02-09 7:22 ` Thierry Volpiatto
[not found] ` <e0e1fe620902090012j54286429v509cc2e5892225bd@mail.gmail.com>
2 siblings, 0 replies; 7+ messages in thread
From: Thierry Volpiatto @ 2009-02-09 7:22 UTC (permalink / raw)
To: emacs-orgmode
Hi,
You can use git or mercurial (or other decentralized VC) to do that.
I use hg (mercurial).
To achieve that, you can do like that:
1) Initialize a repo in org-tree1
2) Clone org-tree1 to org-tree2 and org-tree3 (on the machine1)
2) Put these three org-tree on your usb-key
3) Put these three org-tree on the machine 2 and 3.
Thats all!
Now on any machine you can edit org-tree1, make changes, and just pull
changes from org-tree2 and 3. If you have your usb-key with you, pull
the change from the key, if not, you will do it later and synchronize
with the key on other machines.
For a better experience, use DVC with hg or git.
"Alan E. Davis" <lngndvs@gmail.com> writes:
> I am studying and using git in several ways at work and at home, and hope to
> dive further into the agenda possibilities. I have been using org-mode at
> work, on two machines, as well as at home, on my preferred main machine. I
> also would like to run emacs and org-mode sometimes on a laptop. I am not
> currently able to network or internetwork between them, due to various
> firewall and wireless router issues that are beyond my level.
>
> My question is basically how to keep the files consistent among the various
> machines. I have thought of at least two ways, but don't understand whether
> either of them will work:
>
> 1. I am now carrying around a USB flash drive with three ~/org trees from
> three machines. I have been trying to maintain important files by hand:
> cutting and pasting headlines and their subtrees, then sorting the entire
> target file. Is there a canonical method for merging two files (basically
> the same file on two different machines, edited at different times, with
> some overlaps)?
>
> 2. I am thinking git. I'm uncertain about git at the best, so I don't know
> how to implement this. Is this reasonable? A git archive is kept on a
> flash drive. It is updated from the drive of the current machine. ~/org on
> the current machine is also updated from the git archive on the flash
> drive.
>
> I am currently struggling to get git working on all my ~/org trees. Also, I
> have set some files outside that tree as remember targets or with links to
> be access from git files. Somehow, those files will have to be hardlinked
> on both or all three machines, meaning the machines will have to mirror each
> other.
>
> Somehow, any solution to this problem will need to be robust when I forget
> my flash drive.
>
> Am I dreaming?
>
> Thank you,
>
> Alan
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <e0e1fe620902090012j54286429v509cc2e5892225bd@mail.gmail.com>]
end of thread, other threads:[~2009-02-09 17:25 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-09 3:43 syncing org-mode files on three unconnected machines? Alan E. Davis
2009-02-09 6:39 ` Carsten Dominik
2009-02-09 7:22 ` Thierry Volpiatto
[not found] ` <e0e1fe620902090012j54286429v509cc2e5892225bd@mail.gmail.com>
[not found] ` <7bef1f890902090448w452249c7y95f956999c00fc58@mail.gmail.com>
2009-02-09 12:50 ` Alan E. Davis
2009-02-09 14:49 ` Manish
2009-02-09 15:54 ` Bernt Hansen
2009-02-09 17:25 ` Matthew Lundin
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).