emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ant via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: emacs-orgmode@gnu.org
Subject: Real-time, granular synchronization of .org files across devices?
Date: Thu, 04 Jan 2024 13:26:28 +0100	[thread overview]
Message-ID: <87wmspb7yj.fsf@> (raw)

Hi,

I've been using Emacs+Org Mode on my Linux and Android devices
for some time now and have been encountering some little synchronization
issues that have made it difficult for me to use Org as a task manager.

I've encountered no big issues regarding long documents or note writing, but
due to the frequently interleaved sessions between my laptop and my
smartphone - sometimes in areas without Internet connection -  it is kind of frequent
to have conflicting files generated from SyncThing among my Org agenda (task)
files, which are edited way more frequently.

One such concrete instance of this problem is when I clock-in an
entry from my smartphone and then try to edit another entry from my
laptop with no Internet connection.  Syncthing has no way to perform an
automatic conflict resolution and couldn't care less if the edits on the
.org file are disjointed or not.

Git can deal with conflicting files line-wise and apparently many users do use
it, but having to deal with pulling and pushing each time does not look
compelling and it also does not look intended for automatic synchronization.

Org mode looks incredibly versatile as a task manager and no alternative
turns out to be on par, but the synchronization issues grudgingly strive me from
using it. I'm writing this message to ask you if there's some
alternative solution I've not considered yet.

Alternatively, I'd also like to now if there could be in the future
solutions like obsidian-livesync
(https://github.com/vrtmrz/obsidian-livesync) which apparently allow to
perform live synchronization over multiple writes on the same file. I
don't really need to know if someone will work on it (which is obviously
unpredictable) but rather if it would be feasible or if Emacs (being
single threaded, for example) and Org could instead be a blocker.

Thank you in advance for your answers.
Cheers.


             reply	other threads:[~2024-01-04 12:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04 12:26 Ant via General discussions about Org-mode. [this message]
2024-01-04 16:20 ` Real-time, granular synchronization of .org files across devices? Ihor Radchenko
2024-01-04 17:51   ` Günter Lichtenberg
2024-01-06 17:05     ` Ant via General discussions about Org-mode.
2024-01-06 16:49   ` Ant via General discussions about Org-mode.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wmspb7yj.fsf@ \
    --to=emacs-orgmode@gnu.org \
    --cc=n58r@pm.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).