aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-03-21 18:46:31 +0000
committerRichard M. Stallman2005-03-21 18:46:31 +0000
commita3f7375f2decd6059f711645cd48c647e4f0c3f5 (patch)
tree87906a5d596b572e5ea27ceb4744ceed96f39ee2
parentbe8a531de7b51a2bb12990f47efa108871e23e65 (diff)
downloademacs-a3f7375f2decd6059f711645cd48c647e4f0c3f5.tar.gz
emacs-a3f7375f2decd6059f711645cd48c647e4f0c3f5.zip
(Saving Emacs Sessions): Document desktop-restore-eager.
(Emulation): CUA mode replaces pc-bindings-mode, pc-selection-mode, and s-region.
-rw-r--r--man/misc.texi64
1 files changed, 29 insertions, 35 deletions
diff --git a/man/misc.texi b/man/misc.texi
index d5c7572abcf..5ef15d45d87 100644
--- a/man/misc.texi
+++ b/man/misc.texi
@@ -1928,6 +1928,13 @@ another directory by typing @kbd{M-x desktop-change-dir}. Typing
1928 Specify the option @samp{--no-desktop} on the command line when you 1928 Specify the option @samp{--no-desktop} on the command line when you
1929don't want it to reload any saved desktop. 1929don't want it to reload any saved desktop.
1930 1930
1931@vindex desktop-restore-eager
1932 By default, all the buffers in the desktop are restored at one go.
1933However, this may be slow if there are a lot of buffers in the
1934desktop. You can specify the maximum number of buffers to restore
1935immediately with the variable @code{desktop-restore-eager}; the
1936remaining buffers are restored ``lazily,'' when Emacs is idle.
1937
1931@findex desktop-clear 1938@findex desktop-clear
1932@vindex desktop-globals-to-clear 1939@vindex desktop-globals-to-clear
1933@vindex desktop-clear-preserve-buffers-regexp 1940@vindex desktop-clear-preserve-buffers-regexp
@@ -2048,41 +2055,28 @@ Emacs key bindings are still available. The EDT emulation rebindings
2048are done in the global keymap, so there is no problem switching 2055are done in the global keymap, so there is no problem switching
2049buffers or major modes while in EDT emulation. 2056buffers or major modes while in EDT emulation.
2050 2057
2051@item ``PC'' bindings 2058@item CUA bindings
2052@findex pc-bindings-mode 2059@findex cua-mode
2053@cindex ``PC'' key bindings 2060@vindex cua-mode
2054The command @kbd{M-x pc-bindings-mode} sets up certain key bindings 2061@cindex CUA key bindings
2055for ``PC compatibility''---what people are often used to on PCs---as 2062@vindex cua-enable-cua-keys
2056follows: @kbd{M-Backspace} does undo, and @kbd{C-Escape} does 2063The command @kbd{M-x cua-mode} sets up key bindings that are
2057@code{list-buffers}. 2064compatible with the Common User Access (CUA) system used in many other
2058 2065applications. @kbd{C-x} means cut (kill), @kbd{C-c} copy, @kbd{C-v}
2059@item PC Selection mode 2066paste (yank), and @kbd{C-z} undo. Standard Emacs commands like
2060@findex pc-selection-mode 2067@kbd{C-x C-c} still work, because @kbd{C-x} and @kbd{C-c} only take
2061@cindex PC Selection minor mode 2068effect when the mark is active. However, if you don't want these
2062@cindex mode, PC selection 2069bindings at all, set @code{cua-enable-cua-keys} to nil.
2063@cindex selection, PC 2070
2064The command @kbd{M-x pc-selection-mode} toggles a global minor mode 2071In CUA mode, using @kbd{Shift} together with the movement keys
2065that emulates the mark, copy, cut and paste commands of various other 2072activates the region over which they move. The standard (unshifted)
2066systems---an interface known as CUA. It establishes the key bindings 2073movement keys deactivate the mark, and typed text replaces the active
2067of PC mode, and also modifies the bindings of the cursor keys and the 2074region as in Delete-Selection mode (@pxref{Graphical Kill}).
2068@kbd{next}, @kbd{prior}, @kbd{home} and @kbd{end} keys. It does not 2075
2069provide the full set of CUA key bindings---the fundamental Emacs keys 2076CUA mode also provides enhanced rectangle support with visible
2070@kbd{C-c}, @kbd{C-v} and @kbd{C-x} are not changed. 2077rectangle highlighting. Use @kbd{Shift-RET} to start a rectangle,
2071 2078extend it using the movement commands, and cut or copy it using
2072The standard keys for moving around (@kbd{right}, @kbd{left}, 2079@kbd{C-x} or @kbd{C-c}.
2073@kbd{up}, @kbd{down}, @kbd{home}, @kbd{end}, @kbd{prior}, @kbd{next},
2074called ``move-keys'') deactivate the mark in PC selection mode.
2075However, using @kbd{Shift} together with the ``move keys'' activates
2076the region over which they move. The copy, cut and paste functions
2077are available on @kbd{C-insert}, @kbd{S-delete} and @kbd{S-insert}
2078respectively.
2079
2080Turning @code{pc-selection-mode} off restores the old key bindings of
2081these keys.
2082
2083@cindex s-region package
2084The @code{s-region} package provides similar, but less complete,
2085facilities.
2086 2080
2087@item TPU (DEC VMS editor) 2081@item TPU (DEC VMS editor)
2088@findex tpu-edt-on 2082@findex tpu-edt-on