bpt/emacs.git
27 years ago(create_process, Fopen_network_stream): Typo in indexes
Kenichi Handa [Thu, 27 Feb 1997 11:10:42 +0000 (11:10 +0000)]
(create_process, Fopen_network_stream): Typo in indexes
of array proc_encode_coding_system fixed.
Remove prefix "coding-system-" from coding system symbol names.
(encode_coding) : Fix typo ("=" -> "==").
(detect_coding_iso2022): Detect coding-category-iso-8-2
more precisely.
(ENCODE_RESET_PLANE_AND_REGISTER): Argument `eol' is
deleted.  Don't call ENCODE_DESIGNATION if nothing designated
initially.
(encode_designation_at_bol) New function.
(encode_coding_iso2022): Handle CODING_FLAG_ISO_INIT_AT_BOL and
CODING_FLAG_ISO_DESIGNATE_AT_BOL.
(setup_coding_system): Now, flags of ISO2022 coding
systems contains charsets instead of charset IDs.
(detect_coding_iso2022, decode_coding_iso2022): Make the code
robust against invalid SI and SO.
(Ffind_coding_system, syms_of_coding): Escape newlines in docstring.
(setup_coding_system): Correct setting coding->symbol
and coding->eol_type.  The performance improved.

27 years ago(struct iso2022_spec): Member requested_designation is
Kenichi Handa [Thu, 27 Feb 1997 11:07:46 +0000 (11:07 +0000)]
(struct iso2022_spec): Member requested_designation is
changed to array of `char' just for saving memory.
(CODING_FLAG_ISO_INIT_AT_BOL, CODING_FLAG_ISO_DESIGNATE_AT_BOL):
New macros.

27 years ago(Faref, Faset): Handle a composite char correctly in char-table.
Kenichi Handa [Thu, 27 Feb 1997 10:45:19 +0000 (10:45 +0000)]
(Faref, Faset): Handle a composite char correctly in char-table.

27 years ago(DISP_CHAR_VECTOR): Allow bare 8-bit in display-table.
Kenichi Handa [Thu, 27 Feb 1997 10:44:19 +0000 (10:44 +0000)]
(DISP_CHAR_VECTOR): Allow bare 8-bit in display-table.

27 years agoEscape newlines in docstring.
Kenichi Handa [Thu, 27 Feb 1997 08:03:44 +0000 (08:03 +0000)]
Escape newlines in docstring.

27 years ago(Finsert_file_contents, Fwrite_region): Do not perform
Kenichi Handa [Thu, 27 Feb 1997 08:01:34 +0000 (08:01 +0000)]
(Finsert_file_contents, Fwrite_region): Do not perform
character code conversion if enable-multibyte-characters is nil.

27 years ago(Vuse_default_ascent): Extern.
Kenichi Handa [Thu, 27 Feb 1997 08:00:26 +0000 (08:00 +0000)]
(Vuse_default_ascent): Extern.

27 years ago(syms_of_fontset): Intern Qfontset. Declare new lisp
Kenichi Handa [Thu, 27 Feb 1997 07:52:23 +0000 (07:52 +0000)]
(syms_of_fontset): Intern Qfontset.  Declare new lisp
variable use-default-ascent.
(Vuse_default_ascent): New variable.
(Ffont_info): Return also the value of default-ascent of a font.
(fs_load_font): Disable updating fontsetp->height by
non-ASCII character sets.  This should be enabled when Emacs
supports variable height lines.
(fs_load_font, Fset_fontset_font): Bug fix to cope
with the change of charsets to symbols.

27 years ago(describe_vector): Do not descibe deeper char-table if
Kenichi Handa [Thu, 27 Feb 1997 07:49:24 +0000 (07:49 +0000)]
(describe_vector): Do not descibe deeper char-table if
enable-multibyte-characters is nil.

27 years ago(Fstart_process, Fopen_network_stream): Do not perform
Kenichi Handa [Thu, 27 Feb 1997 07:48:21 +0000 (07:48 +0000)]
(Fstart_process, Fopen_network_stream): Do not perform
character code conversion if enable-multibyte-characters is nil.

27 years ago(describe_syntax): Handle the case that the argument
Kenichi Handa [Thu, 27 Feb 1997 07:47:24 +0000 (07:47 +0000)]
(describe_syntax): Handle the case that the argument
VALUE is char-table.

27 years ago`ospeed' should be short if not HAVE_TERMIIO_H.
Kenichi Handa [Thu, 27 Feb 1997 07:46:33 +0000 (07:46 +0000)]
`ospeed' should be short if not HAVE_TERMIIO_H.

