From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.tangents Subject: crdt.el: proposal that server enforces the mode Date: Thu, 22 Oct 2020 02:54:35 +0300 Message-ID: References: <20201018092201.GG9782@protected.rcdrun.com> <2F36D10F-A179-445D-9417-65194F1CF2F1@mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19246"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ (1036f0e) (2020-10-18) Cc: emacs-tangents@gnu.org To: Qiantan Hong Original-X-From: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Thu Oct 22 01:55:42 2020 Return-path: Envelope-to: get-emacs-tangents@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVNxG-0004qt-D9 for get-emacs-tangents@m.gmane-mx.org; Thu, 22 Oct 2020 01:55:42 +0200 Original-Received: from localhost ([::1]:34412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVNxC-0006Ue-6Q for get-emacs-tangents@m.gmane-mx.org; Wed, 21 Oct 2020 19:55:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVNwS-0006UW-NJ for emacs-tangents@gnu.org; Wed, 21 Oct 2020 19:54:52 -0400 Original-Received: from static.rcdrun.com ([95.85.24.50]:58519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVNwQ-0002uT-VC for emacs-tangents@gnu.org; Wed, 21 Oct 2020 19:54:52 -0400 Original-Received: from localhost ([::ffff:41.202.241.51]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002A0B3E.000000005F90CA48.0000762F; Wed, 21 Oct 2020 23:54:48 +0000 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=95.85.24.50; envelope-from=bugs@gnu.support; helo=static.rcdrun.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/21 17:52:21 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-tangents@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-tangents" Xref: news.gmane.io gmane.emacs.tangents:417 Archived-At: 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.