From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: arturs_jurnieks@yahoo.com (Arturs Jurnieks) Newsgroups: gmane.emacs.help Subject: Re: build-and-save-all Date: 29 Nov 2004 21:14:27 -0800 Organization: http://groups.google.com Message-ID: <51b9052a.0411292114.73e81d19@posting.google.com> References: NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1101791735 29334 80.91.229.6 (30 Nov 2004 05:15:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Nov 2004 05:15:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 30 06:15:31 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 1CZ0ML-0004Zq-00 for ; Tue, 30 Nov 2004 06:15:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZ0Vm-0005nw-IO for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Nov 2004 00:25:14 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: 198.162.45.84 Original-X-Trace: posting.google.com 1101791667 7838 127.0.0.1 (30 Nov 2004 05:14:27 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 30 Nov 2004 05:14:27 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:127035 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 Xref: main.gmane.org gmane.emacs.help:22438 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22438 Rodrigo Canellas wrote in message news:... > Hi, > > > I would like to create a function that would save all the buffers and then > build the project being edited. > > If I got it tight, in order to run 'make' the cursor must be in the buffer of > the 'makefile', or at least in a buffer of a file saved in the same directory > of the 'makefile'. So, before calling 'make', this function must first set > the 'makefile' buffer as the current buffer. > > Does anyone know if something like that already exists? Would someone help me > on that? > > > Thanks a lot, > > Rodrigo Canellas What about using the command "Meta-x compile" in your function to invoke makefile? Just a suggestion... A.