diff options
| author | Joakim Verona | 2011-08-27 19:45:48 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-08-27 19:45:48 +0200 |
| commit | 9fb7b0cab34a48a4c7b66abb6b8edc4ee20467b4 (patch) | |
| tree | e94476d49f15747fcb9409d773702e88201855a4 /etc | |
| parent | c7489583c30031c0ecfae9d20b20c149ca1935e9 (diff) | |
| parent | b75258b32810f3690442bddef2e10eef126d2d25 (diff) | |
| download | emacs-9fb7b0cab34a48a4c7b66abb6b8edc4ee20467b4.tar.gz emacs-9fb7b0cab34a48a4c7b66abb6b8edc4ee20467b4.zip | |
upstream
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 747 | ||||
| -rw-r--r-- | etc/tutorials/TUTORIAL.he | 18 |
2 files changed, 357 insertions, 408 deletions
| @@ -55,6 +55,18 @@ With it, Emacs integers typically have 62 bits, even on 32-bit machines. | |||
| 55 | Type `C-u C-h t' to choose it in case your language setup doesn't | 55 | Type `C-u C-h t' to choose it in case your language setup doesn't |
| 56 | automatically select it. | 56 | automatically select it. |
| 57 | 57 | ||
| 58 | ** Emacs can be compiled with support for the ImageMagick library. | ||
| 59 | Emacs links to ImageMagick if version 6.2.8 or newer of the library is | ||
| 60 | present at build time. To disable ImageMagick support, use the | ||
| 61 | `--without-imagemagick' configure option. | ||
| 62 | |||
| 63 | ** The standalone programs digest-doc and sorted-doc are removed. | ||
| 64 | Emacs now uses Lisp commands `doc-file-to-man' and `doc-file-to-info'. | ||
| 65 | |||
| 66 | --- | ||
| 67 | ** The standalone program `fakemail' is removed. | ||
| 68 | If you need it, feedmail.el provides a superset of the functionality. | ||
| 69 | |||
| 58 | 70 | ||
| 59 | * Startup Changes in Emacs 24.1 | 71 | * Startup Changes in Emacs 24.1 |
| 60 | 72 | ||
| @@ -74,27 +86,7 @@ and also when HOME is set to C:\ by default. | |||
| 74 | 86 | ||
| 75 | * Changes in Emacs 24.1 | 87 | * Changes in Emacs 24.1 |
| 76 | 88 | ||
| 77 | ** The inactive minibuffer has its own major mode `minibuffer-inactive-mode'. | 89 | ** auto-mode-case-fold is now enabled by default. |
| 78 | This is handy for minibuffer-only frames, and is also used for the "mouse-1 | ||
| 79 | pops up *Messages*" feature, which can now easily be changed. | ||
| 80 | |||
| 81 | ** emacsclient changes | ||
| 82 | |||
| 83 | +++ | ||
| 84 | *** New emacsclient argument --parent-id ID can be used to open a | ||
| 85 | client frame in parent X window ID, via XEmbed. This works like the | ||
| 86 | --parent-id argument to Emacs. | ||
| 87 | |||
| 88 | +++ | ||
| 89 | *** New emacsclient argument -q/--quiet suppresses some status messages. | ||
| 90 | |||
| 91 | +++ | ||
| 92 | *** New emacsclient argument --frame-parameters can be used to set the | ||
| 93 | frame parameters of a newly-created graphical frame. | ||
| 94 | |||
| 95 | +++ | ||
| 96 | *** If emacsclient shuts down as a result of Emacs signalling an | ||
| 97 | error, its exit status is 1. | ||
| 98 | 90 | ||
| 99 | ** Completion | 91 | ** Completion |
| 100 | 92 | ||
| @@ -121,128 +113,130 @@ and pops down the *Completions* buffer accordingly. | |||
| 121 | Instead, the bindings in minibuffer-local-filename-completion-map are combined | 113 | Instead, the bindings in minibuffer-local-filename-completion-map are combined |
| 122 | with minibuffer-local-must-match-map. | 114 | with minibuffer-local-must-match-map. |
| 123 | 115 | ||
| 124 | ** auto-mode-case-fold is now enabled by default. | ||
| 125 | |||
| 126 | ** Mail changes | 116 | ** Mail changes |
| 127 | 117 | ||
| 128 | The default of `send-mail-function' has changed from | 118 | The default of `send-mail-function' is now `sendmail-query-once', |
| 129 | `sendmail-send-it' (on GNU/Linux and other Unix-like systems) or | 119 | which asks the user (once) whether to use the smtpmail package to send |
| 130 | `mailclient-send-it' (on Windows) to `sendmail-query-once'. This new | 120 | email, or to use the old defaults that rely on external mail |
| 131 | default will ask the user (once) whether to use the internal smtpmail | 121 | facilities (`sendmail-send-it' on GNU/Linux and other Unix-like |
| 132 | package to send email, or to use the old, external defaults. | 122 | systems, and `mailclient-send-it' on Windows). |
| 133 | 123 | ||
| 134 | ** smtpmail changes | 124 | *** smtpmail changes |
| 135 | 125 | ||
| 136 | *** smtpmail has been largely rewritten to upgrade to STARTTLS if | 126 | **** smtpmail now uses encrypted connections (via STARTTLS) if the |
| 137 | possible, and uses the auth-source framework for getting credentials. | 127 | mail server supports them. It also uses the auth-source framework for |
| 138 | The rewrite should be largely compatible with previous versions of | 128 | getting credentials. |
| 139 | smtpmail, but there are two major incompatibilities: | ||
| 140 | 129 | ||
| 141 | *** `smtpmail-auth-credentials' no longer exists. That variable used | 130 | **** The variable `smtpmail-auth-credentials' has been removed. |
| 142 | to be be either ~/.authinfo (in which case you won't see any | 131 | That variable used to have the default value "~/.authinfo", in which |
| 143 | difference), but if it were a direct list of user names and passwords, | 132 | case you won't see any difference. But if you changed it to be a list |
| 144 | it will be ignored, and you will be prompted for the user name and the | 133 | of user names and passwords, that setting is now ignored; you will be |
| 145 | password instead. They will then be saved to ~/.authinfo. | 134 | prompted for the user name and the password, which will then be saved |
| 135 | to ~/.authinfo. | ||
| 146 | 136 | ||
| 147 | If you wish to copy over all the credentials from | 137 | You can also manually copy the credentials to your ~/.authinfo file. |
| 148 | `smtpmail-auth-credentials' to your ~/.authinfo file manually, instead | 138 | For example, if you had |
| 149 | of letting smtpmail prompt you for these values, that's also possible. | ||
| 150 | 139 | ||
| 151 | If you had, for instance, | 140 | (setq smtpmail-auth-credentials |
| 152 | 141 | '(("mail.example.org" 25 "jim" "s!cret"))) | |
| 153 | (setq smtpmail-auth-credentials | ||
| 154 | '(("mail.example.org" 25 "jim" "s!cret"))) | ||
| 155 | 142 | ||
| 156 | then the equivalent line in ~/.authinfo would be | 143 | then the equivalent line in ~/.authinfo would be |
| 157 | 144 | ||
| 158 | machine mail.example.org port 25 login jim password s!cret | 145 | machine mail.example.org port 25 login jim password s!cret |
| 146 | |||
| 147 | **** The variable `smtpmail-starttls-credentials' has been removed. | ||
| 159 | 148 | ||
| 160 | *** Similarly, `smtpmail-starttls-credentials' no longer exists. If | 149 | If you had that set, then then you need to put |
| 161 | you had that set, then then you need to put | ||
| 162 | 150 | ||
| 163 | machine smtp.whatever.foo port 25 key "~/.my_smtp_tls.key" cert | 151 | machine smtp.whatever.foo port 25 key "~/.my_smtp_tls.key" cert "~/.my_smtp_tls.cert" |
| 164 | "~/.my_smtp_tls.cert" | ||
| 165 | 152 | ||
| 166 | in your ~/.authinfo file instead. | 153 | in your ~/.authinfo file instead. |
| 167 | 154 | ||
| 155 | ** Emacs server and client changes | ||
| 156 | |||
| 157 | *** New option `server-port' specifies the port on which the Emacs | ||
| 158 | server should listen. | ||
| 159 | +++ | ||
| 160 | *** New emacsclient argument -q/--quiet suppresses some status messages. | ||
| 161 | +++ | ||
| 162 | *** New emacsclient argument --frame-parameters can be used to set the | ||
| 163 | frame parameters of a newly-created graphical frame. | ||
| 164 | +++ | ||
| 165 | *** If emacsclient shuts down as a result of Emacs signalling an | ||
| 166 | error, its exit status is 1. | ||
| 167 | +++ | ||
| 168 | *** New emacsclient argument --parent-id ID. | ||
| 169 | This opens a client frame in parent X window ID, via XEmbed, similar | ||
| 170 | to the --parent-id argument to Emacs. | ||
| 171 | |||
| 168 | ** Internationalization changes | 172 | ** Internationalization changes |
| 169 | 173 | ||
| 170 | +++ | 174 | +++ |
| 171 | *** Emacs now supports display and editing of bidirectional text. | 175 | *** Emacs now supports display and editing of bidirectional text. |
| 172 | 176 | ||
| 173 | See the node "Bidirectional Editing" in the Emacs Manual for some | 177 | Text that includes characters from right-to-left (RTL) scripts, such |
| 174 | additional documentation. | 178 | as Arabic, Farsi, or Hebrew, is displayed in the correct visual order |
| 175 | 179 | as expected by users of those scripts. This display reordering is a | |
| 176 | To turn this off in any given buffer, set the buffer-local variable | 180 | "Full bidirectionality" class implementation of the Unicode |
| 177 | `bidi-display-reordering' to a nil value. The default is t. For text | 181 | Bidirectional Algorithm. Buffers RTL text should look exactly the |
| 178 | that includes no right-to-left characters, the result of reordering | 182 | same as before. |
| 179 | looks exactly as it did in previous versions, i.e. there's no | ||
| 180 | reordering at all. | ||
| 181 | 183 | ||
| 182 | The buffer-local variable `bidi-paragraph-direction', if non-nil, | 184 | For more information, see the node "Bidirectional Editing" in the |
| 183 | forces each paragraph in the buffer to have its base direction | 185 | Emacs Manual. |
| 184 | according to the value of this variable. Possible values are | ||
| 185 | `right-to-left' and `left-to-right'. If the value is nil (the | ||
| 186 | default), Emacs determines the base direction of each paragraph from | ||
| 187 | its text, as specified by the Unicode Bidirectional Algorithm. | ||
| 188 | 186 | ||
| 189 | The function `current-bidi-paragraph-direction' returns the actual | 187 | +++ |
| 190 | value of paragraph base direction at point. | 188 | **** New buffer-local variable `bidi-display-reordering'. |
| 189 | To disable display reordering in any given buffer, change this to nil. | ||
| 191 | 190 | ||
| 192 | Reordering of bidirectional text for display in Emacs is a "Full | 191 | +++ |
| 193 | bidirectionality" class implementation of the Unicode Bidirectional | 192 | **** New buffer-local variable `bidi-paragraph-direction'. |
| 193 | If nil (the default), Emacs determines the base direction of each | ||
| 194 | paragraph from its text, as specified by the Unicode Bidirectional | ||
| 194 | Algorithm. | 195 | Algorithm. |
| 195 | 196 | ||
| 197 | Setting this to `right-to-left' or `left-to-right' forces a particular | ||
| 198 | base direction on each paragraph in the buffer. | ||
| 199 | |||
| 200 | Paragraphs whose base direction is right-to-left are displayed | ||
| 201 | starting at the right margin of the window. | ||
| 202 | |||
| 196 | +++ | 203 | +++ |
| 197 | *** Enhanced support for characters that have no glyphs in available fonts. | 204 | *** Enhanced support for characters with no glyphs in available fonts. |
| 198 | If a character has no glyphs in any of the available fonts, Emacs by | 205 | If a character has no glyphs in any of the available fonts, Emacs |
| 199 | default will display it either as a hexadecimal code in a box or as a | 206 | normally displays it either as a hexadecimal code in a box or as a |
| 200 | thin 1-pixel space. In addition to these two methods, Emacs can | 207 | thin 1-pixel space. In addition to these two methods, Emacs can |
| 201 | display these characters as empty box, as an acronym, or not display | 208 | display these characters as empty box, as an acronym, or not display |
| 202 | them at all. To change how these characters are displayed, customize | 209 | them at all. To change how these characters are displayed, customize |
| 203 | the variable `glyphless-char-display-control'. | 210 | the variable `glyphless-char-display-control'. |
| 204 | 211 | ||
| 205 | On character terminals these methods are used for characters that | 212 | On character terminals, these methods are used for characters that |
| 206 | cannot be encoded by the `terminal-coding-system'. | 213 | cannot be encoded by the `terminal-coding-system'. |
| 207 | 214 | ||
| 208 | *** There are two new input methods for Persian/Farsi: farsi and farsi-translit. | 215 | *** New input methods for Farsi: farsi and farsi-translit. |
| 216 | |||
| 217 | ** Improved GTK integration | ||
| 209 | 218 | ||
| 210 | ** GTK scroll-bars are now placed on the right by default. | 219 | *** GTK scroll-bars are now placed on the right by default. |
| 211 | Use `set-scroll-bar-mode' to change this. | 220 | Use `set-scroll-bar-mode' to change this. |
| 212 | 221 | ||
| 213 | ** GTK tool bars can have just text, just images or images and text. | 222 | *** GTK tool bars can have just text, just images or images and text. |
| 214 | Customize `tool-bar-style' to choose style. On a Gnome desktop, the default | 223 | Customize `tool-bar-style' to choose style. On a Gnome desktop, the default |
| 215 | is taken from the desktop settings. | 224 | is taken from the desktop settings. |
| 216 | 225 | ||
| 217 | ** GTK tool bars can be placed on the left/right or top/bottom of the frame. | 226 | *** GTK tool bars can be placed on the left/right or top/bottom of the frame. |
| 218 | The frame-parameter tool-bar-position controls this. It takes the values | 227 | The frame-parameter tool-bar-position controls this. It takes the values |
| 219 | top, left, right or bottom. The Options => Show/Hide menu has entries | 228 | top, left, right or bottom. The Options => Show/Hide menu has entries |
| 220 | for this. | 229 | for this. |
| 221 | 230 | ||
| 222 | ** ImageMagick support. | 231 | *** The colors for selected text (the region face) are taken from the GTK |
| 223 | It is now possible to use the ImageMagick library to load many new | 232 | theme when Emacs is built with GTK. |
| 224 | image formats in Emacs. By default, Emacs links with the ImageMagick | ||
| 225 | libraries if they are present at build time. This needs ImageMagick | ||
| 226 | 6.2.8 or newer (versions newer than 6.0.7 _may_ work but have not been | ||
| 227 | tested). To disable ImageMagick support, use the configure option | ||
| 228 | `--without-imagemagick'. | ||
| 229 | |||
| 230 | The new function `imagemagick-types' returns a list of image file | ||
| 231 | extensions that your installation of ImageMagick supports. The | ||
| 232 | function `imagemagick-register-types' enables ImageMagick support for | ||
| 233 | these image types, minus those listed in `imagemagick-types-inhibit'. | ||
| 234 | 233 | ||
| 235 | See the Emacs Lisp Reference Manual for more information. | 234 | *** Emacs uses GTK tooltips by default if built with GTK. You can turn that |
| 235 | off by customizing x-gtk-use-system-tooltips. | ||
| 236 | 236 | ||
| 237 | ** New basic faces `error', `warning', `success' are available to | 237 | ** New basic faces `error', `warning', `success' are available to |
| 238 | highlight strings that indicate failure, caution or successful operation. | 238 | highlight strings that indicate failure, caution or successful operation. |
| 239 | 239 | ||
| 240 | ** The colors for selected text (the region face) are taken from the GTK | ||
| 241 | theme when Emacs is built with GTK. | ||
| 242 | |||
| 243 | ** Emacs uses GTK tooltips by default if built with GTK. You can turn that | ||
| 244 | off by customizing x-gtk-use-system-tooltips. | ||
| 245 | |||
| 246 | ** Lucid menus and dialogs can display antialiased fonts if Emacs is built | 240 | ** Lucid menus and dialogs can display antialiased fonts if Emacs is built |
| 247 | with Xft. To change font, use the X resource font, for example: | 241 | with Xft. To change font, use the X resource font, for example: |
| 248 | Emacs.pane.menubar.font: Courier-12 | 242 | Emacs.pane.menubar.font: Courier-12 |
| @@ -272,33 +266,37 @@ for remote machines which support SELinux. | |||
| 272 | ** The function format-time-string now supports the %N directive, for | 266 | ** The function format-time-string now supports the %N directive, for |
| 273 | higher-resolution time stamps. | 267 | higher-resolution time stamps. |
| 274 | 268 | ||
| 275 | ** The function kill-emacs is now run upon receipt of the signals SIGTERM | 269 | ** Changes for exiting Emacs |
| 276 | and SIGHUP, and upon SIGINT in batch mode. | 270 | |
| 271 | *** The function kill-emacs is now run upon receipt of the signals | ||
| 272 | SIGTERM and SIGHUP, and upon SIGINT in batch mode. | ||
| 277 | 273 | ||
| 278 | ** kill-emacs-hook is now also run in batch mode. | 274 | *** kill-emacs-hook is now also run in batch mode. |
| 279 | If you have code that adds something to kill-emacs-hook, you should | 275 | If you have code that adds something to kill-emacs-hook, you should |
| 280 | consider if it is still appropriate to add it in the noninteractive case. | 276 | consider if it is still appropriate to add it in the noninteractive case. |
| 281 | 277 | ||
| 282 | ** New scrolling commands `scroll-up-command' and `scroll-down-command' | 278 | ** Scrolling changes |
| 279 | |||
| 280 | *** New scrolling commands `scroll-up-command' and `scroll-down-command' | ||
| 283 | (bound to C-v/[next] and M-v/[prior]) do not signal errors at top/bottom | 281 | (bound to C-v/[next] and M-v/[prior]) do not signal errors at top/bottom |
| 284 | of buffer at first key-press (instead move to top/bottom of buffer) | 282 | of buffer at first key-press (instead move to top/bottom of buffer) |
| 285 | when a new variable `scroll-error-top-bottom' is non-nil. | 283 | when a new variable `scroll-error-top-bottom' is non-nil. |
| 286 | 284 | ||
| 287 | ** New scrolling commands `scroll-up-line' and `scroll-down-line' | 285 | *** New scrolling commands `scroll-up-line' and `scroll-down-line' |
| 288 | scroll a line instead of full screen. | 286 | scroll a line instead of full screen. |
| 289 | 287 | ||
| 290 | ** New property `scroll-command' should be set on a command's symbol to | 288 | *** New property `scroll-command' should be set on a command's symbol to |
| 291 | define it as a scroll command affected by `scroll-preserve-screen-position'. | 289 | define it as a scroll command affected by `scroll-preserve-screen-position'. |
| 292 | 290 | ||
| 293 | +++ | 291 | +++ |
| 294 | ** If you customize `scroll-conservatively' to a value greater than 100, | 292 | *** If you customize `scroll-conservatively' to a value greater than 100, |
| 295 | Emacs will never recenter point in the window when it scrolls due to | 293 | Emacs will never recenter point in the window when it scrolls due to |
| 296 | cursor motion commands or commands that move point (e.f., `M-g M-g'). | 294 | cursor motion commands or commands that move point (e.f., `M-g M-g'). |
| 297 | Previously, you needed to use `most-positive-fixnum' as the value of | 295 | Previously, you needed to use `most-positive-fixnum' as the value of |
| 298 | `scroll-conservatively' to achieve the same effect. | 296 | `scroll-conservatively' to achieve the same effect. |
| 299 | 297 | ||
| 300 | --- | 298 | --- |
| 301 | ** ``Aggressive'' scrolling now honors the scroll margins. | 299 | *** ``Aggressive'' scrolling now honors the scroll margins. |
| 302 | If you customize `scroll-up-aggressively' or | 300 | If you customize `scroll-up-aggressively' or |
| 303 | `scroll-down-aggressively' and move point off the window, Emacs now | 301 | `scroll-down-aggressively' and move point off the window, Emacs now |
| 304 | scrolls the window so as to avoid positioning point inside the scroll | 302 | scrolls the window so as to avoid positioning point inside the scroll |
| @@ -319,20 +317,19 @@ for `list-colors-display'. | |||
| 319 | This is a convenient way to download and install additional packages, | 317 | This is a convenient way to download and install additional packages, |
| 320 | from a package repository at elpa.gnu.org. | 318 | from a package repository at elpa.gnu.org. |
| 321 | 319 | ||
| 320 | +++ | ||
| 322 | *** `M-x list-packages' shows a list of packages, which can be | 321 | *** `M-x list-packages' shows a list of packages, which can be |
| 323 | selected for installation. | 322 | selected for installation. |
| 324 | 323 | ||
| 324 | +++ | ||
| 325 | *** New command `describe-package', bound to `C-h P'. | 325 | *** New command `describe-package', bound to `C-h P'. |
| 326 | 326 | ||
| 327 | +++ | ||
| 327 | *** By default, all installed packages are loaded and activated | 328 | *** By default, all installed packages are loaded and activated |
| 328 | automatically when Emacs starts up. To disable this, set | 329 | automatically when Emacs starts up. To disable this, set |
| 329 | `package-enable-at-startup' to nil. To change which packages are | 330 | `package-enable-at-startup' to nil. To change which packages are |
| 330 | loaded, customize `package-load-list'. | 331 | loaded, customize `package-load-list'. |
| 331 | 332 | ||
| 332 | ** An Emacs Lisp testing tool is now included. | ||
| 333 | Emacs Lisp developers can use this tool to write automated tests for | ||
| 334 | their code. See the ERT info manual for details. | ||
| 335 | |||
| 336 | ** Custom Themes | 333 | ** Custom Themes |
| 337 | 334 | ||
| 338 | *** `M-x customize-themes' lists Custom themes which can be enabled. | 335 | *** `M-x customize-themes' lists Custom themes which can be enabled. |
| @@ -350,16 +347,22 @@ default, all themes included in Emacs are treated as safe. | |||
| 350 | ** The user option `remote-file-name-inhibit-cache' controls whether | 347 | ** The user option `remote-file-name-inhibit-cache' controls whether |
| 351 | the remote file-name cache is used for read access. | 348 | the remote file-name cache is used for read access. |
| 352 | 349 | ||
| 350 | ** File- and directory-local variable changes | ||
| 353 | +++ | 351 | +++ |
| 354 | ** The use of a "mode: minor" specification in a file local variables section | 352 | *** You can stop directory local vars from applying to subdirectories. |
| 355 | to enable a minor-mode is deprecated. Instead, use "eval: (minor-mode 1)". | 353 | Add an element (subdirs . nil) to the alist portion of any variables |
| 354 | settings to indicate that the section should not apply to | ||
| 355 | subdirectories. | ||
| 356 | 356 | ||
| 357 | ** The standalone programs lib-src/digest-doc and sorted-doc have been | 357 | *** Directory local variables can apply to some file-less buffers. |
| 358 | replaced with Lisp commands `doc-file-to-man' and `doc-file-to-info'. | 358 | Affected modes include dired, vc-dir, and log-edit. For example, |
| 359 | adding "(diff-mode . ((mode . whitespace)))" to .dir-locals.el will | ||
| 360 | turn on `whitespace-mode' for *vc-diff* buffers. Modes should call | ||
| 361 | `hack-dir-local-variables-non-file-buffer' to support this. | ||
| 359 | 362 | ||
| 360 | --- | 363 | +++ |
| 361 | ** The standalone program `fakemail' has been removed. | 364 | *** Using "mode: MINOR-MODE" to enable a minor mode is deprecated. |
| 362 | If you need it, feedmail.el ought to provide a superset of the functionality. | 365 | Instead, use "eval: (minor-mode 1)". |
| 363 | 366 | ||
| 364 | +++ | 367 | +++ |
| 365 | ** The variable `focus-follows-mouse' now always defaults to nil. | 368 | ** The variable `focus-follows-mouse' now always defaults to nil. |
| @@ -374,6 +377,10 @@ by default. | |||
| 374 | *** `menu-bar-select-buffer-function' lets you choose another operation | 377 | *** `menu-bar-select-buffer-function' lets you choose another operation |
| 375 | instead of `switch-to-buffer' when selecting an item in the Buffers menu. | 378 | instead of `switch-to-buffer' when selecting an item in the Buffers menu. |
| 376 | 379 | ||
| 380 | ** The inactive minibuffer has its own major mode `minibuffer-inactive-mode'. | ||
| 381 | This is handy for minibuffer-only frames, and is also used for the "mouse-1 | ||
| 382 | pops up *Messages*" feature, which can now easily be changed. | ||
| 383 | |||
| 377 | 384 | ||
| 378 | * Editing Changes in Emacs 24.1 | 385 | * Editing Changes in Emacs 24.1 |
| 379 | 386 | ||
| @@ -391,7 +398,7 @@ isearch-yank-kill. | |||
| 391 | *** M-s C-e in Isearch is now bound to isearch-yank-line. | 398 | *** M-s C-e in Isearch is now bound to isearch-yank-line. |
| 392 | 399 | ||
| 393 | +++ | 400 | +++ |
| 394 | ** There is a new command `count-words-region', which does what you expect. | 401 | ** New command `count-words-region'. This does what you expect. |
| 395 | 402 | ||
| 396 | ** completion-at-point now handles tags and semantic completion. | 403 | ** completion-at-point now handles tags and semantic completion. |
| 397 | 404 | ||
| @@ -492,37 +499,16 @@ $ESHELL nor variable `explicit-shell-file-name' is set. | |||
| 492 | 499 | ||
| 493 | * Changes in Specialized Modes and Packages in Emacs 24.1 | 500 | * Changes in Specialized Modes and Packages in Emacs 24.1 |
| 494 | 501 | ||
| 495 | ** MH-E | 502 | ** Archive Mode has basic support for browsing and updating 7z archives. |
| 496 | |||
| 497 | *** Upgraded to MH-E version 8.2.93. See MH-E-NEWS for details. | ||
| 498 | |||
| 499 | ** comint and modes derived from it use the generic completion code. | ||
| 500 | |||
| 501 | ** Compilation mode | ||
| 502 | |||
| 503 | *** Compilation mode can be used without font-lock-mode. | ||
| 504 | `compilation-parse-errors-function' is now obsolete. | ||
| 505 | |||
| 506 | *** `compilation-filter-start' is let-bound to the start of the text | ||
| 507 | inserted by the compilation filter function, when calling | ||
| 508 | compilation-filter-hook. | ||
| 509 | |||
| 510 | ** The Landmark game is now invoked with `landmark', not `lm'. | ||
| 511 | 503 | ||
| 512 | ** Prolog mode has been completely revamped, with lots of additional | 504 | ** browse-url has a new variable `browse-url-mailto-function' |
| 513 | functionality such as more intelligent indentation, electricity, support for | 505 | specifies how mailto: URLs are handled. The default is `browse-url-mail'. |
| 514 | more variants, including Mercury, and a lot more. | ||
| 515 | |||
| 516 | ** shell-mode can track your cwd by reading it from your prompt. | ||
| 517 | Just set shell-dir-cookie-re to an appropriate regexp. | ||
| 518 | |||
| 519 | ** Modula-2 mode provides auto-indentation. | ||
| 520 | 506 | ||
| 521 | ** BibTeX mode | 507 | ** BibTeX mode |
| 522 | 508 | ||
| 523 | *** BibTeX mode now supports biblatex. | 509 | *** BibTeX mode now supports biblatex. |
| 524 | Use the variable bibtex-dialect to select support for different BibTeX dialects. | 510 | Use the variable bibtex-dialect to select support for different BibTeX |
| 525 | bibtex-entry-field-alist is now an obsolete alias for | 511 | dialects. bibtex-entry-field-alist is now an obsolete alias for |
| 526 | bibtex-BibTeX-entry-alist. | 512 | bibtex-BibTeX-entry-alist. |
| 527 | 513 | ||
| 528 | *** New command `bibtex-search-entries' bound to C-c C-a. | 514 | *** New command `bibtex-search-entries' bound to C-c C-a. |
| @@ -531,60 +517,6 @@ bibtex-BibTeX-entry-alist. | |||
| 531 | 517 | ||
| 532 | *** New variable `bibtex-search-entry-globally'. | 518 | *** New variable `bibtex-search-entry-globally'. |
| 533 | 519 | ||
| 534 | ** latex-electric-env-pair-mode keeps \begin..\end matched on the fly. | ||
| 535 | |||
| 536 | ** FIXME: xdg-open for browse-url and reportbug, 2010/08. | ||
| 537 | |||
| 538 | ** Archive Mode has basic support to browse and update 7z archives. | ||
| 539 | |||
| 540 | ** browse-url has gotten a new variable that is used for mailto: URLs, | ||
| 541 | `browse-url-mailto-function', which defaults to `browse-url-mail'. | ||
| 542 | |||
| 543 | ** `url-queue-retrieve' downloads web pages asynchronously, but allow | ||
| 544 | controlling the degree of parallelism. | ||
| 545 | |||
| 546 | ** Directory local variables can apply to file-less buffers, in certain modes | ||
| 547 | (eg dired, vc-dir, log-edit). For example, adding | ||
| 548 | "(diff-mode . ((mode . whitespace)))" to your .dir-locals.el file, | ||
| 549 | will turn on `whitespace-mode' for *vc-diff* buffers. Modes should | ||
| 550 | call `hack-dir-local-variables-non-file-buffer' to support this. | ||
| 551 | |||
| 552 | +++ | ||
| 553 | ** You can prevent directory local variables from applying to subdirectories. | ||
| 554 | Add an element (subdirs . nil) to the alist portion of any variables | ||
| 555 | settings to indicate said section should not be applied to subdirectories. | ||
| 556 | |||
| 557 | ** ERC changes | ||
| 558 | |||
| 559 | *** New vars `erc-autojoin-timing' and `erc-autojoin-delay'. | ||
| 560 | If the value of `erc-autojoin-timing' is 'ident, ERC autojoins after a | ||
| 561 | successful NickServ identification, or after `erc-autojoin-delay' | ||
| 562 | seconds. The default value, 'ident, means to autojoin immediately | ||
| 563 | after connecting. | ||
| 564 | |||
| 565 | *** New variable `erc-coding-system-precedence': If we use `undecided' | ||
| 566 | as the server coding system, this variable will then be consulted. | ||
| 567 | The default is to decode strings that can be decoded as utf-8 as | ||
| 568 | utf-8, and do the normal `undecided' decoding for the rest. | ||
| 569 | |||
| 570 | ** Eshell changes | ||
| 571 | |||
| 572 | *** The default value of eshell-directory-name is a directory named | ||
| 573 | "eshell" in `user-emacs-directory'. If the old "~/.eshell/" directory | ||
| 574 | exists, that is used instead. | ||
| 575 | |||
| 576 | ** In ido-mode, C-v is no longer bound to ido-toggle-vc. | ||
| 577 | The reason is that this interferes with cua-mode. | ||
| 578 | |||
| 579 | ** partial-completion-mode is now obsolete. | ||
| 580 | You can get a comparable behavior with: | ||
| 581 | (setq completion-styles '(partial-completion initials)) | ||
| 582 | (setq completion-pcm-complete-word-inserts-delimiters t) | ||
| 583 | |||
| 584 | ** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags. | ||
| 585 | |||
| 586 | ** server can listen on a specific port using the server-port option. | ||
| 587 | |||
| 588 | ** Calendar, Diary, and Appt | 520 | ** Calendar, Diary, and Appt |
| 589 | 521 | ||
| 590 | +++ | 522 | +++ |
| @@ -620,6 +552,21 @@ appt-visible/appt-msg-window (use the variable appt-display-format) | |||
| 620 | *** Some diary function aliases (obsolete since Emacs 22.1) have been removed: | 552 | *** Some diary function aliases (obsolete since Emacs 22.1) have been removed: |
| 621 | view-diary-entries, list-diary-entries, show-all-diary-entries | 553 | view-diary-entries, list-diary-entries, show-all-diary-entries |
| 622 | 554 | ||
| 555 | ** CC Mode (C, C++, etc.) | ||
| 556 | |||
| 557 | *** New feature to "guess" the style in an existing buffer. | ||
| 558 | |||
| 559 | ** comint and modes derived from it use the generic completion code. | ||
| 560 | |||
| 561 | ** Compilation mode | ||
| 562 | |||
| 563 | *** Compilation mode can be used without font-lock-mode. | ||
| 564 | `compilation-parse-errors-function' is now obsolete. | ||
| 565 | |||
| 566 | *** `compilation-filter-start' is let-bound to the start of the text | ||
| 567 | inserted by the compilation filter function, when calling | ||
| 568 | compilation-filter-hook. | ||
| 569 | |||
| 623 | ** Customize | 570 | ** Customize |
| 624 | 571 | ||
| 625 | *** Customize buffers now contain a search field. | 572 | *** Customize buffers now contain a search field. |
| @@ -634,6 +581,18 @@ Use the arrow to the left of the option name to toggle visibility. | |||
| 634 | *** The color widget now has a "Choose" button, which allows you to | 581 | *** The color widget now has a "Choose" button, which allows you to |
| 635 | choose a color via list-colors-display. | 582 | choose a color via list-colors-display. |
| 636 | 583 | ||
| 584 | ** D-Bus | ||
| 585 | |||
| 586 | *** It is possible now, to access alternative buses than the default | ||
| 587 | system or session bus. | ||
| 588 | |||
| 589 | *** dbus-register-{service,method,property} | ||
| 590 | The -method and -property functions do not automatically register | ||
| 591 | names anymore. | ||
| 592 | |||
| 593 | The new function dbus-register-service registers a service known name | ||
| 594 | on a D-Bus without simultaneously registering a property or a method. | ||
| 595 | |||
| 637 | ** Dired-x | 596 | ** Dired-x |
| 638 | 597 | ||
| 639 | *** dired-jump and dired-jump-other-window called with a prefix argument | 598 | *** dired-jump and dired-jump-other-window called with a prefix argument |
| @@ -643,144 +602,33 @@ read a file name from the minibuffer instead of using buffer-file-name. | |||
| 643 | *** The `dired local variables' feature provided by Dired-x is obsolete. | 602 | *** The `dired local variables' feature provided by Dired-x is obsolete. |
| 644 | The standard directory local variables feature replaces it. | 603 | The standard directory local variables feature replaces it. |
| 645 | 604 | ||
| 646 | ** SQL Mode enhancements. | 605 | ** ERC changes |
| 647 | 606 | ||
| 648 | *** `sql-dialect' is a synonym for `sql-product'. | 607 | *** New vars `erc-autojoin-timing' and `erc-autojoin-delay'. |
| 649 | 608 | If the value of `erc-autojoin-timing' is 'ident, ERC autojoins after a | |
| 650 | *** Added ability to login with a port on MySQL and Postgres. | 609 | successful NickServ identification, or after `erc-autojoin-delay' |
| 651 | The custom variable `sql-port' can be specified for connection to | 610 | seconds. The default value, 'ident, means to autojoin immediately |
| 652 | MySQL or Postgres servers. By default, the port is not listed in | 611 | after connecting. |
| 653 | either login parameter, but will be added to the command line if set | ||
| 654 | to a non-zero value. | ||
| 655 | |||
| 656 | *** Dynamic selection of product in an SQL interactive session. | ||
| 657 | If you use `sql-product-interactive' to start an SQL interactive | ||
| 658 | session it uses the current value of `sql-product'. Preceding the | ||
| 659 | invocation with C-u will force it to ask for the product before | ||
| 660 | creating the session. | ||
| 661 | |||
| 662 | *** Renaming a SQL interactive buffer when it is created. | ||
| 663 | Prefixing the SQL interactive commands (`sql-sqlite', `sql-postgres', | ||
| 664 | `sql-mysql', etc.) with C-u will force a new interactive session to be | ||
| 665 | started and will prompt for the new name. This will reduce the need | ||
| 666 | for `sql-rename-buffer' is most common use cases. | ||
| 667 | |||
| 668 | *** Command continuation prompts in SQL interactive mode are suppressed. | ||
| 669 | Multiple line commands in SQL interactive mode, generate command | ||
| 670 | continuation prompts which needlessly confuse the output. These | ||
| 671 | prompts are now filtered out from the output. This change impacts | ||
| 672 | multiple line SQL statements entered with C-j between each line, | ||
| 673 | statements yanked into the buffer and statements sent with | ||
| 674 | `sql-send-*' functions. | ||
| 675 | |||
| 676 | *** Custom variables control prompting for login parameters. | ||
| 677 | Each supported product has a custom variable `sql-*-login-params' | ||
| 678 | which is a list of the parameters to be prompted for before a | ||
| 679 | connection is established. | ||
| 680 | 612 | ||
| 681 | The lists consist of the following five tokens: `user', `password', | 613 | *** New variable `erc-coding-system-precedence': If we use `undecided' |
| 682 | `database', `server', and `port'. The order in which they appear is | 614 | as the server coding system, this variable will then be consulted. |
| 683 | the order in which they are prompted. The tokens symbols can be | 615 | The default is to decode strings that can be decoded as utf-8 as |
| 684 | replaced by a sublist starting with the token and followed by a plist | 616 | utf-8, and do the normal `undecided' decoding for the rest. |
| 685 | which control the prompting for values. The tokens `user', | ||
| 686 | `database', and `server' each can take a property of :default which | ||
| 687 | specifies the value to be used if no value is entered. The | ||
| 688 | `database', `server', and `port' tokens handle the :completion | ||
| 689 | property which restricts the entry to either one of the values in the | ||
| 690 | list or to one of the values returned by the function provided as the | ||
| 691 | property value. The `database' and `server' tokens also accept the | ||
| 692 | :file property whose value is a regexp to identify useful file names. | ||
| 693 | |||
| 694 | (user :default DEF) | ||
| 695 | (database :default DEF | ||
| 696 | :file FILEPAT | ||
| 697 | :completion COMPLETE) | ||
| 698 | (server :default DEF | ||
| 699 | :file FILEPAT | ||
| 700 | :completion COMPLETE) | ||
| 701 | |||
| 702 | The FILEPAT when :file is specified is a regexp that will match valid | ||
| 703 | file names (without the directory portion). Generally these strings | ||
| 704 | will be of the form ".+\.SUF" where SUF is the desired file suffix. | ||
| 705 | |||
| 706 | When :completion is specified, the COMPLETE corresponds to the | ||
| 707 | PREDICATE argument to the `completing-read' function (a list of | ||
| 708 | possible values or a function returning such a list). | ||
| 709 | |||
| 710 | *** Added `sql-connection-alist' to record login parameter values. | ||
| 711 | An alist for recording different username, database and server | ||
| 712 | values. If there are multiple databases that you connect to the | ||
| 713 | parameters needed can be stored in this alist. | ||
| 714 | |||
| 715 | For example, the following might be set in the user's init.el: | ||
| 716 | |||
| 717 | (setq sql-connection-alist | ||
| 718 | '((dev (sql-product 'sqlite) | ||
| 719 | (sql-database "/home/mmaug/dev.db")) | ||
| 720 | (prd (sql-product 'oracle) | ||
| 721 | (sql-user "mmaug") | ||
| 722 | (sql-database "iprd2a")))) | ||
| 723 | |||
| 724 | This defines two connections named "dev" and "prd". | ||
| 725 | |||
| 726 | *** Added `sql-connect' to use predefined connections. | ||
| 727 | Sets the login parameters based on the values in the | ||
| 728 | `sql-connection-alist' and start a SQL interactive session. Any | ||
| 729 | values specified in the connection will not be prompted for. | ||
| 730 | |||
| 731 | In the example above, if the user were to invoke M-x sql-connect, they | ||
| 732 | would be prompted for the connection. The user can respond with | ||
| 733 | either "dev" or "prd". The "dev" connection would connect to the | ||
| 734 | SQLite database without prompting; the "prd" connection would prompt | ||
| 735 | for the users password and then connect to the Oracle database. | ||
| 736 | |||
| 737 | **** Added SQL->Start... submenu when connections are defined. | ||
| 738 | When connections have been defined, there is a submenu available that | ||
| 739 | allows the user to select one to start a SQLi session. The "Start | ||
| 740 | SQLi Session" item moves to the "Start..." submenu when cnnections | ||
| 741 | have been defined. | ||
| 742 | |||
| 743 | **** Added "Save Connection" menu item in SQLi buffers. | ||
| 744 | When a SQLi session is not started by a connection then | ||
| 745 | `sql-save-connection' will gather the login params specified for the | ||
| 746 | session and save them as a new connection. | ||
| 747 | |||
| 748 | *** List database objects and details. | ||
| 749 | Once a SQL interactive session has been started, you can get a list of | ||
| 750 | the objects in the database and see details of those objects. The | ||
| 751 | objects shown and the details available are product specific. | ||
| 752 | |||
| 753 | **** List all objects. | ||
| 754 | Using `M-x sql-list-all', `C-c C-l a' or selecting "SQL->List all | ||
| 755 | objects" will list all the objects in the database. At a minimum it | ||
| 756 | lists the tables and views in the database. Preceding the command by | ||
| 757 | universal argument may provide additional details or extend the | ||
| 758 | listing to include other schemas objects. The list will appear in a | ||
| 759 | separate window in view-mode. | ||
| 760 | |||
| 761 | **** List Table details. | ||
| 762 | Using `M-x sql-list-table', `C-c C-l t' or selecting "SQL->List Table | ||
| 763 | details" will ask for the name of a database table or view and display | ||
| 764 | the list of columns in the relation. Preceding the command with the | ||
| 765 | universal argument may provide additional details about each column. | ||
| 766 | The list will appear in a separate window in view-mode. | ||
| 767 | |||
| 768 | *** Added option `sql-send-terminator'. | ||
| 769 | When set makes sure that each command sent with `sql-send-*' commands | ||
| 770 | are properly terminated and submitted to the SQL processor. | ||
| 771 | |||
| 772 | *** Added option `sql-oracle-scan-on'. | ||
| 773 | When set commands sent to Oracle's SQL*Plus are scanned for strings | ||
| 774 | starting with an ampersand and the user is asked for replacement text. | ||
| 775 | In general, the SQL*Plus option SCAN should always be set OFF under | ||
| 776 | SQL interactive mode and this option used in its place. | ||
| 777 | |||
| 778 | *** SQL interactive mode will replace tabs with spaces. | ||
| 779 | This prevents the command interpreter for MySQL and Postgres from | ||
| 780 | listing object name completions when being sent text via | ||
| 781 | `sql-send-*' functions. | ||
| 782 | 617 | ||
| 783 | *** An API for manipulating SQL product definitions has been added. | 618 | ** Eshell changes |
| 619 | |||
| 620 | *** The default value of eshell-directory-name is a directory named | ||
| 621 | "eshell" in `user-emacs-directory'. If the old "~/.eshell/" directory | ||
| 622 | exists, that is used instead. | ||
| 623 | |||
| 624 | ** gdb-mi | ||
| 625 | |||
| 626 | *** GDB User Interface migrated to GDB Machine Interface and now | ||
| 627 | supports multithread non-stop debugging and debugging of several | ||
| 628 | threads simultaneously. | ||
| 629 | |||
| 630 | ** In ido-mode, C-v is no longer bound to ido-toggle-vc. | ||
| 631 | The reason is that this interferes with cua-mode. | ||
| 784 | 632 | ||
| 785 | ** Image mode | 633 | ** Image mode |
| 786 | 634 | ||
| @@ -790,28 +638,99 @@ image can be animated. | |||
| 790 | *** Option `image-animate-loop', if non-nil, loops the animation. | 638 | *** Option `image-animate-loop', if non-nil, loops the animation. |
| 791 | If nil, `image-toggle-animation' plays the animation once. | 639 | If nil, `image-toggle-animation' plays the animation once. |
| 792 | 640 | ||
| 793 | ** sregex.el is now obsolete, since rx.el is a strict superset. | 641 | ** Info |
| 794 | 642 | ||
| 795 | ** s-region.el and pc-select are now declared obsolete, | 643 | *** New command `info-display-manual' displays an Info manual |
| 796 | superseded by shift-select-mode enabled by default in 23.1. | 644 | specified by its name. If that manual is already visited in some Info |
| 797 | ** pc-mode.el is also declared obsolete. | 645 | buffer within the current session, the command will display that |
| 798 | ** gdb-mi | 646 | buffer. Otherwise, it will load the manual and display it. This is |
| 647 | handy if you have many manuals in many Info buffers, and don't | ||
| 648 | remember the name of the buffer visiting the manual you want to | ||
| 649 | consult. | ||
| 799 | 650 | ||
| 800 | *** GDB User Interface migrated to GDB Machine Interface and now | 651 | ** The Landmark game is now invoked with `landmark', not `lm'. |
| 801 | supports multithread non-stop debugging and debugging of several | ||
| 802 | threads simultaneously. | ||
| 803 | 652 | ||
| 804 | ** D-Bus | 653 | ** MH-E has been upgraded to MH-E version 8.2.93. |
| 654 | See MH-E-NEWS for details. | ||
| 805 | 655 | ||
| 806 | *** It is possible now, to access alternative buses than the default | 656 | ** Modula-2 mode provides auto-indentation. |
| 807 | system or session bus. | ||
| 808 | 657 | ||
| 809 | *** dbus-register-{service,method,property} | 658 | ** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags. |
| 810 | The -method and -property functions do not automatically register | ||
| 811 | names anymore. | ||
| 812 | 659 | ||
| 813 | The new function dbus-register-service registers a service known name | 660 | ** Prolog mode has been completely revamped, with lots of additional |
| 814 | on a D-Bus without simultaneously registering a property or a method. | 661 | functionality such as more intelligent indentation, electricity, support for |
| 662 | more variants, including Mercury, and a lot more. | ||
| 663 | |||
| 664 | ** Rmail | ||
| 665 | |||
| 666 | *** The command `rmail-epa-decrypt' decrypts OpenPGP data | ||
| 667 | in the Rmail incoming message. | ||
| 668 | |||
| 669 | ** shell-mode can track your cwd by reading it from your prompt. | ||
| 670 | Just set shell-dir-cookie-re to an appropriate regexp. | ||
| 671 | |||
| 672 | ** SQL Mode enhancements. | ||
| 673 | |||
| 674 | *** `sql-dialect' is an alias for `sql-product'. | ||
| 675 | |||
| 676 | *** New variable `sql-port' specifies the port number for connecting | ||
| 677 | to a MySQL or Postgres server. | ||
| 678 | |||
| 679 | *** The command `sql-product-interactive' now takes a prefix argument, | ||
| 680 | which causes it to prompt for an SQL product instead of the current | ||
| 681 | value of `sql-product'. | ||
| 682 | |||
| 683 | *** Product-specific SQL interactive commands now take prefix args. | ||
| 684 | These commands (`sql-sqlite', `sql-postgres', `sql-mysql', etc.), | ||
| 685 | given a prefix argument, prompt for a name for the SQL interactive | ||
| 686 | buffer. This reduces the need for calling `sql-rename-buffer'. | ||
| 687 | |||
| 688 | *** SQL interactive modes suppress command continuation prompts, and | ||
| 689 | replace tabs with spaces. The first change impacts multiple line SQL | ||
| 690 | statements entered with C-j between each line, statements yanked into | ||
| 691 | the buffer and statements sent with `sql-send-*' functions. The | ||
| 692 | second change prevents the MySQL and Postgres interpreters from | ||
| 693 | listing object name completions when sent text via `sql-send-*' | ||
| 694 | functions. | ||
| 695 | |||
| 696 | *** New custom variables control prompting for login parameters. | ||
| 697 | Each supported product has a custom variable `sql-*-login-params', | ||
| 698 | which is a list of the parameters to be prompted for before a | ||
| 699 | connection is established. | ||
| 700 | |||
| 701 | *** New variable `sql-connection-alist' for login parameter values. | ||
| 702 | This can be used to store different username, database and server | ||
| 703 | values. Connections defined in this variable appear in the submenu | ||
| 704 | SQL->Start... for making new SQLi sessions. | ||
| 705 | |||
| 706 | *** New command `sql-connect' starts a predefined SQLi session, | ||
| 707 | using the login parameters from `sql-connection-alist'. | ||
| 708 | |||
| 709 | *** New "Save Connection" menu item in SQLi buffers. | ||
| 710 | This gathers the login params specified for the SQLi session, if it | ||
| 711 | was not started by a connection, and saves them as a new connection. | ||
| 712 | |||
| 713 | *** Commands for listing database objects and details. | ||
| 714 | In an SQLi session, you can get a list of objects in the database. | ||
| 715 | The contents of these lists are product specific. | ||
| 716 | |||
| 717 | **** `C-c C-l a' or the "SQL->List all objects" menu item | ||
| 718 | lists all the objects in the database. With a prefix argument, it | ||
| 719 | displays additional details or extend the listing to include other | ||
| 720 | schemas objects. | ||
| 721 | |||
| 722 | **** `C-c C-l t' or the "SQL->List Table details" menu item | ||
| 723 | prompts for the name of a database table or view and displays the list | ||
| 724 | of columns in the relation. With a prefix argument, it displays | ||
| 725 | additional details about each column. | ||
| 726 | |||
| 727 | *** New options `sql-send-terminator' and `sql-oracle-scan-on'. | ||
| 728 | |||
| 729 | *** An API for manipulating SQL product definitions has been added. | ||
| 730 | |||
| 731 | ** TeX modes | ||
| 732 | |||
| 733 | *** latex-electric-env-pair-mode keeps \begin..\end matched on the fly. | ||
| 815 | 734 | ||
| 816 | ** Tramp | 735 | ** Tramp |
| 817 | 736 | ||
| @@ -823,10 +742,8 @@ on a D-Bus without simultaneously registering a property or a method. | |||
| 823 | *** The option `ange-ftp-binary-file-name-regexp' has changed its | 742 | *** The option `ange-ftp-binary-file-name-regexp' has changed its |
| 824 | default value to "". | 743 | default value to "". |
| 825 | 744 | ||
| 826 | ** Rmail | 745 | ** `url-queue-retrieve' downloads web pages asynchronously, but allow |
| 827 | 746 | controlling the degree of parallelism. | |
| 828 | *** The command `rmail-epa-decrypt' decrypts OpenPGP data | ||
| 829 | in the Rmail incoming message. | ||
| 830 | 747 | ||
| 831 | ** VC and related modes | 748 | ** VC and related modes |
| 832 | 749 | ||
| @@ -862,9 +779,21 @@ binding `log-view-expanded-log-entry-function' to a suitable function. | |||
| 862 | *** New command `vc-ediff' allows visual comparison of two revisions | 779 | *** New command `vc-ediff' allows visual comparison of two revisions |
| 863 | of a file similar to `vc-diff', but using ediff backend. | 780 | of a file similar to `vc-diff', but using ediff backend. |
| 864 | 781 | ||
| 865 | ** CC Mode (C, C++, etc.) | 782 | ** FIXME: xdg-open for browse-url and reportbug, 2010/08. |
| 866 | 783 | ||
| 867 | *** New feature to "guess" the style in an existing buffer. | 784 | ** Obsolete modes |
| 785 | |||
| 786 | *** partial-completion-mode is obsolete. | ||
| 787 | You can get a comparable behavior with: | ||
| 788 | (setq completion-styles '(partial-completion initials)) | ||
| 789 | (setq completion-pcm-complete-word-inserts-delimiters t) | ||
| 790 | |||
| 791 | *** pc-mode.el is obsolete. | ||
| 792 | |||
| 793 | *** sregex.el is obsolete, since rx.el is a strict superset. | ||
| 794 | |||
| 795 | *** s-region.el and pc-select are obsolete. | ||
| 796 | They are superseded by shift-select-mode enabled by default in 23.1. | ||
| 868 | 797 | ||
| 869 | ** Miscellaneous | 798 | ** Miscellaneous |
| 870 | 799 | ||
| @@ -876,14 +805,6 @@ of a file similar to `vc-diff', but using ediff backend. | |||
| 876 | 805 | ||
| 877 | *** New command `nato-region' converts text to NATO phonetic alphabet. | 806 | *** New command `nato-region' converts text to NATO phonetic alphabet. |
| 878 | 807 | ||
| 879 | *** The new command `info-display-manual' will display an Info manual | ||
| 880 | specified by its name. If that manual is already visited in some Info | ||
| 881 | buffer within the current session, the command will display that | ||
| 882 | buffer. Otherwise, it will load the manual and display it. This is | ||
| 883 | handy if you have many manuals in many Info buffers, and don't | ||
| 884 | remember the name of the buffer visiting the manual you want to | ||
| 885 | consult. | ||
| 886 | |||
| 887 | 808 | ||
| 888 | * New Modes and Packages in Emacs 24.1 | 809 | * New Modes and Packages in Emacs 24.1 |
| 889 | 810 | ||
| @@ -969,8 +890,7 @@ has now been removed. | |||
| 969 | 890 | ||
| 970 | ** cl.el no longer provides `cl-19'. | 891 | ** cl.el no longer provides `cl-19'. |
| 971 | 892 | ||
| 972 | ** The following functions and aliases, obsolete since at least Emacs 21.1, | 893 | ** The following obsolete functions and aliases were removed: |
| 973 | have been removed: | ||
| 974 | comint-kill-output, decompose-composite-char, outline-visible, | 894 | comint-kill-output, decompose-composite-char, outline-visible, |
| 975 | internal-find-face, internal-get-face, frame-update-faces, | 895 | internal-find-face, internal-get-face, frame-update-faces, |
| 976 | frame-update-face-colors, x-frob-font-weight, x-frob-font-slant, | 896 | frame-update-face-colors, x-frob-font-weight, x-frob-font-slant, |
| @@ -980,12 +900,11 @@ x-make-font-bold-italic, mldrag-drag-mode-line, mldrag-drag-vertical-line, | |||
| 980 | iswitchb-default-keybindings, char-bytes, isearch-return-char, | 900 | iswitchb-default-keybindings, char-bytes, isearch-return-char, |
| 981 | make-local-hook | 901 | make-local-hook |
| 982 | 902 | ||
| 983 | ** The following variables and aliases, obsolete since at least Emacs 21.1, | 903 | ** The following obsolete variables and varaliases were removed: |
| 984 | have been removed: | 904 | checkdoc-minor-keymap, vc-header-alist, directory-sep-char, and |
| 985 | checkdoc-minor-keymap, vc-header-alist, directory-sep-char, | 905 | font-lock-defaults-alist. |
| 986 | font-lock-defaults-alist | ||
| 987 | 906 | ||
| 988 | ** The following files, obsolete since at least Emacs 21.1, have been removed: | 907 | ** The following obsolete files were removed: |
| 989 | sc.el, x-menu.el, rnews.el, rnewspost.el | 908 | sc.el, x-menu.el, rnews.el, rnewspost.el |
| 990 | 909 | ||
| 991 | ** FIXME finder-inf.el changes. | 910 | ** FIXME finder-inf.el changes. |
| @@ -993,6 +912,46 @@ sc.el, x-menu.el, rnews.el, rnewspost.el | |||
| 993 | 912 | ||
| 994 | * Lisp changes in Emacs 24.1 | 913 | * Lisp changes in Emacs 24.1 |
| 995 | 914 | ||
| 915 | ** Code can now use lexical scoping by default instead of dynamic scoping. | ||
| 916 | The `lexical-binding' variable lets code use lexical scoping for local | ||
| 917 | variables. It is typically set via file-local variables, in which case it | ||
| 918 | applies to all the code in that file. | ||
| 919 | |||
| 920 | *** `eval' takes a new optional argument `lexical' to choose the new lexical | ||
| 921 | binding instead of the old dynamic binding mode. | ||
| 922 | |||
| 923 | *** Lexically scoped interpreted functions are represented with a new form | ||
| 924 | of function value which looks like (closure ENV ARGS &rest BODY). | ||
| 925 | |||
| 926 | *** New macro `letrec' to define recursive local functions. | ||
| 927 | |||
| 928 | *** New function `special-variable-p' to check whether a variable is | ||
| 929 | declared as dynamically bound. | ||
| 930 | |||
| 931 | ** An Emacs Lisp testing tool is now included. | ||
| 932 | Emacs Lisp developers can use this tool to write automated tests for | ||
| 933 | their code. See the ERT info manual for details. | ||
| 934 | |||
| 935 | ** Changes for bidirectional display and editing | ||
| 936 | |||
| 937 | +++ | ||
| 938 | *** New function `current-bidi-paragraph-direction'. | ||
| 939 | This returns the actual value of base direction of the paragraph at | ||
| 940 | point. | ||
| 941 | |||
| 942 | +++ | ||
| 943 | *** New function `bidi-string-mark-left-to-right'. | ||
| 944 | Given a string containing characters from right-to-left (RTL) scripts, | ||
| 945 | this function returns another string which can be safely inserted into | ||
| 946 | a buffer, such that any following text will be always displayed to the | ||
| 947 | right of that string. (This works by appending the Unicode | ||
| 948 | "LEFT-TO-RIGHT MARK" character when the argument string might need that.) | ||
| 949 | |||
| 950 | This is useful when the buffer has overall left-to-right (LTR) | ||
| 951 | paragraph direction and you need to insert a string whose contents and | ||
| 952 | directionality are not known in advance, without disrupting the layout | ||
| 953 | of the line. | ||
| 954 | |||
| 996 | ** Window changes | 955 | ** Window changes |
| 997 | 956 | ||
| 998 | *** `switch-to-buffer' has a new optional argument FORCE-SAME-WINDOW, | 957 | *** `switch-to-buffer' has a new optional argument FORCE-SAME-WINDOW, |
| @@ -1003,6 +962,7 @@ can be used, e.g. if the selected one is strongly dedicated. | |||
| 1003 | *** FIXME: buffer-display-alist changes | 962 | *** FIXME: buffer-display-alist changes |
| 1004 | 963 | ||
| 1005 | ** Completion | 964 | ** Completion |
| 965 | |||
| 1006 | *** New variable completion-extra-properties used to specify extra properties | 966 | *** New variable completion-extra-properties used to specify extra properties |
| 1007 | of the current completion: | 967 | of the current completion: |
| 1008 | - :annotate-function, same as the old completion-annotate-function. | 968 | - :annotate-function, same as the old completion-annotate-function. |
| @@ -1030,34 +990,6 @@ connection, directly or via STARTTLS. To do STARTTLS, additional | |||
| 1030 | parameters (`:end-of-command', `:success', `:capabilities-command') | 990 | parameters (`:end-of-command', `:success', `:capabilities-command') |
| 1031 | must also be supplied. | 991 | must also be supplied. |
| 1032 | 992 | ||
| 1033 | ** Code can now use lexical scoping by default instead of dynamic scoping. | ||
| 1034 | The `lexical-binding' variable lets code use lexical scoping for local | ||
| 1035 | variables. It is typically set via file-local variables, in which case it | ||
| 1036 | applies to all the code in that file. | ||
| 1037 | |||
| 1038 | *** `eval' takes a new optional argument `lexical' to choose the new lexical | ||
| 1039 | binding instead of the old dynamic binding mode. | ||
| 1040 | |||
| 1041 | *** Lexically scoped interpreted functions are represented with a new form | ||
| 1042 | of function value which looks like (closure ENV ARGS &rest BODY). | ||
| 1043 | |||
| 1044 | *** New macro `letrec' to define recursive local functions. | ||
| 1045 | |||
| 1046 | *** New function `special-variable-p' to check whether a variable is | ||
| 1047 | declared as dynamically bound. | ||
| 1048 | |||
| 1049 | +++ | ||
| 1050 | ** New function `bidi-string-mark-left-to-right'. | ||
| 1051 | Given a string containing right-to-left (RTL) script, this function | ||
| 1052 | returns another string which can be safely inserted into a buffer as a | ||
| 1053 | distinct RTL "segment", without causing any following text to be | ||
| 1054 | displayed as RTL. (This is done by appending a Unicode "left-to-right | ||
| 1055 | mark" character.) | ||
| 1056 | |||
| 1057 | This is useful when the buffer has overall left-to-right (LTR) | ||
| 1058 | paragraph direction and you need to insert a string whose contents and | ||
| 1059 | directionality are not known in advance. | ||
| 1060 | |||
| 1061 | ** pre/post-command-hook are not reset to nil upon error. | 993 | ** pre/post-command-hook are not reset to nil upon error. |
| 1062 | Instead, the offending function is removed. | 994 | Instead, the offending function is removed. |
| 1063 | 995 | ||
| @@ -1069,8 +1001,6 @@ Emacs server instances. | |||
| 1069 | ** `call-process' allows a `(:file "file")' spec to redirect STDOUT to | 1001 | ** `call-process' allows a `(:file "file")' spec to redirect STDOUT to |
| 1070 | a file. | 1002 | a file. |
| 1071 | 1003 | ||
| 1072 | ** byte-compile-disable-print-circle is obsolete. | ||
| 1073 | ** deferred-action-list and deferred-action-function are obsolete. | ||
| 1074 | ** Removed the stack-trace-on-error variable. | 1004 | ** Removed the stack-trace-on-error variable. |
| 1075 | Also the debugger can now "continue" from an error, which means it will jump | 1005 | Also the debugger can now "continue" from an error, which means it will jump |
| 1076 | to the error handler as if the debugger had not been invoked instead of | 1006 | to the error handler as if the debugger had not been invoked instead of |
| @@ -1098,13 +1028,16 @@ syntactic rules. | |||
| 1098 | 1028 | ||
| 1099 | +++ | 1029 | +++ |
| 1100 | ** Syntax tables support a new "comment style c" additionally to style b. | 1030 | ** Syntax tables support a new "comment style c" additionally to style b. |
| 1031 | |||
| 1101 | ** frame-local variables cannot be let-bound any more. | 1032 | ** frame-local variables cannot be let-bound any more. |
| 1033 | |||
| 1102 | ** prog-mode is a new major-mode meant to be the parent of programming mode. | 1034 | ** prog-mode is a new major-mode meant to be the parent of programming mode. |
| 1103 | The prog-mode-hook it defines can be used to enable features for | 1035 | The prog-mode-hook it defines can be used to enable features for |
| 1104 | programming modes. For example: | 1036 | programming modes. For example: |
| 1105 | (add-hook 'prog-mode-hook 'flyspell-prog-mode) | 1037 | (add-hook 'prog-mode-hook 'flyspell-prog-mode) |
| 1106 | enables on the fly spell checking for comments and strings for | 1038 | enables on the fly spell checking for comments and strings for |
| 1107 | programming modes. | 1039 | programming modes. |
| 1040 | |||
| 1108 | ** define-minor-mode accepts a new keyword :variable. | 1041 | ** define-minor-mode accepts a new keyword :variable. |
| 1109 | 1042 | ||
| 1110 | ** `delete-file' and `delete-directory' now accept optional arg TRASH. | 1043 | ** `delete-file' and `delete-directory' now accept optional arg TRASH. |
| @@ -1112,8 +1045,6 @@ Trashing is performed if TRASH and `delete-by-moving-to-trash' are | |||
| 1112 | both non-nil. Interactively, TRASH defaults to t, unless a prefix | 1045 | both non-nil. Interactively, TRASH defaults to t, unless a prefix |
| 1113 | argument is supplied (see Trash changes, above). | 1046 | argument is supplied (see Trash changes, above). |
| 1114 | 1047 | ||
| 1115 | ** buffer-substring-filters is obsoleted by filter-buffer-substring-functions. | ||
| 1116 | |||
| 1117 | ** `facemenu-read-color' is now an alias for `read-color'. | 1048 | ** `facemenu-read-color' is now an alias for `read-color'. |
| 1118 | The command `read-color' now requires a match for a color name or RGB | 1049 | The command `read-color' now requires a match for a color name or RGB |
| 1119 | triplet, instead of signalling an error if the user provides a invalid | 1050 | triplet, instead of signalling an error if the user provides a invalid |
| @@ -1136,6 +1067,14 @@ is being animated. | |||
| 1136 | 1067 | ||
| 1137 | *** `image-extension-data' is renamed to `image-metadata'. | 1068 | *** `image-extension-data' is renamed to `image-metadata'. |
| 1138 | 1069 | ||
| 1070 | *** If Emacs is compiled with ImageMagick support (see Startup | ||
| 1071 | Changes), the function `imagemagick-types' returns a list of image | ||
| 1072 | file extensions that your installation of ImageMagick supports. The | ||
| 1073 | function `imagemagick-register-types' enables ImageMagick support for | ||
| 1074 | these image types, minus those listed in `imagemagick-types-inhibit'. | ||
| 1075 | |||
| 1076 | See the Emacs Lisp Reference Manual for more information. | ||
| 1077 | |||
| 1139 | ** XML and HTML parsing | 1078 | ** XML and HTML parsing |
| 1140 | 1079 | ||
| 1141 | *** If Emacs is compiled with libxml2 support (which is the default), | 1080 | *** If Emacs is compiled with libxml2 support (which is the default), |
| @@ -1192,6 +1131,16 @@ as well as those in the -*- line. | |||
| 1192 | This means that the empty symbol can now be read back. Also, #: by itself | 1131 | This means that the empty symbol can now be read back. Also, #: by itself |
| 1193 | (when not immediately followed by a possible symbol character) stands for | 1132 | (when not immediately followed by a possible symbol character) stands for |
| 1194 | an empty uninterned symbol. | 1133 | an empty uninterned symbol. |
| 1134 | |||
| 1135 | ** Obsolete functions and variables | ||
| 1136 | |||
| 1137 | *** buffer-substring-filters is obsolete. | ||
| 1138 | Use `filter-buffer-substring-functions' instead. | ||
| 1139 | |||
| 1140 | *** `byte-compile-disable-print-circle' is obsolete. | ||
| 1141 | |||
| 1142 | *** `deferred-action-list' and `deferred-action-function' are obsolete. | ||
| 1143 | |||
| 1195 | 1144 | ||
| 1196 | * Changes in Emacs 24.1 on non-free operating systems | 1145 | * Changes in Emacs 24.1 on non-free operating systems |
| 1197 | 1146 | ||
diff --git a/etc/tutorials/TUTORIAL.he b/etc/tutorials/TUTORIAL.he index 529c42a1c40..92d94a0da87 100644 --- a/etc/tutorials/TUTORIAL.he +++ b/etc/tutorials/TUTORIAL.he | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | דבר ראשון שעליכם ללמוד הוא כיצד לנוע ממקום אחד למשנהו בתוך הטקסט. אתם | 26 | דבר ראשון שעליכם ללמוד הוא כיצד לנוע ממקום אחד למשנהו בתוך הטקסט. אתם |
| 27 | כבר יודעים כיצד להתקדם לעמוד הבא, עם C-v. לחזרה לעמוד הקודם הקישו M-v | 27 | כבר יודעים כיצד להתקדם לעמוד הבא, עם C-v. לחזרה לעמוד הקודם הקישו M-v |
| 28 | (החזיקו מקש META והקישו v או הקישו <ESC>v אם אין במקלדת מקש META | 28 | (החזיקו מקש META והקישו v או הקישו <ESC>v אם אין במקלדת מקש META |
| 29 | או EDIT או ALT). | 29 | או EDIT או ALT). |
| 30 | 30 | ||
| 31 | >> נסו עתה כמה פעמים להקיש M-v ואחר־כך C-v. | 31 | >> נסו עתה כמה פעמים להקיש M-v ואחר־כך C-v. |
| @@ -151,17 +151,17 @@ M-f עובר את המילה הבאה ונעצר בסופה. M-b פועל באו | |||
| 151 | >> נסו את כל הפקודות הללו מספר פעמים, לשם תרגול. | 151 | >> נסו את כל הפקודות הללו מספר פעמים, לשם תרגול. |
| 152 | אלו הן הפקודות הנפוצות ביותר. | 152 | אלו הן הפקודות הנפוצות ביותר. |
| 153 | 153 | ||
| 154 | שתי פקודות תנועה חשובות אחרת הן M-< (META פחות), אשר נעה לתחילת | 154 | שתי פקודות תנועה חשובות אחרת הן M-< (META פחות), אשר נעה לתחילת |
| 155 | הטקסט, ו־M-> (META יותר), אשר נעה לסוף הטקסט. | 155 | הטקסט, ו־M-> (META יותר), אשר נעה לסוף הטקסט. |
| 156 | 156 | ||
| 157 | ברוב המקלדות המקש ">" נמצא מעל הפסיק, לכן כדי להקישו יש צורך ללחוץ | 157 | ברוב המקלדות המקש ">" נמצא מעל הפסיק, לכן כדי להקישו יש צורך ללחוץ |
| 158 | ולהחזיק מקש Shift. באופן דומה יש ללחוץ על Shift כדי להקיש M-<כי | 158 | ולהחזיק מקש Shift. באופן דומה יש ללחוץ על Shift כדי להקיש M-< כי |
| 159 | אחרת היה יוצא M-פסיק. | 159 | אחרת היה יוצא M-פסיק. |
| 160 | 160 | ||
| 161 | >> נסו עתה M-< כדי להגיע לתחילת השיעור. | 161 | >> נסו עתה M-< כדי להגיע לתחילת השיעור. |
| 162 | אחר־כך הקישו C-v מספר פעמים, עד שתגיעו לכאן. | 162 | אחר־כך הקישו C-v מספר פעמים, עד שתגיעו לכאן. |
| 163 | 163 | ||
| 164 | >> עכשיו נסו M-> כדי להגיע לסוף השיעור. | 164 | >> עכשיו נסו M-> כדי להגיע לסוף השיעור. |
| 165 | לאחר מכן הקישו M-v כמה פעמים כדי לחזור לכאן. | 165 | לאחר מכן הקישו M-v כמה פעמים כדי לחזור לכאן. |
| 166 | 166 | ||
| 167 | ניתן להזיז את הסמן גם בעזרת מקשי החצים, אם הם קיימים במקלדת שלכם. | 167 | ניתן להזיז את הסמן גם בעזרת מקשי החצים, אם הם קיימים במקלדת שלכם. |
| @@ -320,7 +320,7 @@ argument) משום מקישים אותו לפני הפקודה אליה הוא | |||
| 320 | <Delback> מחק תו שלפני הסמן | 320 | <Delback> מחק תו שלפני הסמן |
| 321 | C-d מחק תו מתחת או אחרי הסמן | 321 | C-d מחק תו מתחת או אחרי הסמן |
| 322 | 322 | ||
| 323 | M-<Delback> גזור מילה שלפני הסמן | 323 | M-<Delback> גזור מילה שלפני הסמן |
| 324 | M-d גזור מילה שאחרי הסמן | 324 | M-d גזור מילה שאחרי הסמן |
| 325 | 325 | ||
| 326 | C-k גזור טקסט מהסמן ועד סוף השורה | 326 | C-k גזור טקסט מהסמן ועד סוף השורה |
| @@ -583,7 +583,7 @@ C-x C-s. לכן קיימת פקודה | |||
| 583 | יותר ולהמשיך מאותה נקודה. כאשר Emacs רץ על תצוגת טקסט, C-z "משעה" את | 583 | יותר ולהמשיך מאותה נקודה. כאשר Emacs רץ על תצוגת טקסט, C-z "משעה" את |
| 584 | Emacs: הוא מחזיר אתכם לשורת הפקודות הבסיסית של מערכת ההפעלה ("shell"), | 584 | Emacs: הוא מחזיר אתכם לשורת הפקודות הבסיסית של מערכת ההפעלה ("shell"), |
| 585 | אבל אינו מסיים את Emacs. ברוב המערכות, כדי להמשיך בעבודתכם ב־Emacs, | 585 | אבל אינו מסיים את Emacs. ברוב המערכות, כדי להמשיך בעבודתכם ב־Emacs, |
| 586 | תצטרכו להקיש את הפקודה "fg" או "%emacs". | 586 | תצטרכו להקיש את הפקודה "fg" או "%emacs". |
| 587 | 587 | ||
| 588 | הרגע הנכון להשתמש ב־C-x C-c הוא כאשר אתם עומדים להתנתק (log out). | 588 | הרגע הנכון להשתמש ב־C-x C-c הוא כאשר אתם עומדים להתנתק (log out). |
| 589 | כמו־כן, תצטרכו להשתמש בו כדי לצאת מ־Emacs שהופעל ע"י תוכניות אחרות | 589 | כמו־כן, תצטרכו להשתמש בו כדי לצאת מ־Emacs שהופעל ע"י תוכניות אחרות |
| @@ -1020,7 +1020,7 @@ Software Foundation, אם בגרסא 3 של הרשיון, ואם (כאופציה | |||
| 1020 | אנא עיינו ב־GNU General Public License. | 1020 | אנא עיינו ב־GNU General Public License. |
| 1021 | 1021 | ||
| 1022 | GNU Emacs אמור להיות מלווה בעותק של GNU General Public License; אם לא | 1022 | GNU Emacs אמור להיות מלווה בעותק של GNU General Public License; אם לא |
| 1023 | קיבלתם אותו, תוכלו למצוא אותו ב־<http://www.gnu.org/licenses/>. | 1023 | קיבלתם אותו, תוכלו למצוא אותו ב־<http://www.gnu.org/licenses/>. |
| 1024 | 1024 | ||
| 1025 | הנכם מוזמנים לקרוא את הקובץ COPYING ואז אכן לחלק עותקים של GNU Emacs | 1025 | הנכם מוזמנים לקרוא את הקובץ COPYING ואז אכן לחלק עותקים של GNU Emacs |
| 1026 | לחבריכם. עזרו לנו לחסל את "הבעלות" על תוכנה שאינה אלא חבלה בתוכנה, | 1026 | לחבריכם. עזרו לנו לחסל את "הבעלות" על תוכנה שאינה אלא חבלה בתוכנה, |