save-as format file view| Keys | Menu | |
| X | ^X^W | File/Save As... |
| MS | Control+Alt+S | File/Save As... |
Writes the contents of the current buffer to the given file in the given format. If format is "Text", then the file is written in view view. The view associated with the buffer in which subsequent textual saves is done is set to view.