From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: xscript@gmx.net (=?utf-8?Q?Llu=C3=ADs?=) Newsgroups: gmane.emacs.devel Subject: Re: Remote TCP server through ssh tunnel Date: Mon, 25 Oct 2010 22:22:10 +0200 Message-ID: <87eibednv1.fsf@ginnungagap.bsc.es> References: <87k4l7mta3.fsf_-_@fulla.xlab.taz> <878w1m5tdw.fsf@ginnungagap.bsc.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288038108 2478 80.91.229.12 (25 Oct 2010 20:21:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2010 20:21:48 +0000 (UTC) Cc: Emacs Developers To: Peter Oliver Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 25 22:21:43 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PATY5-0004UM-RW for ged-emacs-devel@m.gmane.org; Mon, 25 Oct 2010 22:21:42 +0200 Original-Received: from localhost ([127.0.0.1]:60189 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PATY5-0008AW-5B for ged-emacs-devel@m.gmane.org; Mon, 25 Oct 2010 16:21:41 -0400 Original-Received: from [140.186.70.92] (port=54265 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PATY0-00088y-3l for emacs-devel@gnu.org; Mon, 25 Oct 2010 16:21:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PATXz-0007Oa-1G for emacs-devel@gnu.org; Mon, 25 Oct 2010 16:21:36 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:59238 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PATXy-0007OQ-Lh for emacs-devel@gnu.org; Mon, 25 Oct 2010 16:21:34 -0400 Original-Received: (qmail invoked by alias); 25 Oct 2010 20:21:31 -0000 Original-Received: from unknown (EHLO localhost) [84.88.53.92] by mail.gmx.net (mp013) with SMTP; 25 Oct 2010 22:21:31 +0200 X-Authenticated: #12333383 X-Provags-ID: V01U2FsdGVkX1+MTXEJZmmMdZf9Jluk6TWeh5EXD2+BYJ7czwonZ4 rkF8mTf4e08TbM In-Reply-To: (Peter Oliver's message of "Mon, 25 Oct 2010 18:28:27 +0100 (BST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:132111 Archived-At: Peter Oliver writes: > I think you misunderstand. The suggestion here isn't that you should run emacs > over X11. The other person is pointing out that SSH arranges this for you in a > way that confuses emacsclient. Yup, but the net effect is equivalent to going into the server machine and executing a graphical emacs that is transported through X11 back to my client machine (where the X11 server resides :)). That's exactly what I was trying to avoid, and what I was expecting was the split model that Chad and Stefan were describing. In any case, thanks a lot for your answers, at least now I can tell my work mate that this is one of the few things that his shiny new emacs cannot do :) > Anyway, as people have mentioned, I think you should look into Tramp. Well, he told me that tramp was just "too slow" when saving files. I don't know if this can be optimized. > If you re-use your existing SSH connections by adding, e.g., > ControlMaster auto > ControlPath ~/.ssh/mux/%r@%h:%p > to your ~/.ssh/config, this is all perfectly speedy. Which I already do :) Thanks, Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth