1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Richard M. Stallman
29944b73c7 (Fy_or_n_p): Handle `recenter' response type. 1993-03-22 06:54:36 +00:00
Richard M. Stallman
e024395e6d (struct window): New fields base_line_number and base_line_pos. 1993-03-21 23:06:23 +00:00
Richard M. Stallman
aa6d10fafd (decode_mode_spec): Handle `%l'.
(display_count_lines): New function.
(redisplay_window): Update base_line_number and base_line_pos fields.
Always update mode line if it's an integer.
1993-03-21 23:04:18 +00:00
Richard M. Stallman
427aa35a10 (HAVE_TERMIO, SIGNALS_VIA_CHARACTERS): Defined. 1993-03-21 22:58:10 +00:00
Jim Blandy
6bde6341fe * xfns.c (Fx_open_connection): If we have X11R5, use
XrmSetDatabase to set the display's database.  In older versions,
	just store the value into x_current_display->db.
	* xterm.h (HAVE_X11R5): Define this where appropriate.
1993-03-21 07:24:32 +00:00
Jim Blandy
0f85737cab * frame.c (Fhandle_switch_frame): Renamed from Fselect_frame.
Doc changed in anticipation of new purpose.
	(Fselect_frame): Just call Fhandle_switch_frame for now.
1993-03-21 06:53:04 +00:00
Richard M. Stallman
d5b2799ef6 (Fselect_window): Use Fhandle_switch_frame.
(Fset_window_configuration): Likewise.
1993-03-21 06:50:50 +00:00
Jim Blandy
8bc59570d7 Fix typo. 1993-03-21 05:14:35 +00:00
Jim Blandy
49795535f1 Use the `visiblity' parameter to determine the initial state of
the frame, instead of the `iconic-startup' and
	`suppress-initial-map'.
	* xfns.c (x_icon): Test the Qvisibility parameter against Qicon,
	instead of the Qiconic_startup against Qt.
	(x_create_frame): Test Qvisibility against Qnil and
	Qicon, instead of testing Qsuppress_initial_map and Qvisibility.
	(Qicon): New symbol.
	(Qiconic_startup, Qsuppress_icon, Qsuppress_initial_map): Removed.
	(syms_of_xfns): Adjusted appropriately.

	* xfns.c [not HAVE_X11] (x_create_frame): Check Qicon_type,
	instead of Qsuppress_icon.

	* xfns.c (x_set_visibility): Instead of interpreting only Qt as
	`make the frame visible' and everything else as `iconify the
	frame', interpret Qicon as `iconify the frame' and everything else
	as `make the frame visible.'

	* xfns.c (x_get_arg): When the type of the resource is `symbol',
	return `true' and `on' as Qt, and `false' and `off' as Qnil.
1993-03-21 05:11:23 +00:00
Jim Blandy
c5c6addffa Doc fix. 1993-03-20 23:06:44 +00:00
Jim Blandy
767229f87c * dispnew.c (Fsleep_for): Make this take two arguments SECONDS and
MILLISECONDS, which add, rather than a second argument which says
	"treat the first argument as milliseconds."
	(Fsit_for): Same thing.
	(Fsleep_for_milliseconds): Deleted; this can be done with Fsleep_for.
1993-03-20 23:03:35 +00:00
Jim Blandy
6e4f3667d9 * process.c (wait_reading_process_input): Doc fix. 1993-03-20 22:58:54 +00:00
Jim Blandy
722687f5c7 * systime.h (EMACS_HAS_USECS): #define this if HAVE_TIMEVAL is
#defined.
1993-03-20 22:58:21 +00:00
Jim Blandy
500ab754f5 Do * dispnew.c (sit_for): Doc fix. 1993-03-20 22:26:53 +00:00
Jim Blandy
97741d057d * sysdep.c (reset_sys_modes): Fix usage of EMACS_SET_TTY. 1993-03-20 22:21:12 +00:00
Jim Blandy
426b37aecf * callproc.c (child_setup): Make sure that in, out, and err are
not less than three.
	(relocate_fd): New function.
1993-03-20 21:53:57 +00:00
Jim Blandy
a4fc736006 * xterm.c (x_term_init): If the X connection is already in file
descriptor zero, don't dup it and close the old one.
1993-03-20 21:07:59 +00:00
Jim Blandy
055e9517dc * s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
Emacs 18.
1993-03-20 20:56:55 +00:00
Jim Blandy
eb5d618c18 * xfns.c (Fx_open_connection): If we have X11R5, use
XrmSetDatabase to set the display's database.  In older versions,
	just store the value into x_current_display->db.
1993-03-20 20:48:34 +00:00
Jim Blandy
b49f55787d * frame.c (Fraise_frame, Flower_frame): Renamed from
Fframe_to_front and Fframe_to_back.
	(syms_of_frame): Adjusted appropriately.
1993-03-20 20:18:44 +00:00
Jim Blandy
6e23c83e03 * fileio.c (HAVE_FSYNC): Define, if appropriate.
(Fwrite_region): Use HAVE_FSYNC.
	* s-aix3-2.h (HAVE_FSYNC): Define.
1993-03-20 19:45:17 +00:00
Jim Blandy
59653951e7 * emacs.c (Finvocation_name): New function.
(Vinvocation_name): New variable.
	(init_cmdargs): Set it.
	(syms_of_emacs): defsubr Finvocation_name, staticpro and
	initialize Vinvocation_name.
	* lisp.h (Vinvocation_name): New extern declaration.
	* xterm.c (invocation_name): Variable deleted; use
	Vinvocation_name now.
	(x_text_icon, x_term_init): Use Vinvocation_name now instead of
	invocation_name.
	(x_term_init): Don't initialize invocation_name.
	(syms_of_xterm): Don't initialize or staticpro invocation_name.
	* xfns.c (invocation_name): Remove extern declaration for this.
	[HAVE_X11] (Fx_get_resource): Use Vinvocation_name now instead of
	invocation_name.
	[not HAVE_X11] (Fx_get_default): Same.
1993-03-20 19:30:58 +00:00
Richard M. Stallman
bcc426b452 (Fx_display_color_p): Renamed from Fx_color_display_p.
(syms_of_xfns): Use new name in defsubr.
1993-03-20 09:21:13 +00:00
Richard M. Stallman
41beb8fc13 (x_screen): Make this var file scope.
(Fx_server_version): Use Fcons, not list3.

(Fx_server_vendor, Fx_server_version, Fx_display_pixel_width)
(Fx_display_pixel_height, Fx_display_mm_width, Fx_display_mm_height)
(Fx_display_screens, Fx_display_planes, Fx_display_color_cells)
(Fx_display_visual_class, Fx_display_backing_store)
(Fx_display_save_under): New functions.
(x_screen_count, Vx_vendor, x_release, x_screen_height_mm)
(x_screen_width_mm, Vx_backing_store, x_save_under, Vx_screen_visual)
(x_visual_strings): Vars deleted.
(Fx_open_connection): Don't init those vars.
(syms_of_xfns): Set up new functions.  Don't set up those vars as Lisp vars.
Nor x-screen-width and x-screen-height.
1993-03-20 06:25:55 +00:00
Jim Blandy
210b2b4f05 Some VMS changes from Richard Levitte <levitte@e.kth.se>:
* [VMS] systime.h: Include vmstime.h.  VMS has the timezone
	variable and the tzname array.
	* s/vms.h: VMS does have select.
	mth$dmod is the same as Unix's drem.
	Use the time functions in vmstime.c.
	No need to rename the malloc routines if we're using GNU malloc.
	PURESIZE needs to be 330000.
	* vmstime.c, vmstime.h: New files.
	* systty.h: Don't try to initialize extern declarations under VAX C.
	* vmspaths.h (PATH_LOADSEARCH): Include EMACS_LIBRARY:[LOCAL-LISP]
	in PATH_LOADSEARCH.
	(PATH_EXEC): Use EMACS_LIBRARY:[LIB-SRC] instead of [ETC].
	* sysdep.c [VMS] (init_sys_modes): Don't allocate process_ef.
	[VMS] (queue_kbd_input): Build events structure correctly.
	[VMS] (gethostname): New function.
	[VMS] (getwd): Don't get the PATH environment variable; that's
	dumb.  Call getcwd.
1993-03-19 17:28:14 +00:00
Richard M. Stallman
f5d5eccf37 (Fvisited_file_modtime): New function.
(Fset_visited_file_modtime): Accept an argument specifying time value.
If arg is nil, really use the filename handler.
1993-03-19 05:30:19 +00:00
Eric S. Raymond
a6af869636 Added unlock and relock. 1993-03-19 05:27:03 +00:00
Richard M. Stallman
8a89415ece (cons_to_long, long_to_cons): No longer static. 1993-03-19 05:19:23 +00:00
Jim Blandy
35f56f9681 * frame.h (FOR_EACH_FRAME): Change the definition so that
FRAME_VAR is a lisp object.
	* dispnew.c (WINDOW_CHANGE_SIGNAL, do_pending_window_change):
	Adjusted appropriately.
	* xdisp.c (redisplay): Adjusted appropriately.

	* dispnew.c (Fredraw_frame): Give this appropriate definitions for
	MULTI_FRAME and non-MULTI_FRAME configurations.
	(Fredraw_display): Give this a non-MULTI_FRAME-dependent definition.
1993-03-18 22:50:00 +00:00
Jim Blandy
05c53e7cf5 Some VMS changes from Richard Levitte <levitte@e.kth.se>:
* [VMS] systime.h: Include vmstime.h.  VMS has the timezone
	variable and the tzname array.
	* s/vms.h: VMS does have select.
	mth$dmod is the same as Unix's drem.
	Use the time functions in vmstime.c.
	No need to rename the malloc routines if we're using GNU malloc.
	PURESIZE needs to be 330000.
	* vmstime.c, vmstime.h: New files.
	* systty.h: Don't try to initialize extern declarations under VAX C.
	* vmspaths.h (PATH_LOADSEARCH): Include EMACS_LIBRARY:[LOCAL-LISP]
	in PATH_LOADSEARCH.
	(PATH_EXEC): Use EMACS_LIBRARY:[LIB-SRC] instead of [ETC].
	* sysdep.c [VMS] (init_sys_modes): Don't allocate process_ef.
	[VMS] (queue_kbd_input): Build events structure correctly.
	[VMS] (gethostname): New function.
	[VMS] (getwd): Don't get the PATH environment variable; that's
	dumb.  Call getcwd.
1993-03-18 16:11:17 +00:00
Richard M. Stallman
27b6178555 Fix spacing conventions. 1993-03-18 10:18:30 +00:00
Eric S. Raymond
11838c0e24 Less klugey version of fix. 1993-03-17 23:50:29 +00:00
Eric S. Raymond
c3d80a4737 Add production to nuke binaries and doc files. 1993-03-17 22:31:58 +00:00
Richard M. Stallman
8b235fde6d Doc fix. 1993-03-17 21:40:14 +00:00
Jim Blandy
49d838ea4a * xterm.c (x_display_box_cursor, x_display_bar_cursor): Don't
display the cursor on garbaged frames.
1993-03-17 20:11:00 +00:00
Eric S. Raymond
1dd40212a5 Supply second arg for tgetstr() calls. 1993-03-17 13:11:50 +00:00
Richard M. Stallman
856c3dcba8 (_getpty): Declare this, not _get_pty. 1993-03-17 09:22:15 +00:00
Richard M. Stallman
dcf970e66f Fix typo in previous change. 1993-03-17 09:19:47 +00:00
Richard M. Stallman
577d03d57f (Fprocess_send_eof): Make sure proc is running. 1993-03-17 07:59:09 +00:00
Jim Blandy
2e94b81346 Doc fix. 1993-03-16 18:36:27 +00:00
Jim Blandy
6bbb0d4aaa * cmds.c (overwrite_binary_mode): Deleted; this implements the
wrong feature.
	(Qoverwrite_mode_binary): New variable.
	(internal_self_insert): If current_buffer->overwrite_mode is
	`overwrite-mode-binary', do as overwrite_binary_mode used to.
	(syms_of_cmds): Remove defvar of overwrite_binary_mode; initialize
	Qoverwrite_mode_binary.
	* buffer.c (syms_of_buffer): Doc fix for overwrite_mode.
	* buffer.h (struct buffer): Doc fix.
