emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Ant <n58r@pm.me>
Cc: emacs-orgmode@gnu.org
Subject: Re: Real-time, granular synchronization of .org files across devices?
Date: Thu, 04 Jan 2024 16:20:01 +0000	[thread overview]
Message-ID: <87o7e1hxzi.fsf@localhost> (raw)
In-Reply-To: <87wmspb7yj.fsf@>

Ant via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
writes:

> 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.
> ...
> 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.

You can try https://github.com/bcpierce00/unison
Also, there is https://github.com/Artawower/orgnote.el (still in early development).

> 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.

Single threading is not an issue. In fact, Emacs already has
https://code.librehq.com/qhong/crdt.el that provides live collaborative
editing. In theory, you might even make crdt.el work on your phone with
the new official Emacs Android port. Might be tricky though.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


  reply	other threads:[~2024-01-04 16:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04 12:26 Real-time, granular synchronization of .org files across devices? Ant via General discussions about Org-mode.
2024-01-04 16:20 ` Ihor Radchenko [this message]
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=87o7e1hxzi.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=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).