From 5a12e7c134274dba706667107d10d231517d3e05 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Wed, 26 Aug 2009 10:00:38 -0500 Subject: Slackware 13.0 Wed Aug 26 10:00:38 CDT 2009 Slackware 13.0 x86_64 is released as stable! Thanks to everyone who helped make this release possible -- see the RELEASE_NOTES for the credits. The ISOs are off to the replicator. This time it will be a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. We're taking pre-orders now at store.slackware.com. Please consider picking up a copy to help support the project. Once again, thanks to the entire Slackware community for all the help testing and fixing things and offering suggestions during this development cycle. As always, have fun and enjoy! -P. --- slackbook/html/emacs-saving-files.html | 136 +++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 slackbook/html/emacs-saving-files.html (limited to 'slackbook/html/emacs-saving-files.html') diff --git a/slackbook/html/emacs-saving-files.html b/slackbook/html/emacs-saving-files.html new file mode 100644 index 000000000..7e2ee9e19 --- /dev/null +++ b/slackbook/html/emacs-saving-files.html @@ -0,0 +1,136 @@ + + + + +Saving Files + + + + + + + + + + + +
+

17.5 Saving +Files

+ +

In order to save a file, you type

+ + + + + +
+
+C-x C-s
+
+
+ +

Emacs will not ask you for a filename, the buffer will just be saved to the file it +was loaded from. If you want to save your text to another file, type

+ + + + + +
+
+C-x C-w
+
+
+ +

When you save the file for the first time in this session, Emacs will normally save +the old version of your file to a backup file, which has the same name appended with a +tilde: so if you're editing a file “cars.txt”, +Emacs will create a backup “cars.txt~”.

+ +

This backup file is a copy of the file that you opened. While you are working, Emacs +will also regularly create an auto-save copy of the work you are doing, to a file named +with hash signs: #cars.txt#. This backup is deleted when you +save the file with C-x C-s.

+ +

When you are done editing a file, you can kill the buffer that holds it by typing

+ + + + + +
+
+C-x k
+
+
+ +

Emacs will then ask you which buffer you want to kill, with the current buffer as +default, which you can select by hitting ENTER. If you haven't +saved your file yet, Emacs will ask you if you really want to kill the buffer.

+ +
+

17.5.1 Quitting +Emacs

+ +

When you are done with Emacs altogether, you can type

+ + + + + +
+
+C-x C-c
+
+
+ +

This quits Emacs. If you have any unsaved files, Emacs will tell you so, and ask if +you want to save them each in turn. If you answer no to any of these, Emacs will ask for +one final confirmation and then quit.

+
+
+ + + + + -- cgit v1.2.3