Karl Heuer [Mon, 31 Oct 1994 21:50:17 +0000 (21:50 +0000)]
(column_number_displayed): New variable.
(redisplay, redisplay_window): If that var is set, do mode line.
(display_mode_line): Unset the var.
(decode_mode_spec): Set the var if %c was seen.
Richard M. Stallman [Sun, 30 Oct 1994 21:20:42 +0000 (21:20 +0000)]
Changed almost every doc string.
(makefile-macroassign-regex): Don't include space and tab in macro names.
(makefile-backslash-column): New variable.
(makefile-backslash-region): New function.
(makefile-backslashify-current-line): New function.
(makefile-mode-map): Bind C-c C-\ to makefile-backslash-region.
(makefile-tab-face): New variable.
(makefile-font-lock-keywords): Use makefile-tab-face.
(makefile-font-lock-keywords): Use defvar, not defconst.
Richard M. Stallman [Sat, 29 Oct 1994 23:25:10 +0000 (23:25 +0000)]
(xlwmenu_default_font): New global variable.
(XlwMenuInitialize): Use xlwmenu_default_font to default
the font if necessary. Make mw, itself, an argument.
Richard M. Stallman [Sat, 29 Oct 1994 09:43:07 +0000 (09:43 +0000)]
(x_delete_display): Call XrmDestroyDatabase.
(x_destroy_window): Rewrite to fetch dpyinfo just once.
[USE_X_TOOLKIT]: Make application context explicitly
and support multiple top-level shells.
(x_initialize): Call XtToolkitInitialize, XtCreateApplicationContext;
don't open display or make a shell.
(x_term_init): Call XtOpenDisplay.
David J. MacKenzie [Fri, 28 Oct 1994 15:39:01 +0000 (15:39 +0000)]
Adapt for Autoconf v2. Use the standard argument
parser, host type canonicalizer, X11 finder, and message
printing macros. Use the new macro names. Use `test' instead of `['.
Richard M. Stallman [Fri, 28 Oct 1994 04:31:05 +0000 (04:31 +0000)]
(easy-menu-define): Call `easy-menu-do-define' to do
the real work. Document XEmacs keyword arguments.
(easy-menu-do-define): New function.
(easy-menu-create-keymaps): Support XEmacs keyword arguments in
menu definition.
Karl Heuer [Thu, 27 Oct 1994 22:35:14 +0000 (22:35 +0000)]
(Fset_buffer_major_mode): New function. Set the default major mode here.
(Fget_buffer_create): Not here.
(Fswitch_to_buffer): Call Fset_buffer_major_mode.
(syms_of_buffer): defsubr the new function.
Francesco Potortì [Thu, 27 Oct 1994 19:08:03 +0000 (19:08 +0000)]
* man.el (Man-fontify-manpage-flag): defvar put at outer level.
(manual-program, Man-untabify-command, Man-untabify-command-args,
Man-sed-command, Man-awk-command, Man-mode-line-format,
Man-mode-map, Man-mode-hook, Man-cooked-hook, Man-name-regexp,
Man-section-regexp, Man-page-header-regexp, Man-heading-regexp,
Man-see-also-regexp, Man-first-heading-regexp,
Man-reference-regexp, Man-switches, Man-specified-section-option):
Make them normal defvars, no more user options.
(Man-overstrike-face, Man-undeline-face): New user options.
(Man-init-defvars): Man-fontify-manpage-flag removed from here.
(man-fontify-manpage): Use the new user options above.
Paul Eggert [Wed, 26 Oct 1994 22:43:45 +0000 (22:43 +0000)]
(re_comp, re_exec): Define this obsolete 4.2bsd
interface only if the new feature test macro _REGEX_RE_COMP is defined.
This avoids a clash with Cray YMP include files.
Richard M. Stallman [Wed, 26 Oct 1994 09:26:40 +0000 (09:26 +0000)]
(x_catch_errors, x_check_errors, x_had_errors_p)
(x_uncatch_errors): Make the argument a display, not a frame.
(XTread_socket_fake_io_error): New variable.
(XTread_socket): Obey XTread_socket_fake_io_error.
(x_initialize): Init x_noop_count, x_focus_frame
and x_highlight_frame here.
(x_term_init): Not here.
(x_term_init): Open the connection first thing;
if that fails, don't allocate dpyinfo.
(x_delete_display): New function.
(x_connection_closed): New args dpyinfo and error_message.
Delete all frames on the dead display
and all frames using them for minibuffers.
Call x_delete_display.
Maybe signal a Lisp error.
(x_term_init): Set up x_id_name field.
(x_id_name): Variable deleted.
(x_font_table, x_font_table_size, x_n_fonts): Vars deleted.
(x_new_font): Use new fields.
(warp_mouse_on_deiconify): Unused variable deleted.
(x_term_init): Set up dpyinfo->xrdb.
Set up dpyinfo->vertical_scroll_bar_cursor.
(x_scroll_bar_create): Use vertical_scroll_bar_cursor slot.
(x_vertical_scroll_bar_cursor): Variable deleted.
(x_term_init): Really return dpyinfo.
(x_term_init): Call add_keyboard_wait_descriptor,
not change_keyboard_wait_descriptor.
(x_term_init): Pass new arg to init_sigio.
Don't set old_fcntl_owner.
Don't call change_input_fd.
(XTread_socket): Loop over displays and process input from each.
(x_display_name_list): New variable.
(syms_of_xterm): staticpro it.
Don't staticpro slots in the_x_screen.
(x_term_init): Update x_display_name_list along with x_display_list.
Actually malloc the x_display_info.
(the_x_screen): Variable deleted.
Richard M. Stallman [Tue, 25 Oct 1994 10:52:58 +0000 (10:52 +0000)]
(Brk): Declare as unsigned long.
(unexec): Do CHECH_SCNHDR on _RCONST if that's defined.
Ignore rdata_section if there is none.
(update_dynamic_symbols): New arg new_name. Call changed.
Fix some calls to WRITE.
(fatal_unexec): Declare all arguments.
Richard M. Stallman [Tue, 25 Oct 1994 10:42:02 +0000 (10:42 +0000)]
Delete X10 code.
(struct x_display_info): New fields bitmaps, bitmaps_size, bitmaps_last.
(struct x_bitmap_record): Structure moved here.
(struct font_info): New type.
(struct x_display_info): New fields font_table, font_table_size and n_fonts.
(struct x_display_info): New field scratch_cursor_gc.
(mouse_face_*): New fields.
(struct x_display_info): New field x_id_name.
(struct x_display_info): Replace elements `name'
and `face_list_cache' with one cons cell `name_list_element'.
(x_display_name_list): Variable declared.
Richard M. Stallman [Tue, 25 Oct 1994 10:33:36 +0000 (10:33 +0000)]
(Fx_create_frame): Don't increment refernce_count
until the frame is put on the frame list.
(Fx_close_connection): Call x_delete_display.
(x_display_info_for_name, Fx_open_connection):
Signal error if x_term_init fails.
(Fx_open_connection): New arg must_succeed.
(x_real_positions): Catch errors and retry if error happens.
No need to block input here.
(Fx_create_frame): Don't store the frame name
till after FRAME_X_DISPLAY_INFO is set up.
(Fx_close_connection): Renamed from Fx_close_current_connection
Many doc fixes and Lisp function arg renamings.
(x_bitmaps, x_bitmap_size, x_bitmap_last):
Variables deleted. Use fields in x_display_info instead.
(x_bitmaps_free): Variable deleted.
(x_destroy_bitmap, x_allocate_bitmap_record): Don't use or set it.
(x_allocate_bitmap_record): New arg f. Callers changed.
(x_lookup_pixmap): Function deleted.
(x_destroy_all_bitmaps): New function.
(Fx_close_current_connection): Call x_destroy_all_bitmaps.
Free the fonts in the font table. Free various other data
that dpyinfo points to. Avoid using Fdelq.
(x_set_name, Fx_create_frame): Use x_id_name field.
(Fx_close_current_connection): Call check_x_display_info.
Delete the display from x_display_list and x_display_name_list.
(Fx_display_list): New function.
(syms_of_xfns): defsubr it.
(Fx_list_fonts): Use `name_list_element' field.
(x_display_info_for_name): Scan x_display_name_list
along with x_display_list.
Richard M. Stallman [Tue, 25 Oct 1994 10:26:49 +0000 (10:26 +0000)]
(record_char): New subroutine.
(read_char): Use record_char.
Split up menu-bar mouse click events here.
Call record_char for both halves; likewise echo_char and add_command_key.
Richard M. Stallman [Tue, 25 Oct 1994 09:51:50 +0000 (09:51 +0000)]
Never use input_fd if using X.
(stuff_char): Do nothing if read_socket_hook.
(setpgrp_of_tty): Function deleted.
(init_sigio): Take fd as argument. Callers changed.
Don't call request_sigio; do the work here.
(request_sigio, unrequest_sigio): Do nothing if read_socket_hook.
(init_sys_modes): Don't call EMACS_GET_TTY unless we are going
to change the settings.
Richard M. Stallman [Tue, 25 Oct 1994 09:48:44 +0000 (09:48 +0000)]
Handle multiple keyboard input descriptors.
(non_keyboard_wait_mask): New variable.
(Fset_process_filter): Update non_keyboard_wait_mask
(create_process, Fopen_network_stream, deactivate_process):
(init_process, sigchld_handler): Likewise.
(wait_reading_process_input): Maybe use non_keyboard_wait_mask.
(add_keyboard_wait_descriptor):
Renamed from change_keyboard_wait_descriptor.
Clear the old descriptor's bit only the first call.
(delete_keyboard_wait_descriptor): New function.
(keyboard_bit_set): New function.
(wait_reading_process_input): Use keyboard_bit_set.
Start the loop over process descs from 0, and explicitly
ignore non-process input descs.
(init_process): Don't init keyboard_descriptor.
(keyboard_descriptor): Variable deleted.
(add_keyboard_wait_descriptor): Don't set keyboard_descriptor.
(delete_keyboard_wait_descriptor): New function.
Richard M. Stallman [Mon, 24 Oct 1994 04:41:21 +0000 (04:41 +0000)]
(getline): When a search of already-read input for CRLF
fails, store the fact that we've searched it and don't search it
again after reading more data.
(getline): When determining whether or not it's necessary
to grow the input buffer, take into account the null that's stored
at the end of already-read input in the buffer.
Richard M. Stallman [Sun, 23 Oct 1994 09:38:50 +0000 (09:38 +0000)]
Use XFlush, not XFlushQueue, throughout.
(Xatom_*): Variables deleted.
Use slots in x_display_info structure instead.
(symbol_to_x_atom, x_atom_to_symbol):
New arg dpyinfo. All callers changed.
(xatoms_of_xselect): Function deleted.
Richard M. Stallman [Sun, 23 Oct 1994 07:45:25 +0000 (07:45 +0000)]
(menu-bar-file-menu): Add item `Make Frame On Display'.
(menu-bar-update-buffers-maxbuf): Declare variable.
(menu-bar-update-buffers-1, menu-bar-update-buffers):
Rename local var maxbuf to menu-bar-update-buffers-maxbuf.
Richard M. Stallman [Sun, 23 Oct 1994 06:16:43 +0000 (06:16 +0000)]
(struct heap): New fields first_bloc, last_bloc.
(struct bp): New field heap.
(get_bloc, free_bloc, obtain, r_alloc_sbrk): Update new fields.
(reorder_bloc): New function.
(update_heap_bloc_correspondence):
Renamed from update_heap_free_pointers. Update new fields.
(relinquish): Add error check for new fields.