all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Qiantan Hong <qhong@mit.edu>
Cc: "emacs-tangents@gnu.org" <emacs-tangents@gnu.org>
Subject: Re: crdt.el: proposal that server enforces the mode\
Date: Thu, 22 Oct 2020 03:12:03 +0300	[thread overview]
Message-ID: <X5DOU4qWQzlxB0Q2@protected.rcdrun.com> (raw)
In-Reply-To: <241BE8A8-1CCE-403F-B9D8-41B01DD1967D@mit.edu>

* Qiantan Hong <qhong@mit.edu> [2020-10-22 03:05]:
> I thought about exactly this, and this come up when I was
> discussing read-only mode with my friends. Currently it doesn’t
> interact well with crdt.el
> 
> Currently artist-mode works fine with crdt.el (and it’s fun!), but
> if variables like tab-width have different value on different peers
> it doesn’t behave well.

You need to make set of variables that will be dictated by server and
buffer local set on each of clients. This list may grow with the time.

> See the crdt-org-sync-overlay-mode as a prototypical example. It's
> powered by the synchronization of overlays (also based on CRDT). IMO
> once the synchronization of buffer text, text-properties, overlays,
> markers and buffer-local-variables (with annotation) is all
> implemented, it could be much more powerful than any existing
> collaborative environment.

Exactly that is it.

> I’m not sure about the idea of letting the server “dictate”
> anything.  Emotionally I don’t like it — I try to avoid power
> hierarchy. And technically, I can synchronize Boolean variable also
> using CRDT.

dictate

* Overview of verb dictate

The verb dictate has 3 senses (first 2 from tagged texts)
1. (8) order, prescribe, dictate -- (issue commands or orders for)
2. (1) dictate -- (say out loud for the purpose of recording; "He dictated a report to his secretary")
3. dictate -- (rule as a dictator)

My usage of dictate is in the sense of definition 1, not 3, so when
you press a key in Emacs you already issue some commands, if you share
a buffer, you dictate that it is shared, right?

crdt.el shall be collaborative, with many factors in synchronization.

My proposal is directed for those using ses mode, table modes, org
mode, and maybe other dismal mode or other spreadsheet modes, as that
is what people use on proprietary software, like Microsoft Excell.

If that feature is implemented, then subset of those people could
start using free software.



  reply	other threads:[~2020-10-22  0:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20201018092201.GG9782@protected.rcdrun.com>
     [not found] ` <2F36D10F-A179-445D-9417-65194F1CF2F1@mit.edu>
     [not found]   ` <CDA708E8-3CE4-4C8A-8FAC-7E484CCA6F95@mit.edu>
2020-10-21 23:47     ` TODO crdt-stop-session, selecting deleted buffer, fails to remove session from the list Jean Louis
     [not found]       ` <5AA05FFC-47C1-458D-AAA9-1AC63CF30858@mit.edu>
2020-10-23  8:10         ` Jean Louis
2020-10-23 10:59           ` Eli Zaretskii
     [not found]           ` <35C726EA-20E4-4D2A-969D-90B3132F0391@mit.edu>
2020-10-23 14:36             ` Jean Louis
2020-10-23 14:58               ` Qiantan Hong
2020-10-21 23:54     ` crdt.el: proposal that server enforces the mode Jean Louis
2020-10-22  0:04       ` Qiantan Hong
2020-10-22  0:12         ` Jean Louis [this message]
2020-10-22  0:16           ` crdt.el: proposal that server enforces the mode\ Qiantan Hong
2020-10-22  0:28             ` Jean Louis
2020-10-22  0:31             ` crdt.el: include chat buffer Jean Louis
2020-10-22  0:33               ` Aldric Giacomoni
2020-10-22  0:40                 ` Jean Louis

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

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

  git send-email \
    --in-reply-to=X5DOU4qWQzlxB0Q2@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=emacs-tangents@gnu.org \
    --cc=qhong@mit.edu \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.