[erlang-questions] new file in emacs?
Tue Jul 1 14:30:22 CEST 2008
not norwegian swede wrote:
> When i want to create a new erlang-file in emacs how do i do?
> right now i have to open textpad, create a new file and save it and then
> open it through emacs because there is no way to create a new file from
> emacs it seems. this is really annoying.
C-x C-f creates a new buffer (if it does not already exist) for editing
a file (Emacs will ask for the file name). The file does not have to
exist already. After editing, you just do C-x C-s to save.
If you already have a buffer that you have written text into
(eg., the "*scratch*" buffer), you can do C-x C-w to save it.
More information about the erlang-questions