From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: auto complile the C program in the current buffer Date: Mon, 14 Feb 2005 11:41:46 -0700 Message-ID: <37c9nbF59kk9pU1@individual.net> References: 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 1108407139 28953 80.91.229.2 (14 Feb 2005 18:52:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2005 18:52:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 14 19:52:19 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D0lK7-0001lC-Iu for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Feb 2005 19:51:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0lZi-0004m4-1B for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Feb 2005 14:08:02 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-X-Trace: individual.net HwnPyf1EkIAVclQLk2Ol2ALtwO4fjFLw5/9S4/3VXLArYsTT4= User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:128546 Original-To: help-gnu-emacs@gnu.org 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:24079 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24079 GVK wrote: > I have the following lines for C mode > > (define-key c-mode-map "\C-c\C-c" 'compile) > (setq compile-command "gcc ") > > But when I type C-c C-c, all I get in minibuffer is the line > > gcc > > How can I make C-c C-c compile the C prog in the current buffer? `C-h v compile-command' has that very example. -- Kevin Rodgers