[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/doc/lispref/nonascii.texi,v
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/doc/lispref/nonascii.texi,v |
Date: |
Tue, 14 Oct 2008 12:47:07 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Eli Zaretskii <eliz> 08/10/14 12:47:07
Index: nonascii.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/doc/lispref/nonascii.texi,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- nonascii.texi 24 Apr 2008 22:34:19 -0000 1.6
+++ nonascii.texi 14 Oct 2008 12:47:06 -0000 1.7
@@ -434,6 +434,7 @@
@end example
@end defun
address@hidden FIXME: update split-char and make-char
@cindex generate characters in charsets
@defun make-char charset &optional code1 code2
This function returns the character in character set @var{charset} whose
@@ -453,32 +454,6 @@
is necessary to index the corresponding Emacs charset.
@end defun
address@hidden generic characters
- If you call @code{make-char} with no @var{byte-values}, the result is
-a @dfn{generic character} which stands for @var{charset}. A generic
-character is an integer, but it is @emph{not} valid for insertion in the
-buffer as a character. It can be used in @code{char-table-range} to
-refer to the whole character set (@pxref{Char-Tables}).
address@hidden returns @code{nil} for generic characters.
-For example:
-
address@hidden
-(make-char 'latin-iso8859-1)
- @result{} 2176
-(char-valid-p 2176)
- @result{} nil
-(char-valid-p 2176 t)
- @result{} t
-(split-char 2176)
- @result{} (latin-iso8859-1 0)
address@hidden example
-
-The character sets @code{ascii}, @code{eight-bit-control}, and
address@hidden don't have corresponding generic characters. If
address@hidden is one of them and you don't supply @var{code1},
address@hidden returns the character code corresponding to the
-smallest code in @var{charset}.
-
@node Scanning Charsets
@section Scanning for Character Sets
@@ -541,17 +516,6 @@
and if a previous form already translates @var{to} to some other
character, say @var{to-alt}, @var{from} is also translated to
@var{to-alt}.
-
-You can also map one whole character set into another character set with
-the same dimension. To do this, you specify a generic character (which
-designates a character set) for @var{from} (@pxref{Splitting Characters}).
-In this case, if @var{to} is also a generic character, its character
-set should have the same dimension as @var{from}'s. Then the
-translation table translates each character of @var{from}'s character
-set into the corresponding character of @var{to}'s character set. If
address@hidden is a generic character and @var{to} is an ordinary
-character, then the translation table translates every character of
address@hidden's character set into @var{to}.
@end defun
In decoding, the translation table's translations are applied to the
- [Emacs-diffs] Changes to emacs/doc/lispref/nonascii.texi,v,
Eli Zaretskii <=