Path: utzoo!utgpu!watmath!uunet!mcvax!sunic!kth!draken!tut!pk
From: pk@tut.fi (Kellom{ki Pertti)
Newsgroups: gnu.emacs
Subject: Re: M-x compile!
Message-ID: 
Date: 18 Aug 89 06:05:16 GMT
References: <120@qt.cs.utexas.edu>
Sender: News@tut.fi
Organization: Tampere Univ. of Technology, Finland.
Lines: 27
In-reply-to: arunk@cs.utexas.edu's message of 17 Aug 89 18:18:34 GMT


On 17 Aug 89 18:18:34 GMT,arunk@cs.utexas.edu (Arun Kandappan) said:
Arun> 	When I try to use the M-x compile command emacs looks for
Arun> a Makefile in the home directory. If it is there it executes make for
Arun> that makefile. It does not make the Makefile in the current directory.
Arun> According to the emacs manual it is supposed to change to the
Arun> directory from wchih emacs was invoked and then do a make.

Emacs does `make' in the working directory of the current buffer (from
the buffer local variable default-directory). Thus, one may end up
doing `make' for example saying `M-x compile' when the cursor is in
*scratch* buffer or something like that.

Arun> I have a copy of the output in the compilation buffer.

Arun> cd /v/mohawk/v0/arunk/research/allocation/results/
Arun> make -k
Arun> make: no goal target.  Stop.

Arun> Compilation finished at Thu Aug 17 13:14:37

This looks like the right thing, assuming that your current directory
is /v/.../allocation/results.
--
Pertti Kellom\"aki (TeX format)  # Software will be a science when programmers
  Tampere Univ. of Technology    #    stand on each other's shoulders instead
      Software Systems Lab       #            of each other's toes