27 years ago(try_window_id): Display blank lines from the next
Kenichi Handa [Thu, 27 Feb 1997 07:45:24 +0000 (07:45 +0000)]
(try_window_id): Display blank lines from the next
line, when xp.bufpos == ZV.  (This bug is introduced by
changes of Mule).
Compare height against xp.vpos instead of xp.bufpos.
(display_mode_line): Avoid error while compiling with
--with-x=no.
(display_text_line): Correct displaying multi-column
binary data.

27 years ago(syms_of_xfns): Documentation of
Kenichi Handa [Thu, 27 Feb 1997 06:59:54 +0000 (06:59 +0000)]
(syms_of_xfns): Documentation of
x-pixel-size-width-font-regexp modified.

27 years ago(lisp_data_to_selection_data, selection_data_to_lisp_data):
Kenichi Handa [Thu, 27 Feb 1997 06:55:57 +0000 (06:55 +0000)]
(lisp_data_to_selection_data, selection_data_to_lisp_data):
Remove prefix "coding-system-" from coding system symbol names.

27 years ago(struct x_display_info): New member Xatom_MULE_DEFAULT_ASCENT.
Kenichi Handa [Thu, 27 Feb 1997 06:55:20 +0000 (06:55 +0000)]
(struct x_display_info): New member Xatom_MULE_DEFAULT_ASCENT.

27 years ago(dumpglyphs): Pay attention to characters registered in
Kenichi Handa [Thu, 27 Feb 1997 06:53:04 +0000 (06:53 +0000)]
(dumpglyphs): Pay attention to characters registered in
use-default-ascent.
Fill background in advance if font has
non-zero _MULE_BASELINE_OFFSET property.
(x_load_font, x_term_init): Handle font property _MULE_DEFAULT_ASCENT.

27 years ago(skip_chars): If enable-multibyte-characters is nil,
Kenichi Handa [Thu, 27 Feb 1997 06:50:46 +0000 (06:50 +0000)]
(skip_chars): If enable-multibyte-characters is nil,
don't handle multibyte characters.

27 years ago(vc-log-mode): New optional arg FILE. Set vc-log-file here.
Karl Heuer [Thu, 27 Feb 1997 01:21:24 +0000 (01:21 +0000)]
(vc-log-mode): New optional arg FILE.  Set vc-log-file here.
(vc-start-entry): Not here.
(vc-finish-logentry): Run vc-finish-logentry-hook.

27 years ago(lisp, shortlisp): Add lao.elc.
Kenichi Handa [Thu, 27 Feb 1997 00:17:54 +0000 (00:17 +0000)]
(lisp, shortlisp): Add lao.elc.

27 years ago(menu-bar-tools-menu): Fix typo in Send Mail item.
Karl Heuer [Thu, 27 Feb 1997 00:11:29 +0000 (00:11 +0000)]
(menu-bar-tools-menu): Fix typo in Send Mail item.

27 years agoRemove prefix "coding-system-" from coding system symbol names.
Kenichi Handa [Wed, 26 Feb 1997 13:11:47 +0000 (13:11 +0000)]
Remove prefix "coding-system-" from coding system symbol names.

27 years ago(sendmail-coding-system): Add autoload cookie.
Kenichi Handa [Wed, 26 Feb 1997 13:08:35 +0000 (13:08 +0000)]
(sendmail-coding-system): Add autoload cookie.
Default value is nil.

27 years ago(rmail-new-summary): Setup rmail-view-buffer.
Kenichi Handa [Wed, 26 Feb 1997 13:05:13 +0000 (13:05 +0000)]
(rmail-new-summary): Setup rmail-view-buffer.
(rmail-summary-line-decoder): New variable.
(rmail-make-summary-line-1): Use a function set in
rmail-summary-line-decoder.
(rmail-summary-next-msg): Display rmail-view-buffer.
(rmail-summary-mode): Make rmail-view-buffer buffer local.
(rmail-summary-rmail-update, rmail-summary-scroll-msg-up): Use
rmail-view-buffer instead of rmail-buffer.

27 years agoAdd quail-mode to default value of
Kenichi Handa [Wed, 26 Feb 1997 13:03:20 +0000 (13:03 +0000)]
Add quail-mode to default value of
minor-mode-map-alist if it is set to local variable.
(quail-show-kbd-layout): Bug fixed for keys not translated.

27 years ago(make-coding-system): For ISO-2022 type conding systems,
Kenichi Handa [Wed, 26 Feb 1997 13:01:42 +0000 (13:01 +0000)]
(make-coding-system): For ISO-2022 type conding systems,
new flags INIT-BOL DESIGNATION-BOL are added.
(make-coding-system): Set charset (symbol) instead of
charset-id (integer) in FLAGS of ISO-2022 type coding systems.
Initialize a global variable use-default-ascent.
(define-coding-system-alias): Coding style changed.

