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

42302 commits

Author SHA1 Message Date
Jim Blandy
692f9ac6a1 *** empty log message *** 1992-08-27 22:17:59 +00:00
Richard M. Stallman
c017c14393 *** empty log message *** 1992-08-27 04:22:31 +00:00
Richard M. Stallman
38c132a96c entered into RCS 1992-08-25 01:57:37 +00:00
Richard M. Stallman
0dbe11e25a *** empty log message *** 1992-08-24 22:07:53 +00:00
Richard M. Stallman
61a93162c6 entered into RCS 1992-08-22 07:10:23 +00:00
Richard M. Stallman
ce4c9c9080 (WCOREDUMP): Define only if not defined.
(create_process) [HAVE_SETSID]: Use TIOCSCTTY if exists.
1992-08-22 02:53:24 +00:00
Joseph Arceneaux
d418ef42e1 Initial revision 1992-08-21 23:45:45 +00:00
gnulists
af3890bd90 Formerly GETTING.GNU.SOFTWARE.~3~ 1992-08-21 23:06:13 +00:00
Richard M. Stallman
ff1fbe3e75 *** empty log message *** 1992-08-21 07:18:16 +00:00
Richard M. Stallman
8a6c8bcf0b *** empty log message *** 1992-08-20 05:09:30 +00:00
Jim Blandy
547075d4a0 *** empty log message *** 1992-08-19 08:13:21 +00:00
Richard M. Stallman
8defe99b80 *** empty log message *** 1992-08-19 07:17:26 +00:00
Jim Blandy
c89475dcaa * abbrev.c (syms_of_abbrev): Call DEFVAR_PER_BUFFER with the new
TYPE argument.
1992-08-19 07:06:09 +00:00
Richard M. Stallman
4c6e656ffe (internal_self_insert): Ignore value of Fexpand_abbrev;
instead, check whether buf is modified when it returns.
1992-08-19 07:00:42 +00:00
Richard M. Stallman
ba70da8ff5 (Fexpand_abbrev): If pre-expand hook changes the buffer,
assume that means we "did an expansion".
1992-08-19 07:00:25 +00:00
Jim Blandy
16bd92ea65 * xterm.c (x_wm_hints): Variable deleted. This has to be
per-screen.  Duh.
	* xterm.c (x_wm_set_window_state, x_wm_set_icon_pixmap,
	x_wm_set_icon_position): Use F->display.x->wm_hints, rather than
	x_wm_hints.
	(x_term_init): Don't initialize x_wm_hints here.
	* xterm.c (x_set_text_property): Properly balance the BLOCK_INPUTs
	and UNBLOCK_INPUTs.  And remember that VALUE is the strin we want
	to set the name to, not PROPERTY.

	* xterm.c (x_set_text_property): Define this appropriately for
	X11R3 and X11R4.

	* xterm.c (x_set_text_property): Make this take a Lisp_Object
	string as an argument, rather than a pointer and a length.

	* xterm.c: Doc fixes.

	* xterm.c [USG5]: Don't include <sys/types.h>.

	* xterm.c (x_make_frame_invisible): Instead of calling XWithdraw
	window, which isn't widely available, write out what it does,
	since that's not much.
	(x_iconify_frame): Explicitly perform both the X11R3 and X11R4
	methods for iconification; don't use XIconifyWindow, since that's
	not present in R3.

	* xterm.c (x_wm_set_size_hint): Don't bother setting the
	base_width and base_height members; their function is performed
	just as well by the min_width and min_height members, and if we
	use XSetNormalHints instead of XSetWMNormalHints, we can be
	compatible with R3.

	* xterm.c (x_error_handler): There is no way to invoke the default
	error handler which works on all versions of X11, so don't bother;
	call XGetErrorText and print the message ourselves.

	* xterm.c (x_term_init): Don't use MAXHOSTNAMELEN; this isn't
	defined on all systems.  Since we only use that as an initial
	guess anyway, it's not very important.

	* xterm.c (x_set_text_property): New function.
