Commit Graph

9183 Commits

Author SHA1 Message Date
Richard M. Stallman
d5eecefb55 (Vthis_command): Renamed from this_command.
(real_this_command): New variable, but not a Lisp variable;
updated like Vthis_command, but never altered by Lisp programs.
(command_loop_1): Use real_this_command to set Vreal_last_command.

(read_char): When input method returns no chars, call cancel_echoing.
Restore the previous echo area message and this_command_keys, too.

(Vinput_method_previous_message): New variable.
(syms_of_keyboard): Set up lisp variable.
(Qinput_method_exit_on_first_char, Qinput_method_use_echo_area): New variables.
(syms_of_keyboard): Initialize them.
(Fread_key_sequence): New arg COMMAND_LOOP.
Bind those variables.
1998-08-08 03:13:39 +00:00
Richard M. Stallman
ec0f00faca Initial revision 1998-08-08 03:02:37 +00:00
Richard M. Stallman
a083fd237d (x_list_fonts): Fix previous change. 1998-08-08 02:39:50 +00:00
Richard M. Stallman
e7c1c20eba (Fcall_process): Check type of process cmd args earlier on. 1998-08-08 01:03:27 +00:00
Richard M. Stallman
4525f571f5 (Fprocess_send_eof): Transfer proc_encode_coding_system
data to the new outfd.
1998-08-08 00:49:24 +00:00
Richard M. Stallman
dca3296e52 (FRAME_OUTER_WINDOW): New macro. 1998-08-07 07:23:07 +00:00
Richard M. Stallman
835d0be6dd (print_escape_multibyte, Qprint_escape_multibyte)
(Qprint_escape_nonascii): New variables.
(syms_of_print): Initialize them and set up Lisp variable.
(PRINTPREPARE): Bind print-escape-multibyte to t if appropriate.
Also bind print-escape-nonascii if appropriate.
(print): Test print_escape_multibyte and print_escape_nonascii,
rather than enable-multibyte-characters.
1998-08-07 07:22:27 +00:00
Richard M. Stallman
ad4ac47521 (Fcall_interactively): Pass new arg to Fread_key_sequence. 1998-08-07 07:15:37 +00:00
Kenichi Handa
13c148b8e7 (general_insert_function): If enable-multibyte-characters is
nil, convert a multibyte character to unibyte appropriately.
1998-08-07 05:04:36 +00:00
Kenichi Handa
5666cc6f95 (multibyte_char_to_unibyte): Extern it. 1998-08-07 05:04:36 +00:00
Kenichi Handa
76d7b82914 (multibyte_char_to_unibyte): New function.
(charset_id_internal): Avoid initializer for Lisp_Object.
(init_charset_once): Likewise.
1998-08-07 05:04:36 +00:00
Kenichi Handa
38b62842a1 (internal_self_insert): If enable-multibyte-characters is
nil, convert a multibyte character to unibyte appropriately.
1998-08-07 05:04:36 +00:00
Kenichi Handa
e271fdb303 (Fread_key_sequence): Update declaration. 1998-08-07 04:36:17 +00:00
Richard M. Stallman
10f96191ab (Fsplit_window): Doc fix. 1998-08-06 05:48:33 +00:00
Kenichi Handa
e23f810c3e (Fdirectory_files): If MATCH is non-nil, decode filenames
before checking them against MATCH.
1998-08-06 05:38:11 +00:00
Richard M. Stallman
d86ad277e5 (Fexecute_kbd_macro): Fix error message.
(Fend_kbd_macro): Fix error message.
1998-08-06 05:36:45 +00:00
Richard M. Stallman
72aca5fa28 (Vselection_coding_system): Renamed from Vclipboard_coding_system.
(syms_of_w32select): No need to staticpro Vselection_coding_system.
1998-08-05 22:32:02 +00:00
Richard M. Stallman
57522629c8 (Funexpand_abbrev): Add ADJUST instead of subtracting. 1998-08-05 14:59:09 +00:00
Richard M. Stallman
2745e6c4cd (x_list_fonts): Call XFreeFont after the new call to XLoadQueryFont.
(fast_find_position): Handle case where position is before
an invisible character, thus not actually listed in charstarts.