1993-03-16 18:18:05 +00:00
Jim Blandy
806b4d9b90 Rename live-window-p' to window-live-p', for consistency with
`frame-live-p'.
	* window.c (Fwindow_live_p): Renamed from Flive_window_p.
	* lisp.h (CHECK_LIVE_WINDOW): Change to use Qwindow_live_p.
	(Qwindow_live_p): Extern declaration renamed fom Qlive_window_p.
1993-03-16 05:55:57 +00:00
Richard M. Stallman
10c48c955d (xmenu_show): Do BLOCK_INPUT; unblock just before returning. 1993-03-16 05:55:12 +00:00
Richard M. Stallman
63e1efd4b3 [SIGIO] (UNBLOCK_INPUT): Resignal if x_pending_input. 1993-03-16 05:54:56 +00:00
Jim Blandy
48c9d487f8 * frame.c (Fframe_height, Fframe_width): Fix doc strings to match
those of the multi-frame versions in frame.el.  Accept an optional
	argument FRAME, also for consistency.
1993-03-15 21:41:36 +00:00
Jim Blandy
c26406fef2 * floatfns.c (logb): Add extern declaration for this.
* floatfns.c (Flogb): Under SYSV, implement this using frexp.
1993-03-15 20:17:07 +00:00
Richard M. Stallman
84aa3ace66 (wait_reading_process_input): New option to wait
till a given cons cell has a non-nil car.
Delete vipc conditionals.
1993-03-15 06:09:04 +00:00
Richard M. Stallman
ed5af96f60 (FRAMEP): Macro deleted. 1993-03-15 06:07:40 +00:00
Richard M. Stallman
3be08bead7 Include termhooks.h. 1993-03-15 06:06:56 +00:00
Richard M. Stallman
99e720680a (Xatom_wm_change_state): Just declare.
(Xatom_emacs_selection, Xatom_clipboard, Xatom_clipboard_selection):
(Xatom_wm_change_state, Xatom_incremental, Xatom_multiple):
(Xatom_targets, Xatom_timestamp, Xatom_delete, Xatom_insert_selection):
(Xatom_pair, Xatom_insert_property, Xatom_text): Decls deleted.
(x_begin_selection_own): Decls deleted.
(Fx_open_connection): Set up only the wm atoms here.
Call Xatoms_of_xselect.
1993-03-15 06:06:07 +00:00