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