1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 05:51:21 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Richard M. Stallman
b80d5655b0 (Fexecute_kbd_macro): Set real_this_command. 1998-10-12 20:03:15 +00:00
Kenichi Handa
1c5c931ae0 (clear_string_char_byte_cache): Extern it. 1998-10-12 12:00:44 +00:00
Kenichi Handa
51520e8a2e (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the definitions. 1998-10-12 12:00:44 +00:00
Kenichi Handa
020da46098 (Fstring): Call make_string instead of
make_string_from_bytes.
(Ffind_charset_region): Include `composition' in the returned list
if the region contains any composite characters.
(Ffind_charset_string): Include `composition' in the returned list
if the string contains any composite characters.
(find_charset_in_str): Handle CMPCHARP arg correctly.
1998-10-12 12:00:44 +00:00
Kenichi Handa
622fece532 (shrink_decoding_region): If a charset other than ascii
is initially designated to G0, don't shrink the region.
(shrink_encoding_region): Likewise.
1998-10-12 12:00:44 +00:00
Kenichi Handa
dbda4aad56 (Faset): If ARRAY is a multibyte string, pay attention to
byte-combining situation.
1998-10-12 12:00:44 +00:00
Kenichi Handa
57247650fb (clear_string_char_byte_cache): New function.
(Ffillarray): Handle multibyte string correctly.
1998-10-12 12:00:44 +00:00
Kenichi Handa
76be80e02b (Fw16_set_clipboard_data): Call find_charset_in_str with CMPCHARP arg 0. 1998-10-12 12:00:44 +00:00
Kenichi Handa
3c8cb3123a (Fw32_set_clipboard_data): Call find_charset_in_str with CMPCHARP arg 0. 1998-10-12 12:00:44 +00:00
Kenichi Handa
6b123f323b (lisp_data_to_selection_data): Call find_charset_in_str with CMPCHARP arg 0. 1998-10-12 12:00:44 +00:00
Kenichi Handa
8e36ae7f46 (Fstring_to_number): Don't recognize floating point if base is not 10. 1998-10-12 11:54:43 +00:00
Richard M. Stallman
9ac425d169 (parse_menu_item): For top level of menu bar,
accept ordinary commands, and treat them just like a keymap.
1998-10-12 06:13:00 +00:00
Richard M. Stallman
b5174a5103 (redisplay_window): Clear w->window_end_valid
before running the window-scroll-functions hook, if appropriate.
1998-10-12 01:38:50 +00:00
Richard M. Stallman
0ec56a8056 (check_x_display_info): Don't use selected_frame if it is dead. 1998-10-10 15:07:08 +00:00
Richard M. Stallman
3f8ab7bddc (window_loop): New alternative CHECK_ALL_WINDOWS.
(check_all_windows): New function for debugging tests.
(syms_of_window): Initialize it.

(Qwindow_configuration_p): New variable.
(Fwindow_configuration_frame): New function.
(syms_of_window): defsubr it.
(Fset_window_configuration): Return t if frame is live.
Use Qwindow_configuration_p.
1998-10-10 14:49:28 +00:00
Geoff Voelker
5d7fed93b5 (x_create_bitmap_from_file): Skip special files. 1998-10-09 06:09:52 +00:00
Karl Heuer
7744ca33c6 Doc fixes. 1998-10-08 20:31:34 +00:00
Richard M. Stallman
c3907a7e36 (scan_lists): Bring FROM back into range BEGV...ZV. 1998-10-08 10:47:51 +00:00
Kenichi Handa
55d8d76935 (code_convert_region): Set inhibit_modification_hooks
to 1 before calling Fset_text_properties.
1998-10-08 06:48:42 +00:00
Kenichi Handa
fd16a4c6d8 (signal_before_change): If inhibit_modification_hooks
is nonzero, do nothing.
(signal_after_change): Likewise.
1998-10-08 06:45:36 +00:00
Kenichi Handa
7775635d6f (inhibit_modification_hooks): New variable.
(init_buffer_once): Initialize inhibit_modification_hooks to 0.
1998-10-08 06:45:36 +00:00
Kenichi Handa
347d3e9ca8 (inhibit_modification_hooks): Extern it. 1998-10-08 06:45:36 +00:00
Kenichi Handa
ba7434e5bf (invalid_character): Prepend `0' to octal
representation.  Give error sufficient args.
1998-10-08 06:45:36 +00:00
Geoff Voelker
d54abccd47 (init_ntproc): Check for Windows init file.
(term_ntproc): Do not check for it here.
1998-10-07 19:47:48 +00:00
Paul D. Smith
75c0d0950d Checkpoint changes. Bug fixes, mostly. 1998-10-03 05:40:15 +00:00
Kenichi Handa
d7af002f65 (adjust_after_replace): Don't delete text properties here. 1998-09-28 11:52:53 +00:00
Kenichi Handa
88993dfd4e (check_composing_code): Fix previous change. Now it
alwasy returns 0 or -1.
(decode_coding_iso2022): Adjusted for the above change.
(encode_coding_iso2022): When encoding the last block, flush out
tailing garbage bytes.
(setup_coding_system): Delete unnecessary code.
(shrink_decoding_region): Check translation table.  If ASCII
should be translated, give up shrinking.
(shrink_encoding_region): Likewise.
(SHRINK_CONVERSION_REGION_THRESHHOLD): New macro.
(SHRINK_CONVERSION_REGION): New macro.
(code_convert_region): Call SHRINK_CONVERSION_REGION.  Delete text
properties here.
(code_convert_region): In the case of encoding, always calulate
correct character number.
(code_convert_string): Call SHRINK_CONVERSION_REGION.
(code_convert_region1): Don't delete text properties here.
(check_composing_code): Fix previous change.  Now it
alwasy returns 0 or -1.
(decode_coding_iso2022): Adjusted for the above change.
(encode_coding_iso2022): When encoding the last block, flush out
tailing garbage bytes.
(setup_coding_system): Delete unnecessary code.
(shrink_decoding_region): Check translation table.  If ASCII
should be translated, give up shrinking.
(shrink_encoding_region): Likewise.
(SHRINK_CONVERSION_REGION_THRESHHOLD): New macro.
(SHRINK_CONVERSION_REGION): New macro.
(code_convert_region): Call SHRINK_CONVERSION_REGION.  Delete text
properties here.
(code_convert_region): In the case of encoding, always calulate
correct character number.
(code_convert_string): Call SHRINK_CONVERSION_REGION.
(code_convert_region1): Don't delete text properties here.
1998-09-28 11:52:53 +00:00
Kenichi Handa
c42869c47d (encode_terminal_code): Handle raw 8-bit codes correctly. 1998-09-28 11:52:53 +00:00
Richard M. Stallman
432eec292e Treat __GNU__ line NeXT: undefine BSD and FSCALE. 1998-09-27 07:29:59 +00:00
Richard M. Stallman
d5844360c8 (NLIST_STRUCT, KERNEL_FILE, LDAV_SYMBOL): Add #undefs. 1998-09-27 07:21:30 +00:00
Richard M. Stallman
81b7af7247 (sort_args): Fill extra space with NULL ptrs. 1998-09-27 07:11:54 +00:00
Kenichi Handa
4224cb6213 (Fformat): Check format control characters. 1998-09-26 04:20:48 +00:00
Kenichi Handa
de79a6a5ed (check_composing_code): If the current composing
sequence doesn't end properly, return -1.
(DECODE_CHARACTER_ASCII): Update coding->composed_chars.
(DECODE_CHARACTER_DIMENSION1): Likewise.
(decode_coding_iso2022): Check validity of a composing sequence.
(code_convert_string): If the length of text to be converted is
shrunk to zero, don't perform code conversion.
(shrink_decoding_region): Fix previous change.
1998-09-26 04:20:48 +00:00
Kenichi Handa
450c60a559 (struct coding_system): New member composed_chars. 1998-09-26 04:20:48 +00:00
Paul Eggert
08b4600264 (underlying_strftime):
Set the buffer to a nonzero value before calling
strftime, and check to see whether strftime has set the buffer to zero.
This lets us distinguish between an empty buffer and an error.

I'm installing this patch by hand now; it will be superseded whenever
the glibc sources are propagated back to fsf.org.
1998-09-25 21:40:23 +00:00
Kenichi Handa
fdfcf19d01 (decode_eol): While decoding DOS-like eol, handle a
single CR code correctly.
(shrink_decoding_region) <CODING_CATEGORY_IDX_ISO_7 or
CODING_CATEGORY_IDX_ISO_7_TIGHT>: Skip also 8-bit codes.
1998-09-25 07:32:05 +00:00
Geoff Voelker
f695b4b18a (w32_color_map_lookup): New function.
(x_to_w32_color): Approximate colors ending in numbers if necessary.
1998-09-24 02:14:55 +00:00
Kenichi Handa
519bf1461a (ccl_driver): Report correct CCL program counter on error. 1998-09-22 10:33:09 +00:00
Kenichi Handa
703dc2a895 (single_submenu) [! HAVE_MULTILINGUAL_MENU]: Make
strings unibyte.
(xmenu_show) [! HAVE_MULTILINGUAL_MENU]: Likewise.
1998-09-22 10:33:09 +00:00
Kenichi Handa
24819c4351 (Fcall_interactively): Don't use input method when
reading a character in the case of `c' code letter.
1998-09-22 10:23:40 +00:00
Dave Love
5b2a531650 (Fsave_restriction): Doc fix. 1998-09-21 17:43:14 +00:00
Karl Heuer
cac84ff0a2 (build_load_history): Do add to Vload_history
even when dumping Emacs.
1998-09-21 16:31:46 +00:00
Kenichi Handa
12abd7d10f (CCL_WRITE_CHAR): Don't use bcopy.
(ccl_driver): If BUFFER-MAGNIFICATION of the CCL program is 0,
cause error if the program is going to output some bytes.  When
outputing a string to notify an error, check the case that
DST_BYTES is zero.
1998-09-18 13:10:40 +00:00
Kenichi Handa
9864ebcee4 (ccl_coding_driver): If ccl_driver is interrupted by a
user or the CCL program executed an invalid command, return
CODING_FINISH_INTERRUPT.
(code_convert_region): Pay attention to the converters return
value CODING_FINISH_NORMAL and CODING_FINISH_INTERRUPT.
1998-09-18 13:10:40 +00:00
Kenichi Handa
1ee0bc0950 (CODING_FINISH_INTERRUPT): New macro. 1998-09-18 13:10:40 +00:00
Kenichi Handa
23b20a7066 (adjust_markers_for_replace): Don't adjust a byte
position if it is FROM.
(adjust_markers_for_combining): New function.
(combine_bytes): Call adjust_markers_for_combining instead of
adjust_markers_for_replace.
(adjust_after_replace): Record deletion of combining after bytes
with the correct position.  Don't add combining bytes to the args
given to adjust_point.  Handle correctly the case that there are
both before and after combining bytes.
(replace_range): Likewise.  Record the actual deletion after
recoding deletions of combining bytes.
1998-09-16 07:21:31 +00:00
Kenichi Handa
f2558efddd (code_convert_region): Update beg_unchanged and
end_unchanged after we delete the source text.
1998-09-16 07:21:31 +00:00
Kenichi Handa
457262616e (message_log_check_duplicate): Count byte length of the
latest message correctly.
1998-09-16 07:21:31 +00:00
Karl Heuer
05edf8bd68 (Fmake_local_variable): Doc fix. 1998-09-13 03:58:36 +00:00
Karl Heuer
26a9b1f3b7 (redisplay_internal): Use TEMP_SET_PT_BOTH
instead of SET_PT_BOTH.
(try_window_id, display_text_line): Likewise.
1998-09-13 03:54:01 +00:00