1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-18 00:50:44 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Kenichi Handa
0ef691383d Name change through the code:
coding-category-internal => coding-category-emacs-mule,
XXX_coding_internal => XXX_coding_emacs_mule,
coding_type_internal => coding_type_emacs_mule,
coding_type_automatic => coding_type_undecided,
CODING_CATEGORY_MASK_INTERNAL => CODING_CATEGORY_MASK_EMACS_MULE,
CODING_CATEGORY_IDX_INTERNAL => CODING_CATEGORY_IDX_EMACS_MULE,
CODING_EOL_AUTOMATIC => CODING_EOL_UNDECIDED.
1997-05-16 00:43:29 +00:00
Kenichi Handa
bd4c6dd02f (non_ascii_char_to_string): Signal error if the
argument C is an invalid character code.
(Fconcat_chars): Use alloca instead of malloc.
1997-05-16 00:43:27 +00:00
Kenichi Handa
c6112b99dc (VALID_CHAR_P): New macro.
(CHAR_STRING):  Comment modified
1997-05-16 00:43:26 +00:00
Kenichi Handa
4b9171878a Declare Fcopy_keymap as Lisp_Object in advance to
avoid compiler error.
1997-05-16 00:43:22 +00:00
Kenichi Handa
1177ecf679 (BYTES_USED): Put # at the beginning of line.
(emacs_blocked_malloc): Likewise.
1997-05-16 00:43:18 +00:00
Kenichi Handa
d02eeab3cf Declare set_internal as Lisp_Object in advance to avoid
compiler error.
1997-05-16 00:43:15 +00:00
Kenichi Handa
e3ed8469ee Declare Fuser_full_name as Lisp_Object in advance to
avoid compiler error.
1997-05-16 00:43:11 +00:00
Kenichi Handa
a9f1cc19b7 (struct ccl_prog_stack): Declear the member ccl_prog as
Lisp_Object *
1997-05-16 00:43:09 +00:00
Kenichi Handa
ea5239ece3 (fontset_pattern_regexp): Cast to (char *) before
assigning to P0.
1997-05-16 00:43:08 +00:00
Kenichi Handa
e1335ba243 (copy_sub_char_table): Declare the argument ARG as
Lisp_Object.
(Fset_char_table_default): New function.
1997-05-16 00:43:05 +00:00
Kenichi Handa
f613a4c856 (dumpglyphs): Draw glyphs one by one if the font for
them is narrower than required.
(x_connection_closed): Put # at the beginning of line.
(x_load_font): Cast to (char *) before assigning to FONTNAME.
1997-05-16 00:42:53 +00:00
Richard M. Stallman
92cf108656 (Finsert_file_contents): Use xrealloc too. 1997-05-15 21:28:03 +00:00
Richard M. Stallman
b00ca0d7ea (Finsert_file_contents): Use xmalloc. not malloc.
Check correctly for whether no code translation is needed.
1997-05-15 20:15:56 +00:00
Richard M. Stallman
69b3a14b48 (Fcopy_sequence): Correctly copy the char-table contents. 1997-05-15 18:39:33 +00:00
Richard M. Stallman
859f2b3c02 (strwidth, Fchar_width): Handle display table. 1997-05-15 18:26:28 +00:00
Karl Heuer
a04538dade Include charset.h.
(Qidentity): Define this variable.
(syms_of_casefiddle): Initialize and staticpro it.
(casify_object, casify_region): Handle multibyte.
1997-05-15 07:47:29 +00:00
Karl Heuer
e16696bacc (compute_trt_identity, compute_trt_shuffle): Add comments. 1997-05-15 07:35:32 +00:00
Richard M. Stallman
4edca269cc (compute_trt_identity): Use make_sub_char_table.
(compute_trt_identity, compute_trt_shuffle):
Set up bytes[0] with the charset code.
Check for a sub-char-table when deciding to recurse.
Terminate the loop properly for a sub-char-table.
1997-05-15 03:22:38 +00:00
Richard M. Stallman
55c4d99f91 (Fcall_interactively): Pass extra arg to Fread_string. 1997-05-15 02:28:34 +00:00
Richard M. Stallman
1d8d92f4fe (Fread_from_minibuffer): Add gcpro. 1997-05-15 02:28:12 +00:00
Karl Heuer
c0c15b9339 Include charset.h.
(compute_trt_inverse): Totally rewritten.
Args are now Lisp_Object.  Callers changed.
(compute_trt_identity, compute_trt_shuffle): New subroutines.
(init_casetab_once): Use XSETFASTINT to store into case table;
use CHAR_TABLE_SINGLE_BYTE_SLOTS to end the loop.
1997-05-15 02:23:20 +00:00
Richard M. Stallman
542d7fd2ba (describe_vector): Identify charset row numbers clearly. 1997-05-14 05:47:07 +00:00
Richard M. Stallman
46ed603f3e (map_char_table): New arg SUBTABLE. Callers changed.
Pass the whole chartable to C_FUNCTION.
Pass index character as a Lisp_Object.
1997-05-13 19:51:29 +00:00
Richard M. Stallman
0403641fca (get_keyelt): Handle an indirect entry with meta char.
(describe_vector): Rewrite char-table handling.

