Dear Matthew: Now I am happily use Emacs(v21, http://ftp.gnu.org/gnu/emacs/) to edit code .
Syntax_highlight is not it's default setting , You simply have to (by F10)make Option->Syntax_highlighting enable , than load your code . Thanks very much ! Thank all the list who provide help to the topic. Henry ----- Original Message ----- From: Matthew Dalton <[EMAIL PROTECTED]> To: henry <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, May 24, 2002 7:31 AM Subject: Re: [SLUG] ask emacs > > henry wrote: > > > > 1. I use ct-x ct-f to find file-A ,then ct-x i to insert file-B > > then c-x 2 to list 2 files simultaneously in separate windows > > horizontally > > ,but I get file-A,file-A,how do I get file-A,file-B? > > Use command 'C-x b' - switch-to-buffer. > > > > 2. How do I switch to c-mode or text-mode ? (c-mode is used by > > c-programmer ,Commands under text-mode is almost the same > > as fundmental mode) > > Modes automatically load when a file is recognised (by it's filename > extension?). Try opening a C file and watch Emacs go into c-mode. > > Otherwise, modes can be individually started by typing 'M-x <mode-name>' > > > Matthew > -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug