From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Andrew Yates" Newsgroups: gmane.emacs.help Subject: editing remote files with eshell Date: Sat, 3 Mar 2007 14:05:37 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1172961263 2056 80.91.229.12 (3 Mar 2007 22:34:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Mar 2007 22:34:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 03 23:34:15 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HNcns-00048Z-6q for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Mar 2007 23:34:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNcnr-0005gy-NX for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Mar 2007 17:34:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HNZY5-0004oJ-9L for help-gnu-emacs@gnu.org; Sat, 03 Mar 2007 14:05:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HNZY3-0004nN-Au for help-gnu-emacs@gnu.org; Sat, 03 Mar 2007 14:05:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNZY3-0004nK-0U for help-gnu-emacs@gnu.org; Sat, 03 Mar 2007 14:05:39 -0500 Original-Received: from wr-out-0506.google.com ([64.233.184.238]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HNZY2-0005h1-J0 for help-gnu-emacs@gnu.org; Sat, 03 Mar 2007 14:05:38 -0500 Original-Received: by wr-out-0506.google.com with SMTP id i3so804715wra for ; Sat, 03 Mar 2007 11:05:37 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=epoxYJXBXcmTITvQEwt+ebC6VKxzMp0Mj+FQrIEUO/zt5Rseapnkzx9nipOC4XxAHevjdREbiZfEpjFcWEYmsmc/96hx1JBrVOhABCNZw/vaihf6jveSJSJ5sQ3+iusiBk6A873w7oZI4p1VXIhV6piEYA2aAocVtmF5SslGhyo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CRQhHrjJu0VOBzAIXQ2vZT3TEOmTRxGVwCHdSeqsImMGgckgdnJy70cfO2Sg7L16xeJ/OyGE1q3i/LQN3RDP/vvjw0kJeHGRJNd41RQeX20PIW0gx/IQtDUtbqco9EdohRxbCbZu4LdzyhsribdPcXE/aHK/a8v2IabLUVNwoqw= Original-Received: by 10.114.205.1 with SMTP id c1mr704750wag.1172948737466; Sat, 03 Mar 2007 11:05:37 -0800 (PST) Original-Received: by 10.115.109.6 with HTTP; Sat, 3 Mar 2007 11:05:37 -0800 (PST) Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-Mailman-Approved-At: Sat, 03 Mar 2007 17:33:58 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41622 Archived-At: I've been using emacs for a little while and decided yesterday to try to use emacs with eshell as my primary terminal. I have most everything working satisfactorily, but I still haven't found a good way to edit files on remote hosts. I know that TRAMP can edit remote files using SSH, but it isn't as transparent as I would like. Is there any way that when I run "emacs filename" in a SSH session using eshell, the remote file can be opened in a new local buffer? I thought this might be possible to do with an eshell alias and TRAMP, but BASH is run when I connect to a remote host with SSH. Alternatively, is there any way to run eshell on the remote host instead of BASH when I connect via SSH?