Commit | Line | Data |
---|---|---|
29b7722a | 1 | GNU Emacs NEWS -- history of user-visible changes. |
5b87ad55 | 2 | |
a1ed8b05 | 3 | Copyright (C) 2010-2012 Free Software Foundation, Inc. |
5b87ad55 | 4 | See the end of the file for license conditions. |
a933dad1 | 5 | |
893db5bc | 6 | Please send Emacs bug reports to bug-gnu-emacs@gnu.org. |
9a21d88b KS |
7 | If possible, use M-x report-emacs-bug. |
8 | ||
eb199145 | 9 | This file is about changes in Emacs version 24. |
9a21d88b | 10 | |
eb199145 GM |
11 | See files NEWS.23, NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18, |
12 | and NEWS.1-17 for changes in older Emacs versions. | |
9a21d88b KS |
13 | |
14 | You can narrow news to a specific version by calling `view-emacs-news' | |
15 | with a prefix argument or by typing C-u C-h C-n. | |
3f7194ed | 16 | |
a1ed8b05 GM |
17 | Temporary note: |
18 | +++ indicates that the appropriate manual has already been updated. | |
19 | --- means no change in the manuals is called for. | |
20 | When you add a new item, please add it without either +++ or --- | |
21 | so we will look at it and add it to the manual. | |
22 | ||
23 | \f | |
2a1e2476 | 24 | * Installation Changes in Emacs 24.3 |
b8df54ff | 25 | |
8b2e00a3 | 26 | ** New configure option '--without-all' to disable additional features. |
da3d2105 DA |
27 | This disables most of the features that are normally enabled by default. |
28 | ||
29 | ** New configure option '--enable-link-time-optimization' to utilize | |
30 | an appropriate feature provided by GCC since version 4.5.0. | |
31 | ||
b8df54ff PE |
32 | ** New configure option '--enable-gcc-warnings', intended for developers. |
33 | If building with GCC, this enables compile-time checks that warn about | |
34 | possibly-questionable C code. On a recent GNU system there should be | |
35 | no warnings; on older and on non-GNU systems the generated warnings | |
ae6e112d | 36 | may be useful. |
b8df54ff | 37 | |
501390c5 PE |
38 | ** The configure option '--disable-maintainer-mode' has been removed, |
39 | as it was confusingly-named and rarely useful. | |
40 | ||
5af9cb6b GM |
41 | --- |
42 | ** You can use `NO_BIN_LINK=t make install' to prevent the installation | |
43 | overwriting "emacs" in the installation bin/ directory with a link | |
44 | to emacs-VERSION. | |
45 | ||
a4a18b8b GM |
46 | --- |
47 | ** Emacs uses libtinfo in preference to libncurses, if available. | |
48 | ||
187e9b90 GM |
49 | --- |
50 | ** On FreeBSD and NetBSD, configure no longer adds /usr/local/lib and | |
51 | /usr/pkg/lib to the linker search path. You must add them yourself if | |
52 | you want them. | |
53 | ||
136c45ee GM |
54 | --- |
55 | ** On Mac OS X, configure no longer automatically adds the Fink /sw | |
56 | directories to the search path. You must add them yourself if you want them. | |
57 | ||
276d5f5d GM |
58 | --- |
59 | ** The standalone scripts rcs-checkin and vcdiff have been removed | |
60 | (from the bin and libexec directories, respectively). The former is | |
61 | no longer relevant, the latter is replaced by lisp (in vc-sccs.el). | |
62 | ||
646b5f55 AS |
63 | ** The configuration option '--enable-use-lisp-union-type' has been |
64 | renamed to '--enable-check-lisp-object-type', as the resulting | |
65 | Lisp_Object type no longer uses a union to implement the compile time | |
66 | check that this option enables. | |
67 | ||
a1ed8b05 | 68 | \f |
2a1e2476 | 69 | * Startup Changes in Emacs 24.3 |
e5fcdb5e GM |
70 | |
71 | ** Emacs no longer searches for `leim-list.el' files beneath the standard | |
72 | lisp/ directory. There should not be any there anyway. If you have | |
73 | been adding them there, put them somewhere else, eg site-lisp. | |
74 | ||
4107c81e GM |
75 | --- |
76 | ** The `--no-site-lisp' command line option now works for Nextstep builds. | |
77 | ||
a1ed8b05 | 78 | \f |
2a1e2476 | 79 | * Changes in Emacs 24.3 |
a1ed8b05 | 80 | |
011474aa CY |
81 | ** You can now scroll the selected window in most y-or-n prompts. |
82 | Typing C-v or M-v at a prompt scrolls forward or backward | |
83 | respectively, without leaving the y-or-n prompt. | |
84 | ||
c89926a5 CY |
85 | ** Help changes |
86 | ||
87 | *** `C-h f' (describe-function) can now perform autoloading. | |
88 | When this command is called for an autoloaded function whose docstring | |
89 | contains a key substitution construct, that function's library is | |
90 | automatically loaded, so that the documentation can be shown | |
91 | correctly. To disable this, set `help-enable-auto-load' to nil. | |
92 | ||
93 | *** `C-h f' now reports previously-autoloaded functions as "autoloaded", | |
94 | even after their associated libraries have been loaded (and the | |
95 | autoloads have been redefined as functions). | |
96 | ||
d35af63c PE |
97 | ** The function `current-time' now returns extended-format time stamps |
98 | (HIGH LOW USEC PSEC) that use picosecond resolution; the PSEC | |
99 | component is new. PSEC is typically a multiple of 1000 on current | |
100 | machines. Other functions that use this format, such as | |
101 | file-attributes and format-time-string, have been changed accordingly. | |
102 | Old-format time stamps are still accepted. | |
103 | ||
cf29dd84 PE |
104 | ** Emacs now generates backtraces on fatal errors. |
105 | On encountering a fatal error, Emacs now outputs a textual description | |
106 | of the fatal signal, and a short backtrace on platforms like glibc | |
107 | that support backtraces. | |
108 | ||
e5a36063 GM |
109 | ** New functions `system-users', `system-groups' return lists of the user |
110 | name, group names known to the system (where possible). | |
111 | ||
a1ed8b05 GM |
112 | ** If your Emacs was built from a bzr checkout, the new variable |
113 | `emacs-bzr-version' contains information about which bzr revision was used. | |
114 | ||
c505aaeb CY |
115 | ** ImageMagick support, if available, is automatically enabled. |
116 | It is no longer necessary to call `imagemagick-register-types' | |
117 | explicitly to install ImageMagick image types; that function is called | |
7afbaca4 GM |
118 | automatically at startup, or when customizing a relevant imagemagick- |
119 | option. | |
c505aaeb CY |
120 | |
121 | *** Setting `imagemagick-types-inhibit' to t now disables the use of | |
87eb79c2 GM |
122 | ImageMagick to view images. You must call imagemagick-register-types |
123 | afterwards if you do not use customize to change this. | |
c505aaeb | 124 | |
7afbaca4 | 125 | *** The new variable `imagemagick-enabled-types' also affects which |
60b5f187 GM |
126 | ImageMagick types are treated as images. The function |
127 | `imagemagick-filter-types' returns the list of types that will be | |
128 | treated as images. | |
32d72c2f | 129 | |
1b9b4cf4 CY |
130 | *** Images displayed via ImageMagick now support transparency and the |
131 | :background image spec property. | |
c505aaeb | 132 | |
9ce04965 GM |
133 | ** Internationalization changes |
134 | ||
32ac3a6b | 135 | *** New language environment: Persian. |
9ce04965 | 136 | |
db80bdc8 GM |
137 | ** Face underlining can now use a wave. |
138 | See the "Face Attributes" section of the Elisp manual. | |
139 | ||
2e2d2a13 LL |
140 | ** New fringe bitmap exclamation-mark. |
141 | ||
de6ff46d CY |
142 | ** String values for `initial-buffer-choice' also apply to emacsclient |
143 | frames, if emacsclient is only told to open a new frame without | |
144 | specifying any file to visit or expression to evaluate. | |
145 | ||
dc0f75c8 GM |
146 | +++ |
147 | ** You can prevent the creation of lock files by setting `create-lockfiles' | |
148 | to nil. Use with caution, and only if you really need to. | |
149 | ||
b8a82b69 | 150 | +++ |
03794570 | 151 | ** Using "unibyte: t" in Lisp source files is obsolete. |
57699e37 | 152 | Use "coding: raw-text" instead. |
03794570 | 153 | |
383f7350 CY |
154 | ** Mode line changes |
155 | ||
156 | *** New option `mode-line-default-help-echo' specifies the help text | |
157 | (shown in a tooltip or in the echo area) for any part of the mode line | |
158 | that does not have its own specialized help text. | |
159 | ||
cbe46e5f CY |
160 | *** You can now click mouse-3 in the coding system indicator to |
161 | invokes `set-buffer-file-coding-system'. | |
162 | ||
21ffb35a MA |
163 | +++ |
164 | ** Setting `enable-remote-dir-locals' to non-nil allows directory | |
165 | local variables on remote hosts. | |
166 | ||
9ea10cc3 | 167 | +++ |
ddfc8813 RK |
168 | ** `insert-char' is now a command, and `ucs-insert' an obsolete alias |
169 | for it. | |
170 | ||
f85f636a CY |
171 | ** The entry for PCL-CVS has been removed from the Tools menu. |
172 | The PCL-CVS commands are still available via the keyboard. | |
173 | ||
a1ed8b05 | 174 | \f |
2a1e2476 | 175 | * Editing Changes in Emacs 24.3 |
c25df26e | 176 | |
b1183529 | 177 | ** The `z' key no longer has a binding in most special modes. |
a828f05f CY |
178 | It used to be bound to `kill-this-buffer', but `z' is too easy to |
179 | accidentally type. | |
b1183529 | 180 | |
2170b1bd CY |
181 | ** New option `yank-handled-properties' allows processing of text |
182 | properties on yanked text, in more ways that are more general than | |
183 | just removing them, as done by `yank-excluded-properties'. | |
184 | ||
a5c66610 JB |
185 | ** New option `delete-trailing-lines' specifies whether the M-x |
186 | delete-trailing-whitespace command should delete trailing lines at the | |
345a2258 CY |
187 | end of the buffer. It defaults to t. |
188 | ||
0979429b J |
189 | +++ |
190 | ** `C-x r +' is now overloaded to invoke `append-to-register. | |
bfabf70a | 191 | |
0979429b | 192 | +++ |
bfabf70a AS |
193 | ** New option `register-separator' specifies the register containing |
194 | the text to put between collected texts for use with M-x | |
195 | append-to-register and M-x prepend-to-register. | |
0979429b | 196 | |
b9cb2387 JL |
197 | ** Search changes |
198 | ||
199 | *** Global `M-s _' starts a symbol (identifier) incremental search, | |
200 | and `M-s _' in Isearch toggles symbol search mode. | |
201 | `M-s c' in Isearch toggles search case-sensitivity. | |
202 | ||
63dd1c6f JL |
203 | *** `M-s SPC' in Isearch toggles whitespace matching mode |
204 | in both ordinary and regexp incremental search, so that each | |
205 | sequence of spaces in the search string matches any combination | |
206 | of one or more whitespace characters defined by the variable | |
207 | `search-whitespace-regexp'. In ordinary incremental search, | |
208 | `isearch-toggle-lax-whitespace' toggles the value of the variable | |
209 | `isearch-lax-whitespace'. In regexp incremental search, it toggles | |
210 | the value of the variable `isearch-regexp-lax-whitespace'. | |
dd7ffad6 | 211 | |
826b3235 JL |
212 | ** query-replace changes |
213 | ||
214 | *** When new option `replace-lax-whitespace' is non-nil, | |
215 | and you enter a space or spaces in the strings or regexps | |
216 | to be replaced, `query-replace' will match any sequence matched | |
217 | by the regexp `search-whitespace-regexp'. | |
218 | ||
c25df26e RT |
219 | ** M-x move-to-column, if called interactively with no prefix arg, now |
220 | prompts for a column number. | |
221 | ||
0f84437b TV |
222 | ** `mouse-avoidance-banish-position' can now be used to customize |
223 | `mouse-avoidance-mode' further. | |
224 | ||
e1293765 | 225 | ** `C-u M-=' now counts lines/words/characters in the entire buffer. |
0fe776a1 | 226 | |
09b95ce3 MY |
227 | ** `C-M-f' and `C-M-b' will now move to the path name separator |
228 | character when doing minibuffer filename prompts. | |
229 | ||
5dd1713e CY |
230 | ** `goto-char' is now bound to `M-g c'. |
231 | ||
be755c79 RT |
232 | ** New command `C-x r M-w' (copy-rectangle-as-kill). |
233 | It copies the region-rectangle as the last rectangle kill. | |
234 | ||
6b79ce7e NTND |
235 | ** New input method `vietnamese-vni'. |
236 | ||
a1ed8b05 | 237 | \f |
2a1e2476 | 238 | * Changes in Specialized Modes and Packages in Emacs 24.3 |
b2459884 | 239 | |
f0019ede MB |
240 | ** Compilation has a new `compilation-always-kill' configuration variable. |
241 | ||
ae4969c2 JD |
242 | ** Term changes |
243 | ||
244 | The variables `term-default-fg-color' and `term-default-bg-color' are | |
245 | now deprecated in favor of the `term-face' face, that you can | |
e3ac1281 PE |
246 | customize. Also, it is now possible to customize how are displayed the |
247 | ANSI terminal colors and styles by customizing the corresponding | |
ae4969c2 JD |
248 | `term-color-<COLOR>', `term-color-underline' and `term-color-bold' |
249 | faces. | |
250 | ||
89660017 SM |
251 | ** CL |
252 | *** CL's main entry is now (require 'cl-lib). | |
7c1898a7 | 253 | `cl-lib' is like the old `cl' except that it uses the namespace cleanly, |
89660017 SM |
254 | i.e. all its definitions have the "cl-" prefix (and internal definitions use |
255 | the "cl--" prefix). | |
7c1898a7 SM |
256 | |
257 | If `cl' provided a feature under the name `foo', then `cl-lib' provides it | |
258 | under the name `cl-foo' instead, with the exceptions of the few definitions | |
259 | that had to use `foo*' to avoid conflicts with pre-existing Elisp entities, | |
260 | which have not been renamed to `cl-foo*' but just `cl-foo'. | |
261 | ||
89660017 | 262 | The old `cl' is now deprecated and is just a bunch of aliases that |
7c1898a7 SM |
263 | provide the old non-prefixed names. |
264 | ||
89660017 SM |
265 | *** `cl-flet' is not like `flet' (which is deprecated). |
266 | Instead it obeys the behavior of Common-Lisp's `flet'. | |
267 | ||
268 | *** `cl-labels' is slightly different from `labels'. | |
269 | The difference is that it relies on the `lexical-binding' machinery (as opposed | |
270 | to the `lexical-let' machinery used previously) to capture definitions in | |
271 | closures, so such closures will only work if `lexical-binding' is in use. | |
272 | ||
273 | *** `progv' was rewritten to use the `let' machinery. | |
274 | A side effect is that vars without corresponding value are bound to nil | |
275 | rather than making them unbound. | |
276 | ||
e76f0800 CY |
277 | ** Desktop |
278 | ||
279 | *** `desktop-path' no longer includes the "." directory. Desktop | |
280 | files are now located in ~/.emacs.d by default. | |
281 | ||
358c19d9 GM |
282 | ** Python mode |
283 | ||
284 | A new version of python.el, which provides several new features, including: | |
40d8bcb8 GM |
285 | per-buffer shells, better indentation, Python 3 support, and improved |
286 | shell-interaction compatible with iPython (and virtually any other | |
287 | text based shell). | |
288 | ||
289 | *** Some user options have been replaced/renamed: | |
290 | Old defcustom: | New defcustom: | |
291 | python-indent | python-indent-offset | |
292 | python-guess-indent | python-indent-guess-indent-offset | |
293 | python-pdbtrack-do-tracking-p | python-pdbtrack-activate | |
294 | python-use-skeletons | python-skeleton-autoinsert | |
295 | ||
296 | *** Some user options have been removed: | |
297 | ||
298 | **** `python-indent-string-contents': Strings are never indented. | |
299 | ||
300 | **** `python-honour-comment-indentation': | |
301 | Comments are never considered as indentation markers themselves. | |
302 | ||
303 | **** `python-continuation-offset': Indentation is automatically | |
304 | calculated in a pep8 compliant way depending on the context. | |
305 | ||
306 | **** `python-shell-prompt-alist', `python-shell-continuation-prompt-alist': | |
307 | Have no direct mapping as the shell interaction is completely different. | |
308 | ||
309 | **** `python-python-command', `python-jython-command': | |
310 | Replaced by `python-shell-interpreter'. | |
311 | ||
312 | **** `inferior-python-filter-regexp', `python-remove-cwd-from-path', | |
313 | `python-pdbtrack-minor-mode-string', `python-source-modes': | |
314 | No longer relevant. | |
315 | ||
316 | *** Some commands have been replaced: | |
317 | Old command | New command | |
318 | python-insert-class | python-skeleton-class | |
319 | python-insert-def | python-skeleton-def | |
320 | python-insert-for | python-skeleton-for | |
321 | python-insert-if | python-skeleton-if | |
322 | python-insert-try/except | python-skeleton-try | |
323 | python-insert-try/finally | python-skeleton-try | |
324 | python-insert-while | python-skeleton-while | |
325 | python-find-function | python-nav-jump-to-defun | |
326 | python-next-statement | python-nav-forward-sentence | |
327 | python-previous-statement | python-nav-backward-sentence | |
328 | python-send-buffer | python-shell-send-buffer | |
329 | python-send-defun | python-shell-send-defun | |
330 | python-send-region | python-shell-send-region | |
331 | python-send-region-and-go | Emulate with python-shell-send-region and | |
332 | python-shell-switch-to-shell | |
333 | python-send-string | python-shell-send-string | |
334 | python-switch-to-python | python-shell-switch-to-shell | |
335 | python-describe-symbol | python-eldoc-at-point | |
336 | ||
358c19d9 GM |
337 | ** VHDL mode |
338 | ||
339 | *** The free software compiler GHDL is supported (and now the default). | |
340 | ||
341 | *** Support for the VHDL-AMS packages has been added/updated. | |
342 | ||
343 | *** Updated to the 2002 revision of the VHDL standard. | |
344 | ||
345 | *** Accepts \r and \f as whitespace. | |
fda91268 | 346 | |
04e082b0 MM |
347 | ** SQL Mode |
348 | ||
349 | *** DB2 added `sql-db2-escape-newlines' | |
350 | ||
351 | If non-nil, newlines sent to the command interpreter will be escaped | |
352 | by a backslash. The default does not escape the newlines and assumes | |
353 | that the sql statement will be terminated by a semicolon. | |
354 | ||
bc1b21bb JL |
355 | ** Diff mode |
356 | ||
357 | Faces for changes now use the same diff color scheme as in modern VCSes | |
358 | where deletions are displayed in red (new faces `diff-refine-removed' | |
359 | and `smerge-refined-removed' and new definition of `diff-removed'), | |
360 | insertions in green (new faces `diff-refine-added' and | |
361 | `smerge-refined-added' and new definition of `diff-added'). | |
362 | The variable `diff-use-changed-face' defines whether to use | |
363 | the face `diff-changed', or `diff-removed' and `diff-added' | |
364 | to highlight changes in context diffs. | |
365 | ||
cdff2ce7 DN |
366 | *** The new command `diff-remove-trailing-whitespace' fixes trailing |
367 | whitespace problems introduced by the diff. | |
368 | ||
6dafa0d5 JL |
369 | ** Ediff now uses the same color scheme as Diff mode |
370 | on high color displays. | |
371 | ||
2e2d2a13 LL |
372 | ** Flymake uses fringe bitmaps to indicate errors and warnings. |
373 | See flymake-fringe-indicator-position, flymake-error-bitmap and | |
374 | flymake-warning-bitmap. | |
375 | ||
ff46c759 SM |
376 | ** `sh-script' |
377 | *** Pairing of parens/quotes uses electric-pair-mode instead of skeleton-pair. | |
378 | *** `sh-electric-here-document-mode' now controls auto-insertion of here-docs. | |
379 | *** `sh-use-smie' lets you choose a new indentation and navigation code. | |
380 | ||
d13c8be6 SM |
381 | ** reStructuredText mode |
382 | ||
6d3f7c2f SM |
383 | *** Rebind nearly all keys making room for more keys and complying |
384 | better to usage in other modes. Describe bindings with C-c C-h. | |
d13c8be6 | 385 | |
6d3f7c2f SM |
386 | *** Major revision of indentation working very similar to other |
387 | modes. TAB is your friend. | |
d13c8be6 | 388 | |
6d3f7c2f SM |
389 | *** Major revision of filling working fine with most of |
390 | reStructuredText syntax. Support auto-filling. | |
d13c8be6 SM |
391 | |
392 | *** Major revision of comment handling. | |
393 | ||
6d3f7c2f | 394 | *** Major revision of fontification working with `jit-lock-mode'. |
d13c8be6 | 395 | |
6d3f7c2f SM |
396 | *** Cover reStructuredText syntax more closely. Improve |
397 | the experience for Sphinx users. | |
d13c8be6 | 398 | |
6d3f7c2f | 399 | *** `rst-insert-list' inserts new list or continues existing lists. |
d13c8be6 | 400 | |
6d3f7c2f | 401 | *** Extend correct and improve customization. |
d13c8be6 SM |
402 | |
403 | *** Negative prefix argument always works for `rst-adjust'. | |
404 | ||
6d3f7c2f | 405 | *** Reset window configuration after displaying TOC. |
d13c8be6 | 406 | |
6d3f7c2f | 407 | *** Package version in `rst-version'. |
d13c8be6 | 408 | |
d81bd059 SM |
409 | ** New `derived-mode' filter for Ibuffer, bound to `/ M'. |
410 | `/ m' is now bound to filter by used-mode, which used to be bound to `/ M'. | |
c4cf6d91 | 411 | |
46c71e23 CY |
412 | ** Apropos |
413 | ||
414 | *** The faces used by Apropos are now directly customizable. | |
415 | These faces are named `apropos-symbol', `apropos-keybinding', and so on; | |
416 | see the `apropos' Custom group for details. | |
417 | ||
418 | **** The old options whose values specified faces to use were removed | |
419 | (i.e. `apropos-symbol-face', `apropos-keybinding-face', etc.). | |
420 | ||
8b0823d6 CY |
421 | ** Buffer Menu |
422 | This package has been rewritten to use Tabulated List mode. | |
423 | ||
424 | *** Option `Buffer-menu-buffer+size-width' is now obsolete. | |
425 | Use `Buffer-menu-name-width' and `Buffer-menu-size-width' instead. | |
426 | ||
48176e8b GM |
427 | ** Calendar |
428 | ||
03794570 GM |
429 | *** The calendars produced by cal-html include holidays. |
430 | Customize cal-html-holidays to change this. | |
48176e8b | 431 | |
cf20dee0 CY |
432 | ** Customize |
433 | ||
434 | *** `custom-reset-button-menu' now defaults to t. | |
ab036cd7 | 435 | |
775c916b CY |
436 | *** Non-option variables are never matched in `customize-apropos' and |
437 | `customize-apropos-options' (i.e. the prefix argument does nothing for | |
438 | these commands now). | |
439 | ||
b2459884 | 440 | ** erc will look up server/channel names via auth-source and use the |
29734c21 | 441 | channel keys found, if any. |
b2459884 | 442 | |
6dafa0d5 JL |
443 | ** Dired |
444 | ||
445 | *** `dired-do-async-shell-command' executes each file sequentially | |
446 | if the command ends in `;' (when operating on multiple files). | |
494913d6 | 447 | Otherwise, it executes the command on each file in parallel. |
6dafa0d5 | 448 | |
35d98877 CY |
449 | *** The minibuffer default for `=' (`dired-diff) has changed. |
450 | It is now the backup file for the file at point, if one exists, rather | |
451 | than the file at the mark. | |
452 | ||
453 | *** `M-=' is no longer bound to `dired-backup-diff' in Dired buffers. | |
454 | The global binding for `M-=', `count-words-region' is in effect. | |
455 | ||
17711ed9 JL |
456 | ** Shell |
457 | ||
458 | *** New option `async-shell-command-buffer' specifies what buffer to use | |
459 | for a new asynchronous shell command when the default output buffer | |
460 | `*Async Shell Command*' is already taken by another running command. | |
461 | ||
9f9aa044 CY |
462 | ** FFAP |
463 | ||
464 | *** The option `ffap-url-unwrap-remote' can now be a list of strings, | |
465 | specifying URL types which should be converted to remote file names at | |
466 | the FFAP prompt. The default is now '("ftp"). | |
467 | ||
782fbf2a CY |
468 | ** Follow mode |
469 | ||
470 | *** The obsolete variable `follow-mode-off-hook' has been removed. | |
471 | ||
472 | *** Follow mode no longer works by using advice. | |
473 | The option `follow-intercept-processes' has been removed. | |
474 | ||
29734c21 MN |
475 | ** The `server-auth-key' variable can be used to set a permanent |
476 | shared key for Emacs Server. | |
fc72b15c PO |
477 | |
478 | ** In Perl mode, new option `perl-indent-parens-as-block' causes non-block | |
479 | closing brackets to be aligned with the line of the opening bracket. | |
480 | ||
25a9a140 GM |
481 | ** FIXME something happened to ses.el, 2012-04-17. |
482 | ||
cf20dee0 CY |
483 | ** which-function-mode now applies to all applicable major modes by default. |
484 | ||
05ecb497 MA |
485 | ** Tramp |
486 | ||
487 | +++ | |
488 | *** The syntax has been extended in order to allow ad-hoc proxy | |
489 | definitions. See the manual for details. | |
490 | ||
491 | +++ | |
492 | *** Remote processes are now supported also on remote Windows host. | |
493 | ||
dcbf5805 MA |
494 | ** D-Bus |
495 | ||
496 | +++ | |
497 | *** New variables `dbus-compiled-version' and `dbus-runtime-version'. | |
498 | ||
499 | +++ | |
500 | *** The D-Bus object manager interface is implemented. | |
501 | ||
502 | +++ | |
503 | *** Variables of type :(u)int32 and :(u)int64 accept floating points, | |
504 | if their value does not fit into Emacs's integer range. | |
505 | ||
506 | +++ | |
507 | *** The function `dbus-call-method' works non-blocking now, it can be | |
508 | interrupted by C-g. `dbus-call-method-non-blocking' is obsolete. | |
509 | ||
510 | +++ | |
511 | *** Signals can be sent also as unicast message. | |
512 | ||
513 | +++ | |
514 | *** The argument list of `dbus-register-signal' has been extended, | |
515 | according to the new match rule types of D-Bus. See the manual for | |
516 | details. | |
517 | ||
518 | +++ | |
519 | *** `dbus-init-bus' supports private connections. | |
520 | ||
521 | +++ | |
522 | *** There is a new function `dbus-setenv'. | |
523 | ||
0268cf45 MA |
524 | +++ |
525 | ** notifications.el supports now version 1.2 of the Notifications API. | |
526 | The function `notifications-get-capabilities' returns the supported | |
527 | server properties. | |
528 | ||
60057926 CY |
529 | ** Package Menu |
530 | ||
531 | *** Newly-available packages are listed in the Package Menu as "new", | |
532 | and sorted above the other "available" packages by default. | |
533 | ||
6632d361 CY |
534 | ** Tabulated List and packages derived from it |
535 | ||
e5f9458f | 536 | *** New command `tabulated-list-sort', bound to `S', sorts the column |
6632d361 CY |
537 | at point, or the Nth column if a numeric prefix argument is given. |
538 | ||
ce7b18ec CY |
539 | ** URL |
540 | ||
541 | *** Structs made by `url-generic-parse-url' have nil `attributes' slot. | |
542 | Previously, this slot stored semicolon-separated attribute-value pairs | |
543 | appended to some imap URLs, but this is not compatible with RFC 3986. | |
544 | So now the `filename' slot stores the entire path and query components | |
545 | and the `attributes' slot is always nil. | |
546 | ||
547 | *** New function `url-encode-url' for encoding a URI string. | |
548 | The `url-retrieve' function now uses this to encode its URL argument, | |
549 | in case that is not properly encoded. | |
550 | ||
82f289a4 GM |
551 | ** Obsolete packages: |
552 | ||
797e6e88 SM |
553 | *** assoc.el |
554 | In most cases, assoc+member+push+delq work just as well. | |
555 | And in any case it's just a terrible package: ugly semantics, terrible | |
556 | inefficiency, and not namespace-clean. | |
557 | ||
3c74813a GM |
558 | *** bruce.el |
559 | ||
daed4003 GM |
560 | *** ledit.el |
561 | ||
82f289a4 | 562 | *** mailpost.el |
d57de7fe CY |
563 | |
564 | *** mouse-sel.el | |
565 | ||
3c74813a GM |
566 | *** patcomp.el |
567 | ||
d32926ff SM |
568 | *** cust-print.el |
569 | ||
a1ed8b05 | 570 | \f |
2a1e2476 | 571 | * New Modes and Packages in Emacs 24.3 |
a1ed8b05 | 572 | \f |
2a1e2476 | 573 | * Incompatible Lisp Changes in Emacs 24.3 |
b4d3bc10 | 574 | |
0e23ef9d PE |
575 | ** (random) by default now returns a different random sequence in |
576 | every Emacs run. Use (random S), where S is a string, to set the | |
577 | random seed to a value based on S, in order to get a repeatable | |
578 | sequence in later calls. | |
579 | ||
f2045622 CY |
580 | ** The function `x-select-font' can return a font spec, instead of a |
581 | font name as a string. Whether it returns a font spec or a font name | |
582 | depends on the graphical library. | |
583 | ||
d32e47af LM |
584 | ** If the NEWTEXT arg to `replace-match' contains a substring "\?", |
585 | that substring is inserted literally even if the LITERAL arg is | |
586 | non-nil, instead of causing an error to be signaled. | |
587 | ||
b4d3bc10 CY |
588 | +++ |
589 | ** Docstrings starting with `*' no longer indicate user options. | |
590 | Only variables defined using `defcustom' are considered user options. | |
591 | The function `user-variable-p' is now an obsolete alias for | |
592 | `custom-variable-p'. | |
593 | ||
bbf908bc LM |
594 | +++ |
595 | ** The return values of `defalias', `defun' and `defmacro' have changed, | |
596 | and are now undefined. For backwards compatibility, defun and | |
597 | defmacro currently return the name of the newly defined function/macro | |
598 | but this should not be relied upon. | |
599 | ||
eeddc531 CY |
600 | ** `face-spec-set' no longer sets frame-specific attributes when the |
601 | third argument is a frame (that usage was obsolete since Emacs 22.2). | |
602 | ||
a59d531e MA |
603 | +++ |
604 | ** The arguments of `dbus-register-signal' are no longer just strings, | |
605 | but keywords or keyword-string pairs. The old argument list will | |
606 | still be supported for Emacs 24.x. | |
607 | ||
72b255c7 PE |
608 | ** Spelling changes. |
609 | Some Lisp symbols have been renamed to avoid problems with spelling | |
610 | that is incorrect or inconsistent with how Emacs normally spells a word. | |
611 | ||
612 | *** Renamed functions | |
613 | ||
614 | **** hangul-input-method-inactivate -> hangul-input-method-deactivate | |
615 | **** inactivate-input-method -> deactivate-input-method | |
616 | **** quail-inactivate -> quail-deactivate | |
617 | **** robin-inactivate -> robin-deactivate | |
618 | **** viper-inactivate-input-method -> viper-deactivate-input-method | |
619 | **** viper-inactivate-input-method-action -> | |
620 | viper-deactivate-input-method-action | |
621 | **** ucs-input-inactivate -> ucs-input-deactivate | |
622 | ||
623 | *** Renamed hooks | |
624 | The old hooks are still supported for backward compatibility, but they | |
625 | are deprecated and will be removed eventually. | |
626 | ||
627 | **** input-method-inactivate-hook -> input-method-deactivate-hook | |
628 | **** robin-inactivate-hook -> robin-deactivate-hook | |
629 | **** quail-inactivate-hook -> quail-deactivate-hook | |
630 | ||
631 | *** Renamed Lisp variables | |
632 | ||
633 | **** follow-deactive-menu -> follow-inactive-menu | |
634 | **** inactivate-current-input-method-function -> | |
635 | deactivate-current-input-method-function | |
636 | ||
78f3273a CY |
637 | ** The following obsolete variables and varaliases have been removed: |
638 | ||
639 | *** `facemenu-unlisted-faces' | |
640 | *** `rmail-decode-mime-charset' | |
d7d9a499 | 641 | *** `last-input-char' and `last-command-char' |
78f3273a | 642 | |
a1ed8b05 | 643 | \f |
2a1e2476 | 644 | * Lisp changes in Emacs 24.3 |
ef24141c | 645 | |
972debf2 SM |
646 | ** Interpreted files get eagerly macro-expanded during load. |
647 | This can significantly speed up execution of non-byte-compiled code, but can | |
648 | also bump into harmless and previously unnoticed cyclic dependencies. | |
649 | These should not be fatal: they will simply cause the macro-calls to be left | |
650 | for later expansion (as before), but will also result in a warning describing | |
651 | the cycle. | |
652 | ||
35e62fc9 SM |
653 | ** New minor mode `read-only-mode' to replace toggle-read-only (now obsolete). |
654 | ||
7abaf5cc SM |
655 | ** New functions `autoloadp' and `autoload-do-load'. |
656 | ||
e1894109 SM |
657 | ** New function `posnp' to test if an object is a `posn'. |
658 | ||
7abaf5cc SM |
659 | ** `function-get' fetches the property of a function, following aliases. |
660 | ||
b68b3337 CY |
661 | ** `toggle-read-only' accepts a second argument specifying whether to |
662 | print a message, if called from Lisp. | |
663 | ||
2ee3d7f0 SM |
664 | ** CL-style generalized variables are now in core Elisp. |
665 | `setf' is autoloaded and `push' and `pop' accept generalized variables. | |
666 | ||
500fcedc SM |
667 | ** `defun' also accepts a (declare DECLS) form, like `defmacro'. |
668 | The interpretation of the DECLS is determined by `defun-declarations-alist'. | |
669 | ||
670 | ** `macro-declaration-function' is obsolete, use `macro-declarations-alist'. | |
671 | ||
f95e9344 SM |
672 | ** New function `set-temporary-overlay-map'. |
673 | ||
674 | ** New macros `setq-local' and `defvar-local'. | |
675 | ||
71873e2b | 676 | ** New error type and new function `user-error'. Doesn't trigger the debugger. |
f95e9344 | 677 | |
fa2bcf43 MR |
678 | ** New option `debugger-bury-or-kill'. |
679 | ||
e5c2edf7 CY |
680 | +++ |
681 | ** New utility function `buffer-narrowed-p'. | |
682 | ||
90749b53 CY |
683 | ** Window changes |
684 | ||
685 | *** The functions get-lru-window, get-mru-window and get-largest-window | |
48d1354e | 686 | now accept a third argument to avoid choosing the selected window. |
51a5f9d8 | 687 | |
fa2bcf43 MR |
688 | *** New macro `with-temp-buffer-window'. |
689 | ||
690 | *** New option `temp-buffer-resize-frames'. | |
c5e28e39 | 691 | |
fa2bcf43 MR |
692 | *** New function `fit-frame-to-buffer' and new option |
693 | `fit-frame-to-buffer-bottom-margin'. | |
ef654460 | 694 | |
fa2bcf43 MR |
695 | *** New display action functions `display-buffer-below-selected' and |
696 | `display-buffer-in-previous-window'. | |
ef654460 | 697 | |
fa2bcf43 MR |
698 | *** New display action alist entry `inhibit-switch-frame', if non-nil, |
699 | tells display action functions to avoid changing which frame is | |
700 | selected. | |
c5e28e39 | 701 | |
fa2bcf43 MR |
702 | *** New display action alist entry `pop-up-frame-parameters', if |
703 | non-nil, specifies frame parameters to give any newly-created frame. | |
90749b53 | 704 | |
fa2bcf43 MR |
705 | *** New display action alist entry `previous-window', if non-nil, |
706 | specifies window to reuse in `display-buffer-in-previous-window'. | |
d97af5a0 | 707 | |
77f1f99c CY |
708 | *** The following variables are obsolete, as they can be replaced by |
709 | appropriate entries in the `display-buffer-alist' function introduced | |
710 | in Emacs 24.1: | |
14ba4cf3 | 711 | +++ |
77f1f99c CY |
712 | **** `display-buffer-reuse-frames' |
713 | **** `special-display-regexps' | |
714 | **** `special-display-frame-alist' | |
715 | **** `special-display-buffer-names' | |
716 | **** `special-display-function' | |
717 | ||
ef24141c SM |
718 | ** Completion |
719 | ||
720 | *** New function `completion-table-with-quoting' to handle completion | |
721 | in the presence of quoting, such as file completion in shell buffers. | |
722 | ||
723 | *** New function `completion-table-subvert' to use an existing completion | |
724 | table, but with a different prefix. | |
ab0fa4e4 PE |
725 | |
726 | ** Time | |
727 | ||
728 | *** `current-time-string' no longer requires that its argument's year | |
729 | must be in the range 1000..9999. It now works with any year supported | |
730 | by the underlying C implementation. | |
8a61ee22 | 731 | |
c990426a PE |
732 | ** Floating point |
733 | ||
734 | *** When floating point functions such as `log' are given invalid | |
735 | arguments, e.g., (log -1.0), they now uniformly return special values | |
736 | such as NaNs instead of signaling errors. Previously, these functions | |
737 | returned NaNs on some platforms but signaled errors on others. The affected | |
738 | functions are acos, asin, tan, exp, expt, log, log10, sqrt, and mod. | |
739 | ||
0d14cc21 GM |
740 | ** New function file-name-base. |
741 | ||
86aa551c EZ |
742 | ** New function `tty-top-frame' returns the topmost frame of a text terminal. |
743 | ||
8a61ee22 | 744 | ** `automount-dir-prefix' is obsolete. |
43416392 | 745 | ** `buffer-has-markers-at' is obsolete. |
3424a4f6 | 746 | ** `window-system-version' is obsolete. |
adce950d | 747 | \f |
2a1e2476 | 748 | * Changes in Emacs 24.3 on non-free operating systems |
9078ead6 EZ |
749 | |
750 | ** New configure.bat options on MS-Windows: | |
751 | ||
752 | *** --without-libxml2 omits support for libxml2, even if its presence | |
753 | is detected. | |
754 | ||
53a63be6 EZ |
755 | ** When invoked with the -nw switch to run on the Windows text-mode terminal, |
756 | Emacs now supports mouse highlight, help-echo (in the echo area), and | |
757 | mouse-autoselect-window. | |
758 | ||
6dad7178 | 759 | ** On MS-Windows Vista and later Emacs now supports symbolic links. |
2a1e2476 GM |
760 | \f |
761 | * Changes in Emacs 24.2 | |
762 | ||
5190da91 | 763 | ** This is mainly a bug-fix release. |
6dad7178 | 764 | |
9078ead6 | 765 | \f |
eb199145 | 766 | * Installation Changes in Emacs 24.1 |
09e18d03 | 767 | |
31fd3586 GM |
768 | ** Emacs can be compiled with Gtk+ 3.0 if you pass --with-x-toolkit=gtk3 |
769 | to configure. Note that other libraries used by Emacs, RSVG and GConf, | |
770 | also depend on Gtk+. You can disable them with --without-rsvg and | |
771 | --without-gconf. | |
338648ad | 772 | |
31fd3586 GM |
773 | ** Emacs can be compiled with GnuTLS support. |
774 | This happens by default if a suitably recent version of the library is | |
775 | found at build time. To prevent this, use the configure option | |
776 | `--without-gnutls'. See below for GnuTLS features. | |
338648ad | 777 | |
31fd3586 GM |
778 | ** Emacs can be compiled with SELinux support. |
779 | This happens by default if a suitably recent version of the library is | |
780 | found at build time. To prevent this, use the configure option | |
781 | `--without-selinux'. See below for SELinux features. | |
aded53ff | 782 | |
31fd3586 GM |
783 | ** Emacs can be compiled with ImageMagick support. |
784 | This happens by default if a suitably recent version of the library is | |
785 | found at build time. To prevent this, use the configure option | |
786 | `--without-imagemagick'. See below for ImageMagick features. | |
c1f10868 | 787 | This feature is not available for the Nextstep or MS ports. |
d9170db5 | 788 | |
043efd56 GM |
789 | ** Emacs can be compiled with libxml2 support. |
790 | This happens by default if a suitably recent version of the library is | |
791 | found at build time. To prevent this, use the configure option | |
792 | `--without-xml2'. See below for libxml2 features. | |
793 | ||
7d301ae6 CY |
794 | ** By default, the installed Info and man pages are compressed. |
795 | You can disable this by configuring --without-compress-info. | |
796 | ||
7d301ae6 | 797 | ** New configure option --with-wide-int. |
81eafe29 | 798 | With it, Emacs integers typically have 62 bits, even on 32-bit machines. |
0a768890 PE |
799 | On 32-bit hosts, this raises the limit on buffer sizes from about 512 MiB |
800 | to about 2 GiB. | |
81eafe29 | 801 | |
7d301ae6 | 802 | ** New configure options: --with-mmdf, --with-mail-unlink, --with-mailhost. |
31fd3586 GM |
803 | These provide no new functionality, they just remove the need to edit |
804 | lib-src/Makefile by hand in order to use the associated features. | |
805 | ||
7d301ae6 | 806 | ** New configure option --enable-use-lisp-union-type. |
31fd3586 GM |
807 | This is only useful for Emacs developers to debug certain types of bugs. |
808 | This is not a new feature; only the configure flag is new. | |
041d709f CY |
809 | |
810 | ** The standalone programs digest-doc and sorted-doc are removed. | |
811 | Emacs now uses Lisp commands `doc-file-to-man' and `doc-file-to-info'. | |
812 | ||
041d709f CY |
813 | ** The standalone program `fakemail' is removed. |
814 | If you need it, feedmail.el provides a superset of the functionality. | |
815 | ||
0bfd685e | 816 | \f |
eb199145 | 817 | * Startup Changes in Emacs 24.1 |
4a263588 | 818 | |
198a7a97 | 819 | ** The --unibyte, --multibyte, --no-multibyte, and --no-unibyte |
adbf62ff GM |
820 | command line arguments, and the EMACS_UNIBYTE environment variable, no |
821 | longer have any effect. (They were declared obsolete in Emacs 23.) | |
198a7a97 | 822 | |
66b7b0fe | 823 | ** New command line option `--no-site-lisp' removes site-lisp directories |
1b5e5b0c GM |
824 | from load-path. -Q now implies this. This option does not affect the |
825 | EMACSLOADPATH environment variable (and hence has no effect for | |
c8d59ba3 | 826 | Nextstep builds). |
66b7b0fe | 827 | |
0bfd685e | 828 | \f |
eb199145 | 829 | * Changes in Emacs 24.1 |
7841339b | 830 | |
a2a25d24 | 831 | ** Completion |
fdeb32ec | 832 | |
dfdb4cad CY |
833 | *** Many packages now use the `completion-at-point' command, |
834 | rather than implementing separate completion commands. | |
835 | ||
de0bde62 | 836 | *** `completion-at-point' now handles tags and semantic completion. |
dfdb4cad | 837 | |
a2a25d24 SM |
838 | *** Completion in a non-minibuffer now tries to detect the end of completion |
839 | and pops down the *Completions* buffer accordingly. | |
dfdb4cad CY |
840 | |
841 | *** New option `completion-cycle-threshold' allows completion cycling. | |
842 | ||
843 | *** New option `completion-category-overrides' for overriding the | |
2c719188 | 844 | default completion style in certain circumstances. |
dfdb4cad | 845 | |
a2a25d24 | 846 | *** New completion style `substring'. |
dfdb4cad CY |
847 | |
848 | *** Completion of buffer names uses `substring' completion by default. | |
849 | ||
850 | *** The option `widget-complete-field' has been removed. | |
620c53a6 | 851 | |
6870aaef | 852 | ** Mail changes |
dfdb4cad | 853 | |
7d301ae6 CY |
854 | *** The first time you try sending mail, Emacs asks for a mail method. |
855 | This is implemented by a new default for `send-mail-function', which | |
856 | is `sendmail-query-once'. This offers to use the smtpmail package, or | |
857 | to use the old defaults relying on external mail facilities | |
858 | (`sendmail-send-it' on GNU/Linux and other Unix-like systems, and | |
859 | `mailclient-send-it' on Windows). | |
dfdb4cad | 860 | |
7d301ae6 CY |
861 | *** Typing C-c m in the buffer made by M-x report-emacs-bug transfers |
862 | the report to your desktop's preferred mail client, if there is one. | |
863 | This uses either the "xdg-email" utility, or Mac OS's "open" command. | |
dfdb4cad | 864 | |
7d301ae6 CY |
865 | *** See Changes in Specialized Modes and Packages for SMTPmail changes |
866 | and Mail mode changes | |
3f88cd72 | 867 | |
041d709f | 868 | ** Emacs server and client changes |
dfdb4cad | 869 | |
7d301ae6 | 870 | *** New option `server-port' specifies the port for TCP Emacs servers. |
dfdb4cad | 871 | |
041d709f | 872 | *** New emacsclient argument -q/--quiet suppresses some status messages. |
dfdb4cad | 873 | |
7d301ae6 CY |
874 | *** New emacsclient argument --frame-parameters specifies the frame |
875 | parameters of any newly-created graphical frame. | |
dfdb4cad CY |
876 | |
877 | *** If emacsclient shuts down due to Emacs signaling an error, | |
878 | its exit status is 1. | |
879 | ||
041d709f CY |
880 | *** New emacsclient argument --parent-id ID. |
881 | This opens a client frame in parent X window ID, via XEmbed, similar | |
882 | to the --parent-id argument to Emacs. | |
883 | ||
d0ce9f8c MB |
884 | ** Internationalization changes |
885 | ||
d0ce9f8c | 886 | *** Emacs now supports display and editing of bidirectional text. |
7d301ae6 CY |
887 | Right-to-left (RTL) scripts, such as Arabic, Farsi, and Hebrew, are |
888 | displayed in the correct visual order as expected by users of those | |
dfdb4cad CY |
889 | scripts. The display reordering is a "full bidirectionality" class |
890 | implementation of the Unicode Bidirectional Algorithm (UBA). Buffers | |
891 | with no RTL text should look exactly the same as before. | |
f4b6ba46 | 892 | |
041d709f | 893 | **** New buffer-local variable `bidi-display-reordering'. |
7d301ae6 | 894 | To disable display reordering in a buffer, change this to nil. |
d20e1419 | 895 | |
041d709f CY |
896 | **** New buffer-local variable `bidi-paragraph-direction'. |
897 | If nil (the default), Emacs determines the base direction of each | |
dfdb4cad CY |
898 | paragraph from its text, as specified by the UBA. Setting the value |
899 | to `right-to-left' or `left-to-right' forces a base direction on each | |
900 | paragraph. | |
f4b6ba46 | 901 | |
7d301ae6 CY |
902 | Paragraphs with right-to-left base direction are displayed starting at |
903 | the right window edge. | |
f1816485 | 904 | |
dfdb4cad CY |
905 | *** Enhanced support for characters with no glyphs in available fonts, |
906 | or, on text terminals, characters that cannot be encoded by the | |
907 | terminal coding system. The new option `glyphless-char-display-control' | |
908 | specifies how to display them: as a hexadecimal code in a box, a thin | |
909 | 1-pixel space, an empty box, etc. | |
d0ce9f8c | 910 | |
9702b7a1 GM |
911 | *** New input methods for Farsi and Bulgarian |
912 | (farsi-isiri-9147, farsi-transliterate-banan, bulgarian-alt-phonetic). | |
041d709f | 913 | |
939db9ac CY |
914 | *** `nobreak-char-display' now also highlights Unicode hyphen chars |
915 | (U+2010 and U+2011). | |
916 | ||
7d301ae6 | 917 | *** New Hebrew translation of the Emacs Tutorial. |
31fd3586 GM |
918 | Type `C-u C-h t' to choose it in case your language setup doesn't |
919 | automatically select it. | |
920 | ||
7d301ae6 CY |
921 | ** An Emacs Lisp package manager is now included. |
922 | This is a convenient way to download and install additional packages, | |
923 | from a package repository at http://elpa.gnu.org. | |
dfdb4cad | 924 | |
7d301ae6 CY |
925 | *** M-x list-packages shows a list of packages, which can be |
926 | selected for installation. | |
dfdb4cad | 927 | |
7d301ae6 | 928 | *** New command `describe-package', bound to `C-h P'. |
dfdb4cad | 929 | |
7d301ae6 CY |
930 | *** By default, all installed packages are loaded automatically when |
931 | Emacs starts up. To disable this, set `package-enable-at-startup' to | |
932 | nil. To specify the packages to load, customize `package-load-list'. | |
16a91140 | 933 | |
dfdb4cad CY |
934 | ** Custom theme changes |
935 | ||
7d301ae6 CY |
936 | *** New command `M-x customize-themes', which provides a convenient |
937 | interface for enabling and disabling Custom themes. | |
dfdb4cad | 938 | |
7d301ae6 | 939 | *** New option `custom-theme-load-path' is the load path for themes. |
dfdb4cad CY |
940 | Emacs no longer looks for Custom themes in `load-path'. The default |
941 | value of `custom-theme-load-path' says to look for themes in | |
942 | `custom-theme-directory', followed by a subdirectory of | |
943 | `data-directory' named "themes/", which contains a small selection of | |
944 | built-in Custom themes. | |
945 | ||
7d301ae6 CY |
946 | *** New option `custom-safe-themes' records known-safe theme files. |
947 | If a theme is not in this list, Emacs queries before loading it, and | |
948 | offers to save the theme to `custom-safe-themes' automatically. By | |
949 | default, all themes included in Emacs are treated as safe. | |
b7d65a5f | 950 | |
7d301ae6 | 951 | ** Improved GTK integration |
dfdb4cad | 952 | |
7d301ae6 | 953 | *** GTK scroll-bars are now placed on the right by default. |
dfdb4cad CY |
954 | The function `set-scroll-bar-mode' can change this. |
955 | ||
7d301ae6 | 956 | *** GTK tool bars can have just text, just images or images and text. |
dfdb4cad CY |
957 | Customize `tool-bar-style' to choose the style. On a Gnome desktop, |
958 | the default is taken from desktop settings. | |
959 | ||
960 | *** GTK tool bars can be placed on any edge of the frame. | |
7d301ae6 CY |
961 | The frame-parameter tool-bar-position controls this. It takes the |
962 | values top, left, right or bottom. The Options => Show/Hide menu has | |
963 | entries for this. | |
dfdb4cad | 964 | |
7d301ae6 CY |
965 | *** The default colors for selected text (the `region' face) are taken |
966 | from the GTK theme when Emacs is built with GTK. | |
dfdb4cad | 967 | |
7d301ae6 CY |
968 | *** Emacs uses GTK tooltips by default if built with GTK. |
969 | You can disable this by changing `x-gtk-use-system-tooltips' to nil. | |
a5bee597 | 970 | |
dfdb4cad CY |
971 | ** Graphical interface changes |
972 | ||
973 | *** On graphical displays, the mode-line no longer ends in dashes. | |
974 | Also, the first dash (which does not indicate anything) is just | |
975 | displayed as a space. | |
976 | ||
977 | *** `menu-bar-select-buffer-function' lets you choose another operation | |
978 | instead of `switch-to-buffer' when selecting an item in the Buffers menu. | |
979 | ||
980 | *** Lucid menus and dialogs can display antialiased fonts if Emacs is | |
981 | built with Xft. These fonts can be set via X resources, for example: | |
982 | Emacs.pane.menubar.font: Courier-12 | |
983 | ||
7d301ae6 | 984 | ** Exiting changes |
dfdb4cad | 985 | |
7d301ae6 | 986 | *** Emacs now calls `kill-emacs' if it receives SIGTERM or SIGHUP, |
dfdb4cad CY |
987 | or if it receives a SIGINT signal in batch mode. |
988 | ||
7d301ae6 CY |
989 | *** `kill-emacs-hook' is now also run in batch mode. |
990 | Third-party code which adds to `kill-emacs-hook' should check if they | |
991 | do the right thing in batch mode. | |
9c524fcb | 992 | |
041d709f | 993 | ** Scrolling changes |
dfdb4cad | 994 | |
041d709f | 995 | *** New scrolling commands `scroll-up-command' and `scroll-down-command' |
0a19a6f8 | 996 | (bound to C-v/[next] and M-v/[prior]) do not signal errors at top/bottom |
7d301ae6 | 997 | of buffer at first key-press (instead they move to top/bottom of buffer) |
550f41cd | 998 | when `scroll-error-top-bottom' is non-nil. |
dfdb4cad CY |
999 | |
1000 | *** New option `scroll-error-top-bottom' (see above). | |
1001 | ||
041d709f | 1002 | *** New scrolling commands `scroll-up-line' and `scroll-down-line' |
5a97d2da | 1003 | scroll a line instead of full screen. |
dfdb4cad | 1004 | |
041d709f | 1005 | *** New property `scroll-command' should be set on a command's symbol to |
b2957ea8 | 1006 | define it as a scroll command affected by `scroll-preserve-screen-position'. |
dfdb4cad | 1007 | |
041d709f | 1008 | *** If you customize `scroll-conservatively' to a value greater than 100, |
d0f69533 EZ |
1009 | Emacs will never recenter point in the window when it scrolls due to |
1010 | cursor motion commands or commands that move point (e.f., `M-g M-g'). | |
1011 | Previously, you needed to use `most-positive-fixnum' as the value of | |
1012 | `scroll-conservatively' to achieve the same effect. | |
dfdb4cad | 1013 | |
7d301ae6 | 1014 | *** "Aggressive" scrolling now honors the scroll margins. |
d0f69533 EZ |
1015 | If you customize `scroll-up-aggressively' or |
1016 | `scroll-down-aggressively' and move point off the window, Emacs now | |
1017 | scrolls the window so as to avoid positioning point inside the scroll | |
1018 | margin. | |
1019 | ||
7d301ae6 CY |
1020 | ** Basic SELinux support has been added. |
1021 | This requires Emacs to be linked with libselinux at build time. | |
f1a5d776 | 1022 | |
dfdb4cad CY |
1023 | *** Emacs preserves the SELinux file context when backing up. |
1024 | Also, the function `copy-file' has an extra optional argument for | |
1025 | preserving SELinux context, and the return value of `backup-buffer' | |
1026 | now includes the SELinux context. | |
f0bf7c8e | 1027 | |
dfdb4cad | 1028 | *** New functions `file-selinux-context' and `set-file-selinux-context' |
7d301ae6 | 1029 | get and set the SELinux context of a file. |
44198b6e | 1030 | |
7d301ae6 | 1031 | ** Trash changes |
dfdb4cad | 1032 | |
7d301ae6 CY |
1033 | *** `delete-by-moving-to-trash' now only affects commands that specify |
1034 | trashing. This avoids inadvertently trashing temporary files. | |
dfdb4cad | 1035 | |
7d301ae6 CY |
1036 | *** Calling `delete-file' or `delete-directory' with a prefix argument |
1037 | now forces true deletion, regardless of `delete-by-moving-to-trash'. | |
278f6845 | 1038 | |
041d709f | 1039 | ** File- and directory-local variable changes |
dfdb4cad | 1040 | |
041d709f CY |
1041 | *** You can stop directory local vars from applying to subdirectories. |
1042 | Add an element (subdirs . nil) to the alist portion of any variables | |
1043 | settings to indicate that the section should not apply to | |
1044 | subdirectories. | |
dfdb4cad | 1045 | |
041d709f CY |
1046 | *** Directory local variables can apply to some file-less buffers. |
1047 | Affected modes include dired, vc-dir, and log-edit. For example, | |
1048 | adding "(diff-mode . ((mode . whitespace)))" to .dir-locals.el will | |
1049 | turn on `whitespace-mode' for *vc-diff* buffers. Modes should call | |
1050 | `hack-dir-local-variables-non-file-buffer' to support this. | |
dfdb4cad | 1051 | |
041d709f CY |
1052 | *** Using "mode: MINOR-MODE" to enable a minor mode is deprecated. |
1053 | Instead, use "eval: (minor-mode 1)". | |
c136e5cd | 1054 | |
7b447e9b GM |
1055 | *** The variable `inhibit-first-line-modes-regexps' has been renamed |
1056 | to `inhibit-local-variables-regexps'. As the name suggests, it now | |
dfdb4cad CY |
1057 | applies to ALL file local variables, not just -*- lines. The |
1058 | associated `inhibit-first-line-modes-suffixes' has been renamed in the | |
1059 | corresponding way. | |
5d907d6c | 1060 | |
0a2132ba CY |
1061 | ** Window changes |
1062 | ||
91b65361 CY |
1063 | *** The `quit-window' command now restores the last buffer displayed |
1064 | in the quitted window. | |
1065 | ||
0a2132ba CY |
1066 | *** Resizing an Emacs frame now preserves proportional window sizes, |
1067 | modulo restrictions like window minimum sizes and fixed-size windows. | |
1068 | ||
1069 | *** The behavior of `display-buffer' is now customizable in detail. | |
dfdb4cad | 1070 | |
0a2132ba CY |
1071 | **** New option `display-buffer-base-action' specifies a list of |
1072 | user-determined display "actions" (functions and optional arguments | |
1073 | for choosing the displaying window). | |
1074 | ||
1075 | This takes precedence over the default display action, which is | |
1076 | specified by `display-buffer-fallback-action'. | |
1077 | ||
1078 | **** New option `display-buffer-alist' maps buffer name regexps to | |
1079 | display actions, taking precedence over `display-buffer-base-action'. | |
1080 | ||
a0c2d0ae MR |
1081 | *** New option `window-combination-limit'. |
1082 | The new option `window-combination-limit' allows to return the space | |
1083 | obtained for resizing or creating a window more reliably to the window | |
1084 | from which such space was obtained. | |
0a2132ba | 1085 | |
a0c2d0ae MR |
1086 | *** New option `window-combination-resize'. |
1087 | The new option `window-combination-resize' allows to split a window that | |
1088 | otherwise cannot be split because it's too small by stealing space from | |
1089 | other windows in the same combination. Subsequent resizing or deletion | |
1090 | of the window will resize all windows in the same combination as well. | |
0a2132ba | 1091 | |
91b65361 CY |
1092 | *** New option `frame-auto-hide-function' lets you choose between |
1093 | iconifying or deleting a frame when burying a buffer in a dedicated | |
1094 | frame, or quitting a window showing a buffer in a frame of its own. | |
1095 | ||
0a2132ba | 1096 | *** New commands `maximize-window' and `minimize-window'. |
53964682 | 1097 | These maximize and minimize the size of a window within its frame. |
0a2132ba | 1098 | |
0a2132ba CY |
1099 | *** New commands `switch-to-prev-buffer' and `switch-to-next-buffer'. |
1100 | These functions allow to navigate through the live buffers that have | |
1101 | been shown in a specific window. | |
1102 | ||
7d301ae6 | 1103 | ** Minibuffer changes |
dfdb4cad | 1104 | |
7d301ae6 | 1105 | *** The inactive minibuffer has its own major mode `minibuffer-inactive-mode'. |
104dc9c6 GM |
1106 | This is handy for minibuffer-only frames, and is also used for the feature |
1107 | where mouse-1 pops up *Messages*"', which can now easily be changed. | |
041d709f | 1108 | |
7d301ae6 | 1109 | *** Minibuffers set `truncate-lines' to nil. |
f66eca26 | 1110 | If you want to change the value to something else, you could use |
7d301ae6 CY |
1111 | for example `minibuffer-setup-hook'. |
1112 | ||
7d301ae6 CY |
1113 | ** `auto-mode-case-fold' is now enabled by default. |
1114 | ||
7d301ae6 | 1115 | ** `backup-by-copying-when-mismatch' now defaults to t. |
f66eca26 | 1116 | |
dfdb4cad CY |
1117 | ** New basic faces `error', `warning', `success'. |
1118 | These are used to highlight text indicating failure, caution or | |
1119 | successful operation. | |
1120 | ||
1121 | ** New option `list-colors-sort' defines the color sort order | |
1122 | for `list-colors-display'. | |
1123 | ||
1124 | ** The variable `focus-follows-mouse' now always defaults to nil. | |
1125 | ||
0bfd685e | 1126 | \f |
eb199145 | 1127 | * Editing Changes in Emacs 24.1 |
b350bdf2 | 1128 | |
892777ba | 1129 | ** Search changes |
dfdb4cad CY |
1130 | |
1131 | *** C-y in Isearch is now bound to `isearch-yank-kill', instead of | |
1132 | `isearch-yank-line'. | |
1133 | ||
1134 | *** M-y in Isearch is now bound to `isearch-yank-pop', instead of | |
1135 | `isearch-yank-kill'. | |
1136 | ||
1137 | *** M-s C-e in Isearch is now bound to `isearch-yank-line'. | |
1138 | ||
b2b0776e | 1139 | ** New commands `count-words-region' and `count-words'. |
dfdb4cad | 1140 | |
10607bea CY |
1141 | *** M-= is bound to `count-words-region', not `count-lines-region'. |
1142 | The `count-words-region' command, when called interactively, reports | |
1143 | the number of lines, words, and characters in the region. It is a | |
1144 | superset of the old `count-lines-region', which is now an obsolete | |
1145 | alias for it. | |
ea4f7750 | 1146 | |
ec9da840 | 1147 | ** The command `just-one-space' (M-SPC), if given a negative argument, |
1c708c1a CY |
1148 | also deletes newlines around point. |
1149 | ||
b9229673 | 1150 | ** Deletion changes |
dfdb4cad | 1151 | |
b9229673 | 1152 | *** New option `delete-active-region'. |
ddb54206 | 1153 | If non-nil, [delete] and DEL delete the region if it is active and no |
dfdb4cad | 1154 | prefix argument is given. If set to `kill', those commands kill |
ddb54206 | 1155 | instead. |
dfdb4cad | 1156 | |
59ee0542 | 1157 | *** New command `delete-forward-char', bound to [delete]. |
42d9cffa CY |
1158 | This is meant for interactive use, and obeys `delete-active-region'. |
1159 | The command `delete-char' does not obey `delete-active-region'. | |
dfdb4cad | 1160 | |
b9229673 CY |
1161 | *** `delete-backward-char' is now a Lisp function. |
1162 | Apart from obeying `delete-active-region', its behavior is unchanged. | |
7d301ae6 CY |
1163 | However, the byte compiler now warns if it is called from Lisp; Lisp |
1164 | callers should use delete-char with a negative argument instead. | |
dfdb4cad | 1165 | |
b9229673 CY |
1166 | *** The option `mouse-region-delete-keys' has been deleted. |
1167 | ||
f9d71b42 CY |
1168 | ** Selection changes. |
1169 | ||
7d301ae6 CY |
1170 | The default handling of clipboard and primary selections has been |
1171 | changed to conform with modern X applications. In short, most | |
1172 | commands for killing and yanking text now use the clipboard, while | |
1173 | mouse commands use the primary selection. | |
b1ab31ae CY |
1174 | |
1175 | In the following, we provide a list of these changes, followed by a | |
1176 | list of steps to get the old behavior back if you prefer that. | |
1177 | ||
b1ab31ae CY |
1178 | *** `select-active-regions' now defaults to t. |
1179 | Merely selecting text (e.g. with drag-mouse-1) no longer puts it in | |
963578d3 | 1180 | the kill ring. The selected text is put in the primary selection, if |
b1ab31ae CY |
1181 | the system possesses a separate primary selection facility (e.g. X). |
1182 | ||
1183 | **** `select-active-regions' also accepts a new value, `only'. | |
1184 | This means to only set the primary selection for temporarily active | |
1185 | regions (usually made by mouse-dragging or shift-selection); | |
1186 | "ordinary" active regions, such as those made with C-SPC followed by | |
1187 | point motion, do not alter the primary selection. | |
1188 | ||
963578d3 CY |
1189 | **** `mouse-drag-copy-region' now defaults to nil. |
1190 | ||
b1ab31ae CY |
1191 | *** mouse-2 is now bound to `mouse-yank-primary'. |
1192 | This pastes from the primary selection, ignoring the kill-ring. | |
1193 | Previously, mouse-2 was bound to `mouse-yank-at-click'. | |
dfdb4cad | 1194 | |
b1ab31ae | 1195 | *** `x-select-enable-clipboard' now defaults to t on all platforms. |
dfdb4cad | 1196 | |
b1ab31ae CY |
1197 | *** `x-select-enable-primary' now defaults to nil. |
1198 | Thus, commands that kill text or copy it to the kill-ring (such as | |
1199 | M-w, C-w, and C-k) also use the clipboard---not the primary selection. | |
1200 | ||
1201 | **** The "Copy", "Cut", and "Paste" items in the "Edit" menu are now | |
dfdb4cad | 1202 | exactly equivalent to M-w, C-w, and C-y respectively. |
b1ab31ae CY |
1203 | |
1204 | **** Note that on MS-Windows, `x-select-enable-clipboard' was already | |
1205 | non-nil by default, as Windows does not support the primary selection | |
1206 | between applications. | |
1207 | ||
1208 | *** To return to the previous behavior, do the following: | |
dfdb4cad | 1209 | |
104c2fe9 | 1210 | **** Change `select-active-regions' to nil. |
b1ab31ae CY |
1211 | **** Change `mouse-drag-copy-region' to t. |
1212 | **** Change `x-select-enable-primary' to t (on X only). | |
1213 | **** Change `x-select-enable-clipboard' to nil. | |
1214 | **** Bind `mouse-yank-at-click' to mouse-2. | |
f9d71b42 | 1215 | |
084e6df3 | 1216 | *** Support for X cut buffers has been removed. |
dfdb4cad | 1217 | |
3fd50d5c CY |
1218 | *** X clipboard managers are now supported. |
1219 | To inhibit this, change `x-select-enable-clipboard-manager' to nil. | |
4b80f674 | 1220 | |
dfdb4cad CY |
1221 | ** New command `C-x r N' (`rectangle-number-lines') numbers the lines |
1222 | in the current rectangle. With a prefix argument, this prompts for a | |
1223 | number to count from and for a format string. | |
99f053cf | 1224 | |
7d301ae6 | 1225 | ** `redisplay-dont-pause' now defaults to t. |
6bf7006f EZ |
1226 | This makes Emacs feel more responsive to editing commands that arrive |
1227 | at high rate, e.g. if you lean on some key, because stopping redisplay | |
1228 | in the middle (when this variable is nil) forces more expensive | |
1229 | updates later on, and Emacs appears to be unable to keep up. | |
1230 | ||
e70b5064 CY |
1231 | ** The behavior of <TAB> for active regions in Text mode has changed. |
1232 | In Text and related modes, typing <TAB> (`indent-for-tab-command') | |
1233 | when the region is active causes Emacs to indent all the lines in the | |
1234 | region, aligning them with the line previous to the first line in the | |
1235 | region (or with the left margin if there is no previous line). | |
1236 | ||
dfdb4cad CY |
1237 | ** When `occur' is called with a prefix argument, matching strings are |
1238 | collected into the `*Occur*' buffer without line numbers. If there | |
1239 | are parenthesized subexpressions in the specified regexp, `occur' | |
1240 | reads replacement text that may contain \\& and \\N whose convention | |
1241 | follows `replace-match'. | |
1242 | ||
9bae34bf | 1243 | \f |
eb199145 | 1244 | * Changes in Specialized Modes and Packages in Emacs 24.1 |
efeb796b | 1245 | |
041d709f | 1246 | ** Archive Mode has basic support for browsing and updating 7z archives. |
d76674bb | 1247 | |
b7c3692a | 1248 | ** BibTeX mode |
dfdb4cad | 1249 | |
2de69e00 | 1250 | *** BibTeX mode now supports biblatex. |
7d301ae6 CY |
1251 | Use the variable `bibtex-dialect' to select different BibTeX dialects. |
1252 | `bibtex-entry-field-alist' is now an obsolete alias for | |
1253 | `bibtex-BibTeX-entry-alist'. | |
1254 | ||
dfdb4cad CY |
1255 | *** New command `bibtex-search-entries', bound to C-c C-a. |
1256 | ||
b7c3692a | 1257 | *** New `bibtex-entry-format' option `sort-fields', disabled by default. |
dfdb4cad | 1258 | |
022fe7ce RW |
1259 | *** New variable `bibtex-search-entry-globally'. |
1260 | ||
7d301ae6 | 1261 | ** Browse-url |
dfdb4cad | 1262 | |
7d301ae6 | 1263 | *** New option `browse-url-mailto-function' specifies how to handle "mailto:"s. |
dfdb4cad | 1264 | |
7d301ae6 CY |
1265 | *** The default browser used by the package is now the "xdg-open" program, |
1266 | on platforms that support it. This calls your desktop's preferred browser. | |
1267 | ||
cf16af42 GM |
1268 | ** Calendar, Diary, and Appt |
1269 | ||
7d301ae6 | 1270 | *** Diary entries can contain non-printing "comments". |
548d0a63 GM |
1271 | See the variable `diary-comment-start'. |
1272 | ||
5006e634 GM |
1273 | *** Appointments can specify their individual warning times. |
1274 | See the variable `appt-warning-time-regexp'. | |
1275 | ||
0a2bb1a9 GM |
1276 | *** The function specified by `appt-disp-window-function' may be passed |
1277 | lists of arguments if multiple appointments are due at similar times. | |
1278 | If you are using a custom function for this, you should update it. | |
1279 | ||
7454f200 GM |
1280 | *** New function `diary-hebrew-birthday'. |
1281 | ||
e565dd37 GM |
1282 | *** Elements of `calendar-day-abbrev-array' and `calendar-month-abbrev-array' |
1283 | may no longer be nil, but must all be strings. | |
1284 | ||
7d301ae6 CY |
1285 | *** The obsolete (since Emacs 22.1) method of enabling the appt |
1286 | package by adding `appt-make-list' to `diary-hook' has been removed. | |
1287 | Use `appt-activate' instead. | |
cf16af42 | 1288 | |
cf16af42 GM |
1289 | *** Some appt variables (obsolete since Emacs 22.1) have been removed: |
1290 | appt-issue-message (use the function appt-activate) | |
1291 | appt-visible/appt-msg-window (use the variable appt-display-format) | |
1292 | ||
cf16af42 GM |
1293 | *** Some diary function aliases (obsolete since Emacs 22.1) have been removed: |
1294 | view-diary-entries, list-diary-entries, show-all-diary-entries | |
1295 | ||
551b046f | 1296 | ** CC Mode |
dfdb4cad | 1297 | |
551b046f | 1298 | *** New feature to "guess" the style in an existing buffer. |
7d301ae6 | 1299 | The main entry point is M-x c-guess. |
041d709f | 1300 | |
551b046f AM |
1301 | *** Java Mode now supports Java 5.0 (Tiger) and 6 (Mustang). |
1302 | ||
dfdb4cad | 1303 | *** `c-beginning-of-defun' and `c-end-of-defun' now respect nested scopes. |
551b046f AM |
1304 | Thus C-M-a will, by default, go to the beginning of the immediate function, |
1305 | not the top level. | |
1306 | ||
dfdb4cad | 1307 | *** "Macros with semicolons" can be registered for correct indentation. |
551b046f AM |
1308 | Where such a macro ends a line (no semicolon) the next statement is no longer |
1309 | parsed as a statement continuation. | |
1310 | ||
dfdb4cad | 1311 | ** Comint and modes derived from it use the standard completion code. |
041d709f CY |
1312 | |
1313 | ** Compilation mode | |
dfdb4cad | 1314 | |
7d301ae6 | 1315 | *** Compilation mode can be used without Font Lock mode. |
041d709f CY |
1316 | `compilation-parse-errors-function' is now obsolete. |
1317 | ||
dfdb4cad | 1318 | *** New variable `compilation-filter-start', which is bound while |
7d301ae6 CY |
1319 | `compilation-filter-hook' runs. It records the start position of the |
1320 | text inserted by `compilation-filter'. | |
041d709f | 1321 | |
47a6a35f GM |
1322 | *** `compilation-error-screen-columns' and `compilation-first-column' |
1323 | are obeyed in the editing buffer. So programming language modes can | |
7d301ae6 CY |
1324 | set them, whereas previously only the value in the *Compilation* |
1325 | buffer was used. | |
1dce7193 | 1326 | |
52834b6b CY |
1327 | ** Customize |
1328 | ||
1329 | *** Customize buffers now contain a search field. | |
1330 | The search is performed using `customize-apropos'. | |
7d301ae6 | 1331 | To turn off the search field, set `custom-search-field' to nil. |
52834b6b | 1332 | |
8d5dd370 | 1333 | *** Options in customize group buffers start out hidden if not customized. |
52834b6b CY |
1334 | Use the arrow to the left of the option name to toggle visibility. |
1335 | ||
1336 | *** custom-buffer-sort-alphabetically now defaults to t. | |
1337 | ||
1338 | *** The color widget now has a "Choose" button, which allows you to | |
7d301ae6 | 1339 | choose a color via `list-colors-display'. |
52834b6b | 1340 | |
041d709f CY |
1341 | ** D-Bus |
1342 | ||
5da3be7f GM |
1343 | *** It is now possible to access buses other than the default system |
1344 | or session bus. | |
041d709f | 1345 | |
7d301ae6 | 1346 | *** The `dbus-register-method' and `dbus-register-property' functions |
5da3be7f | 1347 | optionally do not register names. |
041d709f | 1348 | |
7d301ae6 | 1349 | *** The new function `dbus-register-service' registers a known service |
dfdb4cad | 1350 | name on a D-Bus without also registering a property or a method. |
041d709f | 1351 | |
f5d6548a | 1352 | ** Dired-x |
425a25f1 | 1353 | |
7d301ae6 CY |
1354 | *** C-x C-j (`dired-jump') and C-x 4 C-j (`dired-jump-other-window'), |
1355 | if called with a prefix argument, read a file name from the minibuffer | |
1356 | instead of using the current buffer. | |
f5d6548a | 1357 | |
7d301ae6 | 1358 | *** The "dired local variables" feature of Dired-x is obsolete. |
817b48a7 | 1359 | The standard directory local variables feature replaces it. |
8117868f | 1360 | |
041d709f | 1361 | ** ERC changes |
7492acc9 | 1362 | |
c4077254 GM |
1363 | *** New options `erc-autojoin-timing' and `erc-autojoin-delay', |
1364 | controlling attempts to autojoin a channel. | |
041d709f CY |
1365 | |
1366 | *** New variable `erc-coding-system-precedence': If we use `undecided' | |
1367 | as the server coding system, this variable will then be consulted. | |
1368 | The default is to decode strings that can be decoded as utf-8 as | |
1369 | utf-8, and do the normal `undecided' decoding for the rest. | |
7492acc9 | 1370 | |
041d709f | 1371 | ** Eshell changes |
7492acc9 | 1372 | |
05f77e38 GM |
1373 | *** The default value of `eshell-directory-name' has changed |
1374 | to be an "eshell" directory in `user-emacs-directory'. | |
1375 | The old "~/.eshell/" directory is still used if it exists, though. | |
041d709f CY |
1376 | |
1377 | ** gdb-mi | |
dfdb4cad CY |
1378 | |
1379 | *** The M-x gdb command now uses the GDB Machine Interface protocol. | |
05f77e38 GM |
1380 | It now supports multithread non-stop debugging and simultaneous |
1381 | debugging of several threads. | |
7492acc9 | 1382 | |
18af70d0 CY |
1383 | ** Image mode |
1384 | ||
05f77e38 GM |
1385 | *** RET (`image-toggle-animation') toggles animation, if applicable. |
1386 | Animation plays once, unless the option `image-animate-loop' is non-nil. | |
18af70d0 | 1387 | |
041d709f | 1388 | ** Info |
723ee192 | 1389 | |
7d301ae6 | 1390 | *** New command M-x info-display-manual displays a named Info manual. |
2ebc3b94 GM |
1391 | If that manual is already visited in some Info buffer, it displays |
1392 | that buffer. (This is handy if you have many manuals in many *info* | |
1393 | buffers, and don't remember the name of the buffer visiting the manual | |
1394 | you want to consult.) Otherwise, it loads and displays the manual. | |
691cf4a0 | 1395 | |
24ea72d3 EZ |
1396 | *** `e' is now bound to `end-of-buffer' rather than to `Info-edit'. |
1397 | This is for compatibility with the stand-alone Info reader program, | |
1398 | and also because `Info-edit' is a rarely used command that is disabled | |
1399 | by default. | |
1400 | ||
7d301ae6 | 1401 | ** Mail mode changes (not Message mode) |
dfdb4cad | 1402 | |
7d301ae6 | 1403 | *** New command M-x mail-add-attachment for adding MIME attachments |
7d301ae6 | 1404 | |
dfdb4cad CY |
1405 | *** The command M-x mail-attach-file was renamed to M-x mail-insert-file. |
1406 | (Its name is misleading, since it has nothing to do with MIME | |
1407 | attachments.) The old name is now an obsolete alias to the new name. | |
1408 | ||
f2c3a9eb | 1409 | ** MH-E has been updated to MH-E version 8.3.1. |
041d709f | 1410 | See MH-E-NEWS for details. |
37221432 | 1411 | |
041d709f | 1412 | ** Modula-2 mode provides auto-indentation. |
37221432 | 1413 | |
041d709f | 1414 | ** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags. |
3c3d4f5b | 1415 | |
5d1ac394 | 1416 | ** nXML mode no longer binds C-RET to `nxml-complete'. |
dfdb4cad CY |
1417 | Completion is now performed via `completion-at-point', bound to C-M-i |
1418 | or M-TAB. If `nxml-bind-meta-tab-to-complete-flag' is non-nil (the | |
1419 | default), this performs tag completion. | |
5d1ac394 | 1420 | |
f2c3a9eb CY |
1421 | ** Org mode has been updated to version 7.8.09. |
1422 | See ORG-NEWS for details. | |
1423 | ||
041d709f | 1424 | ** Prolog mode has been completely revamped, with lots of additional |
7d301ae6 CY |
1425 | functionality such as more intelligent indentation, electricity, |
1426 | support for more variants, including Mercury, and a lot more. | |
041d709f CY |
1427 | |
1428 | ** Rmail | |
1429 | ||
1430 | *** The command `rmail-epa-decrypt' decrypts OpenPGP data | |
1431 | in the Rmail incoming message. | |
1432 | ||
50419064 GM |
1433 | *** The variable `rmail-message-filter' no longer has any effect. |
1434 | This change was made in Emacs 23.1 but was not advertised at the time. | |
1435 | Try using `rmail-show-message-hook' instead. | |
1436 | ||
717a1362 | 1437 | ** Shell mode |
dfdb4cad CY |
1438 | |
1439 | *** M-x shell prompts for the shell path name if the default directory | |
1440 | is a remote file name and neither the environment variable $ESHELL nor | |
1441 | the variable `explicit-shell-file-name' is set. | |
1442 | ||
1443 | *** TAB is now bound to the standard `completion-at-point' command, | |
1444 | which now implements the pcomplete rules for shell command completion. | |
717a1362 | 1445 | |
7d301ae6 CY |
1446 | ** SMTPmail |
1447 | ||
dfdb4cad | 1448 | *** SMTPmail now uses encrypted connections (via STARTTLS) by default |
7d301ae6 CY |
1449 | if the mail server supports them. This uses either built-in GnuTLS |
1450 | support, or the starttls.el library. Customize `smtpmail-stream-type' | |
1451 | to change this. | |
1452 | ||
7d301ae6 CY |
1453 | *** The variable `smtpmail-auth-credentials' has been removed. |
1454 | By default, the information is now stored in the file ~/.authinfo. | |
dfdb4cad CY |
1455 | This was the default value of smtpmail-auth-credentials. If you had |
1456 | customized smtpmail-auth-credentials to a list of user names and | |
1457 | passwords, those settings are not used. During your first connection | |
1458 | to the smtp server, Emacs will prompt for the user name and password, | |
1459 | and offer to save them to ~/.authinfo. Or you can manually copy the | |
1460 | credentials to ~/.authinfo. For example, if you had | |
7d301ae6 CY |
1461 | |
1462 | (setq smtpmail-auth-credentials | |
1463 | '(("mail.example.org" 25 "jim" "s!cret"))) | |
1464 | ||
1465 | then the equivalent line in ~/.authinfo would be | |
1466 | ||
1467 | machine mail.example.org port 25 login jim password s!cret | |
1468 | ||
1469 | See the auth-source manual for more information, e.g. on encrypting | |
1470 | the credentials file. | |
1471 | ||
7d301ae6 | 1472 | *** The variable `smtpmail-starttls-credentials' has been removed. |
dfdb4cad | 1473 | If you had that set, you need to put |
7d301ae6 CY |
1474 | |
1475 | machine smtp.whatever.foo port 25 key "~/.my_smtp_tls.key" cert "~/.my_smtp_tls.cert" | |
1476 | ||
1477 | in your ~/.authinfo file instead. | |
1478 | ||
8ce192e3 LI |
1479 | *** SMTPmail defaults to using the address in the From: header as the |
1480 | SMTP MAIL FROM envelope. To override this, set `mail-envelope-from' | |
1481 | to the address you wish to use instead. | |
1482 | ||
34e8a2da | 1483 | ** SQL mode |
041d709f | 1484 | |
34e8a2da GM |
1485 | *** New options `sql-port', `sql-connection-alist', `sql-send-terminator', |
1486 | and `sql-oracle-scan-on'. | |
041d709f | 1487 | |
dfdb4cad | 1488 | *** New options controlling prompting for login parameters. |
34e8a2da GM |
1489 | Each supported product has a custom variable `sql-*-login-params', |
1490 | which is a list of the parameters to be prompted for before a | |
1491 | connection is established. | |
041d709f CY |
1492 | |
1493 | *** The command `sql-product-interactive' now takes a prefix argument, | |
34e8a2da | 1494 | which causes it to prompt for an SQL product. |
041d709f | 1495 | |
34e8a2da | 1496 | *** Product-specific SQL interactive commands now take prefix arguments. |
041d709f CY |
1497 | These commands (`sql-sqlite', `sql-postgres', `sql-mysql', etc.), |
1498 | given a prefix argument, prompt for a name for the SQL interactive | |
1499 | buffer. This reduces the need for calling `sql-rename-buffer'. | |
1500 | ||
1501 | *** SQL interactive modes suppress command continuation prompts, and | |
1502 | replace tabs with spaces. The first change impacts multiple line SQL | |
1503 | statements entered with C-j between each line, statements yanked into | |
1504 | the buffer and statements sent with `sql-send-*' functions. The | |
34e8a2da GM |
1505 | second prevents the MySQL and Postgres interpreters from listing |
1506 | object name completions when sent text via `sql-send-*' functions. | |
041d709f CY |
1507 | |
1508 | *** New command `sql-connect' starts a predefined SQLi session, | |
1509 | using the login parameters from `sql-connection-alist'. | |
1510 | ||
1511 | *** New "Save Connection" menu item in SQLi buffers. | |
1512 | This gathers the login params specified for the SQLi session, if it | |
1513 | was not started by a connection, and saves them as a new connection. | |
1514 | ||
34e8a2da GM |
1515 | *** New commands for listing database objects and details: |
1516 | sql-list-all and sql-list-table. | |
041d709f CY |
1517 | |
1518 | *** An API for manipulating SQL product definitions has been added. | |
1519 | ||
1520 | ** TeX modes | |
1521 | ||
1522 | *** latex-electric-env-pair-mode keeps \begin..\end matched on the fly. | |
412b9ee5 | 1523 | |
459bba37 | 1524 | ** Tramp |
dfdb4cad | 1525 | |
7d301ae6 | 1526 | *** New inline access method "ksu" (kerberized su). |
dfdb4cad | 1527 | |
459bba37 | 1528 | *** The following access methods are discontinued: "ssh1_old", |
ea843702 | 1529 | "ssh2_old", "scp1_old", "scp2_old", "imap", "imaps" and "fish". |
dfdb4cad | 1530 | |
b011fbfe GM |
1531 | *** The user option `remote-file-name-inhibit-cache' controls whether |
1532 | remote file attributes are cached for better performance. | |
dfdb4cad | 1533 | |
58f74fe4 MA |
1534 | *** The option `ange-ftp-binary-file-name-regexp' has changed its |
1535 | default value to "". | |
dfdb4cad | 1536 | |
7d301ae6 CY |
1537 | *** Handlers for `file-selinux-context' and `set-file-selinux-context' |
1538 | for remote machines which support SELinux. | |
58f74fe4 | 1539 | |
dfdb4cad | 1540 | ** New function `url-queue-retrieve', which behaves like url-retrieve, |
a48ec60c GM |
1541 | but with limits (`url-queue-parallel-processes', `url-queue-timeout') on |
1542 | the degree of parallelism. | |
177549d0 | 1543 | |
0c32ce32 CY |
1544 | ** VC and related modes |
1545 | ||
1546 | *** Support for pulling on distributed version control systems. | |
7d301ae6 CY |
1547 | The command C-x v + (`vc-pull') runs a "pull" operation, if it is |
1548 | supported (currently with Bzr, Git, and Mercurial), to update the | |
1549 | current branch and working tree. A prefix argument means to prompt | |
1550 | the user for specifics, e.g. a pull location. | |
0c32ce32 | 1551 | |
dab3703d | 1552 | *** `vc-update' is now an alias for `vc-pull'. |
0c32ce32 CY |
1553 | |
1554 | *** Support for merging on distributed version control systems. | |
7d301ae6 CY |
1555 | The command C-x v m (`vc-merge') now runs a "merge" operation, if it |
1556 | is supported (currently with Bzr, Git, and Mercurial), to merge | |
1557 | changes from another branch into the current one. It prompts for | |
1558 | specifics, e.g. a merge source. | |
0c32ce32 | 1559 | |
2afef60a | 1560 | *** New option `vc-revert-show-diff' controls whether `vc-revert' |
bbe43420 | 1561 | shows a diff while querying the user. It defaults to t. |
2afef60a | 1562 | |
d4eb88c7 CY |
1563 | *** Log entries in some Log View buffers can be toggled to display a |
1564 | longer description by typing RET (log-view-toggle-entry-display). | |
dab3703d GM |
1565 | This is currently supported for Bzr, Git, and Mercurial (to support |
1566 | another backend, define a `log-view-expanded-log-entry-function'). | |
7d301ae6 | 1567 | In the Log View buffers made by C-x v L (`vc-print-root-log'), you can |
d4eb88c7 CY |
1568 | use this to display the full log entry for the revision at point. |
1569 | ||
1c6c854e CS |
1570 | *** New command `vc-ediff' allows visual comparison of two revisions |
1571 | of a file similar to `vc-diff', but using ediff backend. | |
1572 | ||
86c60681 CY |
1573 | *** The option `vc-initial-comment' was removed in Emacs 23.2, but |
1574 | this was not advertised at the time. | |
1575 | ||
86c60681 CY |
1576 | *** `vc-toggle-read-only' is an obsolete alias for `toggle-read-only'. |
1577 | Since Emacs 23, it has done the same thing as `toggle-read-only', but | |
80c6d77f GM |
1578 | this was not advertised at the time. |
1579 | ||
041d709f CY |
1580 | ** Obsolete modes |
1581 | ||
23d70505 GM |
1582 | *** abbrevlist.el |
1583 | ||
f8ca9162 | 1584 | *** erc-hecomplete.el (use erc-pcomplete.el instead) |
23d70505 GM |
1585 | |
1586 | *** partial-completion-mode (complete.el) is obsolete. | |
041d709f CY |
1587 | You can get a comparable behavior with: |
1588 | (setq completion-styles '(partial-completion initials)) | |
1589 | (setq completion-pcm-complete-word-inserts-delimiters t) | |
1590 | ||
23d70505 GM |
1591 | *** pc-mode.el is obsolete (CUA mode is much more comprehensive). |
1592 | ||
2c719188 | 1593 | *** pgg is obsolete (use EasyPG instead). |
041d709f CY |
1594 | |
1595 | *** sregex.el is obsolete, since rx.el is a strict superset. | |
1596 | ||
23d70505 GM |
1597 | *** s-region.el and pc-select.el are obsolete. |
1598 | They are superseded by shift-select-mode, enabled by default since 23.1. | |
1599 | ||
2c719188 | 1600 | *** vc-mcvs.el is obsolete (for lack of a maintainer). |
ca5eed61 | 1601 | |
0fe719e6 GM |
1602 | ** Miscellaneous |
1603 | ||
05f77e38 | 1604 | *** The Landmark game is now invoked with `landmark', not `lm'. |
c6ad2a4e | 1605 | Its functions and variables have been similarly renamed. |
05f77e38 | 1606 | |
dfdb4cad | 1607 | *** In `ido-file-completion-map', C-v is no longer bound to `ido-toggle-vc'. |
05f77e38 GM |
1608 | (This interfered with cua-mode.) |
1609 | ||
9f678528 GM |
1610 | *** f90.el has some support for Fortran 2008 syntax. |
1611 | ||
0fe719e6 GM |
1612 | *** `copyright-fix-years' can optionally convert consecutive years to ranges. |
1613 | ||
5b3e6db8 GM |
1614 | *** New command `nato-region' converts text to NATO phonetic alphabet. |
1615 | ||
eb199145 GM |
1616 | \f |
1617 | * New Modes and Packages in Emacs 24.1 | |
d445b3f8 | 1618 | |
60e56523 | 1619 | ** Occur Edit mode applies edits made in *Occur* buffers to the |
8c0f49f0 | 1620 | original buffers. It is bound to "e" in Occur mode. |
60e56523 | 1621 | |
a075a2c5 GM |
1622 | ** New global minor mode electric-pair-mode. |
1623 | When enabled, typing an open parenthesis automatically inserts the | |
1624 | matching closing one. | |
1625 | ||
1626 | ** New global minor mode electric-indent-mode. | |
1627 | When enabled, typing certain characters triggers reindentation. | |
cd3308f3 GM |
1628 | Major modes wishing to use this can set electric-indent-chars or |
1629 | electric-indent-functions. | |
a075a2c5 GM |
1630 | |
1631 | ** New global minor mode electric-layout-mode. | |
1632 | When enabled, typing certain characters automatically inserts newlines. | |
cd3308f3 | 1633 | Major modes wishing to use this can set electric-layout-rules. |
3b843809 | 1634 | |
a83ec3c9 CY |
1635 | ** tabulated-list.el provides a generic major mode for tabulated data, |
1636 | from which other modes can be derived. | |
1637 | ||
d02c9bcd SM |
1638 | ** pcase.el provides the ML-style pattern matching macro `pcase'. |
1639 | ||
7725ebb7 MA |
1640 | ** secrets.el is an implementation of the Secret Service API, an |
1641 | interface to password managers like GNOME Keyring or KDE Wallet. The | |
065f2743 MA |
1642 | Secret Service API requires D-Bus for communication. The command |
1643 | `secrets-show-secrets' offers a buffer with a visualization of the | |
1644 | secrets. | |
7725ebb7 | 1645 | |
f9e78150 MA |
1646 | ** notifications.el provides an implementation of the Desktop |
1647 | Notifications API. It requires D-Bus for communication. | |
1648 | ||
12fe5bcc MA |
1649 | ** soap-client.el supports access to SOAP web services from Emacs. |
1650 | soap-inspect.el is an interactive inspector for SOAP WSDL structures. | |
1651 | ||
ff1796f3 | 1652 | ** New generic mode, xmodmap-generic-mode, for xmodmap files. |
ad7d6ecb | 1653 | |
53bbe3ad | 1654 | ** New emacs-lock.el package. |
7d301ae6 CY |
1655 | The previous version has been moved to obsolete/old-emacs-lock.el. |
1656 | Now, there is a proper minor mode `emacs-lock-mode'. Protection | |
1657 | against exiting Emacs and killing the buffer can be set separately. | |
1658 | The mechanism for automatically turning off protection for buffers | |
1659 | with dead inferior processes has been generalized. | |
53bbe3ad | 1660 | |
eb199145 GM |
1661 | \f |
1662 | * Incompatible Lisp Changes in Emacs 24.1 | |
6dfcbe31 | 1663 | |
7d301ae6 CY |
1664 | ** Passing a nil argument to a minor mode function call now ENABLES |
1665 | the minor mode unconditionally. This is so that you can write e.g. | |
1666 | ||
dfdb4cad | 1667 | (add-hook 'text-mode-hook 'foo-mode) |
7d301ae6 | 1668 | |
dfdb4cad CY |
1669 | to enable foo-mode in Text mode buffers, removing the need for |
1670 | `turn-on-foo-mode' style functions. This affects all mode commands | |
1671 | defined by `define-minor-mode'. If called interactively, the mode | |
1672 | command still toggles the minor mode. | |
7d301ae6 | 1673 | |
d268b4fe CY |
1674 | ** The return value of `backup-buffer' has changed. |
1675 | It is now a list of three elements, where the second element is a list | |
1676 | describing the original file's SELinux context. If Emacs or the | |
f003f294 | 1677 | system lacks SELinux support, the context list is (nil nil nil nil). |
7d301ae6 | 1678 | See "Basic SELinux support" above, under "Changes in Emacs 24.1". |
d268b4fe | 1679 | |
dfdb4cad CY |
1680 | ** `char-direction-table' and the `char-direction' function were deleted. |
1681 | They were buggy and inferior to the new support of bidirectional | |
1682 | editing introduced in Emacs 24. If you need the bidirectional | |
1683 | properties of a character, use `get-char-code-property' with the last | |
1684 | argument `bidi-class'. | |
fa6996bc | 1685 | |
470d996d TV |
1686 | ** `copy-directory' now copies the source directory as a subdirectory |
1687 | of the target directory, if the latter is an existing directory. The | |
1688 | new optional arg COPY-CONTENTS, if non-nil, makes the function copy | |
1689 | the contents directly into a pre-existing target directory. | |
1690 | ||
9173a8fb CY |
1691 | ** For mouse click input events in the text area, the Y pixel |
1692 | coordinate in the POSITION list now counts from the top of the text | |
1693 | area, excluding any header line. Previously, it counted from the top | |
1694 | of the header line. | |
1695 | ||
7d301ae6 CY |
1696 | ** Support for "old-style" backquotes, obsolete for 10+ years, has |
1697 | been further reduced. Now a backquote not followed by a space is | |
1698 | always treated as a "new-style" backquote. Please remove all | |
1699 | "old-style" backquotes from your code. If your code uses backquotes | |
1700 | as documented in the Elisp manual, and compiles without warning, then | |
1701 | you have nothing to do in this regard. Code not following the | |
1702 | appropriate conventions may fail to compile. | |
50ab02c5 CY |
1703 | |
1704 | The most common cause of trouble seems to be an old-style backquote | |
1705 | followed by a newline. Another cause of trouble is vector notation | |
1706 | for key sequence notation: instead of [(control ,)] and [(control ')], | |
1707 | you should write [(control ?,)] and [(control ?')], which will work in | |
7d301ae6 | 1708 | older Emacsen too. |
288cf4e9 | 1709 | |
520f2425 GM |
1710 | ** The macro `eval-at-startup' was removed in Emacs 23.2, but this |
1711 | was not advertised at the time. The function `custom-initialize-delay' | |
1712 | replaced all known uses. | |
1713 | ||
7d301ae6 CY |
1714 | ** `view-buffer' now treats special mode-class in the same way that |
1715 | `view-file' has since Emacs 22 (i.e. it won't enable View mode if the | |
1716 | major mode is special). | |
fd5c9dfa | 1717 | |
7d301ae6 | 1718 | ** Menu and tool bar changes |
6431f2e6 | 1719 | |
7d301ae6 | 1720 | *** During startup, Emacs no longer adds entries for `menu-bar-lines' |
0a19a6f8 JB |
1721 | and `tool-bar-lines' to `default-frame-alist' and `initial-frame-alist'. |
1722 | With these alist entries omitted, `make-frame' checks the value of the | |
1723 | variable `menu-bar-mode'/`tool-bar-mode' to determine whether to create | |
1724 | a menu-bar or tool-bar, respectively. If the alist entries are added, | |
1725 | they override the value of `menu-bar-mode'/`tool-bar-mode'. | |
6431f2e6 | 1726 | |
7d301ae6 CY |
1727 | *** The menu bar bindings's caches are not used any more. |
1728 | Use (where-is-internal <def> nil t) instead. | |
1729 | ||
fe0aa820 | 1730 | ** Regions created by mouse dragging are now normal active regions, |
dfdb4cad | 1731 | similar to those created by shift-selection (see Selection changes |
7d301ae6 CY |
1732 | above). In previous Emacs versions, these regions were delineated by |
1733 | `mouse-drag-overlay'; that variable has been removed. | |
d6d8ee7a | 1734 | |
7d301ae6 CY |
1735 | ** The fourth argument of `filter-buffer-substring' has been removed. |
1736 | If you want to remove text properties from the final result, simply | |
1737 | pass the result through substring-no-properties. | |
34c99998 | 1738 | |
4583e796 GM |
1739 | ** cl.el no longer provides `cl-19'. |
1740 | ||
7d301ae6 CY |
1741 | ** The following obsolete functions and aliases have been removed |
1742 | (the appropriate new function is given in parentheses; "not needed" | |
1743 | means you can just remove all calls to the function in question): | |
1744 | ||
1745 | *** `comint-kill-output' (`comint-delete-output') | |
1746 | *** `decompose-composite-char' (`char-to-string') | |
1747 | *** `outline-visible' (`outline-invisible-p') | |
1748 | *** `internal-find-face' (`facep') | |
1749 | *** `internal-get-face' (`facep and check-face') | |
1750 | *** `frame-update-faces' (not needed) | |
1751 | *** `frame-update-face-colors' (`frame-set-background-mode') | |
1752 | *** `x-frob-font-weight' and `x-frob-font-slant' (`make-face-*' functions) | |
2c719188 | 1753 | *** `x-make-font-bold and x-make-font-demibold (`make-face-bold') |
7d301ae6 CY |
1754 | *** `x-make-font-italic' and `x-make-font-oblique' (`make-face-italic') |
1755 | *** `x-make-font-bold-italic' (`make-face-bold-italic') | |
1756 | *** `x-make-font-unbold' (`make-face-unbold') | |
1757 | *** `x-make-font-unitalic' (`make-face-unitalic') | |
1758 | *** `mldrag-drag-mode-line' (`mouse-drag-mode-line') | |
1759 | *** `mldrag-drag-vertical-line' (`mouse-drag-vertical-line') | |
1760 | *** `iswitchb-default-keybindings' (`iswitchb-mode') | |
1761 | *** `char-bytes' (== 1) | |
1762 | *** `isearch-return-char' (`isearch-printing-char') | |
1763 | *** `make-local-hook' (not needed) | |
1764 | *** `set-screen-height' (`set-frame-height') | |
1765 | *** `set-screen-width' (`set-frame-width') | |
1766 | ||
7d301ae6 CY |
1767 | ** The following obsolete variables and varaliases have been removed |
1768 | (the appropriate new variable is given in parentheses): | |
1769 | ||
1770 | *** `checkdoc-minor-keymap' (`checkdoc-minor-mode-map') | |
1771 | *** `vc-header-alist' (`vc-BACKEND-header') | |
1772 | *** `directory-sep-char' (== ?/) | |
1773 | *** `font-lock-defaults-alist' (`font-lock-defaults') | |
1774 | *** `e' (`float-e'). | |
3226d6ca | 1775 | |
041d709f | 1776 | ** The following obsolete files were removed: |
7b0e3048 GM |
1777 | sc.el, x-menu.el, rnews.el, rnewspost.el |
1778 | ||
7d301ae6 CY |
1779 | ** The format of the finder-inf.el file has changed, since the Finder |
1780 | mechanism is now based on the package system. The variable | |
1781 | `finder-package-info' is replaced by `package--builtins' and | |
1782 | `finder-keywords-hash'. | |
33658d4e | 1783 | |
c2c79260 DE |
1784 | ** When generating autoloads, `update-directory-autoloads' no longer |
1785 | assumes every inspected file is in your `load-path'. It instead | |
1786 | generates relative names according to the current `load-path'. | |
1787 | ||
eb199145 GM |
1788 | \f |
1789 | * Lisp changes in Emacs 24.1 | |
9097e8af | 1790 | |
041d709f | 1791 | ** Code can now use lexical scoping by default instead of dynamic scoping. |
dfdb4cad | 1792 | The `lexical-binding' variable enables lexical scoping for local |
48da7392 | 1793 | variables. It is typically set via a file-local variable in the first |
dfdb4cad CY |
1794 | line of the file, in which case it applies to all the code in that |
1795 | file. | |
1796 | ||
041d709f CY |
1797 | *** `eval' takes a new optional argument `lexical' to choose the new lexical |
1798 | binding instead of the old dynamic binding mode. | |
dfdb4cad | 1799 | |
041d709f CY |
1800 | *** Lexically scoped interpreted functions are represented with a new form |
1801 | of function value which looks like (closure ENV ARGS &rest BODY). | |
1802 | ||
1803 | *** New macro `letrec' to define recursive local functions. | |
dfdb4cad CY |
1804 | |
1805 | *** `defvar' and `defconst' now mark the variable as special (dynamic). | |
1806 | So do `defcustom' and other forms that call `defvar' as a subroutine. | |
1807 | ||
041d709f CY |
1808 | *** New function `special-variable-p' to check whether a variable is |
1809 | declared as dynamically bound. | |
1810 | ||
88ed9e87 SM |
1811 | *** The form ((lambda ...) ...) is deprecated. |
1812 | ||
041d709f CY |
1813 | ** An Emacs Lisp testing tool is now included. |
1814 | Emacs Lisp developers can use this tool to write automated tests for | |
1815 | their code. See the ERT info manual for details. | |
1816 | ||
1817 | ** Changes for bidirectional display and editing | |
f1816485 | 1818 | |
041d709f | 1819 | *** New function `current-bidi-paragraph-direction'. |
7d301ae6 | 1820 | This returns the base direction of the paragraph at point. |
041d709f | 1821 | |
041d709f | 1822 | *** New function `bidi-string-mark-left-to-right'. |
dfdb4cad CY |
1823 | Given a string containing characters from right-to-left scripts, this |
1824 | function returns another string which can be safely inserted into a | |
1825 | buffer, such that any following text will be always displayed to the | |
7d301ae6 CY |
1826 | right of that string. (This works by appending an invisible Unicode |
1827 | "LEFT-TO-RIGHT MARK" character if the argument string might need it.) | |
041d709f | 1828 | |
7d301ae6 | 1829 | This is useful when the buffer has overall left-to-right paragraph |
dfdb4cad CY |
1830 | direction and you need to insert a string whose contents are not known |
1831 | in advance, without disrupting the layout of the line. | |
041d709f | 1832 | |
bee0fcef | 1833 | ** Window changes |
dfdb4cad | 1834 | |
c4682d18 MR |
1835 | *** Window tree functions are accessible in Elisp. |
1836 | Functions are provided to return the parent, siblings or child windows | |
1837 | of any window including internal windows (windows not associated with a | |
1838 | buffer) in the window tree. | |
dfdb4cad | 1839 | |
24300f5f CY |
1840 | **** New function `window-valid-p' gives non-nil for live and internal |
1841 | windows. | |
dfdb4cad | 1842 | |
24300f5f | 1843 | **** Window manipulation can deal with internal windows. |
c4682d18 MR |
1844 | Many window handling functions like `split-window', `delete-window', or |
1845 | `delete-other-windows' as well as the window resizing functions can now | |
1846 | act on any window including internal ones. | |
dfdb4cad | 1847 | |
c4682d18 MR |
1848 | *** window-total-height/-width vs window-body-height/-width. |
1849 | The function `window-height' has been renamed to `window-total-height' | |
1850 | and `window-width' has been renamed to `window-body-width'. The old | |
1851 | names are provided as aliases. Two new functions `window-total-width' | |
1852 | and `window-body-height' are provided. | |
dfdb4cad | 1853 | |
c4682d18 MR |
1854 | *** Window parameters specific to window handling functions. |
1855 | For each window you can specify a parameter to override the default | |
1856 | behavior of a number of functions like `split-window', `delete-window' | |
ed6235ea MR |
1857 | and `delete-other-windows'. The variable `ignore-window-parameters' |
1858 | allows to ignore processing such parameters. | |
dfdb4cad | 1859 | |
c4682d18 | 1860 | *** New semantics of third argument of `split-window'. |
c4682d18 MR |
1861 | The third argument of `split-window' has been renamed to SIDE and can be |
1862 | set to any of the values 'below, 'right, 'above, or 'left to make the | |
1863 | new window appear on the corresponding side of the window that shall be | |
1864 | split. Any other value of SIDE will cause `split-window' to split the | |
1865 | window into two side-by-side windows as before. | |
dfdb4cad | 1866 | |
c4682d18 | 1867 | *** Window resizing functions. |
487ffd7a | 1868 | A new standard function for resizing windows called `window-resize' has |
c4682d18 MR |
1869 | been introduced. This and all other functions for resizing windows no |
1870 | longer delete any windows when they become too small. | |
dfdb4cad | 1871 | |
b3c0dbfd MR |
1872 | *** Deleting the selected window now selects the most recently selected |
1873 | live window on that frame instead. | |
dfdb4cad | 1874 | |
c4682d18 MR |
1875 | *** `adjust-window-trailing-edge' adjustments. |
1876 | `adjust-window-trailing-edge' can now deal with fixed-size windows and | |
1877 | is able to resize other windows if a window adjacent to the trailing | |
1878 | edge cannot be shrunk any more. This makes its behavior more similar to | |
1879 | that of Emacs 21 without compromising, however, its inability to delete | |
1880 | windows which was introduced in Emacs 22. | |
dfdb4cad | 1881 | |
c4682d18 MR |
1882 | *** Window-local buffer lists. |
1883 | Windows now have local buffer lists. This means that removing a buffer | |
1884 | from display in a window will preferably show the buffer previously | |
1885 | shown in that window with its previous window-start and window-point | |
1886 | positions. This also means that the same buffer may be automatically | |
1887 | shown twice even if it already appears in another window. | |
dfdb4cad | 1888 | |
bee0fcef CY |
1889 | *** `switch-to-buffer' has a new optional argument FORCE-SAME-WINDOW, |
1890 | which if non-nil requires the buffer to be displayed in the currently | |
1891 | selected window, signaling an error otherwise. If nil, another window | |
1892 | can be used, e.g. if the selected one is strongly dedicated. | |
dfdb4cad | 1893 | |
0a2132ba | 1894 | *** `split-window-vertically' and `split-window-horizontally' renamed |
2d197ffb CY |
1895 | to `split-window-below' and `split-window-right' respectively. |
1896 | The old names are kept as aliases. | |
dfdb4cad | 1897 | |
0a2132ba CY |
1898 | *** Display actions |
1899 | ||
1900 | **** The second arg to `display-buffer' and `pop-to-buffer' is now | |
1901 | named ACTION, and takes a display action of the same form as | |
1902 | `display-buffer-base-action' (see Changes, above). A non-nil, | |
1903 | non-list value is treated specially, as the old meaning. | |
1904 | ||
1905 | **** New variable `display-buffer-overriding-action'. | |
1906 | ||
1907 | **** The procedure of `display-buffer' etc. to choose a window is | |
1908 | determined by combining `display-buffer-overriding-action', | |
1909 | `display-buffer-alist', the ACTION arg, `display-buffer-base-action', | |
1910 | and `display-buffer-fallback-action'. The second and fourth of these | |
1911 | are user-customizable variables. | |
1912 | ||
1913 | See the docstring of `display-buffer' for details. | |
bee0fcef | 1914 | |
20d2304d CY |
1915 | *** New functions `window-state-get' and `window-state-put'. |
1916 | These functions allow to save and restore the state of an arbitrary | |
1917 | frame or window as an Elisp object. | |
1918 | ||
a2a25d24 | 1919 | ** Completion |
041d709f | 1920 | |
7d301ae6 CY |
1921 | *** New variable `completion-extra-properties' used to specify extra |
1922 | properties of the current completion: | |
a2a25d24 SM |
1923 | - :annotate-function, same as the old completion-annotate-function. |
1924 | - :exit-function, function to call after completion took place. | |
1925 | ||
7d301ae6 CY |
1926 | *** Functions on `completion-at-point-functions' can return any of the |
1927 | properties valid for `completion-extra-properties'. | |
a2a25d24 | 1928 | |
7d301ae6 | 1929 | *** `completion-annotate-function' is obsolete. |
a2a25d24 | 1930 | |
620c53a6 SM |
1931 | *** New `metadata' method for completion tables. The metadata thus returned |
1932 | can specify various details of the data returned by `all-completions': | |
1933 | - `category' is the kind of objects returned (e.g., `buffer', `file', ...), | |
1934 | used to select a style in completion-category-overrides. | |
1935 | - `annotation-function' to add annotations in *Completions*. | |
1936 | - `display-sort-function' to specify how to sort entries in *Completions*. | |
1937 | - `cycle-sort-function' to specify how to sort entries when cycling. | |
1938 | ||
7d301ae6 CY |
1939 | *** `minibuffer-local-filename-must-match-map' is not used any more. |
1940 | Instead, the bindings in `minibuffer-local-filename-completion-map' | |
1941 | are combined with `minibuffer-local-must-match-map'. | |
de09aa52 CY |
1942 | |
1943 | *** New variable `completing-read-function' allows overriding the | |
1944 | behavior of `completing-read'. | |
1945 | ||
f042970d | 1946 | ** `glyphless-char-display' can now distinguish between graphical and |
16a43933 CY |
1947 | text terminal display, via a char-table entry that is a cons cell. |
1948 | ||
7d301ae6 | 1949 | ** `pre-command-hook'/`post-command-hook' are not reset to nil on error. |
f6d62986 SM |
1950 | Instead, the offending function is removed. |
1951 | ||
b1f6fa26 CY |
1952 | ** New hook types |
1953 | ||
1954 | *** New function `run-hook-wrapped' for running an abnormal hook by | |
1955 | passing the hook functions as arguments to a "wrapping" function. | |
e7bc51d0 | 1956 | Like `run-hook-with-args-until-success', it stops at the first |
5385447f | 1957 | non-nil return value. |
e7bc51d0 | 1958 | |
b1f6fa26 CY |
1959 | *** New macro `with-wrapper-hook' for running an abnormal hook as a |
1960 | set of "wrapping" filters, similar to around advice. | |
54521c99 GM |
1961 | (A version of this macro was actually added in Emacs 23.2 but was not |
1962 | advertised at the time.) | |
f6d62986 | 1963 | |
0b19b281 | 1964 | ** Debugger changes |
dfdb4cad | 1965 | |
0b19b281 | 1966 | *** New macro `condition-case-unless-debug' (this was actually added in |
1be3ca5a | 1967 | Emacs 23.1 as condition-case-no-debug, but not advertised) |
dfdb4cad | 1968 | |
0b19b281 | 1969 | *** The macro `with-demoted-errors' was added in Emacs 23.1, but not advertised. |
dfdb4cad | 1970 | |
0b19b281 | 1971 | *** Variable `stack-trace-on-error' removed. |
dfdb4cad | 1972 | |
0b19b281 CY |
1973 | *** The debugger can now "continue" from an error, which means it will |
1974 | jump to the error handler as if the debugger had not been invoked | |
1975 | instead of jumping all the way to the top-level. | |
dfdb4cad | 1976 | |
0b19b281 CY |
1977 | *** Set `debug-on-event' to enter the debugger on events like SIGUSR1. |
1978 | This can be useful when `inhibit-quit' is set. | |
d6b1d521 | 1979 | |
7f7e0167 LI |
1980 | *** Set `debug-on-message' to enter the debugger when a certain |
1981 | message is displayed in the echo area. This can be useful when trying | |
1982 | to work out which code is doing something. | |
1983 | ||
953cebf5 | 1984 | ** The new function `server-eval-at' allows evaluation of Lisp forms on |
37576acd | 1985 | named Emacs server instances. |
7deebf1b | 1986 | |
1b9f60cc GM |
1987 | ** `call-process' and `call-process-region' allow a `(:file "file")' spec |
1988 | to redirect STDOUT to a file. | |
7deebf1b | 1989 | |
7d301ae6 CY |
1990 | ** The function `format-time-string' now supports the %N directive, |
1991 | for higher-resolution time stamps. | |
da97a9e6 | 1992 | |
0b19b281 | 1993 | ** New input reading functions |
dfdb4cad | 1994 | |
0b19b281 CY |
1995 | *** New function `read-char-choice' reads a restricted set of |
1996 | characters, discarding any inputs not inside the set. | |
dfdb4cad | 1997 | |
0b19b281 CY |
1998 | *** The command `read-color' now requires a match for a color name |
1999 | or RGB triplet, instead of signaling an error if the user provides | |
2000 | invalid input. | |
dfdb4cad | 2001 | |
0b19b281 | 2002 | **** `facemenu-read-color' is now an alias for `read-color'. |
3ef01959 | 2003 | |
2e288d54 JB |
2004 | ** `image-library-alist' is renamed to `dynamic-library-alist'. |
2005 | The variable is now used to load all kind of supported dynamic libraries, | |
2006 | not just image libraries. The previous name is still available as an | |
2007 | obsolete alias. | |
2008 | ||
0b19b281 | 2009 | ** Syntax parsing changes |
dfdb4cad | 2010 | |
0b19b281 | 2011 | *** New variable `syntax-propertize-function'. |
04e2ce72 | 2012 | This replaces `font-lock-syntactic-keywords' which is now obsolete. |
cf38dd42 SM |
2013 | This allows syntax-table properties to be set independently from font-lock: |
2014 | just call syntax-propertize to make sure the text is propertized. | |
2015 | Together with this new variable come a new hook | |
2016 | syntax-propertize-extend-region-functions, as well as two helper functions: | |
2017 | syntax-propertize-via-font-lock to reuse old font-lock-syntactic-keywords | |
2018 | as-is; and syntax-propertize-rules which provides a new way to specify | |
2019 | syntactic rules. | |
dfdb4cad | 2020 | |
0b19b281 | 2021 | *** Syntax tables support a new "comment style c" additionally to style b. |
a2e5caf7 | 2022 | |
7d301ae6 | 2023 | ** New hook `post-self-insert-hook', run after `self-insert-command'. |
041d709f | 2024 | |
4e2db1fe | 2025 | ** frame-local variables cannot be let-bound any more. |
041d709f | 2026 | |
15de15c6 | 2027 | ** Major and minor mode changes |
dfdb4cad | 2028 | |
0b19b281 CY |
2029 | *** `set-auto-mode' now respects mode: local variables at the end of files, |
2030 | as well as those in the -*- line. | |
dfdb4cad | 2031 | |
15de15c6 CY |
2032 | *** `prog-mode' is a new major mode from which programming modes |
2033 | should be derived. | |
dfdb4cad | 2034 | |
15de15c6 CY |
2035 | **** `prog-mode-hook' can be used to enable features for programming |
2036 | modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable | |
2037 | on-the-fly spell checking for comments and strings. | |
dfdb4cad | 2038 | |
15de15c6 CY |
2039 | *** New hook `change-major-mode-after-body-hook', run by |
2040 | `run-mode-hooks' just before any other mode hooks. | |
dfdb4cad | 2041 | |
7a9a2fc6 GM |
2042 | *** Enabled globalized minor modes can be disabled in specific major modes. |
2043 | If the global mode is global-FOO-mode, then run (FOO-mode -1) in the | |
2044 | major mode's hook, where FOO-mode toggles the mode on a per-buffer basis. | |
dfdb4cad | 2045 | |
feb8a83a | 2046 | *** `define-minor-mode' accepts new keywords :variable, :after-hook. |
f44379e7 | 2047 | |
7d301ae6 CY |
2048 | ** File-handling changes |
2049 | ||
7d301ae6 | 2050 | *** `delete-file' and `delete-directory' now accept optional arg TRASH. |
f1a5d776 CY |
2051 | Trashing is performed if TRASH and `delete-by-moving-to-trash' are |
2052 | both non-nil. Interactively, TRASH defaults to t, unless a prefix | |
2053 | argument is supplied (see Trash changes, above). | |
53967e09 | 2054 | |
7d301ae6 | 2055 | *** New file predicates: `file-equal-p', `file-in-directory-p'. |
ec70a47d | 2056 | |
4039c786 CY |
2057 | ** Tool-bars can display separators. |
2058 | Tool-bar separators are handled like menu separators in menu-bar maps, | |
94975270 | 2059 | i.e. via menu entries of the form `(menu-item "--")'. |
9317e499 | 2060 | |
00fe2df1 JL |
2061 | ** Image API |
2062 | ||
18af70d0 CY |
2063 | *** Animated images support (currently animated gifs only). |
2064 | ||
2065 | **** `image-animated-p' returns non-nil if an image can be animated. | |
2066 | ||
2067 | **** `image-animate' animates a supplied image spec. | |
2068 | ||
2069 | **** `image-animate-timer' returns the timer object for an image that | |
2070 | is being animated. | |
00fe2df1 | 2071 | |
7cb76fe0 GM |
2072 | *** `image-extension-data' has been renamed to `image-metadata'. |
2073 | The old name is an obsolete alias to the new one. | |
1546c559 | 2074 | |
b4ac6e8c GM |
2075 | *** Image mode can view any image type that ImageMagick supports. |
2076 | This requires Emacs to be built with ImageMagick support. | |
7d301ae6 CY |
2077 | |
2078 | **** New function `imagemagick-types', defined if ImageMagick support | |
2079 | is enabled, returns a list of image file extensions that your | |
2080 | ImageMagick installation supports. | |
2081 | ||
2082 | **** New function `imagemagick-register-types' enables ImageMagick | |
2083 | image types in Image mode and in `create-image' and other helper | |
2084 | functions. | |
2085 | ||
2086 | **** New option `imagemagick-types-inhibit' excludes certain | |
2087 | ImageMagick image types from `imagemagick-register-types'. | |
2088 | ||
7d301ae6 CY |
2089 | **** With ImageMagick support, there are extra Image mode commands to |
2090 | resize and rotate images: `image-transform-fit-to-height', | |
2091 | `image-transform-fit-to-width', `image-transform-set-rotation', and | |
2092 | `image-transform-set-scale'. | |
041d709f | 2093 | |
7d301ae6 CY |
2094 | ** `compose-mail' now accepts an optional 8th arg, RETURN-ACTION, and |
2095 | passes it to the mail user agent function. This argument specifies an | |
2096 | action for returning to the caller after finishing with the mail. For | |
2097 | example, this is used by Rmail to optionally delete a mail window. | |
b4ac6e8c | 2098 | |
71c17aec | 2099 | ** XML and HTML parsing |
483ab230 CY |
2100 | If Emacs is compiled with libxml2 support, there are two new |
2101 | functions: `libxml-parse-html-region' (which parses "real world" HTML) | |
2102 | and `libxml-parse-xml-region' (which parses XML). Both return an | |
2103 | Emacs Lisp parse tree. | |
4b9832a6 | 2104 | |
7d301ae6 | 2105 | ** Networking and encryption changes |
e2574f2c | 2106 | |
7d301ae6 CY |
2107 | *** `open-network-stream' can now be used to open an encrypted stream. |
2108 | It now accepts an optional `:type' parameter for initiating a TLS | |
2109 | connection, directly or via STARTTLS. To do STARTTLS, additional | |
2110 | parameters (`:end-of-command', `:success', `:capabilities-command') | |
2111 | must also be supplied. | |
2112 | ||
2113 | *** New library gnutls.el. | |
dfdb4cad CY |
2114 | The new function `gnutls-available-p' returns non-nil if Emacs is |
2115 | built with GnuTLS support. The main entry points are | |
2116 | `open-gnutls-stream' and `gnutls-negotiate'. It's easiest to use | |
2117 | these functions through `open-network-stream', because that can | |
7d301ae6 CY |
2118 | upgrade connections through STARTTLS opportunistically or use plain |
2119 | SSL, depending on your needs. For debugging, set `gnutls-log-level' | |
2120 | greater than 0. | |
2121 | ||
7d301ae6 CY |
2122 | *** New primitive `secure-hash' that supports many secure hash algorithms: |
2123 | md5, sha1, sha2, sha224, sha256, sha384, and sha512. The lisp library | |
2124 | sha1.el has been removed. The `sha1' feature is provided by default. | |
71c17aec | 2125 | |
a6020335 MH |
2126 | ** Isearch |
2127 | ||
2128 | *** New hook `isearch-update-post-hook' that runs in `isearch-update'. | |
2129 | ||
9326ba26 CY |
2130 | ** Progress reporters can now "spin". |
2131 | The MIN-VALUE and MAX-VALUE arguments of `make-progress-reporter' can | |
2132 | now be nil, or omitted. This makes a "non-numeric" reporter. Each | |
2133 | time you call `progress-reporter-update' on that progress reporter, | |
2134 | with a nil or omitted VALUE argument, the reporter message is | |
2135 | displayed with a "spinning bar". | |
2136 | ||
3e214b50 JB |
2137 | ** New variable `revert-buffer-in-progress-p' is true while a buffer is |
2138 | being reverted, even if the buffer has a local `revert-buffer-function'. | |
2139 | ||
001bf877 GM |
2140 | ** New variables `delayed-warnings-list' and `delayed-warnings-hook'. |
2141 | If delayed-warnings-list is non-nil, the command loop calls | |
7d301ae6 CY |
2142 | `delayed-warnings-hook' after `post-command-hook'. At present, this |
2143 | is only used by Emacs on some platforms to display warnings during | |
2144 | startup, which might otherwise not be noticed. This uses the | |
2145 | functions `display-delayed-warnings' and `collapse-delayed-warnings'. | |
001bf877 | 2146 | |
6420d28b CY |
2147 | ** rx.el has a new `group-n' construct for explicitly numbered groups. |
2148 | ||
dac86404 GM |
2149 | ** New function `make-composed-keymap' that constructs a new keymap |
2150 | from multiple input maps. You can use this to make a keymap that | |
2151 | inherits from multiple maps, eg: | |
2152 | (set-keymap-parent newmap (make-composed-keymap othermap parent)) | |
43dc9f5b | 2153 | |
c8f6ec5c GM |
2154 | ** New function `string-prefix-p'. |
2155 | (This was actually added in Emacs 23.2 but was not advertised at the time.) | |
2156 | ||
27f7ef2f | 2157 | ** New reader macro ## that stands for the empty symbol. |
43dc9f5b AS |
2158 | This means that the empty symbol can now be read back. Also, #: by itself |
2159 | (when not immediately followed by a possible symbol character) stands for | |
2160 | an empty uninterned symbol. | |
041d709f | 2161 | |
fead402d CY |
2162 | ** New math functions `isnan', `copysign', `frexp', `ldexp'. |
2163 | ||
7d301ae6 | 2164 | ** The following functions and variables are obsolete: |
041d709f | 2165 | |
05f77e38 GM |
2166 | *** `tooltip-use-echo-area' is obsolete. |
2167 | Rather than setting this to t, disable Tooltip mode instead. | |
2168 | ||
041d709f CY |
2169 | *** buffer-substring-filters is obsolete. |
2170 | Use `filter-buffer-substring-functions' instead. | |
2171 | ||
2172 | *** `byte-compile-disable-print-circle' is obsolete. | |
2173 | ||
2174 | *** `deferred-action-list' and `deferred-action-function' are obsolete. | |
f160676e GM |
2175 | Use `post-command-hook' instead. |
2176 | ||
67e729a5 CY |
2177 | *** `font-lock-maximum-size' is obsolete. |
2178 | ||
eb199145 GM |
2179 | \f |
2180 | * Changes in Emacs 24.1 on non-free operating systems | |
d53a60a6 | 2181 | |
7a22e700 | 2182 | ** On MS Windows, Emacs warns when using the obsolete init file _emacs, |
a2f0118c GM |
2183 | and also when HOME is set to C:\ by default. |
2184 | ||
7a22e700 | 2185 | ** New configure.bat options |
04779484 | 2186 | |
7a22e700 | 2187 | *** --enable-checking builds Emacs with extra runtime checks. |
e3aef5c6 | 2188 | |
7a22e700 | 2189 | *** --distfiles specifies files to be included in binary distribution. |
e2574f2c | 2190 | |
7a22e700 OK |
2191 | *** --without-gnutls disables automatic GnuTLS detection. |
2192 | ||
a0d363f4 | 2193 | *** --lib for general library linkage, works with the USER_LIBS build variable. |
e2574f2c | 2194 | |
0a19a6f8 | 2195 | ** New make target `dist' to create binary distribution for MS Windows. |
e3aef5c6 | 2196 | |
1f5e1a16 GM |
2197 | ** The Lisp function `w32-default-color-map' is now obsolete. |
2198 | (It is only used internally in the Emacs C code.) | |
5430d399 | 2199 | |
1f5e1a16 GM |
2200 | ** Customize ns-auto-hide-menu-bar to have the menu-bar hidden, but |
2201 | reappear on mouse-over. (Requires OS X 10.6 or later.) | |
04e2ce72 | 2202 | |
ad7c802c CY |
2203 | ** On Mac OS X, dragging a file into Emacs visits the file, like on |
2204 | other platforms, rather than inserting its contents into the buffer. | |
2205 | ||
05197f40 | 2206 | \f |
a933dad1 | 2207 | ---------------------------------------------------------------------- |
5b87ad55 | 2208 | This file is part of GNU Emacs. |
a933dad1 | 2209 | |
ab73e885 | 2210 | GNU Emacs is free software: you can redistribute it and/or modify |
5b87ad55 | 2211 | it under the terms of the GNU General Public License as published by |
ab73e885 GM |
2212 | the Free Software Foundation, either version 3 of the License, or |
2213 | (at your option) any later version. | |
5b87ad55 GM |
2214 | |
2215 | GNU Emacs is distributed in the hope that it will be useful, | |
2216 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
2217 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
2218 | GNU General Public License for more details. | |
a933dad1 | 2219 | |
5b87ad55 | 2220 | You should have received a copy of the GNU General Public License |
ab73e885 | 2221 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
a933dad1 | 2222 | |
05197f40 | 2223 | \f |
a933dad1 DL |
2224 | Local variables: |
2225 | mode: outline | |
2226 | paragraph-separate: "[ \f]*$" | |
2227 | end: |