From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: Open file. Date: Fri, 27 Feb 2004 10:39:51 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87oerkzwrc.fsf@emptyhost.emptydomain.de> 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=us-ascii X-Trace: sea.gmane.org 1077874915 27531 80.91.224.253 (27 Feb 2004 09:41:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2004 09:41:55 +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 10:41:36 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 1AweUx-0003RL-01 for ; Fri, 27 Feb 2004 10:41:35 +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 1AweU3-00057W-7C for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2004 04:40:39 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AweTd-00056B-6v for help-gnu-emacs@gnu.org; Fri, 27 Feb 2004 04:40:13 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AweT5-0004v9-Sx for help-gnu-emacs@gnu.org; Fri, 27 Feb 2004 04:40:11 -0500 Original-Received: from [213.203.244.156] (helo=mail.emptydomain.de) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AweT5-0004tq-BR for help-gnu-emacs@gnu.org; Fri, 27 Feb 2004 04:39:39 -0500 Original-Received: by mail.emptydomain.de (Postfix, from userid 1000) id 96EE11B802; Fri, 27 Feb 2004 10:39:51 +0100 (CET) Original-To: Jiun-jie Huang In-Reply-To: (Jiun-jie Huang's message of "Fri, 27 Feb 2004 14:53:19 +0800") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) 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:17258 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17258 Jiun-jie Huang writes: > 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? There is no great support for remote compilation, but Tramp comes with a file tramp-util.el which defines a command tramp-compile or similar. It has the problem that you can't see the output as it is arriving; you have to wait for the compilation to finish before you can see the output. But Michael has added functionality to the CVS version of Tramp which supports async shell commands -- not sure if that helps, I haven't looked at it, yet. Kai