(x_make_frame_visible): Use XGetGeometry to see if
position has been changed by the window manager.  Use
FRAME_OUTER_WINDOW.
1998-08-05 01:42:24 +00:00
Eli Zaretskii
199c7c44b9 (Fw16_set_clipboard_data, Fw16_get_clipboard_data, syms_of_win16select):
Rename Vclipboard_coding_system to Vselection_coding_system.
(Fw16_set_clipboard_data): Don't count trailing zero in the string
for the purposes of conversion.
1998-08-04 10:38:22 +00:00
Richard M. Stallman
d81724c777 (Fmove_to_window_line): Doc fix. 1998-08-04 03:16:57 +00:00
Richard M. Stallman
255c7daeba (replace_range): Don't assume PT is at the place
where the change is being done.
1998-08-03 22:25:54 +00:00
Richard M. Stallman
0c1e3b856c (Fsubst_char_in_region): Use replace_range in the case
where we may need to combine bytes.
(Ftranslate_region): Likewise.
1998-08-03 22:25:08 +00:00
Richard M. Stallman
49da2e496a (Fdocumentation): Specify UNIBYTE = 0
when calling get_doc_string for a compiled function.
1998-08-02 02:44:04 +00:00
Richard M. Stallman
8db9dc66b1 (read1): In reading a string, treat Qlambda like Qget_file_char. 1998-08-02 02:43:47 +00:00
Kenichi Handa
f44cbcd8dc (copy_text): In multibyte to unibyte conversion, take
nonascii-translation-table and nonascii-insert-offset into
account.
1998-08-02 01:06:57 +00:00
Kenichi Handa
a35fd731c7 (ccl_spec): New member valid_codes. 1998-08-02 01:06:57 +00:00
Kenichi Handa
1397dc18d5 (Qvalid_codes): New variable.
(coding_category_name): Include "coding-category-ccl".
(detect_coding_ccl): New function.
(setup_coding_system): Setup coding->spec.ccl.valid_codes from the
coding system priority `valid-codes' for CCL based coding systesm.
(detect_coding_mask): Check also a CCL based coding system.
(Fupdate_coding_systems_internal): Renamed from
Fupdate_iso_coding_systems.
(syms_of_coding): Change property char-table-extra-slot of
translation-table to 1.  Initialize and static pro Qvalid_codes.
1998-08-02 01:06:57 +00:00
Kenichi Handa
8469bb88e5 (CODING_CATEGORY_IDX_CCL): New macro.
(CODING_CATEGORY_IDX_BIG5, CODING_CATEGORY_IDX_RAW_TEXT,
CODING_CATEGORY_IDX_BINARY, CODING_CATEGORY_IDX_MAX): Increased by
one.
(CODING_CATEGORY_MASK_CCL): New macro.
(CODING_CATEGORY_MASK_ANY): Include CODING_CATEGORY_MASK_CCL.
1998-08-02 01:06:57 +00:00
Richard M. Stallman
8f393ef918 (widget.o, xfns.o, xmenu.o):
Prepend $(srcdir)/ to rule dependencies outside this dir.
1998-08-02 00:30:33 +00:00
Richard M. Stallman
7c5e21ab08 (create_process): For outchannel, set up
proc_encode_coding_system, not proc_decode_coding_system.
1998-08-01 19:04:28 +00:00
Paul D. Smith
102f4b1740 GNU make release 3.77. 1998-07-30 20:55:47 +00:00
Kenichi Handa
6bdd75a54d (concat): Fix previous change. 1998-07-30 01:35:40 +00:00
Richard M. Stallman
929a672696 Whitespace change. 1998-07-29 18:59:34 +00:00
Richard M. Stallman
9e175146b4 (push_key_description): Output multibyte char as itself. 1998-07-28 23:10:44 +00:00
Richard M. Stallman
426939cc8b (Fexecute_extended_command):
Don't delay before displaying the suggestion message
if the command did not display anything in the echo area.
1998-07-27 05:37:42 +00:00
Richard M. Stallman
7d18f9ae99 (Qinput_method_function): New variable.
(syms_of_keyboard): Init and staticpro it.
(read_key_sequence): Bind input-method-function,
and set it to nil after reading the first event.
(raw_keybuf, raw_keybuf_count): New variables, to record
raw input events as they are read with read_char.
(GROW_RAW_KEYBUF): New macro.
(Fthis_single_command_raw_keys): New function.
(syms_of_keyboard): defsubr it.

(read_char): Call the input method if appropriate.
Change logic for distinguishing rereads from new events;
use local var `reread'.  Take events from
Vunread_input_method_events and Vunread_post_input_method_events.
(Vunread_input_method_events, Vunread_post_input_method_events)
(Vinput_method_function): New variable.
(syms_of_keyboard): Set up Lisp vars.
(command_loop_1): Check Vunread_input_method_events and
Vunread_post_input_method_events along with Vunread_command_events.
1998-07-26 23:03:58 +00:00
Richard M. Stallman
524eab087c entered into RCS 1998-07-26 04:24:47 +00:00
Richard M. Stallman
6d0d20a17e [AIXHFT] (hft_init, hft_reset): Add declarations. 1998-07-25 20:51:40 +00:00
Richard M. Stallman
c64b0eb74c Initial revision 1998-07-25 20:51:18 +00:00
Richard M. Stallman
341989bef3 (HAVE_STRING_H): Move #undef here. 1998-07-25 06:46:28 +00:00
Richard M. Stallman
24b0b52b11 (HAVE_STRING_H): Delete #undef here. 1998-07-25 06:46:19 +00:00
Richard M. Stallman
2233624503 (regex_compile): Declare p with non-const type on AIX. 1998-07-25 06:40:50 +00:00
Kenichi Handa
eda284acb2 (syms_of_coding): Mention auto-coding-alist in the
docstring of file-coding-system-alist.
1998-07-25 04:23:13 +00:00
Kenichi Handa
1255deb9a6 (Finsert_file_contents): Call Vset_auto_coding_function
with two arguments.
(Fwrite_region): If buffer-file-coding-system is set locally, use
the coding system whithout checking file-coding-system-alist.
(syms_of_fileio): Docstring of set-auto-coding-function adjusted
for the change of argument number.
1998-07-25 04:23:13 +00:00
Kenichi Handa
360fbb8e49 (Fcall_process): Use alloca instead of
get_conversion_buffer.
1998-07-21 01:42:40 +00:00
Kenichi Handa
85ef85ae0a (init_coding): Extern it. 1998-07-21 01:42:40 +00:00
Kenichi Handa
6d74c3aa20 (init_coding): New function.
(init_coding_once): Don't initialize conversion_buffer here.  It
is done in init_coding.
1998-07-21 01:42:40 +00:00
Kenichi Handa
0968d4ee86 (main): Call init_coding. 1998-07-21 01:42:40 +00:00
Kenichi Handa
277576f6bc (Fdefine_charset): Fix doc-string. 1998-07-19 05:17:35 +00:00