27 years ago(rmail-view-buffer, rmail-enable-mime, rmail-show-mime-function,
Kenichi Handa [Wed, 26 Feb 1997 12:57:47 +0000 (12:57 +0000)]
(rmail-view-buffer, rmail-enable-mime, rmail-show-mime-function,
rmail-mime-feature): New variables to control MIME feature.
(rmail-file-coding-system): Initial value is nil.
(rmail, rmail-convert-file, rmail-insert-inbox-text): Check
rmail-enable-mime.  Read a file without any code conversion.
(rmail-variables): Setup local variables rmail-buffer and rmail-view-buffer.
(rmail-decode-babyl-format, rmail-convert-babyl-format): Perform code
conversion of RMAIL file if rmail-enable-mime is nil.
(rmail-show-message): Make sure to be in rmail-buffer.  If
rmail-enable-mime is t, call appropriate function to decode MIME
format.
(rmail-mail, rmail-reply): Call rmail-start-mail with argument
rmail-view-buffer.

27 years ago(truncate-string-to-width): Argument PADDING can be a padding character.
Kenichi Handa [Wed, 26 Feb 1997 12:55:23 +0000 (12:55 +0000)]
(truncate-string-to-width): Argument PADDING can be a padding character.

27 years agoAdd INIT-BOL to coding system iso-2022-cjk.
Kenichi Handa [Wed, 26 Feb 1997 12:52:25 +0000 (12:52 +0000)]
Add INIT-BOL to coding system iso-2022-cjk.
Remove prefix "coding-system-" from coding system symbol names.
Change coding system names iso-2022-int to iso-2022-int-1,
iso-2022-int-2 to iso-2022-cjk.

27 years ago(mule-keymap): Re-arranged.
Kenichi Handa [Wed, 26 Feb 1997 12:50:36 +0000 (12:50 +0000)]
(mule-keymap): Re-arranged.
(set-language-info): Typo fixed in docstring.
(read-language-name): Use assoc-ignore-case to allow lose matching.
(read-language-and-input-method-name): Likewise.

27 years agoLoad "language/lao".
Kenichi Handa [Wed, 26 Feb 1997 12:49:38 +0000 (12:49 +0000)]
Load "language/lao".

27 years agoRemove prefix "coding-system-" from coding system symbol names.
Kenichi Handa [Wed, 26 Feb 1997 12:44:11 +0000 (12:44 +0000)]
Remove prefix "coding-system-" from coding system symbol names.
\bChange coding system name shift-jis to shift_jis.

27 years agoFix handling of several characters.
Kenichi Handa [Wed, 26 Feb 1997 12:39:10 +0000 (12:39 +0000)]
Fix handling of several characters.

27 years agoFix handling of several characters.
Kenichi Handa [Wed, 26 Feb 1997 12:39:10 +0000 (12:39 +0000)]
Fix handling of several characters.
Remove prefix "coding-system-" from coding system symbol names.

27 years agoChange coding system name koi8 to koi8-r.
Kenichi Handa [Wed, 26 Feb 1997 12:27:06 +0000 (12:27 +0000)]
Change coding system name koi8 to koi8-r.
Remove prefix "coding-system-" from coding system symbol names.

27 years agoAdd INIT-BOL to coding system iso-2022-cn.
Kenichi Handa [Wed, 26 Feb 1997 12:24:02 +0000 (12:24 +0000)]
Add INIT-BOL to coding system iso-2022-cn.
Remove prefix "coding-system-" from coding system symbol names.

27 years agoInitial revision
Kenichi Handa [Wed, 26 Feb 1997 12:22:56 +0000 (12:22 +0000)]
Initial revision

27 years agoRemove prefix "coding-system-" from coding system symbol names.
Kenichi Handa [Wed, 26 Feb 1997 12:11:46 +0000 (12:11 +0000)]
Remove prefix "coding-system-" from coding system symbol names.

27 years ago(gnus-mule-decode-summary): The function implemented correctly.
Kenichi Handa [Wed, 26 Feb 1997 12:10:24 +0000 (12:10 +0000)]
(gnus-mule-decode-summary): The function implemented correctly.
(gnus-mule-initialize): Setup gnus-summary-generate-hook.
Remove prefix "coding-system-" from coding system symbol names.

27 years agoMany changes to cope with the above change.
Kenichi Handa [Wed, 26 Feb 1997 12:08:58 +0000 (12:08 +0000)]
Many changes to cope with the above change.
(encoded-kbd-select-terminal): New function.

27 years ago(dired-find-file): Allow specifying coding system interactively.
Kenichi Handa [Wed, 26 Feb 1997 12:05:50 +0000 (12:05 +0000)]
(dired-find-file): Allow specifying coding system interactively.

27 years agoRemove prefix "coding-system-" from coding system symbol names.
Kenichi Handa [Wed, 26 Feb 1997 12:03:35 +0000 (12:03 +0000)]
Remove prefix "coding-system-" from coding system symbol names.
Add a section for Lao.

27 years ago(byte-compile-file): Bind coding-system-for-write
Kenichi Handa [Wed, 26 Feb 1997 11:59:40 +0000 (11:59 +0000)]
(byte-compile-file): Bind coding-system-for-write
instead of coding-system-for-read to 'no-conversion to disbale
code convertion by write-region.

27 years ago(bookmark-jump-noselect): Use goto-char instead of
Kenichi Handa [Wed, 26 Feb 1997 11:53:15 +0000 (11:53 +0000)]
(bookmark-jump-noselect): Use goto-char instead of
  forward-char/backward-char to pay attention to multibyte
  characters..

27 years agoGreek fixed, Lao added
Kenichi Handa [Wed, 26 Feb 1997 11:48:32 +0000 (11:48 +0000)]
Greek fixed, Lao added

27 years agoInitial revision
Kenichi Handa [Wed, 26 Feb 1997 11:37:22 +0000 (11:37 +0000)]
Initial revision

27 years agoChange put-text-property with constant args to add-text-properties for efficiency...
Boris Goldowsky [Mon, 24 Feb 1997 17:47:07 +0000 (17:47 +0000)]
Change put-text-property with constant args to add-text-properties for efficiency.  Suggested by Stavros Macrakis <s.macrakis@opengroup.org>

27 years agoFix previous change.
Karl Heuer [Sun, 23 Feb 1997 22:49:18 +0000 (22:49 +0000)]
Fix previous change.

27 years agoFix FSF address in comment.
Karl Heuer [Sun, 23 Feb 1997 09:20:52 +0000 (09:20 +0000)]
Fix FSF address in comment.

27 years agoInitial revision
Karl Heuer [Sun, 23 Feb 1997 09:09:40 +0000 (09:09 +0000)]
Initial revision

27 years ago(popmail): Remove some unnecessary function
Karl Heuer [Sun, 23 Feb 1997 08:47:57 +0000 (08:47 +0000)]
(popmail): Remove some unnecessary function
declarations.
(popmail, pop_retr): Since popmail always passes mbx_write and mbf
into pop_retr, there's no reason to pass in mbx_write, and the
file argument can be declared FILE * explicitly.  This fixes a
compilation problem on systems with 64-bit pointers.

27 years ago(sh-mode-hook, sh-set-shell-hook): Add defvars.
Karl Heuer [Sun, 23 Feb 1997 08:40:41 +0000 (08:40 +0000)]
(sh-mode-hook, sh-set-shell-hook): Add defvars.

27 years agoDon't put "Avoid" in the mode line.
Karl Heuer [Sun, 23 Feb 1997 08:01:00 +0000 (08:01 +0000)]
Don't put "Avoid" in the mode line.

27 years ago(eval-last-sexp): Allow let-bindings to terminate
Karl Heuer [Sun, 23 Feb 1997 07:52:35 +0000 (07:52 +0000)]
(eval-last-sexp): Allow let-bindings to terminate
before doing the eval.
Handle (interactive ...) form specially.

27 years ago(rmail-next-same-subject, rmail-reply): Ignore case, to
Karl Heuer [Sun, 23 Feb 1997 07:09:01 +0000 (07:09 +0000)]
(rmail-next-same-subject, rmail-reply): Ignore case, to
match "RE:" as well as "Re:".

27 years ago[__GNU__] (NeXT, host_self):
Miles Bader [Sun, 23 Feb 1997 03:38:49 +0000 (03:38 +0000)]
[__GNU__] (NeXT, host_self):
  New macros, to make hurd systems use the NeXT code for getting load averages.

27 years ago(Fcopy_sequence, concat, internal_equal, Ffillarray):
Karl Heuer [Sat, 22 Feb 1997 19:31:56 +0000 (19:31 +0000)]
(Fcopy_sequence, concat, internal_equal, Ffillarray):
Fix a bug of miscalculation of `size_in_chars' of a bool vector.
(Fset_char_table_range): When range is vector, make the original
char table deeper if necessary.

27 years agoInclude charset.h and coding.h.
Karl Heuer [Sat, 22 Feb 1997 19:31:32 +0000 (19:31 +0000)]
Include charset.h and coding.h.
(READ_BUF_SIZE): New macro.
(Finsert_file_contents): Refer to a coding system in the docstring.
Perform character code conversion of a text read in.
(Fwrite_region): Refer to a coding system in the docstring.
Setup a coding system for character code conversion.
Pass a new arg `pre_write_conversion' (Lisp function) to
build_annotations.
Pass a new arg `coding' to a_write.
(build_annotations): Handle the new arg.
(a_write): Handle the new arg `coding' by passing it to e_write.
(WRITE_BUF_SIZE): New macro.
(e_write): Perform character code conversion of a text to write
out according to the new arg `coding'.

27 years ago(init_eval_once): Increase max_lisp_eval_depth to 300.
Karl Heuer [Sat, 22 Feb 1997 19:31:13 +0000 (19:31 +0000)]
(init_eval_once): Increase max_lisp_eval_depth to 300.

27 years ago(main): Call several initialization function introduced
Karl Heuer [Sat, 22 Feb 1997 19:30:55 +0000 (19:30 +0000)]
(main): Call several initialization function introduced
by Mule.

27 years agoChange FETCH_CHAR references to FETCH_BYTE.
Karl Heuer [Sat, 22 Feb 1997 19:26:15 +0000 (19:26 +0000)]
Change FETCH_CHAR references to FETCH_BYTE.

27 years ago(mode-line-mule-info): New variable.
Karl Heuer [Sat, 22 Feb 1997 19:23:31 +0000 (19:23 +0000)]
(mode-line-mule-info): New variable.
(mode-line-format): Include it.

27 years agoAdd ... to relevant menu entries.
Simon Marshall [Fri, 21 Feb 1997 09:46:03 +0000 (09:46 +0000)]
Add ... to relevant menu entries.

27 years agoRewrite Font Lock support.
Simon Marshall [Fri, 21 Feb 1997 09:42:44 +0000 (09:42 +0000)]
Rewrite Font Lock support.

27 years ago1. If PRE-MATCH-FORM returns a suitable number, use that as a value for LIMIT.
Simon Marshall [Fri, 21 Feb 1997 09:36:18 +0000 (09:36 +0000)]
1.  If PRE-MATCH-FORM returns a suitable number, use that as a value for LIMIT.
2.  Commented out menu code.

27 years ago(grep-process-setup): New function, sets up the
Eli Zaretskii [Thu, 20 Feb 1997 16:11:48 +0000 (16:11 +0000)]
(grep-process-setup): New function, sets up the
exit message function in a way that works when async processes
aren't supported.
(grep): Use `grep-process-setup'.

27 years agoInclude category.h and charset.h.
Karl Heuer [Thu, 20 Feb 1997 07:26:24 +0000 (07:26 +0000)]
Include category.h and charset.h.
(compile_pattern_1): Handle new argument `multibyte'.
(compile_pattern): Handle the flag `enable-multibyte-characters'.
(Vascii_downcase_table): Declare external.
(fast_string_match_ignore_case): New function.
(skip_chars): Handle multibyte characters.
(trivial_regexp_p): Handle regular expression "\\Cc" and "\\CC"
for category.

27 years agoInitial revision
Karl Heuer [Thu, 20 Feb 1997 07:02:49 +0000 (07:02 +0000)]
Initial revision

27 years ago(struct font_info): This definition is moved to
Karl Heuer [Thu, 20 Feb 1997 07:00:06 +0000 (07:00 +0000)]
(struct font_info): This definition is moved to
fontset.h.
(struct x_display_info): New members Xatom_PIXEL_SIZE,
Xatom_MULE_BASELINE_OFFSET, Xatom_RELATIVE_COMPOSE, and null_pixel.
(x_list_fonts, x_get_font_info, x_load_font, x_query_font):
Declare external.
(struct x_output): New members font_baseline and fontset.
(FRAME_FONTSET, FRAME_X_FONT_TABLE): New macros.

27 years agoInclude charset.h, ccl.h, and fontset.h.
Karl Heuer [Thu, 20 Feb 1997 06:59:25 +0000 (06:59 +0000)]
Include charset.h, ccl.h, and fontset.h.
(PER_CHAR_METRIC): New macro.
(dumpglyphs): New argument CMPCHARP.  Handle multibyte characters.
(XTwrite_glyphs, redraw_previous_char, redraw_following_char):
Supply argument CMPCHARP to dumpglyphs.
(dumprectangle): Display whole glyph of wide-column characters.
Supply argument CMPCHARP to dumpglyphs.
(show_mouse_face): Supply argument CMPCHARP to dumpglyphs.
(x_draw_box): Pay attention to wide-column characters.
(x_draw_single_glyph): Supply argument CMPCHARP to dumpglyphs.
(x_new_font): Call fs_load_font for actual font loading work.
(x_new_fontset): New function.
(x_get_font_info, x_list_fonts, x_load_font, x_query_font): New
functions providing API to fontset handler.
(x_term_init): Initialize several new members of struct x_display_info.

27 years agoInclude charset.h and coding.h.
Karl Heuer [Thu, 20 Feb 1997 06:58:45 +0000 (06:58 +0000)]
Include charset.h and coding.h.
(QCOMPOUND_TEXT): New variable.
(symbol_to_x_atom): Handle it.
(selection_data_to_lisp_data): Decode a selection data if
selection type is TEXT or COMPOUND_TEXT.
(lisp_data_to_selection_data): Encode a text to COMPOUND_TEXT if
it contains multibyte characters.
(syms_of_xselect): Initialize and staticpro QCOMPOUND_TEXT.

27 years agoInclude charset.h and fontset.h.
Karl Heuer [Thu, 20 Feb 1997 06:58:06 +0000 (06:58 +0000)]
Include charset.h and fontset.h.
(Vx_pixel_size_width_font_regexp): New variable.
(x_set_font): Handle fontset.
(Fx_create_frame): Create fontsets in Vglobal_fontset_alist.
(Fx_list_fonts): Handle fontset.
(syms_of_xfns): Initialize Vx_pixel_size_width_font_regexp.
Setting callback functions for fontset handler.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:57:46 +0000 (06:57 +0000)]
Include charset.h.
(allocate_face, copy_face, face_eq1): Handle member `fontset' of
struct face, i.e. initialize, copy, and check it.
(intern_face, clear_face_cache): Handle member `non_ascii_gc' of
struct face, i.e. initialize and free it.
(free_frame_faces): Unload font only when fontset is not used.
Free non_ascii_gc.
(frame_update_line_height, merge_faces, compute_base_face): Handle
fontset.
(recompute_base_faces): Free non_ascii_gc.
(Fset_face_attribute_internal): Handle fontset.

