comparison lispref/strings.texi @ 76991:0f5bdc282b8f

(Case Tables): Improve last change.
author Richard M. Stallman <rms@gnu.org>
date Sat, 07 Apr 2007 01:52:16 +0000
parents ceb213515795
children a1e16e813aed 4ef881a120fe
comparison
equal deleted inserted replaced
76990:b47dd202aa79 76991:0f5bdc282b8f
1115 the last form in @var{body}. The case table is restored even in case 1115 the last form in @var{body}. The case table is restored even in case
1116 of an abnormal exit via @code{throw} or error (@pxref{Nonlocal 1116 of an abnormal exit via @code{throw} or error (@pxref{Nonlocal
1117 Exits}). 1117 Exits}).
1118 @end defmac 1118 @end defmac
1119 1119
1120 Some language environments may modify the case conversions of ASCII 1120 Some language environments may modify the case conversions of
1121 characters; for example, in the Turkish language environment, the 1121 @acronym{ASCII} characters; for example, in the Turkish language
1122 ASCII character ``I'' is downcased into a Turkish ``dotless i''. This 1122 environment, the @acronym{ASCII} character @samp{I} is downcased into
1123 can interfere with code that requires ordinary ASCII case conversion, 1123 a Turkish ``dotless i''. This can interfere with code that requires
1124 such as implementations of ASCII-based network protocols. In that 1124 ordinary ASCII case conversion, such as implementations of
1125 case, use the @code{with-case-table} macro with the variable 1125 @acronym{ASCII}-based network protocols. In that case, use the
1126 @var{ascii-case-table}, which stores the unmodified case table for the 1126 @code{with-case-table} macro with the variable @var{ascii-case-table},
1127 ASCII character set. 1127 which stores the unmodified case table for the @acronym{ASCII}
1128 character set.
1128 1129
1129 @defvar ascii-case-table 1130 @defvar ascii-case-table
1130 The case table for the ASCII character set. This should not be 1131 The case table for the @acronym{ASCII} character set. This should not be
1131 modified by any language environment settings. 1132 modified by any language environment settings.
1132 @end defvar 1133 @end defvar
1133 1134
1134 The following three functions are convenient subroutines for packages 1135 The following three functions are convenient subroutines for packages
1135 that define non-@acronym{ASCII} character sets. They modify the specified 1136 that define non-@acronym{ASCII} character sets. They modify the specified