comparison etc/NEWS @ 93555:9ef92a2bb899

Document shift-selection-mode and related changes.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 02 Apr 2008 20:23:20 +0000
parents e69fcb5b7842
children 310118b32104
comparison
equal deleted inserted replaced
93554:b05c7196d0b6 93555:9ef92a2bb899
135 135
136 ** The refcards are now shipped as PDF files. 136 ** The refcards are now shipped as PDF files.
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
147 requires confirmation before opening a non-existent file. 141 requires confirmation before opening a non-existent file.
148 142
149 ** If the gpm mouse server is running and t-mouse-mode enabled, Emacs uses a 143 ** If the gpm mouse server is running and t-mouse-mode enabled, Emacs uses a
150 Unix socket in a GNU/Linux console to talk to server, rather than faking events 144 Unix socket in a GNU/Linux console to talk to server, rather than faking events
151 using the client program mev. This C level approach provides mouse 145 using the client program mev. This C level approach provides mouse
152 highlighting, and help echoing in the minibuffer. 146 highlighting, 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
155 recenter the visited source file. Its value can be a number (for example, 151 recenter the visited source file. Its value can be a number (for example,
156 0 for top line, -1 for bottom line), or nil for no recentering. 152 0 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
159 center, top and bottom on successive invokations. 155 center, 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
164 is on a remote machine, or a hyphen otherwise. 160 is on a remote machine, or a hyphen otherwise.
165 161
166 ** The mode-line displays a mode menu when mouse-1 is clicked on a minor mode, 162 ** The mode-line displays a mode menu when mouse-1 is clicked on a minor mode,
226 the history list. 222 the history list.
227 223
228 224
229 * Editing Changes in Emacs 23.1 225 * Editing Changes in Emacs 23.1
230 226
227 ** Mark changes
228
229 +++
230 *** Transient Mark mode is now on by default.
231
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.
237
238 +++
239 *** When Transient Mark mode is on, M-q now fills the region if the
240 region is active. Otherwise, it fills the current paragraph.
241
242 +++
243 *** When Transient Mark mode is on, M-$ now checks spelling of the
244 region if the region is active. Otherwise, it checks spelling of the
245 word at point.
246
247 *** When Transient Mark mode is on, TAB now indents the region if the
248 region is active.
249
250 *** `use-empty-active-region' controls whether an empty active region
251 in Transient Mark mode should make commands operate on that empty
252 region.
253
254 ** Temporarily active regions
255
256 *** The new variable shift-select-mode, non-nil by default, controls
257 shift-selection. When Shift Select mode is on, shift-translated
258 motion keys (e.g. S-left and S-down) activate and extend a temporary
259 region, similar to mouse-selection.
260
261 *** Temporarily active regions, created using shift-selection or
262 mouse-selection, are not necessarily deactivated in the next command.
263 They are only deactivated after point motion commands that are not
264 shift-translated, or after commands that would ordinarily deactivate
265 the mark in Transient Mark mode (e.g., any command that modifies the
266 buffer).
267
231 +++ 268 +++
232 ** C-M-% now shows replacement as it would look in the buffer, with 269 ** C-M-% now shows replacement as it would look in the buffer, with
233 `\N' and `\&' substituted according to the match. Old behavior can be 270 `\N' and `\&' substituted according to the match. Old behavior can be
234 restored by customizing `query-replace-show-replacement'. 271 restored by customizing `query-replace-show-replacement'.
235
236 +++
237 ** M-q now fills the region if the region is active and
238 `transient-mark-mode' is turned on. Otherwise, it fills the current
239 paragraph.
240
241 +++
242 ** M-$ now checks spelling of the region if the region is active and
243 `transient-mark-mode' is turned on. Otherwise, it checks spelling of the
244 word at point.
245
246 ** TAB now indents the region if the region is active and
247 `transient-mark-mode' is turned on.
248
249 ** `use-empty-active-region' controls whether an empty active region
250 in Transient Mark mode should make commands operate on that empty region.
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'.
254 275
255 ** New command kill-matching-buffers kills buffers whose name matches a regexp. 276 ** New command kill-matching-buffers kills buffers whose name matches a regexp.
682 functions and variables (formerly used for Tamil script). 703 functions and variables (formerly used for Tamil script).
683 704
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
709 key sequence invoking the current command was found by
710 shift-translation.
711
712 ** The new interactive spec code ^ says to first call
713 handle-shift-selection if shift-select-mode is non-nil, before reading
714 the 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.
690 It uses the minibuffer-local-shell-command-map for that. 719 It uses the minibuffer-local-shell-command-map for that.
691 720
729 758
730 ** `region-active-p' returns non-nil when Transient Mark mode 759 ** `region-active-p' returns non-nil when Transient Mark mode
731 is enabled and there is an active region. This is NOT the best function 760 is enabled and there is an active region. This is NOT the best function
732 to use to test whether a command should operate on the region instead 761 to use to test whether a command should operate on the region instead
733 of the usual behavior -- for that, use `use-region-p'. 762 of the usual behavior -- for that, use `use-region-p'.
763
764 ** If a command sets `transient-mark-mode' to (only . OLDVAL), that
765 means to activate transient-mark-mode temporarily, until the next
766 unshifted point motion command or mark deactivation. Afterwards,
767 reset transient-mark-mode to the value OLDVAL. The values `only' and
768 `identity', introduced in Emacs 22, are now deprecated.
734 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
736 applies before function-key-map. Also it is terminal-local contrary to 771 applies before function-key-map. Also it is terminal-local contrary to
737 key-translation-map. Terminal-specific key-sequences are generally added to 772 key-translation-map. Terminal-specific key-sequences are generally added to
738 this map rather than to function-key-map now. 773 this map rather than to function-key-map now.