comparison etc/NEWS @ 36039:9c2bd5a836b3

point to INSTALL reduce hideshow entry mac-roman coding system
author Dave Love <fx@gnu.org>
date Sun, 11 Feb 2001 18:35:57 +0000
parents f6e7e24f14e9
children 1a29f6d22f6e
comparison
equal deleted inserted replaced
36038:1f4ba03b8ce9 36039:9c2bd5a836b3
5 Please send Emacs bug reports to bug-gnu-emacs@gnu.org. 5 Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
6 For older news, see the file ONEWS 6 For older news, see the file ONEWS
7 7
8 8
9 * Installation Changes in Emacs 21.1 9 * Installation Changes in Emacs 21.1
10
11 See the INSTALL file for information on installing extra libraries and
12 fonts to take advantage of the new graphical features and extra
13 charsets in this release.
10 14
11 ** Support for GNU/Linux on IA64 machines has been added. 15 ** Support for GNU/Linux on IA64 machines has been added.
12 16
13 ** Support for LynxOS has been added. 17 ** Support for LynxOS has been added.
14 18
175 179
176 *** Gnus can now read IMAP mail via nnimap. 180 *** Gnus can now read IMAP mail via nnimap.
177 181
178 *** There is image support of various kinds and some sound support. 182 *** There is image support of various kinds and some sound support.
179 183
184 +++
180 ** When your terminal can't display characters from some of the ISO 185 ** When your terminal can't display characters from some of the ISO
181 8859 character sets but can display Latin-1, you can display 186 8859 character sets but can display Latin-1, you can display
182 more-or-less mnemonic sequences of ASCII/Latin-1 characters instead of 187 more-or-less mnemonic sequences of ASCII/Latin-1 characters instead of
183 empty boxes (under a window system) or question marks (not under a 188 empty boxes (under a window system) or question marks (not under a
184 window system). Customize the option `latin1-display' to turn this 189 window system). Customize the option `latin1-display' to turn this
857 862
858 ** The command `Info-search' now uses a search history. 863 ** The command `Info-search' now uses a search history.
859 864
860 ** Changes to hideshow.el 865 ** Changes to hideshow.el
861 866
862 Hideshow is now at version 5.x. It uses a new algorithms for block
863 selection and traversal, includes more isearch support, and has more
864 conventional keybindings.
865
866 *** Generalized block selection and traversal 867 *** Generalized block selection and traversal
867 868
868 A block is now recognized by three things: its start and end regexps 869 A block is now recognized by its start and end regexps (both strings),
869 (both strings), and a match-data selector (an integer) specifying 870 and an integer specifying which sub-expression in the start regexp
870 which sub-expression in the start regexp serves as the place where a 871 serves as the place where a `forward-sexp'-like function can operate.
871 `forward-sexp'-like function can operate. Hideshow always adjusts 872 See the documentation of variable `hs-special-modes-alist'.
872 point to this sub-expression before calling `hs-forward-sexp-func' 873
873 (which for most modes evaluates to `forward-sexp'). 874 *** During incremental search, if Hideshow minor mode is active,
874 875 hidden blocks are temporarily shown. The variable `hs-headline' can
875 If the match-data selector is not specified, it defaults to zero, 876 be used in the mode line format to show the line at the beginning of
876 i.e., the entire start regexp is valid, w/ no prefix. This is 877 the open block.
877 backwards compatible with previous versions of hideshow. Please see 878
878 the docstring for variable `hs-special-modes-alist' for details. 879 *** User option `hs-hide-all-non-comment-function' specifies a
879 880 function to be called at each top-level block beginning, instead of
880 *** Isearch support for updating mode line 881 the normal block-hiding function.
881 882
882 During incremental search, if Hideshow minor mode is active, hidden 883 *** The command `hs-show-region' has been removed.
883 blocks are temporarily shown. The variable `hs-headline' records the 884
884 line at the beginning of the opened block (preceding the hidden 885 *** The key bindings have changed to fit the Emacs conventions,
885 portion of the buffer), and the mode line is refreshed. When a block 886 roughly imitating those of Outline mode. See the documentation for
886 is re-hidden, the variable is set to nil. 887 `hs-minor-mode'.
887
888 To show `hs-headline' in the mode line, you may wish to include
889 something like this in your .emacs.
890
891 (add-hook 'hs-minor-mode-hook
892 (lambda ()
893 (add-to-list 'mode-line-format 'hs-headline)))
894
895 *** New customization var: `hs-hide-all-non-comment-function'
896
897 Normally, `hs-hide-all' hides everything, leaving only the
898 header lines of top-level forms (and comments, unless var
899 `hs-hide-comments-when-hiding-all' is non-nil). It does this by
900 moving point to each top-level block beginning and hiding the
901 block there. In some major modes (for example, Java), this
902 behavior results in few blocks left visible, which may not be so
903 useful.
904
905 You can now set var `hs-hide-all-non-comment-function' to a
906 function to be called at each top-level block beginning, instead
907 of the normal block-hiding function. For example, the following
908 code defines a function to hide one level down and move point
909 appropriately, and then tells hideshow to use the new function.
910
911 (defun ttn-hs-hide-level-1 ()
912 (hs-hide-level 1)
913 (forward-sexp 1))
914 (setq hs-hide-all-non-comment-function 'ttn-hs-hide-level-1)
915
916 The name `hs-hide-all-non-comment-function' was chosen to
917 emphasize that this function is not called for comment blocks,
918 only for code blocks.
919
920 *** Command deleted: `hs-show-region'
921
922 Historical Note: This command was added to handle "unbalanced
923 parentheses" emergencies back when hideshow.el used selective
924 display for implementation.
925
926 *** Commands rebound to more conventional keys
927
928 The hideshow commands used to be bound to keys of the form "C-c
929 LETTER". This is contrary to the Emacs keybinding convention,
930 which reserves that space for user modification. Here are the
931 new bindings (which includes the addition of `hs-toggle-hiding'):
932
933 hs-hide-block C-c C-h
934 hs-show-block C-c C-s
935 hs-hide-all C-c C-M-h
936 hs-show-all C-c C-M-s
937 hs-hide-level C-c C-l
938 hs-toggle-hiding C-c C-c
939 hs-mouse-toggle-hiding [(shift button-2)]
940
941 These were chosen to roughly imitate those used by Outline mode.
942 888
943 ** Changes to Change Log mode and Add-Log functions 889 ** Changes to Change Log mode and Add-Log functions
944 890
945 +++ 891 +++
946 *** If you invoke `add-change-log-entry' from a backup file, it makes 892 *** If you invoke `add-change-log-entry' from a backup file, it makes
1537 1483
1538 +++ 1484 +++
1539 ** New language environments `Polish', `Latin-8' and `Latin-9'. 1485 ** New language environments `Polish', `Latin-8' and `Latin-9'.
1540 Latin-8 and Latin-9 correspond respectively to the ISO character sets 1486 Latin-8 and Latin-9 correspond respectively to the ISO character sets
1541 8859-14 (Celtic) and 8859-15 (updated Latin-1, with the Euro sign). 1487 8859-14 (Celtic) and 8859-15 (updated Latin-1, with the Euro sign).
1542 GNU Intlfonts doesn't support these yet; there are basic 8859-14 and 1488 GNU Intlfonts doesn't support these yet but recent X releases have
1543 8859-15 fonts at <URL:http://czyborra.com/charsets/> and recent X 1489 8859-15. See etc/INSTALL for information on obtaining extra fonts.
1544 releases have 8859-15. There are new Latin-8 and Latin-9 prefix 1490 There are new Latin-8 and Latin-9 prefix (only) and Polish slash input
1545 (only) and Polish slash input methods in Leim. 1491 methods in Leim.
1546 1492
1547 +++ 1493 +++
1548 ** New language environments `Dutch' and `Spanish'. 1494 ** New language environments `Dutch' and `Spanish'.
1549 These new environments mainly select appropriate translations 1495 These new environments mainly select appropriate translations
1550 of the tutorial. 1496 of the tutorial.
2445 *** The new function `find-composition' returns information about 2391 *** The new function `find-composition' returns information about
2446 a composition at a specified position in a buffer or a string. 2392 a composition at a specified position in a buffer or a string.
2447 2393
2448 *** The function `decompose-composite-char' is now labeled as 2394 *** The function `decompose-composite-char' is now labeled as
2449 obsolete. 2395 obsolete.
2396
2397 ** The new coding system `mac-roman' is primarily intended for use on
2398 the Macintosh but may be used generally for Macintosh-encoded text.
2450 2399
2451 ** The new character sets `mule-unicode-0100-24ff', 2400 ** The new character sets `mule-unicode-0100-24ff',
2452 `mule-unicode-2500-33ff', and `mule-unicode-e000-ffff' have been 2401 `mule-unicode-2500-33ff', and `mule-unicode-e000-ffff' have been
2453 introduced for Unicode characters in the range U+0100..U+24FF, 2402 introduced for Unicode characters in the range U+0100..U+24FF,
2454 U+2500..U+33FF, U+E000..U+FFFF respectively. 2403 U+2500..U+33FF, U+E000..U+FFFF respectively.