aboutsummaryrefslogtreecommitdiffstats
path: root/etc/NEWS
diff options
context:
space:
mode:
authorStefan Monnier2010-12-10 19:13:08 -0500
committerStefan Monnier2010-12-10 19:13:08 -0500
commit2c302df3a13236bfbf8ea1b771d13618fcda8d71 (patch)
treef26dc9f22861dc37610de319d05255de058c221b /etc/NEWS
parent0c747cb143fa227e78f350ac353d703f489209df (diff)
parent175069efeb080517afefdd44a06f7a779ea8c25c (diff)
downloademacs-2c302df3a13236bfbf8ea1b771d13618fcda8d71.tar.gz
emacs-2c302df3a13236bfbf8ea1b771d13618fcda8d71.zip
Merge from trunk
Diffstat (limited to 'etc/NEWS')
-rw-r--r--etc/NEWS220
1 files changed, 123 insertions, 97 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 038eb4d8707..5972481358c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -38,10 +38,6 @@ These provide no new functionality, they just remove the need to edit
38lib-src/Makefile by hand in order to use the associated features. 38lib-src/Makefile by hand in order to use the associated features.
39 39
40--- 40---
41** There is a new configure option --with-crt-dir.
42This is only useful if your crt*.o files are in a non-standard location.
43
44---
45** Emacs can be compiled against Gtk+ 3.0 if you pass --with-x-toolkit=gtk3 41** Emacs can be compiled against Gtk+ 3.0 if you pass --with-x-toolkit=gtk3
46to configure. Note that other libraries used by Emacs, RSVG and GConf, 42to configure. Note that other libraries used by Emacs, RSVG and GConf,
47also depend on Gtk+. You can disable them with --without-rsvg and 43also depend on Gtk+. You can disable them with --without-rsvg and
@@ -60,8 +56,8 @@ automatically select it.
60* Startup Changes in Emacs 24.1 56* Startup Changes in Emacs 24.1
61 57
62** The --unibyte, --multibyte, --no-multibyte, and --no-unibyte 58** The --unibyte, --multibyte, --no-multibyte, and --no-unibyte
63command line arguments no longer have any effect. (They were declared 59command line arguments, and the EMACS_UNIBYTE environment variable, no
64obsolete in Emacs 23.) 60longer have any effect. (They were declared obsolete in Emacs 23.)
65 61
66 62
67* Changes in Emacs 24.1 63* Changes in Emacs 24.1
@@ -138,7 +134,23 @@ theme when Emacs is built with GTK.
138off by customizing x-gtk-use-system-tooltips. 134off by customizing x-gtk-use-system-tooltips.
139 135
140** Lucid menus and dialogs can display antialiased fonts if Emacs is built 136** Lucid menus and dialogs can display antialiased fonts if Emacs is built
141with Xft. 137with Xft. To change font, use X resource faceName, for example:
138Emacs.pane.menubar.faceName: Courier-12
139Set faceName to none and use font to use the old X fonts.
140
141+++
142** Enhanced support for characters that have no glyphs in available fonts
143If a character has no glyphs in any of the available fonts, Emacs by
144default will display it either as a hexadecimal code in a box or as a
145thin 1-pixel space. In addition to these two methods, Emacs can
146display these characters as empty box, as an acronym, or not display
147them at all. To change how these characters are displayed, customize
148the variable `glyphless-char-display-control'.
149
150On character terminals these methods are used for characters that
151cannot be encoded by the `terminal-coding-system'.
152
153** On graphical displays, the mode-line no longer ends in dashes.
142 154
143** Basic SELinux support has been added. 155** Basic SELinux support has been added.
144This requires Emacs to be linked with libselinux at build time. 156This requires Emacs to be linked with libselinux at build time.
@@ -183,7 +195,7 @@ for `list-colors-display'.
183 195
184** An Emacs Lisp package manager is now included. 196** An Emacs Lisp package manager is now included.
185This is a convenient way to download and install additional packages, 197This is a convenient way to download and install additional packages,
186from elpa.gnu.org. 198from a package repository at elpa.gnu.org.
187 199
188*** `M-x list-packages' shows a list of packages, which can be 200*** `M-x list-packages' shows a list of packages, which can be
189selected for installation. 201selected for installation.
@@ -199,13 +211,26 @@ loaded, customize `package-load-list'.
199 211
200*** `M-x customize-themes' lists Custom themes which can be enabled. 212*** `M-x customize-themes' lists Custom themes which can be enabled.
201 213
214*** New option `custom-theme-load-path' is the load path for themes.
215Emacs no longer looks for custom themes in `load-path'. The default
216is to search in `custom-theme-directory', followed by a built-in theme
217directory named "themes/" in `data-directory'.
218
202** The user option `remote-file-name-inhibit-cache' controls whether 219** The user option `remote-file-name-inhibit-cache' controls whether
203the remote file-name cache is used for read access. 220the remote file-name cache is used for read access.
204 221
222** The standalone programs lib-src/digest-doc and sorted-doc have been
223replaced with Lisp commands `doc-file-to-man' and `doc-file-to-info'.
224
205 225
206* Editing Changes in Emacs 24.1 226* Editing Changes in Emacs 24.1
207 227
208** completion-at-point is now an alias for complete-symbol. 228+++
229** There is a new command `count-words-region', which does what you expect.
230
231** completion-at-point now handles tags and semantic completion.
232
233** The default value of `backup-by-copying-when-mismatch' is now t.
209 234
210** Deletion changes 235** Deletion changes
211 236
@@ -215,8 +240,8 @@ and no prefix argument is given. If set to `kill', these commands
215kill instead. 240kill instead.
216 241
217*** New command `delete-forward-char', bound to C-d and [delete]. 242*** New command `delete-forward-char', bound to C-d and [delete].
218This is meant for interactive use, and obeys `delete-active-region'; 243This is meant for interactive use, and obeys `delete-active-region'.
219delete-char, meant for Lisp, does not obey `delete-active-region'. 244The command `delete-char' does not obey `delete-active-region'.
220 245
221*** `delete-backward-char' is now a Lisp function. 246*** `delete-backward-char' is now a Lisp function.
222Apart from obeying `delete-active-region', its behavior is unchanged. 247Apart from obeying `delete-active-region', its behavior is unchanged.
@@ -228,76 +253,73 @@ should use delete-char with a negative argument instead.
228** Selection changes. 253** Selection changes.
229 254
230The default handling of clipboard and primary selections has been 255The default handling of clipboard and primary selections has been
231changed to conform with other X applications. 256changed to conform with other X applications. The exact changes are
232 257described below; in short, mouse commands to select and paste text now
233The new behavior is that by default Emacs does not put text into the 258use the primary selection, while all other commands for killing and
234clipboard, and does not add it to kill-ring, merely because the text 259yanking text now use the clipboard.
235was selected. Only commands that kill text or copy it to the 260
236kill-ring (C-w, M-w, C-k, etc.) put the killed text into the 261*** Merely selecting text (e.g. with drag-mouse-1) does not add it to
237clipboard. Selected text is put into the primary selection (on 262the kill-ring. On systems with a primary selection separate from the
238systems, such as X, that support the primary selection separately from 263clipboard (such as X), the selected text is put in the primary
239the clipboard). 264selection.
240
241Similarly, Emacs by default does not retrieve text from the clipboard
242when the mouse (e.g., mouse-2) is used for pasting text selected in
243another application. Text from the clipboard is retrieved only by
244C-y, M-y and other commands that yank text from the kill-ring. Mouse
245commands that paste text retrieve text from the primary selection, on
246systems that support it separately from the clipboard.
247
248In other words, the default behavior is that mouse gestures that
249select and paste text work with the primary selection, while keyboard
250commands that kill/copy and paste text work with the clipboard.
251
252This change also means that the "Copy", "Cut", and "Paste" items of
253the menu-bar "Edit" menu are now exactly equivalent to, respectively
254M-w, C-w, and C-y.
255
256To get back the previous behavior, whereby mouse gestures set the
257clipboard and retrieve text from there, customize the variables
258`mouse-drag-copy-region' and (on X only) `x-select-enable-primary'.
259If you don't want Emacs to put the text into the clipboard, only to
260the primary selection, additionally customize
261`x-select-enable-clipboard' to nil.
262
263These changes in the default behavior are reflected in the default
264values of several variables:
265
266*** `select-active-regions' now defaults to t, so active regions set
267the primary selection. It was nil in previous versions.
268 265
266*** mouse-2 is now bound to `mouse-yank-primary', which pastes from
267the primary selection regardless of the contents of the kill-ring.
268
269*** Commands that kill text or copy it to the kill-ring (M-w, C-w,
270C-k, etc.) also put the killed text into the clipboard. This change
271also means that the "Copy", "Cut", and "Paste" items in the "Edit"
272menu are now exactly equivalent to, respectively M-w, C-w, and C-y.
273
274*** Yank commands, such as C-y and M-y, retrieve text from the
275clipboard if it is available.
276
277*** The above changes are reflected in the following new defaults:
278
279**** `select-active-regions' now defaults to t.
269It also accepts a new value, `only', which means to only set the 280It also accepts a new value, `only', which means to only set the
270primary selection for temporarily active regions (usually made by 281primary selection for temporarily active regions (usually made by
271mouse-dragging or shift-selection). 282mouse-dragging or shift-selection).
272 283
273*** `mouse-2' is now bound to `mouse-yank-primary'. 284**** `mouse-2' is now bound to `mouse-yank-primary'.
274Previously, it was bound to `mouse-yank-at-click' (which is now 285Previously, it was bound to `mouse-yank-at-click' (which is now
275unbound by default. 286unbound by default).
276 287
277*** `x-select-enable-clipboard' now defaults to t on all platforms. 288**** `x-select-enable-clipboard' now defaults to t on all platforms.
278Thus, killing and yanking now use the clipboard (in addition to the 289Note that this variable was already non-nil by default on MS-Windows,
279kill ring). Note that this variable was already non-nil by default on 290which does not support the primary selection between applications.
280MS-Windows, which does not support the primary selection between
281applications.
282 291
283*** `x-select-enable-primary' now defaults to nil. 292**** `x-select-enable-primary' now defaults to nil.
284This variable exists only on X; its default value was t in previous 293This variable exists only on X; its default value was t in previous
285versions. 294versions.
286 295
287*** `mouse-drag-copy-region' now defaults to nil. 296**** `mouse-drag-copy-region' now defaults to nil.
288Its previous default value was t. 297
298*** To return to the previous behavior, where mouse commands use the
299clipboard, change `mouse-drag-copy-region' and (on X only)
300`x-select-enable-primary' to t. If you don't want Emacs to put the
301text into the clipboard, only to the primary selection, additionally
302set `x-select-enable-clipboard' to nil.
289 303
290*** Support for X cut buffers has been removed. 304*** Support for X cut buffers has been removed.
291 305
292 306
293* Changes in Specialized Modes and Packages in Emacs 24.1 307* Changes in Specialized Modes and Packages in Emacs 24.1
294 308
309** shell-mode can track your cwd by reading it from your prompt.
310Just set shell-dir-cookie-re to an appropriate regexp.
311
312** Modula-2 mode provides auto-indentation.
313
295** latex-electric-env-pair-mode keeps \begin..\end matched on the fly. 314** latex-electric-env-pair-mode keeps \begin..\end matched on the fly.
296 315
297** FIXME: xdg-open for browse-url and reportbug, 2010/08. 316** FIXME: xdg-open for browse-url and reportbug, 2010/08.
298 317
299** Archive Mode has basic support to browse 7z archives. 318** Archive Mode has basic support to browse 7z archives.
300 319
320** browse-url has gotten a new variable that is used for mailto: URLs,
321 `browse-url-mailto-function', which defaults to `browse-url-mail'.
322
301** ERC changes 323** ERC changes
302 324
303*** New vars `erc-autojoin-timing' and `erc-autojoin-delay'. 325*** New vars `erc-autojoin-timing' and `erc-autojoin-delay'.
@@ -306,6 +328,11 @@ successful NickServ identification, or after `erc-autojoin-delay'
306seconds. The default value, 'ident, means to autojoin immediately 328seconds. The default value, 'ident, means to autojoin immediately
307after connecting. 329after connecting.
308 330
331*** New variable `erc-coding-system-precedence': If we use `undecided'
332as the server coding system, this variable will then be consulted.
333The default is to decode strings that can be decoded as utf-8 as
334utf-8, and do the normal `undecided' decoding for the rest.
335
309** In ido-mode, C-v is no longer bound to ido-toggle-vc. 336** In ido-mode, C-v is no longer bound to ido-toggle-vc.
310The reason is that this interferes with cua-mode. 337The reason is that this interferes with cua-mode.
311 338
@@ -316,6 +343,8 @@ You can get a comparable behavior with:
316 343
317** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags. 344** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags.
318 345
346** server can listen on a specific port using the server-port option.
347
319** Calendar, Diary, and Appt 348** Calendar, Diary, and Appt
320 349
321--- 350---
@@ -335,7 +364,7 @@ view-diary-entries, list-diary-entries, show-all-diary-entries
335 364
336*** Customize buffers now contain a search field. 365*** Customize buffers now contain a search field.
337The search is performed using `customize-apropos'. 366The search is performed using `customize-apropos'.
338To turn off the search field, set custom-search-field to nil . 367To turn off the search field, set custom-search-field to nil.
339 368
340*** Custom options now start out hidden if at their default values. 369*** Custom options now start out hidden if at their default values.
341Use the arrow to the left of the option name to toggle visibility. 370Use the arrow to the left of the option name to toggle visibility.
@@ -350,41 +379,6 @@ choose a color via list-colors-display.
350*** dired-jump and dired-jump-other-window called with a prefix argument 379*** dired-jump and dired-jump-other-window called with a prefix argument
351read a file name from the minibuffer instead of using buffer-file-name. 380read a file name from the minibuffer instead of using buffer-file-name.
352 381
353** VC and related modes
354
355*** New VC commands: vc-log-incoming, vc-log-outgoing, vc-find-conflicted-file.
356
357**** vc-log-incoming for Git runs "git fetch" so that the necessary
358data is available locally.
359
360**** vc-log-incoming and vc-log-outgoing for Git require version 1.7 (or newer).
361
362*** New key bindings: C-x v I and C-x v O bound to vc-log-incoming and
363vc-log-outgoing, respectively.
364
365*** The 'g' key in VC diff, log, log-incoming and log-outgoing buffers
366reruns the corresponding VC command to compute an up to date version
367of the buffer.
368
369*** vc-dir for Bzr supports viewing shelve contents and shelving snapshots.
370
371*** Special markup can be added to log-edit buffers.
372The log-edit buffers are expected to have a format similar to email messages
373with headers of the form:
374 Author: <author of this change>
375 Summary: <one line summary of this change>
376 Fixes: <reference to the bug fixed by this change>
377Some backends handle some of those headers specially, but any unknown header
378is just left as is in the message, so it is not lost.
379
380**** vc-git handles Author: and Date:
381**** vc-hg handles Author: and Date:
382**** vc-bzr handles Author:, Date: and Fixes:
383**** vc-mtn handles Author: and Date:
384
385*** Pressing g in a *vc-diff* buffer reruns vc-diff, so it will
386produce an up to date diff.
387
388** Directory local variables can apply to file-less buffers. 382** Directory local variables can apply to file-less buffers.
389For example, adding "(diff-mode . ((mode . whitespace)))" to your 383For example, adding "(diff-mode . ((mode . whitespace)))" to your
390.dir-locals.el file, will turn on `whitespace-mode' for *vc-diff* buffers. 384.dir-locals.el file, will turn on `whitespace-mode' for *vc-diff* buffers.
@@ -551,15 +545,32 @@ system or session bus.
551*** The following access methods are discontinued: "ssh1_old", 545*** The following access methods are discontinued: "ssh1_old",
552"ssh2_old", "scp1_old", "scp2_old" and "fish". 546"ssh2_old", "scp1_old", "scp2_old" and "fish".
553 547
548** VC and related modes
549
550*** Support for pulling on distributed version control systems.
551The vc-update command now runs a "pull" operation, if it is supported.
552This updates the current branch from upstream. A prefix argument
553means to prompt the user for command specifics, e.g. a pull location.
554
555**** vc-pull is an alias for vc-update.
556
557**** Currently supported by Bzr.
558
559*** Support for merging on distributed version control systems.
560The vc-merge command now runs a "merge" operation, if it is supported.
561This merges another branch into the current one. A prefix argument
562means to prompt the user for command specifics, e.g. a merge location.
563
564**** Currently supported by Bzr.
565
554 566
555* New Modes and Packages in Emacs 24.1 567* New Modes and Packages in Emacs 24.1
556 568
557** New global minor modes electric-pair-mode and electric-indent-mode. 569** New global minor modes electric-pair-mode, electric-indent-mode,
570and electric-layout-mode.
558 571
559** pcase.el provides the ML-style pattern matching macro `pcase'. 572** pcase.el provides the ML-style pattern matching macro `pcase'.
560 573
561** smie.el is a package providing a simple generic indentation engine.
562
563** secrets.el is an implementation of the Secret Service API, an 574** secrets.el is an implementation of the Secret Service API, an
564interface to password managers like GNOME Keyring or KDE Wallet. The 575interface to password managers like GNOME Keyring or KDE Wallet. The
565Secret Service API requires D-Bus for communication. The command 576Secret Service API requires D-Bus for communication. The command
@@ -572,6 +583,13 @@ Notifications API. It requires D-Bus for communication.
572 583
573* Incompatible Lisp Changes in Emacs 24.1 584* Incompatible Lisp Changes in Emacs 24.1
574 585
586** For mouse click input events in the text area, the Y pixel
587coordinate in the POSITION list now counts from the top of the text
588area, excluding any header line. Previously, it counted from the top
589of the header line.
590
591** Remove obsolete name `e' (use `float-e' instead).
592
575** A backquote not followed by a space is now always treated as new-style. 593** A backquote not followed by a space is now always treated as new-style.
576 594
577** Test for special mode-class was moved from view-file to view-buffer. 595** Test for special mode-class was moved from view-file to view-buffer.
@@ -615,6 +633,8 @@ font-lock-defaults-alist
615** The following files, obsolete since at least Emacs 21.1, have been removed: 633** The following files, obsolete since at least Emacs 21.1, have been removed:
616sc.el, x-menu.el, rnews.el, rnewspost.el 634sc.el, x-menu.el, rnews.el, rnewspost.el
617 635
636** FIXME finder-inf.el changes.
637
618 638
619* Lisp changes in Emacs 24.1 639* Lisp changes in Emacs 24.1
620 640
@@ -650,6 +670,12 @@ argument is supplied (see Trash changes, above).
650 670
651** New completion style `substring'. 671** New completion style `substring'.
652 672
673** `facemenu-read-color' is now an alias for `read-color'.
674The command `read-color' now requires a match for a color name or RGB
675triplet, instead of signalling an error if the user provides a invalid
676input.
677
678
653** Image API 679** Image API
654 680
655*** When the image type is one of listed in `image-animated-types' 681*** When the image type is one of listed in `image-animated-types'