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

7405 commits

Author SHA1 Message Date
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
Richard M. Stallman
293a54ce2c (mark_window_display_accurate, redisplay_internal):
Test highlight_nonselected_windows.
(display_text_line): Likewise (in more places).
(syms_of_xdisp): Initialize highlight_nonselected_windows to 0.
1997-05-08 05:48:01 +00:00
Richard M. Stallman
214c0a6281 Delete the code that was trying to define BSD "right"
now that Emacs doesn't use the symbol BSD this way.
1997-05-07 19:22:58 +00:00
Richard M. Stallman
97d0510c9d (Fread_file_name): Pass default to Fcompleting_read. 1997-05-07 07:26:10 +00:00
Richard M. Stallman
421e0af7f8 (LIBS_MACHINE): Add -lelf. 1997-05-07 00:33:20 +00:00
Richard M. Stallman
94636ed5e8 (MOUSE_SUPPORT): Delete menu-bar.elc.
(lisp): Move menu-bar.elc here.
Add custom.elc and cus-start.elc.
1997-05-06 19:42:05 +00:00
Richard M. Stallman
3ee4159a4e (display_text_line): Clear region_showing to Qnil if the
window should not show a region.
(redisplay_internal): Do update region_showing when ! all_windows.
1997-05-06 03:42:02 +00:00
Richard M. Stallman
396a830c5e (Fset_window_configuration): Set last_selected_window
in the new selected window's new buffer.
1997-05-06 03:29:39 +00:00
Richard M. Stallman
dfc465d321 (x_set_mouse_color): Fix previous change. 1997-05-05 19:16:09 +00:00
Richard M. Stallman
f5c7718e0e (x_reply_selection_request): Delete the inner
unbind_to call, since x_uncatch_errors does the job.
1997-05-05 19:14:27 +00:00
Richard M. Stallman
fadca6c6a9 (x_set_mouse_color): Update calls to x_catch_errors
and x_uncatch_errors.
1997-05-03 19:18:28 +00:00
Richard M. Stallman
09d8c7ac8b (x_set_scroll_bar_width): If arg is too small, round it up. 1997-05-03 06:13:30 +00:00
Richard M. Stallman
48d9379dfe (Fdisplay_buffer): If we give up and try other frames,
look again for a window in those frames already showing BUFFER.
1997-05-03 06:12:28 +00:00
Richard M. Stallman
ad7f9d12c8 (x_reply_selection_request): Fix previous change. 1997-05-01 21:35:31 +00:00
Richard M. Stallman
1dc6cfa61d (x_real_positions, x_set_mouse_color, Fx_list_fonts):
Save value from x_catch_errors and pass to x_uncatch_errors.
1997-05-01 01:59:47 +00:00
Richard M. Stallman
5a49969629 (x_own_selection, x_reply_selection_request)
(x_get_foreign_selection):
Save value of x_catch_errors and pass to x_uncatch_errors.
1997-05-01 01:58:47 +00:00
Richard M. Stallman
e99db5a15c (XTmouse_position, x_term_init):
Save value of x_catch_errors and pass to x_uncatch_errors.

(x_catch_errors): Use specpdl so can be nested.
Use a Lisp string to as the buffer for the X message.
(x_uncatch_errors, x_had_errors_p, x_check_errors): Related changes.
(x_catch_errors_unwind): New function.
(x_error_quitter): Call x_error_catcher if appropriate.
(x_error_message_string): New variable.
(syms_of_xterm): Defvar it.
(x_caught_error_message): Variable deleted.
(X_ERROR_MESSAGE_SIZE): Renamed from X_CAUGHT_ERROR_MESSAGE_SIZE.
(x_error_handler): New function, calls x_error_quitter or ..._checker.
(x_initialize): Use x_error_handler as error handler for X.
1997-05-01 01:57:25 +00:00
Richard M. Stallman
7b396c6c70 (init_lread): Don't add ../lisp to the dump-time load path. 1997-04-30 18:41:53 +00:00
Richard M. Stallman
12ca5cdf3e (read_process_output): Update opoint, old_begv and old_zv
based on actual buffer change rather than size of string.
old_begv and old_zv are now ints.
(status_notify): Likewise for opoint.
1997-04-30 18:34:17 +00:00
Richard M. Stallman
15fc2f8c1f (Fexpand_file_name): Check length > 0 when necessary. 1997-04-29 00:51:47 +00:00
Richard M. Stallman
4c8535eb4d (skip_chars): Fix previous change in syntax/backward case. 1997-04-28 00:49:41 +00:00
Richard M. Stallman
ac5b707216 (Fsubstitute_in_file_name): Use xnm uniformly, never nm,
when handling /~ and // at the end.
1997-04-27 18:19:42 +00:00
Richard M. Stallman
77110caaed Comment change. 1997-04-27 18:02:16 +00:00
Richard M. Stallman
df89d8a469 Fix previous change. 1997-04-27 16:34:19 +00:00
Richard M. Stallman
0c49ce2f28 (x_destroy_window): Free saved_menu_event, if any. 1997-04-27 03:32:14 +00:00
Richard M. Stallman
25734faf59 (Fdelete_frame): Free FRAME_MESSAGE_BUF. 1997-04-27 03:25:32 +00:00
Richard M. Stallman
3fa18fb28a (get_user_app): Free the gethomedir value. 1997-04-27 03:18:20 +00:00
Richard M. Stallman
8b264726b1 (reset_buffer): Initialize clip_changed field. 1997-04-26 04:46:29 +00:00
Richard M. Stallman
7e68b0eaf3 (skip_chars): Merge mule changes back in. 1997-04-25 21:59:44 +00:00