aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-04-02 20:23:20 +0000
committerChong Yidong2008-04-02 20:23:20 +0000
commit3ae459e5b46ff778c7fdd962a68390b99da2976f (patch)
treea18e4ce4196cf528704af5360e6f4051ced4b86b
parent12679e05b0301b602857fccb2e0837e5dd40d6b3 (diff)
downloademacs-3ae459e5b46ff778c7fdd962a68390b99da2976f.tar.gz
emacs-3ae459e5b46ff778c7fdd962a68390b99da2976f.zip
Document shift-selection-mode and related changes.
-rw-r--r--etc/NEWS77
1 files changed, 56 insertions, 21 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 2fc4fa30626..37786df831c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -137,12 +137,6 @@ the currently selected Emacs frame.
137 137
138** Emacs now supports the SVG image format through librsvg2. 138** Emacs now supports the SVG image format through librsvg2.
139 139
140** Transient Mark Mode is now on by default.
141
142** mark-even-if-inactive now defaults to t
143
144** C-SPC C-SPC in transient-mark-mode pushes a mark without activating it.
145
146** If you set find-file-confirm-nonexistent-file to t, then C-x C-f 140** If you set find-file-confirm-nonexistent-file to t, then C-x C-f
147requires confirmation before opening a non-existent file. 141requires confirmation before opening a non-existent file.
148 142
@@ -151,14 +145,16 @@ Unix socket in a GNU/Linux console to talk to server, rather than faking events
151using the client program mev. This C level approach provides mouse 145using the client program mev. This C level approach provides mouse
152highlighting, and help echoing in the minibuffer. 146highlighting, and help echoing in the minibuffer.
153 147
154** The new variable next-error-recenter specifies how next-error should 148** Recentering changes
149
150*** The new variable next-error-recenter specifies how next-error should
155recenter the visited source file. Its value can be a number (for example, 151recenter the visited source file. Its value can be a number (for example,
1560 for top line, -1 for bottom line), or nil for no recentering. 1520 for top line, -1 for bottom line), or nil for no recentering.
157 153
158** New command recenter-top-bottom moves the current line to window 154*** New command recenter-top-bottom moves the current line to window
159center, top and bottom on successive invokations. 155center, top and bottom on successive invokations.
160 156
161** C-l is bound to the new command recenter-top-bottom, rather than recenter. 157*** C-l is bound to the new command recenter-top-bottom, rather than recenter.
162 158
163** The mode-line displays a `@' if the default-directory for the current buffer 159** The mode-line displays a `@' if the default-directory for the current buffer
164is on a remote machine, or a hyphen otherwise. 160is on a remote machine, or a hyphen otherwise.
@@ -228,26 +224,51 @@ the history list.
228 224
229* Editing Changes in Emacs 23.1 225* Editing Changes in Emacs 23.1
230 226
227** Mark changes
228
231+++ 229+++
232** C-M-% now shows replacement as it would look in the buffer, with 230*** Transient Mark mode is now on by default.
233`\N' and `\&' substituted according to the match. Old behavior can be 231
234restored by customizing `query-replace-show-replacement'. 232+++
233*** mark-even-if-inactive now defaults to t
234
235+++
236*** When Transient Mark mode is on, C-SPC C-SPC pushes a mark without activating it.
235 237
236+++ 238+++
237** M-q now fills the region if the region is active and 239*** When Transient Mark mode is on, M-q now fills the region if the
238`transient-mark-mode' is turned on. Otherwise, it fills the current 240region is active. Otherwise, it fills the current paragraph.
239paragraph.
240 241
241+++ 242+++
242** M-$ now checks spelling of the region if the region is active and 243*** When Transient Mark mode is on, M-$ now checks spelling of the
243`transient-mark-mode' is turned on. Otherwise, it checks spelling of the 244region if the region is active. Otherwise, it checks spelling of the
244word at point. 245word at point.
245 246
246** TAB now indents the region if the region is active and 247*** When Transient Mark mode is on, TAB now indents the region if the
247`transient-mark-mode' is turned on. 248region is active.
248 249
249** `use-empty-active-region' controls whether an empty active region 250*** `use-empty-active-region' controls whether an empty active region
250in Transient Mark mode should make commands operate on that empty region. 251in Transient Mark mode should make commands operate on that empty
252region.
253
254** Temporarily active regions
255
256*** The new variable shift-select-mode, non-nil by default, controls
257shift-selection. When Shift Select mode is on, shift-translated
258motion keys (e.g. S-left and S-down) activate and extend a temporary
259region, similar to mouse-selection.
260
261*** Temporarily active regions, created using shift-selection or
262mouse-selection, are not necessarily deactivated in the next command.
263They are only deactivated after point motion commands that are not
264shift-translated, or after commands that would ordinarily deactivate
265the mark in Transient Mark mode (e.g., any command that modifies the
266buffer).
267
268+++
269** C-M-% now shows replacement as it would look in the buffer, with
270`\N' and `\&' substituted according to the match. Old behavior can be
271restored by customizing `query-replace-show-replacement'.
251 272
252** C-z now invokes `suspend-frame', C-x C-c now invokes 273** C-z now invokes `suspend-frame', C-x C-c now invokes
253`save-buffers-kill-terminal'. 274`save-buffers-kill-terminal'.
@@ -684,6 +705,14 @@ functions and variables (formerly used for Tamil script).
684 705
685* Lisp Changes in Emacs 23.1 706* Lisp Changes in Emacs 23.1
686 707
708** The variable `this-command-keys-shift-translated' is non-nil if the
709key sequence invoking the current command was found by
710shift-translation.
711
712** The new interactive spec code ^ says to first call
713handle-shift-selection if shift-select-mode is non-nil, before reading
714the command arguments.
715
687** When deleting a terminal, run the special hook `delete-terminal-functions'. 716** When deleting a terminal, run the special hook `delete-terminal-functions'.
688 717
689** The `read-shell-command' function does what its name says, with completion. 718** The `read-shell-command' function does what its name says, with completion.
@@ -732,6 +761,12 @@ is enabled and there is an active region. This is NOT the best function
732to use to test whether a command should operate on the region instead 761to use to test whether a command should operate on the region instead
733of the usual behavior -- for that, use `use-region-p'. 762of the usual behavior -- for that, use `use-region-p'.
734 763
764** If a command sets `transient-mark-mode' to (only . OLDVAL), that
765means to activate transient-mark-mode temporarily, until the next
766unshifted point motion command or mark deactivation. Afterwards,
767reset transient-mark-mode to the value OLDVAL. The values `only' and
768`identity', introduced in Emacs 22, are now deprecated.
769
735** New keymap `input-decode-map' overrides like key-translation-map, but 770** New keymap `input-decode-map' overrides like key-translation-map, but
736applies before function-key-map. Also it is terminal-local contrary to 771applies before function-key-map. Also it is terminal-local contrary to
737key-translation-map. Terminal-specific key-sequences are generally added to 772key-translation-map. Terminal-specific key-sequences are generally added to