From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: M-x compile problem under tramp Date: Tue, 13 May 2008 23:24:28 +0200 Message-ID: <87mymt99tf.fsf@gmx.de> References: <07284b91-5cda-4609-8580-fc1be9629bf3@u6g2000prc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210713905 21363 80.91.229.12 (13 May 2008 21:25:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 May 2008 21:25:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 13 23:25:41 2008 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 1Jw209-0003Qh-RV for geh-help-gnu-emacs@m.gmane.org; Tue, 13 May 2008 23:25:37 +0200 Original-Received: from localhost ([127.0.0.1]:45729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jw1zQ-00076t-M8 for geh-help-gnu-emacs@m.gmane.org; Tue, 13 May 2008 17:24:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jw1z9-00076c-M6 for help-gnu-emacs@gnu.org; Tue, 13 May 2008 17:24:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jw1z6-00076A-5d for help-gnu-emacs@gnu.org; Tue, 13 May 2008 17:24:35 -0400 Original-Received: from [199.232.76.173] (port=57559 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jw1z6-000767-2K for help-gnu-emacs@gnu.org; Tue, 13 May 2008 17:24:32 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:49340) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Jw1z5-00044C-PE for help-gnu-emacs@gnu.org; Tue, 13 May 2008 17:24:32 -0400 Original-Received: (qmail invoked by alias); 13 May 2008 21:24:29 -0000 Original-Received: from p57A22FA9.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.47.169] by mail.gmx.net (mp037) with SMTP; 13 May 2008 23:24:29 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19BQ5YRELBBe7QVHJVjw5wGcagCHdP1X/9zbqD9yC Lk0psWu9fKud+k In-Reply-To: <07284b91-5cda-4609-8580-fc1be9629bf3@u6g2000prc.googlegroups.com> (sunway's message of "Tue, 13 May 2008 06:43:08 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:53974 Archived-At: sunway writes: > how ever, when using M-x compile under tramp, the command will always > return "..finished.." instead of "exited abnormally" when there is > compilation error. so the Compilation buffer will always be closed. > how to fix the problem? You might try something like this: (setq compile-command "make -k || echo Compilation exited abnormally with code $?") Best regards, Michael.