From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Back to emacsclient/server Date: Tue, 24 Oct 2006 14:17:14 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161713875 11956 80.91.229.2 (24 Oct 2006 18:17:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Oct 2006 18:17:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 24 20:17:54 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GcQqP-0004pj-OV for ged-emacs-devel@m.gmane.org; Tue, 24 Oct 2006 20:17:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GcQqP-00052W-2i for ged-emacs-devel@m.gmane.org; Tue, 24 Oct 2006 14:17:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GcQqA-00051P-M5 for emacs-devel@gnu.org; Tue, 24 Oct 2006 14:17:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GcQq7-00050D-Vw for emacs-devel@gnu.org; Tue, 24 Oct 2006 14:17:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GcQq7-00050A-PY for emacs-devel@gnu.org; Tue, 24 Oct 2006 14:17:27 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GcQq7-0006eK-IA for emacs-devel@gnu.org; Tue, 24 Oct 2006 14:17:27 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 27B7B2CF0DB; Tue, 24 Oct 2006 14:17:27 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id B28E03FE0; Tue, 24 Oct 2006 14:17:14 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id A33F46CAC0; Tue, 24 Oct 2006 14:17:14 -0400 (EDT) Original-To: Ted Zlatanov In-Reply-To: (Ted Zlatanov's message of "Tue\, 24 Oct 2006 16\:40\:55 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61117 Archived-At: >>> This may seem like an offbeat suggestion, but I think Emacs could >>> behave like a SSH daemon for emacsclient/server interactions.. >> >> You mean: no change to server.el, and simply change emacsclient such that >> it runs emacsclient on the server host via ssh? >> >> I used to do that with a script and it's trivial to do, indeed. > No, I mean: > 1) on the client side > ssh tzz@hostname:4567 '(function)' > 2) on the Emacs side, running on `hostname' with IP `ip' > ; bind to ip:4567 > (sshd ip 4567) > ; add a user for remote execution, with the following keys > (sshd-add-keys "tzz" "~/.ssh/identity" "~/.ssh/id_dsa") > So emacsclient would be gone, and server.el would be sshd.el or > something similar. What would be the benefit compared to what I suggested (i.e. on the server side just a unix-socket, and on the client side "ssh machine emacsclient ...")? Stefan