Mike,
 
Thanks in advance.
 
First of all, I have installed the latest version of Emacs (emacs-23.1-modified-5.exe, from http://vgoulet.act.ulaval.ca).
 
Part A:
 
When I use 
 
C-h m
 
A set of commands appears.
 
If I use C-x c, Emacs responds C-x c is undefined.
 
Is there any way, I can define it?
 
Part B:
 
If I prepare a Makefile, what's the command I can use in Emacs to submit the job. 
 
I use R with Emacs. I can see the R buffer. Is there any way, I can see the buffer for GNU GCC?
 
Once again, thank you very much for the time you have given.
 
Regards,
 
Deb

>>> Michael Hannon <jm_hannon@yahoo.com> 12/05/2010 10:18 am >>>
> I am currently using GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) [installed
> from http://vgoulet.act.ulaval.ca ( http://vgoulet.act.ulaval.ca/ )] on
> Windows XP.

> I need your assistance to compile and run C code using Emacs.

You might start by editing a C-language file, then typing:

    C-h m

(Control-h, followed by the letter 'm') to see what commands are defined
expressly for the C mode in Emacs.

A lot of the so-called "electric" commands will just do the right thing
(matching braces as required, etc.).  The output of "C-h m" includes:

    C-x c        compile

which is undoubtedly a command you'll use a lot.  In conjunction with that,
it's convenient to have a file:

    Makefile

in your source directory, as Emacs will attempt to use that by default to
build your program.  (Do a web search for "gnu make", for instance, if you
need help with the Makefile.)

You may wish to consult also:

    http://lists.gnu.org/mailman/listinfo/help-gnu-emacs 

Good luck,

-- Mike


      
*************************************************************************************

This email message, including any attached files, is confidential and
intended solely for the use of the individual or entity to whom it is
addressed. 

The Department of Services, Technology and Administration prohibits the 
right to publish, copy, distribute or disclose any information contained in
this email, or its attachments, by any party other than the intended 
recipient. If you have received this email in error please notify the sender 
and delete it from your system.

No employee or agent is authorised to conclude any binding agreement 
on behalf of the Department of Services, Technology and Administration 
by email. The views or opinions presented in this email are solely those of
the author and do not necessarily represent those of the Department, 
except where the sender expressly, and with authority, states them to be 
the views of the Department of Services, Technology and Administration.

The Department of Services, Technology and Administration accepts no 
liability for any loss or damage arising from the use of this email and 
recommends that the recipient check this email and any attached files for 
the presence of viruses.

*************************************************************************************

	[[alternative HTML version deleted]]

