comparison etc/NEWS @ 51982:f3d2ca716f2c

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Mon, 21 Jul 2003 09:58:57 +0000
parents 6c938273685a
children 0713c3d48620
comparison
equal deleted inserted replaced
51981:e363b422bcd4 51982:f3d2ca716f2c
1712 `lazy-completion-table' must be used to initialize the value of VAR. 1712 `lazy-completion-table' must be used to initialize the value of VAR.
1713 1713
1714 +++ 1714 +++
1715 ** `minor-mode-list' now holds a list of minor mode commands. 1715 ** `minor-mode-list' now holds a list of minor mode commands.
1716 1716
1717 ** The new command `modify-all-frames-parameters' modifies parameters 1717 +++
1718 ** The new function `modify-all-frames-parameters' modifies parameters
1718 for all (existing and future) frames. 1719 for all (existing and future) frames.
1719 1720
1720 +++ 1721 +++
1721 ** `sit-for' can now be called with args (SECONDS &optional NODISP). 1722 ** `sit-for' can now be called with args (SECONDS &optional NODISP).
1722 1723
1724 ** New standard font-lock face `font-lock-preprocessor-face'. 1725 ** New standard font-lock face `font-lock-preprocessor-face'.
1725 1726
1726 +++ 1727 +++
1727 ** The macro `with-syntax-table' does not copy the table any more. 1728 ** The macro `with-syntax-table' does not copy the table any more.
1728 1729
1730 +++
1729 ** The variable `face-font-rescale-alist' specifies how much larger 1731 ** The variable `face-font-rescale-alist' specifies how much larger
1730 (or smaller) font we should use. For instance, if the value is 1732 (or smaller) font we should use. For instance, if the value is
1731 '((SOME-FONTNAME-PATTERN . 1.3)) and a face requests a font of 10 1733 '((SOME-FONTNAME-PATTERN . 1.3)) and a face requests a font of 10
1732 point, we actually use a font of 13 point if the font matches 1734 point, we actually use a font of 13 point if the font matches
1733 SOME-FONTNAME-PATTERN. 1735 SOME-FONTNAME-PATTERN.
1734 1736
1737 +++
1735 ** The function `number-sequence' returns a list of equally-separated 1738 ** The function `number-sequence' returns a list of equally-separated
1736 numbers. For instance, (number-sequence 4 9) returns (4 5 6 7 8 9). 1739 numbers. For instance, (number-sequence 4 9) returns (4 5 6 7 8 9).
1737 By default, the separation is 1, but you can specify a different separation 1740 By default, the separation is 1, but you can specify a different separation
1738 as the third argument. (number-sequence 1.5 6 2) returns (1.5 3.5 5.5). 1741 as the third argument. (number-sequence 1.5 6 2) returns (1.5 3.5 5.5).
1739 1742
1743 +++
1740 ** `file-chase-links' now takes an optional second argument LIMIT which 1744 ** `file-chase-links' now takes an optional second argument LIMIT which
1741 specifies the maximum number of links to chase through. If after that 1745 specifies the maximum number of links to chase through. If after that
1742 many iterations the file name obtained is still a symbolic link, 1746 many iterations the file name obtained is still a symbolic link,
1743 `file-chase-links' returns it anyway. 1747 `file-chase-links' returns it anyway.
1744 1748
1749 ---
1745 ** `set-fontset-font', `fontset-info', `fontset-font' now operate on 1750 ** `set-fontset-font', `fontset-info', `fontset-font' now operate on
1746 the default fontset if the argument NAME is nil.. 1751 the default fontset if the argument NAME is nil..
1747 1752
1753 +++
1748 ** The escape sequence \s is now interpreted as a SPACE character, 1754 ** The escape sequence \s is now interpreted as a SPACE character,
1749 unless it is followed by a `-' in a character constant (e.g. ?\s-A), 1755 unless it is followed by a `-' in a character constant (e.g. ?\s-A),
1750 in which case it is still interpreted as the super modifier. 1756 in which case it is still interpreted as the super modifier.
1751 In strings, \s is always interpreted as a space. 1757 In strings, \s is always interpreted as a space.
1752 1758
1759 +++
1753 ** New function `set-process-filter-multibyte' sets the multibyteness 1760 ** New function `set-process-filter-multibyte' sets the multibyteness
1754 of a string given to a process's filter. 1761 of a string given to a process's filter.
1755 1762
1763 +++
1756 ** New function `process-filter-multibyte-p' returns t if 1764 ** New function `process-filter-multibyte-p' returns t if
1757 a string given to a process's filter is multibyte. 1765 a string given to a process's filter is multibyte.
1758 1766
1767 +++
1759 ** A filter function of a process is called with a multibyte string if 1768 ** A filter function of a process is called with a multibyte string if
1760 the filter's multibyteness is t. That multibyteness is decided by the 1769 the filter's multibyteness is t. That multibyteness is decided by the
1761 value of `default-enable-multibyte-characters' when the process is 1770 value of `default-enable-multibyte-characters' when the process is
1762 created and can be changed later by `set-process-filter-multibyte'. 1771 created and can be changed later by `set-process-filter-multibyte'.
1763 1772
1773 +++
1764 ** If a process's coding system is raw-text or no-conversion and its 1774 ** If a process's coding system is raw-text or no-conversion and its
1765 buffer is multibyte, the output of the process is at first converted 1775 buffer is multibyte, the output of the process is at first converted
1766 to multibyte by `string-to-multibyte' then inserted in the buffer. 1776 to multibyte by `string-to-multibyte' then inserted in the buffer.
1767 Previously, it was converted to multibyte by `string-as-multibyte', 1777 Previously, it was converted to multibyte by `string-as-multibyte',
1768 which was not compatible with the behaviour of file reading. 1778 which was not compatible with the behaviour of file reading.
1769 1779
1780 +++
1770 ** New function `string-to-multibyte' converts a unibyte string to a 1781 ** New function `string-to-multibyte' converts a unibyte string to a
1771 multibyte string with the same individual character codes. 1782 multibyte string with the same individual character codes.
1772 1783
1784 +++
1773 ** New variables `gc-elapsed' and `gcs-done' provide extra information 1785 ** New variables `gc-elapsed' and `gcs-done' provide extra information
1774 on garbage collection. 1786 on garbage collection.
1775 1787
1788 +++
1776 ** New function `decode-coding-inserted-region' decodes a region as if 1789 ** New function `decode-coding-inserted-region' decodes a region as if
1777 it is read from a file without decoding. 1790 it is read from a file without decoding.
1778 1791
1779 ** New function `langinfo' accesses locale information. 1792 +++
1780 1793 ** New function `locale-info' accesses locale information.
1794
1795 +++
1781 ** `save-selected-window' now saves and restores the selected window 1796 ** `save-selected-window' now saves and restores the selected window
1782 of every frame. This way, it restores everything that can be changed 1797 of every frame. This way, it restores everything that can be changed
1783 by calling `select-window'. 1798 by calling `select-window'.
1784 1799
1800 ---
1785 ** `easy-menu-define' now allows you to use nil for the symbol name 1801 ** `easy-menu-define' now allows you to use nil for the symbol name
1786 if you don't need to give the menu a name. If you install the menu 1802 if you don't need to give the menu a name. If you install the menu
1787 into other keymaps right away (MAPS is non-nil), it usually doesn't 1803 into other keymaps right away (MAPS is non-nil), it usually doesn't
1788 need to have a name. 1804 need to have a name.
1789 1805
1790 ** Byte compiler changes: 1806 ** Byte compiler changes:
1791 1807
1808 ---
1792 *** `(featurep 'xemacs)' is treated by the compiler as nil. This 1809 *** `(featurep 'xemacs)' is treated by the compiler as nil. This
1793 helps to avoid noisy compiler warnings in code meant to run under both 1810 helps to avoid noisy compiler warnings in code meant to run under both
1794 Emacs and XEmacs and may sometimes make the result significantly more 1811 Emacs and XEmacs and may sometimes make the result significantly more
1795 efficient. Since byte code from recent versions of XEmacs won't 1812 efficient. Since byte code from recent versions of XEmacs won't
1796 generally run in Emacs and vice versa, this optimization doesn't lose 1813 generally run in Emacs and vice versa, this optimization doesn't lose
1797 you anything. 1814 you anything.
1798 1815
1816 +++
1799 *** You can avoid warnings for possibly-undefined symbols with a 1817 *** You can avoid warnings for possibly-undefined symbols with a
1800 simple convention that the compiler understands. (This is mostly 1818 simple convention that the compiler understands. (This is mostly
1801 useful in code meant to be portable to different Emacs versions.) 1819 useful in code meant to be portable to different Emacs versions.)
1802 Write forms like the following, or code that macroexpands into such 1820 Write forms like the following, or code that macroexpands into such
1803 forms: 1821 forms:
1810 second case, using `foo' as a variable won't produce a warning if it's 1828 second case, using `foo' as a variable won't produce a warning if it's
1811 unbound. The test must be in exactly one of the above forms (after 1829 unbound. The test must be in exactly one of the above forms (after
1812 macro expansion), but such tests may be nested. Note that `when' and 1830 macro expansion), but such tests may be nested. Note that `when' and
1813 `unless' expand to `if', but `cond' doesn't. 1831 `unless' expand to `if', but `cond' doesn't.
1814 1832
1815 ** New translation table `translation-table-for-input'. 1833 +++
1834 *** The new macro `with-no-warnings' suppresses all compiler warnings
1835 inside its body. In terms of execution, it is equivalent to `progn'.
1836
1837 +++
1838 ** The new translation table `translation-table-for-input'
1839 is used for customizing self-insertion. The character to
1840 be inserted is translated through it.
1816 1841
1817 +++ 1842 +++
1818 ** `load-history' can now have elements of the form (t . FUNNAME), 1843 ** `load-history' can now have elements of the form (t . FUNNAME),
1819 which means FUNNAME was previously defined as an autoload (before the 1844 which means FUNNAME was previously defined as an autoload (before the
1820 current file redefined it). 1845 current file redefined it).
1821 1846
1847 +++
1822 ** New Lisp library testcover.el works with edebug to help you determine 1848 ** New Lisp library testcover.el works with edebug to help you determine
1823 whether you've tested all your Lisp code. Function testcover-start 1849 whether you've tested all your Lisp code. Function testcover-start
1824 instruments all functions in a given file. Then test your code. Function 1850 instruments all functions in a given file. Then test your code. Function
1825 testcover-mark-all adds overlay "splotches" to the Lisp file's buffer to 1851 testcover-mark-all adds overlay "splotches" to the Lisp file's buffer to
1826 show where coverage is lacking. Command testcover-next-mark (bind it to 1852 show where coverage is lacking. Command testcover-next-mark (bind it to
1839 +++ 1865 +++
1840 ** New function unsafep returns nil if the given Lisp form can't possibly 1866 ** New function unsafep returns nil if the given Lisp form can't possibly
1841 do anything dangerous; otherwise it returns a reason why the form might be 1867 do anything dangerous; otherwise it returns a reason why the form might be
1842 unsafe (calls dangerous function, alters global variable, etc). 1868 unsafe (calls dangerous function, alters global variable, etc).
1843 1869
1844 ** When you are printing using print-continuous-numbering, 1870 +++
1845 if no objects have had to be recorded in print-number-table, 1871 ** The new variable `print-continuous-numbering', when non-nil, says
1846 all elements of print-number-table are nil. 1872 that successive calls to print functions should use the same
1847 1873 numberings for circular structure references. This is only relevant
1874 when `print-circle' is non-nil.
1875
1876 When you bind `print-continuous-numbering' to t, you should
1877 also bind `print-number-table' to nil.
1878
1879 +++
1848 ** When using non-toolkit scroll bars with the default width, 1880 ** When using non-toolkit scroll bars with the default width,
1849 the scroll-bar-width frame parameter value is nil. 1881 the scroll-bar-width frame parameter value is nil.
1850 1882
1883 +++
1851 ** The new function copy-abbrev-table returns a new abbrev table that 1884 ** The new function copy-abbrev-table returns a new abbrev table that
1852 is a copy of a given abbrev table. 1885 is a copy of a given abbrev table.
1853 1886
1854 +++ 1887 +++
1855 ** The option --script FILE runs Emacs in batch mode and loads FILE. 1888 ** The option --script FILE runs Emacs in batch mode and loads FILE.
1856 It is useful for writing Emacs Lisp shell script files, because they 1889 It is useful for writing Emacs Lisp shell script files, because they
1857 can start with this line: 1890 can start with this line:
1858 1891
1859 #!/usr/bin/emacs --script 1892 #!/usr/bin/emacs --script
1860 1893
1894 +++
1861 ** A function's docstring can now hold the function's usage info on 1895 ** A function's docstring can now hold the function's usage info on
1862 its last line. It should match the regexp "\n\n(fn.*)\\'". 1896 its last line. It should match the regexp "\n\n(fn.*)\\'".
1863 1897
1898 ---
1864 ** New CCL functions `lookup-character' and `lookup-integer' access 1899 ** New CCL functions `lookup-character' and `lookup-integer' access
1865 hash tables defined by the Lisp function `define-translation-hash-table'. 1900 hash tables defined by the Lisp function `define-translation-hash-table'.
1866 1901
1902 +++
1867 ** The new function `minibufferp' returns non-nil if its optional buffer 1903 ** The new function `minibufferp' returns non-nil if its optional buffer
1868 argument is a minibuffer. If the argument is omitted it defaults to 1904 argument is a minibuffer. If the argument is omitted it defaults to
1869 the current buffer. 1905 the current buffer.
1870 1906
1871 ** There is a new Warnings facility; see the functions `warn' 1907 ** There is a new Warnings facility; see the functions `warn'
1872 and `display-warning'. 1908 and `display-warning'.
1873 1909
1910 +++
1874 ** The functions all-completions and try-completion now accept lists 1911 ** The functions all-completions and try-completion now accept lists
1875 of strings as well as hash-tables additionally to alists, obarrays 1912 of strings as well as hash-tables additionally to alists, obarrays
1876 and functions. Furthermore, the function `test-completion' is now 1913 and functions. Furthermore, the function `test-completion' is now
1877 exported to Lisp. 1914 exported to Lisp.
1878 1915
1916 ---
1879 ** When pure storage overflows while dumping, Emacs now prints how 1917 ** When pure storage overflows while dumping, Emacs now prints how
1880 much pure storage it will approximately need. 1918 much pure storage it will approximately need.
1881 1919
1920 +++
1882 ** The new variable `auto-coding-functions' lets you specify functions 1921 ** The new variable `auto-coding-functions' lets you specify functions
1883 to examine a file being visited and deduce the proper coding system 1922 to examine a file being visited and deduce the proper coding system
1884 for it. (If the coding system is detected incorrectly for a specific 1923 for it. (If the coding system is detected incorrectly for a specific
1885 file, you can put a `coding:' tags to override it.) 1924 file, you can put a `coding:' tags to override it.)
1886 1925
1926 ---
1887 ** The new function `merge-coding-systems' fills in unspecified aspects 1927 ** The new function `merge-coding-systems' fills in unspecified aspects
1888 of one coding system from another coding system. 1928 of one coding system from another coding system.
1889 1929
1890 ** The variable `safe-local-eval-forms' specifies a list of forms that 1930 ** The variable `safe-local-eval-forms' specifies a list of forms that
1891 are ok to evaluate when they appear in an `eval' local variables 1931 are ok to evaluate when they appear in an `eval' local variables