all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: A femtolisp based emacs clone
Date: Thu, 25 Aug 2016 08:28:32 -0400	[thread overview]
Message-ID: <jwva8g1qc2k.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 20160823235249.b49733686b125af962883642@speakeasy.net

> To your point, my biggest disappointment with emacs is its
> client-server model.  We have tramp.  We have remote-X.  For
> high-latency connections, though, I always revert to terminal emuiation.
> For some reason, it's the most responsive.  Hurrah for 1982.  

Indeed.  I think you could get the best of both worlds by using an
approach similar to Tramp but running a little tramp-daemon on the other
end, such that we can use a more efficient communication protocol
(e.g. when saving a file we could locally diff it against the last
version (of which the remote daemon would also keep a copy), and then
only send the diff).

This said, even using such a daemon it might be difficult to get good
performance: part of the problem is the number of round-trips.
E.g. when saving a file we have to check if the file was modified in the
mean time and whether saving into a new inode would change the owner
(etc...), which each require a round-trip.  To get rid of these
round-trips, we'd have to shortcut this code and delegate the
higher-level "save file" operation to the remote server, which then has
to perform those tasks but still obeying the locally set customizations
about how to do each one of those tasks.

> not a new idea: arguably screen, sed, and ed do it.  But there's no
> editor I know designed for unreliable, slow connections, which often as
> not is what the Internet still is .  

IIRC the plan9 editor was designed with such a client/server idea.
How well did it work in such high-latency situations I don't know, tho.


        Stefan




  parent reply	other threads:[~2016-08-25 12:28 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
2016-08-24 21:38       ` edu500ac
2016-08-25 12:28       ` Stefan Monnier [this message]
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=jwva8g1qc2k.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /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.