aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPaul Eggert2011-08-29 13:06:52 -0700
committerPaul Eggert2011-08-29 13:06:52 -0700
commit1a091fbc08faa3bab85e74f7fac72a955600a8f6 (patch)
treee3f3a5700086aef93d027590c497ccac14b0e696 /etc
parentc43c8a6af9f6877b97c1f9a88e361456775cb88b (diff)
parentb31b81a53a0908e16360003c0218dadba897f449 (diff)
downloademacs-1a091fbc08faa3bab85e74f7fac72a955600a8f6.tar.gz
emacs-1a091fbc08faa3bab85e74f7fac72a955600a8f6.zip
Merge from trunk.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS783
-rw-r--r--etc/tutorials/TUTORIAL.he18
2 files changed, 377 insertions, 424 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 841b11bcdb9..afd004c5bb3 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -55,6 +55,19 @@ With it, Emacs integers typically have 62 bits, even on 32-bit machines.
55Type `C-u C-h t' to choose it in case your language setup doesn't 55Type `C-u C-h t' to choose it in case your language setup doesn't
56automatically select it. 56automatically select it.
57 57
58** Emacs can be compiled with ImageMagick support.
59Emacs links to ImageMagick if version 6.2.8 or newer of the library is
60present at build time. To inhibit ImageMagick, use the configure
61option `--without-imagemagick' .
62
63---
64** The standalone programs digest-doc and sorted-doc are removed.
65Emacs now uses Lisp commands `doc-file-to-man' and `doc-file-to-info'.
66
67---
68** The standalone program `fakemail' is removed.
69If 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.
78This is handy for minibuffer-only frames, and is also used for the "mouse-1
79pops 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
85client 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
93frame parameters of a newly-created graphical frame.
94
95+++
96*** If emacsclient shuts down as a result of Emacs signalling an
97error, its exit status is 1.
98 91
99** Completion 92** Completion
100 93
@@ -121,128 +114,131 @@ and pops down the *Completions* buffer accordingly.
121Instead, the bindings in minibuffer-local-filename-completion-map are combined 114Instead, the bindings in minibuffer-local-filename-completion-map are combined
122with minibuffer-local-must-match-map. 115with 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
128The default of `send-mail-function' has changed from 119The default of `send-mail-function' is now `sendmail-query-once',
129`sendmail-send-it' (on GNU/Linux and other Unix-like systems) or 120which asks the user (once) whether to use the smtpmail package to send
130`mailclient-send-it' (on Windows) to `sendmail-query-once'. This new 121email, or to use the old defaults that rely on external mail
131default will ask the user (once) whether to use the internal smtpmail 122facilities (`sendmail-send-it' on GNU/Linux and other Unix-like
132package to send email, or to use the old, external defaults. 123systems, 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
137possible, and uses the auth-source framework for getting credentials. 128mail server supports them. It also uses the auth-source framework for
138The rewrite should be largely compatible with previous versions of 129getting credentials.
139smtpmail, 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.
142to be be either ~/.authinfo (in which case you won't see any 132That variable used to have the default value "~/.authinfo", in which
143difference), but if it were a direct list of user names and passwords, 133case you won't see any difference. But if you changed it to be a list
144it will be ignored, and you will be prompted for the user name and the 134of user names and passwords, that setting is now ignored; you will be
145password instead. They will then be saved to ~/.authinfo. 135prompted for the user name and the password, which will then be saved
136to ~/.authinfo.
146 137
147If you wish to copy over all the credentials from 138You can also manually copy the credentials to your ~/.authinfo file.
148`smtpmail-auth-credentials' to your ~/.authinfo file manually, instead 139For example, if you had
149of letting smtpmail prompt you for these values, that's also possible.
150 140
151If 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
156then the equivalent line in ~/.authinfo would be 144then the equivalent line in ~/.authinfo would be
157 145
158machine 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 150If you had that set, then then you need to put
161you had that set, then then you need to put
162 151
163machine 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
166in your ~/.authinfo file instead. 154in 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
159server 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
164frame parameters of a newly-created graphical frame.
165+++
166*** If emacsclient shuts down as a result of Emacs signalling an
167error, its exit status is 1.
168+++
169*** New emacsclient argument --parent-id ID.
170This opens a client frame in parent X window ID, via XEmbed, similar
171to 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
173See the node "Bidirectional Editing" in the Emacs Manual for some 178Text that includes characters from right-to-left (RTL) scripts, such
174additional documentation. 179as Arabic, Farsi, or Hebrew, is displayed in the correct visual order
175 180as expected by users of those scripts. This display reordering is a
176To 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 182Bidirectional Algorithm. Buffers RTL text should look exactly the
178that includes no right-to-left characters, the result of reordering 183same as before.
179looks exactly as it did in previous versions, i.e. there's no
180reordering at all.
181 184
182The buffer-local variable `bidi-paragraph-direction', if non-nil, 185For more information, see the node "Bidirectional Editing" in the
183forces each paragraph in the buffer to have its base direction 186Emacs Manual.
184according to the value of this variable. Possible values are
185`right-to-left' and `left-to-right'. If the value is nil (the
186default), Emacs determines the base direction of each paragraph from
187its text, as specified by the Unicode Bidirectional Algorithm.
188 187
189The function `current-bidi-paragraph-direction' returns the actual 188+++
190value of paragraph base direction at point. 189**** New buffer-local variable `bidi-display-reordering'.
190To disable display reordering in any given buffer, change this to nil.
191 191
192Reordering of bidirectional text for display in Emacs is a "Full 192+++
193bidirectionality" class implementation of the Unicode Bidirectional 193**** New buffer-local variable `bidi-paragraph-direction'.
194If nil (the default), Emacs determines the base direction of each
195paragraph from its text, as specified by the Unicode Bidirectional
194Algorithm. 196Algorithm.
195 197
198Setting this to `right-to-left' or `left-to-right' forces a particular
199base direction on each paragraph in the buffer.
200
201Paragraphs whose base direction is right-to-left are displayed
202starting 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.
198If a character has no glyphs in any of the available fonts, Emacs by 206If a character has no glyphs in any of the available fonts, Emacs
199default will display it either as a hexadecimal code in a box or as a 207normally displays it either as a hexadecimal code in a box or as a
200thin 1-pixel space. In addition to these two methods, Emacs can 208thin 1-pixel space. In addition to these two methods, Emacs can
201display these characters as empty box, as an acronym, or not display 209display these characters as empty box, as an acronym, or not display
202them at all. To change how these characters are displayed, customize 210them at all. To change how these characters are displayed, customize
203the variable `glyphless-char-display-control'. 211the variable `glyphless-char-display-control'.
204 212
205On character terminals these methods are used for characters that 213On character terminals, these methods are used for characters that
206cannot be encoded by the `terminal-coding-system'. 214cannot 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.
211Use `set-scroll-bar-mode' to change this. 222Use `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.
214Customize `tool-bar-style' to choose style. On a Gnome desktop, the default 225Customize `tool-bar-style' to choose style. On a Gnome desktop, the default
215is taken from the desktop settings. 226is 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.
218The frame-parameter tool-bar-position controls this. It takes the values 229The frame-parameter tool-bar-position controls this. It takes the values
219top, left, right or bottom. The Options => Show/Hide menu has entries 230top, left, right or bottom. The Options => Show/Hide menu has entries
220for this. 231for this.
221 232
222** ImageMagick support. 233*** The colors for selected text (the region face) are taken from the GTK
223It is now possible to use the ImageMagick library to load many new 234theme when Emacs is built with GTK.
224image formats in Emacs. By default, Emacs links with the ImageMagick
225libraries if they are present at build time. This needs ImageMagick
2266.2.8 or newer (versions newer than 6.0.7 _may_ work but have not been
227tested). To disable ImageMagick support, use the configure option
228`--without-imagemagick'.
229
230The new function `imagemagick-types' returns a list of image file
231extensions that your installation of ImageMagick supports. The
232function `imagemagick-register-types' enables ImageMagick support for
233these image types, minus those listed in `imagemagick-types-inhibit'.
234 235
235See the Emacs Lisp Reference Manual for more information. 236*** Emacs uses GTK tooltips by default if built with GTK. You can turn that
237off 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
238highlight strings that indicate failure, caution or successful operation. 240highlight strings that indicate failure, caution or successful operation.
239 241
240** The colors for selected text (the region face) are taken from the GTK
241theme when Emacs is built with GTK.
242
243** Emacs uses GTK tooltips by default if built with GTK. You can turn that
244off 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
247with Xft. To change font, use the X resource font, for example: 243with Xft. To change font, use the X resource font, for example:
248Emacs.pane.menubar.font: Courier-12 244Emacs.pane.menubar.font: Courier-12
@@ -251,9 +247,6 @@ Emacs.pane.menubar.font: Courier-12
251Also, the first dash (which does not indicate anything) is just 247Also, the first dash (which does not indicate anything) is just
252displayed as a space. 248displayed as a space.
253 249
254** On Nextstep/OSX, the menu bar can be hidden by customizing
255ns-auto-hide-menu-bar.
256
257** Basic SELinux support has been added. 250** Basic SELinux support has been added.
258This requires Emacs to be linked with libselinux at build time. 251This 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
273higher-resolution time stamps. 266higher-resolution time stamps.
274 267
275** The function kill-emacs is now run upon receipt of the signals SIGTERM 268** Changes for exiting Emacs
276and 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. 271SIGTERM and SIGHUP, and upon SIGINT in batch mode.
272+++
273*** kill-emacs-hook is now also run in batch mode.
279If you have code that adds something to kill-emacs-hook, you should 274If you have code that adds something to kill-emacs-hook, you should
280consider if it is still appropriate to add it in the noninteractive case. 275consider 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
284of buffer at first key-press (instead move to top/bottom of buffer) 281of buffer at first key-press (instead move to top/bottom of buffer)
285when a new variable `scroll-error-top-bottom' is non-nil. 282when 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'
288scroll a line instead of full screen. 285scroll 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
291define it as a scroll command affected by `scroll-preserve-screen-position'. 288define 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,
295Emacs will never recenter point in the window when it scrolls due to 292Emacs will never recenter point in the window when it scrolls due to
296cursor motion commands or commands that move point (e.f., `M-g M-g'). 293cursor motion commands or commands that move point (e.f., `M-g M-g').
297Previously, you needed to use `most-positive-fixnum' as the value of 294Previously, 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.
302If you customize `scroll-up-aggressively' or 299If 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
304scrolls the window so as to avoid positioning point inside the scroll 301scrolls the window so as to avoid positioning point inside the scroll
305margin. 302margin.
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
310trashing. This avoids inadvertently trashing temporary files. 307trashing. 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
313now forces true deletion, regardless of `delete-by-moving-to-trash'. 310now 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
333loaded, customize `package-load-list'. 330loaded, customize `package-load-list'.
334 331
335** An Emacs Lisp testing tool is now included.
336Emacs Lisp developers can use this tool to write automated tests for
337their 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
354the remote file-name cache is used for read access. 347the 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.
358to enable a minor-mode is deprecated. Instead, use "eval: (minor-mode 1)". 352Add an element (subdirs . nil) to the alist portion of any variables
353settings to indicate that the section should not apply to
354subdirectories.
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.
361replaced with Lisp commands `doc-file-to-man' and `doc-file-to-info'. 357Affected modes include dired, vc-dir, and log-edit. For example,
358adding "(diff-mode . ((mode . whitespace)))" to .dir-locals.el will
359turn 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.
365If you need it, feedmail.el ought to provide a superset of the functionality. 364Instead, 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
378instead of `switch-to-buffer' when selecting an item in the Buffers menu. 377instead 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'.
380This is handy for minibuffer-only frames, and is also used for the "mouse-1
381pops 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
387isearch-yank-line. 389isearch-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
391isearch-yank-kill. 392isearch-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'.
409If non-nil, C-d, [delete], and DEL delete the region if it is active 409If non-nil, [delete] and DEL delete the region if it is active and no
410and no prefix argument is given. If set to `kill', these commands 410prefix argument is given. If set to `kill', these commands kill
411kill instead. 411instead.
412 412
413*** New command `delete-forward-char', bound to [delete]. 413*** New command `delete-forward-char', bound to [delete].
414This is meant for interactive use, and obeys `delete-active-region'. 414This is meant for interactive use, and obeys `delete-active-region'.
@@ -418,7 +418,7 @@ The command `delete-char' does not obey `delete-active-region'.
418Apart from obeying `delete-active-region', its behavior is unchanged. 418Apart from obeying `delete-active-region', its behavior is unchanged.
419However, the byte compiler now warns if it is called from Lisp; you 419However, the byte compiler now warns if it is called from Lisp; you
420should use delete-char with a negative argument instead. 420should 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 501specifies 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
510inserted by the compilation filter function, when calling
511compilation-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
516functionality such as more intelligent indentation, electricity, support for
517more variants, including Mercury, and a lot more.
518
519** shell-mode can track your cwd by reading it from your prompt.
520Just 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.
527Use the variable bibtex-dialect to select support for different BibTeX dialects. 506Use the variable bibtex-dialect to select support for different BibTeX
528bibtex-entry-field-alist is now an obsolete alias for 507dialects. bibtex-entry-field-alist is now an obsolete alias for
529bibtex-BibTeX-entry-alist. 508bibtex-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
547controlling 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,
552will turn on `whitespace-mode' for *vc-diff* buffers. Modes should
553call `hack-dir-local-variables-non-file-buffer' to support this.
554
555+++
556** You can prevent directory local variables from applying to subdirectories.
557Add an element (subdirs . nil) to the alist portion of any variables
558settings 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'.
563If the value of `erc-autojoin-timing' is 'ident, ERC autojoins after a
564successful NickServ identification, or after `erc-autojoin-delay'
565seconds. The default value, 'ident, means to autojoin immediately
566after connecting.
567
568*** New variable `erc-coding-system-precedence': If we use `undecided'
569as the server coding system, this variable will then be consulted.
570The default is to decode strings that can be decoded as utf-8 as
571utf-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
577exists, that is used instead.
578
579** In ido-mode, C-v is no longer bound to ido-toggle-vc.
580The reason is that this interferes with cua-mode.
581
582** partial-completion-mode is now obsolete.
583You 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:
624view-diary-entries, list-diary-entries, show-all-diary-entries 549view-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
563inserted by the compilation filter function, when calling
564compilation-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
638choose a color via list-colors-display. 578choose a color via list-colors-display.
639 579
580** D-Bus
581
582*** It is possible now, to access alternative buses than the default
583system or session bus.
584
585*** dbus-register-{service,method,property}
586The -method and -property functions do not automatically register
587names anymore.
588
589The new function dbus-register-service registers a service known name
590on 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.
647The standard directory local variables feature replaces it. 599The 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 604If the value of `erc-autojoin-timing' is 'ident, ERC autojoins after a
653*** Added ability to login with a port on MySQL and Postgres. 605successful NickServ identification, or after `erc-autojoin-delay'
654The custom variable `sql-port' can be specified for connection to 606seconds. The default value, 'ident, means to autojoin immediately
655MySQL or Postgres servers. By default, the port is not listed in 607after connecting.
656either login parameter, but will be added to the command line if set
657to a non-zero value.
658
659*** Dynamic selection of product in an SQL interactive session.
660If you use `sql-product-interactive' to start an SQL interactive
661session it uses the current value of `sql-product'. Preceding the
662invocation with C-u will force it to ask for the product before
663creating the session.
664
665*** Renaming a SQL interactive buffer when it is created.
666Prefixing the SQL interactive commands (`sql-sqlite', `sql-postgres',
667`sql-mysql', etc.) with C-u will force a new interactive session to be
668started and will prompt for the new name. This will reduce the need
669for `sql-rename-buffer' is most common use cases.
670
671*** Command continuation prompts in SQL interactive mode are suppressed.
672Multiple line commands in SQL interactive mode, generate command
673continuation prompts which needlessly confuse the output. These
674prompts are now filtered out from the output. This change impacts
675multiple line SQL statements entered with C-j between each line,
676statements yanked into the buffer and statements sent with
677`sql-send-*' functions.
678
679*** Custom variables control prompting for login parameters.
680Each supported product has a custom variable `sql-*-login-params'
681which is a list of the parameters to be prompted for before a
682connection is established.
683 608
684The 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 610as the server coding system, this variable will then be consulted.
686the order in which they are prompted. The tokens symbols can be 611The default is to decode strings that can be decoded as utf-8 as
687replaced by a sublist starting with the token and followed by a plist 612utf-8, and do the normal `undecided' decoding for the rest.
688which control the prompting for values. The tokens `user',
689`database', and `server' each can take a property of :default which
690specifies the value to be used if no value is entered. The
691`database', `server', and `port' tokens handle the :completion
692property which restricts the entry to either one of the values in the
693list or to one of the values returned by the function provided as the
694property 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
705The FILEPAT when :file is specified is a regexp that will match valid
706file names (without the directory portion). Generally these strings
707will be of the form ".+\.SUF" where SUF is the desired file suffix.
708
709When :completion is specified, the COMPLETE corresponds to the
710PREDICATE argument to the `completing-read' function (a list of
711possible values or a function returning such a list).
712
713*** Added `sql-connection-alist' to record login parameter values.
714An alist for recording different username, database and server
715values. If there are multiple databases that you connect to the
716parameters needed can be stored in this alist.
717
718For 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
727This defines two connections named "dev" and "prd".
728
729*** Added `sql-connect' to use predefined connections.
730Sets the login parameters based on the values in the
731`sql-connection-alist' and start a SQL interactive session. Any
732values specified in the connection will not be prompted for.
733
734In the example above, if the user were to invoke M-x sql-connect, they
735would be prompted for the connection. The user can respond with
736either "dev" or "prd". The "dev" connection would connect to the
737SQLite database without prompting; the "prd" connection would prompt
738for the users password and then connect to the Oracle database.
739
740**** Added SQL->Start... submenu when connections are defined.
741When connections have been defined, there is a submenu available that
742allows the user to select one to start a SQLi session. The "Start
743SQLi Session" item moves to the "Start..." submenu when cnnections
744have been defined.
745
746**** Added "Save Connection" menu item in SQLi buffers.
747When a SQLi session is not started by a connection then
748`sql-save-connection' will gather the login params specified for the
749session and save them as a new connection.
750
751*** List database objects and details.
752Once a SQL interactive session has been started, you can get a list of
753the objects in the database and see details of those objects. The
754objects shown and the details available are product specific.
755
756**** List all objects.
757Using `M-x sql-list-all', `C-c C-l a' or selecting "SQL->List all
758objects" will list all the objects in the database. At a minimum it
759lists the tables and views in the database. Preceding the command by
760universal argument may provide additional details or extend the
761listing to include other schemas objects. The list will appear in a
762separate window in view-mode.
763
764**** List Table details.
765Using `M-x sql-list-table', `C-c C-l t' or selecting "SQL->List Table
766details" will ask for the name of a database table or view and display
767the list of columns in the relation. Preceding the command with the
768universal argument may provide additional details about each column.
769The list will appear in a separate window in view-mode.
770
771*** Added option `sql-send-terminator'.
772When set makes sure that each command sent with `sql-send-*' commands
773are properly terminated and submitted to the SQL processor.
774
775*** Added option `sql-oracle-scan-on'.
776When set commands sent to Oracle's SQL*Plus are scanned for strings
777starting with an ampersand and the user is asked for replacement text.
778In general, the SQL*Plus option SCAN should always be set OFF under
779SQL interactive mode and this option used in its place.
780
781*** SQL interactive mode will replace tabs with spaces.
782This prevents the command interpreter for MySQL and Postgres from
783listing 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
618exists, that is used instead.
619
620** gdb-mi
621
622*** GDB User Interface migrated to GDB Machine Interface and now
623supports multithread non-stop debugging and debugging of several
624threads simultaneously.
625
626** In ido-mode, C-v is no longer bound to ido-toggle-vc.
627The 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.
794If nil, `image-toggle-animation' plays the animation once. 635If 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
799superseded by shift-select-mode enabled by default in 23.1. 640specified by its name. If that manual is already visited in some Info
800** pc-mode.el is also declared obsolete. 641buffer within the current session, the command will display that
801** gdb-mi 642buffer. Otherwise, it will load the manual and display it. This is
643handy if you have many manuals in many Info buffers, and don't
644remember the name of the buffer visiting the manual you want to
645consult.
802 646
803*** GDB User Interface migrated to GDB Machine Interface and now 647** The Landmark game is now invoked with `landmark', not `lm'.
804supports multithread non-stop debugging and debugging of several
805threads simultaneously.
806 648
807** D-Bus 649** MH-E has been upgraded to MH-E version 8.2.93.
650See 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.
810system 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.
813The -method and -property functions do not automatically register
814names anymore.
815 655
816The new function dbus-register-service registers a service known name 656** Prolog mode has been completely revamped, with lots of additional
817on a D-Bus without simultaneously registering a property or a method. 657functionality such as more intelligent indentation, electricity, support for
658more variants, including Mercury, and a lot more.
659
660** Rmail
661
662*** The command `rmail-epa-decrypt' decrypts OpenPGP data
663in the Rmail incoming message.
664
665** shell-mode can track your cwd by reading it from your prompt.
666Just 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
674to a MySQL or Postgres server.
675
676*** The command `sql-product-interactive' now takes a prefix argument,
677which causes it to prompt for an SQL product instead of the current
678value of `sql-product'.
679
680*** Product-specific SQL interactive commands now take prefix args.
681These commands (`sql-sqlite', `sql-postgres', `sql-mysql', etc.),
682given a prefix argument, prompt for a name for the SQL interactive
683buffer. This reduces the need for calling `sql-rename-buffer'.
684
685*** SQL interactive modes suppress command continuation prompts, and
686replace tabs with spaces. The first change impacts multiple line SQL
687statements entered with C-j between each line, statements yanked into
688the buffer and statements sent with `sql-send-*' functions. The
689second change prevents the MySQL and Postgres interpreters from
690listing object name completions when sent text via `sql-send-*'
691functions.
692
693*** New custom variables control prompting for login parameters.
694Each supported product has a custom variable `sql-*-login-params',
695which is a list of the parameters to be prompted for before a
696connection is established.
697
698*** New variable `sql-connection-alist' for login parameter values.
699This can be used to store different username, database and server
700values. Connections defined in this variable appear in the submenu
701SQL->Start... for making new SQLi sessions.
702
703*** New command `sql-connect' starts a predefined SQLi session,
704using the login parameters from `sql-connection-alist'.
705
706*** New "Save Connection" menu item in SQLi buffers.
707This gathers the login params specified for the SQLi session, if it
708was not started by a connection, and saves them as a new connection.
709
710*** Commands for listing database objects and details.
711In an SQLi session, you can get a list of objects in the database.
712The contents of these lists are product specific.
713
714**** `C-c C-l a' or the "SQL->List all objects" menu item
715lists all the objects in the database. With a prefix argument, it
716displays additional details or extend the listing to include other
717schemas objects.
718
719**** `C-c C-l t' or the "SQL->List Table details" menu item
720prompts for the name of a database table or view and displays the list
721of columns in the relation. With a prefix argument, it displays
722additional 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
827default value to "". 740default value to "".
828 741
829** Rmail 742** `url-queue-retrieve' downloads web pages asynchronously, but allow
830 743controlling the degree of parallelism.
831*** The command `rmail-epa-decrypt' decrypts OpenPGP data
832in 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
866of a file similar to `vc-diff', but using ediff backend. 777of 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.
784You 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.
793They 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
883specified by its name. If that manual is already visited in some Info
884buffer within the current session, the command will display that
885buffer. Otherwise, it will load the manual and display it. This is
886handy if you have many manuals in many Info buffers, and don't
887remember the name of the buffer visiting the manual you want to
888consult.
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
932bidirectional properties of a character, use `get-char-code-property' 847bidirectional properties of a character, use `get-char-code-property'
933with the last argument `bidi-class'. 848with 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
936of the target directory, if the latter is an existing directory. The 852of the target directory, if the latter is an existing directory. The
937new optional arg COPY-CONTENTS, if non-nil, makes the function copy 853new 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
947area, excluding any header line. Previously, it counted from the top 863area, excluding any header line. Previously, it counted from the top
948of the header line. 864of 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
959ON unconditionally. 875ON 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'
962and `tool-bar-lines' to `default-frame-alist' and `initial-frame-alist'. 879and `tool-bar-lines' to `default-frame-alist' and `initial-frame-alist'.
963With these alist entries omitted, `make-frame' checks the value of the 880With 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:
976have been removed:
977comint-kill-output, decompose-composite-char, outline-visible, 893comint-kill-output, decompose-composite-char, outline-visible,
978internal-find-face, internal-get-face, frame-update-faces, 894internal-find-face, internal-get-face, frame-update-faces,
979frame-update-face-colors, x-frob-font-weight, x-frob-font-slant, 895frame-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,
983iswitchb-default-keybindings, char-bytes, isearch-return-char, 899iswitchb-default-keybindings, char-bytes, isearch-return-char,
984make-local-hook 900make-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:
987have been removed: 903checkdoc-minor-keymap, vc-header-alist, directory-sep-char, and
988checkdoc-minor-keymap, vc-header-alist, directory-sep-char, 904font-lock-defaults-alist.
989font-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:
992sc.el, x-menu.el, rnews.el, rnewspost.el 907sc.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.
915The `lexical-binding' variable lets code use lexical scoping for local
916variables. It is typically set via file-local variables, in which case it
917applies to all the code in that file.
918
919*** `eval' takes a new optional argument `lexical' to choose the new lexical
920binding instead of the old dynamic binding mode.
921
922*** Lexically scoped interpreted functions are represented with a new form
923of 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
928declared as dynamically bound.
929
930** An Emacs Lisp testing tool is now included.
931Emacs Lisp developers can use this tool to write automated tests for
932their 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'.
938This returns the actual value of base direction of the paragraph at
939point.
940
941+++
942*** New function `bidi-string-mark-left-to-right'.
943Given a string containing characters from right-to-left (RTL) scripts,
944this function returns another string which can be safely inserted into
945a buffer, such that any following text will be always displayed to the
946right of that string. (This works by appending the Unicode
947"LEFT-TO-RIGHT MARK" character when the argument string might need that.)
948
949This is useful when the buffer has overall left-to-right (LTR)
950paragraph direction and you need to insert a string whose contents and
951directionality are not known in advance, without disrupting the layout
952of 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
1010of the current completion: 966of 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
1033parameters (`:end-of-command', `:success', `:capabilities-command') 989parameters (`:end-of-command', `:success', `:capabilities-command')
1034must also be supplied. 990must also be supplied.
1035 991
1036** Code can now use lexical scoping by default instead of dynamic scoping.
1037The `lexical-binding' variable lets code use lexical scoping for local
1038variables. It is typically set via file-local variables, in which case it
1039applies to all the code in that file.
1040
1041*** `eval' takes a new optional argument `lexical' to choose the new lexical
1042binding instead of the old dynamic binding mode.
1043
1044*** Lexically scoped interpreted functions are represented with a new form
1045of 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
1050declared as dynamically bound.
1051
1052+++ 992+++
1053** New function `bidi-string-mark-left-to-right'.
1054Given a string containing right-to-left (RTL) script, this function
1055returns another string which can be safely inserted into a buffer as a
1056distinct RTL "segment", without causing any following text to be
1057displayed as RTL. (This is done by appending a Unicode "left-to-right
1058mark" character.)
1059
1060This is useful when the buffer has overall left-to-right (LTR)
1061paragraph direction and you need to insert a string whose contents and
1062directionality 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.
1065Instead, the offending function is removed. 994Instead, 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
1073a file. 1002a 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.
1078Also the debugger can now "continue" from an error, which means it will jump 1006Also the debugger can now "continue" from an error, which means it will jump
1079to the error handler as if the debugger had not been invoked instead of 1007to the error handler as if the debugger had not been invoked instead of
1080jumping all the way to the top-level. 1008jumping all the way to the top-level.
@@ -1087,8 +1015,8 @@ The variable is now used to load all kind of supported dynamic libraries,
1087not just image libraries. The previous name is still available as an 1015not just image libraries. The previous name is still available as an
1088obsolete alias. 1016obsolete alias.
1089 1017
1090** New variable syntax-propertize-function to set syntax-table properties. 1018** New variable `syntax-propertize-function'.
1091Replaces font-lock-syntactic-keywords which are now obsolete. 1019This replaces `font-lock-syntactic-keywords' which is now obsolete.
1092This allows syntax-table properties to be set independently from font-lock: 1020This allows syntax-table properties to be set independently from font-lock:
1093just call syntax-propertize to make sure the text is propertized. 1021just call syntax-propertize to make sure the text is propertized.
1094Together with this new variable come a new hook 1022Together 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.
1106The prog-mode-hook it defines can be used to enable features for 1036The prog-mode-hook it defines can be used to enable features for
1107programming modes. For example: 1037programming modes. For example:
1108(add-hook 'prog-mode-hook 'flyspell-prog-mode) 1038(add-hook 'prog-mode-hook 'flyspell-prog-mode)
1109enables on the fly spell checking for comments and strings for 1039enables on the fly spell checking for comments and strings for
1110programming modes. 1040programming 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.
1114Trashing is performed if TRASH and `delete-by-moving-to-trash' are 1046Trashing is performed if TRASH and `delete-by-moving-to-trash' are
1115both non-nil. Interactively, TRASH defaults to t, unless a prefix 1047both non-nil. Interactively, TRASH defaults to t, unless a prefix
1116argument is supplied (see Trash changes, above). 1048argument 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'.
1121The command `read-color' now requires a match for a color name or RGB 1051The command `read-color' now requires a match for a color name or RGB
1122triplet, instead of signalling an error if the user provides a invalid 1052triplet, 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
1073Changes), the function `imagemagick-types' returns a list of image
1074file extensions that your installation of ImageMagick supports. The
1075function `imagemagick-register-types' enables ImageMagick support for
1076these image types, minus those listed in `imagemagick-types-inhibit'.
1077
1078See 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".
1173The MIN-VALUE and MAX-VALUE arguments of `make-progress-reporter' can 1112The MIN-VALUE and MAX-VALUE arguments of `make-progress-reporter' can
1174now be nil, or omitted. This makes a "non-numeric" reporter. Each 1113now 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.
1195This means that the empty symbol can now be read back. Also, #: by itself 1135This 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
1197an empty uninterned symbol. 1137an empty uninterned symbol.
1138
1139** Obsolete functions and variables
1140
1141*** buffer-substring-filters is obsolete.
1142Use `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
1166ns-auto-hide-menu-bar.
1167
1215 1168
1216---------------------------------------------------------------------- 1169----------------------------------------------------------------------
1217This file is part of GNU Emacs. 1170This 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
323M-<Delback>‬ גזור מילה שלפני הסמן 323M-<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 "משעה" את
584Emacs: הוא מחזיר אתכם לשורת הפקודות הבסיסית של מערכת ההפעלה ("shell"), 584Emacs: הוא מחזיר אתכם לשורת הפקודות הבסיסית של מערכת ההפעלה ("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לחבריכם. עזרו לנו לחסל את "הבעלות" על תוכנה שאינה אלא חבלה בתוכנה,