(Fmake_keymap): Make a char-table.
(access_keymap, store_in_keymap): Likewise,
(describe_map, Fset_keymap_parent, Faccessible_keymaps): Likewise.
(Fwhere_is_internal, Fcopy_keymap): Handle a char-table.
(copy_keymap_1, accessible_keymaps_char_table): New subroutines.
(where_is_internal_1, where_is_internal_2): New functions.
(syms_of_keymap): Set up Qchar_table_extra_slots prop on Qkeymap.
1997-05-13 19:41:21 +00:00
Richard M. Stallman
96439b6aab (describe_category_1): Pass new args to describe_vector. 1997-05-13 19:36:37 +00:00
Richard M. Stallman
e41819d480 (describe_syntax_1): Pass new args to describe_vector. 1997-05-13 19:36:15 +00:00
Richard M. Stallman
3883fbebaa (wrong_type_argument): Pass new arg to Fstring_to_number.
(Fstring_to_number): Handle bases 2...16.
(digit_to_number): New subroutine.
1997-05-12 22:04:18 +00:00
Richard M. Stallman
abb4b7ec87 (Fx_create_frame): Get X resources from the display
we are making the frame on.
(x_get_arg): New arg DPYINFO.  Callers changed.
(display_x_get_resource): New function.
1997-05-12 18:58:20 +00:00
Richard M. Stallman
8959979418 (command_loop_1): Use an int for last_command_char. 1997-05-10 21:48:30 +00:00
Richard M. Stallman
e5d4686b20 (Fread_command): New optional arg DEFAULT-VALUE. Callers changed.
(Fread_variable, Fread_string, Fread_from_minibuffer): Likewise.
(read_minibuf): Now static.  New arg DEFALT.  Callers changed.
Bind minibuffer-default here.
(read_minibuf_unwind): Now static.
(Fcompleting_read): Past DEF to Fread_from_minibuffer;
no need to use it directly here.

(Fcompleting_read): New arg DEF.  Callers changed.
(Qminibuffer_default): New variable.
(syms_of_minibuf): Initialize it.
1997-05-10 21:47:21 +00:00
Richard M. Stallman
ff9cd111c6 (Fcall_interactively): Pass new arg to
Fread_from_minibuffer and Fread_variable.

