bpt/emacs.git
29 years ago(set_frame_menubar): Don't copy string during GC risk.
Karl Heuer [Thu, 27 Oct 1994 18:44:47 +0000 (18:44 +0000)]
(set_frame_menubar): Don't copy string during GC risk.

29 years ago(tar-summarize-buffer): Improperly terminated archive now produces only a
Karl Heuer [Thu, 27 Oct 1994 18:29:49 +0000 (18:29 +0000)]
(tar-summarize-buffer): Improperly terminated archive now produces only a
warning.

29 years ago[alliant && i860] (FSCALE): Move defn before #ifndef FSCALE.
Roland McGrath [Thu, 27 Oct 1994 00:34:56 +0000 (00:34 +0000)]
[alliant && i860] (FSCALE): Move defn before #ifndef FSCALE.

29 years ago(HAVE_GETPAGESIZE): Explicitly #undef.
Richard M. Stallman [Wed, 26 Oct 1994 23:25:45 +0000 (23:25 +0000)]
(HAVE_GETPAGESIZE): Explicitly #undef.

29 years ago(HAVE_GETPAGESIZE): Definition deleted.
Richard M. Stallman [Wed, 26 Oct 1994 23:25:27 +0000 (23:25 +0000)]
(HAVE_GETPAGESIZE): Definition deleted.

29 years ago(HAVE_GETPAGESIZE): Add #undef.
Richard M. Stallman [Wed, 26 Oct 1994 23:19:58 +0000 (23:19 +0000)]
(HAVE_GETPAGESIZE): Add #undef.

29 years agoCheck for getpagesize.
Richard M. Stallman [Wed, 26 Oct 1994 23:19:16 +0000 (23:19 +0000)]
Check for getpagesize.

29 years ago(ispell-message-text-end): Match Postcript 3 like 2.
Richard M. Stallman [Wed, 26 Oct 1994 22:51:08 +0000 (22:51 +0000)]
(ispell-message-text-end): Match Postcript 3 like 2.

29 years ago(re_comp, re_exec): Define this obsolete 4.2bsd
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.

29 years ago(enable-flow-control): Make message depend on customization variables.
Richard M. Stallman [Wed, 26 Oct 1994 20:07:50 +0000 (20:07 +0000)]
(enable-flow-control): Make message depend on customization variables.

29 years ago(pdp11): New machine name.
Richard Kenner [Wed, 26 Oct 1994 18:25:14 +0000 (18:25 +0000)]
(pdp11): New machine name.

29 years agoAllow vector form of latitude/longitude. Fix documentation.
Edward M. Reingold [Wed, 26 Oct 1994 15:34:14 +0000 (15:34 +0000)]
Allow vector form of latitude/longitude.  Fix documentation.

29 years agoGive lunar phases buffer a symbolic name; use new form of calendar-read-date.
Edward M. Reingold [Wed, 26 Oct 1994 15:32:51 +0000 (15:32 +0000)]
Give lunar phases buffer a symbolic name; use new form of calendar-read-date.

29 years agoUse new form of calendar-read-date.
Edward M. Reingold [Wed, 26 Oct 1994 15:31:27 +0000 (15:31 +0000)]
Use new form of calendar-read-date.

29 years agoFix regexps for diary marking to include TAB.
Edward M. Reingold [Wed, 26 Oct 1994 15:30:34 +0000 (15:30 +0000)]
Fix regexps for diary marking to include TAB.

29 years agoPut insertion of diary entry on daily menu.
Edward M. Reingold [Wed, 26 Oct 1994 15:28:56 +0000 (15:28 +0000)]
Put insertion of diary entry on daily menu.

29 years agoLots of minor fixes and code polishing. Exit-calendar code rewritten.
Edward M. Reingold [Wed, 26 Oct 1994 15:26:22 +0000 (15:26 +0000)]
Lots of minor fixes and code polishing.  Exit-calendar code rewritten.

29 years ago(set_frame_size): Set app_shell and wmshell the same.
Richard M. Stallman [Wed, 26 Oct 1994 12:57:46 +0000 (12:57 +0000)]
(set_frame_size): Set app_shell and wmshell the same.