27 years agoInclude charset.h and coding.h.
Karl Heuer [Thu, 20 Feb 1997 06:57:21 +0000 (06:57 +0000)]
Include charset.h and coding.h.
(TS_end_italic_mode, TS_italic_mode, TS_bold_mode): New variables.
(TS_end_bold_mode, TS_end_underscore_mode): New variables.
(TS_underscore_mode): New variable.
(encode_terminal_code): New function.
(write_glyphs, insert_glyphs): Perform character code conversion
on output to a terminal.
(term_init): Initialize TS_bold_mode, TS_end_bold_mode,
TS_end_underscore_mode, and TS_underscore_mode.

27 years ago(SET_RAW_SYNTAX_ENTRY): Handle syntax of multibyte
Karl Heuer [Thu, 20 Feb 1997 06:57:02 +0000 (06:57 +0000)]
(SET_RAW_SYNTAX_ENTRY): Handle syntax of multibyte
characters.
(SYNTAX_ENTRY_FOLLOW_PARENT): New macro.
(SYNTAX_ENTRY): Handle syntax of multibyte characters.
(SYNTAX, SYNTAX_WITH_FLAGS, SYNTAX_MATCH): Don't signal error even
if a syntax entry is not cons.

27 years agoInclude charset.h and category.h.
Karl Heuer [Thu, 20 Feb 1997 06:56:29 +0000 (06:56 +0000)]
Include charset.h and category.h.
(Vsyntax_code_object): New variable.
(Fmodify_syntax_entry): Handle multibyte characters.  A multibyte
character in matching parenthesis is also handled correctly.  Use
shared object in the vector Vsyntax_code_object for an ASCII
character.
(describe_syntax): Handle a multibyte character in matching
parenthesis.
(describe_syntax_1): Describe also parent syntax tables.
(scan_words, Fforward_comment): Handle multibyte characters.
(scan_lists, char_quoted, Fbackward_prefix_chars): Likewise.
(scan_sexps_forward): Likewise.
(init_syntax_once): Initialize Vsyntax_code_object.
Initialize Vstandard_syntax_table by share objects in
Vsyntax_code_object.
(syms_of_syntax): Staticpro Vsyntax_code_object.