(Fcall_interactively): Pass new arg to Fcompleting_read.
1997-05-10 21:44:59 +00:00
Richard M. Stallman
435bc8400e (Fbury_buffer): If buffer is in selected window, remove it.
Otherwise, remove it from other windows.
1997-05-10 21:44:11 +00:00
Kenichi Handa
1c283e35bc (Vfontset_alias_alist): New variable.
(fontset_pattern_regexp): Delete code for handling nickname of a
fonset.  It is now handled in Fquery_fontset by consulting
Vfontset_alias_alist.
(Fquery_fontset): Handle Vfontset_alias_alist.
(syms_of_fontset): Terminate each line by `\n\' in doc-string of
alternate-fontname-alist.  Declare Lisp valiable
fontset-alias-alist.  Doc-string of highlight-wrong-size-font
and clip-large-size-font modified.
1997-05-10 03:37:01 +00:00
Kenichi Handa
69445b3bd4 (Fcall_process_region): Supply 7th new arg
CODING_SYSTEM as Qnil to Fwrite_region.
1997-05-10 03:37:01 +00:00
Kenichi Handa
cb5373dd8d (Fccl_execute_on_string): Add 4th optional arg
CONTINUE.
1997-05-10 03:37:01 +00:00
Kenichi Handa
23d2a7f194 (unify_char): New function.
(Fdefine_charset): Doc-string modified.
(find_charset_in_str): Add 4th arg TABLE which is a character
unification table.
(Ffind_charset_region): Add optional arg TABLE which is a
character unification table.
(Ffind_charset_string): Likewise.
1997-05-10 03:37:01 +00:00
Kenichi Handa
2db95897dd (unify_char): Extern it. 1997-05-10 03:37:01 +00:00
Kenichi Handa
bdd9fb4867 (Valternate_charset_table): The valiable deleted.
(Venable_character_unification,
Vstandard_character_unification_table_for_read,
Vstandard_character_unification_table_for_write,
Qcharacter_unification_table): New variables.
(syms_of_coding): Initialize and declare them.
(DECODE_ISO_CHARACTER): Modified to handle a character unification
table instead of Valternate_charset_table.
(DECODE_DESIGNATION): Delete handling of Valternate_charset_table.
(decode_coding_iso2022): Handle a character unification table.
(ENCODE_ISO_CHARACTER): New macro.
(encode_designation_at_bol): Handle a character unification table.
Do not return -1 even if end-of-line is not in the current run.
(encode_coding_iso2022): Handle a character unification table.
Call macro ENCODE_ISO_CHARACTER instead of calling
ENCODE_ISO_CHARACTER_DIMENSION1 and
ENCODE_ISO_CHARACTER_DIMENSION2 directly.  Check the size of
carryover before copying it to destination.
(setup_coding_system): Initialize the member
character_unification_table of the struct coding system to Qnil.
(Fset_keyboard_coding_system): Doc string augmented.
1997-05-10 03:37:01 +00:00
Kenichi Handa
ceb5851081 (CODING_SPEC_ISO_PLANE_CHARSET): Return -1 if no
character set is invoked to PLANE.
(struct coding_system): New member character_unification_table.
1997-05-10 03:37:01 +00:00
Kenichi Handa
cdfb0f1d9b (Fwrite_region): Add 7th optional arg
CODING_SYSTEM.  Move gap after a newline code if we are encoding
in a coding system which requires designation sequences to be put
at beginning of line.  Set coding.last_block to 1 before calling
a_write for an empty file.
(build_annotations): Code tuned up for handling
pre_write_conversion of a coding system.
(e_write): Delete code for handling carryover of code conversion.
It is now handled in encode_coding.
(auto_save_1): Supply 7th new arg CODING_SYSTEM as Qnil to
Fwrite_region.
1997-05-10 03:37:01 +00:00
Kenichi Handa
477f8642b9 (Fx_create_frame): Delete code for handling the X
resouce "Fontset".
1997-05-10 03:37:01 +00:00
Kenichi Handa
f78da51e8d (selection_data_to_lisp_data): If TYPE is `STRING'
and DATA contains 8-bit codes, decode them as Latin-1 characters.
(lisp_data_to_selection_data): Supply 4th arg TABLE as Qnil to
find_charset_in_str.
1997-05-10 03:37:01 +00:00
Kenichi Handa
34910d41c1 (dumpglyphs): Even if font (not fontset) is used,
display Latin1 characters correctly if the font contains glyphs
for them.  Fix bug of displaying cursor on a composite character.
1997-05-10 03:37:01 +00:00
Richard M. Stallman
5b467a5234 (Fexecute_extended_command): Pass new arg to Fcompleting_read. 1997-05-10 03:24:32 +00:00
Richard M. Stallman
27908c4bfe (Fread_file_name): Finish previous change. 1997-05-10 03:20:43 +00:00
Richard M. Stallman
9d991de859 (Fread_coding_system, Fread_non_nil_coding_system):
Pass new arg to Fcompleting_read.
1997-05-10 03:19:20 +00:00
Richard M. Stallman
b3e78233cd (read_minibuf): Declaration deleted. 1997-05-10 01:24:59 +00:00
Richard M. Stallman
a7ebd44378 (Fx_popup_menu): Do fix. 1997-05-09 21:47:48 +00:00
Richard M. Stallman
74e89fc9b4 (TAGS): Fix typo. 1997-05-08 20:49:36 +00:00
Richard M. Stallman
d925fb392a (Qtimer_event): Variable deleted.
(Qtimer_event_handler): New variable.
(syms_of_keyboard): Don't initialize Qtimer_event.
Do initialize Qtimer_event_handler.
(read_char): Don't check for timer event.
(swallow_events): Don't handle timer events.
(timer_check): Likewise.
(make_lispy_event): Likewise.
1997-05-08 05:51:48 +00:00