new file in emacs?

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.

Sök efter kärleken!
Hitta din tvillingsjäl på Yahoo! Dejting: http://se.meetic.yahoo.net
<div>
<table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top">When i want to create a new erlang-file in emacs how do i do?<br>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.<br>
</td></tr></table>
<br><table><tr><td>S&ouml;k efter k&auml;rleken! <br>Hitta din tvillingsj&auml;l p&aring; Yahoo! Dejting: <a href="http://ad.doubleclick.net/clk;185753627;24584539;x?http://se.meetic.yahoo.net/index.php?mtcmk=148783">http://se.meetic.yahoo.net</a>
</td></tr></table>
</div>
Kevin A. Smith | 1 Jul 13:21

Re: new file in emacs?

The short answer: C-x C-f (read that as Ctrl-x Ctrl-f)

The longer answer is you need to go through the Emacs tutorial. It  
will help you get acquainted with many of Emacs' features, including  
creating new files. You can start the tutorial by typing C-h t.

--Kevin
On Jul 1, 2008, at 6:10 AM, 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.
>
> Sök efter kärleken!
> Hitta din tvillingsjäl på Yahoo! Dejting: http://se.meetic.yahoo.net
> _______________________________________________
> erlang-questions mailing list
> erlang-questions <at> erlang.org
> http://www.erlang.org/mailman/listinfo/erlang-questions

Richard Carlsson | 1 Jul 14:30

Re: new file in emacs?

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.

     /Richard

Gmane