From b76270bf9e6dd375e495fec92140a79a79415d27 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Wed, 19 May 2010 08:58:23 +0000 Subject: Slackware 13.1 Wed May 19 08:58:23 UTC 2010 Slackware 13.1 x86_64 stable is released! Lots of thanks are due -- see the RELEASE_NOTES and the rest of the ChangeLog for credits. The ISOs are on their way to replication, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. We are taking pre-orders now at store.slackware.com, and offering a discount if you sign up for a subscription. Consider picking up a copy to help support the project. Thanks again to the Slackware community for testing, contributing, and generally holding us to a high level of quality. :-) Enjoy! --- misc/slackbook/html/emacs-saving-files.html | 136 ++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 misc/slackbook/html/emacs-saving-files.html (limited to 'misc/slackbook/html/emacs-saving-files.html') diff --git a/misc/slackbook/html/emacs-saving-files.html b/misc/slackbook/html/emacs-saving-files.html new file mode 100644 index 00000000..7e2ee9e1 --- /dev/null +++ b/misc/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