delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/09/12:16:14

Date: Thu, 9 Jul 1998 19:13:54 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Mark Bidewell <mbbs AT voicenet DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: GNU and MS-DOS Emacs
In-Reply-To: <SdWo1.474$on1.1737914@news2.voicenet.com>
Message-ID: <Pine.SUN.3.91.980709190502.15312A-100000@is>
MIME-Version: 1.0

On Thu, 9 Jul 1998, Mark Bidewell wrote:

> Does anyone know how to evoke the GNU compiler from GNU emacs??

Press ALt-x, then type "compile" (without the quotes) and press [Enter].

The default compilation command is "make -k", but you can edit it when 
Emacs prompts you for the command (after you press Alt-x).
After you have invoked the compile command once, Emacs will suggest it as 
the default the next time.  `Alt-x recompile' will invoke the last 
compilation command without the prompt.

If the compilation produces error/warning messages, they will be 
displayed at the bottom.  To visit the locus of a particular message, 
click the right mouse button on the message line, and Emacs will load 
the offending file and position you right on the line which triggered 
the message.  Or press Ctrl-x ` (that's the grave accent) to step through 
all the messages in sequence.

Btw, the best way to look for commands whose names you don't know is 
with the `apropos' command (also available from the menu bar).  Press 
`Ctrl-h a', then type a word like "compile" and press [Enter], and Emacs 
will pop a window with a list of all commands pertaining to the "compile" 
and their short descriptions.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019