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

9649 commits

Author SHA1 Message Date
Richard M. Stallman
a69281ffda 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.
1994-10-25 09:48:44 +00:00
Richard M. Stallman
61bd0e9ccd (insert_from_buffer_1): Don't use min. 1994-10-25 07:53:05 +00:00
Richard M. Stallman
e8649704b1 (ispell-grep-command, ispell-look-command): Don't specify directory. 1994-10-25 06:10:26 +00:00
Richard M. Stallman
5a48c0b6c9 (buffer-file-truename): Doc fix. 1994-10-25 04:46:54 +00:00
Karl Heuer
961dda3e4e (decode_mode_spec): New spec %c, for current column. 1994-10-25 00:45:21 +00:00
Karl Heuer
f1b648d6d0 Make previous change conditional. 1994-10-24 23:30:14 +00:00
Richard M. Stallman
b8c70430de (Fx_selection_exists_p): If selected_frame isn't an x frame, return nil. 1994-10-24 21:59:55 +00:00
Francesco Potortì
2b5de6158e * man.el (Man-init-defvars): Do not delete empty lines. 1994-10-24 15:34:50 +00:00
Boris Goldowsky
591d257e04 Initial revision 1994-10-24 14:19:37 +00:00
Boris Goldowsky
2db6c9ecda Don't try to make menu bindings when window-system==nil. 1994-10-24 14:18:32 +00:00
Boris Goldowsky
0122281ab9 Initial revision 1994-10-24 13:54:44 +00:00
Francesco Potortì
9931e1ba89 *** empty log message *** 1994-10-24 12:37:01 +00:00
Richard M. Stallman
b6606ad821 (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.
1994-10-24 04:41:21 +00:00
Roland McGrath
c3a646c2ab (dired-mode-map): Add query-replace and search items to operate menu. 1994-10-23 22:56:32 +00:00
Richard M. Stallman
22378c0edb (latex-mode): Recognize \item etc. that have no arg
because only a comment follows.
1994-10-23 20:39:25 +00:00
Richard M. Stallman
0704eec933 (unload_color): Pass arg f to WHITE_PIX_DEFAULT and BLACK_PIX_DEFAULT. 1994-10-23 09:40:07 +00:00
Richard M. Stallman
5c3a351a29 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.
1994-10-23 09:38:50 +00:00
Richard M. Stallman
f91f7c79c0 Say error in x-open-connection should be fatal. 1994-10-23 07:59:01 +00:00
Richard M. Stallman
e177ac3a87 (kbd_buffer_get_event): Cope if mouse_position_hook does not store anything. 1994-10-23 07:49:24 +00:00
Richard M. Stallman
08e8171fd0 (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.
1994-10-23 07:45:25 +00:00
Richard M. Stallman
47f13333c0 (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.
1994-10-23 06:16:43 +00:00
Richard M. Stallman
ee09252aa0 (set-face-background): Set either stipple or color,
never both.  Do this only for a specific frame, not for t.
1994-10-23 06:05:12 +00:00
Richard M. Stallman
368b007a35 Add comment. 1994-10-23 05:04:03 +00:00
Richard M. Stallman
34046d66f0 (mail-setup): Fill in-reply-to field properly. 1994-10-23 05:02:00 +00:00
Richard M. Stallman
13d9a3a96f (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.
1994-10-23 04:55:35 +00:00
Richard M. Stallman
0fd8a324e2 (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.
1994-10-23 01:05:26 +00:00
Roland McGrath
2297e912cf (dired-do-tags-search, dired-do-tags-query-replace): New functions. 1994-10-22 16:00:31 +00:00
Roland McGrath
866a70355c (dired-mode-map): Bind A to dired-do-tags-search,
Q to dired-do-tags-query-replace.
1994-10-22 15:58:56 +00:00
Richard M. Stallman
7dac35c8ad (calculate_costs): Call x_screen_planes. 1994-10-22 05:39:42 +00:00
Karl Heuer
b1b0ee5abc (Finsert_buffer_substring): Use insert_from_buffer instead of insert. 1994-10-22 04:46:14 +00:00
Karl Heuer
ef29f21354 (insert_from_buffer, insert_from_buffer_1): New functions. 1994-10-22 04:45:57 +00:00
Richard M. Stallman
579dd4beeb (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.
1994-10-22 04:39:30 +00:00
Richard M. Stallman
334208b772 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.
1994-10-22 04:34:16 +00:00
Richard M. Stallman
b9dc44432a (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.
1994-10-22 04:27:25 +00:00
Richard M. Stallman
437f611246 (read_avail_input): Use input_fd. 1994-10-22 03:55:39 +00:00
Richard M. Stallman
0217ed574e (input_fd): No longer static. 1994-10-22 03:55:00 +00:00
Richard M. Stallman
50cf83f80f (Fframe_or_buffer_changed_p):
Detect deletion of a buffer at the end of the buffer list.
1994-10-22 03:54:14 +00:00
Richard M. Stallman
f1847de368 (xmenu_show): Get the screen number for DisplayHeight
and DisplayWidth.  Use root_window slot in the x_display_info.
1994-10-22 03:51:12 +00:00
Richard M. Stallman
b0509a4011 (other_visible_frames): Pass a frame ptr to x_sync. 1994-10-22 03:27:46 +00:00
Richard M. Stallman
de01bf7dcf (mail-aliases, mail-archive-file-name): Doc fixes. 1994-10-22 02:54:46 +00:00
Karl Heuer
9ab5c9ca49 (insert_before_markers): Don't inherit; insert_before_markers_and_inherit does
that.
1994-10-22 02:53:32 +00:00
Richard M. Stallman
ff8e5528bd (sendmail-synch-aliases): Check MAILRC envvar. 1994-10-21 21:31:47 +00:00
Richard M. Stallman
8837853eb5 (define-mail-alias): Check MAILRC envvar. 1994-10-21 21:30:38 +00:00
Richard M. Stallman
a27897c9ac (main): Don't process one input file twice.
Never use exit code > 1.
1994-10-21 20:31:43 +00:00
Richard M. Stallman
c3207e5d72 Finish installing previous change. 1994-10-21 20:29:30 +00:00
Richard M. Stallman
63afb1f896 (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.
1994-10-21 20:27:08 +00:00
Richard M. Stallman
872c284541 (view-file): Do record the buffer switch. 1994-10-21 20:01:17 +00:00
Richard M. Stallman
ca5ed19616 (describe-function-find-file): New function.
(describe-function): Use that.
1994-10-21 19:42:50 +00:00
Richard M. Stallman
6f6bfb8573 (describe-function): Mention the file it was loaded from. 1994-10-21 19:37:36 +00:00
Richard M. Stallman
9fe320f1e3 (dbx): Delete call to gud-switch-to-buffer.
(gud-sdb-marker-filter): Handle SVR4 clumped lines.
1994-10-21 19:27:26 +00:00