From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: java and M-x compile Date: Fri, 30 Sep 2005 13:48:11 +0200 Message-ID: <433D25FB.60207@student.lu.se> References: <16586b516572c9.16572c916586b5@net.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1128083430 20298 80.91.229.2 (30 Sep 2005 12:30:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Sep 2005 12:30:30 +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 Sep 30 14:30:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ELK12-0006qk-1c for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Sep 2005 14:29:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ELK11-0006Fi-1k for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Sep 2005 08:29:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ELJOr-0004MS-M3 for help-gnu-emacs@gnu.org; Fri, 30 Sep 2005 07:50:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ELJOn-0004KH-1p for help-gnu-emacs@gnu.org; Fri, 30 Sep 2005 07:50:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ELJOm-0004IR-9x for help-gnu-emacs@gnu.org; Fri, 30 Sep 2005 07:49:56 -0400 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ELJN7-0003Z9-7W for help-gnu-emacs@gnu.org; Fri, 30 Sep 2005 07:48:13 -0400 Original-Received: from [192.168.123.121] (83.249.200.73) by pne-smtpout1-sn2.hy.skanova.net (7.2.060.1) id 4332AC78001D8546; Fri, 30 Sep 2005 13:48:11 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: Peter Dyballa In-Reply-To: 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:29826 Archived-At: Peter Dyballa wrote: > > Am 30.09.2005 um 11:37 schrieb LENNART BORGMAN: > >> but could make -k work by default, or does it need a makefile? > > > make needs a makefile. Thanks Pete, that seems reasonable. I do not know make very well so I wondered if there were some builtin defaults. This little excerpt from Info (emacs) Compilation made me think that: "For the first `M-x compile', the default is `make -k', which is correct most of the time for nontrivial programs. (*Note Make: (make)Top.) " What does it mean then? Of course if there is a Makefile then "make -k" is correct for most nontrivial programs. At least I hope so ;-) Then for trivial programs I obviously should try something else. Even though it is not true it feels like I have to know more to do simple things... I think I will test something like smart-compile.el or mode-compile.el then. Have anyone tried to compare them?