SLUG Mailing List Archives
Re: [SLUG] ask emacs
- To: henry <henry@xxxxxxxxxxxxxx>
- Subject: Re: [SLUG] ask emacs
- From: Matthew Dalton <matthew.dalton@xxxxxxxxxxxxxxxxxx>
- Date: Fri May 24 09:26:02 2002
- Cc: slug@xxxxxxxxxxx
> 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
> ,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>'