1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
Commit graph

8496 commits

Author SHA1 Message Date
Richard M. Stallman
b4e187e2ce (Vnonascii_translate_table, Qcharset): New variable decls.
(Fstring_make_multibyte, Fstring_make_unibyte): New function decl.
(Fstring_as_multibyte, Fstring_as_unibyte): New function decl.
(list2, list3, list4, list5): New function decl.
(Fwrite_region): Add an argument.
(compare_window_configurations): New function decl.
1998-03-03 01:31:11 +00:00
Kenichi Handa
59a52d5000 (DEFAULT_NONASCII_INSERT_OFFSET): Macro definition is
moved to charset.h.
(copy_text): Don't convert codes in the range 0200..0237 to
multibyte characters.  For codes in the range 0240..0377, use
unibyte_char_to_multibyte.
(count_size_as_multibyte): Likewise.
(adjust_before_replace): Comment fixed.
1998-03-03 01:29:16 +00:00
Kenichi Handa
11218c687b (Fcall_process): Calculate CARRYOVER correctly. 1998-03-03 01:29:16 +00:00
Kenichi Handa
e3670faac7 (general_insert_function): Use
unibyte_char_to_multibyte if an argument is character code.
(Finsert_char): Use unibyte_char_to_multibyte.
(string1): Cast ARGS to `char **' to avoid compiler warning.
1998-03-03 01:29:16 +00:00
Kenichi Handa
d26650180f (DEFAULT_NONASCII_INSERT_OFFSET): Macro definition is
moved to charset.h.
(unibyte_char_to_multibyte): Always return a valid character.
(Funibyte_char_to_multibyte): New function.
(syms_of_charset): Defsubr it.  Doc-string of
nonascii-insert-offset is modified.
1998-03-03 01:29:16 +00:00
Kenichi Handa
54e15bb98c (NONASCII_INSERT_OFFSET): New macro.
(VALID_MULTIBYTE_CHAR_P): New macro.
1998-03-03 01:29:16 +00:00
Kenichi Handa
b98590074d (internal_self_insert): Avoid checking enable-multibyte-characters
twice.
1998-03-03 01:29:16 +00:00
Kenichi Handa
3b2d77fe29 Typo in comment fixed. 1998-03-03 01:29:16 +00:00
Kenichi Handa
8fc91a858f (Ffile_name_nondirectory): Use size_byte member of
XSTRING (filename).
1998-03-03 01:29:16 +00:00
Kenichi Handa
2cef5737de (DEFAULT_NONASCII_INSERT_OFFSET): Macro definition is
moved to charset.h.
(concat): Use unibyte_char_to_multibyte.
1998-03-03 01:29:16 +00:00
Kenichi Handa
93fdf93bc1 (try_window_id): Use DEC_BOTH unconditionally.
(display_text_line): Likewise.
1998-03-03 01:29:16 +00:00
Richard M. Stallman
96f6280939 (keyboard.o): Depend on syntax.h. 1998-03-02 20:03:55 +00:00
Richard M. Stallman
e39da3d777 Include syntax.h.
(interrupt_signal): Save and restore gl_state
around an immediate quit, in case debugger returns.
1998-03-02 20:02:33 +00:00
Richard M. Stallman
2f8274be2c (compare_window_configurations): New arg ignore_positions.
(Fcompare_window_configurations): New function.
(syms_of_window): defsubr it.
1998-03-02 19:12:51 +00:00
Richard M. Stallman
4864692429 (internal_equal): compare_window_configurations takes new arg. 1998-03-02 19:10:51 +00:00
Richard M. Stallman
de1d012702 (auto_save_1): Pass new arg to Fwrite_region.
(Fwrite_region): New arg CONFIRM.  If non-nil, confirm overwriting.
1998-03-02 19:08:05 +00:00
Richard M. Stallman
7d88962ce8 (Fcall_process_region): Pass new arg to Fwrite_region. 1998-03-02 19:07:00 +00:00
Richard M. Stallman
2132370622 (XTframe_up_to_date): Check that mouse_face_mouse_frame
is non-null before calling note_mouse_highlight.
(x_destroy_window): If f equals mouse_face_mouse_frame,
clear that, and clear mouse_face_deferred_gc too.
1998-03-02 18:53:21 +00:00
Richard M. Stallman
2f16e7fdda (UPDATE_SYNTAX_TABLE): Do nothing unless parse_sexp_lookup_properties.
(UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD): Likewise.
(SYNTAX_TABLE_BYTE_TO_CHAR): If parse_sexp_lookup_properties is 0,
return 0 right away.
(SETUP_SYNTAX_TABLE): Add if (1) ... else.
1998-03-02 06:01:09 +00:00
Richard M. Stallman
75167cd4e4 (update_interval): Properly update `position' field of used intervals. 1998-03-02 02:41:28 +00:00
Richard M. Stallman
d80f4cc71c (update_syntax_table): Properly update `position' field of used intervals. 1998-03-02 02:40:53 +00:00
Richard M. Stallman
2509b14d79 Delete #endif left over from previous change. 1998-03-01 23:17:19 +00:00
Karl Heuer
ddbc19ff25 Reorder args in callers of del_range_2. 1998-02-27 22:09:52 +00:00
Karl Heuer
a66afea01c (del_range_2): Reorder args. All callers changed. 1998-02-27 22:09:33 +00:00
Karl Heuer
db4f2bfa4c (syms_of_xdisp): Doc fix. 1998-02-27 22:05:12 +00:00
Karl Heuer
984ef137be (store_symval_forwarding) <Lisp_Misc_Buffer_Objfwd>:
If buffer_local_types has -1, this variable is read-only.
(Fset_default) <BUFFER_OBJFWDP>:
Unconditionally set the slot in buffer_defaults.
1998-02-27 21:56:28 +00:00
Karl Heuer
1bf08bafe7 (syms_of_buffer): enable-multibyte-characters is read-only. 1998-02-27 21:55:45 +00:00
Karl Heuer
f00008bc57 Fix comment. 1998-02-27 21:55:01 +00:00
Karl Heuer
33aa088183 (mapcar1): Handle bool-vectors.
(Fmapconcat, Fmapcar): Doc fixes.
(Flength): For char-table, length is based on max valid char code.
1998-02-27 21:52:08 +00:00
Andreas Schwab
ef3af330d2 (compute_motion): If we just moved over a continuation
return contin_hpos as prevhpos.
1998-02-27 09:38:41 +00:00
Karl Heuer
353800c79a (del_range_both): Reorder args. All callers changed. 1998-02-25 23:18:15 +00:00
Karl Heuer
bc69581bb2 Reorder args of del_range_both. 1998-02-25 23:16:37 +00:00
Kenichi Handa
dbfab20562 (scan_newline): Delete duplicated code. 1998-02-24 06:57:15 +00:00
Kenichi Handa
2d3ae3f0da (message_dolog): Give correct args to
message_log_check_duplicate and del_range_both.
1998-02-24 06:57:15 +00:00
Karl Heuer
ceb7e4f8e7 (Fdelete_backward_char): Count both bytes and chars. 1998-02-22 01:06:06 +00:00
Karl Heuer
1d1293ddf1 (UPDATE_SYNTAX_TABLE_FORWARD): Fix condition.
(UPDATE_SYNTAX_TABLE_BACKWARD, UPDATE_SYNTAX_TABLE): Likewise.
(SETUP_SYNTAX_TABLE_FOR_OBJECT): Fix bounds.
1998-02-22 01:04:35 +00:00
Karl Heuer
ee0cdb4862 (update_syntax_table): Fix calculations using offset.
(skip_chars): Fix loop termination condition.
1998-02-22 01:04:11 +00:00
Karl Heuer
d0cb872a04 (interval_of): Handle Qt. 1998-02-22 01:03:49 +00:00
Andreas Schwab
2e38d8620a (LINUX_MAP_SHARED_DOES_WORK): Define for kernel
version after 2.0.
(UNEXEC_USE_MAP_PRIVATE): Don't define if
LINUX_MAP_SHARED_DOES_WORK.
1998-02-20 13:06:59 +00:00
Andreas Schwab
47b682b73c (sigmask) [POSIX_SIGNALS]: Always define our own
version that returns a sigset_t.
(sigpause) [POSIX_SIGNALS]: Unconditionally define in terms of
sigsuspend.  Don't redefine SIGEMPTYMASK.
(sys_sigpause): Don't declare.
(temp_mask): Don't declare.
1998-02-20 13:01:10 +00:00
Andreas Schwab
c639b0e327 (sys_sigpause): Removed.
(new_action, old_action): Move as local variables into sys_signal.
(old_mask, temp_mask): Removed.
1998-02-20 13:00:21 +00:00
Kenichi Handa
3f49e59945 (Fmessage): Check byte size (instead of char size) of
VAL against MESSAGE_LENGTH.
1998-02-20 11:14:32 +00:00
Kenichi Handa
021452a726 (Fccl_execute_on_string): Put \n\ at end-of-line of
doc-string.
1998-02-20 11:14:32 +00:00
Kenichi Handa
55a7907fc8 (Fwrite_region): When writing a string, give byte size
to a_write.
(a_write): Handle annotations correctly when writing a string.
1998-02-20 11:14:32 +00:00
Kenichi Handa
c9c0f7cf48 (MULTIBYTE_BYTES_WIDTH): New macro.
(current_column_1): Don't follow a display table for a heading
byte of a multibyte character.  Use the macro
MULTIBYTE_BYTES_WIDTH.
(Fmove_to_column): Likewise.
(compute_motion): Likewise.  Handling of wide-column character
fixed.
1998-02-20 01:40:47 +00:00
Kenichi Handa
2d9eea4477 (adjust_before_replace): Comment added.
(adjust_after_replace): Comment added.  Give correct args to
adjust_point.  Don't call signal_after_change here.
1998-02-20 01:40:47 +00:00
Kenichi Handa
2189766e34 (temp_set_point_both): Declare arg BYTEPOS as int.
(set_point_both): Likewise.
1998-02-20 01:40:47 +00:00
Kenichi Handa
20773569e0 (advance_to_char_boundary): Make the behaviour
consistent with INC_POS.
1998-02-20 01:40:47 +00:00
Kenichi Handa
39a68837f4 (Fccl_execute_on_string): Add new arg UNIBYTE-P. 1998-02-20 01:40:47 +00:00
Kenichi Handa
93bcb7852b (invalid_character): New function.
(chars_in_text): Make the behaviour consistent with INC_POS.
(multibyte_chars_in_text): Likewise.
(str_cmpchar_id): Likewise.
(non_ascii_char_to_string): Call invalid_character.
(Fchar_direction): Likewise.
1998-02-20 01:40:47 +00:00