From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Qiantan Hong Newsgroups: gmane.emacs.devel Subject: Re: Question collaborative editing - Wikipedia reference Date: Mon, 12 Oct 2020 03:22:55 +0000 Message-ID: <38DBEF04-B639-4744-B285-20C59E34C6BF@mit.edu> References: <83eemji6e8.fsf@gnu.org> <20201001141144.GO4797@protected.rcdrun.com> <20201001160136.chwmpollk4d3qc2e@Ergus> <20201004175447.GG15516@protected.rcdrun.com> <87362tvnil.fsf@gmail.com> <20201004194815.GH15516@protected.rcdrun.com> <11EB917D-3276-4D34-8DCD-2336E8062950@mit.edu> <20201005040245.GJ15516@protected.rcdrun.com> <20201005084441.GB4453@protected.rcdrun.com> <87zh50lhda.fsf@red-bean.com> <87pn5vgqsk.fsf@red-bean.com> <79924DB1-2613-4AF6-982C-39157CF3ED9B@mit.edu> <8C2D2AED-0AA8-48AC-ADB2-826177141F2F@gmail.com> <40B06E9F-A6D6-4F9B-8E2B-7DC55D16D0F7@mit.edu> <18458910-E6A1-4867-9936-FFA50E3E72D1@gmail.com> <4AB5904E-A646-4A17-B78C-B4E0271E28B4@mit.edu> <87imbjx0bm.fsf@tanaka.verona.se> <80512E57-D3BA-4F02-A835-DEE434278736@mit.edu> <83blh84o8w.fsf@gnu.org> <83a6ws4mns.fsf@gnu.org> <4C6C49B0-68A8-402C-9BC0-1FB11BD8A9F3@mit.edu> <838scc41sw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Apple-Mail=_0438C215-C5BB-47D0-B6F1-8F7C16060A5A"; protocol="application/pkcs7-signature"; micalg=sha-256 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16522"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu , Fermin , Jean Louis , Caio Henrique , Ergus , "joakim@verona.se" , Noam Postavsky , Karl Fogel , Stefan Monnier , Joe Corneli , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 12 05:24:13 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kRoRZ-0004DH-BN for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Oct 2020 05:24:13 +0200 Original-Received: from localhost ([::1]:32842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRoRY-0007YC-EN for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Oct 2020 23:24:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRoQU-0006vm-Mc for emacs-devel@gnu.org; Sun, 11 Oct 2020 23:23:06 -0400 Original-Received: from outgoing-exchange-3.mit.edu ([18.9.28.13]:45992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRoQR-00061f-9V; Sun, 11 Oct 2020 23:23:06 -0400 Original-Received: from oc11exedge1.exchange.mit.edu (OC11EXEDGE1.EXCHANGE.MIT.EDU [18.9.3.17]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 09C3Muuh017277; Sun, 11 Oct 2020 23:22:56 -0400 Original-Received: from w92expo16.exchange.mit.edu (18.7.74.70) by oc11exedge1.exchange.mit.edu (18.9.3.17) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Sun, 11 Oct 2020 23:22:56 -0400 Original-Received: from oc11expo16.exchange.mit.edu (18.9.4.47) by w92expo16.exchange.mit.edu (18.7.74.70) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Sun, 11 Oct 2020 23:22:56 -0400 Original-Received: from oc11expo16.exchange.mit.edu ([18.9.4.47]) by oc11expo16.exchange.mit.edu ([18.9.4.47]) with mapi id 15.00.1365.000; Sun, 11 Oct 2020 23:22:56 -0400 Thread-Topic: Question collaborative editing - Wikipedia reference Thread-Index: AQHWnhdR4LjU6k9HIUyZcJcFcadSFqmPiGSAgANsSQD//8X424AAREiA///FQeKAAFRAAIAAKaXSgABSv4A= In-Reply-To: <838scc41sw.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [18.18.245.17] Received-SPF: pass client-ip=18.9.28.13; envelope-from=qhong@mit.edu; helo=outgoing-exchange-3.mit.edu X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/11 23:23:00 X-ACL-Warn: Detected OS = Windows 7 (Websense crawler) 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, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:257438 Archived-At: --Apple-Mail=_0438C215-C5BB-47D0-B6F1-8F7C16060A5A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 E.g. when two users are editing the same org document, in some cases they may want two replica to fold the same sections. =E2=80=94 I always find myself wanting this feature to make sure both are focusing on the same parts of the document, and at least seeing the same thing. > On Oct 11, 2020, at 10:26 PM, Eli Zaretskii wrote: >=20 >> From: Qiantan Hong >> CC: Joe Corneli , >> "joakim@verona.se" >> , Yuan Fu , >> Fermin , Jean Louis , >> Caio Henrique , Ergus >> , >> Noam Postavsky , Karl Fogel >> , >> Stefan Monnier , >> emacs-devel >> >> Date: Sun, 11 Oct 2020 19:57:43 +0000 >>=20 >> (Part of) it can be done there if we=E2=80=99ve decided on =E2=80=9Chow= to filter=E2=80=9D. >> In the current way doing so is not required. But the question is >> =E2=80=9Chow to filter=E2=80=9D. >>=20 >> Let the user providing an arbitrary predicate (overlay->bool) seems = to be >> the most canonical, but it=E2=80=99s not. How to compose multiple = predicates >> provided by user? Or we can just let user do it and accept only one = predicate. >> But even so, apparently one piece of information missing is where the >> overlay comes from. Lots of command don=E2=80=99t assign any = =E2=80=98category >> to the overlay their created and it=E2=80=99s hard to tell what the = overlay is for >> just by looking at the overlay object. In fact, currently I don=E2=80=99= t use >> any user provided predicate and filter solely based on what command >> creates the overlay (by advising it to add a =E2=80=98crdt-meta = property) and it >> works well for org-mode folding, but I=E2=80=99m not sure if that = works in other >> scenarios. >=20 > Let me turn the table and ask why did you think there's a need to send > information about overlays and text properties over the wire? What > were the use cases where you thought this would be necessary? --Apple-Mail=_0438C215-C5BB-47D0-B6F1-8F7C16060A5A Content-Disposition: attachment; filename="smime.p7s" Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCA70w ggO5MIIDIqADAgECAhAaql39NsO1qLVjkS2hl517MA0GCSqGSIb3DQEBCwUAMGwxCzAJBgNVBAYT AlVTMRYwFAYDVQQIEw1NYXNzYWNodXNldHRzMS4wLAYDVQQKEyVNYXNzYWNodXNldHRzIEluc3Rp dHV0ZSBvZiBUZWNobm9sb2d5MRUwEwYDVQQLEwxDbGllbnQgQ0EgdjEwHhcNMjAwODAzMDEyNDIz WhcNMjEwODAxMDEyNDIzWjCBoTELMAkGA1UEBhMCVVMxFjAU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