27 years ago(BASE_PURESIZE): Increase.
Karl Heuer [Thu, 20 Feb 1997 06:54:58 +0000 (06:54 +0000)]
(BASE_PURESIZE): Increase.

27 years ago(struct Lisp_Process): New members
Karl Heuer [Thu, 20 Feb 1997 06:54:35 +0000 (06:54 +0000)]
(struct Lisp_Process): New members
decode_coding_system, decoding_buf, encode_coding_system, and
encoding_buf.

27 years agoInclude charset.h and coding.h.
Karl Heuer [Thu, 20 Feb 1997 06:53:55 +0000 (06:53 +0000)]
Include charset.h and coding.h.
(proc_decode_coding_system, proc_encode_coding_system): New
variables.
(Fstart_process, create_process, Fopen_network_stream): Setup
coding systems for character code conversion.
(READ_CHILD_OUTPUT): New macro.
(read_process_output): Perform character code conversion of a
process output.
(send_process): Perform character code conversion of a text sent
to a process.
(Fset_process_coding_system, Fprocess_coding_system): New
functions.
(syms_of_process): Handle them.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:53:20 +0000 (06:53 +0000)]
Include charset.h.
(printchar, strout): Handle multibyte characters.
(print): Correct the value of size_in_chars of a bool vector.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:52:47 +0000 (06:52 +0000)]
Include charset.h.
(read_minibuf): Pay attention to multibyte characters in the arg
INITIAL while handling the arg BACKUP_N.
(scmp, Fminibuffer_complete_word): Handle multibyte characters.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:52:14 +0000 (06:52 +0000)]
Include charset.h.
(Vload_source_file_function): New variable.
(Fload): Call Vload_source_file_function if defined while loading
an Emacs Lisp source file.  */
(read_multibyte): New function.
(read_escape): Handle multibyte characters.
(read1): Correct the value of size_in_chars of a bool vector.
Handle the case `?' is followed by a multibyte character.
(Vload_source_file_function): New variable.

27 years ago(CHARACTERBITS, GLYPH_MASK_REV_DIR): New macros.
Karl Heuer [Thu, 20 Feb 1997 06:51:43 +0000 (06:51 +0000)]
(CHARACTERBITS, GLYPH_MASK_REV_DIR): New macros.
(GLYPH_MASK_PADDING, GLYPH_MASK_FACE, GLYPH_MASK_CHAR): New macros.
[HAVE_FACES] (FAST_MAKE_GLYPH, FAST_GLYPH_CHAR, FAST_GLYPH_FACE):
Use CHARACTERBITS.
[!HAVE_FACES] (FAST_MAKE_GLYPH, FAST_GLYPH_CHAR, FAST_GLYPH_FACE):
New macros.
[!HAVE_FACES] (GLYPH_CHAR, GLYPH_FACE): Mask appropriate bits.
(Fcoding_system_p, Fcheck_coding_system): Declare external.
(Fread_coding_system, Fread_non_nil_coding_system): Likewise.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:51:14 +0000 (06:51 +0000)]
Include charset.h.
(push_key_description): If enable-multibyte-characters is t, use
octal representation for a code of range 128..255 as binary.
(Ftext_char_description): Handle multibyte characters.
(describe_vector): Provide prettier description of a char table
which contains multibyte characters.

27 years ago(command_loop_1): Pay attention to a multibyte
Karl Heuer [Thu, 20 Feb 1997 06:50:30 +0000 (06:50 +0000)]
(command_loop_1): Pay attention to a multibyte
character while handling forward-char and backward-char.
[!HAVE_NTGUI && XK_kana_A] (lispy_kana_keys): New variable.
[!HAVE_NTGUI] (lispy_function_keys): New variable.
(make_lispy_event) [XK_kana_A]: Handle kana keys.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:50:03 +0000 (06:50 +0000)]
Include charset.h.
(gap_left, gap_right): Put an anchor `\0' at the end of GAP.
(adjust_markers_for_insert): If any markers are adjusted, check
and fix the order of overlays in overlays_before.
(make_gap): Allocate an extra byte and set to `\0' for anchoring.
(insert1, insert_from_buffer_1): Put an anchor `\0' at the head of
GAP.

