1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 07:20:35 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
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
Kenichi Handa
bb5999ae96 (INC_POS): Use macro BASE_LEADING_CODE_P.
(DEC_POS): Make the behaviour consistent with INC_POS.
(BUF_INC_POS, BUF_DEC_POS): Likewise.
1998-02-20 01:40:47 +00:00
Kenichi Handa
fb88bf2d25 (decode_coding_iso2022): Update coding->fake_multibyte.
(ENCODE_SINGLE_SHIFT_2, ENCODE_SINGLE_SHIFT_3,
encode_coding_iso2022, decode_coding_sjis_big5,
encode_coding_sjis_big5, decode_eol, encode_eol, decode_coding,
encode_coding): Likewise.
(shrink_decoding_region, shrink_encoding_region): Do not skip
non-ASCII code in any cases.  Bug fix for getting starting address
from BEG.
(code_convert_region): Sync character positions correctly by
paying attention to coding->fake_multibyte.
(code_convert_string): Set number of character and bytes just
processed in members of CODING.
(code_convert_string): Adjusted for the change of
code_convert_region.
(code_convert_region1): Likewise.
1998-02-20 01:40:47 +00:00
Kenichi Handa
e6a9a0bce6 (struct coding_system): New member fake_multibyte. 1998-02-20 01:40:47 +00:00
Kenichi Handa
64e0ae2a6a (Finsert_file_contents): Read a file contents into the
correct buffer (byte) position.  Adjusted for the change of
code_convert_region.
1998-02-20 01:40:47 +00:00
Kenichi Handa
0ab9dd767e (Fset_char_table_default): For an invalid character, call
invalid_character.
1998-02-20 01:40:47 +00:00
Kenichi Handa
26aff1500f (search_buffer): Update POS_BYTE for regexp search. 1998-02-20 01:40:47 +00:00
Kenichi Handa
0d09d1e645 (try_window_id): Use DEC_POS only for multibyte buffer.
display_text_line): Handling of a wide-column character fixed.
Make the behaviour consistent with INC_POS.
1998-02-20 01:40:47 +00:00
Karl Heuer
f55a1d8128 (Fchar_before): Check POS in valid range
before calling CHAR_TO_BYTE.
1998-02-18 22:56:25 +00:00
Karl Heuer
588d2fd5ff (search_command): Check LIM in valid range
before calling CHAR_TO_BYTE.
1998-02-18 22:54:43 +00:00
Richard M. Stallman
c923ccc981 (read_minibuf): Do use DEFALT in place of empty input
when when expflag is nonzero.
(Fread_no_blanks_input): Arg INIT renamed to INITIAL.
1998-02-17 19:44:25 +00:00
Richard M. Stallman
cc6e2aaa2a (split_interval_right): Make sure to call
balance_possible_root_interval in case an interval doesn't have a
right child, because otherwise the interval tree might degenerate into
a list.

(split_interval_left): Ditto if an interval hasn't a left child.
1998-02-16 23:46:08 +00:00
Richard M. Stallman
ef316cf013 (skip_chars): Use INC_POS instead of INC_BOTH.
(Fforward_comment): Always use both FROM and FROM_BYTE to set point.
Use dec_bytepos not DEC_POS.
(scan_lists): Handle unibyte buffers when decrementing temp_pos.
(INC_FROM): Use INC_BOTH.
(inc_bytepos, dec_bytepos): In unibyte mode, just increment bytepos.
1998-02-16 03:02:53 +00:00
Richard M. Stallman
d619ee06f2 (INC_BOTH, DEC_BOTH): In unibyte mode, simply increment bytepos. 1998-02-16 03:01:16 +00:00