Combine the two stamp-oldxmenu cases.
[bpt/emacs.git] / etc / NEWS
CommitLineData
29b7722a 1GNU Emacs NEWS -- history of user-visible changes.
5b87ad55 2
eb199145 3Copyright (C) 2010 Free Software Foundation, Inc.
5b87ad55 4See the end of the file for license conditions.
a933dad1 5
893db5bc 6Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
9a21d88b
KS
7If possible, use M-x report-emacs-bug.
8
eb199145 9This file is about changes in Emacs version 24.
9a21d88b 10
eb199145
GM
11See files NEWS.23, NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18,
12and NEWS.1-17 for changes in older Emacs versions.
9a21d88b
KS
13
14You can narrow news to a specific version by calling `view-emacs-news'
15with a prefix argument or by typing C-u C-h C-n.
3f7194ed 16
adce950d
CY
17
18Temporary note:
19 +++ indicates that the appropriate manual has already been updated.
20 --- means no change in the manuals is called for.
21When you add a new item, please add it without either +++ or ---
22so we will look at it and add it to the manual.
23
24\f
eb199145 25* Installation Changes in Emacs 24.1
09e18d03 26
aded53ff
GM
27---
28** There are new configure options:
29--with-mmdf, --with-mail-unlink, --with-mailhost.
30These provide no new functionality, they just remove the need to edit
31lib-src/Makefile by hand in order to use the associated features.
32
1ddac986
GM
33---
34** There is a new configure option --with-crt-dir.
35This is only useful if your crt*.o files are in a non-standard location.
36
b7d65a5f
GM
37** Configure links against libselinux if it is found.
38You can disable this by using --without-selinux.
39
0bfd685e 40\f
eb199145 41* Startup Changes in Emacs 24.1
4a263588 42
0bfd685e 43\f
eb199145 44* Changes in Emacs 24.1
7841339b 45
902a6d8d
SM
46** Completion can cycle, depending on completion-cycle-threshold.
47
2372f278
SM
48** auto-mode-case-fold is now enabled by default.
49
f4b6ba46
EZ
50+++
51** Emacs now supports display and editing of bidirectional text.
f4b6ba46
EZ
52
53See the node "Bidirectional Editing" in the Emacs Manual for some
54initial documentation.
55
56To turn this on in any given buffer, set the buffer-local variable
57`bidi-display-reordering' to a non-nil value. The default is nil.
58
59The buffer-local variable `bidi-paragraph-direction', if non-nil,
60forces each paragraph in the buffer to have its base direction
61according to the value of this variable. Possible values are
62`right-to-left' and `left-to-right'. If the value is nil (the
63default), Emacs determines the base direction of each paragraph from
64its text, as specified by the Unicode Bidirectional Algorithm.
65
d20e1419
EZ
66The function `current-bidi-paragraph-direction' returns the actual
67value of paragraph base direction at point.
68
f4b6ba46
EZ
69Reordering of bidirectional text for display in Emacs is a "Full
70bidirectionality" class implementation of the Unicode Bidirectional
71Algorithm.
72
46759717
EZ
73Note that some advanced display features, such as overlay strings and
74`display' text properties, do not yet work correctly when
75bidirectional text is reordered for display.
76
303500aa 77** GTK scroll-bars are now placed on the right by default.
52834b6b
CY
78Use `set-scroll-bar-mode' to change this.
79
20fe03ad 80** GTK tool bars can have just text, just images or images and text.
d8004abe 81Customize `tool-bar-style' to choose style. On a Gnome desktop, the default
20fe03ad
JD
82is taken from the desktop settings.
83
1ecb2d3f
JD
84** Lucid menus and dialogs can display antialiased fonts if Emacs is built
85with Xft.
99852628 86
b7d65a5f
GM
87** Basic SELinux support has been added.
88This requires Emacs to be linked with libselinux at build time.
89
d8004abe
GM
90*** Emacs preserves the SELinux file context when backing up, and
91optionally when copying files. To this end, copy-file has an extra
92optional argument, and backup-buffer and friends include the SELinux
93context in their return values.
b7d65a5f
GM
94
95*** The new functions file-selinux-context and set-file-selinux-context
96get and set the SELinux context of a file.
97
a5bee597
MA
98*** Tramp offers handlers for file-selinux-context and set-file-selinux-context
99for remote machines which support SELinux.
100
79ce172a 101** New scrolling commands `scroll-up-command' and `scroll-down-command'
7b05466f
JL
102(bound to C-v/[next] and M-v/[prior]) does not signal errors at top/bottom
103of buffer at first key-press (instead moves to top/bottom of buffer)
104when a new variable `scroll-error-top-bottom' is non-nil.
79ce172a 105
5a97d2da
JL
106** New scrolling commands `scroll-up-line' and `scroll-down-line'
107scroll a line instead of full screen.
108
a4b000fb
JL
109** New property `scroll-command' should be set on a command's symbol to
110define it as a scroll command affected by `scroll-preserve-screen-position.
9013a7f8 111
0bfd685e 112\f
eb199145 113* Editing Changes in Emacs 24.1
b350bdf2 114
a982c7ec
CY
115** completion-at-point is now an alias for complete-symbol.
116
53967e09
CY
117** mouse-region-delete-keys has been deleted.
118
119** If delete-file is called with a prefix argument, it really deletes,
120regardless of the value of `delete-by-moving-to-trash'.
121
9bae34bf 122\f
eb199145 123* Changes in Specialized Modes and Packages in Emacs 24.1
efeb796b 124
b3671a51
JL
125** Archive Mode has basic support to browse 7z archives.
126
27d3cd56
CY
127** In ido-mode, C-v is no longer bound to ido-toggle-vc.
128The reason is that this interferes with cua-mode.
129
c1e25821 130** partial-completion-mode is now obsolete.
79ccd68f
SM
131You can get a comparable behavior with:
132(setq completion-styles '(partial-completion initials))
133(setq completion-pcm-complete-word-inserts-delimiters t)
c1e25821 134
18c812bd 135** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags.
52834b6b
CY
136** Customize
137
138*** Customize buffers now contain a search field.
139The search is performed using `customize-apropos'.
140To turn off the search field, set custom-search-field to nil .
141
142*** Custom options now start out hidden if at their default values.
143Use the arrow to the left of the option name to toggle visibility.
144
145*** custom-buffer-sort-alphabetically now defaults to t.
146
147*** The color widget now has a "Choose" button, which allows you to
148choose a color via list-colors-display.
149
855a2294
DN
150** VC and related modes
151
e97a42c1 152*** New VC commands: vc-log-incoming, vc-log-outgoing, vc-find-conflicted-file.
31527c56 153
855a2294
DN
154*** vc-dir for Bzr supports viewing shelve contents and shelving snapshots.
155
09158997 156*** Special markup can be added to log-edit buffers.
e97a42c1
SM
157The log-edit buffers are expected to have a format similar to email messages
158with headers of the form:
159 Author: <author of this change>
160 Summary: <one line summary of this change>
161 Fixes: <reference to the bug fixed by this change>
162Some backends handle some of those headers specially, but any unknown header
163is just left as is in the message, so it is not lost.
09158997 164
8117868f
DN
165** Directory local variables can apply to file-less buffers.
166For example, adding "(diff-mode . ((mode . whitespace)))" to your
d8004abe 167.dir-locals.el file, will turn on `whitespace-mode' for *vc-diff* buffers.
8117868f 168
7492acc9
MM
169** SQL Mode enhancements.
170
171*** Several variables have been marked as safe local variables.
172The variables `sql-product', `sql-user', `sql-server', and
173`sql-database' can now be safely used as local variables.
174
175*** Added ability to login with a port on MySQL.
176The custom variable `sql-port' can be specified for connection to
177MySQL servers.
178
179*** Custom variables control prompting for login parameters.
180Each supported product has a custom variable `sql-*-login-params'
181which is a list of the parameters to be prompted for before a
182connection is established.
183
184*** Added option `sql-send-terminator'.
185When set makes sure that each command sent with `sql-send-*' commands
186are properly terminated and submitted to the SQL processor.
187
188*** Added option `sql-oracle-scan-on'.
189When set commands sent to Oracle's SQL*Plus are scanned for strings
190starting with an ampersand and the user is asked for replacement
191text. In general, the SQL*Plus option SCAN should be set OFF under
192SQL interactive mode.
193
194*** SQL interactive mode will replace tabs with spaces.
195This prevents the comand interpretter for MySQL and Postgres from
196listing object name completions when being sent text via
197`sql-send-*' functions.
198
199*** An API for manipulating SQL product definitions has been added.
200
5e418f17
JL
201** s-region.el is now declared obsolete, superceded by shift-select-mode
202enabled by default in 23.1.
203
691cf4a0
NR
204** gdb-mi
205
206*** GDB User Interface migrated to GDB Machine Interface and now
207supports multithread non-stop debugging and debugging of several
208threads simultaneously.
209
eb199145
GM
210\f
211* New Modes and Packages in Emacs 24.1
d445b3f8 212
7725ebb7
MA
213** secrets.el is an implementation of the Secret Service API, an
214interface to password managers like GNOME Keyring or KDE Wallet. The
215Secret Service API requires D-Bus for communication.
216
eb199145
GM
217\f
218* Incompatible Lisp Changes in Emacs 24.1
6dfcbe31 219
fd5c9dfa
JL
220** Test for special mode-class was moved from view-file to view-buffer.
221
3b7e1d5f
SM
222** Passing a nil argument to a minor mode function now turns the mode
223 ON unconditionally.
eb199145
GM
224\f
225* Lisp changes in Emacs 24.1
9097e8af 226
4e2db1fe 227** frame-local variables cannot be let-bound any more.
10dcc561 228** prog-mode is a new major-mode meant to be the parent of programming mode.
f44379e7
SM
229** define-minor-mode accepts a new keyword :variable.
230
53967e09
CY
231** delete-file now accepts an optional second arg, FORCE, which says
232to always delete and ignore the value of delete-by-moving-to-trash.
233
8f92b8ad
SM
234** buffer-substring-filters is obsoleted by filter-buffer-substring-functions.
235
00278747
SM
236** New completion style `substring'.
237
00fe2df1
JL
238** Image API
239
240*** When the image type is one of listed in `image-animated-types'
1546c559 241and the number of sub-images in the image is more than one, then the
00fe2df1
JL
242new function `create-animated-image' creates an animated image where
243sub-images are displayed successively with the duration defined by
244`image-animate-max-time' and the delay between sub-images defined
245by the Graphic Control Extension of the image.
246
1546c559
JL
247*** `image-extension-data' is renamed to `image-metadata'.
248
9326ba26
CY
249** Progress reporters can now "spin".
250The MIN-VALUE and MAX-VALUE arguments of `make-progress-reporter' can
251now be nil, or omitted. This makes a "non-numeric" reporter. Each
252time you call `progress-reporter-update' on that progress reporter,
253with a nil or omitted VALUE argument, the reporter message is
254displayed with a "spinning bar".
255
eb199145
GM
256\f
257* Changes in Emacs 24.1 on non-free operating systems
d53a60a6 258
05197f40 259\f
a933dad1 260----------------------------------------------------------------------
5b87ad55 261This file is part of GNU Emacs.
a933dad1 262
ab73e885 263GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 264it under the terms of the GNU General Public License as published by
ab73e885
GM
265the Free Software Foundation, either version 3 of the License, or
266(at your option) any later version.
5b87ad55
GM
267
268GNU Emacs is distributed in the hope that it will be useful,
269but WITHOUT ANY WARRANTY; without even the implied warranty of
270MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
271GNU General Public License for more details.
a933dad1 272
5b87ad55 273You should have received a copy of the GNU General Public License
ab73e885 274along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
a933dad1 275
05197f40 276\f
a933dad1
DL
277Local variables:
278mode: outline
279paragraph-separate: "[ \f]*$"
280end: