(nonascii_insert_offset): New variable.
(Fself_insert_command, internal_self_insert):
Add nonascii_insert_offset to what we insert, when appropriate.
(syms_of_cmds): Set up Lisp variable.
(display_text_line): Move the code to fill out the line
with the newline's face to the end of the newline code.
Add changes (commented out) to record ellipsis positions in charstarts.
Kenichi Handa [Fri, 16 May 1997 00:59:09 +0000 (00:59 +0000)]
Coding system names changed as follows:
internal -> emacs-mule, automatic-conversion -> undecided.
Coding category name changes as follows:
coding-category-internal -> coding-category-emacs-mule.
Delete functions describe-LANGUAGE-support.
Delete describe-function entries and change documentation
entries in each language specific information.
Kenichi Handa [Fri, 16 May 1997 00:59:07 +0000 (00:59 +0000)]
(set-language-info): Change the special treatment
of key describe-function to documentation.
(describe-specified-language-support): Renamed from
describe-language-support-internal. Get language name from
last-command-event.
(describe-language-support): Call
describe-specified-language-support.
Kenichi Handa [Fri, 16 May 1997 00:42:53 +0000 (00:42 +0000)]
(dumpglyphs): Draw glyphs one by one if the font for
them is narrower than required.
(x_connection_closed): Put # at the beginning of line.
(x_load_font): Cast to (char *) before assigning to FONTNAME.
Karl Heuer [Thu, 15 May 1997 07:47:29 +0000 (07:47 +0000)]
Include charset.h.
(Qidentity): Define this variable.
(syms_of_casefiddle): Initialize and staticpro it.
(casify_object, casify_region): Handle multibyte.
Don't create faces if make-face isn't defined.
Catch errors in setting face attributes.
(ansi-term-inv-fg-faces-vector): Define with defvar.
(ansi-term-inv-bg-faces-vector): Likewise.
(ansi-term-bg-faces-vector, ansi-term-fg-faces-vector): Likewise.
(term-ignore-error): New mcro.
(mode-line-mule-info): Delete the colon.
(mode-line-buffer-identification): Delete %F:.
(mode-line-frame-identification): New variable.
(mode-line-format): Use mode-line-frame-identification.
Start with a dash.
(mode-line-modified): Delete the final dash.
(compute_trt_identity): Use make_sub_char_table.
(compute_trt_identity, compute_trt_shuffle):
Set up bytes[0] with the charset code.
Check for a sub-char-table when deciding to recurse.
Terminate the loop properly for a sub-char-table.
Karl Heuer [Thu, 15 May 1997 02:23:20 +0000 (02:23 +0000)]
Include charset.h.
(compute_trt_inverse): Totally rewritten.
Args are now Lisp_Object. Callers changed.
(compute_trt_identity, compute_trt_shuffle): New subroutines.
(init_casetab_once): Use XSETFASTINT to store into case table;
use CHAR_TABLE_SINGLE_BYTE_SLOTS to end the loop.
(forward-whitespace, forward-symbol):
Don't get error at end of buffer.
(bounds-of-thing-at-point): Don't get confused when a motion
function stops at end of buffer and there really isn't a thing.
Avoid redundant repeated scans.
(get_keyelt): Handle an indirect entry with meta char.
(describe_vector): Rewrite char-table handling.
(Fmake_keymap): Make a char-table.
(access_keymap, store_in_keymap): Likewise,
(describe_map, Fset_keymap_parent, Faccessible_keymaps): Likewise.
(Fwhere_is_internal, Fcopy_keymap): Handle a char-table.
(copy_keymap_1, accessible_keymaps_char_table): New subroutines.
(where_is_internal_1, where_is_internal_2): New functions.
(syms_of_keymap): Set up Qchar_table_extra_slots prop on Qkeymap.
(Fx_create_frame): Get X resources from the display
we are making the frame on.
(x_get_arg): New arg DPYINFO. Callers changed.
(display_x_get_resource): New function.
* etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
(Postscript_suffixes): .ps is Postscript.
(lang_names): Add Postscript.
(Postscript_functions): New function.
(TEX_decode_env): Close minor memory leak.
(just_read_file): Correct the char number of the tag.
Kenichi Handa [Mon, 12 May 1997 07:00:16 +0000 (07:00 +0000)]
Make functions setup-LANGUAGE-environment
interactive and add new functions describe-LANGUAGE-support for
all LANGUAGEs supported. Remove resisterations of input methods
which use the function encoded-kbd-select-terminal.
Kenichi Handa [Mon, 12 May 1997 07:00:15 +0000 (07:00 +0000)]
Make functions setup-LANGUAGE-environment
interactive and add new functions describe-LANGUAGE-support for
all LANGUAGEs supported. Remove resisterations of input methods
which use the function encoded-kbd-select-terminal.
Setting of syntax and category is moved to characters.el.
Kenichi Handa [Mon, 12 May 1997 07:00:13 +0000 (07:00 +0000)]
Make functions setup-LANGUAGE-environment
interactive and add new functions describe-LANGUAGE-support for
all LANGUAGEs supported. Remove resisterations of input methods
which use the function encoded-kbd-select-terminal.
Bug fixed in making coding system iso-2022-kr.
Kenichi Handa [Mon, 12 May 1997 07:00:12 +0000 (07:00 +0000)]
Make functions setup-LANGUAGE-environment
interactive and add new functions describe-LANGUAGE-support for
all LANGUAGEs supported. Remove resisterations of input methods
which use the function encoded-kbd-select-terminal.
(setup-japanese-environemnt): Set
sendmail-coding-system and rmail-file-coding-system to
iso-2022-jp.
Kenichi Handa [Mon, 12 May 1997 07:00:09 +0000 (07:00 +0000)]
Make functions setup-LANGUAGE-environment
interactive and add new functions describe-LANGUAGE-support for
all LANGUAGEs supported. Remove resisterations of input methods
which use the function encoded-kbd-select-terminal.
Typo in comment fixed.
Kenichi Handa [Mon, 12 May 1997 07:00:08 +0000 (07:00 +0000)]
Make functions setup-LANGUAGE-environment
interactive and add new functions describe-LANGUAGE-support for
all LANGUAGEs supported. Remove resisterations of input methods
which use the function encoded-kbd-select-terminal.
(setup-english-environment): Set
sendmail-coding-system and rmail-file-coding-system to nil.
Kenichi Handa [Mon, 12 May 1997 07:00:07 +0000 (07:00 +0000)]
Make functions setup-LANGUAGE-environment
interactive and add new functions describe-LANGUAGE-support for
all LANGUAGEs supported. Remove resisterations of input methods
which use the function encoded-kbd-select-terminal.
Change function of post-read-conversion
and pre-write-conversion of coding system in-is13194-devanagari to
in-is13194-devanagari-post-read-conversion and
in-is13194-devanagari-pre-write-conversion respectively.
Setting of syntax and category for Devanagari characters are moved
to characters.el.
Kenichi Handa [Mon, 12 May 1997 07:00:05 +0000 (07:00 +0000)]
Make functions setup-LANGUAGE-environment
interactive and add new functions describe-LANGUAGE-support for
all LANGUAGEs supported. Remove resisterations of input methods
which use the function encoded-kbd-select-terminal.
(pre-write-encode-hz): Make it work for the
case the arg FROM is a string.
(setup-chinese-cns-environemnt): Set default-input-method to
quail-quich-cns.
Kenichi Handa [Mon, 12 May 1997 06:56:27 +0000 (06:56 +0000)]
(rmail-enable-decoding-message): New variable.
(rmail-convert-file): Comment fixed.
(rmail-revert): Do not decode RMAIL file again because the backup
file is saved in Emacs internal format.
(rmail-convert-to-babyl-format): Check
rmail-enable-decoding-message.
Kenichi Handa [Mon, 12 May 1997 06:56:25 +0000 (06:56 +0000)]
(make-char): Doc-string modified.
(make-coding-system): Describe about INIT-BOL and DESIGNATION-BOL
in doc-string.
(find-new-buffer-file-coding-system): Doc-string modified.
(make-unitication-table): New function.
Kenichi Handa [Mon, 12 May 1997 06:56:24 +0000 (06:56 +0000)]
Delete code for alternate-charset-table.
Initialize standard-character-unification-table-for-read and
standard-character-unification-table-for-write.
Set coding-category-iso-8-2 and coding-category-iso-else to the
coding system iso-8859-1 by default.
Kenichi Handa [Mon, 12 May 1997 06:56:23 +0000 (06:56 +0000)]
(build-describe-language-support-function,
build-set-language-environment-function): The functions deleted.
(set-language-info): Doc-string modified. Chage handling of
special keys describe-function and setup-function.
(read-language-name): Return nil if a language specified does not
have KEY.
(current-input-method-title): Doc-string modified.
(select-input-method): Set current-input-method to nil even if
inactivation of the current input method failed.
(set-language-environment): Doc-string modified.
(describe-language-support): Doc-string modified. Calls an
appropriate function for each langauge.
(describe-language-support-internal): New function.
Kenichi Handa [Mon, 12 May 1997 06:56:21 +0000 (06:56 +0000)]
(gnus-mule-message-send-news-function): New
function to encode text before sending by news.
(gnus-mule-message-send-mail-function): New function to encode
text before sending by mail.
(gnus-mule-initialize): Add gnus-mule-message-send-news-function
to the hook message-send-news-hook. Add
gnus-mule-message-send-mail-function to the hook
message-send-mail-hook.
Kenichi Handa [Mon, 12 May 1997 06:56:20 +0000 (06:56 +0000)]
(x-decompose-font-name): While seting each field of
XLFD, set "*" instead of nil to a field which is omitted in the
original font name.
(generate-fontset-menu): Delete code for handling alias (or
nickname). It is now handled in fontset-plain-name.
(fontset-plain-name): Handle alias of fontset name, show more
user-friendy names.
(create-fontset-from-fontset-spec): Add an optional arg STYLE to
create bold, italic, and bold-italic variants of a fonset.
Kenichi Handa [Mon, 12 May 1997 05:30:27 +0000 (05:30 +0000)]
Set syntax and category for Devanagari, Thai, and
Tibetan characters. Add a category ?| to the category sets of
characters of katakana-jisx0201 and japanese-jisx0212.