[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www/server/staging/nav-bar/test9 emacs-exiting....
From: |
Therese Godefroy |
Subject: |
www/server/staging/nav-bar/test9 emacs-exiting.... |
Date: |
Tue, 15 Apr 2014 15:39:27 +0000 |
CVSROOT: /webcvs/www
Module name: www
Changes by: Therese Godefroy <th_g> 14/04/15 15:39:27
Added files:
server/staging/nav-bar/test9: emacs-exiting.html
Log message:
Add new test file.
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/staging/nav-bar/test9/emacs-exiting.html?cvsroot=www&rev=1.1
Patches:
Index: emacs-exiting.html
===================================================================
RCS file: emacs-exiting.html
diff -N emacs-exiting.html
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ emacs-exiting.html 15 Apr 2014 15:39:27 -0000 1.1
@@ -0,0 +1,110 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+"http://www.w3.org/TR/html4/loose.dtd">
+
+<html lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=utf-8">
+<link rev="made" href="mailto:address@hidden">
+<link rel="icon" type="image/png" href="/graphics/gnu-head-mini.png">
+<meta name="ICBM" content="42.256233,-71.006581">
+<meta name="DC.title" content="gnu.org">
+
+<title>Exiting - GNU Emacs Manual</title>
+<style type="text/css">
address@hidden url('style.css');
+</style>
+<!--
+This is the `GNU Emacs Manual',
+updated for Emacs version 24.3.
+
+Copyright (C) 1985--1987, 1993--2013 Free Software Foundation, Inc.
+
+ Permission is granted to copy, distribute and/or modify this
+ document under the terms of the GNU Free Documentation License,
+ Version 1.3 or any later version published by the Free Software
+ Foundation; with the Invariant Sections being ``The GNU
+ Manifesto,'' ``Distribution'' and ``GNU GENERAL PUBLIC LICENSE,''
+ with the Front-Cover texts being ``A GNU Manual,'' and with the
+ Back-Cover Texts as in (a) below. A copy of the license is
+ included in the section entitled ``GNU Free Documentation
+ License.''
+
+ (a) The FSF's Back-Cover Text is: ``You have the freedom to copy
+ and modify this GNU manual. Buying copies from the FSF supports
+ it in developing GNU and promoting software freedom.''
+ -->
+</head>
+<body>
+<div class="node" style="background-color:#DDDDFF">
+<a name="Exiting"></a>
+<p>
+Next: <a rel="next" accesskey="n" href="Basic.html#Basic">Basic</a>,
+Previous: <a rel="previous" accesskey="p"
href="Entering-Emacs.html#Entering-Emacs">Entering Emacs</a>,
+Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
+
+</div>
+
+<h2 class="chapter">6 Exiting Emacs</h2>
+
+<p><a name="index-exiting-48"></a><a name="index-killing-Emacs-49"></a><a
name="index-leaving-Emacs-50"></a><a name="index-quitting-Emacs-51"></a>
+ <dl>
+<dt><kbd>C-x C-c</kbd><dd>Kill Emacs
(<code>save-buffers-kill-terminal</code>).
+<br><dt><kbd>C-z</kbd><dd>On a text terminal, suspend Emacs; on a graphical
display,
+“minimize” the selected frame (<code>suspend-emacs</code>).
+</dl>
+
+ <p><a name="index-C_002dx-C_002dc-52"></a><a
name="index-save_002dbuffers_002dkill_002dterminal-53"></a> <dfn>Killing</dfn>
Emacs means terminating the Emacs program. To do
+this, type <kbd>C-x C-c</kbd> (<code>save-buffers-kill-terminal</code>). A
+two-character key sequence is used to make it harder to type by
+accident. If there are any modified file-visiting buffers when you
+type <kbd>C-x C-c</kbd>, Emacs first offers to save these buffers. If you
+do not save them all, it asks for confirmation again, since the
+unsaved changes will be lost. Emacs also asks for confirmation if any
+subprocesses are still running, since killing Emacs will also kill the
+subprocesses (see <a href="Shell.html#Shell">Shell</a>).
+
+ <p><kbd>C-x C-c</kbd> behaves specially if you are using Emacs as a server.
+If you type it from a “client frame”, it closes the client
+connection. See <a href="Emacs-Server.html#Emacs-Server">Emacs Server</a>.
+
+ <p>Emacs can, optionally, record certain session information when you
+kill it, such as the files you were visiting at the time. This
+information is then available the next time you start Emacs.
+See <a href="Saving-Emacs-Sessions.html#Saving-Emacs-Sessions">Saving Emacs
Sessions</a>.
+
+ <p><a name="index-confirm_002dkill_002demacs-54"></a> If the value of the
variable <code>confirm-kill-emacs</code> is
+non-<code>nil</code>, <kbd>C-x C-c</kbd> assumes that its value is a predicate
+function, and calls that function. If the result of the function call
+is non-<code>nil</code>, the session is killed, otherwise Emacs continues to
+run. One convenient function to use as the value of
+<code>confirm-kill-emacs</code> is the function <code>yes-or-no-p</code>. The
+default value of <code>confirm-kill-emacs</code> is <code>nil</code>.
+
+ <p><a name="index-kill_002demacs-55"></a> To kill Emacs without being
prompted about saving, type <kbd>M-x
+kill-emacs</kbd>.
+
+ <p><a name="index-C_002dz-56"></a><a
name="index-suspend_002dframe-57"></a><a name="index-minimizing-58"></a><a
name="index-iconifying-59"></a><a name="index-suspending-60"></a>
<kbd>C-z</kbd> runs the command <code>suspend-frame</code>. On a graphical
+display, this command <dfn>minimizes</dfn> (or <dfn>iconifies</dfn>) the
+selected Emacs frame, hiding it in a way that lets you bring it back
+later (exactly how this hiding occurs depends on the window system).
+On a text terminal, the <kbd>C-z</kbd> command <dfn>suspends</dfn> Emacs,
+stopping the program temporarily and returning control to the parent
+process (usually a shell); in most shells, you can resume Emacs after
+suspending it with the shell command <samp><span
class="command">%emacs</span></samp>.
+
+ <p>Text terminals usually listen for certain special characters whose
+meaning is to kill or suspend the program you are running. <b>This
+terminal feature is turned off while you are in Emacs.</b> The meanings
+of <kbd>C-z</kbd> and <kbd>C-x C-c</kbd> as keys in Emacs were inspired by the
+use of <kbd>C-z</kbd> and <kbd>C-c</kbd> on several operating systems as the
+characters for stopping or killing a program, but that is their only
+relationship with the operating system. You can customize these keys
+to run any commands of your choice (see <a
href="Keymaps.html#Keymaps">Keymaps</a>).
+
+<!-- This is part of the Emacs manual. -->
+<!-- Copyright (C) 1985-1987, 1993-1995, 1997, 2000-2013 Free Software -->
+<!-- Foundation, Inc. -->
+<!-- See file emacs.texi for copying conditions. -->
+ </body></html>
+
+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- www/server/staging/nav-bar/test9 emacs-exiting....,
Therese Godefroy <=