aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2012-11-13 16:17:18 +0200
committerEli Zaretskii2012-11-13 16:17:18 +0200
commit3c4ca7155293ffc2d04708007131bcbc882d8913 (patch)
tree61787be8cd43b6fb3d5159852fbd186eea404de7 /etc
parent5ade42a5114255c43117065494b96d480c1e1588 (diff)
parentc708524567662c8911c5ab2695acc7bda0383705 (diff)
downloademacs-3c4ca7155293ffc2d04708007131bcbc882d8913.tar.gz
emacs-3c4ca7155293ffc2d04708007131bcbc882d8913.zip
Merge from trunk.
Diffstat (limited to 'etc')
-rw-r--r--etc/ERC-NEWS4
-rw-r--r--etc/GNUS-NEWS3
-rw-r--r--etc/NEWS269
3 files changed, 167 insertions, 109 deletions
diff --git a/etc/ERC-NEWS b/etc/ERC-NEWS
index 68b4e7e8168..a1c7b7012f8 100644
--- a/etc/ERC-NEWS
+++ b/etc/ERC-NEWS
@@ -1,8 +1,10 @@
1ERC NEWS -*- outline -*- 1ERC NEWS -*- outline -*-
2 2
3Copyright (C) 2006-2012 Free Software Foundation, Inc. 3Copyright (C) 2006-2012 Free Software Foundation, Inc.
4See the end of the file for license conditions. 4See the end of the file for license conditions.
5 5
6* For changes after ERC 5.3, see the main Emacs NEWS file
7
6* Changes in ERC 5.3 8* Changes in ERC 5.3
7 9
8** New function `erc-tls' is to be used for connecting to a server via TLS. 10** New function `erc-tls' is to be used for connecting to a server via TLS.
diff --git a/etc/GNUS-NEWS b/etc/GNUS-NEWS
index c5fca9de929..2417c1c35ce 100644
--- a/etc/GNUS-NEWS
+++ b/etc/GNUS-NEWS
@@ -9,6 +9,9 @@ For older news, see Gnus info node "New Features".
9 9
10* New features 10* New features
11 11
12** New package `gnus-notifications.el' can send notifications when you
13 receive new messages.
14
12** If you have the "tnef" program installed, Gnus will display ms-tnef 15** If you have the "tnef" program installed, Gnus will display ms-tnef
13 files, aka "winmail.dat". 16 files, aka "winmail.dat".
14 17
diff --git a/etc/NEWS b/etc/NEWS
index 31a4909f8d9..fbe24c8345f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -21,6 +21,46 @@ When you add a new item, please add it without either +++ or ---
21so we will look at it and add it to the manual. 21so we will look at it and add it to the manual.
22 22
23 23
24* Installation Changes in Emacs 24.4
25* Startup Changes in Emacs 24.4
26* Changes in Emacs 24.4
27* Editing Changes in Emacs 24.4
28
29
30* Changes in Specialized Modes and Packages in Emacs 24.4
31
32+++
33** New function `ses-rename-cell' to give SES cells arbitrary names.
34
35
36* New Modes and Packages in Emacs 24.4
37** New nadvice.el package offering lighter-weight advice facilities.
38It is layered as:
39- add-function/remove-function which can be used to add/remove code on any
40 function-carrying place, such as process-filters or `<foo>-function' hooks.
41- advice-add/advice-remove to add/remove a piece of advice on a named function,
42 much like `defadvice' does.
43
44* Incompatible Lisp Changes in Emacs 24.4
45
46** `defadvice' does not honor the `freeze' flag any more.
47
48** `dolist' in lexical-binding mode does not bind VAR in RESULT any more.
49VAR was bound to nil which was not tremendously useful and just lead to
50spurious warnings about an unused var.
51
52* Lisp changes in Emacs 24.4
53
54** New function special-form-p.
55** Docstrings can be made dynamic by adding a `dynamic-docstring-function'
56text-property on the first char.
57
58** The `defalias-fset-function' property lets you catch calls to defalias
59and redirect them to your own function instead of `fset'.
60
61* Changes in Emacs 24.4 on non-free operating systems
62
63
24* Installation Changes in Emacs 24.3 64* Installation Changes in Emacs 24.3
25 65
26--- 66---
@@ -127,15 +167,15 @@ autoloads have been redefined as functions).
127--- 167---
128*** In minibuffer filename prompts, `C-M-f' and `C-M-b' now move to the 168*** In minibuffer filename prompts, `C-M-f' and `C-M-b' now move to the
129next and previous path separator, respectively. 169next and previous path separator, respectively.
130 170+++
131*** minibuffer-electric-default-mode can rewrite (default ...) to [...]. 171*** minibuffer-electric-default-mode can rewrite (default ...) to [...].
132Just set minibuffer-eldef-shorten-default to t before enabling the mode. 172Just set minibuffer-eldef-shorten-default to t before enabling the mode.
133 173
174+++
134** ImageMagick support, if available, is automatically enabled. 175** ImageMagick support, if available, is automatically enabled.
135It is no longer necessary to call `imagemagick-register-types' 176It is no longer necessary to call `imagemagick-register-types'
136explicitly to install ImageMagick image types; that function is called 177explicitly to install ImageMagick image types; that function is called
137automatically at startup, or when customizing a relevant imagemagick- 178automatically at startup, or when customizing an imagemagick- option.
138option.
139+++ 179+++
140*** Setting `imagemagick-types-inhibit' to t now disables the use of 180*** Setting `imagemagick-types-inhibit' to t now disables the use of
141ImageMagick to view images. You must call imagemagick-register-types 181ImageMagick to view images. You must call imagemagick-register-types
@@ -165,6 +205,7 @@ and sorted above the other "available" packages by default.
165** `C-x C-q' is now bound to the new minor mode `read-only-mode'. 205** `C-x C-q' is now bound to the new minor mode `read-only-mode'.
166This minor mode replaces `toggle-read-only', which is now obsolete. 206This minor mode replaces `toggle-read-only', which is now obsolete.
167 207
208+++
168** Emacs now generates backtraces on fatal errors. 209** Emacs now generates backtraces on fatal errors.
169On encountering a fatal error, Emacs now outputs a textual description 210On encountering a fatal error, Emacs now outputs a textual description
170of the fatal signal, and a short backtrace on platforms like glibc 211of the fatal signal, and a short backtrace on platforms like glibc
@@ -302,6 +343,7 @@ Customize `cal-html-holidays' to change this.
302 343
303** CL 344** CL
304 345
346+++
305*** CL's main entry is now (require 'cl-lib). 347*** CL's main entry is now (require 'cl-lib).
306`cl-lib' is like the old `cl' except that it uses the namespace cleanly, 348`cl-lib' is like the old `cl' except that it uses the namespace cleanly,
307i.e. all its definitions have the "cl-" prefix (and internal definitions use 349i.e. all its definitions have the "cl-" prefix (and internal definitions use
@@ -312,8 +354,8 @@ under the name `cl-foo' instead, with the exceptions of the few definitions
312that had to use `foo*' to avoid conflicts with pre-existing Elisp entities, 354that had to use `foo*' to avoid conflicts with pre-existing Elisp entities,
313which have not been renamed to `cl-foo*' but just `cl-foo'. 355which have not been renamed to `cl-foo*' but just `cl-foo'.
314 356
315The old `cl' is now deprecated and is just a bunch of aliases that 357The old `cl' is now deprecated and is mainly just a bunch of aliases that
316provide the old non-prefixed names. 358provide the old non-prefixed names. Some exceptions are listed below.
317 359
318+++ 360+++
319*** `cl-flet' is not like `flet' (which is deprecated). 361*** `cl-flet' is not like `flet' (which is deprecated).
@@ -335,13 +377,16 @@ of `symbol-function' in place forms.
335A side effect is that vars without corresponding value are bound to nil 377A side effect is that vars without corresponding value are bound to nil
336rather than making them unbound. 378rather than making them unbound.
337 379
338*** The following methods of extending `setf' are obsolete. 380+++
339Use gv.el instead (FIXME; details). 381*** The following methods of extending `setf' are obsolete
340`define-setf-expander', `defsetf', `define-modify-macro' 382(use features from gv.el instead):
383`define-modify-macro' (use `gv-letplace')
384`defsetf' (use `gv-define-simple-setter' or `gv-define-setter')
385`define-setf-expander' (use `gv-define-setter' or `gv-define-expander')
386`get-setf-method' no longer exists (see "Incompatible Lisp Changes")
341 387
342** Compilation mode
343+++ 388+++
344*** New option `compilation-always-kill'. 389** New compilation option `compilation-always-kill'.
345 390
346** Customize 391** Customize
347--- 392---
@@ -351,10 +396,9 @@ Use gv.el instead (FIXME; details).
351`customize-apropos-options' (i.e. the prefix argument does nothing for 396`customize-apropos-options' (i.e. the prefix argument does nothing for
352these commands now). 397these commands now).
353 398
354** Desktop
355--- 399---
356*** `desktop-path' no longer includes the "." directory. Desktop 400** `desktop-path' no longer includes the "." directory.
357files are now located in ~/.emacs.d by default. 401Desktop files are now located in ~/.emacs.d by default.
358 402
359** D-Bus 403** D-Bus
360 404
@@ -388,18 +432,21 @@ details.
388 432
389** Diff mode 433** Diff mode
390 434
435---
391*** Changes are now highlighted using the same color scheme as in 436*** Changes are now highlighted using the same color scheme as in
392modern VCSes. Deletions are displayed in red (new faces 437modern VCSes. Deletions are displayed in red (new faces
393`diff-refine-removed' and `smerge-refined-removed' and new definition 438`diff-refine-removed' and `smerge-refined-removed', and new definition
394of `diff-removed'), insertions in green (new faces `diff-refine-added' 439of `diff-removed'), insertions in green (new faces `diff-refine-added'
395and `smerge-refined-added' and new definition of `diff-added'). 440and `smerge-refined-added', and new definition of `diff-added').
396 441
442---
397*** The variable `diff-use-changed-face' defines whether to use the 443*** The variable `diff-use-changed-face' defines whether to use the
398face `diff-changed', or `diff-removed' and `diff-added' to highlight 444face `diff-changed', or `diff-removed' and `diff-added' to highlight
399changes in context diffs. 445changes in context diffs.
400 446
401*** The new command `diff-remove-trailing-whitespace' fixes trailing 447+++
402whitespace problems introduced by the diff. 448*** The new command `diff-delete-trailing-whitespace' removes trailing
449whitespace introduced by a diff.
403 450
404** Dired 451** Dired
405+++ 452+++
@@ -425,37 +472,37 @@ The global binding for `M-=', `count-words-region' is in effect.
425--- 472---
426** Ediff now uses the same color scheme as Diff mode. 473** Ediff now uses the same color scheme as Diff mode.
427 474
428** erc will look up server/channel names via auth-source and use the 475** ERC
429channel keys found, if any. 476
477*** New package `erc-desktop-notifications.el', which can send a notification
478when you receive a private message or your nickname is mentioned.
479
480*** ERC will look up server/channel names via auth-source and use any
481channel keys found.
430 482
483+++
431** Flymake uses fringe bitmaps to indicate errors and warnings. 484** Flymake uses fringe bitmaps to indicate errors and warnings.
432See `flymake-fringe-indicator-position', `flymake-error-bitmap' and 485See `flymake-fringe-indicator-position', `flymake-error-bitmap' and
433`flymake-warning-bitmap'. 486`flymake-warning-bitmap'.
434 487
435** Follow mode
436---
437*** The obsolete variable `follow-mode-off-hook' has been removed.
438--- 488---
439*** Follow mode no longer works by using advice. 489** Follow mode no longer works by using advice.
440The option `follow-intercept-processes' has been removed. 490The option `follow-intercept-processes' has been removed.
441 491
442** FFAP 492---
443 493** The FFAP option `ffap-url-unwrap-remote' can now be a list of strings,
444*** The option `ffap-url-unwrap-remote' can now be a list of strings, 494specifying URL types that should be converted to remote file names at
445specifying URL types which should be converted to remote file names at
446the FFAP prompt. The default is now '("ftp"). 495the FFAP prompt. The default is now '("ftp").
447 496
448** Generic-x 497---
449`javascript-generic-mode' is now an obsolete alias for `js-mode'. 498** New Ibuffer `derived-mode' filter, bound to `/ M'.
450
451** Ibuffer
452
453*** New `derived-mode' filter, bound to `/ M'.
454The old binding for `/ M' (filter by used-mode) is now bound to `/ m'. 499The old binding for `/ M' (filter by used-mode) is now bound to `/ m'.
455 500
456** Mouse Avoidance mode 501---
502** `javascript-generic-mode' is now an obsolete alias for `js-mode'.
503
457+++ 504+++
458*** New variable `mouse-avoidance-banish-position' specifies where the 505** New option `mouse-avoidance-banish-position' specifies where the
459`banish' mouse avoidance setting moves the mouse. 506`banish' mouse avoidance setting moves the mouse.
460 507
461+++ 508+++
@@ -463,11 +510,14 @@ The old binding for `/ M' (filter by used-mode) is now bound to `/ m'.
463The function `notifications-get-capabilities' returns the supported 510The function `notifications-get-capabilities' returns the supported
464server properties. 511server properties.
465 512
513---
466** In Perl mode, new option `perl-indent-parens-as-block' causes non-block 514** In Perl mode, new option `perl-indent-parens-as-block' causes non-block
467closing brackets to be aligned with the line of the opening bracket. 515closing brackets to be aligned with the line of the opening bracket.
468 516
517---
469** In Proced mode, new command `proced-renice' renices marked processes. 518** In Proced mode, new command `proced-renice' renices marked processes.
470 519
520---
471** Python mode 521** Python mode
472 522
473A new version of python.el, which provides several new features, including: 523A new version of python.el, which provides several new features, including:
@@ -514,6 +564,8 @@ python-insert-while | python-skeleton-while
514python-find-function | python-nav-jump-to-defun 564python-find-function | python-nav-jump-to-defun
515python-next-statement | python-nav-forward-sentence 565python-next-statement | python-nav-forward-sentence
516python-previous-statement | python-nav-backward-sentence 566python-previous-statement | python-nav-backward-sentence
567python-beginning-of-defun-function | python-nav-beginning-of-defun
568python-end-of-defun-function | python-nav-end-of-defun
517python-send-buffer | python-shell-send-buffer 569python-send-buffer | python-shell-send-buffer
518python-send-defun | python-shell-send-defun 570python-send-defun | python-shell-send-defun
519python-send-region | python-shell-send-region 571python-send-region | python-shell-send-region
@@ -523,37 +575,28 @@ python-send-string | python-shell-send-string
523python-switch-to-python | python-shell-switch-to-shell 575python-switch-to-python | python-shell-switch-to-shell
524python-describe-symbol | python-eldoc-at-point 576python-describe-symbol | python-eldoc-at-point
525 577
578---
526** reStructuredText mode 579** reStructuredText mode
527 580
528*** Rebind nearly all keys making room for more keys and complying 581*** Keybindings (see `C-c C-h'), TAB indentation, filling and auto-filling,
529better to usage in other modes. Describe bindings with C-c C-h. 582fontification, comment handling, and customization have all been revised
530 583and improved.
531*** Major revision of indentation working very similar to other
532modes. TAB is your friend.
533
534*** Major revision of filling working fine with most of
535reStructuredText syntax. Support auto-filling.
536 584
537*** Major revision of comment handling. 585*** Support for `imenu' and `which-function-mode'.
538 586
539*** Major revision of fontification working with `jit-lock-mode'. 587*** The reStructuredText syntax is more closely covered.
540 588Sphinx support has been improved.
541*** Cover reStructuredText syntax more closely. Improve
542the experience for Sphinx users.
543 589
544*** `rst-insert-list' inserts new list or continues existing lists. 590*** `rst-insert-list' inserts new list or continues existing lists.
545 591
546*** Extend correct and improve customization. 592*** A negative prefix argument always works for `rst-adjust'.
547
548*** Negative prefix argument always works for `rst-adjust'.
549
550*** Reset window configuration after displaying TOC.
551 593
552*** Package version in `rst-version'. 594*** The window configuration is reset after displaying a TOC.
553 595
554*** Support `imenu' and `which-func'. 596*** The constant `rst-version' describes the rst.el package version.
555 597
556** SH Script mode 598---
599** Shell Script mode
557 600
558*** Pairing of parens/quotes uses electric-pair-mode instead of skeleton-pair. 601*** Pairing of parens/quotes uses electric-pair-mode instead of skeleton-pair.
559 602
@@ -561,49 +604,46 @@ the experience for Sphinx users.
561 604
562*** `sh-use-smie' lets you choose a new indentation and navigation code. 605*** `sh-use-smie' lets you choose a new indentation and navigation code.
563 606
564** Shell 607+++
565 608** New option `async-shell-command-buffer' specifies the buffer to use
566*** New option `async-shell-command-buffer' specifies what buffer to use 609for a new asynchronous `shell-command' when the default output buffer
567for a new asynchronous shell command when the default output buffer 610`*Async Shell Command*' is already in use.
568`*Async Shell Command*' is already taken by another running command.
569
570** SQL Mode
571
572*** DB2 added `sql-db2-escape-newlines'
573 611
612---
613** SQL mode has a new option `sql-db2-escape-newlines'.
574If non-nil, newlines sent to the command interpreter will be escaped 614If non-nil, newlines sent to the command interpreter will be escaped
575by a backslash. The default does not escape the newlines and assumes 615by a backslash. The default does not escape the newlines and assumes
576that the sql statement will be terminated by a semicolon. 616that the sql statement will be terminated by a semicolon.
577 617
578** Tabulated List and packages derived from it 618** Tabulated List and packages derived from it
579 619+++
580*** New command `tabulated-list-sort', bound to `S', sorts the column 620*** New command `tabulated-list-sort', bound to `S', sorts the column
581at point, or the Nth column if a numeric prefix argument is given. 621at point, or the Nth column if a numeric prefix argument is given.
582 622
583** Term 623** Term
584 624+++
585The variables `term-default-fg-color' and `term-default-bg-color' are 625*** The variables `term-default-fg-color' and `term-default-bg-color' are
586now deprecated in favor of the `term-face' face, that you can 626now deprecated in favor of the customizable face `term'.
587customize. Also, it is now possible to customize how are displayed the 627+++
588ANSI terminal colors and styles by customizing the corresponding 628*** You can customize how to display ANSI terminal colors and styles
589`term-color-<COLOR>', `term-color-underline' and `term-color-bold' 629by customizing the corresponding `term-color-<COLOR>',
590faces. 630`term-color-underline' and `term-color-bold' faces.
591 631
592** Tramp 632** Tramp
593+++ 633+++
594*** The syntax has been extended in order to allow ad-hoc proxy 634*** The syntax has been extended in order to allow ad-hoc proxy definitions.
595definitions. See the manual for details. 635See the manual for details.
596+++ 636+++
597*** Remote processes are now supported also on remote Windows host. 637*** Remote processes are now supported also on remote Windows host.
598 638
599** URL 639** URL
600 640+++
601*** Structs made by `url-generic-parse-url' have nil `attributes' slot. 641*** Structs made by `url-generic-parse-url' have nil `attributes' slot.
602Previously, this slot stored semicolon-separated attribute-value pairs 642Previously, this slot stored semicolon-separated attribute-value pairs
603appended to some imap URLs, but this is not compatible with RFC 3986. 643appended to some imap URLs, but this is not compatible with RFC 3986.
604So now the `filename' slot stores the entire path and query components 644So now the `filename' slot stores the entire path and query components
605and the `attributes' slot is always nil. 645and the `attributes' slot is always nil.
606 646+++
607*** New function `url-encode-url' for encoding a URI string. 647*** New function `url-encode-url' for encoding a URI string.
608The `url-retrieve' function now uses this to encode its URL argument, 648The `url-retrieve' function now uses this to encode its URL argument,
609in case that is not properly encoded. 649in case that is not properly encoded.
@@ -619,9 +659,8 @@ in case that is not properly encoded.
619 659
620*** Accepts \r and \f as whitespace. 660*** Accepts \r and \f as whitespace.
621 661
622** Which Function mode
623+++ 662+++
624*** `which-func-modes' now defaults to t, so Which Function mode, when 663** `which-func-modes' now defaults to t, so Which Function mode, when
625enabled, applies to all applicable major modes. 664enabled, applies to all applicable major modes.
626 665
627--- 666---
@@ -662,6 +701,8 @@ And in any case it's just a terrible package: ugly semantics, terrible
662inefficiency, and not namespace-clean. 701inefficiency, and not namespace-clean.
663--- 702---
664*** bruce.el 703*** bruce.el
704+++
705*** cust-print.el
665--- 706---
666*** ledit.el 707*** ledit.el
667--- 708---
@@ -670,14 +711,6 @@ inefficiency, and not namespace-clean.
670*** mouse-sel.el 711*** mouse-sel.el
671--- 712---
672*** patcomp.el 713*** patcomp.el
673+++
674*** cust-print.el
675
676
677* New Modes and Packages in Emacs 24.3
678
679FIXME? erc-desktop-notifications.el, gv.el, profiler.el,
680gnus-notifications.el, mm-archive.el
681 714
682 715
683* Incompatible Lisp Changes in Emacs 24.3 716* Incompatible Lisp Changes in Emacs 24.3
@@ -696,6 +729,7 @@ sequence in later calls.
696font name as a string. Whether it returns a font spec or a font name 729font name as a string. Whether it returns a font spec or a font name
697depends on the graphical library. 730depends on the graphical library.
698 731
732+++
699** If the NEWTEXT arg to `replace-match' contains a substring "\?", 733** If the NEWTEXT arg to `replace-match' contains a substring "\?",
700that substring is inserted literally even if the LITERAL arg is 734that substring is inserted literally even if the LITERAL arg is
701non-nil, instead of causing an error to be signaled. 735non-nil, instead of causing an error to be signaled.
@@ -721,6 +755,13 @@ third argument is a frame (that usage was obsolete since Emacs 22.2).
721but keywords or keyword-string pairs. The old argument list will 755but keywords or keyword-string pairs. The old argument list will
722still be supported for Emacs 24.x. 756still be supported for Emacs 24.x.
723 757
758+++
759** The CL package's `get-setf-method' function no longer exists.
760Generalized variables are now part of core Emacs Lisp, and implemented
761differently to the way cl.el used to do it. It is not possible to
762define a compatible replacement for `get-setf-method'. See the file
763gv.el for internal details of the new implementation.
764
724** Spelling changes. 765** Spelling changes.
725Some Lisp symbols have been renamed to avoid problems with spelling 766Some Lisp symbols have been renamed to avoid problems with spelling
726that is incorrect or inconsistent with how Emacs normally spells a word. 767that is incorrect or inconsistent with how Emacs normally spells a word.
@@ -752,16 +793,18 @@ are deprecated and will be removed eventually.
752 deactivate-current-input-method-function 793 deactivate-current-input-method-function
753 794
754+++ 795+++
755** Some obsolete functions, variables, and faces were removed: 796** Some obsolete functions, variables, and faces have been removed:
797*** `last-input-char', `last-command-char', `unread-command-char'
756*** `facemenu-unlisted-faces' 798*** `facemenu-unlisted-faces'
757*** `rmail-decode-mime-charset' 799*** `rmail-decode-mime-charset'
758*** `last-input-char', `last-command-char', `unread-command-char'.
759*** `iswitchb-read-buffer' 800*** `iswitchb-read-buffer'
760*** `sc-version', `sc-submit-bug-report' 801*** `sc-version', `sc-submit-bug-report'
761*** `set-char-table-default' 802*** `set-char-table-default'
762*** `string-to-sequence' (use `string-to-list' or `string-to-vector'). 803*** `string-to-sequence' (use `string-to-list' or `string-to-vector')
763*** `compile-internal' 804*** `compile-internal'
805*** `modeline'
764*** `mode-line-inverse-video' 806*** `mode-line-inverse-video'
807*** `follow-mode-off-hook'
765*** `cvs-commit-buffer-require-final-newline' 808*** `cvs-commit-buffer-require-final-newline'
766(use `log-edit-require-final-newline' instead) 809(use `log-edit-require-final-newline' instead)
767*** `cvs-changelog-full-paragraphs' 810*** `cvs-changelog-full-paragraphs'
@@ -770,18 +813,20 @@ are deprecated and will be removed eventually.
770*** `vc-ignore-vc-files' (use `vc-handled-backends' instead) 813*** `vc-ignore-vc-files' (use `vc-handled-backends' instead)
771*** `vc-master-templates' (use `vc-handled-backends' instead) 814*** `vc-master-templates' (use `vc-handled-backends' instead)
772*** `vc-checkout-carefully' 815*** `vc-checkout-carefully'
773*** `modeline'
774 816
775 817
776* Lisp changes in Emacs 24.3 818* Lisp changes in Emacs 24.3
777 819
778** New sampling-based Elisp profiler. 820** New sampling-based Elisp profiler.
779Try M-x profiler-start ... M-x profiler-stop; and then M-x profiler-report. 821Try M-x profiler-start, do some work, and then call M-x profiler-report.
780The sampling rate can be based on CPU time (only supported on some 822When finished, use M-x profiler-stop. The sampling rate can be based on
781systems), or based on memory allocations. 823CPU time (only supported on some systems) or memory allocations.
782 824
825+++
783** CL-style generalized variables are now in core Elisp. 826** CL-style generalized variables are now in core Elisp.
784`setf' is autoloaded; `push' and `pop' accept generalized variables. 827`setf' is autoloaded; `push' and `pop' accept generalized variables.
828You can define your own generalized variables using `gv-define-simple-setter',
829`gv-define-setter', etc.
785 830
786+++ 831+++
787** `defun' also accepts a (declare DECLS) form, like `defmacro'. 832** `defun' also accepts a (declare DECLS) form, like `defmacro'.
@@ -805,23 +850,27 @@ table, but with a different prefix.
805 850
806** Debugger changes 851** Debugger changes
807 852
853+++
808*** New error type and new function `user-error'. 854*** New error type and new function `user-error'.
809These do not trigger the debugger. 855These do not trigger the debugger.
810 856
811*** New option `debugger-bury-or-kill'. 857+++
858*** New option `debugger-bury-or-kill', saying what to do with the
859debugger buffer when exiting debug.
812 860
861+++
813*** Set `debug-on-message' to enter the debugger when a certain 862*** Set `debug-on-message' to enter the debugger when a certain
814message is displayed in the echo area. This can be useful when trying 863message is displayed in the echo area. This can be useful when trying
815to work out which code is doing something. 864to work out which code is doing something.
816 865---
817*** New var `inhibit-debugger', automatically set to prevent accidental 866*** New var `inhibit-debugger', automatically set to prevent accidental
818recursive invocations. 867recursive invocations.
819 868
820** Window changes 869** Window changes
821 870+++
822*** The functions get-lru-window, get-mru-window and get-largest-window 871*** The functions get-lru-window, get-mru-window and get-largest-window
823now accept a third argument to avoid choosing the selected window. 872now accept a third argument to avoid choosing the selected window.
824 873+++
825*** Additional values recognized for option `window-combination-limit'. 874*** Additional values recognized for option `window-combination-limit'.
826 875
827*** New macro `with-temp-buffer-window'. 876*** New macro `with-temp-buffer-window'.
@@ -831,9 +880,12 @@ reused.
831 880
832*** New function `fit-frame-to-buffer' and new options 881*** New function `fit-frame-to-buffer' and new options
833`fit-frame-to-buffer' and `fit-frame-to-buffer-bottom-margin'. 882`fit-frame-to-buffer' and `fit-frame-to-buffer-bottom-margin'.
834 883+++
884*** New option switch-to-buffer-preserve-window-point to restore a
885window's point when switching buffers.
886+++
835*** New display action functions `display-buffer-below-selected', 887*** New display action functions `display-buffer-below-selected',
836`display-buffer-at-bottom' and `display-buffer-in-previous-window'. 888and `display-buffer-in-previous-window'.
837 889
838*** New display action alist entry `inhibit-switch-frame', if non-nil, 890*** New display action alist entry `inhibit-switch-frame', if non-nil,
839tells display action functions to avoid changing which frame is 891tells display action functions to avoid changing which frame is
@@ -841,10 +893,10 @@ selected.
841 893
842*** New display action alist entry `pop-up-frame-parameters', if 894*** New display action alist entry `pop-up-frame-parameters', if
843non-nil, specifies frame parameters to give any newly-created frame. 895non-nil, specifies frame parameters to give any newly-created frame.
844 896+++
845*** New display action alist entry `previous-window', if non-nil, 897*** New display action alist entry `previous-window', if non-nil,
846specifies window to reuse in `display-buffer-in-previous-window'. 898specifies window to reuse in `display-buffer-in-previous-window'.
847 899+++
848*** New display action alist entries `window-height' and `window-width' 900*** New display action alist entries `window-height' and `window-width'
849to specify size of new window created by `display-buffer'. 901to specify size of new window created by `display-buffer'.
850 902
@@ -871,7 +923,7 @@ in Emacs 24.1:
871*** `current-time-string' no longer requires that its argument's year 923*** `current-time-string' no longer requires that its argument's year
872must be in the range 1000..9999. It now works with any year supported 924must be in the range 1000..9999. It now works with any year supported
873by the underlying C implementation. 925by the underlying C implementation.
874 926+++
875*** `current-time' now returns extended-format time stamps 927*** `current-time' now returns extended-format time stamps
876(HIGH LOW USEC PSEC), where the new PSEC slot specifies picoseconds. 928(HIGH LOW USEC PSEC), where the new PSEC slot specifies picoseconds.
877PSEC is typically a multiple of 1000 on current machines. Other 929PSEC is typically a multiple of 1000 on current machines. Other
@@ -883,7 +935,7 @@ stamps are still accepted.
883[TRIGGERED-P HI-SECS LO-SECS USECS REPEAT-DELAY FUNCTION ARGS IDLE-DELAY PSECS]. 935[TRIGGERED-P HI-SECS LO-SECS USECS REPEAT-DELAY FUNCTION ARGS IDLE-DELAY PSECS].
884The PSECS slot is new, and uses picosecond resolution. It can be 936The PSECS slot is new, and uses picosecond resolution. It can be
885accessed via the new timer--psecs accessor. 937accessed via the new timer--psecs accessor.
886 938+++
887*** Last-modified time stamps in undo lists now are of the form 939*** Last-modified time stamps in undo lists now are of the form
888(t HI-SECS LO-SECS USECS PSECS) instead of (t HI-SECS . LO-SECS). 940(t HI-SECS LO-SECS USECS PSECS) instead of (t HI-SECS . LO-SECS).
889 941
@@ -904,9 +956,9 @@ describing the cycle.
904 956
905** Miscellaneous new functions: 957** Miscellaneous new functions:
906+++ 958+++
907*** `autoloadp' 959*** `autoloadp' tests if its argument is an autoloaded object.
908+++ 960+++
909*** `autoload-do-load' 961*** `autoload-do-load' performs the autoloading operation.
910+++ 962+++
911*** `buffer-narrowed-p' tests if the buffer is narrowed. 963*** `buffer-narrowed-p' tests if the buffer is narrowed.
912+++ 964+++
@@ -923,6 +975,7 @@ describing the cycle.
923+++ 975+++
924*** `tty-top-frame' returns the topmost frame of a text terminal. 976*** `tty-top-frame' returns the topmost frame of a text terminal.
925 977
978+++
926** New macros `setq-local' and `defvar-local'. 979** New macros `setq-local' and `defvar-local'.
927 980
928+++ 981+++
@@ -933,13 +986,13 @@ See the "Face Attributes" section of the Elisp manual.
933 986
934** The following functions and variables are obsolete: 987** The following functions and variables are obsolete:
935--- 988---
936*** `automount-dir-prefix' 989*** `automount-dir-prefix' (use `directory-abbrev-alist')
937+++ 990+++
938*** `buffer-has-markers-at' 991*** `buffer-has-markers-at'
939--- 992---
940*** `macro-declaration-function' (use `macro-declarations-alist') 993*** `macro-declaration-function' (use `macro-declarations-alist')
941--- 994---
942*** `window-system-version' 995*** `window-system-version' (provides no useful information)
943--- 996---
944*** `dired-pop-to-buffer' (use `dired-mark-pop-up') 997*** `dired-pop-to-buffer' (use `dired-mark-pop-up')
945--- 998---