29 years ago(dired-find-subdir): Doc fix.
Richard M. Stallman [Wed, 26 Oct 1994 09:32:58 +0000 (09:32 +0000)]
(dired-find-subdir): Doc fix.

29 years ago(fill-individual-paragraphs): Avoid infinite loop
Richard M. Stallman [Wed, 26 Oct 1994 09:32:04 +0000 (09:32 +0000)]
(fill-individual-paragraphs): Avoid infinite loop
if mailp is set and no message was yanked.

29 years ago(status_message): Add a cast.
Richard M. Stallman [Wed, 26 Oct 1994 09:30:46 +0000 (09:30 +0000)]
(status_message): Add a cast.
(sigchld_handler): Add a cast.

29 years ago(x_catch_errors, x_check_errors, x_had_errors_p)
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): Don't report error here--just return 0.

(x_scroll_bar_report_motion): Store proper value in
*bar_window (the Emacs window, not the X window number).

(x_scroll_bar_report_motion): Don't clear *fp.

(x_wm_set_icon_pixmap): Use x_bitmap_pixmap.

(show_mouse_face): New arg dpyinfo.  All callers changed.
(clear_mouse_face): New arg dpyinfo.  All callers changed.

(scratch_cursor_gc): Variable deleted.
(dumpglyphs): Use scratch_cursor_gc in x_display_info.

(syms_of_xterm): Don't staticpro mouse_face_window.

(expose_all_windows, expose_all_icons): Variables deleted.
(BLOCK_INPUT_mask): Variable deleted.

