1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

9148 commits

Author SHA1 Message Date
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
Kenichi Handa
9dfb82d5cc (dumpglyphs): After calling ccl_driver, set cp->byte1 to
zero for 1-byte font.
1998-07-19 05:17:35 +00:00
Kenichi Handa
8bc49fd1f3 (read_process_output): Even if we read data without
code conversion, calculate character counts.  If we insert the
data into a unibyte buffer, treat the data as unibyte.
1998-07-16 00:14:44 +00:00
Richard M. Stallman
20f6783d3c (Finsert_file_contents): When replacing, in multibyte bfr,
always extend the range to a character boundary.
1998-07-13 22:11:54 +00:00
Andrew Innes
070d1949d1 (add_menu_item): Draw menu items like titles if call_data is 0. 1998-07-13 19:54:15 +00:00
Eli Zaretskii
538d05bb65 (set_clipboard_data, get_clipboard_data, Fw16_set_clipboard_data,
Fw16_get_clipboard_data, Fx_selection_exists_p): Use CF_OEMTEXT instead
of CF_TEXT.
1998-07-13 14:29:35 +00:00
Andrew Innes
0108f679e4 (Fw32_set_clipboard_data): Set Vlast_coding_system_used.
(Fw32_get_clipboard_data): Likewise.
1998-07-12 20:24:23 +00:00
Karl Heuer
0469366f99 (Fcopy_marker): Make return from wrong_type_argument
fall thru into normal case.
1998-07-12 19:13:45 +00:00
Richard M. Stallman
17e7ef1b77 (Fchars_in_region): Coerce markers. 1998-07-12 03:15:53 +00:00
Andrew Innes
e59fe83bff (w32_menu_show): Set widget call_data to 0 if definition is nil.
(add_menu_item): Gray menu entry if widget call_data is 0.
1998-07-11 21:52:17 +00:00
Richard M. Stallman
93e4ce1b88 (Vselection_coding_system):
Renamed from Vclipboard_coding_system.  All uses changed.
(syms_of_xselect): Rename Lisp variable.
1998-07-11 20:42:12 +00:00
Eli Zaretskii
583f5d53e6 (Vclipboard_coding_system): New variable.
(set_clipboard_data, set_clipboard_data): New parameter Raw
determines whether CRLF <-> NL translation needs to be done.  All
callers changed.
(Fw16_set_clipboard_data): Encode the text using
Vclipboard_coding_system, if necessary.
(Fw16_get_clipboard_data): Decode the text using
Vclipboard_coding_system, if necessary.
(syms_of_win16select): DEFVAR Vclipboard_coding_system and
staticpro it.
1998-07-09 14:02:15 +00:00
Kenichi Handa
826bfb8b08 (code_convert_string): Count characters again if we
encounter some invalid code while decoding.
1998-07-09 04:33:00 +00:00
Richard M. Stallman
262c8ceae7 Comment change. 1998-07-09 03:47:06 +00:00
Kenichi Handa
e3ae549a3b (fs_load_font): Typo in comments fixed. 1998-07-09 02:02:33 +00:00
Kenichi Handa
20398ea418 Typo in comments fixed. 1998-07-09 02:02:33 +00:00
Kenichi Handa
85bbb1345a (DECODE_ISO_CHARACTER): While decoding two-byte code,
if the sencond byte is invalid, produce the first byte as is.
1998-07-09 02:02:33 +00:00
Kenichi Handa
061bda8dfd (selection_data_to_lisp_data): Set Vlast_coding_system_used.
(lisp_data_to_selection_data): Likewize.
1998-07-09 02:02:33 +00:00
Kenichi Handa
25aa5d6464 (Fformat): Replace explicit numeric constants with proper macros. 1998-07-08 02:19:14 +00:00
Kenichi Handa
8b542479bb (concat): Replace explicit numeric constants with proper macros. 1998-07-08 02:19:14 +00:00
Richard M. Stallman
f71599f4b4 Whitespace change. 1998-07-06 22:29:52 +00:00
Kenichi Handa
8a73a70484 (Vgeneric_character_list): New variable.
(init_charset_once): Init and staticpro it.
(Fgeneric_character_list): New function.
(syms_of_charset): defsubr it.
1998-07-06 06:33:55 +00:00
Kenichi Handa
4c0fbc0814 (MAX_CHAR_COMPOSITION): Defined as (GLYPH_MASK_CHAR -
1), one less than the previous value.
(GENERIC_COMPOSITION_CHAR): New macro.
1998-07-06 06:33:55 +00:00
Kenichi Handa
0da528a909 (Fset_char_table_default): Check only if the charset of
the arg CH is in the valid range or not.  Handle the case that CH
is a generic character for composite characters.
1998-07-06 06:33:55 +00:00
Kenichi Handa
8f2917e4dc (Fformat): Pay attention to the byte combining problem. 1998-07-06 01:47:34 +00:00
Kenichi Handa
2df42e0965 (Finsert_file_contents): Cancel previous change. Setup
the variable coding even if the inserted bytes is zero.
1998-07-06 01:47:34 +00:00
Kenichi Handa
18cc260b22 (concat): Pay attention to the byte combining problem. 1998-07-06 01:47:34 +00:00
Richard M. Stallman
ad0153e46f (read_list): Pass new arg to get_doc_string. 1998-07-05 20:31:37 +00:00
Richard M. Stallman
32caae30ca (get_doc_string): Take both UNIBYTE and DEFINITION as args.
All callers changed.
1998-07-05 20:31:12 +00:00
Richard M. Stallman
c1c4693e69 (Ffile_regular_p) [WINDOWSNT]: Bind
`w32-get-true-file-attributes' to t while calling stat.
(Finsert_file_contents) [WINDOWSNT]: Likewise.
(Fwrite_region): Don't try seeking to end of FILENAME for
appending if not a regular file.
1998-07-03 20:01:02 +00:00
Kenichi Handa
1390393209 (Finsert): Typo in doc-string fixed.
(Finsert_and_inherit, Finsert_before_markers,
Finsert_and_inherit_before_markers):  Likewize.
1998-07-03 04:39:22 +00:00
Kenichi Handa
e921460071 (Finsert_file_contents): Do not set Vlast_coding_system
if inserted bytes is zero.
1998-07-03 04:33:12 +00:00
Richard M. Stallman
a79485afb8 (Faccess_file): Check type of second argument STRING.
(Fread_file_name): Bind minibuffer-completing-file-name to t.
1998-07-02 07:01:56 +00:00
Richard M. Stallman
ccf330a66b (Vminibuffer_completing_file_name): New var.
(syms_of_minibuf): Set up Lisp variable.
(Fminibuffer_complete_word): Test it, instead of checking
specifically for Qread_file_name_internal.
(Fcompleting_read): Likewise.
1998-07-02 07:01:21 +00:00
Richard M. Stallman
c8b14b5fbe [COFF]: New variable coff_offset.
(make_hdr) [MSDOS]: If a_name is a coff-go32-exe executable with a
prepended stub, compute coff_offset.
(make_hdr, copy_sym) [COFF]: Use coff_offset when seeking into temacs.
1998-06-29 22:54:28 +00:00
Richard M. Stallman
3ab0732d83 (Fbyte_to_position): New function.
(syms_of_editfns): defsubr it.
1998-06-29 18:35:52 +00:00