Date: Wed, 25 Sep 1996 12:51:06 +0200 (IST) From: Eli Zaretskii To: Martin Smith Cc: djgpp AT delorie DOT com Subject: Re: Emacs + DJGPP In-Reply-To: <843627914@news.compulink.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 25 Sep 1996, Martin Smith wrote: > I can't figure out how to get Emacs to run the DJGPP compiler etc. in a > buffer. It _is_ supposed to be able to isn't it? You do it like so: 1) Load a source file: C-x C-f foo.c RET 2) Invoke the `compile' command: M-x compile RET gcc -c foo.c RET 3) Sit back and watch the fun. 4) When the compilation exits, you can step through the error messages by either (1) right-click your mouse on the message in the *Compilation* buffer (that's where the messages are printed), or (2) by pressing `C-x `' to go forward or `M-- C-x `' to go back. Note: `M-x' means press the `Alt' key and the `x' key, in case you didn't know.