1928 |
Specify the option @samp{--no-desktop} on the command line when you |
Specify the option @samp{--no-desktop} on the command line when you |
1929 |
don't want it to reload any saved desktop. |
don't want it to reload any saved desktop. |
1930 |
|
|
1931 |
|
@vindex desktop-restore-eager |
1932 |
|
By default, all the buffers in the desktop are restored at one go. |
1933 |
|
However, this may be slow if there are a lot of buffers in the |
1934 |
|
desktop. You can specify the maximum number of buffers to restore |
1935 |
|
immediately with the variable @code{desktop-restore-eager}; the |
1936 |
|
remaining buffers are restored ``lazily,'' when Emacs is idle. |
1937 |
|
|
1938 |
@findex desktop-clear |
@findex desktop-clear |
1939 |
@vindex desktop-globals-to-clear |
@vindex desktop-globals-to-clear |
1940 |
@vindex desktop-clear-preserve-buffers-regexp |
@vindex desktop-clear-preserve-buffers-regexp |
2055 |
are done in the global keymap, so there is no problem switching |
are done in the global keymap, so there is no problem switching |
2056 |
buffers or major modes while in EDT emulation. |
buffers or major modes while in EDT emulation. |
2057 |
|
|
2058 |
@item ``PC'' bindings |
@item CUA bindings |
2059 |
@findex pc-bindings-mode |
@findex cua-mode |
2060 |
@cindex ``PC'' key bindings |
@vindex cua-mode |
2061 |
The command @kbd{M-x pc-bindings-mode} sets up certain key bindings |
@cindex CUA key bindings |
2062 |
for ``PC compatibility''---what people are often used to on PCs---as |
@vindex cua-enable-cua-keys |
2063 |
follows: @kbd{M-Backspace} does undo, and @kbd{C-Escape} does |
The command @kbd{M-x cua-mode} sets up key bindings that are |
2064 |
@code{list-buffers}. |
compatible with the Common User Access (CUA) system used in many other |
2065 |
|
applications. @kbd{C-x} means cut (kill), @kbd{C-c} copy, @kbd{C-v} |
2066 |
@item PC Selection mode |
paste (yank), and @kbd{C-z} undo. Standard Emacs commands like |
2067 |
@findex pc-selection-mode |
@kbd{C-x C-c} still work, because @kbd{C-x} and @kbd{C-c} only take |
2068 |
@cindex PC Selection minor mode |
effect when the mark is active. However, if you don't want these |
2069 |
@cindex mode, PC selection |
bindings at all, set @code{cua-enable-cua-keys} to nil. |
2070 |
@cindex selection, PC |
|
2071 |
The command @kbd{M-x pc-selection-mode} toggles a global minor mode |
In CUA mode, using @kbd{Shift} together with the movement keys |
2072 |
that emulates the mark, copy, cut and paste commands of various other |
activates the region over which they move. The standard (unshifted) |
2073 |
systems---an interface known as CUA. It establishes the key bindings |
movement keys deactivate the mark, and typed text replaces the active |
2074 |
of PC mode, and also modifies the bindings of the cursor keys and the |
region as in Delete-Selection mode (@pxref{Graphical Kill}). |
2075 |
@kbd{next}, @kbd{prior}, @kbd{home} and @kbd{end} keys. It does not |
|
2076 |
provide the full set of CUA key bindings---the fundamental Emacs keys |
CUA mode also provides enhanced rectangle support with visible |
2077 |
@kbd{C-c}, @kbd{C-v} and @kbd{C-x} are not changed. |
rectangle highlighting. Use @kbd{Shift-RET} to start a rectangle, |
2078 |
|
extend it using the movement commands, and cut or copy it using |
2079 |
The standard keys for moving around (@kbd{right}, @kbd{left}, |
@kbd{C-x} or @kbd{C-c}. |
|
@kbd{up}, @kbd{down}, @kbd{home}, @kbd{end}, @kbd{prior}, @kbd{next}, |
|
|
called ``move-keys'') deactivate the mark in PC selection mode. |
|
|
However, using @kbd{Shift} together with the ``move keys'' activates |
|
|
the region over which they move. The copy, cut and paste functions |
|
|
are available on @kbd{C-insert}, @kbd{S-delete} and @kbd{S-insert} |
|
|
respectively. |
|
|
|
|
|
Turning @code{pc-selection-mode} off restores the old key bindings of |
|
|
these keys. |
|
|
|
|
|
@cindex s-region package |
|
|
The @code{s-region} package provides similar, but less complete, |
|
|
facilities. |
|
2080 |
|
|
2081 |
@item TPU (DEC VMS editor) |
@item TPU (DEC VMS editor) |
2082 |
@findex tpu-edt-on |
@findex tpu-edt-on |