1992-08-19 06:51:44 +00:00
Jim Blandy
a2a4d43e4c * xrdb.c [USG5]: Define SYSV, and then include <unistd.h>. I
wish I knew why.
	Don't include <sys/types.h>; just declare getuid to return an
    	int.  Big deal.
	(MAXPATHLEN): If this is not defined by the system's include
    	files, give it a value of 256.
	(get_user_db): Fetch the defaults directly from the display
    	structure, rather than using XResourceManagerString; that
    	function doesn't exist in the older versions of X.
1992-08-19 06:51:17 +00:00
Jim Blandy
f945b92083 * xfns.c (x_set_name): Take new argument EXPLICIT, instead of
OLDVAL.
	(x_explicitly_set_name, x_implicitly_set_name): New functions.
	(x_frame_parms): Use x_explicitly_set_name here.
	(x_window): Use x_implicitly_set_name here.

	* xfns.c (Fx_create_frame): Initialize f->display.x->wm_hints here.

	* xfns.c (x_set_name): Call x_set_text_property with a Lisp_Object
	string as an argument, rather than a pointer and a length.

	* xfns.c (x_get_arg): Accept a new type - symbol.  If we've
	retrieved a string from the xrdb database and the user wants a
	symbol, intern it.
	(Fx_create_frame): Use the symbol type here.

	* xfns.c (x_figure_window_size, x_icon, Fx_create_frame): Use
	values from enum resource_types for the last arg to x_get_arg,
	instead of passing numbers.

	* xfns.c (Fx_create_frame): When setting up the scroll bars, use
	the type parameter to x_default_parameter, rather than prefixing
	the resource name with a question mark.

	* xfns.c [not HAVE_X11] (Fx_create_frame): The resource which
	determines whether or not to use a bitmapped icon is called
	"IconType", not "BitmapIcon".  Update this.

	* xfns.c (x_set_name): Used x_set_text_property instead of XSetWMName and
	XSetWMIconName.

	* xfns.c (select_visual): Fetch the visual id directly from v;
    	don't call XVisualIDFromVisual, since that function is not
    	available in earlier versions of X.

	* xfns.c (x_make_gc): cursor_bits can't be local to the function;
	it's static.

	* xfns.c (Fx_create_frame): Make the default for the icon-type
    	parameter nil, not t.  It seems to cause problems with some X
    	servers.
1992-08-19 06:46:08 +00:00
Jim Blandy
11e82b76f2 * xdisp.c (display_mode_line): Use x_implicitly_set_name here.
* xdisp.c (redisplay, init_xdisp): Use FRAME_ROOT_WINDOW instead
	of minibuf_window->prev.

	* xdisp.c (decode_mode_spec): Move lots_of_dashes outside of the
	function; Emacs can't use static initialized arrays inside functions.
