1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 23:10:26 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Richard M. Stallman
e71b197157 (re_match_2_internal): Declare buf_ch unsigned int. 1998-04-07 03:21:46 +00:00
Richard M. Stallman
69927a6cec Don't include <string.h> when configuring. 1998-04-07 03:21:19 +00:00
Karl Heuer
e540cbed19 (Fdirectory_files): Use make_uninit_multibyte_string.
Use STRING_BYTES on encoded_directory.
1998-04-06 21:52:29 +00:00
Andreas Schwab
96ced23cf1 (Flength): Doc fix. 1998-04-06 09:33:40 +00:00
Andreas Schwab
c1937d6a5e (unexec): Account for possible padding before the old .bss
section.
1998-04-06 09:26:20 +00:00
Andreas Schwab
8daf7106e6 (Ftranspose_regions): Fix order of parameters for replace_range. 1998-04-06 09:20:04 +00:00
Andreas Schwab
96d6400464 (Fdirectory_files): GCPRO encoded_directory and list.
Compute needsep only once.  Pass correct arg to chars_in_text.
1998-04-06 09:11:05 +00:00
Andreas Schwab
6feef45153 (gc_sweep): Avoid using two loop variables counting the
same thing.
1998-04-06 09:04:23 +00:00
Kenichi Handa
fa25174026 (Fstring_as_unibyte): Set size_byte field to -1. 1998-04-06 05:06:12 +00:00
Richard M. Stallman
453fa9876f (print) <Lisp_String>: Follow a hex escape with `\ ' if nec. 1998-04-05 19:18:32 +00:00
Richard M. Stallman
8f152ad40d Fix previous change. 1998-04-05 19:13:50 +00:00
Richard M. Stallman
bba88bb165 (make_frame_without_minibuffer): Conditionalize on HAVE_WINDOW_SYSTEM.
(make_minibuffer_frame): Likewise.
1998-04-04 06:37:54 +00:00
Richard M. Stallman
d13a848004 (Fmessage_box): Pass the missing third argument
STRING_MULTIBYTE (val) to message2.
1998-04-04 05:27:31 +00:00
Richard M. Stallman
a26f4ccdd5 (regex_compile) [!MATCH_MAY_ALLOCATE]: Fix paren error. 1998-04-04 00:00:06 +00:00
Richard M. Stallman
24cef2618f (set_intervals_multibyte): Function moved after set_intervals_multibyte_1. 1998-04-03 23:58:11 +00:00
Richard M. Stallman
e934739e62 (compile_range): Unused function deleted.
(regex_compile): Special handling for range \177-\377.
(regex_compile): Cast args to TRANSLATE to unsigned char.
(re_search_2): Fix forward scan handling multibyte.
Recognize that nonascii characters are not in the fastmap.
Handle fetching multibyte characters for backward scan,
(re_match_2_internal): Handle multibyte and translation
in exactn and anychar.
(bcmp_translate): Handle multibyte chars for translation.

(TRANSLATE): Don't cast to  unsigned char.

(PATFETCH): Use RE_TRANSLATE to translate.
1998-04-03 07:33:13 +00:00
Richard M. Stallman
37254ece9e (Fmake_variable_frame_local): Doc fix. 1998-04-03 03:13:32 +00:00
Richard M. Stallman
9658795ce8 (Fstring_as_multibyte): Never return unibyte string unchanged.
Set size_byte field.
1998-04-02 22:48:51 +00:00
Dave Love
898df4aa14 (main): Add [--unibyte] to usage. 1998-04-02 18:46:08 +00:00
Richard M. Stallman
37cbd14613 (RE_TRANSLATE): Use char_table_translate. 1998-04-02 08:11:19 +00:00
Richard M. Stallman
1d969a2339 (char_table_translate): New function. 1998-04-02 08:10:56 +00:00
Richard M. Stallman
4a4c24d09e (redisplay_window): Fix computing pos from last_point. 1998-04-02 04:40:52 +00:00
Kenichi Handa
15b0983da0 (buf_charpos_to_bytepos): Delete local variable gapend_byte. 1998-04-02 00:25:47 +00:00
Kenichi Handa
704c57813e (CHARSET_OK): Don't reject safe charsets.
(DECODE_DESIGNATION): Likewise.
(check_composing_code): Likewise.
1998-04-02 00:25:47 +00:00
Kenichi Handa
25b98b34c5 (selection_data_to_lisp_data): Give
make_string_from_bytes a correct char size.
1998-04-02 00:25:47 +00:00
Kenichi Handa
652838b531 (adjust_markers_for_replace): New function.
(adjust_after_replace): Arguments changed.  Call
adjust_markers_for_replace if this function is called after
replacement.
(adjust_after_insert): New function.
1998-03-30 06:00:54 +00:00
Kenichi Handa
1e94b9981a (adjust_after_replace, adjust_after_insert): Extern them. 1998-03-30 06:00:54 +00:00
Kenichi Handa
12410ef100 (code_convert_region): Handle skipped ASCII characters
at the head and tail of conversion region correctly when adjusting
position keepers.  Call adjust_after_insert to record undo info
and adjust markers when we don't have to change byte sequence of
a buffer.
1998-03-30 06:00:54 +00:00
Kenichi Handa
a137bb009d (struct coding_system): Comment for the member
heading_ascii modified.
1998-03-30 06:00:54 +00:00
Kenichi Handa
12fccb8562 (Finsert_file_contents): Call adjust_after_insert when
a text is inserted in a multibyte buffer without any code
conversion.
1998-03-30 06:00:54 +00:00
Richard M. Stallman
212e4f8756 (display_text_line): Handle overlay-arrow correctly. 1998-03-29 01:25:20 +00:00
Richard M. Stallman
f5f9a3da6b (code_convert_region): Call adjust_before_replace
in the no-conversion case.  Adjust GPT, ZV and Z in chars.
1998-03-28 21:55:22 +00:00
Richard M. Stallman
60ea60525e (check_markers_debug_flag): New variable.
(syms_of_insdel): Set up Lisp var.
(CHECK_MARKERS): New macro.  Use it everywhere
instead of calling check_markers directly.
It tests check_markers_debug_flag.
1998-03-28 21:52:10 +00:00
Richard M. Stallman
4c315bdabd (mark_buffer): Mark the undo_list slot specially;
don't mark a marker just cause it is in this list.
(Fgarbage_collect): Discard from all undo-lists
all elements that adjust markers that were not marked.
1998-03-28 21:50:59 +00:00
Richard M. Stallman
b50f6283db (struct buffer): Field undo_list' moved before name'
so it won't get marked in the usual way.
1998-03-28 21:50:39 +00:00
Richard M. Stallman
b8b29dc948 (barf_or_query_if_file_exists): New arg QUICK. All calls changed. 1998-03-28 08:25:53 +00:00
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