diff options
| author | Chong Yidong | 2008-06-24 17:27:10 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-06-24 17:27:10 +0000 |
| commit | 09e18d034a977f6e227377b2e2ce4ce8336dfedd (patch) | |
| tree | 07897473ef7b6f8a8e155476e2fd899cefc4d0c1 | |
| parent | 4e0995049179c8fbe0243e1e447a0487d0331539 (diff) | |
| download | emacs-09e18d034a977f6e227377b2e2ce4ce8336dfedd.tar.gz emacs-09e18d034a977f6e227377b2e2ce4ce8336dfedd.zip | |
Re-order items.
| -rw-r--r-- | etc/NEWS | 870 |
1 files changed, 441 insertions, 429 deletions
| @@ -27,234 +27,169 @@ so we will look at it and add it to the manual. | |||
| 27 | * Installation Changes in Emacs 23.1 | 27 | * Installation Changes in Emacs 23.1 |
| 28 | 28 | ||
| 29 | ** The default X toolkit is now Gtk+, rather than Lucid. | 29 | ** The default X toolkit is now Gtk+, rather than Lucid. |
| 30 | The configure option `--with-gtk' has been removed. Gtk is now the | ||
| 31 | default toolkit, but you can use --with-x-toolkit=gtk if necessary. | ||
| 30 | 32 | ||
| 31 | ** Fonts are handled by new code capable of dealing with multiple font | 33 | ** New font code. |
| 32 | backends. This requires the freetype and fontconfig libraries, and | 34 | Fonts are handled by new code capable of dealing with multiple font |
| 33 | supports local fonts (fonts installed on the machine where Emacs is | 35 | backends. This requires the freetype and fontconfig libraries |
| 34 | running). Additionally, the Xft library can be used for antialiasing | ||
| 35 | support, the otf library for complex text layout by OpenType fonts, | ||
| 36 | and the m17n library for text shaping. Emacs now accepts font names | ||
| 37 | supplied in the fontconfig format (e.g. "monospace-12:bold") and GTK | ||
| 38 | format (e.g. "Monospace Bold 12"). | ||
| 39 | 36 | ||
| 40 | ** The new configuration option "--with-dbus" enables D-Bus language | 37 | *** Emacs now accepts font names supplied in the fontconfig format |
| 41 | bindings for Emacs. | 38 | (e.g. "monospace-12:bold") and GTK format (e.g. "Monospace Bold 12"). |
| 42 | 39 | ||
| 43 | ** The Mac Carbon port is no longer supported. | 40 | *** Added support for local fonts (fonts installed on the machine |
| 44 | Instead, use... [FIXME what?] | 41 | where Emacs is running). |
| 42 | |||
| 43 | *** Added support for the Xft library for antialiasing. | ||
| 44 | |||
| 45 | *** Added support for the otf library for complex text layout by | ||
| 46 | OpenType fonts. | ||
| 47 | |||
| 48 | *** Added support for the m17n library for text shaping. | ||
| 45 | 49 | ||
| 46 | ** configure now checks for libgif before libungif when searching for | 50 | ** Changes to image support |
| 51 | |||
| 52 | *** configure now checks for libgif before libungif when searching for | ||
| 47 | a GIF library. | 53 | a GIF library. |
| 48 | 54 | ||
| 49 | ** Support for systems without alloca has been removed. | 55 | *** Emacs now supports the SVG image format through librsvg2. |
| 56 | |||
| 57 | ** The Mac Carbon port is no longer supported. | ||
| 58 | Instead, use... [FIXME what?] | ||
| 50 | 59 | ||
| 51 | ** Support for Sun windows has been removed. | 60 | ** The new configuration option "--with-dbus" enables D-Bus language |
| 61 | bindings for Emacs. | ||
| 52 | 62 | ||
| 53 | ** Support for many obsolete platforms has been removed. | 63 | ** Support for many obsolete platforms has been removed. |
| 54 | See the list at the end of etc/MACHINES for details. | 64 | See the list at the end of etc/MACHINES for details. |
| 55 | 65 | ||
| 66 | *** Support for systems without alloca has been removed. | ||
| 67 | |||
| 68 | *** Support for Sun windows has been removed. | ||
| 69 | |||
| 56 | ** The `emacstool' utility has been removed. | 70 | ** The `emacstool' utility has been removed. |
| 57 | 71 | ||
| 58 | ** The configure options `--with-gcc', `--without-gcc' have been removed. | 72 | ** The configure options `--with-gcc', `--without-gcc' have been removed. |
| 59 | Configure will use gcc by default. Set the CC environment variable if | 73 | Configure will use gcc by default. Set the CC environment variable if |
| 60 | you need control over which C compiler is used. | 74 | you need control over which C compiler is used. |
| 61 | 75 | ||
| 62 | ** The configure option `--with-gtk' has been removed. Gtk is now the | 76 | ** The refcards are now shipped as PDF files. |
| 63 | default toolkit, but you can use --with-x-toolkit=gtk if necessary. | 77 | |
| 78 | ** Emacs 23 comes with a new set of default icons. | ||
| 79 | Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png. | ||
| 80 | The Emacs 22 icon is available as `emacs22.png' in the same location. | ||
| 64 | 81 | ||
| 65 | * Changes in Emacs 23.1 | 82 | * Changes in Emacs 23.1 |
| 66 | 83 | ||
| 67 | ** `underline-minimum-offset' keeps the underline away from the baseline. | 84 | ** Improved X Window System support |
| 68 | |||
| 69 | ** Info displays breadcrumbs in the header of the page. | ||
| 70 | See Info-breadcrumbs-depth to control it. | ||
| 71 | |||
| 72 | ** Emacs now supports serial port access on GNU/Linux, Unix, and | ||
| 73 | Windows. `serial-term' starts an interactive terminal, | ||
| 74 | `make-serial-process' and `serial-process-configure' provide a Lisp | ||
| 75 | interface. The serial port can be configured at runtime with the | ||
| 76 | mode-line mouse menu. | ||
| 77 | |||
| 78 | ** Apropos | ||
| 79 | *** `apropos-library' describes the elements defined in a given library. | ||
| 80 | *** Set `apropos-compact-layout' is you want a more compact (but wider) layout. | ||
| 81 | |||
| 82 | ** scroll-preserve-screen-position also preserves the column position. | ||
| 83 | ** Completion. | ||
| 84 | *** `completion-styles' can be customized to choose your favorite completion. | ||
| 85 | *** The default completion styles include a form of partial-completion. | ||
| 86 | *** The new command `minibuffer-force-complete chooses one of the possible | ||
| 87 | completions, rather than stopping at the common prefix. | ||
| 88 | *** `completion-auto-help' can be set to `lazy' to list the completions only | ||
| 89 | if you repeat the completion. This was already supported in | ||
| 90 | `partial-completion-mode'. | ||
| 91 | 85 | ||
| 92 | ** Emacs now supports using both X displays and ttys in one session. | 86 | *** Emacs now supports using both X displays and ttys in one session. |
| 93 | Start the server (M-x server-start). Then `emacsclient -t' creates a | 87 | With an Emacs server active (M-x server-start), `emacsclient -t' |
| 94 | tty frame connected to the running emacs server. You can also use any | 88 | creates a tty frame connected to the running emacs server. You can |
| 95 | number of different ttys. `emacsclient -c' creates a new X11 frame on | 89 | use any number of different ttys. `emacsclient -c' creates a new X11 |
| 96 | the current $DISPLAY or a tty frame if $DISPLAY is not set. | 90 | frame on the current $DISPLAY (or a tty frame if $DISPLAY is not set). |
| 97 | 91 | ||
| 98 | You can test for the presence of this feature in your Lisp code by | 92 | You can test for the presence of this feature in your Lisp code by |
| 99 | testing for the `multi-tty' feature. | 93 | testing for the `multi-tty' feature. |
| 100 | 94 | ||
| 101 | ** The Emacs character set is now a superset of Unicode. | 95 | **** Emacsclient can now open new terminal frames. |
| 102 | (It has about four times the code space, which should be plenty). | 96 | Now, the default behavior is to open a new Emacs frame by default. |
| 103 | 97 | Use the -c option to get the old behavior of opening files in the | |
| 104 | The internal encoding used for buffers and strings is now | 98 | currently selected Emacs frame. |
| 105 | Unicode-based and called `utf-8-emacs'. utf-8-emacs is backwards | ||
| 106 | compatible with the UTF-8 encoding of Unicode. The `emacs-mule' | ||
| 107 | coding system can still read and write data in the old internal encoding. | ||
| 108 | |||
| 109 | Since the internal encoding is also used by default for byte-compiled | ||
| 110 | files -- i.e. the normal coding system for byte-compiled Lisp files is | ||
| 111 | now utf-8-Emacs -- Lisp containing non-ASCII characters which is | ||
| 112 | compiled by Emacs 23 can't be read by earlier versions of Emacs. Files | ||
| 113 | compiled by Emacs 20, 21, or 22 are loaded correctly as emacs-mule | ||
| 114 | (whether or not they contain multibyte characters), which makes loading | ||
| 115 | them somewhat slower than Emacs 23-compiled files. Thus it may be worth | ||
| 116 | recompiling existing .elc files which don't need to be shared with older | ||
| 117 | Emacsen. | ||
| 118 | |||
| 119 | ** There are assorted new coding systems/aliases -- see M-x list-coding-systems. | ||
| 120 | |||
| 121 | ** There is a new charset implementation with many new charsets. | ||
| 122 | See M-x list-character-sets. New charsets can be defined conveniently | ||
| 123 | as tables of unicodes. | ||
| 124 | |||
| 125 | The dimension of a charset is now 1, 2, 3, or 4, and the size of each | ||
| 126 | dimension is no longer limited to 94 or 96. | ||
| 127 | |||
| 128 | A dynamic charset priority list is used to infer the charset of | ||
| 129 | characters for display. | ||
| 130 | 99 | ||
| 131 | ** There are new Chinese-GBK, Chinese-GB18030, Khmer, Bengali, | 100 | *** The new command close-display-connection closes a connection to a |
| 132 | Punjabi, Gujarati, Oriya, Telugu, Sinhala, and TaiViet language | 101 | remote display. |
| 133 | environments. | ||
| 134 | 102 | ||
| 135 | ** Emacs now supports the XEmbed specification. | 103 | *** Emacs now supports the XEmbed specification. |
| 136 | You can embed Emacs in another application on X11. The new command line option | 104 | You can embed Emacs in another application on X11. The new command line |
| 137 | --parent-id is used to pass the parent window id to Emacs. See | 105 | option --parent-id is used to pass the parent window id to Emacs. See |
| 138 | http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html | 106 | http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html |
| 139 | for details about XEmbed. | 107 | for details about XEmbed. |
| 140 | 108 | ||
| 141 | ** Controlling the frame opacity | 109 | *** Emacs can now set the frame opacity. |
| 142 | The opacity of a frame can now be controlled by setting | 110 | The opacity of a frame can be controlled by setting the `alpha' frame |
| 143 | the `alpha' frame parameter, on a compositing window manager | 111 | parameter. This only takes effect on a compositing window manager for |
| 144 | (e.g. Compiz, Beryl and Compiz Fusion) for the X Window System. | 112 | the X Window System, such as Compiz, Beryl and Compiz Fusion. |
| 145 | 113 | ||
| 146 | The alpha parameter should be an integer between 0 (transparent) and | 114 | The alpha parameter should be an integer between 0 (transparent) and |
| 147 | 100 (opaque) or a float number between 0.0 and 1.0. Optionally, the | 115 | 100 (opaque), or a float number between 0.0 and 1.0. It can also be a |
| 148 | opacity can be set by a cons cell; the first item controls the | 116 | cons cell (ACTIVE . INACTIVE), where ACTIVE is the opacity of an |
| 149 | opacity of an active frame, and the second item controls that of | 117 | active frame and INACTIVE is the opactity of non-active frames. |
| 150 | non-active frames. | ||
| 151 | 118 | ||
| 152 | (set-frame-parameter nil 'alpha 80) | 119 | The variable `frame-alpha-lower-limit' defines a lower bound for the |
| 153 | (set-frame-parameter nil 'alpha 0.8) | 120 | opacity; the default is 20. |
| 154 | (set-frame-parameter nil 'alpha '(100 70)) ; (<active> [<inactive>]) | ||
| 155 | (set-frame-parameter nil 'alpha nil) | ||
| 156 | 121 | ||
| 157 | Note that the threshold opacity of a frame is defined by the variable | 122 | ** Internationalization changes |
| 158 | `frame-alpha-lower-limit' (default 20), so that the user may not lose | ||
| 159 | control of the frame. | ||
| 160 | 123 | ||
| 161 | ** Emacs comes with a new set of default icons. | 124 | *** The Emacs character set is now a superset of Unicode. |
| 162 | Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png. | 125 | (It has about four times the code space, which should be plenty). |
| 163 | The Emacs 22 icon is available as `emacs22.png' in the same location. | ||
| 164 | |||
| 165 | ** Built-in functions (subr) can now have an interactive specification | ||
| 166 | that is not a prompt string. If the `intspec' parameter of a `DEFUN' | ||
| 167 | starts with a `(', the string is evaluated as a Lisp form. | ||
| 168 | |||
| 169 | ** set-file-modes is now interactive and can take the mode value in | ||
| 170 | symbolic notation thanks to auxiliary functions. | ||
| 171 | |||
| 172 | ** Changes affecting display-buffer | ||
| 173 | *** New value nil for split-height-threshold inhibits vertical splitting | ||
| 174 | unless there's no other window. | ||
| 175 | *** New option split-width-threshold controls horizontal splitting. | ||
| 176 | *** A window can be split horizontally even when it's not full-width. | ||
| 177 | *** New option split-window-preferred-function can be set to a function | ||
| 178 | to override the default splitting mechanism of display-buffer. | ||
| 179 | |||
| 180 | ** Menu Bar changes | ||
| 181 | |||
| 182 | *** The Options menu contains a new entry to turn on Longlines mode. | ||
| 183 | |||
| 184 | *** In the Options menu, the "Set Default Font" item applies the | ||
| 185 | selected font to the `default' face on all frames, not just the | ||
| 186 | current frame. This font setting will be saved if the "Save Options" | ||
| 187 | item is used. Furthermore, if Emacs is compiled with both GTK and | ||
| 188 | Fontconfig support, the "Set Default Font" item uses the GTK font | ||
| 189 | selection dialog instead of an Emacs pop-up menu. | ||
| 190 | |||
| 191 | ** Emacsclient has been extended to support opening a new terminal | ||
| 192 | frame. Its behavior has been changed to open a new Emacs frame by | ||
| 193 | default. Use the -c option to get the old behavior of opening files in | ||
| 194 | the currently selected Emacs frame. | ||
| 195 | |||
| 196 | ** The refcards are now shipped as PDF files. | ||
| 197 | |||
| 198 | ** Emacs now supports the SVG image format through librsvg2. | ||
| 199 | |||
| 200 | ** If you set find-file-confirm-nonexistent-file to t, then C-x C-f | ||
| 201 | requires confirmation before opening a non-existent file. | ||
| 202 | 126 | ||
| 203 | ** If the gpm mouse server is running and t-mouse-mode enabled, Emacs uses a | 127 | The internal encoding used for buffers and strings is now |
| 204 | Unix socket in a GNU/Linux console to talk to server, rather than faking events | 128 | Unicode-based and called `utf-8-emacs'. This encoding is backwards |
| 205 | using the client program mev. This C level approach provides mouse | 129 | compatible with Unicode's UTF-8 encoding. The internal encoding |
| 206 | highlighting, and help echoing in the minibuffer. | 130 | previously used by Emacs, `emacs-mule', is still available. |
| 207 | 131 | ||
| 208 | ** Recentering changes | 132 | During byte-compilation, Emacs 23 uses `utf-8-emacs' to write files. |
| 133 | As a result, byte-compiled files containing non-ASCII characters can't | ||
| 134 | be read by earlier versions of Emacs. Files compiled by Emacs 20, 21, | ||
| 135 | or 22 are loaded correctly as emacs-mule (whether or not they contain | ||
| 136 | multibyte characters). This takes somewhat more time, so it may be | ||
| 137 | worth recompiling existing .elc files which don't need to be shared | ||
| 138 | with older Emacsen. | ||
| 209 | 139 | ||
| 210 | *** The new variable next-error-recenter specifies how next-error should | 140 | *** There are new coding systems/aliases; see M-x list-coding-systems. |
| 211 | recenter the visited source file. Its value can be a number (for example, | ||
| 212 | 0 for top line, -1 for bottom line), or nil for no recentering. | ||
| 213 | 141 | ||
| 214 | *** New command recenter-top-bottom moves the current line to window | 142 | *** There is a new charset implementation with many new charsets. |
| 215 | center, top and bottom on successive invokations. | 143 | See M-x list-character-sets. New charsets can be defined conveniently |
| 144 | as tables of unicodes. | ||
| 216 | 145 | ||
| 217 | *** C-l is bound to the new command recenter-top-bottom, rather than recenter. | 146 | **** The dimension of a charset is now 1, 2, 3, or 4, and the size of |
| 147 | each dimension is no longer limited to 94 or 96. | ||
| 218 | 148 | ||
| 219 | ** The mode-line displays a `@' if the default-directory for the current buffer | 149 | **** A dynamic charset priority list is used to infer the charset of |
| 220 | is on a remote machine, or a hyphen otherwise. | 150 | characters for display. |
| 221 | 151 | ||
| 222 | ** The mode-line displays a mode menu when mouse-1 is clicked on a minor mode, | 152 | *** There are new language environments for Chinese-GBK, |
| 223 | in the same way as it already did for major modes. | 153 | Chinese-GB18030, Khmer, Bengali, Punjabi, Gujarati, Oriya, Telugu, |
| 154 | Sinhala, and TaiViet. | ||
| 224 | 155 | ||
| 225 | ** The new command balance-windows-area balances windows both vertically | 156 | *** The minor modes unify-8859-on-encoding-mode and |
| 226 | and horizontally. | 157 | unify-8859-on-decoding-mode are obsolete. |
| 227 | 158 | ||
| 228 | ** The new command close-display-connection can be used to close a connection | 159 | ** Emacs now supports serial port access on GNU/Linux, Unix, and |
| 229 | to a remote display, e.g. because the display is about to become unreachable. | 160 | Windows. `serial-term' starts an interactive terminal, |
| 161 | `make-serial-process' and `serial-process-configure' provide a Lisp | ||
| 162 | interface. The serial port can be configured at runtime with the | ||
| 163 | mode-line mouse menu. | ||
| 230 | 164 | ||
| 231 | ** The command shell prompts for the default directory, when it is | 165 | ** Menu Bar changes |
| 232 | called with a prefix, and the default directory is a remote file name. | ||
| 233 | This is because some file name handlers (like ange-ftp) are not able to | ||
| 234 | run processes remotely. | ||
| 235 | 166 | ||
| 236 | ** The new command `display-time-world' starts an updating time display | 167 | *** In the Options menu, the "Set Default Font" item applies the |
| 237 | using several time zones, in a buffer. | 168 | selected font to the `default' face on all frames, not just the |
| 169 | current frame. Furthermore, if Emacs is compiled with both GTK and | ||
| 170 | Fontconfig support, the "Set Default Font" item uses the GTK font | ||
| 171 | selection dialog instead of an Emacs pop-up menu. | ||
| 238 | 172 | ||
| 239 | ** Directory-local variables are now found in .dir-settings.el. See | 173 | *** The font setting chosen by "Set Default Font" is saved if the |
| 240 | also `set-directory-project' and `define-project-bindings'. | 174 | "Save Options" item is used. |
| 241 | 175 | ||
| 242 | ** The new function `format-seconds' converts a number of seconds into a | 176 | *** The Options menu contains a new entry to turn on Longlines mode. |
| 243 | readable string of days, hours, etc. | ||
| 244 | 177 | ||
| 245 | ** The new variables `before-init-time' and `after-init-time' record the | 178 | ** Mode-line changes |
| 246 | value of `current-time' before and after Emacs loads the init files. | ||
| 247 | 179 | ||
| 248 | ** The new function `emacs-uptime' returns the uptime of an Emacs instance. | 180 | *** The mode-line displays a `@', instead of `-', if the |
| 181 | default-directory for the current buffer is on a remote machine. | ||
| 249 | 182 | ||
| 250 | ** The new function `emacs-init-time' returns the duration of the | 183 | *** The mode-line displays a mode menu when mouse-1 is clicked on a |
| 251 | Emacs initialization. | 184 | minor mode, in the same way as it already did for major modes. |
| 252 | 185 | ||
| 253 | ** The minor modes unify-8859-on-encoding-mode, unify-8859-on-decoding-mode | 186 | *** The `mode-line-emphasis' face is used to highlight certain |
| 254 | are obsolete. | 187 | mode-line information (e.g. waiting for a VC command to finish). |
| 255 | 188 | ||
| 256 | ** The new commands `pp-macroexpand-expression' and `pp-macroexpand-last-sexp' | 189 | ** Directory-local variables can now be defined. |
| 257 | pretty-print macro expansions. | 190 | By default, Emacs looks in .dir-settings.el for directory-local |
| 191 | variables. For more information, see `set-directory-project' and | ||
| 192 | `define-project-bindings'. | ||
| 258 | 193 | ||
| 259 | 194 | ||
| 260 | * Startup Changes in Emacs 23.1 | 195 | * Startup Changes in Emacs 23.1 |
| @@ -293,29 +228,26 @@ identical. | |||
| 293 | 228 | ||
| 294 | * Editing Changes in Emacs 23.1 | 229 | * Editing Changes in Emacs 23.1 |
| 295 | 230 | ||
| 296 | ** Mark changes | 231 | ** C-x C-c now invokes `save-buffers-kill-terminal', and C-z now |
| 232 | invokes `suspend-frame'. This change is for compatibility with the | ||
| 233 | new multi-tty support (see `Improved X Window System support' above). | ||
| 297 | 234 | ||
| 235 | ** Mark changes | ||
| 298 | +++ | 236 | +++ |
| 299 | *** Transient Mark mode is now on by default. | 237 | *** Transient Mark mode is now on by default. |
| 300 | |||
| 301 | +++ | 238 | +++ |
| 302 | *** mark-even-if-inactive now defaults to t | 239 | *** mark-even-if-inactive now defaults to t |
| 303 | |||
| 304 | +++ | 240 | +++ |
| 305 | *** When Transient Mark mode is on, C-SPC C-SPC pushes a mark without activating it. | 241 | *** When Transient Mark mode is on, C-SPC C-SPC pushes a mark without activating it. |
| 306 | |||
| 307 | +++ | 242 | +++ |
| 308 | *** When Transient Mark mode is on, M-q now fills the region if the | 243 | *** When Transient Mark mode is on, M-q now fills the region if the |
| 309 | region is active. Otherwise, it fills the current paragraph. | 244 | region is active. Otherwise, it fills the current paragraph. |
| 310 | |||
| 311 | +++ | 245 | +++ |
| 312 | *** When Transient Mark mode is on, M-$ now checks spelling of the | 246 | *** When Transient Mark mode is on, M-$ now checks spelling of the |
| 313 | region if the region is active. Otherwise, it checks spelling of the | 247 | region if the region is active. Otherwise, it checks spelling of the |
| 314 | word at point. | 248 | word at point. |
| 315 | |||
| 316 | *** When Transient Mark mode is on, TAB now indents the region if the | 249 | *** When Transient Mark mode is on, TAB now indents the region if the |
| 317 | region is active. | 250 | region is active. |
| 318 | |||
| 319 | *** `use-empty-active-region' controls whether an empty active region | 251 | *** `use-empty-active-region' controls whether an empty active region |
| 320 | in Transient Mark mode should make commands operate on that empty | 252 | in Transient Mark mode should make commands operate on that empty |
| 321 | region. | 253 | region. |
| @@ -334,35 +266,12 @@ shift-translated, or after commands that would ordinarily deactivate | |||
| 334 | the mark in Transient Mark mode (e.g., any command that modifies the | 266 | the mark in Transient Mark mode (e.g., any command that modifies the |
| 335 | buffer). | 267 | buffer). |
| 336 | 268 | ||
| 337 | +++ | ||
| 338 | ** C-M-% now shows replacement as it would look in the buffer, with | ||
| 339 | `\N' and `\&' substituted according to the match. Old behavior can be | ||
| 340 | restored by customizing `query-replace-show-replacement'. | ||
| 341 | |||
| 342 | ** C-z now invokes `suspend-frame', C-x C-c now invokes | ||
| 343 | `save-buffers-kill-terminal'. | ||
| 344 | |||
| 345 | ** New command kill-matching-buffers kills buffers whose name matches a regexp. | ||
| 346 | |||
| 347 | ** You can disable kill ring commands from accessing the primary selection | ||
| 348 | by setting `x-select-enable-primary' to nil. | ||
| 349 | |||
| 350 | ** If `select-active-regions' is t, setting the mark automatically | ||
| 351 | makes the new region into the primary selection (for interaction with | ||
| 352 | other window applications). If you enable this, you might want to bind | ||
| 353 | `mouse-yank-primary' to Mouse-2. | ||
| 354 | |||
| 355 | ** If `yank-pop-change-selection' is t, rotating the kill ring | ||
| 356 | also updates the selection or clipboard to the current yank, | ||
| 357 | just as M-w would do so with the text it copies to the kill ring. | ||
| 358 | |||
| 359 | ** Minibuffer changes | 269 | ** Minibuffer changes |
| 360 | 270 | ||
| 361 | *** Minibuffer input of shell commands now comes with completion. | 271 | *** Operations like C-x b and C-x C-f, which use switch-to-buffer, do |
| 362 | 272 | not fail any more when used in a minibuffer or a dedicated window. | |
| 363 | *** Operations like C-x b and C-x C-f which use switch-to-buffer do not fail | 273 | Instead, they fallback on using pop-to-buffer, which will use some |
| 364 | any more when used in a minibuffer or a dedicated window. Instead, they | 274 | other window. |
| 365 | fallback on using pop-to-buffer which will use some other window. | ||
| 366 | 275 | ||
| 367 | *** When M-n in the minibuffer reaches the end of the list of defaults, | 276 | *** When M-n in the minibuffer reaches the end of the list of defaults, |
| 368 | it adds the completion list to the end, so next M-n continues putting | 277 | it adds the completion list to the end, so next M-n continues putting |
| @@ -371,15 +280,16 @@ incremental search commands as well: C-s or C-M-s starts searching | |||
| 371 | the default values and after the end of defaults they continue | 280 | the default values and after the end of defaults they continue |
| 372 | searching minibuffer completion items. | 281 | searching minibuffer completion items. |
| 373 | 282 | ||
| 374 | *** In C-x d, if you type M-n you get the visited file name of the | 283 | *** Minibuffer input of shell commands now comes with completion. |
| 375 | current buffer. | 284 | |
| 285 | *** In the `C-x d' (Dired) prompt, typing M-n gives the visited file | ||
| 286 | name of the current buffer. | ||
| 376 | 287 | ||
| 377 | *** A list of default commands extracted from mailcap according to | 288 | *** In the M-! (shell-command) prompt, M-n provides some default commands. |
| 378 | file extensions are available in the list of default values | 289 | These are guessed using the file extension of the current file, based |
| 379 | accessible by M-n in the minibuffer that reads a shell command | 290 | on the file-handlers specified in the operating system's `mailcap' |
| 380 | for M-! (shell-command) and fills a list of commands for the current | 291 | file. The ! command in Dired (dired-do-shell-command) works |
| 381 | file, and in Dired for ! (dired-do-shell-command) that fills a list of | 292 | similarly, using the file displayed on the current line. |
| 382 | commands for the intersection of file types of marked Dired files. | ||
| 383 | 293 | ||
| 384 | *** A list of regexp default values is available via M-n for `occur', | 294 | *** A list of regexp default values is available via M-n for `occur', |
| 385 | `keep-lines', `flush-lines' and `how-many'. This list includes the active | 295 | `keep-lines', `flush-lines' and `how-many'. This list includes the active |
| @@ -394,11 +304,6 @@ element, it wraps to the last history element, and the forward search | |||
| 394 | wraps to the first history element. When the search is terminated, the | 304 | wraps to the first history element. When the search is terminated, the |
| 395 | history element containing the search string becomes the current. | 305 | history element containing the search string becomes the current. |
| 396 | 306 | ||
| 397 | ** New faces | ||
| 398 | |||
| 399 | *** `mode-line-emphasis' is used to highlight certain mode-line information; | ||
| 400 | for example while waiting for a VC command to finish. | ||
| 401 | |||
| 402 | ** Face changes | 307 | ** Face changes |
| 403 | 308 | ||
| 404 | *** The new function `face-all-attributes' returns an alist describing | 309 | *** The new function `face-all-attributes' returns an alist describing |
| @@ -410,85 +315,143 @@ changed via face remapping (see below). | |||
| 410 | 315 | ||
| 411 | *** FIXME face-remap | 316 | *** FIXME face-remap |
| 412 | 317 | ||
| 413 | 318 | ** Primary selection changes | |
| 414 | * New Modes and Packages in Emacs 23.1 | ||
| 415 | 319 | ||
| 416 | ** rst-mode for ReSTructured-Text files. | 320 | *** If `select-active-regions' is t, setting the mark automatically |
| 321 | makes the new region into the primary selection (for interaction with | ||
| 322 | other window applications). If you enable this, you might want to | ||
| 323 | bind `mouse-yank-primary' to Mouse-2. | ||
| 417 | 324 | ||
| 418 | ** FIXME add details of new packages imported from lisp/gnus. | 325 | *** You can disable kill ring commands from accessing the primary selection |
| 419 | [Maybe some information from doc/misc/gnus-coding.texi can be reused] | 326 | by setting `x-select-enable-primary' to nil. |
| 420 | 327 | ||
| 421 | ** The package doc-view.el has been added. It supports viewing of PDF, | 328 | ** Completion changes |
| 422 | PostScript and DVI documents inside an Emacs buffer by converting the | ||
| 423 | document to a set of PNG images first. One can also search for a | ||
| 424 | regular expression in the document. The commentary of the file explains | ||
| 425 | its usage. | ||
| 426 | 329 | ||
| 427 | ** The nXML package has been added. It is a new mode for editing XML | 330 | *** `completion-styles' can be customized to choose your favorite |
| 428 | documents. nXML mode allows a schema to be associated with the XML | 331 | completion style. |
| 429 | document being edited. nXML mode uses Relax NG as its schema | ||
| 430 | language. The schema is used to provide two key features: | ||
| 431 | 332 | ||
| 432 | *** Continuous validation. nXML validates as you type, highlighting | 333 | *** The default completion styles include a form of partial-completion. |
| 433 | any invalid parts of your document. | ||
| 434 | 334 | ||
| 435 | *** Completion. nXML can assist you in entering an element name, | 335 | *** The new command `minibuffer-force-complete' chooses one of the |
| 436 | attribute name or data value by using information about what is | 336 | possible completions, rather than stopping at the common prefix. |
| 437 | allowed by the schema in that context. | ||
| 438 | 337 | ||
| 439 | ** A new game called `bubbles' has been added. This is a version of | 338 | *** `completion-auto-help' can be set to `lazy' to list the completions only |
| 440 | the "Same Game" with configurable difficulty level. | 339 | if you repeat the completion. This was already supported in |
| 340 | `partial-completion-mode'. | ||
| 441 | 341 | ||
| 442 | ** minibuffer-indicate-depth-mode shows the minibuffer depth in the prompt. | 342 | ** Miscellaneous changes: |
| 443 | 343 | ||
| 444 | ** Remember Mode (remember.el) is now included with Emacs. It is a | 344 | *** C-l is bound to the new command recenter-top-bottom, rather than recenter. |
| 445 | mode for quickly jotting down things to remember. Included with | 345 | This moves the current line to window center, top and bottom on |
| 446 | remember.el is a backend that can save notes to a Diary file. Please | 346 | successive invokations. |
| 447 | consult the Remember Manual for usage details. | ||
| 448 | 347 | ||
| 449 | ** D-Bus language bindings for Elisp are provided by the package | 348 | *** scroll-preserve-screen-position also preserves the column position. |
| 450 | dbus.el and by extensions to the C modules of Emacs. D-Bus is an | ||
| 451 | inter-process communication mechanism for applications residing on the | ||
| 452 | same host, based on messages. See the manual for further details. | ||
| 453 | 349 | ||
| 454 | ** zeroconf.el offers service discovery and service publishing | 350 | *** The new command balance-windows-area balances windows both |
| 455 | interfaces according to the zeroconf specification. It communicates | 351 | vertically and horizontally. |
| 456 | with Avahi, a zeroconf implementation, via D-Bus messages on systems | 352 | |
| 457 | which have installed this software. | 353 | *** If `yank-pop-change-selection' is t, rotating the kill ring also |
| 354 | updates the selection or clipboard to the current yank, just as M-w | ||
| 355 | would do so with the text it copies to the kill ring. | ||
| 356 | |||
| 357 | +++ | ||
| 358 | *** C-M-% now shows replacement as it would look in the buffer, with | ||
| 359 | `\N' and `\&' substituted according to the match. Old behavior can be | ||
| 360 | restored by customizing `query-replace-show-replacement'. | ||
| 361 | |||
| 362 | *** The command shell prompts for the default directory, when it is | ||
| 363 | called with a prefix and the default directory is a remote file name. | ||
| 364 | This is because some file name handlers (like ange-ftp) are not able to | ||
| 365 | run processes remotely. | ||
| 366 | |||
| 367 | *** The new command kill-matching-buffers kills buffers whose name | ||
| 368 | matches a regexp. | ||
| 369 | |||
| 370 | *** The new commands `pp-macroexpand-expression' and `pp-macroexpand-last-sexp' | ||
| 371 | pretty-print macro expansions. | ||
| 458 | 372 | ||
| 459 | ** EasyPG is now part of the Emacs distribution. It is an all-in-one | 373 | |
| 460 | GnuPG interface which includes GnuPG keyring browser, cryptographic | 374 | * New Modes and Packages in Emacs 23.1 |
| 461 | operations on regions and files, and automatic encryption of *.gpg | ||
| 462 | files. See the EasyPG Assistant User's Manual for further details. | ||
| 463 | 375 | ||
| 464 | ** json.el is now included with Emacs. It is a library for parsing | 376 | ** FIXME add details of new packages imported from lisp/gnus. |
| 465 | and generating JSON (JavaScript Object Notation). JSON is a | 377 | [Maybe some information from doc/misc/gnus-coding.texi can be reused] |
| 466 | lightweight data-interchange format. | ||
| 467 | 378 | ||
| 468 | ** Auto Composition Mode is a minor mode that composes characters | 379 | ** Auto Composition Mode is a minor mode that composes characters |
| 469 | automatically when they are displayed. It is globally on by default. | 380 | automatically when they are displayed. It is globally on by default. |
| 470 | It uses `auto-composition-function' (default `auto-compose-chars'). | 381 | It uses `auto-composition-function' (default `auto-compose-chars'). |
| 471 | 382 | ||
| 472 | ** The package linum.el is now included with Emacs. It it a new minor | 383 | ** Bubbles, a new game, is similar to SameGame. |
| 473 | mode to display line numbers for the current buffer. | ||
| 474 | |||
| 475 | ** proced.el has been added. It operates on processes like dired. | ||
| 476 | Proced makes an Emacs buffer containing a listing of the current processes | ||
| 477 | (using ps(1)). You can use the normal Emacs commands to move around in | ||
| 478 | this buffer, and special Proced commands to operate on the processes listed. | ||
| 479 | 384 | ||
| 480 | ** bug-reference.el provides clickable links to bug reports. | 385 | ** bug-reference.el provides clickable links to bug reports. |
| 481 | 386 | ||
| 482 | 387 | ** copyright.el adds utilities for specifying copyright holders' names. | |
| 483 | * Changes in Specialized Modes and Packages in Emacs 23.1 | ||
| 484 | 388 | ||
| 485 | ** Icomplete: `icomplete-prospects-height' supercedes `icomplete-prospects-length'. | 389 | *** Only copyright lines with holders matching copyright-names-regexp |
| 390 | will be considered for update. | ||
| 391 | |||
| 392 | *** The Copyright package looks for copyright at the end of the buffer | ||
| 393 | if `copyright-at-end-flag' is non-nil (change-log-mode sets this). | ||
| 394 | |||
| 395 | ** dbus.el provides D-Bus language bindings. | ||
| 396 | D-Bus is an inter-process communication mechanism for applications | ||
| 397 | residing on the same host, based on messages. See the manual for | ||
| 398 | details. | ||
| 399 | |||
| 400 | ** Doc View Mode supports viewing of PDF, PostScript and DVI documents | ||
| 401 | inside an Emacs buffer. It works by converting the document to a set | ||
| 402 | of PNG images first. One can also search for a regular expression in | ||
| 403 | the document. The commentary in doc-view.el explains its usage. | ||
| 404 | |||
| 405 | ** EasyPG is an all-in-one GnuPG interface. | ||
| 406 | It includes GnuPG keyring browser, cryptographic operations on regions | ||
| 407 | and files, and automatic encryption of *.gpg files. For details, see | ||
| 408 | the EasyPG Assistant User's Manual. | ||
| 409 | |||
| 410 | ** json.el is a library for parsing and generating JSON | ||
| 411 | (JavaScript Object Notation), a lightweight data-interchange format. | ||
| 412 | |||
| 413 | ** linum.el is a new minor mode to display line numbers for the | ||
| 414 | current buffer. | ||
| 415 | |||
| 416 | ** minibuffer-indicate-depth-mode shows the minibuffer depth in the prompt. | ||
| 417 | |||
| 418 | ** nXML Mode | ||
| 419 | This is a new mode for editing XML documents. It allows a schema to | ||
| 420 | be associated with the XML document being edited, using Relax NG as | ||
| 421 | the schema language. The schema is used to provide two key features: | ||
| 422 | |||
| 423 | *** Continuous validation. nXML validates as you type, highlighting | ||
| 424 | any invalid parts of your document. | ||
| 425 | |||
| 426 | *** Completion. nXML can assist you in entering an element name, | ||
| 427 | attribute name or data value by using information about what is | ||
| 428 | allowed by the schema in that context. | ||
| 429 | |||
| 430 | ** proced.el provides a Dired-like interface for operating on processes. | ||
| 431 | Proced makes an Emacs buffer containing a listing of the current | ||
| 432 | processes (using ps(1)). You can use the normal Emacs commands to | ||
| 433 | move around in this buffer, and special Proced commands to operate on | ||
| 434 | the processes listed. | ||
| 435 | |||
| 436 | ** Remember Mode is a mode for jotting down things to remember. | ||
| 437 | Notes can be saved to a Diary file. For details, see the Remember | ||
| 438 | Manual. | ||
| 439 | |||
| 440 | ** RST mode is a major mode for editing ReSTructured-Text files. | ||
| 486 | 441 | ||
| 487 | ** A new `whitespace' package has been installed, and the pre-existing one | 442 | ** A new `whitespace' package has been installed, and the pre-existing one |
| 488 | renamed to `old-whitespace'. | 443 | renamed to `old-whitespace'. |
| 489 | [FIXME someone explain why this is good, if it is...] | 444 | [FIXME someone explain why this is good, if it is...] |
| 490 | 445 | ||
| 491 | ** abbrev was rewritten in Elisp and extended with more flexibility. | 446 | ** zeroconf.el offers service discovery and service publishing |
| 447 | interfaces according to the zeroconf specification. It communicates | ||
| 448 | with Avahi, a zeroconf implementation, via D-Bus messages on systems | ||
| 449 | which have installed this software. | ||
| 450 | |||
| 451 | |||
| 452 | * Changes in Specialized Modes and Packages in Emacs 23.1 | ||
| 453 | |||
| 454 | ** Abbrev has been rewritten in Elisp and extended with more flexibility. | ||
| 492 | *** New functions: abbrev-get, abbrev-put, abbrev-table-get, abbrev-table-put, | 455 | *** New functions: abbrev-get, abbrev-put, abbrev-table-get, abbrev-table-put, |
| 493 | abbrev-table-p, abbrev-insert, abbrev-table-menu. | 456 | abbrev-table-p, abbrev-insert, abbrev-table-menu. |
| 494 | *** Special hook `abbrev-expand-functions' obsoletes `pre-abbrev-expand-hook'. | 457 | *** Special hook `abbrev-expand-functions' obsoletes `pre-abbrev-expand-hook'. |
| @@ -502,41 +465,45 @@ renamed to `old-whitespace'. | |||
| 502 | `:parents', `:case-fixed', `:enable-function', `:regexp', | 465 | `:parents', `:case-fixed', `:enable-function', `:regexp', |
| 503 | `abbrev-table-modiff'. | 466 | `abbrev-table-modiff'. |
| 504 | 467 | ||
| 505 | ** Help mode | 468 | ** Apropos |
| 506 | *** New macro `with-help-window' should set up help windows better | 469 | *** `apropos-library' describes the elements defined in a given library. |
| 507 | than `with-output-to-temp-buffer' with `print-help-return-message'. | 470 | *** Set `apropos-compact-layout' is you want a more compact (but wider) layout. |
| 508 | *** New option `help-window-select' permits to customize whether help | ||
| 509 | window shall be automatically selected when invoking help. | ||
| 510 | *** New variable `help-window-point-marker' permits to specify new | ||
| 511 | position of point in help window (for example in `view-lossage'). | ||
| 512 | 471 | ||
| 513 | ** view-remove-frame-by-deleting is now by default t | 472 | ** Archive Mode has basic support to browse Rar archives. |
| 514 | since users found iconification of view-mode frames distracting. | ||
| 515 | 473 | ||
| 516 | ** Isearch mode | 474 | ** BibTeX mode |
| 517 | 475 | ||
| 518 | *** New command `isearch-occur' bound to `M-s o' in isearch mode | 476 | *** New command `bibtex-initialize' (re)initializes BibTeX buffers. |
| 519 | runs `occur' with the current search string. | ||
| 520 | 477 | ||
| 521 | *** isearch can now search through multiple ChangeLog files. | 478 | *** New `bibtex-entry-format' options `whitespace', `braces', and |
| 522 | When running isearch in a ChangeLog file, if the search fails, | 479 | `string', disabled by default. |
| 523 | then another C-s tries searching the previous ChangeLog, | ||
| 524 | if there is one (e.g. go from ChangeLog to ChangeLog.12). | ||
| 525 | 480 | ||
| 526 | This is enabled if isearch-buffers-multi is non-nil. | 481 | *** New variable `bibtex-cite-matcher-alist' contains rules to |
| 482 | identify cited keys in BibTeX entries, used by `bibtex-find-crossref'. | ||
| 527 | 483 | ||
| 528 | *** The part of an isearch that failed to match is highlighted in `isearch-fail' | 484 | *** Command `bibtex-url' allows multiple URLs per entry. |
| 529 | face. | ||
| 530 | 485 | ||
| 531 | *** `C-h C-h' in isearch mode displays isearch-specific Help screen, | 486 | ** Calendar and diary |
| 532 | `C-h b' displays all isearch key bindings, `C-h k' displays the full | ||
| 533 | documentation of the given isearch key sequence, `C-h m' displays | ||
| 534 | documentation of isearch mode. All the rest Help commands exit isearch mode | ||
| 535 | and execute their global definitions. | ||
| 536 | 487 | ||
| 537 | ** archive-mode has basic support to browse Rar archives. | 488 | +++ |
| 489 | *** There is a new date style, `iso', essentially year/month/day. | ||
| 490 | The variable `european-calendar-style' is obsolete - use `calendar-date-style'. | ||
| 491 | Similarly, the commands `american-calendar' and `european-calendar' | ||
| 492 | should be replaced by `calendar-set-date-style'. | ||
| 538 | 493 | ||
| 539 | ** talk.el has been extended for multiple tty support. | 494 | +++ |
| 495 | *** The calendar namespace has been rationalized. | ||
| 496 | All functions and variables now begin with a `calendar-', `diary-', or | ||
| 497 | `holiday-' prefix. The various calendar systems have secondary | ||
| 498 | prefixes, eg `calendar-french-'. The old names you are likely to use | ||
| 499 | directly still exist, for the time being, as aliases, but please start | ||
| 500 | using the new names. | ||
| 501 | |||
| 502 | *** The function `holiday-chinese' computes holidays on the Chinese calendar. | ||
| 503 | It has been used to add items to the list `holiday-oriental-holidays'. | ||
| 504 | |||
| 505 | *** `diary-remind' accepts a negative number -DAYS as a shorthand for | ||
| 506 | the list (1 2 ... DAYS). | ||
| 540 | 507 | ||
| 541 | ** Compile and grep modes | 508 | ** Compile and grep modes |
| 542 | 509 | ||
| @@ -547,108 +514,89 @@ running, (b) successful completion, (c) error. | |||
| 547 | *** compilation-auto-jump-to-first-error tells `compile' to jump to | 514 | *** compilation-auto-jump-to-first-error tells `compile' to jump to |
| 548 | the first error encountered during compilations. | 515 | the first error encountered during compilations. |
| 549 | 516 | ||
| 550 | ** In the `copyright' package, you can specify your copyright holders' names. | 517 | ** Custom |
| 551 | Only copyright lines with holders matching copyright-names-regexp will be | ||
| 552 | considered for update. | ||
| 553 | |||
| 554 | ** The `copyright' package looks for copyright at the end of the buffer | ||
| 555 | if `copyright-at-end-flag' is non-nil (change-log-mode sets this). | ||
| 556 | |||
| 557 | ** eldoc highlights the function argument under point | ||
| 558 | with the face `eldoc-highlight-function-argument'. | ||
| 559 | |||
| 560 | ** hide-ifdef-mode permits to shadow ifdef-blocks instead of hiding them. | ||
| 561 | See option `hide-ifdef-shadow' and function `hide-ifdef-toggle-shadowing'. | ||
| 562 | |||
| 563 | +++ | 518 | +++ |
| 564 | ** defcustom accepts new keyword arguments, `:safe' and `:risky', which | 519 | *** defcustom accepts new keyword arguments, `:safe' and `:risky', which |
| 565 | set a variable's `safe-local-variable' and `risky-local-variable' property. | 520 | set a variable's `safe-local-variable' and `risky-local-variable' property. |
| 566 | 521 | ||
| 567 | ** Etags changes | 522 | ** Diff mode |
| 568 | *** The --members option is now the default. | ||
| 569 | |||
| 570 | Use --no-members if you want the old default behaviour of not tagging | ||
| 571 | struct members in C, members variables in C++ and variables in PHP. | ||
| 572 | |||
| 573 | ** VC | ||
| 574 | |||
| 575 | *** VC now supports applying VC operations to a set of files at a time. | ||
| 576 | This enables VC to work much more effectively with changeset-oriented | ||
| 577 | version-control systems such as Subversion, GNU Arch, Mercurial, Git | ||
| 578 | and Bzr. VC will now pass a multiple-file commit to these systems as | ||
| 579 | a single changeset. | ||
| 580 | |||
| 581 | *** vc-dir is a new command that displays file names and their VC | ||
| 582 | status. It allows to apply various VC operations to a file or a | ||
| 583 | set of files. | ||
| 584 | |||
| 585 | *** Clicking on the VC mode-line entry now pops the VC menu. | ||
| 586 | |||
| 587 | *** The VC mode-line entry now has a tooltip that explains the VC file status. | ||
| 588 | |||
| 589 | *** In VC Annotate mode, for VC systems that support changesets, you can | ||
| 590 | see the diff for the whole changeset (not only for the current file) | ||
| 591 | by using the vc-annotate-show-changeset-diff-revision-at-line function. | ||
| 592 | 523 | ||
| 593 | *** In VC Annotate mode, you can type V to toggle the annotation visibility. | 524 | *** diff-refine-hunk highlights word-level details of changes in a diff hunk. |
| 525 | It's used automatically as you move through hunks, see | ||
| 526 | diff-auto-refine. It is bound to `C-c C-b'. | ||
| 594 | 527 | ||
| 595 | *** In VC Annotate mode, you can type f to show the file revision on | 528 | *** diff-add-change-log-entries-other-window iterates through the diff |
| 596 | the current line. | 529 | buffer and tries to create ChangeLog entries for each change. |
| 530 | It is bound to `C-x 4 A'. | ||
| 597 | 531 | ||
| 598 | *** vc-git supports the "git grep" command. | 532 | ** Fortran |
| 533 | *** The variable `fortran-line-length' can change the fixed-form line-length. | ||
| 599 | 534 | ||
| 600 | *** Asynchronous VC commands display [Waiting...] in the mode-line | 535 | *** In Fortran mode, M-; is now bound to the standard comment-dwim, |
| 601 | of the corresponding buffer as long as the asynchronous process is | 536 | rather than fortran-indent-comment. |
| 602 | active. | ||
| 603 | 537 | ||
| 604 | *** Log entries can be modified using the key "e" in log-view. | 538 | +++ |
| 605 | For now only CVS, RCS, SCCS and SVN support this functionality. | 539 | *** (The increasingly misnamed) F90 mode supports Fortran 2003 syntax. |
| 606 | This is done by the `modify-change-comment' backend function. | ||
| 607 | 540 | ||
| 608 | *** In log-view-mode, for VC systems that support changesets, you can | 541 | ** Gnus |
| 609 | see the diff for the whole changeset (not only for the current file) | ||
| 610 | by typing the D key or using the "Changeset Diff" menu entry. | ||
| 611 | 542 | ||
| 612 | *** VC Support for Meta-CVS has been removed for lack of maintainer able | 543 | *** The Gnus package has been updated |
| 613 | to update it to the new VC. | 544 | There are many news features, bug fixes and improvements; see the file |
| 545 | GNUS-NEWS or the node "No Gnus" in the Gnus manual for details. | ||
| 614 | 546 | ||
| 615 | ** smerge-refine highlights word-level details of changes in conflict. | 547 | *** In Emacs 23, Gnus uses Emacs' new internal coding system `utf-8-emacs' for |
| 616 | It's used automatically as you move through conflicts, see smerge-auto-refine. | 548 | saving articles drafts and ~/.newsrc.eld. These file may not be read |
| 549 | correctly in Emacs 22 and below. If you want to Gnus across different Emacs | ||
| 550 | versions, you may set `mm-auto-save-coding-system' to `emacs-mule'. | ||
| 617 | 551 | ||
| 618 | ** Diff mode | 552 | ** Help mode |
| 553 | *** New macro `with-help-window' should set up help windows better | ||
| 554 | than `with-output-to-temp-buffer' with `print-help-return-message'. | ||
| 555 | *** New option `help-window-select' permits to customize whether help | ||
| 556 | window shall be automatically selected when invoking help. | ||
| 557 | *** New variable `help-window-point-marker' permits to specify new | ||
| 558 | position of point in help window (for example in `view-lossage'). | ||
| 619 | 559 | ||
| 620 | *** diff-refine-hunk highlights word-level details of changes in a diff hunk. | 560 | ** Isearch |
| 621 | It's used automatically as you move through hunks, see | ||
| 622 | diff-auto-refine. It is bound to `C-c C-b'. | ||
| 623 | 561 | ||
| 624 | *** diff-add-change-log-entries-other-window iterates through the diff | 562 | *** New command `isearch-occur' bound to `M-s o' in isearch mode |
| 625 | buffer and tries to create ChangeLog entries for each change. | 563 | runs `occur' with the current search string. |
| 626 | It is bound to `C-x 4 A'. | ||
| 627 | 564 | ||
| 628 | ** log-edit now has a command bound to C-c C-d to show the diff for | 565 | *** isearch can now search through multiple ChangeLog files. |
| 629 | the files involved. | 566 | When running isearch in a ChangeLog file, if the search fails, |
| 567 | then another C-s tries searching the previous ChangeLog, | ||
| 568 | if there is one (e.g. go from ChangeLog to ChangeLog.12). | ||
| 630 | 569 | ||
| 631 | ** In Change Log mode, the new function `change-log-find-file', bound to | 570 | This is enabled if isearch-buffers-multi is non-nil. |
| 632 | C-c C-f, finds the file associated with the current log entry. | ||
| 633 | 571 | ||
| 634 | ** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs. | 572 | *** The part of an isearch that failed to match is highlighted in `isearch-fail' |
| 573 | face. | ||
| 635 | 574 | ||
| 636 | ** The appearance of superscript and subscript in TeX is more customizable. | 575 | *** `C-h C-h' in isearch mode displays isearch-specific Help screen, |
| 637 | See the documentation of the variables: tex-fontify-script, | 576 | `C-h b' displays all isearch key bindings, `C-h k' displays the full |
| 638 | tex-font-script-display, tex-suscript-height-ratio, and | 577 | documentation of the given isearch key sequence, `C-h m' displays |
| 639 | tex-suscript-height-minimum. | 578 | documentation of isearch mode. All the rest Help commands exit isearch mode |
| 579 | and execute their global definitions. | ||
| 640 | 580 | ||
| 641 | ** BibTeX mode | 581 | *** When started in the minibuffer, Isearch searches in the minibuffer |
| 582 | history. See `Minibuffer changes', above. | ||
| 642 | 583 | ||
| 643 | *** New command `bibtex-initialize' (re)initializes BibTeX buffers. | 584 | ** Python |
| 585 | *** The file etc/emacs.py now supports both Python 2 and 3, meaning | ||
| 586 | that either version can be used as inferior Python by python.el. | ||
| 644 | 587 | ||
| 645 | *** New `bibtex-entry-format' options `whitespace', `braces', and | 588 | *** Python mode now has `pdbtrack' functionality. When using pdb to |
| 646 | `string', disabled by default. | 589 | debug a Python program, pdbtrack notices the pdb prompt and displays |
| 590 | the source file and line that the program is stopped at, much the same | ||
| 591 | way as gud-mode does for debugging C programs with gdb. | ||
| 647 | 592 | ||
| 648 | *** New variable `bibtex-cite-matcher-alist' contains rules to | 593 | ** T-mouse Mode |
| 649 | identify cited keys in BibTeX entries, used by `bibtex-find-crossref'. | ||
| 650 | 594 | ||
| 651 | *** Command `bibtex-url' allows multiple URLs per entry. | 595 | *** If the gpm mouse server is running and t-mouse-mode is enabled, |
| 596 | Emacs uses a Unix socket in a GNU/Linux console to talk to server, | ||
| 597 | rather than faking events using the client program mev. This C level | ||
| 598 | approach provides mouse highlighting and help echoing in the | ||
| 599 | minibuffer. | ||
| 652 | 600 | ||
| 653 | +++ | 601 | +++ |
| 654 | ** Tramp | 602 | ** Tramp |
| @@ -683,88 +631,116 @@ file copy is checked via the file's checksum. | |||
| 683 | Tramp uses the package `auth-source' to read passwords from a file, if | 631 | Tramp uses the package `auth-source' to read passwords from a file, if |
| 684 | necessary. | 632 | necessary. |
| 685 | 633 | ||
| 686 | ** Calendar and diary | 634 | ** VC |
| 687 | |||
| 688 | +++ | ||
| 689 | *** There is a new date style, `iso', essentially year/month/day. | ||
| 690 | The variable `european-calendar-style' is obsolete - use `calendar-date-style'. | ||
| 691 | Similarly, the commands `american-calendar' and `european-calendar' | ||
| 692 | should be replaced by `calendar-set-date-style'. | ||
| 693 | |||
| 694 | +++ | ||
| 695 | *** The calendar namespace has been rationalized. | ||
| 696 | All functions and variables now begin with a `calendar-', `diary-', or | ||
| 697 | `holiday-' prefix. The various calendar systems have secondary | ||
| 698 | prefixes, eg `calendar-french-'. The old names you are likely to use | ||
| 699 | directly still exist, for the time being, as aliases, but please start | ||
| 700 | using the new names. | ||
| 701 | |||
| 702 | *** The function `holiday-chinese' computes holidays on the Chinese calendar. | ||
| 703 | It has been used to add items to the list `holiday-oriental-holidays'. | ||
| 704 | |||
| 705 | *** `diary-remind' accepts a negative number -DAYS as a shorthand for | ||
| 706 | the list (1 2 ... DAYS). | ||
| 707 | 635 | ||
| 708 | ** Miscellaneous programming mode changes | 636 | *** VC now supports applying VC operations to a set of files at a time. |
| 637 | This enables VC to work much more effectively with changeset-oriented | ||
| 638 | version-control systems such as Subversion, GNU Arch, Mercurial, Git | ||
| 639 | and Bzr. VC will now pass a multiple-file commit to these systems as | ||
| 640 | a single changeset. | ||
| 709 | 641 | ||
| 710 | *** The file etc/emacs.py now supports both Python 2 and 3, meaning | 642 | *** vc-dir is a new command that displays file names and their VC |
| 711 | that either version can be used as inferior Python by python.el. | 643 | status. It allows to apply various VC operations to a file or a |
| 644 | set of files. | ||
| 712 | 645 | ||
| 713 | *** Python mode now has `pdbtrack' functionality. When using pdb to | 646 | *** Clicking on the VC mode-line entry now pops the VC menu. |
| 714 | debug a Python program, pdbtrack notices the pdb prompt and displays | ||
| 715 | the source file and line that the program is stopped at, much the same | ||
| 716 | way as gud-mode does for debugging C programs with gdb. | ||
| 717 | 647 | ||
| 718 | *** The variable `fortran-line-length' can change the fixed-form line-length. | 648 | *** The VC mode-line entry now has a tooltip that explains the VC file status. |
| 719 | 649 | ||
| 720 | *** In Fortran mode, M-; is now bound to the standard comment-dwim, | 650 | *** In VC Annotate mode, for VC systems that support changesets, you can |
| 721 | rather than fortran-indent-comment. | 651 | see the diff for the whole changeset (not only for the current file) |
| 652 | by using the vc-annotate-show-changeset-diff-revision-at-line function. | ||
| 722 | 653 | ||
| 723 | +++ | 654 | *** In VC Annotate mode, you can type V to toggle the annotation visibility. |
| 724 | *** (The increasingly misnamed) F90 mode supports Fortran 2003 syntax. | ||
| 725 | 655 | ||
| 726 | *** The function `gdb' only works with the graphical interface now. | 656 | *** In VC Annotate mode, you can type f to show the file revision on |
| 727 | Use `gud-gdb' if you want the (old) text command mode. | 657 | the current line. |
| 728 | 658 | ||
| 729 | ** Gnus package | 659 | *** vc-git supports the "git grep" command. |
| 730 | 660 | ||
| 731 | *** The Gnus package has been updated | 661 | *** Asynchronous VC commands display [Waiting...] in the mode-line |
| 662 | of the corresponding buffer as long as the asynchronous process is | ||
| 663 | active. | ||
| 732 | 664 | ||
| 733 | *** In Emacs 23, Gnus uses Emacs' new internal coding system `utf-8-emacs' for | 665 | *** Log entries can be modified using the key "e" in log-view. |
| 734 | saving articles drafts and ~/.newsrc.eld. These file may not be read | 666 | For now only CVS, RCS, SCCS and SVN support this functionality. |
| 735 | correctly in Emacs 22 and below. If you want to Gnus across different Emacs | 667 | This is done by the `modify-change-comment' backend function. |
| 736 | versions, you may set `mm-auto-save-coding-system' to `emacs-mule'. | ||
| 737 | 668 | ||
| 738 | *** There are many news features, bug fixes and improvements. | 669 | *** In log-view-mode, for VC systems that support changesets, you can |
| 670 | see the diff for the whole changeset (not only for the current file) | ||
| 671 | by typing the D key or using the "Changeset Diff" menu entry. | ||
| 739 | 672 | ||
| 740 | See the file GNUS-NEWS or the node "No Gnus" in the Gnus manual for details. | 673 | *** VC Support for Meta-CVS has been removed for lack of maintainer able |
| 674 | to update it to the new VC. | ||
| 741 | 675 | ||
| 742 | ** Miscellaneous | 676 | ** Miscellaneous |
| 743 | 677 | ||
| 744 | *** goto-address.el provides two new minor modes, goto-address-mode and | 678 | *** In Change Log mode, the new command C-c C-f (change-log-find-file) |
| 745 | goto-address-prog-mode, which buttonize URLS and email addresses. | 679 | finds the file associated with the current log entry. |
| 746 | 680 | ||
| 747 | *** comint-mode uses `start-file-process' now (see Lisp Changes). | 681 | *** comint-mode uses `start-file-process' now (see Lisp Changes). |
| 748 | If `default-directory' is a remote file name, subprocesses are started | 682 | If `default-directory' is a remote file name, subprocesses are started |
| 749 | on the corresponding remote system. | 683 | on the corresponding remote system. |
| 750 | 684 | ||
| 751 | *** C-x C-q in dired-mode now runs the command wdired-change-to-wdired-mode, | 685 | *** In Dired, C-x C-q now runs the command wdired-change-to-wdired-mode, |
| 752 | and C-x C-q in wdired-mode exits it with asking a question about | 686 | and C-x C-q in wdired-mode exits it with asking a question about |
| 753 | saving changes. | 687 | saving changes. |
| 754 | 688 | ||
| 755 | *** The new command `eshell/info' runs info in an eshell buffer. | 689 | *** Eldoc highlights the function argument under point |
| 690 | with the face `eldoc-highlight-function-argument'. | ||
| 756 | 691 | ||
| 757 | *** The pcmpl-unix package supports hostname completion for ssh and scp. | 692 | *** In Etags, the --members option is now the default. |
| 693 | Use --no-members if you want the old default behaviour of not tagging | ||
| 694 | struct members in C, members variables in C++ and variables in PHP. | ||
| 758 | 695 | ||
| 759 | *** WoMan tries to add locale-specific manual page directories to the | 696 | *** The `gdb' command only works with the graphical interface now. |
| 760 | search path. This can be disabled by setting `woman-locale' to nil. | 697 | Use `gud-gdb' if you want the (old) text command mode. |
| 698 | |||
| 699 | *** goto-address.el provides two new minor modes, goto-address-mode and | ||
| 700 | goto-address-prog-mode, which buttonize URLS and email addresses. | ||
| 701 | |||
| 702 | *** The new command `eshell/info' runs info in an eshell buffer. | ||
| 761 | 703 | ||
| 762 | *** The new variable `ffap-rfc-directories' specifies a list of local | 704 | *** The new variable `ffap-rfc-directories' specifies a list of local |
| 763 | directories in which `ffap-rfc' will first search for RFCs. | 705 | directories in which `ffap-rfc' will first search for RFCs. |
| 764 | 706 | ||
| 707 | *** hide-ifdef-mode allows shadowing ifdef-blocks instead of hiding them. | ||
| 708 | See option `hide-ifdef-shadow' and function `hide-ifdef-toggle-shadowing'. | ||
| 709 | |||
| 710 | *** `icomplete-prospects-height' now supercedes `icomplete-prospects-length'. | ||
| 711 | |||
| 712 | *** Info displays breadcrumbs in the header of the page. | ||
| 713 | See Info-breadcrumbs-depth to control it. | ||
| 714 | |||
| 715 | *** In Log Edit mode, C-c C-d now shows the diff for the files involved. | ||
| 716 | |||
| 765 | *** net-utils has an `iwconfig' command, similar to the existing `ifconfig'. | 717 | *** net-utils has an `iwconfig' command, similar to the existing `ifconfig'. |
| 766 | It is used to configure wireless interfaces. | 718 | It is used to configure wireless interfaces. |
| 767 | 719 | ||
| 720 | *** The pcmpl-unix package supports hostname completion for ssh and scp. | ||
| 721 | |||
| 722 | *** sgml-electric-tag-pair-mode lets you simultaneously edit matched tag pairs. | ||
| 723 | |||
| 724 | *** smerge-refine highlights word-level details of changes in conflict. | ||
| 725 | It's used automatically as you move through conflicts, see smerge-auto-refine. | ||
| 726 | |||
| 727 | *** talk.el has been extended for multiple tty support. | ||
| 728 | |||
| 729 | *** A new command `display-time-world' has been added to the Time | ||
| 730 | package. It creates a buffer with an updating time display using | ||
| 731 | several time zones. | ||
| 732 | |||
| 733 | *** The appearance of superscript and subscript in TeX is more customizable. | ||
| 734 | See the documentation of the variables: tex-fontify-script, | ||
| 735 | tex-font-script-display, tex-suscript-height-ratio, and | ||
| 736 | tex-suscript-height-minimum. | ||
| 737 | |||
| 738 | *** view-remove-frame-by-deleting is now by default t | ||
| 739 | since users found iconification of view-mode frames distracting. | ||
| 740 | |||
| 741 | *** WoMan tries to add locale-specific manual page directories to the | ||
| 742 | search path. This can be disabled by setting `woman-locale' to nil. | ||
| 743 | |||
| 768 | 744 | ||
| 769 | * Changes in Emacs 23.1 on non-free operating systems | 745 | * Changes in Emacs 23.1 on non-free operating systems |
| 770 | 746 | ||
| @@ -870,6 +846,41 @@ functions and variables (formerly used for Tamil script). | |||
| 870 | 846 | ||
| 871 | * Lisp Changes in Emacs 23.1 | 847 | * Lisp Changes in Emacs 23.1 |
| 872 | 848 | ||
| 849 | ** The new variable next-error-recenter specifies how next-error should | ||
| 850 | recenter the visited source file. Its value can be a number (for example, | ||
| 851 | 0 for top line, -1 for bottom line), or nil for no recentering. | ||
| 852 | |||
| 853 | ** Emacs session information | ||
| 854 | |||
| 855 | *** The new variables `before-init-time' and `after-init-time' record the | ||
| 856 | value of `current-time' before and after Emacs loads the init files. | ||
| 857 | |||
| 858 | *** The new function `emacs-uptime' returns the uptime of an Emacs instance. | ||
| 859 | |||
| 860 | *** The new function `emacs-init-time' returns the duration of the | ||
| 861 | Emacs initialization. | ||
| 862 | |||
| 863 | ** The new function `format-seconds' converts a number of seconds into a | ||
| 864 | readable string of days, hours, etc. | ||
| 865 | |||
| 866 | ** set-file-modes is now interactive and can take the mode value in | ||
| 867 | symbolic notation thanks to auxiliary functions. | ||
| 868 | |||
| 869 | ** If you set find-file-confirm-nonexistent-file to t, then C-x C-f | ||
| 870 | requires confirmation before opening a non-existent file. | ||
| 871 | |||
| 872 | ** Built-in functions (subr) can now have an interactive specification | ||
| 873 | that is not a prompt string. If the `intspec' parameter of a `DEFUN' | ||
| 874 | starts with a `(', the string is evaluated as a Lisp form. | ||
| 875 | |||
| 876 | ** Changes affecting display-buffer | ||
| 877 | *** New value nil for split-height-threshold inhibits vertical splitting | ||
| 878 | unless there's no other window. | ||
| 879 | *** New option split-width-threshold controls horizontal splitting. | ||
| 880 | *** A window can be split horizontally even when it's not full-width. | ||
| 881 | *** New option split-window-preferred-function can be set to a function | ||
| 882 | to override the default splitting mechanism of display-buffer. | ||
| 883 | |||
| 873 | ** The variable window-point-insertion-type determines the insertion-type | 884 | ** The variable window-point-insertion-type determines the insertion-type |
| 874 | of the marker used for window-point. | 885 | of the marker used for window-point. |
| 875 | 886 | ||
| @@ -1184,6 +1195,7 @@ local-function-key-map variables, and uses them instead of the | |||
| 1184 | global keymaps to set up translations and function key sequences | 1195 | global keymaps to set up translations and function key sequences |
| 1185 | relevant to a specific terminal device. | 1196 | relevant to a specific terminal device. |
| 1186 | 1197 | ||
| 1198 | *** `underline-minimum-offset' keeps the underline away from the baseline. | ||
| 1187 | 1199 | ||
| 1188 | ** You can now also pass the value of the `invisible' property to invisible-p | 1200 | ** You can now also pass the value of the `invisible' property to invisible-p |
| 1189 | to check whether it would cause the text to be invisible. Convenient when | 1201 | to check whether it would cause the text to be invisible. Convenient when |