Commit graph

10633 commits

Author SHA1 Message Date
Kenichi Handa e36557c98b *** empty log message *** 1999-12-24 01:06:20 +00:00
Richard M. Stallman 68e69fbd44 (Freplace_match): For nonliteral replacement,
construct all the new text first, then insert all at once.
1999-12-23 04:45:26 +00:00
Dave Love 0b863bd9ea *** empty log message *** 1999-12-22 23:15:17 +00:00
Dave Love 393f2d147c (Fx_show_tip): Gcpro `timeout' too. 1999-12-22 22:58:15 +00:00
Gerd Moellmann 28d7281dc7 (Fx_create_frame): Move x_default_parameter calls that
lead to size changes to after the X window has been created.
1999-12-22 16:09:37 +00:00
Gerd Moellmann e22ef6eb69 (realize_x_face): Don't use uninitialized local
variable in xassert.
1999-12-22 16:01:16 +00:00
Gerd Moellmann 6d8e8ef35c (clear_font_table): Don't use uninitialized local
variable in xassert.
1999-12-22 12:11:42 +00:00
Kenichi Handa 8affcced09 (face_color_supported_p): Check by tty_defined_color
only when the frame is not window.
1999-12-22 11:41:16 +00:00
Gerd Moellmann deca1348bc *** empty log message *** 1999-12-22 10:58:10 +00:00
Gerd Moellmann 724b203fba (Fset_buffer_multibyte): Arrange for a thorough
redisplay after changing the multibyteness of a buffer.
1999-12-22 10:57:23 +00:00
Gerd Moellmann f2be114689 (XTread_socket): At the beginning of the loop, pass the
frame's X window to XFilterEvent instead of None because that's
the X window for which the IC was created.  This makes dead
accents work when the pointer is not in Emacs' frame.
(XTread_socket) <KeyPress>: Don't call XFilterEvent here.
1999-12-22 10:29:16 +00:00
Dave Love a744a2ec4d (Fx_show_tip): Add missing UNGCPRO. 1999-12-20 10:51:59 +00:00
Richard M. Stallman d43f85c277 (Fcompleting_read): Rename arg INIT to INITIAL_INPUT. 1999-12-19 19:13:08 +00:00
Gerd Moellmann 9e6985ed7a *** empty log message *** 1999-12-19 13:16:06 +00:00
Gerd Moellmann 556d73147e (debugger_may_continue): New variable.
(syms_of_eval): Add a DEFVAR_BOOL for it.
(call_debugger): Bind it.
1999-12-19 13:07:33 +00:00
Eli Zaretskii 3b6207313b (IT_set_face): Don't swap face colors when highlight or
fp->tty_reverse_p is set, unless the computed colors are identical
to frame colors.  Print both original and computed colors to
termscript file.
(IT_write_glyphs): Track the changes in handling of composite
characters.
(IT_set_frame_parameters): Don't set frame colors from
unspecified-fg and unspecified-bg pseudo-colors.
1999-12-19 11:22:35 +00:00
Dave Love 0f9a51c47c *** empty log message *** 1999-12-17 15:06:49 +00:00
Dave Love cda9b832d4 (Fkeywordp): New function.
(syms_of_data): Install it.
1999-12-17 15:00:56 +00:00
Eli Zaretskii 363e4e4226 (tty_defined_color): Fix last change. 1999-12-16 09:38:21 +00:00
Dave Love 6c27ec258d (BUILD_GLYPH_STRINGS): For pcc, remove continuation in arg list. 1999-12-15 17:46:18 +00:00
Gerd Moellmann cfad01b4c1 (redisplay_window) <optional new window start>: Check
that window start is in [BEGV..ZV].
1999-12-15 16:27:45 +00:00
Dave Love 362ba9c6ae Copyright up-date. 1999-12-15 15:18:34 +00:00
Dave Love 1c8c6d3948 1999-12-15 Kenichi Handa <handa@etl.go.jp>
* regex.c (regex_compile): Adjusted for the change of CHAR_STRING.

1999-12-04  Stefan Monnier  <monnier@cs.yale.edu>

	* regex.c (regex_compile): Recognize *?, +? and ?? as non-greedy
	operators and handle them properly.
	* regex.h (RE_ALL_GREEDY): New option.
	(RE_UNMATCHED_RIGHT_PAREN_ORD): Moved to the end where alphabetic
	sorting would put it.
	(RE_SYNTAX_AWK, RE_SYNTAX_GREP, RE_SYNTAX_EGREP)
	(_RE_SYNTAX_POSIX_COMMON): Use the new option to keep old behavior.
1999-12-15 15:15:29 +00:00
Eli Zaretskii f9d2fdc464 Changes for separate unspecified foreground and background colors
on character terminals:

* dispextern.h (FACE_TTY_DEFAULT_FG_COLOR)
(FACE_TTY_DEFAULT_BG_COLOR):  New macros.

* xfaces.c (Qunspecified_fg, Qunspecified_bg): New variables.
(syms_of_xfaces): Initialize and staticpro them.
(tty_defined_color): If the color name is unspecified-fg or
unspecified-bg, return FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR, respectively, as the pixel value.
(tty_color_name): If the color pixel value is either
FACE_TTY_DEFAULT_FG_COLOR or FACE_TTY_DEFAULT_BG_COLOR, return
Qunspecified_fg or Qunspecified_bg, respectively.
(Finternal_set_lisp_face_attribute): Allow values Qunspecified_fg
and Qunspecified_bg for foreground and background colors.
(realize_default_face): If the foreground and background colors
are not specified, default to Qunspecified_fg and Qunspecified_bg.
(realize_tty_face): By default, set the face colors to
FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR.
[MSDOS]: Handle FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR when face colors are not defined.
Reverse the colors if the default colors were reversed.

* dispnew.c (init_display): Initialize the frame pixels of the
initial frame to FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR.

* term.c (turn_on_face): If the default fore- and background
colors are reversed, enter inverse video mode.  Don't send color
escape sequences for unspecified foreground and background colors.
(turn_off_face): Handle unspecified-fg and unspecified-bg colors.

* dosfns.c (unspecified_colors): New variable.
(msdos_stdcolor_idx): Handle unspecified-fg and unspecified-bg
color names, return FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR, respectively.
(msdos_stdcolor_name): Handle FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR, return Qunspecified_fg and
Qunspecified_bg, respectively.

* msdos.c (IT_set_face): Support FACE_TTY_DEFAULT_FG_COLOR and
FACE_TTY_DEFAULT_BG_COLOR as pixel values.

* faces.el (face-read-integer, read-face-attribute)
(color-defined-p, color-values): Allow color values unspecified-fg
and unspecified-bg, handle them as unspecified.
1999-12-15 13:14:38 +00:00
Kenichi Handa e19539f184 (code_convert_region): Fix the secoding arg to
update_compositions.
1999-12-15 12:49:36 +00:00
Kenichi Handa 5ec14d3c00 *** empty log message *** 1999-12-15 00:53:45 +00:00
Kenichi Handa b4192550b1 (x_append_glyph): Setup members of struct glyph properly
for composition.
(x_append_composite_glyph): New function.
(VCENTER_BASELINE_OFFSET): New macro.
(x_produce_glyphs): If it->what == IT_COMPOSITION, setup members
of struct it for the composition.  Cache pixel offsets in the
struct composition.  Delete codes for a composite character.
Handle Vignore_relative_composition in composition code.
(struct glyph_string): Delete member cmpcharp, add new member cmp.
(x_set_cursor_gc): Check s->cmp, not s->cmpcharp.
(x_compute_glyph_string_overhangs): Likewise.
(x_get_glyph_overhangs): Delete codes for a composite character.
(x_right_overwritten): Check s->cmp, not s->cmpcharp.
(x_draw_glyph_string_background): Likewise.  Delete codes for
checking s->gidx for a composition.
(x_draw_glyph_string_foreground): Delete code for a composite
character.
(x_draw_composite_glyph_string_foreground): New function.
(x_draw_glyph_string_box): Check s->cmp, not s->cmpcharp.
(x_draw_glyph_string): Handle the case of COMPOSITE_GLYPH.
(struct work): Deleted.
(x_fill_composite_glyph_string): Argument changed.  Mostly
rewritten for that.
(x_fill_glyph_string): Don't check CHARSET_COMPOSITION.
(BUILD_CHAR_GLYPH_STRINGS): Don't handle composition here.
(BUILD_COMPOSITE_GLYPH_STRING): New macro.
(BUILD_GLYPH_STRINGS): For composition, call
BUILD_COMPOSITE_GLYPH_STRING.
(x_new_font): Initialize f->output_data.x->baseline_offset, not
f->output_data.x->font_baseline.
1999-12-15 00:27:21 +00:00
Kenichi Handa b6c3d03479 (struct x_output): Change member font_baseline to
baseline_offset.
1999-12-15 00:26:32 +00:00
Kenichi Handa 99e1184e5c (lisp_data_to_selection_data): Adjusted for the change
for find_charset_in_str.
1999-12-15 00:26:05 +00:00
Kenichi Handa 58cad5ed4f Include intervals.h.
(syms_of_xfns): Make `display' property nonsticky by default.
1999-12-15 00:25:34 +00:00
Kenichi Handa 78d2079c49 (choose_face_fontset_font): Delete codes for a
composite character.
(realize_x_face): Likewise.  Change a place to set local variable
`f' to avoid a bug of GCC 2.8.1 on Solaris.
1999-12-15 00:24:07 +00:00
Kenichi Handa 260a86a07c (it_props): Add an entry for composition.
(face_before_or_after_it_pos): For composition, check face of a
character after the composition.
(handle_composition_prop): New function.
(get_next_display_element): Adjusted for the change of
CHAR_STRING.
(set_iterator_to_next): Handle the case that it->method ==
next_element_from_composition.
(next_element_from_composition): New function.
(message_dolog): Adjusted for the change of CHAR_STRING.
(set_message_1): Likewise.
(check_point_in_composition): New function.
(reconsider_clip_changes): If point moved into or out of
composition, set b->clip_changed to 1 to force updating of the
screen.
(disp_char_vector): Delete codes for a composite character.
(decode_mode_spec_coding): Adjusted for the change of CHAR_STRING.
1999-12-15 00:23:27 +00:00
Kenichi Handa f02d6d5cbb (Frecenter): Clear all caches of compositions. 1999-12-15 00:22:26 +00:00
Kenichi Handa abc2f676d6 (Vtext_property_default_nonsticky): New variable
(syms_of_textprop): Declare it as a Lisp variable.
1999-12-15 00:21:42 +00:00
Kenichi Handa c7cba11dec (encode_terminal_code): Delete codes for a composite
character.  Adjusted for the change of CHAR_STRING.
(produce_glyphs): When called, it->what can be IT_COMPOSITION.
Delete codes for a composite character.
1999-12-15 00:21:15 +00:00
Kenichi Handa aa9b6dd66b (SYNTAX_ENTRY_INT): Delete codes for a composite
character.
1999-12-15 00:20:44 +00:00
Kenichi Handa daaa6ed868 (search_buffer): Adjusted for the change of CHAR_STRING. 1999-12-15 00:20:26 +00:00
Kenichi Handa e0016554c4 Include composite.h.
(read_process_output): Call update_compositions.
1999-12-15 00:17:54 +00:00
Kenichi Handa 19a86a032e (printchar): Adjusted for the change of CHAR_STRING. 1999-12-15 00:17:25 +00:00
Kenichi Handa 449fea3977 (readchar): Adjusted for the change of CHAR_STRING.
Delete a code that handles an invalid too-long multibyte sequence
because we are now sure that we never encounter with such a
sequence.
(read_multibyte): Use macro MAX_MULTIBYTE_LENGTH, not
MAX_LENGTH_OF_MULTI_BYTE_FORM.
(init_obarray): Likewise.
(read1): Likewise.  Adjusted for the change of CHAR_STRING.
1999-12-15 00:17:03 +00:00
Kenichi Handa 1948175262 (QCtest, QCweakness, Qequal): Extern them.
(hash_put): Adjusted for the change of the definition.
(signal_after_change): Likewise.
(check_point_in_composition): Extern it.
1999-12-15 00:16:30 +00:00
Kenichi Handa 0a16479ffe (push_key_description): Adjusted for the change of
CHAR_STRING.
(Ftext_char_description): Likewise.
1999-12-15 00:15:57 +00:00
Kenichi Handa adf5cb9c38 (Vdisable_point_adjustment): New variable.
(Vglobal_disable_point_adjustment): New variable.
(syms_of_keyboard): Declare them as Lisp variables.
(command_loop_1): Check them and call adjust_point_for_property if
necessary.
(adjust_point_for_property): New function.
1999-12-15 00:15:16 +00:00
Kenichi Handa f56b42ac9e (adjust_intervals_for_insertion): To check stickines
of properties, pay attention to text-property-default-nonsticky.
(merge_properties_sticky): Likewise.
(get_property_and_range): New function.
1999-12-15 00:14:44 +00:00
Kenichi Handa a5ecc8a315 Include composite.h.
(get_property_and_range): Extern it.
(Vtext_property_default_nonsticky): Extern it.
1999-12-15 00:14:19 +00:00
Kenichi Handa 0ef71121ca (copy_text): Adjusted for the change of CHAR_STRING.
(insert_char): Likewise.
(insert): Call update_compositions.
(insert_and_inherit): Likewise.
(insert_before_markers): Likewise.
(insert_before_markers_and_inherit): Likewise.
(insert_from_string): Likewise.
(insert_from_string_before_markers): Likewise.
(insert_from_buffer): Likewise.
(replace_range): Likewise.
(count_combining_composition): Deleted.
(count_combining_before): Delete codes for a composite character.
(count_combining_after): Likewise.
(del_range_1): Call update_compositions.
(del_range_byte): Likewise.
(del_range_both): Likewise.
(Fcombine_after_change_execute): Likewise.
1999-12-15 00:13:49 +00:00
Kenichi Handa 012fd715d2 (check_composition): New function.
(MULTIBYTE_BYTES_WIDTH): Call STRING_CHAR_AND_LENGTH with
MAX_MULTIBYTE_LENGTH, not MAX_LENGTH_OF_MULTI_BYTE_FORM.
(current_column_1): Handle new way of composition.
(Fmove_to_column): Likewise.
(compute_motion): Likewise.
1999-12-15 00:13:13 +00:00
Kenichi Handa 810abb8758 (Vvertical_centering_font_regexp): New variable.
(syms_of_fontset): Declare it as a Lisp variable and initialize.
Set Vignore_relative_composition to nil.
(fs_load_font): Initialize `vertical_centering' of struct
font_info.
1999-12-15 00:12:47 +00:00
Kenichi Handa 21fa1afa72 (struct font_info): New member vertical_centering.
(Vvertical_centering_font_regexp): Extern it.
1999-12-15 00:12:19 +00:00
Kenichi Handa 64a5094a4a (Flength): The length of char-table is MAX_CHAR.
(concat): Adjusted for the change of CHAR_STRING.
(Ffillarray): Adjusted for the change of CHAR_STRING.
(Fset_char_table_default): Delete codes for a composite character.
(hash_put): Return hash index.
1999-12-15 00:11:56 +00:00
Kenichi Handa ce51c54c3f (Fsubstitute_in_file_name): Adjusted for the change of
CHAR_STRING.
(Finsert_file_contents): Set Vlast_coding_system_used before
calling signal_after_change.  Call update_compositions if some
texts are inserted..
(Fwrite_region): Adjusted for the change of a_write and e_write.
(a_write): Argument changed.  Work based on character position,
not byte position.
(e_write): Argument changed.  Handle new way of composition.
1999-12-15 00:11:24 +00:00
Kenichi Handa 9d100795e3 (main): Call syms_of_composite. 1999-12-15 00:10:49 +00:00
Kenichi Handa d5c2c40348 (Fchar_to_string): Adjusted for the change of
CHAR_STRING.
(general_insert_function): Likewise.
(Finsert_char): Likewise.
(Fsubst_char_in_region): Likewise.  Call update_compositions.
(Ftranslate_region): Call update_compositions.
(Ftranspose_regions): Call update_compositions.
1999-12-15 00:10:23 +00:00
Kenichi Handa 91f045dfa3 (doprnt1): Adjusted for the change of CHAR_STRING. 1999-12-15 00:09:57 +00:00
Kenichi Handa 959804a08d (direct_output_forward_char): Check point moving into
or out of a composition.  If so, give up direct method.
1999-12-15 00:09:32 +00:00
Kenichi Handa a90fbbf691 (enum glyph_type): New member COMPOSITE_GLYPH.
(struct glyph): Add new sub-structure cmp to the union `u'.
(enum display_element_type): New member IT_COMPOSITION.
(enum prop_idx): New member COMPOSITION_PROP_IDX.
(struct it): New members cmp_id, cmp_len.
1999-12-15 00:09:03 +00:00
Kenichi Handa e19c1eb40e (Faref): Delete codes for a composite character..
(Faset): Likewise.  Adjusted for the change of CHAR_STRING.
1999-12-15 00:08:39 +00:00
Kenichi Handa ca4c9455f8 New file 1999-12-15 00:08:01 +00:00
Kenichi Handa ec6d2bb84b Include composite.h.
(DECODE_CHARACTER_ASCII): Don't handle composition here.
(DECODE_CHARACTER_DIMENSION1): Likewise.  Don't check the validity
of multibyte code here.
(DECODE_CHARACTER_DIMENSION2): Likewise.
(detect_coding_emacs_mule): Change the case label from
EMACS_leading_code_composition to 0x80.
(detect_coding_iso2022): Handle new composition sequence.
(DECODE_ISO_CHARACTER): Likewise.
(check_composing_code): Deleted.
(coding_allocate_composition_data): New function.
(CODING_ADD_COMPOSITION_START) (CODING_ADD_COMPOSITION_END)
(CODING_ADD_COMPOSITION_COMPONENT) (DECODE_COMPOSITION_START)
(DECODE_COMPOSITION_END) (DECODE_COMPOSITION_RULE): New macros.
(decode_coding_iso2022): Handle new composition sequence.
(ENCODE_ISO_CHARACTER): Don't check composition here.
(ENCODE_COMPOSITION_RULE) (ENCODE_COMPOSITION_START): New macros.
(ENCODE_COMPOSITION_NO_RULE_START)
(ENCODE_COMPOSITION_WITH_RULE_START): Deleted.
(ENCODE_COMPOSITION_END): Handle new composition sequence.
(ENCODE_COMPOSITION_FAKE_START): New macro.
(encode_coding_iso2022): Handle new composition sequence.
(ENCODE_SJIS_BIG5_CHARACTER): Delete superfluous `;' at the tail.
(encode_coding_sjis_big5): Ignore composition.
(setup_coding_system): Initialize new members of struct
coding_system.  Enable composition only when the coding system has
`composition' property t.
(coding_free_composition_data) (coding_adjust_composition_offset)
(coding_save_composition) (coding_restore_composition): New
functions.
(code_convert_region): Call coding_save_composition for encoding
and coding_allocate_composition_data for decoding.  Don't skip
ASCII characters if we handle composition on encoding.  Call
signal_after_change with Check_BORDER.
(code_convert_string): Call coding_save_composition for encoding
and coding_allocate_composition_data for decoding.  Don't skip
ASCII characters if we handle composition on encoding.
(code_convert_string1): Set Vlast_coding_system_used after calling
code_convert_string.
(code_convert_string_norecord): Disable composition.
(Fset_terminal_coding_system_internal): Likewise.
(Fset_safe_terminal_coding_system_internal): Likewise.
(Fset_keyboard_coding_system_internal): Likewise.
(init_coding_once): Set emacs_code_class[0x80] to
EMACS_invalid_code.
1999-12-15 00:06:45 +00:00
Kenichi Handa 279d9f7b8d (emacs_code_class_type): Delete the member
EMACS_leading_code_composition.
(COMPOSING_NO) (COMPOSING_WITH_RULE_HEAD) (COMPOSING_NO_RULE_HEAD)
(COMPOSING_WITH_RULE_TAIL) (COMPOSING_NO_RULE_TAIL)
(COMPOSING_WITH_RULE_RULE) (COMPOSING_HEAD_P)
(COMPOSING_WITH_RULE_P): Macros deleted.
(COMPOSITION_DATA_SIZE) (COMPOSITION_DATA_MAX_BUNCH_LENGTH): New
macros.
(struct composition_data): New structure.
(CODING_FINISH_INSUFFICIENT_CMP): New macro.
(struct coding_system): New members composition_rule_follows,
cmp_data, cmp_data_start, cmp_data_index.
(coding_save_composition) (coding_free_composition_data)
(coding_adjust_composition_offset): Extern them.
1999-12-15 00:05:57 +00:00
Kenichi Handa e55d9cfd36 (internal_self_insert): Adjusted for the change of
CHAR_STRING.
1999-12-15 00:05:19 +00:00
Kenichi Handa 99529c2c73 In this entry, just `Modified' means that codes for a
composite character is deleted.
(Qcomposition) (leading_code_composition)
(charset_composition) (min_composite_char) (cmpchar_table)
(cmpchar_table_size) (n_cmpchars): Deleted.
(SPLIT_COMPOSITE_SEQ): Deleted.
(SPLIT_MULTIBYTE_SEQ): Modified.
(char_to_string): Renamed from non_ascii_char_to_string.
Modified.
(string_to_char): Renamed from string_to_non_ascii_char.
(split_string): Renamed from split_non_ascii_string.
(char_printable_p) (Fsplit_char)
(Ffind_charset_region) (Ffind_charset_string) (char_valid_p)
(char_bytes) (Fchar_width) (strwidth): Modified.
(find_charset_in_str): Argument CMPCHARP deleted.  Modified.
(Fstring): Adjusted for the change of CHAR_STRING.  Modified.
(hash_string) (CMPCHAR_HASH_TABLE_SIZE) (cmpchar_hash_table)
(CMPCHAR_HASH_SIZE) (CMPCHAR_HASH_USED) (CMPCHAR_HASH_CMPCHAR_ID)
(str_cmpchar_id) (cmpchar_component) (Fcmpcharp)
(Fcmpchar_component) (Fcmpchar_cmp_rule) (Fcmpchar_cmp_rule_p)
(Fcmpchar_cmp_count): Deleted.
(Fcompose_string): Implemented by Emacs Lisp in composite.el.
(init_charset_once): Modified.
(syms_of_charset): Modified.
1999-12-15 00:04:59 +00:00
Kenichi Handa f49b37c9a3 In this entry, just `Modified' means that codes for a
composite character is deleted.
(LEADING_CODE_COMPOSITION) (CHARSET_COMPOSITION)
(charset_composition) (MIN_CHAR_COMPOSITION)
(MAX_CHAR_COMPOSITION) (GENERIC_COMPOSITION_CHAR)
(COMPOSITE_CHAR_P) (MAKE_COMPOSITE_CHAR) (COMPOSITE_CHAR_ID)
(PARSE_COMPOSITE_SEQ) (PARSE_CHARACTER_SEQ): Deleted.
(MAX_CHAR) (CHARSET_VALID_P) (CHARSET_DEFINED_P) (CHARSET_AT)
(FIRST_CHARSET_AT) (SAME_CHARSET_P) (MAKE_NON_ASCII_CHAR)
(PARSE_MULTIBYTE_SEQ) (SPLIT_NON_ASCII_CHAR) (CHAR_PRINTABLE_P):
Modified.
(SPLIT_STRING): Call split_string, not split_non_ascii_string.
(CHAR_STRING): Delete WORKBUF argument.  Call char_string, not
non_ascii_char_to_string.
(STRING_CHAR): Call string_to_char, not string_to_non_ascii_char.
(STRING_CHAR_AND_LENGTH): Likewise.
(FETCH_CHAR_ADVANCE): New macro.
(MAX_COMPONENT_COUNT) (struct cmpchar_info): Deleted.
(MAX_MULTIBYTE_LENGTH): New macro.
(MAX_LENGTH_OF_MULTI_BYTE_FORM): Deleted.
(find_charset_in_str): Argument adjusted.
(CHAR_LEN): Modified.
1999-12-15 00:04:14 +00:00
Kenichi Handa 6982083b65 (CCL_WRITE_CHAR): Adjusted for the change of CHAR_STRING.
(ccl_driver): Delete codes for a composite character.
1999-12-15 00:03:45 +00:00
Kenichi Handa 70414a3dac (word_boundary_p): Delete codes for a composite
character.
(Fmake_category_table): New function.
(syms_of_category): Defsubr it.
1999-12-15 00:03:16 +00:00
Kenichi Handa 759f98632f (CATEGORY_SET): Delete codes for a composite character. 1999-12-15 00:02:55 +00:00
Kenichi Handa 66da28809c Include composite.h.
(casify_object): Use MAX_MULTIBYTE_LENGTH to allocate memory for a
multibyte character.  Adjusted for the change of CHAR_STRING.
(casify_region): Likewise.  Call update_compositions.
1999-12-15 00:02:33 +00:00
Kenichi Handa bca78757c1 (Fcall_process): Call code_convert_string to encode
arguments.  Use CODING_REQUIRE_DECODING to check if the process
output should be decoded.
1999-12-15 00:02:12 +00:00
Kenichi Handa c80329d154 (Fmake_string): Adjusted for the change of CHAR_STRING. 1999-12-15 00:01:44 +00:00
Kenichi Handa 5b2f4dcae9 (INTERVAL_SRC): Include composite.h.
(INTERVAL_OBJ): Include composite.o.
(SOME_MACHINE_OBJECTS): Include composite.o.
(casefiddle.o) (dispnew.o) (indent.o) (process.o) (search.o)
(syntax.o) (window.o) (xdisp.o) (xfaces.o) (xterm.o) (print.o):
Depend on composite.h.
(doc.o): Depend on charset.h.
(keyboard.o) (textprop.o) (intervals.o): Depend on INTERVAL_SRC.
(composite.o): New target.
1999-12-15 00:01:14 +00:00
Gerd Moellmann c3c60f13d5 *** empty log message *** 1999-12-14 10:46:48 +00:00
Gerd Moellmann 54a91a0fc6 (show_mouse_face): Don't use updated_area, use TEXT_AREA. 1999-12-14 10:44:20 +00:00
Richard M. Stallman c838eb57a5 *** empty log message *** 1999-12-13 05:47:15 +00:00
Richard M. Stallman f84db7d56a (Fstart_kbd_macro): Handle case where last-kbd-macro
has been changed by the Lisp code.
1999-12-13 03:50:21 +00:00
Richard M. Stallman d3887e33a9 (Fall_completions): Doc fix. 1999-12-13 03:50:00 +00:00
Gerd Moellmann d8eccf12ba *** empty log message *** 1999-12-12 13:23:20 +00:00
Gerd Moellmann 0b60fc911b Indentation fixes. 1999-12-12 12:23:08 +00:00
Stefan Monnier f28eba7baf *** empty log message *** 1999-12-12 06:57:54 +00:00
Stefan Monnier ae56feaeda *** empty log message *** 1999-12-10 18:14:01 +00:00
Stefan Monnier db74249bb9 (x_initialize): only setup xaw3d_* if they've been declared. 1999-12-10 17:37:57 +00:00
Gerd Moellmann dfa1c6ae2c (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Moved
to frame.h.
1999-12-10 08:55:12 +00:00
Gerd Moellmann 3da48525dc (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL)
[!MSDOS && !WINDOWSNT && !macintosh]: Moved here from xterm.h.
1999-12-10 08:54:11 +00:00
Stefan Monnier ec18280fd8 (#includes): Allow compilation with only Xaw.
(xaw3d_arrow_scroll, xaw3d_pick_top): New variables.
(xt_action_hook): Replace XAW3D by XAW.
(xaw3d_jump_callback): Renamed to xaw_jump_callback.
(xaw_jump_callback): Renamed from xaw3d_jump_callback.
Determine epsilon dynamically and don't try to be too clever.
(xaw3d_scroll_callback): Renamed to xaw_scroll_callback.
(xaw_scroll_callback): Renamed from xaw3d_scroll_callback.
Handle both Xaw3d with arrow-scrollbars and with Xaw-style
scrollbar (using `ratio').
(x_create_toolkit_scroll_bar): Try to detect which style of Xaw3d
scrollbar we have so as to set it up more optimally and to fix
xaw3d_arrow_scroll and xaw3d_pick_top.
(x_set_toolkit_scroll_bar_thumb): Try to maintain 2 spare pixels at the
bottom of the Xaw3d scrollbar, to work around its tendency to refuse
shrinking the thumb.  Also make sure that `XawScrollbarSetThumb'
is not ignored, using a major gross hack.
(x_initialize): Init default values for xaw3d_arrow_scroll and
xaw3d_pick_top.
1999-12-10 01:40:47 +00:00
Stefan Monnier eef28553ff * keyboard.c (Qratio): New symbol.
(scroll_bar_parts): Add `Qratio' to it.
(syms_of_keyboard): Init `Qratio'.
1999-12-10 01:39:53 +00:00
Stefan Monnier 57207f1e9c (scroll_bar_part): Add `scroll_bar_move_ratio'. 1999-12-10 01:39:30 +00:00
Dave Love 83b6d970f1 *** empty log message *** 1999-12-09 17:54:56 +00:00
Dave Love 7870923124 (PIX_TYPE) [! HAVE_X_WINDOWS]: Define PIX_TYPE. 1999-12-09 17:41:58 +00:00
Eli Zaretskii 036480cbb9 Oops, forgot to commit the change in dispextern.h together with the
rest of the changes for tty color support.
1999-12-08 14:22:24 +00:00
Gerd Moellmann 3648c84252 (call_debugger): When entering the debugger while redisplaying,
reset redisplaying_p, and go back to the top-level if the debugger
returns.
1999-12-08 12:00:57 +00:00
Gerd Moellmann 05e71564d8 (delete_window): Block input for the time window
matrices are being changed.
1999-12-07 20:20:30 +00:00
Gerd Moellmann 15daa94436 (x_set_menu_resources_from_menu_face): Make sure
basic faces are realized before trying to use face `menu'.
1999-12-07 20:06:40 +00:00
Dave Love b46cd53651 *** empty log message *** 1999-12-07 11:07:41 +00:00
Dave Love 3ccf78e059 (Fintern_soft): Fix newlines in doc string. 1999-12-07 11:06:22 +00:00
Gerd Moellmann 96acb1f72f (UNEXEC): Use unexelf.o instead of unexsgi.o. 1999-12-07 09:54:52 +00:00
Gerd Moellmann 2bf57b132c (UNEXEC) [USG5_4]: Use unexelf.o instead of
unexsgi.o again.
1999-12-07 09:50:50 +00:00
Gerd Moellmann 52da6a59f1 Include <syms.h>, not <sym.h> on IRIX. Removed
duplicate definition of ElfW.
(find_section): Copied from unexsgi.c.
(unexec): Use find_section.  Adjust whitespace.  Initialize
new_data2_offset based on old_data, not sbss (this fixes a bug on
IRIX6).  Change #ifdef __mips to __sgi, since it's IRIX-specific.
Adjust test for presence of .mdebug section to the new return
value of find_section.

Merge changes from 20.5.
(unexec): Handle .lit4 and .lit8 unconditionally.
1999-12-07 09:50:01 +00:00
Stefan Monnier 7dae4502b6 * editfns.c (Fdelete_and_extract_region): New function.
(syms_of_editfns): register it.
* insdel.c (del_range): update del_range_1 call.
(del_range_1, del_range_2): Add a ret_string argument to
request that the deleted text be returned.
(del_range_byte, del_range_both): Update del_range_2 call.
* lisp.h (del_range_1, del_range_2): change prototype
* casefiddle.c (casify_region): Update del_range_1 call.
* coding.c (code_convert_region): Update del_range_2 call.
* fileio.c (Finsert_file_contents): Update del_range_2 call.
1999-12-07 04:42:40 +00:00
Gerd Moellmann 397e4fae84 (set_lface_from_font_name): Fix incomplete merge. 1999-12-06 21:23:20 +00:00
Gerd Moellmann 3d973f7115 *** empty log message *** 1999-12-06 19:46:40 +00:00
Gerd Moellmann b55048d4d6 (Fintern_soft): Accept a symbol argument. 1999-12-06 17:52:27 +00:00