From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Zimmerman Newsgroups: gmane.emacs.help Subject: Re: Calling `compile` command on a remote host Date: 08 Sep 2005 21:35:48 -0400 Message-ID: <87slwfggzv.fsf@buug.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1126230255 18416 80.91.229.2 (9 Sep 2005 01:44:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Sep 2005 01:44:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 09 03:44:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EDXv6-0003Mr-Gm for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Sep 2005 03:43:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EDXv6-0001yt-1A for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Sep 2005 21:43:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EDXuD-0001e6-WF for help-gnu-emacs@gnu.org; Thu, 08 Sep 2005 21:42:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EDXuC-0001dC-4N for help-gnu-emacs@gnu.org; Thu, 08 Sep 2005 21:42:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EDXuB-0001d5-3x for help-gnu-emacs@gnu.org; Thu, 08 Sep 2005 21:42:15 -0400 Original-Received: from [198.144.194.12] (helo=disorder.primate.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EDXy7-0006pl-2g for help-gnu-emacs@gnu.org; Thu, 08 Sep 2005 21:46:19 -0400 Original-Received: from disorder.primate.net (localhost [127.0.0.1]) by disorder.primate.net (8.13.4/8.13.4/Debian-4) with ESMTP id j891ZvU4027754 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Sep 2005 18:35:57 -0700 Original-Received: from localhost (localhost [[UNIX: localhost]]) by disorder.primate.net (8.13.4/8.13.4/Submit) id j891ZskK027751 for help-gnu-emacs@gnu.org; Thu, 8 Sep 2005 18:35:54 -0700 X-Authentication-Warning: disorder.primate.net: itz set sender to itz@buug.org using -f Original-Received: from itz by unicorn with local (Exim 3.36 #1 (Debian)) id 1EDXnw-00017a-00; Thu, 08 Sep 2005 21:35:48 -0400 Original-To: help-gnu-emacs@gnu.org X-Unicorn-Archive: yes In-Reply-To: Original-Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (disorder.primate.net [127.0.0.1]); Thu, 08 Sep 2005 18:35:57 -0700 (PDT) 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:29345 Archived-At: Anakreon> I use tramp to edit files on a remote host from within emacs. Anakreon> This works fine but I'd prefer to call the [Alt+x compile] Anakreon> command on those files. Now I use ssh to call 'make' on the Anakreon> remote host which has the disadvantage that the errors found Anakreon> during compilation are reported on the console. Anakreon> Is there a way to convince the compile command to call 'make' Anakreon> on the remote host via ssh? I don't understand. Why not just invoke the M-x compile and override the default command? The output from ssh (which is actually the output from the remote make) should be trapped in the *compilation* buffer just as if you chose any other command. Or not? -- Optimist: We're only two weeks behind schedule. Pessimist: The schedule is a whole two weeks ahead of us.