aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRichard M. Stallman1994-10-17 04:17:33 +0000
committerRichard M. Stallman1994-10-17 04:17:33 +0000
commite7662099aedbdb0ad21df151dc2e36c0f9b28532 (patch)
tree51ccd2acfd0a7cf1d9b4483485b7ee48a1cb24a9 /etc
parentbeeab9cbe629dfcfcb15f2cd17dc732f3b12fe3d (diff)
downloademacs-e7662099aedbdb0ad21df151dc2e36c0f9b28532.tar.gz
emacs-e7662099aedbdb0ad21df151dc2e36c0f9b28532.zip
Better info about C-z vs C-x C-c.
Diffstat (limited to 'etc')
-rw-r--r--etc/TUTORIAL33
1 files changed, 18 insertions, 15 deletions
diff --git a/etc/TUTORIAL b/etc/TUTORIAL
index 90554f7d920..91160d8aa20 100644
--- a/etc/TUTORIAL
+++ b/etc/TUTORIAL
@@ -512,21 +512,24 @@ editing and get rid of Emacs. The command to do this is C-x C-c.
512(Don't worry; it offers to save each changed file before it kills the 512(Don't worry; it offers to save each changed file before it kills the
513Emacs.) 513Emacs.)
514 514
515C-z is the usual way to exit Emacs, because it is always better not to 515C-z is the command to exit Emacs *temporarily*--so that you can go
516kill the Emacs if you are going to do any more editing. On systems 516back to the same Emacs session afterward.
517which allow it, C-z exits from Emacs to the shell but does not destroy 517
518the Emacs; if you use the C shell, you can resume Emacs with the `fg' 518On systems which allow it, C-z exits from Emacs to the shell but does
519command (or, more generally, with `%emacs', which works even if your 519not destroy the Emacs; if you use the C shell, you can resume Emacs
520most recent job was some other). On systems where suspending is not 520with the `fg' command (or, more generally, with `%emacs', which works
521possible, C-z creates a subshell running under Emacs to give you the 521even if your most recent job was some other). On systems which don't
522chance to run other programs and return to Emacs afterward, but it 522implement suspending, C-z creates a subshell running under Emacs to
523does not truly "exit" from Emacs. In this case, the shell command 523give you the chance to run other programs and return to Emacs
524`exit' is the usual way to get back to Emacs from the subshell. 524afterward; it does not truly "exit" from Emacs. In this case, the
525 525shell command `exit' is the usual way to get back to Emacs from the
526You would use C-x C-c if you were about to log out. You would 526subshell.
527also use it to exit an Emacs invoked under mail handling programs 527
528and other random utilities, since they may not believe you have 528The time to use C-x C-c is when you are about to log out. It's also
529really finished using the Emacs if it continues to exist. 529the right thing to use to exit an Emacs invoked under mail handling
530programs and other random utilities, since they may not know how to
531cope with suspension of Emacs. On other occasions, use C-z, and
532resume the Emacs when you have more editing to do.
530 533
531There are many C-x commands. The ones you know are: 534There are many C-x commands. The ones you know are:
532 535