Mail from ILUG-BOM list (Non-Digest Mode)

On Sat, 3 Jun 2000, rohit sharma wrote:

->Mail from ILUG-BOM list (Non-Digest Mode)
->
->Hey nag,
->
->> Open your document.c in your emacs, it automatically loads it in c-mode.
->> Write your code, and compile using C-c-c.  (keeping ctrl pressed, press c
->
->Compile is bound to M-x compile by default . How do i change that? also
->the compile command is "make -k" How do I change it to "cc". Can the
->filename be automatically picked up from the buffer?. I mean now for
->compiling I have to do M-x compile ; cc filename.Also the M key is bound
->to ESC, can i change that?

You can change everything in emacs. Try C-c-r and see if compiles the buffer.
Look at the kee-board-mappings in the c-mode. For changing the behaviour of
emacs you have to edit .emacs, and insert the simple lisp code.  Help on
lisp code is available in `info emacs'.



Nagarjuna


_______________________________________________
Linuxers mailing list
[EMAIL PROTECTED]
http://www.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to