From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: A femtolisp based emacs clone Date: Wed, 24 Aug 2016 10:35:15 +0600 Message-ID: References: <6ea295ed-010d-476d-b832-9e850a98a609@googlegroups.com> <20160823235249.b49733686b125af962883642@speakeasy.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1472054316 5768 195.159.176.226 (24 Aug 2016 15:58:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 Aug 2016 15:58:36 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: "James K. Lowden" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 24 17:58:32 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcaZR-0000uZ-Ih for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Aug 2016 17:58:29 +0200 Original-Received: from localhost ([::1]:52033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcaZO-00035Z-WA for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Aug 2016 11:58:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcPvg-0001Tq-EU for help-gnu-emacs@gnu.org; Wed, 24 Aug 2016 00:36:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcPvb-0000cT-EA for help-gnu-emacs@gnu.org; Wed, 24 Aug 2016 00:36:44 -0400 Original-Received: from mail-lf0-f65.google.com ([209.85.215.65]:34020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcPvb-0000bt-5d for help-gnu-emacs@gnu.org; Wed, 24 Aug 2016 00:36:39 -0400 Original-Received: by mail-lf0-f65.google.com with SMTP id k135so232758lfb.1 for ; Tue, 23 Aug 2016 21:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=MtMMGhenmtidLJsA+irAP6n0fPKNLv1iraVj7FGC09A=; b=ES1KgnlOJOMlr2hQfgjOSRIzQ9OLwh0KNfZN7wA3AfuP7jAoAKFjB4BHyk1bPpVtDl fIVtHHJMQJh9stnwo0B9ZUrPzM6XN/ehvhTPW70FoJZM+Mk3CxDRnLFAVaEyqz1engBh DXy1I3lX+LQwcY3gYACGuIVRgEjoQ2byMp3t8ql2nG3UCBPGXms8UVXcmY0KdKIs0N7z P6af75J4ALhlG26gwtc6RWD7bobSNeaDZvWsfl2uacf89MSUlKKBgkb0UYDtWImi7DwA B8zzGjAEC9ywPIgRyC0s2BMNEHTtnbY352Y1E3eqV+pvNptpV6ztkgruerAiUXSDKcQE MJLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=MtMMGhenmtidLJsA+irAP6n0fPKNLv1iraVj7FGC09A=; b=VGGtUKpl8Gu7Hn2lRETLTmkKzhqgsubARhuzKTFC00LJRidI86I3m8k537s/X4WBR/ bKv2YCeLQVEcEwPu0aQtDec5cp4cC8qZFdHBCebOgiIF9JJeHxcAAA2Xsud/5vEs8lJI Sj2SstEgG6yBhjlXmlzeRyOlO0jUn59F4ECghbI9ZeJ3mSIf8sk1Zc4nMFQnXnowt7wC y0/q2SQ5NZBJd7f63jsBFkeHiRyNM9S91NSEOqCiV02CZpBbDUOI6icDyuDYtooxLKwn nLNkXAF769eq+dbv+oc1hA50m8YJppA5UWjQfstljDexidIaHBEBpltkQs1tEY7VXvVR tWqw== X-Gm-Message-State: AEkoouv6/OD3e/AK/juJwCpWcv8wugLKK3QrqWqqOBDX0bTZdH5sJ7apajRt6SRUyiV64tU0DkrgV0SGBAlw3Q== X-Received: by 10.46.9.76 with SMTP id 73mr218877ljj.61.1472013336560; Tue, 23 Aug 2016 21:35:36 -0700 (PDT) Original-Received: by 10.114.80.163 with HTTP; Tue, 23 Aug 2016 21:35:15 -0700 (PDT) In-Reply-To: <20160823235249.b49733686b125af962883642@speakeasy.net> X-Google-Sender-Auth: NY7SMYqwMtwLe2eZH9lyJpIyQ5o X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.65 X-Mailman-Approved-At: Wed, 24 Aug 2016 11:52:20 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111190 Archived-At: On Wed, Aug 24, 2016 at 10:52 AM, James K. Lowden wrote: > Imagine if "emacs --daemon" opened a TCP port instead of a unix domain > socket. You start emacsclient on whatever gadget you have. Maybe > it's a Windows box; maybe it's an iPad. Maybe there's a javascript > implementation, and it runs in the browser. You connect to your > editor daemon, deal with your document. Save, exit, disconnect. This is an interesting idea but you=E2=80=99d have to deal with the issue o= f drawing the line: what runs on server and what runs on client. The one extreme we have now with Tramp is that the server only knows enough to read and write files, and the client does all the editing. This requires the client to transfer the file back and forth, and it is clunky if you already work on the server via ssh and need to edit a file. (You have to switch context and direct your local Emacs to visit a specially-formatted filename.) The other extreme is that the client only does low-level display and input, and all the editing and rendering happens server-side. This is available with X forwarding. However this requires all customizations to also reside on the server, which is unrealistic. The sweet spot would keep the editor state and basic editing functions on the server and run display, input and customizations on the client.