From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: duke Newsgroups: gmane.emacs.help Subject: Passing current buffer to compile command Date: Sun, 16 Jan 2011 11:12:15 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1295209098 6583 80.91.229.12 (16 Jan 2011 20:18:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 Jan 2011 20:18:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 16 21:18:14 2011 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.69) (envelope-from ) id 1PeZ3D-0008MY-Ap for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Jan 2011 21:18:11 +0100 Original-Received: from localhost ([127.0.0.1]:43572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeZ3C-0002Mg-NL for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Jan 2011 15:18:10 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!q35g2000vbb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 5 Original-NNTP-Posting-Host: 75.154.79.220 Original-X-Trace: posting.google.com 1295205135 29025 127.0.0.1 (16 Jan 2011 19:12:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 16 Jan 2011 19:12:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q35g2000vbb.googlegroups.com; posting-host=75.154.79.220; posting-account=KgDXmwoAAAC0yXS4JIhvW9CYf-pfPgw- User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101206 SeaMonkey/2.0.11,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:184311 X-Mailman-Approved-At: Sun, 16 Jan 2011 15:17:33 -0500 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:78485 Archived-At: How do I do that? I'm not using make, but another compiler. So I need to pass a filename. Instead of inputing the filename, how do I pass the current buffer file name? %f ? -- duke