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