unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: build-and-save-all
Date: Thu, 02 Dec 2004 10:58:27 -0700	[thread overview]
Message-ID: <3193e6F38p1g3U1@individual.net> (raw)
In-Reply-To: <mailman.2277.1101765159.27204.help-gnu-emacs@gnu.org>

Rodrigo Canellas wrote:
> 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.

Right.  So how do you know where the Makefile is, and what it is called?
Once that's established, it should be simple to implement in Emacs Lisp.

-- 
Kevin Rodgers

  parent reply	other threads:[~2004-12-02 17:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2277.1101765159.27204.help-gnu-emacs@gnu.org>
2004-11-30  5:14 ` build-and-save-all Arturs Jurnieks
2004-12-02 17:58 ` Kevin Rodgers [this message]
2004-12-02 20:20   ` build-and-save-all Rodrigo Canellas
     [not found]   ` <mailman.3165.1102019905.27204.help-gnu-emacs@gnu.org>
2004-12-02 22:00     ` build-and-save-all Kevin Rodgers
2004-12-02 22:09       ` build-and-save-all Kevin Rodgers
2004-12-03 22:43         ` build-and-save-all Rodrigo Canellas
2004-11-29 21:36 build-and-save-all Rodrigo Canellas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3193e6F38p1g3U1@individual.net \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).