27 years ago(struct frame): New member `fontset_data'.
Karl Heuer [Thu, 20 Feb 1997 06:49:29 +0000 (06:49 +0000)]
(struct frame): New member `fontset_data'.
(FRAME_MESSAGE_BUF_SIZE): New macro.

27 years agoInclude "charset.h"
Karl Heuer [Thu, 20 Feb 1997 06:49:05 +0000 (06:49 +0000)]
Include "charset.h"
[HAVE_WINDOW_SYSTEM]: Include fontset.h.
(make_frame): Allocate member `fontset_data' of the struct frame.
(Fdelete_frame): Free the area for the member.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:48:37 +0000 (06:48 +0000)]
Include charset.h.
(Fchar_to_string, Fstring_to_char): Handle multibyte characters.
(Fsref): New function.
(Fgoto_char): Force point to be at a character boundary.
(Ffollowing_char, Fpreceding_char): Handle multibyte characters.
(Fchar_after): Handle multibyte characters.
(Fchar_before): New function.
(general_insert_function): New function.
(Finsert, Finsert_and_inherit, Finsert_before_markers): Use it.
(Finsert_char): Doc-string refer to markers of
before-insertion-type. Handle multibyte characters.
(Fsubst_char_in_region): Handle multibyte characters.
(Fchar_equal): Don't consider `case' of multibyte characters.
(syms_of_editfns): Handle the new function `char-before'.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:48:14 +0000 (06:48 +0000)]
Include charset.h.
(doprn1): Handle multibyte characters.

27 years ago(DISP_CHAR_VECTOR): Always return nil for multibyte
Karl Heuer [Thu, 20 Feb 1997 06:47:55 +0000 (06:47 +0000)]
(DISP_CHAR_VECTOR): Always return nil for multibyte
characters.

27 years ago(struct face): New members `non_ascii_gc' and
Karl Heuer [Thu, 20 Feb 1997 06:47:37 +0000 (06:47 +0000)]
(struct face): New members `non_ascii_gc' and
`fontset'.
[HAVE_FACES]: New macros FACE_NON_ASCII_GC and FACE_FONTSET.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:47:04 +0000 (06:47 +0000)]
Include charset.h.
(Qprocess): Now extern, not static.
(Faref, Faset): Enable indexing a char table by a multibyte
character.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:46:40 +0000 (06:46 +0000)]
Include charset.h.
(forward_point, Fforward_point): New functions.
(Fforward_char, Fdelete_char): Handle multibyte characters by
calling forward_point.
(Fdelete_backward_char): Pay attention to multibyte characters
in overwrite-mode.
(internal_self_insert): Handle self inserting a multibyte
character.
(syms_of_cmds): Handle the new function Fforward_point.

