From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rodrigo Canellas Newsgroups: gmane.emacs.help Subject: compile command Date: Thu, 25 Nov 2004 20:00:31 -0200 Message-ID: <200411252000.31474.r.canellas@terra.com.br> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1101420370 1195 80.91.229.6 (25 Nov 2004 22:06:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Nov 2004 22:06:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 25 23:05:59 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 1CXRkV-00045M-00 for ; Thu, 25 Nov 2004 23:05:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CXRti-0005z4-I3 for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Nov 2004 17:15:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CXRtZ-0005yx-RF for help-gnu-emacs@gnu.org; Thu, 25 Nov 2004 17:15:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CXRtU-0005ye-1U for help-gnu-emacs@gnu.org; Thu, 25 Nov 2004 17:15:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CXRtT-0005yb-US for help-gnu-emacs@gnu.org; Thu, 25 Nov 2004 17:15:16 -0500 Original-Received: from [200.154.55.229] (helo=loncoche.terra.com.br) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CXRjy-00048o-Uq for help-gnu-emacs@gnu.org; Thu, 25 Nov 2004 17:05:27 -0500 Original-Received: from potosi.terra.com.br (potosi.terra.com.br [200.154.55.131]) by loncoche.terra.com.br (Postfix) with ESMTP id 2E137E792D5 for ; Thu, 25 Nov 2004 20:05:25 -0200 (BRST) X-Terra-Karma: -2% X-Terra-Hash: 8e4fd5c8bad7479da9dbc20bb0c57e67 Original-Received: from 160228254.rjo.virtua.com.br (160228254.rjo.virtua.com.br [200.160.228.254]) (authenticated user r.canellas) by potosi.terra.com.br (Postfix) with ESMTP id B013D37006D for ; Thu, 25 Nov 2004 20:05:24 -0200 (BRST) Original-To: help-gnu-emacs@gnu.org User-Agent: KMail/1.6.2 Content-Disposition: inline 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:22324 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22324 Hi, 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)) but I got a syntax error. I also tried (global-set-key [f9] '(compile (make))) but I got this message: Wrong type argument: commandp, (compile (make) Does anyone know how it should be done? Thanks, Rodrigo Canellas