1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00
Commit graph

9169 commits

Author SHA1 Message Date
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
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