Mercurial > emacs
view leim/README @ 72592:f6de516bbb4b
* buffer.h (struct buffer_text): New field chars_modiff.
(CHARS_MODIFF, BUF_CHARS_MODIFF): New macros.
* buffer.c (Fbuffer_chars_modified_tick): New function returning
value of BUF_CHARS_MODIFF.
(syms_of_buffer): Defsubr it.
(Fget_buffer_create): Initialize BUF_CHARS_MODIFF.
* insdel.c (modify_region): New argument preserve_chars_modiff.
Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero.
(insert_1_both, insert_from_string_1, insert_from_buffer_1)
(adjust_after_replace, adjust_after_replace_noundo)
(replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF.
* lisp.h (modify_region): Add fourth argument in extern.
* casefiddle.c (casify_region): Call modify_region with fourth
argument zero to assert that CHARS_MODIFF is updated.
* editfns.c (Fsubst_char_in_region, Ftranslate_region_internal)
(Ftranspose_regions): Likewise.
* textprop.c (Fadd_text_properties, Fset_text_properties)
(Fremove_text_properties, Fremove_list_of_text_properties):
Call modify_region with fourth argument 1 to avoid that
CHARS_MODIFF is updated.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 01 Sep 2006 13:28:13 +0000 |
parents | 43649f97e26a |
children | 73ce834aa36f |
line wrap: on
line source
This directory contains LEIM files. LEIM stands for Libraries of Emacs Input Methods. Contents of subdirectories are as follows. CXTERM-DIC: This directory contains source dictionaries (TIT format) for Chinese input method distributed with cxterm (Chinese version xterm). These dictionaries are automatically converted to Quail packages (Emacs Lisp source files) by `make'. MISC-DIC: This directory contains various dictionaries for Chinese input methods. These dictionaries are automatically converted to Quail packages (Emacs Lisp source files) by `make'. quail: This directory contains Emacs Lisp source files for Quail packages. SKK-DIC: This directory contains source dictionary for Japanese input method distributed with SKK (Japanese input method run with Mule). But, you don't need this file because we distribute an Emacs Lisp source file ja-dic/ja-dic.el which has already been converted from the source dictionary (See below). ja-dic: This directory contains Emacs Lisp source file ja-dic.el which is generated from a source dictionary in SKK-DIC directory. In addition, it contains a byte compiled file ja-dic.elc for users convenience because it takes rather long time to byte-compile ja-dic.el.