From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Apologia for bzr Date: Mon, 6 Jan 2014 11:27:19 +0700 Message-ID: References: <20140103152117.GA16679@c3po> <20140104082857.GA22010@thyrsus.com> <20140105205645.GA12781@thyrsus.com> <8738l2gcot.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388982443 25295 80.91.229.3 (6 Jan 2014 04:27:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jan 2014 04:27:23 +0000 (UTC) Cc: Emacs developers To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 06 05:27:28 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W01mh-0004U1-Ua for ged-emacs-devel@m.gmane.org; Mon, 06 Jan 2014 05:27:28 +0100 Original-Received: from localhost ([::1]:60617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W01mh-0005Ea-EW for ged-emacs-devel@m.gmane.org; Sun, 05 Jan 2014 23:27:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W01mc-0005AM-T5 for emacs-devel@gnu.org; Sun, 05 Jan 2014 23:27:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W01mb-0004kz-Ot for emacs-devel@gnu.org; Sun, 05 Jan 2014 23:27:22 -0500 Original-Received: from mail-qc0-x236.google.com ([2607:f8b0:400d:c01::236]:49896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W01ma-0004jz-3R; Sun, 05 Jan 2014 23:27:20 -0500 Original-Received: by mail-qc0-f182.google.com with SMTP id e16so17194135qcx.27 for ; Sun, 05 Jan 2014 20:27:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=EsZAvzvbdQ6ARjOkS7rEzrZixKOv6iYPD5YIgmixHN4=; b=EJTbfrWajr7RvfLg28YTN7D7XpQnbDXzl4EEVfK/A032YEhv5djgGCMQHllo7tjgZj 2uBOnBGbLIU/MGjaBD65XccTsj1m78+CmdDI7gSNIaPxZjl7+rE6e854ble5/GmaKka1 qORsUF7M+dbitOCncFpwM8xog8EZ2ClT84pPqHArQkD73nQJa930Rvj9EGbYhNsoVCJK cADPYw2vDTT8VczAAsYZl4eff278apWaP5FUiJO+vhb/s5yor/8r4l6bmMyYG4hs1kFI Erd/xVqASkzYHhF2MrIPw1BBzPAEOZNyzN7KNkkbnj1yDn1mgR89kY3eKd3ZuVXfZ9hN 9Evw== X-Received: by 10.49.12.43 with SMTP id v11mr180126162qeb.50.1388982439586; Sun, 05 Jan 2014 20:27:19 -0800 (PST) Original-Received: by 10.96.14.74 with HTTP; Sun, 5 Jan 2014 20:27:19 -0800 (PST) In-Reply-To: <8738l2gcot.fsf@fencepost.gnu.org> X-Google-Sender-Auth: PD9ccbrpIT06cpVf18RthYjUYwM X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:167442 Archived-At: On Mon, Jan 6, 2014 at 7:45 AM, David Kastrup wrote: > James Cloos writes: >> >> Emacs in a terminal emulator is often superior to gui-emacs with the X >> protocol tunneled over ssh. > > Why would you do that? > > It's so much easier and faster to just [use TRAMP] Because workflow. You ssh into a remote server, perhaps with a need to investigate a problem. You see the process list; a critical service process is dead. You read some logs (probably with tail and/or less); they are not detailed enough. You try to restart the service, but it still dies soon and logs are still not detailed enough for you to understand what is happening. At this point, the natural next thing is to say =E2=80=9Ceditor /etc/foo/bar.conf=E2=80=9D to raise the logging level a bit. But this fires= up the default editor at the remote server, not a TRAMP editing session on your local Emacs. Or you have to switch to a different application (from terminal emulator to Emacs), and then press C-x C-f, and then type out that whole remote path, and possibly enter your password again. Maybe you have a solution to this issue? What incantation on the remote server do I need to invoke in order to edit a remote file, specified by its remote path (absolute or relative to the remote current directory), in a local Emacs via TRAMP? What non-default setup will be needed on the remote and/or local? (E.g. run Emacs server on local/tcp and tunnel the server port to the remote, then use remote emacsclient? Will it be secure against concurrent other users of the same remote?)