From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jiun-jie Huang Newsgroups: gmane.emacs.help Subject: Re: Open file. Date: Fri, 27 Feb 2004 14:53:19 +0800 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <403320E6.1030009@yahoo.com> <87ekssh7n9.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1077865107 8110 80.91.224.253 (27 Feb 2004 06:58:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2004 06:58:27 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 27 07:58:17 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Awbwu-0003uv-00 for ; Fri, 27 Feb 2004 07:58:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Awbug-0005Gg-0Y for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2004 01:55:58 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AwbuD-0005EF-Vc for help-gnu-emacs@gnu.org; Fri, 27 Feb 2004 01:55:29 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AwbtX-0004j1-Tn for help-gnu-emacs@gnu.org; Fri, 27 Feb 2004 01:55:19 -0500 Original-Received: from [140.113.144.250] (helo=cmbsd.cm.nctu.edu.tw) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1AwbsT-0004CV-Tw for help-gnu-emacs@gnu.org; Fri, 27 Feb 2004 01:53:42 -0500 Original-Received: from alpha28.cs.nthu.edu.tw.cm.nthu.edu.tw (cmbsd.cm.nctu.edu.tw [140.113.144.250]) by cmbsd.cm.nctu.edu.tw (8.12.6/8.12.10) with ESMTP id i1R6qp8T026705; Fri, 27 Feb 2004 14:52:51 +0800 (CST) (envelope-from jjhuang@cm.nctu.edu.tw) Original-To: Kai Grossjohann Gcc: nnml+nthu-cs:sent-articles In-Reply-To: <87ekssh7n9.fsf@emptyhost.emptydomain.de> (Kai Grossjohann's message of "Wed, 18 Feb 2004 13:52:26 +0100") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-MIME-Autoconverted: from 8bit to quoted-printable by cmbsd.cm.nctu.edu.tw id i1R6qp8T026705 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17256 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17256 Kai Grossjohann writes: > Emacs comes with Ange-FTP, which allows you to use FTP for this. Just > type C-x C-f /user@host:/some/file RET. > > There is also Tramp which is similar to Ange-FTP but uses a shell > connection obtained via ssh, rsh, telnet, or su. Tramp can also use > smbclient. Warning: I started the whole thing. > > Kai Yes, Tramp is a wonderful tool. I use it to edit source code on remote host, can I use it with compile and gdb? Well, maybe I'm too greedy, okay, compile is enough. When I use M-x compile with Tramp-opened file, Emacs will cd /ssh:user@host:/some/dir, then make, but the directory was wrong. Is it possible to automatically make on remote machine with issuing a new ssh make command?=20 J.J. --=20 Jiun-jie Huang, aka Albert E-mail: jjhuang AT cm.nctu.edu.tw =B6=C0=ABT=B3=C7 =20 Department of Computer Science =20 National Tsing Hua University MIME/ASCII/PDF/PostScript are welcome! HsinChu, Taiwan NO MS WORD DOC FILE, PLEASE!