From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Martin Newsgroups: gmane.emacs.help Subject: Re: remote-compile Date: Mon, 08 Dec 2003 16:22:06 +0000 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3FD4A52E.80504@aepona.com> References: <1070886390.31012.5.camel@comet.aepona.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1070900692 25218 80.91.224.253 (8 Dec 2003 16:24:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2003 16:24:52 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 08 17:24:48 2003 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 1ATOBj-0004q9-00 for ; Mon, 08 Dec 2003 17:24:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ATP89-0001c9-D5 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Dec 2003 12:25:09 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ATP7q-0001bU-CI for help-gnu-emacs@gnu.org; Mon, 08 Dec 2003 12:24:50 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ATP7K-0001TB-Bu for help-gnu-emacs@gnu.org; Mon, 08 Dec 2003 12:24:49 -0500 Original-Received: from [194.46.24.5] (helo=mailhost1.aepona.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ATP7J-0001Kc-VC for help-gnu-emacs@gnu.org; Mon, 08 Dec 2003 12:24:18 -0500 Original-Received: from comet ([10.10.15.11] helo=aepona.com) by mailhost1.aepona.com with esmtp (Exim 4.24) id 1ATO99-0007OV-R9; Mon, 08 Dec 2003 16:22:07 +0000 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030702 X-Accept-Language: en-us, en Original-To: Eli Zaretskii In-Reply-To: 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:15052 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15052 Eli Zaretskii wrote: >>From: Richard Martin >>Organization: AePONA Ltd >>Date: Mon, 08 Dec 2003 12:26:31 +0000 >>Sender: help-gnu-emacs-bounces+eliz=elta.co.il@gnu.org >> >>I have 2 machines one of which I run emacs on and the other I compile >>on. Both machines have mounted dirs on which the code is. Every time I >>kick off a remote-compile and select and error it goes off and retrieves >>the file from the remote machine - even though my local machine can see >>it and it is exactly the same file. Any ideas if it is possible to stop >>emacs from ftping the file and using the local one? >> >> > >The first thing I would try is to use `rsh' to compile on the remote >machine. Then the messages spit by the compiler will mention file >names as if they were local, so next-error will do what you want. > > > >_______________________________________________ >Help-gnu-emacs mailing list >Help-gnu-emacs@gnu.org >http://mail.gnu.org/mailman/listinfo/help-gnu-emacs > > Thanks for your reply. When I execute remote-compile locally the compiler prints out lines which look to be exactly the same as the emacs compile command executed on the remote machine ie something like this "/code/richard/status.c", line 92: Warning: String literal converted to char* in initialization. the /code directory can be seen on both machines. Is this what you meant? Thanks Richard