Mercurial > emacs
annotate etc/NEWS.unicode @ 91882:c694afffaf41
(locate-dominating-file): Remove initial loop because it's
not careful enough. Detect the uid-change all within the main loop.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 16 Feb 2008 21:39:31 +0000 |
parents | 90d244118a64 |
children | 8b3342358a9a |
rev | line source |
---|---|
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
1 GNU Emacs NEWS -- history of user-visible changes. |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
2 |
91826 | 3 Copyright (C) 2007, 2008 Free Software Foundation, Inc. |
4 Copyright (C) 2007, 2008 | |
91080 | 5 National Institute of Advanced Industrial Science and Technology (AIST) |
6 Registration Number H14PRO021 | |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
7 See the end of the file for license conditions. |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
8 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
9 This file is about changes in the Emacs "unicode" branch. |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
10 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
11 |
91080 | 12 * Changes in Emacs Unicode |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
13 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
14 ** The Emacs character set is now a superset of Unicode. |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
15 (It has about four times the code space, which should be plenty). |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
16 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
17 The internal encoding used for buffers and strings is now |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
18 Unicode-based and called `utf-8-emacs'. utf-8-emacs is backwards |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
19 compatible with the UTF-8 encoding of Unicode. The `emacs-mule' |
91826 | 20 coding system can still read and write data in the old internal encoding. |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
21 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
22 Since the internal encoding is also used by default for byte-compiled |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
23 files -- i.e. the normal coding system for byte-compiled Lisp files is |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
24 now utf-8-Emacs -- Lisp containing non-ASCII characters which is |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
25 compiled by Emacs 23 can't be read by earlier versions of Emacs. Files |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
26 compiled by Emacs 20, 21, or 22 are loaded correctly as emacs-mule |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
27 (whether or not they contain multibyte characters), which makes loading |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
28 them somewhat slower than Emacs 23-compiled files. Thus it may be worth |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
29 recompiling existing .elc files which don't need to be shared with older |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
30 Emacsen. |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
31 |
91826 | 32 ** There are assorted new coding systems/aliases -- see M-x list-coding-systems. |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
33 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
34 ** New charset implementation with many new charsets. |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
35 See M-x list-character-sets. New charsets can be defined conveniently |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
36 as tables of unicodes. |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
37 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
38 The dimension of a charset is now 0, 1, 2, or 3, and the size of each |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
39 dimension is no longer limited to 94 or 96. |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
40 |
91080 | 41 A dynamic charset priority list is used to infer the charset of |
42 characters for display. | |
43 | |
44 ** New minor mode Auto Composition Mode composes characters automatically | |
45 when they are displayed. This mode is globally on by default. | |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
46 |
91080 | 47 ** Emacs now supports local fonts (fonts installed in the same machine |
48 as Emacs is running) by freetype and fontconfig libraries. On X, they | |
91826 | 49 are derived via Xft library with antialias support. Fontconfig-like |
91080 | 50 font names (e.g. monospace-12) are also accepted. |
51 | |
91826 | 52 ** New language environments Chinese-GBK, Chinese-GB18030, and TaiViet. |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
53 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
54 ** The following facilities are obsolete: |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
55 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
56 Minor modes: unify-8859-on-encoding-mode, unify-8859-on-decoding-mode |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
57 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
58 |
91080 | 59 * Lisp changes in Emacs Unicode |
60 | |
61 ** Character code, representation, and charset changes. | |
62 | |
63 Now character code space is 0x0..0x3FFFFF with no gap. Among them, | |
64 characters of code 0x0..0x10FFFF are Unicode characters of the same | |
91826 | 65 code points. Characters of code 0x3FFF80..0x3FFFFF are raw 8-bit bytes. |
91080 | 66 |
67 Generic characters no longer exist. | |
68 | |
69 In buffer and string, characters are represented by UTF-8 byte | |
70 sequence in a multibyte buffer/string. | |
71 | |
72 The concept of charset is changed. A single character may belong to | |
73 multiple charset (e.g. a-grave (U+00E0) belongs to charsets unicode, | |
74 iso-8859-1, iso-8859-3, and etc). | |
75 | |
76 *** The new function `characterp' returns t if and only if the argument | |
77 is a character. | |
78 | |
79 *** The new function `max-char' returns the maximum character code | |
80 (currently it is #x3FFFFF). | |
81 | |
91826 | 82 *** The functions `encode-char' and `decode-char' now accept any |
91080 | 83 character sets. |
84 | |
91826 | 85 *** The function `define-charset' now accepts a completely different |
86 form of arguments (old-style arguments still work). | |
91080 | 87 |
91826 | 88 *** The new function `define-charset-alias' defines an alias of a charset. |
91080 | 89 |
91826 | 90 *** The value of the function `char-charset' depends on the current |
91080 | 91 priorities of charsets. |
92 | |
93 *** The new function `charset-priority-list' returns the list of | |
94 charsets ordered by priority. | |
95 | |
91826 | 96 *** The new function `set-charset-priority' sets priorities of charsets. |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
97 |
91080 | 98 *** The new function `unibyte-charset' returns the current unibyte |
91826 | 99 charset. The unibyte charset determines how unibyte/multibyte |
91080 | 100 conversion is done. |
101 | |
102 *** The new function `set-unibyte-charset' sets the unibyte charset. | |
103 | |
91826 | 104 *** The new function `unibyte-string' make a unibyte string from bytes. |
91080 | 105 |
106 ** Code conversion changes | |
107 | |
108 *** The new function `define-coding-system' should be used to define a | |
109 coding system instead of `make-coding-system' (which is obsolete now). | |
110 | |
111 *** The functions `encode-coding-region' and `decode-coding-region' | |
91826 | 112 have an optional 4th argument to specify where the result of |
91080 | 113 conversion should go. |
114 | |
115 *** The functions `encode-coding-string' and `decode-coding-string' | |
91826 | 116 have an optional 4th argument specifying a buffer to store the result |
91080 | 117 of conversion. |
118 | |
91826 | 119 *** The new function `with-coding-priority' executes the body part with |
91080 | 120 the specified coding system priority order. |
121 | |
122 *** The new function `check-coding-systems-region' checks if the text | |
123 in the region is encodable by the specified coding systems. | |
124 | |
125 *** The new function `coding-system-aliases' returns a list of aliases | |
126 of a coding system. | |
127 | |
128 *** The new function `coding-system-charset-list' returns a list of | |
129 charsets supported by a coding system. | |
130 | |
91826 | 131 *** The new function `coding-system-priority-list' returns a list of |
91080 | 132 coding systems ordered by their priorities. |
133 | |
134 *** Thew new function `set-coding-system-priority' sets priorities of | |
135 coding systems. | |
136 | |
137 ** Composition changes | |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
138 |
91080 | 139 *** New functions and variables `auto-composition-mode' and |
140 `global-auto-composition-mode' toggles the new minor mode Auto | |
141 Composition Mode locally and globally. | |
142 | |
143 *** New variable `auto-composition-function' is a function used in | |
144 Auto Composition Mode to compose characters. The default value is the | |
145 function `auto-compose-chars'. | |
146 | |
147 ** Font Backend changes. | |
148 | |
149 *** New frame parameter `font-backend' specifies a list of | |
150 font-backends supported by the frame's graphic device. On X, they are | |
151 currently `x' and `xft'. | |
152 | |
153 *** New function `fontp' checks if the argument is a font-spec | |
154 or font-entity. | |
155 | |
156 *** New function `font-spec' creates a new font-spec object. | |
157 | |
158 *** New function `font-get' returns a font property value. | |
159 | |
160 *** New function `font-put' sets a font property value. | |
161 | |
162 *** New function `list-fonts' returns a list of font-entities matching | |
91826 | 163 the given specification. |
91080 | 164 |
91826 | 165 *** New function `list-families' returns a list of family names of |
91080 | 166 available fonts. |
167 | |
168 *** New function `font-font' returns a font-entity best matching with | |
169 the given specification. | |
170 | |
91826 | 171 *** New function `font-xlfd-name' returns an XLFD name of a given font |
91080 | 172 (font-spec, font-entity, or font-object). |
173 | |
174 *** New function `clear-font-cache' clears all font caches. | |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
175 |
91080 | 176 ** The function get-char-code-property now accepts many Unicode base |
177 character properties. They are `name', `general-category', | |
178 `canonical-combining-class', `bidi-class', `decomposition', | |
91826 | 179 `decimal-digit-value', `digit-value', `numeric-value', `mirrored', |
91080 | 180 `old-name', `iso-10646-comment', `uppercase', `lowercase', and |
181 `titlecase'. | |
182 | |
183 ** Thew new function `define-char-code-property' defines a character | |
184 code property. | |
185 | |
186 ** The new function `char-code-property-description' returns the | |
91826 | 187 description string of a character code property. |
91080 | 188 |
189 *** The new variable `find-word-boundary-function-table' is a | |
190 char-table of functions to search for a word boundary. | |
191 | |
91826 | 192 *** The new variable `char-script-table' is a char-table of script names. |
91080 | 193 |
91826 | 194 *** The new variable `char-width-table' is a char-table of character widths. |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
195 |
91080 | 196 *** The new variable `print-charset-text-property' controls how to |
197 handle `charset' text property on printing a string. | |
198 | |
91826 | 199 *** The new variable `printable-chars' is a char-table defining if a |
91080 | 200 character is printable or not. |
201 | |
91826 | 202 *** The new function `robin-define-package' defines a Robin package, |
91080 | 203 which is an input method system different from Quail. |
204 | |
91826 | 205 *** The new function `robin-modify-package' modifies an existing Robin package. |
91080 | 206 |
207 *** The new function `robin-use-package' start using a Robin package | |
208 as an input method. | |
209 | |
210 ** The functions `modify-syntax-entry' and `modify-category-entry' now | |
211 accepts a cons of characters as the first argument, and modify all | |
212 entries in that range of characters. | |
213 | |
214 ** The function `set-fontset-font' now accepts a script name as the | |
91826 | 215 second argument, and has an optional 5th argument to control how to |
91080 | 216 set the font. |
217 | |
218 ** The functions `char-bytes', `chars-in-region', `set-coding-priority', | |
91826 | 219 `make-coding-system', and `char-valid-p' are now obsolete. |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
220 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
221 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
222 * Incompatible Lisp changes |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
223 |
91080 | 224 ** The behavior of map-char-table has changed. It may call the |
225 specified function with a cons (FROM . TO) as a key if characters in | |
91826 | 226 that range have the same value. |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
227 |
91080 | 228 ** The value of the function `charset-id' is now always 0. |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
229 |
91826 | 230 ** The functions `register-char-codings' and `coding-system-spec' are deleted. |
90852
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
231 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
232 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
233 ---------------------------------------------------------------------- |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
234 This file is part of GNU Emacs. |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
235 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
236 GNU Emacs is free software; you can redistribute it and/or modify |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
237 it under the terms of the GNU General Public License as published by |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
238 the Free Software Foundation; either version 2, or (at your option) |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
239 any later version. |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
240 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
241 GNU Emacs is distributed in the hope that it will be useful, |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
242 but WITHOUT ANY WARRANTY; without even the implied warranty of |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
243 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
244 GNU General Public License for more details. |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
245 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
246 You should have received a copy of the GNU General Public License |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
247 along with GNU Emacs; see the file COPYING. If not, write to the |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
248 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
249 Boston, MA 02110-1301, USA. |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
250 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
251 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
252 Local variables: |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
253 mode: outline |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
254 paragraph-separate: "[ ]*$" |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
255 end: |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
256 |
7004567d576d
Move NEWS entries for unicode branch into etc/NEWS.unicode
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
257 arch-tag: e21801b9-0724-4cda-8c07-7d60bf3db3fd |