all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: "James K. Lowden" <jklowden@speakeasy.net>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: A femtolisp based emacs clone
Date: Wed, 24 Aug 2016 10:35:15 +0600	[thread overview]
Message-ID: <CAP_d_8UnMBO5xe0dkCi-3Pvx5M+9uJEgOUpnyoLZ1VLr+w+VtQ@mail.gmail.com> (raw)
In-Reply-To: <20160823235249.b49733686b125af962883642@speakeasy.net>

On Wed, Aug 24, 2016 at 10:52 AM, James K. Lowden
<jklowden@speakeasy.net> 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’d have to deal with the issue of
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.



  reply	other threads:[~2016-08-24  4:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-21 20:15 A femtolisp based emacs clone edu500ac
2016-08-22  4:17 ` Gene
2016-08-22  5:22 ` Rusi
2016-08-22 21:32   ` edu500ac
2016-08-23  1:23     ` Thien-Thi Nguyen
2016-08-24  3:52     ` James K. Lowden
2016-08-24  4:35       ` Yuri Khan [this message]
2016-08-24 21:38       ` edu500ac
2016-08-25 12:28       ` Stefan Monnier
2016-08-26  8:28         ` Michael Albinus
2016-08-26 13:08           ` Stefan Monnier
2016-08-25 21:22       ` Ben Bacarisse

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=CAP_d_8UnMBO5xe0dkCi-3Pvx5M+9uJEgOUpnyoLZ1VLr+w+VtQ@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=jklowden@speakeasy.net \
    /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.