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

9632 commits

Author SHA1 Message Date
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
Richard M. Stallman
c880b9d57d (emerge-auto-advance): Fix criterion for which message. 1994-10-21 18:43:22 +00:00
Francesco Potortì
715b6f8c4e * 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".
1994-10-21 12:28:55 +00:00
Per Bothner
4c07cabb2a Better NCR support. 1994-10-21 01:50:59 +00:00
Richard M. Stallman
07074849f0 (rmail-get-new-mail): If display-time is in use,
call display-time-filter to update the Mail indicator.
1994-10-21 00:48:18 +00:00
Richard M. Stallman
b5b4d3606f (list_buffers_1): Always mark current_buffer read-only. 1994-10-20 21:19:47 +00:00
Roland McGrath
5c9e49a953 (next-file): Initialize next-file-list all at once from all tables.
Never call visit-tags-table-buffer when INITIALIZE is not t.
1994-10-20 21:17:44 +00:00
Richard M. Stallman
b32701a7ff PopServer renamed to popserver throughout. 1994-10-20 20:35:57 +00:00
Karl Heuer
5d6c83ae15 (edit-and-eval-command): Elements of command-history are forms, not strings. 1994-10-20 20:14:45 +00:00
Richard M. Stallman
7ee9eab9d7 (LD_SWITCH_MACHINE): Defined. 1994-10-20 20:10:29 +00:00
Richard M. Stallman
bc9babb622 (ange-ftp-get-passwd): Use user-mail-address.
(ange-ftp-generate-anonymous-password): Doc fix.
1994-10-20 20:03:30 +00:00
Karl Heuer
daaf01970e (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.
1994-10-20 20:01:41 +00:00
Karl Heuer
be76511435 (read_minibuf): Fix comment. 1994-10-20 19:13:47 +00:00
Karl Heuer
8d77c0c832 (Fdisplay_buffer): Make old_selected_window a Lisp_Object. 1994-10-20 19:11:29 +00:00
Boris Goldowsky
bf7d4561c1 (facemenu-get-face): Don't add to menu here.
(facemenu-face-menu, facemenu-foreground-menu,
	facemenu-background-menu): New or renamed variables for submenus.(facemenu-color-alist): Renamed from facemenu-colors.
(facemenu-add-new-face): New function.
(facemenu-update): Don't redo top-level menu;
	nothing should change.  Move menu setup to defvars.  Use
	facemenu-add-new-face. Changed global binding to C-down-mouse-3.
(facemenu-menu): "Update" item removed; should
	no longer be needed interactively.
(facemenu-complete-face-list): Just return faces,
	not keybindings.
1994-10-20 18:15:25 +00:00
Boris Goldowsky
33af44e844 (make-face): Add new face to Face menu on creation. -- Bng 1994-10-20 18:11:27 +00:00
David J. MacKenzie
25b4690733 Don't declare malloc, since we include config.h. 1994-10-20 16:37:04 +00:00
Francesco Potortì
f7046d47ca * man.el (Man-init-defvars): Corrections to Man-filter-list.
(Man-fontify-manpage): Added cleaning of ksh manpage daggers.
	(Man-fontify-manpage): Added cleaning of ksh manpage daggers.
	(Man-bgproc-sentinel): Unconditionally call Man-cleanup-manpage.
1994-10-20 10:04:17 +00:00