1992-08-19 06:43:03 +00:00
Jim Blandy
2f83aebe09 * window.c (Fset_window_configuration): Removed #if 0'd code which
assumes that minibuf_window is on the same frame as the window
	configuration.  Removed special case for windows whose prevs
	point to themselves.

	* window.c (Fset_window_configuration): Rename the argument from
	ARG to CONFIGURATION, so it matches the docstring.  The
	make-docfile program cares.

	* window.c [MULTI_FRAME] (syms_of_window): Don't staticpro
	minibuf_window; the frame list will take care of it.

	* window.c (window_loop): This used to keep track of the first
	window processed and wait until we came back around to it.  Sadly,
	this doesn't work if that window gets deleted.  So instead, use
	Fprevious_window to find the last window to process, and loop
	until we've done that one.

	* window.c [not MULTI_FRAME] (init_window_once): Don't forget to
	set the `mini_p' flag on the new minibuffer window to t.

	* window.c (Fwindow_at): Don't check the type of the frame
	argument.

	* window.c [not MULTI_FRAME] (window_loop): Set frame to zero,
	instead of trying to decode it.

	* window.c (init_window_once): Initialize minibuf_window before
	FRAME_ROOT_WINDOW, so the latter actually points to something.
1992-08-19 06:40:02 +00:00
Jim Blandy
a796ac82a3 * term.c (term_get_fkeys): Some systems define `static' to be the
empty string, which means that you can't have constant
    	initialized arrays inside a function.  So move the `keys' array
    	outside of the function.

	* term.c (keys): Include definitions for "K2" (the center key on
    	an IBM keypad), "F1" (F11), and "F2" (F12).  Handle "k0" and "k;"
    	specially; see the code for details.

	* term.c (clear_end_of_line): Remember that on some systems,
    	"static" gets defined to be the null string, so we can't declare
    	an array to be static and then initialize it.  Since the array in
    	question (buf) is only one element long, just make it a scalar
    	rather than an array; it can then be initialized, even if it's
    	not static.
1992-08-19 06:38:40 +00:00
Jim Blandy
345677047d * sysdep.c (select): There's no need to cast the return value of
signal anymore, since we have the SIGTYPE macro defined.

	* sysdep.c (read_input_waiting): When scanning for quit
    	characters, use the value of quit_char, rather than assuming that
    	C-g is the quit character.  And don't forget to declare i.

	* sysdep.c [USG5]: Don't include fcntl.h.
1992-08-19 06:37:58 +00:00
Jim Blandy
8c7f1e3596 * ralloc.c (get_bloc): When initializing new_bloc->variable, cast
NIL to (POINTER *).
	(malloc_init): Give warning if sbrk returns zero.  Wonder what
	that's supposed to mean.
1992-08-19 06:36:35 +00:00
Jim Blandy
0ad77c5462 * process.c (process_send_signal): Don't send SIGTSTP if the
system doesn't have that facility.

	* process.c: [USG5] Don't include <fcntl.h>.
	[USG] Don't bother including termios, termio, or fcntl; systerm.h
	takes care of all that.
	Remove the "mis;tak-+;;" line from the code; apparently this
	section of code does get used.

	* process.c (wait_reading_process_input): Put comments around
	text following #endif.
1992-08-19 06:35:23 +00:00
Jim Blandy
02665de740 * mocklisp.c (Fml_substr): Put comments around text following #endif. 1992-08-19 06:34:26 +00:00
Jim Blandy
b9d721de01 * minibuf.c (Fread_from_minibuffer): Put this function's doc
string into a comment; it's too long for the PCC preprocessor.
	Rah.
	(Fcompleting_read): Same deal.
1992-08-19 06:33:46 +00:00
Jim Blandy
4360b0c609 * lread.c (defvar_per_buffer): Support new TYPE argument, by
setting the appropriate slot in buffer_local_types.
1992-08-19 06:33:16 +00:00
Jim Blandy
8ea0a72039 * keyboard.c (init_keyboard): Changed "#endif SIGIO" to
"#endif /* SIGIO */"

	* keyboard.c (Fexecute_mouse_event): dyked-out function deleted.
	We're not going to use this mouse interface.
	(Vmouse_window, Vmouse_event, Vmouse_event_function,
	Vmouse_left_hook, Vmap_frame_hook, Vunmap_frame_hook,
	Vmouse_motion_handler): Variables deleted; they were to be used by
	Fexecute_mouse_event.
	(syms_of_keyboard): Same.
	(command_loop_1): Remove dyked-out code to support
	Fexecute_mouse_event.
	(read_char): Same.

	* keyboard.c (Vlast_event_frame): Don't define this window if
	MULTI_FRAME is not #defined.
	(syms_of_keyboard): Same.
	(kbd_buffer_store_event): Don't try to work with Vlast_event_frame
	if MULTI_FRAME is not #defined.
	(kbd_buffer_get_event): Same.

	* keyboard.c (Fdiscard_input): Removed dyked-out code from when
	unread_command_char's quiescent value was -1, not nil.
1992-08-19 06:31:34 +00:00
Jim Blandy
804518aaeb * frame.c (make_frame): Clear the explicit_name member of the new
frame.
1992-08-19 06:26:54 +00:00
Jim Blandy
56abb480f7 * floatfns.c (Fexpm1, Flog1p): Function removed; it's not widely
available, and hardly vital.
	(syms_of_floatfns): Adjusted appropriately.

	* floatfns.c (Flog): Accept optional second arg, being the base
	for the logarithm.
	[USG] (Flogb): Define this in terms of Flog.
1992-08-19 06:26:13 +00:00
Jim Blandy
b0b97e8b3e * emacs.c [USG5]: Don't #include <fcntl.h> for these systems. 1992-08-19 06:25:25 +00:00
Jim Blandy
851c12057f * dispnew.c [not MULTI_FRAME] (Fredraw_display): Use
FRAME_ROOT_WINDOW instead of minibuf_window->prev.
1992-08-19 06:20:13 +00:00
Jim Blandy
bc540f9f00 * data.c [USG] (Frem): Call fmod, rather than drem. Rah.
* data.c (store_symval_forwarding): When storing through a
	Lisp_Buffer_Objfwd, check if the slot requires a particular type,
	and report an error if the types clash.
1992-08-19 06:19:22 +00:00
Jim Blandy
0fa3ba92d8 * buffer.c (syms_of_buffer): Call DEFVAR_PER_BUFFER with the new
TYPE argument.
	* buffer.c (buffer_local_types): New variable.
	(buffer_slot_type_mismatch): New function.
1992-08-19 06:18:37 +00:00
Jim Blandy
64aeaceb93 * alloc.c (Fmake_marker): Removed the test for being called from a
signal handler.  The original bug is probably gone, the test
	wasn't written portably, and it should probably go somewhere else
	anyway - say, funcall or eval.
1992-08-19 06:18:07 +00:00
Jim Blandy
ef15f270db *** empty log message *** 1992-08-19 03:54:51 +00:00
Jim Blandy
fbfed6f05f entered into RCS 1992-08-19 03:54:46 +00:00
Richard M. Stallman
4d4c4e027f *** empty log message *** 1992-08-18 21:18:19 +00:00
Richard M. Stallman
a08caf950d *** empty log message *** 1992-08-18 03:12:53 +00:00
Eric S. Raymond
f8db4c013a *** empty log message *** 1992-08-14 22:56:58 +00:00
Eric S. Raymond
00c00348f4 *** empty log message *** 1992-08-14 22:36:42 +00:00
Richard Kenner
6ca8e64c3a Add "alpha". 1992-08-14 19:34:06 +00:00
Eric S. Raymond
1260d6ba3e *** empty log message *** 1992-08-14 17:44:31 +00:00
Eric S. Raymond
6edec2ddbc *** empty log message *** 1992-08-14 16:02:12 +00:00
Richard M. Stallman
a4223f965a *** empty log message *** 1992-08-14 07:50:26 +00:00
Jim Blandy
42a9cd6a9c * alloc.c (Fgarbage_collect): Doc fix. 1992-08-14 02:34:06 +00:00
Jim Blandy
0292bcb174 * abbrev.c (Fdefine_abbrev_table): Fiddled with formatting. 1992-08-14 02:32:45 +00:00
Jim Blandy
cc38027b75 * frame.c (make_frame): Stop passing zero to make_window; it's not
expecting any arguments.
1992-08-14 02:31:41 +00:00
Jim Blandy
190721ac7b * dispnew.c (the_only_frame): Doc fix. 1992-08-14 02:31:04 +00:00
Jim Blandy
3e51c7b7e5 * keyboard.c (Fexecute_mouse_event): dyked-out function deleted.
We're not going to use this mouse interface.
	(Vmouse_window, Vmouse_event, Vmouse_event_function,
	Vmouse_left_hook, Vmap_frame_hook, Vunmap_frame_hook,
	Vmouse_motion_handler): Variables deleted; they were to be used by
	Fexecute_mouse_event.
	(syms_of_keyboard): Same.
	(command_loop_1): Remove dyked-out code to support
	Fexecute_mouse_event.
	(read_char): Same.

	* keyboard.c (Vlast_event_frame): Don't define this window if
	MULTI_FRAME is not #defined.
	(syms_of_keyboard): Same.
	(kbd_buffer_store_event): Don't try to work with Vlast_event_frame
	if MULTI_FRAME is not #defined.
	(kbd_buffer_get_event): Same.

	* keyboard.c (Fdiscard_input): Removed dyked-out code from when
	unread_command_char's quiescent value was -1, not nil.
1992-08-14 02:29:49 +00:00