27 years agoInclude charset.h and coding.h.
Karl Heuer [Thu, 20 Feb 1997 06:46:14 +0000 (06:46 +0000)]
Include charset.h and coding.h.
(Fcall_process): Perform character code conversion of a process
arguments and the process output.
(Fcall_process_region): Encode coding of a text given to a
process.

27 years ago(doc-string of `interactive'): Describe new code
Karl Heuer [Thu, 20 Feb 1997 06:45:50 +0000 (06:45 +0000)]
(doc-string of `interactive'): Describe new code
letters `i', `z', and `Z'.
(Fcall_interactively): Handle them.

27 years ago(BEGV_ADDR, PT_ADDR, ZV_ADDR): Use macro POS_ADDR.
Karl Heuer [Thu, 20 Feb 1997 06:45:13 +0000 (06:45 +0000)]
(BEGV_ADDR, PT_ADDR, ZV_ADDR): Use macro POS_ADDR.
(Z_ADDR, BUF_GPT_ADDR, BUF_Z_ADDR): New macros.
(struct buffer): New members `category_table',
`direction_reserved', and `enable-multibyte-characters'.
(POS_ADDR): New macro used at all places instead of &FETCH_CHAR.
(FETCH_BYTE): New macro used at any places to check the argument
against an ASCII character.
(FETCH_MULTIBYTE_CHAR): New macro used at any places to get a
character code of the argument when it is known to be a multibyte
character.
(_fetch_multibyte_char_p, _fetch_multibyte_char_len): New
variables.
(FETCH_CHAR): Use macros FETCH_MULTIBYTE_CHAR and FETCH_BYTE.

27 years agoInclude charset.h.
Karl Heuer [Thu, 20 Feb 1997 06:44:32 +0000 (06:44 +0000)]
Include charset.h.
(Fget_buffer_create): Allocate an extra byte for a buffer, and
make it always 0 for anchoring.
(reset_buffer): Handle a new member `enable_multibyte_characters'
in the struct buffer.
(fix_overlay_before): New function.
(init_buffer_once): Handle new members in the struct buffer.
(syms_of_buffer): Declare new buffer local variables
`enable-multibyte-characters' and `direction-reserved'.

27 years ago(Fmake_char_table): Typo in doc-string fixed. Handle
Karl Heuer [Thu, 20 Feb 1997 06:43:51 +0000 (06:43 +0000)]
(Fmake_char_table): Typo in doc-string fixed.  Handle
the case that PURPOSE is nil (in a deeper char-table).
(Fmake_bool_vector): Make correct size of Lisp_Object for
bool-vector.

27 years agoThe following changes are for new source codes related to Mule.
Karl Heuer [Thu, 20 Feb 1997 06:43:16 +0000 (06:43 +0000)]
The following changes are for new source codes related to Mule.
(XOBJ): Include fontset.o.
(obj): Include charset.o, coding.o, category.o, and ccl.o.
(lisp, shortlisp): Include Mule related elc files.
(buffer.o, cmds.o, dispnew.o, doprnt.o): Depend on charset.h.
(editfns.o, indent.o, insdel.o, keymap.o): Depend on charset.h.
(minibuf.o, xdips.o, xfaces.o, xselect.o): Depend on charset.h.
(data.o, print.o, lread.o): Depend on charset.h.
(callproc.o, fileio.o, process.o, term.o): Depend on charset.h and
coding.h.
(regex.o, search.o, syntax.o): Depend on charset.h and category.h.
(fontset.o): Depend on charset.h and fontset.h.
(xterm.o): Depend on charset.h, ccl.h, and fontset.h.
(category.o, ccl.o, charset.o, coding.o, fontset.o): New targets.