diff options
| author | Glenn Morris | 2012-12-29 00:07:49 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-12-29 00:07:49 -0800 |
| commit | 6bc66c10a89e250b147e411e79e1a8f981d2e3a3 (patch) | |
| tree | 8f7794a31b82356ef9aef38c1fa18bfd4a338cd3 | |
| parent | 823b2fb62dd7fba09a4ab18e2f3bea1c4c90e619 (diff) | |
| download | emacs-6bc66c10a89e250b147e411e79e1a8f981d2e3a3.tar.gz emacs-6bc66c10a89e250b147e411e79e1a8f981d2e3a3.zip | |
More NEWS copyedits, and some reordering
| -rw-r--r-- | etc/NEWS | 589 |
1 files changed, 290 insertions, 299 deletions
| @@ -13,20 +13,18 @@ and NEWS.1-17 for changes in older Emacs versions. | |||
| 13 | 13 | ||
| 14 | You can narrow news to a specific version by calling `view-emacs-news' | 14 | You can narrow news to a specific version by calling `view-emacs-news' |
| 15 | with a prefix argument or by typing C-u C-h C-n. | 15 | with a prefix argument or by typing C-u C-h C-n. |
| 16 | |||
| 16 | 17 | ||
| 17 | * Installation Changes in Emacs 24.3 | 18 | * Installation Changes in Emacs 24.3 |
| 18 | 19 | ||
| 19 | ** The default toolkit has been changed to Gtk+ version 3. | 20 | ** The default X toolkit is now Gtk+ version 3. |
| 20 | If you don't pass `--with-x-toolkit' to configure, or if you use | 21 | If you don't pass `--with-x-toolkit' to configure, or if you use |
| 21 | `--with-x-toolkit=gtk' or `--with-x-toolkit=yes', configure will try | 22 | `--with-x-toolkit=gtk' or `--with-x-toolkit=yes', configure will try |
| 22 | to build with Gtk+ version 3, and if that fails, try Gtk+ version 2. | 23 | to build with Gtk+ version 3, and if that fails, try Gtk+ version 2. |
| 23 | You can explicitly require a specific version by passing | 24 | You can explicitly require a specific version by passing |
| 24 | `--with-x-toolkit=gtk2' or `--with-x-toolkit=gtk3' to configure. | 25 | `--with-x-toolkit=gtk2' or `--with-x-toolkit=gtk3' to configure. |
| 25 | 26 | ||
| 26 | ** New configure option `--without-all' to disable additional features. | 27 | ** New configure option `--enable-link-time-optimization', to utilize |
| 27 | This disables most of the features that are normally enabled by default. | ||
| 28 | |||
| 29 | ** New configure option `--enable-link-time-optimization' to utilize | ||
| 30 | an appropriate feature provided by GCC since version 4.5.0. | 28 | an appropriate feature provided by GCC since version 4.5.0. |
| 31 | 29 | ||
| 32 | ** New configure option `--enable-gcc-warnings', intended for developers. | 30 | ** New configure option `--enable-gcc-warnings', intended for developers. |
| @@ -36,10 +34,13 @@ no warnings; on older and on non-GNU systems the generated warnings | |||
| 36 | may be useful. | 34 | may be useful. |
| 37 | 35 | ||
| 38 | ** The configure option `--enable-use-lisp-union-type' has been | 36 | ** The configure option `--enable-use-lisp-union-type' has been |
| 39 | renamed to '--enable-check-lisp-object-type', as the resulting | 37 | renamed to `--enable-check-lisp-object-type', as the resulting |
| 40 | Lisp_Object type no longer uses a union to implement the compile time | 38 | Lisp_Object type no longer uses a union to implement the compile time |
| 41 | check that this option enables. | 39 | check that this option enables. |
| 42 | 40 | ||
| 41 | ** New configure option `--without-all' to disable most of the optional | ||
| 42 | features (image support, etc.) that are normally enabled by default. | ||
| 43 | |||
| 43 | ** The configure option `--disable-maintainer-mode' has been removed, | 44 | ** The configure option `--disable-maintainer-mode' has been removed, |
| 44 | as it was confusingly-named and rarely useful. | 45 | as it was confusingly-named and rarely useful. |
| 45 | 46 | ||
| @@ -51,7 +52,7 @@ links between the various manuals. | |||
| 51 | 52 | ||
| 52 | ** You can use `NO_BIN_LINK=t make install' to prevent the installation | 53 | ** You can use `NO_BIN_LINK=t make install' to prevent the installation |
| 53 | overwriting "emacs" in the installation bin/ directory with a link | 54 | overwriting "emacs" in the installation bin/ directory with a link |
| 54 | to emacs-VERSION. | 55 | to "emacs-VERSION". |
| 55 | 56 | ||
| 56 | ** Emacs uses libtinfo in preference to libncurses, if available. | 57 | ** Emacs uses libtinfo in preference to libncurses, if available. |
| 57 | 58 | ||
| @@ -59,7 +60,7 @@ to emacs-VERSION. | |||
| 59 | /usr/pkg/lib to the linker search path. You must add them yourself if | 60 | /usr/pkg/lib to the linker search path. You must add them yourself if |
| 60 | you want them. | 61 | you want them. |
| 61 | 62 | ||
| 62 | ** The standalone scripts rcs-checkin and vcdiff have been removed | 63 | ** The standalone scripts `rcs-checkin' and `vcdiff' have been removed |
| 63 | (from the bin and libexec directories, respectively). The former is | 64 | (from the bin and libexec directories, respectively). The former is |
| 64 | no longer relevant, the latter is replaced by lisp (in vc-sccs.el). | 65 | no longer relevant, the latter is replaced by lisp (in vc-sccs.el). |
| 65 | 66 | ||
| @@ -75,22 +76,9 @@ been adding them there, put them somewhere else; e.g., site-lisp. | |||
| 75 | 76 | ||
| 76 | * Changes in Emacs 24.3 | 77 | * Changes in Emacs 24.3 |
| 77 | 78 | ||
| 78 | ** Most `y-or-n' prompts now allow you to scroll the selected window. | 79 | ** Help |
| 79 | Typing `C-v' or `M-v' at a y-or-n prompt scrolls forward or backward | ||
| 80 | respectively, without exiting from the prompt. | ||
| 81 | |||
| 82 | ** Mode line changes | ||
| 83 | |||
| 84 | *** New option `mode-line-default-help-echo' specifies the help text | ||
| 85 | (shown in a tooltip or in the echo area) for any part of the mode line | ||
| 86 | that does not have its own specialized help text. | ||
| 87 | |||
| 88 | *** You can now click mouse-3 in the coding system indicator to invoke | ||
| 89 | `set-buffer-file-coding-system'. | ||
| 90 | |||
| 91 | ** Help changes | ||
| 92 | 80 | ||
| 93 | *** `C-h f' (describe-function) can now perform autoloading. | 81 | *** `C-h f' (`describe-function') can now perform autoloading. |
| 94 | When this command is called for an autoloaded function whose docstring | 82 | When this command is called for an autoloaded function whose docstring |
| 95 | contains a key substitution construct, that function's library is | 83 | contains a key substitution construct, that function's library is |
| 96 | automatically loaded, so that the documentation can be shown | 84 | automatically loaded, so that the documentation can be shown |
| @@ -100,16 +88,12 @@ correctly. To disable this, set `help-enable-auto-load' to nil. | |||
| 100 | even after their associated libraries have been loaded (and the | 88 | even after their associated libraries have been loaded (and the |
| 101 | autoloads have been redefined as functions). | 89 | autoloads have been redefined as functions). |
| 102 | 90 | ||
| 103 | ** Minibuffer changes | 91 | ** ImageMagick |
| 104 | |||
| 105 | *** In minibuffer filename prompts, `C-M-f' and `C-M-b' now move to the | ||
| 106 | next and previous path separator, respectively. | ||
| 107 | 92 | ||
| 108 | *** `minibuffer-electric-default-mode' can shorten "(default ...)" to "[...]" | 93 | *** Images displayed via ImageMagick now support transparency and the |
| 109 | in minibuffer prompts. Just set `minibuffer-eldef-shorten-default' | 94 | :background image specification property. |
| 110 | non-nil before enabling the mode. | ||
| 111 | 95 | ||
| 112 | ** ImageMagick support, if available, is automatically enabled. | 96 | *** When available, ImageMagick support is automatically enabled. |
| 113 | It is no longer necessary to call `imagemagick-register-types' | 97 | It is no longer necessary to call `imagemagick-register-types' |
| 114 | explicitly to install ImageMagick image types; that function is called | 98 | explicitly to install ImageMagick image types; that function is called |
| 115 | automatically at startup, or when customizing an imagemagick- option. | 99 | automatically at startup, or when customizing an imagemagick- option. |
| @@ -123,10 +107,25 @@ ImageMagick types are treated as images. The function | |||
| 123 | `imagemagick-filter-types' returns the list of types that will be | 107 | `imagemagick-filter-types' returns the list of types that will be |
| 124 | treated as images. | 108 | treated as images. |
| 125 | 109 | ||
| 126 | *** Images displayed via ImageMagick now support transparency and the | 110 | ** Minibuffer |
| 127 | :background image specification property. | ||
| 128 | 111 | ||
| 129 | ** Server and client changes | 112 | *** In minibuffer filename prompts, `C-M-f' and `C-M-b' now move to the |
| 113 | next and previous path separator, respectively. | ||
| 114 | |||
| 115 | *** `minibuffer-electric-default-mode' can shorten "(default ...)" to "[...]" | ||
| 116 | in minibuffer prompts. Just set `minibuffer-eldef-shorten-default' | ||
| 117 | non-nil before enabling the mode. | ||
| 118 | |||
| 119 | ** Mode line | ||
| 120 | |||
| 121 | *** New option `mode-line-default-help-echo' specifies the help text | ||
| 122 | (shown in a tooltip or in the echo area) for any part of the mode line | ||
| 123 | that does not have its own specialized help text. | ||
| 124 | |||
| 125 | *** You can now click mouse-3 in the coding system indicator to invoke | ||
| 126 | `set-buffer-file-coding-system'. | ||
| 127 | |||
| 128 | ** Server and client | ||
| 130 | 129 | ||
| 131 | *** emacsclient now obeys string values for `initial-buffer-choice', | 130 | *** emacsclient now obeys string values for `initial-buffer-choice', |
| 132 | if it is told to open a new frame without specifying any file to visit | 131 | if it is told to open a new frame without specifying any file to visit |
| @@ -134,40 +133,44 @@ or expression to evaluate. | |||
| 134 | 133 | ||
| 135 | *** New option `server-auth-key' specifies a shared server key. | 134 | *** New option `server-auth-key' specifies a shared server key. |
| 136 | 135 | ||
| 137 | ** In the Package Menu, newly-available packages are listed as "new", | ||
| 138 | and sorted above the other "available" packages by default. | ||
| 139 | |||
| 140 | ** `C-x C-q' is now bound to the new minor mode `read-only-mode'. | ||
| 141 | This minor mode replaces `toggle-read-only', which is now obsolete. | ||
| 142 | |||
| 143 | ** Emacs now generates backtraces on fatal errors. | 136 | ** Emacs now generates backtraces on fatal errors. |
| 144 | On encountering a fatal error, Emacs now outputs a textual description | 137 | On encountering a fatal error, Emacs now outputs a textual description |
| 145 | of the fatal signal, and a short backtrace on platforms like glibc | 138 | of the fatal signal, and a short backtrace on platforms like glibc |
| 146 | that support backtraces. | 139 | that support backtraces. |
| 147 | 140 | ||
| 141 | ** `C-x C-q' is now bound to the new minor mode `read-only-mode'. | ||
| 142 | This minor mode replaces `toggle-read-only', which is now obsolete. | ||
| 143 | |||
| 144 | ** Most `y-or-n' prompts now allow you to scroll the selected window. | ||
| 145 | Typing `C-v' or `M-v' at a y-or-n prompt scrolls forward or backward | ||
| 146 | respectively, without exiting from the prompt. | ||
| 147 | |||
| 148 | ** In the Package Menu, newly-available packages are listed as "new", | ||
| 149 | and sorted above the other "available" packages by default. | ||
| 150 | |||
| 148 | ** If your Emacs was built from a bzr checkout, the new variable | 151 | ** If your Emacs was built from a bzr checkout, the new variable |
| 149 | `emacs-bzr-version' contains information about the bzr revision used. | 152 | `emacs-bzr-version' contains information about the bzr revision used. |
| 150 | 153 | ||
| 151 | ** New variable `create-lockfiles' specifies usage of lockfiles. | 154 | ** New option `create-lockfiles' specifies usage of lockfiles. |
| 152 | It defaults to t. Changing it to nil inhibits the creation of lock | 155 | It defaults to t. Changing it to nil inhibits the creation of lock |
| 153 | files (use this with caution). | 156 | files (use this with caution). |
| 154 | 157 | ||
| 155 | ** Using "unibyte: t" in Lisp source files is obsolete. | 158 | ** New option `enable-remote-dir-locals', if non-nil, allows directory-local |
| 156 | Use "coding: raw-text" instead. | 159 | variables on remote hosts. |
| 157 | |||
| 158 | ** Setting `enable-remote-dir-locals' to non-nil allows directory | ||
| 159 | local variables on remote hosts. | ||
| 160 | 160 | ||
| 161 | ** The entry for PCL-CVS has been removed from the Tools menu. | 161 | ** The entry for PCL-CVS has been removed from the Tools menu. |
| 162 | The PCL-CVS commands are still available via the keyboard. | 162 | The PCL-CVS commands are still available via the keyboard. |
| 163 | 163 | ||
| 164 | ** Internationalization changes | 164 | ** Using "unibyte: t" in Lisp source files is obsolete. |
| 165 | Use "coding: raw-text" instead. | ||
| 166 | |||
| 167 | ** Internationalization | ||
| 165 | 168 | ||
| 166 | *** New language environment: Persian. | 169 | *** New language environment: Persian. |
| 167 | 170 | ||
| 168 | *** New input method `vietnamese-vni'. | 171 | *** New input method `vietnamese-vni'. |
| 169 | 172 | ||
| 170 | ** Nextstep (GNUstep / Mac OS X) port changes | 173 | ** Nextstep (GNUstep / Mac OS X) port |
| 171 | 174 | ||
| 172 | *** Support for fullscreen and the frame parameter fullscreen. | 175 | *** Support for fullscreen and the frame parameter fullscreen. |
| 173 | 176 | ||
| @@ -177,16 +180,7 @@ menu/toolbar. | |||
| 177 | 180 | ||
| 178 | * Editing Changes in Emacs 24.3 | 181 | * Editing Changes in Emacs 24.3 |
| 179 | 182 | ||
| 180 | ** Navigation command changes | 183 | ** Search and Replace |
| 181 | |||
| 182 | *** New binding `M-g c' for `goto-char'. | ||
| 183 | |||
| 184 | *** New binding `M-g TAB' for `move-to-column'. | ||
| 185 | |||
| 186 | *** `M-g TAB' (`move-to-column') prompts for a column number if called | ||
| 187 | interactively with no prefix arg. Previously, it moved to column 1. | ||
| 188 | |||
| 189 | ** Search and Replace changes | ||
| 190 | 184 | ||
| 191 | *** Non-regexp Isearch now performs "lax" space matching. | 185 | *** Non-regexp Isearch now performs "lax" space matching. |
| 192 | Each sequence of spaces in the supplied search string may match any | 186 | Each sequence of spaces in the supplied search string may match any |
| @@ -205,6 +199,25 @@ The default is nil. | |||
| 205 | and `M-s _' in Isearch toggles symbol search mode. | 199 | and `M-s _' in Isearch toggles symbol search mode. |
| 206 | `M-s c' in Isearch toggles search case-sensitivity. | 200 | `M-s c' in Isearch toggles search case-sensitivity. |
| 207 | 201 | ||
| 202 | ** Navigation commands | ||
| 203 | |||
| 204 | *** New binding `M-g c' for `goto-char'. | ||
| 205 | |||
| 206 | *** New binding `M-g TAB' for `move-to-column'. | ||
| 207 | |||
| 208 | *** `M-g TAB' (`move-to-column') prompts for a column number if called | ||
| 209 | interactively with no prefix arg. Previously, it moved to column 1. | ||
| 210 | |||
| 211 | ** New option `yank-handled-properties' allows processing of text | ||
| 212 | properties on yanked text, in ways that are more general than just | ||
| 213 | removing them (as is done by `yank-excluded-properties'). | ||
| 214 | |||
| 215 | ** New option `delete-trailing-lines' specifies whether | ||
| 216 | M-x delete-trailing-whitespace should delete trailing lines at the end | ||
| 217 | of the buffer. It defaults to t. | ||
| 218 | |||
| 219 | ** `C-u M-=' now counts lines/words/characters in the entire buffer. | ||
| 220 | |||
| 208 | ** `C-x 8 RET' is now bound to `insert-char', which is now a command. | 221 | ** `C-x 8 RET' is now bound to `insert-char', which is now a command. |
| 209 | `ucs-insert' is now an obsolete alias for `insert-char'. | 222 | `ucs-insert' is now an obsolete alias for `insert-char'. |
| 210 | 223 | ||
| @@ -212,11 +225,10 @@ and `M-s _' in Isearch toggles symbol search mode. | |||
| 212 | It used to be bound to `kill-this-buffer', but `z' is too easy to | 225 | It used to be bound to `kill-this-buffer', but `z' is too easy to |
| 213 | accidentally type. | 226 | accidentally type. |
| 214 | 227 | ||
| 215 | ** New option `delete-trailing-lines' specifies whether | 228 | ** New command `C-x r M-w' (`copy-rectangle-as-kill'). |
| 216 | M-x delete-trailing-whitespace should delete trailing lines at the end | 229 | It copies the region-rectangle as the last rectangle kill. |
| 217 | of the buffer. It defaults to t. | ||
| 218 | 230 | ||
| 219 | ** Register changes | 231 | ** Registers |
| 220 | 232 | ||
| 221 | *** `C-x r +' is now overloaded to invoke `append-to-register'. | 233 | *** `C-x r +' is now overloaded to invoke `append-to-register'. |
| 222 | 234 | ||
| @@ -224,45 +236,10 @@ of the buffer. It defaults to t. | |||
| 224 | the text to put between collected texts for use with | 236 | the text to put between collected texts for use with |
| 225 | M-x append-to-register and M-x prepend-to-register. | 237 | M-x append-to-register and M-x prepend-to-register. |
| 226 | 238 | ||
| 227 | ** `C-u M-=' now counts lines/words/characters in the entire buffer. | ||
| 228 | |||
| 229 | ** New command `C-x r M-w' (`copy-rectangle-as-kill'). | ||
| 230 | It copies the region-rectangle as the last rectangle kill. | ||
| 231 | |||
| 232 | ** New option `yank-handled-properties' allows processing of text | ||
| 233 | properties on yanked text, in ways that are more general than just | ||
| 234 | removing them, as done by `yank-excluded-properties'. | ||
| 235 | |||
| 236 | 239 | ||
| 237 | * Changes in Specialized Modes and Packages in Emacs 24.3 | 240 | * Changes in Specialized Modes and Packages in Emacs 24.3 |
| 238 | 241 | ||
| 239 | ** Apropos | 242 | ** Common Lisp emulation (CL) |
| 240 | |||
| 241 | *** The faces used by Apropos are now directly customizable. | ||
| 242 | These faces are named `apropos-symbol', `apropos-keybinding', and so on; | ||
| 243 | see the `apropos' Custom group for details. | ||
| 244 | |||
| 245 | *** The old options whose values specified faces to use have been removed | ||
| 246 | (i.e. `apropos-symbol-face', `apropos-keybinding-face', etc.). | ||
| 247 | |||
| 248 | ** Buffer Menu | ||
| 249 | |||
| 250 | *** This package has been rewritten to use Tabulated List mode. | ||
| 251 | |||
| 252 | *** Option `Buffer-menu-buffer+size-width' is now obsolete. | ||
| 253 | Use `Buffer-menu-name-width' and `Buffer-menu-size-width' instead. | ||
| 254 | |||
| 255 | ** Calendar | ||
| 256 | |||
| 257 | *** You can customize the header text that appears above each calendar month. | ||
| 258 | See the variable `calendar-month-header'. | ||
| 259 | |||
| 260 | *** New LaTeX calendar style, produced by `cal-tex-cursor-week2-summary'. | ||
| 261 | |||
| 262 | *** The calendars produced by cal-html include holidays. | ||
| 263 | Customize `cal-html-holidays' to change this. | ||
| 264 | |||
| 265 | ** CL | ||
| 266 | 243 | ||
| 267 | *** CL's main entry is now (require 'cl-lib). | 244 | *** CL's main entry is now (require 'cl-lib). |
| 268 | `cl-lib' is like the old `cl' except that it uses the namespace cleanly; | 245 | `cl-lib' is like the old `cl' except that it uses the namespace cleanly; |
| @@ -304,18 +281,77 @@ to nil rather than being made unbound. | |||
| 304 | `define-setf-expander' (use `gv-define-setter' or `gv-define-expander') | 281 | `define-setf-expander' (use `gv-define-setter' or `gv-define-expander') |
| 305 | `get-setf-method' no longer exists (see "Incompatible Lisp Changes") | 282 | `get-setf-method' no longer exists (see "Incompatible Lisp Changes") |
| 306 | 283 | ||
| 307 | ** New compilation option `compilation-always-kill'. | 284 | ** Diff mode |
| 308 | 285 | ||
| 309 | ** Customize | 286 | *** Changes are now highlighted using the same color scheme as in |
| 287 | modern VCSes. Deletions are displayed in red (new faces | ||
| 288 | `diff-refine-removed' and `smerge-refined-removed', and new definition | ||
| 289 | of `diff-removed'), insertions in green (new faces `diff-refine-added' | ||
| 290 | and `smerge-refined-added', and new definition of `diff-added'). | ||
| 310 | 291 | ||
| 311 | *** `custom-reset-button-menu' now defaults to t. | 292 | *** The variable `diff-use-changed-face' defines whether to use the |
| 293 | face `diff-changed', or `diff-removed' and `diff-added' to highlight | ||
| 294 | changes in context diffs. | ||
| 312 | 295 | ||
| 313 | *** Non-option variables are never matched in `customize-apropos' and | 296 | *** The new command `diff-delete-trailing-whitespace' removes trailing |
| 314 | `customize-apropos-options' (i.e., the prefix argument does nothing for | 297 | whitespace introduced by a diff. |
| 315 | these commands now). | ||
| 316 | 298 | ||
| 317 | ** `desktop-path' no longer includes the "." directory. | 299 | ** Ediff now uses the same color scheme as Diff mode. |
| 318 | Desktop files are now located in ~/.emacs.d by default. | 300 | |
| 301 | ** Python mode | ||
| 302 | |||
| 303 | A new version of python.el, which provides several new features, including: | ||
| 304 | per-buffer shells, better indentation, Python 3 support, and improved | ||
| 305 | shell-interaction compatible with iPython (and virtually any other | ||
| 306 | text based shell). | ||
| 307 | |||
| 308 | *** Some user options have been replaced/renamed, including (old -> new): | ||
| 309 | **** python-indent -> python-indent-offset | ||
| 310 | **** python-guess-indent -> python-indent-guess-indent-offset | ||
| 311 | **** python-pdbtrack-do-tracking-p -> python-pdbtrack-activate | ||
| 312 | **** python-use-skeletons -> python-skeleton-autoinsert | ||
| 313 | |||
| 314 | *** Some user options have been removed, including: | ||
| 315 | |||
| 316 | **** `python-indent-string-contents': Strings are never indented. | ||
| 317 | |||
| 318 | **** `python-honour-comment-indentation': | ||
| 319 | Comments are never considered as indentation markers themselves. | ||
| 320 | |||
| 321 | **** `python-continuation-offset': Indentation is automatically | ||
| 322 | calculated in a pep8 compliant way depending on the context. | ||
| 323 | |||
| 324 | **** `python-shell-prompt-alist', `python-shell-continuation-prompt-alist': | ||
| 325 | Have no direct mapping as the shell interaction is completely different. | ||
| 326 | |||
| 327 | **** `python-python-command', `python-jython-command': | ||
| 328 | Replaced by `python-shell-interpreter'. | ||
| 329 | |||
| 330 | **** `inferior-python-filter-regexp', `python-remove-cwd-from-path', | ||
| 331 | `python-pdbtrack-minor-mode-string', `python-source-modes': | ||
| 332 | No longer relevant. | ||
| 333 | |||
| 334 | *** Some commands have been replaced (old -> new): | ||
| 335 | **** python-insert-class -> python-skeleton-class | ||
| 336 | **** python-insert-def -> python-skeleton-def | ||
| 337 | **** python-insert-for -> python-skeleton-for | ||
| 338 | **** python-insert-if -> python-skeleton-if | ||
| 339 | **** python-insert-try/except -> python-skeleton-try | ||
| 340 | **** python-insert-try/finally -> python-skeleton-try | ||
| 341 | **** python-insert-while -> python-skeleton-while | ||
| 342 | **** python-find-function -> python-nav-jump-to-defun | ||
| 343 | **** python-next-statement -> python-nav-forward-sentence | ||
| 344 | **** python-previous-statement -> python-nav-backward-sentence | ||
| 345 | **** python-beginning-of-defun-function -> python-nav-beginning-of-defun | ||
| 346 | **** python-end-of-defun-function -> python-nav-end-of-defun | ||
| 347 | **** python-send-buffer -> python-shell-send-buffer | ||
| 348 | **** python-send-defun -> python-shell-send-defun | ||
| 349 | **** python-send-region -> python-shell-send-region | ||
| 350 | **** python-send-region-and-go -> emulate with python-shell-send-region | ||
| 351 | and python-shell-switch-to-shell | ||
| 352 | **** python-send-string -> python-shell-send-string | ||
| 353 | **** python-switch-to-python -> python-shell-switch-to-shell | ||
| 354 | **** python-describe-symbol -> python-eldoc-at-point | ||
| 319 | 355 | ||
| 320 | ** D-Bus | 356 | ** D-Bus |
| 321 | 357 | ||
| @@ -332,26 +368,14 @@ It can be interrupted by `C-g'. `dbus-call-method-non-blocking' is obsolete. | |||
| 332 | *** Signals can also be sent as unicast messages. | 368 | *** Signals can also be sent as unicast messages. |
| 333 | 369 | ||
| 334 | *** The argument list of `dbus-register-signal' has been extended, | 370 | *** The argument list of `dbus-register-signal' has been extended, |
| 335 | according to the new match rule types of D-Bus. See the manual for details. | 371 | according to the new match rule types of D-Bus. |
| 336 | 372 | ||
| 337 | *** `dbus-init-bus' supports private connections. | 373 | *** `dbus-init-bus' supports private connections. |
| 338 | 374 | ||
| 339 | *** There is a new function `dbus-setenv'. | 375 | *** There is a new function `dbus-setenv'. |
| 340 | 376 | ||
| 341 | ** Diff mode | 377 | ** `desktop-path' no longer includes the "." directory. |
| 342 | 378 | Desktop files are now located in ~/.emacs.d by default. | |
| 343 | *** Changes are now highlighted using the same color scheme as in | ||
| 344 | modern VCSes. Deletions are displayed in red (new faces | ||
| 345 | `diff-refine-removed' and `smerge-refined-removed', and new definition | ||
| 346 | of `diff-removed'), insertions in green (new faces `diff-refine-added' | ||
| 347 | and `smerge-refined-added', and new definition of `diff-added'). | ||
| 348 | |||
| 349 | *** The variable `diff-use-changed-face' defines whether to use the | ||
| 350 | face `diff-changed', or `diff-removed' and `diff-added' to highlight | ||
| 351 | changes in context diffs. | ||
| 352 | |||
| 353 | *** The new command `diff-delete-trailing-whitespace' removes trailing | ||
| 354 | whitespace introduced by a diff. | ||
| 355 | 379 | ||
| 356 | ** Dired | 380 | ** Dired |
| 357 | 381 | ||
| @@ -374,8 +398,6 @@ In Transient Mark mode the default is the file at the active mark. | |||
| 374 | *** `M-=' is no longer bound to `dired-backup-diff' in Dired buffers. | 398 | *** `M-=' is no longer bound to `dired-backup-diff' in Dired buffers. |
| 375 | The global binding for `M-=', `count-words-region' is in effect. | 399 | The global binding for `M-=', `count-words-region' is in effect. |
| 376 | 400 | ||
| 377 | ** Ediff now uses the same color scheme as Diff mode. | ||
| 378 | |||
| 379 | ** ERC | 401 | ** ERC |
| 380 | 402 | ||
| 381 | *** New module "notifications", which can send a notification when you | 403 | *** New module "notifications", which can send a notification when you |
| @@ -387,130 +409,78 @@ channel keys found. | |||
| 387 | *** New option `erc-lurker-hide-list', similar to `erc-hide-list', but | 409 | *** New option `erc-lurker-hide-list', similar to `erc-hide-list', but |
| 388 | only applies to messages sent by lurkers. | 410 | only applies to messages sent by lurkers. |
| 389 | 411 | ||
| 390 | ** Flymake uses fringe bitmaps to indicate errors and warnings. | 412 | ** reStructuredText mode |
| 391 | See `flymake-fringe-indicator-position', `flymake-error-bitmap' and | ||
| 392 | `flymake-warning-bitmap'. | ||
| 393 | |||
| 394 | ** Follow mode no longer works by using advice. | ||
| 395 | The option `follow-intercept-processes' has been removed. | ||
| 396 | |||
| 397 | ** The FFAP option `ffap-url-unwrap-remote' can now be a list of strings, | ||
| 398 | specifying URL types that should be converted to remote file names at | ||
| 399 | the FFAP prompt. The default is now '("ftp"). | ||
| 400 | |||
| 401 | ** New Ibuffer `derived-mode' filter, bound to `/ M'. | ||
| 402 | The old binding for `/ M' (filter by used-mode) is now bound to `/ m'. | ||
| 403 | |||
| 404 | ** `javascript-generic-mode' is now an obsolete alias for `js-mode'. | ||
| 405 | 413 | ||
| 406 | ** New option `mouse-avoidance-banish-position' specifies where the | 414 | *** Keybindings (see `C-c C-h'), TAB indentation, filling and auto-filling, |
| 407 | `banish' mouse avoidance setting moves the mouse. | 415 | fontification, comment handling, and customization have all been revised |
| 416 | and improved. | ||
| 408 | 417 | ||
| 409 | ** notifications.el supports now version 1.2 of the Notifications API. | 418 | *** Support for `imenu' and `which-function-mode'. |
| 410 | The function `notifications-get-capabilities' returns the supported | ||
| 411 | server properties. | ||
| 412 | 419 | ||
| 413 | ** In Perl mode, new option `perl-indent-parens-as-block' causes non-block | 420 | *** The reStructuredText syntax is more closely covered. |
| 414 | closing brackets to be aligned with the line of the opening bracket. | 421 | Sphinx support has been improved. |
| 415 | 422 | ||
| 416 | ** In Proced mode, new command `proced-renice' renices marked processes. | 423 | *** `rst-insert-list' inserts new list or continues existing lists. |
| 417 | 424 | ||
| 418 | ** Python mode | 425 | *** A negative prefix argument always works for `rst-adjust'. |
| 419 | 426 | ||
| 420 | A new version of python.el, which provides several new features, including: | 427 | *** The window configuration is reset after displaying a TOC. |
| 421 | per-buffer shells, better indentation, Python 3 support, and improved | ||
| 422 | shell-interaction compatible with iPython (and virtually any other | ||
| 423 | text based shell). | ||
| 424 | 428 | ||
| 425 | *** Some user options have been replaced/renamed, including: | 429 | *** The constant `rst-version' describes the rst.el package version. |
| 426 | Old defcustom: | New defcustom: | ||
| 427 | python-indent | python-indent-offset | ||
| 428 | python-guess-indent | python-indent-guess-indent-offset | ||
| 429 | python-pdbtrack-do-tracking-p | python-pdbtrack-activate | ||
| 430 | python-use-skeletons | python-skeleton-autoinsert | ||
| 431 | 430 | ||
| 432 | *** Some user options have been removed, including: | 431 | ** Shell Script mode |
| 433 | 432 | ||
| 434 | **** `python-indent-string-contents': Strings are never indented. | 433 | *** Pairing of parens/quotes uses `electric-pair-mode' instead of skeleton-pair. |
| 435 | 434 | ||
| 436 | **** `python-honour-comment-indentation': | 435 | *** `sh-electric-here-document-mode' now controls auto-insertion of here-docs. |
| 437 | Comments are never considered as indentation markers themselves. | ||
| 438 | 436 | ||
| 439 | **** `python-continuation-offset': Indentation is automatically | 437 | *** `sh-use-smie' lets you choose a new indentation and navigation code. |
| 440 | calculated in a pep8 compliant way depending on the context. | ||
| 441 | 438 | ||
| 442 | **** `python-shell-prompt-alist', `python-shell-continuation-prompt-alist': | 439 | ** VHDL mode |
| 443 | Have no direct mapping as the shell interaction is completely different. | ||
| 444 | 440 | ||
| 445 | **** `python-python-command', `python-jython-command': | 441 | *** The free software compiler GHDL is supported (and now the default). |
| 446 | Replaced by `python-shell-interpreter'. | ||
| 447 | 442 | ||
| 448 | **** `inferior-python-filter-regexp', `python-remove-cwd-from-path', | 443 | *** Support for the VHDL-AMS packages has been added/updated. |
| 449 | `python-pdbtrack-minor-mode-string', `python-source-modes': | ||
| 450 | No longer relevant. | ||
| 451 | 444 | ||
| 452 | *** Some commands have been replaced: | 445 | *** Updated to the 2002 revision of the VHDL standard. |
| 453 | Old command | New command | ||
| 454 | python-insert-class | python-skeleton-class | ||
| 455 | python-insert-def | python-skeleton-def | ||
| 456 | python-insert-for | python-skeleton-for | ||
| 457 | python-insert-if | python-skeleton-if | ||
| 458 | python-insert-try/except | python-skeleton-try | ||
| 459 | python-insert-try/finally | python-skeleton-try | ||
| 460 | python-insert-while | python-skeleton-while | ||
| 461 | python-find-function | python-nav-jump-to-defun | ||
| 462 | python-next-statement | python-nav-forward-sentence | ||
| 463 | python-previous-statement | python-nav-backward-sentence | ||
| 464 | python-beginning-of-defun-function | python-nav-beginning-of-defun | ||
| 465 | python-end-of-defun-function | python-nav-end-of-defun | ||
| 466 | python-send-buffer | python-shell-send-buffer | ||
| 467 | python-send-defun | python-shell-send-defun | ||
| 468 | python-send-region | python-shell-send-region | ||
| 469 | python-send-region-and-go | Emulate with python-shell-send-region and | ||
| 470 | python-shell-switch-to-shell | ||
| 471 | python-send-string | python-shell-send-string | ||
| 472 | python-switch-to-python | python-shell-switch-to-shell | ||
| 473 | python-describe-symbol | python-eldoc-at-point | ||
| 474 | 446 | ||
| 475 | ** reStructuredText mode | 447 | *** Accepts \r and \f as whitespace. |
| 476 | 448 | ||
| 477 | *** Keybindings (see `C-c C-h'), TAB indentation, filling and auto-filling, | 449 | ** Apropos |
| 478 | fontification, comment handling, and customization have all been revised | ||
| 479 | and improved. | ||
| 480 | 450 | ||
| 481 | *** Support for `imenu' and `which-function-mode'. | 451 | *** The faces used by Apropos are now directly customizable. |
| 452 | These faces are named `apropos-symbol', `apropos-keybinding', and so on; | ||
| 453 | see the `apropos' Custom group for details. | ||
| 482 | 454 | ||
| 483 | *** The reStructuredText syntax is more closely covered. | 455 | *** The old options whose values specified faces to use have been removed |
| 484 | Sphinx support has been improved. | 456 | (i.e. `apropos-symbol-face', `apropos-keybinding-face', etc.). |
| 485 | 457 | ||
| 486 | *** `rst-insert-list' inserts new list or continues existing lists. | 458 | ** Buffer Menu |
| 487 | 459 | ||
| 488 | *** A negative prefix argument always works for `rst-adjust'. | 460 | *** This package has been rewritten to use Tabulated List mode. |
| 489 | 461 | ||
| 490 | *** The window configuration is reset after displaying a TOC. | 462 | *** Option `Buffer-menu-buffer+size-width' is now obsolete. |
| 463 | Use `Buffer-menu-name-width' and `Buffer-menu-size-width' instead. | ||
| 491 | 464 | ||
| 492 | *** The constant `rst-version' describes the rst.el package version. | 465 | ** Calendar |
| 493 | 466 | ||
| 494 | ** Shell Script mode | 467 | *** You can customize the header text that appears above each calendar month. |
| 468 | See the variable `calendar-month-header'. | ||
| 495 | 469 | ||
| 496 | *** Pairing of parens/quotes uses `electric-pair-mode' instead of skeleton-pair. | 470 | *** New LaTeX calendar style, produced by `cal-tex-cursor-week2-summary'. |
| 497 | 471 | ||
| 498 | *** `sh-electric-here-document-mode' now controls auto-insertion of here-docs. | 472 | *** The calendars produced by cal-html include holidays. |
| 473 | Customize `cal-html-holidays' to change this. | ||
| 499 | 474 | ||
| 500 | *** `sh-use-smie' lets you choose a new indentation and navigation code. | 475 | ** Compile has a new option `compilation-always-kill'. |
| 501 | 476 | ||
| 502 | ** New option `async-shell-command-buffer' specifies the buffer to use | 477 | ** Customize |
| 503 | for a new asynchronous `shell-command' when the default output buffer | ||
| 504 | `*Async Shell Command*' is already in use. | ||
| 505 | 478 | ||
| 506 | ** SQL mode has a new option `sql-db2-escape-newlines'. | 479 | *** `custom-reset-button-menu' now defaults to t. |
| 507 | If non-nil, newlines sent to the command interpreter will be escaped | ||
| 508 | by a backslash. The default does not escape the newlines and assumes | ||
| 509 | that the sql statement will be terminated by a semicolon. | ||
| 510 | 480 | ||
| 511 | ** New command `tabulated-list-sort', bound to `S' in Tabulated List mode | 481 | *** Non-option variables are never matched in `customize-apropos' and |
| 512 | (and modes that derive from it), sorts the column at point, or the Nth | 482 | `customize-apropos-options' (i.e., the prefix argument does nothing for |
| 513 | column if a numeric prefix argument is given. | 483 | these commands now). |
| 514 | 484 | ||
| 515 | ** Term | 485 | ** Term |
| 516 | 486 | ||
| @@ -524,7 +494,6 @@ by customizing the corresponding `term-color-<COLOR>', | |||
| 524 | ** Tramp | 494 | ** Tramp |
| 525 | 495 | ||
| 526 | *** The syntax has been extended in order to allow ad-hoc proxy definitions. | 496 | *** The syntax has been extended in order to allow ad-hoc proxy definitions. |
| 527 | See the manual for details. | ||
| 528 | 497 | ||
| 529 | *** Remote processes are now also supported on remote MS-Windows hosts. | 498 | *** Remote processes are now also supported on remote MS-Windows hosts. |
| 530 | 499 | ||
| @@ -540,22 +509,53 @@ and the `attributes' slot is always nil. | |||
| 540 | The `url-retrieve' function now uses this to encode its URL argument, | 509 | The `url-retrieve' function now uses this to encode its URL argument, |
| 541 | in case that is not properly encoded. | 510 | in case that is not properly encoded. |
| 542 | 511 | ||
| 543 | ** VHDL mode | 512 | ** notifications.el supports now version 1.2 of the Notifications API. |
| 513 | The function `notifications-get-capabilities' returns the supported | ||
| 514 | server properties. | ||
| 544 | 515 | ||
| 545 | *** The free software compiler GHDL is supported (and now the default). | 516 | ** Flymake uses fringe bitmaps to indicate errors and warnings. |
| 517 | See `flymake-fringe-indicator-position', `flymake-error-bitmap' and | ||
| 518 | `flymake-warning-bitmap'. | ||
| 546 | 519 | ||
| 547 | *** Support for the VHDL-AMS packages has been added/updated. | 520 | ** The FFAP option `ffap-url-unwrap-remote' can now be a list of strings, |
| 521 | specifying URL types that should be converted to remote file names at | ||
| 522 | the FFAP prompt. The default is now '("ftp"). | ||
| 548 | 523 | ||
| 549 | *** Updated to the 2002 revision of the VHDL standard. | 524 | ** New Ibuffer `derived-mode' filter, bound to `/ M'. |
| 525 | The old binding for `/ M' (filter by used-mode) is now bound to `/ m'. | ||
| 550 | 526 | ||
| 551 | *** Accepts \r and \f as whitespace. | 527 | ** New option `mouse-avoidance-banish-position' specifies where the |
| 528 | `banish' mouse avoidance setting moves the mouse. | ||
| 529 | |||
| 530 | ** In Perl mode, new option `perl-indent-parens-as-block' causes non-block | ||
| 531 | closing brackets to be aligned with the line of the opening bracket. | ||
| 532 | |||
| 533 | ** In Proced mode, new command `proced-renice' renices marked processes. | ||
| 534 | |||
| 535 | ** New option `async-shell-command-buffer' specifies the buffer to use | ||
| 536 | for a new asynchronous `shell-command' when the default output buffer | ||
| 537 | `*Async Shell Command*' is already in use. | ||
| 538 | |||
| 539 | ** SQL mode has a new option `sql-db2-escape-newlines'. | ||
| 540 | If non-nil, newlines sent to the command interpreter will be escaped | ||
| 541 | by a backslash. The default does not escape the newlines and assumes | ||
| 542 | that the sql statement will be terminated by a semicolon. | ||
| 543 | |||
| 544 | ** New command `tabulated-list-sort', bound to `S' in Tabulated List mode | ||
| 545 | (and modes that derive from it), sorts the column at point, or the Nth | ||
| 546 | column if a numeric prefix argument is given. | ||
| 552 | 547 | ||
| 553 | ** `which-func-modes' now defaults to t, so Which Function mode, when | 548 | ** `which-func-modes' now defaults to t, so Which Function mode, when |
| 554 | enabled, applies to all applicable major modes. | 549 | enabled, applies to all applicable major modes. |
| 555 | 550 | ||
| 556 | ** winner-mode-hook now runs when the mode is disabled, as well as when | 551 | ** `winner-mode-hook' now runs when the mode is disabled, as well as when |
| 557 | it is enabled. | 552 | it is enabled. |
| 558 | 553 | ||
| 554 | ** Follow mode no longer works by using advice. | ||
| 555 | The option `follow-intercept-processes' has been removed. | ||
| 556 | |||
| 557 | ** `javascript-generic-mode' is now an obsolete alias for `js-mode'. | ||
| 558 | |||
| 559 | ** Hooks renamed to avoid obsolete "-hooks" suffix: | 559 | ** Hooks renamed to avoid obsolete "-hooks" suffix: |
| 560 | *** semantic-lex-reset-hooks -> semantic-lex-reset-functions | 560 | *** semantic-lex-reset-hooks -> semantic-lex-reset-functions |
| 561 | *** semantic-change-hooks -> semantic-change-functions | 561 | *** semantic-change-hooks -> semantic-change-functions |
| @@ -580,7 +580,7 @@ it is enabled. | |||
| 580 | *** nndiary-request-accept-article-hooks -> nndiary-request-accept-article-functions | 580 | *** nndiary-request-accept-article-hooks -> nndiary-request-accept-article-functions |
| 581 | *** gnus-subscribe-newsgroup-hooks -> gnus-subscribe-newsgroup-functions | 581 | *** gnus-subscribe-newsgroup-hooks -> gnus-subscribe-newsgroup-functions |
| 582 | 582 | ||
| 583 | ** Obsolete packages: | 583 | ** Obsolete packages |
| 584 | 584 | ||
| 585 | *** assoc.el | 585 | *** assoc.el |
| 586 | In most cases, assoc+member+push+delq work just as well. | 586 | In most cases, assoc+member+push+delq work just as well. |
| @@ -602,17 +602,21 @@ inefficiency, and not namespace-clean. | |||
| 602 | 602 | ||
| 603 | * Incompatible Lisp Changes in Emacs 24.3 | 603 | * Incompatible Lisp Changes in Emacs 24.3 |
| 604 | 604 | ||
| 605 | ** set-buffer-multibyte now signals an error in narrowed buffers. | 605 | ** Docstrings starting with `*' no longer indicate user options. |
| 606 | Only variables defined using `defcustom' are considered user options. | ||
| 607 | The function `user-variable-p' is now an obsolete alias for | ||
| 608 | `custom-variable-p'. | ||
| 609 | |||
| 610 | ** The return values of `defalias', `defun' and `defmacro' have changed, | ||
| 611 | and are now undefined. For backwards compatibility, `defun' and | ||
| 612 | `defmacro' currently return the name of the newly defined | ||
| 613 | function/macro, but this should not be relied upon. | ||
| 606 | 614 | ||
| 607 | ** `random' by default now returns a different random sequence in | 615 | ** `random' by default now returns a different random sequence in |
| 608 | every Emacs run. Use `(random S)', where S is a string, to set the | 616 | every Emacs run. Use `(random S)', where S is a string, to set the |
| 609 | random seed to a value based on S, in order to get a repeatable | 617 | random seed to a value based on S, in order to get a repeatable |
| 610 | sequence in later calls. | 618 | sequence in later calls. |
| 611 | 619 | ||
| 612 | ** The function `x-select-font' can return a font spec, instead of a | ||
| 613 | font name as a string. Whether it returns a font spec or a font name | ||
| 614 | depends on the graphical library. | ||
| 615 | |||
| 616 | ** If the NEWTEXT arg to `replace-match' contains a substring "\?", | 620 | ** If the NEWTEXT arg to `replace-match' contains a substring "\?", |
| 617 | that substring is inserted literally even if the LITERAL arg is | 621 | that substring is inserted literally even if the LITERAL arg is |
| 618 | non-nil, instead of causing an error to be signaled. | 622 | non-nil, instead of causing an error to be signaled. |
| @@ -620,22 +624,14 @@ non-nil, instead of causing an error to be signaled. | |||
| 620 | ** `select-window' now always makes the window's buffer current. | 624 | ** `select-window' now always makes the window's buffer current. |
| 621 | It does so even if the window was selected before. | 625 | It does so even if the window was selected before. |
| 622 | 626 | ||
| 623 | ** Docstrings starting with `*' no longer indicate user options. | 627 | ** The function `x-select-font' can return a font spec, instead of a |
| 624 | Only variables defined using `defcustom' are considered user options. | 628 | font name as a string. Whether it returns a font spec or a font name |
| 625 | The function `user-variable-p' is now an obsolete alias for | 629 | depends on the graphical library. |
| 626 | `custom-variable-p'. | ||
| 627 | |||
| 628 | ** The return values of `defalias', `defun' and `defmacro' have changed, | ||
| 629 | and are now undefined. For backwards compatibility, `defun' and | ||
| 630 | `defmacro' currently return the name of the newly defined | ||
| 631 | function/macro, but this should not be relied upon. | ||
| 632 | 630 | ||
| 633 | ** `face-spec-set' no longer sets frame-specific attributes when the | 631 | ** `face-spec-set' no longer sets frame-specific attributes when the |
| 634 | third argument is a frame (that usage was obsolete since Emacs 22.2). | 632 | third argument is a frame (that usage was obsolete since Emacs 22.2). |
| 635 | 633 | ||
| 636 | ** The arguments of `dbus-register-signal' are no longer just strings, | 634 | ** `set-buffer-multibyte' now signals an error in narrowed buffers. |
| 637 | but keywords or keyword-string pairs. The old argument list will | ||
| 638 | still be supported for Emacs 24.x. | ||
| 639 | 635 | ||
| 640 | ** The CL package's `get-setf-method' function no longer exists. | 636 | ** The CL package's `get-setf-method' function no longer exists. |
| 641 | Generalized variables are now part of core Emacs Lisp, and implemented | 637 | Generalized variables are now part of core Emacs Lisp, and implemented |
| @@ -643,7 +639,11 @@ differently to the way cl.el used to do it. It is not possible to | |||
| 643 | define a compatible replacement for `get-setf-method'. See the file | 639 | define a compatible replacement for `get-setf-method'. See the file |
| 644 | gv.el for internal details of the new implementation. | 640 | gv.el for internal details of the new implementation. |
| 645 | 641 | ||
| 646 | ** Spelling changes. | 642 | ** The arguments of `dbus-register-signal' are no longer just strings, |
| 643 | but keywords or keyword-string pairs. The old argument list will | ||
| 644 | still be supported for Emacs 24.x. | ||
| 645 | |||
| 646 | ** Miscellaneous name changes | ||
| 647 | Some Lisp symbols have been renamed to correct their spelling, | 647 | Some Lisp symbols have been renamed to correct their spelling, |
| 648 | or to be more consistent with standard Emacs terminology. | 648 | or to be more consistent with standard Emacs terminology. |
| 649 | 649 | ||
| @@ -664,7 +664,7 @@ are deprecated and will be removed eventually. | |||
| 664 | **** robin-inactivate-hook -> robin-deactivate-hook | 664 | **** robin-inactivate-hook -> robin-deactivate-hook |
| 665 | **** quail-inactivate-hook -> quail-deactivate-hook | 665 | **** quail-inactivate-hook -> quail-deactivate-hook |
| 666 | 666 | ||
| 667 | *** Renamed Lisp variables | 667 | *** Renamed variables |
| 668 | **** follow-deactive-menu -> follow-inactive-menu | 668 | **** follow-deactive-menu -> follow-inactive-menu |
| 669 | **** inactivate-current-input-method-function -> | 669 | **** inactivate-current-input-method-function -> |
| 670 | deactivate-current-input-method-function | 670 | deactivate-current-input-method-function |
| @@ -693,22 +693,32 @@ are deprecated and will be removed eventually. | |||
| 693 | 693 | ||
| 694 | * Lisp changes in Emacs 24.3 | 694 | * Lisp changes in Emacs 24.3 |
| 695 | 695 | ||
| 696 | ** New sampling-based Elisp profiler. | ||
| 697 | Try M-x profiler-start, do some work, and then call M-x profiler-report. | ||
| 698 | When finished, use M-x profiler-stop. The sampling rate can be based on | ||
| 699 | CPU time or memory allocations. | ||
| 700 | |||
| 701 | ** CL-style generalized variables are now in core Elisp. | 696 | ** CL-style generalized variables are now in core Elisp. |
| 702 | `setf' is autoloaded; `push' and `pop' accept generalized variables. | 697 | `setf' is autoloaded; `push' and `pop' accept generalized variables. |
| 703 | You can define your own generalized variables using `gv-define-simple-setter', | 698 | You can define your own generalized variables using `gv-define-simple-setter', |
| 704 | `gv-define-setter', etc. | 699 | `gv-define-setter', etc. |
| 705 | 700 | ||
| 701 | ** Emacs tries to macroexpand interpreted (non-compiled) files during load. | ||
| 702 | This can significantly speed up execution of non-byte-compiled code, | ||
| 703 | but can also bump into previously unnoticed cyclic dependencies. | ||
| 704 | These are generally harmless: they will simply cause the macro calls | ||
| 705 | to be left for later expansion (as before), but will result in a | ||
| 706 | warning ("Eager macro-expansion skipped due to cycle") describing the cycle. | ||
| 707 | You may wish to restructure your code so this does not happen. | ||
| 708 | |||
| 709 | ** New sampling-based Elisp profiler. | ||
| 710 | Try M-x profiler-start, do some work, and then call M-x profiler-report. | ||
| 711 | When finished, use M-x profiler-stop. The sampling rate can be based on | ||
| 712 | CPU time or memory allocations. | ||
| 713 | |||
| 706 | ** `defun' also accepts a (declare DECLS) form, like `defmacro'. | 714 | ** `defun' also accepts a (declare DECLS) form, like `defmacro'. |
| 707 | The interpretation of the DECLS is determined by `defun-declarations-alist'. | 715 | The interpretation of the DECLS is determined by `defun-declarations-alist'. |
| 708 | 716 | ||
| 709 | ** Minibuffer | 717 | ** New macros `setq-local' and `defvar-local'. |
| 710 | 718 | ||
| 711 | *** `read-regexp' has a new argument HISTORY; the first argument PROMPT | 719 | ** Face underlining can now use a wave. |
| 720 | |||
| 721 | ** `read-regexp' has a new argument HISTORY; the first argument PROMPT | ||
| 712 | of `read-regexp' accepts a string ending with a colon and space, and its | 722 | of `read-regexp' accepts a string ending with a colon and space, and its |
| 713 | second argument DEFAULTS can be a list of strings accessible via `M-n' | 723 | second argument DEFAULTS can be a list of strings accessible via `M-n' |
| 714 | in the minibuffer ahead of other hard-coded useful regexp-related values. | 724 | in the minibuffer ahead of other hard-coded useful regexp-related values. |
| @@ -722,7 +732,7 @@ in the presence of quoting, such as file completion in shell buffers. | |||
| 722 | *** New function `completion-table-subvert' to use an existing completion | 732 | *** New function `completion-table-subvert' to use an existing completion |
| 723 | table, but with a different prefix. | 733 | table, but with a different prefix. |
| 724 | 734 | ||
| 725 | ** Debugger changes | 735 | ** Debugger |
| 726 | 736 | ||
| 727 | *** New error type and new function `user-error'. | 737 | *** New error type and new function `user-error'. |
| 728 | These do not trigger the debugger. | 738 | These do not trigger the debugger. |
| @@ -737,12 +747,13 @@ to work out which code is doing something. | |||
| 737 | *** New var `inhibit-debugger', automatically set to prevent accidental | 747 | *** New var `inhibit-debugger', automatically set to prevent accidental |
| 738 | recursive invocations. | 748 | recursive invocations. |
| 739 | 749 | ||
| 740 | ** Window changes | 750 | ** Window handling |
| 741 | 751 | ||
| 742 | *** The functions `get-lru-window', `get-mru-window' and `get-largest-window' | 752 | *** New command `fit-frame-to-buffer' adjusts the frame height to |
| 743 | now accept a third argument to avoid choosing the selected window. | 753 | fit the contents. |
| 744 | 754 | ||
| 745 | *** Additional values recognized for option `window-combination-limit'. | 755 | *** The command `fit-window-to-buffer' can adjust the frame height |
| 756 | if the new option `fit-frame-to-buffer' is non-nil. | ||
| 746 | 757 | ||
| 747 | *** New macro `with-temp-buffer-window', similar to | 758 | *** New macro `with-temp-buffer-window', similar to |
| 748 | `with-output-to-temp-buffer'. | 759 | `with-output-to-temp-buffer'. |
| @@ -750,30 +761,29 @@ now accept a third argument to avoid choosing the selected window. | |||
| 750 | *** `temp-buffer-resize-mode' no longer resizes windows that have been | 761 | *** `temp-buffer-resize-mode' no longer resizes windows that have been |
| 751 | reused. | 762 | reused. |
| 752 | 763 | ||
| 753 | *** New command `fit-frame-to-buffer' adjusts the frame height to | ||
| 754 | fit the contents. | ||
| 755 | |||
| 756 | *** The command `fit-window-to-buffer' can adjust the frame height | ||
| 757 | if the new option `fit-frame-to-buffer' is non-nil. | ||
| 758 | |||
| 759 | *** New option `switch-to-buffer-preserve-window-point' to restore a | 764 | *** New option `switch-to-buffer-preserve-window-point' to restore a |
| 760 | window's point when switching buffers. | 765 | window's point when switching buffers. |
| 761 | 766 | ||
| 762 | *** New display action functions `display-buffer-below-selected', | 767 | *** New display action alist entries `window-height' and `window-width' |
| 763 | and `display-buffer-in-previous-window'. | 768 | specify the size of new windows created by `display-buffer'. |
| 769 | |||
| 770 | *** New display action alist entry `pop-up-frame-parameters', if | ||
| 771 | non-nil, specifies frame parameters to give any newly-created frame. | ||
| 764 | 772 | ||
| 765 | *** New display action alist entry `inhibit-switch-frame', if non-nil, | 773 | *** New display action alist entry `inhibit-switch-frame', if non-nil, |
| 766 | tells display action functions to avoid changing which frame is | 774 | tells display action functions to avoid changing which frame is |
| 767 | selected. | 775 | selected. |
| 768 | 776 | ||
| 769 | *** New display action alist entry `pop-up-frame-parameters', if | ||
| 770 | non-nil, specifies frame parameters to give any newly-created frame. | ||
| 771 | |||
| 772 | *** New display action alist entry `previous-window', if non-nil, | 777 | *** New display action alist entry `previous-window', if non-nil, |
| 773 | specifies window to reuse in `display-buffer-in-previous-window'. | 778 | specifies window to reuse in `display-buffer-in-previous-window'. |
| 774 | 779 | ||
| 775 | *** New display action alist entries `window-height' and `window-width' | 780 | *** New display action functions `display-buffer-below-selected', |
| 776 | specify the size of new windows created by `display-buffer'. | 781 | and `display-buffer-in-previous-window'. |
| 782 | |||
| 783 | *** The functions `get-lru-window', `get-mru-window' and `get-largest-window' | ||
| 784 | now accept a third argument to avoid choosing the selected window. | ||
| 785 | |||
| 786 | *** Additional values recognized for option `window-combination-limit'. | ||
| 777 | 787 | ||
| 778 | *** The following variables are obsolete, as they can be replaced by | 788 | *** The following variables are obsolete, as they can be replaced by |
| 779 | appropriate entries in the `display-buffer-alist' function introduced | 789 | appropriate entries in the `display-buffer-alist' function introduced |
| @@ -813,15 +823,18 @@ Previously, they returned NaNs on some platforms but signaled errors | |||
| 813 | on others. The affected functions are acos, asin, tan, exp, expt, | 823 | on others. The affected functions are acos, asin, tan, exp, expt, |
| 814 | log, log10, sqrt, and mod. | 824 | log, log10, sqrt, and mod. |
| 815 | 825 | ||
| 816 | ** Emacs tries to macroexpand interpreted (non-compiled) files during load. | 826 | ** New fringe bitmap `exclamation-mark'. |
| 817 | This can significantly speed up execution of non-byte-compiled code, | ||
| 818 | but can also bump into previously unnoticed cyclic dependencies. | ||
| 819 | These are generally harmless: they will simply cause the macro calls | ||
| 820 | to be left for later expansion (as before), but will result in a | ||
| 821 | warning ("Eager macro-expansion skipped due to cycle") describing the cycle. | ||
| 822 | You may wish to restructure your code so this does not happen. | ||
| 823 | 827 | ||
| 824 | ** Miscellaneous new functions: | 828 | ** Miscellaneous changes to special forms and macros |
| 829 | |||
| 830 | *** `defun' and `defmacro' are now macros rather than special forms. | ||
| 831 | |||
| 832 | *** `kbd' is now a function rather than a macro. | ||
| 833 | |||
| 834 | ** Miscellaneous new functions | ||
| 835 | |||
| 836 | *** `set-temporary-overlay-map' sets up a temporary keymap that | ||
| 837 | takes precedence over most other maps for a short while (normally one key). | ||
| 825 | 838 | ||
| 826 | *** `autoloadp' tests if its argument is an autoloaded object. | 839 | *** `autoloadp' tests if its argument is an autoloaded object. |
| 827 | 840 | ||
| @@ -835,41 +848,19 @@ You may wish to restructure your code so this does not happen. | |||
| 835 | 848 | ||
| 836 | *** `posnp' tests if an object is a `posn'. | 849 | *** `posnp' tests if an object is a `posn'. |
| 837 | 850 | ||
| 838 | *** `set-temporary-overlay-map' sets up a temporary keymap that | ||
| 839 | takes precedence over most other maps for a short while (normally one key). | ||
| 840 | |||
| 841 | *** `system-users' returns the user names on the system. | 851 | *** `system-users' returns the user names on the system. |
| 842 | 852 | ||
| 843 | *** `system-groups' returns the group names on the system. | 853 | *** `system-groups' returns the group names on the system. |
| 844 | 854 | ||
| 845 | *** `tty-top-frame' returns the topmost frame of a text terminal. | 855 | *** `tty-top-frame' returns the topmost frame of a text terminal. |
| 846 | 856 | ||
| 847 | ** New macros `setq-local' and `defvar-local'. | ||
| 848 | |||
| 849 | ** Changes to special forms and macros | ||
| 850 | |||
| 851 | *** `defun' and `defmacro' are now macros rather than special forms. | ||
| 852 | |||
| 853 | *** `kbd' is now a function rather than a macro. | ||
| 854 | |||
| 855 | ** New fringe bitmap `exclamation-mark'. | ||
| 856 | |||
| 857 | ** Face underlining can now use a wave. | ||
| 858 | |||
| 859 | ** The following functions and variables are obsolete: | 857 | ** The following functions and variables are obsolete: |
| 860 | |||
| 861 | *** `automount-dir-prefix' (use `directory-abbrev-alist') | 858 | *** `automount-dir-prefix' (use `directory-abbrev-alist') |
| 862 | |||
| 863 | *** `buffer-has-markers-at' | 859 | *** `buffer-has-markers-at' |
| 864 | |||
| 865 | *** `macro-declaration-function' (use `macro-declarations-alist') | 860 | *** `macro-declaration-function' (use `macro-declarations-alist') |
| 866 | |||
| 867 | *** `window-system-version' (provides no useful information) | 861 | *** `window-system-version' (provides no useful information) |
| 868 | |||
| 869 | *** `dired-pop-to-buffer' (use `dired-mark-pop-up') | 862 | *** `dired-pop-to-buffer' (use `dired-mark-pop-up') |
| 870 | |||
| 871 | *** `query-replace-interactive' | 863 | *** `query-replace-interactive' |
| 872 | |||
| 873 | *** `font-list-limit' (has had no effect since Emacs < 23) | 864 | *** `font-list-limit' (has had no effect since Emacs < 23) |
| 874 | 865 | ||
| 875 | 866 | ||