unofficial mirror of emacs-tangents@gnu.org
 help / color / mirror / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Qiantan Hong <qhong@mit.edu>
Cc: emacs-tangents@gnu.org
Subject: crdt.el: proposal that server enforces the mode
Date: Thu, 22 Oct 2020 02:54:35 +0300	[thread overview]
Message-ID: <X5DKO9QlWT1/2D9f@protected.rcdrun.com> (raw)
In-Reply-To: <CDA708E8-3CE4-4C8A-8FAC-7E484CCA6F95@mit.edu>

I do not know why, but often when I go do some personal hygiene, my
mind get new ideas. I am programming in Emacs Lisp, but not internals
of Emacs, so I cannot know if following is right or wrong.

I was thinking of various modes, likes ses-mode for spreadsheet or Org
mode, there is also artist mode and other kind of special modes.

It would not be good if client can choose the mode and change it, that
would influence data, it could be disaster.

So in that sense, the mode of editing should be set and dictated by
the server.

Now, what if client does not have some of the modes? This condition
also has to be handled, maybe there should be option

crdt-allow-client-with-non-existant-mode or similar

As maybe some modes are just fine to be edited on server let us say in
Org mode, and fundamental mode could be used on client's side.

From Internet searches and report of my friend, I got impression that
major collaboration is on spreadsheet, that is why there is Ethercalc
software, it works online. So if it is on spreadsheets, people wish to
insert their statistics or reports. Spreadsheets are exactly related
to this proposal.

ses-mode handles spreadsheets, there may be dismal spreadsheet, and
there may be table modes in Emacs.

For example, in Org mode, table handling, if I press TAB, I can all
the table nicely aligned, if I press TAB in mail-mode I get several
spaces, it would not be same thing, you will say more about that.



  parent reply	other threads:[~2020-10-21 23:54 UTC|newest]

Thread overview: 11+ 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
2020-10-21 23:54     ` Jean Louis [this message]
2020-10-22  0:04       ` crdt.el: proposal that server enforces the mode Qiantan Hong
2020-10-22  0:12         ` crdt.el: proposal that server enforces the mode\ Jean Louis
2020-10-22  0:16           ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=X5DKO9QlWT1/2D9f@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.
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).