annotate man/entering.texi @ 70503:f403849ca1a6

(gdb-var-create-handler): Move speedbar call to... (gud-watch): ...here so speedbar is raised for already watched expressions. (gdb-speedbar-refresh): Delete function. (gdb-speedbar-update, gdb-speedbar-timer-fn): New functions. Use speedbar-timer-fn instead of speedbar-refresh (reverting earlier change). (gdb-var-evaluate-expression-handler) (gdb-var-list-children-handler-1, gdb-var-update-handler-1): Use it.
author Nick Roberts <nickrob@snap.net.nz>
date Sun, 07 May 2006 12:08:23 +0000
parents a946a9fb6f9e
children b327bddebef6 146cd8369025
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
1 @c This is part of the Emacs manual.
64890
3723093a21fd Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 59950
diff changeset
2 @c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 2002, 2003, 2004,
68639
dc2d5a6655a3 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 68458
diff changeset
3 @c 2005, 2006 Free Software Foundation, Inc.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
4 @c See file emacs.texi for copying conditions.
Dave Love <fx@gnu.org>
parents:
diff changeset
5 @node Entering Emacs, Exiting, Text Characters, Top
Dave Love <fx@gnu.org>
parents:
diff changeset
6 @chapter Entering and Exiting Emacs
Dave Love <fx@gnu.org>
parents:
diff changeset
7 @cindex entering Emacs
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 46913
diff changeset
8 @cindex starting Emacs
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
9
68458
eab2da67a471 Minor cleanups.
Richard M. Stallman <rms@gnu.org>
parents: 64890
diff changeset
10 The usual way to invoke Emacs is with the shell command
70359
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
11 @command{emacs}. Emacs clears the screen, then displays an initial
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
12 help message and copyright notice. Some operating systems discard
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
13 your type-ahead when Emacs starts up; they give Emacs no way to
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
14 prevent this. On those systems, wait for Emacs to clear the screen
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
15 before you start typing.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
16
70359
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
17 From a shell window under the X Window System, run Emacs in the
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
18 background with @command{emacs&}. This way, Emacs won't tie up the
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
19 shell window, so you can use it to run other shell commands while
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
20 Emacs is running. You can type Emacs commands as soon as you direct
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
21 your keyboard input to an Emacs frame.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
22
Dave Love <fx@gnu.org>
parents:
diff changeset
23 @vindex initial-major-mode
38954
5c282c7df1cf Minor clarifications.
Richard M. Stallman <rms@gnu.org>
parents: 38920
diff changeset
24 When Emacs starts up, it creates a buffer named @samp{*scratch*}.
68458
eab2da67a471 Minor cleanups.
Richard M. Stallman <rms@gnu.org>
parents: 64890
diff changeset
25 That's the buffer you start out in. The @samp{*scratch*} buffer uses
eab2da67a471 Minor cleanups.
Richard M. Stallman <rms@gnu.org>
parents: 64890
diff changeset
26 Lisp Interaction mode; you can use it to type Lisp expressions and
70359
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
27 evaluate them. You can also ignore that capability and just write notes
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
28 there. You can specify a different major mode for this buffer by
68458
eab2da67a471 Minor cleanups.
Richard M. Stallman <rms@gnu.org>
parents: 64890
diff changeset
29 setting the variable @code{initial-major-mode} in your init file.
70359
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
30 @xref{Init File}.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
31
Dave Love <fx@gnu.org>
parents:
diff changeset
32 It is possible to specify files to be visited, Lisp files to be
70359
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
33 loaded, and functions to be called through Emacs command-line
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
34 arguments. @xref{Emacs Invocation}. The feature exists mainly for
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
35 compatibility with other editors, and for scripts.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
36
70359
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
37 Many editors are designed to edit one file. When done with that
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
38 file, you exit the editor. The next time you want to edit a file, you
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
39 must start the editor again. Working this way, it is convenient to
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
40 use a command-line argument to say which file to edit.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
41
70359
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
42 It's not smart to start Emacs afresh for every file you edit. Emacs
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
43 can visit more than one file in a single editing session, and upon
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
44 exit Emacs loses valuable accumulated context, such as the kill ring,
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
45 registers, undo history, and mark ring. These features are useful for
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
46 operating on multiple files, or even one. If you kill Emacs after
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
47 each file, you don't take advantage of them.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
48
Dave Love <fx@gnu.org>
parents:
diff changeset
49 The recommended way to use GNU Emacs is to start it only once, just
Dave Love <fx@gnu.org>
parents:
diff changeset
50 after you log in, and do all your editing in the same Emacs session.
70359
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
51 Each time you edit a file, you visit it with the existing Emacs, which
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
52 eventually has many files in it ready for editing. Usually you do not
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
53 kill Emacs until you are about to log out. @xref{Files}, for more
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
54 information on visiting more than one file.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
55
70359
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
56 To edit a file from another program while Emacs is running, you can
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
57 use the @command{emacsclient} helper program to open a file in the
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
58 already running Emacs. @xref{Emacs Server}.
46913
861d4dd87bd7 Mention emacsclient, with xref.
Richard M. Stallman <rms@gnu.org>
parents: 38954
diff changeset
59
56810
24bffa640391 Adapt sectioning in Info to the node structure.
Luc Teirlinck <teirllm@auburn.edu>
parents: 52401
diff changeset
60 @ifnottex
24bffa640391 Adapt sectioning in Info to the node structure.
Luc Teirlinck <teirllm@auburn.edu>
parents: 52401
diff changeset
61 @raisesections
24bffa640391 Adapt sectioning in Info to the node structure.
Luc Teirlinck <teirllm@auburn.edu>
parents: 52401
diff changeset
62 @end ifnottex
24bffa640391 Adapt sectioning in Info to the node structure.
Luc Teirlinck <teirllm@auburn.edu>
parents: 52401
diff changeset
63
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
64 @node Exiting, Basic, Entering Emacs, Top
Dave Love <fx@gnu.org>
parents:
diff changeset
65 @section Exiting Emacs
Dave Love <fx@gnu.org>
parents:
diff changeset
66 @cindex exiting
Dave Love <fx@gnu.org>
parents:
diff changeset
67 @cindex killing Emacs
Dave Love <fx@gnu.org>
parents:
diff changeset
68 @cindex suspending
Dave Love <fx@gnu.org>
parents:
diff changeset
69 @cindex leaving Emacs
Dave Love <fx@gnu.org>
parents:
diff changeset
70 @cindex quitting Emacs
Dave Love <fx@gnu.org>
parents:
diff changeset
71
70359
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
72 There are two commands for exiting Emacs, and three kinds of exiting:
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
73 @dfn{suspending} Emacs, @dfn{Iconifying} Emacs, and @dfn{killing}
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
74 Emacs.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
75
Dave Love <fx@gnu.org>
parents:
diff changeset
76 @dfn{Suspending} means stopping Emacs temporarily and returning
Dave Love <fx@gnu.org>
parents:
diff changeset
77 control to its parent process (usually a shell), allowing you to resume
Dave Love <fx@gnu.org>
parents:
diff changeset
78 editing later in the same Emacs job, with the same buffers, same kill
59950
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
79 ring, same undo history, and so on. This is the usual way to exit Emacs
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
80 when running on a text terminal.
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
81
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
82 @dfn{Iconifying} means replacing the Emacs frame with a small box
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
83 somewhere on the screen. This is the usual way to exit Emacs when you're
68458
eab2da67a471 Minor cleanups.
Richard M. Stallman <rms@gnu.org>
parents: 64890
diff changeset
84 using a graphics terminal---if you bother to ``exit'' at all. (Just switching
eab2da67a471 Minor cleanups.
Richard M. Stallman <rms@gnu.org>
parents: 64890
diff changeset
85 to another application is usually sufficient.)
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
86
Dave Love <fx@gnu.org>
parents:
diff changeset
87 @dfn{Killing} Emacs means destroying the Emacs job. You can run Emacs
Dave Love <fx@gnu.org>
parents:
diff changeset
88 again later, but you will get a fresh Emacs; there is no way to resume
Dave Love <fx@gnu.org>
parents:
diff changeset
89 the same editing session after it has been killed.
Dave Love <fx@gnu.org>
parents:
diff changeset
90
Dave Love <fx@gnu.org>
parents:
diff changeset
91 @table @kbd
Dave Love <fx@gnu.org>
parents:
diff changeset
92 @item C-z
Dave Love <fx@gnu.org>
parents:
diff changeset
93 Suspend Emacs (@code{suspend-emacs}) or iconify a frame
Dave Love <fx@gnu.org>
parents:
diff changeset
94 (@code{iconify-or-deiconify-frame}).
Dave Love <fx@gnu.org>
parents:
diff changeset
95 @item C-x C-c
Dave Love <fx@gnu.org>
parents:
diff changeset
96 Kill Emacs (@code{save-buffers-kill-emacs}).
Dave Love <fx@gnu.org>
parents:
diff changeset
97 @end table
Dave Love <fx@gnu.org>
parents:
diff changeset
98
Dave Love <fx@gnu.org>
parents:
diff changeset
99 @kindex C-z
Dave Love <fx@gnu.org>
parents:
diff changeset
100 @findex suspend-emacs
59950
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
101 To suspend or iconify Emacs, type @kbd{C-z} (@code{suspend-emacs}).
68458
eab2da67a471 Minor cleanups.
Richard M. Stallman <rms@gnu.org>
parents: 64890
diff changeset
102 On text terminals, this suspends Emacs. On graphical displays,
59950
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
103 it iconifies the Emacs frame.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
104
59950
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
105 Suspending Emacs takes you back to the shell from which you invoked
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
106 Emacs. You can resume Emacs with the shell command @command{%emacs}
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
107 in most common shells. On systems that don't support suspending
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
108 programs, @kbd{C-z} starts an inferior shell that communicates
70359
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
109 directly with the terminal, and Emacs waits until you exit the
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
110 subshell. (The way to do that is probably with @kbd{C-d} or
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
111 @command{exit}, but it depends on which shell you use.) On these
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
112 systems, you can only get back to the shell from which Emacs was run
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
113 (to log out, for example) when you kill Emacs.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
114
59950
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
115 Suspending can fail if you run Emacs under a shell that doesn't
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
116 support suspending programs, even if the system itself does support
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
117 it. In such a case, you can set the variable @code{cannot-suspend} to
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
118 a non-@code{nil} value to force @kbd{C-z} to start an inferior shell.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
119 (One might also describe Emacs's parent shell as ``inferior'' for
59950
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
120 failing to support job control properly, but that is a matter of
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
121 taste.)
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
122
68458
eab2da67a471 Minor cleanups.
Richard M. Stallman <rms@gnu.org>
parents: 64890
diff changeset
123 On graphical displays, @kbd{C-z} has a different meaning: it runs
59950
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
124 the command @code{iconify-or-deiconify-frame}, which temporarily
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
125 iconifies (or ``minimizes'') the selected Emacs frame
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
126 (@pxref{Frames}). Then you can use the window manager to get back to
e0bfdf477815 (Entering Emacs): Update rationale at start.
Richard M. Stallman <rms@gnu.org>
parents: 58789
diff changeset
127 a shell window.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
128
Dave Love <fx@gnu.org>
parents:
diff changeset
129 @kindex C-x C-c
Dave Love <fx@gnu.org>
parents:
diff changeset
130 @findex save-buffers-kill-emacs
38954
5c282c7df1cf Minor clarifications.
Richard M. Stallman <rms@gnu.org>
parents: 38920
diff changeset
131 To exit and kill Emacs, type @kbd{C-x C-c}
70359
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
132 (@code{save-buffers-kill-emacs}). A two-character key is used to make
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
133 it harder to type by accident. This command first offers to save any
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
134 modified file-visiting buffers. If you do not save them all, it asks
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
135 for confirmation with @kbd{yes} before killing Emacs, since any
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
136 changes not saved now will be lost forever. Also, if any subprocesses are
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
137 still running, @kbd{C-x C-c} asks for confirmation about them, since
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
138 killing Emacs will also kill the subprocesses.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
139
38920
caf015ed2aea Document confirm-kill-emacs.
Eli Zaretskii <eliz@gnu.org>
parents: 38172
diff changeset
140 @vindex confirm-kill-emacs
caf015ed2aea Document confirm-kill-emacs.
Eli Zaretskii <eliz@gnu.org>
parents: 38172
diff changeset
141 If the value of the variable @code{confirm-kill-emacs} is
caf015ed2aea Document confirm-kill-emacs.
Eli Zaretskii <eliz@gnu.org>
parents: 38172
diff changeset
142 non-@code{nil}, @kbd{C-x C-c} assumes that its value is a predicate
caf015ed2aea Document confirm-kill-emacs.
Eli Zaretskii <eliz@gnu.org>
parents: 38172
diff changeset
143 function, and calls that function. If the result is non-@code{nil}, the
caf015ed2aea Document confirm-kill-emacs.
Eli Zaretskii <eliz@gnu.org>
parents: 38172
diff changeset
144 session is killed, otherwise Emacs continues to run. One convenient
caf015ed2aea Document confirm-kill-emacs.
Eli Zaretskii <eliz@gnu.org>
parents: 38172
diff changeset
145 function to use as the value of @code{confirm-kill-emacs} is the
caf015ed2aea Document confirm-kill-emacs.
Eli Zaretskii <eliz@gnu.org>
parents: 38172
diff changeset
146 function @code{yes-or-no-p}. The default value of
caf015ed2aea Document confirm-kill-emacs.
Eli Zaretskii <eliz@gnu.org>
parents: 38172
diff changeset
147 @code{confirm-kill-emacs} is @code{nil}.
caf015ed2aea Document confirm-kill-emacs.
Eli Zaretskii <eliz@gnu.org>
parents: 38172
diff changeset
148
70359
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
149 You can't resume an Emacs session after killing it. Emacs can,
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
150 however, record certain session information when you kill it, such as
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
151 which files you visited, so the next time you start Emacs it will try
a946a9fb6f9e Many simplifications.
Richard M. Stallman <rms@gnu.org>
parents: 68639
diff changeset
152 to visit the same files. @xref{Saving Emacs Sessions}.
25829
Dave Love <fx@gnu.org>
parents:
diff changeset
153
Dave Love <fx@gnu.org>
parents:
diff changeset
154 The operating system usually listens for certain special characters
Dave Love <fx@gnu.org>
parents:
diff changeset
155 whose meaning is to kill or suspend the program you are running.
Dave Love <fx@gnu.org>
parents:
diff changeset
156 @b{This operating system feature is turned off while you are in Emacs.}
Dave Love <fx@gnu.org>
parents:
diff changeset
157 The meanings of @kbd{C-z} and @kbd{C-x C-c} as keys in Emacs were
Dave Love <fx@gnu.org>
parents:
diff changeset
158 inspired by the use of @kbd{C-z} and @kbd{C-c} on several operating
Dave Love <fx@gnu.org>
parents:
diff changeset
159 systems as the characters for stopping or killing a program, but that is
Dave Love <fx@gnu.org>
parents:
diff changeset
160 their only relationship with the operating system. You can customize
Dave Love <fx@gnu.org>
parents:
diff changeset
161 these keys to run any commands of your choice (@pxref{Keymaps}).
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
162
56810
24bffa640391 Adapt sectioning in Info to the node structure.
Luc Teirlinck <teirllm@auburn.edu>
parents: 52401
diff changeset
163 @ifnottex
24bffa640391 Adapt sectioning in Info to the node structure.
Luc Teirlinck <teirllm@auburn.edu>
parents: 52401
diff changeset
164 @lowersections
24bffa640391 Adapt sectioning in Info to the node structure.
Luc Teirlinck <teirllm@auburn.edu>
parents: 52401
diff changeset
165 @end ifnottex
24bffa640391 Adapt sectioning in Info to the node structure.
Luc Teirlinck <teirllm@auburn.edu>
parents: 52401
diff changeset
166
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
167 @ignore
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
168 arch-tag: df798d8b-f253-4113-b585-f528f078a944
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
169 @end ignore