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: compile command Date: Fri, 26 Nov 2004 10:01:07 +0100 Message-ID: <86brdlnfvw.fsf@ketchup.de.uu.net> References: <200411252000.31474.r.canellas@terra.com.br> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101459740 28111 80.91.229.6 (26 Nov 2004 09:02:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Nov 2004 09:02:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 26 10:02:14 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CXbzZ-0003EZ-00 for ; Fri, 26 Nov 2004 10:02:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CXc8o-0006IU-A4 for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Nov 2004 04:11:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CXc8L-0006HP-HE for help-gnu-emacs@gnu.org; Fri, 26 Nov 2004 04:11:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CXc8K-0006GP-Ei for help-gnu-emacs@gnu.org; Fri, 26 Nov 2004 04:11:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CXc8J-0006GE-Vw for help-gnu-emacs@gnu.org; Fri, 26 Nov 2004 04:11:16 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXbyp-0003ua-Pz for help-gnu-emacs@gnu.org; Fri, 26 Nov 2004 04:01:27 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CXbyo-0004fN-00 for ; Fri, 26 Nov 2004 10:01:26 +0100 Original-Received: from ketchup.de.uu.net ([139.4.38.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Nov 2004 10:01:26 +0100 Original-Received: from kai by ketchup.de.uu.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Nov 2004 10:01:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 18 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ketchup.de.uu.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:9scM+UgBuzdn7M9s5Z/1AMnbexQ= 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: main.gmane.org gmane.emacs.help:22340 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22340 Rodrigo Canellas writes: > In my '.emacs' I have this: > > (global-set-key [f9] 'compile) > > But I would like to 'make' the project when I pressed 'f9'. > > I tried > > (global-set-key [f9] '(compile make)) You can set the variable compile-command to "make" and then invoke recompile instead of compile. Does that help? Kai