* Best strategy for sharing agenda between two machines?
@ 2020-02-24 21:04 Stig Brautaset
2020-02-25 17:12 ` Günter Lichtenberg
0 siblings, 1 reply; 2+ messages in thread
From: Stig Brautaset @ 2020-02-24 21:04 UTC (permalink / raw)
To: emacs-orgmode
Hi,
I use Org mode & agenda on both my personal and work machines, in a
private git repo repository. I use auto-commit and push automatically
from each machine. It works alright. New items go in inbox.org, and I
refile most to tasks.org, which has a structure a little like this:
* Home :@home:
** TODO Some task to do at home
** TODO Another task to do at home
* Work :@work:
** TODO A task to do at work
** TODO Another work task
* TODO Some task that is not inherently work/home
* WAITING Another task that blurs the barriers
The different sections for Home and Work means that there are not too
many merge conflicts. However, inbox.org is a different matter. My todo
template adds a LOGBOOK with an `Added' property, and it's almost
impossible to resolve the conflicts that result.
I see that
https://orgmode.org/worg/org-contrib/gsoc2012/student-projects/git-merge-tool/
sadly never produced a tool. But I'm wondering if people have some
strategy for how to best deal with git conflicts (perhaps a non-default
merge strategy works better with Org?) or maybe even better: how not to
create conflicts in the first place!
I could use a different default agenda file for each machine, since the
inbox.org is worst affected. Is anyone doing this? I could extend this
to use {work,home}_tasks.org too, but I kinda like having that "neither
@work nor @home" option... Decisions decisions.
Stig
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Best strategy for sharing agenda between two machines?
2020-02-24 21:04 Best strategy for sharing agenda between two machines? Stig Brautaset
@ 2020-02-25 17:12 ` Günter Lichtenberg
0 siblings, 0 replies; 2+ messages in thread
From: Günter Lichtenberg @ 2020-02-25 17:12 UTC (permalink / raw)
To: emacs-orgmode
On Monday, 24 February 2020 22:04:52 CET Stig Brautaset wrote:
> I could use a different default agenda file for each machine, since the
> inbox.org is worst affected. Is anyone doing this? I could extend this
> to use {work,home}_tasks.org too, but I kinda like having that "neither
> @work nor @home" option... Decisions decisions.
Hi
probably not want you want, since it is not a pure emacs solution (maybe could
be adapted). For my org agenda files I have the following set-up:
1. One directory ("DIR1") with a collection of org agenda files that are parsed
at work and at home
2. One directory ("DIR2") I use only for work (since I am not allowed to store
work related things on outside servers)
3. Host specific emacs config files that declare the agenda files separately for
each host (home machines and work machines) The functions for these are more
or less those from E. Schultes 24.1 emacs starter kit. in these config files
only the settings that differ between hosts are in, all other config is
identical for the different machines.
4. Sync only DIR1 via my nextcloud server with the desktop sync client.
So, at work machine I have all agenda files DIR1 + DIR2. DIR1 also includes
diary and the refile file (set-up similar to B. Hansen). At home I have only the
DIR1 files synced
So in a nut-shell, this set-up requires additional host specific config,
separation of org directories work/home and a file syncer (the set-up might
work with git, but I never tried that).
Maybe this gives some idea, even if not what you look for
gl
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-25 17:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-24 21:04 Best strategy for sharing agenda between two machines? Stig Brautaset
2020-02-25 17:12 ` Günter Lichtenberg
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).