(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.

29 years ago(x_window): Pass new arg f to hack_wm_protocols.
Richard M. Stallman [Wed, 26 Oct 1994 09:19:57 +0000 (09:19 +0000)]
(x_window): Pass new arg f to hack_wm_protocols.

(x_set_mouse_color, x_real_positions): Change calls
to x_catch_errors and friends.

29 years ago(syms_of_window): Fix missing \n\'s.
Karl Heuer [Wed, 26 Oct 1994 06:22:14 +0000 (06:22 +0000)]
(syms_of_window): Fix missing \n\'s.

29 years ago(x_own_selection, x_get_foreign_selection): Change calls
Richard M. Stallman [Wed, 26 Oct 1994 04:58:18 +0000 (04:58 +0000)]
(x_own_selection, x_get_foreign_selection): Change calls
to x_catch_errors and friends.

29 years ago(pop_up_menu): Pass a Display * to x_catch_errors, etc.
Richard M. Stallman [Wed, 26 Oct 1994 04:57:41 +0000 (04:57 +0000)]
(pop_up_menu): Pass a Display * to x_catch_errors, etc.

29 years agoComment changes.
Richard M. Stallman [Wed, 26 Oct 1994 04:43:33 +0000 (04:43 +0000)]
Comment changes.

29 years ago(tar-summarize-buffer): Check for end of buffer before extracting substring.
Karl Heuer [Wed, 26 Oct 1994 01:40:21 +0000 (01:40 +0000)]
(tar-summarize-buffer): Check for end of buffer before extracting substring.

29 years ago(list_processes_1): Print tty name.
Karl Heuer [Wed, 26 Oct 1994 00:21:05 +0000 (00:21 +0000)]
(list_processes_1): Print tty name.

29 years ago(Vtemp_buffer_show_function): Doc fix.
Richard M. Stallman [Tue, 25 Oct 1994 20:34:42 +0000 (20:34 +0000)]
(Vtemp_buffer_show_function): Doc fix.

29 years ago(gud-irixdbx-marker-filter): Cast $curline to int.
Richard M. Stallman [Tue, 25 Oct 1994 20:29:03 +0000 (20:29 +0000)]
(gud-irixdbx-marker-filter): Cast $curline to int.

29 years ago(enriched-mode): Add autoload cookie.
Boris Goldowsky [Tue, 25 Oct 1994 14:16:02 +0000 (14:16 +0000)]
(enriched-mode): Add autoload cookie.
(enriched-decode-foreground, -background): Create
faces even if no window system, to prevent multiple warnings.

29 years ago(Brk): Declare as unsigned long.
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.

29 years agoDelete X10 code.
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.

29 years ago(Fx_selection_exists_p): Fix backwards if.
Richard M. Stallman [Tue, 25 Oct 1994 10:34:49 +0000 (10:34 +0000)]
(Fx_selection_exists_p): Fix backwards if.

29 years ago(Fx_create_frame): Don't increment refernce_count
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 delete_keyboard_wait_descriptor.

(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.

29 years ago(record_char): New subroutine.
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.

29 years agoNever use input_fd if using X.
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.

29 years ago(make-frame-on-display): New function.
Richard M. Stallman [Tue, 25 Oct 1994 09:49:53 +0000 (09:49 +0000)]
(make-frame-on-display): New function.

29 years agoHandle multiple keyboard input descriptors.
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.

29 years ago(insert_from_buffer_1): Don't use min.
Richard M. Stallman [Tue, 25 Oct 1994 07:53:05 +0000 (07:53 +0000)]
(insert_from_buffer_1): Don't use min.

29 years ago(ispell-grep-command, ispell-look-command): Don't specify directory.
Richard M. Stallman [Tue, 25 Oct 1994 06:10:26 +0000 (06:10 +0000)]
(ispell-grep-command, ispell-look-command): Don't specify directory.

29 years ago(buffer-file-truename): Doc fix.
Richard M. Stallman [Tue, 25 Oct 1994 04:46:54 +0000 (04:46 +0000)]
(buffer-file-truename): Doc fix.

29 years ago(decode_mode_spec): New spec %c, for current column.
Karl Heuer [Tue, 25 Oct 1994 00:45:21 +0000 (00:45 +0000)]
(decode_mode_spec): New spec %c, for current column.

29 years agoMake previous change conditional.
Karl Heuer [Mon, 24 Oct 1994 23:30:14 +0000 (23:30 +0000)]
Make previous change conditional.

29 years ago(Fx_selection_exists_p): If selected_frame isn't an x frame, return nil.
Richard M. Stallman [Mon, 24 Oct 1994 21:59:55 +0000 (21:59 +0000)]
(Fx_selection_exists_p): If selected_frame isn't an x frame, return nil.

29 years ago* man.el (Man-init-defvars): Do not delete empty lines.
Francesco Potortì [Mon, 24 Oct 1994 15:34:50 +0000 (15:34 +0000)]
* man.el (Man-init-defvars): Do not delete empty lines.

29 years agoInitial revision
Boris Goldowsky [Mon, 24 Oct 1994 14:19:37 +0000 (14:19 +0000)]
Initial revision

29 years agoDon't try to make menu bindings when window-system==nil.
Boris Goldowsky [Mon, 24 Oct 1994 14:18:32 +0000 (14:18 +0000)]
Don't try to make menu bindings when window-system==nil.

29 years agoInitial revision
Boris Goldowsky [Mon, 24 Oct 1994 13:54:44 +0000 (13:54 +0000)]
Initial revision

29 years ago*** empty log message ***
Francesco Potortì [Mon, 24 Oct 1994 12:37:01 +0000 (12:37 +0000)]
*** empty log message ***

29 years ago(getline): When a search of already-read input for CRLF
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.

29 years ago(dired-mode-map): Add query-replace and search items to operate menu.
Roland McGrath [Sun, 23 Oct 1994 22:56:32 +0000 (22:56 +0000)]
(dired-mode-map): Add query-replace and search items to operate menu.

29 years ago(latex-mode): Recognize \item etc. that have no arg
Richard M. Stallman [Sun, 23 Oct 1994 20:39:25 +0000 (20:39 +0000)]
(latex-mode): Recognize \item etc. that have no arg
because only a comment follows.

29 years ago(unload_color): Pass arg f to WHITE_PIX_DEFAULT and BLACK_PIX_DEFAULT.
Richard M. Stallman [Sun, 23 Oct 1994 09:40:07 +0000 (09:40 +0000)]
(unload_color): Pass arg f to WHITE_PIX_DEFAULT and BLACK_PIX_DEFAULT.

29 years agoUse XFlush, not XFlushQueue, throughout.
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.

29 years agoSay error in x-open-connection should be fatal.
Richard M. Stallman [Sun, 23 Oct 1994 07:59:01 +0000 (07:59 +0000)]
Say error in x-open-connection should be fatal.

29 years ago(kbd_buffer_get_event): Cope if mouse_position_hook does not store anything.
Richard M. Stallman [Sun, 23 Oct 1994 07:49:24 +0000 (07:49 +0000)]
(kbd_buffer_get_event): Cope if mouse_position_hook does not store anything.

29 years ago(menu-bar-file-menu): Add item `Make Frame On Display'.
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.

29 years ago(struct heap): New fields first_bloc, last_bloc.
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.

29 years ago(set-face-background): Set either stipple or color,
Richard M. Stallman [Sun, 23 Oct 1994 06:05:12 +0000 (06:05 +0000)]
(set-face-background): Set either stipple or color,
never both.  Do this only for a specific frame, not for t.

29 years agoAdd comment.
Richard M. Stallman [Sun, 23 Oct 1994 05:04:03 +0000 (05:04 +0000)]
Add comment.

29 years ago(mail-setup): Fill in-reply-to field properly.
Richard M. Stallman [Sun, 23 Oct 1994 05:02:00 +0000 (05:02 +0000)]
(mail-setup): Fill in-reply-to field properly.

29 years ago(ange-ftp-process-handle-line): Check for a
Richard M. Stallman [Sun, 23 Oct 1994 04:55:35 +0000 (04:55 +0000)]
(ange-ftp-process-handle-line): Check for a
multi-line message before an error message.  Fixes problem of
thinking there is an error in narrative text.

29 years ago(set-face-background): If color is gray, and frame
Richard M. Stallman [Sun, 23 Oct 1994 01:05:26 +0000 (01:05 +0000)]
(set-face-background): If color is gray, and frame
can't display that directly, use corresponding stipple.
(face-try-color-list): Assume gray colors are valid on any display.

29 years ago(dired-do-tags-search, dired-do-tags-query-replace): New functions.
Roland McGrath [Sat, 22 Oct 1994 16:00:31 +0000 (16:00 +0000)]
(dired-do-tags-search, dired-do-tags-query-replace): New functions.

29 years ago(dired-mode-map): Bind A to dired-do-tags-search,
Roland McGrath [Sat, 22 Oct 1994 15:58:56 +0000 (15:58 +0000)]
(dired-mode-map): Bind A to dired-do-tags-search,
Q to dired-do-tags-query-replace.

29 years ago(calculate_costs): Call x_screen_planes.
Richard M. Stallman [Sat, 22 Oct 1994 05:39:42 +0000 (05:39 +0000)]
(calculate_costs): Call x_screen_planes.

29 years ago(Finsert_buffer_substring): Use insert_from_buffer instead of insert.
Karl Heuer [Sat, 22 Oct 1994 04:46:14 +0000 (04:46 +0000)]
(Finsert_buffer_substring): Use insert_from_buffer instead of insert.

29 years ago(insert_from_buffer, insert_from_buffer_1): New functions.
Karl Heuer [Sat, 22 Oct 1994 04:45:57 +0000 (04:45 +0000)]
(insert_from_buffer, insert_from_buffer_1): New functions.

29 years ago(struct x_display_info): Struct renamed from x_screen.
Richard M. Stallman [Sat, 22 Oct 1994 04:39:30 +0000 (04:39 +0000)]
(struct x_display_info): Struct renamed from x_screen.
(x_display): x_screen field renamed to display_info.
(FRAME_X_DISPLAY): Use new name.
(FRAME_X_DISPLAY_INFO): Likewise; also renamed from FRAME_X_SCREEN.

(struct x_display_info): New fields *_mod_mask, icon_bitmap_id, connection,
xrdb, Xatom..., grabbed, height, width, screen, visual, n_planes.

(x_display_list): New variable.

(FRAME_X_SCREEN): New macro.
(WHITE_PIX_DEFAULT, BLACK_PIX_DEFAULT): Take arg f.

(EMACS_CLASS): Macro moved here.

(XExposeRegionEvent): Unused macro deleted.
(XGetWindowInfo, XGetFont, XLoseFont): Unused macros deleted.
(MINWIDTH, MINHEIGHT, MAXWIDTH, MAXHEIGHT): Unused macros deleted.
(MAX_FACES_AND_GLYPHS, Bitmap): Unused macros deleted.
(struct event_queue): Structure deleted (was unused).
(EVENT_BUFFER_SIZE): Macro deleted.

(XClear): Macro deleted.  Callers use XClearWindow.
(XWarpMousePointer): Macro deleted.  Callers use XWarpPointer.
(XStuffPending): Macro deleted.  Callers use XPending.
(XHandleError, XHandleIOError): Macros deleted.
Callers use XSet...ErrorHandler.
(XChangeWindowSize): Macro deleted.  Callers use XResizeWindow.
(Color): Macro deleted; replaced with XColor.
(FONT_TYPE): Macro deleted; replaced with XFontStruct.
(PIX_TYPE): Macro deleted; replaced with unsigned long.

(ROOT_WINDOW): Macro deleted.
(struct x_display_info): New field root_window.  All uses changed.

(XDISPLAY): Macro deleted.
(XFlushQueue): Macro deleted.  All callers changed.
(DISPLAY_SCREEN_ARG): Maco deleted.
(DISPLAY_CELLS): Macro deleted.
(WINDOWINFO_TYPE): Macro deleted.

29 years agoUse FRAME_X_DISPLAY instead of x_current_display and XDISPLAY.
Richard M. Stallman [Sat, 22 Oct 1994 04:34:16 +0000 (04:34 +0000)]
Use FRAME_X_DISPLAY instead of x_current_display and XDISPLAY.

(x_make_frame_visible, x_make_frame_invisible):
Pass a frame ptr to x_sync.

(x_term_init): Init all the components of dpyinfo.

(x_display_info_for_display): New function.

(x_*_mod_mask): Variables deleted.
(x_x_to_emacs_modifiers, x_emacs_to_x_modifiers):
New arg dpyinfo; all callers changed.
Store the masks in that structure.

(icon_bitmap): Variable deleted.
(x_bitmap_icon): Use icon_bitmap_id in x_display_info.

(icon_font_info): Variable deleted.

(x_term_init): Set up `connection' field.

(x_find_modifier_meanings):
Arg is now struct x_display_info *.
(x_term_init): Return an x_display_info *.
Store all the data in it, including X atoms and xrdb.
Put the x_display_info structure on x_display_list.
Pass name as Lisp_Object.
(the_x_screen): Variable moved here.
(syms_of_xterm): Staticpro parts of the_x_screen.

(windowinfo): Variable deleted.

(Xatom_*): Variables deleted.
(x_iconify_frame, XTread_socket): Get atoms from the x_display_info,

(XTread_socket): Don't update Vmouse_depressed.

(x_mouse_grabbed): Variable deleted.
(note_mouse_highlight): Use grabbed field instead.
(XTmouse_position, XTread_socket): Likewise.

(x_calc_absolute_position, x_wm_set_size_hint):
Get screen height, width from the x_display_info structure.

29 years ago(x_sync): Take frame ptr as arg.
Richard M. Stallman [Sat, 22 Oct 1994 04:27:25 +0000 (04:27 +0000)]
(x_sync): Take frame ptr as arg.

(check_x_display_info): New function.
(Fx_create_frame): Use it.

(x_screen_planes): New function.
(EMACS_CLASS): Macro moved to xterm.h.

(Qdisplay): New variable.
(syms_of_xfns): Set it up.
(Fx_create_frame): Handle display parameter
which says where to get the FRAME_X_DISPLAY_INFO.
(x_display_info_for_name): New function.

(select_visual): New arg dpy.

(Fx_open_connection): Get dpyinfo from x_term_init.
Don't set up atoms, xrdb here. Pass name as Lisp_Object.
(the_x_screen): Variable moved to xterm.c.
(syms_of_xfns): Don't staticpro it here.

(xrdb): Variable deleted.
(Fx_get_resource): Use selected_frame's xrdb.
(x_get_resource_string): Likewise.

(Fx_open_connection): Store the atoms in x_display_info.
(hack_wm_protocols): New arg f.  Get atoms from x_display_info.
(x_window): Get atoms from x_display_info.

(Vmouse_depressed, mouse_buffer_offset): Variables deleted.
(syms_of_xfns): Delete Lisp variables too.
(Fx_synchronize): Take frame as arg.
(Fx_close_current_connection): Take frame as arg.   Error is not fatal.

(mouse_timestamp): Variable deleted.

(screen_visual, x_screen_planes): Variables deleted.
(x_screen, x_screen_height, x_screen_width): Variables deleted.
(Fx_open_connection): Don't set them here.
Put that info in the x_display_info structure.
(x_window): Get the visual from x_display_info structure.
(x_decode_color): Use n_planes from x_display_info structure.

Use FRAME_X_DISPLAY instead of x_current_display and XDISPLAY.
(x_in_use): New variable,
(check_x, using_x_p): Test x_in_use.
(Fx_open_connection): Set x_in_use.
(check_x_frame): New function.
(defined_color): New arg f specifies frame.  Callers changed.
(x_decode_color): New arg f.  All callers changed.
(Fx_color_values, Fx_color_defined_p): New arg FRAME.
Use check_x_frame.
(Fx_list_fonts): Use check_x_frame.

29 years ago(read_avail_input): Use input_fd.
Richard M. Stallman [Sat, 22 Oct 1994 03:55:39 +0000 (03:55 +0000)]
(read_avail_input): Use input_fd.

29 years ago(input_fd): No longer static.
Richard M. Stallman [Sat, 22 Oct 1994 03:55:00 +0000 (03:55 +0000)]
(input_fd): No longer static.

29 years ago(Fframe_or_buffer_changed_p):
Richard M. Stallman [Sat, 22 Oct 1994 03:54:14 +0000 (03:54 +0000)]
(Fframe_or_buffer_changed_p):
Detect deletion of a buffer at the end of the buffer list.

29 years ago(xmenu_show): Get the screen number for DisplayHeight
Richard M. Stallman [Sat, 22 Oct 1994 03:51:12 +0000 (03:51 +0000)]
(xmenu_show): Get the screen number for DisplayHeight
and DisplayWidth.  Use root_window slot in the x_display_info.

29 years ago(other_visible_frames): Pass a frame ptr to x_sync.
Richard M. Stallman [Sat, 22 Oct 1994 03:27:46 +0000 (03:27 +0000)]
(other_visible_frames): Pass a frame ptr to x_sync.

29 years ago(mail-aliases, mail-archive-file-name): Doc fixes.
Richard M. Stallman [Sat, 22 Oct 1994 02:54:46 +0000 (02:54 +0000)]
(mail-aliases, mail-archive-file-name): Doc fixes.

29 years ago(insert_before_markers): Don't inherit; insert_before_markers_and_inherit does
Karl Heuer [Sat, 22 Oct 1994 02:53:32 +0000 (02:53 +0000)]
(insert_before_markers): Don't inherit; insert_before_markers_and_inherit does
that.

29 years ago(sendmail-synch-aliases): Check MAILRC envvar.
Richard M. Stallman [Fri, 21 Oct 1994 21:31:47 +0000 (21:31 +0000)]
(sendmail-synch-aliases): Check MAILRC envvar.

29 years ago(define-mail-alias): Check MAILRC envvar.
Richard M. Stallman [Fri, 21 Oct 1994 21:30:38 +0000 (21:30 +0000)]
(define-mail-alias): Check MAILRC envvar.

29 years ago(main): Don't process one input file twice.
Richard M. Stallman [Fri, 21 Oct 1994 20:31:43 +0000 (20:31 +0000)]
(main): Don't process one input file twice.
Never use exit code > 1.

29 years agoFinish installing previous change.
Richard M. Stallman [Fri, 21 Oct 1994 20:29:30 +0000 (20:29 +0000)]
Finish installing previous change.

29 years ago(timer-error, timer-abnormal-termination,
Richard M. Stallman [Fri, 21 Oct 1994 20:27:08 +0000 (20:27 +0000)]
(timer-error, timer-abnormal-termination,
timer-filter-error): New error conditions.
(timer-process-filter, timer-process-sentinel): Signal an error,
don't just print a message.

29 years ago(view-file): Do record the buffer switch.
Richard M. Stallman [Fri, 21 Oct 1994 20:01:17 +0000 (20:01 +0000)]
(view-file): Do record the buffer switch.

29 years ago(describe-function-find-file): New function.
Richard M. Stallman [Fri, 21 Oct 1994 19:42:50 +0000 (19:42 +0000)]
(describe-function-find-file): New function.
(describe-function): Use that.

29 years ago(describe-function): Mention the file it was loaded from.
Richard M. Stallman [Fri, 21 Oct 1994 19:37:36 +0000 (19:37 +0000)]
(describe-function): Mention the file it was loaded from.

29 years ago(dbx): Delete call to gud-switch-to-buffer.
Richard M. Stallman [Fri, 21 Oct 1994 19:27:26 +0000 (19:27 +0000)]
(dbx): Delete call to gud-switch-to-buffer.
(gud-sdb-marker-filter): Handle SVR4 clumped lines.

29 years ago(emerge-auto-advance): Fix criterion for which message.
Richard M. Stallman [Fri, 21 Oct 1994 18:43:22 +0000 (18:43 +0000)]
(emerge-auto-advance): Fix criterion for which message.

29 years ago* etags.c (prestr, substr): return a logical type.
Francesco Potortì [Fri, 21 Oct 1994 12:28:55 +0000 (12:28 +0000)]
* etags.c (prestr, substr): return a logical type.
(consider_token): Comment out "EXFUN".  Use "DEFUN" instead of "DEF".
(consider_token): set funcdef to fignore when a DEFUN is met.
(C_entries): Now we can use Tom Hageman patch for extern "C".

29 years agoBetter NCR support.
Per Bothner [Fri, 21 Oct 1994 01:50:59 +0000 (01:50 +0000)]
Better NCR support.

29 years ago(rmail-get-new-mail): If display-time is in use,
Richard M. Stallman [Fri, 21 Oct 1994 00:48:18 +0000 (00:48 +0000)]
(rmail-get-new-mail): If display-time is in use,
call display-time-filter to update the Mail indicator.

29 years ago(list_buffers_1): Always mark current_buffer read-only.
Richard M. Stallman [Thu, 20 Oct 1994 21:19:47 +0000 (21:19 +0000)]
(list_buffers_1): Always mark current_buffer read-only.

29 years ago(next-file): Initialize next-file-list all at once from all tables.
Roland McGrath [Thu, 20 Oct 1994 21:17:44 +0000 (21:17 +0000)]
(next-file): Initialize next-file-list all at once from all tables.
Never call visit-tags-table-buffer when INITIALIZE is not t.

29 years agoPopServer renamed to popserver throughout.
Richard M. Stallman [Thu, 20 Oct 1994 20:35:57 +0000 (20:35 +0000)]
PopServer renamed to popserver throughout.

29 years ago(edit-and-eval-command): Elements of command-history are forms, not strings.
Karl Heuer [Thu, 20 Oct 1994 20:14:45 +0000 (20:14 +0000)]
(edit-and-eval-command): Elements of command-history are forms, not strings.

29 years ago(LD_SWITCH_MACHINE): Defined.
Richard M. Stallman [Thu, 20 Oct 1994 20:10:29 +0000 (20:10 +0000)]
(LD_SWITCH_MACHINE): Defined.

29 years ago(ange-ftp-get-passwd): Use user-mail-address.
Richard M. Stallman [Thu, 20 Oct 1994 20:03:30 +0000 (20:03 +0000)]
(ange-ftp-get-passwd): Use user-mail-address.
(ange-ftp-generate-anonymous-password): Doc fix.

29 years ago(repeat-matching-complex-command): Fix check for empty pattern. Simplify.
Karl Heuer [Thu, 20 Oct 1994 20:01:41 +0000 (20:01 +0000)]
(repeat-matching-complex-command): Fix check for empty pattern.  Simplify.
(default-command-history-filter-garbage): Fix doc string.
(list-command-history-filter, list-command-history-max): Likewise.