head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	96.03.18.23.32.59;	author ghudson;	state Exp;
branches;
next	;


desc
@Stock emacs 19.30
@


1.1
log
@Initial revision
@
text
@Fri Nov 24 22:01:33 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* Version 19.30 released.

	* msdos.c (IT_set_menu_bar_lines): Clear last_modified field.

Thu Nov 23 15:07:13 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* keyboard.c (read_char): Handle unread events from popup menus.

Wed Nov 22 13:58:36 1995  Geoff Voelker  <voelker@@cs.washington.edu>

	* makefile.nt (DOC, clean): Don't use switches to del not supported
	by Win95.

Wed Nov 22 07:35:25 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (XTmouse_position): Exit the loop if child == win.
	(x_iconify_frame): Call FRAME_SAMPLE_VISIBILITY.
	(XTframe_up_to_date): Block and unblock input.

Wed Nov 22 05:46:28 1995  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (internal_terminal_init): Initialize the_only_x_display.font.

	* xfaces.c (Fset_face_attribute_internal) [MSDOS]:
	Set font field to 1.

Wed Nov 22 05:46:28 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* msdos.c (dos_set_keyboard): If CODE is not recognized,
	initialize to the US keyboard table.

Tue Nov 21 01:48:52 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/linux.h (LIB_MOTIF): New definition.

	* editfns.c (Fcurrent_time): Doc fix.

	* s/hpux10.h (FORCE_ALLOCA_H): Defined (for getdate.y).
	(HPUX10): Defined.

	* window.c (Fdisplay_buffer): Always deiconify the window's frame.
	(display_buffer_1): New subroutine.

	* m/alpha.h [LINUX] (LINUX_SBRK_BUG): Defined.
	* emacs.c (main): Add LINUX_SBRK_BUG conditional call to __sbrk.

	* s/msdos.h (SYSTEM_PURESIZE_EXTRA): Increased.

	* dosfns.c (syms_of_dosfns): Use 0x75 for dos_keypad_mode.

Mon Nov 20 13:37:56 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* alloc.c (Flist): Avoid using -- in while condition.

	* xfaces.c (unload_color, unload_font): Never invalidate computed
	faces 0 and 1.

	* minibuf.c (choose_minibuf_frame): On MSDOS, just use minibuf_window.

Sun Nov 19 15:29:11 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (show_mouse_face):
	When clearing cursor, use proper column range.

	* lread.c (Vsource_directory): New variable.
	(init_lread): Initialize it.
	(syms_of_lread): Set up Lisp var.

Sat Nov 18 09:24:58 1995  Fred Fish  <fnf@@cygnus.com>

	* s/linux.h: #undef SIGPOLL and SIGURG as well as SIGIO.

Sat Nov 18 14:03:38 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* data.c (Fmake_local_variable): Call find_symbol_value
	before making a new local binding.

Wed Nov 15 20:47:36 1995  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* mem-limits.h [_LIBC] (start_of_data): Use weak ref to
	__data_start; use &etext if not present.

Wed Nov 15 11:56:58 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (XTread_socket): Verify a ButtonPress was actually in the
	menu bar before generating a menu_bar_activate_event event.

	* s/hpux10.h: New file.

	* textprop.c (Fset_text_properties): Call set_properties
	even if we also merge an interval.

	* xselect.c (x_clear_frame_selections): Get selection_symbol properly.
	(syms_of_xselect): Doc fix.

	* doprnt.c (doprnt1): Add a cast.

	* alloc.c (mark_object): Don't overwrite original argument value.

	* .gdbinit (xsymbol): Cast name explicitly to (char *).

Tue Nov 14 14:15:23 1995  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32term.h: New file.

Tue Nov 14 12:36:49 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (Fexecute_extended_command):
	Call Fwhere_is_internal just once to handle all the maps.

	* xdisp.c (Qredisplay_end_trigger_functions): Renamed from ..._hook.
	(syms_of_xdisp): Set up new name.
	(display_text_line): Call them with arguments.

	* window.c (Fset_window_redisplay_end_trigger): Doc fix.

	* fileio.c (check_executable) [DOS_NT]: Treat all dirs as executable.

Mon Nov 13 00:06:01 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* frame.h (FRAME_WINDOW_P): Always define it one way or another.

	* m/alpha.h: Declare calloc like malloc.

Sun Nov 12 00:19:44 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xselect.c (x_clear_frame_selections): Undo previous change.

	* fileio.c (Fcopy_file): Don't chmod output file on MSDOS
	unless we have DJGPP version 2.

	* s/usg5-4.h (LIBS_STANDARD): Definition deleted.

	* s/isc2-2.h (LIBS_SYSTEM): Fix typo in prev change.

	* dispnew.c: Always include dispextern.h before cm.h.

Sat Nov 11 01:16:45 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xdisp.c (display_text_line): Handle redisplay_end_trigger
	before getting the face of the next character.  Reset next_face_change.

	* frame.c (syms_of_frame_1): Set up Vdefault_frame_alist here.
	(syms_of_frame): Not here.
	(Vdefault_frame_alist): Definition now unconditional.

	* msdos.c (dos_menubar_clock_displayed): New variable.
	(check_timer): Erase the clock if it has been turned off.

	* doc.c (Fdocumentation): Reject a file reference
	at the end of a lambda body.

	* xdisp.c (display_menu_bar): Fix backwards conditional.
	(update_menu_bar, redisplay_window): Don't use FRAME_EXTERNAL_MENU_BAR
	in #ifdef, since it is always defined.

Fri Nov 10 18:44:42 1995  Simon Leinen  <simon@@lia.di.epfl.ch>

	* s/hpux9.h (NO_EDITRES): Defined.
	(LIBXMU): Define once again.

	* xfns.c (HACK_EDITRES): Don't define if NO_EDITRES is defined.

	* xterm.c (HACK_EDITRES): Define here as in xfns.c.
	(XTread_socket): Test HACK_EDITRES.

Fri Nov 10 10:53:51 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/isc2-2.h (LIB_STANDARD_1): New macro.
	(LIB_STANDARD): Use LIB_STANDARD_1.
	(LIBS_SYSTEM): Use it here too.

	* print.c (debug_print): Explicitly print a CR.

	* keyboard.c (interrupt_signal): Do special things in GC.

Fri Nov 10 00:02:48 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* frame.c (set_menu_bar_lines): Record the fact that the window
	configuration changes.
	(set_menu_bar_lines_1): Mark the window as modified.

Thu Nov  9 23:28:43 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* floatfns.c (Fexpt): Doc fix.

	* window.h (struct window): New field redisplay_end_trigger.

	* window.c (Fwindow_redisplay_end_trigger): New function.
	(Fset_window_redisplay_end_trigger): Likewise.
	(syms_of_window): defsubr them.

	* xdisp.c (display_text_line): Get redisplay_end_trigger from window.

Thu Nov  9 19:29:39 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* buffer.c (syms_of_buffer): Delete the buffer-redisplay-end-trigger
	local variable.

Thu Nov  9 19:15:56 1995  Simon Leinen  <simon@@lia.di.epfl.ch>

	* xmenu.c: Don't include Xaw/Paned.h unless USE_LUCID is defined.
	(set_frame_menubar): Conditionalized some code on USE_LUCID that
	depends on the fact that the parent widget of the menu bar is an Xaw
	"Paned" widget.

Thu Nov  9 02:43:32 1995  Erik Naggum  <erik@@naggum.no>

	* eval.c (run-hook-with-args, run-hook-list-with-args): Safeguard
 	against a t in the global value of hook variables.

Wed Nov  8 16:36:20 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* s/msdos.h (SYMS_SYSTEM): Add syms_of_msdos.

	* Makefile.in (lisp): Add loadup.el.

	* indent.c (compute_motion): Update next_boundary
	when we skip to next newline.

Tue Nov  7 14:46:06 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* lread.c (oblookup): Clear ARRAY_MARK_FLAG in obsize.

	* callint.c (syms_of_callint): Set up Qlet, Qletx, Qsave_excursion.
	(Fcall_interactively): Look past those special forms
	when checking for a call to `list'.

Tue Nov  7 02:12:16 1995  Geoff Voelker  <voelker@@cs.washington.edu>

	* config.in [HAVE_X_WINDOWS] (HAVE_WINDOW_SYSTEM): New macro.
	* s/windowsnt.h [HAVE_NTGUI] (HAVE_WINDOW_SYSTEM): New macro.
	* dispextern.h dispnew.c, emacs.c, frame.c, keyboard.c, process.c,
	scroll.c, sysdep.c, window.c, xdisp.c: Use HAVE_WINDOW_SYSTEM
	instead of testing for specific window systems.

	* frame.h [HAVE_X_WINDOWS] (FRAME_WINDOW_P): Macro defined.
	[HAVE_NTGUI] (FRAME_WINDOW_P): Macro defined.
	* dispnew.c, frame.c, scroll.c, xdisp.c: Use FRAME_WINDOW_P
	instead of testing for specific window system frames.

	* xdisp.c (update_menu_bar, redisplay_window): Test for definition
	of FRAME_EXTERNAL_MENU_BAR before using it.

Mon Nov 6 15:52:37 1995  Kevin Gallo  <kgallo@@microsoft.com>

	* xterm.h (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): New macros.
	* dispnew.c (update_frame): Use FRAME_INTERNAL_BORDER_WIDTH.
	(update_line): Use FRAME_LINE_HEIGHT and FRAME_FONT.

	* xdisp.c [HAVE_NTGUI] (set_menu_framebar): Declare external.
	[HAVE_NTGUI] (frame_title_buf, frame_title_ptr): Include variables
	for Win32 window system.
	[HAVE_NTGUI] (store_frame_title, x_consider_frame_title): Include
	procedures for Win32 window system.
	[HAVE_NTGUI] (x_consider_frame_title): Test for Win32 frame.
	[HAVE_NTGUI] (display_text_line): Test for Win32 frame on face change.
	[HAVE_NTGUI] (display_menu_bar): Perform no-op for NT window system.

	* window.c [HAVE_NTGUI] (Fset_window_configuration): Set menu
	bar lines.

	* term.c [HAVE_NTGUI] (FRAME_TERMCAP_P): Don't redefine.

	* sysdep.c [HAVE_NTGUI] (init_sys_modes, reset_sys_modes):
	Don't initialize terminal mode when using window system.
	[HAVE_NTGUI] (BUFFER_SIZE_FACTOR): Increase for use with window system.

	* scroll.c [HAVE_NTGUI] (do_scrolling, do_direct_scrolling):
	Update frame geometry.

	* process.c [HAVE_NTGUI] (POLL_FOR_INPUT): Define macro.

	* keyboard.c [HAVE_NTGUI]: Include w32term.h.
	[HAVE_NTGUI] (KBD_BUFFER_SIZE): Increase for NT window system.
	[HAVE_NTGUI] (POLL_FOR_INPUT): Define.
	[HAVE_NTGUI] (kbd_buffer_get_event): Enable windowing and menu events.
	[HAVE_NTGUI] (lispy_function_keys): Define array for NT.
	[HAVE_NTGUI] (make_lispy_event): Enable menu bar events.
	[HAVE_NTGUI] (modify_event_symbol): Map symbol to keysym.
	[HAVE_NTGUI] (read_char_x_menu_prompt): Display menus.

	(FUNCTION_KEY_OFFSET): New macro.
	(make_lispy_event): Use FUNCTION_KEY_OFFSET to modify event codes
	before applying modifiers.

	* frame.c [HAVE_NTGUI]: Test for a Win32 frame in procedures
	that test for an X frame.

	* frame.h (output_method): New method: output_win32.
	(output_data): New data: win32.
	(FRAME_WIN32_P): New macro.
	[HAVE_NTGUI] (external_menu_bar): Define variable.
	[HAVE_NTGUI] (FRAME_EXTERNAL_MENU_BAR): Defined macro.

	* fns.c [HAVE_NTGUI] (Fy_or_n_p, Fyes_or_no_p): Allow popup.

	* emacs.c [HAVE_NTGUI]: Declare Vwindow_system.
	[HAVE_NTGUI] (main): Enable inhibit_window_system.
	Initialize environment from registry.
	Declare syms of Win32 windowing modules.

	* dispnew.c [HAVE_NTGUI]: Include w32term.h.
	Include dispextern.h before cm.h since dispextern.h includes windows.h.
	[HAVE_NTGUI] (make_frame_glyphs, free_frame_glyphs, scroll_frame_lines,
	update_frame, update_line): Test for WIN32 frame.
	[HAVE_NTGUI] (init_display): Initialize WIN32 window system.

	* dispextern.h [HAVE_NTGUI]: Include win32.h.
	[HAVE_NTGUI] (struct frame_glyphs): Include pixel fields.

	* w32term.c, w32xfns.c, w32fns.c, w32faces.c, w32select.c,
	w32menu.c, w32reg.c, win32.h: New files.

	* s/windowsnt.h [HAVE_NTGUI] (abort): New macro.
	[HAVE_NTGUI] (HAVE_FACES): Defined.

	* unexnt.c [HAVE_NTGUI] (WinMain): New procedure.
	[HAVE_NTGUI] (hinst, hprevinst, lpCmdLine, nCmdShow): New variables.
	[HAVE_NTGUI] (_start): Invoke WinMainCRTStartup.

	* ntterm.c (nt_ring_bell): Renamed from ring_bell, now global.
	(initialize_win_nt_display): Use nt_ring_bell.
	[HAVE_NTGUI] (pixel_to_glyph_coords, glyph_to_pixel_coords):
	Don't define.

	* ntproc.c [HAVE_NTGUI] (create_child): Pass handles to children.
	[HAVE_NTGUI1] (sys_select): Support alternate keyboard handling.

	* nt.h (nt_get_resource): Prototype defined.

	* nt.c (nt_get_resource, init_environment): Defined.
	(prepare_standard_handles, restore_standard_handles) [HAVE_NTGUI]:
	Don't duplicate or restore standard handles.

	* makefile.nt (SUBSYSTEM, TLIBW32, TLASTLIB, WIN32OBJ): Defined.
	(w32term.obj, w32xfns.obj, w32fns.obj w32faces.obj, w32select.obj,
	w32menu.obj, w32reg.obj): Defined.
	(LINK_FLAGS): Use SUBSYSTEM.
	(OBJ1): Remove lastfile.obj.
	(LIBS, TEMACS): Use TLASTLIB.
	(LIBS) [NTGUI]: Use TLIBW32 and GUI libs.
	(EMACS): Remove Win95 conditional.
	(clean): Remove paths.h.

Mon Nov  6 15:06:38 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* xdisp.c (display_string): Detect truncation more carefully.

	* dispnew.c (update_line): Avoid indexing into obody by -1.

	* s/hpux9.h (LIBXMU): Never define this.

Mon Nov  6 13:31:18 1995  Erik Naggum  <erik@@naggum.no>

	* print.c (debug_print): Print newline to stderr, too.

Sun Nov  5 16:28:43 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* xfaces.c (unload_font): Invalidate computed faces.
	(unload_color): Likewise.
	(new_computed_face): Reuse invalidated computed faces.

Sat Nov  4 10:40:11 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* indent.c (Fmove_to_column): Doc fix.

	* buffer.c (Fmake_overlay): New args front-advance
	and rear-advance.

	* fileio.c (Fwrite_region): Move the code that writes annotations
	for empty files.

Fri Nov  3 19:04:15 1995  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* msdos.h (struct x_output): Rename from struct x_display.
	* msdos.c (the_only_x_display): Type is now struct x_output.
	(internal_terminal_init): frame member is now named output_data.
	(init_environment): Fix timezone rules.
	* emacs.c (main): [MSDOS] Call init_gettimeofday.
	* frame.c [!MULTI_FRAME] (Fmodify_frame_parameters): Add missing
	declaration and initialization.
	[MULTI_FRAME] (choose_minibuf_frame): Moved to minibuf.c; now
	unconditional.
	* minibuf.c (choose_minibuf_frame): Moved here from frame.c.

Wed Nov  1 16:49:13 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* Makefile.in (USE_@@X_TOOLKIT_TYPE@@): Define here, if appropriate.
	(THIS_IS_YMAKEFILE): Definition deleted.

Tue Oct 31 19:03:18 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* doprnt.c: Include lisp.h.
 	(doprnt1): Renamed from doprnt.  New arg LISPSTRINGS.
	This is now a static subroutine.
	(doprnt): New definition calls doprnt1.
	(doprnt_lisp): New function.

	* editfns.c (Fformat): Use doprnt_lisp.

	* s/dgux.h: Test NOT_C_CODE instead of THIS_IS_YMAKEFILE.
	Get fatal error if not using GCC.

	* xdisp.c (redisplay_window): On non-X frame, always use
	FRAME_MENU_BAR_LINES as criterion for whether to display menu bar.
	(update_menu_bar): Likewise.
	(display_menu_bar): Do the work here for non-X frames
	regardless of USE_X_TOOLKIT.

	* m/alpha.h: Don't test THIS_IS_YMAKEFILE.

	* s/usg5-4.h: Always include sys/wait.h unless NOT_C_CODE;
	don't test #ifdef emacs for that.

Tue Oct 31 12:11:36 1995  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/altos.h:
	* m/amdahl.h, m/apollo.h, m/att3b.h, m/aviion.h, m/celerity.h:
	* m/clipper.h, m/cnvrgnt.h, m/cydra5.h, m/delta.h, m/delta88k.h:
	* m/dpx2.h, m/dual.h, m/elxsi.h, m/gec63.h, m/gould.h, m/hp9000s300.h:
	* m/i860.h, m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h:
	* m/irist.h, m/isi-ov.h, m/masscomp.h, m/mega68.h, m/mg1.h, m/news.h:
	* m/next.h, m/nh3000.h, m/nh4000.h, m/ns16000.h, m/ns32000.h, m/nu.h:
	* m/orion.h, m/orion105.h, m/pfa50.h, m/plexus.h, m/pyramid.h:
	* m/sequent.h, m/sparc.h, m/sps7.h, m/stride.h, m/sun1.h, m/sun2.h:
	* m/tad68k.h, m/tahoe.h, m/targon31.h, m/tek4300.h, m/tekxd88.h:
	* m/template.h, m/tower32.h, m/tower32v3.h, m/ustation.h, m/vax.h:
	* m/wicat.h, m/windowsnt.h, m/xps100.h:
	(SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h.

Mon Oct 30 21:28:51 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* alloc.c, data.c, doprnt.c, floatfns.c, fns.c, indent.c
	* insdel.c, lisp.h, lread.c, print.c, xdisp.c, xfaces.c, xterm.c
	(BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG): Rename from
	SHORTBITS, INTBITS, LONGBITS.
	* m/alpha.h, m/convex.h, m/hp800.h, m/intel386.h, m/iris4d.h
	* m/iris5d.h, m/mips-siemens.h, m/mips.h:
	(SHORTBITS, INTBITS, LONGBITS): Deleted; now in config.h
	Used new names for those macros in all references.

Mon Oct 30 12:52:49 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* config.in (BITS_PER_CHAR, BITS_PER_INT, BITS_PER_SHORT)
	(BITS_PER_LONG): Define if not already defined.

	* print.c (debug_print): Print a newline here.

	* .gdbinit (pr): Don't print newline here.

	* syntax.c (check_syntax_table): Check the purpose slot.
	Use Qsyntax_table_p for the error message.

	* lisp.h (CHECK_CHAR_TABLE): Don't accept nil.

	* Makefile.in (prefix-args): Use LDFLAGS, not ALL_LDFLAGS.

	* unexalpha.c (fatal_unexec): Don't use varargs.

	* editfns.c (Fencode_time): Add cast.
	(Fset_time_zone_rule): Add cast.

	* xterm.h: Move the include of Xlocale.h after setting HAVE_X11R5.

	* keyboard.c (command_loop_1): Test pre- and post-command hooks
	for non-nil-ness by looking at the V... variable.

Sun Oct 29 17:02:58 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* m/m68k.h [linux]: Define NO_REMAP and TEXT_START,
	and also DATA_SEG_BITS if compiling for ELF.
	(HAVE_ALLOCA, alloca): Define if compiling with GCC.

	* keymap.c (describe_translation): Insert newline after key
	description.

	* fns.c (Fsafe_length): Add missing parentheses around &
	within comparison.

	* minibuf.c (temp_echo_area_glyphs): Only delete the temporary
	message.

Sun Oct 29 14:00:09 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* syssignal.h [POSIX_SIGNALS] (signal): Undef before defining.

	* unexelfsgi.c (find_section): New arg old_section_h.
	Rename file_h to old_file_h and fix type.
	Calls changed.

	* syntax.c (Fmodify_syntax_entry): Don't fail to init MATCH.

	* lisp.h (PVEC_TYPE_MASK): Remove the 0x100 bit.

	* keyboard.c (command_loop_1): No direct display if Column Number mode.
	(Vcolumn_number_mode): New variable.
	(syms_of_keyboard): Set up Lisp variable.

	* marker.c (Fset_marker_insertion_type): Doc fix.

	* alloc.c (Fmake_char_table): Doc fix.

	* casetab.c (Fset_case_table): Doc fix.

	* alloc.c: Cast first arg to bzero.

Sat Oct 28 11:15:20 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.h (FRAME_XIC): Fix wrong field name.

	* alloc.c (Fmemory_use_counts): Cast 1 to EMACS_INT before shift.

	* eval.c (run_hook_with_args): Add forward declaration.

Fri Oct 27 16:23:30 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* Makefile.in (TAGS): Separate export DIR=`pwd` into two commands.

	* syntax.h (SYNTAX, SYNTAX_WITH_FLAGS, SYNTAX_MATCH):
	Fix the non-GCC definitions.

	* callint.c (Fcall_interactively): New arg KEYS.

	* keyboard.c (Fcommand_execute): New arg KEYS.  Callers changed.
	(read_char): Specify KEYS when handling Vspecial_event_map.

Thu Oct 26 15:03:54 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* msdos.c (IT_ring_bell): Use intdos, not write.

Wed Oct 25 15:19:08 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* data.c [!HAVE_FMOD] (fmod): Make consistent with ANSI definition.
	Don't use drem; it's not the same function.

Tue Oct 24 12:29:33 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/linux.h (REGEXP_IN_LIBC): Definition turned off.

	* minibuf.c (syms_of_minibuf): Doc fix.

Mon Oct 23 00:32:39 1995  Erik Naggum  <erik@@churchy.gnu.ai.mit.edu>

	* fns.c (map_char_table): Map over only CHAR_TABLE_ORDINARY_SLOTS
	slots, not vector size.

	* casetab.c (Fcase_table_p, Fcurrent_case_table): Delete unused
	local variables.
	(set_case_table): Delete obsolete local variable `down', use
	`table' where referenced.  Fix assignment to `canon' when nil.
	Store eqv in extras[2], not extras[0].
	(init_casetab_once): Case-tables have 3 extra slots, not 4.

Sun Oct 22 12:39:41 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* msdos.c (recent_doskeys_index, total_doskeys, recent_doskeys):
	New variables.
	(Frecent_doskeys): New function.
	(syms_of_msdos): New function.

	* search.c (string_match_1): Pass the POSIX arg to compile_pattern.

	* keyboard.c (ok_to_echo_at_next_pause): Make it a char *.
	(read_char): Copy and compare with echo_area_glyphs.

	* buffer.c (reset_buffer_local_variables): Call
 	Fset_standard_case_table if std case table seems to have been changed.

Sat Oct 21 13:04:57 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* buffer.c (reset_buffer): Initialize redisplay_end_trigger slot.
	Initialize extra1, extra2 and extra3 slots.

	* textprop.c (Fnext_single_property_change): Rearrange handling of
	limit = t; don't return t.

	* xdisp.c (try_window_id): Stop the compute_motion at ZV, not Z,
	when checking if all changes are below the window.

	* keyboard.c (read_char): If we reread a char, the next pause
	can start echoing despite a remaining echo area message.
	(ok_to_echo_at_next_pause): New variable.
	(cancel_echoing): Clear ok_to_echo_at_next_pause.

Fri Oct 20 19:20:42 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xdisp.c (Qredisplay_end_trigger_hook): New variable.
	(syms_of_xdisp): Set up Lisp variable.
	(display_text_line): Run the hook when appropriate.

	* buffer.c (init_buffer_once): Mark redisplay_end_trigger always local.
	Also fix previous change.
	(syms_of_buffer): Set up Lisp var buffer-redisplay-end-trigger.

	* buffer.h (struct buffer): New slot redisplay_end_trigger.
	Also extra1, extra2, extra3.

Thu Oct 19 09:36:12 1995  Erik Naggum  <erik@@naggum.no>

	* fns.c (Fmap_char_table): Call map_char_table with correct args.

Wed Oct 18 16:44:29 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* config.in (RE_TRANSLATE_TYPE): New definition.

	* casetab.c: Case tables are now char-tables,
	and the case table is stored in the downcase_table slot only.
	(Fcurrent_case_table, Fstandard_case_table, set_case_table)
	(compute_trt_inverse, init_casetab_once): Use new data format.

	* buffer.c (reset_buffer_local_variables):
	Get the up, eqv and canon tables from within the down case table.

	* editfns.c (Fchar_equal): Handle char-table as case table.

	* fns.c (Fchar_table_subtype): New function.
	(syms_of_fns): defsube it.

	* fns.c (map_char_table): When possible, use a number
	to describe the range.

	* doc.c (Fsubstitute_command_keys): Pass new arg to describe_map_tree.

	* keymap.c (describe_map_tree): New arg always_title.  Callers changed.

	* search.c (compile_pattern_1, compile_pattern, search_buffer):
	Case tables are char-tables now.

Mon Oct 16 17:35:25 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* lisp.h (UPCASE_TABLE): Definition deleted.
	(UPPERCASEP, LOWERCASEP, NOCASEP, UPCASE, UPCASE1, DOWNCASE)
	(DOWNCASE_TABLE): Case tables are now char-tables.
	(Vascii_upcase_table, Vascii_canon_table, Vascii_eqv_table):
	Declarations deleted.

	* keyboard.c (read_char): Let Vkeyboard_translate_table	be char-table.
	(syms_of_keyboard): Doc fix.

Sun Oct 15 12:05:50 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* lread.c (read1): Handle #' as prefix.
	(Qfunction): New variable.
	(syms_of_lread): Set up Qfunction.

	* fns.c (Fchar_table_range): New function.
	(syms_of_fns): defsubr it.

Sat Oct 14 20:57:54 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* unexelfsgi.c (find_section): New function.
	(unexec): Use it.  Also simplify previous changes.

Fri Oct 13 21:31:43 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* unexelfsgi.c (unexec): Find the old data section.
	New variable new_offsets_shift used instead of new_data2_size
	since they are not always the same.  Simplify logic for copying
	the headers and inserting new ones.

	* xterm.c (x_term_init, XTread_socket): Add HAVE_X_I18N support.

	* xfns.c (x_window, both versions): Add HAVE_X_I18N support.

Thu Oct 12 11:44:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.h (HAVE_X_I18N): New macro.
	Maybe include Xlocale.h.
	(struct x_output): New field xic.
	(FRAME_XIC): New macro.

	* window.c (Fdelete_other_windows): Set w->force_start.

	* xdisp.c (syms_of_xdisp): Doc fix.

Wed Oct 11 13:01:50 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fileio.c (Finsert_file_contents): If replacing,
	set selected_window->start_at_line_beg.

Wed Oct 11 15:12:35 1995  Kim Storm  <kfstorm@@wombat.gnu.ai.mit.edu>

	* keyboard.c (make_lispy_event) [!USE_X_TOOLKIT]: Dragging
 	the mouse into the menu-bar and releasing it there did
 	not create a drag-mouse event.
	(set-input-mode) [MSDOS]: Do not call reset_sys_modes and
	init_sys_modes.

	* dosfns.c (insert-startup-screen): New function.
	(msdos-memget, msdos-memput): New functions.
	(msdos-set-keyboard, insert-startup-screen): New functions.
	(dos-timezone-offset, dos-display-scancodes, dos-menubar-clock,
	dos-hyper-key, dos-super-key, dos-keypad-mode, dos-keyboard-layout,
	dos-decimal-point): New variables.

	* dosfns.h (dos_timezone_offset, dos_display_scancodes,
	dos_menubar_clock, dos_hyper_key, dos_super_key, dos_keypad_mode,
	dos_keyboard_layout, dos_decimal_point): New variables.

	* msdos.c: [!HAVE_X_WINDOWS]:
	Reworked display code to perform immediate screen output.
	Added menu-bar clock.
	Reworked keyboard code to support international keyboards.
	Improved keypad handling (see dos-keypad-mode).
	Properly distinguish between C-end and C-kp-1 etc.
	Corrected M-return & M-kp-enter.
	Added support for hyper and super keys.
	Reworked mouse code to avoid mouse flicker.
	Saves and restores DOS-screen prior to emacs startup.
	(sys_select): Would abort if rfds = NULL.
	(dos_direct_output): New function.
	(dos_dump_scancodes): New variable.

	* msdos.h (internal_flush): Removed
	(mouse_init1, mouse_check_moved, mouse_pressed, mouse_released): Removed.
	(dos_get_saved_screen, dos_set_keyboard): New functions.

	* s/msdos.h: Check that DJGPP v. 1 is used.
	Define __DJGPP__ to 1.
	Simplified INTERNAL_TERMINAL termcap definition.
	Removed #define fflush internal_flush.

	* sysdep.c: (init_sys_modes) [!HAVE_X_WINDOWS (MSDOS)]:
	Always call set_terminal_modes.
	(reset_sys_modes) [MSDOS]: Do not look at EMACSCOLORS.


Wed Oct 11 02:24:27 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* buffer.c (Fkill_buffer): Don't kill auto save file if not recent.

	* keymap.c (describe_vector): Support nested char-tables.

Tue Oct 10 12:26:49 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* Give char-tables a new slot `purpose'.

	* lisp.h (struct Lisp_Char_Table): New slot `purpose'.
	(CHAR_TABLE_STANDARD_SLOTS): Add one.

	* alloc.c (Qchar_table_extra_slots): New variable.
	(syms_of_alloc): Initialize it.
	(Fmake_char_table): Take new arg PURPOSE and get N from a property.

	* fns.c (Fcopy_sequence): Call Fmake_char_table the new way.
	(map_char_table): No longer static.  New arg C_FUNCTION.
	(Fmap_char_table): Call to map_char_table changed.
	(Fset_char_table_parent): Allow nil s new parent.
	Fix the code that checks for a loop in parents.

	* syntax.c (Qsyntax_table): New variable.
	(init_syntax_once): Call Fmake_char_table the new way.
	Set up Qsyntax_table.
	(Fsyntax_table_p): Check the `purpose' field.

	* disptab.h (DISP_TABLE_P): Check the `purpose' slot.
	(Qdisplay_table): Declared.
	* dispnew.c (Qdisplay_table): New variable.
	(syms_of_display): Initialize it.

Mon Oct  9 17:05:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* data.c (Qvector_or_char_table_p): New variable.
	(Fvector_or_char_table_p): New function.
	(syms_of_data): Set up Lisp var and function.

	* lisp.h (CHECK_VECTOR_OR_CHAR_TABLE): New macro.

Mon Oct  9 16:51:42 1995  Erik Naggum  <erik@@naggum.no>

	* buffer.c (buffer-display-table): Document new implementation.

Mon Oct  9 12:26:25 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* minibuf.c (temp_echo_area_glyphs): Restore the old point value.

Sun Oct  8 15:25:18 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* process.c (exec_sentinel, read_process_output):
	Call record_asynch_buffer_change only if caller is reading kbd input.

	* buffer.c (init_buffer_once): Make file_format always local,
	not just local when set.

Sat Oct  7 22:55:46 1995  Erik Naggum  <erik@@naggum.no>

	* alloc.c (Fmake_char_table): Initialize parent to nil.

Sat Oct  7 12:06:49 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (command_loop_1): Access display tables as char-tables.

	* indent.c (buffer_display_table): Use DISP_TABLE_P.  Return type
	struct Lisp_Char_Table * since display tables are now char-tables.
	(character_width, disptab_matches_widthtab, recompute_width_table)
	(current_column, Fmove_to_column, compute_motion):
	Corresponding changes.

	* window.c (window_display_table): Use DISP_TABLE_P.  Return type
	struct Lisp_Char_Table * since display tables are now char-tables.
	* xdisp.c (redisplay_window, redisplay_window, display_text_line):
	Fix up calls to window_display_table.  Access display tables
	as char-tables.

	* disptab.h (DISP_TABLE_EXTRA_SLOTS, DISP_TABLE_P): New macros.
	(DISP_TRUNC_GLYPH, DISP_CONTINUE_GLYPH, DISP_ESCAPE_GLYPH)
	(DISP_CTRL_GLYPH, DISP_INVIS_VECTOR, DISP_BORDER_GLYPH):
	Use the `extras' field.
	(window_display_table, buffer_display_table): Change return type.

	* keymap.c (describe_vector): Use Flength to get length of vector.

	* Makefile.in (bytecode.o): Depend on syntax.h.

Fri Oct  6 15:33:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* syntax.c (describe_syntax): Handle new syntax-table data format.
	(Fmodify_syntax_entry, init_syntax_once): Use SET_RAW_SYNTAX_ENTRY.
	Handle new syntax-table data format.
	(check_syntax_table): Use CHECK_CHAR_TABLE.  Now static.
	Don't return anything; callers changed.
	(Fcopy_syntax_table): Use Fcopy_sequence.
	(Fchar_syntax, Fmatching_paren, Fforward_comment): Copy complex args
	to SYNTAX into variables before using them.
	(Fsyntax_table_p): Accept any char-table.
	(syntax_parent_lookup): New function.
	(syntax_temp): New variable.

	* syntax.h: Use char tables as syntax tables.
	(RAW_SYNTAX, RAW_SYNTAX_MATCH): Macros deleted.
	(RAW_SYNTAX_ENTRY, SET_RAW_SYNTAX_ENTRY): New macros.
	(SYNTAX, SYNTAX_MATCH): Rewritten.
	(SYNTAX_ENTRY, SYNTAX_WITH_FLAGS): New macros.
	(SYNTAX_COMSTART_SECOND, SYNTAX_COMEND_FIRST, SYNTAX_COMEND_SECOND)
	(SYNTAX_PREFIX, SYNTAX_COMMENT_STYLE): Use SYNTAX_WITH_FLAGS.

	* callint.c (callint_message, callint_message_size): New vars.
 	(syms_of_callint): Set up new vars.
	(Fcall_interactively): Keep the prompt in the heap.

Thu Oct  5 19:14:59 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* window.c (Fset_window_hscroll): Don't reject args > SHORTBITS.

	* indent.c (Fmove_to_column): Make it interactive.

Wed Oct  4 11:45:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* lisp.h (struct Lisp_Char_Table): New structure.
	(CHAR_TABLE_STANDARD_SLOTS, CHAR_TABLE_ORDINARY_SLOTS): New macros.
	(CHAR_TABLE_EXTRA_SLOTS): New macro.

	* buffer.c (Fmake_indirect_buffer): Was taking marker positions
	from current buffer, which is irrelevant.
	(init_buffer_once): Make buffer-file-format always local.

Tue Oct  3 05:08:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* unexec.c (write_segment): Write valid data in units of 1<<13,
	but write zeros only a page at a time.

	* window.c (window_scroll): Always set force_start.

Mon Oct  2 11:52:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* eval.c (run_hook_with_args_2): New function.

	* unexec.c (write_segment): Use pagesize as unit of writing
	instead of 128.

	* lisp.h (CHECK_CHAR_TABLE): New macro.

	* frame.c (Qmouse_leave_buffer_hook): New variable.
 	(syms_of_frame_1): Initialize it.
	(Fhandle_switch_frame): Run the hooks.

	* keyboard.c (Vsuggest_key_bindings): New variable.
	(syms_of_keyboard): Set up Lisp variable.
	(Fexecute_extended_command): When enabled, show an equivalent
	key binding.

Sun Oct  1 00:11:20 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (x_connection_signal_1): New function.
	(x_connection_signal): Try all the server connections
	to see which one was lost.

Fri Sep 29 00:12:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xdisp.c (Qwindow_scroll_functions, Vwindow_scroll_functions):
	New variables.
	(syms_of_xdisp): Initialize them.
	(redisplay_window): Call the functions when appropriate.

	* xterm.c (XTcondemn_scroll_bars): No error if
	FRAME_CONDEMNED_SCROLL_BARS is non-nil already.
	Just move all the scroll bars into there.

	* dispnew.c (get_display_line): Don't abort if there's text
	in the line to the right beyond HPOS.
	(quit_error_check): Make this a no-op.

	* fileio.c (barf_or_query_if_file_exists): New arg STATPTR.
	Callers changed.
	(Fcopy_file): Error if input and output are the same file.

Thu Sep 28 19:02:17 1995  Carsten Bormann  <cabo@@informatik.uni-bremen.de>

	* m/ibmrs6000.h: Add early support for Solaris 2.5 on PowerPCs.
	[USG5_4] (CANNOT_DUMP): Define this if USG5_4.
	(UNEXEC): Don't define if already defined.
	[USG5_4] (DATA_SEG_BITS, LIBS_MACHINE): Alternate definitions.
	(C_SWITCH_MACHINE, LD_SWITCH_MACHINE, NLIST_STRUCT, WORDS_BIG_ENDIAN)
	(TEXT_START, DATA_START, TEXT_END, DATA_END):
	Don't define, if USG5_4.

Wed Sep 27 16:16:38 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* lisp.h (pvec_type): Add PVEC_CHARTABLE and PVEC_BOOLVECTOR.
	Move PVEC_BUFFER to a higher bit.
	(CHARTABLEP, GC_CHARTABLEP, XSETCHARTABLE, XCHARTABLE): New macros.
	(XBOOLVECTOR, XSETBOOLVECTOR, BOOLVECTORP, GC_BOOLVECTORP): New macros.
	(struct Lisp_Boolvector): New data type.

	* lread.c (read1): Handle chartables and boolvectors.
	* print.c (print): Handle chartables and boolvectors.
	(print_boolvector): New function.
	* data.c (Fchartablep, Fboolvectorp): New functions.
	(syms_of_data): defsubr them.
	(Faref, Faset, Fsequencep): Handle chartables and boolvectors.

	* fns.c (Fset_char_table_range): New function.
	(make_char_table, Fmap_char_table): New function.
	(Fchar_table_extra_slot, Fset_char_table_extra_slot): New functions.

	* fns.c (Fcopy_sequence, Felt, internal_equal, Ffillarray):
	Handle chartables and boolvectors.
	(Flength, concat): Handle boolvectors as args.
	(Flength): Handle chartables as args.

	* alloc.c (Fmake_chartable, Fmake_boolvector): New functions.
	(syms_of_alloc): defsubr them.

	* buffer.c (Fmake_overlay): Set end-marker's insertion_type to 1.

Fri Sep 22 14:34:22 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* xfns.c (Fx_create_frame): Set up buffer-predicate slot.

	* gmalloc.c (current_core_address): New function.
	(_malloc_internal): Use current_core_address.
	(morecore): Avoid using __morecore (0).

	* ralloc.c (r_alloc_sbrk): Round up amount being returned.

Wed Sep 20 03:27:58 1995  Paul Eggert  <eggert@@twinsun.com>

	* msdos.c (gettimeofday, init_gettimeofday, daylight, gmtoffset):
	Undo previous change to msdos.c.
	(init_environment): No need to call tzset and init_gettimeofday,
	since `main' now does that for us.
	(gettimeofday): Ignore tzp; it's obsolescent.
	(init_gettimeofday): Invoke tzset first.
	* s/msdos.h (LOCALTIME_CACHE, tzset): New macros.

Sun Sep 17 10:28:39 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* xfns.c (x_decode_color): Get error if color not defined.

	* xmenu.c (popup_get_selection): Pop menu down if button is pressed
	outside the menu.

	* minibuf.c (read_minibuf_unwind): Use safe_run_hooks.

	* keyboard.c (safe_run_hooks): No longer static.

	* keyboard.c (read_char_x_menu_prompt):
	When unreading events generated by a menu,
	turn symbols and integers into lists,
	for the sake of last_nonmenu_event and thus y-or-n-p.

Fri Sep 15 12:45:31 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* lread.c (Fload): Rename arg STR to FILE.

Thu Sep 14 03:11:15 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* ralloc.c (r_alloc_sbrk): Get the right heap data address
	in multi-heap case.

Tue Sep 12 13:33:31 1995  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* s/isc2-2.h (BROKEN_SELECT_NON_X): Define this instead of turning
	off HAVE_SELECT.
	* s/isc3-0.h (BROKEN_SELECT_NON_X): Moved to s/isc2-2.h.
	(HAVE_SELECT): Deleted; s/isc2-2.h no longer undefs this.

Tue Sep 12 01:39:15 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* insdel.c (signal_after_change): Call report_interval_modification.

	* textprop.c (call_mod_hooks): Moved from intevals.c
	(verify_interval_modification): Moved from intervals.c.
	(interval_insert_behind_hooks, interval_insert_in_front_hooks):
	New variables.
	(report_interval_modification): New function.
	* intervals.c (call_mod_hooks, verify_interval_modification):
	Functions moved to textprop.c.

Sun Sep 10 20:12:36 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xmenu.c (xmenu_show): Ignore `quote' when looking up the result.

Sun Sep 10 04:06:23 1995  Paul Eggert  <eggert@@twinsun.com>

	* editfns.c (Fencode_time): Use mktime to do the real work;
	this fixes bugs involving out-of-range dates and leap seconds,
	and allows date arithmetic via out-of-range values for arguments.
	Allow the ZONE parameter to be a TZ-style string.
	Doc string fix: `1900' -> `this century'.
	(set_time_zone_rule): New function.
	(Fset_time_zone_rule): Use it.
	(environ, make_time): Add extern declarations.
	(days_per_month): Remove.

Sat Sep  9 15:31:15 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (command_loop_1): Set this_command to nil
	before reading a command.

	* editfns.c (Fdecode_time): Doc fix.

Fri Sep  8 12:24:20 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* m/apollo.h (HAVE_UNISTD_H): Add #undef.

Thu Sep  7 06:12:50 1995  Paul Eggert  <eggert@@twinsun.com>

	* editfns.c (Fset_time_zone_rule): New function.
	(syms_of_editfns): defsubr it.
	* msdos.c (gettimeofday): Don't bother setting time zone,
	since nobody uses it, and our hacks to get it get in the way
	of the above fix.  Use simpler method for getting time stamp.
	(init_gettimeofday, daylight, gmtoffset): Remove.
	* msdos.h (init_gettimeofday): Remove declaration.

Wed Sep  6 04:25:50 1995  Paul Eggert  <eggert@@twinsun.com>

	* configure.in (LOCALTIME_CACHE): Define if tzset exists and
	if localtime caches TZ.  Check for tzset.

	* emacs.c (main): Call tzset only if LOCALTIME_CACHE is	defined;
	not all Suns have this bug.
	* m/pmax.h, s/386bsd.h, s/bsd386.h, s/freebsd.h, s/gnu.h,
	s/netbsd.h (LOCALTIME_CACHE): Remove; now configured automatically.

Wed Sep  6 03:41:34 1995  Erik Naggum  <erik@@naggum.no>

	* alloc.c (Fmake_marker): Initialize insertion_type to 0.

Sun Sep  3 13:28:58 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* insdel.c (adjust_markers_for_insert): New function.
	(insert_from_buffer_1, insert_from_string_1, insert_1): Call it.

Fri Sep  1 21:19:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fileio.c (Fmake_symbolic_link, Fadd_name_to_file):
	Look for handler for the new name as well as for the target.

	* dired.c (Ffile_name_all_completions, Ffile_name_completion):
	Look for handler for FILE as well as for DIRNAME.

Thu Aug 31 22:00:41 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* marker.c (Fcopy_marker): New arg TYPE.
	(Fmarker_insertion_type, Fset_marker_insertion_type): New functions.
	(syms_of_marker): defsubr them.

	* buffer.c (Fmake_indirect_buffer): Set the insertion_type of the
	zv_marker markers to 1.

	* window.c (save_window_save): Pass the new arg to Fcopy_marker.

	* editfns.c (save_excursion_save): Pass the new arg to Fcopy_marker.

Thu Aug 31 20:58:21 1995  Erik Naggum  <erik@@naggum.no>

	* keyboard.c (Fcommand_execute): Ignore `disabled' property on
	commands if `disable-command-hook' is nil.

Wed Aug 30 11:56:09 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (read_key_sequence): Validate the event position
	before calling get_local_map.

Tue Aug 29 14:56:45 1995 Jack Repenning <jackr@@sgi.com>

        * unexelfsgi.c: Compute new data offset based on memory
        address; also, copy .got from memory not temacs.

Tue Aug 29 17:50:16 1995  Kim Storm  <kfs@@olicom.dk>

	* dosfns.c (Fmsdos_mouse_enable, Fmsdos_mouse_disable)
	(Fmsdos_mouse_init): New functions.
	(syms_of_dosfns): defsubr them.
	(Fmode25, Fmode4350): Call mouse_off unconditionally.
	(Fset_mouse_position): Return nil.

	* msdos.h (sleep_or_kbd_init): Delete declaration.

	* frame.c [!MULTI_FRAME] (Factive_minibuffer_window): New function.
	[!MULTI_FRAME] (syms_of_frame): defsubr it.

	* sysdep.c (sys_subshell) [MSDOS]: Handle SUSPEND env var.
	Disable error report from subshell if system returns non-zero.
	Don't call vfork before calling system.
	Don't call wait_for_termination.
	(sys_select): Turn it off if MSDOS.
	(reset_sys_modes): Support EMACSCOLORS env var.

	* puresize.h (SITELOAD_PURESIZE_EXTRA): New macro.
	(BASE_PURESIZE): Use SITELOAD_PURESIZE_EXTRA.

	* msdos.c (putchar): Call internal_flush instead of _flsbuf.
	(DO_TERMSCRIPT): New macro to support open-termscript.
	(internal_flush): Corrected handling of flush in middle of
	escape sequences. Handle screen width > 127.
	(flush_escape): New function for use by internal_flush.
	(sys_select): New MS-DOS specific version with us timing.
	(EMACSCOLORS): New environment variable.
	(IT_clear_end_of_line): Set default face.
	(run_msdos_command): Restore mouse position after command.
	Close "backup fd"s.
	Corrected switch to cooked mode while running command.
	(mouse_on, mouse_off): Now checks have_mouse > 0.
	Note: "have_mouse < 0" means that a mouse is present, but
	it has been disabled via msdos-mouse-disable.
	(IT_write_glyphs): Allow esc-character itself to be printed.
	(event_timestamp): New function to make reliable times stamps.
	(sys_chdir): Skip drive letter before calling chdir.
	(sleep_or_kbd_hit): Handle 60 seconds time wrap.
	(mouse_get_pos): Return event_timestamp.


Tue Aug 29 00:34:55 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* msdos.c (struct IT_menu_state): Refer to it as struct, not typedef.

	* editfns.c (Fdecode_time): Doc fix.

	* minibuf.c (Fdisplay_completion_list): Clear all text properties
	for the whitespace between completion items.

	* xterm.c (x_wm_set_icon_pixmap): If trying to turn off icon
	pixmap, do nothing.

Mon Aug 28 16:38:40 1995  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* s/gnu.h (GETPGRP_NO_ARG, WAIT_USE_INT, UNEXEC): New macros.
	(HAVE_SOCKETS, A_TEXT_SEEK, NO_REMAP): Macros removed.

Sun Aug 27 19:52:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* doprnt.c (doprnt): Fix typo in error message.

Sat Aug 26 13:09:28 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* emacs.c (decode_env_path): Use ".", not nil, for current dir.

Tue Aug 22 17:00:39 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (modifier_names): Add 4 bits to modifier bit positions.

Mon Aug 21 20:27:37 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* xdisp.c (display_text_line): Write blanks under the entire
	scroll bar, not just the first column.

Mon Aug 21 15:20:39 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/irix5-2.h (SA_RESTART): Add #undef.

	* keyboard.c:
	(Qpost_command_idle_hook, Vpost_command_idle_hook): New vars.
	(syms_of_keyboard): Set up new vars.
	(command_loop_1): Run Qpost_command_idle_hook.

Sun Aug 20 11:45:10 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/aix3-1.h (SYSTEM_TYPE): Change to just "aix".

	* s/aix4.h: Include aix3-2-5.h, not aix3-2.h.
	* s/aix4-1.h (sigsetmask, _setjmp, _longjmp): Delete undefs.
	[__GNUC__] (_NO_PROTO): Add undef.

	* s/aix3-2-5.h (POSIX_SIGNALS, CLASH_DETECTION): Defined.
	(SIGNALS_VIA_CHARACTERS, MAIL_USE_LOCKF): Defined.
	(sigmask, sigsetmask, _setjmp, _longjmp): Add undefs.

Sat Aug 19 01:38:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* dispnew.c: Include syssignal.h.

	* lisp.h (struct Lisp_Marker): Make insertion_type an unsigned int.

Wed Aug 16 15:27:26 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* syntax.c (scan_sexps_forward): Fix previous change.

Tue Aug 15 14:46:52 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* emacs.c (sort_args): Initialize best_priority smaller than any
	actual priority.

Mon Aug 14 13:12:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fileio.c (Fwrite_region): New arg lockname.
	(auto_save_1): Pass new arg.

	* callproc.c (Fcall_process_region): Pass new arg to Fwrite_region.

	* emacs.c (standard_args): Fix previous change.

Mon Aug 14 12:01:33 1995  Erik Naggum  <erik@@naggum.no>

	* emacs.c (standard_args): Add option --eval to evalute an
 	expression on the command line and print the result.

Mon Aug 14 04:09:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* cmds.c (Fself_insert_command): Optimize the case with arg > 2
	to avoid running change hooks lots of times.

Sun Aug 13 00:56:51 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/isc4-1.h (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
	(START_FILES): Defined.
	(LIB_STANDARD): New definition, details depending on __GNUC__.

	* syntax.c (scan_sexps_forward): Use the initial depth
	in the starting state for tracking when we reach TARGETDEPTH.

Fri Aug 11 18:35:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* m/alpha.h: Test OSF1, not __osf1__.
	(ORDINARY_LINK): Define only if OSF1.
	(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, PTY_OPEN):
	Define only if OSF1.
	(TEXT_END, DATA_END): Fix the definitions.

Thu Aug 10 00:48:40 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/linux.h (ULIMIT_BREAK_VALUE, SEGMENT_MASK): Moved to intel386.h
	(LIBS_SYSTEM): Define this instead of LIBS_MACHINE.

	* m/intel386.h [linux] (ULIMIT_BREAK_VALUE, SEGMENT_MASK):
	Moved from linux.h.

	* m/alpha.h [linux] (COFF, NO_TERMIO): Defined.
	[linux] (TEXT_END, DATA_END): New definitions.

	* unexalpha.c (fatal_unexec): Use vfprintf, not _doprnt.

	* m/alpha.h (LIBS_DEBUG, START_FILES, LIBS_MACHINE):
	Define only if __osf1__.

	* macros.c (Fcancel_kbd_macro_events): New function.
	(syms_of_macros): defsubr it.

	* frame.c (store_frame_param): Don't call set_menu_bar_lines if X.

Mon Aug  7 18:51:11 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (read_key_sequence): Undo previous change.
	Instead, put back the orig_uppercase event if key is not defined.
	When downcasing, back up one step in key-translation processing.

	* doprnt.c (doprnt): Error if %-width is too big.

	* editfns.c (Fformat): Limit minlen to avoid stack overflow.

Mon Aug  7 13:48:47 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* insdel.c (signal_before_change, signal_after_change): Fix
	spelling of Vbefore_change_functions and Vafter_change_functions.

Mon Aug  7 13:51:48 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* doprnt.c (doprnt): Don't let size_bound be gigantic.
	Fix error message.

Sun Aug  6 01:02:06 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* buffer.c (get_truename_buffer): New function.
	* filelock.c (lock_file): Use get_truename_buffer.

	* emacs.c (main) [USG5]: Call setpgrp without testing INTERRUPT_INPUT.

	* xdisp.c (redisplay): Compute mini_frame the same way
 	echo_area_display does.

	* keyboard.c (kbd_buffer_store_event):
	Don't insert two buffer_switch_event's in a row.

	* xfns.c (x_set_menu_bar_lines) [USE_X_TOOLKIT]: When turning
	menu bar on, make sure next redisplay creates it.

	* eval.c (run_hook_with_args): Move the GCPRO2; add UNGCPRO.

	* process.c (read_process_output, exec_sentinel): Call
 	record_asynch_buffer_change after any eval.  Don't call
 	prepare_menu_bars.
	(wait_reading_process_input): Don't call prepare_menu_bars.

Sat Aug  5 01:04:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* search.c (Freplace_match): New arg SUBEXP.

	* eval.c (run_hook_with_args): Add gcpros.
	* print.c (print_string): Use insert_from_string for output to buffer.
	* minibuf.c (Fdisplay_completion_list): gcpro elt.

	* insdel.c (signal_before_change, signal_after_change): Major rewrite.
	(before_change_function_restore, after_change_function_restore)
	(before_change_functions_restore, after_change_functions_restore):
	Functions deleted.
	* eval.c (run_hook_list_with_args): New function.
	* buffer.c (Qbefore_change_functions, Qafter_change_functions):
	New variables.
	(syms_of_buffer): Initialize them.
	* buffer.h (Qbefore_change_functions, Qafter_change_functions):
	Declared.

	* frame.c (Fset_mouse_position, Fset_mouse_pixel_position): Doc fixes.
	[not MULTI_FRAME] (Fframe_visible_p): New function.
	[not MULTI_FRAME] (syms_of_frame): defsubr it.

	* xfns.c (Ffocus_frame, Funfocus_frame): Make them no-ops.

Fri Aug  4 15:38:18 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (x_delete_display) [AIX]: Don't call XRmDestroyDatabase.

	* msdos.c (IT_write_glyphs): Call ScreenSetCursor.

	* lread.c (saved_doc_string*): New variables.
	(load_force_doc_strings): New variable.
	(syms_of_lread): Set up Lisp var load-force-doc-strings.
	(read_list): Handle load_force_doc_strings.
	Use the saved_doc_string, if it's right; otherwise, reread from file.
	(read1): Save last doc string in saved_doc_string.

Thu Aug  3 04:28:29 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* frame.c (set_menu_bar_lines, set_menu_bar_lines_1): New functions.
	(store_frame_parameter): Call set_menu_bar_lines.
	[!MULTI_FRAME] (Fmodify_frame_parameters): Call set_menu_bar_lines.

	* frame.c: Move various Q... vars to top of file, unconditional.
	(Vterminal_frame): Just one definition, at top of file, unconditional.
	(syms_of_frame_1): New function.
	(syms_of_frame. both definitions): Call syms_of_frame_1.

Wed Aug  2 00:14:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (read_key_sequence): Don't downshift an event
	if that fails to make it bound.
	(follow_key): Don't alter contents of NEXT until the end.

	* xmenu.c [USE_X_TOOLKIT] (xmenu_show): Compute root-based
 	coordinates.  Make a dummy event to pass them to lw_popup_menu.

	* lread.c (Funintern): Fix deleting the last symbol in a chain.

Tue Aug  1 03:19:17 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xdisp.c (redisplay): When displaying a terminal frame,
	if it isn't the same one as last time, clear it and redraw.
	Don't redisplay mini_frame as well, if it is a termcap frame.

	* frame.c (do_switch_frame): Do nothing special when switching
	between terminal frames.

Mon Jul 31 14:17:30 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* s/usg5-4.h, s/sol2-5.h (GETTIMEOFDAY_ONE_ARGUMENT): Deleted;
	configure handles this now.

Mon Jul 31 06:04:12 1995  Simon Marshall  <simon@@duality.gnu.ai.mit.edu>

	* eval.c (run_hook_with_args): Renamed from Frun_hook_with_args.
	Take extra arg CONDITION, and return appropriately based on hook
	function value if CONDITION is until_success or until_failure.
	(Frun_hooks, Frun_hook_with_args,
	Frun_hook_with_args_until_success,
	Frun_hook_with_args_until_failure): New functions, use it.
	(syms_of_eval): defsubr them.

	* lisp.h (Frun_hook_with_args,
	Frun_hook_with_args_until_success,
	Frun_hook_with_args_until_failure): Declare them.

Mon Jul 31 01:34:30 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (XTread_socket): For UnmapNotify, use x_top_window_to_frame.

	* keyboard.c (kbd_buffer_get_event, swallow_events): Fix prev change.

Sun Jul 30 02:23:55 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xmenu.c (single_submenu):
	Only ignore 1st char of pane name if that is an @@.

	* frame.c (Fmake_terminal_frame): Copy face_alist from selected frame.

	* s/linux.h (HAVE_XRMSETDATABASE): Define if not defined.

Fri Jul 28 20:07:35 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/isc3-0.h (HAVE_SELECT): Defined.

	* s/isc4-1.h (HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
	(HAVE_TERMIOS): Defined.
	(HAVE_TERMIO): Add undef.

	* s/isc4-0.h (sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.

	* process.c: Maybe include net/errno.h.

	* alloc.c (cons_cells_consed, floats_consed, vector_cells_consed)
	(symbols_consed, string_chars_consed, misc_objects_consed)
	(intervals_consed): New vars.
	(make_float, Fcons, make_interval, allocate_vectorlike, Fmake_symbol)
	(allocate_misc, make_uninit_string): Increment them.
	(Fmemory_use_counts): New function.
	(syms_of_alloc): defsubr it.

Fri Jul 28 14:49:20 1995  Gvran Uddeborg  <uddeborg@@carmen.se>

	* s/isc4-1.h: ISC 4.1 has termios.

Thu Jul 27 22:54:05 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* config.in (GETTIMEOFDAY_ONE_ARGUMENT): Add #undef.

Thu Jul 27 17:22:19 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* eval.c (syms_of_eval): Add missing defsubr.

	* buffer.c: (struct sortstrlist): New type.
	(overlay_heads, overlay_tails): Change to struct sortstrlist.
	(overlay_heads_len, overlay_tails_len): Deleted; now part of struct.
	(record_overlay_string): New function.
	(overlay_strings): Simplify.  Use record_overlay_string.
	Check for window match in overlays_after loop, not just in
	overlays_before.
	Handle zero-sized overlays better.

Thu Jul 27 03:17:48 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keymap.c (describe_buffer_bindings): Print bindings from
	Vfunction_key_map and from Vkey_translation_map.
	(describe_translation): New function.
	(describe_command): Handle vector like string.
	(describe_map_tree): New arg TRANSL.  Callers changed.

	* keymap.c (Vkey_translation_map): Defined.
	(syms_of_keymap): Set up Lisp var.
	* keyboard.c (Vkey_translation_map): Just declare, don't define.
	(syms_of_keyboard): Don't set up Lisp var.

Wed Jul 26 04:21:28 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* Makefile.in (prefix-args): Pass ALL_LDFLAGS.

	* xdisp.c (syms_of_xdisp): Doc fix.

	* keyboard.c (kbd_buffer_get_event): Update input_pending after
	discarding one event from the queue, if we process the event here.
	(swallow_events): Likewise.

Tue Jul 25 16:18:18 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* m/iris4d.h (LIBS_MACHINE): Delete -lsun.
	* s/irix3-3.h (LIBS_SYSTEM): Defined.

	* frame.h (struct frame): Rename `display' member to `output_data'.
	Use new data type name for output_data.x.
	* xterm.h (struct x_output): Renamed from struct x_display.
	* xterm.c, xfns.c, xmenu.c, dispnew.c, frame.c, xfaces.c: Do renamings:
	frame->display => frame->output, struct x_display -> struct x_output.

Tue Jul 25 15:25:56 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* lisp.h (Frun_hook_with_args): Declare this function.
	* eval.c (Frun_hook_with_args): New C function, formerly in subr.el.
	* insdel.c (signal_before_change): Use Frun_hook_with_args.
	(signal_after_change): Likewise.

Mon Jul 24 22:28:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (next_noop_dpyinfo): New variable.
	(XTread_socket): Use that to cycle through all displays for XNoOp.

Mon Jul 24 22:06:44 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* undo.c (Fprimitive_undo): Don't end inner loop
	just because a previous-modtime doesn't match any more.

Mon Jul 24 21:41:23 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* process.c (Fstart_process):
	Don't expand the file name before trying openp.

Sun Jul 23 03:09:39 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.h (struct x_display): New fields saved_button_event, id.
	* termhooks.h (enum event_kind): Added menu_bar_activate_event.
	* xterm.c (XTread_socket) [USE_X_TOOLKIT]: For ButtonPress in menu bar,
	save the event--don't pass to Xt yet.  Make a menu_bar_activate_event.
	(temp_index, temp_buffer): Now static.
	* keyboard.c (kbd_buffer_get_event) [USE_X_TOOLKIT]:
	Handle menu_bar_activate_event by calling x_activate_menubar.
	* xmenu.c: Include buffer.h.
	(x_activate_menubar): New function.
	(set_frame_menubar): New arg deep_p.  Callers changed.
	Run various hooks here when deep_p is true.
	(frame_vector): Variable deleted.
	(syms_of_xmenu): Don't staticpro it.
	(frame_vector_add_frame): Function deleted.
	(menubar_id_to_frame): New function.
	(menubar_selection_callback): Use menubar_id_to_frame.
	(next_menubar_widget_id): New variable.
	(set_frame_menubar): Use next_menubar_widget_id.
	(free_frame_menubar): Get id from f->display.x->id.

	* xdisp.c (update_menu_bar): Pass new arg to set_frame_menubar.
	* xfns.c (x_menubar_window_to_frame): New function.

	* window.c (Fprevious_window, Fnext_window): When minibuf = nil,
	accept only the minibuffer window that is currently active.

Fri Jul 21 01:11:06 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* lread.c (read_list): When a file loaded from site-init.el uses #$,
	turn it into a relative file name starting with ../lisp.

	* dispnew.c (update_frame): Check that the echo area is in the
	frame being displayed.

	* keyboard.c (command_loop_1): Clear echo area after 2 sec
	only if the minibuffer is in the same place as the echo area.

	* window.h (echo_area_window): Declared.

	* xdisp.c (echo_area_display): Use selected frame's minibuf window
	but don't set the minibuf_window (don't call choose_minibuffer_frame).
	(message2_nolog, message): Likewise.
	(echo_area_window): New variable.
	(echo_area_display): Set echo_area_window.
	(redisplay_window): Distinguish minibuf_window and echo_area_window.

	* fileio.c (do_auto_save_unwind): Set auto_saving to 0.
	(Fdo_auto_save): Don't clear auto_saving here.  Set it to 1
	only when we make the unwind-protect.

	* xdisp.c (redisplay): Skip shortcuts if buffer's clip_changed is set.
	(redisplay_window): If buffer's clip_changed is set, update mode line.

	* frame.c (do_switch_frame): Don't call choose_minibuffer_frame.
	(choose_minibuf_frame): Choose frame regardless of minibuffer level.
	* minibuf.c (read_minibuf): Call choose_minibuffer_frame.
	First save the previous minibuf_window.
	(read_minibuf_unwind): Restore old minibuf_window.

Thu Jul 20 17:07:19 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/aix4.h (AIX4): New definition.
	* m/ibmrs6000.h (LD_SWITCH_MACHINE) [AIX4]: New alternate definition.

	* xmenu.c (set_frame_menubar): If the Lisp-level menu bar menus
	are unchanged, don't recompute the widgets.

	* xmenu.c (syms_of_xmenu): Set up Qdebug_on_next_call.
	(set_frame_menubar): Bind it to nil.

	* fileio.c (Ffile_modes) [DOS_NT]: Use check_executable.
	(check_executable): DOS_NT code moved here from Ffile_modes.
	(check_writable): New code for MSDOS.

	* editfns.c (Fformat): Doc fix.

Thu Jul 20 16:23:21 1995  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* fns.c (Fsafe_length): Return a conservative upper bound.

Thu Jul 20 13:43:28 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* editfns.c (Fsubst_char_in_region):
	Bind buffer-file-name to nil if NOUNDO is true.

	* insdel.c (prepare_to_modify_buffer): Don't lock the file
	if current_buffer->filename is nil.

	* msdos.c (init_environment): Move alloca call out of function arg.

	* puresize.h [!MULTI_FRAME] (BASE_PURESIZE): Increased to 325000.

Wed Jul 19 11:51:23 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* textprop.c (Fget_char_property): If OBJECT is non-current buffer,
	use it properly for overlays_at.

Tue Jul 18 00:35:09 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* alloc.c (init_alloc_once): Set gc_cons_threshold from Lisp obj size.

	* editfns.c (Fmessage): Doc fix.
	(Fformat): Increment total for size of control string.

	* window.c (Fwindow_start): Doc fix.

	* xfaces.c (unload_color): Don't free colors if immutable colormap.

	* eval.c (Ffuncall, Fapply): Doc fix.

	* callint.c (Fcall_interactively): Doc fix.

	* fileio.c (Fexpand_file_name): Initial ~ means name is absolute.

	* config.in: Renamed from config.h.in.
	* paths.in: Renamed from paths.h.in.
	* Makefile.in: Renamed from Makefile.in.in.
	(paths.h): Depend on paths.in.
	(config.h): Depend on config.in.
	(distclean): Delete Makefile.c, not Makefile.in.
	(SOURCES): Corresponding changes.

	* callproc.c (init_callproc): Set Vdoc_directory based on
	Vinstallation_directory when that's non-nil, regardless of whether
	we had to set Vexec_directory.

	* unexsunos4.c (unexec): If not SUNOS4_SHARED_LIBRARIES
	or if apparently not dynamically linked, just clear rel and erel.

	* s/sunos4shr.h (SUNOS4_SHARED_LIBRARIES): Defined.

Tue Jul 18 00:35:09 1995  Mikael Djurfeldt  <mdj@@kidjo.nada.kth.se>

	* xdisp.c (decode_mode_spec): New arg spec_width.
  	Use pint2str for %l and %c.  New code to output ??.
 	(display_mode_element): New var minendcol.
	Pass new arg to decode_mode_spec.
	(pint2str): New function.

Mon Jul 17 20:29:54 1995  Karl Heuer  <kwzh@@kropotkin.gnu.ai.mit.edu>

	* bytecode.c (Fbyte_code): Fix variable names in previous change.

Mon Jul 17 20:12:34 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c [USE_MOTIF]: Don't include X11/Xaw/Paned.h, X11/Xaw/Label.h.

Sun Jul 16 12:51:08 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* keyboard.c (kbd_buffer_get_event): Discard a selection_clear_event
	before processing it.

	* bytecode.c (Fbyte_code): For Beqlsign, if both args are ints,
	compare as ints.

	* xterm.c [HAVE_X11XTR6]: Include locale.h
	(x_term_init) [HAVE_X11XTR6]: Set LC_NUMERIC and LC_TIME back to C.

	* data.c (Fnumber_to_string): Make `buffer' long enough.

Sat Jul 15 10:41:35 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* xselect.c (x_clear_frame_selections): Delete duplicate code.

	* alloc.c (Flist): Rewritten.

Thu Jul 13 07:17:08 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* dispnew.c (Fsit_for): Don't call prepare_menu_bars here.

	* emacs.c (main): Add to usage message.

	* s/netbsd.h (AMPERSAND_FULL_NAME): Defined.

Wed Jul 12 23:13:15 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* s/sco4.h (SCO_R4): Defined.

Mon Jul 10 02:14:37 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* floatfns.c (Fexpt): Use EMACS_INT for integer calculation.
	(Ffloor): Likewise.

Sun Jul  9 03:10:06 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* buffer.c (last_overlay_modification_hooks): New variable.
	(last_overlay_modification_hooks_used): Likewise.
	(syms_of_buffer): Init last_overlay_modification_hooks.
	(add_overlay_mod_hooklist): New function.
	(call_overlay_mod_hooks): Call add_overlay_mod_hooklist.
	(report_overlay_modification): When AFTER is non-nil,
	call the functions recorded in last_overlay_modification_hooks.

	* s/aix4-1.h (_setjmp, _longjmp): Add #undef's.

	* alloc.c (allocating_for_lisp): New variable.
	(init_intervals, make_interval, init_symbol, Fmake_symbol)
	(init_float, make_float, init_cons, Fcons)
	(allocate_vectorlike, init_marker, allocate_misc)
	(init_strings, make_uninit_string): Set allocate_misc temporarily.

	* Makefile.in.in (TAGS): Use etags from build dir, but make TAGS
	file in source dir.
	(${lispsource}TAGS): Renamed from ../lisp/TAGS.  Deps changed too.
	(tags): Corresponding changes.
	(lisptagsfiles): Delete the term/*.el files.

	* fileio.c (Fwrite_region): If fsync fails with EINTR, don't
	report a Lisp error.

Sat Jul  8 11:59:50 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* process.c (keyboard_bit_set): Fix one-off in loop end.

Fri Jul  7 01:00:29 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* keymap.c (current_minor_maps): Catch errors in Findirect_function.
	(current_minor_maps_error): New function.

Thu Jul  6 06:40:37 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* frame.h (struct frame): New field `mouse_moved'.
	* keyboard.c (mouse_moved): Variable deleted.
	(kbd_buffer_get_event, readable_events):
	Check mouse_moved in all frames.
	Check do_mouse_tracking for non-nil ness.
	(Ftrack_mouse): Set do_mouse_tracking to t.
	* xterm.c (note_mouse_movement): Set mouse_moved in the x_display_info.
	(XTmouse_position, x_scroll_bar_note_movement): Likewise.
	(x_scroll_bar_report_motion): Likewise.

	* xterm.c (x_draw_box, x_display_box_cursor, x_display_bar_cursor):
	New args x, y.  Don't use curs_x or curs_y here.  Callers changed.

	* ntinevt.c (win32_mouse_position, mouse_moved_to):
	Access mouse_moved in selected_frame.
	* msdos.c (mouse_get_pos, mouse_check_moved, XMenuActivate):
	Access mouse_moved in selected_frame.

	* lread.c (Fread): Rename arg READCHARFUN to STREAM.

	* xfns.c (Fx_list_fonts): Don't free thisinfo if it is 0.

	* sysdep.c (sys_close): Handle Sunos 4.1 bug in close errno value.

Wed Jul  5 07:17:02 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* Makefile.in.in (lispsource): Renamed from lispdir.

	* sysdep.c (init_system_name): Add cast in init for fqdn.

Mon Jul  3 09:51:41 1995  Michael Shields  <shields@@tembel.org>

	* m/intel386.h [linux]: Include values.h and #undef
	certain macros, to avoid conflict later.

Thu Jul  6 14:29:14 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* s/irix6-0.h [!__GNUC__] (LD_SWITCH_SYSTEM): Define this.

	* s/usg5-4-2.h (LIB_MOTIF, VFORK_RETURN_TYPE): Define these.

	* xterm.c (x_initialize) [USE_X_TOOLKIT]: Set fallback resources.

	* window.c (Fset_window_hscroll): Set clip_changed in the buffer.
	(temp_output_buffer_show): Likewise.

	* lisp.h (get_keymap_1): Declared.

	* editfns.c (Fwiden): Set clip_changed in current buffer.
	(Fnarrow_to_region, save_restriction_restore): Likewise.

	* buffer.c (overlays_in): Don't count empty overlays at END.
	(Foverlays_in): Likewise.

Sun Jul  2 02:02:44 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (read_char): Temporarily clear Vquit_flag
	while checking Vspecial_event_map.

	* xdisp.c (redisplay_window): Fix typos in clip_changed change.

	* buffer.h (struct buffer): New field clip_changed.

	* xdisp.c (clip_changed): Variable deleted.
	(prepare_menu_bars): Don't look at clip_changed.
	(redisplay): Don't set clip_changed.  Do set b's clip_changed.
	(redisplay_window): Check clip_changed in current_buffer.
	(mark_window_display_accurate): Clear clip_changed
	in the window's buffer.

Sat Jul  1 01:01:17 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (Vspecial_event_map): New variable.
	(syms_of_keyboard): Define Lisp var; init the map.
	(read_char): Look up each event in Vspecial_event_map; if bound,
	execute the binding here and read another event.
	(keys_of_keyboard): Make bindings for iconify-frame,
	make-frame-visible and delete-frame.

	* fns.c (Fsafe_length): New function.
	(syms_of_fns): defsubr it.
	* lisp.h (Fsafe_length): Declared.
	* xfaces.c (compute_char_face): Use Fsafe_length.

	* s/aix4-1.h (sigsetmask): Add #undef.

	* s/riscos5.h: New file.

	* xfns.c (x_set_icon_type, x_set_icon_name): Don't ever remap the
 	frame window; changing the icon doesn't make it disappear.

	* process.c (Fstart_process): Expand PROGRAM.
  	Error if it is a directory.

	* s/sunos4shr.h (LIBXMU): New definitions (two alternative ones).

	* s/sunos4-1-3.h: Don't use sunos4shr.h; go back to 19.28 definition.

Fri Jun 30 16:58:15 1995  Geoff Voelker  (voelker@@cs.washington.edu)

	* nt.c (PASSWD_FIELD_SIZE): Defined.
	(the_passwd_name, the_passwd_passwd, the_passwd_gecos,
	the_passwd_dir, the_passwd_shell, getpwuid): Use PASSWD_FIELD_SIZE.
	(get_emacs_configuration): Check if processor macros are defined.

	* ntheap.c: Include config.h.
	(syspage_mask, real_data_region_end): Defined.
	(allocate_heap) [WINDOWS95]: Reverse conditional, end search
	at 0xD00000.
	(sbrk): Commit and uncommit memory in machine dependent
	page size chunks.

	* s/windows95.h (CANNOT_DUMP): Undefined.
	* makefile.nt (EMACS) [win95]: Removed.

	* makefile.nt (TLASTLIB): Defined.
	(TEMACS): Use TLASTLIB.
	* unexnt.c (get_section_info): Set the end of the data region
	to be just before the start of the shared library data.
	(read_in_bss): Read directly into memory.
	(map_in_heap): Read directly into memory if unable to map.

Fri Jun 30 03:58:33 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/hpux9.h (LIBX11_SYSTEM): Add undef.

	* m/intel386.h [SOLARIS] (LIBS_MACHINE): Move this out of the
	SOLARIS2_4 conditional.

	* xdisp.c (redisplay_window): Update individual window's mode line
	if %c calls for an update.
	(redisplay): Set update_mode_line for selected window only,
	if it needs this because of %c.

Thu Jun 29 11:54:39 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/aix3-2-5.h (C_OPTIMIZE_SWITCH, C_DEBUG_SWITCH): Use these
	names instead of C_SWITCH_OPTIMIZE, C_SWITCH_DEBUG.

	* s/aix4.h: Include aix3-2.h, not aix3-2-5.h.

	* callproc.c (child_setup): Don't get confused if in == err.

	* xterm.c (XTread_socket): Turn off meta, super, hyper and alt bits
	in the arg for XLookupKey.

Wed Jun 28 18:50:19 1995  Morten Welinder  <terra+@@cs.cmu.edu>

	* unexmips.c [MACH]: Include a.out.h.
	[MACH] (STYP_INIT, _RDATA, STYP_RDATA, _SDATA, STYP_SDATA): Defined.
	[MACH] (_SBSS, STYP_SBSS, HDRR, pHDRR): New definitions.
	(unexec): Add MACH conditionals.

	* m/pmax.h [MACH]: Use built-in alloca, set START_FILES.

	* s/mach-bsd4-3.h: New file.

Wed Jun 28 02:07:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* term.c (term_init): Alternative error messages for TERMCAP/TERMINFO.

	* m/alpha.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN)
	(PTY_TTY_NAME_SPRINTF): New definitions.

	* dispnew.c (update_frame): Pretend cursor is in echo area
	rather than put it in a minuffer hidden by the echo area.

Tue Jun 27 04:28:21 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/hpux9.h (LIBXMU): New definition.

	* s/hpux9-x11r4.h, s/hpux9shxr4.h: New files.

	* xmenu.c (single_submenu): Handle commands appearing directly
	in the menu bar.

Mon Jun 26 02:40:10 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (x_display_bar_cursor, x_display_box_cursor):
	Don't alter curs_x or curs_y here.
	(x_display_cursor): Copy them from the frame cursor here.
	(x_update_cursor): New function.
	(frame_highlight, frame_unhighlight): Use x_update_cursor.

	* xdisp.c (echo_area_display): Don't set FRAME_CURSOR_... here.
	(redisplay): In the "point hasn't moved" shortcut,
	make sure that the cursor is in the right window already.

	* msdos.c (IT_cursor_to, IT_clear_end_of_line, IT_write_glyphs):
	(IT_set_face): Call internal_flush if short of room.

Sun Jun 25 16:38:41 1995  Morten Welinder  <terra+@@cs.cmu.edu>

	* emacs.c (init_cmdargs): Make Vinvocation_directory
	absolute if it isn't already.

Sun Jun 25 01:15:31 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* frame.c (Fdelete_frame): It's ok to have no minibuffer left on
	a kboard if there are no frames on it either.

	* buffer.c (overlays_in): New function.
	(Foverlays_in): New function.
	(syms_of_buffer): defsubr it.

	* xfns.c (Fx_open_connection, x_display_info_for_name):
	Error if window-system is not x.

	* process.c (Fopen_network_stream): Sleep 1 sec before connect retry.

	* frame.c (next_frame, prev_frame): Consider only frames on same kbd.
	(Fdelete_frame): If next_frame finds nothing, try an alternative.

	* buffer.c (overlay_strings): Fix calls to xrealloc.

Sat Jun 24 00:06:46 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/aix4-1.h (LIB_MOTIF): Defined.

	* emacs.c (main): Fix --help message.

	* window.c (Fsplit_window): Nicer error if split size is too small.

	* Makefile.in.in (LIBXMU): New macro.
	(LIBXT): Use LIBXMU.

Fri Jun 23 19:29:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fileio.c (directory_file_name): Don't get confused by // at end
	on Unix-like systems.

Thu Jun 22 10:47:43 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xmenu.c (menu_item_enabled_p_1): Special handling for quit.
	(set_frame_menubar): Inhibit quitting.

Wed Jun 21 19:06:36 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* buffer.c (syms_of_buffer): Doc fix.

	* Makefile.in.in (SOME_MACHINE_OBJECTS): Add dosfns.o,
	intervals.o, textprop.o.

Wed Jun 21 14:08:45 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* Version 19.29 released.

	* xfns.c (Fx_display_grayscale_p): Return t or nil.
	Return t for color displays.

	* s/msdos.h (SYSTEM_PURESIZE_EXTRA): Increased to 68000.

	* xdisp.c (decode_mode_spec) [!MULTI_FRAME]: Handle %F properly.

Tue Jun 20 10:58:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (read_key_sequence): Don't use Vprefix_help_command
	for the first character in a key seq.

	* ntinevt.c (map_virt_key): Mark some additional chars as valid ASCII.

	* ntterm.c (ctrl_c_handler): Ignore CTRL_BREAK_EVENT signals.

Mon Jun 19 12:13:38 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* sysdep.c (rmdir): Fix up Aug 19 1993 change that wasn't done right.

	* ntproc.c (win32_wait): Massage retval into what is expected in Unix.

	* process.c (sigchld_handler): Change XSETFASTINT to XSETINT.

	* keyboard.c (Freset_this_command_lengths): New function.
	(before_command_key_count, before_command_echo_length)
	(before_command_restore_flag): New variables.
	(add_command_key): If requested, reset the lengths.
	(command_loop_1): Record current lengths before reading cmd.
	(read_char): Update the recorded length before echoing.

	* xfns.c (Fx_create_frame): Fix last arg to x_get_arg for Qdisplay.

	* s/linux.h (LIB_GCC): Fix previous change.
	If we redefine it later, #undef it first.

Sun Jun 18 14:24:37 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (quit_throw_to_read_char): Turn off the error check
	testing poll_suppress_count.

	* s/linux.h (LIB_GCC): Define here, overriding Makefile.in.in,
	so as to use C_SWITCH_X_MACHINE.

Sat Jun 17 10:05:04 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* m/alpha.h (SYSTEM_MALLOC): Definition deleted.

	* keymap.c (Vdefine_key_rebound_commands): New variable.
	(syms_of_keymap): Set up Lisp var.
	(Fdefine_key): Put new definition onto Vdefine_key_rebound_commands.

	* xmenu.c (menu_item_equiv_key): Do reconsider a command that had
 	no equivalent before, if it is in Vdefine_key_rebound_commands.

	* data.c (Flocal_variable_if_set_p): New function.
	(syms_of_data): Call defsubr.

	* xdisp.c (display_text_line): Fill in charstart for end of buffer.

Fri Jun 16 18:26:08 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* puresize.h [MULTI_FRAME] (BASE_PURESIZE): Increase to 315000.

	* frame.c (Fdelete_frame): Use do_switch_frame directly.
	(do_switch_frame): No longer static.
	* window.c (Fset_window_configuration): Use do_switch_frame directly.
	* keyboard.c (quit_throw_to_read_char): Use do_switch_frame directly.
	* lisp.h (do_switch_frame): Declared.

Fri Jun 16 18:17:59 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* frame.c [MULTI_FRAME] (Fignore_event): New function.
	[MULTI_FRAME] (keys_of_frame): Bind iconify-frame and
	make-frame-visible to it.

Fri Jun 16 00:30:17 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* .gdbinit: Use long, not EMACS_INT.
	Do `set main' to make gdb_valbits etc. available.

	* frame.h (struct frame): New field icon_name.
	* xterm.h (struct x_display): icon_name deleted.
	* xfns.c (x_report_frame_params, x_set_icon_type, x_set_icon_name)
	(x_set_name, x_icon, Fx_create_frame): Use moved icon_name field.
	* alloc.c (mark_object): Mark icon_name field.

Thu Jun 15 16:48:21 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* keyboard.h (struct kboard): Add Voverriding_terminal_local_map.
	* keyboard.c (init_kboard): Initialize it.
	(syms_of_keyboard): Defvar it.
	(read_key_sequence, menu_bar_items):
	Check Voverriding_terminal_local_map before Voverriding_local_map.
	* doc.c (Fsubstitute_command_keys): Likewise.
	* keymap.c (Fkey_binding, describe_buffer_bindings): Likewise.

	* xdisp.c (Qoverriding_terminal_local_map): New variable.
	(syms_of_xdisp): staticpro it.
	(update_menu_bar): If we bind overriding-local-map, also bind
	overriding-terminal-local-map.

	* frame.c (Fhandle_switch_frame): Preserve prefix arg.
	* keyboard.c (command_loop_1): In special handling for commands
	that create a prefix arg, don't handle commands that merely
	preserve one that was previously created.

	* .gdbinit ($valmask): Use EMACS_INT, not int.

	* lisp.h (enum pvec_type): Don't use trailing comma.

Thu Jun 15 09:58:49 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* m/alpha.h (malloc, realloc): If not _MALLOC_INTERNAL,
	always use void *.

Thu Jun 15 22:12:04 1995  Geoff Voelker  <voelker@@cs.washington.edu>

	* callproc.c (call-process-region) [DOS_NT]: Use IS_DIRECTORY_SEP.
	(call-process-region) [WINDOWSNT]: Use proper temp file template.

	* ntproc.c (win32_spawnve): Accept program names without executable
	suffixes.

	* makefile.nt (TRES) [MSVCNT11]: Use emacs.res, and don't compile it.

Thu Jun 15 01:30:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* m/alpha.h (LD_SWITCH_MACHINE): Don't define it.
	(malloc, realloc): If non-ANSI C, declare value as char *.

Wed Jun 14 19:10:35 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* sysdep.c (emacs_set_tty): Swap TCSETAF and TCSETAW.
	Rename arg waitp to flushp.

Wed Jun 14 18:07:40 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* callint.c (Fprefix_numeric_value): Fix type check.

	* keyboard.c (command_loop_1): Clear prefix arg (undo Feb 1 change).

Wed Jun 14 15:52:55 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* data.c (Flocal_variable_p): Fix backwards logical operator.

Wed Jun 14 14:47:53 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* m/intel386.h: If NOT_C_CODE, don't include alloca.h.
	[!__GNUC__] (C_SWITCH_MACHINE): Disable this; it seems to confuse cpp.

Wed Jun 14 08:21:18 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* frame.c (Fdelete_frame): If the minibuf window was selected,
	make that remain so.

	* process.c (status_notify): Undo May 18 change.
	Set update_tick at the beginning not at end.

	* buffer.c (Fprevious_overlay_change): Check for overlays that
	end at POS.

Tue Jun 13 20:40:48 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (syms_of_xfns): Initialize Vx_no_window_manager.  Doc fix.

Tue Jun 13 17:43:12 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* m/ibmrs6000.h (LIBS_MACHINE): Use -lpthreads, not -lpthread.
	* config.h.in (HAVE_LIBPTHREADS): Add #undef.

Mon Jun 12 13:21:15 1995  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* mem-limits.h [_LIBC] (start_of_data): Define to &__data_start
 	for GNU libc.

Sun Jun 11 16:46:37 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* xmenu.c (frame_vector_add_frame): Don't forget to store
	the longer vector.

	* xterm.h (struct x_display): New field asked_for_visible.
	* xterm.c (x_make_frame_visible): Test and set asked_for_visible.

	* widget.c (EmacsFrameSetCharSize): Manually alter the height
	and width of the outer widget (and the width of the column widget)
	carefully using deltas.
	Set update_hints_inhibit nonzero while updating.
	Then call update_wm_hints explicitly.
	(update_wm_hints): Use 0 for min_rows, min_cols.
	Do nothing if update_hints_inhibit is nonzero.

	* xterm.c: Include widget.h.
	(x_wm_set_size_hint) [USE_X_TOOLKIT]:
	Get the size from the outer widget.
	Copy the base and minimum sizes from the old hint.

	* xfns.c [USE_X_TOOLKIT] (x_window): If using Motif,
	add some extra to sizes, for consistent behavior.

Sat Jun 10 00:57:13 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* dispnew.c (Fframe_or_buffer_changed_p): Calculate vector size right.
	Add hysteresis when making it larger.  Fill it up reliably
	and check at the end for overflowing it.
	(syms_of_display): Make frame_and_buffer_state initially with 20 elts.

	* keyboard.c (read_char_minibuf_menu_prompt):
	If the char to type doesn't match the prompt string,
	show the char explicitly.

Sat Jun 10 17:44:38 1995  Geoff Voelker  <voelker@@cs.washington.edu>

	* ntterm.c,ntproc.c,nt.c: Include config.h before stdio.h.

Fri Jun  9 22:11:59 1995  Geoff Voelker  <voelker@@cs.washington.edu>

	* makefile.nt (TEMACS): Depend upon $(BLD).
	(temacs): Remove $(BLD) dependency.

Fri Jun  9 17:05:27 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* xterm.c (x_get_keysym_name): New function.
	* keyboard.c (modify_event_symbol): Mask out high bits here,
	and only for certain purposes.  table_size now unsigned.
	(modify_event_symbol) [HAVE_X_WINDOWS]:	Use x_get_keysym_name.
	(make_lispy_event): Don't mask high bits here.
	Supply -1 as table_size for system-specific keys.

	* xdisp.c (update_menu_bar): Use set_buffer_internal_1 to switch bufs.
	Run the hooks in the proper buffer.
	Normally bind overriding-local-map to nil.
	(Qoverriding_local_map): New variable.
	(syms_of_xdisp): staticpro it.

Fri Jun  9 11:44:06 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* keyboard.h (struct kboard): New member system_key_syms.
	* alloc.c (mark_kboards): Mark it.
	* keyboard.c (system_key_syms): Deleted; now part of struct kboard.
	(make_lispy_event): Use the struct member.
	(init_kboard): Initialize it.
	(syms_of_keyboard): Delete initialization and staticpro.

	* Makefile.in.in (SOURCES): Makefile isn't source; Makefile.in.in is.

Thu Jun  8 15:00:47 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* keyboard.c (Fevent_convert_list): Renamed from
	convert_event_type_list.
	(syms_of_keyboard): defsubr it.
	* keymap.c (Flookup_key, Fdefine_key): Use Fevent_convert_list.

	* xmenu.c (xmenu_show): Do call lw_destroy_all_widgets.
	(xdialog_show): Likewise.
	(popup_get_selection): Don't call it here.

	* search.c (Freplace_match): Fix check for valid reg in string replace.
	Do the right thing with backslash.

	* keyboard.c (Vhelp_event_list): New var.
	(syms_of_keyboard): Set up Lisp var.
	(help_char_p): New function.
	(read_char, echo_char, read_key_sequence): Use help_char_p.

	* keyboard.h (Vlucid_menu_bar_dirty_flag): Declare this variable.
	(Qrecompute_lucid_menubar, Qactivate_menubar_hook): Likewise.

	* keyboard.c (read_key_sequence): Don't run activate-menubar-hook
	or call recompute-lucid-menubar.

	* xdisp.c (update_menu_bar): Run activate-menubar-hook
	and call recompute-lucid-menubar.

Thu Jun  8 15:13:39 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* commands.h (last_command): Declaration deleted.
	* keyboard.h (struct kboard): New member Vlast_command.
	* keyboard.c (last_command): Var deleted; now part of struct kboard.
	(init_kboard): Initialize it.
	(syms_of_keyboard): Defvar it.
	(command_loop_1): Make last_command be kboard-local.
	* cmds.c (internal_self_insert): Likewise.
	* minibuf.c (Fminibuffer_complete): Likewise.

	* m/ibmrs6000.h (LIBS_MACHINE): Use -lpthread if it exists.

	* m/alpha.h (LIBS_MACHINE): Define to -ldnet or -ldnet_stub.

	* s/msdos.h (SYSTEM_PURESIZE_EXTRA) [!HAVE_X_WINDOWS]:
	Increase to 62000.

	* process.c [!subprocesses]: Include sysselect.h.

	* xmenu.c (xmenu_show): If !HAVE_X_WINDOWS, don't reference X display.

Wed Jun  7 14:37:31 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* keyboard.h (struct kboard): member Vprefix_arg restored, replacing
	prefix_factor, prefix_value, prefix_sign, and prefix_partial.
	* callint.c (current_prefix_partial): Deleted.
	(Vprefix_arg): Deleted; not part of struct kboard again.
	(Funiversal_argument, Fnegative_argument, Fdigit_argument)
	(clear_prefix_arg, finalize_prefix_arg, describe_prefix_arg): Deleted.
	(syms_of_callint): Use DEFVAR_KBOARD for Vprefix_arg.
	Remove defsubrs for deleted functions.
	* lisp.h: Remove declarations for deleted vars and functions.
	* alloc.c (mark_kboards): Mark Vprefix_arg instead of
	prefix_factor and prefix_value.
	* macros.c (Fexecute_kbd_macro): Vprefix_arg is now part of kboard.
	* keyboard.c (cmd_error, command_loop_1, Fcommand_execute)
	(Fexecute_extended_command, init_kboard, syms_of_keyboard):
	Undo Feb 28 change; prefix arg handling is now in Lisp code again.

	* buffer.c: (syms_of_buffer): Doc fix.

	* buffer.c: (Fbuffer_disable_undo): Make this function interactive.

Wed Jun  7 11:08:58 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* data.c (Flocal_variable_p): New optional arg BUFFER.
	Really check whether var is local in *that* buffer.

	* xfns.c (x_real_positions): Uncatch and recatch X errors in the loop.

	* filelock.c (unlock_file, lock_file): Call Fexpand_file_name.

Mon Jun  5 13:30:54 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* Makefile.in.in (TOOLKIT_DEFINES): Define.
	(ALL_CFLAGS): Insert $(TOOLKIT_DEFINES) here.
	* xfns.c (syms_of_xfns): Provide motif in Motif version.

	* lisp.h: (Fwaiting_for_user_input_p): Function declared.
	(Fupcase_initials, Fupcase_initials_region): Likewise.
	(Fplist_get, get_local_map, Fx_popup_menu, Fx_popup_dialog): Likewise.
	(Fframe_first_window): Likewise.
	* keyboard.c (cmd_error): Use NULL, not 0, as arg to
	cmd_error_internal.
	(menu_bar_items): Likewise, for arg of current_minor_maps.
	(record_char): Add cast.
	* indent.c (Fvertical_motion): Add cast.
	* undo.c (record_insert): Change args to be ints, not Lisp_Objects.
	* casefiddle.c (casify_region): Use explicit local vars for start
	and end, so that the type will be correct.
	(operate_on_word): Likewise for iarg in this function.
	(upcase_initials, upcase_initials_region): Deleted; these were
	redundant copies of Fupcase_initials and Fupcase_initials_region.
	* abbrev.c (Fexpand_abbrev): Call to upcase_initials_region
	changed to Fupcase_initials_region for consistency.
	* search.c (Freplace_match): Likewise.
	* alloc.c: Declare sbrk.

	* xdisp.c: Include keyboard.h.

	* s/irix5-0.h (POSIX_SIGNALS): Defined.

Sat Jun  3 19:02:35 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* xterm.c (x_wm_set_icon_pixmap): Set IconPixmapHint in both cases.

	* buffer.c (Fkill_buffer): When killing indirect buffer,
	unchain that buffer's markers (only) from the common chain.
	Don't rekill this buffer's indirect buffers that are dead.
	Do nothing if this buffer is already dead.

Sat Jun  3 12:57:01 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* editfns.c (Fencode_time): Doc fix.

	* fns.c (NULL): Define if not defined.

Fri Jun  2 17:05:37 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* xfns.c (Fx_create_frame): Make sure icon_name is a string or nil.

	* xterm.h (struct x_display): Rename icon_label to icon_name
	and make it a Lisp_Object.

	* xfns.c (Qicon_name): New variable.
	(Fx_create_frame): Look for icon-name parm and set icon_label field.
	(x_set_icon_type): Compute arg to x_text_icon
	based on frame name and icon_name fields.
	(x_set_icon_name): New function.
	(x_icon): Call x_text_icon.
	(x_set_name): Look at icon_name field when setting the icon name,
	(x_frame_parms): Add icon-name.
	(syms_of_xfns): Set up Qicon_name.

	* xterm.c (x_text_icon): Do call XSetIconName or XSetWMIconName.
	Don't save ICON_NAME anywhere.

	* sysdep.c (old_tty_valid): New variable.
	(init_sys_modes): Set old_tty_valid if we set old_tty.
	(reset_sys_modes): Restore tty settings only if old_tty_valid.

	* term.c (cursor_to, clear_to_end_of_line_raw):
	If chars_wasted is 0, do nothing.
	(clear_end_of_line): Don't die if chars_wasted is 0.

	* search.c (trivial_regexp_p): = is special after \.

	* s/ptx.h (HAVE_SELECT, HAVE_TIMEVAL): Definitions deleted.

Thu Jun  1 18:47:56 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* xfns.c (x_destroy_bitmap): Block and unblock input.
	(Fx_horizontal_line): Add one UNBLOCK_INPUT to fix a misbalance,
	and move another one to include the call to XFreeGC, in case we
	someday remove the "#if 0" conditions.
	* widget.c (EmacsFrameDestroy): Block and unblock input.

Wed May 31 23:08:12 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* xfns.c (x_display_info_for_name): Fix error message.
	(Fx_open_connection): Fix error messages.

Tue May 30 17:49:03 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* s/sol2-4.h (LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
	added references to /usr/dt/lib.

	* xfns.c (syms_of_xfns): Allow PATH_BITMAPS to be a
	colon-separated list.

	* editfns.c (syms_of_editfns): user-login-name renamed from user-name.
	user-real-login-name renamed from user-real-name.
	C names changed to Vuser_real_login_name, Vuser_login_name as well.
	* nt.c: Change Vuser_real_name to Vuser_real_login_name.

Tue May 30 12:13:28 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* xfns.c (x_top_window_to_frame): Don't match menu-bar widget.

	* xdisp.c (update_menu_bar): Reverse test of save_match_data.

	* xmenu.c (set_frame_menubar): Always call update_frame_menubar.

	* xfns.c (x_window): Use applicationShellWidgetClass,
	not topLevelShellWidgetClass.  Call lw_set_main_areas after
	creating the menubar widget.

Mon May 29 16:53:49 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* xdisp.c (update_menu_bar): Do update if region display has changed.

	* frame.c (make_frame_without_minibuffer): New arg DISPLAY.
	If there's no minibuffer frame to use, create one.
	* xfns.c (Fx_create_frame): Pass new arg to
	make_frame_without_minibuffer.

	* fns.c (Frandom): Use EMACS_INT, not int.
	Use NULL, not 0, as arg of `time'.

	* frame.c: Declare x_get_focus_frame.
	(Fmouse_position): Use NULL, not 0, as arg of pixel_to_glyph_coords.
	* keyboard.c (make_lispy_event, make_lispy_movement): Likewise.

Mon May 29 20:10:20 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* xterm.c (XTread_socket) [USE_X_TOOLKIT]: Do pass MotionNotify events
	to the toolkit.

	* keyboard.c (Fset_input_mode): When read_socket_hook, ignore
	what the user specified, and set interrupt_input in the preferred
	way for this system.

	* xterm.c (x_term_init): Call init_sigio only if interrupt_input.

Sun May 28 23:58:00 1995  Morten Welinder  <terra+@@cs.cmu.edu>

        * s/osf1.h (COFF): Define.
        * m/alpha.h (LD_SWITCH_MACHINE) [!__GNUC__]: Don't define.
        (r_alloc, r_re_alloc, r_alloc_free) [REL_ALLOC,
        !_MALLOC_INTERNAL, !NOT_C_CODE]: Prototype.

Sun May 28 17:11:38 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* xterm.c (x_set_offset): Distinguish CHANGE_GRAVITY < 0 case.
	* xfns.c (x_set_frame_parameters): Pass -1 to x_set_offset.

	* xfns.c (x_report_frame_params): Report top and left
	in a way that represents negative offsets correctly.

	* syntax.c (describe_syntax_1): Pass new arg to describe_vector.

	* keymap.c (describe_vector): New arg entire_map.
	Don't show bindings shadowed earlier on in the same map.
	(Fdescribe_vector, describe_map): Pass new arg.

	* xdisp.c (redisplay_window): Don't use try_window_id if
	newline has a display table entry.

	* xdisp.c (update_menu_bar):
	Call set_frame_menubar with proper buffer current.

Fri May 26 20:17:46 1995  Geoff Voelker  <voelker@@cs.washington.edu>

	* lread.c (init_lread) [CANNOT_DUMP]: Set Vload_path to EMACSLOADPATH.

Fri May 26 18:46:15 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* xfns.c (x_window): Call initialize_frame_menubar
	near the end, after UNBLOCK_INPUT.

	* xmenu.c (popup_get_selection): Force deactivation if key pressed.
	New arg `id'.
	(xdialog_show, xmenu_show): Pass new arg to popup_get_selection.
	* xterm.c (XTread_socket): Don't call popup_get_selection here.

Fri May 26 17:53:58 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* sysdep.c (VFORK_RETURN_TYPE): Use int if not already defined.
	(vfork): Declare the return type.
	* s/sol2-3.h (HAVE_VFORK): Moved here from s/sol2-4.h.
	(VFORK_RETURN_TYPE): Defined.
	* s/sol2-4.h (HAVE_VFORK): Moved to s/sol2-3.h.
	(pid_t): Deleted; s/sol2-3.h now defines a symbol for this.

	* xdisp.c (x_consider_frame_title): Use FRAME_KBOARD.

Fri May 26 01:23:03 1995  Geoff Voelker  <voelker@@cs.washington.edu>

	* s/windows95.h: New file.

	* ntheap.h (get_data_region_base): Undefined.
	(get_reserved_heap_size): Use reserved_heap_size.
	(reserved_heap_size): Declared.
	* ntheap.c (reserved_heap_size,allocate_heap): Defined.
	(sbrk): Use allocate_heap.

	* ntterm.c (set_terminal_modes): Set cursor size appropriate for Win95.
	(write_glyphs): Don't memset attrs, which is a word array.

	* nt.c (configuration_buffer): Increase size.
	(get_emacs_configuration) [WINDOWS95]: Use appropriate string.
	(prepare_standard_handles) [WINDOWS95]: Disable subprocesses.
	(reset_standard_handles): Check error number on failure.

	* makefile.nt (LIBS): Use BASE_LIBS and ADVAPI32.
	(config.h,paths.h): Use $(CP) instead of cp.
	(config.h): Use $(CONFIG_H).
	(EMACS) [WINDOWS95]: Don't dump temacs.exe.
	(clean): Cleanup MSVC files and config.h.
	(cleandump): Separate commands onto multiple lines.
	Cleanup comments.

Fri May 26 00:16:42 1995  Michael Ernst  <mernst@@research.microsoft.com>

	* emacs.c (standard_args): -i, -itype, --icon-type take 0, not 1, args

Thu May 25 10:26:10 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* process.c (create_process, send_process): Add volatile qualifiers.
	(wait_reading_process_input) [both versions]: Cast args of select.

	* syntax.c (scan_lists): Make stringterm an unsigned char.

	* dispnew.c (change_frame_size_1): Declare arg DELAY.

	* insdel.c (adjust_point): Declare arg AMOUNT.

	* lisp.h (do_symval_forwarding): Declare this function.
	(frame_buffer_predicate, Foverlay_start, Foverlay_end): Ditto.
	(Fprevious_single_property_change, Fend_of_line, Felt): Ditto.
	(Fforward_line, Fforward_word, Fdelete_region, Fforward_char): Ditto.
	(Fnarrow_to_region, Fwiden, Fmatch_beginning, Fmatch_end): Ditto.
	(Fskip_chars_forward, Fskip_chars_backward): Ditto.
	(Ffile_name_absolute_p, read_doc_string): Ditto.
	(get_frame_param, store_frame_param, store_in_alist): Ditto.
	(describe_map_tree): Declaration moved here from keymap.c.
	* keymap.c (describe_map_tree): Move declaration to lisp.h.

	* doc.c (Fsubstitute_command_keys): Cast arg of describe_map_tree.
	* frame.c [MULTI_FRAME] (Fmouse_position): Cast arg of
	pixel_to_glyph_coords.
	* callint.c (Fcall_interactively): Cast arg of doprnt.
	* editfns.c (format1): Likewise.
	* xdisp.c (message): Likewise.
	(scroll_bottom_vpos, fmodetrunc): Declarations deleted.

Thu May 25 10:16:58 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* dispnew.c (Fframe_or_buffer_changed_p): Record frame names
	as well as the frame objects.

	* xterm.c (XTread_socket):
	For MapNotify, call record_asynch_buffer_change.

	* xdisp.c (prepare_menu_bars): Update frame titles before menu bars.

	* xfns.c (Fx_get_resource): Major rewrite to make it clearer.
	(validate_x_resource_name): Use build_string, not make_string.
	(Fx_create_frame): Initially use Vinvocation_name as resource name.
	Switch to frame name if frame name is explicit.
	(x_display_info_for_name, Fx_open_connection): Add casts.
	Initially use Vinvocation_name as resource name.
	[USE_X_TOOLKIT] (x_window): Use Vx_resource_name for widget names.

	* xmenu.c (xmenu_show, xdialog_show): Increment widget_id_tick
	in the same way as in xfns.c.  Use LWLIB_ID type where appropriate.
	(set_frame_menubar, free_frame_menubar): Add casts to LWLIB_ID.

	* xterm.c (XTflash): Use pointers as args to select.
	(XTread_socket, x_set_offset, x_set_window_size)
	(x_make_frame_invisible): Cast 2nd arg to x_wm_set_size_hint.
	(XTclear_end_of_line): Don't specify return type.
	(note_mouse_highlight): Declare args x and y.
	(x_icon_type): New declaration.
	(flashback): Declaration deleted.

Wed May 24 18:45:51 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* lisp.h (menu_bar_items): Declare this function.

Wed May 24 16:33:26 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* xmenu.c (Fx_popup_dialog): Treat (menu-bar) like t, for POSITION.

	* frame.c (Fdelete_frame): When updating Vdefault_minibuffer_frame,
	insist on a frame on the proper keyboard.

	* xterm.c (x_connection_closed): Unblock input, first thing.
	Set Vdefault_minibuffer_frame to t
	before deleting a frame that might have its own minibuffer.

Tue May 23 23:48:54 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* xfns.c (hack_wm_protocols): Use cast instead of suffix.

Tue May 23 20:40:43 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* xfns.c (x_set_frame_parameters): Pass 1 as change_gravity
	when calling x_set_offset.
	(x_real_positions): Don't add border_width into win_x, win_y.
	* xterm.c (x_set_offset): Add border_width when calling XMoveWindow.

	* xterm.h (struct x_display): New field menubar_height.
	* xmenu.c (set_frame_menubar): Set menubar_height field.
	* xfns.c (x_window) [both versions]: Set menubar_height.

	* xfns.c [USE_X_TOOLKIT] (x_window): Don't call XMoveWindow
	or x_calc_absolute_position.  Do use the border_width.

	* xterm.c (x_calc_absolute_position): Use menubar_height field.
	In toolkit case, use outermost Emacs widget and its parent.
	[USE_X_TOOLKIT] (x_make_frame_visible): Do call x_set_offset.


	* xfns.c [USE_X_TOOLKIT] (x_window): Pass position to toolkit
	only if user-specified.  But always use XMoveWindow to move the
	window to that position.

	* alloc.c (Fgarbage_collect): Clear consing_since_gc first thing.

	* xdisp.c (redisplay_window): Use set_buffer_internal_1.

	* buffer.c (set_buffer_internal_1): New subroutine.
	(Fmove_overlay): Don't set windows_or_buffers_changed.

Mon May 22 18:09:46 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* xselect.c (x_get_window_property): Cast args of XGetWindowProperty.
	* xfaces.c (unload_color): Cast args of XFreeColors.
	* xfns.c (hack_wm_protocols): Cast args of XGetWindowProperty.
	(x_set_border_pixel): Cast args of XSetWindowBorder.
	* widget.c (create_frame_gcs): Cast args of XCreateGC.
	(setup_frame_gcs): Cast args of XCreatePixmapFromBitmapData.

	* data.c (long_to_cons): Don't assume 32-bit longs.
	* fileio.c (Fvisited_file_modtime): Cast arg of long_to_cons.

	* editfns.c (Fformat): Split double into two pointers, not two ints.

	* s/hpux9.h: Delete HAVE_FMOD; configure handles that correctly now.

Mon May 22 16:14:07 1995  Richard Stallman  <rms@@waves>

	* xdisp.c (display_text_line): Enter a char in charstarts
	at the very end of the character loop.
	Enter newline or ^M (if selective display) separately.

	* lisp.h (gdb_lisp_params): New enum type.
	* .gdbinit: Use gdb_lisp_params to get storage layout info.
	Set and use $valmask and $nonvalbits.

	* lread.c (oblookup): Delete argument hashp.

Fri May 19 23:35:57 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* floatfns.c (Flogb): frexp needs a pointer to int, not EMACS_INT.

Fri May 19 17:52:46 1995  Richard Stallman  <rms@@waves>

	* dispnew.c (buffer_posn_from_coords): Don't let startp be before BEGV.

Thu May 18 18:42:37 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* indent.c (compute_motion): Handle overlay strings.
	New arg DID_MOTION.  All callers changed.
	* dispnew.c, window.c: Add new argument to calls of compute_motion.
	* xdisp.c: Add new argument to calls of compute_motion.
	(zv_strings_seen): New variable.
	(redisplay, try_window, try_window_id): Clear zv_strings_seen.
	(display_text_line): Handle overlay strings.

Thu May 18 12:54:22 1995  Richard Stallman  <rms@@waves>

	* s/sol2-4.h: Undo previous change.

	* emacs.c (Fkill_emacs): Delete the auto-save-list file
	after shut_down_emacs.

	* process.c (status_notify): If Vprocess_alist changes within
	the loop, do the whole loop again.

Wed May 17 03:26:09 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* emacs.c (Fdump_emacs): Don't take address of array.

	* buffer.c (Fmake_indirect_buffer): Fix interactive spec.

	* Makefile.in.in (SOURCES): Fix reference to ymakefile.

	* keyboard.c (syms_of_keyboard): Always define track-mouse.
	(do_mouse_tracking): Always declare this var.

Mon May 15 21:28:52 1995  Marcus Daniels  <marcus@@ee.pdx.edu>

	* s/linux.h: Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
	[__ELF__] (START_FILES, LIB_STANDARD, LIB_GCC, UNEXEC): Define these.
	[__ELF__] (UNEXEC_USE_MAP_PRIVATE): Define this.

	* unexelf.c (unexec) [UNEXEC_USE_MAP_PRIVATE]: New logic for
	systems that don't support MAP_SHARED with PROT_WRITE.

Mon May 15 19:26:40 1995  Richard Stallman  <rms@@churchy.gnu.ai.mit.edu>

	* s/sol2-4.h (LD_SWITCH_SYSTEM): Define.

Mon May 15 17:46:47 1995  Simon Leinen  <simon@@lia.di.epfl.ch>

	* indent.c (vmotion): handle the case where `minibuf_prompt' is nil.

Fri May 12 18:23:15 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* indent.c (vmotion): Simplify.  Replace last three args with a single
	struct window *.  All callers changed.
	* xdisp.c (minmax): New macro.
	(redisplay, redisplay_window, try_window_id): Clip cursor hpos at both
	low and high extremes, in anticipation of a change to compute_motion.

	* xterm.c (Qvendor_specific_keysyms): New var.
	(syms_of_xterm): Initialize and staticpro it.
	(x_term_init): Initialize Vsystem_key_alist according to vendor.

	* emacs.c (main) [NeXT]: Add missing braces.

Thu May 11 18:16:36 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* sysdep.c (init_system_name): Clean up signedness mismatch.
	* unexelf.c (unexec): Fix type mismatch.
	* print.c (float_to_string): Fix type mismatch and simplify.

	* dispnew.c [!MULTI_FRAME] (Fredraw_frame): Delete extra docstring.
	* frame.c [!MULTI_FRAME] (Fframe_height, Frame_width): Likewise.

Tue May  9 00:45:23 1995  enami tsugutomo  <enami@@sys.ptg.sony.co.jp>

	* window.c [MULTI_FRAME] (init_window_once): Set Vterminal_frame
	to selected_frame.
	* frame.c [MULTI_FRAME] (make_terminal_frame): Don't set
	Vterminal_frame.
	(do_switch_frame): Set Vterminal_frame to selected_frame.

Mon May  8 14:30:19 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* Makefile.in.in (VMS_SUPPORT): Add missing `.elc'.
	(SOME_MACHINE_LISP): New variable.
	(${etc}DOC): Use it.

	* buffer.c (syms_of_buffer): Doc fix.

	* frame.c (frame-height, frame-width, set-screen-height,
	set-screen-width, termal-frame) [!MULTI_FRAME]: Delete doc strings.

Mon May  8 21:28:34 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (init_kboard): Initialize Vdefault_minibuffer_frame.
	* keyboard.h (struct kboard): New member Vdefault_minibuffer_frame.
	* frame.c: Vdefault_minibuffer_frame is now part of KBOARD instead
	of a variable.  All references changed.
	(make_frame_without_minibuffer): New arg KB.
	Require the new frame's minibuffer to be on the same display.
	* xfns.c (Fx_create_frame): Pass kb to make_frame_without_minibuffer.

	* xdisp.c (x_consider_frame_title): When setting multiple_frames,
	ignore invisible frames and frames on other displays.

	* keyboard.c [MULTI_KBOARD] (read_char): If the character was for
	the wrong kboard, don't let it get processed twice.

Mon May  8 12:24:38 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* callproc.c (Fcall_process): Keep reading till buffer is nearly full.

	* emacs.c (Fdump_emacs): Don't use & before my_edata.

Mon May  8 16:45:51 1995  Francesco Potorti`  (pot@@cnuce.cnr.it)

	* m/delta.h (C_SWITCH_MACHINE): Let configure decide if this is
	a 68040 or 68030.  Don't condition on __STDC__.

Mon May  8 18:40:21 1995  enami tsugutomo  <enami@@sys.ptg.sony.co.jp>

	* frame.c (Fraise_frame, Flower_frame): Make arg FRAME optional.

	* keyboard.c (Fread_key_sequence): Doc fix.

Mon May  8 00:52:42 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* window.c (Fdisplay_buffer): Initialize other, upper, lower.

Sun May  7 18:26:25 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* lisp.h (Fmatch_data, Fstore_match_data): Declared.

	* xdisp.c (prepare_menu_bars): Save and restore the match data.
	(update_menu_bar): New arg save_match_data.
	Maybe save and restore match data here.

Sun May  7 17:03:55 1995  Geoff Voelker  <voelker@@cs.washington.edu>

	* makefile.nt (region-cache.obj,vm-limit.obj): Dependencies defined.
	(OBJ1): Don't compile xfaces.c.
	(buffer.obj,indent.obj,search.obj): Add region-cache.h dependency.

Sun May  7 06:34:20 1995  Paul Eggert  <eggert@@twinsun.com>

	* data.c (Fmod): Fix the final adjustment, when f2 < 0 and f1 == 0.

	* lread.c (isfloat_string): Reject strings like "0.5+".

Sun May  7 02:22:11 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input): Pass arg in new call to
 	set_waiting_for_input.

	* xfns.c (Funfocus_frame): Check for live X frame.

	* lread.c (init_lread): Don't warn about missing installation dirs
	when using dirs derived from the executable.

Sat May  6 22:37:07 1995  Geoff Voelker  <voelker@@cs.washington.edu>

	* makefile.nt (TRES): Defined.
	(TLIB1,TLIB2): Created out of TLIB.
	(TLIB): Split to reduce time to do library updates.
	(DOC): Use DOC-X.
	(strftime.obj): Compile with -Dstrftime=emacs_strftime.

Sat May  6 03:09:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* window.c (syms_of_window): Doc fix.
	(temp_output_buffer_show): If we use Vtemp_buffer_show_function,
	do nothing else.

	* s/bsd386.h (GETPGRP_NO_ARG): New definition.
	(BSD): Include sys/param.h instead of redefining BSD.
	But do this only if emacs is defined.

	* lisp.h (gc_cons_threshold): Change back to int.
	* alloc.c (gc_cons_threshold): Change back to int.
	(min): New macro.
	(inhibit_garbage_collection): Don't exceed value an int can hold.

	* xdisp.c (prepare_menu_bars): Clear size-change flag before running
	size-change functions.
	(scroll_step, debug_end_pos, line_number_display_limit): Now static.

Fri May  5 00:35:42 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* emacs.c (Fdump_emacs_data): Don't use & before my_edata.

	* editfns.c (Fencode_time): Rename arg from min to minute.
	(days_per_month): Move variable to top level.

	* process.c (wait_reading_process_input): Don't call prepare_menu_bars.
	Clear waiting_for_input around calling redisplay_preserve_echo_area.

	* xfns.c [USE_X_TOOLKIT] (x_window): Always pass position in geometry.
	Set XtNmappedWhenManaged to 0 for shell_widget.
	(Fx_create_frame): Always call x_wm_set_size_hints.

	* s/sol2-4.h (HAVE_VFORK): Add #undef.

	* s/netbsd.h (GETPGRP_NO_ARG): Defined.

Thu May  4 21:45:27 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/freebsd.h: (GETPGRP_NO_ARG): Defined
	(HAVE_GETPAGESIZE): Definition deleted.

	* data.c (store_symval_forwarding): Error if value out of range
	for an integer variable.
	(Fstring_to_number): Avoid using make_number to return value.
	Maybe use atol.

Thu May  4 20:26:46 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* buffer.c (Qbefore_string, Qafter_string): New vars.
	(syms_of_buffer): Initialize and staticpro them.
	(cmp_for_strings, overlay_strings): New functions.

Thu May  4 01:13:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* indent.c (string_display_width): Renamed from string_width.
	(vmotion): Use new name.

	* s/sco4.h [!__GNUC__] (LINKER): Defined.

	* insdel.c (make_gap): Don't allow buffer size that won't fit in int.
	Make this new error check also check exceeding VALBITS.
	(insert_1): Delete old error test.
	(min): New macro.

	* Makefile.in.in (${etc}DOC): Put SOME_MACHINE_OBJECTS before obj.

	* xfaces.c (region_face, next_face_id): Make static.

	* xselect.c (Vselection_converter_alist, x_selection_timeout)
	(Vx_sent_selection_hooks, Vx_lost_selection_hooks, Vselection_alist):
	Make static.

	* alloc.c (inhibit_garbage_collection):
	Use XSETINT, and do arithmetic in type EMACS_INT.

	* s/hpux9.h (HAVE_FMOD): Defined.

	* sysdep.c (bcmp, bcopy): Fix backward BSTRING conditionals.

	* emacs.c (Fkill_emacs): Delete the Vauto_save_list_file_name file.

Thu May  4 13:23:55 1995  Morten Welinder  <terra+@@cs.cmu.edu>

	* data.c (arith_driver): Make accum and next EMACS_INTs.
	(Fmod): i1 and i2 are EMACS_INT.

	* editfns.c (Fformat): Allow 30 characters in the printed version
	of integers and floats.

	* print.c (print): Handle long EMACS_INT in sprintf.
	* keyboard.c (Fexecute_extended_command):
	Handle long EMACS_INT in sprintf.
	* lread.c (read1): Handle long EMACS_INT in atol.
	* doprnt.c (doprnt): Handle long EMACS_INT in sprintf.
	* data.c (Fnumber_to_string, Fstring_to_number):
	Handle long EMACS_INT in sprintf and atol.

	* process.c (list_processes_1): Cast XFASTINT for passing to sprintf.

	* m/alpha.h (bcopy, bzero, bcmp): Don't let string.h prototype these.

Wed May  3 20:12:25 1995  Morten Welinder  <terra+@@cs.cmu.edu>

	* keyboard.c (parse_modifiers, apply_modifiers): Don't assume
	32-bit EMACS_INT.
	(parse_modifiers): modifiers is an int, not an EMACS_INT.
	(read_key_sequence): Pass modifiers as int, not EMACS_INT.

	* buffer.h (Fdelete_overlay): Was mistakenly called Fdelete_overlays.

	* lisp.h (gc_cons_threshold): Make this an EMACS_INT.

	* alloc.c (gc_cons_threshold): Make this an EMACS_INT.
	(gc_sweep): Make already_free an EMACS_INT.

	* search.c (search_buffer): Cast p_limit to EMACS_INT not int.

	* s/osf1.h (GETPGRP_NO_ARG): Define.

Wed May  3 16:23:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (reorder_modifiers): Use XINT.
	Cast apply_modifiers arg to int.

	* unexapollo.c: New file.

	* m/apollo.h (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
	(NO_X_DESTROY_DATABASE): Macros deleted.
	(BSTRING): #undef deleted.
	(SYSTEM_TYPES): Redefinition deleted.
	(UNEXEC): New definition.
	(LD_SWITCH_SYSTEM): Define as empty.
	(C_SWITCH_MACHINE, LD_SWITCH_MACHINE): New definitions.
	(OLDXMENU_OPTIONS): New definition.

	* fileio.c (directory_file_name): Add APOLLO conditional.
	(Fcopy_file, Fset_file_modes): Delete APOLLO conditionals.

	* emacs.c: Delete all APOLLO conditionals.

Tue May  2 19:03:13 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* intervals.c (get_local_map): Use Fget_char_property, so that
	overlay properties will be considered as well as text properties.

Tue May  2 02:15:23 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* insdel.c (prepare_to_modify_buffer): Use file_truename for locking.

	* fileio.c (Finsert_file_contents): Use file_truename for unlocking.

	* buffer.c (Fset_buffer_modified_p): Use the truename for locking.

	* lread.c (read1): New arg FIRST_IN_LIST; all callers changed.
	Special handling for backquote and comma.
	(Qbackquote, Qcomma, Qcomma_at, Qcomma_dot): New variables.
	(syms_of_lread): Initialize and staticpro them.
	(Fread, Fread_from_string): Initialize new_backquote_flag.

Mon May  1 19:11:28 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* xmenu.c (xmenu_show, menubar_selection_callback): Move declaration
	of entry to an outer block, to guarantee its value is preserved.

	* keyboard.c (kbd_buffer_get_event): New arg USED_MOUSE_MENU.
	[USE_X_TOOLKIT]: Set *USED_MOUSE_MENU if returning menu-bar symbols.
	(read_char): Pass used_mouse_menu to kbd_buffer_get_event.
	This variable is now meaningful for toolkit menus as well as
	non-toolkit menus.

	* dispnew.c (update_frame): Don't put cursor in echo area unless
	the echo area is on this frame.
	* xdisp.c (redisplay): Don't move the cursor if it's supposed to
	be in the echo area.
	(display_text_line): Likewise.
	(echo_area_display): Put cursor in echo area if appropriate.

Sun Apr 30 11:51:41 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* emacs.c (standard_args): Add #ifdef VMS for -map.
	(main): Delete duplicate code for -version.
	(standard_args): Add -help and -version.

	* fileio.c (Fdo_auto_save): Record visited file name
	as well as auto-save file name in the auto-save-list-file-name file.
	Call Fexpand_file_name for auto-save-list-file-name.

Sat Apr 29 01:30:51 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* sysdep.c [HAVE_UNISTD_H]: Include unistd.h.

	* emacs.c (standard_args): Add -L/--directory/-directory.

	* s/sunos4shr.h (ORDINARY_LINK): Defined.
	(LINKER): Definition deleted.

Sat Apr 28 23:59:49 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* xfns.c (x_non_menubar_window_to_frame): New function.
	* xterm.h: Declare x_non_menubar_window_to_frame.
	* xmenu.c (popup_get_selection): Use x_non_menubar_window_to_frame.
	Either queue or dispatch the event, but not both.
	(dialog_selection_callback): Clear popup_activated_flag.

	* xmenu.c (Fx_popup_menu): If POSITION is just (menu-bar), use the
	current mouse position.
	(menubar_selection_callback): Use (menu-bar) instead of 'menu-bar.
	* keyboard.c (read_char, read_char_x_menu_prompt): Exclude
	menu-bar clicks when processing mouse clicks.

	* xterm.c (x_term_init): Add stub to initialize Vsystem_key_alist.

Thu Apr 27 21:38:08 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* process.c (create_process): Don't reference pty_name if !HAVE_PTYS.

Wed Apr 26 05:08:25 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fileio.c (Ffile_regular_p): Use Qfile_regular_p.
	(syms_of_fileio): Set up Qfile_regular_p.

	* emacs.c (standard_args): Move -iconic and --icon-type
	to the end of the initial args.

Tue Apr 25 19:46:40 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* alloc.c (mark_kboards): Mark the kbd macro and Vsystem_key_alist.

Mon Apr 24 14:43:07 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/linux.h (REGEXP_IN_LIBC): Defined.

	* callproc.c (Fcall_process): Use bigger buffer, and grow it
	as we get more and more data.

Mon Apr 24 11:44:02 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* xterm.c (x_term_init): If the previous kboard was the dummy one,
	switch to the new one immediately.

	* keyboard.h (struct kboard): New member Vsystem_key_alist.
	* keyboard.c (Vsystem_key_alist): Delete global variable.
	(init_kboard): Initialize Vsystem_key_alist member.
	(syms_of_keyboard): Change DEFVAR_LISP to DEFVAR_KBOARD.
	(make_lispy_event): Use the kboard's alist instead of the global.

	* fns.c (Fplist_put): Don't signal an error if plist isn't a cons.

	* xterm.c (x_focus_frame, x_focus_event_frame, x_highlight_frame):
	Delete these vars; now part of struct x_display_info.
	(x_new_focus_frame): New arg DPYINFO.  Callers changed.
	Use the struct members instead of the globals.
	Call x_frame_rehighlight instead of XTframe_rehighlight, so we can
	pass on the dpyinfo pointer.
	(x_mouse_leave): New arg DPYINFO.  Callers changed.
	(XTframe_rehighlight): New arg FRAME.  Callers changed.
	Now does all the work in x_frame_rehighlight.
	(x_frame_rehighlight): New function, code from XTframe_rehighlight.
	(XTread_socket): Use the struct members instead of the globals.
	(x_unfocus_frame, x_iconify_frame, x_destroy_window): Likewise.
	(x_display_box_cursor, x_make_frame_invisible): Likewise.
	(x_term_init): Initialize the struct members.
	(x_initialize): Delete initialization of deleted globals.
	* xfns.c (x_get_focus_frame): New arg FRAME.  Callers changed.
	(Funfocus_frame): Unfocus on selected_frame's display.
	* xterm.h (struct x_display_info): New members x_focus_frame,
	x_focus_event_frame, x_highlight_frame, replacing global vars.
	* frame.c (do_switch_frame): Don't try to refocus termcap frames.

	* Makefile.in.in: Make dispnew.o and keyboard.o depend on xterm.h.
	Make intervals.o and term.o depend on keyboard.h.

	* xfns.c (x_window): Fix type mismatch.

	* xdisp.c (message_dolog): The message log doesn't need an undo list.

	* term.c (term_init): MagicWrap implies AutoWrap.

Mon Apr 24 01:44:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (safe_run_hooks_1, safe_run_hooks_error): New subroutines.
	(safe_run_hooks): Handle errors to clear the hook,
	instead of always clearing it temporarily.

	* callproc.c (child_setup): Reword "can't exec" message.
	Add newline after message.

	* process.c (create_process): Don't abort if can't reopen
	pty_name in the child.  Exit the child instead.

Thu Apr 20 14:36:54 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* abbrev.c (Fexpand_abbrev): Add some error checking.

	* xmenu.c (Fx_popup_dialog): Don't pass menubarp arg to xdialog_show.

Wed Apr 19 16:49:52 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* frame.h (struct frame): New member namebuf.
	* frame.c (make_frame): Initialize it.
	(Fdelete_frame): Free it.
	* xfns.c (x_window): Use (or reuse) frame's namebuf instead of a
	temp var.  This avoids a storage leak.

Wed Apr 19 02:08:43 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xmenu.c (xmenu_show, xdialog_show): Delete menubarp arg.
	(Fx_popup_menu): Don't compute menubarp.

Tue Apr 18 14:37:21 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* callproc.c (Fcall_process): Call Fexpand_file_name for error_file.

	* keyboard.c (map_event_to_object): Declaration deleted.

Tue Apr 18 12:43:44 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* eval.c (Ffetch_bytecode): Check the type of the object being
	read from the file.

Mon Apr 17 23:21:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* editfns.c (Fencode_time): Don't treat years < 100 as special.

Mon Apr 17 19:12:11 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* lisp.h: Declare some functions.
	* buffer.c (adjust_overlays_for_insert): New function.
	(adjust_overlays_for_delete): New function.
	* insdel.c (insert_1): Adjust overlay center after inserting.
	(insert_from_string_1, insert_from_buffer_1): Likewise.
	(del_range_1): Adjust overlay center after deleting.

Mon Apr 17 02:09:36 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* editfns.c (Fencode_time): Rewrite by Naggum.

Sat Apr 15 14:32:31 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (x_report_frame_params): Report value of `display' parm.

	* Makefile.in.in (really-lwlib, really-oldXMenu): Mark as .PHONY.

Fri Apr 14 17:04:56 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* editfns.c (Fencode_time): Fix missing \n\'s.

Fri Apr 14 14:20:50 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* editfns.c (init_editfns): Add casts.

	* doc.c (get_doc_string): Add cast.

	* keyboard.c (kbd_buffer_get_event): Don't use prototype.

	* xdisp.c (message_log_check_duplicate): Make p1 and p2
	unsigned char *.

Thu Apr 13 23:56:21 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (x_term_init): Call XtSetLanguageProc only if HAVE_X11XTR6.

Thu Apr 13 13:38:56 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* editfns.c (Fbuffer_string): Doc clarification.

	* alloc.c: Delete the #if that compares MARKBIT.

	* window.c (Fdisplay_buffer): Search the proper frame when the
	current frame is minibuffer-only.

	* fileio.c (Fexpand_file_name): Use IS_DIRECTORY_SEP instead of
	special code for WINDOWSNT.

Thu Apr 13 12:18:03 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfaces.c (compute_char_face): Don't use NULL.

	* buffer.c (Foverlays_at, Fnext_overlay_change): Don't use NULL.
	(Fprevious_overlay_change): Don't use NULL.

	* xfns.c (Fx_color_defined_p): Doc fix.

	* xfaces.c [! HAVE_X_WINDOWS] (build_face): Deleted.

Wed Apr 12 19:30:30 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* callint.c (Fcall_interactively): Fix paren nesting.

	* buffer.c (evaporate_overlays): Fix type error.

Thu Apr 13 01:09:02 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (XTmouse_position): Handle X errors in XTranslateCoordinates.

	* lisp.h (MARKBIT): Do the shifting as unsigned int.
	Delete the #if that compares MARKBIT.

Wed Apr 12 01:52:55 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (XTread_socket): For ConfigureNotify,
	combine the USE_X_TOOLKIT and non-toolkit cases, which provides
	some things that were missing in the former.

	* alloc.c (gc_sweep): If a misc has type Lisp_Misc_Free,
	keep it on the free list.  Sum pseudovector sizes properly.

	* dispnew.c (Fframe_or_buffer_changed_p): Ignore buffers whose names
	start with space.

	* editfns.c (Fencode_time): Use XINT to examine `zone'.

Tue Apr 11 21:53:28 1995  Geoff Voelker  <voelker@@cs.washington.edu>

	* ntinevt.c (nt_kdb_patch_event): Created.

        * callproc.c (child_setup) [WINDOWSNT]: Removed syntax errors.

	* dired.c (Ffile_attributes) [WINDOWSNT]: Removed syntax errors.

	* fileio.c (Fexpand_file_name) [DOS_NT]: Preserve drive letter case.
	Fix syntax errors.
        Check drive letter when expanding ~\.

	* sysdep.c (sys_subshell) [WINDOWSNT]: Don't invoke restore_console.

	* ntproc.c (win32_wait): Reap synchronous subprocesses, and place
        return code in synch_process_retcode.

	* s/windowsnt.h (ctime): Defined to be nt_ctime.
	(NULL): Defined when missing from included system files.
	(EMACS_CONFIG_OPTIONS): Defined.
	(LISP_FLOAT_TYPE): Defined.
	(HAVE_TZNAME): Defined.
	(HAVE_TIMEVAL): Defined.
	(struct timeval): Defined.
	(struct timezone): Defined.

	* nt.c (nt_ctime): Defined.
	(gettimeofday): Defined.

	* ntinevt.c (do_mouse_event): Use XSETFASTINT.
	(SET_FRAME): Undefined.
	(select): Renamed to sys_select to correspond to routine in sysdep.c
	(sys_select): Support struct timeval.
	(key_event): Support German keyboard.
	Replace SET_FRAME with XSETFRAME.
	(nt_kbd_mods_to_emacs): Renamed to win32_kbd_mods_to_emacs.
	(win32_kbd_mods_to_emacs): Support AltGr on German keyboards.
	(win32_number_shift_map): Defined.
	(WIN32_KEY_SHIFTED): Defined.
	(win32_patch_key): Defined.
	(map_virt_key): Support VK_OEM_102 for German keyboards.
	(win32_mouse_position): Add arg insist.
	(do_mouse_event): Replace SET_FRAME with XSETFRAME.
	Use win32_kbd_mods_to_emacs.

	* fileio.c (directory_file_name) [WINDOWSNT]: Handle UNC format.

	* nt.c (nt_stat): Defined.

	* s/windowsnt.h (struct nt_stat): Defined.

	* ntinevt.h: Fixed function prototypes.

	* makefile.nt (TEMACS): Add dependence on $(BLD).

	* ntterm.c (Fset_message_beep): Defined.
	(ring_bell): Support audio cards.

	* makefile.nt (DOC): Defined.

	* s/windowsnt.h (HAVE_RANDOM): Defined.
	(random): Macro undefined.
	(srandom): Macro undefined.
	(HAVE_UTIME): Defined.
	(utime): Defined.
	(EMACS_CONFIGURATION): Defined.

	* nt.c (random): Defined.
	(srandom): Defined.

	* nt.c (readdir): Include "." and "..".
	(get_inode_and_device_vals): Handle directories.

	* fileio.c (Fexpand_file_name) [DOS_NT]: Don't strip slash from
        default dirs like "C:\\"

	* makefile.nt (all): Use COMPAT_LIB in library list.
	Use DEL_TREE instead of delnode.

	* ntheap.c (sbrk): Shrink heap by arbitrary amounts.

	* m/intel386.h (NO_ARG_ARRAY) [WINDOWSNT]: Defined.

	* s/windowsnt.h (_VARARGS_): Defined.
	(_CALLBACK_): Defined.

Tue Apr 11 18:46:27 1995  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* process.c (create_process): Set PROCESS's tty_name to Qnil when
 	!PTY_FLAG, so Fprocess_tty_name returns nil for pipes as its
 	docstring says.

Tue Apr 11 04:23:05 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (read_char): Rearrange code so that getcjmp is set
	only around sit_for and kbd_buffer_get_event, and
	and polling is stopped only around the kbd_buffer_get_event call.
	(Ftrack_mouse, tracking_off, read_char): Don't call prepare_menu_bars.

	* dispnew.c (init_desired_glyphs): New function.
	* xdisp.c (redisplay): Call init_desired_glyphs for each frame.
	Call prepare_menu_bars.
	(prepare_menu_bars): Delete code at beginning that duplicates
	things done at the beginning of redisplay.

	* alloc.c (inhibit_garbage_collection): New function.

	* xterm.c (XTread_socket): Pass dpyinfo to popup_get_selection.

	* xmenu.c (popup_get_selection): Queue up events that aren't
	for the menu, and process them afterward.  New arg dpyinfo.
	(set_frame_menubar): Use inhibit_garbage_collection.
	[USE_X_TOOLKIT] (xmenu_show): Delete the queue code here.
	Pass dpyinfo to popup_get_selection.
	Don't call lw_destroy_all_widgets.
	[USE_X_TOOLKIT] (xdialog_show): Simplify using popup_get_selection.

Mon Apr 10 19:00:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* callint.c (Fcall_interactively): Fix handling of @@
	when it tests whether the event has a window in it.

	* s/sco4.h (NO_SOCKETS_IN_FILE_SYSTEM): Defined.

	* eval.c (internal_condition_case): Abort if interrupt_input_blocked>0.

	* xmenu.c (set_frame_menubar): Don't block input until after
	the menubar maps have been decoded.

Mon Apr 10 18:35:22 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (push_frame_kboard, pop_frame_kboard): Do nothing if
	!MULTI_KBOARD.

	* keyboard.c (init_keyboard): Don't malloc a new structure;
	initial_kboard should already exist for that.
	* frame.c (make_terminal_frame): Put initial_kboard on the list of
	all kboard objects.

Mon Apr 10 00:38:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xmenu.c (popup_get_selection): For ButtonRelease event,
	clear dpyinfo->grabbed.

	* window.c (temp_output_buffer_show): Select the chosen window
	temporarily for running temp-buffer-show-hook.
	(syms_of_window): Fix typo.

	* s/osf1.h: Don't include alloca.h, string.h here.
	(malloc. realloc, xmalloc, xrealloc): Declarations moved to m/alpha.h.
	* m/alpha.h: Include alloca.h, string.h here.
	(malloc. realloc, xmalloc, xrealloc): Declarations moved from s/osf1.h.

	* xdisp.c (display_mode_line): Use push_frame_kboard, pop_frame_kboard.

	* xfns.c (x_window): Copy the frame name to non-Lisp string.

	* keyboard.c (any_kboard_state): Renamed from unlock_kboard.
	Define it unconditionally, but it's a no-op unless MULTI_KBOARD.
	(single_kboard_state): New function.
	(push_frame_kboard, pop_frame_kboard): New functions.
	(single_kboard): Renamed from kboard_locked.

	* keyboard.h (single_kboard): Renamed from kboard_locked.
	All refs renamed.
	(struct kboard): Move flag fields to the end, and make them chars.
	Delete the `unused' field.

	* callint.c (Fcall_interactively): Call single_kboard_state
	to switch to the single-kboard state.
	* minibuf.c (read_minibuf): Call single_kboard_state
	to switch to the single-kboard state.

	* alloc.c, data.c, macros.c, print.c: Include keyboard.h.

	* Makefile.in.in (alloc.o, data.o, macros.o, print.o):
	Depend on keyboard.h.

	* xterm.h (x_display_info): Use `struct kboard', not KBOARD.
	* frame.h (struct frame): Use `struct kboard', not KBOARD.

	* keyboard.h (KBOARD, etc): Moved from lisp.h.
	(struct kboard): Renamed from struct KBOARD.
	* lisp.h (KBOARD, etc): Moved to keyboard.h.

Sun Apr  9 00:51:09 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (unlock_kboard): Do nothing with Vunread_command_events.
	(read_char): Clean up logic for reading from KBOARD queues.

	* xfns.c (defined_color): Fix typo (duplicate +).

	* keyboard.c (kbd_buffer_get_event): Set copy by assignment, not init.

	* xterm.c (XTread_socket): Make deiconify event
	only if frame was iconified.

	* xrdb.c (xmalloc, xrealloc): Declare them here.

Sat Apr  8 20:42:00 1995  Erik Naggum  <erik@@naggum.no>

	* editfns.c (Fencode_time): New function, to match `decode-time'.

Sat Apr  8 00:19:38 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* intervals.c (set_point): When skipping intangible text,
	stop where property value changes.

	* indent.c (Fmove_to_column): Fix minor bug in prev change.

	* lread.c (read_escape): Undo Nov 15 change.

	* xdisp.c (display_mode_line): Test mode_line_inverse_video
	before highlighting partial-width mode line.

	* xmenu.c (popup_activate_callback): Increment popup_activated_flag.
	(popup_deactivate_callback): Decrement it.

	* s/linux.h (HAVE_SELECT, HAVE_TIMEVAL): Definitions deleted.
	config.h should handle them.

	* xdisp.c (redisplay): Don't call update_frame for non-selected
	termcap frame.

Sat Apr  8 04:37:32 1995  Noah Friedman  <friedman@@prep.ai.mit.edu>

        * window.c (Fnext_window, Fprevious_window): If all_frames is a
        frame and window is not on that frame, return the first window on
        that frame.

Fri Apr  7 19:59:01 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* lread.c (init_lread): Add site-lisp under the installation dir
	to Vload_path if that exists.

	* s/osf1.h (xmalloc, xrealloc): Declare them.

	* frame.c (make_terminal_frame): Use Emacs, Emacs-2, ... as name.

	* xdisp.c (decode_mode_spec): Add %F code.
	Order alternatives alphabetically.

	* s/aix4.h: Use "..." in #include.

Fri Apr  7 10:16:44 1995  Morten Welinder  <terra+@@cs.cmu.edu>

	* s/osf1.h: Include alloca.h, string.h.  Test NOT_C_CODE.

	* m/alpha.h (SPECIAL_EMACS_INT): Defined.

Fri Apr  7 19:09:53 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (kbd_buffer_get_event): Check for frame buried in a cons.
	Delete menu_bar_event handling code.
	(make_lispy_event): Move it here, so it gets a switch-frame if needed.

	* callint.c (Fcall_interactively): Fix previous change.

Fri Apr  7 00:02:45 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* doprnt.c (xmalloc, xrealloc): Declare them here.

	* callint.c (Fcall_interactively): `+' is reserved for user changes.

	* process.c (read_process_output_error_handler)
	(exec_sentinel_error_handler): Fsleep_for wants two args.

	* xfns.c (validate_x_resource_name): Change invalid chars to `_'.

	* doprnt.c (doprnt): Cast pointer to int by way of EMACS_INT.

	* xmenu.c (menubar_selection_callback, dialog_selection_callback)
	(single_submenu): Cast pointer to int by way of EMACS_INT.

	* floatfns.c (Flogb): Use EMACS_INT for `value'.

	* editfns.c (Fformat): Cast int to pointer by way of EMACS_INT.

	* search.c (search_buffer): Avoid casting trt to int.
	Use EMACS_INT for comparing pointers.

	* buffer.h (Fdelete_overlays): Add declaration.

	* keyboard.c (parse_modifiers): Use type EMACS_INT for `modifiers'.

	* xterm.c (dumpglyphs): Cast FACE_DEFAULT to (XFontStruct *)
	for comparison with face->font.

	* sysdep.c (bcopy): If NEED_BCOPY, do compile this.

	* m/ncr386.h: New file.

	* s/hpux9.h (LD_SWITCH_X_DEFAULT): New definition.
	(C_SWITCH_X_DEFAULT): New definition.

	* doc.c (get_doc_string): In (STRING . INTEGER), if INTEGER
	is negative, negate it.

	* eval.c (Fuser_variable_p): For (STRING . INTEGER), test sign.

	* s/sol2.h (C_SWITCH_X_SYSTEM): Defined.

	* s/usg5-4-2.h (LIBS_SYSTEM): New override definition.

	* lisp.h (XMISCTYPE): New macro.
	(union Lisp_Misc): Delete the `type' field.
	Use XMISCTYPE instead of that.

	* alloc.c (Fmake_marker, mark_object): Use XMISCTYPE.
	(clear_marks, gc_sweep): Use u_marker union elt to extrat misc type.

	* lread.c (defvar_int, defvar_bool, defvar_lisp_nopro, defvar_kboard)
	(defvar_per_buffer): Use XMISCTYPE.
	* print.c (print): Use XMISCTYPE.
	* fns.c (internal_equal): Use XMISCTYPE.
	* buffer.c (Fmake_overlay): Use XMISCTYPE.
	* data.c (Ftype_of, do_symval_forwarding, store_symval_forwarding)
	(find_symbol_value, Fmake_variable_buffer_local, Fmake_local_variable):
	Use XMISCTYPE.

	* xdisp.c (prepare_menu_bars): Do the frame titles last.

Thu Apr  6 17:54:20 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfaces.c (intern_face): Cast FACE_DEFAULT to (XFontStruct *)
	for comparison with face->font.

	* puresize.h (CHECK_IMPURE): Remove & from before my_edata.

	* editfns.c (Fformat_time_string): Use emacs_strftime.  Doc fix.

	* Makefile.in.in (strftime.o): Define strftime as emacs_strftime.

	* xmenu.c (frame_vector): New static variable.
	(syms_of_xmenu): staticpro it.
	(frame_vector_add_frame): New function.
	(set_frame_menubar): Use frame_vector; use index as the widget id.
	(free_frame_menubar): Likewise.  Remove the frame from frame_vector.
	(menubar_selection_callback): Use frame_vector to turn id into frame.

	* emacs.c (main): Cast arg to `brk'.

	* sysdep.c (init_sys_modes): Use TCOON only if defined.

	* s/netbsd.h (NO_MATHERR): Defined.
	(LIBS_SYSTEM): Definition deleted.

	* unexsunos4.c: Treat __NetBSD__ like __FreeBSD__.

Thu Apr  6 14:49:30 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* fns.c (Fplist_put): Fix missing \n\.

	* xfns.c (x_window_to_frame): Skip non-X frames before testing dpyinfo.
	[USE_X_TOOLKIT] (x_any_window_to_frame, x_top_window_to_frame): Ditto.

Thu Apr  6 08:00:06 1995  Simon Marshall  <simon@@duality.gnu.ai.mit.edu>

	* data.c (Fcar, Fcdr, Fsetcar, Fsetcdr): Arg name doc fixes.

Thu Apr  6 01:18:11 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* puresize.h (BASE_PURESIZE): Increment to 310000.

	* indent.c (string_width): New function.
	(vmotion): Compute the width of minibuf_prompt
	if it isn't already known.

	* buffer.c (Fkill_buffer): Call reset_buffer_local_variables
	and swap_out_buffer_local_variables.
	(swap_out_buffer_local_variables): New subroutine.
	(Fkill_all_local_variables): Use that subroutine.

	* search.c (Flooking_at, Fposix_looking_at): Change arg name.

Wed Apr  5 22:52:55 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* frame.c (Fraise_frame, Flower_frame): Now interactive.

Tue Apr  4 22:53:24 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* lisp.h: Declare Ffetch_bytecode.
	* eval.c (Ffetch_bytecode): New function.
	(funcall_lambda): Call it.
	(syms_of_eval): defsubr it.

Mon Apr  3 17:48:22 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* xfns.c (x_window_to_frame): New arg DPYINFO.  All callers changed.
	(x_any_window_to_frame, x_top_window_to_frame): Likewise.

	* lisp.h (Vmessage_log_max): Declare this variable.
	(message_nolog): Declare this function.
	* emacs.c (main): Start with an empty message log.
	* xdisp.c (message_nolog): New function.
	* fns.c (Fy_or_n_p): Don't log prompt.
	(Fyes_or_no_p): Fix typo in doc string.

Sat Apr  1 01:13:50 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* lread.c (oblookup): Save bucket num in oblookup_last_bucket_number.
	(Funintern): New function.
	(syms_of_lread): defsubr it.

Fri Mar 31 23:31:22 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* dired.c (Fdirectory_files): Fix bug in IS_ANY_SEP usage
	introduced in Oct 30 change.

Fri Mar 31 14:25:43 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* keyboard.c (command_loop_1): If we ignore force_start, then also
	ignore beg_unchanged and end_unchanged.

Fri Mar 31 09:55:41 1995  Michael Ernst  <mernst@@research.microsoft.com>

	* lread.c (isfloat_string): Permit trailing space.

Thu Mar 30 19:07:04 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (event_to_kboard): Ignore dead frames.
	(kbd_buffer_get_event): In batch mode, use current_kboard.

	* xterm.c (x_delete_display): Extract kboard deletion, for modularity.
	* keyboard.c (wipe_kboard): Make this function static.
	(delete_kboard): New function, extracted from x_delete_display.

	* lisp.h: Declare function delete_kboard.

	* xterm.h (struct x_display_info): New member cut_buffers_initialized.
	* xterm.c (x_term_init): Initialize it.
	* xselect.c (Fx_store_cut_buffer_internal): Use the flag in the
	frame's x_display_info, not a global flag.
	(Fx_rotate_cut_buffers_internal): Likewise.

	* emacs.c (sort_args): Skip strncmp if longname is a null pointer.

Thu Mar 30 04:22:00 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* data.c (Fmod): Fix the final adjustment, when i2 < 0 and i1 == 0.

Wed Mar 29 01:07:28 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* frame.c [MULTI_FRAME] (Factive_minibuffer_window): New function.
	[MULTI_FRAME] (syms_of_frame): Defsubr it.

Tue Mar 28 18:32:08 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* process.c (Fsignal_process): SIGCODE is a symbol, not a string.

Tue Mar 28 02:38:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fns.c (Fconcat): Undo previous change.

Mon Mar 27 16:10:46 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fns.c (Fget, Fput): Fetch and store symbol's plist directly.

Mon Mar 27 10:26:49 1995  Boris Goldowsky  <boris@@cs.rochester.edu>

	* fns.c (Fplist_put, Fplist_get): New fns.
	(Fget): Use Fplist_get to do the work.
	(Fput): Use Fplist_put to do the work.

	* textprop.c (Vdefault_text_properties): name changed from
	Vdefault_properties.
	* intervals.h: As above.
	* intervals.c (textget): As above.

	* intervals.c (textget_direct): Fn deleted.
	(textget, verify_interval_modification): Use Fplist_get instead.
	* intervals.h: Remove declaration.

Sun Mar 26 03:45:13 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (XTmouse_position): New arg `insist'.
	* ntinevt.c (win32_mouse_position): New arg `insist'.
	* msdos.c (mouse_get_pos): New arg `insist'.

	* xmenu.c (Fx_popup_menu): Pass 1 for `insist' arg.
	(Fx_popup_dialog): Likewise.
	* frame.c (Fmouse_position--both definitions): Pass 0 for `insist'.
	(Fmouse_pixel_position): Pass 0 for `insist'.
	Add HAVE_MOUSE conditional.
	* keyboard.c (kbd_buffer_get_event): Pass 0 for `insist' arg.

	* m/intel386.h (C_SWITCH_SYSTEM): Don't #undef or define it.
 	[SOLARIS2, SOLARIS2_4, !__GNUC__] (C_SWITCH_MACHINE): Define instead.

Sun Mar 26 03:02:28 1995  Germano Caronni <caronni@@tik.ethz.ch>

	* ralloc.c (r_re_alloc): Correct realloc behavior--allow shrinking
 	of blocks while reallocating, if shrinking by more than one page.
	(relocate_blocs, resize_blocs): Added failsafe to protect future
	calling of these routines when in frozen state.
	(r_alloc_thaw): Added call to r_alloc_init.
	(relocate_blocks, resize_bloc, r_alloc_sbrk, r_alloc_thaw): Extended
	functionality to let ralloc package work in frozen state, allowing
	for the existence of unused blocks.

Sat Mar 25 21:02:37 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* process.c (Fsignal_process): Allow signal names as well as numbers.

Fri Mar 24 23:47:47 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* editfns.c (init_editfns): Use NAME envvar to init user-full-name.

Fri Mar 24 17:38:35 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* textprop.c (Fnext_property_change): Fix previous change.

Thu Mar 23 19:40:04  Kevin Rodgers <kevinr@@ihs.com>

	* print.c (temp_output_buffer_setup): (Re)set the default
	directory of the temp buffer to that of the current buffer.

Thu Mar 23 16:30:17 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* buffer.c (syms_of_buffer): Doc fix.

	* xdisp.c (redisplay): Make sure pause is set before used.
	Delete unused vars.
	(redisplay_window): Make sure update_mode_line is set before used.
	If startp might not have been set, use w->start directly.
	(try_window_id): In the easy case, find cursor pos before returning.
	(try_window_id): Stop scan at bottom of window, not one line later.
	Don't fail on account of continuation line below window.
	(redisplay_window): Stop scan at bottom of window.
	Fix reversed condition.

	* Makefile.in.in (FRAME_SUPPORT, MSDOS_SUPPORT): Don't list face
	and mouse related files here.
	(FACE_SUPPORT, MOUSE_SUPPORT): New lists.
	(FACE_SUPPORT): Add facemenu.elc.
	(WINNT_SUPPORT): New list.
	(lisp): Add format.elc, FACE_SUPPORT, MOUSE_SUPPORT, WINNT_SUPPORT.

Thu Mar 23 12:01:22 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* m/sparc.h: Don't include alloca.h if NOT_C_CODE.

	* m/mips-siemens.h (UNEXEC): Override the definition.
  	(LIBS_DEBUG, ORDINARY_LINK): Add #undefs.

Wed Mar 22 12:43:34 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* dispnew.c (direct_output_forward_char): Don't use direct output
	at an overlay boundary.
	* buffer.c (overlay_touches_p): New function.
	* lisp.h: Declare overlay_touches_p.

	* fns.c (concat): Treat integers as characters, not strings.
	This makes `concat' more like `insert'.

	* window.c (syms_of_window): Fix missing \n\.
	* keymap.c (Fwhere_is_internal): Fix missing \n\.
	* fileio.c (syms_of_fileio): Fix missing \n\.

Tue Mar 21 01:15:00 1995  Marco Walther  <Marco.Walther@@mch.sni.de.>

	* unexelfsni.c: New file.

	* m/mips-siemens.h: Total rewrite.

Mon Mar 20 18:32:13 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xdisp.c (redisplay_window): Skip the only-point-has-changed
	optimization if updating the window's mode line.

Sun Mar 19 13:47:20 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xdisp.c (invisible_p, invisible_ellipsis_p): Handle list
	as invisible property value.

Sat Mar 18 18:07:21 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xdisp.c (display_menu_bar): Just one space between menu items.

Sat Mar 18 06:15:50 1995  Ted Lemon  <mellon@@toccata.fugue.com>

	* emacs.c (dump-emacs-data, dump-emacs): Declare my_edata as
	char array.
	* lastfile.c (my_edata): Declare as char array, not int.
	* puresize.h (CHECK_IMPURE): Declare my_edata as char array.

Fri Mar 17 20:30:51 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* lread.c (Vload_read_function): New variable.
	(readevalloop): Use that variable.
	(syms_of_lread): Set up Lisp variable.

Fri Mar 17 13:16:53 1995  Boris Goldowsky  <boris@@spiff.gnu.ai.mit.edu>

	* buffer.h (struct buffer): Add file_format member.

	* buffer.c (reset_buffer): Reset file_format element too.
	(init_buffer_once): Define file_format flag; reset file_format.
	(syms_of_buffer): New vbl buffer-file-format.

	* fileio.c (Finsert_file_contents): Call format-decode.
	(build_annotations): Call format-annotate-function for each element of
	buffer-file-format.
	(Vauto_save_file_format): New vbl.
	(build_annotations): Use it.

Fri Mar 17 02:40:46 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* alloc.c (init_alloc_once): Increase gc_cons_threshold to 300000.

Wed Mar 15 16:37:33 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (x_decode_color): Don't use cdef if defined_color failed.

Wed Mar 15 15:10:47 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* config.h.in [HAVE_X_WINDOWS] (MULTI_KBOARD): Define this symbol.

Tue Mar 14 19:03:03 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* lisp.h (struct KBOARD, MULTI_KBOARD, current_kboard, all_kboards):
	(Lisp_Misc_Kboard_Objfwd, Lisp_Kboard_Objfwd, XKBOARD_OBJFWD):
	(KBOARD_OBJFWDP, GC_KBOARD_OBJFWDP, kboard_locked, the_only_kboard):
	(DEFVAR_KBOARD): Renamed from PERDISPLAY, MULTI_PERDISPLAY,
	current_perdisplay, all_perdisplays, Lisp_Misc_Display_Objfwd,
	Lisp_Display_Objfwd, XDISPLAY_OBJFWD, DISPLAY_OBJFWDP,
	GC_DISPLAY_OBJFWDP, display_locked, the_only_perdisplay,
	DEFVAR_DISPLAY.  All uses changed.
	(struct KBOARD): New member reference_count.
	(initial_kboard): Declare this var.
	* .gdbinit (xkbobjfwd): Renamed from xdispobjfwd.
	* frame.h (struct frame): New member kboard.
	(FRAME_KBOARD): Accessor macro for that member, replacing
	get_perdisplay.
	* xterm.h (struct x_display_info): member kboard (formerly
	perdisplay) is now a pointer, not an actual struct.
	(get_perdisplay, get_perdisplay_macro): Deleted.
	* xfns.c (Fx_create_frame): set the frame's kboard member.
	* xterm.c (get_perdisplay): Deleted.
	(same_x_server): New function.
	(x_term_init): If this display shares a keyboard with one we've
	already opened, then share the structure.
	(x_delete_display): Don't delete the kboard until the reference
	count becomes zero.
	* lread.c (defvar_kboard): Renamed from defvar_display.
	* alloc.c (mark_kboards): Renamed from mark_perdisplays.
	* frame.c (make_frame): Initialize kboard member.
	(make_terminal_frame): Create initial_kboard if not already set.
	* keyboard.c (unlock_kboard): Renamed from unlock_display.
	(wrong_kboard_jmpbuf): Renamed from wrong_display_jmpbuf.
	(event_to_kboard): Renamed from event_to_perdisplay.
	(kbd_buffer_get_event): If no associated kboard, store
	current_kboard rather than the first kboard in the global list.
	(init_kboard): Renamed from init_perdisplay.  Initialize reference
	count.
	(wipe_kboard): Renamed from wipe_perdisplay.
	* data.c (find_symbol_value): current_perdisplay now is never null.
	(store_symval_forwarding, do_symval_forwarding): Likewise.

Tue Mar 14 00:45:13 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* data.c (Fash): Fix previous change.

	* buffer.c (Fmake_indirect_buffer): Invert the arguments.

	* marker.c (unchain_marker): Allow differing buffers
	as long as they have the same text.

Mon Mar 13 16:47:12 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* keyboard.c (event_to_perdisplay): New function.
	(kbd_buffer_get_event): Use event_to_perdisplay.
	(kbd_buffer_store_event): If C-g arrives while we're in the run
	state on behalf of another display, just clear the queue and
	deposit the C-g to be read later.
	(read_key_sequence): After a throw, unwind delayed_switch_frame as
	well as keybuf.  Don't insert an extra switch-frame if empty.

	* print.c (print): current_perdisplay now is never null.
	* callint.c (clear_prefix_arg): Likewise.
	* macros.c (Fexecute_kbd_macro): Likewise.

Mon Mar 13 02:19:09 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* minibuf.c (read_minibuf): Save Voverriding_local_map.
	(read_minibuf_unwind): Restore Voverriding_local_map.

Mon Mar 13 01:33:40 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* unexelf.c (unexec): Adjust the file offset of sections located
	after the section header table.

Sun Mar 12 21:49:33 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* keyboard.c (unlock_display): current_perdisplay now is never null.
	(cmd_error, command_loop_1, read_char): Likewise.
	(kbd_buffer_get_event, read_key_sequence): Likewise.
	(read_char): Handle synchronous quit_char on a different display.
	(read_char): Rewrite queue-searching code.
	(read_key_sequence): Save selected_frame.
	(init_keyboard): Initialize current_perdisplay.

Sun Mar 12 00:01:03 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (parse_modifiers_uncached): Delete the code for
	multi-character modifiers and for recognizing a modifier alone.
	(parse_solitary_modifier): New function.
	(convert_event_type_list): Use parse_solitary_modifier.
	Also convert symbol A to character A.
	Handle shift modifier with lower-case letters.

	* window.c (Fdisplay_buffer): Fix prev change--return sel window.

	* indent.c (compute_motion, Fmove_to_column, current_column)
	(character_width): Let display table handle \n, \r, \t.
	(compute_motion): Fix logic in previous change wrt skipping invisible.

Sat Mar 11 01:01:42 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xdisp.c (display_text_line): When setting selective_rlen,
	ignore whether selective display is on or off.

	* textprop.c (Fnext_property_change): Handle LIMIT = t.

	* indent.c (compute_motion): Call recenter_overlay_lists sooner.
	Use Fnext_property_change to get a quick lower bound for
	where `invisible' changes.

Fri Mar 10 19:50:03 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* data.c (Fash, Flsh): Change arg names.

Thu Mar  9 18:45:06 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* intervals.h (TEXT_PROP_MEANS_INVISIBLE): New macro.
	(TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS): New macro.

	* xdisp.c (display_text_line, try_window): Check `invisible' prop
	using TEXT_PROP_MEANS_INVISIBLE.
	(display_text_line): Check TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS;
	if it says so, use ellipses after invisible text.
	(invisible_p, invisible_ellipsis_p): New functions.

	* indent.c (compute_motion, vmotion): Check `invisible' prop
	using TEXT_PROP_MEANS_INVISIBLE.

	* buffer.h (struct buffer): New field `invisibility_spec'.
	* buffer.c (reset_buffer_local_variables): Init invisibility.
	(init_buffer_once): Set up buffer_local_flags for it.
	(syms_of_buffer): New variable `buffer-invisibility-spec'.

Wed Mar  8 21:57:52 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* syntax.c (Fforward_comment): Always clear immediate_quit for return.

Wed Mar  8 17:47:37 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* sysdep.c (read_input_waiting): Fix Lisp_Object vs. int problem.

Tue Mar  7 19:41:09 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* lisp.h (struct PERDISPLAY): New member kbd_queue_has_data.
	* keyboard.c (unlock_display): If adding to kbd_queue, set
	kbd_queue_has_data.
	(read_char): Set and clear kbd_queue_has_data appropriately, but
	leave it unset when we push back an incomplete sequence.
	(read_char): Take the longjmp even if current_perdisplay was null.
	(readable_events): Check kbd_queue_has_data instead of kbd_queue.
	(init_perdisplay): Initialize kbd_queue_has_data.

	* keyboard.c (command_loop_1): Removed inline code for prefix args.
	* callint.c (current_prefix_partial): New var.
	(Funiversal_argument): New function, formerly inlined in keyboard.c.
	(Fnegative_argument, Fdigit_argument): Likewise.
	(clear_prefix_arg): Moved here from keyboard.c.
	Don't clear the internal state if we're still building a prefix arg.
	(finalize_prefix_arg, describe_prefix_arg): Moved from keyboard.c.
	(syms_of_callint): defsubr the new functions.
	* lisp.h: Declare new var and functions.

	* lisp.h (struct PERDISPLAY): New member Vlast_kbd_macro.
	* alloc.c (mark_perdisplays): Mark it here.
	* keyboard.c (init_perdisplay): Initialize it here.

	* macros.c (Fstart_kbd_macro): Access Vlast_kbd_macro via perdisplay.
	(Fend_kbd_macro, Fcall_last_kbd_macro): Likewise.
	(init_macros): Delete initialization.
	(syms_of_macros): Use DEFVAR_DISPLAY for Vlast_kbd_macro.
	Doc fix for executing-macro, executing-kbd-macro, last-kbd-macro.

	* keyboard.c (cmd_error): Bind Vprint_level and Vprint_length.

Mon Mar  6 23:55:38 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (command_loop_1): Fix test for prefix arg.

Mon Mar  6 10:17:14 1995  Boris Goldowsky  <boris@@cs.rochester.edu>

	* textprop.c (Vdefault_properties): New variable.
	* intervals.h: Declare it.
	* intervals.c (textget): Check it.

Fri Mar  3 02:01:52 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* callint.c (Fcall_interactively): Fix Feb 22 change.

	* keyboard.c (read_key_sequence): Update orig_local_map
	for some additional gotos to replay_sequence.

	* process.c (exec_sentinel, read_process_output): If running filter
	or sentinel changes the local map, call record_asynch_buffer_change.

Thu Mar  2 20:45:08 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* xdisp.c (display_mode_line): Temporarily set current_perdisplay
	to reference the frame we're updating.

	* lisp.h (struct PERDISPLAY): New members defining_kbd_macro,
	kbd_macro_buffer, kbd_macro_ptr, kbd_macro_end, kbd_macro_bufsize.
	* macros.h (defining_kbd_macro): Delete declaration.
	* macros.c (defining_kbd_macro): Delete; now part of perdisplay.
	All uses changed.
	(kbd_macro_buffer, kbd_macro_ptr, kbd_macro_end): Likewise.
	(kbd_macro_bufsize): Likewise.
	(Fstart_kbd_macro): Initialize kbd_macro_buffer if not already done.
	(init_macros): Delete initialization of defining_kbd_macro.
	(syms_of_macros): Delete initialization of kbd_macro_buffer.
	* keyboard.c (read_char_minibuf_menu_prompt): orig_defn_macro is
	now a Lisp_Object, not an int.
	(init_perdisplay): Initialize some of the new members.
	(wipe_perdisplay): Free kbd_macro_buffer.

	* keyboard.c (cmd_error): Allow current_perdisplay to be null.

	* keyboard.c (read_key_sequence): New arg can_return_switch_frame.
	All callers changed.
	(Fread_key_sequence): Likewise.
	* callint.c (Fcall_interactively): Defer switch-frame events when
	reading `k' or `K' specification.

Thu Mar  2 14:37:26 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* emacs.c (syms_of_emacs): Doc fix.

Thu Mar  2 02:28:04 1995  John Grabowski  <johng@@media.mit.edu>

	* xfns.c (defined_color): If colormap is full, find closest match.
	* xfaces.c (load_color): Call defined_color to allocate the color.

Wed Mar  1 01:58:34 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (x_connection_closed): Ignore non-X frames.
	Fix the logic for deleting frames that use separate minibuffers
	that are on the dead connection.

	* buffer.c (Fpop_to_buffer): Call Fset_buffer_major_mode
	if we create a buffer.

Tue Feb 28 18:33:11 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* keyboard.c (cmd_error): Use clear_prefix_arg.
	(internal_last_event_frame, Vlast_event_frame): Normal vars again.
	All uses changed.
	(Quniversal_argument, Qdigit_argument, Qnegative_argument): Declare.
	(clear_prefix_arg, finalize_prefix_arg, describe_prefix_arg): New fns.
	(command_loop_1): Handle digits and minus specially, when they're
	part of a prefix arg.
	Handle universal-argument and digit-argument and negative-argument
	bindings here, rather than doing I/O in the Lisp code.
	(read_char): When reading switch-frame events from the side queue,
	set internal_last_event_frame.
	(readable_events): Return non-zero if a side queue has data.
	(kbd_buffer_get_event): Don't abort if event has no associated frame.
	(read_key_sequence): Improve behavior when there's no current display.
	(init_perdisplay): Initialize the new members.
	* callint.c (Fcall_interactively, syms_of_callint): Undo Jan 31 change.
	(Vprefix_arg, Vcurrent_prefix_arg): Undo Jan 31 change.
	* mocklisp.c (Fml_provide_prefix_argument, Fml_prefix_argument_loop):
	Undo Jan 31 change.
	* minibuf.c (read_minibuf, read_minibuf_unwind): Undo Jan 31 change.
	* frame.c (do_switch_frame): Undo Feb 6 change.
	* macros.c (Fexecute_kbd_macro): Use clear_prefix_arg.
	* lisp.h (struct PERDISPLAY): Add prefix_factor, prefix_value,
	prefix_sign, prefix_partial.  Delete Vcurrent_prefix_arg and
	Vprefix_arg; those are now plain vars again.
	* alloc.c (mark_perdisplays): Update to reflect current Lisp_Objects.
	(NSTATICS): Increase to 768.

Tue Feb 28 12:56:36 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* frame.c (Fframep): Doc fix.

Tue Feb 28 00:20:50 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* callint.c (Fcall_interactively): Lock the display before
	executing the command, no matter how we execute it.

Sun Feb 26 02:44:35 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (convert_event_type_list): New function.
	(lucid_event_type_list_p): New function.
	(parse_modifiers_uncached): If MODIFIERS_END is -1,
	look for just a modifier.  Guts rewritten.

	* keymap.c (Fdefine_key): Handle Lucid-style (crtl backspace) etc.
	(Flookup_key): Likewise.

	* callproc.c (Fcall_process): Extend BUFFER arg so it can specify
	a separate output file for stderr output.
	(Fcall_process_region): Doc fix.

Sat Feb 25 03:31:33 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xmenu.c (Fx_popup_menu): Init f from selected_frame
	before calling mouse_position_hook.

	* window.c (Vsame_window_buffer_names, Vsame_window_regexps): New vars.
	(syms_of_window): Set up Lisp vars.
	(Fdisplay_buffer): Use those vars--if requested, use current window.

Fri Feb 24 23:03:10 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (unlock_display): New function.
	(cmd_error, command_loop_1): Call it when appropriate.
	(read_char): If no current display, don't try to echo.

	* term.c (term_init) [TERMINFO]: Make error message more accurate.

Thu Feb 23 22:35:58 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keymap.c (Fglobal_set_key, Flocal_set_key, Fglobal_unset_key)
	(Flocal_unset_key): Functions deleted (moved to simple.el).
	(syms_of_keymap): Don't defsubr them.

Thu Feb 23 21:25:41 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (display_locked): New var to indicate when we're in
	the run state.  current_perdisplay is now meaningful in the wait
	state as well.
	(cmd_error): Clear display_locked in addition to current_perdisplay.
	(command_loop_1): outer_perdisplay renamed from global_perdisplay.
	Restore display_locked as well as current_perdisplay.
	(read_char): read_char_perdisplay merged with current_perdisplay.
	(read_key_sequence): Likewise.
	* minibuf.c (read_minibuf): Make sure the display is locked.
	* callint.c (Fcall_interactively): If the display hasn't already
	been locked by reading from the minibuffer, lock it before
	executing the command.
	* lisp.h (display_locked): Declare this var.

Thu Feb 23 01:00:04 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* window.c (syms_of_window): Doc fixes.

	* keymap.c (Fwhere_is_internal): If FIRSTONLY is not nil or non-ascii,
	completely ignore menu bindings.
	* xmenu.c (menu_item_equiv_key): Delete the code that rejected
	menu bindings returned by Fwhere_is_internal.

	* window.c (window_loop): Handle special display buffer frames
	for DELETE_BUFFER_WINDOWS as for UNSHOW_BUFFER.

Wed Feb 22 23:54:22 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* callint.c (Fcall_interactively): Use markers temporarily in
	args vector to stand for point and mark values; replace them
	with integers just before calling the command.

Tue Feb 21 22:01:17 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* lisp.h (struct PERDISPLAY): New member kbd_queue.
	Delete obsolete members kbd_buffer_frame_or_window, kbd_buffer,
	kbd_fetch_ptr, kbd_store_ptr; these are regular vars again.
	* alloc.c (mark_perdisplays): Mark kbd_queue.
	Remove reference to obsolete kbd_buffer_frame_or_window.
	* xmenu.c (menubar_selection_callback): frame_or_window field of a
	menu-bar event now includes both the frame and the magic cookie.
	* keyboard.c (kbd_buffer_frame_or_window): Restored old var.
	(kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Likewise.
	(read_char_perdisplay): New var.
	(read_char): Search all appropriate perdisplay objects, and do the
	right thing if the next event comes from a different source.
	(read_key_sequence): If there's a change of display in mid-stream,
	retreat and try reading the new display.
	(find_active_event_queue): Function deleted.  All callers changed
	to just test the main kbd_buffer instead.
	(kbd_buffer_store_event): Write to the main kbd_buffer again.
	(kbd_buffer_get_event): Read from the main kbd_buffer again.
	Now returns a perdisplay pointer in addition to a lispy event.
	(Fdiscard_input, swallow_events): Use the main kbd_buffer again.
	(stuff_buffered_input): Likewise.
	(init_perdisplay): Initialize member kbd_queue.
	Remove references to obsolete members.
	(wipe_perdisplay): Remove obsolete reference.
	(init_keyboard, syms_of_keyboard): Restore initialization of vars.

Tue Feb 21 20:19:45 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xdisp.c (display_string, display_text_line):
	Display table overrides ordinary display even for \t, \n, etc.

Sun Feb 19 14:06:47 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* frame.c (Fmake_terminal_frame): Doc fix.

Sat Feb 18 04:05:41 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* s/hpux9.h (LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
	Add #undef's to cancel hpux8.h's definitions.

Fri Feb 17 03:44:55 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* config.h.in (MULTI_FRAME): Define unconditionally.

Thu Feb 16 01:36:39 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* dispnew.c (change_frame_size_1): New subroutine.
	(change_frame_size): If f is termcap frame, change size of all of them.
	(remake_frame_glyphs): No longer static.
	Don't mark nonselected termcap frame as garbaged.

	* term.c (calculate_costs): Update max_frame_height, max_frame_width.
	They determine length of chars_wasted, copybuf and char_ins_del_vector.

	* xdisp.c (redisplay): Don't display nonselected terminal frames.

	* frame.c (Fmake_terminal_frame): New function.
	(syms_of_frame): defsubr it.
	(make_terminal_frame): Init Vframe_list only the first time.
	Set visible and async_visible directly.
	Give each terminal frame a unique name.

	* ralloc.c (r_alloc_check): Return void.
	(r_alloc_freeze): Initialize if it hasn't been done.
	(r_re_alloc, r_alloc_free, r_alloc_sbrk): Likewise.
	(r_alloc_init): Set __malloc_extra_blocks.

Wed Feb 15 07:10:41 1995  Paul Reilly  <pmr@@geech.gnu.ai.mit.edu>

	* s/dgux.h (LIB_MOTIF): Add -lgen to provide provide the symbols
	`regcmp' and `regex'.

Wed Feb 15 03:05:34 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* xmenu.c (xmenu_show, both versions): New arg for_click.
	(Fx_popup_menu): Compute it and pass it.

Tue Feb 14 19:02:33 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* callint.c: Doc fix.

Tue Feb 14 21:48:14 1995  Paul Reilly  <pmr@@geech.gnu.ai.mit.edu>

	* xterm.c (x_bitmap_icon): Fix test for unallocated icon bitmap.

Tue Feb 14 16:33:49 1995  Richard Stallman  <rms@@geech.gnu.ai.mit.edu>

	* filelock.c: (unlock_buffer, unlock_all_files, Flock_buffer)
	(Funlock_buffer): Use buffer's file_truename, not filename.

	* buffer.c (syms_of_buffer): Set up Lisp var buffer-file-truename.
	(init_buffer_once): Set up flag and default value for file_truename.
	(reset_buffer): Init file_truename slot.

	* buffer.h (struct buffer): New field file_truename.

	* ralloc.c (r_alloc_free): Call refill_memory_reserve only if emacs.

	Include getpagesize.h unconditionally.
	(free_bloc): Don't die if bloc->next or bloc->prev is null.
	[!emacs] (bzero): New macro definition.

	* keyboard.c (input_poll_signal): Add ignored argument.
	(interrupt_signal): Likewise.

	* dispnew.c (window_change_signal): Add ignored argument.

	* process.c (Fstart_process): Make process marker point into proc buf.

	* xterm.c (x_display_bar_cursor): Use frame's cursor_width.

	(x_connection_signal): New function.
	(x_initialize): Use it as signal handler.

	* xfns.c (x_set_cursor_type): Set cursor_width field.
	Handle args of form (bar . WIDTH).

	* xterm.h (struct x_display): New element cursor_width.

Tue Feb 14 04:15:32 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* filelock.c (unlock_buffer, unlock_all_files, Flock_buffer)
	(Funlock_buffer): Use buffer's file_truename, not filename.

	* buffer.h (struct buffer): New field file_truename.
	* buffer.c (syms_of_buffer): Set up Lisp var buffer-file-truename.
	(init_buffer_once): Set up flag and default value for file_truename.
	(reset_buffer): Init file_truename slot.

	* xterm.h (struct x_display): New element cursor_width.
	* xfns.c (x_set_cursor_type): Set cursor_width field.
	Handle args of form (bar . WIDTH).
	* xterm.c (x_display_bar_cursor): Use frame's cursor_width.

Mon Feb 13 01:32:38 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* m/iris4d.h (STACK_DIRECTION): Undef before defining.
	[__GNUC__] (C_SWITCH_MACHINE): Remove -cckr.
	Add -32, only if IRIX_FORCE_32_BITS.
	* s/irix5-0.h [__GNUC__] (C_SWITCH_SYSTEM): Defined.
	* s/irix4-0.h [__GNUC__] (C_SWITCH_SYSTEM): Define this.
	(C_SWITCH_MACHINE): Instead of this.

	* ralloc.c (r_alloc_free): Call refill_memory_reserve only if emacs.

	* s/irix6-0.h: New file.

	* fileio.c (Fexpand_file_name): Copy default-directory
	before looking for a handler on the directory arg.

	* cmds.c (Vself_insert_face, Vself_insert_face_command): New variables.
	(syms_of_cmds): Set up Lisp variables.  Doc syntax fix.
	(internal_self_insert): Handle Vself_insert_face.

	* lisp.h (Qprocessp): Declared.

	* xdisp.c (redisplay_window): If we update the mode line,
	switch to the buffer for real, and switch back for real.

Sun Feb 12 00:22:18 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* xterm.c (x_connection_signal): New function.
	(x_initialize): Use it as signal handler.

	* keyboard.c (input_poll_signal): Add ignored argument.
	(interrupt_signal): Likewise.

	* dispnew.c (window_change_signal): Add ignored argument.

Sat Feb 11 16:56:31 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* fileio.c (Fexpand_file_name): Look for a handler for defalt.
	(syms_of_fileio): Minor rearrangement.

	* ralloc.c: Include getpagesize.h unconditionally.
	(free_bloc): Don't die if bloc->next or bloc->prev is null.
	[!emacs] (bzero): New macro definition.

	* xmenu.c (menu_item_equiv_key): If command is an alias,
	check only the underlying command for a keyboard equivalent.

	* s/netbsd.h (WAIT_USE_INT): Defined.
	* syswait.h: New alternative specified by WAIT_USE_INT.

	* process.c (Fstart_process): Make process marker point into proc buf.

Fri Feb 10 01:37:34 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* data.c: Rename arg OBJ to OBJECT in all type predicates.
	(Ftype_of): New function.

Thu Feb  9 04:30:09 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* xfaces.c (load_color): Ignore failure from XAllocColor.
	* xfns.c (x_decode_color): Ignore failure from defined_color.

	* m/intel386.h [SOLARIS2_4, !__GNUC__] (C_SWITCH_SYSTEM): Defined..
	[SOLARIS2_4, !__GNUC__]: Include alloca.h.

Tue Feb  7 18:50:09 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* Makefile.in.in (maintainer-clean): Renamed from realclean.
	Print warning message.

Tue Feb  7 18:18:54 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* keyboard.c (command_loop_1): Put back cancel_echoing call, if
	there's a perdisplay for it to apply to.
	(init_perdisplay): Initialize echo vars.

	* xdisp.c (message_log_check_duplicate): New function.
	(message_dolog): Delete previous line if the new one is a
	duplicate.  Include a counter if appropriate.
	Don't bother truncating the buffer until after adding newline.

Mon Feb  6 20:00:22 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* lisp.h (struct PERDISPLAY): Add Vlast_event_frame.
	Define internal_last_event_frame only #if MULTI_FRAME.
	Add some placeholders so we don't need to rebuild every time this
	struct changes.
	* keyboard.c (internal_last_event_frame, Vlast_event_frame):
	Deleted; now part of perdisplay.  All uses changed.
	(MOUSE_ACTIVITY_AVAILABLE) Deleted.
	(find_active_event_queue): New arg check_mouse.  All callers changed.
	(Vlast_event_frame): Change from DEFVAR_LISP to DEFVAR_DISPLAY.
	* frame.c (do_switch_frame): internal_last_event_frame is now in
	perdisplay.

Sun Feb  5 01:57:28 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* ralloc.c (r_alloc_size_in_use): New function.

	* alloc.c (emacs_blocked_malloc): Set __malloc_extra_blocks here.
	(malloc_hysteresis): New variable.
	(init_alloc_once): Initialize malloc_hysteresis.
	(buffer_memory_full): New function.
	* emacs.c (main): Undo previous change.
	* buffer.c (Fget_buffer_create): Call buffer_memory_full.

	* alloc.c (refill_memory_reserve): New function.
	* ralloc.c (r_alloc_free): Call refill_memory_reserve.

Sat Feb  4 00:24:07 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* alloc.c (SPARE_MEMORY): New macro.
	(emacs_blocked_free): If no spare_memory now, and enough free
	space is available, get a new spare.
	(__malloc_size_t, _bytes_used): Declared.
	(bytes_used_when_full): New variable.

	* frame.h (struct frame): New field window_sizes_changed.
	(FRAME_WINDOW_SIZES_CHANGED): New macro (two definitions).
	* window.c (Fdelete_window, set_window_height, set_window_width)
	(Fsplit_window, Fset_window_configuration): Set
	FRAME_WINDOW_SIZES_CHANGED to 1 in the frame being changed.
	* xdisp.c (Vwindow_size_change_functions): New variable.
	(prepare_menu_bars): Call those functions.  Add gcproing.
	(syms_of_xdisp): Set up Lisp variable.

	* alloc.c (syms_of_alloc): Improve memory exhausted error message.
	(init_alloc_once): Allocate spare_memory.
	(memory_full): Free spare_memory.

Fri Feb  3 22:15:54 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* xselect.c (x_get_foreign_selection, x_reply_selection_request):
	Use an unwind-protect to call x_stop_queuing_selection_requests.
	(some_frame_on_display): New function.
	(queue_selection_requests_unwind): New function.

Fri Feb  3 16:00:41 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* callint.c (syms_of_callint): Move DEFVAR_DISPLAY's ...
	* keyboard.c (syms_of_keyboard): ... to here.
	[MULTI_PERDISPLAY] (current_perdisplay, all_perdisplays): New vars.
	(find_active_event_queue): Search all perdisplays.
	(init_perdisplay, wipe_perdisplay): New functions.
	(init_keyboard): Move perdisplay initialization to init_perdisplay.
	(syms_of_keyboard): Likewise.
	(cmd_error): Cancel echoing here.
	(command_loop_1): Not here.

	* lisp.h (all_perdisplays): New var.
	(struct PERDISPLAY): New member next_perdisplay.
	* alloc.c (mark_perdisplays): New function.
	(Fgarbage_collect): Call it.
	* lread.c (defvar_display): Don't staticpro; these objects are now
	protected through mark_perdisplays.
	* xterm.c [MULTI_PERDISPLAY] (x_term_init): Initialize perdisplay.
	[MULTI_PERDISPLAY] (x_delete_display): Destroy perdisplay.
	(x_delete_display): Use xfree, not free.

	* lisp.h (defvar_display): Declare this function.
	(DEFVAR_DISPLAY): Use current_perdisplay, not get_perdisplay.
	* data.c (do_symval_forwarding): Likewise.
	(store_symval_forwarding, find_symbol_value): Likewise.
	* print.c (print): Likewise.
	* keyboard.c (echo_prompt, echo_char, echo_dash, echo): Likewise.
	(cancel_echoing, echo_length, read_char, Fdiscard_input): Likewise.
	(stuff_buffered_input): Likewise.

Fri Feb  3 04:27:31 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* xdisp.c (display_text_line): Deduct minibuf prompt from taboffset.
	(try_window): Deduct minibuf prompt from tab_offset, after 1st line.

Thu Feb  2 05:45:20 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* xselect.c (wait_for_property_change): Avoid unlikely timing error.

	* keyboard.c (kbd_buffer_get_event, swallow_events):
	Remove selection_request event from input queue before processing it.

Wed Feb  1 16:37:16 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* macros.c (Fexecute_kbd_macro): Clear prefix arg here.
	* keyboard.c (cmd_error): And here.
	(command_loop_1): Not here.
	(command_loop_1): Save original perdisplay in case we're already
	locked to a particular display.
	Move display-specific cleanup to end of main loop.
	Use perdisplay to access prefix arg.
	(Fcommand_execute, Fexecute_extended_command): Use perdisplay.

Wed Feb  1 14:35:15 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* xterm.c (x_unqueue_events): Arg is now a Display *.
	(x_start_queuing_selection_requests): Likewise.
	(x_stop_queuing_selection_requests): Likewise.
	* xselect.c (x_get_foreign_selection): Pass display to
	x_start_queueing_selection_events and x_stop_queueing_selection_events.

	* xselect.c (x_reply_selection_request): Call
	x_start_queueing_selection_events and x_stop_queueing_selection_events.
	Handle X protocol errors.

Tue Jan 31 17:30:45 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* callint.c (Fcall_interactively): Use perdisplay.
	(Vprefix_arg, Vcurrent_prefix_arg): Delete vars; now in perdisplay.
	(syms_of_callint): Use DEFVAR_DISPLAY for prefix-arg and
	current-prefix-arg.
	* minibuf.c (read_minibuf, read_minibuf_unwind): Use perdisplay.
	* mocklisp.c (Fml_provide_prefix_argument): Use perdisplay.
	(Fml_prefix_argument_loop): Likewise.
	* lisp.h (current_perdisplay): New var.
	(DEFVAR_DISPLAY): Add missing ampersand.
	(Vprefix_arg, Vcurrent_prefix_arg): Delete; now in perdisplay.

	* lread.c [!MULTI_PERDISPLAY] (defvar_display): Use staticpro.

Tue Jan 31 15:09:36 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* emacs.c (main) [REL_ALLOC]: Set __malloc_extra_blocks.

Mon Jan 30 23:54:38 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* buffer.c (syms_of_buffer): overwrite-mode doc fix.

Mon Jan 30 19:01:56 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* lisp.h [MULTI_PERDISPLAY]: Declare get_perdisplay as a function.
	* xterm.c [MULTI_PERDISPLAY] (get_perdisplay): Define this as an
	exported function.
	* xterm.h [MULTI_PERDISPLAY] (get_perdisplay): Define this as a
	macro, for sources that include this header.
	[MULTI_PERDISPLAY] (get_perdisplay_macro): Internal macro version.

	* lisp.h (DEFVAR_DISPLAY): New macro.
	* lread.c (defvar_display): New function.

	* lisp.h: Declare store_symval_forwarding here.
	* eval.c (specbind): Not here.
	(specbind): Handle display-local vars.
	* data.c (do_symval_forwarding): Handle display-local vars.
	(store_symval_forwarding, find_symbol_value): Likewise.
	(Fmake_variable_buffer_local): Disallow display-local vars here.
	(Fmake_local_variable): Likewise.

	* keyboard.c (syms_of_keyboard): Fix missing backslashes.

Sun Jan 29 17:01:33 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* fns.c (Frassoc): New function.
	(syms_of_fns): defsubr it.

Sat Jan 28 03:36:05 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* ecrt0.c: Renamed from crt0.c.
	* Makefile.in.in (ecrt0.o): Target renamed from crt0.o.
	(START_FILES): Use ecrt0.o.

Fri Jan 27 13:48:20 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* lisp.h (PERDISPLAY, the_only_perdisplay, get_perdisplay):
	Renamed from PERD, etc.  All uses changed.
	(ECHOBUFSIZE): New constant, replaces sizeof (echobuf).
	(enum Lisp_Misc_Type): New enumeration Lisp_Misc_Display_Local.
	(struct Lisp_Display_Objfwd): New structure.
	(XDISPLAY_OBJFWD, DISPLAY_OBJFWDP): Access the new structure.
	(union Lisp_Misc): Add new member.
	* keyboard.c (kbd_buffer_frame_or_window): Delete; now in perdisplay.
	(immediate_echo, echobuf, echoptr, echo_after_prompt): Likewise.
	(echo_prompt, echo_char, echo_dash): use perdisplay and ECHOBUFSIZE.
	(echo, cancel_echoing, echo_length, echo_truncate): Likewise.
	(read_char, kbd_buffer_store_event, kbd_buffer_get_event): Likewise.
	(Fdiscard_input, stuff_buffered_input): Likewise.
	(init_keyboard, syms_of_keyboard): Likewise.
	* alloc.c (mark_object): Ignore Lisp_Misc_Display_Objfwd objects.
	* print.c (print): Handle internal display-local object.
	* .gdbinit (xdispobjfwd): New macro.

	* xdisp.c (message_log_need_newline): This var is now static.
	(message_dolog): Set message_log_need_newline appropriately.
	Don't change it at all if message logging is currently disabled.
	(message_log_maybe_newline): New function.
	(message2): Use message_log_maybe_newline.
	* print.c (printchar, strout): Use message_log_maybe_newline.
	Leave all of the newline bookkeeping to message_dolog.
	* lisp.h (message_log_maybe_newline): Function declared.

	* xdisp.c (message_dolog): Rename " *Messages*" buffer to "*Messages*"

Fri Jan 27 04:44:35 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* minibuf.c (Fread_string): Add third arg HISTORY.
	* callint.c (Fcall_interactively): Pass new arg to Fread_string.

Fri Jan 27 02:20:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* insdel.c (modify_region): Clear point_before_scroll field.

Wed Jan 25 23:46:56 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* buffer.h (struct buffer): New field point_before_scroll.
	* buffer.c (init_buffer_once, syms_of_buffer):
	Set up buffer-local var point_before_scroll.
	(reset_buffer): Init point_before_scroll.
	* intervals.c (set_point): Set point_before_scroll to nil.

Tue Jan 24 21:01:58 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* lisp.h (PERD): New struct containing per-display data.
	(the_only_perd): Declare an instance of it.
	(get_perd): Macro to retrieve it.
	* keyboard.c (the_only_perd): Define this var here.
	(kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Delete; now part of perd.
	(find_active_event_queue): New function.
	(readable_events, kbd_buffer_get_event, swallow_events): Use it.
	(kbd_buffer_store_event): Store in EVENT's frame's queue.
	(Fdiscard_input, stuff_buffered_input): Use perd.
	(init_keyboard): Initialize the new vars.
	kbd_buffer is now a pointer, not an array.
	* xterm.h (struct x_display_info): New member display_perd.

	* process.c (process_tick, update_tick): Make non-static.

Tue Jan 24 02:55:05 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (read_key_sequence): New arg dont_downcase_last
	inhibits downcasing the last event, when it's uppercase and undefined.
	(Fread_key_sequence): Likewise new arg.
	* callint.c (Fcall_interactively): Define K mostly like k.
	Pass new arg to Fread_key_sequence.
	* keymap.c (Flocal_set_key, Fglobal_set_key): Use K, not k, to read key seq arg.

Mon Jan 23 17:16:38 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* indent.c (compute_motion): Don't get hung in selective-display loop.

	* syssignal.h: Don't use function prototypes.

	* keyboard.c (read_key_sequence): Don't wait for a possible key
	translation sequence if we already have a binding.
	Add missing break statement.

	* sysselect.h: New file, mostly extracted from process.c and xterm.c.
	* process.c: #include sysselect.h instead of defining things by hand.
	* sysdep.c (sys_select): Renamed from select.  Use SELECT_TYPE
	instead of int.  Defer to native select if that function is usable.
	* config.h (HAVE_SYS_SELECT_H): Add #undef for configure.
	* s/isc3-0.h (BROKEN_SELECT_NON_X): #define this.

	* s/isc3-0.h [__GNUC__] (POSIX_SIGNALS): #define this.
	[__GNUC__] (sigsetmask, HAVE_SYSV_SIGPAUSE): #undef these.
	(LIBX11_SYSTEM): Don't use -lc; loading this before -lcposix gives
	us the wrong signal functions.
	(C_SWITCH_SYSTEM): Add _XOPEN_SOURCE.
	(EXTRA_INITIALIZE): Make conditional on __GNUC__.

Sun Jan 22 02:14:04 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* minibuf.c (read_minibuf): Don't print the prompt in batch mode.

	* emacs.c (sort_args): Ordinary args get priority 0.
	So do -f, -l, -insert, etc.  --kill gets negative priority.
	Everything else gets positive priority.

Sat Jan 21 20:44:42 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (x_destroy_window): Don't let frame being destroyed
	remain in x_focus_event_frame.

Sat Jan 21 17:23:02 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* config.h.in [NO_REMAP]: #undef static.

Fri Jan 20 15:10:06 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* lisp.h (union Lisp_Misc): Make the `type' field just 16 bits,
	to match the substructures.

Fri Jan 20 00:04:44 1995  Morten Welinder  <terra@@diku.dk>

	* fileio.c (file_name_as_directory, Ffile_name_directory)
	(Ffile_name_nondirectory): Delete special MSDOG code now covered by macros.

	* s/msdos.h (DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP): Defined.

	* msdos.c (XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate)
	(XMenuActivate, XMenuDestroy): Add dummy `display *' argument.

	* xmenu.c [MSDOS]: #include msdos.h.
	* msdos.h (x_mouse_leave): Add neutralizing define.
	(XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate)
	(XMenuActivate, XMenuDestroy): Add prototype.
	* Makefile.in.in (xmenu.o): Add msdos.h as dependency.

	* buffer.c (syms_of_buffer) [DOS_NT]: Add missing ';'.

Thu Jan 19 16:02:32 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* textprop.c (Ftext_property_any): Handle the trivial case specially.

	* sysdep.c (seed_random): Renamed from srandom.
	(get_random): Renamed from random.  Return VALBITS random bits.
	* fns.c (Frandom): Call seed_random and get_random.

	* print.c (print): Print internal types too, for debugging.
	Print appropriate message for invalid pseudovector or misc type.

	* .gdbinit (xboolfwd, xbuflocal, xbufobjfwd, xcompiled): New macros.
	(xintfwd, xmiscfree, xobjfwd, xoverlay, xwinconfig): New macros.

Thu Jan 19 15:01:19 1995  Abramo Bagnara  <abramo@@sssup2.sssup.it>

	* term.c (term_get_fkeys_1): Bug fix for function key above f19.

Wed Jan 18 18:23:12 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* editfns.c (subst_char_in_region_unwind): New function.
	(Fsubst_char_in_region): Use it to make undo_list t temporarily.

	* buffer.c (Fbuffer_local_variables): Unconditionally call
	find_symbol_value, but conditionally use its value.

	* xrdb.c: Don't include sys/param.h.
	(MAXPATHLEN): Definition deleted.

Wed Jan 18 15:56:39 1995  Boris Goldowsky  <boris@@cs.rochester.edu>

	* cmds.c (internal_self_insert): Don't test current_column
	when deciding to call auto_fill_function.

Wed Jan 18 15:12:38 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* lisp.h (SWITCH_ENUM_CAST): New macro.
	* alloc.c, data.c, keyboard.c, syntax.c, xdisp.c: Change all
	occurences of SWITCH_ENUM_BUG to use SWITCH_ENUM_CAST instead.

Wed Jan 18 03:58:07 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* window.c (Qtemp_buffer_show_hook): New hook.
	(syms_of_window): Init and staticpro it.
	(temp_output_buffer_show): Run the hook.

Mon Jan 16 19:08:16 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* xdisp.c (message_dolog): Ignore narrowing.
	Use low-level functions, to bypass modification and motion hooks.

	* window.h (struct window): New member column_number_displayed.
	* xdisp.c (redisplay): Use that field instead of a global flag.
	(redisplay_window, display_mode_line, decode_mode_spec): Likewise.

	* cm.c (cmcheckmagic): New function.
	* cm.h: Declare it.
	* term.c (write_glyphs, insert_glyphs): Call it.

Mon Jan 16 01:38:08 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (kbd_buffer_store_event): Cast arg of bcopy.

Sun Jan 15 08:05:06 1995  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* ralloc.c (r_alloc_init): Remove unused variable END.

Fri Jan 13 21:17:20 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* alloc.c (Fpurecopy): Mask size field when copying pseudovector.

Thu Jan 12 15:27:50 1994  Boris Goldowsky  <boris@@cs.rochester.edu>

	* lisp.h: Declare Qrear_nonsticky.

	* cmds.c (Vuse_hard_newlines): New variable.
	(Fnewline): If use_hard_newlines is on, mark inserted
	newline(s) with `hard' property, marked rear-nonsticky.

Thu Jan 12 10:35:51 1994  Tom Tromey  <tromey@@drip.colorado.edu>

	* buffer.c (list_buffers_1, Flist_buffers): Functions deleted.

Thu Jan 12 18:12:22 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* xdisp.c (message_log_need_newline): New var.
	(message_dolog): New function, extracted from message2.
	* print.c (printchar, strout): Call message_dolog.
	* lisp.h: Declare message_dolog.

	* alloc.c (DONT_COPY_FLAG): Default this to 1.
	Check to make sure it's not the same as MARKBIT.
	(mark_object): Use the same XOR expression as elsewhere.
	(gc_sweep): Don't touch DONT_COPY_FLAG here; this one is a real
	size field, not a mangled pointer.

	* fns.c (internal_equal): Delete redundant tests.
	Mask size field when comparing pseudovectors.

	* fns.c (Frandom): Use VALBITS instead of hardcoded constants.

Tue Jan 10 20:38:37 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* alloc.c (DONT_COPY_FLAG): Fix typo.

	* lisp.h: Use large constants for Lisp_Misc_Type.

	* lisp.h: Add some function declarations.
	* insdel.c: Declare all non-returning functions `void'.
	(insert_1): Make non-static.  New arg PREPARE.  All callers changed.
	* xdisp.c (Vmessage_log_max): New var.
	(syms_of_xdisp): defvar and initialize it.
	(message2_nolog): Renamed from message2.
	(message2): Log messages, then call message2_nolog.
	(message1_nolog): New function.
	* keyboard.c (echo): Don't log the key echoes.
	* alloc.c (Fgarbage_collect): Don't log the GC message.

Tue Jan 10 18:20:12 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* emacs.c (main): Handle SIGABRT, SIGHWE, SIGPRE, SIGORE, SIGDLK,
        SIGCPULIM, if they are defined.

	* alloc.c (DONT_COPY_FLAG): New bit flag.
	(mark_object, gc_sweep, compact_strings): Use it.

Tue Jan 10 15:36:34 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* editfns.c (Finsert_char): Check inherit flag for long strings too.

	* editfns.c (Fnarrow_to_region): Swap using temp Lisp_Object, not int.

Tue Jan 10 01:45:56 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (syms_of_keyboard): Doc fix.

	* unexsunos4.c (unexec): Cast value of sbrk.
	(run_time_remap): Cast arg to brk.
	(brk_value): Renamed from Brk.
	(is_it): Cast 1st arg of mmap.

Mon Jan  9 20:33:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (read_key_sequence): If first event is mouse click,
	use the text property keymap from where the click was.
	New local var orig_local_map.

Mon Jan  9 19:05:02 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* window.c (Fscroll_other_window): On small windows, scroll by 1 line.

Mon Jan  9 04:59:26 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fns.c (internal_equal): Once again use a switch.

	* lisp.h (struct Lisp_Free, struct Lisp_Marker, etc.):
	Make the `type' field just 16 bits, and declare as int.
	Add explicit spacer field after it.
	(struct Lisp_Marker): New field insertion_type.

Sun Jan  8 14:21:13 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keymap.c (store_in_keymap): Copy a cons only if car is a string.

	* xterm.c: Don't include param.h.

	* buffer.c (syms_of_buffer): Doc fix.

Fri Jan  6 18:52:20 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* m/alliant-2800.h (VALBITS, GCTYPEBITS): Deleted; default is better.
	* m/apollo.h, m/aviion.h, m/delta.h, m/hp800.h, m/ibmrt.h: Likewise.
	* m/intel386.h, m/nh4000.h, m/tower32v3.h: Likewise.
	* m/att3b.h (VALBITS, XTYPE): Adjust for new bit layout.
	* m/alpha.h, m/gec63.h, m/pfa50.h: Likewise.

Thu Jan  5 17:18:26 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* frame.c [!MULTI_FRAME] (window_frame): New function.
	[!MULTI_FRAME] (syms_of_frame): defsubr it.

Thu Jan  5 02:05:24 1995  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* doc.c (store_function_docstring, Fdocumentation): Use &
	PSEUDOVECTOR_SIZE_MASK on `size' field of compiled byte-code object.
	* callint.c (Fcall_interactively): Likewise.
	* eval.c (Fcommandp): Likewise.

Wed Jan  4 13:10:21 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* alloc.c (mark_object, mark_buffer): Don't mark buffer twice.

	* .gdbinit (xint, xcar, xcdr): Use correct shift and mask values.

	* lisp.h [EXPLICIT_SIGN_EXTEND] (XINT): Use symbolic constants.

Wed Jan  4 02:19:35 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* doc.c (store_function_docstring): Arg is now EMACS_INT.

Mon Jan  2 20:19:13 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* lisp.h (enum Lisp_Type): Don't use trailing comma.
	(VALBITS, GCTYPEBITS): Define these regardless of NO_UNION_TYPE.
	[!NO_UNION_TYPE] (union Lisp_Object): Use symbolic constants.

	* alloc.c (mark_object): Make `else' visible outside MULTI_FRAME.

Mon Jan  2 00:07:44 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keymap.c (store_in_keymap): While dumping, copy DEF if it's a cons.

	* buffer.c (reset_buffer): Don't alter intervals here.
	(Fget_buffer_create): Use BUF_MARKERS.  Init BUF_INTERVALS here.
	(Fkill_buffer): Use BUF_MARKERS; but don't touch it in indir buf.
	Likewise BUF_INTERVALS.  Don't free the text in indirect buffer.
	When killing a base buffer, kill its indirect buffers first.
	(init_buffer_once): Set up .text and BUF_INTERVALS
	in buffer_local_symbols and buffer_defaults.

	* alloc.c (mark_buffer, gc_sweep): Use BUF_INTERVALS.
	* editfns.c (Ftranspose_regions): Use BUF_INTERVALS.
	(transpose_markers): Use BUF_MARKERS.

	* insdel.c (insert_1, prepare_to_modify_buffer, insert_from_buffer_1):
	Use BUF_INTERVALS.
	(adjust_markers): Use BUF_MARKERS.

	* buffer.h (struct buffer): Fields markers and intervals moved out.
	(struct buffer_text): Fields markers and intervals moved here.
	(BUF_MARKERS, BUF_INTERVALS): New macros.
	* textprop.c (validate_interval_range): Use BUF_INTERVALS.
	* intervals.c: Use BUF_INTERVALS throughout.
	* marker.c: Use BUF_MARKERS throughout.

	* undo.c (Fprimitive_undo): Use base buffer's modtime field.

Sun Jan  1 17:04:27 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* .gdbinit: Adapt to new Lisp_Object format.
	(xvectype, xmisctype): New commands.
	(xtype): Print the misc or vectorlike subtype too.

	* xdisp.c (redisplay_window): Call set_buffer_temp.

	* buffer.c (set_buffer_temp): New function.

	* buffer.h (struct buffer): Make buffer_file_type field unconditional.
	* buffer.c (reset_buffer_local_variables): Initialize
	buffer_file_type field.

	* lisp.h (PVEC_BUFFER, PVEC_PROCESS, PVEC_FRAME, PVEC_COMPILED)
	(PVEC_WINDOW, PVEC_WINDOW_CONFIGURATION, PVEC_SUBR):
	Now enumeration constants, not macros.
	(PVEC_FLAG): Enumeration alias for PSEUDOVECTOR_FLAG.

	* buffer.h (struct buffer): save_modiff field deleted.
	(struct buffer_text): save_modiff field moved here.
	(SAVE_MODIFF, BUF_SAVE_MODIFF): New macros.
	Use them instead of direct access to save_modiff field.
	* buffer.c, editfns.c, fileio.c, filelock.c, insdel.c, keyboard.c:
	* undo.c, xdisp.c: Use SAVE_MODIFF and BUF_SAVE_MODIFF
	instead of direct access to the save_modiff field.
	* window.c (temp_output_buffer_show): Use BUF_SAVE_MODIFF.

	* buffer.h (struct buffer): New field pt_marker.
	New fields begv_marker, zv_marker.
	* buffer.c (Fget_buffer_create): Initialize pt_marker, begv/zv_marker.
	(set_buffer_internal): Use and update this markers.
	Copy undo_list in and out of the base buffer.
	(Fget_buffer_create): Init save_modiff field here.
	(reset_buffer): Not here.
	(Fbuffer_modified_p): Use BUF_SAVE_MODIFF.
	(Fset_buffer_modified_p): Use SAVE_MODIFF.
	(Fkill_buffer, list_buffers_1): Use BUF_SAVE_MODIFF.

	* term.c (term_init): Fatal error if screen is too small.

Sat Dec 31 00:58:51 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xdisp.c (redisplay_window): For buffer_shared count,
	treat an indirect buffer as equivalent to its base.

	* print.c (print): Don't drop thru to error for markers and overlays.

Fri Dec 30 21:03:19 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* insdel.c (adjust_point): Use BUF_PT.

	* intervals.c (temp_set_point, set_point): Use BUF_PT.
	(get_local_map): Get keymap from specified buffer, not current one.

	* fileio.c (Finsert_file_contents, Fwrite_region):
	Error if buffer is indirect.
	(Fdo_auto_save): Do nothing for an indirect buffer.

	* alloc.c (mark_buffer): In indirect buffer, mark the base buffer.

	* buffer.c (Fmake_indirect_buffer): New function.
	(Fbuffer_base_buffer): New function.
	(syms_of_buffer): defsubr them.
	(Fget_buffer_create): Initialize the size field.

	* print.c (print): Make buffer case a branch of
	the Lisp_Vectorlike case.

	* alloc.c (mark_object): Make buffer case a branch of
	the Lisp_Vectorlike case.

	* buffer.h (struct buffer): Make text field be a pointer.
	The struct buffer_text field renamed to own_text.
	Add fields indirect_to_buffer and size.
	Move pt, begv and zv fields here.
	(struct buffer_text): Moved from here.
	(BEGV, PT, ZV, BEGV_ADDR, PT_ADDR, ZV_ADDR): Corresponding changes.
	(BUF_BEGV, BUF_PT, BUF_ZV): Corresponding changes.
	(SET_BUF_ZV, SET_BUF_PT, point):

	* lisp.h (XSETBUFFER, BUFFERP, GC_BUFFERP): Rewrite: use pseudovectors.
	(enum Lisp_Type): Delete Lisp_Buffer.
	(enum Lisp_Misc_Type): Add Lisp_Misc_Float (not yet used).

Thu Dec 29 14:55:56 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* lisp.h (VALBITS): Default now 28.
	(GCTYPEBITS): Default now 3.

	* lisp.h (enum Lisp_Type): Lisp_Process, Lisp_Window, Lisp_Frame,
	Lisp_Subr deleted.
	(PSEUDOVECTORP, GC_PSEUDOVECTORP):  Add paren for proper nesting.
	(PROCESSP, GC_PROCESSP, XSETPROCESS): Rewrite to use pseudovectors.
	(WINDOWP, GC_WINDOWP, XSETWINDOW): Likewise.
	(FRAMEP, GC_FRAMEP): Likewise.
	(SUBRP, GC_SUBRP, XSETSUBR): Likewise.
	(PVEC_SUBR): New macro.
	(struct Lisp_Subr): Add a size field.
	(DEFUN (both definitions)): Store that size field.

	* frame.h (XSETFRAME): Use pseudovector.

	* alloc.c (mark_object): Don't use Lisp_Process, Lisp_Window.
	Handle frames, compileds and subrs as branch of Lisp_Vectorlike case.
	(Fmake_byte_code): Use XSETCOMPILED.

	* data.c (Faref): Handle compiled function as pseudovector.

	* fns.c (Flength): Handle compiled function as pseudovector.

	* xterm.c (x_scroll_bar_handle_click): Use GC_WINDOWP.
	(XTframe_rehighlight, x_window_to_scroll_bar): Use GC_FRAMEP.

	* print.c (print): Get size of compiled function as pseudovector.
	Use a switch statement again.

	* process.h: Make size field an EMACS_INT.

Wed Dec 28 13:00:24 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* unexsunos4.c [! sparc] (REL_INFO_TYPE): Use `struct relocation_info'.

Tue Dec 27 12:54:19 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (make_lispy_event) [USE_X_TOOLKIT]: Turn off
	special handling of menu bar mouse events.
	(make_lispy_event): Tell pixel_to_glyph_coords not to clip.

	* xterm.c (XTupdate_begin): Fix backward test in previous change.
	(x_display_box_cursor): Don't redraw old cursor spot in mouse face
	if cursor was on a newline.

	* s/isc4-1.h: New file.

Mon Dec 26 10:57:15 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (XTread_socket): Handle button events from outside
	the frame, received due to grabbing the mouse with a button.

Sun Dec 25 12:28:28 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* callint.c (Vmouse_leave_buffer_hook, Qmouse_leave_buffer_hook):
	New variables.
	(syms_of_callint): Set them up.
	(Fcall_interactively): Run the hook, for `@@'.

	* buffer.c (syms_of_buffer): Doc fix for buffer-file-type.

	* search.c (set_search_regs): Really set search_regs.start and .end.
	(save_search_regs): Set them to 0 here.

	* minibuf.c (read_minibuf): GCPRO things.

	* lisp.h (enum Lisp_Type): Add Lisp_Type_Limit.
	* data.c (wrong_type_argument): Abort if VALUE is invalid Lisp object.
	Use Lisp_Type_Limit.

Sat Dec 24 11:42:13 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* puresize.h (BASE_PURESIZE): Incremented by 20k.

Fri Dec 23 23:48:53 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (x_figure_window_size): Treat missing user-position parm
	as nil.

Fri Dec 23 12:13:57 1994  Steven Suhr  <ssuhr@@riacs.edu>

	* scroll.c (scrolling_1): When scroll_region_ok is set, use a
	new scrolling method which scrolls groups of lines directly
	to their final vertical positions.
	(struct matrix_elt): New field writecount.
	(calculate_direct_scrolling): New function.
	(do_direct_scrolling): New function.

	* term.c (scroll_region_cost): New variable.
	(calculate_costs): Put scroll region overhead in scroll_region_cost.

	* termchar.h (scroll_region_cost): Declared.

	* dispnew.c (scrolling): Fewer restrictions if scroll_region_ok is
	set.  New vector old_draw_cost for direct scrolling method.

Fri Dec 23 22:00:00 1994 Michal Jankowski (Michal.Jankowski@@fuw.edu.pl)

	* keyboard.c (read_char): Don't echo keys when echo_keystrokes is 0.

Thu Dec 22 18:07:34 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (x_set_frame_parameters): Handle icon-left, icon-top parms.

Wed Dec 21 00:10:24 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* buffer.c (Fget_buffer_create): Copy the name, and clear text props.

Tue Dec 20 18:14:44 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* eval.c (Fdefvar): Fix minor error in previous change.
	(funcall_lambda): Fetch bytecode and constants vector from file if nec.

	* lread.c (Qload_file_name, Vload_file_name): New variables.
	(syms_of_lread): Initialize and staticpro it.
	(Fload): Bind it.
	(read_list): Before dumping, ignore (#$ . WHATEVER)--return 0.

	* lread.c (read1): Implement #@@ and #$ constructs.

	* frame.c (make_frame): Init buffer_predicate field.

	* doc.c (get_doc_string): Now static.  Arg now Lisp_Object.
	Allow (FILE . POS) as position argument.
	(Fdocumentation, Fdocumentation_property): Fix calls to get_doc_string.
	(Fdocumentation_property): Handle cons as value via get_doc_string.
	(read_doc_string): New function.

	* buffer.c (assoc_ignore_text_properties): New function.
	(Fget_buffer): Use assoc_ignore_text_properties.

Mon Dec 19 18:22:24 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/dgux.h (C_DEBUG_SWITCH): Define this only if __GNUC__.

Sun Dec 18 14:38:25 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* buffer.c (Fother_buffer): Take account of frame's buffer predicate.

	* frame.h (struct frame): New field buffer_predicate.
	Move all the Lisp_Object fields to the top.

	* frame.c (Fmodify_frame_parameters): For non-X frames,
	call store_frame_param for each parameter set.
	(store_frame_param): Handle buffer_predicate field.
	(frame_buffer_predicate): New function.
	(Qbuffer_predicate): New variable.
	(syms_of_frame): Set it up.

	* alloc.c (mark_object): In a frame, mark the buffer_predicate.
	Don't mark the height and width fields.

Thu Dec 15 08:12:37 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* minibuf.c (Fall_completions): New arg hide_spaces.
	(Fminibuffer_completion_help): Pass new arg.

Wed Dec 14 08:59:56 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* emacs.c (main): Fix conversion of --display to -d.

	* xmenu.c (push_menu_item): New arg DEF.
	(single_keymap_panes, list_of_items): Pass new arg.
	(MENU_ITEMS_ITEM_DEFINITION): New macro.
	(MENU_ITEMS_ITEM_LENGTH): Now 5.
	[USE_X_TOOLKIT] (xmenu_show): Store 0 in call_data if item def is 0.
	(single_submenu): Likewise.

	* emacs.c (main): Implement --version.

	* xterm.c (XTupdate_begin): Discard records of prior mouse highlight
	when frame must be redrawn.

	* textprop.c (add_properties): Add gcpro's.
	(Fadd_text_properties, copy_text_properties): Likewise.

Tue Dec 13 16:23:55 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/sunos4-1-3.h: Just include sunos4shr--do nothing else.

	* eval.c (Fdefconst, Fdefvar): Error if too many arguments.

Tue Dec 13 09:30:54 1994  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* emacs.c (sort_args): Make `options' a vector of ints.

Sun Dec 11 17:13:22 1994  Richard Stallman  <rms@@kepa>

	* buffer.c (report_overlay_modification): Renamed from
	verify_overlay_modification.
	* insdel.c: Calls changed.

	* insdel.c (signal_before_change, signal_after_change):
	Call verify_overlay_modification here.
	(prepare_to_modify_buffer): Don't call verify_overlay_modification.

	* buffer.c (call_overlay_mod_hooks): New args AFTER, ARG1, ARG2, ARG3.
	Args START, END deleted.  Pass each function AFTER, ARG1 and ARG2,
	and ARG3 if ARG3 is not nil.
	(verify_overlay_modification): New args AFTER, ARG1, ARG2, ARG3.
	Pass them to call_overlay_mod_hooks.

	* search.c (compile_pattern): Call re_set_registers here.
	And no need to BLOCK_INPUT for that.
	(compile_pattern_1): Instead of here.

Sat Dec 10 16:45:12 1994  Richard Stallman  <rms@@kepa>

	* s/aix4-1.h: New file.

	* unexaix.c (unrelocate_symbols): Add AIX4_1 conditionals and code.

	* sysdep.c (sys_siglist) [AIX]: Add AIXHFT conditional.

	* systty.h: Change AIX conditional around HFNKEYS to AIXHFT.

Fri Dec  9 23:14:19 1994  Richard Stallman  <rms@@green-hill>

	* bytecode.c (Fbyte_code): Call Ffollowing_char and Fprevious_char
	as functions.  Don't mask char-syntax arg to just 8 bits.

Thu Dec  8 00:18:05 1994  Richard Stallman  <rms@@green-hill>

	* keyboard.c (read_char): After auto-saving, redisplay.

Tue Dec  6 17:11:20 1994  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* xfns.c (Fx_color_values): Doc fix.

	* buffer.c (list_buffers_1): Right-align the size values.

	* frame.h (struct frame): New field cost_calculation_baud_rate.
	(FRAME_COST_BAUD_RATE): New macro.
	* term.c (calculate_costs): Set FRAME_COST_BAUD_RATE.
	Don't test dont_calculate_costs.
	(dont_calculate_costs): Variable deleted.
	(term_init): Don't set dont_calculate_costs.
	* dispnew.c (update_frame): Call calculate_costs if baud_rate changed.

Mon Dec  5 23:21:50 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* emacs.c (sort_args): Don't overwrite the terminating null pointer.

Mon Dec  5 20:00:05 1994  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* keyboard.c (read_key_sequence): Downcase undefined shifted fn keys.

Sun Dec  4 17:01:31 1994  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* emacs.c (argmatch): Take argc as arg; don't go past end of argv.
	(main): Change calls to argmatch.

	* intervals.h (INTERVAL_LAST_POS): Don't subtract 1 here.

	* intervals.c (compare_string_intervals): New function.
	* fns.c (internal_equal): Call compare_string_intervals.
	(Fstring_equal): Doc fix.

	* scroll.c (scroll_cost): FRAME_DELETE_COST and FRAME_DELETEN_COSTS
	were confused.  Fixed.

	* xterm.c (x_make_frame_visible, x_make_frame_invisible)
	(x_iconify_frame): Give error if frame has explicit_parent.
	(x_new_font): Don't set window height if frame has explicit_parent.

	* xfns.c (Fx_create_frame): Check for parent-id parameter.
	Set explicit_parent and parent fields.
	Don't set visibility if explicit_parent.
	[! USE_X_TOOLKIT] (x_window): Specify parent window.

	* xterm.h (struct x_display): New field explicit_parent.

	* s/ultrix4-3.h (SET_LINE_DISCIPLINE): Defined.

	* sysdep.c (child_setup_tty): Use CDISABLE for setting VERASE, VKILL.
	(init_sys_modes) [SET_LINE_DISCIPLINE]: Set specified line discipline.
	(reset_sys_modes) [SET_LINE_DISCIPLINE]: Restore old line discipline.

Sat Dec  3 14:49:28 1994  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* lread.c (readevalloop): Ignore ^M here.

	* emacs.c (argmatch): Handle lstr == 0.

Mon Nov 28 17:13:27 1994  Richard Stallman  <rms@@gnu.ai.mit.edu>

	* regex.c (re_match_2_internal):
	Rename label `succeed' to `succed_label'.

	* xfns.c (Fx_synchronize): Fix doc string syntax.

	* xmenu.c: Don't include ../oldXMenu/XMenu.h if USE_X_TOOLKIT.

	* Makefile.in.in: Fix erroneous comment syntax.

	* s/ultrix4-3.h: New file.

	* systty.h: Have just one conditional to include unistd.h.
	Test NEED_UNISTD_H, not AIX and IRIX4.
	(UNISTD_H_INCLUDED): Don't define or test this.
	* m/ibm370aix.h (NEED_UNISTD_H): Defined.
	* s/aix3-1.h (NEED_UNISTD_H): Defined.
	* s/irix4-0.h (NEED_UNISTD_H): Defined.

	* fileio.c (internal_delete_file, internal_delete_file_1):
	New functions.
	* buffer.c (Fkill_buffer): Use internal_delete_file.
	* callproc.c (delete_temp_file): Use internal_delete_file.

Fri Nov 25 19:15:07 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* search.c (search_regs_saved): Don't initialize; it dumps as pure.

Thu Nov 24 09:47:31 1994  Francesco Potorti`  <pot@@cnuce.cnr.it>

	* m/delta.h (C_SWITCH_MACHINE): -inline-functions removed,
        because the compiler shipped with R3V7 is not stable.

Thu Nov 24 03:33:11 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (command_loop_1): Use safe_run_hooks to run
	deferred-action-function.
	(Qdeferred_action_function): New variable.
	(syms_of_keyboard): Initialize and staticpro Qdeferred_action_function.

Wed Nov 23 03:59:27 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (syms_of_keyboard): Doc fix.

	* fns.c (Fy_or_n_p): Handle exit-prefix in query-replace-map.

Tue Nov 22 14:22:37 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* search.c (save_search_regs): Add declaration.

	* minibuf.c (Fminibuffer_complete_and_exit):
	Catch errors in do_completion.
	(complete_and_exit_1, complete_and_exit_2): New subroutines.

	* s/aix4.h: New file.
	* s/aix3-1.h (AIXHFT): Defined.
	* m/ibmrs6000.h (OBJECTS_MACHINE): Define only if AIXHFT.

	* sysdep.c (init_sys_modes): Tes AIXHFT, not AIX.
	(reset_sys_modes): Test AIXHFT.
	(hft_init, hft_reset): Test AIXHFT, not AIX.

Mon Nov 21 23:49:31 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* window.c (Fdisplay_buffer): Use `b' to read existing buffer name.

Mon Nov 21 22:25:15 1994  David J. MacKenzie  (djm@@mole.gnu.ai.mit.edu)

	* config.h.in: Add #undefs for --with-pop, --with-kerberos, and
	--with-hesiod.

Sat Nov 19 15:02:31 1994  Francesco Potorti`  <pot@@cnuce.cnr.it>

	* lisp.h: (running_asynch_code): New global flag.
	* emacs.c (running_asynch_code): New global flag.
	(main): Initialise it.
	* process.c (read_process_output, exec_sentinel): Set and
	reset the running_asynch_code global flag and restore match data.

	* search.c (Flooking_at, Fstring_match, search_buffer,
	Fstore_match_data): Save the match data if a filter or a sentinel
	is running.
	(search_regs_saved, saved_search_regs): New variables.
	(save_search_regs, restore_match_data): New functions.

Sat Nov 19 10:47:43 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* emacs.c (sort_args): New function.
	(main): Call sort_args.
	Check for -d/-display after -nw, -batch, -help.
	Accept --display, with arg attached or separate.

Fri Nov 18 15:25:48 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* filelock.c (init_filelock): Add missing semicolon.

Fri Nov 18 02:02:45 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* indent.c (recompute_width_table): Do the right thing if no previous
	table existed.
	Fix Lisp_Object vs. integer problem.
	(width_run_cache_on_off): Let recompute_width_table create the vector.

Thu Nov 17 21:01:28 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* lisp.h: (enum Lisp_Misc_Type): Rename Lisp_Vector to
	Lisp_Vectorlike.  Mark Lisp_Window_Configuration as obsolete.
	(PSEUDOVECTOR_FLAG, PSEUDOVECTOR_SIZE_MASK, PVEC_BUFFER,
	PVEC_PROCESS, PVEC_FRAME, PVEC_COMPILED, PVEC_WINDOW,
	PVEC_WINDOW_CONFIGURATION): New constants.
	(XSETPSEUDOVECTOR, PSEUDOVECTORP, VECTORLIKEP): New macros.
	(XSETVECTOR, XSETWINDOW_CONFIGURATION, VECTORP,
	WINDOW_CONFIGURATIONP): Use the new convention.
	(XSETCOMPILED): New macro.
	* print.c (print): Use type test macros.
	* keymap.c (Fsingle_key_description): Likewise.
	* doc.c (Fdocumentation): Likewise.
	* alloc.c (Fpurecopy): Likewise.
	(mark_object): Use the new pseudovector convention.
	* fns.c (Fvconcat, concat): Use Lisp_Vectorlike.
	* ntinevt.c (SET_FRAME): Use accessor macros.
	(key_event, do_mouse_event): Likewise.

Thu Nov 17 11:10:17 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* filelock.c (init_filelock): Always copy lock_path.
	(lock_dir, superlock_file, MAKE_LOCK_NAME):
	Renamed from lock_path, superlock_path, MAKE_LOCK_PATH.

Wed Nov 16 19:13:12 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/domain.h: New file.

Wed Nov 16 15:32:55 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* s/gnu.h [NOT_C_CODE]: Include fcntl.h.

Wed Nov 16 12:35:01 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xdisp.c (try_window, display_text_line): Undo previous change.

	* dired.c (Fdirectory_files): Pass new arg to `compile_pattern'.

	* search.c (struct regexp_cache): New field `posix'.
	(compile_pattern_1): New arg `posix'.  Controls the syntax spec
	for parsing; also record it in the cache.
	(compile_pattern): New arg `posix'.
	(looking_at_1, string_match_1, fast_string_match): Pass 0 for new arg.
	(search_buffer): New arg `posix'.  Now static.
	(search_command): New arg `posix'.  All callers changed.
	(Fposix_search_forward, Fposix_search_backward): New functions.
	(string_match_1, looking_at_1): New subroutines broken out.
	(Fstring_match, Flooking_at): Use them.
	(Fposix_string_match, Fposix_looking_at): New functions.
	(syms_of_search): defsubr new functions.

Wed Nov 16 11:57:48 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* xdisp.c (try_window): Don't pass window to Fget_char_property;
        pass its buffer.
	(display_text_line): Likewise.

Wed Nov 16 15:26:06 1994  Francesco Potorti`  (pot@@cnuce.cnr.it)

	* Makefile.in.in (TAGS): The new etags allows tagging DEFVARs.

Tue Nov 15 19:26:52 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* lread.c (Fload): Call Fsubstitute_in_file_name after trying handler.

	* fileio.c (Fread_file_name_internal): Protect orig_string.

Tue Nov 15 15:00:56 1994  enami tsugutomo  <enami@@sys.ptg.sony.co.jp>

	* keyboard.c (Fopen_dribble_file): Call fclose only when
	dribble is non zero.

Tue Nov 15 16:32:31 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* keymap.c (access_keymap): Use type test macros.

	* alloc.c (Fmake_vector): Call allocate_vectorlike.
	(allocate_vectorlike): New function, extracted from Fmake_vector.
	* lisp.h: Declare allocate_vectorlike.
	(VECSIZE): New macro.
	* process.c (make_process): Use allocate_vectorlike and VECSIZE.
	* frame.c (make_frame): Likewise.
	* window.c (make_dummy_parent, make_window): Likewise.
	(Fcurrent_window_configuration): Likewise.
	(SAVE_WINDOW_DATA_SIZE): Macro deleted.

	* lisp.h: Delete declaration of Farray_length.
	* data.c (Farray_length): Delete this obsolete function.
	(Faref, Faset): If object is a string, use XSTRING, not XVECTOR.
	* fns.c (Flength): Don't call Farray_length, just use size field.

	* xterm.h (XSCROLL_BAR): Extract from Lisp_Vector, not generic pointer.

	* xselect.c (wait_for_property_change): Encode location as a cons
	of two integers instead of lying about the type.
	(wait_for_property_change_unwind): Decode it likewise.

	* eval.c (Finteractive_p): Use XSUBR instead of its expansion.

	* lisp.h (GC_INTEGERP, etc): New type-test macros for use during GC.
	* buffer.h (OVERLAY_POSITION): Use the new type-test macros.
	* process.c (NETCONN_P, kill_buffer_processes): Likewise.
	* buffer.c (overlays_at): Likewise.
	* filelock.c (unlock_all_files): Likewise.
	* xfns.c (x_window_to_frame): Likewise.
	(x_any_window_to_frame, x_top_window_to_frame): Likewise.
	* fileio.c (Fdo_auto_save): Likewise.

	* xfaces.c (Fpixmap_spec_p): Avoid function calls and assignments
	as arguments to a type-test macro.
	* textprop.c (PLIST_ELT_P): Likewise.
	* keymap.c (current_minor_maps): Likewise.

	* lisp.h (NATNUMP): New macro.
	(CHECK_NATNUM): Use that macro instead of its expansion.
	* data.c (Fnatnump): Likewise.
	* xfns.c (x_set_frame_parameters): Likewise.
	* keymap.c (access_keymap, store_in_keymap): Likewise.
	* doc.c (Fdocumentation): Likewise.
	* alloc.c (Fmake_list): Use CHECK_NATNUM instead of its expansion.
	Now signals using `wholenump' instead of `natnump'.
	(Fmake_vector, Fmake_string): Likewise.

	* data.c (syms_of_data): Set Qwholenump as function, not variable.

	* alloc.c (free_float): Don't assume XFASTINT accesses the raw bits.
	(make_float, free_cons, Fcons, Fmake_symbol, gc_sweep): Likewise.

Tue Nov 15 09:00:43 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (x_mouse_leave): New function broken out of XTread_socket.
	When x_focus_event_frame is nonzero, assume that frame gets focus.
	(XTread_socket): Use x_mouse_leave for LeaveNotify.
	* xmenu.c (xmenu_show): Call x_mouse_leave.

	* fileio.c (Fsubstitute_in_file_name): Run a handler.
	(Qsubstitute_in_file_name): New variable.
	(syms_of_fileio): Set it up.

	* lread.c (read_escape): For \S-a, return A.

	* buffer.c (Frename_buffer): Rename arg NAME to NEWNAME.

Mon Nov 14 21:54:45 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/freebsd.h (LD_SWITCH_SYSTEM): Add -dc and -dp.
	(HAVE_GETPAGESIZE): Defined.

	* sysdep.c (init_sys_modes): Maybe call tcflow.

Mon Nov 14 20:39:03 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* lisp.h: (enum Lisp_Misc_Type): Add new enumeration Lisp_Misc_Overlay.
	(enum Lisp_Type): Delete the corresponding enumeration from here.
	(struct Lisp_Overlay): New structure.
	(XOVERLAY, OVERLAYP): Access the new structure.
	(union Lisp_Misc): Add new member.
	* buffer.h (OVERLAY_START, OVERLAY_END): Use the new substructure.
	* alloc.c (mark_object, gc_sweep): Likewise.
	* print.c (print): Likewise.
	* buffer.c (Fmake_overlay): Likewise.
	(Foverlay_properties, Foverlay_get, Foverlay_put): Likewise.
	* fns.c (internal_equal): Likewise.
	Simplify by returning int.
	(Fequal): Use new interface to internal_equal.

	* buffer.c (list_buffers_1): Use PT, not point.

Mon Nov 14 19:30:28 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fileio.c (Finsert_file_contents): Init not_regular at the beginning.

Mon Nov 14 19:03:39 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* buffer.c (Fkill_all_local_variables): Use XBUFFER_LOCAL_VALUE,
	not XCONS.

Mon Nov 14 18:28:51 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* s/gnu.h (A_TEXT_OFFSET): Macro removed.
	(A_TEXT_SEEK): Define to just sizeof (struct exec).

Mon Nov 14 17:15:08 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* lread.c (defvar_int): Use accessor macro.
	(defvar_bool, defvar_lisp_nopro, defvar_per_buffer): Likewise.

Sun Nov 13 11:53:42 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfaces.c (load_pixmap): Handle bitmap_id < 0.  F is a FRAME_PTR.

	* frame.c (syms_of_frame): Fix typo.

	* minibuf.c (Fdisplay_completion_list): Update COLUMN unconditionally.
	If a name is long, put it on its own line.

Sun Nov 13 14:00:52 1994  Brendan Kehoe  (brendan@@lisa.cygnus.com)

	* s/hpux9.h (C_SWITCH_SYSTEM) [__GNUC__]: Set -D_BSD to get the
	correct definitions from sys/wait.h.

Sat Nov 12 15:04:53 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* frame.c (syms_of_frame): Doc fix for default-frame-alist.

Fri Nov 11 09:52:11 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fileio.c (Finsert_file_contents): If VISIT, set the buffer components
	such as the filename even before signaling error for non-regular file.

	* s/iris3-5.h, s/iris3-6.h (MAIL_USE_FLOCK): Defined.
	* s/irix3-3.h, s/irix5-0.h (MAIL_USE_FLOCK): Defined.
	* s/irix5-2.h: New file.

	* m/paragon.h: New file.

Fri Nov 11 02:31:19 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* lisp.h: (enum Lisp_Misc_Type): Add new enumerations
	Lisp_Misc_Buffer_Local_Value and Lisp_Misc_Some_Buffer_Local_Value.
	(enum Lisp_Type): Delete the corresponding enumerations from here.
	(struct Lisp_Buffer_Local_Value): New structure.
	(XBUFFER_LOCAL_VALUE): Access the new structure.
	(BUFFER_LOCAL_VALUEP, BUFFER_SOME_LOCAL_VALUEP): Likewise.
	(union Lisp_Misc): Add new member.
	* alloc.c (mark_object): New code to handle buffer-local substructure.
	(gc_sweep): Generalize marker code to handle other substructures.
	* bytecode.c (Fbyte_code): Special case for buffer-local objects is
	now handled by the more general test.  Simplify.
	* buffer.c (set_buffer_internal): Use XBUFFER_LOCAL_VALUE, not XCONS.
	* data.c (store_symval_forwarding): Likewise.
	(swap_in_symval_forwarding, Fset, default_value, Fset_default,
	Fkill_local_variable): Likewise.
	(Fmake_variable_buffer_local): Use the new substructure.
	(Fmake_local_variable): Likewise.

Thu Nov 10 02:56:12 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* process.c (create_process) [OSF1]: Use setpgid, not setpgrp.

Wed Nov  9 15:44:17 1994  Boris Goldowsky  <boris@@cs.rochester.edu>

	* cmds.c (Fnewline): Always use insert_and_inherit.

Wed Nov  9 22:41:04 1994  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* lisp.h (FRAMEP): Use the second definition whenever HAVE_MOUSE.

	* keyboard.c (tracking_off): Test old value with NILP.
	Restore the old value whatever it may be.
	(syms_of_keyboard): Use DEFVAR_LISP for track-mouse.

Wed Nov  9 00:54:09 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* data.c (Fboundp, find_symbol_value): Use type test macros
	instead of checking XTYPE directly.

	* keyboard.c (print_help): Set help-mode in *Help* buffer.
	* keymap.c (describe_buffer_bindings): Likewise.
	* syntax.c (describe_syntax_1): Likewise.

Tue Nov  8 22:43:40 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* keyboard.c (EVENT_QUEUES_EMPTY): Only test do_mouse_tracking and
	mouse_moved #ifdef HAVE_MOUSE.
	(Ftrack_mouse): Protect with #ifdef HAVE_MOUSE.
	(syms_of_keyboard): Protect initialization of do_mouse_tracking,
	defsubr of Strack_mouse, and DEFVAR of track-mouse with #ifdef
	HAVE_MOUSE.

Mon Nov  7 21:43:01 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* frame.c (Fset_frame_height): Compare against height, not width.

Mon Nov  7 21:37:36 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* keyboard.c: Move decl of input_fd outside of #ifdef
        HAVE_X_WINDOWS.

Thu Nov  3 22:48:14 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* xterm.c (XTread_socket): Generate iconify and deiconify events.

Thu Nov  3 15:45:02 1994  Geoff Voelker  <voelker@@cs.washington.edu>

	* m/intel386.h (VIRT_ADDR_VARIES) [WINDOWSNT]: Defined.
	(DATA_END) [WINDOWSNT]: Defined.
	(DATA_START) [WINDOWSNT]: Defined.
	(HAVE_ALLOCA) [WINDOWSNT]: Defined.

	* s/windowsnt.h: Include malloc.h.
	(MODE_LINE_BINARY_TEXT): Defined.
	(HAVE_MOUSE): Defined.

	* ntheap.c (sbrk): Allow request sizes to be different than the
        page size.

	* makefile.nt: Changed references of m\m-windowsnt.h to
	m\intel386.h and of s\s-windowsnt.h to s\windowsnt.h.

Tue Nov  1 23:19:30 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* xfns.c (Fx_list_fonts): Don't bother to retrieve font info when
	there's no size_ref to compare it against.

	* editfns.c: (Fdecode_time): Fix Lisp_Object vs. integer problems.
	Don't use tm_gmtoff; it's not portable.

	* lisp.h: Leave DEVICE_SEP undefined by default.

Tue Nov  1 05:31:17 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* buffer.c (init_buffer): Fix error message syntax.

	* fileio.c (Fsubstitute_in_file_name): Add missing #endif.

	* lread.c: Don't include ctype.h.
	(isfloat_string, read1): Don't use isdigit.

	* editfns.c (Fdecode_time): Change one XFASTINT to XINT.

	* s/windowsnt.h (SYSTEM_PURESIZE_EXTRA): Defined.

Mon Oct 31 20:48:15 1994  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* xfns.c (x_window): Make ibw 0 by default.

Mon Oct 31 16:47:47 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* xterm.c (XTclear_end_of_line): Finish the line dance here too,
	just as was done in XTwrite_glyphs.

	* xdisp.c (column_number_displayed): New variable.
	(redisplay, redisplay_window): If that var is set, do mode line.
	(display_mode_line): Unset the var.
	(decode_mode_spec): Set the var if %c was seen.

Sun Oct 30 13:47:05 1994  voelker  <voelker@@cs.washington.edu>

	* makefile.nt: New file.
	* nt.c, nt.h: New files.
	* ntheap.c, ntheap.h: New files.
	* ntinevt.c, ntinevt.h: New files.
	* ntproc.c, ntterm.c: New files.

	* m/windowsnt.h, s/windowsnt.h: New files.

	* nt.c: New file.

	* makefile.nt:New file.

	* lisp.h (DEVICE_SEP, DIRECTORY_SEP, IS_DEVICE_SEP)
	(IS_DIRECTORY_SEP, IS_ANY_SEP): New macros, defined if not already def.

	* s/msdos.h (DOS_NT): Defined.

	* term.c (term_init) [WINDOWSNT]: Do some Windows-specific
	initialization, then skip the rest of the code.
	(FRAME_TERMCAP_P) [WINDOWSNT]: Always return 0.

	* systty.h: Test DOS_NT, not MSDOS.

	* syssignal.h [WINDOWSNT] (EMACS_KILLPG): Use win32_kill_process.

	* sysdep.c [WINDOWSNT]: Add includes for NT.
	Define _P_WAIT.  Declare _spawnlp, _getpid.
	[WINDOWSNT] (select, strerror, vfork): Don't use these definitions.

	* sysdep.c (init_sys_modes): Test DOS_NT, not MSDOS.
	(emacs_get_tty, emacs_set_tty,(child_setup_tty, init_baud_rate): Ditto.

	* sysdep.c (sys_subshell) [WINDOWSNT]: Use _spawnlp. not vfork.
	(wait_for_termination) [WINDOWSNT]: Use wait.
	(discard_tty_input) [WINDOWSNT]: Do nothing at all.

	* process.c: Use macros IS_ANY_SEP, IS_DIRECTORY_SEP,
	IS_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP.
	[WINDOWSNT]: Add includes.  Don't define sys_siglist.

	* process.c (sigchld_handler): Work around bug in MS C compiler.
	(sigchld_handler) [WINDOWSNT]: Do not call signal.
	(signal_process) [WINDOWSNT]: Use win32_kill_process instead of kill.
	(read_process_output) [WINDOWSNT]: Use read_child_output instead of
	read.

	* process.c (create_process) [WINDOWSNT]: Use
	pipe_with_inherited_out  and pipe_with_inherited_in.
	Use the pid returned by child_setup.  Deal with not having vfork,
	Call register_child.
	(close_process_descs): Do nothing if WINDOWSNT.

	* process.c (proc_buffer_char): No longer static.

	* ndir.h (MAXNAMLEN) [WINDOWSNT]: Define as 255.

	* mem-limits.h [WINDOWSNT]: Don't include vlimit.h.
	(get_lim_data): Alternate definition for WINDOWSNT.

	* lread.c: Change explicit uses of the Unix directory separator
	'/' to uses of the macros IS_ANY_SEP, IS_DIRECTORY_SEP,
	IS_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP.

	* lread.c (init_lread) [WINDOWSNT]: Disable warnings about
	directories in the load path not existing.

	* lread.c (load): Test DOS_NT instead of MSDOS.

	* keyboard.c (read_key_sequence): Use flags instead of gotos to
	enable the Microsoft C compiler to compile the routine.

	* keyboard.c (read_avail_input) [WINDOWSNT]: Just return 0.

	* fileio.c: Change explicit uses of the Unix directory separator
	'/' to uses of the macros IS_ANY_SEP, IS_DIRECTORY_SEP,
	IS_DEVICE_SEP, DIRECTORY_SEP, and DEVICE_SEP.

	* fileio.c [WINDOWSNT]: Don't define HAVE_FSYNC; add includes for NT.

	* fileio.c (Ffile_name_absolute_p): Test DOS_NT instead of MSDOS.
	(Fwrite_region, Fdo_auto_save, Ffile_modes): Likewise.

	* fileio.c (Qfind_buffer_file_type): Test DOS_NT instead of MSDOS.
	(syms_of_files): Likewise.
	(Finsert_file_types): Test DOS_NT instead of MSDOS.
	Rename local var try to trytry.

	* fileio.c (Fadd_name_to_file): Wlways fail.
	(Frename_file) [WINDOWSNT]: Use MoveFile, not link and unlink,
	and check for both ERROR_FILE_EXISTS and ERROR_ALREADY_EXISTS.
	(Fmake_directory_internal) [WINDOWSNT]: Invoke mkdir without the mask.

	* fileio.c (Fexpand_file_name): Test DOS_NT, not MSDOS.
	(Fexpand_file_name) [WINDOWSNT]: Accept // or \\ at start.
	Call dostonunix_filename for HOME envvar, for ~USER.
	Quote directory separators found in environment variables.
	(Fsubstitute_in_file_name): Test DOS_NT instead of MSDOS.
	(Fsubstitute_in_file_name) [WINDOWSNT]: Accept // or \\ at start.
	Work around alloca bug in MS compiler.
	(Ffile_name_directory): Test DOS_NT instead of MSDOS sometimes.
	But don't insert a drive letter on windows.

	* emacs.c (Fdump_emacs): Don't reset the data start address by
	invoking memory_warnings just before unexec-ing.

	* editfns.c (init_editfns): Get the username from the environment
	variable USERNAME instead of USER.

	* dired.c: Use macros IS_ANY_SEP, IS_DIRECTORY_SEP, and DIRECTORY_SEP.
	(file-attributes) [WINDOWSNT]: Set st_gid and st_uid to Qnil; use
	get_inode_and_device_vals to fake up inode number and device number.

	* callproc.c (getenv_internal) [WINDOWSNT]: Use strnicmp, not bcmp.

	* callproc.c (child_setup): Use IS_DIRECTORY_SEP.
	[WINDOWSNT]: Call prepare_standard_handles.  Use spawnve.
	Use reset_standard_handles.

	* callproc.c (Fcall_process_region): Test DOS_NT, not MSDOS.
	(Fcall_process) [WINDOWSNT]: Call pipe_with_inherited_out.
	Use the return value of child_setup to get the child's pid;
	don't call vfork etc. explicitly.

	* callproc.c [WINDOWSNT]: Add includes.	 Defone NOMINMAX, _P_NOWAIT.
	(Vbinary_process_input, Vbinary_process_output)
	(Qbuffer_file_type): Test DOS_NT, not MSDOS.
	(syms_of_callproc): Test DOS_NT, not MSDOS.

	* callproc.c (init_callproc): Test DOS_NT, not MSDOS.

	* buffer.h (struct buffer): Test DOS_NT, not MSDOS.

	* buffer.c (init_buffer): Use DIRECTORY_SEP, IS_DIRECTORY_SEP macros,
	not character constants.
	(init_buffer_once, syms_of_buffer): Test DOS_NT, not MSDOS.

Sun Oct 30 04:21:48 1994  Erik Naggum  <erik@@naggum.no>

	* editfns.c (Fdecode_time): New function.
	(syms_of_editfns): defsubr it.

Sun Oct 30 03:20:24 1994  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* keyboard.c (make_lispy_event): Record double and triple for drags.
	Put in click_modifier for multi-clicks.
	(read_key_sequence): Convert double-drag first to plan drag,
	and only later try a click.

	* unexsunos4.c (unexec): Don't print number of pure bytes used.

Sat Oct 29 19:28:05 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (Fx_create_frame):
	Don't set xlwmenu_default_font if not USE_X_TOOLKIT.

	* puresize.h (BASE_PURESIZE): Increment MULTI_FRAME value.

Sat Oct 29 14:23:39 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (read_avail_input): Fix Lisp_Object vs. int problem.

Sat Oct 29 05:40:20 1994  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>

	* xterm.c (fast_find_position): Special case if POS is end of buffer.

	* xterm.c (x_delete_display): Call XrmDestroyDatabase.

Fri Oct 28 14:54:18 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/osf1.h (LD_SWITCH_SYSTEM): Definitions deleted.

	* m/alpha.h (LD_SWITCH_MACHINE): New definition.

Fri Oct 28 10:06:02 1994  Rainer Schoepf  <Schoepf@@Uni-Mainz.de>

	* s/osf1.h (INTERRUPTIBLE_IO, INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE)
	(read, write, open, close): New definitions.

Thu Oct 27 13:43:54 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* buffer.c (Fset_buffer_major_mode): New function.  Set the
	default major mode here.
	(Fget_buffer_create): Not here.
	(Fswitch_to_buffer): Call Fset_buffer_major_mode.
	(syms_of_buffer): defsubr the new function.

	* termhooks.h (iconify_event, deiconify_event): New enum event_kind's.
	* keyboard.c (kbd_buffer_get_event): Translate them to lispy events.
	(head_table): Initialize those new symbols appropriately.
	* frame.c (keys_of_frame): Bind those events to 'ignore, since the
	window manager has already done the work.

	* xmenu.c (set_frame_menubar): Don't copy string during GC risk.

Wed Oct 26 04:07:28 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* config.h.in (HAVE_GETPAGESIZE): Add #undef.
	* m/sequent-ptx.h (HAVE_GETPAGESIZE): Explicitly #undef.
	* s/linux.h, s/msdos.h (HAVE_GETPAGESIZE): Definition deleted.
	* m/symmetry.h (HAVE_GETPAGESIZE): Definition deleted.

	* xterm.c (x_destroy_window): Rewrite to fetch dpyinfo just once.

	* xfns.c (Fx_create_frame): Set xlwmenu_default_font.

	* widget.c (set_frame_size): Set app_shell and wmshell the same.

	* xterm.c [USE_X_TOOLKIT]: Make application context explicitly
	and support multiple top-level shells.
	(x_initialize): Call XtToolkitInitialize, XtCreateApplicationContext;
	don't open display or make a shell.
	(x_term_init): Call XtOpenDisplay.

	* xfns.c [USE_X_TOOLKIT] (x_window): Use XtAppCreateShell.
	(Xt_app_shell, Xt_app_con): Variables deleted.
	(Fx_close_connection) [USE_X_TOOLKIT]: Call XtCloseDisplay.

	* xterm.c (x_scroll_bar_create): Use XMapRaised directly.
	(x_make_frame_visible, x_iconify_frame): Likewise.
	(XMapWindow): Macro definition deleted.
	(METABIT): Macro deleted.
	(MAXDESC, FD_SETSIZE, FD_SET, FD_CLEAR, FD_ZERO, FD_ISSET): Likewise.
	(x_id_name): Variable deleted.

	* process.c (status_message): Add a cast.
	(sigchld_handler): Add a cast.

	* xfns.c (x_window): Pass new arg f to hack_wm_protocols.

	* xdisp.c (display_text_line): Truncate the minibuf_prompt if nec.

Wed Oct 26 02:17:20 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* window.c (syms_of_window): Fix missing \n\'s.

Wed Oct 26 00:52:17 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xselect.c (x_own_selection, x_get_foreign_selection): Change calls
	to x_catch_errors and friends.

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

	* xterm.c (x_catch_errors, x_check_errors, x_had_errors_p)
	(x_uncatch_errors): Make the argument a display, not a frame.

	* xterm.c (XTread_socket_fake_io_error): New variable.
	(XTread_socket): Obey XTread_socket_fake_io_error.

Tue Oct 25 20:20:20 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* process.c (list_processes_1): Print tty name.

Tue Oct 25 09:39:37 1994  Karl Fogel  (kfogel@@phylo.life.uiuc.edu)

        * window.c (Vtemp_buffer_show_function): Doc fix.

Tue Oct 25 03:55:52 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.h: Delete X10 code.

	* xfns.c (Fx_create_frame): Don't increment refernce_count
	until the frame is put on the frame list.

	* xterm.c (x_initialize): Init x_noop_count, x_focus_frame
	and x_highlight_frame here.
	(x_term_init): Not here.

	* xterm.c (x_term_init): Open the connection first thing;
	if that fails, don't allocate dpyinfo.

Mon Oct 24 20:43:57 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* xdisp.c (decode_mode_spec): New spec %c, for current column.

Mon Oct 24 02:03:34 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xselect.c (Fx_selection_exists_p): Fix backwards if.

	* xterm.c (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.
	* xfns.c (Fx_close_connection): Call x_delete_display.

	* xselect.c (Fx_selection_exists_p):
	If selected_frame isn't an x frame, return nil.

	* keyboard.c (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.

Sun Oct 23 01:39:05 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (x_display_info_for_name, Fx_open_connection):
	Signal error if x_term_init fails.
	(Fx_open_connection): New arg must_succeed.

	* xfns.c (x_real_positions): Catch errors and retry if error happens.
	No need to block input here.

	* xterm.c (x_term_init): Don't report error here--just return 0.

	* xfns.c (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

	* xfns.c: Many doc fixes and Lisp function arg renamings.

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

Sat Oct 22 00:54:08 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (kbd_buffer_get_event):
	Cope if mouse_position_hook does not store anything.

	* xterm.c (x_scroll_bar_report_motion): Don't clear *fp.

	* xterm.h (struct x_display_info):
	New fields bitmaps, bitmaps_size, bitmaps_last.
	(struct x_bitmap_record): Structure moved here.
	* xfns.c (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.

	* xterm.c (x_wm_set_icon_pixmap): Use x_bitmap_pixmap.

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

	* xterm.h (struct font_info): New type.
	(struct x_display_info): New fields font_table, font_table_size
	and n_fonts.

	* xterm.h (struct x_display_info): New field scratch_cursor_gc.
	* xterm.c (scratch_cursor_gc): Variable deleted.
	(dumpglyphs): Use scratch_cursor_gc in x_display_info.

	* xterm.h (mouse_face_*): New fields.
	* xterm.c (mouse_face_*): Variables deleted.
	Use fields in x_display_info instead.
	* xterm.c (syms_of_xterm): Don't staticpro mouse_face_window.

	* xterm.c (expose_all_windows, expose_all_icons): Variables deleted.
	(BLOCK_INPUT_mask): Variable deleted.

	* xterm.h (struct x_display_info): New field x_id_name.
	* xfns.c (x_set_name, Fx_create_frame): Use x_id_name field.
	* xterm.c (x_term_init): Set up x_id_name field.
	(x_id_name): Variable deleted.

	* xterm.c (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.

	* xterm.c (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.

	* xterm.c (x_term_init): Really return dpyinfo.

	* insdel.c (insert_from_buffer_1): Don't use min.

	* xterm.c (x_term_init): Call add_keyboard_wait_descriptor,
	not change_keyboard_wait_descriptor.

	* xfns.c (Fx_close_current_connection):
	Call delete_keyboard_wait_descriptor.

	* process.c: 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.

	* xterm.c (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.

	* sysdep.c: 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.

	* xfns.c (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.

	* xterm.c (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.

	* xfns.c (Fx_list_fonts): Use `name_list_element' field.
	(x_display_info_for_name): Scan x_display_name_list
	along with x_display_list.

	* xterm.h (struct x_display_info): Replace elements `name'
	and `face_list_cache' with one cons cell `name_list_element'.
	(x_display_name_list): Variable declared.

Sat Oct 22 00:44:29 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* insdel.c (insert_from_buffer, insert_from_buffer_1): New functions.
	* editfns.c (Finsert_buffer_substring): Use insert_from_buffer
	instead of insert.

Fri Oct 21 23:17:22 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xmenu.c (xmenu_show): Get the screen number for DisplayHeight
	and DisplayWidth.  Use root_window slot in the x_display_info.

	* xfns.c (x_sync): Take frame ptr as arg.
	* frame.c (other_visible_frames): Pass a frame ptr to x_sync.
	* xterm.c (x_make_frame_visible, x_make_frame_invisible):
	Pass a frame ptr to x_sync.

Fri Oct 21 22:52:16 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* insdel.c (insert_before_markers): Don't inherit;
	insert_before_markers_and_inherit does that.

Fri Oct 21 03:06:38 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* dispnew.c (Fframe_or_buffer_changed_p):
	Detect deletion of a buffer at the end of the buffer list.

	* xterm.c (x_term_init): Init all the components of dpyinfo.

	* sysdep.c (input_fd): No longer static.
	* keyboard.c (read_avail_input): Use input_fd.

Thu Oct 20 20:45:32 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (check_x_display_info): New function.
	(Fx_create_frame): Use it.
	(Fx_display_*, Fx_server_*): Use fields in the x_display_info,
	not static variables.  Call check_x_display_info.

Thu Oct 20 15:06:33 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* window.c (Fdisplay_buffer): Make old_selected_window a Lisp_Object.

Thu Oct 20 11:49:26 1994  Tom Tromey  <tromey@@drip.colorado.edu>

	* buffer.c (list_buffers_1): Always mark current_buffer read-only.

Thu Oct 20 10:56:01 1994  Fred Pierresteguy <F.Pierresteguy@@frcl.bull.fr>

	* m/dpx2.h (LD_SWITCH_MACHINE): Defined.

Thu Oct 20 00:36:46 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* term.c (calculate_costs): Call x_screen_planes.
	* xfns.c (x_screen_planes): New function.

	* xterm.h (EMACS_CLASS): Macro moved here.
	* xfns.c (EMACS_CLASS): Macro moved to xterm.h.

	* xfns.c (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.

	* xterm.c (x_display_info_for_display): New function.

	* xselect.c (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.

	* xfns.c (select_visual): New arg dpy.

	* xterm.h (struct x_display_info): New fields *_mod_mask.
	* xterm.c (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.

	* xterm.h (struct x_display_info): New field icon_bitmap_id.
	* xterm.c (icon_bitmap): Variable deleted.
	(x_bitmap_icon): Use icon_bitmap_id in x_display_info.

	* xterm.c (icon_font_info): Variable deleted.

	* xterm.h (struct x_display_info): New field `connection'.
	* xterm.c (x_term_init): Set up `connection' field.

	* xterm.h (x_display_list): New variable.
	* xterm.c (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.
	* xfns.c (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.

	* xterm.h (struct x_display_info): New field xrdb.
	* xfns.c (xrdb): Variable deleted.
	(Fx_get_resource): Use selected_frame's xrdb.
	(x_get_resource_string): Likewise.

	* xterm.h (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.

	* xterm.h (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.

	* xterm.h (FRAME_X_SCREEN): New macro.
	(WHITE_PIX_DEFAULT, BLACK_PIX_DEFAULT): Take arg f.
	* xfaces.c (unload_color): Pass arg f to WHITE_PIX_DEFAULT
	and BLACK_PIX_DEFAULT.

	* xterm.c (windowinfo): Variable deleted.

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

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

	* xterm.h (struct x_display_info): New fields Xatom...
	* xterm.c (Xatom_*): Variables deleted.
	(x_iconify_frame, XTread_socket): Get atoms from the x_display_info,

	* xfns.c (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.

	* xfns.c (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.
	* xterm.c (XTread_socket): Don't update Vmouse_depressed.

	* xterm.h (struct x_display_info): New field grabbed.
	* xterm.c (x_mouse_grabbed): Variable deleted.
	(note_mouse_highlight): Use grabbed field instead.
	(XTmouse_position, XTread_socket): Likewise.
	* xmenu.c (xdialog_show, xmenu_show):
	Use grabbed field instead of x_mouse_grabbed.

	* xfns.c (mouse_timestamp): Variable deleted.

	* xterm.h (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.

	* xterm.h (struct x_display_info):
	New fields height, width, screen, visual, n_planes.
	* xfns.c (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.
	* xterm.c (x_calc_absolute_position, x_wm_set_size_hint):
	Get screen height, width from the x_display_info structure.
	* xmenu.c (xmenu_show): Use the screen in FRAME_X_DISPLAY_INFO,
	not the default screen.

	* xterm.c: Use FRAME_X_DISPLAY instead of x_current_display
	and XDISPLAY.

	* xfns.c: 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.

	* keyboard.c (do_mouse_tracking): Now a FRAME_PTR.
	(EVENT_QUEUES_EMPTY, Ftrack_mouse, tracking_off): Changed accordingly.
	(kbd_buffer_get_event): Let do_mouse_tracking specify the display
	for mouse tracking.

	* minibuf.c (read_minibuf): Undo previous change.

Wed Oct 19 04:53:18 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* window.c (Fdisplay_buffer): If the other window is smaller
	than its peer, even out their heights.

	* xterm.c (x_catch_errors, x_check_errors, d_errors_p)
	(x_uncatch_errors): Take frame as arg.
	(x_stop_queuing_selection_requests, x_unqueue_events, x_queue_event)
	(x_start_queuing_selection_requests): Take frame as arg.
	(x_find_modifier_meanings): New arg `display'.  All callers changed.
	(x_scroll_bar_create, x_scroll_bar_set_handle)
	(x_scroll_bar_move): New local var f.
	(x_scroll_bar_report_motion): Rename arg f to fp.
	New local var f.
	(XTmouse_position): Lossage.
	(frame_highlight, frame_unhighlight): Arg frame renamed to f.

	* callproc.c (child_setup): Always use _exit.

	* xselect.c (x_own_selection, x_get_foreign_selection): Pass frame
	to x_catch_errors, x_check_errors, x_uncatch_errors.

	* xfns.c (x_set_mouse_color): Pass frame to x_catch_errors,
	x_check_errors, x_uncatch_errors.

	* xselect.c (x_get_foreign_selection): Get display from
	selected_frame.  Pass frame to x_stop_queuing_selection_requests and
	x_start_queuing_selection_requests.
	(x_own_selection, Fx_disown_selection_internal, Fx_selection_exists_p)
	(Fx_store_cut_buffer_internal, Fx_get_cut_buffer_internal)
	(Fx_rotate_cut_buffers_internal): Get display from selected_frame.

	* xmenu.c: Use FRAME_X_DISPLAY, not XDISPLAY or x_current_display.
	(menu_item_equiv_key): Reject equiv sequences
	that start with mouse clicks.

Wed Oct 19 00:26:03 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* search.c: (searchbufs): New variable, replaces searchbuf and
	last_regexp and search_fastmap.
	(syms_of_search): Initialize it.
	(searchbuf_head): New variable.
	(compile_pattern_1): Renamed from compile_pattern and made static.
	Copy the regexp string in case the caller modifies it in place later.
	(compile_pattern): New code, uses a cached entry if one is available.
	The pattern buffer is now a return value instead of an arg.
	(set_search_regs): Set num_regs directly, since there's no active
	pattern buffer to pass to re_set_registers.
	(Fstore_match_data): Likewise.
	(Flooking_at): Use the new calling convention for compile_pattern.
	(Fstring_match, fast_string_match, search_buffer): Likewise.
	* dired.c (Fdirectory_files): Likewise.

Tue Oct 18 16:34:10 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (Voverriding_local_map_menu_flag): New variable.
	(syms_of_keyboard): Set up Lisp var.
	(menu_bar_items): Obey Voverriding_local_map_menu_flag.

	* ralloc.c (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.

	* Makefile.in.in (SOME_MACHINE_OBJECTS): Add msdos.o and x*.o files.

Mon Oct 17 21:28:13 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* minibuf.c (read_minibuf): Store the object, not the string, into
	the history variable.

	* xfns.c (x_set_unsplittable): New function.
	(x_frame_parms): Add that function to the table.

	* xterm.c (do_line_dance): Decrement index only once per loop.

	* scroll.c (do_line_insertion_deletion_costs): Fix argument order.

Mon Oct 17 04:43:21 1994  Morten Welinder  <terra@@mole.gnu.ai.mit.edu>

	* fileio.c (Fexpand_file_name) [MSDOS]: Correct the for absolute
	default directory.

	* config.h.in [HAVE_X_WINDOWS]: #define HAVE_FACES and HAVE_MOUSE.

	* dispextern.h: Guard entire file from being include more than once.
	[MSDOS]: Include msdos.h.

	* dispnew.c (direct_output_for_insert): Check HAVE_FACES, not
	HAVE_X_WINDOWS.
	(selected_frame, last_minibuffer_frame): Doc fix.

	* dosfns.c (Fset_mouse_position, Fmsdos_mouse_p) [!HAVE_X_WINDOWS]:
	New functions.
	(syms_of_dosfns) [!HAVE_X_WINDOWS]: Defsubr them.  Also define
	Qmsdos_color_translate.
	(init_dosfns) [SYSTEM_MALLOC]: Don't call non-existing get_lim_data.

	* dosfns.h (Qmsdos_color_translate) [!HAVE_X_WINDOWS]: New variable.

	* editfns.c (init_editfns) [MSDOS]: Let the user name default to
	"root".

	* emacs.c (main) [MSDOS && !HAVE_X_WINDOWS]: Call syms_of_xfaces
	and syms_of_xmenu.

	* frame.c [MSDOS]: Include msdos.h.
	(Fframep #1) [MSDOS]: Doc change for the following.
	(Fframep #2) [MSDOS]: Return 'pc for when termcap is not used.
	(Fmouse_position #2) [HAVE_MOUSE]: Return useful information.
	(Fframe_parameters #2): Show "font" as "default".
	(Fframe_parameters #2) [MSDOS]: Show fore- and background colours.
	(Fmodify_frame_parameters #2) [MSDOS]: Call IT_set_frame_parameters.
	(Fframe_list #2): New stub function.
	(syms_of_frame #2): defsubr frame_list.
	(syms_of_frame #2) [MSDOS]: Initialize the_only_frame.
	(Fselected_frame #2): Doc fix.

	* frame.h [!MULTI_FRAME]: We give up having selected_frame be
	an always-zero integer variable.  From now on it will be a
	pointer to a `struct frame' just like in the MULTI_FRAME case.
	(selected_frame, last_nonminibuf_frame): use FRAME_PTR,	not EMACS_INT.
	(XFRAME): Redefine to use the_only_frame.
	(XSETFRAME): Define to set Lisp value.
	(WINDOW_FRAME): Redefine to return Lisp value.
	(FOR_EACH_FRAME): Set the frame variable to Lisp value.
	(output_method): New method: output_msdos_raw.
	(FRAME_TERMCAP_P, FRAME_X_P) [MSDOS]: Define non-stub versions.

	* keyboard.c (read_char_x_menu_prompt): Include menu code also in
	case MSDOS.
	(gobble_input): Complete Sep 15 change.

	* lisp.h: #define glyph-stuff when HAVE_FACES, not only when
	HAVE_X_WINDOWS.
	(FRAMEP): Define different versions for MULTI_FRAME and MSDOS.
	Otherwise, don't define at all.

	* makefile.in.in (MSDOS_SUPPORT): Add faces.elc.
	(msdos.o, dosfns.o): Add dependencies.
	(MSDOS_OBJ): New set of object files.
	(obj): Include MSDOS_OBJ.

	* msdos.c: #include dispextern.h, termopt.h, and window.h needed
	for the following.
	(highlight): New variable.
	(rien_du_tout, IT_ring_bell, IT_set_face, IT_write_glyphs,
	IT_clear_end_of_line, IT_cursor_to, IT_reassert_line_highlight,
	IT_change_line_highlight, IT_update_begin, IT_set_menu_bar_lines,
	IT_set_frame_parameters): New functions like their XT_* counterparts.
	(internal_terminal_init): Initialize Vwindow_system,
	Vwindow_system_version, the_only_x_display, and terminal hooks.
	(mouse_get_xy): New function.
	(mouse_get_pos, mouse_check_moved): Use mouse_get_xy.
	(IT_menu_create, IT_menu_make_room, IT_menu_search_pane,
	IT_menu_calc_size, IT_menu_display, XMenuCreate, XMenuAddPane,
	XMenuAddSelection, XMenuLocate, XMenuActivate, XMenuDestroy,
	x_pixel_width, x_pixel_height): New functions.
	(init_environment) [HAVE_X_WINDOWS]: Let DISPLAY default to "unix:0.0".
	(init_environment): Handle the case of a relative argv[0].
	(dos_rawgetc): Use XSETFRAME.
	(the_only_x_display, x_current_display) [!HAVE_X_WINDOWS]: New
	variables.

	* msdos.h: (XFontStruct, GC, Pixmap, Display, Window) [MSDOS_NO_X]:
	Dummy types.
	(struct face, FACE_HAS_GC, FACE_GC, FACE_FOREGROUND, FACE_BACKGROUND,
	FACE_FONT, FACE_STIPPLE, FACE_UNDERLINE_P) [MSDOS_NO_X]: Define like
	corresponding X-versions.
	(struct x_display) [MSDOS_NO_X]: Define cut-down version.
	(FRAME_PARAM_FACES, FRAME_N_PARAM_FACES, FRAME_DEFAULT_PARAM_FACE,
	FRAME_MODE_LINE_PARAM_FACE, FRAME_COMPUTED_FACES,
	FRAME_N_COMPUTED_FACES, FRAME_SIZE_COMPUTED_FACES, FRAME_DEFAULT_FACE,
	FRAME_MODE_LINE_FACE, x_current_display, XFreeGC, same_size_fonts,
	unload_font, unload_color, XGetGeometry, DisplayWidth,
	DisplayHeight, XMenuSetAEQ, XMenuSetFreeze, XMenuRecompute,
	FONT_WIDTH, check_x, ButtonReleased) [MSDOS_NO_X]: Define suitable
	stubs.
	(XM_FAILURE, XM_SUCCESS, XM_NO_SELECT, XM_IA_SELECT) [MSDOS_NO_X]:
	Define like old-x-menu versions.
	Guard the entire file from being included more than once.
	(internal_flush): Correct guarding conditional.
	Don't include <time.h>.

	* puresize.h (SYSTEM_PURESIZE_EXTRA): Default to 0.
	(BASE_PRESIZE): Increase by SYSTEM_PURESIZE_EXTRA.

	* s/msdos.h: #define HAVE_FACES.
	(LIBX11_SYSTEM, HAVE_X11R5) [HAVE_X_WINDOWS]: Define.
	(PURESIZE): Don't define.
	(SYSTEM_PURESIZE_EXTRA): Define.

	* sysdep.c (init_sys_modes): Make sure that internal_terminal_init
	is only called once.
	(init_sys_modes, reset_sys_modes) [HAVE_X_WINDOWS]: Add conditional.
	(reset_sys_modes) [MSDOS]: Change to MSDOG's default colours.
	(kbd_input_ast): Use just XSETFRAME.

	* window.c (init_window_once) [!MULTI_FRAME]: Set selected_frame and
	last_nonminibuf_frame once and for all.

	* xdisp.c (redisplay, copy_part_of_rope, fix_glyph,
	display_text_line, display_mode_line): Check HAVE_FACES, not
	HAVE_X_WINDOWS.

	* xfaces.c: Guard the file by HAVE_FACES, not HAVE_X_WINDOWS.
	[MSDOS]: Include dosfns.h needed for the following.
	[!HAVE_X_WINDOWS]: Don't #include xterm.h or Xos.h.
	[!HAVE_X_WINDOWS] (intern_face, clear_face_cache, load_font,
	load_color, unload_color, Fpixmap_spec_p, load_pixmap,
	same_size_fonts, frame_update_line_height): Don't define.
	[!HAVE_X_WINDOWS] (intern_face, clear_face_cache, build_face): Define
	stubs.
	(load_color) [MSDOS && !HAVE_X_WINDOWS]: Special version.
	(Fset_face_attribute_internal) [MSDOS && !HAVE_X_WINDOWS]: Stubify
	font setting, mask away 0x08 (the blink bit) from background colour.
	(syms_of_xfaces) [!HAVE_X_WINDOWS]: Don't defsubr Spixmap_spec_p.
	(Fmake_face_internal): Use FOR_EACH_FRAME.
	(init_frame_faces): Guard multi-frame stuff with MULTI_FRAME.

	* xmenu.c [!HAVE_X_WINDOWS]: Don't #include xterm.h.
	[!HAVE_X_MENU]: Don't #include XMenu.h.
	(xmenu_show, xdialog_show) [!HAVE_X_WINDOWS]: We don't need the
	button hack for msdos.
	(xmenu_show) [!HAVE_X_WINDOWS]: Don't adjust coordinates with
	respect to the (non-existing) outer window manager.

	* xterm.c (x_term_init) [!subprocesses]: Don't set input descriptor.


Mon Oct 17 02:44:30 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfaces.c (intern_face): Update mask properly to set stipple
	and fill_style.  Set everything all at once in XCreateGC.

	* window.c (Fdisplay_buffer): In desperation case of looking for
	something to split, verify that a window's frame is splittable.

Sun Oct 16 21:16:38 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* Makefile.in.in (xfns.o): Depend on paths.h.

	* xfns.c: Include paths.h.

Sun Oct 16 07:06:52 1994  Morten Welinder  <terra@@mole.gnu.ai.mit.edu>

	* editfns.c (Fuser_login_name): Optional argument uid decides
	which user's login name to return.

Sun Oct 16 01:57:47 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (dumpglyphs): Explicitly draw background stipple.

	* xfaces.c (intern_face): Set the fill_style.

	* paths.h.in (PATH_BITMAPS): New macro.

	* xterm.c (x_bitmap_icon): Arg FILE is now a Lisp_Object.
	(x_iconify_frame, x_make_frame_visible): Supply FILE arg to it.
	* xfns.c (x_set_icon_type): Pass x_bitmap_icon 2nd arg as Lisp_Object.
	(x_icon_type): Return a Lisp_Object.

	* xfns.c (x_destroy_bitmap, x_reference_bitmap): Take frame as arg.
	Callers changed.
	(struct x_bitmap_record): New fields height, width, depth.
	(x_create_bitmap_from_data): Fill in those fields.
	(x_bitmap_height, x_bitmap_width, x_bitmap_pixmap): New functions.
	(x_create_bitmap_from_file): Arg FILE is now a Lisp_Object.
	Search Vbitmap_file_path for it.  Fill in new fields.
	(syms_of_xfns): Set up Vbitmap_file_path.

	* xterm.c (x_bitmap_icon): Properly discard the previous bitmap.
	(x_text_icon): Discard bitmap only if we have one.

	* xfaces.c (copy_face, merge_faces): Copy the pixmap_h and pixmap_w.
	(intern_face): Store the stipple in the GC.
	(unload_color): Really do free the color.
	(free_frame_faces): Call unload_pixmap.
	(Fset_face_attribute_internal): Handle background pixmap.
	Destroy old pixmap when necessary.
	(free_frame_faces): Destroy pixmaps.
	(load_pixmap): New function.
	(Fpixmap_spec_p): New function.
	(syms_of_xfaces): Set up Lisp function pixmap-spec-p.
	Set up Qpixmap_spec_p.

	* dispextern.h (struct face): Delete cached_index field.
	* xfaces.c (compute_base_face): Don't set cached_index field.

	* ralloc.c (heap_base): Move static var to top level.
	(struct heap): New slot `free'.
	(obtain): Set `free' for new heap.
	(get_bloc): Update `free'.
	(find_heap): New function.
	(update_heap_free_pointers): New function.
	(resize_bloc, r_alloc_sbrk): Call update_heap_free_pointers.

Sat Oct 15 19:46:29 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* lread.c (load_unwind): Cast argument of fclose.

	* xmenu.c: Delete HAVE_X11 conditionals.

	* xfaces.c (compute_base_face): Use FRAME_FOREGROUND_PIXEL,
        FRAME_BACKGROUND_PIXEL, FRAME_FONT.

	* xterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL)
	(FRAME_FONT): New macros.

Sat Oct 15 20:44:50 1994  Tom Tromey  <tromey@@drip.colorado.edu>

	* xterm.c (x_bitmap_icon): Allow bitmap to come from file.
	(x_wm_set_icon_pixmap): Second arg is now pixmap_id;
	call x_lookup_pixmap.
	(x_text_icon): Call x_destroy_bitmap.

	* xfns.c (x_set_icon_type): If icon-type is a string, then use
	bitmap from that file.
	(Fx_create_frame): Set icon_bitmap field to -1.
	(struct x_bitmap_record): New structure type.
	(x_bitmaps, x_bitmaps_size, x_bitmaps_last, x_bitmaps_free):
	New variables.
	(x_allocate_bitmap_record): New function.
	(x_reference_bitmap, x_create_bitmap, x_create_bitmap_from_file)
	(x_destroy_bitmap, x_lookup_pixmap): New functions.

	* xterm.h (x_display): Changed icon_bitmap_flag to icon_bitmap.
	Changed all users.

Sat Oct 15 15:55:25 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* textprop.c (Fset_text_properties): Special case for getting
	rid of all properties of a string.

Sat Oct 15 00:00:27 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* xterm.c (stuffline, scraplines): Functions deleted.
	(line_dance, line_dance_len, line_dance_in_progress): New vars.
	(XTins_del_lines): Don't do any X calls; just update the array.
	(do_line_dance): New function.  Do the X calls here.
	(XTupdate_end, XTwrite_glyphs): Call do_line_dance.

Fri Oct 14 00:44:48 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/isc4-0.h (LIBS_SYSTEM): Add -lcposix.
	(sigblock, SIG_BLOCK): Define if not defined.

	* sysdep.c (read_input_waiting): Set e.frame_or_window w/ XSETFRAME.

	* xterm.c (x_new_font): Don't keep looping after the FONT property.

Thu Oct 13 22:41:07 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* term.c (term_get_fkeys_1): Workaround for IBM's dialect of terminfo.

Thu Oct 13 02:21:03 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (Fx_create_frame): Init the FRAME_X_SCREEN
	as soon as can be done.

	* xdisp.c (redisplay): Call clear_face_cache instead
	of clear_face_vector.  Do it at most once per 1000 redisplays.

	* xfaces.c: Eliminate the "display faces"; store GCs in the
	"computed faces".
	(face_vector, nfaces, nfaces_allocated): Vars deleted.
	(free_frame_faces): Free GCs in the computed faces.
	Free the computed faces themselves.
	(clear_face_cache): Renamed from clear_face_vector
	and completely rewritten to free GCs in the computed faces.
	(get_cached_face): Function deleted.
	(build_face): Function deleted; code moved into intern_face.
	(intern_face): Don't treat default and modeline faces specially.
	(recompute_basic_faces): Call intern_face, not build_face.

	* xfaces.c (intern_face, clear_face_vector, load_font, unload_font)
	(load_color, free_frame_faces, recompute_basic_faces):
	Use FRAME_X_DISPLAY.

	* m/mips-siemens.h (C_ALLOCA): Defined.
	(HAVE_ALLOCA): Definition deleted.

	* editfns.c (Fuser_login_name, Fuser_real_login_name):
	Call init_editfns now if it was not done before.

	* puresize.h (BASE_PURESIZE): Incremented.

	* lisp.h (Funhandled_file_name_directory): Declared.

Mon Oct 10 11:58:00 1994  Rainer Schoepf  (Schoepf@@Uni-Mainz.de)

	* unexalpha.c (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.

Wed Oct 12 19:27:27 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* unexelf.c: Include config.h.

	* s/freebsd.h (LD_SWITCH_SYSTEM): New definition.

Tue Oct 11 20:41:25 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* lisp.h (enum Lisp_Misc_Type): Add new enumerations
	Lisp_Misc_Intfwd, Lisp_Misc_Boolfwd, Lisp_Misc_Objfwd,
	Lisp_Misc_Buffer_Objfwd.
	(enum Lisp_Type): Delete the corresponding enumerations from here.
	(struct Lisp_Buffer_Objfwd): New structure.
	(struct Lisp_Intfwd, struct Lisp_Boolfwd, struct Lisp_Objfwd): Ditto.
	(XINTFWD, XBOOLFWD, XOBJFWD, XBUFFER_OBJFWD): Access the new structure.
	(INTFWDP, BOOLFWDP, OBJFWDP, BUFFER_OBJFWDP): Ditto.
	(XSETINTFWD, XSETBOOLFWD, XSETOBJFWD, XSETBUFFER_OBJFWD): Deleted.
	(union Lisp_Misc): Add new members.
	(allocate_misc): Declare this function.
	(XINTPTR): Deleted.
	* alloc.c (mark_object): Use the new substructure.
	* buffer.c (buffer_slot_type_mismatch): Take just the offset as
	argument.  Only check against types that are actually used.
	* bytecode.c (Fbyte_code): Skip optimization for all Lisp_Misc types.
	* data.c (do_symval_forwarding, store_symval_forwarding,
	find_symbol_value, Fset, default_value, Fset_default,
	Fkill_local_variable): Use the new substructure.
	(store_symval_forwarding): Change args to buffer_slot_type_mismatch.
	* lread.c (defvar_int, defvar_bool, defvar_lisp,
	defvar_lisp_nopro, defvar_per_buffer): Use the new substructure.

	* minibuf.c (test_completion): Fix reversed condition.

	* ralloc.c: Install Hiroshi Nakano's rewrite to allow multiple
	heaps, for implementations where the C library makes calls to
	sbrk directly.

Tue Oct 11 15:38:19 1994  Jim Blandy  <jimb@@geech.gnu.ai.mit.edu>

	* search.c (scan_buffer): After temporarily turning immediate_quit
	off, turn it back on by setting it to allow_quit, never 1.

	* search.c (find_before_next_newline): Declare the arguments'
	types explicitly; don't let them default to int.

	* xdisp.c (display_scan_buffer): Pass the correct number of
	arguments to scan_buffer.

Tue Oct 11 03:05:17 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (read_key_sequence): The output of function-key-map
	goes to key-translation-map, but not vice versa.
	Don't exit if either of them is a possibility.

Tue Oct 11 02:10:44 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* lisp.h (Lisp_Misc): new type code, replacing Lisp_Marker (and
	soon to replace other type codes as well).
	(XMARKER, SETMARKER, MARKERP): Check/set the new type field.
	(XMISC, SETMISC, MISCP): New accessor macros for the superset type.
	(struct Lisp_Free): New structure.
	(Lisp_Misc_Free): Type code for that structure.
	* buffer.h (OVERLAY_POSITION): Marker assert now tests substructure.
	* alloc.c: (MARKER_BLOCK_SIZE, marker_block, marker_free_list):
	Now refers to the superset type, not just markers.
	(allocate_misc): New function, extracted from Fmake_marker.
	(Fpurecopy): Check the substructure.
	(clear_marks, mark_object, gc_sweep): Likewise.
	* buffer.c (buffer_slot_type_mismatch): Test against Lisp_Misc.
	* fns.c (internal_equal): Check the substructure.
	* print.c (print): Check the substructure.

Mon Oct 10 21:44:18 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* sysdep.c (sys_subshell): Use NILP macro directly, not its
	expansion.  Previous code was leftover from when NULL was a bad
	word.

Mon Oct 10 17:29:59 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fileio.c (Finsert_file_contents): Use original unexpanded
	FILENAME arg to set buffer-file-name.

	* buffer.c (list_buffers_1): Fix indentation in header lines.

	* xdisp.c (redisplay_window): Fix Oct 1 change:
	don't call cancel_my_columns unless we will call try_window.

Mon Oct 10 12:02:15 1994  Jim Blandy  <jimb@@geech.gnu.ai.mit.edu>

	* buffer.c (syms_of_buffer): Doc fix for cache-long-line-scans.

Mon Oct 10 01:07:44 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* syntax.c (scan_sexps_forward): At startincomment,
	do notice a 2-char comment ender that straddles FROM.

Sun Oct  9 17:47:37 1994  Jim Blandy  <jimb@@geech.gnu.ai.mit.edu>

        Cache the results of some scans, to improve performance in buffers
        containing very long lines.
        * region-cache.c, region-cache.h: New files.
        * Makefile.in.in (obj) Add region-cache.o to the list of files.
        (region-cache.o): New target.
        (buffer.o, indent.o, search.o): Depend on region-cache.h.
        * buffer.h (struct buffer): New members: newline_cache,
        width_run_cache, width_table, and cache_long_line_scans.
        * buffer.c: #include region-cache.h.
        (Fget_buffer_create): Initialize new members of struct buffer.
        (Fkill_buffer): Free memory occupied by caches.
        (init_buffer_once): Set default value for cache_long_line_scans in
        buffer_defaults, and give it a bit in buffer_local_flags.
        (syms_of_buffer): Add DEFVAR_PER_BUFFER for cache_long_line_scans.
        * insdel.c (prepare_to_modify_buffer): Invalidate width run and
        newline caches, if they exist.
        * search.c: #include "region-cache.h".
        (max, min): Make these functions, not macros; we'd like to pass
        them arguments that would be bad to evaluate more than once.
        (newline_cache_on_off): New function.
        (scan_buffer): New argument END.  Call newline_cache_on_off.  If
        this buffer's newline cache is enabled, consult it to see if we
        need to scan a region for newlines, and store information in the
        cache after doing so.
        (find_next_newline): Pass new arg to scan_buffer.
        (find_before_next_newline): New function.
        * cmds.c (Fforward_line): Call scan_buffer with new args.
        (Fend_of_line): Replace call to Fforward_line and search loop with
        call to find_before_next_newline.
        * syntax.c (find_defun_start): Call scan_buffer with new args.
        * indent.c: #include "region-cache.h".
        (character_width, disptab_matches_widthtab, recompute_width_table,
        width_run_cache_on_off): New functions.
        (compute_motion): Call width_run_cache_on_off.  If this buffer's
        width run cache is enabled, consult it to see if we need to
        traverse a region character-by-character; store information in the
        cache after doing so.  Call find_before_next_newline instead of
        writing out an equivalent loop explicitly, to take advantage of
        the newline cache.
        Doc fixes.
        * xdisp.c (redisplay_window): Invalidate width_run_cache, if the
        buffer's display table doesn't match the width table the cache was
        built for.
        (display_text_line): Use compute_motion to skip forward to the
        left edge of the window when the window is hscrolled; this is
        faster than rendering all the characters into the bit bucket when
        the hscroll is large.
        Doc fixes.
        (display_count_lines): Call scan_buffer with new args.
        * disptab.h (window_display_table): Doc fix.
        (buffer_display_table): New declaration.
        * indent.h (disptab_matches_widthtab, recompute_width_table): New
        declarations.

Sat Oct  8 00:28:16 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (inhibit_local_menu_bar_menus): New variable.
	(read_char_x_menu_prompt): Optionally don't use local maps.
	(syms_of_keyboard): Set up Lisp variable.

Fri Oct  7 17:42:10 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* lisp.h (enum Lisp_Misc_Type): New type.
	(struct Lisp_Marker): Add a member of that type.  Delete unused
	member `modified'.

Fri Oct  7 09:51:47 1994  Morten Welinder  <terra@@frigg.diku.dk>

	* minibuf.c (test_completion): New function, extracted from
	do_completion.
	(do_completion): Use test_completion.
	(Fminibuffer_complete_and_exit): If completion is already
	exact, don't try to complete it.

	* dired.c (file_name_completion): Ignore files "." and ".."
	in first pass.
	(Ffile_name_completion): Perform the completion even if the
	name part is empty.

Fri Oct  7 04:35:31 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* insdel.c (make_gap): Keep input blocked till after we set BEG_ADDR.

	* fileio.c (check_writable, check_executable): Test HAVE_EACCESS.

	* config.h.in (HAVE_EACCESS): Add #undef.

Thu Oct  6 17:21:29 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* alloc.c (mark_object): Don't check for Lisp_Void; nothing ever
	creates that type.
	* bytecode.c (Fbyte_code): Likewise.
	* data.c (Fboundp, Ffboundp, find_symbol_value, Fset,
	Fdefault_boundp, Fdefault_value): Likewise.
	* lisp.h (Lisp_Void, VOIDP): Deleted.

	* floatfns.c (Fabs): Don't use XFASTINT when negative.
	* data.c (Flsh, Fadd1, Fsub1, Flognot): Likewise.

	* buffer.c (init_buffer_once): Don't use XSETFASTINT when negative.
	(reset_buffer_local_variables, Fbuffer_local_variables): Access
	buffer_local_flags as Lisp_Object, not int.
	* data.c (Fset, default_value, Fset_default,
	Fkill_local_variable): Likewise.
	* lread.c (defvar_per_buffer): Likewise.
	Give XSETBUFFER_OBJFWD an integer offset, not a pointer.

	* lread.c (read1): New argument for returning out-of-band data,
	obviating the need for Lisp_Internal datatype.
	(read0, read1, read_list): Use that new calling sequence.
	* lisp.h (Lisp_Internal, XSETINTERNAL, INTERNALP): Deleted.

	* lread.c (Fload, load_unwind): Store stream pointer as a cons of
	two integers, obviating the need for Lisp_Internal_Stream datatype.
	* lisp.h (Lisp_Internal_Stream, XSETINTERNAL_STREAM,
	INTERNAL_STREAMP): Deleted.
	* alloc.c (mark_object): Delete case Lisp_Internal_Stream.

Wed Oct  5 01:49:26 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* unexec.c (make_hdr): Undo June 16 change.

	* fileio.c (Ffile_regular_p): New function.
	(syms_of_fileio): defsubr it.

	* xterm.c (x_term_init): Call XtSetLanguageProc or XSetLocaleModifiers.

Tue Oct  4 18:55:23 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (x_set_icon_type): Remove period from error message.

	* xterm.c (x_make_frame_visible, x_iconify_frame):
	Call x_bitmap_icon if frame wants a bitmap icon.

	* xfns.c (x_icon_type): New function.

	* callint.c (Finteractive): Doc fix.

Tue Oct  4 06:06:48 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* buffer.c (validate_region): Swap using temp Lisp_Object, not int.

	* lisp.h (XSETINT): Set object type as well as value.
	(XSETCONS, XSETBUFFER, XSETVECTOR, XSETSUBR, XSETSTRING,
	XSETSYMBOL, XSETMARKER, XSETOBJFWD, XSETWINDOW, XSETPROCESS,
	XSETFLOAT): Likewise.
	(XSETBOOLFWD, XSETBUFFER_OBJFWD, XSETWINDOW_CONFIGURATION,
	XSETINTERNAL_STREAM, XSETINTFWD, XSETINTERNAL): New macros.
	(XSETUINT, XSETPNTR, XFUNCTION, XSETFUNCTION, XSETINTPTR): Deleted.

	* frame.h (XSETFRAME): Set object type as well as value.
	* m/alpha.h, m/gec63.h, m/hp800.h, m/iris4d.h, m/iris5d.h, m/mips.h:
	Don't override the (new) definition of XSETINT from lisp.h.
	Delete XSETUINT and XSETPNTR, which are no longer used.
	* *.c: Use new accessor macros instead of calling XSET directly.
	* xterm.h (SCROLL_BAR_UNPACK): Likewise.
	* fns.c (Fstring_equal): No longer necessary to set type separately.
	(Fstring_lessp): Likewise.
	* callint.c (Fprefix_numeric_value): Likewise.
	* fileio.c (Finsert_file_contents): Likewise.

	* lisp.h (XSETFASTINT): New macro.
	(XFASTINT): Changed to non-lvalue syntax, to ensure that callers
	will use XSETFASTINT instead.
	(CHECK_NUMBER_COERCE_MARKER): Don't use XFASTINT as an lvalue.
	(CHECK_NUMBER_OR_FLOAT_COERCE_MARKER): Likewise.
	* *.c: Likewise.
	* frame.h (FOR_EACH_FRAME): Likewise.

Tue Oct  4 00:47:57 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* Makefile.in.in (MKTIME_OBJ): New variable.
	(obj): Use MKTIME_OBJ.

	* config.h.in (HAVE_MKTIME): Add #undef.

	* xmenu.c (widget_id_tick): Move definition into conditional.
	(syms_of_xmenu): Conditionalize initialization of widget_id_tick.

	* xmenu.c (last_menu_bar_item_end): Var deleted.
	(this_menu_bar_item_beg, this_menu_bar_item_end): Vars deleted.
	(other_menu_bar_item_p, unread_menu_bar_button)
	(check_mouse_other_menu_bar): Functions deleted.
	(last_event_timestamp, Vdouble_click_time, Vmouse_depressed):
	Decls deleted.
	(xmenu_show): XMENU_FOO conditional and its contents deleted.

	* xterm.c (input_signal_count): New variable.
	(XTread_socket): Increment it.
	(x_make_frame_visible): Exit final loop when XTread_sockets has run.

Sun Oct  2 17:28:26 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* window.c (Frecenter): Don't trigger point-motion hooks.

	* fileio.c (Finsert_file_contents): set type of `end', not just
	the value.

	* xfns.c (x_figure_window_size): Use new formula for scroll bar width.

	* config.h.in (HAVE_UTIME_H): Add #undef.
	* systime.h: Don't include <utime.h> here.
	* sysdep.c: Include it here instead.
	(set_file_times): Move struct declaration to top of file.

Sun Oct  2 17:24:08 1994  Paul Reilly  <pmr@@churchy.gnu.ai.mit.edu>

	* xmenu.c (popup_get_selection): Remove BLOCK_INPUT, UNBLOCK_INPUT
	since the calls to popup_get_selection provide the protection.

Sun Oct  2 08:27:06 1994  Paul Reilly  <pmr@@geech.gnu.ai.mit.edu>

	* xfns.c: (HACK_EDITRES): Declare if using X11R5.
	(widget_id_tick): New variable.
	(x_any_window_to_frame): Use lw_window_is_in_menubar for
	widget set independence.
	(x_window): Renamed screen_widget to frame_widget.  Use
	lw_create_widget and lw_set_main_areas for widget set
	independence.  Enable using editres for X11R5.

	* widget.c (EmacsFrameSetCharSize): Use lw_refigure_widget for
        widget set independence.

	* widget.h: Declare resources showGrip, allowResize, and
        resizeToPreferred.

	* keyboard.c (make_lispy_event): Do not set item.  Now handled in
        xmenu.c by popup_get_selection.

Sat Oct  1 00:42:02 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* frame.c (keys_of_frame): Make binding for delete-frame.

	* xdisp.c (redisplay_window): If we set PT, and that alters a region
	being highlighted, call try_window again.

	* Makefile.in.in (LIBXTR6): If NEED_LIBW, add -lw.
	* s/usg5-4-2.h (NEED_LIBW): Defined.

	* Makefile.in.in (LDFLAGS): New variable.
	(LIBX): Use LDFLAGS.

Fri Sep 30 16:31:45 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* data.c (Fmake_local_variable): Doc fix.

Thu Sep 29 18:59:13 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fileio.c (check_writable, check_executable) [__HURD__]:
	Use eaccess.

	* xfaces.c (compute_char_face): Handle list as overlay face property.

Thu Sep 29 15:21:56 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* minibuf.c (scmp): Use unsigned chars, to avoid confusing DOWNCASE.

	* unexaix.c (CHECK_SCNHDR, write_segment): Fix format/arg mismatch.
	* xfns.c (x_report_frame_params): Likewise.

Thu Sep 29 09:57:38 1994  Boris Goldowsky  <boris@@cs.rochester.edu>

	* xfaces.c (compute_char_face): If face text-property is a list,
	merge the attributes of the faces in the list.

Thu Sep 29 00:39:15 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* buffer.c (Foverlay_get): Handle `category' property on overlay.

	* xfaces.c (Fset_face_attribute_internal): Mark frame garbaged whenever
	any face's font or color is changed.

	* keyboard.c (head_table): Set up Qdelete_frame.
	(kbd_buffer_get_event): Handle delete_window_event by making
	a delete-frame event.

Wed Sep 28 18:54:46 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* data.c (Flocal_variable_p): New function.
	(syms_of_data): defsubr it.

Wed Sep 28 16:41:39 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* fileio.c (Fdelete_file): Undo Sep 16 change.
	* dired.c (syms_of_dired): Likewise.

Tue Sep 27 00:01:45 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>

	* frame.h (scroll_bar_pixel_width, scroll_bar_cols): Update comment.
	* xfns.c (x_set_scroll_bar_width): Nil now means 2 columns' worth.
	(Fx_create_frame): Default scroll bar width is now nil.
	* xterm.c (x_new_font): New rule for computing column width.
	Factored out common code.
	(XTset_vertical_scroll_bar): Use new width formula.
	[!USE_X_TOOLKIT] (x_set_window_size): Likewise.
	* widget.c (set_frame_size, EmacsFrameSetCharSize): Likewise.

	* lisp.h (BOOLFWDP, INTERNALP, INTFWDP, OBJFWDP, INTERNAL_STREAMP,
	BUFFER_LOCAL_VALUEP, SOME_BUFFER_LOCAL_VALUEP, BUFFER_OBJFWDP,
	VOIDP): New type test macros.
	* *.h, *.c: Use type test macros instead of checking XTYPE directly.

Mon Sep 26 21:36:54 1994  Richard Stallman  <rms@@churchy.gnu.ai.mit.edu>

	* window.c (syms_of_window): Doc fix.

Mon Sep 26 18:56:01 1994  Fred Pierresteguy <F.Pierresteguy@@frcl.bull.fr>

	* m/dpx2.h (POSIX_SIGNALS): Define it.
	(sigsetmask): Add #undef.

Mon Sep 26 14:12:21 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* m/*.h, s/*.h (WORDS_BIG_ENDIAN): Renamed from BIG_ENDIAN,
	and restored where mistakenly deleted by earlier change.

	* emacs.c (argmatch): New function.
	(main): Recognize --longopt synonyms for all options handled here.
	Add --help and --version.

Sun Sep 25 14:00:18 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* unexsunos4.c: Delete __FreeBSD__ conditional macro definitions.
	(unexec): Major changes in UNDO_RELOCATION code.

	* unexsunos4.c (is_it): Rename argument and local variable.

Sun Sep 25 02:40:01 1994  Richard Stallman  <rms@@churchy.gnu.ai.mit.edu>

	* Makefile.in.in (${etc}DOC): Run make-docfile twice--two batches.

Sat Sep 24 19:34:26 1994  Richard Stallman  <rms@@churchy.gnu.ai.mit.edu>

	* sysdep.c (set_file_times): Don't test HAVE_UTIME.
	Assume utime exists if utimes does not.

	* config.h.in (HAVE_UTIMES): Add #undef.

	* editfns.c (Fformat_time_string): Mostly rewritten, to handle
	unlimited size, and report errors properly.

	* Makefile.in.in (strftime.o, mktime.o): New target.
	(obj): Add strftime.o and mktime.o.

	* strftime.c, mktime.c: New files (shared from libc).

Sat Sep 24 03:54:02 1994  Erik Naggum  (erik@@naggum.no)

	* editfns.c (Fformat_time_string): New function.
	(syms_of_editfns): Defsubr it.

Sat Sep 24 01:09:16 1994  Richard Stallman  <rms@@churchy.gnu.ai.mit.edu>

	* sysdep.c [USE_DL_STUBS] (dlopen, dlsym, dlclose): New functions.
	* s/sunos4-1.h (USE_DL_STUBS): Defined.
	* s/sunos4shr.h (USE_DL_STUBS): Add #undef.

	* fileio.c (Ffile_writable_p): Use stat to test for existence.
	(check_executable, check_writable): New functions.
	(Ffile_executable_p, Ffile_writable_p): Use the new functions.

	* intervals.c (set_point):
	If Vinhibit_point_motion_hooks, ignore intangible properties.
	If move backwards into intangible text, move back over it.

	* textprop.c (syms_of_textprop): Doc fix.

	* config.h.in (STACK_DIRECTION): Don't redefine if defined already.
	Move definition down past #include's.

Fri Sep 23 20:15:02 1994  Richard Stallman  <rms@@churchy.gnu.ai.mit.edu>

	* s/linux.h: Don't include signal.h, values.h.
	(signal): Definition deleted.

	* abbrev.c (Fexpand_abbrev): Instead of Fcapitalize_region,
	just upcase the first initial.

	* casefiddle.c (Fupcase_initials_region): New function.
	(Fupcase_initials): New function.
	(syms_of_casefiddle): defsubr them.

	* minibuf.c (read_minibuf_unwind): Preserve Vdeactivate_mark.

	* s/isc2-2.h (DONT_DEFINE_SIGNAL): Macro deleted.

	* m/next.h (DK_HEADER_FILE): Macro deleted.

	* m/tahoe.h (DKSTAT_HEADER_FILE): Macro deleted.

	* m/hp800.h (CPTIME_SYMBOL, DKXFER_SYMBOL): Macros deleted.

	* sysdep.c (start_of_text): Don't test CANNOT_UNEXEC.
	* unexec.c: Don't test CANNOT_UNEXEC.
	* unexaix.c: Don't test CANNOT_DUMP or CANNOT_UNEXEC.

	* sysdep.c: Delete BROKEN_FASYNC conditional.

	* data.c (Fset_default, Fset): Delete RTPC_REGISTER_BUG conditionals.

	* process.c (Fprocess_send_eof): Delete DID_REMOTE conditional.

        * buffer.c (get-file-buffer): Doc fix.

Fri Sep 23 00:54:08 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* frame.c (prev_frame): Fix typo.

	* unexec.c (copy_text_and_data): Delete some printf's.

	* m/acorn.h (PURESIZE): Definition deleted.

	* xfns.c (x_figure_window_size): Decode (- N), (+ N) for position.
	(x_set_frame_parameters): Handle (+ N) and (- N).
	Preserve negative positions properly too.
	[USE_X_TOOLKIT] (x_window): Let xneg, yneg specify whether to
	negate left and top.
	(Fx_parse_geometry): Handle [XY]Negative with positive number
	or negative number without [XY]Negative.

	* callint.c (Qplus): New variable.
	(syms_of_callint): Set it up.
	* lisp.h (Qplus): Declared.

	* xfns.c (Fx_create_frame): Rename menuBarLines resource to menuBar.

	* s/sunos4-1-3.h, s/sunos4shr.h (X_IO_BUG): Definition deleted.

	* textprop.c (Fset_text_properties): Don't let validate_interval_range
	increment START and END twice.

	* xterm.h (FRAME_X_DISPLAY): New macro.

	* s/freebsd.h (BSD): Have two definitions according to version number.

Thu Sep 22 16:50:11 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (x_destroy_window): Decrement ref count of x_screen struct.

	* xfns.c (the_x_screen): New variable.
	(syms_of_xfns): Staticpro parts of it.
	(Fx_open_connection): Initialize it.
	(Fx_create_frame): Make frame point to it.
	(Fx_list_fonts): Use a cache stored in FRAME_X_SCREEN.

	* xterm.h (struct x_screen): New structure.
	(struct x_display): New field x_screen.
	(FRAME_X_SCREEN): New macro.

	* process.c (exec_sentinel_error_handler): Call update_echo_area.
	(read_process_output_error_handler): Likewise.

	* xdisp.c (update_echo_area): New function.

Thu Sep 22 15:20:12 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* buffer.c (evaporate_overlays): Overlay is in car, not cdr.

Wed Sep 21 21:46:06 1994  Tom Tromey  <tromey@@creche.colorado.edu>

	* doc.c (get_doc_string): Look in ../etc while dumping.
	(munge_doc_file_name): New subroutine.

Thu Sep 22 02:25:07 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* minibuf.c (Fcompleting_read): Doc fix.

	* puresize.h (BASE_PURESIZE): Increment both values.

	* window.c (Fdelete_other_windows): Nice error if WINDOW is minibuf.

	* lisp.h (Vdebug_on_error): Declared.

	* process.c (exec_sentinel_error_handler): New function.
	(exec_sentinel): Catch all errors in the sentinel.

	* keyboard.c (read_char): Don't return right away when
	read_char_minibuf_menu_prompt returns non-nil.
	Instead, set key_already_recorded, which inhibits most but not all
	of the work at non_reread.

Wed Sep 21 17:22:44 1994  Simon Leinen  <simon@@lia.di.epfl.ch>

	* cm.h (cmputc): Return int rather than void.
	* cm.c (evalcost, cmputc): They now return their arguments.

Wed Sep 21 10:09:42 1994  Per Abrahamsen  <abraham@@iesd.auc.dk>

	* window.c (display-buffer, special-display-buffer-names)
	(special-display-regexps, special-display-function): Accept cons
	cells in `special-display-buffer-names' and
	`special-display-regexps'.  If the buffer name matches the car,
	call `special-display-function' with the cdr as a second argument.

Wed Sep 21 14:52:44 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/bsd386.h (HAVE_TERMIOS, NO_TERMIO): Defined.

	* editfns.c (Fmessage_or_box): Use Fmessage_box with new name.

	* process.c (read_process_output_error_handler): New function.
	(read_process_output_call): New function.
	(read_process_output): Catch and report errors in filters.

	* keyboard.c (cmd_error_internal):
	New function, broken out of cmd_error.

	* fileio.c (Fread_file_name): If DEFAULT is nil and INITIAL is not,
	use INITIAL to set DEFAULT.

	* editfns.c (Fmessage_box): Renamed from Fbox_message.

Fri Sep 17 08:40:48 1994  Michael Ben-Gershon (mybg@@cs.huji.ac.il)

	* unexec.c (copy_text_and_data): Add RISCiX changes.

	* m/acorn.h, s/riscix1-1.h, s/riscix1-2.h: New files added.

Wed Sep 21 15:39:33 1994  Bill Burton  (billb@@progress.com)

	* s/ptx.h: New file for Sequent DYNIX/ptx 1.x/2.x

	* m/sequent-ptx.h: New file for Sequent DYNIX/ptx 1.x/2.x

Wed Sep 21 11:10:40 1994  Frederic Pierresteguy  <F.Pierresteguy@@frcl.bull.fr>

	* editfns.c (Fbox_message): New function to print a message in
	a dialog box.
	(Fmessage_or_box): New function that choose whether to print a
	message in a dialog or in the echo area.

Wed Sep 21 01:13:51 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* search.c (Freplace_match): New 4th arg OBJECT can specify string
	to replace in.

	* casefiddle.c (upcase_initials): New function.
	(casify_object): Handle CASE_CAPITALIZE_UP.

	* fns.c (concat3): New function.

	* xfns.c (Fx_get_resource): Doc fix.

	* buffer.c (overlays_at): New arg PREV_PTR.
	Return previous overlay end.
	(Foverlays_at): Pass NULL for last 2 args of overlays_at.
	(Fnext_overlay_change): Pass new arg to overlays_at.
	(Fprevious_overlay_change): New function.
	* xterm.c (note_mouse_highlight): Pass new arg to overlays_at.
	* xfaces.c (compute_char_face): Pass new arg to overlays_at.
	* textprop.c (Fget_char_property): Pass new arg to overlays_at.
	(NULL): Define if not defined.

	* minibuf.c (get_minibuffer): Make BUF current to kill its local vars.

Tue Sep 20 01:49:37 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* ralloc.c (r_alloc_freeze_level): New variable.
	(r_alloc_freeze, r_alloc_thaw): New functions.
	(r_alloc_sbrk): Refuse to move blocs, if frozen.

	* unexaix.c (report_error): Include reason in error message.

Tue Sep 20 01:05:50 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* eval.c (init_eval_once): Init Vrun_hooks here.
	(syms_of_eval): Not here.

Tue Sep 20 00:06:50 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* search.c (trivial_regexp_p): New function.
	(search_buffer): Don't depend on internal format of re_pattern_buffer.

	* frame.h (FRAME_SCROLL_BAR_PIXEL_WIDTH): New macro, supersedes
	VERTICAL_SCROLL_BAR_PIXEL_WIDTH; no longer device-dependent.
	All callers changed.
	(FRAME_SCROLL_BAR_COLS): New macro, supersedes
	VERTICAL_SCROLL_BAR_WIDTH; no longer constant.  All callers changed.
	(scroll_bar_pixel_width, scroll_bar_cols): New members of struct frame.
	* xterm.h (VERTICAL_SCROLL_BAR_PIXEL_WIDTH): Deleted.
	* xfns.c (x_set_scroll_bar_width): New function.
	(x_frame_parms): Add that function to this table.
	(Qscroll_bar_width): New symbol.
	(syms_of_xfns): Initialize and staticpro it.
	(Fx_create_frame): Set default scroll bar width.
	* xterm.c (x_new_font): Compute number of scrollbar columns.

	* keyboard.c (kbd_store_ptr): Declare storage class before qualifier.
	(make_lispy_event): Fix Lisp_Object vs. int problems.
	(read_avail_input, menu_bar_items_index, read_key_sequence): Likewise.
	* window.c (Fset_window_buffer): Likewise.
	* alloc.c (make_float, make_pure_float): Likewise.

	* sysdep.c (set_file_times): Move this out of the USG conditional.

Mon Sep 19 22:29:09 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/sco4.h (POSIX_SIGNALS): Defined.

Mon Sep 19 13:46:04 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* buffer.c (syms_of_buffer): Doc fix.

	* keymap.c (Fkey_description): Reverse condition.

Mon Sep 19 13:23:44 1994  Jim Blandy  <jimb@@geech.gnu.ai.mit.edu>

        Add a new element to display tables controlling side-by-side
	window borders.
	* buffer.c (syms_of_buffer): Update doc string for
	`buffer-display-table'.
	* disptab.h (DISP_TABLE_SIZE): Bump to 262.
	(DISP_BORDER_GLYPH): New accessor macro.
	* xdisp.c (display_text_line): Consult the display table when
	building side-by-side window borders.

Mon Sep 19 01:05:21 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/netbsd.h (SYSTEM_TYPE): Delete definition.

	* lisp.h (RETURN_UNGCPRO): Use if (1) .. else, not do ... while (0).

Sun Sep 18 19:56:33 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* lisp.h (Fmember): Declare this function.
	* intervals.c: #include "keyboard.h"
	* term.c: Declare Fmake_sparse_keymap.
	* minibuf.c (read_minibuf): Fix Lisp_Object vs. int problems.
	* frame.h [!MULTI_FRAME] (FOR_EACH_FRAME): Likewise.
	* fns.c (Frandom): Likewise.
	* eval.c (Fsignal): Likewise.
	* frame.c (Fframe_parameters): Likewise.
	* indent.c (vmotion, Fvertical_motion): Likewise.
	* lread.c (openp): Likewise.
	* dispnew.c (direct_output_for_insert, direct_output_forward_char):
	Likewise.
	* textprop.c (validate_interval_range, property_value,
	Fget_char_property, Fnext_property_change,
	Fnext_single_property_change, Fprevious_property_change,
	Fprevious_single_property_change): Likewise.

Sun Sep 18 16:00:13 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* process.c (pty_name): Move it up; make it static.
	(create_process): Set the tty_name field.
	(Fprocess_tty_name): New function.
	(syms_of_process): defsubr it.

	* process.h (struct process): New field tty_name.

	* s/sol2.h (HAVE_VFORK): Defined.
	(C_SWITCH_SYSTEM): Deleted.
	(const): Definition deleted.

	* fileio.c (Ffile_writable_p): Don't use ro_fsys.
	(ro_fsys): Deleted.

Sun Sep 18 14:57:23 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* config.h.in (_ALL_SOURCE): Don't redefine if already defined.

	* xdisp.c [!HAVE_X_WINDOWS] (store_frame_title): Dummy macro.

	* sysdep.c (set_file_times): New function, replaces EMACS_SET_UTIMES.
	* fileio.c (Fcopy_file): Use it, and check for the error return.
	* systime.h: Declare it.
	[HAVE_UTIME_H]: #include <utime.h>.

	* config.h.in (_ALL_SOURCE, HAVE_STRUCT_UTIMBUF, HAVE_SELECT,
	HAVE_TIMEVAL): Add #undefs.

	* s/*.h, m/*.h: Delete obsolete symbols USE_UTIME, MISSING_UTIMES,
	IRIS_UTIME, USG_SYS_TIME, HAVE_SELECT, HAVE_TIMEVAL, BIG_ENDIAN.

Sun Sep 18 00:00:16 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* dispnew.c (preserve_other_columns): Fix arg to sizeof in bcopy call.

	* minibuf.c (get_minibuffer): Call Fkill_all_local_variables.

	* buffer.c (reset_buffer): Don't call reset_buffer_local_variables.
	(Fget_buffer_create): Call it here.
	(init_buffer_once): And here.

	* window.c (struct saved_window_data): New slots min_width, min_height.
	(Fcurrent_window_configuration): Set slots from window_min_...
	(Fset_window_configuration): Restore them.
	Set window_min_height and window_min_width to 1
	while restoring windows.

	* unexsunos4.c (SUNOS4 or __FreeBSD__): Define UNDO_RELOCATION.
	(unexec): Test UNDO_RELOCATION.  Distinguish the relocation formats
	of __FreeBSD__ and SUNOS4.

	* s/sol2.h (REL_ALLOC): #undef deleted.

	* keymap.c (Fkey_description): Give error if KEYS not an array.
	(get_keyelt, access_keymap, get_keymap_1): Use type test macros.

Sat Sep 17 01:21:19 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* unexsunos4.c (unexec): Fix logic for rounding section boundaries.

	* config.h.in (EMACS_CONFIG_OPTIONS): Add #undef.

	* textprop.c (property_value): Declare args plist, prop.

	* s/osf1.h (malloc, realloc): Declared.

	* print.c (print): sprintf arg for frame depends on VALBITS.

	* callproc.c (Fcall_process) [__osf__ && __alpha]:
	Don't stop reading if read returns negative.

	* puresize.h (PURESIZE_RATIO, BASE_PURESIZE): Defined.
	(PURESIZE): Define it based on those.
	* m/alpha.h (PURESIZE): Definitions deleted.

Fri Sep 16 23:09:34 1994  Karl Heuer  <kwzh@@churchy.gnu.ai.mit.edu>

	* buffer.h: Declare some functions.
	* intervals.h: Declare some functions.
	* lisp.h: Declare some functions.
	* xterm.c, xfaces.c: Add #include "intervals.h"
	* fileio.c (barf_or_query_if_file_exists): Fix declaration.
	* xmenu.c (menu_item_enabled_p): Fix declaration.

Fri Sep 16 22:15:28 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (hack_wm_protocols): Arrange to handle WM_SAVE_YOURSELF.

	* s/hpux9.h (HAVE_TERMIO, HAVE_TERMIOS, NO_TERMIO): Undo Jul 28 change.

Fri Sep 16 21:49:50 1994  Karl Heuer  <kwzh@@churchy.gnu.ai.mit.edu>

	* emacs.c (Vsystem_configuration_options): New variable.
	(syms_of_emacs): Initialize it.

	* buffer.h: Declare evaporate_overlays.
	* buffer.c: Declare new symbol Qevaporate.
	(syms_of_buffer): Initialize it.
	(Fmove_overlay): Check if overlay is empty.
	(Foverlay_put): Check if setting evaporate property on empty overlay.
	(evaporate_overlays): New function.
	* insdel.c (del_range_1): Call evaporate_overlays after deleting text.

Fri Sep 16 20:13:01 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* m/intel386.h (HAVE_VFORK): Defined.
	[__GNUC__] (C_SWITCH_SYSTEM): Add #undef.

	* emacs.c (shut_down_emacs): Don't call Fx_close_current_connection.

	* lisp.h (EMACS_INT, EMACS_UINT): Define, if not already defined.

	* alpha.h (EMACS_INT, EMACS_UINT): Defined.

Fri Sep 16 19:56:09 1994  Rainer Schoepf  <schoepf@@sc.ZIB-Berlin.DE>

	* s/osf1.h [__alpha] (LD_SWITCH_SYSTEM): Alternate definition.

	* unexalpha.c, m/alpha.h: New files.

	* alloc.c (pure, pure_size): Use EMACS_INT.
	(free_float, free_cons, PAD, STRING_FULLSIZE, struct string_block)
	(make_pure_string, make_pure_vector, Fgarbage_collect, mark_object)
	(gc_sweep, compact_strings, Fmemory_limit): Use EMACS_INT.

	* buffer.c (reset_buffer_local_variables, Fbuffer_local_variables)
	(init_buffer_once): Use EMACS_INT.

	* callint.c (Fcall_interactively): Use EMACS_INT.

	* data.c (sign_extend_lisp_int): Use EMACS_INT.

	* dispextern.h (struct face): Use EMACS_UINT.

	* doc.c (Fdocumentation): Use EMACS_INT.

	* editfns.c (Fnarrow_to_region, format1): Use EMACS_INT.

	* floatfns.c (FLOAT_TO_INT, FLOAT_TO_INT2): Use EMACS_INT.

	* frame.h (struct frame, selected_frame, last_nonminibuf_frame):
	Use EMACS_INT.

	* lisp.h (Lisp_Object): Use EMACS_INT.
	(MARKBIT): Don't define if already defined.
	(VALMASK, GCTYPEMASK, XSETTYPE, XSET)
	(XSETCONS, XSETBUFFER, XSETVECTOR, XSETSUBR, XSETSTRING)
	(XSETSYMBOL, XSETFUNCTION, XSETMARKER, XSETOBJFWD)
	(XSETINTPTR, XSETWINDOW, XSETPROCESS, XSETFLOAT)
	(struct Lisp_String, struct Lisp_Vector): Use EMACS_INT.

	* lread.c (Fload): Use EMACS_INT.

	* marker.c (unchain_marker): Use EMACS_INT.

	* mem-limits.h: Check for __alpha, in __osf__ conditional.
	(EXCEEDS_LISP_PTR): Use EMACS_UINT.

	* print.c (print): Use EMACS_UINT.

	* puresize.h (CHECK_IMPURE, all versions): Use EMACS_INT.

	* window.h (struct window): Use EMACS_INT.

	* xdisp.c (message): Use EMACS_INT.

	* xterm.h (struct scroll_bar, SCROLL_BAR_VEC_SIZE): Use EMACS_INT.

Fri Sep 16 19:39:30 1994  Morten Welinder  <terra@@diku.dk>

	* fileio.c (Finsert_file_contents) [MSDOS]: Don't re-gc-protect
	filename; delete unused variables.

Fri Sep 16 19:35:04 1994  Karl Heuer  <kwzh@@churchy.gnu.ai.mit.edu>

	* term.c (clear_to_end): Fix reversed condition.

Fri Sep 16 18:16:48 1994  K. Berry <kb@@cs.umb.edu>

	* dired.c (Qcompletion_ignored_extensions): New symbol.
	(syms_of_dired): Initialize it.
	* fileio.c (Fdelete_file): Bind completion-ignored-extensions to nil.

Fri Sep 16 17:56:25 1994  Morten Welinder  (terra@@diku.dk)

	* s/msdos.h (MODE_LINE_BINARY_TEXT): Define this symbol.
	* xdisp.c (decode_mode_spec): Use it when defined.

Fri Sep 16 17:29:48 1994  Andreas Schwab <schwab@@issan.informatik.uni-dortmund.de>
	* minibuf.c (read_minibuf): Don't add to the history list if the
	minibuffer string is empty, since it is not very useful.

Fri Sep 16 16:07:35 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* m/hp9000s300.h [not BSD4_3] [__GNUC__] (HAVE_ALLOCA): Defined.

Fri Sep 16 07:15:51 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* xdisp.c [!HAVE_X_WINDOWS] (frame_title_ptr): define as always null.

Fri Sep 16 03:42:39 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c: Delete X11 conditionals.
	(XTupdate_end, XTupdate_begin, XTclear_end_of_line)
	(XTclear_frame, XRINGBELL, stufflines, scraplines, dumprectangle)
	(XTread_socket, x_draw_box, clear_cursor, refreshicon, x_iconify_frame)
	(x_bitmap_icon, x_text_icon, x_new_font, x_term_init)
	(x_calc_absolute_position, x_set_window_size)
	(x_make_frame_visible, x_make_frame_invisible): Delete X10 code.
	(dumpqueue, x_do_pending_expose, dumpborder, XEvent, x_read_exposes)
	(enqueue_event, dequeue_event, queue_event_count)
	(mouse_event_pending_p, x_set_resize_hint): Delete X10 versions.

	* xfns.c: Delete X11 conditionals.
	(defined_color, x_decode_color, x_set_foreground_color)
	(x_set_background_color, x_set_mouse_color, x_set_cursor_color)
	(x_set_border_color, x_set_border_pixel, Fx_create_frame)
	(Fx_open_connection, Fx_close_current_connection, syms_of_xfns):
	Delete X10 code.
	(Fx_get_default, Fx_get_resource, Fx_rubber_band)
	(Fx_store_cut_buffer, Fx_get_cut_buffer): Delete X10 definitions.

	* xfns.c (Fx_display_grayscale_p): New function.
	(syms_of_xfns): defsubr it.

	* s/bsd386.h (__bsdi__): Define, unless already defined.
	(DECLARE_GETPWUID_WITH_UID_T): Define.

	* filelock.c (getpwuid): Test just DECLARE_GETPWUID_WITH_UID_T,
	not __bsdi__.
	* xrdb.c (getpwuid, getpwnam): Test just DECLARE_GETPWUID_WITH_UID_T,
	not __bsdi__.

Thu Sep 15 20:40:47 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* editfns.c (syms_of_editfns): Make Vsystem_name and Vuser...name
	lisp variables again.
	* xdisp.c (multiple_frames, Vframe_title_format,
	Vicon_title_format): New variables.
	(store_frame_title): New function.
	(x_consider_frame_title): Format title according to template.
	(display_mode_element): Handle frame title as well as mode line.
	(decode_mode_spec): Use w->buffer, not current_buffer.

Thu Sep 15 01:50:12 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/freebsd.h (DECLARE_GETPWUID_WITH_UID_T): Defined.
	[NO_SHARED_LIBS and __FreeBSD__]:
	(LD_SWITCH_SYSTEM, A_TEXT_OFFSET, A_TEXT_SEEK): Alternate definitions.

	* textprop.c (syms_of_textprop):
	Delete Lisp var interval-balance-threshold.

	* intervals.c, intervals.h (interval_balance_threshold): Var deleted.

	* xfns.c (Fx_create_frame): Make 1 the default for menu-bar-lines.

	* keyboard.c (gobble_input): Use sigblockx only if it is defined.

	* unexsunos4.c [SUNOS4]: Include link.h.
	(unexec) [SUNOS4]: Cancel relocations that ld.so did.

	* s/sunos4-0.h (SUNOS4): Defined.

Wed Sep 14 04:24:09 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* Makefile.in.in (xmenu.o): Depend on puresize.h.
	(cmds.o): Depend on window.h.

	* cmds.c: Include window.h.
	(Fnewline): Inhibit the insert-at-end-of-line hack
	when at the top of the window.

	* minibuf.c (Fcompleting_read): Doc fix.

	* xmenu.c: Include puresize.h.
	(menu_item_equiv_key): Use CHECK_IMPURE.

	* syntax.c (Fforward_comment): Do increment from, when reaching
	single-char comment end going forward.

	* callproc.c (delete_temp_file): Use Fdelete_file.

	* fileio.c (Fset_default_file_modes): Doc fix.

	* Makefile.in.in (OLDXMENU variable): Refer to the library in the
	dir where it is compiled.
	(OLDXMENU rule): Delete the commands; keep just a dep.

Sun Sep 11 14:56:01 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* Version 19.27 released.

Sat Sep 10 01:10:04 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keymap.c (syms_of_keymap): Doc fix.

	* keyboard.c (gobble_input): Block SIGALRM if we are using it.

	* gmalloc.c: Bug fix affecting __ptrdiff_t in non-ANSI case.

Wed Sep  7 03:54:08 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* Version 19.26 released.

Thu Sep  8 15:13:32 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (record_asynch_buffer_change): Don't test
	Fwaiting_for_user_input_p if no subprocesses.

Mon Sep  5 21:33:48 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/sol2.h [USE_X_TOOLKIT && HAVE_X11XTR6] (REL_ALLOC): Undefine it.

Sun Sep  4 23:20:51 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* emacs.c (init_cmdargs): After chasing link, use only the
	expanded name.

Sun Sep  4 20:12:07 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* fileio.c (Ffile_accessible_directory_p): Put back the gcpro.

	* sysdep.c (srandom): Pass arg to srand48; no return value.

Sun Sep  4 00:35:24 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* emacs.c (init_cmdargs): When setting dir, expand the dir name.

	* sysdep.c (random, srandom): Check HAVE_LRAND48, not HAVE_RAND48.
	Call lrand48, nor rand48.

	* config.h.in (HAVE_LRAND48): Replaces HAVE_RAND48.

Sat Sep  3 14:44:42 1994  Kaveh R. Ghazi  (ghazi@@noc.rutgers.edu)

	* m/delta88k.h [__GNUC__] (HAVE_ALLOCA): Defined.
	[__GNUC__] (C_ALLOCA): Add #undef
	(LIB_X11_LIB): Add #undef.
	(HAVE_TERMIOS): Defined.
	(HAVE_TERMIO): Add #undef.
	(NO_TERMIO): Defined.
	(sigsetmask): Add #undef.
	(USE_GETOBAUD): Defined.

Sat Sep  3 00:33:58 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* sysdep.c (init_baud_rate): Test that getobaud is actually defined.

	* sysdep.c (init_baud_rate) [USE_GETOBAUD]: Use getobaud.

Fri Sep  2 17:57:36 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* insdel.c (prepare_to_modify_buffer): Don't call
	verify_overlay_modification if no overlays or
	verify_interval_modification no intervals.

	* textprop.c (Fset_text_properties):
	Return early if buffer has no intervals and PROPS is nil.

Fri Sep  2 03:01:48 1994  Lennart Staflin  (lenst@@rudolf)

	* xdisp.c (display_text_line): Don't overrun the charstart area.

Fri Sep  2 01:31:58 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* insdel.c (insert_1): Don't call interval fns if buffer has none.

	* textprop.c (Fset_text_properties): Don't create or split an interval
	if we trivially do not need to change anything.

Wed Aug 31 16:39:57 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (defined_color): New arg ALLOC--optionally don't allocate
	the color.
	(x_decode_color, Fx_color_defined_p): Pass new arg.
	(Fx_color_values): New function.

Tue Aug 30 04:24:59 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* frame.c (Fdelete_frame): Fix previous change.

Tue Aug 30 11:11:59 1994  enami tsugutomo  <enami@@sys.ptg.sony.co.jp>

	* fileio.c (Fwrite_region): unbind_to should take two args.

Tue Aug 30 00:21:51 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fileio.c (Ffile_accessible_directory_p): No need for gcpro.

	* keyboard.c (input_polling_used): New function.
	* xterm.c (x_make_frame_visible): Call input_polling_used.

Sun Aug 28 01:53:01 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* frame.c (Fdelete_frame): Free the frame's glyphs arrays.
	Free the line insert/delete cost vectors.

	* dispnew.c (free_frame_glyphs): No longer static.

	* m/next.h (HAVE_MACH_MACH_H): Defined.

	* editfns.c (Finsert_and_inherit_before_markers):
	Use insert_before_markers_and_inherit for character args.
	(Finsert_and_inherit): Use insert_and_inherit for character args.

	* insdel.c (insert_before_markers_and_inherit): New function.

	* cmds.c (internal_self_insert): Use insert_and_inherit.

Sat Aug 27 18:45:24 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* indent.c (Findent_to): Pass new arg to Finsert_char.

	* editfns.c (Finsert_char): New arg INHERIT.
	Use insert_and_inherit if requested.

	* insdel.c (insert_1): New arg INHERIT.
	(insert_and_inherit): New function.

Fri Aug 26 17:19:52 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (polling_for_input): Define var unconditionally.
	* keyboard.h (polling_for_input): Declared.
	* xterm.c: Include keyboard.h.
	(x_make_frame_visible): Fix previous change: test polling_for_input
	instead of whether SIGIO is defined.
	* Makefile.in.in (xterm.o): Depend on keyboard.h.

Fri Aug 26 16:35:06 1994  Kevin Rodgers <kevinr@@ihs.com>

	* xfns.c (Fx_color_defined_p): Return list of RGB values, not just t.

Fri Aug 26 01:17:17 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* xterm.c (x_make_frame_visible): Call signal handler directly.

Thu Aug 25 18:18:50 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/linux.h: Add LINUX_QMAGIC conditional.

	* m/alliant-2800.h (USE_NONANSI_DEFUN): Defined.

	* lisp.h (DEFUN): Check USE_NONANSI_DEFUN.

	* Makefile.in.in (obj): Put cm.o before term.o.
	(Avoids mysterious lossage on Irix.)

	* xmenu.c (xmenu_show): Don't queue events that are in the menu bar.

Wed Aug 24 15:40:04 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xmenu.c (xmenu_show): Do nothing special for ButtonPress in the menu.
	Call XtDispatchEvent for all ButtonRelease events.
	xlwmenu.c now deals with posting the menu.
	Check for events in subwidgets of the menu
	when deciding whether to queue them for later handling.

	* unexelfsgi.c (unexec): Copy previous change in unexelf.c.

	* s/irix5-0.h [__GNUC__] (LD_SWITCH_SYSTEM): Defined.

Wed Aug 24 17:40:38 1994  Simon Leinen  <simon@@lia.di.epfl.ch>

	* term.c (term_init): Added missing argument to tgetstr.
	(tgetstr): Move declarations to top level.

Wed Aug 24 02:26:54 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* xterm.c (x_make_frame_visible): Raise a signal to cause the
	pending X I/O to be read.

Wed Aug 24 01:16:45 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xdisp.c (display_scan_buffer): New function.
	(display_count_lines): Use that.

	* intervals.c (textget): Ignore category prop if not a symbol.

Tue Aug 23 22:04:05 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* s/gnu.h: New file.

Tue Aug 23 18:56:19 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* indent.c (pos_tab_offset): Don't trigger point-motion hooks.

	* buffer.c (Frename_buffer): Fix gcpro problems.
	* fileio.c (Fmake_symbolic_link, Ffile_accessible_directory_p,
	Finsert_file_contents, auto_save_error, Fwrite_region): Likewise.
	(Fcopy_file, build_annotations, Fdo_auto_save): Delete unused
	 variables.

Tue Aug 23 03:04:51 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* fileio.c (O_RDONLY): Defined.
	(Finsert_file_contents, Fcopy_file): use it.
	(barf_or_query_if_file_exists, Ffile_exists_p): Use stat, not access.
	(Ffile_readable_p): Use open, not access.

	* lread.c (O_RDONLY): Defined.
	(openp): Use it.

	* unexelf.c (unexec): Don't alter the info field
	of SHT_SYMTAB and SHT_DYNSYM sections.

	* xdisp.c (redisplay_window): Don't access text before BEGV.

	* keyboard.c (read_char): After read_char_minibuf_menu_prompt,
	don't just return; jump to non_reread.

	* fileio.c (Fmake_directory_internal): Pass just 2 args to handler.

Tue Aug 23 00:46:27 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* frame.c (Fmake_frame_invisible, Ficonify_frame): Don't switch frames.

Mon Aug 22 19:17:08 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* search.c (Fstring_match): Fix sign error.

	* m/ibmrs6000.h (LD_SWITCH_MACHINE): Use full path to ibmrs6000.inp.

Sun Aug 21 14:03:32 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* m/ibmrs6000.h (LD_SWITCH_MACHINE): Supply m/ibmrs6000.inp as input.

	* m/ibmrs6000.inp: New file.

Fri Aug 19 20:47:38 1994  Hiroshi NAKANO  <nakano@@whale.math.ryukoku.ac.jp>

	* unexelf.c: Eliminate local var bss_end.
	Update the symbol values of _edata and _end.

Fri Aug 19 01:37:54 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input):
	Clear waiting_for_user_input_p before returning.

	* xterm.c (x_make_frame_visible): Quit if requested, in loop at end.

Wed Aug 17 22:07:20 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (read_char): Don't show buffer-events to the user.
	Handle chars over 255 in dribble files.

Wed Aug 17 17:43:22 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* callproc.c (Fcall_process_region): gcpro filename_string.

Wed Aug 17 16:05:56 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* doc.c (store_function_docstring): Do nothing for bytecode object
	which has no slot for doc string.

Tue Aug 16 19:51:36 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* buffer.c (list_buffers_1): Update header line layout.

Sat Aug 13 19:11:21 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/sol2-4.h (pid_t): New definition.
	(vfork): Definition deleted.

	* xmenu.c (xmenu_show): Unconditionally update x_mouse_grabbed
	and Vmouse_depressed.

	* window.c (window_loop, case UNSHOW_BUFFER):
	When we delete a frame, skip all the windows on that frame.

Fri Aug 12 19:11:43 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>

	* s/isc4-0.h (NEED_SIOCTL): moved to isc-3.0.h.
	* s/isc3-0.h (NEED_SIOCTL): moved from isc-4.0.h, and disabled
	BROKEN_TIOCGWINSZ since it works fine when you use <sioctl.h>.
	(C_SWITCH_SYSTEM): Add -D_SYSV3 to ensure availability of
	traditional non-standard functions.
	(memmove): Delete this macro; it screws up <string.h> if you
	use the native cc.  (Emacs already does the right thing anyway.)

Fri Aug 12 01:22:45 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* indent.c (compute_motion): Use WIN's frame, not selected one.

	* xterm.c (x_new_font): Don't set filename = full_name if that's null.

Thu Aug 11 15:45:00 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* Makefile.in.in (FRAME_SUPPORT): Add faces.elc.

	* search.c (Freplace_match): Treat caseless initial like a
        lowercase initial.

	* keymap.c (Fdefine_key): Fix error message.
	(Fsingle_key_description): Likewise.

Wed Aug 10 16:28:47 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/sol2-3.h (POSIX_SIGNALS): Define it.
	(PTY_TTY_NAME_SPRINTF): New overriding definition.
	(sigsetmask): Add #undefs.

	* s/sol2-4.h (POSIX_SIGNALS, PTY_TTY_NAME_SPRINTF, sigsetmask):
	Delete those things (moved to sol2-3.h).

	* s/sol2-4.h (HAVE_VFORK): Deleted.
	(vfork): Define as emacs_vfork.

	* window.c (Fwindow_end): Undo previous change.

Tue Aug  9 13:39:31 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (record_asynch_buffer_change): Do nothing
	except when waiting_for_user_input_p.

	* m/i860.h [USG5_4] (SVR4): Defined.

	* xdisp.c (display_text_line):
	Make previous change #ifdef HAVE_X_WINDOWS.

Mon Aug  8 05:03:18 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* puresize.h [MULTI_FRAME] (PURESIZE): Increased.

	* window.c (Fwindow_end): If window_end_valid is nil, return nil.

	* window.c (Fpos_visible_in_window_p): Do something reasonable
	if w->start is outside the buffer bounds.

Sun Aug  7 02:40:34 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* s/sol2-4.h (PTY_TTY_NAME_SPRINTF): New definition.
	(sigsetmask): Add #undef.

	* keymap.c (Faccessible_keymaps): Fix previous change.

Sat Aug  6 20:58:03 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xdisp.c (display_text_line): Use the face properties
	of the overlay arrow, if any.

	* xfaces.c (compute_glyph_face_1): New function.

	* m/intel386.h (LIBS_MACHINE): If SOLARIS2_4, don't define this.
	* s/sol2-4.h (SOLARIS2_4): Defined.

Fri Aug  5 23:06:16 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keymap.c (Fuse_global_map, Fuse_local_map):
	Call record_asynch_buffer_change.

	* xterm.c (XTread_socket):
	Don't test X_IO_BUG; make that code unconditional.
	(x_noop_count, x_term_init): Likewise.

Thu Aug  4 17:00:11 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* data.c (Fdefine_function, Fdefalias): Handle advice as in Ffset.
	(Qad_advice_info): Lisp and C names renamed from Qadvice_info.
	(Qad_activate): C name renamed from Qactivate_advice.

	* fileio.c (Fread_file_name_internal): Call double_dollars
	when `changed' is set.

Wed Aug  3 21:53:58 PDT 1994  Caveh Jalali  (caveh@@eng.sun.com)

	* m/intel386.h [SOLARIS2] (VALBITS, GCTYPEBITS): New definitions.

	* s/sol2-4.h: New file.

Wed Aug  3 00:38:43 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* buffer.c (list_buffers_1): Add one column to size column.

	* xterm.c (x_make_frame_visible): Start one_in_four at 1.

	* window.c (Fwindow_end): Doc fix.

	* xterm.c (construct_mouse_click, construct_menu_click):
	Don't update x_mouse_grabbed, Vmouse_depressed, last_mouse_frame here.
	(XTread_socket): Update them here, so we do it without fail.
	(XTmouse_position, XTread_socket case MotionNotify):
	Check last_mouse_frame is nonzero before using it.

	* Makefile.in.in (alloca.o): Use -f in all rm's.

Tue Aug  2 18:08:18 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keymap.c (Faccessible_keymaps): Use PREFIX to set loop starting
	point; don't even consider maps except those reached via prefix.

	* keyboard.c (make_lispy_event): If the position is not in a window,
	at least pass along the frame it is in.

Mon Aug  1 18:28:32 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>

	* data.c (Ffset): Don't call Fget unless SYM's plist is consp.

Mon Aug  1 14:58:58 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* eval.c (Fprog2): Doc fix.

	* window.c (Fmove_to_window_line): Doc fix.

Mon Aug  1 11:10:40 1994  Frederic Pierresteguy  (F.Pierresteguy@@frcl.bull.fr)

	* xmenu.c (xmenu_show): Ignore any geometry resource from the user.

Sun Jul 31 02:37:25 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (Fx_get_resource): Doc fix.

	* data.c (syms_of_data): Set up Qadvice_info, Qactivate_advice.
	(Ffset): Activate advice if symbol has advice-info property.

	* xdisp.c (redisplay_window): Avoid using SET_PT to change point
	temporarily.

	* dispnew.c (sit_for): Undo previous change.

Sat Jul 30 14:26:59 1994  enami tsugutomo  <enami@@sys.ptg.sony.co.jp>

	* dispnew.c (direct_output_for_insert): Pass missing 8th
	argument to compute_char_face.

Sat Jul 30 16:36:38 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* keyboard.c (follow_key): Don't downcase letters here.
	Delete arg `case_converted'.
	(read_key_sequence): Do it here; but not if in middle of fcn key.

	* fns.c (Frandom): Handle LIMIT >= 40000000.

	* xdisp.c (decode_mode_spec): Handle %&.

Fri Jul 29 21:21:09 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* process.c (create_process): Set default handling for SIGINT, etc.

Thu Jul 28 08:46:00 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input): Fix previous change.

	* s/hpux9.h (HAVE_TERMIOS, NO_TERMIO): Defined.
	(HAVE_TERMIO): Add #undef.

	* sysdep.c (random): Use rand differently, and distinguish BSD/USG.

	* fns.c (Frandom): Fix previous change.

Wed Jul 27 13:29:53 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* syssignal.h [POSIX_SIGNALS] (signal): New definition.

	* config.h.in (HAVE_RAND48): Add #undef.

Tue Jul 26 11:25:58 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xterm.c (x_queue_event, x_unqueue_events): New functions.
	(x_start_queuing_selection_requests): New function.
	(x_stop_queuing_selection_requests): New function.
	(XTread_socket): Queue up SelectionRequest events sometimes.
	* xselect.c (x_get_foreign_selection): Use the new feature
	to queue up SelectionRequest events.

	* process.c (wait_reading_process_input): If wait_for_cell,
	do check for keyboard input and handle it.

	* fns.c (Frandom): Use just the low 30 bits of random's value.

	* sysdep.c (random, srandom): Obey HAVE_RAND48 flag.
	Test that random is not a macro.  Don't test USG or BSD4_1.

	* m/tek4300.h (tek4300): Don't define if already defined.

Mon Jul 25 14:39:34 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* m/tek4300.h (BSD_PGRPS): Defined.

	* puresize.h (PURESIZE): Increase non-MULTI_FRAME value.

	* editfns.c (get_system_name): Add a cast.

	* config.h.in: Add #undef HAVE_H_ERRNO.
	* process.c, sysdep.c [!HAVE_H_ERRNO]: Declare h_errno.
	* sysdep.c (init_system_name): Set h_errno to 0 initially.
	* process.c (Fopen_network_stream): Set h_errno to 0 initially.

	* window.c (Fdisplay_buffer): Add MULTI_FRAME cond in last change.

	* Makefile.in.in: Add #undef alloca.

Sat Jul 23 21:20:05 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* minibuf.c (Fdisplay_completion_list): gcpro `completions'.

	* print.c (internal_with_output_to_temp_buffer): gcpro things.

	* puresize.h (PURESIZE): Incremented to 252000.

Sat Jul 23 12:26:36 1994  Jim Blandy  (jimb@@totoro.bio.indiana.edu)

        * .gdbinit: Set the breakpoint in x_error_quitter instead of
        _XPrintDefaultError.

Wed Jul 20 00:56:24 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* window.c (Fnext_window, Fprevious_window): Don't get stuck in a loop
	in the minibuffer frame.

	* dispnew.c (direct_output_for_insert): Dpn't call compute_char_face
	for a non-X frame.

	* s/usg5-4.h: Move #undef static before the includes.

	* xrdb.c [USG5] (SYSV): Don't define if already defined.

	* fileio.c (Fwrite_region): Do unwind the new unwind protect.

Tue Jul 19 12:05:00 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (struct font_info): New field full_name.
	(x_new_font): Record, and return, the full name of the font.

	* widget.c (EmacsFrameSetCharSize): Delete the code to make rows at
	least 3.

	* fileio.c (Vwrite_region_annotations_so_far): New variable.
	(syms_of_fileio): Set up Lisp var.
	(build_annotations): Handle annotate functions that switch buffers.
	Set Vwrite_region_annotations_so_far.
	(Fwrite_region): Handle change of buffer in build_annotations.
	Add an unwind protect to restore original buffer and kill the temp.

	* sysdep.c (init_system_name): Retry gethostbyname after TRY_AGAIN
        failure.

	* process.c (Fopen_network_stream):
	Retry gethostbyname after TRY_AGAIN failure.

	* s/isc4-0.h [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.

	* s/usg5-4.h (PTY_TTY_NAME_SPRINTF): Fail smoothly if cannot get pty.

	* sysdep.c (sys_subshell): Expand ~ in dir.
	Do the processing of dir before calling fork.
	Use vfork.

Mon Jul 18 02:09:30 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (note_mouse_movement): Use proper data type for window
	args to XQueryPointer.
	(x_scroll_bar_note_movement): Likewise.

	* keyboard.c (Vdeferred_action_list, Vdeferred_action_function):
	New variables.
	(command_loop_1): Handle them.
	(syms_of_keyboard): Set up Lisp variables.

	* s/linux.h [emacs]: Include stdio.h.

	* commands.h (unread_command_char): Declared.
	* dispnew.c (sit_for): Return immediately if unread events exist.

Sun Jul 17 19:52:42 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* textprop.c (Fget_text_property): Simplify using Ftext_properties_at.

Sun Jul 17 02:41:19 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* xfns.c (Fx_create_frame): Use 140 as default font size.

	* xmenu.c [USE_X_TOOLKIT] (xmenu_show): Handle UnmapNotify events.

Sat Jul 16 14:31:34 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* window.c (Fdisplay_buffer): Cope with unsplittable frames
	and dedicated windows.

	* frame.c [!MULTI_FRAME] (Fframe_first_window): Defined.
	(syms_of_frame): Defvar it.

Thu Jul 14 19:56:33 1994  Morten Welinder  (terra@@diku.dk)

	* s/msdos.h (HAVE_VOLATILE): Define.

Thu Jul 14 00:59:50 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (safe_run_hooks): Use local var to restore hook's value.

Wed Jul 13 20:55:47 1994  Morten Welinder  (terra@@diku.dk)

	* keyboard.c (kbd_buffer_get_event) [HAVE_MOUSE]: Include code
	to check for mouse dragging.
	(make_lispy_movement) [HAVE_MOUSE]: Define also in this case,
	but only include the non-multiframe stuff.

	* msdos.c (mouse_init1): Use alternate mouse detection for old
	mouse drivers.
	(mouse_get_pos): Downscale coordinates by 8.

Wed Jul 13 00:11:17 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* window.c (Fselect_window): Fix bug checking new_point is in range.

	* fileio.c (syms_of_fileio): Finish previous change.

	* keyboard.c (command_loop_1): Do direct output for cursor motion
	over text chars when disp tab exists but says nothing for them.

	* frame.h (FRAME_EXTERNAL_MENU_BAR) [!USE_X_TOOLKIT]: Give zero.

	* xdisp.c [!HAVE_X_WINDOWS] (compute_char_face, compute_glyph_face):
	Add simple alternate definitions for non-X case.

Tue Jul 12 15:09:25 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (Qlast_nonmenu_event): New variable.
	(syms_of_process): Set it up.
	(read_process_output, exec_sentinel): Bind it to t around filter.

	* fileio.c (Fmake_directory_internal): Use Qmake_directory_internal.
	(syms_of_fileio): Set up Qmake_directory_internal, not Qmake_directory.

	* frame.c [MULTI_FRAME] (Fframe_parameters): For non-X frames,
	fill in menu-bar-lines value.

Mon Jul 11 20:46:53 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xmenu.c (xmenu_show): Don't call XtUngrabPointer here.

	* Makefile.in.in (ctagsfiles): Rewrite to avoid compiler bug.

Sun Jul 10 20:37:09 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* window.c (Fdisplay_buffer): Add MULTI_FRAME conditional
	in previous change.

Sun Jul 10 19:11:24 1994  Morten Welinder  (terra@@diku.dk)

	* m/intel386.h [MSDOS] (NO_REMAP): Defined.
	* s/msdos.h (HAVE_MOUSE, PURESIZE): Definitions moved here.
	* m/dos386.h: File obsolete and deleted.

	* msdos.c (dos_rawgetc): Use bios, not kbhit.

Sat Jul  9 14:20:11 1994  Morten Welinder  (terra@@diku.dk)

	* fileio.c (Ffile_name_directory, Ffile_name_nondirectory,
	file_name_as_directory, directory_file_name, Fexpand_file_name,
	Ffile_name_absolute_p, Fsubstitute_in_file_name) [MSDOS]:
	Allow backslashed file names.

Sat Jul  9 00:43:51 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* puresize.h (PURESIZE) [MULTI_FRAME]: Increased to 250000.

	* lread.c (readevalloop): Correctly unbind the unwind protect.

Fri Jul  8 16:24:59 1994  Morten Welinder  (terra@@diku.dk)

	* msdos.c (do_visible_bell): Clean-up using GNU assembly extension.

Thu Jul  7 00:52:10 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m/sparc.h (BIG_ENDIAN): Don't redefine if defined.

	* Makefile.in.in (alloca.o): Delete allocatem.c first thing.

	* xmenu.c (xmenu_show) {USE_X_TOOLKIT}: ButtonPress no longer pops
	down; instead it forces the next ButtonRelease to exit.  Don't
	dispatch on ButtonPress events.

	* xfns.c (syms_of_xfns): Provide x-toolkit in toolkit version.
	Undo previous change.
	(x_toolkit): Variable deleted.

	* xfns.c (x_toolkit): New variable.
	(syms_of_xfns): Set up Lisp var x-toolkit.

	* window.c (Fnext_window, Fprevious_window): ALL_FRAMES = 0 means
	try both visible frames and iconified frames.
	(window_loop): Likewise, for FRAMES = 0.
	(Fget_buffer_window): Likewise, for FRAME = 0.
	(Fdisplay_buffer): Pass 0 to Fget_buffer_window;
	if the frame is iconified, make it visible.

	* frame.c (next_frame, prev_frame):
	MINIBUF = 0 means try visible frames and iconified frames.

Wed Jul  6 15:30:48 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xmenu.c (xmenu_show) [USE_X_TOOLKIT]: Keyboard input exits the menu.
	ButtonRelease does so if within Vdouble_click_time.
	Ignore mouse motion if button was already released.
	(menu_item_selection): Declare volatile, if __STDC__.

	* keyboard.c (make_lispy_event): Ignore menu bar up events.

Tue Jul  5 02:18:22 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* doprnt.c (doprnt): Handle padding on %c.

	* frame.c (next_frame, prev_frame): Change which frames to use
	when MINIBUF is a window.
	(Fnext_frame, Fprevious_frame): Doc fixes.

	* window.c: Doc fixes.

Mon Jul  4 23:54:05 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (XTread_socket, construct_menu_click) [USE_X_TOOLKIT]:
	Update x_mouse_grabbed and Vmouse_depressed.

Sat Jul  2 00:23:23 1994  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* xdisp.c (decode_mode_spec): %+ makes % for unmodified RO buffer.

	* buffer.c (syms_of_buffer): Doc fix.

	* xfaces.c (get_cached_face): Set the cached_index field.

Fri Jul  1 11:34:08 1994  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* sysdep.c (init_sys_modes): Turn off VSTART and VSTOP chars.
	On DGUX, turn off INPCK.

Fri Jul  1 03:13:06 1994  Paul Reilly  (pmr@@churchy.gnu.ai.mit.edu)

	* xfns.c (Fx_create_frame): Add GC protection for frame being made.

Thu Jun 30 00:27:11 1994  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* xterm.c (x_make_frame_visible): In x_sync loop at the end,
	every fourth time, sleep for 1/4 second.

	* xselect.c (x_own_selection, x_get_foreign_selection):
	Get rid of spurious X_TOOLKIT conditional.

	* frame.c (Fdelete_frame): Call x_clear_frame_selections.

	* xselect.c (x_own_selection): Put the frame in Vselection_alist.
	(x_clear_frame_selections): New function.

	* xterm.c (x_draw_box): Use curs_x and curs_y, not f->cursor_[xy].

	* xfns.c (XLIB_ILLEGAL_ACCESS): Defined.

Wed Jun 29 14:57:27 1994  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* s/hpux.h (random, srandom): Defined.

	* cmds.c (internal_self_insert): Now can return 2.
	* keyboard.c (command_loop_1): Don't clear nonundocount
	when internal_self_insert returns 1.

Tue Jun 28 18:21:08 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c (x_set_frame_parameters): Call x_set_offset directly.
	Handle `-' for position parameters.

Tue Jun 28 17:50:22 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* lread.c (readchar): Restart interrupted I/O.

Tue Jun 28 15:00:45 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* fileio.c (a_write): Loop while *ANNOT is listp, not consp.
	Previous code omitted all data from output files when *ANNOT was
	nil.

Tue Jun 28 05:25:06 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c (x_set_name): If no change needed, avoid consing.

	* xdisp.c (prepare_menu_bars): Call x_consider_frame_title
	only if windows_or_buffers_changed.

	* keyboard.c (safe_run_hooks): Take symbol as arg.
	Use Fsymbol_value and Fset.
	(command_loop_1): Pass symbol to safe_run_hooks.
	Look in the value cell to check for trivial case (no hooks).

	* xdisp.c (redisplay_region): For special treatment, BUF most be
	both current and displayed in selected window.

	* buffer.c (Foverlay_put): Pass redisplay_region a struct buffer *.

Mon Jun 27 16:43:46 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (a_write): Verify that *annot is a cons.

Sun Jun 26 12:28:23 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (echo_dash): Fix backwards conditional.
	(read_key_sequence): Don't echo if echo_keystrokes is 0.

	* m/news-risc.h (C_DEBUG_SWITCH) [not NEWSOS5]:
	Don't define if __GNUC__.
	(KERNEL_FILE) [not NEWSOS5]: New override definition.

Sat Jun 25 12:28:24 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (send_process): Major rewrite.
	Don't put in a C-d unless a single line is too long.
	Read process input whenever output gets stuck.
	Relocate BUF if we read input.  New arg OBJECT.
	(Fprocess_send_region, Fprocess_send_string, process_send_signal)
	(Fprocess_send_eof): Pass new arg OBJECT.

	* buffer.h (BUF_PTR_CHAR_POS): New macro.

	* window.c (Fsave_window_excursion): Doc fix.

	* s/hpux9.h (C_SWITCH_SYSTEM): Add -D_BSD.

	* frame.c (Fframe_parameters): Don't handle menu-bar-lines explicitly.

	* window.c (Fother_window_for_scrolling): New function.
	(Fscroll_other_window): Use that.
	(syms_of_window): defsubr it.

Fri Jun 24 20:13:01 1994  Karl Heuer  (kwzh@@nutrimat.gnu.ai.mit.edu)

	* fileio.c (Finsert_file_contents): Fix check for non-regular files.

Fri Jun 24 10:09:46 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* syntax.c (scan_lists, Fforward_comment): When moving backward over
	a comment, ignore a comment-starter that overlaps the comment-ender.

	* minibuf.c (Fcompleting_read): Doc fix.

Thu Jun 23 20:33:17 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* keyboard.c (syms_of_keyboard): Don't staticpro the same var twice.

Thu Jun 23 15:15:09 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/convexos.h: File deleted.

	* xterm.c: Don't include string.h or strings.h.

	* term.c (term_get_fkeys): Don't redeclare term_get_fkeys_1 here.

	* m/convex.h (LIBS_MACHINE, GETPGRP_NO_ARG): Defined.
	(NLIST_NAME_UNION, DECLARE_GETPWUID_WITH_UID_T): Defined.
	(CRT0_DUMMIES): Conditionalize according to __GNUC__.
	(convex): Define if necessary.
	(C_SWITCH_MACHINE): Definition deleted.

Wed Jun 22 00:15:49 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c (Fmove_overlay): Fix typo in previous change.

	* s/sunos4shr.h (X_IO_BUG): Defined.

Tue Jun 21 13:51:44 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* minibuf.c (read_minibuf_unwind): Run Qminibuffer_exit_hook here.
	(read_minibuf): Not here.

	* buffer.c (Fkill_buffer): Don't delete auto save file
	if it didn't come from this Emacs session.
	(Fmove_overlay): Add missing XINT calls in previous change.

Mon Jun 20 20:40:37 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xfns.c (x_window): Delete duplicate computation.
	Change type of reference argument from int to Dimension.

Mon Jun 20 10:50:29 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* config.h.in: Move #undef HAVE_STRERROR before the #includes.

	* m/mips4.h (HAVE_STRERROR, HAVE_XRMSETDATABASE)
	(HAVE_XSCREENRESOURCESTRING, HAVE_SETSID): Add #undefs.

	* buffer.c (Fmove_overlay): Call redisplay_region even when
	changing to a different buffer.

	* syntax.c (Fmatching_paren): Fix typo.

	* xterm.c (show_mouse_face): Set endcolumn ok in side-by-side windows.

Sun Jun 19 01:01:42 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/linux.h (SEGMENT_MASK): Defined.

	* xfns.c (x_window): Take account of pane widget internal border width.

	* s/linux.h (C_OPTIMIZE_SWITCH): Definition deleted.

	* lisp.h (RETURN_UNGCPRO): Swallow semicolon.
	(GCPRO5): New macro.

	* xmenu.c (single_keymap_panes): Put menu_item_equiv_key in the gcpro.
	(menu_item_equiv_key): GCPRO things.

	* keymap.c (Flookup_key): Add gcpro.
	(Fkey_binding, Fminor_mode_key_binding): Likewise.
	(Fwhere_is_internal): Likewise.

	* keyboard.c (apply_modifiers): Use assq_no_quit.

Sun Jun 19 03:54:02 1994  Erik Naggum  (erik@@naggum.no)

	* syntax.h (SYNTAX_MATCH): Fix typo (syntax -> matcher).

	* syntax.c (Fmatching_paren): New function.
	(Fchar_syntax): Pass arg directly to SYNTAX, no masking.

Sat Jun 18 15:20:10 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* .gdbinit: Doc fixes.
	(xsymbol): Cast $ to int.
	(xvector, xstring): Don't use a string constant.
	Reduce size limit for printing contents.

	* s/sol2.h (GETTIMEOFDAY_ONE_ARGUMENT): Undo previous change.

Sat Jun 18 19:52:15 1994  Francesco Potorti`  (pot@@fly.cnuce.cnr.it)

	* m/delta.h (memmove): switch the first two args.

Sat Jun 18 09:00:50 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_make_frame_visible): At end, wait till Emacs sees
	frame is visible.

	* keyboard.c (echo_after_prompt): New variable.
	(echo_prompt, cancel_echoing): Set it.
	(echo_dash): Test it.

	* s/linux.h (C_DEBUG_SWITCH): Define, if THIS_IS_CONFIGURE.
	(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR):
	(HAVE_XSCREENNUMBEROFSCREEN, HAVE_XRMSETDATABASE):
	Comment out these definitions.

	* Makefile.in.in (doprnt.o): Depend on config_h.

Fri Jun 17 19:30:46 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* systime.h (EMACS_GET_TIME): Test GETTIMEOFDAY_ONE_ARGUMENT,
	not USG5_4.
	* s/usg5-4.h (GETTIMEOFDAY_ONE_ARGUMENT): Define it.
	* s/sol2.h (GETTIMEOFDAY_ONE_ARGUMENT): Undef it.

	* xfns.c (x_real_positions): Make sure we know the parent window.

Fri Jun 17 16:01:55 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* window.h (minibuf_prompt): Now a Lisp_Object.  All uses changed.

	* minibuf.c (minibuf_save_list): New variable, replaces
	minibuf_save_vector.
	(read_minibuf): Cons it up.
	(read_minibuf_unwind): Pop back the saved values.
	(syms_of_minibuf): staticpro it.

	* indent.c (compute_motion): Recenter overlays, for speed.

Fri Jun 17 09:33:21 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (scratch_cursor_gc): New variable.
	(dumpglyphs): Rework handling of GCs for cursor display
	to use scratch_cursor_gc, and reuse the GC more.

Thu Jun 16 14:50:43 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* unexec.c (make_hdr): Handle case of no "additional header".

	* xdisp.c (redisplay_region): Treat selected window's buffer
	specially, not current buffer.

	* syssignal.h [USG5_4] (sigblock): Use |, not &.

Thu Jun 16 11:36:35 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xdisp.c (redisplay_window): Don't use shortcut if window_end_vpos
	is out of date.

Thu Jun 16 11:01:33 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (Fprocess_status): Return nil for process name
	that has no process.

	* dispnew.c (syms_of_display): Make baud-rate a user var.

	* syntax.c (scan_lists): Get error if eob within comment with depth!=0.

Thu Jun 16 02:55:51 1994  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* unexec.c: Include <sys/file.h> and [USG5] <fcntl.h> to define
        O_* macros.
	(O_RDONLY, O_RDWR): Define if undefined.
	[emacs] (report_error): Use report_file_error so the user can tell
	what the errno code was.
	(unexec): Use O_RDONLY instead of explicit 0.
	(make_hdr): Don't undo A_TEXT_OFFSET adjustment #ifndef NO_REMAP,
	since it was never adjusted earlier #ifndef NO_REMAP.
	(adjust_lnnoptrs): Use O_RDWR instead of explicit 2.

Wed Jun 15 16:11:16 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_noop_count): New variable.
	(x_term_init) [X_IO_BUG]: Init it.
	(XTread_socket) [X_IO_BUG]: Don't do XNoOp every time, just 1 in 100.

Wed Jun 15 00:03:36 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* syssignal.h (sigblock) [USG5_4]: Define if not defined.

Tue Jun 14 23:40:29 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* lread.c: Put config.h first.

	* hftctl.c: Put sys/signal.h and errno.h first, then config.h.

	* dired.c: Put stdio.h, sys/types.h and sys/stat.h after config.h.

	* callproc.c, dispnew.c, frame.c, term.h: Put stdio.h after config.h.
	* widget.c, xmenu.c, xterm.c: Put stdio.h after config.h.

Tue Jun 14 20:17:16 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* sysdep.c (init_system_name): New function, replaces get_system_name.
	* lisp.h: declare it.
	* editfns.c (init_editfns): Call it.
	(get_system_name): New function, now just uses Vsystem_name.
	* xterm.c (x_term_init): Use Vsystem_name instead of calling
	get_system_name.

	* keymap.c (Fsingle_key_description): Allow strings as keys.

	* process.c (create_process): Set input_wait_mask before forking.

Tue Jun 14 15:45:44 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* indent.c (vmotion): Use find_next_newline_no_quit.
	(indented_beyond_p): Likewise.

	* search.c (find_next_newline_no_quit): New function.

	* sysdep.c (init_sys_modes): Don't set up sigio here if window system.

	* keyboard.c (read_key_sequence): Verify event has a POSN_BUFFER_POSN
	before trying to extract it.

	* eval.c (init_eval_once): Call xmalloc, not malloc.

	* process.c (Fprocess_send_eof): Doc fix.

Mon Jun 13 17:07:59 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (interrupt_signal, init_keyboard):
	Don't handle SIGINT and SIGQUIT if using window system directly.

	* sysdep.c (init_sys_modes): Don't call set_terminal_modes
	if using a window system.

	* xterm.c (XTread_socket): Use x_top_window_to_frame in prev change.

	* s/sol2.h (SOLARIS2): Defined.

	* m/intel386.h: Add conditional for SOLARIS2.

Mon Jun 13 16:55:30 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xmenu.c (single_keymap_panes): gcpro some things.

Mon Jun 13 15:44:51 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (XTread_socket): Handle Xatom_wm_save_yourself
	by calling XSetCommand.

	* emacs.c (init_cmdargs): Set up initial_argv, initial_argc.

	* keyboard.c (syms_of_keyboard): Properly init Vsystem_key_alist.

	* unexaix.c (adjust_lnnoptrs): Handle multiple aux symbols.

Sun Jun 12 15:57:02 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* editfns.c (transpose_markers): Allow for gap at start of region.
	(Ftranspose_regions): Don't precompute pointers into buffer text.

Sun Jun 12 08:42:36 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c (x_window): Request "save yourself" commands.

	* callint.c (Fcall_interactively): Ignore `-' in string.
	(Fcall_interactively): Don't call minibuffer-window-active-p;
	determine directly whether a minibuf window is active.

	* keyboard.c (read_char): When we loop and call redisplay,
	do prepare_menu_bars first.

Sat Jun 11 08:12:46 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* search.c (Freplace_match): Be sure not to treat non-digit like digit.

	* xmenu.c (xmenu_show): Don't call XMenuDestroy twice
	in XM_FAILURE case.

	* Makefile.in.in (xterm.o): Depend on dispextern.h.

	* s/sunos4-1-3.h (X_IO_BUG): Defined.

Fri Jun 10 16:31:19 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/linux.h (CLASH_DETECTION): Defined.

	* minibuf.c (Fdisplay_completion_list):
	Require at least two spaces between items.

Tue Jun  7 13:33:23 1994  Richard Stallman  (rms@@geech.gnu.ai.mit.edu)

	* keyboard.c (command_loop_1):
	Treat nil in display tab like no display tab.

Tue Jun  7 11:50:49 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* mips-siemens.h:  Include pyramid.h, not mips.h.
	(LOAD_AVE_TYPE, LOAD_AVE_CVT): Definitions deleted.
	(NO_ARG_ARRAY, HAVE_ALLOCA): Defined.
	(BROKEN_FIONREAD): Add #undef.

Tue Jun  7 19:19:04 1994  Morten Welinder  (terra@@diku.dk)

	* msdos.c (init_environment): Clean up code and make the default
	EMACSPATH equal to the directory from which Emacs was started.
	(emacsroot): New variable.
	(rootrelativepath): New function.
	* msdos.h: Add template for rootrelativepath.
	* lread.c [MSDOS]: #include "msdos.h".
	* callproc.c (init_callproc) [MSDOS]: Exclude less code, so ../etc
	is still tested for doc file.

Mon Jun  6 21:11:13 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* fns.c (Fy_or_n_p, Fyes_or_no_p) [HAVE_X_MENU]: Redisplay before
	popping up a menu.

	* dispnew.c (Fframe_or_buffer_changed_p): Reuse the state vector.

Mon Jun  6 08:37:39 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* frame.c (Ficonify_frame, Fmake_frame_invisible, Fmake_frame_visible):
	Increment windows_or_buffers_changed.

	* xdisp.c (redisplay): Don't call x_consider_frame_title.
	(display_mode_line): Likewise.
	(prepare_menu_bars): Call it here.

Mon Jun  6 01:02:32 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* dispnew.c (Fframe_or_buffer_changed_p): New function.

Sun Jun  5 07:13:01 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_wm_set_icon_position, x_wm_set_icon_pixmap):
	[USE_X_TOOLKIT]: Use top-level widget's window.

	* s/bsd386.h (BSD): Redefine.
	(WAITTYPE, WRETCODE, WCOREDUMP): New definitions.
	Include wait.h.

	* m/sun386.h (LIBS_MACHINE) [USG]: New #define.

	* xterm.c (x_term_init): New args xrm_option and resource_string.
	Pass an -xrm option to XtAppInitialize if appropriate.

	* xfns.c (Fx_open_connection): Set up Vx_resource_name and xrm_option
	before calling x_term_init.  Pass new args.

	* keyboard.c (modify_event_symbol): Return nil if out of range.

	* keymap.c (Fkey_description): Avoid using Fmapconcat--do it directly.

	* keyboard.c, dispnew.c: Include systime.h after xterm.h.

	* xfns.c (x_window): Take account of internal border of paned widget.

	* m/dos386.h (PURESIZE): Increased to 240000.

	* xfns.c (using_x_p): New function.
	* fns.c (Fy_or_n_p): Don't use dialog box if not an X frame.
	(Fyes_or_no_p): Likewise.

Sat Jun  4 14:35:09 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/hpux9shr.h (C_DEBUG_SWITCH): Define as empty.

Fri Jun  3 20:14:30 1994  Morten Welinder  (terra@@diku.dk)

	* callproc.c [MSDOS]: #include "msdos.h" for rootrelativepath
	template.

	* msdos.c (run_msdos_command): Make local copy of argv[2] on stack,
	not on heap.
	(run_msdos_command): When changing argv[2] from using slashes to
	using backslashes, only do so on the first white-space delimited
	part.

Thu Jun  2 19:41:08 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* textprop.c (Fprevious_single_property_change): Check for null
	interval after correcting for edge effects.

	* xdisp.c (display_text_line): Make sure pointer is in range.

	* xmenu.c (xdialog_show): Fix problem with message in dialog box.

Thu Jun  2 15:11:57 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* emacs.c (main): Do the setpgrp after checking for -batch.

	* keyboard.c (command_loop_1): Properly handle nil in display table.

	* s/hpux9.h (C_SWITCH_SYSTEM): Put inside __GNUC__ conditional.

Wed Jun  1 14:55:45 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (kill_buffer_processes): For net conn, use Fdelete_process.

See ChangeLog.4 for earlier changes.
@
