> First of all, I have installed the latest version of Emacs
> (emacs-23.1-modified-5.exe, from http://vgoulet.act.ulaval.ca).

Hi, Deb.  I'm afraid I don't use Windows for anything other than to surf the
web occasionally, so I probably can't help you much further.  I will say that
it is my understanding that installing Professor Goulet's version of Emacs is
a very good idea.
 
> 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?
 
On my system (linux, Emacs 23.1.1) Emacs goes automatically into C mode when I
issue a command like:

    emacs foo.c

This is indicated by, among other things, the fact that there is a 'C' in
parentheses in the mode line at the bottom of the window:

    --:--    All    (C...)

The command:

    C-h m

displays information about the mode of the current buffer, whatever that mode
might be.  If you're in some other mode (ESS, Python, Text), "C-h m" will give
you details about that mode.

I don't know how Emacs "decides" to go into a particular mode.  Clearly, the
suffix of the edited file is part of the decision, but I wonder if Emacs has
to find gcc, for instance, in your PATH before it goes into C mode.  I'd
suggest that you make sure that the command "gcc" works OUTSIDE of Emacs
first.

> 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?

Hmm.  R is a both a programming environment and a programming language.  C is
just a programming language, so it doesn't have a buffer in the same sense
that R does.  You can certainly open a shell window (M-x shell), which is the
closest thing I can think of to a gcc buffer, but that's probably not what you
want to do.  Once you get the C mode working properly, you'll automatically
get a buffer called:

    *compilation*

when you compile your program, and that will have all the information you need
(either a "success" message, or a list of compilation errors with links to the
relevant locations in your C source code).

This is all pretty far off-topic for the ESS list.  I suggest you might want
to send further correspondence to the Emacs list that I mentioned in my
previous note.  You might also want to look for a tutorial on this stuff.
Here's one that's now quite old but still useful:

    http://www.linuxjournal.com/article/2821?page=0,0

As a slightly longer-term project, you might want to look into running a
virtual machine on your Windows box and installing linux in it:

    http://www.virtualbox.org/

-- Mike


      
	[[alternative HTML version deleted]]

