Richard M. Stallman
f844932305
(advance_to_char_boundary): Handle the case the code
...
0240..0377 is not a constituent of a multibyte sequence.
1998-03-06 21:57:04 +00:00
Richard M. Stallman
e54daa22b0
(Fmake_string): Handle the case INIT is a multibyte character correctly.
1998-03-06 21:50:44 +00:00
Richard M. Stallman
846f93fd7d
(alloc.o): Depend on charset.h.
1998-03-06 21:49:18 +00:00
Kenichi Handa
7cf8c582dd
(code_convert_region): Fix previous change.
1998-03-04 08:05:14 +00:00
Kenichi Handa
673c57d22a
(Fset_buffer_multibyte): Fix arg for chars_in_text.
...
Be sure not to have a multibyte sequence striding over the GAP
1998-03-04 07:41:41 +00:00
Kenichi Handa
f49a2d7452
(Fformat): Format multibyte characters by "%c"
...
correctly. Handle padding for multibyte characters correctly.
1998-03-04 07:41:41 +00:00
Kenichi Handa
e515b0a97e
(strwidth): Make it work for invalid bytes sequence.
...
(Fstring_width): Give byte length of STR to strwidth.
1998-03-04 07:41:41 +00:00
Kenichi Handa
4b5ce59134
(code_convert_region): Handle the case that codes
...
0240..0377 are generated just after a multibyte character.
1998-03-04 07:41:41 +00:00
Richard M. Stallman
0d2c68154e
(BASE_PURESIZE): Increased.
1998-03-03 22:29:16 +00:00
Kenichi Handa
f7111f902a
(dired.o): Depend on charset.h and coding.h.
1998-03-03 07:18:46 +00:00
Kenichi Handa
5740418892
(insert_1_both): If enable-multibyte-characters is nil,
...
insert each byte as one character.
1998-03-03 07:18:46 +00:00
Kenichi Handa
8d0243456d
(Vdefault_file_name_coding_system): Extern it.
...
(Fcall_process): Use ENCODE_FILE.
1998-03-03 07:18:46 +00:00
Kenichi Handa
a4e91443c2
(Fformat): Fix previous change.
1998-03-03 07:18:46 +00:00
Kenichi Handa
290591c8fb
(ENCODE_FILE): Moved from fileio.c. Use
...
default-file-name-coding-system if file-name-coding-system is nil.
(DECODE_FILE): New macro.
1998-03-03 07:18:46 +00:00
Kenichi Handa
bd33479f0a
Include charset.h and coding.h.
...
(ENCODE_FILE): This macro is moved to coding.h.
(Vdefault_file_name_coding_system): Extern it.
(Fdirectory_files): Use DECODE_FILE.
(file_name_completion): Likewise.
1998-03-03 07:18:46 +00:00
Kenichi Handa
14dc609387
(Vdefault_file_name_coding_system): Extern it.
...
(create_process): Use ENCODE_FILE.
1998-03-03 07:18:46 +00:00
Kenichi Handa
cd913586ad
(ENCODE_FILE): This macro is moved to coding.h.
...
(Vdefault_file_name_coding_system): New variable.
(syms_of_fileio): Defsubr it.
(Ffile_symlink_p): Use DECODE_FILE.
(Ffile_name_directory): Use size_byte member of XSTRING (filename).
(Ffile_name_as_directory): Likewise.
(Fdirectory_file_name): Likewise.
(Fsubstitute_in_file_name): Likewise.
(expand_and_dir_to_file): Likewise.
(Fdo_auto_save): Likewise.
(Fread_file_name): Likewise.
1998-03-03 07:18:46 +00:00
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