Richard M. Stallman
0340dc60d6
(item_properties): New variable.
...
(ITEM_PROPERTY_...): New macros.
1998-03-27 04:52:43 +00:00
Richard M. Stallman
8f6b041144
(init_lread): Init Vstandard_input.
1998-03-26 04:22:13 +00:00
Kenichi Handa
5ffc0a807c
(redisplay_window): Fix previous change.
1998-03-26 04:10:02 +00:00
Kenichi Handa
4116deeea8
(compute_motion): Call strwidth only when necessary.
...
Set wide_column_end_hpos only when MULTIBYTE_BYTES_WIDTH set
nonzero to wide_column.
1998-03-25 10:45:59 +00:00
Kenichi Handa
b745ec7dde
(make_buffer_string, make_buffer_string_both): Extern them.
1998-03-25 10:45:59 +00:00
Kenichi Handa
0d023da168
(read_process_output): Count multibyte characters. If
...
received data is stored in p->decoding_buf, copy it to a temporary
buffer and call insert_before_makers instead of
insert_from_string_before_markers.
1998-03-25 10:45:59 +00:00
Kenichi Handa
f1c87a7d42
(redisplay_window): Give byte position to FETCH_BYTE.
...
Call pos_tab_offset appropriately.
(try_window_id): Give byte position to FETCH_BYTE. Set
val.bytepos to pos_byte.
1998-03-25 10:45:59 +00:00
Kenichi Handa
443de1d740
(record_delete): The second arg is Lisp_Object.
1998-03-24 12:17:32 +00:00
Kenichi Handa
d8fc7ce4c1
Declarations changed.
...
(STRING_MULTIBYTE, STRING_BYTES, SET_STRING_BYTES):
New definitions treating negative size_byte as a flag for unibyte.
1998-03-24 12:16:10 +00:00
Kenichi Handa
2436e18031
(MULTIBYTE_BYTES_WIDTH): Set wide_column only when we
...
encounter a wide-column character.
1998-03-24 05:41:38 +00:00
Kenichi Handa
242beafec7
(del_range_2): Move gap again to a proper place just
...
after calling make_buffer_string_both.
1998-03-24 05:41:38 +00:00
Kenichi Handa
de9d083c5d
(shrink_decoding_region): If EOL_CONVERSION is nonzero,
...
don't skip `\r' (instead of `\n').
1998-03-24 05:41:38 +00:00
Kenichi Handa
cbc1b668f3
(record_delete): Record last_point_position when there's
...
no record other than marker adjustment before undo boundary.
1998-03-24 05:41:38 +00:00
Andreas Schwab
0915568920
(popup_get_selection): On receiving a KeyPress event
...
only deactivate the menu when the key is not a modifier key.
1998-03-23 13:02:15 +00:00
Andreas Schwab
c33be4add6
(Fx_create_frame): Use "borderWidth", not "borderwidth",
...
as resource name, to be consistent with other X applications.
1998-03-23 12:56:25 +00:00
Richard M. Stallman
8ec5a40461
(Fdirectory_files): In FULL case, compute number of characters
1998-03-21 18:23:09 +00:00
Richard M. Stallman
b10b2daa18
(substring_both, Fsubstring): Use make_specified_string.
...
(concat): Make string result unibyte or multibyte as appropriate.
1998-03-21 18:09:01 +00:00
Richard M. Stallman
763401461f
(syms_of_sunfns): Pass new arg to make_pure_string.
1998-03-21 18:07:27 +00:00
Richard M. Stallman
c0696668ad
(make_specified_string): New function.
...
(make_string_from_bytes): New function.
(compact_strings): Get byte size from size, if size_byte < 0.
(Fmake_string): Use make_uninit_string for single-byte char.
(make_unibyte_string): Mark string as unibyte.
(make_uninit_string): Likewise.
(make_string): Likewise, if size == size in bytes.
(make_pure_string): New arg MULTIBYTE.
(Fpurecopy): Pass new arg to make_pure_string.
1998-03-21 18:07:06 +00:00
Richard M. Stallman
5f75e6660f
(Fchar_to_string): Use make_string_from_bytes.
...
(Fformat): Use make_specified_string.
(make_buffer_string_both): Use make_uninit_string if buffer is unibyte.
1998-03-21 18:05:29 +00:00
Richard M. Stallman
7d3d343a93
(casify_object): Use make_specified_string.
1998-03-21 18:02:09 +00:00
Richard M. Stallman
2780260006
(Fstring): Use make_string_from_bytes.
...
(Fcompose_string): Likewise.
1998-03-21 18:00:38 +00:00
Richard M. Stallman
f34206b459
(internal_self_insert): Use make_string_from_bytes.
1998-03-21 18:00:19 +00:00
Richard M. Stallman
bbdf84bda7
(code_convert_string): Use make_string_from_bytes.
1998-03-21 17:59:48 +00:00
Richard M. Stallman
cc5bf9eb92
(Fsubstitute_command_keys): Use make_string_from_bytes.
1998-03-21 17:59:22 +00:00
Richard M. Stallman
491f16a288
(read1): Pass new arg to make_pure_string.
...
(make_symbol): Likewise.
(init_obarray): Likewise.
(read1): Use make_specified_string.
1998-03-21 17:52:08 +00:00
Richard M. Stallman
9dffd51146
(PRINTPREPARE): Use make_string_from_bytes.
1998-03-21 17:51:30 +00:00
Richard M. Stallman
e6e5ac6800
(read_process_output): Use make_string_from_bytes.
1998-03-21 17:50:30 +00:00
Richard M. Stallman
3f8100f1d8
(Fregexp_quote): Use make_specified_string.
1998-03-21 17:50:03 +00:00
Richard M. Stallman
c98265b836
(selection_data_to_lisp_data): Use make_string_from_bytes.
1998-03-21 17:49:39 +00:00
Richard M. Stallman
2a1d8be0dc
(insert_from_string_1, replace_range):
...
Use STRING_MULTIBYTE to determine whether string is multibyte.
1998-03-21 17:48:54 +00:00
Richard M. Stallman
dc3620af1b
Use STRING_BYTES and SET_STRING_BYTES.
...
(Ftranspose_regions): Try to handle combining bytes.
1998-03-21 07:06:55 +00:00
Richard M. Stallman
fc932ac6c7
Use STRING_BYTES and SET_STRING_BYTES.
1998-03-21 07:06:14 +00:00
Richard M. Stallman
de57a39c28
Don't include puresize.h any more as code that needs it
...
has moved to keyboard.c.
(menu_item_equiv_key, menu_item_enabled_p_1, menu_item_enabled_p):
Functions deleted; code moved to parse_menu_item in keyboard.c.
(single_keymap_panes): Large part of code moved to single_menu_item.
(single_menu_item): New function that uses parse_menu_item.
(Qmenu_alias): Variable deleted.
(QCtoggle, QCradio): New variables.
(syms_of_xmenu): Change initializations of variables.
1998-03-21 06:01:22 +00:00
Richard M. Stallman
a3fc8840a3
(fix_submap_inheritance, get_keyelt, store_in_keymap,
...
copy-keymap, where_is_internal_1): Support new format for menu items.
(syms_of_keymap): New symbol `menu-item'.
1998-03-21 05:53:36 +00:00
Richard M. Stallman
e8886a1d99
Include puresize.h for CHECK_IMPURE.
...
(parse_menu_item): New function.
(menu_item_eval_property_1, menu_item_eval_property) New suroutines.
(menu_bar_one_keymap): Moved some code to menu_bar_item.
(menu_bar_item): Rewritten to use parse_menu_item.
(menu_bar_item_1): Function deleted.
(QCenable, QCvisible, QChelp, QCfilter, QCbutton, QCtoggle, QCradio):
(Qmenu_alias): New variables.
(syms_of_keyboard): Initialize them, and item_properties.
1998-03-21 05:49:49 +00:00
Richard M. Stallman
2db5082ff4
(replace_range): New arg NOMARKERS.
1998-03-21 05:48:03 +00:00
Richard M. Stallman
aab28f4722
(internal_self_insert): Pass new arg to replace_range.
1998-03-21 04:45:12 +00:00
Richard M. Stallman
e928d437c2
(record_delete): Replace LENGTH arg with STRING.
...
(record_change): Call record_delete the new way.
1998-03-21 03:58:00 +00:00
Richard M. Stallman
628cea90f1
(insert_1_both, insert_from_string_1, insert_from_buffer_1):
...
(adjust_before_replace, adjust_after_replace, replace_range):
(del_range_2): Call record_delete the new way.
Use make_buffer_string_both to make the string to pass.
1998-03-21 03:57:35 +00:00
Richard M. Stallman
88441c8eb8
(make_buffer_string_both): New function.
...
(make_buffer_string): Use make_buffer_string_both.
1998-03-21 02:57:08 +00:00
Richard M. Stallman
a42fefa844
(keymap.o): Depend on puresize.h.
...
(xmenu.o): Don't depend on puresize.h.
1998-03-20 22:38:54 +00:00
Richard M. Stallman
7cc3983fcb
(del_range_2): Use adjust_markers_for_record_delete.
...
(adjust_markers_for_delete): Delete unused local coming_gap_size.
(adjust_markers_for_record_delete): New function.
(insert_1_both, insert_from_string_1, insert_from_buffer_1)
(adjust_after_replace, replace_range):
Use adjust_markers_for_record_delete.
1998-03-20 06:10:36 +00:00
Richard M. Stallman
171d003c94
(window_display_table): Don't look inside buffer if its nil.
1998-03-20 05:11:27 +00:00
Richard M. Stallman
72ef82ec68
(Fgoto_char): If POSITION is a marker pointing a
...
different buffer, don't rely on the byte position of the marker.
1998-03-20 05:00:31 +00:00
Richard M. Stallman
25c9e7fbd7
(Fformat): Handle padding before or after, for %s etc.
...
Treat 0 like a multibyte char in %c.
1998-03-20 04:59:15 +00:00
Richard M. Stallman
bd26d5a361
(get_boot_time): Conditionalize on BOOT_TIME.
...
(lock_file_1): Add boot-time to lock only if available.
1998-03-19 21:19:07 +00:00
Kenichi Handa
1d10ac5b4b
(read1): Call multibyte_chars_in_text
...
instead of chars_in_text because we must ignore
enable-multibyte-characters here.
1998-03-19 07:34:29 +00:00
Kenichi Handa
bab9ce2f56
(byte_char_debug_check): Call multibyte_chars_in_text
...
instead of chars_in_text because we must ignore
enable-multibyte-characters here.
1998-03-19 07:34:29 +00:00
Kenichi Handa
88ab3cc133
(Fstring_as_multibyte): Call multibyte_chars_in_text
...
instead of chars_in_text because we must ignore
enable-multibyte-characters here.
1998-03-19 07:34:29 +00:00