(with-temp-buffer
;; Insert a file of this format:
;; (CHAR NAME CATEGORY ...)
- ;; where CHAR is a charater code, the following elements are strings
+ ;; where CHAR is a character code, the following elements are strings
;; representing character properties.
(insert-file-contents unidata-text-file)
(goto-char (point-min))
;; D. Sorting and Composition of Smaller Blocks (`ucs-normalize-block-compose-chars')
;;
;; The block will be split to multiple samller blocks by starter
-;; charcters. Each block is sorted, and composed if necessary.
+;; characters. Each block is sorted, and composed if necessary.
;;
;; E. Composition of Entire Block (`ucs-normalize-compose-chars')
;;
;; corresponding glyph of FONT-OBJECT.
(defun hebrew-font-get-precomposed (font-object)
(let ((precomposed (font-get font-object 'hebrew-precomposed))
- ;; Vector of Hebrew precomposed charaters.
+ ;; Vector of Hebrew precomposed characters.
(chars [#xFB2A #xFB2B #xFB2C #xFB2D #xFB2E #xFB2F #xFB30 #xFB31
#xFB32 #xFB33 #xFB34 #xFB35 #xFB36 #xFB38 #xFB39 #xFB3A
#xFB3B #xFB3C #xFB3E #xFB40 #xFB41 #xFB43 #xFB44 #xFB46
#xFB47 #xFB48 #xFB49 #xFB4A #xFB4B #xFB4C #xFB4D #xFB4E])
;; Vector of decomposition character sequences corresponding
;; to the above vector.
- (decomposed
+ (decomposed
[[#x05E9 #x05C1]
[#x05E9 #x05C2]
[#x05E9 #x05BC #x05C1]
* search.c (search_buffer): Give up BM search on case-fold-search
if one of a target character has a case-equivalence of different
- byte length even if that target charcter is an ASCII.
+ byte length even if that target character is an ASCII.
(simple_search): Fix calculation of byte length of matched text.
(boyer_moore): Fix handling of case-equivalent multibyte characters.
* search.c (search_buffer): Give up BM search on case-fold-search
if one of a target character has a case-equivalence of different
- charset even if that target charcter is an ASCII.
+ charset even if that target character is an ASCII.
* casefiddle.c (casify_object): Fix for the case that case
conversion change the byte length.
1998-08-31 Kenichi Handa <handa@etl.go.jp>
* charset.c (unibyte_char_to_multibyte):
- Vnonacii_translation_table will convert a 7-bit charcater.
+ Vnonacii_translation_table will convert a 7-bit character.
(multibyte_char_to_unibyte): Handle the case that
- Vnonacii_translation_table converts a multibyte charcater to a
- unibyte charcter of less than 128.
+ Vnonacii_translation_table converts a multibyte character to a
+ unibyte character of less than 128.
(init_charset_once): Initialize nonascii_insert_offset and
Vnonacii_translation_table.
{
c = STRING_CHAR_AND_LENGTH (p, bytes);
/* Delete all bytes for this 8-bit character but the
- last one, and change the last one to the charcter
+ last one, and change the last one to the character
code. */
bytes--;
del_range_2 (pos, pos, pos + bytes, pos + bytes, 0);
/* Read a hexadecimal number (preceded by "0x") from the file FP while
- paying attention to comment charcter '#'. */
+ paying attention to comment character '#'. */
static INLINE unsigned
read_hex (FILE *fp, int *eof)
int multibyte = 0;
/* When we make a multibyte string, we must pay attention to the
byte combining problem, i.e., a byte may be combined with a
- multibyte charcter of the previous string. This flag tells if we
+ multibyte character of the previous string. This flag tells if we
must consider such a situation or not. */
int maybe_combine_byte;
unsigned char *this_format;