head	1.1;
branch	1.1.1;
access;
symbols
	EMACS_21_3:1.1.1.35
	EMACS_21_2:1.1.1.34
	EMACS_21_1:1.1.1.33
	EMACS_21_0_106:1.1.1.32
	EMACS_21_0_105:1.1.1.31
	EMACS_21_0_103:1.1.1.30
	EMACS_20_7:1.1.1.29
	EMACS_20_6:1.1.1.28
	EMACS_20_5:1.1.1.27
	EMACS_20_4:1.1.1.26
	EMACS_20_3:1.1.1.25
	EMACS_20_2:1.1.1.24
	EMACS_20_1:1.1.1.23
	EMACS_19_34:1.1.1.22
	EMACS_19_33:1.1.1.21
	EMACS_19_32:1.1.1.20
	EMACS_19_31:1.1.1.19
	EMACS_19_30:1.1.1.18
	EMACS_19_29:1.1.1.17
	EMACS_19_28:1.1.1.16
	EMACS_19_27:1.1.1.15
	EMACS_19_26:1.1.1.14
	EMACS_19_25:1.1.1.14
	EMACS_19_24:1.1.1.13
	EMACS_19_23:1.1.1.12
	EMACS_19_22:1.1.1.11
	EMACS_19_21:1.1.1.10
	EMACS_19_20:1.1.1.9
	EMACS_19_19:1.1.1.8
	EMACS_19_18:1.1.1.7
	EMACS_19_17:1.1.1.6
	EMACS_19_16:1.1.1.6
	EMACS_19_15:1.1.1.6
	EMACS_19_14:1.1.1.6
	EMACS_19_13:1.1.1.6
	EMACS_19_12:1.1.1.5
	EMACS_19_11:1.1.1.5
	EMACS_19_10:1.1.1.5
	EMACS_19_9:1.1.1.4
	EMACS_19_8:1.1.1.3
	EMACS_19_7:1.1.1.2
	EMACS_18_59:1.1.1.1
	FSF_DIST:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2004.11.05.07.57.30;	author Ben Wing;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2004.11.05.07.57.30;	author Ben Wing;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2004.11.05.07.59.39;	author Ben Wing;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2004.11.05.08.02.23;	author Ben Wing;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2004.11.05.08.05.19;	author Ben Wing;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2004.11.05.08.08.16;	author Ben Wing;	state Exp;
branches;
next	1.1.1.6;

1.1.1.6
date	2004.11.05.08.16.48;	author Ben Wing;	state Exp;
branches;
next	1.1.1.7;

1.1.1.7
date	2004.11.05.08.32.44;	author Ben Wing;	state Exp;
branches;
next	1.1.1.8;

1.1.1.8
date	2004.11.05.08.36.15;	author Ben Wing;	state Exp;
branches;
next	1.1.1.9;

1.1.1.9
date	2004.11.05.08.39.37;	author Ben Wing;	state Exp;
branches;
next	1.1.1.10;

1.1.1.10
date	2004.11.05.08.43.05;	author Ben Wing;	state Exp;
branches;
next	1.1.1.11;

1.1.1.11
date	2004.11.05.08.46.12;	author Ben Wing;	state Exp;
branches;
next	1.1.1.12;

1.1.1.12
date	2004.11.05.08.50.15;	author Ben Wing;	state Exp;
branches;
next	1.1.1.13;

1.1.1.13
date	2004.11.05.08.54.16;	author Ben Wing;	state Exp;
branches;
next	1.1.1.14;

1.1.1.14
date	2004.11.05.08.57.40;	author Ben Wing;	state Exp;
branches;
next	1.1.1.15;

1.1.1.15
date	2004.11.05.09.05.27;	author Ben Wing;	state Exp;
branches;
next	1.1.1.16;

1.1.1.16
date	2004.11.05.09.08.48;	author Ben Wing;	state Exp;
branches;
next	1.1.1.17;

1.1.1.17
date	2004.11.05.09.13.36;	author Ben Wing;	state Exp;
branches;
next	1.1.1.18;

1.1.1.18
date	2004.11.05.09.19.15;	author Ben Wing;	state Exp;
branches;
next	1.1.1.19;

1.1.1.19
date	2004.11.05.09.25.50;	author Ben Wing;	state Exp;
branches;
next	1.1.1.20;

1.1.1.20
date	2004.11.05.09.31.40;	author Ben Wing;	state Exp;
branches;
next	1.1.1.21;

1.1.1.21
date	2004.11.05.09.36.35;	author Ben Wing;	state Exp;
branches;
next	1.1.1.22;

1.1.1.22
date	2004.11.05.09.41.21;	author Ben Wing;	state Exp;
branches;
next	1.1.1.23;

1.1.1.23
date	2004.11.05.09.48.12;	author Ben Wing;	state Exp;
branches;
next	1.1.1.24;

1.1.1.24
date	2004.11.05.09.53.59;	author Ben Wing;	state Exp;
branches;
next	1.1.1.25;

1.1.1.25
date	2004.11.05.10.01.35;	author Ben Wing;	state Exp;
branches;
next	1.1.1.26;

1.1.1.26
date	2004.11.05.10.09.21;	author Ben Wing;	state Exp;
branches;
next	1.1.1.27;

1.1.1.27
date	2004.11.05.10.15.54;	author Ben Wing;	state Exp;
branches;
next	1.1.1.28;

1.1.1.28
date	2004.11.05.10.22.01;	author Ben Wing;	state Exp;
branches;
next	1.1.1.29;

1.1.1.29
date	2004.11.05.10.28.08;	author Ben Wing;	state Exp;
branches;
next	1.1.1.30;

1.1.1.30
date	2004.11.05.10.37.10;	author Ben Wing;	state Exp;
branches;
next	1.1.1.31;

1.1.1.31
date	2004.11.05.10.48.01;	author Ben Wing;	state Exp;
branches;
next	1.1.1.32;

1.1.1.32
date	2004.11.05.10.56.36;	author Ben Wing;	state Exp;
branches;
next	1.1.1.33;

1.1.1.33
date	2004.11.05.11.04.47;	author Ben Wing;	state Exp;
branches;
next	1.1.1.34;

1.1.1.34
date	2004.11.05.11.13.06;	author Ben Wing;	state Exp;
branches;
next	1.1.1.35;

1.1.1.35
date	2004.11.05.11.23.20;	author Ben Wing;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@Fri Oct 30 18:10:34 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Version 18.59 released.

Thu Oct 29 04:35:15 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-sco3-2-1.h, s-sco3-2-2.h: New files.

	* s-sco.h [HAVE_X11] (BSTRING, HAVE_RANDOM, LIB_STANDARD): Defined.
	[HAVE_X11] (LIBS_SYSTEM): #undef if defined above.
	[SCO_SOCKETS] (HAVE_TIMEVAL, USE_UTIME): Defined.

Tue Oct 27 14:33:37 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-next.h (ORDINARY_LINK): Defined.
	(LIB_STANDARD, NO_REMAP): #if 0'd.
	(KERNEL_FILE): Defined.

	* unexmips.c: Clear text_section->s_scnptr.

Sun Oct 25 00:44:32 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (wait_reading_process_input) [sun || apollo]:
	Don't try to deliver SIGIO if SIGIO is not defined.

Sat Oct 24 00:32:07 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* x11term.c (internal_socket_read): Process Mod1Mask for multichar
	keys as well as one-char keys.

Fri Oct 23 20:52:19 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-aix3-2.h (index, rindex): #undef them.

	* hftctl.c (hft_alrm, GT_ACK): Cast arg of `signal'.

	* x11term.c (XInitWindow): If can't find font, try font `fixed'.

	* m-ibmrs6000.h (BIG_ENDIAN): Define as 4321.

Wed Oct 21 18:24:12 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-sparc.h: Change the HAVE_SUN_WINDOWS conditional.

	* sunfns.c: New version from Peck.

Sun Oct 18 04:07:15 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* x11term.c (XInitWindow): Fix typo in NO_X_DESTROY_DATABASE test.

	* s-esix5r4.h (BROKEN_FIONREAD): Defined.

Fri Oct 16 04:27:07 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fns.c (Fload_average): Handle NeXT like convex.

	* unexnext.c: New version from Lennart_Lovstrand@@NeXT.COM.

	* emacs.c (main) [NeXT]: Make malloc_cookie external.

	* s-vms5-5.h: New file.

Sat Oct 10 07:41:06 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-ibmps2-aix.h [__GNUC__ >= 2] (LIB_STANDARD): Don't define.

Fri Oct  9 01:08:36 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-ibmrs6000.h (PTY_ITERATION, etc.): Definitions deleted.
	(SPECIFY_X11R4): Don't define if already defined.
	* s-aix3-2.h (SPECIFY_X11R4): Defined.

	* m-mips4.h: If __GNUC__, undef LINKER.
	Change LD_SWITCH_MACHINE to pass switches via GCC; add -g.

	* m-pyrmips.h: New file.

Tue Oct  6 00:54:20 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (directory_file_name): Don't clobber the envvar
	when handling top-level rooted dir.

	* link.com: Fix the code that tests which compiler was used.

	* m-ibmps2-aix.h [USG_SHARED_LIBRARIES]: Define ORDINARY_LINK.
	Undef LIB_STANDARD.  Modify LD_SWITCH_MACHINE.

	* ymakefile (LIB_STANDARD): If ORDINARY_LINK, default this to empty.

	* emacs.c (main) [NeXT]: Call malloc_jumpstart.

	* unexnext.c: New file.
	* m-next.h, s-mach2.h: New files.

Sun Oct  4 19:18:25 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-sco.h (HAVE_TIMEVAL): Turned off.

Sat Oct  3 00:22:57 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* ymakefile (STARTFILES): Do use pre-crt0.o even if ORDINARY_LINK.
	* emacs.c: Don't define __main, etc., if ORDINARY_LINK.

	* s-sunos4-0.h, s-sunos4-1.h (LD_SWITCH_SYSTEM):
	If GCC 2, use -static instead of -Bstatic.

Fri Oct  2 02:27:39 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* unexmips.c (mark_x): Declare static.

	* callint.c (Fcall_interactively):
	Cast to unsigned char when setting `string'.

Thu Oct  1 20:41:26 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-hpux7.h (NO_X_DESTROY_DATABASE): Defined.
	* s-hpux8.h (NO_X_DESTROY_DATABASE): Undef it.
	* x11term.c (XInitWindow): Add NO_X_DESTROY_DATABASE conditional.

	* process.c (Fopen_network_stream): Use -1, not INADDR_NONE.

Mon Sep 21 01:45:34 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* alloc.c (mark_object): Avoid car-recursion in some common cases.

Sun Sep 20 15:02:57 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* emacs.c (__do_clobal_ctors, __main): Defined.
	(__CTOR_LIST__, __DTOR_LIST__): Add 0 as second elt.

	* getpagesize.h: If POSIX, include unistd.h and use sysconf.

	* s-sol2.h: New file.

	* fileio.c: Don't include sys/dir.h.

	* s-usg5-4.h (LIBS_SYSTEM): Move non-default libraries here.
	(LIB_STANDARD, START_FILES): Deleted.
	(ORDINARY_LINK): Defined.

	* ymakefile [ORDINARY_LINK]: Default LD to $(CC)
	and make START_FILES and LIB_STANDARD empty.
	(C_SWITCH_X_MACHINE, C_SWITCH_X_SYSTEM): New macros, default empty.
	(CFLAGS): Use them.

Thu Sep 17 18:49:39 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* ymakefile (LIBX): Don't use -loldX.

Sat Sep 12 03:20:22 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-esix5r4.h (LIB_X11_LIB): Use -lX11, don't specify lib file name.
	(LIB_STANDARD): Defined.
	(BSTRING): Defined.
	(C_SWITCH_SYSTEM): Deleted; we define BSTRING directly.

	* sysdep.c (init_sys_modes): Handle VDSUSP like V_DSUSP.
	Use CDISABLE, not CDEL.
	Turn off IEXTEN if it exists.
	(CDISABLE): New macro; may be defined from CDEL.

	* syntax.c (syntax_spec_code): Make elts unsigned.

Thu Sep 10 03:48:18 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-aix3-1.h (HAVE_GETHOSTNAME): Defined.

Mon Aug 31 13:57:44 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* emacs.c (__do_global_ctors, __do_global_ctors_aux): New dummy fns.
	(__CTOR_LIST__, __DTOR_LIST__): New dummy variables.

Fri Aug 28 22:30:25 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* unexmips.c (unexec): Allow sectins in any order.
	Adjust addresses of rdata section as well as data section.

Tue Aug 25 17:59:29 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-intel386.h [J386BSD] (LOAD_AVE_TYPE, LOAD_AVE_CVT): Defined.

	* s-386bsd.h: New file.

Fri Aug 21 22:50:34 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (WCOREDUMP): Define only if not defined.
	(create_process) [HAVE_SETSID]: Use TIOCSCTTY if exists.

Tue Aug 11 17:29:22 1992  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* x11term.c (db, db2): Don't initialize, as it breaks dumping.

Fri Aug  7 19:38:28 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* vms-pwd.h: Renamed from pwd.h.
	* editfns.c, fileio.c, sysdep.c, filelock.c: #includes changed.

Wed Aug  5 00:47:16 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-delta.h (SIGNALS_VIA_CHARACTERS): Defined.

	* process.c (process_send_signal): Refer to SIGTSTP only if defined.

Tue Jul 28 12:39:58 MET 1992  Francesco Potorti`  (pot@@cnuce.cnr.IT)

	* m-delta.h: Added #define mot_delta for alloca.s to recognise it.
	(CLASH_DETECTION): Defined, since now OK with short filenames.
	(LOAD_AVE_TYPE): Deleted.
	(C_ALLOCA): Deleted; new alloca.s should work.
	(KERNEL_FILE): Defined.
	(sigsetmask): Add #undef, since -lbsd supplies sigsetmask.
	(SYSV_SYSTEM_DIR, HAVE_CLOSEDIR): Defined.
	(BSTRING, HAVE_DUP2): Defined.
	(LIBS_SYSTEM): Use -lbsd here,
	(LIB_STANDARD): not here (deleted).
	(HAVE_X_WINDOWS): Deleted--X is not standard.
	(USG_SYS_TIME): Defined.
	(BAT68K): Deleted; replaced by USG_SYS_TIME.

Mon Jul 27 15:59:29 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-isc2-2.h (HAVE_SOCKETS, HAVE_SELECT): Defined.
	* s-isc3-0.h: Instead of here.

Fri Jul 24 15:28:51 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dispnew.c (remake_screen_structures): Update echo_area_contents
	along with message_buf.
	* dispextern.h (echo_area_contents): Declare it.

	* xdisp.c (display_text_line): Init p1prev as 0.  Test at end.

Sun Jul 19 14:00:40 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (allocate_pty): Wait until we fail to open three ptys
	in a row before concluding that we've reached the end of the ptys.

Sat Jul 18 15:21:19 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* unexec.c (mark_x): Return 0 on success, -1 on failure.
	(unexec): Return what mark_x returns.

Mon Jul 13 23:04:30 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* x11term.c: (x_term_init): Use black_color and white_color
	for color names that correspond to preallocated pixel values.
	(x_term_init, XFlipColor): Handle inverse video for mous_color
	and curs_color by swapping between fore_color and back_color.
	* x11fns.c (Fx_set_*_color): Use black_color and white_color.
	Free the old color if and if it was allocated.
	Free the old color name as well.
	(x_set_cursor_colors): Use black_color and white_color.

Sat Jul 11 14:18:56 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fns.c, callproc.c: Doc fix.

Fri Jul 10 13:45:51 1992  Jody Winston  (jody@@shell.com)

	* x11term.c (XInitWindow): Free databases from XrmGetStringDatabase.

Tue Jul  7 11:22:17 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* regex.c. (re_compile_pattern): The temporary variable used when
	applying the translation map to character sets should be an
	unsigned char, not a char.

Mon Jul  6 17:19:48 1992  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* x11fns.c: Move lisp.h and window.h and undef NULL after all other
	includes.

Sun Jul  5 17:48:46 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-isc3-0.h: New file.

Sat Jun 27 19:08:06 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* regex.c (re_compile_pattern): Apply the translation map to
	contents of character sets, too.

Thu Jun 25 14:07:39 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* sysdep.c: On dgux, undef _BSD_TTY_FLAVOR before including sgtty.h.

	* window.c (scroll_command): If context lines exceed window
	height, scroll by one line.

Mon Jun 22 21:38:39 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-targon31.h (SEGMENT_MASK): Defined.
	(NO_REMAP): Deleted.
	(HAVE_PTYS, HAVE_SOCKETS, HAVE_SYSVIPC, BSTRING): Defined.
	[__GNUC__] (SYSTEM_MALLOC, HAVE_ALLOCA, alloca): Defined.

	* syntax.h (SYNTAX, SYNTAX_MATCH, SYNTAX_COMSTART_FIRST, etc.)
	Cast character to unsigned char before indexing.

Fri Jun 12 15:36:17 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-dgux4-31.h: New file.

Fri Jun 12 05:37:39 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* xdisp.c (display_echo_area_contents): After displaying
	echo_area_contents on the first line of the minibuffer window,
	display blank lines on all the other lines of the window.

Thu Jun 11 11:51:07 1992  Paul Eggert  (eggert@@twinsun.com)

	* callproc.c (Fcall_process_region): Return Fcall_process's status.

Wed Jun 10 16:45:25 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* sysdep.c (sys_signal): Fix erroneous name for sigaction.

Wed May 27 23:41:59 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-ibmrs6000.h (PTY_ITERATION, PTY_NAME_SPRINTF): Defined.
	(PTY_TTY_NAME_SPRINTF): Defined.

Sat May 23 22:07:04 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* sink11.h, sink11mask.h: Use unsigned char to avoid warnings.

Thu May 21 16:34:56 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* alloca.c: Make symlink to master copy.

Mon May 18 22:04:35 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dispnew.c (Fding): If have arg, don't end a keyboard macro.

Sun May 17 02:57:17 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (Fdiscard_input): Clear Vquit_flag to nil.

Sat May 16 00:47:36 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Use cursor color for hollow cursors.
	* x11fns.c (Fx_set_cursor_color, Fx_set_background_color):
	Modify XXgc_curs_rev.
	* x11term.c (CursorToggle): Use XXgc_curs_rev.
	(XNewFont, XFlipColor, XInitWindow): Update XXgc_curs_rev.

	* x11fns.c (Fx_set_background_color, Fx_set_foreground_color):
	(Fx_set_border_color, Fx_set_cursor_color): Free old color.

Thu May 14 22:21:46 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* callproc.c (Fcall_process): Fix one-off testing if args[3] is valid.

Wed May 13 15:39:38 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* buffer.c (init_buffer_once): Don't disable undo for *scratch*
	buffer here.  There is no good symmetrical place to re-enable it,
	although garbage collection used to do so.  Do it in
	../lisp/loadup.el instead.

Tue May 12 23:54:33 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c: Include config.h first thing.

	* process.c (wait_reading_process_input):
	Make C-g really quit in sit-for case.
	* keyboard.c (clear_input_pending): New subroutine.

	* ymakefile (LD_SWITCH_SYSTEM): Don't use -X with GCC.

Tue May 12 16:02:15 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* alloc.c (Fgarbage_collect): Don't call truncate_undo_list on
	buffers whose undo list is t.

Thu May  7 18:47:14 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-seq386.h: Tentatively make this the same as m-sequent.h.

Tue May  5 11:30:44 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-tad68k (SECTION_ALIGNMENT): Increase to 256k.
	(NBPC, HAVE_RANDOM): Defined.

Thu Apr 30 18:17:26 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-sco.h (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Defined.

Tue Apr 28 19:55:01 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-irix4-0.h: Turn on pty stuff.  Declare getpty only ifdef emacs.
	(WNOHANG): Defined.

Tue Apr 28 15:39:53 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* syntax.c (Fmodify_syntax_entry): Note that '-' is a synonym for
	' ' (both denote whitespace), that '\\' denotes the escape class,
	and that '/' denotes the character-quote class.  The description
	used to claim that '\\' denoted the character-quote class, and
	neglected to mention '-' and '/'.

Mon Apr 27 16:15:13 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* alloca.s [mot_delta]: Use `global', and a colon after the label.

Sat Apr 25 15:40:37 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-osf1.h: New file.
	* m-pmax.h [OSF1]: Undef C_ALLOCA, define HAVE_ALLOCA.

Wed Apr 22 19:19:37 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-sco.h (USG_SYS_TIME): Defined.
	(HAVE_SOCKETS, LIBS_SYSTEM, HAVE_GETTIMEOFDAY): Only if SCO_SOCKETS.

Tue Apr 21 10:44:59 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* ymakefile (x11term.o): Add gettime.h, emacssignal.h, xkeys-aix.h.

Mon Apr 20 15:13:34 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-sco.h (HAVE_TIMEVAL, HAVE_SELECT, HAVE_PTYS, HAVE_SOCKETS):
	(LIBS_SYSTEM, BSTRING, HAVE_GETTIMEOFDAY): Defined.

Sun Apr 19 13:12:22 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-seq386.h: New file.

Sun Apr 19 00:43:17 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* fileio.c (directory_file_name): Check slen before fetching dst[slen].

Sat Apr 18 11:59:13 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c: Move HAVE_TIMEVAL and HPUX_NET conds above lisp.h include.

	* indent.c (compute_motion): Fix skipping invis lines and
	truncation at right margin.

Fri Apr 17 11:33:50 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dispnew.c (direct_output_forward_char): Handle edges of window.

	* filelock.c (lock_superlock, lock_file_1): Handle NO_FCHMOD.
	* m-dpx2.h (fchmod): Deleted.
	(NO_FCHMOD): Defined.

	* ymakefile (x11term.o, dired.o, UNEXEC): Add or fix deps.

Fri Apr 17 05:44:46 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* callint.c (Fcall_interactively): Check for quits when following
	function chain.

Wed Apr 15 00:34:05 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* callint.c (Fcall_interactively): When the interactive spec is
	a string, it may be relocated while reading the arguments.  To
	avoid this, make a copy of the spec to refer to, instead of
	using a pointer to the data of the spec string.

Fri Apr 10 15:13:49 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* ymakefile (dispnew.o): Note that this depends on lisp.h.

Sat Apr  4 20:29:07 1992  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* indent.c (pos_tab_offset): Add missing ).

Mon Mar 30 01:02:12 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-irix4-0.h: Fix typo `#ifdef 0'.

Sun Mar 29 21:02:14 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-dgux.h: Change #if 0 to #ifndef COFF.
	Don't define COFF if ELF is defined.
	[not COFF] (C_COMPILER, LINKER, MAKE_COMMAND): New defs.

	* process.c (process_send_signal): If SIGNALS_VIA_CHARACTERS,
	disable the alternative code for using characters.

Sat Mar 28 15:41:38 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* regex.c (re_match_2): Check for exactly -1 in regend.

Fri Mar 27 02:29:16 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* data.c (arith_driver, Frem): Detect division by 0 by hand.
	(arith_error): Call Fsignal again if it returns.

	* indent.c (pos_tab_offset): Handle windows not ending at right margin.
	* xdisp.c (try_window, try_window_id, display_text_line): Likewise.

Mon Mar 23 22:09:00 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (Fexecute_extended_command): Enlarge and write
	this_command_keys properly.

	* filelock.c (CREATE_LOCK_FILE_NAME): New macro; two definitions.
	(SHORT_FILE_NAMES): New parameter macro.
	(lock_file, unlock_file, Ffile_locked_p): Use it.
	(fill_in_lock_short_file_name): New function.

Sun Mar 22 23:10:01 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (Fopen_network_stream): Try host number first,
	then host name.

	* callproc.c, data.c, dispnew.c, emacs.c, keyboard.c, malloc.c:
	* process.c, sysdep.c: Include sys/types.h before signal.h.
	* s-isc2-2.h: Don't include sys/types.h.

	* filetypes.h: New file.
	* dired.c, fileio.c, filelock.c, filemode.c: Include filetypes.h.
	* lread.c, sysdep.c: Likewise.

Fri Mar 20 13:56:32 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-delta.h (mot_delta): New macro.
	* alloca.s [mot_delta]: Treat this almost like hp9000s300.

Thu Mar 12 15:34:51 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (process_send_signal): Test SIGNALS_VIA_CHARACTERS.
	* s-irix3-3.h, s-isc2-2.h: Define SIGNALS_VIA_CHARACTERS.
	* s-isc2-2.h: Include sys/types.h.
	(TIOCGPGRP): Defined.

Wed Mar 11 00:05:25 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* window.c: Doc fix.

	* sysdep.c (OSPEED, SETOSPEED): Define only if undefined.

	* process.c (process_send_signal): Fix up pfa conditional.

Tue Mar 10 11:14:11 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* xdisp.c (redisplay_window): If the start position is forced,
	constrain in to be within the visible range.

Sat Mar  7 02:01:00 1992  Chris Hanson  (cph@@klia.ai.mit.edu)

	* process.c (create_process): Don't execute SETUP_SLAVE_PTY or
	child_setup_tty if using pipes.  System V using STREAMS gets
	errors when this is done.

	* s-newsos5.h: New file for Sony NEWS-OS release 5.
	* m-mips.h [NEWSOS5]: Changes so this file can be used with it.

	* m-mips.h (XUINT, XSET, XUNMARK): Add parentheses to eliminate
	warnings from GCC.  Reindent to fit in 80 columns.

Sat Mar  7 01:36:58 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* sysdep.c (rename) [__STDC__]: Make args match ANSI spec.

	* m-ibmrs6000.h (signal): Define, as in m-intel386.h.

	* dispnew.c (change_screen_size): Don't queue change if size is same.

Thu Mar  5 17:26:35 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-intel386.h [USG5_4] (C_ALLOCA): Defined.

	* unexmips.c (unexec): Use data_start, not DATA_START,
	setting data_section->s_scnptr.

	* ymakefile (LINKER): Define specially for GCC 2.

	* m-delta.h (LIB_STANDARD): Add -lbsd.
	(HAVE_TIMEVAL, HAVE_GETTIMEOFDAY, HAVE_SELECT, HAVE_SOCKETS):
	(BROKEN_FIONREAD, USE_UTIME, HAVE_X_WINDOWS): New macros.
	(LD_SWITCH_MACHINE): Deleted.

	* x11term.c (stringFuncVal): Handle function key 10.

	* x11term.c (XT_GetDefaults): Use CLASS with the cname.

	* m-iris4d.h (XUINT, XSET, XUNMARK): Add parens for clarity.

	* unexaix.c (unexec): Delete spurious semicolons from #ifdefs.
	(make_hdr, mark_x, copy_text_and_data, copy_sym): Add static
	forward decls.
	(unrelocate_symbols): Cast initial values of t_start and d_start.

	* hftctl.c: Include sys/uio.h.
	Declare hfskbd and hfqry static at first.

	* dispnew.c (direct_output_for_insert): Add parens around &&.

	* lisp.h (XINT): Add parens for clarity.

	* m-ibmrs6000.h (C_SWITCH_MACHINE): Value now empty.

	* s-usg5-4.h (SYSV_STREAMS): Defined.
	(HAVE_SOCKETS): Defined.  This is an experiment.

	* m-pfa50.h: New file.
	* unexec.c (adjust_lnnoptrs): Handle pfa like amdahl_uts.
	* process.c (create_process): Handle pfa like stride.
	(process_send_signal): Add pfa conditional.
	* sysdep.c [pfa]: Include sys/file.h.

	* emacs.c [USG5]: Don't include fcntl.h twice.

Tue Mar  3 17:37:46 1992  Chris Hanson  (cph at kleph)

	* unexec.c: Don't declare sbrk if compiling for HP-UX, because
	the correct declaration is already supplied by <unistd.h>.

Sat Feb 29 23:26:14 1992  Noah Friedman  (friedman@@nutrimat.gnu.ai.mit.edu)

        * sysdep.c (get_system_name): use gethostname for USG systems if
          HAVE_GETHOSTNAME defined.
        * s-hpux7.h, s-irix3-3.h (HAVE_GETHOSTNAME): define it.

Tue Feb 18 14:01:01 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Version 18.58 released.

	* process.c (create_process): Really don't use variable `sigchld'.

Sun Feb 16 00:40:47 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c: Doc fix.

	* x11term.c: Define NULL if nec after all system headers.

Fri Feb 14 02:50:33 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-news-risc.h (LINKER): #undef it.

Thu Feb 13 17:54:46 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* x11term.c (XTflash): Wait just .15 sec.

	* process.c, sysdep.c: Don't include termio.h if NO_TERMIO.
	(TIOCGPGRP): If TRITON88, define as alias for FIOGETOWN.
	* m-triton88.h: New file.

Wed Feb 12 12:19:16 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* ymakefile ($(OLDXMENU)): If ln fails, use cp.

	* m-tek4300.h (tek4300): Don't define if defined already.

	* m-intel386.h (LIB_STANDARD): Add missing #endif.

Tue Feb 11 16:23:15 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (BROKEN_O_NONBLOCK): New parameter; undefine O_NONBLOCK.
	* m-pmax.h (BROKEN_O_NONBLOCK): Defined.
	* m-vax.h (BROKEN_O_NONBLOCK): Defined, if ultrix.

Mon Feb 10 21:14:38 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* data.c (Fset_default): Handle the case of mask < 0.

	* s-isc3-2.h: File deleted.  s-isc2-2.h does work for 3.2.

Sun Feb  9 23:25:05 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* undo.c (Fprimitive_undo): Use Finsert_before_markers.

Sat Feb  8 01:44:14 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* sysdep.c (child_setup_tty) [IRIS_4D]: Make sure we have VSWTCH char.

	* m-intel386.h (HAVE_ALLOCA): Inhibit if C_ALLOCA.
	(LIB_STANDARD): Alternate USG value if __GNUC__ or C_ALLOCA
	* s-sco.h (alloca): Define C_ALLOCA or define alloca as builtin.
	(BROKEN_TIOCWINSZ): Defined.

	* s-isc2-2.h (SIGTSTP): Don't #undef this.

	* process.c (PTY_OPEN): Handle new macro.

Fri Feb  7 23:07:58 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Fmake_symbolic_link): If error, try deleting link name
	and then retry.  Read first arg, not second, as raw string.

Thu Feb  6 15:24:25 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-hpux7.h: Renamed from s-hpux.h.
	* s-hpux8.h: Include s-hpux7.h.

	* s-isc3-2.h: New file.

Wed Feb  5 19:39:21 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* gettime.h: On DPX2, include sys/time.h.

Tue Feb  4 01:03:05 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-sco.h (DONT_DEFINE_SIGNAL): Defined.

	* window.c (window_scroll): If NOERROR, return indication of failure.
	(Fscroll_other_window): Signal at end the error inhibited before.

	* s-aix3-2.h: New file.

Mon Feb  3 17:05:05 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* callproc.c (Fcall_process): Clear synch_process_* earlier.

	* x11term.c (XT_Set_Size_Hints) [not X11R4]: Turn off "old, broken"
	code to set min_width and min_height fields.

	* x11term.c: Undo Jan 27 change.

	* m-intel860.h: New file.

Sun Feb  2 16:49:11 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* sysdep.c [_SEQUENT_]: Include stropts.h.

	* sysdep.c, process.c, x11term.c, keyboard.c: Fix comments on #endif.

Sat Feb  1 14:21:31 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* x11term.c (x_init_1): No args for setpgrp if USG.

	* m-iris4d.h (C_SWITCH_MACHINE): Deleted.

	* dispnew.c (remake_screen_structures): Put spaces in message_buf.
	(make_screen_structure): Fill with spaces even if EMPTY.

	* x11term.c (XT_Set_Size_Hints): Handle window gravity.

Fri Jan 31 04:15:12 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Makefile (distclean): Depend on clean; delete redundant stuff.

	* x11term.c (XT_Set_Size_Hints): Test X11R4, not PBaseSize.
	(X11R4): Default based on PBaseSize or SPECIFY_X11R4.
	(SPECIFY_X11R4): New parameter macro.
	* m-ibmrs6000.h (SPECIFY_X11R4): Defined.

	* ymakefile (LIB_GCC, GNULIB_VAR): Handle GCC 2.

	* s-hpux8.h (OLDXMENU_OPTIONS): New definition.

	* s-sunos4-1.h (C_SWITCH_SYSTEM): Delete leading space.

	* s-sunos4-0.h (SYSTEM_MALLOC): Deleted.

Thu Jan 30 01:44:47 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* malloc.c (malloc): If SUNOS_LOCALTIME_BUG, get at least 16 bytes.

	* dispnew.c (update_line): Prevent nlen from getting <0.

	* x11term.c (XT_Set_Size_Hints): Test PBaseSize, not XICCC.

	* m-orion105.h (C_DEBUG_SWITCH, LIBS_DEBUG): Defs deleted.

Wed Jan 29 14:37:42 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-iris4d.h (C_SWITCH_MACHINE): New definition.

Tue Jan 28 00:46:18 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Fwrite_region): Remove Alliant conditional.
	* crt0.c: Conditionals for ALLIANT_2800.
	* m-all2800.h: New file.
	* unexfx2800.c: New file.

	* m-mips4.h (C_DEBUG_SWITCH): Alternate defn for GCC.

	* sysdep.c [VMS] (sys_write): Special case for fixed-length
	with carriage-control characters.

	* s-isc2-2.h (NOMULTIPLEJOBS): Undef this.

Mon Jan 27 18:57:26 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-isc2-2.h (LIB_STANDARD): Add -lPW.

	* dispnew.c (update_line): ALLIANT patch to work around compiler bug.

	* lread.c (readevalloop): Make forward declaration static.

	* m-mips4.h (LD_SWITCH_MACHINE): Alternate definition if using GCC.

	* dispnew.c (update_screen): If force, don't call detect_input_pending.

	* x11term.c: #undef NULL before stdio.h.

	* dispnew.c (make_screen_structure): Fill lines with spaces to start.

	* s-hpux8.h (NO_SIOCTL_H): Defined.

Sun Jan 26 00:33:35 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dispnew.c: Fix doc string of visible-bell.

	* m-mips.h (C_SWITCH_MACHINE): Defined, instead of C_SWITCH_SYSTEM.
	(LINKER): Defined, if BSD.

Sat Jan 25 16:01:00 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Fexpand_file_name): When removing / from end of newdir,
	don't change `/' to `'.

	* dired.c (file_name_completion_stat): Try stat, then lstat.

	* unexelf.c: Fix typo in last change.

	* fileio.c (Finsert_file_contents) [AIX]: Don't open mpx files.

	* fileio.c (Fmake_symbolic_link): Use `s' to read second arg.

	* dispnew.c: Include errno.h.

Thu Jan 23 14:03:44 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s-usg5-4.h (LIBX10_SYSTEM): Add #undef.
	(GNULIB): Definition deleted--done in ymakefile.
	(LIB_STANDARD): Don't use GNULIB.
	(HAVE_TCATTR): Defined.

	* lisp.h (XINT): Add extra parens.

	* unexelf.c: Handle rounding of section boundaries.
	(round_up): New function.

Wed Jan 22 22:32:28 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-tad68.h: New file.

Tue Jan 21 21:49:43 1992    (Eric Youngdale at youngdale@@v6550c.nrl.navy.mil)

	* sysdep.c (sys_access) [VMS]: Fix bug whereby the default rather 
	than the actual privileges were used to determine if we have
	file access.

Mon Jan 20 12:41:27 1992    (Eric Youngdale at youngdale@@v6550c.nrl.navy.mil)

	* fileio.c (Finsert_file_contents) [VMS]: Adjust st_size
	if file has fixed length records and implied carriage control.

Sun Jan 19 23:39:10 1992    (Eric Youngdale at youngdale@@v6550c.nrl.navy.mil)

	* compile.com: Delete useless object file generated when sensing
	the presence of a C compiler.  Prevent user from seeing error 
	message when sensing C compiler.

Sun Jan 19 11:29:00 1992    (Eric Youngdale at youngdale@@v6550c.nrl.navy.mil)

	* fileio.c (file_name_as_directory): Cast result of `index'.
	(directory_file_name): Likewise.
	* sysdep.c (getpwnam): Cast result of egetenv.

	* vmsfns.c: Don't include syidef.h if using GCC.

Sat Jan 18 23:16:41 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Makefile (xmakefile): Write formfeed and tab literally.

Sat Jan 18 13:41:54 1992    (Eric Youngdale at youngdale@@v6550c.nrl.navy.mil)

	* compile.com: Automatically use whichever C compiler is installed.

Fri Jan 17 15:43:29 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (process_send_signal): Undo Nov 23 change.

	* process.c (wait_reading_process_input): Use timeout_subtract.
	* x11term.c (XTflash): Likewise.
	* dispnew.c (Fsleep_for): Likewise.
	(timeout_subtract): New function to subtract struct timeval.

Thu Jan 16 01:47:48 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* m-delta88.h: New file.

	* window.c (window_scroll): New arg `noerror'.
	(scroll_command, Fscroll_other_window): Pass that arg.

	* indent.c (compute_motion): Don't pack vpos and hpos into one int;
	use separate variables hpos/vpos and prev_hpos/prev_vpos.
	(vmotion): Use largest int as tovpos arg to compute_motion.

Wed Jan 15 03:39:37 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* x11term.c (XT_GetDefaults): Use Xrm functions, then XGetDefault.
	Include Xresource.h.

	* callproc.c (Fcall_process): Get return status from
	synch_process_death and synch_process_retcode.
	* process.c (sigchld_handler): Set those vars.

Sun Jan 12 17:05:53 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* ymakefile (OLDXMENU_OPTIONS): New macro, used compiling oldxmenu.
	* s-sunos4-1.h (OLDXMENU_OPTIONS): New definition.
	(LD_SWITCH_SYSTEM, C_SWITCH_SYSTEM): New definitions.
	* s-sunos4.h: File deleted.

Fri Jan 10 15:56:11 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* m-hp9000s800.h (S_IFLNK): Don't #undef this.

	* s-hpux.h (CLASH_DETECTION): Define it.

Thu Jan  9 00:25:15 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* sysdep.c, process.c: Include sys/termios.h if NEED_TERMIOS.

Tue Jan  7 23:38:33 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* x11term.c (XTflash): Wait 1/4 sec even if interrupts come.

	* process.c: Doc fix.

Wed Jan  1 02:12:50 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* window.c (init_window_once): Call make_window with no args.

	* keyboard.c (command_loop_1): Move label directly_done.

Tue Dec 31 15:53:00 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* emacssignal.h (signal_full_mask, signal_empty_mask): Vars renamed.
	(sigmask): Copy from SIGEMPTYMASK.
	(sys_sigpause): Argument is a mask.
	(SIGFULLMASK, sigunblock, sys_sigdel): New non-POSIX definitions.
	* sysdep.c (sigunblock): Definition removed.
	(wait_for_termination): Change call to sigpause.
	(signal_full_mask, signal_empty_mask): Vars renamed.
	(signal_handler_t): Add missing `typedef'.

	* s-dgux.h: Remove MAKING_MAKEFILE conditional.
	Don't include signal.h.
	(C_COMPILER, LINKER, MAKE_COMMAND): New definitions.
	(LD_SWITCH_SYSTEM, START_FILES, LIBS_SYSTEM): New definitions.

	* ymakefile (CC, MAKE): Set these variables from optional macros.
	Change all uses of `make' to ${MAKE}.

	* term.c (term_init): Change buffer size and malloc'd size to 4092.

Fri Dec 13 17:22:42 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* s-isc2-2.h (LIBS_SYSTEM): Defined.

Mon Dec  9 20:50:53 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* process.c (Fopen_network_stream): Handle EINTR from connect,
	but turn off interrupts anyway.

	* emacs.c (main): Do tzset if HAVE_TZSET.
	* s-sunos4.h: Define HAVE_TZSET.

Sat Dec  7 21:00:21 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* s-aix3-1.h (FIRST_PTY_LETTER): Deleted.
	(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): New macros.

Fri Dec  6 15:14:18 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* minibuf.c (read_minibuf_unwind): Clear readonlyness of minibuffer.

Tue Dec  3 22:07:36 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* dispnew.c (change_screen_size_1): New arg FORCE forces redisplay.
	(change_screen_size): Likewise.  All callers changed.
	(update_screen): Do the real work.
	* x11term.c (internal_socket_read): Pass 1 for new arg.

Mon Dec  2 23:14:29 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* lisp.h: Turn text after #endif, #else into real comment.

Thu Nov 28 01:37:13 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* m-ibmps2-aix.h (HAVE_SETSID, HAVE_TCATTR): Defined.
	(LIB_STANDARD): Remove -lbsd and -lrts.
	Suggested by tranle@@intellicorp.com.

	* sysdep.c (child_setup_tty) [AIX]: If process_send_signal will use 
	chars, make sure we have chars for VQUIT and VINTR.

	* lisp.h (DEFVARPERBUFFER, DEFVAR_PER_BUFFER):
	Don't omit 3d arg to defvar_per_buffer.

Sat Nov 23 16:51:13 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* emacs.c (main) [BSD4_3]: Call tzset.

	* process.c (process_send_signal): On AIX, don't try sending character.

Wed Nov 20 21:46:18 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* m-convex.h (XINT): Use submacros VSIGNBIT, VALLBITS.

Tue Nov 19 16:11:57 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* config.h-dist (X11): Define only if HAVE_X_WINDOWS.

	* s-irix3-3.h (IRIX): Defined.
	* sysdep.c (get_system_name): Special code for IRIX.

Sat Nov 16 16:53:44 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* s-irix3-3.h (HAVE_SETSID): Define here.
	* s-irix4-0.h: Instead of here.

	* process.c (process_send_signal): New code for Iris.

Thu Nov 14 18:01:56 1991  Jim Blandy  (jimb at wombat.gnu.ai.mit.edu)

        * eval.c (specbind): Check that the thing being bound is a symbol.
        (funcall_lambda): Signal an invalid-function error if the
        arguments are not all symbols.

Fri Oct 25 14:53:40 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* xdisp.c (redisplay): Properly compute TAB_OFFSET for compute_motion.

	* s-irix4-0.h: New file.

	* ymakefile: Fix comments on #endifs.

	* unexmips.c (unexec): Get rid of error check about mismatch
	in number of sections.

	* s-irix3-3.h (C_ALLOCA): Defined.

Tue Oct 22 01:41:09 1991  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (wait_reading_process_input): Redisplay if screen_garbaged.
	Call do_pending_window_change first.
	Include dispextern.h.
	* ymakefile (process.o): Added dependency.

Mon Oct 21 23:05:15 1991  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c: Doc fix. 

Sun Oct 20 18:41:06 1991  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* x11term.c (XTflash): Flash just center quarter of window.

Sat Oct 19 11:39:03 1991  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (create_process): Set bit in input_wait_mask before fork,
	so sigchld_handler can clear it properly at any time.

	* cmds.c (Fforward_line): Moving nowhere at eob after non-newline
	should return 1, not 0.

	* s-hpux.h (LD_SWITCH_SYSTEM): Defn deleted.
	* s-hpux8.h (LD_SWITCH_SYSTEM): Move -L here.
	(LIB_X11_LIB): Moved from here.  Definition deleted.

	* m-intel386.h (signal): Optionally don't define it.
	* s-isc2-2.h (DONT_DEFINE_SIGNAL): Define this.

	* x11term.c (internal_socket_read):
	Do window size change immediately if currently waiting for input.
	* dispextern.h (waiting_for_input): Declared here.

Sun Oct 13 05:20:50 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* config.h-dist (PURESIZE): Increase to 120000 if no X.

	* m-intel386.h: Fix typo in #endif.

	* ymakefile: Use C style comment, not #.

Sat Oct 12 14:34:26 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* x11term.c (internal_socket_read):
	Threshold for real size change was off by one.

	* emacs.c (main) [AIX]: Handle SIGURG, not SIGIOINT.

Tue Oct  8 00:43:19 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* x11term.h: Never include X10.h.
	* xmenu.c: Include it here.

Tue Oct  8 00:07:47 1991  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* search.c (syms_of_search): Set re_max_failures here.
	(compile_pattern): Not here.

Sun Oct  6 14:47:52 1991  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* config.h-dist (X11): Define this by default.

Sat Oct  5 14:00:22 1991  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* search.c (compile_pattern): Use bigger than default re_max_failures.

	* x11fns.c: Move lisp.h and window.h later; undef NULL just before.

Tue Sep 24 03:20:07 1991  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* alloca.c: Test __STDC__, not X3J11.
	Do nothing if alloca is defined as a macro.

Sun Sep 22 03:39:58 1991  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* editfns.c (Ffollowing_char): Really return 0 at eob.

	* m-tandem-s2.h: Near complete rewrite.

Sun Sep 15 17:36:02 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* ymakefile (paths.h, config.h): Never copy, always fail.

Sat Sep 14 02:08:39 1991  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dired.c (file_name_completion): Copy two improvements in ignoring
	case from Ftry_completion: of inexact matches, prefer one that doesn't
	change the case, and preserve user's input case whenever we can't
	add any more text.

	* process.c (create_process): Give subtty its permanent value
	right from the start.  Duplicate the descriptor.
	Handle system call failures opening pty or pipes.

	* sysdep.c (tcgetattr): Just one definition, if not HAVE_TCATTR.
	[HAVE_TERMIO]: Coalesce duplicate definition and include.

	* process.c (close_process_descs): Close subtty of proc if open.

	* x11fns.c (Fcoordinates_in_window_p): Don't consider minibuf prompt.
	That's now in x-mouse.el.

Wed Sep 11 20:44:27 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* ymakefile (paths.h, config.h): Don't use sh -c.  Get rid of @@.

Tue Sep 10 23:18:13 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* ymakefile (paths.h, config.h): Use explicit file names, not $?, $@@.

Mon Sep  9 20:32:35 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* crt0.c (start1): Declare static before first use.

	* lread.c (read1): Don't accept integer containing quoted chars.

Sun Sep  8 22:13:50 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* eval.c (Feval): Don't allow return without correcting backtrace_list.
	(Ffuncall): Likewise.

Tue Sep  3 20:49:28 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* sysdep.c (wait_for_termination): Use sleep loop instead of `pause'.

Mon Sep  2 14:57:52 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* search.c (Fstring_match, search_buffer): Real Lisp error on overflow.

	* lread.c (map_obarray): Don't die if obarray contains non-symbol.

Sat Aug 31 14:38:51 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* sysdep.c (wait_for_termination): Make use of sysv sigpause.
	* s-usg5-3.h (HAVE_SYSV_SIGPAUSE): Defined.

	* emacs.c (main): Ignore SIGDANGER on aix.

Thu Aug 29 01:29:47 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* editfns.c: Doc fix.

Mon Aug 26 22:00:16 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* data.c (Fset): When this buffer sees default value,
	thoroughly set the default value right away.

Sat Aug 24 15:07:16 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* callproc.c: Doc fix.

	* keyboard.c (Fopen_dribble_file): Handle closing the file.

Thu Aug 22 01:37:40 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* commands.h (quit_char): Declare it.
	* minibuf.c (temp_echo_area_contents): Use that var.

Fri Aug 16 16:04:22 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* s-hpux.h (LD_SWITCH_SYSTEM): Defined.
	* fileio.c: Changed a HPUX conditional to HPUX_NET.

Mon Aug 12 21:29:05 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* abbrev.c (Fexpand_abbrev): Don't let capitalization go past point.

Sat Aug 10 15:16:02 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* sysdep.c (sys_suspend): Don't use & before array name.

	* sysdep.c [BROKEN_FIONREAD]: Undefine FASYNC.

	* m-tandem-s2.h (START_FILES, LIB_STANDARD): Added.

Fri Aug  2 14:01:24 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* s-aix3-1.h (HAVE_TCATTR):  Defined.
	* sysdep.c (HAVE_TERMIO definitions):  Add HAVE_TCATTR inside IBMR2AIX.

Thu Aug  1 18:38:29 1991  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* fileio.c (Fexpand_file_name): Avoid doing strlen (0).

Thu Aug  1 12:31:38 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* emacs.c (main): Add SIGIO conditional within AIX conditional.

	* xdisp.c (try_window_id): Compute proper position for screen bottom
	when all changes are below the screen.
	When first computing bp, don't go more than HEIGHT + 1 lines.

Tue Jul 30 21:50:59 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* x11fns.c (Fx_proc_mouse_event): Clear out shift-lock bit.

Sat Jul 27 13:43:29 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* window.c (init_window_once): Increment window_select_count.

	* keymap.c (Fkeymapp): Doc fix.
	(Fcopy_keymap): Don't recursively copy keymaps inside symbols.

Mon Jul 22 21:26:00 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* s-dgux.h, m-aviion.h: New files.

	* emacs.c (main) [POSIX_SIGNALS]: Call init_signal.

	* fns.c (Fload_average) [DGUX]: Add alternate code.

	* sysdep.c [DGUX] (sys_siglist): New variable.

	* sysdep.c (_sobuf): Unsigned chars if DGUX.

	* sysdep.c (init_signals, sys_signal, sys_sigpause): New functions.
	(sys_sigblock, sys_sigunblock, sys_sigsetmask): New functions.

	* emacssignal.h: New file.
	* data.c, keyboard.c, process.c, sysdep.c, x11term.h: Include it.
	* data.c (arith_error): Use SIGEMPTYMASK.
	* keyboard.c (sigfree, sigunblockx): Use SIGEMPTYMASK.
	(get_input_pending): Use SIGMASKTYPE.
	* keyboard.c (sigholdx, sigblockx): Use sigmask.
	* process.c (create_process): Use sigmask.
	* sysdep.c (wait_for_termination): Use them.
	[FASYNC] (request_sigio): Use sigunblock.
	* x11term.h (BLOCK_INPUT_DECLARE): Use SIGMASKTYPE.
	* x11term.c (sigunblockx): Use SIGEMPTYMASK.

	* process.h (subtty): New slot.
	* process.c (create_process): Set it.
	(process_send_signal): Use it.

	* sysdep.c [DGUX]: Include file.h.

	* xdisp.c (try_window_id): Always update window_end_* if successful.

Sun Jul 21 17:01:38 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* editfns.c (init_editfns): If neither of the environment
	variables are set, DON'T set Vuser_name to Vuser_real_name; it's
	supposed to reflect the EFFECTIVE uid.
	Get the full name according to Vuser_name if it differs from
	Vuser_real_name, not if they are equal.
	And pass Vuser_name to getpwnam in that case instead of user_name,
	which might be 0.

Fri Jul 19 15:15:59 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* keyboard.c (read_avail_input) [SYSV_STREAMS]: Don't alter O_NDELAY.
	* x11term.c (x_init_1) [SYSV_STREAMS]: Don't close the old descriptor.

Thu Jul 18 20:14:11 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* process.c (process_send_signal): Handle case where there is no pgrp.

Mon Jul 15 04:48:44 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* process.c (status_notify): GCPRO tail.

Sat Jul 13 16:53:15 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* eval.c (Fapply): If we use funcall_args, GCPRO it.
	And when we call Ffuncall with funcall_args, tell it the correct
	length of funcall_args, no matter which branch allocated it.
	(Feval): If we're calling a subr that takes MANY args, don't
	UNGCPRO until after we call the subr.
	* callint.c (Fcall_interactively): Don't UNGCPRO until after
	Ffuncall returns.

Tue Jul  9 13:27:25 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* sysdep.c (discard_tty_input): Do nothing if read_socket_hook.

Mon Jul  8 22:04:15 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* process.c (create_process): Use O_NOCTTY whenever defined,
	unless USG.

Sun Jul  7 15:47:50 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* process.c (Fprocess_send_eof): If using a pipe, close it.
	(close_process_descs): Check IN and OUT for nonzeroness. 

Thu Jul  4 00:18:48 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* process.c (process_send_signal): Use interrupt chars
	to send certain signals to the process group.
	(TIOCGETC): Undefine this if it is not really usable.

Tue Jul  2 15:05:25 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* bytecode.c (Fbyte_code): Don't take away GC protection
	of args given to Ffuncall.  Ffuncall expects the caller to protect.

Mon Jul  1 22:28:59 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* indent.c (invalidate_current_column): New function.
	* editfns.c (Fwiden, Fnarrow_to_region): Call it.

Sun Jun 30 16:56:33 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* keyboard.c (init_keyboard): Test HAVE_TERMIO instead of USG.

	* ymakefile (LIBES): Put gnulib before libc.

	* process.c (list_processes_1): Handle status of network streams.

Sat Jun 29 11:59:22 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* search.c: Doc fixes.

	* x11fns.c (Fx_set_foreground_color): Fix prompt.

Sat May 25 02:05:57 1991  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* dispnew.c [__GNU_LIBRARY__] (PENDING_OUTPUT_COUNT): Changed FILE
	member names for recent GNU stdio.h reorganization.

Sat May 18 13:10:24 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* process.c (Fprocess_status): Finish handling network connections
	right.

Thu May 16 12:16:41 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* eval.c (Ffuncall): Don't gcpro args if we decide to
	garbage-collect; in functions that take MANY arguments, the caller
	gcpros the arguments.

Tue May 14 21:38:59 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* keyboard.c (read_command_char): Exit at eof if noninteractive.

Mon May 13 14:40:03 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* eval.c (call1, call2, call3): Reorder actions in NO_ARG_ARRAY case.

	* print.c (strout): Set message_buf_print if appropriate.

Wed May  8 16:59:41 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* insdel.c (insert_from_string, insert_from_string_before_markers):
	New functions.
	* editfns.c (Finsert, Finsert_before_markers): Use them.

	* eval.c (apply1, call1, call2, call3): Protect arg vector.

	* eval.c (Fapply): Protect funcall_args.

Tue May  7 18:06:52 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* s-hpux8.h: New file.

	* fileio.c [HPUX8]: Don't include errnet.h.

	* unexhp9k800.c (unexec): Local variable i to avoid compiler bug?

	* sysdep.c (insque) [WRONG_NAME_INSQUE]: New function.
	* s-386ix.h (WRONG_NAME_INSQUE): Define it.

Sat May  4 12:35:42 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* minibuf.c (Ftry_completion): If ignoring case, and all else equal,
	try to preserve the case of the characters in the input.

	* keymap.c (describe_map_tree): `maps' no longer register var.

	* lread.c (init_read): If Vload_path was set specially before dumping,
	preserve it by default.

Fri May  3 15:19:07 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* x11term.c (internal_socket_read): Accept XK_Prior and XK_Next
	explicitly as function keys.  Process arrow keys on AIX
	as on other systems.

	* x11term.c (internal_socket_read):
	Don't set x_focus_flag for a FocusIn that is not NotifyNormal.

Fri May  3 00:29:20 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* x11term.c (delayed_size_change): Added extern declaration for
	this variable, so the Expose and GraphicsExpose event handlers can
	do nothing if there is a pending size change.
	(configure_pending): Variable deleted, since the job
	it used to do is now handled by delayed_size_change.
	(internal_socket_read): rows and cols are now local to the
	ConfigureNotify case, which now calls change_screen_size directly,
	and asks for the size change to be put off until it can be handled
	comfortably; the Expose case now doesn't deal with resizes at all,
	and does not bother to redraw any text if there is a pending
	screen size change.  This eliminates an annoying flicker when the
	window is resized.  GraphicsExpose case follows a similar
	inhibition.
	(x_term_init): Don't initialize configure_pending, since it no
	longer exists.
	(XT_Set_Size_Hints): When calling change_screen_size, ask that the
	size change not be delayed.
	* dispnew.c (in_display): Variable deleted.  It was only tested by
	change_screen_size to see if the change should be delayed, only
	set by the SIGWINCH handler and the X ConfigureNotify code, and
	then only to tell change_screen_size what to do.  It looks like a
	parameter to me.
	(window_change_signal): Instead of incrementing in_display,
	calling change_screen_size, and then decrimenting, just ask
	change_screen_size to delay the change.
	(change_screen_size): Add an argument DELAYED, which indicates
	that now is not a good time to do the size change, and that it
	should be put off until a more convenient juncture.
	(Fset_screen_height, Fset_screen_width): When calling
	change_screen_size, ask that the size change not be delayed.
	* keyboard.c (Fsuspend_emacs): Ditto.
	* window.c (Fset_window_configuration): Ditto.
	* xterm.c (xfixscreen, XSetWindowSize): Ditto.

Wed May  1 12:30:51 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* keymap.c (describe_map_tree): GCPRO maps.

Tue Apr 30 23:54:29 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* process.c (wait_reading_process_input):
	Check NETCONN_P when checking for EIO.

Tue Apr 30 14:28:45 1991  Jim Blandy  (jimb at churchy.gnu.ai.mit.edu)

	* window.c (save_window_save): Always get the selected window's
	value of point from its buffer, not just when it's also the
	current buffer.

Mon Apr 29 23:36:30 1991  Jim Blandy  (jimb at churchy.gnu.ai.mit.edu)

	* abbrev.c (Fdefine_abbrev): When type-checking arguments, allow
	EXPANSION to be nil.

Sat Apr 27 21:56:59 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (syms_of_keyboard): Qtop_level is initialized and
	staticpro'd in syms_of_data too.  Don't staticpro (or initialize)
	it again here.

	* macros.c (syms_of_macros): Since executing-macro and
	executing-kbd-macro are actually the same variable, use
	DEFVAR_LISP_NOPRO for the second one so it doesn't get staticpro'd
	twice.

	* process.c (syms_of_process): Don't staticpro or initialize Qexit
	here, since syms_of_eval already does this and it's bad to
	staticpro something twice.
	(Qexit): Remove declaration here, so there will be a compilation
	error if someone rearranges eval.c without fixing the Qexit stuff.
	* eval.c (syms_of_eval): Add comment here to say that
	syms_of_process cares about Qexit too.

	* lread.c (init_obarray): Don't staticpro Vobarray, since the
	DEFVAR_LISP in syms_of_read takes care of that.

Sun Apr 21 14:44:33 1991  Roland McGrath  (roland at albert.gnu.ai.mit.edu)

	* filelock.c (lock_file_owner_name): Declare type of arg properly.

Mon Apr 15 16:35:35 1991  Eric Youngdale (youngdale@@v6550c.nrl.navy.mil)

	* alloc.c (pure): No need to initialize under VMS.  If we do
	initialize the executable is 132000 bytes larger

	* callproc.c, emacs.c: Fix def of environ when compiling with GCC
	under VMS.

	* fileio.c: fix data type of vms_file_written.

	* malloc.c: Add a couple of type casts.

	* s-vms.h: Define cfree.  This keeps VAXCRTL memory management
	functions from getting their grubby fingers in our memory.

	* s-vms.h, vmsmap.c: Give proper name to sdata such that $D$ATA
	and __DATA correctly bracket the impure memory.  Increase size of
	sdata and DATA_START, to make sure that impure memory starts at an
	address > 8191, since otherwise garbage collection gets very
	confused and Emacs bombs with peculiar errors.  

	Remove some flotsam in mapin_data - someone was trying to save the
	argv and argc parameters, but never bothered to pass them in the
	first place.  This was wrong to begin with, since the reason the
	argv and argc parameters were saved in the dump file was that
	calloc was not defined as sys_calloc in s-vms.h

	* sysdep.c: Include strings.h, and fix data type of dummy.  Add
	check to make sure that va_count is not already defined.

	* vmsfns.c: Add type cast.

Sun Apr 14 22:56:47 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* compile.com: Comments added for how to use GCC.
	* link.com: Alternative command for linking if GCC is in use.

	* malloc.c: Add forward decl for `malloc'.

Sat Apr 13 18:10:28 1991  Eric Youngdale  (youngdale@@v6550c.nrl.navy.mil)

	* sysdep.c (creat_copy_attrs, rename_sans_version):  Always set
	protection to O:REWD when creating file.  Added new function
	rename_sans_version, which strips the version number from the target
	filename, renames the temporary file to this filename,  and then
	sets the file protection of this new file to be the same as the file
	being edited.

	* fileio.c (write-region): Use rename_sans_version instead of rename.

Sun Apr 14 00:26:45 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* xdisp.c (display_text_line, display_string):
	Don't go past endp for multi-column chars.

Fri Apr 12 20:26:28 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* editfns.c (init_editfns): Turn off polling.

Tue Apr  9 19:25:22 1991  Richard Stallman  (rms at apple-gunkies)

	* sysdep.c (child_setup_tty): Turn off erase & kill chars for BSD.

	* editfns.c (init_editfns): Don't call getpwnam (0).

Thu Apr  4 14:56:33 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* editfns.c (clip_to_bounds): Not static.

	* vmsfns.c (vms_trnlog): Increased size of str to 256 elements.
	(vms_symbol): Increased size of str to 1025 elements.

Wed Apr  3 21:13:09 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* window.c (unshow_buffer): Keep PT in bounds when setting it.

Tue Apr  2 17:57:37 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* process.c (Fprocess_status): Test of childp was backwards.

Mon Apr  1 00:06:36 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* emacs.c: Include headers to get FIONREAD, as in keyboard.c.

Sun Mar 31 15:38:48 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* dired.c (file_name_completion_stat): Use lstat.
	* fileio.c (Ffile_exists_p): Use lstat.

	* getpagesize.h [VMS]: Include param.h from Emacs.
	* malloc.c (vms_current_brk): Delete spurious ampersand.
	* s-vms.h (getppid): New macro.
	(sdata): Alternate declaration for GNU C.
	(Vminibuffer_completion_table, etc.): New macros.
	* sysdep.c [VMS]: Include pwd.h from Emacs.  Use sys/file.h if GCC.
	(F_SETFL) [VMS]: Undefine this, to control conditionals.
	(bzero, bcopy) [VMS]: Don't take address of `length'.
	(getpwnam): Make `full' unsigned.
	(creat_copy_attrs): Add some casts.
	(sys_access): Change prvmask and CHECKPRIV to use bitfields.
	Add some casts.
	(vmserrstr): Add a cast.
	* vmsmap.c (mapin_data, mapout_data): Add some casts.
	(sdata, edata): Alternate declarations for GNU C.
	* vmsfns.c: Include clidef.h and syidef.h.
	(getjpi, translate_id): Add cast.
	(translate_id): Make p unsigned.
	(Fvms_system_into, Fsetprv): Likewise for other variables.
	(Fspawn_subprocess): Cast call to xmalloc.
	(vms_version_fn, vms_trnlog, vms_symbol): Add casts.

	* minibuf.c (Ftry_completion): Fix error in previous change.

	* editfns.c, filelock.c [VMS]: Use pwd.h from Emacs, not from system.
	* fileio.c [VMS]: Likewise.  Also include stddef.h, string.h.
	Include perror.h only once.
	(expand_file_name): Cast result of index.

	* window.c (replace_window, unshow_buffer, save_window_save):
	Add forward declarations.  Make some return void.
	* keymap.c (insert_first_line): Likewise.
	* lread.c (read_escape): Likewise.
	* unexec.c (make_hdr, copy_text_and_data, copy_sym, mark_x): Likewise.
	* x11term.c (XInitWindow): Likewise.

	* x11term.c: Cast args to avoid warnings from XLib fns.

Sat Mar 30 17:53:09 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* sysdep.c (sys_sleep, input_wait_timeout): Don't use & on constant.
	(sys_access): Likewise.
	(sys_creat): Define va_count.
	* vmsfns.c (Fspawn_subprocess, create_mbx): Don't use & on constant.
	(translate_id, vms_version_fn, vms_proclist
	(JPI$_MASTER_PID, JPI$_CLINAME): Don't define if already defined.
	(CLI$M_NOWAIT, SYI$_VERSION): Likewise.

	* lastfile.c, filelock.c, process.c: Add a dummy function if VMS.

	* fileio.c: Change VMS conditionals for header files.

	* dir.h (dir$t_name, dir$t_linkname): Use standard syntax for pointer.

	* callproc.c (environ) [VMS and __GNUC__]: Different declaration.

Mon Mar 25 17:53:38 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* minibuf.c (Ftry_completion): Fix handling of matches aside from case.

	* dispnew.c (update_line): Crash if obody[-1] is clobbered.

Sun Mar 24 21:15:45 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* x11term.c (x_io_error_handler): Raise a signal to kill Emacs.

	* m-news-risc.h (LD_SWITCH_MACHINE): New definition if USG.
	(LOAD_AVE_TYPE): Likewise.
	(START_FILES, LIB_STANDARD): Undef before m-mips.h.
	(alloca): Use built-in with GCC.

Sat Mar 23 16:14:43 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* fileio.c (directory_file_name): Fix off-by-one testing slen at end.
	(Fexpand_file_name): Remove excess slash from end of user's home dir.

Fri Mar 22 18:19:21 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* s-usg5-4.h (DATA_SEG_BITS): Definition deleted.
	* m-intel386.h (DATA_SEG_BITS): Define here if USG5_4.

Thu Mar 21 17:16:15 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* m-mips.h: INHIBIT_BSD_TIME prevents including bsd/sys/time.h.

	* m-news-risc.h: Add conditionals for USG.

	* unexmips.c [sony]: Include getpagesize.h and fcntl.h.

Tue Mar 19 17:30:09 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* keyboard.c (read_avail_input): Raise SIGHUP if no input on AIX.

Mon Mar 18 18:38:55 1991  Roland McGrath  (roland at geech.ai.mit.edu)

	* minibuf.c (assoc_for_completion): Add missing defn of local var.

Mon Mar 18 17:09:40 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* xkeys-aix.h: Turn on redefinition of backspace.

	* x11term.c (x_term_init): Handle X_DEFAULT_FONT.

Sun Mar 17 23:50:50 1991  Richard Stallman  (rms@@mole.ai.mit.edu)

	* minibuf.c (assoc_for_completion): New function.
	(do_completion): Use that to check for exact match.

Thu Mar 14 17:06:14 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* fileio.c (Fwrite_region): On VMS, don't try rewriting old version.

Mon Mar 11 21:09:02 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* xdisp.c (redisplay, try_window_id): Special case for change
	at beginning of line, if using selective display.

Sun Mar 10 19:44:50 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* fileio.c (Fmake_symbolic_link): Don't expand FILENAME.

Sat Mar  9 22:59:19 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* eval.c (Fcatch, internal_condition_case): Fill in c.handlerlist.

	* buffer.c (Frename_buffer): Refuse to rename a minibuffer.

Fri Mar  8 02:52:31 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-intel386.h (signal): Maybe define if USG.

	* keyboard.c (echo_char): Don't have a space at end of echobuf.

Wed Mar  6 14:32:14 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-vms.h (DATA_START): Remove `+ 512'.

Tue Mar  5 14:04:03 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* emacs.c, xterm.c:
	Handle BROKEN_FIONREAD, to undef FIONREAD and SIGIO.

	* m-amdahl.h (LIBX11_SYSTEM): Undefine it.

Sun Mar  3 17:15:44 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (MEMORY_IN_STRING_H): New compilation flag.
	* s-isc2-2.h: New file.

	* emacs.c: Use EQ rather than NULL.
	Include stdio.h after lisp.h, and preserve its meaning of NULL.

	* gettime.h: New file.  Handles time.h and/or sys/time.h.
	* process.c, x11term.c, x11fns.c: Use that, not those others directly.
	Make sure to include sys/socket.h first, if have sockets.

Tue Feb 26 23:44:05 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-vms.h (calloc): Define it like malloc, etc.

Tue Feb 26 15:07:30 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* editfns.c (in_accessible_range): Deleted - insufficently general.
	(clip_to_bounds): New function, much like in_accessible_range,
	except that the upper and lower bounds are arguments.
	(goto_char, save_restriction_restore): Rewritten to use
	clip_to_bounds instead of in_accessible_range.

Mon Feb 25 23:44:31 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* x11term.c (xfixscreen): Move static var outside function.

Sun Feb 24 15:57:05 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-amdahl.h (C_OPTIMIZE_SWITCH): Don't define if already defined.
	(HAVE_TIMEVAL, MISSING_UTIMES, HAVE_SELECT, HAVE_PTYS, HAVE_SOCKETS):
	(BSTRING, BROKEN_FIONREAD, LIBX11_MACHINE): New macros.
	* process.c, x11term.c (sys/time.h): Treat uts like aix.

	* xdisp.c (message_buf_print): New variable.
	* dispextern.h: Declare it.
	* xdisp.c (message): Store 0 there.
	* print.c (printchar): Use and set it.

	* process.c (wait_reading_process_input): Use NETCONN_P.

Sat Feb 23 15:22:57 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (send_process): Handle EAGAIN like EWOULDBLOCK.

Fri Feb 22 15:47:47 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* xkeys-aix.h: Move unmodified keys to the end.

Thu Feb 21 14:55:21 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* window.h (prev_echo_area_contents): Declare it.
	* minibuf.c (do_completion): Clear that var before temporary message.

	* fileio.c (report_file_error): Don't downcase "I/O".

Sat Feb  9 13:23:05 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (TERMINAL): Move the definitions inside other #ifdef's.
	(tcgetattr): New sym.  Define as macro if not HAVE_TCATTR.
	Use instead of ioctl TIOCGETP.
	(discard_tty_input, child_setup_tty, init_sys_modes, reset_sys_modes):
	If HAVE_TCATTR, use tcsetattr.
	(init_sys_modes): Handle VSUSP, V_DSUSP if HAVE_TCATTR.

	* vmsmap.c (mapin_data): Save and restore argv; copy the strings.

	* m-amdahl.h (NO_SIOCTL_H): Defined.

	* x11fns.c, x11term.c: Include fcntl.h only once.

	* window.c (syms_of_window): New variable minibuffer-prompt-width.

	* emacs.c (decode_env_path): Ignore EVARNAME if 0.
	* lread.c (init_read): Change call.
	* callproc.c (init_callproc): Likewise.

	* sysdep.c (dup2): Rewrite of non-F_DUPFD case.

Fri Feb  8 00:03:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-intel386.h (LOAD_AVE_CVT): Add extra parens.
	* s-usg5-4.h (LIBX11_SYSTEM): #undef it.

Thu Feb  7 12:47:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* search.c (Fmatch_data): Return ints for values above buf size.

	* callint.c (global_map): Make declaration extern.
	* process.c (Qexit): Likewise.

Wed Feb  6 02:55:40 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* dispnew.c (update_line): If nlen becomes 0, go to just_erase.

	* process.c (create_process): On Apollo, use O_NOCTTY to open pty.

	* process.c (wait_reading_process_input): Special case APOLLO like sun.

	* sysdep.c (discard_tty_input): Use TIOCFLUSH on Apollo.
	(init_sys_modes): Avoid TIOCSTART on Apollo.

	* keyboard.c (command_loop_1):
	Don't clear last_command when start macro.

	* window.c (init_window_once): Set use_time to 1 for root_window.

Tue Feb  5 00:27:33 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* xdisp.c (display_text_line, display_string):
	Don't write past end of available space.
	* dispnew.c (update_line): Don't clobber the null that follows
	the writable space in a screen line.

	* x11fns.c: Always include ioctl.h except on VMS.

	* keyboard.c (this_command_keys): Now type unsigned char *.
	(read_command_char, Fexecute_command_char): Cast to proper type.
	(init_keyboard): Likewise.

Mon Feb  4 17:50:45 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-sunos4-0.h: Renamed from s-sunos4.h.
	(read, write, open, close): Macro defs moved to s-sunos4-1.h.
	(INTERRUPTABLE_*): Likewise.
	* s-sunos4-1.h: New file.

Sun Feb  3 21:50:00 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* Makefile, ymakefile (SHELL): Force use of sh.

	* s-usg5-4.h (USG5_4): Define it.
	(LOAD_AVE_*): Don't define them.
	* m-intel386.h (LOAD_AVE_*): Define, if USG5_4.

	* buffer.c (Fbuffer_local_variables): Omit slots with no names.

Sat Feb  2 11:45:44 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (Fprocess_status): For net stream, return Qopen or Qclosed.

	* eval.c (struct catchtag): New slot `handlerlist'.
	(internal_catch): Record that.
	(unbind_catch): Use that.

Thu Jan 31 16:13:41 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* x11term.c (XTfeep): Pass 0 as second arg to XBell.

Tue Jan 29 14:55:06 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* unexec.c (make_hdr) [TPIX]: Set f_hdr.f_nscns and f_thdr.f_scnptr.

	* sysdep.c [BROKEN_TIOCGWINSZ]: Undef TIOCGWINSZ.

	* malloc.c (cfree): New function.

	* process.c (wait_reading_process_input): Don't ignore
	a zero-length read on a network connection.  Do close it.

	* sysdep.c (hft_init, hft_reset): Pass &junk as arg to HFQERROR.

Fri Jan 25 16:40:33 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* Version 18.57 released.

	* eval.c (Fthrow, Fsignal): Restore poll-suppress count, don't crash.

	* regex.c (re_match_2): Value of PTR_CHAR_POS is off by 1; compensate.

Thu Jan 24 12:43:35 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* x11term.c (XT_GetDefaults): Support XBACKWARDS.

Wed Jan 16 18:57:00 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* Version 18.56 released.

Tue Jan 15 13:13:36 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (init_sys_modes):
	Don't mess with VSUSP, V_DSUSP except on a Mips.

	* process.c (create_process): Use SETUP_SLAVE_PTY if defined.

	* s-usg5-4.h (HAVE_PTYS, HAVE_SETSID): Defined.
	(HAVE_WAIT_HEADER, WAITTYPE, wait3, WRETCODE): New macros.
	(TIOCSIGSEND): Alias for TIOCSIGNAL.
	(FIRST_PTY_LETTER): Overridden.
	(PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, SETUP_SLAVE_PTY): New macros.

	* m-ibmrs6000.h (LINKER): Add -bnodelcsect.

	* x11fns.c (Fx_get_default): XBACKWARDS flips XGetDefault args.

Mon Jan 14 13:30:32 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (hft_init, hft_reset): Do nothing if not HFT.

	* m-ibmrs6000.h (CANNOT_DUMP): Undefine it.
	(UNEXEC): Define it.
	(PURE_SEG_BITS, SHMKEY): Define only if CANNOT_DUMP.
	(LINKER): Override it.

Sun Jan 13 23:10:34 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-usg5-4.h (LOAD_AVE_CVT): Cast value to int.

Sat Jan 12 14:50:45 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-irix3-3.h (HAVE_SYSVIPC): Defined.

Fri Jan 11 11:45:19 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* emacs.c (Fkill_emacs): Turn off SIGIO before exiting.

	* s-usg5-3.h (USG5_3): Define it.
	* m-ibmps2-aix.h [USG5_3]: Define TEXT_START as 0.
	Don't define DATA_START or DATA_END or TEXT_END or DATA_SEG_BITS.
	Override various other symbols at end of file.

	* m-tower32v3.h (VALBITS, GCTYPEBITS): Use 26 bits for pointer.

Thu Jan 10 12:33:20 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* x11fns.c (Fx_debug, Fx_get_cut_buffer, Fx_get_*_color):
	Call check_xterm.

	* fileio.c (Fcopy_file): Always close descriptors.

	* s-sunos4.h: read, write, open and close are interruptable.

Tue Jan  8 20:46:34 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* keyboard.c (input_available_signal): If FIONREAD fails, do SIGHUP.

Sun Jan  6 23:25:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (init_sys_modes): Turn off VSUSP and V_DSUSP if they exist.

Thu Jan  3 17:30:46 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* search.c (search_buffer): Return starting position if count == 0.

Thu Dec 27 13:54:20 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-tower32.h: Add comments for how to optimize.
	* m-tower32v3.h: New file.

	* fileio.c (Fwrite_region): Save errno around unlock_file.

Thu Dec 20 18:09:19 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* term.c (ins_del_lines): Handle scroll region wrt chars_wasted.

Wed Dec 19 19:04:27 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* alloc.c (memory_full): Use preallocated arg to Fsignal.
	(syms_of_alloc): Preallocate it.

	* bytecode.c (Fbyte_code): Consider GC in each loop.

Wed Dec 12 16:17:56 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* keyboard.c (command_loop_1): Really bind inhibit-quit.

	* abbrev.c (Fdefine_abbrevs): Don't crash when EXPANSION is nil.

Wed Dec 12 03:35:47 1990  Chris Hanson  (cph at kleph)

	* keyboard.c (command_loop_1): Bind inhibit-quit to t while
	displaying message over active minibuffer.

	(get_input_pending): If quit-flag is set by read_avail_input,
	count that as an input character.

Mon Dec 10 00:11:29 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-pmax.h (SYSTEM_MALLOC): Define it.

	* search.c: Doc fix.

	* process.c (wait_reading_process_input): Ignore failure with EIO.

	* process.c (create_process): Delete duplicate sigsetmask.

Sun Dec  9 23:38:51 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-ibmrt.h (RTPC_REGISTER_BUG, SHORT_CAST_BUG): Macros deleted.
	(C_SWITCH_MACHINE): Use -D to define alloca.
	(SIGN_EXTEND_CHAR): Use a cast.

Sun Dec  2 15:39:18 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* fns.c (Fload_average): Add IRIS conditional.

	* m-iris4d.h (LOAD_AVE_CONVERT): Divide by 1024.

	* s-irix3-3.h (ADDR_CORRECT): Macro deleted.
	(LIBS_MACHINE): Macro deleted.
	(LDAV_SYMBOL): Delete the `_' from start of symbol.

	* process.c (status_notify): Was failing to UNGCPRO for dead buffer.

Fri Nov 30 18:07:13 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (read_process_output, exec_sentinel): Don't catch errors.

	* keyboard.c (read_command_char): Save and restore getcjmp.

Thu Nov 29 16:57:02 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* x11term.c (XT_Set_Size_Hints): Rewrite XICCC case.

	* process.c (status_convert): Use WRETCODE for exited process.

Wed Nov 28 18:02:40 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* x11term.c (x_term_init):
	Use progname as XXidentity even if matches CLASS.
	* x11term.h (CLASS): Use Emacs, not emacs.

	* s-386ix.h (ISC): New macro.

Tue Nov 27 14:19:44 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* dispnew.c (PENDING_OUTPUT_COUNT): Alternate defn for GNU library.

Mon Nov 26 14:34:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* x11term.c (XTfeep): Do nothing unless HAVE_SELECT and HAVE_TIMEVAL.

	* s-sunos4.h (O_NDELAY): Don't define this.

	* s-usg5-4.h (LIB_STANDARD): Add libucb.a.

	* print.c (Fwith_output_to_temp_buffer): Don't eval first arg twice.

Thu Nov 22 14:24:00 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-hp9000s300.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Override for BSD.

	* doc.c (Fsubstitute_command_keys): Use IDX only around GC points.
	Get rid of SEND.

Wed Nov 21 14:43:01 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-mips4.h (MIPS2): Undefine this.

	* x11term.c (internal_socket_read):
	Avoid redrawing cursor when no change.

Tue Nov 20 17:12:41 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (sigchld_handler): Don't look for new proc if found old.

	* x11term.c (internal_socket_read): Record whether have explicit focus.
	Handle LeaveNotify events accordingly.

	* fns.c (Fyes_or_no_p): Protect PROMPT for entire loop.
	* process.c (status_notify): Protect MSG.

	* doc.c (Fsubstitute_command_keys): Protect STR and don't keep a
	pointer to the middle of it.
	* keyboard.c (Fsuspend_emacs): Protect STUFFSTRING.
	(cmd_error): Protect TAIL while printing.
	* keymap.c (describe_alist): Protect ELT_PREFIX and TEM2.
	(describe_vector): Likewise for ELT_PREFIX and TEM1.
	(insert_first_line): Protect STR.

	* process.c (Fstart_process): Set BUFFER before other string vars
	so a gc in Fget_buffer_create won't clobber them.

	* process.c (Fopen_network_stream): Protect various args.
	* print.c (Fprin1_to_string, Fprint): Protect OBJ.
	* fileio.c (Frename_file): Protect args.
	* search.c (Freplace_match): Protect STRING.

	* dispnew.c (syms_of_dispnew): Don't clobber Vwindow_system_version
	if CANNOT_DUMP.

Mon Nov 19 17:56:18 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* emacs.c (Fkill_emacs): Protect ARG.

	* fileio.c (Fadd_name_to_file): Protect the args.
	(Fcopy_file, Fmake_symbolic_link): Likewise.
	(Finsert_file_contents): Protect FILENAME.

	* buffer.c (Fbury_buffer): Don't init BUF1.

	* eval.c (Fbacktrace): Protect TAIL from GC.

	* scroll.c (CalcIDCosts1): Use calculate_costs_hook.
	* x11term.c (x_term_init): Set up the hook.
	(XTcalculate_costs): New function.
	* dispnew.c (init_display): Call calculate_costs here.
	* term.c (term_init): Not here.

Thu Nov 15 16:29:18 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* lread.c (Feval_region): Check type of B.

	* dired.c (file_name_completion): Use CHECK_STRING on FILE.

Tue Nov 13 12:04:10 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (sigchld_handler): If pid not recognized, look for a
	process recorded with pid -1.
	(create_process): Set pid to -1 before the fork.
	Store correct pid right after the fork.
	Don't change sigchld handler on system V.

	* keyboard.c (input_poll_signal, start_polling): Use polling_period.
	(syms_of_keyboard): Initialize it and make it a Lisp var.

	* malloc.c: Use vlimit on VMS.

	* process.c (create_process): Handle HAVE_SETSID when not USG.

	* x11term.c (XT_GetDefaults): Handle temp_useBitmap.
	(xDefaultsValueTable): Handle bitmapIcon.

	* fileio.c (err_str): New macro.
	(Finsert_file_contents, Fwrite_region): Use it in error messages.

Mon Nov 12 17:18:00 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* insdel.c (del_range): Supply missing arg to gap_left.

	* indent.c (Findent_to): Don't fail to return a value.

	* process.c (run_filter): New function.
	(read_process_output, exec_sentinel): Use it to call the function.

Sun Nov 11 00:37:50 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* xdisp.c (try_window_id): When checking val.hpos < 0,
	to update tab_offset, correct for hscroll.

	* ymakefile (xemacs): Link xemacs to temacs if HAVE_SHM.

	* m-ibmrs6000.h (HAVE_SHM): Undefine this since does not work.

	* fns.c (Fnthcdr): Stop loop if reach end.

	* dispnew.c: Undef SIGIO if no FIONREAD.
	Include fcntl.h if HAVE_TERMIO.

Fri Nov  9 23:22:37 1990  Chris Hanson  (cph at kleph)

	* eval.c (struct catchtag): Add new element `poll_suppress_count',
	which records the value of that variable at the time the catchtag
	is bound.
	(internal_catch): Initialize the new element.
	(Fcondition_case): Likewise.
	(internal_condition_case): Likewise.
	(Fthrow): Instead of calling `barf_if_polling_suppressed', abort
	if current value of `poll_suppress_count' is different from what
	it was when the catchtag was bound.

	* keyboard.c (barf_if_polling_suppressed): Delete this, it's not
	referred to anymore.

Tue Nov  6 21:37:36 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (wait_reading_process_input): Don't read input
	from more than one process between calls to `select'.

	* m-ibmrs6000.h (CANNOT_DUMP): Define this.

	* process.c (create_process): Unblock SIGCHLD in the child.

Mon Nov  5 18:38:18 1990  Chris Hanson  (cph at kleph)

	* keyboard.c: Define and initialize the variable
	`poll_suppress_count' even when polling is not being used.
	* lisp.h: Extern the variable `poll_suppress_count'.

	* lisp.h (struct handler): Add new element `poll_suppress_count',
	which records the value of that variable at the time the handler
	is bound.  
	* eval.c (Fcondition_case): Initialize new element.
	(internal_condition_case): Likewise.
	(Fsignal): Instead of calling `barf_if_polling_suppressed', abort
	if current value of `poll_suppress_count' is different from what
	it was when the handler was bound.

Fri Nov  2 15:13:17 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* malloc.c (get_lim_data): Test !BSD4_1, not BSD4_2.

	* callint.c (syms_of_callint):
	Initialize Vprefix_arg and Vcurrent_prefix_arg.

Fri Nov  2 01:34:47 1990  Chris Hanson  (cph at kleph)

	* keyboard.c (barf_if_polling_suppressed): Don't do anything
	unless `read_socket_hook' is nonzero.

	* keyboard.c (barf_if_polling_suppressed): Define this again, but
	don't do anything if `initialized' is not set.
	* eval.c (Fthrow): Call it.
	(Fsignal): Call it.

	* lisp.h: Define `Qinhibit_quit'.
	* eval.c: Likewise.

Fri Nov  2 01:09:20 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (read_process_output): Inhibit quit in filter.
	(exec_sentinel): Likewise.

Wed Oct 31 18:13:08 1990  Chris Hanson  (cph at kleph)

	* keyboard.c (barf_if_polling_suppressed): Delete this function.
	(quit_throw_to_read_command_char): Inline call to it here.
	* eval.c (Fthrow, Fsignal): Delete calls to it.

Wed Oct 31 00:45:39 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (wait_reading_process_output): Don't turn off polling.

	* keyboard.c (barf_if_polling_suppressed): New function.
	(quit_throw_to_read_command_char): Call it.
	* eval.c (Fthrow): Call it.
	(Fsignal): Call it.

Thu Oct 25 22:39:24 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* x11fns.c (Fx_store_cut_buffer): Clear selection owner.

Wed Oct 24 15:18:14 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* ymakefile (GNULIB_VAR): New make variable.
	(LIBES): Use that, not LIB_GCC directly.
	(LIB_GCC): Renamed from GNULIB.  Don't define if already defined.

Tue Oct 23 01:19:25 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* x11fns.c, x11term.c: Include header for FIONREAD.

Mon Oct 22 14:07:45 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* scroll.c (struct matrix_elt): Use ints for costs.
	* dispextern.h (INFINITY): Moved here from scroll.c.
	* dispnew.c (scrolling): If new line not enabled, draw cost = INFINITY.

	* keyboard.c (quit_char): New variable.
	(init_keyboard): Initialize it.
	(Fset_input_mode): New optional arg to set quit_char.
	(command_loop_1, read_command_char, kbd_buffer_store_char):
	(read_avail_input, input_available_signal): Use quit_char, not C-g.
	* sysdep.c (init_sys_modes): Use quit_char to set special chars.
	* x11term.c (x_init_1): Call to Fset_input_mode fixed.

Sun Oct 21 15:21:39 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (select): Handle timeout == 0.  Add var local_timeout.

	* ymakefile (LIBES): Put LIBS_SYSTEM and LIBS_MACHINE after LIBX.

	* x11fns.c: After config.h, maybe undef FIONREAD and SIGIO.

	* alloc.c (Fcons, Fmake_vector, Fmake_symbol, Fmake_marker):
	(make_uninit_string): Use VALIDATE_LISP_STORAGE.
	(VALIDATE_LISP_STORAGE): New macro.

	* fileio.c (Fcopy_file): Detect error closing output.

Sat Oct 20 00:59:31 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* xdisp.c (message, message1): Clear noninteractive_need_newline.

Fri Oct 19 17:25:48 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* buffer.c: Doc fix.

Thu Oct 18 13:43:50 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-intel386.h (alloca): Define as builtin, if using GCC.

	* ymakefile (GNULIB): New macro.
	(LIBES): Use that macro.  Fixes linking if compiled with GCC.

	* m-att3b.h (NEED_PTEM_H): Define this for 3b2.

	* s-aix3-1.h (SYSV_SYSTEM_DIR): Define it.

	* print.c (print): Improve error message for bad data type.

Wed Oct 17 12:04:18 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-delta.h (C_DEBUG_SWITCH): Don't define this.

Tue Oct 16 13:23:37 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* x11fns.c (Fx_get_default): Test for XXidentity non-empty.

	* data.c (arith_error): Reestablish handler on VMS.

	* process.c (status_convert): If killed by signal, use WTERMSIG.

Mon Oct 15 00:27:43 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* alloc.c (truncate_all_undos): New subroutine.

	* keyboard.c (start_polling, stop_polling): New functions.
	(input_poll_signal): New function, handles periodic alarms.
	(read_command_char): Turn off polling temporarily.
	* xdisp.c (redisplay): Likewise.
	* process.c (wait_reading_process_input, create_process): Likewise.
	* x11term.h (BLOCK_INPUT, UNBLOCK_INPUT): Likewise.
	* xterm.c (XTflash, flashback): Likewise.

	* process.c (wait_reading_process_input): Undo last change.

	* process.c (create_process): Don't turn off handling of SIGCHLD.
	Just set a flag if a signal comes in when not wanted.
	(create_process_sigchld): New signal handler.

Sun Oct 14 15:26:29 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* alloca.s [new hp assembler]: Avoid putting sp above stack top.

	* crt0.c [new hp assembler]: Double flag_fpa and flag_68881 if %d2!=0.

	* x11term.c: Choose time.h or sys/time.h as in process.c.

	* alloc.c (Fmake_marker): Delete debugging abort.

Thu Oct 11 11:58:40 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-ibmps2-aix.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Define them.
	(C_DEBUG_SWITCH): Delete -fstrength-reduce.

	* x11term.c (XT_GetDefaults): Try more alternatives for each option.

	* unexmips.c (unexec): Add conditional for MIPS2.

Wed Oct 10 16:36:23 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-iris4d.h (LIBS_MACHINE): Use -lsun, don't use -lPW.

	* unexelf.c: New file.
	* s-usg5-4.h: New file.
	* unexec.c [USG_SHARED_LIBARARIES]: Numerous changes under this cond.
	(copy_text_and_data): New second argument.

	* process.c (wait_reading_process_input): If not using interrupts,
	and using X, check every second for input from X.

Tue Oct  9 14:10:30 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* x11term.c [BAT68K]: Include sys/time.h.
	(x_clear_end_of_line): Fix typo inside #ifdef.

	* m-delta.h: Never use HAVE_ALLOCA.
	Don't define HAVE_SOCKETS.
	Don't alter HAVE_X_WINDOWS or X11.
	Other changes inside HAVE_X_WINDOW conditional.

	* window.c (window_loop): In case 6, don't do Fset_buffer.

	* m-news-risc.h: New file.

	* dispnew.c (init_display): Cast result of egetenv.

	* m-ibmrt-aix.h (PTY_TTY_NAME_SPRINTF): Use fd, not ptyv.

Mon Oct  8 18:55:20 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (sys_open, sys_close, sys_read, sys_write):
	Don't handle EAGAIN.

	* process.c (wait_reading_process_input): Handle nread==-1
	for O_NDELAY like O_NONBLOCK.  See james@@bigtex.cactus.org.

	* s-vms.h (LINK_CTRL_SHARE): Turn on again.
	tranle@@intellicorp.com found it needed in VMS 5.3.

	* emacs.c (main): Move VMS declaration of environ outside function.

	* vmsfns.c (Fdefault_subproc_input_handler): InsCstr -> insert.

Sun Oct  7 22:48:33 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-pmax.h (START_FILES): Handle crt0.o in different dir in Ultrix 4.0.

	* s-sunos4.h (O_NDELAY): Define only if not defined.

Mon Oct  1 13:51:03 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (sys_open, sys_close, sys_read, sys_write):
	Handle EAGAIN like EINTR.

Sun Sep 30 16:37:26 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c: Include various headers for ptys, for hpux, aix, and sysv.

	* dispnew.c (preserve_other_columns): Fix args to second bcopy.

	* term.c (output_chars): Fix braino updating len after TS_repeat.

Sat Sep 29 00:04:31 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* x11fns.c (Fcoordinates_in_window_p): Don't fail in minibuffer.

	* x11term.c (internal_socket_read): Backwards if in FocusOut. 

	* term.c (fatal): Declare argument str.

	* alloca.s: Handle ns32000 like ns16000.

	* ymakefile (LIB_X11_LIB): New parameter,default -lX11.
	(LIBX): Use that.

	* Makefile (xmakefile): Delete junk.c at the beginning.

	* process.c (sigchld_handler): Don't clear bit in wait mask
	if process is deactivated already.

	* hftctl.c: Include termios.h before termio.h.
	Define TCGETS and TCSETS if nec.
	Give some forward declarations for the static functions.
	Reformat in usual GNU style.

	* m-orion105.h (LOAD_AVE_TYPE, FSCALE): Changed from double and 1.0.

	* xkeys-aix.h: Don't modify delete and backspace.
	If the user has already remapped the keyboard,
	this would only mess things up.

	* m-delta.h: New file.

Fri Sep 28 17:57:46 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* malloc.c (morecore): Don't block SIGTRAP, SIGILL, SIGSTOP, SIGTSTP.

	* Eliminate all mallocs in signal handlers.

	* process.h (struct process): New slots raw_status_low, raw_status_high
	* process.c (sigchld_handler): Don't compute status list here.
	Just set raw_status_...
	(update_status): New function; compute status from raw_status_...
	(make_process, Fdelete_process, Fprocess_status):
	(Fprocess_exit_status, list_processes_1, wait_reading_process_input):
	(send_process, process_send_signal, sigchld_handler, status_notify):
	Set or test raw_status...

	* dispnew.c (window_change_signal): Don't do it, just make it pending.
	(do_pending_window_change): New function.  Really change the size.
	(hold_window_change, unhold_window_change): Functions deleted.
	* xdisp.c (redisplay, message, message1): Use do_pending_window_change.
	* process.c (wait_reading_process_output): Likewise, after select.

	* alloc.c (malloc_warning): Just save the string.
	(pending_malloc_warning): New variable.
	(display_malloc_warning): Really display the message in a buffer.
	* keyboard.c (command_loop_1): Call display_malloc_warning if needed.

	* fns.c (Frequire): Undo certain things on failure, like autoload.

Thu Sep 27 20:59:54 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (select): Use process_tick and update_tick,
	not child_changed.

	* m-convex.h (LIB_STANDARD, LIBS_MACHINE): remove these, they
	cause an unnecessary C1/C2 dependency.

	* m-convex.h (LD_SWITCH_MACHINE): use -e__start to specify
	where crt0.c begins.

	* m-convex.h (HAVE_SETSID): define; must call setsid()
	when creating an inferior with a different controlling tty.
	* process.c (create_process): rearrange so that HAVE_SETSID
	will be seen when not under USG.

	* m-convex.h (S_IFMT etc): define in case of posix compilation.

	* m-convex.h (FIRST_PTY_LETTER): do it at runtime.
	* unexconvex.c (first_pty_letter): routine to locate lowest pty.

	* unexconvex.c: Rewrite so it can cope with thread-local sections.

	* m-sequent.h, m-cydra5.h, m-ibmrt-aix.h: Change ptyname to pty_name.

	* alloc.c (Fmake_marker): Abort if called from signal handler.

Wed Sep 26 18:39:42 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-mips4.h: New file.

Sun Sep 23 14:25:45 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* keyboard.c (Fsuspend_emacs): Check screen size after resume.

Tue Sep 18 09:21:44 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* window.c (Fsplit_window): For horizontal split, put excess
	column on left.

Mon Sep 17 11:22:45 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* emacs.c (main) [USG_SHARED_LIBRARIES]: Call brk.

Sun Sep 16 22:23:10 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* window.c (save_window_save): New arg MAXWINDOW.
	(Fcurrent_window_configuration): Pass that arg.

Tue Sep 11 16:25:53 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* unexaix.c, m-ibmr2.h, s-aix3-1.h, xkeys-aix.h: New files.

	* ymakefile (LD): Allow override with LINKER.
	(mallocobj): Handle SYSTEM_MALLOC without HAVE_ALLOCA.
	(xemacs): Use -nl option if HAVE_SHM.

	* x11term.c (XMOD_Alt, ...): New static variables.
	(stringFuncVal): Don't define it if AIX.
	(internal_socket_read): Don't map function keys if AIX.
	Handle ControlMask like Mod1Mask.
	(XInitWindow): If AIX, insert xkeys-aix.h.

	* sysdep.c: Change IBMRTAIX conditionals to AIX.
	Move hft.h to the top.
	[IBMR2AIX]: Use termios.h and change macros accordingly.
	(child_setup_tty): Change IBMRTAIX to AIX.
	(setpgrp_of_tty): Handle IBMR2AIX.
	(init_sys_modes): Handle IBMR2AIX.  Output special things for AIX.
	(reset_sys_modes): Output special things for AIX.
	(hft_init, hft_reset): Conditionals for IBMR2AIX.

	* process.c: Change IBMRTAIX to AIX controlling time.h.
	[AIX]: Include sys/pty.h and unistd.h.
	(wait_reading_process_input): If AIX, handle EBADF differently.
	(create_process): Handle HAVE_SETSID.  Change conditional to AIX.

	* lisp.h (XPNTR): New definition if HAVE_SHM.
	(NULL): Undef before defining.

	* emacs.c (main): If HAVE_SHM, call map_in_data.
	Use AIX, not IBMRTAIX, for signal conditional.
	(Fdump_emacs_data): New function if HAVE_SHM.
	(Fdump_emacs): Don't define if HAVE_SHM.

	* alloc.c (pure, PUREBEG): If HAVE_SHM, define place for a segment.

Thu Sep  6 00:01:05 1990  Chris Hanson  (cph at kleph)

	* x11term.c (CursorToggle): If the cursor is in the modeline,
	don't display it, just say we did.

	* process.c (wait_reading_process_input): Don't initialize
	`Available'.
	(sigchld_handler): Take the process input channel out of
	`input_wait_mask' if the process has died.
	(init_process): Must initialize `input_wait_mask' to contain
	standard input.

Mon Sep  3 14:00:11 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c: Use fd_set for args of select, if appropriate.
	(SELECT_TYPE): Always define this as type to use.
	(FD_SET, FD_CLR, FD_ISSET, FD_ZERO): New access macros.
	(input_wait_mask): Use SELECT_TYPE.  All refs changed.
	(wait_reading_process_input): Use SELECT_TYPE and new macros.

	* x11term.c (CursorToggle): Abort if on inverse-video line.

Tue Aug 28 23:15:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* regex.c (re_match_2): For case duplicate, refuse to match
	a register with invalid contents.

Tue Aug 28 17:01:40 1990  Chris Hanson  (cph at kleph)

	* dispnew.c (N_PREEMPTIONS): remove illegal semicolon from
	definition.
	(update_screen): fix typo, `num_input_characters' should be
	`num_input_chars'.
	Initialize preemption-debugging variables to impossible values so
	that they are disabled.

Tue Aug 28 15:10:28 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* regex.c (re_search_2): Propagate serious error indication.

	* dispnew.c (scroll_screen_lines): Mark newly empty lines as empty.
	(scrolling): Give up if any line in current_screen not enabled.

Mon Aug 27 12:42:22 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* lread.c (load_unwind): Free the stream object.

	* sysdep.c (wait_for_kbd_input): Frob waiting_for_input here.
	* keyboard.c (kbd_buffer_read_command_char): Not here.

	* sysdep.c (wait_for_kbd_input): Clear process_ef before snarfing
	process input.

	* fileio.c (Fdirectory_file_name): On VMS, leave space for log name.

	* sysdep.c (init_sys_modes): Clear process_ef only the first time.

	* vmsfns.c (process_exit): Logic of deletion was wrong.
	(Fspawn_subprocess): Correctly reuse existing struct process_list.

Sun Aug 26 22:09:23 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* dispnew.c (update_screen): Record preemption events
	in special history array `preemptions'.
	Let programmer force a preemption from the debugger.

Sat Aug 25 14:22:39 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* xdisp.c (try_window_id): Record info for debugging.

	* x11term.c (CursorToggle): If in highlighted line, call dummy.

Thu Aug 23 16:41:11 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (wait_reading_process_output):
	Don't deactivate process for eof if SIGCHLD is defined.
	That used to mask the proper exit status.

Wed Aug 22 12:40:29 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-plexus.h (LD_SWITCH_MACHINE): New macro.

Mon Aug 20 23:29:08 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* malloc.c (malloc_usable_size, memalign): Count size of header
	properly.

Thu Aug 16 13:51:23 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* keymap.c (apropos1): At least 1 space between fn name and keys.

Wed Aug 15 14:44:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* term.c (calculate_costs): Make DC_ICcost one element larger.

	* process.c (allocate_pty, create_process): 
	(Fopen_network_stream, wait_reading_process_input):
	Use O_NONBLOCK if it is defined.
	(wait_reading_process_input): Ignore nread == 0 if using O_NDELAY.

	* process.c (pty_name): New name for ptyname.

Tue Aug 14 22:13:00 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* fileio.c (Finsert_file_contents): Ensure `i' appears initialized.

	* process.c (create_process) [HPUX]: Avoid calling signal;
	HPUX has sigsetmask.

Mon Aug 13 18:32:16 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* x11term.c (x_term_init): Turn off use of XIgnoreError.
	(internal_socket_read): Turn off O_NDELAY if FIOSNBIO will be used.

	* xmenu.c (list_of_items, list_of_panes): Fix typos in wta errors.

Sat Aug 11 19:00:49 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-convex.h (C_SWITCH_MACHINE, LIB_STANDARD, LIBS_MACHINE):
	(LD_SWITCH_MACHINE): Add definitions for Convex V 4.0.

Wed Aug  8 13:50:25 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* x11term.c (internal_socket_read): Make XComposeStatus static.

Tue Aug  7 16:11:57 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c [NEED_PTEM_H]: New flag macro says include ptem.h.

	* x11term.c (XTfeep): Call XFlush.

	* x11term.c (XT_Set_Size_Hints): Move resize after setting hints.

Mon Aug  6 23:48:00 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* x11fns.c (Fx_set_background_color): Set bkgd color of cursor GC.

Sun Jul 29 14:16:05 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* x11term.c (local_cursor_vpos, local_cursor_hpos): 
	New variables, used throughout this file instead of cursor_*.
	(XTupdate_end): Move cursor to last specified position.
	This makes cursor_in_echo_area work.

	* Makefile (CPP): Use $(CC).

	* editfns.c (init_editfns): Fix typos.

Sat Jul 28 22:14:16 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* doprnt.c (doprnt): Support negative width for %s.

Fri Jul 27 17:15:20 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* dispnew.c (change_screen_size): Set screen_garbaged.

Mon Jul 23 15:51:01 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* scroll.c (CalcLID): Run loop screen_height times.
	(calculate_scrolling): Offset *_cost by -1.

Tue Jul 17 17:42:46 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-mips.h: Fix unterminated comment.

	* fileio.c (Finsert_file_contents): Initialize I exiting main loop.

	* fileio.c (barf_or_query_if_file_exists): Fix bad arg to Fsignal.

Tue Jul 10 15:54:25 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (wait_reading_process_input):
	Test of wait_proc->status was backwards.

	* sysdep.c: New parameter NO_SIOCTL_H.
	* s-386ix.h: New file.

Mon Jul  9 14:33:07 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-pmax.h: Undef LD_SWITCH_MACHINE, change DATA_START
	and DATA_SEG_BITS.

Thu Jul  5 15:34:31 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-iris3-6.h (HAVE_GETWD): Define this.
	(KERNEL_FILE): Change to /unix.
	(sigsetmask, sigblock, NEED_ERRNO, C_SWITCH_MACHINE): Turn off.
	(SIGIO): Don't undefine it.
	(LIBS_MACHINE): Remove -lbsd.

	* term.c (calculate_costs): Fix typo allocating DC_ICcost.

Thu Jul  5 13:38:24 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* minibuf.c (Fall_completions, do_completion): Treat nil as alist.
	(Ftry_completion): Likewise.

Sun Jul  1 17:21:40 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c: Undefine TIOCGETC if BROKEN_TIOCGETC defined.
	* s-usg5-3.h: Define BROKEN_TIOCGETC.

Thu Jun 28 13:44:46 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* term.c (calculate_costs): Always allocate chars_wasted and copybuf.
	Clear chars_wasted.

	* xdisp.c (display_text_line): Check p1prev against startp for `...'.

Tue Jun 26 12:37:45 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* fileio.c (Fdo_auto_save): If don't save because file has shrunk,
	that still counts as trying.

Sun Jun 24 14:30:17 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* x11term.c (dumprectangle, CursorToggle, dumpchars): Use new
	screen data structures.
	* xterm.c (dumprectangle, CursorToggle, dumpchars): Likewise.
	Also, use current_screen in place of active_screen
	since in fact only that screen matrix was ever used.

	* dispextern.h: Add `extern' to variable declarations.

Sat Jun 23 14:12:01 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c [HPUX]: Undefine TIOCGPGRP.

	* editfns.c, fileio.c, filelock.c [HPUX]: Include stdio.h.

	* s-hpux.h: Inclusion of wait.h moved from m-hp9000s300.h.
	(HAVE_RENAME): Define this.
	* sysdep.c (HAVE_RANDOM): Define this on hpux with x11.
	(rename): Check HAVE_RENAME.

	* lread.c (read_escape): Don't use \a.

Wed Jun 20 12:44:16 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-sun2.h: Add comment for dealing with 68881.

Tue Jun 19 01:36:26 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-ibmps2-aix.h: Define C_DEBUG_SWITCH to optimize for gcc.
	Define LIB_STANDARD rather than LIBS_MACHINE.
	Define HAVE_PTYS, HAVE_SOCKETS, HAVE_SYSVIPC, X_DEFAULT_FONT.
	Undefine sigsetmask.

	* sysdep.c: Don't include sioctl.h on aix386.

	* process.c: Use HAVE_WAIT_HEADER.

Sun Jun 17 17:57:31 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* insdel.c (insert): Error if buffer would get too long.
	* fileio.c (Finsert_file_contents): Likewise.

Sat Jun 16 23:31:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* syntax.c (scan_lists, scan_sexps_forward): Allow Squote in symbols.

Sun May 27 18:33:35 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.h (struct Lisp_Process): Add element pty_flag.
	* process.c (create_process): Initialize that.
	(process_send_signal): Ignore current_process if no pty.

	* syntax.c (scan_sexps_forward): Initialize curlevel->last.

Sat May 26 03:15:22 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* keyboard.c (command_loop_1): Clear this_command_key_count here.
	(Fread_key_sequence): And here.
	(read_key_sequence): Not here.

	* indent.c (current_column): Detect special case when point == BEGV.

	* window.c (unshow_buffer): Don't set pt in selected window's buffer.

	* process.c (status_message): Fix screwup in Qexit case.

Fri May 25 15:10:30 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* dispnew.c (update_screen):
	Add missing else in handling cursor_in_echo_area.

	* window.c (Fselect_window): Always get point from the new window.
	* xdisp.c (redisplay_window): Eliminate lpoint.  Alter opoint 
	if point should be changed permanently in the selected window.

	* xdisp.c (decode_mode_spec): Don't truncate buffer or file name.

	* editfns.c (Finsert_buffer_substring): Don't fail to set beg, end.

	* dispnew.c (safe_bcopy): Fix backwards conditional.
	Do both cases explicitly; don't use bcopy.
	(scroll_screen_lines): Fix amount to rotate by for AMOUNT < 0.

Tue May 22 20:50:33 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* Renamings: Renamed functions include
	move_cursor, bell, read_command_char, insert, output_chars, 
	self_insert_internal, set_buffer_internal.
	Variables echo_area_contents, cursor_hpos, cursor_vpos, meta_key,
	update_mode_lines, current_buffer.
	Macros SET_PT, FROM_KBD, FETCH_CHARS.

	* keyboard.c (defkey): Function deleted.  ndefkey used instead.
	(Vglobal_map, global_map, Vesc_map, Vctl_x_map): Now type Lisp_Object.

Mon May 21 14:32:37 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* buffer.h (struct buffer_text): Component renamed.
	All refs changed to macros below.
	(MODIFF, BUF_MODIFF): New macros.

	* xdisp.c (redisplay_window): Fix backward conditional on point_vpos.

	* xdisp.c (redisplay_window): Set bf_cur directly.
	* buffer.c (SetBfx): Function deleted.

Sun May 20 17:27:06 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* keyboard.c (command_loop_level): New variable.
	Used in place of RecurseDepth, but different meaning.
	(recursive_edit_1): New function.
	(Frecursive_edit): Call that.
	* minibuf.c (read_minibuf): Call recursive_edit_1.
	* xdisp.c (RecurseDepth): Variable deleted.

	* print.c: Include dispextern.h.
	(printchar, strout): Use message_buf.

	* scroll.c (CalcIDCosts): Dynamically allocate ILcost, etc.
	(ILcost, DLcost, ILncost, DLncost): Now pointers.
	(do_scrolling): Use alloca for queue.

	* term.c (calculate_costs):
	Dynamically allocate chars_wasted, copybuf, DC_ICcost.
	Set RPov based on actual width.
	(chars_wasted, copybuf, DC_ICcost): Now pointers.

	* term.c (term_init): Don't use MScreenWidth, MScreenLength at all.
	* sysdep.c (get_screen_size): Likewise.
	* dispnew.c (change_screen_size_1): Likewise.

	* dispnew.c (remake_screen_structures): Allocate message_buf.
	* xdisp.c (message_buf): Now is a pointer.

Sat May 19 15:10:11 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* keyboard.c (get_char): Don't echo dash if have other echo area text.

Fri May 18 15:03:06 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* lread.c (openp): Fix error setting fd after failing `access'.

	* dired.c (file_name_completion): Use scmp to compare names.

	* sysdep.c (setup_pty): New function.

Thu May 17 15:58:05 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* malloc.c (calloc): New function.

	* minibuf.c (Fall_completions): Protect STRING from gc.
	Copy ALIST to TAIL to protect it.

	* paths.h-dist: Doc fix.

	* process.h (struct Lisp_Process): New components status
	contains process status in Lispy form.  Replaces flags and reason.
	New components tick and update_tick record need for attention.
	* process.c: All references updated.
	(status_convert, decode_status, status_message): New functions.
	(pty): Return a descriptor or -1.
	(send_process): Function deleted.
	(send_process_1): Renamed to send_process.
	(process_send_signal, sigchld_handler, status_notify): Renamed fns.
	* sysdep.c (setup_pty): New function.

	* print.c (internal_with_output_to_temp_buffer):
	Save and restore the current buffer.

Sat May 12 18:09:30 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (create_process) [not USG]: Put subproc in pgrp 0.

	* buffer.c (SetBfp): Don't bother with selected window or its point.
	* window.c (Fselect_window): Always set pointm of old window. 

Thu May 10 18:20:10 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* dispnew.c (make_screen_structure): Clear out enable vector.

Wed May  9 16:55:30 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* insdel.c (make_gap): Arg is amount of new gap to create.
	All calls changed.

	* buffer.c (Fget_buffer_create):
	-2 in buffer_local_flags means init the slot.

	* buffer.c (SetBfp, Frename_buffer): Local cleanups.

	* buffer.c (Fset_buffer): Check for deleted buffer.
	(SetBfp): Don't check.	
	* print.c (PRINTPREPARE): Use Fset_buffer.

Tue May  8 23:00:00 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* buffer.h (struct text): Represent the buffer dimensions
	with new slots, memory, begv, pt, gpt, zv, z and gap_size.
	(BEGV, etc.): Use new slots.
	(CharAt): Likewise.
	(BufferSafeCeiling, BufferSafeFloor): Use new slots; fix old bugs.
	(bf_p1, bf_s1, etc.): Old macros deleted.

	* buffer.c (Fget_buffer_create): Set up memory and new slots.
	(Fkill_buffer): Likewise.

	* insdel.c (move_gap, gap_left, gap_right, make_gap): Update new slots.
	(del_range, InsCStr): Likewise.
	* fileio.c (Finsert_file_contents): Likewise.
	* window.c (temp_output_buffer_show): Likewise.
	* xdisp.c (decode_mode_spec, try_window_id): Likewise.

	* buffer.c (ModExist): Function deleted.

	* buffer.h (struct buffer): Make the syntax table a Lisp object.
	* alloc.c (mark_buffer): No need to treat it specially.
	* syntax.c (Fsyntax_table, Fset_syntax_table, Fdescribe_syntax):
	(Fmodify_syntax_entry): Adjust for this change.
	* buffer.c (reset_buffer_local_variables): Need not be special.
	(init_buffer_once): Make this slot a defaulted local variable.
	* syntax.h: Adjust macros for this change.
	(Vstandard_syntax_table): Define as macro, in buffer_defaults.
	* syntax.c (syms_of_syntax): Don't staticpro it here.
	(Fset_syntax_table): Set the flag in local_var_flags.

	* marker.c (Fset_marker): Don't unchain marker if has no buffer.
	(set_marker_restricted): Likewise.
	* alloc.c (gc_sweep): Likewise.
	* editfns.c (save_excursion_restore): Likewise.

	* editfns.c (insert1): New function.
	* keyboard.c (get_char): Echo area message turns off echoing.

	* keyboard.c (record_auto_save): New function.
	* fileio.c (Fdo_auto_save): Call it.

	* dispnew.c (rotate_vector): Was rotating backwards.

	* insdel.c (make_gap): Complete rewrite.
	(gap_left): New argument NEWGAP.

Sat May  5 13:00:00 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* search.c (skip_chars): Eliminate PointLeft and PointRight.
	* cmds.c (SelfInsert): Likewise.

	* search.c (Flooking_at, search_buffer): Use new accessors.
	* indent.c (Fcurrent_column): Likewise.
	* minibuf.c (read_minibuf): Likewise.
	* regex.c (re_match_2): Use PTR_CHAR_POS.
	* editfns.c (Fbuffer_size, Fnarrow_to_region, Fbuffer_substring):
	(Fbuffer_string, Finsert_buffer_substring): Likewise.
	(save_restriction_restore): Likewise.
	* dispnew.c (direct_output_for_insert): Likewise.
	* fileio.c (Fwrite_region, Finsert_file_contents): Likewise.
	(Fdo_auto_save): Likewise.
	* insdel.c (move_gap, gap_left, gap_right, make_gap): Likewise.
	(InsCStr, del_range, modify_region): Likewise.
	* process.c (Fprocess_send_region): Likewise.
	* xdisp.c (try_window, try_window_id, display_text_line): Likewise.
	(redisplay): Likewise.
	* buffer.c (list_buffers_1): Likewise.
	* marker.c (marker_position, Fset_marker, set_marker_restricted): 
	(Fmarker_position): Likewise.
	* window.c (unshow_buffer, Fset_window_configuration): Likewise.
	(Fset_window_buffer): Likewise.

	* editfns.c (save_restriction_restore): Use a macro to alter point.

	* lread.c (readchar): Use new accessors, and avoid knowing about
	the text field of a buffer.
	* window.c (Fpos_visible_in_window_p): Likewise.

Thu May  3 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* editfns.c (init_editfns): Store system and user names as
	strings to avoid arbitrary limits.

	* keymap.c (describe_vector, describe_alist): Make elt_prefix
	and elt_describer responsible for indentation and newlines.
	Local cleanups.
	(describe_command): Do indentation and newline.
	(describe_map): Add space to end of prefix.
	* syntax.c (describe_syntax): Do indentation and newline.

	* keymap.c (Fdefine_key, Flookup_key): Local cleanups.

	* xdisp.c (redisplay_window): Fix calls to try_window.

	* term.c (write_chars): Local cleanup.
	(term_init): Local cleanup.
	For c100, substitute only in the cm string.
	No need to keep the address of the start of the string area.

	* editfns.c: Eliminate all use of DEFSIMPLE and DEFPRED.
	* dispnew.c, indent.c, keyboard.c: Likewise.

Mon Apr 30 20:00:00  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c (sys_suspend): Use save_signal_handlers and 
	restore_signal_handlers to save and restore signal state.

	* indent.c (Findent_to): Merge guts of indentation into here.
	(position_indentation): Scan with a pointer, for speed.

	* casefiddle.c (operate_on_word): Just return the other end.
	(Fupcase_word, Fdowncase_word, Fcapitalize_word):
	Pass that value to casify_region.

Wed Apr 25 15:10:00 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* keymap.c: Minor changes.

	* lread.c (Fload): Minor changes.

	* macros.c (Fstart_kbd_macro): Local cleanup.

	* minibuf.c (read_minibuf): Local cleanup.

	* search.c (Freplace_match, Fregexp_quote): Local cleanups.

	* search.c (Fstore_match_data): Handle ints and markers properly.

	* syntax.c: Flush incorrect comment.

	* sysdep.c (init_baud_rate, init_sys_modes, tabs_safe_p):
	(get_screen_size): Local cleanups.

	* data.c (Fstring_to_int): Delete disabled feature
	of accepting `yes' and `no'.

	* dispnew.c (current_screen, new_screen, temp_screen): New vars.
	(remake_screen_structures, make_screen_structure):
	(free_screen_structure): New functions.
	(make_display_lines, new_display_line, return_display_line):
	Functions deleted.
	(change_screen_size_1, init_display): Use the new functions.
	(cancel_line, clear_screen_records, get_display_line):
	Rewritten for new data structures.
	(preserve_other_columns, preserve_my_columns): Likewise.
	(cancel_my_columns, direct_output*): Likewise.
	(update_screen, update_line, quit_error_check, scrolling): Likewise.
	(scroll_screen_lines): Likewise.
	(rotate_vector, safe_bcopy): New subroutines.
	* scroll.c (do_scrolling): Rewritten for new data structures.
	* xdisp.c (display_minibuf_message, redisplay): Likewise.
	(display_text_line, display_mode_line): Likewise.
	(display_mode_element, display_string): Likewise.

	* xdisp.c (decode_mode_spec): Local cleanups.
	(display_mode_element): Pass proper arg MAXWIDTH to decode_mode_spec.
	(display_text_line): Pointers now unsigned.

	* dispnew.c (line_hash_code, line_draw_cost): Cleaned up.
	Args are different, and hash computation too.

	* dispnew.c (update_screen): Rearrange buffer-emptying code.

	* editfns.c (in_accessible_range): New function.
	(Fgoto_char, save_restriction_restore): Use it.
	(save_excursion_save, Fcurrent_time_string): Local cleanups.

	* emacs.c (Fkill_emacs): Don't ask any questions.
	* process.c (Fprocess_kill_without_query): New arg; new return value.
	(count_active_processes): Function deleted.

	* emacs.c (Fdump_emacs): Local cleanup.

	* fileio.c (Finsert_file, Fwrite_region): Local cleanups.

	* fns.c (Fsubstring): Local cleanup.

	* keyboard.c (echo_prompt, echo_char, echo_dash, echo): New functions.
	(cancel_echoing): Likewise.
	(immediate_echo, echoptr): New variables.
	(command_loop_1, request_echo, get_char, read_key_sequence): 
	(set_waiting_for_input, interrupt_signal): Related changes.

	* keyboard.c (this_command_key...): New variables.
	(Fexecute_extended_command, Fthis_command_keys): Related changes.
	(init_keyboard, get_char): Likewise.

	* keyboard.c (get_char): New way to decide when to auto-save.
	Other local cleanups.
	(command_loop_1): New criterion for undo boundary.

Tue Apr 24 12:00:00 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* buffer.c (bf_text): Variable deleted.
	(Fkill_buffer, SetBfp): Delete code that worked with it.
	* editfns.c (Fwiden, Fnarrow_to_region): Related changes.
	(save_restriction_save, save_restriction_restore): Likewise.
	(Finsert_buffer_substring): Likewise.
	* fileio.c (Fdo_auto_save): Likewise.
	* insdel.c (make_gap): Likewise.
	* lread.c (readchar): Likewise.
	* marker.c (Fmarker_position, marker_position): Likewise.
	(Fset_marker, set_marker_restricted): Likewise.
	* window.c (Fset_window_buffer, Fpos_visible_in_window_p): Likewise.
	* xdisp.c (redisplay): Likewise.

	* xdisp.c (redisplay, redisplay_preserve_echo_area):
	Two functions replace DoDsp.  All callers changed.

	* xdisp.c (redisplay, redisplay_window): Eliminate `inhibit_hairy_id'.
	(redisplay_window): No return value.  Local cleanups.

	* xdisp.c: Fix various inaccurate comments.

	* xdisp.c (try_window): No return value.

Sat Apr 21 18:05:19 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c (random, srandom): Don't define if HAVE_RANDOM.

Thu Apr 19 12:00:00 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* abbrev.c (Fdefine_mode_abbrev): Clean up error message.

	* alloc.c (Fmake_marker): Delete `modified' field.
	* insdel.c (adjust_markers): Likewise.

	* undo.c: Complete rewrite.
	* undo.h: File deleted.
	* alloc.c (Fgarbage_collect): Call truncate_undo_list.
	(syms_of_alloc): Define vars undo-threshold and undo-high-threshold.
	* buffer.c (Fget_buffer_create): Set undo_list to t or nil.
	(Fbuffer_flush_undo, Fbuffer_enable_undo): Likewise.
	(Fkill_buffer): Likewise.
	(init_buffer_once): Set up local variable buffer-undo-list.
	(syms_of_buffer): Likewise.
	* fileio.c (Finsert_buffer): Store nil in undo_list.

Tue Apr 17 03:24:01 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* buffer.h (struct buffer): Delete minor_modes.
	* buffer.c (Fget_buffer_create):

Mon Apr 16 13:17:43 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* s-sunos4.h (SYSTEM_MALLOC): Define it.

Sat Apr 14 16:48:21 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* window.c (set_window_height, set_window_width):
	Don't delete top-level windows.

Wed Apr 11 15:10:19 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c [HPUX] (perror): Function deleted.

Tue Apr 10 20:39:46 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (sig_process): Use TIOCSIGSEND if available.

Fri Mar 30 14:42:10 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* alloc.c (xmalloc, xrealloc): Avoid failure if size is 0.

Wed Mar 21 18:19:12 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-sun3.h (C_SWITCH_MACHINE): Use -fsoft.

Thu Mar 15 02:41:53 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* x11term.c (internal_socket_read): Change type of 1st arg to
	XRefreshKeyboardMapping and XLookupString.

	* undo.c (Fundo_more): Fix error message.

Tue Feb 13 18:34:54 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c: If _h_BSDTYPES, include time.h, not sys/time.h.

Thu Feb  1 02:11:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-ibmps2-aix.h (SIGN_EXTEND_CHAR): Cast to `signed char'.

Thu Jan 18 12:56:06 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* search.c (skip_chars): Never go past edge of buffer.

Mon Jan  8 10:56:42 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* editfns.c (Fchar_after): Set N after coercing marker.

Thu Dec 28 18:12:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (create_process): Unhold SIGCHLD in the child.

Wed Dec 27 19:10:35 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (create_process): Fix bad HPUX conditional at sigsetmask.

Mon Dec 25 00:10:57 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* x11term.c (internal_socket_read): Handle explicit focus events.
	(XInitWindow): Add them to event mask.

	* fns.c (Fmapconcat): Gcpro SEP around mapcar1.

Fri Dec 15 13:27:03 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (read_process_output): Return -1 if read does.
	(wait_reading_process_input): Handle EWOULDBLOCK.

Fri Nov 17 17:18:15 1989  Joseph Arceneaux  (jla at spiff)

	* xmenu.c (XEmacsMenu): Use ButtonReleasedMask for X11.

Thu Nov  9 13:10:02 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-sparc.h (C_OPTIMIZE_SWITCH): Use -O if GCC.

Wed Nov  8 14:05:37 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* marker.c (Fset_marker): Don't force position into visible range.
	(set_marker_restricted): New function does what Fset_marker did.
	* window.c: Change many calls to use the new function.

	* search.c (Fstore_match_data): Accept integers as well as
	markers.
	A marker pointing nowhere, treat as 0.

Mon Nov  6 02:00:40 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* search.c (Fmatch_data): Report 0 as integer 0;
	don't convert to a marker.

	* m-mips.h [USG]: Undef NOMULTIPLEJOBS.
	Define SYSV_SYSTEM_DIR and undef NONSYSTEM_DIR_LIBRARY.
	Define utimes as alias for utime.  Undef BSTRING.
	[unconditional]: Undef LOAD_AVE_TYPE.
	[BSD]: Define COFF and TERMINFO.
	Undef MAIL_USE_FLOCK and HAVE_UNION_WAIT.
	Define C_SWITCH_SYSTEM and LD_SWITCH_SYSTEM.
	Define START_FILES and LIB_STANDARD as in USG.
	* m-pmax.h: Add stuff to cancel that out.

	* sysdep.c: Handle BROKEN_FIONREAD.

Thu Nov  2 12:30:20 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* alloc.c (staticvec) [__GNUC__]: Make this a simple vector of pointers
	rather than an alias for a vector of chars.

Thu Oct 26 20:24:55 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* x11term.c (x_init_1): Negate arg to fcntl F_SETOWN
	if F_SETOWN_SOCK_NEG.
	* xterm.c (x_init_1): Likewise.
	* keyboard.c (Fset_input_mode) [NO_SOCK_SIGIO]:
	No interrupt input if using a socket.
	* m-sequent.h: Define NO_SOCK_SIGIO, F_SETOWN_SOCK_NEG, MAIL_USE_FLOCK.

Wed Oct 18 17:55:37 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-pyramid.h (NO_ARG_ARRAY): Define if using GCC.

Tue Oct 17 03:08:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* vmsfns.c (process_command_input): Call clear_waiting_for_input.

Fri Oct 13 20:29:42 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* x11fns.c (Fx_get_mouse_input): Read in all kbd input, to get event.
	* keyboard.c (consume_available_input): New fn that does this.
	(read_avail_input): No longer requires kbd_count == 0.
	Can now be subroutine for consume_available_input.

Wed Oct 11 14:55:23 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* termcap.c (tgetent, gobble_line): Always store null at end of bfr.
	Allocate one extra byte at end to ensure space.
	Clean up order of arithmetic when updating ptrs into buffer
	after xrealloc.

Tue Oct  3 12:29:18 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-hp9000s800.h (XUNMARK): Delete definition.

Fri Sep 22 00:40:16 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* x11fns.c (Fx_get_mouse_event): Fix typo, Fcond => Fcons.
	Do set Vx_mouse_item.  Wait using Fsleep_for.
	Convert meta from 8-bit to 2-bit, as in Fx_proc_mouse_event.

Fri Aug 18 17:00:47 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)

	* Version 18.55 released.

	* vmsfns.c: Define PRV$V_... syms if prvdef.h does not.

Sun Aug 13 14:50:28 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)

	* xfns.c (Fx_proc_mouse_event, Fx_get_mouse_event):
	Set new var Vx_mouse_abs_pos, for sake of xmenu.c.
	(syms_of_xfns): Make this a Lisp variable.

	* x11fns.c (Fx_get_mouse_event): Fix like Fx_proc_mouse_event.
	(syms_of_xfns): Initialize the variable.

Fri Aug 11 21:24:19 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)

	* dispnew.c: Handle BROKEN_FIONREAD as in other files.

	* x11fns.c (Fx_proc_mouse_event): Set Vx_mouse_abs_pos right.
	* xmenu.c (XEmacsMenu): Use that rather than XQueryPointer
	to decide where to put the menu.

Sun Aug  6 17:57:54 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c [HPUX, !NOMULTIPLEJOBS, !WAITTYPE]:
	Treat this case like BSD, regarding sys/wait.h.

	* m-hp9000s300.h: Don't include sys/wait.h if NOT_C_CODE.
	If we do include it, also define WRETCODE.
	* alloca.s: Define NOT_C_CODE.

Sat Aug  5 16:25:04 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-ibmps2-aix.h (HAVE_CLOSEDIR): Define this.
	* sysdep.c (closedir): Don't define if HAVE_CLOSEDIR.

	* m-hp9000s300.h: Include sys/wait.h and define WAITTYPE, 
	unless NO_SHORTNAMES.

	* process.c [BSD]: If O_NDELAY missing in file.h, include fcntl.h.

Wed Aug  2 20:31:13 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-ibmrt-aix.h (LIBS_MACHINE): Delete X libraries--redundant.

	* x11term.c [AIX]: Include sys/time.h as well as time.h.

	* search.c (Freplace_match): Bug in substituting \N if match was empty.

Wed Jul 26 01:41:25 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c (wait_for_termination): Treat HPUX version 6 like BSD.

	* process.c: If NEED_BSDTTY, include bsdtty.h.
	If WAITTYPE already defined, don't include wait.h
	and don't alter the related macros.
	(child_sig): On HPUX, if have WNOHANG, loop around as on BSD.
	(create_process): On HPUX, frob the signal mask as on BSD.

	* m-intel386.h (LOAD_AVE_*): Expect different type and encoding.

Thu Jul 20 00:53:05 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c: Don't include sioctl.h on mips.

	* buffer.c  (Flist_buffers): Pass prefix as arg.

	* editfns.c (Finsert_char): Insert at most 256 chars at a whack.

	* x11term.c (internal_socket_read): Pass 0 as fifth arg
	to XLookupString.

	* keyboard.c (command_loop_1): Finalize keyboard macro storage
	only when there is no prefix argument.

	* callproc.c (Fcall_process) [USG,HAVE_PTYS]:
	With these parameters, do setpgrp here.
	(child_setup): Instead of here.
	Note that process.c already did setpgrp before calling
	child_setup, with these parameters.

	* m-ibmps2-aix.h: New file.
	* m-ibmrt-aix.h: Define AIX.
	* sysdep.c: Change IBMRTAIX to AIX in certain conditionals.
	(Those pertaining to the hf library or system calls.)

Tue Jul  4 21:00:30 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* fileio.c (Finsert_file_contents): Check for negative file length.

Fri Jun 23 15:48:21 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* Makefile (clean, distclean): Delete libXMenu11.a.

Thu Jun 22 18:51:06 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-mips.h (LIBS_MACHINE): Don't define if BSD.
	* keyboard.c (force_input_signal): New function: raise SIGIO and force
	read_socket_hook to be called.
	* xmenu.c (Fx_popup_menu): Call that after menu disappears.

Fri Jun 16 22:17:12 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* ymakefile: New var OLDXMENU for filename of libXMenu.a.
	Put it in LIBX, not XOBJ.  Make temacs depend on it.

Thu Jun 15 20:15:29 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* ymakefile [HAVE_X11, HAVE_X_MENU]: Assume Xmenu came with Emacs
	and must be built.

	* xmenu.c: Load "../oldXMenu/XMenu.h" instead of <X11/XMenu.h>.

	* x11term.c (xfixscreen): Really act only every 100th time.

Thu Jun  8 12:54:03 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-pmax.h: New file.

Wed Jun  7 13:54:22 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* alloca.s [hp9000s300]: Increase MAXREG for fpregs.

	* sysdep.c (init_sys_modes, reset_sys_modes): Take TIOCGLTC code
	outside of HAVE_TERMIO conditionals.

	* m-hp9000s300.h: Undefine NOMULTIPLEJOBS.
	Define NEED_BSDTTY if not NOMULTIPLEJOBS.

	* crt0.c [hp9000s300]: Set flag_fpa.  Define float_loc.

	* m-hp9000s800.h: Define NEED_BSDTTY here.
	* s-hpux.h: Not here.

Tue Jun  6 19:25:17 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* s-hpux.h: Define NEED_BSDTTY.

Tue May 30 18:45:21 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* x11fns.c (x_set_cursor_colors): Don't let the background match
	the mouse.
	* x11term.c (XFlipColor): Change mous_color earlier.

Tue May 23 22:18:53 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* search.c (skip_chars): Dumb error checking for \.

Sun May 21 00:43:24 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* callproc.c (child_setup): Undo previous change.
	setpgrp is needed on USG.

	* xmenu.c (Fx_popup_menu): Prevent sigio int during XQueryPointer.

Mon May 15 21:59:38 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* editfns.c (Fsubst_char_in_region): If NOUNDO, do increment tick,
	but maybe also increment save-tick.

Sat May 13 14:17:57 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c (init_sys_modes) [IBMRTAIX]: Typo; had s for sg.

Fri May 12 22:09:26 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* s-usg5-3.h: Define HAVE_SYSVIPC.

	* m-7300.h: Undefine SHORTNAMES.

Mon May  1 02:10:04 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* x11term.c [USG]: Use sys/time.h, not time.h, if IRIS_4D.

	* sysdep.c [USG]: Don't include sioctl.h if IRIS_4D.

Wed Apr 26 16:14:12 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* Version 18.54 released.

	* xdisp.c (Fredraw_display): Don't do set_terminal_modes if
	reset_terminal_on_clear is 0.

Tue Apr 25 22:02:48 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-news.h: Define m68000 if not defined.

Mon Apr 24 01:26:40 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m/m-mips.h [USG]: Define LIBS_TERMCAP.
	If HAVE_X11, define HAVE_VFORK.
	Delete defns of XMARKBIT, XSETMARKBIT.
	[BSD]: Add alternative linker switches; don't override sys
	facility options.

	* sysdep.c: Include ioctl.h if mips.

Wed Apr 19 20:26:23 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* ymakefile: use HAVE_X11 as alias for X11.

Tue Apr 18 00:17:46 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c: Don't define wstopsig, wtersig if already defined.

	* sysdep.c [VMS] (sys_getenv): Copy the string before returning it.

	* m-alliant.h: Define `vector'.

Thu Apr 13 12:55:14 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (wait_reading_process_input) [sun]: If SIGIO failed
	to be sent, send it by hand.

Wed Apr 12 01:42:23 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* window.c (Fdelete_other_windows): recenter window to avoid scrolling.

Tue Apr 11 00:18:10 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* indent.c: Include screen.h.

	* indent.c (pos_tab_offset, Fvertical_motion): Compute internal width
	correctly and uniformly.

	* xdisp.c (try_window, try_window_id): Use exact internal width
	to update tab_offset.
	(try_window_id): pos_tab_offset value needs adjustment only if
	starting a line in middle of a character.

Sat Apr  8 16:38:40 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c [USG]: If TIOCGWINSZ defined, include sioctl.h.

Thu Apr  6 11:52:43 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* eval.c (Fbacktrace): Set Vprint_level to 3 throughout.

	* fns.c (Fload_average): nlist data structure is funny on convex.

	* window.c (scroll_command): scroll at least 1 line in specd direction.

	* cm.c (calccost): NTABS was off by 1 sometimes; take account of
	the starting position modulo 8.

	* fileio.c (Fexpand_file_name): Don't simplify /../ at start of name.

	* callint.c: doc fixes.

	* process.c (create_process):
	On all USG systems, not just IRIS and AIX, don't pre-open pty's tty.
	Move the setpgrp done for USG (no real change).
	Tell child_setup to do a setpgrp.
	* callproc.c (child_setup): New arg says whether to setpgrp.
	Never setpgrp on USG.
	(Fcall_process): Tell child_setup not to setpgrp.

	* sysdep.c (init_sys_modes, reset_sys_modes): Don't try to hack
	TIOCGLTC, TIOCGETC, etc. if HAVE_TERMIO.
	Don't bother to undef these for XENIX.

Mon Apr  3 17:43:28 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* ymakefile (LIBES): Put LIBX first; it may depend on LIBS_MACHINE.

	* m-sequent.h: Define HAVE_ALLOCA.

Sun Apr  2 12:03:53 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* term.c (term_init): Can't use scroll region if no abs positioning.

Sat Apr  1 00:51:52 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (Fopen_network_stream): close desc. if connect fails.

Fri Mar 31 17:49:53 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* minibuf.c (Fall_completions): gcprotect ALLMATCHES and TAIL,
	not STRING.

	* keyboard.c (read_avail_input): Handle EBADSLT like EAGAIN.

Wed Mar 29 09:13:39 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* term.c (term_init): Either ic or ip or im or IC => can insert chars.

	* minibuf.c (read_minibuf_unwind): Ensure minibuf writable for erasure.

Thu Feb 23 07:03:47 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-convex.h: Undefine NO_ARG_ARRAY.
	Changed defns of DATA_SEG_BITS and XINT.
	Define alloca for GCC compilation.

Fri Feb 17 01:47:30 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-ibmrt-aix.h: Define BROKEN_FIONREAD.

Thu Feb 16 03:23:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* keymap.c (Fdefine_prefix_command): Set both value and fn defn,
	with separate syms specified for each purpose.

Wed Feb 15 22:34:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* callproc.c (Fcall_process): Open /dev/null with O_WRONLY.

Tue Feb 14 11:48:44 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* window.c (window_scroll): Allow scrolling to very end (empty screen)
	if that's exactly where we wanted to scroll to.

Sat Feb 11 01:14:39 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* data.c (Fkill_local_variable): New local to simplify big stmt.

Thu Feb  9 06:37:24 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* xdisp.c (display_text_line): cvt chars to glyfs for overlay arrow.

	* sysdep.c (init_sys_modes, child_setup_tty) [IBMRTAIX]:
	Don't ignore BRK, and don't signal it.

	* process.c (pty): An IBMRTAIX conditional.
	(create_process): Another here.

Wed Feb  8 13:24:39 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* keymap.c (Fdefine_prefix_command): Use Ffset, not Fset.

Mon Feb  6 12:58:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* fileio.c (Fset_visited_file_modtime): New fn.

	* xfns.c (Fx_create_screen) [X10]: XCreateWindow wants pixmaps as args.

Fri Feb  3 01:16:49 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* dispnew.c (Fsit_for): It accepts 3 args.

Thu Feb  2 23:07:43 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* xterm.c (XTread_socket): For X10, make EVENT an XKeyPressedEvent.
	(x_set_resize_hint): Call XSetResizeHint.

	* process.c: Declare interrupt_input.

	* sysdep.c (init_sys_modes): TIOCSTART, not TCSTART.

Sat Jan 28 15:39:03 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* xterm.h (struct x_display): `GC' renamed `gc' in all field names.
	Field `ColorMap' renamed to `color_map'.
	(face_gc_values): face_GC_values renamed.

Sat Jan 28 15:39:03 1989  Joe Arceneaux  (rms at sugar-bombs.ai.mit.edu)

	* xterm.h (face_GC): Var deleted.
	(struct x_display): New field face_GC.
	(VSCROLL_WIDTH, HSCROLL_WIDTH): Moved here.
	(MINWIDTH, MINHEIGHT, MAXWIDTH, MAXHEIGHT): New vars.  Eliminate them!
	(BLACK_PIX_DEFAULT): Typo in definition.
	(WHITE_PIX_DEFAULT): Typos in definitions; was the black default.

	* xterm.c: Include ioctl.h only if BSD.
	Include termio.h otherwise.
	(XMapWindow) [X11]: Typo in definition.
	(METABIT): New definition; maybe not needed.
	(hostname, id_name, invocation_name, Vcommand_line_args): New vars
	declared for main icon title.
	(x_debug): Init to 1 if XDEBUG defined.
	(dumpglyfs) [X11]: Changed args to XDrawImageString.
	If debugging, do XFlushQueue.
	Use screen's face_gc rather than old global one.
	(XTflash) [not BSD]: avoid `struct itimerval'; use `alarm'.
	(events): New table of event type names.
	(XTread_socket): EVENT is now an XEvent even on x10.
	Translate modifier key 1 into meta-bit.
	For EnterNotify event, don't dumpborder or x_new_selected_screen
	if there is an x_focus_screen.
	For LeaveNotify event, don't ignore due to nonzero subwindow.
	For ConfigureNotify, change screen size.
	Do `select' check for SIGHUP only if HAVE_SELECT.
	(x_new_selected_screen): An arg, SCREEN.
	(x_display_cursor): dumpglyfs args changed.
	(x_draw_box): Add GC arg to XDrawRectangle; change other args.
	(clear_cursor): Change args to XClearArea.
	(dumpborder): check x_input_screen, not selected_screen.
	(x_text_icon): For X11, new arg to XGetDefault.
	Cast values stored in icon_label.
	(x_term_init): Hair to calculate name for icon.
	Don't init_sigio unless SIGIO defined.
	Call Fset_input_mode.
	For X11, new arg to XGetDefault.
	Set _Xdebug if debugging.
	(x_new_font) Use XGetFont.
	Get GC values from the screen structure.
	(x_reset_cursor): Don't call XRecolorCursor.
	(x_set_window_size): Call x_wm_set_size_hint, not x_set_size_hint.
	(x_set_resize_hint): For X11, call x_wm_set_size_hint.
	(x_wm_set_size_hint, x_wm_set_window_state, x_wm_set_icon_pixmap):
	(x_wm_set_icon_position): New fns for X11.

	* xfns.c: For X11, include Xutil.h
	(VSCROLL_WIDTH): Moved to xterm.h.
	(face_GC): Don't declare it.
	(id_name): Declare this.
	(x_decode_color): Check `white' and `black' first of all.
	(x_set_foreground_color) [X11]: Reset foreground and background.
	(x_set_background_color) [X11]: Missing arg to XSetWindowBackground.
	(x_set_cursor_color) [X11]: Reset foreground and background.
	(x_read_mouse_position) [X11]: Changed call to XQueryPointer.
	(x_set_mouse_position) [X11]: Add args to XWarpPointer.
	(Fx_create_screen): Set some temporary geometry parms at the beginning.
	For X11, changed setup of iconidentity, and implement rubber-banding.
	For X11, implement merging individual geometry parms.
	For X11, changed args to XCreateSimpleWindow.
	For X11, call x_wm_set_size_hint.
	Specify name when creating icon.
	Don't call XSetForeground, XSetBackground before making border tile.
	New var `cursor_bits'.  Init the screen's GC's.

	* screen.c (Frubber_band_rectangle): For X11, just return nil.

Tue Jan 24 01:59:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* buffer.c (Fbuffer_modified_tick): New fn.

	* window.c (Fnext_window): Accept 3 args from Lisp.

Mon Jan 23 16:39:36 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c (sys_suspend): Handle case of SIGTSTP but not BSD.

Fri Jan 20 14:26:12 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c (init_sys_modes): Do TIOCSTART if def, like TCXONC.

Thu Jan 19 03:04:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (wait_reading_process_input): New 2nd arg is extra usecs.
	All callers changed.
	* dispnew.c (Fsit_for, Fsleep_for): New 2nd arg says 1st arg
	counts in milliseconds.

	* buffer.c (Fkill_all_local_variables): Implement permanent locals.

Wed Jan 18 14:08:35 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* keymap.c (get_keyelt): Allow indirection within (STRING . DEFN).

Mon Jan 16 17:26:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (wait_reading_process_input): If select returns there
	is kbd input, but detect_input_pending can't find it, signal SIGIO.
	This may avoid the X loop-on-logout bug.

	* process.c (wait_reading_process_input): Flush fix_screen_hook.
	* termhooks.h, term.c: likewise.

	* xdisp.c (Fredraw_display): Don't do set_terminal_modes.
	* dispnew.c (Fredraw_screen): likewise.

	* eval.c (Fcond): If no args, return nil.

Sun Jan 15 15:41:13 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* eval.c (Fbacktrace_frame): Require one arg.  Return nil if too high.

Sat Jan 14 17:50:56 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* minibuf.c (read_minibuf): Set Vminibuf_scroll_window before
	switching windows.

	* xterm.c (XTread_socket): If no HAVE_SELECT, wait for input
	if new arg WAITP is non0.  Do this by not bothering to test for
	presence of input before reading some.
	Check for dead connection only if new arg EXPECTED is nonzero.
	All callers changed (keyboard and sysdep).

	* Simplify keyboard input.
	* keyboard.c (read_avail_input): Don't assume buffer is empty.
	Don't call get_input_pending; do FIONREAD here.
	Don't do FIONREAD if read_socket_hook, just tell it don't wait.
	Arg EXPECTED is passed to read_socket_hook.
	(input_available_signal): Use read_avail_input.
	(gobble_input): Use read_avail_input; arg EXPECTED passed along.
	(get_input_pending): let gobble_input do the work.

	* VMS keyboard input should have interrupt_input nonzero.
	* keyboard.c (Fset_input_mode, init_keyboard): [VMS] Always set
	interrupt_input to 1.
	(get_input_pending): Special case deleted.

Fri Jan 13 01:21:00 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* fileio.c (auto_save_1): Always make auto-save file owner-writable.

	* eval.c (Fbacktrace_frame): New fn.

	* buffer.h: Define `fieldlist' field in a buffer.
	* buffer.c (Fregion_fields): Return list of fields overlapping
	specified region.
	(syms_of_buffer): New variable buffer-field-list.
	(reset_buffer): Clear the fieldlist.
	(init_buffer_once): Set up default and flag for buffer-field-list.
	* insdel.c (prepare_to_modify_buffer): If check_protected_fields,
	call Fregion_fields to detect error.
	Delete buffer_modify_hook.

	* callint.c (Fcall_interactively): Bind `command-debug-status'
	for each interactive command.

	* keyboard.c (command_loop_1): Count # commands read.
	(num_input_keys): New Lisp variable.

	* m/m-gould.h, m/m-ibmrt-aix.h, m/m-sequent.h, m/m-sparc.h,
	m/m-sun3.h, m/m-symmetry.h: Define A_TEXT_SEEK.
	* unexec.c (copy_text_and_data): Don't check A_TEXT_OFFSET,
	just A_TEXT_SEEK.
	* unexconvex.c: Likewise.

	* unexconvex.c: machine/*.h unconditionally.

	* process.c (pty): Delete RTU, HPUX, IRIS alternatives to
	PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF.
	* s/s-hpux.h: Define PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF.
	* s/s-rtu.h: Likewise.
	* s/s-iris*.h: Define PTY_TTY_NAME_SPRINTF.

	* sunfns.c (Fsun_change_cursor_icon): Avoid ambiguity in eval order.

Thu Jan 12 18:28:29 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* data.c (Fdefault_value): If var set up with default value as current,
	take the current value slot, more up to date than the default slot.

Wed Jan 11 15:22:14 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* dispnew.c (init_display): don't handle SIGWINCH if using X.

	* fileio.c (Fdo_auto_save): If file has shrunk, turn off auto-save.
	This avoids duplicate messages and allows M-x auto-save to turn it on.

	* lread.c (Fload): Look in Vafter_load_alist.
	(syms_of_load): Define after-load-alist.

Sat Jan  7 01:43:47 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* dired.c (Fdirectory_files): 4th arg NOSORT non-nil means don't sort.

	* syntax.c (scan_lists): Change Sendcomment case so that
	ignoring comments works even for newline-terminated comments.

	* minibuf.c (read_minibuf): Default Vminibuf_scroll_window
	to the window that was selected.

Fri Jan  6 02:51:46 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* fns.c (do_yes_or_no_p): Typo, call2 => call1.

	* eval.c (Fbacktrace): Each frame item should have a newline.

	* emacs.c (Fkill_emacs): Don't run hook if noninteractive.

	* eval.c: Define Vrun_hooks.
	(syms_of_eval): Initialize Vrun_hooks.

	* indent.c (Fmove_to_column): Use del_range; Fdelete_backward non ex.

	* ymakefile (objs, floatfns.o): Re-add this file.
	(LIBX): Install X11 case.

	* ymakefile (LIB_GCC): Now a cpp macro, like all other LIB_...
	Define null if not using GCC.

	* lread.c (unreadchar): New function to unread a char
	by stuffing it back into its stream.  Now unread chars
	work properly between multiple reads.
	(UNREAD): Now calls that function.
	(readchar): Don't us `unrch'; variable deleted.
	(various): Don't initialize `unrch'.
	(readevalloop): No need to save and restore `unrch'.
	(read1): Don't unread a -1.

	* keymap.c (get_keyelt): If keymap defn is (STRING . FOO),
	remove just FOO.  Will help HierarKey.

Thu Jan  5 14:49:14 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* unexmips.c [IRIS_4D]: Don't include fcntl.h.
	(unexec): Look for LIT8, LIT4 sections iff they are defined.

	* buffer.c (Fkill_all_local_variables): Force redisplay of mode lines.

Mon Jan  2 13:52:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* emacs.c (main): Do the setpgrp before handling -t.

	* keyboard.c (Fsuspend_emacs): Use run-hooks to run suspend-hook
	and suspend-resume-hook.

	* buffer.c (Fkill_buffer): Execute kill-buffer-hooks
	with buffer to be killed as current buffer.

	* buffer.c (count_modified_buffers): ModExist renamed.

	* emacs.c (Fkill-emacs): Execute kill-emacs-hook.

	* fileio.c (auto_save_1): Set auto_save_mode_bits from visited file.
	(Fwrite_region) [not VMS]: If auto-saving, write file with that mode.

	* fileio.c (Fwrite_region): If START is a string, write that string.

Sun Jan  1 14:00:50 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* lisp.h (XMARKBIT, XSETMARKBIT): If mark bit is sign bit,
	use sign-test for XMARKBIT; value is then 1 or 0.
	Make XSETMARKBIT test 2nd arg for nonzeroness only.

	* m/m-mips.h: Last batch of changes are only for USG.
	(XMARKBIT, XSETMARKBIT): Deleted; the new default ones are good.

	* editfns.c (Fformat): Use princ for %s.
	New format %S converts everything (even strings) with prin1.
	* doprnt.c (doprnt): Treat %s like %S.

	* print.c (Fprin1_to_string): Opt 3nd arg non-nil does princ.

Sat Dec 31 14:18:31 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* data.c (Fstring_to_int): Correct max # args.

Fri Dec 30 02:14:11 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* ymakefile (LIBES, LIB_GCC): If using GCC, link with gnulib.

Thu Dec 29 18:50:10 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* editfns.c: Many doc improvements.

Wed Dec 28 02:34:04 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* lisp.h (CHECK_NATNUM): New macro.

	* indent.c (Fmove_to_column): 2nd arg t means indent till spec'd column
	or change tab to spaces if necessary.

	* m/m-iris4d.h: (conditionally) delete DEFAULT_ENTRY_ADDRESS
	and change START_FILES and LIB_STANDARD.

	* s/s-iris3-6.h: Define sigblock as no-op.

	* m/m-mips.h: Cancel defn of VIRT_ADDR_VARIES, `static'.
	Undef SIGIO.  Define BROKEN_FIONREAD.
	Define various HAVE_... flags a la BSD.
	Add options, libraries for linking and compilation.

	* unexmips.c (unexec): Handle additional optional sections now likely.
	New scheme for recording what sections there are.
	Make handling of the LIT8,LIT4 sections conditional (not on IRIS).

	* fns.c (do_yes_or_no_p): New interface to Lisp function yes-or-no-p.
	Allows the user to redefine that function.
	All callers of Fyes_or_no_p changed.

	* data.c (Fmakunbound): Don't allow nil or t as arg.

	* m/m-orion105.h (LOAD_AVE_TYPE): Now `long'.

Tue Dec 27 23:44:41 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* dispnew.c (unhold_window_change):
	Don't signal SIGWINCH.  Instead, do pending size-changes here,
	while holding any new size-changes that arrive, so they become
	pending.  Loop around to get the new pending ones.
	(change_screen_size): Clear any previous pending size-change.

	* search.c (place): Was clipping to (1- (point-max)) by mistake.

Sat Dec 24 17:45:38 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* window.c (Fdelete_window): Give all this window's space
	to one adjacent sibling.

Fri Dec 23 01:16:18 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* keymap.c (describe_alist): Don't lose on non-cons-cell alist elts.
	(Fwhere_is_internal): Don't fail to step down the alist.
	(Faccessible_keymaps): Considerable confusion in alist case.

	* lread.c (Feval_current_buffer, Feval_region):
	Save and restore point as a marker, not a number.
	Don't restore it at all if printflag is t.

	* print.c (float_to_string): Mostly rewritten; output format
	is now a printf %-spec.
	(Qfloat_output_format): Doc changed to match.

Thu Dec 22 12:22:24 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* ymakefile (obj): Include floatfns.o.
	* data.c (syms_of_data): Fix typo Snumberp_or_marker_p.

	* Allow keymaps to have other keymaps as tails.
	Thus, one keymap can inherit from another.
	* keymap.c (Fwhere_is_internal): Ignore non-cons elements of alist.
	(Faccessible_keymaps): Support symbols as alist indices.
	Ignore alist elements that aren't conses.

	* m/m-sun386.h (LDAV_SYMBOL): Define as "avenrun" with no underscore.

	* lread.c (read_escape): Support ANSI C `\x...' hex escapes.

	* bytecode.c (Fbyte_code): fix jump operators for change in `pc'.

Wed Dec 21 19:39:27 1988  Joe Arceneaux  (jla at gracilis.ai.mit.edu)

	* ymakefile: Commented #endif LISP_FLOAT_TYPE.  Also changed
	the code pertaining to X11 to use the same files as X10.

	* bytecode.c (Fbyte_code): Declared unsigned char *pc.

Mon Dec 19 17:27:14 1988  Joe Arceneaux  (jla at apple-gunkies.ai.mit.edu)

	* xterm.c: Finished a first cut of the X11 version.

Sun Dec 18 13:08:17 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c (select): `buf' is now unsigned char.

Fri Dec 16 18:00:36 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m/m-elxsi.h: Don't define WORD_MACHINE or CANNOT_DUMP.
	Do define symbols for load average.
	Define COFF and ADJUST_EXEC_HEADER.

Fri Dec 16 13:56:51 1988  Joe Arceneaux  (jla at apple-gunkies.ai.mit.edu)

	* sink.h,sinkmask.h: Same file now works for both X10 and X11.
	* xterm.c,xfns.c (x_text_icon) Can now take new name as parameter.

Fri Dec 16 11:07:20 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m/m-is386.h: No need to undef HAVE_PTYS, HAVE_SOCKETS, SYSV_PTYS
	since s-usg5-3.h no longer defines them.

Wed Dec 14 17:52:51 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* bytecode.el (Fbyte_code): Cache the pointer in the string
	to avoid recalculating it at each fetch.
	Also turn off the error check for stack overflow/underflow.

Wed Dec 14 14:51:24 1988  Joe Arceneaux  (jla at apple-gunkies.ai.mit.edu)

	* xfns.c: Made the first cut for X11 version.
	* xterm.c: (x_reset_cursor) Did the X11 version.

Wed Dec 14 13:02:30 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* keyboard.c (Fexecute_mouse_event): Set Vmouse_event.  Doc fix.
	Run Vmouse_hook at the end.
	(syms_of_keyboard): Define var `mouse-hook'.

Tue Dec 13 10:55:27 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* term.c (insert_glyfs): Typo, was fetching G twice.

Sat Dec 10 17:37:28 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* keymap.c (describe_buffer_bindings): Print mouse bindings too.
	(describe_map): If have a chartab, use mouse-describe-key for prefixes.
	* keymap.c (describe_{map,map_tree,alist}, describe_vector):
	Extra arg mapping chars to their names.  Calls changed.
	* syntax.c (describe_syntax_1): Call changed.

	* keymap.c (Vglobal_mouse_map): Make it exist unconditionally.

	* keymap.c (apropos1): Clean up.
	Do where-is-internal only if there is a function definition.
	Use mouse-describe-key to turn mouse key sequences into strings.
	(Fwhere_is): Check the mouse map too;
	(Fwhere_is_internal): New arg is global map to use.
	All callers changed in keypad.c and doc.c.
	(where_is_string): New fn cvts result of Fwhere_is_internal to string.

Fri Dec  9 23:40:16 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* emacs.c (stack_bottom): New variable, set in main.
	* alloc.c (Fgarbage_collect): Save a copy of the entire stack contents.

Wed Dec  7 17:07:47 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* editfns.c (Funix_umask, Funix_sync): New functions.

	* process.c (Fsignal_process): New function.

Tue Dec  6 21:03:22 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* editfns.c (Fsubst_char_in_region): Fix typo in when to un-modify buf.

Mon Dec  5 14:42:23 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (create_process): Take the usg's setpgrp and the close-and
	-open of the tty outside the TIOCNOTTY conditional, since TIOCNOTTY
	is always missing outside BSD.  Now the TIOCNOTTY conditional controls
	only the TIOCNOTTY.

Sun Dec  4 11:15:15 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* lread.c (Feval_current_buffer, Feval_region):
	If there is an error, don't restore original point.

	* s-hpux.h (SHORT_CAST_BUG): Define this, for HPUX version 6.2.

	* ymakefile (THIS_IS_YMAKEFILE): Define macro to tell m- files
	to do special things.

	* m/m-ns16000.h: (LOAD_AVE_TYPE, etc.): Don't define them if USG.
	* m/m-ns16000.h [USG]: Define various macros differently.
	(munnari!sibyl.eleceng.ua.oz.au!ian@@uunet.uu.net).

	* sysdep.c (reset_sys_modes): Don't output a CR here.
	* term.c (reset_terminal_modes): Do it here, but first
	do a newline if it's a magic cookie terminal.

	* sysdep.c (sys_suspend) [USG]: Use `nice' to set subshell pri. to 0.

	* sysdep.c (TIOCSETN) [USG]: Use TCSETAW, not TCSETA.

	* sysdep.c (setpriority) [USG]: No longer a no-op; use `nice'.

	* keymap.c (Fwhere_is_internal): New 4th arg inhibits looking thru
	indirect definitions--so you can search for one.	

	* alloc.c, fns.c, search.c: Doc fix.

Thu Dec  1 16:46:51 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (read_process_output): Insert with insert_before_markers.

	* filelock.c (lock_file_1, lock_superlock):
	If USG, use chmod instead of fchmod.

	* environ.c (Fsetenv): Doc fix.

Fri Nov 25 13:41:15 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* eval.c (do_autoload): Verify FUNNAME is a symbol.

Thu Nov 17 23:26:03 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* fileio.c (Fread_file_name): New arg specifies initial minibuf cntnts.
	* callint.c (Fcall_interactively): Calls changed.

Sat Oct  8 03:20:07 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* insdel.c (make_gap): Error if buffer size exceeds range of Lisp int.

Thu Oct  6 05:34:48 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* window.c (Fsplit_window): Prevent error in Fset_window_buffer.

	* sysdep.c (gettimeofday): Store -1 thru tzp so caller knows invalid.

	* xdisp.c (message): Pass 0 as new arg to doprnt.
	* callint.c (Fcall_interactively): Likewise.
	* editfns.c (format1):
	* doprnt.c (doprnt): Allow 0 as FORMAT_END arg meaning null-terminated.

Wed Oct  5 18:43:53 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* keyboard.c: If UNIPLUS, include ioctl.h.

	* sysdep.c (utime): Use new flag IRIS_UTIME, not IRIS.
	* s-iris*.h: Define that flag.

Tue Oct  4 21:04:42 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* term.c (term_init): If have `im' capability, permit ins/del char
	even without `ic'.

Mon Oct  3 00:32:34 1988  Richard Stallman  (rms at corn-chex.ai.mit.edu)

	* m/m-hp9000s300.h: Conditionals for BSD vs HPUX.

	* ymakefile: Look for C_SWITCH_SITE, LD_SWITCH_SITE.

Fri Sep 30 15:48:51 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* editfns.c (Fformat): Allow nulls in the format.
	* doprnt.c (doprnt): likewise.  End of format string is new arg.

Wed Sep 28 15:25:37 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m/m-7300.h: Undefine SHORTNAMES.  Supposedly newer Unix now.

	* print.c (print): Support new var print_length.
	(syms_of_print): Define Lisp var print-length.
	* eval.c (Fbacktrace): Print unevalled form with print_length = 3.

	* Makefile (tags): Add TAGS as alternate target.
	Process the files in ../lisp/term.

Tue Sep 27 00:55:47 1988  Richard Stallman  (rms at corn-chex.ai.mit.edu)

	* doprnt.c (doprnt): Handle %-20s.
	* editfns.c (Fformat): Likewise (make enough space for it).

	* minibuf.c (do_completion): If get "Complete but not unique" twice
	in a row, display all completions.  New var last_exact_completion.

Mon Sep 26 19:19:23 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

*	* dispnew.c (baud_rate): Now a Lisp variable, not a function.
	* termcap.c (tputs) [emacs]: Use baud_rate as the speed.

Mon Sep 19 00:06:16 1988  Richard Stallman  (rms at gluteus.ai.mit.edu)

	* window.c (Fset_window_configuration): Set deleted windows' buffer
	to nil, via new function delete_all_subwindows.
	* window.c (Fset_window_buffer): Reject deleted windows.
	* window.c (init_window_once): Init the ->buffer fields
	to satisfy error check in Fset_window_buffer.

*	* xmenu.c (Fx_popup_menu): 1st arg is now ((X Y) WINDOW).

	* process.c (child_sig): If synch process terminates, clear
	synch_process_pid and record synch_process_death.
*	* callproc.c (Fcall_process): return synch_process_death.
	Always set synch_process_pid and do it with SIGCHLD masked off.
	* sysdep.c (wait_for_termination) [subprocesses and not VMS]:
	Use alarms to check every second whether synch_process_pid is 0.

Sat Sep 17 17:14:32 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* xdisp.c (redisplay_window): If window-point is outside restriction
	then correct it in the window.
	* window.c (Fdelete_buffer): Don't change buffer's point to a value
	outside its restriction.

	* sysdep.c (init_sys_modes) [MULTI_SCREEN]: Set Vterminal_screen's
	garbaged bit.

Fri Sep 16 01:13:09 1988  Richard Stallman  (rms at corn-chex.ai.mit.edu)

	* keyboard.c (kbd_buffer_get_char): VMS now uses same code as Unix.

	* vmsproc.c: New file for VMS only.
	* callproc.c [VMS]: Omit Fcall_process and child_setup_tty.
	* emacs.c (main) [VMS]: Call init_vmsproc and syms_of_vmsproc.

	* lread.c (OBARRAY_SIZE): Change slightly to 509 (prime).

*	* keyboard.c, dispnew.c, term.c, xterm.c (meta_flag): MetaFlag renamed.
	* keyboard.c (Fset_input_mode): 3rd arg sets meta_flag.
	(syms_of_keyboard): Variable meta-flag deleted.
	* sysdep.c (init_sys_modes): Don't override parity settings
	if meta_flag is 0.

Thu Sep 15 23:29:12 1988  Richard Stallman  (rms at corn-chex.ai.mit.edu)

*	* search.c (Fsearch_forward, etc.): All buffer-search functions
	return new the value of point if they succeed.

Tue Sep 13 12:00:22 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* cmds.c (Fnewline): Correct test of ARG1 to inhibit auto-fill.

Mon Sep 12 16:39:32 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* window.c (Fdelete_window): Put nil as buffer of the deleted window.
	This makes select-window get an error earlier.

Tue Sep  6 20:43:10 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* search.c (search_buffer, string_match, looking_at):	
	Report matcher stack overflow as error, not just failure to match.

	* data.c (Fmake_local_variable): Add local variable to simplify
	too-complex expression.

	* fileio.c (Fdo_auto_save): No "file has shrunk" msg if < 5000 chars.

Local Variables:
mode: indented-text
left-margin: 8
fill-column: 74
version-control: never
End:
@


1.1.1.1
log
@import emacs-18.59
@
text
@@


1.1.1.2
log
@import emacs-19.7
@
text
@d1 1
a1 1
Sat May 22 17:44:54 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d3 1
a3 1
        * Version 19.7 released.
d5 1
a5 1
	* Makefile.in (SUBMAKEFLAGS): Add CFLAGS to the list.
d7 1
a7 2
	* puresize.h [not HAVE_X_WINDOWS] (PURESIZE): Make this 185k,
	not 196k.  We're actually using ~180k.
d9 3
a11 2
	* editfns.c: #include <sys/types.h>, to get time_t for Eggert's
	changes.
d13 1
a13 1
Sat May 22 13:59:32 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d15 3
a17 1
	* ymakefile (FRAME_SUPPORT): Add mouse.elc, select.elc, scroll-bar.elc.
d19 1
a19 1
	* xdisp.c (display_text_line): Highlight in any frame's sel window.
d21 1
a21 1
	* keyboard.c (modifier_names): Update to match *_modifier in termhooks.
d23 2
a24 1
Sat May 22 03:48:28 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d26 1
a26 2
	* xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar;
	that feature requires more support to work correctly.
d28 2
a29 5
	* keyboard.c (make_ctrl_char): New function.
	(read_char): Call it.
	(kbd_buffer_store_event): Call it to see if the new character is
	the quit or stop character.
	(make_lispy_event): Call it.
d31 1
a31 1
Fri May 21 23:15:48 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d33 1
a33 1
	* xfns.c (x_window_to_frame): Use XGCTYPE.
d35 1
a35 1
Fri May 21 19:45:18 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d37 1
a37 2
	* process.c (Fopen_network_stream): Deal with older systems, which
	only have the h_addr field in their struct hostent.
d39 1
a39 3
	* systty.h [SYSV_PTYS]: #include <sys/types.h>.  Francesco
	Potorti` <pot@@fly.CNUCE.CNR.IT> says it's necessary on his
	machine, and it should be harmless.
d41 1
a41 1
Fri May 21 19:41:14 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d43 1
a43 2
	* sysdep.c (wait_for_termination): Copy code from 18.59
	(but sans BSD4_1 alternatives).
d45 1
a45 1
Fri May 21 18:33:21 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d47 1
a47 2
	* ymakefile (alloca.o): #define malloc and free to be xmalloc and
	xfree on the command line of this compilation.
d49 1
a49 1
	* s/sco4.h: (TIME_WITH_SYS_TIME): This is no longer needed.
d51 1
a51 3
	* s/linux.h: Remove copyright notices by Michael K. Johnson and
	Rik Faith.  They have both sent in papers now which make their
	changes public domain.
d53 1
a53 2
	* sysdep.c (sys_suspend): Set synch_process_alive, so that
	wait_for_termination has something to wait for.
d55 1
a55 1
Fri May 21 16:20:18 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d57 1
a57 1
	* xdisp.c (display_text_line): Highlight only in selected window.
d59 1
a59 2
	* xfns.c (syms_of_xfns): Don't make Lisp vars
	x-mode-pointer-shape and x-nontext-pointer-shape.
d61 1
a61 1
Thu May 20 23:15:44 1993  Ian Lance Taylor  (ian@@cygnus.com)
d63 1
a63 3
	* s/sco4.h (SCO): Don't define (no longer needed).
	(HAVE_SYS_TIME_H): Don't define (set by configure).
	(TIME_WITH_SYS_TIME): Define.
d65 1
a65 1
Thu May 20 19:29:55 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d67 1
a67 2
	* dispnew.c (preserve_other_columns): Remember to multiply the
	size argument to bcopy by the size of a glyph.
d69 3
a71 1
Thu May 20 09:43:18 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d73 2
a74 2
	* keyboard.c (read_key_sequence): Reexamine this_command
	after pre-command-hook runs.
d76 1
a76 2
	* xterm.c (x_find_modifier_meanings): If some keys are meta and alt,
	make them just meta, not alt.
d78 1
a78 1
Wed May 19 15:12:42 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d80 2
a81 10
	Some time-handling patches from Paul Eggert:
	* editfns.c (Fcurrent_time_zone): Take an optional argument specifying
	what (absolute) time should be used to determine the current time zone.
	Yield just offset and name of time zone, including DST correction.
	Yield time zone offset in seconds, not minutes.
	(lisp_time_argument, difftm): New functions.
	(Fcurrent_time_string): Use lisp_time_argument.
	* systime.h (EMACS_CURRENT_TIME_ZONE, EMACS_GET_TZ_OFFSET,
	EMACS_GET_TZ_NAMES): Remove.
	* config.h.in: Add HAVE_TM_ZONE.
d83 1
a83 15
	Some more changes from Michael K. Johnson for Linux.
	* s/template.h: Mention that you should #define HAVE_TERMIO or
	HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred.
	* systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of
	tcsetpgrp to *pgid; it's just a status value.
	* config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux
	systems using XFree386, and perhaps is inappropriate in general.
	* m/intel386.h: #undefine the integer size macros, since the Linux
	<values.h> file #defines them itself.
	* mem-limits.h (get_lim_data): Linux has the ulimit call; if it
	fails, fall back on ULIMIT_BREAK_VALUE.
	* process.c: Linux needs the WAITTYPE, etc. definitions.
	* unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type;
	no need to use SYSV names.
	* s/linux.h: New file.
d85 2
a86 14
	Some changes from Michael K. Johnson for Linux.
	* sysdep.c (sys_siglist): Don't define this if HAVE_SYS_SIGLIST is
	#defined.  That lets the system provide it, if it has it.
	* syssignal.h (sigmask): Only define this if <signal.h> hasn't
	given us a definition already.
	* syssignal.h (sys_sigpause): Fix argument in prototype.
	* sysdep.c (init_signals): The masks are called empty_mask and
	full_mask, not signal_empty_mask and signal_full_mask.
	(signal_handler_t): Moved ....
	* syssignal.h: ... to here.
	* systty.h (EMACS_SET_TTY_PGRP): Call tcsetpgrp with the correct
	arguments.
	* emacs.c (main): Don't try to establish signal handlers for
	SIGBUS and SIGSYS unless they're actually #defined.
d88 1
a88 1
	* systty.h [HAVE_TERMIO, __DGUX]: #include <sys/ioctl.h>.
d90 1
a90 2
	* xdisp.c (redisplay_window): Compute the scrollbar start and end
	properly.
d92 2
a93 1
Wed May 19 10:25:56 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d95 1
a95 1
	* keyboard.c (Fcurrent_input_mode): Return META as 3-way flag.
d97 1
a97 1
Wed May 19 00:35:25 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d99 1
a99 2
	* fileio.c (Ffind_file_name_handler): Check that FILENAME is a
	string.
d101 2
a102 4
	* process.c (wait_reading_process_input): Undo change of April
	29th, since that re-introduces the race condition the comments are
	warning about.  Call clear_waiting_for_input before calling
	status_notify, though.
d104 2
a105 3
	* process.c (wait_reading_process_input): Don't forget to call
	clear_waiting_for_input when we exit the loop because process
	input has arrived.
d107 1
a107 7
        Changes for Silicon Graphics Iris 5D.
	* unexelfsgi.c: New file; like unexelf.c, but tolerates program
	segments above BSS. 
	* m/iris5d.h: New file.
	* s/irix5-0.h: New file.
	* process.c [__sgi] (allocate_pty): Give up immediately if pty is
	inaccessible.
d109 1
a109 1
Wed May 19 00:16:55 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d111 2
a112 1
	* keyboard.c (follow_key): Check char in range before UPPERCASEP.
d114 1
a114 1
Tue May 18 23:27:38 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d116 3
a118 1
	* xfns.c (x_set_menu_bar_lines): Fix typo in last change.
d120 1
a120 1
	* keyboard.c (make_lispy_event): Controlify lower case letters too.
d122 1
a122 1
Tue May 18 18:06:44 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d124 1
a124 3
	* xdisp.c (display_text_line): If the newline (or C-m, in
	selective-display) has a non-default face, apply that face to the
	remainder of the line, so that the fill occupies the entire line.
d126 1
a126 2
	* xterm.c (x_new_font): Tell the frame display faces about the
	newly chosen font.
d128 2
a129 6
	Make sure that all the display faces use fonts of the
	same dimensions as the default face, so as not to confuse the rest
	of the redisplay code.
	* xfaces.c (same_size_fonts): New function.
	(merge_faces): Only merge in a new font from the FROM face if it
	is the same size as the font in the TO face.
d131 1
a131 2
	* xfns.c (x_set_menu_bar_lines): Minibuffer-only frames can't have
	menu bars.
d133 1
a133 2
	* keyboard.c (read_key_sequence): Don't lay down an unwind_protect
	to restore the original buffer until we actually get a mouse click.
d135 1
a135 1
	* window.c (window-dedicated-p): Doc fix.
d137 3
a139 1
Tue May 18 16:05:54 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d141 4
a144 2
	* xterm.c (XTread_socket): Turn off ControlMask for XLookupString.
	* keyboard.c (make_lispy_event): Controlify here.
d146 1
a146 1
Mon May 17 19:29:17 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d148 1
a148 2
	* xdisp.c (redisplay_window): Make the scrollbar reflect the
	extent of the visible region, not the whole buffer.
d150 1
a150 2
	* xfaces.c (free_frame_faces): Don't free the resources from the
	first two faces.
d152 9
a160 2
	* lisp.h (malloc, realloc): Declare these to return void *, to
	avoid conflicts with ANSI header files.
d162 1
a162 4
	* sysdep.c (reset_sys_modes): Test the return value of
	EMACS_SET_TTY properly.
	* systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Document the return
	values.
d164 1
a164 1
Sun May 16 18:36:32 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d166 1
a166 4
	* config.h.in (STDC_HEADERS, TIME_WITH_SYS_TIME,
	CRAY_STACKSEG_END, STACK_DIRECTION): Add #undef clauses for these,
	since otherwise the autoconf tests in configure.in won't do us
	much good.
d168 1
a168 1
Sun May 16 09:41:12 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d170 2
a171 4
	* buffer.c (overlays_at): New arg EXTEND.
	(Foverlays_at, Fnext_overlay_change): Pass 1.
	* xfaces.c (compute_char_face): Pass 0.
	Try first with small overlay_vec, then use a big enough one.
d173 1
a173 4
	* lread.c (syms_of_lread): Make Vcurrent_load_list ordinary Lisp var.
	Set up Qcurrent_load_list.
	(readevalloop): Specbind Qcurrent_load_list instead of ad-hoc saving.
	(build_load_history): Do nothing when loading pure files.
d175 2
a176 2
	* xterm.c (dumpglyphs): Create a temporary merged gc
	when cursor falls on char with non-default face.
d178 1
a178 2
	* xterm.h (x_display): New field cursor_foreground_pixel.
	* xfns.c (x_set_cursor_color): Set cursor_foreground_pixel.
d180 1
a180 1
	* casefiddle.c (casify_region): Remove mistaken arg to record_change.
d182 1
a182 1
Sat May 15 16:46:05 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d184 1
a184 2
	* xfaces.c (Fset_face_attribute_internal): Jolt redisplay, so it
	knows something has changed.
d186 2
a187 2
	* xfaces.c (unload_color): Don't try to unload the standard black
	or white pixel.
d189 1
a189 4
	More changes from David Mackenzie.
	* ymakefile (emacs): No need to edit srcdir into a lisp file and
	then load it; we can just take advantage of the PATH_DUMPLOADSEARCH.
	(crt0.o): Remember that crt0.c is in ${srcdir}.
d191 1
a191 14
        Install David Mackenzie's patches to make ${srcdir} work.
	* Makefile.in (srcdir, VPATH): Get this value from the top-level
	Makefile.
	(xmakefile): Use ${srcdir} to find the files from which we produce
	xmakefile.  Edit the values for srcdir and VPATH into xmakefile.
	* ymakefile (srcdir, VPATH): New definitions for the Makefile
	to edit.
	(ALL_CFLAGS): Remove `-Is' and `-Im'; add `-I${srcdir}', and
	`-I.'.
	(emacs): Adjust dumping commands to deal with a separate source
	directory.
	(${etc}DOC): Pass `-d ${srcdir}' to make-docfile, to tell it where
	to find the source files.
	(prefix-args): Find the source code in ${srcdir}.
d193 1
a193 4
	* process.c (wait_reading_process_input): If we're running
	Solaris, it's not necessary to check if we should redeliver SIGIO,
	according to David Mackenzie.
	* s/sol2.h: #include "usg5-4.h", and #define const.
d195 2
a196 2
	* systime.h: Borrow CPP sequence from getdate.y to include the
	proper combination of <time.h> and <sys/time.h>.
d198 1
a198 1
Sat May 15 13:12:16 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d200 1
a200 4
	* window.h (struct window): New slot region_showing.
	* xdisp.c (mark_window_display_accurate): Set region_showing fields.
	(redisplay_window): Update region_showing field.
	(display_text_line): Set region_showing to t if will show one.
d202 1
a202 2
	* xselect.c (Fx_selection_exists_p): Handle nil, t as SELECTION arg.
	Don't die if SELECTION is not recognized.
d204 1
a204 2
	* dispnew.c (direct_output_forward_char): Just give up
	if region is being highlighted.
d206 13
a218 5
	* xdisp.c (redisplay, redisplay_window): Don't use the cursor-motion
	special-case code if the region is or was highlighted.
	
	* xfaces.c (compute_char_face): New args REGION_BEG, REGION_END.
	Don't sort if noverlays is 0 or 1.
d220 1
a220 3
	* dispnew.c (direct_output_for_insert): Pass those args.
	* xdisp.c (display_text_line): Pass those args,
	describing the region if the mark is transient and active.
d222 2
a223 1
Fri May 14 18:54:54 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d225 1
a225 3
	* buffer.c (Fmove_overlay): If the overlay is in no buffer and the
	BUFFER argument has been omitted, put it in the current buffer,
	for symmetry with move-marker.
d227 3
a229 3
	* buffer.c (Fdelete_overlay): Make the overlay's markers point
	nowhere, not at 1.  Do this after calling redisplay_region, so
	that code knows what section has changed.
d231 1
a231 1
Fri May 14 11:49:31 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d233 1
a233 2
	* xdisp.c (display_menu_bar): Update FRAME_MENU_BAR_ITEMS here.
	* keyboard.c (command_loop_1): Don't do it here.
d235 2
a236 3
	* keymap.c (access_keymap): Handle any length vector.
	(store_in_keymap): Likewise.
	(Fcopy_keymap): Likewise.
d238 1
a238 1
Fri May 14 11:30:40 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d240 2
a241 2
	* buffer.c (Foverlay_start, Foverlay_end, Foverlay_buffer,
	Foverlay_properties): Functions moved here from subr.el.
d243 1
a243 1
Thu May 13 15:30:59 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d245 8
a252 3
	* xfaces.c (compute_char_face): When merging the overlays,
	traverse sortvec, not overlay_vec; the latter isn't the one we
	sorted.
d254 1
a254 2
	* xterm.c (dumpglyphs): Give the cursor higher priority than the
	face specified by the glyph under it.
d256 1
a256 2
	* xterm.c (dumpglyphs): Move the underline up a row.  I dislike
	the way X addresses pixels.  Quickdraw is much nicer.
d258 1
a258 7
	* xfaces.c (intern_face): If the face has a GC, but it's not the
	default or modeline face, abort.  Nothing but those two faces
	should have a GC *and* be passed to intern_face.
	(compute_char_face, compute_glyph_face): After copying
	the frame's default face into face, to use as a base case for
	calculation, set the `gc' member to zero; that way we don't have
	things lying around that look like display faces but aren't.
d260 1
a260 3
	* xfaces.c (intern_frame_face): When copying the new face into the
	frame's face array, remember that the number of bytes to copy is
	sizeof (*new_face), not sizeof (new_face).
d262 1
a262 2
	* xfaces.c (compute_char_face): Assume that W is displaying the
	current buffer.  Abort if it isn't.
d264 3
a266 18
	* lisp.h (Lisp_Overlay): New tag.
	(OVERLAYP): New predicate.
	(CHECK_OVERLAY): New type-checker.
	(Qoverlayp): New extern declaration.
	* buffer.c (Foverlayp): New function.
	(Qoverlayp): New atom.
	(overlays_at, recenter_overlay_lists): Abort if we encounter an
	invalid overlay.
	(syms_of_buffer): defsubr Soverlayp; initialize Qoverlayp.
	(Fdelete_overlay): Set the overlay's markers to point nowhere.
	Use CHECK_OVERLAY instead of signalling a special error.
	(Fmove_overlay, Foverlay_put): Use CHECK_OVERLAY instead of
	signalling a special error.
	(Foverlay_get): Use CHECK_OVERLAY.
	* fns.c (internal_equal): Define this for overlays.
	* buffer.h (OVERLAY_VALID): Define in terms of OVERLAYP.
	* print.c (print): Give overlays their own print syntax.
	* alloc.c (mark_object): Treat overlays like conses.
d268 1
a268 2
	* lisp.h (FLOATP): Define this appropriately when LISP_FLOAT_TYPE
	is not defined.
d270 2
a271 2
	* buffer.c (Foverlay_get): Return Qnil if the requested property
	is missing from the property list.
d273 1
a273 10
        The text property routines can now modify buffers other
	than the current one.
	* insdel.c (modify_region): New argument BUFFER.  Select that
	buffer while we prepare for the modification, and switch back when
	we're done.
	* textprop.c (add_properties, remove_properties): Pass
	the buffer being modified as the first argument to modify_region.
	* editfns.c (Fsubst_char_in_region, Ftranslate_region): Pass the
	current_buffer as the first argument to modify_region.
	* casefiddle.c (casify_region): Same.
d275 1
a275 2
	* dispnew.c (direct_output_for_insert): Compute the face of the
	character we're inserting properly.
d277 1
a277 1
	* xterm.c (dumpglyphs): Pass the proper arguments to intern_face.
d279 2
a280 1
	* xterm.c (dumpglyphs): Don't increment left twice.
d282 1
a282 2
	* intervals.c (set_point): Check for point out of bounds before
	checking for an empty interval tree. 
d284 1
a284 3
	* cmds.c (Fforward_char): Check proposed new position, and then
	set point, instead of setting point to a potentially invalid
	position.
d286 2
a287 3
	* lread.c, data.c: If STDC_HEADERS is #defined, include <stdlib.h>
	to get the extern declarations for atof.  That's where it is in
	POSIX.
d289 1
a289 1
Wed May 12 20:58:46 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d291 4
a294 1
        * ymakefile (xfaces.o): Add window.h to the dependencies.
d296 2
a297 2
	* xfaces.c (intern_frame_face): Exchange order of arguments, to
	make callers correct.
d299 1
a299 2
	* xfaces.c (compute_char_face): Notice the next property change
	location correctly.
d301 1
a301 2
	* xfaces.c (face_name_id_number): Return 0 (the default face) if
	the name is undefined.
d303 1
a303 2
	* xfaces.c (Fset_face_attribute_internal): Do nothing unless FRAME
	is an X frame.
d305 3
a307 4
	* xdisp.c (copy_rope, copy_part_of_rope): Add face argument.
	(display_text_line): Initialize current_face to zero.   Apply it
	to characters as we write them to the display matrix.
	(display_string): Pass the new argument to copy_rope.
d309 1
a309 2
	* xdisp.c (display_text_line): Handle the locations of face
	changes properly.
d311 1
a311 3
	* textprop.c (Fnext_single_property_change,
	Fprevious_single_property_change): Pass arguments to textget in
	the right order.
d313 1
a313 1
	* ymakefile (xfns.o): Remove duplication of buffer.h in dependencies.
d315 1
a315 1
	* ymakefile ($(OLDXMENU)): Remove extraneous call to `rm'.
d317 1
a317 1
Wed May 12 10:44:29 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d319 2
a320 5
	* keymap.c (Faccessible_keymaps): Use whatever size the vector has.
	(Fwhere_is_internal): Likewise.
	(describe_vector): Likewise.
	(current_minor_maps): Call Findirect_function, so symbols
	can be used in place of actual maps.
d322 1
a322 4
	* xdisp.c (display_text_line): Use break; to exit loop at eol.
	Duplicate the short MAKE_GLYPH loop after the main loop.
	If no display table, do obey selective_display_ellipses.
	(copy_part_of_rope): Arg FROM is now Lisp_Object *.
d324 1
a324 2
	* xfaces.c: Do include window.h.
	(compute_char_face): Supply third arg of Fget_text_property.
d326 1
a326 1
	* keyboard.c (make_lispy_event): Don't set shift modifier for C-^.
d328 1
a328 1
	* callproc.c (child_setup): Omit duplicates from new env array.
d330 1
a330 1
Mon May 10 16:50:29 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d332 1
a332 4
        * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
        filesystem being ro, since Solaris 2.1 doesn't.
        (file-writable-p): Call ro_fsys.
	* s/sol2.h (SOLARIS_BROKEN_ACCESS): Define this.
d334 1
a334 2
	* systime.h: Use the strategy from getdate.y to include the proper
	combination of <time.h> and <sys/time.h>.
d336 1
a336 2
	* xfns.c (Fx_create_frame): Use an XLFD name for the default font,
	instead of "9x15" or whatever it was.
d338 1
a338 3
	* xdisp.c (display_text_line): Make face-handling code conditional
	on HAVE_X_WINDOWS macro.  Perhaps this isn't the best approach,
	but it'll do for now.
d340 5
a344 5
	* xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE
	macro here; that's x-specific.  Just don't pass the second
	argument.
	* xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument;
	use F's default face.
d346 2
a347 1
Sun May  9 16:10:08 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d349 1
a349 1
	* xfaces.c (Fmake_face_internal): Do nothing for non-X frames.
d351 1
a351 3
	* dispextern.h (struct face): Add cached_index member.
	* xfaces.c (get_cached_face): Use it to avoid unnecessary
	searches of face_vector.
d353 1
a353 1
	* xfaces.c (intern_face): Renamed from get_display_face.
d355 4
a358 6
	* xfns.c (x_make_gc): After building the GC's for the frame, call
	init_frame_faces to set up the first two faces.
	* xfaces.c (init_frame_faces): Don't just try to copy the default
	and mode line faces from some other random frame; instead, consult
	the normal_gc and reverse_gc members of the frame, and build the
	faces based on their parameters.
d360 1
a360 7
	Adjust the face computation functions to return frame face ID's,
	not pointers to display faces; since we call these functions
	during display construction, we don't want the display faces yet.
	* xfaces.c (intern_frame_face): New function.
	(compute_char_face, compute_glyph_face): Apply intern_frame_face
	to the computed face, and return the frame face's ID, instead of
	calling intern_face and returning a pointer to a display frame.
d362 1
a362 3
	* xfaces.c: Describe the facial data structures.  It took me a
	while to figure them out; perhaps this will save someone else the
	trouble.
d364 3
a366 8
	Arrange to tell redisplay about changes in overlays.
	* xdisp.c (redisplay_region): New function.
	* buffer.c (Fmove_overlay): Call redisplay_region on the areas the
	overlay has enclosed or left.
	(Fdelete_overlay): Call redisplay_region on the area the overlay
	used to occupy.
	(Foverlay_put): Call redisplay_region on the area the overlay now
	occupies; we may have put a face property on it.
d368 1
a368 1
	* buffer.c (Fmove_overlay): Doc fix.
d370 1
a370 3
	* xdisp.c (redisplay): If we're doing a thorough redisplay (all
	windows on all frames involved), go ahead and flush the GC cache -
	call clear_face_vector.
d372 2
a373 12
	* xdisp.c (display_text_line): Apply faces to characters
	according to overlays and text properties; use
	compute_char_face and compute_glyph_face to figure out what
	face to use, and where a new face starts.
	* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
	which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
	we're implementing the glyph table properly.  If we're not using
	the default or mode line face, call intern_face to find a display
	face for the frame face selected by the glyph code.  Implement
	underlining.  Remove the `font' argument; we have to derive this
	from the frame and face anyway.  Change all callers.
	* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
d375 1
a375 1
	* xterm.c (x_destroy_window): Call free_frame_faces.
d377 1
a377 7
	The GNU coding standards specify that CFLAGS should be left for
	users to set.
	* ymakefile (ALL_CFLAGS): Set this to the long string of
	compilation switches, not CFLAGS.  Changed all uses.
	(CFLAGS): Make this default to just -g.
	(.c.o): Define new default rule, to make sure that the right flags
	get to the compilations.
d379 1
a379 1
Sun May  9 13:47:33 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d381 2
a382 1
	* keyboard.c (read_char): Exit kbd macro if Vexecuting_macro is t.
d384 1
a384 1
	* pwd.h: File deleted.
d386 1
a386 1
Sat May  8 23:18:50 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d388 1
a388 7
	* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
	used by any configuration right now, but he's trying to make it
	work.
	#include "sunos4-1.h" instead of "bsd4-2.h".
	(O_NDELAY): Don't define this.
	(SYSTEM_MALLOC): Don't define this, either.
	(LD_SWITCH_SYSTEM): Remove the definition for this.
d390 2
a391 2
	* Makefile.in (DEFS): Remove this; we have configure build a
	config.h file directly, instead of having lots of -D flags.
d393 1
a393 3
	* Makefile.in (CFLAGS): Don't make this carry DEFS from the
	configure script; the coding standards say that CFLAGS should be
	left for the user to tweak.
d395 5
a399 1
Sat May  8 10:54:18 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d401 1
a401 1
	* keyboard.c (do_mouse_tracking): Now static.
d403 1
a403 4
	* xmenu.c (Fx_popup_menu): Add a vector of prefix keys for the panes.
	(keymap_panes): Allocate that vector.
	(single_keymap_panes): Fill in that vector.
	(xmenu_show): Return a list of events, not just one event.
d405 1
a405 2
	* keyboard.c (read_char_menu_prompt): Expect Fx_popup_menu
	to return a list of events.  Don't lose any of them.
d407 2
a408 3
	* xfns.c (Fx_get_mouse_event, Fx_mouse_events): Code deleted.
	* window.c (Vmouse_event): Var deleted.
	(syms_of_window): Don't make it a Lisp var.
d410 1
a410 2
        * keyboard.c (read_avail_input, Fset_input_mode): Make
        meta_key a three-value variable to support 8-bit input.
d412 2
a413 1
Fri May  7 00:06:50 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d415 1
a415 2
	* ymakefile [__GNUC__ && __GNUC__ > 1] (LIB_GCC): Set this even if
	LINKER is #defined.
d417 1
a417 3
	* ymakefile ($(OLDXMENU)): Remove the link before we re-create it;
	not all versions of ln have the `-f' flag.  Use the LN_S variable,
	inherited from src/Makefile.
d419 1
a419 3
	* Makefile.in (LN_S): New variable, edited by top Makefile.
	(SUBMAKEFILE): New variable, containing all flags to pass to
	recursive makes.
d421 2
a422 2
	* config.h.in: Adjust this for use by autoconf's AC_CONFIG_HEADER,
	instead of AC_OUTPUT.
d424 1
a424 1
	* xfaces.c (get_display_face): Use face_eql instead of writing it out.
d426 1
a426 1
Thu May  6 15:04:21 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d428 1
a428 3
	* keymap.c (Fwhere_is_internal): If FIRSTONLY is non-nil, avoid
	returning a non-ascii key sequence unless FIRSTONLY is the symbol
	`non-ascii'.
d430 1
a430 3
	* config.h.in: Remove mention of GLYPH datatype; that shouldn't be
	a user option.
	* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
d432 1
a432 1
Thu May  6 13:04:32 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d434 1
a434 1
	* xfns.c (x_get_arg): Call Fintern, not intern.
d436 2
a437 2
	* systime.h [SCO]: Include time.h.
	* s/sco4.h: New file.
d439 1
a439 1
	* ymakefile (LIBXMENU): Delete -loldX.
d441 1
a441 1
	* emacs.c (main): Handle -display like -d.
d443 3
a445 1
Wed May  5 19:56:25 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d447 1
a447 2
	* s/template.h: Explain the relative significance of the SIGIO and
	INTERRUPT_INPUT macros.
d449 1
a449 2
	* ymakefile (buffer.o, insdel.o): Note that these files also
	depend on blockinput.h.
d451 2
a452 6
	* blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is
	defined everywhere this file is #included; merge the two
	definitions for defined (SIGIO) and ! defined (SIGIO) into one,
	which calls reinvoke_input_signal if interrupt_input_pending is
	set.
	* keyboard.c (reinvoke_input_signal): New function.
d454 1
a454 1
Tue May  4 18:13:27 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d456 4
a459 1
	* window.c (Fdisplay_buffer): Add space to prompt.
d461 1
a461 1
Tue May  4 08:58:06 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d463 1
a463 2
	* keyboard.c (syms_of_keyboard): Doc fix for
	extra-keyboard-modifiers.
d465 1
a465 2
	* lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT, CHAR_CTL,
	CHAR_META): Shift these all up one bit, back to where they were.
d467 1
a467 1
Sun May  2 21:07:12 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d469 1
a469 1
	* keymap.c (Fdefine_prefix_command): Doc fix.
d471 1
a471 1
	* ymakefile (C_DEBUG_SWITCH): Undo April 10 change.
d473 1
a473 1
Sat May  1 09:20:40 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d475 3
a477 1
	* keyboard.c (Fsuspend_emacs): Doc fix.
d479 2
a480 1
Fri Apr 30 13:28:13 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d482 1
a482 1
	* data.c (Ffset): Refuse to set the function value of t or nil.
d484 1
a484 1
Thu Apr 29 12:00:35 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d486 1
a486 13
        Implement extra_keyboard_modifiers properly.
	* keyboard.c (syms_of_keyboard): Doc fix for
	extra-keyboard-modifiers; use the same modifier bits as we do for
	characters.
	(read_char): Apply all the modifiers in extra_keyboard_modifiers
	to the input characters, so you can get hyper, super, and the rest
	of the gang.
	* xterm.c (x_emacs_to_x_modifiers): New function.
	(x_convert_modifiers): Renamed to x_x_to_emacs_modifiers, for
	consistency.  Callers changed.
	(XTread_socket): Apply x_emacs_to_x_modifiers to
	extra_keyboard_modifiers before setting the state member of the
	event; this will get all the modifiers on ASCII characters.
d488 2
a489 2
	* xterm.c (x_text_icon): Don't call XSetIconName; it should be
	unnecessary, and perhaps it's killing the icon pixmap.
d491 2
a492 6
	* lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in
	case we need them.
	* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
	shift_modifier, ctrl_modifier, meta_modifier): Define these in
	terms of the CHAR_mumble macros, to avoid having the same thing
	defined in two places.
d494 1
a494 4
	* keyboard.c (kbd_buffer_get_event): Don't generate switch-frame
	events if they'd only switch to the frame already selected.  This
	avoids lots of extra switch-frame events when using a separate
	minibuffer.
d496 2
a497 1
Thu Apr 29 09:11:42 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d499 4
a502 1
	* keyboard.c (Fthis_command_keys): Doc fix.
d504 1
a504 2
	* process.c (wait_reading_process_input): Move the status_notify
	call before the set_waiting_for_input call.
d506 2
a507 1
	* fileio.c (Fexpand_file_name): Undo last change--too risky for now.
d509 3
a511 1
	* data.c (Fdefine_function): New function (same code as Fdefalias).
d513 3
a515 1
Wed Apr 28 17:08:18 1993  Eric S. Raymond  (eric@@mole.gnu.ai.mit.edu)
d517 1
a517 1
	* eval.c (do_autoload): Fixed the bug in the autoload-saving code.
d519 2
a520 1
Wed Apr 28 16:36:54 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d522 1
a522 1
	* keyboard.c (Fcurrent_input_mode): New function.
d524 4
a527 1
Tue Apr 27 21:59:59 1993  Eric S. Raymond  (eric@@mole.gnu.ai.mit.edu)
d529 1
a529 5
	* eval.c (un_autoload): Don't try to save old autoload forms when
	we load something in.  Something about the code now conditioned
	out by UNLOAD was screwing up ordinary autoloads, notably of
	picture.el.  When I figure out what, I'll fix and re-enable this
	code.
d531 1
a531 1
Tue Apr 27 12:03:34 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d533 1
a533 1
	* buffer.c (syms_of_buffer): Doc fix for buffer-display-table.
d535 1
a535 5
	* systime.h: Doc fix.
	(EMACS_SET_USECS): Remember that a `usec' is a microsecond, not a
	millisecond.  What's three orders of magnitude between friends?
	* dispnew.c (Fsit_for, Fsleep_for): Remember to multiply the
	`milliseconds' argument by 1000 to get microseconds.
d537 1
a537 1
Mon Apr 26 21:54:00 1993  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)
d539 2
a540 2
	* fileio.c (Fexpand_file_name):
	Don't remove trailing / from NEWDIR if just "/".
d542 1
a542 1
Mon Apr 26 13:29:53 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d544 3
a546 5
	* m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h,
	m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by
	configure script.
	* s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed;
	derived by configure script.
d548 2
a549 9
	Arrange for Fy_or_n_p to put off switch-frame events.
	* lread.c (read_filtered_char): New function, which contains the
	code which used to be in Fread_char, Fread_event, and
	Fread_char_exclusive; there was a lot of common code.
	(Fread_char, Fread_event, Fread_char_exclusive): Rewrite in terms
	of read_filtered_char.
	* lisp.h (read_filtered_char): Declare this extern here.
	* fns.c (Fy_or_n_p): Call read_filtered_char, arranging to delay
	switch-frame events.
d551 2
a552 3
	* keyboard.c (read_key_sequence): Let the `modifiers' variable in
	the code which deals with KEY being unbound be an int, not a
	Lisp_Object.
d554 1
a554 4
	* config.h.in (getenv): Don't test THIS_IS_YMAKEFILE to see if we
	should exclude the getenv declaration; instead, test NOT_C_CODE.
	Per suggestion from Francesco Potorti`.
	* ymakefile (NOT_C_CODE): Define this; it's true, and useful.
d556 1
a556 2
	* dispnew.c (Fsleep_for, Fsit_for): Allow SECONDS to be a
	floating point value.
d558 1
a558 1
Mon Apr 26 05:15:13 1993  Eric S. Raymond  (eric@@mole.gnu.ai.mit.edu)
d560 1
a560 3
	* sysdep.c (read_pending_input):
	Fix the garbaged-modifiers bug under System Vs previous
	to r4.
d562 1
a562 1
Sun Apr 25 19:00:03 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d564 1
a564 3
	* systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Move these into
	functions in sysdep.c.
	* sysdep.c (emacs_get_tty, emacs_set_tty): Here they are.
d566 2
a567 2
	* sysdep.c (emacs_set_tty): Call tcsetattr over and over again
	until it does all of what we ask it to, or returns an error.
d569 1
a569 3
	* search.c (Freplace_match): Arrange for markers sitting at the
	beginning or end of the original text to float to the
	corresponding position in the replacement text.
d571 4
a574 1
Sun Apr 25 06:15:18 1993  Eric S. Raymond  (eric@@mole.gnu.ai.mit.edu)
d576 1
a576 3
	* window.c (Fset-window-buffer):
	Set horizontal-scrolling on a window to zero when
	we connect it to a new buffer.
d578 1
a578 1
	* buffer.c: Doc fix.
d580 1
a580 1
Sat Apr 24 18:19:50 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d582 4
a585 184
	Make the modifier manipulation functions more robust.  The old way
	caused a bug once, and probably would again.
	* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
	shift_modifier, ctrl_modifier, meta_modifier): Shift these all
	down one bit in value, to avoid sign extension problems.
	* lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
	* keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
	what our table of modifier names can handle.
	(apply_modifiers): Don't abort if you see extra modifier bits,
	just remove them.

Fri Apr 23 03:40:03 1993  Eric S. Raymond  (eric@@mole.gnu.ai.mit.edu)

	* data.c (Fdefine_function):
	Changed name back to Fdefalias, so we get things
	in a known-good state.

	* buffer.h (BUF_NARROWED, NARROWED):
	New macros to test whether a region
	restriction has narrowed the buffer.

Sat Apr 17 06:45:29 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* systime.h: Comment fixes.

	* data.c (Fdefine_function): New function.

	* lisp.h (LOADHIST_ATTACH): New macro.
	(Vcurrent_load_list, Vload_history): Vars declared.

	* eval.c: (defun, defmacro, defvar, defconst):
	Attach symbol argument to the list of globals for the input source.
	(do_autoload): Save the old autoloads, in case we ever unload.

	* fns.c (provide, require): Put appropriately-marked
	conses in the current-globals list.

	* lread.c (readevalloop):
	New argument is the source file name (or nil if none).
	All calls changed.  Do the two-step
	necessary to call build_load_history with the correct current-globals
	list for the current recursion.
	(build_load_history): New function.
	(eval_region, eval_buffer): Call readevalloop with new arg.
	(load_history): New variable.

Fri Apr 16 19:36:29 1993  Eric S. Raymond  (eric@@mole.gnu.ai.mit.edu)

	* lread.c (readevalloop): New argument is the source file name (or
	nil if none).  All calls changed.  Do the two-step
	necessary to call build_load_history with the correct current-globals
	list for the current recursion.
	(build_load_history): New function.
	(Feval_region, Feval_buffer): Call readevalloop with new arg.
	(Vload_history): New variable.

	* fns.c (Fprovide, Frequire): Put appropriately-marked
	conses in the current-globals list.

	* eval.c (Fdefun, Fdefmacro, Fdefvar, Fdefconst):
	Attach symbol argument to the list of globals for the input source.
	(do_autoload): Save the old autoloads, in case we ever unload.

	* data.c (Fdefine_function): New function.

Fri Apr 16 17:05:30 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* fileio.c (Fmake_symbolic_link): If a file already exists under
	the link's filename, delete the file which the link
	would replace, not the file the link would point at.

	* config.h.in (volatile): Don't define this to be the empty string
	if some file has #defined HAVE_VOLATILE.

	* emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and
	':' elsewhere, just have it default to ':' if not #defined, and
	#define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
	* s/vms.h (SEPCHAR): #define this to be ','.
	* s/template.h (SEPCHAR): Mention this.

Tue Apr 13 00:36:38 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* s/vms.h (xfree): #define this to emacs_xfree, to avoid case
	conflict with XFree; on VMS, external symbols are case-insensitive.

	* s/usg5-4.h (HAVE_GETTIMEOFDAY): Deleted; ../configure figures
	that out now.

	Changes for Emacs 19 from Thorsten Ohl <ohl@@chico.harvard.edu>:
	* s/mach2.h: copied from the Emacs 18.59 distribution.
	Don't define NO_REMAP, define START_FILES as
	`pre-crt0.o' instead.  Define LIB_MATH as `-lm', to override the
	default `-lm -lc' (there is no libc on the NeXT).
	* ymakefile (STARTFILES): Allow config.h to set this value even if
	ORDINARY_LINK is defined.
	* unexnext.c: Fix subdirectories for the machine dependent include
	files for NeXTStep 3.0; #include <mach/mach.h> and
	<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
	(getsectbyname): Remove prototype for this; the system #include
	files take care of that.
	(malloc_cookie): New variable.
	(unexec_doit): Set malloc_cookie to the result returned by
	malloc_freezedry.
	* emacs.c (main): Declare malloc_cookie to be extern, so that we can
	get the value set when we dumped and pass it to malloc_jumpstart.
	* systime.h: The NeXT has a timezone function.

Mon Apr 12 21:13:58 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* ymakefile ($(OLDXMENU)): Remove $(OLDXMENU) before trying to
	link in a new version.

	* lisp.h (Qrange_error, Qdomain_error, Qsingularity_error,
	Qoverflow_error, Qunderflow_error): Add extern to these declarations.

Mon Apr 12 20:38:39 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfaces.c: Don't include Xmu/Drawing.h.

Sat Apr 10 04:27:26 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* Makefile.in (xmakefile): Recognize the -O option with a numeric
	optimization level.

	* ymakefile (C_DEBUG_SWITCH): If we're using version 2 of GCC or
	higher, use -O99 instead of plain -O.

Fri Apr  9 02:18:49 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* keyboard.c (command_loop_1): Rebuild menu bar if
	update_mode_lines is set.

        long_to_cons and cons_to_long are generally useful things; they're
	needed whether or not X is defined.
	* xselect.c (long_to_cons, cons_to_long): Moved from here...
	* data.c    (long_to_cons, cons_to_long): ... to here.
	* lisp.h    (long_to_cons, cons_to_long): Add extern declaration.

	* xmenu.c (Qmenu_enable): Definition moved...
	(syms_of_xmenu): ... along with initialization ...
	* keyboard.c (Qmenu_enable): ... to here ...
	(syms_of_keyboard): ... and here.

	* keyboard.c (kbd_buffer_get_event): If we get a selection clear
	or selection request event, but we were compiled without the
	window-system-specific code to handle it, abort.  Don't try to
	call a function which doesn't exist.

	* keyboard.c (make_lispy_event): In the code which processes mouse
	clicks, declare f to be a FRAME_PTR, not a struct frame *; this
	works when MULTI_FRAME is not #defined.

	* xfaces.c (sort_overlays): Define this to be static, as declared.

	* callproc.c (relocate_fd): Make messages string literals, not
	initialized arrays.

	* alloc.c (__malloc_hook, __realloc_hook, __free_hook): Declare
	these extern, not static.  (!)

	* alloc.c (__malloc_hook, old_malloc_hook, __realloc_hook,
	old_realloc_hook): Declare that the functions these point to return
	void *, not void.

        Adjust for autoconf merger.
	* config.h.in: Add extra line to top, in case autoconf gets fixed
	and decides not to add Makefile-style comments to the top of the
	files it generates which we are forced to lop off.
	Indicate that the boolean macros here get their definitions via
	the DEFS Makefile variable.
	Adjust the operating system and machine #includes to use
	autoload's @@cookies@@.
	(RETSIGTYPE): Give this a default value.
	(SIGTYPE): Set this from RETSIGTYPE.
	(LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Get values via @@cookies@@.
	* Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
	(xmakefile): Pass CFLAGS to ${CPP}.

	* buffer.c (Fmake_overlay, Fmove_overlay): New optional BUFFER
	arguments.
	(recenter_overlay_lists): New argument BUF, to use instead of the
	current buffer.
	(Foverlay_recenter): Pass the appropriate arguments to
	recenter_overlay_lists.
d587 2
a588 2
	* buffer.c (Fdelete_overlay): Don't assume that overlay is in the
	current buffer.  Don't forget to declare the argument a Lisp_Object.
d590 1
a590 2
	* dispnew.c (getenv): Extern declaration deleted; this is done in
	config.h.
d592 1
a592 222
	* Makefile.in (tagsfiles): Remove external-lisp from this list of
	files; we're not distributing it, so the normal build process
	shouldn't depend on it.

	* dispnew.c (init_display): Compare the return value of getenv to
	zero before setting display_arg, instead of just using the pointer
	as a truth value.

Thu Apr  8 02:53:42 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xdisp.c (message, message1): If noninteractive and
	cursor_in_echo_area, don't print a newline at end of message.

	* fns.c (Fy_or_n_p): Echo the answer just once, at exit.

	* keyboard.c (echo_dash): Do nothing if echoptr is 0.

	* buffer.c (Fkill_all_local_variables): Store each var's current value
	in the buffer's alist entry, before reverting to the default value.

Wed Apr  7 19:53:29 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* keyboard.c (apply_modifiers): Fix typo in sanity check.

	* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
	Remove `extern' keywords - these are the definitions.

Wed Apr  7 16:04:23 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* blockinput.h (UNBLOCK_INPUT): Fix typo.
	(interrupt_input_blocked): Make this signed int.

	* search.c (search_buffer): Fix typo in previous change.

	* insdel.c, buffer.c: Include blockinput.h.

	* xterm.c: Fix typo in comment delimiter.

Wed Apr  7 10:42:40 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
	of defining LINKER to use cc.
	* s/aix3-1.h (LINKER): Don't use cc for linking command if we're
	using GCC.
	* s/aix3-2.h (SYSTEM_MALLOC): Undefine this.

	* xterm.c (updating_frame): Declare this extern instead of static,
	so it's the same variable as the updating_frame in term.c.
	(XTupdate_begin, XTupdate_end): Don't bother to set
	updating_frame; the term.c functions take care of that for us.

Mon Apr  5 17:00:32 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* s/vms.h (EXEC_SUFFIXES): Add definition for this.

Wed Mar 31 02:13:22 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* xfaces.c: Doc fixes.

	Put interrupt input blocking in a separate file from xterm.h.
	This isn't specific to X, and it allows us to avoid #including
	xterm.h in files that don't really have anything to do with X.
	* blockinput.h: New file.
	* xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT,
	UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
	(x_input_blocked, x_pending_input): Deleted; there are analogs
	in blockinput.h called interrupt_input_blocked and
	interrupt_input_pending.
	* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
	New variables, used by the macros in blockinput.h.
	* xterm.c: #include blockinput.h.
	(x_input_blocked, x_pending_input): Deleted.
	(XTread_socket): Test and set interrupt_input_blocked and
	interrupt_input_pending instead of the old variables.
	* alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c:
	#include blockinput.h.
	* eval.c: #include blockinput.h instead of xterm.h.
	* keyboard.c: #include blockinput.h.
	(input_poll_signal): Just test
	interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and
	x_input_blocked.

	Block the processing of interrupt input while we're manipulating the
	malloc heap.
	* alloc.c: (xfree): New function, to make it easy to free things
	safely.
	(xmalloc, xrealloc): Block X input while doing the deed.
	(VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
	instead of free.
	(uninterrupt_malloc): New function, to install input-blocking
	hooks into the GNU malloc routines.
	* emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
	on startup.
	* alloc.c: (make_interval, make_float, Fcons, Fmake_vector,
	Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
	Use xmalloc instead of malloc; don't bother to check if out of
	memory here.
	(Fgarbage_collect): Call xrealloc instead of realloc.
	* buffer.c: Use xmalloc and xfree instead of malloc and free;
	don't bother to check if out of memory here.
	(Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around
	calls to ralloc routines.
	* insdel.c: Same.
	* lisp.h (xfree): New extern declaration.
	* xfaces.c (xfree): Don't #define this to be free; use the
	definition in alloc.c.
	* dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
	xmenu.c, xterm.c: Use xfree instead of free.
	* hftctl.c: Use xfree and xmalloc instead of free and malloc.
	* keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
	and malloc.
	* search.c: Since the regexp routines can malloc, BLOCK_INPUT
	while runing them.  #include blockinput.h.
	* sysdep.c: #include blockinput.h.  Call xfree and xmalloc instead
	of free and malloc.  BLOCK_INPUT around routines which we know
	will call malloc.
	
	ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
	xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
	these depend on blockinput.h.

	* keyboard.c (parse_modifiers, apply_modifiers): Make sure we're
	not trying to create modifier masks using integers which are
	unrepresentable as lisp values.

Tue Mar 30 16:13:09 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	New macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of the
	equivalent of /dev/null, and the suffixes used by executable
	files.  This is simple, and helps people porting Emacs to other
	operating systems.
	* process.h (NULL_DEVICE): Give this a default value.
	* process.c (Fstart_process): Pass EXEC_SUFFIXES to openp.
	(Fprocess_send_eof): Use NULL_DEVICE instead of "/dev/null".
	* callproc.c (Fcall_process): Pass EXEC_SUFFIXES to openp.
	Use NULL_DEVICE instead of "/dev/null".
	* s/vms.h (NULL_DEVICE): #define this.

	Rename int-to-string to number-to-string, since it can handle
	floating-point as well as integer arguments.  subr.el defines the
	former as an alias for the latter.
	* data.c (Fnumber_to_string): Renamed from Fint_to_string.
	(wrong_type_argument): Adjust caller.
	(syms_of_data): Adjust defsubr.
	* fns.c (concat): Adjust caller.
	* lisp.h (Fnumber_to_string): Adjust extern declaration.
	* mocklisp.c (Finsert_string): Adjust caller.
	* process.c (status_message): Adjust caller.

Sun Mar 28 02:01:22 1993  Richard Stallman  (rms@@wookumz.gnu.ai.mit.edu)

	* systty.h [NO_PTY_H]: Don't include pty.h.

	* m/delta88k.h [USG5_4]: Alternate defining of LIBS_SYSTEM,
	LIBX11_SYSTEM, HAVE_RANDOM, BSTRING.
	(NO_PTY_H): Defined.

	* fileio.c (Fwrite_region): Don't fail to set visit_file.

	* keyboard.c (command_loop_1): Clear force_start of selected_window
	after reading each key sequence.
	(read_char): Clear Vquit_flag when we return C-g for it.

	* fileio.c (Fexpand_file_name): Default DEFALT at beginning,
	before expanding it.  But avoid unneeded or infinite recursive expand.

Fri Mar 26 03:12:09 1993  Richard Stallman  (rms@@wookumz.gnu.ai.mit.edu)

	* editfns.c (Fchar_equal): Don't ignore high bits of character.

	* fileio.c (Fwrite_region): Set visit_file after expanding file arg.
	Also expand VISIT arg if specified.

	* frame.c (make_frame): Init face_alist field.

Thu Mar 25 18:26:57 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* xselect.c (SELECTION_QUANTUM): Don't use XMaxRequestSize on R3;
	access the display structure directly.

Thu Mar 25 01:16:12 1993  Richard Stallman  (rms@@wookumz.gnu.ai.mit.edu)

	* ymakefile (xfns.o): Depend on buffer.h.

	* buffer.h (struct buffer): Field `fieldlist' deleted.

	* search.c (Freplace_match): Clean up criterion about converting case.
	If old text has any capitalized words, capitalize new text.

	* xfaces.c: New file.

	* ymakefile (XOBJ): Add xfaces.o.
	(xfaces.o): New target.
	* emacs.c (main): Call syms_of_xfaces.

	* buffer.h (OVERLAY_START, OVERLAY_END, OVERLAY_VALID): New macros.
	(OVERLAY_POSITION): Likewise.
	(searchbuf): Decl deleted--doesn't belong here.
	Delete include of regex.h for VMS.
	* dired.c (searchbuf): Declare here.

	* frame.h (struct frame): New field face_alist.
	* alloc.c (mark_object): Mark face_alist of a frame.

	* ymakefile (xselect.o): Depend on dispextern.h.

	* xterm.h (FRAME_FACES, FRAME_N_FACES, FRAME_DEFAULT_FACE)
	(FRAME_MODE_LINE_FACE): New macros.
	(struct x_display): New fields faces, n_faces.

	* dispextern.h (struct face): New fields pixmap_h, pixmap_w.
	Field `font' is now a pointer.

	* fns.c (Fy_or_n_p): Ensure cursor_in_echo_area = 0 when quit.

Wed Mar 24 21:10:31 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* dispnew.c (getenv): Add extern declaration.

	* ymakefile (really-oldXMenu): Pass C_SWITCH_SITE and
	C_SWITCH_SYSTEM to the inferior make as separate flags, instead of
	passing just C_SWITCH_SITE as CFLAGS.
d594 1
a594 1
	* keymap.c (Fkeymapp): Doc fix.
d596 2
a597 1
	* xterm.h (x_focus_frame): Add extern keyword to declaration.
d599 5
a603 8
	* xterm.c [VMS]: Don't #include <sys/termio.h> and <string.h>.
	* xfns.c [VMS]: Get the gray_bits from [.bitmaps]gray.xbm.
	* process.c [VMS] (DCL_PROMPT): Remove hack.
	(WIFSTOPPED, WIFSIGNALED, WIFEXITED, XRETCODE, WSTOPSIG,
	WCOREDUMP, WTERMSIG): New dummy definitions.
	(deactivate_process): Add missing semicolon.
	* dispnew.c (init_display): Get display name from environment
	properly on VMS as well as Unix.
d605 1
a605 1
Wed Mar 24 02:56:56 1993  Richard Stallman  (rms@@wookumz.gnu.ai.mit.edu)
d607 1
a607 3
	* buffer.c (init_buffer_once, reset_buffer):
	Delete last vestige of fieldlist slot.
	(Fregion_fields): Finally deleted.
d609 2
a610 1
	* keymap.c (push_key_description): Ignore bits above meta_modifier.
d612 1
a612 1
Tue Mar 23 15:58:18 1993  Richard Stallman  (rms@@wookumz.gnu.ai.mit.edu)
d614 3
a616 4
	* buffer.c (overlays_at, recenter_overlay_lists): New functions.
	(Fmake_overlay, Fdelete_overlay, Foverlay_get, Foverlay_put): Likewise.
	(Fmove_overlay, Foverlays_at, Fnext_overlay_change): Likewise.
	(Foverlay_lists, Foverlay_recenter): Likewise.
d618 1
a618 2
	* buffer.h (struct buffer): New fields overlay_center,
	overlays_before, overlays_after.
d620 1
a620 1
Tue Mar 23 00:54:06 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d622 1
a622 5
	* config.h.in (HAVE_XFREE386): New flag, set by configure script.
	If it's set, #define LIBX11_SYSTEM and HAVE_RANDOM as appropriate
	for XFree386.
	* sysdep.c (random, srandom): Don't define these if HAVE_RANDOM is
	#defined.
d624 1
a624 5
	* config.h.in (C_SWITCH_X_SITE, LD_SWITCH_X_SITE): New flags.
	* ymakefile (C_SWITCH_X_SITE, LD_SWITCH_X_SITE): Provide default
	values.  Include C_SWITCH_X_SITE in CFLAGS, include
	LD_SWITCH_X_SITE in LIBX, and pass C_SWITCH_X_SITE to the make
	which builds the X Menu library.
d626 1
a626 1
Mon Mar 22 23:56:55 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d628 1
a628 3
	* xfns.c (Fx_parse_geometry): Renamed from Fx_geometry.
	(Fx_color_defined_p): Renamed from Fx_defined_color.
	(syms_of_xfns): Adjusted.
d630 1
a630 1
Mon Mar 22 14:50:00 1993  Richard Stallman  (rms@@wookumz.gnu.ai.mit.edu)
d632 1
a632 2
	* indent.c (current_column, Findent_to, position_indentation): 
	(Fmove_to_column, compute_motion): Allow tab_width up to 1000.
d634 1
a634 2
	* xdisp.c (display_string, display_text_line):
	Allow tab_width up to 1000.
d636 1
a636 2
	* keyboard.c (Fsuspend_emacs):
	Change suspend-hooks back to suspend-hook and make it a normal hook.
d638 3
a640 1
	* s/dgux.h: Decide automatically whether to use COFF or ELF.
d642 1
a642 1
Sun Mar 21 15:08:54 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d644 1
a644 1
	* fns.c (Fy_or_n_p): Handle `recenter' response type.
d646 1
a646 1
	* s/dgux.h (HAVE_TERMIO, SIGNALS_VIA_CHARACTERS): Defined.
d648 1
a648 1
Sun Mar 21 01:50:01 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d650 1
a650 3
	* frame.c (Fhandle_switch_frame): Renamed from Fselect_frame.
	Doc changed in anticipation of new purpose.
	(Fselect_frame): Just call Fhandle_switch_frame for now.
d652 3
a654 1
Sun Mar 21 01:36:25 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d656 1
a656 6
	* xdisp.c (decode_mode_spec): Handle `%l'.
	(display_count_lines): New function.
	(redisplay_window): Update base_line_number and base_line_pos fields.
	Always update mode line if it's an integer.
	* window.h (struct window):
	New fields base_line_number and base_line_pos.
d658 1
a658 2
	* window.c (Fselect_window): Use Fhandle_switch_frame.
	(Fset_window_configuration): Likewise.
d660 1
a660 1
Sat Mar 20 23:53:29 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d662 1
a662 10
	Use the `visiblity' parameter to determine the initial state of
	the frame, instead of the `iconic-startup' and
	`suppress-initial-map' parameters.
	* xfns.c (x_icon): Test the Qvisibility parameter against Qicon,
	instead of the Qiconic_startup against Qt.
	(x_create_frame): Test Qvisibility against Qnil and
	Qicon, instead of testing Qsuppress_initial_map and Qvisibility.
	(Qicon): New symbol.
	(Qiconic_startup, Qsuppress_initial_map): Removed.
	(syms_of_xfns): Adjusted appropriately.
d664 1
a664 4
	* xfns.c (x_set_visibility): Instead of interpreting only Qt as
	`make the frame visible' and everything else as `iconify the
	frame', interpret Qicon as `iconify the frame' and everything else
	as `make the frame visible.'
d666 1
a666 2
	* xfns.c (x_get_arg): When the type of the resource is `symbol',
	return `true' and `on' as Qt, and `false' and `off' as Qnil.
d668 1
a668 1
Sat Mar 20 23:25:59 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d670 4
a673 1
	* emacs.c (init_cmdargs): Fix simple bug in previous change.
d675 1
a675 1
Sat Mar 20 13:56:25 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d677 1
a677 5
	* dispnew.c (Fsleep_for): Make this take two arguments SECONDS and
	MILLISECONDS, which add, rather than a second argument which says
	"treat the first argument as milliseconds."
	(Fsit_for): Same thing.
	(Fsleep_for_milliseconds): Deleted; this can be done with Fsleep_for.
d679 1
a679 1
	* process.c (wait_reading_process_input): Doc fix.
d681 2
a682 2
	* systime.h (EMACS_HAS_USECS): #define this if HAVE_TIMEVAL is
	#defined.
d684 1
a684 1
	* dispnew.c (sit_for): Doc fix.
d686 2
a687 1
	* sysdep.c (reset_sys_modes): Fix usage of EMACS_SET_TTY.
d689 1
a689 3
	* callproc.c (child_setup): Make sure that in, out, and err are
	not less than three.
	(relocate_fd): New function.
d691 1
a691 2
	* xterm.c (x_term_init): If the X connection is already in file
	descriptor zero, don't dup it and close the old one.
d693 1
a693 2
	* s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
	Emacs 18.
d695 1
a695 4
	* xfns.c (Fx_open_connection): If we have X11R5, use
	XrmSetDatabase to set the display's database.  In older versions,
	just store the value into x_current_display->db.
	* xterm.h (HAVE_X11R5): Define this where appropriate.
d697 1
a697 3
	* frame.c (Fraise_frame, Flower_frame): Renamed from
	Fframe_to_front and Fframe_to_back.
	(syms_of_frame): Adjusted appropriately.
d699 2
a700 3
	* fileio.c (HAVE_FSYNC): Define, if appropriate.
	(Fwrite_region): Use HAVE_FSYNC.
	* s-aix3-2.h (HAVE_FSYNC): Define.
d702 1
a702 16
	* emacs.c (Finvocation_name): New function.
	(Vinvocation_name): New variable.
	(init_cmdargs): Set it.
	(syms_of_emacs): defsubr Finvocation_name, staticpro and
	initialize Vinvocation_name.
	* lisp.h (Vinvocation_name): New extern declaration.
	* xterm.c (invocation_name): Variable deleted; use
	Vinvocation_name now.
	(x_text_icon, x_term_init): Use Vinvocation_name now instead of
	invocation_name.
	(x_term_init): Don't initialize invocation_name.
	(syms_of_xterm): Don't initialize or staticpro invocation_name.
	* xfns.c (invocation_name): Remove extern declaration for this.
	[HAVE_X11] (Fx_get_resource): Use Vinvocation_name now instead of
	invocation_name.
	[not HAVE_X11] (Fx_get_default): Same.
d704 1
a704 1
Sat Mar 20 04:20:21 1993  Richard Stallman  (rms@@wookumz.gnu.ai.mit.edu)
d706 1
a706 2
	* xfns.c (Fx_display_color_p): Renamed from Fx_color_display_p.
	(syms_of_xfns): Use new name in defsubr.
d708 2
a709 1
Fri Mar 19 00:27:27 1993  Eric S. Raymond  (eric@@geech.gnu.ai.mit.edu)
d711 1
a711 2
	* Makefile.in (unlock, relock): New productions to assist with
	version control.
d713 1
a713 1
Fri Mar 19 00:12:27 1993  Richard Stallman  (rms@@wookumz.gnu.ai.mit.edu)
d715 1
a715 3
	* fileio.c (Fvisited_file_modtime): New function.
	(Fset_visited_file_modtime): Accept an argument specifying time value.
	If arg is nil, really use the filename handler.
d717 1
a717 1
	* xselect.c (cons_to_long, long_to_cons): No longer static.
d719 1
a719 1
Thu Mar 18 17:39:35 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d721 1
a721 5
	* frame.h (FOR_EACH_FRAME): Change the definition so that
	FRAME_VAR is a lisp object. 
	* dispnew.c (WINDOW_CHANGE_SIGNAL, do_pending_window_change):
	Adjusted appropriately.
	* xdisp.c (redisplay): Adjusted appropriately.
d723 1
a723 3
	* dispnew.c (Fredraw_frame): Give this appropriate definitions for
	MULTI_FRAME and non-MULTI_FRAME configurations.
	(Fredraw_display): Give this a non-MULTI_FRAME-dependent definition.
d725 1
a725 1
Thu Mar 18 04:22:47 1993  Richard Stallman  (rms@@geech.gnu.ai.mit.edu)
d727 2
a728 1
	* lisp.h (CHECK_LIVE_WINDOW): Use Qlive_window_p.
d730 1
a730 2
	* xfns.c (x_screen): Make this var file scope.
	(Fx_server_version): Use Fcons, not list3.
d732 1
a732 1
Wed Mar 17 17:32:17 1993  Eric S. Raymond  (eric@@mole.gnu.ai.mit.edu)
d734 1
a734 1
	* xterm.c (term_get_fkeys): Less klugey version of the last fix.
d736 4
a739 2
	* Makefile.in (versionclean): New production nukes binaries and
	DOC files, forcing a re-load, re-dump and re-makedoc.
d741 1
a741 1
Wed Mar 17 16:39:50 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d743 1
a743 1
	* fileio.c: Doc fix.
d745 1
a745 1
Wed Mar 17 15:06:43 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d747 1
a747 2
	* xterm.c (x_display_box_cursor, x_display_bar_cursor): Don't
	display the cursor on garbaged frames.
d749 1
a749 1
Wed Mar 17 08:12:49 1993  Eric S. Raymond  (eric@@mole.gnu.ai.mit.edu)
d751 1
a751 1
	* term.c (term_get_fkeys) Supply second args for all tgetstr calls.
d753 1
a753 1
Wed Mar 17 02:58:44 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d755 1
a755 1
	* process.c (Fprocess_send_eof): Make sure proc is running.
d757 1
a757 1
	* s/irix4-0.h (_getpty): Declare this, not _get_pty.
d759 1
a759 1
Tue Mar 16 15:25:43 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d761 1
a761 12
	* xfns.c (Fx_server_vendor, Fx_server_version, Fx_display_pixel_width)
	(Fx_display_pixel_height, Fx_display_mm_width, Fx_display_mm_height)
	(Fx_display_screens, Fx_display_planes, Fx_display_color_cells)
	(Fx_display_visual_class, Fx_display_backing_store)
	(Fx_display_save_under): New functions.
	(x_screen_count, Vx_vendor, x_release, x_screen_height_mm)
	(x_screen_width_mm, Vx_backing_store, x_save_under, Vx_screen_visual)
	(x_visual_strings): Vars deleted.
	(Fx_open_connection): Don't init those vars.
	(syms_of_xfns): Set up new functions.
	Don't set up those vars as Lisp vars.
	Nor x-screen-width and x-screen-height.
d763 1
a763 1
Tue Mar 16 00:52:02 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d765 4
a768 9
        * cmds.c (overwrite_binary_mode): Deleted; this implements the
	wrong feature.
	(Qoverwrite_mode_binary): New variable.
	(internal_self_insert): If current_buffer->overwrite_mode is
	`overwrite-mode-binary', do as overwrite_binary_mode used to.
	(syms_of_cmds): Remove defvar of overwrite_binary_mode; initialize
	Qoverwrite_mode_binary.
	* buffer.c (syms_of_buffer): Doc fix for overwrite_mode.
	* buffer.h (struct buffer): Doc fix.
d770 1
a770 5
	Rename `live-window-p' to `window-live-p', for consistency with
	`frame-live-p'.
	* window.c (Fwindow_live_p): Renamed from Flive_window_p.
	* lisp.h (CHECK_LIVE_WINDOW): Change to use Qwindow_live_p.
	(Qwindow_live_p): Extern declaration renamed fom Qlive_window_p.
d772 2
a773 1
Tue Mar 16 00:21:38 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d775 1
a775 1
	* xmenu.c (xmenu_show): Do BLOCK_INPUT; unblock just before returning.
d777 1
a777 1
	* xterm.h [SIGIO] (UNBLOCK_INPUT): Resignal if x_pending_input.
d779 1
a779 1
Mon Mar 15 15:15:42 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d781 1
a781 3
	* frame.c (Fframe_height, Fframe_width): Fix doc strings to match
	those of the multi-frame versions in frame.el.  Accept an optional
	argument FRAME, also for consistency.
d783 1
a783 1
	* floatfns.c (logb): Add extern declaration for this.
d785 1
a785 1
	* floatfns.c (Flogb): Under SYSV, implement this using frexp.
d787 1
a787 1
Mon Mar 15 00:58:21 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d789 1
a789 1
	* ymakefile (dispnew.o): Depend on termhooks.h.
d791 1
a791 2
	* xmenu.c (list_of_items): Allow strings among the alist items;
	they make nonselectable lines.
d793 1
a793 1
Sun Mar 14 15:55:32 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d795 1
a795 3
	* dired.c (Fdirectory_files): Recompile MATCH (if specified) after
	expanding the file name and all; those might compile regexp of
	their own, and change searchbuf.
d797 1
a797 2
	* keyboard.h (internal_last_event_frame): This should be extern,
	dummy.
d799 2
a800 1
	* fns.c (Fy_or_n_p): Display the answer.
d802 1
a802 18
	Some VMS changes from Richard Levitte <levitte@@e.kth.se>:
	* [VMS] systime.h: Include vmstime.h.  VMS has the timezone
	variable and the tzname array.
	* s/vms.h: VMS does have select.
	mth$dmod is the same as Unix's drem.
	Use the time functions in vmstime.c.
	No need to rename the malloc routines if we're using GNU malloc.
	PURESIZE needs to be 330000.
	* vmstime.c, vmstime.h: New files.
	* systty.h: Don't try to initialize extern declarations under VAX C.
	* vmspaths.h (PATH_LOADSEARCH): Include EMACS_LIBRARY:[LOCAL-LISP]
	in PATH_LOADSEARCH.
	(PATH_EXEC): Use EMACS_LIBRARY:[LIB-SRC] instead of [ETC].
	* sysdep.c [VMS] (init_sys_modes): Don't allocate process_ef.
	[VMS] (queue_kbd_input): Build events structure correctly.
	[VMS] (gethostname): New function.
	[VMS] (getwd): Don't get the PATH environment variable; that's
	dumb.  Call getcwd.
d804 2
a805 1
Sun Mar 14 13:36:57 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d807 1
a807 4
	* xdisp.c (display_menu_bar): Assume FRAME_MENU_BAR_ITEMS already set.
	Fill out line with spaces.
	Put explicit spaces between items.
	* keyboard.c (command_loop_1): Set FRAME_MENU_BAR_ITEMS here.
d809 1
a809 1
	* window.c (Fdelete_other_windows): Handle FRAME_MENU_BAR_LINES.
d811 1
a811 1
	* keyboard.c (menu_bar_items): Reverse the list when done.
d813 1
a813 2
	* xmenu.c (single_keymap_panes): When storing in ENABLES,
	check def before enabled.
d815 1
a815 4
	* ymakefile (really-oldXMenu): Renamed from ${oldXMenudir}$(OLDXMENU).
	Add @@true.
	($(OLDXMENU)): Depend on really-oldXMenu.
	The idea is to make sure libXMenu11.a is always updated if nec.
d817 1
a817 2
	* keyboard.c (command_loop_1): Typo calling Qrecompute_lucid_menubar.
	(read_key_sequence): Likewise.  Also fix call to Vrun_hooks.
d819 4
a822 1
Sat Mar 13 21:12:00 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d824 1
a824 1
	* ymakefile (YMF_PASS_LDFLAGS): Doc fix.
d826 2
a827 1
Sat Mar 13 19:16:45 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d829 1
a829 1
	* print.c (PRINTPREPARE): Handle marker that points nowhere.
d831 1
a831 1
	* apollo.h (NO_X_DESTROY_DATABASE): Defined.
d833 1
a833 2
	* undo.c (record_property_change, record_delete, record_insert):
	Don't make boundary or touch last_undo_buffer if cur buf has no undo.
d835 3
a837 3
	* ymakefile [__GNUC__ > 1]: Delete the conditional for GCC 2.4.
	[__GNUC__ > 1] (LIB_GCC): Use -print-libgcc-file-name to find libgcc.a.
	(YMF_FIND_LIBGCC_A): Definitions and uses deleted.
d839 1
a839 1
Sat Mar 13 18:31:05 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d841 2
a842 1
	* s/usg5-4.h: Remove extraneous text after #undef LIB_X11_LIB.
d844 1
a844 1
Sat Mar 13 13:18:37 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d846 3
a848 9
	* xterm.c (Xatom_wm_change_state): Define here.
	* xfns.c (Xatom_wm_change_state): Just declare.
	(Xatom_emacs_selection, Xatom_clipboard, Xatom_clipboard_selection):
	(Xatom_wm_change_state, Xatom_incremental, Xatom_multiple):
	(Xatom_targets, Xatom_timestamp, Xatom_delete, Xatom_insert_selection):
	(Xatom_pair, Xatom_insert_property, Xatom_text): Decls deleted.
	(x_begin_selection_own): Decls deleted.
	(Fx_open_connection): Set up only the wm atoms here.
	Call Xatoms_of_xselect.
d850 1
a850 1
	* dispnew.c: Include termhooks.h.
d852 3
a854 1
	* frame.h (FRAMEP): Macro deleted.
d856 1
a856 1
	* xselect.c: Total rewrite, derived from Lucid's version.
d858 1
a858 2
	* keyboard.c (kbd_buffer_get_event): Handle selection_clear_event
	and selection_request_event events.
d860 1
a860 3
	* xterm.c (XTread_socket): Handle NEW_SELECTIONS alternative:
	queue events for SelectionRequest and SelectionClear;
	call functions for SelectionNotify and PropertyNotify.
d862 1
a862 2
	* termhooks.h (selection_request_event, selection_clear_event):
	New event kinds.
d864 1
a864 5
	* xterm.h (SELECTION_EVENT_DISPLAY): New macro.
	(SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
	(SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
	(SELECTION_EVENT_TIME): New macros.
	(struct selection_input_event): New structure.
d866 1
a866 3
	* process.c (wait_reading_process_input): New option to wait
	till a given cons cell has a non-nil car.
	Delete vipc conditionals.
d868 1
a868 1
Fri Mar 12 22:59:08 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d870 4
a873 4
	* ymakefile (YMF_FIND_LIBGCC_A): New macro, to help GCC find
	libgcc.a even when -nostdlib is in effect.  Define it to be the
	empty string if nobody else establishes a value for it.
	(temacs): Include it in the list of flags passed to the linker.
d875 1
a875 3
	* ymakefile (LINKER): If we have GCC 2.4 or later, use the
	-nostartfiles option instead of -nostdlib.
	(LIBGCC): Under GCC 2.4 or later, define this to be the empty string.
d877 1
a877 1
Fri Mar 12 15:55:24 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d879 2
a880 6
	* xmenu.c (xmenu_show): New arg enable_list.
	(keymap_panes): New arg enables
	(single_keymap_panes): New arg enables.  Fill in its contents.
	(list_of_panes, list_of_items): New arg enables.  Fill in contents.
	(Fx_popup_menu): Pass enable and enable_list args.
	(single_keymap_panes): Set enable flag to -1 if cmd definition is nil.
d882 3
a884 3
	* lisp.h (INTEGERP, SYMBOLP, MARKERP, STRINGP, VECTORP): New macros.
	(COMPILEDP, BUFFERP, SUBRP, PROCESSP, FRAMEP, WINDOWP): New macros.
	(WINDOW_CONFIGURATIONP, FLOATP): New macros.
d886 1
a886 1
Fri Mar 12 10:09:07 1993  Paul Eggert  (eggert@@twinsun.com)
d888 2
a889 2
	* cmd.c (internal_self_insert): Check that tab_width does not
	exceed 20, to be consistent with indent.c and xdisp.c.
d891 3
a893 1
Fri Mar 12 15:15:39 1993  Eric S. Raymond  (eric@@mole.gnu.ai.mit.edu)
d895 1
a895 3
	* term.c (CONDITIONAL_REASSIGN): fixed reference to tigetstr.
	This should have been tgetstr, but I typoed and tigetstr happens
	to link and even do the right thing if you're on a System V box.
d897 4
a900 1
Fri Mar 12 01:20:31 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d902 1
a902 4
	* keyboard.c (read_key_sequence): Support Vcurrent_menubar
	and Qactivate_menubar_hook.  Call Qrecompute_lucid_menubar.
	(syms_of_keyboard): Set up Vcurrent_menubar, Vprevious_lucid_menubar,
	Qactivate_menubar_hook, and Qrecompute_lucid_menubar.
d904 1
a904 2
	* xmenu.c (Fx_popup_menu): Allow a frame instead of a window, in arg.
	Use Fcar, Fcdr when extracting from event, to check data types.
d906 1
a906 1
Thu Mar 11 15:20:16 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d908 1
a908 3
	* frame.h (FRAME_MENU_BAR_ITEMS): New macro (two versions).
	(struct frame): New field menu_bar_items.
	* alloc.c (mark_object): Mark the menu_bar_items field.
d910 1
a910 2
	* xdisp.c (display_menu_bar): New function.
	(redisplay_window): Call display_menu_bar.
d912 1
a912 1
	* term.c (tigetstr): Add dummy definition to make Emacs link again.
d914 1
a914 5
	* keyboard.c (syms_of_keyboard): Set up Qmenu_bar.
	(menu_bar_items): New function.
	(menu_bar_one_keymap, menu_bar_item): New functions.
	(make_lispy_event): Handle menu bar events.
	(read_key_sequence): Make dummy prefix `menu-bar' for menu bar events.
d916 1
a916 1
Thu Mar 11 03:13:56 1993  Eric S. Raymond  (eric@@mole.gnu.ai.mit.edu)
d918 1
a918 4
	* term.c (fkey_table): Added many more keycap cookies to the
	fkey_table; it now supports the full intersection of the set of X
	keysyms and terminfo capabilities.  See my lisp directory
	ChangeLog entry for this date, and lisp/term/README, for details.
d920 1
a920 1
Thu Mar 11 02:22:33 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d922 1
a922 2
	* floatfns.c (Flogb): Fix use of IN_FLOAT.
	Fix arg names.  Don't confuse Lisp_Object with integer.
d924 1
a924 1
Thu Mar 11 00:50:47 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d926 8
a933 3
	* process.c (process_send_signal): In the TERMIOS code for sending
	control characters to processes, don't try to return Qnil; just
	return.
d935 4
a938 1
Thu Mar 11 00:32:11 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d940 2
a941 1
	* dispnew.c (change_frame_size): Handle FRAME_MENU_BAR_LINES.
d943 1
a943 2
	* frame.c (Fframe_parameters): Report menu-bar-lines parm.
	(syms_of_frame): Set up Qmenu_bar_lines.
d945 1
a945 2
	* frame.h (FRAME_MENU_BAR_LINES): New macro.
	(struct frame): New field menu_bar_lines.
d947 1
a947 7
	* xfns.c (x_frame_parms): Add elts for visibility and menu-bar-lines.
	(enum x_frame_parm): Likewise.
	(x_set_menu_bar_lines, x_set_menu_bar_lines_1): New functions.
	(x_set_visibility): New function.
	(Fx_create_frame): Handle menu-bar-lines parm.
	(x_report_frame_params): Report Qvisibility.
	(syms_of_xfns): Set up Qvisibility.
d949 1
a949 1
	* keyboard.c (command_loop_1): Typo in last change.
d951 2
a952 3
	* xmenu.c (syms_of_xmenu): Set up Qmenu_enable.
	(single_keymap_panes): Test menu-enable property of symbol
	to decide whether to include it in the menu.
d954 2
a955 1
Wed Mar 10 22:47:58 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d957 1
a957 2
	* keyboard.c (command_loop_1): Adjust to the fact that display
	tables are now vectors of vectors, not vectors of strings.
d959 2
a960 1
Wed Mar 10 09:17:39 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d962 1
a962 1
	* floatfns.c (Flogb): Undo the change of Feb 22.
d964 1
a964 2
	* ymakefile (OLDXMENU): Don't assume that we have symbolic links
	available; use `ln -f' instead of `ln -s'.
d966 1
a966 3
	* xterm.c (x_find_modifier_meanings): XDisplayKeycodes only
	appeared in X11R4; for earlier versions, just access the members
	of the Display directly.
d968 4
a971 3
	* xrdb.c (get_user_db): Since xrdb.c doesn't #include xterm.h,
	we can't test HAVE_X11R4 to see how we should get the resource
	manager string; cheat.
d973 1
a973 1
	* unexec.c (copy_text_and_data): Error message tweaked.
d975 1
a975 2
	* systime.h (timezone): Add an explicit declaration for this
	variable under USG 5-4.
d977 1
a977 2
	* sysdep.c (read_input_waiting): Set e.frame_or_window, not
	e.frame; the latter doesn't exist anymore.
d979 3
a981 3
	* sysdep.c (start_of_data): If ORDINARY_LINK is #defined, we don't
	have the data_start symbol defined, so we'll just use the address
	of environ.
d983 2
a984 7
	* s/usg5-4.h: Changes from Eric Raymond:
	If we're doing ordinary linking, define LIB_STANDARD appropriately.
	Give LIBS_DEBUG a null definition; usg5-4 has no -lg.
	#define LIBS_STANDARD as "-lc"; usg5-4 has no -lPW.
	#define NSIG, if it's not already defined.
	#define HAVE_TERMIOS instead of HAVE_TCATTR.
	Provide our own definition of LIB_X11_LIB.
d986 2
a987 2
	* s/usg5-3.h (LIBX11_SYSTEM): Eric Raymond says the libraries here
	were slightly wrong.
d989 1
a989 2
	* m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's no
	need to include `-lPW'; that has been merged with `-lc'.
d991 1
a991 4
	* emacs.c (__do_global_ctors, __do_global_ctors_aux,
	__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__, __main): Don't
	define these if ORDINARY_LINK is #defined; in that case, the
	standard linking procedure will find definitions for these.
d993 1
a993 3
	* syssignal.h (sigunblock): Add definition which works under SYSVr4.
	* emacs.c (fatal_error_signal): Unblock the signal which we're
	handling using sigunblock.
d995 1
a995 1
Tue Mar  9 11:06:26 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d997 1
a997 2
	* xfns.c (x_make_gc): Don't forget to block X input around the
	X calls in this function.
d999 1
a999 2
	* xfns.c [not HAVE_X11R4] (select_visual): It's v->visualid, not
	x->visualid.  x isn't defined.
d1001 1
a1001 3
	* m/template.h, s/template.h: Mention that `etc/MACHINES' and
	`configure' should be updated whenever support for a configuration
	is added or improved.
d1003 2
a1004 2
	* process.c [! subprocesses] (wait_reading_process_input):
	Remember to re-enable polling for input.
d1006 1
a1006 3
	* keyboard.c [POLL_FOR_INPUT] (quit_throw_to_read_char): If
	we're polling for input, abort; input polling should always be
	suppressed while we're waiting for input.
d1008 2
a1009 2
	* keyboard.c (interrupt_signal): Remove extern declaration of
	Vwindow_system; this is no longer used.
d1011 1
a1011 1
Tue Mar  9 03:35:20 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1013 1
a1013 1
	* editfns.c (Fcurrent_time_string): Optional arg specifies time.
d1015 3
a1017 1
	* keymap.c (Fdefine_key): Use proper meta-bit to clear.
d1019 1
a1019 2
	* intervals.c (set_point): Check invisibility of following character,
	not previous character.
d1021 1
a1021 1
	* floatfns.c (FLOAT_CHECK_ERRNO): Define unless NO_FLOAT_CHECK_ERRNO.
d1023 1
a1023 14
	* floatfns.c: Changes from Lucid.
	(HAVE_MATHERR, FLOAT_CHECK_ERRNO, FLOAT_CATCH_SIGILL): New parm macros.
	(FLOAT_CHECK_DOMAIN, HAVE_RINT): New parm macros.
	(HAVE_INVERSE_HYPERBOLIC, HAVE_CBRT): New parm macros.
	[!HAVE_RINT]: Define rint as macro.
	(IN_FLOAT): Major rewrite; several alternate versions.
	(IN_FLOAT2): New macro.
	(arith_error, range_error, domain_error, domain_error2): New macros.
	(Facos, Fasin, Fatan, Fcos, Fsin, Ftan, Fexp, Fexpt, Flog): Changed.
	(Flog10, Fsqrt, Fabs, Ffloat, Flogb): Changed.
	(Ffloor, Fceiling, Fround, Ftruncate): Changed.
	(Fcube_root): Renamed from Fcbrt.
	(matherr): New function.
	(float_error): Only if FLOAT_CATCH_SIGILL.
d1025 1
a1025 1
	* fns.c (Fy_or_n_p): Use query-replace-map.
d1027 2
a1028 6
	* keymap.c (access_keymap): Handle ints beyond the ASCII range.
	(store_in_keymap): Likewise.
	(Faccessible_keymaps): Use meta_modifier.
	Use vectors for the key sequences.
	(Fwhere_is_internal): Use meta_modifier.
	(append_key): Always return a vector.
d1030 1
a1030 2
	* lisp.h (Qrange_error, Qdomain_error, Qsingularity_error):
	(Qoverflow_error, Qunderflow_error): New vars.
d1032 1
a1032 3
	* data.c (syms_of_data) [LISP_FLOAT_TYPE]: Define new error conditions:
	Qarith_error, Qrange_error, Qdomain_error,
	Qsingularity_error, Qoverflow_error, Qunderflow_error.
d1034 4
a1037 1
Mon Mar  8 00:36:46 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1039 1
a1039 4
	* systty.h: Define HAVE_TCATTR based on HAVE_TERMIOS earlier.
	(struct emacs_tty): Separate the struct decl
	from the EMACS_..._TTY... macro definitions.
	Use HAVE_TCATTR to decide whether to use `struct termios'.
d1041 1
a1041 4
	* xfns.c (Fx_pixel_width, Fx_pixel_height): Fns deleted.
	(syms_of_xfns): Don't install them.
	(x_user_set_name): Function deleted.
	(x_char_height, x_char_width): New functions.
d1043 1
a1043 5
	* frame.c (Fframe_char_height, Fframe_char_width):
	(Fframe_pixel_height, Fframe_pixel_width):
	New functions, two versions of each.
	[MULTI_FRAME] (syms_of_frame): Make them Lisp functions.
	[!MULTI_FRAME] (syms_of_frame): Likewise.  Also Fselected_frame.
d1045 1
a1045 3
	* xterm.c (XTread_socket):
	Don't reverse the chars that XLookupString returns.  Use all of them.
	Save last 100 chars and keysyms in temp_buffer.
d1047 1
a1047 1
Sun Mar  7 18:41:34 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)
d1049 2
a1050 1
	* buffer.c (syms_of_buffer): Make erase-buffer a disabled command.
d1052 2
a1053 1
Sun Mar  7 00:30:27 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1055 3
a1057 2
	* ymakefile (keyboard.o): Depend on intervals.h.
	(keymap.o): Depend on termhooks.h.
d1059 2
a1060 2
	* keyboard.c: Include intervals.h.
	(read_key_sequence): Use get_local_map.
d1062 3
a1064 3
	* textprop.c (Fget_text_property): Use textget.
	(Fnext_single_property_change): Likewise.
	(Fprevious_single_property_change): Likewise.
d1066 1
a1066 3
	* intervals.c (textget): Handle categories.
	(get_local_map): New function.
	(verify_interval_modification): Call textget correctly.
d1068 1
a1068 2
	* textprop.c (syms_of_textprop): Set up Qcategory, Qlocal_map.
	* intervals.h: Declare those vars.  Declare textget, get_local_map.
d1070 1
a1070 6
	* keymap.c: Include termhooks.h.
	(push_key_description): Handle all modifiers.
	Handle large character codes.
	(Fkey_description): Move the meta bit, if arg is string.
	(Fsingle_key_description): Don't alter integer value.
	Make tem long enough.
d1072 1
a1072 2
	* keyboard.c (read_key_sequence):
	Use meta_modifier for meta keys when handling function_key_map.
d1074 1
a1074 3
	* lread.c (syms_of_lread): Set up Qascii_character.
	(Fread_char, Fread_char_exclusive): Use that property
	to convert symbols like tab, return, M-return,... to ASCII.
d1076 2
a1077 4
	* keyboard.c (follow_key): Downcase shift_modifier as well as ASCII.
	(command_loop_1): Run pre-command-hook and post-command-hook.
	Set this_command before running pre-command-hook.
	(syms_of_keyboard): Set up vars for those hooks.
d1079 1
a1079 3
	* buffer.c (reset_buffer_local_variables): Reset mark_active.
	(syms_of_buffer): New buffer-local var `mark-active'.
	(init_buffer_once): Initialize mechanism for it.
d1081 1
a1081 1
Sat Mar  6 14:54:40 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d1083 2
a1084 1
	* dispnew.c (init_display): Initialize Vwindow_system.
d1086 1
a1086 1
	* ymakefile (SHELL): No need to set this twice; remove one.
d1088 2
a1089 2
	* emacs.c (main): SIGIOT isn't defined on all systems; don't set
	its signal handler unless it is.
d1091 1
a1091 2
	* sysdep.c (init_baud_rate): Use input_fd, instead of fd; the
	latter is undefined.
d1093 1
a1093 3
	* dired.c (NAMLEN): Never use d_nameln to get the length of the
	directory entry's name; it is used inconsistently.  Always call
	strlen instead.
d1095 1
a1095 1
Sat Mar  6 01:18:03 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1097 1
a1097 2
	* keyboard.c (syms_of_keyboard): Handle gaps in modifier_names.
	(modifier_names): Reorder to match termhooks.h.
d1099 1
a1099 2
	* keyboard.c (parse_modifiers_uncached): Detect `s-', not `super-'.
	(apply_modifiers_uncached): Make `s-', not `super-'.
d1101 1
a1101 3
	* lread.c: Include termhooks.h.
	(read_escape): Handle \H, \A, \s.  Use ..._modifier.
	* ymakefile (lread.o): Depend on termhooks.h.
d1103 2
a1104 5
	* termhooks.h (alt_modifier, super_modifier, hyper_modifier):
	(shift_modifier, ctrl_modifier, meta_modifier):
	Renumber the bits.
	* keyboard.c (make_lispy_event): For ASCII event, the ..._modifier
	bits are the right bits to return.
d1106 1
a1106 2
	* keyboard.c (lispy_function_keys): Add codes starting at 0xff00
	and running through 0xffff.
d1108 1
a1108 5
	* xterm.c (x_alt_mod_mask, x_super_mod_mask, x_hyper_mod_mask):
	New variables.
	(x_find_modifier_meanings): Set them.
	(x_convert_modifiers): Check for them.
	(XTread_socket): Handle BackSpace, etc, function keys.
d1110 1
a1110 1
	* keyboard.c (read_char): Move metabit when fetching from string macro.
d1112 1
a1112 1
	* callint.c (check_mark): Error if mark is not active.
d1114 1
a1114 5
	* editfns.c (save_excursion_save): Save mark_active of buffer.
	(save_excursion_restore): Restore mark_active of buffer.
	Run activate-mark-hook if it's on, or deactivate-mark-hook
	if it turns off.
	(region_limit): Error if mark inactive, if transient-mark-mode.
d1116 1
a1116 1
	* insdel.c (prepare_to_modify_buffer): Set Vdeactivate_mark.
d1118 4
a1121 4
	* keyboard.c (command_loop_1): Clear Vdeactivate_mark before cmd.
	Clear mark_active if command set Vdeactivate_mark.
	Run deactivate-mark-hook at that time, or activate-mark-hook.
	(syms_of_keyboard): Define variable deactivate-mark.
d1123 3
a1125 2
	* buffer.c (syms_of_buffer): New buffer-local var `mark-active'.
	(init_buffer_once): Initialize mechanism for it.
d1127 2
a1128 1
	* buffer.h (struct buffer): New field mark_active.
d1130 1
a1130 4
	* intervals.c (verify_interval_modification): Handle insertions
	specially.  For non-insertions, check only the chars being changed.
	`modification-hooks' property is now a list of functions.
	(set_point): Ignore chars outside current restriction.
d1132 2
a1133 2
	* textprop.c (Qmodification_hooks): Renamed from Qmodification.
	(syms_of_textprop): Changed accordingly.
d1135 1
a1135 4
	* keyboard.c (syms_of_keyboard): New lisp var unread-command-char.
	(Finput_pending_p): Test unread_command_char.
	(Fdiscard_input, quit_throw_to_read_char, init_keyboard): Set it.
	(read_char): Fetch from it.
d1137 1
a1137 1
Fri Mar  5 02:17:23 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d1139 1
a1139 4
	* textprop.c (Fadd_text_properties): Initialize the modified flag.
	Use a "for (;;)" loop at the end of the function, to indicate that
	all exiting is taken care of inside the loop.
	(Fremove_text_properties): Same.
d1141 1
a1141 1
Fri Mar  5 01:48:38 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1143 1
a1143 1
	* ymakefile (LIB_MATH): Delete -lc, since duplicates LIB_STANDARD.
d1145 1
a1145 4
	* buffer.c (check_protected_fields): Variable deleted.
	(syms_of_buffer): Delete vars buffer-field-list
	and check-protected-fields.
	* insdel.c (check_protected_fields): Delete decl.
d1147 1
a1147 3
	* disptab.h (DISP_INVIS_VECTOR): Renamed from DISP_INVIS_ROPE.
	(DISP_CHAR_VECTOR): Renamed from DISP_CHAR_ROPE.
	All callers changed. 
d1149 1
a1149 5
	* xdisp.c (copy_rope): Expect FROM to be a vector.
	(copy_part_of_rope): New function.
	(display_string): Expect display table elts to be vectors.
	* indent.c (current_column, Fmove_to_column, compute_motion):
	Expect display table elts to be vectors.
d1151 2
a1152 1
	* alloc.c: (Fmake_rope, Frope_elt): Fns deleted.
d1154 1
a1154 1
	* lisp.h (CHAR_META, CHAR_SHIFT, CHAR_CTL): New macros.
d1156 1
a1156 2
	* lread.c (read_escape): Handle M-, C- and S- for new convention.
	(read1): Move the meta bit to the right place for a string.
d1158 1
a1158 2
	* keyboard.c (Fthis_command_keys, Fread_key_sequence):
	Fix calls to make_event_array.
d1160 1
a1160 1
	* macros.c (Fend_kbd_macro): Fix call to make_event_array.
d1162 1
a1162 2
	* alloc.c (make_event_array): Renamed from make_array.
	Chars that fit in a string are 0...127 and their meta variants.
d1164 1
a1164 8
	* keyboard.c (make_lispy_event): Put meta and shift modifiers
	into an integer.
	(read_avail_input): Set the modifiers field in the events read.
	(kbd_buffer_get_event): Pass thru integer event untruncated.
	(read_char): Likewise.
	(read_key_sequence, read_char): Only -1 means EOF.
	(kbd_buffer_store_event): Don't ignore 0200 bit in quit char.
	(follow_key): Use new meta bit flag.
d1166 2
a1167 1
	* xterm.c (XTread_socket): Set bufp->modifiers for all kinds of keys.
d1169 1
a1169 2
	* keymap.c (Flookup_key): Use 0x800000 as meta-bit if from vector.
	(Fdefine_key): Likewise.
d1171 1
a1171 1
Thu Mar  4 14:48:55 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1173 1
a1173 4
	* dgux.h (ELF): Handle this parameter.
	[! COFF] (UNEXEC, USG_SHARED_LIBRARIES): New definitions.
	(_BSD_TTY_FLAVOR): Don't define if already defined.
	(C_COMPILER, LINKER, MAKE_COMMAND): New definitions.
d1175 1
a1175 1
Thu Mar  4 13:01:24 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d1177 2
a1178 2
	* keyboard.c (Fsuspend_emacs): Remember that `suspend-hooks' isn't
	necessarily bound.
d1180 1
a1180 1
Thu Mar  4 10:15:47 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1182 1
a1182 1
	* Makefile.in (xmakefile): Add missing quote.
d1184 1
a1184 1
Wed Mar  3 10:11:08 1992  Wilson H. Tien  (wtien at urbana.mcd.mot.com)
d1186 1
a1186 4
	* unexelf.c (unexec): Move data2 section header up so all section
	headers will be in ascending order.  This will prevent the unexeced
	emacs that being processed by other applications (such as strip) 
	to fail.
d1188 2
a1189 1
Tue Mar  2 17:18:20 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1191 1
a1191 7
	* s/isc2-2.h (S_IFLNK): Add #undef.
	(C_SWITCH_SYSTEM): Add conditional definition.
	(NO_ASM, USE_UTIME, NO_X_DESTROY_DATABASE): Defined.
	(LIB_STANDARD): Alternate definition if __GNUC__.
	(SIGTSTP): #undef deleted.
	(LIBS_SYSTEM): Define only if HAVE_X_WINDOWS.
	* s/isc3-0.h: New file.
d1193 2
a1194 2
	* unexelf.c: Handle rounding of section boundaries.
	(round_up): New function.
d1196 1
a1196 1
Tue Mar  2 13:39:40 1993  Karl Berry  (karl@@cs.umb.edu)
d1198 1
a1198 1537
        * s/isc2-2.h (USG_SHARED_LIBRARIES, CLASH_DETECTION, NO_FCHMOD):
        Define.
        (HAVE_TIMEVAL): Do not define.
        (NO_ASM): Only define once.

Tue Mar  2 00:59:29 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* print.c (float_to_string): Define buf to be an unsigned char, to
	match the data field of strings.

	* keyboard.c (kbd_buffer_get_event): Protect assignment to
	Vlast_event_frame in a "#ifdef MULTI_FRAME" clause.

	* syntax.c (describe_syntax_1): Delete excess arg to describe_vector.
	(check_syntax_table): Delete excess arg to wrong_type_argument.

Mon Mar  1 22:10:54 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* buffer.c (buffer-undo-list): Doc fix.

	* xdisp.c (redisplay): Protect calls to request_sigio and
	unrequest_sigio in "#ifdef SIGIO" clauses; these are not defined 

	* cmds.c (Fnewline): Doc fix.

Mon Mar  1 00:46:05 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* insdel.c (del_range): Update point before offset_intervals.

	* intervals.h: Don't include dispextern.h more than once.
	(INTERVAL_VISIBLE_P): NILP test was backwards.

	* intervals.c (intervals_equal): Handle one arg null and other not.
	(set_point): Considerable rewrite.  Handle intervals both
	before and after the old and new point values.
	Redo handling of invisible intervals, and of motion hooks.
	(textget): New function.

	* textprop.c (Fadd_text_properties, Fremove_text_properties):
	Add len>0 as condition for main loop.
	Abort if reach a null interval.
	(Fset_text_properties): Abort if reach a null interval.
	(Ftext_properties_at, Fget_text_property):
	Return nil if POS is end of OBJECT.
	(add_properties): Use NILP to test result of Fequal.
	No longer inline.
	(remove_properties): No longer inline.
	(set_properties): Total rewrite as function.
	(validate_interval_range): Don't alter *begin at end of buffer.
	But do search for a position just before the end.
	Return null for an empty string.

Sun Feb 28 13:59:59 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Makefile.in (emacs, temacs): Add @@true to prevent Make confusion.

	* lread.c (read1--strings with properties case):
	Detect end of list, and invalid syntax, using recursive read1 calls.

	* intervals.c (graft_intervals_into_buffer):
	create_root_interval needs Lisp object arg.
	Set tree to new root interval.
	Don't test TREE_LENGTH if buffer has no intervals.
	Rearrange code to copy properties so that it really
	does merge the inserted ones into the inherited ones.
	(traverse_intervals): Pass `arg' on recursive calls.
	(split_interval_left): Use new_length as basis for length of new.

	* print.c (print--string case):
	Any non-null interval means print intervals.
	Get rid of var obj1; just use obj.

	* textprop.c (validate_interval_range): Allow 0 as position in string.
	Add 1 to specified string positions.
	(Fprevious_single_property_change): Subtract 1 if object is string.
	(Fnext_single_property_change): Likewise.
	(Fprevious_property_change, Fnext_property_change): Likewise.

	* xterm.c (x_do_pending_expose, XTframe_rehighlight):
	(x_window_to_scrollbar): Use XGCTYPE.

Sun Feb 28 00:41:56 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	Use the term `scroll bar', instead of `scrollbar'.
	* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
	lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
	xterm.c, xterm.h: Terminology changed.

        Don't generate switch-frame events by checking Vlast_event_frame;
	use a separate variable for that bookkeeping.  In order to
	generate them properly, we may need to fiddle with it.
	* keyboard.c (internal_last_event_frame): New variable.
	(command_loop_1): Check internal_last_event_frame, not
	Vlast_event_frame.
	(read_char, kbd_buffer_store_event): Set both Vlast_event_frame and
	internal_last_event_frame.
	(kbd_buffer_get_event): Check internal_last_event_frame to decide
	whether to generate a switch-frame event.  Set Vlast_event_frame
	after each event.
	(init_keyboard): Initialize both Vlast_event_frame and
	internal_last_event_frame.
	* keyboard.h (internal_last_event_frame): Add extern declaration
	for this.
	* frame.c (Vlast_event_frame): Remove external declaration for
	this.
	(Fselect_frame): Set internal_last_event_frame to Qnil to force a
	switch-frame event, not Vlast_event_frame; the latter is supposed
	to convey information to the user.

	* keyboard.c (syms_of_keyboard): Doc fix for unread_command_events.

Fri Feb 26 16:09:11 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (syms_of_keyboard): Doc fix.

Fri Feb 26 05:06:59 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* ymakefile (LIBES): Exchange the order of LIB_MATH and
	LIB_STANDARD, to avoid duplicated symbols under SunOS.

	* buffer.c (syms_of_buffer): Add the extra argument to the
	commented-out DEFVAR_PER_BUFFER for `mode-line-format', so
	make-docfile will find the docstring properly.

Thu Feb 25 15:03:28 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* ymakefile (intervals.o): Dep on intervals.c, not textprop.c.

	* textprop.c (remove_properties): Call modify_buffer.
	(add_properties): Likewise.

	* undo.c (record_property_change): Typo in last change.

	* cmds.c (syms_of_cmds): Typo in last change.

	* print.c (print): Never declare OBJ arg as `register'.
	Special handling for strings with intervals.
	(print_intervals): New function.
	* lread.c (read1): Handle reading strings with properties.

	* intervals.c (traverse_intervals): New arg ARG.
	* alloc.c (mark_interval): Add ignored arg.
	(mark_interval_tree): Pass new arg to traverse_intervals.

Wed Feb 24 23:26:45 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* xterm.c (x_window_to_scrollbar, x_scrollbar_expose,
	x_scrollbar_handle_click, x_scrollbar_note_movement): Remember
	that these can be called during GC; we have to ignore mark bits.
	* lisp.h (GC_NILP, GC_EQ): New macros to help with that.

	* print.c (float_to_string): Define buf to be an unsigned char, to
	match the data field of strings.

	* lisp.h (RETURN_UNGCPRO): Remove "do ... while (0)" wrapper
	around macro.

	* data.c (Fstring_to_number): Declare p to be an unsigned char, to
	match the data field of strings.

	* data.c (Fstring_to_number): Just skip tabs and spaces; don't use
	the <ctype.h> macros.  The <ctype.h> stuff apparently varies from
	locale to locale more than we'd like.  Don't include <ctype.h>.

Wed Feb 24 18:38:45 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* buffer.c (Ferase_buffer): Added interactive spec.

Wed Feb 24 03:54:21 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* undo.c (Fprimitive_undo): Handle property-change undo entry.
	(record_property_change): New function.

	* textprop.c (Fadd_text_properties): Pass new arg to add_properties.
	(Fremove_text_properties): Likewise.
	(add_properties, remove_properties): New arg OBJECT.  Record undo info.
	(Fput_text_property): New function.

	* buffer.c (syms_of_buffer): Doc fix.

	* cmds.c (syms_of_cmds): New var `overwrite-binary-mode'.
	(internal_self_insert): Handle that var.

Tue Feb 23 13:49:15 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (read_avail_input): Args to `kill' were backwards.

Tue Feb 23 03:35:25 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* alloc.c (make_pure_float): Assure that PUREBEG + pureptr is
	aligned, not pureptr itself.

	* emacs.c (fatal_error_signal): Unblock the signal before we try
	to deliver it to ourselves. #include "syssignal.h" to get the
	right definitions.

	* abbrev.c (Fexpand_abbrev): Only copy the text we're going to
	expand - from wordstart to wordend, not from wordstart to point -
	into the buffer.  There might be non-word text between wordend and
	point.

Tue Feb 23 00:46:43 1993  Richard Stallman  (rms@@geech.gnu.ai.mit.edu)

	* unexec.c (adjust_lnnoptrs): Handle symentry.n_type == 0x2400.
	(make_hdr) [USG_SHARED_LIBRARIES]: Set bias using bss_start.

Mon Feb 22 01:51:49 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* process.c: Make sure we don't miss processes exiting, by having
	the sigchld handler clear *input_available_clear_time.
	(wait_reading_process_input): Check for process activity after
	setting the timeout and calling set_waiting_for_input.
	(sigchld_handler): If the process which has exited is one we care
	about, clear *input_available_clear_time.

	* frame.c (Fselect_frame): Set Vlast_event_frame to Qnil after
	switching frames, to make sure we'll get a switch-frame event.
	(Vlast_event_frame): Add external declaration for this here.

	* alloc.c (make_pure_float): Align pureptr according to __alignof,
	if it's available, or sizeof (struct Lisp_Float) if it's not.

	* .gdbinit (xprocess): New command.

	* floatfns.c (Flogb): Always implement this by calling Flog, even
	on non-USG systems, which supposedly have a logb function.
	(Fround): Always implement this by calling floor, even on systems
	that have rint.

	* process.c (process_send_signal): Use TERMIOS functions in
	preference to BSD ioctls.  Some systems attempt to provide the BSD
	functions for backward compatibility, and get it wrong.

	* data.c (Fstring_to_number): Skip initial spaces, to make Emacs
	lisp parse consistently on different operating systems.
	#include <ctype.h> to help with this.

	* data.c (Fstring_to_int): Rename this to Fstring_to_number, since
	it parses floats as well as integers.  Fix docstring.
	(syms_of_data): Fix defsubr.
	(wrong_type_argument): Change use.
	(Fint_to_string): Doc fix.
	* lisp.h (Fstring_to_int): Change extern declaration.

Mon Feb 22 01:37:03 1993  Charles Hannum  (mycroft@@hal.gnu.ai.mit.edu)

	* ibmrs6000.h (C_ALLOCA, STACK_DIRECTION): Only define if HAVE_ALLOCA
	is not defined.
	(X_DEFAULT_FONT): Change to `fixed', as `Rom14.500' only works on the
	console.

	* aix3-1.h: Changes from 18.58.
	(HAVE_TERMIOS): Changed from HAVE_TERMIO.
	(unix): Define.

	* sysdep.c (child_setup_tty): Recognize HAVE_TERMIOS as well as
	HAVE_TERMIO.

	* xrdb.c (getuid): Remove declaration.

	* systty.h [HAVE_TERMIOS]: Include fcntl.h.

	* systime.h [_AIX]: Move test outside of previous #if.
	(EMACS_GET_TZ_OFFSET) [USG]: Don't declare twice.  Prefer tzset.

	* keyboard.c (init_keyboard): Recognize HAVE_TERMIOS as well as
	HAVE_TERMIO.

	* aix3-2.h: New file.  Specifies difference between AIX 3.1 and 3.2.

Sat Feb 20 12:35:48 1993  Richard Stallman  (rms@@wookumz.gnu.ai.mit.edu)

	* keyboard.c (Fsuspend_emacs): Make tem not register.

	* syntax.c (Fforward_comment): New function.

	* search.c (Fskip_syntax_backward): New function.
	(Fskip_syntax_forward): Likewise.
	(skip_chars): New argument syntaxp.

	* alloc.c (Fmemory_limit): Doc fix.

Fri Feb 19 00:43:36 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (Fsuspend_emacs): Rename suspend-hook to suspend-hooks
	and run it manually.

	* keymap.c (describe_map): Call Fkey_description before build_string.

Thu Feb 18 01:26:01 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (Fopen_dribble_file): Doc fix.

	* lread.c (syms_of_lread): Doc fix.

Thu Feb 18 00:20:49 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* textprop.c (Fget_text_property): Fix typo in function's declaration.

	* floatfns.c (IN_FLOAT): Make this work properly when SIGTYPE is void.

	* alloc.c: Add description lines to the top of each page.

	* alloc.c (mark_interval_tree): Remove spurious & in front of
	function name.

	* alloc.c (UNMARK_BALANCE_INTERVALS): Fix to accomodate compilers
	other than GCC, which do not allow casts on the LHS of an
	assignment.

	* config.h.in: #define USE_TEXT_PROPERTIES by default.

	* alloc.c (mark_object, mark_buffer): Remove some unused
	variables.

	* buffer.c (Fswitch_to_buffer): Pass the correct number of
	arguments to Fnext_window.

	* buffer.c (Fbury_buffer): Pass the correct number of arguments to
	Fother_buffer.

	* bytecode.c (Fbyte_code): Pass the correct number of arguments to
	temp_output_buffer_show.

	* callint.c (Fcall_interactively): Pass the correct number of
	arguments to wrong_type_argument.
	* casefiddle.c (caseify_object): Same.
	* casetab.c (check_case_table): Same.
	* search.c (Fstore_match_data): Same.
	* syntax.c (check_syntax_table): Same.

	* callproc.c (delete_temp_file): Declare this to return
	Lisp_Object, to smooth type-checking.

	* data.c (wrong_type_argument): Pass the correct number of
	arguments to Fstring_to_int.

	* data.c (arithcompare): Add a default case which aborts, just to
	make me happy.

	* dispnew.c (sit_for): Pass the correct number of arguments to
	gobble_input.

	* editfns.c (Fmessage): Don't forget to return a value when
	args[0] == Qnil.

	* fns.c (Fequal): Call internal_equal to recurse on elements of
	lists and vectors, not Fequal.

	* frame.c (Fdelete_frame): If FRAME is a dead frame, return Qnil,
	not nothing.

	* keyboard.c (echo_char): Apply XINT to c before passing it to
	push_key_description.

	* keyboard.c (recursive_edit_1, command_loop_1): Pass the proper
	number of arguments to unbind_to.
	* lread.c (Feval_buffer): Same.
	* window.c (Fscroll_other_window): Same.

	* keyboard.c (command_loop_1): Apply XINT to c before passing it
	to internal_self_insert and direct_output_for_insert.

	* keyboard.c (make_lispy_movement): Rename the variable `part'
	declared in the block handling scrollbar movement to `part_sym',
	to avoid potential conflicts with the argument named `part'.
	Apparently the semantics of expressions like this are unclear.

	* keyboard.c (Fread_key_sequence): Backslash the newlines in this
	docstring.
	* textprop.c (Fget_text_property): Same.

	* keymap.c (Fdescribe_vector): Pass the proper number of arguments
	to describe_vector.
	* syntax.c (describe_syntax_1): Same.

	* minibuf.c (Fdisplay_completion_list): Pass the proper number of
	arguments to Flength.
	* xmenu.c (list_of_items): Same.

	* window.c (Fset_window_configuration): Pass the proper number of
	arguments to Fselect_frame.

	* xfns.c (x_set_icon_type): Pass the proper number of arguments to
	x_bitmap_icon.

	* xterm.c (XTread_socket): Pass the proper number of arguments to
	construct_mouse_click.

	* config.h.in (HAVE_CONST): New macro.  If it's not #defined, #define
	const to be the empty string.

	* config.h.in: If we're not __STDC__, define volatile to be the
	empty string.

	* buffer.h: Remove code which #includes "undo.h" if lint is
	defined.  undo.h no longer exists.

	* buffer.c (buffer_slot_type_mismatch): Make symbol_name an
	unsigned char *, to match the type of a string's data.

Wed Feb 17 22:39:49 1993  Michael I Bushnell  (mib@@geech.gnu.ai.mit.edu)

	* process.c (Fstart_process): Jimb's change of December 11
	had a misplaced paren.  This only became apparent because of
	jimb's change on February 8 to Fexpand_file_name.
	* callproc.c (Fcall_process): Ditto.

Wed Feb 17 16:27:39 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* callproc.c (init_callproc): Move the initialization of
	Vprocess_environment to its own function.
	(set_process_environment): This is that.
	* emacs.c (main): Call set_process_environment earlier than
	init_callproc.

Sun Feb 14 18:07:29 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c (Frename_buffer): Make prefix arg set UNIQUE.

Sun Feb 14 08:33:24 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* xterm.c (x_set_window_size): Call change_frame_size instead of
	just setting the `rows' and `cols' members of the frame, and
	leaving the window tree in complete disarray.

	* dispnew.c (remake_frame_glyphs): When re-allocating the frame's
	message buffer when echo_area_glyphs is pointing at it, relocate
	echo_area_glyphs too.  Same for previous_echo_glyphs.
	* window.h (previous_echo_glyphs): Add extern declaration for this.

	* frame.c (Fframe_parameters): Report the `minibuffer' parameter of
	minibufferless frames as nil, not `none'.
	(Qnone): Remove declaration and initialization for this.  It's not
	needed anymore.
	* xfns.c (Qnone): Add them here; we still accept "none" as a valid
	value for the `minibuffer' parameter.

	* xfns.c (x_frame_params): Remember that the parameters are called
	"auto-raise" and "auto-lower", not "autoraise" and "autolower".

	* xdisp.c (message): Set echo_frame to the frame whose message buf
	we want to use, not to the message buf itself.

Sat Feb 13 06:34:00 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* textprop.c (Fadd_text_properties): Put OBJECT arg last.
	Make it optional.
	(Fset_text_properties, Fremove_text_properties): Likewise.
	(Fnext_single_property_change, Fprevious_single_property_change): 
	(Fnext_property_change, Fprevious_property_change): Likewise.
	(Ferase_text_properties): #if 0.
	(Fget_text_property): New function.

	* s/irix4-0.h (C_SWITCH_MACHINE): Don't define if GCC.

Sat Feb 13 03:21:57 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* s/usg5-4.h: #include "usg5-3.h", not "s-usg5-3.h".

Thu Feb 11 21:04:37 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* xterm.c (x_io_error_quitter): New function.
	(x_error_quitter): Note that this is only used for protocol
	errors now, not I/O errors.
	(x_term_init): Set the I/O error handler to x_io_error_quitter.

Thu Feb 11 18:20:27 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* editfns.c (Finsert_buffer_substring): Proper error for non-ex buffer.
	(Fcompare_buffer_substrings): Likewise.

Wed Feb 10 01:38:55 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* fileio.c (Fdo_auto_save): If NO_MESSAGE is non-nil, don't tell
	users that buffers have shrunk a lot.  This is called when Emacs
	is crashing, so we don't want to run any code that isn't
	absolutely necessary.  Also, autosave buffers which don't have
	specially handled autosave file names first.

Wed Feb 10 01:33:46 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* editfns.c (Fcompare_buffer_substrings): Ignore case
	if case-fold-search is non-nil.

Mon Feb  8 10:28:52 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* keymap.c (Flookup_key, Fkey_binding, Flocal_key_binding,
	Fglobal_key_binding, Fminor_mode_key_binding): Add a new optional
	argument ACCEPT_DEFAULT, to control whether this function sees
	bindings for t.
	(Fwhere_is_internal, describe_map_tree, describe_map_2,
	describe_vector): Pass the proper arguments to Flookup_key.

	* fileio.c (Fexpand_file_name): Pass DEFALT through
	Fexpand_file_name before using it.

	* fileio.c (Fexpand_file_name): Doc fix.

Sun Feb  7 20:26:44 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* xdisp.c (message): Use the message buffer of the frame we're
	going to display the message on to format the message, not that of
	the selected frame.

Sun Feb  7 00:31:01 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Makefile (emacs, temacs): Add no-op commands to these rules.

	* dispnew.c (char_ins_del_cost): Use FRAME_WIDTH, not FRAME_HEIGHT.

	* editfns.c (Fcompare_buffer_substrings): New function.

Sat Feb  6 19:23:03 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (extra_keyboard_modifiers): New Lisp var.
	(read_char): Support ctl and meta bits in extra_keyboard_modifiers.
	* xterm.c (XTread_socket): Support extra_keyboard_modifiers.

Fri Jan 29 16:30:56 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* window.c (Fscroll_left, Fscroll_right): Don't forget to apply
	XWINDOW to selected_window before passing it to window_internal_width.

	* xmenu.c (Fx_popup_menu): Don't forget to turn the frame-relative
	coordinates for the menu position into root-window-relative
	coordinates.

	* lread.c (read1): Although digits followed by a '.' are an
	integer, a single . by itself (like, say, \.) should be a symbol.

Mon Jan 25 22:04:43 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* fns.c (internal_equal): Protect the clause for comparing numbers
	of different types with a "#ifdef LISP_FLOAT_TYPE".

Mon Jan 25 15:05:47 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/hpux8.h [__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
	[__GNUC__] (ORDINARY_LINK): Defined.

	* m/sparc.h [TERMINFO]: Don't define LIBS_TERMCAP.

Mon Jan 25 11:37:34 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

        `live-frame-p' has become `frame-live-p'.
	* frame.c (Qlive_frame_p): Renamed to Qframe_live_p.
	(Flive_frame_p): Renamed to Fframe_live_p.
	(syms_of_frame): Defsubrs and initializations adjusted.
	* frame.h (CHECK_LIVE_FRAME): Use Qframe_live_p, not Qlive_frame_p.
	(Qlive_frame_p): Changed extern declaration to Qframe_live_p.

	* lread.c (read1): Treat a string of digits ending in a period as
	an integer.

	Turn `first-change-function' into `first-change-hook'.
	* buffer.c (Vfirst_change_function): Renamed to Vfirst_change_hook.
	(Qfirst_change_hook): New symbol, for passing to Vrun_hooks.
	(syms_of_buffer): Change DEFVAR; initialize Qfirst_change_hook.
	* buffer.h (Vfirst_change_function): Renamed to Vfirst_change_hook.
	(Qfirst_change_hook): Added declaration.
	* insdel.c (signal_before_change): Change references to
	Vfirst_change_function, and apply Vrun_hooks to
	Qfirst_change_hook, instead of just calling Vfirst_change_function
	directly.

	x-selection-value has been renamed to x-selection.
	x-own-selection has been renamed to x-set-selection, and the order
	of its arguments has been reversed, for consistency with other
	lisp functions like put and aset.
	* xselect.c (Fx_own_selection): Rename to Fx_set_selection, 
	reverse the order of the args, and therefore make the type
	non-optional.  Doc fix.
	(Fx_selection_value): Rename to Fx_selection; make the type
	argument non-optional, for symmetry with Fx_set_selection.  Doc
	fix.
	(syms_of_xselect): Adjusted.

	* xselect.c (Fx_own_selection, Fx_selection_value): Remove "#if
	0"'ed code which made cut buffers look like a special selection
	type.

	* xfns.c (Vx_selection_value): Removed extern declaration for
	this; it's never used.

	* data.c (Fcompiled_function_p): Renamed to Fbyte_code_function_p.
	(syms_of_data): Adjusted.

	* data.c (Fnumberp, Fnumber_or_marker_p): Use the NUMBERP macro,
	instead of writing it out.

	* fns.c (internal_equal): If the operands are both numbers,
	compare them numerically, so that (equal 1.0 1) => t.
	Compare Lisp_Compiled objects like vectors.

	Add lisp functions to raise and lower frames.
	* termhooks.h (frame_raise_lower_hook): New hook.
	* term.c (frame_raise_lower_hook): Define it.
	* frame.c (Fframe_to_front, Fframe_to_back): New functions.
	(syms_of_frame): defsubr them.
	* xterm.c (XTframe_raise_lower): New function.
	(x_term_init): Set frame_raise_lower_hook to XTframe_raise_lower.

	* frame.c: Doc fixes.

Sun Jan 24 16:28:34 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	Make the cursor style a frame parameter.
	* xterm.h (struct x_display): Rename the `text_cursor_kind' member
	to `current_cursor'; add new member `desired_cursor'.
	(FRAME_DESIRED_CURSOR): New accessor for new member.
	* xterm.c (x_display_bar_cursor): Rewritten so as not to damage
	the characters the cursor is displayed over, and to handle
	transitions between box and bar styles.
	(x_display_bar_cursor, x_display_box_cursor): Use current_cursor
	instead of text_cursor_kind.
	(Vbar_cursor): Delete external declaration.
	(x_display_cursor): Use the FRAME_DESIRED_CURSOR accessor instead
	of Vbar_cursor to decide how to draw the cursor.
	* xfns.c (Vbar_cursor): Remove definition.
	(Qbar, Qbox, Qcursor_type): New symbols. 
	(syms_of_xfns): Init and staticpro them; remove DEFVAR for
	Vbar_cursor.
	(x_set_cursor_type): New setter.
	(x_frame_parms): Add it to the list.
	(Fx_create_frame): Get default values for the cursor type.

	* frame.c (Fmouse_position): Pass the appropriate arguments to
	*mouse_position_hook; the protocol was changed, but this caller
	wasn't fixed.

	* xterm.c (XTclear_frame): Call x_scrollbar_clear.
	(x_scrollbar_clear): New function.

	* xterm.c (XTflash): Totally rewritten.  Only defined if
	HAVE_TIMEVAL and HAVE_SELECT are defined, since we use select for
	our timing.
	(timeval_subtract): New function, to help XTflash.
	(x_invert_frame): Removed.  This didn't work anyway.
	(XTring_bell): Remove "#if 0" around call to XTflash, and remove
	calls to x_invert_frame.  If both HAVE_TIMEVAL and HAVE_SELECT
	aren't defined, then just do the ordinary beep.

	* window.c (Fscroll_other_window): Prefer windows on the selected
	frame, then look for windows on other visible frames.

	* keyboard.c (Fmouse_click_p): Removed; with the 'e' spec, this
	isn't necessary anymore.
	(syms_of_keyboard): Remove defsubr for it.
	* keyboard.h (Fmouse_click_p): Remove extern declaration for it.

	* xfns.c (gray_bits): Remove this declaration; the same data is in
	<X11/bitmaps/gray>.  #include that instead.
	[not HAVE_X11] (x_set_border_pixel): Use gray_width and
	gray_height, instead of assuming that the bitmap is 16x16.
	(x_make_gc): Instead of creating a pixmap and then calling
	XPutImage to make it into a grey stipple, just call
	XCreatePixmapFromBitmapData to do it all at once.

	* xterm.c (x_text_icon): Move the request for font information
	into the "not HAVE_X11" part of the function; the X11 code doesn't
	need this.

	* xterm.c (x_wm_set_icon_pixmap): Instead of setting the
	icon_pixmap to None, just remove IconPixmapHint from the flags of
	the XWMHints structure.

	* window.c (Fprevious_frame): Use prev_frame when we get to the
	end of the current frame, not next_frame.  Doc fix.
	* frame.c (prev_frame): Remove "#if 0" from this function.  It
	turns out we do need it, to make prev_frame work right.

	* frame.c (next_frame): Check that FRAME is a live frame.

	* frame.c (Fselect_frame): Remove "#ifdef MULTI_FRAME" clause
	around the code which calls Ffocus_frame; this code is already
	inside an "#ifdef MULTI_FRAME" clause.
	(next_frame, prev_frame, Fnext_frame): For the same reasons,
	remove the "#ifdef MULTI_FRAME" clause around these functions.

	unread-command-event has been replaced by unread-command-events.
	* commands.h (unread_command_event): Change extern declaration.
	* keyboard.c (unread_command_event): Change the definition.
	(syms_of_keyboard): Change DEFVAR, and adjust the docstring.
	(command_loop_1, read_char, Finput_pending, Fdiscard_input,
	quit_throw_to_read_char, init_keyboard): Change to use
	unread_command_events, with the new semantics.
	* lread.c (read_char): Same.
	* minibuf.c (temp_echo_area_glyphs): Same.
	* xterm.c (unread_command_event): Remove external declaration for
	this; it is only used by obsolete code.

	* Makefile.in: Some makes can't handle comments in the middle of
	commands; move them to before the whole rule.

Thu Jan 21 22:51:37 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* keyboard.c (make_lispy_event): When handling a mouse click event
	on a window, change x and y from screen coordinates to window
	coordinates even when the click isn't in the text area.

	* xterm.c (x_scrollbar_create): Remove code which asks for
	EastGravity for windows; Emacs can't correctly deal with them
	moving around unexpectedly.

	* xterm.c (XTread_socket): Minor reformatting.

	* xterm.c (x_set_window_size): Always mark the frame garbaged.

        * window.c (Vmouse_window): Variable removed; it can't be handled
	properly without race conditions, and the events give you all the
	information you need anyway.
	(syms_of_window): Remove DEFVAR.
	* callint.c (Fcall_interactively): Change the `@@' spec to select
	the window of the first parameterized event in the key sequence
	which invoked the command, instead of using Vmouse_window, which
	isn't even updated anymore.  Adjust the documentation
	accordingly.

Wed Jan 20 13:06:43 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* xterm.c (x_scrollbar_create): Set the scrollbars to use
	EastGravity.

	* keyboard.c (make_lispy_event): Deal with button releases with no
	stored down-going position.  Make sure we always store a Qnil in
	the right button_down_location element after using it.

Tue Jan 19 10:33:04 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* frame.c (Fdelete_frame): Clear the frame's display after calling
	the window-system-dependent frame destruction routine.  We
	no longer need to pass the display as a separate argument to
	x_destroy_window.
	* xterm.c (x_destroy_window): Put the code which clears out f's
	display here, right after we free the storage it points to.  Put
	everything, including the code which clears x_focus_frame and
	x_highlight_frame, inside the BLOCK/UNBLOCK_INPUT pair.

	* dispnew.c (Fredraw_display): Undo change of Jan 12; redraw only
	frames whose garbaged flag is set.  The change to
	FRAME_SAMPLE_VISIBILITY on Jan 14 should address the problem better.

	keyboard.c (read_char_menu_prompt): Test HAVE_X_WINDOWS, not
	HAVE_X_WINDOW.

	The CPP symbol indicating whether or not we have mouse menu
	support under X Windows is HAVE_X_MENU, not not NO_X_MENU.
	* emacs.c (main): Test HAVE_X_MENU, instead of NO_X_MENU.
	* keyboard.c (read_char_menu_prompt): Same.
	* ymakefile: Same.

	* keyboard.c (read_char, read_char_menu_prompt): Use the
	EVENT_HAS_PARAMETERS macro from keyboard.h, instead of writing it
	out.

	* keyboard.c (read_char_menu_prompt): Doc fix.

	* keyboard.c (read_char_menu_prompt): Fix test for no menus;
	comparing name to Qnil doesn't work if we are called with no maps.

	* keymap.c (Fdefine_key): Call Fkey_description to make the string
	to use in the error message.

Mon Jan 18 19:56:45 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* window.c (Fdisplay_buffer): Doc fix.

Sat Jan 16 00:55:19 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* xterm.c (x_window_to_scrollbar): Search frames'
	condemned_scrollbars list as well; input might arrive during
	redisplay.
	(x_scrollbar_report_motion): Don't forget to BLOCK_INPUT.
	(XTjudge_scrollbars): Clear the condemned scrollbar list before
	traversing it, so we don't try to process an event on a scrollbar
	we've killed.

Fri Jan 15 16:57:33 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (Frecent_keys): Doc fix.

Thu Jan 14 16:17:44 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* window.c (Fwindow_at): Doc fix.

Thu Jan 14 04:34:13 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* xterm.c (x_scrollbar_create): Include PointerMotionHintMask in
	the event mask for scrollbars.

	* dispnew.c (Fredraw_display): DEFUN was missing a closing paren.

	* term.c (set_vertical_scrollbar_hook, condemn_scrollbars_hook,
	redeem_scrollbar_hook, judge_scrollbars_hook): Removed dumbo
	"externs" from these.  They're supposed to be real definitions.

	* .gdbinit: Add "-geometry +0+0" to default args.
	(xscrollbar): New command.

	Make scrollbar structures into lisp objects, so that they can be
	GC'd; this allows windows and scrollbars can refer to each other
	without worrying about dangling pointers.
	* xterm.h (struct x_display): vertical_scrollbars and
	judge_timestamp members deleted.
	(struct scrollbar): Redesigned to be a template for a Lisp_Vector.
	(SCROLLBAR_VEC_SIZE, XSCROLLBAR, SCROLLBAR_PACK, SCROLLBAR_UNPACK,
	SCROLLBAR_X_WINDOW, SET_SCROLLBAR_X_WINDOW,
	VERTICAL_SCROLLBAR_INSIDE_WIDTH, VERTICAL_SCROLLBAR_TOP_RANGE,
	VERTICAL_SCROLLBAR_INSIDE_HEIGHT, VERTICAL_SCROLLBAR_MIN_HANDLE):
	New macros, to help deal with the lispy structures, and deal with
	the graphics.
	* frame.h (WINDOW_VERTICAL_SCROLLBAR): Macro deleted.
	(struct frame): New fields `scrollbars' and
	`condemned_scrollbars', for use by the scrollbar implementation.
	[MULTI_FRAME and not MULTI_FRAME] (FRAME_SCROLLBARS,
	FRAME_CONDEMNED_SCROLLBARS): Accessors for the new field.
	* window.h (struct window): Doc fix for vertical_scrollbar field.
	* frame.c (make_frame): Initialize the `scrollbars' and
	`condemned_scrollbars' fields of the new frame.
	* alloc.c (mark_object): Mark the `scrollbars' and
	`condemned_scrollbars' slots of frames.
	* xterm.c (x_window_to_scrollbar): Scrollbars are chained on
	frames' scrollbar field, not their x.display->vertical_scrollbars
	field.
	(x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_move,
	x_scrollbar_remove, XTset_vertical_scrollbar,
	XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars,
	x_scrollbar_expose, x_scrollbar_handle_click,
	x_scrollbar_handle_motion): Substantially rewritten to correct
	typos and brainos, and to accomodate the lispy structures.

	* xterm.c (x_scrollbar_background_expose): Function deleted; we
	don't want anything in the background there after all.
	(XTread_socket): Don't call x_scrollbar_background_expose.  We
	don't care.

	* frame.h (FRAME_SAMPLE_VISIBILITY): Make sure frame is marked as
	garbaged whenever it goes from invisible to visible.
	* dispextern.h (frame_garbaged): Move extern declaration from here...
	* frame.h (frame_garbaged): ... to here.  The FRAME_SAMPLE_VISIBILITY
	macro uses it now, and this seems to be just as modular.  Make a
	new page, just for this and message_buf_print.
	(struct frame): Doc fix for the `visible' field.
	* process.c: #include "frame.h" instead of "dispextern.h"; the
	only thing we care about from it is the frame_garbaged
	declaration.
	* ymakefile: Note dependency change.

	* xfns.c (Fx_create_frame): After mapping the frame, call
	SET_FRAME_GARBAGED, not just plain FRAME_GARBAGED.

	* window.c (window_internal_width): New function, which accounts
	for scrollbars if present.
	* lisp.h (window_internal_height, window_internal_width): Add
	extern declarations for these.
	* dispnew.c (direct_output_for_insert, direct_output_forward_char,
	buffer_posn_from_coords): Use window_internal_width instead of
	writing out its definition.
	* indent.c (compute_motion): Doc fix; mention scrollbars and
	window_internal_width.
	(pos_tab_offset, Fvertical_motion): Use window_internal_width
	instead of writing it out.
	* window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left,
	Fscroll_right): Same.
	* xdisp.c (redisplay, try_window, try_window_id,
	display_text_line): Same.

	* xdisp.c (display_string): Add new variable `f', to be W's
	frame.  Use it to set desired_glyphs, and to get the frame's width
	to decide whether or not to draw vertical bars.

	* xdisp.c (display_text_line): If we're using vertical scrollbars,
	don't draw the vertical bars separating side-by-side windows.
	(display_string): Same thing.  Draw spaces to fill in the part of
	the mode line that is under the scrollbar in partial-width
	windows.

	* xfns.c (Qvertical_scrollbars): New symbol.  Use it as the name
	of the parameter which decides whether or not the frame has
	scrollbars, instead of Qvertical_scrollbar.
	(Fx_create_frame): Adjusted accordingly.
	(syms_of_xfns): Initialize and staticpro Qvertical_scrollbars.
	(x_set_vertical_scrollbar): Renamed to x_set_vertical_scrollbars.
	(x_frame_parms): Adjusted accordingly.

	* xterm.h (CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT,
	PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Rewritten, using:
	(CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, PIXEL_TO_CHAR_ROW,
	PIXEL_TO_CHAR_COL): New macros.
	* xfns.c [not HAVE_X11] (Fx_create_frame): Use the
	PIXEL_TO_CHAR_{HEIGHT,WIDTH} macros to figure the frame's
	character size, and the CHAR_TO_PIXEL* macros for vice versa.
	* xterm.c (XTwrite_glyphs, XTclear_end_of_line, stufflines,
	scraplines, dumprectangle, pixel_to_glyph_coords, x_draw_box,
	clear_cursor, x_display_bar_cursor, x_draw_single_glyph,
	x_set_mouse_position): Use the CHAR_TO_PIXEL_* macros.

	* xterm.c (x_wm_set_size_hint): The max_width and max_height
	members of the size_hints are expressed in pixels, not columns.

	* xterm.c (x_set_window_size): Remove ibw var; it's not used.
	Set FRAME_WIDTH (f) to cols instead of rows.  Duh.

	* xterm.c (pixel_to_glyph_coords): Properly set *bounds to the
	character cell bounding the position, even when the position is
	off the frame.

	* xfns.c (x_set_name): To request that the modelines be redrawn,
	execute the statement "update_mode_lines = 1;" instead of the
	silly statement "update_mode_lines;".

	* xfns.c (x_set_vertical_scrollbars): Don't try to set the
	X window's size if the frame's X window hasn't been created yet.

	* xfns.c (x_figure_window_size): Set the frame's
	vertical_scrollbar_extra field before trying to calculate its
	pixel dimensions.

	* xfns.c (x_window): When calling x_implicitly_set_name for the
	sake of drawing the name for the first time, remember to clear and
	set the frame's explicit_name member as well as its name member.
	(Fx_create_frame): Set the frame's explicit_name member if the
	user specified the name explicitly.

	* xdisp.c (display_text_line): Use the usable internal width of
	the window, as calculated above, as the limit on the length of the
	overlay arrow's image, rather than using the window's width field,
	less one.

	* xdisp.c (redisplay): Call condemn_scrollbars_hook and
	judge_scrollbars_hook whenever they are set, not just when the
	frame has vertical scrollbars.

	* termhooks.h (mouse_position_hook): Doc fix.
	(set_vertical_scrollbar_hook): This doesn't return anything any
	more, and doesn't take a struct scrollbar * argument any more.
	(condemn_scrollbars_hook, redeem_scrollbar_hook,
	judge_scrollbars_hook): Doc fixes.
	* term.c (mouse_position_hook): Doc fix.
	(set_vertical_scrollbar_hook): This doesn't return
	anything any more.  Doc fixes.
	* keyboard.c (kbd_buffer_get_event): Receive the scrollbar's
	window from *mouse_position_hook and pass it to
	make_lispy_movement, instead of working with a pointer to a struct
	scrollbar.
	(make_lispy_event): We don't need a window_from_scrollbar function
	anymore; we are given the window directly in *EVENT.
	Unify the code which generates
	text-area mouse clicks and scrollbar clicks; use the same code to
	distinguish clicks from drags on the scrollbar as in the text area.
	Distinguish clicks from drags by storing a copy of the lispy
	position list returned as part of the event.
	(button_down_location): Make this a lisp vector, rather than an
	array of random structures.
	(struct mouse_position): Remove this; it's been replaced by a lisp
	list.
	(make_lispy_movement): Accept the scrollbar's window as a
	parameter, rather than the scrollbar itself.
	If FRAME is zero, assume that the other arguments are garbage.
	(syms_of_keyboard): No need to staticpro each window of
	button_down_location now; just initialize and staticpro it.
	* window.c (window_from_scrollbar): Function deleted; no longer
	needed.
	* xdisp.c (redisplay_window): Just pass the window to
	set_vertical_scrollbar hook; don't pass the scrollbar object too.
	* xterm.c (XTmouse_position): Don't return a pointer to the
	scrollbar for scrollbar motion; instead, return the scrollbar's
	window.

	* xterm.c (XTmouse_position): Entirely rewritten, using
	XTranslateCoordinates.  Call x_scrollbar_report_motion to handle
	scrollbar movement events.
	(x_scrollbar_report_motion): New function, to help out
	XTmouse_position.

	* keyboard.c (apply_modifiers): Don't assume that the Qevent_kind
	property of BASE is set when we first create the new modified
	symbol.  Check that the Qevent_kind property is properly set each
	time we return any symbol.

	* termhooks.h (struct input_event): Replace the frame member with
	a Lisp_Object member by the name of frame_or_window.  Doc fixes.
	Remove the scrollbar member; instead, use frame_or_window to hold the
	window whose scrollbar was clicked.
	* keyboard.c (kbd_buffer_store_event, kbd_buffer_get_event,
	make_lispy_event): Adjust references to frame member of struct
	input_event to use frame_or_window now.
	* xterm.c (construct_mouse_click, XTread_socket): Same.

	* xterm.c (last_mouse_bar, last_mouse_bar_frame, last_mouse_part,
	last_mouse_scroll_range_start, last_mouse_scroll_range_end):
	Replaced with...
	(last_mouse_scrollbar): New variable.
	(note_mouse_movement): Clear last_mouse_scrollbar when we have
	receieved a new motion.
	(syms_of_xterm): Staticpro last_mouse_scrollbar.

	* xterm.c (note_mouse_position): Renamed to note_mouse_movement,
	because that's what it really does.
	(x_scrollbar_handle_motion): Renamed to x_scrollbar_note_movement,
	for consistency.
	(XTread_socket): Adjusted.

	* xterm.c (XTset_scrollbar): Renamed to XTset_vertical_scrollbar.
	(x_term_init): Adjusted.

	* keyboard.c (kbd_buffer_frames): Renamed to
	kbd_buffer_frame_or_window, and made to exist even when
	MULTI_FRAME isn't defined; single-frame systems might have
	scrollbars.  Use it to GCPRO the frame_or_window field in the
	event queue.
	(kbd_buffer_store_event, kbd_buffer_get_event,
	stuff_buffered_input): Set and clear the
	appropriate element of kbd_buffer_frame_or_window, whether or not
	MULTI_FRAME is #defined.
	(read_avail_input): When reading characters directly from stdin,
	set the frame_or_window field of the event appropriately,
	depending on whether or not MULTI_FRAME is #defined.
	(Fdiscard_input, init_keyboard): Zap kbd_buffer_frame_or_window,
	not kbd_buffer_frames.
	(syms_of_keyboard): Initialize and staticpro
	kbd_buffer_frame_or_window, whether or not MULTI_FRAME is
	#defined.

	* keyboard.c (head_table): Make Qscrollbar_movement have a
	Qevent_kind property of Qmouse_movement, not Qscrollbar_movement.

	* keyboard.c (read_key_sequence): If we decide to throw away a
	mouse event which has prefix symbols (`mode-line',
	`vertical-scrollbar', etcetera), remember that we may have to
	unwind two characters, not just one.

	* keyboard.c (read_key_sequence): Doc fixes.

	* keyboard.c (kbd_buffer_store_event): Fix reversed sense of test
	for focus redirection.

	* keyboard.c (read_char): Don't echo mouse movements.

	* emacs.c (shut_down_emacs): New function.
	(fatal_error_signal, Fkill_emacs): Call it, instead of writing it out.
	* xterm.c (x_connection_closed): Call shut_down_emacs instead of
	Fkill_emacs; the latter will try to perform operations on the X
	server and die a horrible death.
	* lisp.h (shut_down_emacs): Add extern declaration for it.

	* xterm.c (x_error_quitter): Move the abort call to after we print
	the error message.  No harm in that.

	* xdisp.c (echo_area_display): Move the assignment of f and the
	check for visibility out of the "#ifdef MULTI_FRAME" clause; they
	should work under any circumstances.

	* xdisp.c (redisplay_window): If we're not going to redisplay this
	window because it's a minibuffer whose contents have already been
	updated, go ahead and jump to the scrollbar refreshing code
	anyway; they still need to be updated.  Initialize opoint, so it's
	known to be valid when we jump.  Calculate the scrollbar settings
	properly for minibuffers, no matter what they are displaying at
	the time.

	* xdisp.c (redisplay_windows): Don't restore the current buffer
	and its point before refreshing the scrollbars; we need the buffer
	accurate.

Tue Jan 12 19:23:44 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* print.c (float_to_string): Add final 0 if text ends with decimal pt.

	* dispnew.c (Fredraw_display): Redraw all visible frames.
	Make the non-multi-frame version interactive.

Mon Jan 11 18:15:18 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Fset_default_file_modes, Fdefault_file_modes):
	Renamed from Fset_umask and Fumask; sense of arg is reversed.
	(Fwrite_region): Doc fix.

Sun Jan 10 11:42:28 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* print.c (float_to_string): Add `.0' at end if needed.

	* lread.c (Fload): If warn that .elc file is older, inhibit
	the ordinary message that would follow.

Sat Jan  9 12:12:31 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* fileio.c (Fdo_auto_save): Add CURRENT_ONLY argument, as
	described in doc string.

Fri Jan  8 04:07:46 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fns.c (Frandom): Change arg name.

	* editfns.c: Doc fixes.

Thu Jan  7 05:21:48 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* unexhp9k800.c (unexec): Don't call exit, just return.

Thu Jan  7 03:43:09 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

        * config.h.in: protect against multiple #inclusions.

	* config.h.in: Add a declaration for getenv.

	* xfns.c (Fx_get_resource): Add CLASS argument, to give class of
	ATTRIBUTE.
	[not HAVE_X11]: Change definition of Fx_get_resource macro
	accordingly.
	(x_get_arg): Add CLASS argument, to give the class of ATTRIBUTE.
	Pass it along to Fx_get_resource.
	(x_figure_window_size, x_icon): Pass new argument to x_get_arg.
	(x_default_parameter): Add XCLASS argument, to give the class of
	XPROP.  Pass it along to x_get_arg.
	(Fx_create_frame): Pass new args to x_get_arg and
	x_default_parameter.

	* xfns.c (Fx_create_frame): Use the same resource names and
	classes as xterm and Emacs 18.

Sun Jan  3 18:40:05 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c (Fx_get_resource): Use EMACS_CLASS to make class_key
	even if SUBCLASS is specified.  I don't know whether that is
	right, but that's what the doc says.
	Cosmetic changes in arg names and doc string.

Tue Dec 29 21:58:10 1992  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* ralloc.c: [! emacs] [HAVE_CONFIG_H]: #include "config.h"

Mon Dec 21 13:26:29 1992  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* Makefile.in (tagsfiles): New variable.
	(TAGS): Depend on $(tagsfiles); use that in cmds.
	(tags): Separate phony rule; depends on TAGS.

Mon Dec 21 00:02:02 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

        * keyboard.c: Protect all references to kbd_buffer_frames with
	#ifdef MULTI_FRAME.

	* frame.h (struct frame): New fields `can_have_scrollbars' and
	`has_vertical_scrollbars'.
	(FRAME_CAN_HAVE_SCROLLBARS, FRAME_HAS_VERTICAL_SCROLLBARS): New
	accessors, for both the MULTI_FRAME and non-MULTI_FRAME.
	(VERTICAL_SCROLLBAR_WIDTH, WINDOW_VERTICAL_SCROLLBAR,
	WINDOW_VERTICAL_SCROLLBAR_COLUMN,
	WINDOW_VERTICAL_SCROLLBAR_HEIGHT): New macros.
	* window.h (struct window): New field `vertical_scrollbar'.
	* xterm.h (struct x_display): vertical_scrollbars,
	judge_timestamp, vertical_scrollbar_extra: New fields.
	(struct scrollbar): New struct.
	(VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT,
	VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER,
	VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER,
	CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH,
	PIXEL_TO_CHAR_HEIGHT): New accessors and macros.
	* frame.c (make_frame): Initialize the `can_have_scrollbars' and
	`has_vertical_scrollbars' fields of the frame.
	* term.c (term_init): Note that TERMCAP terminals don't support
	scrollbars.
	(mouse_position_hook): Document new args.
	(set_vertical_scrollbar_hook, condemn_scrollbars_hook,
	redeem_scrollbar_hook, judge_scrollbars_hook): New hooks.
	* termhooks.h: Declare and document them.
	(enum scrollbar_part): New type.
	(struct input_event): Describe the new form of the scrollbar_click
	event type.  Change `part' from a Lisp_Object to an enum
	scrollbar_part.  Add a new field `scrollbar'.
	* keyboard.c (kbd_buffer_get_event): Pass appropriate new
	parameters to *mouse_position_hook, and make_lispy_movement.
	* xfns.c (x_set_vertical_scrollbar): New function.
	(x_figure_window_size): Use new macros to calculate frame size.
	(Fx_create_frame): Note that X Windows frames do support scroll
	bars.  Default to "yes".
	* xterm.c: #include <X11/cursorfont.h> and "window.h".
	(x_vertical_scrollbar_cursor): New variable.
	(x_term_init): Initialize it.
	(last_mouse_bar, last_mouse_bar_frame, last_mouse_part,
	last_mouse_scroll_range_start, last_mouse_scroll_range_end): New
	variables.
	(XTmouse_position): Use them to return scrollbar movement events.
	Take new arguments, for that purpose.
	(x_window_to_scrollbar, x_scrollbar_create,
	x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move,
	XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar,
	XTjudge_scrollbars, x_scrollbar_expose,
	x_scrollbar_background_expose, x_scrollbar_handle_click,
	x_scrollbar_handle_motion): New functions to implement scrollbars.
	(x_term_init): Set the termhooks.h hooks to point to them.
	(x_set_window_size): Use new macros to calculate frame size.  Set
	vertical_scrollbar_extra field.
	(x_make_frame_visible): Use the frame accessor
	FRAME_HAS_VERTICAL_SCROLLBARS to decide if we need to map the
	frame's subwindows as well.
	(XTread_socket): Use new size-calculation macros from xterm.h when
	processing ConfigureNotify events.
	(x_wm_set_size_hint): Use PIXEL_TO_CHAR_WIDTH and
	PIXEL_TO_CHAR_HEIGHT macros.
	* ymakefile (xdisp.o): This now depends on termhooks.h.
	(xterm.o): This now depends on window.h.

	* xdisp.c: #include "termhooks.h".
	(redisplay, redisplay_window): Use set_vertical_scrollbar_hook,
	condemn_scrollbars_hook, redeem_scrollbar_hook, and
	judge_scrollbars_hook to make scrollbars redisplay properly.

	* keyboard.c (Qscrollbar_movement, Qvertical_scrollbar,
	Qabove_handle, Qhandle, Qbelow_handle): New symbols.
	(make_lispy_event): New code to build scrollbar clicks.
	(make_lispy_movement): New code to handle scrollbar movement.
	(head_table): Include Qscrollbar_movement in the event heads.
	(syms_of_keyboard): Init and staticpro Qvertical_scrollbar,
	Qabove_handle, Qhandle, and Qbelow_handle.
	* keyboard.h (Qscrollbar_movement): Declare this along with the
	other event types.
	* lisp.h (Qvertical_scrollbar): Declare this.
	* window.c (window_from_scrollbar): New function.

	* xterm.h (struct x_display): Delete v_scrollbar, v_thumbup,
	v_thumbdown, v_slider, h_scrollbar, h_thumbup,
	h_thumbdown, h_slider, v_scrollbar_width, h_scrollbar_height
	fields.
	* keyboard.c (Qvscrollbar_part, Qvslider_part, Qvthumbup_part,
	Qvthumbdown_part, Qhscrollbar_part, Qhslider_part, Qhthumbup_part,
	Qhthumbdown_part, Qscrollbar_click): Deleted; part of an obsolete
	interface.
	(head_table): Removed from here as well.
	(syms_of_keyboard): And here.
	* keyboard.h: And here.
	(POSN_SCROLLBAR_BUTTON): Removed.
	* xscrollbar.h: File removed - no longer necessary.
	* xfns.c: Don't #include it any more.
	(Qhorizontal_scroll_bar, Qvertical_scroll_bar): Deleted.
	(syms_of_xfns): Don't initialize or staticpro them.
	(gray_bits): Salvaged from xscrollbar.h.
	(x_window_to_scrollbar): Deleted.
	(x_set_horizontal_scrollbar): Deleted.
	(enum x_frame_parm, x_frame_parms): Remove references to
	x_set_horizontal_scrollbar.
	(x_set_foreground_color, x_set_background_color,
	x_set_border_pixel): Remove special code to support scrollbars.
	(Fx_create_frame): Remove old scrollbar setup code.
	(install_vertical_scrollbar, install_horizontal_scrollbar,
	adjust_scrollbars, x_resize_scrollbars): Deleted.
	* xterm.c (construct_mouse_click): This doesn't need to take care of
	scrollbar clicks anymore.
	(XTread_socket): Remove old code to support scrollbars.  Call new
	functions instead for events which occur in scrollbar windows.
	(XTupdate_end): Remove call to adjust_scrollbars; the main
	redisplay code takes care of that now.
	(enum window_type): Deleted.
	* ymakefile: Note that xfns.o no longer depends on xscrollbar.h.

	* xterm.c (x_set_mouse_position): Clip mouse position to be within
	frame.

	* xterm.c: Adjust the first line of each page to have a reasonable
	description.  This makes pages-directory more useful.

	* xterm.c (x_do_pending_expose): Declare this routine only if
	HAVE_X11 is not #defined; X11 doesn't need it.
	(XTread_socket): Protect call to x_do_pending_expose with `#ifdef
	HAVE_X11'. 

	* xfns.c (syms_of_xfns): Delete defvars for x_mouse_x and
	x_mouse_y.  That interface hasn't been live for years.
	(x_mouse_x, x_mouse_y): Delete these variables.

	* xterm.c (notice_mouse_movement): Deleted; obsolete and unused.

	* keyboard.c (Fread_key_sequence): Doc fix.

	* keyboard.c (make_lispy_event): Buttons are numbered starting
	with zero now.

	* keyboard.c (make_lispy_event): Use the proper accessors when
	manipulating the `x' and `y' fields of struct input_event.

	* keyboard.c (parse_modifiers_uncached): Remember that strncmp
	returns zero if the two substrings are equal.

	* keyboard.c (do_mouse_tracking, Ftrack_mouse): Doc fix.

	* keyboard.c (read_char): Don't put mouse movements in
	this_command_keys.

	* xfns.c (Fx_create_frame): Don't initialize the wm_hints field here.
	(x_window): Do it here, along with all the similar stuff.

Mon Dec 21 00:37:34 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* callint.c (Fcall_interactively): For `s', use Fread_string.

Sun Dec 20 21:41:31 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	Properly handle focus shift events, so the cursor is filled and
	hollow at the appropriate times, even in titleless windows.
	* xterm.c (x_focus_event_frame): New variable.
	(XTread_socket): When we receive a FocusIn event that's not
	NotifyPointer, record the frame in x_focus_event_frame.  When we
	receive a FocusOut event that's not NotifyPointer, clear it.  When
	we get a LeaveNotify event, don't take it seriously if we still
	have focus.

	* xterm.c (XTread_socket): Remove special code in EnterNotify case
	to handle scrollbars and fake mouse motion events.

Sat Dec 19 06:50:39 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* floatfns.c (Flog): Fix unescaped newline in string.
	* frame.c (Fnext_frame): Same.
	* textprop.c (Fprevious_single_property_change): Same.
	(syms_of_textprop): Same, for DEFVAR for
	`interval_balance_threshold'.

	Change the meaning of focus redirection to make switching windows
	work properly.  Fredirect_frame_focus has the details.
	* frame.h (focus_frame): Doc fix.
	[not MULTI_FRAME] (FRAME_FOCUS_FRAME): Make this Qnil, which
	indicates no focus redirection, instead of zero, which is
	selected_frame.
	* frame.c (make_frame): Initialize f->focus_frame to Qnil, rather
	than making it point to frame itself.
	(Fselect_frame): If changing the selected frame from FOO to BAR,
	make all redirections to FOO shift to BAR as well.  Doc fix.
	(Fredirect_frame_focus): Doc fix.  Accept nil as a valid
	redirection, not just as a default for FRAME.
	(Fframe_focus): Doc fix.
	* keyboard.c (kbd_buffer_store_event, kbd_buffer_get_event): Deal
	with focus redirections being nil.
	* xterm.c (XTframe_rehighlight): Doc fix.  Deal with focus
	redirections being nil.

	* window.c (Fset_window_configuration): Don't restore the frame's
	focus redirection if the target frame is now dead.

	* ymakefile (ralloc.o): This no longer depends on xterm.h.

	* ymakefile (all, xemacs): We build an executable called `emacs' now,
	not `xemacs'.
	* Makefile.in (distclean, xemacs, doxemacs): Same.

	* xterm.h (PIXEL_WIDTH, PIXEL_HEIGHT): Change name of parameter
	from `s' to `f'; it's a frame pointer.

Fri Dec 18 08:28:14 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* keyboard.c (kbd_buffer_frames): New vector, to GCPRO frames in
	kbd_buffer.
	(kbd_buffer_store_event): When we add an event to kbd_buffer, make
	sure to store its frame in kbd_buffer_frames.
	(kbd_buffer_get_event): When we remove an event from kbd_buffer,
	make sure to set the corresponding element of kbd_buffer_frames to
	Qnil, to allow the frame to get GC'd.
	(Fdiscard_input, init_keyboard): Clear all elements of
	kbd_buffer_frames to nil.
	(syms_of_keyboard): Create and staticpro kbd_buffer_frames.

	* xterm.c (x_error_quitter): Just abort, so we can look at the
	core to see what happened.

Thu Dec 17 06:23:11 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* buffer.c (Frename_buffer): Set update_mode_lines.

Mon Dec 14 03:29:39 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* scroll.c (do_scrolling): When bcopying the max_ascent field from
	current_frame to temp_frame, remember that max_ascent is an array
	of shorts, not ints.

	It's a pain to remember that you can't assign to FRAME->visible.
	Let's change all references to the `visible' member of struct
	frame to use the accessor macros, and then write a setter for the
	`visible' field that does the right thing.
	* frame.h (FRAME_VISIBLE_P): Make this not an l-value.
	(FRAME_SET_VISIBLE): New macro.
	* frame.c (make_terminal_frame, Fdelete_frame): Use FRAME_SET_VISIBLE.
	(Fframe_visible_p, Fvisible_frame_list): Use FRAME_VISIBLE_P and
	FRAME_ICONIFIED_P.
	* dispnew.c (Fredraw_display): Use the FRAME_VISIBLE_P and
	FRAME_GARBAGED_P accessors.
	* xdisp.c (redisplay): Use the FRAME_VISIBLE_P accessor.
	* xfns.c (x_set_foreground_color, x_set_background_color,
	x_set_cursor_color, x_set_border_pixel, x_set_icon_type): Use the
	FRAME_VISIBLE_P accessor.
	(Fx_create_frame): Use FRAME_SET_VISIBILITY.
	* xterm.c (clear_cursor, x_display_bar_cursor,
	x_display_box_cursor): Use FRAME_SET_VISIBILITY.

Sat Dec 12 01:04:03 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* ymakefile (CFLAGS): #define HAVE_CONFIG_H too.

	* Makefile.in (distclean): Don't delete machine.h or system.h;
	they don't exist anymore.

	* Makefile.in (distclean): Don't delete autosave or backup files.
	(extraclean): New target; like distclean, but delete autosave
	and backup files too.

Fri Dec 11 01:03:48 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* search.c (Fskip_chars_forward, Fskip_chars_backward): Return the
	distance traveled.
	(skip_chars): Return the distance traveled, as a Lisp_Object.

	* macros.c (Fend_kbd_macro): Don't use XFASTINT to check if arg is
	negative; XFASTINT only works on values known to be positive.
	(Fexecute_kbd_macro): Check QUIT in the repetition loop.  If the
	macro is null, no characters are actually being read, so this
	matters.

	* Makefile.in (srcdir): New variable, not fully implemented.
	(xmakefile): Turn -g and -O in CFLAGS into C_DEBUG_SWITCH and
	C_OPTIMIZE_SWITCH in C_SWITCH_SITE's definition.  Delete junk.cpp
	when done.
	* ymakefile (archlib): Variable definition deleted.  Run programs
	from ../lib-src directly, or use ${archlibdir}.
	(${etc}DOC): Run make-docfile from ${libsrc}, not ${archlib}.
	(${archlib}make-docfile, ${archlib}emacstool): Use ${libsrc}, not
	${archlib}.

	* ymakefile (lisp): Don't include version.el in this list.

	Give subprocess creation a way to find a valid current directory
	for subprocesses when the buffer's default-directory is a handled
	name.
	* fileio.c (Funhandled_file_name_directory): New function.
	(Qunhandled_file_name_directory): New file-name-handler operation.
	(syms_of_fileio): Defsubr Sunhandled_file_name_directory, and
	initialize and staticpro Qunhandled_file_name_directory.
	* callproc.c (Fcall_process): Call Funhandled_file_name_directory
	on the buffer's default directory.  Do it earlier in the function
	so there's less to GCPRO.
	* process.c (create_process): Don't check the validity of the 
	buffer's default directory here...
	(Fstart_process): Instead, do it here; if we call
	Funhandled_file_name_directory here, there's less GCPROing to do.

	* callproc.c (Fcall_process_region): Return the value returned by
	Fcall_process.

	* fileio.c (find_file_handler): Rename this to
	Ffind_file_name_handler, and make it visible to lisp.  Add a QUIT
	to the loop which scans file-name-handler-alist.  All uses
	changed.
	(syms_of_fileio): Mention this new function in the docstring for
	Vfile_name_handler_alist.  defsubr Sfind_file_name_handler.
	* lisp.h (Ffind_file_name_handler): Added extern declaration.
	* dired.c: All uses of find_file_handler changed here too.

	* fileio.c (syms_of_fileio): Add staticpros for Qexpand_file_name,
	Qdirectory_file_name, Qfile_name_directory,
	Qfile_name_nondirectory, Qfile_name_as_directory.

Mon Dec  7 00:49:00 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* window.c (Fset_window_configuration): If we're restoring the
	configuration of a dead frame, don't bother rebuilding its window
	tree, restoring its focus redirection, or temporarily resizing it
	to fit the saved window configuration.  If the frame which was
	selected when the configuration was captured is now dead, don't
	try to select it.

	* frame.c (Fdelete_frame): Delete all the windows in the frame's
	window tree, using delete_all_subwindows.
	* window.c (delete_all_subwindows): Don't make this static
	anymore.

Thu Dec  3 20:24:08 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

        Make sure that frames' visible flag only changes at acceptable
	times.  See FRAME_SAMPLE_VISIBILITY's comments for details.
	* frame.h (struct frame): New fields called async_visible and
	async_iconified.
	(FRAME_SAMPLE_VISIBILITY): New macro, with MULTI_FRAME and
	non-MULTI_FRAME definitions.
	* xdisp.c (redisplay): Call FRAME_SAMPLE_VISIBILITY to set the
	visible and iconified flags appropriately for each frame.
	(message1): Call FRAME_SAMPLE_VISIBILITY to set the visible and
	iconified flags for the minibuffer frame.
	* frame.c (make_frame): Initialize async_visible and
	async_iconified properly.
	* xfns.c (Fx_create_frame): Initialize f->async_visible too.
	* xterm.c (XTread_socket): When we get MapNotify, UnmapNotify,
	Expose, ExposeWindow, or UnmapWindow, set f->async_visible, not
	f->visible.
	(x_do_pending_expose, x_raise_frame, x_lower_frame,
	x_make_frame_invisible, x_make_frame_visible, x_iconify_frame):
	Test and set f->async_visible and f->async_iconified, not
	f->visible or f->async_iconified.

	* keyboard.c (kbd_store_ptr): Declare this to be volatile, if
	__STDC__ is #defined.
	(Fdiscard_input): Use cast to keep GCC from complaining about the
	assignment of kbd_store_ptr to kbd_fetch_ptr.

	* xdisp.c (redisplay): Use FOR_EACH_FRAME to apply
	redisplay_windows to the root window of each frame.  This makes a
	#ifdef MULTI_FRAME unneeded, but it also means we recompute
	buffer_shared from scratch even on non-MULTI_FRAME configurations.
	Don't skip elements of Vframe_list that aren't frames; go ahead
	and crash here.

	* xdisp.c (redisplay): Remove #ifdef MULTI_FRAME around the code
	which updates separate minibuffer frames specially; there's
	nothing there that won't work on a single-frame configuration.

	* dispextern.h (struct frame_glyphs): Doc fix.

Wed Dec  2 20:08:08 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* dispnew.c: Remove dyked-out copy of safe_bcopy.

	* environ.c: File removed; Changes on 1/13/1992 made it
	unnecessary.

Tue Dec  1 23:42:25 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* process.c (wait_reading_process_input): Doc fix.

Thu Nov 26 13:17:11 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* next.h: Copy changes from 18.59:
	(NeXT): Defined.
	(BIG_ENDIAN): Define only if __BIG_ENDIAN__.
	(m68000, COMPILER_REGISTER_BUG): Defs deleted.
	(SIGN_EXTEND_CHAR, LIB_X11_LIB, NO_T_CHARS_DEFINES, UNEXEC): Defined.
	(LIBS_DEBUG, LIB_GCC, C_SWITCH_MACHINE, ORDINARY_LINK): Defined.
	(TEXT_START, TEXT_END, DATA_END, LD_SWITCH_MACHINE): Defined.
	(KERNEL_FILE): #undef it.
	(environ): Define as _environ.
d1200 1
a1200 1
Wed Nov 25 10:17:28 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d1202 1
a1202 4
	* doc.c (store_function_docstring): New function, made from part
	of Fsnarf_documentation, which handles docstrings for macros
	properly.
	(Fsnarf_documentation): Call store_function_docstring.
d1204 1
a1204 1
	* data.c (indirect_function): Delete unused argument ERROR.
d1206 1
a1206 1
Mon Nov 23 20:26:17 1992  Jim Blandy  (jimb@@apple-gunkies.gnu.ai.mit.edu)
d1208 1
a1208 1
	* Makefile.in (clean): Remove prefix-args.
d1210 2
a1211 490
Sat Nov 21 17:12:19 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/sol2.h (LD_SWITCH_SYSTEM): Make alternate version for GCC.

Thu Nov 19 16:54:22 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* m/sparc.h: Don't include <sys/param.h> here; that screws up the
	xmakefile.  Instead, include it in getloadavg.c, which is the only
	place that uses LOAD_AVE_CVT, which is the only reason
	<sys/param.h> was here in the first place.

Sun Nov 15 00:46:41 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* dispnew.c [not MULTI_FRAME] (Fredraw_display): Pass the correct
	number of arguments to mark_window_display_accurate.

	* undo.c (Fprimitive_undo): Remove whitespace in front of #ifdef
	and #endif.

	* systty.h: Doc fix.
	
	* systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
	Added VMS changes from Roland Roberts.
	* vmspaths.h: New version from Roland Roberts.

	* xdisp.c (display_string): Use w's buffer's value of
	tab-width to display the string, instead of the current buffer's,
	which could be anything.

	* s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.

	* process.c (read_process_output): Save, widen, insert the process
	output, and then restore the restriction if inserting text outside
	the visible region.

Sat Nov 14 21:18:02 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* buffer.c (Ferase_buffer): Doc fix.

	* dispnew.c (safe_bcopy): Use the right terminating condition in
	the loop which uses multiple bcopy calls to transfer a block to an
	overlapping higher block.

Fri Nov 13 03:44:48 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* process.c (Fstart_process): Establish an unwind-protect to
	remove PROC from the process list if an error occurs while
	starting it.
	(start_process_unwind): New function to help with that.
	(create_process): There's no need to explicitly call
	remove_process if the fork fails; the record_unwind_protect in
	Fstart_process will take care of it.

	* commands.h (unread_command_event): Doc fix.

	Don't ever throw away switch-frame events.
	* lread.c: #include "keyboard.h".
	(Fread_char, Fread_char_exclusive): Don't signal an
	error for or throw away switch-frame events; instead, put them off
	until after we've found a character we can respond to.
	* commands.h (unread_switch_frame): Declare this extern.
	* keyboard.c (unread_switch_frame): Don't declare this static.
	* ymakefile (lread.o): Note that this depends on keyboard.h.

	* keyboard.c (Vlast_event_frame): Doc fix.

	* process.c (wait_reading_process_input): Test the C preprocessor
	symbol "ultrix", not "__ultrix__" to see if we should ignore
	ENOMEM errors from select.

	* fileio.c (Fexpand_file_name): Don't fiddle with "/." if it's the
	entire string.

	* buffer.c (Fbury_buffer): Make this behave as in 18.59, although
	that behavior is very odd - only remove the buffer from the
	selected window if BUFFER was nil or omitted.

	* keyboard.c (read_char): Write composite events to the dribble
	file properly.

	* keyboard.c (init_keyboard): Initialize Vlast_event_frame to
	Qnil, rather than the selected frame.

	* mem-limits.h [DATA_SEG_BITS] (EXCEEDS_LISP_PTR): Remember to
	remove DATA_SEG_BITS from the pointer before testing if the
	pointer fits in VALBITS.

	* Makefile.in (doxemacs, dotemacs): Explicitly pass along the CC
	variable in these rules, just as in the `doall' rule.

	* ralloc.c (relocate_some_blocs): Handle BLOC == NIL_BLOC.
	(free_bloc): This can now be simplified.

	* ralloc.c (r_alloc_sbrk): When we allocate new space for the
	malloc heap, zero it out even if we don't have any blocs in the
	free list.

Thu Nov 12 02:01:12 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* process.c (process_send_signal): On systems which have both
	the TIOCGETC and TCGETA ioctls, just use the former.

	* xselect.c (Fx_get_cut_buffer): Correct check for buf_num in
	range.

	* xselect.c (Fx_get_cut_buffer, Fx_set_cut_buffer): Fix error
	message format; use NUM_CUT_BUFFERS instead of literal 7.

	* keyboard.c (lispy_modifier_list): Added sanity check before
	indexing into modifier_symbols.

	* keyboard.c (add_command_key): When copying the contents of the
	old this_command_keys to new_keys, remember to multiply size by
	sizeof (Lisp_Object) to get the amount we really need to copy.

	Rename unread_command_char to unread_command_event; it has
	subtly different semantics now, and we should use
	`make-obsolete-variable' to warn people.
	* command.h (unread_command_char): Change name in extern declaration.
	* keyboard.c (unread_command_char): Rename.
	(command_loop_1, read_char, Finput_pending, Fdiscard_input,
	quit_throw_to_read_char, init_keyboard, syms_of_keyboard): Change
	references.
	* lread.c (Fread_char): Change reference.
	* minibuf.c (temp_echo_area_glyphs): Change reference to
	unread_command_char to unread_command_event.
	* xfns.c (unread_command_char): Change name in extern declaration
	to unread_command_event.

Wed Nov 11 00:43:40 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
	for Ultrix version 4.1, and the current version is 4.3.

	* s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS.
	* process.c (process_send_signal): Put all the code for sending
	signals via characters in a #ifdef SIGNALS_VIA_CHARACTERS.  Decide
	whether to use the Berkeley-style or SYSV-style ioctls by seeing
	which ioctl commands are #defined.

	* minibuf.c (read_minibuf): If get_minibuffer gives the
	new minibuffer a nil default directory, find another buffer with a
	better default directory and use that one's instead.

Tue Nov 10 23:06:08 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* process.c (process_send_signal): Doc fix.

	* keyboard.c (read_key_sequence): Don't use
	save_excursion_{save,restore} to protect the caller against buffer
	switches; use Fset_buffer and Fcurrent_buffer; redisplay might
	change point, and we don't want to undo that.

	* keyboard.c (kbd_buffer_get_event): When checking a mouse
	movement for a frame switch, don't assume Vlast_event_frame
	contains a Lisp_Frame object.

Fri Nov  6 17:48:59 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/dgux.h (SYSTEM_TYPE): Use berkeley-unix.

Wed Nov  4 00:54:59 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* alloc.c: #include "frame.h" unconditionally.  frame.h does the
	right thing when MULTI_FRAME isn't defined.

	* Makefile.in: Rearrange dependencies to make sure that xmakefile
	is built before we try to use it, even using a parallel make.

	Changes for SYSV from Eric Raymond:
	* process.c [SYSV]: Don't include <termios.h>, <termio.h>, or
	<fcntl.h>.
	(process_send_signal): Don't try to send SIGTSTP
	unless SIGTSTP is defined.
	* sysdep.c (init_baud_rate) [HAVE_TERMIO, not HAVE_TCATTR]: Use
	TCGETA, not TIOCGETP.
	* systime.h [USG] (EMACS_GET_TZ_OFFSET): Assign to *(offset), not
	(offset).  Don't forget the while corresponding to the do.
	Include USG in the list of systems that have a tzname array.

	* keyboard.c (read_key_sequence): Removed the
	replay_sequence_new_buffer label; replay_sequence should be here
	instead.

	Arrange to get compile-time errors for uses of Lisp_Frame in a
	non-MULTI_FRAME configuration.
	* lisp.h [not MULTI_FRAME]: Don't declare the Lisp_Frame tag.
	* minibuf.c (read_minibuf): Protect call to Fredirect_frame_focus
	with a #ifdef MULTI_FRAME.
	* window.c (Fset_window_configuration): Protect call to
	Fselect_frame with a #ifdef MULTI_FRAME.
	[not MULTI_FRAME] (Fcurrent_window_configuration): Don't bother
	setting the window configuration's selected_frame member.
	* keyboard.c (Vlast_event_frame): Arrange for this to exist iff
	MULTI_FRAME is defined.
	[not MULTI_FRAME] (syms_of_keyboard): Don't DEFVAR Vlast_event_frame.
	[not MULTI_FRAME] (read_char): Don't try to set Vlast_event_frame.
	[not MULTI_FRAME] (kbd_buffer_store_event): Don't try to set
	Vlast_event_frame for quit characters.
	[not MULTI_FRAME] (kbd_buffer_get_event): Don't try to generate
	switch-frame events.

	* buffer.c (init_buffer): If PWD is accurate, use it instead of
	calling getwd.
	#include <sys/types.h> and <sys/stat.h>, for the call to stat.

        Indicate whether an autoload form stands for a keymap or not.
	* eval.c (Fautoload): Renamed fifth argument TYPE.  Document the
	fact that (eq TYPE 'keymap) means FUNCTION will become a keymap
	when loaded.
	(Fmacroexpand): Instead of assuming that every autoload
	form with a fifth element is a macro, actually check the fifth
	element against t and `macro', which are the only values which
	denote macroness.
	* keymap.c (get_keymap_1): Don't try to autoload OBJECT's function
	unless the autoload form indicates that it's a keymap.

Tue Nov  3 20:09:26 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* .gdbinit (mips): New command.

Sat Oct 31 18:26:18 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Fmake_directory_internal): Renamed from Fmake_directory.
	Pass nil as third arg to handler.
	Lisp function `make-directory' is now in files.el.

Fri Oct 30 17:27:22 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	Clean up errors due to treating Lisp_Objects like integers.
	* abbrev.c (Funexpand_abbrev): Just assign the last abbrev's value
	to val; don't use XSET.  Make sure that the value of the
	abbrev-symbol is a string.
	* alloc.c (Frope_elt): Declare arguments to be Lisp_Objects.
	* buffer.c (reset_buffer): Don't assign to b->save_length as if it
	were an int; use XFASTINT.
	* buffer.h (Fbuffer_name, Fget_file_buffer): Added external
	declarations.
	* bytecode.c (Fbyte_code): Use EQ to compare string_saved with
	bytestr.
	* casefiddle.c (operate_on_word): Declare end to be an int, not a
	Lisp_Object.
	* casetab.c (set_case_table): Declare this to be static, and
	return a Lisp_Object. Add static declaration for this
	before Fset_case_table and Fset_standard_case_table.
	(Fset_case_table, Fset_standard_case_table): Return the return
	value of set_case_table, instead of returning garbage.
	* commands.h (unread_command_char): Declare this to be a
	Lisp_Object, not an int.
	* data.c (Fset): See if current_alist_element points to itself
	using EQ, not ==.
	(float_arith_driver): Declare this extern above arith_driver.
	* dired.c (find_file_handler): Declare this extern.
	(Ffile_attributes): Use NILP, not == Qnil.
	* dispextern.h (sit_for): Declare this extern.
	* doc.c: #include keyboard.h.
	* floatfns.c (Flog): Don't forget to declare the BASE argument a
	Lisp_Object.
	* fns.c: #include keyboard.h.
	(Fdelete): Check if Fequal returns Qnil, not zero.
	* frame.c: #include buffer.h.
	* keyboard.c: #include dispextern.h.
	(recursive_edit_unwind, command_loop, Fthis_command_keys): Declare
	these to return Lisp_Objects at the very top of the file, to avoid
	having them implicitly declared as ints.
	(echo_char): Use EQ to compare C to help_char.
	(read_char): Remember to apply XFASTINT to the return value of
	Flength before using it.  Apply XINT to c when clearing its high
	bits and meta bits, and when writing it to the dribble file.
	(read_char_menu_prompt): Use EQ to compare obj with
	menu_prompt_more_char and its control-character analog.
	(read_key_sequence): Declare PROMPT to be char *, not a
	Lisp_Object.  Use the appropriate accessors on keybuf when looking
	for ASCII function key sequences.
	* keyboard.h (get_keymap_1, Fkeymapp, reorder_modifiers,
	Fmouse_click_p, read_char): Add external declarations for these.
	* keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume
	that Flength returns an integer.
	* lisp.h (Fdefault_boundp, make_float, Ffloat, Fnth, Fcopy_alist,
	Fmake_byte_code, Fverify_visited_file_modtime, Ffile_exists_p,
	Fdirectory_file_name, Ffile_name_directory,
	expand_and_dir_to_file, Ffile_accessible_directory_p, Fbyte_code,
	Fundo_boundary, truncate_undo_list): Add extern declarations for
	these.
	* lread.c (read_char): Add an extern declaration for this,
	indicating that it returns a Lisp_Object.
	* minibuf.c (read_minibuf): Use EQ to compare, not ==.
	(temp_echo_area_glyphs): Use XFASTINT to assign to
	unread_command_char.
	* print.c (print): Cast the frame's address to an integer before
	passing it to sprintf to form the frame's printed form.
	* process.c: (status_convert): Declare this to return a
	Lisp_Object at the top of the file.
	(decode_status): Don't untag XCONS (tem)->cdr before storing it in
	tem; tem is a Lisp_Object, too.
	(process_send_signal): Declare this to be static void.  Don't
	return Qnil; nobody cares.
	(sigchld_handler): Use XFASTINT to manipulate p->infd.
	* search.c (Fstore_match_data): Don't assume Flength returns a
	C integer.
	* undo.c (record_insert): Use accessors on BEG and LENGTH.
	(truncate_undo_list): Use NILP, not == Qnil.
	* window.c (Fwindow_width, Fset_window_hscroll): Use accessors on
	w->width, w->left, w->hscroll, and arguments.
	(replace_window): Use EQ, not ==.
	(Fdelete_window): p->top and p->left are not C integers.
	(Fnext_window, Fprevious_window): Use EQ, not ==.
	* window.h (make_window, window_from_coordinates,
	Fwindow_dedicated_p): Add extern declarations for these.
	* xdisp.c (redisplay): Use ! EQ to compare the old and new arrow
	positions, not !=.
	(mark_window_display_accurate): Barf if WINDOW isn't a window.
	(display_string): Test buffer_defaults.ctl_arrow using NILP,
	instead of comparing it with zero.
	* xfns.c (x_decode_color, Fx_color_display_p): x_screen_planes is
	an int, not a Lisp_Object.
	(x_set_mouse_color): Give separate error messages for the
	different cursors we try to set.
	(Fx_geometry): Declare STRING to be a Lisp_Object.
	(Fx_create_frame): No need to use XSET to assign NAME to f->name;
	they're both Lisp_Objects.
	(adjust_scrollbars): Use XINT to access w->hscroll.
	(Fx_open_connection): x_screen_count, x_release, x_screen_height,
	x_screen_height_mm, x_screen_width, x_screen_width_mm,
	x_save_under, and x_screen_planes are integers, not Lisp_Objects.
	(syms_of_xfns): x_mouse_x, x_mouse_y, and mouse_buffer_offset are
	integers, not Lisp_Objects.
	* xselect.c (own_selection): selection_type is an X Atom value,
	not a Lisp_Object.
	(x_selection_arrival): Declare this static, and add a forward
	declaration at the top of the page.
	* xterm.c (x_convert_modifiers): Declare this to return an
	unsigned int, not a Lisp_Object.  Remember that the quiescent
	value for part is Qnil, not zero, that x_mouse_x and x_mouse_y
	are ints, not Lisp_Objects, and that RESULT->x and RESULT->y are
	Lisp_Objects, not ints.
	(XTread_socket): Declare this to return int, not Lisp_Object.
	When calling construct_mouse_click on a non-scrollbar click, pass
	PART as Qnil, not zero.
	(x_calc_absolute_position): Remember that x_screen_width and
	x_screen_height are ints, not Lisp_Objects.
	* xterm.h (x_screen_count, x_release, x_screen_height,
	x_screen_height_mm, x_screen_width, x_screen_width_mm,
	x_save_under, x_screen_planes): Declare this as ints, to match
	their definitions in xterm.c.
	* ymakefile: Note the new dependencies caused by the new
	#inclusions above.

	* xdisp.c (last_arrow_position, last_arrow_string): Make these
	static.

	* process.c (pty_process): Variable deleted; it's no longer used.
	(syms_of_process): Don't initialize it.

	* buffer.h (struct buffer_local_types): This declaration needed an
	extern qualifier.

	* floatfns.c (Fexpt): Don't return the value of the XSET function
	call; that's not guaranteed to be the value assigned.

	* dired.c (Ffile_attributes): Doc fix.

	* lisp.h (DEFVARLISP, DEFVARBOOL, DEFVARINT, DEFVARPERBUFFER):
	Removed these definitions; we should be using the versions whose
	names use underscores.

	* keyboard.c (echobuf): Make this 300 characters, not 100.  This
	isn't a real fix, but it's quick.

Fri Oct 30 00:49:57 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* callint.c (preserved_fns): New var.
	(Fcall_interactively): Preserve all fns listed in preserved_fns.
	(syms_of_callint): Set preserved_fns and staticpro it.
	Don't set up Qregion_beginning or Qregion_end.

Thu Oct 29 01:28:54 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dispnew.c (count_blanks): Leave argument r constant, and increment p.

Wed Oct 28 16:30:55 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* xdisp.c (message): Re-write this in terms of message1.
	(message1): Move code to clear out echo_area_glyphs and
	previous_echo_glyphs from message to here.

	* keyboard.c (read_char): When returning an unread switch-frame
	event, jump to reread_first to return it, rather than reread; this
	makes sure the event gets echoed (if appropriate) and goes into
	this_command_keys.

	* keyboard.c (read_key_sequence): If the key sequence starts with
	a mouse click, read the key sequence using the keymaps of the
	buffer clicked on, not the current buffer.

	* keyboard.c (unread_switch_frame): Make this static, to indicate
	that nobody outside of this file uses it.

	* keymap.c: Deal with autoloaded keymaps properly.
        (get_keymap_1): Renamed to inner_get_keymap; made
	static.  New argument AUTOLOAD says to pursue autoloads if
	non-zero.
	(Fkeymapp, get_keymap, get_keyelt, Flookup_key): Ask get_keymap_1
	not to perform autoloads.
	(Fdefine_key): Ask get_keymap_1 to perform autoloads.  Since
	autoloading may GC, remember that we have to GCPRO our local
	variables now.
	(Fminor_mode_key_binding): Call get_keymap instead of calling
	get_keymap_1 with equivalent arguments.
	* keyboard.c (follow_key): Ask get_keymap_1 to perform autoloads.
	(read_key_sequence): When pursuing potential bindings in the
	function key map, ask get_keymap_1 to perform autoloading.  This
	is hardly important, but it's consistent.
	* doc.c (Fsubstitute_command_keys): Ask get_keymap_1 to
	perform autoloads.  Autoloading might GC; we need to GCPRO our
	local variables now.
	(Fdocumentation, Fdocumentation_property): Autoloading in
	Fsubstitute_command_keys might GC; we need to GCPRO our
	local variables now.

Wed Oct 28 04:03:11 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/irix3-3.h (HAVE_SETSID, IRIX): Defined.

	* s/irix4-0.h: New file.

Tue Oct 27 23:26:14 1992  Noah Friedman  (friedman@@nutrimat.gnu.ai.mit.edu)

        * sysdep.c (get_system_name): Use gethostname for USG systems if
        HAVE_GETHOSTNAME is defined.
        * s/hpux7.h, s/irix3-3.h (HAVE_GETHOSTNAME): Define it.

Tue Oct 27 20:34:26 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* callproc.c: Arrange for synchronous processes to get SIGINT the
	first time the user quits, or SIGKILL if the user quits again.
	#include "syssignal.h".
	(call_process_kill): New function.
	(call_process_cleanup): Send SIGINT to the subprocess, and then
	arrange to call call_process_kill if the user quits while we wait
	for it to terminate.
	(Fcall_process, Fcall_process_region): Doc fix.

Tue Oct 27 01:56:14 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* unexmips.c [sony, IRIS_4D]: Include getpagesize.h and fcntl.h.
	(unexec): #if 0 the error check of hdr.fhdr.f_nscns.
	Clear text_section->s_scnptr.

	* callint.c (Fcall_interactively): Preserve (region-beginning)
	and (region-end) into the command history when they appear
	in an interactive spec which is a call to `list'.

	* batcomp.com: New file.  Waiting for papers from richard@@ttt.kth.se.

Fri Oct 23 16:38:47 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* emacs.c (main): Correct spelling of HAVE_X_WINDOW to
	HAVE_X_WINDOWS in conditionals around the call to syms_of_xmenu.

Fri Oct 23 07:58:36 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* ralloc.c (relinquish):
	Adjust page_break_value by amount of memory actually given back.
	(r_alloc_sbrk): Provide hysteresis in relocating the blocs.

Thu Oct 22 07:53:42 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* ralloc.c (relinquish): Sign of arg to *real_morecore was backwards.

Wed Oct 21 04:54:52 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* ralloc.c (relinquish): Never free less than extra_bytes;
	keep extra_bytes of empty space.
	(obtain): Always get extra_bytes additional space.
	(r_alloc_init): Set extra_bytes and page_size.
	(ALIGNED, ROUNDUP, ROUND_TO_PAGE): Use page_size.

Tue Oct 20 00:17:03 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (syms_of_keyboard): Properly staticpro this_command_keys.

	* mem-limits.h (get_lim_data): Make it static.

	* ymakefile (mallocobj): Use vm-limit.o along with ralloc.o.

	* ralloc.c [emacs]: Define POINTER and SIZE.
	[!emacs]: Delete definition of EXCEEDS_LISP_PTR.

	* eval.c (grow_specpdl): Increase max_specpdl_size before Fsignal.
d1213 1
a1213 1
Mon Oct 19 14:27:05 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1215 1
a1215 2
	* xfns.c (x_set_face): Dyked out this function; it has no callers,
	and refers to an obsolete version of struct face.
d1217 1
a1217 2
	* xterm.c (compose_status): New variable.
	(XTread_socket): Pass it by reference to XLookupString.
d1219 1
a1219 1
Sun Oct 18 04:07:15 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1221 3
a1223 1
	* s/esix5r4.h (BROKEN_FIONREAD): Defined.
d1225 1
a1225 1
Fri Oct 16 04:27:32 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1227 1
a1227 1
	* s/vms5-5.h: New file.
d1229 1
a1229 1
Fri Oct 16 00:19:23 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d1231 1
a1231 266
	* xdisp.c (message): If M is zero, clear echo_area_glyphs and
	previous_echo_glyphs, so that the minibuffer shows through.
*       * editfns.c (Fmessage): With no arguments, clear any active
	message; let the minibuffer contents show through.
	* minibuf.c (temp_echo_area_glyphs): Don't clear echo_area_glyphs
	and previous_echo_glyphs; let message do that work.

	* keyboard.c (this_command_keys): Make this a vector, instead of
	an array of Lisp_Objects.
	(this_command_keys_size): Deleted.
	(echo, add_command_key, Fthis_command_keys): Adjusted
	appropriately.
	(init_keyboard): Don't allocate it here.
	(syms_of_keyboard): Allocate it here, and staticpro it.
	* keyboard.h (this_command_keys): Extern declaration changed.  Doc fix.
        * callint.c (Fcall_interactively): Change handling of 'e' spec;
	this_command_keys is now a vector.

	* keyboard.c (read_char): Call ourselves with the appropriate
	number of arguments.
	(read_char_menu_prompt): If USED_MOUSE_MENU is zero, don't try to
	store things in it.

	* window.c: Try to deal coherently with deleted windows:
*	(Flive_window_p): New function.
	(Qlive_window_p): New variable, to name it in type errors.
	(syms_of_window): Defsubr Slive_window_p, init and staticpro
	Qlive_window_p.
	* lisp.h (CHECK_LIVE_WINDOW): New predicate.
	(Qlive_window_p): Extern declaration for this.
	* window.c (decode_window): Use CHECK_LIVE_WINDOW instead of
	CHECK_WINDOW; the only thing a user should be able to do to a dead
	window is check its type.
	(Fcoordinates_in_window_p, Fnext_window, Fprevious_window,
	Fdelete_other_windows, Fselect_window, Fsplit_window,
	Fscroll_other_window): Use CHECK_LIVE_WINDOW instead of
	CHECK_WINDOW.
	* frame.c (make_frame_without_minibuffer, Fwindow_frame): Same.
	* sunfns.c (Fsun_menu_internal): Same.
	* xmenu.c (Fx_popup_menu): Same.
	* window.c (Fdelete_window): If WINDOW is a deleted window, do nothing;
	there's no harm in allowing people to delete deleted windows.
	Delete all of WINDOW's subwindows, too.
	(delete_all_subwindows): Set the buffer, vchild, and hchild of the
	windows we delete all to nil.
	* window.h (struct window): Doc fix.

	* window.c (Fwindow_minibuffer_p): Make the WINDOW argument
	optional, like all the other window-querying functions.

	* window.c (Fpos_visible_in_window_p): Use decode_window to handle
	the WINDOW argument, instead of writing out that function's code.

	* window.c (check_frame_size): Don't define this extern; that
	doesn't mean anything.

	* xterm.c: Clean up some of the caps lock handling:
	(x_shift_lock_mask): New variable.
	(x_find_modifier_mappings): Set it, based on the modifier mappings.
	(x_convert_modifiers): Use x_shift_lock_mask, instead of assuming
	that the lock bit always means to shift the character.
	(XTread_socket): When handling KeyPress events, don't pass an
	XComposeStatus structure along to XLookupString.  When handling
	MappingNotify events, call XRefreshKeyboardMapping for both
	MappingModifier and MappingKeyboard events, not just the latter.

Thu Oct 15 22:20:52 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* window.c (Fdelete_window): Choose an alternative when we delete
	any frame's selected window, not just when we delete the selected
	frame's selected window.

Thu Oct 15 19:44:00 1992  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* vm-limit.c (check_memory_limits): Declare __morecore.
	Remove unused variable `result'.

Thu Oct 15 19:29:28 1992  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* vm-limit.c (morecore_with_warning): Removed.
	(check_memory_limits): New fn; most code from
	morecore_with_warning, but only checks limits, doesn't do any work.
	(memory_warnings): Set __after_morecore_hook to check_memory_limits;
	don't set __morecore.

Wed Oct 14 15:35:52 1992  Joseph Arceneaux  (jla@@churchy.gnu.ai.mit.edu)

	* intervals.c (traverse_intervals): New parameter `depth'.
	Increment this when passing recursively.

	* alloc.c (mark_interval_tree): Pass 0 as initial depth argument
	to traverse_intervals.

	* xterm.h: Declaration of struct face removed.

	* dispextern.h: New element of frame structure `max_ascent'.
	Removed elements `nruns' and `face_list'.
	LINE_HEIGHT and LINE_WIDTH macros removed.
	New struct face with associated typedef FACE declared, along with
	accessing macros.

	* scroll.c (do_scrolling): Don't bcopy non-existant `nruns' or
	`face_list' elements.  Do copy new `max_ascent' frame element.

	* dispnew.c (scroll_frame_lines): All references to frame elements
	`nruns' and 'face_list' removed.  Handle new element `max_ascent'.
	(free_frame_glyphs): Don't free nonexistent elements `nruns' and
	`face_list';  do free `max_ascent' element.
	(make_frame_glyphs): Don't allocate nonexistent elements `nruns'
	and `face_list';  do allocate `max_ascent' element.
	(update_frame): Replaced use of macro LINE_HEIGHT with element
	frame element `pix_height'.

Wed Oct 14 00:07:19 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* keyboard.c (modify_event_symbol): Arrange to set the
	click_modifier bit on otherwise unmodified mouse clicks.

	* keymap.c (store_in_keymap): Don't forget to QUIT in the
	keymap-scanning loop.  Don't treat vectors as binding tables if
	they're the wrong length.

Mon Oct 12 18:11:03 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* keyboard.c (kbd_buffer_get_event): Remember that
	*mouse_position_hook may set *FRAME to 0; don't generate
	switch-frame events in this case.  Fix fencepost bug in fetching
	events from keyboard buffer.

Mon Oct 12 18:05:23 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* ymakefile (ralloc.o): Delete dep mem_limits.h
	(vm-limit.o): Rename dep to mem-limits.h.

Mon Oct 12 17:40:50 1992  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* ralloc.c: Removed #include "mem-limits.h".
	[emacs]: Moved #undef NULL and #include "getpagesize.h" here.
	[! emacs]: #include <unistd.h>, <malloc.h>, <string.h>.
	(r_alloc_init): Use NIL, not NULL.

Mon Oct 12 17:07:25 1992  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* ralloc.c (sbrk): Removed decl.
	(real_morecore): New static variable.
	(warnlevel, warn_function, check_memory_limits): Removed.
	(obtain): Don't call check_memory_limits.
	(obtain, relinquish, r_alloc_sbrk): Use (*real_morecore) in place
	of sbrk; it returns 0 for errors, not -1.
	(r_alloc_init): Set real_morecore to old value of __morecore.
	Don't initialize lim_data or warnlevel, and don't call get_lim_data.
	(memory_warnings): Function removed.

Mon Oct 12 16:59:52 1992  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* vm-limit.c (warnfunction): Renamed to warn_function (was used
	inconsistently).
	(morecore_with_warning, memory_warnings): Change callers (were
	inconsistent).

Mon Oct 12 16:10:02 1992  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* mem-limits.h (start_of_data): Removed extra defn.
	(get_lim_data): Define to return void.

Mon Oct 12 14:43:13 1992  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* mem_limits.h: File renamed to mem-limits.h.
	* vm-limit.c, ralloc.c: Changed #includes.

Sun Oct 11 02:51:22 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* syntax.c (find_defun_start): scan_buffer returns start of line;
	no need to advance over newline.

	* vm-limit.c (morecore_with_warning):
	Reduce warnlevel when usage drops far enough.
	* ralloc.c (check_memory_limits): Likewise.

	* vm-limit.c (memory_warnings): Renamed from malloc_init.
	Don't set lim_data or warnlevel.  Use start_of_data if start is 0.
	* ralloc.c (memory_warnings): New function; just set warning data.
	Use start_of_data if start is 0.
	* emacs.c (Fdump_emacs, main): Use memory_warnings.

	* mem_limits.h [!emacs]: Don't define POINTER, SIZE or NULL.
	(start_of_data): Define as macro, if !emacs.
	* ralloc.c [!emacs]: Don't include config.h or lisp.h;
	instead, use stddef.h.  Define POINTER, SIZE, EXCEEDS_LISP_PTR.
	* vm-limit.c [!emacs]: Don't include config.h or lisp.h;
	instead, use stddef.h.  Define POINTER, SIZE, EXCEEDS_LISP_PTR.

	* ralloc.c [!emacs] (safe_bcopy): Define as macro using memmove.
	(r_alloc_free): Clear *ptr.
	(r_alloc_init): Renamed from malloc_init.  Take no args.
	Make it static; declare at top of file.
	(r_alloc): Call r_alloc_init, if not initialized yet.
	(r_alloc_initialized): Renamed from malloc_initialized; moved to top.
	(ROUNDUP): Subtract 1, in case arg is already aligned.

	* mem_limits.h (EXCEEDS_LISP_PTR): Renamed from EXCEEDS_ELISP_PTR.
	* vm-limit.c (morecore_with_warning): Use EXCEEDS_LISP_PTR.
	* ralloc.c (check_memory_limits): Use EXCEEDS_LISP_PTR.

Sat Oct 10 14:53:28 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* keyboard.c (Vlast_event_frame): Make this variable exist even
	when MULTI_FRAME isn't #defined.  People might find it
	necessary for writing correct programs, even when the programs
	don't explicitly use multiple frames.
	(read_char, kbd_buffer_store_event, kbd_buffer_get_event): No need
	to test MULTI_FRAME before setting Vlast_event_frame.
	(syms_of_keyboard): DEFVAR Vlast_event_frame whether or not
	MULTI_FRAME is defined.

        * keyboard.c: Add switch-frame events.
	(Qswitch_frame): New event header symbol.
	(head_table): Include Qswitch_frame in the table of event heads.
	(kbd_buffer_get_event): Detect when a frame switch has occurred,
	and return a frame switch event before the enqueued event.
	(make_lispy_switch_frame): New function.
	(unread_switch_frame): New variable.
	(read_key_sequence): Don't throw away the key sequence if the user
	switches frames in the middle of the sequence.  Instead, when we
	receive a switch-frame event in the middle of a key sequence, save
	it, and stuff it into unread_switch_frame when the sequence
	is complete.
	(read_char): If unread_switch_frame is set, return that value.
	(command_loop_1): No need to check Vlast_event_frame and select
	new frames here; that's taken care of by switch-frame events now.
	(syms_of_keyboard): Initialize and staticpro unread_switch_frame.
	* keyboard.h (Qswitch_frame): Declare this extern.

	* frame.c: #include "commands.h" and "keyboard.h".
	(Fselect_frame): Make this interactive, and accept
	switch-frame events as arguments, so we can bind this function to
	switch-frame events.
	(keys_of_frame): New function; bind switch-frame to Fselect_frame.
	* emacs.c (main): Call keys_of_frame.
	* keymap.c (initial_define_lispy_key): New function, for defining
	non-ascii keys.
	* ymakefile: Note that frame.o depends on commands.h and keyboard.h.

	* callint.c (Fcall_interactively): Allow multiple 'e' specs.
	(Finteractive): Doc fix.
	* keyboard.h (this_command_keys, this_command_key_count): Added
	external declarations.

	* keymap.c (access_keymap): Treat bindings for Qt as default
	bindings, when new argument T_OK is non-zero.
	(get_keyelt, Fdefine_key, Flookup_key): Call access_keymap with
	T_OK false.
	* keyboard.c (follow_key, read_key_sequence): Call access_keymap
	with T_OK true.

	* keyboard.c (apply_modifiers): Copy the value of BASE's
	Qevent_kind property to the new symbol.

	* keyboard.c (syms_of_keyboard): Qevent_kind should be initialized
	to intern ("event-kind"), not intern ("event-type").

Sat Oct 10 02:54:17 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Fwrite_region): If VISIT is a file name,
	use that as file name to visit, and print it in the message.
	Use it for file locking too.
d1233 2
a1234 1
	* m-ibmps2-aix.h [__GNUC__ >= 2] (LIB_STANDARD): Don't define.
d1236 1
a1236 1
Fri Oct  9 12:49:03 1992  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d1238 1
a1238 3
	* ymakefile (FLOATSUP): Renamed to FLOAT_SUPPORT.
	(FRAME_SUPPORT, VMS_SUPPORT): New macros.
	(lisp): Rebuild this from loadup.el, using the _SUPPORT macros.
d1240 1
a1240 2
	* ymakefile [HAVE_X_WINDOWS, not NO_X_MENU, HAVE_X11] (LIBXMENU):
	Link against -loldX, to get the association table functions.
d1242 1
a1242 2
	* xterm.c, xrdb.c: #include <stdio.h> before "xterm.h", to avoid
	warnings about redefining NULL under GCC 2.2.2.
d1244 1
a1244 1
Fri Oct  9 01:08:36 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1246 1
a1246 1
	* m/pyrmips.h: New file.
d1248 2
a1249 2
	* s/aix3-1.h (PTY_ITERATION, etc.): Defined.
	(FIRST_PTY_LETTER): Deleted.
d1251 11
a1261 1
Wed Oct  7 15:23:31 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1263 3
a1265 1
	* m/sparc.h: Include <sys/param.h>, to define the FSCALE constant.
d1267 1
a1267 3
	* ymakefile (YMF_PASS_LDFLAGS): Refer to the prefix-args program
	using "./prefix-args", not just "prefix-args"; some people don't
	have . in their paths.
d1269 1
a1269 1
Tue Oct  6 00:54:20 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1271 1
a1271 1
	* link.com: Use gcclib if compiling with GCC.
d1273 7
a1279 2
	* fileio.c (directory_file_name): Don't clobber the envvar
	when handling top-level rooted dir.
d1281 1
a1281 1
	* ymakefile (LIB_STANDARD): If ORDINARY_LINK, default this to empty.
d1283 2
a1284 2
	* m/ibmps2-aix.h [USG_SHARED_LIBRARIES]: Define ORDINARY_LINK.
	Undef LIB_STANDARD.  Modify LD_SWITCH_MACHINE.
d1286 1
a1286 2
	* unexnext.c: New file.
	* emacs.c (main) [NeXT]: Call malloc_jumpstart.
d1288 1
a1288 1
Mon Oct  5 19:59:01 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1290 1
a1290 5
	* window.c (window_loop): Pass 2nd arg to Fother_buffer.
	* frame.c (make_frame): Likewise.
	* callint.c (Fcall_interactively): Likewise.
	* buffer.c (Fkill_buffer): Likewise.
	(Fswitch_to_buffer, Fpop_to_buffer, Fbury_buffer): Likewise.
d1292 1
a1292 1
Sat Oct  3 01:34:07 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1294 1
a1294 198
	* keyboard.c (read_key_sequence): Treat mouse clicks on non-text
	areas as if they were prefixed with the symbol denoting the
	area clicked on - `mode-line', etcetera.
	When we throw away an unbound `down-' event, reset mock_input as
	well.

	* keyboard.c (Qevent_symbol_element_mask, Qmodifier_cache): Two
	new symbols, used to implement caches on event heads.  These take
	the place of some of the caching that modify_event_symbol used to do.
	(parse_modifiers_uncached, apply_modifiers_uncached,
	lispy_modifier_list, parse_modifiers, apply_modifiers): New
	functions, which replace format_modifiers and reorder_modifiers;
	they can be useful elsewhere too.
	(reorder_modifiers, modify_event_symbol): Re-implement these in
	terms of parse_modifiers and apply_modifiers.  modify_event_symbol
	now uses a much simpler cache, and takes advantage of the caches
	maintained by parse_ and apply_modifiers.
	(follow_key): Don't modify NEXT if KEY has no bindings.
	(read_key_sequence): Drop unbound `down-' events, and turn unbound
	`drag-' events into clicks if that would make them bound.  This
	benefits from the rewriting of the modifier key handling code.
	(syms_of_keyboard): Initialize and intern
	Qevent_symbol_element_mask and Qmodifier_cache.

	* keyboard.c (echo_prompt): Terminate the echo buffer properly
	even when the string is too long to display in the minibuffer.
	(echo_truncate): Just return echoptr - echobuf, rather than
	calling strlen on echobuf.

	* alloc.c (Fmemory_limit): New function.
	(syms_of_alloc): Defsubr it.

	* window.c (SAVE_WINDOW_DATA_SIZE): Define this using sizeof,
	instead of just saying it's 7; that way, we won't get screwed if 
	we add members to struct save_window_data.

	* window.c (struct save_window_data): Save the currently selected
	frame, too.
	(Fset_window_configuration): Restore the frame's selected window
	using Fselect_window, and then restore the selected frame using
	Fselect_frame.
	(Fcurrent_window_configuration): Record the currently selected
	frame.  Update docstring to describe the information now recorded.

Fri Oct  2 22:43:49 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* process.c (wait_reading_process_input): Ultrix select seems to
	return ENOMEM when interrupted.  So, under Ultrix, treat ENOMEM
	like EINTR.

	* keyboard.c (modifier_names): The modifier is named "control",
	not "ctrl".

	* keyboard.c (modify_event_symbol): Make sure that the unmodified
	event header gets the proper properties set on it, by recursing
	and letting the same code build the properties for all event symbols.

	* keyboard.c (Qmouse_click): Fix typo which assigned `mouse-click'
	symbol to Qmouse_movement.

Fri Oct  2 22:11:38 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* undo.c (Fprimitive_undo):
	When undoing an insert, move point and then delete.

Fri Oct  2 18:31:07 1992  Joseph Arceneaux  (jla@@churchy.gnu.ai.mit.edu)

	* intervals.c: `copy_intervals' no longer static.

	* intervals.h: Declare `copy_intervals'.

	* buffer.c: #include intervals.h.

	* ymakefile: New macro "INTERVALS", controlled by "USE_INTERVALS",
	which defines the interval include file "intervals.h".
	New entries for "intervals.c" and "textprop.c".

	* lisp.h: Declare Qbuffer_or_string_p.

Fri Oct  2 18:16:12 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* xterm.c (x_find_modifier_meanings): If there are no
	modifiers containing a Meta_ keysym, use the Alt keysyms to
	denote meta.
	(construct_mouse_click): Set the down_modifier bit on mouse
	button press events.
	(XTread_socket): When processing keypress events, use
	x_meta_mod_mask when processing ordinary ASCII characters, not
	just when processing function keys and other non-ASCII events.
	(XTread_socket): If we receive a MappingNotify event with the
	`request' member set to `MappingModifier', then call
	x_find_modifier_meanings to refresh x_meta_mod_mask.

	* window.c (Fset_window_configuration): Clean up the way we save
	and restore the frame's size.

	* termhooks.h (struct input_event): Doc fix.
	(NUM_MOUSE_BUTTONS): New constant.
	(click_modifier): New modifier.
	(NUM_MODIFIER_COMBOS): Removed.

	* keyboard.h (EVENT_HAS_PARAMETERS): Definition changed - all events
	are not 5 elements long.
	(EVENT_HEAD): Work correctly on all sorts of events, not just
	events with parameters.
	(EVENT_WINDOW, EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON,
	EVENT_WINDOW_POSN, EVENT_TIMESTAMP): These aren't useful
	anymore; this information may appear twice in an event.  These
	are replaced by the POSN_ accessors, which are meant to be
	composed with the EVENT_START and EVENT_END accessors.
	(EVENT_START, EVENT_END): Two new accessors, to get at the
	starting and ending position of an event.
	(POSN_WINDOW, POSN_BUFFER_POSN, PONS_SCROLLBAR_BUTTON,
	POSN_WINDOW_POSN, POSN_TIMESTAMP): New macros, to futher
	diasassemble the values returned by EVENT_START and EVENT_END.
	* keyboard.c (echo_char, read_char): Apply EVENT_HEAD without first 
	testing for EVENT_HAS_PARAMETERS; EVENT_HEAD works properly on
	all sorts of events now.
	(read_key_sequence): Use the new accessors to decide in which window
	an event occurred.
	* keymap.c (access_keymap, store_in_keymap,
	Fsingle_key_description): No need to check for
	EVENT_HAS_PARAMETERS before using EVENT_HEAD; the latter now
	works properly on all sorts of events.

	* keyboard.c (Qevent_unmodified): Replaced by...
	(Qevent_symbol_elements): New property.
	(syms_of_keyboard): initialize and staticpro the latter, not the
	former.
	* keyboard.h (Qevent_unmodified): Extern declaration replaced by...
	(Qevent_symbol_elements): This.
	(EVENT_HEAD_UNMODIFIED): Use the Qevent_symbol_elements
	property, rather than the Qevent_unmodified property.

	* keyboard.c (readable_events): This doesn't need to scan and
	discard mouse release events anymore; it just uses
	EVENT_QUEUES_EMPTY.
	(kbd_buffer_get_event): No need to skip past mouse release events.

	* keyboard.c (button_down_location): New variable, which
	stores the location at which each button was pressed, so we
	can build a complete drag event when the button is released.
	(make_lispy_event): When a button is pressed, record its
	location in button_down_location, and turn it into a `down'
	event.  When a button is released, compare its release
	location with its press location, and decide whether to call
	it a `click' or `drag' event.
	Change mouse movement events to be arranged like click events.
	(format_modifiers): Note that the click modifier has no
	written representation.
	(modifier_names, modifer_symbols): New variables, used to
	create the Qevent_symbol_elements property.
	(modify_event_symbol): Change the format of the modified
	symbol cache; there are too many modifier bits now to use a
	vector indexed by a modifier mask.  Use an assoc-list instead.
	Document the format of the cache.
	Put the Qevent_symbol_elements property on each new symbol,
	instead of a Qevent_unmodified property.
	(symbols_of_keyboard): Put Qevent_symbol_elements properties on
	the symbols specified in head_table, not Qevent_unmodifed properties.
	Initialize and staticpro modifier_symbols, and staticpro the
	window elements of button_down_location.

	* xmenu.c: #include "keyboard.h".
	(Fx_popup_menu): Use the event accessors defined in keyboard.h,
	instead of writing out cars and cdrs.
	* ymakefile: Note that xmenu.o depends on keyboard.h.

Fri Oct  2 14:55:28 1992  Joseph Arceneaux  (jla@@wookumz.gnu.ai.mit.edu)

	* textprop.c: Conditionalize all functions on
	"USE_TEXT_PROPERTIES".
	* intervals.c: Conditionalize all functions on
	"USE_TEXT_PROPERTIES".
	Removed #include of "screen.h".

	* alloc.c: #include "intervals.h".
	(init_intervals, make_interval,
	mark_interval, mark_interval_tree): New functions conditionally
	defined.
	(make_uninit_string): Call INITIALIZE_INTERVAL.
	(INIT_INTERVALS, UNMARK_BALANCE_INTERVALS, MARK_INTERVAL_TREE):
	New macros, conditionally defined.
	(mark_object): Call MARK_INTERVAL_TREE in case Lisp_String.
	(gc_sweep): If text properties are in use, place all unmarked
	intervals on the free list.  Call UNMARK_BALANCE_INTERVALS on
	`buffer->intervals' when unmarking `buffer'.
	(compact_strings): Include INTERVAL_PTR_SIZE in calculation for
	target of bcopy when relocating strings.
	(init_alloc_once): Call INIT_INTERVALS.
	(make_pure_string): Include INTERVAL_PTR_SIZE in calculation of
	`size'.
	Moved static declaration of `mark_object' and other functions up
	in the file.

	* fileio.c (Finsert_file_contents): Call offset_intervals if
	text was actually inserted.
	#include "intervals.h".
d1296 7
a1302 1
Wed Sep 30 18:29:00 1992  Joseph Arceneaux  (jla@@churchy.gnu.ai.mit.edu)
d1304 1
a1304 1
	* data.c: Qbuffer_or_string_p added.
d1306 1
a1306 1
	* syntax.c (describe_syntax): Use insert_char to insert `match'.
d1308 1
a1308 3
	* buffer.c (reset_buffer): Do INITIALIZE_INTERVAL on the buffer's
	interval component.
	(Fkill_buffer): Likewise.
d1310 2
a1311 282
	* editfns.c (make_buffer_string): Call copy_intervals_to_string.
	(Finsert_buffer_substring): Call graft_intervals_into_buffer.
	#include "intervals.h".

	* insdel.c: #include "intervals.h"
	(prepare_to_modify_buffer): Call verify_interval_modification.
	(insert_from_string): Call offset_intervals and
	graft_intervals_into_buffer.
	(del_range): Call offset_intervals.
	(insert): Call offset_intervals.

	* emacs.c: #include "intervals.h".
	(main): Call syms_of_textprop.  This is only really present if
	Emacs is compiled with USE_TEXT_PROPERTIES defined.

	* buffer.h: New macro TEMP_SET_PT.  If intervals are used, SET_PT
	and TEMP_SET_PT are function calls.
	Similarly for BUF_SET_PT and BUF_TEMP_SET_PT.
	Added DECLARE_INTERVALS to buffer structure to conditionally
	compile an interval tree into it.

	* intervals.h: Declare temp_set_point.

Wed Sep 30 17:08:53 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* ymakefile (config.h): Doc fix.

Wed Sep 30 16:35:23 1992  Joseph Arceneaux  (jla@@churchy.gnu.ai.mit.edu)

	* config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
	controlling compilation of interval code.
	If using GNUC, support inline functions.

	* lisp.h: Conditionally define interval structure and macros.
	Add DECLARE_INTERVALS to struct Lisp_String.

Wed Sep 30 06:59:07 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* buffer.c (Fother_buffer): Add back the VISIBLE_OK argument.  It
	got removed with no comment or ChangeLog entry, and
	append-to-buffer uses it.

        * window.c (struct save_window_data): Add a member called
	focus_frame, to save and restore the screen's focus frame.
	(Fset_window_configuration): Redirect the frame's focus as
	indicated in the window configuration.
	(Fcurrent_window_configuration): Record the frame's current focus.
	* minibuf.c (read_minibuf): Don't bother to save the current
	frame's focus, and have read_minibuf_unwind restore it; saving and
	restoring the window configurations will take care of that.
	(read_minibuf_unwind): Don't worry about restoring the frame's focus.

	* window.c (Fset_window_configuration): Don't select the frame
	just because we restored its configuration.

	* window.c (Fset_window_configuration): Don't forget to set the
	frame's selected window when we can't call Fselect_window.

	* xterm.c (x_meta_mod_mask): New variable, indicating which X
	modifier bits denote meta keys.
	(x_find_modifier_meanings): New function, to set x_meta_mod_mask.
	(x_convert_modifiers): Use that.
	(x_term_init): Call x_find_modifier_meanings.

	* data.c (Fmake_local_variable): If SYM forwards to a C variable,
	swap in the value for the current buffer immediately.

	* lisp.h: Doc elaboration for Lisp_Buffer_Local_Value.

Tue Sep 29 21:05:30 1992  Joseph Arceneaux  (jla@@churchy.gnu.ai.mit.edu)

	* textprop.c (Ferase_text_properties): Merge intervals when
	possible.

Tue Sep 29 00:04:05 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* xselect.c (Qcut_buffer0): Symbol removed; we're using a new
	interface to the cut buffer now.
	(NUM_CUT_BUFFERS, cut_buffer_atom, cut_buffer_value,
	cut_buffer_cached, cut_buffer_just_set): New variables.
	(Fx_own_selection, Fx_selection_value): Dike out the code to
	handle CUT_BUFFER0 requests.
	(Fx_get_cut_buffer, Fx_set_cut_buffer, x_watch_cut_buffer_cache,
	x_invalidate_cut_buffer_cache): New functions.
	(syms_of_xselect): Don't bother to initialize Qcut_buffer0.
	Initialize and staticpro cut_buffer_value, and defsubr
	Sx_get_cut_buffer and Sx_set_cut_buffer.
	* xterm.c (XTread_socket): Pass PropertyNotify events from the
	root window to x_invalidate_cut_buffer_cache.
	(x_term_init): Call x_watch_cut_buffer_cache here.

	* keymap.c (access_keymap): Don't forget to QUIT while scanning
	the keymap.

	* keyboard.c (recent_keys): This needs to be staticpro'ed.  Change
	it from a C array, which is a pain in the neck to staticpro, into
	a lisp vector, which is easier.
	(read_char, Frecent_keys): Access recent_keys as a lisp vector,
	not a C array.
	(syms_of_keyboard): Set recent_keys to be a vector, and staticpro it.

	* ymakefile (xfns.o): This doesn't depend on xselect.c.

	* xterm.h (ROOT_WINDOW): Use the DefaultScreen macro, not the
	XDefaultScreen function.

	* frame.c (Fdelete_frame): Call Fselect_frame with the appropriate
	number of arguments.

	* data.c (Frem): Use the `fmod' function under SunOS, Ultrix, and
	HP/UX, not just under USG systems.

	* buffer.c (Fbury_buffer): This used to undisplay the buffer being
	buried only if the BUFFER argument was nil.  Instead, undisplay the
	buffer whenever it's displayed in the selected window, no matter
	how it was specified by BUFFER.  This is how it behaves in 18.58,
	and I can't find any ChangeLog entry in 18.58 or 19.0 saying why
	they differ.  Fix the doc string accordingly.

Mon Sep 28 20:59:27 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* frame.c (Fselect_frame, Fframe_root_window,
	Fframe_selected_window, Fnext_frame, Fmake_frame_visible,
	Fmake_frame_invisible, Ficonify_frame): Doc fixes.

	* ralloc.c: Since the users of the relocating allocation code
	handle memory exhaustion, it's better to return an error code to
	them than to call abort. 
	(obtain): If we cannot allocate more memory, don't call
	abort.  Instead, return non-zero iff the allocation is successful.
	(get_more_space): If obtain fails, return zero.
	(get_bloc): Return zero if we can't allocate the new bloc.
	(r_alloc_sbrk): Return zero if we can't allocate more memory.
	(r_alloc): If we can't allocate more memory, set *PTR to zero and
	return zero.
	(r_re_alloc): If we can't allocate more memory, leave *PTR
	unchanged, and return zero.

	* ralloc.c (warnfunction): Renamed to warn_function; users changed.

Mon Sep 28 03:20:09 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* insdel.c (del_range): Call record_delete before updating point.

	* fileio.c (Finsert_file_contents): Do record_insert, then inc MODIFF.

	* undo.c (record_delete): Record pos before the deletion.
	(Fprimitive_undo): Go back to recorded position.

Mon Sep 28 01:08:59 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* window.c (delete_all_subwindows): Save the window's buffer in
	its `height' field; we may need to know the window's old buffer
	once we have restored it from a window configuration.
	(Fset_window_configuration): When we restore a window, if its
	`height' field is a buffer, restore its `buffer' field from that.
	This allows us to leave the window's buffer unchanged if the
	buffer recorded in the configuration is dead.

	* window.c (delete_all_subwindows): Removed unused variable named
	"count".

Sun Sep 27 22:18:37 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* keyboard.c (read_char): If we're returning an event from a
	macro, set Vlast_event_frame to Qmacro, instead of leaving it set
	to the frame of the previous real event.
	(read_key_sequence): If Vlast_event_frame isn't a frame, don't
	bother switching buffers.
	(syms_of_keyboard): Doc fix for Vlast_event_frame.
	(Vlast_event_frame): Doc fix.

	* termhooks.h (alt_modifier, hyper_modifier, super_modifier,
	down_modifier, drag_modifier): New modifiers, to support the new
	input system.  Re-arranged modifiers so that their bits are in
	canonical order; this makes reorder_modifiers slightly simpler.
	* keyboard.c (format_modifiers, reorder_modifiers): Handle the new
	modifier bits.

	* keymap.c (access_keymap): Remove code to notice bindings for
	Qt.

Fri Sep 25 19:22:52 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xmenu.c (single_keymap_panes): Handle vectors properly.

Fri Sep 25 10:58:40 1992  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* keymap.c (Fwhere_is_internal): Don't forget to advance map to
	the next element when we find something that is neither a vector
	nor a cons.  Don't forget to QUIT in the appropriate places,
	either.

Wed Sep 23 21:04:49 1992  Joseph Arceneaux  (jla@@geech.gnu.ai.mit.edu)

	* textprop.c (Fset_text_properties): Merge adjacent intervals with
	the same properties.
	(Fnext_single_property_change, Fprevious_single_property_change):
	New subrs.

	* intervals.c (merge_interval_left, merge_interval_right): Abort
	if caller tries to merge first (or last, respectively) interval.
	Delete the interval node after merging.
	(copy_intervals): Use `split_interval_right' rather than creating
	new intervals with make_new_interval and attaching them
	explicitly.
	(verify_interval_modification): Changed error message.  GCPRO
	hooks before calling Fnreverse, and correctly Fcdr down the list.
	Also, don't cons multiple copies of the same consecutive
	modification hook.
	(temp_set_point): New function.
	(set_point): Call point-left and point-entered hooks if moving
	between text with different properties.  Use the old and new
	positions as arguments to these calls.

	* intervals.c, intervals.h: (map_intervals, make_buffer_interval,
	 make_string_interval,run_hooks): Deleted.

Wed Sep 23 06:38:52 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* keymap.c (DENSE_TABLE_SIZE): Doc fix.
	(keymap_table): Function removed; this function exists only to
	support an incorrect understanding of the format of keymaps.
	(access_keymap, store_in_keymap, Fcopy_keymap,
	Faccessible_keymaps): Correctly handle vectors at any point in the
	keymap; don't assume it must be at the front.
	(describe_map): Instead of calling describe_vector on the vector
	in the cadr of the keymap (if present) and then calling
	describe_alist to do the rest, just call describe_map_2.
	(describe_alist): Renamed to describe_map_2; call describe_vector
	when we encounter a vector in the list.
	* xmenu.c (single_keymap_panes): Comment out the code which
	tries to handle a dense keymap's table; it uses keymap_table, and
	the rest of the code never uses the table contents anyway.

	* keymap.c (access_keymap, store_in_keymap): Clarify error message
	for non-ASCII characters.

	* process.c [SIGCHLD && !BSD && !UNIPLUS && !HPUX]
	(create_process): #if 0 out the code which sets the child's
	handler for SIGCHLD to sigchld; the code which gives sigchld its
	value has been diked out under these CPP symbols, so this should
	be diked out too.

	* indent.c (Fmove_to_column): Pass the right number of arguments
	to Findent_to.

Tue Sep 22 01:56:01 1992  Jim Blandy  (jimb@@kropotkin.gnu.ai.mit.edu)

	* emacs.c (emacs_priority): Doc fix.
	(main): Use nice, not setpriority; we just need a
	simple, portable call to nice here.
	* callproc.c (child_setup): Use nice, not setpriority.
	* sysdep.c (sys_suspend): Don't try to use "nice (- nice (0))" to
	set the subshell's priority to normal; nice doesn't return a
	defined value on all systems.  Instead, since emacs_priority gives
	the priority that Emacs was nastied to, we can use it to reset the
	priority in a straightforward way.
	[BSD4_1], [USG], [VMS] (setpriority): Remove dummy and
	compatibility definitions of setpriority.

	* keymap.c (access_keymap): Return the binding of Qt as the
	binding for all unbound characters.

	* fileio.c (syms_of_fileio): Don't try to defsubr Sunix_sync
	unless it's actually been defined - that is, if unix is #defined.

	* xrdb.c (x_get_resource): Cast the value being assigned to
	ret_value->addr, rather than ret_value->addr itself; only GCC
	allows you to cast lvalues.

	* eval.c (unbind_catch): Do the long-jump here.  Take a VALUE
	argument, which specifies the value to return to the catch, or the
	data to give to the condition handler.  Renamed to
	unwind_to_catch, to reflect new role.
	(Fsignal, Fthrow): Removed code to set catch tag value and do the
	long-jump; this is taken care of by unwind_to_catch.

Mon Sep 21 02:36:50 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* alloc.c (mark_object): Avoid car recursion on cons with nil in cdr.
	Avoid recursion on constants-vector of a compiled function.
d1313 1
a1313 2
	* oldXMenu: Symlink deleted; anything that uses it needs fixing
	in any case to work properly on systems without symlinks.
d1315 2
a1316 1
Sun Sep 20 16:05:09 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1318 1
a1318 1
	* s/sol2.h: New file.
d1320 3
a1322 1
	* fileio.c: Don't include sys/dir.h.
d1324 1
a1324 3
	* s/usg5-4.h (LIBS_SYSTEM): Move non-default libraries here.
	(LIB_STANDARD, START_FILES): Deleted.
	(ORDINARY_LINK): Defined.
d1326 2
a1327 4
	* ymakefile [ORDINARY_LINK]: Default LD to $(CC)
	and make START_FILES and LIB_STANDARD empty.
	(C_SWITCH_X_MACHINE, C_SWITCH_X_SYSTEM): New macros, default empty.
	(CFLAGS): Use them.
d1329 1
a1329 1
Sat Sep 19 03:05:11 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1331 2
a1332 1
	* ymakefile (${etc}DOC): Use OBJECTS_SYSTEM and OBJECTS_MACHINE.
d1334 1
a1334 2
	* dired.c [VMS]: Include string.h, rms.h, rmsdef.h.
	[VMS] (Ffile_version_limit): New function.
d1336 1
a1336 1
	* sysdep.c (sys_suspend): Read EMACS_PARENT_PID envvar for parent. 
d1338 1
a1338 42
	* syntax.c (scan_lists): When searching back for comment:
	if comment-end is 2 chars, assume it does end a comment.
	Otherwise, scan back to previous comment-end to see if there's
	a comment starter between.  Also record whether the string quotes
	between the start and the end are paired and uniform.
	If so, skip to comment starter.  If not, scan from start of
	defun to find comment starter if any.
	(find_defun_start): New function.

	* alloc.c (mark_object): Save last 500 values of objptr.
	Check for clobberage of ptr, when marking a vector.

Fri Sep 18 03:28:55 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keymap.c (get_keyelt): Skip menu help string after menu item name.

Fri Sep 18 00:50:03 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* buffer.c (Fget_buffer_create): Doc fix.

	* lisp.h (struct handler): Remove the poll_suppress_count member
	of this structure; it is always equal to the poll_suppress_count
	of its catchtag structure.  The non-local exit code in eval.c is
	difficult enough to understand as it is; needless duplication
	doesn't help.
	* eval.c (Fcondition_case): Rearranged for clarity.  Don't worry
	about setting h.poll_suppress_count; it's guaranteed to be the
	same as c.poll_suppress_count.
	(internal_condition_case): Don't worry about
	h.poll_suppress_count.
	(Fsignal): Use h->tag->poll_suppress_count instead of
	h->poll_suppress_count.

	* eval.c (Fsignal): It's okay for the debugger to return to the
	caller if the caller was signalling a quit.

	* eval.c (unbind_catch): Restore the polling suppression count
	here, instead of in Fsignal and Fthrow.
	(Fthrow, Fsignal): Don't restore the polling suppression count here.
	
	* lisp.h (struct specbinding, struct handler): More documentation.
	* eval.c (struct catchtag): More documentation.
d1340 1
a1340 1
Thu Sep 17 18:49:39 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1342 1
a1342 1
	* ymakefile (LIBX): Don't use -loldX.
d1344 1
a1344 1
Thu Sep 17 15:51:18 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1346 1
a1346 1
	* minibuf.c (get_minibuffer): Enable undo in minibuffers.
d1348 1
a1348 1
Mon Sep 14 17:35:32 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1350 2
a1351 3
	* ymakefile (LIBXMENU): Check NO_X_MENU, not HAVE_X_MENU
	* emacs.c (main): Use X menu code if HAVE_X_WINDOWS and not NO_X_MENU.
	* keyboard.c (read_char_menu_prompt): Likewise.
d1353 1
a1353 1
	* config.h.in: Delete everything about config.h.
d1355 2
a1356 3
	* emacs.c: Eliminate HIGHPRI as compilation option.
	(emacs_priority): New C variable, also Lisp variable.
	(main): Set the priority iff emacs_priority is nonzero.
d1358 1
a1358 1
Mon Sep 14 15:38:56 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1360 3
a1362 14
	* eval.c (entering_debugger): Variable renamed
	when_entered_debugger, and is now a timestamp based on
	num_nonmacro_input_chars.
	(init_eval): Initialize when_entered_debugger, not
	entering_debugger.
	(call_debugger): Set when_entered_debugger to the current value of
	num_nonmacro_input_chars.
	(find_handler_clause): Don't call debugger unless
	num_nonmacro_input_chars is greater than when_entered_debugger;
	that way, we won't call the debugger unless the user has had a
	chance to take control.
	(Fbacktrace): Don't clear entering_debugger here.
	* keyboard.h (num_nonmacro_input_chars): Added extern declaration
	for this.
d1364 1
a1364 3
	* fns.c (Fy_or_n_p): After testing for a QUIT, clear Vquit_flag.
	Otherwise, if Fy_or_n_p is called while Vinhibit_quit is true and
	the user presses C-g, this function goes into an infinite loop.
d1366 1
a1366 3
	* dispnew.c (get_display_line): Don't abort if the frame is
	invisible; since unmap events are handled at the interrupt level,
	a screen may become invisible at any time.
d1368 1
a1368 1
Sun Sep 13 18:23:40 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1370 1
a1370 8
	* fileio.c (Fverify_visited_file_modtime):
	Pass buffer itself to handler, if have handler.
	(Fwrite_region): GCPRO around Fexpand_file_name, Ffile_name_directory.
	(Fread_file_name_internal): GCPRO around file name manip.
	(Ffile_writable_p, Ffile_readable_p): Use abspath, not filename,
	(Ffile_executable_p, Ffile_exists_p): to run the handler.
	(Fset_file_modes, Ffile_directory_p, Ffile_modes): Likewise.
	(Ffile_newer_than_file_p): GCPRO around expand_and_dir_to_file.
d1372 1
a1372 1
Sun Sep 13 08:30:46 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1374 1
a1374 2
	* s/bsd4-3.h: Give the BSD4_3 and BSD symbols the same numeric
	definitions they'll get in <sys/param.h>, to avoid warnings.
d1376 3
a1378 4
	* m/hp9000s300.h: Don't include <sys/wait.h>.  This really
	shouldn't be necessary.
	(BIG_ENDIAN): Define this as "4321", to agree with
	<machines/endian.h>, and avoid warnings.
d1380 1
a1380 3
	* systime.h: Re-arrange inclusion of <sys/time.h> and <time.h> so
	that they don't both get included under BSD, and do both get
	included under AIX.
d1382 1
a1382 3
	* xdisp.c (display_mode_line): If the only other frames are
	minibuffer frames, don't name the frame after the in the selected
	window.  We can use Fnext_frame to do this test easily.
d1384 1
a1384 1
Sat Sep 12 03:55:16 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1386 1
a1386 1
	* process.c (Faccept_process_output): Initialize useconds.
d1388 1
a1388 4
	* keyboard.c (num_nonmacro_input_chars): New variable.
	(read_char): Use num_nonmacro_input_chars to decide on auto-save & gc.
	Increment it when appropriate.
	(record_auto_save): Use num_nonmacro_input_chars.
d1390 1
a1390 6
	* fileio.c (Ffile_name_directory, Ffile_name_nondirectory): 
	(Ffile_name_as_directory, Fdirectory_file_name, Fexpand_file_name): 
	Call find_file_handler.
	(syms_of_fileio): Set up Qfile_name_directory, etc.
	(Fcopy_file): Call find_file_handler for newname as well as for filename.
	(syms_of_fileio): Initialize Vfile_name_handler_alist.
d1392 2
a1393 1
Fri Sep 11 14:03:56 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1395 1
a1395 2
	* callint.c (Fcall_interactively): Remove the 'K' interactive
	code, in favor of 'e'; that's a better name.
d1397 2
a1398 1
Fri Sep 11 00:28:39 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1400 1
a1400 1
        * s/esix5r4.h: New file.
d1402 47
a1448 4
        * sysdep.c (init_sys_modes): Handle VDSUSP like V_DSUSP.
        Use CDISABLE, not CDEL.
        Turn off IEXTEN if it exists.
        * systty.h (CDISABLE): New macro; may be defined from CDEL.
d1450 1
a1450 1
	* keyboard.c (command_loop_1): Bind inhibit-quit to t when in Fsit_for.
d1452 1
a1452 1
Thu Sep 10 16:19:45 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1454 1
a1454 2
	* Makefile.in: Add comments starting with "# DIST: " explaining
	that this gets munged by the configure script.
d1456 2
a1457 1
Thu Sep 10 03:48:18 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1459 1
a1459 1
	* s-aix3-1.h (HAVE_GETHOSTNAME): Defined.
d1461 3
a1463 1
Wed Sep  9 20:34:43 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1465 1
a1465 238
	* frame.c (choose_minibuf_frame): abort if the selected frame has
	nil in its minibuffer_window slot; this shouldn't happen any more.
	* window.c (minibuffer_window): Accept an optional FRAME argument;
	if specified, return the minibuffer used by that frame.

	* keymap.c (describe_buffer_bindings): Adjust key_heading to match
	the format used by describe_map_tree.  Also, don't reprint the
	"key    binding" header above the global bindings if we've already
	printed it for the local bindings; it's clear enough that the
	columns mean the same thing as above.

Tue Sep  8 13:25:37 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

        * ralloc.c (r_re_alloc): Instead of allocating a new bloc at the
	end of the heap, copying the data to it, and then freeing the
	original bloc, just expand the original block.  This saves a copy
	and a call to sbrk, and also removes the large spike in memory
	allocation that would occur when resizing large buffers.  And it's
	less code.

	* keyboard.h (Vkeyboard_translate_table): Declare this extern
	here, so describe_buffer_bindings can use it.
	* keymap.c (describe_buffer_bindings): Declare buf and bufend...

Sat Sep  5 03:47:34 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* systime.h: Always #include <time.h>, not just when NEED_TIME_H
	is defined.  It gets us struct tm.  #include <sys/time.h> whenever
	HAVE_TIMEVAL is defined and NEED_TIME_H isn't.

	* systime.h: Note that the tz_dsttime field of the struct timezone
	returned by gettimeofday doesn't say whether daylight savings is
	_currently- active; rather it specifies whether it is *ever*
	active.
	(EMACS_GET_TZ_OFFSET_AND_SAVINGS): Removed `savings_flag'
	argument, and renamed to EMACS_GET_TZ_OFFSET.  Don't try to
	extract savings information.  EMACS_CURRENT_TIME_ZONE should call
	localtime to figure out whether DST is active.

	* m/hp9000s300.h: #include <sys/wait.h> before doing anything
	else, to avoid conflicts between the system's and Emacs's
	definitions of BIG_ENDIAN.

	* keymap.c (describe_buffer_bindings): Set the current buffer to
	descbuf before calling current_minor_maps; that function's value
	depends on the values of buffer-local variables.  Don't set the
	current buffer to Vstandard_output until afterwards.

	* keymap.c (describe_buffer_bindings): If
	Vkeyboard_translate_table is in effect, describe its effects.

	* frame.c (Fnext_frame): Doc fix.

	* frame.c (prev_frame): #if 0'd out; nobody uses this.

	* frame.c (next_frame): The logic which determines whether a frame
	is acceptable to return was misarranged; rewrote it.
	(prev_frame): Same thing.

Sat Sep  5 01:17:59 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* syntax.c (scan_lists): Improve smarts for backwards scan of comments.
	Don't modify comstyle inside that loop.
	If string quotes don't match up, don't take value from OFROM;
	instead, parse forward using scan_sexps_forward.
	(scan_sexps_forward): Return value via a pointer passed in.
	New element in state contains char addr of last comment-starter seen.
	(Fparse_partial_sexp): Change call to scan_sexps_forward.

Fri Sep  4 17:47:12 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xmenu.c (xmenu_show): If no panes, just return.

	* keyboard.c (last_nonmenu_event): New var.
	(syms_of_keyboard): New Lisp var.
	(read_key_sequence): Use that instead of prev_event.
	* commands.h (last_nonmenu_event): Declared.
	* callint.c (Fcall_interactively): For `K', use last_nonmenu_event.
	Make `e' alias for `K'.

Thu Sep  3 00:40:08 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

        * editfns.c (Fcurrent_time_string): Change docstring to
        indicate that we will probably add the timezone to the end,
        now that we have it available on many systems.

	* xrdb.c: Don't include <X11/Xos.h>.  Under R4, it stupidly
	insists on defining SIGCHLD, even if it already has a definition.
	(file_p): Use the constant 4 instead of R_OK; empirically, the
	number is more portable than the symbol if you count the #include
	hair you have to go through to get R_OK defined.  Ffile_readable_p
	does this too.

	* xterm.c (x_wm_set_size_hint): Set the base_width and base_height
	members of size_hints, if they're available (X11R4 and after);
	otherwise, approximate the right thing, by using min_width and
	min_height as the base size.

Wed Sep  2 19:46:56 1992  Barry A. Warsaw   (warsaw@@anthem.nlm.nih.gov)

	* Extended syntax.c in the following ways to support up to 2
	orthogonal comment styles per mode.  This is needed for C++.
	Bit 6 of syntax table entry for a character indicates
	it is part of the `b' comment style.  Otherwise it is
	part of the `a' style.
	* syntax.h (SYNTAX_COMMENT_STYLE): New macro.
	* syntax.c (Fmodify_syntax_entry): Set that flag for `b'.
	(describe_syntax): Print the `b' flag.
	(scan_lists, scan_sexps_forward): Handle the new flag.
	(Fparse_partial_sexp): Return new element in value.

Wed Sep  2 17:41:31 1992  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* fileio.c (syms_of_fileio): Doc fix for Vfile_name_handler_alist.

Wed Sep  2 00:46:36 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* keyboard.c (kbd_buffer_get_event): When performing the
	FRAME_FOCUS_FRAME redirection, don't modify the frame field of
	the event; that fatally corrupts mouse click events.  Instead,
	just perform the redirection on the value assigned to
	Vlast_event_frame.

	* callint.c (Fcall_interactively): Don't try to get the
	`enable-recursive-minibuffers' property from FUNCTION unless
	FUNCTION is actually a symbol; there are some cases where a key
	sequence is bound directly to a lambda form, and there's no reason
	to break these.

	* window.c (Fset_window_configuration): Don't signal an error
	if the frame size saved in the window configuration doesn't
	match the frame's current size; instead, temporarily resize
	the frame while installing the window configuration.  This is
	important because using the minibuffer saves and restores the
	current window configuration, and you don't want to signal an
	error just because the user resized the frame while using the
	minibuffer.

	* doc.c (Fsnarf_documentation): Signal an error if this is
	called in a dumped Emacs.

	* alloc.c (mark_object): mark a symbol's name after marking its
	value, function, and property list rather than before; this way,
	symbols' names are readable, giving us a chance to detect some
	kinds of heap corruption.

Wed Sep  2 00:04:50 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* emacs.c (__main, __do_global_dtors): New dummy functions.
	(__do_global_ctors_aux, __do_global_ctors): Fix typo in fn names.

Tue Sep  1 12:07:18 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* prefix-args.c: New file.  See comment at top of file.
	* ymakefile (YMF_PASS_LDFLAGS): Use the prefix-args program to
	affix the -Xlinker prefix to the linker arguments.
	(prefix-args): New target.
	(temacs): Depend on prefix-args.

	* xterm.c (x_catch_errors): Don't forget to initialize
	x_caught_error_message to the null string, so x_check_errors can
	tell when an error has occurred.

	* unexmips.c (mark_x): Declare this as static void at the top of
	the file and at the function definition.

	* keyboard.c (input_available_signal): Declare this to return
	SIGTYPE.

	* xrdb.c (getuid): Declare this to return short.

	* s/bsd4-3.h: Remove definition of SIGTYPE macro; Mt. Xinu says
	it's int, but Ultrix says it's void.  Since the SIGTYPE guessing
	code in the `configure' script gives the correct answer for both
	of these cases, there's no point in listing it here.

	* systime.h (EMACS_CURRENT_TIMEZONE): Change documentation to
	indicate that *OFFSET should be set to the number of minutes EAST
	of Greenwich, which is what Ed Reingold says real time gurus want.
	Changed the definition of the EMACS_GET_TZ_OFFSET_AND_SAVINGS
	macro to reflect this.  Buggily, the Fcurrent_time_zone function
	was already expecting minutes east of GMT.

	* Makefile.in (distclean): Remove backups from the `m' and `s'
	directories, too.

	* m/mips.h: Merge changes from Emacs 18.58:
	[NEWSOS5]: Changes so this file can be used with s/newsos5.h.
	(SIGN_EXTEND_CHAR): Define this using a cast to signed char.  I
	guess the MIPS compiler and its derivatives all have this type.
	(HAVE_ALLOCA, C_ALLOCA): Define the former if we're compiling with
	GCC, and the latter otherwise.
	(C_SWITCH_MACHINE): Defined, instead of C_SWITCH_SYSTEM.
	(LINKER): Defined, if BSD.
	(XUINT, XSET, XUNMARK): Add parentheses to eliminate warnings from
	GCC.  Reindent to fit in 80 columns.
	INHIBIT_BSD_TIME prevents including bsd/sys/time.h.
	* s/newsos5.h: New file for Sony NEWS-OS release 5, courtesy of
	Chris Hanson <cph@@klia.ai.mit.edu>.

	* m/mips.h: Don't undefine LOAD_AVE_TYPE; the comment says that
	Emacs 19 has the crocks to handle it properly.

	* m/pmax.h: Merge changes from Emacs 18.58:
	(LIB_STANDARD, COFF, TERMINFO): Cancel out definitions from
	m/mips.h which are only appropriate for USG.
	(MAIL_USE_FLOCK, HAVE_UNION_WAIT): Do define these.
	(BROKEN_O_NONBLOCK): Defined.
	(LINKER): Don't define this.
	[OSF1]: Undef C_ALLOCA, define HAVE_ALLOCA.
	
	* s/osf1.h: New file.

	* s/bsd4-3.h: Merge changes from Emacs 18.58:
	(BSD, BSD4_3): Just define these, don't fret about numerical
	values or version numbers.

	* m/hp9000s300.h: Merge changes from Emacs 18.58, and hp300bsd.h:
	Change configuration note to say it's okay to use this file for BSD.
	Add comment saying that NOMULTIPLEJOBS must be defined for
	versions of HP/UX before 6.5.
	Don't define BIG_ENDIAN if it seems that <endian.h> has already
	done so.
        [BSD4_3] Define m68000, instead of hp9000s300; crt0.c uses these
	to decide what sort of startup code to use.
	[not BSD4_3] Under HP/UX, always define the BSD memory functions
	(bcopy, bzero, and bcmp) in terms of the SYSV string functions
	(memcpy, memset, and memcmp), not just under HP/UX 5; version 6's
	BSD compatibility library has reported bugs in `signal'.
	(NEED_BSDTTY): Move this symbol's definition inside the "not
	BSD4_3" conditional, since it's only relevant to HP/UX.
	* m/hp300bsd.h: File deleted, since m/hp9000s300.h now
	works with both HP/UX and BSD; it includes m/hp300bsd.h's
	specifications.

	* m/hp9000s300.h: Remove definition for SIGN_EXTEND_CHAR; this is
	only used by the regexp code, which has its own portable
	definition these days.
d1467 2
a1468 1
Mon Aug 31 01:39:43 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1470 1
a1470 2
	* keymap.c (Fmake_sparse_keymap): New optional arg.  Callers changed.
	(Fmake_keymap): Likewise.
d1472 3
a1474 2
	* emacs.c (__do_global_ctors, __do_global_ctors_aux): New dummy fns.
	(__CTOR_LIST__, __DTOR_LIST__): New dummy variables.
d1476 4
a1479 1
	* fileio.c (Fdo_auto_save): Always call record_auto_save.
d1481 7
a1487 33
	* keyboard.c (read_char): Call read_char_menu_prompt here.
	Accept 4 new args to pass to it.  Include them in recursive call.
	Don't delay before starting echo if prev_event was a mouse event.
	Test for eof in batch mode now understands C is a Lisp_Object.
	(read_key_sequence): Don't call it here; always call read_char.
	Don't change last_event_buffer after a mouse menu input.
	(read_char_menu_prompt): Arg PROMPT deleted.
	Return nil if nothing to do.

	* xmenu.c (Fx_popup_menu): Treat coords relative to spec'd window.
	(single_keymap_panes): New function; contains guts of keymap_panes.
	If a command binding for submenu has a prompt string starting with @@,
	make a separate pane for it at this level.

	* xfns.c (Fx_track_pointer): Pass new args to read_char.
	(Fx_select_region, Fx_horizontal_line): Likewise.
	* lread.c (Fread_char): Pass new args to read_char.
	(Fread_event, Fread_char_exclusive): Likewise.
	* fns.c (Fy_or_n_p): Pass new args to read_char.

Sun Aug 30 15:05:00 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (read_key_sequence): Keep track of prev_event.
	Pass new proper args to read_char_menu_prompt.
	(read_char_menu_prompt): New arg prev_event.  Use Fx_popup_menu.
	Handle any number of keymaps, not just LOCAL and GLOBAL.
	Invert meaning of arg PROMPT.  Test of menu_prompting was backwards.

	* keymap.c (keymap_table): No longer static.

	* xmenu.c (keymap_panes): New function.
	(Fx_popup_menu): Accept keymap or list of keymaps as MENU argument.
	Accept mouse button event as POSITION argument.
d1489 2
a1490 1
Sat Aug 29 19:59:41 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1492 1
a1492 2
	* cmds.c (internal_self_insert): Assume Fexpand_abbrev expanded
	something if it incremented MODIFF.
d1494 1
a1494 1
Fri Aug 28 22:30:25 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1496 1
a1496 2
	* unexmips.c (unexec): Allow sections in any order.
	Adjust addresses of rdata section as well as data section.
d1498 2
a1499 2
	* buffer.c (syms_of_buffer): Made buffer-display-table,
	buffer-field-list and buffer-undo-list allow any type of value.
d1501 2
a1502 1
Thu Aug 27 00:14:54 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1504 1
a1504 1
	* fns.c (Fappend): Doc fix.
d1506 1
a1506 1
Mon Aug 24 17:47:40 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1508 2
a1509 5
	* s/usg5-4.h: Incorporate changes from 18.58:
	(LIBX10_SYSTEM): Undefine this.
	(GNULIB): Definition deleted -- done in ymakefile.
	(LIB_STANDARD): Don't use GNULIB.
	(HAVE_TCATTR): Defined.
d1511 5
a1515 30
	* xfns.c (x_icon): Don't call x_wm_set_icon_positions if the user
	hasn't specified the icon position.  Let the window manager put
	the icon where it likes.

        * xterm.c (x_make_frame_invisible): Don't forget to check the
	return value of XWithdrawWindow; it could indicate that the window
	wasn't successfully redrawn.

	* sysdep.c (init_baud_rate): Re-arranged order of conditionals -
	test TERMIOS before TERMIO; when two options might both be
	defined, test the most recent first, so that the most recent
	functions get used.

	* sysdep.c [HAVE_TERMIO] (init_baud_rate): Don't use tcgetattr
	unless HAVE_TCATTR is defined.  Only very rarely do termio systems
	have the tc{get,set}attr macros.

	* window.c (coordinates_in_window): Do not assume that all
	one-line windows are the minibuffer, or that all minibuffers are
	one line high.  Use MINI_WINDOW_P.

        * systerm.h: Renamed to systty.h, to be more consistent with
	everything else in Unix.
	* dispnew.c, emacs.c, keyboard.c, process.c, sysdep.c: #include
	directive changed.
	* ymakefile: References to systerm.h changed.

	* s/usg5-3.h: Merged changes from 18.58:
	(HAVE_SYSV_SIGPAUSE): Defined.
	(BROKEN_TIOCGETC): Defined.
d1517 5
a1521 1
Fri Aug 21 22:50:34 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1523 2
a1524 4
	* process.c (WCOREDUMP): Define only if not defined.
	(create_process) [HAVE_SETSID]: Use TIOCSCTTY if exists.
	
Thu Aug 20 16:45:07 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1526 1
a1526 667
        * fileio.c (Fdo_auto_save): Call Fsleep_for with the appropriate
	number of arguments.
	* fns.c (Fyes_or_no_p): Same.

	* dispnew.c (update_frame): Change the way we handle
	cursor_in_echo_area.  Firstly, ignore this if the frame we're
	updating doesn't have a minibuffer.  Secondly, don't handle the
	selected frame specially.  Thirdly, don't assume that the
	minibuffer is only one line high.  If cursor_in_echo_area < 0, put
	the cursor in the upper-left corner; if cursor_in_echo_area > 0,
	put it on the lowest non-empty line in the minibuffer window, or
	on the top line.

	* dispnew.c (direct_output_for_insert): Fail if
	cursor_in_echo_area is set; we don't want to do the typing there.
	(direct_output_for_insert): Same.

Wed Aug 19 14:10:01 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

        * xterm.c (x_make_frame_invisible): Use XWithdrawWindow when
	available [HAVE_X11R4]; send the UnmapNotify event when
	appropriate [HAVE_X11]; just unmap the window if that's all that's
	needed [not HAVE_X11].

	* xterm.c (x_set_text_property): Removed; it's only called from
	one place.  Who wants *another* layer of indirection?
	* xfns.c (x_set_name): Use XSetWM{Name,IconName} when available
	[HAVE_X11R4], or XSetIconName and XStoreName otherwise.

	* xterm.h (FRAME_X_WINDOW): New macro, for readability.
	* xterm.c, xfns.c, xselect.c: Use it.

	* emacs.c (Fkill_emacs): Doc fix.
	(syms_of_emacs): Doc fix for Vkill_emacs_hook.

	* xterm.c (x_death_handler): Renamed to x_connection_closed.
	(x_term_init): Use x_connection_closed as the SIGPIPE handler.

	* xterm.c (acceptable_x_error_p, x_handler_error_gracefully,
	x_error_handler): Removed; you can't catch X errors this way,
	since you can't perform X operations from within an X error
	handler, and even though we call error, we're still within an X
	error handler.
	(x_error_quitter, x_error_catcher): New functions, for panicking
	on and catching X protocol errors.
	(x_caught_error_message): Buffer for caught X errors.
	(x_catch_errors, x_check_errors, x_uncatch_errors): New functions
	for catching errors.
	(x_term_init): Set the error handler to x_error_quitter, rather
	than x_error_handler.
	* xfns.c (x_set_mouse_color): Use x_catch_errors, x_check_errors,
	and x_uncatch errors to avoid crashing if the user selects an
	odd cursor.

	* xterm.c (x_proto_requests): Removed; it's not important.
	
	* xterm.c (events): Array removed; it's not used.

	* xfns.c (select_visual): Use XVisualIDFromVisual when available
	[HAVE_X11R4].
	
	* xrdb.c (get_user_db): Use XResourceManagerString when available
	[HAVE_X11R4].

	* window.c (change_window_height): If the size of the window will
	shrink below the minimum, this code would only try to delete it if
	it had a parent.  Well, even if the window doesn't have a parent,
	you want Fdelete_window to signal an error, since you're trying to
	resize one of the undeleteable windows into nothingness.  So call
	Fdelete_window even if the window doesn't have a parent.

	* window.c (MINSIZE): Add kludge so that the minibuffer is always
	allowed to shrink to one line in height.
	(MINSIZE, CURBEG, CURSIZE): Change these so that their argument
	are always Lisp_Objects, not struct window *'s.
	(change_window_height): Changed accordingly.

Tue Aug 18 16:09:11 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

        * frame.h (struct frame): New member - explicit_name.
	* frame.c (make_frame): Clear it.
	* xfns.c (x_set_name): Take new argument EXPLICIT, instead of
	OLDVAL.
	(x_explicitly_set_name, x_implicitly_set_name): New functions.
	(x_frame_parms): Use x_explicitly_set_name here.
	(x_window): Use x_implicitly_set_name here.
	* xdisp.c (display_mode_line): Use x_implicitly_set_name here.

	* xterm.c (x_wm_hints): Variable deleted.  This has to be
	per-screen.  Duh.
	* xterm.h (struct x_display): New member: wm_hints.
	* xterm.c (x_wm_set_window_state, x_wm_set_icon_pixmap,
	x_wm_set_icon_position): Use F->wm_hints, rather than x_wm_hints.
	(x_term_init): Don't initialize x_wm_hints here.
	* xfns.c (Fx_create_frame): Instead, initialize f->x_wm_hints
	here.

	* xterm.c (x_set_text_property): Properly balance the BLOCK_INPUTs
	and UNBLOCK_INPUTs.  And remember that VALUE is the string we want
	to set the name to, not PROPERTY.

Mon Aug 17 15:39:28 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* frame.c (make_minibuffer_frame): Don't set this to auto-raise by
	default.  It's annoying.

	* frame.c (make_minibuffer_frame): Set the prev field of the
	minibuffer window on a minibuffer-only frame to Qnil, rather than
	having it point to itself.  This confuses code (Fprevious_window
	and change_window_height, for example), and is only an attempt to
	support a convention that can't really be used in Emacs 19 anymore.
	* window.h: Document the fact that we can no longer assume that
	the minibuffer's previous window is the root window, since a
	minibuffer window in a minibuffer-only frame has a prev field of
	nil.
	* frame.h [not MULTI_FRAME] (FRAME_ROOT_WINDOW): Define this by
	reference to the_only_frame.root_window, rather than by assuming
	that minibuf_window->prev is the root window.  While this is true
	in the non-multi-frame case, we want to discourage this assumption
	in code.
	* dispnew.c [not MULTI_FRAME] (Fredraw_display): Use
	FRAME_ROOT_WINDOW instead of minibuf_window->prev.
	* xdisp.c (redisplay, init_xdisp): Same.
	* window.c (Fset_window_configuration): Removed #if 0'd code which
	assumes that minibuf_window is on the same frame as the window
	configuration.  Removed special case for windows whose prevs
	point to themselves.

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

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

	* xterm.h (HAVE_X11R4): Since we can autodetect this, and can
	write code more likely to be future-compatible, define this when
	appropriate.
	* xterm.c (x_set_text_property): Define this appropriately for
	X11R3 and X11R4.

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

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

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

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

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

Sat Aug 15 12:12:53 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* xterm.c: Doc fixes.

        More SYSV portability changes from Eric Raymond:

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

	* xterm.c (x_make_frame_invisible): Instead of calling XWithdraw
	window, which isn't widely available, write out what it does,
	since that's not much.
	(x_iconify_frame): Explicitly perform both the X11R3 and X11R4
	methods for iconification; don't use XIconifyWindow, since that's
	not present in R3.
	
	* xterm.c (x_wm_set_size_hint): Don't bother setting the
	base_width and base_height members; their function is performed
	just as well by the min_width and min_height members, and if we
	use XSetNormalHints instead of XSetWMNormalHints, we can be
	compatible with R3.

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

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

Fri Aug 14 20:51:14 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* abbrev.c (Fexpand_abbrev): If pre-expand hook changes the buffer,
	assume that means we "did an expansion".

	* cmds.c (internal_self_insert): Ignore value of Fexpand_abbrev;
	instead, check whether buf is modified when it returns.

Fri Aug 14 12:29:56 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

        Applied SYSV portability changes from Eric Raymond:

	* xrdb.c [USG5]: Define SYSV, and then include <unistd.h>.
	Apparently, Xlib.h include string.h if SYSV is defined, and
	strings.h if not.
	Don't include <sys/types.h>; just declare getuid to return an
    	int.  Big deal.
	(MAXPATHLEN): If this is not defined by the system's include
    	files, give it a value of 256.
	(get_user_db): Fetch the defaults directly from the display
    	structure, rather than using XResourceManagerString; that
    	function doesn't exist in the older versions of X.

	* xterm.c (x_set_text_property): New function.
	* xfns.c (x_set_name): Use it instead of XSetWMName and
    	XSetWMIconName.

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

	* term.c (term_get_fkeys): Some systems define `static' to be the
    	empty string, which means that you can't have constant
    	initialized arrays inside a function.  So move the `keys' array
    	outside of the function.
	* xdisp.c (decode_mode_spec): Same deal, with lots_of_dashes.
	* xfns.c (x_make_gc): Same deal, regarding cursor_bits.

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

	* term.c (clear_end_of_line): Remember that on some systems,
    	"static" gets defined to be the null string, so we can't declare
    	an array to be static and then initialize it.  Since the array in
    	question (buf) is only one element long, just make it a scalar
    	rather than an array; it can then be initialized, even if it's
    	not static.

	* systime.h [not HAVE_TIMEVAL] (EMACS_USECS, EMACS_SET_USECS):
    	Don't forget to define dummy versions of these.

	* systime.h [USE_UTIME]: time_t is a typedef, not a struct.
    	Don't prefix it with `struct'.

	* systerm.h (EMACS_SET_TTY_PGRP): When there doesn't seem to be
    	any way to do this, don't forget to give it a dummy definition.

	* sysdep.c (select): There's no need to cast the return value of
    	signal anymore, since we have the SIGTYPE macro defined.

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

	* sysdep.c [USG5]: Don't include fcntl.h.

	* s/usg5-3.h: Eric Raymond writes:
	Define HAVE_SELECT and BSTRINGS only if HAVE_X_WINDOWS is on,
	because that means we'll be linking in the shared libraries
	containing the BSD emulations.  Teach the file about the shared
	libraries necessary to link X programs, because AT&T doesn't
	supply static libraries for X.  Also, fix the incorrect assertion
	that -lg cannot be used with SVr3.  Finally, force USE_UTIMES and
	BROKEN_TIOCGWINSZ.  (Note for the future; there may be a
	utimes(2)) emulation lurking in the X shared libraries.)

	* s/usg5-4.h (USE_UTIME): Remove this definition; the C library
    	still doesn't have utimes.

	* ralloc.c (get_bloc): When initializing new_bloc->variable, cast
	NIL to (POINTER *).
	(malloc_init): Give warning if sbrk returns zero.  Wonder what
	that's supposed to mean.

	* process.c (process_send_signal): Don't send SIGTSTP if the
	system doesn't have that facility.

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

	* minibuf.c (Fread_from_minibuffer): Put this function's doc
	string into a comment; it's too long for the PCC preprocessor.
	Rah.
	(Fcompleting_read): Same deal.

	* keyboard.c (init_keyboard): Changed "#endif SIGIO" to
	"#endif /* SIGIO */"
	* mocklisp.c (Fml_substr): Same sort of thing.
	* process.c (wait_reading_process_input): Same.

	* floatfns.c (Fexpm1, Flog1p): Function removed; it's not widely
	available, and hardly vital.
	(syms_of_floatfns): Adjusted appropriately.

	* floatfns.c (Flog): Accept optional second arg, being the base
	for the logarithm.
	[USG] (Flogb): Define this in terms of Flog.

	* data.c [USG] (Frem): Call fmod, rather than drem.  Rah.

	* emacs.c [USG5]: Don't #include <fcntl.h> for these systems.

	* alloc.c (Fmake_marker): Removed the test for being called from a
	signal handler.  The original bug is probably gone, the test
	wasn't written portably, and it should probably go somewhere else
	anyway - say, funcall or eval.

        End of changes from Eric Raymond.

	* xfns.c (Fx_create_frame): Make the default for the icon-type
    	parameter nil, not t.  It seems to cause problems with some X
    	servers.

	* lisp.h (DEFVAR_PER_BUFFER): Add new argument, TYPE, to help
	check the types of buffer-local variable slots.
	* buffer.c (syms_of_buffer): Call DEFVAR_PER_BUFFER with the new
	TYPE argument.
	* abbrev.c (syms_of_abbrev): Same.
	* buffer.c (buffer_local_types): New variable.
	(buffer_slot_type_mismatch): New function.
	* buffer.h (buffer_local_types): New extern declaration.
	* data.c (store_symval_forwarding): When storing through a
	Lisp_Buffer_Objfwd, check if the slot requires a particular type,
	and report an error if the types clash.
	* lread.c (defvar_per_buffer): Support new TYPE argument, by
	setting the appropriate slot in buffer_local_types.

Thu Aug 13 14:52:14 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

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

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

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

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

	* frame.h [not MULTI_FRAME] (the_only_frame): Put a comment above
	this indicating that it's not GCPRO'd.  Put parens around some of
	the FRAME_* macros' definitions.
	[not MULTI_SCREEN] (Fselected_frame): New function.

	* frame.h [not MULTI_FRAME] (FRAME_ROOT_WINDOW): Define this in
	terms of minibuf_window, rather than by reference to
	the_only_frame.
	* window.c (init_window_once): Initialize minibuf_window before
	FRAME_ROOT_WINDOW, so the latter actually points to something.

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

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

	* keyboard.c (Fdiscard_input): Removed dyked-out code from when
	unread_command_char's quiescent value was -1, not nil.

	* frame.c (make_frame): Stop passing zero to make_window; it's not
	expecting any arguments.

Wed Aug 12 10:22:49 1992  Jim Blandy  (jimb@@albert.gnu.ai.mit.edu)

        * unexsunos4.c: Deleted "$Log" header in comments at top of file;
	this was beginning to grow RCS hair, which we don't want.
	* xmenu.c: Same deal.

Tue Aug 11 10:15:30 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

        * fileio.c (Fread_filename): Don't add one here.
	* minibuf.c (Fcompleting_read): Instead, stop subtracting one
	here, so this function lives up to its doc string, which I think
	specifies an okay way to work.

	* doc.c (Vdata_directory): Removed; this is declared in callproc.c.
	(syms_of_doc): Initialization removed.

	* xfns.c (x_get_arg): Return Qunbound for an unspecified
	resource, not nil.  That way, we can tell the difference between a
	false resource and an unspecified resource.
	(x_default_error): Use DEFLT if x_get_arg returns Qunbound, not Qnil.
	(x_figure_window_size, x_icon, Fx_create_frame): Deal with
	Qunbound and Qnil properly.

	* xfns.c (Fx_create_frame): Pass the correct number of arguments
	to x_set_font.

	* xfns.c [not HAVE_X11] (Fx_create_frame): Delete section that's
	only included if we *do* have X11.  Blind patching.

        * xfns.c (x_icon): Rewritten to call x_wm_set_icon_position and
	x_wm_set_window_state instead of calling XSetWMHints directly.
	* xterm.c (x_wm_hints): New variable.
	(x_wm_set_window_state, x_wm_set_icon_pixmap,
	x_wm_set_icon_position): Use x_wm_hints.
	(x_term_init): Set the `input' field of x_wm_hints, and its flag.

	* xterm.c (x_text_icon): Call x_wm_set_icon_pixmap with a pixmap
	of zero, to clear the pixmap.
	(x_wm_set_icon_pixmap): Accept this protocol; if pixmap is zero,
	specify no pixmap for the icon.

	* xfns.c (x_default_parameter): Don't call store_frame_param here;
	it's already taken care of by x_set_frame_parameters.

	* xfns.c (Fx_create_frame): Check for the `icon-type',
	`auto-raise', and `auto-lower' parameters. Have `icon-type'
	default to t, indicating that we want the nifty gnu in our icons.
	(Qauto_lower): New symbol.

	* xfns.c (x_set_icon_type): UNBLOCK_INPUT before reporting the
	error, not after.  error doesn't return, sklitch-brain.

	* xterm.c (x_set_window_size): Call check_frame_size to make sure
	that the requested dimensions are within acceptable limits.
	Store the new size information in the frame structure.

	* xfns.c (x_set_frame_parameters): Properly recognize changes to
	the height of the frame.  Recognize changes of the frame's
	position.

	* xfns.c (x_set_frame_parameters): Iterate over ALIST while the
	current element is cons, not while it's non-nil.
	(syms_of_xfns): Call init_x_parm_symbols after interning all the
	other atoms; init_x_parm_symbols expects Qx_frame_parameter to be
	initialized.

Mon Aug 10 07:56:47 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* xfns.c (Qbackground_color, Qborder_color,  Qborder_width,
	Qcursor_color,  Qfont,  Qforeground_color,  Qgeometry,
	Qhorizontal_scroll_bar,  Qicon_left,  Qicon_top,  Qiconic_startup,
	Qinternal_border_width,  Qleft,  Qmouse_color,  Qparent_id,
	Qsuppress_icon,  Qsuppress_initial_map,  Qtop,  Qundefined_color,
	Qvertical_scroll_bar,  Qwindow_id,  Qx_frame_parameter): New
	symbols, with lisp code to rebuild syms_of_xfns.
	(syms_of_xfns): Initialize and staticpro them.
	(Qheight, Qminibuffer, Qname, Qnone, Qonly, Qwidth,
	Qunsplittable): Add extern declaration for these.
	(x_init_parm_symbols): Don't initialize Qx_frame_parameter here;
	it's done in syms_of_xfns.
	(x_default_parameter): Change the argument char *PROPNAME into a
	Lisp_Object PROP; let the caller take care of interning the atom.
	(Fx_geometry, x_figure_window_size, x_icon, Fx_create_frame): Use
	the new Q... variables, instead of interning things.

	* frame.c (Qheight, Qicon, Qmodeline, Qname, Qnone, Qonly,
	Qunsplittable, Qwidth, Qx): New symbol, with lisp code to rebuild
	syms_of_frame.
	(syms_of_xfns): Initialize and staticpro them.
	(Fframep, Fframe_visible_p, Fframe_parameters):  Use
	the new Q... variables, instead of interning things.
	(store_in_alist): Change the argument char *PROPNAME into a
	Lisp_Object PROP; let the caller take care of interning the atom.

	* frame.c (Fframe_visible_p): Doc fix.

	* frame.c (Fframe_parameters): When figuring the `minibuffer'
	parameter, if FRAME doesn't have a minibuffer, return `none', not
	nil.  If it does have a minibuffer with other windows, return the
	window.

	* frame.c (Fmodify_frame_parameters): Don't write out the loop for
	processing X frame parameters here; do it in the x specific code.
	Call the function which deals with this stuff
	x_set_frame_parameters, not x_set_frame_parameter.
	* xfns.c (x_set_frame_param): Replaced by x_set_frame_parameters.
	(x_set_frame_parameters): Process the alist of parameters here.
        Notice `width', `height', `top', and `left' parameters.
        Hold off changing the frame size and position until the end, so we
	can do both parameters at once when they are both specified.
	(x_default_parameter): Call x_set_frame_parameters, not
	x_set_frame_param.

	* frame.c (Fmake_frame_visible, Fmake_frame_invisible,
	Ficonify_frame, Fframe_parameters, Fmodify_frame_parameters,
	Fset_frame_height, Fset_frame_width, Fset_frame_size,
	Fset_frame_position): Place clauses controlled by FRAME_X_P inside
	`#ifdef HAVE_X_WINDOWS ... #endif' clauses.

	* frame.c (Fset_frame_position): Doc fix.

	* dispnew.c (Fredraw_frame): Call clear_frame_records before
	calling update_end, so that x_display_box_cursor can rely on the
	contents of f->current_glyphs.

	* xfns.c (x_figure_window_size): Indicate that this function
	returns an int, rather than just leaving it unstated.

	* xterm.c (x_wm_set_size_hint): Don't try to set the base_height
	and base_width elements of size_hints if PBaseSize is not
	#defined.  Set the minimum frame size according to the information
	returned by check_frame_size.

	* window.h (MIN_SAFE_WINDOW_HEIGHT, MIN_SAFE_WINDOW_WIDTH): Macros
	removed.
	(check_frame_size): New extern declaration.
	* window.c (MIN_SAFE_WINDOW_HEIGHT, MIN_SAFE_WINDOW_WIDTH): Macros
	defined here now.
	(check_frame_size): New function.
	* dispnew.c (change_frame_size): Call check_frame_size here,
	rather than writing out its code.  Don't declare newheight and
	newwidth to be register variables, since we take their address.

	* bytecode.c (Fbyte_code): When metering the Bcall opcodes, make
	sure the count on the symbol's `byte-code-meter' property does not
	overflow.

	* bytecode.c (syms_of_bytecode): Add a docstring for
	byte-metering-on.

Sat Aug  8 13:27:51 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* dispnew.c (in_display): Variable deleted; it's only ever used as
	an unofficial parameter to change_frame_size.
	(change_frame_size): New argument, DELAY, which when non-zero
	indicates to delay the size change until later.  This should be
	passed as one from signal handlers.
	(window_change_signal): Call change_frame_size with a DELAY of 1.
	(do_pending_window_change): Call change_frame_size with DELAY of 0.
	* frame.c [MULTI_SCREEN] (Fset_frame_height, Fset_frame_width,
	Fset_frame_size): Same.
	[not MULTI_SCREEN] (Fset_frame_height, Fset_frame_width,
	Fset_frame_size, Fset_screen_height, Fset_screen_width): Same.
	* keyboard.c (Fsuspend_emacs): Call change_frame_size with the
	proper arguments - the height and width are the second and third
	arguments, not the first and second.  Pass 0 for DELAY.
	* xfns.c (Fx_create_frame): Call change_frame_size with a DELAY of 0.
	* xterm.c (XTread_socket, x_do_pending_expose): Call
	change_frame_size with a DELAY of 1.
	
	* xterm.c (in_display): Deleted this; it's never used in xterm.c,
	and there is another variable by the same name in dispnew.c.

	* frame.c [not MULTI_SCREEN] (Fset_frame_height, Fset_frame_width,
	Fset_frame_size, Fframe_height, Fframe_width): New functions, for
	use when Emacs is not compiled with multiple screens.
	[not MULTI_SCREEN] (Fset_screen_height, Fset_screen_width):
	Functions added for backward compatibility with Emacs 18.  These
	would be just aliases, except that the version 18 functions don't
	take a FRAME argument.
	[not MULTI_SCREEN] (syms_of_frame): New function, to defsubr the
	above and add screen-height and screen-width as aliases for
	Fframe_height and Fframe_width.
	* emacs.c (main): Call syms_of_frame unconditionally.  When
	MULTI_FRAME is not defined, it still provides the Fframe_width,
	Fframe_height, Fset_frame_width, and Fset_frame_height functions.

	* frame.c (Fset_frame_width): Change the size of FRAME, not of
	selected_frame.

	* frame.c (Fset_frame_width, Fset_frame_height): Declare the
	`frame' argument to be a Lisp_Object.  It used to be undeclared.

Fri Aug  7 07:27:37 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* dispnew.c, frame.c, frame.h, keyboard.c, scroll.c, term.c,
	window.c, xdisp.c, xfns.c xterm.c (FRAME_IS_TERMCAP, FRAME_IS_X,
	FRAME_HAS_MINIBUF): Renamed these to FRAME_TERMCAP_P, FRAME_X_P,
	and FRAME_HAS_MINIBUF_P, for consistency with the rest of the
	frame macros.

	* window.h (MIN_SAFE_WINDOW_WIDTH, MIN_SAFE_WINDOW_HEIGHT): New
	macros.
	* window.c (check_min_window_sizes): New function.
	(set_window_height): Call it.
	(Fsplit_window, change_window_height): Call it, instead of writing
	out its code.
	* dispnew.c (change_frame_size): If newlength or newwidth are too
	small (according to the value of MIN_SAFE_WINDOW_{WIDTH,HEIGHT}),
	force them larger.  This isn't really right, but it's better than
	crashing.

	* editfns.c (Fcurrent_time_zone): Doc fix.

Thu Aug  6 04:13:11 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* editfns.c (Fcurrent_time_zone): Don't forget to include code to
	signal an error when EMACS_CURRENT_TIME_ZONE is not defined.

Thu Aug  6 03:25:23 1992  Joseph Arceneaux (jla@@gnu.ai.mit.edu)

        * doc.c (Vdata_directory): Declared.
	(syms_of_doc): Initialized.

	* fileio.c (Fread_filename): Add 1 to the offset position for the
	cursor when reading file names.

Wed Aug  5 01:34:21 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* systime.h (EMACS_CURRENT_TIME_ZONE): New macro.
	* editfns.c (Fcurrent_time_zone): New function.
	(syms_of_editfns): defsubr it.

	* keyboard.c (read_key_sequence): Clear the eighth bit of the
	character from the key sequence, NOT the index of the character IN
	the key sequence.  How many tries will it take to get it right?

Tue Aug  4 17:22:18 1992 Roland McGrath (roland@@churchy.gnu.ai.mit.edu)

	* eval.c (syms_of_eval): Doc fix for debug-on-quit.

Mon Aug  3 01:35:40 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* callproc.c (Fcall_process): Doc fix.  Used to claim that
	Fcall_process doesn't wait when BUFFER was nil.  It does.

Thu Jul 30 16:20:48 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* keyboard.c (read_key_sequence): Scan for function keys when t >=
	mock_input, not when t > mock_input.  We do want to scan for
	function keys when t == mock_input.

	* keyboard.c (read_key_sequence): Don't increment fkey_end when
	testing to see if keybuf[fkey_end] is a meta-character.

Mon Jul 27 17:23:14 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* Makefile.in (TAGS): Generate tags for files in ../external-lisp
	too.

Sun Jul 26 15:34:16 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* eval.c (find_handler_clause): For quit, don't check Vdebug_on_error.
	(wants_debugger): Rewrite so it cannot get an error.

	* callint.c (Fcall_interactively): Handle enable-recursive-minibuffers
	property on the command, by enabling recursive minibuffers.
	(syms_of_callint): Set Qenable_recursive_minibuffers.

Fri Jul 24 20:34:39 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* frame.c (Fmake_frame_visible, Fmake_frame_invisible,
	Ficonify_frame): Make the first argument optional, defaulting to
	selected_frame.
	(Ficonify_frame, Fmake_frame_invisible): Add interactive specs, so
	we can bind these directly to C-z.

Fri Jul 24 02:44:09 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Fread_file_name): Use new calling convention for
	Fcompleting_read, with history as Qfile_name_history.
	(syms_of_fileio): Set Qfile_name_history; set the var to nil.
	Do staticpro for the recently created Q* vars.	
d1528 1
a1528 200
	* minibuf.c (read_minibuf): Two additional args histvar and histpos.
	All calls changed.
	(Fcompleting_read): Last arg is now HIST--(HISTVAR . HISTPOS).
	Arg INIT can now be (INITIAL-STRING . INITIAL-POSITION).
	Pass BACKUP_N arg to read_minibuf properly as Lisp object.	
	(Fread_from_minibuffer): Likewise.
	(syms_of_minibuf): Set Qminibuffer_history and staticpro it.

	* eval.c (Ffuncall, Feval): Support subrs with 7 args.

	* fns.c (Fyes_or_no_p): Use Fread_string, not read_minibuf.
	* callint.c (Fcall_interactively): For 'S', use Fread_no_blanks_input
	rather than read_minibuf.	

Thu Jul 23 22:45:46 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
	
	* minibuf.c (Vminibuffer_history_variable): New variable.
	(syms_of_minibuf): Define variable minibuffer-history-variable.	
	(read_minibuf): Push the string on specified history list.
	
Thu Jul 23 22:35:37 1992  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* Makefile.in (doall, doxemacs, dotemacs): Put quotes around CC=${CC}.
	Don't include $(MAKEOVERRIDES); that is always implicit.

Wed Jul 22 11:17:08 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* keyboard.c (read_key_sequence): If we have read a
	meta-character, prefix it with meta_prefix_char before looking it
	up in the function key keymap.

	* lread.c (Fread_char_exclusive): Code this with a do-while loop,
	not a while loop with its body repeated.

	* lread.c (Fread_event): Don't make this function's definition
	conditional on X-windows.  It ought to be there no matter how
	Emacs was built.
	(syms_of_lread): Don't make its defsubr conditional either.

	* lread.c (Fread_char): Doc fix.

	* fileio.c (find_file_handler): It's called
	Vfile_name_handler_alist, not Vfile_handler_alist.
	(Fwrite_region): Declare the variable named `handler'.
	(Fverify_visited_file_modtime): Use `b->filename', not `filename'.
	(Fset_visited_file_modtime): Declare the variable named `handler'.
	* dired.c (Fdirectory_files, Ffile_name_completion): Use
	`dirname', not `filename'.
	(Qfile_attributes): New variable.
	(syms_of_dired): Initialize it.

	* xselect.c (Fx_own_selection): If we're trying to set
	cut-buffer0, and the value is too large for the X server (as
	indicated by the max_request_size member of the X Display), just
	set the buffer to the empty string, and return nil.

Tue Jul 21 23:10:36 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* search.c (fast_string_match): New function.
	* fileio.c (find_file_handler): New function.
	(Fcopy_file, Fmake_directory, Fdelete_directory, Fdelete_file):
	(Frename_file, Fadd_name_to_file, Fmake_symbolic_link):
	(Ffile_exists_p, Ffile_executable_p, Ffile_readable_p, Ffile_symlink_p)
	(Ffile_writable_p, Ffile_directory_p, Ffile_accessible_directory_p):
	(Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p):
	(Fwrite_region, Fverify_visited_file_modtime):
	Use find_file_handler; call the handler and return.
	(Finsert_file_contents): Use find_file_handler;
	cannot just return after the handler, but must handle VISIT.
	(syms_of_fileio): Set up Qcopy_file, etc.	
	* dired.c (Fdirectory_files, Ffile_name_completion):
	(Ffile_name_all_completions, Ffile_attributes):
	Use find_file_handler; call the handler.
	(syms_of_dired): Set Qfile_attributes, etc.

Tue Jul 21 16:26:44 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* xselect.c (Fx_own_selection): Initialize val to nil, so that if
	we don't get the selection, we don't return garbage.  When setting
	cut-buffer0, set val to the string pasted.

	* xfns.c (x_set_name): If ARG is nil, set the frame's name to the
	current x_id_name.
	* xdisp.c (display_mode_line): If we should set the frame's name,
	but there is only one frame currently active, call x_set_name with
	nil as the name; this will display samething generically
	appropriate.

Mon Jul 20 15:06:24 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
	
	* lread.c (isfloat_string): Recognize floats without a leading
	integer part, noting that "e5" is a symbol, not a floating point
	number.
	
	* xdisp.c (message, message1): When displaying a message, don't
	make the minibuf frame visible unless the selected frame is also
	visible.  This means that frames won't pop up unless the user is
	actually interacting with Emacs.

	* xdisp.c (display_mode_line): If Emacs is currently supporting
	only one screen, don't change the title of the screen to the name
	of the current buffer; this is only annoying in this case.  We
	should probably think more carefully about how screens should be
	named.

Sun Jul 19 13:43:26 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
	
	* process.c (allocate_pty): Handle PTY_OPEN.	
	Delete system-specific alternatives to PTY_NAME_SPRINTF
	and PTY_TTY_NAME_SPRINTF.	
	
Sat Jul 18 21:07:10 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
	
	* callint.c (Fprefix_numeric_value): Fix typo: test raw, not val.
	
Fri Jul 17 16:35:54 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* xfns.c (x_window): x_set_name normally ignores requests to set
	the name if the requested name is the same as the current name.
	This is the one place where that assumption isn't correct; f->name
	is set, but the X server hasn't been told.  So fake it out.

	* emacs.c [sun] (main): On suns, localtime caches the value of the
	time zone rather than looking it up every time.  This means that
	the dumped Emacs doesn't check the value of the TZ environment
	variable.  Call tzset before entering the editing loop to check
	the new TZ value.

Thu Jul 16 11:39:38 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* dired.c (Fdirectory_files): Don't forget to pass the REGP
	argument to compile_pattern.
	* search.c (compile_pattern): If REGP is zero, don't call
	re_set_registers; nobody cares.

	* fileio.c (auto_save_error): Pass the correct number of arguments
	to Fsleep_for.

	* lread.c: Include <ctype.h> at the top of the file, instead of
	just before isfloat_string; read0 wants to use it too.

	* process.c (Fdelete_process, Fprocess_status, Fprocess_send_region,
	Fprocess_send_string, Fprocess_send_eof, Finterrupt_process): Doc
	fixes.
	
	* process.c (Fprocess_status): Use get_process to find the process
	denoted by the PROC argument, not Fget_process.

Wed Jul 15 13:51:43 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xdisp.c: Doc fix.

Tue Jul 14 10:42:58 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* window.c (syms_of_window): Doc fix for pop-up-frames.

	* frame.c (Fframe_parameters): Note that if FRAME is omitted, it
	defaults to the selected frame.

	* frame.c (Fframe_height, Fframe_width): Blocked out these
	functions; they have no C callers, and can be written nicely in
	lisp.
	
	* frame.c (Fframe_pixel_size): Function removed; there aren't
	enough other functions available to make this useful.  We need
	functions describing the size of the characters of a font.

	* xterm.h, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, window.h,
	window.c, termopts.h, termhooks.h, termchar.h, term.c sysdep.c,
	scroll.c, screen.c, screen.h, process.c, print.c, minibuf.c,
	lisp.h keyboard.c, indent.c, fns.c, emacs.c, dispnew.c,
	dispextern.h, cm.h, alloc.c, config.h.in: Screens are now called
	frames, to avoid even more confusion with X terminology than
	Emacs's "windows" already cause.  All macros, functions, and
	variables renamed; all uses changed.
	* screen.c, screen.h: Renamed to frame.c and frame.h.  All
	#includers changed.
	* ymakefile: Adjusted appropriately.
	* buffer.c: Doc fixes.

	* xfns.c (Fx_store_cut_buffer): Reversed sense of test for non-X
	screen.

	* window.c (Frecenter): Doc fix; this function places point in the
	middle of the current window, not the current screen.

	* window.c (temp_output_buffer_show): Use WINDOW_SCREEN macro
	instead of accessing the member directly.

Mon Jul 13 14:21:34 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* print.c (print): Changed code which prints screen objects to use
	the SCREEN_LIVE_P macro instead of testing the screen structure
	directly.

	* alloc.c (undo_threshold, undo_high_threshold): Variables renamed
	to undo_limit and undo_strong_limit.
	(Fgarbage_collect): Uses changed.
	(syms_of_alloc): DEFVARs and docstrings changed.
	* undo.c (truncate_undo_list): Comment adjusted.
d1530 2
a1531 2
	* lread.c (read0): Allow floating-point numbers to begin with a
	period.  `(0 .5)' denotes a list of two numbers, not a dotted pair.
d1533 1
a1533 1
Sat Jul 11 14:15:43 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1535 1
a1535 1
	* fns.c, callproc.c: Doc fix.
d1537 6
a1542 1
Fri Jul 10 17:16:09 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1544 1
a1544 4
	* bytecode.c (Bsymbol_function, Bfset): Removed comments saying
	that these are no longer generated.  Jamie Zawinski's byte
	compiler does generate them, and he's actually collected
	statistics on how often these functions are called.
d1546 1
a1546 1
Thu Jul  9 21:47:45 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1548 2
a1549 1
	* screen.c (store_screen_param): Clarify error message.
d1551 1
a1551 3
	* xterm.c (x_make_screen_visible): Undo the change made on June
	30; that is not the right solution.  Apparently there are three
	states a window may be in: normal, iconified, and invisible.
d1553 1
a1553 1
Wed Jul  8 15:14:36 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1555 1
a1555 2
	* eval.c (Fmacroexpand): Code cleaned up; there's no need to
	handle forms like ((macro lambda ...) ...) specially.
d1557 1
a1557 2
	* fileio.c (Finsert_file_contents): Signal an error if we're asked
	to read from a named pipe.
d1559 1
a1559 1
Tue Jul  7 15:55:40 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1561 1
a1561 5
	* m/*.h (SIGN_EXTEND_CHAR): Removed these definitions.  The only
	place they were used is in regex.c, and nowadays that has its own
	definition, which works for any machine.  The definitions in the
	machine description files usually didn't work if given an unsigned
	character as an argument, anyway.
d1563 1
a1563 1
Sat Jul  4 12:11:09 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1565 2
a1566 1
	* buffer.c: Doc fix.
d1568 1
a1568 1
Thu Jul  2 18:27:26 1992  Joseph Arceneaux  (jla@@churchy.gnu.ai.mit.edu)
d1570 1
a1570 2
	* minibuf.c (Fdisplay_completion_list): Declared new variables
	used in rms' previous change.
d1572 1
a1572 1
Thu Jul  2 18:11:43 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1574 1
a1574 1
	* minibuf.c (Fdisplay_completion_list): Handle non-buffer stream.
d1576 1
a1576 1
Wed Jul  1 22:30:31 1992  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)
d1578 1
a1578 1
	* window.c (Fdisplay_buffer): Add interactive spec.
d1580 1
a1580 1
Tue Jun 30 18:22:00 1992  Joseph Arceneaux  (jla@@churchy.gnu.ai.mit.edu)
d1582 2
a1583 4
	* mem_limits.h: EXCEEDS_ELISP_PTR declared here.
	* ralloc.c: No longer declared here.
	* vm-limit.c: Nor here.  Also, include "lisp.h" before
	"mem_limits.h" and additionally include "config.h".
d1585 21
a1605 1
Tue Jun 30 06:01:04 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1607 1
a1607 2
	* xterm.c (x_make_screen_visible): Don't de-iconify the window;
	iconification is orthogonal to visibility.
d1609 4
a1612 2
	* emacs.c (syms_of_emacs): Change docstring for `kill-emacs-hook'
	to describe it as a hook, not as a single function.
d1614 6
a1619 1
Mon Jun 29 03:53:58 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1621 1
a1621 2
	* minibuf.c (Fread_no_blanks_input): Corrected maximum number of
	arguments from one to two.
d1623 1
a1623 4
	* emacs.c (Vkill_emacs_hook): Declare this here; it should have a
	docstring, so we might as well DEFVAR it.
	(syms_of_emacs): initialize it, and DEFVAR_LISP it with an
	appropriate docstring.
d1625 7
a1631 1
Sun Jun 28 03:58:20 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1633 1
a1633 2
	* lread.c (Feval_buffer): Make the DEFUN match the C argument
	list; this takes two optional arguments, not just one.
d1635 1
a1635 1
	* lisp.h (Lisp_Buffer_Local_Value): Comments neatened.
d1637 1
a1637 4
	* data.c (Fset): Fixed conditional which tests whether the cache
	is invalid.  It used to be pretty munged, and would always declare
	the cache invalid for Lisp_Buffer_Local_Value variables.  Now it
	declares the cache invalid if the buffer is wrong (obviously), of 
d1639 1
a1639 1
Sat Jun 27 04:12:49 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1641 1
a1641 1
	* data.c (Fset): Comments reformatted for readability.
d1643 1
a1643 4
	* xterm.c (last_mouse_movement_time): New variable.
	(note_mouse_position): Set it.
	(XTmouse_position): Return its current value as the position's
	timestamp.
d1645 1
a1645 9
	* keyboard.c (Qvertical_split): Renamed to `vertical-line',
	since the window arrangement is actually referred to as a
	`horizontal split.'
	(make_lispy_event, make_lispy_movement, syms_of_keyboard): Uses
	renamed here.
	keyboard.h (Qvertical_split): Extern declaration changed here.
	window.c (Fcoordinates_in_window_p): Changed this to return
	`vertical-line' at the appropriate times, rather than
	`vertical-split'.
d1647 1
a1647 2
	* window.c (Fcoordinates_in_window_p): Put symbol names in
	opposing single quotes - `vertical-split', for example.
d1649 1
a1649 3
	* fileio.c (Fexpand_file_name): Don't signal an error if USERNAME
	in a "~USERNAME/..." filename isn't a real user; just leave the
	"~USERNAME" unchanged.
d1651 4
a1654 2
	* fileio.c (Fmake_symbolic_link): Rename argument `NEWNAME' to
	`LINKNAME', to conform with the docstring.
d1656 1
a1656 5
	* Makefile.in (CPP): Pass `-Is -Im' to CPP, to make sure that
	machine- and system-dependend files can include each other
	properly.
	* ymakefile (CFLAGS): Add those directories to the #include path
	here too.
d1658 2
a1659 2
	* Makefile.in (xmakefile): Build this via a temporary file, so
	that if preprocessing fails we don't nuke the xmakefile.
d1661 1
a1661 183
	* fileio.c: There are two versions of Fexpand_file_name defined
	here; the latter is inside a `#if 0' clause.  Change its DEFUN to
	a DEAFUN, so that its docstring doesn't make it into the DOC file
	and supercede the real docstring.

	* callint.c (Fcall_interactively): For the 'K' interactive spec,
	set varies[i] to -1, indicating that the mouse click should be
	quoted if the function makes it into the command history, and that
	this argument by itself does not qualify the command to be
	recorded in the history.

Fri Jun 26 05:57:01 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* data.c (Frem): The drem function will sometimes return a
	negative number.  If it does, add the divisor to it, to make it
	positive.

	* screen.c: Put '#ifdef MULTI_SCREEN' after the inclusion of
	config.h.

	* window.c (Fpos_visible_in_window_p): Remember to apply XSCREEN
	to w->screen before applying SCREEN_WIDTH.

	* screen.h [not MULTI_SCREEN] (last_nonminibuf_screen): Removed
	#definition of this; it's confusing when debugging.
	* screen.c (last_nonminibuf_screen): Variable moved from here...
	* dispnew.c (last_nonminibuf_screen): to here, beside
	selected_screen.  They should both exist, even if the multi-screen
	support is not present.

	* dispnew.c [not MULTI_SCREEN] (the_only_screen): New variable.
	Instead of having the non-multi-screen version of Emacs refer to
	lots of different variables scattered hither and yon, we'll just
	declare this new variable, of type `struct screen', and define the
	single-screen versions of the `SCREEN_foo' macros to reference its
	elements.  This avoids conflicts between names of local variables
	and names of global variables describing the screen, and simplifies
	some of the differences between the multi-screen and single-screen
	cases.
	* screen.h (enum output_method, struct screen): Removed these from
	the `#ifdef MULTI_SCREEN' conditional.
	* screen.h [not MULTI_SCREEN] (the_only_screen): extern
	declaration for it here.
	[not MULTI_SCREEN] (SCREEN_CURRENT_GLYPHS, SCREEN_DESIRED_GLYPHS,
	SCREEN_TEMP_GLYPHS, SCREEN_HEIGHT, SCREEN_WIDTH,
	SCREEN_NEW_HEIGHT, SCREEN_NEW_WIDTH, SCREEN_CURSOR_X,
	SCREEN_CURSOR_Y, SCREEN_ROOT_WINDOW, SCREEN_INSERT_COST,
	SCREEN_DELETE_COST, SCREEN_INSERTN_COST, SCREEN_DELETEN_COST,
	SCREEN_MESSAGE_BUF, SCREEN_SCROLL_BOTTOM_VPOS): Macros changed to
	refer to the_only_screen.
	* dispnew.c [not MULTI_SCREEN] (one_screen_cursX,
	one_screen_cursY, one_screen_current_glyphs,
	one_screen_desired_glyphs, one_screen_temp_glyphs,
	delayed_screen_width, delayed_screen_height): Variables
	deleted; they're all now kept in the_only_screen.
	* xdisp.c [not MULTI_SCREEN] (message_buf): Variable deleted; same
	fate.
	* term.c [not MULTI_SCREEN] (one_screen_width, one_screen_height):
	Variables deleted; same fate.
	* screen.h [not MULTI_SCREEN]: extern declarations for the above
	variables removed.
	* window.c [not MULTI_SCREEN] (root_window): Variable deleted.
	[not MULTI_SCREEN] (init_window_once): Use SCREEN_ROOT_WINDOW to
	refer to the root window, instead of referring to it directly.
	* window.h [not MULTI_SCREEN] (root_window): extern declaration
	removed.
	* scroll.c [not MULTI_SCREEN] (insert_line_cost, delete_line_cost,
	insert_n_lines_cost, delete_n_lines_cost): Variables deleted; same
	fate.

	* dispnew.c [not MULTI_SCREEN] (cursX, cursY): Renamed to
	`one_screen_cursX' and `one_screen_cursY'.
	* screen.h [not MULTI_SCREEN] (cursX, cursY, SCREEN_CURSOR_X,
	SCREEN_CURSOR_Y): extern declarations and macros changed
	accordingly.

	* term.c [not MULTI_SCREEN] (screen_width, screen_height): Renamed
	to `one_screen_width' and `one_screen_height', so as not to
	conflict with local variables when referenced by the `SCREEN_foo'
	macros.
	* screen.h [not MULTI_SCREEN] (screen_width, screen_height):
	extern declarations changed accordingly.
	* termchar.h (screen_width, screen_height): extern declarations
	deleted.  Everyone should go through the `SCREEN_foo' macros.
	(SCREEN_WIDTH, SCREEN_HEIGHT): Changed accordingly.

Thu Jun 25 21:37:27 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* callint.c (Fcall_interactively): When making a copy of the spec
	string, cast the return value of `alloca' to `unsigned char *',
	not `char *', to match the type of `string'.

	* xselect.c (Fx_own_selection): Cast XSTRING (string)->data to a
	char *, so it can be comfortably passed to XStoreBytes.

	* filelock.c (strcpy): Declare this to return char *.

Wed Jun 24 01:36:44 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* dispnew.c (current_glyphs, desired_glyphs, temp_glyphs): Renamed
	to have the prefix `one_screen_', so that the screen macros can
	refer to them without conflicting with local variables.
	* screen.h [not MULTI_SCREEN] (SCREEN_CURRENT_GLYPHS,
	SCREEN_DESIRED_GLYPHS, SCREEN_TEMP_GLYPHS): Changed accordingly.

	* keyboard.c (read_key_sequence): Put the code which restarts the
	key sequence in a `#ifdef MULTI_SCREEN' conditional.

	* screen.h [not MULTI_SCREEN]: Added definitions for
	CHECK_LIVE_SCREEN and SCREEN_FOCUS_SCREEN for the non-multi-screen
	case.

	* screen.h [not MULTI_SCREEN]: The name is
	`SCREEN_MINIBUF_ONLY_P', not `SCREEN_IS_MINIBUF_ONLY'.

	* xdisp [not MULTI_SCREEN] (Fredraw_display): Removed definition
	here; the non-multi-screen version is already defined in
	dispnew.c, alongside the multi-screen version.
	(syms_of_xdisp): Don't try to defsubr Sredraw_display; it doesn't
	exist.

	* lread.c (Fread_char_exclusive): Remove this from the `#ifdef
	HAVE_X_WINDOWS' conditional; it is appropriate in any context.

	* eval.c (Fsignal): Put call to TOTALLY_UNBLOCK_INPUT under the
	protection of a `#ifdef HAVE_X_WINDOWS' conditional.

        * keyboard.c (kbd_buffer_get_event): Expect *mouse_position_hook
	to return the timestamp as an unsigned long, not a lisp_Object.
	This matches the change made to `struct input_event'.
	(make_lispy_movement): Change argument TIME to an unsigned long.
	* xterm.c (XTmouse_position): Change TIME argument to a pointer to
	an unsigned long.
	* termhooks.h (mouse_position_hook): Doc fix.
	* term.c (mouse_position_hook): Doc fix.

	* termhooks.h (struct input_event): If MULTI_SCREEN is defined,
	declare the .screen element to be `struct screen *'; otherwise,
	declare it to be `int'.  See the comment in the file for why I've
	done this obviously wrong thing.

	* print.c (printbufidx): Doc fix.
	* xdisp.c (message_buf_print): Doc fix.

	* dispextern.h (message_buf_size): Variable deleted; it's no
	longer used, since the message buffer is always the width of the
	screen.

	* screen.h [not MULTI_SCREEN] (message_buf): Add extern
	declaration for it here.
	(message_buf_print): Added extern declarations here for both the
	MULTI_SCREEN and non-MULTI_SCREEN cases.
	* dispextern.h (message_buf, message_buf_print): Deleted extern
	declaration for these here.  It should never be used directly; it
	should always be used through the SCREEN_MESSAGE_BUF macro.

	* dispnew.c (temp_glyphs): Added back this variable declaration;
	screen.h and various other places referred to this; where did it
	go?
	* screen.h [not MULTI_SCREEN] (temp_glyphs, desired_glyphs,
	current_glyphs): Add extern declarations for these.

	* dispnew.c (cancel_my_columns): Use SCREEN_DESIRED_GLYPHS macro,
	instead of assuming that a SCREEN_PTR is actually a pointer to
	something; it isn't if we're not using any of the screen support.
	Remove the variable `screen', and find the value for
	`desired_glyphs' directly.
	* xdisp.c (echo_area_display): Use the SCREEN_DESIRED_GLYPHS macro
	to find screen's desired cursor position, instead of assuming that
	a SCREEN_PTR is a pointer to something.
	(display_mode_line): Same.
	* window.c (Fpos_visible_in_window_p): Use the SCREEN_WIDTH macro.
	(replace_window): Use the SCREEN_ROOT_WINDOW macro.
	(window_loop): Use the SCREEN_WIDTH macro.

	* dispnew.c (update_screen): Enclose the statement which
	increments `downto' in a `#ifdef HAVE_X_WINDOWS' conditional.

	* screen.h [MULTI_SCREEN and not MULTI_SCREEN] (FOR_EACH_SCREEN):
	New macro.
	* dispnew.c (window_change_signal, do_pending_window_change): Use
	FOR_EACH_SCREEN instead of assuming that Vscreen_list exists.
	* window.h (root_window): Added extern declaration for this.
d1663 2
a1664 2
	* screen.c: Enclose the entire file in a #ifdef MULTI_SCREEN
	conditional.
d1666 1
d1668 1
a1668 1
Tue Jun 23 17:47:28 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1670 1
a1670 2
	* window.c (Fset_window_dedicated_p):
	Replaces Fset_window_buffer_dedicated.  Second arg just t or nil.
d1672 1
a1672 1
Mon Jun 22 21:38:39 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1674 1
a1674 2
	* syntax.h (SYNTAX, SYNTAX_MATCH, SYNTAX_COMSTART_FIRST, etc.)
	Cast character to unsigned char before indexing.
d1676 1
a1676 1
Fri Jun 19 02:04:51 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1678 1
a1678 2
	* xterm.c (x_wm_set_size_hint): Set size_hints.flags to indicate
	that we are providing the base_width and base_height data.
d1680 1
a1680 2
	* xfns.c (Fx_create_screen): Default the internal border width to
	2; this matches XTerm.
d1682 1
a1682 40
	* syntax.c (Fparse_partial_sexp): Doc fix.

	* syntax.c (Fparse_partial_sexp): Added phony argument list to
	comment containing the docstring for this function, so that
	make-docfile.c will get the right arguments.

	* xfns.c (x_set_name): Don't go through the X11 brouhaha to set
	the name unless we're actually setting it to something different
	from the current name.

Thu Jun 18 16:10:07 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* eval.c (syms_of_eval): Don't forget to escape the ends of the
	lines in the docstring for `debug-on-quit'.

	* keyboard.c (Fread_key_sequence): Reversed sense of CONTINUE_ECHO
	argument - set this_command_key_count to zero iff CONTINUE_ECHO is
	Qnil, not iff it's non-Qnil.

Wed Jun 17 03:01:55 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
	
	* search.c: Changed to remember the object in which the last
	search was done, so that markers from match data are placed in
	that buffer, instead of the current buffer.
	(search_regs_from_string): Replaced with...
	(last_thing_searched): This is either Qnil, meaning no searching
	has been done, Qt, meaning that the last search was done in a
	string, or a buffer object, meaning that the last search was done
	in that buffer.
	(syms_of_search): Initialize and staticpro last_thing_searched.
	(Flooking_at, search_buffer): Set last_thing_searched to the
	current buffer.
	(Fstring_match): Set last_thing_searched to Qt.
	(Fmatch_data): Test last_thing_searched to see if any searching
	has been done, and construct integers or markers in the right
	buffer.  Abort if it's not Qt, Qnil, or a buffer.
	(Fstore_match_data): Set last_thing_searched according to the
	things we find in LIST.
	
Tue Jun 16 11:20:54 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1684 1
a1684 3
	* fns.c (Fload_average): Document the fact that this sometimes
	returns a list of fewer than three elements, on systems which
	don't provide 5- and 15-minute load averages.
d1686 1
a1686 24
Mon Jun 15 00:33:06 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
	
	* xterm.c (XTread_socket): If an event arrives to a screen S,
	don't attribute them to SCREEN_FOCUS_SCREEN (S) here.  Do that
	synchronously, when the events are dequeued.  This keeps events
	from being accidentally routed to the wrong screen, if we
	temporarily redirect a screen's focus.
	* keyboard.c (kbd_buffer_store_event): If the character being
	stuffed is a quit character, do the SCREEN_FOCUS_SCREEN
	redirection to it here.
	(kbd_buffer_get_event): And do it here, before returning the
	event.
	
	* eval.c (Finteractive_p): This assumed that if the function in
	the top frame of the lisp backtrace was not a Lisp_Compiled
	object, then Finteractive_p must have an explicit frame on the top
	of the stack, which we could skip.  It didn't bother to follow the
	symbol function chaining, and it would break if any C code called
	from a non-compiled function tried to call Finteractive_p anyway.
	Changed this to actually check if the top frame's effective
	function is the Lisp_Subr for Finteractive_p.  This also used to
	skip any number of frames for special forms and/or Fbytecode
	calls.  Changed this to skip an Fbytecode frame (if present),
	followed by any number of special form frames.
d1688 1
a1688 1
Sun Jun 14 18:01:42 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1690 2
a1691 1
	* eval.c (struct backtrace): Doc fix.
d1693 1
a1693 1
Fri Jun 12 05:57:23 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
d1695 1
a1695 848
	* m/hp300bsd.h (LOAD_AVE_TYPE): This is long, not double.
	(LOAD_AVE_CVT): Adjusted as appropriate.

	* fns.c: Moved lots of system-dependent preprocessor cruft
	dealing with getting the load average to `getloadavg.c'.
	(Fload_average): Guts moved to `getloadavg.c'.
	* getloadavg.c: New file, containing the necessary mess to get the
	load average on many different systems.  This file is supposed to
	be Emacs-independent.
	* ymakefile (obj): Add getloadavg.o to the list.
	(getloadavg.o): Note that this depends on its source, and config.h.

	* screen.c (Fdelete_screen): Typo in loop looking for new
	last_nonminibuf_screen - change	`screen = XCONS (screens)->cdr`
                                     to	`screens = XCONS (screens)->cdr`

	* xdisp.c (echo_area_display): Don't neglect to draw all the lines
	of the minibuffer window (or echo area) when a message is being
	displayed.  If the minibuffer is more than one line high, they
	should all be blanked.

Wed Jun 10 15:41:36 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* sysdep.c [POSIX_SIGNALS] (sys_signal): Fix typo - rather than
	calling new_action as if it were a function, call sigaction.

Tue Jun  9 22:22:32 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* lisp.h (Qnumberp, Qnumber_or_marker_p): Declared.

	* eval.c (wants_debugger): Changed NULL to NILP.
	Who installed these calls to NULL?

Tue Jun  9 14:06:48 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* dispnew.c (Fsit_for): Don't forget to actually set sec from ARG.

	* termhooks.h (struct input_event): Doc fix - for mouse clicks, .x
	and .y give the position in characters, not in pixels.

	* keyboard.c (format_modifiers): Order the modifier letters
	alphabetically - control, meta, shift, and up.

Mon Jun  8 21:57:38 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c: Move some extern decls out of #if 0, to top of file.

Mon Jun  8 18:24:54 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* window.c (Fcoordinates_in_window_p): Docstring fix.

	* buffer.c (Fother_buffer): Put a comma between arguments BUFFER
	and VISIBLE_OK in the argument list.  Duh.

	* screen.c (Fdelete_screen): Remember that s is a SCREEN_PTR *,
	not a Lisp_Object.

	* search.c (search_regs): Doc fix.
	(compile_pattern): Take a new argument - the search register
	structure - so we can reassure the regex routines that the
	registers have been allocated.
	(Flooking_at, Fstring_match, search_buffer): Changed to pass
	&search_regs to compile_pattern.
	(search_buffer): When we've searched for a literal string and
	found it, make sure that the search registers are allocated before
	stuffing the location of the search into them.
	(Fstore_match_data): If we need to allocate more registers,
	allocate them using re_set_registers, instead of just storing the
	new registers and hoping that regex doesn't free them.

	* search.c (Freplace_match): Doc fix.

Sun Jun  7 21:55:17 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* screen.c (Fdeiconify_screen): Function deleted.
	It was the same as make-screen-visible.

Sat Jun  6 21:42:12 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c: Doc fix.

	* floatfns.c (Fcbrt): Renamed from Fcube_root, and #if 0'd.

	* lisp.h (CHECK_NUMBER_OR_FLOAT*): Use Qnumberp or Qnumber_or_marker_p.
	* data.c (syms_of_data): Staticpro those.
	(Qinteger_or_float_p, Qinteger_or_float_or_marker_p): Deleted.
	(Fnumberp, Fnumber_or_marker_p): Define these always,
	but make them work even if not LISP_FLOAT_TYPE.

Fri Jun  5 14:33:22 1992  Joseph Arceneaux  (jla@@churchy.gnu.ai.mit.edu)

	* config.h.in: Undefine REL_ALLOC if a system specific file
	defines SYSTEM_MALLOC.

	* sysdep.c (save_signal_handlers): Cast result of signal  to
	avoid compiler warning.
	* process.c (send_process): Likewise.

Fri Jun  5 01:57:48 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
	
	* keyboard.c (Fread_key_sequence): New 2nd arg CONTINUE_ECHO
	added for the sake of universal-argument.
	
Thu Jun  4 01:32:38 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* editfns.c (Fset_default_file_mode): Function deleted.
	(Funix_sync): Moved.
	* fileio.c (Funix_sync): Moved to here.

	* xfns.c (Fx_erase_rectangle, Fx_draw_rectangle, Fx_contour_region):
	(Fx_uncontour_region): #if 0 these.
	(x_rectangle, outline_region): Likewise.
	(syms_of_xfns): #if 0 the defsubrs.

	* dispnew.c (Fsleep_for, Fsit_for): Clean up error messages.

	* eval.c, print.c, keyboard.c: Doc fix.

	* xfns.c (Fx_horizontal_line): Disabled, since not documented.

	* fileio.c (Fdelete_directory): Renamed from Fremove_directory.

	* unexencap.c: Deinstalled (renamed to =unexencap.c)
	since awaited papers never arrived.

	* xfns.c: Doc fix.

Thu Jun  4 00:30:26 1992  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* eval.c (stack_trace_on_error, debug_on_error): Made Lisp_Objects V*.
	(syms_of_eval): Changed DEFVAR_BOOLs to DEFVAR_LISPs.
	(wants_debugger): New fn.
	(find_handler_clause): Use it to look in debug-on-error and
	stack-trace-on-error lists.

Thu Jun  4 00:17:28 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* floatfns.c (Fbessel_*, Ferf, Ferfc, Flog_gamma): Turned off;
	not clearly worth including.
	(Fasinh, Facosh, Fatanh, Fsinh, Fcosh, Ftanh): Likewise.

Wed Jun  3 18:43:14 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* minibuf.c, keyboard.c: Doc fix.

	* window.c (Fwindow_at): Fix number of args--minimum 2, max 3.

	* screen.c: Doc fix.

Tue Jun  2 22:53:16 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* lread.c (Feval_buffer): Don't read any arguments, if interactive.

Tue Jun  2 00:32:10 1992  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* screen.c (make_screen_without_minibuffer): Apply XSCREEN to
	Vdefault_minibuffer_screen before calling SCREEN_LIVE_P.  The
	argument to SCREEN_LIVE_P must be a SCREEN_PTR, not a Lisp_Object.

	* dispnew.c (Fsit_for): This used to compare arg with 0 and return
	Qt immediately.  It should actually call sit_for anyway, because
	sit_for needs to test for input and do the redisplay.
	(sit_for): Compare sec and usec with zero here, after we've
	looked for input and done a redisplay.

	* lread.c (Feval_buffer): Use NILP, not NIL_P.

Mon Jun  1 23:56:11 1992  Joseph Arceneaux  (jla@@churchy.gnu.ai.mit.edu)

	* buffer.h: New macro, BUF_SET_PT.

	* lread.c: New subr `eval-buffer', replaces `eval-current-buffer',
	which is now defined in simple.el.

Sat May 30 00:05:12 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* screen.c (Fdelete_screen): If we're deleting the default
	minibuffer screen, try to find another minibuffer screen.

Fri May 29 18:58:17 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* buffer.c (Fother_buffer): New optional argument VISIBLE_OK,
	indicating that buffers currently visible in windows should not be
	discriminated against.

Thu May 28 13:10:38 1992  Ken Raeburn  (raeburn@@cygnus.com)
	
	* screen.c (Fdelete_screen): Fix bugs in walking screen list.
	(make_screen_without_minibuffer): Signal an error if the default
	minibuffer screen is dead.
	
	* xfns.c (x_set_name): Use ICCCM-conforming scheme for changing
	window name in X11.
	(Fx_create_screen): Likewise.

Wed May 27 17:33:21 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* xselect.c: Support getting and setting the obsolete X cut
	buffers.
	(Qcut_buffer0): New atom, denoting the X cut buffer 0.
	(syms_of_xselect): Initialize and staticpro it.
	(Fx_own_selection): If TYPE is Qcut_buffer0, interpret this to
	mean that we should set cut buffer 0 to STRING.
	(Fx_selection_value): If TYPE is Qcut_buffer0, interpret this to
	mean that we should retrieve the value of cut buffer 0.

Thu May 21 00:19:37 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* xterm.c (construct_mouse_click): Removed extra assignment of
	result->timestamp.

	* keyboard.c (last_event_timestamp): Doc fix.
	* xselect.c (last_event_timestamp): Declare it extern here.
	(mouse_timestamp): Variable deleted.  last_event_timestamp is a
	more accurate thing to use here.
	(own_selection, get_selection_value): Use last_event_timestamp
	instead of mouse_timestamp.
	* keyboard.c (make_lispy_event): Pass the event's timestamp
	through the make_number function, to assure that it is properly
	tagged before incorporating it into the lispy event.
	* xterm.c (construct_mouse_click): The timestamp element of a
	struct input_event is no longer a Lisp_Object; it is now an
	unsigned long.  So don't use XSET to assign to it.
	(XTread_socket): Same here, in processing KeyPress events.

	* keyboard.c (Fexecute_extended_command): Properly initialize
	this_command_keys to the concatenation of the sequence that
	invoked Fexecute_extended_command, the characters making up the
	name of the command we're running, and a return character.
	Previously, this code would set it to the last key typed while
	reading the function name from the minibuffer, followed by the
	name of the function being run.

Wed May 20 00:11:36 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* xterm.c (x_display_box_cursor): Draw the cursor at curs_{x,y},
	rather than at s->cursor_{x,y}.  If cursor_in_echo_area is set,
	then s->cursor_{x,y} does not accurately describe the position of
	the cursor.  However, if we're not updating, then curs_{x,y} are
	garbage; set them from s->cursor_{x,y}.

	* dispnew.c (update_screen): Check current_screen->enable and
	current_screen_used to see if there is any text on the last line,
	not desired_screen->{enable,used}.  When the line isn't enabled,
	move to line SCREEN_HEIGHT (s) - 1, not SCREEN_HEIGHT (s).
	Rearranged conditionals.

	* dispnew.c (cursor_in_echo_area): Document the interpretations of
	positive and negative values of this variable.

Mon May 18 22:04:35 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dispnew.c (Fding): If have arg, don't end a keyboard macro.

Mon May 18 02:37:09 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* dispnew.c (sit_for): New function, which is a slight
	generalization of Fsit_for; you can tell it that it's waiting for
	input, so C-g gets handled properly.
	(Fsit_for): Call it, instead of replicating all its guts.
	* keyboard.c (read_char): Call sit_for instead of Fsit_for, and
	indicate that we're awaiting keyboard input.

	* dispnew.c (Fsit_for): Rename arguments to match docstring.  Use
	NILP instead of EQ (foo, Qnil).	 If nodisp is non-nil, call
	wait_reading_process_input with do_display 0, instead of 1; this
	will inhibit spurious redisplays when process input arrives during
	a sit-for.

        * process.c (Faccept_process_output): Pass zero as read_kbd
	argument to wait_reading_process_input when PROC is nil, not when
	PROC is non-nil.

	* process.c (wait_reading_process_input): Declare read_kbd to be a
	Lisp_Object, and use the tagging to tell the difference between a
	process object and an integer.
	* dispnew.c (Fsleep_for, Fsit_for, Fsleep_for_millisecs): Pass
	read_kbd argument to wait_reading_process_input as a Lisp_Object.
	* keyboard.c (kbd_buffer_get_event): Same.
	* process.c (Faccept_process_output, send_process): Same.

	* keyboard.c (read_char): Use save_getcjmp and restore_getcjmp
	instead of doing the bcopy explicitly.

	* xterm.c (XTread_socket): When handling an EnterWindow event,
	don't bother to check waiting_for_input.  It's not necessary.

	* keyboard.c (read_char): Don't clear waiting_for_input and
	input_available_clear_time here.
	(quit_throw_to_read_char): It's already done here.

	* keyboard.c (quit_throw_to_read_char): Use
	clear_waiting_for_input instead of clearing waiting_for_input
	explicitly.

Mon May 18 02:37:09 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* keyboard.c (read_char): Call clear_waiting_for_input instead of
	clearing waiting_for_input and input_available_clear_time
	explicitly.

Fri May 15 17:53:33 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* ymakefile [defined (__GNUC__) and __GNUC__ > 1]: define
	YMF_PASS_LDFLAGS so that it can deal with an empty flags argument.

	* callproc.c (Fcall_process): Under VMS, a nil INFILE argument
	means to read from "NLA0:", not "/dev/null".

	* callproc.c (Fcall_process): Use nil as the value for display
	(the fourth argument) when nargs >= 4, not when nargs >= 3.

Thu May 14 10:12:42 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)
	
	* termhooks.h: Change timestamp from a Lisp_Object to an unsigned
        long.
	* keyboard.c (kbd_buffer_store_event): We don't have to apply the
        XINT macro to the timestamp member of the event anymore.

	* process.c (wait_reading_process_output): Don't turn off polling.

	* sysdep.c (setpgrp_of_tty): Pass the address of pid, not pid
	itself.

	* process.c: Deleted cpp tangle for dealing with system-dependent
	tty handling; #included "systerm.h".
	* systerm.h: Add some of the things that were done in process.c:
	If titan is #defined, then we should include <sys/ttyhw.h> and
	<sys/stream.h> along with the other SYSV pty stuff.
	If HPUX is #defined, then EMACS_HAVE_TTY_PGRP isn't true.
	If XENIX is #defined, then we shouldn't try to use TIOCGETC.
	* ymakefile: Note that process.o depends on systerm.h now.

Wed May 13 19:02:05 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

        * callint.c (Fprefix_numeric_value): Value 1 for symbol other than `-'.

Wed May 13 15:12:22 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* cmds.c (Fforward_line): If the buffer is empty, don't try to see
	if it contains a newline, and moving nowhere at eob after
	non-newline should return 1, not 0.

	* search.c (scan_buffer): Doc fix.

	* buffer.c (Fbuffer_disable_undo): Accept a buffer name as an
	argument.

Tue May 12 23:54:33 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c: Include config.h first thing.	
	
	* keyboard.c (clear_input_pending): New subroutine.
	* process.c (wait_reading_process_input): Make C-g really quit in
	sit-for case.

        * ymakefile (LD_SWITCH_SYSTEM): Don't use -X with GCC.

Tue May 12 11:21:24 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* eval.c (Fapply): Use indirect_function, instead of doing a dumb
	loop.
	* keymap.c (get_keymap_1): Same.
	* macros.c (Fexecute_kbd_macro): Same.

	* buffer.c (init_buffer_once): Don't disable undos for *scratch*
	here.  Do it in loadup.el.

	* buffer.c (init_buffer_once): Doc fix.

	* doc.c (Fdocumentation): After extracting the doc string from a
	lambda or autoload expression, don't fall through to the default
	case and signal an invalid function error; instead, do a `break'.

	* doc.c (Fdocumentation): Use EQ (x, y) instead of XSYMBOL (x) ==
	XSYMBOL (y).

	* doc.c (Fdocumentation): When decyphering a function made from
	conses, use 'else if' for the chain of alternatives instead of
	just 'if'.  It used to be that each alternative returned, but
	that's not true anymore.

	* alloc.c (Fgarbage_collect): Don't call truncate_undo_list on
	buffers whose undo list is 't.

	* doc.c (Fdocumentation): Renamed argument `fun1' to `function',
	so make-docstring will list argument consistently with the
	docstring.

Mon May 11 22:38:45 1992  Joseph Arceneaux  (jla@@churchy.gnu.ai.mit.edu)

	* xterm.h: Removed definition of `RES_CLASS'.

	* xfns.c (x_get_arg): Eliminated `screen_name' parameter.  No
	longer uses screen name as X resource search component.
	All calls to x_get_arg changed accordingly.
	Global variable `screen_class' and #define `SCREEN_CLASS' removed.

	* xterm.c (XTread_socket): Added basic structure for handling
	various ClientMessage events, using new global variables
	`Xatom_wm_take_focus', `Xatom_wm_save_yourself',
	`Xatom_wm_delete_window', `Xatom_wm_configure_denied',
	`Xatom_wm_moved'.
	* xfns.c: Declare these variables extern.
	(syms_of_xfns): Initialize these variables.

	* xselect.c (Fx_own_selection, Fx_selection_value): New optional
	parameter `type', to specify the selection type.
	(syms_of_xselect): New symbols Qprimary, Qsecondary, Qclipboard
	initialized.

Mon May 11 15:31:55 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* data.c (Qcyclic_function_indirection): New error condition.
	(indirect_function, Findirect_function): New functions.
	(syms_of_data): Initialize Qcyclic_function_indirection, put the
	error properties on it, and staticpro it.  Defsubr
	Findirect_function.
	* lisp.h (indirect_function, Findirect_function): Declare them here.
	* callint.c (Fcall_interactively): Get symbol's function by
	calling indirect_function, instead of just looping.
	* doc.c (Fdocumentation): Same.
	* eval.c (Finteractive_p, Fcommandp, do_autoload, Feval,
	Ffuncall): Same.
	* keyboard.c (Fcommand_execute): Same.

	* data.c (Fsymbol_function): Name the argument `symbol' instead of
	`sym', so make-docstring will list argument consistently with the
	docstring.

	* process.c (wait_reading_process_input): Make sure the screen
	isn't garbaged (and therefore not displayed) before we enter the
	select and start waiting for input.

	* keyboard.c: #include <systime.h>.
	* ymakefile (keyboard.o): This depends on systime.h.
	* keyboard.c (input_available_clear_word): Replaced with
	input_available_clear_time, which is a pointer to an EMACSTIME;
	sometimes the time information is larger than a single word.
	(read_char): Changed ..._word to ..._time.
	(input_available_signal): Use the EMACS_SET_SECS_USECS macro to
	clear *input_available_clear_time, instead of zapping a zero into
	*input_available_clear_word.
	(set_waiting_for_input, clear_waiting_for_input): Adjusted
	appropriately.

Sun May 10 17:24:29 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* editfns.c (make_buffer_string): New function.
	* lisp.h (make_buffer_string): Declare it here.
	* editfns.c (Fbuffer_substring): Call make_buffer_string instead
	of writing it out.
	(Fbuffer_string): Call make_buffer_string instead of make_string,
	so we can deal with buffer relocations.
	* minibuf.c (read_minibuf): Same here.

Sat May  9 14:23:50 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* syssignal.h (sigunblock): New macro, taken from 18.58's
	emacssignal.h file.
	* sysdep.c (request_sigio): Use the sigunblock macro to enable
	reciept of SIGWINCH, instead of the dysfunctional sigblockx.

Fri May  8 02:55:42 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* search.c: Doc fix.

Wed May  6 19:50:58 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* emacs.c (decode_env_path): If EVARNAME is zero, don't try to
	call getenv on it.
	* lread.c (init_lread): When we don't have an environment variable
	to check, pass 0 instead of the empty string.

	* alloc.c (Fmake_marker): Use `SIGMASKTYPE' instead of `int'.
	Instead of calling sigsetmask twice - once to get the mask, and
	again to restore it - call sigblock, specifying no additional
	signals.

Tue May  5 20:56:21 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* alloc.c: #include <syssignal.h>, for the sake of the
	bug-catching code in Fmake_marker.
	ymakefile: Add dependency.

	* syssignal.h [not POSIX_SIGNALS] (SIGFULLMASK): New definition,
	for symmetry with the "defined (POSIX_SIGNALS)" case.

	* callproc.c (child_setup): Since we always get the environment
	from Vprocess_environment, don't bother to take the environment
	the subprocess should inherit as an argument anymore.
	* process.c (create_process): Don't pass environment as a
	variable.  Just preserve it across call to fork.

Mon May  4 17:02:30 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* floatfns.c: #include <syssignal.h>.
	(float_error): Use SIGEMPTYMASK instead of zero.
	
	* syssignal.h [POSIX_SIGNALS] (sigmask): Defined to expand to a
	statement expression under GCC, or a function call otherwise.
	(sigpause, sigblock, sigunblock, sigsetmask): These are now
	K&R-compatible macros.
	* systerm.h [POSIX_SIGNALS] (sys_sigmask): Here is the function
	the POSIX version of sigmask calls when we're not compiling with
	GCC.
	* alloc.c (Fmake_marker): Undo changes of Apr 29.
	* callproc.c (Fcall_process): Same.
	* data.c (arith_error): Same.
	* floatfns.c (float_error): Same.
	* keyboard.c (gobble_input): Same.

	* sysdep.c (request_sigio, unrequest_sigio)

Wed Apr 29 11:05:42 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* x11term.h (CLASS): Change this from "emacs" to "Emacs"; class
	names should always start with an upper-case letter.

	* syssignal.h: Arranged cpp conditionals so that the specific
	cases come first, generic cases last.

	* syssignal.h (sigpause, sigblock, sigunblock, sigsetmask): Macros
	removed; they require GCC, and Emacs 19 should compile without GCC.
	(EMACS_SIGPAUSE, EMACS_SIGBLOCK, EMACS_SIGUNBLOCK,
	EMACS_SIGSETMASK, EMACS_SIGFREE, EMACS_SIGHOLDX, EMACS_SIGBLOCKX,
	EMACS_SIGUNBLOCKX, EMACS_SIGPAUSEX): These are new macros that
	don't require GCC, but expand to statements.
	* callproc.c (Fcall_process): Use new EMACS_SIG* macros from
	syssignal.h.
	* keyboard.c (gobble_input): Same.
	* sysdep.c (request_sigio, unrequest_sigio): Same.
	* x11term.h (BLOCK_INPUT, UNBLOCK_INPUT): Same.
	* alloc.c (Fmake_marker): Same.
	* data.c (arith_error): Same.
	* floatfns.c (float_error): Same.

Tue Apr 28 15:04:26 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* ymakefile: If we're using GCC version 2.0 or later, use "$(CC)
	-nostdlib" as the linker.  This will allow us to find libgcc.a
	even when GCC puts it in a really weird place.
	(YMF_PASS_LDFLAGS): New macro.
	(temacs): Use it.

	* s/hpux.h: Doc fix.

	* filelock.c (egetenv): Declare this.
	(lock_path, SUPERLOCK_NAME, superlock_path): New variables and
	macros.
	(MAKE_LOCK_PATH, lock_file, unlock_file, lock_superlock): Use the
	variables lock_path and superlock_path instead of the PATH_LOCK
	and PATH_SUPERLOCK macros.
	(init_filelock): New function.
	* emacs.c (main): Call the init_filelock function.
	* paths.h.in (PATH_SUPERLOCK): Removed.  This is now calculated
	from PATH_LOCK or from the EMACSLOCKDIR environment variable.

	* filelock.c (MAKE_LOCK_PATH): New macro.
	(lock_file, unlock_file, Ffile_locked_p): Use it.

	* syntax.c (Fmodify_syntax_entry): Note that '-' is a synonym for
	' ' (both denote whitespace), that '\\' denotes the escape class,
	and that '/' denotes the character-quote class.  The description
	used to claim that '\\' denoted the character-quote class, and
	neglected to mention '-' and '/'.

	* filelock.c (lock_file): Doc fix.

Mon Apr 27 13:28:57 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* callproc.c (init_callproc): Get the default Vexec_path from the
	environment variable "EMACSPATH"; get Vdata_directory from
	"EMACSDATA".

	* ymakefile: Fix #endif and #else comments.

Mon Apr 27 13:28:57 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* ymakefile (xemacs): Link xemacs to temacs if HAVE_SHM.

	* ymakefile (paths.h, config.h): Never copy, always fail.

	* process.c (wait_reading_process_input): Redisplay if screen_garbaged.
	Call do_pending_window_change first.
	Include dispextern.h.
	* ymakefile (process.o): Added dependency.

	* ymakefile (OLDXMENU_OPTIONS): New macro, used compiling oldxmenu.

Sat Apr 25 16:10:00 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* ymakefile: Changed all references to LD_CMD to LINKER, for
	compatibility with the 18.58 configuration files.
	* s/aix3-1.h, s/sunos4shr.h: Same here.

	* ymakefile: Doc fixes.

	* ymakefile (CC, MAKE): Set these variables from optional macros.
	Change all uses of `make' to ${MAKE}.

	* ymakefile: use HAVE_X11 as alias for X11.

	* ymakefile (LIB_GCC, GNULIB_VAR): Handle GCC 2.

	* process.c (allocate_pty): Re-arranged conditionals to put the
	system-specific-case first, and the generic case in the #else
	section, for consistency with the rest of Emacs.

	* process.c (allocate_pty): Wait until we fail to open three ptys
	in a row before concluding that we've reached the end of the ptys.

Wed Apr 22 13:40:03 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* ralloc.c: #include "getpagesize.h".

	* search.c (Flooking_at): Use search_regs.num_regs instead of
	RE_NREGS.  As of regex version 0.4, the compiler allocates the
	registers, and may allocate more than RE_NREGS.
	(search_buffer): Same.
	(Freplace_match): Use search_regs.num_regs to tell how many
	registers are valid.  Also note that if none are valid, no search
	has been performed.
	(match_limit): Same.
	(Fmatch_data): Same.
	(Fstore_match_data): If we're trying to store more registers than
	search_regs has allocated, re-allocate them to make room.

Tue Apr 21 18:05:52 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)


	* callproc.c (egetenv): Declare the type of VAR.

	* lisp.h: Don't undefine NULL.  There is no longer any conflict.

	* lisp.h (NUMBERP): New macro.
	* editfns.c (Fformat): Protect the sections that deal with
	Lisp_Float objects with a "#ifdef LISP_FLOAT_TYPE".
	* bytecode.c (Fbyte_code): Use the NUMBERP macro instead of
	explicitly checking for the Lisp_Float tag.
	* callint.c (Fcall_interactively): Same here.

	* xrdb.c (magic_searchpath_decoder): Re-allocate string as needed,
	rather than making it a fixed-size array.

	* xfns.c (Fx_rebind_key): Don't declare modifier_list to be a
	register variable.  It's too big, and we need the address of its
	first element when we pass it to XRebindKeysym anyway.

	* fileio.c (Fdo_auto_save): Doc fix.

Mon Apr 20 11:24:22 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* search.c (search_buffer): Cast RE_EXACTN_VALUE to char, because
	the regex-0.4 distribution says so.

	* ymakefile (dired.o): This depends on regex.h.

	* process.c (wait_reading_process_input): There is code here which
	sends SIGIO to Emacs if we thought we had input available but
	didn't get SIGIO.  If the system doesn't have SIGIO, then
	#ifdef it out.

	* print.c (Fexternal_debugging_output): Arguments were declared
	ANSI-style - rewritten in K&R 1 fashion.

	* floatfns.c (IN_FLOAT): Cast the zero in the `else' clause of the
	conditional expression to SIGTYPE, to match the type of the
	float_error call in the `then' clause.

	* s/hpux8: #define HPUX8; this is supposed to be customary
	procedure, and fileio.c was expecting it, but somehow it didn't
	get defined.

	* sysdep.h: Move inclusions of [AIX] <sys/hft.h>,
	<sys/devinfo.h>, <sys/pty.h>, <unistd.h> [NEED_BSDTTY]
	<sys/bsdtty.h>, [HPUX and HAVE_PTYS] <sys/ptyio.h>, [SYSV_PTYS]
	<sys/tty.h>, <sys/pty.h>, and [pfa] <sys/file.h> to systerm.h;
	also move undefinition of LLITOUT under BSD4_1 to systerm.h.
	* systerm.h: They're here.

	* xterm.c (XTcursor_to, XTclear_end_of_line): Declare to return
	int in the function definitions as well as their declarations.

Sun Apr 19 00:46:41 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* fileio.c (directory_file_name): When checking if the string ends
	with '/', check that slen is a valid length *before* examining
	dst[slen-1], not after.

Sat Apr 18 16:23:17 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* xterm.c (x_death_handler): New function.
	(x_error_handler): Call x_death_handler to shut down Emacs.
	(x_term_init): Use x_death_handler to handle SIGPIPE, instead of
	x_error_handler, which expects to be passed a display and an
	event.
	* process.c (send_process): This used to set a handler to
	catch SIGPIPEs when writing to a subprocess, and then set the
	handler to SIGDFL after writing, but this would stomp on the
	SIGPIPE handler for for the X connection.  So restore the prevous
	handler instead of changing to SIGDFL.

Sat Apr 18 11:59:13 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* indent.c (compute_motion): Fix skipping invis lines and
	truncation at right margin.

Fri Apr 17 02:22:28 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* s/hpux.h (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Use pty_name,
	not ptyname. 
	* s/rtu.h: Same.

	* process.c (pty_process): Add 'int' to the declaration 'static
	pty_processes;'.  This makes it a happy declaration even when
	static has been #defined as the empty string.
	* xterm.c (XTcursor_to, XTclear_end_of_line): Same.

	* unexec.c (sbrk): Declare this to return void * if __STDC__ is
	defined, or char * otherwise.

	* lread.c init_lread): Re-cleaned logic.  To determine whether the
	load path was changed before dumping, cons up a dump path and
	compare it.  This method is more localized and accurate.
	(initial_path): Variable removed.
	(syms_of_lread): Don't staticpro.

	* floatfns.c (float_error): Declare and define this to return
	SIGTYPE.

	* systime.h [HAVE_TIMEVAL] (EMACS_GET_TIME): Declare dummy to be a
	real struct timezone, instead of an EMACS_TIME.  Since
	HAVE_TIMEVAL is defined, struct timezone ought to be declared, so
	there's no harm in passing the genuine article.

	* sysdep.c [USG] (rename): Place under the protection of a new
	preprocessor symbol, HAVE_RENAME.
	* s/hpux.h (HAVE_RENAME): Defined.

	* sysdep.c [USG] (setpriority): Declare to return int, not void.

	* s/template.h: Add template section for HAVE_TERMIOS.

	* term.c (cursor_to, raw_cursor_to, fatal): Do declare the types
	of the arguments.

Wed Apr 15 01:33:08 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* callint.c (Fcall_interactively): When the interactive spec is
	a string, it may be relocated while reading the arguments.  To
	avoid this, make a copy of the spec to refer to, instead of
	using a pointer to the data of the spec string.

	* callint.c (Fcall_interactively): When following the function
	chain of a symbol, check for quits.

Mon Apr 13 14:48:13 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* lread.c (init_lread): Make the load path default to
	PATH_LOADSEARCH when we're not dumping (null purify-flag), and
	PATH_DUMPLOADSEARCH when we are (not (null (purify-flag))).
	Change from April 7th incorrectly always used PATH_DUMPLOADSEARCH.

	* lread.c (init_lread): Cleaned up logic; to determine whether the
	load path was changed before dumping, remember the initial value
	and compare against it.
	(initial_path): New variable to support this.
	(syms_of_lread): staticpro initial_path.

	* ymakefile: Renamed filenames like "*-dist" to "*.in".

	* config.h.in: Doc fixes.

Sat Apr 11 15:54:21 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* config.h-dist: Renamed to config.h.in, for consistency with
	the installation conventions of other GNU programs.
	* paths.h-dist: Renamed to paths.h.in.

Sat Apr 11 00:01:36 1992  David J. MacKenzie  (djm@@wookumz.gnu.ai.mit.edu)

	* termcap.c: Declare getenv.

Wed Apr  8 00:57:47 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* Makefile: Renamed to Makefile.in; the configure script will edit
	this to produce Makefile.

Tue Apr  7 23:22:59 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* paths.h-dist (PATH_DUMPLOADSEARCH): New macro.
	* lread.c (init_lread): If we're building an Emacs to be dumped,
	use PATH_DUMPLOADSEARCH as the default load path, so we can
	correctly find our lisp files.

	* config.h-dist, paths.h-dist: Added "-*- C -*-" to top lines, so
	Emacs will know that these are really C source.

Fri Apr  3 22:33:21 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* search.c (syms_of_search): When allocating memory
	searchbuf.buffer, cast the return value of malloc to unsigned char
	*, not char *; this changed in the most recent version of the
	regex code.

Tue Mar 31 10:33:58 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* doc.c (Fdocumentation): Don't forget to end each line of the
	docstring with "\n\".

	* process.c (Fprocess_connection): Change "#ifdef 0" around this
	function to "#if 0".

	* eval.c (Flet, FletX): Signal an error if one of the let's binding
	clauses has more than one value form, as in (let ((a 1 2)) a).

	* eval.c (Ffuncall): Re-install change of March 10; I don't know
	why it went away.

	* search.c (compile_pattern): Declare the variable which holds the
	return value of re_compile_pattern to be const, if this is ANSI C.

	* alloc.c (xrealloc): Change "ese" to "else".

	* crt0.c (start1) [sun_soft]: Change 'jst' to 'jsr'.  The Sun
	assembly language manual doesn't list any 'jst' instruction, I
	don't know of one personally, and all the analogous code
	around it uses 'jsr'.

	* crt0.c [m68k]: Merged with GNU C Library's version: added
	conditionals for sun_68881, sun_fpa, sun_soft.

	* config.h-dist: Adjusted for renaming of share-lib to etc.
	* lread.c (read1): Same.
	* doc.c (Fdocumentation_property, Fsnarf_documentation): Same.
	* ymakefile: Same.

Mon Mar 30 23:03:49 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* crt0.c: Merged changes from 18.58:
	[hp9000s300]: Set flag_fpa.  Define float_loc.
	[new hp assembler]: Double flag_fpa and flag_68881 if %d2!=0.
	(start1): Declare to be static at the top of the file.
	(_start): Removed static declaration in this function; since
	everyone wants it, we'll just put it here.

Fri Mar 20 15:42:38 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1697 1
a1697 379
	* fileio.c (Finsert_file_contents): Allow quitting from I/O.
	(Fcopy_file): Likewise.

Fri Mar 20 00:59:06 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* m-intel386.h (HAVE_ALLOCA): Inhibit if C_ALLOCA.
	(LIB_STANDARD): Alternate USG value if __GNUC__ or C_ALLOCA

	* alloc.c (xrealloc): If handed a NULL pointer for the block to
	resize, malloc a new block and return that.  Not all reallocs do
	this.

	* m/elxsi.h: Doc fix.

Wed Mar 18 13:59:51 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* dispnew.c (Fsleep_for): Call wait_reading_process_input, whether
	or not we have process support; let the emulator do the work.
	* emacs.c (fatal_error_signal, Fkill_emacs): Call
	kill_buffer_processes even when subprocesses is not #defined; we
	have a stub.

	* process.c [not defined (subprocesses)] (Fget_buffer_process,
	init_process, syms_of_process): New stub versions of these functions.
	* emacs.c (main): Call init_process and syms_of_process whether or
	not subprocesses is #defined.
	* xdisp.c (decode_mode_spec): Call Fget_buffer_process whether or
	not subprocesses is #defined.

Tue Mar 17 16:31:12 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* keyboard.c (kbd_buffer_get_event): Call
	wait_reading_process_input, even when subprocesses is not
	#defined, instead of doing a whole lot of hairy SIGIO-pausing
	stuff.
	* dispnew.c (Fsit_for): Call wait_reading_process_input, whether
	or not subprocesses is #defined.

	* process.c (wait_reading_process_input): Since we're no longer
	checking for exceptional conditions in the call to select, all of
	the different ways to call select for different systems have
	become the same; remove the #if conditionals around this.

	* keyboard.c (read_char): When returning quit_char because we got
	an interrupt signal, claim that the character came from the
	currently selected screen.

Mon Mar 16 18:03:54 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* callproc.c (Fcall_process): Doc fix.

	* process.c [not defined (subprocesses)] (kill_buffer_processes):
	New dummy version of this function.
	* buffer.c (Fkill_buffer): Removed '#ifdef subprocesses'
	protection from the call to kill_buffer_processes; this is safe
	whether or not we actually have subprocesses.

Sat Mar 14 15:39:07 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* m/pfa50.h: New file.
	* process.c (create_process, process_send_signal): Added changes
	for m/pfa50.h.
	* sysdep.c: same.
	* unexec.c: same.

Sat Mar 14 14:25:03 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* callproc.c (child_setup): Always put the child in its own
	process group.

Fri Mar 13 11:17:33 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* mem_limits.h (POINTER): Doc fix.

	* ralloc.c: Don't #include lisp.h and xterm.h; we no longer need
	to block input in critical sections.
	(r_alloc, r_alloc_free, r_re_alloc): Don't use BLOCK_INPUT and
	UNBLOCK_INPUT; these are no longer needed.
	(struct bp): Doc fix.

Wed Mar 11 03:07:16 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* ralloc.c (obtain): When deciding how many pages to request, take
	into account the amount of spare bytes at the end of the current
	page; let get be ROUNDUP (size - already_available), instead of
	ROUNDUP (size).
	(relinquish): Re-organized for clarity.

	* editfns.c (Fcurrent_time): Updated to return the current time's
	seconds split into two 16-bit integers (similar to the system used
	by file-attributes), and the milliseconds.

Tue Mar 10 18:12:18 1992  Jim Blandy  (jimb@@pogo.cs.oberlin.edu)

	* process.c (Faccept_process_output): Add new optional argument
	TIMEOUT-MSECS, and return non-nil iff we actually got some input
	from the process(es).
	(wait_reading_process_input): Make return value indicate whether
	we got some input from the specified process, when read_kbd is a
	process, or from any process when read_kbd isn't particular.

	* indent.c (Fmove_to_column): Pass the correct number of arguments
	to Findent_to.

	* eval.c (Ffuncall): If a subr is asking for too many arguments,
	abort instead of printing an error message; this is an internal
	flaw in Emacs, and the subr cannot be called.

Fri Mar  6 19:46:24 1992  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* doc.c (Fdocumentation, Fdocumentation_property): Take optional
	new arg to not pass results thru substitute-command-keys.

Thu Mar  5 12:01:57 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* unexmips.c (unexec): When setting up the data_section header,
	calculate the size of the section as "brk - data_start," not "brk
	- DATA_START".

Sun Feb 23 00:34:42 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* fileio.c: #include "systime.h".
	(Fcopy_file): Use the systime.h macros to copy the time to the new
	file.
	* ymakefile: Note that fileio.o depends on systime.h.

	* ymakefile (dispnew.o): Note that this depends on systerm.h and
	systime.h.
	(editfns.o, xterm.o, sysdep.o): Note that this depends on
	systime.h.
	(emacs.o, keyboard.o, process.o, sysdep.o): Note that these depend
	on systerm.h.

	* systerm.h: Expanded to handle getting and setting terminal
	parameters:
	(struct emacs_tty): New structure, which consolidates all of the
	old tty parameter structures.
	(EMACS_GET_TTY, EMACS_SET_TTY, EMACS_TTY_TABS_OK): New macros.
	* sysdep.c (TABS_OK): Definitions of this macro removed;
	EMACS_TTY_TABS_OK replaces it.
	(TERMINAL): Definitions removed; now we use struct emacs_tty.
	[VMS] (input_chan): Renamed to...
	(input_fd): and defined even when VMS isn't; in that case, we
	leave it initialized to zero, which is the input tty.  This allows
	us to use the EMACS_GET_TTY and EMACS_SET_TTY for both VMS and
	Unix.
	(discard_tty_input): Use struct emacs_tty and its macros instead
	of TERMINAL.  Replace some of conditional with a call to
	EMACS_GET_TTY.
	(child_setup_tty): Use struct emacs_tty and its macros instead of
	TERMINAL and conditionals.
	(old_gtty, old_ltchars, old_tchars, old_lmode): Replaced by...
	(old_tty): New variable.
	(lmode): Made conditional on BSD4_1, since it's only used by the
	BSD4_1 support code now.
	(init_sys_modes): Define tty to be a struct emacs_tty, not a
	TERMINAL.  Use macros to get and set parameters for VMS and
	Unices. Set lmode, tchars, and ltchars along with the rest of the
	tty state.
	(tabs_safe_p): Use EMACS_GET_TTY and EMACS_TTY_TABS_OK instead of
	conditionals.
	(reset_sys_modes): Use EMACS_SET_TTY to restore the settings from
	old_tty, instead of using hairy conditionals.

	* sysdep.c (get_screen_size): Neatened; now each system of
	reporting the screen size is separated from the rest.
	
	* systerm.h (EMACS_HAVE_TTY_PGRP, EMACS_GET_TTY_PGRP,
	EMACS_GET_TTY_PGRP): New macros to handle setting a tty's current
	process group.
	* sysdep.c (setpgrp_of_tty): Use the above, instead of
	conditionals.

	* sysdep.c: #include "systerm.h".
	#ifs that choose #include files moved from here...
	* systerm.h: to here.

	* sysdep.c [APOLLO]: We now undefine TIOCSTART not here but...
	* systerm.h: here.

	* sysdep.c [BROKEN_TIOCGETC]: We now undefine TIOCGETC not here but...
	* systerm.h: here.

	* sysdep.c [BROKEN_FIONREAD]: We now undefine FIONREAD and FASYNC
	not here but...
	* systerm.h: here.

	* process.c (process_send_signal): Steal 18.58's version of this,
	but incorporate the support for VMS signals.
	    
	* syssignal.h (EMACS_KILLPG): New macro.
	* process.c (process_send_signal): Use it.
	* sysdep.c (sys_suspend): Use it.

	* syssignal.h (SIGCHLD): If we have SIGCLD and not SIGCHLD, define
	SIGCHLD as an alias for SIGCLD.
	* sysdep.c: Remove code for above.

	* sysdep.c (init_baud_rate): Rather than trying to maintain the
	illusion of an abstraction with the OSPEED and SETOSPEED macros,
	just use conditionalized code for each terminal kind.  This is the
	only place we ever need this functionality.
	(OSPEED, SETOSPEED): Definitions removed.

Sat Feb 22 15:40:12 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* sysdep.c: Moved definition of sigunblock macro to ...
	* syssignal.h: Here.

	* hftctl.c: #include <sys/uio.h> before #including <sys/tty.h>.
	(hfqry, hfskbd): Declare these functions as static before all uses.
	* unexaix.c (make_hdr, mark_x, copy_text_and_data, copy_sym):
	Declare as static before all uses.
	Remove extraneous semicolons from #ifdefs of COFF and XCOFF
	(unrelocate_symbols): cast the initializers of t_start and d_start
	to ulong.

	* s/template.h: Include a clause for the HAVE_TERMIO flag.

Fri Feb 21 00:23:28 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* keyboard.c (read_char): Don't clear Vquit_flag when we catch an
	interrupt and return a quit_char; this change (Mar 21 1991) is too
	large a change in functionality for the cleanliness it gains.

	* pwd.h: Renamed to vms-pwd.h, so that we don't get it by accident
	when we #include <pwd.h> with the `-I.' flag given to the
	compiler.
	* editfns.c [VMS]: Changed to include vms-pwd.h instead of pwd.h.
	* fileio.c [VMS]: Same.
	* filelock.c [VMS]: Same.
	* sysdep.c [VMS]: Same.

	* xrdb.c: Changed to #include "vms-pwd.h" if VMS is defined,
	instead of including <pwd.h> unconditionally.

	* window.c (Fset_window_display_table): Rearranged to make etags
	happy.

	* xterm.c (XTread_socket): Clear the meta flag from the keypress
	event before handing it to XLookupString.

Thu Feb 20 23:05:03 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* sysdep.c: No need to test #ifdef TIOCGETP before #undefing it.

Wed Feb 19 10:05:37 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* systime.h: New file.
	* dispnew.c: #include "systime.h" to get <time.h> or <sys/time.h>,
	whichever is appropriate, instead of using a conditional.
	(Fsleep_for, Fsit_for, Fsleep_for_millisecs): Use the systime.h
	macros instead of HAVE_TIMEVAL conditionals.
	* editfns.c: #include "systime.h" to get <time.h> or <sys/time.h>,
	whichever is appropriate, instead of using a conditional.
	* fileio.c: Same.
	* process.c: Same.
	* xterm.c: Same.
	(wait_reading_process_input): Use the systime.h macros.
	* sysdep.c: #include "systime.h" to get <time.h> or <sys/time.h>,
	whichever is appropriate, instead of using a conditional.

	* m/template.h: Add description of NO_SOCK_SIGIO.

	* sysdep.c (reset_sys_modes): Doc fix.

	* keyboard.c (sigfree, sigholdx, sigblockx, sigunblockx,
	sigpausex): Definitions moved to syssignal.h.

	* dispnew.c: Doc fix.

	* systerm.h: New file, to consolidate the system-dependent
	terminal-handling trash.
	* emacs.c: #include systerm.h.
	(main): Use systerm.h macros instead of conditionals.
	* dispnew.c: #include systerm.h.
	(update_screen): Use EMACS_OUTQSIZE instead of the direct ioctl.
	* keyboard.c: #include systerm.h to get the proper FIONREAD header
	files, instead of using conditional.

	* syssignal.h: Added copyright notice.

	* emacssignal.h: Renamed to syssignal.h, to be like sysdep.c.
	* data.c, keyboard.c, process.c, sysdep.c, ymakefile: Changed
	#include directives.

Sat Feb 15 16:44:53 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* m/intel386.h: Don't bother casting the argument to the signal
	function; the SIGTYPE code in config.emacs ought to take care of
	this.

	* buffer.c (record_buffer): Doc fix.

Thu Feb 13 20:57:43 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* s/iris3-6.h: #define HAVE_GETWD.

Tue Feb 11 14:59:57 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* window.c (Fwindow_at): Accept position as two arguments, not a
	cons of numbers.

	* window.c (scroll_command): Undo the Jan 31 change; do set the
	current buffer to the selected window's buffer.  A simple
	set-buffer will make these two different.

Mon Feb 10 01:55:45 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* callproc.c (Fcall_process): Clear synch_process_death and
	synch_process_retcode to zero before forking the process.

	* process.c (synch_process_death, synch_process_retcode): Don't
	declare them extern here.
	* process.h (synch_process_death, synch_process_retcode): Declare
	them extern here, along with synch_process_alive.

	* s/hpux.h: Define CLASH_DETECTION.

	* window.c (init_window_once): Don't pass any arguments to
	make_window.

	* keyboard.c (command_loop_1): Move the label directly_done out of
	the else block to just after the else block.  This shouldn't
	change the semantics of the code, but appears to avoid a compiler
	bug on SCO Unix V.3.2v2.

	* fileio.c (Fset_umask, Fumask): New functions.
	(syms_of_fileio): defsubr them.

	* undo.c (Fprimitive_undo): When undoing a deletion with the point
	before the deleted text, use Finsert_before_markers so that the
	mark will end up on the other side of the text, if it's in the
	area at all.

	* xdisp.c (redisplay): Properly compute TAB_OFFSET for compute_motion.

	* keyboard.c (command_loop_1): Don't check whether cursor is at
	edge of screen here.
	* dispnew.c (direct_output_forward_char): Check here, and return
	zero if it can't be done.  And compare the cursor position to the
	window boundaries, not the screen boundaries.

Wed Feb  5 15:34:14 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* screen.c (Fscreen_parameters): If the screen has a minibuffer
	window on another screen, return the window, instead of nil.
	(store_screen_param): If the value of the minibuffer parameter is
	a window, try to make it the surrogate minibuffer window.
	(Qminibuffer): New variable, to support above change.
	(syms_of_screen): initialize and staticpro it.

	* m/tad68k.h: New file.

	* fileio.c (Ffile_accessible_directory_p): New function.
	(syms_of_fileio): defsubr it.
	* callproc.c: #include <errno.h>.
	(child_setup):  Accept yet another argument, current_dir.
	Don't try to report an error here if current_dir is inaccessible;
	this function is called in a vforking process.  Just have the
	process exit with an error code.
	(Fcall_process): Make sure that the current directory is okay
	here, before we fork.  Pass the current_dir argument.
	* process.c (create_process): Same here.

	* callproc.c (Fcall_process): Don't assign into args[1] when nargs
	< 2.  Instead, use a new variable called infile.  Re-arranged
	logic which processes the BUFFER argument.

Mon Feb  3 20:09:39 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* fileio.c (Fexpand_file_name): Doc fix.

	* scroll.c (line_ins_del): Since we're calculating the array from
	end to beginning, make the indices go that way, and thus clearly
	get the right boundary.  This used to ignore the [0] element, and
	write in the [screen_height] element, which doesn't exist.

Mon Feb  3 16:41:45 1992  Richard Stallman  (rms at mole.ai.mit.edu)
d1702 1
a1702 1
Fri Jan 31 14:36:47 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
d1704 1
a1704 2
	* m/delta88k.h: Added USUAL-OPSYS information, for the
	config.emacs script to use.
d1706 1
a1706 3
	* window.c (scroll_command): Don't bother setting the current
	buffer to the selected window's buffer; this should always already
	be the case.  Add check just in case.
d1708 1
a1708 3
	* indent.c (compute_motion): Don't pack vpos and hpos into one int;
	use separate variables hpos/vpos and prev_hpos/prev_vpos.
	(vmotion): Use largest int as tovpos arg to compute_motion.
d1710 1
a1710 1
Thu Jan 30 11:45:20 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
d1712 1
a1712 7
	* window.c: #include "keyboard.h" to get the Qmode_line and
	Qvertical_split declarations.
	* ymakefile (window.o): Note that this depends on keyboard.h.

	* callproc.c (getenv_internal): Cast the pointer to the variable's
	value to a char *; elisp strings are unsigned char *'s.  And
	valuelen is an int *, not an int **.
d1714 1
a1714 2
	* scroll.c (do_scrolling): Document meaning of enable flag in
	temp_screen.
d1716 1
a1716 1
Thu Jan 30 01:44:47 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1718 1
a1718 1
        * m-orion105.h (C_DEBUG_SWITCH, LIBS_DEBUG): Defs deleted.
d1720 1
a1720 1
Wed Jan 29 14:37:42 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1722 1
a1722 1
	* m-iris4d.h (C_SWITCH_MACHINE): New definition.
d1724 2
a1725 1
Tue Jan 28 11:03:05 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
d1727 1
a1727 2
	* term.c: #include "keyboard.h", for Vfunction_key_map.
	* keyboard.h: Declare Vfunction_key_map.
d1729 1
a1729 65
	* keyboard.h: New file, for external declarations used in
	processing keyboard input and events.
	* lisp.h (Qmode_line, Qvertical_split, num_input_chars,
	poll_suppress_count): Extern declarations moved to keyboard.h.
	* keyboard.c: #include "keyboard.h".
	(Qvscrollbar_par, Qvslider_part, Qvthumbup_part,
	Qvthumbdown_part, Qhscrollbar_part, Qhslider_part,
	Qhthumbleft_part, Qhthumbright_part): Moved declarations here from
	xfns.c, so they're with the other event heading symbols.
	* eval.c: #include "keyboard.h".
	* ymakefile (callint.o, keyboard.o, keymap.o, xfns.o, eval.o):
	Note that these depend on keyboard.h.

	* xfns.c: The above symbols aren't here any more.  #include
	"keyboard.h" to get them.
	(syms_of_xfns): Don't initialize or staticpro them.
	* keyboard.h: Added extern declarations for the above.
	* callint.c: #include "keyboard.h".

	* xfns.c (Vmouse_screen_part): Variable removed, no longer used.
	(syms_of_xfns): Changed accordingly.

	* xterm.c (Qmouse_moved): Variable removed, no longer used.
	(Qmouse_click, Qscrollbar_click): Removed.  These are now event
	types, in keyboard.c and keyboard.h; they're no longer used in
	this way.
	(Vmouse_window, Vmouse_screen_part): Extern declarations removed.
	(XTread_socket): Don't assign to Vmouse_window or
	Vmouse_screen_part.
	(syms_of_xterm): Changed accordingly.

	* keyboard.h (EVENT_HAS_PARAMETERS, EVENT_HEAD, EVENT_WINDOW,
	EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON, EVENT_WINDOW_POSN,
	EVENT_TIMESTAMP, EVENT_HEAD_UNMODIFIED, EVENT_HEAD_KIND): New
	macros to recognize and access events that have parameters, like
	mouse events.
	* keyboard.c (read_char, echo_char, Fmouse_click_p,
	read_key_sequence): Use them.
	* keymap.c: #include "keyboard.h".
	(access_keymap, store_in_keymap, Fsingle_key_description): Use the
	macros from keyboard.h.

	* keyboard.c (Qevent_kind): New symbol, naming the property of an event
	header where we put the event's type.
	(Qfunction_key, Qmouse_click, Qscrollbar_click): New symbols, used
	to tag different kinds of events.
	(Qevent_unmodified): New symbol, naming the property
	of an event header where we put an unmodified version of the event
	header.
	(modify_event_symbol): Take a new argument, SYMBOL_KIND, whose
	value should be put on the Qevent_kind property of each symbol we
	make.  Set the Qevent_unmodified property of each symbol we make.
	(make_lispy_event): Pass the appropriate SYMBOL_KIND argument to
	modify_event_symbol.
	(struct event_head, head_table): New tables, to simplify the
	initialization of some of the event heads.
	(syms_of_keyboard): Initialize and staticpro the symbols given in
	head_table, and put the Qevent_kind and Qevent_unmodified
	properties on them.  Initialize all of the new symbols listed
	above.

	* keyboard.c (lispy_function_keys, lispy_mouse_names): Renamed
	these from function_key_names and mouse_names, and moved them
	outside of make_lispy_event, since static doesn't work on all
	systems, and these can't be automatic.
d1731 2
a1732 1
Tue Jan 28 00:46:18 1992  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1734 2
a1735 4
	* fileio.c (Fwrite_region): Remove Alliant conditional.
	* crt0.c: Conditionals for ALLIANT_2800.
	* m/alliant-2800.h: New file.
	* unexfx2800.c: New file.
d1737 3
a1739 1
	* m-mips4.h (C_DEBUG_SWITCH): Alternate defn for GCC.
d1741 1
a1741 2
	* sysdep.c [VMS] (sys_write): Special case for fixed-length
	with carriage-control characters.
d1743 1
a1743 64
	* s/isc2-2.h (NOMULTIPLEJOBS): Undef this.
	(LIB_STANDARD): Add -lPW.
	(LIBS_SYSTEM): Defined.
	* m/intel386.h (signal): Optionally don't define it.

Mon Jan 27 17:53:37 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* s/template.h: Document the SIGTYPE macro.
	* s/bsd4-3.h: Define the SIGTYPE macro.

	* data.c (Fsymbol_value): Extract all the innards of this function
	into find_symbol_value, except the code which signals an error.
	(find_symbol_value): New function.
	* lisp.h (find_symbol_value): Declare it.
	* keymap.c (current_minor_maps): Use it, instead of a call to
	Fboundp and Fsymbol_value per every minor map, for every key
	sequence read.

	* xterm.c (x_make_screen_visible): Don't raise the window.  This
	causes the window to pop to the front every time a message
	appears, which isn't desirable.

	* screen.c (Fselect_screen, Fdelete_screen, Fset_mouse_position,
	Fmake_screen_visible, Fmake_screen_invisible, Ficonify_screen,
	Fdeiconify_screen, Fscreen_parameters, Fmodify_screen_parameters,
	Fset_screen_height, Fset_screen_width, Fset_screen_size,
	Fset_screen_position): Use SCREEN_IS_X macro instead of testing
	for output_x_window.
	* xfns.c (adjust_scrollbars, Fx_store_cut_buffer): Same.

Sat Jan 25 16:37:19 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* term.c (term_get_fkeys): New function.
	(term_init): Call term_get_fkeys.

Tue Jan 21 10:41:53 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* editfns.c (Ffollchar, Fprevchar): Renamed to Ffollowing_char and
	Fprevious_char, for consistency.  Renamed Sfollchar and Sprevchar
	too.
	(syms_of_editfns): Fixed defsubrs.
	* lisp.h (Ffollchar, Fprevchar): Renamed extern declarations as above.
	
	* editfns.c (Ffollowing_char): Return 0 at the end of the buffer,
	as advertised.  Doc fix.
	(Fprevious_char): Doc fix.

	* config.h-dist: Rearranged to define user parameters before
	including the machine and opsystem files, so the files can have
	conditionals on the parameters.

Wed Jan 15 15:03:55 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* keyboard.c (read_key_sequence): When expanding a function key
	recognized with Vfunction_key_map, don't scan the expansion for
	further function key sequences.

	* keyboard.c (Vfunction_key_map): Real declaration moved to
	keymap.c; this declaration made extern.
	(syms_of_keyboard): DEFVAR and initialization of Vfunction_key_map
	moved to keymap.c, since it should be initialized to a keymap, but
	we don't want to rely on Qkeymap being initialized now.
	* keymap.c (Vfunction_key_map): Variable moved here.
	(syms_of_keymap): DEFVAR and init here.
d1745 1
a1745 1
	* keymap.c (Fglobal_key_binding): Doc fix.
d1747 5
a1751 4984
Thu Jan 16 01:47:48 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* m-delta88.h: New file.

	* window.c (window_scroll): New arg `noerror'.
	(scroll_command, Fscroll_other_window): Pass that arg.

Wed Jan 15 17:14:54 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* process.c (sigchld_handler):
	Set synch_process_death and synch_process_retcode.

Tue Jan 14 00:51:08 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* config.h-dist (SIGTYPE): New macro to help give signal handlers
	the correct type.
	* s/usg5-3.h (SIGTYPE): Define this to be void.
	* dispnew.c (window_change_signal): Declare this to return
	SIGTYPE.
	* emacs.c (fatal_error_signal): Same.
	* data.c (arith_error): Same.
	* process.c (create_process_1, send_process_trap,
	create_process_sigchld, sigchld_handler): Same.
	(create_process): Declare sigchld according to SIGTYPE.  This
	means we don't have to cast the return value of signal.
	* keyboard.c (input_poll_signal, interrupt_signal): Declare these
	to return SIGTYPE.
	(kbd_buffer_store_event): Include a forward declaration for
	interrupt_signal here.
	* sysdep.c (struct save_signal): Say the handler returns SIGTYPE
	instead of int.
	(save_signal_handlers): So we don't have to cast the return value
	from signal here.
	(sys_suspend): Declare oldsig according to SIGTYPE.
	(select): Declare old_trap using SIGTYPE.
	(select_alarm, wait_for_termination_signal): Declare these to
	return SIGTYPE.

	* emacs.c: #include <termios.h>, if we have it.
	(fatal_error_signal): If we have termios, use tcgetpgrp to get the
	terminal's process group.
	* process.c: If we have termios, #include <termios.h> instead of
	<termio.h>.
	(process_send_signal): If we have termios, use tcgetpgrp to get
	the terminal's process group.  Have gid default to the child's
	pid, to simplify the logic below.
	* sysdep.c (flush_pending_output): If we are using termios, make
	this function a no-op; since we're not in the tty's pgroup, we
	would get a SIGTTIN.

Mon Jan 13 00:50:14 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* config.h-dist: Removed MAINTAIN_ENVIRONMENT clause.
	* callproc.c: Removed support for MAINTAIN_ENVIRONMENT.
	(init_callproc): Use getenv instead of egetenv to initialize
	Vshell_file_name.
	* emacs.c (decode_env_path): Use getenv instead of egetenv 
	* lisp.h: Removed support for MAINTAIN_ENVIRONMENT.
	* process.c: Same.
	* ymakefile: Same.
	* dispnew.c (init_display): Call getenv instead of egetenv.

	* editfns.c (Fgetenv): Function moved...
	* callproc.c (Fgetenv): To here, and made to scan
	Vprocess_environment instead of using the usual C getenv function.
	(getenv_internal): New function.
	(egetenv): New function.
	* lisp.h: Added extern declaration for egetenv.
	* editfns.c (syms_of_editfns): Adjusted.
	* callproc.c (syms_of_callproc): Adjusted.

	* window.h (minibuf_prompt_width): Declare this extern here, after
	minibuf_prompt.
	minibuf.c: Don't extern declare it here.
	indent.c: As above.

	* dispnew.c (buffer_posn_from_coords): If there is a prompt in the
	minibuffer, account for its width when computing the buffer
	position.

	* Makefile (doall): Explicitly export CC to the xmakefile.

	* ymakefile: Use /* */ around comments; # confuses cpp.

	* ymakefile: Note that ralloc.o depends on mem_limits.h, xterm.h,
	and config.h.
	Note that vm-limit.o depends on mem_limits.h.

	* lread.c (read_escape): Return \a as '\007', not '\a'; the latter
	isn't portable, and this routine would have to be revised anyway
	to deal with anything other than ASCII.

	* keymap.c (current_minor_maps): Rewritten not to use
	function-local static variables, to accomodate DGUX.

	* xterm.h (UNBLOCK_INPUT): Replace "abort ()" with "(abort (),
	0)", to avoid type conflicts on odd systems like Ultrix.

	* xrdb.c: Include <sys/types.h>, and declare getuid to return uid_t.

	* xdisp.c (redisplay_window): Use SET_PT macro instead of
	assigning to point.
	insdel.c (insert_from_string): Same.

	* xterm.c (XTcursor_to): Declare it static at the function
	definition, as well as at the top of the file.
	(dumpglyphs): Removed declarations for buf and cp; these variables
	are never used.

	* lisp.h (NULL): Renamed to NILP, so as not to conflict with
	<stdio.h>, and <stddef.h>.  All callers changed; all
	#undefinitions of NULL removed.

Sun Jan 12 23:01:02 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* xdisp.c (message): #ifdef NO_ARG_ARRAY, make a local block to
	declare the explicit argument array.

	* config.h-dist: Instead of reaching the machine- and
	system-dependent files through symlinks, replace the strings 

Thu Jan  9 22:50:20 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)

	* keyboard.c (stuff_buffered_input): Don't forget to increment
	kbd_fetch_ptr while looping through kbd_buffer.

Wed Jan  8 15:13:56 1992  Jim Blandy  (jimb at occs.cs.oberlin.edu)

	* keyboard.c (read_avail_input): Don't forget to fill in the
	screen field in events read from the terminal.
	* sysdep.c (kbd_input_ast, read_input_waiting): Call
	kbd_buffer_store_event with a `struct input_event *', not a
	character or a Lisp_Object.

Sat Dec 21 02:03:38 1991  Jim Blandy (jimb at occs.cs.oberlin.edu)

	* bytecode.c (docall): Don't remove protection from the arguments
	to Ffuncall.

Fri Dec 20 01:28:41 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (Vfunction_key_map): New variable.
	(read_key_sequence): Changed to recognize and substitute bindings
	in Vfunction_key_map at any point in the sequence, unless they
	conflict with ordinary bindings.
	(syms_of_keyboard): DEFVAR, document, and initialize
	Vfunction_key_map.

Thu Dec 19 00:29:07 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keymap.c (Vminor_mode_map_alist): New variable, to support
	keymaps for minor modes.
	(current_minor_maps, Fminor_mode_key_binding,
	Fcurrent_minor_mode_maps): New functions.
	(Fkey_binding): Rewritten to scan for minor mode bindings too.
	(syms_of_keymap): DEFVAR, document, and initialize
	Vminor_mode_map_alist, and defsubr the new Ffunctions.
	(describe_buffer_bindings): Describe the bindings established by
	minor modes too.
	* keyboard.c (follow_key): New function, to support...
	(read_key_sequence): Completely rewritten to handle scanning an
	arbitrary number of keymaps at a time.

	* keyboard.c (Fread_key_sequence): GCPRO keybuf, since it can hold
	lisp expressions while waiting for input.  Don't pass too many
	arguments to read_key_sequence.
	(command_loop_1): Don't pass too many arguments to read_key_sequence.

	* keyboard.c (add_command_key): New function; there are several
	places that add keys to this_command_keys, so we make one function
	to do the work.
	(read_char, Fexecute_extended_command): Call add_command_key
	instead of writing out its code again.
	(init_keyboard): Allocate this_command_keys according to
	this_command_keys_size.

	* lread.c (read1): Change comment to use `share-lib' instead of `etc'.
	* doc.c (Fdocumentation_property, Fsnarf_documentation): Update
	docstring similarly.
	(Fsnarf_documentation): Use "../share-lib/" instead of "../etc/"
	to find doc file while dumping.
	* unexaix.c: Similar doc fix.

	* ymakefile (etcdir): Variable removed.
	(libsrc, archlib, sharelib): New variables, to take the place of
	etcdir.

Wed Dec 18 17:55:46 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* ymakefile (CFLAGS): Don't automatically include C_DEBUG_SWITCH
	in the value for CFLAGS; the configuration script will take care
	of choosing the debugging and optimization switches.

	* config.h-dist: Copy the GLYPH definitions from config.h to here.

Mon Dec 16 22:36:11 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* abbrev.c (Fexpand_abbrev): Run pre-abbrev-expand-hook.
	(syms_of_abbrev): Define that variable.

Fri Dec 13 13:37:20 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* m/m-*.h: Since the m- is now redundant, renamed all files to
	remove it, and changed references within files.
	* s/s-*.h: Same business.

Wed Dec 11 14:22:06 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* config.h-dist (MULTI_SCREEN): Define this automatically when
	we're using a window system.

Mon Dec  9 17:24:45 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* m/m-*.h (i.e. all machine config files): Added USUAL-OPSYS
	comments to tell the configuration script what sort of operating
	system this machine typically runs.

	* config.h-dist (MScreenWidth, MScreenLength): Deleted; no longer
	used.

Sun Dec  8 02:04:27 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* editfns.c (Fcurrent_time): New function, to return the current
	time as a number, like the Unix time(3) function.  This might be
	fun to port.
	(syms_of_editfns): defsubr it.

Thu Dec  5 13:59:35 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keymap.c (Vminor_mode_map_alist): New variable.
	(current_minor_maps): New function.
	(Fcurrent_minor_mode_maps): New function.
	(syms_of_keymap): DEFVAR, document, and initialize
	Vminor_mode_map_alist, and defsubr Fcurrent_minor_mode_maps.

	* callproc.c (Vdata_directory): New lisp variable, for the
	directory containing architecture-independent data files.
	(init_callproc): Initialize Vdata_directory from PATH_DATA, and
	make sure it exists.  Renamed execdir to tempdir, because we use
	it for both Vexec_directory and Vdata_directory.
	(syms_of_callproc): Doc fix for Vexec_directory, new DEFVAR_LISP
	for Vdata_directory.
	* paths.h-dist (PATH_DATA): New path macro, to initialize
	Vdata_directory.
	* doc.c (get_doc_string): Use Vdata_directory to find the
	docstrings, not Vexec_directory.
	* lisp.h (Vdata_directory): New extern declaration, for above
	users.
	* config.h-dist: Changed references to ../etc to ../share-lib.

	* callint.c (Fcall_interactively): For the 'k' interactive code,
	cast the type of the symbol name before passing it to error.

Mon Dec  2 19:06:31 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (make_lispy_movement): Move call to
	mouse_position_hook from here...
	(kbd_buffer_get_event): To here, for symmetry with non-movement
	events.

	* keyboard.c (kbd_buffer_get_event): Set Vlast_event_screen for
	mouse movements, too. 

Wed Nov 27 13:33:31 1991  Jim Wilson  (wilson at wookumz.gnu.ai.mit.edu)

	* alloca.c (alloca): Add parens to make precedence clearer.

Tue Nov 26 00:13:29 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)

	* search.c: need to include sys/types.h because of recent mod to
	regex.h.

Mon Nov 25 23:51:22 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* bytecode.c: BYTE_CODE_METER and BYTE_CODE_SAFE undefined by default.
	(METER_CODE): Define same name whether metering or not.
	(BinsertN): New byte code.
	(Fbyte_code): Improve overflow/underflow error messages.
	(docall): Put back previously lost code to remove protection
	from funcall args.

Mon Nov 25 20:08:49 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* lisp.h (make_array): New extern declaration.

	* alloc.c (make_sequence): Renamed to make_array; more accurate.
	* keyboard.c (Fread_key_sequence, Fthis_command_keys): Callers fixed.
	* macros.c (Fend_kbd_macro): Callers fixed.

Fri Nov 15 15:39:19 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (cmd_error): If an error occurs before somebody has
	provided a screen to print it on, print it to stderr and exit
	Emacs.  Handle batch-mode errors with the same code.
	* lisp.h (Qexternal_debugging_ouput): New extern declaration, for
	use in cmd_error.

	* screen.c (Fscreen_pixel_size, Fset_screen_position): Doc fix.

	* window.c (Fwindow_at): Typecheck COORDINATES more thoroughly.

	* screen.c (read_mouse_position): Function deleted.
	(Fread_mouse_position): Renamed to Fmouse_position, and changed to
	use mouse_position_hook.
	(syms_of_screen): Adjusted accordingly.
	* xfns.c (x_read_mouse_position): Function deleted.

	* screen.h (SCREENP): The non-MULTI_SCREEN case used to say this
	was false for all objects, but it should be true for the terminal
	screen, so make its definition the same as in the MULTI_SCREEN
	case.

	* screen.h (SCREEN_LIVE_P): New predicate.
	(CHECK_LIVE_SCREEN): New type-checking macro.
	(Qlive_screen_p): New error-reporting symbol.
	* screen.c (Qlive_screen_p): Declare the new symbol.
	(Flive_screen_p): New lisp predicate.
	(syms_of_screen): Initialize, staticpro, and defsubr the lot.
	* dispnew.c (Fredraw_screen): Use CHECK_LIVE_SCREEN.
	* screen.c (Fscreen_root_window, Fscreen_selected_window,
	Fnext_screen, Fset_mouse_position, Frestore_screen_configuration,
	Fmake_screen_visible, Fmake_screen_invisible, Ficonify_screen,
	Fdeiconify_screen, Fscreen_visible_p, Fredirect_screen_focus,
	Fscreen_focus, Fmodify_screen_parameters, Fset_screen_height,
	Fset_screen_width, Fset_screen_size, Fset_screen_position,
	Fselect_screen): Use CHECK_LIVE_SCREEN.
	* window.c (Fwindow_at, Fcurrent_window_configuration): Use
	CHECK_LIVE_SCREEN.
	* xfns.c (Ffocus_screen, Fx_pixel_width, Fx_pixel_height): Use
	CHECK_LIVE_SCREEN.

	* screen.c (Fdelete_screen): Do nothing if SCREEN is already
	deleted.
	
	* screen.c (Qscreenp): Staticpro this symbol.

	* xfns.c (Fx_create_screen): Doc fix.

	* xfns.c (Fx_create_screen): Give the screen a minibuffer if the
	'minibuffer parameter is t or nil; nil is the default value for
	omitted parameters, and t is intuitive.

Thu Nov 14 16:18:58 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* eval.c (specbind): Check that the thing being bound is a symbol.
	(funcall_lambda): Signal an invalid-function error if the
	arguments are not all symbols.

Fri Nov  8 14:45:30 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* screen.c (Fselect_screen): Don't select dead screens.
	* print.c (print): Print dead screen objects starting with
	"#<dead screen".

	* keyboard.c (read_key_sequence): Make sure that the compound
	events actually have valid window fields.

	* window.c (next_screen_window): Function deleted; Fnext_window
	can now do its job properly.
	(window_from_coordinates, window_loop): Call Fnext_window instead
	of next_screen_window.

	* xdisp.c (redisplay): Don't clear out minibuffer windows in the
	midst of the screen loop here.  That's confusing.
	(redisplay_window): Since this needs special code to detect
	minibuffers anyway, put it here.  And clear all the lines of a
	multi-line minibuffer, not just the first one.

Thu Nov  7 20:54:35 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* screen.c (Fdelete_screen): When searching Vscreen_list for a new
	value for last_nonminibuf_screen, remember that the screens live
	in the cars of the list, not the cdrs.

	* xterm.c (x_make_screen_visible): Rearranged for clarity.

	* xdisp.c (echo_area_display): Rearranged for clarity.

Wed Nov  6 10:53:50 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* screen.c (next_screen, prev_screen): New meaning for MINI_SCREEN
	argument helps implement the behavior of Fnext_window.
	(Fnext_screen): Document the new behavior.

	* screen.c (make_minibuffer_screen): Do set has_minibuffer for
	minibuffer-only screens.
	(Fscreen_parameters): Correctly generate value of minibuffer
	parameter using SCREEN_HAS_MINIBUF and SCREEN_MINIBUF_ONLY_P.
	* screen.h (SCREEN_HAS_MINIBUF): New predicate.
	* dispnew.c (change_screen_size): Use it.
	* screen.c (Fdelete_screen): Use it.

	* screen.c (Vglobal_minibuffer_screen): Renamed
	Vdefault_minibuffer_screen to better describe its significance.
	(make_screen_without_minibuffer, syms_of_screen): Adjusted.
	* xfns.c (Fx_create_screen): Doc string adjusted.

	* xdisp.c (display_mode_line): Make the code which names the
	screen after the current buffer not depend on
	Vglobal_minibuffer_screen.
	* xterm.c (Vglobal_minibuffer_screen): Don't declare this extern
	here; it's never used.

Tue Nov  5 13:39:49 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* screen.c (Fdelete_screen): Document the fact that surrogate
	minibuffer screens may not be deleted.

	* screen.h (SCREEN_MINIBUF_ONLY_P): New predicate, true iff the
	screen's only window is a minibuffer, aka a "minibuffer screen" or
	a "minibuffer-only" screen.
	* dispnew.c (change_screen_size): Use it.
	* screen.c (Fselect_screen, next_screen, prev_screen,
	Fdelete_screen): Use it.
	* window.c (Fdisplay_buffer): Use it.

	* screen.c (next_screen, prev_screen): Make MINIBUF a lisp
	boolean, not a C boolean.
	(Fnext_screen, Fdelete_screen): Changed to fit.
	* window.c (Fnext_window, Fprevious_window): Changed to fit.

	* screen.c (make_screen_without_minibuffer): Error string improvement.

	* screen.c (syms_of_screen): Doc grammar fix for Vemacs_iconified.

	* screen.c (next_screen): Added some sanity checks, rewrote comments.

	* screen.h (Vglobal_minibuffer_screen): Don't declare this.  It
	shouldn't be used for anything but screen creation.
	* window.c (Fminibuffer_window): Vglobal_minibuffer_screen is not
	necessarily the screen containing the current minibuffer window.
	Also, call choose_minibuf_window; it does much of the work here.
	(Fnext_window): Used to insist on looping through all screens if
	Vglobal_minibuffer_screen was non-nil.  Now includes screen's
	minibuffer window according to MINIBUF, no matter what screen it's
	on, and ignores Vglobal_minibuffer_screen.  Loop termination logic
	cleaned up.  Clarified doc string.
	(Fprev_window): Same problems as Fnext_window, above.
	* screen.c (Vglobal_minibuffer_screen): Documentation rewritten to
	emphasize that it is only a parameter of the creation of
	minibufferless screens, and not an indication of where the
	minibuffer is.
	(prev_screen): Used to assume that Vglobal_minibuffer_screen was
	the only minibuffer-only screen, and would enter an infinite loop
	if Vglobal_minibuffer_screen was the only screen in the list.
	Rewritten to fix these problems.
	* minibuf.c (Vglobal_minibuffer_screen): Don't declare it extern
	here; it's not used.

	* editfns.c (Fmessage): Don't call Fmake_screen_visible here.
	* xdisp.c (message, message1): Call it here, so that Emacs C
	functions like Fy_or_n_p make the screen visible too.

Mon Nov  4 00:01:14 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (readable_events): If EVENT_QUEUES_EMPTY, we can
	short-circuit and say no.  Otherwise, if do_mouse_tracking, we can
	short-circuit and say yes.  These things let us scan the event
	queue less often.

	* termhooks.h (mouse_tracking_enable_hook): Replaced by...
	(mouse_moved, mouse_position_hook): It turns out that it is
	possible and no less efficient simply to tell Emacs if the mouse
	has moved since last noticed, and let it ask for the current mouse
	position; X's pointer motion hints are a cool thing.
	* term.c (mouse_tracking_enable_hook): Replaced by...
	(mouse_position_hook): New, simpler interface.
	* keyboard.c (struct movement, movement_buf, movement_ptr):
	Replaced by...
	(mouse_moved): This flag, to be used in conjuction with
	mouse_position_hook.
	(EVENT_QUEUES_EMPTY): Adjusted to use mouse_moved instead of
	movement_buf and movement_ptr.
	(tracking_off, Ftrack_mouse): Don't call mouse_tracking_enable
	hook.
	(note_mouse_position): Moved to xterm.c.
	(get_mouse_position): Replaced by mouse_position_hook.
	(make_lispy_event): Movement event generation code moved out to a
	separate function...
	(make_lispy_movement): Create a mouse movement event for the
	current mouse position.  Use mouse_position_hook instead of
	get_mouse_position.  Added static declaration for this above...
	(kbd_buffer_get_event): Use mouse_moved instead of movement_buf
	and movement_ptr.  Call make_lispy_movement instead of
	make_lispy_event.
	(init_keyboard): Initialize do_mouse_tracking.  Don't init
	movement_ptr and movement_buf.
	* xterm.h (STANDARD_EVENT_SET): Add PointerMotionMask and
	PointerMotionHintMask to the set.
	* xterm.c (pixel_to_glyph_translation): Renamed to
	pixel_to_glyph_coords, made static, simplified to take advantage
	of constant-size characters, and extended to return the bounding
	rectangle of the glyph returned.
	(construct_mouse_click): The 'button' field of a button event is
	the button number, not a mask; convert it to a mask before
	frobbing x_mouse_grabbed.  Call pixel_to_glyph_coords properly.
	(last_mouse_screen, last_mouse_glyph): New variables, to keep
	track of when the pointer has moved to a different glyph.
	(note_mouse_position): Moved here from keyboard.c and made static.
	Check if the new mouse position is over a new glyph.  If it is,
	set mouse_moved flag; otherwise, call XQueryPointer to get the
	next motion event.
	(XTmouse_tracking_enable): No longer needed, since pointer motion
	hints let us implement the simpler mouse position hook.
	(XTmouse_position): New hook.  Call XQueryPointer to get the
	current mouse position and request notification about the next
	mouse movement.  Clear the mouse_moved flag.
	(pixel_to_glyph_coords, construct_mouse_click,
	note_mouse_position, XTmouse_position): Put these all on the same
	page.
	(XTread_socket): case MotionNotify, call note_mouse_position with
	the right args; don't call pixel_to_glyph_translation.
	(x_term_init): Set mouse_position_hook instead of
	mouse_tracking_enable_hook.

Thu Oct 31 02:53:22 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* xdisp.c (redisplay_window): When trying to avoid starting
	display at the end of the buffer: check that startp < ZV, not
	startp <= ZV.

Tue Oct 29 18:19:22 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* xterm.c (x_do_pending_expose, XTmouse_tracking_enable): Use
	SCREEN_IS_X instead of testing output_method directly.

Sat Oct 26 01:07:29 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* xdisp.c (redisplay): In the single-screen optimization, always
	update the minibuffer's screen as well as the selected screen, no
	matter what the echo_area_glyphs are.  This makes sure that
	messages get cleared after a keystroke.

Fri Oct 25 10:58:04 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* callint.c (Finteractive): Doc fix.

	* xterm.c (XTmouse_tracking_enable): Block input while changing
	the screens' input selection masks.

	* window.c (change_window_height): If the window being resized is
	the only window of the screen, no size change is possible; make
	the delta be zero.  Exit without "changing" the sizes of any
	windows if the delta is zero.

	* alloc.c: Don't bother to include xterm.h.
	(Fgarbage_collect): Don't bother to BLOCK_INPUT here,
	since we don't cons in the input handler.

Mon Oct 21 20:30:48 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* window.c (init_window_once): Set last_nonminibuf_screen to the
	initial terminal screen, so that poor Fdisplay_buffer doesn't try
	to create a new screen on a terminal.

Sat Oct 19 11:39:03 1991  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m-intel386.h (signal): Optionally don't define it.
	* s-isc2-2.h (DONT_DEFINE_SIGNAL): Define this.

Fri Oct 18 17:22:29 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* scroll.c (line_ins_del): Don't calculate costs off the end of mf
	and ov; use < in loop condition, not <=.

	* scroll.c (scroll_cost): Logic rearranged.

	* dispnew.c (change_screen_size): Change "SCREEN_IS_TERMCAP
	(screen) == output_termap" to "SCREEN_IS_TERMCAP (screen)"
	(window_change_signal): Use SCREEN_IS_TERMCAP predicate instead of
	testing output_method_directly.

Tue Oct 15 02:38:32 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* xterm.h (STANDARD_EVENT_SET): Include ButtonReleaseMask in
	STANDARD_EVENT_SET.
	* xterm.c (XTmouse_tracking_enable): Don't bother or'ing
	ButtonReleaseMask with the STANDARD_EVENT_SET.

	* dispnew.c (buffer_posn_from_coords): If the coordinates are off
	past the end of a line, return them as being *before* the newline,
	not after.

	* keyboard.c (kbd_buffer_get_event): Set input_pending after
	reading the event, no matter what sort of event it is - i.e., move
	the assignment to input_pending outside of the event lispifying
	conditional.

	* keyboard.c (note_mouse_position): Don't record a "new" mouse
	position unless it really differs from the last one returned.

	* keyboard.c (kbd_buffer_read_char): Renamed to
	kbd_buffer_get_event, for consistency with kbd_buffer_store_event.

	* window.c (Fwindow_at): modified to take the coordinates as a
	pair, not a two-element list, for ease of use and compatibility
	with events.  Make SCREEN argument second and optional.
	(Fcoordinates_in_window_p): Modified to take and return the
	coordinates as above, and to distinguish the right border as well
	as the mode line.
	(window_from_coordinates): Modified to distinguish the right
	border as well as the mode line.
	* lisp.h (Qmode_line, Qvertical_split): Declare this extern, from
	keyboard.c.
	* keyboard.c (make_lispy_event): Distinguish a window's right
	border from its text area.

	* window.c (coordinates_in_window): Make it static.

	* window.c (Flocate_window_from_coordinates): Renamed to
        Fwindow_at.
	(syms_of_window): Adjusted.
	* lisp.h: Adjusted to say so.

	* screen.c (Fcoordinates_in_window_p, window_from_coordinates,
	Flocate_window_from_coordinates): Functions moved to window.c.
	(syms_of_screen): Adjusted.
	* window.c (Fcoordinates_in_window_p, window_from_coordinates,
	Flocate_window_from_coordinates): Here they are.
	(syms_of_window): Adjusted.
	* lisp.h: Adjusted to say so.

Mon Oct 14 23:36:41 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* xterm.c (XTclear_end_of_line): This used to try to get the
	cursor out of the way by comparing the line being cleared with
	s->cursor_y, which is meaningless; it should have compared it with
	s->phys_cursor_y.  Changed to just mark the cursor as cleared if
	it's in the area we're clearing.

Sun Oct 13 05:20:50 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* m-intel386.h: Fix typo in #endif.

Sat Oct 12 00:47:36 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* callint.c (Fcall_interactively): Added new interactive spec 'K',
	for mouse clicks.  Added explanation to doc string.  Removed 'e'
	spec, which didn't work with the new input model anyway.
	* keyboard.c (Fmouse_click_p): New function.
	(syms_of_keyboard): defsubr it.

	* keyboard.c (EVENT_QUEUES_EMPTY): Clarified comment.
	(tracking_off): Change "if (!readable_events)" to
	"if (!readable_events ())".
	(Ftrack_mouse): Doc fix.
	(kbd_buffer_read_char): Fix brainos in tossing of unwanted events.
	Don't use EVENT_QUEUES_EMPTY to set input_pending; call
	readable_events.

Fri Oct 11 22:17:56 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (Qmode_line): New quoted symbol.
	(syms_of_keyboard): Initialize and staticpro it.
	(make_lispy_event): Use it to indicate when a mouse position is in
	a window's mode line.

	* xterm.c (XTread_socket): Consider the window to be resized if
	either the character or pixel dimensions have changed; this will
	catch font size changes.

Tue Oct  8 10:37:41 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* process.c (wait_reading_process_input): Removed all the
	exceptional condition stuff.  Emacs lacks any way to respond to
	such a state, and selecting for it without responding to it can make
	Emacs loop indefinitely.

	* xterm.c (XTread_socket, construct_mouse_click): Make sure that
	all enqueued events have their timestamp field set.
	* termhooks.h (struct input_event): Doc fix.
	* keyboard.c (last_event_timestamp): New variable.
	(get_mouse_position, kbd_buffer_store_event,
	kbd_buffer_read_char): Make sure to fill in Vlast_event_screen and
	last_event_timestamp.
	* xselect.c (mouse_timestamp): Don't use this anymore.
	(last_event_timestamp): Use this instead.
	(Fx_own_selection, Fx_own_clipboard, Fx_get_selection,
	Fx_get_clipboard): Use last_event_timestamp instead of
	mouse_timestamp.

	* xdisp.c (redisplay): Don't pass extra arguments to
	update_screen.

	* keyboard.c (echo_truncate): Don't call echo here; this results
	in extraneous echoing of characters.
	(read_key_sequence): After calling echo_truncate, call echo_char
	to put the character we just read into the minibuffer, if
	appropriate.

	* keyboard.c (read_key_sequence): Removed unused argument
	no_redisplay.

Tue Oct  1 00:11:01 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* xfns.c (x_create_screen): Initialize phys_cursor_x to -1, to
	indicate that the screen has no displayed cursor.

	* xfns.c (x_create_screen): Let InternalBorderWidth default to 1.

	* xterm.c (x_display_bar_cursor): Declare this to be static void.

	* xterm.c (XTupdate_begin): Don't turn off the cursor.  This makes
	ugly flickering.  Instead, make it okay for XTins_del_lines to do
	so:
	* screen.h (struct screen): New field phys_cursor_glyph, keeping
	track of the glyph under the currently displayed cursor.  Since
	current_glyphs is sometimes inaccurate when we want to undraw the
	cursor (as when XTins_del_lines is called from do_scrolling), we
	can't always get the GLYPH from there.
	* xterm.c (x_draw_single_glyph): Take the glyph to draw as an
	argument, instead of taking it from the screen matrix.
	(x_display_box_cursor): Set and use s->phys_cursor_glyph.

	* ymakefile: Note that scroll.o and xmenu.o depend on screen.h.

Sun Sep 29 07:24:42 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (make_lispy_event): When building mouse movement
	event, use `m', not `event', dummy.

Thu Sep 26 02:28:16 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* screen.c (Fscreen_parameters): Return the proper value for the
	'minibuffer parameter for minibuffer-only screens.

	* xdisp.c (redisplay_window): When the start position is forced,
	constrain it to be within the visible region anyway.

	* xterm.c (XTwrite_glyphs): Instead of turning off the cursor
	before we write, just notice if we wrote over it.

	* xfns.c (x_decode_color): If a screen has two planes, then it is
	considered a color screen, and we should look up the color value.

	* ymakefile: Include xselect.o and xrdb.o in XOBJ even when
	HAVE_X_MENU is not defined.

	* fns.c (Fdelete): This used to be named Fdelq; Roland forgot to
	change the function name in his August 17 change.
	(syms_of_fns): defsubr Fdelete.

Tue Sep 24 03:20:07 1991  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* alloca.c: Do nothing if alloca is defined as a macro.

Sun Sep  8 23:21:25 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* m-pfa50.h: New file.

Fri Sep  6 02:53:44 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* unexec.c: Add conditionals for COFF_ENCAPSULATE.

Sat Aug 17 20:46:04 1991  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)

	* fns.c (Fdelete): New fn.  We have member now; we should have
	delete too.

Fri Aug 16 00:04:49 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* xfns.c (x_get_arg): Clean bad characters out of the screen name
	before using it as a resource key.

	* abbrev.c (Fexpand_abbrev): Don't let capitalization go past point.

	* sysdep.c (sys_suspend): Don't use & before array name.

	* sysdep.c [BROKEN_FIONREAD]: Undefine FASYNC.

	* m-tandem-s2.h (START_FILES, LIB_STANDARD): Added.

	* s/s-aix3-1.h: Define HAVE_TCATTR.

	* xfns.c (Fx_grab_cursor, Fx_ungrab_cursor): Functions removed.

Thu Aug 15 23:57:15 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* bytecode.c (Qbyte_code_meter): New.
	(Bend_of_line, Bset_marker, Bmatch_beginning, Bmatch_end, Bupcase,
	Bdowncase, BRgoto, BRgotoifnil, BRgotoifnonnil,
	BRgotoifnilelsepop, BRgotoifnonnilelsepop, BlistN, BconcatN): New
	byte codes.
	(Fbyte_code): Implemented new codes listed above.  Added code to
	count how many times a function is called.
	(syms_of_bytecode): Initialize and staticpro Qbyte_code_meter.
 
	* xfns.c (x_window): When setting the class hints, use the
	screen's name as the res_name.

	* xfns.c (x_make_screen_name): New function.
	(Fx_create_screen): Use x_get_arg to find screen name; if none has
	been specified, use x_make_screen_name; don't set the name again
	at the bottom.
	(x_get_arg): If SCREEN_NAME is nil, don't pass any class to
	Fx_get_resource.

	* xfns.c (x_get_arg, x_default_parameter): Take an extra argument
	TYPE, instead of encoding the type in the first letter of the
	property name.

Thu Aug 15 14:29:30 1991  Roland McGrath  (roland@@albert.gnu.ai.mit.edu)

	* buffer.c (Fkill_all_local_variables): Don't pass
	Fmake_local_variable too many args.  Use Fset instead.

Wed Aug 14 23:09:05 1991  Jim Blandy  (jimb@@pogo.gnu.ai.mit.edu)

	* xfns.c (emacs_class): Variable removed.
	(EMACS_CLASS): New macro, specifying Emacs class for xrdb use.
	Use a class of "Emacs", to be compatible with previous versions.
	(Fx_get_resource, x_window, Fx_open_connection): Use macro here.

	* buffer.c (Fgenerate_new_buffer): Function moved to
	lisp/files.el.
	(Fgenerate_new_buffer_name): New function which does only the
	name-choosing work Fgenerate_new_buffer used to do.
	(Frename_buffer): Added second optional argument DISTINGUISH,
	which lets rename_buffer use generate-new-buffer-name if non-nil.
	Return the name the buffer was given.
	Do nothing if new name is already buffer's name.

	* xfns.c (Fx_get_resource): Take third argument CLASS, and require
	it to be specified whenever NAME is.
	All callers changed.
	[not HAVE_X11] (Fx_get_default): Only take the one arg.
	[not HAVE_X11] (Fx_get_resource): Toss the second two args.

Tue Aug 13 03:07:03 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* xfns.c (Fx_close_current_connection): Add \n to error message.

	* keyboard.c (make_lispy_event): Added HP keys into the
	function_key_names array.
	* xterm.c (XTread_socket): For KeyPressed events, strip the
	keysym's vendor-specific bit, and take a shot at fitting it into
	the Emacs key numbering.

	* screen.c (Vdefault_screen_alist): Definition moved from
	screen.el to here.
	(syms_of_screen): DEFVAR_LISP and initialize it here.
	* screen.h: Declare it here.
	* xfns.c (x_get_arg): Use it here.

	* screen.c (make_screen): When choosing a buffer for the screen's
	root window, shy away from buffers whose names start with a space.

Sun Aug 11 00:32:22 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* process.c (exec_sentinel, exec_sentinel_unwind): Move these
	above status_notify.

	* eval.c (Qinhibit_quit): New variable, to support Aug 5 changes
	to process.c.
	(syms_of_eval): Initialize and staticpro above.
	* lisp.h: added extern declaration for above.

Sat Aug 10 23:23:51 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* regex.c (re_search_2): When searching with the fastmap, test for
	a translate table outside of the loop, not inside the loop.

Sat Aug 10 16:14:07 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* fns.c (Fequal): Don't crash on circular structure.
	(internal_equal): New subroutine does the recursion.

	* print.c (print): Recognize circular car pointers.

Sat Aug 10 01:48:38 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* process.c (wait_reading_process_input): Ignore exceptional
	conditions on the keyboard input.

Tue Aug  6 21:56:30 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* lisp.h: Fiddled with formatting.

	* process.c (exec_sentinel_unwind): New function.
	(exec_sentinel): Restore the process's sentinel, using an
	unwind_protect.

Mon Aug  5 23:55:24 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* keyboard.c: Doc fix.

Mon Aug  5 19:57:33 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* dired.h: Don't include search.h; it doesn't exist.

	* process.c (read_process_output, exec_sentinel): Bind
	Qinhibit_quit to true and call the filter directly instead of
	through a condition-case.
	(run_filter): Removed.
	(this_filter, filter_process, filter_string): Variables now
	unnecessary.

    	* xfns.c (Fx_get_resource): Take the screen name as an optional
	argument and look up resources using the name of the screen as
	part of the key.
	[not HAVE_X11] (Fx_get_default): Take optional 2nd arg NAME and
	ignore it.
	(x_get_arg): Take the screen name as an arg, and call
	Fx_get_resource with that argument.
	(x_default_parameter, x_figure_window_size, x_icon): Pass the
	screen's name to x_get_arg.
	(Fx_create_screen): Make sure the screen name is either nil or a
	string, and pass it to x_get_arg.

	* xfns.c (Vx_screen_defaults): Variable removed; such settings
	belong in the .Xdefaults file.
	(syms_of_xfns): Don't defvar it here.
	(Fx_create_screen): Don't use it here.

	* keyboard.c (classify_object): #if 0'd function finally removed.
	* xterm.c (Qmapped_screen, Qunmapped_screen, Qexited_scrollbar,
	Qexited_window, Qredraw_screen): Unused, so removed.
	(syms_of_xterm): Don't bother to initialize above.
	
	* xterm.c (init_input_symbols): Renamed to syms_of_xterm, for
	consistency.
	(x_term_init): Don't call it here.
	* xfns.c (syms_of_xfns): Don't call syms_of_xselect here.
	* emacs.c (main): Call them here.

	* xterm.c (invocation_name): Made this a Lisp_Object, so that its
	string value could be relocated properly.
	(x_term_init, x_text_icon): Adjusted code appropriately.
	(syms_of_xterm): staticpro invocation_name.
	* xfns.c (invocation_name): Changed extern declaration, deleted
	extra declaration.
	(Fx_get_resource): Adjusted code appropriately.

Sun Aug  4 17:38:25 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* lread.c (read1): Accept #[...] for bytecode object.
	* print.c (print): Print them that way.

Thu Aug  1 21:02:01 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* fileio.c (Fexpand_file_name): Avoid doing strlen (0).

	* editfns.c, filelock.c [VMS]: Use pwd.h from Emacs, not from system.
	* fileio.c [VMS]: Likewise.  Also include stddef.h, string.h.
	Include perror.h only once.
	[VMS] (file_name_as_directory, directory_file_name): Remove
	assignments from if conditions.
	(Fexpand_file_name): Remove excess slash from end of user's home dir.

Thu Aug  1 12:31:38 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* emacs.c (main): Add SIGIO conditional within AIX conditional.

	* xdisp.c (try_window_id): Compute proper position for screen bottom
	when all changes are below the screen.
	When first computing bp, don't go more than HEIGHT + 1 lines.

Wed Jul 31 13:14:45 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* xterm.c (x_destroy_window): If we're destroying the currently
	highlighted screen, clear x_highlight_screen.

	* xdisp.c (display_text_line, display_string):
	Don't go past endp for multi-column chars.

Sun Jul 28 08:09:19 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* lread.c (init_lread): If Vload_path was set specially before
	dumping, preserve it by default.

	* process.c (process_send_signal): Notice and deal if the
	TIOCGPGRP ioctl says that the subprocess has no pgrp.

	* xdisp.c (try_window_id): Always update window_end_* if successful.

	* process.h (subtty): New slot.
	* process.c (create_process): Set it.
	(process_send_signal): Use it.

	* alloc.c (Fmake_rope): Doc fix.
	* screen.c (Fselect_screen): Doc fix.
	* vms-pp.c: Fix comment.

	* keymap.c (Fkeymapp, Fdefine_prefix_command): Doc fixes.

	* window.c (window_select_count): No longer static.
	(init_window_once): Increment window_select_count, to give each
	window a unique use_time.
	* window.h (window_select_count): extern this here.
	* screen.c (make_screen): Stamp a new screen's selected window
	with the proper selection time.

	* ymakefile: xselect.o depends on screen.h, xterm.h, and config.h.
	xrdb.o depends on config.h.
	xterm.o depends on gnu.h.
	* xfns.h: File removed - it only declared Vx_send_movement_events.
	All includers changed.

Sat Jul 27 13:43:29 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* keymap.c (Fcopy_keymap): Don't recursively copy maps inside symbols.

Sat Jul 27 04:24:31 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* xdisp.c (redisplay): If echo_area_display puts text in a
	surrogate minibuffer screen, don't neglect to update it.

	* keyboard.c (kbd_buffer_store_event): Make sure
	Vlast_event_screen is set properly for quit characters.

Fri Jul 26 17:30:09 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (command_loop_1): pass both arguments to
	Fselect_screen.

	* screen.c (make_screen): Divide the size by sizeof (Lisp_Object)
	before passing it to Fmake_vector.
    
	* screen.h [not MULTI_SCREEN] (SCREEN_SCROLL_BOTTOM_VPOS): fixed
	definition.

	* screen.c: #include termhooks.h and therefore stdio.h.
	(make_screen): Initialize focus_screen member.
	(Fdelete_screen): Refuse to delete SCREEN if it is a
	surrogate minibuffer for some other screen, not just if it's the
	global minibuffer screen.
	(Fredirect_screen_focus, Fscreen_focus): New function.
	(syms_of_screen): defsubr Sredirect_screen_focus.
	* window.c: Don't include termhooks.h or stdio.h.
	(Fselect_window): Removed grunge to support minibuffer hack.
	* screen.h (struct screen): Added focus_screen member, and
	accessor for it.
	* alloc.c (mark_object): mark focus_screen member of Lisp_Screens.
	* xterm.c (XTscreen_rehighlight): Use the focus_screen member to
	decide which screen to highlight.
	(XTread_socket): Use focus_screen when enqueuing keystrokes.
	* minibuf.c (read_minibuf, read_minibuf_unwind): Shift the
	selected screen's focus around appropriately.
	* termhooks.h (screen_rehighlight_hook): Doc fix.

	* lisp.h (CHECK_IMPURE): Moved definition...
	* puresize.h (CHECK_IMPURE): To here.

Thu Jul 25 08:06:22 1991  Jim Blandy  (jimb@@pogo.gnu.ai.mit.edu)

	* dispnew.c (buffer_posn_from_coords): Bufp is broken; don't use it.

	* xterm.c (XTscreen_rehighlight): Neatened sloppy logic.
	
	* keyboard.c (read_key_sequence): When truncating a key sequence,
	don't forget to put the new keystroke back in this_command_keys.
	Do this before calling echo_truncate, and don't call echo_char.

Wed Jul 24 00:17:54 1991  Jim Blandy  (jimb@@pogo.gnu.ai.mit.edu)

	* xterm.c (x_term_init): Initialize x_focus_screen and
	x_highlight_screen.

	* xterm.c (XTscreen_rehighlight): Handle things correctly when
	x_focus_screen is 0.
	(XTread_socket): Process EnterNotify and LeaveNotify events with
	.focus == 0 properly.  For FocusOut events, pass the right
	arguments to x_new_focus_screen.

	* fileio.c (Finsert_file_contents): Use RETURN_UNGCPRO macro.

	* buffer.c (Fbuffer_name): Fix typo in doc string.
	(syms_of_buffer): Fix typo in before_change_function name.

Tue Jul 23 10:41:43 1991  Jim Blandy  (jimb@@pogo.gnu.ai.mit.edu)

	* screen.h (CHECK_SCREEN): Define a dummy version of this when
	MULTI_SCREEN is not defined.

	* sysdep.c (init_signals, sys_signal, sys_sigpause): New functions.
	(sys_sigblock, sys_sigunblock, sys_sigsetmask): New functions.

	* sysdep.c (_sobuf): Unsigned chars if DGUX.

	* sysdep.c [DGUX]: Include file.h.
	[DGUX] (sys_siglist): New variable.

	* x11term.c (x_init_1) [SYSV_STREAMS]: Don't close the old
	descriptor.

	* keyboard.c (read_key_sequence): Treat function keys like ascii
	characters.

	* lread.c (init_lread, syms_of_lread): New names for init_read and
	syms_of_read, for consistency.

	* emacssignal.h: New file.
	* data.c, keyboard.c, process.c, sysdep.c: Include it.
	* data.c (arith_error): Use SIGEMPTYMASK.
	* keyboard.c (sigfree, sigunblockx): Use SIGEMPTYMASK.
	(sigholdx, sigblockx): Use sigmask.
	(gobble_input): Use sigblockx instead of sigholdx, so that any
	other blocked signals stay blocked during and after the call to
	read_avail_input.
	* process.c (create_process): Use sigmask.
	[FASYNC] (request_sigio): Use sigunblock.
	* xterm.c (sigmask): Removed #definition here.
	* ymakefile (keyboard.o, process.o, sysdep.o, data.o): Make these
	depend on emacssignal.h.

	* window.c (Fselect_window): Modify surrogate minibuffer hack to
	make the minibuffer the selected window of the selected screen,
	AND select the minibuffer window's screen.
	* minibuf.c (read_minibuf): If the minibuffer window is on a
	different screen, save that screen's configuration too.

	* window.c (Fset_window_configuration): Use SCREEN_ accessor to
	get at a screen's root window.  Removed unused variable
	screen_to_select.
	(Fcurrent_window_configuration): Take an optional argument SCREEN.
	All callers changed.

	* window.c (auto_new_screen, Vauto_new_screen_function): Renamed
	to pop_up_screens and pop_up_screen_function, to be parallel with
	pop_up_windows.
	(display_buffer, syms_of_window): Changed appropriately.

	* fns.c (Fload_average) [DGUX]: Add code to support DGUX.

	* s-dgux.h, m-aviion.h: New files.

	* emacs.c (main) [POSIX_SIGNALS]: Call init_signals.

	* screen.c (Fdelete_screen): Update last_nonminibuf_screen if
	the screen it's currently pointing to gets deleted.

Mon Jul 22 21:05:18 1991  Jim Blandy  (jimb@@pogo.gnu.ai.mit.edu)

	* screen.c (last_nonminibuf_screen): New variable.
	(Fselect_screen): Set last_nonminibuf_screen if appropriate.

Sun Jul 21 07:37:09 1991  Jim Blandy  (jimb@@pogo.gnu.ai.mit.edu)

	* screen.h (last_nonminibuf_screen): Added declarations for new
	variable. 
	* minibuf.c (active_screen): Variable removed.
	(read_minibuf): Removed code to set and clear active_screen.
	* window.c (Fdisplay_buffer): Rewritten to use
	last_nonminibuf_screen.

	* screen.c (next_screen): Use SCREEN_ accessors instead of ->. 

	* window.c (Fdisplay_buffer): Removed reference to
	Fx_create_screen; we should rely on the auto-new-screen-function
	being set to something appropriate.

Sun Jul 21 00:58:10 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)

	* keyboard.c (read_key_sequence): Restore the state of
	this_command_key_count along with the echoing state.

Sat Jul 20 18:42:59 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)

	* xfns.c (Fx_synchronize): New function.
	(syms_of_xfns): defsubr it.

	* xdisp.c (redisplay): Don't turn on all_windows whenever we're
	using a separate minibuffer screen.  Even if there is some tweak
	necessary, this wasn't it.

	* process.c (status_notify): Do not forget to UNGCPRO.

	* screen.c (next_screen): Re-work logic to skip minibuffer-only
	screens so that it doesn't loop indefinitely, even when the only
	screen is a minibuffer-only screen.  Skip all screens that are
	only minibuffers, not just when they are the global minibuffer
	screen.

	* xdisp.c (message, message1): If the screen's message buffer
	is 0, toss the message; don't check the window system against
	the screen output_method.

Fri Jul 19 07:42:41 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (read_key_sequence): When we truncate the echo
	buffer because the user has switched screens, re-echo the
	character that caused the truncation.

	* lread.c (Fload): Change "source newer than ..." message not to
	refer to "libraries."  What is a "library," anyway?

	* window.c: #include "termhooks.h", and therefore <stdio.h> too.
	[MULTI_SCREEN] (Fselect_window): If the window being selected is
	the selected screen's minibuffer, but it lives on another screen,
	don't select that other screen - call the screen_rehighlight_hook
	instead.
	* termhooks.h (screen_rehighlight_hook): New hook, so that Emacs
	can shift the screen highlighting when needed.
	* term.c (screen_rehighlight_hook): Define it.
	* xterm.c (x_highlight_screen): New variable.
	(x_new_focus_screen): Move the rehighlighting code to...
	(XTscreen_rehighlight): New function.
	(x_display_bar_cursor, x_display_box_cursor): Use
	x_highlighted_screen instead of x_focus_screen.
	(x_term_init): Initialize screen_rehighlight_hook.
	* ymakefile: Make window.o depend on termhooks.h.

	* xfns.c (Fx_create_screen): Add mention of
	global-minibuffer-screen to docstring.
	* screen.c (make_screen_without_minibuffer): Improve error message
	displayed when Vglobal_minibuffer_screen is not a proper screen.

Thu Jul 18 01:56:23 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* config.h (PURESIZE): Definition moved to...
	* puresize.h: New file.
	(PURESIZE): Define this here.  This will allow people to change
	their pure storage allocation without having to recompile most of
	Emacs.
	* data.c: #include puresize.h, since CHECK_IMPURE needs PURESIZE.
	* alloc.c: #include puresize.h.
	[HAVE_SHM] (pure_size): New variable, so that XPNTR doesn't depend
	on PURESIZE.
	[HAVE_SHM] (init_alloc_once): Initialize pure_size here.
	* lisp.h [HAVE_SHM] (XPNTR): Defined in terms of pure_size,
	instead of PURESIZE.
	(pure_size): extern declaration added here.	
	* ymakefile: Added puresize.h to dependencies for alloc.c and
	data.c's .o files.

	* emacs.c (main): Doc fix for kludge to scan for -d.

Wed Jul 17 01:21:20 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* termhooks.h (struct input_event): #if 0'd out the definition for
	the screen_selected event type, and added the stipulation that the
	{non_,}ascii_keystroke events specify the screen they happen in.
	* xterm.c (x_new_focus_screen): Don't enqueue a screen_selected
	event.
	(XTread_socket): Calls to x_new_focus_screen in the EnterNotify,
	FocusIn, LeaveNotify, and FocusOut event code don't worry about
	enqueued events any more.
	* keyboard.c (new_selected_screen): Removed - see below.
	(Vlast_event_screen): New variable, visible to lisp code.
	(echo_length, echo_truncate): New functions.
	(readable_events): Removed screen_selected events from the set of
	things to skip.
	(kbd_buffer_store_event): Don't bother collapsing consecutive
	screen_selected events.
	(kbd_buffer_read_char): Don't process screen_selected events.
	(make_lispy_event): Re-arrange scrollbar events to put the window
	whose scrollbar was diddled right after the identifying symbol,
	for consistency.
	(read_key_sequence): Let the selected screen and the location of
	the event affect the keymap used to find its binding.
	(Fread_key_sequence): Update docstring.
	(syms_of_keyboard): Added DEFVAR_LISP for Vlast_event_screen.

Mon Jul 15 21:17:11 1991  Jim Blandy  (jimb@@pogo.gnu.ai.mit.edu)

	* screen.c (next_screen): If !mini_screen, only exclude the global
	minibuffer screen when the minibuffer is its only window.
	(Fnext_screen): Make the docstring clearer about what MINISCREEN
	means.

	* window.c (Fother_window): Indicate that it takes both a required
	and optional argument, instead of just one required.

Mon Jul 15 17:10:19 1991  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* buffer.c (Fkill_buffer): Rehacked kill-buffer-hooks to use
	standard name kill-buffer-hook, and to use set_buffer_internal
	instead of Fset_buffer.  Use static variable containing symbol
	instead of intern.
	(syms_of_buffer, init_buffer_once): Qkill_buffer_hook =
	'kill-buffer-hook.

Mon Jul 15 05:35:12 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keymap.c (Fsingle_key_description): When describing a listy
	object, take the car to find the symbol that heads it, not the cdr.

	* dispnew.c (buffer_posn_from_coords): Pass col and line to
	compute_motion in the correct order.

	* keyboard.c (make_lispy_event): When calculating rows and columns
	for mouse clicks and movement events, don't forget to subtract the
	position of the window's top left corner before passing them to
	buffer_posn_from_coords.

	* screen.c (coordinates_in_window): Removed useless test for *y ==
	screen_height, and screen_height variable; this would be out of
	range of all the windows anyway.

	* xdisp.c (message1): Removed code to ignore messages before X has
	started up; this issue has hopefully been addressed by the
	condition-case in startup.el.

	* editfns.c (init_editfns): Make user_name char * instead of
	unsigned char *, since that's what most of the usages seem to
	want.  And when expanding ampersands in AMPERSAND_FULL_NAME mode,
	don't try to use user_name as a string; use Vuser_name.

	* minibuf.c (assoc_for_completion): New function.
	(do_completion): Use that to check for exact match.

	* minibuf.c (Ftry_completion):  Fix handling of matches aside from
	case.  If ignoring case, and all else equal, try to preserve the
	case of the characters in the input.

	* process.c (status_notify): GCPRO tail.

	* sysdep.c (creat_copy_attrs, rename_sans_version):  Always set
	protection to O:REWD when creating file.  Added new function
	rename_sans_version, which strips the version number from the target
	filename, renames the temporary file to this filename,  and then
	sets the file protection of this new file to be the same as the file
	being edited.

	* sysdep.c [VMS]: Include pwd.h from Emacs.  Use sys/file.h if GCC.
	(F_SETFL) [VMS]: Undefine this, to control conditionals.
	(getpwnam): Make `full' unsigned.
	(creat_copy_attrs): Add some casts.
	(sys_access): Change prvmask and CHECKPRIV to use bitfields.
	Add some casts, and make dummy an unsigned short int.
	Don't use & on constants.
	(vmserrstr): Add a cast.
	(sys_creat): Define va_count before this function.

Sun Jul 14 18:13:36 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* sysdep.c (sys_sleep, input_wait_timeout): Don't use & on constant.
	[VMS]: Include pwd.h from Emacs.  Use sys/file.h if GCC.
	(bzero, bcopy) [VMS]: Don't take address of `length'.

	* sysdep.c (sys_suspend): Cast value of `signal' to insulate from
	changed value type in sysV.3.

	* sysdep.c (child_setup_tty): Turn off erase & kill chars for BSD.

	* sysdep.c (discard_tty_input): Use TIOCFLUSH on Apollo.
	(init_sys_modes): Avoid TIOCSTART on Apollo.

	* sysdep.c: If HAVE_TERMIOS is not defined, define tcgetattr in
	terms of the TIOCGETP ioctl.
	(init_sys_modes): Handle VSUSP, V_DSUSP if HAVE_TCATTR.
	(discard_tty_input, init_baud_rate, child_setup_tty,
	init_sys_modes, tabs_safe_p, reset_sys_modes):
	Use tcgetattr, and if HAVE_TCATTR, use tcsetattr.

Sat Jul 13 01:02:53 1991  Jim Blandy  (jimb at churchy.gnu.ai.mit.edu)

	* s-hpux8.h: New file.
	* fileio.c [HPUX8]: Don't include errnet.h.

	* unexhp9k800.c (unexec): Local variable i to avoid compiler bug?

	* sysdep.c (insque) [WRONG_NAME_INSQUE]: New function.
	* s-386ix.h (WRONG_NAME_INSQUE): Define it.

	* xdisp.c (message_buf_print): New variable.
	(message): Clear it here.
	* dispextern.h: Declare it here.
	* print.c (printchar, strout): Set it and test it here.

	* keyboard.c (command_loop_1): Don't clear last_command when start
	macro.

	* keyboard.c (read_command_char): Exit at eof if noninteractive.

	* indent.c (invalidate_current_column): New function.
	* editfns.c (Fwiden, Fnarrow_to_region): Call it.

	* process.c (create_process): Use O_NOCTTY whenever defined,
	unless USG.

	* process.c (Fprocess_send_eof): If using a pipe, close it.
	(close_process_descs): Check IN and OUT for nonzeroness. 

	* process.c (process_send_signal): Use interrupt chars
	to send certain signals to the process group.
	(TIOCGETC): Undefine this if it is not really usable.

	* sysdep.c (discard_tty_input): Do nothing if read_socket_hook.

	* xfns.c (x_set_mouse_color): Change the default pointer shapes to
	be closer to xterm and emacs 18.

	* xterm.c (x_focus_on_screen, x_unfocus_screen): These no longer
	call XSetInputFocus, because I think that the X-windows ICCCM
	says that only the window manager can do this sort of thing.

	* keyboard.c (read_char): When there is an unread command
	character, goto reread_first when this_command_key_count is zero,
	not when it is >= 0.
	(command_loop_1): Reset this_command_key_count only if there is no
	prefix argument.  This makes echoing of keystrokes work correctly.

Thu Jul 11 23:55:01 1991  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* eval.c (Finteractive_p): Changed "! XTYPE (foo) == Lisp_Bar" to
	"XTYPE (foo) != bar".

Thu Jul 11 17:03:10 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* eval.c (apply1): Don't forget to UNGCPRO before returning.

	* xterm.c (XTupdate_begin): Undisplay the cursor here; do_scrolling
	will call XTins_del_lines when the screen matrix is inaccurate, so
	we cannot undisplay the cursor then, but do_scrolling is always
	called within an update.

Wed Jul 10 19:58:18 1991  David J. MacKenzie  (djm at nutrimat)

	* termcap.c, tparam.c [!emacs, USG || STDC_HEADERS]: Define bcopy
	in terms of memcpy.

Tue Jul  9 18:36:25 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* scroll.c (do_scrolling): Use correct termination condition for
	loop that uses the glyph pointers for the deleted lines to fill in
	the inserted lines.

Mon Jul  8 21:28:23 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* editfns.c: Doc fix.

Wed Jul  3 05:47:56 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* dispnew.c (line_hash_code): Test m->highlight[vpos], not
	m->highlight.  All lines were getting hash codes of -1, because
	the highlight vector was never NULL.  Golly.

	* process.c (list_processes_1): Handle status of network streams.

Tue Jul  2 22:10:26 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* doc.c (Fdocumentation_property):
	Pass only strings to Fsubstitute_command_keys.

Tue Jul  2 17:01:02 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* editfns.c (init_editfns): If neither of the environment
	variables are set, DON'T set Vuser_name to Vuser_real_name; it's
	supposed to reflect the EFFECTIVE uid.
	Get the full name according to Vuser_name if it differs from
	Vuser_real_name, not if they are equal.
	And pass Vuser_name to getpwnam in that case instead of user_name,
	which might be 0.

	* lisp.h (RETURN_UNGCPRO): New macro.
    
	* bytecode.c (Fbyte_code): Do not remove GC protection from the
	stack when making a function call, because the caller is
	responsible for protecting the arguments to a MANY-arg'ed
	function.
	* eval.c (Fapply): If we use funcall_args, GCPRO it.
	And when we call Ffuncall with funcall_args, tell it the correct
	length of funcall_args, no matter which branch allocated it.
	(Ffuncall): Don't gcpro the arguments before calling
	Fgarbage_collect.
	(Feval): If we're calling a subr that takes MANY args, don't
	UNGCPRO until after we call the subr.
	(apply1, call0, call1, call2, call3): GCPRO the arg arrays passed
	to Ffuncall and Fapply.
	* callproc.c (Fcall_process, Fcall_process_region): Don't GCPRO
	the argument array.
	* editfns.c (Finsert, Finsert_before_markers): Don't GCPRO the
	argument array.  Added comment about when GCPROing is not needed.
	* mocklisp.c (Finsert_string): Don't GCPRO the argument array.

	* keyboard.c (init_keyboard): Handle SIGQUIT with interrupt_signal
	on any system that has HAVE_TERMIO, not just on USG systems.

Mon Jul  1 12:20:34 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* editfns.c (init_editfns): Test that user_name isn't 0.

Sat Jun 29 12:25:43 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* search.c: Doc fixes.

Fri Jun 28 11:22:05 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* keyboard.c (make_lispy_event): Let the posns of mouse clicks and
	mouse movements be nil when window_from_coordinates returns a
	NON-window, not when it returns a window.  Since posn is a lisp
	object, don't call make_number when consing up the event.
	Don't call make_number on the code member of the event.

	* keyboard.c (struct movement): Make the x, y, and time members
	Lisp_Objects, since it's easier to convert from a Lisp_Object than
	to.
	(note_mouse_position): Adjusted for the above.
	(make_lispy_event): Removed code to make Lisp_Objects for those
	members.

	* xterm.c (XTread_socket): When handling LeaveNotify events,
	remember that the focus member of the event is true when the
	receiving window now has the focus, not when it is losing it.
	* xfns.c (Ffocus_screen): Don't signal an error if SCREEN is
	already the focus screen.

Wed Jun 26 10:35:34 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* alloc.c (Fmake_rope): Use sizeof (GLYPH) instead of 2 to
	determine how large the string should be, and changed doc string
	to describe ropes as strings of glyphs, not just as strings of
	character pairs.
	(Frope_elt): Use sizeof (GLYPH) as the element size, instead of
	assuming that the elements are two bytes.
	* lisp.h (typedef GLYPH): Moved the definition from here...
	* config.h (typedef GLYPH): to here, so people can elect to get
	better performance if they don't want to use huge fonts.
	* xterm.c (dumpglyphs): Use XDrawImageString or
	XDrawImageString16, Depending on sizeof (GLYPH).
	
	* data.c (Fsetq_default): Call Fset_default to do the assignments,
	not plain Fset.

	The following changes were contributed by Jamie Zawinski
	<jwz@@lucid.com>:

	* bytecode.c (Fbyte_code): BYTE_CODE_SAFE and BYTE_CODE_METER
	options added.
	Added Bmark, Bscan_buffer, Bset_mark to support error-checking for
	these obsolete bytecodes.
	Added Bunbind_all to support tail-call optimization (not yet
	implemented).
	Did NOT add the relative branch opcodes that were in the version
	of bytecode.c that Jamie sent.
	The branching bytecodes now only QUIT if they take the branch.
	Btemp_output_buffer_show, Bforward_char, Bforward_word,
	Bskip_chars_forward, Bskip_chars_backward, and Bforward_line
	passed the wrong number of arguments to their subrs. 
	Brem, Bbuffer_substring, Bdelete_region, Bnarrow_to_region,
	Bstringeqlsign, Bstringlss, Bequal, Bnthcdr, Bmember, Bassq,
	Bsetcar, and Bsetcdr passed arguments to the subr in the wrong
	order.

Tue Jun 25 16:49:50 1991  Jim Blandy  (jimb at churchy.gnu.ai.mit.edu)

	* doc.c (Fdocumentation): Added a QUIT test to the loop that finds
	the symbol's function value.

Mon Jun 24 18:48:03 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* xterm.c (dumprectangle): Removed call to XFlushQueue here.

	* keyboard.c (command_loop_1): Call Fselect_screen to establish
	the new selected screen after the key sequence has been read, not
	at the top of the loop.  This way, a key sequence will happen in
	the screen it was typed at, or (to be more precise) the screen its
	last character was typed at.

	* keyboard.c (fast_read_one_key): Function deleted, since it had
	been #if 0'd out a long time ago.
	(command_loop_1): Support for fast_read_one_key removed.

	* eval.c (Ffuncall): Do GCPRO the arguments, contrary to the May
	16 change.  The convention appears to be that the MANY-arged
	callee must protect its own arguments.
	(Fapply): Don't protect funcall_args; they are the caller's
	responsibility.
	* bytecode.c (Fbyte_code): GCPRO the section of the stack *above*
	the args to Ffuncall, since it will be protected again once
	Ffuncall returns and therefore should stay valid.  If it is not
	protected, string relocation may make it invalid.
	* mocklisp.c (Finsert_string): GCPRO the arguments, since insert
	may cause a garbage collection.
	* editfns.c (Finsert, Finsert_before_markers): GCPRO the
	arguments, since insert may cause a garbage collection.
	* callproc.c (Fcall_process, Fcall_process_region): GCPRO the
	arguments, since insert may cause a garbage collection.

Thu Jun 20 06:24:19 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)

	* buffer.h (struct buffer_text, struct buffer): small change to
	comments.

	* search.c (Fmatch_beginning, Fmatch_end): Fixed doc strings to
	indicate that non-regexp searches set these too.

	* window.c (Fset_window_start): If window is not the selected
	window, set windows_or_buffers_changed, so that redisplay will
	know that it should redisplay the window.

	* callint.c (Finteractive): Changed doc string to indicate that
	the interactive prompts are passed through format.

Thu Jun 20 00:21:31 1991  Roland McGrath  (roland@@albert.gnu.ai.mit.edu)

	* buffer.c (syms_of_buffer): buffer-undo-list doc fix.

Tue Jun 11 18:18:27 1991  Roland McGrath  (roland@@albert.gnu.ai.mit.edu)

	* data.c (Fsetq_default): Take multiple SYM, VAL args; syntax now
	parallel to setq.

Sat May 25 00:38:22 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)

	* keyboard.c (kbd_buffer_read_char): Fix wait-for-input loop so
	that we always process/toss events we don't want to return.

        * screen.c (Fselect_screen): Call Ffocus_screen instead of
	x_new_selected_screen, which doesn't exist anymore.

	* xfns.c (Ffocus_screen): Declare the type of the SCREEN argument.

	* xfns.c (Fx_track_pointer): Function #if 0'd out - I don't think
	that this is a feature that we want.
	(syms_of_xfns): Elide the defsubr for the above.

	* xterm.c (x_mouse_screen, x_input_screen): Variable deleted,
	since all we really need is x_focus_screen; all other issues are
	the realm and responsibility of the window manager.
	(x_new_selected_screen): Renamed to x_new_focus_screen, and
	modified not to do thiogs inappropriate for signal handlers.
	(XTread_socket): Change the handling of EnterNotify, LeaveNotify,
	FocusOut and FocusIn events to use x_new_selected_screen, and
	ditched code that deals with x_mouse_screen and x_input_screen,
	since they don't exist anymore.
	(x_display_bar_cursor, x_display_box_cursor): Compare s with
	x_focus_screen to see what form the cursor should take.
	(x_destroy_window): Don't bother with x_input_screen.
	* xfns.c (x_mouse_screen): Removed extern declaration for this.
	(Fx_grab_pointer): Confine the pointer to x_focus_screen, not
	x_mouse_screen.  This is wrong, but will make emacs compile until
	this gets fixed.

Thu May 23 18:52:13 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (get_input_pending): Don't use trim_events; use
	readable_events instead.

	* keyboard.c (make_lispy_event): Remove case for window_sys_event,
	since that type of event doesn't exist anymore.

	* minibuf.c (Fcompleting_read): Document the backup-n argument.

	* dispnew.c (init_display): Don't declare alternate_display extern
	here.  I can't figure out what this feature is, and it's broken.
	* emacs.c (main): Don't test alternate_display and put its value
	in the environment.

Wed May 22 18:47:28 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (struct movement): Made .used an int instead of a
	char, since that's more likely to be stored atomically on SPARCS
	and similar machines. 

	* termhooks.h (struct input_event): Removed the window_sys_event,
	since it's not used anywhere.  Added screen_selected event type.
	The event handling code used to change the current buffer,
	selected window, and selected screen out from under running lisp
	code.  Now we wait for a more convenient time by enqueuing an
	event.
	* xterm.c (XTread_socket): When handling FocusIn events and
	EnterNotify events with the focus member set, enqueue a
	selected_screen event instead of calling x_new_selected_screen.
	* keyboard.c (trim_events): Function deleted; it is a bad idea to
	delete events based on the current tracking state, since tracking
	might be re-enabled later.
	(readable_events): New function which searches the input queue for
	readable events.
	(tracking_off): Call readable_events to see if we should
	redisplay.
	(kbd_buffer_read_char):	Toss events that we are not interested in.
	This is a better place to do it than trim_events, since we know
	that do_mouse_tracking will not change.  Also, handle
	screen_selected events.
	(new_selected_screen): New variable, holding the screen which
	should become selected the next time through command_loop_1.
	(syms_of_keyboard): Initialize and staticpro new_selected_screen.
	(command_loop_1): If there is a new screen to be selected, do so.

Tue May 21 20:30:04 1991  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* xdisp.c (message): Removed the if at the top that did not
	display messages if the current screen was a termcap screen and a
	window system will be used.  The change to startup.el on May 18,
	1991 replaces this.

	* ralloc.c (check_memory_limits): If the address returned by the
	allocator is not representable in a Lisp_Object, call memory_full
	instead of printing a very silly "warning" message.

Sun May 19 18:04:39 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)

	* xterm.c (XTread_socket): Don't overwrite the end of the buffer
	with function keys.

	* keyboard.c (tracking_off): Update input_pending after reading
	all the input.
	* process.c: #include "screen.h".
	(wait_reading_process_input): Check if any screens have been newly
	mapped and need updating.
	* xterm.c (XTread_socket): Don't SET_SCREEN_GARBAGED when the
	screen is unmapped; do this when is mapped.
	(dumprectangle): Don't dump any data for garbaged screens.

Sat May 18 14:18:52 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* sysdep.c (init_sys_modes): Moved the clauses that set up
	interrupt-driven input out of the "if running on a terminal"
	clause, since these may need to be set up even when running on a
	window system.

Fri May 17 15:05:33 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* process.c (Fprocess_status): For network connections, return
	Qopen and Qclosed instead of Qrun and Qexit, as documented.

	* lread.c (read1): Removed code that treated numbers starting with
	a zero as octal.

Thu May 16 09:58:09 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* eval.c (Ffuncall): Don't gcpro the arguments; the caller
	protects them.
	(Fapply): Gcpro funcall_args, if we use them.

	* xterm.c (notice_mouse_movement): #if 0'd this function out.
	(XTread_socket): #if 0 the code that fakes motion events for
	moving in and out of windows.  Also, rearrange the MotionNotify
	case to give character rows and columns to note_mouse_position,
	not pixel x and y positions.  Don't deal with scrollbars here.
	* termhooks.h (struct input_event): Removed the mouse_movement
	event kind.
	* keyboard.c (movement_buf): A new buffer for mouse-movement events.
	This is hairier than you might think; see the comments for this
	and the comments for note_mouse_position and get_mouse_position
	for an explanation of why this is hairy.
	(movement_ptr): Where the event handler should store new mouse
	locations.
	(EVENT_QUEUES_EMPTY): New macro, to be used in the places that
	used to compare kbd_fetch_ptr to kbd_store_ptr to see if there
	were any events available; this macro tests the mouse movement
	buffer too.
	(Qmouse_movement): New symbol to head mouse movement events with.
	(trim_events): Mouse movement events are no longer in kbd_buffer,
	so don't try to trim them.
	(tracking_off, kbd_buffer_read_char, get_input_pending): Use
	EVENT_QUEUES_EMPTY.
	(get_mouse_position): New function to retrieve a mouse position
	from the buffer properly, no matter when the event-handling signal
	occurs.
	(kbd_buffer_read_char): If there is something in kbd_buffer, make
	an event for that; if there is a mouse movement, make an event for
	that; otherwise, the while loop lied.
	(make_lispy_event): Added code to produce mouse movement events.
	(init_keyboard): Clear the mouse movement buffer.
	(Qmouse_moved, Qredraw_screen, Qmapped_screen, Qunmapped_screen,
	Qexited_window, Qexited_scrollbar): Removed extern declarations
	for these, since they're no longer generated.
	(syms_of_keyboard): Initialize and staticpro Qmouse_movement,
	remove DEFVAR_LISP for Vignore_mouse_events.

Tue May 14 12:45:20 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* lread.c (read1): Correctly parenthesize the shift when parsing
	octal numbers, and signal an error if we see a non-octal digit.

Mon May 13 11:28:07 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)

	* keyboard.c (trim_events): New function, to remove uninteresting
	events from the input queue.
	(get_input_pending): Call trim_events before checking the queue,
	so as not to advertise input we don't care about.
	(Ftrack_mouse): A new function to enable mouse tracking for a
	block of code.
	(tracking_off): A function for unwind_protection; restore the
	mouse tracking state to what it was outside of the track-mouse
	(syms_of_keyboard): defsubr track-mouse.
	(make_lispy_event): Find the window io which the click occurred
	when processing mouse_click events, instead of trusting the window
	tree in the signal-handling code.  Include the buffer position in
	the click event.

	* xterm.c (construct_mouse_click): Return the click's screen, not
	its window, and don't bother updating Vmouse_window.  Calculate
	the row and column of text-area clicks using
	pixel_to_glyph_translation, since we know that those data
	structures are alive in signal handlers.

	* screen.c (window_from_coordinates,
	Flocate_window_from_coordinates): Moved these to window.c, since I
	need to be able to call them even if we don't have multi-screen
	support.
	(syms_of_screen): Removed defsubr for
	Flocate_window_from_coordinates.
	* window.c (window_from_coordinates, Flocate_window_from_coordinates):
	Here they are.
	(syms_of_window): Here is the defsubr.

	* keyboard.c (note_mouse_position): New function to enqueue
	mouse movement events properly.
	(current_movement_event): New variable, to support the above.  See
	its comment for more explanation.

	* termhooks.h (struct input_event): Change the .window member to
	.screen, make it a struct screen *, and indicate that those events
	which used to return	windows now return screens.  It is unsafe
	for the event reader to traverse the window structure, because it
	can be called by a signal handler.

Fri May 10 12:29:21 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* keyboard.c (Vignore_mouse_events): Variable deleted.
	(make_lispy_event): For mouse and scrollbar clicks, return the
	position as a pair of numbers, not a list of two numbers.

Thu May  9 02:27:10 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)

	* keyboard.c (do_mouse_tracking): Define this variable, which
	controls whether kbd_buffer_read_char will ignore button up and
	mouse movement events.
        * termhooks.h: Declare do_mouse_tracking here.

        * xterm.h (STANDARD_EVENT_SET): New constant, giving the event
	mask all the windows use.

	* xfns.c (Vx_send_mouse_movement_events): Removed this variable;
	XTmouse_tracking_enable and do_mouse_tracking do its job better.
	(syms_of_xfns): Remove the DEFVAR_LISP for the above.
	(x_window): Don't ask for any pointer motion events or button
	release events by default; use the unmodified STANDARD_EVENT_MASK.
	The user will ask for them explicitly if he or she wants them.
	And don't ask for backing store.

	* xterm.c (XTmouse_tracking_enable): New function to
	request/unrequest detailed mouse tracking information of the
	server, and set the flag used by XTread_socket.
	(x_term_init): Set mouse_tracking_enable_hook to
	XTmouse_tracking_enable here.
	(XTread_socket): Handle mouse movement events by calling
	note_mouse_position.

	* xterm.c (XTread_socket): For MapNotify events, go ahead and set
	the screen's visible flag, so Expose events will work.  Clear the
	iconified flag.

	* editfns.c (Finsert_char): Return immediately if n <= 0, not just
	if n < 0, so that the `while' below does not become an infinite
	loop.

	* term.c (mouse_tracking_enable_hook): Added this variable to
	allow emacs to request that the window system start or stop
	detailed mouse tracking.
	* termhooks.h (mouse_tracking_enable_hook): Declare it here.

	* xfns.c: Declare the functions before initializing
	x_screen_parm_table to point to them.

	* xterm.c (XTread_socket): Don't send Qmapped_screen,
	Qunmapped_screen, Qexited_scrollbar, Qexited_window,
	Qredraw_screen - these are not features that we want to support.

Tue May  7 00:42:58 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* editfns.c (Finsert_char): Let strlen be the minimum of n and
	256, not the maximum, so we use an n-byte buffer when n < 256, and
	a 256-byte buffer many times when n > 256.

Sun May  5 21:58:01 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* keymap.c (Fkeymapp): Fixed docstring to give the right
	definition of a keymap.

Fri May  3 15:02:12 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* data.c (Fcompiled_function_p): New function.

Fri May  3 00:57:52 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* xfns.c (struct x_screen_parm_table): New type for recording
	information about screen parameters.
	(x_screen_parms): New table describing the existing parameters.
	(init_x_parm_symbols, x_set_screen_param): Use x_screen_parms
	instead of a large switch statement.
	(x_figure_window_size): Make the default case of the switch call
	abort instead of signalling an error, since window_prompting's
	value is internally generated.

Wed May  1 18:21:36 1991  Jim Blandy  (jimb at churchy.gnu.ai.mit.edu)

	* keymap.c (describe_map_tree): GCPRO the maps variable;
	Fkey_description calls Fmapconcat, which eventually calls
	Ffuncall, which can garbage-collect.

Sun Apr 28 01:04:15 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* dispnew.c (buffer_posn_from_coords): Use the information in bufp
	to reduce the distance compute_motion must scan, when possible.

Sat Apr 27 21:56:59 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (syms_of_keyboard): Qtop_level is initialized and
	staticpro'd in syms_of_data too.  Don't staticpro (or initialize)
	it again here.

	* macros.c (syms_of_macros): Since executing-macro and
	executing-kbd-macro are actually the same variable, use
	DEFVAR_LISP_NOPRO for the second one so it doesn't get staticpro'd
	twice.

	* process.c (syms_of_process): Don't staticpro or initialize Qexit
	here, since syms_of_eval already does this and it's bad to
	staticpro something twice.
	(Qexit): Remove declaration here, so there will be a compilation
	error if someone rearranges eval.c without fixing the Qexit stuff.
	* eval.c (syms_of_eval): Add comment here to say that
	syms_of_process cares about Qexit too.

	* lread.c (init_obarray): Don't staticpro Vobarray, since the
	DEFVAR_LISP in syms_of_read takes care of that.

Mon Apr 22 00:34:21 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* window.c (save_window_save): Always get the selected window's
	value of point from its buffer, not just when it's also the
	current buffer.

	* lisp.h (Qdisabled): Declare this here so that the keys_of_*
	files can disable the commands they define.
	* casefiddle.c (keys_of_casefiddle): Make upcase-region and
	downcase-region disabled, by default.

Tue Apr 16 09:39:52 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* bytecode.c (PUSH):  Alliant can't be bothered to implement the
	preincrement operator right, so use a comma.

 	* print.c (syms_of_print): staticpro Qexternal_debugging_output.

	* editfns.c (clip_to_bounds): No longer static - used in window.c.
	* window.c (unshow_buffer): Use clip_to_bounds to make sure we
	change point to something legal.

Sun Apr 14 22:43:51 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* sysdep.c: Changes in formatting and comments.

Fri Apr 12 11:45:34 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)

	* editfns.c (Fbuffer_substring): Don't call make_string, because
	it may cause a compaction and move the buffer, and then copy the
	wrong data.

	* keyboard.c (read_char): Only GC if we've actually done enough
	consing since the last gc to make it worthwhile.

Thu Apr 11 09:48:53 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)

	* keymap.c (access_keymap): Canonicalize the order of the
	modifiers when you look up a symbol in a keymap, too.
	(where-is-internal): If the keymap in which we found the
	definition was reached by meta-prefix-char, replace it with the
	metized character.

	* eval.c (Fcondition_case): Initialize the `handler_list' member
	of the catchtag.

	* keyboard.c (read_char): reset recent_keys_index when it is
	greater than OR EQUAL to the number of elements in recent_keys,
	stupid.

	* keymap.c (access_keymap): When fetching the car of listy events,
	no need to call Fcar_safe - extract the car directly.
	* keyboard.c (read_key_sequence): Don't extract the car from listy
	events here since 1) it strips information that we need from the
	events, and 2) access_keymap will take care of that for us.

	* macros.c (Qexecute_kbd_macro): New variable, used by
	Fexecute_command.
	(syms_of_macros): Initialize and staticpro Qexecute_kbd_macro.
	* lisp.h: Add extern declaration for Qexecute_kbd_macro.
	* keyboard.c (Fcommand_execute): Add an entry to the command
	history for keyboard macros too.

	* xterm.c (XTread_socket): If we get a MappingNotify event whose
	request == MappingKeyboard, someone has changed the keyboard
	mapping, and we should get the new mapping with
	XRefreshKeyboardMapping.

Wed Apr 10 11:43:37 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)

	* commands.h: Declare last_command_char to be a Lisp_Object, not
	an integer (ack).

	* cmds.c (Fself_insert_command): If last_command_char is not an
	integer, beep.
	* minibuf.c (Fself_insert_and_exit): Same thing.

	* keyboard.c (format_modifiers): New function, factoring out code
	from modify_event_symbol and reorder_modifiers.
	(modify_event_symbol): Call format_modifiers instead of doing the
	work inline.
	(reorder_modifiers): New function to put the modifiers on a
	modified symbol in the canonical order.

	* keymap.c (modify_event_symbol): Prepend the modifiers so they
	appear in the canonical order: `M-C-S-U-'.
	(store_in_keymap): If IDX is a symbol, put the modifiers in the
	canonical order before storing.

Tue Apr  9 15:05:54 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keymap.c (Flocal_set_key, Fglobal_set_key): When checking types
	of arguments, allow KEYS to be a vector or string, not just a
	string.
	(keymap_table): New static function to replace duplicated code in
	access_keymap and store_in_keymap.
	(access_keymap): Use keymap_table.
	(store_in_keymap): Use keymap_table, and put non-character
	definitions in dense keymaps *after* the vector.

	* fileio.c (directory_file_name): Remove trailing slashes from
	single-letter names like "a/" too.  Let slen be the string length,
	not one less than the string length.

	* keyboard.c (Fset_input_mode): Don't complain that QUIT isn't an
	ASCII character if it is nil - it is an optional parameter.

	* keymap.c (Faccessible_keymaps): Use meta-characters in the key
	sequences returned, carefully making sure that the sequences still
	appear in order of increasing length.

Thu Apr  4 14:56:33 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* vmsfns.c (vms_trnlog): Increased size of str to 256 elements.
	(vms_symbol): Increased size of str to 1025 elements.

Sun Mar 24 01:50:12 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* dispnew.c (pixel_to_glyph_translation): Moved this function to
	xterm.c, since it is specific to X and only called by the X code.
	* xterm.c (pixel_to_glyph_translation): Here it is.

Fri Mar 22 18:19:21 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* s-usg5-4.h (DATA_SEG_BITS): Definition deleted.
	* m-intel386.h (DATA_SEG_BITS): Define here if USG5_4.

Fri Mar 22 17:48:01 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keymap.c (Faccessible_keymaps): Produce meta-characters in the
	key sequences instead of [meta-prefix-char CHAR] sequences.

Thu Mar 21 20:24:53 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keymap.c (Flookup_key): If KEY is a zero-length array, then
	return KEYMAP; this is more algebraically satisfying.

	* dispnew.c (Fsit_for): If the time to sit is zero and there is no
	input available, then return Qt, not Qnil.

	* keyboard.c (read_char): If a quit occurs and we return
	quit_char, clear Vquit_flag, so we don't end up returning it again
	and again...  All lisp code does this manually if they call
	read-char with quits inhibited, so it's the right thing to do.

Wed Mar 20 06:01:58 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (read_char): If there is still no input available
	after an auto-save, do a garbage-collection.

	* undo.c (truncate_undo_list): Always leave at least one undo
	record in the undo list.  And use sizeof (struct Lisp_Cons), etc.
	instead of 8, etc.

	* keyboard.c (read_char): When deciding whether to wrap
	recent_keys_index back to 0, compare it against
	sizeof (recent_keys)/sizeof(recent_keys[0]),
	not sizeof (recent_keys).
	(quit_char): This can't be anything but an ASCII character, so it
	shouldn't be a Lisp_Object.  The declaration's comment says why.
	(read_char, init_keyboard): Treat quit_char as an int now.
	(Fset_input_mode): As above, and signal an error if QUIT is not an
	ASCII character.

	* callint.c (Fprefix_numeric_value): Use XFASTINT to initialize
	val, not raw.

	* fileio.c (Fmake_symbolic_link): Don't expand FILENAME; this
	would make it impossible to make a link to a relative name.

Tue Mar 19 18:45:06 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)

	* keyboard.c (syms_of_keyboard): Removed the DEFVAR_BOOL for
	meta-flag.  This cannot be a lisp variable because we need to
	change the terminal settings whenever this flag changes.  Change
	this through set-input-mode instead.

Tue Mar 19 17:30:09 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)

	* keyboard.c (read_avail_input): Raise SIGHUP if no input on AIX.

Tue Mar 19 02:52:36 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* keyboard.c (kbd_buffer_store_event, kbd_buffer_read_char,
	read_key_sequence, Fexecute_extended_command, Fset_input_mode,
	init_keyboard, syms_of_keyboard): Use XSET (var, Lisp_Int, exp)
	instead of XSETINT (var, exp) in those cases where var is not
	known to already be a Lisp_Int.
	* search.c (skip_chars): Same.
	* xterm.c (construct_mouse_click, XTread_socket): Same.
	* callint.c (Fprefix_numeric_value): Make sure to return a
	Lisp_Int even when RAW is a cons whose car is not a Lisp_Int.
	* process.c (sigchld_handler): When searching for a process whose
	pid is -1, make sure that the pid is an int first, since network
	streams are in Vprocess_alist too.

	* keyboard.c (syms_of_keyboard): Added DEFVAR_BOOL for
	meta-flag.  Emacs 18 had this, and I see no entry in the ChangeLog
	saying that it was purposefully removed.

Sun Mar 17 14:07:44 1991  Jim Blandy  (jimb at geech.ai.mit.edu)

	* keymap.c (Fcopy_keymap, Faccessible_keymaps, describe_map,
	append_key): Minor typos and brainos corrected.

	* keyboard.c (read_char): Removed code to find the vector in a
	(kbd-macro . VECTOR) - style macro, since the macro is represented
	by the vector itself.
	(read_char_menu_prompt): Changed to correctly recognize the new 
	dense keymap structures.
	(read_key_sequence): Changed code that checks for keymapness to
	use get_keymap_1 instead of doing the indirection and keymapness
	testing itself.
	(Fcommand_execute): A keyboard macro is now a string or a vector.
	(Fexecute_extended_command): When expanding this_command_keys,
	remember that it is now an array of Lisp_Objects, not chars.

	* doc.c (Fdocumentation): Rearranged into a switch statement, and
	made vectors macros, not keymaps.

	* eval.c (Fcommandp): Removed code to recognize 
	(kbd-macro . VECTOR) as a command, and added code to recognize
	vectors as commands.
	* macros.c (Qkbd_macro): Variable deleted.
	(syms_of_macros): Initialization of Qkbd_macro removed.

Thu Mar 14 18:36:34 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* minibuf.c (keys_of_minibuf): Changed all calls to
	initial_define_lisp_key to calls to initial_define_key.

	* keymap.c (describe_map): Adjusted to handle the new style of
	keymap.

Thu Mar 14 17:06:14 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* fileio.c (Fwrite_region): On VMS, don't try rewriting old version.

Thu Mar 14 09:31:59 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* keymap.c (Faccessible_keymaps): Adjusted to handle the new style
	of keymap.
	(Fwhere_is_internal): Handle the new-style of keymaps.
	Additionally, only check to see if a match is shadowed by a
	binding in the local keymap when LOCAL_KEYMAP is non-nil, instead
	of comparing elt against DEFINITION yet again.
	(describe_map_tree): Handle key sequences that are vectors, as
	well as those that are strings.

Wed Mar 13 18:07:27 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* commands.h, keymap.c (meta_map, control_x_map): Make these
	Lisp_Objects, not Lisp_Vectors.
	keymap.c (syms_of_keymap): Same.

	* keymap.c (Fuse_global_map): There is no longer any reason to
	insist that KEYMAP must be a dense keymap; delete the code that
	does so.

Tue Mar 12 22:31:21 1991  Jim Blandy  (jimb at wookumz.ai.mit.edu)

	* commands.h, lisp.h: Changed global_map and current_global_map	to
	be Lisp_Objects, not Lisp_Vectors.
	keyboard.c (read_key_sequence): Same.
	keymap.c (Fkey_binding, Fglobal_key_binding, Fglobal_set_key,
	Fuse_global_map, Fwhere_is_internal, describe_buffer_bindings,
	syms_of_keymap): Same.

	* keymap.c (Fdefine_key): Braino: increment idx and clear metized
	flag even when the element of the key sequence isn't a character.
	(Flookup_key): Fix same braino.

Sun Mar 10 16:54:18 1991  Jim Blandy  (jimb at wookumz.ai.mit.edu)

	* keymap.c (get_keyelt): Use access_keymap to resolve indirect
	entries, instead of duplicating its code.
	(Fcopy_keymap): Handle the new keymap structure.

Sat Mar  9 23:35:18 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* eval.c (struct catchtag): New field handlerlist.
	(internal_catch, internal_condition_case): Set that field.
	(unbind_catch): Use it.

Fri Mar  8 02:53:41 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-intel386.h (signal): Maybe define if USG.

	* keyboard.c (echo_char): Don't have space at end of echobuf.

Thu Mar  7 16:13:32 1991  Jim Blandy  (jimb at albert.ai.mit.edu)

	* keyboard.c (syms_of_keyboard): Initialize mouse_syms, instead of
	doing func_key_syms twice.  Don't deal with scrollbar_syms, since
	it doesn't exist.

Wed Mar  6 14:43:59 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* keymap.c (access_keymap, store_in_keymap): Changed to handle the
	new style of keymaps.

	* fns.c (Fassq, Fcopy_alist): Changed docstring to promise to
	ignore elements of LIST that are not conses.  See access_keymap
	and copy_keymap for a cheap excuse.

Wed Mar  6 14:32:14 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-vms.h (DATA_START): Remove `+ 512'.

Tue Mar  5 20:37:22 1991  Jim Blandy  (jimb at spiff.ai.mit.edu)

	* keymap.c (Fmake_keymap): Rewritten to construct the
	new dense keymap structure: (keymap VECTOR . ALIST).  Docstring
	adjusted accordingly.  This means that the keyboard macro
	stupidity (see Feb 27, keyboard.c) is no longer needed.

Sun Mar  3 17:15:44 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (MEMORY_IN_STRING_H): New compilation flag.
	* s-isc2-2.h: New file.

Wed Feb 27 14:28:29 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* macros.c (Qkbd_macro): New variable, to hold the symbol
	`kbd-macro', which we use to tag vector-style keyboard macros.
	(syms_of_macros): Initialize and staticpro Qkbd_macro.

	* eval.c (Fcommandp): Recognize the new keyboard macros.

	* keyboard.c (Fcommand_execute): A keyboard macro is now a string,
	or a cons whose car is the symbol `kbd-macro' and whose
	cdr is a vector of events; previously, macros were strings or
	vectors, but that makes it difficult to tell the difference
	between macros and dense keymaps.
	(read_char): Handle the new macros correctly, and re-allocate
	this_command_keys correctly.

Tue Feb 26 23:45:00 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-vms.h (calloc): Define like malloc, etc.

Tue Feb 26 12:50:45 1991  Jim Blandy  (jimb at spiff.ai.mit.edu)

	* xterm.c (XTread_socket): Move enter_timestamp outside of the
	function; static variables inside functions don't always work in
	Emacs.

	* editfns.c (in_accessible_range): Deleted - insufficently
	general.
	(clip_to_bounds): New function, much like in_accessible_range,
	except that the upper and lower bounds are arguments.
	(goto_char, save_restriction_restore): Rewritten to use
	clip_to_bounds instead of in_accessible_range.

Mon Feb 25 08:44:45 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* keymap.c (initial_define_lisp_key): Turn KEY into a Lisp_Int
	before passing it to store_in_keymap.

	* buffer.c (reset_buffer_local_variables): Don't try to initialize
	the buffer's mouse_map and function_key_map fields, since they
	don't exist anymore.

	* macro.c (kbd_macro_buffer, kbd_macro_ptr, kbd_macro_end): These
	are now all pointers to Lisp_Objects instead of chars.
	(Fend_kbd_macro): Use make_sequence.
	(store_kbd_macro_char): Argument c is now a Lisp_Object.  Change
	call to xrealloc to ask for Lisp_Objects instead of chars.  Set
	kbd_macro_end to the same place in the new buffer as it was in the
	old one, not to the end of the buffer.
	(Fexecute_kbd_macro): Allow MACRO to be a string or a vector.
	(syms_of_macros): Allocate Lisp_Objects instead of chars for
	kbd_macro_buffer.

	* alloc.c (make_sequence): New function, useful to keyboard.c and
	macro.c.
	* keyboard.c (Fread_key_sequence): Use make_sequence.
	(Fthis_command_keys): Use make_sequence.

Sun Feb 24 16:40:10 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* keymap.c (Fwhere_is): If the command can't be found, the message
	is now "foobie is not on any key.", instead of "... any keys.".

	* keyboard.c (input_poll_signal): Pass 0 to read_avail_input,
	instead of `&junk'.  Removed variable `junk'.
	(command_loop_1): Updated to handle the unified function key/mouse
	event/keystroke arrangement.
	(Finput_pending_p): Removed vestiges of code to handle
	unread_input_char value of -1, since this doesn't happen anymore.
	(read_char): Adapted to handle lispy events.
	(read_char_menu_prompt): Allocate `menu' buffer using alloca,
	instead of a variable-sized array, which is gcc-specific.
	(Frecent_keys): Return the most recent "keystrokes" as a vector,
	to accomodate lispy events.
	(Fset_input_mode): Accomodate non-characters as quit keys.  If
	this is a bad thing, init_sys_modes will tell us.
	(init_keyboard): this_command_keys is now an array of
	Lisp_Objects; adjust the amount of storage we request to hold it.
	Remember that quit_char can be any keystroke.
	(syms_of_keyboard): last_command_char, last_input_char, help_char,
	menu_prompt_more_char and meta_prefix_char are now DEFVAR_LISPs
	instead of DEFVAR_INTs.
	
Sun Feb 24 15:58:23 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (wait_reading_process_input): Use NETCONN_P.

Sat Feb 23 22:18:47 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* keyboard.c: (recent_keys, this_command_keys,
	menu_prompt_more_char, help_char, last_command_char, quit_char,
	last_input_char): Changed to Lisp_Objects, so we can use function
	keys for them.
	(Vglobal_function_map): Variable deleted.
	(echo_char): Echo function keys too.  The argument C is now a
	Lisp_Object instead of a char.
	(Fread_key_sequence): Removed sludge to handle window events
	specially, and added sludge to handle sequences with
	non-characters in them.
	(classify_object): Elided, since this should go away soon.
	(read_key_sequence): Adapted to look up symbols in keymaps,
	just like characters.

Sat Feb 23 15:22:57 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (send_process): Handle EAGAIN like EWOULDBLOCK.

Fri Feb 22 11:13:25 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* doc.c (substitute_command_keys): Call describe_map_tree with
	only three arguments, since the CHARTAB arg has been disposed of.

	* keymap.c (Fcurrent_global_map, Fuse_local_mouse_map): Functions
	deleted, since the mouse maps are no longer separate from the key
	maps.
	(append_key): New function, which handles tacking a single
	keystroke on the end of a key sequence, promoting strings to
	vectors when needed.
	(Faccessible_keymaps): Adjusted to return vectors for key
	sequences, when necessary.
	(Fkey_description): Removed stuff to handle mouse buttons and
	other things specially, since this work will go into
	Fsingle_key_description.
	(Fsingle_key_description): SIMPLIFIED to handle everything
	correctly!  Jeepers!
	(Fwhere_is_internal): Scan the assoc-list at the end of dense
	keymaps, and construct strings or vectors.
	(where_is_string, describe_buffer_bindings): Simplified by
	deleting code to handle mouse button bindings specially.
	(describe_map_tree): Removed CHARTAB argument; this was
	a kludge to print out mouse events nicely, and is no longer
	necessary.  Nobody was using it anyway.
	(describe_map): Removed ugly hack to handle mouse buttons
	specially, added code to describe alists on dense keymaps, and
	removed CHARTAB argument.
	(describe_alist): Made to handle bindings of symbols as well as
	characters.  Removed CHARTAB argument.
	(describe_vector): Removed CHARTAB argument, allocated KLUDGE
	outside of loop and GCPRO'd it.
	(syms_of_keymap): Remove last vestiges of Vglobal_mouse_map,
	Vmouse_button_names, Suse_local_mouse_map,
	Scurrent_local_mouse_map.

	* buffer.h (struct buffer): Removed mouse_map and function_key_map
	members, since they are now handled by the keymap element.

	* keyboard.c (syms_of_keyboard): Change initialization of
	meta_prefix_char, since it's now a Lisp_Object.

	* keymap.c (Fkeymapp): Rewrote this to use get_keymap_1; now it's
	a one-liner instead of a 13-liner.
	(DENSE_TABLE_SIZE): Created new constant for the # of lookup-style
	entries in a dense keymap, and the index of the map's assoc list.
	Used it where appropriate.
	(Fcopy_keymap): Notice that 129'th element in dense keymaps.
	(Fdefine_key, Flookup_key): Reworked to deal with vectors of
	symbols and characters as well as strings for key sequences.
	(meta_prefix_char): Changed from an int to a Lisp_Object.

Thu Feb 21 22:41:38 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* fileio.c (report_file_error): Don't downcase "I/O".

Wed Feb 20 05:25:56 1991  Jim Blandy  (jimb at geech.ai.mit.edu)

	* keymap.c (access_keymap): Allow IDX to be any sort of bindable
	event, and deal with the extended keymaps.  IDX is now a
	Lisp_Object instead of an int, obviously.
	(store_in_keymap): Allow IDX to be any sort of bindable event, and
	deal with the extended keymaps.  IDX is now a Lisp_Object.

	* xterm.c (construct_mouse_click): Add code to set the up_modifier
	bit for ButtonRelease events.

	* keyboard.c (kbd_buffer_store_event): Use XFASTINT and XSETINT to
	access event->code, since it's a Lisp_Object.
	(kbd_buffer_read_char): Golly, perhaps we should increment
	kbd_fetch_ptr to remove the event we just read from the queue.
	(modify_event_symbol): Stupid fixes: correctly look up unmodified
	symbols when cache entry has a modified symbol vector.  And, when
	first adding the modified symbol vector, copy the old slot value
	into it correctly.

Tue Feb 19 00:03:16 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* keyboard.c (command_loop_1): #if 0 the block of code which
	handles mouse events and other lispy events specially, since I
	hope it will go away soon.

	* dispnew.c (Fsleep_for_millisecs): Pass all four arguments to
	wait_reading_process_input, instead of just the first two.

	* process.c (wait_reading_process_input): Remove support for
	only waiting for mouse input, since that has been superceded.
	This removes X dependencies from process.c, and eliminates some
	references to code that should only exist when using X10.

	* keyboard.c (mouse_moved_symbol, redraw_screen_symbol,
	mapped_screen_symbol, unmapped_screen_symbol,
	exited_window_symbol, exited_scrollbar_symbol): Renamed to
	Qmouse_moved, Qredraw_screen, Qmapped_screen, Qunmapped_screen,
	Qexited_window, Qexited_scrollbar, just as done in xterm.c.
	(classify_object): Removed code to look up a function key in the
	global and local function key keymaps, since this will be done
	more generally.
	(Fexecute_mouse_event): Elided this function with a #if 0;  I
	think it will go away once the more general keymap stuff is
	implemented, but I'm not sure.
	(syms_of_keyboard): Removed defsubr for Sexecute_mouse_event.
	(where_is_string, describe_buffer_bindings, syms_of_keymap):
	Elided code to handle mouse button bindings specially; I hope this
	will go away.

	* lread.c (syms_of_lread): Change defsubr for eval-buffer to
	defsubr for eval-current-buffer.

	* keymap.c (syms_of_keymap): defvar for Vglobal_function_map
	removed, since that variable has disappeared.

	* xterm.c (x_func_key_to_sym): Removed entirely, since we no
	longer convert X keycodes to symbols in this section of code.
	(x_convert_modifiers): New function to turn the X modifier bits
	into struct input_event modifier bits.
	(encode_mouse_button): removed, since this work isn't done here
	anymore.
	(Vx_send_mouse_movement_events): Add an extern declaration for
	this.

	* termhooks.h: Only define struct input_event if the module
	has previously #included lisp.h; this avoids forcing simple modules
	like cm.c to #include lisp.h.

	* term.c: #include "lisp.h" before #including "termhooks.h", since
	the latter uses Lisp_Objects now.

	* xfns.c (syms_of_xfns): Delete the defsubr for Sx_window_id,
	since Fx_window_id is gone.

	* xterm.c (construct_mouse_event): Construct a struct input_event
	instead of a lispy event.

	* screen.c (coordinates_in_window):  Added explanatory comment. 
	(window_from_coordinates): Change PART, whose returned values are
	dependent on X-windows, to be called MODELINE_P, with appropriate
	new return values.
	* xterm.c (notice_mouse_movement): Handle the X-windows dependent
	stuff that used to be in window_from_coordinates here instead.
	(XTread_socket): Modified to produce struct input_events
	instead of lispy events.

Mon Feb 18 18:12:57 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

        * termhooks.h: Added up_modifier to the enum for modifier bits;
	this bit will be applied to mouse events.
	(struct input_event): Changed specification of non_ascii_keystroke
	events to send the function key number instead of a symbol.
	* keyboard.c (modify_event_symbol): Re-arranged to work well
	with function key/mouse button numbers instead of symbols.
	And if (MODIFIERS & up_modifer), prepend "U-" to the name of the
	symbol being constructed.
	(make_lispy_event): Use the new modify_event_symbol.

	* xterm.c (notice_mouse_movement): Adjusted this function to
	work with a struct input_event instead of producing an
	s-expression.

	* xterm.c, xfns.c: Made all references to x_mouse_queue,
	x_expose_queue, and the functions which manipulate them
	conditional on having X10, since only X10 code ever places
	anything in these queues.

Fri Feb 15 05:20:16 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* termhooks.h: Define struct input_event, to represent input
	events while they sit in the keyboard input buffer.  Using lisp
	objects to represent input events is a bad idea because the
	routines which enqueue them can be called from signal handlers,
	and therefore should not cons.

	* keyboard.c: (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Change
	these to be of type `struct input_event *'.
	(kbd_buffer_store_event): Manipulate struct input_events instead
	of lisp objects.
	(make_lispy_event): New function, to construct a lisp-style event
	corresponding to a particular struct input_event.
	(modify_event_symbol): New function, to add modifier prefixes to a
	symbol, and look the new symbols up quickly if they've already
	been created.
	(kbd_buffer_read_char): Call make_lispy_event to turn the thing
	in the keyboard buffer into the form that read_char is expecting.
	(Qwith_modifier_keys): Define this new symbol variable.
	(syms_of_keyboard): Initialize and protect Qwith_modifier_keys.

	* xterm.c (init_input_symbols): Rearranged the code that produces
	the func_key_syms array.
	(x_func_key_to_sym): Simplified, since more will be handled in
	make_lispy_event.
	(XTread_socket): When handling KeyPress events, don't pass the
	state of the modifier keys to x_func_key_to_sym, since it doesn't
	care any more.

	* sysdep.c (kbd_input_ast, end_kbd_input, read_input_waiting):
	Rename kbd_buffer_store_char to kbd_buffer_store_event.

	* keyboard.c (stuff_buffered_input): Since the keyboard buffer
	holds lisp objects, only stuff entries that are Lisp_Ints, and
	XINT them before passing them to stuff_char.
	(kbd_buffer_store_char): Make this not a static function, since
	sysdep.c calls it.  And rename it kbd_buffer_store_event.

	* keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Made these
	variables static, to document the fact that they're only used
	within keyboard.c.

Wed Feb 13 00:43:13 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* xterm.c (init_input_symbols): remove the `xk-' prefix from all
	the function key symbols, since they're going to be used for
	function keys from all sorts of terminals, not just when running
	under X.

	* lread.c (read_escape): Removed support for mouse button escapes
	(\S-, \U-, \C- applied to digits), because they're being replaced
	by something more rational.

Sat Feb  9 13:23:05 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* buffer.c: Doc fix.

	* sysdep.c (dup2): Rewrite of non-F_DUPFD case.

Fri Feb  8 00:03:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-intel386.h (LOAD_AVE_CVT): Add extra parens.
	* s-usg5-4.h (LIBX11_SYSTEM): #undef it.

Thu Feb  7 13:39:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-esix.h: New version from kayvan.
	Adds HAVE_X11 conditional, NEED_PTEM_H, USG_SYS_TIME, USE_UTIME,
	LIBS_DEBUG; removes #undef sigsetmask, LIBS_SYSTEM, ESIX, 
	MISSING_UTIMES.

Wed Feb  6 14:18:42 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (Faccept_process_output): Second arg gives timeout.

Wed Feb  6 00:01:26 1991  Jim Blandy  (jimb at geech.ai.mit.edu)

	* lread.c (read_escape): Added support for \S- and \U- escapes (for
	binding mouse buttons), and noted that \C- must work on digits.

	* xterm.c (init_input_symbols): Was mistakenly renamed
	init_inputs; named back.

	* xterm.c (construct_mouse_click, encode_mouse_button): Rewritten
	to build new-style mouse events.

	* dispnew.c (update_line): Write a zero into obody[olen] to make
	sure the lines in current_screen->glyphs remain terminated.
	* xdisp.c (display_string, display_text_line): Don't write off
	the end of the line and destroy the zero terminator when expanding
	a tab.

	* fns.c (Fy_or_n_p): Accept C-] (usually abort-recursive-edit) as
	well as C-g to quit.

Tue Feb  5 18:28:57 1991  Jim Blandy  (jimb at geech.ai.mit.edu)

	* sysdep.c, s-aix3-1.h, s-hpux.h, s-iris3-5.h, s-iris3-6.h,
	s-irix3-3.h, s-rtu.h, s-sunos4-1.h, s-unipl5-0.h, s-unipl5-2.h,
	s-usg5-0.h, s-usg5-2-2.h, s-usg5-2.h, s-usg5-3.h, s-xenix.h:
	Globally replaced INTERRUPTABLE with INTERRUPTIBLE.

	* xterm.c (construct_mouse_event): Renamed to
	construct_mouse_click, since there are kinds of mouse events
	besides clicks (movement, for example).
	(XTread_socket): rename calls here.

	* xterm.c (mapped_screen_symbol, unmapped_screen_symbol,
	exited_scrollbar_symbol, exited_window_symbol,
	redraw_screen_symbol, mouse_moved_symbol): Renamed to
	Qmapped_screen, Qunmapped_screen, Qexited_scrollbar,
	Qexited_window, Qredraw_screen, Qmouse_moved, to agree with naming
	conventions elsewhere in Emacs.

	* xfns.c (text_part_sym, modeline_part_sym,
	vertical_scrollbar_sym, vertical_slider_sym, vertical_thumbup_sym,
	vertical_thumbdown_sym, horizontal_scrollbar_sym,
	horizontal_slider_sym, horizontal_thumbleft_sym,
	horizontal_thumbright_sym): Renamed to Qtext_part, Qmodeline_part,
	Qvscrollbar_part, Qvslider_part, Qvthumbup_part, Qvthumbdown_part,
	Qhscrollbar_part, Qhslider_part, Qhthumbleft_part,
	Qhthumbright_part, to agree with the naming conventions elsewhere
	in Emacs.

	* xterm.c (XTread_socket): While handling EnterNotify events,
	clear Vmouse_event here.
	(notice_mouse_movement): Don't clear it here.

Mon Feb  4 17:50:45 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-sunos4-0.h: Renamed from s-sunos4.h.
	(read, write, open, close): Macro defs moved to s-sunos4-1.h.
	(INTERRUPTABLE_*): Likewise.
	* s-sunos4-1.h: New file.

Mon Feb  4 02:17:08 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* keymap.c (Vglobal_mouse_map, Vglobal_function_map): Variables
	removed in preparation for conversion to unified keymap format.
	(Fmake_keymap): Make vector keymaps with 129 entries; the last
	will be an assoc-list for looking up symbols.  Update docstring to
	describe 129'th element.
	(Fmake_sparse_keymap): Update docstring to say that you can bind
	symbols in these maps too.
	(Fkeymapp): Recognize 129-element vectors as keymaps, not
	128-element vectors.
	(get_keymap_1): wrong_type_argument can no longer return a new
	value supplied by the debugger; remove loop to support this.

	* xterm.c (XTread_socket): When handling EnterNotify events,
	enqueue fake mouse events iff Vx_send_mouse_movement_events !=
	Qnil.

	* xfns.c (Fx_window_id): Function removed; Fscreen_parameters
	already provides this information.

	* xterm.c (x_term_init): Cleaned up the code to get the host name,
	and removed fixed limit on host name length.

	* window.c (Fscroll_other_window): Don't explicitly save
	current_buffer and point; the save_excursion will take care of
	that anyway.

	* dispnew.c (safe_bcopy): Rewritten to handle overlapping regions
	with multiple calls to bcopy instead of a stupid copy loop.

	* xterm.c, xfns.c (Vscreen_part, Vx_send_movement_events): These
	variables renamed to Vmouse_screen_part,
	Vx_send_mouse_movement_events.

	* lread.c (Feval_buffer): function deleted.
	(Feval_current_buffer): Removed "#if 0 ... #endif" around this
	function.

Sun Feb  3 21:50:00 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* Makefile, ymakefile (SHELL): Force use of sh.

	* s-usg5-4.h (USG5_4): Define it.
	(LOAD_AVE_*): Don't define them.
	* m-intel386.h (LOAD_AVE_*): Define, if USG5_4.

	* buffer.c (Fbuffer_local_variables): Omit slots with no names.

Sun Feb  3 19:12:31 1991  Jim Blandy  (jimb at geech.ai.mit.edu)

	* xterm.c (x_term_init, init_input_symbols): Moved these to the
	bottom of the file, 1) to be consistent with the other files, and
	2) so it can initialize some variables I want.

Sat Feb  2 05:26:29 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* xterm.h: Added external declaration for x_focus_screen.

	* search.h: File deleted.
	* buffer.h: declare searchbuf here instead.

	* screen.c (Ffocus_screen, Funfocus_screen): Moved these functions
	to xfns.c, since they're x-specific.
	(syms_of_screen): Removed defsubr calls for above.
	* xfns.c (Ffocus_screen, Funfocus_screen): Here they are.
	(syms_of_xfns): The defsubrs are here now.

	* buffer.h (PT): Make this expand to an expression which is not an
	l-value, to prevent people from assigning to it.  If everyplace
	uses SET_PT, it will be easier to merge in the interval code.
	(point): Similar changes here.
	(SET_PT): This can no longer be written in terms of PT, so write
	out current_buffer->text.pt.

	* xterm.c (x_new_font): Rewritten to remove arbitrary limit on
	size of x_font_table.
	(x_font_table_size): Created new variable.
	(n_available_fonts, font_names, font_info, MAX_FONTS): Deleted
	these variables/macros.

	* dispnew.c (scroll_screen_lines): Instead of disabling the lines
	vacated by the scroll (i.e. zeroing enable), mark them as enabled
	but empty.

	* callint.c (Fcall_interactively): Move UNGCPRO down, so that
	stuff is protected while we build the command history entry and do
	the function call.

	* xterm.c (XTupdate_end): Turn cursor on, even if we don't
	currently have the focus.

	* minibuf.c (temp_echo_area_glyphs): Clear echo_area_glyphs and
	previous_echo_glyphs, so the message we're displaying will
	supercede any existing message.

	* keyboard.c: Removed external declaration of echo_area_glyphs,
	since it's declared in window.h.

Thu Jan 31 18:16:41 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* xterm.c (XRINGBELL): Pass 0 as the second argument to XBell;
	respect the user's preferences.

Wed Jan 30 05:22:47 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* xterm.c (x_draw_single_glyph): New function, created to simplify
	cursor drawing/undrawing.
	(x_display_box_cursor): Rewritten to properly handle the box
	cursor in its filled and hollow forms.
	* xterm.h (enum text_cursor_kinds): Added enum for the different
	kinds of cursors which might be displayed in a window.
	(struct x_display): added member `text_cursor_kind' which says
	which kind of cursor is currently being displayed in the window, so
	we can arrange to redraw it effectively.

	* keyboard.c (command_loop_1): When handling the forward_char
	command, don't let point move to the location after the end of the
	buffer.

	* keyboard.c (poll_suppress_count): Define this even if
	POLL_FOR_INPUT is not defined, because this makes lots of #ifdef
	clauses unnecessary, and doesn't hurt, because
	{start,stop}_polling become nops.

	* config.h, config.h-dist: Make these #include "system.h" and
	"machine.h", and let the config script link these appropriately,
	instead of using the machine-specific names and expecting the user
	to edit this file.

Tue Jan 29 21:08:41 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* window.c (Fdelete_window): sib is a Lisp_Object; treat it as
	such.

	* xterm.c (screen_unhighlight): When the focus leaves a screen,
	draw the cursor as a box instead of making it disappear entirely.

Tue Jan 29 14:59:44 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* unexec.c (make_hdr) [TPIX]: Set f_hdr.f_nscns and f_thdr.f_scnptr.

	* sysdep.c [BROKEN_TIOCGWINSZ]: Undef TIOCGWINSZ.

	* process.c (wait_reading_process_input): Don't ignore
	a zero-length read on a network connection.  Do close it.

	* sysdep.c (hft_init, hft_reset): Pass &junk as arg to HFQERROR.
	Do nothing if not HFT.

Tue Jan 29 00:02:34 1991  Jim Blandy  (jimb at albert.ai.mit.edu)

	* xfns.h: Created, to declare things defined in xfns.c.
	Declare Vx_send_movement_events.
	* xfns.c: #include "xfns.h".
	(Vx_send_movement_events): Define this variable.
	(syms_of_xfns): DEFVAR_LISP it.
	* xterm.c: #include "xfns.h".
	(XTread_socket): Place a mouse-moved event in the buffer iff
	Vx_send_movement_events says to.

Mon Jan 28 17:47:54 1991  Jim Blandy  (jimb at geech.ai.mit.edu)

	* ymakefile: noted that callint.o depends on mocklisp.h,
	and dired.o on search.h.

	* environ.h: Deleted - its creation in the first place was misguided.
	callproc.h: Removed #include "environ.h", and added declarations
	for environ.h

	* buffer.c (syms_of_buffer): Add more detailed documentation to
	buffer-undo-list.

	* lisp.h (poll_suppress_count): Add external declaration for this here.

Mon Jan 28 00:34:59 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-sun3-68881.h, m-sun3-fpa.h, m-sun3-soft.h: New files.

Sun Jan 27 22:19:31 1991  Jim Blandy  (jimb at geech.ai.mit.edu)

	* lisp.h (struct handler): add poll_suppress_count member, so
	we can restore poll_suppress_count when we handle an error.
	* eval.c (struct catchtag): Add it here too, for throws.
	(internal_catch, Fcondition_case, internal_condition_case): Record
	the value of poll_suppress_count here in the handler and catch tag.
	(Fthrow, Fsignal): Restore it here.

Fri Jan 25 21:41:27 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* xterm.c (x_display_box_cursor): If we're undrawing the cursor by
	redrawing the character underneath it, draw according to that
	line's highlight, instead of assuming it's in the normal GC.

Fri Jan 25 16:52:12 1991  Richard Stallmao  (rms at mole.ai.mit.edu)

	* buffer.h (PTR_CHAR_POS): Value was too small by 1.

Wed Jan 16 17:45:05 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* doprnt.c (doprnt): Check for overflow in fmtcpy.

Wed Jan 16 16:35:33 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* window.c (Fdelete_window): If the deletee gives its space to its
	next sibling, that sibling needs to have its top/left side pulled
	back to where the deletee's is.

Tue Jan 15 16:17:53 1991  Jim Blandy  (jimb at geech.ai.mit.edu)

	* doc.c (Fsnarf_documentation): handle attaching docstrings to
	bytecode objects too.

	* syntax.h (syntax_spec_code): make external declaration for this
	unsigned char to match the definition in syntax.c.

	* indent.c (compute_motion): added comments describing how it
	can be used.

Tue Jan 15 13:13:36 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (create_process): Use SETUP_SLAVE_PTY if defined.

	* s-usg5-4.h (HAVE_PTYS, HAVE_SETSID): Defined.
	(HAVE_WAIT_HEADER, WAITTYPE, wait3, WRETCODE): New macros.
	(TIOCSIGSEND): Alias for TIOCSIGNAL.
	(FIRST_PTY_LETTER): Overridden.
	(PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, SETUP_SLAVE_PTY): New macros.

	* m-ibmrs6000.h	(CANNOT_DUMP): Undefine it.
	(UNEXEC): Define it.
	(PURE_SEG_BITS, SHMKEY): Define only if CANNOT_DUMP.
	(LINKER): Override it.  Then add -bnodelcsect.

	* xfns.c (Fx_get_default): Try reversing XGetDefault args if it fails.

Sun Jan 13 20:26:50 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-usg5-4.h (LOAD_AVE_CVT): Cast value to int.

	* keyboard.c (read_avail_input): Signal SIGHUP if FIONREAD fails.

	* ymakefile: Put tokens after #endif into comment.

	* filelock.c (lock_file_owner_name): Declare argument type.

	* syntax.c (syntax_spec_code): Type now unsigned char.

	* process.c (wait_reading_process_input):
	Call status_notify even when not doing redisplay.

	* emacs.c (Fkill_emacs): Turn off SIGIO before exiting.

	* s-usg5-3.h (USG5_3): Define it.
	* m-ibmps2-aix.h [USG5_3]: Define TEXT_START as 0.
	Don't define DATA_START or DATA_END or TEXT_END or DATA_SEG_BITS.
	Override various other symbols at end of file.

Sat Jan 12 15:10:24 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* window.c (window-configuration-p): Closing paren needed.  Added.

	* keyboard.c (command_loop_1): When displaying a message over an
	active minibuffer, call Fsit_for with three arguments, not two.

Sat Jan 12 14:50:45 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-irix3-3.h (HAVE_SYSVIPC): Defined.

Sat Jan 12 13:56:32 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* dispnew.c (buffer_posn_from_coords): compute_motion starting
	from bufp[y] instead of counting from the top of the window.

Fri Jan 11 16:38:54 1991  Richard Mlynarik  (mly at pizza.ai.mit.edu)

        * window.c (window-configuration-p):  Needed.  Added.

Fri Jan 11 15:52:10 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* dispnew.c (buffer_posn_from_coords): Remember to deduce space
	for the line continuation markers and the window separators from
	the window width.

Fri Jan 11 11:45:19 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-tower32v3.h (VALBITS, GCTYPEBITS): Use 26 bits for pointer.

Thu Jan 10 12:33:20 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* fileio.c (Fcopy_file): Always close descriptors.

	* s-sunos4.h: read, write, open and close are interruptable.

Wed Jan  9 12:32:21 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* xterm.c, dispnew.c (pixel_to_char_translation): Renamed to
	pixel_to_glyph_translation, and rewritten.  Just get coordinates,
	don't return anything.
	(buffer_posn_from_coords): New function - given a window and
	co-ordinates on the screen, find the buffer position at those
	co-ordinates. 

Tue Jan  8 06:14:51 1991  Jim Blandy  (jimb at geech.ai.mit.edu)

	* alloc.c (Fmake_byte_code): Flesh out docstring.

	* window.c (window_loop): pick the first window correctly, even
	when screen == 0.

	* dispnew.c (scroll_screen_lines): Don't forget to call
	update_begin at the top of the down-scrolling section.
	And rotate by amount, not -amount, in the up-scrolling section.

	* xterm.h (MAX_FONTS, x_font_table, n_fonts): Removed external
	declarations for these variables, since they're declared static in
	xterm.c and not used elsewhere.
	* xterm.c (MAX_FONTS): Moved definition of this to here from
	xterm.h.

	* xterm.c (x_new_font): If you can't find the requested font,
	return a code which indicates this, instead of calling abort.

Mon Jan  7 10:08:47 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* xdisp.c (redisplay, display_mode_line): To test
	Vglobal_minibuffer_screen for validity, you must check that its
	type is Lisp_Screen; comparing it to Qnil isn't good enough.

	* screen.c (syms_of_screen): Initialize Vglobal_minibuffer_screen
	to Qnil; otherwise, it inhibits decent redisplay (is that another
	bug?)

	* dispnew.c (init_display): Make sure that the standard input is a
	terminal here.
	* emacs.c (main): Not here, since we don't know yet if we want to
	use a window system of some sort.

	* xfns.c (x_make_gc): Delete code to support default_face and
	highlight_face, since they're part of the interval code, and
	shouldn't be installed yet.

	* dispnew.c (init_display): calculate_costs expects a screen
	parameter; pass selected_screen, instead of nothing.

	* search.c (Freplace_match): Protect STRING.
	* process.c (run_filter): New function.
	(read_process_output, exec_sentinel): Use run_filter to call the
	process's filter function. 
 	(status_notify): GCPro MSG.
 	* process.c (Fopen_network_stream): Protect various args.
	* print.c (Fprin1_to_string, Fprint): Protect OBJ.
	* lread.c (Feval_region): Check type of B.
	* keymap.c (describe_alist): Protect ELT_PREFIX and TEM2.
	(describe_vector): Likewise for ELT_PREFIX and TEM1.

Sun Jan  6 23:25:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (init_sys_modes): Turn off VSUSP and V_DSUSP if they exist.
	Only on a MIPS.

Sat Jan  5 09:13:07 1991  Jim Blandy  (jimb at spiff.ai.mit.edu)

	* xselect.c (x_answer_selection_request): For incremental, set
	format to 32 and send only 1 element.  Pass the address of size,
	not size itself.
	(x_selection_arrival): For incremental, delete the property
	containing the size of the transfer.  This generates a
	PropertyNotify to the owner, starting the exchange.

	* xrdb.c (get_user_app): Pass correct number of parameters to
	sprintf.

	* xfns.c (x_window): Don't use backing store or saveunders; they
	seem to slow down suns.
	(x_icon): Set the InputHint to the window manager to False.
	(x_make_gc): Initialize gc_values.line_width to zero before
	creating the normal video GC, since it uses it.  And set the
	default_face and hilite_face gcs here.
	(install_vertical_scrollbar): Add 2 to thumbdown y position, and
	don't add ibw.

	* insdel.c (insert, del_range): Use SET_PT rather than assigning
	point directly.
	* window.c (Fselect_window): Here too.

	* xdisp.c (redisplay_all_windows): removed static declaration for
	this nonexistent function.

Fri Jan  4 01:05:07 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* window.c (window_loop): neatened up.  MINI being non-zero now
	makes it recognize active minibuffer windows.  Iterates properly
	over multiple screens when asked nicely.
	(Fget_lru_window, Fget_largest_window): SCREENS arguments are now
	declared as a Lisp_Object, and documented.
	(Fget_buffer_window): SCREENS argument is now documented.
	(Fdelete_other_windows): Delete other windows on the argument
	window's screen, not the current screen.

	* screen.c (window_from_coordinates): Changed other reference to
	Fnext_window to use next_screen_window; see below.

	* window.c (Fnext_window, Fprevious_window): Accept non-nil, non-t
	values for mini, and don't turn off all-screens when mini is t but
	there is no global minibuffer screen.  Remove screen_{root,mini}
	variables.
	(Fother_window): Added second argument all_screens.

	* undo.c (record_delete): Removed dead variable llength.

	* data.c (Qkeyp, Fkeyp): Removed these and supporting code.
	* keymap.c (Fsingle_key_description): Report an error instead of
	calling wrong_type_argument.
	* lisp.h (Qkeyp): Removed external declaration for this.
	
Thu Jan  3 17:30:46 1991  Richard Stallman  (rms at mole.ai.mit.edu)

	* search.c (search_buffer): Return starting position if count == 0.

Wed Jan  2 01:57:57 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* scroll.c (do_scrolling): Use correct limits on loop to clear
	lines just inserted--old version lost a line.

	* screen.c: #ifdef HAVE_X_WINDOWS, #include xterm.h
	(Ffocus_screen, Funfocus_screen): use Joe's new definitions, and
	only define these functions ifdef HAVE_X_WINDOWS.
	(window_from_coordinates): use next_screen_window instead of
	Fnext_window, so that global minibuffers work.

	* lread.c (syms_of_read): Don't forget to defsubr
	read-char-exclusive.

	* lisp.h (Fscreenp, Fselect_screen, Ffocus_screen,
	Funfocus_screen, Fselected_screen, Fwindow_screen,
	Fscreen_root_window, Fscreen_selected_window, Fscreen_list,
	Fnext_screen, Fdelete_screen, Fread_mouse_position,
	Fset_mouse_position, Fmake_screen_visible, Fmake_screen_invisible,
	Ficonify_screen, Fdeiconify_screen, Fscreen_visible_p,
	Fvisible_screen_list, Fscreen_parameters,
	Fmodify_screen_parameters, Fscreen_pixel_size, Fscreen_height,
	Fscreen_width, Fset_screen_height, Fset_screen_width,
	Fset_screen_size, Fset_screen_position, Fcoordinates_in_window_p,
	Flocate_window_from_coordinates, Frubber_band_rectangle): added
	extern declarations for all these.

	* lisp.h (Qscreenp): added an extern declaration for this.

	* lisp.h (DBL_DIG): Added constant for the maximum number of
	decimal digits a float could print to.  Used in print.c.

	* keymap.c (Fkey_description): Produce pretty descriptions of
	mouse and window system events too.
	(Fsingle_key_description): signal an error if obj is not a key.

	* data.c (Fkeyp, Qkeyp): Added predicate to recognize things which
	can be bound - this includes keys, symbols (for function keys and
	window system events), and conses (for mouse events).
	* lisp.h (Qkeyp): Added external declaration for this.

	* keyboard.c (Frecursive_edit): Don't specbind the standard IO here.
	(recursive_edit_1): Do it here, and don't forgot to unbind_to.

	(command_loop_1): Reset no_redisplay after mouse commands.

	(classify_object): Place the object in read_key_sequence_cmd.

	(Fread_key_sequence): recognize that when read_key_sequence
	returns -1 or -2, it's a mouse event or window system event.

Tue Jan  1 09:21:56 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* fileio.c (Fwrite_region): We should dereference GPT_ADDR[-1]
	before comparing it to '\n' for VMS cruft.
	(Fdo_auto_save): Don't call run-hooks before it's defined.  This
	only happens before emacs is dumped, when loading inc-vers.el.

 	* eval.c (Fsignal): TOTALLY_UNBLOCK_INPUT here.
	(error): Not here.

	(Feval): We use argvals[0..5], so declare it to have six elements
	instead of just five.

Sun Dec 30 23:24:10 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* eval.c (Fsignal): Don't ever return.
	Call error instead if user tries to use debugger to return.

	* eval.c (unbind_to): New second arg is value to return.  gcpro it.
	All callers changed to pass the arg; if a caller uses unbind_to
	just before returning, it passes as this arg the value it wants
	to return, then it returns whatever comes back.

Fri Dec 28 18:39:45 1990  Jim Blandy  (jimb at geech.ai.mit.edu)

	* print.c (print): put obj in a non-register variable so
	we could gcpro it.  Also fixed some syntax errors.

	* editfns.c (Fformat): declare nstrings, and declare nstrings and
	strings in a local block.
	(Fformat): XFLOAT(args[n]) isn't a float; ->data is.

Thu Dec 27 13:56:13 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-tower32.h: Add comments for how to optimize.
	* m-tower32v3.h: New file.

	* fileio.c (Fwrite_region): Save errno around unlock_file.

Wed Dec 26 17:48:01 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* editfns.c (Fformat): Handle floats.  Convert between int and float.
	Don't truncate value at null char coming from doprnt.
	* doprnt.c (doprnt): Replace tembuf with malloced buff if too small.
	Handle %e, %f and %g.

Tue Dec 25 18:05:00 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* abbrev.c (Fexpand_abbrev): Use insert_from_string, not insert.
	(Funexpand_abbrev): Likewise.
	* doc.c (Fsubstitute_command_keys): Likewise.
	* editfns.c (Finsert, Finsert_before_markers): Likewise.
	* minibuf.c (Fminibuffer_complete_word): Likewise.
	* mocklisp.c (Finsert_string): Use insert1.
	* vmsfns.c (Fdefault_subproc_input_handler): Likewise.

	* print.c: Don't use strout for the text of a Lisp string.
	(print_string): New function to use instead.
	(print): Use print_string when no escapes needed.
	When printing with escapes, protect the string and check addr often.

Mon Dec 24 18:42:43 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* insdel.c (insert_from_string): New function.

Thu Dec 20 18:09:19 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* term.c (ins_del_lines): Handle scroll region wrt chars_wasted.

Sun Dec 16 17:22:41 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* Globally renamed InsStr to insert_string.

Sat Dec 15 15:37:56 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-usg5-3.h (USG_SHARED_LIBRARIES): Define it.

	* m-intel386.h (C_SWITCH_MACHINE): New macro.

Sat Dec 15 13:36:28 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* alloc.c (STRING_FULLSIZE): Use sizeof(struct Lisp_String)
	instead of sizeof(int).

Fri Dec 14 03:31:28 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* keyboard.c (Fread_key_sequence): Clear this_command_key_count
	here; who unfixed this?

Wed Dec 12 16:17:56 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* abbrev.c (Fdefine_abbrevs): Don't crash when EXPANSION is nil.

Tue Dec 11 21:45:27 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* eval.c (Fmacroexpand): Change handling of (foo . bar) in ENV.

Mon Dec 10 00:11:29 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-pmax.h (SYSTEM_MALLOC): Define it.

	* process.c (wait_reading_process_input): Ignore failure with EIO.

Sun Dec  9 23:38:51 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-iris4d.h (LOAD_AVE_CVT): Divide by 1024.
	(LIB_STANDARD): Use -lbsd first.
	(LIBS_MACHINE): Don't use -lbsd here.
	* s-irix3-3.h (ADDR_CORRECT): Macro deleted.
	(LIBS_MACHINE): Macro deleted.
	(LDAV_SYMBOL): Delete the `_' from start of symbol.

	* process.c (create_process): Delete duplicate sigsetmask.

	* m-ibmrt.h (RTPC_REGISTER_BUG, SHORT_CAST_BUG): Macros deleted.
	(C_SWITCH_MACHINE): Use -D to define alloca.
	(SIGN_EXTEND_CHAR): Use a cast.

Wed Dec  5 20:05:58 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

     	* keyboard.c (Fsuspend_emacs): Protect STUFFSTRING.
	(cmd_error): Protect TAIL while printing.
	(input_poll_signal, start_polling): Use polling_period.
	(syms_of_keyboard): Initialize it and make it a Lisp var.

	* fns.c (Fyes_or_no_p): Protect PROMPT for entire loop.

	* fileio.c (Frename_file): Protect args.
	* fileio.c (Fadd_name_to_file): Protect the args.
	(Fcopy_file, Fmake_symbolic_link): Likewise.
	(Finsert_file_contents): Protect FILENAME.

Tue Dec  4 16:00:45 1990  Jim Blandy  (jimb at geech.ai.mit.edu)

	* eval.c (Fbacktrace): gcpro TAIL.
	* emacs.c (Fkill_emacs): gcpro ARG.
	* editfns.c (Fformat): remove remains of gcpro'd args.

	* dispnew.c (syms_of_dispnew): Don't clobber Vwindow_system_version
	if CANNOT_DUMP.

	* dired.c (file_name_completion): Check that FILE is a string.

	* buffer.c (Fbury_buffer): Don't init BUF1.

	* doc.c (Fsubstitute_command_keys): Protect STR and don't keep a
	pointer to the middle of it.

	* m-hp9000s300.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Override for BSD.

	* process.c (sigchld_handler): Clear synch_process_alive if the
	dying process isn't in the table at all.
	* callproc.c (call_process_cleanup): Clear synch_process_alive.

Mon Dec  3 13:48:08 1990  Jim Blandy  (jimb at geech.ai.mit.edu)

	* callproc.c (Fcall_process): change synch_process_pid to
	synch_process_alive, as a general flag that we are waiting for
	a synchronous process to die.  This obviates the need to block
	SIGCHLDs until we know the pid.
	* sysdep.c (wait_for_termination): wait for synch_process_alive	to
	be false.

	* process.c (sigchld_handler): If pid not recognized, look for a
	process recorded with pid -1.
	(create_process): Set pid to -1 before the fork.
	Store correct pid right after the fork.
	Don't change sigchld handler on system V.

	* process.c (Fstart_process): Set BUFFER before other string vars
	so a gc in Fget_buffer_create won't clobber them.

Fri Nov 30 18:07:13 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* keyboard.c (read_command_char): Save and restore getcjmp.

Thu Nov 29 16:57:02 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (status_convert): Use WRETCODE for exited process.

Mon Nov 26 14:34:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* s-usg5-4.h (LIB_STANDARD): Add libucb.a.
	(NEED_PTEM_H): Define this instead of NEED_SIOCTL.
	* m-ibm370aix.h, m-ibmps2-aix.h, m-ibmrs6000.h (NEED_SIOCTL):
	Undefine this.
	(NEED_PTEM_H): Likewise.

	* s-sunos4.h (O_NDELAY): Don't define this.

	* print.c (Fwith_output_to_temp_buffer): Don't eval first arg twice.

Thu Nov 22 17:29:26 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-hp9000s300.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Alternate defs for BSD.

Wed Nov 21 15:59:58 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* dispnew.c (init_display): Check if we're using a window system
	before trying to initialize the terminal.  If someone has
	indicated that they want to use a window system, we shouldn't
	bother initializing the terminal.  This is especially important
	when the terminal is so dumb that emacs gives up and doesn't bother
	using the window system.

Tue Nov 20 19:02:02 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* print.c (Fexternal_debugging_output): added new function which
	writes a character to stderr, for use when debugging emacs with
	gdb.

Wed Nov 14 19:10:53 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* dispnew.c (window_change_signal): used to assume that SIGWINCHes
	always applied to the currently selected screen.  Now it scans the
	list of screens for a screen controlled by termcap, and changes that
	screen's size.

Tue Nov 13 12:04:10 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* fileio.c (err_str): New macro.
	(Finsert_file_contents, Fwrite_region): Use it in error messages.

Mon Nov 12 17:18:00 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* insdel.c (del_range): Supply missing arg to gap_left.

Sun Nov 11 15:45:03 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* regex.c: Disabled definition of NULL from lisp.h

	* crt0.c (_start): added static declaration of start1.

	* xfns.c: added definition for Vbar_cursor.
	(syms_of_xfns): Added DEFVAR_LISP clause for Vbar_cursor.

	* xterm.c (XTread_socket): passed &event.xkey instead of &event to
	XLookupString, so things will typecheck nicely.

	* Globally rewrote all references to Vmouse_buffer to use the
	buffer viewed by Vmouse_window instead.

	* alloc.c (xmalloc, xrealloc): removed calls to
	{un,}hold_window_change.  The new SIGWINCH-handling code and
	do_pending_window_change make them unnecessary.

Sun Nov 11 14:12:22 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (wait_reading_process_input): Make Available static;
	don't clear when a nonzero bit is found.

	* fns.c (Fnthcdr): Stop loop if reach end.

	* dispnew.c: Include fcntl.h if HAVE_TERMIO.

Sat Nov 10 16:32:59 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* alloc.c (make_uninit_string): No longer declared static, and
	extern declaration added to lisp.h.  It's used in dired.c.

Thu Nov  8 22:34:30 1990  Jim Blandy  (jimb at geech.ai.mit.edu)

	* dispnew.c (do_pending_window_change): Changed incorrect call to
	change_window_size_1 into a loop which scans list of screens and
	resizes those that need resizing.

Tue Nov  6 22:00:52 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-ibmrs6000.h (CANNOT_DUMP): Define it.

	* process.c (create_process): Unblock SIGCHLD in the child.

	* process.c (wait_reading_process_input): Don't read input
	from more than one process between calls to `select'.

Fri Nov  2 15:13:17 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* callint.c (syms_of_callint):
	Initialize Vprefix_arg and Vcurrent_prefix_arg.

Thu Nov  1 17:00:06 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* dired.c (Fdirectory_files): Avoid using MAXNAMLEN.

Wed Oct 31 10:36:08 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* process.c (MAXDESC): Enclosed definition in `#ifndef ... #endif'
	clause.

	* bytecode.c: Included syntax.h to declare syntax_code_spec.

	* syntax.h (syntax_spec_code): Added extern declaration for this.

	* floatfns.c (float_error): Added static declaration for this at
	the top of the file.

Mon Oct 29 19:53:19 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* indent.c (position_indentation): renamed stray `bf_cur' to
	`current_buffer', and old `CharAt' usages to `FETCH_CHAR'.
	* buffer.c (Fbuffer_disable_undo): the symbol object for this
	subroutine was still named Sbuffer_flush_undo, and the symbol's
	lisp name was similarly out of date.  Renamed both, and added an
	alias in lisp/subr.el .

	* keyboard.c (Fset_input_mode): a `meta_flag' had escaped being
	renamed to `meta_key'.

Mon Oct 29 16:56:40 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (Fprocess_send_region, Fprocess_send_string):
	Break data into bunches less than 500 bytes.
	Accept process output between bunches.
	??? Must update manual.

Mon Oct 29 16:25:40 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* window.c (Fset_window_start, window_scroll): renamed stray
	references to `redo_mode_line' to `update_mode_line'.

	* xdisp.c (decode_mode_spec): renamed stray references to `bf_cur'
	and `bf_modified' to `current_buffer' and `MODIFF'.

Thu Oct 25 16:55:07 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* environ.h: file created - contains declarations for users of the
	environment variable list.
	* callproc.c (environ): removed extern declaration of environ, and
	included environ.h.

Wed Oct 24 22:00:45 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* callproc.c (init_callproc): removed extern declaration of
	environ - it's already taken care of at the top of the file.

	* mocklisp.h: file created - externally declares certain
	functions defined in mocklisp.c.
	* lisp.h (Fread_buffer, Fread_key_sequence): added extern
	declarations for these functions.
	* callint.c (ml_apply, Fread_buffer, Fread_key_sequence): removed
	extern declarations for these functions, included mocklisp.h.
	Moved external declaration of index to top of file.

Wed Oct 24 15:18:14 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* ymakefile (GNULIB_VAR): New make variable.
	(LIBES): Use that, not GNULIB directly.
	(GNULIB): Don't define if already defined.

Tue Oct 23 15:29:26 1990  Jim Blandy  (jimb at geech.ai.mit.edu)

	* indent.h (last_known_column_point): added extern declaration for
	this variable.
	buffer.c (last_known_column_point): removed extern declaration for
	this variable, included indent.h.
	(Vprin1_to_string_buffer): removed extern declaration - it's
	already in lisp.h.

	* lisp.h (catchlist, backtrace_list, stack_bottom,
	current_global_map): added extern declarations for these
	variables.
	* alloc.c: removed external declarations for catchlist,
	backtrace_list, and stack_bottom, since this file includes
	lisp.h.
	* callint.c: (current_global_map): removed extern declaration.

	* search.h: new file - declares searchbuf.
	* dired.c (Fdirectory_files): removed extern declaration of
	searchbuf, included search.h.

	* Globally renamed `CHAR_AT_POSITION' to `FETCH_CHAR'.

Mon Oct 22 14:07:45 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* keyboard.c (quit_char): New variable.
	(init_keyboard): Initialize it.
	(Fset_input_mode): New optional arg to set quit_char.
	(command_loop_1, read_char, kbd_buffer_store_char):
	(read_avail_input): Use quit_char, not C-g.
	* sysdep.c (init_sys_modes): Use quit_char to set special chars.
	* xterm.c (x_term_init): Pass new arg to Fset_input_mode.

Mon Oct 22 00:48:27 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* xdisp.c: added `extern' declaration for command_loop_level.

	* term.c (term_init): Internal cleanups.
	(write_glyphs): renamed argument `start' to `string'.

Sun Oct 21 15:21:39 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* xterm.c (FIONREAD): Undefine if BROKEN_FIONREAD.
	(SIGIO): Undefine if no FIONREAD.
	(ioctl.h, termio.h, strings.h, string.h): Include them before those.

	* alloc.c (make_vector_from_string, Fvector_from_string):
	Functions deleted.

	* sysdep.c (select): Handle timeout == 0.  Add var local_timeout.

	* alloc.c (make_uninit_string, make_float): Use VALIDATE_LISP_STORAGE.
	(Fcons, Fmake_vector, Fmake_symbol, Fmake_marker): Likewise.
	(Fmake_vector_from_list): Likewise.
	(VALIDATE_LISP_STORAGE): New macro.

Sat Oct 20 00:59:31 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* dispnew.c (scrolling): Give up if some new lines not enabled.
	(update_screen): Rework outq logic.

	* xdisp.c (message, message1): Clear noninteractive_need_newline.

Fri Oct 19 18:14:10 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* scroll.c (do_scrolling): allocate queue using alloca instead
	of variable-sized arrays.

Fri Oct 19 17:25:34 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* buffer.c: Doc fix.

Thu Oct 18 14:40:04 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* print.c (internal_with_output_to_temp_buffer): install an
	unwind_protect to make sure the current buffer is restored.

	* minibuf.c (read_minibuf): call recursive_edit_1 instead of
	Frecursive_edit, to support the new command_loop_level
	arrangement.

	* malloc.c (calloc): Added this function, in case something linked
	with emacs calls it.

	* lread.c (openp): Since access returns 0 on success, change that
	into a 1 before returning it.

	* lisp.h: deleted DEFSIMPLE and DEFPRED, since they're no
	longer used.

Thu Oct 18 13:43:50 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-intel386.h (alloca): Define as builtin, if using GCC.

	* m-att3b.h (NEED_PTEM_H): Define this for 3b2.

	* s-aix3-1.h (SYSV_SYSTEM_DIR): Define it.

	* print.c (print): Improve error message for bad data type.

Thu Oct 18 13:02:54 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* keymap.c (Flookup_key): rearranged to use an index into the key
	sequence instead of a pointer and a level counter.

Thu Oct 18 12:53:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* floatfns.c (sinh, cosh): On VMS, define to use exp.
	(IN_FLOAT): Detect errors reported using errno.
	(float_error): Define function unconditionally.
	Reestablish handler when called, if not BSD.

Wed Oct 17 12:04:18 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-delta.h (C_DEBUG_SWITCH): Don't define this.

Wed Oct 17 00:05:44 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* keyboard.c (command_loop): made call to command_loop_2
	conditional on minibuf_level too (it used to be only conditional
	on command_loop_level), since this is what 18.56 and all the other
	functions in Emacs 19 keyboard.c do.

Tue Oct 16 23:55:24 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* keyboard.c (read_char): Don't echo dash if there is already
	something else being displayed in the echo area.

Tue Oct 16 13:23:37 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (status_convert): If killed by signal, use WTERMSIG.

	* data.c (arith_error): Reestablish handler on VMS.

	* keyboard.c (start_polling, stop_polling): New functions.
	(input_poll_signal): New function, handles periodic alarms.
	(read_command_char): Turn off polling temporarily.
	* xdisp.c (redisplay): Likewise.
	* process.c (wait_reading_process_input, create_process): Likewise.

Tue Oct 16 01:22:09 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* indent.c (position_indentation): instead of using CharAt, use a
	pointer to scan the buffer - this is faster.

	* emacs.c (Fdump_emacs): The conditional expression which passes
	symname to unexec was missing a `: 0'.

	* dispnew.c (rotate_vector): Was rotating backwards.

Mon Oct 15 23:37:57 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* dired.c (file_name_completion): Use scmp to compare names.

Mon Oct 15 00:27:43 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* process.c (create_process): Don't turn off handling of SIGCHLD.
	Just set a flag if a signal comes in when not wanted.
	(create_process_sigchld): New signal handler.

Sun Oct 14 18:22:11 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* bytecode.c: De-implement Bmark, Bset_mark, Bscan_buffer.
	Mark Bsymbol_function, Bfset, Bread_char as obsolete.
	Implement codes Bmult, Bforward_char...Bwiden,
	and Bstringeqlsign...Bintegerp.

Fri Oct 12 00:28:00 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* buffer.c (list_buffers_1): Select the buffer given in
	Vstandard_output using Fset_buffer instead of set_buffer_internal.

	* buffer.c (set_buffer_internal): deleted variable swb - it's
	never used.

	* buffer.c (count_modified_buffers): function deleted - it's
	not used anymore.

Thu Oct 11 23:30:01 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* buffer.c (reset_buffer_local_variables, buffer_local_variables):
	added support for default values for buffer local variables which
	do not have a DEFVAR_PER_BUFFER, as described in the comments
	above buffer_local_flags.

	* buffer.c (Fget_buffer_create): move initialization of
	b->save_length and b->last_window_start to reset_buffer.

Thu Oct 11 11:58:40 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-ibmps2-aix.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Define them.
	(C_DEBUG_SWITCH): Delete -fstrength-reduce.

	* unexmips.c (unexec): Add conditional for MIPS2.

Wed Oct 10 16:36:23 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-iris4d.h (LIBS_MACHINE): Use -lsun, don't use -lPW.

	* unexelf.c: New file.
	* s-usg5-4.h: New file.
	* unexec.c [USG_SHARED_LIBARARIES]: Numerous changes under this cond.
	(copy_text_and_data): New second argument.

Wed Oct 10 12:00:00 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

        * alloc.c (gc_sweep): only unchain markers that are in a buffer.

Wed Oct 10 11:16:40 1990  Mike Rowan  (mtr at apple-gunkies)

	* process.c: Merged in more changes from 18.56: update_status,
	FD_SET changes (define all the FD_ macros).  Other small changes.

Tue Oct  9 17:30:26 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)

	* xdist.c: (decode_mode_spec): reworked code to handle %* - it now
	goes like `if return else if return else ... return' instead of
	using a conditional operator.

	* xdist.c: (fmodetrunc): function deleted - no longer used.

Tue Oct  9 16:29:11 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* xdisp.c (decode_mode_spec): Handle dashes in wide windows.

Mon Oct  8 18:55:20 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (sys_open, sys_close, sys_read, sys_write):
	Don't handle EAGAIN.

	* process.c (wait_reading_process_input): Handle nread==-1
	for O_NDELAY like O_NONBLOCK.

	* s-vms.h (LINK_CTRL_SHARE): Turn on again.
	tranle@@intellicorp.com found it needed in VMS 5.3.

	* emacs.c (main): Move VMS declaration of environ outside function.

	* vmsfns.c (Fdefault_subproc_input_handler): InsCstr -> insert.

Sun Oct  7 22:48:33 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-pmax.h (START_FILES): Handle crt0.o in different dir in Ultrix 4.0.

	* s-sunos4.h (O_NDELAY): Define only if not defined.

Sat Oct  6 17:06:42 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* sysdep.c (tabs_safe_p, get_screen_size): renamed `sg' to `tty'.

	* sysdep.c (init_baud_rate): rearranged code for calculating
	baud_rate.

Fri Oct  5 14:44:40 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* search.c (Freplace_match): used Finsert_buffer_substring instead
	of place and deleted place.

	* search.c (place): function removed

	* process.c (count_active_processes): Deleted; not used.

	* minibuf.c (read_minibuf): renamed `prefix' argument to `initial'.

Mon Oct  1 15:52:35 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* lread.c (Fload): renamed `MISSING-OK' to `NOERROR'.

	* keyboard.c (describe_map): renamed `keys' to `string'.

	* keyboard.c `Vauto_save_interval' unrenamed back to
	`auto-save-interval'. 

	* keymap.c (Fdefine_key, Flookup_key): renamed arguments called
	`keys' to `key'.

Mon Oct  1 13:51:03 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (sys_open, sys_close, sys_read, sys_write):
	Handle EAGAIN like EINTR.

Sun Sep 30 16:37:26 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* insdel.c (gap_left, gap_right): Use bcopy if requested.
	New config parameters GAP_USE_BCOPY, BCOPY_SAFE_UPWARD,
	and BCOPY_SAFE_DOWNWARD.

	* eval.c (find_handler_clause): Bind debug-on-error to nil.
	(Qdebug_on_error): New variable.
	(syms_of_eval): Initialize that.

	* sysdep.c: Include various headers for ptys, for hpux, aix, and sysv.

	* dispnew.c (preserve_other_columns): Fix args to second bcopy.

Sun Sep 30 16:08:16 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* keyboard.c: `auto_save_interval' renamed to
	`Vauto_save_interval', since it *is* a lisp-accessible variable.

	* fileio.c (Fdo_auto_save): call record_auto_save so that
	read_char knows when we've auto-saved.

	* keyboard.c (record_auto_save): added function to support the new
	auto-save conditions.

	* keyboard.c (read_char): use num_input_chars and last_auto_save
	instead of keystrokes to decide when to autosave.

	* keyboard.c (keystrokes): variable deleted.

Sun Sep 30 10:22:40 1990  Mike Rowan  (mtr at spike.ai.mit.edu)

        * keyboard.c and alloc.c:  added malloc warning code from
	18.56.

	* dispnew.c, xdisp.c: (un)hold_window_change no longer exists;
	added do_pending_window_change from 18.56.

	* process.[ch]:  added the raw_status_low and raw_status_high
	code from 18.56.

Sat Sep 29 00:04:31 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* alloca.s: Handle ns32000 like ns16000.

	* m-ns32000.h: New file.

	* lread.c (Fload): Warn if elc file older than source file.

	* ymakefile (LIB_X11_LIB): New parameter,default -lX11.
	(LIBX): Use that.

	* Makefile (xmakefile): Delete junk.c at the beginning.

	* hftctl.c: Include termios.h before termio.h.
	Define TCGETS and TCSETS if nec.
	Give some forward declarations for the static functions.
	Reformat in usual GNU style.

	* m-orion105.h (LOAD_AVE_TYPE, FSCALE): Changed from double and 1.0.

	* m-delta.h: New file.

Fri Sep 28 17:57:46 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* fns.c (Frequire): Undo certain things on failure, like autoload.

Fri Sep 28 12:39:11 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)

	* fileio.c (Fwrite_region): renamed variable `fd' to `desc' and
	changed argument to open from `1' to `O_WRONLY'.

	* fileio.c (O_WRONLY): added clause to define this if not already
	defined.

	* emacs.c (Fdump_emacs): removed a_name variable.

	* emacs.c (Fkill_emacs): removed code which asked about modified
	buffers and running subprocesses.

	* editfns.c (Fcurrent_time_string): renamed variable `now' to
	`current_time'.

	* dispnew.c (update_line): renamed variables `m1' and `m2' to
	`begmatch' and `endmatch'.

	* dispnew.c (update_screen): use preempt_count as a limit instead
	of a counter; count with i instead.

	* dispnew.c (visible_bell, inverse_video, baud_rate,
	Vwindow_system): rearranged comments.

Thu Sep 27 20:59:54 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* emacs.c (main) : Set the DISPLAY environment value when both of
	MAINTAIN_ENVIRONMENT and HAVE_X_WINDOW are defined.

	* m-convex.h (LIB_STANDARD, LIBS_MACHINE): remove these, they
	cause an unnecessary C1/C2 dependency.

	* m-convex.h (LD_SWITCH_MACHINE): use -e__start to specify
	where crt0.c begins.

	* m-convex.h (HAVE_SETSID): define; must call setsid
	when creating an inferior with a different controlling tty.
	* process.c (create_process): rearrange so that HAVE_SETSID
	will be seen when not under USG.

	* m-convex.h (S_IFMT etc): define in case of posix compilation.

	* m-convex.h (FIRST_PTY_LETTER): do it at runtime.
	* unexconvex.c (first_pty_letter): routine to locate lowest pty.

	* unexconvex.c: Rewrite so it can cope with thread-local sections.

	* sysdep.c (select): Use process_tick and update_tick,
	not child_changed.

Sun Sep 23 14:25:45 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* keyboard.c (Fsuspend_emacs): Check screen size after resume.

Wed Sep 19 18:21:10 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* editfns.c: Doc fix.

Tue Sep 18 09:21:44 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* window.c (Fsplit_window): Minor cleanup.

Mon Sep 17 11:22:45 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* emacs.c (main) [USG_SHARED_LIBRARIES]: Call brk.

Thu Sep 13 15:40:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* floatfns.c (float_error_arg): New variable.
	(IN_FLOAT): New arg; sets float_error_arg.  All uses changed.
	(float_error): Use that value when signaling error.

Tue Sep 11 16:25:53 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* unexaix.c, m-ibmr2.h, s-aix3-1.h: New files.

	* ymakefile (allocaobj): New variable.  Used in otherobjs.
	Eliminates assignment of mallocobj using itself.
	(mallocobj): Handle SYSTEM_MALLOC without HAVE_ALLOCA.
	(xemacs): Use -nl option if HAVE_SHM.

	* sysdep.c: Change IBMRTAIX conditionals to AIX.
	Move hft.h to the top.
	[IBMR2AIX]: Use termios.h and change macros accordingly.
	(child_setup_tty): Change IBMRTAIX to AIX.
	(setpgrp_of_tty): Handle IBMR2AIX.
	(init_sys_modes): Handle IBMR2AIX.  Output special things for AIX.
	(reset_sys_modes): Output special things for AIX.
	(hft_init, hft_reset): Conditionals for IBMR2AIX.

	* process.c: Change IBMRTAIX to AIX controlling time.h.
	[AIX]: Include sys/pty.h and unistd.h.
	(wait_reading_process_input): If AIX, handle EBADF differently.
	(create_process): Handle HAVE_SETSID.  Change conditional to AIX.

	* lisp.h (XPNTR): New definition if HAVE_SHM.
	(NULL): Undef before defining.

	* emacs.c (main): If HAVE_SHM, call map_in_data.
	Use AIX, not IBMRTAIX, for signal conditional.
	(Fdump_emacs_data): New function if HAVE_SHM.
	(Fdump_emacs): Don't define if HAVE_SHM.

	* alloc.c (pure, PUREBEG): If HAVE_SHM, define place for a segment.

Mon Sep  3 19:13:05 1990  Mike Rowan  (mtr at apple-gunkies)

	* sysdep.c: added setup_pty from 18.56

	* process.c:  merged in 18.55->6 changes.  Same for process.h

	* globally replaced:
		   redisplay_preserving_echo_area -> redisplay_preserve_echo_area
		   SetBfp -> set_buffer_internal 
		   buffer_flush_undo -> buffer_disable_undo 
		   redo_mode_line -> update_mode_line  (window.h)

Fri Aug 31 14:17:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* data.c (Fmake_local_variable): If var is local when set, make it
	local now in this buffer.

	* data.c (Fstring_to_int): Finish eliminating second arg.

	* data.c (Faset): Require integer as third arg for string.

Tue Aug 28 15:10:28 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* search.c: Doc fix.

	* screen.h (SCREEN_SCROLL_BOTTOM_VPOS): New macro.
	* xdisp.c (screen_bottom_vpos): Variable used if just one screen.
	(redisplay, try_window_id): Set that field in screen.
	* dispnew.c (scrolling, update_screen): New arg scroll_bottom_vpos.

	* dispnew.c (scroll_screen_lines): Mark newly empty lines as empty.
	(scrolling): Give up if any line in current_screen not enabled.

Mon Aug 27 21:40:31 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* dired.c (Ffile_attributes): Return the device number too (elt 11
	of the returned list).

Mon Aug 27 12:42:22 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* sysdep.c (wait_for_kbd_input): Frob waiting_for_input here.
	* keyboard.c (kbd_buffer_read_command_char): Not here.

	* sysdep.c (wait_for_kbd_input): Clear process_ef before snarfing
	process input.

	* fileio.c (Fdirectory_file_name): On VMS, leave space for log name.

	* sysdep.c (init_sys_modes): Clear process_ef only the first time.

	* vmsfns.c (process_exit): Logic of deletion was wrong.
	(Fspawn_subprocess): Correctly reuse existing struct process_list.

Wed Aug 22 12:40:29 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* m-plexus.h (LD_SWITCH_MACHINE): New macro.

Wed Aug 22 11:23:39 1990  Joseph Arceneaux  (jla at geech)

	* xterm.c (XTread_socket): Cleaned up #ifdefs prior to event
	reading loop.  Also handle FIOSNBIO.

Sun Aug 19 14:04:15 1990  Joseph Arceneaux  (jla at geech)

	* xterm.c (dumplyphs): Last vestige of MScreenWidth removed.
	* config.h: MScreenWidth, MScreenHeight definitions removed.

Sat Aug 18 21:23:49 1990  Joseph Arceneaux  (jla at geech)

	* scroll.c (do_scrolling): Pass the correct sizes to bcopy.
	* dispnew.c (make_screen_glyphs): Likewise.

Thu Aug 16 11:35:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* dispnew.c (scroll_screen_lines, free_screen_glyphs): Only deal
	with the X components of screen_glyphs if SCREEN_IS_X.
	free_screen_glyphs now takes screen argument.

	* window.c (Fnext_window, Fprevious_window): Fixed typo.  New
	behaviour:  mini non-nil implies all_screens if global mini screen
	exists, implies current screen only if not.
	(Fdisplay_buffer): Simplification of multi-screen code.

Wed Aug 15 17:24:51 1990  Richard Stallman  (rms at mole.ai.mit.edu)

	* buffer.c: Doc fix.

Wed Aug 15 16:59:46 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* dispnew.c (update_line): Simplification of pixel size code, only
	done if screen is X.
	(update_screen): Only set pixel stuff if screen is X.

Tue Aug 14 23:35:19 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-targon31.h (NO_REMAP): Definition removed.
	(SEGMENT_MASK): New macro.

Tue Aug 14 12:13:51 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* lread.c (eval-region): Don't set opoint to point, etc.
	Fnarrow_to_region from BEGV, not b.
	(eval-buffer): New subr, generalization of eval-current-buffer.
	(eval-current-buffer): Moved to elisp, in simple.el.

	* xfns.c (x_y_pos): Nuked.  Replaced by pixel_to_char_translation
	and notice_mouse_movment (dispnew.c, xterm.c).
	(Fx_point_coordinates): Also nuked.
	mouse_buffer_offset:  New lisp variable.

	* xterm.c (notice_mouse_movement): Use it in call to
	pixel_to_char_translation.

	* screen.h: For non-multiscreen, XSCREEN returns selected_screen,
	as does WINDOW_SCREEN.

	* xdisp.c (display_mode_line): Set desired_glyphs->bufp to 0 for
	mode line.
	All occurences of struct screen * replaced with SCREEN_PTR.

Mon Aug 13 19:09:00 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xmenu.c (list_of_items, list_of_panes): Fixed wrong params to
	wrong_type_argument.

Sun Aug 12 12:32:27 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* dispnew.c (pixel_to_char_translation):  New algorithm for
	finding y.

	* xfns.c (install_*_scrollbar): No more height, width parameters.
	Don't block input here.
	(x_set_*_scrollbar): Block input here.

	* xterm.c (notice_mouse_motion): Check if the mouse is still in
	the window.
	(encode_mouse_button): Don't bother about motion types.

Sat Aug 11 19:00:49 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-convex.h (C_SWITCH_MACHINE, LIB_STANDARD, LIBS_MACHINE):
	(LD_SWITCH_MACHINE): Add definitions for Convex V 4.0.

Sat Aug 11 13:09:53 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xfns.c (Fx_grab_pointer): Call XCreateFontCursor on shape,
	setting new variable grabbed_cursor.  Return Qt if successful,
	Qnil otherwise.
	(Fx_ungrab_pointer): free grabbed_cursor if non zero.  Return Qnil.

Fri Aug 10 09:27:58 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xfns.c (x_figure_window_size): Don't set pixel sizes until
	height and width are determined.

Wed Aug  8 12:48:41 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xfns.c (Fx_grab_pointer): New parameter to explicitly ignore
	keyboard events.

	* xterm.c (notice_mouse_movement): Use pixel_to_char_translation
	to get char position and buffer offset.

Tue Aug  7 21:35:22 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c [NEED_PTEM_H]: New flag macro says include ptem.h.

Tue Aug  7 11:22:38 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* dispextern.h: element bufp of screen_glyphs no longer dependent
	on X windows.
	* xdisp.c (display_text_line): Likewise.

	* xfns.c (Fx_grab_pointer, Fx_ungrab_pointer): New subrs.
	(x_figure_window_size): Set pixel_width and pixel_height of
	screen, using font height and width.

	* xfns.c: Vmouse_grabbed renamed Vmouse_depressed.
	* xterm.c: Likewise.
	(construct_mouse_event): Don't check mouse coordinates;  this is
	done by the notice_mouse_motion.  Don't grab the mouse here.

	* dispnew.c (update_line): Set the pix_width and pix_height of the
	line.  This fashion of doing so is temporary.

Mon Aug  6 13:57:02 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* dispextern.h: screen_glyphs struct elements bottom_right_x,
	bottom_right_y changed to pix_width and pix_height.
	* scroll.c: Likewise.
	* dispnew.c: Likewise.
	(update_screen): Set top_left_x, top_left_y for X windows.

	* xterm.h: Macros PIXEL_{WIDTH,HEIGHT} now use the display
	structure elements.

Sun Aug  5 12:07:16 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xfns.c (x_window_to_scrollbar): Return Lisp symbol in parameter
	PART_PTR, rather than string.
	Declare these symbols.
	New variable Vscreen_part, indicates which part of the screen the
	mouse is in.

	* xterm.c (notice_mouse_motion): Do XQueryPointer first thing.
	Set Vmouse_event to Qnil.
	(construct_mouse_event): Don't check if mouse has moved or not.
	When returning cons, part is now already lisp symbol.
	(XTread_socket): Set Vmouse_window = Vscreen_part = Qnil when
	leaving screen, as well as setting x_mouse_x = x_mouse_y = -1.

	* keyboard.c: Vmouse_window, Vmouse_event declared extern and no
	longer DEFVARed:  they are already delclared in window.c

	* screen.c (window_from_coordinates): Use Fnext_window, even if
	MULTI_SCREEN, to obtain the next window.  This is an test.
	Also, new paramater part returns text or modeline symbol.
	(Flocate_window_from_coordinates): Pass &part to
	window_from_coordinates.
	(coordinates_in_window): Don't say modeline if window_height is 1,
	as this is likely to be the minibuffer.

Sat Aug  4 13:43:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* screen.c (Fcoordinates_in_window_p): Doc fix.  Simplified.
	(window_from_coordinates):  New function.
	(Flocate_window_from_coordinates):  Use it.

	* keyboard.c (classify_object):  New function for dealing with the
	input object.  New symbol, mouse-motion, called here.
	Call to mouse-motion-handler now takes no parameters.
	(read_key_sequence):  Use the new function.  Don't set keybuf[0]
	to 0.

	* xterm.c (init_input_symbols):  Create all the Lisp symbols
	returned in the input stream.
	func_key_syms:  New array to hold all symbols for function keys.
	(x_func_key_to_sym): Use this array.
	(notice_mouse_movement): New function for dealing with motion
	events.
	(XTread_socket): Use it here.

Thu Aug  2 22:26:45 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* callproc.c (child_setup): Report error in chdir.

Wed Aug  1 12:01:24 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* lisp.h: New macro XFLOATINT.  extract_float declared.
	* floatfns.c (Ffloor): Call floor, not ceil.
	(extract_float): No longer static.
	* bytecode.c (Fbyte_code): Correctly handle floats in case Beqlsign.

Tue Jul 31 23:25:40 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* keyboard.c (read_key_sequence): When downcasing letters,
	don't change the value returned in keybuf.
	(This is an experiment; it might be unpleasant in
	things such as C-h c, but it is an improvement
	for M-x global-set-key.)

Mon Jul 30 13:46:01 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* eval.c: Doc fix.

Sat Jul 28 22:19:32 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* s-iris*.h (SYSTEM_TYPE): Change silicon-graphics-unix to irix.

Thu Jul 26 21:49:47 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* indent.c (Fmove_to_column): End-test was off by 1.

	* abbrev.c (Fexpand_abbrev): Return nil if alloca arg would be neg.

Thu Jul 26 14:26:53 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xdisp.c (display_text_line):  String to rope copy for inserting
	arrow text.

Wed Jul 25 15:21:04 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xdisp.c (display_mode_line): Check that the name has actually
	changed before calling x_set_name.

	* ralloc.c (check_memory_limits):  New function.
	Also check if new memory will be larger than elisp pointer.
	(r_alloc_sbrk): Call this function.
	(relocate_blocs_upward, relocate_blocs_downward): Eliminated.
	(r_alloc_sbrk): Use relocate_some_blocs instead of the eliminated
	functions.

	* vm-limit.c (morecore_with_warning): Check if new memory larger
	than elisp pointer size.

Tue Jul 24 21:14:26 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* keyboard.c (save_getcjmp, restore_getcjmp): New functions.
	(read_char): Use them around Fdo_auto_save.
	* process.c (read_process_output, exec_sentinel): Use them.
	* fileio.c (Fdo_auto_save): Run auto-save-hook.

Tue Jul 24 11:35:38 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* dispnew.c (safe_bcopy): No longer static.

	* ralloc.c (relocate_blocs_upward, relocate_blocs_downward):  Use
	safe_bcopy.

	* mem_limits.c:  typedef SIZE.

Thu Jul 19 10:18:32 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* fileio.c (Finsert_file_contents): Initialize how_much when exiting
	main loop.

	* m/m-mips.h: Added stuff from the 18.56 version.

Wed Jul 18 15:00:47 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* indent.c (Fmove_to_column):  Set end to ZV.

Tue Jul 17 21:31:30 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* editfns.c (init_editfns): Let envvar NAME override full name.

	* buffer.c (list_buffers_1): Avoid error with list-buffers-directory.

Tue Jul 17 14:32:03 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* buffer.c (list_buffers_1):  Don't check list-buffers-directory.

Mon Jul 16 10:03:10 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xdisp.c (display_text_line):  Don't print ellipsis if they're
	off the left edge.

Tue Jul 10 16:01:04 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* s-386-ix.h: Define BROKEN_TIOCGETC.

Mon Jul  9 14:33:07 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-pmax.h: Undef LD_SWITCH_MACHINE, change DATA_START
	and DATA_SEG_BITS.

Thu Jul  5 13:38:24 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* s-iris3-6.h (HAVE_GETWD): Define this.
	(KERNEL_FILE): Change to /unix.
	(sigsetmask, sigblock, NEED_ERRNO, C_SWITCH_MACHINE): Turn off.
	(SIGIO): Don't undefine it.
	(LIBS_MACHINE): Remove -lbsd.

	* minibuf.c (Fall_completions, do_completion): Treat nil as alist.
	(Ftry_completion): Likewise.

Sun Jul  1 17:21:40 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c: Undefine TIOCGETC if BROKEN_TIOCGETC defined.
	* s-usg5-3.h, s-xenix.h: Define BROKEN_TIOCGETC.

Tue Jun 26 17:15:42 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (Fopen_network_connection): Minor cleanup.

Wed Jun 20 12:45:36 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-sun3.h: Add comments for dealing with 68881.

Tue Jun 19 16:58:22 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* m-ibmps2-aix.h [__GNUC__]: Define LIB_STANDARD and C_DEBUG_SWITCH,
	and don't define LIBS_MACHINE.
	(HAVE_WAIT_HEADER): Define this.
	Also reordered definitions so recently added ones are together.

Sun Jun 17 17:56:27 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* insdel.c (insert): Error if buffer would get too long.
	* fileio.c (Finsert_file_contents): Likewise.

Sat Jun 16 23:33:20 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* syntax.c (scan_sexps_forward): Allow Squote inside symbols.

Sat Jun 16 17:03:45 1990  Joseph Arceneaux  (jla at geech)

	* window.c (Fscroll_other_window): Don't unbind_to.  Keep track of
	current_buffer and point explicitly.

Fri Jun 15 11:32:42 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* term.c: (cursor_to): Only add chars_wasted if not calling hook.
	(clear_end_of_line_raw): Likewise.
	(clear_end_of_line): Check that screen is termcap before using
	chars_wasted.
	(ins_del_lines): Eliminated local copybuf[].
	(calculate_ins_del_char_costs): Now has screen parameter.
	DCICcost: Change to char_ins_del_costs and defined with
	SCREEN_WIDTH (screen).
	DC_ICcost: Changed to char_ins_del_vector.
	* term.h: DCICcost no longer defined here.  DC_ICcost no longer
	declared here.
	* dispnew.c: char_ins_del_cost defined here.  char_ins_del_vector
	declared extern here.

Thu Jun 14 19:11:11 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* Globally replaced screen_width with macro
	SCREEN_WIDTH (selected_screen).
	* dispnew.c (init_display): Don't set SCREEN_WIDTH, etc. from
	screen_width.
	(change_window_size):  No longer check output_type and set
	ScreenRows.

Mon Jun 11 22:55:37 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* indent.c (Findent_to): Don't fail to return value.
	(Fmove_to_column, Fcurrent_column): Doc fixes.

Wed Jun  6 12:13:30 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* keyboard.c (echo_prompt):  Now uses glyphs.
	echobuf, echobuf_ptr:  These variables now glyphs.

Tue Jun  5 20:02:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* fileio.c (Fdo_auto_save): Use glyphs_to_str_copy to set
	omessage.
	* alloc.c (Fgarbage_collect): Ditto.

	* xdisp.c (message):  message_buf set here, realloced if smaller
	than screen width.
	message_buf now type GLYF *.  New variable message_buf_size holds
	its size.
	Use temp_buf for call to doprnt, then use str_to_glyph_cpy to set
	echo_area_glyphs.

	* print.c (printchar, strout):  Use message_buf_size.  Convert to
	glyfs before assigning chars.
	(str_to_glyph_cpy, str_to_glyph_ncpy, 
	glyph_to_str_cpy, glyph_to_str_ncpy):  New functions.

Sun Jun  3 14:00:29 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* keyboard.c (command_loop_1): Clear this_command_key_count here.
	(Fread_key_sequence): And here.
	(read_key_sequence): Not here.

	* dispnew.c (update_screen):
	Add missing else in handling cursor_in_echo_area.
	* xdisp.c (redisplay_window): Eliminate lpoint.  Alter opoint 
	if point should be changed permanently in the selected window.

	* window.c (unshow_buffer): Don't set pt in selected window's buffer.

	* xdisp.c (decode_mode_spec): Don't truncate buffer or file name.

	* editfns.c (Finsert_buffer_substring): Don't fail to set beg, end.

	* keyboard.c (command_loop_level): New variable.
	Used in place of RecurseDepth, but different meaning.
	(recursive_edit_1): New function.
	(Frecursive_edit): Call it.
	* minibuf.c (read_minibuf): Call recursive_edit_1.
	* xdisp.c (RecurseDepth): Variable deleted.
	display_minibuffer_message renamed echo_area_display.

	* print.c: Include dispextern.h.
	(printchar, strout): Use message_buf.

	* scroll.c (CalcIDCosts): Dynamically allocate ILcost, etc.
	(ILcost, DLcost, ILncost, DLncost): Now pointers.
	(do_scrolling): Use alloca for queue.

	* term.c (term_init):  selected_screen as arg to calculate_costs.
	(calculate_costs):
	Dynamically allocate chars_wasted, copybuf, DC_ICcost.
	Set RPov based on actual width.
	(chars_wasted, copybuf, DC_ICcost): Now pointers.

	* xterm.c (x_term_init): Don't set dont_calculate_costs anymore.

Sat Jun  2 21:28:24 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

        * term.c (calculate_ins_del_char_costs, string_cost_one_line):
	Made static.

	* dispnew.c: Declare scrolling_1;

	* scroll.c (CalcIDCosts, CalcIDCosts1, CalcLID):  Renamed
	calculate_ins_del_char_costs, ins_del_costs, and line_ins_del.
	CalcIDCosts1 and CalcLID also renamed.
	(calculate_scrolling):  Now void.

	* Global renaming:  bf_modified -> MODIFF.  CharAt -> CHAR_AT_POSITION.
	BufferSafe{Floor,Ceiling} -> BUFFER_{FLOOR,CEILING}_OF.
	SetPoint -> SET_PT.

	* xterm.c (x_term_init): Don't CalcIDCosts here anymore.

Fri Jun  1 16:11:02 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* print.c: Include dispextern.h.
	(printchar, strout): Use message_buf.

        * sysdep.c (get_screen_size): Don't use MscreenWidth, MscreenLenght.
	* term.c:  Likewise.

        * scroll.c (CalcIDCosts, CalcIDCosts1, CalcLID):  These now take a
	screen argument.
	(CalcIDCosts): Dynamically allocate ILcost, etc.
	(ILcost, DLcost, ILncost, DLncost): Now pointers.
	(do_scrolling): Use alloca for queue.

	* dispnew.c (remake_screen_structures): Allocate message_buf.
	Don't use MscreenWidth, MscreenLenght.

	* xdisp.c: bf_cur replaced with current_buffer.
	Calls to SetBfx deleted.
	message_buf is now char *.
	(message): Use SCREEN_WIDTH macro as limit for doprnt.

	* indent.c (current_column): Detect special case when point == BEGV.

	* buffer.h (struct buffer_text): Component modified renamed to
	modiff. All refs changed to macros below.
	(MODIFF, BUF_MODIFF): New macros.
	Macro SetBfx removed.
	Macro SetPoint renamed SET_PT.

	* fileio.c (Fexpand_file_name):  Simplified.

Fri Jun  1 14:00:42 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* dired.c: Doc fix.

Thu May 31 19:48:25 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* search.c (Fsearch_forward): Docstring fix.

Thu May 31 16:43:33 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* dired.c: Comment added.

Thu May 31 14:42:02 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* process.c (Fprocess_connection):  Return the type of a process
	object. 
	(syms_of_process):  Initialize pty_process and stream_process.
	Declare Fprocess_type.
	* process.h  New element type to struct Lisp_Process.

	* syntax.c (scan_sexps_forward): Initialize curlevel->last to -1.

Mon May 28 20:06:52 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* fileio.c (Finsert_file_contents):  Use new variable how_much to
	hold read result.

Thu May 24 18:47:21 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* lread.c (read_char_exclusive):  New subr.

Thu May 24 15:56:40 1990  David Lawrence  (tale at pogo.ai.mit.edu)

	* fileio.c (file_executable_p):  New function.

Wed May 23 01:49:49 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* insdel.c (make_gap): Only set BEG_ADDR if BUFFER_REALLOC was
	successful.

	* editfns.c (syms_of_editfns):  DEFVAR the new variables.

	* eval.c (Finteractive_p): Don't skip the first frame if the
	function was compiled.

	* print.c (print): Use ... only for conses, and instead of normal
	print.

Tue May 22 17:18:29 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* Renamed meta_flag meta_key.

	* termopts.h:  Comment changes.

Sun May 20 01:16:07 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* buffer.h: upcase_table and downcase_table are now Lisp_Objects.
	* alloc.c (mark_object, gc_sweep):  Related changes.
	* casetab.c: Ditto.

Thu May 17 15:02:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* minibuf.c (Fall_completions): Protect STRING from gc.
	Copy ALIST to TAIL to protect it.

	* paths.h-dist: Doc fix.

Thu May 17 12:30:18 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* search.c (Flooking_at, search_buffer): Use new accessors.
	* indent.c (Fcurrent_column): Likewise.
	* minibuf.c (read_minibuf): Likewise.
	* regex.c (re_match_2): Use PTR_CHAR_POS.
	* editfns.c (Fbuffer_size, Fnarrow_to_region, Fbuffer_substring):
	(Fbuffer_string, Finsert_buffer_substring): Likewise.
	(save_restriction_restore): Likewise.
	* dispnew.c (direct_output_for_insert): Likewise.
	* fileio.c (Fwrite_region, Finsert_file_contents): Likewise.
	(Fdo_auto_save): Likewise.
	* insdel.c (move_gap, gap_left, gap_right, make_gap): Likewise.
	(InsCStr, del_range, modify_region): Likewise.
	* process.c (Fprocess_send_region): Likewise.
	* xdisp.c (try_window, try_window_id, display_text_line): Likewise.
	(redisplay): Likewise.
	* buffer.c (list_buffers_1): Likewise.
	* marker.c (marker_position, Fset_marker, set_marker_restricted): 
	(Fmarker_position): Likewise.
	* window.c (unshow_buffer, Fset_window_configuration): Likewise.
	(Fset_window_buffer): Likewise.

	* editfns.c (save_restriction_restore): Use a macro to alter point.

	* lread.c (readchar): Use new accessors, and avoid knowing about
	the text field of a buffer.
	* window.c (Fpos_visible_in_window_p): Likewise.

	* buffer.h (struct buffer): Make the syntax table a Lisp object.
	* alloc.c (mark_buffer): No need to treat it specially.
	* syntax.c (Fsyntax_table, Fset_syntax_table, Fdescribe_syntax):
	(Fmodify_syntax_entry): Adjust for this change.
	* buffer.c (reset_buffer_local_variables): Need not be special.
	(init_buffer_once): Make this slot a defaulted local variable.
	* syntax.h: Adjust macros for this change.
	(Vstandard_syntax_table): Define as macro, in buffer_defaults.
	* syntax.c (syms_of_syntax): Don't staticpro it here.
	(Fset_syntax_table): Set the flag in local_var_flags.

	* buffer.h (struct text): Represent the buffer dimensions
	with new slots, memory, begv, pt, gpt, zv, z and gap_size.
	(BEGV, etc.): Use new slots.
	(CharAt): Likewise.
	(BufferSafeCeiling, BufferSafeFloor): Use new slots; fix old bugs.
	(bf_p1, bf_s1, etc.): Old macros deleted.

	* buffer.c (Fget_buffer_create): Set up memory and new slots.
	(Fkill_buffer): Likewise.

	* insdel.c (move_gap, gap_left, gap_right, make_gap): Update new slots.
	(del_range, InsCStr): Likewise.
	* fileio.c (Finsert_file_contents): Likewise.
	* window.c (temp_output_buffer_show): Likewise.
	* xdisp.c (decode_mode_spec, try_window_id): Likewise.

	* insdel.c (make_gap): Complete rewrite.  Arg is amount of new gap
	to create.  All calls changed.
	(gap_left): New argument NEWGAP.

	* buffer.c (Fset_buffer): Check for deleted buffer.
	(SetBfp): Don't check.
	(SetBfp, Frename_buffer): Local cleanups.
	* print.c (PRINTPREPARE): Use Fset_buffer.

	* buffer.c (SetBfp): Don't bother with selected window or its point.
	* window.c (Fselect_window): Always set pointm of old window. 

	* editfns.c: Eliminate all use of DEFSIMPLE and DEFPRED.
	* indent.c, keyboard.c: Ditto.

	* search.c (skip_chars): Eliminate PointLeft and PointRight.
	* cmds.c (SelfInsert): Likewise.

Wed May 16 20:07:23 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xdisp.c (try_window):  No return value.
	Fix calls to try_window.
	* Global variable RedoModes is now redraw_mode_line.

Sun May 13 19:28:23 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* keymap.c (Fdefine_key, Flookup_key): Local cleanups.

	* sysdep.c (sys_suspend): Use save_signal_handlers and 
	restore_signal_handlers to save and restore signal state.

	* indent.c (Findent_to): Merge guts of indentation into here.
	(position_indentation): Scan with a pointer, for speed.

	* casefiddle.c (operate_on_word): Just return the other end.
	(Fupcase_word, Fdowncase_word, Fcapitalize_word):
	Pass that value to casify_region.

	* editfns.c (init_editfns): Store system and user names as
	strings to avoid arbitrary limits.

	* keymap.c (describe_vector, describe_alist): Make elt_prefix
	and elt_describer responsible for indentation and newlines.
	Local cleanups.
	(describe_command): Do indentation and newline.
	(describe_map): Add space to end of prefix.
	* syntax.c (describe_syntax): Do indentation and newline.

Sat May 12 18:09:30 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* process.c (create_process) [not USG]: Put subproc in pgrp 0.

Thu May 10 19:39:08 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* dispextern.h: new struct screen_glyfs replaces struct
	display_line.
	* screen.c: new screen elements current_glyfs, desired_glyfs, and
	temp_glyfs.
	* dispnew.c: (make_screen_glyfs, free_screen_glyfs,
	remake_screen_glyfs):  New functions.
	(make_display_lines, new_display_line, return_display_line):
	Functions deleted.
	(change_screen_size, init_display): Use the new functions.
	(cancel_line, clear_screen_records, get_display_line):
	Rewritten for new data structures.  get_display_line no longer
	returns anything.
	(preserve_other_columns, preserve_my_columns): Likewise.
	(cancel_my_columns, direct_output*): Likewise.
	(update_screen, update_line, quit_error_check, scrolling): Likewise.
	(scroll_screen_lines): Likewise.
	(rotate_vector, safe_bcopy): New subroutines.
	(line_hash_code, line_draw_cost): Cleaned up.
	Args are different, and hash computation too.
	(update_screen): Rearrange buffer-emptying code.
	* xdisp.c: (display_minibuf_message, redisplay): Rewritten for new
	structures. 
	(display_text_line, display_mode_line): Likewise.
	(display_mode_element, display_string): Likewise.
	(decode_mode_spec): Local cleanups.
	* scroll.c (do_scrolling): Rewritten for new data structures.
	* xterm.c (XTflash): Use this new structure.

	* editfns.c (in_accessible_range): New function.
	(Fgoto_char, save_restriction_restore): Use it.
	(save_excursion_save, Fcurrent_time_string): Local cleanups.

	* process.c (Fprocess_kill_without_query): New arg; new return value.
	(count_active_processes): Function deleted.

	* fileio.c (Finsert_file, Fwrite_region): Local cleanups.

	* fns.c (Fsubstring): Local cleanup.

	* keyboard.c (echo_prompt, echo_char, echo_dash, echo): New functions.
	(cancel_echoing): Likewise.
	(immediate_echo, echoptr): New variables.
	(command_loop_1, request_echo, get_char, read_key_sequence): 
	(set_waiting_for_input, interrupt_signal): Related changes.
	(get_char): No more declaration of request_echo. Local cleanups.

	(this_command_key...): New variables.
	(Fexecute_extended_command, Fthis_command_keys): Related changes.
	(init_keyboard, get_char): Likewise.

	* macros.c (Fstart_kbd_macro): Local cleanup.

	* minibuf.c (read_minibuf): No more delcaration of
	Frestore_screen_configuration.

	* search.c (Fregexp_quote): Simplified.

Tue May  8 17:11:00 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* process.c (Fopen_network_stream):  Also handle numeric inet
	addresses.

Sun May  6 22:46:36 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* alloca.c: #ifdef __STDC__ rather than X3J11/

Thu May  3 17:07:12 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* fileio.c (Fmake_symbolic_link): Delete old file if permitted.

Wed May  2 19:07:40 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* data.c (Fstring_to_int): Delete disabled feature
	of accepting `yes' and `no'.

	* xdisp.c (redisplay, redisplay_preserving_echo_area):
	Two functions replace DoDsp.  All callers changed.
	(redisplay, redisplay_window): Eliminate `inhibit_hairy_id'.
	(redisplay_window): No return value.  Local cleanups.

	* alloc.c (Fmake_marker): Delete `modified' field.
	* insdel.c (adjust_markers): Likewise.

	* abbrev.c (Fdefine_mode_abbrev): Clean up error message.

Tue May  1 12:13:51 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xfns.c (Fx_draw_rectangle, Fx_erase_rectangle): Simplified.

	* xterm.c (x_display_cursor): Don't check s->phys_x when drawing
	cursor.

	* undo.c:  New version.
	* undo.h:  No longer exists.
	* alloc.c (Fgarbage_collect): Call truncate_undo_list.
	(syms_of_alloc): Define vars undo-threshold and undo-high-threshold.
	* buffer.c (Fget_buffer_create): Set undo_list to t or nil.
	(Fbuffer_disable_undo, Fbuffer_enable_undo): Likewise.
	(Fkill_buffer): Likewise.
	(init_buffer_once): Set up local variable buffer-undo-list.
	(syms_of_buffer): Likewise.
	* buffer.h: New element undo_list in struct buffer.
	* fileio.c (Finsert_file_contents): Store nil in undo_list.

	* buffer.c:  Variable bf_text deleted.
	(Fkill_buffer, SetBfp): Delete code that worked with it.
	(SetBfx):  Now a macro in buffer.h
	* editfns.c (Fwiden, Fnarrow_to_region): Related changes.
	(save_restriction_save, save_restriction_restore): Likewise.
	(Finsert_buffer_substring): Likewise.
	* fileio.c (Fdo_auto_save): Likewise.
	* insdel.c (make_gap): Likewise.
	* lread.c (readchar): Likewise.
	* marker.c (Fmarker_position, marker_position): Likewise.
	(Fset_marker): Likewise.
	* xdisp.c (DoDsp): Likewise.

Mon Apr 30 16:37:19 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

        * buffer.h:  New macro R_ALLOC_SET_BUFFER for declaring all the
	text pointers of a buffer to the relocating allocator.
	* buffer.c (Fbury_buffer, SetBfx, SetBfp): Use the macro.
	* editfns.c (Finsert_buffer_substring):  ditto.
	* fileio.c (Fdo_auto_save): ditto.
	* insdel.c (make_gap): ditto.
	* xfns.c (adjust_scrollbars): Don't set bf_cur->text.

Thu Apr 26 15:23:23 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* minibuf.c: Declare active_screen struct screen *, not
	Lisp_Screen *.

Thu Apr 19 19:14:31 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xterm.c (XTupdate_end): Only x_display_cursor if s is x_input_screen.

Thu Apr 19 13:07:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* fns.c (Fy_or_n_p): If a C-g comes in and does not quit, quit by hand.

	* buffer.c (Frename_buffer): Allow renaming to same name it has.

Thu Apr 19 02:38:13 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xfns.c (Fx_open_connection):  Attach xrdb to x_current_display.

Tue Apr 17 22:40:25 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xterm.c (dumpborder):  Now only used for X10.
	(highlight, unhighlight):  New functions for X11.

Tue Apr 17 14:55:22 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* cm.c (Wcm_init): Return -2 if screen size not specified.
	* term.c (term_init): Special error message for that case.

Mon Apr 16 13:14:17 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* s-sunos4.h, s-sunos4shr.h (SYSTEM_MALLOC): Define it.

Sun Apr 15 03:14:58 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xfns.c (Fx_get_resource):  Concatenate invocation_name before
	the resource tag.
	(Fx_create_screen):  Use the latest resource id's.

Fri Apr 13 14:22:17 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xfns.c (Fx_get_resource):  New subr.
	(Fx_open_connection):  Call x_load_resources.  New parameter
	xrm_string.
	* xrdb.c:  New file for doing resource manager stuff.

	* xscrollbar.h:  New file for scrollbar bitmaps.

	* xselect.h:  New file for the X selection stuff.

	* ymakefile: Take note of these new files.

Tue Apr 10 15:17:41 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xterm.c (x_term_init):  Use MAXPATHLEN.

Mon Apr  9 18:42:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* buffer.c (list_buffers_1): Get filename from list-buffers-directory.

Fri Apr  6 21:10:10 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* screen.c (coordinates_in_window):  Return -1 if in modeline of
	window.
	(Fcoordinates_in_window_p):  Return Qt if in modeline of window.
	(Flocate_window_from_coordinates):  Use next_screen_window if
	MULTI_WINDOW is defined.

Thu Apr  5 16:49:02 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xterm.c (construct_mouse_event):  Deal with the motion events
	first.  Only grab the mouse when in the scrollbar.

Wed Apr  4 16:51:07 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* screen.c (coordinates_in_window): Include mode line as part of
	window.

	* xterm.c (XTread_socket):  Initialize nbytes to 0.
	(x_display_cursor):  Don't draw if screen not selected.

	* xdisp.c (DoDsp):  Additional checks for screen being visible.

Tue Apr  3 19:43:00 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* editfns.c (Fmessage):  If there is a global minbuffer screen,
	raise it before displaying the message.

	* window.c (window_loop):  Parameter SCREENS now affects which
	screen is scanned for windows.  All subrs calling window_loop must
	pass a Lisp_Object here now.

Sun Apr  1 19:55:04 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* window.c (window_loop):  Additional parameter mini to control
	minibuffer selection or not.
	(Fget_lru_window):
	(Fget_largest_window):
	(Fget_buffer_window):
	(Fdelete_other_windows):
	(Fdelete_windows_on):
	(Freplace_buffer_in_windows):  Use that parameter.

Thu Mar 29 18:58:10 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

        * screen.c (Fselect_screen):  Raise the selected screen.

	* window.c (Fget_buffer_window):
	(Fget_largest_window):
	(Fget_lru_window):  New parameter all_screens.
	(Fdisplay_buffer):  Use the new param in Fget_lru_window,
	Fget_buffer_window, and	Fget_largest_window.
	(Fscroll_other_window):  Use new param in Fget_buffer_window.
	* buffer.c (Fother_buffer): ditto.

	* xterm.c (x_display_cursor):  Always draw the cursor if ON is
	true.  Don't check if the screen S is selected or equal to
	mouse-screen.

	* xfns.c (Fx_track_pointer):  Don't turn off cursor, just call
	x_display_cursor.

Wed Mar 28 10:55:04 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

        * data.c (Fmake_local_variable):  Give the variable value nil if
	unbound.

	* window.c (Fnext_window, Fprevious_window):  For MULTI_SCREEN,
	check if Vglobal_minibuffer_screen is non-nil and maybe call
	next_screen.

	* screen.c (Fscreen_selected_window):
	(Fscreen_root_window):  If screen is nil, use selected-screen.

Tue Mar 27 15:43:40 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xterm.c (XTread_socket):  SET_SCREEN_GARBAGED which returning
	symbol which causes DoDsp to be invoked.
	* keyboard.c (read_key_sequence):  Don't SET_SCREEN_GARBAGED here.

	* screen.h:  New macro SET_SCREEN_GARBAGED.

	* xfns.c:
	* window.c:
	* sysdep.c:
	* keyboard.c:
	* dispnew.c:  Use the new macro.

Sun Mar 25 17:04:47 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xfns.c (Fx_own_selection):  Only take one argument, string.

Sat Mar 24 14:42:31 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xfns.c (select_visual):  Catch bullshit machines whose hardware
	doesn't support the X server pixel depth by looking at colormap_size.
	(x_decode_color):  Use x_screen_planes to check for color.

Fri Mar 23 13:28:33 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xterm.c (x_display_cursor):  Try using vertical bar cursor.
	(clear_cursor):  Call x_display_cursor for X11.

	* xfns.c: Zotzed Vx_pointer_mask.
	(Fx_track_pointer):  Call x_display_cursor if we just
	wasted the cursor.  Break out of loop if no display line.
	Use mode line cursor if we're there.
	(x_y_pos):  New function.
	(x_set_font):  Dont' set x_font_{width,height}, they are gone.

Thu Mar 22 18:42:17 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xfns.c (Fx_track_pointer):  Check that s == selected_screen each
	time through loop.  If event is nil, read mouse position.

	* keyboard.c (get_char):  DoDsp only if selected_screen visible.

	* xterm.c (XTread_socket):  Mark screen as visible only on expose
	event.

	* emacs.c (main):  Check here for "-d" option and set display_arg.
	* dispnew.c (init_display):  Set Vwindow_system, etc. if display_arg.

Wed Mar 21 10:50:47 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* keyboard.c (read_key_sequence):  Don't DoDsp if the screen was
	just unmapped.
	(command_loop_1):  Call the mouse motion handler before calling
	read_key_sequence.
	(interrupt_signal):  Fixed typo checking screen type.

	* xfns.c (Fx_track_mouse):  Don't crash because of null display
	line.  Don't set obj til call to get_char.

	* xterm.c (x_term_init):  Disable SIGWINCH here.

	* fns.c (Fmember):  New subr.

	* dispnew.c (init_display):  Don't check env variable DISPLAY to
	set Vwindow_system.  Now done in startup.el.

	* emacs.c:  Removed variables xargc, xargv.

Tue Mar 20 15:48:17 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* xfns.c (Fx_track_pointer):  Go faster.

	* screen.h:  New macro SCREENP.

	* window.c: (Fminibuffer_window):  Rewritten.

Mon Mar 19 20:27:04 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* sysdep.c (perror): Control with HAVE_PERROR as well as HPUX.
	* s-hpux.h (HAVE_PERROR): Define it.

Mon Mar 19 12:31:55 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* keyboard.c (command_loop_1):  Restructured handling of X event
	things.
	(read_key_sequence):  Handle new `unmapped-screen' symbol with new
	Vunmap_screen_hook.

	* xterm.c (XTread_socket):  Return unmapped-screen symbol if the
	window for UnmapNotify events.

	* lread.c  (Feval_region):  GCPRO opoint.

Fri Mar 16 14:28:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)

	* keyboard.c (command_loop_1):  Call mouse-motion handler with
	argument.  Also, don't call undo-boundary.
d1753 1
a1753 2
	* process.c (create_process):  Set the process group for BSD at
	the same time as for USG.
d1755 1
a1755 1
Wed Mar 14 15:40:58 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1757 1
a1757 1
	* xterm.c (x_new_selected_screen):  Set x_input_screen here.
d1759 4
a1762 1
Sun Mar 11 15:48:24 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1764 4
a1767 3
	* xterm.c:  Vx_mouse_grabbed now Vmouse_grabbed.
	(XTread_socket):  Generate exited-window symbols on LeaveNotify
	even if screen is focused.
d1769 1
a1769 3
	* xfns.c:  Vx_mouse_grabbed now Vmouse_grabbed.
	(outline_region):  Now static.
	(Fx_track_pointer):  Check x_mouse_screen == s in loop.
d1771 1
a1771 1
Sat Mar 10 17:19:38 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1773 1
a1773 2
	* xterm.c (encode_mouse_button): Correctly get the button from
	Motion events.
d1775 1
a1775 2
	* xfns.c (x11_encode_mouse_button):  Nuked.
	(encode_mouse_button, Fx_mouse_events, Fx_get_mouse_event): #if 0'd.
d1777 1
a1777 2
	* keyboard.c (get_char):  Re-set obj if we've keyboard-translated
	c.
d1779 1
a1779 1
Thu Mar  8 11:47:20 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1781 2
a1782 2
	* xterm.c  x_focus_screen no longer static.
	(x_error_handler):  Use XDefaultIOError.
d1784 1
a1784 4
	* screen.c (Ffocus_screen):  New subr, removed Fscreen_has_focus.
	(Fselect_screen):  New, optional parameter no_enter.
	(Frestore_screen_configuration):
	(Fdelete_screen):  Pass second parm Qnil to Fselect_screen.
d1786 1
a1786 2
	* window.c (Fdisplay_buffer, Fset_window_configuration):  Pass
	second parm Qnil to Fselect_screen.
d1788 6
a1793 1
Wed Mar  7 15:45:21 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1795 1
a1795 3
	* screen.c (Fscreen_has_focus):  New subr.
	(Fselect_screen):  Use x_focus_on_screen to physically select the
	screen.
d1797 1
a1797 1
Tue Mar  6 11:37:41 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1799 1
a1799 1
	* xfns.c (x_set_mouse_position):  Moved to xterm.c.
d1801 1
a1801 1
	* fileio.c (Fremove_directory):  New subr.
d1803 3
a1805 1
	* screen.c (Frelease_focused_screen):  Just call x_unfocus_screen.
d1807 1
a1807 7
	* xterm.c (XTread_socket):  On FocusOut, if s isn't mouse screen,
	return exited-window.  On LeaveNotify, simplify if expression for
	dumpborder.  Reworked FocusIn/FocusOut events.
	(x_unfocus_screen):  Check that screen is x_focus_screen.
	(x_set_mouse_position):  Moved from xfns.c.  Use new macro
	XWarpPointer.
	* xterm.h:  New macro XWarpPointer.
d1809 1
a1809 3
	* buffer.c:  Replaced Fbuffer_flush_undo with
	Fbuffer_disable_undo.
	* process.c:  Ditto.
d1811 2
a1812 1
Mon Mar  5 11:40:33 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1814 1
a1814 4
	* xterm.c (XTupdate_end):  Use parameter s rather than
	updating_screen.
	(XTread_socket):  On EnterNotify, don't check s != focus_screen
	before selecting.  On Focus In/Out don't set/reset mouse_screen.
d1816 1
a1816 1
Sun Mar  4 12:08:00 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1818 2
a1819 2
	* eval.c  If using X windows, include xterm.h.
	(error):  TOTALLY_UNBLOCK_INPUT if using X.
d1821 1
a1821 2
	* xterm.h: BLOCK_INPUT, UNBLOCK_INPUT:  No signal stuff, just inc
	and decrement x_input_blocked.
d1823 1
a1823 3
	* xfns.c (adjust_scrollbars):  Don't BLOCK_INPUT.
	(x_set_font):  Check result of x_new_font.  Call error if nonzero.
	(x_set_icon_type): Check result of x_*_icon, maybe call error.
d1825 1
a1825 3
	* screen.c (Fdeiconify_screen): Use x_make_screen_visible rather
	than x_deiconify_screen.  Return screen.
	(Fmake_screen_visible):  Don't raise it here.  Return screen.
d1827 1
a1827 17
	* xterm.c (XTwrite_glyfs):  Don't show cursor if screen is
	global-minibuffer-screen.
	(x_new_selected_screen): Do dumpborder and check auto-raise here,
	rather than XEvent switch.
	(x_deiconify_screen): No longer exists.
	(x_do_pending_expose, x_clear_cursor):
	(x_invert_screen, scraplines, stufflines, x_bitmap_icon):
	(x_text_icon,  x_new_font): Don't BLOCK_INPUT.
	(XTins_del_lines):  BLOCK_INPUT here.
	(XTupdate_end):  Don't turn on cursor if minibuffer-screen.
	(XTread_socket): On MotionNotify, just that screen is selected before
	processing.
	(XTtopos):  If updating_screen, just set x and y, don't flush.
	(x_bitmap_icon):
	(x_text_icon):
	(x_new_font):  Return 1 if failed, don't call error.
	(x_make_screen_visible):  Raise the screen as well.
d1829 2
a1830 1
Fri Mar  2 16:03:51 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1832 2
a1833 2
	* screen.c (Frelease_focused_screen):  Just check that screen is
	selected.
d1835 1
a1835 1
Wed Feb 28 18:27:29 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1837 1
a1837 4
	* screen.c (Fselect_screen_focused, Frelease_focused_screen):  New
	subrs.
	* xterm.c (x_focus_on_screen, x_unfocus_screen):  New procedures
	to implement focusing.
d1839 10
a1848 1
Wed Feb 28 12:31:30 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d1850 1
a1850 1
	* casefiddle.c: Doc fix.
d1852 4
a1855 1
Wed Feb 28 11:39:38 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1857 1
a1857 3
	* xterm.h:  Redefined BLOCK_INPUT and UNBLOCK_INPUT to use sigblock
	and sigsetmask if available.
	* xterm.c:  Declare BLOCK_INPUT_mask if have SIGIO and FIONREAD.
d1859 1
a1859 1
Tue Feb 27 16:59:57 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1861 3
a1863 1
	* minibuf.c (Fread_from_minibuffer): Initialize pos to 0.
d1865 1
a1865 1
Sun Feb 25 00:04:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1867 1
a1867 2
	* keyboard.c (read_key_sequence): Handle mapped-screen event
	symbol by calling new hook Vmap_screen_hook.
d1869 1
a1869 5
	* xterm.c (x_make_screen_invisible):  Use the new Xlib function
	XWidthdrawWindow.
	(x_iconify_screen):  Use the new Xlib function XIconifyWindow.
	(XTread_socket): Return mapped-screen symbol to signal
	mapped-screen events.
d1871 3
a1873 1
Fri Feb 23 15:10:16 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1875 1
a1875 3
	* keyboard.c (command_loop_1):  Check the character for width 1
	before doing direct_output_forward, as well as the cursor position
	on the screen.
d1877 1
a1877 2
	* xdisp.c (DoDsp):  Use redisplay_windows rather than
	redisplay_all_windows, which was removed.
d1879 1
a1879 1
Thu Feb 22 16:33:14 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d1881 1
a1881 1
	* unexencap.c: New file, waiting for papers.
d1883 1
a1883 1
Thu Feb 22 11:40:06 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1885 1
a1885 5
	* keyboard.c: Removed much debugging stuff.
	* xterm.c: Removed much debugging stuff.
	(x_error_handler): For X11, if caught BadAlloc error while
	converting selection (note new variable x_converting_selection),
	just set new variable x_selection_alloc_error.
d1887 2
a1888 3
	* xfns.c:  Massive changes for crufty selection processing details.
	New X atoms:  Xatom_clipboard, Xatom_delete, Xatom_insert_selection,
	Xatom_insert_property, Xatom_pair.
d1890 1
a1890 1
Wed Feb 21 15:04:51 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1892 1
a1892 1
	* keyboard.c (kbd_buffer_store_char): Check NULL objects.
d1894 1
a1894 2
	* xterm.c (XTread_socket): Correctly advance bufp for all KeyPress
	events.
d1896 1
a1896 1
Tue Feb 20 15:04:54 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1898 1
a1898 4
	* keyboard.c (kbd_buffer_get_char):  Use KBD_BUFFER_SIZE rather
	than sizeof kbd_buffer.
	(read_key_sequence): Upon redraw-display symbol, set
	screen_garbaged.
d1900 1
a1900 2
	* xterm.c (XTread_socket): On EnterNotify events, make sure to
	return mouse event for both scrollbars and windows.
d1902 1
a1902 1
Mon Feb 19 18:34:03 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d1904 1
a1904 1
	* casefiddle.c (casify_region): Move the new statement.
d1906 1
a1906 1
Mon Feb 19 14:42:58 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1908 1
a1908 1
	* casefiddle.c (casify_region): Return if beginning and end same.
d1910 2
a1911 1
Sun Feb 18 15:04:53 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1913 1
a1913 2
	* keyboard.c (kbd_buffer_store_char): Use KBD_BUFFER_SIZE rather
	than sizeof kbd_buffer.
d1915 5
a1919 1
	* fns.c (Fy_or_n_p): Only accept ints from get_char.
d1921 1
a1921 1
Sun Feb 18 12:48:26 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d1923 1
a1923 1
	* minibuf.c (Fread_from_minibuffer): New arg POSITION.
d1925 1
a1925 2
	* unexsunos4.c: New file.  Waiting for papers.
	* s-sunos4shr.h: New file.
d1927 1
a1927 1
	* emacs.c (main) [RUN_TIME_REMAP]: Call run_time_remap.
d1929 4
a1932 1
	* ymakefile (LD): Let config file override with LD_CMD.
d1934 1
a1934 1
Wed Feb 14 14:57:50 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
d1936 1
a1936 2
	* keyboard.c (read_avail_input): pass read_socket_hook
	KBD_BUFFER_SIZE rather than doing sizeof (buf).
d1938 1
a1938 2
	* xterm.c (XTread_socket): Set event.type = MotionNotify when
	entering screen or scrollbar to fake motion event.
d1940 1
a1940 1
Tue Feb 13 13:13:29 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1942 1
a1942 4
	* window.c (next_screen, prev_screen): moved to screen.c
	(Fnext_window): If mini non-nil, count the separate minibuffer
	screen.
	* screen.c (Fnext_screen): new subr.
d1944 1
a1944 1
Mon Feb 12 21:58:06 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d1946 4
a1949 2
	* xdisp.c (display_text_line, try_window, try_window_id, DoDsp):
	Don't display overlay arrow on more than one line in a window.
d1951 1
a1951 1
Mon Feb 12 11:19:48 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
d1953 1
a1953 1
	* doprnt.c (doprnt): Expand size of tembuf to 512.
d1955 2
a1956 1
Sat Feb 10 19:26:25 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d1958 1
a1958 1
	* minibuf.c (Fread_no_blanks_input): Make second arg optional.
d1960 1
a1960 1
Fri Feb  9 13:00:56 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1962 1
a1962 3
	* keyboard.c (get_char): Remember to set obj when executing macro.
	(read_key_sequence): Handle the exited-scrollbar symbol.
	Compare obj, not read_key_sequence_cmd.
d1964 1
a1964 5
	* xterm.c (x_make_screen_visible, x_deiconify_screen): Check
	window-manager variable.
	(x_make_screen_invisible, x_iconify_screen): Don't use new R4
	calls (they crash), do it ourselves.
	(XTread_socket): Return exited-scrollbar symbol when doing so.
d1966 1
a1966 1
Thu Feb  8 17:56:12 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
d1968 1
a1968 6
	* xterm.c (construct_mouse_event): Rewritten to do mouse-motion
	compression.  All mouse processing now done here.
	Also, just use nil and t for x-mouse-grabbed.  Record buttons
	pressed in new variable x_mouse_grabbed.  XGrabPointer on button
	depression. 
	* xfns.c (Fx_horizontal_line): use x_mouse_grabbed.
d1970 1
a1970 1
Wed Feb  7 15:42:20 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1972 1
a1972 2
	* xdisp.c (DoDsp): If only updating selected screen, but there is
	a minibuffer screen, update it as well.
d1974 1
a1974 1
Tue Feb  6 12:35:12 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1976 2
a1977 3
	* xfns.c (Fx_pixel_width, Fx_pixel_height): New subrs.
	* xterm.h New components pixel_width, pixel_height, to x_display.
	* xterm.c (XTread_socket): On configure notify, set these components.
d1979 1
a1979 4
	* window.c (Fset_window_configuration): Select the screen of the
	root window if it's not the selected_screen.
	* minibuf.c (read_minibuf): Remove all the screen selection stuff,
	now that this is integrated in Fset_window_configuration.
d1981 1
a1981 1
Mon Feb  5 10:18:03 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d1983 1
a1983 2
	* screen.h: Declare Vglobal_minibuffer_screen.
	* xdisp.c (DoDsp): Set all_windows if using global-minibuffer-screen.
d1985 1
a1985 1
Sat Feb  3 13:00:42 1990  Joseph Arceneaux  (jla at geech)
d1987 2
a1988 2
	* window.c (Fset_window_configuration): Make sure to set
	window->next to nil for a minibuffer-only screen.
d1990 1
a1990 1
	* screen.c (make_minibuffer_screen): Set mini_window->next nil.
d1992 1
a1992 1
Thu Feb  1 19:00:38 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
d1994 1
a1994 1
	* screen.c (make_screen): Set wants_modeline elt to 1.
d1996 1
a1996 2
	* window.c (Fset_window_configuration): Use screen->root_window
	as arg to delete_all_subwindows rather than minibuf_window->prev.
d1998 1
a1998 5
	* minibuf.c (read_minibuf): Don't unwind with
	Frestore_screen_configuration.  Save selected_screen if different
	than minibuf screen, and re-select it after reading minibuf.
	* screen.c: #if 0 Fscreen_configuration,
	Frestore_screen_configuration.
d2000 2
a2001 1
Thu Feb  1 02:11:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2003 2
a2004 2
	* m-ibmps2-aix.h: Undef NEED_SIOCTL.
	(SIGN_EXTEND_CHAR): Cast to `signed char'.
d2006 1
a2006 1
Sun Jan 28 15:15:20 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d2008 1
a2008 2
	* xfns.c (Fx_track_pointer): rewrote this to loop while there are
	mouse events.
d2010 1
a2010 3
	* xterm.c (XTread_socket): Return left-window-event symbol upon
	LeaveNotify.
	* keyboard.c (read_key_sequence): Handle this symbol.
d2012 1
a2012 1
Sat Jan 27 09:57:10 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
d2014 1
a2014 2
	* xterm.c (x_display_cursor): Use dumpglyfs with SPACEGLYF for
	cursor, as `XFillRectaogle's kill HP-BSD server.
d2016 1
a2016 4
	* xterm.h: Added nontext_cursor, modeline_cursor to x_display
	structure.
	* xfns.c (x_set_mouse_color, Fx_track_pointer): Changes to use
	nontext_cursor.
d2018 3
a2020 1
Thu Jan 25 13:09:27 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
d2022 1
a2022 2
	* xterm.h: Changed the face structure for X11 to handle GCs and
	pixmaps.
d2024 1
a2024 5
	* xterm.c (XTread_socket): Return a motion event when mouse enters
	scrollbar or window.
	(x_make_screen_invisible): Use the new X11R4 function XWithdrawWindow.
	(x_iconify_screen): Use the X11R4 function XIconfifyWindow.
	(dumpglyfs): Use the new face structure.
d2026 1
a2026 4
	* xfns.c (install_vertical_scrollbar, install_horizontal_scrollbar):
	Accept EnterNotify events.  Use XMapSubwindows rather than mapping
	each one.
	(Fx_set_face_font): New subr for X11 to set face GC.
d2028 3
a2030 1
Thu Jan 25 00:58:19 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2032 1
a2032 1
	* dispnew.c (direct_output_for_insert): Give up if buf in 2 windows.
d2034 1
a2034 2
	* keyboard.c (command_loop_1):
	Dumb bugs disabled special fast display for character motion.
d2036 1
a2036 2
	* xdisp.c (DoDsp): For cursor motion within line,
	hpos result from compute_motion is relative to window.
d2038 1
a2038 1
Wed Jan 24 20:08:08 1990  Richard Stallman  (rms at albert.ai.mit.edu)
d2040 1
a2040 1
	* eval.c (Fmacroexpand): Handle explicit macros ((macro ...) ...).
d2042 1
a2042 1
Thu Jan 18 10:27:09 1990  Joseph Arceneaux  (jla at spiff)
d2044 1
a2044 1
	* undo.c (Fundo_more): Fixed typo.
d2046 1
a2046 1
Tue Jan 16 20:20:48 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2048 3
a2050 2
	* xdisp.c (display_text_line): When checking HPOS for continuation
	line, compensate for w->left.
d2052 1
a2052 1
Mon Jan 15 19:46:59 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2054 1
a2054 1
	* dispnew.c [no FIONREAD]: Undefine SIGIO.
d2056 1
a2056 1
	* buffer.c (SetBfp): Use XTYPE to test for no selected window yet.
d2058 1
a2058 2
	* editfns.c, dispnew.c, fileio.c, process.c, sysdep.c, xterm.c:
	Uniformly let NEED_TIME_H control use of time.h instead of sys/time.h.
d2060 1
a2060 2
	* xterm.h (TOTALLY_UNBLOCK_INPUT, UNBLOCK_INPUT): Don't use
	SIGIO if no FIONREAD.
d2062 1
a2062 1
Mon Jan 15 18:08:16 1990  Joseph Arceneaux  (jla at spiff)
d2064 1
a2064 2
	* xfns.c (x_set_mouse_color): Set non-text pointer shape with new
	variable Vx_nontext_pointer_shape.
d2066 1
a2066 1
	* keyboard.c: More checks for evil bug which trashes kbd_*_ptr.
d2068 1
a2068 1
	* m/hp300bsd.h: Try using BSD load average stuff.
d2070 1
a2070 1
Thu Jan 11 15:52:11 1990  Joseph Arceneaux  (jla at spiff)
d2072 2
a2073 1
	* xfns.c (x_draw_pixmap): New routine.
d2075 1
a2075 1
Wed Jan 10 21:55:25 1990  Jim Kingdon  (kingdon at pogo)
d2077 1
a2077 1
	* m/hp300bsd.h: New file
d2079 2
a2080 1
Mon Jan  8 13:12:37 1990  Joseph Arceneaux  (jla at spiff)
d2082 1
a2082 1
	* xfns.c (Fx_window_id): New subr.
d2084 1
a2084 2
	* screen.c (make_screen): Set wants_modeline elt to mini_p.
	If mini_p 0, then set root_window->next to nil.
d2086 2
a2087 1
Mon Jan  8 10:56:42 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2089 2
a2090 1
	* editfns.c (Fchar_after): Set N after coercing marker.
d2092 7
a2098 1
Sat Jan  6 16:18:50 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2100 2
a2101 1
	* buffer.c (Fkill_all_local_variables): Force mode line update.
d2103 4
a2106 1
Fri Jan  5 16:50:35 1990  Joseph Arceneaux  (jla at spiff)
d2108 2
a2109 1
	* insdel.c: Declare Vfirst_change_function.
d2111 1
a2111 8
	* keyboard.c (read_key_sequence): Function keys are now lisp symbols.
	(kbd_buffer_store_char): Abort if store pointer past
	buffer.  Temproarry; This shouldn't be able to happen.
	(read_key_sequence):  #ifdef HAVE_X_WINDOWS code
	which handles complex objects.
	(command_loop_1): Check not termcap screen before 
	processing non-char input.
	(kbd_{store,fetch}_char): More debugging checks.
d2113 1
a2113 3
	* screen.c (make_screen): Set root_window height to 9 if mini_p.
	(make_minibuffer_screen): Set the mini window's next,
	prev, and screen elements.
d2115 3
a2117 8
	* xterm.c (x_func_key_to_sym): New function, uses new variable
	func_key_syms.
	(XTread_socket): Use this in KeyPress event for function keys.
	(XTflash): Draw solid rectangle in middle of screen.
	(x_set_offset): Set the size hints as well when doing
	this.
	(XTflash): Just dumpglyfs instead of redrawing the
	screen after flashing the rectangle.
d2119 1
a2119 1
	* lread.c: (syms_of_lread): defsubr Fread_event.
d2121 1
a2121 1
Thu Jan  4 18:42:08 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2123 5
a2127 2
	* buffer.h, buffer.c (Vfirst_change_function): New Lisp variable. 
	* insdel.c (signal_before_change): Call that function.
d2129 1
a2129 1
	* keyboard.c (cmd_error): Don't crash if TAIL is nil.
d2131 1
a2131 1
Sun Dec 31 17:17:13 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2133 1
a2133 1
	* minibuf.c: Doc fixes.
d2135 1
a2135 1
Thu Dec 28 18:12:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2137 5
a2141 1
	* process.c (create_process): Unhold SIGCHLD in the child.
d2143 2
a2144 1
Wed Dec 27 19:12:50 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2146 1
a2146 1
	* process.c (create_process): Treat HPUX like BSD for sigsetmask.
d2148 1
a2148 1
Mon Dec 25 00:10:57 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2150 2
a2151 1
	* fns.c (Fmapconcat): Gcpro SEP around mapcar1.
d2153 2
a2154 1
Sat Dec 23 13:45:19 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2156 1
a2156 1
	* dispnew.c (get_display_line): Don't touch X data if not using X.
d2158 1
a2158 1
	* syntax.c (Fscan_sexps): Fix fatal documentation typo.
d2160 1
a2160 1
	* lread.c: Include commands.h.
d2162 2
a2163 2
	* xterm.c (construct_mouse_event): Delete unreached return at end.
	(x_wm_set_size_hint): #if 0 some broken code.
d2165 1
a2165 6
	* cmds.c (SelfInsert): Set HAIRY if have before or after change hooks.
	* editfns.c (Fsubst_char_in_region, Ftranslate_region):
	Call signal_after_change for chars changed.
	* undo.c (Fundo_more): When undoing Uchange, do signal_after_change.
	* casefiddle.c (casify_region): Do modify_region before the change,
	signal_after_change afterward.
d2167 2
a2168 3
	* insdel.c (prepare_to_modify_buffer): Call signal_before_change.
	(del_range, InsCStr): Call signal_after_change.
	(signal_after_change, signal_before_change): New functions.
d2170 1
a2170 1
Wed Dec 20 06:50:13 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2172 1
a2172 1
	* dispnew.c (init_display) [VMS]: Downcase terminal type.
d2174 1
a2174 1
Sun Dec 17 19:31:52 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2176 2
a2177 2
	* sysdep.c: Use NEED_SIOCTL to control use of sioctl.h.
	* m/m-mips.h, m/m-iris4d.h: Define that.
d2179 1
a2179 3
	* m/m-ibmps2-aix.h (NEED_SIOCTL, HAVE_UNION_WAIT, HAVE_PTYS): Define.
	(HAVE_SYSVIPC, HAVE_SOCKETS, X_DEFAULT_FONT): Define.
	(sigsetmask): #undef this.
d2181 9
a2189 1
Fri Dec 15 13:13:36 1989  Joseph Arceoeaux  (jla at spiff)
d2191 2
a2192 2
	* lread.c (Fread_char): Catch error if read non-char.
	(Fread_event): New subr.  Return any input object.
d2194 1
a2194 1
Thu Dec 14 12:53:30 1989  Joseph Arceneaux  (jla at spiff)
d2196 2
a2197 2
	* xfns.c: New variable Vx_no_window_manager.
	 (Fx_track_pointer):  If bufp < 0, abort.
d2199 1
a2199 2
	* xterm.c (XTread_socket):  When leaving window, set x_mouse_x and
	x_mouse_y to -1.
d2201 1
a2201 1
Wed Dec 13 10:48:36 1989  Joseph Arceneaux  (jla at spiff)
d2203 1
a2203 10
	* xterm.c (XTread_socket): On ConfigureNotify events, return
	"redraw-screen" symbol.
	(dumpborder): Only do border stuff if x-no-window-manager non nil.
	Also check if there is a tracking rectangle.
	(XTupdate_begin): If there is a mouse tracking rectangle, erase
	it.
	* keyboard.c (read_key_sequence): Return -2 for symbols.
	(command_loop_1): DoDsp when 'redraw-screen arrives as input.
	For mouse events, call Fexecute_mouse_event with
	read_key_sequence_cmd instead of Vmouse_event.
d2205 12
a2216 1
Fri Dec  8 08:34:22 1989  Joseph Arceneaux  (jla at spiff)
d2218 1
a2218 2
	* process.c (create_process):  For not USG, properly set the
	process group.
d2220 1
a2220 1
Thu Dec  7 15:02:44 1989  Joseph Arceneaux  (jla at spiff)
d2222 2
a2223 2
	* term.c (topos):  Under X Windows, abort if topos_hook not
	correct.  Temporary.
d2225 1
a2225 1
	* xfns.c (Fx_horizontal_line): New subr.
d2227 2
a2228 1
Tue Dec  5 11:35:21 1989  Joseph Arceneaux  (jla at spiff)
d2230 4
a2233 2
	* keyboard.c (Fexecute_mouse_event): Don't set Vmouse_window here
	for X11.
d2235 2
a2236 3
	* xterm.c (construct_mouse_event): Vx_mouse_grabbed now indicates
	which keys are depressed.
	(construct_mouse_event): Set Vmouse_window here.
d2238 1
a2238 1
Mon Dec  4 13:43:12 1989  Joseph Arceneaux  (jla at spiff)
d2240 2
a2241 2
	* screen.c (coordinates_in_window): New function.
	(Fcoordinates_in_window_p):  Rewritten to use above.
d2243 1
a2243 5
	* dispextern.h: New element bufp for display_line structure when
	using X windows.
	* xdisp.c (redisplay_window): Set this to the position in the
	buffer of the first char in this display line.
	* dispnew.c (get_display_line): Set this to -1 here.
d2245 3
a2247 1
Sun Dec  3 14:05:47 1989  Joseph Arceneaux  (jla at spiff)
d2249 1
a2249 1
	* alloc: Upped NSTATICS from 200 to 256.
d2251 1
a2251 5
	* xterm.c (XTread_socket):  Report MotionNotify events only if
	mouse has changed character position.  Call x_read_mouse_position.
	Set Vmouse_event here.
	* xfns.c (x_read_mouse_position): Set new global variables
	x_mouse_x and x_mouse_y.
d2253 4
a2256 1
	* keyboard.c: Vignore_mouse_events:  New variable.
d2258 1
a2258 1
	* syntax.c (Fscan_sexps): Doc change.
d2260 1
a2260 3
	* lread.c (Fread_char): Return only chars.  If new variable
	Vignore_mouse_events non nil, execute any mouse events which
	appear.
d2262 1
a2262 1
Fri Dec  1 09:28:23 1989  Joseph Arceneaux  (jla at spiff)
d2264 3
a2266 2
	* xfns.c (Fx_track_pointer): Draw half-sized rectangles for '\n'.
	(x_rectangle): Draw half-size if negative argument.
d2268 1
a2268 2
	* xterm.c (XTread_socket): abort if garbage collecting when doing
	mouse events.
d2270 1
a2270 1
	* ymakefile: #define FLOATSUP if LISP_FLOAT_TYPE defined.
d2272 1
a2272 1
	* emacs.c (main): If BSD, set pgrp to pid.
d2274 3
a2276 1
Thu Nov 30 10:02:54 1989  Joseph Arceneaux  (jla at spiff)
d2278 7
a2284 2
	* callint.c (Fcall_interactively): For case 'e', set varies[i] to
	avoid entering in the command history.
d2286 1
a2286 6
	* xterm.c: Removed the function x_indicate_pointer_char.
	(XTread_socket): When leaving window, erase mouse tracking box if
	it exists.
	* xfns.c (Fx_track_pointer): New function, does what
	x_indicate_pointer_char used to.
	(x_read_mouse_position): Subtract internal_border_width.
d2288 1
a2288 1
	* screen.c: No rubber-banding function for X11.
d2290 1
a2290 1
	* window.c (Fmove_to_window_line): Document string fix.
d2292 1
a2292 1
Wed Nov 29 17:17:04 1989  Joseph Arceneaux  (jla at spiff)
d2294 3
a2296 2
	* lread.c (Fread_char):  Return a Lisp_Object (directly from
	get_char).
d2298 1
a2298 2
	* keyboard.c:
	* xterm.c: Function keys now arrive as cons cells.
d2300 1
a2300 1
Mon Nov 27 13:21:39 1989  Joseph Arceneaux  (jla at spiff)
d2302 1
a2302 3
	* keyboard.c (read_key_sequence): Handle Lisp_Symbols on input
	(function keys).  Also, handle these and mouse events with
	prefixes (by ignoring the prefixes for now).
d2304 1
a2304 3
	* xfns.c New variable Vx_mouse_grabbed.
	* xterm.c (construct_mouse_event): Use it.
	(XTread_socket): Return Lisp_Symbol for function key.
d2306 1
a2306 2
	* buffer.c (reset_buffer_local_variables): Set function_key_map to
	Qnil.
d2308 1
a2308 1
Fri Nov 24 17:45:38 1989  Joseph Arceneaux  (jla at spiff)
d2310 1
a2310 1
	* buffer.h: Per-buffer function key maps.
d2312 2
a2313 2
	* keyboard.c (read_avail_input): Convert chars to Lisp_Objects in
	case of stdin.
d2315 1
a2315 1
Wed Nov 22 13:39:14 1989  Joseph Arceneaux  (jla at spiff)
d2317 1
a2317 6
	* keyboard.c (read_key_sequence): Check type of object returned
	from get_char.  Handle mouse events (set Vmouse_event) and
	function keys.
	(get_char_menu_prompt): Return a Lisp_Object.
	(Fexecute_mouse_event): No longer set Vmouse_event.
	Vmouse_window set here.
d2319 1
a2319 4
	* xterm.c (XTread_socket): KeyPress events now return
	Lisp_Objects, as do ButtonPress events.
	(construct_mouse_event): New function.
	(encode_mouse_button): New function.
d2321 1
a2321 1
Tue Nov 21 14:49:14 1989  Joseph Arceneaux  (jla at spiff)
d2323 1
a2323 3
	* keyboard.c (kbd_buffer_store_char, kbd_buffer_get_char):
	Store and get Lisp_Objects.
	(get_char): Use those Lisp_Objects.
d2325 1
a2325 2
	* fileio.c (Fread_filename_internal): If exactly complete, but
	string was modified, return string.
d2327 1
a2327 1
	* minibuf.c (temp_minibuf_message): Pass correct arguments to Fsit_for.
d2329 1
a2329 1
Sat Nov 18 23:07:32 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2331 1
a2331 1
	* s-386-ix.h: New file.
d2333 1
a2333 1
Fri Nov 17 12:11:11 1989  Joseph Arceneaux  (jla at spiff)
d2335 1
a2335 1
	* xterm.c (dump_rectangle): Flush the X queue.
d2337 7
a2343 1
Thu Nov 16 16:35:47 1989  Joseph Arceneaux  (jla at spiff)
d2345 1
a2345 2
	* xmenu.c (xmenu_show): Use ButtonReleaseMask instead of
	ButtonRelease.
d2347 3
a2349 1
	* fileio.c (Fmake_directory): New subr.
d2351 1
a2351 1
Thu Nov 16 00:53:40 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2353 1
a2353 3
	* config.h-dist (C_SWITCH_SITE, LD_SWITCH_SITE): Mention these.
	(HAVE_X11): Renamed from X11 and defined by default.
	It shoukld have no effect when not using X.
d2355 1
a2355 1
Tue Nov 14 09:44:29 1989  Joseph Arceneaux  (jla at spiff)
d2357 1
a2357 4
	* xfns.c (Fx_get_selection, x_selection_arrival): use &event
	instead of event.
	(x_selection_arrival): For incremental selections, loop on
	XGetWindowProperty if one is not enough.
d2359 1
a2359 1
Mon Nov 13 12:07:16 1989  Joseph Arceneaux  (jla at spiff)
d2361 1
a2361 1
	* ymakefile: Just link if ../oldXMenu/libXMenu11.a already exists.
d2363 2
a2364 1
Thu Nov  9 11:10:32 1989  Joseph Arceneaux  (jla at spiff)
d2366 1
a2366 1
	* m/m-sparc.h: If __GNUC__ use "-O", else "-O2"
d2368 1
a2368 1
Wed Nov  8 15:49:28 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2370 1
a2370 1
	* search.c (Fstore_match_data): A marker pointing nowhere, treat as 0.
d2372 1
a2372 1
Wed Nov  8 14:50:43 1989  Joseph Arceneaux  (jla at spiff)
d2374 4
a2377 1
	* search.c (Fmatch_data): fixed typo.
d2379 2
a2380 7
	* insdel.c (make_gap): Use BUFFER_REALLOC instead of realloc.
	* buffer.c (Fget_buffer_create): Use new define BUFFER_ALLOC in
	place of malloc, and set b->data.
	(Fkill_buffer): Use BUFFER_FREE on b->data, rather than malloc on
	b->p1 + 1.
	* buffer.h: New element data in buffer_text structure.
	New define for it, bf_data.
d2382 1
a2382 1
Wed Nov  8 14:28:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2384 2
a2385 3
	* marker.c (Fset_marker): Don't force POS into visible range.
	* window.c (set_marker_restricted): New function does what
	Fset_marker did.  All calls in this file now use the new function.
d2387 4
a2390 1
Tue Nov  7 09:08:26 1989  Joseph Arceneaux  (jla at spiff)
d2392 1
a2392 1
	* buffer.h: Defines for allocating buffer variables.
d2394 1
a2394 1
	* ralloc.c: Completely rewritten.
d2396 1
a2396 2
	* alloc.c (xmalloc, xrealloc): Return 0 immediately for requests
	of 0 size.
d2398 1
a2398 1
Mon Nov  6 02:00:40 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2400 1
a2400 10
	* search.c (Flooking_at, Fstring_match, search_buffer):
	Record in search_regs_from_string whether matching against a string.
	(Fmatch_data): Save data as integers if from a string.

	* s-umips.h: Now include either s-usg5-2-2.h or s-bsd4-3.h
	and then override as needed.
	* m-mips.h: System dependence deleted.
	LD_SWITCH_MACHINE remains w/ options needed on all systems.
	* m-pmax.h: A little of that (LIBS_DEBUG) moved here.
	No need to undef LIBS_MACHINE.
d2402 2
a2403 2
	* fns.c (Fload_average): FIXUP_KERNEL_SYMBOL_ADDR is now general hook.
	* s-umips.h: Define it.
d2405 2
a2406 1
	* sysdep.c: Handle BROKEN_FIONREAD.
d2408 2
a2409 1
Fri Nov  3 10:52:16 1989  Joseph Arceneaux  (jla at spiff)
d2411 1
a2411 1
	* config.h-dist: Mention LISP_FLOAT_TYPE, GNU_MALLOC, and REL_ALLOC.
d2413 1
a2413 1
	* s/s-umips.h: New file.
d2415 1
a2415 1
Fri Nov  3 02:17:54 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2417 1
a2417 2
	* process.c (Fopen_network_stream): Handle EINTR in connect.
	Describe errno in err msg if connect fails.
d2419 1
a2419 1
Thu Nov  2 15:35:44 1989  Joseph Arceneaux  (jla at spiff)
d2421 1
a2421 3
	* vm-limit.c: New file.
	* ralloc.c: New file.
	* ymakefile: Take vm-limit.o into account.
d2423 2
a2424 1
Thu Nov  2 12:27:41 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2426 1
a2426 2
	* alloc.c (staticvec): Make this a simple vector of pointers
	rather than an alias for a vector of chars.
d2428 1
a2428 1
Wed Nov  1 11:44:30 1989  Joseph Arceneaux  (jla at spiff)
d2430 1
a2430 7
	* window.c: Moved some functions (save_window_save,
	replace_window, unshow_buffer) around.
	* search.c: Moved function place.
	* lread.c: Moved function read_escape.
	* unexec.c: Declarations for make_hdr, copy_text_and_data,
	copy_sym.  Declare mark_x as static void.
	* dispextern.h: removed declaration of new_display_line.
d2432 1
a2432 2
	* emacs.c: Do malloc_init if GNU_MALLOC.
	* gmalloc.c: (malloc_init): New function.
d2434 1
a2434 4
	* xfns.c (x_rectangle, Fx_draw_rectangle, Fx_erase_rectangle,
	outline_region, Fx_countour_region, Fx_uncontour_region): New
	subroutines for drawing rectangles and things.
	(Fx_point_coordinates): New subr.
d2436 1
a2436 1
Tue Oct 31 11:43:36 1989  Joseph Arceneaux  (jla at spiff)
d2438 1
a2438 1
        * All .c and .h files: New copyright header.
d2440 1
a2440 1
Mon Oct 30 17:55:32 1989  Joseph Arceneaux  (jla at spiff)
d2442 1
a2442 1
	* gmalloc.c: New GNU malloc.
d2444 2
a2445 1
	* emacs.c (main, Fdump_emacs): No malloc init if GNU_MALLOC.
d2447 1
a2447 1
	* ymakefile: Check if GNU_MALLOC defined.
d2449 2
a2450 1
Fri Oct 27 10:25:22 1989  Joseph Arceneaux  (jla at spiff)
d2452 4
a2455 2
	* xfns.c (Fx_pointer_char): New subr.
	* xterm.c (x_indicate_pointer): New procedure.
d2457 1
a2457 1
	* alloc.c (Fmake_vector_from_list, make_vector_from_list): New subrs.
d2459 3
a2461 1
Thu Oct 26 20:24:55 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2463 1
a2463 5
	* xterm.c (x_term_init):
	Negate arg to fcntl F_SETOWN if F_SETOWN_SOCK_NEG.
	* keyboard.c (Fset_input_mode) [NO_SOCK_SIGIO]:
	No interrupt input if using a socket.
	* m-sequent.h: Define NO_SOCK_SIGIO, F_SETOWN_SOCK_NEG, MAIL_USE_FLOCK.
d2465 1
a2465 1
Thu Oct 26 11:00:01 1989  Joseph Arceneaux  (jla at spiff)
d2467 1
a2467 3
	* xterm.c (x_handle_error_gracefully): Make sure to completely
	release input before returning, using:
	* xterm.h New macro TOTALLY_UNBLOCK_INPUT.
d2469 1
a2469 2
	* xmenu.c (xmenu_quit): No longer use this error_handler; use
	default one.
d2471 19
a2489 1
Wed Oct 25 10:17:05 1989  Joseph Arceneaux  (jla at spiff)
d2491 1
a2491 1
	* config.h-dist: Comment fix.
d2493 1
a2493 1
Tue Oct 24 10:25:42 1989  Joseph Arceneaux  (jla at spiff)
d2495 2
a2496 1
	* xfns.c (Fx_draw_lines, translate_vectors): New functions.
d2498 2
a2499 1
Sat Oct 21 02:31:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2501 2
a2502 1
	* search.c (search_buffer): Always find null string.
d2504 4
a2507 2
	* window.c (window_loop): For UNSHOW_BUFFER, don't Fset_buffer
	unless window is the selected one.
d2509 1
a2509 1
Fri Oct 20 19:00:42 1989  Joseph Arceneaux  (jla at spiff)
d2511 2
a2512 2
	* xdisp.c (display_minibuf_message): Choose minibuf screen first
	of all.  Return if not visible.
d2514 1
a2514 1
Thu Oct 19 16:27:55 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d2516 1
a2516 4
	* xterm.c (x_handle_error_gracefully): New procedure to handle
	non-fatal X errors.
	(x_error_handler): Use it.
	(acceptable_x_error_p): New macro.
d2518 1
a2518 1
	* xfns.c (Fx_own_selection): Use second parameter SCREEN.
d2520 1
a2520 2
	* xdisp.c: (message, message1): No longer displays messages
	when using X but not yet mapped. 
d2522 1
a2522 1
Wed Oct 18 17:55:37 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2524 1
a2524 1
	* m-pyramid.h (NO_ARG_ARRAY): Define if using GCC.
d2526 1
a2526 1
Tue Oct 17 03:08:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2528 1
a2528 1
	* vmsfns.c (process_command_input): Call clear_waiting_for_input.
d2530 2
a2531 1
Sat Oct 14 00:09:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2533 1
a2533 3
	* syntax.c (scan_words): If words_include_escapes not 0,
	treat Sescape and Scharquote like Sword.
	(syms_of_syntax): Define Lisp variable.
d2535 1
a2535 6
	* process.c (wait_reading_process_input): Get rid of kbd_count.
	Use detect_input_pending.
	* sysdep.c (select, read_input_waiting): Likewise.
	(read_input_waiting): Don't read directly into kbd_buffer;
	use kbd_buffer_store_char.
	* keyboard.c: Don't define kbd_count.
d2537 1
a2537 2
	* keyboard.c (read_key_sequence): Reject the prefix char generated
	for a Meta char, if it finds a non-prefix definition.
d2539 2
a2540 1
Fri Oct 13 20:05:12 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2542 1
a2542 4
	* process.c (wait_reading_process_input): READ_KBD==2 means
	wait until have mouse input.
	* xfns.c (Fx_get_mouse_event): Use that.
	* xterm.c (mouse_event_pending_p): New subroutine.
d2544 1
a2544 1
Fri Oct 13 19:23:51 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d2546 3
a2548 4
	* xfns.c (x_selection_arrival):
	(x_send_incremental):
	(x_answer_selection_request): New procedures for incremental
	selection transfer.
d2550 5
a2554 1
Thu Oct 12 20:06:54 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d2556 8
a2563 2
	* lread.c (complete_filename_p): New function which replaces
	absolute_filename_p.   This one doesn't consider "~" valid.
d2565 4
a2568 1
Thu Oct 12 02:41:15 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2570 2
a2571 1
	* buffer.c: Comment fix.
d2573 4
a2576 4
Wed Oct 11 15:37:04 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)

	* xfns.c: (Fx_open_connection) New X atoms Xatom_incremental and
	Xatom_multiple.
d2578 1
a2578 1
	* xterm.h: New macros MAX_SELECTION and SELECTION_LENGTH.
d2580 1
a2580 1
	* process.c (child_sig):  Check pid <= 0 in case WNOHANG not defined.
d2582 2
a2583 1
Wed Oct 11 14:55:23 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2585 6
a2590 4
	* termcap.c (tgetent, gobble_line): Always store null at end of bfr.
	Allocate one extra byte at end to ensure space.
	Clean up order of arithmetic when updating ptrs into buffer
	after xrealloc.
d2592 1
a2592 1
Tue Oct 10 15:10:03 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d2594 5
a2598 1
	* xfns.c (Fx_open_connection): Make all X Atoms here.
d2600 1
a2600 3
	* xterm.c: (x_iconify_screen):
	(x_iconify_screen): Cleaned up this code.
	(x_term_init): Removed warpmouseondeiconify stuff.
d2602 1
a2602 1
Mon Oct  9 09:52:06 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d2604 2
a2605 2
	* xdisp.c (DoDsp): Make sure to call unhold_window_change after
	before all returns. 
d2607 1
a2607 2
	* minibuf.c (read_minibuf): Changed set_mouse_position to
	Fset_mouse_position.
d2609 6
a2614 3
	* xterm.c (XTread_socket): dumprectangle (whole screen) instead of
	DoDsp in ConfigureNotify event.
	(x_wm_set_size_hint): New calculations for size_hints.
d2616 1
a2616 2
	* screen.c (Fset_mouse_position): No more function
	set_mouse_position; use x_set_mouse_position directly.
d2618 1
a2618 7
	* xfns.c (x_set_cursor_color): Really decode Vx_cusor_fore_pixel
	if set.  Define new cursor before freeing old.  This may eliminate
	a server bug on the Sony.
	Also check for invisible cursors.
	(x_set_mouse_color): Check for invisible pointers.
	(x_resize_scrollbars): BLOCK_INPUT whilst doing operations.
	(adjust_scrollbars): Likewise.
d2620 2
a2621 1
Tue Oct  3 12:30:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2623 1
a2623 2
	* m/m-hp9000s800.h (XUNMARK): Delete definition.
	(S_IFLNK): Do not undef it.
d2625 1
a2625 1
Tue Oct  3 10:38:42 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d2627 2
a2628 1
	* dispnew.c (get_display_line): If screen not visible, abort.
d2630 2
a2631 1
Mon Oct  2 23:48:12 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d2633 1
a2633 2
	* xterm.c (x_make_screen_visible): Set s->visible, unset
	s->iconified for HAVE_X11.
d2635 1
a2635 1
Fri Sep 29 15:53:39 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d2637 2
a2638 2
	* xterm.c (XTread_socket): Check screen s before proceeding for
	MapNotify event.
d2640 1
a2640 4
	* xterm.c: No longer sets the variable mouse_down_timestamp.
	* xfns.c: (Fx_get_mouse_event) mouse_timestamp
	 (formerly mouse_down_timestamp) set here.  Also, mask out upper 9
	 bits before doing XSET.
d2642 3
a2644 1
Thu Sep 28 10:59:29 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d2646 1
a2646 8
	* xfns.c (Fx_geometry): Kludge for the case of position `-0'.
	(Fx_get_mouse_event): Also return the time stamp as last list elt.
	(Fx_color_display_p):
	(Fx_defined_color):
	(x_decode_color):
	(defined_color): Eliminate screen argument.
	(Fx_create_screen): No more ColorMap component to display.x.
	* xterm.h: Likewise.
d2648 1
a2648 1
Wed Sep 27 17:51:40 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d2650 1
a2650 6
	* xfns.c (Fx_own_selection):
	 (Fx_get_selection):
	 (x_disown_selection): new funcs, which use new variables
	 Vx_selection_value, x_begin_selection_own, mouse_down_timestamp,
	 requestor_time, requestor_window, property_name, and
	 x_begin_selection_own.
d2652 1
a2652 6
	* xterm.c (XTread_socket): Only do stuff if s for FocusOut under X11.
	SelectionClear:
	SelectionRequest:
	SelectionNotify:  New events to handle the selection inter-client
	communication mechanism.
	ButtonPress: Set mouse_down_timestamp.
d2654 3
a2656 1
Tue Sep 26 17:21:12 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d2658 1
a2658 1
	* xfns.c: New variable Vx_cursor_fore_pixel.
d2660 1
a2660 1
Sat Sep 23 03:59:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2662 1
a2662 1
	* lread.c (openp): Don't ! the result of `access'.
d2664 2
a2665 1
Fri Sep 22 00:29:05 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2667 1
a2667 2
	* fileio.c (Fread_file_name_internal): Try to work properly
	if dirs are specified using environment vars.  Preserve use of vars.
d2669 1
a2669 1
Thu Sep 21 02:55:50 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2671 1
a2671 1
	* fileio.c: Comment fix.
d2673 1
a2673 1
Mon Sep 18 11:26:55 1989  Joseph Arceneaux  (jla at spiff)
d2675 4
a2678 2
	* xfns.c (Fx_get_cut_buffer): XFree the data returned by
	XFetchBytes.
d2680 1
a2680 1
Sat Sep 16 01:49:45 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2682 1
a2682 1
	* fileio.c (Fwrite_region): Reinstall #if 0 around fstat.
d2684 1
a2684 1
Tue Sep 12 14:28:43 1989  Joseph Arceneaux  (jla at spiff)
d2686 2
a2687 8
	* xfns.c (defined_color): New function to test if a color is
	currently defined.
	(x_decode_color): Use defined_color.
	(Fx_defined_color): New subr.
	(select_visual): Select the appropriate X11 Visual.
	(Fx_open_connection): Use select_visual.  screen_visual now
	global and used when making emacs windows.
	(Fx_color_display_p): New subr.
d2689 1
a2689 1
Mon Sep 11 16:03:04 1989  Joseph Arceneaux  (jla at spiff)
d2691 2
a2692 1
	* fileio.c (Fwrite_region): fixed typo.
d2694 1
a2694 1
	* keyboard.c (Fdiscard_input): fixed typo.
d2696 1
a2696 1
	* window.c (Fnext_window): fixed typos.
d2698 2
a2699 2
	* alloc.c (xmalloc, xrealloc): hold_window_changes whilst doing
	the associated operations.
d2701 1
a2701 7
	* dispnew.c (init_display): 
	(Fsleep_for, Fsit_for): 
	* process.c (Faccept_process_output): 
	* keyboard.c ({clear,set}_waiting_for_input):
	(quit_throw_to_get_char, get_char): 
	* xdisp.c (DoDsp, message, message1): Undid changes of Aug. 23
	(see below);  accept window changes most of the time.
d2703 1
a2703 1
Thu Sep  7 02:52:33 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2705 1
a2705 8
	* keyboard.c: Eliminate kbd_count, and use two pointers,
	kbd_fetch_ptr and kbd_store_ptr.  Assume buffer is empty when
	they are equal.  This should eliminate timing error.
	(kbd_buffer_store_char): Update kbd_store_ptr when storing.
	Don't ever fill the entire buffer.
	(kbd_buffer_get_char): Update kbd_fetch_ptr when fetching.
	(stuff_buffered_input): Likewise.
	(get_input_pending): Compare the two pointers.
d2707 1
a2707 2
	* fileio.c (Fwrite_region): Reenable using fstat rather than stat
	to get the modtime of the file just written, except on VMS and APOLLO.
d2709 1
a2709 1
Tue Sep  5 19:01:49 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2711 1
a2711 2
	* emacs.c, doc.c, filelock.c: Move Emacs header includes after
	system header includes, and #undef NULL in between.
d2713 1
a2713 1
Wed Aug 30 17:12:20 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2715 1
a2715 1
	* process.c [SYSV_PTYS]: If `titan', include some other files.
d2717 1
a2717 1
Tue Aug 29 15:48:22 1989  Joseph Arceneaux  (jla at spiff)
d2719 4
a2722 2
	* fileio.c: read-file-name replaced with new version, formerly
	called new-read-file-name.
d2724 1
a2724 1
Sat Aug 26 01:03:03 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
d2726 1
a2726 4
	* window.c (Fscroll_other_window): Use save-excursion (in effect)
	to save and restore current buffer and point.
	(window_scroll): If selected window's buffer isn't current,
	make it current, using save-excursion to go back.
d2728 1
a2728 1
Thu Aug 24 20:20:55 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
d2730 1
a2730 5
	* Use two variables to convey reason for synch process death,
	to avoid consing in signal handler.
	They are synch_process_death and synch_process_retcode.
	* callproc.c (Fcall_process): Use both variables.
	* process.c (child_sig): Set both variables.
d2732 1
a2732 1
Thu Aug 24 17:27:53 1989  Joseph Arceneaux  (jla at spiff)
d2734 1
a2734 1
	* xterm.c (x_wm_set_size_hint): Use new ICCCM values for size_hints.
d2736 1
a2736 1
Thu Aug 24 16:49:11 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
d2738 2
a2739 1
	* buffer.c: Doc fix.
d2741 1
a2741 1
Thu Aug 24 12:12:09 1989  Joseph Arceneaux  (jla at spiff)
d2743 1
a2743 2
	* xfns.c (Fx_create_screen): X11 part.  Set height and width to 0
	before calling change_screen_size.
d2745 1
a2745 1
	* buffer.c (kill-all-local-variables): Changed doc string.
d2747 1
a2747 1
Wed Aug 23 17:35:48 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
d2749 1
a2749 7
	* dispnew.c (init_display): Call hold_window_change.
	(Fsleep_for, Fsit_for): Temporarily unhold, while waiting.
	* process.c (Faccept_process_output): Likewise.
	* keyboard.c ({clear,set}_waiting_for_input): Temporarily unhold.
	(quit_throw_to_get_char, get_char): Rehold.
	* xdisp.c (DoDsp, message, message1):
	Unhold and rehold momentarily before any real work.
d2751 2
a2752 1
	* Makefile (CPP): Use $(CC).
d2754 2
a2755 1
Tue Aug 22 12:05:09 1989  Joseph Arceneaux  (jla at spiff)
d2757 1
a2757 2
	* xfns.c (x_set_mouse_color): Use new variables Vx_pointer_mask,
	Vx_pointer_shape.
d2759 2
a2760 1
Mon Aug 21 23:47:00 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
d2762 1
a2762 2
	* alloc.c (malloc_warning): Do nothing if ignore_warnings.
	(init_alloc_once): Set ignore_warnings while initializing allocation.
d2764 5
a2768 1
	* buffer.c: Doc fix.
d2770 1
a2770 1
Mon Aug 21 17:47:56 1989  Joseph Arceneaux  (jla at spiff)
d2772 1
a2772 14
	* xterm.c (x_calc_absolute_position): New function to calculate
	positive screen position.
	(x_set_position): Use it.
	(x_reset_cursor): No longer exists.

	* xfns.c (x_set_mouse_color): Reset the cursor even if there's no
	X window.
	(x_figure_window_size): Use x_calc_absolute_position.
	(x_set_mouse_color): Rewrote this function.  Always set cursor and
	its color.  If the window exists, then attach the cursor to it.
	No longer uses x_reset_cursor.
	(x_create_window):
	(x_set_background):
	(x_set_foreground): Use x_set_mouse_color instead of x_reset_cursor.
d2774 2
a2775 1
Fri Aug 18 17:00:47 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
d2777 1
a2777 1
	* vmsfns.c: Define PRV$V_... syms if prvdef.h does not.
d2779 2
a2780 1
Fri Aug 18 15:32:13 1989  Joseph Arceneaux  (jla at spiff)
d2782 1
a2782 4
	* xfns.c (Fx_geometry): New subr.
	(x_figure_window_size): Don't worry about "geometry" here anymore;
	now done in x-win.el.
	(x_icon): Look in parms for iconic-startup rather than in variable.
d2784 2
a2785 1
Wed Aug 16 16:27:40 1989  Joseph Arceneaux  (jla at spiff)
d2787 1
a2787 6
	* xfns.c (x_set_*_scrollbar): Don't destroy a scrollbar if it
	doesn't exist.  Also set scrollbar size only if actually creating
	one.
	(x_set_name): Don't do anything if the X window doesn't exist.
	Set the icon name as well.
	(x_window): Set the class hints for the window.
d2789 1
a2789 1
Wed Aug 16 14:47:10 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
d2791 2
a2792 1
	* lread.c (Fload): Fix unterminated comment.
d2794 1
a2794 2
	* scroll.c (scrolling_max_lines_saved): Replace fixed threshold of 20
	with 1/4 of average length of lines.
d2796 5
a2800 1
Sun Aug 13 18:27:40 1989  Joseph Arceneaux  (jla at spiff)
d2802 1
a2802 1
	* ymakefile: Do ${make} for oldXMenu.
d2804 1
a2804 1
Sun Aug 13 17:24:12 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
d2806 1
a2806 1
	* eval.c: Doc fix.
d2808 1
a2808 1
Sat Aug 12 13:18:00 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
d2810 4
a2813 2
	* emacs.c (main): Check for failure opening -t device.
	Fatal error if terminal isn't a real terminal.
d2815 1
a2815 2
	* window.c (Fscroll_other_window): Let Vother_window_scroll_buffer
	specify a buffer to scroll.
d2817 1
a2817 1
Fri Aug 11 21:24:19 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
d2819 1
a2819 1
	* dispnew.c: Handle BROKEN_FIONREAD as in other files.
d2821 1
a2821 1
Wed Aug  9 12:55:15 1989  Joseph Arceneaux  (jla at spiff)
d2823 4
a2826 1
	* ../oldXMenu/Makefile: Removed all the unneccessary X stuff.
d2828 1
a2828 1
Mon Aug  7 22:08:30 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2830 1
a2830 2
	* fileio.c (barf_or_query_if_file_exists): When signalling,
	provide the expected args for a file-error.
d2832 1
a2832 1
Sun Aug  6 18:04:15 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2834 2
a2835 1
	* process.c: Let NEED_BSDTTY control include of bsdtty.h.
d2837 1
a2837 2
	* process.c [BSD or STRIDE]: If ioctl.h fails to define O_NDELAY,
	and we need it, try fcntl.h.
d2839 1
a2839 5
	* s-bsd*.h, s-rtu.h, s-umax.h, s-unipl*.h: Define HAVE_UNION_WAIT.
	* m-stride.h: Likewise.
	* process.c: Decide which type to use with `wait'
	according to HAVE_UNION_WAIT.  If WAITTYPE already defined,
	assume everything all set up for this.
d2841 1
a2841 2
	* m-hp9000s300.h: Unless NOT_C_CODE or NO_SHORTNAMES,
	define WAITTYPE and WRETCODE, and include sys/wait.h.
d2843 3
a2845 1
Sat Aug  5 17:20:09 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2847 1
a2847 1
	* callproc.c (child_setup): Get rid of junk in #if 0.
d2849 1
a2849 1
Thu Aug  3 02:20:01 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2851 3
a2853 5
	* abbrev.c (Fdefine_abbrev): Allow nil spec'd as expansion.
	(Fexpand_abbrev): Eliminate abbrev length limit; use alloca.
	Eliminate redundant tests, always true.
	Record positions of both start and end of abbrev.
	Handle whitespace following the abbrev, before point.
d2855 1
a2855 2
	* callproc.c (Fcall_process_region): Use unwind-protect to delete
	temp file.
d2857 1
a2857 1
	* lread.c (load_unwind): Free the pointer-word malloc'd in Fload.
d2859 1
a2859 1
Wed Aug  2 23:24:21 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d2861 1
a2861 1
	* emacs.c (Fdump_emacs): Doc fix.
d2863 2
a2864 1
Wed Aug  2 11:24:08 1989  Joseph Arceneaux  (jla at spiff)
d2866 3
a2868 5
	* xfns.c: Reorganized several functions to be in same order as the
	enum list.
	(x_set_border_color): For X11, don't set pix to -1 for
	gray values.
	(Fx_create_screen): Simplified this function even more.
d2870 1
a2870 1
Mon Jul 31 15:01:50 1989  Joseph Arceneaux  (jla at spiff)
d2872 1
a2872 1
	* keymap.c: New subrs Fuse_local_mouse_map, Fcurrent_local_mouse_map.
d2874 12
a2885 2
	* xfns.c (x_set_mouse_color):
	(x_set_cur): No need to redraw display after doing these.
d2887 2
a2888 3
	(Fx_get_mouse_event): Accept motion events.
	(x11_encode_mouse_button): Encoding a la X11, except for one
	kludge.  This is used only for motion events.
d2890 1
a2890 3
	* xterm.c (XTread_socket): Handle motion eveots.
	
Wed Jul 26 09:12:23 1989  Joseph Arceneaux  (jla at spiff)
d2892 3
a2894 7
	* xfns.c (Fx_create_screen): I couldn't take it any more, the
	ugliness of this routine offended me too deeply.  It is now
	completely rewritten for X11 and uses subroutines:
	(x_figure_window_size)
	(x_create_window)
	(x_icon)
	(x_make_gc)
d2896 1
a2896 2
	(Fx_draw_rectangle):
	(Fx_erase_rectangle): New subrs.
d2898 2
a2899 2
	* m/m-intel386.h: Changes in LOAD_AVE_TYPE, LOAD_AVE_CVT, and
	FSCALE to make loadst work correctly.
d2901 1
a2901 1
Mon Jul 24 10:53:13 1989  Joseph Arceneaux  (jla at spiff)
d2903 6
a2908 2
	* xfns.c (Fmodify_screen_parameters): Check s->output_method
	before looping through alist.
d2910 2
a2911 3
	(Fx_create_screen): Call x_default_parameter for font.
	Don't add the scrollbar widths when making the main window:  this
	is done when the scrollbar is actually made.
d2913 3
a2915 3
	(x_set_vertical_scrollbar): Set v_scrollbar_width here instead of
	in install_vertical_scrollbar.  Also, pass that function macros
	PIXEL_WIDTH, PIXEL_HEIGHT as args.
d2917 4
a2920 1
	(x_set_horizontal_scrollbar): Likewise.
d2922 3
a2924 4
	* xterm.c: (x_set_window_size): Don't call the things called
	anyway upon the ConfigureNotify event.
	(x_set_offset): Use the screen-size lisp variables for these
	calculations.
d2926 2
a2927 2
	* xterm.h: Added the screen parameter declarations from xfns.c for
	X11.
d2929 1
a2929 1
Fri Jul 21 12:43:46 1989  Joseph Arceneaux  (jla at spiff)
d2931 1
a2931 1
	* sysdep.c: Don't include sioctl.h on mips.
d2933 1
a2933 1
	* buffer.c  (Flist_buffers): Pass prefix as arg.
d2935 1
a2935 1
	* editfns.c (Finsert_char): Insert at most 256 chars at a whack.
d2937 1
a2937 1
	* xterm.c (x_draw_box): Moved cursor box right by one pixel.
d2939 1
a2939 1
Thu Jul 20 10:17:12 1989  Joseph Arceneaux  (jla at spiff)
d2941 1
a2941 2
	* xfns.c: New variable x_screen_visuals, set if Fx_open_display,
	to be used in screen-color-p.
d2943 1
a2943 2
	* process.c (create_process): Don't call setpgrp_of_tty here.
	Also, do setpgrp for USG regardless of HAVE_PTYS.
d2945 2
a2946 3
	* callproc.c (child_setup): Ignore argument set_pgrp and always do
	setpgrp_of_tty.
	(Fcall_process): Don't call setpgrp_of_tty here.
d2948 1
a2948 2
	* keyboard.c (command_loop_1): Make sure Vprefix_arg is NULL
	before finalizing_kbd_macro_chars;
d2950 10
a2959 1
Wed Jul 19 11:45:34 1989  Joseph Arceneaux  (jla at spiff)
d2961 2
a2962 2
	* xfns.c (Fx_rebind_key): Completely rewrote this function for
	X11.
d2964 1
a2964 1
Thu Jul 13 10:56:24 1989  Joseph Arceneaux  (jla at spiff)
d2966 1
a2966 6
	* emacs.c:
	* process.c:
	* unexec.c:
	* m/m-ibmrt-aix.h: Changed IBMRTAIX to IBMAIX.
	* sysdep.c: Likewise.  Also, don't define our closedir if IBMAIX.
	* m/m-ibmps2-aix.h: New file.
d2968 2
a2969 1
Wed Jul 12 17:16:43 1989  Joseph Arceneaux  (jla at spiff)
d2971 1
a2971 2
	* xdisp.c (message, message1): If using x, but haven't mapped the
	window yet, use noninteractive output.
d2973 1
a2973 2
	* dispnew.c (Fredraw_display): Don't redraw a screen which is not
	visible.
d2975 1
a2975 1
	* xterm.c (x_set_window_size): Don't DoDsp if screen isn't visible.
d2977 2
a2978 5
	* xfns.c (x_set_mouse_color)
	(x_set_border_color)
	(x_set_cursor_color)
	(x_set_background_color)
	(x_set_foreground_color): Don't redraw when screen isn't visible.
d2980 2
a2981 1
Tue Jul 11 09:47:59 1989  Joseph Arceneaux  (jla at gluteus)
d2983 1
a2983 2
	* xterm.c (x_term_init, XTread_socket):  Use ConnectionNumber for
	both X10 and X11.  This is #defined for X10.
d2985 3
a2987 2
	* screen.c (Fset_screen_width, Fset_screen_height): These now take
	a SCREEN argument.
d2989 1
a2989 1
Mon Jul 10 20:36:58 1989  Joseph Arceneaux  (jla at gluteus)
d2991 6
a2996 2
	* xterm.c (x_set_window_size): Call x_wm_set_size_hint.
	(x_new_font): Don't call x_wm_set_size_hint.
d2998 2
a2999 2
	* xfns.c (x_set_internal_border_width): Don't call
	x_set_resize_hint, and call x_set_window_size after BLOCK_INPUT.
d3001 5
a3005 2
	* screen.c, dispnew.c (Fset_screen_width, Fset_screen_height):
	These functions have moved to screen.c.
d3007 1
a3007 1
Fri Jul  7 12:05:26 1989  Joseph Arceneaux  (jla at sugar-bombs.ai.mit.edu)
d3009 10
a3018 2
	* eval.c (Ffuncall): Handle 6 arguments.  Also, print a nice error
	message if there are more than 6 args.
d3020 4
a3023 5
	* fns.c: (Fyes-or-no-p):
	* minibuf.c: (read_minibuf_unwind):
	(Fread_minibuffer):
	(Fread_no_blanks_input):
	(Fcompleting_read): Extra arg to read_minibuf.
d3025 2
a3026 6
	* callint.c (Fcall_interactively):
	* keyboard.c (Fexecute_extended_command):
	* minibuf.c: (Fread_command):
	(Fread_function):
	(Fread_variable):
	(Fread_buffer): Extra arg to Fcompleting_read.
d3028 2
a3029 1
Wed Jul  5 10:22:12 1989  Joseph Arceneaux  (jla at spiff)
d3031 1
a3031 6
	* minibuf.c (read_minibuf): New argument back_n is number of
	characters to back-up point by.
	(Fcompleting_read): Same.
	* fileio.c: (Fnew_read_file_name): New version of Fread_file_name
	using the above features.
	(Finsert_file_contents): Check for negative file length.
d3033 2
a3034 1
Mon Jul  3 14:57:22 1989  Joseph Arceneaux  (jla at spiff)
d3036 1
a3036 2
	* xfns.c: (x_pixel_width, x_pixel_height) New functions.
	* screen.c: (Fscreen_pixel_size): New subr.
d3038 2
a3039 1
Fri Jun 30 16:05:43 1989  Joseph Arceneaux  (jla at spiff)
d3041 20
a3060 1
	* xterm.c: Use invocation_name as argument to XGetDefaults.
d3062 1
a3062 1
Thu Jun 29 10:29:23 1989  Joseph Arceneaux  (jla at spiff)
d3064 3
a3066 5
	* xterm.c (x_error_handler) #ifdef sony_news use XDefaultError
	instead of XPrintDefaultError due to weirdness in Sony library.
	* xterm.c: Avoid infinite raise/lower, enter/leave cycle when both
	auto_raise and auto_lower are set by checking times between
	consecutive Enter events.
d3068 1
a3068 1
Tue Jun 27 17:15:16 1989  Joseph Arceneaux  (jla at sugar-bombs.ai.mit.edu)
d3070 2
a3071 3
	* screen.c: (Fselect_screen)
	* window.c: (Fselect_window) The previous strategy was bugging the
	lisp stuff, so these are now rewritten.
d3073 6
a3078 1
Mon Jun 26 15:36:00 1989  Joseph Arceneaux  (jla at galapas.ai.mit.edu)
d3080 1
a3080 3
	* cm.c (Wcm_init): Don't check for Wcm.cm_ds, since this has been
	removed.
	(losecursor):  This function now a #define in cm.h.
d3082 1
a3082 12
	* xterm.c (x_iconify_screen): Send message to root window to do
	this, as per latest Inter-Client Communications Conventions.  This
	is commented out until it's implemented by X.  For now, do it with
	the iconic_state hint.
	(x_deiconify_screen): For X11, just Map the window, as per the new
	ICCC.
	(x_make_screen_visible): Only handle visible and iconified screen
	elements for X10;  these variables are handled in event processing
	for X11.
	(x_make_screen_invisible): Send an UnmapNotify event to the root
	window to aprise the window manager of the change.
	(XTread_socket): Catch VisibilityNotify events.
d3084 4
a3087 1
Sun Jun 25 12:30:39 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3089 2
a3090 1
	* window.c (Fsplit_window): If horizontal, round left window size up.
d3092 1
a3092 1
Sat Jun 24 13:31:27 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3094 2
a3095 2
	* cm.h (cmplus): Improve formatting.
	Use losecursor when reach end of line, if losewrap.
d3097 2
a3098 3
	* cm.h: New fields to handle multi-line and multi-char motion,
	and both max and min cost for certain operations.
	* term.c (term_init): Init those fields.
d3100 3
a3102 2
	* term.c (clear_end_of_line_raw): Don't clear last char of last line
	if autowrap.
d3104 1
a3104 1
	* abbrev.c (Finsert_abbrev_table_description): Make 2nd arg optional.
d3106 1
a3106 1
Fri Jun 23 14:56:01 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3108 1
a3108 5
	* xfns.c, lisp/term/x-win.el: C routine Fscreen_color_p now lisp
	function x-color-screen-p in x-win.el.
	(x_set_cursor_color): New method:  first disallow same cursor as
	background, then if cursor not foreground, use it as cursor
	foreground.
d3110 1
a3110 1
Thu Jun 22 23:23:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3112 1
a3112 1
	* lisp.h (XPNTR): Don't define if already defined.
d3114 1
a3114 1
Thu Jun 22 18:08:11 1989  Joseph Arceneaux  (jla at cream-of-wheat.ai.mit.edu)
d3116 1
a3116 2
	* screen.c: New subrs Ficonify_screen, Fdeiconify_screen,
	Fread_mouse_position, Fset_mouse_position.
d3118 1
a3118 1
	* xterm.c: New functions x_deiconify_screen, x_iconify_screen.
d3120 2
a3121 1
Thu Jun 22 17:41:11 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3123 2
a3124 2
	* window.c (Fsplit_window, change_window_height):
	Enforce minimum of 2 for window_min_width and window_min_height.
d3126 17
a3142 1
Thu Jun 22 15:45:03 1989  Joseph Arceneaux  (jla at galapas.ai.mit.edu)
d3144 3
a3146 2
	* dispnew.c (unhold_window_change): Don't set and unset in_display
	before and after calling change_screen_size.
d3148 2
a3149 1
Wed Jun 21 00:35:30 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3151 1
a3151 2
	* buffer.c (Fkill_buffer): Ignore errors deleting auto-save file.
	Delete only if delete-auto-save-files.
d3153 3
a3155 1
	* data.c (Fmake_local_variable): Don't change value if unbound.
d3157 3
a3159 1
Tue Jun 20 15:29:03 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3161 1
a3161 2
	* screen.c (Fselect_screen): Use x_set_mouse_position instead of
	x_enter_screen.
d3163 1
a3163 3
	* xterm.c (x_enter_screen): Deleted, now merged with
	* xfns.c (x_set_mouse_position): If the position is negative, use
	the center screen position.
d3165 1
a3165 3
	* data.c (swap_in_symval_forwarding): Declared tem1.
	(Fset): Changed variable name void to voide.  Also, set it to a C
	true/false, rather than Qt or Qnil.
d3167 5
a3171 1
Sat Jun 17 15:45:52 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3173 3
a3175 2
	* eval.c (Fdefvar): Operate on default value if sym is buffer-local.
	(Fdefconst): Likewise.
d3177 3
a3179 7
	* Allow buffer-local variables to be void in one buffer
	or in the default value.
	* data.c (swap_in_symval_forwarding): New function.
	(Fboundp, Fsymbol_value): Use that.
	(default_value): New function.
	(Fdefault_value): Use that.
	(Fdefault_boundp): New function, uses that.
d3181 1
a3181 1
Fri Jun 16 22:21:12 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3183 12
a3194 2
	* ymakefile: New variable OLDXMENU has filename of libXMenu.a
	as a target.  Make temacs depend on it.
d3196 2
a3197 1
Thu Jun 15 18:47:33 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3199 2
a3200 2
	* ymakefile [HAVE_X11, HAVE_X_MENU]: Build oldXMenu.
	* xmenu.c: Get XMenu.h from sibling dir.
d3202 1
a3202 2
	* buffer.c (Fkill_buffer): Return t if buffer is killed.
	Delete auto-save file if any.
d3204 1
a3204 1
Fri Jun  9 15:42:44 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3206 1
a3206 1
	* window.c: initialize auto_new_screen to 0 (nil).
d3208 1
a3208 3
	* screen.c (make_screen): added auto_lower to the list of screen
	elements initialized.
	(make_minibuffer_screen): likewise.
d3210 1
a3210 1
Thu Jun  8 16:53:24 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3212 1
a3212 2
	* window.c (Fset_window_point): Don't lose if window's buffer is
	not current.
d3214 2
a3215 1
Thu Jun  8 15:18:30 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3217 10
a3226 2
	* xfns.c (Fx_open_connection): Added 9  Lisp variables
	defined	by the screen and server.
d3228 1
a3228 1
Thu Jun  8 12:51:47 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3230 2
a3231 1
	* m-pmax.h: New file.
d3233 1
a3233 1
Thu Jun  8 12:39:51 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3235 1
a3235 1
	* xfns.c: removed superfluous definition of gray_bits.
d3237 1
a3237 1
Wed Jun  7 21:57:53 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3239 2
a3240 1
	* m-hp9000s300.h: Define NEED_BSDTTY unless NOMULTIPLEJOBS.
d3242 1
a3242 1
Wed Jun  7 16:14:41 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3244 1
a3244 4
	* emacs.c (Fkill_emacs): If under X, call
	Fx_close_current_connection.  This has fixed the "bad file" bug.
	* xfns.c (Fx_close_current_connection): Added this subr which for
	the moment serves only to close the X-connection when killing emacs.
d3246 1
a3246 1
Wed Jun  7 13:56:03 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3248 1
a3248 2
	* m-hp9000s800.h: Define NEED_BSDTTY here.
	* s-hpux.h: Not here.
d3250 1
a3250 1
Tue Jun  6 19:25:46 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3252 1
a3252 1
	* s/s-hpux.h: Define NEED_BSDTTY.
d3254 1
a3254 1
Tue Jun  6 13:11:58 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3256 1
a3256 4
	* xterm.c (x_new_selected_screen): Make the new selected_screen
	and it's selected_window's screen be the same.
	(x_enter_screen): Calculate the middle of the screen, and warp the
	mouse there.  Also, raise the screen before doing so.
d3258 1
a3258 1
Mon Jun  5 14:54:28 1989  Joseph Arceneaux  (jla at cream-of-wheat.ai.mit.edu)
d3260 2
a3261 5
	* xterm.c (x_set_window_size):  If not already in DoDsp (checked
	with variable in_display) then DoDsp here.  Handles redisplay
	after screen configuration.
	(x_error_handler): Print out stuff about the error if we're in
	debug mode.
d3263 1
a3263 1
	* dispnew.c (change_screen_size):  No longer call DoDsp here.
d3265 1
a3265 1
Mon Jun  5 11:22:58 1989  Chris Hanson  (cph at kleph)
d3267 1
a3267 2
	* syntax.c (Fmodify_syntax_entry): Change documentation string to
	reflect earlier change to action of `p' syntax bit.
d3269 1
a3269 1
Sun Jun  4 17:30:49 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3271 1
a3271 1
	* lread.c (read1): Don't accept "" in middle of string.
d3273 1
a3273 1
Tue May 30 14:24:41 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3275 1
a3275 2
	* search.c (Freplace_match): If \N has nothing to insert,
	insert nothing.
d3277 1
a3277 1
Mon May 29 21:41:38 1989  Joseph Arceneaux  (jla at gracilis.ai.mit.edu)
d3279 1
a3279 3
	* xfns.c: (Fx_create_screen): If parms is nil and
	Vx_screen_defaults isn't, then use them.
	(Fdisplay_buffer): Call Fx_create_screen with Qnil.
d3281 1
a3281 1
Thu May 25 16:32:10 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3283 1
a3283 1
	* syntax.c (scan_lists): Once within a word, treat Squote like Sword.
d3285 1
a3285 1
Wed May 24 16:06:27 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3287 1
a3287 1
	* dispnew.c (change_screen_size): DoDsp if not pretend.
d3289 1
a3289 1
Tue May 23 22:18:05 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3291 2
a3292 1
	* search.c (skip_chars): Dumb error checking for \.
d3294 1
a3294 1
Mon May 22 16:30:08 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3296 1
a3296 4
	* screen.c (Fselect_screen): Under X, basically just warp the
	cursor into the desired screen.  The event handler will then do
	the right thing.
	(Frestore_screen_configuration): Don't set the mouse position.
d3298 2
a3299 4
	* window.c (Fselect_window):  If window's screen is not selected,
	call Fselecte_screen.
	(Fdisplay_buffer): Call Fx_create_screen with x-screen-parameters
	as argument instead of nil.
d3301 1
a3301 2
	* keyboard.c (clear_waiting_for_input): Don't call
	x_new_selected_screen here.
d3303 1
a3303 2
	* xterm.c (XTread_socket): Add case slots for CirculateNotify and
	CirculateRequest events.
d3305 1
a3305 1
Sun May 21 15:51:46 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3307 1
a3307 2
	* doc.c (Fsubstitute_command_keys): Evaluate \\<...> keymap 
	in proper buffer.
d3309 1
a3309 2
	* keymap.c (Fapropos_internal): New Lisp function, old apropos
	but only returns a list.
d3311 3
a3313 1
Sat May 20 22:05:01 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3315 3
a3317 1
	* process.c (Fopen_network_stream): Don't set kill-without-query.
d3319 1
a3319 1
Fri May 19 16:54:04 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3321 2
a3322 3
	* xterm.c (x_new_selected_screen):  This now takes a struct screen
	pointer as paramter.
	* (XTread_socket): call x_new_selected_screen *before* dumpborder.
d3324 9
a3332 1
Tue May 16 17:01:02 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3334 1
a3334 3
	* xfns.c: (x_window_to_scrollbar): If the caller's not interested
	in the names--passing 0 for last two parameters--just return the
	screen pointer.
d3336 1
a3336 2
	* xterm.c (x_enter_screen):  Added this function for warping the
	pointer into a screen.
d3338 2
a3339 1
Tue May 16 16:23:22 1989  Chris Hanson  (cph at kleph)
d3341 1
a3341 4
	* syntax.c (scan_lists, scan_sexps_forward): Treat characters
	whose "prefix" bit is on as whitespace when they are encountered
	between expressions.  When they occur within expressions they are
	treated according to their syntax code.
d3343 6
a3348 1
Tue May 16 15:20:03 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3350 1
a3350 2
	* xterm.c: (x_new_selected_screen): Don't call Fselect_screen.
	Just do everything here.
d3352 1
a3352 4
	* window.c (Fselect_window): If the screen associated with the
	window is not selected, warp the mouse, cause an EnterNotify event
	which then causes the proper screen to become selected.  This does
	*not* call Fselect_screen.
d3354 1
a3354 2
	* screen.c (Fselect_screen):  Now this is *only* a lisp subr.  It
	just calls Fselect_window on the selected window of the screen.
d3356 1
a3356 1
Mon May 15 21:42:23 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3358 1
a3358 2
	* editfns.c (Fsubst_char_in_region): If NOUNDO, do increment tick,
	but maybe also increment save-tick.
d3360 4
a3363 1
Mon May 15 14:59:31 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3365 1
a3365 3
	* xterm.c (x_set_window_size): Only one #ifdef HAVE_X11 due to new
	macro in:
	* xterm.h: New macro XChangeWindowSize for both X10 and X11.
d3367 4
a3370 2
	* xfns.c (Fx_create_screen):  Use XCreateWindow instead of
	XCreateSimpleWindow to directly set some extra attributes.
d3372 1
a3372 1
Sun May 14 18:31:18 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3374 1
a3374 4
	* syntax.h (SYNTAX_PREFIX): New macro.
	* syntax.c (Fmodify_syntax_table): Handle `p'; set new flag.
	(describe_syntax): Describe new flag.
	(Fbackward_prefix_chars): Move back over such chars.
d3376 1
a3376 1
	* lread.c (read1): Dumb errors in last change.
d3378 3
a3380 1
Sat May 13 14:19:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3382 1
a3382 1
	* lread.c (read1): Error if EOF after `?' or in string.
d3384 1
a3384 1
	* sysdep.c (init_sys_modes) [IBMRTAIX]: Typo; had s for sg.
d3386 1
a3386 1
Fri May 12 17:56:48 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3388 1
a3388 1
	* s/s-usg5-3.h: Define HAVE_SYSVIPC?
d3390 3
a3392 1
	* alloc.c (Fmake_byte_code): If purifying, purecopy all elements.
d3394 2
a3395 2
	* ymakefile (LIBXMENU): Use -loldX.
	Find libXMenu11.a in special place.
d3397 1
a3397 1
Fri May 12 11:43:16 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3399 1
a3399 4
	* xfns.c (Fx_create_screen):  If user has specified
	`x-iconic-startup' then start emacs in iconic form.
	Look for icon position in `icon-left' and `icon-top', or use
	window postion.
d3401 3
a3403 2
	* xterm.c (x_term_init):  If server doesn't respond, use fatal
	instead of error.  Also tell user about -d option.
d3405 1
a3405 1
Wed May 10 16:37:45 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3407 2
a3408 2
	* sysdep.c (init_sys_modes, reset_sys_modes):
	Handle TIOCGLTC even if HAVE_TERMIO.
d3410 3
a3412 2
	* print.c (Qprint_escape_newlines): New variable.
	* minibuf.c (read_minibuf): Make it t locally in minibuffers.
d3414 1
a3414 1
	* fileio.c (Fcopy_file): Check for error on close.
d3416 2
a3417 1
Wed May 10 14:33:53 1989  Joseph Arceneaux  (jla at corn-chex.ai.mit.edu)
d3419 2
a3420 2
	* xfns.c (adjust_scrollbars):  Don't subtract 2 from
	h_scrollbar_height when calculating `length'.
d3422 1
a3422 1
Mon May  8 17:48:21 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3424 1
a3424 3
	* eval.c (call_debugger): Set entering_debugger.
	(find_handler_cause): Don't enter debugger if that's set.
	(Fbacktrace): Clear it; we are presumably in the debugger.
d3426 1
a3426 1
	* m/m-sps7.h: New file.
d3428 1
a3428 1
Mon May  8 17:37:55 1989  Joseph Arceneaux  (jla at rice-chex.ai.mit.edu)
d3430 1
a3430 2
	* xterm.c (XTread_socket_hook): For X11, on map and unmap events
	check the window manager hints for iconification status.
d3432 1
a3432 2
	* xterm.c (x_make_widow_icon):  For X11, just request
	iconification of the window manager.
d3434 1
a3434 1
Mon May  8 16:09:54 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3436 5
a3440 1
	* m/m-clipper.h: New file.
d3442 1
a3442 1
Sun May  7 16:35:33 1989  Joseph Arceneaux  (jla at corn-chex.ai.mit.edu)
d3444 1
a3444 2
	* xfns.c (adjust_scrollbars):  Don't subtract 2 from
	v_scrollbar_width when calculating `height'.
d3446 1
a3446 3
	* xfns.c (x_set_foreground, x_set_border_pixel):  Finished color
	coordination.  Scrollbar border, thump-arrows, and slider pixmap
	linked with foreground color;  slider border with window border.
d3448 1
a3448 1
Sun May  7 14:41:02 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3450 1
a3450 1
	* lread.c (read1): Handle octal integers.
d3452 2
a3453 1
	* macros.c: Doc fix.
d3455 2
a3456 1
	* search.c (Fstore_match_data): Allow ints instead of markers.
d3458 5
a3462 2
	* keyboard.c (get_char_menu_prompt): New function; does menu prompting
	based on current keymaps.
d3464 4
a3467 1
Fri May  5 23:50:39 1989  Joseph Arceneaux  (jla at gracilis.ai.mit.edu)
d3469 1
a3469 2
	* xfns.c (Fx_set_face):  Rewrote the doc-string and renamed the
	parameters.
d3471 1
a3471 1
Fri May  5 17:13:20 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3473 1
a3473 3
	* unexec.c: New control parameters COFF_BSD_SYMBOLS, KEEP_OLD_PADDR,
	KEEP_OLD_TEXT_SCNPTR, ADJUST_TEXT_SCNHDR_SIZE, ADJUST_TEXTBASE,
	HEADER_INCL_IN_TEXT.
d3475 1
a3475 1
	* unexec.c: Define IN_UNEXEC as flag for config.h.
d3477 1
a3477 1
	* keymap.c: Fapropos, etc., deleted.  (Now in Lisp code.)
d3479 4
a3482 2
	* eval.c (Fcommandp): Byte code object is command if interactive slot
	exists at all.
d3484 1
a3484 1
Fri May  5 15:46:50 1989  Chris Hanson  (cph at kleph)
d3486 2
a3487 2
	* process.c [HPUX && !NOMULTIPLEJOBS]: Include <bsdtty.h>, which
	defines TIOCGPGRP.
d3489 1
a3489 1
Fri May  5 00:36:33 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3491 2
a3492 2
	* data.c (Faref, Farray_length): Handle byte-code objects.
	* fns.c (Flength, concat): Likewise.
d3494 1
a3494 1
	* data.c (Faref, Faset, Farray_length): Rename arg VECTOR to ARRAY.
d3496 1
a3496 1
	* m/m-hp9000s300.h: Undefine NOMULTIPLEJOBS.
d3498 1
a3498 1
	* keyboard.c (Fcommand_execute): Treat bytecode object as function.
d3500 1
a3500 2
	* callint.c (Fcall_interactively): Separate decoding of fcn
	from handling of it.
d3502 1
a3502 3
	* alloc.c (Fmake_byte_code): Renamed from Fmake_compiled_code.
	Make it pure if Vpurify_flag is non-nil.
	(Fpurecopy): Handle byte-code objects.
d3504 1
a3504 4
	* keyboard.c (get_char): Use Fsit_for for echoing timeout, not alarm.
	Do this before timeout for auto-save since the latter is longer.
	(request_echo): Function deleted.
	({set,clear}_waiting_for_input): No need for echo_now, echo_flag.
d3506 2
a3507 1
Thu May  4 10:44:12 1989  Joseph Arceneaux  (jla at gracilis.ai.mit.edu)
d3509 2
a3510 2
	* xterm.c (x_lower_window, x_raise_window): Don't do anything if
	the window isn't visible.
d3512 1
a3512 2
	* xfns.c (x_set_foreground_color): Recolor the scrollbar windows
	appropriately, compatible with xterm.
d3514 2
a3515 1
	* xterm.c (x_reset_cursor): Do cursor recoloring.
d3517 1
a3517 1
Thu May  4 02:07:55 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3519 1
a3519 1
	* fns.c (Frandom): With number as arg, return value < that number.
d3521 1
a3521 2
	* sysdep.c [USG, BSD4_1] (random): Call `rand' twice, to get
	30 bits of significance.
d3523 3
a3525 1
Wed May  3 19:51:46 1989  Joe Arceneaux  (jla at gracilis.ai.mit.edu)
d3527 1
a3527 3
	* xterm.c (x_draw_box):  Use the cursor_gc.
	* xfns.c: (x_set_cursor_color, x_create_screen): Do a better job
	with cursor colors, and use 0 line width for the cursor_gc.
d3529 1
a3529 1
Tue May  2 16:34:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3531 1
a3531 10
	* Begin changing representation of compiled functions.
	* lisp.h (enum Lisp_Type): New type code Lisp_Compiled, like a vector.
	(COMPILED_*): Names for slots in those vectors.
	* alloc.c (Fmake_compiled_code): New function.
	* eval.c (Fcommandp, Feval, Ffuncall, funcall_lambda):
	Handle fcns of type Lisp_Compiled.
	(Fcommandp, Fapply): Avoid directly nested ifs.
	* print.c (print): Handle Lisp_Compiled objects.
	* callint.c (Fcall_interactively): likewise.
	* doc.c (Fdocumentation): likewise.
d3533 2
a3534 1
	* keyboard.c (Fopen_dribble_file): nil as arg means close it.
d3536 1
a3536 6
	* abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c:
	* casefiddle.c, cmds.c, data.c, dired.c, dispnew.c, doc.c, editfns.c:
	* eval.c, fileio.c, filelock.c, floatfns.c, fns.c, keyboard.c:
	* keymap.c, lread.c, minibuf.c, mocklisp.c, print.c, process.c:
	* screen.c, search.c, syntax.c, undo.c, vmsfns.c:
	Many doc fixes.
d3538 1
a3538 1
Sun Apr 30 14:07:11 1989  Joseph Arceneaux  (jla at hobbes)
d3540 2
a3541 2
	* xterm.c (XTring_bell): Wasn't passing selected_screen to XTflash.
	Fixed this.
d3543 1
a3543 2
	* xterm.c (XTread_socket): Don't check if server died under
	X11.  Temporary.
d3545 1
a3545 1
Sun Apr 30 14:22:01 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3547 1
a3547 1
	* window.c (Fdelete_other_windows): Bug getting top edge.
d3549 1
a3549 1
Sat Apr 29 17:18:44 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3551 1
a3551 2
	* keyboard.c (get_char): Auto save if enough time elapses.
	(auto_save_timeout): New Lisp variable.
d3553 1
a3553 2
	* xdisp.c (try_window, try_window_id): Set w->redo_mode_line
	if should show percentage instead of `Bot'.
d3555 1
a3555 1
Sat Apr 29 16:32:03 1989  Joe Arceneaux  (jla at apple-gunkies.ai.mit.edu)
d3557 1
a3557 2
	* xterm.c (x_term_init): Don't set visible bell, as it pre-empts
	.emacs control.
d3559 1
a3559 1
Wed Apr 26 22:50:22 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3561 1
a3561 2
	* doc.c (syms_of_doc): Make Vdoc_file_name a Lisp variable
	named internal-doc-file-name.
d3563 2
a3564 1
Tue Apr 25 22:04:02 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3566 1
a3566 5
	* m-news.h: m-news800.h renamed.
	Removed EXPLICIT_SIGN_EXTEND and COMPILER_REGISTER_BUG.
	Removed SEGMENT_MASK and sigmask.
	LOAD_AVE_TYPE is now `double'; LOAD_AVE_CVT changed too.
	Define m68000 if not defined.
d3568 1
a3568 1
Mon Apr 24 01:48:07 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3570 1
a3570 3
	* ymakefile: If COFF_ENCAPSULATE, define LD as gcc -nostdlib.

	* sysdep.c: Unconditionally include sys/ioctl.h.
d3574 3
d3578 1
a3578 1
Sun Apr 23 00:47:14 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3580 1
a3580 97
	* m/m-altos.h: Use termcap, not terminfo.
	Define COFF_ENCAPSULATE if using gcc.
	Use built-in alloca if using gcc.
	Define PURESIZE.

	* lread.c (absolute_filename_p): On ALTOS, @@ means absolute.

	* process.c: Missing #endif.
	* fileio.c (Finsert_file_contents): Define `p' for last change.
	* buffer.c, floatfns.c: Typos in DEFUN doc strings.
	* keyboard.c: Typo in DEFVAR_LISP doc string.

	* window.c (Fdelete_other_windows): Fix confusion about type of W.

Sat Apr 22 19:35:46 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* ymakefile (LDFLAGS): Forgot to use LD_SWITCH_SITE.

	* xterm.c (XTflash): Draw the bars here.
	(x_invert_screen): Change to invert entire window.
	(stufflines): Changed args to XClearArea.
	(XTread_socket): Clean up handling of KeyPress events.
	For LeaveWindow, ignore uninteresting ones and handle autolower.
	For FocusIn, ignore if unknown window, and handle autoraise.
	For MotionNotify, add real handling for X11.
	For ConfigureNotify, count width of scroll bars.
	Don't call change_screen_size redundantly; ignore linked expose events.
	Update left and top pos if nec.
	For button events, ignore if not in known window or scrollbar.
	(x_new_selected_screen): Takes screen as arg.
	(x_error_handler): Arg type different for X11.
	(x_set_window_size) [HAVE_X11]: Call change_screen_size
	before x_wm_set_size_hint.
	(x_make_window_visible): Make scroll bars visible too, if any.
	(x_lower_window): New fn.
	(x_wm_set_size_hint): Take account of width of scroll bars.
	Ior specified hint flags with those already set.

	* xterm.h (HSCROLL_HEIGHT): HSCROLL_WIDTH is renamed.
	(MAXWIDTH): Increased to 300.
	(MAXHEIGHT): Increased to 100.
	(DISPLAY_SCREEN_ARG): Remove parentheses.
	(ButtonReleased, WhichMouseButton): Delete definitions.

	* xmenu.c: Adapted to new X interface.  X11ONLY replaced with xDISPLAY.
	Many X11 conditionals removed.

	* xfns.c (x_set_cursor_color): Special case if matches foreground.
	(Fx_create_screen): Typo for HSCROLL_HEIGHT.
	Use BLACK_PIX_DEFAULT, WHITE_PIX_DEFAULT.
	Set PRETEND arg to change_screen_size.
	Delete gray_bits; this value made global.
	Don't call install_*_scrollbar here.
	(x_set_horizontal_scrollbar): Define this for real.
	(x_set_vertical_scrollbar): Corrent args to install_vertical_scrollbar.
	(install_vertical_scrollbar): New local slider_pixmap, and set it.
	Delete locals GC_values, temp_gc.
	Change arrow_width, arrow_height (appears to be undefined) to 16.
	Un-if-0 this code.
	Use border_pixel, not foreground_pixel, for scrollbar.
	(install_horizontal_scrollbar): Define this for real.
	(adjust_scrollbars): Handle horizontal scrollbar.
	Define XMoveResizeWindow as XConfigureWindow if X10 to simplify.
	(x_resize_scrollbars): Remove #if 0 from quick-exit case.
	Really handle horizontal scrollbar.
	Simplify using new macro.
	(Fx_get_mouse_event): Mostly ignore events other than buttons.
	Use many new macros to handle X10 and X11.
	(encode_mouse_button): New fn: encoding of which button, broken out.

	* xfns.c (left_arror_cursor, etc.): New vars.
	(x_screen_parm, init_x_parm_symbols, x_set_screen_param):
	Define X_PARM_AUTOLOWER.

	* xdisp.c (display_string, redisplay-window, DoDsp):
	Use SCREEN_WIDTH, SCREEN_HEIGHT.

Fri Apr 21 00:50:28 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* indent.c (compute_motion): Use SCREEN_WIDTH.
	* dispnew.c (update_line): Use SCREEN_WIDTH.
	(update_screen): Use SCREEN_HEIGHT.

Thu Apr 20 15:48:07 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* window.c: rename Vauto_new_screen_hook, Vdisplay_buffer_hook, and
	Vtemp_buffer_show_hook to ..._function.

	* keyboard.c: rename mouse_hook to mouse_event_function.

	* buffer.c, buffer.h, cmds.c: blink-paren-hook and auto-fill-hook
	renamed to -function.

	* fileio.c (Finsert_file_contents): Allow quit in read.
	(Fwrite_region): Allow quit in write.

Wed Apr 19 13:07:25 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d3582 1
a3582 5
	* doprnt.c (doprnt): Comment out %b since sprintf can't do it.

	* Change X11 to HAVE_X11 everywhere.

	* m-sun3.h: Define C_SWITCH_MACHINE as -fsoft.
d3584 1
a3584 1
Tue Apr 18 00:18:30 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
d4366 7
@


1.1.1.3
log
@import emacs-19.8
@
text
@a0 249
Tue May 25 05:15:14 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* Version 19.8 released.

Tue May 25 00:52:36 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* xfns.c: Clear out the old face stuff.
	(x_face_table, n_faces, x_set_face, x_set_glyph, Fx_set_face_font,
	Fx_set_face, Fx_get_face): Removed.
	(syms_of_xfns): Remove defsubr for Fx_set_face.

	Arrange for font names to get fully resolved - no wildcards.
	* xfns.c (x_set_frame_parameters): Store the value in the frame
	parameter alist before we call the setter function, so the setter
	function can touch up the value if it chooses.
	(x_set_foreground_color, x_set_background_color): Call
	recompute_basic_faces, so their GC's will reflect the changes.
	(x_new_font): Add extern declaration - this returns a Lisp_Object
	now, the fully resolved font name.
	(x_set_font): Accept the fully resolved name from x_new_font, and
	put it in the frame's parameter alist.  Call recompute_basic_faces.
	* xterm.c (x_new_font): Return the fully resolved font name, Qnil
	(if no match), or Qt (match, but unacceptable metrics).
	* xterm.c (x_new_font): Don't call init_frame_faces.

	* xterm.h: New section for declarations for xfaces.c.
	(init_frame_faces, free_frame_faces, intern_face,
	face_name_id_number, same_size_fonts, recompute_basic_faces,
	compute_char_face, compute_glyph_face): Declare these here.
	* xfaces.c (same_size_fonts): We can now remove this extern
	declaration.
	* xfns.c (face_name_id_number): Likewise.
	* xterm.c (intern_face): Likewise.

	* xterm.c (dumpglyphs): Remember that the default faces can have
	null fonts, too.

	* xfns.c (Fx_list_fonts): Remember that FACE may not have a font
	specified.  Don't specify 30000 as the maximum limit on the number
	of fontns returned  - 2000 is more reasonable. 

	* xfaces.c (build_face, unload_font, free_frame_faces): Don't
	forget to block input while making X calls.

	Treat faces as structures specifying modifications to the frame's
	parameters, rather than things which need to specify a complete
	set of parameters by themselves.
	* xfaces.c (init_frame_faces): Don't set up the two frame display
	faces by querying the GC - just leave all their fields blank, and
	call recompute_basic_faces, letting build_face do the work of
	consulting the frame when necessary.
	(recompute_basic_faces): New function.
	(compute_base_faces): New function for obtaining the "identity"
	for compute_char_face and compute_glyph_face.
	(compute_char_face, compute_glyph_face): Call it, instead of copying
	FRAME_DEFAULT_FACE.
	* xfns.c (x_make_gc): No need to call init_frame_faces here.

	* xfaces.c (intern_frame_face): This can be static.

	* dispextern.h (struct face): New field - `copy', to help us with
	resource allocation.
	* xfaces.c (free_frame_faces): Do free the first two faces; don't
	free anything from a face that's a copy.
	(intern_frame_face): Mark every face we intern as a copy; its
	resources are actually a combination of the real faces.
	(Fset_face_attribute_internal): No need to check if we're trying
	to free one of the frame's GC's; they never enter into the
	picture.

	* casetab.c: Fix formatting, so as not to confuse etags.

	* xfns.c (Fx_list_fonts): New function.
	(face_name_id_number): Add extern declaration for this.
	* xfaces.c (face_name_id_number): Make this externally visible,
	and make the FRAME argument a FRAME_PTR, not a Lisp_Object.
	(compute_char_face): Call face_name_id_number properly.

	* xfaces.c (unload_color): Don't free the pixel for now.

	* xfaces.c (merge_faces): You can't tell if a font is a
	character-cell font or not by testing whether or not it has a
	per_char table.  They all do.
	* xterm.c (x_new_font): Same deal.
	* xfns.c (Fx_list_fonts): Same deal.

	* m/iris4d.h: Dyke out the section which specifies how to get the
	load average.

	* paths.h (PATH_INFO): New path, to edited by the configuration
	process.
	* callproc.c (Vconfigure_info_directory): New variable, used
	internally by build process.
	(syms_of_callproc): DEFVAR it and initialize it.

	* keyboard.c (Fcurrent_input_mode): Use XFASTINT to build the last
	element of the return value, not XSETINT.

Mon May 24 12:14:41 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	Changes for OSF/1:
	* mem-limits.h [__osf__ && (__mips || mips)]: #include
	<sys/time.h> and <sys/resource.h>.
	(get_lim_data): OSF wants a definition like BSD4_2's.
	* s/osf1.h: #include "bsd4-3.h", not "s-bsd4-3.h".

	* ymakefile (LIBX): Put LD_SWITCH_X_SITE before the libraries, so
	it actually has an effect.

	Some makes can't handle form feed characters in their makefiles.
	* s/usg5-3.h: Remove form feed.
	* s/template.h, m/template.h: Remove form feeds.

	* xfns.c (select_visual): Include the screen number in the
	template of things XGetVisualInfo must match.

Mon May 24 17:41:19 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/dgux.h (NO_GET_LOAD_AVG): Test _M88KBCS_TARGET, not __GNUC__.

	* xterm.c (XTread_socket, ConfigureNotify case):
	Convert from parent window, not Emacs window.
	(XTread_socket): Handle ReparentNotify events.

	* m/i860.h: New file.

	* keyboard.c (lispy_function_keys): Add kp-numlock.  Fix kp-backspace.

Mon May 24 15:15:41 1993  Thorsten Ohl  (ohl@@chico.harvard.edu)

	* m/next.h (C_SWITCH_MACHINE): Definition deleted.

	* lread.c: Don't #undef NULL.

Mon May 24 16:50:42 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* buffer.c (Fmake_overlay): Put beg and end in the
	right order.
	(Fmove_overlay): If beg and end are markers, make sure they're in
	the right buffer.

Mon May 24 15:21:10 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (modify_event_symbol): If a name_table elt is null,
	generate a name to use.  Don't crash.

	* fileio.c (Fread_file_name): If input is empty, do return the default
	even if !insert_default_directory.

	* xterm.c (XTread_socket): For ConfigureNotify event,
	translate coordinates if send_event field is false
	provided the x-coord value is not large.

Mon May 24 13:42:24 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/irix4-0.h (NO_MATHERR): Defined.
	* floatfns.c [NO_MATHERR]: Undef HAVE_MATHERR.

Mon May 24 04:05:22 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* fileio.c (Ffile_writable_p): Pass XSTRING (foo)->data to
	ro_fsys, not XSTRING (foo).

	* xterm.c (x_new_font): Reject fonts with varying spacing.  We
	don't support them yet.
	* xfns.c (x_set_font): Report the error message properly.

	* xfns.c (Fx_parse_geometry): No need to call check_x here; it
	doesn't interact with the server at all, and we need it in order
	to create our first frame.

Mon May 24 02:14:58 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/linux.h (HAVE_SETSID): Defined.
	(HAVE_SOCKETS): Defined.

	* process.c (create_process): Ignore retval from TIOCSTTY.
	(sys_siglist) [LINUX]: Don't even declare it.

Mon May 24 01:11:23 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* syssignal.h (sys_signal): Declare the second argument to have
	type signal_handler_t.  We're told this is necessary for Linux.

Mon May 24 01:01:43 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/dgux.h (NO_GET_LOAD_AVG): Define, if __GNUC__.

Sun May 23 23:39:35 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* s/hpux8.h (NO_SIOCTL_H): Defined.

Sun May 23 23:29:31 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/linux.h (HAVE_DUP2, HAVE_ALLOCA_H): Deleted.

Sun May 23 22:27:33 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* syssignal.h: Don't #include <signal.h>
	* alloc.c: #include <signal.h>, but before "config.h".

Sun May 23 18:38:26 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfaces.c (Fset_face_attribute_internal): Don't call unload_font
	for the frame's own font.

	* xfns.c (check_x): New function.
	Call it in almost every Lisp function in this file.
	(x_set_menu_bar_lines_1): Pass both args in recursive call.

Sun May 23 21:44:35 1993  Paul Eggert  (eggert@@twinsun.com)

	* editfns.c (Fcurrent_time_zone): Make `am' an int, not long.

Sun May 23 15:23:05 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	Changes for SGI from Matthew J Brown <mjb@@doc.ic.ac.uk>.
	* m/iris4d.h, m/iris5d.h: Don't use the --cckr CC switch if we're
	using GCC.
	* m/iris4d.h (NEED_SIOCTL): Move this to...
	* s/irix3-3.h (NEED_SIOCTL): ... here; apparently it's not
	necessary in irix4-0.h.
	* s/irix4-0.h: Remove declaration of getpty; apparently Irix 4.0
	already declares this elsewhere.
	(PTY_TTY_NAME_SPRINTF): #undef this before re-#defining it.
	* m/ibmps2-aix.h, m/pfa50.h, s/hpux.h, s/isc2-2.h, s/linux.h,
	s/sco4.h, s/usg5-4.h: Remove HAVE_RENAME; configure guesses that now.

	* config.h.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Change the
	#defines to #undef's, so ../configure knows it should tweak them.

	* xterm.c (x_scroll_bar_report_motion): Set *TIME whether or not
	the mouse is over a scroll bar.

	* xfaces.c (Fset_face_attribute_internal): Don't free the frame's
	normal_gc or reverse_gc.

        * keyboard.c (make_lispy_movement): Deal properly with mouse
	motion outside of all windows.

	* lisp.h (GLYPH_FACE): Remember that the face portion of a glyph
	can be 24 bits, not just eight.

Sun May 23 14:03:48 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c: Move signal.h and stdio.h before config.h.

	* editfns.c (Fcurrent_time_zone): Assign gmt, instead of init.

a15994 7

Local Variables:
mode: indented-text
left-margin: 8
fill-column: 74
version-control: never
End:
@


1.1.1.4
log
@import emacs-19.9
@
text
@a0 149
Thu May 27 02:35:32 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* Version 19.9 released.

Thu May 27 02:02:40 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (read_char): Correct previous change.

Thu May 27 01:04:33 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* systty.h: Always terminate comments, to avoid confusion.

	* xfns.c: Make resource manager work correctly even when
	Vinvocation_name has periods and asterisks in it.
	(Vxrdb_name): New variable.
	(Fx_get_resource): Use it instead of Vinvocation_name.
	(Fx_open_connection): Initialize it to a copy of Vinvocation_name,
	with the dots and stars replaced by hyphens.
	(syms_of_xfns): staticpro it here.

	* xfns.c (Fx_get_resource): Use the proper format string when the
	attribute has been specified.

Thu May 27 01:09:16 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c (x_get_resource_string): New function.

	* ymakefile (ALL_CFLAGS): Put CFLAGS last.

Wed May 26 19:53:16 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* s/sol2.h: (SOLARIS_BROKEN_ACCESS): Don't define this.

	* s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if
	we're using GCC - that's an XLC switch.

	* s/aix3-2.h (LIBS_SYSTEM): Put -LIM -Liconv here.

	* systty.h (HAVE_LTCHARS, HAVE_TCHARS): New macros; define them if
	we have those structures, but *don't* define them if we have
	TERMIOS, whose functions take care of those parameters; that
	screws up AIX.
	(struct emacs_tty): Test those symbols, instead of the ioctl
	commands.
	* sysdep.c (emacs_get_tty, emacs_set_tty, new_ltchars, new_tchars,
	init_sys_modes): Same.

	* config.h.in (HAVE_RENAME): Include an #undef for this, so
	configure will have something to edit.

Wed May 26 19:12:10 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* window.c (window_loop, case GET_LRU_WINDOW):
	Get frame's width properly.

	* xselect.c (x_get_local_selection): If no conversion function
	exists for the requested type, just return nil.

	* s/linux.h (HAVE_TCATTR): Defined.

	* sysdep.c [HAVE_SOCKETS]: Include socket.h, netdb.h.
	(get_system_name) [HAVE_SOCKETS]: Use gethostbyname.

Wed May 26 19:00:00 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* s/hpux8.h (LIB_X11_LIB, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM,
	LD_SWITCH_SYSTEM, OLDXMENU_OPTIONS): Add X11R5 directories to the
	search paths in these lists; they shouldn't do any harm if they
	don't have X11R5.

	* s/aix3-2.h (C_SWITCH_SYSTEM): Don't #define this if we're using
	GCC.

Wed May 26 01:09:50 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xrdb.c (magic_searchpath_decoder): Fix typos.

	* xdisp.c (display_text_line): Don't call compute_char_face
	for a non-X frame.

	* xfns.c (Fx_rebind_key, Fx_rebind_keys): X10 definitions deleted.
	(syms_of_xfns): Install them only if X11.

	* ralloc.c (r_alloc_sbrk): Declare already_available as long, not SIZE.

	* xfns.c (x_set_cursor_type): If arg not recognized, use box cursor.

	* s/hpux8.h (LD_SWITCH_SYSTEM) [__GNUC__]: Pass -a archive to ld.
	(HAVE_RANDOM): Defined.

	* s/hpux.h (rand, srand): Definitions deleted.

	* keyboard.c (Fcurrent_input_mode): Fix the call to Flist.
	(make_lispy_event): Fix off-by-1 error with hpos in menu bar.

	* s/sunos4-1-3.h: New file.

	* ymakefile (XOBJ) [!HAVE_X_MENU]: Add xfaces.o.

	* s/irix4-0.h (SIGNALS_VIA_CHARACTERS): Defined.

	* xterm.c (x_wm_set_size_hint): Don't set hints for max size.

Tue May 25 11:19:46 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m/ibmrs6000.h (LIBS_MACHINE): Add -lIM and -liconv.
	(HAVE_GETTIMEOFDAY): Deleted.

	* sysdep.c (wait_for_termination): Don't use the BSD alternative
	for LINUX.  Use the UNIPLUS alternative.

	* keyboard.c (read_char): If kbd_buffer_get_event returns nil,
	redisplay and retry.
	(kbd_buffer_get_event): If event is handled here, return nil.
	(swallow_events): New function.
	* process.c (wait_reading_process_input): Call that.

	* ralloc.c (POINTER): Always use char *.

	* s/sol2.h (C_SWITCH_X_SYSTEM): Deleted.
	(LD_SWITCH_SYSTEM): Delete the -L option, leave just -R.

	* m/symmetry.h (PTY_TTY_NAME_SPRINTF, PTY_NAME_SPRINTF):
	Use pty_name, not ptyname.

	* syntax.c (Fforward_comment): Arg is a Lisp_Object.
	Convert it to an int.

	* ymakefile (alloca.o): Get alloca.c and alloca.s from ${srcdir}.

	* floatfns.c (logb): Don't declare if hpux.

	* syntax.c (Fforward_comment): Always set point.

	* s/dgux.h, s/hpux.h, s/esix.h (HAVE_GETTIMEOFDAY): Deleted.

	* s/irix4-0.h (C_ALLOCA, alloca): Definitions deleted.
	[!NOT_C_CODE]: Include alloca.h.
	(NEED_SIOCTL): #undef this.

	* xterm.h (PIXEL_TO_CHAR_COL, PIXEL_TO_CHAR_ROW):
	Fix mismatch in arg names.

	* xfns.c (Fx_open_connection): Set xrm_option correctly.

Tue May 25 18:09:03 1993  David J. MacKenzie  (djm@@wiki.eng.umd.edu)

	* xfns.c (x_figure_window_size): Make the default frame coords (0,0).

@


1.1.1.5
log
@import emacs-19.10
@
text
@a0 139
Sun May 30 00:15:27 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Version 19.10 released.

Sat May 29 20:50:06 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (read_key_sequence): If we changed buffers during
	read_char, go to replay_sequence.

	* frame.c (Ficonify_frame, Fmake_frame_invisible): 
	Select some other frame.  Move minibuffer off this frame.

	* frame.c (Fhandle_switch_frame): Don't call Ffocus_frame.
	(Fredirect_frame_focus): Call Ffocus_frame here.

	* xterm.c (x_bitmap_icon): Don't free icon_bitmap;
	create it if it hasn't been created before.

	* xterm.c (XTread_socket): For UnmapNotify, if frame was visible,
	mark it now as iconified.
	(x_make_frame_invisible): If async_iconic, work does need to be done.
	Don't let this frame stay highlighted.
	(x_iconify_frame): Don't let this frame stay highlighted.

	* s/usg5-4-2.h (sigsetmask): #undef this.

	* sysdep.c (sys_signal): Use 0, not NULL, to set sa_flags.

Sat May 29 16:47:12 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* linux.h (C_OPTIMIZE_SWITCH): Set this to the empty string;
	configure guesses just fine.

	* tekXD88.h: New file, from Kaveh Ghazi.

	* systty.h (CDISABLE): #undef it before re-#defining it.

	* sysdep.c (sys_siglist): Comment out #endif trailer.
	* xmenu.c (TRUE, FALSE): Same.
	* xterm.c (dumprectangle): Same.

	* emacs.c: Don't include termios.h directly--let systty.h do it.

Sat May 29 00:26:39 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfaces.c [HPUX]: Include time.h and define __TIMEVAL__.

	* emacs.c (shut_down_emacs): Maybe close X connection.  New arg NO_X.
	(Fkill_emacs): Don't close it here.  Pass new arg.
	(fatal_error_signal): Pass new arg.
	* xterm.c (x_connection_closed): Pass new arg.

	* xdisp.c (syms_of_xdisp): Make highlight-nonselected-windows Lisp var.
	(display_text_line): Obey it.
	(display_text_line): Really check for just the selected window.

	* s/usg5-4-2.h: New file.

	* keyboard.c (menu_bar_items): Save Vinhibit_quit by hand
	instead of using specbind.
	(menu_bar_items): Call Fnreverse before restoring Vinhibit_quit.

	* s/hpux8.h (OLDXMENU_OPTIONS): Add quotations.

	* m/ibmrt.h (C_SWITCH_MACHINE): Define only if not __GNUC__.
	(HAVE_FTIME): Defined.
	(EMACS_BITMAP_FILES): Defined.

	* xfns.c (Fx_close_current_connection): Clear x_current_display.
	* xterm.c (XTring_bell): Do nothing if x_current_connection is 0.

	* buffer.c (reset_buffer): Clear mark_active field here.
	(reset_buffer_local_variables): Not here.
	(Fswitch_to_buffer, Fpop_to_buffer): Return the buffer.
	(Fmove_overlay): Fix data types in last change.

	* sysdep.c (gettimeofday): Don't store in *tzp if tzp is 0.

	* process.c (MAXDESC): Get it from FD_SETSIZE if that exists.

	* s/sco4.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): 
	Redefined.
	(SIGNALS_VIA_CHARACTERS): Defined.
	[HAVE_SOCKETS] (HAVE_GETTIMEOFDAY): Defined.
	(MAIL_PROGRAM_NAME): Defined (two alternate definitions).

	* xfns.c (Fx_list_fonts): Use CHECK_LIVE_FRAME on the frame arg.

Fri May 28 16:07:01 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/hpux8.h (LIBX11_SYSTEM): Defined.

	* ymakefile: Replace config.h as dep with $(config_h).
	(really-oldXMenu): Use two make vars to pass values
	of C_SWITCH_... within doublequotes.

	* xfns.c (x_figure_window_size): Never set PPosition or PSize.

	* keymap.c (syms_of_keymap): Create global_map 256 slots long.
	* cmds.c (keys_of_cmds): Predefined 0240-0376 as self-insert.

	* xterm.c (XTread_socket, case KeyPress) [HPUX]:
	Recognize the extended function keys.

	* buffer.c (Fgenerate_new_buffer_name): New arg IGNORE.
	(Frename_buffer): Pass new arg.

Fri May 28 00:33:32 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* keyboard.c (menu_bar_items): Bind Qinhibit_quit to Qt while we
	call the keymap accessors; this gets called during redisplay.

	* ymakefile (alloca.o): Call $(CC), not cc.

	* s/linux.h (SIGNALS_VIA_CHARACTERS): Try this out for a bit.

	* buffer.c (Fmove_overlay): If the overlay is changing buffers,
	do a thorough redisplay.

	* xfns.c (x_set_frame_parameters): Use the first
	position/size parameter we find, not the last.

	* s/hpux8.h: Don't define HAVE_RANDOM.

	* config.h.in (UNEXEC_SRC): New macro, set by the configure
	script.
	* ymakefile (UNEXEC_SRC): Give it a default value here, and make
	UNEXEC depend on it.

	* ymakefile (lispdir): Set this in terms of ${srcdir}.

Thu May 27 19:47:45 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dispnew.c (Fsleep_for): Don't return without waiting when SEC is 0.

	* emacs.c (syms_of_emacs) [CANNOT_DUMP]: Don't defsubr Sdump_emacs*.

	* alloc.c (mark_object): Add debugging code to check for ptr clobbered.

@


1.1.1.6
log
@import emacs-19.13
@
text
@d16532 7
@


1.1.1.7
log
@import emacs-19.18
@
text
@d1 1
a1 1
Sun Aug  8 01:15:30 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d3 1
a3 1
	* Version 19.18 released.
d5 1
a5 1
	* term.c (term_init): Improve error messages (give sh commands).
d7 2
a8 7
	* xterm.c (struct font_info): New structure.
	(x_font_table): Use struct font_info as elements.
	(x_new_font): Corresponding changes.
	Use XListFonts, not XListFontsWithInfo.
	Use XFreeFontNames, not XFreeFontInfo.
	Compare fonts by name, not by fid.
	If already_loaded is 0, that counts as "yes".
d10 2
a11 3
	* minibuf.c (Qminibuffer_setup_hook, Vminibuffer_setup_hook): New vars.
	(syms_of_minibuf): Set them up.
	(read_minibuffer): Run the hook, if not empty.
d13 2
a14 3
	* dispnew.c (direct_output_forward_char): Fix previous change:
	verify position is in range before calling Fget_text_property,
	and calculate position properly.
d16 2
a17 2
	* s/bsd4-2.h, s/bsd4-3.h, s/umax.h, s/rtu.h, s/dgux.h (HAVE_VFORK):
	Defined.
d19 5
a23 3
	* ymakefile (alloc.o): Don't use DEBUG_MOLE.
	(DEBUG_MOLE): Deleted.
	* gnu-hp300: File deleted.
d25 1
a25 2
	* .gdbinit: Don't put -q in args.
	Don't unset TERM and TERMCAP--show them instead.
d27 1
a27 2
	* alloc.c (mark_object): Declare ptr volatile, or don't use it
	after a recursive call.  Delete the aborts if ptr is clobbered.
d29 1
a29 1
	* fileio.c (expand_and_dir_to_file): Use Fdirectory_file_name.
d31 2
a32 1
Sun Aug  8 01:56:15 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d34 1
a34 4
	* config.h.in (HAVE_LOGB, HAVE_FREXP): Add #undefs for the
	configuration script to edit.
	* floatfns.c (Flogb): Use HAVE_LOGB and HAVE_FREXP, instead of
	assuming that all USG systems have FREXP.
d36 1
a36 1
Sat Aug  7 14:56:25 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d38 3
a40 9
	* emacs.c (Vinvocation_directory): New var.
	(init_cmdargs): Set up its value.
	(Finvocation_directory): New function.
	(main): Call init_buffer, init_callproc and init_cmdargs
	before init_lread.
	(syms_of_emacs): Install the function, and protect the variable.
	* lisp.h (Vinvocation_directory): Declared.
	* lread.c (init_lread): Normally put Vinvocation_directory
	at end of Vload_path, if not present already.
d42 1
a42 1
Fri Aug  6 13:28:24 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d44 1
a44 2
	* keyboard.c (set_poll_suppress_count): New function.
	* eval.c (unwind_to_catch): Call set_poll_suppress_count.
d46 1
a46 6
	* xterm.c (x_term_init): Set the hooks before we call Fset_input_mode.
	* keyboard.c (Fset_input_mode): Start polling, if appropriate.
	At the beginning, stop polling.
	Remove period from error message.
	(stop_polling, start_polling): Check for interrupt_input.
	(POLL_FOR_INPUT): Define whether or not target supports SIGIO.
d48 178
a225 1
	* m/ibm370aix.h (HAVE_VFORK, INTEL386, aix386): Add #undef.
d227 2
a228 1
Thu Aug  5 13:38:03 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d230 1
a230 2
	* eval.c (do_autoload): Don't report autoload failure
	if the autoload definition now is a different one.
d232 2
a233 1
	* m/ibm370aix.h: Total rewrite; includes ibmps2-aix.h.
d235 1
a235 1
	* m/ibmps2-aix.h (SYSTEM_TYPE): Don't redefine it here. 
d237 1
a237 1
	* syntax.c: Doc fix.
d239 1
a239 1
Wed Aug  4 00:14:53 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d241 1
a241 2
	* fns.c (Fyes_or_no_p): Use Qyes_or_no_p_history.
	(syms_of_fns): Set up Qyes_or_no_p_history.
d243 1
a243 1
	* fileio.c (expand_and_dir_to_file): Remove final / by copying abspath.
d245 2
a246 1
	* data.c (Frem): Don't accept floats, just ints and markers.
d248 2
a249 1
	* m/vax.h [BSD4_2] (HAVE_FTIME): Defined.
d251 5
a255 1
Tue Aug  3 14:21:15 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d257 1
a257 2
	* m/7300.h (CRT0_COMPILE): Add -O and -Demacs.
	* ymakefile (CRT0_COMPILE): Add missing #endif.
d259 2
a260 1
Tue Aug  3 02:58:23 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d262 2
a263 17
	Changes for 3b1 suggested by Andy Fyfe <andy@@scp.caltech.edu>
	* 7300.h [__GNUC__]: #define HAVE_ALLOCA.
	[not __GNUC__]: #define SWITCH_ENUM_BUG, C_ALLOCA, and STACK_DIRECTION.
	(HAVE_SYSVIPC, USE_UTIME): #define these.
	(memmove): We don't have this; call safe_bcopy.
	(CRT0_COMPILE): #define this, so we always use the system's cc.
	* config.h.in: Add #undefs for HAVE_MKDIR and HAVE_RMDIR, for
	configure to edit.
	* sysdep.c [not HAVE_MKDIR] (mkdir): New function, taken from tar,
	for use on systems lacking the mkdir function.
	[not HAVE_RMDIR] (rmdir): New function, taken from tar, for use on
	systems lacking the rmdir function.
	* ymakefile (crt0.o): Replace the compiler and switches with the
	symbol CRT0_COMPILE.
	(CRT0_COMPILE): If the system and machine description files have
	left this undefined, then define it to do the same as the old
	crt0.o rule used to.
d265 2
a266 1
Mon Aug  2 22:40:05 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d268 1
a268 1
	* sysdep.c (vfork): Move this outside the USG conditional.
d270 1
a270 1
Mon Aug  2 18:16:39 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)
d272 1
a272 3
	* frame.c (Fprevious_frame): New function, for parity with
	Fnext_frame.
	(syms_of_frame): Add defsubr for Sprevious_frame.
d274 1
a274 1
Mon Aug  2 17:18:46 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d276 3
a278 2
	* xdisp.c (display_menu_bar): Redisplay all lines occupied by the
	menu bar, not just the first.
d280 2
a281 1
Mon Aug  2 01:54:41 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d283 1
a283 2
	* keyboard.c (read_key_sequence): Use XFASTINT to convert value
	of Flength to an int.
d285 1
a285 2
	* buffer.c (Fmove_overlay): Avoid initializer for Lisp_Object vars.
	(verify_overlay_modification): Declare ostart, oend as Lisp_Object.
d287 189
a475 1
	* frame.c (Fset_frame_position): Doc fix.
d477 1
a477 1
Sun Aug  1 04:42:30 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d479 1
a479 113
	* From daveg@@synaptics.com:
	* keyboard.c (last_mouse_button): Renamed from button_up_button.
	(last_mouse_x, last_mouse_y): Likewise.
	(button_down_time): Replaces button_up_time.
	(make_lispy_event): Set button_down_time.
	Detect and report double-down and double-drag events.
	(apply_modifiers_uncached): Put `double' or `triple' first.
	(read_key_sequence): Convert unbound double-drag/down to drag/down.

	* fileio.c (Finsert_file_contents): Don't call prepare_to_modify_buffer
	if inserting zero characters.

	* syntax.c: Doc fix.

Sat Jul 31 01:36:33 1993  Gregor Schmid  (schmid@@fb3-s7.math.tu-berlin.de)

	Handle `sticky' text properties.
	* intervals.c (adjust_intervals_for_insertion): Handle insertion
	between two unlike intervals via merge_properties_sticky.
	(merge_properties_sticky): New function.
	(graft_intervals_into_buffer): Leave handling of `sticky'-ness to
	adjust_intervals_for_insertion, then merge properties of the
	inserted text onto the old ones.
	(textget_direct): New function.
	(set_point): Fix calculating of fromprev.
	(verify_interval_modification): Check for `read-only' property
	and take its `sticky'-ness into account.
	* intervals.h (MERGE_INSERTIONS): Define as 1.
	(FRONT_STICKY): Add real definition.
	(END_NONSTICKY): New macro.
	(END_STICKY): Deleted.
	(textget_direct, Qfront_sticky, Qrear_nonsticky): Declared.
	* textprop.c (Qfront_sticky, Qrear_nonsticky): New variables.
	(syms_of_textprop): Set them up.
		
	Change display code to handle the `invisible' text property.
	* dispnew.c (direct_output_for_insert): Fail if character 
	just inserted has text properties.
	(direct_ouput_forward_char): Fail if moving near invisible chars.
	* indent.c (compute_motion): Compute correctly for invisible text.
	(vmotion): Take care of invisible newlines.
	* intervals.c (set_point): Ignore `invisible' property
	unless property value is `hidden'.
	* intervals.h (Qhidden): Declared.
	* textprop.c (Qhidden): New variable.
	(syms_of_textprop): Set up Qhidden.
	* xdisp.c (try_window): Handle invisible newline at end of buffer.
	(display_text_line): Don't display invisible text.

Sat Jul 31 01:36:33 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* indent.c (Fmove_to_column): After we split a tab, make sure
	to set last_known... consistently.

	* editfns.c (save_excursion_restore): Never make the buffer visible.

	* s/isc3-0.h: Don't mention dir `s/' in #include.

Fri Jul 30 19:11:58 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

        * config.h.in (HAVE_AIX_SMT_EXP): New #undef for configure to edit.
	* m/ibmrs6000.h (LD_SWITCH_MACHINE): Don't mention
	/usr/lpp/X11/bin/smt.exp unless HAVE_AIX_SMT_EXP is #defined.

	* config.h.in (HAVE_BCOPY): Add an #undef for this.
	(BSTRING): #define this iff HAVE_BCOPY is #defined here.  Ignore what
	the system-description files say.  They don't always make fine
	enough distinctions between systems, and sometimes the bcopy
	routines are available only with X windows.

	* config.h.in (HAVE_XSCREENRESOURCESTRING): New #undef for
	configure to edit.
	* xrdb.c (get_user_db): Test it to decide whether or not to try to
	retrieve the screen-dependent resources.

	* xfns.c (Fx_open_connection): Test the CPP symbol
	HAVE_XRMSETDATABASE to decide whether or not to call
	XrmSetDatabase.

	* xfns.c (x_set_background_color): Change the foreground color of
	the cursor, too.

Fri Jul 30 03:45:05 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* editfns.c (syms_of_editfns): Just staticpro Vuser...name
	and Vsystem_name; don't make them Lisp variables.

	* xselect.c (prop_location_identifier): Was named prop_location_tick.
	(property_change_reply_identifier): Renamed from ...-tick.
	(struct prop_location): Field `identifier' renamed from `tick'.
	Various functions changed accordingly.
	(x_handle_selection_request): Delete local struct var `reply'.

	* xselect.c (wait_for_property_change_unwind): New function.
	(wait_for_property_change): Add unwind protect.

Thu Jul 29 00:56:12 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* xfns.c (syms_of_xfns): Don't staticpro Vx_resource_name;
	DEFVAR_LISP takes care of that, and it's deadly to staticpro a
	variable containing a string twice.

	* window.c (check_frame_size): Include the menu bar height in the
	minimum frame height.

	* ymakefile (DEBUG_MOLE): Don't put parens around the command we
	run to detect the GNU hp300 machines.  If the make is still
	somehow using csh, it complains about the parens.

Thu Jul 29 00:07:47 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* frame.c (Fdelete_frame): New arg FORCE allows deletion
	of last non-invisible frame.
d481 1
a481 2
	* s/usg5-4.h (bzero, bcmp, bcopy): New macros.
	(LIB_STANDARD): Don't include libucb.a.
d483 1
a483 1
Wed Jul 28 20:25:49 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)
d485 1
a485 2
	* xfns.c (syms_of_xfns): Use DEFVAR_LISP, not DEFVAR_INT, for
	Vx_pointer_shape.
d487 2
a488 1
Wed Jul 28 04:57:37 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d490 1
a490 3
	* cmds.c (Fnewline): Disable the "insert one position before"
	optimization if it would screw up text property behavior.
	* textprop.c (property_change_between_p): New function.
d492 2
a493 1
Tue Jul 27 03:25:16 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d495 3
a497 2
	* keyboard.c (command_loop_1):
	Call Qrecompute_lucid_menubar only if defined.
d499 1
a499 1
	* emacs.c (decode_env_path): Strip trailing slashes if there are any.
d501 1
a501 1
	* unexec.c (make_hdr): Use & in call to bzero.
d503 1
a503 1
	* xfns.c (Fx_rebind_key, Fx_rebind_keys): Functions deleted.
d505 11
a515 2
	* syntax.c (scan_sexps_forward): Delete extra Fcdr when analyzing
	OLDSTATE.
d517 2
a518 1
	* xterm.c (x_iconify_frame): Handle case where frame was invisible.
d520 2
a521 1
	* s/hpux8.h (OLDXMENU_OPTIONS): Definition deleted.
d523 2
a524 1
	* ymakefile (really-oldXMenu): Pass down C_SWITCH_X_SYSTEM.
d526 2
a527 1
	* m/delta88k.h [USG5_4] (LIBX11_SYSTEM): Don't redefine in this case.
d529 2
a530 1
	* search.c (search_buffer): If n is 0, just return POS.
d532 1
a532 1
Mon Jul 26 14:37:40 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d534 1
a534 1
	* s/usg5-4.h (BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.
d536 1
a536 1
	* window.c (Fset_window_buffer): Clear window_end_{pos,valid}.
d538 1
a538 1
	* dispnew.c (Fsleep_for): If arg is 0, return right away.
d540 1
a540 1
Mon Jul 26 12:26:09 1993  Francesco Potorti`  (pot@@spiff.gnu.ai.mit.edu)
d542 1
a542 5
	* m/delta.h (SWITCH_ENUM_BUG): Defined only for AT&T's pcc.
	(BSTRING): Deleted because they are stubs to the memory funcs.
	(memmove): Defined as safe_bcopy since memcpy is not safe.
	(HAVE_X_WINDOWS): Does not conditionally define anything any more.
	Added support fo the GNU C compiler bundled with R3V7.
d544 2
a545 1
Mon Jul 26 05:12:26 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d547 2
a548 1
	* puresize.h [MULTI_FRAME] (PURESIZE): Increased to 210000.
d550 1
a550 1
Sun Jul 25 22:24:46 1993   Sam Dooley  (dooley@@watson.ibm.com)
d552 1
a552 3
	* keyboard.c (kbd_buffer_store_event): Apply all the modifiers bits
	before testing for quit_char and stop_character.  Don't alter
	event->code, though.
d554 1
a554 1
Sun Jul 25 01:38:00 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d556 1
a556 8
	* xselect.c (wait_for_property_change): Eventually time out with error.
	(x_reply_selection_request): XFlushQueue and UNBLOCK_INPUT
	before calling wait_for_property_change.
	(x_get_window_property): Simplify input blocking/unblocking.
	Don't delete the property here.
	(receive_incremental_selection): Delete property here.
	Call XSelectInput to enable and disable PropertyChangeMask.
	(x_get_window_property_as_lisp_data): And here.
d558 1
a558 2
	* process.c (wait_reading_process_input): Undo last two changes:
	when wait_for_cell, do not check the keyboard.
d560 2
a561 1
	* filelock.c: Fix typo in previous change.
d563 5
a567 4
	* xselect.c (lisp_data_to_selection_data): New arg NOFREE_RET.
	For a string, just return its data's address.
	(x_handle_selection_request): Pass new arg.
	If value comes back 1, don't call xfree.
d569 1
a569 3
	* xfns.c (MAXREQUEST): Defined.
	(Fx_server_max_request_size): New function.
	(syms_of_xfns): Set it up.
d571 1
a571 1
	* window.c (Fwindow_end): Don't assume WINDOW shows the current buffer.
d573 1
a573 3
	* s/386bsd.h (LOCALTIME_CACHE): Defined.
	(HAVE_SETSID): Defined.
	(LIB_STANDARD): Override, adding $(GNULIB_VAR).
d575 2
a576 1
	* emacs.c (main): Test LOCALTIME_CACHE.
d578 3
a580 1
	* filelock.c (getpwuid): Declare at top level, and not if __386bsd__.
d582 1
a582 2
	* keyboard.c (interrupt_signal): Tell Fdo_auto_save not to print msg.
	Print "Auto-save done" here.
d584 2
a585 1
	* fileio.c (Fdo_auto_save): Temporarily clear Vquit_flag.
d587 1
a587 1
	* xfns.c (Fx_create_frame): Typo in previous change.
d589 2
a590 1
Sat Jul 24 01:42:53 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d592 1
a592 1
	* .gdbinit (xscrollbar): Fix typo specifying doc string.
d594 3
a596 2
	* process.c (Fprocess_status): Use Fget_process, to avoid error
	if unknown process name.
d598 2
a599 1
	* xfaces.c (face_name_id_number): Use assq_no_quit, not Fassq.
d601 1
a601 1
Fri Jul 23 17:05:49 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d603 1
a603 1
	* keyboard.c (command_loop_1): Run post-command-hook first thing.
d605 2
a606 1
	* xterm.c (redraw_previous_char): New function.
d608 1
a608 3
	* xfns.c (Fx_create_frame): Don't look for default font
	if the caller has specified a valid font.  Try several
	alternative font patterns.
d610 3
a612 1
Fri Jul 23 16:38:15 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)
d614 1
a614 1
	* mem-limits.h: [_LIBC]: Define BSD4_2.
d616 2
a617 1
Fri Jul 23 03:47:49 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d619 1
a619 1
	* s/sco4.h (HAVE_SOCKETS): Define, if HAVE_INET_SOCKETS.
d621 2
a622 2
	* sunfns.c: Fix comment syntax.  Put back the comment 
	saying that we don't maintain this file.
d624 2
a625 2
	* xterm.c (XTread_socket) [! HAVE_X11R5]:
	Check for XK_Mode_switch and XK_Num_Lock, if defined.
d627 1
a627 1
	* m/hp9000s300.h (TEXT_START) [__GNUC__]: Define as 0.
d629 10
a638 3
	* intervals.h (Vinhibit_point_motion_hooks): Declared.
	* textprop.c (syms_of_textprop): Set up Lisp var.
	* intervals.c (set_point): Test it.
d640 15
a654 1
Thu Jul 22 15:38:17 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d656 14
a669 1
	* s/irix5-0.h (PTY_OPEN): Use sigaction, not sigsetmask.
d671 1
a671 2
	* s/386bsd.h (DECLARE_GETPWUID_WITH_UID_T): Declared.
	* xrdb.c (getpwuid): Test DECLARE_GETPWUID_WITH_UID_T.
d673 2
a674 2
	* process.c (Fget_buffer_process): Delete doc string from
	second alternative definition.
d676 1
a676 1
Thu Jul 22 14:59:43 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)
d678 1
a678 3
	* ralloc.c (ALIGNED, ROUNDUP):
	Use `unsigned long int' instead of `unsigned int' for
	casting addresses and sizes.  It matters on the 64-bit Alpha.
d680 1
a680 2
	* mem-limits.h [_LIBC]: Just include <sys/resource.h>, and skip
	hairy #ifdef mess.
d682 2
a683 1
Thu Jul 22 04:06:21 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d685 4
a688 3
	* keyboard.c (Fread_key_sequence): Doc fix.
	(read_key_sequence): Handle Vkey_translation_map.
	(kbd_buffer_get_event): Discard an event whose kind is no_event.
d690 3
a692 1
	* buffer.c (syms_of_buffer): Lisp var doc fixes.
d694 7
a700 1
	* m/att3b.h (NO_MODE_T): Defined.
d702 1
a702 2
	* intervals.c (graft_intervals_into_buffer): When TREE is null,
	pass buffer as 2nd arg to reproduce_tree.
d704 1
a704 1
Wed Jul 21 18:09:12 1993  Paul Eggert  (eggert@@twinsun.com)
d706 1
a706 3
	* print.c (float_to_string): Don't use uninitialized pointer `cp'.
	Set width to -1 at lose: and other places.
	Default to .17g, not .20g.
d708 1
a708 1
Wed Jul 21 00:37:25 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d710 1
a710 4
	* buffer.c (Qmodification_hooks, Qinsert_in_front_hooks)
	(Qinsert_behind_hooks): Moved here.
	(syms_of_buffer): Lisp vars set up here.
	* textprop.c: No longer here.
d712 1
a712 1
	* alloc.c (compact_strings): Add USE_TEXT_PROPERTIES conditional.
d714 3
a716 1
	* intervals.h (Ftext_property_not_all): Fix typo in decl.
d718 2
a719 1
	* s/sunos4-1.h (SUNOS_LOCALTIME_BUG): Defined.
d721 6
a726 3
	* frame.c (Fdelete_frame): Allow deletion if there is some other
	visible (perhaps iconified) frame.  Also allow deleting terminal frame
	if there are X frames.
d728 2
a729 1
	* s/sunos4shr.h (memmove): Defined.
d731 2
a732 1
	* m/att3b.h (memmove): Defined as macro.
d734 1
a734 1
Tue Jul 20 01:08:47 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d736 1
a736 1
	* Makefile.in (xmakefile): Use CFLAGS after C_SWITCH_SYSTEM.
d738 2
a739 1
	* xfns.c (validate_x_resource_name): Call make_string properly.
d741 1
a741 1
	* m/next.h (X_NOT_POSIX): Defined.
d743 2
a744 1
	* s/sol2.h (BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs.
d746 2
a747 1
	* s/isc3-0.h (memmove): Delete extra parens in the safe_bcopy call.
d749 2
a750 1
	* m/ibmrs6000.h (LD_SWITCH_MACHINE): Add -bI:/usr/lpp/X11/bin/smt.exp.
d752 4
a755 1
Mon Jul 19 17:15:20 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d757 1
a757 1
	* eval.c (Fwhile): If mocklisp, test for nonzeroness.
d759 4
a762 2
	* s/sunos4shr.h (SYSTEM_MALLOC): Add #undef.
	(GNU_MALLOC, REL_ALLOC): Defined.
d764 1
a764 1
Mon Jul 19 17:07:22 1993  David J. MacKenzie  (djm@@goldman.gnu.ai.mit.edu)
d766 4
a769 1
	* ymakefile: config.h is in current directory, not ${srcdir}.
d771 4
a774 1
Sun Jul 18 00:17:28 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d776 2
a777 1
	* Version 19.17 released.
d779 2
a780 4
	* xfns.c (Fx_create_frame): Block input around call to
	x_new_font.  Test if the return value is a string, not if it's
	nil; x_new_font can return things besides nil and strings, to
	indicate error conditions.
d782 1
a782 2
	* window.c [not MULTI_FRAME] (Fdelete_windows_on): Set FRAME
	argument to Qt, instead of trying to typecheck it.
d784 1
a784 3
	* ymakefile (config_h): Set this to ${srcdir}/config.h; all the
	source dependencies mention $(config_h), but until now it never
	had a value.
d786 2
a787 2
	* xfns.c (Fx_open_connection): Don't trust HAVE_XRMSETDATABASE;
	use XrmSetDatabase only when HAVE_X11R5 is defined.
d789 2
a790 4
	* dispnew.c (direct_output_for_insert): By the time this function
	is called, we have already inserted the character into the buffer;
	the proper buffer position to pass to compute_char_face is point
	- 1, not point.
d792 4
a795 1
Sat Jul 17 02:45:04 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d797 2
a798 1
	* Makefile.in (C_SWITCH_SYSTEM): New variable, set by top-level
d800 199
a998 1
	(xmakefile): Pass it to the C preprocessor.
d1000 1
a1000 180
	* window.c (Fdelete_windows_on): New optional argument FRAME; if
	nil, delete windows on all frames.  If t, delete windows on the
	selected frame only.  If a frame, delete windows on that frame
	only.

	* intervals.c (split_interval_left, split_interval_right): Change
	OFFSET argument of these functions to be origin 0, not origin 1.
	This is what all the callers currently want.
	* intervals.c, textprop.c: All callers changed.

	* textprop.c (Ftext_property_not_all): Renamed from
	Ftext_property_all, and changed sense of return value, so that it
	returns useful information if not all characters have properties
	EQ to value.  Now all the existential and universal questions can
	be asked.

	* textprop.c (syms_of_textprop): Don't forget defsubr for
	Stext_property_all. 

	* textprop.c (Ftext_property_any, Ftext_property_all): Use EQ to
	compare property values, not Fequal.

	* xterm.c (x_term_init): Adjust message printed when we can't
	connect to the X server.

	* xfns.c (Vx_resource_name): Renamed from Vxrdb_name, and made a
	lisp-visible variable, so lisp/term/x-win.el can set it.  Doc it
	for "internal use only"; no need for NEWS entry.
	(validate_x_resource_name): New function.
	(Fx_get_resource): Doc fix.  References to Vxrdb_name renamed.  Call
	validate_x_resource_name.
	(x_window): References to Vxrdb_name renamed.  Call
	validate_x_resource_name.
	(Fx_open_connection): References to Vxrdb_name renamed.  Instead
	of setting and validating its value here, just call
	validate_x_resource_name.
	(syms_of_xfns): Add DEFVAR_LISP for Vx_resource_name.

Fri Jul 16 21:43:32 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (Vhelp_menu_bar_map): Deleted.
	(menu_bar_items): Move elts for events in Vmenu_bar_final_items to end.
	(syms_of_keyboard): Corresponding changes.

Thu Jul 15 20:52:15 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

        Consistently use the mark bit of the root interval's parent field
	to say whether or not the interval tree has been visited (and skip
	it when revisited), and the mark bit of the plist field to say
	whether or not that interval has been visited (and abort if
	revisited); don't try to use the plist mark bit for both
	meanings.
	* alloc.c (mark_interval_tree): Don't test if the interval tree
	has already been visited here; let the MARK_INTERVAL_TREE macro do
	that; avoid function call overhead.  Mark the interval tree as
	having been visited by setting TREE->parent's mark bit.
	(MARK_INTERVAL_TREE): If the tree has been visited (according to
	I->parent's mark bit), don't call mark_interval_tree.
	(gc_sweep): Rebalance the interval trees of those large strings
	which are still alive.  This also clears the mark bits of those
	trees' root intervals' parent fields.
	(compact_strings): Rebalance the interval tree of each small
	strings which is still alive.  This also clears the mark bits of
	that tree's root interval's parent field.  Since the string has
	moved, update the root interval's parent pointer to contain the
	new address.
	* lisp.h (struct interval): Doc fix; explain the roles of the mark
	bits of the parent and plist members.

	* termhooks.h: In order to avoid declaring struct input_event
	(which contains Lisp_Objects) in those .c files which need access
	to the terminal hooks but don't #include lisp.h (like cm.c), test
	to see if the macro CONSP is #defined.  We used to test XINT, but
	config.h will #define that everywhere on systems that use tailored
	tagging schemes.

	* window.c (Fnext_window, Fprevious_window): Put these docstrings
	in comments; the strings are too long for some C compilers.

	* s/hpux9.h: Doc fix.

Thu Jul 15 19:05:38 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* ymakefile (DEBUG_MOLE): New variable; a shell expression which
	expands to -DDEBUG_MOLE on HP 9000/300's in the domain
	gnu.ai.mit.edu, and the empty string on all other machines.
	(alloc.o): Cite ${DEBUG_MOLE}, so DEBUG_MOLE is #defined when
	compiling on mole.

Thu Jul 15 02:01:59 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (read_char_menu_prompt): If the user rejects a menu,
	return t.  This makes read_char also return t.
	(read_key_sequence): If read_char returned t, return -1.
	(Fread_key_sequence): If read_key_sequence returned -1, quit.
	(command_loop_1): If read_key_sequence returned -1, loop around.

Thu Jul 15 00:56:31 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* keyboard.c (menu_bar_one_keymap): If the key's binding is the
	symbol `undefined', don't try to take that symbol's cdr before
	passing it to menu_bar_item; pass the `undefined' binding itself,
	so menu_bar_item can remove bindings for the same key from result.

Wed Jul 14 12:02:17 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c (Fbuffer_local_variables): For local var that is unbound,
	put just the symbol in the result, not a cons of (symbol . value).

	* keyboard.c (Qdisabled_command_hook): New variable.
	(Vdisabled_command_hook): Deleted.
	(syms_of_keyboard): Corresponding changes.
	(Fcommand_execute): Use Qdisabled_command_hook.

	* alloc.c (mark_object) [DEBUG_MOLE]: Add abort at beginning.

	* keyboard.c (Vhelp_menu_bar_map): New var.
	(syms_of_keyboard): Set up Lisp var for it.
	(menu_bar_items): Use Vhelp_menu_bar_map.

Wed Jul 14 00:14:31 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* textprop.c (Ftext_property_any, Ftext_property_all): New
	functions, from David Gillespie.
	* intervals.h (Ftext_property_any, Ftext_property_all): Declare them.

	* keyboard.c (read_key_sequence): Accept both strings and vectors
	as bindings in function-key-map.
    	* keymap.c (Vfunction_key_map in syms_of_keymap): Doc fix.

	* keyboard.c (Fsuspend_emacs): Pass selected_frame as the first
	argument to change_frame_size, not 0.  This function may be called
	in an Emacs compiled with multi-frame support.

Tue Jul 13 17:25:32 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* xterm.c (XTread_socket, UnmapNotify case): Add missing comment
	terminator.

	* intervals.c (graft_intervals_into_buffer): Properly compute
	length of buffer.

Tue Jul 13 17:03:09 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* minibuf.c (Fdisplay_completion_list): Run completion-setup-hook.

Mon Jul 12 18:46:17 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* textprop.c (Qinsert_in_front_hooks, Qinsert_behind_hooks): New vars.
	(syms_of_textprop): Set them up.
	* lisp.h (Qinsert_in_front_hooks, Qinsert_behind_hooks): Declared.
	(Qmodification_hooks): Declared.

	* intervals.c (verify_interval_modification):
	For insertion, run the insert-in-front-hooks and insert-behind-hooks,
	not the modification-hooks.
	* buffer.c (verify_overlay_modification): New function.
	(call_overlay_mod_hooks): New function.
	* insdel.c (prepare_to_modify_buffer): Call that.

	* keyboard.c (Qundefined): New variable.
	(syms_of_keyboard): Set up Qundefined.
	(menu_bar_items): Don't reverse the items.
	Process the maps in reverse order.
	(menu_bar_item): If definition is `undefined',
	delete any menu bar item already made, and don't make one.

Mon Jul 12 16:41:12 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)

	* print.c (float_to_string): Distinguish between a precision of
	zero and an omitted precision.  Do allow %.0f to produce strings
	containing no decimal point or exponent.
	(syms_of_print): Doc fix for float-output-format.

	* xfns.c (x_set_frame_parameters): Don't set the frame's size and
	position unless those parameters are actually specified in ALIST.

	* syntax.c (Fmodify_syntax_entry): Doc fix.

Mon Jul 12 14:43:38 1993  Frederic Pierresteguy  (F.Pierresteguy@@frcl.bull.fr)
d1002 4
a1005 2
	* xterm.c, sysdep.c (F_SETOWN_BUG): Defined.
	* m/dpx2.h: New file.
d1007 2
a1008 1
Sat Jul 10 19:23:41 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1010 310
a1319 3
	* textprop.c (set_properties): Call modify_region.
	(remove_properties): Call modify_region before record_property_change.
	(add_properties): Likewise.
d1321 1
a1321 1
Sat Jul 10 18:49:26 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d1323 3
a1325 36
	* xrdb.c: Implement search for app-defaults directory and
	localized default databases, along with some other functionality
	provided by Xt.
	#include <stdio.h>, since we call sprintf.
	[emacs] (malloc, realloc, free): #define these to xmalloc,
	xrealloc, and xfree.
	(x_get_string_resource, file_p): Add forward declarations for
	these.
	(x_customization_string): New variable.
	(x_get_customization_string): New function.
	(gethomedir): Return malloc'ed space of the right size, instead of
	writing into a fixed-size buffer; this means that our callers do
	not impose an arbitrary limit on file name length.
	(magic_file_p): Rewrite of decode_magic; actually do the
	substitutions, instead of expanding all %-escapes to "".  Support
	the customization string.  Return 0 or the expanded file name,
	instead of just zero or one.  Allocate the space for the expanded
	file name ourselves, instead of writing into a fixed-size buffer
	passed to us; this removes an arbitrary limit.
	(search_magic_path): Rewrite of magic_searchpath_decoder.  Return
	0 or the expanded file name, instead of just zero or one.
	Allocate the space for the expanded file name ourselves, instead
	of writing into a fixed-size buffer passed to us; this means that
	our callers do not impose an arbitrary limit on file name length.
	(get_system_app): Changed to work with search_magic_path.
	(get_user_app): Rewritten to work with search_magic_path, and not
	to assume that the values of XAPPLRESDIR is a single directory.
	(get_user_db): Properly use the new version of gethomedir.
	(get_environ_db): Remove arbitrary limit on length of host name.
	(x_load_resources): Take a new argument, myname.  Call get_user_db
	early to obtain the customization string.
	Changes to stand-alone testing code.
	* xfns.c (Fx_open_connection): Set Vxrdb_name early, and pass it
	to x_load_resources.

	* keymap.c (syms_of_keymap): Doc fix.
d1327 2
a1328 1
Fri Jul  9 17:41:49 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1330 3
a1332 2
	* process.c (wait_reading_process_input): If wait_for_cell, do call
	swallow_events and do_pending_window_change when appropriate.
d1334 1
a1334 1
Thu Jul  8 19:45:22 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)
d1336 3
a1338 1
	* editfns.c (region_limit): Declare Vmark_even_if_inactive.
d1340 1
a1340 3
	* callint.c (syms_of_callint):
	Fix DEFVAR_LISP for Vmark_even_if_inactive to use right
	Lisp symbol name (without V prepended).
d1342 1
a1342 1
Thu Jul  8 17:43:11 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)
d1344 10
a1353 12
	* callint.c (check_mark): Don't check mark-active unless in
	transient-mark-mode.  
	For inactive mark, signal mark-inactive instead of error with a
	message.
	* editfns.c (region_limit): Don't error if Vmark_even_if_inactive
	is set.
	When the mark is inactive and that is a no-no, signal
	mark-inactive instead of using error with a message.
	* data.c (syms_of_data): Staticpro Qmark_inactive.
	* data.c: Define Qmark_inactive.
	(syms_of_data): Initialize it.
	* lisp.h: Declare Qmark_inactive.
d1355 1
a1355 1
Wed Jul  7 03:58:15 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d1357 3
a1359 4
	* editfns.c (Fformat): Since floats occupy two elements in the
	argument list passed to doprnt, we must use separate indices for
	the array of arguments passed to Fformat, and the array of
	arguments to be passed to doprnt.
d1361 3
a1363 3
	* .gdbinit: Add size to geometry spec.
	Specify sevenbit-strings in set print.
	(xfloat): New command.
d1365 1
a1365 1
Tue Jul  6 11:05:14 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d1367 1
a1367 1
	* Version 19.16 released.
d1369 1
a1369 2
	* ymakefile [not ORDINARY_LINK && __GNUC__ && __GNUC__ > 1 && not
	LIB_GCC] (LIB_GCC): Use "$(CC)" instead of "gcc".
d1371 2
a1372 1
Tue Jul  6 01:58:20 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d1374 3
a1376 3
        * textprop.c (copy_text_properties): Pass a copy of POS to
	validate_interval_range; that function increments its arguments,
	which isn't what we want.
d1378 2
a1379 2
	* fns.c (Fsubstring, concat): Pass all six arguments to
	copy_text_properties.
d1381 8
a1388 2
	* intervals.c (find_interval): Doc fixes, computation of
	tree->position rearranged for clarity.
d1390 1
a1390 19
	* intervals.c (find_interval): Consistently treat POSITION as an
	actual buffer position, i.e. origin 1.  The old code seemed
	undecided on this point.  Treat the end of the buffer as being
	part of the rightmost interval.
	(adjust_intervals_for_insertion): Consistently treat POSITION as
	origin 1.
	(interval_deletion_adjustment): The exception: FROM should be
	origin zero here.  Consistently treat it as such.  Simplify code
	which shrinks and possibly deletes intervals.
	(adjust_intervals_for_deletion): Treat start as origin 1; our
	caller does.
	(set_point): Use buffer positions throughout, not a mix of buffer
	posns and origin zero posns.
	(get_local_map): Remove special case for POSITION at end of buffer;
	find_interval handles that case correctly.
	(verify_interval_modification): Remove special case for START at
	end of buffer.
	* textprop.c (validate_interval_range): End-of-buffer/string
	positions no longer need special handling.
d1392 7
a1398 1
	* intervals.c (make_new_interval): #if 0 this out.  Nobody calls it.
d1400 2
a1401 7
	* textprop.c (copy_text_properties): New function, from David
	Gillespie.
	* intervals.h: Declare copy_text_properties.
	* fns.c: #include "intervals.h".
	(Fsubstring): Copy text properties to result string.
	(concat): Copy text properties to result string.
	* ymakefile (fns.o): Note that this depends on INTERVAL_SRC.
d1403 3
a1405 6
	* print.c: Get rid of extra space at the end of print syntax for
	strings with intervals.
	[USE_TEXT_PROPERTIES] (print): Don't print a space before the
	interval property lists.
	[USE_TEXT_PROPERTIES] (print_interval): Print a space before this
	internal's properties, not after.
d1407 1
a1407 5
	* m/pmax.h (C_SWITCH_X_MACHINE): Set this to
	"-DNeedFunctionPrototypes=0", to avoid lossage in DEC X11 header
	files.
	* ymakefile (really-oldXMenu): Pass C_SWITCH_X_MACHINE to the
	oldXMenu make.
d1409 1
a1409 2
	* doc.c (Fsubstitute_command_keys): Pass all five arguments to
	describe_map_tree.
d1411 3
a1413 1
Mon Jul  5 03:15:17 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d1415 2
a1416 3
	Compare the values of text properties using EQ, not Fequal.
	* intervals.c (intervals_equal): Call EQ, not Fequal.
	* textprop.c (interval_has_all_properties, add_properties): Same.
d1418 5
a1422 3
	* textprop.c (validate_interval_range): Don't increment both
	*begin and *end if they point to the same thing.
	(validate_plist): Call QUIT while scanning LIST.
d1424 1
a1424 2
	* intervals.c (intervals_equal): Test the return value of Fequal
	against Qnil, not 0.
d1426 2
a1427 8
	* keyboard.c (Vdouble_click_time): Renamed from double_click_time,
	and made a Lisp_Object instead of an int.  
	(make_lispy_event): If Vdouble_click_time is t, impose no time
	limit on double-clicks.
	(syms_of_keyboard): DEFVAR_LISP (not DEFVAR_INT)
	Vdouble_click_time (not double_click_time), and adjust doc string
	to say that `nil' means no double clicks, and `t' means no time
	limit.
d1429 2
a1430 1
Sun Jul  4 16:00:40 1993  Jim Blandy  (jimb@@churchy.gnu.ai.mit.edu)
d1432 18
a1449 2
	* keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): New
	accessors.
d1451 1
a1451 2
	* s/sunos4-1.h (LIBS_SYSTEM): Don't link against -lresolv; that's
	only needed for misconfigured systems.
d1453 2
a1454 1
Sun Jul  4 00:51:00 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1456 2
a1457 5
	* keymap.c (describe_map_tree): When inserting TITLE, mention PREFIX.
	Insert newline at end, if inserted anything else.
	(describe_buffer_bindings): Corresponding changes.
	For minor mode maps, build up a title string,
	then let describe_map_tree insert it.
d1459 1
a1459 1
	* eval.c (Fsignal): Clarify error message.
d1461 1
a1461 1
Sat Jul  3 22:19:19 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1463 1
a1463 1
	* keyboard.c (read_char): After Fgarbage_collect, call redisplay.
d1465 2
a1466 1
Sat Jul  3 17:11:19 1993  Jim Blandy  (jimb@@churchy.gnu.ai.mit.edu)
d1468 2
a1469 2
	* frame.c (Fredirect_frame_focus): Allow redirection of focus of
	dead frames.
d1471 1
a1471 2
	* s/sunos4-1.h (LIBS_SYSTEM): Make this be -lresolv, so we get the
	versions of gethostbyname and such that use the DNS.
d1473 2
a1474 1
Sat Jul  3 02:58:05 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)
d1476 5
a1480 3
	* fileio.c (Frename_file):
	After prompting for ok-if-already-exists, pass only nil or
	t to copy-file, never an integer.
d1482 4
a1485 1
Fri Jul  2 23:57:42 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1487 4
a1490 1
	* keymap.c (Faccessible_keymaps): Doc fix.
d1492 3
a1494 1
Fri Jul  2 18:48:58 1993  Jim Blandy  (jimb@@churchy.gnu.ai.mit.edu)
d1496 1
a1496 2
	* textprop.c (set_properties): Don't try to make undo records if
	OBJECT is a string.
d1498 2
a1499 1
Fri Jul  2 01:42:41 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1501 2
a1502 5
	* keyboard.c (read_key_sequence): When inserting `menu-bar' prefix,
	modify the position field to prevent doing so twice.
	Do all these forms of event expansion after replayed events also.
	Set last_real_key_start before each key.
	Use last_real_key_start in criterion for being the first event.
d1504 3
a1506 2
	* process.c (wait_reading_process_input): Do include the keyboard
	in the select, if read_kbd was a cons cell.
d1508 13
a1520 1
Thu Jul  1 22:25:05 1993  Jim Blandy  (jimb@@churchy.gnu.ai.mit.edu)
d1522 6
a1527 3
	* xterm.c (XTread_socket): When handing non-synthetic
	ConfigureNotify events, don't refer to the parent window
	descriptor.
d1529 2
a1530 3
	* textprop.c (set_properties): Add undo records to remove entirely
	new properties.  Only record old property values for those
	properties whose values have changed.
d1532 2
a1533 1
Thu Jul  1 19:56:28 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1535 3
a1537 2
	* callint.c (Vmark_even_if_inactive): New var, with Lisp variable.
	(check_mark): Use it.
d1539 3
a1541 1
Thu Jul  1 00:03:50 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1543 1
a1543 3
	* xfaces.c [XOS_NEEDS_TIME_H]: #undef USG while #including
	<X11/Xos.h>, so that file doesn't try to define struct timeval and
	struct timezone.
d1545 2
a1546 3
	* xterm.c (frame_highlight, frame_unhighlight): Don't test
	Vx_no_window_manager.  BLOCK_INPUT around the border manipulation
	calls.
d1548 1
a1548 1
Wed Jun 30 16:12:09 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1550 1
a1550 3
	* xterm.c (XTread_socket): Initialize event_found to zero, and
	pass a zeroed timeout to select, not a null pointer; the latter
	means "wait forever".
d1552 2
a1553 3
	* s/hpux8.h (random, srandom): No need to define these to be
	foo_random and foo_srandom; autoconf should autodetect when the
	real random functions are available.
d1555 1
a1555 3
	* xdisp.c (redisplay): If we're not already showing the region,
	then don't disable the single-line optimizations just because the
	mark isn't where we last displayed it.
d1557 1
a1557 1
Wed Jun 30 13:50:08 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1559 2
a1560 4
	* keyboard.c (syms_of_keyboard): Doc fix.
	(Vhelp_char): Renamed from help_char.
	(Vprefix_help_command): New Lisp variable.
	(read_key_sequence): Use that, for help char after prefix key.
d1562 1
a1562 2
	* keyboard.c (kbd_buffer_get_event):
	Clear f before calling mouse_position_hook.
d1564 2
a1565 1
	* emacs.c, callproc.c (PRIO_PROCESS): Definition deleted.
d1567 1
a1567 2
	* vm-limit.c (check_memory_limits): Make data_size and five_percent
	unsigned long.
d1569 1
a1569 1
Wed Jun 30 00:55:41 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1571 1
a1571 2
	* keyboard.c (kbd_buffer_get_event): Correctly generate
	switch-frame events when reading mouse motion events.
d1573 1
a1573 1
Tue Jun 29 19:05:54 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1575 5
a1579 3
	* xterm.c: Add CPP tangle from process.c to get definitions for
	FD_SET, etcetera.
	(XTread_socket): Use those macros when testing for dropped connection.
d1581 4
a1584 1
Tue Jun 29 01:27:22 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1586 1
a1586 1
	* alloc.c (mark_object): Add aborts in Lisp_Symbol case.
d1588 1
a1588 3
	* keymap.c (describe_map_tree): Insert key_heading here.
	New arg TITLE.
	(describe_buffer_bindings): Corresponding changes.
d1590 1
a1590 1
	* process.c (wait_reading_process_input): Use SIGIO only if defined.
a1591 55
	* keymap.c (shadow_lookup): New function.
	(describe_map_2): Call it.  SHADOW is now a list of maps.
	(describe_vector): Likewise.
	(describe_map): SHADOW is now a list of maps.
	(describe_map_tree): Likewise.
	(describe_buffer_bindings): Build suitable list to pass as SHADOW.
	(Faccessible_keymaps): New arg PREFIX.  Callers changed.
	(describe_map_tree): New arg PREFIX.
	(Fdescribe_bindings): New arg PREFIX.
	Pass to describe_buffer_bindings along with buffer.
	(describe_buffer_bindings): Extract PREFIX and pass along.

Mon Jun 28 15:18:53 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keymap.c (describe_map_2): Cleanups.
	Check there's no previous definition in same keymap. 

Thu Jun 24 00:15:54 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* keyboard.c (read_char): Don't do idle autosaves if we're not
	interactive.

Wed Jun 23 21:32:25 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* xfns.c (Fx_create_frame): Check for internalBorder resource, as
	well as internalBorderWidth.

	* xterm.c (XTread_socket): Remove #if 0''s around code which tests
	for dropped connection (i.e. sigio but no events).

Tue Jun 22 02:58:40 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)

	* keyboard.c (menu_bar_items, read_key_sequence): Use
	current_global_map, not global_map; the latter is only meant to be
	used for initial_define_key.
	* commands.h: Doc fix.

	* commands.h (Vglobal_mouse_map): Removed; unused.
	* xfns.c (Vglobal_mouse_map): Same.

	* buffer.c (list_buffers_1): Make desired_point a lisp object; set
	it to nil, unless we find the current buffer.
	(Flist_buffers): Don't try to set point in the buffer list unless
	list_buffers_1 actually returns an integer.  Don't use a full
	save_excursion; just save and restore the buffer.

	Separate parameter faces (those created and modified by the user)
	from the computed faces (the combinations created by
	compute_char_face), so that we don't waste global face id's.
	* xterm.h (struct x_display): Replace the fields faces and n_faces
	with fields param_faces, n_param_faces, computed_faces,
	n_computed_faces, and size_computed_faces.
	(FRAME_FACES, FRAME_N_FACES): Replaced by...
	(FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES,
	FRAME_N_PARAM_FACES): New macros.
a1592 23
	(init_frame_faces): Call new_computed_face to create entries for
	the default and mode line faces.  Use the FRAME...PARAM_FACES
	macros.
	(free_frame_faces): Use the FRAME...PARAM_FACES and
	FRAME...COMPUTED_FACES macros.  Don't use the copy flag; all
	parameter faces have real X resources, and all computed faces just
	have copies.  Free both the parameter and computed face arrays.
	(new_computed_face): New function.
	(intern_computed_face): Renamed from intern_frame_face; callers
	changed.  Call new_computed_face.
	(ensure_face_ready, compute_char_face, compute_glyph_face): Use the
	FRAME...PARAM_FACES macros.
	(recompute_basic_faces): Use the FRAME...PARAM_FACES and
	FRAME...COMPUTED_FACES macros.  Produce the computed faces by
	starting with the base faces and merging in the parameter faces.
	(Fset_face_attribute_internal): Use the FRAME...PARAM_FACES
	macros.  Just call recompute_basic_faces if the default or mode
	line faces have changed.
	* xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros.
	* xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros.
	* dispextern.h (struct face): Remove the copy member.  This is no
	longer necessary; all computed faces are copies, and no parameter
	faces are.
d1594 144
a1737 2
	* xfaces.c (face_vector, nfaces, nfaces_allocated): Make these
	static.
d1739 1
a1739 2
	* xdisp.c (redisplay_window): Remember to compute end relative to
	the start of the visible region, too.
d1741 3
a1743 1
Mon Jun 21 22:02:48 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1745 2
a1746 2
	* xrdb.c (get_user_db): Remember to free the screen-local resource
	string after we've merged its data into db.
d1748 1
a1748 7
	* keyboard.c (make_lispy_event): Added detection of double-click
	and triple-click events.
	(parse_modifiers_uncached, apply_modifiers_uncached): Same.
	(read_key_sequence): Coerce double-clicks to clicks, and triple-clicks
	to double-clicks or clicks, by analogy with drag events.
	(double_click_time): Added variable.
	* termhooks.h: Added multi-click event modifier bits.
d1750 1
a1750 1
Mon Jun 21 15:37:06 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1752 1
a1752 2
	* textprop.c (Fremove_text_properties, Fadd_text_properties):
	Really do next_interval when skipping the first interval.
d1754 3
a1756 1
Sun Jun 20 16:01:51 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1758 1
a1758 4
	* xfns.c (Fx_open_connection): Remember to block input while
	calling x_load_resources.
	* xrdb.c: Undo change of June 19th; it was a BLOCK_INPUT problem,
	not a server-specific bug.
d1760 1
a1760 2
	* alloc.c (Fgarbage_collect): If the minibuffer is active, don't
	display the "...done" message; allow the minibuffer to show again.
d1762 8
a1769 4
	* config.h.in (HAVE_LONG_FILE_NAMES): Add an #undef, for autoconf
	to chew on.  Re-arrange macros to reflect the ordering of the
	corresponding macros in configure.in, to facilitate this kind of
	checking.
d1771 1
a1771 1
Sat Jun 19 17:14:27 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1773 3
a1775 1
	* version 19.15 released.
d1777 1
a1777 1
Sat Jun 19 16:24:58 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1779 1
a1779 2
	* puresize.h (PURESIZE): Up this to 205000 for MULTI_FRAME Emaces,
	and 190000 for non-MULTI_FRAME Emaces.
d1781 4
a1784 1
	* xfaces.c (recompute_basic_faces): This shouldn't be declared static.
d1786 2
a1787 3
	* xrdb.c (get_user_db): Some NCD xterms seem to hang in
	XScreenResourceString.  Consult the ServerVendor and VendorRelease
	variables to see if we're talking to such a server.
d1789 1
a1789 2
	* xterm.c (XTread_socket): Never treat a modifier key as a
	non_ascii_keystroke.
d1791 5
a1795 2
        * emacs.c (Fkill_emacs): Pass third argument to shut_down_emacs.
	* lisp.h (shut_down_emacs): Doc fix.
d1797 5
a1801 1
Fri Jun 18 11:05:46 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)
d1803 1
a1803 3
	* frame.c (Fmake_frame_visible): Make this interactively callable;
	frames can accept input while iconified, so it makes sense to put
	this on a key.
d1805 3
a1807 1
	* xfaces.c: Add forward declaration for recompute_basic_faces.
d1809 1
a1809 2
	* fileio.c (Fset_visited_file_modtime): We're only passing two
	arguments to the file name handler; use call2, not call3.
d1811 2
a1812 11
        Changes for Irix 4.0, tested this time:
	* s/irix4-0.h: Get rid of our fake definitions for setpgrp and
	getpgrp.
	* callproc.c (Fcall_process): Go ahead and use the USG calling
	convention for setpgrp.
	* ymakefile (pre-crt0.o): Add rule for this.  Perhaps it will help
	separate-source-directory compilation.
	* emacs.c (shut_down_emacs): Some USG systems #define
	EMACS_HAVE_TTY_PGRP; call getpgrp as appropriate for such systems.
	* sysdep.c (sys_suspend): Call getpgrp as appropriate for USG and
	non-USG.
d1814 2
a1815 4
	* sysdep.c (rename): Make arguments const.  autoconf #defines
	const away on systems which don't have it; any system with
	prototypes will declare the arguments const (the ones to which I
	have access do); and systems without prototypes won't notice.
d1817 2
a1818 3
	* process.c [IRIX] (create_process): Don't put child in process
	group zero before opening the tty; Irix is like USG in this
	regard.
d1820 1
a1820 3
	* s/isc2-2.h, s/linux.h, s/usg5-4.h, m/alliant-2800.h, m/convex.h,
	m/pfa50.h: Remove #definition of HAVE_CLOSEDIR; autoconf figures
	this out.
d1822 1
a1822 3
	* xfns.c: Always #include "bitmaps/gray.xbm"; the bitmaps seem to
	be missing on some systems, and there's no point in having
	configure check; it should work fine to always use our copy.
d1824 1
a1824 2
	* minibuf.c (Fread_minibuffer): Add missing semicolon after
	CHECK_STRING macro.
d1826 1
a1826 1
Thu Jun 17 19:29:56 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1828 1
a1828 1
	* Version 19.14 released.
d1830 3
a1832 1
Thu Jun 17 15:05:29 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1834 1
a1834 4
	* m/iris4d.h (LIB_STANDARD): Do *not* include -lbsd.  We are
	now calling the BSD[sg]etpgrp functions directly, so this library
	is not needed; it just provides the BSD[sg]etpgrp functions under
	the [sg]etpgrp names.
d1836 6
a1841 2
	* callproc.c [IRIX] (child_setup): Don't call setpgrp this time.
	It's already been called up in Fcall_process, and create_process.
d1843 2
a1844 4
	* callproc.c (Fcall_process, child_setup): If IRIX is #defined,
	call setpgrp with arguments, even if USG is #defined.
	* process.c [IRIX] (create_process): Don't call setpgrp before
	opening the pty.  Call it after doing the TIOCNOTTY ioctl.
d1846 1
a1846 2
	* xfaces.c (compute_base_face): Initialize the face's stipple.
	Although we don't use this feature now, face_eql notices it.
d1848 10
a1857 2
	* xfaces.c (compute_base_face): Set cached_index to an invalid
	index, to avoid an unnecessary comparison.
d1859 4
a1862 3
	* keyboard.c (read_key_sequence): Don't confuse mock input with
	function-key-map expansion, and continue reading mock events when
	the current sequence is unbound.
d1864 2
a1865 4
	* keyboard.c (read_key_sequence): After providing a prefix symbol
	for a mouse event, modify the mouse event to indicate that that
	won't need to be done again, by putting the event's position
	symbol in a list.
d1867 1
a1867 3
	* keyboard.c (read_key_sequence): When returning mock input which
	has run off the end of the current maps, make sure the events get
	echoed, and make it into this-command-keys.
d1869 1
a1869 4
	* keyboard.c (read_key_sequence): When re-reading a previously
	read mouse click which requires a prefix symbol, make sure to set
	last_real_key_start appropriately, so we can properly drop
	button-down events.
d1871 1
a1871 1
Thu Jun 17 00:07:22 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1873 5
a1877 1
	* ymakefile (really-oldXMenu): Pass C_SWITCH_MACHINE down.
d1879 1
a1879 2
	* intervals.c (verify_interval_modification): Don't just test
	Qread_only prop; use INTERVAL_WRITABLE_P.
d1881 2
a1882 2
	* syntax.c (scan_lists, Fforward_comment): #if 0 the code
	to treat two-character comment enders with a special shortcut.
d1884 1
a1884 1
Wed Jun 16 22:16:40 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1886 1
a1886 5
	* config.h.in (HAVE_CLOSEDIR): Add an #undef for autoconf to
	change.
	* sysdep.c (closedir): Only define this if autoconf can't find
	HAVE_CLOSEDIR.  If we're running under solaris (defined (sun) &&
	defined (USG5_4)), then don't free the buffer separately.
d1888 3
a1890 6
	* keyboard.c (read_key_sequence): If we add events to a key
	sequence that didn't come from the input stream (e.g. `mode-line'
	prefixing a mouse click, or an expansion from function-key-map),
	and end up with a sequence that runs off the end of the current
	maps, return the entire key sequence, not just the initial portion
	which was bound or unbound.
d1892 2
a1893 2
	* xdisp.c (redisplay_window): Do not subtract one from start
	before passing it to the set_vertical_scroll_bar_hook.
d1895 2
a1896 7
	* lisp.h (CHECK_LIST, CHECK_STRING, CHECK_CONS, CHECK_SYMBOL,
	CHECK_VECTOR, CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW,
	CHECK_PROCESS, CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER,
	CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT,
	CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY): Wrap a do
	... while (0) around these compound statements to make them
	syntactically equivalent to a single statement.
d1898 4
a1901 1
Wed Jun 16 18:37:24 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)
d1903 3
a1905 1
	* editfns.c (Finsert_buffer_substring): Doc fix.
d1907 3
a1909 1
Wed Jun 16 10:12:49 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1911 16
a1926 8
	Don't let the 'B' interactive spec default to buffers viewed in
	any visible frame.
	* buffer.c (Fother_buffer): Pass Qt as the second argument
	to Fget_buffer_window.
	* window.c (window_loop): In GET_BUFFER_WINDOW case, ignore
	non-visible frames.
	(Fget_buffer_window): Change doc string to mention that passing Qt
	for the FRAME argument returns windows on visible frames only.
d1928 1
a1928 8
        Changes for correct pgrp behavior; approach suggested by Bob
	Glickstein <bobg@@zindigo.z-code.com>:
	* m/iris4d.h (LIB_STANDARD): Do list -lbsd here.
	* s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp
	and BSDsetpgrp.
	(GETPGRP_NO_ARG): Don't #define this.
	* emacs.c (main): Don't test GETPGRP_NO_ARG.
	* sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.
d1930 2
a1931 1
	* Makefile.in (CPP): New variable, set by the top-level Makefile.
d1933 1
a1933 4
	* m/delta88k.h (HAVE_GETTIMEOFDAY): Don't #define this; autoconf
	takes care of that.
	(LIBS_SYSTEM): Don't attempt to #define this if we already have a
	definition of LIB_SYSTEM from s/usg5-4.h.
d1935 2
a1936 1
	* unexec.c [HPUX] (sbrk): This returns a void *.
d1938 1
a1938 2
	* window.c (check_frame_size): Allow minibuffer-only frames to be
	one line high.
d1940 3
a1942 1
	* frame.c (store_frame_param): Fix error message punctuation.
d1944 1
a1944 1
	* callproc.c [IRIX] (child_setup): Don't set the pgroup.
d1946 1
a1946 1
	* s/isc3-0.h (memmove): #define this to call safe_bcopy.
d1948 5
a1952 2
	* buffer.c (list_buffers_1): Return the desired point.
	(Flist_buffers): Put point there in the buffer summary.
d1954 3
a1956 6
        Bring mumbleclean targets into conformance with GNU coding standards.
	* Makefile.in (mostlyclean): New target.
	(clean): Just call mostlyclean.  Get rid of ../etc/DOC too.
	(distclean): Use clean to do most of the work.
	Get rid of ../etc/DOC-* too.
	(realclean): New target.
d1958 1
a1958 2
	* xdisp.c (redisplay_window): Do not subtract BEGV to compute
	the scroll bar handle's end.
d1960 1
a1960 1
Tue Jun 15 03:47:10 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1962 2
a1963 1
	* xmenu.c (xmenu_show): Store 0 in *ERROR at the beginning.
d1965 1
a1965 1
	* fileio.c (Finsert_file_contents): Two new args, BEG and END.
d1967 1
a1967 2
	* intervals.c (adjust_intervals_for_insertion): By default, copy
	properties from before the insertion.
d1969 2
a1970 1
Mon Jun 14 13:29:51 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1972 1
a1972 2
	* syntax.c (scan_sexps_forward): Set state.comstart to before the
	comment starter, not after.
d1974 1
a1974 1
	* xmenu.c (Fx_popup_menu): Call keymap_panes right in one-keymap case.
d1976 1
a1976 1
Mon Jun 14 11:06:35 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d1978 2
a1979 2
	* s/linux.h (LIBS_MACHINE, HAVE_SYSVIPC): Set the former to -lipc,
	and #define the latter.
d1981 1
a1981 1
	* xdisp.c (display_text_line): Use temporary variable.
d1983 1
a1983 1
Mon Jun 14 03:05:17 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1985 1
a1985 2
	* window.c (Fdelete_window): Handle deleting a parent of the
	selected window.
d1987 1
a1987 1
Sun Jun 13 04:10:08 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d1989 1
a1989 2
	* fileio.c (Fset_visited_file_modtime): Don't give the handler
	the filename as an argument.
d1991 1
a1991 4
	* syntax.c (scan_lists, Fforward_comment): Pass 0 as commentstop arg
	to scan_sexps_forward.
	(scan_sexps_forward, char_quoted): Now static.
	(describe_syntax, describe_syntax_1): Now static.
d1993 12
a2004 1
	* undo.c (Fprimitive_undo): Rename arg to N to avoid conflict.
d2006 1
a2006 2
	* window.c (Fdelete_window): Mostly undo last change.
	Don't initialize `frame' in the declaration.
d2008 9
a2016 6
	* Make prefix keys work with keymap inheritance
	by creating an inheritance structure for each subkeymap
	that we create in the inheriting keymap.
	* keymap.c (access_keymap): New arg NOINHERIT.  All calls changed.
	(define_as_prefix): New function.
	(Fdefine_key): Use them.
d2018 5
a2022 1
Sat Jun 12 19:52:07 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2024 1
a2024 3
	* emacs.c (shut_down_emacs): New arg STUFF.  Stuff input here.
	(Fkill_emacs, fatal_error_signal): Pass new arg.
	* xterm.c (x_connection_closed): Pass new arg.
d2026 1
a2026 1
	* dired.c (Ffile_attributes): Give -1 as size if size won't fit.
d2028 1
a2028 2
	* intervals.c (set_point): When moving over invis chars,
	don't screw up at end of buffer.
d2030 1
a2030 9
	* eval.c (call5, call6): New functions.
	(call1, call2, call3, call4): Renumber the args.
	* lread.c (Fload): Use call5.
	* fileio.c (Fcopy_file): Pass all the args to the handler.
	(Fwrite_region): Use call6.
	(Frename_file): Look for handler for newname.
	(Fadd_name_to_file): Pass arg ok_if_already_exists to handler.
	(Fmake_symbolic_link): Likewise.
	(Ffile_newer_than_file_p): Check both file names for handler.
d2032 3
a2034 1
Sat Jun 12 13:35:37 1993  John Hughes  (john@@moonlite.CalvaCom.fr)
d2036 1
a2036 1
	* term.c (term_get_fkeys): Use `prior', not `previous', for %8/kP.
d2038 1
a2038 1
Sat Jun 12 13:00:03 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d2040 1
a2040 2
	* sysdep.c (child_setup_tty): Remove duplicate settings for VQUIT
	and VINTR.
d2042 1
a2042 2
	* sysdep.c [ultrix] (init_sys_modes): Don't set LLITOUT; it
	disables the meta key.
d2044 2
a2045 1
	* frame.c (Fmouse_position, Fset_mouse_position): Doc fix.
d2047 1
a2047 2
	* xfns.c [! HAVE_X11R5] (Fx_rebind_key): Recognize that
	XK_Mode_switch and XK_Num_Lock are modifier keysyms too.
d2049 3
a2051 2
	* xterm.c (XTset_vertical_scroll_bar): Use double type for
	intermediate results in scaling.
d2053 2
a2054 1
Sat Jun 12 12:56:36 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2056 1
a2056 2
	* undo.c (syms_of_undo): Set up Qinhibit_read_only.
	(Fprimitive_undo): Sometimes bind inhibit-read-only to t.
d2058 18
a2075 1
	* minibuf.c (read_minibuf): Set and use mini_frame only if MULTI_FRAME.
d2077 1
a2077 2
	* xdisp.c (echo_area_display): Use XFASTINT on ->height.
	(copy_rope, copy_part_of_rope): Access *f as Lisp_Object.
d2079 4
a2082 1
	* window.c (Fdelete_window): Make `frame' a FRAME_PTR and use as such.
d2084 1
a2084 3
	* undo.c (record_delete): Always use XFASTINT on sbeg.
	(Fprimitive_undo): Add missing `else'.  Add USE_TEXT_PROPERTIES
	conditional for calling Fput_text_property.  Use XINT on high, low.
d2086 1
a2086 1
	* process.c (start_process_unwind): Use XINT.
d2088 2
a2089 1
	* syntax.c (Fset_syntax_table): Add XFASTINT.
d2091 4
a2094 1
Sat Jun 12 05:30:40 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d2096 2
a2097 2
	* xterm.c (x_error_quitter, x_io_error_quitter): Remove calls to
	abort.  We can always run Emacs with _Xdebug set to 1.
d2099 1
a2099 1
	* ymakefile (really-oldXMenu): Remember backslash to extend command.
d2101 1
a2101 4
	* keyboard.c (read_key_sequence): When we generate a prefix symbol
	for a mouse event, store the actual mouse event in
	unread_command_events, so we don't lose it if the symbol isn't
	bound to a prefix.
d2103 1
a2103 7
	* config.h.in (HAVE_XRMSETDATABASE, HAVE_RANDOM, HAVE_LIBXBSD):
	Add #undefs for these.
	Dyke out code requesting -lXbsd and HAVE_RANDOM for XFREE386.
	* xfns.c (Fx_open_connection): Test HAVE_XRMSETDATABASE instead of
	NO_XRM_SET_DATABASE; the latter isn't used any more.
	* m/delta88k, m/tekXD88.h, s/linux.h, s/usg5-4-2.h (HAVE_RANDOM):
	Dyke out these #definitions; to avoid conflict with autoconf.
d2105 1
a2105 2
	* ymakefile (really-oldXMenu): Explicitly pass CC, CFLAGS, and
	MAKE to the oldXMenu make.
d2107 1
a2107 3
	* window.c (Fprevious_window): Use FRAME_HAS_MINIBUF_P to decide
	if the frame has a minibuffer; FRAME_MINIBUF_WINDOW points to the
	surrogate on minibufferless frames, not nil.
d2109 2
a2110 1
Sat Jun 12 00:43:07 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2112 3
a2114 2
	* keyboard.c (read_char): Set c properly as a Lisp int.
	(command_loop_1): Delete spurious use of XINT on c, a char.
d2116 1
a2116 1
	* frame.c: Doc fixes.
d2118 1
a2118 1
	* data.c (cons_to_long): Declare top, bot as Lisp_Object.
d2120 1
a2120 1
	* floatfns.c (Fexpt): New local `val' for making integer to return.
d2122 9
a2130 3
	* keymap.c (Fcopy_keymap): Check Fkeymapp value with NILP.
	(get_keymap_1): Add missing semicolon.
	(describe_vector_princ): Align to column 16.
d2132 1
a2132 1
	* emacs.c (main) [GETPGRP_NO_ARG]: Really pass no arg to getpgrp.
d2134 1
a2134 1
Fri Jun 11 16:49:38 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2136 1
a2136 1
	* xterm.c (XTmouse_position): Don't set *f at all unless we win.
d2138 2
a2139 2
	* process.c (read_process_output): Don't deactivate the mark.
	Do restore Vdeactivate_mark, so that no one else deactivates it.
d2141 3
a2143 2
	* buffer.c (Fgenerate_new_buffer_name): GENTEMP is the value to
	compare against IGNORE.
d2145 2
a2146 1
Fri Jun 11 12:15:29 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d2148 5
a2152 8
        Interact properly with shells lacking job control (sh, rc, es...)
	* sysdep.c [BSD] (inherited_pgroup): New variable.
	(narrow_foreground_group, widen_foreground_group): New functions.
	(init_sys_modes): Call narrow_foreground_group.
	(reset_sys_modes): Call widen_foreground_group.
	* emacs.c [BSD] (inherited_pgroup): Add extern declaration.
	[BSD] (main): Set inherited_pgroup, and put ourselves in our own
	pgroup.
d2154 3
a2156 1
Fri Jun 11 11:41:04 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2158 1
a2158 3
	* xfns.c (syms_of_xfns): Don't set up Qicon.
	(Qicon): Declaration deleted.
	* frame.h (Qicon): Declared.
d2160 4
a2163 1
	* frame.c (Fmouse_position): Set up defaults before calling the hook.
d2165 3
a2167 1
Fri Jun 11 07:17:59 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d2169 1
a2169 2
	* xdisp.c (redisplay_window): Don't call try_window_id if the
	window isn't starting at the beginning of the line.
d2171 6
a2176 1
	* window.c (Fprevious_window): Typo.
d2178 3
a2180 1
Fri Jun 11 03:13:54 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2182 1
a2182 1
	* ymakefile (alloca.o): Delete allocatem.c, not allocax.c.
d2184 2
a2185 1
	* textprop.c (Fset_text_properties): No special case for props = nil.
d2187 1
a2187 1
	* xfns.c (Fx_list_fonts): If names is 0, just return nil.
d2189 3
a2191 1
Fri Jun 11 02:43:09 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d2193 1
a2193 2
	* xterm.c (x_new_font): If font_names is zero, that's all the
	indication we get that no matches were found.
d2195 4
a2198 3
	* s/isc3-0.h (LIB_X11_LIB): #undef this, to remove the value
	inherited from usg5-3.h; ISC doesn't have libX11_s.
	(LIBX11_SYSTEM): Link against the static -lc, not -lc_s.
d2200 2
a2201 1
Thu Jun 10 17:14:25 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2203 1
a2203 1
	* lread.c (Fload): Forward all 4 args to magic-name handler.
d2205 3
a2207 1
Thu Jun 10 03:25:20 1993  Shane Hartman  (shane@@nugget.spr.com)
d2209 2
a2210 2
        * window.c (Fscroll_left): Make argument optional.
        (Fscroll_right): Ditto.
d2212 1
a2212 1
Thu Jun 10 01:18:09 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d2214 5
a2218 4
	* search.c (Flooking_at, Fstring_match, fast_string_match,
	search_buffer): Don't block input while calling searching and
	matching functions.  These functions may not call malloc under
	Emacs anyway, and we need to be able to check for C-g.
d2220 1
a2220 1
	* xrdb.c (get_user_db): Get the screen-specific database too.
d2222 4
a2225 2
	* syntax.c (scan_lists, Fforward_comment): Call scan_sexps_forward
	with the proper number of arguments.
d2227 1
a2227 2
	* sysdep.c: Remove clause for DGUX support of FASYNC; add clause
	to #undef FASYNC if BROKEN_FASYNC is #defined.
d2229 2
a2230 4
	* filelock.c: Test HAVE_LONG_FILE_NAMES, not SHORT_FILE_NAMES, to
	interface nicely with autoconf.
	* m/delta.h: Don't #define SHORT_FILE_NAMES; autoconf does this
	for us.
d2232 1
a2232 11
	* s/dgux.h: Changes from Paul M Reilly <pmr@@rock.concert.net>:
	(BSD4_4, SVR4, HAVE_SETSID, HAVE_UNIX_DOMAIN): #define these.
	(FIRST_PTY_LETTER): This is 'r', not 'p'.
	(HAVE_TERMIO, SIGNALS_VIA_CHARACTERS): Don't #define these.
	(HAVE_TERMIOS): #define these instead.
	(XREBINDKEYSYM):  Don't #define.
	Test THIS_IS_YMAKEFILE instead of MAKING_MAKEFILE.
	(sigmask, sigpause): #undef these after #including <signal.h>.
	(LD_SWITCH_SYSTEM, START_FILES, LIBS_SYSTEM, LIB_GCC): #define
	these to avoid problems with /lib/crt0.o.
	(C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH): #define these.
d2234 3
a2236 1
	* s/dgux.h (BROKEN_FASYNC): #define this.
d2238 1
a2238 2
	* fileio.c (Frename_file): Pass all arguments to the file name handler.
	* eval.c (call4): New function.
d2240 1
a2240 1
Wed Jun  9 00:36:00 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d2242 2
a2243 1
	* s/linux.h (SIGNALS_VIA_CHARACTERS): Don't #define this.
d2245 2
a2246 3
	* process.c (sigchld_handler): Add cast, to avoid warnings on Linux.
	(Fopen_network_stream): Cast the second argument to connect, to
	avoid warnings on any system that provides prototypes for connect.
d2248 7
a2254 3
	* xdisp.c (display_text_line): Handle case where line ends in a
	continuation character but we never actually displayed any buffer
	text (due to minibuffer prompt).
d2256 1
a2256 2
	* xterm.c (x_is_vendor_fkey): New function.
	(XTread_socket): Call it to recognize vendor-specific function keys.
d2258 3
a2260 2
	* s/dgux.h: Move #definition of SYSTEM_MALLOC outside of
	MAKING_MAKEFILE conditional.  No harm.
d2262 1
a2262 2
	* xfaces.c (init_frame_faces): Remove assumption that the selected
	frame must be an X frame whenever there is already an X frame.
d2264 2
a2265 1
Tue Jun  8 23:54:04 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d2267 1
a2267 2
	* alloc.c (emacs_blocked_malloc, emacs_blocked_realloc): Cast the
	return values of malloc and realloc, to placate compilers.
d2269 1
a2269 1
Tue Jun  8 12:24:22 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2271 2
a2272 2
	* window.c (Fprevious_window): When changing frames,
	use the new frame's minibuffer if any.
d2274 3
a2276 1
	* intervals.h (INTERVAL_WRITABLE_P): Fix backwards tests.
d2278 3
a2280 1
	* m/tekXD88.h: Rewrite by author.
d2282 1
a2282 1
Tue Jun  8 00:38:15 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d2284 2
a2285 1
	* Version 19.13 released.
d2287 2
a2288 8
	* ymakefile (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH): Remove these;
	people shouldn't edit this file to choose optimization and
	debugging switches anyway.  ../configure will set CFLAGS to an
	appropriate default, which they will be able to override.
	* Makefile.in (xmakefile): Don't try to turn -g and -O in
	CFLAGS into C_DEBUG_SWITCH and C_OPTIMIZE_SWITCH.  CFLAGS should
	be the sole source of such switches, so that setting CFLAGS
	controls them completely.
d2290 3
a2292 1
Mon Jun  7 23:54:46 1993  Jim Blandy  (jimb@@totoro.cs.oberlin.edu)
d2294 7
a2300 4
	* config.h.in (HAVE_LIBDNET): New macro, to be defined by
	../configure.
	* m/pmax.h (LIBS_MACHINE): Only put "-ldnet" here if HAVE_LIBDNET
	is #defined.
d2302 2
a2303 1
Mon Jun  7 00:10:09 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2305 2
a2306 2
	* fileio.c (syms_of_fileio): Set up Qset_visited_file_modtime.
	(Fset_visited_file_modtime): Use the proper operation.
d2308 4
a2311 1
	* sysdep.c (init_baud_rate) [HAVE_TERMIOS]: Use cfgetospeed.
d2313 3
a2315 1
	* systty.h: Add NO_TERMIO conditional.
d2317 1
a2317 7
	* textprop.c (Fadd_text_properties): Don't treat the initial
	interval specially, aside from splitting off the part starting
	where we want to start changing things.
	(Fremove_text_properties): Likewise.
	For ending interval, split it left as in Fadd_text_properties.
	(Fset_text_properties): Don't set starting interval if it goes
	past END.  Instead, split it left and set the left part.
d2319 2
a2320 2
	* keymap.c (Fdescribe_vector): Use current buf, not standard-output.
	(describe_vector_princ): Add newline at end.
d2322 2
a2323 2
	* keymap.c (store_in_keymap, access_keymap): Use CHAR_META
	when clearing excess high bits.
d2325 3
a2327 1
	* s/dgux.h (INTERRUPTIBLE_*): Fix spelling of macros.
d2329 2
a2330 2
	* s/hpux9.h (SYSTEM_MALLOC, GNU_MALLOC, REL_ALLOC): Definition and
	#undefs deleted.
d2332 3
a2334 1
	* keymap.c: Doc fix.
d2336 2
a2337 4
	* buffer.c (Fdelete_overlay): Do nothing if overlay already deleted.
	Bind inhibit-quit to t.
	(Fmove_overlay): Properly handle changing buffers, or no prev buffer.
	Bind inhibit-quit to t.
d2339 1
a2339 2
	* lread.c (syms_of_lread): Set up Qload.
	(Fload): Handle magic file names.
d2341 1
a2341 1
Mon Jun  7 17:07:28 1993  Shane Hartman  (shane@@nugget.spr.com)
d2343 1
a2343 6
        * xterm.c (x_caught_error_message): Change type to char* from char*[].
        (X_CAUGHT_ERROR_MESSAGE_SIZE): New macro.
        (x_error_catcher): Corresponding changes.
        (x_catch_errors): Corresponding changes.
        (x_check_errors): Do not free x_caught_error_message.
        (x_uncatch_errors): Set x_caught_error_message to 0 after freeing it.
d2345 2
a2346 1
Sun Jun  6 18:38:55 1993  Paul Eggert  (eggert@@twinsun.com)
d2348 1
a2348 1
	* uaf.h (uaf$v_thursday): Fix misspelling of "thursday".
d2350 14
a2363 1
	* floatfns.c (Fceiling): Fix spelling of "ceiling".
d2365 1
a2365 1
Sun Jun  6 13:41:08 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2367 6
a2372 1
	* ymakefile [__GNUC__ >= 2] (LIB_GCC): Delete spurious -L.
d2374 2
a2375 1
	* m/tekXD88.h (HAVE_RENAME): Deleted.
d2377 3
a2379 1
	* data.c (Ffset): Delete special check for t and nil.
d2381 1
a2381 1
	* xfaces.c (same_size_fonts): Compare only the width.
d2383 4
a2386 1
	* dispnew.c: Include lisp.h earlier (before termhooks.h).
d2388 4
a2391 3
	* editfns.c (Fcurrent_time_zone): Add alternative for !HAVE_TM_ZONE.
	* systime.h [HAVE_TZNAME]: Declare tzname if not macro.
	* config.h.in (HAVE_TZNAME): Add #undef.
d2393 5
a2397 1
Sun Jun  6 13:42:35 1993  Nobuyuki Hikichi  (hikichi@@sra.co.jp)
d2399 3
a2401 2
	* m/news-risc.h (NO_MODE_T): Defined.
	(LINKER): Add #undef.
d2403 1
a2403 1
Sun Jun  6 02:44:47 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2405 1
a2405 2
	* keymap.c (access_keymap, store_in_keymap): Discard meaningless
	high bits of a character event.
d2407 1
a2407 1
Sat Jun  5 04:04:33 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2409 2
a2410 1
	* lisp.h: Don't declare malloc or realloc.
d2412 2
a2413 1
	* xfns.c [EMACS_BIT_MAPS]: Include gray.xbm from ./bitmaps.
d2415 3
a2417 2
	* xterm.c (x_new_font): Don't give up right away if XListFontsWithInfo
	finds no fonts--try XLoadQueryFont anyway.
d2419 3
a2421 1
	* xfns.c (Fx_open_connection): Make `data' unsigned char.
d2423 2
a2424 2
	* window.c (Fset_window_configuration): If a window is supposed
	to have a buffer, always give it one.
d2426 6
a2431 2
	* xmenu.c (Fx_popup_menu): Error if we don't get a window
	or a frame somehow.
d2433 2
a2434 1
	* puresize.h: Test MULTI_FRAME, not HAVE_X_WINDOWS.
d2436 3
a2438 2
	* frame.c (Frubber_band_rectangle): Deleted.
	(syms_of_frame): Don't defsubr it.
d2440 4
a2443 3
	* xselect.c (x_get_foreign_selection): Handle x_selection_timeout
	as milliseconds, not as seconds.
	(syms_of_xselect): Doc fix to match.
d2445 3
a2447 2
	* m/mips4.h (MIPS2): Comment out define.
	(LIB_STANDARD): Delete -lisode.
d2449 1
a2449 1
Fri Jun  4 03:06:37 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2451 1
a2451 1
	* syssignal.h [POSIX] [!__GNUC__] (sys_sigmask): Add declaration.
d2453 1
a2453 1
	* alloc.c (make_event_array): Ignore bits above CHAR_META.
d2455 2
a2456 2
	* frame.c [!MULTI_FRAME] (Fframep): New dummy definition.
	(syms_of_frame): Defsubr that.
d2458 2
a2459 4
	* buffer.c (syms_of_buffer): Set up Lisp var inhibit-read-only.
	* lisp.h (Vinhibit_read_only): Declared.
	* buffer.c (Fbarf_if_buffer_read_only): Check Vinhibit_read_only.
	* cmds.c (Fnewline): Use Fbarf_if_buffer_read_only.
d2461 3
a2463 3
	* intervals.h (INTERVAL_VISIBLE_P): Use textget.
	(INTERVAL_WRITABLE_P): Use textget.
	Check Vinhibit_read_only.
d2465 1
a2465 2
	* window.c (syms_of_window): Always defvar pop-up-frames
	and pop-up-frame-function.
d2467 2
a2468 2
	* process.c (read_process_output): Deactivate the mark.
	Save and restore Vdeactivate_mark.
d2470 2
a2471 3
	* xfns.c (x_set_menu_bar_lines_1): Adjust just the uppermost child
	in a vertical split.  Adjust the hight counter to the top.
	(x_set_menu_bar_lines): Don't change overall frame height.
d2473 3
a2475 1
Fri Jun  4 12:41:07 1993  Francesco Potorti`  (pot@@cnuce.cnr.it)
d2477 5
a2481 4
	* filelock.c (MAKE_LOCK_PATH): If SHORT_FILE_NAMES allocates
	different space and calls fill_in_lock_short_file_name.
	(fill_in_lock_short_file_name): New function for 14-chars hashed
	file names. Replaces fill_in_lock_file_name if SHORT_FILE_NAMES.
d2483 2
a2484 1
Thu Jun  3 00:07:07 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2486 5
a2490 1
	* sysdep.c (wait_for_termination): Fix sigpause in POSIX_SIGNALS case.
d2492 1
a2492 1
	* xterm.c (x_catch_errors): Fill in missing array size in cast.
d2494 1
a2494 1
	* Makefile.in (xmakefile): Depend on ../config.status.
d2496 5
a2500 1
	* buffer.c (init_buffer): Init default-directory of minibuffer.
d2502 1
a2502 1
	* m/iris4d.h (LIB_STANDARD): Delete -lbsd.
d2504 4
a2507 2
	* keyboard.c (read_key_sequence): Reset fkey_map when we find
	something at the end of Vfunction_key_map.
d2509 2
a2510 1
	* m/ibmrt-aix.h (HAVE_FTIME): Defined.
d2512 1
a2512 1
	* emacs.c (syms_of_emacs): Doc fix.
d2514 4
a2517 1
	* keyboard.c (read_char_menu_prompt): Now static.  Add declaration.
d2519 2
a2520 3
	* dispnew.c (Fredraw_display): Redraw all visible frames.
	(redraw_garbaged_frames): New function.
	* xdisp.c (redisplay, echo_area_display): Use redraw_garbaged_frames.
d2522 4
a2525 2
	* dispnew.c (do_pending_window_change): No need to clear
	FRAME_NEW_HEIGHT/WIDTH.  Do test width != 0.
d2527 1
a2527 1
	* xterm.c (x_wm_set_size_hint): Handle XGetNormalHints returning 0.
d2529 4
a2532 1
	* xfns.c (x_set_frame_parameters): Process all parms in reverse order.
d2534 1
a2534 1
	* frame.h (FRAME_MINIBUF_WINDOW): Use minibuffer_window.
d2536 1
a2536 1
Wed Jun  2 16:12:30 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2538 4
a2541 2
	* sysdep.c (init_sys_modes): Disable VLNEXT char.
	Also VWERASE, VREPRINT, VDISCARD.
d2543 3
a2545 2
	* xfaces.c: Test XOS_NEEDS_TIME_H, not HPUX, for including time.h.
	* s/sol2.h, s/hpux.h (XOS_NEEDS_TIME_H): Defined.
d2547 5
a2551 1
Wed Jun 2 20:11:29 1993  Francesco Potorti`  (pot@@cnuce.cnr.it)
d2553 1
a2553 1
	* ymakefile (alloca.o): Use temp names allocax.o, allocax.s
d2555 1
a2555 14
	* m/delta.h (MOTOROLA_DELTA): Defined.
	(HAVE_SYSVIPC, BAT68K, BAT_ALLOCA): Deleted--obsolete.
	(STACK_DIRECTION, HAVE_X_WINDOWS): Deleted--configure knows.
	(C_SWITCH_MACHINE): Set to -ga if using the Green Hills compiler.
	(LIB_STANDARD, LIB_MATH): Defined to the 68881 versions.
	(LIBS_SYSTEM): -lbsd brings sigblock and sigsetmask.
	(sigsetmask): Undefined--it is in -lbsd.
	(LDAV_SYMBOL): Undefined--we have no such thing.
	(KERNEL_FILE): Defined to "/sysV68".
	(BSTRING, HAVE_SELECT, HAVE_UNISTD_H, HAVE_TIMEVAL): Defined.
	(SIGNALS_VIA_CHARACTERS): Defined.
	(memmove): Defined as memcpy--we have no memmove.
	(SIGIO, INTERRUPT_INPUT): Undefined--not yet tested.
	(SHORT_FILE_NAMES, CLASH_DETECTION): Defined.
d2557 2
a2558 1
Wed Jun  2 02:06:21 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2560 2
a2561 1
	* Version 19.12 released.
d2563 1
a2563 2
	* term.c (term_get_fkeys): Use correct names for F10 and up.
	Use the key sequence, not the termcap cap name, in Fdefine_key.
d2565 2
a2566 3
	* intervals.c (copy_intervals): Don't adjust total_length at the end.
	Set lengths of subintervals properly.
	(balance_intervals): Balance left as well as right.
d2568 8
a2575 1
Tue Jun  1 22:07:46 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2577 1
a2577 1
	* keymap.c (syms_of_keymap): Add missing 2nd arg to Fcons.
d2579 2
a2580 1
Tue Jun  1 00:27:03 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2582 1
a2582 1
	* x/esix5-4.h: Redone by Joe Kelsey.
d2584 4
a2587 1
	* xterm.c (x_new_font): Take out last change.
d2589 1
a2589 1
	* s/386bsd.h (BSD4_2): Defined.
d2591 2
a2592 1
	* fileio.c (Fwrite_region): Don't fsync if autosaving.
d2594 1
a2594 3
	* s/irix4-0.h (GETPGRP_NO_ARG): Defined.
	* emacs.c (shut_down_emacs): Handle GETPGRP_NO_ARG.
	* sysdep.c (sys_suspend): Handle GETPGRP_NO_ARG.
d2596 1
a2596 1
	* fileio.c [HPUX9]: Don't include errnet.h.
d2598 1
a2598 2
	* hftctl.c (hft_alrm): Don't return a value.
	Always declare to return void.
d2600 4
a2603 2
	* floatfns.c [!FLOAT_CHECK_ERRNO] (IN_FLOAT): New definition.
	(Flog): Fix argument of `log'.
d2605 1
a2605 1
	* m/pmax.h (KERNEL_FILE): New override definition.
d2607 7
a2613 2
	* keyboard.c (read_key_sequence) [!USE_TEXT_PROPERTIES]: Fix typo.
	(menu_bar_items) [!USE_TEXT_PROPERTIES]: Likewise.
d2615 2
a2616 1
	* s/isc3-0.h: #undef C_SWITCH_SYSTEM.
d2618 1
a2618 1
	* xselect.c (Fx_store_cut_buffer_internal): Handle empty string right.
d2620 4
a2623 2
	* xfaces.c (init_frame_faces): Don't look at selected_frame
	unless it is an X frame.
d2625 1
a2625 2
	* xfns.c (x_window): Use Vxrdb_name for res_name field.
	Delete the shortname stuff.
d2627 2
a2628 1
	* m/pmax.h (LIBS_MACHINE): Defined.
d2630 2
a2631 1
	* Version 19.11 released.
d2633 2
a2634 1
Tue Jun  1 00:07:11 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2636 1
a2636 1
	* xfns.c (x_set_menu_bar_lines): Use FRAME_NEW_HEIGHT and ..._WIDTH.
d2638 1
a2638 1
	* m/sparc.h [__GNUC__ >= 2]: Don't include alloca.h.
d2640 2
a2641 2
	* xterm.c (x_new_font): If XListFontsWithInfo finds nothing,
	try to load the font anyway.
d2643 1
a2643 4
	* ymakefile (emacs): Don't run inc-vers if ../lisp is read-only.
	(C_SWITCH_SITE_1): New make variable.
	(really-oldXMenu): Pass C_SWITCH_X_SITE_1 as C_SWITCH_X_SITE.
	Use C_SWITCH_SITE_1 to pass C_SWITCH_SITE.
d2645 1
a2645 1
	* s/386bsd.h: New file.
d2647 1
a2647 1
Mon May 31 14:04:22 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2649 2
a2650 1
	* fns.c (internal_equal): Don't let ints be equal to floats.
d2652 5
a2656 2
	* print.c (float_to_string): Skip `-' like digits when ensuring
	result looks like a float.
d2658 13
a2670 1
	* data.c (Frem): Fix result sign properly.
d2672 1
a2672 1
	* xrdb.c [__bsdi__]: ALternate decls of getpwuid and getpwnam.
d2674 1
a2674 1
	* emacs.c (main) [BSD]: Delete the setpgrp (both times).
d2676 2
a2677 1
	* m/ibmrs6000.h (NLIST_STRUCT): Defined.
d2679 8
a2686 2
	* ymakefile (GETLOADAVG_OBJ): New macro.
	(obj): Use that.
d2688 3
a2690 1
	* s/bsd386.h: New file.
d2692 5
a2696 1
	* term.c (term_get_fkeys): If not initialized, init Vfunction_key_map.
d2698 2
a2699 3
	* m/ibmrs6000.h: Delete ! __GNUC__ conditional.
	(LD_SWITCH_MACHINE): Defined.
	(ORDINARY_LINK): Defined unconditionally.
d2701 1
a2701 3
	* dispnew.c (update_frame): Make preempt_count positive.
	Defend against negative baud_rate.
	* scroll.c (calculate_scrolling): Defend against negative baud_rate.
d2703 4
a2706 1
	* mem-limits.h [__bsdi__]: Define BSD4_2.
d2708 20
a2727 2
	* xfns.c (x_window): In XSetClassHint, use a shortened version
	of the frame name.
d2729 1
a2729 1
	* s/hpux8.h (C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
d2731 1
a2731 1
	* xterm.c (XTread_socket, case KeyPress) [HPUX]: Test IsModifiedKey.
d2733 1
a2733 2
	* keyboard.c (kbd_buffer_get_event):
	Shorten the first MULTI_FRAME conditional.
d2735 1
a2735 1
	* s/usg5-4-2.h (HAVE_VFORK): Deleted.
d2737 2
a2738 1
Mon May 31 10:07:48 1993  James Clark  (jjc@@jclark.com)
d2740 3
a2742 1
	* xselect.c (x_reply_selection_request): Call XFlushQueue.
d2744 1
a2744 1
	* window.c (Fset_window_buffer): Set window's force_start to Qnil.
d2746 1
a2746 1
Mon May 31 01:33:06 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2748 2
a2749 5
	* syntax.c (Fforward_comment): Set point to where scan stops,
	thus moving acros whitespace.  When moving fwd, treat Sendcomment
	as whitespace; likewise for Scomment when moving back.
	(scan_sexps_forward): New arg COMMENTSTOP.
	(Fparse_partial_sexp): Likewise.
d2751 1
a2751 1
	* xfns.c (Fx_create_frame): Use bitmapIcon, not iconType.
d2753 1
a2753 1
Sun May 30 20:04:19 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2755 4
a2758 2
	* data.c (float_arith_driver): Detect division by zero in advance.
	(arith_driver, Frem): Likewise.
d2760 3
a2762 1
	* xfns.c (Fx_list_fonts): Handle 0 for FRAME_FACES (f) [face_id]->font.
d2764 1
a2764 1
	* print.c (Fwith_output_to_temp_buffer): Doc fix.
d2766 4
a2769 1
	* sysdep.c (wait_for_termination): Delete LINUX conditionals.
d2771 2
a2772 5
	* s/linux.h (HAVE_TCATTR): Deleted.
	(BSD): Don't define.
	(read, write, open, close): Defined.
	(INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Defined.
	(C_SWITCH_SYSTEM): Defined.
d2774 2
a2775 2
	* xterm.c: Include systty.h; don't mess with FIONREAD.
	Don't include termio.h dorectly.
d2777 2
a2778 1
	* intervals.c (interval_deletion_adjustment): Delete unreachable abort.
d2780 3
a2782 1
	* fns.c (Fyes_or_no_p): Delete unreachable UNGCPRO.
d2784 1
a2784 1
	* keyboard.c (lispy_function_keys): Add `remove' key.
d2786 1
a2786 1
Sun May 30 19:24:09 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)
d2788 1
a2788 1
	* buffer.c (Fgenerate_new_buffer_name): Doc fix.
d2790 2
a2791 1
Sun May 30 19:10:09 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2793 4
a2796 1
	* Makefile.in (clean): Delete libXMenu11.a.
d2798 1
a2798 1
Sun May 30 17:48:11 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d2800 2
a2801 3
	* m/mips.h (KERNEL_FILE): Set this to "/unix".
	* m/mips4.h (MIPS2): Go ahead and define this.
	(C_DEBUG_SWITCH): Add -DMips and -g3, and up Olimit to 2000.
d2803 1
a2803 1
Sun May 30 16:51:56 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d2805 1
a2805 1
	* emacs.c (main) [AIX _I386]: Don't handle SIGIOINT.
d2807 1
a2807 1
	* lisp.h (UCHAR): Don't define if _UCHAR_T.
d2809 13658
a16466 7
	* m/ibmps2-aix.h (HAVE_GETTIMEOFDAY): Deleted.
	(HAVE_SETSID, HAVE_TERMIOS): Defined.
	(HAVE_TERMIO): Add #undef.
	(SIGNALS_VIA_CHARACTERS): Defined.
	(C_DEBUG_SWITCH): Make definition empty.
	(LIBS_DEBUG): Defined.
	(BROKEN_TIOCGWINSZ, LIB_X11_LIB): Add #undef.
d16468 5
a16472 4
	* sysdep.c (child_setup_tty) [AIX SIGNALS_VIA_CHARACTERS]: Install
	something usefull in the VQUIT and VINTR.
	(emacs_set_tty): Try only 10 times to call tcsetattr.
	Don't use memcmp to test what it did.
d16474 1
a16474 1
	* systty.h [HAVE_TERMIOS _AIX _I386]: Include termios before termio.
d16476 6
a16481 2
	* dispnew.c (buffer_posn_from_coords): Since COL is already
	window-relative, don't subtract window_left.
d16483 1
a16483 1
Sun May 30 15:49:17 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d16485 4
a16488 4
	* xfaces.c (unload_color): Don't #include <X11/Intrinsic.h>,
	<X11/StringDefs.h>, or <X11/Xmu/Drawing.h>.  Just write out
	"unsigned long" instead of using the "Pixel" typedef; it's in the
	protocol, so it's not likely to change.
d16490 2
a16491 2
	* hftctl.c (hft_alrm): Declare and define this to return void, not
	int; the AIX #include files have prototypes for it.
d16493 1
a16493 2
	* s/aix3-2.h (LIBS_SYSTEM): Remove -lIM and -liconv from here...
	* m/ibmrs6000.h (LIBS_MACHINE): They're already here.  Doc fix.
d16495 1
a16495 1
	* Makefile.in (SUBMAKEFLAGS): Remember to propagate MAKE.
d16497 3
a16499 1
Sun May 30 14:18:26 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d16501 1
a16501 1
	* s/sunos4-1-3.h: Delete the #undef of SYSTEM_MALLOC.
d16503 5
a16507 1
	* systty.h [IRIX4]: Include unistd.h.
d16509 1
a16509 2
	* s/irix4-0.h (IRIX4): Defined.
	(IRIS_UTIME): #undef this.
d16511 2
a16512 2
	* xfns.c (Fx_open_connection) [NO_XRM_SET_DATABASE]:
	Don't call XrmsSetDatabase.
d16514 1
a16514 1
	* xfaces.c: Fix HPUX conditional syntax.
d16516 1
a16516 1
	* s/hpux8.h (random, srandom): Defined.
d16518 1
a16518 3
	* s/usg5-4-2.h: Don't specify s/ dir in #include.
	* s/usg5-4-2.h (PTY_TTY_NAME_SPRINTF): Defined.
	(HAVE_SYSV_SIGPAUSE): #undef this.
d16520 2
a16521 1
	* sysdep.c (wait_for_termination): Add POSIX_SIGNALS alternative.
d16523 1
a16523 1
Sun May 30 13:01:54 1993  Jim Blandy  (jimb@@wookumz.gnu.ai.mit.edu)
d16525 2
a16526 3
	* xfaces.c (init_frame_faces): We have to make sure that face ID's
	are valid on all frames or no frames; make sure F has allocated
	faces for any face valid on the selected frame.
d16528 2
a16529 2
	* s/hpux9.h: New file; don't use the GNU allocator.  Hope we fix
	this soon.
d16531 1
@


1.1.1.8
log
@import emacs-19.19
@
text
@a0 195
Sat Aug 14 00:23:11 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Version 19.19 released.

	* Makefile.in (mostlyclean): Don't delete emacs here.
	(clean): Delete emacs and emacs-* here.
	(distclean): Don't delete emacs-* here.

	* xselect.c (struct property_change): New field `arrived'.
	(expect_property_change): Return struct property_change *.
	Clear `arrived'.
	(unexpect_property_change): Take one as argument.
	(wait_for_property_change): Take one as argument.
	If `arrived' is set, don't wait.
	(wait_for_property_change_unwind): Corresponding changes.
	(receive_incremental_selection): Corresponding changes.
	(x_reply_selection_request): Corresponding changes.
	(property_deleted_p): Function deleted.

	* xselect.c (x_handle_selection_clear): Redisplay.

	* search.c (compile_pattern): Cast result of re_compile_pattern.

	* emacs.c (init_cmdargs): Check openp result for 1, not != 0.

	* xterm.c (x_wm_set_size_hint): New args spec_x and spec_y.
	Set the window gravity.  All callers changed.
	* xfns.c (Fx_create_frame): Pass the new args to x_wm_set_size_hint.

	* xmenu.c (Fx_popup_menu): Adjust coords so they are relative
	to the inner window.

	* syswait.h: New file.
	* sysdep.c, process.c: Include it.
	* ymakefile (sysdep.o, process.o): Depend on syswait.h.

	* process.c (wait_reading_process_input): Exit without waiting
	if wait_for_cell is already non-nil.

	* sysdep.c (mkdir, rmdir): Use wait_for_termination to wait.
	Redirect descriptors 0...2 to /dev/null.

	* emacs.c (__CTOR_LIST__): Don't declare it on Linux.

	* filelock.c (getpwuid): Declare it as in xrdb.c.
	(init_filelock): Don't use return value of strcpy.

	* fns.c (internal_equal): Typo in previous change.

	* xfns.c (x_set_frame_parameters): Don't die if just one of
	height and width was set.  Likewise left and top.

	* textprop.c (property_change_between_p): Test NULL_INTERVAL_P
	in loop, before looking at next->position.

	* intervals.c (adjust_intervals_for_insertion): If inserting in middle
	of interval that is sticky in neither direction, don't copy props.
	(merge_properties_sticky): Handle non-list as front-sticky or
	rear-nonsticky property.

Fri Aug 13 23:49:07 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fns.c (internal_equal): All markers in no buffer are equal.

Fri Aug 13 19:35:52 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* config.h.in: Added #undef HAVE_XSCREENNUMBEROFSCREEN.

Fri Aug 13 17:38:53 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c (XScreenNumberOfScreen): New function.

	* m/tek4300.h (C_DEBUG_SWITCH, SYSTEM_MALLOC): Defined.

	* m/iris4d.h (START_FILES, LIB_STANDARD): Don't define if USG5_4.
	(DEFAULT_ENTRY_ADDRESS): Likewise.
	(UNEXEC): Use unexelfsgi.o if USG5_4.

	* s/irix5-0.h (C_SWITCH_MACHINE): Deleted.

Fri Aug 13 07:42:39 1993  Frederic Pierresteguy  (F.Pierresteguy@@frcl.bull.fr)

	* m/dpx2.h: Delete conditionals for HAVE_X_WINDOWS and HAVE_SOCKETS.

Fri Aug 13 00:33:48 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m/iris4d.h (C_ALLOCA): Don't define it.

	* keyboard.c (kbd_buffer_store_event): Use bcopy to copy
	a selection request event.

	* unexnext.c (get_data_region): Add cast to avoid warning.

Thu Aug 12 01:38:36 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* ymakefile (prefix-args, filemode.o, lastfile.o): Dep on $(config_h).

	* floatfns.c (Flogb): Error at run time if not supported.

	* ymakefile (emacs.o): Depend on process.h and syssignal.h.
	* emacs.c: Include process.h.
	(init_cmdargs): Use EXEC_SUFFIXES.

	* s/irix5-0.h: Include alloca.h if appropriate.
	Fix the #include file name.
	(ULIMIT_BREAK_VALUE, GETPGRP_NO_ARG, NO_MATHERR): New macros.
	(LIB_STANDARD): #undef it.

	* frame.c (Fdelete_frame): Add parens for clarity.

	* keyboard.c (read_char): Never start echoing if -batch.

	* minibuf.c (Qread_file_name_internal): New var.
	(syms_of_minibuf): Set it up and protect it.
	(Fminibuffer_complete_word): When completing a file name,
	expand envvar references.

	* xterm.c (XTread_socket): Make copy_buffer unsigned.

	* s/usg5-4-2.h (HAVE_GETHOSTNAME): #if 0'd.

Wed Aug 11 00:25:31 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/hpux8.h (LD_SWITCH_SYSTEM): Delete the -L options.

	* termhooks.h (enum event_kind): Delete final comma.
	(meta_modifier): Delete final comma.
	* window.c (enum window_loop): Delete final comma.
	* xfns.c (enum resource_types): Delete final comma.

	* m/ibmrs6000.h (BIG_ENDIAN): Don't actually define it.

	* window.c (Frecenter): Preserve point in the buffer we change it in.

	* cmds.c (Fnewline): If we don't do the first SET_PT,
	clear flag, so we don't do the second SET_PT.

	* keyboard.c (make_lispy_event): Clear all but 0377 in event->code.

	* xselect.c (receive_incremental_selection): Use bcopy, not memcpy.

	* m/tek4300.h (BIG_ENDIAN): Provide a value that matches the system.

	* config.h.in: Add #undef HAVE_FTIME.

	* ymakefile (ALL_CFLAGS): Use C_SWITCH_X_SITE before
	C_SWITCH_X_SYSTEM and C_SWITCH_X_MACHINE.

	* s/hpux8.h (C_SWITCH_X_SYSTEM): Define instead of C_SWITCH_SYSTEM.

Wed Aug 11 02:21:15 1993  Shane Hartman  (shane@@nugget.spr.com)

	* buffer.c (verify_overlay_modification): Initialize endpos.

	* keymap.c (describe_buffer_bindings): Declare shadow just once. 

Tue Aug 10 01:46:40 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_calc_absolute_position): For negative coords, take
	account of added width from window manager's outer window.

	* term.c (term_get_fkeys_define_1, term_get_fkeys_define):
	New functions.
	(term_get_fkeys): Use them.

	* m/tekxd88.h: Renamed from tekXD88.h.
	(LIB_X11_LIB, LIBX11_SYSTEM): Make #undefs unconditional.

	* systty.h: Handle NO_TERMIO in principal HAVE_TERMIOS case.

	* xrdb.c (x_get_customization_string): Don't use value of strcpy.

	* floatfns.c (Fexpt): Use IN_FLOAT2.

Tue Aug 10 15:12:13 1993  Frederic Pierresteguy  (F.Pierresteguy@@frcl.bull.fr)

	* m/dpx2.h (HAVE_TCATTR): Macro #defined.
	(HAVE_CLOSEDIR): #undef to allow use of closedir in sysdep.c.
	(SIGTSTP): Commented #undef to allow use of ^Z in shell-mode.
	(SIGNALS_VIA_CHARACTERS): #defined.

Mon Aug  9 21:40:23 1993  Paul Eggert  (eggert@@twinsun.com)

	* data.c (Fmod): New function; result is always same sign as divisor.
	(syms_of_data): Add Smod.
	* emacs.c (main): Invoke syms_of_floatfns even if LISP_FLOAT_TYPE
	isn't defined, since `(floor A B)' is now needed for integers.
	* floatfns.c (syms_of_floatfns): Likewise.
	(Ffloor): Optional second operand specifies divisor, as in Common Lisp.

Mon Aug  9 21:32:01 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* unexelf.c (unexec): Add casts for some comparisons.
	(PATCH_INDEX): Likewise.

@


1.1.1.9
log
@import emacs-19.20
@
text
@a0 395
Wed Nov 10 21:32:40 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Version 19.20 released.

	* callproc.c (Fcall_process): Clear synch_process_death and
	synch_process_retcode before the vfork.

	* xterm.c (XTmouse_position): Undo roland's change.
	Fix bug in bfox change.

Wed Nov 10 17:58:16 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* unexec.c [! HPUX]: Don't declare sbrk at all, so as not to
	conflict with system headers.

	* xterm.c (XTmouse_position): First arg is FRAME_PTR, not
	FRAME_PTR *.

Wed Nov 10 15:12:22 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/convexos.h: New file.

Wed Nov 10 15:12:22 1993  Brian Fox  (bfox@@mole.gnu.ai.mit.edu)

	* Makefile.in.in (intervals.o): Depend on puresize.h.

	* intervals.c (create_root_interval): Check to see if PARENT is in
	pure memory.  If so, we cannot write it.
	(includes): Add "puresize.h" so we get the definition of CHECK_IMPURE.

	* xterm.c (XTmouse_position): If the passed in frame is not an
	Xwindow frame, don't do anything.

	* frame.c (Fraise_frame): Do like the documentation says, and make
	the frame visible first.

	* systty.h (EMACS_GETPGRP): New macro hides argument passing to
	system getpgrp.  Reinstate some semblance of control over this
	macros behaviour by paying attention to GETPGRP_NO_ARG.
	* sysdep.c (sys_suspend): Use EMACS_GETPGRP macro.
	* emacs.c (main): Use EMACS_GETPGRP macro.
	(shut_down_emacs): Use EMACS_GETPGRP macro.

	* alloc.c (make_pure_string): If we USE_TEXT_PROPERTIES, set the
	interval of the pure string to NULL_INTERVAL.

	* syswait.h: Treat convex like hpux.

	* search.c (Fskip_chars_backward, Fskip_chars_forward): Doc fix.

Wed Nov 10 01:09:22 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* syntax.c (Fforward_comment): On backward scan, exit inner loop
	after we reach beginning of a comment.
	Check the SYNTAX_COMMENT_STYLE of a one-character comment ender.
	(scan_lists): Check the SYNTAX_COMMENT_STYLE
	of a one-character comment ender.

	* sysdep.c (read_input_waiting): Don't mess with meta bit
	if read_socket_hook is nonzero.

	* sysdep.c (LPASS8, LNOFLSH): Move definitions earlier.
	(child_setup_tty): Turn on LPASS8.

	* search.c (skip_chars): Finish reenabling checks for buffer bounds.
	Use XINT, not XFASTINT, when testing.

	* fileio.c (Fwrite_region): Fix minor bugs in POS arg to awrite.

	* xterm.c (syms_of_xterm): Initialize last_mouse_scroll_bar.

Tue Nov  9 16:33:49 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c, editfns.c: Doc fix.

Sat Nov  6 00:13:11 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* sysdep.c (child_setup_tty): Make the pty handle 8-bit characters.

Thu Nov  4 17:09:11 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/linux.h [TERM]: Alternate definitions of LIBS_MACHINE
	and C_SWITCH_MACHINE.

	* process.c [TERM]: Include client.h.
	(Fopen_network_stream): Handle TERM.

Wed Nov  3 15:31:21 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_new_font): xmalloc arg was 1 too small.

Mon Nov  1 23:59:26 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/sunos4-1-3.h (HAVE_TERMIOS): Defined.

Mon Oct 25 00:41:31 1993  Brian Fox  (bfox@@albert.gnu.ai.mit.edu)

	* process.c (Fopen_network_stream): Cast arg to inet_addr to (char *).

	* search.c (Freplace_match): Fix argument names to match doc string.
	(Fmatch_beginning): Fix doc string to match argument name.

	* floatfns.c: Declare `logb' only if HAVE_LOGB is defined.

	* fileio.c (Fcopy_file): Don't allow the copying of anything other
	than regular files or symlink files.

Sun Oct 24 17:25:52 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (read_key_sequence): Arg prompt is now a Lisp object.
	Pass it to functions found in function-key-map and key-translation-map.
	(Fread_key_sequence, command_loop_1): Calls changed.

Fri Oct 22 07:22:12 1993  Brian Fox  (bfox@@albert.gnu.ai.mit.edu)

	* config.h.in: Add #undef HAVE_UNISTD_H so configure can edit it
	correctly.

Thu Oct 21 21:15:37 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (status_notify): Don't read from process if filter is t.
	(Fset_process_filter): Set or clear bit in input_wait_mask when nec.

Tue Oct 19 22:46:54 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* data.c [hpux 7] (_MAXLDBL, _NMAXLDBL): New macro definitions.

Tue Oct 12 18:14:58 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (read_key_sequence): Allow function in key-translation-map
	just as in function-key-map.

Mon Oct 11 00:13:12 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c (Fdelete_overlay, Foverlay_put): Use marker_position,
	not OVERLAY_POSITION, to get args for redisplay_region.

	* fileio.c (Fcar_less_than_car): Fix typo in previous change.

Sat Oct  9 16:43:23 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* floatfns.c [hpux 7] (_MAXLDBL, _NMAXLDBL): New macro definitions.

	* fileio.c (Vafter_insert_file_functions): New variable.
	(Vwrite_region_annotate_functions): New variable.
	(Qcar_less_than_car): New variable.
	(Fcar_less_than_car): New function.
	(syms_of_fileio): Make Lisp variables and function available.
	staticpro Qcar_less_than_car.
	(a_write, build_annotations): New functions.
	(Fwrite_region): Call them.
	(Finsert_file_contents): Run the Vafter_insert_file_functions.

Fri Oct  8 11:05:23 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/sco4.h (SYSTEM_TYPE): Put into #if 0.
	(BSTRING): Define only if HAVE_BCOPY.

Fri Oct  8 03:36:20 1993  Brian Fox  (bfox@@albert.gnu.ai.mit.edu)

	* search.c (skip_chars): Re-instate the check against the end of
	the buffer, ignoring cryptic comment.

Thu Oct  7 21:29:38 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (read_key_sequence): Allow function-key-map to have a
	function as the binding; call the function and use its value.

Mon Oct  4 03:48:51 1993  Brian J. Fox  (bfox@@ai.mit.edu)

	* minibuf.c (Fminibuffer_complete_word): GCPRO1 `completion'
	during calls to Ftry_completion.

	* keyboard.c (read_key_sequence): Don't declare first_event; it is
	no longer used.  Change "#if 0" for first_event reading to
	 "#if defined (GOBBLE_FIRST_EVENT)".

Sun Oct  3 12:21:23 1993  Brian J. Fox  (bfox@@ai.mit.edu)

	* lisp.h: Doc fix.

	* minibuf.c (read_minibuf): Rewrite change of Sep 14.  Save the
	return value on the history list provided in the form that the
	value is returned, iff the value is not equal to the front of the
	history list.

Sun Oct  3 19:03:19 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* Makefile.in: File removed.  It is now generated by ../configure.

	* Makefile.in.in (LIBES): Add $(GNULIB_VAR) again at end.  This
	change to ymakefile was mysteriously lost.  Were any others lost
	too?

Sat Oct  2 15:07:50 1993  Brian J. Fox  (bfox@@ai.mit.edu)

	* minibuf.c (Fread_no_blanks_input): Change DEFUN to allow 2nd arg
	to be optional.  The code was already written correctly.

Thu Sep 30 01:22:06 1993  Brian J. Fox  (bfox@@ai.mit.edu)

	* systty.h: If POSIX and HAVE_UNISTD_H are defined, and unistd.h
	hasn't already been included, include it.

	* s/linux.h (POSIX_SIGNALS): Comment fix.

Thu Sep 30 19:37:15 1993  Brian Fox  (bfox@@albert.gnu.ai.mit.edu)

	* Makefile.in.in (ALL_CFLAGS): Make sure that `.' is searched
	before `${srcdir}' when looking for include files.

Tue Sep 28 05:56:12 1993  Jim Blandy  (jimb@@geech.gnu.ai.mit.edu)

	* termhooks.h (enum event_kind): Doc fix.

Mon Sep 27 08:59:44 1993  Brian Fox  (bfox@@ai.mit.edu)

	* ymakefile: Merged into Makefile.in.in.

	* Makefile.in.in: New file.  Now ../configure creates Makefile.in
	from Makefile.in.in, and creates Makefile from Makefile.in.
	ymakefile no longer exists, and xmakefile is never created.

Fri Sep 24 18:22:32 1993  Brian Fox  (bfox@@ai.mit.edu)

	* textprop.c (validate_plist): Add declaration for `list'
	argument.

	* frame.c (Fhandle_switch_frame): Doc fix.

Sat Sep 25 18:46:34 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* puresize.h: [MULTI_FRAME]: Increase PURESIZE to 220000.

Thu Sep 16 16:09:05 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/sunos4-1.h (LIBS_SYSTEM): Use -lresolv if it seems appropriate.

	* config.h.in: Add #undef HAVE_RES_INIT.

Tue Sep 14 15:06:08 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m/mips4.h (LIB_STANDARD): Add a second -lc after crtn.o.

Mon Sep 13 00:07:33 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* pwd.h: File deleted.

	* intervals.c (graft_intervals_into_buffer): New arg INHERIT.

	* editfns.c (Finsert_buffer_substring): Pass extra arg to
	graft_intervals_into_buffer.
	* insdel.c (insert_from_string): Likewise.  New arg INHERIT.
	(insert_from_string_before_markers): New arg INHERIT.

	* search.c (Freplace_match): Call Finsert_and_inherit.

	* editfns.c (Finsert_and_inherit): New function.
	(Finsert_and_inherit_before_markers): New function.
	(Finsert, Finsert_before_markers): Pass new arg to insert_from_string*.
	* minibuf.c (Fminibuffer_complete_word):
	Pass new arg to insert_from_string*.
	* doc.c (Fsubstitute_command_keys): Pass new arg.
	* abbrev.c (Funexpand_abbrev, Fexpand_abbrev): Pass new arg.

	* s/aix3-2.h (AIX3_2): Defined.
	* m/ibmrs6000.h (LIBS_MACHINE): Include -lrts, -liconv only if AIX3_2.

	* xterm.h (HAVE_X11R4): If AIX, do not define HAVE_X11R4.

Sun Sep 12 08:36:02 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* sysdep.c (bzero, bcopy, bcmp): Don't define as functions
	if they are defined as macros.

Sat Sep 11 21:28:18 1993  Roland McGrath  (roland@@baalperazim.gnu.ai.mit.edu)

	* lread.c, callproc.c, filelock.c: Include <paths.h>, not "paths.h".

Sat Sep 11 17:34:38 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/linux.h (LIBS_MACHINE): Make definition empty.

Fri Sep 10 01:03:00 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* Support configuring in a different directory when ${srcdir} has
	already been configured.
	* frame.c, xfns.c, xdisp.c, casetab.c, cm.c, casefiddle.c, xterm.c,
	xrdb.c, eval.c, doc.c, lread.c, callint.c, cmds.c, term.c, fns.c,
	data.c, alloc.c, unexconvex.c, fileio.c, indent.c, bytecode.c,
	sunfns.c, xmenu.c, buffer.c, textprop.c, marker.c, print.c,
	emacs.c, dispnew.c, syntax.c, undo.c, mocklisp.c, scroll.c,
	search.c, ralloc.c, unexaix.c, unexec.c, unexenix.c, unexmips.c,
	unexsunos4.c, vmsfns.c, vmsmap.c, dired.c, xselect.c, floatfns.c,
	filelock.c, sysdep.c, abbrev.c, minibuf.c, xfaces.c, callproc.c,
	insdel.c, intervals.c, process.c, vm-limit.c, window.c,
	vmsgmalloc.c, keymap.c, editfns.c, keyboard.c, macros.c, vmstime.c:
	Include <config.h> instead of "config.h".
	* ymakefile (ALL_CFLAGS): Put -I. before -I${srcdir}.
	* Makefile.in (xmakefile): Use -I. in cpp run.

	* Makefile.in (clean): Use rm -f.

	* s/netbsd.h: New file.
	* ymakefile (LIBES): Add $(GNULIB_VAR) again at end.

Wed Sep  8 12:16:25 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* sysdep.c (stuff_char): Use input_fd.
	(narrow_foreground_group, widen_foreground_group, init_sys_modes)
	(init_baud_rate, init_sigio, request_sigio, unrequest_sigio): Likewise.
	(change_input_fd): New function.

	* process.c (keyboard_descriptor): New variable.
	(wait_reading_process_input, init_keyboard): Use it.
	Also call change_input_fd.
	(change_keyboard_wait_descriptor): New function.
	* xterm.c (x_term_init): Call change_keyboard_wait_descriptor,
	instead of dup2.  Use the existing X desc number in fcntl calls.
	* xterm.c (XTread_socket): Don't forget to clear out `mask'.

Wed Sep  8 17:25:40 MET 1993  Francesco Potorti`  (pot@@cnuce.cnr.it)

	* filelock.c (fill_in_lock_short_file_name): Fix the crc
	generation algorithm.

Thu Aug 19 16:19:30 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* textprop.c (F{next,previous}_single_property_change): Doc fix.

Wed Sep 15 13:09:20 1993  Brian Fox  (bfox@@ai.mit.edu)

	* data.c: Add declaration for atof if not predefined.

	* xfns.c (XScreenNumberOfScreen): Move assignments out of
	declarations for (dpy, dpyscr).

	* sysdep.c (sys_write): Keep trying to write out the data until
	all of the data is written, or until we receive an error which is
	not an interrupted write.

Tue Sep 14 01:53:37 1993  Brian Fox  (bfox@@ai.mit.edu)

	* keyboard.c (Qextended_command_history): New variable prevents
	sharing of M-x command history with other commands that read
	values in the minibuffer.

	* doprnt.c (doprnt): Use a fixed buffer to store the format
	specification, but only if we are sure it will fit.  Otherwise,
	use alloca () to get enough space.  Don't allow negative size
	specifications to core dump; instead, treat them as positive
	("%-20d" == "%20d").

	* minibuf.c (read_minibuf): Don't add history item if it is
	string-equal to the most recent history item.

Fri Jul  9 17:19:35 1993  Karl Berry  (karl@@cs.umb.edu)

	* dired.c (file_name_completion): Install case-preserving 
	changes from Emacs 18 for completion_ignore_case.
	(completion_ignore_case): Declare.

Wed Sep  1 09:47:36 1993  Brian Fox  (bfox@@ai.mit.edu)

	* window.c (Fdelete_windows_on): Fix DEFUN to allow optional
	second argument to appear.

Mon Aug 30 08:03:49 1993  Brian Fox  (bfox@@ai.mit.edu)

	* ymakefile (alloc.o): Remove explicit compilation rule, since it
	is identical to the default rule, and `$<' doesn't work in
	explicit rules in all "make"s.

Fri Aug 27 00:43:06 1993  Brian Fox  (bfox@@ai.mit.edu)

	* gmalloc.c (safe_bcopy): Compile if MEMMOVE_MISSING is defined,
	but only if we aren't compiling for emacs.

	* sysdep.c (read_input_waiting): If the user specifies
	`meta-flag', then notice characters with high-bit set.

	* Added fixes from Karl Berry for ISC-2.2.
	    * s/isc2-2.h (MEMMOVE_MISSING): Define.
	    (SIGNALS_VIA_CHARACTERS): Define.
	    (LIB_STANDARD): Do not include -lcposix.
	    (C_SWITCH_SYSTEM) [__GNUC__]: Do not use -traditional.

Tue Aug 17 12:20:43 1993  Brian Fox  (bfox@@ai.mit.edu)

	* alloca.c: Invert sense of conditional for entire file (GNUC >=
	2).  Added `#else'.

	* xterm.c (x_wn_set_size_hint): Make recent window gravity
	addition depend on "PWinGravity" being `#defined'.

@


1.1.1.10
log
@import emacs-19.21
@
text
@a0 79
Tue Nov 16 00:34:22 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Version 19.21 released.

	* doprnt.c (doprnt): Cast the value alloca returns.

	* gmalloc.c [HPUX8]: Include unistd.h earlier on.

	* s/sunos4shr.h (GNU_MALLOC, REL_ALLOC): Don't define if
	already defined.

	* s/hpux8.h (LD_SWITCH_SYSTEM) [hp9000s700]: Add -L/lib/pa1.1.

	* Makefile.in.in (extraclean): Prevent wildcard from starting comment.
	(distclean): Do delete Makefile and Makefile.in.

Sun Nov 14 18:00:30 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* systty.h [BSD_TERMIOS]: Under NL0, NL1..., ECHO, NOFLSH, TOSTOP,
	FLUSHO and PENDIN.
	* s/sunos4-1-3.h (BSD_TERMIOS): Defined.

	* regex.c (re_set_registers): Use `regoff_t *' when casting 0.

	* Makefile.in.in: Delete spurious CFLAGS=-g.

	* s/sco4.h (HAVE_GETTIMEOFDAY): Don't define if already defined.

	* keyboard.c (read_avail_input): Make cbuf 1 char shorter.

Sun Nov 14 00:14:37 1993  Paul Reilly  (pmr@@legacy.pajato.com)

	* s/dgux.h (INTERRUPT_INPUT): Undefined.
	(BROKEN_FIONREAD): Defined to work around a problem in DGUX
	whereby emacs will stop on a background write when invoked from a
	job control shell for the first time in a session.
	(FIRST_PTY_LETTER): Undefined.
	(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Defined
	to use all the available PTYs in a COFF environment.
	(LINKER): Removed "-nostdlib" from to be compatible with a prior
	mod removing "/lib/crt0.o" from the LIBS_SYSTEM define.
	(LIBS_SYSTEM): Delete /lib/crt0.o.

Sun Nov 14 01:29:44 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (XTread_socket): Increase length of copy_buffer to 81.

	* lread.c (read1): If token has a \, don't treat it as a number.

Sat Nov 13 01:18:56 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (IN_ADDR, NUMERIC_ADDR_ERROR): New macros (two versions).
	(Fopen_network_stream): Use them.

	* doprnt.c: Include config.h.

	* keyboard.c (read_avail_input) [no FIONREAD]: On DGUX, as on USG,
	read input with O_NDELAY.

	* s/dgux.h (SYSTEM_MALLOC): Turned off.
	(NO_TERMIO): Defined.
	(BROKEN_FASYNC): Turned off.

	* buffer.c (Foverlay_put): Don't call redisplay_region
	if overlay has no buffer.

Fri Nov 12 15:38:15 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (get_process): Add `static' to definition.

	* xterm.c (XTmouse_position): Delete test inserted Nov 10.

	* fileio.c (syms_of_fileio): Fix missing \n\'s.

	* keyboard.c (Fread_key_sequence): Split the doc string with "".

	* textprop.c (Fprevious_single_property_change): Fix missing \n\.
	(Fnext_single_property_change): Likewise.

@


1.1.1.11
log
@import emacs-19.22
@
text
@a0 249
Sat Nov 27 04:41:22 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Version 19.22 released.

Fri Nov 26 05:38:17 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (deactivate_process) [SVR4_PTYS]:
	If subtty is not nil, close it.

	* keyboard.c (kbd_buffer_get_event): For delete-window-event,
	do count iconified frames.

	* xfns.c (x_window): Call XSetWMProtocols.

	* keyboard.c (kbd_buffer_get_event): If user destroys the last frame,
	exit before calling Fdelete_frame.

	* s/irix5-0.h (SYSTEM_TYPE): Make it "irix".

	* sysdep.c (closedir): Test BROKEN_CLOSEDIR, not INTERRUPTIBLE_CLOSE.

Thu Nov 25 00:39:17 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (read_avail_input): Undo Nov 18 change.

	* lread.c (readevalloop): Get error if buffer being eval'd is killed.

	* s/irix3-3.h (SETPGRP_RELEASES_CTTY): Defined.
	* s/irix5-0.h (IRIX5, SETPGRP_RELEASES_CTTY): Defined.
	* process.c (create_process): Do setpgrp for USG regardless of IRIX.
	(process_send_signal) [IRIX5]: For SIGTSTP, use VSUSP, not VSWTCH.
	* callproc.c (child_setup): Test SETPGRP_RELEASES_CTTY, not IRIX.
	(init_callproc): Fix previous change.

	* s/sunos4-1-3.h [!SYSTEM_MALLOC] (MEMMOVE_MISSING): Defined.

	* keyboard.c (quit_throw_to_read_char):
	Look at internal_last_event_frame only if MULTI_FRAME.

	* m/ibmrt.h (HAVE_FTIME): Deleted (autoconf does it).

	* m/hp9000s800.h (bcopy, bzero, bcmp): If HAVE_BCOPY, don't #define.

	* s/sco4.h (LIBS_SYSTEM): Always define this one way or another.
	Include -lPW in it.

	* intervals.c (merge_properties_sticky): Declared.

	* regex.c (MAX, MIN): Undef before defining.

	* frame.c (Fhandle_switch_frame, Fredirect_frame_focus): Declared.

	* m/delta.h (HAVE_RANDOM, HAVE_XSCREENNUMBEROFSCREEN, BROKEN_FIONREAD):
	Add definitions.
	(LIB_X11_LIB, LIBX11_SYSTEM): Add override definitions.
	(USG_SHARED_LIBRARIES): Add #undef.

	* sysdep.c (init_baud_rate): Avoid referring to sg uninitialized.

Wed Nov 24 03:01:23 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* emacs.c (main) [AIX]: Don't handle signals 23, SIGAIO, SIGPTY.

	* indent.c (Fmove_to_column): Increments for control characters
	were too low by 1.

	* process.c (Fdelete_process): Fix paren error.

	* sysdep.c (closedir): Pass on the value from sys_closedir.
	Do use this definition, if INTERRUPTIBLE_CLOSE.

Tue Nov 23 00:09:48 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/sco4.h (LIBX11_SYSTEM): Override the definition.

	* xterm.c (XTread_socket): Really handle Xatom_wm_window_moved events.

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

	* fileio.c (Finsert_file_contents): Don't call signal_after_change
	if we did not call prepare_to_modify_buffer.

	* editfns.c (make_buffer_string): Don't copy intervals
	if we don't really have any properties.

	* lisp.h: Declare Fnext_single_property_change
	and Fnext_property_change.

	* s/sco4.h (HAVE_GETTIMEOFDAY): Define only if HAVE_SOCKETS.
	Fix up conditionals changed recently.

	* editfns.c (Finsert_buffer_substring):
	Pass graft_intervals_into_buffer the current buffer.

	* intervals.c (graft_intervals_into_buffer): New arg LENGTH.
	If source has no intervals, set dest properties to nil.
	* editfns.c (Finsert_buffer_substring): Pass new arg.
	* insdel.c (insert_from_string): Likewise.

	* callproc.c (init_callproc): Maybe add ../lib-src to exec-path
	and maybe store it in exec-directory.
	Mabe put ../etc into data-directory.
	(init_callproc_1): Part of init_callproc is split out.
	* emacs.c (main): Call init_callproc and init_callproc_1.

Mon Nov 22 10:01:51 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* editfns.c (Fsubst_char_in_region): Call modify_region only if
	a change has to be made.  Call signal_after_change just once, at end.

	* lread.c (OBARRAY_SIZE): Increase from 509.

	* xrdb.c (search_magic_path): Fix colon-colon case.

	* textprop.c (Ftext_property_not_all):
	For trivial yes, return start, not Qt.

	* xselect.c (Fx_disown_selection_internal): When making the fake
	event for x_handle_selection_clear, use SELECTION_EVENT_... macros.

Sun Nov 21 14:06:21 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/sunos4-1-3.h (HAVE_TERMIOS, BSD_TERMIOS): Deleted.

	* systty.h (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP):
	If HAVE_TERMIOS and BSD_TERMIOS, don't use tc[sg]etpgrp.

	* xfns.c (x_set_frame_parameters): Call check_frame_size
	before Fset_frame_size and Fset_frame_position.

	* termhooks.h (delete_window_event): New event kind.
	* xterm.c (XTread_socket): Generate delete_window_event's.
	* keyboard.c (kbd_buffer_get_event): Handle delete_window_event's.

	* s/sco4.h [HAVE_SOCKETS] (HAVE_XSCREENNUMBEROFSCREEN): Defined.

	* keymap.c: Doc fix.

	* window.c (window_loop, case DELETE_BUFFER_WINDOWS):
	Select a new buffer only if w is selected window.

	* hftctl.c: Include config.h.  Include sys/signal.h before config.h.
	(sav_alrm): Use SIGTYPE.
	(FUNC): Typedef deleted.

	* Makefile.in.in (hftctl.o): New rule.

	* process.c (wait_reading_process_input):
	Use -1 to mean wait_channel is empty.
	Start process loop with descriptor 0 if keyboard_descriptor is not 0.
	(make_process): Initialize descriptors to -1.
	(Fdelete_process): -1 means empty, in infd.
	(deactivate_process): Likewise.
	(process_send_signal): Likewise.
	(kill_buffer_processes): Likewise.
	(sigchld_handler): Likewise.
	(status_notify): Likewise.
	(close_process_descs): Likewise.
	(create_process): Likewise.
	(Fopen_network_stream): Likewise.
	(send_process): Likewise.
	(Fprocess_send_eof): Likewise.  Use XINT when closing outfd.
	(Fset_process_filter): Use XINT to get infd value.
	(wait_reading_process_input): Likewise.

	* process.c (wait_reading_process_input): When bypassing select,
	clear Available.

	* sysdep.c (getwd): If getcwd returns 0, we return 0.
	(getwd for VMS): Likewise.

Sat Nov 20 00:52:53 1993  Paul Reilly  (pmr@@legacy.pajato.com)

	*  s/dgux.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): 
	Defined (copied from usg5-4.h).
	(FIRST_PTY_LETTER): Deleted.

Sat Nov 20 00:16:59 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* frame.c (Fmake_frame_visible): Doc fix.

	* textprop.c (Ftext_property_not_all): Swap t and nil values in
	the case where there are no intervals.
	(Fprevious_single_property_change, Fprevious_property_change)
	Extra arg LIMIT.  Return value was off by 1.
	(Fnext_single_property_change, Fnext_property_change): 
	Extra arg LIMIT.
	(Fnext_single_property_change): Require at least 2 args.
	* indent.c (compute_motion):
	Pass new arg to Fnext_single_property_change.
	* xfaces.c (compute_char_face): Accept new arg LIMIT.
	Pass Fnext_single_property_change its new arg LIMIT.
	* xdisp.c (display_text_line): Pass new arg to compute_char_face
	and to Fnext_single_property_change.
	* dispnew.c (direct_output_for_insert):
	Pass new arg to compute_char_face.

	* keyboard.c (follow_key): When downcasing, downcase just the
	basic part of the character, and preserve the modifier bits.

Fri Nov 19 22:49:05 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (read_key_sequence): If we get a quit, and current buffer
	has changed, replay it to get proper keymap.
	(quit_throw_to_read_char): Switch frames to the frame the quit was in.

Fri Nov 19 20:42:06 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* buffer.c (Frename_buffer): When the current buffer is already
	named NAME, don't short-circuit and just return unless UNIQUE is
	nil.  This makes passing UNIQUE=t equivalent to (rename-buffer
	(generate-new-buffer-name NAME)).  This is useful way to rename
	the buffer automatically so you can create another with the
	original name.

Fri Nov 19 12:43:47 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (quit_throw_to_read_char): Select the frame
	which the quit char was typed in.

	* s/linux.h (HAVE_UNISTD_H): No need to define here.

	* buffer.c (Flist_buffers): Always return a value.

	* minibuf.c (read_minibuf): History list always gets strings,
	not Lisp objects made by read.

Thu Nov 18 01:04:39 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (read_avail_input): Don't set nread to -1
	if we loop around in the loop that calls read.

	* sysdep.c (read_input_waiting): read_socket_hook
	delivers events, not characters.  Make buf smaller
	in the case where we actually call read itself.

	* ralloc.c (r_alloc_init): Explicitly use real_morecore
	to allocate the entire incomplete page.

	* frame.c (Fmake_frame_visible): Use FRAME_SAMPLE_VISIBILITY.

	* s/dgux.h (FIRST_PTY_LETTER): Defined.

Wed Nov 17 06:01:02 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keymap.c (Fkey_binding): Doc fix.

	* cmds.c (keys_of_cmds): Make 0377 self-inserting.

@


1.1.1.12
log
@import emacs-19.23
@
text
@a0 4822
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.

Tue May 17 03:23:39 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Version 19.23 released.

Tue May 17 00:04:25 1994  Morten Welinder  (terra@@diku.dk)

	* msdos.c (gettimeofday): New function substituting the library
	function of the same name.
	(init_gettimeofday): New function.
	(init_environment): Call init_gettimeofday after possibly
	setting TZ environment variable.
	* msdos.h: Add template for init_gettimeofday.

Mon May 16 23:25:12 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* buffer.c (fix_overlays_in_range): New function.
	* editfns.c (Ftranspose_regions): Call it.  Also update point as
	if it were a marker.

Mon May 16 03:25:22 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xmenu.c (xmenu_show): Completely ignore nameless panes
	except for the first pane.  Ignore named panes too if KEYMAPS.

	* widget.c (setup_frame_gcs): Move cursor_bits variable out of
	setup_frame_gcs and rename to setup_frame_cursor_bits.

	* eval.c (syms_of_eval): Doc fixes.

Sun May 15 00:14:04 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_display_box_cursor): Preserve mouse highlight
	if the old cursor was in it.

	* editfns.c (Fcurrent_time_zone): Add cast.

	* s/bsd386.h (LOCALTIME_CACHE): Defined.

	* m/pmax.h (LOCALTIME_CACHE): Define, if not OSF1.

	* xfns.c (validate_x_resource_name): Don't let Vx_resource_name
	have invalid characters.

Sat May 14 20:07:44 1994  Morten Welinder  (terra@@diku.dk)

	* msdos.c (crlf_to_lf): Fix off-by-one condition.

Sat May 14 02:33:12 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (bind_polling_period): Never decrease polling_period.

	* fileio.c (Fdo_auto_save): Save listdesc as an integer, only if open.
	(do_auto_save_unwind): Corresponding changes.

	* keyboard.c (echo): Don't echo motion events.

	* fileio.c (Fcopy_file): Close output before setting its times.
	Close both before discarding the unwind protects.

Fri May 13 18:12:44 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* buffer.c (Foverlay_lists): Doc fix.
	(Fnext_overlay_change): Doc fix.

Fri May 13 03:16:47 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (XTread_socket): For button events, clear compose_status.

	* Makefile.in.in (LIBXTR6): New variable.  Test HAVE_X11XTR6.
	(LIBXT): Use it.
	* config.h.in (HAVE_X11XTR6): Add #undef.

	* editfns.c (save_excursion_restore): Don't run activate-mark-hook
	if mark position is unchanged.

	* emacs.c (main): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.
	* callproc.c (child_setup): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.
	Don't call nice if emacs_priority is positive.
	* sysdep.c (sys_subshell): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.
	Don't call nice if emacs_priority is positive.

Thu May 12 13:51:11 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Makefile.in.in: Handle Motif and Open-look.
	(LIBW): New variable.
	(LIBXT): Use it.

	* process.c (POLL_FOR_INPUT): Define, if appropriate.

Thu May 12 12:17:16 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xdisp.c (display_text_line): Fix check for end of buffer.

Thu May 12 02:17:20 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (dumpglyphs): For cursor foreground, try the
	face's background before the face's foreground.
	(XTread_socket): Call note_mouse_movement for EnterNotify.

	* process.c (Fopen_network_stream):
	Call bind_polling_period; later unbind the binding.

	* keyboard.c (syms_of_keyboard): Set up Qpolling_period.
	(bind_polling_period): New function.

	* callproc.c (init_callproc): Never set Vdata_directory based on
	the executable's location.  But maybe set it from source dir.

Wed May 11 18:15:27 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* systty.h [__GNU_LIBRARY__]: Include <termios.h>.

Wed May 11 05:17:56 1994  Frederic Pierresteguy  (F.Pierresteguy@@frcl.bull.fr)

	* xmenu.c (xmenu_show): New var mb_item. Use it to determine the
	menubar item that led to the menu.
	(Fx_popup_menu): Suppress duplicate test case in the way to determine
	whether the menu is handling a menu bar click.

Wed May 11 00:15:22 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c (Frename_buffer): Reject empty string as new name.

Tue May 10 23:54:11 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* process.c (exec_sentinel): Don't deactivate the mark.
	Check for asynch buffer switch.

Tue May 10 20:15:56 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/bsd4-2.h (BSD): Define as 42.
	(BSD4_2): Define as 1.  This makes it like bsd4-3.h.

	* floatfns.c: Don't declare logb if it is a macro.

Tue May 10 19:36:17 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* keyboard.c (read_char): Preserve echo area on asynch buffer switch.

Tue May 10 18:39:40 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* dispnew.c [__GNU_LIBRARY__]: Redefine PENDING_OUTPUT_COUNT even
	if already defined.

Tue May 10 03:24:16 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Finsert_file_contents) [MSDOS]: Ignore the replace feature.

	* buffer.c (syms_of_buffer): Doc fix.

	* keyboard.c (syms_of_keyboard): Doc fix.

Tue May 10 01:36:31 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* keyboard.c (safe_run_hooks): New function, extracted from
	command_loop_1.  Bind inhibit_quit.

Mon May  9 00:51:27 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xmenu.c (string_width): Deleted.

	* xterm.c (x_set_window_size) [USE_X_TOOLKIT]:
	Preserve the main widget's x and y position.

Sun May  8 17:52:48 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (process_send_signal): If PREFER_VSUSP,
	use VSUSP instead of VSWTCH.
	* s/sco4.h (PREFER_VSUSP): Defined.
	* s/irix5-0.h (PREFER_VSUSP): Defined.

	* fileio.c (Fdo_auto_save): Write a list of all auto save file names.
	(Vauto_save_list_file_name): Specify file name to put them in.
	(syms_of_fileio): Set up Lisp var.

Sat May  7 02:29:37 1994  Morten Welinder  (terra@@diku.dk)

	* callproc.c [MSDOS]: Rename Vbinary_process to Vbinary_process_output.
	(syms_of_callproc) [MSDOS]: Rename lisp variable binary-process to
	binary-process-output.
	(Fcall_process, syms_of_callproc) [MSDOS]: Use new names.
	(Vbinary_process_input) [MSDOS]: New variable.
	(syms_of_callproc) [MSDOS]: Declare binary-process-input.
	(Fcall_process_region) [MSDOS]: Bind binary-process-input temporarily
	to buffer-file-type.
	(init_callproc) [MSDOS]: Don't add lib-src as the wrapped binaries
	are in bin.

Sat May  7 04:37:41 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c (Qbuffer_file_type): Var deleted.
	* callproc.c (Qbuffer_file_type): Var added.

	* keyboard.c (read_char): Don't test do_mouse_tracking;
	instead, do prepare_menu_bars only if commandflag > 1.
	(read_char): Do call add_command_key for mouse-movement events.
	Test detect_input_pending, not EVENT_QUEUES_EMPTY, for kbd menus.
	But don't test either one for mouse menus.

	* undo.c (record_delete): Record the old point value
	only right after a boundary.

Fri May  6 22:22:24 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/dgux5-4r3.h: Use dgux5-4r2.h under new name.

	* puresize.h (PURESIZE): Increase to 235000 and 205000.

Fri May  6 00:22:18 1994  Morten Welinder  (terra@@diku.dk)

	* s/msdos.h: Define NO_MATHERR.
	* floatfns.c: Don't guard DOMAIN && SING && OVERFLOW check by
	an #ifndef MSDOS.

Fri May  6 19:46:03 1994  Francesco Potorti` (pot@@cnuce.cnr.it)

	* m/delta.h: (SYSTEM_MALLOC): deleted.  The problem isn't there.

Fri May  6 00:25:30 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_set_offset): Set gravity and size hint
	before moving the window.

	* keyboard.c (make_lispy_event): Ignore mouse events for deleted frame.

	* xterm.c (XTread_socket):
	For ReparentNotify, use x_top_window_to_frame.
	Also recompute frame position using x_real_positions.
	For ConfigureNotify, don't ignore send_events.
	Also recompute frame position using x_real_positions.

Thu May  5 20:59:39 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* window.c: Use PT, not point.
	(Fdelete_other_windows): Do nothing if w->start is outside region.
	Don't temporarily move point when recomputing window position.

Thu May  5 15:18:27 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c (x_real_positions): New function.

	* keyboard.c (make_lispy_movement): Don't call pixel_to_glyph_coords
	if FRAME is 0.

	* xterm.c (x_set_offset): Update XNegative and YNegative for new pos.
	(x_calc_absolute_position): Clear XNegative and YNegative.

	* xrdb.c (x_load_resources) [USE_X_TOOLKIT]: Don't call XrmInitialize.

	* keymap.c (describe_map): Ignore bindings for all except
	symbols and integers.

	* unexelfsgi.c (unexec): Handle debugging info properly.

	* s/freebsd.h: Don't use netbsd.h.  Do all those things right here.

Thu May  5 01:33:46 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xmenu.c (Fx_popup_menu): Restore accidentally-deleted call to
	mouse_position_hook.
	(xmenu_show): Disallow empty menus.

Thu May  5 00:03:36 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (last_point_position_buffer): New variable.
	(command_loop_1): Set it.
	* undo.c (record_delete): Test it.
	* commands.h (last_point_position_buffer): Declared.

	* Makefile.in.in: Put in a separator for where to start cpp procssing.
	Above that, use Make-style comments.
	This goes with changes in ../configure.in.

Wed May  4 01:20:45 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/isc4-0.h (NEED_SIOCTL, ISC4_0): Declared.

	* sysdep.c: Test ISC4_0 along with TIOCGWINSZ.

	* process.c (wait_reading_process_input): Don't call prepare_menu_bars
	unless we are going to redisplay for a garbaged frame.
	(read_process_output): Call prepare_menu_bars if waiting for input.
	(exec_sentinel): Call prepare_menu_bars if waiting for input.

	* s/dgux5-4r3.h, s/dgux5-4r2.h: Renamed from ..4R..

	* eval.c (error): Fix logic in call to xmalloc/xrealloc.

	* xterm.c (x_make_frame_invisible): Use XWithdrawWindow again.

	* s/sol2.h, s/sol2-3.h (LD_SWITCH_SYSTEM):
	Use ./prefix-args, not -Xlinker directly.

Tue May  3 00:21:01 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c (x_set_cursor_color): Fix typo.

	* xselect.c (x_own_selection): Catch errors around XSetSelectionOwner.

	* buffer.c (syms_of_buffer): Doc fix.

	* xdisp.c (display_text_line): Since HPOS is negative, avoid
	writing before the beginning of the charstarts line.

	* minibuf.c (read_minibuf): Clear previous_echo_glyphs.

Mon May  2 19:36:24 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dired.c (file_name_completion_stat): Use both lstat and stat.

Mon May  2 17:07:56 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xterm.c (show_mouse_face): Fix test for cursor in highlighted area.
	(note_mouse_highlight): Reorder test for simplicity.
	(note_mouse_highlight, show_mouse_face, clear_mouse_face,
	x_destroy_window): Use row/col instead of buffer position to keep
	track of highlighted area.

Mon May  2 19:46:03 1994  Francesco Potorti` (pot@@cnuce.cnr.it)

	* m/delta.h: (SYSTEM_MALLOC): Defined, since GNU malloc does not work.
	(BCOPY_UPWARD_SAFE): Defined to 0 for the Green Hills compiler.

Mon May  2 00:06:46 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (create_process): Undo April 19 setsid change.

Sun May  1 03:32:22 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.h (struct x_display): New field size_hint_flags.
	* xfns.c (Fx_create_frame): Set the size_hint_flags field.
	Don't call x_calc_absolute_position.
	* xterm.c (x_calc_absolute_position): Use size_hint_flags.
	New FLAGS arg deleted.  Callers changed. 

	* xfns.c (x_figure_window_size): Handle `-' for top or left.
	(Fx_parse_geometry): Handle one element at a time.
	Give `-' when appropriate.
	(x_figure_window_size): Allow just height or just width.

	* xterm.c (x_wm_set_size_hint): Don't try to handle negative positions.
	(x_calc_absolute_position):
	New arg FLAGS.  Use XNegative and YNegative.
	(x_set_offset): Pass new arg.

	* xfns.c (x_figure_window_size): Set USPosition only if user-position
	is non-nil; otherwise, if pos is specified, set PPosition.
	Likewise for USSize and PSize.
	(Fx_create_frame): Use XNegative and YNegative to set win_gravity.
	[USE_X_TOOLKIT] (x_window): Use XNegative and YNegative
	to set win_gravity.  Pass new arg to x_calc_absolute_position.

	* editfns.c (Ftranspose_regions): Take addresses only after move gap.
	Cast result of alloca.  Use xmalloc instead, for large objects.
	Always copy the middle portion directly; never put it in temp.
	Always move the gap to START1 or END2, whichever is nearer.

	* keyboard.c (Ftrack_mouse): Call prepare_menu_bars at the start.
	(read_char): Don't call prepare_menu_bars if doing mouse tracking.

Sat Apr 30 22:08:09 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* puresize.h (PURESIZE) [MULTI_FRAME]: Increase to 232000.

Sat Apr 30 19:09:08 1994  Paul Reilly  (pmr@@churchy.gnu.ai.mit.edu)

	* s/dgux5-4R3.h: new file.

	* s/dgux5-4R2.h: new file.

	* s/dgux.h (SVR4): Make conditional on ELF environment.
	(INTERRUPT_INPUT, ORDINARY_LINK): Set by default.
	(C_COMPILER, LINKER and MAKE_COMMAND): Remove.

	* process.c (IN_ADDR, NUMERIC_ADDR_ERROR): Made conditional on
	HAVE_BROKEN_INET_ADDR.

Sat Apr 30 01:58:46 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (record_asynch_buffer_change): Block SIGIO.
	(force_auto_save_soon): Call record_asynch_buffer_change.

	* emacs.c (memory_warning_signal): Call force_auto_save_soon.

	* keyboard.c (force_auto_save_soon): New function.

	* process.c (Fopen_network_stream): Retry the connect if EADDRINUSE.
	Ignore EISCONN.

Fri Apr 29 22:15:44 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* eval.c (init_eval): Initialize when_entered_debugger to -1.

Fri Apr 29 19:21:02 1994  Jim Blandy  (jimb@@totoro.bio.indiana.edu)

        * data.c (Ffset, Ffmakunbound): Signal an error if SYM is nil or t.

Fri Apr 29 19:12:35 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* data.c, floatfns.c, lread.c [MSDOS]: Re-enable some #undef's.

Fri Apr 29 20:07:33 1994  Karl Fogel  (kfogel@@phylo)

	* editfns.c (Ftranspose_regions): New function.
        (transpose_markers): Helper func for above.
        (syms_of_frame): Call defsubr for Stranspose_regions.

Fri Apr 29 05:35:49 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.h (x_mouse_grabbed): Declared.
	* xmenu.c (xdialog_show): Clear x_mouse_grabbed.

	* frame.c (Fframe_live_p): Alternative defn for not MULTI_FRAME.
	(syms_of_frame): Call defsubr for it.

	* process.c: Doc fixes.

	* xterm.c (x_wm_set_size_hint): Always set PWinGravity.
	Rename the args.  Compute x and y fields from negative positions.
	Use XGetWMNormalHints if X11R4 or newer.
	(x_make_frame_visible): Call x_set_offset only if not USE_X_TOOLKIT.
	(x_make_frame_invisible): Call x_wm_set_size_hint.
	(x_set_offset): Pass 0 as 3rd arg to x_wm_set_size_hint.
	(x_set_window_size): Likewise.  Set win_gravity field here if nec.

	* xfns.c (Fx_create_frame): Pass 0 as 3rd arg to x_wm_set_size_hint.
	(x_figure_window_size): Fix typo setting XNegative.

	* minibuf.c (Fminibuffer_complete): Add third arg to Fset_window_start.

	* buffer.c (init_buffer_once): Initialize buffer_file_type field right.

	* m/dos386.h (HAVE_MOUSE): Defined.
	(PURESIZE): Increase value.

	* xdisp.c (decode_mode_spec): Fix handling of `%t'.

	* msdos.c, dosfns.c: Finish downcasing mouse_init1, mouse_off,
	mouse_check_moved, mouse_pressed, mouse_released, mouse_on, mouse_init.

	* dispnew.c (update_frame): Fix previous change:
	Unconditionally bzero at the end.

Fri Apr 29 00:38:09 1994  Morten Welinder  (terra@@diku.dk)

	* msdos.c (visible_bell): Now static.  Make the asm volatile.
	Don't expect register %gs to survive calls to other functions
	(just to be safe, %gs will survive at present).

	* keyboard.c (make_lispy_movement): if HAVE_MOUSE then include
	the mouse handling code.
	* msdos.c (glyph_to_pixel_coords, pixel_to_glyph_coords) new
	functions imitating those in xterm.c.

	* s/msdos.h (getppid): Definition deleted.

	* msdos.c (dos_rawgetc): Key numbers are biased by 0xff00.

	* dosfns.c (Fmode25, Fmode4350): Clean up the coding and return
	a well-defined value.
	(syms_of_dosfns): Doc fix.

Fri Apr 29 01:16:04 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* keymap.c (Fsingle_key_description): Undo previous change.
	(describe_map): Skip string entries.

	* minibuf.c (do_completion): Initialize vars before gcpro.

Fri Apr 29 00:03:50 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dispnew.c (update_frame): Move those assignments even farther down.

	* xterm.c (x_wm_set_size_hint): Don't set PMaxSize.
	Don't touch win_gravity field if no PWinGravity.

Thu Apr 28 22:51:04 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* print.c: Doc fixes.

	* keymap.c (describe_map_tree, describe_buffer_bindings): gcpro stuff.
	(describ_buffer_bindings): Delete unused code.

Thu Apr 28 21:05:23 1994  Per Abrahamsen  (abraham@@research.att.com)

	* keymap.c (Fsingle_key_description): Accept strings as keys since
	the buffer menu uses them.

Thu Apr 28 14:12:32 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dispnew.c (update_frame): Move assignments to current_frame
	and desired_frame.

	* floatfns.c (logb): Test HPUX, not hpux.

	* s/sunos4-1.h (LIBS_SYSTEM): #if 0'd.

	* xmenu.c (Fx_popup_menu): Doc fix.

	* xfns.c (x_window) [USE_X_TOOLKIT]: Call XSetWMHints.

Thu Apr 28 09:05:09 1994  Michael D. Ernst  (mernst@@monozygote.research.microsoft.com)

	* fileio.c (inhibit-file-name-handers): Correct documentation.

Thu Apr 28 02:13:28 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xterm.c (XTread_socket): Only top window cares about LeaveNotify.

	* frame.c (Fframe_parameters) [!MULTI_FRAME]: Unstub it again.

Thu Apr 28 00:35:25 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* emacs.c (syms_of_emacs): Doc fix.

	* callproc.c (child_setup): Test PRIO_PROCESS, as in sys_subshell.

	* m/hp800.h: Renamed from hp9000s800.h.
	(hp9000s800): Undo previous change.

	* process.c (create_process): If vfork fails, close forkin and forkout.

Wed Apr 27 22:33:41 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_make_frame_visible): Use XtMapWidget, not XtPopup.

	* m/hp9000s800.h (hp800): Define this instead of hp9000s800.

	* Makefile.in.in (mostlyclean): Remove liblw.a.

	* lread.c (read1): Allow `\C- ' and `\C-?'.

Wed Apr 27 15:15:51 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* unexmips.c (unexec): Cast pointers.
	Fix error message.

	* Makefile.in.in: Use C-style comments.

	* frame.c (Fframe_parameters) [!MULTI_FRAME]: Replace with stub.
	(Fframe_parameters, Fmodify_frame_parameters) [!MULTI_FRAME]:
	Remove extra docstring.

Wed Apr 27 00:46:36 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/sunos4-0.h (LD_SWITCH_SYSTEM): Undo previous change.

	* xterm.c (XTread_socket, case ClientMessage): Don't call
	XSetInputFocus if event is not for an existing frame.

	* xmenu.c (xmenu_show, xdialog_show):
	If we unread some events, set interrupt_input_pending.

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

	* CONFIGURATION now comes via config.h.
	* Makefile.in.in (emacs.o): Use the default .c.o command.
	(configuration): Make variable deleted.
	* config.h.in (CONFIGURATION): Add #undef.

	* xterm.c (XTread_socket) [USE_X_TOOLKIT]: Undo previous change.
	(x_wm_set_size_hint): Do set max_height, max_width, and PMaxSize flag.

Tue Apr 26 17:15:45 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* process.c (create_process) [HAVE_TERMIOS && LDISC1]: Use tcsetattr.

Tue Apr 26 05:28:44 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* alloc.c (mark_object, case frame): Mark menu_bar_vector field.

Mon Apr 25 18:04:44 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (Vunread_command_events):
	Renamed from unread_command_events.
	All uses changed.
	* command.h (Vunread_command_events): Renamed.
	* lread.c (read_filtered_event): Use Vunread_command_events.
	* minibuf.c (temp_echo_area_glyphs): Use Vunread_command_events.

	* keyboard.c (read_char): Don't use menus if we have events waiting.

	* xterm.c (XTread_socket) [USE_X_TOOLKIT]: Let toolkit handle
	menu bar click. 

Mon Apr 25 16:29:45 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* insdel.c: Use PT, not point.
	(gap_left, gap_right, adjust_markers): Make these functions static.
	(adjust_point): New function.
	(insert_1, insert_from_string_1, del_range_1): Use it.

	* xterm.c (x_term_init): Add explicit cast.
	(XTmouse_position): Don't use last_mouse_frame if it's dead.
	(XTread_socket): Ditto.

	* textprop.c (F*_property_change): Typecheck limit argument.

Mon Apr 25 00:11:16 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xdisp.c (syms_of_xdisp): Set up Qmenu_bar_update_hook.
	(update_menu_bar): Run that hook.
	Fix failure to update menu bar when w->update_mode_line was nil.

	* frame.h (struct frame): New fields menu_bar_vector and
	menu_bar_items_used.
	* frame.c (make_frame): Initialize fields menu_bar_vector and
	menu_bar_items_used.

	* keyboard.c (menu_bar_item): Put a list of keymaps into the third
	slot of an item in menu_bar_items_vector.

Sun Apr 24 01:13:32 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Finsert_file_contents): Fix accessing buffer_file_type
	since it is t or nil.  Change to handle t or nil as value
	of find-buffer-file-type.

	* buffer.c (Fkill_all_local_variables): Doc fix.

Sat Apr 23 12:32:25 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (create_process): Use SETUP_SLAVE_PTY only if pty_flag.
	Likewise for child_setup_tty.

	* window.c (Fselect_window): Use Fselect_frame.

	* frame.c (Fset_frame_selected_window): New function.
	(syms_of_frame): Set up Lisp function.

	* lisp.h (Vascii_canon_table, Vascii_eqv_table): Declared.

	* buffer.c (reset_buffer_local_variables): Use Vascii_eqv_table
	and Vascii_canon_table.

	* window.c: Implement special frames for specified buffers.
	(Vspecial_display_buffer_names, Vspecial_display_regexps)
	(Vspecial_display_function): New variables.
	(syms_of_window): Set up Lisp variables.
	(Fdisplay_buffer): Handle them.

Fri Apr 22 20:04:41 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Makefile.in.in (alloca.o): Use config_h.
	(config_h): Use M_FILE and S_FILE.
	(S_FILE, M_FILE): New variables hold names of config files.

	* fileio.c (syms_of_fileio): New Lisp var inhibit-file-name-operation.
	(Ffind_file_name_handler): Obey that variable.  Use new meaning
	for inhibit-file-name-handlers.

	* config.h.in (HAVE_LIBRESOLV): Add #undef.
	* s/sunos4-1.h (LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
	Do not test HAVE_GETHOSTNAME.

	* s/sunos4-1.h (LIBS_SYSTEM): Invert the HAVE_RES_INIT condition.

Fri Apr 22 19:55:22 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* fileio.c (Ffind_file_name_handler): New argument OPERATION.
	All callers changed.

Fri Apr 22 16:00:24 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (max_process_desc): New variable.
	(wait_reading_process_output): Don't look for process output
	beyond that many bits.
	(create_process, Fopen_network_stream, deactivate_process): Update it.
	(init_process): Initialize it.

	* frame.c (Fmouse_pixel_position, Fset_mouse_pixel_position):
	New functions.
	(syms_of_frame): Set up Lisp functions.

	* xterm.c (x_set_mouse_pixel_position): New function.

Thu Apr 21 18:56:10 1994  Simon Leinen  (simon@@lia.di.epfl.ch)

	* process.c (send_process): If fpathconf fails, use 250.

Thu Apr 21 00:34:56 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* emacs.c (init_cmdargs): Check only for etc and lib-src subdirs
	when setting Vinstallation_directory.
	(syms_of_emacs): Make Lisp vars invocation-name, invocation-directory
	and installation-directory.

	* lread.c (init_lread): Maybe put build-time Lisp dirs on load-path.

	* callproc.c (init_callproc): Set Vdoc_directory like Vdata_directory.

	* lread.c (init_lread): Improve warning message.

	* xterm.c (x_make_frame_visible): Args to x_set_offset were swapped.

Wed Apr 20 16:38:41 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xterm.h (x_top_window_to_frame): Declare this function.

Wed Apr 20 10:20:10 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fns.c: Doc fixes.

	* Makefile.in.in (TAGS): Split off included tags file lisp/TAGS.
	(../lisp/TAGS): New target uses recursive make.
	(ctagsfiles, lisptagsfiles): New variables.

	* xfns.c (x_window): Test FRAME_EXTERNAL_MENU_BAR
	to decide on calling initialize_frame_menubar.

Wed Apr 20 12:52:15 1994  Francesco Potorti`  (pot@@fly.cnuce.cnr.it)

	* m/delta.h (HAVE_SOCKETS): defined if HAVE_INET_SOCKETS is defined.

Wed Apr 20 04:32:47 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* frame.c (Fmodify_frame_parameters, Fframe_parameters): 
	Define even if not MULTI_FRAME.

	* config.h.in (HAVE_INET_SOCKETS): Add #undef.

	* xterm.c (XTread_socket): Delete the non-NEW_SELECTIONS code
	and simplify the toolkit conditional for those cases.

	* xterm.c (XTread_socket, case ClientMessage):
	Always use x_window_to_frame.

	* xfns.c (x_top_window_to_frame): New function.

Tue Apr 19 23:23:07 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (create_process): Call setsid only if pty_flag.

	* xterm.c (x_make_frame_invisible): Explicitly clear visible and
	iconified flags, as well as the async flags.

Tue Apr 19 20:23:52 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* keymap.c (describe_map): Merge with describe_map_2.
	(describe_map_tree, describe_map): Skip keymaps we've seen before.

	* keyboard.c (read_avail_input): Don't retry read.

Tue Apr 19 17:45:16 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (Vlast_event_frame): Define unconditionally.
	(syms_of_keyboard): Always make the Lisp var.

	* Makefile.in.in (${etc}DOC): Delete redundant version.el from cmd.

Tue Apr 19 00:16:34 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* keyboard.c (read_avail_input): Test EINTR, not EAGAIN.
	Write loop as a do-while.

	* puresize.h (PURESIZE) [!MULTI_FRAME]: Increase to 200000.

Mon Apr 18 19:27:05 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (XTread_socket): Call XSetInputFocus.

Mon Apr 18 18:38:51 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* config.h.in: (EMACS_INT, EMACS_UINT): Omit if NOT_C_CODE.

Mon Apr 18 13:40:14 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* mem-limits.h (get_lim_data): Handle NO_LIM_DATA.

	* xterm.c (x_make_frame_invisible) [USE_X_TOOLKIT]: Use XtPopdown.
	(XTread_socket): Call _XEditResCheckMessages only if HAVE_X11R5.

	* m/convex.h (CRT0_DUMMIES): Ignore one arg.
	(LIBS_TERMCAP): Use the system's termcap.

	* process.c (create_process): Fix previous change.

Sun Apr 17 03:33:18 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c (Xatom_editres_name): Declared.
	(Fx_open_connection): Initialize it.
	* xterm.c (Xatom_editres_name): Variable defined.
	(XTread_socket): Handle that kind of message.
	(x_term_init): Specify -name option in XtAppInitialize.

	* xterm.c (Qface, Qmouse_face): Supply missing Lisp_Object.

	* config.h.in (EMACS_INT, EMACS_UINT): New typedefs.

	* casetab.c (set_case_table): Handle nil for EQV with non-nil CANON.
	(Fcase_table_p): Accept nil for EQV with non-nil CANON.

	* keyboard.c (read_avail_input): Test both aix386 and _BSD.

	* window.c (set_window_width):
	Don't delete root window for being too narrow.

	* xterm.c (dumpglyphs): When HL=2, check explicitly for using
	the frame's default font or not.

	* keyboard.c (read_char_x_menu_prompt): Don't check for value = nil
	if value was originally a cons.

	* xmenu.c (xmenu_show): Fix typo in last change.

Sat Apr 16 02:50:27 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* frame.c (Fmouse_position): Don't clip.
	* keyboard.c (make_lispy_movement): Don't clip.

Sat Apr 16 00:50:41 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/netbsd.h: Add NO_SHARED_LIBS conditional.
	* s/freebsd.h: Rewrite to use netbsd.h and define NO_SHARED_LIBS.

	* keyboard.c (read_avail_input): Fix previous change--test _BSD.

	* data.c (Fsetq_default): Doc fix.

	* eval.c (Fsetq): Doc fix.

	* Makefile.in.in (configuration): Use SET_MAKE to get
	the value of $(MAKE).

Fri Apr 15 17:38:30 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.h (map_prompt): Declared.

	* xmenu.c (xmenu_show): Don't cons on subprefix_stack[j] if nil.

	* keyboard.c (read_avail_input): Don't generate SIGHUP of aix386;
	only on other AIX systems.

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

	* process.c (create_process): Test TIOCSETD along with NTTYDISC.

	* frame.c (Fset_frame_position): Pass new arg to x_set_offset.

	* xterm.c (x_set_offset): New arg CHANGE_GRAVITY.
	(x_make_frame_visible): Pass new arg.

	* xfns.c (Fx_create_frame): Delete excess args to x_wm_set_size_hint.

	* xterm.c (x_wm_set_size_hint): Args spec_x and spec_y deleted.
	(x_set_offset, x_set_window_size): Don't pass those args.

	* fileio.c (Finsert_file_contents): Fix test for unchanged file.

	* xterm.c (x_destroy_window): Just clear out mouse_face... vars.

	* keyboard.c (syms_of_keyboard): Init and staticpro system_key_syms.
	(modify_event_symbol): Use the cdr of the alist entry.
	Whenever value is nil, intern a new symbol.

	* Makefile.in.in (LIBX): Put LIBXT after LD_SWITCH_X_SITE.

Fri Apr 15 15:11:10 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xdisp.c (fix_glyph) [HAVE_X_WINDOWS]: When glyph face is 0, use
	the computed face as given.

	* keyboard.c (read_avail_input): Fix comment delimiter.

	* m/pmax.h (C_SWITCH_X_MACHINE): add -DNeedVarargsProrotypes=0.

Thu Apr 14 21:03:23 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* scroll.c (calculate_scrolling): Add explicit casts.

Thu Apr 14 00:45:53 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_wm_set_size_hint): Use win_gravity from frame.

	* xterm.h (x_display): New field win_gravity.
	* xfns.c (Fx_create_frame): Set win_gravity field.

	* xfns.c (x_window, both versions):
	Don't call x_calc_absolute_position.
	* xterm.c (x_make_frame_visible): Call x_set_offset.

	* xterm.c (x_make_frame_visible): Don't call XMapSubwindows.
	(x_iconify_frame): Likewise.

	* s/isc4-0.h (LIBS_SYSTEM): Defined.

	* keyboard.c (make_lispy_event): Put mouse event code
	into MULTI_FRAME conditional.

	* xfns.c (Fx_list_fonts): Error if non-X frame used.

	* xdisp.c (update_menu_bar): Take frame as arg.
	(update_menu_bars): Function deleted.
	(prepare_menu_bars): Call update_menu_bar; do it for all frames.
	Simplify computation of all_windows; ignore irrelevant criteria.

	* xterm.h (HAVE_X11R4): If we define HAVE_X11R5, define this too.

	* xterm.c (pending_autoraise_frame): New variable.
	(x_new_focus_frame): Don't autoraise here; just set that var.
	(XTread_socket): Raise that frame here.

Wed Apr 13 17:19:30 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* emacs.c (inherited_pgroup): Conditionalize on BSD_PGRPS.

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

	* doc.c, fileio.c, unexsunos4.c [HAVE_UNISTD_H]: Include unistd.h.

	* dired.c (Ffile_attributes): Cast st_size to int.

	* xmenu.c (last_menu_bar_item_end): New variable.
	(xmenu_show): Set that var.
	(other_menu_bar_item_p): Return 0 if mouse is not in any menu bar item.

	* keymap.c (describe_map_tree): Fix call to Flookup_key.

	* xfns.c (x_window): Don't call initialize_frame_menubar
	if no menu bar.
	(Fx_create_frame): Default menu-bar-lines parm before calling x_window.

Wed Apr 13 13:59:32 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* dispnew.c (Vglyph_table): Doc fix.

	* frame.c (Fmouse_position) [MULTI_FRAME]: Use pixel_to_glyph, not
	glyph_to_pixel.  Skip the conversion if args are nil.
	[!MULTI_FRAME]: All results are nil.  Remove extra docstring.

	* window.c (Fnext_window, Fprevious_window, Fdisplay_buffer): Test
	MULTI_FRAME when frame-walking.
	(Fset_window_configuration): Only call X fns if HAVE_X_WINDOWS.

	* fns.c (Fy_or_n_p, Fyes_or_no_p): Test HAVE_X_MENU in popup code.

Wed Apr 13 02:20:44 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* indent.c (compute_motion): Do not abort if window shows some
	other buffer.
	(Fcompute_motion): Use whatever buffer is current.

Tue Apr 12 12:02:07 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/bsd4-2.h (BSD): Give it a number as definition.

	* s/sol2-3.h: Fix #include file name.

	* xterm.c (x_destroy_window): Call clear_mouse_face if necessary.

	* xmenu.c (xmenu_show, xdialog_show): Add casts in assignments
	to widget_value fields from string contents.
	(dispatch_dummy_expose): Cast arg to XtDispatchEvent.
	[!USE_X_TOOLKIT] (xmenu_show): Right-justify char equivalents.
	Use alloca for concatenated strings, if alloca is fast.

	* lisp.h (Fprocess_send_eof, Foverlay_get): Declared.

	* keymap.c (Fkey_binding): Declare accept_default.

	* sysdep.c (sys_siglist) [sun]: Check SIGFREEZE and SIGTHAW defined.

Tue Apr 12 00:53:28 1994  Per Bothner  (bothner@@cygnus.com)

	Provide a hook for elisp to signal a changed window size
	to a process inferior.
	* sysdep.c (set_window_size):  New function.
	* process.c (Fset_process_window_size):  New function.

Tue Apr 12 00:39:12 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* eval.c (specbind): Use find_symbol_value.

	* xfaces.c (frame_update_line_height): Don't call x_set_window_size.
	Return 1 if line_height changed.
	(Fset_face_attribute_internal): Call x_set_window_size here if nec.
	* xterm.c (x_new_font): Always call x_set_window_size.

	* xmenu.c (xmenu_show) [USE_X_TOOLKIT]: Use XtTranslateCoords.

	* process.c (send_process): Test pty_flag field for nil, not 0.

Mon Apr 11 18:40:25 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/sunos4-0.h (LD_SWITCH_SYSTEM): Alternate definition if __GNUC__.

	* callproc.c: If we include fcntl.h, define INCLUDED_FCNTL.
	* systty.h: Check for INCLUDED_FCNTL already defined.

	* xterm.c (x_wm_set_size_hint): If PROMPTING is 0,
	copy the old win_gravity field.
	If USPosition is set, don't set PWinGravity.

	* keyboard.c (read_avail_input): Separate local var n_to_read
	so that reading doesn't clobber that info when it sets nread.

	* s/isc4-0.h (LIBS_SYSTEM): Defined.

	* emacs.c (main): Fix typo in prev. change.

	* Makefile.in.in (temacs): Include ${ALL_LDFLAGS} within
	the call to YMF_PASS_LDFLAGS.

Mon Apr 11 17:41:56 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* keyboard.c (make_lispy_event): Initialize item.

	* indent.c (vmotion): Use minibuf_prompt_width despite window-start.

	* print.c (printchar, strout): Use FRAME_PTR, not struct frame *.

	* frame.c (Fmouse_position) [!MULTI_FRAME]: Declare col and row.

Mon Apr 11 17:09:46 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (make_lispy_movement): Conditionalize on MULTI_FRAME.
	(kbd_buffer_get_event): Call make_lispy_movement only if MULTI_FRAME.

	* xselect.c (x_decline_selection_request): Call XFlushQueue.

	* eval.c (Fsetq): Doc syntax fix.
	* print.c (syms_of_print): Doc syntax fix.
	* editfns.c (Fuser_real_login_name): Doc syntax fix.
	* data.c (Fsetq_default, Fmake_local_variable): Doc syntax fix.

Sun Apr 10 15:15:08 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_wm_set_size_hint): If change_gravity is 0,
	just don't set the gravity.

Sat Apr  9 01:02:22 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (dumpglyphs): Clear any extra pixel rows below the text.

	* xfns.c (x_figure_window_size): Don't call x_calc_absolute_position.
	(x_window): Separate into two alternative definitions.
	Call x_calc_absolute_position here.

	* widget.c (EmacsFrameSetCharSize): Do not attempt to preserve
	the window position.

	* xfns.c (Fx_list_fonts): Doc fix.

	* buffer.c (Vafter_change_functions, Vbefore_change_functions):
	New variables.
	(syms_of_buffer): Set up Lisp vars.
	* buffer.h (Vafter_change_functions, Vbefore_change_functions):
	Declared.

	* insdel.c (before_change_functions_restore): 
	(after_change_functions_restore): New functions.
	(signal_before_change): Handle Vbefore_change_functions.
	(signal_after_change): Handle Vafter_change_functions.

	* cmds.c (internal_self_insert): Test Vafter_change_functions,
	Vbefore_change_functions.

	* xfaces.c (frame_update_line_height): Check param_faces[i] not null.

	* emacs.c (main): Handle EXTRA_INITIALIZE.

	* s/isc4-0.h: New file.

	* keymap.c (get_keymap): Pass 1 as ERROR to get_keymap_1.
	(get_keyelt): New arg AUTOLOAD means load keymaps indirected thru.
	All callers changed; most pass 0.
	(Fdefine_key, Flookup_key): Load all the keymaps we look in.

	* editfns.c (make_buffer_string): Copy properties whenever we
	have some, even if they don't change.

	* xterm.c (x_display_box_cursor): Explicitly clear full height of line.
	(dumpglyphs): New arg just_foreground.  Callers changed.
	(x_set_window_size): Call XSync.

	* xterm.c (note_mouse_highlight): Do nothing if buffer has changed.

	* xterm.c (x_new_font): Fix setting line_height.

	* Support fonts of different heights, using tallest as line height:

	* xfaces.c (frame_update_line_height): New function.
	(Fset_face_attribute_internal): Call that.

	* xterm.c (x_new_font): If frame is new, set line_height field.
	Otherwise call frame_update_line_height.

	* xterm.h (struct x_display): New field line_height.
	(VERTICAL_SCROLL_BAR_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW)
	(CHAR_TO_PIXEL_ROW): Use line_height field.

	* xterm.c (stufflines, scraplines, dumprectangle, x_do_pending_expose)
	(pixel_to_glyph_coords, x_draw_box, clear_cursor, x_display_bar_cursor)
	(x_set_resize_hint, x_set_mouse_position, x_wm_set_size_hint)
	(XTclear_end_of_line, redraw_previous_char): Use line_height field.
	* xfns.c (x_char_height): Use line_height field.
	* widget.c (get_default_char_pixel_size): Use line_height field.
	* dispnew.c (update_line): Use line_height field.
	* xmenu.c (Fx_popup_menu): Use line_height field.

Sat Apr  9 00:14:18 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* indent.c (Fvertical_motion): Use window arg, not selected_window.

Fri Apr  8 11:47:03 1994  Frederic Pierresteguy  (fp@@hal.gnu.ai.mit.edu)

	* xterm.c (show_mouse_face): Change the mouse cursor accordingly.

	* xterm.h (cross_cursor): New field for struct x_display.

	* xfns.c (syms_of_xfns): Define Vx_cross_pointer_shape.
	(Vx_cross_pointer_shape): New variable.
	(Vx_cross_pointer_shape): Create a mouse face cursor for the mouse-face
	properties.

Fri Apr  8 00:37:05 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xmenu.c (Fx_popup_dialog): Doc fix.
	(list_of_items): Handle nil in item list as left/right boundary.
	(push_left_right_boundary): Record the boundary.
	(xmenu_show): Disregard a boundary if any.
	(xdialog_show): Really obey a boundary.

Thu Apr  7 20:40:41 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* intervals.h (Qintangible): New symbol, replacing Qhidden.
	* textprop.c (syms_of_textprop): Initialize it.
	* intervals.c (set_point): Skip past intangible regions.

	* term.c (system_uses_terminfo): New variable.
	(syms_of_term): New function, to initialize it.
	* emacs.c (main): Call syms_of_term.

	* termhooks.h (enum event_kind): Add buffer_switch_event.
	* keyboard.c (kbd_buffer_get_event): Make it lispy.
	(record_asynch_buffer_change): New.  Store it in the event queue.
	* process.c (read_process_output): If buffer changes, record that fact.

	* minibuf.c (Vminibuffer_exit_hook): New variable.
	(read_minibuf): Run hook when exiting minibuffer.

	* xdisp.c (copy_part_of_rope): Replace non-glyph with 0.

	* insdel.c (insert_1): New function, extracted from insert.
	(insert_from_string_1): Likewise, taken from insert_from_string.
	(insert, insert_from_string): Call the new functions.
	(insert_before_markers, insert_from_string_before_markers): Adjust
	the markers before calling the after-change function.

Thu Apr  7 02:25:51 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* scroll.c (struct matrix_elt): Use int, not short.
	Use unsigned char for insertcount and deletecount.
	(INFINITY): Increase to 1000000.

Wed Apr  6 22:01:50 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* minibuf.c (Fminibuffer_prompt_width): Undo previous change.
	* xdisp.c (display_text_line): minibuffer_prompt_width is a
	distance, not an absolute position.

	* editfns.c (Fformat): Reword confusing error message.
	* doprnt.c (doprnt): Likewise.

	* eval.c (Fsetq): Doc fix.

Tue Apr  5 18:52:30 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xdisp.c (display_string): Allow for hpos < 0 when clearing array.

	* indent.c (vmotion): Don't use minibuf_prompt_width if
	window-start has suppressed the prompt.

	* minibuf.c (Fminibuffer_prompt_width): Allow for negative value.

	* buffer.c (Fget_buffer_create): Disallow empty string.

	* keymap.c (describe_buffer_bindings): Move XSYMBOL to after SYMBOLP.
	Exclude trailing null in string copies.

	* indent.c (compute_motion): Add window argument.  All callers changed.

	* minibuf.c (do_completion): gcpro some things.

	* minibuf.c, xdisp.c: Use PT, not point.

Mon Apr  4 22:45:58 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* textprop.c (Fget_char_property): Doc fix.

	* dired.c (file_name_completion): Honor completion-regexp-list.

	* search.c (Freplace_match): Don't capitalize unless all matched
	words are capitalized.

	* buffer.c (verify_overlay_modification): Run modification-hooks
	for any deletion that intersects the overlay.

Mon Apr  4 01:28:18 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Fdo_auto_save): Don't turn off auto save mode.
	Instead, store -1 in b->save_length.  And don't auto save
	if there is -1 there.

	* xterm.c (note_mouse_highlight): Temporarily widen the buffer.

	* xdisp.c (display_text_line): Rename startp to leftmargin.
	Use that, not p1start, when checking for char off left edge.

	* dispnew.c (verify_charstarts): Handle truncation of lines.

	* xdisp.c (mark_window_display_accurate, redisplay):
	Set window_end_valid to the buffer displayed, not Qt.
	* xterm.c (note_mouse_highlight): Check window still shows that buffer.

Sun Apr  3 15:02:56 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (show_mouse_face): Turn off cursor only if it's
	in the area being manipulated.
	(XTupdate_begin): Don't turn off highlight if we aren't updating
	the window that it is in.

	* buffer.c (overlays_at): Fix previous change.

	* lisp.h (gc_in_progress): Declared.

	* xterm.c (note_mouse_highlight): Do nothing if gc_in_progress.
	Set mouse_face_deferred_gc when that case arise.
	(XTframe_up_to_date): If mouse_face_deferred_gc, redo highlighting.

	* xdisp.c (display_text_line): Properly handle charstarts for hscroll,
	and for continuation in mid character.
	(message2): Call frame_up_to_date_hook.

	* xterm.c (undefer_mouse_highlight, defer_mouse_highlight): New fns.
	* alloc.c (Fgarbage_collect): Call ..._mouse_highlight.

	* buffer.c (overlays_at): Use XGCTYPE.

	* buffer.h (OVERLAY_POSITION): Use XGCTYPE.

	* xmenu.c (Fx_popup_dialog): If POSITION is t, use selected frame.

Sat Apr  2 03:40:12 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xdisp.c (redisplay): do_verify_charstarts controls whether to
	call verify_charstarts.
	Fix one-off when checking for the last line.

	* xterm.c (note_mouse_highlight): Reject out-of-range pos value
	before it causes an error.

	* dispnew.c (verify_charstarts): Count right for continued lines.
	(direct_output_for_insert): Add charstarts entry after the new char.
	Use the right point value for the inserted character.

	* xdisp.c (display_text_line): Always store in charstart
	even if at endp.  When clearing charstart, do the whole width.

	* dispnew.c (scroll_frame_lines): When updating charstarts,
	treat all columns alike--don't zero out any.
	Fix end tests of loops over i.
	(adjust_window_charstarts): Fix typo.

	* xterm.c (fast_find_position): Always return coords within the window.

	* xdisp.c (redisplay): Call verify_charstarts.

	* dispnew.c (verify_charstarts): New function.

	* xdisp.c (redisplay): Don't call adjust_window_charstarts
	if on last text line of window.

	* xterm.c (note_mouse_highlight): Handle disable_mouse_highlight.

Fri Apr  1 22:54:01 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* buffer.c (list_buffers_1): Set buffer contents, then mode.

Fri Apr  1 14:15:57 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dispnew.c (scroll_frame_lines): Fix previous changes.

Fri Apr  1 08:06:29 1994  Frederic Pierresteguy  (fp@@hal.gnu.ai.mit.edu)

	* xterm.c (x_wm_set_size_hint): Add USE_X_TOOLKIT conditional and call
	XtGetValues to get the width and the height of the Emacs frame.

	* xdisp.c (update_menu_bar): Pass 0 to set_frame_menubar.

	* widget.c (EmacsFrameSetCharSize): Clean up code.
	Replace XtVaSetValues by XtSetValues.

Fri Apr  1 03:08:23 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (construct_menu_click, construct_mouse_click): 
	Use XSET when setting result->x and result->y.

	* xmenu.c (xmenu_show): Undo part of March 11 change:
	Do call lw_destroy_all_widgets at the end.

	* dispnew.c (scroll_frame_lines): Typo in previous change.
	Arg POS_ADJUST replaced with arg NEWPOS.
	* xdisp.c (try_window_id): Pass new arg to scroll_frame_lines.

	* xdisp.c (redisplay): In previous change, handle case where
	no newline follows.

	* xterm.c (note_mouse_highlight): Use the value from sort_overlays.
	Make the window's buffer current temporarily.
	window_end_pos is relative to Z, not ZV.

Thu Mar 31 19:07:52 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dispnew.c (adjust_window_charstarts): New function.
	(direct_output_for_insert): Call it.
	(make_frame_glyphs): If EMPTY, don't leave junk in ->total_charstarts.

	* xdisp.c (redisplay): Call adjust_window_charstarts
	to update the charstarts of following lines.

Thu Mar 31 17:18:42 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* callproc.c (child_setup): Check out==err when relocating fds.

Thu Mar 31 11:45:48 1994  Frederic Pierresteguy  (fp@@hal.gnu.ai.mit.edu)

	* xfns.c (x_window) [USE_X_TOOLKIT]: When doing geometry management,
	don't compute the size of the menubar if there is no menubar.

Thu Mar 31 11:33:04 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (XTread_socket, MotionNotify and LeaveNotify cases):
	If not in any frame, call clear_mouse_face.

Thu Mar 31 08:08:56 1994  Frederic Pierresteguy  (fp@@geech.gnu.ai.mit.edu)

	* xterm.h: Define HAVE_X11R4 if AIX3_2 is defined.

	* xfns.c (x_window) [USE_X_TOOLKIT]: New args window_prompting and 
	minibuffer_only.
	Don't pass top_pos and left_pos to XtCreatePopupShell.
	Call initialize_frame_menubar before creating the Emacs frame if it is
	not the minibuffer. Call XtManageChild for the menubar widget if any.
	Compute some geometry management.
	(Fx_create_frame): Pass window_prompting and minibuffer_only to 
	x_window.
	Don't call x_wm_set_size_hint.
	Don't call initialize_frame_menubar.

	* xmenu.c (set_frame_menubar): New arg, first_time.
	Don't update the menubar the first time it is created via x_window.
	(initialize_frame_menubar): Pass 1 to set_frame_menubar.

	* widget.c (set_frame_size): Dont compute any geometry management.

Thu Mar 31 03:33:18 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_term_init): Set frame_up_to_date_hook.
	(XTframe_up_to_date): New function.
	* termhooks.h (frame_up_to_date_hook): Declared.
	* term.c (frame_up_to_date_hook): Defined.
	* xdisp.c (redisplay): Call frame_up_to_date_hook.

Wed Mar 30 13:51:05 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* scroll.c (do_scrolling): Handle charstarts like glyphs.

	* dispnew.c (scroll_frame_lines): Handle charstarts like glyphs.
	(direct_output_for_insert): Likewise.
	(preserve_other_columns): Likewise.

	* systty.h (INCLUDED_FCNTL): Define, if include fcntl.h.
	* xterm.c [INCLUDED_FCNTL]: Don't include fcntl.h again.

Wed Mar 30 00:21:30 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* minibuf.c (Fminibuffer_prompt, Fminibuffer_prompt_width): New funcs.

Tue Mar 29 21:29:07 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* indent.c (Fcompute_motion): Doc fix.
	(Fcompute_motion): Don't use XFASTINT on possibly-negative coords.

Tue Mar 29 21:08:59 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dispnew.c (update_line): Update charstarts like glyphs.

Tue Mar 29 19:48:57 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* systime.h (EMACS_TIME_NEG_P): Cast to signed.

Tue Mar 29 03:16:38 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (XTupdate_begin): Turn off mouse face display, and defer it.
	(XTupdate_end): Undefer.
	(mouse_face_defer): New variable.
	(mouse_face_mouse_frame, mouse_face_mouse_x, mouse_face_mouse_y):
	New variables.

	* xfaces.c (compute_char_face): New arg MOUSE.
	(Qmouse_face): New variable.
	(syms_of_xfaces): Initialize Qmouse_face.
	* xterm.c (dumpglyphs): Handle HL = 3 by using mouse_face_face_id.
	(note_mouse_movement): Check for mouse face.
	(show_mouse_face, fast_find_position): New functions.
	(clear_mouse_face): New functions.
	(mouse_face_beg, mouse_face_end, mouse_face_face_id): New variables.
	(mouse_face_window): New variable.
	(syms_of_xterm): Init and staticpro it.

	* xdisp.c (display_text_line): Pass new arg to compute_char_face.
	Fill in charstarts array.
	(display_string): Clear part of charstarts array.

Tue Mar 29 00:57:49 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* window.c (Fwindow_width): Delete unnecessary variable declarations.

	* indent.c (Fcompute_motion): Typecheck all arguments.

Tue Mar 29 00:19:24 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xdisp.c (display_text_line): Fill in charstart values.

	* dispextern.h (struct frame_glyphs): New fields charstarts
	and total_charstarts.
	* dispnew.c (make_frame_glyphs):
	Initialize charstarts, total_charstarts.
	(free_frame_glyphs): Free those fields.

Mon Mar 28 18:01:48 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xdisp.c (display_text_line): Handle selective display at window edge.

	* dired.c (file_name_completion): Don't step on dirname.

	* xterm.c (x_find_modifier_meanings): Skip zero entries.

Mon Mar 28 02:12:55 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dired.c (file_name_completion): Protect things from GC.

	* buffer.c (verify_overlay_modification):
	Copy TAIL before a hook, in case the hook recenters the overlay lists.

	* s/dgux.h (LIBS_SYSTEM): Commented out.

Sun Mar 27 02:51:32 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Vinhibit_file_name_handlers): New var.
	(syms_of_fileio): Set up Lisp var.
	(Ffind_file_name_handler): Obey the variable.

	* minibuf.c (Vcompletion_regexp_list): New var.
	(syms_of_minibuf): Set up Lisp var.
	(Ftry_completion, Fall_completions):
	Limit possible completions to strings matching those regexps.

	* search.c (Freplace_match): Doc fix.

Sat Mar 26 02:20:06 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* minibuf.c (read_minibuf): Return val via unbind_to.

Fri Mar 25 14:17:19 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* commands.h (this_command, last_command): Declared.

	* minibuf.c (Fminibuffer_complete): Scroll the completion window
	in some cases.

	* print.c (debug_print): New function.
	* .gdbinit (pr): Use debug_print.

Fri Mar 25 01:06:02 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* frame.c (Fframe_first_window): New function.

Thu Mar 24 19:29:49 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* editfns.c (Fformat): Validate number and type of arguments.

	* xmenu.c (xmenu_show): Enable asynchronous events.

	* keymap.c (Fwhere_is_internal): Skip duplicate keybindings.

	* xfns.c (x_report_frame_params): Sample visibility.
	(x_get_arg): Use downcased string in compare.

	* process.c (status_notify): Use assignment, not initialization.
	* textprop.c (add_properties, remove_properties): Ditto.
	* window.c (unshow_buffer, window_loop, Fdisplay_buffer): Ditto.
	* xdisp.c (x_consider_frame_title, decode_mode_spec): Ditto.
	* xfns.c (x_set_frame_parameters, x_get_arg, x_window,
	Fx_create_frame, Fx_create_frame): Ditto.
	* xselect.c (x_get_local_selection, x_handle_selection_request): Ditto.
	* xterm.c (x_window_to_scroll_bar, x_new_font): Ditto.

Thu Mar 24 02:34:37 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* xfns.c (Fx_create_frame): Add USE_X_TOOLKIT conditional around the 
	call to initialize_frame_menubar.

Wed Mar 23 23:09:15 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* intervals.c (verify_interval_modification): For insertion in
	middle of an interval, use the same criterion as between intervals
	for whether read-only forbids it.

Wed Mar 23 15:08:42 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* alloc.c (make_event_array): Use assignment, not initialization.
	* buffer.c (sort_overlays, Fmake_overlay): Ditto.
	* callint.c (check_mark, Fcall_interactively): Ditto.
	* callproc.c (call_process_cleanup, getenv_internal): Ditto.
	* cmds.c (internal_self_insert): Ditto.
	* data.c (store_symval_forwarding, Fsymbol_value): Ditto.
	* fileio.c (Finsert_file_contents): Ditto.
	* filelock.c (lock_file): Ditto.
	* frame.c (next_frame, prev_frame, other_visible_frames,
	Fdelete_frame): Ditto.
	* intervals.c (adjust_intervals_for_insertion,
	merge_properties_sticky, delete_interval): Ditto.
	* keymap.c (access_keymap, store_in_keymap, Fcopy_keymap,
	Fdefine_key, Faccessible_keymaps, Fwhere_is_internal): Ditto.
	* lread.c (read_filtered_event, intern): Ditto.
	* minibuf.c (read_minibuf): Ditto.
	* msdos.c (run_msdos_command): Ditto.

	* sysdep.c (reset_sys_modes): Turn off O_NDELAY.

	* window.c (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fix.

	* frame.c (do_switch_frame): Common code for Fselect_frame and
	handle_switch_frame.

	* xfns.c (x_get_focus_frame): New function.

Wed Mar 23 13:06:24 1994  Frederic Pierresteguy  (fp@@geech.gnu.ai.mit.edu)

	* xmenu.c (update_frame_menubar): Function renamed from 
	update_one_frame_psheets.
	(initialize_frame_menubar): New function.
	(set_frame_menubar): Call menu_bar_items when items is NIL.

	* xfns.c (Fx_create_frame): Call initialize_frame_menubar.

Wed Mar 23 00:06:59 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c (reset_buffer): Init auto_save_failure_time slot.

Tue Mar 22 23:51:23 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keymap.c: (where_is_string, Fwhere_is): Deleted.
	(syms_of_keymap): Corresponding changes.

Tue Mar 22 16:58:12 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* keymap.c (Fdefine_key): Check for non-events in keyvector.

	* minibuf.c (read_minibuf): Don't redirect focus unless minibuf is
	on another frame.

	* lread.c (read1): Check for invalid modifier bits in a string.
	(unreadchar): Don't back up the pointer when unreading EOF.

Tue Mar 22 13:30:49 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* callproc.c (Fcall_process): Make sure to close descriptors.
	(call_process_cleanup): Always close descriptor.

Tue Mar 22 09:35:36 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* widget.c (set_frame_size): Put #if 0 around a lot of useless code.
	Compute explicitely the geometry of the toplevel widget.
	Call XtSetValues not XtVaSetValues.

Tue Mar 22 00:18:00 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* emacs.c (__do_global_ctors, __do_global_ctors_aux)
	(__do_global_dtors): Don't define if GCC_CTORS_IN_LIBC.
	(__CTOR_LIST__, __DTOR_LIST__): Likewise.

Mon Mar 21 23:23:09 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (init_keyboard): Don't handle SIGINT if using X.

Mon Mar 21 20:20:21 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* keyboard.c (add_command_key): Use assignment, not initialization.
	(command_loop_1, read_char, kbd_buffer_store_event,
	kbd_buffer_get_event, make_lispy_event, make_lispy_movement,
	apply_modifiers_uncached, parse_modifiers, apply_modifiers,
	reorder_modifiers, read_key_sequence): Ditto.

Mon Mar 21 19:11:33 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* data.c (Qwholenump): New variable.
	(syms_of_data): Set and gcpro Qwholenump.
	* lisp.h (Qwholenump): Declared.
	(CHECK_NATNUM): Use Qwholenump.

Mon Mar 21 17:43:49 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* keymap.c (Fcopy_keymap): Account for menus and equiv-key cache.
	(Fkeymapp): Doc fix.

Mon Mar 21 01:56:39 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* data.c (Fstring_to_number): Doc fix.

Sun Mar 20 20:38:15 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* data.c (Fmake_local_variable): Void variables stay void.

Sun Mar 20 00:27:55 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* alloca.c, alloca.s, gmalloc.c: Make them symlinks again.

	* fns.c (Fy_or_n_p, Fyes_or_no_p): Call Fx_popup_dialog the new way.
	(Fyes_or_no_p): Always display just one dialog box
	whether or not USE_X_TOOLKIT.

Sat Mar 19 00:34:21 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xmenu.c (xdialog_show): Delete args x, y.
	(Fx_popup_dialog): Don't pass those args; don't compute them.
	Second arg is now just one pane.  Lots of simplification.
	Always start by decoding POSITION arg to get a frame.
	[! USE_X_TOOLKIT]: Put the menu in middle of that frame.

	* s/freebsd.h (HAVE_TERMIOS, NO_TERMIO): Defined.

	* Makefile.in.in (emacs): rm emacs before the ln.
	(tagsfiles): Accept capital letters.

	* process.c (wait_reading_process_input, both versions): Don't call
	redisplay_preserve_echo_area unless do_display.

	* emacs.c (syms_of_emacs): Don't initialize Vinstallation_name
	and Vinstallation_directory.

	* fns.c (Fyes_or_no_p) [USE_X_TOOLKIT]: Display just one menu.

	* xmenu.c (Fx_popup_dialog, Fx_popup_menu): Require 2 args.
	(Fx_popup_dialog): Don't fail to set X, Y from POSITION.
	(xdialog_show): Call lw_modify_all_widgets properly.
	Generate dialog's name at run time to specify number of buttons.
	Report error if too many buttons to handle or if multiple panes.

Fri Mar 18 21:35:32 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* lisp.h (MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): Handle termcap
	frames as well as X.
	(FAST_MAKE_GLYPH, FAST_GLYPH_CHAR, FAST_GLYPH_FACE): New macros.
	* xdisp.c (fix_glyph): Handle termcap frames as well as X.
	(display_text_line, copy_part_of_rope, display_mode_line): Ditto.
	* dispnew.c (direct_output_for_insert): Ditto.
	* xterm.c (dumpglyphs): Use the fast macros.

Fri Mar 18 01:57:20 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xmenu.c (list_of_items): Arg to push_menu_item was missing.

Fri Mar 18 01:27:10 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* Makefile.in.in (LIBXT): Add -lXext.

Fri Mar 18 00:19:14 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* s/netbsd.h (LD_SWITCH_SYSTEM): Undo previous change.

Thu Mar 17 23:18:01 1994  Jim Blandy  (jimb@@totoro.bio.indiana.edu)

        * indent.c (compute_motion): Doc fixes.

Thu Mar 17 22:21:51 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* Makefile.in.in (X_WINDOWS_SUPPORT): New macro.
	(lisp): Include X_WINDOWS_SUPPORT.  Also add version.el; it is no
	longer changed by building.

Thu Mar 17 17:37:52 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* process.c (create_process): Skip the ioctl if fd is -1.

	* lread.c (openp, Fload): GCPRO some things.
	* callproc.c (Fcall_process): Ditto.
	* process.c (Fstart_process): Ditto.

	* s/netbsd.h (LD_SWITCH_SYSTEM, HAVE_WAIT_HEADER): Define these.

Wed Mar 16 17:42:50 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* data.c (Fchar_or_string_p, Fintegerp, Fnatnump): Doc fix.

	* minibuf.c (read_minibuf): Disallow trailing junk.

Wed Mar 16 17:13:08 1994  Morten Welinder (terra@@diku.dk)

	* fileio.c (Ffile_modes) [MSDOS]: set exec-bit based on file suffix.
	* s/msdos.h: use bcopy when moving gap.

Wed Mar 16 01:11:48 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* fns.c (Frandom): Eliminate bias in random number generator.

	* floatfns.c (FLOAT_TO_INT, FLOAT_TO_INT2, range_error2): New macros.
	(ceiling, floor, round, truncate): Use them.

Tue Mar 15 18:00:26 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xdisp.c (redisplay): Don't consider minibuffer name for frame title.
	(update_menu_bar): Delete unused second argument.  Callers changed.

	* fileio.c (Frename_file, Fcopy_file, Fadd_name_to_file,
	Fmake_symbolic_link): Fix typo in previous change.

	* s/netbsd.h (LOCALTIME_CACHE): Define this symbol.

Tue Mar 15 13:45:51 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Frename_file): Use RETURN_UNGCPRO when run handler.
	(Fcopy_file, Fadd_name_to_file, Fmake_symbolic_link): Likewise.

Tue Mar 15 01:34:08 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xdisp.c (message1): Call message2 instead of duplicating code.

Mon Mar 14 16:34:24 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* floatfns.c (Flogb): Check for 0.0.  Emulate logb if needed.

	* xterm.c (x_scroll_bar_expose): Don't make the right border thicker.
	* xterm.h (VERTICAL_SCROLL_BAR_RIGHT_BORDER): Change from 3 to 2.

	* frame.c (terminal-frame) [! MULTI_FRAME]: Create this variable.

	* minibuf.c (read_minibuf): Make minibuffer frame visible when
	minibuffer activated.

	* frame.c (Fhandle_switch_frame): Ignore switch to dead frame.

	* fileio.c (Fread_file_name): Delete docstring of second version.
	* frame.c (framep, selected-frame, frame-char-height, frame-char-width,
	frame-pixel-height, frame-pixel-width, set-frame-height,
	set-frame-width, set-frame-size): Ditto.

	* buffer.c (buffer-display-table, buffer-undo-list): Ditto.

	* xdisp.c (redisplay_window): Avoid dividing negative numbers.
	* window.c (window_scroll, Fmove_to_window_line): Ditto.
	* search.c (search_buffer): Avoid boolean/integer confusion.

	* dispnew.c (Fredraw_frame) [! MULTI_FRAME]: Make noninteractive.

Mon Mar 14 15:00:59 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xmenu.c (Fx_popup_dialog, Fx_popup_menu): Handle case where
	mouse_position_hook doesn't store anything.

Mon Mar 14 11:39:49 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* widget.c (EmacsFrameSetCharSize): Set the values of left_pos and
	top_pos to the values of the toplevel widget coordinates.

Sun Mar 13 17:58:04 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xmenu.c (Fx_popup_dialog) [! USE_X_TOOLKIT]: Call Fx_popup_menu.

	* indent.c (Fvertical_motion): New optional arg WINDOW.
	* window.c (Fdelete_other_windows): Pass new arg to Fvertical_motion.
	(window_scroll, Frecenter, Fmove_to_window_line): Likewise.

	* fileio.c (Finsert_file_contents): Don't let same_at_end be less
	than same_at_start.

Sat Mar 12 19:35:08 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* puresize.h (PURESIZE): Reduce to 230000.

Fri Mar 11 18:13:13 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* floatfns.c (Fexpt): Delete extraneous `for' statement.

	* process.c (get_process): Allow arg to be a buffer object.

	* xdisp.c (x_consider_frame_title): New function, extracted from
	display_mode_line.
	(redisplay): Update frame title on iconified frames.

Fri Mar 11 05:13:25 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* xmenu.c (xdialog_show): New function to handle the display of dialog
	boxes.
	(Fx_popup_dialog): New function.
	(dialog_selection_callback): New function.
	(xmenu_show) [USE_X_TOOLKIT]: Don't call lw_destroy_all_widgets at the
	end.
	Do the work of construct_mouse_click in the ButtonRelease case.

	* Makefile.in (LIBXT): Add -lXext to the list.

	* widget.c (EmacsFrameSetCharSize): Call XawPanedSetRefigureMode.
	Call XtSetValues not XtVaSetValues.

	* fns.c (Fyes_or_no_p): Call Fx_popup_dialog instead of Fx_popup_menu.
	(Fy_or_n_p): Likewise.

Thu Mar 10 17:54:00 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* filelock.c (lock_superlock): Synchronize NFS cache.

	* search.c (Fre_search_forward, Fre_search_backward): Doc fix.

Thu Mar 10 00:00:02 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* indent.c (compute_motion): Initialize prev_hpos.

	* keyboard.c (command_loop_1): On entry, set this_command
	after running Vpost_command_hook.

	* puresize.h (PURESIZE): Increment to 240000.

	* xmenu.c (Fx_popup_menu): If POSITION is nil,
	don't require an open X connection.
	(single_keymap_panes, keymap_panes, menu_item_enabled_p):
	New arg NOTREAL.
	(Fx_popup_menu): Pass new arg (1 if POSITION is nil).
	(menu_item_enabled_p): If NOTREAL, always return t.

	* xmenu.c (single_keymap_panes) [!USE_X_TOOLKIT]:
	Append > to item_string if submenu.

Wed Mar  9 17:05:04 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xmenu.c [USE_X_TOOLKIT]: Display submenus in Xt style.
	(menu_items): Record where submenus start and end.
	(menu_items_submenu_depth): New variable.
	(init_menu_items): Init it.
	(push_submenu_start, push_submenu_end): New functions.
	(grow_menu_items): New function.
	(push_menu_pane, push_menu_item): Use it.
	(push_menu_pane): Increment menu_items_n_panes only if depth is 0.
	(single_keymap_panes) [USE_X_TOOLKIT]: Record submenus in menu_items.
	(xmenu_show) [USE_X_TOOLKIT]: Give submenus to toolkit.

	* xdisp.c (display_mode_line): Highlight partial-width mode lines
	for a non-termcal frame.

	* lisp.h (GLYPH_MODE_LINE_FACE): New macro.

	* callproc.c: Don't kill remaining processes if child exits.
	(call_process_exited): New variable.
	(Fcall_process): Set it.
	(call_process_cleanup): Test it.

Wed Mar  9 01:02:07 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* window.c (Fselect_window): Undo previous minibuffer patch.
	* callint.c (Fcall_interactively): Don't select an active minibuffer.

Wed Mar  9 00:56:31 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* window.c (window_loop): Delete MULTI_FRAME
	conditional within the loop, spuriously added in prev change.
	Don't ignore invisible or iconified frames for GET_BUFFER_WINDOW;
	instead, let Fnext_window skip them if appropriate.

Tue Mar  8 23:16:53 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* window.c (Fselect_window): Don't select an inactive minibuffer.

Tue Mar  8 11:32:28 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* window.c (Fdisplay_buffer): If pop_up_frames != 0,
	consider just visible frames when looking for existing window.

	* undo.c (syms_of_undo): staticpro pending_boundary.

Tue Mar  8 01:20:31 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* process.c (send_process) [_PC_MAX_CANON]: Also test #ifdef
	HAVE_FPATHCONF before trying to use fpathconf.
	* config.h.in: Add #undef HAVE_FPATHCONF.

	* term.c (term_get_fkeys_data): Variable removed.
	(term_get_fkeys_define_1, term_get_fkeys_define): Functions removed.
	(term_get_fkeys_address): New variable, to pass arg through
	condition-case.
	(term_get_fkeys): Set that to ADDRESS; just do condition-case
	around call to term_get_fkeys_1, ignoring all errors.
	(term_get_fkeys_1): New function, containing body of term_get_fkeys.
	Don't use term_get_fkeys_define_1; call Fdefine_key directly.

Tue Mar  8 00:02:18 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* window.c (Fprevious_window, Fnext_window): ALL_FRAMES = visible
	means consider only visible frames.
	(window_loop): Likewise for FRAMES.
	(Fget_buffer_window, Fget_largest_window, Fget_lru_window): Doc fix.
	(Fdelete_windows_on): Doc fix.

	* frame.c (next_frame, prev_frame): If MINIBUF is `visible',
	consider only visible frames.
	(Fnext_frame, Fprevious_frame): Doc fix.
	(syms_of_frame): Staticpro Qvisible.
	* lisp.h (Qvisible): Declared.

Mon Mar  7 19:03:50 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* indent.c (Fcompute_motion): New function.

	* window.c (Fwindow_width): Doc fix.

Mon Mar  7 13:38:51 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* doprnt.c (doprnt): Do the right thing for negative size spec.

	* minibuf.c (temp_echo_area_glyphs): Use quit_char, not C-g.
	(Fminibuffer_complete, Fminibuffer_complete_word): Doc fix.
	(get_minibuffer): Make name buffer large enough.

	* window.c (Fscroll_other_window): Doc fix.

Sun Mar  6 00:59:52 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* alloc.c (mark_object): Add no-op cast.

	* eval.c (error): Use doprnt.  Make buffer larger as necessary.

	* casefiddle.c (operate_on_word): Don't move point; store in *NEWPOINT.
	(Fupcase_word, Fdowncase_word, Fcapitalize_word):
	Set point after changing case.  Rename opoint to beg.

	* undo.c (pending_boundary): New variable.
	(syms_of_undo): Initialize it.
	(Fundo_boundary): Use pending_boundary.
	(record_insert, record_delete, record_property_change):
	Set pending_boundary.

Sat Mar  5 15:17:47 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* vmsproc.c: Include config.h, lisp.h, buffer.h, process.h, commands.h,
	errno.h and file.h.
	(write_to_vms_process): Change =- to -=.
	(create_process): Set status field instead of obsolete flags field.
	(child_sig): Likewise.

	* emacs.c (shut_down_emacs): Set Vrun_hooks to nil.
	* minibuf.c (read_minibuf):  Don't call Vrun_hooks if it is nil.
	* keyboard.c (command_loop_1, read_key_sequence, Fcommand_execute):
	Don't call Vrun_hooks if it is nil.
	* editfns.c (save_excursion_restore): Don't call Vrun_hooks if nil.
	* buffer.c (Fkill_buffer, Fkill_all_local_variables):
	Don't call Vrun_hooks if it is nil.

	* fileio.c (Fdo_auto_save): Doc fix.

	* lisp.h (ARRAY_MARK_FLAG): Define here.
	* alloc.c (ARRAY_MARK_FLAG): Not here.

Fri Mar  4 22:56:25 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* keyboard.c (command_loop_1): Fix misplaced assignment of
	last_point_position.

Fri Mar  4 16:20:16 1994  Paul Eggert  (eggert@@twinsun.com)

	* data.c (isnan): New macro.
	(float_arith_driver): min and max yield NaN if any argument is a NaN.

Fri Mar  4 04:07:43 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* xmenu.c (update_one_frame_psheets): Call EmacsFrameSetCharSize to 
	force the paned widget to resize to the right value.
	(xmenu_show): No need to check a second time whether the mouse has
	moved to another menu bar item. This slows down execution.

	* widget.c (EmacsFrameSetCharSize): Don't call XtMakeResizeRequest. Use
	XtVaSetValues for geometry management.

Fri Mar  4 02:52:41 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* xmenu.c [USE_X_TOOLKIT] (xmenu_show): Pass display to 
	XtWindowToWidget.

Thu Mar  3 23:18:35 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* search.c (skip_chars): Treat `-' as alias for space, if syntaxp.

	* fileio.c (Finsert_file_contents): Pass del_range_1 two ends,
	not a length.

Thu Mar  3 20:07:16 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* process.h (chan_process): Don't specify size.

Thu Mar  3 12:35:19 1994  Karl Heuer  (kwzh@@mole.gnu.ai.mit.edu)

	* fileio.c (Fread_file_name):  Do the right thing when
	insert-default-directory is nil.
	Allow for doubled dollar signs in dir when computing pos.

	* commands.h: New variable last_point_position.
	* keyboard.c (command_loop_1): Set it to the value of point.
	* undo.c (record_delete): Save this value in the undo record,
	rather than the current value of point.)

	* buffer.c (Fget_file_buffer): Doc fix.

	* s/aix3-2.h (C_SWITCH_SYSTEM): Increase maxmem when using IBM's
	compiler.

Wed Mar  2 11:49:28 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (chan_process, Vprocess_alist): No longer static.
	* process.h (chan_process, Vprocess_alist): Declared.

	* puresize.h (PURESIZE) [MULTI_FRAME]: Incremented to 230000.

	* minibuf.c (Fdisplay_completion_list): Restore original buffer
	before running completion-setup-hook.

	* frame.c (Fdelete_frame): Don't initialize a Lisp_Object.
	Clean up line breaks.

	* process.c: Include unistd.h.
	(pty_max_bytes): New variable.
	(send_process): Send an eof after each pty_max_bytes bytes.

	* keyboard.c (menu_bar_items): When moving an item to the end,
	shift all the following ones forward one slot.

Wed Mar  2 00:00:24 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xfns.c (Fx_list_fonts): Avoid confused increment of info.

	* syntax.c (Fforward_comment): Do the right thing at eob.

Tue Mar  1 22:22:39 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (menu_bar_items): Accept old vector as arg.
	Return a vector.
	(menu_bar_one_keymap, menu_bar_item): Associated changes.
	(make_lispy_event): Use FRAME_MENU_BAR_LINES as vector.
	* frame.c (make_frame): Init menu_bar_items field to 0.
	* xdisp.c (update_menu_bar): Change call to menu_bar_items.
	(display_menu_bar): Use FRAME_MENU_BAR_LINES as vector.
	* xmenu.c (map_event_to_object, set_frame_menubar): 
	Use FRAME_MENU_BAR_LINES as vector.

Tue Mar  1 22:17:37 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* s/aix3-2.h: Use -g with the native compiler.
	* s/aix3-2-5.h: New file.  Use -O with the native compiler.

Tue Mar  1 19:14:25 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* lisp.h (struct handler): New field chosen_clause.
	* eval.c (Fsignal): Record the clause in chosen_clause.
	(Fcondition_case, internal_condition_case): Look there.
	(internal_condition_case_1): Look there.

	* fileio.c (Finsert_file_contents): If undo_list was t, leave it t.

	* alloc.c (memory_signal_data): No longer static. 
	(syms_of_alloc): Stick Qerror onto memory_signal_data.
	* lisp.h (memory_signal_data): Declare it.
	* eval.c (Fsignal): If DATA is memory_signal_data, don't add to it.

Mon Feb 28 15:16:57 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* alloc.c (memory_full): Use new variable memory_signal_data with
	precomputed value instead of trying to build it after memory is
	already exhausted.

Mon Feb 28 07:53:35 1994  Frederic Pierresteguy  (F.Pierresteguy@@frcl.bull.fr)

	* xmenu.c (xmenu_show): Test XtWindowToWidget before inserting into
	the event_queue.

	* xterm.c (XTread_socket): For case ClientMessage and
	Xatom_wm_delete_window, use x_any_window_to_frame.

Sat Feb 26 04:26:38 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/sol2-3.h (LD_SWITCH_SYSTEM): New definitions, with #undef.

	* insdel.c (del_range_1): New function.
	(del_range): Use it.
	* fileio.c (Finsert_file_contents): Use del_range_1.

Sat Feb 26 00:51:41 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* keyboard.c (Fsuspend_emacs): New variable cannot-suspend forces
	a subshell even if the system seems to support job control.
	* sysdep.c (sys_subshell): New function, split from sys_suspend.

Fri Feb 25 22:50:34 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* window.c (Fset_window_configuration): Allow for menu-bar-lines
	to have changed since the configuration was created.

Fri Feb 25 22:41:47 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (Vsystem_key_alist): Renamed from Vvendor_key_alist.
	(syms_of_keyboard): Rename Lisp var to system-key-alist.

Fri Feb 25 16:20:33 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* buffer.h (OVERLAY_POSITION): Don't check which buffer it points to.

	* lisp.h: Delete extra backslash on last line of macro.

	* xdisp.c (display_text_line): Allow for invisible overlays in
	next_invisible lookahead.
	* indent.c (compute_motion): Likewise.

Fri Feb 25 04:07:27 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* widget.c (EmacsFrameSetCharSize): Set coordinates values to the
	toplevel widget.

	* xterm.c (XTread_socket): For case ConfigureNotify, call
	x_any_window_to_frame.
	[USE_X_TOOLKIT]: Call XTranslateCoordinates for case ConfigureNotify
	when send_event is 0 and when the event is relative to toplevel widget.

	* widget.c (EmacsFrameSetCharSize): Call check_frame_size and update
	vertical_scroll_bar_extra.
	Call SET_FRAME_GARBAGED.

Thu Feb 24 16:49:42 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* lread.c (Fload): Cast the args to stat.

Thu Feb 24 14:06:33 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xdisp.c (try_window): Add #ifdef USE_TEXT_PROPERTIES around call
	to Fget_text_property.

	* textprop.c (Fget_char_property): New function.
	* buffer.c (sort_overlays): Allow for null window.
	* xdisp.c (try_window, display_text_line): Use Fget_char_property
	to test for invisibility.
	* indent.c (compute_motion, vmotion): Likewise.
	* dispnew.c (direct_output_forward_char): Likewise.

Thu Feb 24 07:51:48 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* xfns.c (x_window): Call XChangeWindowAttributes with the standard
	event set to make all these events reach the Emacs frame.

Thu Feb 24 00:40:01 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xmenu.c (Fx_popup_menu): Allow t as position, meaning use mouse pos.

	* fns.c (Fy_or_n_p): Use a popup menu if reached via mouse command.
	(Fyes_or_no_p): Likewise.

	* unexelf.c (ELF_BSS_SECTION_NAME): New macro (config.h may override).
	(unexec): Use it.

Wed Feb 23 22:46:50 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c (Fkill_buffer): Call the Vkill_buffer_query_functions.
	(syms_of_buffer): Make Lisp var for kill-buffer-query-functions.

Tue Feb 22 19:02:48 1994  Karl Heuer  (kwzh@@geech.gnu.ai.mit.edu)

	* lisp.h: New variable Vdoc_directory.
	* doc.c (get_doc_string, Snarf_documentation): Use it.
	* callproc.c (syms_of_callproc, init_callproc_1): Initialize it.
	* paths.h.in: Define PATH_DOC for default doc-directory.

Tue Feb 22 17:25:30 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (make_lispy_movement, make_lispy_event):
	In non-scrollbar mouse case, return coords in pixel units.

	* frame.c (Fmouse_position): Convert to glyph units.

	* xterm.c (construct_mouse_click): Don't convert to glyph units.
	(XTmouse_position): Don't convert to glyph units.
	* msdos.c (mouse_get_pos): Don't convert to glyph units.

	* fileio.c (Finsert_file_contents): If REPLACE, always do lseek.
	Exit main loop if INSERTED reaches TOTAL.

Tue Feb 22 16:50:43 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (XTmouse_position): Use x_any_window_to_frame.

Tue Feb 22 14:41:31 1994  Karl Heuer  (kwzh@@mole.gnu.ai.mit.edu)

	* emacs.c: Move extern declarations to top of file.

Mon Feb 21 03:33:08 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (make_lispy_event): For menu bar event in USE_X_TOOLKIT
	case, convert x position to glyphs after map_event_to_object.
	Call window_from_coordinates later on.

	* xmenu.c (menu_item_equiv_key): Cached equiv-key data is a sublist.
	* keymap.c (get_keyelt): Cached equiv-key data is now a sublist.

	* xterm.c (x_had_errors_p): New function.
	(construct_menu_click):	Move function after pixel_to_glyph_coords.

	* xmenu.c: Most of file rewritten.
	(menu_items, menu_items_*): New variables.
	(MENU_ITEMS_*): New macros.
	(init_menu_items, discard_menu_items, push_menu_pane, push_menu_item)
	(finish_menu_items): New functions.
	(menu_item_enabled_p): New function.
	(keymap_panes, single_keymap_panes): Major rewrite; most args changed.
	(list_of_panes, list_of_items): Major rewrite; most args changed.
	(Fx_popup_menu): Major rewrite.  Now independent of display mechanism.
	No more conditionals here.
	(set_menu_items, free_menu_items): Functions deleted.
	(xmenu_show): Both versions rewritten to work from menu_items
	and to do all the conditionalized things that were in Fx_popup_menu.
	(unread_menu_bar_button, other_menu_bar_item_p): New functions.
	(check_mouse_other_menu_bar): New function.

	* xterm.c [!USE_X_TOOLKIT] (x_any_window_to_frame):
	Define as x_window_to_frame.

Sun Feb 20 14:34:19 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* unexsunos4.c: Move config.h after system includes.

	* syswait.h [BSD]: #undef WCOREDUMP before defining it.

Sat Feb 19 00:43:59 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* frame.c (Fframe_visible_p): Do FRAME_SAMPLE_VISIBILITY first.

	* xterm.c (XTread_socket--cases KeyPress, EnterNotify, LeaveNotify)
	(cases FocusIn, FocusOut): Use x_any_window_to_frame.

	* xfns.c (x_window_to_frame): Add parens for clarity.

	* xmenu.c: Find and display keyboard equivalents of menu items.
	(menu_item_equiv_key): New function.
	(single_keymap_panes): Call it.  Properly skip help-string if any.
	Rename item2 to item_string.
	GCPRO some things.
	(menu_item_equiv_key): Use either VECTORP or STRINGP, not both.

	* keymap.c (get_keyelt): Discard keyboard equivalents stored in a
	menu keymap element.

Fri Feb 18 05:58:51 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* widget.c (get_default_char_pixel_size): Clean up code.
	Remove code inside #if 0 directive.

	* xmenu.c (popup_selection_callback): Clean up code. Remove code inside
	#if 0 directive.
	(popup_down_callback): Likewise.

Fri Feb 18 01:09:26 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (restore_point_unwind): New function.
	(Finsert_file_contents): In REPLACE case, set point and restore it.

	* gnu.h (gnu_bits): Use unsigned char.

	* bitmaps/*.xbm: Use unsigned char, not char.

	* window.c (unshow_buffer): Unconditionally set last_window_start.

Thu Feb 17 00:29:23 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* window.c (Fdelete_other_windows): Don't call Frecenter;
	do it by hand and avoid setting w->force_start.

	* xterm.c (dumpglyphs): Try various alternatives for foreground color
	of a glyph with the cursor on it.

	* dosfns.c, msdos.c, widget.c: Use <...> for config.h.

	* fileio.c (Finsert_file_contents): New arg REPLACE.
	New feature to replace buffer contents with file contents.

Wed Feb 16 18:43:33 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* systty.h (EMACS_TTY_TABS_OK): Alternate definition if no TABDLY.

	* s/bsd4-2.h, s/dgux.h, s/rtu.h, s/umax.h (BSD_PGRPS): Defined.
	* s/netbsd.h, s/bsd386.h (BSD_PGRPS): Add #undef.
	* sysdep.c (init_sys_modes, reset_sys_modes): Test BSD_PGRPS.
	(narrow_foreground_group, widen_foreground_group): Define if BSD_PGRPS.

	* sysdep.c (child_setup_tty): Use IUCLC, OLCUC, NLDLY only if defined.

	* emacs.c (main): Test BSD_PGRPS, not BSD.

	* s/netbsd.h (TAB3): Defined.
	(NEED_ERRNO, NO_TERMIO, HAVE_TERMIOS, HAVE_UNION_WAIT): Defined.

	* sysdep.c (init_sys_modes): IEXTEN is in c_lflag, not c_iflag.

	* unexmips.c (unexec): Add cast to result of `sbrk'.

Tue Feb 15 16:18:55 1994  Chris Hanson  (cph@@klia.ai.mit.edu)

	* s/newsos5.h: Include usg5-4.h.
	(LIBS_SYSTEM, LINKER, START_FILES, LIB_STANDARD):
	Definitions moved here.

	* m/news-risc.h [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
	(LD_SWITCH_MACHINE): Definitions moved here.

	* m/mips.h: NEWSOS5 conditional deleted.
	[NEWSOS5] (START_FILES, LIB_STANDARD, C_DEBUG_SWITCH)
	(C_OPTIMIZE_SWITCH, LD_SWITCH_MACHINE): Definitions moved away.

Tue Feb 15 11:16:37 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c (Fx_parse_geometry): Don't call check_x.

	* sysdep.c (sys_write): If any bytes were written, return how many.

	* xterm.c (XTread_socket): Do not assume that select returning
	immediately with no events implies a hangup.

Mon Feb 14 14:41:27 1994  Karl Heuer  (kwzh@@geech.gnu.ai.mit.edu)

	* xterm.h (check_x): Declare it.
	* xfns.c (check_x): Make it global.
	(Fx_parse_geometry, Fx_list_fonts, Fx_close_current_connection):
	call check_x.

	* xmenu.c (Fx_popup_menu): Likewise.
	* xselect.c (Fx_own_selection_internal, Fx_get_selection_internal,
	Fx_disown_selection_internal, Fx_rotate_cut_buffers_internal,
	Fx_selection_exists_p, Fx_get_cut_buffer_internal,
	Fx_store_cut_buffer_internal, Fx_selection_owner_p): Likewise.

	* indent.c (indented_beyond_p): New function.
	(compute_motion, vmotion): Use it to treat blank lines specially
	in selective display.
	* xdisp.c (try_window_id, display_text_line): Likewise.

Sun Feb 13 17:19:44 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* s/netbsd.h (BROKEN_START, TEXT_START): Don't define.
	(HAVE_TEXT_START): Define this instead.
	* sysdep.c (start_of_text): Don't define #ifdef HAVE_TEXT_START.

Sat Feb 12 17:32:02 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xdisp.c (decode_mode_spec): Support %+.

	* keyboard.c (command_loop_1):
	On entry, set last_command to this_command.

	* term.c (term_init): If no `se', use `me';
	if no `me' either, don't use standout mode at all.

Fri Feb 11 20:56:24 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Makefile.in.in (${libsrc}make-docfile): Don't pass ../arch-lib
	as target to submake.

Fri Feb 11 17:32:15 1994  Karl Heuer  (kwzh@@mole.gnu.ai.mit.edu)

	* sysdep.c [USG]: Fix conditional includes.

	* m/convex.h, m/ibmps2-aix.h, m/ibmrs6000.h, m/tekxd88.h,
	s/386bsd.h, s/bsd386.h, s/dgux.h, s/irix3-3.h, s/linux.h,
	s/netbsd.h, s/usg5-4.h: Delete HAVE_SETSID; configure checks for
	that.

	* xrdb.c (gethomedir): Look at LOGNAME before USER.

	* editfns.c (Fuser_real_login_name): Doc fix.

Fri Feb 11 17:06:30 1994  Paul Eggert  (eggert@@twinsun.com)

	* editfns.c (init_editfns): Look at LOGNAME before USER.
	* fileio.c (Fsubstitute_in_file_name): Remove long-dead code
	that looked at USER before LOGNAME.

Fri Feb 11 13:54:19 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c (syms_of_buffer): Doc fix.

	* xdisp.c (decode_mode_spec): Implement `P'.

Fri Feb 11 12:52:15 1994  Charles Hannum  (mycroft@@duality.gnu.ai.mit.edu)

	* s/netbsd.h (KERNEL_FILE, LDAV_SYMBOL): Undefine and leave them
	that way.
	(LIBS_TERMCAP): Define.  Native libtermcap is better than the Emacs
	version, and knows the correct path.
	(N_PAGSIZ, N_BSSADDR, N_TRELOFF): Don't redefine if they already
	exist (i.e. under NetBSD >0.9).

Fri Feb 11 12:33:02 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* s/netbsd.h (SYSV_SYSTEM_DIR): Define.
	(BROKEN_START, TEXT_START, START_FILES, UNEXEC, RUN_TIME_REMAP):
	Define to use unexsunos4.
	(N_PAGSIZ, N_BSSSADDR, N_TRELOFF): Define so unexsunos4.c compiles.

Fri Feb 11 03:53:05 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* xfns.c (x_set_menu_bar_lines) [USE_X_TOOLKIT]: Dont Call
	XtDestroyWidget but free_frame_menubar.
	Undo previous changes.
	* xterm.c (x_destroy_window) [USE_X_TOOLKIT]: Call free_frame_menubar.
	* xmenu.c (free_frame_menubar) [USE_X_TOOLKIT]: New function to destroy
	the X Widget instance of the menubar.

	* widget.c (EmacsFrameResize): Don't call XTranslateCoordinates. Code 
	removed.

	* xmenu.c (xmenu_show) [USE_X_TOOLKIT]: Return Qnil when val is null.

Fri Feb 11 03:03:43 1994  Karl Heuer  (kwzh@@mole.gnu.ai.mit.edu)

	* keyboard.c (Fexecute_extended_command): Copy this_command_keys
	as a vector, not a string.

Thu Feb 10 23:42:45 1994  Karl Heuer  (kwzh@@mole.gnu.ai.mit.edu)

	* keyboard.c (syms_of_keyboard): Add a DEFVAR for command-hook-internal.
	(command_loop_1): Use it for post-command-hook.

Thu Feb 10 21:50:09 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* process.c (sys_siglist): Protect decl with #ifndef
	SYS_SIGLIST_DECLARED.
	* config.h.in: Add #undef SYS_SIGLIST_DECLARED.

Thu Feb 10 15:27:41 1994  Karl Heuer  (kwzh@@mole.gnu.ai.mit.edu)

	* lread.c (read_filtered_event): Retry read_char after a buffer change.
	* keyboard.c (read_char, read_char_minibuf_menu_prompt,
	read_key_sequence): Likewise.

	* dispnew.c (buffer_posn_from_coords): Take hscroll into account.
	* window.c (Fpos_visible_in_window_p): Likewise.

	* editfns.c (Fmessage): Copy the text to be displayed into a
	malloc'd buffer.

Thu Feb 10 04:34:49 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* xmenu.c (xmenu_show): Test again event.xmotion.x_root in the 
	MotionNotify case.

Wed Feb  9 23:37:07 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* vmsdir.h: File renamed from dir.h.
	* ndir.h, fileio.c: Use new name vmsdir.h.

Wed Feb  9 17:05:02 1994  Karl Heuer  (kwzh@@mole.gnu.ai.mit.edu)

	* alloc.c (Fgarbage_collect): Save and restore echo_area_glyphs_length.
	* fileio.c (Fdo_auto_save): Likewise.

	* buffer.c (Fkill_all_local_variables): Run change-major-mode-hook.

	* xterm.c (x_display_cursor, process_expose_from_menu): Block input.

	* editfns.c (difftm): Simplify return expression.

	* m/news.h (CRT0_DUMMIES): Definition deleted.

	* alloc.c (mark_object): Fetch obj from *objptr at loop, not at
	the gotos.

Wed Feb  9 08:51:51 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* Implement a Motif behavior for the menubar. Now, if you move the 
	pointer on another menubar item while displaying the contents of a
	selected menubar item, the current pulldown menu is closed and the new
	one corresponding to the new pointed item is displayed.
	* xmenu.c (xmenu_show) [USE_X_TOOLKIT]: Clean up code.
	Handle the MotionNotify events in the XEvent loop.

Tue Feb  8 22:23:56 1994  Karl Heuer  (kwzh@@mole.gnu.ai.mit.edu)

	* xfaces.c (compute_char_face): Extract overlay-sorting code as a
	separate function, which is now in buffer.c.
	* buffer.c (sort_overlays): New function, extracted from xfaces.c.

Tue Feb  8 17:42:42 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* print.c (print): If print_escapes_newlines, print '\f' as "\\f".
	(syms_of_print): Update docstring.

Tue Feb  8 02:26:20 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (Fprocess_kill_without_query): Doc fix.

Mon Feb  7 13:26:04 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* xterm.c (x_make_frame_invisible): Add USE_X_TOOLKIT conditional.

Sun Feb  6 01:15:05 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_set_window_size): New arg CHANGE_GRAVITY.
	(x_new_font): Pass CHANGE_GRAVITY arg to x_set_window_size.
	(x_wm_set_size_hint): New arg CHANGE_GRAVITY.
	(x_set_offset, x_set_window_size): 
	Pass CHANGE_GRAVITY arg to x_set_window_size.
	* xfns.c (x_set_internal_border_width, x_set_vertical_scroll_bars): 
	Pass CHANGE_GRAVITY arg to x_set_window_size.
	(Fx_create_frame): Pass CHANGE_GRAVITY arg to x_wm_set_size_hint.
	* frame.c (Fset_frame_height, Fset_frame_width, Fset_frame_size): 
	Pass CHANGE_GRAVITY arg to x_set_window_size.

	* frame.c (other_visible_frames):
	New function; code taken from Fdelete_frame.
	(Fdelete_frame): Use it.
	(Fmake_frame_invisible): Use it.  New arg FORCE.
	* xfns.c (x_set_visibility): Pass new arg to Fmake_frame_invisible.

	* xdisp.c (fix_glyph): New function.
	(display_text_line, display_string): Use fix_glyph.

	* xfaces.c (init_frame_faces): Clear FRAME_N_COMPUTED_FACES
	and FRAME_SIZE_COMPUTED_FACES.

Sat Feb  5 02:15:11 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xdisp.c (copy_rope): Function deleted.
	(copy_part_of_rope): Merge the glyph's face using compute_glyph_face.
	Take frame as additional arg.
	(display_text_line): Use copy_part_of_rope always, not copy_rope.
	Pass the frame as arg.
	(display_string): Likewise.

	* xfaces.c (compute_glyph_face): New arg CURRENT_FACE
	specifies face to merge with.

	* emacs.c (main) [AIX]: Don't handle signal 20, 21 or 22.
	Call signal 24 by name (SIGXCPU).

	* eval.c (internal_condition_case_1): New function.
	* lisp.h (internal_condition_case_1): Declared.
	* keyboard.c (menu_bar_item): Use internal_condition_case_1.
	(menu_bar_item_1): New function.
	* xmenu.c (single_keymap_panes): Use internal_condition_case_1.
	(single_keymap_panes_1): New function.

Fri Feb  4 15:19:07 1994  Karl Heuer  (kwzh@@mole.gnu.ai.mit.edu)

	* intervals.c (verify_interval_modification): When checking
	read-only, allow for the case that stickiness might be t instead
	of a list.

	* data.c (fmod): Implement it on systems where it's missing, using
	drem if available.

Fri Feb  4 12:17:07 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* xmenu.c (xmenu_show) [USE_X_TOOLKIT]: Remove the #if 0 directives 
	and reverse one to avoid the flickering of the menubar.

Fri Feb  4 01:22:20 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keymap.c (Fwhere_is_internal): Take just one keymap arg.
	(where_is_string): Pass Voverriding_local_map for that arg.
	* doc.c (Fsubstitute_command_keys): Pass keymap as that arg
	to Fwhere_is_internal.  Init keymap from Voverriding_local_map.

Thu Feb  3 13:54:11 1994  Karl Heuer  (kwzh@@mole.gnu.ai.mit.edu)

	* intervals.c (merge_properties_sticky): Preserve original order
	of properties.

Thu Feb  3 00:02:03 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/hpux8.h (X_IO_BUG): Defined.

	* fileio.c (Fwrite_region):
	If FILENAME has no handler, see if VISIT has one.

	* search.c (scan_buffer): New arg ALLOW_QUIT.
	(find_next_newline): Pass new arg.
	* xdisp.c (display_count_lines): Pass new arg to scan_buffer.
	* syntax.c (find_defun_start): Pass new arg to scan_buffer.
	* cmds.c (Fforward_line): Pass new arg to scan_buffer.

Wed Feb  2 12:13:01 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (XTread_socket): Add X_IO_BUG conditional.

	* xdisp.c (display_menu_bar): Pass explicit max arg to display_string.
	(display_string): New arg OBEY_WINDOW_WIDTH.  All callers changed.

Wed Feb  2 01:21:07 1994  Karl Heuer  (kwzh@@mole.gnu.ai.mit.edu)

	* xterm.c (x_iconify_frame): Fix misbalanced
	BLOCK_INPUT/UNBLOCK_INPUT.

	* xdisp.c (try_window_id): Don't pass value beyond ZV to
	compute_motion.
	* window.c (Fpos_visible_in_window_p): Return nil if POS > ZV.

	* sysdep.c (get_system_name): Remove restriction on hostname size.
	* lisp.h (get_system_name): Declared.
	* xterm.c (x_term_init): Use get_system_name instead of gethostname.
	* xrdb.c (x_get_customization_string): Use get_system_name instead
	of gethostname.

Wed Feb  2 00:04:35 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (kbd_buffer_get_event): Pass 1 to read_avail_input.

Tue Feb  1 18:18:39 1994  Karl Heuer  (kwzh@@mole.gnu.ai.mit.edu)

	* config.h.in (HAVE_FMOD): Add another #undef.
	* data.c (Fmod): Use HAVE_FMOD.

Tue Feb  1 17:33:14 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* xfns.c (x_set_menu_bar_lines): Test also menubar_widget before
	calling	XtDestroyWidget.

Tue Feb  1 01:48:32 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (dumpglyphs): Don't crash for invalid face code.

Mon Jan 31 23:13:17 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* undo.c (record_first_change): Check for buffer-undo-list = t.
	Make an undo boundary if appropriate.  Set last_undo_buffer.
	(record_property_change): Use BUFFER, not current_buffer,
	when testing undo_list.

Sat Jan 29 19:50:10 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* widget.c: Don't declare arg types in decls or fn definitions.

	* syntax.h (SYNTAX_MATCH, SYNTAX): Fix non-GNUC definitions.

	* widget.h (EmacsFrameSetCharSize): Don't declare arg types.

	* Makefile.in.in (configuration): Change # comment to C comment.

Sat Jan 29 02:09:41 1994  Karl Heuer  (kwzh@@mole.gnu.ai.mit.edu)

	* keymap.c (currrent_minor_maps): Scale by sizeof when allocating
	objects.

	* buffer.c (Fkill_all_local_variables): Follow symbol forwarding.

Sat Jan 29 01:16:17 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* callproc.c: Include stdio.h.
	(init_callproc): Put non-ex-dir warnings on stderr.

	* lread.c (init_lread): Put non-ex-dir warnings on stderr.

Fri Jan 28 20:14:07 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* lread.c (init_lread): Put non-ex-dir warnings on stderr.
	* callproc.c: Include stdio.h.
	(init_callproc): Put non-ex-dir warnings on stderr.

Fri Jan 28 17:34:46 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* xterm.c (x_set_window_size): Add USE_X_TOOLKIT conditional. Call 
	EmacsFrameSetCharSize and return.

	* xterm.c (x_term_init): Cast to (char **) before assignment to argv.

Thu Jan 27 05:50:49 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* keyboard.c (make_lispy_event): Add USE_X_TOOLKIT conditional and
	test FRAME_EXTERNAL_MENU_BAR.
	(map_event_to_object) [USE_X_TOOLKIT]: Declare and use it.

Wed Jan 26 15:51:33 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_set_mouse_position): Don't raise the frame.

	* s/sunos4-0.h [__GNUC__] (MKDIR_PROTOTYPE): Defined.

	* sysdep.c (mkdir): Use MKDIR_PROTOTYPE if defined.

Wed Jan 26 12:23:12 1994  Frederic Pierresteguy  (fp@@mole.gnu.ai.mit.edu)

	* xterm.h [USE_X_TOOLKIT]: Don't include Xaw/Box.h.

	* xdisp.c (update_menu_bar): Add USE_X_TOOLKIT conditional and test
	FRAME_EXTERNAL_MENU_BAR.

Wed Jan 26 00:09:18 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Makefile.in.in (widgetobj): New variable.
	(otherobj): Use widgetobj.
	(XOBJ): Undo previous change.

Tue Jan 25 16:01:12 1994  Francesco Potorti`  (pot@@cnuce.cnr.it)

        * m/delta.h (HAVE_BCOPY): undef'd for efficiency.
        (bcopy, bzero, bcmp): define'd for efficiency.
        (GAP_USE_BCOPY, BCOPY_DOWNWARD_SAFE): define'd for GHc compiler.

Mon Jan 24 13:17:12 1994  Francesco Potorti`  (pot@@cnuce.cnr.it)

 	* m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): Defined if X is used.
	(HAVE_XSCREENNUMBEROFSCREEN): Defined if X is used.
	(LIB_X11_LIB, LIBX11_SYSTEM): Override only if X is used.
	(USG_SHARED_LIBRARIES): Undefine only if X is used.

Sun Jan 23 18:23:35 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fns.c (Fconcat): Doc fix.

Sat Jan 22 11:13:08 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (read_key_sequence): Properly gcpro fkey_map while
	using keytran_map.

	* fns.c (Fassq, Fassoc): Doc fixes.

	* data.c (Faset): Doc fix.

Fri Jan 21 01:33:11 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xdisp.c (display_menu_bar): Add USE_X_TOOLKIT conditional.
	(redisplay_window) [USE_X_TOOLKIT]: Test FRAME_EXTERNAL_MENU_BAR.
	(update_menu_bar) [USE_X_TOOLKIT]: Call set_frame_menubar.

	* widget.c: Include X11/ObjectP.h.

	* keyboard.c (syms_of_keyboard): New Lisp var command-hook-internal.
	(command_loop_1): Use it when running the command hooks.

	* Makefile.in.in (LWLIB_OPTIONS): Define if not defined.
	(LIBXT): New variable.
	(LIBX): Use LIBXT.
	(widget.o): New target.
	(XOBJ) [USE_X_TOOLKIT]: Add widget.o.

	* xmenu.c: Find lwlib.h and xlwmenuP.h in ../lwlib.
	* xfns.c: Find lwlib.h in ../lwlib.

	* widgetprv.h: Renamed from widgetP.h.

	* Makefile.in.in (lwlibdir): New variable.
	($(OLDXMENU)) [USE_X_TOOLKIT]: Alternate rule.
	(OLDXMENU) [USE_X_TOOLKIT]: Alternate value.
	(really-lwlib): New rule.

	* xterm.h [USE_X_TOOLKIT]: Include StringDefs.h, IntrinsicP.h,
	CoreP.h, StringDefs.h, Xaw/Box.h.
	* xterm.c: Don't include them.

	* xrdb.c (search_magic_path): Fix logic testing for empty path element.

Thu Jan 20 08:11:00 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_wm_set_size_hint): Swap southeast and northwest.

	* xrdb.c (S_ISDIR): Define if not defined.
	(file_p): Use S_ISDIR.

	* xterm.c (XTupdate_end): No need to test updating_frame.
	* term.c (update_end): Clear updating_frame before calling hook.

	* fileio.c (double_dollars): New function.
	(Fread_file_name_internal): Use double_dollars.
	(Fread_file_name): Likewise.

	* textprop.c (Fprevious_property_change): Move back at least 1 char.
	(Fprevious_single_property_change): Likewise.
	* textprop.c: Doc fixes.

	* xfns.c (store_class_hints): Function deleted.

	* intervals.c (graft_intervals_into_buffer): Fix one-off
	comparing lengths of over and under.

	* keyboard.c (read_key_sequence): Don't call echo_truncate
	the first time through.

Wed Jan 19 09:57:57 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/sunos4-1-3.h: Add #undef SYSTEM_MALLOC.

	* xfns.c (Fx_create_frame): Bind x-resource-name to explicit title.
	(Qx_resource_name): Declared.
	(syms_of_xfns): Set up Qx_resource_name.

	* xmenu.c: Reshuffle functions; put new ones in #ifdef USE_X_TOOLKIT.
	(Fx_popup_menu): Add USE_X_TOOLKIT conditional around new decls.

	* xterm.c: Put new functions in #ifdef USE_X_TOOLKIT.

	* xdisp.c (truncate_echo_area): New function.
	* keyboard.c (echo_truncate): Call truncate_echo_area.

Tue Jan 18 17:56:02 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* config.h.in: Add #undef for USE_X_TOOLKIT.

	* xfns.c (x_window): Fix error message.

Tue Jan 18 14:36:35 1993  Frederic Pierresteguy  (F.Pierresteguy@@frcl.bull.fr)

	* Support use of X toolkit.
	(USE_X_TOOLKIT): New macro to conditionalize the use of Xt.
	* widget.c, widgetP.h, widget.h: New files.
	* frame.h (struct frame): New field external_menu_bar.
	(FRAME_EXTERNAL_MENU_BAR): New macro.
	* xterm.h (struct x_display): New fields widget, column_widget,
	edit_widget, menubar_widget.
	(x_any_window_to_frame): Declared.
	* lisp.h (VOID_TO_LISP, CVOID_TO_LISP, LISP_TO_VOID, LISP_TO_CVOID):
	New macros.
	* xfns.c (x_any_window_to_frame): New function.
	(x_window_to_frame, x_window): Handle USE_X_TOOLKIT.
	(x_set_icon_type, x_set_menu_bar_lines, x_set_name): Likewise.
	(store_class_hints, hack_wm_protocols): New function.
	* xmenu.c (string_width): New function.
	(event_is_in_menu_item, map_event_to_object): Likewise.
	(set_menu_items, free_menu_items, popup_selection_callback): Likewise.
	(popup_down_callback, free_menubar_widget_value_tree): Likewise.
	(update_one_frame_psheets, set_frame_menubar): Likewise.
	(Fx_popup_menu, xmenu_show): Handle USE_X_TOOLKIT.
	* xterm.c (construct_mouse_click): New function.
	(process_expose_from_menu): Likewise.
	(XTread_socket, x_set_offset, x_set_window_size): Handle USE_X_TOOLKIT.
	(x_raise_frame, x_lower_frame, x_make_frame_visible): Likewise.
	(x_iconify_frame, x_destroy_window, x_wm_set_window_state): Likewise.
	(x_term_init): Likewise.

	* xmenu.c (dispatch_dummy_expose): New function.
	(XMenu_xpos, XMenu_ypos): Change the values of the constant assignment.
	(xmenu_show): Change the way to make the menubar to redraw itself by
	generating a dummy expose event.

	* xterm.c (x_term_init): Pass argv, argc to XtAppInitialize with the
	display_name value.

Sun Jan 16 17:42:11 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/linux.h: Don't include stdio.h.

	* dispnew.c: Include stdio.h before config.h.

	* emacs.c (init_cmdargs): Set Vinstallation_directory.
	(syms_of_emacs): staticpro it.
	* lisp.h (Vinstallation_directory): Declared.
	* lread.c (init_lread): Use Vinstallation_directory.
	* callproc.c (init_callproc): Use Vinstallation_directory.

	* fileio.c (Ffile_symlink_p): Doc fix.

	* keyboard.c (Voverriding_local_map): New variable.
	(syms_of_keyboard): Set up Lisp variable.
	(read_key_sequence, menu_bar_items): Handle Voverriding_local_map.

	* keymap.c (Fkey_binding): Handle Voverriding_local_map.
	(describe_buffer_bindings): Likewise.

Sat Jan 15 08:27:01 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* config.h.in (LD_SWITCH_X_SITE_AUX): Add #undef.
	* s/sol2.h (LD_SWITCH_SYSTEM): Use LD_SWITCH_X_SITE_AUX.

	* floatfns.c (Fffloor, Ffceil, Ffround, Fftruncate): New functions.
	(syms_of_floatfns): Turn them on.

Fri Jan 14 13:46:47 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (command_loop_1): If there's an error in the
	post-command-hook or pre-command-hook, leave that hook nil.

	* s/sco4.h (BSTRING): Don't define it here.

Thu Jan 13 00:01:12 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Makefile.in.in (xterm.o): Depends on syssignal.h.

Wed Jan 12 11:17:37 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* sysdep.c (sys_siglist) [sun]: Additional Sun-specific signal names.

Wed Jan 12 08:45:35 1993  Thomas Horsley  (tahorsley@@csd.harris.com)

	* cxux-crt0.s: New file.

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

	* m/nh3000.h: New file for the Night Hawk 3000 series hardware defs.

	* m/nh4000.h: New file for the Night Hawk 4000 & 5000 series hardware.

	* s/cxux.h: New file for the CX/UX operating system used by Night
	Hawks.

	* s/cxux7.h: New file.

	* sysdep.c (request_sigio, unrequest_sigio): Add new versions of
	these routines for the CX/UX operating system.
	(sys_signal) [SA_RESTART]: Set this flag.

	* xterm.c: Include syssignal.h.

Tue Jan 11 20:59:19 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (sigchld_handler, status_message):
	Handle a NULL in sys_siglist.

Tue Jan 11 19:49:46 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* buffer.c (syms_of_buffer): Don't do (put 'erase-buffer 'disabled t).
	(keys_of_buffer): Do it here instead.

Tue Jan 11 00:49:14 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* lread.c (Fload): Record descriptor numbers on load_descriptor_list.
	(load_descriptor_unwind, close_load_descs): New function.
	(syms_of_lread): Init and staticpro load_descriptor_list.
	(init_lread): Clear load_descriptor_list.

	* callproc.c (child_setup): Call close_load_descs.

	* eval.c (Fcondition_case): Allow a list of condition names
	in a handler.
	(find_handler_clause): Likewise.
	(Fsignal): Rename 1st arg to error_symbol.
	(Fcondition_case): Doc fix.

	* process.c (read_process_output): Supply second arg to unbind_to.
	(exec_sentinel): Likewise.

Tue Jan 11 16:45:47 GMT 1994 (afs@@hplb.hpl.hp.com)

	* keyboard.c (read_char_x_menu_prompt, read_char_minibuf_menu_prompt):
	New functions made by dividing up read_char_menu_prompt.
	(read_char): Call read_char_minibuffer_menu_prompt before the sit_for
	if X menus are not going to be used.
	(read_char_minibuf_menu_prompt): Correct access to keymaps for
	menus when not using X menus.  Only store character read in a keyboard
	macro if it is not the menu help character.

Mon Jan 10 12:08:18 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (create_process): Set line discipline only if pty_flag.

	* search.c (set_search_regs): New subroutine.
	(search_buffer): Use set_search_regs.
	Record beginning and end after matching null string.

Sun Jan  9 18:07:25 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* mem-limits.h: Include <sys/types.h> before <sys/resource.h>.

	* process.c: Don't declare sys_nerr.  Don't declare sys_errlist
	unless #ifdef VMS.  Declare strerror instead.
	(wait_reading_process_input): Call strerror instead of using
	sys_errlist.

Sun Jan  9 10:20:07 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c (x_sync): Block input.

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

	* fileio.c (Fdo_auto_save): If auto save times out,
	don't try again for 20 minutes.
	(Fclear_buffer_auto_save_failure): New function.
	(Fset_buffer_auto_saved): Clear auto_save_failure_time.

	* xfns.c (x_sync): New function.
	* frame.c (Fdelete_frame): Call x_sync.

Sun Jan  9 01:16:24 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* sysdep.c: Restore big block of #ifdef and #include lines for
	fcntl.h and friends, apparently accidentally removed in revision
	1.70 (Jan 5 changes).

Sat Jan  8 16:24:41 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* callproc.c (child_setup): Don't declare PID `register'; we later
	take its address.

	* config.h.in: Add #undef HAVE_STRERROR.
	* sysdep.c [! VMS]: Don't declare sys_errlist here.
	[! HAVE_STRERROR] (strerror): New function.
	(dup2): Use strerror instead of sys_errlist.
	* fileio.c: Don't declare sys_errlist; declare strerror instead.
	(err_str): Macro removed.
	(Finsert_file_contents, Fwrite_region): Call strerror instead of
	err_str.
	(report_file_error): Call strerror instead of using sys_errlist.
	* emacs.c (main): Call strerror instead of using sys_errlist.
	* callproc.c: Don't declare sys_errlist; declare strerror instead.
	(relocate_fd): Call strerror instead of using sys_errlist.
	* unexenix.c: Don't declare sys_errlist; declare strerror instead.
	(fatal_unexec): Call strerror instead of using sys_errlist.
	* unexmips.c: Likewise.

Sat Jan  8 06:59:15 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* frame.c (Fdelete_frame): Do FRAME_SAMPLE_VISIBILITY before
	testing visibility of a frame.

	* emacs.c (main): Don't call setpgrp if !initialized.

	* Makefile.in.in (${etc}DOC): Put back ${lisp} accidentally deleted.

	* keymap.c (describe_map_tree): New arg NOMENU.
	(describe_buffer_bindings): Pass new arg.
	* doc.c (Fsubstitute_command_keys): Pass new arg to describe_map_tree.

Sat Jan  8 00:37:30 1994  Morten Welinder  (terra@@diku.dk)

	* keyboard.c (interrupt_signal) [MSDOS]: write explicit CRs since
	stdout has been made binary.  Start at the top of the screen since
	the internal terminal otherwise will write "below the screen."

Fri Jan  7 00:57:49 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Makefile.in.in (emacs): Don't run inc-vers.el.

	* config.h.in: Handle HAVE_BCMP.
	(BSTRING): Don't define unless HAVE_BCMP.

Wed Jan  5 16:12:38 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/msdos.h (getppid): Define as macro.

	* dired.c (DIRENTRY_NONEMPTY): New macro; two definitions.
	(Fdirectory_files, file_name_completion): Use it.

Wed Jan  5 22:20:15 1993  Morten Welinder  (terra@@diku.dk)

	* buffer.c, buffer.h [MSDOS]: New buffer-local variable:
	buffer-file-type to handle DOS newlines.

	* callproc.c (syms_of_callproc) [MSDOS]: New lisp variable: 
	binary-process.
	(init_callproc) [MSDOS]: Initialize binary-process.
	[MSDOS]: Declare binary-process.
	[MSDOS]: Include <fcntl.h>, <sys/stat.h>, <sys/param.h>,
	and <errno.h> needed for the next changes.
	(Fcall_process) [MSDOS]: Create temporary file for process output.
	Run the subprocess using `run_msdos_command' instead of forking.
	Arrange for cleanup to erase temporary file.
	(Fcall_process) [not subprocesses]: Barf if zero buffer argument.
	(call_process_cleanup) [MSDOS]: Close and erase temporary file
	instead of the pid-stuff.
	(Fcall_process_region) [MSDOS]: Create temporary file in $TMP or 
	$TEMP.
	(Fchild_setup) [MSDOS]: #if 0, as it is not used.

	* cmds.c (keys_of_cmds) [MSDOS]: Chars 0200 to 0237 self-insert.

	* data.c (Frem) [MSDOS]: use `fmod', not `drem'.  Put in config.h?

	* dired.c [MSDOS]: #include <dirent.h> instead of <sys/dir.h>.  Avoid
	some external definitions.
	(Ffile_attributes) [MSDOS]: Set execute bits from file name.
	(Ffile_name_all_completions) [FILE_SYSTEM_CASE]: Convert
	case of file name as as indicated by conditional.

	* emacs.c (main) [MSDOS]: Call init_environment.  Set file types to
	binary for all files.  Call init_dosfns.
	(fatal_error_signal) [MSDOS]: Uncomment sigblock.

	* fileio.c [MSDOS]: #include "msdos.h" and <sys/param.h> needed for
	the following changes.
	(Ffile_name_directory, Fexpand_file_name) [FILE_SYSTEM_CASE]: Apply
	case conversion if defined.
	(Ffile_name_directory, Ffile_name_nondirectory, file_name_as_directory,
	directory_file_name, Fexpand_file_name, Fsubstitute_in_file_name,
	expand_and_dir_to_file) [MSDOS]: Drive letter support.
	(Fexpand_file_name) [MSDOS]: Support for multiple default directories.
	(Ffile_writeable_p) [MSDOS]: Don't call access with file name ending
	in a slash.
	(Finsert_file_contents) [MSDOS]: Determine file type by name (call
	find-buffer-file-type) and change CR+LF to LF if it is a text file.
	(Fwrite_region) [MSDOS]: Use text/binary mode as specified by 
	buffer_file_type.
	(syms_of_fileio) [MSDOS]: Set Qfind_buffer_file_type.
	(Fsubstitute_in_file_name) [MSDOS]: Ignore case in environtment
	variable.

	* floatfns.c [MSDOS]: Don't define HAVE_MATHERR.

	* keyboard.c [MSDOS]: #include <dos.h> and <time.h>, but not 
	<sys/ioctl.h>.
	(read_avail_input) [MSDOS]: Work around `ioctl'.  Also read through
	dos_keyread for better keyboard support.
	(interrupt_signal) [MSDOS]: Don't claim we can core dump.
	(kbd_buffer_store_event): Cast a pointer to avoid a compiler warning.

	* lread.c [MSDOS]: Use text mode for all files but ".elc" files.
	(complete_file_name) [MSDOS]: Drive letter support.

	* mem-limits.h [MSDOS] (get_lim_data): Use go32 call.

	* sysdep.c [MSDOS]: #include <dos.h>, "dosfns.h", "msdos.h", and
	<sys/param.h> needed for the following changes, but not <sys/ioctl.h>
	(discard_tty_input) [MSDOS]: Do it by reading till no more keys
	available.
	(init_baud_rate) [MSDOS]: Assume highest possible speed.
	(sys_suspend) [MSDOS]: Save default directory.  Call via system, not
	via fork.
	(emacs_get_tty, emacs_set_tty) [MSDOS]: Don't do anything.
	(init_sys_modes) [MSDOS]: Use raw mode.
	(get_frame_size) [MSDOS]: Get from bios.
	(reset_sys_modes) [MSDOS]: Back to cooked mode.
	(start_of_text) [MSDOS]: Reference _tstart.
	(select) [MSDOS]: Don't use signals, use sleeping.
	(init_sys_modes) [MSDOS]: Initialize internal terminal.

	* systty.h [MSDOS]: don't #include <sgtty.h>.  We haven't got it.
	Declare dummy main field.  Don't ever use TABs.

	* termcap.c (tgetent) [INTERNAL_TERMINAL]: Fake internal terminal 
	without reading any files.
	(valid_file_name, tgetent) [MSDOS]: Drive letter support.
	(tgetent) [MSDOS]: Use text mode for database.

	* unexec.c [MSDOS]: Don't #include <a.out.h>, but use other headers.
	(make_hdr) [MSDOS]: Cast a pointer for bzero.
	(write_segment) [EFAULT]: Check for before using.
	(adjust_lnnoptrs) [MSDOS]: Use provided descriptor.
	(adjust_lnnoptrs): Return 0 if ok.

	* xdisp.c (decode_mode_spec) [MSDOS]: Let 't' expand to 'T' for
	text mode or 'B' for binary mode.
	(decode_mode_spec) [not subprocesses]: Don't access Fprocess_status.

	* s/msdos.h, m/dos386.h: New files (for MSDOS).
	* dosfns.c, dosfns.h: New files (for MSDOS).
	* msdos.c, msdos.h: New files (for MSDOS).

Tue Jan  4 03:41:35 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/sunos4-1.h (SUNOS_LOCALTIME_BUG): #if 0'd.

	* print.c (strout, printchar): Use proper frame for minibuffer.

	* keyboard.c (read_avail_input): Args to `kill' were backwards.
	(kbd_buffer_get_event): If deleting last frame, call Fkill_emacs.

	* fns.c (Fmapconcat): Doc fix.

	* s/sco4.h (bcopy, bzero, bcmp): Defined.

Mon Jan  3 20:22:00 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c (Fx_list_fonts): Don't fail to init `tail'.

Sun Jan  2 13:16:53 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c: Don't include syntax.h.
	* Makefile.in.in (buffer.o): Don't depend on syntax.h.

	* syntax.h (enum syntaxcode): Add Sinherit.
	(RAW_SYNTAX, RAW_SYNTAX_MATCH, SYNTAX_CHOOSE_TABLE): New macros.
	(SYNTAX, SYNTAX_MATCH, SYNTAX_COMSTART_FIRST, SYNTAX_COMSTART_SECOND)
	(SYNTAX_COMEND_FIRST, SYNTAX_COMEND_SECOND, SYNTAX_PREFIX)
	(SYNTAX_COMMENT_STYLE): Handle Sinherit.
	Alternative definitions if __GNUC__.

	* syntax.c (describe_syntax): Handle Sinherit.
	(syntax_code_spec, syntax_spec_code): Add entry for @@ and Sinherit.

	* Makefile.in.in (temacs): Delete redundant use of LDFLAGS.

Sun Jan  2 19:19:37 1994  Ulrich Mueller  (ulm@@vsnhd1.cern.ch)

	* sysdep.c (get_system_name): If the official name of the host is
	not a fully qualified domain name, then try to find one in the
	list of alternate names.

Sun Jan  2 00:20:24 1994  Rick Sladkey  (jrs@@world.std.com)

	* intervals.h (NULL_RIGHT_CHILD, NULL_LEFT_CHILD):
	Assume children must be intervals, never strings or buffers.

	* intervals.c (rotate_right, rotate_left): Simplify
	total_length calculation.  Minimize pointer dereferencing.
	(balance_an_interval): Remove recursive rebalancing.
	Rebalance precisely when imbalanced.  If a rotation is done,
	rebalance only the node which may have become unbalanced.
	Iterate	until the current node is balanced.
	(balance_possible_root_interval): New function.
	(balance_intervals): Move the interation into rebalance_an_interval.
	(balance_intervals_internal): New subroutine of balance_intervals.
	(split_interval_right, split_interval_left): Speed up by
	not checking LEAF_INTERVAL_P.
	(split_interval_right, split_interval_left, find_interval,
	adjust_intervals_for_insertion, graft_intervals_into_buffer):
	Add dynamic rebalancing anywhere a node may become unbalanced.
	(graft_intervals_into_buffer, copy_intervals): No longer
	any need to do a full rebalance as the tree stays balanced.

Sat Jan  1 02:00:32 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Fwrite_region): Don't change START and END from nil
	until after checking for a magic handler.

	* .gdbinit: Delete `show env TERMCAP'.

	* process.c (read_process_output): Use clip_to_bounds when moving
	to the process marker.

	* keyboard.c (modify_event_symbol): New arg NAME_ALIST.
	Allow SYMBOL_TABLE to be an alist.
	(Vvendor_key_alist): New variable.
	(syms_of_keyboard): Initialize it.
	(make_lispy_event): Handle vendor-specific keysyms.
	(lispy_function_keys): Delete `remove' and th HP keysyms.

	* xterm.c (XTread_socket): temp_buffer and temp_index deleted.
	Put all vendor-specific keys into the buffer.
	(x_is_vendor_fkey): Function deleted.
	(XTread_socket): Don't call it.

	* Makefile.in.in (SOME_MACHINE_OBJECTS): New var.
	(${etc}DOC): Use SOME_MACHINE_OBJECTS,
	not OBJECTS_MACHINE or OBJECTS_SYSTEM.
	Don't depend on SOME_MACHINE_OBJECTS.

	* dired.c (file_name_completion_stat): If have symlinks, use lstat.

Fri Dec 31 05:42:01 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c (Qget_file_buffer): New variable.
	(syms_of_buffer): Set up Qget_file_buffer.
	(Fget_file_buffer): For magic file names, run the handler.

	* fileio.c (Finsert_file_contents): Don't run after change hook
	if inserted is 0.
	Avoid setting modtime or buffer-file-name field if ran a handler.

	jrs:
	* s/linux.h (PENDING_OUTPUT_COUNT): Two alternate definitions
	for different versions of stdio.h.

Thu Dec 30 02:09:55 1993  Morten Welinder  (terra@@diku.dk)

	* frame.c: Always include termhooks.h.
	[! MULTI_FRAME] (Fmouse_position): New definition.
	[! MULTI_FRAME] (syms_of_frame): Add mouse-position.

Thu Dec 30 22:05:03 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* doc.c (Fsubstitute_command_keys): Fix previous change.

Thu Dec 30 10:41:39 1993  Lawrence R. Dodd  (dodd@@roebling.poly.edu)

        * minibuf.c (read_from_minibuffer): Rename arg initial_input
        to initial_contents.

Thu Dec 30 01:55:54 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* editfns.c (Femacs_pid): New function.
	(syms_of_editfns): Define it for Lisp.

	* keyboard.c (read_avail_input): Turn O_NDELAY off on DGUX as on USG.

	* minibuf.c (Fall_completions): Allow completions that start with space
	if the input starts with space.

	* Makefile.in.in (LDFLAGS): Define as empty.
	(ALL_LDFLAGS): Define as LDFLAGS used to be defined.
	(temacs): Use ALL_LDFLAGS.

	* xfns.c (Fx_create_frame): Add to Vframe_list before making visible.

Wed Dec 29 02:43:10 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keymap.c (describe_command): If binding is a kbd macro, say so.

Sun Dec 26 00:59:18 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* emacs.c (main) [AIX]: Call putenv.

	* s/linux.h (A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Defined.

	* keyboard.c (lispy_accent_codes): Cope if an XK symbol is undefined.
	(make_lispy_event): Define i.

	* termhooks.h (struct input_event): FIx typo in previous change.

	* xterm.c (XTflash): Use EMACS_GET_TIME.
	(XTread_socket): Make proper junk values to pass to select.

Sat Dec 25 12:20:15 1993  Jerry Frain  (jerry.frain@@tivoli.com)

	* s/usg5-4.h (bcopy): Use memmove instead of memcpy.

	* systime.h (EMACS_GET_TIME) [USG5_4]: Give gettimeofday just one arg.

Sat Dec 25 03:11:57 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* alloc.c (Fmemory_limit): No longer interactive.

Fri Dec 24 18:11:49 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (command_loop_1): Test of whether disp tab elt
	was a vector was backwards.

	* fileio.c (Fwrite_region): If handler, don't mess with modtime.
	(Finsert_file_contents): Likewise.

	* config.h.in: Add #undef HAVE_SETSID.

	* process.c (create_process) [NTTYDISC]: Set the tty line discipline.

	* callproc.c: Include systty.h.
	(child_setup): Use EMACS_SET_TTY_PGRP.
	* Makefile.in.in (callproc.o): Depend on systty.h and syssignal.h.

	* xdisp.c (redisplay_window): Before altering lpoint,
	make sure the buffer it pertains to is the one being displayed.

	* syntax.c (Fmodify_syntax_entry): Doc fix.

Thu Dec 23 22:45:06 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* process.c (Fopen_network_stream): Turn off SIGIO while connecting.

Wed Dec 22 19:36:24 1993  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (lispy_accent_codes): New variable.
	(make_lispy_event): Use that to handle lots of dead accent keys.

	* xterm.c (XTread_socket): Handle a bunch more dead keys.

Wed Dec 22 18:09:45 MET 1993  Francesco Potorti`  (pot@@cnuce.cnr.it)

	* m/delta.h (BROKEN_CLOSEDIR): added because closedir is interruptible.
	(HAVE_UNISTD_H): deleted because configure takes care of it.
	(C_SWITCH_MACHINE): added optimisation options for gnu cc.

Fri Dec 17 00:22:43 1993  Mike Long  (mike.long@@analog.com)

	* s/vms.h (TERMCAP_NAME): Defined.
	* s/netbsd.h (TERMCAP_NAME): Defined.
	These correspond with changes in termcap.c.

Fri Dec 17 13:09:53 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* xterm.c (XTread_socket): Don't offset keysym here.
	Special handling for "dead accent" keysyms.
	* keyboard.c (make_lispy_event): Offset the event code here.
	Special handling for "dead accent" keysyms.

	* keyboard.c (quit_throw_to_read_char): Don't switch frames if
	internal_last_event_frame is not a frame.

	* termhooks.h (struct input_event): `code' is now an int.
	* xterm.c (construct_mouse_click, x_scroll_bar_handle_click)
	(XTread_socket): `code' of an event is now an int.
	* keyboard.c (kbd_buffer_store_event, make_lispy_event)
	(stuff_buffered_input): `code' of an event is now an int.

	* s/sol2-3.h: New file.
	* xfns.c (Fx_list_fonts): Handle BROKEN_XLISTFONTSWITHINFO.

Thu Dec 16 11:16:22 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* xterm.c (pixel_to_glyph_coords): New arg NOCLIP.  Callers changed.

	* keyboard.c (make_lispy_movement): If we have a frame but pos is not
	in a window, return an event with the frame.

	* xterm.c (XTread_socket): For MotionNotify, if x_mouse_grabbed,
	use last_mouse_frame.
	(construct_mouse_click): Set last_mouse_frame.
	(XTmouse_position): If x_mouse_grabbed, use last_mouse_frame.

	* xdisp.c (message): Use message2, not message1.

Wed Dec 15 11:20:54 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* xfns.c (Fx_create_frame): Add frame to Vframe_list.
	* frame.c (make_terminal_frame): Add frame to Vframe_list.
	(make_frame): Don't add to frame list here.

	* window.c (Fdisplay_buffer): If pop_up_frames, pass t to
	Fget_buffer_window.

	* Makefile.in.in (configuration): New variable.
	(emacs.o): Define macro CONFIGURATION.
	* emacs.c (syms_of_emacs): Define Lisp var system-configuration.

	* xdisp.c (display_string): Fix truncation-criterion after main loop
	for termination due to LENGTH.
	* window.h (echo_area_glyphs_length): Declared.
	* print.c (printchar, strout): Set echo_area_glyphs_length.

	* keyboard.c (read_key_sequence): Don't return if in middle
	of possible function-key-map sequence, if the bindings were all
	found by case conversion.

	* lisp.h: Use WORDS_BIG_ENDIAN, not BIG_ENDIAN.
	(Qmenu_bar): Declared.

	* process.c (Fprocess_status): Use get_process, not Fget_process.

	* s/dgux.h (SYSTEM_TYPE): Make it dgux.

	* m/sun2.h (OTHER_FILES): Use ${libsrc} as dir.

Wed Dec 15 18:30:00 1993 Michal Jankowski (michalj@@fuw.edu.pl)

        * insdel.c (del_range): Second argument in call to
        offset_intervals is 'from', not 'point'.

Tue Dec 14 21:42:46 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* emacs.c (memory_warning_signal): New function.
	(main): Handle SIGDANGER, if defined.

	* minibuf.c (minibuffer_auto_raise): Really define it.

	* process.c [BROKEN_O_NONBLOCK]: Undefine O_NONBLOCK.

Tue Dec 14 20:59:54 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* dispnew.c (update_frame): Only call sleep (outq / baud_rate) if
	baud_rate >= OUTQ.  Calling sleep (0) causes a gratuitous delay on
	some systems.

Mon Dec 13 00:30:12 1993  Andreas Luik  (luik@@kepler.isa.de)

	* xterm.c (x_calc_absolute_position): Borderwidth must be doubled
	before subtracting from width to get correct value.

	* xfns.c (Fx_create_frame): Fix order of arguments of
	x_wm_set_size_hint call.  This corrects handling of +x-y and -x+y
	geometry specifications.

Sun Dec 12 19:08:01 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* xdisp.c (echo_area_glyphs_length): New variable.
	(message1): Set it.
	(message2): New function.
	(display_string): New arg LENGTH.
	(echo_area_display): Pass new arg to display_string.
	(redisplay_window): Likewise.
	(display_text_line): Likewise.
	(display_menu_bar): Likewise.
	(display_mode_element): 

	* editfns.c (Fmessage): Use message2.

	* keyboard.c (set_waiting_for_input): Code testing echo_flag deleted.
	(echo_flag, echo_now): Vars deleted.

	* keyboard.c (read_key_sequence): Bind case_converted at top level.
	Clear it at replay_sequence.
	(follow_key): Never clear *CASE_CONVERTED.

Sat Dec 11 20:05:35 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* xselect.c (x_get_foreign_selection): Use x_catch_errors.

	* fileio.c (Fmake_symbolic_link): Do expand FILENAME if starts with ~.

	* keymap.c (Fwhere_is_internal): Doc fix.

	* buffer.c (Fbuffer_disable_undo): Make arg optional.

Sat Dec 11 17:26:28 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* unexsunos4.c [! MAP_FILE] (MAP_FILE): Define to zero.
	(unexec): Remove unused variable BUF.
	Use MAP_FILE bit in mmap call.
	(run_time_remap): Use MAP_FILE bit in mmap call.

Thu Dec  9 21:52:16 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* insdel.c (modify_region): Call record_first_change if necessary.

	* emacs.c (main): Don't handle SIGDANGER.

	* minibuf.c (minibuffer_auto_raise): New variable.
	(syms_of_minibuf): Set up Lisp var.
	(read_minibuf): Maybe raise the minibuffer's frame.

Wed Dec  8 18:49:40 1993  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)

	* dispnew.c (PENDING_OUTPUT_COUNT) [__GNU_LIBRARY__]: Alternate
	definition for the GNU C library.  I changed this in version 18 in
	1991, but the change never got propagated.

Tue Dec  7 11:49:34 1993    (pmr@@legacy.pajato.com)

	* s/dgux.h (SYSV4_PTYS): Remove.
	(SIGNALS_VIA_CHARACTERS): Defined.

	* process.c (create_process): Delete SYSV4_PTYS code.
	(deactivate_process): Likewise.
	
Mon Dec  6 21:54:13 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* doc.c (Fsubstitute_command_keys): Ignore menu bar bindings.

	* s/sunos4-1.h (LIBS_SYSTEM): Use -lresolv if HAVE_RES_INIT
	is not defined and HAVE_GETHOSTNAME is defined.

	* keyboard.c (syms_of_keyboard): Define Lisp var track-mouse.

	* keyboard.c (follow_key): New arg case_converted.
	(read_key_sequence): Pass the new arg.
	If key has a binding via case-conversion, that does not prevent
	use of function_key_map.

Sun Dec  5 13:33:47 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* m/pmax.h (SET_CHILD_PTY_PGRP): Defined.

	* process.c (create_process) [SET_CHILD_PTY_PGRP]: Do ioctls
	to set the pgrp of the pty.

Sat Dec  4 15:00:10 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* xfns.c (XSetWMProtocols): New function, defined conditionally.

	* config.h.in (HAVE_XSETWMPROTOCOLS): Add #undef.

	* intervals.c (graft_intervals_into_buffer): If SOURCE is null
	and TREE is null, no need to call Fset_text_properties.

	* dispnew.c (Fsit_for): Call prepare_menu_bars.
	* keyboard.c (read_char): Call prepare_menu_bars.
	* xselect.c (x_handle_selection_clear): Call prepare_menu_bars.
	* vmsproc.c (Fcall_process): Call prepare_menu_bars.
	* sysdep.c [VMS] (wait_for_kbd_input): Call prepare_menu_bars.
	* process.c (wait_reading_process_input): Call prepare_menu_bars.
	* callproc.c (Fcall_process): Call prepare_menu_bars.
	* keyboard.c (tracking_off): Call prepare_menu_bars.
	* xdisp.c (update_menu_bar, update_menu_bars): New functions.
	(prepare_menu_bars): New function.
	(redisplay_window): Don't update menu bar here.
	(display_menu_bar): Assume item list already updated.

Thu Dec  2 23:45:17 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* editfns.c (Fsubst_char_in_region): Move the NOUNDO hacking code
	after the modify_region call.

Wed Dec  1 21:01:53 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* eval.c (Fmacroexpand): For an autoload definition,
	check the 4th elt, not the car of the 4th elt.

	* m/mips4.h (C_DEBUG_SWITCH): Delete  -systype bsd43; not needed.

	* regex.c (regex_compile) [!MATCH_MAY_ALLOCATE]: If fail_stack.stack
	is nonzero, leave it alone.

	* fileio.c (Fread_file_name): If defalt is nil and user tries to use
	it, signal an error.

	* lisp.h (DEFUN_ARGS_MANY, DEFUN_ARGS_UNEVALLED, DEFUN_ARGS_0,...): 
	New macros.
	(DEFUN) [__STDC__]: Use those macros.

	* doc.c (Fdocumentation_property): 3 args is maximum.

	* callproc.c (Fgetenv): One arg is maximum.

Tue Nov 30 17:17:33 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* dispnew.c (direct_output_forward_char):
	Give up if in truncated text at end of line.

	* process.c (create_process): The test to avoid closing forkin
	is now conditional on #ifndef SIGNALS_VIA_CHARACTERS.

	* xdisp.c (redisplay_window): Don't alter lpoint when w is
	selected window in a non-selected frame.

Tue Nov 30 14:46:38 1993  Richard Stallman  (rms@@gnu.ai.mit.edu)

	* Makefile.in.in [__GNUC__ > 1]: Maybe define LINKER_WAS_SPECIFIED.
	[LINKER_WAS_SPECIFIED] (YMF_PASS_LDFLAGS): Define as identity.

	* m/mips4.h (NO_MODE_T): Defined.

a4 2
	* m/tek4300.h (NO_MODE_T): Defined.

a2993 1
See ChangeLog.3 for earlier changes.
@


1.1.1.13
log
@import emacs-19.24
@
text
@a1225 183
Mon May 23 00:38:44 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Version 19.24 released.

	* s/hpux8.h (LD_SWITCH_SYSTEM): Put back -Xlinker for GCC.

	* Makefile.in.in (LIBXT): Move -lXmu before -lXt.

	* term.c (update_end): Undo previous change.

	* frame.c (other_visible_frames): No longer static.

	* window.c (window_loop): Fix test of dedicated flag in prev change.

	* window.c (window_loop, UNSHOW_BUFFER case):
	Put prev change in #ifdef MULTI_FRAME.

	* keyboard.c (menu_bar_one_keymap):
	When there's no item string, use Qnil.
	Don't ever put `undefined' into the list of definitions.

Sun May 22 16:16:32 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* window.c (window_loop, UNSHOW_BUFFER case): Kill a special frame.

	* xterm.c (x_set_window_size): If cursor outside new size, mark it off.
	* dispnew.c (change_frame_size): Keep cursor coords in range.

	* s/linux.h (HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR)
	(HAVE_XSCREENNUMBEROFSCREEN): Define these if not already defined.

Sun May 22 16:36:34 1994  Morten Welinder  (terra@@diku.dk)

	* unexec.c [MSDOS]: Don't include files from the dos extender
	and debugger.  Use the <coff.h> that was put in the right place
	a couple of djgpp versions ago.  Consequently, use `unsigned short'
	for `word16' and `unsigned long' for `word32'.

Sun May 22 04:22:16 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (note_mouse_highlight): Handle case of highlight extending
	past end of window.
	(fast_find_position): Fix bugs when no text on screen
	and when the mouse is on an empty line.

	* s/hpux9shr.h: New file.

	* s/hpux8.h (LD_SWITCH_SYSTEM): Add conditionals for HPUX_USE_SHLIBS.
	Delete explicit -Xlinker in GCC case.

	* unexhp9k800.c: Include config.h.
	[HPUX_USE_SHLIBS]: Include dl.h.
	(brk_on_dump): New variable.
	(unexec): Set brk_on_dump.
	(copy_file): Change buffer size to 8192.

	* window.c (change_window_height): Test for DELTA too small
	only after making it smaller based on maxdelta.

Sat May 21 19:16:03 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* fileio.c (Fdelete_directory): Allow dir names as well as file names.

	* Makefile.in.in (${etc}DOC): Ignore error from rm.
	(MSDOS_SUPPORT): New variable.
	(lisp): Use MSDOS_SUPPORT.

	* s/freebsd.h (A_TEXT_OFFSET, A_TEXT_SEEK): Commented out.

Fri May 20 21:10:58 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* xfns.c (x_set_background_color): Set scroll bar backgrounds.

Fri May 20 18:57:09 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xterm.c (x_wm_set_window_state) [USE_X_TOOLKIT]: Use XtSetValues.
	(x_iconify_frame) [USE_X_TOOLKIT]: New code for invisible window case.
	(XtNinitialState) [USE_X_TOOLKIT]: New #define.
	(x_make_frame_invisible): Mostly combine toolkit/non-toolkit cases,
	in the process fixing a dumb bug.

Fri May 20 12:16:00 1994  Michael I Bushnell  (mib@@geech.gnu.ai.mit.edu)

	* lread.c (openp): Only lusers assume that O_RDONLY == 0.

Fri May 20 01:28:59 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Makefile.in.in (UNEXEC_ALIAS): New variable, used
	to make the unex...o target.

	* xfaces.c (Fset_face_attribute_internal): Always return valid data.

	* textprop.c (syms_of_textprop): Set up Lisp fn get-char-property.

Thu May 19 16:57:10 1994  Andreas Schwab  (schwab@@issan.informatik.uni-dortmund.de)

	* fileio.c (Finsert_file_contents): Declare buffer as unsigned
	char.  When comparing with file size convert same_at_start to
	distance to buffer start.  If the file matches the buffer
	contents truncate the buffer to the size of the file.

Thu May 19 18:03:26 1994  Jim Blandy  (jimb@@totoro.bio.indiana.edu)

        * keyboard.c (read_char_minibuf_menu_prompt): Don't forget to
        initialize nobindings.

Thu May 19 00:11:34 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Makefile.in.in (ORDINARY_LINK): Define by default
	if __GNU_LIBRARY__ and not LINUX.

	* s/isc4-0.h (EXTRA_INITIALIZE): Definition deleted.

	* s/isc3-0.h (EXTRA_INITIALIZE): Define here.

	* keyboard.c (lispy_function_keys): Add `backtab'.

	* frame.c (syms_of_frame): Set up frame-first-window as Lisp fn.

	* indent.c: Add "args" to dummy definition of compute-motion.

	* sysdep.c [BROKEN_TIOCGWINSZ]: Undef TIOCSWINSZ too.

	* Makefile.in.in (FRAME_SUPPORT): Add menu-bar.el.

	* dispnew.c: Include errno.h.

	* widget.c (EmacsFrameSetCharSize): Once again preserve x and y pos,
	but not the same way as before.

	* xmenu.c (other_menu_bar_item_p): Return 0 if no menu bar.

	* fileio.c (Fwrite_region): Set update_mode_lines.

	* xmenu.c (xmenu_show): Don't look in menubar for core.height
	if no menu bar.

	* xterm.c (x_iconify_frame): Fix error messages.

Wed May 18 01:36:22 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* dispnew.c (PENDING_OUTPUT_COUNT): If __GNU_LIBRARY__,
	use GNU_LIBRARY_PENDING_OUTPUT_COUNT if defined.

	* keyboard.c (lispy_function_keys): Add various kp- keys for X11R6.

	* fileio.c (syms_of_fileio): Doc fix.

	* s/linux.h (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Both definitions
	renamed from PENDING_OUTPUT_COUNT.

	* process.c (create_process): Don't complain about error
	from TIOCSETD.

	* window.c (Fset_window_buffer): Fix dedicated window error call.
	(window_loop, case UNSHOW_BUFFER): Clear dedicated flag.

	* fileio.c (Finsert_file_contents): Declare `buffer' as unsigned char.

	* dispnew.c: Include systime.h after xterm.h.

	* m/tek4300.h (WORDS_BIG_ENDIAN): Define this, not BIG_ENDIAN.

	* emacs.c (syms_of_emacs), config.h.in:
	EMACS_CONFIGURATION renamed from CONFIGURATION.

Tue May 17 18:57:20 1994  Andreas Schwab  (schwab@@issan.informatik.uni-dortmund.de)

	* eval.c (Fbacktrace): Properly nest parentheses.
	(Fbacktrace_frame): Don't bomb on invalid frame number.

Tue May 17 05:41:51 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* keyboard.c (command_loop_1): Fix test for valid display table entry,
	for backwards motion.

	* Makefile.in.in (ALL_LDFLAGS): Add LDFLAGS.
	(MAKE): Don't override a previous value of MAKE set by configure.

	* dispnew.c (update_frame): Fix test of outq and baud_rate.

	* emacs.c (shut_down_emacs): Don't call intern.

@


1.1.1.14
log
@import emacs-19.25
@
text
@a1225 127
Mon May 30 06:16:48 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* Version 19.25 released.

	* xdisp.c (redisplay): Limit prev change to pause != 0.

	* keyboard.c (command_loop_1): Allow direct output for insert
	if have display table but it says nothing for this char code.
	Don't allow it if char code has a glyph with a face code.

	* process.c (create_process): Get a pty for any non-nil
	Vprocess_connection_type value.

Sat May 28 00:33:16 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* s/bsd386.h (TABDLY, TAB3): Defined.
	(SYSV_SYSTEM_DIR): Defined.

	* unexhp9k800.c (roundup): Undef before defining.

	* xdisp.c (redisplay): If have window change at end, redisplay again.

	* lread.c (defvar_bool, defvar_int, defvar_lisp, defvar_lisp_nopro): 
	Delete third arg DOC.

	* s/hpux8.h (LD_SWITCH_SYSTEM): Delete the -L options.
	(LD_SWITCH_X_DEFAULT): Put them here instead.

	* Makefile.in.in (LD_SWITCH_X_DEFAULT): Define if not defined.
	(LIBX): Use LD_SWITCH_X_DEFAULT.

	* xterm.c (x_iconify_frame): Call x_set_offset,
	if x_make_frame_visible would do so.
	(x_make_frame_visible): Don't call x_set_offset if frame is iconic.
	(XTread_socket): For ConfigureNotify, if wm decorations exist,
	set NorthWestGravity.

	* Makefile.in.in (mostlyclean): Don't mention xmakefile*.

	* emacs.c (main): In batch mode, don't set the pgrp.

Fri May 27 06:32:24 1994  Paul Eggert  (eggert@@twinsun.com)

	* callproc.c (child_setup): If PWD is set, set it in the child so that
	it points at the child's working directory.

Fri May 27 03:59:59 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* m/mips4.h (C_DEBUG_SWITCH) [not __GNUC__]: Add -Wf option.

	* s/hpux9.h (C_SWITCH_SYSTEM): Defined.

	* keyboard.c [HAVE_X_WINDOWS]: Include xterm.h.

	* xterm.c (x_is_vendor_fkey): Function deleted.
	(XTread_socket, case KeyPressed): Don't clear the vendor-specific bit.
	Pass thru almost any vendor-specific keysym.

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

Fri May 27 06:52:13 1994  Paul Eggert  (eggert@@twinsun.com)

	* editfns.c (difftm): Don't store a long value into an int variable.

Thu May 26 18:29:17 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* fileio.c (Finsert_file_contents): Check for beginning of file.

Thu May 26 18:13:31 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* systime.h: Make previous change limited to HPUX.

Thu May 26 14:46:35 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* systime.h: If _STRUCT_TIMEVAL is defined, also define __TIMEVAL__.

Wed May 25 20:20:53 1994  Morten Welinder  (terra@@diku.dk)

	* msdos.c (output_string): New function.
	(internal_flush): Use output_string for faster screen update.
	(internal_flush): Clear to end of line by writing a string of
	spaces.

Wed May 25 00:36:35 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* xfns.c (Vx_sensitive_text_pointer_shape):
	Renamed from Vx_cross_pointer_shape.
	(syms_of_xfns): Provide Lisp var x-sensitive-text-pointer-shape.

	* xmenu.c (menu_item_equiv_key): Look for equiv keys both before
	and after one stage of symbol function indirection.

	* xterm.c (note_mouse_movement): Use frame's window in XQueryPointer.
	Special case if mouse isn't on that window.
	(note_mouse_highlight): Handle negative args and too-large args.

	* lread.c (openp): Don't use O_RDONLY.

Tue May 24 22:20:01 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)

	* search.c (Freplace_match): Improve capitalization heuristics.

	* minibuf.c (Fminibuffer_complete_word): GCPRO completion and tem.

	* undo.c (Fprimitive_undo): GCPRO next and list.
	Check argument type before calling XINT.

Tue May 24 17:14:49 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)

	* buffer.c (verify_overlay_modification): GCPRO tail and overlay.
	Avoid copying tail twice.

Tue May 24 17:11:38 1994  Andreas Schwab  (schwab@@informatik.uni-dortmund.de)

	* keymap.c (describe_map): Fix the call to Fequal.

Tue May 24 16:50:42 1994  Morten Welinder  (terra@@diku.dk)

	* msdos.c (do_visible_bell): Renamed from visible_bell to avoid
	potential conflict with variable of the same name.  Caller changed.
	(internal_flush): Code for audio bell inserted.
	* s/msdos.h (INTERNAL_TERMINAL): Allow audio bell.

	* msdos.c (dos_rawgetc): Doc fix.  Make C-, S-, and M- modifiers
	independent.  Make modifiers work with mouse.  Improve C-S-<ascii>
	handling by using look-up tables.  Fix kp-decimal problem.

@


1.1.1.15
log
@import emacs-19.27
@
text
@a0 12
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.

@


1.1.1.16
log
@import emacs-19.28
@
text
@a0 65
Sun Oct 23 16:25:48 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>

	* Version 19.28 released.

	* s/linux.h (LD_SWITCH_SYSTEM): Definition deleted.

	* s/freebsd.h (LD_SWITCH_SYSTEM): New definition.

	* s/freebsd.h (BSD): Have two definitions according to version number.

	* 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.

	* xfns.c (x_real_positions): Catch errors and retry if error happens.

	* textprop.c (Fset_text_properties): Special case for getting
	rid of all properties of a string.

	* xterm.c (x_new_font): Don't use the FONT property
	unless it has enough dashes to be an official font name.

	* keyboard.c (read_char): Add local variable key_already_recorded.
	If an event comes from read_char_minibuf_menu_prompt,
	return as early as we safely can.

	* textprop.c (Fset_text_properties): Don't let validate_interval_range
	increment START and END twice.

	* xfaces.c (Fset_face_attribute_internal): Mark frame garbaged whenever
	any face's font or color is changed.

	* m/hp9000s300.h [not BSD4_3] [__GNUC__] (HAVE_ALLOCA): Defined.

	* m/dpx2.h (POSIX_SIGNALS): Define it.
	(sigsetmask): Add #undef.

	* s/linux.h: Don't include signal.h, values.h.
	(signal): Definition deleted.

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

	* config.h.in (HAVE_X11R6): Add #undef.
	* s/sol2.h (REL_ALLOC): Test HAVE_X11 and HAVE_X11R6.
	Don't test USE_X_TOOLKIT.

	* emacs.c (shut_down_emacs): Don't call Fx_close_current_connection.

	* s/hpux9.h (HAVE_TERMIO, HAVE_TERMIOS, NO_TERMIO): Undo Jul 28 change.

	* unexsunos4.c [SUNOS4]: Include link.h.
	(unexec) [SUNOS4]: Turn off relocations that ld.so did.

	* s/sunos4-0.h (SUNOS4): Defined.

	* unexec.c (make_hdr): Undo June 16 change.

	* 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__.

@


1.1.1.17
log
@import emacs-19.29
@
text
@d1 1
a1 1
Wed Jun 21 14:08:45 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3 1
a3 1
	* Version 19.29 released.
d5 1
a5 2
	* xfns.c (Fx_display_grayscale_p): Return t or nil.
	Return t for color displays.
d7 1
a7 1
	* s/msdos.h (SYSTEM_PURESIZE_EXTRA): Increased to 68000.
d9 1
a9 1
	* xdisp.c (decode_mode_spec) [!MULTI_FRAME]: Handle %F properly.
d11 3
a13 1
Tue Jun 20 10:58:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d15 1
a15 2
	* keyboard.c (read_key_sequence): Don't use Vprefix_help_command
	for the first character in a key seq.
d17 2
a18 1
	* ntinevt.c (map_virt_key): Mark some additional chars as valid ASCII.
d20 2
a21 1
	* ntterm.c (ctrl_c_handler): Ignore CTRL_BREAK_EVENT signals.
d23 3
a25 1
Mon Jun 19 12:13:38 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d27 2
a28 1
	* sysdep.c (rmdir): Fix up Aug 19 1993 change that wasn't done right.
d30 2
a31 1
	* ntproc.c (win32_wait): Massage retval into what is expected in Unix.
d33 1
a33 1
	* process.c (sigchld_handler): Change XSETFASTINT to XSETINT.
d35 2
a36 6
	* 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.
d38 2
a39 1
	* xfns.c (Fx_create_frame): Fix last arg to x_get_arg for Qdisplay.
d41 1
a41 2
	* s/linux.h (LIB_GCC): Fix previous change.
	If we redefine it later, #undef it first.
d43 3
a45 1
Sun Jun 18 14:24:37 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d47 1
a47 2
	* keyboard.c (quit_throw_to_read_char): Turn off the error check
	testing poll_suppress_count.
d49 1
a49 2
	* s/linux.h (LIB_GCC): Define here, overriding Makefile.in.in,
	so as to use C_SWITCH_X_MACHINE.
d51 2
a52 1
Sat Jun 17 10:05:04 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d54 1
a54 1
	* m/alpha.h (SYSTEM_MALLOC): Definition deleted.
d56 1
a56 3
	* 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.
d58 2
a59 2
	* xmenu.c (menu_item_equiv_key): Do reconsider a command that had
 	no equivalent before, if it is in Vdefine_key_rebound_commands.
d61 4
a64 2
	* data.c (Flocal_variable_if_set_p): New function.
	(syms_of_data): Call defsubr.
d66 1
a66 1
	* xdisp.c (display_text_line): Fill in charstart for end of buffer.
d68 1
a68 1
Fri Jun 16 18:26:08 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d70 1
a70 1
	* puresize.h [MULTI_FRAME] (BASE_PURESIZE): Increase to 315000.
d72 1
a72 7
	* 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>
d74 1
a74 3
	* frame.c [MULTI_FRAME] (Fignore_event): New function.
	[MULTI_FRAME] (keys_of_frame): Bind iconify-frame and
	make-frame-visible to it.
d76 1
a76 1
Fri Jun 16 00:30:17 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d78 1
a78 1
	* .gdbinit: Use long, not EMACS_INT.
d80 1
a80 5
	* 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.
d82 1
a82 1
Thu Jun 15 16:48:21 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d84 2
a85 7
	* 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.
d87 1
a87 4
	* 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.
d89 1
a89 4
	* 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.
d91 1
a91 1
	* .gdbinit ($valmask): Use EMACS_INT, not int.
d93 2
a94 1
	* lisp.h (enum pvec_type): Don't use trailing comma.
d96 1
a96 1
Thu Jun 15 09:58:49 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d98 1
a98 2
	* m/alpha.h (malloc, realloc): If not _MALLOC_INTERNAL,
	always use void *.
d100 1
a100 1
Thu Jun 15 22:12:04 1995  Geoff Voelker  <voelker@@cs.washington.edu>
d102 1
a102 2
	* callproc.c (call-process-region) [DOS_NT]: Use IS_DIRECTORY_SEP.
	(call-process-region) [WINDOWSNT]: Use proper temp file template.
d104 1
a104 2
	* ntproc.c (win32_spawnve): Accept program names without executable
	suffixes.
d106 2
a107 1
	* makefile.nt (TRES) [MSVCNT11]: Use emacs.res, and don't compile it.
d109 1
a109 1
Thu Jun 15 01:30:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d111 1
a111 2
	* m/alpha.h (LD_SWITCH_MACHINE): Don't define it.
	(malloc, realloc): If non-ANSI C, declare value as char *.
d113 8
a120 1
Wed Jun 14 19:10:35 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d122 1
a122 2
	* sysdep.c (emacs_set_tty): Swap TCSETAF and TCSETAW.
	Rename arg waitp to flushp.
d124 1
a124 1
Wed Jun 14 18:07:40 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d126 1
a126 1
	* callint.c (Fprefix_numeric_value): Fix type check.
d128 1
a128 1
	* keyboard.c (command_loop_1): Clear prefix arg (undo Feb 1 change).
d130 3
a132 1
Wed Jun 14 15:52:55 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d134 2
a135 1
	* data.c (Flocal_variable_p): Fix backwards logical operator.
d137 1
a137 1
Wed Jun 14 14:47:53 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d139 1
a139 2
	* m/intel386.h: If NOT_C_CODE, don't include alloca.h.
	[!__GNUC__] (C_SWITCH_MACHINE): Disable this; it seems to confuse cpp.
d141 1
a141 1
Wed Jun 14 08:21:18 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d143 1
a143 2
	* frame.c (Fdelete_frame): If the minibuf window was selected,
	make that remain so.
d145 2
a146 2
	* process.c (status_notify): Undo May 18 change.
	Set update_tick at the beginning not at end.
d148 1
a148 2
	* buffer.c (Fprevious_overlay_change): Check for overlays that
	end at POS.
d150 4
a153 1
Tue Jun 13 20:40:48 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d155 1
a155 1
	* xfns.c (syms_of_xfns): Initialize Vx_no_window_manager.  Doc fix.
d157 1
a157 1
Tue Jun 13 17:43:12 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d159 1
a159 2
	* m/ibmrs6000.h (LIBS_MACHINE): Use -lpthreads, not -lpthread.
	* config.h.in (HAVE_LIBPTHREADS): Add #undef.
d161 1
a161 1
Mon Jun 12 13:21:15 1995  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d163 1
a163 2
	* mem-limits.h [_LIBC] (start_of_data): Define to &__data_start
 	for GNU libc.
d165 1
a165 1
Sun Jun 11 16:46:37 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d167 2
a168 2
	* xmenu.c (frame_vector_add_frame): Don't forget to store
	the longer vector.
d170 1
a170 2
	* xterm.h (struct x_display): New field asked_for_visible.
	* xterm.c (x_make_frame_visible): Test and set asked_for_visible.
d172 2
a173 7
	* 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.
d175 1
a175 4
	* 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.
d177 1
a177 2
	* xfns.c [USE_X_TOOLKIT] (x_window): If using Motif,
	add some extra to sizes, for consistent behavior.
d179 3
a181 1
Sat Jun 10 00:57:13 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d183 1
a183 4
	* 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.
d185 1
a185 3
	* keyboard.c (read_char_minibuf_menu_prompt):
	If the char to type doesn't match the prompt string,
	show the char explicitly.
d187 1
a187 1
Sat Jun 10 17:44:38 1995  Geoff Voelker  <voelker@@cs.washington.edu>
d189 1
a189 1
	* ntterm.c,ntproc.c,nt.c: Include config.h before stdio.h.
d191 2
a192 1
Fri Jun  9 22:11:59 1995  Geoff Voelker  <voelker@@cs.washington.edu>
d194 2
a195 2
	* makefile.nt (TEMACS): Depend upon $(BLD).
	(temacs): Remove $(BLD) dependency. 
d197 1
a197 1
Fri Jun  9 17:05:27 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d199 6
a204 6
	* 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.
d206 1
a206 5
	* 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.
d208 1
a208 1
Fri Jun  9 11:44:06 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d210 1
a210 6
	* 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.
d212 1
a212 1
	* Makefile.in.in (SOURCES): Makefile isn't source; Makefile.in.in is.
d214 1
a214 1
Thu Jun  8 15:00:47 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d216 1
a216 4
	* 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.
d218 1
a218 3
	* xmenu.c (xmenu_show): Do call lw_destroy_all_widgets.
	(xdialog_show): Likewise.
	(popup_get_selection): Don't call it here.
d220 1
a220 2
	* search.c (Freplace_match): Fix check for valid reg in string replace.
	Do the right thing with backslash.
d222 2
a223 4
	* 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.
d225 1
a225 2
	* keyboard.h (Vlucid_menu_bar_dirty_flag): Declare this variable.
	(Qrecompute_lucid_menubar, Qactivate_menubar_hook): Likewise.
d227 1
a227 2
	* keyboard.c (read_key_sequence): Don't run activate-menubar-hook
	or call recompute-lucid-menubar.
d229 5
a233 2
	* xdisp.c (update_menu_bar): Run activate-menubar-hook
	and call recompute-lucid-menubar.
d235 1
a235 1
Thu Jun  8 15:13:39 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d237 1
a237 8
	* 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.
d239 1
a239 1
	* m/ibmrs6000.h (LIBS_MACHINE): Use -lpthread if it exists.
d241 2
a242 1
	* m/alpha.h (LIBS_MACHINE): Define to -ldnet or -ldnet_stub.
d244 1
a244 2
	* s/msdos.h (SYSTEM_PURESIZE_EXTRA) [!HAVE_X_WINDOWS]:
	Increase to 62000.
d246 2
a247 1
	* process.c [!subprocesses]: Include sysselect.h.
d249 1
a249 1
	* xmenu.c (xmenu_show): If !HAVE_X_WINDOWS, don't reference X display.
d251 2
a252 1
Wed Jun  7 14:37:31 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d254 1
a254 15
	* 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.
d256 1
a256 1
	* buffer.c: (syms_of_buffer): Doc fix.
d258 1
a258 1
	* buffer.c: (Fbuffer_disable_undo): Make this function interactive.
d260 1
a260 1
Wed Jun  7 11:08:58 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d262 1
a262 2
	* data.c (Flocal_variable_p): New optional arg BUFFER.
	Really check whether var is local in *that* buffer.
d264 5
a268 1
	* xfns.c (x_real_positions): Uncatch and recatch X errors in the loop.
d270 1
a270 1
	* filelock.c (unlock_file, lock_file): Call Fexpand_file_name.
d272 4
a275 1
Mon Jun  5 13:30:54 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d277 2
a278 3
	* Makefile.in.in (TOOLKIT_DEFINES): Define.
	(ALL_CFLAGS): Insert $(TOOLKIT_DEFINES) here.
	* xfns.c (syms_of_xfns): Provide motif in Motif version.
d280 2
a281 19
	* 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.
d283 1
a283 1
	* xdisp.c: Include keyboard.h.
d285 2
a286 1
	* s/irix5-0.h (POSIX_SIGNALS): Defined.
d288 1
a288 1
Sat Jun  3 19:02:35 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d290 1
a290 1
	* xterm.c (x_wm_set_icon_pixmap): Set IconPixmapHint in both cases.
d292 1
a292 4
	* 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.
d294 1
a294 1
Sat Jun  3 12:57:01 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d296 1
a296 1
	* editfns.c (Fencode_time): Doc fix.
d298 1
a298 1
	* fns.c (NULL): Define if not defined.
d300 1
a300 1
Fri Jun  2 17:05:37 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d302 1
a302 1
	* xfns.c (Fx_create_frame): Make sure icon_name is a string or nil.
d304 1
a304 2
	* xterm.h (struct x_display): Rename icon_label to icon_name
	and make it a Lisp_Object.
d306 1
a306 9
	* 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.
d308 2
a309 2
	* xterm.c (x_text_icon): Do call XSetIconName or XSetWMIconName.
	Don't save ICON_NAME anywhere.
d311 1
a311 3
	* 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.
d313 2
a314 3
	* 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.
d316 1
a316 1
	* search.c (trivial_regexp_p): = is special after \.
d318 1
a318 1
	* s/ptx.h (HAVE_SELECT, HAVE_TIMEVAL): Definitions deleted.
d320 2
a321 1
Thu Jun  1 18:47:56 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d323 1
a323 5
	* 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.
d325 1
a325 1
Wed May 31 23:08:12 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d327 1
a327 2
	* xfns.c (x_display_info_for_name): Fix error message.
	(Fx_open_connection): Fix error messages.
d329 2
a330 1
Tue May 30 17:49:03 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d332 1
a332 2
	* s/sol2-4.h (LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
	added references to /usr/dt/lib.
d334 1
a334 2
	* xfns.c (syms_of_xfns): Allow PATH_BITMAPS to be a
	colon-separated list.
d336 1
a336 4
	* 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.
d338 2
a339 1
Tue May 30 12:13:28 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d341 2
a342 1
	* xfns.c (x_top_window_to_frame): Don't match menu-bar widget.
d344 2
a345 1
	* xdisp.c (update_menu_bar): Reverse test of save_match_data.
d347 1
a347 1
	* xmenu.c (set_frame_menubar): Always call update_frame_menubar.
d349 7
a355 3
	* xfns.c (x_window): Use applicationShellWidgetClass,
	not topLevelShellWidgetClass.  Call lw_set_main_areas after
	creating the menubar widget.
d357 1
a357 1
Mon May 29 16:53:49 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d359 1
a359 1
	* xdisp.c (update_menu_bar): Do update if region display has changed.
d361 1
a361 4
	* 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.
d363 1
a363 2
	* fns.c (Frandom): Use EMACS_INT, not int.
	Use NULL, not 0, as arg of `time'.
d365 1
a365 3
	* 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.
d367 2
a368 1
Mon May 29 20:10:20 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d370 2
a371 2
	* xterm.c (XTread_socket) [USE_X_TOOLKIT]: Do pass MotionNotify events
	to the toolkit.
d373 1
a373 3
	* 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.
d375 3
a377 1
	* xterm.c (x_term_init): Call init_sigio only if interrupt_input.
d379 2
a380 1
Sun May 28 23:58:00 1995  Morten Welinder  <terra+@@cs.cmu.edu>
d382 2
a383 4
        * 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.
d385 1
a385 1
Sun May 28 17:11:38 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d387 1
a387 2
	* xterm.c (x_set_offset): Distinguish CHANGE_GRAVITY < 0 case.
	* xfns.c (x_set_frame_parameters): Pass -1 to x_set_offset.
d389 2
a390 2
	* xfns.c (x_report_frame_params): Report top and left
	in a way that represents negative offsets correctly.
d392 1
a392 1
	* syntax.c (describe_syntax_1): Pass new arg to describe_vector.
d394 2
a395 3
	* 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.
d397 1
a397 2
	* xdisp.c (redisplay_window): Don't use try_window_id if
	newline has a display table entry.
d399 1
a399 2
	* xdisp.c (update_menu_bar):
	Call set_frame_menubar with proper buffer current.
d401 1
a401 1
Fri May 26 20:17:46 1995  Geoff Voelker  <voelker@@cs.washington.edu>
d403 2
a404 1
	* lread.c (init_lread) [CANNOT_DUMP]: Set Vload_path to EMACSLOADPATH.
d406 1
a406 1
Fri May 26 18:46:15 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d408 2
a409 2
	* xfns.c (x_window): Call initialize_frame_menubar
	near the end, after UNBLOCK_INPUT.
d411 1
a411 4
	* 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.
d413 1
a413 1
Fri May 26 17:53:58 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d415 2
a416 6
	* 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.
d418 1
a418 1
	* xdisp.c (x_consider_frame_title): Use FRAME_KBOARD.
d420 2
a421 1
Fri May 26 01:23:03 1995  Geoff Voelker  <voelker@@cs.washington.edu>
d423 1
a423 1
	* s/windows95.h: New file.
d425 2
a426 5
	* 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.
d428 3
a430 2
	* ntterm.c (set_terminal_modes): Set cursor size appropriate for Win95.
	(write_glyphs): Don't memset attrs, which is a word array.
d432 1
a432 4
	* 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.
d434 3
a436 7
	* 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.
d438 2
a439 1
Fri May 26 00:16:42 1995  Michael Ernst  <mernst@@research.microsoft.com>
d441 1
a441 1
	* emacs.c (standard_args): -i, -itype, --icon-type take 0, not 1, args
d443 1
a443 1
Thu May 25 10:26:10 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d445 1
a445 2
	* process.c (create_process, send_process): Add volatile qualifiers.
	(wait_reading_process_input) [both versions]: Cast args of select.
d447 1
a447 1
	* syntax.c (scan_lists): Make stringterm an unsigned char.
d449 1
a449 1
	* dispnew.c (change_frame_size_1): Declare arg DELAY.
d451 1
a451 1
	* insdel.c (adjust_point): Declare arg AMOUNT.
d453 1
a453 10
	* 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.
d455 5
a459 7
	* 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.
d461 1
a461 1
Thu May 25 10:16:58 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d463 1
a463 2
	* dispnew.c (Fframe_or_buffer_changed_p): Record frame names
	as well as the frame objects.
d465 2
a466 2
	* xterm.c (XTread_socket):
	For MapNotify, call record_asynch_buffer_change.
d468 2
a469 1
	* xdisp.c (prepare_menu_bars): Update frame titles before menu bars.
d471 1
a471 7
	* 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.
d473 1
a473 3
	* 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.
d475 1
a475 7
	* 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.
d477 1
a477 1
Wed May 24 18:45:51 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d479 1
a479 1
	* lisp.h (menu_bar_items): Declare this function.
d481 1
a481 1
Wed May 24 16:33:26 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d483 1
a483 1
	* xmenu.c (Fx_popup_dialog): Treat (menu-bar) like t, for POSITION.
d485 1
a485 2
	* frame.c (Fdelete_frame): When updating Vdefault_minibuffer_frame,
	insist on a frame on the proper keyboard.
d487 1
a487 3
	* 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.
d489 2
a490 1
Tue May 23 23:48:54 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d492 2
a493 1
	* xfns.c (hack_wm_protocols): Use cast instead of suffix.
d495 1
a495 1
Tue May 23 20:40:43 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d497 1
a497 4
	* 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.
d499 2
a500 3
	* 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.
d502 1
a502 2
	* xfns.c [USE_X_TOOLKIT] (x_window): Don't call XMoveWindow
	or x_calc_absolute_position.  Do use the border_width.
d504 3
a506 3
	* 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.
d508 1
d510 1
a510 3
	* 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.
d512 1
a512 1
	* alloc.c (Fgarbage_collect): Clear consing_since_gc first thing.
d514 1
a514 1
	* xdisp.c (redisplay_window): Use set_buffer_internal_1.
d516 1
a516 2
	* buffer.c (set_buffer_internal_1): New subroutine.
	(Fmove_overlay): Don't set windows_or_buffers_changed.
d518 1
a518 1
Mon May 22 18:09:46 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d520 2
a521 6
	* 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.
d523 1
a523 2
	* data.c (long_to_cons): Don't assume 32-bit longs.
	* fileio.c (Fvisited_file_modtime): Cast arg of long_to_cons.
d525 1
a525 1
	* editfns.c (Fformat): Split double into two pointers, not two ints.
d527 1
a527 1
	* s/hpux9.h: Delete HAVE_FMOD; configure handles that correctly now.
d529 1
a529 1
Mon May 22 16:14:07 1995  Richard Stallman  <rms@@waves>
d531 1
a531 3
	* 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.
d533 1
a533 3
	* lisp.h (gdb_lisp_params): New enum type.
	* .gdbinit: Use gdb_lisp_params to get storage layout info.
	Set and use $valmask and $nonvalbits.
d535 6
a540 1
	* lread.c (oblookup): Delete argument hashp.
d542 2
a543 1
Fri May 19 23:35:57 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d545 1
a545 1
	* floatfns.c (Flogb): frexp needs a pointer to int, not EMACS_INT.
d547 2
a548 1
Fri May 19 17:52:46 1995  Richard Stallman  <rms@@waves>
d550 1
a550 1
	* dispnew.c (buffer_posn_from_coords): Don't let startp be before BEGV.
d552 1
a552 1
Thu May 18 18:42:37 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d554 1
a554 7
	* 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.
d556 1
a556 1
Thu May 18 12:54:22 1995  Richard Stallman  <rms@@waves>
d558 1
a558 1
	* s/sol2-4.h: Undo previous change.
d560 4
a563 2
	* emacs.c (Fkill_emacs): Delete the auto-save-list file
	after shut_down_emacs.
d565 1
a565 2
	* process.c (status_notify): If Vprocess_alist changes within
	the loop, do the whole loop again.
d567 1
a567 1
Wed May 17 03:26:09 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d569 1
a569 1
	* emacs.c (Fdump_emacs): Don't take address of array.
d571 1
a571 1
	* buffer.c (Fmake_indirect_buffer): Fix interactive spec.
d573 1
a573 1
	* Makefile.in.in (SOURCES): Fix reference to ymakefile.
d575 1
a575 2
	* keyboard.c (syms_of_keyboard): Always define track-mouse.
	(do_mouse_tracking): Always declare this var.
d577 1
a577 1
Mon May 15 21:28:52 1995  Marcus Daniels  <marcus@@ee.pdx.edu>
d579 2
a580 3
	* 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.
d582 1
a582 2
	* unexelf.c (unexec) [UNEXEC_USE_MAP_PRIVATE]: New logic for
	systems that don't support MAP_SHARED with PROT_WRITE.
d584 2
a585 1
Mon May 15 19:26:40 1995  Richard Stallman  <rms@@churchy.gnu.ai.mit.edu>
d587 2
a588 1
	* s/sol2-4.h (LD_SWITCH_SYSTEM): Define.
d590 1
a590 1
Mon May 15 17:46:47 1995  Simon Leinen  <simon@@lia.di.epfl.ch>
d592 1
a592 1
	* indent.c (vmotion): handle the case where `minibuf_prompt' is nil.
d594 1
a594 1
Fri May 12 18:23:15 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d596 1
a596 5
	* 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.
d598 2
a599 3
	* xterm.c (Qvendor_specific_keysyms): New var.
	(syms_of_xterm): Initialize and staticpro it.
	(x_term_init): Initialize Vsystem_key_alist according to vendor.
d601 2
a602 1
	* emacs.c (main) [NeXT]: Add missing braces.
d604 6
a609 1
Thu May 11 18:16:36 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d611 2
a612 3
	* 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.
d614 2
a615 2
	* dispnew.c [!MULTI_FRAME] (Fredraw_frame): Delete extra docstring.
	* frame.c [!MULTI_FRAME] (Fframe_height, Frame_width): Likewise.
d617 1
a617 1
Tue May  9 00:45:23 1995  enami tsugutomo  <enami@@sys.ptg.sony.co.jp>
d619 1
a619 5
	* 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.
d621 3
a623 1
Mon May  8 14:30:19 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d625 1
a625 3
	* Makefile.in.in (VMS_SUPPORT): Add missing `.elc'.
	(SOME_MACHINE_LISP): New variable.
	(${etc}DOC): Use it.
d627 3
a629 1
	* buffer.c (syms_of_buffer): Doc fix.
d631 4
a634 2
	* frame.c (frame-height, frame-width, set-screen-height,
	set-screen-width, termal-frame) [!MULTI_FRAME]: Delete doc strings.
d636 1
a636 1
Mon May  8 21:28:34 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d638 2
a639 7
	* 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.
d641 1
a641 2
	* xdisp.c (x_consider_frame_title): When setting multiple_frames,
	ignore invisible frames and frames on other displays.
d643 1
a643 2
	* keyboard.c [MULTI_KBOARD] (read_char): If the character was for
	the wrong kboard, don't let it get processed twice.
d645 1
a645 1
Mon May  8 12:24:38 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d647 1
a647 1
	* callproc.c (Fcall_process): Keep reading till buffer is nearly full.
d649 1
a649 1
	* emacs.c (Fdump_emacs): Don't use & before my_edata.
d651 1
a651 1
Mon May  8 16:45:51 1995  Francesco Potorti`  (pot@@cnuce.cnr.it)
d653 2
a654 2
	* m/delta.h (C_SWITCH_MACHINE): Let configure decide if this is
	a 68040 or 68030.  Don't condition on __STDC__.
d656 2
a657 1
Mon May  8 18:40:21 1995  enami tsugutomo  <enami@@sys.ptg.sony.co.jp>
d659 1
a659 1
	* frame.c (Fraise_frame, Flower_frame): Make arg FRAME optional.
d661 1
a661 1
	* keyboard.c (Fread_key_sequence): Doc fix.
d663 1
a663 1
Mon May  8 00:52:42 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d665 1
a665 1
	* window.c (Fdisplay_buffer): Initialize other, upper, lower.
d667 1
a667 1
Sun May  7 18:26:25 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d669 4
a672 1
	* lisp.h (Fmatch_data, Fstore_match_data): Declared.
d674 3
a676 3
	* 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.
d678 1
a678 1
Sun May  7 17:03:55 1995  Geoff Voelker  <voelker@@cs.washington.edu>
d680 1
a680 3
	* 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.
d682 1
a682 1
Sun May  7 06:34:20 1995  Paul Eggert  <eggert@@twinsun.com>
d684 2
a685 1
	* data.c (Fmod): Fix the final adjustment, when f2 < 0 and f1 == 0.
d687 1
a687 1
	* lread.c (isfloat_string): Reject strings like "0.5+".
d689 2
a690 1
Sun May  7 02:22:11 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d692 1
a692 2
	* process.c (wait_reading_process_input): Pass arg in new call to
 	set_waiting_for_input.
d694 3
a696 1
	* xfns.c (Funfocus_frame): Check for live X frame.
d698 2
a699 2
	* lread.c (init_lread): Don't warn about missing installation dirs
	when using dirs derived from the executable.
d701 2
a702 1
Sat May  6 22:37:07 1995  Geoff Voelker  <voelker@@cs.washington.edu>
d704 1
a704 5
	* 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.
d706 1
a706 1
Sat May  6 03:09:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d708 1
a708 3
	* window.c (syms_of_window): Doc fix.
	(temp_output_buffer_show): If we use Vtemp_buffer_show_function,
	do nothing else.
d710 1
a710 3
	* 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.
d712 2
a713 4
	* 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.
d715 1
a715 5
	* 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>
d717 3
a719 1
	* emacs.c (Fdump_emacs_data): Don't use & before my_edata.
d721 1
a721 2
	* editfns.c (Fencode_time): Rename arg from min to minute.
	(days_per_month): Move variable to top level.
d723 1
a723 2
	* process.c (wait_reading_process_input): Don't call prepare_menu_bars.
	Clear waiting_for_input around calling redisplay_preserve_echo_area.
d725 4
a728 5
	* 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.
d730 1
a730 1
	* s/netbsd.h (GETPGRP_NO_ARG): Defined.
d732 1
a732 1
Thu May  4 21:45:27 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d734 1
a734 2
	* s/freebsd.h: (GETPGRP_NO_ARG): Defined
	(HAVE_GETPAGESIZE): Definition deleted.
d736 1
a736 4
	* 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.
d738 1
a738 1
Thu May  4 20:26:46 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d740 1
a740 3
	* buffer.c (Qbefore_string, Qafter_string): New vars.
	(syms_of_buffer): Initialize and staticpro them.
	(cmp_for_strings, overlay_strings): New functions.
d742 1
a742 1
Thu May  4 01:13:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d744 1
a744 2
	* indent.c (string_display_width): Renamed from string_width.
	(vmotion): Use new name.
d746 3
a748 1
	* s/sco4.h [!__GNUC__] (LINKER): Defined.
d750 3
a752 4
	* 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.
d754 2
a755 1
	* Makefile.in.in (${etc}DOC): Put SOME_MACHINE_OBJECTS before obj.
d757 6
a762 1
	* xfaces.c (region_face, next_face_id): Make static.
d764 2
a765 3
	* xselect.c (Vselection_converter_alist, x_selection_timeout)
	(Vx_sent_selection_hooks, Vx_lost_selection_hooks, Vselection_alist):
	Make static.
d767 1
a767 2
	* alloc.c (inhibit_garbage_collection):
	Use XSETINT, and do arithmetic in type EMACS_INT.
d769 4
a772 1
	* s/hpux9.h (HAVE_FMOD): Defined.
d774 1
a774 1
	* sysdep.c (bcmp, bcopy): Fix backward BSTRING conditionals.
d776 1
a776 1
	* emacs.c (Fkill_emacs): Delete the Vauto_save_list_file_name file.
d778 1
a778 1
Thu May  4 13:23:55 1995  Morten Welinder  <terra+@@cs.cmu.edu>
d780 3
a782 2
	* data.c (arith_driver): Make accum and next EMACS_INTs.
	(Fmod): i1 and i2 are EMACS_INT.
d784 1
a784 2
	* editfns.c (Fformat): Allow 30 characters in the printed version
	of integers and floats.
d786 1
a786 7
	* 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.
d788 2
a789 1
	* process.c (list_processes_1): Cast XFASTINT for passing to sprintf.
d791 1
a791 1
	* m/alpha.h (bcopy, bzero, bcmp): Don't let string.h prototype these.
d793 1
a793 1
Wed May  3 20:12:25 1995  Morten Welinder  <terra+@@cs.cmu.edu>
d795 1
a795 4
	* 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.
d797 1
a797 1
	* buffer.h (Fdelete_overlay): Was mistakenly called Fdelete_overlays.
d799 1
a799 1
	* lisp.h (gc_cons_threshold): Make this an EMACS_INT.
d801 2
a802 2
	* alloc.c (gc_cons_threshold): Make this an EMACS_INT.
	(gc_sweep): Make already_free an EMACS_INT.
d804 1
a804 1
	* search.c (search_buffer): Cast p_limit to EMACS_INT not int.
d806 1
a806 1
	* s/osf1.h (GETPGRP_NO_ARG): Define.
d808 1
a808 1
Wed May  3 16:23:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d810 2
a811 2
	* keyboard.c (reorder_modifiers): Use XINT.
	Cast apply_modifiers arg to int.
d813 2
a814 1
	* unexapollo.c: New file.
d816 1
a816 11
	* 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.
d818 2
a819 1
	* emacs.c: Delete all APOLLO conditionals.
d821 1
a821 1
Tue May  2 19:03:13 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d823 1
a823 2
	* intervals.c (get_local_map): Use Fget_char_property, so that
	overlay properties will be considered as well as text properties.
d825 1
a825 1
Tue May  2 02:15:23 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d827 1
a827 1
	* insdel.c (prepare_to_modify_buffer): Use file_truename for locking.
d829 3
a831 1
	* fileio.c (Finsert_file_contents): Use file_truename for unlocking.
d833 1
a833 1
	* buffer.c (Fset_buffer_modified_p): Use the truename for locking.
d835 2
a836 7
	* 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>
d838 1
a838 2
	* xmenu.c (xmenu_show, menubar_selection_callback): Move declaration
	of entry to an outer block, to guarantee its value is preserved.
d840 1
a840 12
	* 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.
d842 1
a842 1
Sun Apr 30 11:51:41 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d844 3
a846 3
	* emacs.c (standard_args): Add #ifdef VMS for -map.
	(main): Delete duplicate code for -version.
	(standard_args): Add -help and -version.
d848 1
a848 5
	* 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>
d850 1375
a2224 1
	* sysdep.c [HAVE_UNISTD_H]: Include unistd.h.
d2226 1
a2226 1
	* emacs.c (standard_args): Add -L/--directory/-directory.
d2228 3
a2230 2
	* s/sunos4shr.h (ORDINARY_LINK): Defined.
	(LINKER): Definition deleted.
d2232 1
a2232 1
Sat Apr 28 23:59:49 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d2234 1
a2234 5
	* 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.
d2236 2
a2237 5
	* 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.
d2239 1
a2239 1
	* xterm.c (x_term_init): Add stub to initialize Vsystem_key_alist.
d2241 2
a2242 1
Thu Apr 27 21:38:08 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d2244 1
a2244 1
	* process.c (create_process): Don't reference pty_name if !HAVE_PTYS.
d2246 2
a2247 1
Wed Apr 26 05:08:25 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2249 5
a2253 2
	* fileio.c (Ffile_regular_p): Use Qfile_regular_p.
	(syms_of_fileio): Set up Qfile_regular_p.
d2255 1
a2255 2
	* emacs.c (standard_args): Move -iconic and --icon-type
	to the end of the initial args.
d2257 3
a2259 1
Tue Apr 25 19:46:40 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d2261 3
a2263 1
	* alloc.c (mark_kboards): Mark the kbd macro and Vsystem_key_alist.
d2265 3
a2267 1
Mon Apr 24 14:43:07 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2269 1
a2269 1
	* s/linux.h (REGEXP_IN_LIBC): Defined.
d2271 1
a2271 2
	* callproc.c (Fcall_process): Use bigger buffer, and grow it
	as we get more and more data.
d2273 78
a2350 1
Mon Apr 24 11:44:02 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d2352 2
a2353 2
	* xterm.c (x_term_init): If the previous kboard was the dummy one,
	switch to the new one immediately.
d2355 1
a2355 5
	* 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.
d2357 1
a2357 1
	* fns.c (Fplist_put): Don't signal an error if plist isn't a cons.
d2359 2
a2360 20
	* 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.
d2362 1
a2362 2
	* Makefile.in.in: Make dispnew.o and keyboard.o depend on xterm.h.
	Make intervals.o and term.o depend on keyboard.h.
d2364 1
a2364 1
	* xfns.c (x_window): Fix type mismatch.
d2366 2
a2367 1
	* xdisp.c (message_dolog): The message log doesn't need an undo list.
d2369 1
a2369 1
	* term.c (term_init): MagicWrap implies AutoWrap.
d2371 1
a2371 1
Mon Apr 24 01:44:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2373 1
a2373 3
	* 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.
d2375 1
a2375 2
	* callproc.c (child_setup): Reword "can't exec" message.
	Add newline after message.
d2377 1
a2377 2
	* process.c (create_process): Don't abort if can't reopen
	pty_name in the child.  Exit the child instead.
d2379 1
a2379 1
Thu Apr 20 14:36:54 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d2381 1
a2381 1
	* abbrev.c (Fexpand_abbrev): Add some error checking.
d2383 2
a2384 1
	* xmenu.c (Fx_popup_dialog): Don't pass menubarp arg to xdialog_show.
d2386 2
a2387 1
Wed Apr 19 16:49:52 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d2389 1
a2389 5
	* 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.
d2391 1
a2391 1
Wed Apr 19 02:08:43 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2393 41
a2433 2
	* xmenu.c (xmenu_show, xdialog_show): Delete menubarp arg.
	(Fx_popup_menu): Don't compute menubarp.
d2435 2
a2436 1
Tue Apr 18 14:37:21 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2438 1
a2438 1
	* callproc.c (Fcall_process): Call Fexpand_file_name for error_file.
d2440 1
a2440 1
	* keyboard.c (map_event_to_object): Declaration deleted.
d2442 1
a2442 1
Tue Apr 18 12:43:44 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d2444 2
a2445 2
	* eval.c (Ffetch_bytecode): Check the type of the object being
	read from the file.
d2447 18
a2464 1
Mon Apr 17 23:21:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2466 3
a2468 1
	* editfns.c (Fencode_time): Don't treat years < 100 as special.
d2470 1
a2470 1
Mon Apr 17 19:12:11 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d2472 1
a2472 6
	* 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.
d2474 2
a2475 1
Mon Apr 17 02:09:36 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2477 1
a2477 1
	* editfns.c (Fencode_time): Rewrite by Naggum.
d2479 1
a2479 1
Sat Apr 15 14:32:31 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2481 1
a2481 1
	* xfns.c (x_report_frame_params): Report value of `display' parm.
d2483 1
a2483 1
	* Makefile.in.in (really-lwlib, really-oldXMenu): Mark as .PHONY.
d2485 1
a2485 1
Fri Apr 14 17:04:56 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d2487 1
a2487 1
	* editfns.c (Fencode_time): Fix missing \n\'s.
d2489 2
a2490 1
Fri Apr 14 14:20:50 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2492 3
a2494 1
	* editfns.c (init_editfns): Add casts.
d2496 2
a2497 1
	* doc.c (get_doc_string): Add cast.
d2499 1
a2499 1
	* keyboard.c (kbd_buffer_get_event): Don't use prototype.
d2501 2
a2502 2
	* xdisp.c (message_log_check_duplicate): Make p1 and p2
	unsigned char *.
d2504 1
a2504 1
Thu Apr 13 23:56:21 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2506 4
a2509 1
	* xterm.c (x_term_init): Call XtSetLanguageProc only if HAVE_X11XTR6.
d2511 1
a2511 1
Thu Apr 13 13:38:56 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d2513 3
a2515 1
	* editfns.c (Fbuffer_string): Doc clarification.
d2517 1
a2517 1
	* alloc.c: Delete the #if that compares MARKBIT.
d2519 1
a2519 2
	* window.c (Fdisplay_buffer): Search the proper frame when the
	current frame is minibuffer-only.
d2521 1
a2521 2
	* fileio.c (Fexpand_file_name): Use IS_DIRECTORY_SEP instead of
	special code for WINDOWSNT.
d2523 1
a2523 1
Thu Apr 13 12:18:03 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2525 1
a2525 1
	* xfaces.c (compute_char_face): Don't use NULL.
d2527 3
a2529 2
	* buffer.c (Foverlays_at, Fnext_overlay_change): Don't use NULL.
	(Fprevious_overlay_change): Don't use NULL.
d2531 1
a2531 1
	* xfns.c (Fx_color_defined_p): Doc fix.
d2533 3
a2535 1
	* xfaces.c [! HAVE_X_WINDOWS] (build_face): Deleted.
d2537 1
a2537 1
Wed Apr 12 19:30:30 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d2539 1
a2539 1
	* callint.c (Fcall_interactively): Fix paren nesting.
d2541 3
a2543 1
	* buffer.c (evaporate_overlays): Fix type error.
d2545 3
a2547 1
Thu Apr 13 01:09:02 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2549 1
a2549 1
	* xterm.c (XTmouse_position): Handle X errors in XTranslateCoordinates.
d2551 1
a2551 2
	* lisp.h (MARKBIT): Do the shifting as unsigned int.
	Delete the #if that compares MARKBIT.
d2553 3
a2555 1
Wed Apr 12 01:52:55 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2557 1
a2557 3
	* 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.
d2559 1
a2559 2
	* alloc.c (gc_sweep): If a misc has type Lisp_Misc_Free,
	keep it on the free list.  Sum pseudovector sizes properly.
d2561 1
a2561 2
	* dispnew.c (Fframe_or_buffer_changed_p): Ignore buffers whose names
	start with space.
d2563 1
a2563 1
	* editfns.c (Fencode_time): Use XINT to examine `zone'.
d2565 5
a2569 1
Tue Apr 11 21:53:28 1995  Geoff Voelker  <voelker@@cs.washington.edu>
d2571 1
a2571 1
	* ntinevt.c (nt_kdb_patch_event): Created.
d2573 1
a2573 1
        * callproc.c (child_setup) [WINDOWSNT]: Removed syntax errors.
d2575 1
a2575 1
	* dired.c (Ffile_attributes) [WINDOWSNT]: Removed syntax errors.
d2577 1
a2577 3
	* fileio.c (Fexpand_file_name) [DOS_NT]: Preserve drive letter case.
	Fix syntax errors.
        Check drive letter when expanding ~\.
d2579 4
a2582 1
	* sysdep.c (sys_subshell) [WINDOWSNT]: Don't invoke restore_console.
d2584 1
a2584 2
	* ntproc.c (win32_wait): Reap synchronous subprocesses, and place
        return code in synch_process_retcode.
d2586 1
a2586 8
	* 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.
d2588 4
a2591 2
	* nt.c (nt_ctime): Defined.
	(gettimeofday): Defined.
d2593 1
a2593 15
	* 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.
d2595 1
a2595 1
	* fileio.c (directory_file_name) [WINDOWSNT]: Handle UNC format.
d2597 1
a2597 1
	* nt.c (nt_stat): Defined.
d2599 1
a2599 1
	* s/windowsnt.h (struct nt_stat): Defined.
d2601 2
a2602 1
	* ntinevt.h: Fixed function prototypes.
d2604 3
a2606 1
	* makefile.nt (TEMACS): Add dependence on $(BLD).
d2608 2
a2609 2
	* ntterm.c (Fset_message_beep): Defined.
	(ring_bell): Support audio cards.
d2611 1
a2611 1
	* makefile.nt (DOC): Defined.
d2613 1
a2613 6
	* s/windowsnt.h (HAVE_RANDOM): Defined.
	(random): Macro undefined.
	(srandom): Macro undefined.
	(HAVE_UTIME): Defined.
	(utime): Defined.
	(EMACS_CONFIGURATION): Defined.
d2615 2
a2616 2
	* nt.c (random): Defined.
	(srandom): Defined.
d2618 1
a2618 2
	* nt.c (readdir): Include "." and "..".
	(get_inode_and_device_vals): Handle directories.
d2620 1
a2620 2
	* fileio.c (Fexpand_file_name) [DOS_NT]: Don't strip slash from
        default dirs like "C:\\"
d2622 1
a2622 2
	* makefile.nt (all): Use COMPAT_LIB in library list.
	Use DEL_TREE instead of delnode.
d2624 1
a2624 1
	* ntheap.c (sbrk): Shrink heap by arbitrary amounts.
d2626 1
a2626 1
	* m/intel386.h (NO_ARG_ARRAY) [WINDOWSNT]: Defined.
d2628 1
a2628 2
	* s/windowsnt.h (_VARARGS_): Defined.
	(_CALLBACK_): Defined.
d2630 2
a2631 1
Tue Apr 11 18:46:27 1995  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d2633 1
a2633 3
	* 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.
d2635 4
a2638 1
Tue Apr 11 04:23:05 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2640 1
a2640 4
	* 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.
d2642 6
a2647 7
	* 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.
d2649 3
a2651 1
	* xterm.c (XTread_socket): Pass dpyinfo to popup_get_selection.
d2653 2
a2654 7
	* 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.
d2656 1
a2656 1
Mon Apr 10 19:00:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2658 5
a2662 2
	* callint.c (Fcall_interactively): Fix handling of @@
	when it tests whether the event has a window in it.
d2664 4
a2667 1
	* s/sco4.h (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
d2669 2
a2670 1
	* eval.c (internal_condition_case): Abort if interrupt_input_blocked>0.
d2672 1
a2672 2
	* xmenu.c (set_frame_menubar): Don't block input until after
	the menubar maps have been decoded.
d2674 1
a2674 1
Mon Apr 10 18:35:22 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d2676 1
a2676 2
	* keyboard.c (push_frame_kboard, pop_frame_kboard): Do nothing if
	!MULTI_KBOARD.
d2678 4
a2681 4
	* 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.
d2683 2
a2684 1
Mon Apr 10 00:38:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2686 3
a2688 2
	* xmenu.c (popup_get_selection): For ButtonRelease event,
	clear dpyinfo->grabbed.
d2690 1
a2690 3
	* window.c (temp_output_buffer_show): Select the chosen window
	temporarily for running temp-buffer-show-hook.
	(syms_of_window): Fix typo.
d2692 1
a2692 4
	* 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.
d2694 1
a2694 1
	* xdisp.c (display_mode_line): Use push_frame_kboard, pop_frame_kboard.
d2696 2
a2697 1
	* xfns.c (x_window): Copy the frame name to non-Lisp string.
d2699 2
a2700 15
	* 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.
d2702 3
a2704 1
	* alloc.c, data.c, macros.c, print.c: Include keyboard.h.
d2706 8
a2713 2
	* Makefile.in.in (alloc.o, data.o, macros.o, print.o):
	Depend on keyboard.h.
d2715 1
a2715 2
	* xterm.h (x_display_info): Use `struct kboard', not KBOARD.
	* frame.h (struct frame): Use `struct kboard', not KBOARD.
d2717 1
a2717 3
	* keyboard.h (KBOARD, etc): Moved from lisp.h.
	(struct kboard): Renamed from struct KBOARD.
	* lisp.h (KBOARD, etc): Moved to keyboard.h.
d2719 1
a2719 1
Sun Apr  9 00:51:09 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2721 1
a2721 2
	* keyboard.c (unlock_kboard): Do nothing with Vunread_command_events.
	(read_char): Clean up logic for reading from KBOARD queues. 
d2723 1
a2723 1
	* xfns.c (defined_color): Fix typo (duplicate +).
d2725 4
a2728 1
	* keyboard.c (kbd_buffer_get_event): Set copy by assignment, not init.
d2730 1
a2730 2
	* xterm.c (XTread_socket): Make deiconify event
	only if frame was iconified.
d2732 5
a2736 1
	* xrdb.c (xmalloc, xrealloc): Declare them here.
d2738 1
a2738 1
Sat Apr  8 20:42:00 1995  Erik Naggum  <erik@@naggum.no>
d2740 3
a2742 1
	* editfns.c (Fencode_time): New function, to match `decode-time'.
d2744 3
a2746 1
Sat Apr  8 00:19:38 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2748 4
a2751 2
	* intervals.c (set_point): When skipping intangible text,
	stop where property value changes.
d2753 2
a2754 1
	* indent.c (Fmove_to_column): Fix minor bug in prev change.
d2756 1
a2756 1
	* lread.c (read_escape): Undo Nov 15 change.
d2758 5
a2762 2
	* xdisp.c (display_mode_line): Test mode_line_inverse_video
	before highlighting partial-width mode line.
d2764 1
a2764 2
	* xmenu.c (popup_activate_callback): Increment popup_activated_flag.
	(popup_deactivate_callback): Decrement it.
d2766 3
a2768 2
	* s/linux.h (HAVE_SELECT, HAVE_TIMEVAL): Definitions deleted.
	config.h should handle them.
d2770 1
a2770 2
	* xdisp.c (redisplay): Don't call update_frame for non-selected
	termcap frame.
d2772 3
a2774 1
Sat Apr  8 04:37:32 1995  Noah Friedman  <friedman@@prep.ai.mit.edu>
d2776 2
a2777 3
        * 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.
d2779 1
a2779 1
Fri Apr  7 19:59:01 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2781 1
a2781 2
	* lread.c (init_lread): Add site-lisp under the installation dir
	to Vload_path if that exists.
d2783 1
a2783 1
	* s/osf1.h (xmalloc, xrealloc): Declare them.
d2785 2
a2786 1
	* frame.c (make_terminal_frame): Use Emacs, Emacs-2, ... as name.
d2788 1
a2788 2
	* xdisp.c (decode_mode_spec): Add %F code.
	Order alternatives alphabetically.
d2790 1
a2790 1
	* s/aix4.h: Use "..." in #include.
d2792 2
a2793 1
Fri Apr  7 10:16:44 1995  Morten Welinder  <terra+@@cs.cmu.edu>
d2795 1
a2795 1
	* s/osf1.h: Include alloca.h, string.h.  Test NOT_C_CODE.
d2797 1
a2797 1
	* m/alpha.h (SPECIAL_EMACS_INT): Defined.
d2799 1
a2799 1
Fri Apr  7 19:09:53 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d2801 1
a2801 3
	* 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.
d2803 1
a2803 1
	* callint.c (Fcall_interactively): Fix previous change.
d2805 1
a2805 1
Fri Apr  7 00:02:45 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2807 2
a2808 1
	* doprnt.c (xmalloc, xrealloc): Declare them here.
d2810 2
a2811 1
	* callint.c (Fcall_interactively): `+' is reserved for user changes.
d2813 1
a2813 2
	* process.c (read_process_output_error_handler)
	(exec_sentinel_error_handler): Fsleep_for wants two args.
d2815 3
a2817 1
	* xfns.c (validate_x_resource_name): Change invalid chars to `_'.
d2819 1
a2819 1
	* doprnt.c (doprnt): Cast pointer to int by way of EMACS_INT.
d2821 2
a2822 2
	* xmenu.c (menubar_selection_callback, dialog_selection_callback)
	(single_submenu): Cast pointer to int by way of EMACS_INT.
d2824 1
a2824 1
	* floatfns.c (Flogb): Use EMACS_INT for `value'.
d2826 3
a2828 1
	* editfns.c (Fformat): Cast int to pointer by way of EMACS_INT.
d2830 1
a2830 2
	* search.c (search_buffer): Avoid casting trt to int.
	Use EMACS_INT for comparing pointers.
d2832 4
a2835 1
	* buffer.h (Fdelete_overlays): Add declaration.
d2837 1
a2837 1
	* keyboard.c (parse_modifiers): Use type EMACS_INT for `modifiers'.
d2839 1
a2839 2
	* xterm.c (dumpglyphs): Cast FACE_DEFAULT to (XFontStruct *)
	for comparison with face->font.
d2841 3
a2843 1
	* sysdep.c (bcopy): If NEED_BCOPY, do compile this.
d2845 3
a2847 1
	* m/ncr386.h: New file.
d2849 2
a2850 5
	* 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.
d2852 1
a2852 1
	* eval.c (Fuser_variable_p): For (STRING . INTEGER), test sign.
d2854 1
a2854 1
	* s/sol2.h (C_SWITCH_X_SYSTEM): Defined.
d2856 1
a2856 1
	* s/usg5-4-2.h (LIBS_SYSTEM): New override definition.
d2858 1
a2858 3
	* lisp.h (XMISCTYPE): New macro.
	(union Lisp_Misc): Delete the `type' field.
	Use XMISCTYPE instead of that.
d2860 3
a2862 2
	* alloc.c (Fmake_marker, mark_object): Use XMISCTYPE.
	(clear_marks, gc_sweep): Use u_marker union elt to extrat misc type.
d2864 2
a2865 8
	* 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.
d2867 3
a2869 1
	* xdisp.c (prepare_menu_bars): Do the frame titles last.
d2871 2
a2872 1
Thu Apr  6 17:54:20 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2874 4
a2877 2
	* xfaces.c (intern_face): Cast FACE_DEFAULT to (XFontStruct *)
	for comparison with face->font.
d2879 1
a2879 1
	* puresize.h (CHECK_IMPURE): Remove & from before my_edata.
d2881 1
a2881 1
	* editfns.c (Fformat_time_string): Use emacs_strftime.  Doc fix.
d2883 1
a2883 1
	* Makefile.in.in (strftime.o): Define strftime as emacs_strftime.
d2885 2
a2886 6
	* 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.
d2888 1
a2888 1
	* emacs.c (main): Cast arg to `brk'.
d2890 1
a2890 1
	* sysdep.c (init_sys_modes): Use TCOON only if defined.
d2892 1
a2892 2
	* s/netbsd.h (NO_MATHERR): Defined.
	(LIBS_SYSTEM): Definition deleted.
d2894 1
a2894 1
	* unexsunos4.c: Treat __NetBSD__ like __FreeBSD__.
d2896 1
a2896 1
Thu Apr  6 14:49:30 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d2898 1
a2898 1
	* fns.c (Fplist_put): Fix missing \n\.
d2900 2
a2901 2
	* 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.
d2903 1
a2903 1
Thu Apr  6 08:00:06 1995  Simon Marshall  <simon@@duality.gnu.ai.mit.edu>
d2905 2
a2906 1
	* data.c (Fcar, Fcdr, Fsetcar, Fsetcdr): Arg name doc fixes.
d2908 1
a2908 1
Thu Apr  6 01:18:11 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2910 2
a2911 1
	* puresize.h (BASE_PURESIZE): Increment to 310000.
d2913 2
a2914 3
	* indent.c (string_width): New function.
	(vmotion): Compute the width of minibuf_prompt
	if it isn't already known.
d2916 3
a2918 4
	* 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.
d2920 2
a2921 1
	* search.c (Flooking_at, Fposix_looking_at): Change arg name.
d2923 3
a2925 1
Wed Apr  5 22:52:55 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2927 1
a2927 1
	* frame.c (Fraise_frame, Flower_frame): Now interactive.
d2929 3
a2931 1
Tue Apr  4 22:53:24 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d2933 2
a2934 4
	* lisp.h: Declare Ffetch_bytecode.
	* eval.c (Ffetch_bytecode): New function.
	(funcall_lambda): Call it.
	(syms_of_eval): defsubr it.
d2936 1
a2936 1
Mon Apr  3 17:48:22 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d2938 1
a2938 2
	* xfns.c (x_window_to_frame): New arg DPYINFO.  All callers changed.
	(x_any_window_to_frame, x_top_window_to_frame): Likewise.
d2940 1
a2940 6
	* 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.
d2942 2
a2943 1
Sat Apr  1 01:13:50 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2945 1
a2945 3
	* lread.c (oblookup): Save bucket num in oblookup_last_bucket_number.
	(Funintern): New function.
	(syms_of_lread): defsubr it.
d2947 2
a2948 1
Fri Mar 31 23:31:22 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2950 1
a2950 2
	* dired.c (Fdirectory_files): Fix bug in IS_ANY_SEP usage
	introduced in Oct 30 change.
d2952 1
a2952 1
Fri Mar 31 14:25:43 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d2954 10
a2963 2
	* keyboard.c (command_loop_1): If we ignore force_start, then also
	ignore beg_unchanged and end_unchanged.
d2965 3
a2967 1
Fri Mar 31 09:55:41 1995  Michael Ernst  <mernst@@research.microsoft.com>
d2969 1
a2969 1
	* lread.c (isfloat_string): Permit trailing space.
d2971 1
a2971 1
Thu Mar 30 19:07:04 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d2973 5
a2977 2
	* keyboard.c (event_to_kboard): Ignore dead frames.
	(kbd_buffer_get_event): In batch mode, use current_kboard.
d2979 1
a2979 3
	* 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.
d2981 1
a2981 1
	* lisp.h: Declare function delete_kboard.
d2983 3
a2985 5
	* 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.
d2987 2
a2988 1
	* emacs.c (sort_args): Skip strncmp if longname is a null pointer.
d2990 1
a2990 1
Thu Mar 30 04:22:00 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2992 1
a2992 1
	* data.c (Fmod): Fix the final adjustment, when i2 < 0 and i1 == 0.
d2994 1
a2994 1
Wed Mar 29 01:07:28 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2996 2
a2997 4
	* 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>
d2999 1
a2999 1
	* process.c (Fsignal_process): SIGCODE is a symbol, not a string.
d3001 1
a3001 1
Tue Mar 28 02:38:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3003 1
a3003 1
	* fns.c (Fconcat): Undo previous change.
d3005 1
a3005 1
Mon Mar 27 16:10:46 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3007 1
a3007 1
	* fns.c (Fget, Fput): Fetch and store symbol's plist directly.
d3009 5
a3013 1
Mon Mar 27 10:26:49 1995  Boris Goldowsky  <boris@@cs.rochester.edu>
d3015 10
a3024 8
	* 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.
d3026 3
a3028 3
	* intervals.c (textget_direct): Fn deleted.
	(textget, verify_interval_modification): Use Fplist_get instead.
	* intervals.h: Remove declaration.
d3030 1
a3030 1
Sun Mar 26 03:45:13 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3032 1
a3032 3
	* xterm.c (XTmouse_position): New arg `insist'.
	* ntinevt.c (win32_mouse_position): New arg `insist'.
	* msdos.c (mouse_get_pos): New arg `insist'.
d3034 1
a3034 6
	* 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.
d3036 1
a3036 2
	* m/intel386.h (C_SWITCH_SYSTEM): Don't #undef or define it.
 	[SOLARIS2, SOLARIS2_4, !__GNUC__] (C_SWITCH_MACHINE): Define instead.
d3038 1
a3038 1
Sun Mar 26 03:02:28 1995  Germano Caronni <caronni@@tik.ethz.ch>
d3040 5
a3044 8
	* 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.
d3046 1
a3046 1
Sat Mar 25 21:02:37 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3048 1
a3048 1
	* process.c (Fsignal_process): Allow signal names as well as numbers.
d3050 1
a3050 1
Fri Mar 24 23:47:47 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3052 1
a3052 1
	* editfns.c (init_editfns): Use NAME envvar to init user-full-name.
d3054 1
a3054 1
Fri Mar 24 17:38:35 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3056 1
a3056 1
	* textprop.c (Fnext_property_change): Fix previous change.
d3058 2
a3059 1
Thu Mar 23 19:40:04  Kevin Rodgers <kevinr@@ihs.com>
d3061 1
a3061 2
	* print.c (temp_output_buffer_setup): (Re)set the default
	directory of the temp buffer to that of the current buffer.
d3063 1
a3063 1
Thu Mar 23 16:30:17 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3065 3
a3067 1
	* buffer.c (syms_of_buffer): Doc fix.
d3069 4
a3072 18
	* 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>
d3074 1
a3074 1
	* m/sparc.h: Don't include alloca.h if NOT_C_CODE.
d3076 1
a3076 4
	* 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>
d3078 1
a3078 4
	* 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.
d3080 1
a3080 2
	* fns.c (concat): Treat integers as characters, not strings.
	This makes `concat' more like `insert'.
d3082 1
a3082 3
	* window.c (syms_of_window): Fix missing \n\.
	* keymap.c (Fwhere_is_internal): Fix missing \n\.
	* fileio.c (syms_of_fileio): Fix missing \n\.
d3084 2
a3085 1
Tue Mar 21 01:15:00 1995  Marco Walther  <Marco.Walther@@mch.sni.de.>
d3087 2
a3088 1
	* unexelfsni.c: New file.
d3090 1
a3090 1
	* m/mips-siemens.h: Total rewrite.
d3092 1
a3092 1
Mon Mar 20 18:32:13 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3094 1
a3094 2
	* xdisp.c (redisplay_window): Skip the only-point-has-changed
	optimization if updating the window's mode line.
d3096 1
a3096 1
Sun Mar 19 13:47:20 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3098 1
a3098 2
	* xdisp.c (invisible_p, invisible_ellipsis_p): Handle list
	as invisible property value.
d3100 1
a3100 1
Sat Mar 18 18:07:21 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3102 2
a3103 1
	* xdisp.c (display_menu_bar): Just one space between menu items.
d3105 8
a3112 1
Sat Mar 18 06:15:50 1995  Ted Lemon  <mellon@@toccata.fugue.com>
d3114 1
a3114 4
	* 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.
d3116 2
a3117 1
Fri Mar 17 20:30:51 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3119 1
a3119 3
	* lread.c (Vload_read_function): New variable.
	(readevalloop): Use that variable.
	(syms_of_lread): Set up Lisp variable.
d3121 3
a3123 1
Fri Mar 17 13:16:53 1995  Boris Goldowsky  <boris@@spiff.gnu.ai.mit.edu>
d3125 1
a3125 1
	* buffer.h (struct buffer): Add file_format member.
d3127 17
a3143 3
	* 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.
d3145 1
a3145 5
	* 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.
d3147 1
a3147 1
Fri Mar 17 02:40:46 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3149 2
a3150 1
	* alloc.c (init_alloc_once): Increase gc_cons_threshold to 300000.
d3152 1
a3152 1
Wed Mar 15 16:37:33 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3154 1
a3154 1
	* xfns.c (x_decode_color): Don't use cdef if defined_color failed.
d3156 4
a3159 1
Wed Mar 15 15:10:47 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3161 1
a3161 1
	* config.h.in [HAVE_X_WINDOWS] (MULTI_KBOARD): Define this symbol.
d3163 1
a3163 1
Tue Mar 14 19:03:03 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3165 1
a3165 38
	* 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.
d3167 1
a3167 1
Tue Mar 14 00:45:13 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3169 2
a3170 1
	* data.c (Fash): Fix previous change.
d3172 1
a3172 1
	* buffer.c (Fmake_indirect_buffer): Invert the arguments.
d3174 1
a3174 2
	* marker.c (unchain_marker): Allow differing buffers
	as long as they have the same text.
d3176 2
a3177 1
Mon Mar 13 16:47:12 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3179 2
a3180 7
	* 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.
d3182 1
a3182 3
	* print.c (print): current_perdisplay now is never null.
	* callint.c (clear_prefix_arg): Likewise.
	* macros.c (Fexecute_kbd_macro): Likewise.
d3184 2
a3185 1
Mon Mar 13 02:19:09 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3187 1
a3187 2
	* minibuf.c (read_minibuf): Save Voverriding_local_map.
	(read_minibuf_unwind): Restore Voverriding_local_map.
d3189 3
a3191 1
Mon Mar 13 01:33:40 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d3193 1
a3193 2
	* unexelf.c (unexec): Adjust the file offset of sections located
	after the section header table.
d3195 3
a3197 1
Sun Mar 12 21:49:33 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3199 1
a3199 7
	* 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.
d3201 1
a3201 1
Sun Mar 12 00:01:03 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3203 1
a3203 6
	* 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.
d3205 5
a3209 1
	* window.c (Fdisplay_buffer): Fix prev change--return sel window.
d3211 1
a3211 5
	* 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>
d3213 4
a3216 2
	* xdisp.c (display_text_line): When setting selective_rlen,
	ignore whether selective display is on or off.
d3218 1
a3218 1
	* textprop.c (Fnext_property_change): Handle LIMIT = t.
d3220 2
a3221 5
	* 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>
d3223 1
a3223 1
	* data.c (Fash, Flsh): Change arg names.
d3225 1
a3225 1
Thu Mar  9 18:45:06 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3227 1
a3227 2
	* intervals.h (TEXT_PROP_MEANS_INVISIBLE): New macro.
	(TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS): New macro.
d3229 1
a3229 5
	* 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.
d3231 1
a3231 2
	* indent.c (compute_motion, vmotion): Check `invisible' prop
	using TEXT_PROP_MEANS_INVISIBLE.
d3233 1
a3233 4
	* 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'.
d3235 3
a3237 1
Wed Mar  8 21:57:52 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3239 1
a3239 1
	* syntax.c (Fforward_comment): Always clear immediate_quit for return.
d3241 5
a3245 1
Wed Mar  8 17:47:37 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3247 1
a3247 1
	* sysdep.c (read_input_waiting): Fix Lisp_Object vs. int problem.
d3249 2
a3250 1
Tue Mar  7 19:41:09 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3252 2
a3253 8
	* 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.
d3255 2
a3256 9
	* 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.
d3258 1
a3258 3
	* lisp.h (struct PERDISPLAY): New member Vlast_kbd_macro.
	* alloc.c (mark_perdisplays): Mark it here.
	* keyboard.c (init_perdisplay): Initialize it here.
d3260 5
a3264 5
	* 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.
d3266 1
a3266 1
	* keyboard.c (cmd_error): Bind Vprint_level and Vprint_length.
d3268 7
a3274 1
Mon Mar  6 23:55:38 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d3276 1
a3276 1
	* keyboard.c (command_loop_1): Fix test for prefix arg.
d3278 1
a3278 1
Mon Mar  6 10:17:14 1995  Boris Goldowsky  <boris@@cs.rochester.edu>
d3280 1
a3280 3
	* textprop.c (Vdefault_properties): New variable.
	* intervals.h: Declare it.
	* intervals.c (textget): Check it.
d3282 1
a3282 1
Fri Mar  3 02:01:52 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3284 1
a3284 1
	* callint.c (Fcall_interactively): Fix Feb 22 change.
d3286 1
a3286 2
	* keyboard.c (read_key_sequence): Update orig_local_map
	for some additional gotos to replay_sequence.
d3288 1
a3288 2
	* process.c (exec_sentinel, read_process_output): If running filter
	or sentinel changes the local map, call record_asynch_buffer_change.
d3290 1
a3290 1
Thu Mar  2 20:45:08 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d3292 1
a3292 2
	* xdisp.c (display_mode_line): Temporarily set current_perdisplay
	to reference the frame we're updating.
d3294 3
a3296 14
	* 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.
d3298 1
a3298 1
	* keyboard.c (cmd_error): Allow current_perdisplay to be null.
d3300 1
a3300 5
	* 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.
d3302 3
a3304 1
Thu Mar  2 14:37:26 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3306 1
a3306 1
	* emacs.c (syms_of_emacs): Doc fix.
d3308 1
a3308 1
Thu Mar  2 02:28:04 1995  John Grabowski  <johng@@media.mit.edu>
d3310 1
a3310 2
	* xfns.c (defined_color): If colormap is full, find closest match.
	* xfaces.c (load_color): Call defined_color to allocate the color.
d3312 1
a3312 1
Wed Mar  1 01:58:34 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3314 1
a3314 3
	* 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.
d3316 2
a3317 2
	* buffer.c (Fpop_to_buffer): Call Fset_buffer_major_mode
	if we create a buffer.
d3319 1
a3319 1
Tue Feb 28 18:33:11 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3321 1
a3321 27
	* 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.
d3323 2
a3324 1
Tue Feb 28 12:56:36 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3326 1
a3326 1
	* frame.c (Fframep): Doc fix.
d3328 2
a3329 1
Tue Feb 28 00:20:50 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d3331 2
a3332 2
	* callint.c (Fcall_interactively): Lock the display before
	executing the command, no matter how we execute it.
d3334 1
a3334 1
Sun Feb 26 02:44:35 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3336 1
a3336 4
	* 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.
d3338 2
a3339 2
	* keymap.c (Fdefine_key): Handle Lucid-style (crtl backspace) etc.
	(Flookup_key): Likewise.
d3341 1
a3341 3
	* callproc.c (Fcall_process): Extend BUFFER arg so it can specify
	a separate output file for stderr output.
	(Fcall_process_region): Doc fix.
d3343 1
a3343 1
Sat Feb 25 03:31:33 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3345 1
a3345 2
	* xmenu.c (Fx_popup_menu): Init f from selected_frame
	before calling mouse_position_hook.
d3347 1
a3347 3
	* 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.
d3349 2
a3350 1
Fri Feb 24 23:03:10 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d3352 1
a3352 3
	* 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.
d3354 2
a3355 1
	* term.c (term_init) [TERMINFO]: Make error message more accurate.
d3357 1
a3357 1
Thu Feb 23 22:35:58 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3359 4
a3362 3
	* 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.  
d3364 1
a3364 1
Thu Feb 23 21:25:41 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d3366 3
a3368 13
	* 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.
d3370 1
a3370 1
Thu Feb 23 01:00:04 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3372 1
a3372 1
	* window.c (syms_of_window): Doc fixes.
d3374 2
a3375 4
	* 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.
d3377 1
a3377 2
	* window.c (window_loop): Handle special display buffer frames
	for DELETE_BUFFER_WINDOWS as for UNSHOW_BUFFER.
d3379 2
a3380 1
Wed Feb 22 23:54:22 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3382 1
a3382 3
	* 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.
d3384 1
a3384 1
Tue Feb 21 22:01:17 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d3386 3
a3388 25
	* 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.
d3390 2
a3391 1
Tue Feb 21 20:19:45 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3393 1
a3393 2
	* xdisp.c (display_string, display_text_line):
	Display table overrides ordinary display even for \t, \n, etc.
d3395 1
a3395 1
Sun Feb 19 14:06:47 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3397 1
a3397 1
	* frame.c (Fmake_terminal_frame): Doc fix.
d3399 1
a3399 1
Sat Feb 18 04:05:41 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3401 1
a3401 2
	* s/hpux9.h (LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
	Add #undef's to cancel hpux8.h's definitions.
d3403 3
a3405 1
Fri Feb 17 03:44:55 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3407 1
a3407 1
	* config.h.in (MULTI_FRAME): Define unconditionally.
d3409 7
a3415 1
Thu Feb 16 01:36:39 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3417 1
a3417 4
	* 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.
d3419 2
a3420 2
	* term.c (calculate_costs): Update max_frame_height, max_frame_width.
	They determine length of chars_wasted, copybuf and char_ins_del_vector.
d3422 2
a3423 1
	* xdisp.c (redisplay): Don't display nonselected terminal frames.
d3425 1
a3425 5
	* 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.
d3427 1
a3427 4
	* 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.
d3429 1
a3429 1
Wed Feb 15 07:10:41 1995  Paul Reilly  <pmr@@geech.gnu.ai.mit.edu>
d3431 1
a3431 2
	* s/dgux.h (LIB_MOTIF): Add -lgen to provide provide the symbols
	`regcmp' and `regex'.
d3433 1
a3433 1
Wed Feb 15 03:05:34 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3435 2
a3436 2
	* xmenu.c (xmenu_show, both versions): New arg for_click.
	(Fx_popup_menu): Compute it and pass it.
d3438 1
a3438 1
Tue Feb 14 19:02:33 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3440 6
a3445 1
	* callint.c: Doc fix.
d3447 2
a3448 1
Tue Feb 14 21:48:14 1995  Paul Reilly  <pmr@@geech.gnu.ai.mit.edu>
d3450 1
a3450 1
	* xterm.c (x_bitmap_icon): Fix test for unallocated icon bitmap.
d3452 10
a3461 1
Tue Feb 14 16:33:49 1995  Richard Stallman  <rms@@geech.gnu.ai.mit.edu>
d3463 2
a3464 2
	* filelock.c: (unlock_buffer, unlock_all_files, Flock_buffer)
	(Funlock_buffer): Use buffer's file_truename, not filename.
d3466 1
a3466 3
	* 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.
d3468 4
a3471 1
	* buffer.h (struct buffer): New field file_truename.
d3473 1
a3473 1
	* ralloc.c (r_alloc_free): Call refill_memory_reserve only if emacs.
d3475 2
a3476 3
	Include getpagesize.h unconditionally.
	(free_bloc): Don't die if bloc->next or bloc->prev is null.
	[!emacs] (bzero): New macro definition.
d3478 1
a3478 2
	* keyboard.c (input_poll_signal): Add ignored argument.
	(interrupt_signal): Likewise.
d3480 4
a3483 1
	* dispnew.c (window_change_signal): Add ignored argument.
d3485 1
a3485 1
	* process.c (Fstart_process): Make process marker point into proc buf.
d3487 1
a3487 1
	* xterm.c (x_display_bar_cursor): Use frame's cursor_width.
d3489 1
a3489 2
	(x_connection_signal): New function.
	(x_initialize): Use it as signal handler.
d3491 2
a3492 2
	* xfns.c (x_set_cursor_type): Set cursor_width field.
	Handle args of form (bar . WIDTH).
d3494 1
a3494 1
	* xterm.h (struct x_display): New element cursor_width.
d3496 1
a3496 1
Tue Feb 14 04:15:32 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3498 3
a3500 2
	* filelock.c (unlock_buffer, unlock_all_files, Flock_buffer)
	(Funlock_buffer): Use buffer's file_truename, not filename.
d3502 8
a3509 4
	* 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.
d3511 1
a3511 4
	* 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.
d3513 5
a3517 1
Mon Feb 13 01:32:38 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3519 5
a3523 6
	* 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.
d3525 1
a3525 1
	* ralloc.c (r_alloc_free): Call refill_memory_reserve only if emacs.
d3527 1
a3527 1
	* s/irix6-0.h: New file.
d3529 1
a3529 2
	* fileio.c (Fexpand_file_name): Copy default-directory
	before looking for a handler on the directory arg.
d3531 1
a3531 3
	* 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.
d3533 1
a3533 1
	* lisp.h (Qprocessp): Declared.
d3535 3
a3537 2
	* xdisp.c (redisplay_window): If we update the mode line,
	switch to the buffer for real, and switch back for real.
d3539 1
a3539 1
Sun Feb 12 00:22:18 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3541 1
a3541 2
	* xterm.c (x_connection_signal): New function.
	(x_initialize): Use it as signal handler.
d3543 1
a3543 2
	* keyboard.c (input_poll_signal): Add ignored argument.
	(interrupt_signal): Likewise.
d3545 1
a3545 1
	* dispnew.c (window_change_signal): Add ignored argument.
d3547 3
a3549 1
Sat Feb 11 16:56:31 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3551 5
a3555 2
	* fileio.c (Fexpand_file_name): Look for a handler for defalt.
	(syms_of_fileio): Minor rearrangement.
d3557 1
a3557 3
	* ralloc.c: Include getpagesize.h unconditionally.
	(free_bloc): Don't die if bloc->next or bloc->prev is null.
	[!emacs] (bzero): New macro definition.
d3559 5
a3563 2
	* xmenu.c (menu_item_equiv_key): If command is an alias,
	check only the underlying command for a keyboard equivalent.
d3565 7
a3571 2
	* s/netbsd.h (WAIT_USE_INT): Defined.
	* syswait.h: New alternative specified by WAIT_USE_INT.
d3573 1
a3573 1
	* process.c (Fstart_process): Make process marker point into proc buf.
d3575 2
a3576 1
Fri Feb 10 01:37:34 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3578 1
a3578 2
	* data.c: Rename arg OBJ to OBJECT in all type predicates.
	(Ftype_of): New function.
d3580 2
a3581 1
Thu Feb  9 04:30:09 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3583 1
a3583 2
	* xfaces.c (load_color): Ignore failure from XAllocColor.
	* xfns.c (x_decode_color): Ignore failure from defined_color.
d3585 2
a3586 2
	* m/intel386.h [SOLARIS2_4, !__GNUC__] (C_SWITCH_SYSTEM): Defined.. 
	[SOLARIS2_4, !__GNUC__]: Include alloca.h.
d3588 1
a3588 1
Tue Feb  7 18:50:09 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3590 4
a3593 2
	* Makefile.in.in (maintainer-clean): Renamed from realclean.
	Print warning message.
d3595 2
a3596 1
Tue Feb  7 18:18:54 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3598 1
a3598 3
	* 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.
d3600 2
a3601 4
	* 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.
d3603 1
a3603 1
Mon Feb  6 20:00:22 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3605 1
a3605 11
	* 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.
d3607 2
a3608 1
Sun Feb  5 01:57:28 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3610 1
a3610 1
	* ralloc.c (r_alloc_size_in_use): New function.
d3612 1
a3612 6
	* 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.
d3614 1
a3614 2
	* alloc.c (refill_memory_reserve): New function.
	* ralloc.c (r_alloc_free): Call refill_memory_reserve.
d3616 3
a3618 1
Sat Feb  4 00:24:07 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3620 4
a3623 5
	* 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.
d3625 1
a3625 8
	* 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.
d3627 2
a3628 3
	* alloc.c (syms_of_alloc): Improve memory exhausted error message.
	(init_alloc_once): Allocate spare_memory.
	(memory_full): Free spare_memory.
d3630 1
a3630 1
Fri Feb  3 22:15:54 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3632 2
a3633 4
	* 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.
d3635 1
a3635 1
Fri Feb  3 16:00:41 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3637 2
a3638 9
	* 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.
d3640 2
a3641 9
	* 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.
d3643 3
a3645 8
	* 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.
d3647 2
a3648 1
Fri Feb  3 04:27:31 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3650 1
a3650 2
	* xdisp.c (display_text_line): Deduct minibuf prompt from taboffset.
	(try_window): Deduct minibuf prompt from tab_offset, after 1st line.
d3652 1
a3652 1
Thu Feb  2 05:45:20 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3654 1
a3654 1
	* xselect.c (wait_for_property_change): Avoid unlikely timing error.
d3656 1
a3656 2
	* keyboard.c (kbd_buffer_get_event, swallow_events):
	Remove selection_request event from input queue before processing it.
d3658 9
a3666 1
Wed Feb  1 16:37:16 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3668 1
a3668 8
	* 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.
d3670 2
a3671 1
Wed Feb  1 14:35:15 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3673 1
a3673 5
	* 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.
d3675 4
a3678 3
	* xselect.c (x_reply_selection_request): Call
	x_start_queueing_selection_events and x_stop_queueing_selection_events.
	Handle X protocol errors.
d3680 1
a3680 1
Tue Jan 31 17:30:45 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3682 4
a3685 10
	* 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.
d3687 1
a3687 1
	* lread.c [!MULTI_PERDISPLAY] (defvar_display): Use staticpro.
d3689 3
a3691 1
Tue Jan 31 15:09:36 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3693 1
a3693 1
	* emacs.c (main) [REL_ALLOC]: Set __malloc_extra_blocks.
d3695 2
a3696 1
Mon Jan 30 23:54:38 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3698 2
a3699 1
	* buffer.c (syms_of_buffer): overwrite-mode doc fix.
d3701 1
a3701 1
Mon Jan 30 19:01:56 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d3703 1
a3703 6
	* 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.
d3705 3
a3707 2
	* lisp.h (DEFVAR_DISPLAY): New macro.
	* lread.c (defvar_display): New function.
d3709 1
a3709 7
	* 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.
d3711 3
a3713 1
	* keyboard.c (syms_of_keyboard): Fix missing backslashes.
d3715 1
a3715 1
Sun Jan 29 17:01:33 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3717 2
a3718 2
	* fns.c (Frassoc): New function.
	(syms_of_fns): defsubr it.
d3720 1
a3720 1
Sat Jan 28 03:36:05 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3722 2
a3723 3
	* ecrt0.c: Renamed from crt0.c.
	* Makefile.in.in (ecrt0.o): Target renamed from crt0.o.
	(START_FILES): Use ecrt0.o.
d3725 1
a3725 1
Fri Jan 27 13:48:20 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3727 1
a3727 17
	* 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.
d3729 1
a3729 8
	* 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.
d3731 3
a3733 1
	* xdisp.c (message_dolog): Rename " *Messages*" buffer to "*Messages*"
d3735 1
a3735 1
Fri Jan 27 04:44:35 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3737 2
a3738 2
	* minibuf.c (Fread_string): Add third arg HISTORY.
	* callint.c (Fcall_interactively): Pass new arg to Fread_string.
d3740 4
a3743 1
Fri Jan 27 02:20:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3745 3
a3747 1
	* insdel.c (modify_region): Clear point_before_scroll field.
d3749 1
a3749 1
Wed Jan 25 23:46:56 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3751 1
a3751 5
	* 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.
d3753 1
a3753 1
Tue Jan 24 21:01:58 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3755 2
a3756 12
	* 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.
d3758 6
a3763 1
	* process.c (process_tick, update_tick): Make non-static.
d3765 1
a3765 1
Tue Jan 24 02:55:05 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3767 2
a3768 6
	* 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.
d3770 1
a3770 1
Mon Jan 23 17:16:38 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3772 1
a3772 1
	* indent.c (compute_motion): Don't get hung in selective-display loop.
d3774 2
a3775 1
	* syssignal.h: Don't use function prototypes.
d3777 2
a3778 3
	* keyboard.c (read_key_sequence): Don't wait for a possible key
	translation sequence if we already have a binding.
	Add missing break statement.
d3780 1
a3780 6
	* 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.
d3782 2
a3783 6
	* 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__.
d3785 1
a3785 1
Sun Jan 22 02:14:04 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3787 4
a3790 1
	* minibuf.c (read_minibuf): Don't print the prompt in batch mode.
d3792 1
a3792 3
	* emacs.c (sort_args): Ordinary args get priority 0.
	So do -f, -l, -insert, etc.  --kill gets negative priority.
	Everything else gets positive priority.
d3794 2
a3795 1
Sat Jan 21 20:44:42 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3797 1
a3797 2
	* xterm.c (x_destroy_window): Don't let frame being destroyed
	remain in x_focus_event_frame.
d3799 3
a3801 1
Sat Jan 21 17:23:02 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d3803 2
a3804 1
	* config.h.in [NO_REMAP]: #undef static.
d3806 1
a3806 1
Fri Jan 20 15:10:06 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3808 1
a3808 2
	* lisp.h (union Lisp_Misc): Make the `type' field just 16 bits,
	to match the substructures.
d3810 1
a3810 1
Fri Jan 20 00:04:44 1995  Morten Welinder  <terra@@diku.dk>
d3812 1
a3812 2
	* fileio.c (file_name_as_directory, Ffile_name_directory)
	(Ffile_name_nondirectory): Delete special MSDOG code now covered by macros.
d3814 1
a3814 1
	* s/msdos.h (DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP): Defined.
d3816 3
a3818 2
	* msdos.c (XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate)
	(XMenuActivate, XMenuDestroy): Add dummy `display *' argument.
d3820 2
a3821 5
	* 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.
d3823 2
a3824 1
	* buffer.c (syms_of_buffer) [DOS_NT]: Add missing ';'.
d3826 15
a3840 1
Thu Jan 19 16:02:32 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3842 2
a3843 1
	* textprop.c (Ftext_property_any): Handle the trivial case specially.
d3845 1
a3845 3
	* 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.
d3847 1
a3847 2
	* print.c (print): Print internal types too, for debugging.
	Print appropriate message for invalid pseudovector or misc type.
d3849 1
a3849 2
	* .gdbinit (xboolfwd, xbuflocal, xbufobjfwd, xcompiled): New macros.
	(xintfwd, xmiscfree, xobjfwd, xoverlay, xwinconfig): New macros.
d3851 1
a3851 1
Thu Jan 19 15:01:19 1995  Abramo Bagnara  <abramo@@sssup2.sssup.it>
d3853 1
a3853 1
	* term.c (term_get_fkeys_1): Bug fix for function key above f19.
d3855 2
a3856 1
Wed Jan 18 18:23:12 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3858 1
a3858 2
	* editfns.c (subst_char_in_region_unwind): New function.
	(Fsubst_char_in_region): Use it to make undo_list t temporarily.
d3860 6
a3865 2
	* buffer.c (Fbuffer_local_variables): Unconditionally call
	find_symbol_value, but conditionally use its value.
d3867 2
a3868 2
	* xrdb.c: Don't include sys/param.h.
	(MAXPATHLEN): Definition deleted.
d3870 1
a3870 1
Wed Jan 18 15:56:39 1995  Boris Goldowsky  <boris@@cs.rochester.edu>
d3872 2
a3873 2
	* cmds.c (internal_self_insert): Don't test current_column
	when deciding to call auto_fill_function.
d3875 3
a3877 1
Wed Jan 18 15:12:38 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3879 1
a3879 3
	* 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.
d3881 2
a3882 1
Wed Jan 18 03:58:07 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3884 1
a3884 3
	* window.c (Qtemp_buffer_show_hook): New hook.
	(syms_of_window): Init and staticpro it.
	(temp_output_buffer_show): Run the hook.
d3886 1
a3886 1
Mon Jan 16 19:08:16 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3888 1
a3888 2
	* xdisp.c (message_dolog): Ignore narrowing.
	Use low-level functions, to bypass modification and motion hooks.
d3890 1
a3890 3
	* 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.
d3892 2
a3893 3
	* cm.c (cmcheckmagic): New function.
	* cm.h: Declare it.
	* term.c (write_glyphs, insert_glyphs): Call it.
d3895 2
a3896 1
Mon Jan 16 01:38:08 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3898 1
a3898 1
	* keyboard.c (kbd_buffer_store_event): Cast arg of bcopy.
d3900 2
a3901 1
Sun Jan 15 08:05:06 1995  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d3903 1
a3903 1
	* ralloc.c (r_alloc_init): Remove unused variable END.
d3905 1
a3905 1
Fri Jan 13 21:17:20 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3907 4
a3910 1
	* alloc.c (Fpurecopy): Mask size field when copying pseudovector.
d3912 1
a3912 1
Thu Jan 12 15:27:50 1994  Boris Goldowsky  <boris@@cs.rochester.edu>
d3914 1
a3914 1
	* lisp.h: Declare Qrear_nonsticky.
d3916 2
a3917 3
	* cmds.c (Vuse_hard_newlines): New variable.
	(Fnewline): If use_hard_newlines is on, mark inserted
	newline(s) with `hard' property, marked rear-nonsticky.
d3919 1
a3919 1
Thu Jan 12 10:35:51 1994  Tom Tromey  <tromey@@drip.colorado.edu>
d3921 1
a3921 1
	* buffer.c (list_buffers_1, Flist_buffers): Functions deleted.
d3923 1
a3923 1
Thu Jan 12 18:12:22 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3925 3
a3927 4
	* 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.
d3929 2
a3930 5
	* 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.
d3932 3
a3934 2
	* fns.c (internal_equal): Delete redundant tests.
	Mask size field when comparing pseudovectors.
d3936 1
a3936 1
	* fns.c (Frandom): Use VALBITS instead of hardcoded constants.
d3938 1
a3938 1
Tue Jan 10 20:38:37 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3940 1
a3940 1
	* alloc.c (DONT_COPY_FLAG): Fix typo.
d3942 2
a3943 1
	* lisp.h: Use large constants for Lisp_Misc_Type.
d3945 1
a3945 10
	* 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.
d3947 4
a3950 1
Tue Jan 10 18:20:12 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3952 5
a3956 2
	* emacs.c (main): Handle SIGABRT, SIGHWE, SIGPRE, SIGORE, SIGDLK,
        SIGCPULIM, if they are defined.
d3958 4
a3961 2
	* alloc.c (DONT_COPY_FLAG): New bit flag.
	(mark_object, gc_sweep, compact_strings): Use it.
d3963 1
a3963 1
Tue Jan 10 15:36:34 1995  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d3965 3
a3967 1
	* editfns.c (Finsert_char): Check inherit flag for long strings too.
d3969 1
a3969 1
	* editfns.c (Fnarrow_to_region): Swap using temp Lisp_Object, not int.
d3971 1
a3971 1
Tue Jan 10 01:45:56 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3973 2
a3974 1
	* keyboard.c (syms_of_keyboard): Doc fix.
d3976 2
a3977 4
	* 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.
d3979 1
a3979 1
Mon Jan  9 20:33:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3981 2
a3982 3
	* 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.
d3984 1
a3984 1
Mon Jan  9 19:05:02 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d3986 1
a3986 1
	* window.c (Fscroll_other_window): On small windows, scroll by 1 line.
d3988 4
a3991 1
Mon Jan  9 04:59:26 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3993 1
a3993 1
	* fns.c (internal_equal): Once again use a switch.
d3995 1
a3995 4
	* 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.
d3997 1
a3997 1
Sun Jan  8 14:21:13 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3999 3
a4001 1
	* keymap.c (store_in_keymap): Copy a cons only if car is a string.
d4003 1
a4003 1
	* xterm.c: Don't include param.h.
d4007 153
a4159 1
Fri Jan  6 18:52:20 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d4161 6
a4166 5
	* 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.
d4168 1
a4168 1
Thu Jan  5 17:18:26 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4170 3
a4172 2
	* frame.c [!MULTI_FRAME] (window_frame): New function.
	[!MULTI_FRAME] (syms_of_frame): defsubr it.
d4174 2
a4175 1
Thu Jan  5 02:05:24 1995  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d4177 1
a4177 4
	* 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.
d4179 2
a4180 1
Wed Jan  4 13:10:21 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d4182 1
a4182 1
	* alloc.c (mark_object, mark_buffer): Don't mark buffer twice.
d4184 4
a4187 1
	* .gdbinit (xint, xcar, xcdr): Use correct shift and mask values.
d4189 1
a4189 1
	* lisp.h [EXPLICIT_SIGN_EXTEND] (XINT): Use symbolic constants.
d4191 2
a4192 1
Wed Jan  4 02:19:35 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4194 1
a4194 1
	* doc.c (store_function_docstring): Arg is now EMACS_INT.
d4196 1
a4196 1
Mon Jan  2 20:19:13 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d4198 2
a4199 3
	* 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.
d4201 5
a4205 1
	* alloc.c (mark_object): Make `else' visible outside MULTI_FRAME.
d4207 1
a4207 1
Mon Jan  2 00:07:44 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4209 1
a4209 1
	* keymap.c (store_in_keymap): While dumping, copy DEF if it's a cons.
d4211 2
a4212 7
	* 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.
d4214 1
a4214 3
	* alloc.c (mark_buffer, gc_sweep): Use BUF_INTERVALS.
	* editfns.c (Ftranspose_regions): Use BUF_INTERVALS.
	(transpose_markers): Use BUF_MARKERS.
d4216 2
a4217 3
	* insdel.c (insert_1, prepare_to_modify_buffer, insert_from_buffer_1): 
	Use BUF_INTERVALS.
	(adjust_markers): Use BUF_MARKERS.
d4219 3
a4221 6
	* 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.
d4223 5
a4227 1
	* undo.c (Fprimitive_undo): Use base buffer's modtime field.
d4229 1
a4229 1
Sun Jan  1 17:04:27 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4231 1
a4231 3
	* .gdbinit: Adapt to new Lisp_Object format.
	(xvectype, xmisctype): New commands.
	(xtype): Print the misc or vectorlike subtype too.
d4233 1
a4233 1
	* xdisp.c (redisplay_window): Call set_buffer_temp.
d4235 2
a4236 1
	* buffer.c (set_buffer_temp): New function.
d4238 1
a4238 3
	* buffer.h (struct buffer): Make buffer_file_type field unconditional.
	* buffer.c (reset_buffer_local_variables): Initialize
	buffer_file_type field.
d4240 2
a4241 4
	* 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.
d4243 1
a4243 8
	* 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.
d4245 1
a4245 10
	* 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.
d4247 1
a4247 1
	* term.c (term_init): Fatal error if screen is too small.
d4249 4
a4252 1
Sat Dec 31 00:58:51 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4254 1
a4254 2
	* xdisp.c (redisplay_window): For buffer_shared count,
	treat an indirect buffer as equivalent to its base.
d4256 1
a4256 1
	* print.c (print): Don't drop thru to error for markers and overlays.
d4258 1
a4258 1
Fri Dec 30 21:03:19 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4260 1
a4260 1
	* insdel.c (adjust_point): Use BUF_PT.
d4262 1
a4262 2
	* intervals.c (temp_set_point, set_point): Use BUF_PT.
	(get_local_map): Get keymap from specified buffer, not current one.
d4264 1
a4264 3
	* fileio.c (Finsert_file_contents, Fwrite_region): 
	Error if buffer is indirect.
	(Fdo_auto_save): Do nothing for an indirect buffer.
d4266 2
a4267 1
	* alloc.c (mark_buffer): In indirect buffer, mark the base buffer.
d4269 1
a4269 4
	* buffer.c (Fmake_indirect_buffer): New function.
	(Fbuffer_base_buffer): New function.
	(syms_of_buffer): defsubr them.
	(Fget_buffer_create): Initialize the size field.
d4271 1
a4271 2
	* print.c (print): Make buffer case a branch of
	the Lisp_Vectorlike case.
d4273 2
a4274 2
	* alloc.c (mark_object): Make buffer case a branch of
	the Lisp_Vectorlike case.
d4276 1
a4276 8
	* 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): 
d4278 1
a4278 3
	* 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).
d4280 3
a4282 1
Thu Dec 29 14:55:56 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4284 1
a4284 2
	* lisp.h (VALBITS): Default now 28.
	(GCTYPEBITS): Default now 3.
d4286 2
a4287 10
	* 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.
d4289 1
a4289 1
	* frame.h (XSETFRAME): Use pseudovector.
d4291 1
a4291 3
	* 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.
d4293 3
a4295 1
	* data.c (Faref): Handle compiled function as pseudovector.
d4297 1
a4297 1
	* fns.c (Flength): Handle compiled function as pseudovector.
d4299 1
a4299 2
	* xterm.c (x_scroll_bar_handle_click): Use GC_WINDOWP.
	(XTframe_rehighlight, x_window_to_scroll_bar): Use GC_FRAMEP.
d4301 1
a4301 2
	* print.c (print): Get size of compiled function as pseudovector.
	Use a switch statement again.
d4303 1
a4303 1
	* process.h: Make size field an EMACS_INT.
d4305 1
a4305 1
Wed Dec 28 13:00:24 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4307 1
a4307 1
	* unexsunos4.c [! sparc] (REL_INFO_TYPE): Use `struct relocation_info'.
d4309 2
a4310 1
Tue Dec 27 12:54:19 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4312 1
a4312 3
	* 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.
d4314 3
a4316 3
	* 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.
d4318 1
a4318 1
	* s/isc4-1.h: New file.
d4320 3
a4322 1
Mon Dec 26 10:57:15 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4324 1
a4324 2
	* xterm.c (XTread_socket): Handle button events from outside
	the frame, received due to grabbing the mouse with a button.
d4326 4
a4329 1
Sun Dec 25 12:28:28 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4331 55
a4385 4
	* callint.c (Vmouse_leave_buffer_hook, Qmouse_leave_buffer_hook):
	New variables.
	(syms_of_callint): Set them up.
	(Fcall_interactively): Run the hook, for `@@'.
d4387 3
a4389 1
	* buffer.c (syms_of_buffer): Doc fix for buffer-file-type.
d4391 3
a4393 2
	* search.c (set_search_regs): Really set search_regs.start and .end.
	(save_search_regs): Set them to 0 here.
d4395 1
a4395 1
	* minibuf.c (read_minibuf): GCPRO things.
d4397 2
a4398 3
	* 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.
d4400 2
a4401 1
Sat Dec 24 11:42:13 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4403 1
a4403 1
	* puresize.h (BASE_PURESIZE): Incremented by 20k.
d4405 1
a4405 1
Fri Dec 23 23:48:53 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4407 3
a4409 2
	* xfns.c (x_figure_window_size): Treat missing user-position parm
	as nil.
d4411 2
a4412 1
Fri Dec 23 12:13:57 1994  Steven Suhr  <ssuhr@@riacs.edu>
d4414 1
a4414 6
	* 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.
d4416 2
a4417 2
	* term.c (scroll_region_cost): New variable.
	(calculate_costs): Put scroll region overhead in scroll_region_cost.
d4419 1
a4419 1
	* termchar.h (scroll_region_cost): Declared.
d4421 1
a4421 2
	* dispnew.c (scrolling): Fewer restrictions if scroll_region_ok is
	set.  New vector old_draw_cost for direct scrolling method.
d4423 1
a4423 1
Fri Dec 23 22:00:00 1994 Michal Jankowski (Michal.Jankowski@@fuw.edu.pl)
d4425 1
a4425 1
	* keyboard.c (read_char): Don't echo keys when echo_keystrokes is 0.
d4427 26
a4452 1
Thu Dec 22 18:07:34 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4454 4
a4457 1
	* xfns.c (x_set_frame_parameters): Handle icon-left, icon-top parms.
d4459 2
a4460 1
Wed Dec 21 00:10:24 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4462 1
a4462 1
	* buffer.c (Fget_buffer_create): Copy the name, and clear text props.
d4464 1
a4464 1
Tue Dec 20 18:14:44 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4466 1
a4466 2
	* eval.c (Fdefvar): Fix minor error in previous change.
	(funcall_lambda): Fetch bytecode and constants vector from file if nec.
d4468 5
a4472 4
	* 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.
d4474 1
a4474 1
	* lread.c (read1): Implement #@@ and #$ constructs.
d4476 3
a4478 1
	* frame.c (make_frame): Init buffer_predicate field.
d4480 2
a4481 5
	* 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.
d4483 1
a4483 2
	* buffer.c (assoc_ignore_text_properties): New function.
	(Fget_buffer): Use assoc_ignore_text_properties.
d4485 2
a4486 1
Mon Dec 19 18:22:24 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4488 2
a4489 1
	* s/dgux.h (C_DEBUG_SWITCH): Define this only if __GNUC__.
d4491 1
a4491 1
Sun Dec 18 14:38:25 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4493 2
a4494 1
	* buffer.c (Fother_buffer): Take account of frame's buffer predicate.
d4496 1
a4496 2
	* frame.h (struct frame): New field buffer_predicate.
	Move all the Lisp_Object fields to the top.
d4498 1
a4498 6
	* 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.
d4500 1
a4500 2
	* alloc.c (mark_object): In a frame, mark the buffer_predicate.
	Don't mark the height and width fields.
d4502 1
a4502 1
Thu Dec 15 08:12:37 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4504 1
a4504 2
	* minibuf.c (Fall_completions): New arg hide_spaces.
	(Fminibuffer_completion_help): Pass new arg.
d4506 1
a4506 1
Wed Dec 14 08:59:56 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4508 1
a4508 1
	* emacs.c (main): Fix conversion of --display to -d.
d4510 1
a4510 6
	* 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.
d4512 1
a4512 1
	* emacs.c (main): Implement --version.
d4514 1
a4514 2
	* xterm.c (XTupdate_begin): Discard records of prior mouse highlight
	when frame must be redrawn.
d4516 2
a4517 2
	* textprop.c (add_properties): Add gcpro's.
	(Fadd_text_properties, copy_text_properties): Likewise.
d4519 1
a4519 1
Tue Dec 13 16:23:55 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4521 3
a4523 1
	* s/sunos4-1-3.h: Just include sunos4shr--do nothing else.
d4525 1
a4525 1
	* eval.c (Fdefconst, Fdefvar): Error if too many arguments.
d4527 1
a4527 1
Tue Dec 13 09:30:54 1994  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d4529 2
a4530 1
	* emacs.c (sort_args): Make `options' a vector of ints.
d4532 1
a4532 1
Sun Dec 11 17:13:22 1994  Richard Stallman  <rms@@kepa>
d4534 2
a4535 3
	* buffer.c (report_overlay_modification): Renamed from
	verify_overlay_modification.
	* insdel.c: Calls changed.
d4537 1
a4537 3
	* insdel.c (signal_before_change, signal_after_change):
	Call verify_overlay_modification here.
	(prepare_to_modify_buffer): Don't call verify_overlay_modification.
d4539 4
a4542 5
	* 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.
d4544 1
a4544 3
	* search.c (compile_pattern): Call re_set_registers here.
	And no need to BLOCK_INPUT for that.
	(compile_pattern_1): Instead of here.
d4546 5
a4550 1
Sat Dec 10 16:45:12 1994  Richard Stallman  <rms@@kepa>
d4552 2
a4553 1
	* s/aix4-1.h: New file.
d4555 1
a4555 1
	* unexaix.c (unrelocate_symbols): Add AIX4_1 conditionals and code.
d4557 7
a4563 1
	* sysdep.c (sys_siglist) [AIX]: Add AIXHFT conditional.
d4565 1
a4565 1
	* systty.h: Change AIX conditional around HFNKEYS to AIXHFT.
d4567 1
a4567 1
Fri Dec  9 23:14:19 1994  Richard Stallman  <rms@@green-hill>
d4569 3
a4571 2
	* bytecode.c (Fbyte_code): Call Ffollowing_char and Fprevious_char
	as functions.  Don't mask char-syntax arg to just 8 bits.
d4573 1
a4573 1
Thu Dec  8 00:18:05 1994  Richard Stallman  <rms@@green-hill>
d4575 1
a4575 1
	* keyboard.c (read_char): After auto-saving, redisplay.
d4577 4
a4580 1
Tue Dec  6 17:11:20 1994  Richard Stallman  <rms@@gnu.ai.mit.edu>
d4582 1
a4582 1
	* xfns.c (Fx_color_values): Doc fix.
d4584 1
a4584 1
	* buffer.c (list_buffers_1): Right-align the size values.
d4586 1
a4586 7
	* 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.
d4588 4
a4591 1
Mon Dec  5 23:21:50 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d4593 2
a4594 1
	* emacs.c (sort_args): Don't overwrite the terminating null pointer.
d4596 1
a4596 1
Mon Dec  5 20:00:05 1994  Richard Stallman  <rms@@gnu.ai.mit.edu>
d4598 3
a4600 1
	* keyboard.c (read_key_sequence): Downcase undefined shifted fn keys.
d4602 1
a4602 1
Sun Dec  4 17:01:31 1994  Richard Stallman  <rms@@gnu.ai.mit.edu>
d4604 2
a4605 2
	* emacs.c (argmatch): Take argc as arg; don't go past end of argv.
	(main): Change calls to argmatch. 
d4607 15
a4621 1
	* intervals.h (INTERVAL_LAST_POS): Don't subtract 1 here.
d4623 1
a4623 3
	* intervals.c (compare_string_intervals): New function.
	* fns.c (internal_equal): Call compare_string_intervals.
	(Fstring_equal): Doc fix.
d4625 2
a4626 2
	* scroll.c (scroll_cost): FRAME_DELETE_COST and FRAME_DELETEN_COSTS
	were confused.  Fixed.
d4628 1
a4628 3
	* 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.
d4630 1
a4630 4
	* 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.
d4632 3
a4634 1
	* xterm.h (struct x_display): New field explicit_parent.
d4636 1
a4636 1
	* s/ultrix4-3.h (SET_LINE_DISCIPLINE): Defined.
d4638 3
a4640 3
	* 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.
d4642 1
a4642 1
Sat Dec  3 14:49:28 1994  Richard Stallman  <rms@@gnu.ai.mit.edu>
d4644 1
a4644 1
	* lread.c (readevalloop): Ignore ^M here.
d4646 2
a4647 1
	* emacs.c (argmatch): Handle lstr == 0.
d4649 1
a4649 1
Mon Nov 28 17:13:27 1994  Richard Stallman  <rms@@gnu.ai.mit.edu>
d4651 1
a4651 2
	* regex.c (re_match_2_internal):
	Rename label `succeed' to `succed_label'.
d4653 2
a4654 1
	* xfns.c (Fx_synchronize): Fix doc string syntax.
d4656 1
a4656 1
	* xmenu.c: Don't include ../oldXMenu/XMenu.h if USE_X_TOOLKIT.
d4658 2
a4659 1
	* Makefile.in.in: Fix erroneous comment syntax.
d4661 15
a4675 1
	* s/ultrix4-3.h: New file.
d4677 1
a4677 6
	* 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.
d4679 1
a4679 4
	* 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.
d4681 5
a4685 1
Fri Nov 25 19:15:07 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d4687 3
a4689 1
	* search.c (search_regs_saved): Don't initialize; it dumps as pure.
d4691 17
a4707 1
Thu Nov 24 09:47:31 1994  Francesco Potorti`  <pot@@cnuce.cnr.it>
d4709 1
a4709 2
	* m/delta.h (C_SWITCH_MACHINE): -inline-functions removed,
        because the compiler shipped with R3V7 is not stable.
d4711 6
a4716 1
Thu Nov 24 03:33:11 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4718 2
a4719 4
	* 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.
d4721 1
a4721 1
Wed Nov 23 03:59:27 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4723 14
a4736 1
	* keyboard.c (syms_of_keyboard): Doc fix.
d4738 2
a4739 1
	* fns.c (Fy_or_n_p): Handle exit-prefix in query-replace-map.
d4741 4
a4744 1
Tue Nov 22 14:22:37 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4746 5
a4750 1
	* search.c (save_search_regs): Add declaration.
d4752 3
a4754 3
	* minibuf.c (Fminibuffer_complete_and_exit):
	Catch errors in do_completion.
	(complete_and_exit_1, complete_and_exit_2): New subroutines.
d4756 3
a4758 3
	* s/aix4.h: New file.
	* s/aix3-1.h (AIXHFT): Defined.
	* m/ibmrs6000.h (OBJECTS_MACHINE): Define only if AIXHFT.
d4760 1
a4760 3
	* sysdep.c (init_sys_modes): Tes AIXHFT, not AIX.
	(reset_sys_modes): Test AIXHFT.
	(hft_init, hft_reset): Test AIXHFT, not AIX.
d4762 1
a4762 1
Mon Nov 21 23:49:31 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4764 1
a4764 1
	* window.c (Fdisplay_buffer): Use `b' to read existing buffer name.
d4766 2
a4767 4
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.
d4769 1
a4769 1
Sat Nov 19 15:02:31 1994  Francesco Potorti`  <pot@@cnuce.cnr.it>
d4771 1
a4771 82
	* 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.
d4773 1
a4773 1
Wed Nov 16 11:57:48 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d4775 1
a4775 3
	* xdisp.c (try_window): Don't pass window to Fget_char_property;
        pass its buffer.
	(display_text_line): Likewise.
d4777 1
a4777 1
Wed Nov 16 15:26:06 1994  Francesco Potorti`  (pot@@cnuce.cnr.it)
d4779 2
a4780 1
	* Makefile.in.in (TAGS): The new etags allows tagging DEFVARs.
d4782 6
a4787 1
Tue Nov 15 19:26:52 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4789 2
a4790 1
	* lread.c (Fload): Call Fsubstitute_in_file_name after trying handler.
d4792 1
a4792 1
	* fileio.c (Fread_file_name_internal): Protect orig_string.
d4794 1
a4794 1
Tue Nov 15 15:00:56 1994  enami tsugutomo  <enami@@sys.ptg.sony.co.jp>
d4796 3
a4798 2
	* keyboard.c (Fopen_dribble_file): Call fclose only when
	dribble is non zero.
d4800 1
a4800 1
Tue Nov 15 16:32:31 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d4802 2
a4803 1
	* keymap.c (access_keymap): Use type test macros.
d4805 16
a4820 9
	* 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.
d4822 1
a4822 4
	* 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.
d4824 2
a4825 1
	* xterm.h (XSCROLL_BAR): Extract from Lisp_Vector, not generic pointer.
d4827 1
a4827 3
	* 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.
d4829 2
a4830 1
	* eval.c (Finteractive_p): Use XSUBR instead of its expansion.
d4832 6
a4837 8
	* 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.
d4839 4
a4842 4
	* 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.
d4844 4
a4847 9
	* 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.
d4849 1
a4849 1
	* data.c (syms_of_data): Set Qwholenump as function, not variable.
d4851 1
a4851 2
	* alloc.c (free_float): Don't assume XFASTINT accesses the raw bits.
	(make_float, free_cons, Fcons, Fmake_symbol, gc_sweep): Likewise.
d4853 3
a4855 1
Tue Nov 15 09:00:43 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4857 3
a4859 4
	* 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.
d4861 3
a4863 3
	* fileio.c (Fsubstitute_in_file_name): Run a handler.
	(Qsubstitute_in_file_name): New variable.
	(syms_of_fileio): Set it up.
d4865 1
a4865 1
	* lread.c (read_escape): For \S-a, return A.
d4867 3
a4869 1
	* buffer.c (Frename_buffer): Rename arg NAME to NEWNAME.
d4871 1
a4871 1
Mon Nov 14 21:54:45 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4873 1
a4873 2
	* s/freebsd.h (LD_SWITCH_SYSTEM): Add -dc and -dp.
	(HAVE_GETPAGESIZE): Defined.
d4875 1
a4875 1
	* sysdep.c (init_sys_modes): Maybe call tcflow.
d4877 2
a4878 1
Mon Nov 14 20:39:03 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d4880 1
a4880 13
	* 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.
d4882 2
a4883 1
	* buffer.c (list_buffers_1): Use PT, not point.
d4885 1
a4885 1
Mon Nov 14 19:30:28 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4887 2
a4888 1
	* fileio.c (Finsert_file_contents): Init not_regular at the beginning.
d4890 3
a4892 1
Mon Nov 14 19:03:39 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d4894 1
a4894 2
	* buffer.c (Fkill_all_local_variables): Use XBUFFER_LOCAL_VALUE,
	not XCONS.
d4896 1
a4896 1
Mon Nov 14 18:28:51 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d4898 1
a4898 2
	* s/gnu.h (A_TEXT_OFFSET): Macro removed.
	(A_TEXT_SEEK): Define to just sizeof (struct exec).
d4900 1
a4900 1
Mon Nov 14 17:15:08 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d4902 1
a4902 2
	* lread.c (defvar_int): Use accessor macro.
	(defvar_bool, defvar_lisp_nopro, defvar_per_buffer): Likewise.
d4904 1
a4904 1
Sun Nov 13 11:53:42 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4906 2
a4907 1
	* xfaces.c (load_pixmap): Handle bitmap_id < 0.  F is a FRAME_PTR.
d4909 1
a4909 1
	* frame.c (syms_of_frame): Fix typo.
d4911 2
a4912 2
	* minibuf.c (Fdisplay_completion_list): Update COLUMN unconditionally.
	If a name is long, put it on its own line.
d4914 1
a4914 1
Sun Nov 13 14:00:52 1994  Brendan Kehoe  (brendan@@lisa.cygnus.com)
d4916 1
a4916 2
	* s/hpux9.h (C_SWITCH_SYSTEM) [__GNUC__]: Set -D_BSD to get the
	correct definitions from sys/wait.h.
d4918 1
a4918 1
Sat Nov 12 15:04:53 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4920 1
a4920 1
	* frame.c (syms_of_frame): Doc fix for default-frame-alist.
d4922 1
a4922 1
Fri Nov 11 09:52:11 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4924 1
a4924 2
	* fileio.c (Finsert_file_contents): If VISIT, set the buffer components
	such as the filename even before signaling error for non-regular file.
d4926 2
a4927 3
	* 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.
d4929 2
a4930 1
	* m/paragon.h: New file.
d4932 1
a4932 1
Fri Nov 11 02:31:19 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d4934 1
a4934 17
	* 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.
d4936 3
a4938 1
Thu Nov 10 02:56:12 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4940 2
a4941 1
	* process.c (create_process) [OSF1]: Use setpgid, not setpgrp.
d4943 1
a4943 1
Wed Nov  9 15:44:17 1994  Boris Goldowsky  <boris@@cs.rochester.edu>
d4945 1
a4945 1
	* cmds.c (Fnewline): Always use insert_and_inherit.
d4947 1
a4947 1
Wed Nov  9 22:41:04 1994  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d4949 1
a4949 1
	* lisp.h (FRAMEP): Use the second definition whenever HAVE_MOUSE.
d4951 2
a4952 3
	* 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.
d4954 1
a4954 1
Wed Nov  9 00:54:09 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d4956 1
a4956 2
	* data.c (Fboundp, find_symbol_value): Use type test macros
	instead of checking XTYPE directly.
d4958 3
a4960 3
	* keyboard.c (print_help): Set help-mode in *Help* buffer.
	* keymap.c (describe_buffer_bindings): Likewise.
	* syntax.c (describe_syntax_1): Likewise.
d4962 1
a4962 1
Tue Nov  8 22:43:40 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d4964 3
a4966 6
	* 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.
d4968 1
a4968 1
Mon Nov  7 21:43:01 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d4970 4
a4973 1
	* frame.c (Fset_frame_height): Compare against height, not width.
d4975 2
a4976 1
Mon Nov  7 21:37:36 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d4978 5
a4982 2
	* keyboard.c: Move decl of input_fd outside of #ifdef
        HAVE_X_WINDOWS.
d4984 2
a4985 1
Thu Nov  3 22:48:14 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d4987 1
a4987 1
	* xterm.c (XTread_socket): Generate iconify and deiconify events.
d4989 1
a4989 1
Thu Nov  3 15:45:02 1994  Geoff Voelker  <voelker@@cs.washington.edu>
d4991 2
a4992 4
	* m/intel386.h (VIRT_ADDR_VARIES) [WINDOWSNT]: Defined.
	(DATA_END) [WINDOWSNT]: Defined.
	(DATA_START) [WINDOWSNT]: Defined.
	(HAVE_ALLOCA) [WINDOWSNT]: Defined.
d4994 4
a4997 3
	* s/windowsnt.h: Include malloc.h.
	(MODE_LINE_BINARY_TEXT): Defined.
	(HAVE_MOUSE): Defined.
d4999 1
a4999 2
	* ntheap.c (sbrk): Allow request sizes to be different than the
        page size.
d5001 1
a5001 2
	* makefile.nt: Changed references of m\m-windowsnt.h to
	m\intel386.h and of s\s-windowsnt.h to s\windowsnt.h.
d5003 3
a5005 1
Tue Nov  1 23:19:30 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d5007 2
a5008 2
	* xfns.c (Fx_list_fonts): Don't bother to retrieve font info when
	there's no size_ref to compare it against.
d5010 3
a5012 2
	* editfns.c: (Fdecode_time): Fix Lisp_Object vs. integer problems.
	Don't use tm_gmtoff; it's not portable.
d5014 4
a5017 1
	* lisp.h: Leave DEVICE_SEP undefined by default.
d5019 3
a5021 1
Tue Nov  1 05:31:17 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5023 2
a5024 1
	* buffer.c (init_buffer): Fix error message syntax.
d5026 1
a5026 1
	* fileio.c (Fsubstitute_in_file_name): Add missing #endif.
d5028 1
a5028 2
	* lread.c: Don't include ctype.h.
	(isfloat_string, read1): Don't use isdigit.
d5030 1
a5030 1
	* editfns.c (Fdecode_time): Change one XFASTINT to XINT.
d5032 1
a5032 1
	* s/windowsnt.h (SYSTEM_PURESIZE_EXTRA): Defined.
d5034 2
a5035 1
Mon Oct 31 20:48:15 1994  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d5037 1
a5037 1
	* xfns.c (x_window): Make ibw 0 by default.
d5039 2
a5040 1
Mon Oct 31 16:47:47 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d5042 1
a5042 2
	* xterm.c (XTclear_end_of_line): Finish the line dance here too,
	just as was done in XTwrite_glyphs.
d5044 1
a5044 4
	* 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.
d5046 1
a5046 1
Sun Oct 30 13:47:05 1994  voelker  <voelker@@cs.washington.edu>
d5048 3
a5050 5
	* 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.
d5052 1
a5052 1
	* m/windowsnt.h, s/windowsnt.h: New files.
d5054 2
a5055 1
	* nt.c: New file.
d5057 3
a5059 1
	* makefile.nt:New file.
d5061 1
a5061 2
	* lisp.h (DEVICE_SEP, DIRECTORY_SEP, IS_DEVICE_SEP)
	(IS_DIRECTORY_SEP, IS_ANY_SEP): New macros, defined if not already def.
d5063 9
a5071 1
	* s/msdos.h (DOS_NT): Defined.
d5073 1
a5073 3
	* term.c (term_init) [WINDOWSNT]: Do some Windows-specific
	initialization, then skip the rest of the code.
	(FRAME_TERMCAP_P) [WINDOWSNT]: Always return 0.
d5075 2
a5076 1
	* systty.h: Test DOS_NT, not MSDOS.
d5078 3
a5080 1
	* syssignal.h [WINDOWSNT] (EMACS_KILLPG): Use win32_kill_process.
d5082 1
a5082 3
	* sysdep.c [WINDOWSNT]: Add includes for NT.
	Define _P_WAIT.  Declare _spawnlp, _getpid.
	[WINDOWSNT] (select, strerror, vfork): Don't use these definitions.
d5084 1
a5084 2
	* sysdep.c (init_sys_modes): Test DOS_NT, not MSDOS.
	(emacs_get_tty, emacs_set_tty,(child_setup_tty, init_baud_rate): Ditto.
d5086 1
a5086 3
	* sysdep.c (sys_subshell) [WINDOWSNT]: Use _spawnlp. not vfork.
	(wait_for_termination) [WINDOWSNT]: Use wait.
	(discard_tty_input) [WINDOWSNT]: Do nothing at all.
d5088 1
a5088 3
	* 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.
d5090 1
a5090 5
	* 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.
d5092 1
a5092 5
	* 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.
d5094 4
a5097 1
	* process.c (proc_buffer_char): No longer static.
d5099 1
a5099 1
	* ndir.h (MAXNAMLEN) [WINDOWSNT]: Define as 255.
d5101 1
a5101 2
	* mem-limits.h [WINDOWSNT]: Don't include vlimit.h.
	(get_lim_data): Alternate definition for WINDOWSNT.
d5103 1
a5103 3
	* 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.
d5105 3
a5107 2
	* lread.c (init_lread) [WINDOWSNT]: Disable warnings about
	directories in the load path not existing.
d5109 1
a5109 1
	* lread.c (load): Test DOS_NT instead of MSDOS.
d5111 3
a5113 2
	* keyboard.c (read_key_sequence): Use flags instead of gotos to
	enable the Microsoft C compiler to compile the routine.
d5115 1
a5115 1
	* keyboard.c (read_avail_input) [WINDOWSNT]: Just return 0.
d5117 2
a5118 3
	* 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.
d5120 2
a5121 1
	* fileio.c [WINDOWSNT]: Don't define HAVE_FSYNC; add includes for NT.
d5123 105
a5227 2
	* fileio.c (Ffile_name_absolute_p): Test DOS_NT instead of MSDOS.
	(Fwrite_region, Fdo_auto_save, Ffile_modes): Likewise.
d5229 1
a5229 4
	* 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.
d5231 1
a5231 4
	* 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.
d5233 1
a5233 9
	* 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.
d5235 1
a5235 2
	* emacs.c (Fdump_emacs): Don't reset the data start address by
	invoking memory_warnings just before unexec-ing.
d5237 1
a5237 2
	* editfns.c (init_editfns): Get the username from the environment
	variable USERNAME instead of USER.
d5239 6
a5244 3
	* 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.
d5246 1
a5246 1
	* callproc.c (getenv_internal) [WINDOWSNT]: Use strnicmp, not bcmp.
d5248 2
a5249 3
	* callproc.c (child_setup): Use IS_DIRECTORY_SEP.
	[WINDOWSNT]: Call prepare_standard_handles.  Use spawnve.
	Use reset_standard_handles.
d5251 1
a5251 4
	* 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.
d5253 1
a5253 4
	* 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.
d5255 2
a5256 1
	* callproc.c (init_callproc): Test DOS_NT, not MSDOS.
d5258 1
a5258 1
	* buffer.h (struct buffer): Test DOS_NT, not MSDOS.
d5260 1
a5260 3
	* 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.
d5262 1
a5262 1
Sun Oct 30 04:21:48 1994  Erik Naggum  <erik@@naggum.no>
d5264 4
a5267 2
	* editfns.c (Fdecode_time): New function.
	(syms_of_editfns): defsubr it.
d5269 1
a5269 1
Sun Oct 30 03:20:24 1994  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d5271 1
a5271 4
	* 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.
d5273 1
a5273 1
	* unexsunos4.c (unexec): Don't print number of pure bytes used.
d5275 2
a5276 1
Sat Oct 29 19:28:05 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5278 1
a5278 2
	* xfns.c (Fx_create_frame):
	Don't set xlwmenu_default_font if not USE_X_TOOLKIT.
d5280 2
a5281 1
	* puresize.h (BASE_PURESIZE): Increment MULTI_FRAME value.
d5283 1
a5283 1
Sat Oct 29 14:23:39 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d5285 1
a5285 1
	* keyboard.c (read_avail_input): Fix Lisp_Object vs. int problem.
d5287 1
a5287 1
Sat Oct 29 05:40:20 1994  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d5289 1
a5289 1
	* xterm.c (fast_find_position): Special case if POS is end of buffer.
d5291 2
a5292 1
	* xterm.c (x_delete_display): Call XrmDestroyDatabase.
d5294 2
a5295 1
Fri Oct 28 14:54:18 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5297 2
a5298 1
	* s/osf1.h (LD_SWITCH_SYSTEM): Definitions deleted.
d5300 2
a5301 1
	* m/alpha.h (LD_SWITCH_MACHINE): New definition.
d5303 2
a5304 1
Fri Oct 28 10:06:02 1994  Rainer Schoepf  <Schoepf@@Uni-Mainz.de>
d5306 4
a5309 2
	* s/osf1.h (INTERRUPTIBLE_IO, INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE)
	(read, write, open, close): New definitions.
d5311 5
a5315 1
Thu Oct 27 13:43:54 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d5317 1
a5317 5
	* 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.
d5319 2
a5320 5
	* 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.
d5322 1
a5322 1
	* xmenu.c (set_frame_menubar): Don't copy string during GC risk.
d5324 1
a5324 1
Wed Oct 26 04:07:28 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5326 2
a5327 4
	* 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.
d5329 2
a5330 1
	* xterm.c (x_destroy_window): Rewrite to fetch dpyinfo just once.
d5332 1
a5332 1
	* xfns.c (Fx_create_frame): Set xlwmenu_default_font.
d5334 1
a5334 1
	* widget.c (set_frame_size): Set app_shell and wmshell the same.
d5336 2
a5337 5
	* 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.
d5339 2
a5340 3
	* 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.
d5342 3
a5344 6
	* 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.
d5346 1
a5346 2
	* process.c (status_message): Add a cast.
	(sigchld_handler): Add a cast.
d5348 1
a5348 1
	* xfns.c (x_window): Pass new arg f to hack_wm_protocols.
d5350 2
a5351 1
	* xdisp.c (display_text_line): Truncate the minibuf_prompt if nec.
d5353 3
a5355 1
Wed Oct 26 02:17:20 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d5357 1
a5357 1
	* window.c (syms_of_window): Fix missing \n\'s.
d5359 74
a5432 1
Wed Oct 26 00:52:17 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5434 1
a5434 2
	* xselect.c (x_own_selection, x_get_foreign_selection): Change calls
	to x_catch_errors and friends.
d5436 2
a5437 2
	* xfns.c (x_set_mouse_color, x_real_positions): Change calls
	to x_catch_errors and friends.
d5439 1
a5439 2
	* xterm.c (x_catch_errors, x_check_errors, x_had_errors_p)
	(x_uncatch_errors): Make the argument a display, not a frame.
d5441 2
a5442 2
	* xterm.c (XTread_socket_fake_io_error): New variable.
	(XTread_socket): Obey XTread_socket_fake_io_error.
d5444 3
a5446 1
Tue Oct 25 20:20:20 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d5448 2
a5449 1
	* process.c (list_processes_1): Print tty name.
d5451 1
a5451 1
Tue Oct 25 09:39:37 1994  Karl Fogel  (kfogel@@phylo.life.uiuc.edu)
d5453 1
a5453 1
        * window.c (Vtemp_buffer_show_function): Doc fix.
d5455 1
a5455 1
Tue Oct 25 03:55:52 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5457 1
a5457 1
	* xterm.h: Delete X10 code.
d5459 1
a5459 2
	* xfns.c (Fx_create_frame): Don't increment refernce_count
	until the frame is put on the frame list.
d5461 1
a5461 3
	* xterm.c (x_initialize): Init x_noop_count, x_focus_frame
	and x_highlight_frame here.
	(x_term_init): Not here.
d5463 1
a5463 2
	* xterm.c (x_term_init): Open the connection first thing;
	if that fails, don't allocate dpyinfo.
d5465 1
a5465 1
Mon Oct 24 20:43:57 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d5467 1
a5467 1
	* xdisp.c (decode_mode_spec): New spec %c, for current column.
d5469 2
a5470 1
Mon Oct 24 02:03:34 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5472 1
a5472 1
	* xselect.c (Fx_selection_exists_p): Fix backwards if.
d5474 2
a5475 7
	* 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.
d5477 1
a5477 2
	* xselect.c (Fx_selection_exists_p):
	If selected_frame isn't an x frame, return nil.
d5479 3
a5481 5
	* 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.
d5483 1
a5483 1
Sun Oct 23 01:39:05 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5485 1
a5485 3
	* xfns.c (x_display_info_for_name, Fx_open_connection): 
	Signal error if x_term_init fails.
	(Fx_open_connection): New arg must_succeed.
d5487 36
a5522 2
	* xfns.c (x_real_positions): Catch errors and retry if error happens.
	No need to block input here.
d5524 2
a5525 1
	* xterm.c (x_term_init): Don't report error here--just return 0.
d5527 1
a5527 3
	* 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
d5529 1
a5529 1
	* xfns.c: Many doc fixes and Lisp function arg renamings.
d5531 1
a5531 2
	* xterm.c (x_scroll_bar_report_motion): Store proper value in
	*bar_window (the Emacs window, not the X window number).
d5533 1
a5533 1
Sat Oct 22 00:54:08 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5535 1
a5535 2
	* keyboard.c (kbd_buffer_get_event):
	Cope if mouse_position_hook does not store anything.
d5537 2
a5538 1
	* xterm.c (x_scroll_bar_report_motion): Don't clear *fp.
d5540 1
a5540 13
	* 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.
d5542 1
a5542 1
	* xterm.c (x_wm_set_icon_pixmap): Use x_bitmap_pixmap.
d5544 2
a5545 3
	* xterm.c:
	(show_mouse_face): New arg dpyinfo.  All callers changed.
	(clear_mouse_face): New arg dpyinfo.  All callers changed.
d5547 2
a5548 3
	* xterm.h (struct font_info): New type.
	(struct x_display_info): New fields font_table, font_table_size
	and n_fonts.
d5550 1
a5550 3
	* 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.
d5552 2
a5553 4
	* 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.
d5555 2
a5556 2
	* xterm.c (expose_all_windows, expose_all_icons): Variables deleted.
	(BLOCK_INPUT_mask): Variable deleted.
d5558 1
a5558 4
	* 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.
d5560 1
a5560 3
	* 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.
d5562 1
a5562 4
	* 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.
d5564 1
a5564 1
	* xterm.c (x_term_init): Really return dpyinfo.
d5566 3
a5568 1
	* insdel.c (insert_from_buffer_1): Don't use min.
d5570 2
a5571 2
	* xterm.c (x_term_init): Call add_keyboard_wait_descriptor,
	not change_keyboard_wait_descriptor.
d5573 2
a5574 2
	* xfns.c (Fx_close_current_connection):
	Call delete_keyboard_wait_descriptor.
d5576 6
a5581 18
	* 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.
d5583 2
a5584 4
	* 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.
d5586 1
a5586 8
	* 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.
d5588 1
a5588 4
	* 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.
d5590 1
a5590 6
	* 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.
d5592 5
a5596 3
	* 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.
d5598 2
a5599 3
	* 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.
d5601 2
a5602 1
Sat Oct 22 00:44:29 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d5604 2
a5605 3
	* insdel.c (insert_from_buffer, insert_from_buffer_1): New functions.
	* editfns.c (Finsert_buffer_substring): Use insert_from_buffer
	instead of insert.
d5607 1
a5607 1
Fri Oct 21 23:17:22 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5609 1
a5609 2
	* xmenu.c (xmenu_show): Get the screen number for DisplayHeight
	and DisplayWidth.  Use root_window slot in the x_display_info.
d5611 1
a5611 4
	* 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.
d5613 1
a5613 1
Fri Oct 21 22:52:16 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d5615 1
a5615 2
	* insdel.c (insert_before_markers): Don't inherit;
	insert_before_markers_and_inherit does that.
d5617 1
a5617 1
Fri Oct 21 03:06:38 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5619 1
a5619 2
	* dispnew.c (Fframe_or_buffer_changed_p):
	Detect deletion of a buffer at the end of the buffer list.
d5621 2
a5622 1
	* xterm.c (x_term_init): Init all the components of dpyinfo.
d5624 2
a5625 2
	* sysdep.c (input_fd): No longer static.
	* keyboard.c (read_avail_input): Use input_fd.
d5627 1
a5627 1
Thu Oct 20 20:45:32 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5629 1
a5629 4
	* 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.
d5631 1
a5631 1
Thu Oct 20 15:06:33 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d5633 1
a5633 1
	* window.c (Fdisplay_buffer): Make old_selected_window a Lisp_Object.
d5635 1
a5635 1
Thu Oct 20 11:49:26 1994  Tom Tromey  <tromey@@drip.colorado.edu>
d5637 1
a5637 1
	* buffer.c (list_buffers_1): Always mark current_buffer read-only.
d5639 2
a5640 1
Thu Oct 20 10:56:01 1994  Fred Pierresteguy <F.Pierresteguy@@frcl.bull.fr>
d5642 1
a5642 1
	* m/dpx2.h (LD_SWITCH_MACHINE): Defined.
d5644 2
a5645 1
Thu Oct 20 00:36:46 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5647 1
a5647 2
	* term.c (calculate_costs): Call x_screen_planes.
	* xfns.c (x_screen_planes): New function.
d5649 3
a5651 2
	* xterm.h (EMACS_CLASS): Macro moved here.
	* xfns.c (EMACS_CLASS): Macro moved to xterm.h.
d5653 1
a5653 71
	* 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.
d5655 2
a5656 1
	* xterm.c (windowinfo): Variable deleted.
d5658 1
a5658 3
	* xterm.h (ROOT_WINDOW): Macro deleted.
	(struct x_display_info): New field root_window.
	All uses changed.
d5660 2
a5661 163
	* 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.
d5663 1
a5663 233
	* 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.
d5665 1
a5665 2
	* xterm.h (x_display): Changed icon_bitmap_flag to icon_bitmap.
	Changed all users.
d5667 1
a5667 1
Sat Oct 15 15:55:25 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5669 2
a5670 2
	* textprop.c (Fset_text_properties): Special case for getting
	rid of all properties of a string.
d5672 1
a5672 1
Sat Oct 15 00:00:27 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d5674 2
a5675 5
	* 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.
d5677 1
a5677 1
Fri Oct 14 00:44:48 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5679 1
a5679 2
	* s/isc4-0.h (LIBS_SYSTEM): Add -lcposix.
	(sigblock, SIG_BLOCK): Define if not defined.
d5681 1
a5681 1
	* sysdep.c (read_input_waiting): Set e.frame_or_window w/ XSETFRAME.
d5683 9
a5691 1
	* xterm.c (x_new_font): Don't keep looping after the FONT property.
d5693 1
a5693 1
Thu Oct 13 22:41:07 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d5695 2
a5696 1
	* term.c (term_get_fkeys_1): Workaround for IBM's dialect of terminfo.
d5698 1
a5698 1
Thu Oct 13 02:21:03 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5700 2
a5701 2
	* xfns.c (Fx_create_frame): Init the FRAME_X_SCREEN
	as soon as can be done.
d5703 1
a5703 2
	* xdisp.c (redisplay): Call clear_face_cache instead
	of clear_face_vector.  Do it at most once per 1000 redisplays.
d5705 2
a5706 11
	* 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.
d5708 1
a5708 3
	* xfaces.c (intern_face, clear_face_vector, load_font, unload_font)
	(load_color, free_frame_faces, recompute_basic_faces):
	Use FRAME_X_DISPLAY.
d5710 2
a5711 2
	* m/mips-siemens.h (C_ALLOCA): Defined.
	(HAVE_ALLOCA): Definition deleted.
d5713 3
a5715 2
	* editfns.c (Fuser_login_name, Fuser_real_login_name): 
	Call init_editfns now if it was not done before.
d5717 1
a5717 1
	* puresize.h (BASE_PURESIZE): Incremented.
d5719 1
a5719 1
	* lisp.h (Funhandled_file_name_directory): Declared.
d5721 4
a5724 1
Mon Oct 10 11:58:00 1994  Rainer Schoepf  (Schoepf@@Uni-Mainz.de)
d5726 1
a5726 6
	* 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.
d5728 1
a5728 1
Wed Oct 12 19:27:27 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5730 3
a5732 1
	* unexelf.c: Include config.h.
d5734 1
a5734 1
	* s/freebsd.h (LD_SWITCH_SYSTEM): New definition.
d5736 2
a5737 1
Tue Oct 11 20:41:25 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d5739 1
a5739 144
	* 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.
d5741 2
a5742 1
Sat Oct  8 00:28:16 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5744 1
a5744 3
	* 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.
d5746 1
a5746 1
Fri Oct  7 17:42:10 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d5748 2
a5749 3
	* lisp.h (enum Lisp_Misc_Type): New type.
	(struct Lisp_Marker): Add a member of that type.  Delete unused
	member `modified'.
d5751 1
a5751 1
Fri Oct  7 09:51:47 1994  Morten Welinder  <terra@@frigg.diku.dk>
d5753 1
a5753 5
	* 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.
d5755 1
a5755 4
	* dired.c (file_name_completion): Ignore files "." and ".."
	in first pass.
	(Ffile_name_completion): Perform the completion even if the
	name part is empty.
d5757 1
a5757 1
Fri Oct  7 04:35:31 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5759 3
a5761 1
	* insdel.c (make_gap): Keep input blocked till after we set BEG_ADDR.
d5763 1
a5763 1
	* fileio.c (check_writable, check_executable): Test HAVE_EACCESS.
d5765 2
a5766 1
	* config.h.in (HAVE_EACCESS): Add #undef.
d5768 1
a5768 1
Thu Oct  6 17:21:29 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d5770 1
a5770 6
	* 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.
d5772 1
a5772 2
	* floatfns.c (Fabs): Don't use XFASTINT when negative.
	* data.c (Flsh, Fadd1, Fsub1, Flognot): Likewise.
d5774 1
a5774 7
	* 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.
d5776 1
a5776 4
	* 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.
d5778 1
a5778 5
	* 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.
d5780 1
a5780 1
Wed Oct  5 01:49:26 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5782 1
a5782 1
	* unexec.c (make_hdr): Undo June 16 change.
d5784 1
a5784 2
	* fileio.c (Ffile_regular_p): New function.
	(syms_of_fileio): defsubr it.
d5786 1
a5786 1
	* xterm.c (x_term_init): Call XtSetLanguageProc or XSetLocaleModifiers.
d5788 1
a5788 1
Tue Oct  4 18:55:23 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5790 4
a5793 1
	* xfns.c (x_set_icon_type): Remove period from error message.
d5795 1
a5795 2
	* xterm.c (x_make_frame_visible, x_iconify_frame):
	Call x_bitmap_icon if frame wants a bitmap icon.
d5797 7
a5803 1
	* xfns.c (x_icon_type): New function.
d5805 2
a5806 1
	* callint.c (Finteractive): Doc fix.
d5808 1
a5808 1
Tue Oct  4 06:06:48 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d5810 1
a5810 1
	* buffer.c (validate_region): Swap using temp Lisp_Object, not int.
d5812 2
a5813 7
	* 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.
d5815 1
a5815 10
	* 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.
d5817 1
a5817 7
	* 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.
d5819 1
a5819 1
Tue Oct  4 00:47:57 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5821 1
a5821 2
	* Makefile.in.in (MKTIME_OBJ): New variable.
	(obj): Use MKTIME_OBJ.
d5823 1
a5823 1
	* config.h.in (HAVE_MKTIME): Add #undef.
d5825 15
a5839 2
	* xmenu.c (widget_id_tick): Move definition into conditional.
	(syms_of_xmenu): Conditionalize initialization of widget_id_tick.
d5841 1
a5841 7
	* 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.
d5843 2
a5844 3
	* xterm.c (input_signal_count): New variable.
	(XTread_socket): Increment it.
	(x_make_frame_visible): Exit final loop when XTread_sockets has run.
d5846 1
a5846 1
Sun Oct  2 17:28:26 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d5848 4
a5851 1
	* window.c (Frecenter): Don't trigger point-motion hooks.
d5853 7
a5859 2
	* fileio.c (Finsert_file_contents): set type of `end', not just
	the value.
d5861 1
a5861 1
	* xfns.c (x_figure_window_size): Use new formula for scroll bar width.
d5863 2
a5864 4
	* 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.
d5866 1
a5866 1
Sun Oct  2 17:24:08 1994  Paul Reilly  <pmr@@churchy.gnu.ai.mit.edu>
d5868 1
a5868 2
	* xmenu.c (popup_get_selection): Remove BLOCK_INPUT, UNBLOCK_INPUT
	since the calls to popup_get_selection provide the protection.
d5870 1
a5870 1
Sun Oct  2 08:27:06 1994  Paul Reilly  <pmr@@geech.gnu.ai.mit.edu>
d5872 1
a5872 7
	* 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.
d5874 2
a5875 2
	* widget.c (EmacsFrameSetCharSize): Use lw_refigure_widget for
        widget set independence.
d5877 3
a5879 2
	* widget.h: Declare resources showGrip, allowResize, and
        resizeToPreferred.
d5881 1
a5881 2
	* keyboard.c (make_lispy_event): Do not set item.  Now handled in
        xmenu.c by popup_get_selection.
d5883 3
a5885 1
Sat Oct  1 00:42:02 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5887 5
a5891 1
	* frame.c (keys_of_frame): Make binding for delete-frame.
d5893 2
a5894 2
	* xdisp.c (redisplay_window): If we set PT, and that alters a region
	being highlighted, call try_window again.
d5896 1
a5896 2
	* Makefile.in.in (LIBXTR6): If NEED_LIBW, add -lw.
	* s/usg5-4-2.h (NEED_LIBW): Defined.
d5898 3
a5900 2
	* Makefile.in.in (LDFLAGS): New variable.
	(LIBX): Use LDFLAGS.
d5902 1
a5902 1
Fri Sep 30 16:31:45 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5904 2
a5905 1
	* data.c (Fmake_local_variable): Doc fix.
d5907 1
a5907 1
Thu Sep 29 18:59:13 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5909 3
a5911 2
	* fileio.c (check_writable, check_executable) [__HURD__]:
	Use eaccess.
d5913 1
a5913 1
	* xfaces.c (compute_char_face): Handle list as overlay face property.
d5915 2
a5916 1
Thu Sep 29 15:21:56 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d5918 2
a5919 1
	* minibuf.c (scmp): Use unsigned chars, to avoid confusing DOWNCASE.
d5921 5
a5925 2
	* unexaix.c (CHECK_SCNHDR, write_segment): Fix format/arg mismatch.
	* xfns.c (x_report_frame_params): Likewise.
d5927 1
a5927 1
Thu Sep 29 09:57:38 1994  Boris Goldowsky  <boris@@cs.rochester.edu>
d5929 2
a5930 2
	* xfaces.c (compute_char_face): If face text-property is a list,
	merge the attributes of the faces in the list.
d5932 2
a5933 1
Thu Sep 29 00:39:15 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5935 1
a5935 1
	* buffer.c (Foverlay_get): Handle `category' property on overlay.
d5937 1
a5937 2
	* xfaces.c (Fset_face_attribute_internal): Mark frame garbaged whenever
	any face's font or color is changed.
d5939 3
a5941 3
	* keyboard.c (head_table): Set up Qdelete_frame.
	(kbd_buffer_get_event): Handle delete_window_event by making
	a delete-frame event.
d5943 10
a5952 1
Wed Sep 28 18:54:46 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5954 1
a5954 2
	* data.c (Flocal_variable_p): New function.
	(syms_of_data): defsubr it.
d5956 1
a5956 1
Wed Sep 28 16:41:39 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d5958 1
a5958 2
	* fileio.c (Fdelete_file): Undo Sep 16 change.
	* dired.c (syms_of_dired): Likewise.
d5960 3
a5962 1
Tue Sep 27 00:01:45 1994  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d5964 2
a5965 8
	* 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.
d5967 3
a5969 4
	* 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.
d5971 2
a5972 1
Mon Sep 26 21:36:54 1994  Richard Stallman  <rms@@churchy.gnu.ai.mit.edu>
d5974 2
a5975 1
	* window.c (syms_of_window): Doc fix.
d5977 1
a5977 1
Mon Sep 26 18:56:01 1994  Fred Pierresteguy <F.Pierresteguy@@frcl.bull.fr>
d5979 2
a5980 2
	* m/dpx2.h (POSIX_SIGNALS): Define it.
	(sigsetmask): Add #undef.
d5982 1
a5982 1
Mon Sep 26 14:12:21 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d5984 2
a5985 2
	* m/*.h, s/*.h (WORDS_BIG_ENDIAN): Renamed from BIG_ENDIAN,
	and restored where mistakenly deleted by earlier change.
d5987 2
a5988 3
	* emacs.c (argmatch): New function.
	(main): Recognize --longopt synonyms for all options handled here.
	Add --help and --version.
d5990 4
a5993 1
Sun Sep 25 14:00:18 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5995 1
a5995 4
	* unexsunos4.c: Delete __FreeBSD__ conditional macro definitions.
	(unexec): Major changes in UNDO_RELOCATION code.
 
	* unexsunos4.c (is_it): Rename argument and local variable.
d5997 1
a5997 1
Sun Sep 25 02:40:01 1994  Richard Stallman  <rms@@churchy.gnu.ai.mit.edu>
d5999 1
a5999 1
	* Makefile.in.in (${etc}DOC): Run make-docfile twice--two batches.
d6001 1
a6001 1
Sat Sep 24 19:34:26 1994  Richard Stallman  <rms@@churchy.gnu.ai.mit.edu>
d6003 1
a6003 2
	* sysdep.c (set_file_times): Don't test HAVE_UTIME.
	Assume utime exists if utimes does not.
d6005 1
a6005 1
	* config.h.in (HAVE_UTIMES): Add #undef.
d6007 1
a6007 2
	* editfns.c (Fformat_time_string): Mostly rewritten, to handle
	unlimited size, and report errors properly.
d6009 3
a6011 2
	* Makefile.in.in (strftime.o, mktime.o): New target.
	(obj): Add strftime.o and mktime.o.
d6013 1
a6013 1
	* strftime.c, mktime.c: New files (shared from libc).
d6015 1
a6015 1
Sat Sep 24 03:54:02 1994  Erik Naggum  (erik@@naggum.no)
d6017 1
a6017 2
	* editfns.c (Fformat_time_string): New function.
	(syms_of_editfns): Defsubr it.
d6019 1
a6019 1
Sat Sep 24 01:09:16 1994  Richard Stallman  <rms@@churchy.gnu.ai.mit.edu>
d6021 1
a6021 3
	* 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.
d6023 2
a6024 3
	* 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.
d6026 1
a6026 3
	* intervals.c (set_point):
	If Vinhibit_point_motion_hooks, ignore intangible properties.
	If move backwards into intangible text, move back over it.
d6028 1
a6028 1
	* textprop.c (syms_of_textprop): Doc fix.
d6030 1
a6030 2
	* config.h.in (STACK_DIRECTION): Don't redefine if defined already.
	Move definition down past #include's.
d6032 1
a6032 1
Fri Sep 23 20:15:02 1994  Richard Stallman  <rms@@churchy.gnu.ai.mit.edu>
d6034 3
a6036 2
	* s/linux.h: Don't include signal.h, values.h.
	(signal): Definition deleted.
d6038 4
a6041 2
	* abbrev.c (Fexpand_abbrev): Instead of Fcapitalize_region,
	just upcase the first initial.
d6043 1
a6043 3
	* casefiddle.c (Fupcase_initials_region): New function.
	(Fupcase_initials): New function.
	(syms_of_casefiddle): defsubr them.
d6045 1
a6045 1
	* minibuf.c (read_minibuf_unwind): Preserve Vdeactivate_mark.
d6047 4
a6050 1
	* s/isc2-2.h (DONT_DEFINE_SIGNAL): Macro deleted.
d6052 1
a6052 1
	* m/next.h (DK_HEADER_FILE): Macro deleted.
d6054 1
a6054 1
	* m/tahoe.h (DKSTAT_HEADER_FILE): Macro deleted.
d6056 1
a6056 1
	* m/hp800.h (CPTIME_SYMBOL, DKXFER_SYMBOL): Macros deleted.
d6058 1
a6058 3
	* 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.
d6060 4
a6063 1
	* sysdep.c: Delete BROKEN_FASYNC conditional.
d6065 1
a6065 1
	* data.c (Fset_default, Fset): Delete RTPC_REGISTER_BUG conditionals.
d6067 1
a6067 1
	* process.c (Fprocess_send_eof): Delete DID_REMOTE conditional.
d6069 2
a6070 1
        * buffer.c (get-file-buffer): Doc fix.
d6072 1
a6072 1
Fri Sep 23 00:54:08 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6074 1
a6074 1
	* frame.c (prev_frame): Fix typo.
d6076 1
a6076 1
	* unexec.c (copy_text_and_data): Delete some printf's.
d6078 1
a6078 1
	* m/acorn.h (PURESIZE): Definition deleted.
d6080 2
a6081 7
	* 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.
d6083 1
a6083 3
	* callint.c (Qplus): New variable.
	(syms_of_callint): Set it up.
	* lisp.h (Qplus): Declared.
d6085 1
a6085 1
	* xfns.c (Fx_create_frame): Rename menuBarLines resource to menuBar.
d6087 1
a6087 1
	* s/sunos4-1-3.h, s/sunos4shr.h (X_IO_BUG): Definition deleted.
d6089 1
a6089 2
	* textprop.c (Fset_text_properties): Don't let validate_interval_range
	increment START and END twice.
d6091 1
a6091 1
	* xterm.h (FRAME_X_DISPLAY): New macro.
d6093 2
a6094 1
	* s/freebsd.h (BSD): Have two definitions according to version number.
d6096 3
a6098 1
Thu Sep 22 16:50:11 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6100 2
a6101 1
	* xterm.c (x_destroy_window): Decrement ref count of x_screen struct.
d6103 1
a6103 5
	* 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.
d6105 1
a6105 3
	* xterm.h (struct x_screen): New structure.
	(struct x_display): New field x_screen.
	(FRAME_X_SCREEN): New macro.
d6107 1
a6107 2
	* process.c (exec_sentinel_error_handler): Call update_echo_area.
	(read_process_output_error_handler): Likewise.
d6109 1
a6109 1
	* xdisp.c (update_echo_area): New function.
d6111 4
a6114 1
Thu Sep 22 15:20:12 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6116 1
a6116 1
	* buffer.c (evaporate_overlays): Overlay is in car, not cdr.
d6118 6
a6123 1
Wed Sep 21 21:46:06 1994  Tom Tromey  <tromey@@creche.colorado.edu>
d6125 1
a6125 2
	* doc.c (get_doc_string): Look in ../etc while dumping.
	(munge_doc_file_name): New subroutine.
d6127 2
a6128 1
Thu Sep 22 02:25:07 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6130 1
a6130 1
	* minibuf.c (Fcompleting_read): Doc fix.
d6132 1
a6132 1
	* puresize.h (BASE_PURESIZE): Increment both values.
d6134 1
a6134 1
	* window.c (Fdelete_other_windows): Nice error if WINDOW is minibuf.
d6136 7
a6142 1
	* lisp.h (Vdebug_on_error): Declared.
d6144 3
a6146 2
	* process.c (exec_sentinel_error_handler): New function.
	(exec_sentinel): Catch all errors in the sentinel.
d6148 3
a6150 4
	* 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.
d6152 2
a6153 1
Wed Sep 21 17:22:44 1994  Simon Leinen  <simon@@lia.di.epfl.ch>
d6155 3
a6157 2
	* cm.h (cmputc): Return int rather than void.
	* cm.c (evalcost, cmputc): They now return their arguments.
d6159 2
a6160 1
Wed Sep 21 10:09:42 1994  Per Abrahamsen  <abraham@@iesd.auc.dk>
d6162 2
a6163 5
	* 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.
d6165 1
a6165 1
Wed Sep 21 14:52:44 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6167 1
a6167 1
	* s/bsd386.h (HAVE_TERMIOS, NO_TERMIO): Defined.
d6169 4
a6172 1
	* editfns.c (Fmessage_or_box): Use Fmessage_box with new name.
d6174 1
a6174 3
	* process.c (read_process_output_error_handler): New function.
	(read_process_output_call): New function.
	(read_process_output): Catch and report errors in filters.
d6176 9
a6184 2
	* keyboard.c (cmd_error_internal):
	New function, broken out of cmd_error.
d6186 1
a6186 2
	* fileio.c (Fread_file_name): If DEFAULT is nil and INITIAL is not,
	use INITIAL to set DEFAULT. 
d6188 2
a6189 1
	* editfns.c (Fmessage_box): Renamed from Fbox_message.
d6191 6
a6196 1
Fri Sep 17 08:40:48 1994  Michael Ben-Gershon (mybg@@cs.huji.ac.il)
d6198 1
a6198 1
	* unexec.c (copy_text_and_data): Add RISCiX changes.
d6200 1
a6200 1
	* m/acorn.h, s/riscix1-1.h, s/riscix1-2.h: New files added.
d6202 2
a6203 1
Wed Sep 21 15:39:33 1994  Bill Burton  (billb@@progress.com)
d6205 1
a6205 1
	* s/ptx.h: New file for Sequent DYNIX/ptx 1.x/2.x
d6207 1
a6207 1
	* m/sequent-ptx.h: New file for Sequent DYNIX/ptx 1.x/2.x
d6209 1
a6209 1
Wed Sep 21 11:10:40 1994  Frederic Pierresteguy  <F.Pierresteguy@@frcl.bull.fr>
d6211 1
a6211 4
	* 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.
d6213 2
a6214 1
Wed Sep 21 01:13:51 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6216 1
a6216 2
	* search.c (Freplace_match): New 4th arg OBJECT can specify string
	to replace in.
d6218 1
a6218 2
	* casefiddle.c (upcase_initials): New function.
	(casify_object): Handle CASE_CAPITALIZE_UP.
d6220 1
a6220 1
	* fns.c (concat3): New function.
d6222 1
a6222 1
	* xfns.c (Fx_get_resource): Doc fix.
d6224 2
a6225 9
	* 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.
d6227 1
a6227 1
	* minibuf.c (get_minibuffer): Make BUF current to kill its local vars.
d6229 17
a6245 1
Tue Sep 20 01:49:37 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6247 1
a6247 3
	* 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.
d6249 1
a6249 1
	* unexaix.c (report_error): Include reason in error message.
d6251 1
a6251 1
Tue Sep 20 01:05:50 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6253 3
a6255 2
	* eval.c (init_eval_once): Init Vrun_hooks here.
	(syms_of_eval): Not here.
d6257 1
a6257 1
Tue Sep 20 00:06:50 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6259 2
a6260 2
	* search.c (trivial_regexp_p): New function.
	(search_buffer): Don't depend on internal format of re_pattern_buffer.
d6262 1
a6262 19
	* 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.
d6264 2
a6265 1
	* sysdep.c (set_file_times): Move this out of the USG conditional.
d6267 2
a6268 1
Mon Sep 19 22:29:09 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6270 1
a6270 1
	* s/sco4.h (POSIX_SIGNALS): Defined.
d6272 1
a6272 1
Mon Sep 19 13:46:04 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6274 8
a6281 1
	* buffer.c (syms_of_buffer): Doc fix.
d6283 2
a6284 1
	* keymap.c (Fkey_description): Reverse condition.
d6286 1
a6286 1
Mon Sep 19 13:23:44 1994  Jim Blandy  <jimb@@geech.gnu.ai.mit.edu>
d6288 1
a6288 8
        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.
d6290 32
a6321 1
Mon Sep 19 01:05:21 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6323 1
a6323 1
	* s/netbsd.h (SYSTEM_TYPE): Delete definition.
d6325 2
a6326 1
	* lisp.h (RETURN_UNGCPRO): Use if (1) .. else, not do ... while (0).
d6328 1
a6328 1
Sun Sep 18 19:56:33 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6330 1
a6330 16
	* 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.
d6332 1
a6332 1
Sun Sep 18 16:00:13 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6334 3
a6336 4
	* 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.
d6338 5
a6342 1
	* process.h (struct process): New field tty_name.
d6344 4
a6347 3
	* s/sol2.h (HAVE_VFORK): Defined.
	(C_SWITCH_SYSTEM): Deleted.
	(const): Definition deleted.
d6349 3
a6351 2
	* fileio.c (Ffile_writable_p): Don't use ro_fsys.
	(ro_fsys): Deleted.
d6353 2
a6354 1
Sun Sep 18 14:57:23 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6356 1
a6356 1
	* config.h.in (_ALL_SOURCE): Don't redefine if already defined.
d6358 2
a6359 1
	* xdisp.c [!HAVE_X_WINDOWS] (store_frame_title): Dummy macro.
d6361 5
a6365 4
	* 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>.
d6367 2
a6368 2
	* config.h.in (_ALL_SOURCE, HAVE_STRUCT_UTIMBUF, HAVE_SELECT,
	HAVE_TIMEVAL): Add #undefs.
d6370 1
a6370 2
	* s/*.h, m/*.h: Delete obsolete symbols USE_UTIME, MISSING_UTIMES,
	IRIS_UTIME, USG_SYS_TIME, HAVE_SELECT, HAVE_TIMEVAL, BIG_ENDIAN.
d6372 3
a6374 1
Sun Sep 18 00:00:16 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6376 2
a6377 1
	* dispnew.c (preserve_other_columns): Fix arg to sizeof in bcopy call.
d6379 3
a6381 1
	* minibuf.c (get_minibuffer): Call Fkill_all_local_variables.
d6383 1
a6383 3
	* buffer.c (reset_buffer): Don't call reset_buffer_local_variables.
	(Fget_buffer_create): Call it here.
	(init_buffer_once): And here.
d6385 2
a6386 5
	* 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.
d6388 2
a6389 3
	* unexsunos4.c (SUNOS4 or __FreeBSD__): Define UNDO_RELOCATION.
	(unexec): Test UNDO_RELOCATION.  Distinguish the relocation formats
	of __FreeBSD__ and SUNOS4.
d6391 1
a6391 1
	* s/sol2.h (REL_ALLOC): #undef deleted.
d6393 2
a6394 2
	* keymap.c (Fkey_description): Give error if KEYS not an array.
	(get_keyelt, access_keymap, get_keymap_1): Use type test macros.
d6396 1
a6396 1
Sat Sep 17 01:21:19 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6398 3
a6400 1
	* unexsunos4.c (unexec): Fix logic for rounding section boundaries.
d6402 1
a6402 1
	* config.h.in (EMACS_CONFIG_OPTIONS): Add #undef.
d6404 2
a6405 1
	* textprop.c (property_value): Declare args plist, prop.
d6407 1
a6407 1
	* s/osf1.h (malloc, realloc): Declared.
d6409 1
a6409 1
	* print.c (print): sprintf arg for frame depends on VALBITS.
d6411 1
a6411 2
	* callproc.c (Fcall_process) [__osf__ && __alpha]:
	Don't stop reading if read returns negative.
d6413 2
a6414 3
	* puresize.h (PURESIZE_RATIO, BASE_PURESIZE): Defined.
	(PURESIZE): Define it based on those.
	* m/alpha.h (PURESIZE): Definitions deleted.
d6416 1
a6416 1
Fri Sep 16 23:09:34 1994  Karl Heuer  <kwzh@@churchy.gnu.ai.mit.edu>
d6418 1
a6418 6
	* 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.
d6420 1
a6420 1
Fri Sep 16 22:15:28 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6422 1
a6422 1
	* xfns.c (hack_wm_protocols): Arrange to handle WM_SAVE_YOURSELF.
d6424 1
a6424 1
	* s/hpux9.h (HAVE_TERMIO, HAVE_TERMIOS, NO_TERMIO): Undo Jul 28 change.
d6426 1
a6426 1
Fri Sep 16 21:49:50 1994  Karl Heuer  <kwzh@@churchy.gnu.ai.mit.edu>
d6428 1
a6428 2
	* emacs.c (Vsystem_configuration_options): New variable.
	(syms_of_emacs): Initialize it.
d6430 1
a6430 7
	* 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.
d6432 1
a6432 1
Fri Sep 16 20:13:01 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6434 1
a6434 2
	* m/intel386.h (HAVE_VFORK): Defined.
	[__GNUC__] (C_SWITCH_SYSTEM): Add #undef.
d6436 5
a6440 1
	* emacs.c (shut_down_emacs): Don't call Fx_close_current_connection.
d6442 1
a6442 1
	* lisp.h (EMACS_INT, EMACS_UINT): Define, if not already defined.
d6444 1
a6444 1
	* alpha.h (EMACS_INT, EMACS_UINT): Defined.
d6446 1
a6446 1
Fri Sep 16 19:56:09 1994  Rainer Schoepf  <schoepf@@sc.ZIB-Berlin.DE>
d6448 3
a6450 1
	* s/osf1.h [__alpha] (LD_SWITCH_SYSTEM): Alternate definition.
d6452 1
a6452 1
	* unexalpha.c, m/alpha.h: New files.
d6454 8
a6461 4
	* 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.
d6463 2
a6464 2
	* buffer.c (reset_buffer_local_variables, Fbuffer_local_variables)
	(init_buffer_once): Use EMACS_INT.
d6466 1
a6466 1
	* callint.c (Fcall_interactively): Use EMACS_INT.
d6468 4
a6471 1
	* data.c (sign_extend_lisp_int): Use EMACS_INT.
d6473 3
a6475 1
	* dispextern.h (struct face): Use EMACS_UINT.
d6477 1
a6477 1
	* doc.c (Fdocumentation): Use EMACS_INT.
d6479 3
a6481 1
	* editfns.c (Fnarrow_to_region, format1): Use EMACS_INT.
d6483 1
a6483 1
	* floatfns.c (FLOAT_TO_INT, FLOAT_TO_INT2): Use EMACS_INT.
d6485 1
a6485 2
	* frame.h (struct frame, selected_frame, last_nonminibuf_frame):
	Use EMACS_INT.
d6487 2
a6488 7
	* 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.
d6490 1
a6490 1
	* lread.c (Fload): Use EMACS_INT.
d6492 1
a6492 1
	* marker.c (unchain_marker): Use EMACS_INT.
d6494 1
a6494 2
	* mem-limits.h: Check for __alpha, in __osf__ conditional.
	(EXCEEDS_LISP_PTR): Use EMACS_UINT.
d6496 1
a6496 1
	* print.c (print): Use EMACS_UINT.
d6498 2
a6499 1
	* puresize.h (CHECK_IMPURE, all versions): Use EMACS_INT.
d6501 1
a6501 1
	* window.h (struct window): Use EMACS_INT.
d6503 1
a6503 1
	* xdisp.c (message): Use EMACS_INT.
d6505 1
a6505 1
	* xterm.h (struct scroll_bar, SCROLL_BAR_VEC_SIZE): Use EMACS_INT.
d6507 1
a6507 1
Fri Sep 16 19:39:30 1994  Morten Welinder  <terra@@diku.dk>
d6509 3
a6511 2
	* fileio.c (Finsert_file_contents) [MSDOS]: Don't re-gc-protect
	filename; delete unused variables.
d6513 1
a6513 1
Fri Sep 16 19:35:04 1994  Karl Heuer  <kwzh@@churchy.gnu.ai.mit.edu>
d6515 1
a6515 1
	* term.c (clear_to_end): Fix reversed condition.
d6517 1
a6517 1
Fri Sep 16 18:16:48 1994  K. Berry <kb@@cs.umb.edu>
d6519 1
a6519 3
	* dired.c (Qcompletion_ignored_extensions): New symbol.
	(syms_of_dired): Initialize it.
	* fileio.c (Fdelete_file): Bind completion-ignored-extensions to nil.
d6521 2
a6522 1
Fri Sep 16 17:56:25 1994  Morten Welinder  (terra@@diku.dk)
d6524 2
a6525 2
	* s/msdos.h (MODE_LINE_BINARY_TEXT): Define this symbol.
	* xdisp.c (decode_mode_spec): Use it when defined.
d6527 1
a6527 3
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.
d6529 3
a6531 1
Fri Sep 16 16:07:35 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6533 1
a6533 1
	* m/hp9000s300.h [not BSD4_3] [__GNUC__] (HAVE_ALLOCA): Defined.
d6535 1
a6535 1
Fri Sep 16 07:15:51 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6537 2
a6538 1
	* xdisp.c [!HAVE_X_WINDOWS] (frame_title_ptr): define as always null.
d6540 2
a6541 1
Fri Sep 16 03:42:39 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6543 1
a6543 19
	* 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.
d6545 3
a6547 2
	* xfns.c (Fx_display_grayscale_p): New function.
	(syms_of_xfns): defsubr it.
d6549 2
a6550 2
	* s/bsd386.h (__bsdi__): Define, unless already defined.
	(DECLARE_GETPWUID_WITH_UID_T): Define.
d6552 1
a6552 4
	* 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__.
d6554 3
a6556 1
Thu Sep 15 20:40:47 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6558 1
a6558 8
	* 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.
d6560 1
a6560 1
Thu Sep 15 01:50:12 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6562 2
a6563 3
	* 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.
d6565 1
a6565 2
	* textprop.c (syms_of_textprop):
	Delete Lisp var interval-balance-threshold.
d6567 3
a6569 1
	* intervals.c, intervals.h (interval_balance_threshold): Var deleted.
d6571 1
a6571 1
	* xfns.c (Fx_create_frame): Make 1 the default for menu-bar-lines.
d6573 4
a6576 1
	* keyboard.c (gobble_input): Use sigblockx only if it is defined.
d6578 1
a6578 2
	* unexsunos4.c [SUNOS4]: Include link.h.
	(unexec) [SUNOS4]: Cancel relocations that ld.so did.
d6580 1
a6580 1
	* s/sunos4-0.h (SUNOS4): Defined.
d6582 1
a6582 1
Wed Sep 14 04:24:09 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6584 3
a6586 2
	* Makefile.in.in (xmenu.o): Depend on puresize.h.
	(cmds.o): Depend on window.h.
d6588 1
a6588 3
	* cmds.c: Include window.h.
	(Fnewline): Inhibit the insert-at-end-of-line hack
	when at the top of the window.
d6590 1
a6590 1
	* minibuf.c (Fcompleting_read): Doc fix.
d6592 1
a6592 2
	* xmenu.c: Include puresize.h.
	(menu_item_equiv_key): Use CHECK_IMPURE.
d6594 1
a6594 2
	* syntax.c (Fforward_comment): Do increment from, when reaching
	single-char comment end going forward.
d6596 1
a6596 1
	* callproc.c (delete_temp_file): Use Fdelete_file.
d6598 1
a6598 1
	* fileio.c (Fset_default_file_modes): Doc fix.
d6600 1
a6600 3
	* 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.
d6602 1
a6602 1
Sun Sep 11 14:56:01 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6604 1
a6604 1
	* Version 19.27 released.
d6606 1
a6606 1
Sat Sep 10 01:10:04 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6608 1
a6608 1
	* keymap.c (syms_of_keymap): Doc fix.
d6610 2
a6611 1
	* keyboard.c (gobble_input): Block SIGALRM if we are using it.
d6613 1
a6613 1
	* gmalloc.c: Bug fix affecting __ptrdiff_t in non-ANSI case.
d6615 1
a6615 1
Wed Sep  7 03:54:08 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6617 1
a6617 1
	* Version 19.26 released.
d6619 1
a6619 1
Thu Sep  8 15:13:32 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6621 4
a6624 2
	* keyboard.c (record_asynch_buffer_change): Don't test
	Fwaiting_for_user_input_p if no subprocesses.
d6626 2
a6627 1
Mon Sep  5 21:33:48 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6629 3
a6631 1
	* s/sol2.h [USE_X_TOOLKIT && HAVE_X11XTR6] (REL_ALLOC): Undefine it.
d6633 2
a6634 1
Sun Sep  4 23:20:51 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6636 4
a6639 2
	* emacs.c (init_cmdargs): After chasing link, use only the
	expanded name.
d6641 1
a6641 1
Sun Sep  4 20:12:07 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6643 3
a6645 1
	* fileio.c (Ffile_accessible_directory_p): Put back the gcpro.
d6647 4
a6650 1
	* sysdep.c (srandom): Pass arg to srand48; no return value.
d6652 4
a6655 1
Sun Sep  4 00:35:24 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6657 5
a6661 1
	* emacs.c (init_cmdargs): When setting dir, expand the dir name.
d6663 2
a6664 2
	* sysdep.c (random, srandom): Check HAVE_LRAND48, not HAVE_RAND48.
	Call lrand48, nor rand48.
d6666 2
a6667 1
	* config.h.in (HAVE_LRAND48): Replaces HAVE_RAND48.
d6669 2
a6670 1
Sat Sep  3 14:44:42 1994  Kaveh R. Ghazi  (ghazi@@noc.rutgers.edu)
d6672 12
a6683 8
	* 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.
d6685 1
a6685 1
Sat Sep  3 00:33:58 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6687 3
a6689 1
	* sysdep.c (init_baud_rate): Test that getobaud is actually defined.
d6691 1
a6691 1
	* sysdep.c (init_baud_rate) [USE_GETOBAUD]: Use getobaud.
d6693 22
a6714 1
Fri Sep  2 17:57:36 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6716 6
a6721 3
	* insdel.c (prepare_to_modify_buffer): Don't call
	verify_overlay_modification if no overlays or
	verify_interval_modification no intervals.
d6723 2
a6724 2
	* textprop.c (Fset_text_properties):
	Return early if buffer has no intervals and PROPS is nil.
d6726 1
a6726 1
Fri Sep  2 03:01:48 1994  Lennart Staflin  (lenst@@rudolf)
d6728 1
a6728 1
	* xdisp.c (display_text_line): Don't overrun the charstart area.
d6730 5
a6734 1
Fri Sep  2 01:31:58 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6736 1
a6736 1
	* insdel.c (insert_1): Don't call interval fns if buffer has none.
d6738 5
a6742 2
	* textprop.c (Fset_text_properties): Don't create or split an interval
	if we trivially do not need to change anything.
d6744 1
a6744 1
Wed Aug 31 16:39:57 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6746 4
a6749 4
	* 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.
d6751 1
a6751 1
Tue Aug 30 04:24:59 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6753 2
a6754 1
	* frame.c (Fdelete_frame): Fix previous change.
d6756 4
a6759 1
Tue Aug 30 11:11:59 1994  enami tsugutomo  <enami@@sys.ptg.sony.co.jp>
d6761 1
a6761 1
	* fileio.c (Fwrite_region): unbind_to should take two args.
d6763 3
a6765 1
Tue Aug 30 00:21:51 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6767 1
a6767 1
	* fileio.c (Ffile_accessible_directory_p): No need for gcpro.
d6769 3
a6771 2
	* keyboard.c (input_polling_used): New function.
	* xterm.c (x_make_frame_visible): Call input_polling_used.
d6773 3
a6775 1
Sun Aug 28 01:53:01 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6777 3
a6779 2
	* frame.c (Fdelete_frame): Free the frame's glyphs arrays.
	Free the line insert/delete cost vectors.
d6781 1
a6781 1
	* dispnew.c (free_frame_glyphs): No longer static.
d6783 2
a6784 1
	* m/next.h (HAVE_MACH_MACH_H): Defined.
d6786 2
a6787 3
	* 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.
d6789 1
a6789 1
	* insdel.c (insert_before_markers_and_inherit): New function.
d6791 1
a6791 1
	* cmds.c (internal_self_insert): Use insert_and_inherit.
d6793 1
a6793 1
Sat Aug 27 18:45:24 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6795 4
a6798 1
	* indent.c (Findent_to): Pass new arg to Finsert_char.
d6800 6
a6805 2
	* editfns.c (Finsert_char): New arg INHERIT.
	Use insert_and_inherit if requested.
d6807 6
a6812 2
	* insdel.c (insert_1): New arg INHERIT.
	(insert_and_inherit): New function.
d6814 1
a6814 1
Fri Aug 26 17:19:52 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6816 4
a6819 6
	* 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.
d6821 2
a6822 1
Fri Aug 26 16:35:06 1994  Kevin Rodgers <kevinr@@ihs.com>
d6824 1
a6824 1
	* xfns.c (Fx_color_defined_p): Return list of RGB values, not just t.
d6826 1
a6826 1
Fri Aug 26 01:17:17 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6828 2
a6829 1
	* xterm.c (x_make_frame_visible): Call signal handler directly.
d6831 1
a6831 1
Thu Aug 25 18:18:50 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6833 3
a6835 1
	* s/linux.h: Add LINUX_QMAGIC conditional.
d6837 1
a6837 1
	* m/alliant-2800.h (USE_NONANSI_DEFUN): Defined.
d6839 34
a6872 1
	* lisp.h (DEFUN): Check USE_NONANSI_DEFUN.
d6874 1
a6874 2
	* Makefile.in.in (obj): Put cm.o before term.o.
	(Avoids mysterious lossage on Irix.)
d6876 1
a6876 1
	* xmenu.c (xmenu_show): Don't queue events that are in the menu bar.
d6878 2
a6879 1
Wed Aug 24 15:40:04 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6881 1
a6881 5
	* 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.
d6883 1
a6883 1
	* unexelfsgi.c (unexec): Copy previous change in unexelf.c.
d6885 3
a6887 1
	* s/irix5-0.h [__GNUC__] (LD_SWITCH_SYSTEM): Defined.
d6889 1
a6889 1
Wed Aug 24 17:40:38 1994  Simon Leinen  <simon@@lia.di.epfl.ch>
d6891 12
a6902 2
	* term.c (term_init): Added missing argument to tgetstr.
	(tgetstr): Move declarations to top level.
d6904 1
a6904 1
Wed Aug 24 02:26:54 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6906 4
a6909 2
	* xterm.c (x_make_frame_visible): Raise a signal to cause the
	pending X I/O to be read.
d6911 3
a6913 1
Wed Aug 24 01:16:45 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6915 1
a6915 2
	* xdisp.c (display_scan_buffer): New function.
	(display_count_lines): Use that.
d6917 1
a6917 1
	* intervals.c (textget): Ignore category prop if not a symbol.
d6919 2
a6920 1
Tue Aug 23 22:04:05 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d6922 1
a6922 1
	* s/gnu.h: New file.
d6924 3
a6926 1
Tue Aug 23 18:56:19 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6928 2
a6929 1
	* indent.c (pos_tab_offset): Don't trigger point-motion hooks.
d6931 2
a6932 5
	* 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.
d6934 19
a6952 1
Tue Aug 23 03:04:51 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6954 1
a6954 4
	* 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.
d6956 7
a6962 2
	* lread.c (O_RDONLY): Defined.
	(openp): Use it.
d6964 6
a6969 2
	* unexelf.c (unexec): Don't alter the info field
	of SHT_SYMTAB and SHT_DYNSYM sections.
d6971 5
a6975 1
	* xdisp.c (redisplay_window): Don't access text before BEGV.
d6977 2
a6978 2
	* keyboard.c (read_char): After read_char_minibuf_menu_prompt,
	don't just return; jump to non_reread.
d6980 1
a6980 1
	* fileio.c (Fmake_directory_internal): Pass just 2 args to handler.
d6982 3
a6984 1
Tue Aug 23 00:46:27 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6986 3
a6988 1
	* frame.c (Fmake_frame_invisible, Ficonify_frame): Don't switch frames.
d6990 2
a6991 1
Mon Aug 22 19:17:08 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d6993 8
a7000 1
	* search.c (Fstring_match): Fix sign error.
d7002 1
a7002 1
	* m/ibmrs6000.h (LD_SWITCH_MACHINE): Use full path to ibmrs6000.inp.
d7004 2
a7005 1
Sun Aug 21 14:03:32 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7007 2
a7008 1
	* m/ibmrs6000.h (LD_SWITCH_MACHINE): Supply m/ibmrs6000.inp as input.
d7010 1
a7010 1
	* m/ibmrs6000.inp: New file.
d7012 5
a7016 1
Fri Aug 19 20:47:38 1994  Hiroshi NAKANO  <nakano@@whale.math.ryukoku.ac.jp>
d7018 1
a7018 2
	* unexelf.c: Eliminate local var bss_end.
	Update the symbol values of _edata and _end.
d7020 1
a7020 1
Fri Aug 19 01:37:54 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7022 1
a7022 2
	* process.c (wait_reading_process_input):
	Clear waiting_for_user_input_p before returning.
d7024 1
a7024 1
	* xterm.c (x_make_frame_visible): Quit if requested, in loop at end.
d7026 2
a7027 1
Wed Aug 17 22:07:20 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7029 2
a7030 2
	* keyboard.c (read_char): Don't show buffer-events to the user.
	Handle chars over 255 in dribble files.
d7032 1
a7032 1
Wed Aug 17 17:43:22 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d7034 3
a7036 1
	* callproc.c (Fcall_process_region): gcpro filename_string.
d7038 1
a7038 1
Wed Aug 17 16:05:56 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7040 1
a7040 2
	* doc.c (store_function_docstring): Do nothing for bytecode object
	which has no slot for doc string.
d7042 1
a7042 1
Tue Aug 16 19:51:36 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7044 2
a7045 1
	* buffer.c (list_buffers_1): Update header line layout.
d7047 1
a7047 1
Sat Aug 13 19:11:21 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7049 5
a7053 2
	* s/sol2-4.h (pid_t): New definition.
	(vfork): Definition deleted.
d7055 2
a7056 2
	* xmenu.c (xmenu_show): Unconditionally update x_mouse_grabbed
	and Vmouse_depressed.
d7058 1
a7058 2
	* window.c (window_loop, case UNSHOW_BUFFER):
	When we delete a frame, skip all the windows on that frame.
d7060 3
a7062 1
Fri Aug 12 19:11:43 1994  Karl Heuer  <kwzh@@hal.gnu.ai.mit.edu>
d7064 3
a7066 7
	* 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.)
d7068 1
a7068 1
Fri Aug 12 01:22:45 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7070 2
a7071 1
	* indent.c (compute_motion): Use WIN's frame, not selected one.
d7073 1
a7073 1
	* xterm.c (x_new_font): Don't set filename = full_name if that's null.
d7075 3
a7077 1
Thu Aug 11 15:45:00 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7079 3
a7081 1
	* Makefile.in.in (FRAME_SUPPORT): Add faces.elc.
d7083 1
a7083 2
	* search.c (Freplace_match): Treat caseless initial like a
        lowercase initial.
d7085 3
a7087 2
	* keymap.c (Fdefine_key): Fix error message.
	(Fsingle_key_description): Likewise.
d7089 3
a7091 1
Wed Aug 10 16:28:47 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7093 3
a7095 3
	* s/sol2-3.h (POSIX_SIGNALS): Define it.
	(PTY_TTY_NAME_SPRINTF): New overriding definition.
	(sigsetmask): Add #undefs.
d7097 1
a7097 2
	* s/sol2-4.h (POSIX_SIGNALS, PTY_TTY_NAME_SPRINTF, sigsetmask):
	Delete those things (moved to sol2-3.h).
d7099 4
a7102 2
	* s/sol2-4.h (HAVE_VFORK): Deleted.
	(vfork): Define as emacs_vfork.
d7104 2
a7105 1
	* window.c (Fwindow_end): Undo previous change.
d7107 1
a7107 1
Tue Aug  9 13:39:31 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7109 2
a7110 2
	* keyboard.c (record_asynch_buffer_change): Do nothing
	except when waiting_for_user_input_p.
d7112 1
a7112 1
	* m/i860.h [USG5_4] (SVR4): Defined.
d7114 2
a7115 2
	* xdisp.c (display_text_line):
	Make previous change #ifdef HAVE_X_WINDOWS.
d7117 1
a7117 1
Mon Aug  8 05:03:18 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7119 3
a7121 1
	* puresize.h [MULTI_FRAME] (PURESIZE): Increased.
d7123 1
a7123 1
	* window.c (Fwindow_end): If window_end_valid is nil, return nil.
d7125 1
a7125 2
	* window.c (Fpos_visible_in_window_p): Do something reasonable
	if w->start is outside the buffer bounds.
d7127 3
a7129 1
Sun Aug  7 02:40:34 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7131 1
a7131 2
	* s/sol2-4.h (PTY_TTY_NAME_SPRINTF): New definition.
	(sigsetmask): Add #undef.
d7133 11
a7143 1
	* keymap.c (Faccessible_keymaps): Fix previous change.
d7145 1
a7145 1
Sat Aug  6 20:58:03 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7147 2
a7148 2
	* xdisp.c (display_text_line): Use the face properties
	of the overlay arrow, if any.
d7150 1
a7150 1
	* xfaces.c (compute_glyph_face_1): New function.
d7152 2
a7153 2
	* m/intel386.h (LIBS_MACHINE): If SOLARIS2_4, don't define this. 
	* s/sol2-4.h (SOLARIS2_4): Defined.
d7155 1
a7155 1
Fri Aug  5 23:06:16 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7157 2
a7158 2
	* keymap.c (Fuse_global_map, Fuse_local_map):
	Call record_asynch_buffer_change.
d7160 2
a7161 3
	* xterm.c (XTread_socket):
	Don't test X_IO_BUG; make that code unconditional.
	(x_noop_count, x_term_init): Likewise.
d7163 1
a7163 1
Thu Aug  4 17:00:11 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7165 4
a7168 3
	* 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.
d7170 2
a7171 2
	* fileio.c (Fread_file_name_internal): Call double_dollars
	when `changed' is set.
d7173 5
a7177 1
Wed Aug  3 21:53:58 PDT 1994  Caveh Jalali  (caveh@@eng.sun.com)
d7179 33
a7211 1
	* m/intel386.h [SOLARIS2] (VALBITS, GCTYPEBITS): New definitions.
d7213 2
a7214 1
	* s/sol2-4.h: New file.
d7216 2
a7217 1
Wed Aug  3 00:38:43 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7219 1
a7219 1
	* buffer.c (list_buffers_1): Add one column to size column.
d7221 2
a7222 1
	* xterm.c (x_make_frame_visible): Start one_in_four at 1.
d7224 7
a7230 1
	* window.c (Fwindow_end): Doc fix.
d7232 1
a7232 5
	* 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.
d7234 2
a7235 1
	* Makefile.in.in (alloca.o): Use -f in all rm's.
d7237 1
a7237 1
Tue Aug  2 18:08:18 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7239 4
a7242 2
	* keymap.c (Faccessible_keymaps): Use PREFIX to set loop starting
	point; don't even consider maps except those reached via prefix.
d7244 2
a7245 2
	* keyboard.c (make_lispy_event): If the position is not in a window,
	at least pass along the frame it is in.
d7247 4
a7250 1
Mon Aug  1 18:28:32 1994  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d7252 1
a7252 1
	* data.c (Ffset): Don't call Fget unless SYM's plist is consp.
d7254 1
a7254 1
Mon Aug  1 14:58:58 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7256 1
a7256 1
	* eval.c (Fprog2): Doc fix.
d7258 2
a7259 1
	* window.c (Fmove_to_window_line): Doc fix.
d7261 1
a7261 1
Mon Aug  1 11:10:40 1994  Frederic Pierresteguy  (F.Pierresteguy@@frcl.bull.fr)
d7263 3
a7265 1
	* xmenu.c (xmenu_show): Ignore any geometry resource from the user.
d7267 2
a7268 1
Sun Jul 31 02:37:25 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7270 2
a7271 1
	* xfns.c (Fx_get_resource): Doc fix.
d7273 1
a7273 2
	* data.c (syms_of_data): Set up Qadvice_info, Qactivate_advice.
	(Ffset): Activate advice if symbol has advice-info property.
d7275 3
a7277 2
	* xdisp.c (redisplay_window): Avoid using SET_PT to change point
	temporarily.
d7279 1
a7279 1
	* dispnew.c (sit_for): Undo previous change.
d7281 2
a7282 1
Sat Jul 30 14:26:59 1994  enami tsugutomo  <enami@@sys.ptg.sony.co.jp>
d7284 11
a7294 2
	* dispnew.c (direct_output_for_insert): Pass missing 8th
	argument to compute_char_face.
d7296 4
a7299 1
Sat Jul 30 16:36:38 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7301 3
a7303 3
	* 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.
d7305 3
a7307 1
	* fns.c (Frandom): Handle LIMIT >= 40000000.
d7309 3
a7311 1
	* xdisp.c (decode_mode_spec): Handle %&.
d7313 2
a7314 1
Fri Jul 29 21:21:09 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7316 1
a7316 1
	* process.c (create_process): Set default handling for SIGINT, etc.
d7318 1
a7318 1
Thu Jul 28 08:46:00 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7320 1
a7320 1
	* process.c (wait_reading_process_input): Fix previous change.
d7322 4
a7325 2
	* s/hpux9.h (HAVE_TERMIOS, NO_TERMIO): Defined.
	(HAVE_TERMIO): Add #undef.
d7327 2
a7328 1
	* sysdep.c (random): Use rand differently, and distinguish BSD/USG.
d7330 4
a7333 1
	* fns.c (Frandom): Fix previous change.
d7335 2
a7336 1
Wed Jul 27 13:29:53 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7338 2
a7339 1
	* syssignal.h [POSIX_SIGNALS] (signal): New definition.
d7341 3
a7343 1
	* config.h.in (HAVE_RAND48): Add #undef.
d7345 4
a7348 1
Tue Jul 26 11:25:58 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7350 3
a7352 6
	* 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.
d7354 4
a7357 2
	* process.c (wait_reading_process_input): If wait_for_cell,
	do check for keyboard input and handle it.
d7359 1
a7359 1
	* fns.c (Frandom): Use just the low 30 bits of random's value.
d7361 1
a7361 2
	* sysdep.c (random, srandom): Obey HAVE_RAND48 flag.
	Test that random is not a macro.  Don't test USG or BSD4_1.
d7363 2
a7364 1
	* m/tek4300.h (tek4300): Don't define if already defined.
d7366 2
a7367 1
Mon Jul 25 14:39:34 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7369 1
a7369 1
	* m/tek4300.h (BSD_PGRPS): Defined.
d7371 5
a7375 1
	* puresize.h (PURESIZE): Increase non-MULTI_FRAME value.
d7377 6
a7382 1
	* editfns.c (get_system_name): Add a cast.
d7384 2
a7385 4
	* 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.
d7387 7
a7393 1
	* window.c (Fdisplay_buffer): Add MULTI_FRAME cond in last change.
d7395 1
a7395 1
	* Makefile.in.in: Add #undef alloca.
d7397 1
a7397 1
Sat Jul 23 21:20:05 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7399 1
a7399 1
	* minibuf.c (Fdisplay_completion_list): gcpro `completions'.
d7401 8
a7408 1
	* print.c (internal_with_output_to_temp_buffer): gcpro things.
d7410 8
a7417 1
	* puresize.h (PURESIZE): Incremented to 252000.
d7419 1
a7419 1
Sat Jul 23 12:26:36 1994  Jim Blandy  (jimb@@totoro.bio.indiana.edu)
d7421 4
a7424 2
        * .gdbinit: Set the breakpoint in x_error_quitter instead of
        _XPrintDefaultError.
d7426 1
a7426 1
Wed Jul 20 00:56:24 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7428 2
a7429 2
	* window.c (Fnext_window, Fprevious_window): Don't get stuck in a loop
	in the minibuffer frame.
d7431 1
a7431 2
	* dispnew.c (direct_output_for_insert): Dpn't call compute_char_face
	for a non-X frame.
d7433 1
a7433 1
	* s/usg5-4.h: Move #undef static before the includes.
d7435 1
a7435 1
	* xrdb.c [USG5] (SYSV): Don't define if already defined.
d7437 2
a7438 1
	* fileio.c (Fwrite_region): Do unwind the new unwind protect.
d7440 6
a7445 1
Tue Jul 19 12:05:00 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7447 2
a7448 2
	* xterm.c (struct font_info): New field full_name.
	(x_new_font): Record, and return, the full name of the font.
d7450 1
a7450 2
	* widget.c (EmacsFrameSetCharSize): Delete the code to make rows at
	least 3.
d7452 1
a7452 6
	* 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.
d7454 1
a7454 2
	* sysdep.c (init_system_name): Retry gethostbyname after TRY_AGAIN
        failure.
d7456 2
a7457 2
	* process.c (Fopen_network_stream):
	Retry gethostbyname after TRY_AGAIN failure.
d7459 1
a7459 1
	* s/isc4-0.h [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
d7461 2
a7462 1
	* s/usg5-4.h (PTY_TTY_NAME_SPRINTF): Fail smoothly if cannot get pty.
d7464 1
a7464 3
	* sysdep.c (sys_subshell): Expand ~ in dir.
	Do the processing of dir before calling fork.
	Use vfork.
d7466 1
a7466 1
Mon Jul 18 02:09:30 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7468 2
a7469 3
	* xterm.c (note_mouse_movement): Use proper data type for window
	args to XQueryPointer.
	(x_scroll_bar_note_movement): Likewise.
d7471 1
a7471 4
	* keyboard.c (Vdeferred_action_list, Vdeferred_action_function):
	New variables.
	(command_loop_1): Handle them.
	(syms_of_keyboard): Set up Lisp variables.
d7473 1
a7473 1
	* s/linux.h [emacs]: Include stdio.h.
d7475 2
a7476 2
	* commands.h (unread_command_char): Declared.
	* dispnew.c (sit_for): Return immediately if unread events exist.
d7478 1
a7478 1
Sun Jul 17 19:52:42 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7480 2
a7481 1
	* textprop.c (Fget_text_property): Simplify using Ftext_properties_at.
d7483 4
a7486 1
Sun Jul 17 02:41:19 1994  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7488 1
a7488 1
	* xfns.c (Fx_create_frame): Use 140 as default font size.
d7490 2
a7491 1
	* xmenu.c [USE_X_TOOLKIT] (xmenu_show): Handle UnmapNotify events.
d7493 6
a7498 1
Sat Jul 16 14:31:34 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7500 1
a7500 2
	* window.c (Fdisplay_buffer): Cope with unsplittable frames
	and dedicated windows.
d7502 3
a7504 2
	* frame.c [!MULTI_FRAME] (Fframe_first_window): Defined.
	(syms_of_frame): Defvar it.
d7506 1
a7506 1
Thu Jul 14 19:56:33 1994  Morten Welinder  (terra@@diku.dk)
d7508 2
a7509 1
	* s/msdos.h (HAVE_VOLATILE): Define.
d7511 9
a7519 1
Thu Jul 14 00:59:50 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7521 1
a7521 1
	* keyboard.c (safe_run_hooks): Use local var to restore hook's value.
d7523 1
a7523 1
Wed Jul 13 20:55:47 1994  Morten Welinder  (terra@@diku.dk)
d7525 1
a7525 4
	* 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.
d7527 2
a7528 3
	* msdos.c (mouse_init1): Use alternate mouse detection for old
	mouse drivers.
	(mouse_get_pos): Downscale coordinates by 8.
d7530 2
a7531 1
Wed Jul 13 00:11:17 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7533 1
a7533 1
	* window.c (Fselect_window): Fix bug checking new_point is in range.
d7535 2
a7536 1
	* fileio.c (syms_of_fileio): Finish previous change.
d7538 2
a7539 2
	* keyboard.c (command_loop_1): Do direct output for cursor motion
	over text chars when disp tab exists but says nothing for them.
d7541 1
a7541 1
	* frame.h (FRAME_EXTERNAL_MENU_BAR) [!USE_X_TOOLKIT]: Give zero.
d7543 2
a7544 2
	* xdisp.c [!HAVE_X_WINDOWS] (compute_char_face, compute_glyph_face):
	Add simple alternate definitions for non-X case.
d7546 1
a7546 1
Tue Jul 12 15:09:25 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7548 2
a7549 3
	* process.c (Qlast_nonmenu_event): New variable.
	(syms_of_process): Set it up.
	(read_process_output, exec_sentinel): Bind it to t around filter.
d7551 1
a7551 2
	* fileio.c (Fmake_directory_internal): Use Qmake_directory_internal.
	(syms_of_fileio): Set up Qmake_directory_internal, not Qmake_directory.
d7553 3
a7555 2
	* frame.c [MULTI_FRAME] (Fframe_parameters): For non-X frames,
	fill in menu-bar-lines value.
d7557 1
a7557 1
Mon Jul 11 20:46:53 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7559 1
a7559 1
	* xmenu.c (xmenu_show): Don't call XtUngrabPointer here.
d7561 1
a7561 1
	* Makefile.in.in (ctagsfiles): Rewrite to avoid compiler bug.
d7563 2
a7564 1
Sun Jul 10 20:37:09 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7566 1
a7566 2
	* window.c (Fdisplay_buffer): Add MULTI_FRAME conditional
	in previous change.
d7568 4
a7571 1
Sun Jul 10 19:11:24 1994  Morten Welinder  (terra@@diku.dk)
d7573 7
a7579 3
	* m/intel386.h [MSDOS] (NO_REMAP): Defined.
	* s/msdos.h (HAVE_MOUSE, PURESIZE): Definitions moved here.
	* m/dos386.h: File obsolete and deleted.
d7581 2
a7582 1
	* msdos.c (dos_rawgetc): Use bios, not kbhit.
d7584 3
a7586 1
Sat Jul  9 14:20:11 1994  Morten Welinder  (terra@@diku.dk)
d7588 1
a7588 4
	* 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.
d7590 2
a7591 1
Sat Jul  9 00:43:51 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7593 1
a7593 1
	* puresize.h (PURESIZE) [MULTI_FRAME]: Increased to 250000.
d7595 1
a7595 1
	* lread.c (readevalloop): Correctly unbind the unwind protect.
d7597 1
a7597 1
Fri Jul  8 16:24:59 1994  Morten Welinder  (terra@@diku.dk)
d7599 3
a7601 1
	* msdos.c (do_visible_bell): Clean-up using GNU assembly extension.
d7603 1
a7603 1
Thu Jul  7 00:52:10 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7605 1
a7605 1
	* m/sparc.h (BIG_ENDIAN): Don't redefine if defined.
d7607 1
a7607 1
	* Makefile.in.in (alloca.o): Delete allocatem.c first thing.
d7609 2
a7610 3
	* 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.
d7612 2
a7613 3
	* xfns.c (syms_of_xfns): Provide x-toolkit in toolkit version.
	Undo previous change.
	(x_toolkit): Variable deleted.
d7615 1
a7615 2
	* xfns.c (x_toolkit): New variable.
	(syms_of_xfns): Set up Lisp var x-toolkit.
d7617 8
a7624 6
	* 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.
d7626 1
a7626 2
	* frame.c (next_frame, prev_frame):
	MINIBUF = 0 means try visible frames and iconified frames.
d7628 3
a7630 1
Wed Jul  6 15:30:48 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7632 1
a7632 4
	* 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__.
d7634 1
a7634 1
	* keyboard.c (make_lispy_event): Ignore menu bar up events.
d7636 2
a7637 1
Tue Jul  5 02:18:22 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7639 1
a7639 1
	* doprnt.c (doprnt): Handle padding on %c.
d7641 1
a7641 3
	* frame.c (next_frame, prev_frame): Change which frames to use
	when MINIBUF is a window.
	(Fnext_frame, Fprevious_frame): Doc fixes.
d7643 1
a7643 1
	* window.c: Doc fixes.
d7645 1
a7645 1
Mon Jul  4 23:54:05 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7647 1
a7647 2
	* xterm.c (XTread_socket, construct_menu_click) [USE_X_TOOLKIT]:
	Update x_mouse_grabbed and Vmouse_depressed.
d7649 1
a7649 1
Sat Jul  2 00:23:23 1994  Richard Stallman  (rms@@gnu.ai.mit.edu)
d7651 2
a7652 1
	* xdisp.c (decode_mode_spec): %+ makes % for unmodified RO buffer.
d7654 3
a7656 1
	* buffer.c (syms_of_buffer): Doc fix.
d7658 1
a7658 1
	* xfaces.c (get_cached_face): Set the cached_index field.
d7660 1
a7660 1
Fri Jul  1 11:34:08 1994  Richard Stallman  (rms@@gnu.ai.mit.edu)
d7662 1
a7662 2
	* sysdep.c (init_sys_modes): Turn off VSTART and VSTOP chars.
	On DGUX, turn off INPCK.
d7664 2
a7665 1
Fri Jul  1 03:13:06 1994  Paul Reilly  (pmr@@churchy.gnu.ai.mit.edu)
d7667 1
a7667 1
	* xfns.c (Fx_create_frame): Add GC protection for frame being made.
d7669 4
a7672 1
Thu Jun 30 00:27:11 1994  Richard Stallman  (rms@@gnu.ai.mit.edu)
d7674 1
a7674 2
	* xterm.c (x_make_frame_visible): In x_sync loop at the end,
	every fourth time, sleep for 1/4 second.
d7676 2
a7677 2
	* xselect.c (x_own_selection, x_get_foreign_selection):
	Get rid of spurious X_TOOLKIT conditional.
d7679 2
a7680 1
	* frame.c (Fdelete_frame): Call x_clear_frame_selections.
d7682 4
a7685 2
	* xselect.c (x_own_selection): Put the frame in Vselection_alist.
	(x_clear_frame_selections): New function.
d7687 11
a7697 1
	* xterm.c (x_draw_box): Use curs_x and curs_y, not f->cursor_[xy].
d7699 1
a7699 1
	* xfns.c (XLIB_ILLEGAL_ACCESS): Defined.
d7701 2
a7702 1
Wed Jun 29 14:57:27 1994  Richard Stallman  (rms@@gnu.ai.mit.edu)
d7704 1
a7704 1
	* s/hpux.h (random, srandom): Defined.
d7706 1
a7706 3
	* cmds.c (internal_self_insert): Now can return 2.
	* keyboard.c (command_loop_1): Don't clear nonundocount
	when internal_self_insert returns 1.
d7708 3
a7710 1
Tue Jun 28 18:21:08 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7712 3
a7714 2
	* xfns.c (x_set_frame_parameters): Call x_set_offset directly.
	Handle `-' for position parameters.
d7716 2
a7717 1
Tue Jun 28 17:50:22 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)
d7719 2
a7720 1
	* lread.c (readchar): Restart interrupted I/O.
d7722 2
a7723 1
Tue Jun 28 15:00:45 1994  Roland McGrath  (roland@@churchy.gnu.ai.mit.edu)
d7725 1
a7725 3
	* fileio.c (a_write): Loop while *ANNOT is listp, not consp.
	Previous code omitted all data from output files when *ANNOT was
	nil.
d7727 2
a7728 1
Tue Jun 28 05:25:06 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7730 1
a7730 1
	* xfns.c (x_set_name): If no change needed, avoid consing.
d7732 2
a7733 2
	* xdisp.c (prepare_menu_bars): Call x_consider_frame_title
	only if windows_or_buffers_changed.
d7735 1
a7735 4
	* 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).
d7737 1
a7737 2
	* xdisp.c (redisplay_region): For special treatment, BUF most be
	both current and displayed in selected window.
d7739 1
a7739 1
	* buffer.c (Foverlay_put): Pass redisplay_region a struct buffer *.
d7741 1
a7741 1
Mon Jun 27 16:43:46 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7743 8
a7750 1
	* fileio.c (a_write): Verify that *annot is a cons.
d7752 1
a7752 1
Sun Jun 26 12:28:23 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7754 4
a7757 2
	* keyboard.c (echo_dash): Fix backwards conditional.
	(read_key_sequence): Don't echo if echo_keystrokes is 0.
d7759 1
a7759 3
	* m/news-risc.h (C_DEBUG_SWITCH) [not NEWSOS5]:
	Don't define if __GNUC__.
	(KERNEL_FILE) [not NEWSOS5]: New override definition.
d7761 2
a7762 1
Sat Jun 25 12:28:24 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7764 1
a7764 6
	* 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.
d7766 1
a7766 1
	* buffer.h (BUF_PTR_CHAR_POS): New macro.
d7768 7
a7774 1
	* window.c (Fsave_window_excursion): Doc fix.
d7776 2
a7777 1
	* s/hpux9.h (C_SWITCH_SYSTEM): Add -D_BSD.
d7779 2
a7780 1
	* frame.c (Fframe_parameters): Don't handle menu-bar-lines explicitly.
d7782 1
a7782 3
	* window.c (Fother_window_for_scrolling): New function.
	(Fscroll_other_window): Use that.
	(syms_of_window): defsubr it.
d7784 2
a7785 1
Fri Jun 24 20:13:01 1994  Karl Heuer  (kwzh@@nutrimat.gnu.ai.mit.edu)
d7787 1
a7787 1
	* fileio.c (Finsert_file_contents): Fix check for non-regular files.
d7789 4
a7792 1
Fri Jun 24 10:09:46 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7794 2
a7795 2
	* syntax.c (scan_lists, Fforward_comment): When moving backward over
	a comment, ignore a comment-starter that overlaps the comment-ender.
d7797 1
a7797 1
	* minibuf.c (Fcompleting_read): Doc fix.
d7799 6
a7804 1
Thu Jun 23 20:33:17 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)
d7806 1
a7806 1
	* keyboard.c (syms_of_keyboard): Don't staticpro the same var twice.
d7808 1
a7808 1
Thu Jun 23 15:15:09 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7810 1
a7810 1
	* s/convexos.h: File deleted.
d7812 1
a7812 1
	* xterm.c: Don't include string.h or strings.h.
d7814 1
a7814 1
	* term.c (term_get_fkeys): Don't redeclare term_get_fkeys_1 here.
d7816 1
a7816 5
	* 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.
d7818 1
a7818 1
Wed Jun 22 00:15:49 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7820 1
a7820 1
	* buffer.c (Fmove_overlay): Fix typo in previous change.
d7822 1
a7822 1
	* s/sunos4shr.h (X_IO_BUG): Defined.
d7824 3
a7826 1
Tue Jun 21 13:51:44 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7828 1
a7828 2
	* minibuf.c (read_minibuf_unwind): Run Qminibuffer_exit_hook here.
	(read_minibuf): Not here.
d7830 2
a7831 3
	* 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.
d7833 1
a7833 1
Mon Jun 20 20:40:37 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)
d7835 2
a7836 2
	* xfns.c (x_window): Delete duplicate computation.
	Change type of reference argument from int to Dimension.
d7838 1
a7838 1
Mon Jun 20 10:50:29 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7840 1
a7840 1
	* config.h.in: Move #undef HAVE_STRERROR before the #includes.
d7842 1
a7842 2
	* m/mips4.h (HAVE_STRERROR, HAVE_XRMSETDATABASE)
	(HAVE_XSCREENRESOURCESTRING, HAVE_SETSID): Add #undefs.
d7844 2
a7845 2
	* buffer.c (Fmove_overlay): Call redisplay_region even when
	changing to a different buffer.
d7847 1
a7847 1
	* syntax.c (Fmatching_paren): Fix typo.
d7849 2
a7850 1
	* xterm.c (show_mouse_face): Set endcolumn ok in side-by-side windows.
d7852 2
a7853 1
Sun Jun 19 01:01:42 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7855 1
a7855 1
	* s/linux.h (SEGMENT_MASK): Defined.
d7857 2
a7858 1
	* xfns.c (x_window): Take account of pane widget internal border width.
d7860 3
a7862 1
	* s/linux.h (C_OPTIMIZE_SWITCH): Definition deleted.
d7864 2
a7865 2
	* lisp.h (RETURN_UNGCPRO): Swallow semicolon.
	(GCPRO5): New macro.
d7867 1
a7867 2
	* xmenu.c (single_keymap_panes): Put menu_item_equiv_key in the gcpro.
	(menu_item_equiv_key): GCPRO things.
d7869 1
a7869 3
	* keymap.c (Flookup_key): Add gcpro.
	(Fkey_binding, Fminor_mode_key_binding): Likewise.
	(Fwhere_is_internal): Likewise.
d7871 1
a7871 1
	* keyboard.c (apply_modifiers): Use assq_no_quit.
d7873 2
a7874 1
Sun Jun 19 03:54:02 1994  Erik Naggum  (erik@@naggum.no)
d7876 4
a7879 1
	* syntax.h (SYNTAX_MATCH): Fix typo (syntax -> matcher).
d7881 3
a7883 2
	* syntax.c (Fmatching_paren): New function.
	(Fchar_syntax): Pass arg directly to SYNTAX, no masking.
d7885 2
a7886 1
Sat Jun 18 15:20:10 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7888 2
a7889 4
	* .gdbinit: Doc fixes.
	(xsymbol): Cast $ to int.
	(xvector, xstring): Don't use a string constant.
	Reduce size limit for printing contents.
d7891 3
a7893 1
	* s/sol2.h (GETTIMEOFDAY_ONE_ARGUMENT): Undo previous change.
d7895 1
a7895 1
Sat Jun 18 19:52:15 1994  Francesco Potorti`  (pot@@fly.cnuce.cnr.it)
d7897 4
a7900 1
	* m/delta.h (memmove): switch the first two args.
d7902 1
a7902 1
Sat Jun 18 09:00:50 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7904 1
a7904 2
	* xterm.c (x_make_frame_visible): At end, wait till Emacs sees
	frame is visible.
d7906 1
a7906 3
	* keyboard.c (echo_after_prompt): New variable.
	(echo_prompt, cancel_echoing): Set it.
	(echo_dash): Test it.
d7908 1
a7908 4
	* 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.
d7910 1
a7910 1
	* Makefile.in.in (doprnt.o): Depend on config_h.
d7912 1
a7912 1
Fri Jun 17 19:30:46 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7914 2
a7915 4
	* 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.
d7917 1
a7917 1
	* xfns.c (x_real_positions): Make sure we know the parent window.
d7919 1
a7919 1
Fri Jun 17 16:01:55 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)
d7921 1
a7921 1
	* window.h (minibuf_prompt): Now a Lisp_Object.  All uses changed.
d7923 3
a7925 5
	* 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.
d7927 2
a7928 1
	* indent.c (compute_motion): Recenter overlays, for speed.
d7930 1
a7930 1
Fri Jun 17 09:33:21 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7932 1
a7932 3
	* 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.
d7934 1
a7934 1
Thu Jun 16 14:50:43 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7936 1
a7936 1
	* unexec.c (make_hdr): Handle case of no "additional header".
d7938 2
a7939 2
	* xdisp.c (redisplay_region): Treat selected window's buffer
	specially, not current buffer.
d7941 2
a7942 1
	* syssignal.h [USG5_4] (sigblock): Use |, not &.
d7944 1
a7944 1
Thu Jun 16 11:36:35 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)
d7946 1
a7946 2
	* xdisp.c (redisplay_window): Don't use shortcut if window_end_vpos
	is out of date.
d7948 14
a7961 1
Thu Jun 16 11:01:33 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7963 1
a7963 2
	* process.c (Fprocess_status): Return nil for process name
	that has no process.
d7965 1
a7965 1
	* dispnew.c (syms_of_display): Make baud-rate a user var.
d7967 2
a7968 1
	* syntax.c (scan_lists): Get error if eob within comment with depth!=0.
d7970 3
a7972 1
Thu Jun 16 02:55:51 1994  Roland McGrath  (roland@@geech.gnu.ai.mit.edu)
d7974 1
a7974 9
	* 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.
d7976 1
a7976 1
Wed Jun 15 16:11:16 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7978 1
a7978 3
	* 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.
d7980 1
a7980 1
Wed Jun 15 00:03:36 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7982 1
a7982 1
	* syssignal.h (sigblock) [USG5_4]: Define if not defined.
d7984 1
a7984 1
Tue Jun 14 23:40:29 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d7986 1
a7986 1
	* lread.c: Put config.h first.
d7988 3
a7990 1
	* hftctl.c: Put sys/signal.h and errno.h first, then config.h.
d7992 1
a7992 1
	* dired.c: Put stdio.h, sys/types.h and sys/stat.h after config.h.
d7994 2
a7995 2
	* 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.
d7997 2
a7998 1
Tue Jun 14 20:17:16 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)
d8000 1
a8000 6
	* 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.
d8002 2
a8003 1
	* keymap.c (Fsingle_key_description): Allow strings as keys.
d8005 1
a8005 1
	* process.c (create_process): Set input_wait_mask before forking.
d8007 1
a8007 1
Tue Jun 14 15:45:44 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d8009 2
a8010 2
	* indent.c (vmotion): Use find_next_newline_no_quit.
	(indented_beyond_p): Likewise.
d8012 2
a8013 1
	* search.c (find_next_newline_no_quit): New function.
d8015 1
a8015 1
	* sysdep.c (init_sys_modes): Don't set up sigio here if window system.
d8017 1
a8017 2
	* keyboard.c (read_key_sequence): Verify event has a POSN_BUFFER_POSN
	before trying to extract it.
d8019 1
a8019 1
	* eval.c (init_eval_once): Call xmalloc, not malloc.
d8021 1
a8021 1
	* process.c (Fprocess_send_eof): Doc fix.
d8023 1
a8023 1
Mon Jun 13 17:07:59 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d8025 2
a8026 2
	* keyboard.c (interrupt_signal, init_keyboard): 
	Don't handle SIGINT and SIGQUIT if using window system directly.
d8028 4
a8031 2
	* sysdep.c (init_sys_modes): Don't call set_terminal_modes
	if using a window system.
d8033 1
a8033 1
	* xterm.c (XTread_socket): Use x_top_window_to_frame in prev change.
d8035 1
a8035 1
	* s/sol2.h (SOLARIS2): Defined.
d8037 1
a8037 1
	* m/intel386.h: Add conditional for SOLARIS2.
d8039 2
a8040 1
Mon Jun 13 16:55:30 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)
d8042 1
a8042 1
	* xmenu.c (single_keymap_panes): gcpro some things.
d8044 1
a8044 1
Mon Jun 13 15:44:51 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d8046 1
a8046 2
	* xterm.c (XTread_socket): Handle Xatom_wm_save_yourself
	by calling XSetCommand.
d8048 1
a8048 1
	* emacs.c (init_cmdargs): Set up initial_argv, initial_argc.
d8050 2
a8051 1
	* keyboard.c (syms_of_keyboard): Properly init Vsystem_key_alist.
d8053 1
a8053 1
	* unexaix.c (adjust_lnnoptrs): Handle multiple aux symbols.
d8055 1
a8055 1
Sun Jun 12 15:57:02 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)
d8057 3
a8059 2
	* editfns.c (transpose_markers): Allow for gap at start of region.
	(Ftranspose_regions): Don't precompute pointers into buffer text.
d8061 3
a8063 1
Sun Jun 12 08:42:36 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d8065 1
a8065 1
	* xfns.c (x_window): Request "save yourself" commands.
d8067 2
a8068 3
	* callint.c (Fcall_interactively): Ignore `-' in string.
	(Fcall_interactively): Don't call minibuffer-window-active-p;
	determine directly whether a minibuf window is active.
d8070 1
a8070 2
	* keyboard.c (read_char): When we loop and call redisplay,
	do prepare_menu_bars first.
d8072 1
a8072 1
Sat Jun 11 08:12:46 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d8074 2
a8075 1
	* search.c (Freplace_match): Be sure not to treat non-digit like digit.
d8077 1
a8077 2
	* xmenu.c (xmenu_show): Don't call XMenuDestroy twice
	in XM_FAILURE case.
d8079 1
a8079 1
	* Makefile.in.in (xterm.o): Depend on dispextern.h.
d8081 1
a8081 1
	* s/sunos4-1-3.h (X_IO_BUG): Defined.
d8083 1
a8083 1
Fri Jun 10 16:31:19 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d8085 1
a8085 1
	* s/linux.h (CLASH_DETECTION): Defined.
d8087 5
a8091 2
	* minibuf.c (Fdisplay_completion_list):
	Require at least two spaces between items.
d8093 1
a8093 1
Tue Jun  7 13:33:23 1994  Richard Stallman  (rms@@geech.gnu.ai.mit.edu)
d8095 1
a8095 2
	* keyboard.c (command_loop_1):
	Treat nil in display tab like no display tab.
d8097 2
a8098 1
Tue Jun  7 11:50:49 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d8100 1
a8100 4
	* 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.
d8102 1
a8102 1
Tue Jun  7 19:19:04 1994  Morten Welinder  (terra@@diku.dk)
d8104 1
a8104 8
	* 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.
d8106 5
a8110 1
Mon Jun  6 21:11:13 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)
d8112 2
a8113 2
	* fns.c (Fy_or_n_p, Fyes_or_no_p) [HAVE_X_MENU]: Redisplay before
	popping up a menu.
d8115 1
a8115 1
	* dispnew.c (Fframe_or_buffer_changed_p): Reuse the state vector.
d8117 1
a8117 1
Mon Jun  6 08:37:39 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d8119 1
a8119 2
	* frame.c (Ficonify_frame, Fmake_frame_invisible, Fmake_frame_visible):
	Increment windows_or_buffers_changed.
d8121 1
a8121 3
	* xdisp.c (redisplay): Don't call x_consider_frame_title.
	(display_mode_line): Likewise.
	(prepare_menu_bars): Call it here.
d8123 1
a8123 1
Mon Jun  6 01:02:32 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)
d8125 1
a8125 1
	* dispnew.c (Fframe_or_buffer_changed_p): New function.
d8127 1
a8127 1
Sun Jun  5 07:13:01 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d8129 1
a8129 2
	* xterm.c (x_wm_set_icon_position, x_wm_set_icon_pixmap):
	[USE_X_TOOLKIT]: Use top-level widget's window.
d8131 3
a8133 3
	* s/bsd386.h (BSD): Redefine.
	(WAITTYPE, WRETCODE, WCOREDUMP): New definitions.
	Include wait.h.
d8135 1
a8135 1
	* m/sun386.h (LIBS_MACHINE) [USG]: New #define.
d8137 1
a8137 2
	* xterm.c (x_term_init): New args xrm_option and resource_string.
	Pass an -xrm option to XtAppInitialize if appropriate.
d8139 1
a8139 2
	* xfns.c (Fx_open_connection): Set up Vx_resource_name and xrm_option
	before calling x_term_init.  Pass new args.
d8141 7
a8147 1
	* keyboard.c (modify_event_symbol): Return nil if out of range.
d8149 4
a8152 1
	* keymap.c (Fkey_description): Avoid using Fmapconcat--do it directly.
d8154 1
a8154 1
	* keyboard.c, dispnew.c: Include systime.h after xterm.h.
d8156 2
a8157 1
	* xfns.c (x_window): Take account of internal border of paned widget.
d8159 1
a8159 1
	* m/dos386.h (PURESIZE): Increased to 240000.
d8161 4
a8164 3
	* 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.
d8166 2
a8167 1
Sat Jun  4 14:35:09 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d8169 2
a8170 1
	* s/hpux9shr.h (C_DEBUG_SWITCH): Define as empty.
d8172 1
a8172 1
Fri Jun  3 20:14:30 1994  Morten Welinder  (terra@@diku.dk)
d8174 1
a8174 2
	* callproc.c [MSDOS]: #include "msdos.h" for rootrelativepath
	template.
d8176 1
a8176 5
	* 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.
d8178 1
a8178 1
Thu Jun  2 19:41:08 1994  Karl Heuer  (kwzh@@hal.gnu.ai.mit.edu)
d8180 2
a8181 2
	* textprop.c (Fprevious_single_property_change): Check for null
	interval after correcting for edge effects.
d8183 2
a8184 1
	* xdisp.c (display_text_line): Make sure pointer is in range.
d8186 1
a8186 1
	* xmenu.c (xdialog_show): Fix problem with message in dialog box.
d8188 1
a8188 1
Thu Jun  2 15:11:57 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d8190 3
a8192 1
	* emacs.c (main): Do the setpgrp after checking for -batch.
d8194 1
a8194 1
	* keyboard.c (command_loop_1): Properly handle nil in display table.
d8196 1
a8196 1
	* s/hpux9.h (C_SWITCH_SYSTEM): Put inside __GNUC__ conditional.
d8198 3
a8200 1
Wed Jun  1 14:55:45 1994  Richard Stallman  (rms@@mole.gnu.ai.mit.edu)
d8202 2
a8203 1
	* process.c (kill_buffer_processes): For net conn, use Fdelete_process.
d8205 1
a8205 1
See ChangeLog.4 for earlier changes.
@


1.1.1.18
log
@import emacs-19.30
@
text
@a0 1984
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.

d74 1
a74 1

a83 1
	Do `set main' to make gdb_valbits etc. available.
d222 1
a222 1
	(temacs): Remove $(BLD) dependency.
d883 1
a883 1

d897 1
a897 1

d956 1
a956 1
	* keyboard.c (Fexecute_extended_command):
d960 1
a960 1
	* data.c (Fnumber_to_string, Fstring_to_number):
d1000 1
a1000 1

d1024 1
a1024 1

d1052 1
a1052 1

d1382 1
a1382 1

d1440 1
a1440 1

d1445 1
a1445 1

d1466 1
a1466 1
	(read_char): Clean up logic for reading from KBOARD queues.
d1572 1
a1572 1

d1723 1
a1723 1

d1741 1
a1741 1

d1775 1
a1775 1
	functionality to let ralloc package work in frozen state, allowing
d1815 1
a1815 1

d1822 1
a1822 1

d1994 1
a1994 1

d2005 1
a2005 1

d2210 1
a2210 1
	(syms_of_keymap): Don't defsubr them.
d2444 1
a2444 1
	* m/intel386.h [SOLARIS2_4, !__GNUC__] (C_SWITCH_SYSTEM): Defined..
d3003 1
a3003 1
	* insdel.c (insert_1, prepare_to_modify_buffer, insert_from_buffer_1):
d3071 1
a3071 1
	* fileio.c (Finsert_file_contents, Fwrite_region):
d3095 1
a3095 1
	(SET_BUF_ZV, SET_BUF_PT, point):
d3354 1
a3354 1
	(main): Change calls to argmatch.
d3456 1
a3456 1

d3514 1
a3514 1
	* filelock.c (init_filelock): Always copy lock_path.
d3911 1
a3911 1

d4131 1
a4131 1
	* xfns.c (x_display_info_for_name, Fx_open_connection):
d4219 1
a4219 1
	(create_process, Fopen_network_stream, deactivate_process):
d4337 1
a4337 1
	(symbol_to_x_atom, x_atom_to_symbol):
d4648 1
a4648 1
	FRAME_MODE_LINE_PARAM_FACE, FRAME_COMPUTED_FACES,
d4859 1
a4859 1
	* editfns.c (Fuser_login_name, Fuser_real_login_name):
d5298 1
a5298 1

d5482 1
a5482 1
	use INITIAL to set DEFAULT.
d5834 1
a5834 1
	(Fx_open_connection, Fx_close_current_connection, syms_of_xfns):
d6260 1
a6260 1
	* m/intel386.h (LIBS_MACHINE): If SOLARIS2_4, don't define this.
d6852 1
a6852 1
	(HAVE_GETTIMEOFDAY, HAVE_MKDIR, HAVE_RMDIR):
d6972 1
a6972 1
	* keyboard.c (interrupt_signal, init_keyboard):
@


1.1.1.19
log
@import emacs-19.31
@
text
@d1 1
a1 1
Sat May 25 15:30:10 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d3 1
a3 1
	* Version 19.31 released.
d5 1
a5 1
Sat May 25 10:41:39 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d7 1
a7 1
	* m/sparc.h [__linux__] (A_TEXT_OFFSET, A_TEXT_SEEK): Don't define.
d9 1
a9 1
Fri May 24 09:57:12 1996  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>
d11 1
a11 1
	* xterm.c [SOLARIS2]: Include string.h.
d13 2
a14 1
Fri May 24 15:06:04 1996  Andrew Innes  <andrewi@@harlequin.co.uk>
d16 1
a16 12
	* w32fns.c: (Vwin32_mouse_move_interval): New lisp variable.
	(syms_of_win32fns): Add Vwin32_mouse_move_interval to syms.
	(saved_mouse_msg): Renamed to saved_mouse_button_msg.
	(timer_id): Renamed to mouse_button_timer.
	(saved_mouse_move_msg, mouse_move_timer): New variables.
	(win_msg_worker): Delete WM_TIMER code.
	(win32_wnd_proc): Handle WM_TIMER events here. Use separate timers
 	for mouse down and mouse move (including scroll bar drag) events.
	Add new handling code for WM_VSCROLL and WM_MOUSEMOVE events.
	Only filter WM_MOUSEMOVE events when a button is held down.
	Always pass on message to DefWindowProc after calling 
	TranslateMessage.  Reset keyboard modifiers when losing focus.
d18 3
a20 2
	* w32term.c (x_scroll_bar_handle_click): Repaint scroll bar handle
	when drag is finished.
d22 1
a22 1
Fri May 23 19:28:30 1996  Geoff Voelker  <voelker@@joker.cs.washington.edu>
d24 1
a24 3
	* w32fns.c (win32_wnd_proc): When passing modifier keystrokes back
	to Windows, invoke TranslateMessage on them.
	(reset_modifiers): Don't reset Window's keyboard state.
d26 2
a27 1
Thu May 23 12:15:27 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d29 1
a29 1
	* lread.c (init_lread): Init Vload_file_name to Qnil.
d31 2
a32 1
Tue May 21 23:26:40 1996  Geoff Voelker  <voelker@@joker.cs.washington.edu>
d34 1
a34 2
	* w32fns.c (modifier_set): Check toggle state of CapsLock even
	if modifiers are not being recorded.
d36 1
a36 1
Tue May 21 20:35:54 1996  Andrew Innes  <andrewi@@harlequin.co.uk>
d38 1
a38 2
	* nt.c (get_volume_info): Always update *pPath correctly, even if
	UNC header is incomplete.
d40 2
a41 1
Tue May 21 10:29:10 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d43 2
a44 2
	* indent.c (compute_motion): When calling Fget_char_property,
	don't pass window if window is displaying the wrong buffer.
d46 2
a47 1
	* dispnew.c (init_display) [HAVE_LIBNCURSES]: If X, call tgetent.
d49 1
a49 2
	* keyboard.c (Fexecute_extended_command): Don't look for
	a key binding if executing a kbd macro.
d51 1
a51 1
	* print.c (Fprin1_to_string): Preserve Vdeactivate_mark.
d53 1
a53 1
	* systty.h [__GNU_LIBRARY__]: #include <sys/ioctl.h>.
d55 1
a55 2
	* cmds.c (internal_self_insert): Don't return 2 for auto-fill
	unless the auto_fill_function returns non-nil.
d57 2
a58 1
Fri May 17 17:12:28 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d60 1
a60 9
	* nt.h (struct _child_process): New member is_dos_process.
	* nt.c (_sys_read_ahead): Handle sleep here.
	(sys_read): Not here.
	(init_ntproc): Initialize can_run_dos_process, dos_process_running.
	* ntproc.c (Vwin32_pipe_read_delay): New var.
	(can_run_dos_process, dos_process_running): New vars.
	(win32_is_dos_binary): New function.
	(reap_subprocess, sys_spawnve): Use them.
	(syms_of_ntproc): Defvar and initialize Vwin32_pipe_read_delay.
d62 1
a62 2
	* xdisp.c (display_menu_bar) [HAVE_NTGUI]: Enable the display of
	menus in --no-window mode on NT.
d64 2
a65 1
Fri May 17 02:10:20 1996  Geoff Voelker  <voelker@@cs.washington.edu>
d67 3
a69 2
	* w32term.c (w32_read_socket): Mask out lower 4 bits of wParam
	for WM_SYSCOMMAND messages.
d71 1
a71 1
Wed May 15 10:41:41 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d73 1
a73 1
	* makefile.nt: Fix typo in previous patch.
d75 1
a75 1
	* callproc.c (Fcall_process): Don't close the same fd twice.
d77 2
a78 1
Wed May 15 10:39:00 1996  Kim Storm  <storm@@olicom.dk>
d80 1
a80 4
	* nt.c (sys_read): Introduce a small delay before reading from
	a pipe or socket to allow more data to be buffered; otherwise,
	process output is read one byte at a time on fast machines
	(which is slow).
d82 2
a83 1
Tue May 14 14:59:18 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d85 1
a85 3
	* w32select.c (QCLIPBOARD): New symbol.
	(Fx_selection_exists_p): New function.
	(syms_of_win32select): Initialize/staticpro and defsubr them.
d87 2
a88 1
Mon May 13 15:56:50 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d90 1
a90 1
	* makefile.nt (w32*.obj): Fix deps.
d92 2
a93 1
Mon May 13 17:35:11 1996  Andrew Innes  <andrewi@@harlequin.co.uk>
d95 2
a96 2
	* eval.c (Fsignal) [HAVE_WINDOW_SYSTEM]: Changed from
 	HAVE_X_WINDOWS, so that TOTALLY_UNBLOCK_INPUT is called on Windows.
d98 1
a98 1
	* w32fns.c (win32_wnd_proc): Reenable quit_char detection.
d100 1
a100 1
Mon May 13 11:24:15 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d102 1
a102 6
	* w32menu.c: Include buffer.h.
 	(set_frame_menubar): Make sure input is unblocked
	when we call create_menu_items.
	Switch temporarily to proper buffer, bind inhibit-quit to t,
	and run the same hooks as in smenu.c.
	(syms_of_win32menu): Initialize and staticpro Qdebug_on_next_call.
d104 1
a104 2
	* w32term.c (note_mouse_movement): Upwards mouse movement
	recognition corrected.
d106 1
a106 1
Sun May 12 18:49:48 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d108 1
a108 1
	* callproc.c (Fcall_process): Fix previous change (now !MSDOS only).
d110 2
a111 1
Sun May 12 16:06:46 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d113 3
a115 1
	* macros.c (Fstart_kbd_macro): Add missing xrealloc arg.
d117 1
a117 1
Sun May 12 13:42:54 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d119 1
a119 1
	* Makefile.in (MSDOS_SUPPORT): Use full name disp-table.elc.
d121 1
a121 1
Sun May 12 11:32:48 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d123 1
a123 2
	* dosfns.c (init_dosfns) [DJGPP >= 2]: Make `opendir' preserve
	filename case (under Win95) and find hidden files.
d125 1
a125 2
	* msdos.c (Fmsdos_downcase_filename): Don't change the argument,
	return a copy.
d127 1
a127 1
Sat May 11 13:19:39 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d129 1
a129 4
	* msdos.c (msdos_downcase_filename): New function to convert case
	in filenames.
	(Fmsdos_downcase_filename): New function.
	(syms_of_msdos): Defsubr it.
d131 2
a132 2
	* s/msdos.h (FILE_SYSTEM_CASE): Call Fmsdos_downcase_filename
	instead of Fdowncase.
d134 1
a134 1
Sat May 11 16:56:25 1996  Geoff Voelker  <voelker@@cs.washington.edu>
d136 1
a136 1
	* s/windowsnt.h (SYSTEM_PURESIZE_EXTRA): Macro defined.
d138 1
a138 1
Sat May 11 14:39:08 1996  Andrew Innes  <andrewi@@harlequin.co.uk>
d140 1
a140 4
	* w32term.c (x_scroll_bar_set_handle): Always use start
	in calling SetScrollPos.
	(x_scroll_bar_handle_click): In line up/down cases, don't alter y.
	Don't call x_scroll_bar_set_handle.
d142 2
a143 1
	* nt.c (map_win32_filename): If not a fat volume, cvt name to dos.
d145 3
a147 1
Sat May 11 06:55:09 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d149 2
a150 1
	* ntheap.c (allocate_heap): Clean up conditional.
d152 2
a153 1
Sat May 11 02:37:28 1996  Geoff Voelker  <voelker@@cs.washington.edu>
d155 3
a157 2
	* ntheap.c (allocate_heap): Bump heap base up to 27MB to
	satisfy Win95.
d159 1
a159 1
Fri May 10 20:47:16 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d161 2
a162 1
	* callproc.c (Fcall_process): Close fd_error if successful.
d164 1
a164 1
Fri May 10 19:03:13 1996  Geoff Voelker  <voelker@@cs.washington.edu>
d166 2
a167 2
	* w32fns.c (win32_wnd_proc): Disable setting of Vquit_flag
	at this point.
d169 1
a169 1
Fri May 10 12:03:00 1996  Andrew Innes  <andrewi@@harlequin.co.uk>
d171 3
a173 7
	* w32fns.c (win_msg_worker): Use post_msg.
	(win32_wnd_proc): Don't abort if button_state & this, just return.
	Use post_msg instead of my_post_msg in some places.
	(win32_to_x_font): Major rewrite.
	(struct enumfont_t): New element logfont.
	(enum_font_cb2): Add special code for TRUETYPE_FONTTYPE.
	(Fx_list_fonts): Call x_to_win32_font.
d175 1
a175 2
	* w32term.c (x_scroll_bar_move): Call my_show_window.
	(x_scroll_bar_clear): Likewise.
d177 1
a177 3
	* ntterm.c (prev_console_mode): New variable.
	(unset_kbd): Use prev_console_mode.
	(reset_kbd): Set prev_console_mode.  Call Fset_input_mode.
d179 1
a179 1
	* emacs.c (main) [WINDOWSNT]: Call syms_of_ntproc.
d181 3
a183 3
	* ntproc.c (Vwin32_quote_process_args): New variable.
	(sys_spawnve): If Vwin32_quote_process_args, quote the args.
	(syms_of_ntproc): Set up Lisp variable.
d185 1
a185 1
Fri May 10 12:03:00 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d187 1
a187 1
	* xterm.c (x_connection_signal_1): Call x_connection_closed properly.
d189 1
a189 1
Wed May  8 13:13:26 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d191 3
a193 1
	* msdos.c (syms_of_msdos): Fix typo.
d195 1
a195 1
Tue May  7 20:03:37 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d197 1
a197 1
	* termhooks.h (enum scroll_bar_part): Delete extra comma.
d199 2
a200 1
Mon May  6 00:04:12 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d202 1
a202 2
	* msdos.c (Fmsdos_long_file_names): New function.
	(syms_of_msdos): Defsubr it.
d204 4
a207 1
	* s/msdos.h (GMALLOC_INHIBIT_VALLOC): Defined.
d209 1
a209 2
	* casetab.c (set_case_table): Set upcase_table, case_canon_table
	and case_eqv_table in the buffer.
d211 2
a212 2
	* casefiddle.c (casify_region, casify_object):
	If case table has been changed, call Fset_case_table.
d214 1
a214 1
Sat May  4 23:58:05 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d216 1
a216 2
	* editfns.c (Fencode_time): Accept MANY args, so as to cope
	with the value of decode-time.
d218 1
a218 1
Fri May 03 16:31:54 1996  Andrew Innes  <andrewi@@harlequin.co.uk>
d220 2
a221 4
	* keyboard.c (Qup, Qdown): New variables.
	(syms_of_keyboard): Initialize and staticpro.
	(scroll_bar_parts): Add Qup and Qdown.
	(make_lispy_event) [WINDOWSNT]: Handle win32_scroll_bar_click.
d223 1
a223 5
	* termhooks.h (enum scroll_bar_part): New alternatives
	scroll_bar_up_arrow, scroll_bar_down_arrow.
	(win32_scroll_bar_click): New enum constant.
	
Fri May  3 14:30:22 1996  Andrw Innes <andrewi@@harlequin.co.uk>
d225 1
a225 3
	* makefile.nt (SUBSYSTEM) [NTGUI]: Remove conditional.
	(LINK_FLAGS): Explicitly set base address, and stack and heap sizes.
	(nt.obj): Add dependency to nt.h.
d227 3
a229 1
	* nt.c (nt_ctime): Function renamed to sys_ctime.  
d231 1
a231 3
	Undefine macros for shadowed CRT functions.
	(nt_stat, get_unassigned_drive_letter, is_toplevel_share_name,
 	stat_toplevel_share): Functions deleted.
d233 5
a237 2
	Include sys/socket.h and
 	undefine macros for shadowed socket functions.
d239 4
a242 1
	(getwd): Return NULL if GetCurrentDirectory fails.
d244 2
a245 1
	(gethostname) [!HAVE_SOCKETS]: Replace with winsock version.
d247 1
a247 1
	(nt_sleep): Renamed to sys_sleep.
d249 3
a251 2
	(rename): Renamed to sys_rename. Always rename to a temporary name
 	first on Windows 95.  Unlink new name first if necessary.
d253 8
a260 2
	(dir_finding): Variable deleted.
	(dir_is_fat, dir_pathname): New variables.
d262 2
a263 6
	(openddir): Fail if dir_find_handle is in use. Save directory name
 	in dir_pathname, and set dir_is_fat appropriately.
	(closedir, readdir): Use dir_find_handle in place of dir_finding.
	(readdir): Copy directory name from dir_pathname on first
 	call. Use IS_DIRECTORY_SEP instead of IS_ANY_SEP.  Force filename
 	to be lower case on FAT volumes.
d265 1
a265 2
	(getpwuid): Move struct passwd initialization to init_user_info,
	return information for current user if uid matches.
d267 3
a269 2
	(getuid, geteuid): Return uid determined by init_user_info.
	(getgid, getegid): New functions.
d271 2
a272 5
	(getpwnam): Ignore case when comparing name.
	(init_user_info): New function.  Determine user name and id from
	NT security calls if possible, otherwise try Windows networking
	calls before falling back to hard-coded defaults.  Ensure HOME and
	SHELL environment variables are set.
d274 1
a274 1
	(unixtodos_filename): New function.
d276 8
a283 1
	(REG_ROOT): Trailing backslash removed.
d285 3
a287 1
	(init_environment): Call init_user_info.
d289 2
a290 2
	(get_inode_and_device_vals, pipe_with_inherited_out,
 	pipe_with_inherited_in): Functions deleted.
d292 5
a296 3
	(prepare_standard_handles, reset_standard_handles): Moved to
	ntproc.c and simplified to match other changes (all handles are
	already non-inheritable).
d298 1
a298 2
	(get_emacs_configuration): Detect Windows flavour (Win95 or NT) at
	run-time.  Change OS name for Windows 95 to be "win95".
d300 4
a303 2
	(fd_info): New variable. Array of extra info for file descriptors
	needed for pipe/socket support.
d305 5
a309 6
	(utc_base_ft, utc_base, init): New internal variables used for
	implementing stat.
	
	(get_volume_info, is_fat_volume, map_win32_filename, convert_time,
	convert_from_time_t, hashval, generate_inode_val): New
	internal support functions for shadowed C library functions.
d311 2
a312 3
	(sys_access, sys_chdir, sys_chmod, sys_link, sys_mkdir,
	sys_mktemp, sys_rmdir, sys_unlink): Call map_win32_filename
	before calling shadowed C library function.
d314 2
a315 2
	(sys_fopen, sys_open): Map file names, and ensure file handle is
 	non-inheritable.
d317 2
a318 3
	(stat): Replace buggy library function.  Fake reaonsable i-node
	values by hashing the canonical file name, and use uid/gid values
	determined by init_user_info.
d320 3
a322 4
	(term_winsock, init_winsock, set_errno, check_errno)
 	[HAVE_SOCKETS]: New internal socket support functions (plus
 	associated variables) required to support dynamic linking to
 	Windows socket library.
d324 4
a327 4
	(sys_socket, sys_bind, sys_connect, sys_htons, sys_ntohs,
 	sys_inet_addr, sys_gethostname, sys_gethostbyname,
 	sys_getservbyname) [HAVE_SOCKETS]: New functions to provide
 	dynamically loaded interface to Windows socket library.
d329 2
a330 2
	(sys_close, sys_dup, sys_dup2, sys_read, sys_write): New wrappers
	for C library functions to handle sockets and pipes.
d332 1
a332 2
	(sys_pipe): Make pipe handles non-inheritable, and set binary mode
	as required.
d334 3
a336 2
	(_sys_read_ahead): New internal support function for pipe/socket
 	support in sys_select.
d338 9
a346 5
	(term_ntproc): New function.
	(init_ntproc): New function to initialise socket support and make
	initial std handles non-inheritable.  Also ensure stdin, stdout
	and stderr have valid handles so that pipes and sockets can't
	inadvertently use fd 0, 1, or 2.
d348 1
a348 10
	* nt.h: Check to see if already included.
	(fd_set, filedesc): New structures.
	(child_process, MAX_CHILDREN, CHILD_ACTIVE): Definitions moved 
	from ntproc.c.
	(FD_SET, FD_CLR, FD_ISSET, FD_ZERO): Operate on fd_set structures.
	(SELECT_TYPE): New macro.
	New child process status enumeration.
	(FILE_READ, FILE_WRITE, FILE_BINARY, FILE_PIPE, FILE_SOCKET): 
	New macros.
	(fd_info, new_child, delete_child): Declared.
d350 1
a350 4
	* ntheap.c: Include lisp.h.
	(allocate_heap): Use VALBITS to determine size of heap.
	(allocate_heap) [WINDOWS95]: Conditional code removed.
	(sbrk): Use VALMASK instead of an unsigned integer mask.
d352 1
a352 2
	* ntinevt.c (win32_kdb_patch_key): Initialize isdead.
	(key_event) [HAVE_NTGUI]: Use Windows key code.
d354 1
a354 28
	* ntproc.c: Include config.h after CRT headers. Include fcntl.h.
	(child_process, MAX_CHILDREN, CHILD_ACTIVE): Moved to nt.h.	
	(DebugPrint): New macro.
	(new_child): Create input event structures for child processes.
	(delete_child): New function.
	(reader_thread): Return nonzero upon failure.  Use _sys_read_ahead.
	(create_child): Add child_process and parent PID arguments.  
	Don't create input event or thread structures here.
	Fixup Win95 negative process IDs.
	(register_child): Don't set consumed event; instead, set thread
	status so that select will release it.
	(remove_child): Renamed to reap_process.  Only free resources
	of synchronous children.
	(win32_wait): Renamed to sys_wait.  Sanity check to make sure
	handle to subprocess exists.  Don't reclaim thread resources here.
	(win32_spawnve): Renamed to sys_spawnve.  
	Check for proper wait mode first thing.
	Convert command name to DOS format.
	Quote whitespace and quotes in arguments to subprocess.
	Use alloca instead of malloc.
	If max subprocesses, return EAGAIN in hopes of another completing.
	(sys_select): Add support for socket input.  Remove dead code.
	Check input from children fairly.
	(sys_select) [HAVE_TIMEVAL]: Remove conditional check and code.
	(win32_kill_process): Renamed to sys_kill.  Use OpenProcess
	to terminate process.
	(prepate_standard_handles, reset_standard_handles): Moved here 
	from nt.c.
d356 1
a356 5
	* ntterm.c (reset_kbd): Try to use interrupt input.
	
	* unexnt.c (WinMain): Function removed.
	(_start) [HAVE_NTGUI]: Don't invoke WinMain, but do set up
	WinMain args as crt0.c would.
d358 1
a358 107
	* w32fns.c (quit_char, Vwin32_enable_italics, Vwin32_enable_palette): 
	New variables.
	(syms_of_win32fns): Set up new lisp variables.
	
	(Fwin32_rgb): Dead procedure removed.
	(Fwin32_define_rgb_color, Fwin32_load_color_file, win32_map_color,
	win32_regenerate_palette, win32_unmap_color): New functions.
	(syms_of_w32fns): Set up new lisp functions.
	(define_color): Use palettes.  Simulate use of PALETTE_RGB to
	use closest color instead of dithering.
	(map_mode): Function removed.
	(WIN32_COLOR, SET_WIN32_COLOR): New macros.

	(win32_init_class): Don't set CS_OWNDC in the WNDCLASS style.
	(win32_createwindow): Invoke ShowWindow to discard defaults
	from parent.
	(win32_wnd_proc): Use separate critical sections appropriately.
	Handle palette change, show window, and set window position messages.
	Record WINDOWPLACEMENT structure length.
	Detect quit_char.
	(Fx_create_frame): Set scrollbar width to be the system standard.

	(Ffocus_frame, Funfocus_frame): Functions now do nothing.

	(x_to_win32_weight, win32_to_x_weight): Handle "heavy", "extrabold",
	"light", "extralight", and "thin" fonts.
	(x_to_win32_charset, win32_to_x_charset): New functions.
	(win32_to_x_font): Use new height units.  Use win32_to_x_charset.
	(x_to_win32_font): Use x_to_win32_charset.  Support Win32 font names
	in addition to X font names.

	(win32_load_font, Fx_list_fonts, Fx_display_color_cells, 
	Fx_display_mm_height, Fx_display_mm_width: Use GetDC directly.

	(Fx_open_connection): Support external color mapping files.

	(win32_abort): Map abort button to abort, retry to debug, and
	ignore to continue.

	* w32reg.c (REG_ROOT): Remove trailing backslash.

	* w32select.c (Fwin32_set_clipboard_data, Fwin32_get_clipboard_data): 
	Calculate exact size of clipboard string with CRs removed or inserted.

	* w32term.c (Vwindow_system): Declared.
	(win32_fill_rect, dumpglyphs, do_line_dance, x_draw_box): 
	Use Get/ReleaseFrameDC.

	(pixel_to_glyph_coords): Support tty mode.
	(w32_read_socket): Explicitly use FALSE. 
	Handle WM_PALLETTECHANGED event.
	(parse_button): Handle mouse button emulation.

	(my_show_window, my_set_window_pos): New functions.
	(x_set_offset, x_set_window_size, x_raise_frame, x_lower_frame): 
	Use my_set_window_pos.
	(x_make_frame_visible, x_iconify_frame): Use my_show_window.

	(x_draw_box): Don't trim right and bottom.
	(x_make_frame_visible): Don't invoke SetForgroundWindow.

	(win32_term_init): Use GetDC directly.  Initialize palette
	and win32_num_mouse_buttons.
	(win32_update_begin): Regenerate palette if necessary.
	(x_delete_display): Free palette.

	(win32_initialize) [ATTACH_THREADS]: Only AttachThreadInput if
	conditional is defined.

	* w32term.h (struct win32_palette_entry): New structure.
	(win32_display_info): New fields has_palette, p_colors_in_use, 
	n_colors_in_use, h_palette.
	(win32_output): New field h_old_palette.
	(WM_EMACS_SETWINDOWPOS): New macro.
	(WM_EMACS_DESTROY_WINDOW): Value redefined.
	(win32_window_pos): New structure.
	(GetFrameDC, ReleaseFrameDC): Functions declared.

	(my_get_dc): Macro undefined.
	(map_mode): Function declaration removed.
	(enter_crit, leave_crit): Function declarations changed to macros.

	* w32xfns.c: Include frame.h.
	(hEvent): Renamed to h_input_available.
	(init_crit, delete_crit, get_next_msg, post_msg): 
	Use h_input_available.
	(GetFrameDC, ReleaseFrameDC): New functions.
	(leave_crit): Function removed.

	* s/windowsnt.h: Include string.h.
	(HAVE_FREXP, HAVE_FMOD): Macros removed.
	(struct timeval, struct timezone, gettimeofday): Declarations removed.
	(HAVE_SOCKETS, MAIL_USE_POP, MAIL_USE_SYSTEM_LOCK): Macros defined.
	(DIRECTORY_SEP): Use Vdirectory_sep_char.
	(EXEC_SUFFIXES): Add .cmd to list of suffixes.
	(HAVE_SYS_TIMEB_H, HAVE_SYS_TIME_H, HAVE_UNISTD_H, STDC_HEADERS,
	TIME_WITH_SYS_TIME, HAVE_GETTIMEOFDAY, HAVE_CLOSEDIR, 
	HAVE_LONG_FILE_NAMES, HAVE_BCOPY, HAVE_BCMP, HAVE_LOGB, HAVE_FREXP,
	HAVE_FMOD, HAVE_FTIME, HAVE_MKTIME, HAVE_H_ERRNO): New macros.
	(access, chdir, chmod, close, creat, ctime, dup, dup2, fopen,
	link, mkdir, mktemp, open, pipe, read, rename, rmdir, select,
	sleep, unlink, write, spawnve, wait, kill, signal): 
	Macros redefined from win32_* to sys_*.
	[__STDC__]: Define when including direct.h, io.h, stdio.h.
	(struct nt_stat): Definition removed.
	(stat, st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid,
	st_rdev, st_size, st_atime, st_mtime, st_ctime): Macros undefined.
d360 1
a360 1
	* s/windows95.h: File removed.
d362 3
a364 1
Thu May  2 18:07:27 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d366 1
a366 8
	* keyboard.c (Fthis_single_command_keys): New function.
	(syms_of_keyboard): defsubr it.
	(this_single_command_key_start): New variable.
	(add_command_key): Reduce this_single_command_key_start if nec.
	(command_loop_1): Clear this_single_command_key_start if nec.
	(Fread_key_sequence, Fexecute_extended_command): Likewise.
	(read_key_sequence): Set this_single_command_key_start.
	(command_loop_1): Clear echo area while inhibit-quit is still t.
d368 1
a368 1
Wed May  1 15:11:47 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d370 2
a371 1
	* keyboard.c (Fevent_convert_list): Never treat last elt as modifier.
d373 2
a374 1
	* buffer.c (add_overlay_mod_hooklist): Fix call to bcopy.
d376 1
a376 2
	* insdel.c (signal_after_change): Correct the arg to
	report_overlay_modification.
d378 10
a387 1
	* s/sol2-4.h (C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
d389 1
a389 1
	* s/sol2.h (C_SWITCH_X_SYSTEM): Definition moved to sol2-4.h.
d391 2
a392 1
Wed May  1 09:57:52 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d394 1
a394 5
	* msdos.c (dos_get_modifiers): Restore missing comment terminator.
	(getdefdir): Rewrite to call `_fixpath' instead of `intdos'.
	(run_msdos_command) [DJGPP > 1]: Work around some MSDOS
	command-line restrictions by running shell commands via `system'
	instead of `spawnve'.
d396 5
a400 2
	* fileio.c (Fexpand_file_name) [DOS_NT]: Correct the `if' clause
	to compile on all platforms.
d402 1
a402 1
Tue Apr 30 15:08:07 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d404 2
a405 2
	* xterm.c [USE_X_TOOLKIT]: Include X11/Shell.h.
 	(x_wm_set_icon_pixmap) [USE_X_TOOLKIT]: Tell widget the new pixmap.
d407 5
a411 1
Mon Apr 29 12:32:06 1996  Andrew Innes  <andrewi@@harlequin.co.uk>
d413 1
a413 2
	* fileio.c (Fexpand_file_name) [DOS_NT]: Keep dir sep following ~
	or ~user, but don't collapse the newdir prefix in that case.
d415 2
a416 1
Fri Apr 26 20:54:53 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d418 1
a418 4
	* keyboard.c (make_lispy_event): FRAME_MENU_BAR_ITEMS now has
	four elements per item.  Add a separate slot for the hpos.
	(menu_bar_items): Likewise.
	(menu_bar_item): Initialize the hpos slot to 0.
d420 13
a432 4
	* xdisp.c (display_menu_bar): FRAME_MENU_BAR_ITEMS now has
	four elements per item.
	(update_menu_bar): If we update FRAME_MENU_BAR_ITEMS,
	also set w->update_mode_line.
d434 1
a434 2
	* xmenu.c (set_frame_menubar): FRAME_MENU_BAR_ITEMS now has
	four elements per item.
d436 8
a443 2
	* w32menu.c (get_frame_menubar_event, set_frame_menubar):
	FRAME_MENU_BAR_ITEMS now has four elements per item.
d445 1
a445 5
	* fileio.c (Fexpand_file_name, Ffile_name_absolute_p): Doc fixes.
	(Ffile_exists_p, Ffile_executable_p, Ffile_readable_p)
	(Ffile_writable_p, Ffile_directory_p, Ffile_regular_p) 
	(Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p)
	(expand_and_dir_to_file): Rename abspath to absname.
d447 2
a448 1
Fri Apr 26 16:28:47 1996  Andrew Innes  <andrewi@@harlequin.co.uk>
d450 1
a450 2
	* fileio.c (Fexpand_file_name) [!DOS_NT]: Fix incorrect expansion of
	"/foo/../bar" -> "//bar".  Delete relpath variable.
d452 1
a452 35
	* fileio.c (CORRECT_DIR_SEPS) [DOS_NT]: New macro.
	(IS_DRIVE) [DOS_NT]: Added separate definitions for DOS and NT.
	(Ffile_name_directory) [DOS_NT]: Simplify code to match change in
 	getdefdir in msdos.c.  Ignore embedded colons.  Correct dir seps.
	(Ffile_name_nondirectory) [DOS_NT]: Ignore embedded colons.
	Correct IS_ANY_SEP to IS_DIRECTORY_SEP.  
	(file_name_as_directory) [DOS_NT]: Correct dir seps.
	Correct IS_ANY_SEP to IS_DIRECTORY_SEP.
	(directory_file_name) [DOS_NT]: Correct dir seps.
	(Fmake_temp_name) [DOS_NT: Correct dir seps.
	(Fexpand_file_name) [DOS_NT]: Remove relpath, tmp and
 	defdir variables; init drive to 0.
  	Correctly detect when default_directory is absolute.
  	Be strict when looking for MSDOS drive specifier; defer calling
	getdefdir.  Ignore drive specifier if name now has UNC prefix.
  	Correctly recognise if name is not absolute when trying simple
 	method to expand; return original string if possible.
  	Skip dir sep after ~ or ~user.
  	Use getpwnam instead of HOME for ~user on NT.
  	Handle error return from getdefdir.
  	Correctly detect if newdir is absolute before using default_directory.
  	Handle case where newdir is not absolute - expand relative to
 	current working dir if necessary (instead of calling getdisk
 	later).  Only keep UNC prefix if nm starts with dir sep.
  	Replace kludgy handling of drive spec in newdir.  Correct dir seps.
	(Fsubstitute_in_file_name) [DOS_NT]: Correct dir seps for NT as
 	well.  Merge equivalent #ifdef APOLLO and WINDOWSNT cases.  Ignore
 	embedded colons and be strict about drive specs.
	(Fcopy_file) [DOS_NT]: Do dev/inode check on NT.
	(Ffile_name_absolute_p) [DOS_NT]: Be strict about drive specs.
	(check_executable) [DOS_NT]: Test st_mode on NT.
	(Ffile_readable_p) [DOS_NT]: Use access instead of open on NT.
	(Ffile_modes) [DOS_NT]: Don't embelish st_mode value on NT.
	(Fread_file_name) [DOS_NT]: Correct dir seps in HOME.
	(syms_of_fileio): Add Vdirectory_sep_char.
d454 2
a455 2
	* msdos.c (getdefdir): Include drive letter and colon when
 	constructing default directory for drive.
d457 1
a457 1
Fri Apr 26 12:21:05 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d459 1
a459 2
	* xterm.c (x_scroll_bar_clear): Do nothing if frame now has no
	scroll bars.
d461 1
a461 1
	* xfns.c (x_window) [! USE_X_TOOLKIT]: Initialize wm_hints.icon_pixmap.
d463 2
a464 1
Fri Apr 26 00:10:48 1996  Andrew Innes  <andrewi@@harlequin.co.uk>
d466 1
a466 3
	* callproc.c (Fcall_process) [WINDOWSNT]: Remove conditional NT code.
	(Fcall_process_region) [DOSNT]: Canonicalize slashes in filename.
	(child_setup) [WINDOWSNT]: Decrease handles array by one.
d468 2
a469 1
	* dired.c (Ffile_attributes) [WINDOWSNT]: Remove conditional NT code.
d471 1
a471 2
	* emacs.c (main) [WINDOWSNT]: Invoke init_ntproc.
	(shut_down_emacs) [WINDOWSNT]: Invoke term_ntproc.
d473 3
a475 1
	* lisp.h [WINDOWS_NT]: Declare Vdirectory_sep_char.
d477 2
a478 1
	* lread.c (close_load_descs) [WINDOWS_NT]: Don't actually do anything.
d480 2
a481 3
	* process.c (Fopen_network_stream): Set process infd to inch.
	(create_process, read_process_output, Fsignal_process) [WINDOWSNT]: 
	Remove conditional NT code.
d483 2
a484 2
	* syssignal.h (EMACS_KILLPG) [WINDOWSNT]: Invoke kill instead of
	win32_kill_process.
d486 1
a486 2
	* term.c (FRAME_TERMCAP_P) [WINDOWSNT && !HAVE_NTGUI]: Remove
	conditional for HAVE_NTGUI.
d488 1
a488 1
Thu Apr 25 22:01:12 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d490 3
a492 2
	* msdos.c (getdefdir) [DJGPP > 1]: Use 32-bit ESI to pass buffer
	address to `intdos' instead of SI which can be 16-bit.
d494 1
a494 1
Thu Apr 25 13:31:31 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d496 1
a496 1
	* lread.c (read_escape): Detect READCHAR reporting eof.
d498 3
a500 1
	* editfns.c (save_excursion_restore): Add gcpros.
d502 1
a502 1
	* unexelf.c (unexec): Add conditional for SOLARIS_POWERPC.
d504 1
a504 1
	* fileio.c (syms_of_fileio): Doc fix.
d506 1
a506 1
Wed Apr 24 18:29:49 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d508 1
a508 2
	* xfns.c (Fx_list_fonts) [BROKEN_XLISTFONTSWITHINFO]:
	Free the font, and the fontinfo too if we don't want it.
d510 1
a510 1
	* xterm.c (x_connection_signal): Call sigunblock properly.
d512 1
a512 1
Tue Apr 23 14:53:05 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d514 1
a514 2
	* dispnew.c: Include blockinput.h.
	(change_frame_size_1): Block input around the real work.
d516 1
a516 1
	* Makefile.in (dispnew.o): Depend on blockinput.h.
d518 1
a518 1
Sun Apr 21 03:42:37 1996  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d520 1
a520 3
	* process.c (wait_reading_process_input, both definitions): 
	If wait_for_cell, don't call timer_check, and use
	detect_input_pending instead of detect_input_pending_run_timers.
d522 2
a523 2
	* frame.c (Fframe_parameters, both definitions): 
	Get sizes from FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH if they are nonzero.
d525 1
a525 1
Sat Apr 20 12:46:15 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d527 2
a528 1
	* indent.c (compute_motion): Pass window to Fget_char_property.
d530 1
a530 1
Fri Apr 19 05:21:19 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d532 1
a532 2
	* keyboard.c (read_key_sequence):
	Fix confusion between key and new_key.
d534 1
a534 1
Thu Apr 18 02:04:22 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d536 2
a537 1
	* keyboard.c (syms_of_keyboard): Doc fix.
d539 1
a539 1
Wed Apr 17 23:38:46 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d541 1
a541 4
	* xterm.h (STANDARD_EVENT_SET): Remove PointerNotifyHintMask.
	* widget.c (EmacsFrameRealize): Use STANDARD_EVENT_SET.
	* xterm.c (note_mouse_movement): Don't call XQueryPointer.
	(x_scroll_bar_note_movement): Don't call XQueryPointer.
d543 1
a543 1
	* xterm.c (x_new_font): Intern FONT just once for finding full name.
d545 1
a545 3
	* xterm.h (CHECK_X_FRAME): Macro deleted.
	
Tue Apr 16 18:29:34 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d547 2
a548 3
	* xdisp.c (decode_mode_spec): For %F, use explicit name or `Emacs'.
	(decode_mode_spec): Use frame F, not selected frame.
	On termcap frames, implicit names are ok.
d550 6
a555 1
Tue Apr 16 17:48:40 1996  Andrew Innes  <andrewi@@harlequin.co.uk>
d557 1
a557 4
	* w32term.c (w32_read_socket): Initialize frame_or_window field.
	(x_make_frame_visible): Don't call SetForegroundWindow
	after x_set_offset.
	(win32_initialize): Call AttachThreadInput at the end.
d559 4
a562 2
	* w32fns.c (defined_color): Map color to nearest in default palette.
	(win32_wnd_proc): Special handling for WM_CLOSE.
d564 1
a564 1
Tue Apr 16 11:03:00 1996  Kim Storm <storm@@olicom.dk>
d566 2
a567 4
	* msdos.c (check_timer): Removed; use gettime instead.
	(sys_select): Call __dpmi_yield while waiting for input to
	improve multitasking behaviour.
	Do not check timer when no timeout.
d569 2
a570 1
Tue Apr 16 12:10:12 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d572 1
a572 1
	* buffer.c (syms_of_buffer): Doc fix.
d574 2
a575 1
Mon Apr 15 15:06:25 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d577 2
a578 2
	* process.c (wait_reading_process_input) [!subprocesses]:
	Get rid of the loop around the detect_input_pending call.
d580 2
a581 1
Sun Apr 14 18:05:26 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d583 4
a586 4
	* process.c (wait_reading_process_input) [!subprocesses]: Handle
	the case of READ_KBD being a cons cell.  Retry the timer check
	after a timer fired.  (All of these make this definition
	consistent with the one that supports async subprocesses.)
d588 1
a588 1
Sat Apr 13 00:36:55 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d590 3
a592 7
	* process.c (wait_reading_process_input, both definitions):
	Use plain detect_input_pending just before the select call.
	(wait_reading_process_input) [subprocesses]: 
	Get rid of the loop around the detect_input_pending call.
	
	* editfns.c (Fcompare_buffer_substrings): Fix dumb bug handling
	buffer name as second arg.
d594 3
a596 2
	* xfns.c (x_set_frame_parameters): Get height and width from
	FRAME_NEW_WIDTH and FRAME_NEW_HEIGHT if nonzero.
d598 2
a599 1
Fri Apr 12 11:27:30 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d601 1
a601 1
	* emacs.c (main) [MSDOS]: Always call tzset, not init__gettimeofday.
d603 1
a603 1
	* editfns.c (Fformat_time_string): Doc fix. 
d605 1
a605 1
Thu Apr 11 23:25:43 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d607 1
a607 5
	* keyboard.c (read_char): Use detect_input_pending_run_timers
	before redisplay, not detect_input_pending.
	(readable_events): Don't touch timers at all if DO_TIMERS_NOW is 0.
	(timer_check): Always run timers directly.
	Bind inhibit-quit to t here.
d609 4
a612 2
	* process.c (wait_reading_process_input, both definitions):
	Don't call detect_input_pending; use detect_input_pending_run_timers.
d614 2
a615 1
Thu Apr 11 15:31:25 1996  Erik Naggum  <erik@@naggum.no>
d617 1
a617 1
	* emacs.c (standard_args): Synchronize with startup.el.
d619 2
a620 1
Thu Apr 11 13:48:08 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d622 2
a623 6
	* msdos.c: Include signal.h.
	(__write) [DJGPP == 2.0]: New function, avoids
	calling `malloc' while writing to a text file, so that buffer
	text being written won't be relocated.
	(abort) [DJGPP > 1]: Generate traceback, to identify the abort
	cause.
d625 1
a625 4
	* emacs.c (main) [DJGPP v2]: Make standard streams use binary mode.
	Call `tzset' instead of `init_gettimeofday'.
	
	* fileio.c [MSDOS]: If DJGPP version 2, include fcntl.h and string.h.
d627 1
a627 2
	* lread.c [MSDOS]: If DJGPP version 2, include unistd.h.
	Include msdos.h somewhat earlier.  For X_OK.
d629 2
a630 3
	* unexec.c [DJGPP v2]: Include fcntl.h.
	(copy_text_and_data) [DJGPP v2]: Momentarily restore
	the hardware exceptions table before dumping it.
d632 1
a632 3
	* sysdep.c [DJGPP]: Declare `etext' and `start'.
	(wait_for_termination) [DJGPP]: Do not wait for child on MS-DOS.
	(sys_subshell): Ignore signals while sub-shell runs.
d634 5
a638 2
	* sysdep.c [DJGPP v2] (etext, start): Declared.
	(wait_for_termination) [DJGPP v2]: Just exit.
d640 2
a641 4
	* s/msdos.h (DATA_START, TEXT_START, TEXT_END, _NAIVE_DOS_REGS)
	(POSIX_SIGNALS): Define if DJGPP v2.
 	(LIBS_SYSTEM, chdir, NO_MODE_T, TEXT_START, NO_MATHERR)
	(LOCALTIME_CACHE, tzset): Don't define if DJGPP v2.
d643 1
a643 13
	* msdos.c [MSDOS]: If DJGPP version 2, include fcntl.h.
	(_crt0_startup_flags): Initialize to work
	correctly both with and without GNU `malloc' and `ralloc'.
	(internal_terminal_init): Use only 3 bits when setting background
	colors.
	(init_environment): Call tzset, not init_gettimeofday.
	(ctrl_break_vector, ctrl_break_regs): Don't define if DJGPP v2.
	(ctrl_break_func, install_ctrl_break_check): Don't define if DJGPP v2.
	(dos_ttraw) [DJGPP v2]: Don't call install_ctrl_break_check.
	Call setmode at the end and exit.
	(dos_ttcooked) [DJGPP v2]: Call setmode at the end and exit.
	(gethostname, gettimeofday): Don't define if DJGPP v2.
 	(alarm, fork, kill, nicr, pause, sigsetask): Don't define if DJGPP v2.
d645 3
a647 1
Thu Apr 11 11:19:38 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d649 2
a650 2
	* xdisp.c (redisplay_window): Move w->start marker before
	running window-scroll-functions (in scroll_step case).
d652 1
a652 1
Thu Apr 11 01:54:10 1996  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d654 2
a655 1
	* syswait.h: Remove `|| defined (LINUX)' from #if condition.
d657 1
a657 1
	* s/lignux.h: Define HAVE_WAIT_HEADER.
d659 4
a662 1
Thu Apr 11 00:10:01 1996  Geoff Voelker  <voelker@@cs.washington.edu>
d664 1
a664 1
	* w32fns.c (win32_color_map): Use PALETTERGB instead of RGB.
d666 1
a666 2
	* w32term.h (BLACK_PIX_DEFAULT, WHITE_PIX_DEFAULT): Use PALETTERGB
 	instead of RGB.
d668 1
a668 1
Wed Apr 10 13:04:06 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d670 4
a673 1
	* term.c (calculate_ins_del_char_costs): Use proper frame's width.
d675 1
a675 2
	* frame.c (make_frame_without_minibuffer): Don't change the
	mini_window's buffer if it already displays a minibuffer.
d677 1
a677 1
	* xfns.c (Fx_list_fonts): Handle X protocol errors.
d679 1
a679 1
Tue Apr  9 20:58:51 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d681 2
a682 1
	* minibuf.c (read_minibuf): GCPRO ambient_dir.
d684 1
a684 1
Mon Apr  8 19:11:41 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d686 5
a690 2
	* frame.c (Fset_frame_size): Do call Fset_frame_size
	if size is specified and there is a pending size change already.
d692 6
a697 2
	* xfns.c (x_set_frame_parameters): Do call Fset_frame_size
	if size is specified and there is a pending size change already.
d699 3
a701 2
	* xterm.c: Include locale.h if HAVE_SETLOCALE.
	(x_term_init): Restore LC_TIME as well as LC_NUMERIC.
d703 13
a715 1
Mon Apr  8 19:01:28 1996  Miles Bader  <miles@@gnu.ai.mit.edu>
d717 3
a719 1
	* s/gnu.h (HAVE_PTYS): #undef removed.
d721 4
a724 1
Mon Apr  8 09:45:18 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d726 3
a728 2
	* config.in (HAVE_LIBNCURSES): Renamed from HAVE_NCURSES.
	* s/lignux.h: Test HAVE_LIBNCURSES, not HAVE_NCURSES.
a729 1
Sat Apr  6 17:29:47 1996  Richard Stallman  <rms@@lucy.gnu.ai.mit.edu>
d731 1
a731 1
	* dispnew.c (sit_for): Call swallow_events.
d733 1
a733 1
Fri Apr  5 13:10:45 1996  Richard Stallman  <rms@@lucy.gnu.ai.mit.edu>
d735 1
a735 1
	* s/lignux.h [HAVE_NCURSES] (LIBS_TERMCAP): New definition.
d737 1
a737 3
	* alloc.c (garbage_collection_messages): New variable.
	(syms_of_alloc): Set up Lisp variable.
	(Fgarbage_collect): Variable controls whether to display messages.
d739 1
a739 3
	* lread.c: Include locale.h.
	(init_lread): Specify LC_NUMERIC locale.
	* xterm.c (x_term_init): Respecify LC_NUMERIC locale.
d741 2
a742 1
	* config.in (HAVE_SETLOCALE): Add #undef.
d744 3
a746 1
Thu Apr  4 14:56:57 1996  Richard Stallman  <rms@@lucy.gnu.ai.mit.edu>
d748 5
a752 1
	* ralloc.c (r_alloc_check): Don't check alignment of h->start.
d754 4
a757 3
	* minibuf.c (read_minibuf): Rearrange operations, mainly putting
	the read_minibuf_unwind setup and the associated variable changes
	together after saving the frame configuration.
d759 4
a762 1
Wed Apr  3 14:27:48 1996  Richard Stallman  <rms@@lucy.gnu.ai.mit.edu>
d764 1
a764 2
	* process.c (wait_reading_process_input): Don't call
	wait_reading_process_input_1 if time_limit is -1.
d766 3573
a4338 1
Tue Apr  2 10:58:32 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4340 1
a4340 1
	* xterm.c (x_destroy_window): Do call XCloseIM if X11R6.
d4342 1
a4342 1
Mon Apr  1 20:35:30 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4344 2
a4345 1
	* emacs.c (main): Initialize displayname.
d4347 2
a4348 1
Sat Mar 30 11:09:14 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4350 1
a4350 1
	* s/lignux.h (TERMINFO): Do define (if HAVE_NCURSES).
d4352 1
a4352 1
Fri Mar 29 18:06:55 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4354 2
a4355 1
	* xterm.c (x_destroy_window) [SOLARIS2]: Don't free the IC or IM.
d4357 4
a4360 1
Thu Mar 28 23:24:10 1996  Geoff Voelker  <voelker@@cs.washington.edu>
d4362 4
a4365 1
	* nt.c (rename): New function.
d4367 1
a4367 1
Thu Mar 28 13:35:20 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4369 6
a4374 1
	* fileio.c (Frename_file) [WINDOWSNT]: Remove conditional code.
d4376 1
a4376 2
	* keyboard.c (last_timer_event): New variable.
	(timer_check): Set that variable.
d4378 1
a4378 1
Thu Mar 28 15:18:53 1996  Erik Naggum  <erik@@naggum.no>
d4380 2
a4381 1
	* dispnew.c (make_frame_glyphs): Zero the correct number of bytes.
d4383 3
a4385 2
	* widget.c (EmacsFrameResize): We may be called from an interrupt,
	so delay the resize operation.
d4387 1
a4387 1
Wed Mar 27 23:31:16 1996  Geoff Voelker  <voelker@@cs.washington.edu>
d4389 2
a4390 1
	* makefile.nt: Change uses of del to $(DEL).
d4392 1
a4392 1
Wed Mar 27 14:10:43 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4394 2
a4395 1
	* xterm.c (x_connection_closed): Don't check _Xdebug.
d4397 2
a4398 1
Tue Mar 26 21:32:19 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4400 1
a4400 2
	* xterm.c (XTread_socket, MapNotify case):
	Call record_asynch_buffer_change only if >1 frames.
d4402 1
a4402 2
	* s/lignux.h: Renamed from s/linux.h.
 	(SYSTEM_TYPE): Changed to "lignux".
d4404 2
a4405 3
	* process.c (wait_reading_process_input_1): New (empty) function.
	(wait_reading_process_input): Call wait_reading_process_input_1.
	If timer_check runs some timers, retry it.
d4407 3
a4409 1
Sun Mar 24 07:32:34 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4411 2
a4412 1
	* Makefile.in (xfns.o, xmenu.o, widget.o): Depend on ../lwlib/lwlib.h.
d4414 2
a4415 2
	* callproc.c (Fcall_process, child_setup): If BSD_PGRPS, call
	setpgrp the BSD way even on USG.
d4417 1
a4417 2
	* s/linux.h (setpgrp): New macro.
	(BSD_PGRPS): Defined.
d4419 1
a4419 1
Tue Mar 19 22:57:35 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4421 2
a4422 2
	* callint.c (Fcall_interactively): In `c' case, use message_nolog
	instead of message1_nolog.
d4424 1
a4424 1
Tue Mar 19 03:05:44 1996  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d4426 2
a4427 2
	* config.in (HAVE_LINUX_VERSION_H): Renamed from HAVE_VERSION_H.
	* s/linux.h: Test HAVE_LINUX_VERSION_H, not HAVE_VERSION_H.
d4429 2
a4430 1
Sun Mar 17 23:59:23 1996  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d4432 1
a4432 2
	* process.c (wait_reading_process_input): Eliminate bogus test
	that was trying to check read_kbd and failing.
d4434 2
a4435 1
Sun Mar 17 13:10:58 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4437 1
a4437 4
	* xfns.c (X_I18N_INHIBITED): New macro--define this
	instead of undefining HAVE_X_I18N.
	(x_window) [HAVE_X_I18N]: Set FRAME_XIM.
	[X_I18N_INHIBITED]: Set FRAME_XIM and FRAME_XIC to 0.
d4439 3
a4441 1
	* xterm.c (x_destroy_window) [HAVE_X_I18N]: Free xic and xim of frame.
d4443 4
a4446 2
	* xterm.h (struct x_output): New member xim.
	(FRAME_XIM): New macro.
d4448 1
a4448 1
Sat Mar 16 17:34:41 1996  Geoff Voelker  <voelker@@cs.washington.edu>
d4450 11
a4460 2
	* unexnt.c (WinMain): Allocate a console for stdout
	and stderr if necessary.
d4462 1
a4462 10
	* w32fns.c (Vwin32_pass_alt_to_system,
 	Vwin32_pass_optional_keys_to_system): New variables.
	(reset_modifiers, map_keypad_keys): New functions.
	(win32_wnd_proc): Fixup keypad function keys.
	Handle the three new keys on Windows keyboards.
	Reset internal keyboard modifier state upon window focus.
	
	* w32term.h (VK_NUMPAD_*, VK_LWIN, VK_RWIN, VK_APPS):
	Define virtual keys for the numpad functions and the three
	new keys on Windows keyboards.
d4464 1
a4464 1
Thu Mar 14 10:09:11 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d4466 6
a4471 2
	* s/aix3-2.h (X11R5_INHIBIT_I18N): Definition moved here.
	* s/aix3-2-5.h (X11R5_INHIBIT_I18N): Definition moved to aix3-2.h.
d4473 2
a4474 1
	* s/irix5-2.h (NEED_LIBW): Defined.
d4476 1
a4476 1
Wed Mar 13 03:21:51 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d4478 5
a4482 2
	* widget.c (update_from_various_frame_slots)
	(update_various_frame_slots): Take account of menubar_height.
d4484 507
a4990 1
	* s/linux.h (LINUX_SIGIO_DOES_WORK): Define only if HAVE_VERSION_H.
d4992 6
a4997 1
	* config.in (HAVE_VERSION_H): Add #undef.
d4999 1
a4999 1
Mon Mar 11 16:52:38 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d5001 1
a5001 3
	* process.c (wait_reading_process_input) [! subprocesses]: Run
	timers and redisplay if they were run, like the code for systems
	which support subprocesses does.
d5003 3
a5005 1
Sun Mar 10 09:37:51 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5007 1
a5007 1
	* s/linux.h (TERMINFO): Don't define this.
d5009 1
a5009 2
	* process.c [!subprocesses] (wait_reading_process_input): 
	Port the timer changes from the other wait_reading_process_input.
d5011 3
a5013 1
Sat Mar  9 11:28:26 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5015 4
a5018 2
	* xterm.c (x_calc_absolute_position): Don't explicitly subtract
	the external menu bar height--PIXEL_HEIGHT (f) includes that.
d5020 8
a5027 1
Fri Mar  8 10:51:02 1996  Bill Mann  <dvmann@@dvaix19.praxisint.com>
d5029 10
a5038 4
	* m/ibmrs6000.h (LD_SWITCH_MACHINE): Undo previous change--
	define this unconditionally.
	(LD_SWITCH_SITE): New conditional definition.
	For gcc 2.7.x, use /bin/ld instead of collect2,
d5040 1
a5040 1
Thu Mar  7 21:17:19 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5042 1
a5042 1
	* emacs.c (main) [! HAVE_NTGUI]: Don't call syms_of_xmenu.
d5044 2
a5045 1
Thu Mar  7 18:44:59 1996  Bill Mann  <dvmann@@dvaix19.praxisint.com>
d5047 1
a5047 4
	* unexaix.c (write_segment,copy_sym): Increase blocking from
	128 to 4k bytes.
	(adjust_lnnoptrs): Handle include file names, mostly for dbx.
	(unrelocate_symbols): Remove some unnecessary tests.
d5049 1
a5049 1
Thu Mar  7 13:57:20 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d5051 1
a5051 1
	* Makefile.in (MSDOS_OBJ): Remove xmenu.o.
d5053 2
a5054 2
	* msdos.c (check_timer): Remove code for dos-display-time.
	(syms_of_msdos): Delete dos-display-time Lisp var.
d5056 3
a5058 1
Thu Mar  7 06:44:22 1996  Bill Mann  <dvmann@@dvaix19.praxisint.com>
d5060 1
a5060 11
	* unexaix.c: Handle both AIX 3.2 and 4.1 bind output.
	(make_hdr): Handle data_start being non-zero for 4.1.  Padding
 	sections are omitted in 4.1, but padding bytes can still be
 	present.  Calculate bias directly from first real section
 	following bss.
	(copy_text_and_data): Correct data section starting point for 4.1.
	(adjust_lnnoptrs): Adjust line number pointers correctly for both
	3.2 and 4.1, based on published IBM documentation.
	(unrelocate_symbols): Compute and subtract relocation offsets for
	text and data sections.  Handle data_start being non-zero for 4.1.
	Skip unnecessary writes.
d5062 4
a5065 1
Wed Mar  6 01:21:55 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5067 2
a5068 1
	* sysdep.c (init_sys_modes): Clear INLCR like ICRNL.
d5070 2
a5071 1
	* widget.c (pixel_to_char_size): Cast args to int.
d5073 8
a5080 1
Tue Mar  5 23:36:01 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d5082 3
a5084 1
	* alloc.c (struct string_block_head): Change to match string_block.
d5086 1
a5086 1
Tue Mar  5 11:55:24 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5088 113
a5200 2
	* process.c (wait_reading_process_input):
	Redisplay after timer_check if timers were actually run.
d5202 4
a5205 5
	* keyboard.c (timers_run): New variable, incremented when a timer is
	run directly.
	(timer_check, swallow_events): Increment timers_run.
	(swallow_events): Redisplay if get_input_pending has run timers.
	(detect_input_pending_run_timers): New arg DO_DISPLAY.
d5207 1
a5207 1
	* dispnew.c (sit_for): Pass DISPLAY to detect_input_pending_run_timers.
d5209 1
a5209 2
	* process.c (wait_reading_process_input):
	Pass DO_DISPLAY to detect_input_pending_run_timers.
d5211 5
a5215 1
Mon Mar  4 03:54:05 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5217 2
a5218 2
	* process.c (Fopen_network_stream):
	Set immediate_quit around gethostbyname.
d5220 1
a5220 1
	* dispnew.c (sit_for): Use detect_input_pending_run_timers.
d5222 1
a5222 1
	* xfns.c [AIX] [HAVE_X11R5] (XIMStatusNothing): Definition deleted.
d5224 1
a5224 2
	* config.in (HAVE_NCURSES): Add #undef.
	* s/linux.h (TERMINFO): Define, if HAVE_NCURSES.
d5226 1
a5226 1
Sun Mar  3 13:07:31 1996  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d5228 2
a5229 2
	* data.c (Fkill_local_variable): Call find_symbol_value directly,
	not via Fsymbol_value, to avoid getting void-variable error.
d5231 6
a5236 1
Sun Mar  3 00:32:16 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5238 2
a5239 1
	* xterm.c (x_connection_closed): Don't unblock input until the end.
d5241 1
a5241 3
	* s/linux.h (LINUX_SIGIO_DOES_WORK): Maybe define, based on Linux vers.
	[LINUX_SIGIO_DOES_WORK]: Don't undef SIGIO, SIGPOLL, SIGPOLL.
	Do define INTERRUPT_INPUT.
d5243 2
a5244 1
	* keyboard.c (init_keyboard): Initialize timer_idleness_start_time.
d5246 1
a5246 5
	* Makefile.in (obj): Add xmenu.o.
 	(XOBJ): Delete xmenu.o.
	* emacs.c (main): Always call syms_of_xmenu.
	* xmenu.c: Put most of file into HAVE_MENUS conditional.
	(Fx_popup_menu): Put parts into HAVE_MENUS conditionals.
d5248 1
a5248 2
	* process.c (wait_reading_process_input):
	Use getpid when generating SIGIO.
d5250 6
a5255 1
	* keyboard.c (reinvoke_input_signal): Use getpid.
d5257 1
a5257 1
Sat Mar  2 01:43:35 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5259 2
a5260 2
	* keyboard.c (input_poll_signal): Use start_polling
	after first incrementing poll_suppress_count.
d5262 2
a5263 1
Fri Mar  1 03:06:16 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5265 1
a5265 1
	* xterm.c [X_CONNECTION_LOCK_FLAG] (abort, exit): New definitions.
d5267 1
a5267 2
	* keymap.c (Fuse_global_map, Fuse_local_map):
	Don't call record_asynch_buffer_change.
d5269 1
a5269 1
Wed Feb 28 16:19:27 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5271 1
a5271 1
	* s/aix3-2.h: Avoid the #pragma alloca on AIX 4.
d5273 1
a5273 1
	* s/aix4-1.h (REL_ALLOC): #undef deleted.
d5275 1
a5275 1
Tue Feb 27 13:19:00 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5277 3
a5279 1
	* xfns.c [AIX] [HAVE_X11R5] (XIMStatusNothing): Defined.
d5281 3
a5283 1
	* keyboard.c (timer_check): Walk down both timer lists in parallel.
d5285 5
a5289 1
Mon Feb 26 15:24:03 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5291 3
a5293 2
	* keyboard.c (Fcommand_execute): New arg SPECIAL.
	All callers changed.
d5295 1
a5295 6
	* xterm.c (X_CONNECTION_LOCK_FLAG): New macro.
	(x_connection_close_if_hung): New subroutine, at the end of the file.
	Include X11/Xlibint.h only for this function.
	#undef bcopy, bzero, bcmp, min, max first.
	Define malloc and free to avoid type conflicts.
	(x_connection_signal): Use x_connection_close_if_hung.
d5297 1
a5297 1
	* doprnt.c (doprnt1): Move cast to unsigned inside a shift.
d5299 1
a5299 1
Mon Feb 26 12:54:04 1996  enami tsugutomo  <enami@@ba2.so-net.or.jp>
d5301 1
a5301 2
	* xdisp.c (redisplay_window): Pass preserve_echo_area as a missing
 	second argument of redisplay_windows.
d5303 1
a5303 1
Sun Feb 25 02:17:28 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5305 1
a5305 8
	* minibuf.c (read_minibuf):
	Bind inhibit-read-only to t around clearing the minibuffer.
	(read_minibuf_unwind): Likewise.  Also, clearing the buffer
	is now the last thing we do.
	
	* keyboard.c (command_loop_1): Explicitly clear the echo area
	with message2; don't just clear echo_area_glyphs.
	Don't set no_direct in that case.
d5307 2
a5308 1
	* lisp.h (Qinhibit_read_only): Declared.
d5310 1
a5310 3
	* xterm.c (x_set_window_size): Clear out the mouse-highlighting data
	if it applies to this frame.
	Clear out the frame cursor position in Xt version as in Xlib version.
d5312 1
a5312 1
Sat Feb 24 00:37:50 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5314 1
a5314 2
	* fileio.c (Fexpand_file_name): Fix confusion in detecting
	that default_directory is already absolute so need not be expanded.
d5316 1
a5316 2
	* syntax.c (Fcopy_syntax_table): Set default to nil.
	Set the parent only if it was nil.
d5318 1
a5318 2
	* xterm.c (x_update_cursor): If no previous cursor position is known,
	leave the cursor off.
d5320 7
a5326 1
Fri Feb 23 00:44:26 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5328 1
a5328 4
	* xdisp.c (redisplay_internal): Renamed from redisplay.
	New arg PRESERVE_ECHO_AREA.
	(redisplay): New wrapper function calls redisplay_internal.
	(redisplay_window, redisplay_windows): New arg PRESERVE_ECHO_AREA.
d5330 1
a5330 1
Thu Feb 22 22:35:49 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5332 1
a5332 1
	* process.c (Fopen_network_stream): Set immediate_quit for the connect.
d5334 1
a5334 1
Thu Feb 22 05:47:35 1996  Erik Naggum  <erik@@naggum.no>
d5336 1
a5336 1
	* dispnew.c (Fsleep_for): Accept sub-second intervals.
d5338 2
a5339 1
Wed Feb 21 16:05:16 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d5341 1
a5341 2
	* xdisp.c (redisplay_window): If window-scroll-functions change
	the start position, redisplay from the new one.
d5343 3
a5345 2
	* xfns.c (defined_color): When we find a "near" color in the map,
	make sure it is really available as a read-only color.
d5347 2
a5348 2
	* process.c (wait_reading_process_input):
	Pass new arg to swallow_events.
d5350 3
a5352 2
	* process.c (wait_reading_process_input): If read_kbd is 1,
	use detect_input_pending_run_timers instead of detect_input_pending.
d5354 4
a5357 1
	* keyboard.c (swallow_events): New arg DO_DISPLAY.
d5359 1
a5359 2
	* keyboard.c (swallow_events): Process timer_event events here.
	(detect_input_pending_run_timers): New function.
d5361 1
a5361 5
	* keyboard.c (Vtimer_idle_list): New variable.
	(syms_of_keyboard): Set up Lisp var.
	(timer_check): Check for idle-time timers too.
	Expect timers to have 8 slots.  Initialize triggertime.
	(timer_start_idle, timer_stop_idle): New functions.
d5363 3
a5365 4
	* keyboard.c (get_input_pending): New arg do_timers_now.
	(readable_events): Likewise.
	(Finput_pending_p): Use get_input_pending, so we can specify
	1 for do_timers_now.
d5367 1
a5367 1
	* fns.c (map_char_table): Fix args in recursive call.
d5369 1
a5369 1
	* s/netbsd.h (vfork): Delete definition (kernel bug fixed).
d5371 1
a5371 1
	* fileio.c (Fdo_auto_save): Pause before restoring old message.
d5373 1
a5373 3
	* s/aix4-1.h (C_DEBUG_SWITCH) [not __GNUC__]: New definition.
	(C_OPTIMIZE_SWITCH) [not __GNUC__]: Add #undef.
	(X11R5_INHIBIT_I18N): #undef deleted.
d5375 2
a5376 1
	* s/aix4-1.h (REL_ALLOC): Add #undef.
d5378 1
a5378 1
Wed Feb 21 16:05:04 1996  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d5380 1
a5380 1
	* keyboard.c (timer_check): Check for difference being zero.
d5382 1
a5382 1
Wed Feb 21 01:44:31 1996  Erik Naggum  <erik@@naggum.no>
d5384 1
a5384 1
	* process.c (Faccept_process_output): Accept sub-second timeouts.
d5386 6
a5391 1
Tue Feb 20 14:09:27 1996  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d5393 4
a5396 1
	* eval.c (init_eval_once): Initialize specpdl_ptr.
d5398 1
a5398 1
Mon Feb 19 02:40:07 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d5400 1
a5400 1
	* xfns.c (Fx_create_frame): Title is a string, not a symbol.
d5402 1
a5402 1
Sun Feb 18 00:22:03 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5404 2
a5405 1
	* unexelf.c: Use <config.h>, not "config.h".
d5407 1
a5407 1
Sat Feb 17 23:52:28 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5409 4
a5412 2
	* doc.c (get_doc_string): Move static vars outside the function,
	and rename to get_doc_string_buffer and get_doc_string_buffer_size.
d5414 1
a5414 1
Fri Feb 16 21:32:03 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
a5416 1
	(Fopen_dribble_file): Check for failure.
d5418 1
a5418 1
Fri Feb 16 21:27:57 1996  enami tsugutomo  <enami@@ba2.so-net.or.jp>
d5420 1
a5420 2
	* keyboard.c (Fopen_dribble_file): Close dribble file before
	opening new file.
d5422 1
a5422 1
Thu Feb 15 19:16:24 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d5424 3
a5426 3
	* fileio.c (Fmake_temp_name) [MSDOS]: Make sure there is at least
	one character before the dot, in case `prefix' is only a directory
	name.
d5428 3
a5430 1
Tue Feb 13 13:23:57 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d5432 3
a5434 1
	* xfns.c (x_real_positions): Cast arg of XFree.
d5436 1
a5436 1
Mon Feb 12 05:04:37 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5438 1
a5438 1
	* xterm.c (x_error_quitter): Add newline to error message.
d5440 1
a5440 1
	* xmenu.c (xmalloc_widget_value): Define only if USE_X_TOOLKIT.
d5442 2
a5443 1
Mon Feb 12 04:48:20 1996  Erik Naggum  <erik@@naggum.no>
d5445 1
a5445 1
	* doc.c (get_doc_string): Always read entire disk blocks.
d5447 5
a5451 1
Sun Feb 11 14:08:34 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5453 5
a5457 2
	* keyboard.c [HAVE_NTGUI] (lispy_function_keys): Add mappings
	for keypad function keys and new PC optional keys.
d5459 1
a5459 1
	* xmenu.c (xmalloc_widget_value): Fix previous change.
d5461 4
a5464 1
	* xdisp.c (redisplay) [USE_X_TOOLKIT]: Do nothing if popup_activated.
d5466 1
a5466 2
	* xmenu.c (xmalloc_widget_value): New function.
	Use it instead of malloc_widget_value.
d5468 1
a5468 1
Sat Feb 10 03:25:31 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5470 1
a5470 1
	* textprop.c (Fadd_text_properties): Don't return without ungcpro.
d5472 4
a5475 1
Sat Feb 10 02:33:40 1996  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d5477 1
a5477 1
	* window.c (display_buffer_1): Fix typo in last change.
d5479 17
a5495 1
Sat Feb 10 02:09:07 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5497 1
a5497 1
	* window.c (display_buffer_1): Raise the frame if already visible.
d5499 3
a5501 1
Fri Feb  9 02:20:20 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5503 1
a5503 2
	* keyboard.c (read_char, timer_check): Call any_kboard_state
	after calling Fcommand_execute, if was previously in that state.
d5505 1
a5505 1
Thu Feb  8 18:51:33 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5507 1
a5507 1
	* dired.c (Fdirectory_files): Doc fix.
d5509 1
a5509 2
	* process.c (Fopen_network_stream): Use sizeof, not strlen,
	for numeric_addr.
d5511 1
a5511 1
Thu Feb  8 16:11:52 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d5513 1
a5513 2
	* fileio.c (Fmake_temp_name) [MS-DOS]: Allow upto 8 characters in
	the prefix of the temporary file name.
d5515 1
a5515 1
Wed Feb  7 17:53:21 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5517 12
a5528 1
	* process.c (remove_process): Don't unlink the process marker.
d5530 1
a5530 3
	* m/paragon.h (LIB_STANDARD): Add -lmach.
	(LD_DATA_START): Definition deleted.
	(LD_SWITCH_SYSTEM): Definition and #undef deleted.
d5532 3
a5534 1
Tue Feb  6 14:58:17 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5536 35
a5570 2
	* buffer.c (Fbuffer_live_p): New function.
	(syms_of_buffer): defsubr it.
d5572 3
a5574 1
	* xterm.c (min, max): Don't define if already defined.
d5576 1
a5576 1
	* xfns.c (x_real_positions): Use XFree.
d5578 8
a5585 2
	* Makefile.in (emacs.o): Depend on blockinput.h.
	* emacs.c: Include blockinput.h.
d5587 4
a5590 1
Tue Feb  6 02:48:16 1996  Kevin Gallo   <kgallo@@microsoft.com>
d5592 9
a5600 1
	* w32term.h (FONT_WIDTH): Use average character width, not maximum.
d5602 1
a5602 1
Mon Feb  5 21:32:31 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5604 2
a5605 1
	* emacs.c (fatal_error_signal): Do TOTALLY_UNBLOCK_INPUT.
d5607 1
a5607 1
Mon Feb  5 15:28:43 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d5609 4
a5612 1
	* process.c (sigchld_handler): Use cleaner end-of-list test.
d5614 3
a5616 1
Sun Feb  4 14:53:12 1996  Paul Eggert  <eggert@@twinsun.com>
d5618 1
a5618 3
	* s/sol2-4.h (LIB_X11_LIB): Remove; this undoes the Jan 31 change,
	which didn't fix the Solaris linking problem.  The problem was
	fixed instead by the Feb 1 change to ../configure.in.
d5620 1
a5620 1
Sun Feb  4 00:52:46 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5622 1
a5622 1
	* fns.c (syms_of_fns): Set yes-or-no-p-history to nil.
d5624 2
a5625 1
	* s/netbsd.h, s/freebsd.h (vfork): Define as fork.
d5627 1
a5627 1
	* lread.c (Fread_char_exclusive): Doc fix.
d5629 1
a5629 1
Sat Feb  3 13:04:14 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5631 13
a5643 4
	* xfns.c (x_frame_parms): Add "title" element.
	(x_set_title): New function.
	(x_set_name): Let title parm override name parm for title use.
	(x_set_icon_name): Use title parm before name parm, if no icon_name.
d5645 1
a5645 7
	* Properly undo the way deletion affects markers.
	* undo.c (record_marker_adjustment): New function.
	(Fprimitive_undo): Handle marker-adjustment elements.
	* insdel.c (adjust_markers): When a marker is inside text
	being deleted, call record_marker_adjustment for it.
	(del_range_1): Call adjust_markers before record_delete.
	* buffer.c (syms_of_buffer): Doc fix.
d5647 1
a5647 1
Fri Feb  2 21:51:25 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5649 1
a5649 3
	* xterm.c (x_connection_signal): Call x_connection_closed properly.
	(x_connection_closed): Set FRAME_X_DISPLAY to 0.
	(x_destroy_window): Don't do any X operations if FRAME_X_DISPLAY is 0.
d5651 1
a5651 1
Fri Feb  2 16:32:51 1996  Darrin B. Jewell  <jewell@@mit.edu>
d5653 2
a5654 1
	* lisp.h (VECSIZE): Round up when dividing.
d5656 1
a5656 1
Thu Feb  1 20:32:41 1996  Geoff Voelker  <voelker@@cs.washington.edu>
d5658 2
a5659 1
	* w32xfns.c (prepend_msg): New function.
d5661 1
a5661 8
	* w32fns.c (modifiers, modifier_key_support_tested,
	modifiers_recorded): New variables.
	(EMACS_LCONTROL, EMACS_RCONTROL, EMACS_LMENU,
	EMACS_RMENU): New macros.
	(test_modifier_support, record_keydown, record_keyup,
	modifier_set, construct_modifiers): New functions.
	(win32_wnd_proc): Monitor modifier keyup and keydown messages.
	Map window modifiers into console modifiers to unify input.
d5663 2
a5664 2
	(x_create_frame): Use the FixedSys font as the default font.
	(x_to_win32_font): For now, always use ANSI_CHARSET.
d5666 1
a5666 4
	* w32term.c (convert_to_key_event, is_dead_key): New functions.
	(w32_read-socket): Convert console modifiers to Emacs modifiers.
	Use console input routines to unify keyboard support.
	(x_make_frame_visible): Make frame foreground window.
d5668 1
a5668 4
	* ntinevt.c (win32_kbd_mods_to_emacs, win32_kbd_patch_key,
	key_event): Convert from static to global functions.
	(win32_kbd_patch_key): Set modifiers when AltGr is pressed.
	(key_event): Don't modify key code on window input.
d5670 1
a5670 1
Thu Feb  1 18:53:20 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5672 2
a5673 4
	* keyboard.c (read_char_minibuf_menu_prompt): Use malloc to allocate
	the echo-area prompt buffer.
	(read_char_minibuf_menu_text, read_char_minibuf_menu_width):
	New variables.
d5675 1
a5675 1
Thu Feb 1 12:27:47 1996  enami tsugutomo  <enami@@ba2.so-net.or.jp>
d5677 2
a5678 2
	* dispnew.c (update_frame): Compare FRAME_MINIBUF_WINDOW(f)
	against with not minibuf_window but echo_area_window.
d5680 1
a5680 1
Thu Feb  1 01:03:54 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5682 1
a5682 1
	* xterm.c (x_term_init): Use "" as 2nd arg to setlocale.
d5684 1
a5684 3
	* process.c (wait_reading_process_input): If select times out,
	return only if we had no timers to shorten the wait.
	Don't shorten the wait for timers if time_limit is -1.
d5686 2
a5687 2
	* syssignal.h [POSIX_SIGNALS] (sigsetmask):
	Don't define if already defined.
d5689 3
a5691 1
	* keyboard.c (echo_now): Renamed from `echo'.  All callers changed.
d5693 1
a5693 1
Wed Jan 31 17:34:35 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d5695 1
a5695 2
	* process.h (synch_process_death, synch_process_retcode): Delete
	extra declaration.
d5697 17
a5713 1
Wed Jan 31 16:00:47 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5715 1
a5715 1
	* s/sol2-4.h (LIB_X11_LIB): New definition.
d5717 1
a5717 1
Tue Jan 30 15:35:35 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d5719 1
a5719 6
	* s/isc2-2.h (HAVE_SOCKETS): Moved here from s/isc4-1.h.
	(NO_SOCKETS_IN_FILE_SYSTEM, NEED_NET_ERRNO_H): Likewise.
	(LIBS_SYSTEM): Use -linet unconditionally.
	* s/isc4-1.h (HAVE_SOCKETS): Moved to s/isc2-2.h.
	(NO_SOCKETS_IN_FILE_SYSTEM, NEED_NET_ERRNO_H): Likewise.
	* s/isc4-0.h (LIBS_SYSTEM): Use -linet unconditionally.
d5721 1
a5721 1
Tue Jan 30 13:41:45 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5723 1
a5723 5
	* window.c (Fset_window_buffer): Set buffer temporarily around running
	the window-scroll-functions.
	(Fset_window_buffer_unwind): New function.
	(window_initialized): New variable.
	(init_window_once): Set it.
d5725 1
a5725 1
	* callproc.c (child_setup): Fix size in write call.
d5727 3
a5729 1
Mon Jan 29 01:45:01 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5731 1
a5731 3
	* fns.c (Qcursor_in_echo_area): New variable.
 	(syms_of_fns): Set up Lisp var.
	(Fy_or_n_p): Bind Qcursor_in_echo_area in case of nonlocal exit.
d5733 2
a5734 5
	* keyboard.c (make_lispy_event): Timer event is a list, not just cons.
	(timer_check): When DO_IT_NOW is true, handle events by running
	the definition of timer-event.  Don't get the current time if there
	are no pending timers.  If an event was generated, return 0,
	If all timers were handled, return -1.  Add gcpros.
d5736 3
a5738 3
	* xterm.c (x_connection_signal): Don't stop polling.
	Don't mess with SIGALRM.
	Those were relics of the superseded Dec 19 change.
d5740 1
a5740 2
	* process.c (wait_reading_process_input): Don't exit immediately
	if select returns due to timeout--loop around to check time left.
d5742 6
a5747 1
	* keyboard.c (readable_events): Tell timer_check to execute events.
d5749 1
a5749 1
Sun Jan 28 18:45:58 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5751 1
a5751 2
	* keyboard.c (timer_check): Return an EMACS_TIME.
	(read_char, kbd_buffer_get_event): Calls changed accordingly.
d5753 1
a5753 2
	* process.c (wait_reading_process_input): Call timer_check
	and shorten the inner delay if appropriate.
d5755 2
a5756 1
Sun Jan 28 16:47:55 1996  Morten Welinder  <terra@@diku.dk>
d5758 1
a5758 1
	* termhooks.h (event_kind): New event type: timer_event.
d5760 1
a5760 7
	* keyboard.c (Qtimer_event): New symbol.
	(read_char, kbd_buffer_get_event): Don't sleep past the next timer.
	(readable_events, kbd_buffer_get_event): Check for timer events.
	(make_lispy_event): Handle timer events.
	(timer_check): New function.
	(Vtimer_list): New variable.
	(syms_of_keyboard): Set up Qtimer_event and Vtimer_list.
d5762 1
a5762 1
Sun Jan 28 13:29:33 1996  enami tsugutomo  <enami@@ba2.so-net.or.jp>
d5764 4
a5767 1
	* process.c (create_process): Set outchannel to be non-blocking.
d5769 3
a5771 1
Sun Jan 28 00:08:08 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5773 2
a5774 2
	* xfns.c (x_frame_parms): Alphabetize.
	(enum x_frame_parm): Data type deleted.
d5776 2
a5777 1
	* xterm.c (XTframe_raise_lower): Rename arg `raise' to `raise_flag'.
d5779 1
a5779 1
Sat Jan 27 03:28:24 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5781 2
a5782 1
	* emacs.c (sort_args): Error if option is missing an arg.
d5784 2
a5785 2
	* editfns.c (syms_of_editfns): Make buffer-access-fontify-functions
	locally nil in the prin1 buffer.
d5787 1
a5787 1
	* fns.c (Fy_or_n_p): Call choose_minibuf_frame.
d5789 1
a5789 2
	* editfns.c (Fcompare_buffer_substrings): Access case_canon_table
	as a char_table.
d5791 1
a5791 1
Sat Jan 27 13:14:34 1996  enami tsugutomo  <enami@@ba2.so-net.or.jp>
d5793 1
a5793 2
	* sysdep.c (child_setup_tty): Turn off ISTRIP to pass 8bit.  Turn
 	off TAB3 do don't expand tabs.
d5795 2
a5796 1
Fri Jan 26 17:24:42 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5798 1
a5798 2
	* minibuf.c (Fset_minibuffer_window): New function.
	(keys_of_minibuf): defsubr it.
d5800 1
a5800 2
	* cmds.c (Fdelete_backward_char): In overwrite mode,
	insert spaces, unless we deleted a tab.
d5802 1
a5802 1
Fri Jan 26 17:37:16 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d5804 1
a5804 2
	* msdos.c (dos_rawgetc): Allow simulation of `Mouse-3' by
	simultaneous click/drag of `Mouse-1' and `Mouse-2'.
d5806 1
a5806 1
Thu Jan 25 16:45:51 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5808 2
a5809 2
	* xselect.c (xfree): Macro deleted.
	Callers changed to use `free' directly.
d5811 4
a5814 2
	* xselect.c (x_get_window_property_as_lisp_data): Use xfree, not XFree.
	(x_get_window_property): Use XFree for tmp_data.
d5816 1
a5816 1
Thu Jan 25 12:30:35 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d5818 5
a5822 1
	* dosfns.c (mode25, mode4350): Moved to `lisp/dos-fns.el'.
d5824 1
a5824 3
	* msdos.c (dos_set_window_size): Make the window size change
	faster for standard sizes.  Fix a bug in v2-specific code to
	change window size.
d5826 1
a5826 1
Wed Jan 24 22:18:43 1996  Geoff Voelker  <voelker@@cs.washington.edu>
d5828 1
a5828 2
	* w32fns.c, w32reg.c, w32term.c, w32term.h, w32xfns.c:
	Latest patches backed out.
d5830 2
a5831 1
Wed Jan 24 18:52:14 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5833 1
a5833 2
	* termhooks.h (struct input_event): New field `padding'.
	Change `kind' field to an int.
d5835 3
a5837 1
Wed Jan 24 17:28:38 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d5839 1
a5839 2
	* msdos.c (dos_set_window_size): New function; switches the screen
	to the size as close as possible to requested frame dimensions.
d5841 1
a5841 1
	* msdos.h: (dos_set_window_size): Prototype for a new function.
d5843 3
a5845 2
	* dispnew.c (change_frame_size_1) [MSDOS]: Support frame size
	changing as best as possible.
d5847 2
a5848 1
Wed Jan 24 16:55:17 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5850 3
a5852 1
	* Makefile.in (xmenu.o): Depend on termhooks.h.
d5854 3
a5856 1
Wed Jan 24 16:20:27 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d5858 5
a5862 2
	* process.c (wait_reading_process_input) [not subprocesses]: Do
	not assume SELECT_TYPE is an int.
d5864 5
a5868 2
	* msdos.c (sys_select): Use time macros to prevent time values
	from overflowing.
d5870 1
a5870 1
Tue Jan 23 13:53:29 1996  Geoff Voelker  <voelker@@cs.washington.edu>
d5872 1
a5872 2
	* xdisp.c (update_menu_bar, redisplay_window): Use FRAME_WINDOW_P
	instead of only testing for X11.
d5874 2
a5875 1
Tue Jan 23 13:08:10 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d5877 3
a5879 3
	* m/mips-siemens.h (UNEXEC): unexsni.o renamed from unexelfsni.o.
	* m/iris5d.h (UNEXEC): unexsgi.o renamed from unexelfsgi.o.
	* m/iris4d.h [USG5_4] (UNEXEC): Likewise.
d5881 2
a5882 1
	* config.in (LOCALTIME_CACHE): Delete extra #undef.
d5884 1
a5884 1
Tue Jan 23 13:00:57 1996  Felix Lee  <flee@@teleport.com>
d5886 2
a5887 2
	* data.c (kill-local-variable): Didn't update the value of
 	forwarded objects.
d5889 1
a5889 2
	* xdisp.c (mark_window_display_accurate): buffer->clip_changed was
	being inappropriately cleared.
d5891 3
a5893 1
Tue Jan 23 12:56:27 1996  Eli Zaretskii  <eliz@@is.elta.co.il>
d5895 1
a5895 2
	* syssignal.h (sigblock): Delete this, undoing previous change.
	* msdos.c (sigblock): New (dummy) function.
d5897 2
a5898 1
Mon Jan 22 03:30:50 1996  Simon Marshall  <simon@@duality.gnu.ai.mit.edu>
d5900 4
a5903 2
	* editfns.c (syms_of_editfns): Correct spelling of Lisp variable
	buffer-access-fontified-property.
d5905 4
a5908 1
Sat Jan 20 23:17:01 1996  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d5910 9
a5918 2
	* unexelf.c (unexec): Undo data relocations unconditionally, not
	#ifdef SOLARIS2.
d5920 2
a5921 1
Sat Jan 20 22:53:00 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d5923 2
a5924 1
	* syssignal.h [__DJGPP__] (sigblock): Define trivially.
d5926 3
a5928 1
Sat Jan 20 19:56:38 1996  Andrew Innes  <andrewi@@harlequin.co.uk>
d5930 1
a5930 2
	* w32term.c (x_make_frame_visible): Explicitly make the frame
	the selected frame.
d5932 3
a5934 1
Sat Jan 20 19:18:03 1996  Andrew Innes  <andrewi@@harlequin.co.uk>
d5936 4
a5939 6
	* w32xfns.c: Include frame.h.
	(critsect, h_input_available): New variables.
	(init_crit, delete_crit): Handle all three critical sections.
	(GetFrameDC, ReleaseFrameDC): New functions.
	(get_next_msg, post_msg): Use h_input_available.
	Use CRIT_MSG critical section.
d5941 4
a5944 6
	* w32term.h (win32_palette_entry): New structure.
	(has_palette, p_colors_in_use, n_colors_in_use, h_palette,
	regen_palette): Declare variables.
	(struct win32_output): New field.
	(my_get_dc): Macro removed.
	(GetFrameDC, ReleaseFrameDC): Declare functions.
d5946 1
a5946 3
	(critsect): Declare variable.
	(enum win32_critical_section): New enumeration.
	(enter_crit, leave_crit): Functions converted to macros.
d5948 1
a5948 4
	* w32term.c (win32_fill_rect): Remove unused variable.
	(x_iconify_frame): Conform to coding style.
	(x_draw_box): Don't trim right and bottom.
	(x_wm_set_size_hint): Use specific CRIT_MSG critical section.
d5950 3
a5952 8
	(win32_fill_rect, dumpglyphs, do_line_dance, x_draw_box):
	Use Get/ReleaseFrameDC.
	(win32_update_begin): Regenerate palette if required.
	(w32_read_socket): Use FALSE. Handle WM_PALETTECHANGED.
	(win32_term_init): Use GetDC directly.
	Enable palette in display structure.
	Predefine white and black.
	(x_delete_display): Free palette table.
d5954 1
a5954 1
	* w32reg.c (REG_ROOT): Don't use trailing backslash.
d5956 2
a5957 3
	* w32fns.c (Vwin32_enable_italics, Vwin32_enable_palette):
	New variables.
	(syms_of_win32fns): Set up new lisp variables.
d5959 1
a5959 2
	(x_set_frame_parameters, x_real_positions, win32_load_font,
	win32_abort): Conform to coding style.
d5961 4
a5964 5
	(Fwin32_define_rgb_color, Fwin32_load_color_file, Fwin32_map_color,
	Fwin32_unmap_color, Fwin32_regenerate_palette): New functions.
	(syms_of_win32fns): Set up new lisp subroutines.
	(defined_color): Use palettes.
	(map_mode): Function removed.
d5966 1
a5966 4
	(win32_init_class): Don't CS_OWNDC.
	(win32_wnd_proc): Use segregated critical sections appropriately.
	Handle WM_PALETTECHANGED.
	Record WINDOWPLACEMENT structure length.
d5968 1
a5968 6
	(x_to_win32_weight, win32_to_x_weight): Handle "heavy", "extrabold",
	"light", "extralight", and "thin" fonts.
	(x_to_win32_charset, win32_to_x_charset): New functions.
	(win32_to_x_font): Use win32_to_x_charset.
	(x_to_win32_font): Use x_to_win32_charset.
	Support Windows font names.
d5970 2
a5971 2
	(Fx_list_fonts, Fx_display_color_cells, Fx_display_mm_height.
	Fx_display_mm_width): Use GetDC directly.
d5973 1
a5973 1
	(Fx_open_connection): Support external color mapping files.
d5975 1
a5975 1
Sat Jan 20 19:18:03 1996  Geoff Voelker  <voelker@@cs.washington.edu>
d5977 1
a5977 2
	* ntterm.c (clear_frame): Use FillConsoleOutput* calls instead of
	ScrollConsoleScreenBuffer (which has a bug on Win95).
d5979 1
a5979 6
	* ntinevt.c (WIN32_KEY_SHIFTED): Macro undefined.
	(win32_number_shift_map): Array undefined.
	(win32_kbd_patch_key): Properly handle virtual keys for
	arbitrary keyboards.
	(map_virt_key, key_event, win32_mouse_position, do_mouse_event,
	win32_read_socket): Support for MULE.
d5981 1
a5981 4
	* nt.c (nt_stat): Use alloca instead of xmalloc.
	(get_unassigned_drive_letter, is_toplevel_share_name,
	stat_toplevel_share): New functions for stat on remote shares.
	(readdir): Use IS_ANY_SEP.
d5983 1
a5983 2
	* makefile.nt (keyboard.obj, dispnew.obj): Depend upon w32term.h.
	(LIBS): Link with mpr.lib for remote share support.
d5985 1
a5985 1
Sat Jan 20 20:47:48 1996  Paul Eggert  <eggert@@twinsun.com>
d5987 1
a5987 2
	* editfns.c (Fformat_time_string): Doc fix.
	Don't crash if the resulting string is empty.
d5989 1
a5989 1
Fri Jan 19 17:37:48 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d5991 1
a5991 2
	* buffer.c (Fother_buffer): If we have to create a new buffer, use
	default-major-mode.
d5993 2
a5994 1
Fri Jan 19 02:25:44 1996  Erik Naggum  <erik@@naggum.no>
d5996 1
a5996 1
	* frame.c (make_frame): Initialize frame title field to nil.
d5998 5
a6002 1
Thu Jan 18 03:37:32 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6004 5
a6008 1
	* alloc.c (mark_object): Mark frame title field.
d6010 1
a6010 1
Mon Jan 22 10:52:23 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d6012 1
a6012 3
	* xterm.c [SOLARIS2]: Include Xlibint.h.
	(x_connection_signal): Access XlibDisplayWriting properly.
	No need to sleep--if the flag is set, assume connection is dead.
d6014 4
a6017 1
Sun Jan 21 11:12:23 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d6019 1
a6019 1
	* lisp.h (XCAR, XCDR, CAR, CDR): New macros.
d6021 1
a6021 2
	* xmenu.c (set_frame_menubar):
	Use safe_run_hooks for Qmenu_bar_update_hook.
d6023 1
a6023 2
	* xdisp.c (update_menu_bar):
	Use safe_run_hooks for Qmenu_bar_update_hook.
d6025 5
a6029 2
	* lread.c (syms_of_lread): Set Vsource_directory here.
	(init_lread): Not here.
d6031 3
a6033 2
	* macros.c (Fstart_kbd_macro): Use xmalloc.
	Shrink the kbd macro buffer if it is very big.
d6035 6
a6040 2
	* lisp.h (make_number): New macro definition.
	* data.c (make_number): Function deleted.
d6042 2
a6043 1
Sat Jan 20 11:22:14 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d6045 1
a6045 1
	* keymap.c (Faccessible_keymaps): Doc fix.
d6047 1
a6047 1
Fri Jan 19 21:54:27 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d6049 1
a6049 3
	* keymap.c (describe_command): Sometimes use col 32 for desc.
	Record that col in previous_description_column for hysteresis.
	(describe_map): Clear out previous_description_column.
d6051 1
a6051 1
Fri Jan 19 12:46:15 1996  enami tsugutomo  <enami@@sys.ptg.sony.co.jp>
d6053 1
a6053 1
	* frame.c (make_frame): Initialize title parameter to Qnil.
d6055 2
a6056 1
Thu Jan 18 14:26:17 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d6058 2
a6059 2
	* xterm.c (x_connection_signal): Explicitly check the thread interlock
	on Solaris.
d6061 2
a6062 1
Wed Jan 17 16:55:22 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6064 2
a6065 2
	* keyboard.c (safe_run_hooks): Use Qt, not Qerror, to avoid
	running the debugger.
d6067 1
a6067 1
	* eval.c (run_hook_with_args): Do nothing if Vrun_hooks is nil.
d6069 1
a6069 3
	* xfns.c (Qtitle): Declared.
	(Fx_create_frame): Initialize title parameter.
	Don't use the title resource to initialize the name parameter.
d6071 1
a6071 1
	* frame.c (syms_of_frame_1): Initialize Qtitle.
d6073 1
a6073 1
	* xdisp.c (decode_mode_spec, case 'F'): Use `title' field.
d6075 1
a6075 1
	* frame.h (struct frame): New field `title'.
d6077 1
a6077 1
Wed Jan 17 13:40:49 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d6079 2
a6080 2
	* window.c (replace_buffer_in_all_windows): Don't change selected
	window, even temporarily; that has undesirable side effects.
d6082 3
a6084 1
Wed Jan 17 12:57:36 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6086 2
a6087 4
	* emacs.c (dump_environ): Variable deleted.
	(main): Don't free dump_environ.
	(Fdump_emacs): Don't set dump_environ.
	(environ): Declare only on VMS, as before.
d6089 1
a6089 1
Mon Jan 15 16:25:32 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6091 1
a6091 2
	* s/aix4-1.h (X11R5_INHIBIT_I18N): Add undef.
	(LIB_MOTIF): Undef before defining.
d6093 1
a6093 1
Sun Jan 14 23:58:17 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6095 1
a6095 1
	* window.c (display_buffer_1): Don't deiconify the selected frame.
d6097 7
a6103 1
Sun Jan 14 00:21:01 1996  Paul Eggert  <eggert@@twinsun.com>
d6105 2
a6106 2
	* emacs.c (Fdump_emacs): If HAVE_TZSET and not
	LOCALTIME_CACHE, call tzset to force a tz reload.
d6108 5
a6112 1
Sat Jan 13 03:39:22 1996  eggert  <eggert@@twinsun.com>
d6114 1
a6114 8
	* emacs.c (set_time_zone_rule): New decl.
	(environ): Always declare.
	(dump_tz, dump_environ): New vars.
	(main): Change TZ twice if the execution TZ happens to be the same as
	the dump TZ.  Free dump environ.
	(Fdump_emacs): Set TZ to unlikely value just before dumping.
	* editfns.c (set_time_zone_rule): Now extern, not static.
	* config.in (HAVE_TZSET): Add #undef.
d6116 3
a6118 1
Fri Jan 12 14:53:03 1996  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d6120 2
a6121 2
	* Makefile.in ($(OLDXMENU) rules): Fix conditionals so no rules
	are defined when !HAVE_MENUS.
d6123 1
a6123 1
Fri Jan 12 14:44:24 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6125 3
a6127 1
	* msdos.c (dos_rawgetc): Make buf longer.
d6129 1
a6129 1
Thu Jan 11 12:14:07 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6131 2
a6132 1
	* xdisp.c (redisplay_window): Fix minor bug in Fset_marker call.
d6134 1
a6134 1
	* s/aix3-2-5.h (LIB_MOTIF): New macro definition.
d6136 2
a6137 1
Wed Jan 10 19:47:57 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d6139 1
a6139 1
	* window.c (Fset_window_buffer): Call the window-scroll-functions.
d6141 13
a6153 1
Mon Jan  8 21:30:14 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d6155 1
a6155 5
	* keymap.c (Fapropos_internal): Fix previous change.
	* abbrev.c (Fdefine_abbrev_table): Fix previous change.
	* fns.c (Fset_char_table_parent): Fix previous change.
	* data.c (Flognot): Fix previous change.
	* macros.c (Fexecute_kbd_macro): Fix previous change.
d6157 3
a6159 1
Mon Jan  8 21:30:14 1996  Erik Naggum  <erik@@naggum.no>
d6161 3
a6163 3
	* abbrev.c (Fdefine_global_abbrev, Fdefine_mode_abbrev,
	Fabbrev_symbol, Finsert_abbrev_table_description,
	Fdefine_abbrev_table): Harmonize arguments with documentation.
d6165 3
a6167 1
	* alloc.c (Fmake_symbol): Harmonize arguments with documentation.
d6169 4
a6172 3
	* buffer.c (Fmake_indirect_buffer, Fset_buffer_major_mode,
	Fpop_to_buffer, Fbury_buffer, Foverlay_get): Harmonize arguments
	with documentation.
d6174 2
a6175 1
	* bytecode.c (Fbyte_code): Harmonize arguments with documentation.
d6177 4
a6180 2
	* callint.c (Fcall_interactively, Fprefix_numeric_value): Harmonize
	arguments with documentation.
d6182 3
a6184 3
	* casefiddle.c (Fupcase_region, Fdowncase_region,
	Fcapitalize_region, Fupcase_initials_region): Harmonize arguments
	with documentation.
d6186 4
a6189 2
	* casetab.c (Fcase_table_p): Harmonize arguments with
	documentation.
d6191 1
a6191 3
	* cmds.c (Fforward_line, Fbeginning_of_line, Fend_of_line,
 	Fdelete_char, Fdelete_backward_char): Harmonize arguments with
 	documentation.
d6193 1
a6193 10
	* data.c (Fboundp, Ffboundp, Fmakunbound, Ffmakunbound,
 	Fsymbol_plist, Fsymbol_name, Ffset, Fdefalias, Fdefine_function,
 	Fsetplist, store_symval_forwarding, swap_in_symval_forwarding,
 	find_symbol_value, Fsymbol_value, Fset, default_value,
 	Fdefault_boundp, Fdefault_value, Fset_default, Fsetq_default,
 	Fmake_variable_buffer_local, Fmake_local_variable,
 	Fkill_local_variable, Flocal_variable_p, Flocal_variable_if_set_p,
 	Faref, Faset, Fzerop, Fnumber_to_string, Fstring_to_number, Frem,
 	Fmod, Fadd1, Fsub1, Flognot): Harmonize arguments with
 	documentation.
d6195 2
a6196 3
	* dired.c (Fdirectory_files, Ffile_name_completion,
	Ffile_name_all_completions, Ffile_name_all_versions): Harmonize
	arguments with documentation.
d6198 2
a6199 2
	* dispnew.c (Fsend_string_to_terminal, Fsit_for): Harmonize
	arguments with documentation.
d6201 18
a6218 2
	* doc.c (Fdocumentation, Fdocumentation_property,
 	Fsubstitute_command_keys): Harmonize arguments with documentation.
d6220 4
a6223 2
	* dosfns.c (Fint86, Fdos_memget, Fdos_memput, Fmsdos_set_keyboard):
 	Harmonize arguments with documentation.
d6225 8
a6232 6
	* editfns.c (Fchar_to_string, Fstring_to_char, Fgoto_char,
 	Fencode_time, Finsert_char, Fbuffer_substring,
 	Fbuffer_substring_no_properties, Finsert_buffer_substring,
 	Fdelete_region, Fnarrow_to_region): Harmonize arguments with
 	documentation.
	(Fformat_time_string): Allow TIME to default to current time.
d6234 4
a6237 2
	* emacs.c (Fdump_emacs_data, Fdump_emacs): Harmonize arguments with
	documentation.
d6239 6
a6244 2
	* eval.c (Fmacroexpand, Fthrow, Fbacktrace_frame): Harmonize
	arguments with documentation.
d6246 3
a6248 7
	* fileio.c (Ffile_name_directory, Ffile_name_nondirectory,
 	Ffile_name_as_directory, Fdirectory_file_name, Fexpand_file_name,
 	Fsubstitute_in_file_name, Fcopy_file, Fmake_directory_internal,
 	Fdelete_directory, Fdelete_file, Frename_file, Fadd_name_to_file,
 	Fdefine_logical_name, Ffile_modes, Fset_file_modes,
 	Fset_default_file_modes, Fdo_auto_save, Fread_file_name): Harmonize
 	arguments with documentation.
d6250 3
a6252 2
	* filelock.c (Flock_buffer, Ffile_locked_p): Harmonize arguments
	with documentation.
d6254 1
a6254 2
	* floatfns.c (Fbessel_jn, Fbessel_yn): Harmonize arguments with
	documentation.
d6256 3
a6258 5
	* fns.c (Frandom, Flength, Felt, Fsort, Fchar_table_subtype,
 	Fchar_table_parent, Fset_char_table_parent, Fchar_table_extra_slot,
 	Fset_char_table_extra_slot, Fchar_table_range,
 	Fset_char_table_range, Fmap_char_table, Fmapconcat, Fmapcar):
 	Harmonize arguments with documentation.
d6260 1
a6260 2
	* frame.c (Fhandle_switch_frame, Fset_frame_height): Harmonize
	arguments with documentation.
d6262 2
a6263 1
	* indent.c (Findent_to): Harmonize arguments with documentation.
d6265 4
a6268 2
	* keyboard.c (Fevent_convert_list, Fcommand_execute): Harmonize
	arguments with documentation.
d6270 1
a6270 3
	* keymap.c (Fkeymapp, Fdefine_prefix_command, Faccessible_keymaps,
 	Ftext_char_description, Fapropos_internal): Harmonize arguments
 	with documentation.
d6272 2
a6273 2
	* lread.c (Feval_buffer, Feval_region, Fintern, Fintern_soft):
	Harmonize arguments with documentation.
d6275 1
a6275 2
	* macros.c (Fend_kbd_macro, Fexecute_kbd_macro): Harmonize
	arguments with documentation.
d6277 2
a6278 1
	* marker.c (Fset_marker): Harmonize arguments with documentation.
d6280 1
a6280 2
	* minibuf.c (Ftry_completion, Fall_completions, Fcompleting_read):
	Harmonize arguments with documentation.
d6282 2
a6283 2
	* print.c (Fwrite_char, Fprin1, Fprin1_to_string, Fprinc, Fprint):
	Harmonize arguments with documentation.
d6285 1
a6285 7
	* process.c (Fprocessp, Fget_buffer_process, Fdelete_process,
 	Fprocess_status, Fprocess_exit_status, Fprocess_id, Fprocess_name,
 	Fprocess_command, Fprocess_tty_name, Fset_process_buffer,
 	Fprocess_buffer, Fprocess_mark, Fset_process_filter,
 	Fprocess_filter, Fset_process_sentinel, Fprocess_sentinel,
 	Fset_process_window_size, Fprocess_kill_without_query,
 	Faccept_process_output): Harmonize arguments with documentation.
d6287 4
a6290 2
	* search.c (Fmatch_end, Fregexp_quote): Harmonize arguments with
	documentation.
d6292 1
a6292 2
	* syntax.c (Fsyntax_table_p, Fchar_syntax, Fmatching_paren,
 	Fmodify_syntax_entry): Harmonize arguments with documentation.
d6294 1
a6294 7
	* textprop.c (Ftext_properties_at, Fget_text_property,
 	Fget_char_property, Fnext_property_change,
 	Fnext_single_property_change, Fprevious_property_change,
 	Fprevious_single_property_change, Fadd_text_properties,
 	Fput_text_property, Fset_text_properties, Fremove_text_properties,
 	Ftext_property_any, Ftext_property_not_all): Harmonize arguments
 	with documentation.
d6296 1
a6296 4
	* window.c (Fwindowp, Fwindow_live_p, Fother_window,
 	Fenlarge_window, Fshrink_window, Fscroll_up, Fscroll_down,
 	Fscroll_other_window, Fscroll_left, Fscroll_right, Frecenter,
 	Fwindow_configuration_p): Harmonize arguments with documentation.
d6298 1
a6298 2
	* xfaces.c (Fpixmap_spec_p): Harmonize arguments with
	documentation.
d6300 1
a6300 1
Mon Jan  8 19:23:59 1996  Erik Naggum  <erik@@naggum.no>
d6302 1
a6302 2
	* buffer.c (Fkill_buffer): Delete buffer from Vbuffer_alist after
	replacing it.
d6304 1
a6304 1
Mon Jan  8 17:19:09 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d6306 2
a6307 1
	* s/sol2-3.h (PTY_TTY_NAME_SPRINTF): Make failure non-fatal.
d6309 2
a6310 2
	* unexelf.c (unexec) [SOLARIS2]: Undo relocations performed by the
	runtime linker.
d6312 5
a6316 1
	* config.in: (LOCALTIME_CACHE): Add #undef.
d6318 1
a6318 1
Mon Jan  8 10:14:27 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d6320 5
a6324 2
	* xdisp.c (display_text_line): Clear out redisplay_end_trigger
	before calling the functions.
d6326 1
a6326 3
	* xselect.c (x_handle_selection_notify): Give an indication
	in reading_selection_reply of whether the request succeeded.
	(x_get_foreign_selection): Do error if foreign selection was cleared.
d6328 5
a6332 1
	* dispnew.c (init_display): Treat null string DISPLAY var like not set.
d6334 3
a6336 1
Sun Jan  7 09:33:36 1996  Erik Naggum  <erik@@naggum.no>
d6338 1
a6338 1
	* fns.c (Fplist_get): Rename arg `val' to `plist' as in doc.
d6340 2
a6341 1
Sun Jan  7 08:26:39 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d6343 13
a6355 1
	* lread.c (read1): Use xmalloc and xrealloc, not malloc and realloc.
d6357 4
a6360 1
	* s/sol2-5.h: Add #if 0 around everything but the include of sol2-4.h.
d6362 6
a6367 2
	* process.c (create_process): Restore the signal state
	after vfork whether it succeeds or not.
d6369 9
a6377 2
	* m/hp800.h: Conditionalize many macro definitions on __hpux.
 	(NEED_BSDTTY): Delete duplicate definition.
d6379 4
a6382 4
	* lread.c (dump_path): New static var.
	(init_lread): Use that to record dump-time initial path.
	Delete the local var dump_path; find Vsource_directory differently.
	(syms_of_lread): staticpro it.
d6384 1
a6384 1
	* config.in (LOCALTIME_CACHE): Add #undef.
d6386 3
a6388 1
	* editfns.c (update_buffer_properties): Delete superfluous &'s.
d6390 5
a6394 2
	* emacs.c (main): In batch mode, don't handle SIGHUP if was ignored.
	Block it while we decide what to do.
d6396 3
a6398 1
Sat Jan  6 16:50:11 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d6400 3
a6402 2
	* keymap.c (describe_map): New arg nomenu.
	(describe_map_tree): Pass that arg.
d6404 5
a6408 1
Fri Jan  5 18:41:03 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d6410 6
a6415 2
	* fileio.c (do_auto_save_unwind): Don't close DESC if DESC < 0.
	(Fdo_auto_save): Unconditionally set up unwind-protect.
d6417 1
a6417 1
	* s/linux.h (LIBS_TERMCAP): Definition deleted.
d6419 4
a6422 1
Fri Jan  5 02:55:55 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6424 12
a6435 1
	* termhooks.h (struct input_event): Put frame_or_window last.
d6437 2
a6438 1
Thu Jan  4 20:10:07 1996  Erik Naggum  <erik@@naggum.no>
d6440 11
a6450 2
	* window.c (replace_buffer_in_all_windows): Only re-select old
	window if it is still live.
d6452 4
a6455 1
Thu Jan  4 18:05:04 1996  Paul Eggert  <eggert@@twinsun.com>
d6457 1
a6457 10
	Spelling corrections.
	* s/vms.h, s/vms5-5.h (SHARABLE_LIB_BUG): Renamed from
	SHAREABLE_LIB_BUG.
	* xselect.c (syms_of_xselect): Doc fix for x-selection-timeout.
	* sysdep.c (WRITABLE): Renamed from WRITEABLE.
	* unexelfsni.c (unexec): Message fix.
	* sysdep.c (sys_siglist): Message fix.
	* eval.c (syms_of_eval): Doc fix for inhibit-quit.
	* window.c (Fprevious_window, Fwindow_configuration_p): Doc fix.
	* keymap.c (Flookup_key): Doc fix.
d6459 1
a6459 1
Thu Jan  4 00:00:29 1996  Geoff Voelker  <voelker@@cs.washington.edu>
d6461 2
a6462 2
	* nt.c (getuid): Only return root uid if Administrator.
	(geteuid): Return getuid.
d6464 11
a6474 1
Wed Jan  3 22:06:06 1996  Ulrich Leodolter  <ulrich@@lab1.psy.univie.ac.at>
d6476 1
a6476 2
	* ntproc.c (win32_wait): fixed bad synch_process_retcode
	and initialized synch_process_death if signaled.
d6478 2
a6479 1
Tue Jan  2 03:24:51 1996  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6481 2
a6482 2
	* xterm.c (XTread_socket): For selection_clear_event and
	selection_request_event, initialize the frame_or_window field.
d6484 6
a6489 3
	* window.c (replace_buffer_in_all_windows): New function.
	Like Freplace_buffer_in_windows but really does all frames.
	* buffer.c (Fkill_buffer): Use replace_buffer_in_all_windows.
d6491 3
a6493 1
Sun Dec 31 13:56:38 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d6495 1
a6495 3
	* xterm.c (XTread_socket): Pass KeyPress events to the toolkit.
	Make the OTHER label exist unconditionally, and make the gotos
	unconditional when that is convenient.
d6497 14
a6510 1
Sun Dec 31 16:55:36 1995  Eli Zaretskii  <eliz@@is.elta.co.il>
d6512 1
a6512 1
	* fileio.c (Ffile_readable_p) [MSDOS]: Use access rather than open.
d6514 3
a6516 1
Sat Dec 30 07:01:58 1995  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d6518 205
a6722 1
	* Makefile.in (${etc}DOC): Remove spurious `cd' command line.
d6724 288
a7011 1
Thu Dec 28 17:41:23 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7013 1
a7013 1
	* xterm.c (x_find_modifier_meanings): Fix !X11R4 code to use dpyinfo.
d7015 3
a7017 2
	* s/hpux9.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
	Add options to specify /usr/lib/X11R5 and /usr/include/X11R5.
d7019 1
a7019 1
Mon Dec 25 23:39:57 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7021 3
a7023 2
	* xfns.c (check_x_display_info, check_x_frame, x_set_font)
	(Fx_list_fonts): Fix error messages.
d7025 1
a7025 1
Mon Dec 24 13:51:32 1995  Eli Zaretskii  <eliz@@is.elta.co.il>
d7027 5
a7031 3
	* dired.c (Ffile_attributes) [MSDOS]: Remove special detection of
	MS-DOS executable files by filename extension (library `stat' does
	this itself now).
d7033 4
a7036 3
	* msdos.c (XMenuActivate): Make sure the menu title is always
	displayed with `msdos-menu-active-face', no matter where the mouse
	pointer is.
d7038 1
a7038 1
Sun Dec 23 09:18:47 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7040 1
a7040 1
	* msdos.c (have_menus_p): Defined.
d7042 1
a7042 1
	* s/msdos.h (HAVE_MENUS): Defined.
d7044 1
a7044 1
	* config.in (HAVE_MENUS): Renamed from HAVE_X_MENU.
d7046 1
a7046 2
	* Makefile.in (XOBJ, LIBXMENU, $(OLDXMENU), really-oldXMenu):
	HAVE_X_MENU renamed to HAVE_MENUS.
d7048 6
a7053 2
	* keyboard.c (read_char_x_menu_prompt):
	HAVE_X_MENU renamed to HAVE_MENUS.
d7055 2
a7056 1
	* emacs.c (main): Call syms_of_xmenu if and only if HAVE_MENUS.
d7058 7
a7064 2
	* editfns.c (Fmessage_box, Fmessage_or_box):
	HAVE_X_MENU renamed to HAVE_MENUS.  Doc fixes.
d7066 4
a7069 4
	* xfns.c (have_menus_p): Renamed from using_x_p.
	* w32xfns.c (have_menus_p): Renamed from using_x_p.
	* fns.c (Fy_or_n_p, Fyes_or_no_p): using_x_p renamed to have_menus_p.
	HAVE_X_MENU renamed to HAVE_MENUS.
d7071 5
a7075 1
	* keyboard.c (Fexecute_extended_command): Nice error if empty cmd name.
d7077 1
a7077 2
	* callint.c (Fcall_interactively): Undo previous change.
	* keyboard.c (Fcommand_execute): Undo previous change.
d7079 1
a7079 1
	* s/aix3-2.h: Add #pragma alloca.
d7081 2
a7082 3
	* Makefile.in (LIBXT): Use DYNAMIC_OPTION too.
	* s/sol2-5.h (STATIC_OPTION): For GCC, use -Xlinker.
	(DYNAMIC_OPTION): Define like STATIC_OPTION.
d7084 1
a7084 2
	* s/sunos4shr.h (LIBXMU): Replace previous change.
	Bring back the old definition, but conditionalize on ! HAVE_X11R6.
d7086 1
a7086 2
	* config.in (HAVE_X11R6): Add #undef.
	* xterm.h (HAVE_X11R6): Definition deleted (previous change undone).
d7088 1
a7088 3
	* xdisp.c (redisplay_window): Clear force_start field
	before running the Qwindow_scroll_functions.
	In the recenter case, set w->start before running them.
d7090 2
a7091 1
Sun Dec 24 12:43:23 1995  Adrian Colley  <Adrian.Colley@@three.serpentine.com>
d7093 1
a7093 1
	* s/aix3-2.h: Add #pragma alloca.
d7095 1
a7095 1
Sat Dec 23 19:33:56 1995  Geoff Voelker  <voelker@@cs.washington.edu>
d7097 1
a7097 4
	* makefile.nt (LINK_FLAGS): Dump symbol map when linking.
	* unexnt.c (get_bss_info_from_map_file): New function.
	(get_section_info): When .bss section parameters are not in the
	executable, search the symbol map file for them.
d7099 1
a7099 1
Sat Dec 23 02:44:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7101 7
a7107 1
	* syntax.h (SYNTAX_ENTRY): Add cast in call to syntax_parent_lookup.
d7109 10
a7118 1
	* print.c (NULL): #undef deleted.
d7120 7
a7126 1
	* cmds.c (internal_self_insert): Declare arg c1 as unsigned char.
d7128 1
a7128 1
Thu Dec 21 00:01:36 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7130 2
a7131 2
	* xdisp.c (prepare_menu_bars): If update_mode_lines,
	update all frame titles too.
d7133 1
a7133 1
Wed Dec 20 12:15:57 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7135 2
a7136 4
	* eval.c (skip_debugger): New function.
	(find_handler_clause): Call skip_debugger.
	(Vdebug_ignored_errors): New variable.
	(syms_of_eval): Set up Lisp variable.
d7138 7
a7144 3
	* print.c (Ferror_message_string): New function.
	(syms_of_print): defsubr it.  Doc fix.
	(print_error_message): New subroutine.
d7146 3
a7148 1
	* keyboard.c (cmd_error_internal): Use print_error_message.
d7150 1
a7150 1
Tue Dec 19 16:05:35 1995  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d7152 1
a7152 1
	* callint.c (Fcall_interactively): Don't log prompt strings.
d7154 2
a7155 1
	* xfns.c: Use <paths.h>, not "paths.h".
d7157 1
a7157 3
	* frame.c [!MULTI_FRAME] (syms_of_frame): Make mouse-pixel-position
	a synonym for mouse-position, for the benefit of lisp packages
	that use it.
d7159 4
a7162 1
Tue Dec 19 15:56:15 1995  Eli Zaretskii  <eliz@@is.elta.co.il>
d7164 1
a7164 11
	* msdos.c (check_timer): Get rid of the DOS-specific menubar clock
	feature; call `display-time-filter' from time.el to display time
	on the modeline instead.  This makes `display-time' work under DOS.
	(abort): Use our own function instead of the one from the library
	which reverts the console device to cooked mode.
	(syms_of_msdos): `dos-display-time'--a new variable for
	communicating with `display-time'.
	* dosfns.c (syms_of_dosfns): Delete the `dos-menubar-clock' and
	`dos-timer-hooks' variables.
	* dosfns.h (Vdos_menubar_clock, Vdos_timer_hooks):
	Declarations deleted.
d7166 2
a7167 1
Tue Dec 19 02:11:33 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7169 1
a7169 1
	* xterm.c (x_connection_signal): Set an alarm around XNoOp call.
d7171 7
a7177 3
	* xfns.c [X11R5_INHIBIT_I18N]: Undef HAVE_X_I18N if X11R5.
	* xterm.h (HAVE_X11R6): New macro, defined when appropriate.
	* s/aix3-2-5.h (X11R5_INHIBIT_I18N): Defined.
d7179 2
a7180 1
Sun Dec 17 03:31:12 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7182 2
a7183 1
	* s/sol2-5.h (LIBXT_STATIC, STATIC_OPTION): Defined.
d7185 2
a7186 1
	* Makefile.in (LIBXT): Handle LIBXT_STATIC.
d7188 1
a7188 1
	* fileio.c (syms_of_fileio): Doc fix.
d7190 1
a7190 1
	* callint.c (Fcall_interactively): Handle an arg of form (FCN ARGS...).
d7192 2
a7193 1
	* keyboard.c (Fcommand_execute): Allow function + args list as cmd.
d7195 2
a7196 1
Thu Dec 14 21:19:27 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7198 2
a7199 1
	* m/ibmrs6000.h (LD_SWITCH_MACHINE): Don't define if using GCC.
d7201 1
a7201 1
Wed Dec 13 15:06:15 1995  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d7203 1
a7203 1
	* xterm.c (x_connection_closed): Don't delete dpyinfo if it's null.
d7205 1
a7205 1
Tue Dec 12 21:22:18 1995  Eli Zaretskii  <eliz@@is.elta.co.il>
d7207 2
a7208 5
	* msdos.c (run_msdos_command): Support redirection of stderr.
	* callproc.c (Fcall_process) [MSDOS]: Support redirection of
	stderr.  Assign process exit code to `synch_process_retcode' and
	error description to `synch_process_death'.  Reset
	`synch_process_alive' to zero when the sub-process exits.
d7210 1
a7210 8
	* msdos.c (IT_set_terminal_modes): Save screen color attribute
	byte at startup, write saved screen dimensions to termscript
	file.
	(IT_reset_terminal_modes): When restoring startup screen contents,
	only restore as much as was saved, and only as much as the screen
	dimensions on exit can hold.  Blank the rest with the background
	color saved at startup.  Write restored screen dimensions to
	termscript file.
d7212 1
a7212 3
	* msdos.c (XMenuActivate): Display the menu pane title.
	(XMenuLocate): Do not ignore pane title length when deciding on
	menu location.
d7214 1
a7214 1
Tue Dec 12 21:16:31 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d7216 2
a7217 1
	* emacs.c (main): Fix args to handle `--display DISPLAY'.
d7219 1
a7219 4
	* data.c (Ftype_of): Return `char-table' and `bool-vector' for
	char tables and bool vectors, resp.
	(Qchar_table, Qbool_vector): New variables.
	(syms_of_data): Initialize and staticpro them.
d7221 2
a7222 1
Tue Dec 12 20:57:18 1995  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d7224 1
a7224 1
	* window.c (Fsplit_window): Account for scroll bar width.
d7226 1
a7226 1
	* minibuf.c (choose_minibuf_frame): Test HAVE_X_WINDOWS.
d7228 2
a7229 1
	* m/alpha.h (PTY_OPEN): Block SIGCHLD during openpty.
d7231 3
a7233 1
	* s/sunos4shr.h (LIBXMU): Use dynamic linking.
d7235 1
a7235 1
Tue Dec 12 20:50:06 1995  Paul Eggert  <eggert@@twinsun.com>
d7237 2
a7238 8
	* process.c (create_process):  Use Posix signal handling to
	block signals, if available.  If HAVE_VFORK, save and restore
	signal handlers that the child might change, since in many
	systems (e.g. Solaris 2.4) if the child changes the signal
	handlers this munges the parent's handler.
	* s/sol2-3.h (HAVE_VFORK):  Remove #undef, since we now
	know how to use Solaris vfork.
	(VFORK_RETURN_TYPE): Remove definition.
d7240 1
a7240 1
Tue Dec 12 00:38:53 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7242 2
a7243 1
	* callint.c (Fcall_interactively): Move have_prefix_arg label to 'p'.
d7245 1
a7245 1
	* process.c (Fopen_network_stream): Call bind_polling_period earlier.
d7247 8
a7254 1
Sun Dec 10 05:22:31 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7256 4
a7259 1
	* keymap.c (Fkey_binding): Handle text-property keymaps.
d7261 1
a7261 4
	* Makefile.in (dotdot): New variable.
	(SOME_MACHINE_LISP): Use relative file names.
	(shortlisp): New variable.
	(${etc}DOC): Use shortlisp instead of lisp.
d7263 1
a7263 2
	* xdisp.c (redisplay_window): Don't do the scroll_step thing
	if startp is outside the accessible part of the buffer.
d7265 1
a7265 2
	* lread.c (init_lread): Add ../lisp (in build dir) to load-path
	when dumping.
d7267 2
a7268 1
Sat Dec  9 07:45:52 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7270 1
a7270 3
	* editfns.c (Fset_time_zone_rule): Move static var environbuf
	to top level.
	(syms_of_editfns): Initialize environbuf explicitly.
d7272 2
a7273 1
	* window.c (Fsplit_window): Rename size to size_int and chsize to size.
d7275 3
a7277 1
	* cmds.c (Fbackward_char, Fforward_char): Rename arg to ARG.
d7279 1
a7279 3
	* buffer.h (struct buffer): Delete redisplay_end_trigger field.
	* buffer.c (reset_buffer, init_buffer_once): Delete code that touches
	redisplay_end_trigger field in buffer.
d7281 2
a7282 1
Thu Dec  7 01:50:52 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7284 1
a7284 7
	* editfns.c (Vbuffer_access_fontified_property): New variable.
	(syms_of_editfns): Set up Lisp var.
	(make_buffer_string): Don't call the Vbuffer_access_fontify_functions
	if the text is already fontified.
	(Fbuffer_string): Pas 1 for PROPS arg.
	(update_buffer_properties): New subroutine.
	(Finsert_buffer_substring): Use update_buffer_properties.
d7286 1
a7286 1
Wed Dec  6 00:35:37 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7288 1
a7288 2
	* textprop.c (add_properties, remove_properties, set_properties):
	Call signal_after_change.
d7290 1
a7290 1
	* s/hpux9.h (LIBXMU, NO_EDITRES): Define only if not HAVE_LIBXMU.
d7292 2
a7293 1
Tue Dec  5 00:05:58 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7295 1
a7295 1
	* config.in (HAVE_LIBXMU): Add #undef.
d7297 2
a7298 1
	* s/hpux9shr.h (C_DEBUG_SWITCH): Definition turned off.
d7300 2
a7301 1
	* m/iris4d.h (C_SWITCH_MACHINE): Define only if THIS_IS_MAKEFILE.
d7303 1
a7303 1
Mon Dec  4 03:34:10 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7305 1
a7305 8
	* editfns.c (make_buffer_string): New arg PROPS.
	(Fbuffer_string, Fbuffer_substring): Pass new arg.
	(Fbuffer_substring_no_properties): New function.
	(syms_of_editfns): defsubr it.
	(Vbuffer_access_fontify_functions): New variable.
	(Qbuffer_access_fontify_functions): New variable.
	(syms_of_editfns): Set up Lisp variable, initialize them.
	(make_buffer_string): Run this new hook.
d7307 2
a7308 2
	* minibuf.c (read_minibuf): Pass PROPS arg to make_buffer_string.
	Let make_buffer_string handle the gap.
d7310 1
a7310 1
Sun Dec  3 17:41:35 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7312 3
a7314 2
	* config.h (EMACS_INT, EMACS_UINT): Definitions deleted
	because lisp.h also defines them.
d7316 3
a7318 1
	* Makefile.in (keymap.o): Depend on puresize.h.
d7320 3
a7322 2
	* keymap.c: Include puresize.h.
	(store_in_keymap): Check PURE_P (def) and copy if nec.
d7324 1
a7324 2
	* puresize.h (PURE_P): New macro (three definitions).
	(CHECK_IMPURE): Use PURE_P.
d7326 2
a7327 4
	* buffer.c (Fkill_buffer): Rename arg bufname to buffer.
	Don't gcpro it after the last use.
	(Fswitch_to_buffer, Fpop_to_buffer): Rename arg bufname to buffer.
	(Fset_buffer): Likewise, and rename local buffer to buf.
d7329 1
a7329 1
Fri Dec  1 20:49:30 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7331 2
a7332 2
	* Makefile.in (THIS_IS_MAKEFILE): New definition.
	* s/irix6-0.h (C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
d7334 2
a7335 2
	* macros.c (Fstore_kbd_macro_event): New function.
	(syms_of_macros): defsubr it.
d7337 3
a7339 1
Wed Nov 29 18:32:05 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7341 1
a7341 1
	* xdisp.c (message_dolog): Save and restore windows_or_buffers_changed.
d7343 1
a7343 1
Tue Nov 28 04:04:59 1995  Paul Eggert  <eggert@@twinsun.com>
d7345 1
a7345 1
	* src/Makefile.in (lisp): Remove c-mode.elc.
d7347 1
a7347 1
Mon Nov 27 15:05:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7349 1
a7349 1
	* msdos.c (sys_select): Check timer once even if input is pending.
d7351 3
a7353 1
Sun Nov 26 15:48:45 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7355 1
a7355 2
	* xfns.c (x_set_menu_bar_lines) [USE_X_TOOLKIT]:
	Don't crash for non-X frame.
d7357 1
a7357 2
	* callint.c (Fcall_interactively): In `c' case, clear out the message
	after reading the character.
d7359 1
a7359 2
	* xdisp.c (decode_mode_spec): For p and P, avoid overflow with
	large buffer sizes.
d7361 1
a7361 2
	* xmenu.c (set_frame_menubar): When called with deep_p == 0,
	that invalidates the previous f->menu_bar_vector.
d7363 1
a7363 1
Fri Nov 24 22:01:33 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7365 1
a7365 1
	* Version 19.30 released.
d7367 1
a7367 1
	* msdos.c (IT_set_menu_bar_lines): Clear last_modified field.
d7369 1
a7369 1
Thu Nov 23 15:07:13 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d7371 7
a7377 1
	* keyboard.c (read_char): Handle unread events from popup menus.
d7379 3
a7381 1
Wed Nov 22 13:58:36 1995  Geoff Voelker  <voelker@@cs.washington.edu>
d7383 1
a7383 2
	* makefile.nt (DOC, clean): Don't use switches to del not supported
	by Win95.
d7385 1
a7385 1
Wed Nov 22 07:35:25 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7387 2
a7388 3
	* 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.
d7390 1
a7390 1
Wed Nov 22 05:46:28 1995  Eli Zaretskii  <eliz@@is.elta.co.il>
d7392 1
a7392 1
	* msdos.c (internal_terminal_init): Initialize the_only_x_display.font.
d7394 1
a7394 2
	* xfaces.c (Fset_face_attribute_internal) [MSDOS]:
	Set font field to 1.
d7396 1
a7396 1
Wed Nov 22 05:46:28 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7398 5
a7402 2
	* msdos.c (dos_set_keyboard): If CODE is not recognized,
	initialize to the US keyboard table.
d7404 3
a7406 1
Tue Nov 21 01:48:52 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7408 2
a7409 1
	* s/linux.h (LIB_MOTIF): New definition.
d7411 1
a7411 1
	* editfns.c (Fcurrent_time): Doc fix.
d7413 1
a7413 2
	* s/hpux10.h (FORCE_ALLOCA_H): Defined (for getdate.y).
	(HPUX10): Defined.
d7415 1
a7415 2
	* window.c (Fdisplay_buffer): Always deiconify the window's frame.
	(display_buffer_1): New subroutine.
d7417 1
a7417 2
	* m/alpha.h [LINUX] (LINUX_SBRK_BUG): Defined.
	* emacs.c (main): Add LINUX_SBRK_BUG conditional call to __sbrk.
d7419 2
a7420 1
	* s/msdos.h (SYSTEM_PURESIZE_EXTRA): Increased.
d7422 1
a7422 1
	* dosfns.c (syms_of_dosfns): Use 0x75 for dos_keypad_mode.
d7424 1
a7424 1
Mon Nov 20 13:37:56 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7426 1
a7426 1
	* alloc.c (Flist): Avoid using -- in while condition.
d7428 1
a7428 2
	* xfaces.c (unload_color, unload_font): Never invalidate computed
	faces 0 and 1.
d7430 1
a7430 1
	* minibuf.c (choose_minibuf_frame): On MSDOS, just use minibuf_window.
d7432 2
a7433 1
Sun Nov 19 15:29:11 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7435 4
a7438 2
	* xterm.c (show_mouse_face):
	When clearing cursor, use proper column range.
d7440 1
a7440 3
	* lread.c (Vsource_directory): New variable.
	(init_lread): Initialize it.
	(syms_of_lread): Set up Lisp var.
d7442 2
a7443 1
Sat Nov 18 09:24:58 1995  Fred Fish  <fnf@@cygnus.com>
d7445 1
a7445 1
	* s/linux.h: #undef SIGPOLL and SIGURG as well as SIGIO.
d7447 5
a7451 1
Sat Nov 18 14:03:38 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7453 1
a7453 2
	* data.c (Fmake_local_variable): Call find_symbol_value
	before making a new local binding.
d7455 1
a7455 1
Wed Nov 15 20:47:36 1995  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d7457 1
a7457 2
	* mem-limits.h [_LIBC] (start_of_data): Use weak ref to
	__data_start; use &etext if not present.
d7459 3
a7461 1
Wed Nov 15 11:56:58 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7463 2
a7464 2
	* xterm.c (XTread_socket): Verify a ButtonPress was actually in the
	menu bar before generating a menu_bar_activate_event event.
d7466 2
a7467 1
	* s/hpux10.h: New file.
d7469 1
a7469 2
	* textprop.c (Fset_text_properties): Call set_properties
	even if we also merge an interval.
d7471 1
a7471 2
	* xselect.c (x_clear_frame_selections): Get selection_symbol properly.
	(syms_of_xselect): Doc fix.
d7473 1
a7473 1
	* doprnt.c (doprnt1): Add a cast.
d7475 1
a7475 1
	* alloc.c (mark_object): Don't overwrite original argument value.
d7477 1
a7477 1
	* .gdbinit (xsymbol): Cast name explicitly to (char *).
d7479 1
a7479 1
Tue Nov 14 14:15:23 1995  Geoff Voelker  <voelker@@cs.washington.edu>
d7481 1
a7481 1
	* w32term.h: New file.
d7483 1
a7483 1
Tue Nov 14 12:36:49 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7485 4
a7488 2
	* keyboard.c (Fexecute_extended_command):
	Call Fwhere_is_internal just once to handle all the maps.
d7490 1
a7490 3
	* xdisp.c (Qredisplay_end_trigger_functions): Renamed from ..._hook.
	(syms_of_xdisp): Set up new name.
	(display_text_line): Call them with arguments.
d7492 2
a7493 1
	* window.c (Fset_window_redisplay_end_trigger): Doc fix.
d7495 2
a7496 1
	* fileio.c (check_executable) [DOS_NT]: Treat all dirs as executable.
d7498 1
a7498 1
Mon Nov 13 00:06:01 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7500 1
a7500 1
	* frame.h (FRAME_WINDOW_P): Always define it one way or another.
d7502 9
a7510 1
	* m/alpha.h: Declare calloc like malloc.
d7512 1
a7512 1
Sun Nov 12 00:19:44 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7514 1
a7514 1
	* xselect.c (x_clear_frame_selections): Undo previous change.
d7516 3
a7518 2
	* fileio.c (Fcopy_file): Don't chmod output file on MSDOS
	unless we have DJGPP version 2.
d7520 1
a7520 1
	* s/usg5-4.h (LIBS_STANDARD): Definition deleted.
d7522 1
a7522 1
	* s/isc2-2.h (LIBS_SYSTEM): Fix typo in prev change.
d7524 2
a7525 1
	* dispnew.c: Always include dispextern.h before cm.h.
d7527 1
a7527 1
Sat Nov 11 01:16:45 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7529 2
a7530 2
	* xdisp.c (display_text_line): Handle redisplay_end_trigger
	before getting the face of the next character.  Reset next_face_change.
d7532 19
a7550 3
	* frame.c (syms_of_frame_1): Set up Vdefault_frame_alist here.
	(syms_of_frame): Not here.
	(Vdefault_frame_alist): Definition now unconditional.
d7552 1
a7552 2
	* msdos.c (dos_menubar_clock_displayed): New variable.
	(check_timer): Erase the clock if it has been turned off.
d7554 1
a7554 2
	* doc.c (Fdocumentation): Reject a file reference
	at the end of a lambda body.
d7556 1
a7556 3
	* 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.
d7558 1
a7558 1
Fri Nov 10 18:44:42 1995  Simon Leinen  <simon@@lia.di.epfl.ch>
d7560 1
a7560 2
	* s/hpux9.h (NO_EDITRES): Defined.
	(LIBXMU): Define once again.
d7562 1
a7562 1
	* xfns.c (HACK_EDITRES): Don't define if NO_EDITRES is defined.
d7564 1
a7564 2
	* xterm.c (HACK_EDITRES): Define here as in xfns.c.
	(XTread_socket): Test HACK_EDITRES.
d7566 8
a7573 1
Fri Nov 10 10:53:51 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7575 1
a7575 3
	* s/isc2-2.h (LIB_STANDARD_1): New macro.
	(LIB_STANDARD): Use LIB_STANDARD_1.
	(LIBS_SYSTEM): Use it here too.
d7577 1
a7577 1
	* print.c (debug_print): Explicitly print a CR.
d7579 1
a7579 1
	* keyboard.c (interrupt_signal): Do special things in GC.
d7581 1
a7581 1
Fri Nov 10 00:02:48 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d7583 16
a7598 3
	* frame.c (set_menu_bar_lines): Record the fact that the window
	configuration changes.
	(set_menu_bar_lines_1): Mark the window as modified.
d7600 1
a7600 1
Thu Nov  9 23:28:43 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7602 4
a7605 1
	* floatfns.c (Fexpt): Doc fix.
d7607 1
a7607 1
	* window.h (struct window): New field redisplay_end_trigger.
d7609 3
a7611 3
	* window.c (Fwindow_redisplay_end_trigger): New function.
	(Fset_window_redisplay_end_trigger): Likewise.
	(syms_of_window): defsubr them.
d7613 2
a7614 1
	* xdisp.c (display_text_line): Get redisplay_end_trigger from window.
d7616 1
a7616 1
Thu Nov  9 19:29:39 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7618 1
a7618 2
	* buffer.c (syms_of_buffer): Delete the buffer-redisplay-end-trigger
	local variable.
d7620 1
a7620 1
Thu Nov  9 19:15:56 1995  Simon Leinen  <simon@@lia.di.epfl.ch>
d7622 4
a7625 4
	* 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.
d7627 2
a7628 1
Thu Nov  9 02:43:32 1995  Erik Naggum  <erik@@naggum.no>
d7630 2
a7631 2
	* eval.c (run-hook-with-args, run-hook-list-with-args): Safeguard
 	against a t in the global value of hook variables.
d7633 1
a7633 1
Wed Nov  8 16:36:20 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7635 1
a7635 1
	* s/msdos.h (SYMS_SYSTEM): Add syms_of_msdos.
d7637 1
a7637 1
	* Makefile.in (lisp): Add loadup.el.
d7639 3
a7641 2
	* indent.c (compute_motion): Update next_boundary
	when we skip to next newline.
d7643 5
a7647 1
Tue Nov  7 14:46:06 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7649 3
a7651 1
	* lread.c (oblookup): Clear ARRAY_MARK_FLAG in obsize.
d7653 1
a7653 3
	* 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'.
d7655 2
a7656 1
Tue Nov  7 02:12:16 1995  Geoff Voelker  <voelker@@cs.washington.edu>
d7658 1
a7658 5
	* 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.
d7660 1
a7660 4
	* 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.
d7662 1
a7662 2
	* xdisp.c (update_menu_bar, redisplay_window): Test for definition
	of FRAME_EXTERNAL_MENU_BAR before using it.
d7664 1
a7664 1
Mon Nov 6 15:52:37 1995  Kevin Gallo  <kgallo@@microsoft.com>
d7666 1
a7666 3
	* 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.
d7668 1
a7668 8
	* 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.
d7670 2
a7671 2
	* window.c [HAVE_NTGUI] (Fset_window_configuration): Set menu
	bar lines.
d7673 3
a7675 1
	* term.c [HAVE_NTGUI] (FRAME_TERMCAP_P): Don't redefine.
d7677 1
a7677 3
	* 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.
d7679 6
a7684 2
	* scroll.c [HAVE_NTGUI] (do_scrolling, do_direct_scrolling):
	Update frame geometry.
d7686 1
a7686 1
	* process.c [HAVE_NTGUI] (POLL_FOR_INPUT): Define macro.
d7688 1
a7688 8
	* 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.
d7690 1
a7690 3
	(FUNCTION_KEY_OFFSET): New macro.
	(make_lispy_event): Use FUNCTION_KEY_OFFSET to modify event codes
	before applying modifiers.
d7692 1
a7692 2
	* frame.c [HAVE_NTGUI]: Test for a Win32 frame in procedures
	that test for an X frame.
d7694 2
a7695 5
	* 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.
d7697 7
a7703 1
	* fns.c [HAVE_NTGUI] (Fy_or_n_p, Fyes_or_no_p): Allow popup.
d7705 1
a7705 4
	* emacs.c [HAVE_NTGUI]: Declare Vwindow_system.
	[HAVE_NTGUI] (main): Enable inhibit_window_system.
	Initialize environment from registry.
	Declare syms of Win32 windowing modules.
d7707 2
a7708 5
	* 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.
d7710 1
a7710 2
	* dispextern.h [HAVE_NTGUI]: Include win32.h.
	[HAVE_NTGUI] (struct frame_glyphs): Include pixel fields.
d7712 1
a7712 2
	* w32term.c, w32xfns.c, w32fns.c, w32faces.c, w32select.c,
	w32menu.c, w32reg.c, win32.h: New files.
d7714 1
a7714 2
	* s/windowsnt.h [HAVE_NTGUI] (abort): New macro.
	[HAVE_NTGUI] (HAVE_FACES): Defined.
d7716 1
a7716 3
	* unexnt.c [HAVE_NTGUI] (WinMain): New procedure.
	[HAVE_NTGUI] (hinst, hprevinst, lpCmdLine, nCmdShow): New variables.
	[HAVE_NTGUI] (_start): Invoke WinMainCRTStartup.
d7718 1
a7718 4
	* 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.
d7720 1
a7720 2
	* ntproc.c [HAVE_NTGUI] (create_child): Pass handles to children.
	[HAVE_NTGUI1] (sys_select): Support alternate keyboard handling.
d7722 4
a7725 1
	* nt.h (nt_get_resource): Prototype defined.
d7727 2
a7728 3
	* nt.c (nt_get_resource, init_environment): Defined.
	(prepare_standard_handles, restore_standard_handles) [HAVE_NTGUI]:
	Don't duplicate or restore standard handles.
d7730 1
a7730 9
	* 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.
d7732 1
a7732 1
Mon Nov  6 15:06:38 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7734 1
a7734 1
	* xdisp.c (display_string): Detect truncation more carefully.
d7736 1
a7736 1
	* dispnew.c (update_line): Avoid indexing into obody by -1.
d7738 1
a7738 1
	* s/hpux9.h (LIBXMU): Never define this.
d7740 1
a7740 1
Mon Nov  6 13:31:18 1995  Erik Naggum  <erik@@naggum.no>
d7742 2
a7743 1
	* print.c (debug_print): Print newline to stderr, too.
d7745 7
a7751 1
Sun Nov  5 16:28:43 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7753 1
a7753 3
	* xfaces.c (unload_font): Invalidate computed faces.
	(unload_color): Likewise.
	(new_computed_face): Reuse invalidated computed faces.
d7755 1
a7755 1
Sat Nov  4 10:40:11 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7757 2
a7758 1
	* indent.c (Fmove_to_column): Doc fix.
d7760 1
a7760 2
	* buffer.c (Fmake_overlay): New args front-advance
	and rear-advance.
d7762 1
a7762 2
	* fileio.c (Fwrite_region): Move the code that writes annotations
	for empty files.
d7764 1
a7764 1
Fri Nov  3 19:04:15 1995  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d7766 1
a7766 10
	* 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.
d7768 1
a7768 1
Wed Nov  1 16:49:13 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7770 1
a7770 2
	* Makefile.in (USE_@@X_TOOLKIT_TYPE@@): Define here, if appropriate.
	(THIS_IS_YMAKEFILE): Definition deleted.
d7772 2
a7773 1
Tue Oct 31 19:03:18 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d7775 1
a7775 5
	* 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.
d7777 1
a7777 1
	* editfns.c (Fformat): Use doprnt_lisp.
d7779 1
a7779 2
	* s/dgux.h: Test NOT_C_CODE instead of THIS_IS_YMAKEFILE.
	Get fatal error if not using GCC.
d7781 3
a7783 5
	* 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.
d7785 1
a7785 1
	* m/alpha.h: Don't test THIS_IS_YMAKEFILE.
d7787 2
a7788 2
	* s/usg5-4.h: Always include sys/wait.h unless NOT_C_CODE;
	don't test #ifdef emacs for that.
d7790 3
a7792 1
Tue Oct 31 12:11:36 1995  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d7794 1
a7794 13
	* 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.
d7796 1
a7796 1
Mon Oct 30 21:28:51 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d7798 1
a7798 8
	* 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.
d7800 1
a7800 1
Mon Oct 30 12:52:49 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7802 1
a7802 2
	* config.in (BITS_PER_CHAR, BITS_PER_INT, BITS_PER_SHORT)
	(BITS_PER_LONG): Define if not already defined.
d7804 10
a7813 1
	* print.c (debug_print): Print a newline here.
d7815 8
a7822 1
	* .gdbinit (pr): Don't print newline here.
d7824 2
a7825 2
	* syntax.c (check_syntax_table): Check the purpose slot.
	Use Qsyntax_table_p for the error message.
d7827 2
a7828 1
	* lisp.h (CHECK_CHAR_TABLE): Don't accept nil.
d7830 4
a7833 1
	* Makefile.in (prefix-args): Use LDFLAGS, not ALL_LDFLAGS.
d7835 1
a7835 1
	* unexalpha.c (fatal_unexec): Don't use varargs.
d7837 8
a7844 2
	* editfns.c (Fencode_time): Add cast.
	(Fset_time_zone_rule): Add cast.
d7846 1
a7846 1
	* xterm.h: Move the include of Xlocale.h after setting HAVE_X11R5.
d7848 3
a7850 2
	* keyboard.c (command_loop_1): Test pre- and post-command hooks
	for non-nil-ness by looking at the V... variable.
d7852 2
a7853 1
Sun Oct 29 17:02:58 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d7855 1
a7855 3
	* 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.
d7857 1
a7857 2
	* keymap.c (describe_translation): Insert newline after key
	description.
d7859 1
a7859 2
	* fns.c (Fsafe_length): Add missing parentheses around &
	within comparison.
d7861 2
a7862 2
	* minibuf.c (temp_echo_area_glyphs): Only delete the temporary
	message.
d7864 1
a7864 1
Sun Oct 29 14:00:09 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7866 1
a7866 1
	* syssignal.h [POSIX_SIGNALS] (signal): Undef before defining.
d7868 2
a7869 3
	* unexelfsgi.c (find_section): New arg old_section_h.
	Rename file_h to old_file_h and fix type.
	Calls changed.
d7871 3
a7873 1
	* syntax.c (Fmodify_syntax_entry): Don't fail to init MATCH.
d7875 1
a7875 1
	* lisp.h (PVEC_TYPE_MASK): Remove the 0x100 bit.
d7877 2
a7878 3
	* keyboard.c (command_loop_1): No direct display if Column Number mode.
	(Vcolumn_number_mode): New variable.
	(syms_of_keyboard): Set up Lisp variable.
d7880 2
a7881 1
	* marker.c (Fset_marker_insertion_type): Doc fix.
d7883 1
a7883 1
	* alloc.c (Fmake_char_table): Doc fix.
d7885 1
a7885 1
	* casetab.c (Fset_case_table): Doc fix.
d7887 3
a7889 1
	* alloc.c: Cast first arg to bzero.
d7891 1
a7891 1
Sat Oct 28 11:15:20 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7893 1
a7893 1
	* xterm.h (FRAME_XIC): Fix wrong field name.
d7895 1
a7895 1
	* alloc.c (Fmemory_use_counts): Cast 1 to EMACS_INT before shift.
d7897 1
a7897 1
	* eval.c (run_hook_with_args): Add forward declaration.
d7899 1
a7899 1
Fri Oct 27 16:23:30 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7901 1
a7901 1
	* Makefile.in (TAGS): Separate export DIR=`pwd` into two commands.
d7903 1
a7903 2
	* syntax.h (SYNTAX, SYNTAX_WITH_FLAGS, SYNTAX_MATCH):
	Fix the non-GCC definitions.
d7905 1
a7905 1
	* callint.c (Fcall_interactively): New arg KEYS.
d7907 1
a7907 2
	* keyboard.c (Fcommand_execute): New arg KEYS.  Callers changed.
	(read_char): Specify KEYS when handling Vspecial_event_map.
d7909 2
a7910 1
Thu Oct 26 15:03:54 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7912 1
a7912 1
	* msdos.c (IT_ring_bell): Use intdos, not write.
d7914 1
a7914 1
Wed Oct 25 15:19:08 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d7916 1
a7916 2
	* data.c [!HAVE_FMOD] (fmod): Make consistent with ANSI definition.
	Don't use drem; it's not the same function.
d7918 2
a7919 1
Tue Oct 24 12:29:33 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7921 1
a7921 1
	* s/linux.h (REGEXP_IN_LIBC): Definition turned off.
d7923 1
a7923 1
	* minibuf.c (syms_of_minibuf): Doc fix.
d7925 1
a7925 1
Mon Oct 23 00:32:39 1995  Erik Naggum  <erik@@churchy.gnu.ai.mit.edu>
d7927 1
a7927 2
	* fns.c (map_char_table): Map over only CHAR_TABLE_ORDINARY_SLOTS
	slots, not vector size.
d7929 1
a7929 6
	* 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.
d7931 2
a7932 1
Sun Oct 22 12:39:41 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7934 1
a7934 4
	* msdos.c (recent_doskeys_index, total_doskeys, recent_doskeys):
	New variables.
	(Frecent_doskeys): New function.
	(syms_of_msdos): New function.
d7936 1
a7936 1
	* search.c (string_match_1): Pass the POSIX arg to compile_pattern.
d7938 8
a7945 2
	* keyboard.c (ok_to_echo_at_next_pause): Make it a char *.
	(read_char): Copy and compare with echo_area_glyphs.
d7947 1
a7947 2
	* buffer.c (reset_buffer_local_variables): Call
 	Fset_standard_case_table if std case table seems to have been changed.
d7949 1
a7949 1
Sat Oct 21 13:04:57 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7951 1
a7951 2
	* buffer.c (reset_buffer): Initialize redisplay_end_trigger slot.
	Initialize extra1, extra2 and extra3 slots.
d7953 1
a7953 2
	* textprop.c (Fnext_single_property_change): Rearrange handling of
	limit = t; don't return t.
d7955 3
a7957 2
	* xdisp.c (try_window_id): Stop the compute_motion at ZV, not Z,
	when checking if all changes are below the window.
d7959 2
a7960 4
	* 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.
d7962 1
a7962 1
Fri Oct 20 19:20:42 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7964 1
a7964 3
	* xdisp.c (Qredisplay_end_trigger_hook): New variable.
	(syms_of_xdisp): Set up Lisp variable.
	(display_text_line): Run the hook when appropriate.
d7966 1
a7966 3
	* 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.
d7968 1
a7968 2
	* buffer.h (struct buffer): New slot redisplay_end_trigger.
	Also extra1, extra2, extra3.
d7970 2
a7971 1
Thu Oct 19 09:36:12 1995  Erik Naggum  <erik@@naggum.no>
d7973 1
a7973 1
	* fns.c (Fmap_char_table): Call map_char_table with correct args.
d7975 4
a7978 1
Wed Oct 18 16:44:29 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d7980 1
a7980 1
	* config.in (RE_TRANSLATE_TYPE): New definition.
d7982 1
a7982 4
	* 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.
d7984 1
a7984 2
	* buffer.c (reset_buffer_local_variables):
	Get the up, eqv and canon tables from within the down case table.
d7986 1
a7986 1
	* editfns.c (Fchar_equal): Handle char-table as case table.
d7988 1
a7988 2
	* fns.c (Fchar_table_subtype): New function.
	(syms_of_fns): defsube it.
d7990 1
a7990 2
	* fns.c (map_char_table): When possible, use a number
	to describe the range.
d7992 2
a7993 1
	* doc.c (Fsubstitute_command_keys): Pass new arg to describe_map_tree.
d7995 1
a7995 1
	* keymap.c (describe_map_tree): New arg always_title.  Callers changed.
d7997 2
a7998 2
	* search.c (compile_pattern_1, compile_pattern, search_buffer):
	Case tables are char-tables now.
d8000 1
a8000 1
Mon Oct 16 17:35:25 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8002 1
a8002 5
	* 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.
d8004 3
a8006 2
	* keyboard.c (read_char): Let Vkeyboard_translate_table	be char-table.
	(syms_of_keyboard): Doc fix.
d8008 1
a8008 1
Sun Oct 15 12:05:50 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8010 1
a8010 3
	* lread.c (read1): Handle #' as prefix.
	(Qfunction): New variable.
	(syms_of_lread): Set up Qfunction.
d8012 1
a8012 2
	* fns.c (Fchar_table_range): New function.
	(syms_of_fns): defsubr it.
d8014 1
a8014 1
Sat Oct 14 20:57:54 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8016 2
a8017 2
	* unexelfsgi.c (find_section): New function.
	(unexec): Use it.  Also simplify previous changes.
d8019 2
a8020 1
Fri Oct 13 21:31:43 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8022 1
a8022 4
	* 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.
d8024 6
a8029 1
	* xterm.c (x_term_init, XTread_socket): Add HAVE_X_I18N support.
d8031 1
a8031 1
	* xfns.c (x_window, both versions): Add HAVE_X_I18N support.
d8033 1
a8033 1
Thu Oct 12 11:44:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8035 1
a8035 4
	* xterm.h (HAVE_X_I18N): New macro.
	Maybe include Xlocale.h.
	(struct x_output): New field xic.
	(FRAME_XIC): New macro.
d8037 1
a8037 1
	* window.c (Fdelete_other_windows): Set w->force_start.
d8039 1
a8039 1
	* xdisp.c (syms_of_xdisp): Doc fix.
d8041 1
a8041 1
Wed Oct 11 13:01:50 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8043 1
a8043 2
	* fileio.c (Finsert_file_contents): If replacing,
	set selected_window->start_at_line_beg.
d8045 1
a8045 1
Wed Oct 11 15:12:35 1995  Kim Storm  <kfstorm@@wombat.gnu.ai.mit.edu>
d8047 2
a8048 5
	* 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.
d8050 1
a8050 6
	* 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.
d8052 1
a8052 3
	* 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.
d8054 5
a8058 13
	* 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.
d8060 1
a8060 3
	* msdos.h (internal_flush): Removed
	(mouse_init1, mouse_check_moved, mouse_pressed, mouse_released): Removed.
	(dos_get_saved_screen, dos_set_keyboard): New functions.
d8062 1
a8062 4
	* s/msdos.h: Check that DJGPP v. 1 is used.
	Define __DJGPP__ to 1.
	Simplified INTERNAL_TERMINAL termcap definition.
	Removed #define fflush internal_flush.
d8064 1
a8064 3
	* sysdep.c: (init_sys_modes) [!HAVE_X_WINDOWS (MSDOS)]:
	Always call set_terminal_modes.
	(reset_sys_modes) [MSDOS]: Do not look at EMACSCOLORS.
d8066 2
d8069 1
a8069 1
Wed Oct 11 02:24:27 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8071 2
a8072 1
	* buffer.c (Fkill_buffer): Don't kill auto save file if not recent.
d8074 1
a8074 1
	* keymap.c (describe_vector): Support nested char-tables.
d8076 2
a8077 1
Tue Oct 10 12:26:49 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8079 1
a8079 1
	* Give char-tables a new slot `purpose'.
d8081 1
a8081 2
	* lisp.h (struct Lisp_Char_Table): New slot `purpose'.
	(CHAR_TABLE_STANDARD_SLOTS): Add one.
d8083 1
a8083 3
	* 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.
d8085 1
a8085 5
	* 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.
d8087 1
a8087 4
	* 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.
d8089 5
a8093 4
	* disptab.h (DISP_TABLE_P): Check the `purpose' slot.
	(Qdisplay_table): Declared.
	* dispnew.c (Qdisplay_table): New variable.
	(syms_of_display): Initialize it.
d8095 1
a8095 1
Mon Oct  9 17:05:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8097 4
a8100 3
	* 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.
d8102 2
a8103 1
	* lisp.h (CHECK_VECTOR_OR_CHAR_TABLE): New macro.
d8105 2
a8106 1
Mon Oct  9 16:51:42 1995  Erik Naggum  <erik@@naggum.no>
d8108 1
a8108 1
	* buffer.c (buffer-display-table): Document new implementation.
d8110 2
a8111 1
Mon Oct  9 12:26:25 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8113 1
a8113 1
	* minibuf.c (temp_echo_area_glyphs): Restore the old point value.
d8115 1
a8115 1
Sun Oct  8 15:25:18 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8117 1
a8117 2
	* process.c (exec_sentinel, read_process_output):
	Call record_asynch_buffer_change only if caller is reading kbd input.
d8119 1
a8119 2
	* buffer.c (init_buffer_once): Make file_format always local,
	not just local when set.
d8121 1
a8121 1
Sat Oct  7 22:55:46 1995  Erik Naggum  <erik@@naggum.no>
d8123 1
a8123 1
	* alloc.c (Fmake_char_table): Initialize parent to nil.
d8125 1
a8125 1
Sat Oct  7 12:06:49 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8127 1
a8127 1
	* keyboard.c (command_loop_1): Access display tables as char-tables.
d8129 1
a8129 5
	* 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.
d8131 1
a8131 5
	* 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.
d8133 2
a8134 5
	* 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.
d8136 1
a8136 1
	* keymap.c (describe_vector): Use Flength to get length of vector.
d8138 2
a8139 1
	* Makefile.in (bytecode.o): Depend on syntax.h.
d8141 1
a8141 1
Fri Oct  6 15:33:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8143 1
a8143 11
	* 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.
d8145 2
a8146 7
	* 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.
d8148 1
a8148 3
	* callint.c (callint_message, callint_message_size): New vars.
 	(syms_of_callint): Set up new vars.
	(Fcall_interactively): Keep the prompt in the heap.
d8150 1
a8150 1
Thu Oct  5 19:14:59 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8152 1
a8152 1
	* window.c (Fset_window_hscroll): Don't reject args > SHORTBITS.
d8154 2
a8155 1
	* indent.c (Fmove_to_column): Make it interactive.
d8157 1
a8157 1
Wed Oct  4 11:45:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8159 1
a8159 3
	* lisp.h (struct Lisp_Char_Table): New structure.
	(CHAR_TABLE_STANDARD_SLOTS, CHAR_TABLE_ORDINARY_SLOTS): New macros.
	(CHAR_TABLE_EXTRA_SLOTS): New macro.
d8161 1
a8161 3
	* buffer.c (Fmake_indirect_buffer): Was taking marker positions
	from current buffer, which is irrelevant.
	(init_buffer_once): Make buffer-file-format always local.
d8163 2
a8164 1
Tue Oct  3 05:08:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8166 2
a8167 2
	* unexec.c (write_segment): Write valid data in units of 1<<13,
	but write zeros only a page at a time.
d8169 2
a8170 1
	* window.c (window_scroll): Always set force_start.
d8172 1
a8172 1
Mon Oct  2 11:52:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8174 7
a8180 1
	* eval.c (run_hook_with_args_2): New function.
d8182 1
a8182 2
	* unexec.c (write_segment): Use pagesize as unit of writing
	instead of 128.
d8184 1
a8184 1
	* lisp.h (CHECK_CHAR_TABLE): New macro.
d8186 1
a8186 3
	* frame.c (Qmouse_leave_buffer_hook): New variable.
 	(syms_of_frame_1): Initialize it.
	(Fhandle_switch_frame): Run the hooks.
d8188 1
a8188 4
	* keyboard.c (Vsuggest_key_bindings): New variable.
	(syms_of_keyboard): Set up Lisp variable.
	(Fexecute_extended_command): When enabled, show an equivalent
	key binding.
d8190 1
a8190 1
Sun Oct  1 00:11:20 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8192 2
a8193 3
	* xterm.c (x_connection_signal_1): New function.
	(x_connection_signal): Try all the server connections
	to see which one was lost.
d8195 2
a8196 1
Fri Sep 29 00:12:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8198 1
a8198 4
	* xdisp.c (Qwindow_scroll_functions, Vwindow_scroll_functions):
	New variables.
	(syms_of_xdisp): Initialize them.
	(redisplay_window): Call the functions when appropriate.
d8200 3
a8202 3
	* xterm.c (XTcondemn_scroll_bars): No error if
	FRAME_CONDEMNED_SCROLL_BARS is non-nil already.
	Just move all the scroll bars into there.
d8204 2
a8205 3
	* 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.
d8207 2
a8208 3
	* fileio.c (barf_or_query_if_file_exists): New arg STATPTR.
	Callers changed.
	(Fcopy_file): Error if input and output are the same file.
d8210 1
a8210 1
Thu Sep 28 19:02:17 1995  Carsten Bormann  <cabo@@informatik.uni-bremen.de>
d8212 1
a8212 7
	* 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.
d8214 2
a8215 1
Wed Sep 27 16:16:38 1995  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d8217 1
a8217 5
	* 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.
d8219 2
a8220 6
	* 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.
d8222 1
a8222 3
	* 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.
d8224 1
a8224 4
	* fns.c (Fcopy_sequence, Felt, internal_equal, Ffillarray):
	Handle chartables and boolvectors.
	(Flength, concat): Handle boolvectors as args.
	(Flength): Handle chartables as args.
d8226 1
a8226 2
	* alloc.c (Fmake_chartable, Fmake_boolvector): New functions.
	(syms_of_alloc): defsubr them.
d8228 2
a8229 1
	* buffer.c (Fmake_overlay): Set end-marker's insertion_type to 1.
d8231 1
a8231 1
Fri Sep 22 14:34:22 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d8233 2
a8234 1
	* xfns.c (Fx_create_frame): Set up buffer-predicate slot.
d8236 1
a8236 3
	* gmalloc.c (current_core_address): New function.
	(_malloc_internal): Use current_core_address.
	(morecore): Avoid using __morecore (0).
d8238 1
a8238 1
	* ralloc.c (r_alloc_sbrk): Round up amount being returned.
d8240 2
a8241 1
Wed Sep 20 03:27:58 1995  Paul Eggert  <eggert@@twinsun.com>
d8243 1
a8243 7
	* 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.
d8245 2
a8246 1
Sun Sep 17 10:28:39 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d8248 1
a8248 1
	* xfns.c (x_decode_color): Get error if color not defined.
d8250 2
a8251 2
	* xmenu.c (popup_get_selection): Pop menu down if button is pressed
	outside the menu.
d8253 3
a8255 1
	* minibuf.c (read_minibuf_unwind): Use safe_run_hooks.
d8257 1
a8257 1
	* keyboard.c (safe_run_hooks): No longer static.
d8259 3
a8261 4
	* 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.
d8263 2
a8264 1
Fri Sep 15 12:45:31 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d8266 1
a8266 1
	* lread.c (Fload): Rename arg STR to FILE.
d8268 1
a8268 1
Thu Sep 14 03:11:15 1995  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d8270 1
a8270 2
	* ralloc.c (r_alloc_sbrk): Get the right heap data address
	in multi-heap case.
d8272 1
a8272 1
Tue Sep 12 13:33:31 1995  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d8274 1
a8274 4
	* 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.
d8276 1
a8276 1
Tue Sep 12 01:39:15 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8278 1
a8278 1
	* insdel.c (signal_after_change): Call report_interval_modification.
d8280 5
a8284 7
	* 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.
d8286 1
a8286 1
Sun Sep 10 20:12:36 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8288 1
a8288 1
	* xmenu.c (xmenu_show): Ignore `quote' when looking up the result.
d8290 2
a8291 1
Sun Sep 10 04:06:23 1995  Paul Eggert  <eggert@@twinsun.com>
d8293 2
a8294 9
	* 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.
d8296 1
a8296 1
Sat Sep  9 15:31:15 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8298 1
a8298 2
	* keyboard.c (command_loop_1): Set this_command to nil
	before reading a command.
d8300 1
a8300 1
	* editfns.c (Fdecode_time): Doc fix.
d8302 1
a8302 1
Fri Sep  8 12:24:20 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8304 1
a8304 1
	* m/apollo.h (HAVE_UNISTD_H): Add #undef.
d8306 1
a8306 1
Thu Sep  7 06:12:50 1995  Paul Eggert  <eggert@@twinsun.com>
d8308 1
a8308 7
	* 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.
d8310 1
a8310 1
Wed Sep  6 04:25:50 1995  Paul Eggert  <eggert@@twinsun.com>
d8312 1
a8312 2
	* configure.in (LOCALTIME_CACHE): Define if tzset exists and
	if localtime caches TZ.  Check for tzset.
d8314 2
a8315 4
	* 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.
d8317 2
a8318 1
Wed Sep  6 03:41:34 1995  Erik Naggum  <erik@@naggum.no>
d8320 1
a8320 1
	* alloc.c (Fmake_marker): Initialize insertion_type to 0.
d8322 1
a8322 1
Sun Sep  3 13:28:58 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8324 2
a8325 2
	* insdel.c (adjust_markers_for_insert): New function.
	(insert_from_buffer_1, insert_from_string_1, insert_1): Call it.
d8327 1
a8327 1
Fri Sep  1 21:19:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8329 3
a8331 2
	* fileio.c (Fmake_symbolic_link, Fadd_name_to_file):
	Look for handler for the new name as well as for the target.
d8333 1
a8333 2
	* dired.c (Ffile_name_all_completions, Ffile_name_completion):
	Look for handler for FILE as well as for DIRNAME.
d8335 1
a8335 1
Thu Aug 31 22:00:41 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8337 1
a8337 3
	* marker.c (Fcopy_marker): New arg TYPE.
	(Fmarker_insertion_type, Fset_marker_insertion_type): New functions.
	(syms_of_marker): defsubr them.
d8339 1
a8339 2
	* buffer.c (Fmake_indirect_buffer): Set the insertion_type of the
	zv_marker markers to 1.
d8341 1
a8341 1
	* window.c (save_window_save): Pass the new arg to Fcopy_marker.
d8343 1
a8343 1
	* editfns.c (save_excursion_save): Pass the new arg to Fcopy_marker.
d8345 2
a8346 1
Thu Aug 31 20:58:21 1995  Erik Naggum  <erik@@naggum.no>
d8348 1
a8348 2
	* keyboard.c (Fcommand_execute): Ignore `disabled' property on
	commands if `disable-command-hook' is nil.
d8350 1
a8350 1
Wed Aug 30 11:56:09 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8352 1
a8352 2
	* keyboard.c (read_key_sequence): Validate the event position
	before calling get_local_map.
d8354 1
a8354 1
Tue Aug 29 14:56:45 1995 Jack Repenning <jackr@@sgi.com>
d8356 1
a8356 2
	* unexelfsgi.c: Compute new data offset based on memory
	address; also, copy .got from memory not temacs.
d8358 1
a8358 1
Tue Aug 29 17:50:16 1995  Kim Storm  <kfs@@olicom.dk>
d8360 6
a8365 5
	* 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.
d8367 2
a8368 1
	* msdos.h (sleep_or_kbd_init): Delete declaration.
d8370 1
a8370 2
	* frame.c [!MULTI_FRAME] (Factive_minibuffer_window): New function.
	[!MULTI_FRAME] (syms_of_frame): defsubr it.
d8372 2
a8373 6
	* 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.
d8375 1
a8375 2
	* puresize.h (SITELOAD_PURESIZE_EXTRA): New macro.
	(BASE_PURESIZE): Use SITELOAD_PURESIZE_EXTRA.
d8377 1
a8377 19
	* 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.
d8379 1
d8381 1
a8381 1
Tue Aug 29 00:34:55 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8383 1
a8383 1
	* msdos.c (struct IT_menu_state): Refer to it as struct, not typedef.
d8385 4
a8388 1
	* editfns.c (Fdecode_time): Doc fix.
d8390 1
a8390 2
	* minibuf.c (Fdisplay_completion_list): Clear all text properties
	for the whitespace between completion items.
d8392 1
a8392 2
	* xterm.c (x_wm_set_icon_pixmap): If trying to turn off icon
	pixmap, do nothing.
d8394 1
a8394 1
Mon Aug 28 16:38:40 1995  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d8396 1
a8396 2
	* s/gnu.h (GETPGRP_NO_ARG, WAIT_USE_INT, UNEXEC): New macros.
	(HAVE_SOCKETS, A_TEXT_SEEK, NO_REMAP): Macros removed.
d8398 1
a8398 1
Sun Aug 27 19:52:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8400 1
a8400 1
	* doprnt.c (doprnt): Fix typo in error message.
d8402 1
a8402 1
Sat Aug 26 13:09:28 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8404 2
a8405 1
	* emacs.c (decode_env_path): Use ".", not nil, for current dir.
d8407 1
a8407 1
Tue Aug 22 17:00:39 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8409 2
a8410 1
	* keyboard.c (modifier_names): Add 4 bits to modifier bit positions.
d8412 2
a8413 1
Mon Aug 21 20:27:37 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d8415 1
a8415 2
	* xdisp.c (display_text_line): Write blanks under the entire
	scroll bar, not just the first column.
d8417 1
a8417 1
Mon Aug 21 15:20:39 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8419 1
a8419 1
	* s/irix5-2.h (SA_RESTART): Add #undef.
d8421 1
a8421 4
	* 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.
d8423 2
a8424 1
Sun Aug 20 11:45:10 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8426 2
a8427 1
	* s/aix3-1.h (SYSTEM_TYPE): Change to just "aix".
d8429 6
a8434 3
	* 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.
d8436 2
a8437 3
	* s/aix3-2-5.h (POSIX_SIGNALS, CLASH_DETECTION): Defined.
	(SIGNALS_VIA_CHARACTERS, MAIL_USE_LOCKF): Defined.
	(sigmask, sigsetmask, _setjmp, _longjmp): Add undefs.
d8439 2
a8440 1
Sat Aug 19 01:38:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8442 1
a8442 1
	* dispnew.c: Include syssignal.h.
d8444 1
a8444 1
	* lisp.h (struct Lisp_Marker): Make insertion_type an unsigned int.
d8446 3
a8448 1
Wed Aug 16 15:27:26 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8450 1
a8450 1
	* syntax.c (scan_sexps_forward): Fix previous change.
d8452 3
a8454 1
Tue Aug 15 14:46:52 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d8456 4
a8459 2
	* emacs.c (sort_args): Initialize best_priority smaller than any
	actual priority.
d8461 1
a8461 1
Mon Aug 14 13:12:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8463 2
a8464 2
	* fileio.c (Fwrite_region): New arg lockname.
	(auto_save_1): Pass new arg.
d8466 1
a8466 1
	* callproc.c (Fcall_process_region): Pass new arg to Fwrite_region.
d8468 1
a8468 1
	* emacs.c (standard_args): Fix previous change.
d8470 1
a8470 1
Mon Aug 14 12:01:33 1995  Erik Naggum  <erik@@naggum.no>
d8472 1
a8472 2
	* emacs.c (standard_args): Add option --eval to evalute an
 	expression on the command line and print the result.
d8474 1
a8474 1
Mon Aug 14 04:09:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8476 1
a8476 2
	* cmds.c (Fself_insert_command): Optimize the case with arg > 2
	to avoid running change hooks lots of times.
d8478 2
a8479 1
Sun Aug 13 00:56:51 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8481 2
a8482 3
	* s/isc4-1.h (NO_SOCKETS_IN_FILE_SYSTEM): Defined.
	(START_FILES): Defined.
	(LIB_STANDARD): New definition, details depending on __GNUC__.
d8484 1
a8484 2
	* syntax.c (scan_sexps_forward): Use the initial depth
	in the starting state for tracking when we reach TARGETDEPTH.
d8486 1
a8486 1
Fri Aug 11 18:35:14 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8488 1
a8488 5
	* 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.
d8490 1
a8490 1
Thu Aug 10 00:48:40 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8492 1
a8492 2
	* s/linux.h (ULIMIT_BREAK_VALUE, SEGMENT_MASK): Moved to intel386.h
	(LIBS_SYSTEM): Define this instead of LIBS_MACHINE.
d8494 4
a8497 2
	* m/intel386.h [linux] (ULIMIT_BREAK_VALUE, SEGMENT_MASK):
	Moved from linux.h.
d8499 3
a8501 2
	* m/alpha.h [linux] (COFF, NO_TERMIO): Defined.
	[linux] (TEXT_END, DATA_END): New definitions.
d8503 1
a8503 1
	* unexalpha.c (fatal_unexec): Use vfprintf, not _doprnt.
d8505 1
a8505 2
	* m/alpha.h (LIBS_DEBUG, START_FILES, LIBS_MACHINE):
	Define only if __osf1__.
d8507 1
a8507 2
	* macros.c (Fcancel_kbd_macro_events): New function.
	(syms_of_macros): defsubr it.
d8509 2
a8510 1
	* frame.c (store_frame_param): Don't call set_menu_bar_lines if X.
d8512 1
a8512 1
Mon Aug  7 18:51:11 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8514 2
a8515 3
	* 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.
d8517 1
a8517 1
	* doprnt.c (doprnt): Error if %-width is too big.
d8519 3
a8521 1
	* editfns.c (Fformat): Limit minlen to avoid stack overflow.
d8523 2
a8524 1
Mon Aug  7 13:48:47 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d8526 2
a8527 2
	* insdel.c (signal_before_change, signal_after_change): Fix
	spelling of Vbefore_change_functions and Vafter_change_functions.
d8529 1
a8529 1
Mon Aug  7 13:51:48 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8531 1
a8531 2
	* doprnt.c (doprnt): Don't let size_bound be gigantic.
	Fix error message.
d8533 1
a8533 1
Sun Aug  6 01:02:06 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8535 1
a8535 2
	* buffer.c (get_truename_buffer): New function.
	* filelock.c (lock_file): Use get_truename_buffer.
d8537 2
a8538 1
	* emacs.c (main) [USG5]: Call setpgrp without testing INTERRUPT_INPUT.
d8540 1
a8540 2
	* xdisp.c (redisplay): Compute mini_frame the same way
 	echo_area_display does.
d8542 3
a8544 2
	* keyboard.c (kbd_buffer_store_event):
	Don't insert two buffer_switch_event's in a row.
d8546 1
a8546 2
	* xfns.c (x_set_menu_bar_lines) [USE_X_TOOLKIT]: When turning
	menu bar on, make sure next redisplay creates it.
d8548 1
a8548 1
	* eval.c (run_hook_with_args): Move the GCPRO2; add UNGCPRO.
d8550 4
a8553 4
	* 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.
d8555 1
a8555 1
Sat Aug  5 01:04:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8557 1
a8557 1
	* search.c (Freplace_match): New arg SUBEXP.
d8559 1
a8559 3
	* 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.
d8561 1
a8561 10
	* 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.
d8563 1
a8563 3
	* 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.
d8565 1
a8565 1
	* xfns.c (Ffocus_frame, Funfocus_frame): Make them no-ops.
d8567 1
a8567 1
Fri Aug  4 15:38:18 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8569 1
a8569 1
	* xterm.c (x_delete_display) [AIX]: Don't call XRmDestroyDatabase.
d8571 3
a8573 1
	* msdos.c (IT_write_glyphs): Call ScreenSetCursor.
d8575 3
a8577 6
	* 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.
d8579 2
a8580 1
Thu Aug  3 04:28:29 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8582 6
a8587 3
	* 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.
d8589 2
a8590 4
	* 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.
d8592 1
a8592 1
Wed Aug  2 00:14:16 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8594 4
a8597 3
	* 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.
d8599 1
a8599 2
	* xmenu.c [USE_X_TOOLKIT] (xmenu_show): Compute root-based
 	coordinates.  Make a dummy event to pass them to lw_popup_menu.
d8601 1
a8601 1
	* lread.c (Funintern): Fix deleting the last symbol in a chain.
d8603 1
a8603 1
Tue Aug  1 03:19:17 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8605 3
a8607 3
	* 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.
d8609 1
a8609 2
	* frame.c (do_switch_frame): Do nothing special when switching
	between terminal frames.
d8611 1
a8611 1
Mon Jul 31 14:17:30 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d8613 2
a8614 2
	* s/usg5-4.h, s/sol2-5.h (GETTIMEOFDAY_ONE_ARGUMENT): Deleted;
	configure handles this now.
d8616 1
a8616 1
Mon Jul 31 06:04:12 1995  Simon Marshall  <simon@@duality.gnu.ai.mit.edu>
d8618 1
a8618 7
	* 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.
d8620 1
a8620 3
	* lisp.h (Frun_hook_with_args,
	Frun_hook_with_args_until_success,
	Frun_hook_with_args_until_failure): Declare them.
d8622 1
a8622 1
Mon Jul 31 01:34:30 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8624 1
a8624 1
	* xterm.c (XTread_socket): For UnmapNotify, use x_top_window_to_frame.
d8626 2
a8627 1
	* keyboard.c (kbd_buffer_get_event, swallow_events): Fix prev change.
d8629 1
a8629 1
Sun Jul 30 02:23:55 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8631 1
a8631 2
	* xmenu.c (single_submenu):
	Only ignore 1st char of pane name if that is an @@.
d8633 1
a8633 1
	* frame.c (Fmake_terminal_frame): Copy face_alist from selected frame.
d8635 2
a8636 1
	* s/linux.h (HAVE_XRMSETDATABASE): Define if not defined.
d8638 2
a8639 1
Fri Jul 28 20:07:35 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8641 1
a8641 1
	* s/isc3-0.h (HAVE_SELECT): Defined.
d8643 2
a8644 3
	* s/isc4-1.h (HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
	(HAVE_TERMIOS): Defined.
	(HAVE_TERMIO): Add undef.
d8646 1
a8646 1
	* s/isc4-0.h (sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
d8648 1
a8648 1
	* process.c: Maybe include net/errno.h.
d8650 1
a8650 7
	* 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.
d8652 1
a8652 1
Fri Jul 28 14:49:20 1995  Gvran Uddeborg  <uddeborg@@carmen.se>
d8654 3
a8656 1
	* s/isc4-1.h: ISC 4.1 has termios.
d8658 1
a8658 1
Thu Jul 27 22:54:05 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8660 2
a8661 1
	* config.in (GETTIMEOFDAY_ONE_ARGUMENT): Add #undef.
d8663 1
a8663 1
Thu Jul 27 17:22:19 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d8665 1
a8665 1
	* eval.c (syms_of_eval): Add missing defsubr.
d8667 1
a8667 8
	* 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.
d8669 3
a8671 1
Thu Jul 27 03:17:48 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8673 1
a8673 5
	* 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.
d8675 1
a8675 4
	* 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.
d8677 2
a8678 1
Wed Jul 26 04:21:28 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8680 4
a8683 1
	* Makefile.in (prefix-args): Pass ALL_LDFLAGS.
d8685 2
a8686 1
	* xdisp.c (syms_of_xdisp): Doc fix.
d8688 1
a8688 3
	* 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.
d8690 1
a8690 1
Tue Jul 25 16:18:18 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8692 1
a8692 2
	* m/iris4d.h (LIBS_MACHINE): Delete -lsun.
	* s/irix3-3.h (LIBS_SYSTEM): Defined.
d8694 1
a8694 5
	* 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.
d8696 2
a8697 1
Tue Jul 25 15:25:56 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d8699 3
a8701 4
	* 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.
d8703 1
a8703 1
Mon Jul 24 22:28:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8705 6
a8710 2
	* xterm.c (next_noop_dpyinfo): New variable.
	(XTread_socket): Use that to cycle through all displays for XNoOp.
d8712 1
a8712 1
Mon Jul 24 22:06:44 1995  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d8714 1
a8714 2
	* undo.c (Fprimitive_undo): Don't end inner loop
	just because a previous-modtime doesn't match any more.
d8716 1
a8716 1
Mon Jul 24 21:41:23 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8718 1
a8718 2
	* process.c (Fstart_process):
	Don't expand the file name before trying openp.
d8720 3
a8722 1
Sun Jul 23 03:09:39 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8724 1
a8724 19
	* 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.
d8726 1
a8726 2
	* xdisp.c (update_menu_bar): Pass new arg to set_frame_menubar.
	* xfns.c (x_menubar_window_to_frame): New function.
d8728 1
a8728 2
	* window.c (Fprevious_window, Fnext_window): When minibuf = nil,
	accept only the minibuffer window that is currently active.
d8730 2
a8731 1
Fri Jul 21 01:11:06 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8733 1
a8733 2
	* lread.c (read_list): When a file loaded from site-init.el uses #$,
	turn it into a relative file name starting with ../lisp.
d8735 1
a8735 2
	* dispnew.c (update_frame): Check that the echo area is in the
	frame being displayed.
d8737 1
a8737 2
	* keyboard.c (command_loop_1): Clear echo area after 2 sec
	only if the minibuffer is in the same place as the echo area.
d8739 1
a8739 1
	* window.h (echo_area_window): Declared.
d8741 1
a8741 6
	* 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.
d8743 1
a8743 3
	* 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.
d8745 1
a8745 2
	* xdisp.c (redisplay): Skip shortcuts if buffer's clip_changed is set.
	(redisplay_window): If buffer's clip_changed is set, update mode line.
d8747 5
a8751 5
	* 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.
d8753 1
a8753 1
Thu Jul 20 17:07:19 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8755 1
a8755 2
	* s/aix4.h (AIX4): New definition.
	* m/ibmrs6000.h (LD_SWITCH_MACHINE) [AIX4]: New alternate definition.
d8757 1
a8757 2
	* xmenu.c (set_frame_menubar): If the Lisp-level menu bar menus
	are unchanged, don't recompute the widgets.
d8759 1
a8759 2
	* xmenu.c (syms_of_xmenu): Set up Qdebug_on_next_call.
	(set_frame_menubar): Bind it to nil.
d8761 2
a8762 3
	* 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.
d8764 3
a8766 1
	* editfns.c (Fformat): Doc fix.
d8768 1
a8768 1
Thu Jul 20 16:23:21 1995  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d8770 2
a8771 1
	* fns.c (Fsafe_length): Return a conservative upper bound.
d8773 1
a8773 1
Thu Jul 20 13:43:28 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8775 1
a8775 2
	* editfns.c (Fsubst_char_in_region):
	Bind buffer-file-name to nil if NOUNDO is true.
d8777 2
a8778 2
	* insdel.c (prepare_to_modify_buffer): Don't lock the file
	if current_buffer->filename is nil.
d8780 2
a8781 1
	* msdos.c (init_environment): Move alloca call out of function arg.
d8783 1
a8783 1
	* puresize.h [!MULTI_FRAME] (BASE_PURESIZE): Increased to 325000.
d8785 1
a8785 1
Wed Jul 19 11:51:23 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8787 1
a8787 2
	* textprop.c (Fget_char_property): If OBJECT is non-current buffer,
	use it properly for overlays_at.
d8789 1
a8789 1
Tue Jul 18 00:35:09 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8791 1
a8791 1
	* alloc.c (init_alloc_once): Set gc_cons_threshold from Lisp obj size.
d8793 1
a8793 2
	* editfns.c (Fmessage): Doc fix.
	(Fformat): Increment total for size of control string.
d8795 2
a8796 1
	* window.c (Fwindow_start): Doc fix.
d8798 2
a8799 1
	* xfaces.c (unload_color): Don't free colors if immutable colormap.
d8801 3
a8803 1
	* eval.c (Ffuncall, Fapply): Doc fix.
d8805 1
a8805 1
	* callint.c (Fcall_interactively): Doc fix.
d8807 1
a8807 1
	* fileio.c (Fexpand_file_name): Initial ~ means name is absolute.
d8809 1
a8809 7
	* 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.
d8811 2
a8812 3
	* 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.
d8814 1
a8814 2
	* unexsunos4.c (unexec): If not SUNOS4_SHARED_LIBRARIES
	or if apparently not dynamically linked, just clear rel and erel.
d8816 4
a8819 1
	* s/sunos4shr.h (SUNOS4_SHARED_LIBRARIES): Defined.
d8821 1
a8821 1
Tue Jul 18 00:35:09 1995  Mikael Djurfeldt  <mdj@@kidjo.nada.kth.se>
d8823 1
a8823 5
	* 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.
d8825 1
a8825 1
Mon Jul 17 20:29:54 1995  Karl Heuer  <kwzh@@kropotkin.gnu.ai.mit.edu>
d8827 1
a8827 1
	* bytecode.c (Fbyte_code): Fix variable names in previous change.
d8829 2
a8830 1
Mon Jul 17 20:12:34 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8832 3
a8834 1
	* xfns.c [USE_MOTIF]: Don't include X11/Xaw/Paned.h, X11/Xaw/Label.h.
d8836 4
a8839 1
Sun Jul 16 12:51:08 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d8841 1
a8841 2
	* keyboard.c (kbd_buffer_get_event): Discard a selection_clear_event
	before processing it.
d8843 1
a8843 2
	* bytecode.c (Fbyte_code): For Beqlsign, if both args are ints,
	compare as ints.
d8845 4
a8848 2
	* xterm.c [HAVE_X11XTR6]: Include locale.h
	(x_term_init) [HAVE_X11XTR6]: Set LC_NUMERIC and LC_TIME back to C.
d8850 1
a8850 1
	* data.c (Fnumber_to_string): Make `buffer' long enough.
d8852 1
a8852 1
Sat Jul 15 10:41:35 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d8854 1
a8854 1
	* xselect.c (x_clear_frame_selections): Delete duplicate code.
d8856 5
a8860 1
	* alloc.c (Flist): Rewritten.
d8862 1
a8862 1
Thu Jul 13 07:17:08 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d8864 1
a8864 1
	* dispnew.c (Fsit_for): Don't call prepare_menu_bars here.
d8866 3
a8868 1
	* emacs.c (main): Add to usage message.
d8870 1
a8870 1
	* s/netbsd.h (AMPERSAND_FULL_NAME): Defined.
d8872 1
a8872 1
Wed Jul 12 23:13:15 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d8874 2
a8875 1
	* s/sco4.h (SCO_R4): Defined.
d8877 1
a8877 1
Mon Jul 10 02:14:37 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d8879 1
a8879 2
	* floatfns.c (Fexpt): Use EMACS_INT for integer calculation.
	(Ffloor): Likewise.
d8881 2
a8882 1
Sun Jul  9 03:10:06 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d8884 1
a8884 7
	* 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.
d8886 2
a8887 1
	* s/aix4-1.h (_setjmp, _longjmp): Add #undef's.
d8889 1
a8889 5
	* 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.
d8891 1
a8891 5
	* 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.
d8893 1
a8893 2
	* fileio.c (Fwrite_region): If fsync fails with EINTR, don't
	report a Lisp error.
d8895 9
a8903 1
Sat Jul  8 11:59:50 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d8905 1
a8905 1
	* process.c (keyboard_bit_set): Fix one-off in loop end.
d8907 3
a8909 1
Fri Jul  7 01:00:29 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d8911 1
a8911 2
	* keymap.c (current_minor_maps): Catch errors in Findirect_function.
	(current_minor_maps_error): New function.
d8913 1
a8913 1
Thu Jul  6 06:40:37 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d8915 1
a8915 9
	* 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.
d8917 1
a8917 2
	* 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.
d8919 1
a8919 4
	* 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.
d8921 1
a8921 1
	* lread.c (Fread): Rename arg READCHARFUN to STREAM.
d8923 2
a8924 1
	* xfns.c (Fx_list_fonts): Don't free thisinfo if it is 0.
d8926 1
a8926 1
	* sysdep.c (sys_close): Handle Sunos 4.1 bug in close errno value.
d8928 6
a8933 1
Wed Jul  5 07:17:02 1995  Richard Stallman  <rms@@gnu.ai.mit.edu>
d8935 1
a8935 1
	* Makefile.in.in (lispsource): Renamed from lispdir.
d8937 1
a8937 1
	* sysdep.c (init_system_name): Add cast in init for fqdn.
d8939 1
a8939 1
Mon Jul  3 09:51:41 1995  Michael Shields  <shields@@tembel.org>
d8941 2
a8942 2
	* m/intel386.h [linux]: Include values.h and #undef
	certain macros, to avoid conflict later.
d8944 1
a8944 1
Thu Jul  6 14:29:14 1995  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d8946 1
a8946 1
	* s/irix6-0.h [!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
d8948 2
a8949 1
	* s/usg5-4-2.h (LIB_MOTIF, VFORK_RETURN_TYPE): Define these.
d8951 1
a8951 1
	* xterm.c (x_initialize) [USE_X_TOOLKIT]: Set fallback resources.
d8953 1
a8953 2
	* window.c (Fset_window_hscroll): Set clip_changed in the buffer.
	(temp_output_buffer_show): Likewise.
d8955 1
a8955 1
	* lisp.h (get_keymap_1): Declared.
d8957 2
a8958 2
	* editfns.c (Fwiden): Set clip_changed in current buffer.
	(Fnarrow_to_region, save_restriction_restore): Likewise.
d8960 2
a8961 2
	* buffer.c (overlays_in): Don't count empty overlays at END.
	(Foverlays_in): Likewise.
d8963 1
a8963 1
Sun Jul  2 02:02:44 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8965 1
a8965 2
	* keyboard.c (read_char): Temporarily clear Vquit_flag
	while checking Vspecial_event_map.
d8967 1
a8967 1
	* xdisp.c (redisplay_window): Fix typos in clip_changed change.
d8969 1
a8969 1
	* buffer.h (struct buffer): New field clip_changed.
d8971 1
a8971 6
	* 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.
d8973 1
a8973 1
Sat Jul  1 01:01:17 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d8975 2
a8976 6
	* 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.
d8978 1
a8978 4
	* fns.c (Fsafe_length): New function.
	(syms_of_fns): defsubr it.
	* lisp.h (Fsafe_length): Declared.
	* xfaces.c (compute_char_face): Use Fsafe_length.
d8980 1
a8980 1
	* s/aix4-1.h (sigsetmask): Add #undef.
d8982 1
a8982 1
	* s/riscos5.h: New file.
d8984 1
a8984 2
	* 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.
d8986 2
a8987 2
	* process.c (Fstart_process): Expand PROGRAM.
  	Error if it is a directory.
d8989 1
a8989 1
	* s/sunos4shr.h (LIBXMU): New definitions (two alternative ones).
d8991 1
a8991 1
	* s/sunos4-1-3.h: Don't use sunos4shr.h; go back to 19.28 definition.
d8993 3
a8995 1
Fri Jun 30 16:58:15 1995  Geoff Voelker  (voelker@@cs.washington.edu)
d8997 2
a8998 4
	* 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.
d9000 1
a9000 6
	* 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.
d9002 1
a9002 2
	* s/windows95.h (CANNOT_DUMP): Undefined.
	* makefile.nt (EMACS) [win95]: Removed.
d9004 2
a9005 6
	* 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.
d9007 1
a9007 1
Fri Jun 30 03:58:33 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d9009 1
a9009 1
	* s/hpux9.h (LIBX11_SYSTEM): Add undef.
d9011 1
a9011 2
	* m/intel386.h [SOLARIS] (LIBS_MACHINE): Move this out of the
	SOLARIS2_4 conditional.
d9013 1
a9013 4
	* 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.
d9015 2
a9016 1
Thu Jun 29 11:54:39 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d9018 1
a9018 2
	* s/aix3-2-5.h (C_OPTIMIZE_SWITCH, C_DEBUG_SWITCH): Use these
	names instead of C_SWITCH_OPTIMIZE, C_SWITCH_DEBUG.
d9020 2
a9021 1
	* s/aix4.h: Include aix3-2.h, not aix3-2-5.h.
d9023 1
a9023 1
	* callproc.c (child_setup): Don't get confused if in == err.
d9025 4
a9028 2
	* xterm.c (XTread_socket): Turn off meta, super, hyper and alt bits
	in the arg for XLookupKey.
d9030 1
a9030 1
Wed Jun 28 18:50:19 1995  Morten Welinder  <terra+@@cs.cmu.edu>
d9032 8
a9039 4
	* 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.
d9041 1
a9041 1
	* m/pmax.h [MACH]: Use built-in alloca, set START_FILES.
d9043 2
a9044 1
	* s/mach-bsd4-3.h: New file.
d9046 1
a9046 1
Wed Jun 28 02:07:24 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d9048 1
a9048 1
	* term.c (term_init): Alternative error messages for TERMCAP/TERMINFO.
d9050 2
a9051 2
	* m/alpha.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN)
	(PTY_TTY_NAME_SPRINTF): New definitions.
d9053 3
a9055 2
	* dispnew.c (update_frame): Pretend cursor is in echo area
	rather than put it in a minuffer hidden by the echo area.
d9057 1
a9057 1
Tue Jun 27 04:28:21 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d9059 1
a9059 1
	* s/hpux9.h (LIBXMU): New definition.
d9061 1
a9061 1
	* s/hpux9-x11r4.h, s/hpux9shxr4.h: New files.
d9063 2
a9064 2
	* xmenu.c (single_submenu): Handle commands appearing directly
	in the menu bar.
d9066 3
a9068 1
Mon Jun 26 02:40:10 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d9070 1
a9070 5
	* 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.
d9072 2
a9073 3
	* 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.
d9075 2
a9076 2
	* msdos.c (IT_cursor_to, IT_clear_end_of_line, IT_write_glyphs):
	(IT_set_face): Call internal_flush if short of room.
d9078 1
a9078 1
Sun Jun 25 16:38:41 1995  Morten Welinder  <terra+@@cs.cmu.edu>
d9080 1
a9080 2
	* emacs.c (init_cmdargs): Make Vinvocation_directory
	absolute if it isn't already.
d9082 1
a9082 1
Sun Jun 25 01:15:31 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d9084 1
a9084 2
	* frame.c (Fdelete_frame): It's ok to have no minibuffer left on
	a kboard if there are no frames on it either.
d9086 1
a9086 3
	* buffer.c (overlays_in): New function.
	(Foverlays_in): New function.
	(syms_of_buffer): defsubr it.
d9088 3
a9090 2
	* xfns.c (Fx_open_connection, x_display_info_for_name):
	Error if window-system is not x.
d9092 1
a9092 1
	* process.c (Fopen_network_stream): Sleep 1 sec before connect retry.
d9094 1
a9094 2
	* frame.c (next_frame, prev_frame): Consider only frames on same kbd.
	(Fdelete_frame): If next_frame finds nothing, try an alternative.
d9096 1
a9096 1
	* buffer.c (overlay_strings): Fix calls to xrealloc.
d9098 2
a9099 1
Sat Jun 24 00:06:46 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d9101 5
a9105 1
	* s/aix4-1.h (LIB_MOTIF): Defined.
d9107 1
a9107 1
	* emacs.c (main): Fix --help message.
d9109 2
a9110 1
	* window.c (Fsplit_window): Nicer error if split size is too small.
d9112 1
a9112 2
	* Makefile.in.in (LIBXMU): New macro.
	(LIBXT): Use LIBXMU.
d9114 1
a9114 1
Fri Jun 23 19:29:53 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d9116 1
a9116 2
	* fileio.c (directory_file_name): Don't get confused by // at end
	on Unix-like systems.
d9118 1
a9118 1
Thu Jun 22 10:47:43 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d9120 1
a9120 2
	* xmenu.c (menu_item_enabled_p_1): Special handling for quit.
	(set_frame_menubar): Inhibit quitting.
d9122 1
a9122 1
Wed Jun 21 19:06:36 1995  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d9124 1
a9124 1
	* buffer.c (syms_of_buffer): Doc fix.
d9126 1
a9126 2
	* Makefile.in.in (SOME_MACHINE_OBJECTS): Add dosfns.o,
	intervals.o, textprop.o.
d9128 1
a9128 1
See ChangeLog.5 for earlier changes.
@


1.1.1.20
log
@import emacs-19.32
@
text
@a0 748
Wed Jul 31 13:52:46 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* Version 19.32 released.

	* s/hpux10.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
	Override to add /usr/contrib directories.

Wed Jul 31 12:51:52 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (XTread_socket): Delete the code to pass menu bar keys
	to the toolkit alone.
	(XTread_socket): Don't fail to pass button events to toolkit.

Mon Jul 29 18:35:59 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (XTread_socket): Pass keys in menu bar to toolkit alone
	only for Motif.

	* xdisp.c (prepare_menu_bars): Conditionalize previous change.

Sat Jul 27 00:14:21 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* filelock.c (lock_file_owner_name): Always initialize the_pw.

	* xterm.c (XTread_socket): Fixing previous change:
	Clear last_mouse_press_frame on non-menu-bar ButtonPress.
	Always use last_mouse_press_frame as frame for ButtonRelease.
	But ignore the event if frame's output_data.x is null.
	Save the ButtonRelease only if USE_MOTIF.
	(last_mouse_press_frame): This is now a Lisp object.
	(syms_of_xterm): Initialize and staticpro it.

	* xmenu.c (pending_menu_activation): Don't initialize.  Not static.
	(set_frame_menubar): If no saved_menu_event yet, set deep_p.
	Don't clear pending_menu_activation here.

	* xmenu.c (Fx_popup_dialog): Don't fail to initialize WINDOW.

	* xdisp.c (prepare_menu_bars): Clear pending_menu_activation.
	
	* print.c: When printing into a buffer, generate all the text
	first, then insert it all at once.
	(print_buffer): New variable.
	(print_buffer_size, print_buffer_pos): New variables.
	(PRINTPREPARE): Allocate print_buffer.
	(PRINTFINISH): Free print_buffer after inserting its contents.
	(printchar, strout): Output into print_buffer.
	(print_string): If printcharfun is nil, use strout.

Fri Jul 26 16:42:26 1996  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>

	* xmenu.c (pending_menu_activation): New variable.
	(x_activate_menubar): Don't call set_frame_menubar for
	ButtonRelease events.  Instead, set pending_menu_activation.
	(set_frame_menubar): If pending_menu_activation, set deep_p.

	* xterm.c (last_mouse_press_frame): New variable.
	(XTread_socket): Store a saved_button_event for ButtonRelease.

Thu Jul 25 04:49:51 1996  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>

	* xmenu.c (set_frame_menubar): Use -1 for call_data
	in the deep_p = 0 case.

Wed Jul 24 21:40:29 1996  Geoff Voelker  <voelker@@joker.cs.washington.edu>

	* ntinevt.c (win32_read_socket): Never block reading from input queue.

Wed Jul 24 00:20:58 1996  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>

	* editfns.c (Fencode_time): Assign to tm.tm_gmtoff for NEXTSTEP,
	since timezone environment variable is ignored.

Tue Jul 23 14:29:12 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* buffer.c (buffer_permanent_local_flags): New variable.
	(init_buffer_once): Initialize it.
	(reset_buffer_local_variables): New argument PERMANENT_TOO.
	Callers changed.  Now declared static.

	* s/irix6-0.h [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.

	* m/mips.h, m/iris4.h, m/iris5d.h (LIBS_MACHINE) [__GNUC__ and ABIN32]:
	Define as empty.

Tue Jul 23 02:59:43 1996  Paul Eggert  <eggert@@twinsun.com>

	* editfns.c (Fdecode_time, difftm): Work even if tm_year represents
	negative years; this is possible with 64-bit time_t values.

Sat Jul 20 02:59:43 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* fileio.c (check_writable): Use euidaccess, not eaccess.

Sat Jul 20 00:43:14 1996  Erik Naggum  <erik@@naggum.no>

	* intervals.c (balance_intervals_internal): Recurse directly.

Fri Jul 19 15:47:06 1996  Eli Zaretskii  <eliz@@is.elta.co.il>

	* unexec.c (copy_text_and_data) [DJGPP >= 2]: Switch off two bits
	in `_crt0_startup_flags' so they don't go into the dumped Emacs.
	Restore the value of `_crt0_startup_flags' after .text and .data
	were dumped.

Fri Jul 19 15:37:36 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* s/irix5-0.h (_BSD_SIGNALS): Define.
	* s/irix6-0.h (SA_RESTART): Add #undef.

Tue Jul 16 19:21:25 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* w32term.c (w32_read_socket): Need to erase background
 	immediately before repainting exposed region.

	* makefile.nt (DOC, clean): Use OBJDIR macro.

Tue Jul 16 18:43:10 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* xfns.c (Fx_create_frame): Do xlwmenu hack only if USE_LUCID.

	* m/alpha.h, unexelf.c: Undo Jul 15 changes.
	* config.in, data.c, keyboard.c, process.c: Undo Jul 15 changes.
	* cm.h, sysdep.c, terminfo.c: Undo Jul 15 and Jul 16 changes.

Tue Jul 16 04:58:21 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* cm.h, terminfo.c, sysdep.c: Test HAVE_TERMIOS rather than the
	automatically-generated HAVE_TERMIOS_H, in case <termios.h> is
	present but unusable.

Tue Jul 16 01:45:28 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* fns.c (Fy_or_n_p): Pass 3rd arg to Flookup_key.

	* s/hpux10.h (LIBS_TERMCAP): New definition.

Mon Jul 15 19:53:14 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* window.c (struct save_window_data, struct saved_window): First
	placeholder member is EMACS_INT, not int.

	* print.c (print): Fix args in strout calls.

	* xterm.h (struct x_output): Member saved_button_event replaced by
	saved_menu_event.
	* xmenu.c (x_activate_menubar): Allow any event, not just ButtonPress.
	* xterm.c (SET_SAVED_MENU_EVENT): New macro.
	(SET_SAVED_BUTTON_EVENT, SET_SAVED_KEY_EVENT): New macros.
	(XTread_socket): Defer key events as well as button presses.

	* frame.c (Qmouse_leave_buffer_hook): Delete redundant definition.
	(syms_of_frame_1): Delete the duplicate assignment and staticpro.
	* lisp.h (Qmouse_leave_buffer_hook, Qfont): Declare here.
	* floatfns.c (Qarith_error): Delete redundant definition.
	* xfns.c (Qfont): Delete redundant definition.
	(syms_of_xfns): Delete the duplicate assignment and staticpro.
	* w32fns.c (Qfont): Delete redundant definition.
	(syms_of_win32fns): Delete the duplicate assignment and staticpro.
	* xfns.c (xlwmenu_default_font): Declare, but don't define.
	* xselect.c (last_event_timestamp): Declare, but don't define.

Mon Jul 15 17:30:15 1996  David Mosberger-Tang <davidm@@AZStarNet.com>

	* m/alpha.h (TEXT_START, DATA_START, DATA_SEG_BITS, UNEXEC, DATA_END):
	Omit these definitions if ELF.
	(LINUX_SBRK_BUG): Omit this if using a recent GNU library.
	[__ELF__] (C_SWITCH_MACHINE): Define.
	(NO_TERMIO): Define this unconditionally.
	(COFF): Omit this if ELF.
	* config.in (HAVE_TERMIOS_H): Add #undef.
	* cm.h [HAVE_TERMIOS_H]: Declare ospeed as speed_t.
	* sysdep.c [HAVE_TERMIOS_H]: Likewise.
	* dispnew.c: Don't delare ospeed; cm.h already did it.
	* terminfo.c: Use <config.h>.
	[HAVE_TERMIOS_H]: Declare ospeed as speed_t.
	[USG]: Include <string.h>.
	* data.c (arith_error): Don't reinstall sig handler if POSIX_SIGNALS.
	* keyboard.c (input_available_signal, interrupt_signal): Likewise.
	* process.c (create_process_1, sigchld_handler): Likewise.
	* unexelf.c: Add 64-bit ELF and Alpha/ELF support.

Sat Jul 13 20:05:47 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* search.c (Fmatch_data): If no matching done yet, return Qnil.

Sat Jul 13 20:03:19 1996  Paul Eggert  <eggert@@twinsun.com>

	* vmstime.c (sys_gmtime): Don't assume year < 2000.

Sat Jul 13 13:46:51 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* process.c (wait_reading_process_input) [hpux]: Workaround for
	annoying messages.

Fri Jul 12 21:02:21 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* indent.c (Fvertical_motion): Doc fix.

Thu Jul 11 20:25:00 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* w32fns.c (win32_wnd_proc): Handle WM_ERASEBKGND and
	WM_PALETTECHANGED messages inline (as they should be).

	* w32term.c (w32_read_socket): Remove unused WM_ERASEBKGND code.
	No need to erase background now on (delayed) WM_PAINT.  Move
	WM_PALETTECHANGED processing to raw input thread.

Thu Jul 11 20:05:05 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* keyboard.c (menu_bar_item): Skip menu-bar equiv keys data
	to get just the keymap.

	* s/irix5-0.h [__GNUC__] (C_DEBUG_SWITCH): New definition.

Thu Jul 11 19:40:48 1996  David Mosberger-Tang  <davidm@@AZStarNet.com>

	* mem-limits.h (lim_data): Make this an unsigned long.

Thu Jul 11 19:32:50 1996  Bill Mann  <dvmann@@dvncr.praxisint.com>

	* s/usg5-4-3.h: New file.

Thu Jul 11 19:22:46 1996  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>

	* xterm.c (XTread_socket): Add #ifdef for previous change.

Thu Jul 11 19:15:16 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* buffer.c (syms_of_buffer): Doc fix.

Mon Jul  8 00:31:57 1996  Roland McGrath  <roland@@delasyd.gnu.ai.mit.edu>

	* mem-limits.h [_LIBC]: Use weak_extern instead of weak_symbol for
	__data_start.

Sun Jul  7 19:51:11 1996  Michael I. Bushnell, p/BSG  <mib@@gnu.ai.mit.edu>

	* s/gnu.h: Enable use of ncurses library cleanly.

Sun Jul  7 18:55:30 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* xterm.c: Undo previous change.
	(XTread_socket): Better way to avoid sending toolkit-specific
	events to Emacs.

Sun Jul  7 18:45:37 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* xmenu.c (popup_get_selection): For a ButtonRelease on the proper
	display, don't queue it, and always deactivate the menu.

Sun Jul  7 18:40:06 1996  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (IT_menu_display): Display control characters as ^X.
	(XMenuAddPane, XMenuAddSelection): Adjust menu width for control
	characters (displayed as ^X).

	* dired.c (file_name_completion): Set `stat' flags to avoid
	computing expensive fields in struct stat (makes filename
	completion much faster).

	* fileio.c (Fcopy_file): Use st_ino under DJGPP v2 and later to
	prevent copying file into itself.
	(check_executable): DJGPP v2 `stat' doesn't need to be augmented
	in case of executable files.
	(Ffile_modes): Use `stat' results as is in DJGPP v2 and later.

Thu Jul  4 15:54:33 1996  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (dostounix_filename): On caseless filesystems, downcase
	the filename.
	(unixtodos_filename): Downcase the drive letter.
	(init_environment): Downcase the pathnames in the environment only
	when running on caseless filesystems.

Wed Jul 03 14:02:26 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* nt.c (normalize_filename): Always lower-case drive letters, even
	on systems that preserve case in filenames.

	* fileio.c (DRIVE_LETTER) [WINDOWSNT]: Lower-case drive letters.

Fri Jul 05 13:03:57 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* w32term.c (x_set_mouse_pixel_position): Adjust coords by frame
	position.
	(x_set_mouse_position): Call x_set_mouse_pixel_position.

Fri Jul 05 13:03:57 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* nt.c (sys_rename): Do not delete newname if only changing case.
	On Windows 95, use our version of mktemp (not the MSVC version)
	and give the temp name a long extension to ensure the final rename
	works as expected.

Wed Jul  3 15:04:11 1996  Eli Zaretskii  <eliz@@is.elta.co.il>

	* callproc.c (Fcall_process) [MSDOS]: Initialize fd[0]; unlink
	`tempfile' in case of errors.
	(Fcall_process): When fd_error is negative,
	don't close fd[0] if it's same as filefd.

Wed Jul  3 11:36:51 1996  Eli Zaretskii  <eliz@@is.elta.co.il>

	* callproc.c (Fcall_process) [MSDOS]: Make the `tempfile'
	parameter passed to `report_file_error' be a Lisp string.
	(Fcall_process): If stderr is redirected to NULL_DEVICE, make
	`report_file_error' print the name of device.  Make the arguments
	a cons cell.

Sat Jul  6 09:27:26 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* indent.c (Fvertical_motion): Doc fix.

Wed Jul  3 01:10:23 1996  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>

	* xterm.c (XTread_socket): Use lw_tookit_related_event_p to
	avoid sending toolkit-specific events to Emacs.

Mon Jul  1 10:54:44 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* m/alpha.h (HAVE_X11R4, HAVE_X11R5): Definitions deleted
	since xterm.h and config.h should take care of them.

	* xselect.c (x_clear_frame_selections): Don't call
	redisplay_preserve_echo_area here.

Sun Jun 30 14:57:35 1996  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* systty.h: Delete spurious period from last change.

Mon Jul  1 15:32:28 1996  Eli Zaretskii  <eliz@@is.elta.co.il>

	* fileio.c (DRIVE_LETTER) [MSDOS]: Lower-case drive letters.

	* msdos.c (msdos_downcase_filename): Always lower-case drive
	letters, even on systems that preserve case in filenames.

Sat Jun 29 01:04:17 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/sol2-5.h (LIB_MOTIF): Fix typo.

	* emacs.c (main): Add `GNU Emacs' to the response to --version.

	* xfns.c (Fx_create_frame): Gcpro parms, parent, and name.

	* systty.h (GETPGRP_NO_ARG): Always define it, if __GNU_LIBRARY__.

Fri Jun 28 02:30:47 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* frame.c (make_frame_without_minibuffer): GCPRO the frame f.

	* config.in (AMPERSAND_FULL_NAME): Defined by default.

	* s/sol2-5.h (LIB_MOTIF): New definition.

	* emacs.c (standard_args): Delete `-rn' option.

	* .gdbinit: Add `dir ../lwlib'.

	* print.c (print): Obey Vprint_length for vectors, bitvectors.

	* fileio.c (check_executable): Use euidaccess, not eaccess.

	* config.in (HAVE_EUIDACCESS): This replaces HAVE_EACCESS.

	* xterm.h: Don't define HAVE_X11R5 here.

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

	* unexhp9k800.c (unexec): Cast result of sbrk.
	(run_time_remap): Cat arg to brk.

Thu Jun 27 04:16:11 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_connection_closed): Call clear_waiting_for_input.

	* keyboard.c (modify_event_symbol): Add properly to *symbol_table.

Wed Jun 26 00:42:19 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_connection_closed): Add newline when printing error
	message on stderr.
	(XTread_socket, Xatom_wm_save_yourself clause):
	Don't call XSetCommand if f is 0.
	(x_error_quitter): Delete newline from sprintf string.

	* xdisp.c (redisplay_internal): Use last_had_star to decide
	whether to update the mode line to update the star.
	(update_menu_bar): Likewise.
	Also, don't set w->update_mode_line for frames that use
	set_frame_menubar.
	(redisplay_internal, mark_window_display_accurate):
	Set last_had_star.

	* window.h (struct window): New field, last_had_star.

Tue Jun 25 17:32:01 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_connection_signal): Just return after calling `signal'.
	(X_CONNECTION_LOCK_FLAG): Definition deleted.
	(x_connection_signal_dpyinfo): Variable deleted.
	(x_connection_signal_1): Function deleted.
	(x_connection_close_if_hung): Function deleted.

	* indent.c (Fmove_to_column): Go after invis chars at the goal column.

Mon Jun 24 20:22:39 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_connection_closed): If waiting_for_input,
	call quit_throw_to_read_char.

Mon Jun 24 15:08:24 1996  Paul Eggert  <eggert@@twinsun.com>

	* unexelf.c (unexec): Round up section header offset to bss alignment
	before deciding whether it's after the bss section.

Sun Jun 23 15:20:20 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xfns.c (x_real_positions): Don't call x_uncatch_errors twice.

	* indent.c (current_column_1): Add declaration.

Sat Jun 22 02:54:08 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* indent.c: Make current-column, move-to-column and current-indentation
	handle invisible chars (both text properties and overlays).
	(skip_invisible): New function.
	(Fmove_to_column): Use skip_invisible.  Get rid of `retry' label.
	(compute_motion): Use skip_invisible.
	(current_column_1): New function.
	(current_column): Use current_column_1 if might have invisible text.

	* data.c (Fdefalias): Doc fix.

	* s/gnu-linux.h (LD_SWITCH_SYSTEM): Just one definition.
	Don't use prefix-args here because Makefile.in
	does that when necessary.

Fri Jun 21 02:23:38 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/sco5.h: New file.

	* s/gnu-linux.h: Renamed from lignux.h.
	(SYSTEM_TYPE): Changed to gnu/linux.

	* callproc.c (Fcall_process): Fix previous change.

	* xterm.c (x_iconify_frame): If frame is invisible,
	explicitly mark it as iconified.

	* keyboard.c (kbd_buffer_get_event): Don't call x_activate_menubar
	for a deleted frame.

Wed Jun 19 17:15:32 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/sol2-4.h (LD_SWITCH_SYSTEM): Use no space after -L and -R.

Tue Jun 18 21:24:13 1996  Nico Francois  <nico.francois@@scala.nl>

	* w32fns.c (Vwin32_alt_is_meta): New variable.
	(win32_get_modifiers): Map Alt to alt_modifier if required.
	(syms_of_win32fns): DEFVAR new variable.

	* ntinevt.c (Vwin32_alt_is_meta): Declared.
	(win32_kbd_mods_to_emacs): Map Alt to alt_modifier if required.

Sun Jun 16 14:59:20 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* callproc.c (Fcall_process): Handle t or nil as STDERR_FILE.

	* s/hpux10.h (HPUX10): New macro.

Fri Jun 14 14:34:05 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* w32fns.c (win32_wnd_proc): No need to forward WM_ERASEBKGND to
	main thread.

	* w32term.c (w32_read_socket): Erase update rect on WM_PAINT, so
	no need to process WM_ERASEBKGND.

Thu Jun 13 12:40:47 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xmenu.c (Qmenu_alias): New variable.
	(syms_of_xmenu): Initialize it.
	(menu_item_equiv_key): Check this property on the definition.

	* fileio.c (Fexpand_file_name): When simplifying /foo/..,
	keep the initial slash.

	* s/hpux10.h (LIBS_SYSTEM): Two new definitions (and #undef first).

Wed Jun 12 17:46:49 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* emacs.c (main): For SIGHUP, use sigblock and sigunblock,
	not sigblockx and sigunblockx.

	* buffer.c (Fkill_buffer): Doc fix.

Wed Jun 12 14:26:40 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* ntproc.c (restrict_dos_process): Variable deleted.
	(sys_spawnve): Restrict DOS processes on NT as well.

	* nt.c: Delete restrict_dos_process.

Wed Jun 12 14:26:40 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* nt.c (restrict_dos_process): Renamed from can_run_dos_process.
	(init_ntproc): Refer to restrict_dos_process.

	* ntproc.c (restrict_dos_process): Renamed from can_run_dos_process.
	(sys_spawnve): Refer to restrict_dos_process.

Wed Jun 12 11:49:34 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* syssignal.h (sigunblockx): Use sigunblock.

Tue Jun 11 15:47:01 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input): Move the O_NONBLOCK and
	O_NDELAY conditionals out of the EWOULDBLOCK conditional.

Mon Jun 10 16:28:50 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* keymap.c (Fset_keymap_parent): Return early if KEYMAP already has
	the proper parent.

	* s/lignux.h [__ELF__] (LD_SWITCH_SYSTEM): Define it.

	* frame.c (Fmake_terminal_frame): Test MSDOS, not __MSDOS__.

	* xdisp.c (redisplay_internal): Use FRAME_WINDOW_P.
	(decode_mode_spec): Likewise.

	* minibuf.c (choose_minibuf_frame): Eliminate
	MSDOS-non-MULTI_FRAME conditional.

	* dispnew.c (change_frame_size, remake_frame_glyphs):
	Use FRAME_WINDOW_P.

	* msdos.c (check_x): Fix error message.

Sun Jun  9 12:14:57 1996  Eli Zaretskii  <eliz@@is.elta.co.il>

	* xfaces.c (init_frame_faces): Build faces for an MSDOS frame
	like for X frame.
	(Fmake_face_internal): Call `ensure_face_ready' for MSDOS frames.
	(Fset_face_attribute_internal): Support face attributes for MSDOS
	frames.

	* xdisp.c (redisplay_internal): Use `Vterminal_frame' and other
	termcap frame code on MSDOS as well.
	(display_text_line) [HAVE_FACES]: Support faces on MSDOS.
	(decode_mode_spec): Return frame name on MSDOS like for termcap
	frames.

	* window.c (Fset_window_configuration) [HAVE_WINDOW_SYSTEM]: Call
	`x_set_menu_bar_lines' on MSDOS as well.

	* msdos.h (check_x): Macro definition deleted.
	(DisplayWidth): Use `selected_frame'.
	(DisplayHeight): Use `selected_frame'.
	(x_mouse_leave): Remove; it's not used.

	* msdos.c (x_set_menu_bar_lines): New function, copied from xfns.c.
	(IT_set_frame_parameters): Use selected_frame instead of
	the_only_frame.
	(internal_terminal_init): Use selected_frame instead of the_only_frame.
	(check_x): New function, replacing macro in msdos.h.
	(XMenuActivate): Use selected_frame instead of
	the_only_frame.  Don't let the title for the "Buffers" popup
	include a number when it is split into several menus.

	* minibuf.c (choose_minibuf_frame): Support multiple frames on MSDOS.

	* frame.h (FRAME_MSDOS_P): A new macro for MSDOS frames.

	* frame.c (Qpc): New variable.
	(syms_of_frame_1): Define and staticpro it.
	(Fframep): Support MSDOS frames.
	(make_terminal_frame, Fmake_terminal_frame): Support MSDOS frames.
	(Fset_mouse_position, Fset_mouse_pixel_position): Support MSDOS frames.
	(Fframe_parameters, Fmodify_frame_parameters): Support MSDOS frames.

	* dosfns.c (Fset_mouse_position): Remove the DOS-specific
	definition (it's defined on `frame.c').
	(syms_of_dosfns): Remove defsubr of `Fset_mouse_position'.

	* dispnew.c (Fredraw_frame, remake_frame_glyphs)
	(direct_output_for_insert, change_frame_size): Support MSDOS frames.

Mon Jun 10 14:01:16 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* keymap.c (fix_submap_inheritance): If parent_entry is not a keymap,
	use nil instead.

	* alloc.c (mark_object): Do set ARRAY_MARK_FLAG for bool-vectors.

Mon Jun 10 14:56:38 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* w32fns.c (x_to_win32_font): Allow any quality fonts.

Sun Jun  9 16:12:36 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* keyboard.c (read_char): Use unsigned to compare against
	the size of Vkeyboard_translate_table.
	Check size for char-table too.

	* s/freebsd.h (DONT_REOPEN_PTY): New definition.

	* process.c (create_process): Add DONT_OPEN_PTY conditional.

Fri Jun 07 15:56:21 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* nt.c (init_environment): Read PRELOAD_WINSOCK from registry if
	not set in environment.

	(winsock_inuse) [HAVE_SOCKETS]: New variable.
	(have_winsock) [HAVE_SOCKETS]: Obsolete variable removed.

	(term_winsock) [HAVE_SOCKETS]: Only unload winsock library if there
	are no active sockets still open, and if the cleanup function
	succeeds.  Return TRUE if winsock is unloaded.

	(init_winsock) [HAVE_SOCKETS]: Load winsock if not already loaded,
	and return TRUE if winsock support is available.  Unload winsock
	immediately if new parameter load_now is false.  Check that
	WSAStartup supports the winsock version we requested.

	(set_errno, check_errno, sys_socket, sys_bind, sys_connect,
	sys_htons, sys_ntohs, sys_inet_addr, sys_gethostname,
	sys_gethostbyname, sys_getservbyname, sys_close, sys_read,
	sys_write) [HAVE_SOCKETS]: Check winsock_lib instead of
	have_winsock to determine if winsock support is available.

	(sys_socket, sys_close) [HAVE_SOCKETS]: Count sockets in use.

	(init_ntproc) [HAVE_SOCKETS]: Only load winsock library on startup
	if PRELOAD_WINSOCK is set in environment (or registry).

	* ntproc.c (Fwin32_has_winsock,
	Fwin32_unload_winsock) [HAVE_SOCKETS]: New functions.
	(syms_of_ntproc) [HAVE_SOCKETS]: defsubr them.

	* process.c (Fopen_network_stream) [WINDOWSNT]: Ensure Windows
	socket library is loaded if available.

Fri Jun  7 13:09:13 1996  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>

	* xterm.c (XTread_socket): Use XtAppNextEvent when using
	toolkit configurations.

Fri Jun 07 15:56:21 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* nt.c (sys_mktemp): Complete rewrite.

Fri Jun 07 15:56:21 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* ntproc.c (sys_kill): Don't try to terminate a DOS process.

Thu Jun 06 13:35:47 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* fileio.c (Ffile_name_directory) [WINDOWSNT]: Remove previous
	change, which was incorrect and isn't strictly required.

Thu Jun  6 19:15:34 1996  Eli Zaretskii  <eliz@@is.elta.co.il>

	* xfaces.c (Fset_face_attribute_internal) [MSDOS]: Don't mask
	bright color bit in background colors.

	* msdos.c (bright_bg): New function, enables bright background colors.
	(dos_set_window_size): Move code to `bright_bg'.
	(IT_set_terminal_modes): Enable bright background colors.
	(IT_set_frame_parameters): Don't mask bright color bit in
	background colors.  Record colors on `termscript' file.
	(internal_terminal_init): Enable bright background colors.  Fix
	default colors setting from $EMACSCOLORS.

Fri Jun  7 00:46:12 1996  Geoff Voelker  <voelker@@joker.cs.washington.edu>

	* w32fns.c (sync_modifiers): New function.
	(w32_wnd_proc): Synchronize modifiers on each key down.

Thu Jun  6 18:46:08 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* nt.c (init_winsock): Dynamically link to SetHandleInformation.
	(sys_socket): If possible, use SetHandleInformation to make socket
	handle non-inheritable to avoid a bug in NT.

Wed Jun  5 18:29:06 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* keymap.c (Fkeymap_parent, Fset_keymap_parent): New functions.
	(fix_submap_inheritance): New function.
	(access_keymap): Use fix_submap_inheritance.

Wed Jun  5 03:25:19 1996  Paul Eggert  <eggert@@twinsun.com>

	* editfns.c: (set_time_zone_rule):
	Work around localtime cache bug in SunOS 4.1.3_U1 and SunOS 4.1.4.

Tue Jun  4 10:57:59 1996  Geoff Voelker  <voelker@@joker.cs.washington.edu>

	* w32term.c (w32_read_socket): If the dead key was produced using
	AltGr and has a valid AltGr scan code, it's a valid key and
	should not be discarded.

Mon Jun 03 13:35:00 1996  Kim Storm  <storm@@olicom.dk>

        * ntproc.c (Vwin32_downcase_file_names): New variable.
        (syms_of_win32fns): DEFVAR it.

        * fileio.c (DRIVE_LETTER): [DOS_NT] New macro.
        (expand_file_name): Apply DRIVE_LETTER macro to drive names.

        * nt.c (normalize_filename): New function.
        (dostounix_filename, unixtodos_filename): Use it.
        (readdir): Convert upper case file names to lower case
        if win32-downcase-file-names is non-nil.

Fri May 31 19:50:08 1996  Andrew Innes  <andrewi@@harlequin.co.uk>

	* fileio.c (Fexpand_file_name) [WINDOWSNT]: Don't strip trailing /
	when newdir is just "//".
	(Ffile_name_directory) [WINDOWSNT]: Return Qnil if filename is a
	partial UNC name such as "//foo".

Fri May 31 15:04:34 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xmenu.c (single_submenu): Handle non-keymap lists like symbols.

	* w32fns.c (reset_modifiers): Only clear a modifier if the
	modifier key has been detected to have been released since
	Emacs lost focus.
	(win32_wnd_proc): Have Windows translate VK_NUMLOCK and
	VK_SCROLL key downs; don't reset the modifier state when
	Emacs loses focus.

Thu May 30 19:09:36 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* buffer.c (Fpop_to_buffer): Doc fix.

	* window.c (Fdisplay_buffer): Doc fix.

Mon May 27 20:53:06 1996  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* s/sol2.h (LIBS_SYSTEM): Define this.

d25 1
a25 1
	Always pass on message to DefWindowProc after calling
d254 1
a254 1

d261 1
a261 1
	* nt.c (nt_ctime): Function renamed to sys_ctime.
d322 1
a322 1

d365 1
a365 1
	(child_process, MAX_CHILDREN, CHILD_ACTIVE): Definitions moved
d370 1
a370 1
	(FILE_READ, FILE_WRITE, FILE_BINARY, FILE_PIPE, FILE_SOCKET):
d383 1
a383 1
	(child_process, MAX_CHILDREN, CHILD_ACTIVE): Moved to nt.h.
d388 1
a388 1
	(create_child): Add child_process and parent PID arguments.
d397 1
a397 1
	(win32_spawnve): Renamed to sys_spawnve.
d408 1
a408 1
	(prepate_standard_handles, reset_standard_handles): Moved here
d412 1
a412 1

d417 1
a417 1
	* w32fns.c (quit_char, Vwin32_enable_italics, Vwin32_enable_palette):
d420 1
a420 1

d448 1
a448 1
	(win32_load_font, Fx_list_fonts, Fx_display_color_cells,
d458 1
a458 1
	* w32select.c (Fwin32_set_clipboard_data, Fwin32_get_clipboard_data):
d462 1
a462 1
	(win32_fill_rect, dumpglyphs, do_line_dance, x_draw_box):
d466 1
a466 1
	(w32_read_socket): Explicitly use FALSE.
d471 1
a471 1
	(x_set_offset, x_set_window_size, x_raise_frame, x_lower_frame):
d487 1
a487 1
	(win32_display_info): New fields has_palette, p_colors_in_use,
d501 1
a501 1
	(init_crit, delete_crit, get_next_msg, post_msg):
d513 1
a513 1
	TIME_WITH_SYS_TIME, HAVE_GETTIMEOFDAY, HAVE_CLOSEDIR,
d518 1
a518 1
	sleep, unlink, write, spawnve, wait, kill, signal):
d592 1
a592 1
	(Ffile_writable_p, Ffile_directory_p, Ffile_regular_p)
d606 1
a606 1
	Correct IS_ANY_SEP to IS_DIRECTORY_SEP.
d610 1
a610 1
	(Fmake_temp_name) [DOS_NT]: Correct dir seps.
d663 1
a663 1
	(create_process, read_process_output, Fsignal_process) [WINDOWSNT]:
d703 1
a703 1
	* process.c (wait_reading_process_input, both definitions):
d707 1
a707 1
	* frame.c (Fframe_parameters, both definitions):
d733 1
a733 1

d777 1
a777 1
	(wait_reading_process_input) [subprocesses]:
d779 1
a779 1

d790 1
a790 1
	* editfns.c (Fformat_time_string): Doc fix.
d818 1
a818 1

d1038 1
a1038 1

d1069 1
a1069 1
	* process.c [!subprocesses] (wait_reading_process_input):
d1229 1
a1229 1

@


1.1.1.21
log
@import emacs-19.33
@
text
@a0 79
Sun Aug 11 03:36:03 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* Version 19.33 released.

Sat Aug 10 19:40:45 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/sco5.h (POSIX_SIGNALS): Don't define it, #undef instead.
	(NO_SOCKETS_IN_FILE_SYSTEM): Definition deleted.
	(sigblock): New definition.

Sat Aug 10 14:53:42 1996  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>

	* m/sequent-ptx.h (LOAD_AVE_TYPE, FSCALE, LOAD_AVE_CVT):
	Undef them before defining.

	* s/ptx4.h: Fix include file name.
 	(NO_FILIO_H): Move definition.

Fri Aug  9 18:04:00 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* m/alpha.h [__ELF__] (UNEXEC): Use unexelf1.c.

Fri Aug 9 13:57:53 1996 David Mosberger-Tang  <davidm@@azstarnet.com>

	* unexelf1.c: New file, copied from unexelf.c.
	[__alpha__]: Include <sym.h> to get COFF debugging
 	info declarations for .mdebug section.
	[__GNU_LIBRARY__ - 0 >= 6]: Include <link.h>.
	[notdef ElfW]: Define backwards compatible ElfW macro.
	(unexec) [__alpha__]: Add code to update Alpha COFF symbol table
 	(.mdebug section).
	(unexec) [__alpha__]: Work around binutils-2.7 bug: for Alpha ELF
 	sometimes unneeded data relocs do not get elided properly which
 	results in reloc entries that contain all zeroes.

	* m/alpha.h [__ELF__ && __GNUC__] (C_SWITCH_MACHINE): Add -fno-common.
	(TEXT_START, DATA_START, DATA_SEG_BITS, UNEXEC): Define only if
 	__ELF__ is not defined.
	(LINUX_SBRK_BUG): Define only if LINUX and __GNU_LIBRARY__ < 6.
	(NO_TERMIO): Always define this.  No Alpha system should need
 	termio.
	(COFF, DATA_END): Define only if __ELF__ is not defined.

Thu Aug  8 16:04:53 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/usg5-4.h: Don't include filio.h if NO_FILIO_H.

	* s/ptx4.h: New file.

	* config.in (GETTIMEOFDAY_ONE_ARGUMENT): Conditionalize on
	HAVE_GETTIMEOFDAY.

Wed Aug  7 15:01:42 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xmenu.c (xmenu_show): Set dummy.state.
  	Set dummy.button appropriately.
	(popup_get_selection) [USE_MOTIF]: Set event.xbutton.button.

	* s/osf1.h (LD_SWITCH_SYSTEM): New definition.

Tue Aug  6 00:31:20 1996  Paul Eggert  <eggert@@twinsun.com>

	* editfns.c (set_time_zone_rule): Don't put a string literal
	"TZ=..." in environ.

Mon Aug  5 00:31:20 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* minibuf.c (Fread_from_minibuffer): Make position 0 in the initial
	input mean the beginning.

Sun Aug  4 17:56:02 1996  Eli Zaretskii  <eliz@@is.elta.co.il>

	* callproc.c (Fcall_process_region) [DOS_NT]: Avoid downcasing
	the `X' characters in the template passed to `mktemp'.

Fri Aug  2 21:38:54 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* widget.c (EmacsFrameSetCharSize): Call do_pending_window_change.

d893 1
a893 1
	filename case (under Windows 95) and find hidden files.
d928 1
a928 1
	satisfy Windows 95.
d1062 2
a1063 2
	(get_emacs_configuration): Detect Windows flavour (Windows 95 or
	NT) at run-time.  Change OS name for Windows 95 to be "win95".
d1138 1
a1138 1
	Fixup Windows 95 negative process IDs.
d2546 1
a2546 1
	ScrollConsoleScreenBuffer (which has a bug on Windows 95).
d3313 1
a3313 1
	by Windows 95.
d3644 1
a3644 1
	(EMACS): Remove Windows 95 conditional.
@


1.1.1.22
log
@import emacs-19.34
@
text
@a0 28
Wed Aug 21 03:51:42 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* Version 19.34 released.

	* unexalpha.c: Conditionalize previous changes on not __linux__.

Tue Aug 20 16:54:55 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* unexalpha.c: Include reloc.h and elf_abi.h.
	(rel_dyn_section, dynstr_section, dynsym_section): New variables.
	(old_data_scnhdr): New variable.
	(CHECK_SCNHDR): Compare just 8 chars of section name.
	(unexec): Check for rel_dyn_section, dynsym_section, dynstr_section.
	Do call update_dynamic_symbols.
	(update_dynamic_symbols): Finish it up and take away #if 0.

Mon Aug 19 12:53:25 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* unexalpha.c (unexec): Copy the .got section.

Fri Aug 16 15:07:33 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* bytecode.c (Fbyte_code): For relative gotos, force signed arithmetic.

Wed Aug 14 16:58:33 1996  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xfns.c (Fx_open_connection): Don't set Vx_resource_name.

@


1.1.1.23
log
@import emacs-20.1
@
text
@d1 1
a1 1
1997-09-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d3 1
a3 5684
	* Version 20.1 released.

	* keyboard.c (command_loop_1): Add nonascii_insert_offset
	before calling direct_output_for_insert.

1997-09-15  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* indent.c (compute_motion): Ignore the display table entry for a
	base leading code when dealing with multibyte characters.

1997-09-14  Kenichi Handa  <handa@@etl.go.jp>

	* fileio.c (Finsert_file_contents): If a coding system is
	specified explicitly on visiting a new file, set
	buffer-file-coding system of the new buffer to the specified one.

1997-09-13  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* minibuf.c (syms_of_minibuf): Doc fix.

1997-09-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xdisp.c: When redisplaying the echo area, use the value
	of enable-multibyte-characters from when message was called.
	(message_enable_multibyte): New variable.
	(message2_nolog): Set the variable.
	(echo_area_display): Use that variable.
	(display_string): New arg MULTIBYTE.  Callers changed.

	* print.c (Fexternal_debugging_output): On Windows, output to debugger.

1997-09-11  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* msdos.c: Use raw-text as coding system.

1997-09-10  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (syms_of_msdos): Intern background-color and
	foreground-color, and staticpro them.
	(IT_set_frame_parameters): Use Qforeground_color and
	Qbackground_color.

1997-09-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xdisp.c (display_menu_bar): Include WINDOW_LEFT_MARGIN in maxendcol.

	* process.c (create_process): Encode the new current dir.

	* callproc.c (Fcall_process): Encode the new current dir.

1997-09-09  Paul Eggert  <eggert@@twinsun.com>

	* s/sco5.h (BROKEN_MKTIME): Define.

1997-09-09  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* xfns.c (x_screen_planes): Fix type of argument.

	* syntax.h (UPDATE_SYNTAX_TABLE_FORWARD): Add missing fourth
	argument of update_syntax_table.
	(UPDATE_SYNTAX_TABLE_BACKWARD): Likewise.
	(UPDATE_SYNTAX_TABLE): Likewise.

	* coding.c (encode_designation_at_bol): Fix type of local vars C1, C2.

1997-09-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fileio.c (ENCODE_FILE): New macro.
	(Vfile_name_coding_system): New variable.
	(syms_of_fileio): Set up Lisp variable.
	(Fset_visited_file_modtime): Use ENCODE_FILE.
	(Fcopy_file, Fmake_directory_internal, Fdelete_directory, Fdelete_file)
	(Frename_file, Fadd_name_to_file, Ffile_exists_p Ffile_executable_p)
	(Ffile_readable_p, Ffile_writable_p, Faccess_file, Ffile_symlink_p)
	(Ffile_directory_p, Ffile_accessible_directory_p, Ffile_regular_p)
	(Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p, Fwrite_region)
	(Finsert_file_contents, Fverify_visited_file_modtime): Likewise.

	* fileio.c (Ffile_symlink_p): Decode the file name value.

	* dired.c (ENCODE_FILE): New macro.
	(Ffile_attributes): Encode the file names to operate on.
	(file_name_completion): Do completion on encoded name, then decode.
	(Fdirectory_files): Encode the argument.
	Decode all result file names using Vfile_name_coding_system.

	* coding.c (Fencode_coding_string, Fdecode_coding_string): Doc fixes.
	
1997-09-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* lread.c (Feval_buffer): New arg FILENAME.

	* buffer.c (modify_overlay): Update overlay_modiff of proper buffer.

1997-09-07  Geoff Voelker  <voelker@@cs.washington.edu>

	* firstfile.c: New file.
	
1997-09-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xdisp.c (display_string): Determine multibyte from current buffer,
	not from W's buffer.

1997-09-07  Kenneth Stailey  <kstailey@@elbereth.disclosure.com>

	* s/openbsd.h: New file.

	* m/ns32000.h, m/sparc.h, m/alpha.h, m/pmax.h, unexalpha.c:
	Test __OpenBSD__ along with __NetBSD__.

	* unexelf.c: Test __OpenBSD__ along with __NetBSD__.
	[__OpenBSD__]: Include sys/exec_elf.h.
	
1997-09-05  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>

	* coding.c (Ffind_operation_coding_system): If a function in
	XXX-coding-system-alist returns a coding system (instead of cons
	of coding systems), return cons of it.

1997-09-05  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* coding.c (Fread_coding_system):
	New optional arg DEFAULT_CODING_SYSTEM.
	* lisp.h (Fread_coding_system): Update decl.

	* callint.c (Fcall_interactively): Pass new arg to Fread_coding_system.
	
1997-09-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* m/alpha.h (PTY_OPEN): Call sigblock properly.

	* fileio.c (Fexpand_file_name): If default dir isn't string, use `/'.

	* callproc.c (Fcall_process_region): Fix previous change:
	never override Vcoding_system_for_write.

	* m/alpha.h (PTY_OPEN): Save and restore the SIGCHLD handler.

1997-09-04  Erik Naggum  <erik@@naggum.no>

	* emacs.c (main): Update Copyright message.

1997-09-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* data.c (Faset): Simplify a statement in the char-table case.
	This is to help some compilers.

	* coding.c (Qcoding_system_history): New variable.
	(syms_of_coding): Initialize it.
	(Fread_coding_system): Use Qcoding_system_history.

	* coding.c (setup_coding_system, Ffind_operation_coding_system)
	(Fdetect_coding_region, Fread_coding_system):
	Don't initialize a Lisp_Object.

1997-09-03  NIIBE Yutaka  <gniibe@@mri.co.jp>

	* emacs.c (main): Call run_time_remap earlier, before any use of stdio.

1997-09-03  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* minibuf.c (read_minibuf): Fix use of Ffboundp.

1997-09-03  Geoff Voelker  <voelker@@cs.washington.edu>

	* lastfile.c (my_endbss) [WINDOWSNT]: New variable.

1997-09-03  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* coding.c (detect_coding_mask): Re-work previous change.
	(detect_eol): Fix use of == instead of -.

1997-09-03  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (detect_coding_mask): Cancel previous change.  Always
	include CODING_CATEGORY_MASK_RAW_TEXT in the return value.

1997-09-02  Andrew Innes  <andrewi@@harlequin.co.uk>

	* makefile.nt (TLIB0, TOBJ, OBJ0): New macro.
	(LINK_FLAGS): Separate debugging info from the executable.
	(LIBS): Include TLIB0.
	(TEMACS): Link with TLIB0.
	(EMACS): Copy temacs map file to emacs map file.
	Update file dependencies.

	* unexw32.c: Include config.h and time.h.
	Declare extern data and functions.
 	(file_data): Move definition from w32heap.c.
	(_start): Add debug hook for when profiling.
	Spoof executable name when using profilers.
	Invoke sbrk immediately when undumped.
	(unexec): Print error messages when input and output dump files
	cannot be opened.
	Reset header checksum.
	(open_input_file, open_output_file): Return status instead of aborting.
	(get_section_size): Handle different linkers.
	(find_section, rva_to_section): New functions.
	(get_section_info) [SEPARATE_BSS_SECTION]: Make code for using
	a separate .bss section conditional.
	Use my_begbss and my_endbss to determine .bss size by default.
	Look for Emacs data in EMDATA section.
	
	* w32.c: Include stddef.h.
	(getwd): Delete macro.
	(startup_dir): New variable.
	(getwd): Return directory in which Emacs started.
	(init_user_info): Set SHELL environment variable if not set.
	(parse_root, get_long_basename, w32_get_long_filename): New functions.
	(init_environment): Look for CMDPROXY.
	Make sure that PATH and COMSPEC are capitalized in the environment.
	Record startup directory.
	(get_emacs_configuration, sys_rename): Use OS_WIN95.
	(map_w32_filename): Calculate returned string correctly.

	(sys_fopen): Use _fdopen.
	(sys_link): Support NTFS links.
	(sys_rename): Use a long file name for temporary name.
	(sys_pipe): Make pipes binary and non-inheritable.
	(sys_read, sys_write): Spoof text mode translation for pipes 
	and sockets.
	
	(hashval): Simplify.
	(generate_inode_val): Use long file name version of file.

	(stat): Optimize by using active readdir info.
	Set fake_inode to 0 for directories.
	Set fake_inode to xor of file indexes for files.
	Don't use generate_inode_val to set inode value.

	(volume_info_data): Renamed from volume_info.
	(volume_info, fixed_drives, volume_cache): New variables.
	(DRIVE_INDEX, VOLINFO_STILL_VALID): New macros.
	(lookup_volume_info, add_volume_info, GetCachedVolumeInformation):
	New functions.
	(get_volume_info): Use volume_info_data.
	Use GetCachedVolumeInformation.	

	(init_ntproc): No longer restrict to one DOS subprocess.
	Use CRT _open and _fdopen.
	Cache fixed drive information.
	
	* w32.h: Remove debugging macros.
	(child_process): Remove is_dos_process field, add hwnd handle field.
	(FILE_LAST_CR): New macro.
	(w32_get_long_filename): Declare extern.

	* w32console.c: (DebPrint, reset_kbd, unset_kbd, take_console): 
	Delete functions.
	(keyboard_init_hook): Delete variable.
	(prev_console_cursor) [! USE_SEPARATE_SCREEN]: New variable.
	(reset_terminal_modes) [! USE_SEPARATE_SCREEN]: Reset cursor info.
	(initialize_w32_display) [USE_SEPARATE_SCREEN]: Create separate
	screen buffer.
	(ctrl_c_handler): Only ignore interrupts when interactive.
	(set_terminal_modes): Set input mode.
	(initialize_w32_display): Record original settings.
	Don't reset cursor or clear frame.

	* w32fns.c: Include limits.h and errno.h.
	Declare externs from other files.
	(w32_in_use): New variable.	
	(check_w32, have_menus_p, x_set_title, w32_msg_worker,
	find_deferred_msg, send_deferred_msg, complete_deferred_msg,
	Fw32_focus_frame, W32-send-sys-command): New functions.
	(last_mouse_movement_time): Delete variable.

	(x_frame_parms): Alphabetize.  Add title parm.
	(x_set_icon_name): Use title if set.
	(x_set_menu_bar_lines): Ensure client area remains the same.
	(x_set_name): Don't update if the name is the same.
	Use title for name if available.
	(x_icon): Initial support for creating window iconified.
	(x_display_info_for_name): Set w32_in_use.
	(Fx_open_connection): Validate Vwindow_system.  Set w32_in_use.
	
	(w32_create_window): Set window size to frame dimensions.
	Set font width, line height, border, scrollbar indexes.
	Don't set X and Y units indexes.
	(w32_msg_pump): Renamed from windows_msg_worker.
	Make static.  Don't post done message. No longer handle
	create scrollbar message.  Don't abort on anomalous messages.
	Return when completion detected.
	(w32_wnd_proc): Keep track of button state.	
	For WINDOWPOSCHANGING, force window dimensions to be multiples
	of character dimensions.
	Handle CREATESCROLLBAR.
	Use correct arguments for SHOWWINDOW.
	For SETWINDOWPOS, use WINDOWPOS structure.

	(my_create_window): Abort if message post fails.
	(Fx_create_frame): Use title instead of name.
	GC protect frame before make_frame_without_minibuffer.
	Set icon name.
	Use courier new as default font (has bold and italic).
	Set BufferPredicate and Title default parameters.
	
	(x_to_w32_weight): Support semibold weight.
	(x_to_w32_charset): Map # to numeric charset identifier.
	(w32_to_x_charset): Encode unknown charsets as a number.
	(enum_font_cb2): Don't restrict to ANSI and OEM charsets.

	(Fx_color_values): Set high and low words of color values.

	(syms_of_w32fns): Zero w32_in_use.  defsubr new functions.

	* w32heap.c (os_subtype): New variable.
	(cache_system_info): Set os_subtype.
	(recreate_heap): Update system information after loading heap.

	* w32heap.h: Enumerate operating system types.
	Declare extern data and functions.
	Move file_data struct definition here.
	(OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): New macros.

	* w32inevt.c: Declare externs from other files.
	(w32_kbd_mods_to_emacs): New parameter KEY.
	Use w32-capslock-is-shiftlock for old behavior.
	(key_event): Pass in new parameter to w32_kbd_mods_to_emacs.	
	
	* w32menu.c (init_menu_items): Disable code.
	(x_activate_menubar): New function.
	(initialize_frame_menubar): Pass in new param to set_frame_menubar.
	
	* w32proc.c: Include w32heap.h.
	(Vw32_start_process_share_console, Vw32_generate_fake_inodes,
	Vw32_get_true_file_attributes, Qhigh, Qlow, process_dir): 
	New variables.
	(find_child_console, set_process_dir, Fw32_short_file_name,
	Fw32_long_file_name, Fw32_set_process_priority, Fw32_get_locale_info,
	Fw32_get_current_locale_id, Fw32_get_default_local_id, 
	Fw32_set_current_locale): New functions.
	(CORRECT_DIR_SEPS): New macro.
	(create_child): Create a new console if subprocs don't share parent's.
	(reap_subprocess): Don't check for dos subprocesses.  
	Add debug support.
	(sys_wait): Ignore socket child_procs.
	Check for quit while waiting.
	(w32_executable_type): Renamed from w32_is_dos_binary.
	Check for dos and Cygnus executables.
	(sys_spawnve): Always use cmdproxy if spawning a dos app.
	Use quotes to quote arguments for Cygnus apps, backslashes otherwise.
	Handle escape characters.  Escape quotes at start and end, too.
	(sys_select): Treat null timeout as infinite.
	Add handles of child processes.
	Loop over handles round robin to ensure fairness.
	(sys_kill): Send ctrl-break and ctrl-c keystrokes to subprocesses
	on SIGINT if not sharing consoles, otherwise generate ctrl-break event.
	On other termination signals, send WM_QUIT message to Win95 apps
	and WM_CLOSE to NT apps.
	(syms_of_ntproc): Intern new symbols.  defsubr new functions.
	DEFVAR new variables.

	* w32term.c (SIF_*): Win95 macros defined for NT.
	(struct tagSCROLLINFO): Win95 struct defined for NT.
	(vertical_scroll_bar_min_handle, vertical_scroll_bar_top_border,
 	vertical_scroll_bar_bottom_border, last_scroll_bar_drag_pos,
 	Vw32_gab_focus_on_raise, Vw32_capslock_is_shiftlock): New
 	variables.
	(w32_frame_up_to_date): Block input.
	(do_line_dance): Use DC while erasing, release at end.
	(show_mouse_face): Use column and endcolumn calculated at start of
 	loop.
	(my_create_scrollbar, my_show_window, my_set_window_pos,
 	my_set_focus) [! ATTACH_THREADS]: Send message to window instead
 	of invoking Windows procedure.
	(x_scroll_bar_create, x_scroll_bar_move, x_scroll_bar_handle_click,
	x_scroll_bar_report_motion): Use SCROLLINFO for proportional handle.
	(x_scroll_bar_set_handle): Create proportional sized scroll handle.
	(w32_set_vertical_scroll_bar): Size handle according to how much
	is showing in window.
	(x_scroll_bar_set_report_motion): Use top_range, calculated above.
	(x_scroll_bar_clear): Hide scroll bar until ready to repaint.
	(show_scroll_bars): Pass in frame to my_show_window.

	(w32_read_socket): Distinguish between invisible and obscured frames
	when handling PAINT messages.
	Fixup off-by-one calculation for PAINT and SIZE.
	Pass in new parameter to w32_kbd_mods_to_emacs.
 	Handle WM_DISPLAYCHANGE, WINDOWPOSCHANGED, ACTIVATE, SHOWWINDOW,
 	INITMENU, and ACTIVATEAPP messages.
	Explicitly check for visibile and obscured frames, and to see if 
	any event should cause a redisplay.

	(x_display_bar_cursor): Don't check whether frame is updating here.
	(x_display_cursor): Check it here instead.
	(x_set_offset) [HAVE_NTGUI]: Don't add border widths.
	Set NOACTIVATE when setting window position.
	(x_set_window_size): Fixup off-by-one calculation when setting
	window position.  Mark frame garbaged earlier.  Clear mouse
	highlighting state.
	(x_focus_on_frame): Set focus by making frame the foreground window.
	(x_raise_frame): Support frames to be raised without grabbing focus.
	(x_lower_frame): Set NOACTIVATE flag when setting window position.
	(x_make_frame_visible, x_make_frame_invisible): Pass in frame 
	to my_show_window.
	(x_iconify_frame): Send a MINIMIZE message to the window.	
	(x_wm_set_size_hint): Set font width, line height, border,
	and scroll bar indexes instead of X and Y unit indexes.

	(w32_initialize): Set input mode.  Use w32_msg_worker instead
	of windows_msg_worker.  Dynamically link proportional scroll bar
	functions and intialize proportional scroll bar variables.
	(syms_of_w32term): DEFVAR new variables.

	* w32term.h (w32_output): New fields menubar_widget, menubar_active,
	and pending_menu_activation.
	(VERTICAL_SCROLL_BAR_*): Use proportional scroll bar variables.	
	(W32WindowPos): Delete definition.
	(WM_EMACS_SETFOCUS, WND_*_INDEX): New macros.
	(deferred_msg): New structure.

	* w32xfns.c (have_menus_p): Move to w32fns.c.

	* s/ms-w32.h (INTERRUPT_INPUT): Don't define.
	(bcopy): Use memmove instead of memcpy.
	(GAP_USE_BCOPY, BCOPY_UPWARD_SAFE, BCOPY_DOWNWARD_SAFE): Define.
	Undef system calls before redefining.  Emulated calls redefined
	to sys_*, real calls redefined to _*.
	(DebPrint): Macro defined.
	
1997-09-02  Michael Welsh Duggan  <md5i@@schenley.com>

        * w32term.h (WM_MOUSEWHEEL): Define if not already defined.
        Necessary for pre VC5.0 distribution.
 	(WM_EMACS_TRACKPOPUPMENU): New Macro.

        * w32term.c (construct_mouse_wheel): New function.  Constructs an
        input event from a WM_MOUSEWHEEL message.
        (w32_read_socket): Handle WM_MOUSEWHEEL.

        * w32fns.c (win32_wnd_proc): Capture and handle WM_MOUSEWHEEL events.
	Capture and handle WM_EMACS_TRACKPOPUPMENU events.
	Allow a dragged selection from a popup menu started up 
	by a mouse down event.
	(x_to_win32_color): Support for X Windows RGB string specifications.
 
  	* w32menu.c (get_frame_menubar_event): Check for the possibility
 	of a menu-bar button.  A menu-bar button is a caption on the menu
 	bar with no submenu.
 	(set_frame_menubar): Correctly handle menu-bar buttons.
 	(add_menu_item): Equiv parameter send and paid attention to.
 	(keymap_panes, list_of_panes): Use CreatePopupMenu.
 	(single_keymap_panes): Use CreatePopupMenu.  Send key descriptions
 	to add_menu_item.
 	(list_of_items): Use CreatePopupMenu.  Send nil description to
 	add_menu_item.
 	(get_menu_event): Send keymap instead of menu to get_keymap_event.
 	(Fx_popup_menu): Extra parameter to mouse_position_hook.  Don't
 	send address of menu to win32menu_show.
 	(win32menu_show): Send message to call popup menu rather than
 	trying directly.  get_menu_event should take an address.
	Call eat_mouse_events in order to get rid of any extraneous 
	mouse events.
 	(list_of_panes): Only bring up one pane if the length of the list
 	of panes is one.
 
1997-09-02  Nico Francois  <nico.francois@@scala.nl>
  
  	* w32menu.c (single_keymap_panes): Fixed problem with 'descrip'
 	lisp object not being protected properly (GCPRO).
  	(get_single_keymap_event): Fixed problem with 'descrip' lisp
 	object not being protected properly (GCPRO).
	(name_is_separator): New function.
	(list_of_panes): If a pane's name is empty ("") items are now
 	placed in the main popup instead of a blank-named submenu.  This
 	seems to be an undocumented feature of x-popup-menu.
  	(list_of_items): New argument HMENU.
 	Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item

1997-09-02  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32.c (init_environment): Don't look for INFOPATH.

 	* w32fns.c (w32_wnd_proc): Pass on WM_DISPLAYCHANGE messages.

	* w32heap.c: Don't use data_seg pragma here.
	(_heap_init, _heap_term) [_MSC_VER >= 1000]: New functions that
	override CRT routines.

	* w32inevt.c (key_event): New parameter isdead. Set isdead if the
  	key press was done using a dead key.

	* w32term.c (w32_read_socket): Pass in new parameter to key_event.
	Let key_event determine whether key is dead.
	For MOVE, use x_real_positions to map to client coords.
	(x_set_mouse_pixel_position): Offset to use client area as origin.

	* s/ms-w32.h: Use pragmas to place Emacs initialized data in
 	EMDATA segment, and Emacs uninitialized data in EMBSS segment.

1997-09-02  Andrew Innes  <andrewi@@harlequin.co.uk>

	* fileio.c (Fadd_name_to_file) [WINDOWSNT]: Remove conditional.

	* frame.h (FRAME_OBSCURED_P): New macro.
	(FRAME_SAMPLE_VISIBILITY): Distinguish between invisible and obscured.

	* keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: Support
	menu_bar_activate_event.
	(set-input-mode) [DOS_NT]: Do not invoke reset and init sys modes.

	* sysdep.c (sys_subshell) [DOS_NT]: Save and restore parent's
	working directory.
	(sys_subshell) [WINDOWSNT]: Share MSDOS code. Don't take console.
	(init_sys_modes, reset_sys_modes) [WINDOWSNT]: Do it even with 
	a read_socket_hook.

	* xdisp.c (redisplay_internal): Check to see if frame is not obscured
	as well as visible.
	
1997-09-02  Michael Welsh Duggan  <md5i@@schenley.com>

	* lisp.h: Declare discard_mouse_events.

	* keyboard.c (Qmouse_wheel) [WINDOWSNT]: New variable.
	(discard_mouse_events): New function.
	(mouse_wheel_syms) [WINDOWSNT]: New variable.
	(lispy_mouse_wheel_names) [WINDOWSNT]: New variable.
	(make_lispy_event) [WINDOWSNT]: Make mouse-wheel events.
	(syms_of_keyboard) [WINDOWSNT]: Define Qmouse_wheel and
	mouse_wheel_syms.

	* termhooks.h (event_kind) [WINDOWSNT]: New event type: mouse_wheel.

1997-09-02  Geoff Voelker  <voelker@@cs.washington.edu>

	* fileio.c (Fexpand_file_name) [WINDOWSNT]: When stripping
	drive letter, be careful not to create a UNC filename.

1997-09-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* coding.c (detect_coding_mask): Add in CODING_CATEGORY_MASK_RAW_TEXT
	in the detect_coding_iso2022 case.

	* minibuf.c (Fread_from_minibuffer, Fread_string): Doc fixes.
	(Fread_no_blanks_input, Fcompleting_read): Doc fixes.	

	* unexnext.c: Include unistd.h instead of libc.h.

1997-09-01  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/hpux9.h (HAVE_RINT): Add #undef.

	* floatfns.c (emacs_rint): Define this,
	either as a function or as a macro for rint.
	(Fround, Ffround): Use emacs_rint, not rint directly.

	* window.c (syms_of_window): Doc fix.

	* fileio.c (Finsert_file_contents): Fix previous change--don't
	call Fboundp on Vset_auto_coding_function, just check non-nil.

1997-09-01  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* alloc.c (free_float, free_cons): Don't use the same field for
	chaining as for marking.
	(make_float, Fcons, gc_sweep): Corresponding changes.

1997-09-01  Kenichi Handa  <handa@@etl.go.jp>

	* charset.h (LEADING_CODE_PRIVATE_22): Comment fixed.

	* process.c (read_process_output): Index for
	proc_encode_coding_system should be p->outfd (not `channel' which
	is p->infd).

	* fileio.c (Vset_auto_coding_function): Name changed from
	Vauto_file_coding_system.
	(syms_of_fileio): Adjusted for the above change.  Doc change.
	(Finsert_file_contents): The argument for Vset_auto_coding is a
	concatination of the heading 1K-byte and the tailing 3K-byte.

	* cmds.c (internal_self_insert): Only set TARGET_CLM when C2 is tab.
	When multibyte characters are disabled,
	use 1 as the width of the inserted character.

1997-08-31  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* category.c (describe_category): Handle a sub-chartable.

1997-08-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* sysdep.c (init_system_name): Don't try to use getdomainname.

1997-08-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* dispnew.c (change_frame_size_1): Save current buffer
	around calling Fset_window_buffer.

	* lread.c (Fload): Fix doc syntax.

	* m/intel386.h (HAVE_ALLOCA): Do define this, if SOLARIS2.

1997-08-29  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* lread.c (Fload): If FILE arg ends in .el or .elc,
	don't insist on adding a suffix.

1997-08-28  Eli Zaretskii  <eliz@@is.elta.co.il>

	* callproc.c (Fcall_process): Set EOL conversion type to LF when
	binary-process-output is non-nil.
	(Fcall_process_region): binary-process-XXXput only determines EOL
	conversion; if it is nil, convert LF <-> CRLF.  Don't bind
	coding-system-for-read, it is done in Fcall_process.

1997-08-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* alloc.c (free_marker): Call unchain_marker.

1997-08-28  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (detect_eol): Do not select no-conversion even if EOL
	format of raw-text file is inconsistent.  Just read it by
	raw-text-unix.
	(Fdetect_coding_region): Do not select no-conversion even if EOL
	format of raw-text file is inconsistent.
	
1997-08-28  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (Qno_conversion, Qundecided): New variables.
	(syms_of_coding): Initialize and staticpro them.
	(coding_category_name): Include "coding-category-raw-test".
	(setup_coding_system): Handle coding_type_raw_text.
	(detect_coding_mask): Include CODING_CATEGORY_MASK_RAW_TEXT in the
	return value instead of CODING_CATEGORY_MASK_BINARY.
	(detect_coding): Do not check the case that `mask' is 0, which
	never happens now.
	(detect_eol_type): If EOL format is inconsistent, return
	CODING_EOL_INCONSISTENT.
	(detect_eol): If EOL format of raw-text file is inconsistent,
	detect it as no-conversion.
	(decode_coding): Handle coding_type_raw_text.
	(encode_coding): Likewise.
	(Fdetect_coding_region): Ajusted for the above changes.
	(shrink_conversion_area): Handle coding_type_raw_text.

	* coding.h (coding_type): New member coding_type_raw_text.
	(CODING_EOL_INCONSISTENT): New macro.
	(CODING_REQUIRE_NO_CONVERSION): Check also coding_type_raw_text.
	(CODING_MAY_REQUIRE_NO_CONVERSION): Likewise.
	(CODING_CATEGORY_IDX_RAW_TEXT): New macro.
	(CODING_CATEGORY_MASK_RAW_TEXT): New macro.

1997-08-28  Eli Zaretskii  <eliz@@psilocin.gnu.ai.mit.edu>

	* msdos.c: Add coding: tag, to prevent Emacs from interpreting
	binary strings.

1997-08-27  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xmenu.c (free_frame_menubar): Clear menubar_height field.

1997-08-26  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* xdisp.c (redisplay_window): When trying to scroll conservatively,
	correctly take the scroll margin into account.

	* buffer.c: Include errno.h.
	(init_buffer) [HAVE_GETCWD]: Fix error message for getcwd failure.

	* fileio.c (Finsert_file_contents): Fix use of Fboundp.

	* fns.c (concat): Fix use of Fchar_bytes.

	* lisp.h: Declare Fchar_bytes.

1997-08-26  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* minibuf.c (read_minibuf): Inherit enable-multibyte-characters
	along with the input method, if requested.

1997-08-26  Eli Zaretskii  <eliz@@is.elta.co.il>

	* xdisp.c (decode_mode_spec): For %Z and %z, put keyboard and
	terminal coding systems into modeline on MSDOS frames as well.

1997-08-26  Kenichi Handa  <handa@@etl.go.jp>

	* minibuf.c (Qcurrent_input_method, Qactivate_input_method): New vars.
	(syms_of_minibuf): Intern and staticpro them.
	(read_minibuf): New argument INHERIT_INPUT_METHOD.  If it is
	nonzero, remember the current input method in INPUT_METHOD, and
	activate it after switching to the minibuffer.
	(Fread_from_minibuffer): New argument INHERIT_INPUT_METHOD.
	(Fread_minibuffer): Call read_minibuf with INHERIT_INPUT_METHOD nil.
	(Fread_string): New argument INHERIT_INPUT_METHOD.
	(Fread_no_blanks_input): Likewise.
	(Fread_command): Call Fcompleting_read with INHERIT_INPUT_METHOD nil.
	(Fread_function, Fread_variable, Fread_buffer): Likewise
	(Fcompleting_read): New argument INHERIT_INPUT_METHOD.

	* lisp.h (DEFUN_ARGS_8): New macro.
	(Fcompleting_read, Fread_from_minibuffer, Fread_string,
	Fread_no_blanks_input): Number of arguments fixed.

	* eval.c (Feval): Handle a subr which takes 8 arguments.
	(Ffuncall): Likewise.

	* coding.c (Fread_non_nil_coding_system): Supply the arg
	INHERIT-INPUT-METHOD to Fcompleting_read.
	(Fread_coding_system): Likewise.

	* callint.c (Finteractive): Document the code letter `M'.
	(Fcall_interactively): Call Fcompleting_read,
	Fread_from_minibuffer, and Fread_string with a proper value for
	the arg INHERIT-INPUT-METHOD.  Handle the code letter `M'.

	* fileio.c (Fwrite_region): Convert EOL format even if
	enable-multibyte-characters is nil.
	(Fread_file_name): Call Fcompleting_read with INHERIT-INPUT-METHOD
	nil.

	* keyboard.c (Fexecute_extended_command): Call Fread_from_minibuffer
	with INHERIT-INPUT-METHOD nil.

	* fns.c (Fyes_or_no_p): Likewise.

	* mocklisp.c (Fml_arg): Call Fread_string with
	INHERIT-INPUT-METHOD nil.

	* search.c (Fsearch_backward): Inherit the current input method on
	reading STRING.
	(Fsearch_forward): Likewise.

1997-08-25  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* frame.c (Fframe_pixel_height): Doc fix.

	* Makefile.in (emacs): Put dash at beginning.

1997-08-24  NIIBE Yutaka  <gniibe@@mri.co.jp>

	* Makefile.in (xrdb.o): Depend on paths.h.

1997-08-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* config.in (KERBEROS5, HAVE_LIBKRB4, HAVE_LIBDES425, HAVE_LIBKRB5)
	(HAVE_LIBCRYPTO, HAVE_LIBCOM_ERR, HAVE_KRB5_H, HAVE_DES_H, HAVE_KRB_H)
	(HAVE_KERBEROSIV_DES_H, HAVE_KERBEROSIV_KRB_H, HAVE_KERBEROS_DES_H)
	(HAVE_KERBEROS_KRB_H, HAVE_COM_ERR_H): Add undefs.

	* callproc.c (init_callproc): Don't warn about missing
	arch-dep data directory, while preparing to dump.

	* puresize.h (BASE_PURESIZE): Increased by 10k.

1997-08-22  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* Makefile.in (LIB_MOTIF_EXTRA): New variable.
	(LIBW): Use LIB_MOTIF_EXTRA.
	* config.in (HAVE_MOTIF_2_1): Add #undef.

	* fileio.c (Fmake_temp_name): Doc fix.

	* buffer.c (syms_of_buffer): Doc fixes.

1997-08-21  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* xdisp.c (redisplay_window): Don't try using last_point_x
	if point is in the left margin of an hscroll'ed window.

1997-08-21  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>

	* fileio.c (syms_of_fileio): Fix previous change.

	* coding.c (detect_eol): If the coding system is an alias, get
	eol-type from the base of it.

1997-08-21  Kenichi HANDA  <handa@@etl.go.jp>

	* fileio.c (Vauto_file_coding_system_function): New variable.
	(Finsert_file_contents): Decide coding system after opening a
	file.  Call functions set in Vauto_file_coding_system_function.
	(syms_of_fileio): Declare auto-file-coding-system-function as a
	Lisp variable.

	* fontset.c (Valternate_fontname_alist): Name changed from
	Valternative_fontname_alist.
	(syms_of_fontset): Adjusted for the above change.
	
	* fontset.h: Adjusted for the name change of
	Valternate_fontname_alist.

	* xterm.c (x_list_fonts): Adjusted for the name change of
	Valternate_fontname_alist.

1997-08-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* charset.c (Fchars_in_region): Fix gap handling.

	* editfns.c (NULL): Define, if not defined.

1997-08-19  Geoff Voelker  <voelker@@cs.washington.edu>

	* fileio.c (Finsert_file_contents): Fix previous change.

1997-08-18  Ken'ichi Handa  <handa@@albert.gnu.ai.mit.edu>

	* charset.c (Fchars_in_region): Renamed form Fcount_chars_region.
	(syms_of_charset): Define Schars_in_region as a Lisp subroutine
	instead of Scount_chars_region.

1997-08-17  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fileio.c (Fdo_auto_save): If open fails, make lispstream nil.

1997-08-16  Geoff Voelker  <voelker@@cs.washington.edu>

	* fileio.c (Finsert_file_contents) [DOS_NT]: Set buffer_file_type
	according to eol conversion used on file.

1997-08-16  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* Makefile.in (xselect.o): Fix previous change.

	* minibuf.c (read_minibuf): New arg disable_multibyte.
	(Fcompleting_read): Pass 1 for disable_multibyte if
	the completion table is read-file-name-internal.

	* xrdb.c: Include paths.h.
	(get_system_app): Use PATH_X_DEFAULTS.

	* paths.in (PATH_X_DEFAULTS): New macro.

	* term.c (term_get_fkeys_1): Use kH as alternate for move-to-last-line.

	* charset.c: Many doc fixes.
	(Fcount_chars_region): New function.
	(min, max): New macros.

	* fns.c (Flength): Doc fix.

	* editfns.c (Fchar_before): Do range check before decrement.

1997-08-16  Kenichi Handa  <handa@@etl.go.jp>

	* coding.h (CODING_FLAG_ISO_LATIN_EXTRA): New macro.

	* coding.c (Vmicrosoft_code_table): This variable deleted.
	(Vlatin_extra_code_table): New variable.
	(detect_coding_iso2022): Pay attention to Vlatin_extra_code_table.
	(detect_coding_mask): Likewise.
	(setup_coding_system): Handle a new FLAGS element
	ACCEPT-LATIN-EXTRA-CODE.
	(syms_of_coding): Delete code for Vmicrosoft_code_table.
	Declare latin-extra-code-table as Lisp variable, and initialize.

1997-08-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* Makefile.in (xselect.o): Depend on coding.h.

	* s/osf1.h (SOCKLEN_TYPE): New macro definition.

1997-08-14  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* xdisp.c (COERCE_MARKER): Use Fmarker_position instead of
	marker_position so that it works with a marker that points nowhere.
	(redisplay_window): Check that Voverlay_arrow_position is a
	marker before accessing it as such.

1997-08-14  Eli Zaretskii  <eliz@@is.elta.co.il>

	* emacs.c (main): Update re_max_failures so regex.c won't overflow
	the stack, except when dumping.

1997-08-13  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xdisp.c (redisplay_window): When handling just cursor motion,
	do not subtract hscroll when accessing last_point_x.
	(display_text_line): Add WINDOW_LEFT_MARGIN into hpos
	later on, after handling hscroll and minibuffer prompt.

1997-08-13  Eli Zaretskii  <eliz@@psilocin.gnu.ai.mit.edu>

	* msdos.c (syms_of_msdos): Define and bind x-bitmap-file-path and
	delete-exited-processes, to prevent cus-start.el from complaining.

1997-08-13  Kazushi (Jam) Marukawa  <maru@@pdapsun2.trc.rwcp.or.jp>

	* filelock.c (lock_file): Use %lu instead of %d in sprintf because
	the variable named pid is unsigned long.

	* unexalpha.c (unexec): Cast arg to fprintf.

1997-08-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* alloc.c (free_marker): New function.

	* insdel.c (signal_before_change): Relocate START and END
	using markers for subsequent functions, when we run a function.

	* Makefile.in (emacs): Warn about shadowed standard libraries here.

1997-08-11  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

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

1997-08-11 +03  Eli Zaretskii  <eliz@@is.elta.co.il>

	* dosfns.c (init_dosfns): Avoid calling DOS memory-allocation
	service, NT DPMI server will crash Emacs in DOS box, if we do.

	* msdos.c (IT_set_frame_parameters): Actually store the frame
	parameters in the frame parameters' alist.

	* msdos.c (init_environment): Set Emacs root directory properly when
	the executable is in its `src' subdirectory, as under a debugger.
	(IT_set_face): If termscript is in use, print the number of the
	face as well.

1997-08-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* emacs.c (main) [__FreeBSD__ && PROFILING]: Add code for profiling.

1997-08-10  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (Qbackground_color, Qforeground_color): Define vars.

	* dosfns.c (Finsert_startup_screen): Call `insert_char' with a
	single argument.

1997-08-10  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>

	* coding.h (struct iso2022_spec): New member expected_charsets.
	(CODING_SPEC_ISO_EXPECTED_CHARSETS): New macro.

	* coding.c (Fset_terminal_coding_system_internal): Set
	CODING_FLAG_ISO_SAFE in terminal_coding.flags.
	(ENCODE_ISO_CHARACTER_DIMENSION1): Check
	CODING_SPEC_ISO_EXPECTED_CHARSETS.
	(ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.

1997-08-10  Kenichi Handa  <handa@@etl.go.jp>

	* term.c (encode_terminal_code): Use safe_terminal_coding if
	terminal_coding seems to encode Emacs' internal code as is.
	(write_glyphs): Likewise.

	* coding.c (ENCODE_ISO_CHARACTER_DIMENSION1): Pay attention to
	CODING_FLAG_ISO_SAFE.
	(ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
	(safe_terminal_coding): New variable.
	(Fset_safe_terminal_coding_system_internal): New function.
	(init_coding_once): Initilize safe_terminal_coding.
	(syms_of_coding): Declare set-safe-terminal-coding-system as a
	Lisp function.

	* coding.h (CODING_FLAG_ISO_SAFE): New macro.
	(CODING_INHIBIT_CHARACTER_SUBSTITUTION): New macro.
	coding.h (safe_terminal_coding): Extern it.

1997-08-10  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (Vmicrosoft_code_table): New variable.
	(syms_of_coding): Declare it as a Lisp variable and initialize it.
	(detect_coding_mask): Pay attention to Vmicrosoft_code_table.

	* xterm.c (dumpglyphs): Pay attention to
	Vignore_relative_composition.

	* fontset.h (Vignore_relative_composition): Extern it.

	* fontset.c (Vignore_relative_composition): New variable.
	(syms_of_fontset): Doc-string of use-default-ascent modified.
	Declare ignore-relative-composition as a Lisp variable.

	* fns.c (concat): Pay attention to multibyte characters when
	TARGET_TYPE is Lisp_String.

1997-08-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* sysdep.c (init_system_name): If domain is null, don't add a period.

1997-08-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* buffer.c (init_buffer): Use getcwd instead of getwd, if available.

	* eval.c (do_autoload): Require a suffix for the file.

	* lread.c (read1): Handle read_escape making a multibyte character.

	* strftime.c (gmtime_r, localtime_r): Undef before defining.

	* fns.c (Frequire): Don't insist on a suffix
	if the file name argument was explicitly specified.

1997-08-07  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* Makefile.in (lisp, shortlisp): Add bindings.el and case-table.elc.

	* xdisp.c (redisplay_window): Fix access to w->last_point{,_[xy]}.

	* lisp.h (Flocal_variable_p, Ffind_operation_coding_system): Declared.
	(find_symbol_value): Fix declaration.

1997-08-07  Erik Naggum  <erik@@naggum.no>

	* emacs.c (main): Remove call to init_filelock.
	* filelock.c (init_filelock): Function deleted.
	* paths.in (PATH_LOCK): Definition deleted.

1997-08-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xrdb.c (X_DEFAULT_SEARCH_PATH): Add /usr/X11R6/lib alternatives.

	* editfns.c (Fwiden, Fnarrow_to_region, save_restriction_restore): 
	Don't set clip_changed if the new values are the same as the old.

	* fileio.c (Fwrite_region): Turn off the feature of checking
	whether another buffer has locked this file.

	* xdisp.c (COERCE_MARKER): New macro.
	(redisplay_internal): Coerce Voverlay_arrow_position to a number
	to record it in last_arrow_position.
	(mark_window_display_accurate, redisplay_window): Likewise.
	(redisplay_window): Don't do the "only point has change" optimization
	if the overlay arrow is in this buffer.

1997-08-06  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* unexelf.c (unexec): Cast 1st arg in mmap calls.

	* sysdep.c (init_sys_modes) [mips || HAVE_TCATTR]:
	Handle flow_control by setting VSTART and VSTOP characters.

	* filelock.c (lock_file_1, lock_file): Add casts.

	* xselect.c (syms_of_xselect): Doc syntax fixes.

	* coding.c (syms_of_coding): Doc syntax fixes.

	* xdisp.c (redisplay_internal): Count only visible frames at first.

	* xdisp.c (redisplay_internal): Count all visible frames in new_count.

1997-08-05  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>

	* coding.c (detect_eol_type): Fix previous change.

1997-08-05  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fontset.c (syms_of_fontset): Doc fixes.

1997-08-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* indent.c (current_column): Update ptr differently at newline
	so that current_column_bol_cache is set properly.

1997-08-04  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (detect_eol_type): If EOL representation does not
	seem consistent, use no conversion.

	* process.c (Fset_process_coding_system): Doc-string modified.
	(Fprocess_coding_system): Likewise.

	* callproc.c (Fcall_process_region): Use cdr part (not car part)
	of Vdefault_process_coding_system for writing out text.

	* coding.c (detect_coding_iso2022): Do not exclude posibility of
	7-bit encoding when designation to G1 occurs.  If CSI, SS2, or SS3
	is found, return CODING_CATEGORY_MASK_ISO_8_ELSE.
	(Fdetect_coding_region): Doc-string modified.

1997-08-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xfaces.c (merge_face_list): New function.
	(compute_char_face): Use merge_face_list.
	Allow (foreground-color . COLOR) and (background-color . COLOR)
	in place of a face.

1997-08-03  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* m/intel386.h (HAVE_ALLOCA): Don't define this
	on USG5_4 if not using GNU C.

	* xdisp.c (redisplay_internal): Count number of visible frames
	instead of number of frames that were redisplayed.

	* m/ibmrs6000.h (LD_SWITCH_MACHINE):
	Add #ifdef emacs around all the definitions of this.

	* lisp.h (Fload): Update declaration.

1997-08-03  Kenichi HANDA  <handa@@etl.go.jp>

	* coding.h (CODING_CATEGORY_MASK_BINARY): New macro.

	* coding.c (detect_coding_mask): Include
	CODING_CATEGORY_MASK_BINARY in the return value if any 8-bit code
	is found.

	* xfns.c (x_set_frame_parameters): Heading comment fixed.
	(x_default_parameter): Likewise.

	* xselect.c (Vclipboard_coding_system): New variable.
	(selection_data_to_lisp_data): Decode text by
	Vclipboard_coding_system.
	(lisp_data_to_selection_data): Encode text by
	Vclipboard_coding_system.
	(syms_of_xselect): Declare clipboard-coding-system as Lisp
	variable and initialize it.

1997-08-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* coding.c: Doc fixes.
	
	* lread.c (Fload): New optional arg MUST-SUFFIX.
	* fns.c (Frequire): Pass t for the MUST-SUFFIX arg to Fload.
	* eval.c (do_autoload): Pass new arg to Fload.

	* indent.c (compute_motion): Correct the criterion for when to
	move back 1 space when we terminate just after continuing the line.

1997-07-31  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>

	* coding.c (encode_coding_iso2022): When source data ends not at
	character boundardy, set data in coding->carryover correctly, and
	set SRC to SRC_END.
	(encode_coding_sjis_big5): Likewise.
	(encode_coding): Don't set coding->carryover_size to 0.

	* fileio.c (Fwrite_region): Don't try to flush out a data twice.

1997-07-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xdisp.c (redisplay_window): Fix previous change.

	* dispnew.c (direct_output_for_insert): Set last_point_x properly.

1997-07-31  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_list_fonts): Request at least 10 fonts by XListFonts.

	* coding.c (encode_coding_iso2022): Write out invalid multibyte
	forms in a buffer as is.
	(detect_coding_mask): If ISO_CODE_CSI appears in an invalid
	sequence, ignore it.

1997-07-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xdisp.c (redisplay_window): Fix one-off in handling
	scroll-conservatively for scrolling up.

	* filelock.c (current_lock_owner): Don't try to delete lock
	if this or another existing process owns it!

1997-07-31  enami tsugutomo  <enami@@but-b.or.jp>

	* process.c (read_process_output): Don't call setup_coding_system
	for proc_decode_coding_system[channel].  It is already done in
	detect_coding called via decode_coding.

1997-07-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* filelock.c (lock_if_free): Don't loop; for strange error, return -1.

	* s/sunos4shr.h (LIBXMU): Alternative definition if CANNOT_DUMP.

	* Makefile.in (LDFLAGS, CPPFLAGS): Get them from configure like CFLAGS.

1997-07-29  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input): Call detect_input_pending
	whenever read_kbd is 0, not just when wait_for_cell.

	* xdisp.c (decode_mode_spec_coding): If multibyte chars disabled.
	display only the eol flag.

1997-07-29  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_list_fonts): Reject a font whose min_bounds.width is 0.
	
1997-07-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* emacs.c (sort_args): Check properly for `--'.

	* xdisp.c (redisplay_window): Fix previous change.

	* cm.h, sysdep.c, terminfo.c [HAVE_LIBNCURSES]:
	Declare ospeed as short, unless NCURSES_OSPEED_T.

	* xdisp.c (redisplay_window): When text has not changed,
	call compute_motion starting from the former PT if possible.
	If PT is unchanged from w->last_point, don't do compute_motion at all.

1997-07-28  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* editfns.c (Fformat_time_string): Don't hang if strftime produces
	an empty string.  Fix arguments of second call to strftime.
	Remove check for result being negative, this cannot happen.

	* xterm.c (x_new_font): Follow the change in
	x_set_scroll_bar_width and make the scroll bar at least 14 pixels
	wide.

	* xfns.c (Fx_create_frame): Initialize fontset in output_data.

1997-07-28  Dan Nicolaescu  <done@@ece.arizona.edu>

	* charset.c (non_ascii_char_to_string): Fix typos.

1997-07-27  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* callproc.c (syms_of_callproc):
	Don't init Vtemp_file_name_pattern here.

	* lread.c (map_obarray): Don't crash if something strange
	is in the obarray.

1997-07-26  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_term_init) [! HAVE_X11R5]: Don't try to use
	XtCvtStringToFont.

	* print.c (strout, printchar): Handle minibuffer_auto_raise.

1997-07-25  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fileio.c (Fwrite_region): Fix previous change.

1997-07-25  NIIBE Yutaka  <gniibe@@mri.co.jp>

	* indent.c (compute_motion): Handle display table correctly for
	multibyte characters.

1997-07-25  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>

	* fontset.c (syms_of_fontset): Set Vhighlight_wrong_size_font to
	Qnil.

	* coding.h (CODING_REQUIRE_TEXT_CONVERSION,
	CODING_REQUIRE_EOL_CONVERSION, CODING_REQUIRE_CONVERSION): Deleted.
	(CODING_REQUIRE_NO_CONVERSION): New macro.
	(CODING_MAY_REQUIRE_NO_CONVERSION): New macro.

	* fileio.c (Finsert_file_contents): Use new macros
	CODING_MAY_REQUIRE_NO_CONVERSION and
	CODING_MAY_REQUIRE_NO_CONVERSION.
	(Fwrite_region): Correct the logic for deciding coding system.

	* process.c (read_process_output): Use new macro
	CODING_REQUIRE_NO_CONVERSION
	(send_process): Use new macro CODING_MAY_REQUIRE_NO_CONVERSION.

	* xterm.c (dumpglyphs): Check the member `encoding' of *FONTP while
	setting `byte1' and `byte2' members of *CP.

1997-07-24  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* Makefile.in (${lispsource}TAGS): Specify ETAGS var in inner make.

	* print.c (Vprint_gensym_alist): Renamed from printed_gensyms.
	(Vprint_gensym): Now a Lisp_Object; Renamed from print_gensym.
	(syms_of_print): Set up both as Lisp vars.
	(PRINTPREPARE, PRINTFINISH): Don't clear Vprint_gensym_alist
	if Vprint_gensym is a cons cell.

	* Makefile.in (../src/$(OLDXMENU)): New target.

	* xselect.c (selection_data_to_lisp_data):
	Make the vector the right size, when format is 16.

	* emacs.c (main): Make --help msg end in newline.

	* xfns.c (Fx_create_frame): Don't fail to initialize `font'.

	* syntax.c (Fforward_comment): When count1 is negative,
	return nil if FROM reaches STOP.

	* editfns.c (Fcurrent_message): New function.
	(syms_of_editfns): defsubr it.

1997-07-23  Marcus G. Daniels  <marcus@@cathcart.sysc.pdx.edu>

        * xterm.c (XTread_socket): Trap the BadMatch error that can occur
        after a XSetInputFocus if window is not visible.

1997-07-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (XTread_socket) <ClientMessage>: Use FRAME_X_WINDOW
	when calling XSetInputFocus.

	* buffer.c (syms_of_buffer): Doc fix.

	* eval.c (syms_of_eval): Doc fix.

1997-07-22  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xdisp.c (display_text_line): Don't count minibuf_prompt_width
	twice in taboffset.

	* coding.c (syms_of_coding): Doc fix.

1997-07-21  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/sol2.h (LIBS_SYSTEM): Undo previous change.
	(HAVE_LIBKSTAT): Define it.

	* minibuf.c (choose_minibuf_frame_1): New function.
	(read_minibuf): Make an unwind protect to run that.
	(read_minibuf_unwind): Don't call choose_minibuf_frame here.

	* keyboard.c (read_char): Delete spurious UNGCPRO.
	Add UNGCPRO before the longjmps to wrong_kboard_jmpbuf.
	Initialize c before the GCPRO1.
	
	* frame.c (Fdelete_frame): Undo previous change.

	* s/hpux8.h (LD_SWITCH_SYSTEM_TEMACS): Define this
	instead of LD_SWITCH_SYSTEM.
	
	* window.c (set_window_height): Allow all heights > 0
	for minibuffer windows.
	(change_window_height): Fix one-off comparing DELTA with MAXIMUM.

	* xfns.c (Fx_create_frame): Default vertical-scroll-bars
	as symbol, not boolean.

1997-07-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input): Initialize total_read.
	Check for read_process_output giving back EIO.

	* keyboard.c (Fcommand_execute): gcpro c.

1997-07-20  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32term.c (w32_clear_end_of_line): Include scroll bar width.

1997-07-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/irix6-0.h: Undo previous change.

	* xterm.c (XTread_socket) <ClientMessage>:
	Don't use FRAME_XIC if it is null, here.

	* puresize.h (BASE_PURESIZE): Increased to 410000.

	* xdisp.c (redisplay_internal): Calculate new_count properly
	for non-window displays.

1997-07-18  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* minibuf.c (Fcompleting_read): gcpro def.

	* xterm.c (XTread_socket) <ClientMessage>:
	For wm_take_focus, use x_any_window_to_frame.

	* fileio.c (Fread_file_name): If Fcompleting_read return the default
	because the buffer want empty, replace that with an empty string.

1997-07-18  Simon Marshall  <simon@@diazepam.gnu.ai.mit.edu>

	* data.c: Many doc fixes.

1997-07-17  Geoff Voelker  <voelker@@cs.washington.edu>

	* coding.c (Ffind_operation_coding_system): Use Ffboundp to
	check for a function entry.

	* fileio.c (Finsert_file_contents) [DOS_NT]: Use the coding
	system to determine buffer_file_type.
	(Fwrite_region): Only use Qbuffer_file_coding_system
	before checking file-coding-system-alist if non-nil.
	(Fwrite_region) [DOS_NT]: Delete conditional code.

1997-07-17  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* dispnew.c (direct_output_forward_char): Reenable check against
	truncated text at end of line.

	* xdisp.c (display_string): Ignore W->left if OBEY_WINDOW_WIDTH is
	zero.

1997-07-17  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (dumpglyphs): Use 8-bit output to X, rather than 16-bit,
	if the character values permit that.

	* .gdbinit (xcar, xcdr): Print with /x.

	* fileio.c (Fdo_auto_save): Temporarily clear minibuffer_auto_raise.

1997-07-17  enami tsugutomo  <enami@@but-b.or.jp>

	* xdisp.c (decode_mode_spec_coding): Fix typo; use `val' instead
	of `coding-system'.

1997-07-15  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* xdisp.c (display_text_line): Handle the case of point being in
	the invisible part of the line beyond the left margin.

1997-07-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Fix previous change.

1997-07-15  Kenichi HANDA  <handa@@etl.go.jp>

	* coding.h (CODING_CATEGORY_IDX_ISO_7_ELSE): This macro is deleted
	(CODING_CATEGORY_IDX_ISO_7_ELSE): New macro.
	(CODING_CATEGORY_IDX_ISO_8_ELSE): New macro
	(CODING_CATEGORY_MASK_ISO_ELSE): This macro is deleted.
	(CODING_CATEGORY_MASK_ISO_7_ELSE): New macro.
	(CODING_CATEGORY_MASK_ISO_8_ELSE): New macro.
	(CODING_CATEGORY_MASK_ANY): Adjusted for the above change.

	* coding.c (detect_coding_iso2022): Distinguish
	coding-category-iso-7-else and coding-category-iso-8-else.

1997-07-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* unexalpha.c (unexec):
	Don't call update_dynamic_symbols if static link.

	* keyboard.c (read_char): Call timer_stop_idle unconditionally
	at non_reread.

	* keyboard.c (make_lispy_event): Distinguish S-SPC from SPC.

	* cmds.c (internal_self_insert): Use replace_range when
	number_to_delete is nonzero.

	* insdel.c (replace_range): New function.

	* keyboard.c (make_lispy_event): Handle non_ascii_keystroke
	in the ASCII range.

	* xterm.c (XTread_socket): Treat SPC as a function key.

1997-07-13  Marcus G. Daniels  <marcus@@cathcart.sysc.pdx.edu>

	* xterm.c (x_draw_box): Use scratch_cursor_gc to draw the cursor
	box using the color specified by cursor_pixel.

1997-07-13  Eli Zaretskii  <eliz@@is.elta.co.il>

	* fileio.c (Fwrite_region) [DOS_NT]: Always use binary mode since
	coding conversion now takes care of NL -> CRLF.

	* callproc.c (Fcall_process) [MSDOS]: Request EOL conversion of
	the process output, unless we were promised it is binary.

	* coding.c: Substantial comment changes.

	* lread.c (init_lread): Don't add to load-path lisp subdirectories
	of the source tree if the parent of the source was moved after
	dumping Emacs.

1997-07-13  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* search.c (compile_pattern_1): Don't declare val with CONST.

	* cmds.c (internal_self_insert): When overwriting, insert first
	and then delete.

1997-07-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/irix4-0.h (XPointer): Define as macro.

	* emacs.c (main): Use setrlimit only if RLIMIT_STACK.

1997-07-11  Marcus G. Daniels  <marcus@@cathcart.sysc.pdx.edu>

	* xdisp.c (decode_mode_spec): Initialize and use `p' (for the termcap
        case).

	* dispnew.c (init_display): Go ahead and prepare for
	a X configuration in the CANNOT_DUMP case.

1997-07-11  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* editfns.c (get_system_name): Don't crash if Vsystem_name does
	not contain a string.
	* filelock.c (lock_file_1): Don't crash if Fuser_login_name or
	Fsystem_name don't return strings.
	(current_lock_owner): Likewise.

	* ralloc.c (r_alloc_reinit): New function.
	* emacs.c (main) [DOUG_LEA_MALLOC]: Call it when restarting a
	dumped Emacs.

1997-07-11  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* m/news-r6.h: Renamed from news-risc6.h.

1997-07-10  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* xdisp.c (display_text_line): Exit the outer loop immediately
	when the right margin has been reached.

	* lisp.h (EXFUN, P_): New definitions.  Use them to declare
	prototypes for external functions.

	* xterm.c (dumpglyphs): Declare local variable first_ch as
	Lisp_Object, not int.
	* xselect.c (selection_data_to_lisp_data): Convert Fmake_vector
	and Faset arguments to Lisp_Integer.
	(clean_local_selection_data): Likewise.
	* x-list-font.c (Fx_list_fonts): Fix Fnconc argument.
	* window.c (Fcoordinates_in_window_p): Convert Fcons arguments to
	Lisp_Integer.
	(save_window_save): Convert Fset_marker argument to Lisp_Integer.
	* textprop.c (interval_of): Convert args_out_of_range arguments to
	Lisp_Integer.
	* syntax.c (init_syntax_once): Convert Fmake_vector argument to
	Lisp_Integer.
	* process.c (Fprocess_send_region): Convert move_gap argument to int.
	* mocklisp.c (Fml_arg): Add missing Fread_string arguments.
	* minibuf.c (Fread_from_minibuffer): Remove extra get_keymap argument.
	(Fminibuffer_complete): Convert Fset_window_start argument to
	Lisp_Integer.
	* keyboard.c (command_loop_1): Add missing message2 argument.
	(menu_bar_items): Add missing get_keyelt argument.
	(follow_key): Likewise.
	(read_key_sequence): Likewise.
	* intervals.c (set_point): Convert call2 arguments to Lisp_Integer.
	* fileio.c (Fwrite_region): Fix call2 argument.
	(Fread_file_name): Convert Fcons argument to Lisp_Integer.
	* editfns.c (Fcurrent_time_zone): Convert Fmake_list argument to
	Lisp_Integer.
	(Ftranspose_regions): Convert Fset_text_properties arguments to
	Lisp_Integer.
	* doc.c (Fsubstitute_command_keys): Add missing describe_map_tree
	argument.
	* coding.c (Ffind_coding_system): Use call1, not call2.
	* cmds.c (Fdelete_backward_char): Convert Finsert_char argument to
	Lisp_Integer and add missing argument.
	(internal_self_insert): Convert Fmove_to_column argument to
	Lisp_Integer and add missing argument.
	* ccl.c (Fregister_ccl_program): Convert Fmake_vector argument to
	Lisp_Integer.
	(syms_of_ccl): Likewise.
	* category.h (CATEGORY_DOCSTRING): Convert Fchar_table_extra_slot
	argument to Lisp_Integer.
	(CATEGORY_TABLE_VERSION): Likewise.
	* buffer.c (set_buffer_internal_1): Convert Fset_marker argument
	to Lisp_Integer.
	(set_buffer_temp): Likewise.
	(fix_overlays_in_range): Likewise.

	* xdisp.c (message2_nolog): Don't call fwrite will null string.

1997-07-10  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32.c (sys_shutdown): New function.
	* s/ms-win32.h: Define HAVE_SHUTDOWN.
	
1997-07-10  Eli Zaretskii  <eliz@@pogo.gnu.ai.mit.edu>

	* xfaces.c (Fset_face_attribute_internal): Set mouse_face_defer
	only if HAVE_X_WINDOWS is defined.

1997-07-09  Marcus G. Daniels  <marcus@@cathcart.sysc.pdx.edu>

	* xdisp.c (echo_area_display): Don't offset using left-side
	scroll bar width because it is included in the width; clear
	the entire line.

1997-07-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* process.c (read_process_output): Add cast.

	* filelock.c (current_lock_owner, lock_file_1): Add casts.

	* xdisp.c (redisplay_internal): Fix previous change.

	* s/irix4-0.h (C_SWITCH_SYSTEM): Add -Wf,-XNh option.

	* s/ms-w32.h: Don't define HAVE_SHUTDOWN.

	* frame.c (Fdelete_frame): Always err for deleting the only frame.

1997-07-09  Kenichi HANDA  <handa@@etl.go.jp>

	* fontset.c (Ffont_info): Make vector of correct size.

	* xterm.c (x_load_font): Get value of fontp->height from
	ascent and descent members of structure font->max_bounds.
	(dumpglyphs): Draw background by FillSolid if a font is too short. 

1997-07-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_term_init): Don't use initializer for null_bits.

	* cm.h, sysdep.c, terminfo.c: Fix previous change.

	* fns.c (syms_of_fns): Fix previous change.

	* xdisp.c (decode_mode_spec) <z,Z>: Display buffer coding system
	last of the three.

	* doprnt.c: Use #ifdef to test STDC_HEADERS.

	* Makefile.in (shortlisp): Fix typo.

1997-07-08  enami tsugutomo  <enami@@but-b.or.jp>

	* emacs.c (main) [__NetBSD__]: Round up new stack limit to page bdry.

	* fileio.c (Finsert_file_contents): Give up match-end only if
	coding requires conversion.  Adjust end of non-matching text area
	to multibyte character boundary if enable_multibyte_character is
	non-nil.

1997-07-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xdisp.c (decode_mode_spec_coding): Really don't display
	EOL indicator when eol_flag is 0.
	(echo_area_display): Use proper width when scroll bars on left.

	* syntax.h (struct gl_state_s): New field `offset'.
	(SETUP_SYNTAX_TABLE_FOR_OBJECT): Set offset field.
	(SETUP_SYNTAX_TABLE): Clear offset field.
	(UPDATE_SYNTAX_TABLE, UPDATE_SYNTAX_TABLE_FORWARD): 
	(UPDATE_SYNTAX_TABLE_BACKWARD): Use the offset field.

	* s/sol2.h (LIBS_SYSTEM): Add -lkvm and -lelf.

1997-07-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* editfns.c (Fuser_full_name): Declare p, q and r as unsigned char *.

	* xterm.c (XTread_socket) <KeyPress>: Call XFilterEvent.

	* terminfo.c (ospeed):
	Define as short, unless HAVE_TERMIOS_H and LINUX.

	* cm.h (ospeed): Declare as short unless HAVE_TERMIOS_H and LINUX.
	* sysdep.c (ospeed): Likewise.

	* window.c: Include blockinput.h.
	(Fset_window_configuration): Block input around frobbing the frame.
	Preseve point in the current buffer if we do not switch
	to a different one.

1997-07-06  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xdisp.c (redisplay_internal): Fix previous change.
	(echo_area_display): Use proper vpos when clearing extra minibuf lines.

1997-07-04  Kenichi HANDA  <handa@@etl.go.jp>

	* callproc.c (Fcall_process): If enable-multibyte-characters is
	nil, do not encode arguments for process, and decode output of
	process by emacs-mule.
	(Fcall_process_region): If enable-multibyte-characters is nil, do
	not encode text to be given to process, and decode output of
	process by emacs-mule.

	* process.c (Fstart_process): If enable-multibyte-characters is
	nil, set coding system for decoding output of process to
	emacs-mule, and set coding system for encoding to nil.
	(Fopen_network_stream): If enable-multibyte-characters is nil, set
	coding systems for decoding and encoding to nil.
	
	* fileio.c (Finsert_file_contents): If enable-multibyte-characters
	is nil, decode character code by emacs-mule.
	(Fwrite_region): Use buffer-file-coding-system for encoding if
	enable-multibyte-characters is nil.

	* coding.c (Qemacs_mule, inhibit_eol_conversion): New variables.
	(setup_coding_system): If inhibit_eol_conversion is 0, set
	coding->eol_type to CODING_EOL_LF.
	(syms_of_coding): Initialize and staticpro Qemacs_mule.  Change
	error-message property of coding-system-error.  Declare
	inhibit-eol-conversion as Lisp variable.
	(system_eol_type): New variable.
	(init_coding_once): Initialize it.
	(ENCODE_SJIS_BIG5_CHARACTER): Bug in encoding a BIG5 character
	fixed.

	* coding.h (Qemacs_mule): Extern it.

	* xterm.c (x_list_fonts): Initialize the variable LIST to Qnil.

1997-07-06  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xdisp.c (display_menu_bar): Always pass W to display_string.

	* unexalpha.c (update_dynamic_symbols): Add cast when setting reladdr.

	* sysdep.c (init_system_name): Don't be fooled if getdomainname
	string starts with a period.

1997-07-05  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xdisp.c (redisplay_internal): At the end, if more frames have
	become visible, repeat the redisplay.
	(decode_mode_spec): Don't display subprocess coding systems.
	Don't display EOL for keyboard and terminal coding systems.

	* xfns.c (x_set_font): Funcall Qface_set_after_frame_default.
	(Qface_set_after_frame_default): New variable.
	(syms_of_xfns): Initialize and staticpro it.

	* xterm.c (x_make_frame_visible): Don't move the frame
	if it was iconified--only if it was invisible.

1997-07-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* gmalloc.c: Rename macro __P to PP.

	* floatfns.c, data.c, doprnt.c: Include float.h before lisp.h.

	* dired.c (Ffile_attributes): Use cast to avoid warnings.

	* syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer.

	* lread.c (Vpreloaded_file_list): New variable.
	(syms_of_lread): Set up Lisp variable.
	(Fload): Add to Vpreloaded_file_list, if dumping.

1997-07-04  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* editfns.c (Fformat): Add second argument in call to Ftruncate.

	* alloc.c, buffer.c, casefiddle.c, casetab.c, category.c,
	category.h, ccl.c, coding.c, editfns.c, fileio.c, fns.c, indent.c,
	intervals.c, intervals.h, keymap.c, lisp.h, minibuf.c, print.c,
	syntax.c, syntax.h, sysdep.c, textprop.c, xfns.c: Fix numerous
	bugs with inappropriate mixing of Lisp_Object with int.
	* config.in (RE_TRANSLATE): Define to extract integers from
	array of Lisp_Objects.

1997-07-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* buffer.c (overlay_strings): Finish up previous change.

	* Makefile.in (lisp, shortlisp): Some files moved to subdirs.

1997-07-03  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/sunos4shr.h (LD_SWITCH_SYSTEM_TEMACS): Add #undef.

	* syssignal.h [sigmask] (SIGEMPTYMASK): Define to use sigmask.

	* eval.c (Fsignal, find_handler_clause): If ERROR_SYMBOL
	is nil, assume it's in the car of DATA.
	* alloc.c (memory_full): Pass Qnil to Fsignal for ERROR_SYMBOL.

	* s/sunos4-0.h (LD_SWITCH_SYSTEM_TEMACS): Defined.  Move -e here.
	(LD_SWITCH_SYSTEM): Don't use -e option here.

	* Makefile.in (ALL_LDFLAGS): Use LD_SWITCH_SYSTEM_TEMACS.

1997-07-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* process.c (send_process): Make buf and temp_buf  `unsigned char *'.

	* buffer.c (overlay_strings): Use unsigned char for things
	that relate to overlay_str_buf.

	* syssignal.h (sigpause): Don't define if already defined.

	* Makefile.in (LD_SWITCH_SYSTEM_TEMACS): New variable.
	
1997-07-02  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* Makefile.in (lisp, shortlisp): Add widget.elc.

1997-07-02  Kenichi Handa  <handa@@etl.go.jp>

	* xselect.c (selection_data_to_lisp_data): Call free instead of
	xfree.

	* coding.h (struct coding_system): New members
	character_unification_table_for_decode and
	character_unification_table_for_encode.

	* coding.c (Vstandard_character_unification_table_for_decode):
	Name changed from Vstandard_character_unification_table_for_read.
	(Vstandard_character_unification_table_for_encode): Name changed
	from Vstandard_character_unification_table_for_write.
	(Qcharacter_unification_table_for_decode): New variable.
	(Qcharacter_unification_table_for_encode): New variable.
	(decode_coding_iso2022): Adjusted for the above name change.
	(encode_coding_iso2022): Likewise.
	(ENCODE_ISO_CHARACTER): Bug of handling return value of unify_char
	fixed.
	(DECODE_SJIS_BIG5_CHARACTER): New macro.
	(decode_coding_sjis_big5): Handle character unificatoin table.
	Use macro DECODE_SJIS_BIG5_CHARACTER.
	(encode_coding_sjis_big5): Handle character unificatoin table.
	Use macro ENCODE_SJIS_BIG5_CHARACTER.
	(setup_coding_system): Handle members
	character_unification_table_for_decode and
	character_unification_table_for_encode of the variable coding.
	(Ffind_operation_coding_system): Renamed from Ffind_coding_system.
	(syms_of_coding): Initialize and staticpro
	Qcharacter_unification_table_for_decode and
	Qcharacter_unification_table_for_decode.  Declare
	Ffind_operation_coding_system as Lisp functions.  Declare
	Vstandard_character_unification_table_for_decode and
	Vstandard_character_unification_table_for_encode as Lisp
	variables.

	* charset.c (Fchar_width): Check if the current buffer has display
	table.

	* fileio.c (Finsert_file_contents): Doc-string fixed.  Call
	Ffind_operation_coding_system.
	(Fwrite_region):  Call Ffind_operation_coding_system.

	* callproc.c: Call Ffind_operation_coding_system.

	* process.c (Fstart_process): Call Ffind_operation_coding_system.
	(Fopen_network_stream): Likewise.

	* fontset.h: Move "#endif /* _FONTSET_H */" at the tail.

1997-07-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* sysdep.c (init_system_name): Don't accept "(none)" as domain.

	* xterm.c (x_make_frame_visible): Check has_been_visible
	field before the UNBLOCK_INPUT.

1997-07-01  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* coding.c (syms_of_coding): Change initial values of
	eol_mnemonic_... variables.

	* xdisp.c (decode_mode_spec_coding): Clean up handling of
	eol conversions.

	* .gdbinit (xcons): Print car and cdr in hex.
	(nextcons): New command.

	* xfns.c (x_set_scroll_bar_width): By default, use enough
	columns to give 14 or more pixels.

1997-06-30  Geoff Voelker  <voelker@@cs.washington.edu>

	* emacs.c (decode_env_path): Ensure path elements use proper
	directory separator.

	* keyboard.c (make_lispy_event):
	Check that ISO_FUNCTION_KEY_OFFSET is defined.

	* process.c (READ_CHILD_OUTPUT): Deleted.
	(read_process_output): Use read instead of READ_CHILD_OUTPUT.

	* makefile.nt (OBJ2): Include new source files.
	
	* s/ms-w32.h: Duplicate undefs from config.in to check completeness.
	(STDC_HEADERS, HAVE_TZNAME, HAVE_MKTIME): Define to have a value.
	(HAVE_GETPAGESIZE, HAVE_SETLOCALE, HAVE_SHUTDOWN, HAVE_TZSET,
	HAVE_LIMITS_H, HAVE_STRERROR): Define.
	[HAVE_NTGUI] (HAVE_MENUS): Define.
	(SYSTEM_PURESIZE_EXTRA): Increase value.

	* unexw32.c, w32heap.c: Add pragma to force zero initialized 
	data into .data segment.

	* w32console.c, w32term.c: Include charset.h.

	* w32fns.c (syms_of_w32fns): Delete defsubrs of Sfocus_frame and
	Sunfocus_frame.

	* w32heap.c (getpagesize): Define.

1997-06-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* editfns.c (Fformat_time_string): Move doc string outside DEFUN.

	* buffer.c (overlay_str_buf): Declare as unsigned char *.

	* fns.c (Fy_or_n_p, Fyes_or_no_p): Obey use_dialog_box.
	(use_dialog_box): New variable, controls whether to use dialog boxes.
	(syms_of_fns): Set up Lisp variable.

1997-06-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* buffer.c (syms_of_buffer): enable-multibyte-characters is a user var.

	* callproc.c (Fcall_process): Fix previous change.

	* fns.c (concat): Use XCONS rather than Fcar, Fcdr--for known cons.
	(Fassq, assq_no_quit, Fassoc, Frassq, Frassoc, Fdelq): Likewise.
	(Fdelete, Fplist_get, mapcar1, Fmember, Fmemq): Likewise.

	* lread.c (init_lread): Add leim subdir, like lisp subdir.

	* syntax.c (scan_sexps_forward): Split up a complex if-test.

	* keyboard.c (read_char): Add a call to swallow_events
	when deciding whether to redisplay.
	(swallow_events): Add forward declaration.

	* sysdep.c [HAVE_TERMIOS_H]: Include termios.h.

	* callproc.c (Fcall_process): Avoid storing alloca result
	directly into array element.

	* process.c (wait_reading_process_input): If wait_for_cell,
	do check for keyboard input and swallow events, just don't exit.
	(max): New macro.
	(wait_reading_process_input): Pass a smaller first arg to select.

	* buffer.c (Fbury_buffer): Undo previous change.

1997-06-27  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* window.c (temp_output_buffer_show):
	Copy default-directory from current buffer.

	* cm.h (ospeed): Always use `extern' in the declaration.

	* Makefile.in (lisp, shortlisp): Some files are in international/.

	* unexelf.c [__NetBSD__]: Add some conditionals for NetBSD.

	* unexelf1.c: File deleted.

1997-06-26  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/unixware.h: New file.

1997-06-25  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fileio.c (Finsert_file_contents):
	Pass new arg to prepare_to_modify_buffer.

	* insdel.c (prepare_to_modify_buffer, signal_before_change):
	New argument PRESERVE_PTR.
	(del_range_1): Use PRESERVE_PTR to preserve FROM.
	Save the length of the range separately.
	(NULL): Define if not defined.

1997-06-23  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* fileio.c (Ffile_directory_p): Doc fix.

1997-06-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* buffer.c (Fbuffer_list): New optional argument FRAME.

	* fns.c (Freverse): Simplify.

1997-06-22  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/bsdos3.h: New file.
	
	* s/bsdos2.h (KERNEL_FILE): New overriding definition.

	* keyboard.c (read_avail_input): Check for failure with EIO.

	* s/gnu-linux.h (LD_SWITCH_SYSTEM) [__mips__]: Alternate definition.

	* m/mips.h: Test __linux__ along with NEWSOS5.
	(KERNEL_FILE, UNEXEC): Don't redefine them if __linux__.
	[__linux__] (TEXT_START, DATA_START, DATA_SEG_BITS):
	Alternate definitions.
	
	* emacs.c (Fdump_emacs): Bind command-line-processed to nil here.

	* xdisp.c (init_xdisp): Pay attention to FRAME_MENU_BAR_LINES.

	* emacs.c (Fdump_emacs): Error if not run in batch mode.

	* s/hpux10.h (LIBS_TERMCAP): Use -ltermcap instead of -lc.

	* unexelf.c [__sony_news && _SYSTYPE_SYSV]: Include sym.h
	and sys/elf_mips.h.
	(unexec): Add __sony_news && _SYSTYPE_SYSV conditionals.
	Add a _nec_ews_svr4 conditional.

	* s/newsos6.h: New file.

	* m/news-risc6.h: New file.

	* frame.c (Fdelete_frame): Clear echo_area_glyphs if it was
	in this frame.

	* process.c (wait_reading_process_input): Don't check for
	keyboard input if wait_for_cell.

	* minibuf.c (read_minibuf): New arg allow_props.
	If it is 0, discard text properties from the result.  Callers changed.
	(minibuffer_allow_text_properties): New variable.
	(Fread_from_minibuffer): That variable controls allow_props arg.
	(syms_of_minibuf): Set up Lisp var.

1997-06-21  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* insdel.c (del_range_1): Make markers for TO and FROM
	in case prepare_to_modify_buffer changes the text.

1997-06-21  Kenichi Handa  <handa@@etl.go.jp>

	* fontset.h (font_idx_temp): Extern it.
	(FS_LOAD_FONT): New macro.

	* fontset.c (font_idx_temp): New temprary variable used in
	FS_LOAD_FONT.

	* xfaces.c (Fset_face_attribute_internal): Use FS_LOAD_FONT
	instead of calling fs_load_font directly.

	* xterm.c (dumpglyphs): Use FS_LOAD_FONT.
	(x_new_fontset): If frame F has already using FONTSET, avoid the
	duplicated work.  Use FS_LOAD_FONT.
	(x_list_fonts): Call Fassoc to search Valternate_charset_table.
	(x_load_font): Get around a buf of XListFonts

1997-06-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* print.c (Ferror_message_string): Optimize (error STRING) case.

1997-06-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* process.c (Fprocess_send_eof): Properly conditionalize prev. change.

1997-06-18  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* process.c (Fprocess_send_eof): Use shutdown, if it's a socket.
	Don't close the output descriptor if that is also the input descriptor.
	
	* config.in (HAVE_SHUTDOWN): Add #undef.

	* editfns.c (Fchar_before): Validate N after decrementing.
	Don't use POS as integer.

1997-06-18  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (detect_coding_iso2022): Initilize mask correctly.

	* fns.c (concat): Pay attention to multibyte characters when
	TARGET_TYPE is Lisp_String.

1997-06-17  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input): Fix previous change.

1997-06-16  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fileio.c (Fdo_auto_save): Use stdio to write the save-list file.

	* fileio.c (Finsert_file_contents): Don't give up on the fast
	replace method if the coding remains undecided.

1997-06-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input): When exiting because
	the process WAIT_PROC has terminated, first read all its output. 

1997-06-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* editfns.c (Fchar_after, Fchar_before): Make arg optional.

1997-06-14  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* buffer.h (point): Obsolete macro deleted in favor of PT.
	* editfns.c (Fprevious_char): Use PT, not point.
	* cmds.c (internal_self_insert): Use PT, not point.

1997-06-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* bytecode.c (Bread_char): Deleted.
	(Bsave_current_buffer_1): New byte code.
	(Fbyte_code): Delete handling Bread_char.
	Handle Bsave_current_buffer_1 like Bsave_current_buffer.

1997-06-11  Paul Eggert  <eggert@@twinsun.com>

	* callproc.c (Fcall_process): Use setsid to disconnect child
	process from controlling terminal.

1997-06-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* unexalpha.c (unexec): Call update_dynamic_symbols unconditionally.
	(update_dynamic_symbols): Define unconditionally, but do nothing
	if __linux__or __NetBSD__.

	* s/netbsd.h (HAVE_TEXT_START, START_FILES, UNEXEC):
	Don't define these if __ELF__.
	(RUN_TIME_REMAP, N_PAGSIZ, N_BSSADDR, N_TRELOFF): Likewise.

	* m/alpha.h (TEXT_END, COFF, DATA_END): 
	Define them if __NetBSD__ just as if LINUX.
	(HAVE_TEXT_START): Define, if __NetBSD__ and __ELF__.

1997-06-10  Erik Naggum  <erik@@naggum.no>

	* fileio.c (Fwrite_region): Fix previous doc change.

1997-06-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input): Return if unread events
	appear.

	* keyboard.c (kbd_buffer_get_event): When wait_reading_process_input
	returns, check Vunread_command_events.

1997-06-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* sysdep.c (init_sys_modes): Enable VSTART and VSTOP
	if flow_control.

	* editfns.c (Finsert_char): Check QUIT.

	* fontset.c (list_fontsets, fs_load_font): 
	fast_c_string_match_ignore_case renamed.
	
	* xterm.c (x_list_fonts): fast_c_string_match_ignore_case renamed.

	* search.c (fast_c_string_match_ignore_case):
	Renamed from fast_string_match_ignore_case.  Set re_match_object.

1997-06-09  Kenichi Handa  <handa@@etl.go.jp>

	* buffer.c (init_buffer_once): Inititialize the member
	buffer_file_coding_system.
	(syms_of_buffer): Declare Lisp variables
	default-buffer-file-coding-system and buffer-file-coding-system.

	* buffer.h (struct buffer): New member buffer_file_coding_system.

	* coding.c (Vcoding_system_alist): Deleted.
	(Qcoding_system_spec): Renamed from Qcoding_system_vector.
	(Vdefault_process_coding_system, Vfile_coding_system_alist,
	Vprocess_coding_system_alist, Vnetwork_coding_system_alist): New
	variables.
	(Ffind_coding_system): Adjusted for the above change.
	(syms_of_coding): Declare them as lisp variables.
	(Fcheck_coding_system): Pass list as DATA argument to Fsignal.

	* coding.h (Vdefault_process_coding_system): Extern it.

	* callproc.c (Fcall_process): Pay attention to
	Vdefault_process_coding_system.
	(Fcall_process_region): Likewise.

	* process.c (Fstart_process): Likewise.
	(Fopen_network_stream): Likewise.

	* xdisp.c (decode_mode_spec): Access the value of
	buffer-file-coding-system by b->buffer_file_coding_system.

	* fileio.c (Fwrite_region): Cancel the 7th argument CODING_SYSTEM
	added by the previous change.
	(auto_save_1): Adjusted for the above change.

	* data.c (Faset): Inherit default value correctly while creating
	sub char table.

	* xselect.c (selection_data_to_lisp_data): Change coding system
	name to iso-latin-1.
	(lisp_data_to_selection_data): Likewise.

	* xterm.c (dumpglyph): Shift baseline for such a font that is
	shorter but ascent or descent exceed the line height.
	For a larger font, draw a small hook at right-bottom edge instead
	of a rectangle.

1997-06-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* keymap.c (Fcopy_keymap): After copying a sub-char-table,
	do store the copy.

1997-06-04  Kenichi Handa  <handa@@etl.go.jp>

	* casefiddle.c (casify_object): Fix bug on handling a character
	argument.

1997-06-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/netbsd.h (NO_SHARED_LIBS): Test __alpha__ && ! __ELF__.

	* keyboard.c (syms_of_keyboard): Doc fix.

	* search.c (Freplace_match): If opoint is 0, that's relative to ZV.

	* intervals.c (find_interval): No longer inline.

1997-06-01  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* lisp.h (VALMASK, GCTYPEMASK, MARKBIT, ARRAY_MARK_FLAG)
	(PSEUDOVECTOR_FLAG, enum pvec_type, PSEUDOVECTOR_SIZE_MASK): 
	Define regardless of NO_UNION_TYPE.
	
	* xfns.c (Fx_create_frame): Use XINT to access parent.

	* syntax.c (Fsyntax_table_p, check_syntax_table): Use EQ.
	(Fmodify_syntax_entry): Use XINT to access c.
	(describe_syntax): Use XINT to access first.

	* search.c (search_buffer): Use XINT around refs to trt.

	* lisp.h (concat3, get_truename_buffer): Declare them.

	* keyboard.c (read_key_sequence): Change some locals to `int'.

	* indent.c (compute_motion): Use XFASTINT on width_table elts.

	* fns.c (map_char_table): Use XSETFASTINT.

	* fileio.c (Fwrite_region, build_annotations):
	Set start and end using XSETFASTINT.

	* editfns.c (Fcompare_buffer_substrings): trt contains Lisp_Objects.
	(transpose_markers): Use marker_position, not Fmarker_position.

	* buffer.c (Fmove_overlay): Clean up setting o_beg and o_end.

	* alloc.c (Fmake_byte_code): Set val from p, not from val.
	(make_event_array): Convert nargs to Lisp_Object.

	* m/powerpcle.h: New file.

	* unexalpha.c [__NetBSD__]: Don't include filehdr.h, aouthdr.h
	scnhdr.h or syms.h.  Add many other conditionalized definitions.

	* m/alpha.h [__NetBSD__]: Include stdlib.h, not alloca.h.
	(ORDINARY_LINK): Defined (if __NetBSD__).

	* s/netbsd.h [__alpha__] (NO_SHARED_LIBS): Defined.
	
1997-05-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* lread.c (init_lread): Sometimes add to load-path
	the lisp and site-lisp dirs under the source directory.

	* xfaces.c: Include frame.h unconditionally.

	* Makefile.in (stamp-oldxmenu): Always define this
	one way or another.

	* search.c (Freplace_match): Fix previous change.

	* syntax.c (back_comment): Detect 2-char comment starts properly.
	New arg COMSTYLE; callers changed.
	(Fforward_comment): Handle unmatched two-character comment starters.

	* intervals.c (move_if_not_intangible): Fix previous change.

	* Makefile.in (XOBJ, MSDOS_OBJ, SOME_MACHINE_OBJECTS): Delete xfaces.o.
	(obj): Add xfaces.o.
	(FACE_SUPPORT, SOME_MACHINE_LISP): Delete faces.elc.
	(shortlisp, lisp): Add faces.elc

	* emacs.c (main): Call syms_of_xfaces whenever ! HAVE_NTGUI.

	* xfaces.c (Fframe_face_alist, Fset_frame_face_alist):
	Define unconditionally.
	(Finternal_next_face_id, next_face_id): Likewise.
	(syms_of_xfaces): Define unconditionally,
	but conditionalize some of the contents.

1997-06-01  Roderick Schertler  <roderick@@ibcinc.com>

	* sysdep.c (init_baud_rate): Use INIT_BAUD_RATE if it's defined.
	(sys_signal): Lose DGUX special case.

	* s/dgux.h (signal): Define only if not NO_DGUX_SIGNAL_REDEF.
	* s/dgux4.h: New file.

1997-05-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (process_expose_from_menu, XTread_socket): 
	Set has_been_visible field.
	(x_make_frame_visible): Don't do XMoveWindow unles has_been_visible.

	* xterm.h (struct x_output): New field has_been_visible.

	* lread.c (intern): Don't make a pure string here,
	since Fintern does that.

	* Makefile.in (lisp, shortlisp): Use cus-start.el, not .elc.

	* data.c (Farrayp): Accept bool-vectors and char-tables.

	* fns.c (Fchar_table_range, Fset_char_table_range):
	Make one-element vector work for RANGE.

1997-05-30  NIIBE Yutaka  <gniibe@@mri.co.jp>

	* term.c (insert_glyphs): Use &, not &&.

1997-05-29  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* search.c (Freplace_match): Use move_if_not_intangible
	to handle intangible text better.

	* intervals.c (move_if_not_intangible): New function.

	* editfns.c (Fcurrent_time_string): Doc fix.

	* eval.c (Fsignal): Use call2 to call Vsignal_hook_function.

1997-05-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* dispnew.c (scrolling): If a line is not enabled,
	give it an infinite draw_cost.

	* data.c (Faset): Doc fix.

	* alloc.c (Fmake_bool_vector): Doc fix.

	* buffer.c (syms_of_buffer): Doc fix.

1997-05-27  Kenichi Handa  <handa@@etl.go.jp>

	* fontset.h (FONT_ENCODING_NOT_DECIDED): New macro.

	* fontset.c (fs_load_font): Before using a fontset, be sure to
	load the ASCII font of the fontset.  Size and height of a fontset
	is set to the same as those of the ASCII font of the fontset.  Use
	macro FONT_ENCODING_NOT_DECIDED.

	* xterm.c (x_load_font): Use macro FONT_ENCODING_NOT_DECIDED.

	* fns.c (map_char_table): For sub char-table, index should be
	start from 0 (not from 32) considering a composite character.
	(Fmap_char_table): Doc-string adjusted.  The variable indices is
	declared as an array of Lisp_Object.

	* coding.h (struct iso2022_spec): Member requested_designation is
	changed to array of `unsigned char'.
	(CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION): New macro.

	* coding.c (encode_invocation_designation): Use macro
	CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION.
	(encode_designation_at_bol, setup_coding_system): Likewise.
	(Fset_terminal_coding_system_internal): Renamed from
	Fset_terminal_coding_system.  Make it non-interactive.
	Do not call Fredraw_display.
	(Fset_keyboard_coding_system_internal): Renamed from
	Fset_keyboard_coding_system.  Make it non-interactive.

	* charset.c (Ffind_charset_string): The variable CHARSETS is
	changed to (int *).

	* casetab.c (case_temp1, case_temp2): New variables temporarily
	used in macros DOWNCASE and UPCASE1.
	(set_case_table): Setup canonical table correctly.  Use
	map_char_table instead of compute_trt_inverse.
	(set_canon, set_identity, shuffle): New functions given to
	map_char_table.
	(compute_trt_identity, compute_trt_shuffle, compute_trt_inverse):
	Deleted.

	* casefiddle.c (casify_object): Handle multibyte characters.
	(casify_region): Change the way of handling multibyte characters.

	* lisp.h (CHAR_TABLE_REF): Do not check validity of CT.
	(CHAR_TABLE_SET): Likewise.
	(DOWNCASE_TABLE): Return case-table instead of the `contents' field.
	(UPCASE_TABLE): Likewise.
	(DOWNCASE): Use CHAR_TABLE_REF.
	(NOCASEP): Use UPCASE1.
	(UPCASE1): Use CHAR_TABLE_REF.

	* search.c (looking_at_1): Change using DOWNCASE_TABLE.
	(string_match_1): Likewise.

	* editfns.c (Fchar_equal): Make it handle case of multibyte
	characters.

1997-05-27  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* window.c (Fsplit_window): Ignore FRAME_NO_SPLIT_P here.
	(inhibit_frame_unsplittable): Variable deleted.
	(syms_of_window): Don't set up Lisp variable.

	* xterm.c (XTread_socket) <ConfigureNotify>: Don't call
	x_wm_set_size_hint if window has no parent yet.
	Simplify the call to x_real_positions.
	(x_make_frame_visible): Use win_gravity to decide whether to
	call XMoveWindow.  Also, don't do it if frame already visible.
	
	* xfns.c (x_real_positions): Subtract border width from results.

1997-05-26  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* window.c (syms_of_window): Initialize inhibit_frame_unsplittable.

	* w16select.c (Fwin16_set_clipboard_data): Pass new arg to sit_for.

	* fileio.c (Fdo_auto_save): Pass new arg to sit_for.

	* callint.c (Fcall_interactively): Pass new arg to sit_for.

	* keyboard.c (command_loop_1): Pass 1 as new arg to sit_for.
	(read_char): Likewise, pass 0 for it.

	* dispnew.c (sit_for): New arg initial_display.
	(Fsit_for): Pass new arg.

	* indent.c (compute_motion): Return correctly if skip_invisible
	takes us past TO.

	* xterm.c (XTread_socket) <UnmapNotify>: Don't make an iconify_event
	when frame was made invisible.
	(x_make_frame_visible): Put the call to x_set_offset back as it was.
	Near the end, instead call XMoveWindow, but only if original
	positions were not negative.

1997-05-26  Simon Marshall  <simon@@diazepam.gnu.ai.mit.edu>

	* window.c (syms_of_window): Change frame_override_unsplittable to
	inhibit_frame_unsplittable.
	(Fsplit_window): Check inhibit_frame_unsplittable.

1997-05-25  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* window.c (Fdisplay_buffer): Use B not b for interactive argument.

	* xfns.c (x_real_positions): Directly compare the frame's window
	or parent with the root window.

	* xterm.c (x_make_frame_visible): Call x_set_offset only after
	mapping the window and accepting input.
	(x_calc_absolute_position): Do nothing if current position
	is already for the top-left corner.
	Handle errors in XTranslateCoordinates.
	(XTread_socket): Simplify handling of ConfigureNotify events.
	Always call x_wm_set_size_hint for them.
	No need to call XTranslateCoordinates here.
	(x_clear_errors): New function.
	
1997-05-20  Erik Naggum  <erik@@naggum.no>

	* editfns.c (Fformat_time_string): Doc update.
	
1997-05-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* editfns.c (Fformat_time_string): Doc update.
	Handle emacs_strftime returning -1.
	If it returns 0, compute actual buffer size needed.

	* Makefile.in (shortlisp): Add custom.elc and cus-start.elc.

	* fns.c (internal_equal): When comparing strings, ignore text props.
	Friedman offers to fix anything that has trouble due to this.

	* dispnew.c (sit_for): Delete #if 0.

	* keymap.c (access_keymap, store_in_keymap): Don't look in a char-table
	for a character that has modifier bits.

1997-05-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* keymap.c (access_keymap): For a char-table,
	look only for chars with no modifier bits.

1997-05-19  Kenichi Handa  <handa@@etl.go.jp>

	* s/osf1.h (HAVE_TERMIOS): Define it.

	* m/alpha.h (PTY_OPEN): Call sigblock instead of sigblockx.

	* Makefile.in (xdisp.o): Add coding.h in dependency list.

	* fontset.h (struct font_info): Change the declaration of encoding
	from `char' to `unsigned char'.

	* xterm.c (x_load_font): Set 4 instead of -1 in fontp->encoding[1]
	for the meaning of `can not be decided'.

	* fontset.c (fs_load_font): Modified to cope with the above
	change.

	* charset.c (Ffind_charset_region): Change the declaration of
	charsets from `char' to `int'.
	(find_charset_in_str): Likewise.

	* xselect.c (lisp_data_to_selection_data): Likewise.

	* coding.h (struct iso2022_spec): Change the declaration of
	requested_designation from `char' to `int'.

1997-05-18  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* callint.c (Fcall_interactively): Use num_input_events.

	* keyboard.h (num_input_events, num_nonmacro_input_events):
	Renamed from ..._input_chars.

	* eval.c (num_nonmacro_input_events):
	Renamed from num_nonmacro_input_chars.

	* keyboard.c (num_nonmacro_input_events):
	Renamed from num_nonmacro_input_chars.
	(syms_of_keyboard): Rename Lisp variable.

1997-05-18  Erik Naggum  <erik@@naggum.no>

	* lisp.h (Vtty_erase_char): Declared.
	* keyboard.c (Vtty_erase_char): Variable defined
	(syms_of_keyboard): Set up Lisp variable.
	Also set up `num-nonmacro-input-chars' to report actual keystrokes.
	* sysdep.c (init_sys_modes): Initialize Vtty_erase_char if
	possible from the stty settings, otherwise to nil.

	* lread.c (Fintern): Give keywords a value when interned.

	* dired.c (Ffile_attributes): Return inode number as a cons
	only if necessary.

1997-05-18  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* keymap.c (copy_keymap_1): Do nothing if ELT isn't a keymap.

1997-05-17  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* frame.c (make_terminal_frame): Don't add `Emacs' to frame name.

1997-05-16  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* sysselect.h (SELECT_TYPE): Don't define if already defined.

	* cmds.c (nonascii_insert_offset): New variable.
	(Fself_insert_command, internal_self_insert):
	Add nonascii_insert_offset to what we insert, when appropriate.
	(syms_of_cmds): Set up Lisp variable.

	* xdisp.c (display_text_line): Move the code to fill out the line
	with the newline's face to the end of the newline code.
	Add changes (commented out) to record ellipsis positions in charstarts.

	* charset.c (strwidth): Fix previous change.

	* ralloc.c (mallopt): Declare, if appropriate.
	(r_alloc_init) [DOUG_LEA_MALLOC]: Call mallopt,
	instead of setting __malloc_extra_blocks.

Thu May 15 22:21:18 1997  Ken'ichi Handa  <handa@@diazepam.gnu.ai.mit.edu>

	* Makefile.in (charset.o): Add disptab.h in dependency list.

	* charset.c: Include disptab.h.

1997-05-16  Kenichi Handa  <handa@@etl.go.jp>

	* xterm.c (dumpglyphs): Draw glyphs one by one if the font for
	them is narrower than required.

	* fns.c (copy_sub_char_table): Declare the argument ARG as
	Lisp_Object.

	* fontset.c (fontset_pattern_regexp): Cast to (char *) before
	assigning to P0.

	* ccl.c (struct ccl_prog_stack): Declear the member ccl_prog as
	Lisp_Object *.

	* editfns.c: Declare Fuser_full_name as Lisp_Object in advance to
	avoid compiler error.

	* data.c: Declare set_internal as Lisp_Object in advance to avoid
	compiler error.

	* alloc.c (BYTES_USED): Put # at the beginning of line.
	(emacs_blocked_malloc): Likewise.

	* xterm.c (x_connection_closed): Likewise.
	(x_load_font): Cast to (char *) before assigning to FONTNAME.

	* keymap.c: Declare Fcopy_keymap as Lisp_Object in advance to
	avoid compiler error.

1997-05-16  Kenichi Handa  <handa@@etl.go.jp>

	* charset.h (VALID_CHAR_P): New macro.

	* fns.c (Fset_char_table_default): New function.

1997-05-15  Kenichi Handa  <handa@@etl.go.jp>

	* charset.c (non_ascii_char_to_string): Signal error if the
	argument C is an invalid character code.
	(Fconcat_chars): Use alloca instead of malloc.

	* charset.h (CHAR_STRING):  Comment reflect the above change.

	* coding.h: Name change through the code:
	coding-category-internal => coding-category-emacs-mule,
	XXX_coding_internal => XXX_coding_emacs_mule,
	coding_type_internal => coding_type_emacs_mule,
	coding_type_automatic => coding_type_undecided,
	CODING_CATEGORY_MASK_INTERNAL => CODING_CATEGORY_MASK_EMACS_MULE,
	CODING_CATEGORY_IDX_INTERNAL => CODING_CATEGORY_IDX_EMACS_MULE,
	CODING_EOL_AUTOMATIC => CODING_EOL_UNDECIDED.
	* coding.c: Likewise.
	* fileio.c: Likewise.
	
	* xfns.c (Fx_create_frame): Delete unnecessary code.

1997-05-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fileio.c (Finsert_file_contents): Use xmalloc. not malloc.
	Check correctly for whether no code translation is needed.
	(Finsert_file_contents): Use xrealloc too.

	* charset.c (strwidth, Fchar_width): Handle display table.

1997-05-15  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* casefiddle.c: Include charset.h.
	(Qidentity): Define this variable.
	(syms_of_casefiddle): Initialize and staticpro it.
	(casify_object, casify_region): Handle multibyte.

1997-05-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* casetab.c (compute_trt_identity): Use make_sub_char_table.
	(compute_trt_identity, compute_trt_shuffle):
	Set up bytes[0] with the charset code.
	Check for a sub-char-table when deciding to recurse.
	Terminate the loop properly for a sub-char-table.

	* callint.c (Fcall_interactively): Pass extra arg to Fread_string.

	* minibuf.c (Fread_from_minibuffer): Add gcpro.

	* fns.c (Fcopy_sequence): Correctly copy the char-table contents.

	* keymap.c (describe_vector): Identify charset row numbers clearly.

	* casetab.c: Include charset.h.
	(compute_trt_inverse): Totally rewritten.
	Args are now Lisp_Object.  Callers changed.
	(compute_trt_identity, compute_trt_shuffle): New subroutines.
	(init_casetab_once): Use XSETFASTINT to store into case table;
	use CHAR_TABLE_SINGLE_BYTE_SLOTS to end the loop.
	
1997-05-13  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

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

	* category.c (describe_category_1): Pass new args to describe_vector.

1997-05-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* keymap.c (get_keyelt): Handle an indirect entry with meta char.
	(describe_vector): Rewrite char-table handling.

	* data.c (wrong_type_argument): Pass new arg to Fstring_to_number.

1997-05-11  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xfns.c (Fx_create_frame): Get X resources from the display
	we are making the frame on.
	(x_get_arg): New arg DPYINFO.  Callers changed.
	(display_x_get_resource): New function.

1997-05-11  Lars Magne Ingebrigtsen  <larsi@@ifi.uio.no>

	* data.c (Fstring_to_number): Handle bases 2...16.
	(digit_to_number): New subroutine.

1997-05-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fns.c (map_char_table): New arg SUBTABLE.  Callers changed.
	Pass the whole chartable to C_FUNCTION.
	Pass index character as a Lisp_Object.

	* keymap.c (Fmake_keymap): Make a char-table.
	(access_keymap, store_in_keymap): Likewise,
	(describe_map, Fset_keymap_parent, Faccessible_keymaps): Likewise.
	(Fwhere_is_internal, Fcopy_keymap): Handle a char-table.
	(copy_keymap_1, accessible_keymaps_char_table): New subroutines.
	(where_is_internal_1, where_is_internal_2): New functions.
	(syms_of_keymap): Set up Qchar_table_extra_slots prop on Qkeymap.
	
1997-05-10  Ken'ichi Handa  <handa@@etl.go.jp>

	* callproc.c (Fcall_process_region): Supply 7th new arg
	CODING_SYSTEM as Qnil to Fwrite_region.

	* ccl.c (Fccl_execute_on_string): Add 4th optional arg
	CONTINUE.

	* charset.c (unify_char): New function.
	(Fdefine_charset): Doc-string modified.
	(find_charset_in_str): Add 4th arg TABLE which is a character
	unification table.
	(Ffind_charset_region): Add optional arg TABLE which is a
	character unification table.
	(Ffind_charset_string): Likewise.

	* charset.h (unify_char): Extern it.

	* coding.c (Valternate_charset_table): The valiable deleted.
	(Venable_character_unification,
	Vstandard_character_unification_table_for_read,
	Vstandard_character_unification_table_for_write,
	Qcharacter_unification_table): New variables.
	(syms_of_coding): Initialize and declare them.
	(DECODE_ISO_CHARACTER): Modified to handle a character unification
	table instead of Valternate_charset_table.
	(DECODE_DESIGNATION): Delete handling of Valternate_charset_table.
	(decode_coding_iso2022): Handle a character unification table.
	(ENCODE_ISO_CHARACTER): New macro.
	(encode_designation_at_bol): Handle a character unification table.
	Do not return -1 even if end-of-line is not in the current run.
	(encode_coding_iso2022): Handle a character unification table.
	Call macro ENCODE_ISO_CHARACTER instead of calling
	ENCODE_ISO_CHARACTER_DIMENSION1 and
	ENCODE_ISO_CHARACTER_DIMENSION2 directly.  Check the size of
	carryover before copying it to destination.
	(setup_coding_system): Initialize the member
	character_unification_table of the struct coding system to Qnil.
	(Fset_keyboard_coding_system): Doc string augmented.

	* coding.h (CODING_SPEC_ISO_PLANE_CHARSET): Return -1 if no
	character set is invoked to PLANE.
	(struct coding_system): New member character_unification_table.

	* fileio.c (Fwrite_region): Add 7th optional arg
	CODING_SYSTEM.  Move gap after a newline code if we are encoding
	in a coding system which requires designation sequences to be put
	at beginning of line.  Set coding.last_block to 1 before calling
	a_write for an empty file.
	(build_annotations): Code tuned up for handling
	pre_write_conversion of a coding system.
	(e_write): Delete code for handling carryover of code conversion.
	It is now handled in encode_coding.
	(auto_save_1): Supply 7th new arg CODING_SYSTEM as Qnil to
	Fwrite_region.

	* fontset.c (Vfontset_alias_alist): New variable.
	(fontset_pattern_regexp): Delete code for handling nickname of a
	fonset.  It is now handled in Fquery_fontset by consulting
	Vfontset_alias_alist.
	(Fquery_fontset): Handle Vfontset_alias_alist.
	(syms_of_fontset): Terminate each line by `\n\' in doc-string of
	alternate-fontname-alist.  Declare Lisp valiable
	fontset-alias-alist.  Doc-string of highlight-wrong-size-font
	and clip-large-size-font modified.

	* xfns.c (Fx_create_frame): Delete code for handling the X
	resouce "Fontset".

	* xselect.c (selection_data_to_lisp_data): If TYPE is `STRING'
	and DATA contains 8-bit codes, decode them as Latin-1 characters.
	(lisp_data_to_selection_data): Supply 4th arg TABLE as Qnil to
	find_charset_in_str.

	* xterm.c (dumpglyphs): Even if font (not fontset) is used,
	display Latin1 characters correctly if the font contains glyphs
	for them.  Fix bug of displaying cursor on a composite character.

1997-05-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* keyboard.c (Fexecute_extended_command):
	Pass new arg to Fcompleting_read.
	(command_loop_1): Use an int for last_command_char.

	* lisp.h (read_minibuf): Declaration deleted.

	* callint.c (Fcall_interactively): Pass new arg to
	Fread_from_minibuffer and Fread_variable.

	* fns.c (Fyes_or_no_p): Pass new arg to Fread_from_minibuffer.

	* minibuf.c (Fread_command): New optional arg DEFAULT-VALUE.
	Callers changed.
	(Fread_variable, Fread_string, Fread_from_minibuffer): Likewise.
	(read_minibuf): Now static.  New arg DEFALT.  Callers changed.
	Bind minibuffer-default here.
	(read_minibuf_unwind): Now static.
	(Fcompleting_read): Past DEF to Fread_from_minibuffer;
	no need to use it directly here.

	* fileio.c (Fread_file_name): Finish previous change.

	* coding.c (Fread_coding_system, Fread_non_nil_coding_system): 
	Pass new arg to Fcompleting_read.

	* callint.c (Fcall_interactively): Pass new arg to Fcompleting_read.

	* xmenu.c (Fx_popup_menu): Doc fix.

1997-05-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* Makefile.in (TAGS): Fix typo.

	* xdisp.c (mark_window_display_accurate, redisplay_internal):
	Test highlight_nonselected_windows.
	(display_text_line): Likewise (in more places).
	(syms_of_xdisp): Initialize highlight_nonselected_windows to 0.

	* keyboard.c (Qtimer_event): Variable deleted.
	(Qtimer_event_handler): New variable.
	(syms_of_keyboard): Don't initialize Qtimer_event.
	Do initialize Qtimer_event_handler.
	(read_char): Don't check for timer event.
	(swallow_events): Don't handle timer events.
	(timer_check): Likewise.
	(make_lispy_event): Likewise.

1997-05-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/bsd386.h: Delete the code that was trying to define BSD "right"
	now that Emacs doesn't use the symbol BSD this way.

1997-05-06  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* Makefile.in (MOUSE_SUPPORT): Delete menu-bar.elc.
	(lisp): Move menu-bar.elc here.
	Add custom.elc and cus-start.elc.

	* m/intel386.h (LIBS_MACHINE): Add -lelf.

1997-05-05  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xdisp.c (display_text_line): Clear region_showing to Qnil if the
	window should not show a region.
	(redisplay_internal): Do update region_showing when ! all_windows.

	* window.c (Fset_window_configuration): Set last_selected_window
	in the new selected window's new buffer.

	* xdisp.c (display_text_line): Set w->region_showing to the mark
	position if there's a mark; to nil, otherwise.

	* w32fns.c (x_set_mouse_color): Fix previous change.

	* xselect.c (x_reply_selection_request): Delete the inner
	unbind_to call, since x_uncatch_errors does the job.

1997-05-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* minibuf.c (Fcompleting_read): New arg DEF.
	Callers changed.
	(Qminibuffer_default): New variable.
	(syms_of_minibuf): Initialize it.

	* fileio.c (Fread_file_name): Pass default to Fcompleting_read.

1997-05-03  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* w32fns.c (x_set_mouse_color): Update calls to x_catch_errors
	and x_uncatch_errors.

	* xfns.c (x_set_scroll_bar_width): If arg is too small, round it up.

	* window.c (Fdisplay_buffer): If we give up and try other frames,
	look again for a window in those frames already showing BUFFER.

1997-05-01  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xselect.c (x_reply_selection_request): Fix previous change.

1997-04-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (XTmouse_position, x_term_init): 
	Save value from x_catch_errors and pass to x_uncatch_errors.

	* xselect.c (x_own_selection, x_reply_selection_request)
	(x_get_foreign_selection):
	Save value from x_catch_errors and pass to x_uncatch_errors.

	* xfns.c (x_real_positions, x_set_mouse_color, Fx_list_fonts):
	Save value from x_catch_errors and pass to x_uncatch_errors.

	* xterm.c (x_catch_errors): Use specpdl so can be nested.
	Use a Lisp string to as the buffer for the X message.
	(x_uncatch_errors, x_had_errors_p, x_check_errors): Related changes.
	(x_catch_errors_unwind): New function.
	(x_error_quitter): Call x_error_catcher if appropriate.
	(x_error_message_string): New variable.
	(syms_of_xterm): Defvar it.
	(x_caught_error_message): Variable deleted.
	(X_ERROR_MESSAGE_SIZE): Renamed from X_CAUGHT_ERROR_MESSAGE_SIZE.
	(x_error_handler): New function, calls x_error_quitter or ..._checker.
	(x_initialize): Use x_error_handler as error handler for X.

1997-04-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fileio.c (Fexpand_file_name): Check length > 0 when necessary.

1997-04-27  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* syntax.c (skip_chars): Fix previous change in syntax/backward case.

	* lread.c (init_lread): Don't add ../lisp to the dump-time load path.

	* buffer.c (Fbury_buffer): If buffer is in selected window, remove it.
	Otherwise, remove it from other windows.

	* fileio.c (Fsubstitute_in_file_name): Use xnm uniformly, never nm,
	when handling /~ and // at the end.

	* process.c (read_process_output): Update opoint, old_begv and old_zv
	based on actual buffer change rather than size of string.
	old_begv and old_zv are now ints.
	(status_notify): Likewise for opoint.

1997-04-26  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_destroy_window): Free saved_menu_event, if any.

	* frame.c (Fdelete_frame): Free FRAME_MESSAGE_BUF.

	* xrdb.c (get_user_app): Free the gethomedir value.

	* buffer.c (reset_buffer): Initialize clip_changed field.

1997-04-25  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* emacs.c (sort_args): Free the malloc'd memory.

	* fileio.c (Fwrite_region): GCPRO `start' near the beginning.

	* xfns.c (x_set_menu_bar_lines): Increment windows_or_buffers_changed.

1997-04-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* syntax.c (skip_chars): Merge mule changes back in.

1997-04-22  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* window.c (frame_override_unsplittable): New variable.
	(Fsplit_window): Ignore `unsplittable' if frame_override_unsplittable.
	(syms_of_window): Set up Lisp var.

	* xmenu.c (set_frame_menubar): When widget is new,
	forget records of old contents.

1997-04-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (x_set_offset): Turn off the code that added the border_width
	to modified_left and modified_top; it seems incorrect to do that.

1997-04-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* keymap.c (Faccessible_keymaps): Convert PREFIX to a vector
	at the beginning, if it has any definition.

1997-04-19  Erik Naggum  <erik@@naggum.no>

	* keymap.c (describe_vector): Test for suppressed commands in
	all cases.  Call get_keyelt with two arguments.

1997-04-18  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* print.c (print): Symbols like e2 and 2e are not confusing.

1997-04-17  Andrew Innes  <andrewi@@harlequin.co.uk>

	* fileio.c (Fexpand_file_name): Fix expansion of "/foo/../".

1997-04-15  Ken'ichi Handa  <handa@@etl.go.jp>

	* coding.c (setup_coding_system): Setup coding->eol_type as LF
	for a invalid coding system.

1997-04-14  Ilya Zakharevich  <ilya@@math.ohio-state.edu>

	* dired.c (Fdirectory_files): Set re_match_object.

	* intervals.c (update_interval): New function.

	* intervals.h (update_interval): New function declaration.

	* regex.c (PTR_TO_OFFSET): New macro.
	(POS_AS_IN_BUFFER): New macro.
	(SYNTAX_ENTRY_VIA_PROPERTY): Set to take `syntax-table' text
	property into account when doing SYNTAX (c).
	(re_compile_fastmap): disable fastmap if any of wordbound
	notwordbound wordbeg wordend notsyntaxspec syntaxspec are seen.
	(re_search_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start.
	(re_match_object): New variable.
	(re_match_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start.
	(re_match_2_internal): For any of wordbound notwordbound wordbeg
	wordend notsyntaxspec syntaxspec call UPDATE_SYNTAX_TABLE before
	doing SYNTAX (c).

	* regex.h (re_match_object): New variable.

	* search.c (looking_at_1): Set re_match_object.
	(string_match_1): Set re_match_object.
	(fast_string_match): Set re_match_object.
	(Fskip_chars_forward): Move to syntax.c.
	(Fskip_chars_backward): Move to syntax.c.
	(Fskip_syntax_forward): Move to syntax.c.
	(Fskip_syntax_backward): Move to syntax.c.
	(skip_chars): Move to syntax.c.
	(search_buffer): Set re_match_object.
	(syms_of_search): Move initialization of skip* to syntax.c.

	* syntax.c (SYNTAX_ENTRY_VIA_PROPERTY): Set to take `syntax-table'
	text property into account when doing SYNTAX (c).
	(ST_COMMENT_STYLE, ST_STRING_STYLE): New codes to denote
	delimiters for new types of strings and comments.
	(Vparse_sexp_lookup_properties): New variable.
	(struct lisp_parse_state): Comment updated.
	(gl_state): New global variable.
	(update_syntax_table): New function.
	(char_quoted): Move earlier, update gl_state when needed.
	(find_defun_start): Update gl_state when needed.
	(back_comment): New function.
	(Scomment_fence, Sstring_fence): New delimeter char classes
	denoted by `!' and `|'.
	(Fchar_syntax, Fmatching_paren): Update gl_state to whole-buffer state.
	(scan_words): Update gl_state when needed.
	(Fskip_chars_forward): Move from search.c.
	(Fskip_chars_backward): Move from search.c.
	(Fskip_syntax_forward): Move from search.c.
	(Fskip_syntax_backward): Move from search.c.
	(skip_chars): Move from search.c.
	(Fforward_comment, scan_lists): Update gl_state when needed.
	Handle Scomment_fence, Sstring_fence.
	(Fbackward_prefix_chars) update gl_state when needed.
	(scan_sexps_forward): update gl_state when needed.
	Handle Scomment_fence, Sstring_fence.
	If comment_stop==-1, stop at start or end of comment or string.
	(Fparse-partial-sexp): Doc fix.
	(syms_of_syntax): Move initialization of skip* from search.c.

	* syntax.h (enum syntaxcode):
	New members Scomment_fence, Sstring_fence.
	(SYNTAX_ENTRY): Depending on the value of SYNTAX_ENTRY_VIA_PROPERTY
	may do a lookup for syntax table in gl_state.
	(UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD,
	UPDATE_SYNTAX_TABLE, SETUP_SYNTAX_TABLE,
	SETUP_SYNTAX_TABLE_FOR_OBJECT): New macros.
	(struct gl_state_s): New struct.

	* textprop.c: Style of comments corrected. 
	(interval_of): New function.

1997-04-14  Eli Zaretskii  <eliz@@wombat.gnu.ai.mit.edu>

	* w16select.c: New file, MS-Windows clipboard support from
	Emacs running as MSDOS application.
	
	* s/msdos.h (SYMS_SYSTEM): Add `syms_of_win16select'.

        * Makefile.in (MSDOS_OBJ): Add w16select.o.
	(dependencies): Add dependencies for w16select.o.

1997-04-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* undo.c (Fprimitive_undo): When inserting, always insert
	after markers (the ordinary kind of insertion).

	* insdel.c (adjust_markers): Don't be confused by the gap
	when computing the arg to record_marker_adjustment.

1997-04-11  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* category.c (Fmodify_category_entry): Delete second arg in call
	to make_sub_char_table.

	* lisp.h (DOWNCASE): Return int, not Lisp_Object.
	(UPPERCASEP): Use DOWNCASE.
	(UPCASE_TABLE): New macro.
	(NOCASEP, UPCASE1): Use UPCASE_TABLE.
	[!NO_UNION_TYPE] (make_number): Declare.

1997-04-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* minibuf.c (read_minibuf): Get the string from the minibuffer
	even if the user has selected a different buffer.

	* fileio.c (Finsert_file_contents): Do call signal_after_change
	when REPLACE is handled by reading directly from the file.
	Use insert_1 to insert replacement text, to avoid
	query about whether to modify the buffer.
	
1997-04-10  Marcus G. Daniels  <marcus@@cathcart.sysc.pdx.edu>

	* Makefile.in (mallocobj): Make non-REL_ALLOC configuration work
	with glibc's malloc--do use vm-limit.o.

1997-04-10  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* cmds.c (internal_self_insert): Fix return value.
	* category.c (Fmake_category_set): Use XSETFASTINT.
	* minibuf.c (scmp): Fix Lisp_Object/integer confusion.
	(Fdisplay_completion_list): Likewise.
	* insdel.c (Fcombine_after_change_execute): Likewise.
	* xselect.c (expect_property_change): Likewise.
	* xterm.c (construct_menu_click, note_mouse_highlight): Likewise.
	(fast_find_position): Likewise.
	* ccl.c (ccl_driver): Likewise.
	* coding.c (Ffind_coding_system): Likewise.
	* charset.c (Fconcat_chars, ONE_BYTE_CHAR_WIDTH): Likewise.
	* xmenu.c (Fx_popup_menu, set_frame_menubar): Likewise.
	* disptab.h (DISP_TABLE_P): Likewise.
	* xdisp.c (display_text_line): Likewise.
	* dispnew.c (Fframe_or_buffer_changed_p): Likewise.
	* window.c (Fset_window_buffer, Fdisplay_buffer): Likewise.
	(delete_window): Don't return value from void function.

1997-04-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/freebsd.h (BSD_SYSTEM): Alternate definition for FreeBSD v3.

	* systty.h (GETPGRP_NO_ARG): If Glibc 2.1 or later,
	don't define this if _BSD_SOURCE is defined.

1997-04-08  Marcus G. Daniels  <marcus@@cathcart.sysc.pdx.edu>

	* emacs.c (malloc_get_state, malloc_set_state): New declarations.
	(main): Restore internal malloc state when loading from dumped image.
	(Fdump_emacs): Copy internal malloc state for dumping, then free it.

	* alloc.c: For glibc's malloc, include <malloc.h> for mallinfo,
	mallopt, struct mallinfo, and mallopt constants.
	(BYTES_USED): New macro.
	(memory_full, emacs_blocked_free): Replace _bytes_used with BYTES_USED.
	(emacs_blocked_malloc): Set sbrk padding value for glibc, as is
	done with gmalloc.
	(allocate_vectorlike, make_uninit_string):
	Prevent using mmap for possible large chunks.
	(init_alloc_once): Set trim and mmap malloc parms, when using glibc.

	* config.in (DOUG_LEA_MALLOC): Add #undef.
	
	* Makefile.in (mallocobj): Don't add gmalloc if using glibc.
	Drop check for `old malloc'; it isn't distributed with Emacs.

1997-04-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* casetab.c (init_casetab_once): Initialize the purpose slot.

1997-04-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* keyboard.c (read_key_sequence): New argument FIX_CURRENT_BUFFER.
	Restore the current buffer from selected window on occasion.
	All callers changed.

1997-04-07  Kenichi HANDA  <handa@@etl.go.jp>

	* Makefile.in (lisp, shortlisp): Include english.elc and
	tibetan.elc.

	* alloc.c (Fmake_char_table): Adjusted for the new structure of
	Lisp_Char_Table.
	(make_sub_char_table): New function.

	* category.c (category-table-p): Check only type and purpose.
	(copy_category_table, Fmodify_category_entry): Adjusted for the
	new structure of Lisp_Char_Table.

	* ccl.c: (ccl_driver): Fix bug of the case CCL_WriteArrayReadJump.

	* charset.h (CHARSET_TABLE_ENTRY): Handle ASCII charset correctly.
	(SPLIT_NON_ASCII_CHAR, SPLIT_CHAR): Return -1 in C2 for DIMENSION1
	characters.

	* charset.c (non_ascii_char_to_string, update_charset_table,
	Fsplit_char): Adjusted for the above change.

	* coding.c (detect_coding_iso2022, detect_coding_mask): Ignore
	invalid ESC sequence for ISO 2022.
	(Fencode_sjis_char, Fencode_big5_char): Adjusted for the change of
	SPLIT_CHAR.

	* data.c (Faref, Faset): Adjusted for the new structure of
	Lisp_Char_Table.

	* disptab.c (disp_char_vector): Extern it.
	(DISP_CHAR_VECTOR): Handle multibyte characters.

	* fns.c (copy_sub_char_table): New function.
	(Fcopy_sequence): Call copy_sub_char_table for copying a sub char
	table.
	(Fchar_table_range, Fset_char_table_range, map_char_table,
	Fmap_char_table): Handle multibyte characters correctly.

	* fontset.c (Vhighlight_wrong_size_font, Vclip_large_size_font):
	New variables.
	(syms_of_fontset): Declare them as Lisp variables.

	* fontset.h (Vhighlight_wrong_size_font, Vclip_large_size_font):
	Extern them.

	* keymap.c (describe_vector): Adjusted for the new structure of
	Lisp_Char_Table.

	* lisp.h (CHAR_TABLE_STANDARD_SLOTS): Now 4 more slots than
	CHAR_TABLE_ORDINARY_SLOTS for top, defalt, parent, and purpose.
	(SUB_CHAR_TABLE_ORDINARY_SLOTS, SUB_CHAR_TABLE_STANDARD_SLOTS):
	New macros.
	(CHAR_TABLE_REF, CHAR_TABLE_SET): Enclose args by parenthesis.
	(struct Lisp_Char_Table): New member `top'.  The member `defalt'
	is moved before `contents' so that XCHAT_TABLE (val)->defalt can
	also be used for a sub char table.
	(SUB_CHAR_TABLE_P): New macro.
	(make_sub_char_table): Extern it.

	* lread.c (read1): Adjusted for the new structure of
	Lisp_Char_Table.

	* print.c (print): Likewise.

	* xdisp.c (disp_char_vector): New function to be used from the
	macro DISP_CHAR_VECTOR for multibyte characters.

	* xterm.c (dumpglyphs): Clip and highlight glyphs displayed with
	fonts of wrong size.

Sun Apr  6 10:26:53 1997  Eli Zaretskii  <eliz@@wombat.gnu.ai.mit.edu>

	* emacs.c (init_cmdargs) [MSDOS]: Make the change that sets
	`installation-directory' if `info' is found as its subdirectory or
	sibling, be conditioned on MSDOS (it makes trouble on Unix).


1997-04-05  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* coding.c (Ffind_coding_system): Doc fix.

1997-04-03  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* fns.c (Fcopy_sequence): Delete unused variable.
	(Fchar_table_extra_slot, Fset_char_table_extra_slot): Doc fix.
	(map_char_table): When expanding indices, don't increase depth;
	that's amount used, not amount allocated.

	* category.h [!__GNUC__] (CATEGORY_SET): Fix syntax error.

	* lisp.h (CHAR_TABLE_REF): Fix syntax error.
	(LOWERCASEP): Use NOCASEP instead of its expansion.
	(UPCASE): Use UPPERCASEP instead of its expansion.

1997-04-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fileio.c (Finsert_file_contents): When handling REPLACE,
	first try comparing block by block; if we discover a need for
	nontrivial code conversion, give up and try convert-whole-file method.

	* fileio.c (Fcopy_file): Fix error message.

	* fileio.c (Finsert_file_contents): Handle non-regular files.

1997-04-01  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* search.c (skip_chars): Make `c' an unsigned int.

1997-04-01  Erik Naggum  <erik@@naggum.no>

	* eval.c (Fuser_variable_p): If not a symbol, return nil.

1997-03-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fileio.c (Fcopy_file): Use Qfile_date_error if can't set file date.
	(Qfile_date_error): New variable.
	(syms_of_fileio): Set it up.
	(Fcopy_file): Fix previous change.
	(Finsert_file_contents): Determine the character coding
	before we see if REPLACE can be handled.
	Do handle REPLACE even if code conversion is needed. 

1997-03-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* keymap.c (Faccessible_keymaps): When metizing, convert a
	string to a vector.  But don't metize a character that is
	part of PREFIX.

	* window.c (Qwindow_configuration_change_hook): New variable.
	(Vwindow_configuration_change_hook): New variable.
 	(syms_of_window): Initialize; set up Lisp var.
	(delete_window): New subroutine, from Fdelete_window.
	Most callers changed.
	(Fdelete_window): Call Vwindow_configuration_change_functions.
	(Fset_window_buffer, Fenlarge_window, Fshrink_window):
	Call the Vwindow_configuration_change_functions.
	(Fset_window_configuration): Likewise.

	* dispnew.c (change_frame_size_1): Call Fset_window_buffer,
	so that Vwindow_configuration_change_hook gets run.

1997-03-25  Erik Naggum  <erik@@naggum.no>

	* process.c (Fopen_network_stream): Use same socket for in and out.

1997-03-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* frame.c (frames_bury_buffer): New function.
	* buffer.c (Fbury_buffer): Call frames_bury_buffer.

1997-03-22  Mark W. Eichin  <eichin@@kitten.gen.ma.us>

	* keyboard.c (make_lispy_event): Use iso_lispy_function_keys for
	XK_ISO_* keys found in XFree86. 
	(ISO_FUNCTION_KEY_OFFSET): New macro.
	(iso_lispy_function_keys): New table.
	
	* xterm.c (XTread_socket): Accept XK_ISO_* keys.

1997-03-19  Kenichi Handa  <handa@@etl.go.jp>

	* xterm.c (dumpglyphs): Set a clipping region when we draw glyphs
	with a font of inappropriate size.
	(x_list_fonts): Try alternative fonts if we can't find a font of an
	appropriate size.

	* fontset.c (Valternative_fontname_alist): New variable.
	(syms_of_fontset): Declare Lisp variable alternative-fontname-alist.

	* fontset.h (Valternative_fontname_alist): Extern it.

	* term.c (insert_glyphs): Fix a bug which turns up when
	TS_ins_multi_chars is 0.

1997-03-18  Kenichi Handa  <handa@@etl.go.jp>

	* xterm.c (x_list_fonts): Comment about cached font list added.

	* fns.c (map_char_table): Handle multibyte characters.

	* lisp.h (CHAR_TABLE_ORDINARY_SLOTS): Change to 384 (== 256 + 128).
	(CHAR_TABLE_STANDARD_SLOTS): Adjusted for the above change.
	(CHAR_TABLE_SINGLE_BYTE_SLOTS): New macro.
	(CHAR_TABLE_REF, CHAR_TABLE_SET): New macros.

	* data.c (Faref, Faset): Adjusted for the above change.

	* syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY): Likewise.

	* category.h (CATEGORY_SET): Likewise.

	* category.c (Fmodify_category_entry): Likewise.

	* keymap.c (describe_vector): Likewise.
	(push_key_description): A key code less than 512 is printed with 3
	octal numbers.  Print only entries of valid charsets.

	* disptab.h (GLYPH_FOLLOW_ALIASES): Assure that the resulting G
	contains valid character code.

	* xdisp.c (copy_part_of_rope): Declare glyph as type GLYPH.  For a
	invalid character code, use ' ' (space).
	(display_string, display_text_line): Check validity of character
	code before calling fix_glyph.

	* term.c (encode_terminal_code): Check validity of character code.

	* charset.h (MAX_CHARSET): Definition changed to the actual
	maximum valid charset.
	(MAX_CHAR): New macro.

	* charset.c, coding.h, coding.c, fontset.h, fontset.c, xselect.c:
	Adjusted for the above change.

	* charset.c (str_cmpchar_id): Return -1 if we have no more room
	for a new composite character.
	(Fmake_char_internal): Docstring is moved to lisp/mule.el.

	* fontset.h (struct font_info): Typo in comment of
	`relative_compose' fixed.

1997-03-14  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* window.c (change_window_height): Handle shrink as well as enlarge.

1997-03-13  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* buffer.c (reset_buffer): Initialize display_count slot.

	* search.c (Freplace_match): Give error if
	NEWTEXT uses backslash in an invalid way.

1997-03-10  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* lisp.h (FAST_MAKE_GLYPH): Don't cast CHAR arg; character codes
	are now wider than C chars.

1997-03-09  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* buffer.c (Fkill_buffer): Call frames_discard_buffer.
	(record_buffer): Move buffer to front of frame_buffer_list.
	(Fother_buffer): Use frame_buffer_list.

	* frame.h (struct frame): New field buffer_list.

	* frame.c (frame_buffer_list, set_frame_buffer_list): New functions.
	(store_frame_param): Handle buffer-list parameter.
	(Qbuffer_list): New variable.
	(syms_of_frame_1): Initialize it.
	(make_frame): Initialize buffer_list field.
	(Fframe_parameters): Handle buffer-list parameter.
	(frames_discard_buffer): New function.
	(make_frame): Initialize buffer_list.

	* alloc.c (mark_object): Mark the buffer_list field.

1997-03-05  Ken'ichi Handa  <handa@@etl.go.jp>

	* coding.c (decode_eol): Fix bug of converting CRLF to LF.

1997-03-05  NIIBE Yutaka  <gniibe@@mri.co.jp>

	* indent.c: (compute_motion): When POS >= TO, don't call
	find_before_next_newline as it assumes POS < TO.

1997-03-02  Ken'ichi Handa  <handa@@etl.go.jp>

	* category.h (CATEGORY_SET): Cast arg C to
	`unsigned char' before indexing category table directly.

1997-03-01  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input): If wait_for_cell,
	ignore subprocess input and respond only to keyboard.
	(non_process_wait_mask): New variable.
	(add_keyboard_wait_descriptor): Update it.
	(delete_keyboard_wait_descriptor): Update it.
	(init_process): Initialize it.

1997-03-01  NIIBE Yutaka  <gniibe@@mri.co.jp>

	* gmalloc.c [__GLIBC__ >= 2]: Don't declare __getpagesize.

1997-02-28  Tomohiko MORIOKA  <morioka@@jaist.ac.jp>

	* coding.c (create_process, Fopen_network_stream): Typo in indexes
	of array proc_encode_coding_system fixed.

1997-02-28  Kenichi HANDA  <handa@@etl.go.jp>

	* Makefile.in (lisp, shortlisp): Add lao.elc.

	* buffer.c (init_buffer_once): Make member
	enable_multibyte_characters of struct buffer not always local.
	(reset_buffer): Do not reset b->enable_multibyte_characters.
	(syms_of_buffer): Declare default-enable-multibyte-characters.

	* category.h (CATEGORY_SET): For a composite character, return
	category set of the first component.

	* ccl.c (Fregister_ccl_program): Escape newlines in docstring.

	* coding.h (struct iso2022_spec): Member requested_designation is
	changed to array of `char' just for saving memory.
	(CODING_FLAG_ISO_INIT_AT_BOL, CODING_FLAG_ISO_DESIGNATE_AT_BOL):
	New macros.

	* coding.c (setup_coding_system): Now, flags of ISO2022 coding
	systems contains charsets instead of charset IDs.  Correct setting
	coding->symbol and coding->eol_type.  The performance improved.
	(encode_coding) : Fix typo ("=" -> "==").
	(detect_coding_iso2022, decode_coding_iso2022): Make the code
	robust against invalid SI and SO.
	(ENCODE_RESET_PLANE_AND_REGISTER): Argument `eol' is deleted.
 	Don't call ENCODE_DESIGNATION if nothing designated initially.
	(encode_designation_at_bol) New function.
	(encode_coding_iso2022): Handle CODING_FLAG_ISO_INIT_AT_BOL and
	CODING_FLAG_ISO_DESIGNATE_AT_BOL.
	(detect_coding_iso2022): Detect coding-category-iso-8-2 more
	precisely.
	(Ffind_coding_system, syms_of_coding): Escape newlines in
	docstring.
	
	* charset.h (INC_POS, DEC_POS): Don't increase or decrease too
	much if there's binary code (invalid character code).

	* data.c (Faref, Faset): Handle a composite char correctly in
	char-table.

	* disptab.h (DISP_CHAR_VECTOR): Allow bare 8-bit in display-table.

	* charset.c (Fcmpchar_cmp_rule): Escape newlines in docstring.

	* editfns.c (Fuser_full_name): Likewise.

	* fileio.c (Finsert_file_contents, Fwrite_region): Do not perform
	character code conversion if enable-multibyte-characters is nil.

	* fontset.h (Vuse_default_ascent): Extern.

	* fontset.c (syms_of_fontset): Intern Qfontset.  Declare new lisp
	variable use-default-ascent.
	(Vuse_default_ascent): New variable.
	(Ffont_info): Return also the value of default-ascent of a font.
	(fs_load_font): Disable updating fontsetp->height by non-ASCII
	character sets.  This should be enabled when Emacs supports
	variable height lines.
	(fs_load_font, Fset_fontset_font): Bug fix to cope
	with the change of charsets to symbols.

	* keymap.c (describe_vector): Do not describe deeper char-table if
	enable-multibyte-characters is nil.

	* process.c (proc_decode_coding_system,
	proc_encode_coding_system): Changed to array of pointers to struct
	coding_system to reduce the size of dumped Emacs.
	(create_process, Fopen_network_stream): Allocate them dynamically.
	(init_process): Initialize these pointers to NULL.
	(Fstart_process, Fopen_network_stream): Do not perform character
	code conversion if enable-multibyte-characters is nil.

	* search.c (skip_chars): If enable-multibyte-characters is nil,
	don't handle multibyte characters.

	* syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY): Cast arg C to
	`unsigned char' before indexing syntax table directly.

	* syntax.c (init_syntax_once): Add trick to avoid compiler warning
	of "comparison is always 1 ...".
	(describe_syntax): Handle the case that the argument VALUE is
	char-table.

	* xdisp.c (display_mode_line): Avoid error while compiling with
	--with-x=no.

	* xfns.c (syms_of_xfns): Documentation of
	x-pixel-size-width-font-regexp modified.

	* xselect.c (lisp_data_to_selection_data, selection_data_to_lisp_data):
	Remove prefix "coding-system-" from coding system symbol names.

	* xterm.h (struct x_display_info): New member
	Xatom_MULE_DEFAULT_ASCENT.

	* xterm.c (dumpglyphs): Pay attention to characters registered in
	use-default-ascent.  Fill background in advance if font has
	non-zero _MULE_BASELINE_OFFSET property.
	(x_load_font, x_term_init): Handle font property
	_MULE_DEFAULT_ASCENT.

1997-02-28  NIIBE Yutaka  <gniibe@@mri.co.jp>

	* sysdep.c: `ospeed' should be short if not HAVE_TERMIO_H.

	* xdisp.c (display_text_line): Correct displaying multi-column
	binary data.
	(try_window_id): Display blank lines from the next line, when
	xp.bufpos == ZV.  (This bug is introduced by changes of Mule).
 	Compare height against xp.vpos instead of xp.bufpos.

1997-02-27  Erik Naggum  <erik@@naggum.no>

	* lread.c (Fload): Call Vload_source_file_function with 4 args.

1997-02-22 Tsugutomo ENAMI  <enami@@ba2.so-net.or.jp>

	* regex.c: Include charset.h and category.h

	[!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P,	CHAR_HEAD_P,
	SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH,
 	STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2):
	New dummy macros.

	(enum re_opcode_t): New member categoryspec and
	notcategoryspec.

	(STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER,
	CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT,
	CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE,
	CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABLE
	CHARSET_PAST_RANGE_TABLE): New macros.

	(TRANSLATE): Cast return value to unsigned char, not char.

	(struct range_table_work_area): New structure.

	(EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA,
	FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED,
	RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros.
	(FREE_STACK_RETURN): Call FREE_RANGE_TABLE_WORK_AREA.

	(regex_compile): Declare `c' and `c1' as int to store
	multibyte characters.
	Declare range_table_work and initialize	it.
	Initialize bufp->multibyte to 0 if not emacs.
	For case '[' and `default', code re-written to handle
	multibyte characters.
	Add code for case 'c' and 'C' to handle category spec.

	(re_compile_fastmap): New local variables k, simple_char_max,
	and match_any_multibyte_characters.
	Use macro CHARSET_BITMAP_SIZE.
	Handle multibyte characters in cases charset, charset_not,
	wordchar, notwordchar, anychar, syntaxspec, notsyntaxspec,
	categoryspec, notcategoryspec.

	(STOP_ADDR_VSTRING, POS_ADDR_VSTRING): New macros.

	(re_search_2): Code re-written to handle multibyte characters.

	(AT_WORD_BOUNDARY): Macro disabled.

	(re_match_2_internal): New local variable multibyte.  `d' is
	incremented while paying attention to multibyte characters if
	necessary.
	For case charset, charsetnot, wordbound, notwordbound,
	wordbeg, wordend, matchsyntax, and matchnotsyntax, code
	re-written to handle multibyte characters.
	Add code for case categoryspec and notcategoryspec.
	 
	* regex.h (struct re_pattern_buffer): New member multibyte.

1997-02-21  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* window.c (Fset_window_buffer): Increment display_count
	if it is an integer.

	* buffer.c (init_buffer_once): Set up display_count.
	(syms_of_buffer): Set up Lisp variable.

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

1997-02-20  NIIBE Yutaka  <gniibe@@mri.co.jp>

	* dispnew.c (direct_output_forward_char): #if-0-out redundant
 	check against truncated text at end of line.
	Add giving-up for buffers with reverse direction.
	(remake_frame_glyphs): Use FRAME_MESSAGE_BUF_SIZE
 	instead of FRAME_WIDTH, as the message may include multi-byte
 	character and the length may be longer than width.
	(width_run_cache_on_off): Disable width-run-cache when
 	multi-byte characters are enabled.
	(skip_invisible): Don't put the boundary in the middle of
 	multibyte characters.

	* indent.c (current_column_bol_cache): New variable.  This makes
 	move_to_column faster.
	(current_column): Set current_column_bol_cache.
	(current_column_1): Likewise.
	(Fmove_to_column): Use current_column_bol_cache.

	* xdisp.c (display_text_line): Introduce new local variable
	rev_dir_bit to display right to left characters (not yet used).
	* xdisp.c (message): Use FRAME_MESSAGE_BUF_SIZE.
	(redisplay_internal): Add canceling code for continuation at
 	wide-column.
	(display_text_line): Don't just decrement left_edge->bufpos,
	it may be multi-byte character, use DEC_POS instead.

1997-02-20  NIIBE Yutaka  <gniibe@@mri.co.jp>

	Handle multi-byte and wide-column character in computing columns.
 	Note that we will find the continuation (linebreak) _AFTER_ it
 	occurs.

	* indent.c (current_column): When the buffer may have multi-byte
 	characters, call current_column_1.
	(compute_motion): Handle multi-byte characters.
	(current_column_1): Likewise.
	(Fmove_to_column): Likewise.

1997-02-20  NIIBE Yutaka  <gniibe@@mri.co.jp>

	Tab offset calculation changes.  We need this change because the
 	line may be less than WIDTH columns because of wide-character
 	continuation.

	* indent.h (struct position): New member tab_offset to accumulate
	tab offset.

	* xdisp.c (try_window): Change the way of calculation of tab
 	offset.  We now use val.tab_offset to maintain tab offset.
  	Removed local variable tab_offset.
	(try_window_id): Likewise.

	* indent.c: Include "charset.h".
	(compute_motion): Remove the variable PREV_VPOS.
	Introduce new local variables (multibyte, wide_column, prev_pos,
 	contin_hpos, prev_tab_offset) to handle multi-byte characters and
 	wide-column characters.

	(pos_tab_offset): Return COL (Modulo is no longer valid).
	Add the line to set tab_offset member.
	Use pos.tab_offset.

1997-02-20  NIIBE Yutaka  <gniibe@@mri.co.jp>

	* window.c (Fpos_visible_in_window_p): Bug fix.  Specify big
 	negative number for the argument TOHPOS of compute_motion.
	We don't need to calculate to (HPOS==0), but can stop immediately
	when VPOS pasts HEIGHT.
	* xdisp.c (redisplay_window): Likewise.
	(try_window_id): Likewise.

	* indent.c (pos_tab_offset): Specify "- (1 << (BITS_PER_SHORT - 1))"
 	to express big negative number (for consistency with xdisp.c).

1997-02-20  NIIBE Yutaka  <gniibe@@mri.co.jp>

	* indent.c (vmotion): Specify "1 << (BITS_PER_SHORT - 1)" to
 	express "Don't care".
	* xdisp.c (tri_window_id): Likewise.

	* dispnew.c (direct_output_forward_char): Bug fix.  Add
	XFASTINT (w->left) for losing cursor check.

1997-02-20  Kenichi HANDA  <handa@@etl.go.jp>

	* Makefile.in: The following changes are for new source codes
	related to Mule.
 	(XOBJ): Include fontset.o.
	(obj): Include charset.o, coding.o, category.o, and ccl.o.
	(lisp, shortlisp): Include Mule related elc files.
	(buffer.o, cmds.o, dispnew.o, doprnt.o): Depend on charset.h.
	(editfns.o, indent.o, insdel.o, keymap.o): Depend on charset.h.
	(minibuf.o, xdisp.o, xfaces.o, xselect.o): Depend on charset.h.
	(data.o, print.o, lread.o): Depend on charset.h.
	(callproc.o, fileio.o, process.o, term.o): Depend on charset.h and
	coding.h.
	(regex.o, search.o, syntax.o): Depend on charset.h and category.h.
	(fontset.o): Depend on charset.h and fontset.h.
	(xterm.o): Depend on charset.h, ccl.h, and fontset.h.
	(category.o, ccl.o, charset.o, coding.o, fontset.o): New targets.

	* alloc.c (Fmake_char_table): Typo in doc-string fixed.	 Handle
	the case that PURPOSE is nil (in a deeper char-table).
	(Fmake_bool_vector): Make correct size of Lisp_Object for
	bool-vector.

	* buffer.c: Include charset.h.
	(Fget_buffer_create): Allocate an extra byte for a buffer, and
	make it always 0 for anchoring.
	(reset_buffer): Handle a new member `enable_multibyte_characters'
	in the struct buffer.
	(fix_overlay_before): New function.
	(init_buffer_once): Handle new members in the struct buffer.
	(syms_of_buffer): Declare new buffer local variables
	`enable-multibyte-characters' and `direction-reserved'.

	* buffer.h (BEGV_ADDR, PT_ADDR, ZV_ADDR): Use macro POS_ADDR.
	(Z_ADDR, BUF_GPT_ADDR, BUF_Z_ADDR): New macros.
	(struct buffer): New members `category_table',
	`direction_reserved', and `enable-multibyte-characters'.
	(POS_ADDR): New macro used at all places instead of &FETCH_CHAR.
	(FETCH_BYTE): New macro used at any places to check the argument
	against an ASCII character.
	(FETCH_MULTIBYTE_CHAR): New macro used at any places to get a
	character code of the argument when it is known to be a multibyte
	character.
	(_fetch_multibyte_char_p, _fetch_multibyte_char_len): New
	variables.
	(FETCH_CHAR): Use macros FETCH_MULTIBYTE_CHAR and FETCH_BYTE.

	* callint.c (doc-string of `interactive'): Describe new code
	letters `i', `z', and `Z'.
	(Fcall_interactively): Handle them.

	* callproc.c: Include charset.h and coding.h.
	(Fcall_process): Perform character code conversion of a process
	arguments and the process output.
	(Fcall_process_region): Encode coding of a text given to a
	process.

	* cmds.c: Include charset.h.
	(forward_point, Fforward_point): New functions.
	(Fforward_char, Fdelete_char): Handle multibyte characters by
	calling forward_point.
	(Fdelete_backward_char): Pay attention to multibyte characters
	in overwrite-mode.
	(internal_self_insert): Handle self inserting a multibyte
	character.
	(syms_of_cmds): Handle the new function Fforward_point.

	* data.c: Include charset.h.
	(Qprocess): Now extern, not static.
	(Faref, Faset): Enable indexing a char table by a multibyte
	character.

	* dispextern.h (struct face): New members `non_ascii_gc' and
	`fontset'.
	[HAVE_FACES]: New macros FACE_NON_ASCII_GC and FACE_FONTSET.

	* dispnew.c: Include charset.h.
	(update_line): Handle wide-column characters.

	* disptab.h (DISP_CHAR_VECTOR): Always return nil for multibyte
	characters.

	* doprnt.c: Include charset.h.
	(doprn1): Handle multibyte characters.

	* editfns.c: Include charset.h.
	(Fchar_to_string, Fstring_to_char): Handle multibyte characters.
	(Fsref): New function.
	(Fgoto_char): Force point to be at a character boundary.
	(Ffollowing_char, Fpreceding_char): Handle multibyte characters.
	(Fchar_after): Handle multibyte characters.
	(Fchar_before): New function.
	(general_insert_function): New function.
	(Finsert, Finsert_and_inherit, Finsert_before_markers): Use it.
	(Finsert_char): Doc-string refer to markers of
	before-insertion-type. Handle multibyte characters.
	(Fsubst_char_in_region): Handle multibyte characters.
	(Fchar_equal): Don't consider `case' of multibyte characters.
	(syms_of_editfns): Handle the new function `char-before'.

	* emacs.c (main): Call several initialization function introduced
	by Mule.

	* eval.c (init_eval_once): Increase max_lisp_eval_depth to 300.

	* fileio.c: Include charset.h and coding.h.
	(READ_BUF_SIZE): New macro.
	(Finsert_file_contents): Refer to a coding system in the docstring.
	Perform character code conversion of a text read in.
	(Fwrite_region): Refer to a coding system in the docstring.
	Setup a coding system for character code conversion.
	Pass a new arg `pre_write_conversion' (Lisp function) to
	build_annotations.
	Pass a new arg `coding' to a_write.
	(build_annotations): Handle the new arg.
	(a_write): Handle the new arg `coding' by passing it to e_write.
	(WRITE_BUF_SIZE): New macro.
	(e_write): Perform character code conversion of a text to write
	out according to the new arg `coding'.

	* fns.c (Fcopy_sequence, concat, internal_equal, Ffillarray):
	Fix a bug of miscalculation of `size_in_chars' of a bool vector.
	(Fset_char_table_range): When range is vector, make the original
	char table deeper if necessary.

	* frame.c: Include "charset.h"
	[HAVE_WINDOW_SYSTEM]: Include fontset.h.
	(make_frame): Allocate member `fontset_data' of the struct frame.
	(Fdelete_frame): Free the area for the member.

	* frame.h (struct frame): New member `fontset_data'.
	(FRAME_MESSAGE_BUF_SIZE): New macro.

	* insdel.c: Include charset.h.
	(gap_left, gap_right): Put an anchor `\0' at the end of GAP.
	(adjust_markers_for_insert): If any markers are adjusted, check
	and fix the order of overlays in overlays_before.
	(make_gap): Allocate an extra byte and set to `\0' for anchoring.
	(insert1, insert_from_buffer_1): Put an anchor `\0' at the head of
	GAP.

	* keyboard.c (command_loop_1): Pay attention to a multibyte
	character while handling forward-char and backward-char.
	[!HAVE_NTGUI && XK_kana_A] (lispy_kana_keys): New variable.
	[!HAVE_NTGUI] (lispy_function_keys): New variable.
	(make_lispy_event) [XK_kana_A]: Handle kana keys.

	* keymap.c: Include charset.h.
	(push_key_description): If enable-multibyte-characters is t, use
	octal representation for a code of range 128..255 as binary.
	(Ftext_char_description): Handle multibyte characters.
	(describe_vector): Provide prettier description of a char table
	which contains multibyte characters.

	* lisp.h (CHARACTERBITS, GLYPH_MASK_REV_DIR): New macros.
	(GLYPH_MASK_PADDING, GLYPH_MASK_FACE, GLYPH_MASK_CHAR): New macros.
	[HAVE_FACES] (FAST_MAKE_GLYPH, FAST_GLYPH_CHAR, FAST_GLYPH_FACE):
	Use CHARACTERBITS.
	[!HAVE_FACES] (FAST_MAKE_GLYPH, FAST_GLYPH_CHAR, FAST_GLYPH_FACE):
	New macros.
	[!HAVE_FACES] (GLYPH_CHAR, GLYPH_FACE): Mask appropriate bits.
	(Fcoding_system_p, Fcheck_coding_system): Declare external.
	(Fread_coding_system, Fread_non_nil_coding_system): Likewise.

	* lread.c: Include charset.h.
	(Vload_source_file_function): New variable.
	(Fload): Call Vload_source_file_function if defined while loading
	an Emacs Lisp source file.  */
	(read_multibyte): New function.
	(read_escape): Handle multibyte characters.
	(read1): Correct the value of size_in_chars of a bool vector.
	Handle the case `?' is followed by a multibyte character.
	(Vload_source_file_function): New variable.

	* minibuf.c: Include charset.h.
	(read_minibuf): Pay attention to multibyte characters in the arg
	INITIAL while handling the arg BACKUP_N.
	(scmp, Fminibuffer_complete_word): Handle multibyte characters.

	* print.c: Include charset.h.
	(printchar, strout): Handle multibyte characters.
	(print): Correct the value of size_in_chars of a bool vector.

	* process.c: Include charset.h and coding.h.
	(proc_decode_coding_system, proc_encode_coding_system): New
	variables.
	(Fstart_process, create_process, Fopen_network_stream): Setup
	coding systems for character code conversion.
	(READ_CHILD_OUTPUT): New macro.
	(read_process_output): Perform character code conversion of a
	process output.
	(send_process): Perform character code conversion of a text sent
	to a process.
	(Fset_process_coding_system, Fprocess_coding_system): New
	functions.
	(syms_of_process): Handle them.

	* process.h (struct Lisp_Process): New members
	decode_coding_system, decoding_buf, encode_coding_system, and
	encoding_buf.

	* puresize.h (BASE_PURESIZE): Increase.

	* search.c: Include category.h and charset.h.
	(compile_pattern_1): Handle new argument `multibyte'.
	(compile_pattern): Handle the flag `enable-multibyte-characters'.
	(Vascii_downcase_table): Declare external.
	(fast_string_match_ignore_case): New function.
	(skip_chars): Handle multibyte characters.
	(trivial_regexp_p): Handle regular expression "\\Cc" and "\\CC"
	for category.

	* syntax.c: Include charset.h and category.h.
	(Vsyntax_code_object): New variable.
	(Fmodify_syntax_entry): Handle multibyte characters.  A multibyte
	character in matching parenthesis is also handled correctly.  Use
	shared object in the vector Vsyntax_code_object for an ASCII
	character.
	(describe_syntax): Handle a multibyte character in matching
	parenthesis.
	(describe_syntax_1): Describe also parent syntax tables.
	(scan_words, Fforward_comment): Handle multibyte characters.
	(scan_lists, char_quoted, Fbackward_prefix_chars): Likewise.
	(scan_sexps_forward): Likewise.
	(init_syntax_once): Initialize Vsyntax_code_object.
	Initialize Vstandard_syntax_table by share objects in
	Vsyntax_code_object.
	(syms_of_syntax): Staticpro Vsyntax_code_object.

	* syntax.h (SET_RAW_SYNTAX_ENTRY): Handle syntax of multibyte
	characters.
	(SYNTAX_ENTRY_FOLLOW_PARENT): New macro.
	(SYNTAX_ENTRY): Handle syntax of multibyte characters.
	(SYNTAX, SYNTAX_WITH_FLAGS, SYNTAX_MATCH): Don't signal error even
	if a syntax entry is not cons.

	* term.c: Include charset.h and coding.h.
	(TS_end_italic_mode, TS_italic_mode, TS_bold_mode): New variables.
	(TS_end_bold_mode, TS_end_underscore_mode): New variables.
	(TS_underscore_mode): New variable.
	(encode_terminal_code): New function.
	(write_glyphs, insert_glyphs): Perform character code conversion
	on output to a terminal.
	(term_init): Initialize TS_bold_mode, TS_end_bold_mode,
	TS_end_underscore_mode, and TS_underscore_mode.

	* xdisp.c: Include charset.h, coding.h, and process.h.
	(display_text_line): Handle multibyte characters.
	(display_mode_line): Pay attention to wide-column characters.
	(decode_mode_spec_coding): New function.
	(decode_mode_spec): Handle %-constructs `%z' and `%Z' to print
	coding system mnemonics.
	(display_string): Handle multibyte characters.

	* xfaces.c: Include charset.h.
	(allocate_face, copy_face, face_eq1): Handle member `fontset' of
	struct face, i.e. initialize, copy, and check it.
	(intern_face, clear_face_cache): Handle member `non_ascii_gc' of
	struct face, i.e. initialize and free it.
	(free_frame_faces): Unload font only when fontset is not used.
	Free non_ascii_gc.
	(frame_update_line_height, merge_faces, compute_base_face): Handle
	fontset.
	(recompute_base_faces): Free non_ascii_gc.
	(Fset_face_attribute_internal): Handle fontset.

	* xfns.c: Include charset.h and fontset.h.
	(Vx_pixel_size_width_font_regexp): New variable.
	(x_set_font): Handle fontset.
	(Fx_create_frame): Create fontsets in Vglobal_fontset_alist.
	(Fx_list_fonts): Handle fontset.
	(syms_of_xfns): Initialize Vx_pixel_size_width_font_regexp.
	Setting callback functions for fontset handler.

	* xselect.c: Include charset.h and coding.h.
	(QCOMPOUND_TEXT): New variable.
	(symbol_to_x_atom): Handle it.
	(selection_data_to_lisp_data): Decode a selection data if
	selection type is TEXT or COMPOUND_TEXT.
	(lisp_data_to_selection_data): Encode a text to COMPOUND_TEXT if
	it contains multibyte characters.
	(syms_of_xselect): Initialize and staticpro QCOMPOUND_TEXT.

	* xterm.c: Include charset.h, ccl.h, and fontset.h.
	(PER_CHAR_METRIC): New macro.
	(dumpglyphs): New argument CMPCHARP.  Handle multibyte characters.
	(XTwrite_glyphs, redraw_previous_char, redraw_following_char):
	Supply argument CMPCHARP to dumpglyphs.
	(dumprectangle): Display whole glyph of wide-column characters.
	Supply argument CMPCHARP to dumpglyphs.
	(show_mouse_face): Supply argument CMPCHARP to dumpglyphs.
	(x_draw_box): Pay attention to wide-column characters.
	(x_draw_single_glyph): Supply argument CMPCHARP to dumpglyphs.
	(x_new_font): Call fs_load_font for actual font loading work.
	(x_new_fontset): New function.
	(x_get_font_info, x_list_fonts, x_load_font, x_query_font): New
	functions providing API to fontset handler.
	(x_term_init): Initialize several new members of struct x_display_info.

	* xterm.h (struct font_info): This definition is moved to
	fontset.h.
	(struct x_display_info): New members Xatom_PIXEL_SIZE,
	Xatom_MULE_BASELINE_OFFSET, Xatom_RELATIVE_COMPOSE, and null_pixel.
	(x_list_fonts, x_get_font_info, x_load_font, x_query_font):
	Declare external.
	(struct x_output): New members font_baseline and fontset.
	(FRAME_FONTSET, FRAME_X_FONT_TABLE): New macros.

	* category.h, category.c, ccl.h, ccl.c, charset.h: New files.
	* charset.c, coding.h, coding.c, fontset.h, fontset.c: New files.

1997-02-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* print.c (print): Generate a backslash in \2e10.
	
1997-02-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* window.c (change_window_height): Take size from multiple siblings,
	nearest ones first, when that can be done without deleting any of them.

1997-02-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* minibuf.c (Fminibuffer_message): New function.
	(syms_of_minibuf): Set up Lisp function.

	* syntax.c (scan_lists): Signal errors using scan-error.
 	(syms_of_syntax): Set up Qscan_error.

1997-02-06  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* lread.c (Feval_buffer): Doc fix.

1997-02-03  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* window.c (scroll_preserve_screen_position): New variable.
	(keys_of_window): Set up Lisp var.
	(window_scroll): If scroll_preserve_screen_position is 0,
	behave the old way (advancing point the minimum distance).

1997-02-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* emacs.c (main): Don't extend stack limit too far.

Sun Feb  2 10:36:26 1997  Eli Zaretskii  <eliz@@wombat.gnu.ai.mit.edu>

	* msdos.c (dos_rawgetc): When international keyboard doesn't have
 	to be supported, recognize Alt-key combinations even if the Alt
	key is no longer pressed.

1997-01-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xfns.c (Vx_resource_class): New variable.
	(syms_of_xfns): Set up Lisp variable.
	(Fx_get_resource, x_window): Use Vx_resource_class.
	(validate_x_resource_name): Ensure Vx_resource_class is a string.

1997-01-27  Paul Eggert  <eggert@@twinsun.com>

	* data.c (isnan): Define even if LISP_FLOAT_TYPE is not defined,
 	since fmod might need it.
	(fmod): Ensure that the magnitude of the result does not exceed that
	of the divisor, and that the sign of the result does not disagree with
	that of the dividend.  This does not yield a
	particularly accurate result, but at least it will be in the
	range promised by fmod.
	
	* doprnt.c: Include <float.h> if STDC_HEADERS.
	(DBL_MAX_10_EXP): Define if not defined; default is IEEE double.
	(doprnt1): Allocate enough buffer space to handle very large floating
	point numbers, or very large field widths or precisions.
	Detect overflow in field widths or precisions.

1997-01-26  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* config.in (HAVE_RINT, HAVE_CBRT): Add undefs.

1997-01-26  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* lread.c (openp): Handle remote file names in path.
	Don't use the path for an absolute name.
	(Fload): Handle openp finding a remote file name.

1997-01-25  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* floatfns.c [!HAVE_RINT] (rint): Convert macro to an actual
	function, so we can take its address.

1997-01-22  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>

	* indent.c (pos_tab_offset): Take the width of the minibuffer
	prompt into account.
	(vmotion): In calls to compute_motion use a value for tab_offset
	that is corrected by the minibuffer prompt width.

	* xdisp.c (try_window): Remove frobnication of tab_offset in a
 	minibuffer window.
	(display_text_line): Likewise, for the taboffset parameter.

1997-01-24  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* lread.c (Qinhibit_file_name_operation): New variable.
	(syms_of_lread): Initialize and staticpro.
	(Fload): Bind inhibit-file-name-operation to nil.

1997-01-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* eval.c (unbind_to, specbind): Use set_internal.

	* data.c (set_internal): New subroutine.  New arg BINDFLAG.
	Don't make a new buffer-local binding if BINDFLAG is 0.
	(Fset): Use set_internal.

1997-01-21  Paul Eggert  <eggert@@twinsun.com>

	* editfns.c (set_time_zone_rule_tz1, set_time_zone_rule_tz2):
	Put "+" in value; needed if we are a Solaris 1 executable
	running under Solaris 2.
	Define these variables only if LOCALTIME_CACHE is defined.

1997-01-21  Eli Zaretskii  <eliz@@wombat.gnu.ai.mit.edu>
		
	* msdos.c (run_msdos_command): Remove unused variables.
	(crlf_to_lf): Remove unused variables.
	(Fmsdos_downcase_filename): Remove unused variable.
	(IT_set_frame_parameters): Declare prototypes for external functions.
	(IT_set_frame_parameters): Correct format specifier.
	(IT_set_terminal_modes): Remove unused variable.
	(top level): Add header files which declare used functions.

1997-01-21  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* Makefile.in (stamp-oldxmenu): New target.
	(temacs): Depend on stamp-oldxmenu, not on ${OLDXMENU}.

1997-01-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* lisp.h (FAST_MAKE_GLYPH): Rename args to CHAR and FACE.
	Cast CHAR to unsigned char before using it.

	* xterm.c (dumpglyphs): Declare g as GLYPH.

1997-01-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* term.c (fatal): Print a newline at the end.
	(term_init): Calls to fatal changed.

	* eval.c (Fsignal): Call fatal if no error handlers and no catch.

	* dispnew.c (init_display): Check for overflow in screen size.
	Use `fatal'.
	
1997-01-19  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32.c (init_environment): Rebuild Vsystem_configuration at startup.

	* w32gui.h: Update include conditionals to use new name.

	* w32gui.h: Renamed from win32.h.
	* dispextern.h, w32term.h, makefile.nt: Use new name w32gui.h.
	* makefile.nt: Update header comment.
	
	* w32console.c (initialize_w32_display): Renamed from 
	initialize_win_nt_display.
	* term.c (term_init): Use new name initialize_w32_display.
	
	* w32.c, w32console.c, w32faces.c, w32fns.c, w32heap.c,
	w32inevt.c, w32menu.c, w32proc.c, w32select.c, w32term.c,
	w32xfns.c, win32.h, w32inevt.h, w32term.h: Change all uses of win95,
	winnt, and win32 into Windows 95, Windows NT, and W32, respectively.
	Expand "win" substring in variables referring to Microsoft Windows 
	constructs into "windows".
	Canonicalize header comments to use same terminology.

1997-01-18  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* search.c (skip_chars): Optimize by not calling SET_PT in the loop.

1997-01-16  Erik Naggum  <erik@@naggum.no>

	* keymap.c (push_key_description): Print C-j, not TAB.

1997-01-16  Eli Zaretskii  <eliz@@wombat.gnu.ai.mit.edu>

	* msdos.c (XMenuActivate): Don't allow non-positive menu
	coordinates.

1997-01-15  Eli Zaretskii  <eliz@@is.elta.co.il>

	* keyboard.c (interrupt_signal): Make emergency exit work on MSDOS
	frames.  Block further SIGINTs while `interrupt_signal'	runs.

	* msdos.c (sigprocmask, sig_suspender): New functions, implement
	signal blocking on MSDOS.

1997-01-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

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

1997-01-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* w32.c (get_emacs_configuration): Return windows95 instead of win95.

1997-01-13  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* dispnew.c (change_frame_size_1): Reject new sizes if they cause
	overflow.

1997-01-13  Eli Zaretskii  <eliz@@is.elta.co.il>

	* emacs.c (init_cmdargs) [MSDOS]: Allow `installation-directory'
	to be set if either `lib-src' or `info' are found as its
	subdirectories or siblings.

1997-01-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fns.c (concat): Take modulus of thisindex before shifting.
	Declare thisindex as unsigned.

1997-01-12  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32menu.c (x-popup-menu): Pass in insist flag to mouse_position_hook.

1997-01-11  Paul Eggert  <eggert@@twinsun.com>

	* floatfns.c (rounding_driver): New function for systematic support of
	2-argument rounding functions, so that `floor' isn't the only one
	that supports 2 arguments.
	(Fceiling, Ffloor, Fround, Ftruncate): Use it.
	(ceiling2, floor2, round2, truncate2, double_identity): New functions.
	(syms_of_floatfns): Define ceiling, round, and truncate even if
	LISP_FLOAT_TYPE is not defined.

1997-01-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* lread.c (read1): Round size of bool-vector properly.

	* print.c (print): Round size of bool-vector properly.

	* lread.c (read1): Fix error messages.

1997-01-09  Steve Nygard  <nygard@@telusplanet.net>

	* unexnext.c: Include <mach-o/reloc.h>.
	(fgrowth): Initialize to zero.
	(vmaddr_growth, dataseg_vmaddr, dataseg_vmend): New variables.
	[NS_TARGET] (extreloff, nextrel, dysymtab, reloc_info): New variables.
	(unexec_doit): Adjust file offsets of segments that follow the
	enlarged data segment.  Adjust vmaddr of the SEG_LINKEDIT segment that
	follows the data segment.
	[NS_TARGET] (unexec_doit): Adjust file offsets in the LC_DYSYMTAB load
	command that follows the data segment.  Zero out relocation entries
	that fall within the data segment.

1997-01-07  Karl Berry  <karl@@cs.umb.edu>

	* filelock.c (LOCK_PID_MAX): Use sizeof (unsigned long) instead
	of hardwiring 21.
	(lock_file_1): Use LOCK_PID_MAX when allocating lock_info_str
	instead of hardwiring 21.

1997-01-06  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (bright_bg): Save the original state of video blink bit.
	(maybe_enable_blinking): New function, restores the original state
	of the blink bit.
	(IT_reset_terminal_modes): Restore the original state of the blink
	bit when suspending/exiting.
	(run_msdos_command): Make sure bright background colors are again
	enabled after subsidiary program returns.

1997-01-06  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* data.c (Fset_default): For a BUFFER_OBJFWD, store into
	buffer_defaults even if mask < 0.

1997-01-04  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* keyboard.c (command_loop_1, read_char):
	Run Qecho_area_clear_hook when clearing echo area.
	(Qecho_area_clear_hook): New variable.
	(syms_of_keyboard): Initialize it.

	* buffer.c (Fpop_to_buffer): New arg NORECORD.

1997-01-04  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32proc.c (compare_env, merge_and_sort_env): New functions.
	(sys_spawnve): Sort environment variables for subprocess.
	(ppid_env_var_buffer): Variable deleted.

1997-01-02  Karl Berry  <karl@@cs.umb.edu>

	* filelock.c (lock_info_type): Declare pid as unsigned long
	instead of int.
	(lock_file_1): Use %lu instead of %d in printf.

1997-01-01  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* cmds.c (internal_self_insert): Check the property
	on the hook, not on the abbrev symbol.

	* dispnew.c (update_frame): Call detect_input_pending
	for X as well as for termcap frames.

1996-12-31  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* bytecode.c (HANDLE_RELOCATION): New macro.
	(MAYBE_GC): Call HANDLE_RELOCATION.  Swallow following semicolon.
	(Fbyte_code): Use HANDLE_RELOCATION.

1996-12-31  Paul Eggert  <eggert@@twinsun.com>

	* s/nextstep.h, s/sco4.h (BROKEN_MKTIME): New macro.
	* Makefile.in (MKTIME_OBJ), config.in (mktime):
	Use BROKEN_MKTIME to determine whether mktime is broken.

1996-12-30  Paul Eggert  <eggert@@twinsun.com>
	
	* data.c, floatfns.c: <float.h>: Include if STDC_HEADERS.
	(IEEE_FLOATING_POINT): New symbol.
	* data.c (float_arith_driver, Fmod), floatfns.c (Ffloor):
	Test for division by 0 only if ! IEEE_FLOATING_POINT.
	* floatfns.c (fmod_float): New function.

	* Makefile.in (MKTIME_OBJ): Use our mktime instead of SCO
 	3.2v4.2's, since SCO's botches time arithmetic as used by display-time.

1996-12-30  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* bytecode.c (Fbyte_code): Add error check for jumping out of range.

	* s/hiuxmpp.h, m/sr2k.h: New files.

1996-12-29  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* Makefile.in (process.o): Depend on blockinput.h.

	* process.c: Include blockinput.h.
	(create_process): Block input around the fork.

1996-12-27  Karl Berry  <karl@@owl.HQ.Ileaf.COM>

	* filelock.c: Total rewrite.

1996-12-26  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* data.c (Ffset): Change argument name and doc string.
	(Fdefalias): Likewise.

1996-12-26  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* xterm.c (x_iconify_frame): Clear visible when we set iconified.

1996-12-25  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* window.c (window_scroll): Preserve vpos of point
	if we cannot preserve the actual position of it.
	Make it static.  New arg WHOLE; callers changed.
	
	* keyboard.c (read_char_x_menu_prompt): Unread and record all the
	input events from here.
	(record_menu_key): New subroutine.

	* xmenu.c (single_keymap_panes): New arg DEPTH.
	Cut off recursion at that depth.  Callers changed.

1996-12-23 +02  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (dos_set_keyboard): Test whether KEYB.COM is installed
	for international keyboard support.
	(dos_get_modifiers): If international keyboard support is NOT
	required, make both Right and Left Alt key behave like Meta key.

1996-12-22  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* emacs.c (standard_args): Add -find-file and -visit.

	* cmds.c (internal_self_insert): If the abbrev has no expansion,
	just a hook, inhibit the insertion of the character.

	* abbrev.c (Fexpand_abbrev): Return the abbrev symbol,
	or nil if no expansion.

1996-12-20  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xdisp.c (try_window): Add error check for POS.

1996-12-19  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* s/nextstep.h (LD_SWITCH_SYSTEM): Use just -X.
	(LIB_STANDARD): Alternate definition if NS_TARGET.

	* xfns.c (x_set_title): Check data type of NAME.

	* search.c (Fmatch_data): Doc fix.

1996-12-19  Werner Benger  <werner@@ast1.uibk.ac.at>

	* keyboard.c (modify_event_symbol):
	Don't index thru name_table if it is null.

1996-12-19  Erik Naggum  <erik@@naggum.no>

	* process.c (read_process_output, exec_sentinel):
	* w32menu.c (set_frame_menubar):
	* xdisp.c (prepare_menu_bars, update_menu_bar):
	* xmenu.c (set_frame_menubar):
	Call Fmatch_data with new explicit arguments.

1996-12-18  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* search.c (Fmatch_data): New args INTEGERS and REUSE.

	* process.c (send_process) [EMACS_HAS_USECS]:
	When we wait for the buffer to clear, wait just .02 second.

	* intervals.c (adjust_intervals_for_insertion):
	Be smarter about when to split an interval
	for properties that are not sticky on either side.

	* intervals.h (FRONT_NONSTICKY_P): New macro.

	* intervals.c (set_point): Use virtual bounds, not real bounds,
	in the abort test for POSITION.
	Skip the intangibility test if POSITION is at either end of buffer.

1996-12-18  Jonathan I. Kamens  <jik@@annex-1-slip-jik.cam.ov.com>

	* config.in (HAVE_LIBMAIL, HAVE_MAILLOCK_H, HAVE_TOUCHLOCK):
	Add #undefs.

1996-12-16  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fileio.c (Finsert_file_contents): Handle BEG and END non-nil
	when REPLACE is non-nil.

1996-12-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* intervals.c (merge_properties_sticky): Don't discard explicit nil
	properties.  Don't put on a front-sticky property if we inherit
	one from the category that does the job.

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

1996-12-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* intervals.c (set_point): Check for intangible properties
	on overlays.

	* textprop.c (Fnext_char_property_change): New function.
	(Fprevious_char_property_change): New function.
	(syms_of_textprop): defsubr them.

1996-12-14  Lars Magne Ingebrigtsen  <larsi@@ifi.uio.no>

	* editfns.c (Fuser_full_name): Return nil if the specified user
	doesn't exist.
	(init_editfns): Set Vuser_full_name to "unknown" if the user name
	can't be resolved.

1996-12-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* strftime.c: Replace this with the version from libc.

1996-12-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xfns.c (x_set_scroll_bar_width): Reject a width that's too small.

1006-12-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* buffer.c (syms_of_buffer): Doc fix (transient-mark-mode).

1996-12-10  Andrew Innes  <andrewi@@harlequin.co.uk>

	* fileio.c (Fwrite_region): Be careful not to destroy contents of
	existing file when appending.

1996-12-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fileio.c (Fread_file_name_internal): Verify STRING is a string.
	(Fread_file_name): Don't insert DIR or INITIAL if it isn't a string.

1996-12-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* s/aix4-2.h: New file.

1995-12-08  Lars Magne Ingebrigtsen  <larsi@@ifi.uio.no>

	* editfns.c (Fuser_full_name): Use build_string instead of make_string.

1996-12-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* callproc.c (Fcall_process_region): Define missing local `count'.

	* xdisp.c (message2_nolog): Handle minibuffer_auto_raise.

	* minibuf.c (syms_of_minibuf): Doc fix.

1996-12-07  Lars Magne Ingebrigtsen  <larsi@@ifi.uio.no>

	* editfns.c (Fuser_full_name): Accept a string (the login name) as
	a parameter.  Do ampersand expansion, if required.
	(init_editfns): Use it.

1996-12-06  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (IT_cmgoto): Don't update FRAME_CURSOR_X when the cursor
	is in echo area.

1996-12-05  Erik Naggum <erik@@naggum.no>

	* keyboard.c (syms_of_keyboard): Doc fix.

1996-11-28  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* callproc.c (Vtemp_file_name_pattern): New variable.
	(syms_of_callproc): Set up Lisp variable.
	(init_callproc): Initialize it.
	(Fcall_process_region): Use it.

	* bytecode.c (MAYBE_GC): New macro.
	(Fbyte_code): Use MAYBE_GC in every goto opcode.

1996-11-25  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* editfns.c (Fline_beginning_position, Fline_end_position): New fns.
	* cmds.c (Fend_of_line, Fbeginning_of_line):
	Use Fline_beginning_position, Fline_end_position.
	* lisp.h  (Fend_of_line, Fbeginning_of_line): Declared.

1996-11-23  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* window.c (window_scroll): Don't set w->start or w->force_start
 	if signaling an error.

	* xmenu.c (Vmenu_updating_frame): New variable.
	(syms_of_xmenu): Set up Lisp var.
	(Fx_popup_menu, set_frame_menubar): Initialize it.

1996-11-23  Erik Naggum  <erik@@naggum.no>

	* keyboard.c (syms_of_keyboard): Doc fix for num-input-keys.

1996-11-22  Lars Magne Ingebrigtsen  <larsi@@ifi.uio.no>

	* editfns.c (Fuser_full_name): Accept an optional UID and return
	the full name of that user instead.

1996-11-20  Andrew Innes  <andrewi@@harlequin.co.uk>

	* w32fns.c (w32_wnd_proc): Use dummy message to wake up thread on
 	quit_char.

1996-11-19  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c [__DJGPP__ >= 2] (dos_direct_output): Faster method of
	writing characters to the screen.
	(SCREEN_SET_CURSOR): Remove.
	(IT_display_cursor): New function, to turn the cursor on and off.
	(IT_cmgoto): New function, sets the cursor to its final position
	whenever frame update is complete.
	(internal_terminal_init): Set IT_cmgoto as the hook to be called
	when frame is up to date.
	(dos_rawgetc): Call IT_cmgoto instead of the SCREEN_SET_CURSOR
	macro (which is gone now).
	(XMenuActivate): Turn off the cursor while the menu is displayed,
	to prevent it from showing through the menu panes.

1996-11-19  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32.c, w32.h: Renamed from nt.c, nt.h.
	* w32heap.c, w32heap.h: Renamed from ntheap.c, ntheap.h.
	* w32inevt.c, w32inevt.h: Renamed from ntinevt.c, ntinevt.h.
	* w32proc.c: Renamed from ntproc.c.
	* w32console.c: Renamed from w32term.c.
	* unexw32.c: Renamed from unexnt.c.
	* s/ms-w32.h: Renamed from s/windowsnt.h.
	
	* dispnew.c (init_display) [HAVE_NTGUI]: Use w32 for window-system.

	* Makefile.in, callproc.c, makefile.nt: Use new names for w32 files.

1996-11-18  Geoff Voelker  <voelker@@cs.washington.edu>

	* emacs.c, frame.c, frame.h, keyboard.c, nt.c, nt.h,
 	ntheap.c, ntheap.h, ntinevt.c, ntinevt.h, ntproc.c, ntterm.c,
 	termhooks.h, unexnt.c, w32faces.c, w32fns.c, w32menu.c, w32reg.c,
 	w32select.c, w32term.c, w32term.h, w32xfns.c, s/windowsnt.h:
	Change identifiers of the form win32* to w32*.

	* window.c (special-display-p, same-window-p): Add missing
	newlines and backslashes in help strings.

1996-11-12  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xdisp.c (redisplay_window): When handling scroll_conservatively,
	scroll a little farther for the sake of scroll_margin.

1996-11-11  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* abbrev.c (Fexpand_abbrev): If the abbrev's expansion is nil,
	don't expand it, but do still call the hook.
	(Fdefine_abbrev): Allow anything for EXPANSION.

	* frame.c (Fmodify_frame_parameters): Use alist in reverse order.

1996-11-10  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* process.c (status_notify): Test p->infd > 0
	before each call to read_process_output.
	(read_process_output): Handle match data properly in recursive calls.
	(exec_sentinel): Likewise.

	* window.c (window_scroll): Handle scroll_margin
	by putting point at a place that won't force recentering.

	* xdisp.c (scroll_margin): New variable.
	(init_xdisp): Set up Lisp variable.
	(redisplay_window): Implement scroll_margin; don't use old start pos
	if point is inside the margin.

1996-11-09  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* window.h (struct window): New field optional_new_start.
	* xdisp.c (redisplay_window): Handle optional_new_start.
	* window.c (Fdelete_other_windows): Set optional_new_start
	instead of force_start.

	* insdel.c (signal_after_change): If Vcombine_after_change_calls,
	save up changes in combine_after_change_list.
 	(Fcombine_after_change_execute)
	(Fcombine_after_change_execute_1): New subroutines.
	(syms_of_insdel): New function.

	* emacs.c (main): Call syms_of_insdel.

	* fns.c: Include frame.h and window.h.
	(Fy_or_n_p): Handle minibuffer_auto_raise here.

	* Makefile.in (fns.o): Depend on frame.h and window.h.

1996-11-08  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* macros.c (Fcall_last_kbd_macro): Set this_command from last_command
	on entry and again on exit.

1996-11-07  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* frame.c (Fmodify_frame_parameters): Doc fix.

	* fileio.c (USG5 or BSD_SYSTEM or LINUX): Include fcntl.h.
	(Ffile_readable_p): Return immediately if stat fails.
	Call S_ISFIFO correctly.

1996-11-06  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* editfns.c (Fencode_time): Doc fix.

1996-11-06  John F. Carr  <carrj@@polaroid.com>

	* dired.c (Ffile_attributes): Represent inode number as a pair of
	integers in case inode numbers do not fit in a Lisp integer.

1996-11-06  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c [__DJGPP_MINOR__ == 0] (_rename): New function, a
	substitute for library low-level file-renaming function which
	works around Windows 95 bug.

1996-11-06  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* window.c (window_loop, case GET_BUFFER_WINDOW):
	Don't find any minibuffer window
	except the one that is currently in use.

1996-11-05  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* fileio.c (S_ISFIFO): Default definition (if S_IFIFO is defined).

	* editfns.c (Fencode_time): Use xfree, not free.

	* print.c (PRINTFINISH): Use xfree, not free.

1996-11-04  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xfns.c (Fx_create_frame): Look for X-resource for minibuffer.

	* alloc.c (Fgarbage_collect): Use Vhistory_length
	for truncating Vcommand_history.

	* print.c (PRINTPREPARE): Really do set free_print_buffer.

	* xdisp.c (scroll_conservatively): New variable.
	(redisplay_window): Obey it.
	(syms_of_xdisp): Set up Lisp var.

1996-11-02  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* minibuf.c (choose_minibuf_frame): Don't change selected_frame's
	selected window even if it is a minibuffer window,
	if it is active.

1996-11-01  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* print.c (PRINTDECLARE): Declare specpdl_count and free_print_buffer.
	(PRINTPREPARE): If print_buffer is nonzero,
	save its contents in a string using record_unwind_protect.
	(PRINTFINISH): Restore old print_buffer contents.
	Free it only if this PRINTPREPARE malloc'd it.
	(print): Don't call PRINTFULLP after all.
	(print_unwind): New function.

	* print.c (printchar, strout): Do QUIT for echo area output.
	(PRINTFULLP): New macro.
	(print): Exit if PRINTFULLP.
	When printing a symbol, don't save a pointer to the name.
	(PRINTFINISH): Null out print_buffer after freeing it.

1996-10-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (cancel_mouse_face): New function.  Code copied from
	x_set_window_size, fixing a bug.
	(x_set_window_size): Use cancel_mouse_face.
	(XTread_socket): When frame size has changed, call cancel_mouse_face.

	* widget.c (EmacsFrameResize): Use cancel_mouse_face.

1996-10-31  Erik Naggum  <erik@@naggum.no>

	Reorganize function definitions so etags finds them.
	* abbrev.c (Finsert_abbrev_table_description).
	* editfns.c (Finsert_and_inherit_before_markers).
	* eval.c (Frun_hook_with_args, Frun_hook_with_args_until_success,
 	Frun_hook_with_args_until_failure).
	* window.c (Fcurrent_window_configuration).
	* xselect.c (Fx_own_selection_internal, Fx_get_selection_internal,
 	Fx_disown_selection_internal).

1996-10-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* emacs.c (main): Clear out *Messages* before init_callproc.

	* keyboard.c (command_loop_1): Update selected buffer again
	after read_key_sequence.

1996-10-29  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* callproc.c (init_callproc): Use dir_warning.

	* lread.c (dir_warning): New function.
	(init_lread): Use dir_warning.

1996-10-28  Erik Naggum  <erik@@naggum.no>

	* alloc.c (Fmake_char_table): Doc fix.

1996-10-25  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* keymap.c (describe_buffer_bindings): Pass 1 for PARTIAL
	in some calls to describe_map_tree.

1996-10-24  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* process.c (status_notify): Update p->tick again
	just before running the sentinel, in case it dies.

1996-10-23  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* xdisp.c (decode_mode_spec): In the `L' case,
	remove a buffer from base_line_pos if window has switched buffers.

1996-10-15  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* minibuf.c (read_minibuf_unwind): Don't restore minibuf_window;
	instead call choose_minibuf_frame.
	(choose_minibuf_frame): Don't let any other frame keep its minibuf
	window selected.

	* xterm.c (XTread_socket, KeyPress case): Clear compose_status
	if the key has the meta modifier.

1996-10-14  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* eval.c (Vdebug_on_signal): Renamed from Vdebug_force.

1996-10-13  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* m/pmax.h (BROKEN_O_NONBLOCK): Define only if Ultrix.
	(LIBS_MACHINE, KERNEL_FILE): Don't define if __NetBSD__.
	(C_SWITCH_X_MACHINE): Define only if Ultrix.
	[__NetBSD__] (START_FILES, CANNOT_DUMP): New definitions.
	[__NetBSD__] (RUN_TIME_REMAP, UNEXEC): Undef them.

	* m/mips.h (UNEXEC): Undef before defining.

	* fileio.c (Fexpand_file_name):
	No longer discard .../ before another / or ~.
	That is now only in Fsubstitute_in_file_name.

1996-10-12  Simon Marshall  <simon@@duality.gnu.ai.mit.edu>

	* data.c (Fdefine_function): Function definition deleted.
 	(syms_of_data): Don't call defsubr for it.

1996-10-12  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xterm.c (XTwrite_glyphs, XTclear_end_of_line, XTclear_frame)
	(clear_cursor, x_display_bar_cursor, x_display_box_cursor)
	(x_set_window_size): Use phys_cursor_on field in frame.
	(x_update_cursor): Negative phys_cursor_x no longer means anything.

	* frame.h (struct frame): New field phys_cursor_on.

1996-10-08  David Kgedal  <davidk@@lysator.liu.se>

	* xmenu.c (Fx_popup_menu): Give the menu a title when the menu is
 	a single keymap.

1996-10-07  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* s/ptx.h (POSIX_SIGNALS): New definition.

	* dispnew.c (init_display): If not yet initialized,
	we can't really use X, so we must do the real work.

1996-10-06  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xdisp.c (display_text_line): New arg ovstr_done.  (Callers changed).
	Ignore that many chars from start of overlay strings.
	Return updated value in ovstring_chars_done field.

	* indent.c (vmotion, compute_motion): Fill in ovstring_chars_done
	in the return value.

	* indent.h (struct position): New field ovstring_chars_done.

1996-10-06  Erik Naggum  <erik@@naggum.no>

	* window.c (Fspecial_display_p, Fsame_window_p): New functions.
	(Fdisplay_buffer): Use them, instead of doing the work here.
	(syms_of_window): Defsubr them.

1996-10-05  Marcus G. Daniels  <marcus@@coulee.tdb.com>

	* xfns.c (x_set_internal_border_width):  Only change
 	an edit_widget's internal_border_width for the toolkit case.

1996-10-04  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* lread.c (openp): Omit /: from start of file name.

1996-10-03  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* buffer.c (init_buffer): Add /: to dir names that could be magic.
	* emacs.c (decode_env_path): Add /: to dir names that could be magic.
	(init_cmdargs): Add /: to argv[0] if it could be magic.

1996-10-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xfns.c (syms_of_xfns): For x-sensitive-text-pointer-shape, use
	DEFVAR_LISP.

1996-10-01  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* frame.c (store_frame_param): Allow setting a frame's minibuffer
	to the value that it already has.

1996-10-01  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* buffer.c (syms_of_buffer): Doc fix.

1996-09-28  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xterm.c (show_mouse_face): Undo 1996-08-30 change.

	* s/irix5-0.h (ospeed): New definition.
	* s/irix6-0.h (ospeed): New #undef to counteract that definition.

1996-09-27  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xterm.c (XTflash): Don't flash in the internal borders.
	or between a scroll bar and the edge.

	* eval.c (Vdebug_force): New variable.
	(syms_of_eval): Set up Lisp var.
	(find_handler_clause): If Vdebug_force, call debugger
	even if there are handlers.

1996-09-26  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>

	* xfns.c (x_set_scroll_bar_width): Move cursor to the 
	left margin, past a scroll bar, if any.

1996-09-26  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* lread.c (isfloat_string): Accept E like e.

	* callint.c (Fcall_interactively): Bind cursor-in-echo-area to t
	for `k' and `K'.

	* s/hpux10.h (KERNEL_FILE): Redefine it here.

1996-09-25  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* textprop.c (Fset_text_properties, Fadd_text_properties)
	(Fremove_text_properties): Call modify_region and signal_after_change
	only for buffers, not for strings.

	* xterm.c (XTflash): Flash just top and bottom screen line.

	* window.c (syms_of_window): Doc fixes.

1996-09-25  Marcus Daniels  <marcus@@sysc.pdx.edu>

	* s/irix5-0.h (sigsetmask, _longjmp, _setjmp): #undef them.
	(_BSD_SIGNALS): Definition deleted.

1996-09-25  Eli Zaretskii  <eliz@@is.elta.co.il>

	* dosfns.c (init_dosfns): When setting `__opendir_flags' value,
	override the bits recorded when dumping.

1996-09-24  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* w32term.c (w32_read_socket): Delete WAITP arg.

	* keyboard.c (read_avail_input): Don't pass WAITP to read_socket_hook.

	* xterm.c (XTread_socket): Delete WAITP arg.

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

	* fileio.c (Vuser_login_name): Declared extern.
	(minibuf_level): extern decl moved to top level.
	(Fwrite_region): Query before writing to a file that is locked,
	even if it is locked by the same user.

	* textprop.c (set_properties, add_properties, remove_properties):
	Don't call modify_region or signal_after_change here.
	(Fset_text_properties, Fadd_text_properties, Fremove_text_properties):
	Call them here when appropriate.

	* Makefile.in (LIBES): Add LOADLIBES and LDLIBS.

1996-09-24  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (run_msdos_command): When testing whether a shell
	belongs to the MSDOS family, convert its name to lower-case.

1996-09-24  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* eval.c (Vsignal_hook_function): New variable.
	(syms_of_eval): Set up Lisp variable.
	(Fsignal): Call that function.

	* xfns.c (x_set_internal_border_width, Fx_create_frame):
	Call widget_store_internal_border.
	(Fx_create_frame): Don't use a superclass when
	checking for an internalBorder resource.

	* widget.c (widget_store_internal_border): New function.
	(EmacsFrameSetValues): Undo previous change.

1996-09-23  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xfns.c (x_window): With Motif, double extra_borders.
	Use a preprocessor conditional to test for Motif.

	* frame.h (struct frame): New field window_width.
	(FRAME_WINDOW_WIDTH): Refer to window_width field.
	(SET_FRAME_WIDTH): Set window_width field as well as width field.

1996-09-22  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* eval.c (syms_of_eval): Initialize Vrun_hooks here.
	Don't make it a Lisp variable.

	* frame.c (Fdelete_frame): Set update_mode_lines.

	* emacs.c (main): Add copyright etc. to --version output.

1996-09-21  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* bytecode.c (Bsave_current_buffer): New macro.
	(Fbyte_code): Handle Bsave_current_buffer.

	* editfns.c (Fsave_current_buffer): New function.
	(syms_of_editfns): defsubr it.

	* search.c (REGEXP_CACHE_SIZE): Increase to 20.
	(compile_pattern): Check for size match before calling Fstring_equal.

1996-09-21  Paul Eggert  <eggert@@twinsun.com>

	* editfns.c: For time zone difference calculations, use the same
 	code as the GNU C Library; this fixes a bug with large negative years.
	(tm_diff): Renamed from difftm.  Yield int, not long.
	(TM_YEAR_BASE): Renamed from TM_YEAR_ORIGIN.

1996-09-21  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xdisp.c (echo_area_display): Clear the left-side scroll bar columns.

1996-09-20  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xterm.c (x_scroll_bar_create, x_scroll_bar_move): 
	(x_scroll_bar_expose): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM.

	* xterm.h (VERTICAL_SCROLL_BAR_WIDTH_TRIM): Renamed from
	LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM.
	(VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM.

	* widget.c (EmacsFrameSetValues): Copy internal_border_width
	from the Emacs frame if caller isn't changing it.

	* xfns.c (Fx_create_frame): Default Qinternal_border_width to 1.

	* xterm.c (XTchange_line_highlight, dumpglyphs, XTclear_end_of_line)
	(do_line_dance, pixel_to_glyph_coords): Use FRAME_WINDOW_WIDTH.

	* xfns.c (x_set_scroll_bar_width): Default the width to 3 cols.
	Call change_frame_size.

	* xterm.c (x_scroll_bar_move, x_scroll_bar_create):
	Add a border around the actual window.

	* dispnew.c (make_frame_glyphs, update_line, update_frame)
	(scroll_frame_lines, char_ins_del_cost): Use FRAME_WINDOW_WIDTH.

	* minibuf.c (read_minibuf): Use FRAME_LEFT_SCROLL_BAR_WIDTH
	to set the cursor position at the end.

	* xterm.c (x_scroll_bar_expose): Don't trim the width here.

	* xdisp.c (display_mode_line): Use faces for inverse video mode line
	whenever that possible.

	* xfns.c (Fx_create_frame): Default Qvertical_scroll_bars to `left'.

Fri Sep 20 02:37:37 1996  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>

	* xterm.c (XTclear_end_of_line): Shift end-of-line when there is a
 	left-side scroll bar by FRAME_LEFT_SCROLL_BAR_WIDTH.
	(do_line_dance): Take into account the width of a left-side scroll bar.
	(dumprectangle): Trim at FRAME_WINDOW_WIDTH instead of FRAME_WIDTH.
	(fast_find_position): Use new macro WINDOW_LEFT_MARGIN.
	(show_mouse_face): Likewise.
	(x_scroll_bar_set_handle): VERTICAL_SCROLL_BAR_INSIDE_WIDTH now
 	requires the frame as an argument.
	(x_scroll_bar_expose): Narrow the box slightly for a left-side
 	scroll bar.

	* xfns.c:  Add the symbol `right'; this symbol is used to indicate
	that a right-side scroll bar is wanted.
	(x_set_vertical_scroll_bars): Check for left<->right<->none 
	scroll bar changes, and modify the vertical scroll bar type
	as appropriate.
	(x_figure_window_size): Use new SET_FRAME_WIDTH macro.
	(Fx_create_frame): Likewise.
	(Fx_horizontal_line): Use new macro WINDOW_LEFT_MARGIN.

	* xdisp.c (echo_area_display): Shift display_string past a
 	left-side scroll bar.
	(redisplay_window): Likewise.
	(redisplay_internal): Shift cursor past a left-side scroll bar.
	(redisplay_window): Likewise.
	(try_window_id): Likewise.
	(display_text_line): Likewise.
	(redisplay_internal): Shift charstarts past a left-side scroll bar.
	(display_text_line): Likewise.
	(redisplay_internal): Use new macro WINDOW_FULL_WIDTH_P.
	(redisplay_window): Likewise.
	(display_text_line): Likewise.
	(display_text_line): Shift output past left-side scroll bar.
	(display_text_line): Use new WINDOW_RIGHTMOST_P macro.
	(display_text_line): Don't pad right columns unless using
 	a right-side scroll bar.  Don't draw vertical bars unless there
 	isn't any kind of scroll bar.
	(display_string): Likewise.
	(display_mode_line): Use new macros WINDOW_LEFT_MARGIN,
 	WINDOW_RIGHT_MARGIN, and WINDOW_FULL_WIDTH_P.
	(display_string): Use new macro WINDOW_RIGHTMOST_P.

	* window.c (Fwindow_edges): Use new WINDOW_RIGHT_EDGE macro.
	(coordinates_in_window): Use WINDOW_LEFT_MARGIN, WINDOW_RIGHT_MARGIN,
	and WINDOW_RIGHT_EDGE.  Adjust for left-side scroll bar margin.
	(window_loop, Fdisplay_buffer): Use new WINDOW_FULL_WIDTH_P macro.
	(window_internal_width): Window width now always includes the
 	scroll bar, if any.  Use WINDOW_RIGHTMOST_P and WINDOW_FULL_WIDTH_P.

	* w32term.c (fast_find_position, show_macro_face): Use new
 	WINDOW_LEFT_MARGIN macro.

	* w32fns.c (Qright): New variable.
	(syms_of_win32fns): Initialize and staticpro Qright.
	(x_set_vertical_scroll_bars): Check for left<->right<->none 
	scroll bar changes, and modify the vertical scroll bar type
	as appropriate.
	(x_figure_window_size): Use new SET_FRAME_WIDTH macro.
	(Fx_create_frame): Likewise.

	* term.c (term_init): Use new vertical scroll bar enumerated type.
	(term_init): Use new macro SET_FRAME_WIDTH.

	* sunfns.c (Fsun_menu_internal): Use new WINDOW_LEFT_MARGIN macro.

	* ntterm.c (initialize_win_nt_display): Use SET_FRAME_WIDTH.

	* keyboard.c (make_lispy_event): When converting from pixel to
 	glyph coordinates, offset by WINDOW_LEFT_MARGIN instead of XINT
 	(XWINDOW (window)->left; this is necessary when there are
 	left-side scrollbars.

	* frame.c (make_frame): Switch from boolean
 	`has_vertical_scrollbars' integer to an enumerated type.
	Use new macro SET_FRAME_WIDTH.

	* dispnew.c (preserve_other_columns, preserve_my_columns): Use new
	macros WINDOW_LEFT_MARGIN and WINDOW_RIGHT_EDGE.
	(adjust_window_charstarts, verify_charstarts, cancel_my_columns):
	Use new macro WINDOW_LEFT_MARGIN instead of w->left.
	(direct_output_for_insert, direct_output_forward_char): Likewise.
	(buffer_posn_from_coords): Likewise.
	(verify_charstarts): Use new macro WINDOW_FULL_WIDTH_P.
	(update_frame): For determining when to wrap the cursor, use the
	new macro FRAME_WINDOW_WIDTH instead of FRAME_WIDTH; they aren't
	necessarily the same any more.
	(change_frame_size_1): Use FRAME_WINDOW_WIDTH to check for changes.
	Give `set_window_width' the window width value.
  	Use new macro SET_FRAME_WIDTH.
	
	* xterm.h (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Add frame as an
 	argument, and use it to decrease the width in the case of a
 	left-side scroll bar; this prevents the bar and adjacent text
 	from scrunching together.
	(LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM): Add constant.

	* frame.h (vertical_scroll_bar_type): Add enumerated
 	none/left/right type for identifying vertical scroll bars.
	(struct frame): Use vertical_scroll_bar_type.
	(FRAME_HAS_VERTICAL_SCROLL_BARS): Use vertical scroll bar type.
	(FRAME_VERTICAL_SCROLL_BAR_TYPE): New macro.
	(FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT): New macros.
	(FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT): New macros.
	(FRAME_SCROLL_BAR_WIDTH, FRAME_LEFT_SCROLL_BAR_WIDTH): New macros.
	(FRAME_WINDOW_WIDTH, FRAME_WINDOW_WIDTH_ARG): New macros.
	(SET_FRAME_WIDTH): New macro for assigning to both
 	`external_width' and `width'.
	(WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Modify to handle left-side
 	scroll bars too.
  	
	* window.h (WINDOW_LEFT_MARGIN): New macro.
	(WINDOW_RIGHT_EDGE, WINDOW_RIGHT_MARGIN): New macros.
	(WINDOW_FULL_WIDTH_P, WINDOW_RIGHTMOST_P): New macros.

1996-09-20  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xterm.h (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT): New arg F (not used).
	(VERTICAL_SCROLL_BAR_TOP_RANGE): New arg F (not used).
	* xterm.c: Pass frame arg in calls to VERTICAL_SCROLL_BAR_INSIDE_HEIGHT
	and VERTICAL_SCROLL_BAR_TOP_RANGE.
	
	* sysdep.c (init_system_name): Retry gethostbyname only 5 times
	and don't sleep after the last time.

1996-09-19  Eli Zaretskii  <eliz@@is.elta.co.il>

	* dired.c (file_name_completion): Remove code which sets and
	restores the `stat' control flags (they might not be restored if
	C-g is pressed during completion).
	(file_name_completion_stat): Set and restore flags that make
	`stat' faster here instead of in `file_name_completion'.

1996-09-18  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* buffer.c (overlay_strings): Declare pstr using unsigned char.

	* xdisp.c (display_text_line): Declare ovstr as unsigned char *.

	* minibuf.c (Fcompleting_read): Doc fix.

1996-09-17  Erik Naggum  <erik@@naggum.no>

	* lisp.h: Declare make_symbol.

	* lread.c (init_obarray): staticpro Qvariable_documentation.

	* keymap.c (syms_of_keymap): staticpro global_map.

	* keyboard.c (syms_of_keyboard): Initialize and staticpro
	internal_last_event_frame and read_key_sequence_cmd.

	* fileio.c (syms_of_fileio): staticpro Qset_visited_file_modtime.

	* dired.c (syms_of_dired): staticpro Qdirectory_files,
	Qfile_name_completion, Qfile_name_all_completions, and Qfile_attributes.

	* casetab.c (syms_of_casetab): staticpro Vascii_canontable,
	Vascii_eqv_table, and Vascii_upcase_table.

	* alloc.c (Fmake_symbol): Initialize `obarray' field.

1996-09-16  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* Makefile.in: Replaced symbol BSD with BSD_SYSTEM.
	* emacs.c, floatfns.c, keyboard.c, mem-limits.h, process.c: Likewise.
	* sysdep.c, syssignal.h, syswait.h, xterm.c: Likewise.
	* s/bsd386.h, s/bsd4-1.h, s/bsd4-2.h, s/bsd4-3.h, s/dgux.h: Likewise.
	* s/freebsd.h, s/msdos.h, s/rtu.h, s/umax.h, s/umips.h: Likewise.
	* m/intel386.h, m/mips.h, m/mips4.h, m/vax.h: Likewise.

1996-09-16  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* buffer.c (Fget_buffer_create): Initialize BUF_OVERLAY_MODIFF.

	* minibuf.c (read_minibuf_unwind): Clear last_overlay_modified field.

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

	* w32term.c (note_mouse_highlight): Test last_overlay_modified field.

	* xterm.c (note_mouse_highlight): Test last_overlay_modified field.

	* window.c (Fset_window_start): Clear last_overlay_modified field.
	(set_window_height, set_window_width, Fset_window_buffer)
	(change_window_height, window_scroll, Fset_window_configuration): 
	Clear last_overlay_modified field.
	(Fpos_visible_in_window_p): Test last_overlay_modified field.

	* Makefile.in (frame.o, textprop.o, abbrev.o): Depend on window.h.

	* process.c (stream_process): Variable deleted.
	(syms_of_process): staticpro deleted.

1996-09-15  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* sysdep.c: Don't explicitly Include termios.h.
	(ospeed): Use HAVE_TERMIOS to decide whether to use speed_t.

	* s/hpux9.h (C_SWITCH_X_SYSTEM): Add -I/usr/contrib/X11R5/include.
	(LD_SWITCH_X_DEFAULT): Add -L/usr/contrib/X11R5/lib.

1996-09-14  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* buffer.h (struct buffer): New field overlay_modiff.
	(MODIFF, BUF_OVERLAY_MODIFF): New macros.
	* window.h (struct window): New field last_overlay_modified.

	* xdisp.c (redisplay_internal, mark_window_display_accurate)
	(redisplay_window): Test and update last_overlay_modified field
	along with last_modified.

	* dispnew.c (direct_output_for_insert): Set last_overlay_modified
	field in window.

	* keyboard.c (command_loop_1): Test last_overlay_modified
	along with last_modified.

	* xdisp.c (overlay_unchanged_modified): New variable.
 	(redisplay_internal): Set overlay_unchanged_modified.
	* insdel.c (gap_left, gap_right, modify_region): 
	Compare overlay_unchanged_modified with OVERLAY_MODIFF.

	* buffer.c (modify_overlay): Renamed from redisplay_region
	moved here from xdisp.c, and made static.  Callers changed.
	Update OVERLAY_MODIFF instead of MODIFF.
	* xdisp.c (redisplay_region): Renamed and moved to buffer.c.
	
	* s/sco5.h (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM): 
	Don't define them if using GCC.

1996-09-13  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* keyboard.c (recursive_edit_1): Handle a string as the
	throw value.

	* minibuf.c (read_minibuf): If not in minibuffer window,
	cancel the active minibuffer.

1996-09-12  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* frame.c (Fmake_terminal_frame): Use Vdefault_frame_alist.

	* s/hpux9.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
	Don't specify dirs for X, only for Motif.

1996-09-11  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* lread.c (Fload): Move ... to ends of messages.

	* puresize.h (BASE_PURESIZE): Increased.

	* s/sco5.h (LIBX11_SYSTEM): Don't use ..._s libraries.

1996-09-10  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* insdel.c (signal_before_change): Fix previous change.

	* lisp.h (struct Lisp_Symbol): New field `obarray'.

	* xterm.c (x_connection_closed): Call XtCloseDisplay.

1996-09-09  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* keyboard.c (Fexecute_extended_command): Delete junk lines.
	Print the key bindings after the command, temporarily;
	then bring back the previous message.
	
	* buffer.c (syms_of_buffer): Doc fixes.

	* filelock.c (lock_superlock): Delete superlock file if it stayed
	locked for 20 seconds.

1996-09-08  Erik Naggum  <erik@@naggum.no>

	* lread.c: Add #n=object, #n#, and #:symbol constructs to reader.
	(readevalloop, read, Fread_from_string): Empty list of read objects
	before read0 call.
	(read1): New variable `uninterned_symbol', which controls how to
	make symbols.  Support #:, #n=object and #n#.
	(make_symbol): New function, used in read1 to make uninterned symbols
	(Fintern): Set `obarray' field of interned symbols.
	(init_obarray): Explicit set `obarray' field of symbol `nil'.
	(syms_of_lread): staticpro read_objects, the list of read objects.

	* print.c: Add #n=object, #n#, and #:symbol constructs to printer.
	(PRINTDECLARE): New macro to declare required variables.
	(PRINTPREPARE, PRINTFINISH): Set printed_genyms to nil.
	(Fwrite_char, write_string, write_string_1, Fterpri, Fprin1,
	Fprin1_to_string, Fprinc, Fprint): Use new macro PRINTDECLARE.
	(print): Print uninterned symbols readable.
	(syms_of_print): Defvar `print-gensym', staticpro printed_gensyms.

1996-09-05  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* editfns.c (Finsert_buffer_substring): Check for deleted buffer.
	(Fcompare_buffer_substrings): Likewise.

1996-09-04  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* lisp.h: Add many declarations.
	
	* lisp.h (BITS_PER_EMACS_INT): New macro.
	(XMARKBIT): Test BITS_PER_EMACS_INT to conditionalize fast definition.
	* m/alpha.h (BITS_PER_EMACS_INT): New definition.

	* s/sol2.h (LIBS_SYSTEM): Use -lkstat instead of -lelf -lkvm

	* process.c (create_process): Test HAVE_SETPGID for using setpgid.

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

	* keymap.c (syms_of_keymap): staticpro current_global_map;

	* intervals.c (get_local_map): Call indirect-function.

	* m/alpha.h (UNEXEC): Use unexelf.c.

	* unexelf.c: unexelf1.c merged into this file.

	* terminfo.c: Include config.h.
	[HAVE_TERMIOS_H]: Include termios.h.
	(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.

	* process.c (create_process_1, sigchld_handler) [POSIX_SIGNALS]:
	Don't reestablish handler.

	* keyboard.c (input_available_signal) [POSIX_SIGNALS]:
	Don't reestablish handler.
	(interrupt_signal) [POSIX_SIGNALS]: Likewise.

	* data.c (arith_error) [POSIX_SIGNALS]: Don't reestablish handler.

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

	* cm.h, sysdep.c [HAVE_TERMIOS_H]: Include termios.h.
	(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.

	* eval.c (Fmacroexpand): Don't declare `form' as register.

	* frame.c (Fredirect_frame_focus): Don't call Ffocus_frame.

	* keyboard.c (Fexecute_extended_command): Fix previous change.

	* intervals.c (copy_intervals_to_string): Take arg as buffer.

	* keyboard.c (Fcommand_execute): gcpro cmd and prefixarg
	while calling do_autoload.

	* eval.c (Fmacroexpand): gcpro form while calling do_autoload.
	(do_autoload): gcpro fun, funname, fundef.

1996-09-03  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* keyboard.c (Fexecute_extended_command): gcpro prefixarg.

	* xfns.c, w32fns.c (x_set_frame_parameters):
	Make height and width ints.

	* fns.c (map_char_table): Declare depth as int.

	* xterm.c (note_mouse_highlight):
	Pass POS argument to fast_find_position as int.

	* textprop.c (set_properties, add_properties, remove_properties): 
	Call modify_region with ints.

	* insdel.c (prepare_to_modify_buffer): Take integer arguments.
	(signal_before_change): Take integer arguments.

	* alloc.c (Fmake_byte_code): Call make_pure_vector using nargs.

	* alloc.c (Fpurecopy): Cast arg to make_pure_vector.
	(Fmake_byte_code): Use XFASTINT when calling make_pure_vector.

	* doprnt.c (doprnt1): If lispstrings, accept a string
	as a `struct Lisp_String *'.

	* editfns.c (Fformat): Pass a string using XSTRING.

	* xdisp.c (message): Cast size arg to doprnt.

	* term.c (term_init): Avoid type-mismatch calling get_frame_size.
	(OUTPUT_IF, OUTPUT): Cast frame height to int.

	* search.c (search_buffer): Use EMACS_UINT.

1996-09-03  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>

	* emacs.c (sort_args): Don't rearrange any args that follow "--".

1996-09-03  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xfns.c, w32fns.c (Ffocus_frame, Funfocus_frame): Functions deleted.

	* xfns.c (x_get_and_record_arg): New function.
	(x_icon): Use that, for Qicon_top and Qicon_left.
	(x_report_frame_params): Report the Qparent_id parameter.
	
1996-09-03  Paul Eggert  <eggert@@twinsun.com>

	* config.in (mktime): Define to emacs_mktime if we are using our own
	mktime, since Nextstep doesn't let Emacs redefine the builtin mktime.
	* Makefile.in (MKTIME_OBJ):  Use our mktime instead of NEXTSTEP's,
	since NEXTSTEP's wrongly ignores TZ.
	(mktime): #undef, to avoid messing up the file name mktime.c.
	* editfns.c (Fencode_time):  Remove NEXTSTEP workaround;
	we now use our mktime instead.

1996-09-03  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* process.c (create_process): Undo previous change.

1996-09-02  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* editfns.c (Fencode_time) [_NEXT_SOURCE]: Use ZONE, not ABSZONE.

	* Make region highlighting show in just one window.
	* xdisp.c (redisplay_internal): Test last_selected_window slot.
	(mark_window_display_accurate, display_text_line): Likewise.
	* window.c (unshow_buffer): Clear last_selected_window slot, maybe.
	(Fset_window_buffer): Set last_selected_window slot.
	(Fselect_window): Set last_selected_window slot.
	(delete_all_subwindows): Maybe call unshow_buffer.
	* buffer.c (reset_buffer): Initialize last_selected_window slot.
	* buffer.h (strict buffer): New slot last_selected_window.

1996-09-01  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* process.c (Fprocess_contact): New function.
 	(NETCONN_P): Use GC_CONSP.
	(list_processes_1): Use new childp format.
	(Fopen_network_stream): Store a cons cell in childp.

	* keyboard.c (record_asynch_buffer_change, gobble_input):
	Use sigblock instead of sigblockx.

	* syssignal.h (sigunblockx): Definitions deleted.
	(sigpausex, sigblockx, sigholdx): Definitions deleted.

	* process.c (create_process): Test defined (TIOCSCTTY)
	and defined (HAVE_SETSID) instead of DONT_REOPEN_PTY.

	* fileio.c (Faccess_file): New function.
	(Qaccess_file): New variable.
	(syms_of_fileio): defsubr function; init and staticpro Qaccess_file.

1996-09-01  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* config.in (MULTI_FRAME): Obsolete macro deleted.
	* Makefile.in: Removed support for !MULTI_FRAME.
	* dispextern.h, frame.h, keyboard.h, lisp.h, puresize.h: Likewise.
	* alloc.c, buffer.c, data.c, dispnew.c, frame.c: Likewise.
	* keyboard.c, minibuf.c, print.c, sysdep.c, w32faces.c: Likewise.
	* window.c, xdisp.c, xfaces.c: Likewise.

	* abbrev.c, bytecode.c: Change all references from point to PT.
	* callint.c, casefiddle.c, cmds.c, dispnew.c, editfns.c: Likewise.
	* fileio.c, indent.c, lread.c, print.c, process.c: Likewise.
	* search.c, syntax.c, undo.c, window.c: Likewise.

1996-09-01  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* Makefile.in (TAGS): Use $(srcdir) in deps.

1996-08-31  Boris Goldowsky  <boris@@gnu.ai.mit.edu>

	* fileio.c (build_annotations): Remember original buffer that the
	region came from; pass this to `format-annotate-function'.

1996-08-31  Geoff Voelker  <voelker@@cs.washington.edu>

	* Makefile.in (MSDOS_SUPPORT, WINNT_SUPPORT, SOME_MACHINE_LISP): 
	Include dos-nt.elc.

1996-08-31  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* keyboard.c (requeued_events_pending_p): New function.

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

	* emacs.c [HAVE_SETRLIMIT]: Include time.h and resource.h.
	(main) [HAVE_SETRLIMIT]: Call setrlimit to extend the stack limit.
 	New local `rlim'.

	* lread.c (Fload): Add "source is newer" info to the "loading" and
 	"done" messages.

1996-08-31  Paul Eggert  <eggert@@twinsun.com>

	* config.in (HAVE_SYS_SYSTEMINFO_H, HAVE_GETDOMAINNAME, HAVE_SYSINFO):
	New macros.
	* sysdep.c (<sys/systeminfo.h>):
	Include if HAVE_SYS_SYSTEMINFO_H is defined.
	(init_system_name): Use sysinfo or getdomainname to append domain name
	if host name is not already fully qualified.

1996-08-31  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xfns.c (Fx_list_fonts): New optional arg MAXIMUM.

1996-08-31  Erik Naggum  <erik@@naggum.no>

	* alloc.c (Fgarbage_collect): Report used and free intervals.

1996-08-31  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xterm.h (struct x_display_info): Add element Xatom_FONT.
	* xterm.c (x_term_init): Initialize Xatom_FONT member.
	(x_new_font): Use Xatom_FONT member.

1996-08-31  Kevin Layer  <layer@@Franz.COM>

	* ntproc.c (Vwin32_start_process_show_window): New variable.
	(create_child): Conditionally force subprocess to hide window.
	(syms_of_ntproc): DEFVAR it.

1996-08-31  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* s/nextstep.h (LD_SWITCH_SYSTEM): Add alternate definition if
	not __NeXT.

1996-08-30  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xfaces.c (Fset_face_attribute_internal): Set mouse_face_defer flag.
	* xterm.c (XTupdate_end): Always clear mouse_face_defer flag.

	* xterm.c (do_line_dance, dumprectangle): Use x_update_cursor.
	(show_mouse_face, clear_cursor): Likewise.
	(x_display_cursor): New args X and Y.
	(XTupdate_end, XTcursor_to, XTwrite_glyphs): Pass new args.
	(XTupdate_begin): Initialize curs_x, curs_y here.

	* xfns.c (x_set_cursor_color): Use x_update_cursor.

1996-08-29  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xterm.c (XTread_socket): Fix previous change.

	* keyboard.c (cmd_error): Clear executing_macro.

1996-08-29  David Byers  <byers@@lysator.liu.se>

	* minibuf.c (Fminibuffer_complete_word): Check for
	unexpected data type returned by Ftry_completion.

1996-08-29  Erik Naggum  <erik@@psilocin.gnu.ai.mit.edu>

	* macros.c (init_macros): Initialize executing_macro, too.

1996-08-29  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xterm.c (XTread_socket): Call XFilterEvent on all events,
	if HAVE_X_I18N and FRAME_XIC nonzero.

	* keyboard.c (cmd_error): Add number of kbd macro iterations
	to the error message.

	* macros.h (executing_macro_iterations, executing_macro): Declared.
	
	* macros.c (executing_macro_iterations, executing_macro): New vars.
	(Fexecute_kbd_macro): Set them.

1996-08-28  Morten Welinder  <terra@@diku.dk>

	* minibuf.c (Vhistory_length, Qhistory_length): New variables.
	(syms_of_minibuf): Register and initialise these.
	(read_minibuf): Truncate history list if needed.

1996-08-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* fns.c (Fsubstring): Handle vectors as well as strings.

	* callint.c (Fcall_interactively): For `N' and `n',
	if we don't get a number, try again.

1996-08-28  Lars Magne Ingebrigtsen  <larsi@@dain.ifi.uio.no>

	* alloc.c (syms_of_alloc): Set up Lisp variables ...-consed,
	such as Vcons-cells-consed.

1996-08-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* emacs.c (main): Add bug report info in --help message.

1996-08-26  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* term.c (Vring_bell_function): New variable.
	(syms_of_term): Set up Lisp variable.
	(ring_bell): Use Vring_bell_function.

1996-08-25  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* xterm.c (fast_find_position): Fix previous change.

	* keyboard.c (command_loop_1): Cancel echoing etc.
	before running post-command-hook and such.

	* xterm.c (fast_find_position): Minor fix in handling maybe_next_line.

	* config.in (HAVE_LIBKRB, HAVE_LIBDES): Add #undefs.

1996-08-24  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>

	* Renamings to avoid conflicting names on MSDOS.
	* s/riscix12.h: Renamed from s/riscix12.h.
	* s/sunos413.h: Renamed from s/sunos4-1-3.h.
	* s/dgux5-4-3.h: Renamed from s/dgux5-4r3.h.
	* s/sunos4-1-2.h: File deleted.
	
	* xmenu.c (set_frame_menubar): Don't add ibw to menubar_size.

	* xfns.c (x_window): Don't add ibw to menubar_size.

1996-08-24  Paul Eggert  <eggert@@twinsun.com>

	* editfns.c (Fencode_time, Fset_time_zone_rule):
	Use UTC if the zone is t.

1996-08-24  Erik Naggum  <erik@@naggum.no>

	* print.c (print-quoted): New variable.
	(print): Print certain expressions more compactly when set.
	Also use XCAR and XCDR directly -- we know we have conses.

1996-08-23  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>

	* xterm.c (x_term_init): If the default Xt font does not exist on
 	the X server, add a resource so that dialog boxes use a common font.

1996-08-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* window.c (Fsplit_window): Treat width just like height;
	no special handling for scroll bars.

1996-08-22  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* Makefile.in (paths.h, config.h): Targets deleted.
	(../config.status): Add two new rules to check need for reconfigure.

	* keyboard.c (command_loop_1): Check column_number_displayed
	in the selected window, not Vcolumn_number_mode.
	(Vcolumn_number_mode): Variable deleted.
	(syms_of_keyboard): Delete Lisp variable column-number-mode.

1996-08-22  Erik Naggum  <erik@@psilocin.gnu.ai.mit.edu>

	* dispnew.c (change_frame_size_1): Clean up conditional.

1996-08-22  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* xmenu.c (xdialog_show): Don't allow 9 buttons.

1996-08-21  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* process.c (send_process): GCPRO object.
d7 1
a7 4
	* xfns.c (x_set_scroll_bar_width): Call x_set_window_size
	when arg is nil.

1996-08-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d17 1
a17 1
1996-08-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d21 1
a21 6
1996-08-16  Karl Heuer  <kwzh@@gnu.ai.mit.edu>

	* cmds.c (Fdelete_backward_char): Fix off-by-one error.
	Treat deleted newline specially.

1996-08-16  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d25 1
a25 1
1996-08-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d29 1
a29 1
1996-08-11  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d33 1
a33 1
1996-08-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d39 1
a39 1
1996-08-10  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>
d47 1
a47 1
1996-08-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d51 1
a51 1
1996-08-09  David Mosberger-Tang  <davidm@@azstarnet.com>
d72 1
a72 1
1996-08-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d81 1
a81 1
1996-08-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d89 1
a89 1
1996-08-06  Paul Eggert  <eggert@@twinsun.com>
d94 1
a94 1
1996-08-05  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d99 1
a99 1
1996-08-04  Eli Zaretskii  <eliz@@is.elta.co.il>
d104 1
a104 1
1996-08-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d108 1
a108 1
1996-07-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d115 1
a115 1
1996-07-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d121 1
a121 1
1996-07-29  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d128 1
a128 1
1996-07-27  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d157 1
a157 1
1996-07-26  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>
d167 1
a167 1
1996-07-25  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>
d172 1
a172 1
1996-07-24  Geoff Voelker  <voelker@@joker.cs.washington.edu>
d176 1
a176 1
1996-07-24  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>
d181 1
a181 1
1996-07-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d193 1
a193 1
1996-07-23  Paul Eggert  <eggert@@twinsun.com>
d198 1
a198 1
1996-07-20  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d202 1
a202 1
1996-07-20  Erik Naggum  <erik@@naggum.no>
d206 1
a206 1
1996-07-19  Eli Zaretskii  <eliz@@is.elta.co.il>
d213 1
a213 1
1996-07-19  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d218 1
a218 1
1996-07-16  Andrew Innes  <andrewi@@harlequin.co.uk>
d225 1
a225 1
1996-07-16  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d233 1
a233 1
1996-07-16  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d239 1
a239 1
1996-07-16  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d245 1
a245 1
1996-07-15  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d270 1
a270 1
1996-07-15  David Mosberger-Tang <davidm@@AZStarNet.com>
d290 1
a290 1
1996-07-13  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d294 1
a294 1
1996-07-13  Paul Eggert  <eggert@@twinsun.com>
d298 1
a298 1
1996-07-13  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d303 1
a303 1
1996-07-12  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d307 1
a307 1
1996-07-11  Andrew Innes  <andrewi@@harlequin.co.uk>
d316 1
a316 1
1996-07-11  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d323 1
a323 1
1996-07-11  David Mosberger-Tang  <davidm@@AZStarNet.com>
d327 1
a327 1
1996-07-11  Bill Mann  <dvmann@@dvncr.praxisint.com>
d331 1
a331 1
1996-07-11  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>
d335 1
a335 1
1996-07-11  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d339 1
a339 1
1996-07-08  Roland McGrath  <roland@@delasyd.gnu.ai.mit.edu>
d344 1
a344 1
1996-07-07  Michael I. Bushnell, p/BSG  <mib@@gnu.ai.mit.edu>
d348 1
a348 1
1996-07-07  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d354 1
a354 1
1996-07-07  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d359 1
a359 1
1996-07-07  Eli Zaretskii  <eliz@@is.elta.co.il>
d375 1
a375 1
1996-07-04  Eli Zaretskii  <eliz@@is.elta.co.il>
d383 1
a383 1
1996-07-03  Andrew Innes  <andrewi@@harlequin.co.uk>
d390 1
a390 1
1996-07-05  Andrew Innes  <andrewi@@harlequin.co.uk>
d396 1
a396 1
1996-07-05  Andrew Innes  <andrewi@@harlequin.co.uk>
d403 1
a403 1
1996-07-03  Eli Zaretskii  <eliz@@is.elta.co.il>
d410 1
a410 1
1996-07-03  Eli Zaretskii  <eliz@@is.elta.co.il>
d418 1
a418 1
1996-07-06  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d422 1
a422 1
1996-07-03  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>
d427 1
a427 1
1996-07-01  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d435 1
a435 1
1996-06-30  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d439 1
a439 1
1996-07-01  Eli Zaretskii  <eliz@@is.elta.co.il>
d446 1
a446 1
1996-06-29  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d456 1
a456 1
1996-06-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d481 1
a481 1
1996-06-27  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d487 1
a487 1
1996-06-26  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d505 1
a505 1
1996-06-25  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d515 1
a515 1
1996-06-24  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d520 1
a520 1
1996-06-24  Paul Eggert  <eggert@@twinsun.com>
d525 1
a525 1
1996-06-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d531 1
a531 1
1996-06-22  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d547 1
a547 1
1996-06-21  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d562 1
a562 1
1996-06-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d566 1
a566 1
1996-06-18  Nico Francois  <nico.francois@@scala.nl>
d575 1
a575 1
1996-06-16  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d581 1
a581 1
1996-06-14  Andrew Innes  <andrewi@@harlequin.co.uk>
d589 1
a589 1
1996-06-13  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d600 1
a600 1
1996-06-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d607 1
a607 1
1996-06-12  Andrew Innes  <andrewi@@harlequin.co.uk>
d614 1
a614 1
1996-06-12  Andrew Innes  <andrewi@@harlequin.co.uk>
d622 1
a622 1
1996-06-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d626 1
a626 1
1996-06-11  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d631 1
a631 1
1996-06-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d651 1
a651 1
1996-06-09  Eli Zaretskii  <eliz@@is.elta.co.il>
d700 1
a700 1
1996-06-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d707 1
a707 1
1996-06-10  Andrew Innes  <andrewi@@harlequin.co.uk>
d711 1
a711 1
1996-06-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d721 1
a721 1
1996-06-07  Andrew Innes  <andrewi@@harlequin.co.uk>
d756 1
a756 1
1996-06-07  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>
d761 1
a761 1
1996-06-07  Andrew Innes  <andrewi@@harlequin.co.uk>
d765 1
a765 1
1996-06-07  Andrew Innes  <andrewi@@harlequin.co.uk>
d769 1
a769 1
1996-06-06  Andrew Innes  <andrewi@@harlequin.co.uk>
d774 1
a774 1
1996-06-06  Eli Zaretskii  <eliz@@is.elta.co.il>
d787 1
a787 1
1996-06-07  Geoff Voelker  <voelker@@joker.cs.washington.edu>
d792 1
a792 1
1996-06-06  Andrew Innes  <andrewi@@harlequin.co.uk>
d798 1
a798 1
1996-06-05  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d804 1
a804 1
1996-06-05  Paul Eggert  <eggert@@twinsun.com>
d809 1
a809 1
1996-06-04  Geoff Voelker  <voelker@@joker.cs.washington.edu>
d815 1
a815 1
1996-06-03  Kim Storm  <storm@@olicom.dk>
d828 1
a828 1
1996-05-31  Andrew Innes  <andrewi@@harlequin.co.uk>
d835 1
a835 1
1996-05-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d846 1
a846 1
1996-05-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d852 1
a852 1
1996-05-27  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d856 1
a856 1
1996-05-25  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d860 1
a860 1
1996-05-25  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d864 1
a864 1
1996-05-24  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>
d868 1
a868 1
1996-05-24  Andrew Innes  <andrewi@@harlequin.co.uk>
d886 1
a886 1
1996-05-23  Geoff Voelker  <voelker@@joker.cs.washington.edu>
d892 1
a892 1
1996-05-23  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d896 1
a896 1
1996-05-21  Geoff Voelker  <voelker@@joker.cs.washington.edu>
d901 1
a901 1
1996-05-21  Andrew Innes  <andrewi@@harlequin.co.uk>
d906 1
a906 1
1996-05-21  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d923 1
a923 1
1996-05-17  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d938 1
a938 1
1996-05-17  Geoff Voelker  <voelker@@cs.washington.edu>
d943 1
a943 1
1996-05-15  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d949 1
a949 1
1996-05-15  Kim Storm  <storm@@olicom.dk>
d956 1
a956 1
1996-05-14  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d962 1
a962 1
1996-05-13  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d966 1
a966 1
1996-05-13  Andrew Innes  <andrewi@@harlequin.co.uk>
d973 1
a973 1
1996-05-13  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d985 1
a985 1
1996-05-12  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d989 1
a989 1
1996-05-12  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d993 1
a993 1
1996-05-12  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d997 1
a997 1
1996-05-12  Eli Zaretskii  <eliz@@is.elta.co.il>
d1005 1
a1005 1
1996-05-11  Eli Zaretskii  <eliz@@is.elta.co.il>
d1015 1
a1015 1
1996-05-11  Geoff Voelker  <voelker@@cs.washington.edu>
d1019 1
a1019 1
1996-05-11  Andrew Innes  <andrewi@@harlequin.co.uk>
d1028 1
a1028 1
1996-05-11  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1032 1
a1032 1
1996-05-11  Geoff Voelker  <voelker@@cs.washington.edu>
d1037 1
a1037 1
1996-05-10  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1041 1
a1041 1
1996-05-10  Geoff Voelker  <voelker@@cs.washington.edu>
d1046 1
a1046 1
1996-05-10  Andrew Innes  <andrewi@@harlequin.co.uk>
d1069 1
a1069 1
1996-05-10  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1073 1
a1073 1
1996-05-08  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1077 1
a1077 1
1996-05-07  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1081 1
a1081 1
1996-05-06  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1094 1
a1094 1
1996-05-04  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1099 1
a1099 1
1996-05-03  Andrew Innes  <andrewi@@harlequin.co.uk>
d1110 1
a1110 1
1996-05-03  Andrw Innes <andrewi@@harlequin.co.uk>
d1382 1
a1382 1
1996-05-02  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1393 1
a1393 1
1996-05-01  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1406 1
a1406 1
1996-05-01  Eli Zaretskii  <eliz@@is.elta.co.il>
d1417 1
a1417 1
1996-04-30  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1422 1
a1422 1
1996-04-29  Andrew Innes  <andrewi@@harlequin.co.uk>
d1427 1
a1427 1
1996-04-26  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1451 1
a1451 1
1996-04-26  Andrew Innes  <andrewi@@harlequin.co.uk>
d1495 1
a1495 1
1996-04-26  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1502 1
a1502 1
1996-04-26  Andrew Innes  <andrewi@@harlequin.co.uk>
d1527 1
a1527 1
1996-04-25  Eli Zaretskii  <eliz@@is.elta.co.il>
d1532 1
a1532 1
1996-04-25  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1542 1
a1542 1
1996-04-24  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1549 1
a1549 1
1996-04-23  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1556 1
a1556 1
1996-04-21  Richard Stallman  <rms@@delasyd.gnu.ai.mit.edu>
d1565 1
a1565 1
1996-04-20  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d1569 1
a1569 1
1996-04-19  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1574 1
a1574 1
1996-04-18  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1578 1
a1578 1
1996-04-17  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1589 1
a1589 1
1996-04-16  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1595 1
a1595 1
1996-04-16  Andrew Innes  <andrewi@@harlequin.co.uk>
d1605 1
a1605 1
1996-04-16  Kim Storm <storm@@olicom.dk>
d1612 1
a1612 1
1996-04-16  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1616 1
a1616 1
1996-04-15  Eli Zaretskii  <eliz@@is.elta.co.il>
d1621 1
a1621 1
1996-04-14  Eli Zaretskii  <eliz@@is.elta.co.il>
d1628 1
a1628 1
1996-04-13  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1641 1
a1641 1
1996-04-12  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1647 1
a1647 1
1996-04-11  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1658 1
a1658 1
1996-04-11  Erik Naggum  <erik@@naggum.no>
d1662 1
a1662 1
1996-04-11  Eli Zaretskii  <eliz@@is.elta.co.il>
d1709 1
a1709 1
1996-04-11  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1714 1
a1714 1
1996-04-11  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d1720 1
a1720 1
1996-04-11  Geoff Voelker  <voelker@@cs.washington.edu>
d1727 1
a1727 1
1996-04-10  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1736 1
a1736 1
1996-04-09  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1740 1
a1740 1
1996-04-08  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1751 1
a1751 1
1996-04-08  Miles Bader  <miles@@gnu.ai.mit.edu>
d1755 1
a1755 1
1996-04-08  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1760 1
a1760 1
1996-04-06  Richard Stallman  <rms@@lucy.gnu.ai.mit.edu>
d1764 1
a1764 1
1996-04-05  Richard Stallman  <rms@@lucy.gnu.ai.mit.edu>
d1778 1
a1778 1
1996-04-04  Richard Stallman  <rms@@lucy.gnu.ai.mit.edu>
d1786 1
a1786 1
1996-04-03  Richard Stallman  <rms@@lucy.gnu.ai.mit.edu>
d1791 1
a1791 1
1996-04-02  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1795 1
a1795 1
1996-04-01  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1799 1
a1799 1
1996-03-30  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1803 1
a1803 1
1996-03-29  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1807 1
a1807 1
1996-03-28  Geoff Voelker  <voelker@@cs.washington.edu>
d1811 1
a1811 1
1996-03-28  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1818 1
a1818 1
1996-03-28  Erik Naggum  <erik@@naggum.no>
d1825 1
a1825 1
1996-03-27  Geoff Voelker  <voelker@@cs.washington.edu>
d1829 1
a1829 1
1996-03-27  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1833 1
a1833 1
1996-03-26  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1845 1
a1845 1
1996-03-24  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1855 1
a1855 1
1996-03-19  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1860 1
a1860 1
1996-03-19  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d1865 1
a1865 1
1996-03-17  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d1870 1
a1870 1
1996-03-17  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1882 1
a1882 1
1996-03-16  Geoff Voelker  <voelker@@cs.washington.edu>
d1898 1
a1898 1
1996-03-14  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d1905 1
a1905 1
1996-03-13  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d1914 1
a1914 1
1996-03-11  Eli Zaretskii  <eliz@@is.elta.co.il>
d1920 1
a1920 1
1996-03-10  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1927 1
a1927 1
1996-03-09  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1932 1
a1932 1
1996-03-08  Bill Mann  <dvmann@@dvaix19.praxisint.com>
d1939 1
a1939 1
1996-03-07  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1943 1
a1943 1
1996-03-07  Bill Mann  <dvmann@@dvaix19.praxisint.com>
d1950 1
a1950 1
1996-03-07  Eli Zaretskii  <eliz@@is.elta.co.il>
d1957 1
a1957 1
1996-03-07  Bill Mann  <dvmann@@dvaix19.praxisint.com>
d1971 1
a1971 1
1996-03-06  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1977 1
a1977 1
1996-03-05  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d1981 1
a1981 1
1996-03-05  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d1997 1
a1997 1
1996-03-04  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2009 1
a2009 1
1996-03-03  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d2014 1
a2014 1
1996-03-03  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2035 1
a2035 1
1996-03-02  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2040 1
a2040 1
1996-03-01  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2047 1
a2047 1
1996-02-28  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2053 1
a2053 1
1996-02-27  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2059 1
a2059 1
1996-02-26  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2073 1
a2073 1
1996-02-26  enami tsugutomo  <enami@@ba2.so-net.or.jp>
d2078 1
a2078 1
1996-02-25  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2095 1
a2095 1
1996-02-24  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2106 1
a2106 1
1996-02-23  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2113 1
a2113 1
1996-02-22  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2117 1
a2117 1
1996-02-22  Erik Naggum  <erik@@naggum.no>
d2121 1
a2121 1
1996-02-21  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d2163 1
a2163 1
1996-02-21  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d2167 1
a2167 1
1996-02-21  Erik Naggum  <erik@@naggum.no>
d2171 1
a2171 1
1996-02-20  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d2175 1
a2175 1
1996-02-19  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d2179 1
a2179 1
1996-02-18  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2183 1
a2183 1
1996-02-17  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2188 1
a2188 1
1996-02-16  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d2193 1
a2193 1
1996-02-16  enami tsugutomo  <enami@@ba2.so-net.or.jp>
d2198 1
a2198 1
1996-02-15  Eli Zaretskii  <eliz@@is.elta.co.il>
d2204 1
a2204 1
1996-02-13  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d2208 1
a2208 1
1996-02-12  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2214 1
a2214 1
1996-02-12  Erik Naggum  <erik@@naggum.no>
d2218 1
a2218 1
1996-02-11  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2230 1
a2230 1
1996-02-10  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2234 1
a2234 1
1996-02-10  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d2238 1
a2238 1
1996-02-10  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2242 1
a2242 1
1996-02-09  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2247 1
a2247 1
1996-02-08  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2254 1
a2254 1
1996-02-08  Eli Zaretskii  <eliz@@is.elta.co.il>
d2259 1
a2259 1
1996-02-07  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2267 1
a2267 1
1996-02-06  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2279 1
a2279 1
1996-02-06  Kevin Gallo   <kgallo@@microsoft.com>
d2283 1
a2283 1
1996-02-05  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2287 1
a2287 1
1996-02-05  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d2291 1
a2291 1
1996-02-04  Paul Eggert  <eggert@@twinsun.com>
d2297 1
a2297 1
1996-02-04  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2305 1
a2305 1
1996-02-03  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2320 1
a2320 1
1996-02-02  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2326 1
a2326 1
1996-02-02  Darrin B. Jewell  <jewell@@mit.edu>
d2330 1
a2330 1
1996-02-01  Geoff Voelker  <voelker@@cs.washington.edu>
d2356 1
a2356 1
1996-02-01  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2363 1
a2363 1
1996-02-01  enami tsugutomo  <enami@@ba2.so-net.or.jp>
d2368 1
a2368 1
1996-02-01  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2381 1
a2381 1
1996-01-31  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d2386 1
a2386 1
1996-01-31  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2390 1
a2390 1
1996-01-30  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d2399 1
a2399 1
1996-01-30  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2409 1
a2409 1
1996-01-29  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2430 1
a2430 1
1996-01-28  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2438 1
a2438 1
1996-01-28  Morten Welinder  <terra@@diku.dk>
d2450 1
a2450 1
1996-01-28  enami tsugutomo  <enami@@ba2.so-net.or.jp>
d2454 1
a2454 1
1996-01-28  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2461 1
a2461 1
1996-01-27  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2473 1
a2473 1
1996-01-27  enami tsugutomo  <enami@@ba2.so-net.or.jp>
d2478 1
a2478 1
1996-01-26  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2486 1
a2486 1
1996-01-26  Eli Zaretskii  <eliz@@is.elta.co.il>
d2491 1
a2491 1
1996-01-25  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2499 1
a2499 1
1996-01-25  Eli Zaretskii  <eliz@@is.elta.co.il>
d2507 1
a2507 1
1996-01-24  Geoff Voelker  <voelker@@cs.washington.edu>
d2512 1
a2512 1
1996-01-24  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2517 1
a2517 1
1996-01-24  Eli Zaretskii  <eliz@@is.elta.co.il>
d2527 1
a2527 1
1996-01-24  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2531 1
a2531 1
1996-01-24  Eli Zaretskii  <eliz@@is.elta.co.il>
d2539 1
a2539 1
1996-01-23  Geoff Voelker  <voelker@@cs.washington.edu>
d2544 1
a2544 1
1996-01-23  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d2552 1
a2552 1
1996-01-23  Felix Lee  <flee@@teleport.com>
d2560 1
a2560 1
1996-01-23  Eli Zaretskii  <eliz@@is.elta.co.il>
d2565 1
a2565 1
1996-01-22  Simon Marshall  <simon@@duality.gnu.ai.mit.edu>
d2570 1
a2570 1
1996-01-20  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d2575 1
a2575 1
1996-01-20  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d2579 1
a2579 1
1996-01-20  Andrew Innes  <andrewi@@harlequin.co.uk>
d2584 1
a2584 1
1996-01-20  Andrew Innes  <andrewi@@harlequin.co.uk>
d2650 1
a2650 1
1996-01-20  Geoff Voelker  <voelker@@cs.washington.edu>
d2670 1
a2670 1
1996-01-20  Paul Eggert  <eggert@@twinsun.com>
d2675 1
a2675 1
1996-01-19  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d2680 1
a2680 1
1996-01-19  Erik Naggum  <erik@@naggum.no>
d2684 1
a2684 1
1996-01-18  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2688 1
a2688 1
1996-01-22  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d2694 1
a2694 1
1996-01-21  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d2713 1
a2713 1
1996-01-20  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d2717 1
a2717 1
1996-01-19  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d2723 1
a2723 1
1996-01-19  enami tsugutomo  <enami@@sys.ptg.sony.co.jp>
d2727 1
a2727 1
1996-01-18  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d2732 1
a2732 1
1996-01-17  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2749 1
a2749 1
1996-01-17  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d2754 1
a2754 1
1996-01-17  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2761 1
a2761 1
1996-01-15  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2766 1
a2766 1
1996-01-14  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2770 1
a2770 1
1996-01-14  Paul Eggert  <eggert@@twinsun.com>
d2775 1
a2775 1
1996-01-13  eggert  <eggert@@twinsun.com>
d2786 1
a2786 1
1996-01-12  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d2791 1
a2791 1
1996-01-12  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2795 1
a2795 1
1996-01-11  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d2801 1
a2801 1
1996-01-10  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d2805 1
a2805 1
1996-01-08  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d2813 1
a2813 1
1996-01-08  Erik Naggum  <erik@@naggum.no>
d2954 1
a2954 1
1996-01-08  Erik Naggum  <erik@@naggum.no>
d2959 1
a2959 1
1996-01-08  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d2968 1
a2968 1
1996-01-08  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d2979 1
a2979 1
1996-01-07  Erik Naggum  <erik@@naggum.no>
d2983 1
a2983 1
1996-01-07  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3007 1
a3007 1
1996-01-06  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3012 1
a3012 1
1996-01-05  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3019 1
a3019 1
1996-01-05  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3023 1
a3023 1
1996-01-04  Erik Naggum  <erik@@naggum.no>
d3028 1
a3028 1
1996-01-04  Paul Eggert  <eggert@@twinsun.com>
d3041 1
a3041 1
1996-01-04  Geoff Voelker  <voelker@@cs.washington.edu>
d3046 1
a3046 1
1996-01-03  Ulrich Leodolter  <ulrich@@lab1.psy.univie.ac.at>
d3051 1
a3051 1
1996-01-02  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3060 1
a3060 1
1995-12-31  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3066 1
a3066 1
1995-12-31  Eli Zaretskii  <eliz@@is.elta.co.il>
d3070 1
a3070 1
1995-12-30  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d3074 1
a3074 1
1995-12-28  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3081 1
a3081 1
1995-12-25  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3086 1
a3086 1
1995-12-24  Eli Zaretskii  <eliz@@is.elta.co.il>
d3096 1
a3096 1
1995-12-23  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3141 1
a3141 1
1995-12-24  Adrian Colley  <Adrian.Colley@@three.serpentine.com>
d3145 1
a3145 1
1995-12-23  Geoff Voelker  <voelker@@cs.washington.edu>
d3152 1
a3152 1
1995-12-23  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3160 1
a3160 1
1995-12-21  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3165 1
a3165 1
1995-12-20  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3178 1
a3178 1
1995-12-19  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d3188 1
a3188 1
1995-12-19  Eli Zaretskii  <eliz@@is.elta.co.il>
d3202 1
a3202 1
1995-12-19  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3210 1
a3210 1
1995-12-17  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3222 1
a3222 1
1995-12-14  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3226 1
a3226 1
1995-12-13  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d3230 1
a3230 1
1995-12-12  Eli Zaretskii  <eliz@@is.elta.co.il>
d3251 1
a3251 1
1995-12-12  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d3260 1
a3260 1
1995-12-12  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d3270 1
a3270 1
1995-12-12  Paul Eggert  <eggert@@twinsun.com>
d3281 1
a3281 1
1995-12-12  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3287 1
a3287 1
1995-12-10  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3302 1
a3302 1
1995-12-09  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3316 1
a3316 1
1995-12-07  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3326 1
a3326 1
1995-12-06  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3333 1
a3333 1
1995-12-05  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3341 1
a3341 1
1995-12-04  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3355 1
a3355 1
1995-12-03  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3373 1
a3373 1
1995-12-01  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3381 1
a3381 1
1995-11-29  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3385 1
a3385 1
1995-11-28  Paul Eggert  <eggert@@twinsun.com>
d3387 1
a3387 1
	* Makefile.in (lisp): Remove c-mode.elc.
d3389 1
a3389 1
1995-11-27  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3393 1
a3393 1
1995-11-26  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3407 1
a3407 1
1995-11-24  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3413 1
a3413 1
1995-11-23  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d3417 1
a3417 1
1995-11-22  Geoff Voelker  <voelker@@cs.washington.edu>
d3422 1
a3422 1
1995-11-22  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3428 1
a3428 1
1995-11-22  Eli Zaretskii  <eliz@@is.elta.co.il>
d3435 1
a3435 1
1995-11-22  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3440 1
a3440 1
1995-11-21  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3459 1
a3459 1
1995-11-20  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3468 1
a3468 1
1995-11-19  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3477 1
a3477 1
1995-11-18  Fred Fish  <fnf@@cygnus.com>
d3481 1
a3481 1
1995-11-18  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3486 1
a3486 1
1995-11-15  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d3491 1
a3491 1
1995-11-15  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3510 1
a3510 1
1995-11-14  Geoff Voelker  <voelker@@cs.washington.edu>
d3514 1
a3514 1
1995-11-14  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3527 1
a3527 1
1995-11-13  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3533 1
a3533 1
1995-11-12  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3546 1
a3546 1
1995-11-11  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3565 1
a3565 1
1995-11-10  Simon Leinen  <simon@@lia.di.epfl.ch>
d3575 1
a3575 1
1995-11-10  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3585 1
a3585 1
1995-11-10  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d3591 1
a3591 1
1995-11-09  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3603 1
a3603 1
1995-11-09  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3608 1
a3608 1
1995-11-09  Simon Leinen  <simon@@lia.di.epfl.ch>
d3615 1
a3615 1
1995-11-09  Erik Naggum  <erik@@naggum.no>
d3620 1
a3620 1
1995-11-08  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3629 1
a3629 1
1995-11-07  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3637 1
a3637 1
1995-11-07  Geoff Voelker  <voelker@@cs.washington.edu>
d3653 1
a3653 1
1995-11-06  Kevin Gallo  <kgallo@@microsoft.com>
d3754 1
a3754 1
1995-11-06  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3762 1
a3762 1
1995-11-06  Erik Naggum  <erik@@naggum.no>
d3766 1
a3766 1
1995-11-05  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3772 1
a3772 1
1995-11-04  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3782 1
a3782 1
1995-11-03  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d3795 1
a3795 1
1995-11-01  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3800 1
a3800 1
1995-10-31  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d3824 1
a3824 1
1995-10-31  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d3840 1
a3840 1
1995-10-30  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d3851 1
a3851 1
1995-10-30  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3877 1
a3877 1
1995-10-29  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d3892 1
a3892 1
1995-10-29  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3916 1
a3916 1
1995-10-28  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3924 1
a3924 1
1995-10-27  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3936 1
a3936 1
1995-10-26  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3940 1
a3940 1
1995-10-25  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d3945 1
a3945 1
1995-10-24  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3951 1
a3951 1
1995-10-23  Erik Naggum  <erik@@churchy.gnu.ai.mit.edu>
d3963 1
a3963 1
1995-10-22  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3978 1
a3978 1
1995-10-21  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d3994 1
a3994 1
1995-10-20  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4007 1
a4007 1
1995-10-19  Erik Naggum  <erik@@naggum.no>
d4011 1
a4011 1
1995-10-18  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4038 1
a4038 1
1995-10-16  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4049 1
a4049 1
1995-10-15  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4058 1
a4058 1
1995-10-14  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4063 1
a4063 1
1995-10-13  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4074 1
a4074 1
1995-10-12  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4085 1
a4085 1
1995-10-11  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4090 1
a4090 1
1995-10-11  Kim Storm  <kfstorm@@wombat.gnu.ai.mit.edu>
d4137 1
a4137 1
1995-10-11  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4143 1
a4143 1
1995-10-10  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4170 1
a4170 1
1995-10-09  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4178 1
a4178 1
1995-10-09  Erik Naggum  <erik@@naggum.no>
d4182 1
a4182 1
1995-10-09  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4186 1
a4186 1
1995-10-08  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4194 1
a4194 1
1995-10-07  Erik Naggum  <erik@@naggum.no>
d4198 1
a4198 1
1995-10-07  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4224 1
a4224 1
1995-10-06  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4250 1
a4250 1
1995-10-05  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4256 1
a4256 1
1995-10-04  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4266 1
a4266 1
1995-10-03  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4273 1
a4273 1
1995-10-02  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4291 1
a4291 1
1995-10-01  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4297 1
a4297 1
1995-09-29  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4316 1
a4316 1
1995-09-28  Carsten Bormann  <cabo@@informatik.uni-bremen.de>
d4326 1
a4326 1
1995-09-27  Richard Stallman  <rms@@pogo.gnu.ai.mit.edu>
d4355 1
a4355 1
1995-09-22  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d4365 1
a4365 1
1995-09-20  Paul Eggert  <eggert@@twinsun.com>
d4375 1
a4375 1
1995-09-17  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d4391 1
a4391 1
1995-09-15  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d4395 1
a4395 1
1995-09-14  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d4400 1
a4400 1
1995-09-12  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d4407 1
a4407 1
1995-09-12  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4419 1
a4419 1
1995-09-10  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4423 1
a4423 1
1995-09-10  Paul Eggert  <eggert@@twinsun.com>
d4435 1
a4435 1
1995-09-09  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4442 1
a4442 1
1995-09-08  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4446 1
a4446 1
1995-09-07  Paul Eggert  <eggert@@twinsun.com>
d4456 1
a4456 1
1995-09-06  Paul Eggert  <eggert@@twinsun.com>
d4466 1
a4466 1
1995-09-06  Erik Naggum  <erik@@naggum.no>
d4470 1
a4470 1
1995-09-03  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4475 1
a4475 1
1995-09-01  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4483 1
a4483 1
1995-08-31  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4496 1
a4496 1
1995-08-31  Erik Naggum  <erik@@naggum.no>
d4501 1
a4501 1
1995-08-30  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4506 1
a4506 1
1995-08-29  Jack Repenning <jackr@@sgi.com>
d4511 1
a4511 1
1995-08-29  Kim Storm  <kfs@@olicom.dk>
d4555 1
a4555 1
1995-08-29  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4567 1
a4567 1
1995-08-28  Roland McGrath  <roland@@churchy.gnu.ai.mit.edu>
d4572 1
a4572 1
1995-08-27  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4576 1
a4576 1
1995-08-26  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4580 1
a4580 1
1995-08-22  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4584 1
a4584 1
1995-08-21  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d4589 1
a4589 1
1995-08-21  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4598 1
a4598 1
1995-08-20  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4610 1
a4610 1
1995-08-19  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4616 1
a4616 1
1995-08-16  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4620 1
a4620 1
1995-08-15  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d4625 1
a4625 1
1995-08-14  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4634 1
a4634 1
1995-08-14  Erik Naggum  <erik@@naggum.no>
d4639 1
a4639 1
1995-08-14  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4644 1
a4644 1
1995-08-13  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4653 1
a4653 1
1995-08-11  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4661 1
a4661 1
1995-08-10  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4682 1
a4682 1
1995-08-07  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4692 1
a4692 1
1995-08-07  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d4697 1
a4697 1
1995-08-07  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4702 1
a4702 1
1995-08-06  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4725 1
a4725 1
1995-08-05  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4750 1
a4750 1
1995-08-04  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4763 1
a4763 1
1995-08-03  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4774 1
a4774 1
1995-08-02  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4785 1
a4785 1
1995-08-01  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4794 1
a4794 1
1995-07-31  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d4799 1
a4799 1
1995-07-31  Simon Marshall  <simon@@duality.gnu.ai.mit.edu>
d4813 1
a4813 1
1995-07-31  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4819 1
a4819 1
1995-07-30  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4828 1
a4828 1
1995-07-28  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4848 1
a4848 1
1995-07-28  Gvran Uddeborg  <uddeborg@@carmen.se>
d4852 1
a4852 1
1995-07-27  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4856 1
a4856 1
1995-07-27  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d4869 1
a4869 1
1995-07-27  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4882 1
a4882 1
1995-07-26  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4892 1
a4892 1
1995-07-25  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4903 1
a4903 1
1995-07-25  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d4910 1
a4910 1
1995-07-24  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4915 1
a4915 1
1995-07-24  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d4920 1
a4920 1
1995-07-24  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4925 1
a4925 1
1995-07-23  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4953 1
a4953 1
1995-07-21  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d4986 1
a4986 1
1995-07-20  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5003 1
a5003 1
1995-07-20  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d5007 1
a5007 1
1995-07-20  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5019 1
a5019 1
1995-07-19  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5024 1
a5024 1
1995-07-18  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5058 1
a5058 1
1995-07-18  Mikael Djurfeldt  <mdj@@kidjo.nada.kth.se>
d5066 1
a5066 1
1995-07-17  Karl Heuer  <kwzh@@kropotkin.gnu.ai.mit.edu>
d5070 1
a5070 1
1995-07-17  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5074 1
a5074 1
1995-07-16  Richard Stallman  <rms@@gnu.ai.mit.edu>
d5087 1
a5087 1
1995-07-15  Richard Stallman  <rms@@gnu.ai.mit.edu>
d5093 1
a5093 1
1995-07-13  Richard Stallman  <rms@@gnu.ai.mit.edu>
d5101 1
a5101 1
1995-07-12  Richard Stallman  <rms@@gnu.ai.mit.edu>
d5105 1
a5105 1
1995-07-10  Richard Stallman  <rms@@gnu.ai.mit.edu>
d5110 1
a5110 1
1995-07-09  Richard Stallman  <rms@@gnu.ai.mit.edu>
d5137 1
a5137 1
1995-07-08  Richard Stallman  <rms@@gnu.ai.mit.edu>
d5141 1
a5141 1
1995-07-07  Richard Stallman  <rms@@gnu.ai.mit.edu>
d5146 1
a5146 1
1995-07-06  Richard Stallman  <rms@@gnu.ai.mit.edu>
d5172 1
a5172 1
1995-07-05  Richard Stallman  <rms@@gnu.ai.mit.edu>
d5178 1
a5178 1
1995-07-03  Michael Shields  <shields@@tembel.org>
d5183 1
a5183 1
1995-07-06  Karl Heuer  <kwzh@@nutrimat.gnu.ai.mit.edu>
d5202 1
a5202 1
1995-07-02  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5218 1
a5218 1
1995-07-01  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5246 1
a5246 1
1995-06-30  Geoff Voelker  (voelker@@cs.washington.edu)
d5270 1
a5270 1
1995-06-30  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5282 1
a5282 1
1995-06-29  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5294 1
a5294 1
1995-06-28  Morten Welinder  <terra+@@cs.cmu.edu>
d5305 1
a5305 1
1995-06-28  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5315 1
a5315 1
1995-06-27  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5324 1
a5324 1
1995-06-26  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5339 1
a5339 1
1995-06-25  Morten Welinder  <terra+@@cs.cmu.edu>
d5344 1
a5344 1
1995-06-25  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5363 1
a5363 1
1995-06-24  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5374 1
a5374 1
1995-06-23  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5379 1
a5379 1
1995-06-22  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
d5384 1
a5384 1
1995-06-21  Richard Stallman  <rms@@mole.gnu.ai.mit.edu>
@


1.1.1.24
log
@import emacs-20.2
@
text
@a0 6
1997-09-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>

	* Version 20.2 released.

	* s/sol2-5.h (SYSTEM_MALLOC): Defined.

@


1.1.1.25
log
@import emacs-20.3
@
text
@d1 3
a3 1
1998-08-19  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d5 1
a5 1
	* Version 20.3 released.
d7 1
a7 3
	* callproc.c (Fcall_process): Use malloc for decoding_buf.
	
	* s/freebsd.h (LD_SWITCH_SYSTEM): Delete -dp.
d9 1
a9 1
	* s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Increased.
d11 2
a12 1
1998-08-18  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d14 1
a14 3
	* xselect.c (selection_data_to_lisp_data): Code-convert selections
	regardless of enable-multibyte-characters.
	(lisp_data_to_selection_data): Likewise for decoding.
d16 2
a17 1
1998-08-18  Ken'ichi Handa  <handa@@delysid.gnu.org>
d19 1
a19 3
	* ccl.c (ccl_driver): In case
	ccl_read_multibyte_character_suspend:, if ccl->last_block is
	nonzero, jump to ccl_repeat.
d21 3
a23 1
1998-08-18  Kenichi Handa  <handa@@etl.go.jp>
d25 1
a25 5
	* ccl.c (CCL_READ_CHAR): If eof is encounterd while processing the
	last block, don't just finish but processes eol block of the
	current CCL program.
	(ccl_driver): Add a new jump label ccl_repeat for the above
	change.
d27 1
a27 2
	* coding.c (ccl_coding_driver): Setup ccl->last_block properly.
	(setup_coding_system): Correctly setup `valid_codes' member.
d29 1
a29 3
	* term.c (write_glyphs): When terminal_coding require flushing,
	call encode_coding with "" as the SOURCE arg so that ccl_driver
	correctly processes eof block of a CCL program.
d31 6
a36 1
1998-08-18  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d38 1
a38 8
	* keyboard.c (read_char): If not reading a key sequence (MAPS is nil),
	bind input-method-exit-on-first-char and input-method-use-echo-area
	to t.
	(read_char): If PREV_EVENT is non-nil, don't run the input method.
	(read_key_sequence): Do not bind input-method-function.	
	
	* callint.c (Fcall_interactively): Pass new args to Fread_event
	and Fread_char.  Let Fread_char do the prompting.
d40 1
a40 5
	* lread.c (read_filtered_event): New arg INPUT_METHOD.  Calls changed.
	(Fread_event): New args PROMPT and SUPPRESS-INPUT-METHOD.
	(Fread_char, Fread_char_exclusive): Likewise.
	* lisp.h (Fread_event, Fread_char, Fread_char_exclusive):
	Update declarations.
d42 1
a42 2
	* fns.c (Fy_or_n_p): Don't bind input-method-function.
	Instead, pass 0 as INPUT_METHOD to read_filtered_event.
d44 1
a44 1
	* insdel.c (replace_range): Rename NOMARKERS arg to MARKERS.
d46 4
a49 1
	* editfns.c (Ftranspose_regions): Pass 0 as NOMARKERS to replace_range.
d51 1
a51 1
	* cmds.c (internal_self_insert): Pass 1 as NOMARKERS to replace_range.
d53 1
a53 1
	* fns.c (Fy_or_n_p): Bind input-method-function to nil.
d55 1
a55 1
1998-08-17  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d57 1
a57 9
	* keyboard.c (Freset_this_command_lengths): Return nil.
	(read_char): [Changes in the input method code.]
	Process and clear before_command_restore_flag before the input method.
	Save and restore ok_to_echo_at_next_pause and
	current_kboard->echo_after_prompt.
	Save, copy and empty this_command_keys, if it is not empty.
	Clear the echo area before the input method.
	Then in all cases restore this_command_keys, and reenable echoing
	if it was enabled before.
d59 1
a59 1
1998-08-16  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d61 1
a61 2
	* charset.c (Fmultibyte_char_to_unibyte): New function.
	(syms_of_charset): defsubr it.
d63 1
a63 1
1998-08-15  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d65 1
a65 5
	* xterm.c, xterm.h: x_display_unibyte_char_with_fontset renamed to
	unibyte_display_via_language_environment.
	
	* xfns.c (unibyte_display_through_language_environment):
	Renamed from x_display_unibyte_char_with_fontset.
d67 4
a70 1
	* xterm.h (widget_store_internal_border): Conditionalize declaration.
d72 1
a72 1
1998-08-15  Kenichi Handa  <handa@@etl.go.jp>
d74 1
a74 3
	* coding.c (coding_category_name): Fix the order of initial
	contents.
	(detect_coding_mask): Fix previous change.
d76 10
a85 2
	* insdel.c (copy_text): Fix previous change, call
	multibyte_char_to_unibyte.
d87 1
a87 1
	* puresize.h (BASE_PURESIZE): Increased.
d89 5
a93 3
	* xfns.c (x_display_unibyte_char_with_fontset): New variable.
	(syms_of_xfns): Declare x-display-unibyte-char-with-fontset as a
	Lisp variable.
d95 3
a97 1
	* xterm.h (x_display_unibyte_char_with_fontset): Extern it.
d99 1
a99 10
	* xterm.c (dumpglyphs): If x_display_unibyte_char_with_fontset is
	nonzero, convert a unibyte 8-bit char to a multibyte char and
	display it by a font listed in the current fontset.

	* xselect.c (Vnext_selection_coding_system): New variable.
	(selection_data_to_lisp_data): If Vnext_selection_coding_system is
	non-nil, use it.
	(lisp_data_to_selection_data): Likewise.
	(syms_of_xselect): Declare next-selection-coding-system as a Lisp
	variable.
d101 1
a101 1
1998-08-13  Eli Zaretskii  <eliz@@delysid.gnu.org>
d103 1
a103 2
	* msdos.c (dos_set_keyboard): Set up stack and flags before
	calling _go32_dpmi_simulate_int.
d105 3
a107 1
1998-08-13  Andrew Innes  <andrewi@@harlequin.co.uk>
d109 2
a110 2
	* w32.c (stat): Fall-back to default behaviour when we cannot get
	accurate information on file attributes.
d112 1
a112 1
1998-08-12  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d114 1
a114 2
	* indent.c (vmotion): Don't use WINDOW for Fget_char_property
	when it is not showing the right buffer.
d116 2
a117 1
1998-08-11  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d119 4
a122 2
	* process.c (wait_reading_process_input): If a pty gives EIO,
	raise SIGCHLD just in case.
d124 3
a126 1
1998-08-10  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d128 1
a128 2
	* syntax.c (scan_sexps_forward): Set up the syntax table scanning
	stuff before jumping into the loop.
d130 3
a132 1
1998-08-10  Eli Zaretskii  <eliz@@delysid.gnu.org>
d134 3
a136 2
	* msdos.c (IT_cmgoto): In the echo area, only put the cursor at
	the end of text if it is beyond the displayed text end.
d138 1
a138 1
1998-08-10  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d140 1
a140 2
	* keyboard.c (read_char): Don't decrement this_command_key_count
	when saving it.
d142 2
a143 1
1998-08-09  Kenichi HANDA  <handa@@etl.go.jp>
d145 1
a145 3
	* fileio.c (Fwrite_region): Reflect the eol conversion
	specification of default value of buffer-file-coding-system if
	any.
d147 1
a147 2
	* coding.c (default_buffer_file_coding): New variable.
	(init_coding_once): Initialize default_buffer_file_coding.
d149 1
a149 1
	* coding.h (default_buffer_file_coding): Extern it.
d151 1
a151 1
1998-08-09  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d153 2
a154 6
	* s/freebsd.h (__FreeBSD_version): Define it, or else
	include osreldate.h to define it.
	(LIB_GCC): Unconditional definition deleted.
	[ELF] (LD_SWITCH_SYSTEM, START_FILES, UNEXEC, LIB_STANDARD, LIB_GCC):
	New alternative definitions.
	[! ELF] (START_FILES, LIB_GCC): New alternative definitions.
d156 3
a158 2
	* unexelf.c (unexec): Check for section names end and edata
	with no underscore.
d160 3
a162 1
	* coding.c (CHARSET_OK): Check that coding_system_table[IDX] != 0.
d164 1
a164 1
1998-08-08  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d166 1
a166 1
	* coding.c: Avoid using initializers for Lisp_Object.
d168 1
a168 1
1998-08-07  Paul Eggert  <eggert@@twinsun.com>
d170 1
a170 2
	* xterm.c (x_term_init): Don't reset LC_TIME to "C", since we
	want strftime to be localized.
d172 1
a172 1
1998-08-07  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d174 1
a174 1
	* s/ptx4-2.h: New file.
d176 1
a176 1
	* xterm.c (x_list_fonts): Fix previous change.
d178 2
a179 2
	* callproc.c (Fcall_process): Check type of process cmd args
	earlier on.
d181 1
a181 2
	* process.c (Fprocess_send_eof): Transfer proc_encode_coding_system
	data to the new outfd.
d183 2
a184 1
	* commands.h (Vthis_command): Renamed from this_command.
d186 1
a186 2
	* minibuf.c (Fminibuffer_complete): 
	this_command renamed to Vthis_command.
d188 6
a193 2
	* macros.c (Fcall_last_kbd_macro):
	this_command renamed to Vthis_command.
d195 16
a210 4
	* keyboard.c (Vthis_command): Renamed from this_command.
	(real_this_command): New variable, but not a Lisp variable;
	updated like Vthis_command, but never altered by Lisp programs.
	(command_loop_1): Use real_this_command to set Vreal_last_command.
d212 11
a222 1
1998-08-07  Kenichi Handa  <handa@@etl.go.jp>
d224 9
a232 2
	* cmds.c (internal_self_insert): If enable-multibyte-characters is
	nil, convert a multibyte character to unibyte appropriately.
d234 4
a237 1
	* editfns.c (general_insert_function): Likewise.
d239 7
a245 3
	* charset.c (multibyte_char_to_unibyte): New function.
	(charset_id_internal): Avoid initializer for Lisp_Object.
	(init_charset_once): Likewise.
d247 8
a254 1
	* lisp.h (multibyte_char_to_unibyte): Extern it.
d256 11
a266 1
1998-08-06  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d268 7
a274 1
	* window.c (Fsplit_window): Doc fix.
d276 8
a283 38
	* macros.c (Fexecute_kbd_macro): Fix error message.
	(Fend_kbd_macro): Fix error message.

	* coding.c (setup_coding_system): Avoid initializer for Lisp_Object.
	(setup_raw_text_coding_system, detect_coding): Likewise.
	(code_convert_region, code_convert_string): Likewise.
	(Fset_coding_priority_internal): Likewise.

1998-08-06  Kenichi Handa  <handa@@etl.go.jp>

	* dired.c (Fdirectory_files): If MATCH is non-nil, decode filenames
	before checking them against MATCH.

1998-08-05  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* keyboard.c (read_char): When input method returns no chars,
	call cancel_echoing.  Restore the previous echo area message
	and this_command_keys, too.

	* abbrev.c (Funexpand_abbrev): Add ADJUST instead of subtracting.

	* w32select.c (Vselection_coding_system):
	Renamed from Vclipboard_coding_system.
	(syms_of_w32select): No need to staticpro Vselection_coding_system.

1998-08-04  Eli Zaretskii  <eliz@@delysid.gnu.org>

	* w16select.c (Vselection_coding_system):
	Renamed from Vclipboard_coding_system.
	(Fw16_set_clipboard_data): Don't count trailing zero in the string
	for the purposes of conversion.

1998-08-04  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* xterm.c (x_list_fonts): Call XFreeFont after the new call
	to XLoadQueryFont.
	(fast_find_position): Handle case where position is before
	an invisible character, thus not actually listed in charstarts.
d285 13
a297 7
	* keyboard.c (Vinput_method_previous_message): New variable.
	(syms_of_keyboard): Set up lisp variable.
	(Qinput_method_exit_on_first_char, Qinput_method_use_echo_area):
	New variables.
	(syms_of_keyboard): Initialize them.
	(Fread_key_sequence): New arg COMMAND_LOOP.
	Bind those variables.
d299 6
a304 3
	* lisp.h (Fread_key_sequence): Update declaration.

	* callint.c (Fcall_interactively): Pass new arg to Fread_key_sequence.
d306 4
a309 1
1998-08-03  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d311 1
a311 1
	* window.c (Fmove_to_window_line): Doc fix.
d313 1
a313 1
	* xterm.h (FRAME_OUTER_WINDOW): New macro.
d315 3
a317 3
	* xterm.c (x_make_frame_visible): Use XGetGeometry to see if
	position has been changed by the window manager.  Use
	FRAME_OUTER_WINDOW.
d319 4
a322 2
	* insdel.c (replace_range): Don't assume PT is at the place
	where the change is being done.
d324 37
a360 3
	* editfns.c (Fsubst_char_in_region): Use replace_range in case
	where we may need to combine bytes.
	(Ftranslate_region): Likewise.
d362 21
a382 1
1998-08-01  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d384 8
a391 2
	* lread.c (read1): In reading a string, treat Qlambda
	like Qget_file_char.
d393 15
a407 2
	* doc.c (Fdocumentation): Specify UNIBYTE = 0
	when calling get_doc_string for a compiled function.
d409 4
a412 1
1998-08-01  Kenichi HANDA  <handa@@etl.go.jp>
d414 6
a419 1
	* ccl.h (ccl_spec): New member valid_codes.
d421 1
a421 10
	* coding.c (Qvalid_codes): New variable.
	(coding_category_name): Include "coding-category-ccl".
	(detect_coding_ccl): New function.
	(setup_coding_system): Setup coding->spec.ccl.valid_codes from the
	coding system priority `valid-codes' for CCL based coding systesm.
	(detect_coding_mask): Check also a CCL based coding system.
	(Fupdate_coding_systems_internal): Renamed from
	Fupdate_iso_coding_systems.
	(syms_of_coding): Change property char-table-extra-slot of
	translation-table to 1.  Initialize and static pro Qvalid_codes.
d423 6
a428 12
	* coding.h (CODING_CATEGORY_IDX_CCL): New macro.
	(CODING_CATEGORY_IDX_BIG5, CODING_CATEGORY_IDX_RAW_TEXT,
	CODING_CATEGORY_IDX_BINARY, CODING_CATEGORY_IDX_MAX): Increased by
	one.
	(CODING_CATEGORY_MASK_CCL): New macro.
	(CODING_CATEGORY_MASK_ANY): Include CODING_CATEGORY_MASK_CCL.

	* insdel.c (copy_text): In multibyte to unibyte conversion, take
	nonascii-translation-table and nonascii-insert-offset into
	account.

1998-07-30  Paul Eggert  <eggert@@twinsun.com>
d430 1
a430 2
	* src/Makefile.in (widget.o, xfns.o, xmenu.o):
	Prepend $(srcdir)/ to rule dependencies outside this dir.
d432 3
a434 1
1998-07-29  Kenichi Handa  <handa@@etl.go.jp>
d436 3
a438 1
	* fns.c (concat): Fix previous change.
d440 38
a477 1
1998-07-29  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d479 1
a479 2
	* process.c (create_process): For outchannel, set up
	proc_encode_coding_system, not proc_decode_coding_system.
d481 1
a481 1
1998-07-28  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d483 1
a483 1
	* keymap.c (push_key_description): Output multibyte char as itself.
d485 3
a487 1
1998-07-27  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d489 2
a490 3
	* keyboard.c (Fexecute_extended_command):
	Don't delay before displaying the suggestion message
	if the command did not display anything in the echo area.
d492 4
a495 1
1998-07-26  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d497 2
a498 1
	* s/ultrix4-3.h (rint): Add declaration.
d500 1
a500 1
1998-07-25  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d502 1
a502 2
	* s/aix3-2.h (HAVE_STRING_H): Move #undef here.
	* s/aix4.h (HAVE_STRING_H): Delete #undef here.
d504 2
a505 1
	* sysdep.c [AIXHFT] (hft_init, hft_reset): Add declarations.
d507 3
a509 1
1998-07-25  Kenichi Handa  <handa@@etl.go.jp>
d511 5
a515 2
	* coding.c (syms_of_coding): Mention auto-coding-alist in the
	docstring of file-coding-system-alist.
d517 4
a520 6
	* fileio.c (Finsert_file_contents): Call Vset_auto_coding_function
	with two arguments.
	(Fwrite_region): If buffer-file-coding-system is set locally, use
	the coding system whithout checking file-coding-system-alist.
	(syms_of_fileio): Docstring of set-auto-coding-function adjusted
	for the change of argument number.
d522 1
a522 1
1998-07-20  Kenichi HANDA  <handa@@etl.go.jp>
d524 7
a530 2
	* callproc.c (Fcall_process): Use alloca instead of
	get_conversion_buffer.
d532 1
a532 3
	* coding.c (init_coding): New function.
	(init_coding_once): Don't initialize conversion_buffer here.  It
	is done in init_coding.
d534 1
a534 1
	* emacs.c (main): Call init_coding.
d536 2
a537 1
	* lisp.h (init_coding): Extern it.
d539 1
a539 1
1998-07-19  Kenichi Handa  <handa@@etl.go.jp>
d541 2
a542 1
	* charset.c (Fdefine_charset): Fix doc-string.
d544 2
a545 2
	* xterm.c (dumpglyphs): After calling ccl_driver, set cp->byte1 to
	zero for 1-byte font.
d547 1
a547 1
1998-07-15  kenichi HANDA  <handa@@kowloon.etl.go.jp>
d549 1
a549 3
	* process.c (read_process_output): Even if we read data without
	code conversion, calculate character counts.  If we insert the
	data into a unibyte buffer, treat the data as unibyte.
d551 1
a551 1
1998-07-14  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d553 3
a555 9
	* keyboard.c (Qinput_method_function): New variable.
	(syms_of_keyboard): Init and staticpro it.
	(read_key_sequence): Bind input-method-function,
	and set it to nil after reading the first event.
	(raw_keybuf, raw_keybuf_count): New variables, to record
	raw input events as they are read with read_char.
	(GROW_RAW_KEYBUF): New macro.
	(Fthis_single_command_raw_keys): New function.
	(syms_of_keyboard): defsubr it.
d557 1
a557 1
1998-07-13  Andrew Innes  <andrewi@@delysid.gnu.org>
d559 2
a560 2
	* w32menu.c (add_menu_item): Draw menu items like titles if
	call_data is 0.
d562 1
a562 1
1998-07-13  Eli Zaretskii  <eliz@@mescaline.gnu.org>
d564 3
a566 3
	* w16select.c (set_clipboard_data, get_clipboard_data,
	Fw16_set_clipboard_data, Fw16_get_clipboard_data,
	Fx_selection_exists_p): Use CF_OEMTEXT instead of CF_TEXT.
d568 1
a568 1
1998-07-12  Andrew Innes  <andrewi@@delysid.gnu.org>
d570 1
a570 2
	* w32select.c: (Fw32_set_clipboard_data): Set Vlast_coding_system_used.
	(Fw32_get_clipboard_data): Likewise.
d572 3
a574 1
1998-07-12  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d576 5
a580 2
	* marker.c (Fcopy_marker): Make return from wrong_type_argument
	fall thru into normal case.
d582 3
a584 2
	* fileio.c (Finsert_file_contents): When replacing, in multibyte bfr,
	always extend the range to a character boundary.
d586 1
a586 1
1998-07-11  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d588 1
a588 11
	* keyboard.c (read_char): Call the input method if appropriate.
	Change logic for distinguishing rereads from new events;
	use local var `reread'.  Take events from
	Vunread_input_method_events and Vunread_post_input_method_events.
	(Vunread_input_method_events, Vunread_post_input_method_events)
	(Vinput_method_function): New variable.
	(syms_of_keyboard): Set up Lisp vars.
	(command_loop_1): Check Vunread_input_method_events and
	Vunread_post_input_method_events along with Vunread_command_events.
	
1998-07-11  Andrew Innes  <andrewi@@harlequin.co.uk>
d590 1
a590 3
	* w32menu.c (w32_menu_show): Set widget call_data to 0 if
	definition is nil.
	(add_menu_item): Gray menu entry if widget call_data is 0.
d592 1
a592 1
1998-07-11  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d594 1
a594 3
	* xselect.c (Vselection_coding_system):
	Renamed from Vclipboard_coding_system.  All uses changed.
	(syms_of_xselect): Rename Lisp variable.
d596 2
a597 1
1998-07-09  Eli Zaretskii  <eliz@@mescaline.gnu.org>
d599 1
a599 10
	* w16select.c (Vclipboard_coding_system): New variable.
	(set_clipboard_data, set_clipboard_data): New parameter Raw
	determines whether CRLF <-> NL translation needs to be done.  All
	callers changed.
	(Fw16_set_clipboard_data): Encode the text using
	Vclipboard_coding_system, if necessary.
	(Fw16_get_clipboard_data): Decode the text using
	Vclipboard_coding_system, if necessary.
	(syms_of_win16select): DEFVAR Vclipboard_coding_system and
	staticpro it.
d601 1
a601 1
1998-07-09  Kenichi Handa  <handa@@etl.go.jp>
d603 1
a603 2
	* coding.c (code_convert_string): Count characters again if we
	encounter some invalid code while decoding.
d605 2
a606 1
1998-07-09  Kenichi Handa  <handa@@etl.go.jp>
d608 1
a608 1
	* ccl.c: Typo in comments fixed.
d610 5
a614 2
	* coding.c (DECODE_ISO_CHARACTER): While decoding two-byte code,
	if the sencond byte is invalid, produce the first byte as is.
d616 1
a616 1
	* fontset.c (fs_load_font): Typo in comments fixed.
d618 1
a618 3
	* xselect.c (selection_data_to_lisp_data): Set
	Vlast_coding_system_used.
	(lisp_data_to_selection_data): Likewize.
d620 1
a620 1
1998-07-07  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d622 7
a628 1
	* charset.c (Fchars_in_region): Coerce markers.
d630 16
a645 1
1998-07-08  Kenichi Handa  <handa@@etl.go.jp>
d647 6
a652 2
	* editfns.c (Fformat): Replace explicit numeric constants with
	proper macros.
d654 1
a654 1
	* fns.c (concat): Likewize.
d656 2
a657 1
1998-07-06  Kenichi Handa  <handa@@etl.go.jp>
d659 1
a659 3
	* charset.h (MAX_CHAR_COMPOSITION): Defined as (GLYPH_MASK_CHAR - 1),
	one less than the previous value.
	(GENERIC_COMPOSITION_CHAR): New macro. 
d661 1
a661 4
	* charset.c (Vgeneric_character_list): New variable.
	(init_charset_once): Init and staticpro it.
	(Fgeneric_character_list): New function. 
	(syms_of_charset): defsubr it.
d663 1
a663 3
	* fns.c (Fset_char_table_default): Check only if the charset of
	the arg CH is in the valid range or not.  Handle the case that CH
	is a generic character for composite characters.
d665 2
a666 1
1998-07-06  Kenichi Handa  <handa@@etl.go.jp>
d668 2
a669 1
	* editfns.c (Fformat): Pay attention to the byte combining problem.
d671 1
a671 2
	* fileio.c (Finsert_file_contents): Cancel previous change.  Setup
	the variable coding even if the inserted bytes is zero.
d673 1
a673 1
	* fns.c (concat): Deal with combining bytes between two args.
d675 1
a675 1
1998-07-03  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d677 1
a677 7
	* print.c (print_escape_multibyte, Qprint_escape_multibyte)
	(Qprint_escape_nonascii): New variables.
	(syms_of_print): Initialize them and set up Lisp variable.
	(PRINTPREPARE): Bind print-escape-multibyte to t if appropriate.
	Also bind print-escape-nonascii if appropriate.
	(print): Test print_escape_multibyte and print_escape_nonascii,
	rather than enable-multibyte-characters.
d679 2
a680 1
1998-06-29  Andrew Innes  <andrewi@@harlequin.co.uk>
d682 1
a682 5
	* fileio.c (Ffile_regular_p) [WINDOWSNT]: Bind
	`w32-get-true-file-attributes' to t while calling stat.
	(Finsert_file_contents) [WINDOWSNT]: Likewise.
	(Fwrite_region): Don't try seeking to end of FILENAME for
	appending if not a regular file.
d684 2
a685 1
1998-07-03  Kenichi Handa  <handa@@etl.go.jp>
d687 1
a687 3
	* editfns.c (Finsert): Typo in doc-string fixed.
	(Finsert_and_inherit, Finsert_before_markers,
	Finsert_and_inherit_before_markers):  Likewize.
d689 12
a700 1
1998-07-02  Ken'ichi Handa  <handa@@melange.gnu.org>
d702 3
a704 2
	* fileio.c (Finsert_file_contents): Do not set Vlast_coding_system
	if inserted bytes is zero.
d706 2
a707 1
1998-06-28  Eli Zaretskii  <eliz@@is.elta.co.il>
d709 3
a711 4
	* unexec.c [COFF]: New variable coff_offset.
	(make_hdr) [MSDOS]: If a_name is a coff-go32-exe executable with a
	prepended stub, compute coff_offset.
	(make_hdr, copy_sym) [COFF]: Use coff_offset when seeking into temacs.
d713 4
a716 1
1998-06-29  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d718 4
a721 2
	* editfns.c (Fbyte_to_position): New function.
	(syms_of_editfns): defsubr it.
d723 2
a724 1
1998-06-29  Eli Zaretskii  <eliz@@delysid.gnu.org>
d726 1
a726 2
	* callproc.c (Fcall_process) [! subprocesses]: Balance parentheses
	in an if clause.
d728 2
a729 1
1998-06-28  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d731 3
a733 1
	* fileio.c (Fread_file_name): Bind minibuffer-completing-file-name to t.
d735 1
a735 5
	* minibuf.c (Vminibuffer_completing_file_name): New var.
	(syms_of_minibuf): Set up Lisp variable.
	(Fminibuffer_complete_word): Test it, instead of checking
	specifically for Qread_file_name_internal.
	(Fcompleting_read): Likewise.
d737 1
a737 1
1998-06-27  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d739 1
a739 1
	* xterm.c (x_list_fonts): Fix prev change: cast result of alloca.
d741 1
a741 1
1998-06-26  Ken'ichi Handa  <handa@@melange.gnu.org>
d743 1
a743 1
	* coding.h (Qemacs_mule): Extern it.
d745 1
a745 1
	* process.c (init_process): Initilize Vdefault_process_coding_system.
d747 4
a750 1
1998-06-26  Kenichi Handa  <handa@@etl.go.jp>
d752 2
a753 2
	* coding.c (setup_raw_text_coding_system): New function.
	(decode_coding_sjis_big5): Bug for handling invalid code fixed.
d755 1
a755 1
	* coding.h (setup_raw_text_coding_system): Extern it.
d757 1
a757 2
	* fileio.c (Finsert_file_contents): Call
	setup_raw_text_coding_system.
d759 3
a761 4
	* process.c (Fstart_process): Check process-coding-system-alist
	and default-process-coding-system even in unibyte mode.
	(create_process): In unibyte mode, suppress character code
	conversion.
d763 1
a763 1
1998-06-25  Andrew Innes  <andrewi@@harlequin.co.uk>
d765 1
a765 4
	* w32fns.c (Fx_list_fonts): Bring arglist into sync with xfns.c.
	(x_set_font): Call face-set-after-frame-default.
	(Qface_set_after_frame_default): New variable.
	(syms_of_w32fns): Initialize it.
d767 1
a767 1
1998-06-25  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d769 2
a770 2
	* search.c (wordify): Fix i_byte even in unibyte case for copy loop.
	If input is unibyte, make the output unibyte.
d772 1
a772 1
1998-06-24  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d774 1
a774 2
	* print.c (PRINTFINISH): Convert text to unibyte before
	inserting in a unibyte buffer.
d776 2
a777 5
	* doc.c (get_doc_string): Take both UNIBYTE and DEFINITION as args.
	All callers changed.
	* lisp.h (get_doc_string): Adjust declaration.
	
	* lread.c (read_list): Pass new arg to get_doc_string.
d779 1
a779 3
	* doc.c (get_doc_string): 2nd arg is now DEFINITION;
	if non-nil, read a dynamic function definition.
	(read_doc_string): Don't call read here.
d781 5
a785 1
1998-06-23  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d787 3
a789 7
	* indent.c (indented_beyond_p): Return the right kind of value.

1998-06-22  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* emacs.c (sort_args): Discard duplicate options with no args.
	(main): With duplicate -d options, use the last one.  Likewise for -t.
	Check -d last, by checking for -nl earlier on.
d791 2
a792 1
1998-06-22  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d794 2
a795 3
	* keyboard.c (command_loop): Reset executing_macro after
	command_loop_2 has returned, in case a throw to exit or top-level
	was executed as part of a keyboard macro.
d797 1
a797 2
	* callproc.c (Fcall_process): Handle third argument BUFFER
	consistently when it is an integer or a list.
d799 1
a799 1
1998-06-22  Kenichi Handa  <handa@@etl.go.jp>
d801 1
a801 2
	* syntax.c (Fmodify_syntax_entry): Use macro STRING_BYTES to get
	byte size of a string.
d803 1
a803 1
1998-06-22  Andrew Innes  <andrewi@@harlequin.co.uk>
d805 1
a805 7
	* w32select.c: Include buffer.h, charset.h, and coding.h.
	(Vclipboard_coding_system): New variable.
	(syms_of_w32select): DEF_VAR it.
	(Fw32_set_clipboard_data): Encode string using
	Vclipboard_coding_system if necessary.
	(Fw32_get_clipboard_data): Decode clipboard contents using
	Vclipboard_coding_system if necessary.
d807 1
a807 2
	* w32console.c (initialize_w32_display): Call init_crit to
	initialize interrupt_handle (referenced by sys_select).
d809 3
a811 1
1998-06-22  Richard Stallman  <rms@@gnu.org>
d813 1
a813 2
	* print.c (print_string): Properly compute number of chars
	in multibyte case, before calling strout.
d815 1
a815 1
	* lisp.h (Qinhibit_redisplay): Declared.
d817 1
a817 1
	* keyboard.c (menu_item_eval_property): Bind Qinhibit_redisplay.
d819 2
a820 3
	* xdisp.c (Vinhibit_redisplay, Qinhibit_redisplay): New variables.
	(syms_of_xdisp): Set up Lisp var.
	(redisplay_internal): Test Vinhibit_redisplay.
d822 1
a822 1
1998-06-21  Ken'ichi Handa  <handa@@melange.gnu.org>
d824 1
a824 2
	* process.c (read_process_output): While processing carryover,
	check the size of p->decoding_buf.
d826 3
a828 1
1998-06-21  Eli Zaretskii  <eliz@@mescaline.gnu.org>
d830 2
a831 4
	* process.c (wait_reading_process_input) [! subprocesses]:
	Recompute timeout each time through the loop.  Check
	requeued_events_pending_p and exit the loop if there is unread
	keyboard input.
d833 1
a833 1
1998-06-20  Richard Stallman  <rms@@gnu.org>
d835 1
a835 2
	* search.c (Freplace_match): Work by chars, not by bytes,
	for scanning the old text, and for inserting new string in buffer.
d837 3
a839 1
1998-06-20  Karl Heuer  <kwzh@@gnu.org>
d841 1
a841 1
	* xterm.c (x_list_fonts): Keep alloca usage simple.
d843 1
a843 1
1998-06-20  Per Starback  <starback@@strindberg.ling.uu.se>
d845 1
a845 1
	* xdisp.c, charset.h, coding.c, emacs.c: Doc fixes.
d847 1
a847 1
1998-06-20  Kenichi Handa  <handa@@etl.go.jp>
d849 8
a856 1
	* print.c (strout): Show multibyte message correctly.
d858 1
a858 1
	* ccl.c: Comment for CCL_MapMultiple modified.
d860 1
a860 2
	* charset.c (find_charset_in_str): Do not set the value of
	charsets[LEADING_CODE_COMPOSITION].
d862 1
a862 1
	* process.c (read_process_output): Handle carryover correctly.
d864 1
a864 3
	* xterm.c (dumpglyphs): Check the case that FACE_FONT (face) is
	NULL.  While displaing cursor with non-default face, if the
	variable `font' is NULL, don't set GCFont.
d866 4
a869 1
1998-06-19  Richard Stallman  <rms@@gnu.org>
d871 1
a871 1
	* minibuf.c (syms_of_minibuf): Initialize buffer-name-history.
d873 2
a874 1
1998-06-18  Richard Stallman  <rms@@gnu.org>
d876 1
a876 1
	* casefiddle.c (casify_object): Cope with modifier bits in character.
d878 4
a881 1
1998-06-17  Geoff Voelker  <voelker@@cs.washington.edu>
d883 1
a883 4
	* w32.c (is_unc_volume, open_unc_volume, read_unc_volume,
	close_unc_volume, unc_volume_file_attributes): New functions.
	(wnet_enum_handle): New variable.
	(opendir, readdir, closedir, sys_access, stat): Handle UNC volumes.
d885 2
a886 1
1998-06-16  Kenichi Handa  <handa@@etl.go.jp>
d888 1
a888 3
	* xterm.c (x_list_fonts): If SIZE is zero and MAXNAMES is 1, use
	XLoadQueryFont instead of XListFonts.
	(x_load_fonts): Call x_list_fonts with MAXNAMES 1.
d890 2
a891 1
1998-06-16  Andrew Innes  <andrewi@@harlequin.co.uk>
d893 1
a893 2
	* xdisp.c (message_dolog): GCPRO the oldpoint, oldbegv and oldzv
	markers, and old_deactivate_mark.
d895 1
a895 1
1998-06-15  Andrew Innes  <andrewi@@harlequin.co.uk>
d897 1
a897 2
	* w32.c (sys_rename): On some network drives, rename fails with
	EACCES instead of EEXIST if target already exists.
d899 2
a900 5
	* coding.c (encode_eol): Fix typo that prevented converting to Mac
	line endings.  Always update dst_bytes to number of bytes actually
	copied.
	(decode_eol): Fix value of coding->produced when decoding Unix
	line endings (in case this function is ever used for that).
d902 1
a902 1
1998-06-14  Ken'ichi Handa  <handa@@melange.gnu.org>
d904 1
a904 5
	* fileio.c (Finsert_file_contents): Redo the change for handling
	set-auto-coding while adding a kludgy code to avoid a compiler
	bug.
	(syms_of_fileio): Doc-string of the variable
	set-auto-coding-function modified for the change above.
d906 1
a906 1
1998-06-14  Eli Zaretskii  <eliz@@mescaline.gnu.org>
d908 1
a908 4
	* msdos.c (dos_set_keyboard): Call Int 2Fh via the DPMI server,
	not directly. 
	(dos_yield_time_slice): New function.
	(sys_select): Use it instead of __dpmi_yield.
d910 2
a911 1
1998-06-14  Erik Naggum  <erik@@naggum.no>
d913 2
a914 1
	* minibuf.c (Fcompleting_read): Escape bare newline in doc string.
d916 4
a919 1
1998-06-14  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d921 1
a921 1
	* fileio.c (Finsert_file_contents): Fix change to set INSERTED.
d923 1
a923 1
1998-06-13  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d925 1
a925 2
	* keyboard.c (parse_menu_item): Put a quote around DEF
	to pass it as an argument to the filter function.
d927 1
a927 2
	* syntax.c (skip_chars):
	Don't examine STRING before verifying that it is a string.
d929 2
a930 1
1998-06-13  Kenichi Handa  <handa@@etl.go.jp>
d932 1
a932 4
	* coding.c (detect_coding_system): Always return a list of HIGHEST
	is zero.
	(Fdetect_coding_region): Doc-string adjusted for the above change.
	(Fdetect_coding_string): Likewise.
d934 2
a935 1
1998-06-12  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d937 5
a941 1
	* emacs.c (standard_args): Fix arg order to match code in `main'.
d943 1
a943 1
1998-06-12  Ken'ichi Handa  <handa@@melange.gnu.org>
d945 3
a947 2
	* fileio.c (Finsert_file_contents): Undo the previous change for
	handling set-ault-coding.
d949 8
a956 1
1998-06-11  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d958 3
a960 2
	* fileio.c (Finsert_file_contents): After calling handler,
	get INSERTED from the handler's value.
d962 1
a962 2
	* callint.c (Fcall_interactively) <k, K>: If sequence ends in a down
	event, discard following up event.
d964 3
a966 1
1998-06-12  Kenichi Handa  <handa@@etl.go.jp>
d968 2
a969 7
	* fileio.c (set_auto_coding_unwind): New function.
	(Finsert_file_contents): If the current buffer is empty, decide
	the coding system after the file is inserted in the buffer.  If
	not, insert the head and tail of a file in a temporary buffer and
	call set-auto-coding-function.
	(e_write): If there are carryover bytes in encoding because of
	incomplete multibyte form, write them out as is.
d971 1
a971 1
1998-06-11  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d973 3
a975 1
	* syntax.c (scan_lists): Use prev_char_comend_first, not ...comstart...
d977 2
a978 1
1998-06-11  Geoff Voelker  <voelker@@cs.washington.edu>
d980 1
a980 2
	* makefile.nt (LINK_FLAGS): Place debug info in executable in
	unoptimized compile.  Link to run off of cd or network.
d982 1
a982 1
1998-06-10  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d984 1
a984 2
	* syntax.c (Fforward_comment):
	Properly compute BYTEPOS arg to char_quoted.
d986 1
a986 1
1998-06-09  Andrew Innes  <andrewi@@harlequin.co.uk>
d988 1
a988 1
	* w32.c (sys_rename): Don't examine errno if rename didn't fail.
d990 1
a990 2
	* s/ms-w32.h (getcwd): Remove define.
	(getdefdir) [emacs]: Redefine to always return root directory.
d992 1
a992 1
1998-06-09  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d994 2
a995 1
	* lisp.h (Feval_region): Accept 4 args.
d997 1
a997 2
	* lread.c (readevalloop): New arg READFUN.  Callers changed.
	(Feval_region): New arg READ_FUNCTION.
d999 1
a999 1
1998-06-08  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1001 1
a1001 2
	* syntax.h (SETUP_SYNTAX_TABLE): Don't call update_syntax_table
	for FROM-1 if that's before BEGV.
d1003 2
a1004 1
1998-06-07  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1006 1
a1006 3
	* syntax.c (struct lisp_parse_state): New field, levelstarts.
	(scan_sexps_forward): Use 10th elt of STATE to set levelstarts.
	(parse-partial-sexp): Add 10th elt to return value.
d1008 3
a1010 1
	* keyboard.c (lispy_function_keys): Add kanji...eisu-toggle.
d1012 1
a1012 3
	* keyboard.c (cmd_error): Init Vlast_prefix_arg.
	(init_kboard, command_loop_1): Init Vlast_prefix_arg.
	(Fcommand_execute): Set Vlast_prefix_arg to prefix arg used.
d1014 1
a1014 1
	* callint.c (syms_of_callint): Set up Lisp variable.
d1016 2
a1017 1
	* alloc.c (mark_kboards): Mark all the Lisp_Object fields.
d1019 2
a1020 4
	* keyboard.c (command_loop_1):
	Set Vreal_last_command with Vlast_command.
	(init_kboard): Init Vreal_last_command field.
	(syms_of_keyboard): Set up Lisp var real-last-command.
d1022 6
a1027 2
	* keyboard.h (struct kboard): New elts Vreal_last_command
	and Vlast_prefix_arg.
d1029 1
a1029 1
1998-06-06  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1031 1
a1031 1
	* xterm.c (XTread_socket): Accept Japanese XK keysyms.
d1033 2
a1034 9
	* xdisp.c (redisplay_internal): If cursor's in the frame's echo area,
	make last_point invalid instead of setting it normally.
	(display_text_line): If cursor's in the frame's echo area,
	don't set this_line_endpos.
	(redisplay_window): Use Fwindow_end to find lower scroll margin.
	
	* syntax.c (scan_lists): Properly skip the comment-fence character
	that ends a comment, when moving forward.
	(Fbackward_prefix_chars): Return immediately if point is at BEGV.
d1036 1
a1036 2
	* callproc.c (init_callproc): Check Vinstallation_directory
	even if !initialized.
d1038 1
a1038 1
1998-06-06  Richard Stallman  <rms@@sucrose.ai.mit.edu>
d1040 1
a1040 6
	* syntax.c (prev_char_comend_first): New function.
	(back_comment): Use that.  Carefully update syntax table position
	for each character that is fetched.
	(Fforward_comment): Likewise.
	(scan_lists): Likewise.
	(prev_char_comstart_first): New function.
d1042 1
a1042 2
	* syntax.c 
1998-06-05  Andrew Innes  <andrewi@@harlequin.co.uk>
d1044 1
a1044 11
	* w32.c: #include sys/file.h
	(sys_access): Provide our own implementation which recognizes D_OK.
	(is_exec): New function.
	(stat): Use it.
	(init_environment): Set TMPDIR to an existing directory.
	Abort if none of the usual places is available.
	(sys_rename): On Windows 95, choose a temp name that
	includes the original file's base name and use an explicit loop
	rather than calling mktemp.  Only attempt to unlink the newname if
	the rename fails, rather than second-guessing whether the old and
	new names refer to the same file.
d1046 1
a1046 3
	* fileio.c (Finsert_file_contents): Always update
 	Vlast_coding_system_used when we actually perform IO.
	(Fwrite_region): Update documentation.
d1048 1
a1048 1
1998-06-03  Richard Stallman  <rms@@gnu.org>
d1050 1
a1050 1
	* emacs.c (main): Don't implement --version if not initialized.
d1052 1
a1052 9
	* intervals.c (create_root_interval): Initialize position to 0
	for a string.
	(interval_start_pos): New function.
	(find_interval): Handle string positions starting at 0.
	(adjust_intervals_for_insertion): Likewise.
	(adjust_intervals_for_deletion): Likewise.
	(compare_string_intervals): Likewise.
	(graft_intervals_into_buffer): Set `position' in reproduce_tree value.
	(copy_intervals): Init `position' to 0.
d1054 1
a1054 6
	* textprop.c: Handle the new convention that `position' values
	in a string's intervals start from zero.
	(validate_interval_range, interval_of, Fnext_property_change)
	(property_change_between_p, Fnext_single_property_change)
	(Fprevious_property_change, Fprevious_single_property_change):
	(Ftext_property_any, Ftext_property_not_all): Implement that.
d1056 2
a1057 1
	* textprop.c: Undo previous change.
d1059 1
a1059 2
	* coding.c (code_convert_string_norecord): New function.
	Does encoding or decoding but doesn't set Vlast_coding_system_used.
d1061 2
a1062 2
	* coding.h (DECODE_FILE, ENCODE_FILE):
	Use code_convert_string_norecord.
d1064 2
a1065 1
1998-06-02  Richard Stallman  <rms@@gnu.org>
d1067 2
a1068 2
	* sysdep.c (sys_subshell): Cast arg to chdir.
	(init_sys_modes): Cast arg to setbuf or setvbuf.
d1070 4
a1073 1
	* keyboard.c (syms_of_keyboard): Doc fix for suggest-key-bindings.
d1075 1
a1075 1
1998-06-02  Ken'ichi Handa  <handa@@melange.gnu.org>
d1077 4
a1080 2
	* charset.c (string_to_non_ascii_char): Don't check the arg
	EXCLUDE_TAIL_GARBAGE for an invalid composite characters.
d1082 1
a1082 1
1998-06-01  Ken'ichi Handa  <handa@@melange.gnu.org>
d1084 2
a1085 1
	* coding.c (detect_coding_mask): Initilize local variable C.
d1087 2
a1088 1
1998-06-01  Richard Stallman  <rms@@gnu.org>
d1090 2
a1091 1
	* emacs.c (main): Test `initialized' before clearing *Messages*.
d1093 1
a1093 1
1998-06-01  Karl Heuer  <kwzh@@gnu.org>
d1095 1
a1095 1
	* s/aix4.h (SOCKLEN_TYPE): Define as int.
d1097 1
a1097 1
	* callproc.c (Fcall_process): Avoid initializer on auto struct.
d1099 3
a1101 1
1998-06-01  Andrew Innes  <andrewi@@mescaline.gnu.org>
d1103 2
a1104 1
	* s/ms-w32.h: Use 1 as explicit value of empty #defines.
d1106 7
a1112 1
	* makefile.nt (LOCAL_FLAGS): Define HAVE_NTGUI if appropriate.
d1114 1
a1114 1
1998-05-31  Karl Heuer  <kwzh@@gnu.org>
d1116 5
a1120 2
	* doprnt.c (doprnt1): Fix char signedness mismatches.
	* fileio.c (Finsert_file_contents): Likewise.
d1122 2
a1123 1
1998-05-31  Richard Stallman  <rms@@gnu.org>
d1125 1
a1125 2
	* dispnew.c (Fredraw_frame): Don't erase frame or its glyph records
	if it hasn't got any.
d1127 5
a1131 1
1998-05-30  Geoff Voelker  <voelker@@cs.washington.edu>
d1133 1
a1133 1
	* w32proc.c (sys_spawnve): Place Emacs pid in EM_PARENT_PROCESS_ID.
d1135 1
a1135 4
	* w32.c (sys_rename): Handle filenames with accented characters.
	(stat): Handle "c:/.." and "/.." specially.
	
	* unexw32.c (w32_fatal_reload_error): Update error message.
d1137 1
a1137 1
1998-05-30  Karl Heuer  <kwzh@@gnu.org>
d1139 1
a1139 1
	* Makefile.in (distclean): Delete config.stamp, stamp-oldxmenu.
d1141 1
a1141 2
	* window.c (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fix.
	* charset.c (syms_of_charset): Put \n\ at eol of docstring.
d1143 1
a1143 1
1998-05-29  Richard Stallman  <rms@@gnu.org>
d1145 4
a1148 5
	* textprop.c (Fnext_property_change): Properly offset interval
	position for string when comparing with LIMIT.
	(property_change_between_p): Likewise.
	(Fnext_single_property_change, Fprevious_property_change): Likewise.
	(Fprevious_single_property_change): Likewise.
d1150 1
a1150 1
1998-05-28  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1152 2
a1153 2
	* keyboard.c (command_loop_1): In shortcuts for forward-char etc.,
	use FETCH_CHAR not FETCH_BYTE.
d1155 2
a1156 1
1998-05-28  Andrew Innes  <andrewi@@harlequin.co.uk>
d1158 1
a1158 4
	* lread.c (read1): Swap saved_doc_string_length and
	prev_saved_doc_string_length.
	(read_list): Negate docstring position if negative before checking
	against saved_doc_string_length et al.
d1160 3
a1162 1
1998-05-28  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1164 1
a1164 7
	* lread.c: Remember the last TWO strings skipped with #@@.
	(prev_saved_doc_string*): New variables.
	(Fload): Initalize prev_saved_doc_string.
	(read1): Copy saved_doc_string to prev_saved_doc_string
	before storing a new string in saved_doc_string.
	(read_list): Look in prev_saved_doc_string as well as
	in saved_doc_string.
d1166 1
a1166 1
1998-05-25  Andrew Innes  <andrewi@@harlequin.co.uk>
d1168 1
a1168 1
	* doc.c (get_doc_string): Make non-static.
d1170 1
a1170 1
	* lisp.h: Add prototype for get_doc_string.
d1172 1
a1172 7
	* lread.c (read_vector): Add bytecodeflag parameter, which is
 	nonzero when reading a bytecode object.  If
 	`load-force-doc-strings' is t when reading a lazily-loaded
 	bytecode vector, the loaded docstring must be treated as unibyte
 	and passed to Fread to obtain the actual bytecode string and
 	constants vector.
	(read1): Add extra parameter to read_vector calls.
d1174 2
a1175 5
	(read1): Enable saving of doc strings on WINDOWSNT.
	(read_list): Call get_doc_string instead of read_doc_string, when
 	forced to load doc strings.
	
1998-05-25  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d1177 2
a1178 1
	* s/gnu-linux.h (setpgrp): Remove extra parens around parameters.
d1180 1
a1180 2
	* xterm.c (XTread_socket): Fix second argument of
	x_any_window_to_frame.
d1182 3
a1184 1
	* print.c (print) <Lisp_Cons>: Detect circular list.
d1186 1
a1186 1
1998-05-25  Kenichi Handa  <handa@@etl.go.jp>
d1188 1
a1188 2
	* coding.c (detect_coding_system): Treat CODING_EOL_INCONSISTENT
	like CODING_EOL_UNDECIDED.
d1190 2
a1191 10
	* coding.c (ascii_skip_code): New variable.
	(detect_coding_mask): Skip ASCII codes at the head according to
	ascii_skip_code.
	(coding_priorities): New variable.
	(Fset_coding_priority_internal): New function.
	(detect_coding): Call set_coding_mask with coding_priorities as
	arg CODING.
	(init_coding_once): Initialize ascii_skip_code.
	(syms_of_coding): Declare set-coding-priority-internal as a Lisp
	function.
d1193 3
a1195 1
1998-05-25  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1197 1
a1197 1
	* config.in (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE.
d1199 3
a1201 1
	* lisp.h (CHAR_TABLE_TRANSLATE): New macro.
d1203 3
a1205 1
1998-05-24  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1207 1
a1207 2
	* window.c (Fdelete_windows_on): For FRAME, change t to nil
	and nil to t, but don't change other values.
d1209 1
a1209 2
	* xdisp.c (message_dolog): Do set windows_or_buffers_changed,
	if *Messages* is displayed in a window.
d1211 1
a1211 1
1998-05-22  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1213 1
a1213 2
	* indent.c (compute_motion): Check for past vpos/hpos target
	before skipping invisible chars.
d1215 2
a1216 1
	* buffer.c (Fother_buffer): Doc fix.
d1218 2
a1219 1
	* window.c (window_loop): Pass new arg to Fother_buffer.
d1221 1
a1221 3
	* frame.c (frame_buffer_predicate): New arg FRAME.
	(frame_buffer_list, set_frame_buffer_list): Likewise.
	(make_frame): Pass new arg to Fother_buffer.
d1223 2
a1224 5
	* buffer.c (Fother_buffer): New arg FRAME.
	Pass it to frame_buffer_list, frame_buffer_predicate.
	Calls changed.
	(record_buffer): Pass selected frame to them
	and set_frame_buffer_list.
d1226 1
a1226 2
	* lisp.h (frame_buffer_predicate, frame_buffer_list)
	(set_frame_buffer_list, Fother_buffer): Decls changed.
d1228 1
a1228 5
	* window.c (select_window_1): New subroutine, from Fselect_window.
	(Fselect_window): Use select_window_1.
	(temp_output_buffer_show): Use select_window_1.
	
1998-05-22  Kenichi Handa  <handa@@etl.go.jp>
d1230 1
a1230 2
	* ccl.c: Change term "character translation table" to "translation
	table".
d1232 1
a1232 6
	* charset.c: Change term "character translation table" to
	"translation table".
	(string_to_non_ascii_char): New arg EXCLUDE_TAIL_GARBAGE.  Caller
	changed.
	(Funibyte_char_to_multibyte): Doc-string fixed.
	(syms_of_charset): Doc-string fixed.
d1234 2
a1235 2
	* charset.h (STRING_CHAR_AND_CHAR_LENGTH): New macro.
	(string_to_non_ascii_char): Adjusted for the new arg.
d1237 1
a1237 2
	* coding.c: Change term "character translation table" to
	"translation table".
d1239 2
a1240 2
	* coding.h: Change term "character translation table" to
	"translation table".
d1242 4
a1245 3
	* print.c (print_string): Don't ignore garbage bytes following a
	multibyte characters.
	(print): Likewise.
d1247 4
a1250 1
1998-05-22  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1252 3
a1254 1
	* search.c (shrink_regexp_cache): New function.
d1256 2
a1257 1
	* alloc.c (Fgarbage_collect): Call shrink_regexp_cache.
d1259 1
a1259 1
1998-05-20  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1261 1
a1261 2
	* editfns.c (Fchar_after): Make nil fully equivalent to (point) as arg.
	(Fchar_before): Likewise.
d1263 5
a1267 1
1998-05-20  Eli Zaretskii  <eliz@@is.elta.co.il>
d1269 1
a1269 2
	* fileio.c (Ffile_name_directory, Ffile_name_nondirectory)
	[DOS_NT]: Handle the special construct "/:" when followed by d:foo.
d1271 2
a1272 1
	* buffer.c (init_buffer): Support DOS_NT absolute file names.
d1274 1
a1274 1
1998-05-20  Kenichi Handa  <handa@@etl.go.jp>
d1276 1
a1276 3
	* charset.c (find_charset_in_str): New arg CMPCHARP.
	(Ffind_charset_region): Call find_charset_in_str with CMPCHARP 0.
	(Ffind_charset_string): Likewise.
d1278 2
a1279 1
	* charset.h (find_charset_in_str): Number of arguments fixed.
d1281 2
a1282 2
	* coding.c (shrink_decoding_region): No short cut by
	coding->heading_ascii if eol conversion is necessary.
d1284 1
a1284 3
	* fns.c (Fstring_make_multibyte): Call CHECK_STRING.
	(Fstring_make_unibyte, Fstring_as_unibyte, Fstring_as_multibyte):
	Likewise.
d1286 2
a1287 3
	* xselect.c (lisp_data_to_selection_data): Call
	find_charset_in_str with CMPCHARP 1 to encode Lisp string if it
	contains a composite character.
d1289 1
a1289 1
1998-05-19  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1291 2
a1292 1
	* minibuf.c (syms_of_minibuf): Doc fix.
d1294 1
a1294 4
	* window.c (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fixes.
	
	* frame.c (make_frame_visible_1): New function.
	(Fmake_frame_visible): Use that.
d1296 1
a1296 2
	* xdisp.c (redisplay_window): Don't use window->start
	if it is out of range of BEGV/ZV.
d1298 1
a1298 1
1998-05-18  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1300 2
a1301 1
	* minibuf.c (read_minibuf): If history list var is void, make it nil.
d1303 1
a1303 1
1998-05-18  Ken'ichi Handa  <handa@@melange.gnu.org>
d1305 1
a1305 1
	* syntax.c (skip_chars): Fix previous change.
d1307 2
a1308 1
1998-05-17  Kenichi HANDA  <handa@@etl.go.jp>
d1310 3
a1312 3
	* ccl.c: Change term translation to code conversion, then change
	terms unify/unification to translate/translation respectively
	throughtout the file.
d1314 5
a1318 4
	* charset.c: Change terms unify/unification to
	translate/translation respectively throughtout the file.
	(ONE_BYTE_CHAR_WIDTH): Delete unnecessary continuation line at the
	tail.
d1320 6
a1325 3
	* charset.h: Change terms unify/unification to
	translate/translation respectively throughtout the file.
	(GET_TRANSLATION_TABLE): Name changed from UNIFICATION_ID_TABLE.
d1327 2
a1328 10
	* coding.c: Change terms unify/unification to
	translate/translation respectively throughtout the file.
	(encode_coding_iso2022): Fix bug in encoding a text ending by a
	composite character.
	(check_composing_code): If we are decoding the last block of data,
	return 0 even if the source doesn't end by an escape sequence
	which terminates the current composing sequence.
	(decode_coding_iso2022): Decode correctly even if the source
	doesn't end by an escape sequence which terminates the current
	composing sequence.
d1330 1
a1330 2
	* coding.h: Change terms unify/unification to
	translate/translation respectively throughout the file.
d1332 2
a1333 2
	* fns.c (concat): Fix bug in concatinating a list of multibyte and
	unibyte characters.
d1335 1
a1335 2
	* lisp.h (Vnonascii_translation_table): Name changed from
	Vnonascii_translate_table.
d1337 1
a1337 2
	* syntax.c (skip_chars): Fix bug in handling a range which
	contains multibyte characters.
d1339 1
a1339 1
1998-05-17  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1341 1
a1341 2
	* filelock.c (get_boot_time): Scan the whole wtmp file
	to find the most recent reboot.
d1343 1
a1343 3
	* window.c (Fselect_window): Doc fix.
	(temp_output_buffer_show): Make the temp buffer current
	before running Qtemp_buffer_show_hook.
d1345 2
a1346 2
	* fileio.c (Fexpand_file_name): Change conditional
	in previous change from WINDOWSNT to DOS_NT.
d1348 1
a1348 1
1998-05-16  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1350 2
a1351 1
	* buffer.h (struct buffer): New slot display_time.
d1353 1
a1353 4
	* buffer.c (syms_of_buffer): Set up Lisp variable buffer-display-time.
	Doc fixes.
	(reset_buffer): Initialize display_time slot.
	(init_buffer_once): Initialize display_time slot.
d1355 1
a1355 1
	* window.c (Fset_window_buffer): Update buffer's display_time.
d1357 2
a1358 3
	* insdel.c (insert_1_both, insert_from_string_1, replace_range)
	(insert_from_buffer_1, adjust_before_replace, adjust_after_replace): 
	Don't copy text being deleted, if undo is disabled.
d1360 2
a1361 5
	* lread.c (readchar): Use readchar_backlog again
	to read a character byte by byte, if its byte sequence
	does not really match the character code.
	(unreadchar): Handle readchar_backlog.
	(readevalloop, Fread): Initialize readchar_backlog to -1.
d1363 1
a1363 1
1998-05-15  Geoff Voelker  <voelker@@cs.washington.edu>
d1365 1
a1365 3
	* fileio.c (Fexpand_file_name) [WINDOWSNT]: Be careful not to
 	concatenate the directory prefix and file name to accidentally
 	create a network share name.
d1367 1
a1367 1
1998-05-14  Andrew Innes  <andrewi@@harlequin.co.uk>
d1369 2
a1370 6
	* w32xfns.c (interrupt_handle): New variable.
	(init_crit): Initialize it.
	(delete_crit): Cleanup on exit.
	(signal_quit): New function.  Signal any threads that are blocked
	on a "system" call (provided they have been specially written to
	check for this), so the call can fail with EINTR as on Unix.
d1372 5
a1376 1
	* w32term.h (signal_quit): Add prototype.
d1378 1
a1378 1
	* w32fns.c (w32_wnd_proc): Call signal_quit when C-g is received.
d1380 2
a1381 3
	* w32proc.c (sys_select): Always wait on interrupt_handle, so that
	user can break out of `accept-process-input' (for instance) by
	typing C-g.
d1383 2
a1384 1
1998-05-14  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1386 1
a1386 3
	* keyboard.c (read_char): If redisplay is preempted,
	try swallow_events; if that clears input_pending,
	finish the redisplay.
d1388 2
a1389 1
1998-05-14  Geoff Voelker  <voelker@@cs.washington.edu>
d1391 1
a1391 1
	* w32term.c (w32_ring_bell): Flash window correctly.
d1393 1
a1393 1
1998-05-13  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1395 1
a1395 2
	* fileio.c (Finsert_file_contents): Don't check non-regular
	files for a coding: specification.
d1397 2
a1398 1
1998-05-13  Inge Frick  <inge@@nada.kth.se>
d1400 1
a1400 2
	* keyboard.c (parse_menu_item): Removed unnecessary gcproing.
	Fix a test of inmenubar.
d1402 2
a1403 1
1998-05-13  Eli Zaretskii  <eliz@@mescaline.gnu.org>
d1405 1
a1405 2
	* msdos.c (init_environment): Set TMPDIR to an existing
	directory.  Abort if none of the usual places is available.
d1407 1
a1407 1
1998-05-13  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1409 1
a1409 2
	* syntax.c (skip_chars): When fetching char after \,
	don't fail to set c_leading_code.
d1411 7
a1417 1
1998-05-12  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1419 2
a1420 2
	* fileio.c (Finsert_file_contents): Check that a -*- coding: -*- spec
	or a local variables list exists, before Vset_auto_coding_function.
d1422 1
a1422 2
	* minibuf.c (Fminibuffer_complete_word):
	Fix the string-comparison loop.
d1424 2
a1425 3
	* search.c (search_buffer): Set search regs for all success
	with an empty string.
	(set_search_regs): Clear out all regs except 0.
d1427 2
a1428 2
	* minibuf.c (Fall_completions, Ftry_completion):
	Compare char sizes, not STRING_BYTES.
d1430 1
a1430 1
1998-05-12  Inge Frick  <inge@@nada.kth.se>
d1432 2
a1433 4
	* keyboard.c (parse_menu_item): Argument inmenubar < 0 now means
	parsing a keyboard menu item.
	(read_char_minibuf_menu_prompt): Use `parse_menu_item' to understand
	new menu item format.
d1435 1
a1435 1
1998-05-12  Andrew Innes  <andrewi@@harlequin.co.uk>
d1437 2
a1438 2
	* w32.c (stat, get_long_basename): Fail if filename contains any
	characters that are illegal in file names.
d1440 1
a1440 1
1998-05-11  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1442 1
a1442 5
	* minibuf.c (assoc_for_completion): Use Fcompare_strings.
	(test_completion): In obarray, try both unibyte and multibyte strings.
	(read_minibuf): Convert unibyte prompt to multi if minibuffer is multi.
	(Fdisplay_completion_list): Convert unibyte to strings to multibyte
	to conform to the buffer.
d1444 2
a1445 4
	* fileio.c (Finsert_file_contents): Don't use the fast replace code
	if coding needs eol conversion.
	(Finsert_file_contents) [DOS_NT]: When setting buffer_file_type,
	if code conversion is needed, file is not binary.
d1447 1
a1447 2
	* xdisp.c (redisplay_window): Handle scroll_step along with
	scroll_conservatively.  Fix 1-off error checking the limit for them.
d1449 2
a1450 1
	* filelock.c (unlock_file): Encode the file name. 
d1452 2
a1453 1
1998-05-10  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1455 1
a1455 2
	* buffer.c (Fset_buffer_multibyte): Error if marker is put
	on buffer's marker-chain while we have temporarily put nil there.
d1457 3
a1459 5
	* marker.c (unchain_marker): Abort if the marker is not
	in its buffer's chain.
	(buf_bytepos_to_charpos): Fix assignment of `record'
	when scanning from below.
	Don't create a marker if buffer's marker chain is empty.
d1461 1
a1461 4
	* coding.c (code_convert_region1): Set Vlast_coding_system_used.
	(code_convert_string1): Likewise.
	(Fdecode_coding_region, Fencode_coding_region): Doc fixes.
	(Fdecode_coding_string, Fencode_coding_string): Doc fixes.
d1463 1
a1463 1
	* Makefile.in (TAGS): Specify directory when running etags.
d1465 2
a1466 1
1998-05-09  Richard Stallman  <rms@@psilocin.ai.mit.edu>
d1468 1
a1468 1
	* bytecode.c (Fbyte_code): Don't use Bmark.
d1470 1
a1470 2
	* .gdbinit (xstring): Handle unibyte strings.
	(xchartable, xboolvector): New commands.
d1472 1
a1472 2
	* xdisp.c (redisplay_window): Don't use last_point_x and last_point_y
	if cursor_in_echo_area.
d1474 1
a1474 3
	* minibuf.c (Qbuffer_name_history): New variable.
	(syms_of_minibuf): Initialize it.
	(Fread_buffer): Use that history list.
d1476 2
a1477 1
1998-05-09  Richard Stallman  <rms@@psilocin.gnu.org>
d1479 2
a1480 2
	* syntax.c (scan_lists, scan_sexps_forward): Move complex expressions
	outside of the switch statement.
d1482 1
a1482 1
1998-05-09  Ken'ichi Handa  <handa@@melange.gnu.org>
d1484 5
a1488 1
	* indent.c (compute_motion): Fix previous change.
d1490 3
a1492 1
1998-05-08  Kenichi Handa  <handa@@etl.go.jp>
d1494 1
a1494 1
	* coding.c (detect_coding_mask): Check also coding-category-binary.
d1496 1
a1496 1
1998-05-08  Richard Stallman  <rms@@psilocin.gnu.org>
d1498 1
a1498 3
	* doc.c (get_doc_string): New arg UNIBYTE
	Maybe use make_unibyte_string.  All callers changed.
	(read_doc_string): Specify 1 for UNIBYTE.
d1500 2
a1501 5
	* process.c (Fstart_process): Remove the special case for
	unibyte, for initializing the process coding systems.
	Instead, use the normal multibyte code, but check
	BUFFER's value and the default value of enable-multibyte-characters.
	(Fopen_network_stream): Likewise.
d1503 2
a1504 1
1998-05-08  Ken'ichi Handa  <handa@@melange.gnu.org>
d1506 46
a1551 2
	* indent.c (compute_motion): Fix, in a different way, the bug of
	handling wide-column character around right margin.
d1553 1
a1553 1
1998-05-07  Richard Stallman  <rms@@psilocin.gnu.org>
d1555 1
a1555 1
	* indent.c (compute_motion): Undo both May 7 changes.
d1557 4
a1560 1
	* doprnt.c (doprnt1): Cast arg to CHAR_STRING.
d1562 2
a1563 1
1998-05-07  Andrew Innes  <andrewi@@harlequin.co.uk>
d1565 1
a1565 2
	* callproc.c (Fcall_process): Fix test for when to call
	Ffind_operation_coding_system.
d1567 3
a1569 1
1998-05-07  Ken'ichi Handa  <handa@@melange.gnu.org>
d1571 1
a1571 1
	* indent.c (compute_motion): Fix previous change.
d1573 1
a1573 1
1998-05-07  Richard Stallman  <rms@@psilocin.gnu.org>
d1575 1
a1575 2
	* search.c (Freplace_match): Fix the loop for copying text
	from a string, in handling lastpos and pos.
d1577 1
a1577 1
1998-05-07  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d1579 1
a1579 3
	* data.c (set_internal): Properly compare lisp objects.
	(Fmakunbound): Likewise.
	* lread.c (Fintern): Properly compare lisp objects.
d1581 1
a1581 1
1998-05-07  Andrew Innes  <andrewi@@harlequin.co.uk>
d1583 1
a1583 3
	* fileio.c (Fexpand_file_name) [DOS_NT]: Note when special escape
	prefix /: is present, and reinsert after name has been expanded.
	Only recognize drive specifier at beginning of name.
d1585 1
a1585 2
	* fileio.c (Fexpand_file_name):
	Don't strip trailing slash if newdir is just /.
d1587 1
a1587 1
1998-05-07  Eli Zaretskii  <eliz@@mescaline.gnu.org>
d1589 3
a1591 2
	* process.c (init_process, syms_of_process) [not subprocesses]:
	Make definition consistent with prototypes on lisp.h
d1593 1
a1593 1
1998-05-07  Kenichi Handa  <handa@@etl.go.jp>
d1595 1
a1595 2
	* indent.c (compute_motion): Fix bug of handling wide-column
	character around right margin.
d1597 1
a1597 1
1998-05-07  Richard Stallman  <rms@@psilocin.gnu.org>
d1599 1
a1599 1
	* buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix.
d1601 2
a1602 1
1998-05-07  Kenichi Handa  <handa@@etl.go.jp>
d1604 1
a1604 2
	* callproc.c (Fcall_process): If we must display received data on
	the fly, don't wait until a buffer is filled.
d1606 1
a1606 1
1998-05-05  Richard Stallman  <rms@@psilocin.gnu.org>
d1608 1
a1608 1
	* fileio.c (barf_or_query_if_file_exists): Encode file name.
d1610 1
a1610 1
1998-05-04  Kenichi HANDA  <handa@@etl.go.jp>
d1612 4
a1615 2
	* coding.c (encode_coding_iso2022): Don't skip a code following
	some invalid code.
d1617 1
a1617 1
1998-05-04  Richard Stallman  <rms@@psilocin.gnu.org>
d1619 3
a1621 2
	* fileio.c (Finsert_file_contents): Don't use gap pos to set point
	if del_range_byte deleted 0 characters.
d1623 5
a1627 2
	* search.c (boyer_moore): Check more reliably for ptr[1] being
	out of range.  Use pat_end to point at the pattern's end.
d1629 1
a1629 4
	* emacs.c (main): Call the syms_of_... and keys_of_... functions
	earlier, before init_vms_input and init_display.
	
1998-05-04  E. Jay Berkenbilt  <ejb@@ql.org>
d1631 1
a1631 3
	* window.h (WINDOW_RIGHT_MARGIN): Don't subtract 1 from width when
	there are no vertical scrollbars and this is the rightmost window
	in the frame.
d1633 1
a1633 1
1998-05-04  Eli Zaretskii  <eliz@@mescaline.gnu.org>
d1635 1
a1635 5
	* lread.c (Fload): Rename dosmode to fmode and use it on all
	platforms.  Avoid calling fdopen only for WINDOWSNT, use fdopen
	for the the MSDOS version.
	(read1): Avoid recording doc strings positions only for WINDOWSNT,
	not for MSDOS.
d1637 2
a1638 1
1998-05-04  Andreas Schwab  <schwab@@delysid.gnu.org>
d1640 2
a1641 1
	* xterm.c: Include syssignal.h after lisp.h.
d1643 4
a1646 1
	* syssignal.h: Declare init_signals and add prototypes.
d1648 1
a1648 1
	* lisp.h: Declare init functions.
d1650 2
a1651 1
1998-05-03  Richard Stallman  <rms@@psilocin.gnu.org>
d1653 1
a1653 1
	* s/sunos4shr.h (LIBXMU): Don't bother testing CANNOT_DUMP.
d1655 6
a1660 5
	* Makefile.in (TAGS-LISP): New target.
	(${lispsource}TAGS): Target deleted.
	(tags): Depend on TAGS-LISP.
	(TAGS): Generate the TAGS file in the build dir.
	(lisptagsfiles): Variable deleted.
d1662 10
a1671 4
	* Makefile.in (shortnamesdir, cppdir): Vars deleted.
	(shortnames): Target deleted.
	(temacs): Don't use $(SHORT).
	(SHORT): Var deleted.
d1673 10
a1682 1
1998-05-02  Richard Stallman  <rms@@psilocin.gnu.org>
d1684 1
a1684 1
	* alloc.c (Fmake_bool_vector): Clear out extraneous bits at end.
d1686 1
a1686 1
	* lread.c (read1): Clear out extraneous bits at end of bool-vector.
d1688 1
a1688 3
	* search.c (compile_pattern_1): Declare raw_pattern as unsigned char *.
	Fix casts when assigning raw_pattern.
	Cast raw_pattern when calling re_compile_pattern.
d1690 1
a1690 1
1998-05-02  Hallvard B Furuseth  <h.b.furuseth@@usit.uio.no>
d1692 1
a1692 2
	* process.c (create_process): Add cast when calling encode_coding
	and another when storing buf into new_argv.
d1694 2
a1695 1
	* search.c (search_buffer): Fix casts when assigning raw_pattern.
d1697 1
a1697 1
	* editfns.c (Fformat): Fix casts when assigning buf.
d1699 4
a1702 1
	* lread.c (isfloat_string): Don't look at bytes before the string.
d1704 3
a1706 1
1998-05-02  Richard Stallman  <rms@@psilocin.gnu.org>
d1708 2
a1709 2
	* s/nextstep.h (HAVE_STRING_H): Add #undef.
	(NO_ABORT): Defined.
d1711 1
a1711 1
	* editfns.c (Finsert_char): Doc fix.
d1713 1
a1713 1
1998-05-02  Hrvoje Niksic  <hniksic@@srce.hr>
d1715 1
a1715 2
	* fileio.c (Fmake_temp_name): Improve randomness of generated file 
	names.
d1717 1
a1717 1
1998-05-01  Richard Stallman  <rms@@psilocin.gnu.org>
d1719 1
a1719 1
	* search.c (wordify): Do the second loop by chars, not by bytes.
d1721 3
a1723 1
1998-05-01  Kenichi Handa  <handa@@etl.go.jp>
d1725 1
a1725 2
	* coding.c (encode_coding_iso2022): If encoding a last block,
	reset graphic planes and registers.
d1727 1
a1727 1
1998-04-30  Geoff Voelker  <voelker@@cs.washington.edu>
d1729 7
a1735 4
	* keyboard.c (Qdrag_n_drop, drag_n_drop_syms, lispy_drag_n_drop_names) 
	New variables.
	(make_lispy_event): Handle drag_n_drop events.
	(syms_of_keyboard): Initialize new symbols.
d1737 1
a1737 2
	* w32fns.c (enum_font_cb2): Only ignore raster fonts when
	determining height and width.
d1739 1
a1739 1
	* termhooks.h (event_kind): New event type `drag_n_drop'.
d1741 1
a1741 6
	* makefile.nt (LIBS): Link in shell32.lib.
	
	* w32fns.c: Include shellapi.h.
	(w32_createwindow): Enable drag-n-drop on new windows.
	(w32_wnd_proc): Handle WM_DROPFILES messages.
	Disable drag-n-drop on closing windows.
d1743 1
a1743 3
	* w32term.c: Include shellapi.h.
	(construct_drag_n_drop): New function.
	(w32_read_socket): Handle WM_DROPFILES messages.	
d1745 1
a1745 1
1998-04-30  Skip Collins  <ColliBF1@@APLMSG.JHUAPL.EDU>
d1747 1
a1747 3
	* w32fns.c (msh_mousewheel): New variable.
	(w32_msg_pump): Register that Emacs accepts mousewheel events.
	(w32_wnd_proc): Check for mousewheel events.
d1749 3
a1751 2
	* w32term.c (msh_mousewheel): Declare.
	(w32_read_socket): Check for mousewheel events.
d1753 2
a1754 2
	* w32term.h (WM_MOUSEWHEEL): Define relative to WM_MOUSELAST.
	(MSH_MOUSEWHEEL): New macro.
d1756 1
a1756 1
1998-04-29  Richard Stallman  <rms@@psilocin.gnu.org>
d1758 1
a1758 2
	* indent.c (compute_motion): When invisible text cross TO,
	return TO, not the start of the invisible text.
d1760 1
a1760 5
	* process.c (Fset_process_inherit_coding_system_flag, Fstart_process): 
	Store inherit_coding_system_flag as a Lisp_Object.
	(Fopen_network_stream): Likewise.
	(Fprocess_inherit_coding_system_flag): Access it as Lisp_Object.
	(read_process_output): Likewise.
d1762 2
a1763 2
	* process.h (struct Lisp_Process):
	Make inherit_coding_system_flag a Lisp_Object.
d1765 1
a1765 1
1998-04-29  David Mosberger-Tang  <David.Mosberger@@acm.org>
d1767 3
a1769 3
	* unexelf.c [__alpha__ && !__NetBSD__ && !__OpenBSD__]:
	Include definition of HDRR structure that used to be in sym.h,
	instead of sym.h
d1771 1
a1771 1
1998-04-29  Andreas Schwab  <schwab@@delysid.gnu.org>
d1773 1
a1773 1
	* xfns.c: Fix -Wimplicit warnings.
d1775 2
a1776 4
	* xdisp.c (redisplay_window): Update STARTP_BYTE alongside with
	STARTP.  New variable scroll_margin_bytepos, to parallel
	scroll_margin_pos.  Fix arguments of pos_tab_offset to agree with
	the first argument of compute_motion.
d1778 3
a1780 1
	* window.c (make_window): Initialize last_point field.
d1782 26
a1807 3
	* sysdep.c (emacs_get_tty): Zero out termios structure before
	getting attributes to get consistent values for holes.
	(emacs_set_tty): Likewise.
d1809 2
a1810 1
	* lisp.h: Declare Fcompare_strings.
d1812 3
a1814 1
	* fns.c: Include <time.h> for time.
d1816 1
a1816 3
	* emacs.c (main): Use Vbuffer_alist instead of Fbuffer_list.
	(syms_of_emacs): Fix doc of Vsignal_USR1_hook and
	Vsignal_USR2_hook.
d1818 2
a1819 1
	* coding.c (setup_coding_system): Properly check for nil.
d1821 1
a1821 1
1998-04-29  Richard Stallman  <rms@@psilocin.gnu.org>
d1823 1
a1823 1
	* editfns.c (Fcompare_buffer_substrings): Rewrite to loop by chars.
d1825 1
a1825 2
	* coding.h (Vfile_name_coding_system)
	(Vdefault_file_name_coding_system): Declarations added.
d1827 2
a1828 4
	* emacs.c (abort): Omit this definition, if NO_ABORT.
	End by calling exit, to avoid warning.
	
1998-04-28  Richard Stallman  <rms@@psilocin.gnu.org>
d1830 1
a1830 2
	* filelock.c: Include coding.h.
	(lock_file): Encode the file name, to make lock file name.
d1832 2
a1833 2
	* editfns.c (Fgap_position, Fgap_size): New functions.
	(syms_of_editfns): defsubr them.
d1835 2
a1836 1
	* filelock.c (lock_file): gcpro `fn'.
d1838 2
a1839 3
	* insdel.c (insert_1_both): Call prepare_to_modify_buffer before
	moving or making gap.
	(insert_from_string_1): Don't check max buffer size here.
d1841 2
a1842 1
	* data.c (Flsh, Fash): Handle out-of-range shift counts reasonably.
d1844 1
a1844 1
1998-04-28  Dave Love  <d.love@@dl.ac.uk>
d1846 2
a1847 2
	* s/aix4.h (HAVE_STRING_H): Add #undef.
	(HAVE_WAIT_HEADER): Defined.
d1849 2
a1850 1
1998-04-28  Richard Stallman  <rms@@psilocin.gnu.org>
d1852 2
a1853 2
	* emacs.c (main): Fix bug report address in --help message.
	(main): Doc --multibyte and --unibyte in --help message.
d1855 8
a1862 1
	* fns.c [HAVE_MENUS]: Include xterm.h only if HAVE_X_WINDOWS.
d1864 2
a1865 1
1998-04-28  Eli Zaretskii  <eliz@@mescaline.gnu.org>
d1867 1
a1867 5
	* Makefile.in (callproc.o, print.o, cmds.o, dispnew.o, fileio.o,
	frame.o, keyboard.o, minibuf.o, process.o, scroll.o, sysdep.o,
	term.o, w16select.o, window.o, xdisp.o, xfaces.o, lread.o): Depend
	on msdos.h.
	(print.o): Depend on dispextern.h.
d1869 2
a1870 1
1998-04-28  Andreas Schwab  <schwab@@delysid.gnu.org>
d1872 1
a1872 2
	* process.c (Fset_process_inherit_coding_system_flag):
	Fix test for non-nil FLAG.
d1874 1
a1874 2
	* lread.c: Fix -Wimplicit warnings.
	(readevalloop): Fix type of UNIBYTE parameter.
d1876 1
a1876 1
1998-04-27  Richard Stallman  <rms@@psilocin.gnu.org>
d1878 1
a1878 2
	* xterm.c (XTwrite_glyphs): Don't advance cursor X beyond limit.
	(XTcursor_to): Likewise.
d1880 3
a1882 1
	* blockinput.h (reinvoke_input_signal): Don't use prototype decl.
d1884 1
a1884 1
1998-04-27  Hrvoje Niksic  <hniksic@@srce.hr>
d1886 1
a1886 1
	* fns.c (Fload_average): New arg USE_FLOATS.
d1888 1
a1888 1
1998-04-27  Eli Zaretskii  <eliz@@mescaline.gnu.org>
d1890 3
a1892 2
	* fns.c [HAVE_MENUS]: Include xterm.h only if HAVE_WINDOW_SYSTEM
	is defined.
d1894 1
a1894 1
	* callproc.c, fileio.c: Include msdos.h after lisp.h.
d1896 1
a1896 7
	* msdos.c (IT_ring_bell, IT_write_glyphs, IT_clear_end_of_line,
	IT_clear_screen, IT_clear_to_end, IT_clear_to_end, IT_cursor_to,
	IT_cmgoto, IT_reassert_line_highlight, IT_change_line_highlight,
	IT_update_begin, IT_update_end, IT_set_terminal_modes,
	IT_reset_terminal_modes, IT_set_terminal_window,
	pixel_to_glyph_coords, IT_menu_display):  Bring definitions in
	accordance with prototype declarations.
d1898 3
a1900 2
	* msdos.h [!HAVE_X_WINDOWS]: Add a dummy typedef for XRectangle
	and prototypes for external functions.
d1902 1
a1902 1
1998-04-26  Richard Stallman  <rms@@psilocin.gnu.org>
d1904 2
a1905 1
	* fns.c (Fcompare_strings): Doc fix.
d1907 4
a1910 5
	* minibuf.c (minibuf_conform_representation): New function.
	(Ftry_completion): Use it to return multibyte string
	if and only if the completion table has a multibyte string.
	(Fdisplay_completion_list): 
	Convert string to unibyte before displaying it, if default is unibyte.
d1912 1
a1912 1
	* eval.c (find_handler_clause): Cast Fbacktrace to proper type.
d1914 1
a1914 1
	* data.c (Fmakunbound): Test keywordness only in initial obarray.
d1916 2
a1917 1
1998-04-26  Erik Naggum  <erik@@naggum.no>
d1919 1
a1919 1
	* emacs.c (standard_args): Apply --unibyte/multibyte after --nw.
d1921 1
a1921 1
	* lisp.h: Include initial_obarray from lread.c
d1923 1
a1923 1
	* data.c (set_internal): Test keywordness only in initial obarray.
d1925 1
a1925 1
	* lread.c (Fintern): Initialize keywords only in initial obarray.
d1927 1
a1927 1
1998-04-25  Richard Stallman  <rms@@psilocin.gnu.org>
d1929 1
a1929 1
	* sysdep.c (croak): Add forward declaration.
d1931 1
a1931 3
	* xfns.c (x_set_foreground_color, x_set_background_color)
	(x_set_mouse_color, x_set_cursor_color): Don't call unload_color
	if same pixel is used in another slot in the frame.
d1933 2
a1934 1
	* xterm.c (x_display_cursor): Use FRAME_CURSOR_X_LIMIT.
d1936 5
a1940 2
	* dispnew.c (change_frame_size_1): Use FRAME_CURSOR_X_LIMIT.
	(update_frame): Likewise.
d1942 1
a1942 1
	* frame.h (FRAME_CURSOR_X_LIMIT): New macro.
d1944 1
a1944 1
1998-04-25  Erik Naggum  <erik@@naggum.no>
d1946 1
a1946 1
	* lread.c (Fread_from_string): Initialize startval and endval.
d1948 1
a1948 1
1998-04-24  Richard Stallman  <rms@@psilocin.gnu.org>
d1950 1
a1950 2
	* lread.c (read1): Allow multibyte and unibyte together
	in one string.
d1952 1
a1952 3
	* xdisp.c (Qinhibit_point_motion_hooks): New variable.
	(syms_of_xdisp): Init and staticpro it.
	(redisplay_window): Bind the symbol to t.
d1954 3
a1956 1
1998-04-24  Geoff Voelker  <voelker@@cs.washington.edu>
d1958 1
a1958 1
	* w32.c (sys_socket): Make sockets non-inheritable.
d1960 1
a1960 1
1998-04-23  Andrew Innes  <andrewi@@harlequin.co.uk>
d1962 6
a1967 5
	* coding.c (shrink_decoding_region): Do not consider LF as ascii
 	if preceded by CR, since that confuses eol decoding.
	(code_convert_region): When conversion fails with
 	CODING_FINISH_INSUFFICIENT_SRC, was overwriting src with garbage
 	from dst instead of copying from src to dst.
d1969 1
a1969 1
	* fileio.c (Fcopy_file): Skip dev/inode check on Windows.
d1971 1
a1971 2
	* lread.c (dir_warning): Don't log a warning if Emacs hasn't
	finished initializing.
d1973 1
a1973 1
	* s/ms-w32.h (utimbuf): New macro.
d1975 4
a1978 5
	* w32.c (fstat, utime): New functions; these are provided in
 	conjunction with stat to make handling of file timestamps
 	consistent.
	(convert_from_time_t): Fix calculation of low-order bits.
	(sys_unlink): Allow read-only files to be unlinked as on Unix.
d1980 1
a1980 4
	* w32fns.c (x_set_vertical_scroll_bars): Put scroll bars on the
	right, as is conventional on MS-Windows.
	(w32_wnd_proc): Add code to draw popup menu titles.
	Ensure mouse capture is released before running popup menu.
d1982 1
a1982 3
	* w32term.c (w32_read_socket): Don't misinterpret WM_PAINT message
 	as an expose event if the repaint region is actually empty.  Also
 	use the standard menubar_selection_callback routine.
d1984 2
a1985 2
	* w32menu.c: Replace code with a new version written from scratch
 	based on xmenu.c; menu construction is now completely lazy.
d1987 2
a1988 1
	* w32proc.c (sys_kill): Fix indenting.
d1990 5
a1994 1
1998-04-23  Inge Frick  <inge@@nada.kth.se>
d1996 1
a1996 4
	* keyboard.c: (parse_menu_item): Support keywords :keys and
	:key-sequence.  Some changes to provide GC-protection. Some
	cosmetic changes.
	(syms_of_keyboard): Define new symbols `:keys' and `:key-sequence'.
d1998 2
a1999 1
1998-04-23  Richard Stallman  <rms@@psilocin.gnu.org>
d2001 1
a2001 1
	* Makefile.in (emacs.o): Depend on buffer.h.
d2003 2
a2004 1
	* charset.c (syms_of_charset): Doc fix for nonascii-insert-offset.
d2006 2
a2007 3
	* editfns.c (Fbuffer_substring): Doc fix.
	(Finsert_and_inherit_before_markers): Doc fix.
	(Finsert_and_inherit, Finsert_before_markers, Finsert): Doc fixes.
d2009 2
a2010 2
	* fns.c (Fstring_make_multibyte): Doc fix.
	(Fstring_make_unibyte): Doc fix.
d2012 5
a2016 1
1998-04-22  Richard Stallman  <rms@@psilocin.gnu.org>
d2018 1
a2018 1
	* charset.c (Funibyte_char_to_multibyte): Doc fix.
d2020 1
a2020 3
	* xfns.c (x_set_foreground_color): Call unload_color on the old color.
	(x_set_background_color, x_set_mouse_color): Likewise.
	(x_set_cursor_color, x_set_border_pixel): Likewise.
d2022 1
a2022 1
	* xfaces.c (unload_color): No longer static.
d2024 1
a2024 3
	* insdel.c (insert_from_string, insert_from_string_before_markers): 
	Don't special case LENGTH = 0.
	(insert_from_buffer): Likewise.
d2026 1
a2026 1
1998-04-22  Erik Naggum  <erik@@naggum.no>
d2028 4
a2031 1
	* filelock.c (get_boot_time): Remove extraneous semicolon.
d2033 2
a2034 1
	* lisp.h: Remove extraneous semicolon.
d2036 1
a2036 1
1998-04-22  Eli Zaretskii  <eliz@@delysid.gnu.org>
d2038 1
a2038 8
	* w16select.c (Fwin16_set_clipboard_data): Call UNBLOCK_INPUT
	before calling sit_for.  
	(Fwin16_get_clipboard_data, Fwin16_set_clipboard_data):	Balance
	the calls to BLOCK_INPUT and UNBLOCK_INPUT.
	(alloc_xfer_buf): If want_size is more than 1MB, return
	immediately with failure.
	(Fw16_set_clipboard_data, Fw16_get_clipboard_data): Replace win16
	with w16.
d2040 2
a2041 1
1998-04-21  Richard Stallman  <rms@@psilocin.gnu.org>
d2043 1
a2043 1
	* eval.c (Fsignal): Unconditionally do TOTALLY_UNBLOCK_INPUT.
d2045 1
a2045 1
	* dispnew.c (update_frame): Move echo area cursor into range.
d2047 1
a2047 1
1998-04-21  Eli Zaretskii  <eliz@@delysid.gnu.org>
d2049 1
a2049 5
	* callproc.c (Fcall_process) [MSDOS]: Call child_setup instead of
	run_msdos_command. 
	(child_setup) [MSDOS]: Call run_msdos_command here.
	(child_setup) [DOS_NT]: Get past drive letter in pwd.  Don't call
	close_load_descs, since we are not in a vfork.
d2051 2
a2052 3
	* msdos.c (run_msdos_command): Don't construct process
	environment, it's already done in child_setup.
	(run_msdos_command): Add ENVV to argument list.
d2054 1
a2054 1
1998-04-20  Richard Stallman  <rms@@psilocin.gnu.org>
d2056 2
a2057 3
	* emacs.c (main): Move the --unibyte code below
	the most basic initializations.
	Clear out *Messages* at that point.
d2059 1
a2059 3
	* lread.c (read_from_string_index_byte): New variable.
	(read_from_string_index): Now counts characters.
	(readchar, unreadchar, Fread_from_string): Changed accordingly.
d2061 1
a2061 9
	* lread.c (readchar): Read a multibyte char all at once
	from a buffer, marker or string.
	(unreadchar): Unread a multibyte char all at once.
	(read1): Properly handle non-escaped multibyte chars.
	They force a string to be multibyte.
	When reading direct from a file, any multibyte sequence means
	a multibyte string.
	Insist on MAX_LENGTH_OF_MULTI_BYTE_FORM bytes when checking
	for read_buffer full; this way need not check specially for multibyte.
d2063 1
a2063 3
	* emacs.c: Include buffer.h
	(main): When handling --unibyte, mark all existing
	buffers as unibyte; but don't handle it when dumping.
d2065 3
a2067 1
	* alloc.c (Fgarbage_collect): Don't truncate command-history here.
d2069 1
a2069 1
	* callint.c (Fcall_interactively): Truncate command-history here.
d2071 4
a2074 1
	* keyboard.c (Fcommand_execute): Truncate command-history here.
d2076 1
a2076 10
	* lread.c (readevalloop): New arg UNIBYTE.  Callers changed.
	Use it to bind load_convert_to_unibyte.
	(Feval_buffer): New arg UNIBYTE.  Pass it to readevalloop.
	(readevalloop_1): New unwind-protect subroutine.
	(load_convert_to_unibyte): New variable.
	(syms_of_lread): Set up Lisp var.
	(read1): If load_convert_to_unibyte, convert strings to unibyte.
	
	* insdel.c (copy_text): Count down bytes_left properly
	in multibyte to unibyte case.
d2078 2
a2079 1
	* fns.c (Fcompare_strings): Require first 6 args.
d2081 1
a2081 1
1998-04-20  Kenichi HANDA  <handa@@etl.go.jp>
d2083 3
a2085 2
	* Makefile.in (lisp): Add czech.elc, slovak.elc, and romanian.elc.
	(shortlisp): Likewise.
d2087 3
a2089 2
	* coding.c (setup_coding_system): For a type 4 coding system,
	FLAGS member of coding spec is a cons of CCL program symbols.
d2091 3
a2093 2
	* ccl.c (Fregister_ccl_program): Put ccl-program-idx property to
	NAME.
d2095 1
a2095 1
1998-04-19  Eli Zaretskii  <eliz@@delysid.gnu.org>
d2097 1
a2097 2
	* process.h (struct Lisp_Process): Add inherit_coding_system_flag
	member.
d2099 1
a2099 7
	* process.c (Fset_process_inherit_coding_system_flag,
	Fprocess_inherit_coding_system_flag): New functions.
	(syms_of_process): Defsubr them.
	(Fstart_process, Fopen_network_stream): Initialize
	inherit_coding_system_flag.
	(read_process_output): If the process buffer isn't dead, call
	after-insert-file-set-buffer-file-coding-system.
d2101 2
a2102 1
1998-04-18  Hrvoje Niksic  <hniksic@@srce.hr>
d2104 2
a2105 1
	* fileio.c (Fmake_temp_name): Complete rewrite.
d2107 1
a2107 1
1998-04-18  Richard Stallman  <rms@@psilocin.gnu.org>
d2109 2
a2110 2
	* minibuf.c (Ftry_completion): Use Fcompare_strings.
	(Fall_completions, Fminibuffer_complete_word): Likewise.
d2112 1
a2112 2
	* fns.c (Fcompare_strings): New function.
	(syms_of_fns): defsubr it.
d2114 4
a2117 2
	* xselect.c (Fx_get_cut_buffer_internal):
	If FORMAT is 0, cut buffer is empty.
d2119 2
a2120 1
	* emacs.c (main): --unibyte affects minibuffer too.
d2122 1
a2122 1
1998-04-17  Richard Stallman  <rms@@psilocin.gnu.org>
d2124 4
a2127 1
	* emacs.c (syms_of_emacs): Fix patching error in previous change.
d2129 1
a2129 2
	* lread.c (read1): Compute NaN and infinities using 0.0 in a
	variable, to cope with compilers that think they are smarter than us.
d2131 8
a2138 2
	* lread.c (readchar): Find the previous byte's address properly
	for the buffer case, as for the marker case.
d2140 1
a2140 1
1998-04-17  Geoff Voelker  <voelker@@cs.washington.edu>
d2142 3
a2144 2
	* emacs.c (Vpath_separator): New variable.
	(syms_of_emacs): Define Vpath_separator using SEPCHAR.
d2146 2
a2147 1
	* lastfile.c (_my_endbss, my_endbss_static): New variables.
d2149 2
a2150 1
	* term.c (reset_terminal_modes): Only invoke hook if defined.
d2152 3
a2154 4
	* makefile.nt (LINK_TYPE): Do not include debug info in optimized
	binary.
	(LIBS): Include mpr.lib.
	(clean): Delete patch generated files, optimized build directory.
d2156 2
a2157 2
	* s/ms-w32.h (HAVE_STRING_H, HAVE_STRFTIME): Define macros.
	(SYSTEM_PURESIZE_EXTRA): Increase to handle more dumped lisp files.
d2159 3
a2161 6
	* unexw32.c (my_begbss_static, my_endbss_static): Declare.
	(get_bss_info_from_map_file): Only define if SEPARATE_BSS_SECTION.
	(get_section_info): Use my_begbss_static, my_endbss_static to
	determine bounds of bss.
	(w32_fatal_reload_error): New function.
	(read_in_bss, map_in_heap): Invoke w32_fatal_reload_error upon error.
d2163 4
a2166 5
	* w32.c	(sys_read): Clear carriage return flag.
	Report normal EOF when read fails if nothing in buffer.
	Only read more if more remaining.
	(check_windows_init_file): New function.
	(term_ntproc): Invoke check_windows_init_file.
d2168 1
a2168 1
	* w32.h (FILE_SEND_SIGCHLD): New macro.
d2170 2
a2171 2
	* w32faces.c (Qforeground_color, Qbackground_color): Declare.
	(compute_char_face, merge_face_list): Update from xterm.c.
d2173 1
a2173 2
	* w32fns.c (w32_msg_pump): Handle WM_EMACS_SETLOCALE.
	(w32_wnd_proc): Handle WM_EMACS_SETFOREGROUND.
d2175 2
a2176 2
	* w32heap.c (recreate_heap): Invoke w32_fatal_reload_error upon error.
	* w32heap.h (w32_fatal_reload_error): Declare.
d2178 1
a2178 5
	* w32inevt.c (Vw32_recognize_altgr): Declare.
	(w32_kbd_mods_to_emacs): Obey Vw32_recognize_altgr.
	Add more keys for Vw32_capslock_is_shiftlock.
	(w32_kbd_patch_key): Obey Vw32_recognize_altgr.
	(map_virt_key): Brazilian keyboards use 0xc1 for /(?) key.
d2180 1
a2180 4
	* w32menu.c (Vmenu_updating_frame): New variable.
	(Fx_popup_menu, set_frame_menubar): Record frame whose menu is 
	being updated.
	(syms_of_w32menu): Define Vmenu_updating_frame.
d2182 1
a2182 12
	* w32proc.c (w32_executable_type): Properly cast dos_header when
	making size comparison.
	(sys_spawnve): Update comments.
	(sys_select): Ignore children dead children with pending input.
	Delay sending SIGCHLD until all output has been read.
	(sys_kill): Sleep to allow focus change events to propagate.
	Use TerminateProcess on Win95.
	(int_from_hex, enum_locale_fn, Fw32_get_valid_locale_ids):
	New functions.
	(Vw32_valid_locale_ids): New variable.
	(Fw32_set_current_locale): Send message to input thread.
	(syms_of_ntproc): defsubr Sw32_get_valid_locale_ids.
d2184 1
a2184 12
	* w32term.c (Vw32_recognize_altgr): New variable.
	(dumpglyphs): Update from xterm.c.
	(w32_ring_bell): Flash window, don't just reset its state.
	(dumprectangle, show_mouse_face, x_draw_single_glyph): Use new 
	args to dumpglyphs.
	(my_set_foreground_window): New function.
	(w32_condemn_scroll_bars): Mark all as condemned scroll bars.
	(w32_redeem_scroll_bar): Look through all scroll bars.
	(w32_judge_scroll_bars): Don't clear out condemned list.
	(w32_read_socket): Clip window after frame has been restored.
	(x_focus_on_frame, x_raise_frame): Use my_set_foreground_window.
	(syms_of_w32term): Define Vw32_recognize_altgr.
d2186 1
a2186 2
	* w32term.h (WM_EMACS_SETFOREGROUND, WM_EMACS_SETLOCALE):
	New message macros.
d2188 1
a2188 1
1998-04-16  Richard Stallman  <rms@@psilocin.gnu.org>
d2190 5
a2194 2
	* callproc.c (Fcall_process_region): Unbind coding-system-for-write
	after calling Fwrite_region.
d2196 3
a2198 1
	* eval.c (Fcatch): Doc fix.
d2200 1
a2200 1
	* mocklisp.c (Fml_if): Initialize val.
d2202 1
a2202 1
1998-04-16  Erik Naggum  <erik@@naggum.no>
d2204 1
a2204 2
	* emacs.c (main): Fix typo, add --multibyte and --no-multibyte.
	(standard_args): Add --multibyte and --no-multibyte.
d2206 1
a2206 1
1998-04-16  Richard Stallman  <rms@@psilocin.gnu.org>
d2208 1
a2208 1
	* fns.c (time): Declare it only if not HAVE_UNISTD_H.
d2210 2
a2211 2
	* emacs.c (standard_args): Add --no-unibyte.
	(main): Recognize --no-unibyte to inhibit EMACS_UNIBYTE.
d2213 2
a2214 1
	* fns.c (Frequire): Doc fix.
d2216 1
a2216 1
	* fileio.c (file_name_as_directory): For empty arg, return `./'.
d2218 2
a2219 1
1998-04-16  Eli Zaretskii  <eliz@@gnu.org>
d2221 1
a2221 2
	* msdos.c (it_keyboard): New variable, supports Italian keyboard.
	(keyboard_layout_list): Add Italian keyboard.
d2223 2
a2224 1
1998-04-15  Ken'ichi Handa  <handa@@melange.gnu.org>
d2226 2
a2227 2
	* coding.c (code_convert_region): If point in the conversion
	region, move it to FROM in advance.
d2229 3
a2231 1
1998-04-15  Eli Zaretskii  <eliz@@delysid.gnu.org>
d2233 2
a2234 3
	* callproc.c (Fcall_process): Call
	after-insert-file-set-buffer-file-coding-system if
	inherit-process-coding-system is non-nil.
d2236 1
a2236 2
	* coding.c (syms_of_coding): Declare and define
	inherit-process-coding-system.
d2238 2
a2239 1
	* coding.h: Declare inherit-process-coding-system.
d2241 1
a2241 1
	* w32.c (sys_pipe): Use binary pipe I/O unconditionally.
d2243 3
a2245 4
	* callproc.c: Remove binary-process-{in,out}put.
	(syms_of_callproc): Likewise.
	(Fcall_process, Fcall_process_region): Don't use
	binary-process-{in,out}put.
d2247 1
a2247 1
1998-04-15  Andreas Schwab  <schwab@@delysid.gnu.org>
d2249 4
a2252 1
	* config.in (RE_TRANSLATE_P): Define.
d2254 1
a2254 1
1998-04-15  Ken'ichi Handa  <handa@@melange.gnu.org>
d2256 5
a2260 1
	* ccl.c (Fccl_execute_on_string): Put \n\ at eol of docstring.
d2262 1
a2262 2
	* xfns.c (x_set_font): Give 2nd arg nil to Fquery_fontset.
	(Fx_create_frame): Likewise.
d2264 2
a2265 1
1998-04-15  Kenichi Handa  <handa@@etl.go.jp>
d2267 2
a2268 21
	* ccl.c: Typo in comments fixed.
	(Qccl_program_idx, Qunification_table, Qunification_table_id): New
	variables.
	(syms_of_ccl): Initialize and staticpro them.
	(CCL_ReadMultibyteChar2): Macro name changed from
	CCL_ReadMultibyteCharacter.
	(CCL_WriteMultibyteChar2): Macro name changed from
	CCL_WriteMultibyteChar2.
	(CCL_
	(MAX_TABLE_SET_LEVEL): New macro.
	(tr_stack): New type.
	(translate_stack, translate_stack_pointer): New variables.
	(PUSH_TRANSLATE_STACK, POP_TRANSLATE_STACK): New macros.
	(ccl_driver): Adjusted for the above changes.
	(resolve_symbol_ccl_program): New function.
	(Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
	program.  If CCL-PRGRAM is a vector, convert symbols in it to ID
	numbers by resolve_symbol_ccl_program.
	(Fccl_execute_on_string): Likewise.
	(Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
	convert symbols in it to ID numbers by resolve_symbol_ccl_program.
d2270 1
a2270 1
	* ccl.h (Vccl_program_table, Qccl_program_idx): Extern them.
d2272 3
a2274 4
	* fontset.c (find_ccl_program_func): New variable.
	(fs_load_font): Call a function pointed by find_ccl_program_func
	instead of finding CCL program to encode a character by itself.
	(Fquery_fontset): New optional 2nd arg REGEXPP.  Callers changed.
d2276 1
a2276 5
	* fontset.h (FONT_ENCODING_NOT_DECIDED): The value is changed to 255.
	(find_ccl_program_func): Extern it.
	(Fquery_fontset): Args number changed to 2.
	
	* xfns.c (syms_of_xfns): Initialize find_ccl_program_func.
d2278 2
a2279 1
	* xterm.c (x_find_ccl_program): New function.
d2281 1
a2281 1
	* xterm.h (x_find_ccl_program): Extern it.
d2283 1
a2283 1
1998-04-14  Dave Love  <fx@@gnu.org>
d2285 2
a2286 1
	* keymap.c: Revert erroneous 1998-04-07 change.
d2288 1
a2288 1
1998-04-14  Karl Heuer  <kwzh@@gnu.org>
d2290 1
a2290 4
	* xfns.c (x_destroy_bitmap): Declare as void, not int.
	(x_report_frame_params, x_set_border_pixel): Likewise.
	(x_set_internal_border_width): widget_store_internal_border takes
	just one arg, not two.
d2292 1
a2292 1
1998-04-14  Andreas Schwab  <schwab@@delysid.gnu.org>
d2294 2
a2295 1
	* xdisp.c (try_window): Fix mixing of Lisp_Object and int.
d2297 1
a2297 2
	* window.c (Fset_window_configuration): Fix mixing of Lisp_Object
	and int.
d2299 1
a2299 1
	* sysdep.c (init_sys_modes): Fix mixing of Lisp_Object and int
d2301 1
a2301 2
	* search.c (compile_pattern, compile_pattern_1): Fix mixing of
	Lisp_Object and int.
d2303 1
a2303 2
	* process.c (read_process_output): Fix mixing of Lisp_Object and
	int.
d2305 2
a2306 2
	* minibuf.c (Fself_insert_and_exit): Fix mixing of Lisp_Object and
	int.
d2308 1
a2308 1
	* marker.c (set_marker_both): Remove bogus checks on charpos.
d2310 1
a2310 1
	* keyboard.c (parse_menu_item): Don't GCPRO non-lisp variables.
d2312 1
a2312 2
	* insdel.c (signal_after_change): Fix mixing of Lisp_Object and
	int.
d2314 1
a2314 1
	* indent.c (indented_beyond_p): Fix mixing of Lisp_Object and int.
d2316 1
a2316 2
	* frame.c (Fset_mouse_position, Fset_mouse_pixel_position): Fix
	mixing of Lisp_Object and int.
d2318 4
a2321 2
	* fns.c (Fsubstring, substring_both, Fchar_table_range,
	Fset_char_table_range): Fix mixing of Lisp_Object and int.
d2323 1
a2323 1
	* fileio.c (Fwrite_region): Fix mixing of Lisp_Object and int.
d2325 4
a2328 2
	* editfns.c (Fchar_after, Fchar_before): Fix mixing of Lisp_Object
	and int
d2330 3
a2332 2
	* coding.c (code_convert_region): Fix mixing of Lisp_Object and
	int.
d2334 8
a2341 1
	* charset.c (Fchars_in_region): Fix mixing of Lisp_Object and int.
d2343 2
a2344 2
	* ccl.c (ccl_driver, syms_of_ccl): Fix mixing of Lisp_Object and
	int.
d2346 8
a2353 1
	* cm.h: Update return types of declarations.
d2355 2
a2356 3
	* xterm.h, puresize.h, termhooks.h, lisp.h, keyboard.h,
	intervals.h, dispextern.h, blockinput.h, coding.h: Add more
	prototypes.
d2358 7
a2364 9
	* xterm.c, xselect.c, xrdb.c, xmenu.c, xdisp.c, window.c,
	widget.c, undo.c, terminfo.c, term.c, sysdep.c, syntax.c,
	search.c, scroll.c, process.c, print.c, mocklisp.c, prefix-args.c,
	marker.c, keymap.c, keyboard.c, intervals.c, insdel.c, indent.c,
	frame.c, fontset.c, fns.c, floatfns.c, filelock.c, fileio.c,
	eval.c, emacs.c, editfns.c, doprnt.c, doc.c, dispnew.c, dired.c,
	data.c, coding.c, cmds.c, cm.c, charset.c, ccl.c, category.c,
	casetab.c, casefiddle.c, callproc.c, callint.c, bytecode.c,
	buffer.c, alloc.c, abbrev.c: Fix -Wimplicit warnings.
d2366 2
a2367 2
	* buffer.c (Fset_buffer_multibyte): Do nothing if nothing actually
	changes.
d2369 2
a2370 2
	* coding.c (code_convert_region): Call adjust_after_insert also
	in unibyte mode.
d2372 1
a2372 2
	* fileio.c (Finsert_file_contents): Call adjust_after_insert also
	in unibyte mode.
d2374 3
a2376 1
1998-04-13  Ken'ichi Handa  <handa@@melange.gnu.org>
d2378 7
a2384 2
	* coding.c (code_convert_string): Give decode_coding correct byte
	length of source text.
d2386 1
a2386 1
1998-04-13  Richard Stallman  <rms@@gnu.org>
d2388 1
a2388 3
	* print.c (strout): Convert old echo area to multibyte, like printchar.
	(printchar, strout): If echo area text converted to multibyte
	does not all fit, truncate it at char boundary.
d2390 1
a2390 2
	* marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): 
	When calling set_marker_both, pass the right buffer.
d2392 1
a2392 1
	* indent.c (Fcompute_motion): Check that TO and FROM are in range.
d2394 1
a2394 1
1998-04-13  Eli Zaretskii  <eliz@@delysid.gnu.org>
d2396 2
a2397 7
	* msdos.c (dosv_refresh_virtual_screen): Do not use negative
	arguments.
	(dos_direct_output): Fix the offset passed to
	dosv_refresh_virtual_screen.
	(IT_display_cursor): Don't call dosv_refresh_virtual_screen.
	(IT_reset_terminal_modes): Don't call dosv_refresh_virtual_screen
	when setting cursor.
d2399 2
a2400 1
1998-04-12  Richard Stallman  <rms@@gnu.org>
d2402 2
a2403 2
	* print.c (temp_output_buffer_setup): Clear out overlays,
	visited file, undo list, etc.
d2405 5
a2409 3
	* syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): FROM counts chars.
	(SYNTAX_TABLE_BYTE_TO_CHAR): Handle the offset properly
	both before and after conversion.
d2411 1
a2411 2
	* syntax.h (UPDATE_SYNTAX_TABLE_FORWARD): Arg renamed to charpos.
	(UPDATE_SYNTAX_TABLE_BACKWARD, UPDATE_SYNTAX_TABLE): Likewise.
d2413 3
a2415 2
	* xdisp.c (display_text_line): When handling selective > 0,
	update pos and pos_byte with results of calling scan_newline.
d2417 1
a2417 1
	* data.c (set_internal, Fmakunbound): Fix previous change.
d2419 1
a2419 1
1998-04-12  Hallvard B Furuseth  <h.b.furuseth@@usit.uio.no>
d2421 2
a2422 1
	* print.c (print) <Lisp_String>: Fix "\ " handling.
d2424 11
a2434 1
1998-04-11  Richard Stallman  <rms@@gnu.org>
d2436 3
a2438 2
	* s/netbsd.h (LINKER): Add definition.
	(LD_SWITCH_SYSTEM): Undo previous change.
d2440 3
a2442 2
	* data.c (set_internal, Fmakunbound): No error if setting
	a keyword to itself.
d2444 1
a2444 1
1998-04-09  Karl Heuer  <kwzh@@gnu.org>
d2446 2
a2447 1
	* marker.c (Fbuffer_has_markers_at): Fix termination condition.
d2449 1
a2449 9
	* search.c (min, max): Make these macros, not functions.
	(scan_buffer, boyer_moore): Simplify args to those macros.
	* unexw32.c (min, max): Define as macros.
	* w32.c (min, max): Define as macros.
	* w32term.c (min, max): Define as macros.
	* callproc.c (relocate_fd): Avoid `min'/`max' as variable names.
	* print.c (print): Likewise.
	* dispnew.c (minmax): New macro.
	(update_frame): Use it.
d2451 2
a2452 2
	* w32proc.c: Delete incorrect prototype of report_file_error.
	* w32.c (unrequest_sigio, request_sigio): Fix prototype.
d2454 1
a2454 2
	* w32menu.c (set_frame_menubar): Call Fset_match_data, not
	Fstore_match_data.
d2456 2
a2457 1
	* emacs.c (abort): Don't redefine on DOS_NT.
d2459 1
a2459 1
1998-04-09  Kenichi Handa  <handa@@etl.go.jp>
d2461 1
a2461 8
	* charset.c (string_to_non_ascii_char): Include garbage bytes (if
	any) following a multibyte character in *ACTUAL_LEN.
	(Fcharset_after): New function.
	(syms_of_charset): Defsubr it.
	(multibyte_form_length): Modified to be consistent with
	string_to_non_ascii_char.
	
	* charset.h (MULTIBYTE_FORM_LENGTH): Don't check LEN here.
d2463 1
a2463 2
	* xdisp.c (display_text_line): Code for displaying a character by
	octal form is modified.
d2465 1
a2465 1
1998-04-08  Richard Stallman  <rms@@gnu.org>
d2467 2
a2468 4
	* data.c (keyword_symbols_constant_flag): New variable.
	(syms_of_data): Set up Lisp variable.
	(set_internal): Obey it and give error for :-symbols.
	(Fmakunbound): Likewise.
d2470 2
a2471 1
1998-04-08  Eli Zaretskii  <eliz@@delysid.gnu.org>
d2473 2
a2474 2
	* dosfns.c (init_dosfns): Fix bug in passing segment address of
	the transfer buffer.
d2476 3
a2478 1
1998-04-08  Karl Heuer  <kwzh@@gnu.org>
d2480 1
a2480 1
	* keymap.c (fix_submap_inheritance): Fix parens.
d2482 2
a2483 1
1998-04-07  Richard Stallman  <rms@@gnu.org>
d2485 1
a2485 1
	* fileio.c (Fmake_temp_name): Detect error return from mktemp.
d2487 1
a2487 1
1998-04-07  Eli Zaretskii  <eliz@@is.elta.co.il>
d2489 2
a2490 4
	* charset.c (string_to_non_ascii_char, multibyte_form_length)
	(split_non_ascii_string, str_cmpchar_id): Make the STR argument
	const unsigned char *.
	* charset.h: Update prototypes for the above.
d2492 2
a2493 2
	* filelock.c: Include <utmp.h> only if CLASH_DETECTION is
	defined.
d2495 3
a2497 2
	* process.c (kill_buffer_processes): Make consistent with
	prototype in lisp.h.
d2499 1
a2499 2
	* msdos.c (request_sigio, unrequest_sigio): Make consistent with
	prototypes in lisp.h.
d2501 6
a2506 1
	* charset.h (CHAR_STRING): Cast to unsigned char ** explicitly.
d2508 1
a2508 2
	* w16select.c (Fwin16_set_clipboard_data): Call message2 with 3
	arguments.
d2510 2
a2511 1
	* emacs.c (abort): Don't redefine on MSDOS.
d2513 1
a2513 1
1998-04-07  Dave Love  <fx@@gnu.org>
d2515 1
a2515 1
	* keymap.c (describe_command): Use quotes around symbol name.
d2517 1
a2517 2
	* emacs.c (main): Obey environment variable EMACS_UNIBYTE as
	alternative to --unibyte.
d2519 1
a2519 1
1998-04-06  Jonathan I. Kamens  <jik@@kamens.brookline.ma.us>
d2521 1
a2521 2
	* config.in (GSSAPI, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
	(HAVE_GSSAPI_H): Add undefs for GSS-API support in movemail.
d2523 1
a2523 1
1998-04-06  Richard Stallman  <rms@@gnu.org>
d2525 4
a2528 2
	* dired.c (Fdirectory_files): Use make_uninit_multibyte_string.
	Use STRING_BYTES on encoded_directory.
d2530 3
a2532 1
1998-04-06  Andreas Schwab  <schwab@@gnu.org>
d2534 1
a2534 1
	* fns.c (Flength): Doc fix.
d2536 3
a2538 2
	* unexelf.c (unexec): Account for possible padding before the old
	.bss section.
d2540 1
a2540 2
	* editfns.c (Ftranspose_regions): Fix order of parameters for
	replace_range.
d2542 1
a2542 2
	* dired.c (Fdirectory_files): GCPRO encoded_directory and list.
	Compute needsep only once.  Pass correct arg to chars_in_text.
d2544 1
a2544 2
	* alloc.c (gc_sweep): Avoid using two loop variables counting the
	same thing.
d2546 1
a2546 1
1998-04-06  Ken'ichi Handa  <handa@@delysid.gnu.org>
d2548 2
a2549 1
	* fns.c (Fstring_as_unibyte): Set size_byte field to -1.
d2551 2
a2552 1
1998-04-05  Eli Zaretskii  <eliz@@is.elta.co.il>
d2554 2
a2555 1
	* config.in: Don't include <string.h> when configuring.
d2557 2
a2558 1
1998-04-04  Richard Stallman  <rms@@psilocin.gnu.org>
d2560 2
a2561 1
	* s/netbsd.h (LD_SWITCH_SYSTEM): Add -L/usr/lib.
d2563 2
a2564 1
1998-04-03  enami tsugutomo  <enami@@but-b.or.jp>
d2566 2
a2567 2
	* editfns.c (Fmessage_box): Pass the missing third argument
	STRING_MULTIBYTE (val) to message2.
d2569 2
a2570 4
	* frame.c (make_frame_without_minibuffer): Conditionalize on
	HAVE_WINDOW_SYSTEM.
	(make_minibuffer_frame): Likewise.
	* frame.h: Ditto.
d2572 2
a2573 1
1998-04-03  Richard Stallman  <rms@@psilocin.gnu.org>
d2575 1
a2575 2
	* intervals.c (set_intervals_multibyte):
	Function moved after set_intervals_multibyte_1.
d2577 1
a2577 2
	* xdisp.c (redisplay_window): If updating mode line,
	temporarily change selected_frame
d2579 1
a2579 1
1998-04-02  Dave Love  <fx@@gnu.org>
d2581 1
a2581 1
	* emacs.c (main): Add [--unibyte] to usage.
d2583 3
a2585 1
1998-04-02  Richard Stallman  <rms@@psilocin.gnu.org>
d2587 1
a2587 1
	* print.c (print) <Lisp_String>: Follow a hex escape with `\ ' if nec.
d2589 12
a2600 1
	* data.c (Fmake_variable_frame_local): Doc fix.
d2602 1
a2602 1
	* fns.c (Fstring_as_multibyte): Never return unibyte string unchanged.
d2604 3
a2606 1
1998-04-02  NIIBE Yutaka  <gniibe@@mri.co.jp>
d2608 1
a2608 1
	* fns.c (Fstring_as_multibyte): Set size_byte field.
d2610 1
a2610 1
1998-04-02  Richard Stallman  <rms@@psilocin.gnu.org>
d2612 4
a2615 2
	* fns.c (char_table_translate): New function.
	* config.in (RE_TRANSLATE): Use char_table_translate.
d2617 1
a2617 1
1998-04-02  Kenichi Handa  <handa@@etl.go.jp>
d2619 5
a2623 3
	* coding.c (CHARSET_OK): Don't reject safe charsets.
	(DECODE_DESIGNATION): Likewise.
	(check_composing_code): Likewise.
d2625 1
a2625 2
	* marker.c (buf_charpos_to_bytepos): Delete local variable
	gapend_byte.
d2627 1
a2627 2
	* xselect.c (selection_data_to_lisp_data): Give
	make_string_from_bytes a correct char size.
d2629 1
a2629 1
1998-04-01  Richard Stallman  <rms@@psilocin.gnu.org>
d2631 1
a2631 1
	* xdisp.c (redisplay_window): Fix computing pos from last_point.
d2633 8
a2640 1
1998-03-30  Kenichi Handa  <handa@@etl.go.jp>
d2642 1
a2642 5
	* coding.c (code_convert_region): Handle skipped ASCII characters
	at the head and tail of conversion region correctly when adjusting
	position keepers.  Call adjust_after_insert to record undo info
	and adjust markers when we don't have to change byte sequence of
	a buffer.
d2644 1
a2644 2
	* coding.h (struct coding_system): Comment for the member
	heading_ascii modified.
d2646 1
a2646 3
	* fileio.c (Finsert_file_contents): Call adjust_after_insert when
	a text is inserted in a multibyte buffer without any code
	conversion.
d2648 2
a2649 5
	* insdel.c (adjust_markers_for_replace): New function.
	(adjust_after_replace): Arguments changed.  Call
	adjust_markers_for_replace if this function is called after
	replacement.
	(adjust_after_insert): New function.
d2651 1
a2651 1
	* lisp.h (adjust_after_replace, adjust_after_insert): Extern them.
d2653 1
a2653 1
1998-03-28  Richard Stallman  <rms@@psilocin.gnu.org>
d2655 4
a2658 1
	* xdisp.c (display_text_line): Handle overlay-arrow correctly.
d2660 1
a2660 1
1998-03-28  Richard Stallman  <rms@@psilocin.gnu.org>
d2662 2
a2663 4
	* fileio.c (barf_or_query_if_file_exists): New arg QUICK.
	All calls changed.
	
1998-03-27  Richard Stallman  <rms@@psilocin.gnu.org>
d2665 1
a2665 5
	* insdel.c (check_markers_debug_flag): New variable.
	(syms_of_insdel): Set up Lisp var.
	(CHECK_MARKERS): New macro.  Use it everywhere
	instead of calling check_markers directly.
	It tests check_markers_debug_flag.
d2667 3
a2669 1
1998-03-26  Richard Stallman  <rms@@psilocin.gnu.org>
d2671 7
a2677 10
	* alloc.c (mark_buffer): Mark the undo_list slot specially;
	don't mark a marker just cause it is in this list.
	(Fgarbage_collect): Discard from all undo-lists
	all elements that adjust markers that were not marked.

	* buffer.h (struct buffer): Field `undo_list' moved before `name'
	so it won't get marked in the usual way.

	* coding.c (code_convert_region): Call adjust_before_replace
	in the no-conversion case.  Adjust GPT, ZV and Z in chars.
d2679 1
a2679 1
1998-03-25  Richard Stallman  <rms@@psilocin.gnu.org>
d2681 2
a2682 1
	* lread.c (init_lread): Init Vstandard_input.
d2684 2
a2685 1
1998-03-25  Ken'ichi Handa  <handa@@melange.gnu.org>
d2687 7
a2693 1
	* xdisp.c (redisplay_window): Fix previous change.
d2695 1
a2695 1
1998-03-25  Kenichi Handa  <handa@@etl.go.jp>
d2697 21
a2717 3
	* indent.c (compute_motion): Call strwidth only when necessary.
	Set wide_column_end_hpos only when MULTIBYTE_BYTES_WIDTH set
	nonzero to wide_column.
d2719 3
a2721 4
	* xdisp.c (redisplay_window): Give byte position to FETCH_BYTE.
	Call pos_tab_offset appropriately.
	(try_window_id): Give byte position to FETCH_BYTE.  Set
	val.bytepos to pos_byte.
d2723 11
a2733 2
	* lisp.h (make_buffer_string, make_buffer_string_both): Extern
	them.
d2735 9
a2743 4
	* process.c (read_process_output): Count multibyte characters.  If
	received data is stored in p->decoding_buf, copy it to a temporary
	buffer and call insert_before_makers instead of
	insert_from_string_before_markers.
d2745 2
a2746 1
1998-03-24  Ken'ichi Handa  <handa@@melange.gnu.org>
d2748 4
a2751 1
	* lisp.h (record_delete): The second arg is Lisp_Object.
d2753 3
a2755 1
1998-03-24  Kenichi Handa  <handa@@etl.go.jp>
d2757 1
a2757 2
	* indent.c (MULTIBYTE_BYTES_WIDTH): Set wide_column only when we
	encounter a wide-column character.
d2759 3
a2761 2
	* undo.c (record_delete): Record last_point_position when there's
	no record other than marker adjustment before undo boundary.
d2763 1
a2763 2
	* insdel.c (del_range_2): Move gap again to a proper place just
	after calling make_buffer_string_both.
d2765 2
a2766 2
	* coding.c (shrink_decoding_region): If EOL_CONVERSION is nonzero,
	don't skip `\r' (instead of `\n').
d2768 1
a2768 1
1998-03-23  Andreas Schwab  <schwab@@gnu.org>
d2770 8
a2777 2
	* xmenu.c (popup_get_selection): On receiving a KeyPress event
	only deactivate the menu when the key is not a modifier key.
d2779 1
a2779 2
	* xfns.c (Fx_create_frame): Use "borderWidth", not "borderwidth",
	as resource name, to be consistent with other X applications.
d2781 2
a2782 1
1998-03-21  Richard Stallman  <rms@@delysid.gnu.org>
d2784 1
a2784 2
	* dired.c (Fdirectory_files):
	In FULL case, compute number of characters
d2786 1
a2786 2
	* fns.c (substring_both, Fsubstring): Use make_specified_string.
	(concat): Make string result unibyte or multibyte as appropriate.
d2788 1
a2788 1
	* sunfns.c (syms_of_sunfns): Pass new arg to make_pure_string.
d2790 1
a2790 9
	* alloc.c (make_specified_string): New function.
	(make_string_from_bytes): New function.
	(compact_strings): Get byte size from size, if size_byte < 0.
	(Fmake_string): Use make_uninit_string for single-byte char.
	(make_unibyte_string): Mark string as unibyte.
	(make_uninit_string): Likewise.
	(make_string): Likewise, if size == size in bytes.
	(make_pure_string): New arg MULTIBYTE.
	(Fpurecopy): Pass new arg to make_pure_string.
d2792 4
a2795 3
	* editfns.c (Fchar_to_string): Use make_string_from_bytes.
	(Fformat): Use make_specified_string.
	(make_buffer_string_both): Use make_uninit_string if buffer is unibyte.
d2797 8
a2804 1
	* casefiddle.c (casify_object): Use make_specified_string.
d2806 1
a2806 2
	* charset.c (Fstring): Use make_string_from_bytes.
	(Fcompose_string): Likewise.
d2808 2
a2809 1
	* cmds.c (internal_self_insert): Use make_string_from_bytes.
d2811 1
a2811 1
	* coding.c (code_convert_string): Use make_string_from_bytes.
d2813 3
a2815 1
	* doc.c (Fsubstitute_command_keys): Use make_string_from_bytes.
d2817 1
a2817 4
	* lread.c (read1): Pass new arg to make_pure_string.
	(make_symbol): Likewise.
	(init_obarray): Likewise.
	(read1): Use make_specified_string.
d2819 1
a2819 1
	* print.c (PRINTPREPARE): Use make_string_from_bytes.
d2821 3
a2823 1
	* process.c (read_process_output): Use make_string_from_bytes.
d2825 2
a2826 1
	* search.c (Fregexp_quote): Use make_specified_string.
d2828 2
a2829 1
	* xselect.c (selection_data_to_lisp_data): Use make_string_from_bytes.
d2831 1
a2831 2
	* insdel.c: (insert_from_string_1, replace_range):
	Use STRING_MULTIBYTE to determine whether string is multibyte.
d2833 2
a2834 1
	* editfns.c: Use STRING_BYTES and SET_STRING_BYTES.
d2836 1
a2836 1
	(Ftranspose_regions): Try to handle combining bytes.
d2838 4
a2841 6
	* alloc.c, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, search.c,
	process.c, print.c, lread.c, keymap.c, insdel.c, keyboard.c,
	frame.c, fns.c, filelock.c, doc.c, dispnew.c, data.c, coding.c,
	charset.c, ccl.c, category.c, casefiddle.c, callproc.c, callint.c,
	bytecode.c, abbrev.c, minibuf.c, buffer.c, fileio.c: Use
	STRING_BYTES and SET_STRING_BYTES.
d2843 1
a2843 9
	* xmenu.c: Don't include puresize.h any more as code that needs it
	has moved to keyboard.c.
	(menu_item_equiv_key, menu_item_enabled_p_1, menu_item_enabled_p):
	Functions deleted; code moved to parse_menu_item in keyboard.c.
	(single_keymap_panes): Large part of code moved to single_menu_item.
	(single_menu_item): New function that uses parse_menu_item.
	(Qmenu_alias): Variable deleted.
	(QCtoggle, QCradio): New variables.
	(syms_of_xmenu): Change initializations of variables.
d2845 1
a2845 4
	* keymap.c (fix_submap_inheritance, get_keyelt, store_in_keymap)
	(copy-keymap, where_is_internal_1):
	Support new format for menu items.
	(syms_of_keymap): New symbol `menu-item'.
d2847 2
a2848 9
	* keyboard.c: Include puresize.h for CHECK_IMPURE.
	(parse_menu_item): New function.
	(menu_item_eval_property_1, menu_item_eval_property) New suroutines.
	(menu_bar_one_keymap): Moved some code to menu_bar_item.
	(menu_bar_item): Rewritten to use parse_menu_item.
	(menu_bar_item_1): Function deleted.
	(QCenable, QCvisible, QChelp, QCfilter, QCbutton, QCtoggle, QCradio):
	(Qmenu_alias): New variables.
	(syms_of_keyboard): Initialize them, and item_properties.
d2850 1
a2850 1
	* insdel.c (replace_range): New arg NOMARKERS.
d2852 2
a2853 1
1998-03-21  Richard Stallman  <rms@@psilocin.gnu.org>
d2855 1
a2855 2
	* dired.c (Fdirectory_files): In FULL case,
	compute number of characters
d2857 1
a2857 2
	* insdel.c (insert_from_string_1, replace_range):
	Use STRING_MULTIBYTE to determine whether string is multibyte.
d2859 1
a2859 3
	* lisp.h: Declarations changed.
	(STRING_MULTIBYTE, STRING_BYTES, SET_STRING_BYTES):
	New definitions treating negative size_byte as a flag for unibyte.
d2861 2
a2862 1
	* xselect.c (selection_data_to_lisp_data): Use make_string_from_bytes.
d2864 3
a2866 1
	* search.c (Fregexp_quote): Use make_specified_string.
d2868 2
a2869 1
	* process.c (read_process_output): Use make_string_from_bytes.
d2871 11
a2881 1
	* print.c (PRINTPREPARE): Use make_string_from_bytes.
d2883 1
a2883 4
	* fns.c (substring_both, Fsubstring): Use make_specified_string.
	(concat): Make string result unibyte or multibyte as appropriate.
	
	* doc.c (Fsubstitute_command_keys): Use make_string_from_bytes.
d2885 1
a2885 1
	* coding.c (code_convert_string): Use make_string_from_bytes.
d2887 1
a2887 1
	* cmds.c (internal_self_insert): Use make_string_from_bytes.
d2889 1
a2889 2
	* charset.c (Fstring): Use make_string_from_bytes.
	(Fcompose_string): Likewise.
d2891 1
a2891 1
	* casefiddle.c (casify_object): Use make_specified_string.
d2893 2
a2894 5
	* editfns.c (Fchar_to_string): Use make_string_from_bytes.
	(Fformat): Use make_specified_string.
	(make_buffer_string_both): Use make_uninit_string if buffer is unibyte.
	
	* sunfns.c (syms_of_sunfns): Pass new arg to make_pure_string.
d2896 2
a2897 4
	* lread.c (read1): Pass new arg to make_pure_string.
	(make_symbol): Likewise.
	(init_obarray): Likewise.
	(read1): Use make_specified_string.
d2899 4
a2902 9
	* alloc.c (make_specified_string): New function.
	(make_string_from_bytes): New function.
	(compact_strings): Get byte size from size, if size_byte < 0.
	(Fmake_string): Use make_uninit_string for single-byte char.
	(make_unibyte_string): Mark string as unibyte.
	(make_uninit_string): Likewise.
	(make_string): Likewise, if size == size in bytes.
	(make_pure_string): New arg MULTIBYTE.
	(Fpurecopy): Pass new arg.
d2904 1
a2904 1
	* lisp.h (STRING_BYTES, SET_STRING_BYTES): New macros.
d2906 1
a2906 6
	* All files: Use STRING_BYTES and SET_STRING_BYTES.
	
	* editfns.c (Ftranspose_regions): Try to handle combining bytes.
	* insdel.c (replace_range): New arg NOMARKERS.
	
1998-03-20  Richard Stallman  <rms@@psilocin.gnu.org>
d2908 1
a2908 6
	* cmds.c (internal_self_insert): Pass new arg to replace_range.
	
	* insdel.c (insert_1_both, insert_from_string_1, insert_from_buffer_1):
	(adjust_before_replace, adjust_after_replace, replace_range):
	(del_range_2): Call record_delete the new way.
	Use make_buffer_string_both to make the string to pass.
d2910 1
a2910 2
	* editfns.c (make_buffer_string_both): New function.
	(make_buffer_string): Use make_buffer_string_both.
d2912 1
a2912 5
	* undo.c (record_delete): Replace LENGTH arg with STRING.
	(record_change): Call record_delete the new way.
	
	* Makefile.in (keymap.o): Depend on puresize.h.
	(xmenu.o): Don't depend on puresize.h.
d2914 1
a2914 1
1998-03-20  Inge Frick  <inge@@nada.kth.se>
d2916 1
a2916 2
	* keyboard.h (item_properties): New variable.
	(ITEM_PROPERTY_...): New macros.
d2918 1
a2918 13
	* keymap.c (fix_submap_inheritance, get_keyelt, store_in_keymap,
	copy-keymap, where_is_internal_1): Support new format for menu items.
	(syms_of_keymap): New symbol `menu-item'.
	
	* keyboard.c: Include puresize.h for CHECK_IMPURE.
	(parse_menu_item): New function.
	(menu_item_eval_property_1, menu_item_eval_property) New suroutines.
	(menu_bar_one_keymap): Moved some code to menu_bar_item.
	(menu_bar_item): Rewritten to use parse_menu_item.
	(menu_bar_item_1): Function deleted.
	(QCenable, QCvisible, QChelp, QCfilter, QCbutton, QCtoggle, QCradio):
	(Qmenu_alias): New variables.
	(syms_of_keyboard): Initialize them, and item_properties.
d2920 1
a2920 9
	* xmenu.c: Don't include puresize.h any more as code that needs it
	has moved to keyboard.c.
	(menu_item_equiv_key, menu_item_enabled_p_1, menu_item_enabled_p):
	Functions deleted; code moved to parse_menu_item in keyboard.c.
	(single_keymap_panes): Large part of code moved to single_menu_item.
	(single_menu_item): New function that uses parse_menu_item.
	(Qmenu_alias): Variable deleted.
	(QCtoggle, QCradio): New variables.
	(syms_of_xmenu): Change initializations of variables.
d2922 1
a2922 1
1998-03-20  Richard Stallman  <rms@@psilocin.gnu.org>
d2924 1
a2924 1
	* window.c (window_display_table): Don't look inside buffer if its nil.
d2926 1
a2926 1
	* insdel.c (del_range_2): Use adjust_markers_for_record_delete.
d2928 3
a2930 1
1998-03-19  Kenichi Handa  <handa@@etl.go.jp>
d2932 2
a2933 2
	* editfns.c (Fgoto_char): If POSITION is a marker pointing a
	different buffer, don't rely on the byte position of the marker.
d2935 1
a2935 1
1998-03-19  Richard Stallman  <rms@@psilocin.gnu.org>
d2937 2
a2938 2
	* editfns.c (Fformat): Handle padding before or after, for %s etc.
	Treat 0 like a multibyte char in %c.
d2940 1
a2940 1
1998-03-19  Erik Naggum  <erik@@naggum.no>
d2942 2
a2943 2
	* filelock.c (get_boot_time): Conditionalize on BOOT_TIME.
	(lock_file_1): Add boot-time to lock only if available.
d2945 1
a2945 1
1998-03-19  Kenichi Handa  <handa@@etl.go.jp>
d2947 2
a2948 5
	* fns.c (Fstring_as_multibyte): Call multibyte_chars_in_text
	instead of chars_in_text because we must ignore
	enable-multibyte-characters here.
	* lread.c (read1): Likewise.
	* marker.c (byte_char_debug_check): Likewise.
d2950 1
a2950 1
1998-03-19  Richard Stallman  <rms@@psilocin.gnu.org>
d2952 1
a2952 2
	* filelock.c (current_lock_owner): If lock file data doesn't include
	the uptime, assume the lock is from this system boot.
d2954 1
a2954 1
1998-03-18  Richard Stallman  <rms@@psilocin.gnu.org>
d2956 1
a2956 1
	* lread.c (read0): Swap args to Fmake_string.
d2958 1
a2958 1
1998-03-17  Richard Stallman  <rms@@psilocin.gnu.org>
d2960 2
a2961 1
	* callproc.c (syms_of_callproc): Doc fixes.
d2963 1
a2963 6
	* insdel.c (adjust_markers_for_delete):
	Delete unused local coming_gap_size.
	(adjust_markers_for_record_delete): New function.
	(insert_1_both, insert_from_string_1, insert_from_buffer_1)
	(adjust_after_replace, replace_range):
	Use adjust_markers_for_record_delete.
d2965 1
a2965 1
	* editfns.c (Fsave_excursion): Doc fix.
d2967 1
a2967 2
	* window.c (Frecenter): Operate on window's buffer even
	if some other was current.
d2969 1
a2969 3
	* filelock.c (get_boot_time): New function.
	(lock_file_1): Include boot time in the lock text.
	(current_lock_owner): Parse and compare the boot time.
d2971 12
a2982 1
1998-03-16  Erik Naggum  <erik@@naggum.no>
d2984 1
a2984 1
	* editfns.c (Fformat): Properly print floats.
d2986 10
a2995 1
1998-03-16  Kenichi Handa  <handa@@etl.go.jp>
d2997 28
a3024 7
	* insdel.c (ADJUST_CHAR_POS): New macro.
	(combine_bytes): Use the macro ADJUST_CHAR_POS.
	(adjust_after_replace): New arg REPLACE.  If it is zero, give LEN
	as the arg LENGTH to offset_intervals.
	(del_range_2): Give correct args to count_combining_before and
	combine_bytes.  Adjust the gap position after record_delete if
	necessary.  Give character position to adjust_overlays_for_delete.
d3026 8
a3033 2
	* fileio.c (Finsert_file_contents):
	Give adjust_after_replace the new arg REPLACE as 0.
d3035 2
a3036 3
	* coding.c (code_convert_region): The 6th arg name is changed to
	REPLACE.  Even if there's no need of code conversion, call
	adjust_after_replace to handle bytes combining.
d3038 1
a3038 1
1998-03-15  Richard Stallman  <rms@@psilocin.gnu.org>
d3040 2
a3041 18
	* syntax.h (SYNTAX_FLAGS_COMSTART_FIRST): New macro.
	(SYNTAX_FLAGS_COMSTART_SECOND): Likewise.
	(SYNTAX_FLAGS_COMEND_FIRST, SYNTAX_FLAGS_COMEND_SECOND): Likewise.
	(SYNTAX_FLAGS_PREFIX, SYNTAX_FLAGS_COMMENT_STYLE): Likewise.

	* syntax.c (Fbackward_prefix_chars): Set point properly while scanning.
	(scan_sexps_forward): Make INC_FROM do UPDATE_SYNTAX_TABLE_FORWARD.
	Delete the explicit calls to UPDATE_SYNTAX_TABLE_FORWARD.
	Also set prev_from_syntax (new local var).  Test that in the loop,
	instead of fetching syntax of the previous char.

	* editfns.c (Fchar_after, Fchar_before): Properly check arg type
	and whether in range, for all cases.

1998-03-14  Richard Stallman  <rms@@psilocin.gnu.org>

	* process.c (exec_sentinel, read_process_output):
	Fstore_match_data => Fset_match_data.
d3043 1
a3043 1
	* xmenu.c (set_frame_menubar): Fstore_match_data => Fset_match_data.
d3045 2
a3046 3
	* xdisp.c (message_dolog): Save and restore Vdeactivate_mark.
	(prepare_menu_bars): Fstore_match_data => Fset_match_data.
	(update_menu_bar): Likewise.
d3048 1
a3048 1
1998-03-13  Richard Stallman  <rms@@psilocin.gnu.org>
d3050 2
a3051 2
	* search.c (Fset_match_data): Renamed from Fstore_match_data.
	(syms_of_search): Corresponding change.
d3053 2
a3054 1
	* lisp.h: Fstore_match_data => Fset_match_data.
d3056 1
a3056 1
	* window.c (Fwindow_end): New arg UPDATE.
d3058 2
a3059 2
	* window.c (Fset_window_configuration): Don't call do_switch_frame
	or run Qwindow_configuration_change_hook if frame is dead.
d3061 5
a3065 2
	* cmds.c (internal_self_insert): Call Fforward_buffer to advance
	over the replacement characters.
d3067 1
a3067 1
1998-03-12  Richard Stallman  <rms@@psilocin.gnu.org>
d3069 2
a3070 1
	* process.c (Fstart_process): Doc fix.
d3072 6
a3077 1
	* s/ptx4.h (SETUP_SLAVE_PTY): New definition.
d3079 2
a3080 1
	* buffer.c (init_buffer): Call Fset_buffer_multibyte for *scratch*.
d3082 1
a3082 1
1998-03-11  Richard Stallman  <rms@@psilocin.gnu.org>
d3084 17
a3100 5
	* insdel.c (insert_1_both, insert_from_string_1, insert_from_buffer_1)
	(adjust_after_replace, replace_range):
	Account for combining bytes in args to record_insert.
	(del_range_2): Make undo records for combining bytes.
	Put second call to move_gap_both before setting beg_unchanged.
d3102 1
a3102 1
1998-03-12  Kenichi HANDA  <handa@@etl.go.jp>
d3104 1
a3104 2
	* coding.c (code_convert_region): Adjusted for the change of
	adjust_after_replace.
d3106 2
a3107 4
	* fileio.c (Finsert_file_contents): Don't do position adjustments
	and handling post-read-conversion here, they are done in
	code_convert_region.  Even if a file is read by no-conversion,
	call adjust_after_replace to adjust positions.
d3109 1
a3109 5
	* insdel.c (adjust_before_replace): Call
	adjust_overlays_for_delete.
	(adjust_after_replace): Delete args COMBINED_BEFORE_BYTES and
	COMBINED_AFTER_BYTES.  This makes the newly generated text
	following GPT_ADDR a buffer contents.
d3111 3
a3113 1
1998-03-10  Richard Stallman  <rms@@psilocin.gnu.org>
d3115 9
a3123 12
	* insdel.c (adjust_markers_for_insert): Don't leave a marker within
	the combined_after_bytes.  Use DEC than INC when leaving
	a marker before the insertion.
	(count_combining_before): Return number of bytes from start
	of insertion that will combine.
	(insert_1_both): Compensate for change in count_combining_before.
	Delete intervals for the combined_after_bytes.
	Compensate for that when updating other intervals.
	(insert_from_buffer_1, replace_range): Likewise.
	(adjust_after_replace): Likewise.
	(insert_from_string_1): Likewise.  Also handle intervals
	for inserting just part of string.
d3125 1
a3125 30
	* insdel.c (insert_1_both, insert_from_string_1, insert_from_buffer_1):
	Count all of combined_after_bytes, not just 1, when correcting
	nchars, and in related places.
	(adjust_after_replace, replace_range): Likewise.

1998-03-09  Gerd Moellmann  <gerd@@gnu.org>

	* fontset.c (fontset_pattern_regexp): `==' was used instead of `='.

1998-03-09  Richard Stallman  <rms@@psilocin.gnu.org>

	* insdel.c (combine_bytes): New function.
	(insert_1_both, insert_from_string_1, insert_from_buffer_1):
	Simplify greatly by using combine_bytes near the end
	to handle all aspects of combining except for undo-recording.
	This means most of the code deals with the text as if there were
	no combining.
	(replace_range): Likewise.  Also handle unibyte-multibyte conversion
	as in insert_from_string_1.
	(del_range_2): Handle combining of character before the deletion
	with strays after the deletion.
	(adjust_markers_for_delete): Delete debugging code for Z == Z_BYTE.
	(adjust_markers_for_insert): Move Z == Z_BYTE debugging code
	to before we relocate the marker.

1998-03-09  Richard Stallman  <rms@@psilocin.gnu.org>

	* lisp.h (struct Lisp_Buffer_Local_Value):
	Field car renamed to realvalue.  New fields check_frame,
	found_for_buffer, found_for_frame, buffer, frame.
d3127 2
a3128 5
	* data.c (store_symval_forwarding, swap_in_symval_forwarding)
	(set_internal, default_value, Fset_default, Fmake_local_variable)
	(Fmake_variable_buffer_local, Fkill_local_variable):
	Handle new data structure for struct Lisp_Buffer_Local_Value.
	(Fmake_variable_frame_local): New function.
d3130 1
a3130 3
	* buffer.c (set_buffer_internal_1) 
	(swap_out_buffer_local_variables): Handle new data structure
	for struct Lisp_Buffer_Local_Value.
d3132 1
a3132 2
	* print.c (print): Handle new data structure
	for struct Lisp_Buffer_Local_Value.
d3134 1
a3134 2
	* alloc.c (gc_sweep, mark_object): Handle new data structure
	for struct Lisp_Buffer_Local_Value.
d3136 3
a3138 1
1998-03-08  Richard Stallman  <rms@@psilocin.gnu.org>
d3140 1
a3140 2
	* insdel.c (adjust_markers_for_insert): New arg COMBINED_BEFORE_BYTES.
	Calls changed.
d3142 2
a3143 6
	* search.c (simple_search): Don't count a character until it matches!
	Call set_search_regs differently in a forward search.
	(boyer_moore): Fix up the code that translates the pattern
	and loops thru equivalent characters.
	
1998-03-07  Richard Stallman  <rms@@psilocin.gnu.org>
d3145 3
a3147 10
	* insdel.c (adjust_markers_for_insert): New arg COMBINED_AFTER_BYTES.
	Calls changed.
	(insert_1): Call insert_1_both.
	(count_combining_before): New function.
	(count_combining_after): New function.
	(insert_1_both, insert_from_string_1): Handle bytes that combine
	with chars adjacent to the inserted text.
	(insert_from_buffer_1, replace_range): Likewise.
	(adjust_after_replace):
	New args COMBINED_BEFORE_BYTES, COMBINED_AFTER_BYTES.
d3149 3
a3151 1
1998-03-06  Kenichi Handa  <handa@@etl.go.jp>
d3153 1
a3153 1
	* Makefile.in (alloc.o): Depend on charset.h.
d3155 3
a3157 2
	* alloc.c (Fmake_string): Handle the case INIT is a multibyte
	character correctly.
d3159 2
a3160 2
	* buffer.c (advance_to_char_boundary): Handle the case the code
	0240..0377 is not a constituent of a multibyte sequence.
d3162 4
a3165 2
	* coding.c (code_convert_region): Fix previous change.  Adjusted
	for the change of adjust_after_replace (see insdel.c change above).
d3167 2
a3168 1
1998-03-04  Ken'ichi Handa  <handa@@melange.gnu.org>
d3170 2
a3171 1
	* coding.c (code_convert_region): Fix previous change.
d3173 5
a3177 1
1998-03-04  Kenichi HANDA  <handa@@etl.go.jp>
d3179 3
a3181 2
	* buffer.c (Fset_buffer_multibyte): Fix arg for chars_in_text.
	Be sure not to have a multibyte sequence striding over the GAP
d3183 2
a3184 2
	* charset.c (strwidth): Make it work for invalid bytes sequence.
	(Fstring_width): Give byte length of STR to strwidth.
d3186 2
a3187 2
	* coding.c (code_convert_region): Handle the case that codes
	0240..0377 are generated just after a multibyte character.
d3189 10
a3198 2
	* editfns.c (Fformat): Format multibyte characters by "%c"
	correctly.  Handle padding for multibyte characters correctly.
d3200 2
a3201 1
1998-03-03  Richard Stallman  <rms@@psilocin.gnu.org>
d3203 1
a3203 1
	* puresize.h (BASE_PURESIZE): Increased.
d3205 2
a3206 1
1998-03-03  Kenichi Handa  <handa@@etl.go.jp>
d3208 2
a3209 1
	* Makefile.in (dired.o): Depend on charset.h and coding.h.
d3211 1
a3211 2
	* callproc.c (Vdefault_file_name_coding_system): Extern it.
	(Fcall_process): Use ENCODE_FILE.
d3213 3
a3215 3
	* coding.h (ENCODE_FILE): Moved from fileio.c.  Use
	default-file-name-coding-system if file-name-coding-system is nil.
	(DECODE_FILE): New macro.
a3216 5
	* dired.c: Include charset.h and coding.h.
	(ENCODE_FILE): This macro is moved to coding.h.
	(Vdefault_file_name_coding_system): Extern it.
	(Fdirectory_files): Use DECODE_FILE.
	(file_name_completion): Likewise.
d3218 1
a3218 1
	* editfns.c (Fformat): Fix previous change.
d3220 1
a3220 11
	* fileio.c (ENCODE_FILE): This macro is moved to coding.h.
	(Vdefault_file_name_coding_system): New variable.
	(syms_of_fileio): Defsubr it.
	(Ffile_symlink_p): Use DECODE_FILE.
	(Ffile_name_directory): Use size_byte member of XSTRING (filename).
	(Ffile_name_as_directory): Likewise.
	(Fdirectory_file_name): Likewise.
	(Fsubstitute_in_file_name): Likewise.
	(expand_and_dir_to_file): Likewise.
	(Fdo_auto_save): Likewise.
	(Fread_file_name): Likewise.
d3222 1
a3222 2
	* insdel.c (insert_1_both): If enable-multibyte-characters is nil,
	insert each byte as one character.
d3224 4
a3227 2
	* process.c (Vdefault_file_name_coding_system): Extern it.
	(create_process): Use ENCODE_FILE.
d3229 1
a3229 1
1998-03-02  Kenichi Handa  <handa@@etl.go.jp>
d3231 3
a3233 1
	* callproc.c (Fcall_process): Calculate CARRYOVER correctly.
d3235 1
a3235 2
	* charset.h (NONASCII_INSERT_OFFSET): New macro.
	(VALID_MULTIBYTE_CHAR_P): New macro.
d3237 3
a3239 6
	* charset.c (DEFAULT_NONASCII_INSERT_OFFSET): Macro definition is
	moved to charset.h.
	(unibyte_char_to_multibyte): Always return a valid character.
	(Funibyte_char_to_multibyte): New function.
	(syms_of_charset): Defsubr it.  Doc-string of
	nonascii-insert-offset is modified.
d3241 1
a3241 1
	* coding.h: Typo in comment fixed.
d3243 1
a3243 2
	* cmds.c (internal_self_insert): Avoid checking
	enable-multibyte-characters twice.
d3245 1
a3245 2
	* editfns.c (string1): Cast ARGS to `char **' to avoid
	compiler warning.
d3247 1
a3247 2
	* fileio.c (Ffile_name_nondirectory): Use size_byte member of
	XSTRING (filename).
d3249 1
a3249 3
	* fns.c (DEFAULT_NONASCII_INSERT_OFFSET): Macro definition is
	moved to charset.h.
	(concat): Use unibyte_char_to_multibyte.
d3251 1
a3251 7
	* insdel.c (DEFAULT_NONASCII_INSERT_OFFSET): Macro definition is
	moved to charset.h.
	(copy_text): Don't convert codes in the range 0200..0237 to
	multibyte characters.  For codes in the range 0240..0377, use
	unibyte_char_to_multibyte.
	(count_size_as_multibyte): Likewise.
	(adjust_before_replace): Comment fixed.
d3253 1
a3253 2
	* xdisp.c (try_window_id): Use DEC_BOTH unconditionally.
	(display_text_line): Likewise.
d3255 7
a3261 1
1998-03-02  Richard Stallman  <rms@@psilocin.gnu.org>
d3263 1
a3263 19
	* lisp.h (Vnonascii_translate_table, Qcharset): New variable decls.
	(Fstring_make_multibyte, Fstring_make_unibyte): New function decl.
	(Fstring_as_multibyte, Fstring_as_unibyte): New function decl.
	(list2, list3, list4, list5): New function decl.
	(Fwrite_region): Add an argument.
	(compare_window_configurations): New function decl.
	
	* keyboard.c: Include syntax.h.
	(interrupt_signal): Save and restore gl_state
	around an immediate quit, in case debugger returns.

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

	* syntax.h (UPDATE_SYNTAX_TABLE):
	Do nothing unless parse_sexp_lookup_properties.
	(UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD): Likewise.
	(SYNTAX_TABLE_BYTE_TO_CHAR): If parse_sexp_lookup_properties is 0,
	return 0 right away.
	(SETUP_SYNTAX_TABLE): Add if (1) ... else.
d3265 3
a3267 1
1998-03-01  Richard Stallman  <rms@@psilocin.gnu.org>
d3269 9
a3277 2
	* fileio.c (auto_save_1): Pass new arg to Fwrite_region.
	(Fwrite_region): New arg CONFIRM.  If non-nil, confirm overwriting.
d3279 2
a3280 1
	* callproc.c (Fcall_process_region): Pass new arg to Fwrite_region.
d3282 1
a3282 4
1998-03-01  Ilya Zakharevich  <ilya@@math.ohio-state.edu>
	
	* syntax.c (update_syntax_table): Properly update `position'
	field of used intervals.
d3284 1
a3284 2
	* interval.c (update_interval): Properly update `position'
	field of used intervals.
d3286 1
a3286 1
1998-02-28  Richard Stallman  <rms@@psilocin.gnu.org>
d3288 2
a3289 1
	* fns.c (internal_equal): compare_window_configurations takes new arg.
d3291 1
a3291 3
	* window.c (compare_window_configurations): New arg ignore_positions.
	(Fcompare_window_configurations): New function.
	(syms_of_window): defsubr it.
d3293 6
a3298 4
	* keyboard.c (Fthis_command_keys_vector): New function.
	(Fread_key_sequence_vector): New function.
	(syms_of_keyboard): defsubr them.
	(Fthis_single_command_keys): Always return a vector.
d3300 1
a3300 1
1998-02-27  Richard Stallman  <rms@@psilocin.gnu.org>
d3302 4
a3305 4
	* xterm.c (XTframe_up_to_date): Check that mouse_face_mouse_frame
	is non-null before calling note_mouse_highlight.
	(x_destroy_window): If f equals mouse_face_mouse_frame,
	clear that, and clear mouse_face_deferred_gc too.
d3307 2
a3308 1
	* xdisp.c (syms_of_xdisp): Doc fix.
d3310 1
a3310 2
	* data.c (store_symval_forwarding) <Lisp_Misc_Buffer_Objfwd>:
	If buffer_local_types has -1, this variable is read-only.
d3312 2
a3313 1
	* buffer.c (syms_of_buffer): enable-multibyte-characters is read-only.
d3315 1
a3315 2
	* data.c (Fset_default) <BUFFER_OBJFWDP>:
	Unconditionally set the slot in buffer_defaults.
d3317 1
a3317 1
	* buffer.c (reset_buffer): Initialize enable_multibyte_characters.
d3319 1
a3319 2
	* buffer.c (init_buffer_once): Force enable-multibyte-characters
	to be local in every buffer whether it is set or not.
d3321 4
a3324 3
	* fns.c (mapcar1): Handle bool-vectors.
	(Fmapconcat, Fmapcar): Doc fixes.
	(Flength): For char-table, length is based on max valid char code.
d3326 1
a3326 1
	* syssignal.h: Delete #endif left over from previous change.
d3328 1
a3328 1
1998-02-27  Andreas Schwab  <schwab@@gnu.org>
d3330 1
a3330 2
	* indent.c (compute_motion): If we just moved over a continuation
	return contin_hpos as prevhpos.
d3332 1
a3332 1
1998-02-27  Karl Heuer  <kwzh@@gnu.org>
d3334 3
a3336 1
	* insdel.c (del_range_2): Reorder args.  All callers changed.
d3338 2
a3339 1
1998-02-25  Karl Heuer  <kwzh@@gnu.org>
d3341 4
a3344 1
	* insdel.c (del_range_both): Reorder args.  All callers changed.
d3346 1
a3346 1
1998-02-24  Kenichi Handa  <handa@@etl.go.jp>
d3348 3
a3350 2
	* xdisp.c (message_dolog): Give correct args to
	message_log_check_duplicate and del_range_both.
d3352 2
a3353 1
	* search.c (scan_newline): Delete duplicated code.
d3355 3
a3357 1
1998-02-21  Richard Stallman  <rms@@gnu.org>
d3359 2
a3360 1
	* cmds.c (Fdelete_backward_char): Count both bytes and chars.
d3362 1
a3362 1
1998-02-21  Ilya Zakharevich  <ilya@@math.ohio-state.edu>
d3364 1
a3364 6
	* syntax.h (UPDATE_SYNTAX_TABLE_FORWARD): Fix condition.
	(UPDATE_SYNTAX_TABLE_BACKWARD, UPDATE_SYNTAX_TABLE): Likewise.
	(SETUP_SYNTAX_TABLE_FOR_OBJECT): Fix bounds.
	* syntax.c (update_syntax_table): Fix calculations using offset.
	(skip_chars): Fix loop termination condition.
	* textprop.c (interval_of): Handle Qt.
d3366 1
a3366 1
1998-02-20  Andreas Schwab  <schwab@@gnu.org>
d3368 1
a3368 4
        * s/gnu-linux.h (LINUX_MAP_SHARED_DOES_WORK): Define for kernel
	version after 2.0.
	(UNEXEC_USE_MAP_PRIVATE): Don't define if
	LINUX_MAP_SHARED_DOES_WORK.
d3370 2
a3371 9
	* syssignal.h (sigmask) [POSIX_SIGNALS]: Always define our own
	version that returns a sigset_t.
	(sigpause) [POSIX_SIGNALS]: Unconditionally define in terms of
	sigsuspend.  Don't redefine SIGEMPTYMASK.
	(sys_sigpause): Don't declare.
	(temp_mask): Don't declare.
	* sysdep.c (sys_sigpause): Removed.
	(new_action, old_action): Move as local variables into sys_signal.
	(old_mask, temp_mask): Removed.
d3373 1
a3373 1
1998-02-20  Kenichi Handa  <handa@@etl.go.jp>
d3375 2
a3376 2
	* editfns.c (Fmessage): Check byte size (instead of char size) of
	VAL against MESSAGE_LENGTH.
d3378 1
a3378 3
	* fileio.c (Fwrite_region): When writing a string, give byte size
	to a_write.
	(a_write): Handle annotations correctly when writing a string.
d3380 3
a3382 2
	* ccl.c (Fccl_execute_on_string): Put \n\ at end-of-line of
	doc-string.
d3384 1
a3384 1
1998-02-19  Kenichi Handa  <handa@@etl.go.jp>
d3386 8
a3393 2
	* buffer.c (advance_to_char_boundary): Make the behaviour
	consistent with INC_POS.
d3395 1
a3395 1
	* ccl.c (Fccl_execute_on_string): Add new arg UNIBYTE-P.
d3397 1
a3397 3
	* charset.h (INC_POS): Use macro BASE_LEADING_CODE_P.
	(DEC_POS): Make the behaviour consistent with INC_POS.
	(BUF_INC_POS, BUF_DEC_POS): Likewise.
d3399 1
a3399 6
	* charset.c (invalid_character): New function.
	(chars_in_text): Make the behaviour consistent with INC_POS.
	(multibyte_chars_in_text): Likewise.
	(str_cmpchar_id): Likewise.
	(non_ascii_char_to_string): Call invalid_character.
	(Fchar_direction): Likewise.
d3401 1
a3401 15
	* coding.c (decode_coding_iso2022): Update coding->fake_multibyte.
	(ENCODE_SINGLE_SHIFT_2, ENCODE_SINGLE_SHIFT_3,
	encode_coding_iso2022, decode_coding_sjis_big5,
	encode_coding_sjis_big5, decode_eol, encode_eol, decode_coding,
	encode_coding): Likewise.
	(shrink_decoding_region, shrink_encoding_region): Do not skip
	non-ASCII code in any cases.  Bug fix for getting starting address
	from BEG.
	(code_convert_region): Sync character positions correctly by
	paying attention to coding->fake_multibyte.
	(code_convert_string): Set number of character and bytes just
	processed in members of CODING.
	(code_convert_string): Adjusted for the change of
	code_convert_region.
	(code_convert_region1): Likewise.
d3403 2
a3404 1
	* coding.h (struct coding_system): New member fake_multibyte.
d3406 1
a3406 3
	* fileio.c (Finsert_file_contents): Read a file contents into the
	correct buffer (byte) position.  Adjusted for the change of
	code_convert_region.
d3408 2
a3409 2
	* fns.c (Fset_char_table_default): For an invalid character, call
	invalid_character.
d3411 1
a3411 7
	* indent.c (MULTIBYTE_BYTES_WIDTH): New macro.
	(current_column_1): Don't follow a display table for a heading
	byte of a multibyte character.  Use the macro
	MULTIBYTE_BYTES_WIDTH.
	(Fmove_to_column): Likewise.
	(compute_motion): Likewise.  Handling of wide-column character
	fixed.
d3413 6
a3418 3
	* insdel.c (adjust_before_replace): Comment added.
	(adjust_after_replace): Comment added.  Give correct args to
	adjust_point.  Don't call signal_after_change here.
d3420 1
a3420 2
	* intervals.c (temp_set_point_both): Declare arg BYTEPOS as int.
	(set_point_both): Likewise.
d3422 1
a3422 1
	* search.c (search_buffer): Update POS_BYTE for regexp search.
d3424 1
a3424 2
	* xdisp.c (display_text_line): Handling of a wide-column character
 	fixed.  Make the behaviour consistent with INC_POS.
d3426 2
a3427 1
1998-02-18  Richard Stallman  <rms@@gnu.org>
d3429 1
a3429 2
	* editfns.c (Fchar_before): Check POS in valid range
	before calling CHAR_TO_BYTE.
d3431 1
a3431 2
	* search.c (search_command): Check LIM in valid range
	before calling CHAR_TO_BYTE.
d3433 4
a3436 1
1998-02-15  Richard Stallman  <rms@@psilocin.gnu.org>
d3438 2
a3439 3
	* minibuf.c (read_minibuf): Do use DEFALT in place of empty input
	when when expflag is nonzero.
	(Fread_no_blanks_input): Arg INIT renamed to INITIAL.
d3441 1
a3441 1
1998-02-14  Richard Stallman  <rms@@psilocin.gnu.org>
d3443 4
a3446 3
	* fileio.c (Fread_file_name): Alter the history
	to contain just the actual file name, and not any
	other preinserted text that is not really used.
d3448 15
a3462 4
	* search.c (simple_search): Call set_search_regs.
	(boyer_moore): New arg CHARSET_BASE says which chars
	to use the translate tables for.
	(search_buffer): Properly test which chars participate in translation.
d3464 2
a3465 1
1998-02-12  Gerd Moellmann  <gerd@@gnu.org>
d3467 2
a3468 5
	* intervals.c (split_interval_right): Make sure to call
	balance_possible_root_interval in case an interval doesn't have a
	right child, because otherwise the interval tree might degenerate
	into a list.
	(split_interval_left): Ditto if an interval hasn't a left child.
d3470 1
a3470 1
1998-02-12  Richard Stallman  <rms@@psilocin.gnu.org>
d3472 1
a3472 2
	* search.c (TRANSLATE): New arg OUT.  Handle non-integer in TRT.
	All calls changed.
d3474 1
a3474 1
	* editfns.c (Fsubst_char_in_region): Don't increment pos twice.
d3476 2
a3477 2
	* charset.h (INC_BOTH, DEC_BOTH): In unibyte mode,
	simply increment bytepos.
d3479 1
a3479 6
	* syntax.c (skip_chars): Use INC_POS instead of INC_BOTH.
	(Fforward_comment): Always use both FROM and FROM_BYTE to set point.
	Use dec_bytepos not DEC_POS.
	(scan_lists): Handle unibyte buffers when decrementing temp_pos.
	(INC_FROM): Use INC_BOTH.
	(inc_bytepos, dec_bytepos): In unibyte mode, just increment bytepos.
d3481 9
a3489 1
	* xdisp.c (display_text_line): Use INC_BOTH for unibyte buffers too.
d3491 2
a3492 1
1998-02-10  Richard Stallman  <rms@@psilocin.gnu.org>
d3494 7
a3500 2
	* keymap.c (describe_map_tree): Add the maps we have already
	handled into SUB_SHADOWS.
d3502 2
a3503 1
1998-02-06  Kenichi Handa  <handa@@melange.gnu.org>
d3505 2
a3506 1
	* fns.c (Fstring_bytes): Declare arg STRING as Lisp_Object.
d3508 4
a3511 3
	* editfns.c (Fposition_bytes): Declare arg POSITION as
 	Lisp_Object.  Allow marker as arg POSITION.  Use XINT for type
 	consistency.
d3513 2
a3514 1
1998-02-09  Andreas Schwab  <schwab@@gnu.org>
d3516 2
a3517 2
	* indent.c (compute_motion): If right margin is reached and we are
	truncating don't clobber PREV_HPOS if we are already past TO.
d3519 2
a3520 1
1998-02-09  Richard Stallman  <rms@@psilocin.gnu.org>
d3522 2
a3523 1
	* fns.c (concat): Use Vnonascii_translate_table.
d3525 5
a3529 3
	* charset.c (Vnonascii_translate_table): New variable.
	(unibyte_char_to_multibyte): Use Vnonascii_translate_table.
	(syms_of_charset): Defvar it.
d3531 1
a3531 2
	* insdel.c (copy_text, count_size_as_multibyte):
	Use Vnonascii_translate_table.
d3533 1
a3533 1
1998-02-08  Richard Stallman  <rms@@psilocin.gnu.org>
d3535 5
a3539 3
	* print.c (printchar): When outputting to echo area,
	update message_enable_multibyte, and convert previous text
	from unibyte to multibyte if necessary.
d3541 1
a3541 1
	* search.c (search_command): Fix call to search_buffer.
d3543 1
a3543 1
1998-02-07  Richard Stallman  <rms@@psilocin.gnu.org>
d3545 1
a3545 1
	* dired.c (Fdirectory_files): Call compile_pattern the new way.
d3547 1
a3547 5
	* search.c (boyer_moore, simple_search): New subroutines.
	(search_buffer): For non-regexp, use one of those subroutines.
	Args TRT and INVERSE_TRT are now Lisp_Object.  Callers changed.
	(compile_pattern_1): Arg TRANSLATE is now Lisp_Object.  Calls changed.
	(compile_pattern): Arg TRANSLATE is now Lisp_Object.  Calls changed.
d3549 4
a3552 2
	* config.in (RE_TRANSLATE_TYPE): Define as Lisp_Object.
	(RE_TRANSLATE): Use Faref to examine translate table.
d3554 2
a3555 1
1998-02-06  Richard Stallman  <rms@@psilocin.gnu.org>
d3557 5
a3561 5
	* marker.c (byte_char_debug_check): New function.
	(CONSIDER, both definitions): Call it.
	(buf_charpos_to_bytepos, buf_bytepos_to_charpos): Likewise.
	(byte_debug_flag): New variable.
	(syms_of_marker): Set up Lisp variable.
d3563 1
a3563 5
	* buffer.c (advance_to_char_boundary): New function.
	(Fset_buffer_multibyte): Advance all byte-positions to char boundaries.
	Clear undo list.
	
	* fontset.h (GENERIC_FONT_PTR): Commented-out definition deleted.
d3565 1
a3565 1
1998-02-06  Kenichi Handa  <handa@@etl.go.jp>
d3567 4
a3570 1
	* window.h: Change argument number of Fdisplay_buffer to 3.
d3572 7
a3578 1
1998-02-06  Richard Stallman  <rms@@psilocin.gnu.org>
d3580 6
a3585 1
	* buffer.c (Fpop_to_buffer): Pass new arg to Fdisplay_buffer.
d3587 1
a3587 3
	* window.c (Fdisplay_buffer): New arg FRAME.
	(temp_output_buffer_show): Pass new arg to Fdisplay_buffer.
	(Fother_window_for_scrolling): Likewise.
d3589 1
a3589 2
	* editfns.c (Fposition_bytes): New function.
	(syms_of_editfns): defsubr it.
d3591 1
a3591 2
	* fns.c (Fstring_bytes): New function. 
	(syms_of_fns): defsubr it.
d3593 9
a3601 1
1998-02-05  Richard Stallman  <rms@@psilocin.gnu.org>
d3603 1
a3603 3
	* minibuf.c (read_minibuf): If input is empty, return empty string.
	(Fread_string): Return DEFAULT_VALUE here, if input is empty.
	(Fcompleting_read): Likewise.
d3605 2
a3606 1
1998-02-04  Richard Stallman  <rms@@psilocin.gnu.org>
d3608 2
a3609 6
	* keymap.c (Fdescribe_bindings_internal):
	Renamed from Fdescribe_bindings.  New arg NOMENU.
	(syms_of_keymap): Corresponding changes.
	(describe_buffer_bindings): Get NOMENU out of the arg list.
	Pass it along to describe_map_tree.
	Improve text of `alternate_heading'.
d3611 1
a3611 1
	* alloc.c (list2, list3, list4, list5): New functions.
d3613 1
a3613 1
1998-02-04  Kenichi Handa  <handa@@etl.go.jp>
d3615 10
a3624 1
	* charset.c (Fiso_charset): Doc-string modified.
d3626 5
a3630 3
	* editfns.c (Fsubst_char_in_region): Handle character-base
	position and byte-base position correctly.
	(Fstring_to_char): Give byte size to STRING_CHAR.
d3632 7
a3638 2
	* insdel.c (copy_text): When copying from multibyte to unibyte, do
	not alter ASCII characters.
d3640 1
a3640 1
1998-02-03  Richard Stallman  <rms@@psilocin.gnu.org>
d3642 3
a3644 2
	* editfns.c (Fformat): If MULTIBYTE is changed to 1
	after we start computing TOTAL, jump back to `retry' (a new label).
d3646 5
a3650 1
1998-02-01  Richard Stallman  <rms@@sucrose.gnu.org>
d3652 1
a3652 2
	* lread.c (read1): Handle infinities, NaN and -0.0 specially.
	(isfloat_string): Accept e+INF and e+NAN as exponents.
d3654 3
a3656 1
	* print.c (float_to_string): Handle infinities and NaN specially.
d3658 2
a3659 1
	* fns.c (concat): Handle bool-vectors correctly.
d3661 4
a3664 1
	* fns.c (concat): If making a string, a nonempty bool-vector is error.
d3666 5
a3670 1
1998-01-30  Richard Stallman  <rms@@psilocin.gnu.org>
d3672 3
a3674 2
	* data.c (Faref, Faset): Allow indexing a char-table
	directly by numbers up to CHAR_TABLE_ORDINARY_SLOTS.
d3676 1
a3676 2
	* fns.c (Fset_char_table_range, Fchar_table_range):
	Allow a charset name symbol to designate a range.
d3678 6
a3683 2
	* callproc.c (Fcall_process): Allow creating a new buffer
	for the output.
d3685 2
a3686 1
1998-01-30  Kenichi Handa  Kenichi Handa  <handa@@etl.go.jp>
d3688 1
a3688 8
	* coding.c (ENCODE_ISO_CHARACTER): Pay attention to
	CODING_FLAG_ISO_USE_ROMAN and CODING_FLAG_ISO_USE_OLDJIS.
	(code_convert_region1): New function.
	(Fdecode_coding_region): Call code_convert_region1.
	(Fencode_coding_region): Likewise.
	(code_convert_string1): New function.
	(Fdecode_coding_string): Call code_convert_string1.
	(Fencode_coding_string): Likewise.
d3690 3
a3692 2
	* doc.c (Fsubstitute_command_keys): Declare length_byte out of
	internal block.
d3694 2
a3695 3
	* editfns.c (CONVERTED_BYTE_SIZE): Fix the logic.
	(Fformat): Update the variable MULTIBYTE according to the result
	of Fprin1_to_string.  Free BUF after making Lisp string from it.
d3697 1
a3697 1
1998-01-28  Richard Stallman  <rms@@psilocin.gnu.org>
d3699 15
a3713 2
	* search.c (search_buffer): New args pos_byte and lim_byte.
	(search_command): Pass new args.
d3715 4
a3718 1
1998-01-28  Kenichi Handa  <handa@@etl.go.jp>
d3720 9
a3728 3
	* coding.c (DECODE_SJIS_BIG5_CHARACTER): Don't have to increase
	coding->produced_char here.
	(code_convert_region): Initialize LEN_BYTE correctly.
d3730 13
a3742 5
	* search.c (fast_string_match): Give re_search byte size of
	STRING.
	(trivial_regexp_p): Initialize LEN to byte size of REGEXP.
	(search_buffer): Give re_search_2 STARTPOS, RANGE and STOP by
	counting them by bytes.
d3744 3
a3746 2
	* data.c (syms_of_data): Register multibyte-string-p as a Lisp
	function.
d3748 5
a3752 1
1998-01-28  Richard Stallman  <rms@@psilocin.gnu.org>
d3754 9
a3762 6
	* category.c (Fmodify_category_entry): Doc fix.
	(Fdescribe_categories): Renamed from Fdescribe_category.
	(syms_of_category): Corresponding changes.
	(Fcategory_set_mnemonics): Doc fix.
	(Fchar_category_set): Doc fix.
	(Fmake_category_set): Doc fix.
d3764 4
a3767 1
1998-01-26  Richard Stallman  <rms@@psilocin.gnu.org>
d3769 3
a3771 1
	* xdisp.c (message_dolog): Cast M to unsigned char * to access bytes.
d3773 2
a3774 2
	* keyboard.c (command_loop_1): Run post-command-hook before,
	not after, clearing this-command-keys and updating last-command.
d3776 2
a3777 1
	* fns.c (string_make_multibyte): In all-ASCII case, return orig STRING.
d3779 2
a3780 3
	* fns.c (Fstring_as_unibyte): New function.
	(Fstring_as_multibyte): New function.
	(syms_of_fns): defsubr them.
d3782 14
a3795 1
1998-01-25  Richard Stallman  <rms@@psilocin.gnu.org>
d3797 2
a3798 1
	* window.c (compare_window_configurations): New function.
d3800 1
a3800 1
	* fns.c (internal_equal): Use compare_window_configurations.
d3802 14
a3815 1
	* fileio.c (file_name_as_directory): For an empty name, return "/".
d3817 4
a3820 1
1998-01-24  Richard Stallman  <rms@@psilocin.gnu.org>
d3822 4
a3825 2
	* callproc.c (Fcall_process): Test only args past args[4]
	for multibyteness.
d3827 2
a3828 1
1998-01-23  Ken'ichi Handa  <handa@@melange.gnu.org>
d3830 7
a3836 1
	* charset.h: Delete garbage line "int use_dialog_box".
d3838 5
a3842 1
1998-01-23  Richard Stallman  <rms@@psilocin.gnu.org>
d3844 6
a3849 1
	* lread.c (Funintern): Clear the symbol's obarray field.
d3851 9
a3859 1
1998-01-21  Richard Stallman  <rms@@psilocin.gnu.org>
d3861 9
a3869 1
	* s/sol2-5.h (SYSTEM_MALLOC): Defined.
d3871 4
a3874 1
1998-01-21  Ken'ichi Handa  <handa@@melange.gnu.org>
d3876 3
a3878 1
	* fileio.c (Finsert_file_contents): Fix previous change.
d3880 11
a3890 85
1998-01-21  Richard Stallman  <rms@@psilocin.gnu.org>

	* syntax.c (back_comment): Move the find_defun_start call
	out of the scan_sexps_forward call.
	No need to call find_defun_start
	if we found the defun start in the initial scan.

1998-01-21  Kenichi Handa  <handa@@etl.go.jp>

	* callproc.c (Fcall_process): Use raw-text instead of emacs-mule
	when enable-multibyte-characters is nil.  Adjusted for the change
	of encode_coding and decode_coding.

	* ccl.h: Definition of macros CCL_STAT_XXX are moved from ccl.c to
	here.

	* charset.c (min_composite_char): New variable.
	(syms_of_charset): Declare a Lisp variable min-composite-char.

	* charset.h (BCOPY_SHORT): New macro.

	* coding.h (CODING_FINISH_XXX): New macros.
	(CODING_MODE_XXX): New macros.
	(struct coding_system): New member mode, category_idx,
	heading_ascii.  Deleted members last_block, direction, selective,
	carryover, carryover_size.
	(CODING_MAY_REQUIRE_DECODING): New macro.
	(CODING_CATEGORY_MASK_ISO_7BIT, CODING_CATEGORY_MASK_ISO_8BIT,
	CODING_CATEGORY_MASK_ISO_SHIFT, CODING_CATEGORY_MASK_ISO): New
	macros.
	(Qraw_text): Extern it.

	* coding.c (DECODE_CHARACTER_ASCII): Update coding->produced_char;
	(DECODE_CHARACTER_DIMENSION1): Likewise.
	(Qraw_text, Qcoding_category): New variables.
	(syms_of_coding): Intern and staticpro them.
	(coding_system_table): New variable.
	(CHARSET_OK, SHIFT_OUT_OK): New macros.
	(detect_coding_iso2022): Detection algorithm improved.
	(decode_coding_iso2022): Arg CONSUMED deleted, and the meaning of
	return value changed.  Update members produced, produced_char,
	consumed, consumed_char of the struct *coding.  Pay attention to
	CODING_MODE_INHIBIT_INCONSISTENT_EOL.
	(encode_coding_iso2022): Likewise.
	(decode_coding_sjis_big5, encode_coding_sjis_big5): Likewise.
	(decode_eol, encode_eol): Likewise.
	(ENCODE_ISO_CHARACTER): Update coding->consumed_char.
	(DECODE_SJIS_BIG5_CHARACTER): Update coding->produced_char.
	(ENCODE_SJIS_BIG5_CHARACTER): Update coding->consumed_char.
	(detect_coding_mask): New args PRIORITIES and SKIP.
	(detect_coding): Adjusted for the change of detect_coding_mask.
	Update coding->heading_ascii.
	(detect_eol_type): New arg SKIP.
	(detect_eol): Adjusted for the change of detect_eol_type.
	(ccl_codign_driver): New function.
	(decode_coding): Arg CONSUMED deleted, and the meaning of return
	value changed.  Update members produced, produced_char, consumed,
	consumed_char of the struct *coding.
	(encode_coding): Likewise.
	(shrink_decoding_region, shrink_encoding_region): New function.
	(code_convert_region, code_convert_string): Completely rewritten.
	(detect_coding_system): New arg HIGHEST.
	(Fdetect_coding_region): New arg HIGHEST.
	(Fdetect_coding_string): New function.
	(Fdecode_coding_region, Fencode_coding_region): Adjusted for the
	change of code_convert_region.
	(Fdecode_coding_string, Fencode_coding_string): Adjusted for the
	change of code_convert_string.
	(Fupdate_iso_coding_systems): New function.
	(init_coding_once): Initialize coding_system_table.
	
	* data.c (Faset): Allow setting a multibyte character in a
	multibyte string as far as it doesn't change the size_byte of the
	string.

	* fileio.c (Finsert_file_contents): Adjusted for the change of
	struct coding_system and function decode_coding.  For normail file
	reading, use code_convert_region.
	(Fwrite_region): Adjusted for the change of struct coding_system.
	(e_write): Adjusted for the change of encode_coding.

	* fns.c (mapcar1): Keep `i' in `i_before' before `i' is
	incremented by FETCH_STRING_CHAR_ADVANCE.

	* insdel.c (adjust_before_replace, adjust_after_replace): New
d3892 1
d3894 3
a3896 1
	* lisp.h (detect_coding_system): Extern it.
d3898 1
a3898 161
	* process.c (Fstart_process): Use raw-text instead of emacs-mule
	if enable-multibyte-characters is nil.  Initialize members
	decoding_carryover and encoding_carryover of PROC.
	(create_process): Adjusted for the change of encode_coding.
	(Fopen_network_stream): Initialize members decoding_carryover and
	encoding_carryover of PROC.
	(read_process_output): Adjusted for the change of decode_coding.
	(send_process): Adjusted for the change of encode_coding.

	* process.h (struct Lisp_Process): New members decoding_carryover
	and encoding_carryover.

	* term.c (encode_terminal_code): Adjusted for the change of
	encode_coding.
	(write_glyphs): Likewise.  Adjusted for the change of struct
	coding_system.
	(insert_glyphs): Likewise.

	* xselect.c (selection_data_to_lisp_data): Adjusted for the change
	of decode_coding.
	(lisp_data_to_selection_data): Adjusted for the change of
	encode_coding.
	(syms_of_xselect): Initialize clipboard-coding-system to
	compound-text.

1998-01-21  Kenichi Handa  <handa@@etl.go.jp>

	* fileio.c (Finsert_file_contents): Even if
	enable-multibyte-characters is nil, we must check `coding:' tag
	and `file-coding-system-alist' to handle eol-conversion.

	* coding.c (Vselect_safe_coding_system_function): New variable.
	(coding_category_table): This variable deleted.
	(Vcoding_category_table): New variable.
	(coding_category_name): Add "coding-category-iso-7-tight".
	(detect_coding_iso2022): Check the mask
	CODING_FLAG_ISO_DESIGNATION in CODING->FLAGS.  Check a new coding
	category coding-category-iso-7-tight.
	(DECODE_DESIGNATION): Decode only such designations that CODING
	can handle.
	(check_composing_code): New function.
	(decode_coding_iso2022): Decode only such characters that CODING
	can handle.
	(encode_coding_iso2022): Before and after encoding composite
	characters, reset designation and invocation status.
	(detect_coding_sjis): Delete unnecessary check.
	(detect_coding_big5): Likewise.
	(encode_designation_at_bol): Check the validity of requested
	designation register.
	(setup_coding_system): Set requested designation registers for
	non-supported charsets to
	CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION.  Set mask
	CODING_FLAG_ISO_DESIGNATION in CODING->FLAGS.  Code tuned for
	no-conversion and undecided.
	(detect_coding): Adjusted for the new variable
	Vcoding_category_table.
	(syms_of_coding): Initialize Vcoding_category_table and staticpro
	it.  Register select-safe-coding-system as a Lisp variable.

	* coding.h (CODING_FLAG_ISO_DESIGNATION): New macro.
	(struct iso2022_spec): New member.
	last_invalid_designation_register.
	(struct coding_system): New member inhibit_inconsistent_eol_type.
	(CODING_CATEGORY_IDX_ISO_7_TIGHT,
	CODING_CATEGORY_MASK_ISO_7_TIGHT): New macros.
	(CODING_CATEGORY_MASK_ANY): Include
	CODING_CATEGORY_MASK_ISO_7_TIGHT.
	(coding_category_table, coding_category_name): Extern deleted.
	(Vselect_safe_coding_system_function): Extern it.
	
	* charset.h (MAX_CHAR_COMPOSITION): New macro.
	(CHAR_CHARSET): Check more strictly.
	(CODING_FLAG_ISO_DESIGNATION): New macro.

1998-01-21  Kenichi Handa  <handa@@etl.go.jp>

	* ccl.h: (struct ccl_program): New member private_state.

	* ccl.c (Vccl_translation_table_vector, Qccl_program,
	Qccl_translation_table, Qccl_translation_table_id): New variables.
	append new symbols.  Qccl_translation_table and
	Qccl_translation_table_id.
	(CCL_Call): Fix the comment.
	(CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter,
	CCL_UnifyCharacter, CCL_UnifyCharacterConstTbl,
	CCL_IterateMultipleMap, CCL_TranslateMultipleMap): New macros for
	CCL Commands.
	(EXCMD): New macro.
	(ccl_driver): New case lable `CCL_Extention'.
	(setup_ccl_program): Initialize the member `private_state' of CCL.
	(Fregister_ccl_program): Delete unused variable IDX.
	(Fregister_ccl_translation_table): New function.
	(syms_of_ccl): Intern and staticpro Qccl_program,
	Qccl_translation_table, and Qccl_translation_table_id.  Declare
	`ccl-translation-table-vector' as a Lisp variable.  Declare
	register-ccl-translation-table as a Lisp function.

	* charset.h (Vcharacter_unification_table_vector): Extern it.
	(UNIFICATION_ID_TABLE): New macro.

	* charset.c (Vcharacter_unification_table_vector): New variable.
	(syms_of_charset): Declare it as a Lisp symbol.
	(unify_char): Delete unnecessary codes.

1998-01-21  Richard Stallman  <rms@@psilocin.gnu.org>

	* indent.c (current_column_1):
	Eliminate argument POS; use PT and PT_BYTE.
	When doing FETCH_BYTE, use scan_byte.
	(current_column): Check whether buffer really has multibyte chars,
	not whether they are enabled.

	* editfns.c (Fsave_current_buffer): Use set_buffer_if_live.

	* bytecode.c (Fbyte_code) <Bsave_current_buffer_1>:
	Use set_buffer_if_live.

	* buffer.c (set_buffer_if_live): New function.

1998-01-20  Richard Stallman  <rms@@psilocin.gnu.org>

	* charset.c (nonascii_insert_offset): Variable moved from cmds.c.
	(syms_of_charset): Initialize variable.

	* cmds.c (internal_self_insert, Fself_insert_command): 
	Use unibyte_char_to_multibyte.
	(nonascii_insert_offset): Variable moved to charset.c.
	(syms_of_cmds): Don't initialize nonascii_insert_offset.

	* fileio.c (Fsubstitute_in_file_name): Use unibyte_char_to_multibyte.
	
	* keyboard.c (command_loop_1): Use unibyte_char_to_multibyte.

	* xdisp.c (message_dolog): Use unibyte_char_to_multibyte.
	Pass different args to scan_newline.
	Properly compare oldpoint with Z.
	
	* syntax.c (skip_chars): Use unibyte_char_to_multibyte,

	* fns.c (concat): Use unibyte_char_to_multibyte.

	* charset.c (unibyte_char_to_multibyte): New function.
	(DEFAULT_NONASCII_INSERT_OFFSET): New macro definition.

	* lread.c (unreadchar): For unreading an ASCII char
	thru a buffer or marker, really decrement point or the marker position.

	* xdisp.c (display_menu_bar): Don't set maxendcol too large.

	* editfns.c (Fchar_equal): Fix case-conversion code.

1998-01-19  Richard Stallman  <rms@@psilocin.gnu.org>

	* window.h (WINDOW_RIGHT_MARGIN): Deduct width of vertical line
	if frame has no scroll bars.

	* fns.c (concat): Fix lossage in installing previous patch.

	* window.c (window_scroll): Set opoint_byte properly.

1998-01-16  Richard Stallman  <rms@@sucrose.gnu.org>
d3900 8
a3907 2
	* intervals.c (set_intervals_multibyte): New function.
	(set_intervals_multibyte_1): New function.
d3909 16
a3924 1
	* marker.c (clear_charpos_cache): New function.
d3926 6
a3931 1
1998-01-16  Richard Stallman  <rms@@gnu.org>
d3933 9
a3941 2
	* buffer.c (Fset_buffer_multibyte): New function.
	(syms_of_buffer): defsubr it.
d3943 7
a3949 3
	* syntax.c (skip_chars): Fix test for end of string, looking for `-'.
	(back_comment): Don't allow quoting a comment-end.
	(scan_lists): Likewise.
d3951 11
a3961 1
	* .gdbinit: Make GDB not handle SIGINT.
d3963 7
a3969 6
	* search.c (compile_pattern_1): If representation of STRING
	does not fit MULTIBYTE, convert its contents.
	(fast_c_string_match_ignore_case): Pass 0 to compile_pattern
	as MULTIBYTE.
	(search_buffer): If representation of STRING
	does not fit MULTIBYTE, convert its contents.
d3971 8
a3978 2
	* print.c (print) <Lisp_String>: When multibyte is enabled, print
	single-byte non-ASCII chars using octal escapes.
d3980 15
a3994 5
	* lread.c (read1): Escape codes can force multibyte or single-byte.
	Otherwise buffer_defaults->enable_multibyte_characters decides.
	Only set force_singlebyte when a \-sequence is in the relevant range.
	(read_escape): New arg STRINGP.  `\ ' is ignored only when STRINGP
	(normally, when reading a string).  Calls changed.
d3996 8
a4003 6
	* fns.c (concat): Move the test for all nil in `append'
	back to the right place.
	Always compute result_len_byte as for a multibyte string.  Then,
	if the result will be single-byte, don't use that computation.
	When converting single-byte to multibyte, don't use copy_text.
	Do use copy_text between single-byte string and multibyte string.
d4005 2
a4006 2
	(Fstring_make_multibyte, Fstring_make_unibyte): New functions.
	(syms_of_fns): defsubr them.
d4008 1
a4008 3
	(string_char_to_byte): Count from the beginning or the end,
	whichever is closer.  Keep a cache of recent values.
	(string_byte_to_char): Likewise.
d4010 3
a4012 1
	(Fstring_lessp): Compare the strings char by char.
d4014 2
a4015 2
	* xdisp.c (display_text_line): Set pos_byte with pos
	when skipping invisible.
d4017 1
a4017 4
	* alloc.c (STRING_BASE_SIZE): New macro.
	(STRING_FULLSIZE): Use STRING_BASE_SIZE instead of the whole
	size of struct Lisp_String.
	(make_pure_string): Use STRING_FULLSIZE.
d4019 2
a4020 1
1998-01-16  Richard Stallman  <rms@@psilocin.gnu.org>
d4022 2
a4023 2
	* window.c (Fspecial_display_p): Return the right value
	when special-display-regexps specifies frame parameters.
d4025 1
a4025 1
	* syntax.h (SYNTAX_TABLE_BYTE_TO_CHAR): New macro.
d4027 1
a4027 1
1998-01-12  Richard Stallman  <rms@@sucrose.gnu.org>
d4029 1
a4029 2
	* keymap.c (Fkey_description): Remember to set i_before.
	and use it in all cases.
d4031 4
a4034 1
1998-01-12  Kenichi Handa  <handa@@etl.go.jp>
d4036 1
a4036 2
	* minibuf.c (Fminibuffer_complete_word): Fix a bug of refering
	`i'.  We must refer `i_byte' instead.
d4038 1
a4038 2
	* insdel.c (insert_from_string_1): Decrement GAP_SIZE by
	outgoing_nbytes.
d4040 1
a4040 2
	* keymap.c (push_key_description): If C >= 128, always use octal
	representation.
d4042 3
a4044 1
	* fns.c (concat): Check STRINGP before increasing result_len_byte.
d4046 1
a4046 1
1998-01-12  Richard Stallman  <rms@@sucrose.gnu.org>
d4048 4
a4051 3
	* fileio.c (Finsert_file_contents): When not decoding,
	properly calculate number of chars in the text.
	Fix error message.
d4053 1
a4053 6
	* coding.c (code_convert_region): Always count chars inserted
	in accord with value of enable-multibyte-characters.
	(Fcoding_system_p): Doc fix.
	(Fcheck_coding_system): Doc fix.
	(Fterminal_coding_system): Doc fix.
	(Fkeyboard_coding_system): Doc fix.
d4055 13
a4067 1
1998-01-11  Dave Love  <fx@@gnu.org>
d4069 1
a4069 1
	* charset.c (Fchar_valid_p): Fix bare newlines in doc string.
d4071 1
a4071 1
1998-01-11  Richard Stallman  <rms@@sucrose.gnu.org>
d4073 1
a4073 2
	* fileio.c (file_name_as_directory): Error if arg is empty.
	(Fwrite_region): Don't flush the encoding buffer if failure is set.
d4075 3
a4077 1
1998-01-10  Richard Stallman  <rms@@sucrose.gnu.org>
d4079 1
a4079 6
	* syntax.h (struct gl_state_s): New field `object'.
	(SETUP_SYNTAX_TABLE_FOR_OBJECT): Set it.
	Handle non-current buffer properly.  Args renamed to all caps.
	(SETUP_SYNTAX_TABLE): Set `object'.  Args renamed to all caps.
	(UPDATE_SYNTAX_TABLE): Use gl_state.object.
	(UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD): Likewise.
d4081 2
a4082 2
	* syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Add gl_state.offset
	when using the arg FROM.  Use BYTE_TO_CHAR.
d4084 1
a4084 1
1998-01-09  Richard Stallman  <rms@@gnu.org>
d4086 4
a4089 2
	* callint.c (Fcall_interactively): Allocate string by bytes.
	Use message_with_string.
d4091 3
a4093 1
	* dired.c (Fdirectory_files): Fix arg to compile_pattern.
d4095 1
a4095 1
1998-01-06  Richard Stallman  <rms@@sucrose.gnu.org>
d4097 3
a4099 2
	* emacs.c (standard_args): Add "-unibyte" aka "--unibyte".
	(main): Handle --unibyte.
d4101 1
a4101 1
1998-01-05  Richard Stallman  <rms@@psilocin.gnu.org>
d4103 1
a4103 2
	* search.c (search_buffer): Handle bytes vs chars in non-RE case.
	Have two locals len and len_byte.
d4105 3
a4107 2
	* minibuf.c (read_minibuf): Handle bytes vs chars
	when checking for junk at end of expression.
d4109 1
a4109 1
1998-01-04  Richard Stallman  <rms@@psilocin.gnu.org>
d4111 4
a4114 4
	* editfns.c (Fformat): Do all the work directly--don't use doprnt.
	Calculate the right size the first time, so no need to retry.
	Count chars and bytes in the result.
	Convert single-byte strings to multibyte as needed.
d4116 9
a4124 3
	* buffer.c (record_overlay_string): Totalize sizes assuming
	strings are converted to match buffer in multibyteness.
	(overlay_strings): Convert strings to match buffer in multibyteness.
d4126 1
a4126 1
	* search.c (fast_c_string_match_ignore_case): Use string_make_unibyte.
d4128 2
a4129 1
	* fns.c (string_make_unibyte): New function.
d4131 1
a4131 2
	* insdel.c (count_size_as_multibyte): New function.
	(insert_from_string_1, insert_from_buffer_1): Use it.
d4133 2
a4134 1
	* lread.c (read_escape): `\ ' stands for nothing at all.
d4136 1
a4136 1
	* .gdbinit (xstring): Use size_byte.
d4138 1
a4138 3
	* lread.c (oblookup): Take args SIZE and SIZE_BYTE.  Callers changed.
	* abbrev.c (Fexpand_abbrev): Pass both kinds of size to oblookup.
	* minibuf.c (test_completion): Pass both kinds of size to oblookup.
d4140 2
a4141 3
	* print.c (print_string): Now static.
	(print): When multibyte is disabled,
	print multibyte string chars using hex escapes.
d4143 1
a4143 1
	* puresize.h (BASE_PURESIZE): Increased.
d4145 4
a4148 1
	* bytecode.c (Fbyte_code): Use size_byte.
d4150 1
a4150 1
	* filelock.c (MAKE_LOCK_NAME): Use size_byte.
d4152 1
a4152 3
	* lread.c (init_obarray, read1, make_symbol):
	Pass new arg to make_pure_string.
	(Fintern, oblookup, Fintern_soft, intern): Handle size_byte.
d4154 15
a4168 4
	* alloc.c (make_pure_string): New arg length_byte.
	Take account of size used by size_byte; store both sizes.
	(Fpurecopy): Call make_pure_string the new way.
	(compact_strings): Use size_byte field to compute string's size.
d4170 1
a4170 1
1998-01-03  Richard Stallman  <rms@@psilocin.gnu.org>
d4172 1
a4172 1
	* coding.c (code_convert_region): Delete duplicate local `zv_before'.
d4174 1
a4174 1
	* fileio.c (Fdo_auto_save): Save and restore multibyteness of minibuffer.
d4176 1
a4176 1
	* process.c (read_process_output): use insert_1_both.
d4178 1
a4178 2
	* abbrev.c (Fexpand_abbrev): Pass new args to insert_from_string.
	(Funexpand_abbrev): Likewise.  Use size_byte.
d4180 2
a4181 2
	* editfns.c (Ftranslate_region): Scan by chars and bytes
	using STRING_CHAR_AND_LENGTH.  Replace only single-byte chars.
d4183 1
a4183 7
	* insdel.c (copy_text): New function.
	(insert_from_buffer_1): Call copy_text to convert between
	single-byte and multibyte text.
	(insert_from_string_1): Likewise.
	
	* process.c (read_process_output): New var `multibyte'.
	Set it according to which coding system was used.
d4185 2
a4186 1
	* charset.c (multibyte_chars_in_text): New function.
d4188 2
a4189 2
	* fileio.c (Fwrite_region): Use message_with_string.
	(auto_save_error, Fdo_auto_save): Likewise.
d4191 1
a4191 2
	* print.c (printchar): Pass new arg to message_dolog.
	(strout): New arg MULTIBYTE.  Callers changed.
d4193 1
a4193 1
	* lread.c (dir_warning): Pass new arg to message_dolog.
d4195 1
a4195 1
	* emacs.c (main): Pass new arg to message_dolog.
d4197 1
a4197 3
	* keyboard.c (echo_now): Use message2_nolog, not message1_nolog.
	(Fexecute_extended_command): Likewise.
	(read_char_minibuf_menu_prompt): Use message2_nolog, not message1.
d4199 1
a4199 4
	* xdisp.c (message_dolog, message2): New arg MULTIBYTE.
	Callers changed.
	(message1, message1_nolog): String must be ASCII-only.
	(message2, message2_nolog): Now static.
d4201 2
a4202 1
	* search.c (compile_pattern): New arg MULTIBYTE.  Callers changed.
d4204 1
a4204 2
	* syntax.c (skip_chars): Handle multibyte and unibyte strings
	for either kind of buffer.  Scan string by bytes and chars.
d4206 3
a4208 1
	* keymap.c (describe_vector): Unconditionally handle multibyte chars.
d4210 1
a4210 1
	* fns.c (map_char_table): Unconditionally consider non-ASCII charsets.
d4212 2
a4213 2
	* cmds.c (internal_self_insert): Simplify handling of c2;
	avoid testing enable-multibyte-characters.
d4215 1
a4215 2
	* callproc.c (Fcall_process): When deciding whether to encode args,
	check them for multibyteness, don't check enable-multibyte-characters.
d4217 1
a4217 1
	* doc.c: Include charset.h.
d4219 1
a4219 1
	* keymap.c (describe_vector): Pass new args to insert_from_string.
d4221 7
a4227 2
	* search.c (wordify): Use make_uninit_multibyte_string.
	Scan by chars and bytes.
d4229 1
a4229 6
	* lread.c (read1): PCH is now int *.
	Declare ch as int.
	(read0): Declare c as int.
	(read_list): Declare ch as int.
	(read0): Use Fmake_string not make_string.
	(read1): When reading a string, maybe use make_unibyte_string.
d4231 1
a4231 1
	* keymap.c (Ftext_char_description): Use make_multibyte_string.
d4233 1
a4233 5
	* keyboard.c (parse_modifiers): Use size_byte.
	(echo_char): Use size_byte.
	(parse_modifiers_uncached): Likewise.
	(record_char): Likewise.
	(parse_solitary_modifier): Likewise.
d4235 1
a4235 1
	* fns.c (Fsubstring): Use make_multibyte_string.
d4237 1
a4237 5
	* minibuf.c (Fminibuffer_complete_word): Pass new args to
	insert_from_string.  Scan string by bytes and chars.
	(Ftry_completion): Use size_byte while comparing.
	(Fall_completions): Use size_byte while comparing.
	(test_completion): 
d4239 10
a4248 1
	* editfns.c (syms_of_editfns): Delete defsubr for sref.
d4250 1
a4250 1
	* fns.c (string_make_multibyte): New function.
d4252 4
a4255 6
	* fileio.c (Ffile_name_directory): Maybe use make_unibyte_string.
	(Ffile_name_nondirectory): Likewise.
	(Fsubstitute_in_file_name): Convert substituted envvars to multibyte
	if necessary.  Otherwise use make_unibyte_string.
	(Finsert_file_contents): Use make_unibyte_string.
	(double_dollars): Use make_uninit_multibyte_string.
d4257 1
a4257 1
	* doc.c (Fsubstitute_command_keys): Scan by bytes.
d4259 7
a4265 1
	* coding.c (code_convert_string): Maybe use make_unibyte_string.
d4267 1
a4267 1
	* cmds.c (internal_self_insert): Use make_multibyte_string.
d4269 2
a4270 2
	* charset.c (Fstring): Use make_multibyte_string.
	(Fcompose_string): Likewise.
d4272 1
a4272 2
	* casefiddle.c (casify_object): Scan string by bytes and chars.
	Use make_multibyte_string.
d4274 4
a4277 3
	* xselect.c (lisp_data_to_selection_data): Use size_byte.
	(Fx_store_cut_buffer_internal): Use size_byte.
	(selection_data_to_lisp_data): Use make_multibyte_string.
d4279 1
a4279 3
	* category.c (Fmake_category_set): Don't allow multibyte string.
	(describe_category): Pass new args to insert_from_string.
	(describe_category_1): Likewise.
d4281 1
a4281 1
	* dispnew.c (Fsend_string_to_terminal): Use size_byte.
d4283 3
a4285 108
	* xdisp.c (x_consider_frame_title): Use size_byte.
	(display_text_line): Likewise.
	And scan Voverlay_arrow_string by bytes and chars.
	(display_menu_bar): Call display_string with a byte size.
	(display_mode_line): Call display_string with a byte size.

	* frame.c (set_term_frame_name): Use size_byte.

	* ccl.c (Fccl_execute_on_string): Use size_byte.

	* xterm.c (x_load_font): Use string_byte.

	* keyboard.c (read_char): Use Faref on Vkeyboard_translate_table
	if it is a string.
	(apply_modifiers_uncached): New arg base_len_byte.  Calls changed.
	(read_char_minibuf_menu_prompt): 
	(read_key_sequence): Access buffer's downcase_table with XCHAR_TABLE.
	(Fexecute_extended_command): Use Faref to access FUNCTION.
	Use size_byte of BINDING.
	(stuff_buffered_input): Use size_byte of STUFFSTRING.

	* xdisp.c (redisplay_window): Set pos.bytepos along with pos.bufpos.

	* keymap.c (Fkey_binding): Scan PREFIX a char at a time.
	(Fkey_description): Scan KEYS by chars.

	* xfns.c (x_create_bitmap_from_file): Use size_byte on strings.
	(x_set_name, x_set_title, validate_x_resource_name): Likewise.
	(Fx_get_resource, display_x_get_resource): Likewise.
	(x_get_resource_string): Likewise.

	* xmenu.c (xmenu_show): Use size_byte of strings.

	* callproc.c (Fcall_process): Use size_byte for the args.
	(Fcall_process_region): Likewise for temp file.
	(child_setup, getenv_internal, Fgetenv): Likewise.

1998-01-02  Richard Stallman  <rms@@psilocin.gnu.org>

	* process.c (read_process_output): Handle bytes vs chars.
	(send_process): Use size_byte of OBJECT.
	(Fprocess_send_string): Pass size_byte to send_process.

	* lisp.h (STRING_MULTIBYTE): New macro.

	* print.c (strout): Take args SIZE and SIZE_BYTE;
	operate on both chars and bytes.
	(print_string): Pass new arg to strout.
	If not using strout, fetch a whole multibyte char at once.
	(write_string): Pass new arg to strout.
	(write_string_1): Likewise.
	(print) <case Lisp_String>: Scan by chars and bytes.
	(print) <case Lisp_Symbol>: Scan name by chars and bytes.

	* insdel.c (insert_1_both): New function.

	* print.c (PRINTPREPARE): Use make_multibyte_string.
	Initialize print_buffer_pos_byte.  Use insert_1_both.
	(printchar): Update print_buffer_pos_byte and print_buffer_pos.
	(print_buffer_pos_byte): New variable.
	
	* editfns.c (general_insert_function):
	Pass the additional args to INSERT_FROM_STRING_FUNC.
	(Fchar_to_string): Use make_multibyte_string.
	(Fsref): Function deleted.
	(Fformat_time_string): Use size_byte of FORMAT_STRING.
	(make_buffer_string): Use make_uninit_multibyte_string.
	(Ftranslate_region): Use TABLE's size_byte.
	(Fmessage, Fmessage_box): Update message_text based on size_byte.

	* insdel.c (insert_from_string): New args POS_BYTE, LENGTH.
	(insert_from_string_before_markers): 
	(insert_from_string_1): New arg POS_BYTE.  Swap args NCHARS, NBYTES.
	Don't fail to use POS_BYTE!
	(insert_from_buffer_1): Get both inschars and insbytes from NEW.

	* alloc.c (make_uninit_multibyte_string): New function.
	(make_uninit_string): Use make_uninit_multibyte_string.
	(make_multibyte_string): New function.
	(make_unibyte_string): New function.
	(make_string): Compute number of chars from the data.

	* search.c (string_match_1): Convert string indices to/from bytes.
	(Freplace_match): Convert string indices to/from bytes.
	(Fregexp_quote): Convert string indices to/from bytes.

	* lread.c (Fread_from_string): Convert string indices to/from bytes.

	* data.c (Fmultibyte_string_p): New function.
	(Faref): Index string by chars.
	(Faset): Index multibyte string by chars.

	* charset.c (Ffind_charset_string): Handle bytes vs chars in string.
	Special case for single-byte strings.
	(Fchars_in_string): Function deleted.
	(Fstring): Renamed from Fconcat_chars.
	Handle bytes vs chars in string.
	(syms_of_charset): Corresponding changes.
	
	* fns.c (concat, Fsubstring, internal_equal, mapcar1):
	Distinguish bytes and chars when indexing strings.
	(Fstring_equal, Fstring_lessp): Likewise.
	(substring_both): New function.
	(string_char_to_byte, string_byte_to_char): New functions.
	
	* charset.h (FETCH_STRING_CHAR_ADVANCE): New macro.

	* lisp.h (struct lisp_String): New field size_byte.
d4287 1
a4287 2
	* charset.c (Fchar_boundary_p): Function deleted.
	(syms_of_charset): defsubr deleted.
d4289 3
a4291 1
	* insdel.c (make_gap): Set GPT_BYTE along with GPT.
d4293 1
a4293 4
	* window.c (Fselect_window): Don't set OW->pointm if OW->buffer is nil.
	(Fset_window_configuration): Set old selected window's pointm.
	
	* minibuf.c (Fcompleting_read): Doc fix.
d4295 2
a4296 3
	* keymap.c (current_minor_maps): 
	If a variable has an entry in Vminor_mode_overriding_map_alist,
	and also an entry in Vminor_mode_map_alist, ignore the latter.
d4298 2
a4299 1
1998-01-01  Richard Stallman  <rms@@psilocin.gnu.org>
d4301 1
a4301 1
	* Markers now have an ordinary bytepos, not including the gap:
d4303 3
a4305 4
	* marker.c (buf_bytepos_to_charpos): Use marker bytepos, not bufpos.
	(buf_charpos_to_bytepos, marker_byte_position): Likewise.
	(Fset_marker, set_marker_restricted, set_marker_both): Likewise.
	(set_marker_restricted_both): Likewise.
d4307 1
a4307 1
	* editfns.c (transpose_markers): Update marker's bytepos.
d4309 3
a4311 1
	* alloc.c (Fmake_marker): Initialize marker's bytepos and charpos.
d4313 7
a4319 1
	* lread.c (readchar): Use marker's bytepos instead of bufpos.
d4321 2
a4322 1
	* fns.c (internal_equal): For markers, use bytepos instead of bufpos.
d4324 1
a4324 4
	* insdel.c (adjust_markers_gap_motion): Now a no-op.
	(adjust_markers_for_delete): Update ->bytepos instead of ->bufpos,
	but don't adjust for the gap.
	(adjust_markers_for_insert): Likewise.
d4326 1
a4326 4
	* lisp.h (struct Lisp_Marker): Rename `bufpos' to `bytepos'.
	Its value no longer includes the gap space.
	
	* editfns.c (Fchar_after): Fix previous change.
d4328 1
a4328 1
	* fileio.c (a_write): Fix prototype.
d4330 1
a4330 6
	* lisp.h (struct Lisp_Marker): New field `charpos'.
	(pos_tab_offset): Decl deleted.
	(insert_1, indented_beyond_p): Decls changed.
	(move_gap_both, del_range_byte, del_range_both, del_range_2)
	(scan_newline, Ffile_locked_p): New decls.
	(struct Lisp_Marker): 
d4332 1
a4332 1
	* search.c (scan_newline): Always restore prev value of immediate_quit.
d4334 2
a4335 1
1997-12-31  Richard Stallman  <rms@@psilocin.gnu.org>
d4337 1
a4337 5
	* syntax.c (scan_sexps_forward): Additional arg FROM_BYTE.
	Calls changed.
	(find_defun_start): Scan bytes and chars.  Additional arg POS_BYTE.
	Save final byte pos in find_start_value_byte.
	(find_start_value_byte): New variable.
d4339 1
a4339 2
	* charset.c (Fchars_in_string): Update call to CHAR_HEAD_P.
	(chars_in_text, str_cmpchar_id, Fcompose_string): Likewise.
d4341 1
a4341 2
	* indent.c (current_column_1, Fmove_to_column):
	Update call to CHAR_HEAD_P.
d4343 2
a4344 1
	* fileio.c (Finsert_file_contents): Update call to CHAR_HEAD_P.
d4346 1
a4346 2
	* editfns.c (Fsref): Update call to CHAR_HEAD_P.
	(Fcompare_buffer_substrings. Ftranslate_region): Likewise.
d4348 1
a4348 1
	* doprnt.c (doprnt1): Call to CHAR_HEAD_P fixed.
d4350 1
a4350 1
	* charset.h (CHAR_HEAD_P): Take char, not pointer, as arg.
d4352 3
a4354 1
	* window.c (unshow_buffer): Set PT with TEMP_SET_PT_BOTH.
d4356 3
a4358 3
	* indent.c (indented_beyond_p): Take POS in bytes and chars.
	Callers changed.
	(pos_tab_indent): Function moved to xdisp.c.
d4360 2
a4361 1
1997-12-30  Richard Stallman  <rms@@psilocin.gnu.org>
d4363 1
a4363 2
	* xdisp.c (redisplay_internal): Use scan_newline.
	(display_text_line, try_window_id): Use scan_newline.
d4365 4
a4368 5
	* xdisp.c (pos_tab_indent): Moved from indent,c.  Now static.
	Take POS in bytes and chars.  Callers changed.
	
	* indent.c (Fcurrent_indentation): Use scan_newline and SET_PT_BOTH.
	(indented_beyond_p, current_column_1): Likewise.
d4370 1
a4370 1
	* fileio.c (Fwrite_region): Use scan_newline.
d4372 1
a4372 3
	* buffer.c (Fmake_indirect_buffer): Use set_marker_both.
	(set_buffer_internal_1): Likewise.
	(set_buffer_temp): Likewise.
d4374 2
a4375 2
	* xdisp.c (redisplay_window): Handle byte and char positions.
	(try_window): Don't move W->start if it's already at right place.
d4377 2
a4378 246
	* window.c (Fset_window_buffer): Use set_marker_both.
	(Fselect_window, Fscroll_other_window, save_window_save): Likewise.
	(Fset_window_configuration): Pass p->mark itself to Fset_marker
	and set_marker_restricted_both.
	(temp_output_buffer_show): Use set_marker_restricted_both.
	(window_scroll): Save and restore both kinds of pointers.

	* process.c (status_notify): Use byte and char pointers.
	
	* callint.c (Fcall_interactively) <'d', 'r'>: Use set_marker_both.

	* emacs.c (abort): New function.

1997-12-29  Richard Stallman  <rms@@psilocin.gnu.org>

	* window.c (Fdelete_other_windows): Rely on vmotion to give bytepos.
	Use set_marker_both.  Use byte positions.
	(Frecenter): Likewise.
	(Fmove_to_window_line): Use set_marker_both and Fgoto_char.

	* s/sco4.h (LIB_MOTIF): Define, if HAVE_LIBINTL.
	(LIBX11_SYSTEM): Undo previous change.

	* cmds.c (forward_point): Function deleted.
	(Fforward_point): Just add.
	(Fforward_char): Don't call forward_point, just add.
	(Fforward_line): Use scan_newline.
	(Fdelete_char): No need for forward_point, just add.
	(Fdelete_backward_char): Handle bytes and chars.
	(internal_self_insert): Handle bytes and chars.

	* xdisp.c (display_count_lines): Several changes in args.
	Do the work directly.
	(display_scan_buffer): Function deleted.
	(decode_mode_spec): Pass new arg.
	(message_log_check_duplicate): Take charpos and bytepos args.
	(message_dolog): Use markers to update old PT, BEGV, ZV.
	Use scan_newline.  Handle positions in bytes and chars.
	
1997-12-28  Richard Stallman  <rms@@psilocin.gnu.org>

	* xselect.c (Fx_rotate_cut_buffers_internal): Doc fix.

	* coding.c (code_convert_region): Handle bytepos and charpos.
	(Fdetect_coding_region): Likewise.
	
	* Makefile.in (marker.o): Depend on charset.h.

1997-12-27  Richard Stallman  <rms@@psilocin.gnu.org>

	* casefiddle.c (casify_region): Scan in bytes and chars.
	(casify_object, casify_region): Declare str, workbuf as unsigned char.

	* insdel.c (move_gap): Use move_gap_both.
	(move_gap_both): New function.
	(gap_left, gap_right): Take both charpos and bytepos args.
	(adjust_markers_gap_motion): Renamed from adjust_markers
	and simplified.
	(adjust_markers_for_delete): New function.
	(adjust_markers_for_insert): Take args in chars and bytes.
	Also new arg BEFORE_MARKERS.  One call does all marker updating
	needed for any insert.
	(adjust_point): Take 2 args and update PT and PT_BYTE.
	(make_gap): Handle bytes vs chars.
	(insert, insert_and_inherit): Handle bytes vs chars.
	Pass new BEFORE_MARKERS arg to insert_1.
	(insert_before_markers, insert_before_markers_and_inherit): Likewise.
	(insert_from_string, insert_from_string_before_markers): Likewise.
	(insert_from_buffer): Likewise.
	(insert_1): Handle bytes vs chars.  New arg BEFORE_MARKERS.
	(insert_from_string_1, insert_from_buffer_1): Likewise.
	(replace_range): Likewise.
	(del_range_2): New subroutine, taken from del_range_1.
	(del_range_1): Use del_range_2.
	(del_range_byte, del_range_both): New functions.

	* syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Call bytepos_to_charpos.
	Wrap in  if (1) ... else.
	
	* minibuf.c (Fminibuffer_complete_word): Handle bytes vs characters
	when comparing buffer against string.
	(temp_echo_area_glyphs): Save, update, delete text using
	byte and char positions.
	(read_minibuf): BACKUP_N counts bytes.

	* syntax.c (Fforward_comment): Scan by bytes and chars.
	(Fbackward_prefix_chars): Scan by bytes and chars.
	(scan_words, scan_sexps_forward): Scan bytes as well as chars.
	(skip_chars, scan_lists): Scan by bytes and chars.  Now static.

	* buffer.h (DECODE_POSITION): New macro.
	(CHAR_TO_BYTE, BYTE_TO_CHAR): New macros.
	
	* buffer.h (BEG_BYTE, BEGV_BYTE, PT_BYTE, GPT_BYTE)
	(ZV_BYTE, Z_BYTE): New macros.
	(BUF_BEG_BYTE, BUF_BEGV_BYTE, BUF_PT_BYTE, BUF_GPT_BYTE)
	(BUF_ZV_BYTE, BUF_Z_BYTE): New macros.
	(BUF_GAP_END_ADDR): New macro.
	(BEGV_ADDR, PT_ADDR, GPT_ADDR, GAP_END_ADDR, ZV_ADDR, Z_ADDR): 
	Use the new ..._byte buffer data.
	(BUFFER_CEILING_OF, BUFFER_FLOOR_OF): Likewise.
	(BUF_GPT_ADDR, BUF_Z_ADDR): Likewise.
	(SET_PT_BOTH, TEMP_SET_PT_BOTH): New macros.
	(SET_PT, TEMP_SET_PT, BUF_SET_PT, BUF_TEMP_SET_PT):
	Call functions with new arg order.
	(SET_BUF_BEGV, SET_BUF_BEGV_BOTH): New macros.
	(SET_BUF_PT): Macro deleted.
	(SET_BUF_ZV): Set charpos and bytepos.
	(SET_BUF_ZV_BOTH, SET_BUF_PT_BOTH): New macros.
	(BYTE_POS_ADDR): Renamed from POS_ADDR.
	(CHAR_POS_ADDR): New macro.
	(FETCH_BYTE): Use BYTE_POS_ADDR.
	(FETCH_MULTIBYTE_CHAR): Use ..._BYTE macros.
	(BUF_CHAR_ADDRESS): Convert charpos to bytepos.
	(BUF_BYTE_ADDRESS): New macro, like the old BUF_CHAR_ADDRESS.
	(PTR_BYTE_POS): Renamed from PTR_CHAR_POS.
	(BUF_PTR_BYTE_POS): New macro.
	(BUF_FETCH_CHAR, BUF_FETCH_BYTE, BUF_FETCH_MULTIBYTE_CHAR): New macros.
	(struct buffer_text): New fields gpt_byte, z_byte.
	(struct buffer): New fields pt_byte, begv_byte, zv_byte.

	* syntax.c (char_quoted): Take charpos and bytepos as args.
	(back_comment): Likewise.
	(update_syntax_table): Arg renamed.
	(inc_bytepos, dec_bytepos): New functions.

	* abbrev.c (describe_abbrev): Return void.
	(write_abbrev): Return void.
	(Fexpand_abbrev): Scan in bytepos along with charpos.
	(Funexpand_abbrev): Use bytepos to delete the expansion.
	
	* charset.h (INC_POS, DEC_POS): Fix because arg is a bufpos.
	(BUF_INC_POS, BUF_DEC_POS): New macros.
	(INC_BOTH, DEC_BOTH): New macros.

	* minibuf.c (Fread_command, Fread_variable): Fix previous change.

	* intervals.h (set_point, temp_set_point): Swap args in decl.
	(set_point_both, temp_set_point_both): New decls.

	* print.c (PRINTDECLARE): Declare old_point_byte and start_point_byte.
	(PRINTPREPARE): For a marker, set old_point_byte and start_point_byte.
	Set both kinds of PT from the marker.
	(PRINTFINISH): For a marker, use set_marker_both.
	Restore both kinds of PT.
	(print): For strings and symbols, handle multibyte chars.

1997-12-26  Richard Stallman  <rms@@psilocin.gnu.org>

	* lread.c (readchar_backlog): New variable.
	(readchar): When fetching from buffer or marker,
	use readchar_backlog to fetch bytes from a character.
	(unreadchar): Increment readchar_backlog.
	(readevalloop, Fread): Init readchar_backlog.
	
	* charset.c (Fchar_boundary_p): Always return 0.
	(Fchars_in_region): Just subtract the arguments.
	(chars_in_text): New function.
	(Ffind_charset_region): Scan in bytepos as well as charpos.

	* process.c (Fprocess_send_region): Make bytepos for send_process.
	(read_process_output): Save, restore, and update both kinds of ptrs.
	(send_process): OFFSET is now in bytes.

	* marker.c (marker_byte_position): Renamed from marker_position.
	(marker_position): New function returns the charpos.
	(Fbuffer_has_markers_at): Test the marker's charpos.
	(set_marker_restricted, Fset_marker): Set both kinds of position.
	Optimize case where POSITION is a marker.
	(set_marker_both, set_marker_restricted_both): New functions.
	(Fmarker_position): Use the charpos.

	* marker.c (charpos_to_bytepos, bytepos_to_charpos): New functions.
	(buf_charpos_to_bytepos, buf_bytepos_to_charpos): New functions.

	* textprop.c (Ftext_properties_at): Doc fix.

	* intervals.c (set_point_both): Renamed from set_point;
	New arg BYTE; BUFFER is now first arg; use temp_set_point_both.
	(set_point): New function; uses set_point_both.
	(temp_set_point_both): New function.
	(temp_set_point): Update BUF_PT_BYTE.
	(get_local_map): Save and restore both forms of the buffer bounds.

	* buffer.c (set_buffer_temp):
	Update BUF_PT_BYTE, BUF_BEGV_BYTE and BUF_ZV_BYTE.
	(Fmake_indirect_buffer, set_buffer_internal_1):
	Set up the pt, begv and zv markers with both kinds of position.
	Set BUF_PT_BYTE, BUF_BEGV_BYTE, BUF_ZV_BYTE.
	(Fget_buffer_create): Set BUF_..._BYTE.

	* indent.c (vmotion, compute_motion): Set up bytepos value
	to return it.  ??? This is a quick hack and must be redone.
	(current_column): Handle bytepos and charpos.
	(position_indentation): Take bytepos as arg, and scan with it.
	Calls changed.
	(Fmove_to_column): Scan with bytepos and charpos.
	(pos_tab_offset): Use bytepos to do FETCH_BYTE.
	(skip_invisible): Don't worry about position in middle of character.
	
	* xdisp.c (try_window): Pass bytepos to and from display_text_line.
	(try_window_id): Likewise.  Use byte pos as well as charpos.
	(redisplay_internal): Handle bytepos for tlbufpos.

	* xdisp.c (message): Cast last arg to doprnt.
	
	* indent.h (struct position): New field bytepos.

	* keyboard.c (command_loop_1): Use PT_BYTE when calling FETCH_BYTE.
	Instead of Fforward_point, just add.
	
	* search.c (looking_at_1): Use bytepos to call re_search_2.
	Convert search regs to charpos, if search succeeded.
	(search_buffer): Likewise.  Also convert charpos <-> bytepos
	in non-regexp case.
	(scan_buffer): Convert charpos <-> bytepos. 
	(scan_newline): New function.
	(find_next_newline): Function deleted.
	(set_search_regs): Args now in bytes; convert to charpos.
	(Freplace_match): Convert charpos <-> bytepos when scanning case.
	
	* fileio.c (restore_point_unwind): Now static.  Use Fgoto_char.
	(Funhandled_file_name_directory): Doc fix.
	(Finsert_file_contents): Handle bytes vs chars.
	(Fwrite_region): Handle bytes vs chars.
	(a_write): Take args in bytes; handle annotations labeled in chars.
	(e_write): Rename args.
	(Funhandled_file_name_directory): Doc fix.
	(a_write, e_write): Now static.
	
	* editfns.c (Fgoto_char): When arg is a marker, copy char and byte
	positions from it.  When arg is an integer, no need to worry that it
	is in middle of a character.
	(buildmark): Take 2 args (charpos and bytepos).  Callers changed.
	(Fline_beginning_position): Save and restore both kinds of PT.
	(Fprevious_char): Use PT_BYTE.
	(Fbolp, Feolp): Use PT_BYTE.
	(transpose_markers): Take args in chars and bytes.
	(Ftranspose_regions): Work with byte and char positions.
	(Fchar_after, Fchar_before): Use bytepos.
	(make_buffer_string): Convert charpos to bytepos.
	(Fcompare_buffer_substrings): Work with charpos and bytepos.
	(Fsubst_char_in_region): Handle charpos and bytepos.
	(Fwiden, Fnarrow_to_region): Likewise.
	(save_restriction_restore): Update PT and PT_BYTES.
	Cast arg to doprnt_lisp.
d4380 1
a4380 1
1997-12-26  Richard Stallman  <rms@@sucrose.gnu.org>
d4382 1
a4382 4
	* keymap.c (Vminor_mode_overriding_map_alist): New variable.
	(syms_of_keymap): Set up Lisp var.
	(current_minor_maps): Use Vminor_mode_overriding_map_alist first,
	then Vminor_mode_map_alist.
d4384 1
a4384 2
	* config.in (HAVE_STRING_H): Add #undef.
	[HAVE_STRING_H]: Include string.h.
d4386 2
a4387 1
1997-12-24  Richard Stallman  <rms@@psilocin.gnu.org>
d4389 1
a4389 2
	* fileio.c (Finsert_file_contents): Don't use coding.symbol
	in unusual paths which don't set it up.
d4391 1
a4391 1
	* xdisp.c: Declare nonascii_insert_offset.
d4393 1
a4393 1
1997-12-21  Richard Stallman  <rms@@psilocin.gnu.org>
d4395 2
a4396 1
	* xterm.c (x_display_cursor): Abort if X or Y is out of range.
d4398 1
a4398 1
1997-12-20  Richard Stallman  <rms@@psilocin.gnu.org>
d4400 5
a4404 1
	* sysdep.c (sys_signal): Undo previous change.
d4406 1
a4406 4
	* emacs.c (Vsignal_USR1_hook, Vsignal_USR2_hook): New variables.
	(syms_of_emacs): Set up Lisp variables.
	(handle_USR1_signal, handle_USR2_signal): New signal handlers.
	(main): Set up signal handlers.
d4408 1
a4408 1
	* s/sco4.h (LIBX11_SYSTEM) [HAVE_LIBINTL and MOTIF]: Add -lintl.
d4410 2
a4411 1
	* config.in (HAVE_LIBINTL): Add #undef.
d4413 3
a4415 1
1997-12-20  Toshiaki Nomura  <dsfrsoft@@yk.fujitsu.co.jp>
d4417 1
a4417 1
        * s/uxpds.h: New file.
d4419 3
a4421 1
1997-12-19  Richard Stallman  <rms@@sucrose.gnu.org>
d4423 1
a4423 3
	* minibuf.c (Vread_buffer_function): New var.
	(syms_of_minibuf): Set up Lisp var.
	(Fread_buffer): Use Vread_buffer_function.
d4425 2
a4426 1
	* lisp.h (message2_nolog): Fix arg types.
d4428 1
a4428 3
	* xdisp.c (message2_nolog): New arg MULTIBYTE.
	(message2): Pass new arg to message2_nolog.
	(message1_nolog): Likewise.
d4430 2
a4431 5
	* keyboard.c (Fexecute_extended_command): 
	Save message_enable_multibyte and pass it to message2_nolog.
	
	* alloc.c (Fgarbage_collect):
	Save message_enable_multibyte and pass it to message2_nolog.
d4433 1
a4433 1
1997-12-17  Richard Stallman  <rms@@sucrose.gnu.org>
d4435 3
a4437 2
	* syntax.c (Fparse_partial_sexp): Return nil for 9th element
	whenever not inside a string or a comment.
d4439 1
a4439 1
1997-12-16  Richard Stallman  <rms@@sucrose.gnu.org>
d4441 1
a4441 2
	* minibuf.c (Fread_variable): If DEFAULT_VALUE is symbol, use its name.
	(Fread_command): Likewise.
d4443 2
a4444 1
1997-12-15  Richard Stallman  <rms@@sucrose.gnu.org>
d4446 3
a4448 3
	* xdisp.c (message_dolog): Update PT and ZV properly when at end of
	buffer, when we convert between multibyte and single-byte.
	Properly initialize i.
d4450 1
a4450 4
	* xdisp.c (message_dolog): Convert between single-byte and multibyte
	when inserting text into *Messages*.
	
1997-12-11  Richard Stallman  <rms@@gnu.org>
d4452 4
a4455 1
	* sysdep.c (sys_signal): Add two casts.
d4457 1
a4457 1
1997-12-09  Richard Stallman  <rms@@gnu.org>
d4459 1
a4459 2
	* callproc.c (Fcall_process): Don't clobber new_argv[0]
	in the case of no args.	
d4461 1
a4461 1
1997-12-09  Kenichi Handa  <handa@@etl.go.jp>
d4463 1
a4463 2
	* charset.c (Fget_unused_iso_final_char): New function.
	(syms_of_charset): Declare it as a Lisp function.
d4465 1
a4465 2
	* callproc.c (Fcall_process): Set Vlast_coding_system_used after
	reading from the process.
d4467 1
a4467 7
	* process.c (read_process_output): Fix previous change, i.e, if
	proc_encode_coding_system[p->outfd] is NULL, instead of allocating
	`struct coding_system' for encoding, just skip setting up coding
	system for encoding.  Set Vlast_coding_system_used after some text
	is read.
	(send_process): Set Vlast_coding_system_used after deciding a
	coding system to be used for encoding.
d4469 1
a4469 4
	* fileio.c (Finsert_file_contents): Set Vlast_coding_system_used
	before calling Vafter_insert_file_functions.
	(Fwrite_region): Set Vlast_coding_system_used after deciding a
	coding system to be used for encoding.
d4471 2
a4472 4
	* coding.c (setup_coding_system): Do not set
	Vlast_coding_system_used here.
	(decode_coding_sjis_big5): Decode Big5 text of CR only end-of-line
	correctly.
d4474 1
a4474 1
1997-12-08  Ken'ichi Handa  <handa@@delysid.gnu.org>
d4476 2
a4477 1
	* keyboard.c (Fexecute_extended_command): Fix previous change.
d4479 1
a4479 1
1997-12-07  Karl Heuer  <kwzh@@gnu.org>
d4481 1
a4481 2
	* process.c (read_process_output): Allocate for coding system, if
	not already done.
d4483 1
a4483 1
1997-12-03  Richard Stallman  <rms@@gnu.org>
d4485 1
a4485 2
	* emacs.c (main): Fix the stack-limit code to calculate
	the ratio for re_max_failures accurately and leave some extra slack.
d4487 1
a4487 1
	* lread.c (Feval_region): Doc correction (point does not move).
d4489 1
a4489 1
1997-11-26  Richard Stallman  <rms@@sucrose.gnu.org>
d4491 1
a4491 2
	* alloc.c (malloc_warning, display_malloc_warning): Return void.
	(memory_full, free_cons, free_marker): Likewise.
d4493 1
a4493 1
	* xdisp.c (message): Declare a as char *[3].
d4495 1
a4495 2
	* lisp.h, print.c (internal_with_output_to_temp_buffer):
	Don't declare arg type taken by 2nd arg.
d4497 3
a4499 1
	* eval.c (do_autoload): Return void.
d4501 1
a4501 4
	* sysdep.c (reset_sigio): Return void.
	
	* keyboard.c (Fsuspend_emacs): Cast init_sys_modes when calling
	record_unwind_protect.
d4503 2
a4504 1
	* keymap.c (describe_map): Fix decl of arg ELT_DESCRIBER.
d4506 1
a4506 3
	* process.c (create_process, deactivate_process, close_process_descs):
	(kill_buffer_processes, status_notify): Return void.
	(Fstart_process): Cast arg to create_process.
d4508 1
a4508 3
	* undo.c (record_insert, record_delete, record_marker_adjustment):
	(record_change, record_first_change, record_property_change):
	Return void.
d4510 1
a4510 1
1997-11-27  Ken'ichi Handa  <handa@@delysid.gnu.org>
d4512 4
a4515 5
	* undo.c (record_change, record_first_change,
	record_property_change): Declare them as void.
	(record_delete, record_marker_adjustment): Declare them as void.
	
	* indent.c (invalidate_current_column): Declare it as void.
d4517 2
a4518 1
	* fileio.c (report_file_error): Declare it as void.
d4520 1
a4520 1
	* filelock.c (unlock_buffer): Declare it as void.
d4522 4
a4525 2
	* buffer.c (nsberror, record_buffer, validate_region,
	fix_overlay_before): Declare them as void.
d4527 1
a4527 5
	* sysdep.c (discard_tty_input, init_baud_rate,
	wait_for_termination, flush_pending_output, child_setup_tty,
	sys_suspend, sys_subshell, init_sigio, request_sigio,
	unrequest_sigio, init_sys_modes, get_frame_size, reset_sys_modes,
	setup_pty): Declare them as void.
d4529 2
a4530 3
	* keymap.c (describe_vector): Declaration fixed (delete `.' at the
	tail of type `void'.
	(fix_submap_inheritance): Declare it as void.
d4532 3
a4534 10
	* keyboard.c (echo_now, record_auto_save, cmd_error_internal,
	start_polling, stop_polling, bind_polling_period,
	timer_start_idle, timer_stop_idle, gobble_input,
	record_asynch_buffer_change, clear_input_pending,
	stuff_buffered_input, clear_waiting_for_input,
	quit_throw_to_read_char): Declare these as void.
	(Fsuspend_emacs): Delete unnecessary extern declaration for
	init_sys_mode.
	(Fexecute_extended_command): Give Voverriding_local_map as the
	first arg to Faref.
d4536 1
a4536 1
1997-11-27  Ken'ichi Handa  <handa@@melange.gnu.org>
d4538 1
a4538 2
	* xterm.c (x_make_frame_visible): Give dummy arg to
	input_poll_signal.
d4540 1
a4540 1
	* xdisp.c (redisplay_preserve_echo_area): Declare it as void.
d4542 2
a4543 3
	* charset.c (strwidth): Remove extra argument to buffer_display_table.
	
1997-11-25  Andreas Schwab  <schwab@@delysid.gnu.org>
d4545 1
a4545 2
	* charset.h (SPLIT_STRING): Remove extra argument to
	split_non_ascii_string.
d4547 2
a4548 5
	* window.c: Add prototypes.
	(delete_window): Fix return type.
	(set_window_height): Likewise.
	(set_window_width): Likewise.
	(change_window_height): Likewise.
d4550 1
a4550 1
	* xselect.c (Fx_disown_selection_internal): Fix type of EVENT.
d4552 12
a4563 1
	* window.h: Add prototypes.
d4565 1
a4565 1
	* systty.h: Add prototypes.
d4567 9
a4575 3
	* sysdep.c: Add prototypes.
	(save_signal_handlers): Make static.
	(restore_signal_handlers): Likewise.
d4577 1
a4577 1
	* syntax.h: Add prototypes.
d4579 1
a4579 1
	* search.c: Include "intervals.h" for prototypes.
d4581 5
a4585 1
	* region-cache.h: Add prototypes.
d4587 2
a4588 1
1997-11-24  Paul Eggert  <eggert@@twinsun.com>
d4590 1
a4590 1
	* fontset.c (free_fontset_data): Don't free null pointer.
d4592 2
a4593 2
	The new GNU C library strftime needs the underlying host's
	strftime for locale dependent formats.
d4595 1
a4595 5
	* configure.in (AC_CHECK_FUNCS): Add strftime.
	* src/config.in (HAVE_STRFTIME): New undef.
	* src/editfns.c (emacs_strftime): New decl.
	(Fformat_time_string): Doc fix: %b, %h, %B, %a, %A, and %p depend on
	locale; don't use actual chars to describe %n and %t.
d4597 3
a4599 2
	* src/Makefile.in (strftime.o), src/makefile.nt	($(BLD)\strftime.obj):
	No need to compile with -Dstrftime=emacs_strftime any more.
d4601 1
a4601 1
1997-11-22  Richard Stallman  <rms@@gnu.org>
d4603 1
a4603 2
	* syntax.c (back_comment): Handle 2-char comment starts
	when reaching the first of the pair.
d4605 4
a4608 1
1997-11-21  Andreas Schwab  <schwab@@delysid.gnu.org>
d4610 2
a4611 6
	* keymap.c (copy_keymap_1): Fix return type.
	(accessible_keymaps_char_table): Likewise.
	(where_is_internal_2): Likewise.
	(describe_vector_princ): Likewise.
	(describe_vector): Likewise.  Protoize parameter.
	(Ftext_char_description): Fix type of `str'.
d4613 4
a4616 1
	* keyboard.h: Add prototypes and more function declarations.
d4618 1
a4618 1
	* intervals.h: Add prototypes and more function declarations.
d4620 4
a4623 1
	* intervals.c (traverse_intervals): Protoize parameter.
d4625 5
a4629 1
	* frame.h: Protoize function declarations.
d4631 1
a4631 1
	* fontset.h: Add prototypes and more function declarations.
d4633 2
a4634 1
	* fontset.c: Protoize functions declarations.
d4636 1
a4636 1
	* fns.c (map_char_table): Protoize parameter.
d4638 1
a4638 2
	* fileio.c (close_file_unwind): Fix return type and return nil.
	(restore_point_unwind): Likewise.
d4640 2
a4641 1
	* eval.c (record_unwind_protect): Protoize parameter.
d4643 1
a4643 3
	* editfns.c (Fchar_to_string): Declare `workbuf' as unsigned char.
	(general_insert_function): Likewise.  Protoize parameters.  Define
	as returning nothing.
d4645 1
a4645 1
	* doprnt.c (doprnt1): Declare `charbuf' as unsigned char.
d4647 3
a4649 2
	* disptab.h: Add prototypes.  Remove declaration of obsolete
	functions.
d4651 1
a4651 1
	* coding.h: Add more prototypes and function declarations.
d4653 1
a4653 1
	* charset.h: Add more prototypes and function declarations.
d4655 1
a4655 1
	* ccl.c (setup_ccl_program): Define as returning nothing.
d4657 2
a4658 1
	* ccl.h: Add declaration of setup_ccl_program and ccl_driver.
d4660 1
a4660 1
	* category.h: Add declaration of word_boundary_p.
d4662 3
a4664 1
	* buffer.h: Add more prototypes and function declarations.
d4666 1
a4666 8
	* print.c (printchar): Declare `work' as unsigned char.
	(internal_with_output_to_temp_buffer): Protoype parameter
	FUNCTION.
	(Ferror_message_string): Remove extra argument of
	print_error_message.
	(write_string): Define as returning nothing.
	(write_string_1): Likewise.
	(print_error_message): Likewise.
d4668 3
a4670 5
	* minibuf.c (read_minibuf_unwind): Fix return type and return nil.
	(temp_echo_area_glyphs): Define as returning nothing.
	(init_minibuf_once): Likewise.
	(syms_of_minibuf): Likewise.
	(keys_of_minibuf): Likewise.
d4672 1
a4672 2
	* marker.c (unchain_marker): Define as returning nothing.
	(syms_of_marker): Likewise.
d4674 1
a4674 2
	* macros.h: Declare finalize_kbd_macro_chars and
	store_kbd_macro_char.
d4676 1
a4676 5
	* macros.c (store_kbd_macro_char): Define as returning nothing.
	(finalize_kbd_macro_chars): Likewise.
	(init_macros): Likewise.
	(syms_of_macros): Likewise.
	(keys_of_macros): Likewise.
d4678 1
a4678 5
	* lread.c (read1): Declare workbuf as unsigned char.
	(dir_warning): Define as returning nothing.
	(init_lread): Likewise.
	(mapatoms_1): Likewise.
	(map_obarray): Fix type of parameter FN.
d4680 1
a4680 3
	* lisp.h: Add more prototypes and declarations.  Forward declare
	struct window and struct frame so that it can be used in
	prototypes.
d4682 1
a4682 1
1997-11-20  Richard Stallman  <rms@@gnu.org>
d4684 2
a4685 1
	* sysdep.c (init_system_name): Don't use sysinfo.
d4687 1
a4687 1
1997-11-20  Dave Love  <d.love@@dl.ac.uk>
d4689 3
a4691 1
	* syntax.c (skip_chars): Check type of `string' before using it.
d4693 1
a4693 1
1997-11-20  Abraham Nahum  <miko@@uxsrvc.tti.co.il>
d4695 3
a4697 2
	* sysdep.c: Treat DGUX the same as USG.
	* s/dgux4.h (LIBS_SYSTEM): Define this.
d4699 1
a4699 1
1997-11-20  Eli Zaretskii  <eliz@@is.elta.co.il>
d4701 7
a4707 3
	* frame.c (frame_name_fnn_p, set_term_frame_name): New functions.
	(store_frame_param): When the property name is "name", set the
	name of the frame to its value.
d4709 5
a4713 1
1997-11-16  Richard Stallman  <rms@@gnu.org>
d4715 1
a4715 2
	* keyboard.c (Fexecute_extended_command): Fix message wording.
	Don't print a message for a binding for mouse-movement.
d4717 4
a4720 1
1997-11-15  Richard Stallman  <rms@@gnu.org>
d4722 1
a4722 3
	* xdisp.c (minibuffer_scroll_overlap): New variable.
	(syms_of_xdisp): Set up Lisp var.
	(redisplay_window): Scroll minibuffer in a special way.
d4724 1
a4724 58
	* xdisp.c (display_text_line): Make decision about which windows
	highlight the region in just once place.
	When minibuffer is selected, show the region in the previous window,

	* charset.h (ASCII_BYTE_P): New macro.

	* indent.c (position_indentation): Detect non-breaking space,
	in either single-byte form or multibyte form (using category ' ').

1997-11-15  Karl Heuer  <kwzh@@gnu.org>

	* xselect.c (x_handle_selection_request): Use xfree, not free.
	(unexpect_property_change, x_get_window_property_as_lisp_data): Ditto.
	(x_handle_property_notify, receive_incremental_selection): Ditto.
	(selection_data_to_lisp_data, Fx_get_cut_buffer_internal): Ditto.

1997-11-10  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c: Support for Japanese display on DOS/V systems.
	(screen_old_address, screen_virtual_segment,
	screen_virtual_offset): New variables.
	(dosv_refresh_virtual_screen): New function.
	(dos_direct_output, dos_set_window_size, IT_write_glyphs,
	IT_clear_end_of_line, IT_clear_screen, IT_display_cursor,
	IT_reset_terminal_modes, XMenuActivate, abort):  Call
	dosv_refresh_virtual_screen if under DOS/V.
	(IT_set_terminal_modes): If under DOS/V, update the address of
	primary screen buffer.
	(internal_terminal_init): Zero out screen_old_address, in case
	Emacs was dumped under DOS/V.
	(dos_get_saved_screen): Return failure indication if no screen was
	saved.

1997-11-07  Kenichi Handa  <handa@@etl.go.jp>

	* callproc.c (Fcall_process): GCPRO infile, buffer, and
	current_dir before encoding arguments.

	* charset.c (find_charset_in_str): Handle the case that STR
	contains invalid multibyte-form.

	* coding.c (setup_coding_system): Initialize common_flags member
	instead of require_flushing member of `*coding'.
	(code_convert_region): Fix previous change.

	* coding.h (struct coding_system): Add member common_flags, delete
	member require_flushing.
	(CODING_REQUIRE_FLUSHING_MASK, CODING_REQUIRE_DECODING_MASK,
	CODING_REQUIRE_ENCODING_MASK, CODING_REQUIRE_DETECTION_MASK): New
	macros.
	(CODING_REQUIRE_NO_CONVERSION, CODING_MAY_REQUIRE_NO_CONVERSION):
	These macros deleted.
	(CODING_REQUIRE_FLUSHING, CODING_REQUIRE_DECODING,
	CODING_REQUIRE_ENCODING, CODING_REQUIRE_DETECTION): New macros.

	* editfns.c (Fsref): If IDX points an 8-bit code which is not part
	of multibyte characters, return it.  Pay attention to
	enable-multibyte-characters.
d4726 8
a4733 3
	* fileio.c (Finsert_file_contents): Use new macros defined in
	coding.h.
	(Fwrite_region): Likewise.
d4735 1
a4735 3
	* process.c (create_process): Encode arguments for the process.
	(read_process_output): Use new macros defined in coding.h.
	(send_process): Likewise.
d4737 1
a4737 3
	* term.c (encode_terminal_code): Use new macros defined in
	coding.h.
	(write_glyphs): Likewise.
d4739 2
a4740 1
1997-10-31  Richard Stallman  <rms@@gnu.org>
d4742 1
a4742 2
	* sysdep.c (init_system_name): If gethostname gives a proper
	domain name, don't look farther for one.
d4744 1
a4744 1
1997-10-29  Paul Eggert  <eggert@@twinsun.com>
d4746 2
a4747 1
	* m/alpha.h (DBL_MIN_REPLACEMENT): New macro.
d4749 1
a4749 1
	* print.c (DBL_MIN): Use workaround if DBL_MIN_REPLACEMENT is defined.
d4751 1
a4751 1
1997-10-27  Kenichi Handa  <handa@@etl.go.jp>
d4753 1
a4753 4
	* charset.c (Fchars_in_string): Pay attention to
	enable-multibyte-characters.
	(Fchars_in_region): Likewise.  Avoid error when the region ends in
	the middle of a multibyte character.
d4755 2
a4756 4
	* category.c (copy_category_table): Copy also the first extra slot
	(vector of docstrings).
	(Fcopy_category_table): Do not give unused second arg to
	copy_category_table.
d4758 1
a4758 1
1997-10-26  Kyle Jones  <kyle_jones@@wonderworks.com>
d4760 2
a4761 1
	* buffer.c (Fkill_buffer): Don't assume buffer is current.
d4763 1
a4763 1
1997-10-24  Eirik Fuller  <eirik@@netcom.com>
d4765 2
a4766 1
	* xterm.c (XTread_socket): Check for bogus (0,0) location.
d4768 1
a4768 1
1997-10-24  Richard Stallman  <rms@@gnu.org>
d4770 4
a4773 4
	* frame.c (Fmouse_pixel_position, Fmouse_position): 
	Pass -1 as INSIST arg to mouse_position_hook.
	* w32term.c (w32_mouse_position): Handle INSIST < 0.
	* xterm.c (XTmouse_position): Handle INSIST < 0.
d4775 2
a4776 1
1997-10-23  Simon Marshall  <simon@@gnu.org>
d4778 1
a4778 2
	* lread.c (Fload): Indicate in messages if source code is being
 	loaded and don't indicate when compiled code is being loaded.
d4780 1
a4780 1
1997-10-23  Murata Shuuichirou  <mrt@@mickey.ai.kyutech.ac.jp>
d4782 1
a4782 2
	* coding.c (encode_designation_at_bol): Fix bug of finding graphic
	registers which should be designated at bol.
d4784 5
a4788 1
1997-10-23  Kenichi Handa  <handa@@etl.go.jp>
d4790 1
a4790 2
	* charset.h (CHAR_VALID_P): Renamed from VALID_CHAR_P, new
	argument GENERICP.  Call char_valid_p for a non-ASCII character.
d4792 3
a4794 3
	* charset.c (char_valid_p): New function
	(Fchar_valid_p): New function.
	(syms_of_charset): Declare it as a Lisp function.
d4796 1
a4796 6
	* coding.h (struct iso2022_spec): New member
	charset_revision_number.
	(CODING_SPEC_ISO_SAFE_CHARSETS): This macro deleted.
	(CODING_SPEC_ISO_REVISION_NUMBER): New macro.
	(struct coding_system): Member `safe_charsets' is moved from
	struct iso2022_spec.
d4798 2
a4799 15
	* coding.c (Qsafe_charset): New variable.
	(syms_of_coding): Initialize and staticpro it.
	(detect_coding_iso2022): Handle SS2 and SS3 correctly.
	(DECODE_ISO_CHARACTER): Recover from incorrect encoding in less
	dangerous way.
	(ENCODE_DESIGNATION): Get charset revision number by
	CODING_SPEC_ISO_REVISION_NUMBER.
	(setup_coding_system): Initialize the member safe_charsets from
	the coding systems's safe-charsets property.  Initialize the
	member charset_revision_number of struct iso2022_spec.
	(ENCODE_ISO_CHARACTER_DIMENSION1): Adjusted for the change of
	`safe_charsets' member.
	(ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
	(code_convert_region): Restore the current point after calling a
	function in coding->post_read_conversion.
d4801 1
a4801 2
	* fns.c (map_char_table): Do not operate on invalid characters.
	Pay attention to `enable-multibyte-characters'.
d4803 4
a4806 1
1997-10-23  Richard Stallman  <rms@@gnu.org>
d4808 1
a4808 2
	* filelock.c (unlock_all_files): Don't call unlock_file;
	do the work directly, and avoid calling Fexpand_file_name.
d4810 1
a4810 2
	* xdisp.c (redisplay_window): If clip_changed, always run
	window-scroll-functions.
d4812 2
a4813 1
1997-10-23  Paul Eggert  <eggert@@twinsun.com>
d4815 1
a4815 1
	Don't generate useless digits when converting floating point to string.
d4817 1
a4817 8
	* print.c (_MAXLDBL, _NMAXLDBL):
	Define to work around hpux 7 <math.h> problem.
	(<math.h>): Include.
	(<float.h>, <stdlib.h>): Include if STDC_HEADERS.
	(FLT_RADIX, DBL_MANT_DIG, DBL_DIG): Default to IEEE values.
	(DOUBLE_DIGITS_BOUND): New macro.
	(float_to_string): By default, generate the fewest number of digits
	that represent the floating point value exactly.
d4819 2
a4820 3
	* lisp.h (DBL_DIG): Remove; the default value is now set in print.c.
	* data.c, floatfns.c: No need to include <float.h> before "lisp.h",
	as the latter no longer defines DBL_DIG.
d4822 1
a4822 1
1997-10-21  Kenichi Handa  <handa@@etl.go.jp>
d4824 3
a4826 1
	* Makefile.in (xselect.o): Depend on buffer.h
d4828 2
a4829 12
	* coding.c (Qcoding_system_spec): Deleted.
	(Vcoding_system_list, Vcoding_system_alist): New variables.
	(setup_coding_system): Adjusted for the change in mule.el.
	(detect_eol): Likewise.
	(Fcoding_system_spec): Changed to Lisp function in mule.el.
	(Fcoding_system_p): Do not call Fcoding_system_spec.
	(Fread_coding_system): Give Vcoding_system_alist to
	Fcompleting_read as the arg TABLE.
	(Fread_non_nil_coding_system): Likewise.  Give
	Vcoding_system_history to Fcompleting_read as the arg HIST.
	(syms_of_coding): Deleted codes for Qcoding_system and
	Fcoding_system_spec.  Set up new Lisp variables.
d4831 1
a4831 5
	* xselect.c: Include buffer.h.
	(selection_data_to_lisp_data): Do not perform code conversion if
	the default value of enable-multibyte-characters is nil.
	(lisp_data_to_selection_data): Likewise.  Access the array
	`charsets' in the correct way.
d4833 1
a4833 1
1997-10-20  Richard Stallman  <rms@@gnu.org>
d4835 3
a4837 2
	* Makefile.in (LD_SWITCH_MACHINE_TEMACS): New macro (defaults empty).
	(ALL_LDFLAGS): Use LD_SWITCH_MACHINE_TEMACS here.
d4839 1
a4839 2
	* m/ibmrs6000.h (LD_SWITCH_MACHINE): Conditionalize this
	on THIS_IS_MAKEFILE instead of on emacs.
d4841 2
a4842 1
1997-10-20  Paul Eggert  <eggert@@twinsun.com>
d4844 1
a4844 4
	* strftime.c:
 	Switch back to GNU C Library version.
	(__tz_compute): Remove unused decl.
	(strftime): Use tm_zone even if _LIBC is defined.
d4846 1
a4846 1
1997-10-19  Kurt Swanson  <kurt@@dna.lth.se>
d4848 1
a4848 1
	* window.c (syms_of_window): Doc fix.
d4850 3
a4852 1
1997-10-16  Richard Stallman  <rms@@gnu.org>
d4854 1
a4854 1
	* buffer.c (init_buffer): Don't add /: to default dir if it's `/'.
d4856 2
a4857 2
	* keymap.c (Faccessible_keymaps): Avoid alloca for fixed-size array.
	(Fset_keymap_parent, Fcopy_keymap, Fwhere_is_internal): Likewise.
d4859 1
a4859 2
	* minibuf.c (read_minibuf): Return DEFALT here, if minibuffer is empty.
	(Fread_from_minibuffer, Fcompleting_read): Don't do that here.
d4861 2
a4862 2
	* fileio.c (Fexpand_file_name): Avoid treating // specially
	even in a relative file name.
d4864 1
a4864 2
	* keymap.c (Fwhere_is_internal): some minor mode bindings weren't
	being found.
d4866 1
a4866 1
1997-10-15  Richard Stallman  <rms@@gnu.org>
d4868 1
a4868 2
	* window.c (replace_buffer_in_all_windows):
	Pass 1 as MINI to window_loop.
d4870 1
a4870 1
	* data.c (Fstring_to_number): Handle NEGATIVE for floats too.
d4872 2
a4873 2
	* lread.c (read_list): Don't recognize Vload_file_name
	specially if it is nil.
d4875 1
a4875 1
1997-10-15  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d4877 2
a4878 2
	* alloc.c (gc_sweep): Free memory blocks that contain only unused
	objects.
d4880 4
a4883 3
	* window.c (window_scroll): When scrolling forward and point is
	inside the scroll margin put point at bottom of it, not at window
	start.
d4885 1
a4885 1
1997-10-13  Andrew Innes  <andrewi@@harlequin.co.uk>
d4887 2
a4888 2
	* callproc.c (child_setup) [WINDOWSNT]: Ensure standard handles
 	are reset even if spawnve fails.
d4890 1
a4890 1
	* w32menu.c (Fx_popup_menu): Pass menu handle by value.
d4892 1
a4892 1
1997-10-13  Eli Zaretskii  <eliz@@melange.gnu.org>
d4894 2
a4895 2
	* xdisp.c (decode_mode_spec): Display non-nil title as the frame's
	name only on FRAME_WINDOW_P frames.
d4897 1
a4897 2
	* frame.c (set_menu_bar_lines): Make the function external instead
	of static (MS-DOS needs to call it).
d4899 1
a4899 1
	* emacs.c (shut_down_emacs): Call `dos_cleanup'.
d4901 3
a4903 20
	* msdos.c (mouse_get_pos): Remove reduntant call to `int86'.
	Clear the mouse-moved flag for all frames.  Update last mouse
	position.
	(IT_set_menu_bar_lines): Remove.
	(x_set_menu_bar_lines): Call `set_menu_bar_line' (from frame.c)
	instead of duplicating its code.
	(IT_set_frame_parameters): Support the `title' and `reverse'
	properties.

	* dosfns.h: Vdos_windows_version: declare.

	* dosfns.c (__tb): Define.
	(restore_parent_vm_title): New function.
	(ms_windows_version): New function.
	(w95_set_virtual_machine_title): New function
	(x_set_title): New function.
	(dos_cleanup): New function
	(syms_of_dosfns): Define `dos-windows-version' Lisp variable.
	(init_dosfns): Compute MS-Windows version and save the original
	title of our DOS box.
d4905 1
a4905 1
1997-10-10  Richard Stallman  <rms@@gnu.org>
d4907 1
a4907 1
	* s/netbsd.h (LD_SWITCH_SYSTEM): Use -Wl,-rpath if __ELF__.
d4909 1
a4909 1
1997-10-01  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d4911 2
a4912 1
	* unexelf.c (round_up): Make arguments and return type unsigned.
d4914 1
a4914 2
	* editfns.c: Repeat the argument list of format-time-string in the
	comment for make-docstring.
d4916 2
a4917 2
	* lread.c: Make sure that make-docfile does not see the doc string
	of the disabled function eval-current-buffer.
d4919 1
a4919 1
	* print.c (syms_of_print): Fix doc string of print-gensym.
d4921 1
a4921 1
1997-10-01  Richard Stallman  <rms@@psilocin.gnu.org>
d4923 1
a4923 2
	* s/aix4-1.h [! HAVE_LIBXMU] (LIBXMU): Define as empty.
	[! HAVE_LIBXMU] (NO_EDITRES): Defined.
d4925 1
a4925 1
1997-09-30  Hrvoje Niksic  <hniksic@@srce.hr>
d4927 1
a4927 4
	* fns.c (Qwidget_type): New variable.
	(widget-plist-member, widget-put, widget-get, widget-apply): Move
	here from lisp/wid-edit.el; translated into C for efficiency.
	(syms_of_fns): Initialize Qwidget_type; defsubr new functions.
d4929 798
a5726 1
1997-09-29  Karl Heuer  <kwzh@@gnu.org>
d5728 1
a5728 1
	* s/dgux4.h: Fix name of include file to match 1996-08-24 renaming.
d5730 1
a5730 1
1997-09-27  Eirik Fuller  <eirik@@netcom.com>
d5732 3
a5734 2
	* ralloc.c (relinquish): When returning memory to the system,
	watch out for the original data segment boundary.
d5736 1
a5736 1
1997-09-25  Kenichi Handa  <handa@@etl.go.jp>
d5738 2
a5739 1
	* keymap.c (push_key_description): Delete useless `if' statement.
d5741 2
a5742 1
1997-09-24  Kenichi Handa  <handa@@etl.go.jp>
d5744 1
a5744 2
	* charset.c (find_charset_in_str): Return also charsets in
	composite characters.
d5746 1
a5746 1
1997-09-24  Dave Love  <d.love@@dl.ac.uk>
d5748 1
a5748 1
	* buffer.c (mode-line-format): Doc fix.
d5750 10
a5759 1
1997-09-23  Geoff Voelker  <voelker@@cs.washington.edu>
d5761 7
a5767 2
	* callproc.c (child_setup) [WINDOWSNT]: Change directory of
	child instead of parent.
d5769 131
a5899 1
1997-09-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d5901 1
a5901 1
	* Version 20.2 released.
d5903 1
a5903 1
	* s/sol2-5.h (SYSTEM_MALLOC): Defined.
d5905 4
a5908 1
1997-09-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d5910 1
a5910 1
	* Version 20.1 released.
d5912 2
a5913 2
	* keyboard.c (command_loop_1): Add nonascii_insert_offset
	before calling direct_output_for_insert.
d5915 1
a5915 1
1997-09-15  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d5917 2
a5918 2
	* indent.c (compute_motion): Ignore the display table entry for a
	base leading code when dealing with multibyte characters.
d5920 1
a5920 1
1997-09-14  Kenichi Handa  <handa@@etl.go.jp>
d5922 1
a5922 3
	* fileio.c (Finsert_file_contents): If a coding system is
	specified explicitly on visiting a new file, set
	buffer-file-coding system of the new buffer to the specified one.
d5924 1
a5924 1
1997-09-13  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d5926 3
a5928 1
	* minibuf.c (syms_of_minibuf): Doc fix.
d5930 1
a5930 1
1997-09-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d5932 3
a5934 6
	* xdisp.c: When redisplaying the echo area, use the value
	of enable-multibyte-characters from when message was called.
	(message_enable_multibyte): New variable.
	(message2_nolog): Set the variable.
	(echo_area_display): Use that variable.
	(display_string): New arg MULTIBYTE.  Callers changed.
d5936 1
a5936 1
	* print.c (Fexternal_debugging_output): On Windows, output to debugger.
d5938 1
a5938 1
1997-09-11  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d5940 1
a5940 1
	* msdos.c: Use raw-text as coding system.
d5942 1
a5942 1
1997-09-10  Eli Zaretskii  <eliz@@is.elta.co.il>
d5944 2
a5945 4
	* msdos.c (syms_of_msdos): Intern background-color and
	foreground-color, and staticpro them.
	(IT_set_frame_parameters): Use Qforeground_color and
	Qbackground_color.
d5947 1
a5947 1
1997-09-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d5949 6
a5954 1
	* xdisp.c (display_menu_bar): Include WINDOW_LEFT_MARGIN in maxendcol.
d5956 10
a5965 1
	* process.c (create_process): Encode the new current dir.
d5967 1
a5967 1
	* callproc.c (Fcall_process): Encode the new current dir.
d5969 17
a5985 1
1997-09-09  Paul Eggert  <eggert@@twinsun.com>
d5987 1
a5987 1
	* s/sco5.h (BROKEN_MKTIME): Define.
d5989 1
a5989 1
1997-09-09  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d5991 1
a5991 1
	* xfns.c (x_screen_planes): Fix type of argument.
d5993 1
a5993 4
	* syntax.h (UPDATE_SYNTAX_TABLE_FORWARD): Add missing fourth
	argument of update_syntax_table.
	(UPDATE_SYNTAX_TABLE_BACKWARD): Likewise.
	(UPDATE_SYNTAX_TABLE): Likewise.
d5995 1
a5995 1
	* coding.c (encode_designation_at_bol): Fix type of local vars C1, C2.
d5997 2
a5998 1
1997-09-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6000 1
a6000 10
	* fileio.c (ENCODE_FILE): New macro.
	(Vfile_name_coding_system): New variable.
	(syms_of_fileio): Set up Lisp variable.
	(Fset_visited_file_modtime): Use ENCODE_FILE.
	(Fcopy_file, Fmake_directory_internal, Fdelete_directory, Fdelete_file)
	(Frename_file, Fadd_name_to_file, Ffile_exists_p Ffile_executable_p)
	(Ffile_readable_p, Ffile_writable_p, Faccess_file, Ffile_symlink_p)
	(Ffile_directory_p, Ffile_accessible_directory_p, Ffile_regular_p)
	(Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p, Fwrite_region)
	(Finsert_file_contents, Fverify_visited_file_modtime): Likewise.
d6002 1
a6002 1
	* fileio.c (Ffile_symlink_p): Decode the file name value.
d6004 1
a6004 5
	* dired.c (ENCODE_FILE): New macro.
	(Ffile_attributes): Encode the file names to operate on.
	(file_name_completion): Do completion on encoded name, then decode.
	(Fdirectory_files): Encode the argument.
	Decode all result file names using Vfile_name_coding_system.
d6006 2
a6007 3
	* coding.c (Fencode_coding_string, Fdecode_coding_string): Doc fixes.
	
1997-09-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6009 3
a6011 1
	* lread.c (Feval_buffer): New arg FILENAME.
d6013 1
a6013 1
	* buffer.c (modify_overlay): Update overlay_modiff of proper buffer.
d6015 2
a6016 1
1997-09-07  Geoff Voelker  <voelker@@cs.washington.edu>
d6018 1
a6018 3
	* firstfile.c: New file.
	
1997-09-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6020 1
a6020 2
	* xdisp.c (display_string): Determine multibyte from current buffer,
	not from W's buffer.
d6022 1
a6022 1
1997-09-07  Kenneth Stailey  <kstailey@@elbereth.disclosure.com>
d6024 1
a6024 1
	* s/openbsd.h: New file.
d6026 1
a6026 2
	* m/ns32000.h, m/sparc.h, m/alpha.h, m/pmax.h, unexalpha.c:
	Test __OpenBSD__ along with __NetBSD__.
d6028 1
a6028 4
	* unexelf.c: Test __OpenBSD__ along with __NetBSD__.
	[__OpenBSD__]: Include sys/exec_elf.h.
	
1997-09-05  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>
d6030 1
a6030 3
	* coding.c (Ffind_operation_coding_system): If a function in
	XXX-coding-system-alist returns a coding system (instead of cons
	of coding systems), return cons of it.
d6032 1
a6032 1
1997-09-05  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6034 1
a6034 3
	* coding.c (Fread_coding_system):
	New optional arg DEFAULT_CODING_SYSTEM.
	* lisp.h (Fread_coding_system): Update decl.
d6036 1
a6036 3
	* callint.c (Fcall_interactively): Pass new arg to Fread_coding_system.
	
1997-09-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6038 2
a6039 1
	* m/alpha.h (PTY_OPEN): Call sigblock properly.
d6041 1
a6041 1
	* fileio.c (Fexpand_file_name): If default dir isn't string, use `/'.
d6043 1
a6043 2
	* callproc.c (Fcall_process_region): Fix previous change:
	never override Vcoding_system_for_write.
d6045 1
a6045 1
	* m/alpha.h (PTY_OPEN): Save and restore the SIGCHLD handler.
d6047 3
a6049 1
1997-09-04  Erik Naggum  <erik@@naggum.no>
d6051 1
a6051 1
	* emacs.c (main): Update Copyright message.
d6053 2
a6054 1
1997-09-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6056 1
a6056 2
	* data.c (Faset): Simplify a statement in the char-table case.
	This is to help some compilers.
d6058 3
a6060 3
	* coding.c (Qcoding_system_history): New variable.
	(syms_of_coding): Initialize it.
	(Fread_coding_system): Use Qcoding_system_history.
d6062 3
a6064 3
	* coding.c (setup_coding_system, Ffind_operation_coding_system)
	(Fdetect_coding_region, Fread_coding_system):
	Don't initialize a Lisp_Object.
d6066 5
a6070 1
1997-09-03  NIIBE Yutaka  <gniibe@@mri.co.jp>
d6072 1
a6072 1
	* emacs.c (main): Call run_time_remap earlier, before any use of stdio.
d6074 5
a6078 1
1997-09-03  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d6080 1
a6080 1
	* minibuf.c (read_minibuf): Fix use of Ffboundp.
d6082 2
a6083 1
1997-09-03  Geoff Voelker  <voelker@@cs.washington.edu>
d6085 1
a6085 1
	* lastfile.c (my_endbss) [WINDOWSNT]: New variable.
d6087 1
a6087 1
1997-09-03  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6089 3
a6091 2
	* coding.c (detect_coding_mask): Re-work previous change.
	(detect_eol): Fix use of == instead of -.
d6093 1
a6093 1
1997-09-03  Kenichi Handa  <handa@@etl.go.jp>
d6095 4
a6098 2
	* coding.c (detect_coding_mask): Cancel previous change.  Always
	include CODING_CATEGORY_MASK_RAW_TEXT in the return value.
d6100 1
a6100 1
1997-09-02  Andrew Innes  <andrewi@@harlequin.co.uk>
d6102 4
a6105 6
	* makefile.nt (TLIB0, TOBJ, OBJ0): New macro.
	(LINK_FLAGS): Separate debugging info from the executable.
	(LIBS): Include TLIB0.
	(TEMACS): Link with TLIB0.
	(EMACS): Copy temacs map file to emacs map file.
	Update file dependencies.
d6107 1
a6107 28
	* unexw32.c: Include config.h and time.h.
	Declare extern data and functions.
 	(file_data): Move definition from w32heap.c.
	(_start): Add debug hook for when profiling.
	Spoof executable name when using profilers.
	Invoke sbrk immediately when undumped.
	(unexec): Print error messages when input and output dump files
	cannot be opened.
	Reset header checksum.
	(open_input_file, open_output_file): Return status instead of aborting.
	(get_section_size): Handle different linkers.
	(find_section, rva_to_section): New functions.
	(get_section_info) [SEPARATE_BSS_SECTION]: Make code for using
	a separate .bss section conditional.
	Use my_begbss and my_endbss to determine .bss size by default.
	Look for Emacs data in EMDATA section.
	
	* w32.c: Include stddef.h.
	(getwd): Delete macro.
	(startup_dir): New variable.
	(getwd): Return directory in which Emacs started.
	(init_user_info): Set SHELL environment variable if not set.
	(parse_root, get_long_basename, w32_get_long_filename): New functions.
	(init_environment): Look for CMDPROXY.
	Make sure that PATH and COMSPEC are capitalized in the environment.
	Record startup directory.
	(get_emacs_configuration, sys_rename): Use OS_WIN95.
	(map_w32_filename): Calculate returned string correctly.
d6109 5
a6113 9
	(sys_fopen): Use _fdopen.
	(sys_link): Support NTFS links.
	(sys_rename): Use a long file name for temporary name.
	(sys_pipe): Make pipes binary and non-inheritable.
	(sys_read, sys_write): Spoof text mode translation for pipes 
	and sockets.
	
	(hashval): Simplify.
	(generate_inode_val): Use long file name version of file.
d6115 1
a6115 4
	(stat): Optimize by using active readdir info.
	Set fake_inode to 0 for directories.
	Set fake_inode to xor of file indexes for files.
	Don't use generate_inode_val to set inode value.
d6117 1
a6117 7
	(volume_info_data): Renamed from volume_info.
	(volume_info, fixed_drives, volume_cache): New variables.
	(DRIVE_INDEX, VOLINFO_STILL_VALID): New macros.
	(lookup_volume_info, add_volume_info, GetCachedVolumeInformation):
	New functions.
	(get_volume_info): Use volume_info_data.
	Use GetCachedVolumeInformation.	
d6119 1
a6119 8
	(init_ntproc): No longer restrict to one DOS subprocess.
	Use CRT _open and _fdopen.
	Cache fixed drive information.
	
	* w32.h: Remove debugging macros.
	(child_process): Remove is_dos_process field, add hwnd handle field.
	(FILE_LAST_CR): New macro.
	(w32_get_long_filename): Declare extern.
d6121 2
a6122 11
	* w32console.c: (DebPrint, reset_kbd, unset_kbd, take_console): 
	Delete functions.
	(keyboard_init_hook): Delete variable.
	(prev_console_cursor) [! USE_SEPARATE_SCREEN]: New variable.
	(reset_terminal_modes) [! USE_SEPARATE_SCREEN]: Reset cursor info.
	(initialize_w32_display) [USE_SEPARATE_SCREEN]: Create separate
	screen buffer.
	(ctrl_c_handler): Only ignore interrupts when interactive.
	(set_terminal_modes): Set input mode.
	(initialize_w32_display): Record original settings.
	Don't reset cursor or clear frame.
d6124 1
a6124 7
	* w32fns.c: Include limits.h and errno.h.
	Declare externs from other files.
	(w32_in_use): New variable.	
	(check_w32, have_menus_p, x_set_title, w32_msg_worker,
	find_deferred_msg, send_deferred_msg, complete_deferred_msg,
	Fw32_focus_frame, W32-send-sys-command): New functions.
	(last_mouse_movement_time): Delete variable.
d6126 2
a6127 22
	(x_frame_parms): Alphabetize.  Add title parm.
	(x_set_icon_name): Use title if set.
	(x_set_menu_bar_lines): Ensure client area remains the same.
	(x_set_name): Don't update if the name is the same.
	Use title for name if available.
	(x_icon): Initial support for creating window iconified.
	(x_display_info_for_name): Set w32_in_use.
	(Fx_open_connection): Validate Vwindow_system.  Set w32_in_use.
	
	(w32_create_window): Set window size to frame dimensions.
	Set font width, line height, border, scrollbar indexes.
	Don't set X and Y units indexes.
	(w32_msg_pump): Renamed from windows_msg_worker.
	Make static.  Don't post done message. No longer handle
	create scrollbar message.  Don't abort on anomalous messages.
	Return when completion detected.
	(w32_wnd_proc): Keep track of button state.	
	For WINDOWPOSCHANGING, force window dimensions to be multiples
	of character dimensions.
	Handle CREATESCROLLBAR.
	Use correct arguments for SHOWWINDOW.
	For SETWINDOWPOS, use WINDOWPOS structure.
d6129 2
a6130 11
	(my_create_window): Abort if message post fails.
	(Fx_create_frame): Use title instead of name.
	GC protect frame before make_frame_without_minibuffer.
	Set icon name.
	Use courier new as default font (has bold and italic).
	Set BufferPredicate and Title default parameters.
	
	(x_to_w32_weight): Support semibold weight.
	(x_to_w32_charset): Map # to numeric charset identifier.
	(w32_to_x_charset): Encode unknown charsets as a number.
	(enum_font_cb2): Don't restrict to ANSI and OEM charsets.
d6132 1
a6132 1
	(Fx_color_values): Set high and low words of color values.
d6134 1
a6134 1
	(syms_of_w32fns): Zero w32_in_use.  defsubr new functions.
d6136 1
a6136 3
	* w32heap.c (os_subtype): New variable.
	(cache_system_info): Set os_subtype.
	(recreate_heap): Update system information after loading heap.
d6138 1
a6138 4
	* w32heap.h: Enumerate operating system types.
	Declare extern data and functions.
	Move file_data struct definition here.
	(OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): New macros.
d6140 2
a6141 37
	* w32inevt.c: Declare externs from other files.
	(w32_kbd_mods_to_emacs): New parameter KEY.
	Use w32-capslock-is-shiftlock for old behavior.
	(key_event): Pass in new parameter to w32_kbd_mods_to_emacs.	
	
	* w32menu.c (init_menu_items): Disable code.
	(x_activate_menubar): New function.
	(initialize_frame_menubar): Pass in new param to set_frame_menubar.
	
	* w32proc.c: Include w32heap.h.
	(Vw32_start_process_share_console, Vw32_generate_fake_inodes,
	Vw32_get_true_file_attributes, Qhigh, Qlow, process_dir): 
	New variables.
	(find_child_console, set_process_dir, Fw32_short_file_name,
	Fw32_long_file_name, Fw32_set_process_priority, Fw32_get_locale_info,
	Fw32_get_current_locale_id, Fw32_get_default_local_id, 
	Fw32_set_current_locale): New functions.
	(CORRECT_DIR_SEPS): New macro.
	(create_child): Create a new console if subprocs don't share parent's.
	(reap_subprocess): Don't check for dos subprocesses.  
	Add debug support.
	(sys_wait): Ignore socket child_procs.
	Check for quit while waiting.
	(w32_executable_type): Renamed from w32_is_dos_binary.
	Check for dos and Cygnus executables.
	(sys_spawnve): Always use cmdproxy if spawning a dos app.
	Use quotes to quote arguments for Cygnus apps, backslashes otherwise.
	Handle escape characters.  Escape quotes at start and end, too.
	(sys_select): Treat null timeout as infinite.
	Add handles of child processes.
	Loop over handles round robin to ensure fairness.
	(sys_kill): Send ctrl-break and ctrl-c keystrokes to subprocesses
	on SIGINT if not sharing consoles, otherwise generate ctrl-break event.
	On other termination signals, send WM_QUIT message to Win95 apps
	and WM_CLOSE to NT apps.
	(syms_of_ntproc): Intern new symbols.  defsubr new functions.
	DEFVAR new variables.
d6143 1
a6143 21
	* w32term.c (SIF_*): Win95 macros defined for NT.
	(struct tagSCROLLINFO): Win95 struct defined for NT.
	(vertical_scroll_bar_min_handle, vertical_scroll_bar_top_border,
 	vertical_scroll_bar_bottom_border, last_scroll_bar_drag_pos,
 	Vw32_gab_focus_on_raise, Vw32_capslock_is_shiftlock): New
 	variables.
	(w32_frame_up_to_date): Block input.
	(do_line_dance): Use DC while erasing, release at end.
	(show_mouse_face): Use column and endcolumn calculated at start of
 	loop.
	(my_create_scrollbar, my_show_window, my_set_window_pos,
 	my_set_focus) [! ATTACH_THREADS]: Send message to window instead
 	of invoking Windows procedure.
	(x_scroll_bar_create, x_scroll_bar_move, x_scroll_bar_handle_click,
	x_scroll_bar_report_motion): Use SCROLLINFO for proportional handle.
	(x_scroll_bar_set_handle): Create proportional sized scroll handle.
	(w32_set_vertical_scroll_bar): Size handle according to how much
	is showing in window.
	(x_scroll_bar_set_report_motion): Use top_range, calculated above.
	(x_scroll_bar_clear): Hide scroll bar until ready to repaint.
	(show_scroll_bars): Pass in frame to my_show_window.
d6145 1
a6145 8
	(w32_read_socket): Distinguish between invisible and obscured frames
	when handling PAINT messages.
	Fixup off-by-one calculation for PAINT and SIZE.
	Pass in new parameter to w32_kbd_mods_to_emacs.
 	Handle WM_DISPLAYCHANGE, WINDOWPOSCHANGED, ACTIVATE, SHOWWINDOW,
 	INITMENU, and ACTIVATEAPP messages.
	Explicitly check for visibile and obscured frames, and to see if 
	any event should cause a redisplay.
d6147 1
a6147 15
	(x_display_bar_cursor): Don't check whether frame is updating here.
	(x_display_cursor): Check it here instead.
	(x_set_offset) [HAVE_NTGUI]: Don't add border widths.
	Set NOACTIVATE when setting window position.
	(x_set_window_size): Fixup off-by-one calculation when setting
	window position.  Mark frame garbaged earlier.  Clear mouse
	highlighting state.
	(x_focus_on_frame): Set focus by making frame the foreground window.
	(x_raise_frame): Support frames to be raised without grabbing focus.
	(x_lower_frame): Set NOACTIVATE flag when setting window position.
	(x_make_frame_visible, x_make_frame_invisible): Pass in frame 
	to my_show_window.
	(x_iconify_frame): Send a MINIMIZE message to the window.	
	(x_wm_set_size_hint): Set font width, line height, border,
	and scroll bar indexes instead of X and Y unit indexes.
d6149 1
a6149 4
	(w32_initialize): Set input mode.  Use w32_msg_worker instead
	of windows_msg_worker.  Dynamically link proportional scroll bar
	functions and intialize proportional scroll bar variables.
	(syms_of_w32term): DEFVAR new variables.
d6151 1
a6151 6
	* w32term.h (w32_output): New fields menubar_widget, menubar_active,
	and pending_menu_activation.
	(VERTICAL_SCROLL_BAR_*): Use proportional scroll bar variables.	
	(W32WindowPos): Delete definition.
	(WM_EMACS_SETFOCUS, WND_*_INDEX): New macros.
	(deferred_msg): New structure.
d6153 1
a6153 1
	* w32xfns.c (have_menus_p): Move to w32fns.c.
d6155 1
a6155 8
	* s/ms-w32.h (INTERRUPT_INPUT): Don't define.
	(bcopy): Use memmove instead of memcpy.
	(GAP_USE_BCOPY, BCOPY_UPWARD_SAFE, BCOPY_DOWNWARD_SAFE): Define.
	Undef system calls before redefining.  Emulated calls redefined
	to sys_*, real calls redefined to _*.
	(DebPrint): Macro defined.
	
1997-09-02  Michael Welsh Duggan  <md5i@@schenley.com>
d6157 1
a6157 3
	* w32term.h (WM_MOUSEWHEEL): Define if not already defined.
	Necessary for pre VC5.0 distribution.
 	(WM_EMACS_TRACKPOPUPMENU): New Macro.
d6159 1
a6159 3
	* w32term.c (construct_mouse_wheel): New function.  Constructs an
	input event from a WM_MOUSEWHEEL message.
	(w32_read_socket): Handle WM_MOUSEWHEEL.
d6161 1
a6161 38
	* w32fns.c (win32_wnd_proc): Capture and handle WM_MOUSEWHEEL events.
	Capture and handle WM_EMACS_TRACKPOPUPMENU events.
	Allow a dragged selection from a popup menu started up 
	by a mouse down event.
	(x_to_win32_color): Support for X Windows RGB string specifications.
 
  	* w32menu.c (get_frame_menubar_event): Check for the possibility
 	of a menu-bar button.  A menu-bar button is a caption on the menu
 	bar with no submenu.
 	(set_frame_menubar): Correctly handle menu-bar buttons.
 	(add_menu_item): Equiv parameter send and paid attention to.
 	(keymap_panes, list_of_panes): Use CreatePopupMenu.
 	(single_keymap_panes): Use CreatePopupMenu.  Send key descriptions
 	to add_menu_item.
 	(list_of_items): Use CreatePopupMenu.  Send nil description to
 	add_menu_item.
 	(get_menu_event): Send keymap instead of menu to get_keymap_event.
 	(Fx_popup_menu): Extra parameter to mouse_position_hook.  Don't
 	send address of menu to win32menu_show.
 	(win32menu_show): Send message to call popup menu rather than
 	trying directly.  get_menu_event should take an address.
	Call eat_mouse_events in order to get rid of any extraneous 
	mouse events.
 	(list_of_panes): Only bring up one pane if the length of the list
 	of panes is one.
 
1997-09-02  Nico Francois  <nico.francois@@scala.nl>
  
  	* w32menu.c (single_keymap_panes): Fixed problem with 'descrip'
 	lisp object not being protected properly (GCPRO).
  	(get_single_keymap_event): Fixed problem with 'descrip' lisp
 	object not being protected properly (GCPRO).
	(name_is_separator): New function.
	(list_of_panes): If a pane's name is empty ("") items are now
 	placed in the main popup instead of a blank-named submenu.  This
 	seems to be an undocumented feature of x-popup-menu.
  	(list_of_items): New argument HMENU.
 	Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item
d6163 1
a6163 1
1997-09-02  Geoff Voelker  <voelker@@cs.washington.edu>
d6165 1
a6165 1
	* w32.c (init_environment): Don't look for INFOPATH.
d6167 1
a6167 1
 	* w32fns.c (w32_wnd_proc): Pass on WM_DISPLAYCHANGE messages.
d6169 1
a6169 3
	* w32heap.c: Don't use data_seg pragma here.
	(_heap_init, _heap_term) [_MSC_VER >= 1000]: New functions that
	override CRT routines.
d6171 1
a6171 2
	* w32inevt.c (key_event): New parameter isdead. Set isdead if the
  	key press was done using a dead key.
d6173 1
a6173 4
	* w32term.c (w32_read_socket): Pass in new parameter to key_event.
	Let key_event determine whether key is dead.
	For MOVE, use x_real_positions to map to client coords.
	(x_set_mouse_pixel_position): Offset to use client area as origin.
d6175 2
a6176 2
	* s/ms-w32.h: Use pragmas to place Emacs initialized data in
 	EMDATA segment, and Emacs uninitialized data in EMBSS segment.
d6178 1
a6178 1
1997-09-02  Andrew Innes  <andrewi@@harlequin.co.uk>
d6180 1
a6180 1
	* fileio.c (Fadd_name_to_file) [WINDOWSNT]: Remove conditional.
d6182 1
a6182 2
	* frame.h (FRAME_OBSCURED_P): New macro.
	(FRAME_SAMPLE_VISIBILITY): Distinguish between invisible and obscured.
d6184 1
a6184 3
	* keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: Support
	menu_bar_activate_event.
	(set-input-mode) [DOS_NT]: Do not invoke reset and init sys modes.
d6186 5
a6190 5
	* sysdep.c (sys_subshell) [DOS_NT]: Save and restore parent's
	working directory.
	(sys_subshell) [WINDOWSNT]: Share MSDOS code. Don't take console.
	(init_sys_modes, reset_sys_modes) [WINDOWSNT]: Do it even with 
	a read_socket_hook.
d6192 7
a6198 4
	* xdisp.c (redisplay_internal): Check to see if frame is not obscured
	as well as visible.
	
1997-09-02  Michael Welsh Duggan  <md5i@@schenley.com>
d6200 1
a6200 1
	* lisp.h: Declare discard_mouse_events.
d6202 1
a6202 7
	* keyboard.c (Qmouse_wheel) [WINDOWSNT]: New variable.
	(discard_mouse_events): New function.
	(mouse_wheel_syms) [WINDOWSNT]: New variable.
	(lispy_mouse_wheel_names) [WINDOWSNT]: New variable.
	(make_lispy_event) [WINDOWSNT]: Make mouse-wheel events.
	(syms_of_keyboard) [WINDOWSNT]: Define Qmouse_wheel and
	mouse_wheel_syms.
d6204 5
a6208 1
	* termhooks.h (event_kind) [WINDOWSNT]: New event type: mouse_wheel.
d6210 1
a6210 1
1997-09-02  Geoff Voelker  <voelker@@cs.washington.edu>
d6212 1
a6212 2
	* fileio.c (Fexpand_file_name) [WINDOWSNT]: When stripping
	drive letter, be careful not to create a UNC filename.
d6214 2
a6215 1
1997-09-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6217 1
a6217 2
	* coding.c (detect_coding_mask): Add in CODING_CATEGORY_MASK_RAW_TEXT
	in the detect_coding_iso2022 case.
d6219 2
a6220 2
	* minibuf.c (Fread_from_minibuffer, Fread_string): Doc fixes.
	(Fread_no_blanks_input, Fcompleting_read): Doc fixes.	
d6222 1
a6222 1
	* unexnext.c: Include unistd.h instead of libc.h.
d6224 1
a6224 1
1997-09-01  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6226 1
a6226 1
	* s/hpux9.h (HAVE_RINT): Add #undef.
d6228 1
a6228 3
	* floatfns.c (emacs_rint): Define this,
	either as a function or as a macro for rint.
	(Fround, Ffround): Use emacs_rint, not rint directly.
d6230 7
a6236 1
	* window.c (syms_of_window): Doc fix.
d6238 1
a6238 2
	* fileio.c (Finsert_file_contents): Fix previous change--don't
	call Fboundp on Vset_auto_coding_function, just check non-nil.
d6240 3
a6242 1
1997-09-01  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d6244 1
a6244 3
	* alloc.c (free_float, free_cons): Don't use the same field for
	chaining as for marking.
	(make_float, Fcons, gc_sweep): Corresponding changes.
d6246 1
a6246 1
1997-09-01  Kenichi Handa  <handa@@etl.go.jp>
d6248 2
a6249 1
	* charset.h (LEADING_CODE_PRIVATE_22): Comment fixed.
d6251 1
a6251 3
	* process.c (read_process_output): Index for
	proc_encode_coding_system should be p->outfd (not `channel' which
	is p->infd).
d6253 2
a6254 5
	* fileio.c (Vset_auto_coding_function): Name changed from
	Vauto_file_coding_system.
	(syms_of_fileio): Adjusted for the above change.  Doc change.
	(Finsert_file_contents): The argument for Vset_auto_coding is a
	concatination of the heading 1K-byte and the tailing 3K-byte.
d6256 2
a6257 3
	* cmds.c (internal_self_insert): Only set TARGET_CLM when C2 is tab.
	When multibyte characters are disabled,
	use 1 as the width of the inserted character.
d6259 1
a6259 1
1997-08-31  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d6261 1
a6261 1
	* category.c (describe_category): Handle a sub-chartable.
d6263 1
a6263 1
1997-08-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6265 3
a6267 1
	* sysdep.c (init_system_name): Don't try to use getdomainname.
d6269 2
a6270 1
1997-08-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6272 1
a6272 2
	* dispnew.c (change_frame_size_1): Save current buffer
	around calling Fset_window_buffer.
d6274 1
a6274 1
	* lread.c (Fload): Fix doc syntax.
d6276 1
a6276 1
	* m/intel386.h (HAVE_ALLOCA): Do define this, if SOLARIS2.
d6278 1
a6278 1
1997-08-29  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6280 2
a6281 2
	* lread.c (Fload): If FILE arg ends in .el or .elc,
	don't insist on adding a suffix.
d6283 2
a6284 1
1997-08-28  Eli Zaretskii  <eliz@@is.elta.co.il>
d6286 1
a6286 5
	* callproc.c (Fcall_process): Set EOL conversion type to LF when
	binary-process-output is non-nil.
	(Fcall_process_region): binary-process-XXXput only determines EOL
	conversion; if it is nil, convert LF <-> CRLF.  Don't bind
	coding-system-for-read, it is done in Fcall_process.
d6288 3
a6290 1
1997-08-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6292 2
a6293 1
	* alloc.c (free_marker): Call unchain_marker.
d6295 1
a6295 1
1997-08-28  Kenichi Handa  <handa@@etl.go.jp>
d6297 1
a6297 7
	* coding.c (detect_eol): Do not select no-conversion even if EOL
	format of raw-text file is inconsistent.  Just read it by
	raw-text-unix.
	(Fdetect_coding_region): Do not select no-conversion even if EOL
	format of raw-text file is inconsistent.
	
1997-08-28  Kenichi Handa  <handa@@etl.go.jp>
d6299 2
a6300 16
	* coding.c (Qno_conversion, Qundecided): New variables.
	(syms_of_coding): Initialize and staticpro them.
	(coding_category_name): Include "coding-category-raw-test".
	(setup_coding_system): Handle coding_type_raw_text.
	(detect_coding_mask): Include CODING_CATEGORY_MASK_RAW_TEXT in the
	return value instead of CODING_CATEGORY_MASK_BINARY.
	(detect_coding): Do not check the case that `mask' is 0, which
	never happens now.
	(detect_eol_type): If EOL format is inconsistent, return
	CODING_EOL_INCONSISTENT.
	(detect_eol): If EOL format of raw-text file is inconsistent,
	detect it as no-conversion.
	(decode_coding): Handle coding_type_raw_text.
	(encode_coding): Likewise.
	(Fdetect_coding_region): Ajusted for the above changes.
	(shrink_conversion_area): Handle coding_type_raw_text.
d6302 1
a6302 6
	* coding.h (coding_type): New member coding_type_raw_text.
	(CODING_EOL_INCONSISTENT): New macro.
	(CODING_REQUIRE_NO_CONVERSION): Check also coding_type_raw_text.
	(CODING_MAY_REQUIRE_NO_CONVERSION): Likewise.
	(CODING_CATEGORY_IDX_RAW_TEXT): New macro.
	(CODING_CATEGORY_MASK_RAW_TEXT): New macro.
d6304 1
a6304 1
1997-08-28  Eli Zaretskii  <eliz@@psilocin.gnu.ai.mit.edu>
d6306 2
a6307 2
	* msdos.c: Add coding: tag, to prevent Emacs from interpreting
	binary strings.
d6309 1
a6309 1
1997-08-27  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6311 1
a6311 1
	* xmenu.c (free_frame_menubar): Clear menubar_height field.
d6313 2
a6314 1
1997-08-26  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d6316 2
a6317 2
	* xdisp.c (redisplay_window): When trying to scroll conservatively,
	correctly take the scroll margin into account.
d6319 1
a6319 2
	* buffer.c: Include errno.h.
	(init_buffer) [HAVE_GETCWD]: Fix error message for getcwd failure.
d6321 1
a6321 1
	* fileio.c (Finsert_file_contents): Fix use of Fboundp.
d6323 1
a6323 1
	* fns.c (concat): Fix use of Fchar_bytes.
d6325 2
a6326 1
	* lisp.h: Declare Fchar_bytes.
d6328 1
a6328 1
1997-08-26  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6330 2
a6331 2
	* minibuf.c (read_minibuf): Inherit enable-multibyte-characters
	along with the input method, if requested.
d6333 1
a6333 1
1997-08-26  Eli Zaretskii  <eliz@@is.elta.co.il>
d6335 1
a6335 2
	* xdisp.c (decode_mode_spec): For %Z and %z, put keyboard and
	terminal coding systems into modeline on MSDOS frames as well.
d6337 2
a6338 1
1997-08-26  Kenichi Handa  <handa@@etl.go.jp>
d6340 2
a6341 12
	* minibuf.c (Qcurrent_input_method, Qactivate_input_method): New vars.
	(syms_of_minibuf): Intern and staticpro them.
	(read_minibuf): New argument INHERIT_INPUT_METHOD.  If it is
	nonzero, remember the current input method in INPUT_METHOD, and
	activate it after switching to the minibuffer.
	(Fread_from_minibuffer): New argument INHERIT_INPUT_METHOD.
	(Fread_minibuffer): Call read_minibuf with INHERIT_INPUT_METHOD nil.
	(Fread_string): New argument INHERIT_INPUT_METHOD.
	(Fread_no_blanks_input): Likewise.
	(Fread_command): Call Fcompleting_read with INHERIT_INPUT_METHOD nil.
	(Fread_function, Fread_variable, Fread_buffer): Likewise
	(Fcompleting_read): New argument INHERIT_INPUT_METHOD.
d6343 2
a6344 3
	* lisp.h (DEFUN_ARGS_8): New macro.
	(Fcompleting_read, Fread_from_minibuffer, Fread_string,
	Fread_no_blanks_input): Number of arguments fixed.
d6346 1
a6346 2
	* eval.c (Feval): Handle a subr which takes 8 arguments.
	(Ffuncall): Likewise.
d6348 1
a6348 3
	* coding.c (Fread_non_nil_coding_system): Supply the arg
	INHERIT-INPUT-METHOD to Fcompleting_read.
	(Fread_coding_system): Likewise.
d6350 5
a6354 4
	* callint.c (Finteractive): Document the code letter `M'.
	(Fcall_interactively): Call Fcompleting_read,
	Fread_from_minibuffer, and Fread_string with a proper value for
	the arg INHERIT-INPUT-METHOD.  Handle the code letter `M'.
d6356 5
a6360 4
	* fileio.c (Fwrite_region): Convert EOL format even if
	enable-multibyte-characters is nil.
	(Fread_file_name): Call Fcompleting_read with INHERIT-INPUT-METHOD
	nil.
d6362 2
a6363 2
	* keyboard.c (Fexecute_extended_command): Call Fread_from_minibuffer
	with INHERIT-INPUT-METHOD nil.
d6365 4
a6368 1
	* fns.c (Fyes_or_no_p): Likewise.
d6370 8
a6377 2
	* mocklisp.c (Fml_arg): Call Fread_string with
	INHERIT-INPUT-METHOD nil.
d6379 1
a6379 3
	* search.c (Fsearch_backward): Inherit the current input method on
	reading STRING.
	(Fsearch_forward): Likewise.
d6381 1
a6381 1
1997-08-25  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6383 6
a6388 1
	* frame.c (Fframe_pixel_height): Doc fix.
d6390 3
a6392 1
	* Makefile.in (emacs): Put dash at beginning.
d6394 2
a6395 1
1997-08-24  NIIBE Yutaka  <gniibe@@mri.co.jp>
d6397 1
a6397 1
	* Makefile.in (xrdb.o): Depend on paths.h.
d6399 2
a6400 1
1997-08-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6402 1
a6402 4
	* config.in (KERBEROS5, HAVE_LIBKRB4, HAVE_LIBDES425, HAVE_LIBKRB5)
	(HAVE_LIBCRYPTO, HAVE_LIBCOM_ERR, HAVE_KRB5_H, HAVE_DES_H, HAVE_KRB_H)
	(HAVE_KERBEROSIV_DES_H, HAVE_KERBEROSIV_KRB_H, HAVE_KERBEROS_DES_H)
	(HAVE_KERBEROS_KRB_H, HAVE_COM_ERR_H): Add undefs.
d6404 1
a6404 2
	* callproc.c (init_callproc): Don't warn about missing
	arch-dep data directory, while preparing to dump.
d6406 1
a6406 1
	* puresize.h (BASE_PURESIZE): Increased by 10k.
d6408 1
a6408 1
1997-08-22  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6410 3
a6412 3
	* Makefile.in (LIB_MOTIF_EXTRA): New variable.
	(LIBW): Use LIB_MOTIF_EXTRA.
	* config.in (HAVE_MOTIF_2_1): Add #undef.
d6414 1
a6414 1
	* fileio.c (Fmake_temp_name): Doc fix.
d6416 1
a6416 1
	* buffer.c (syms_of_buffer): Doc fixes.
d6418 1
a6418 1
1997-08-21  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d6420 2
a6421 2
	* xdisp.c (redisplay_window): Don't try using last_point_x
	if point is in the left margin of an hscroll'ed window.
d6423 2
a6424 1
1997-08-21  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>
d6426 3
a6428 1
	* fileio.c (syms_of_fileio): Fix previous change.
d6430 4
a6433 2
	* coding.c (detect_eol): If the coding system is an alias, get
	eol-type from the base of it.
d6435 5
a6439 1
1997-08-21  Kenichi HANDA  <handa@@etl.go.jp>
d6441 1
a6441 5
	* fileio.c (Vauto_file_coding_system_function): New variable.
	(Finsert_file_contents): Decide coding system after opening a
	file.  Call functions set in Vauto_file_coding_system_function.
	(syms_of_fileio): Declare auto-file-coding-system-function as a
	Lisp variable.
d6443 2
a6444 6
	* fontset.c (Valternate_fontname_alist): Name changed from
	Valternative_fontname_alist.
	(syms_of_fontset): Adjusted for the above change.
	
	* fontset.h: Adjusted for the name change of
	Valternate_fontname_alist.
d6446 3
a6448 2
	* xterm.c (x_list_fonts): Adjusted for the name change of
	Valternate_fontname_alist.
d6450 2
a6451 1
1997-08-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6453 1
a6453 1
	* charset.c (Fchars_in_region): Fix gap handling.
d6455 2
a6456 1
	* editfns.c (NULL): Define, if not defined.
d6458 1
a6458 1
1997-08-19  Geoff Voelker  <voelker@@cs.washington.edu>
d6460 1
a6460 1
	* fileio.c (Finsert_file_contents): Fix previous change.
d6462 1
a6462 1
1997-08-18  Ken'ichi Handa  <handa@@albert.gnu.ai.mit.edu>
d6464 1
a6464 3
	* charset.c (Fchars_in_region): Renamed form Fcount_chars_region.
	(syms_of_charset): Define Schars_in_region as a Lisp subroutine
	instead of Scount_chars_region.
d6466 1
a6466 1
1997-08-17  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6468 2
a6469 1
	* fileio.c (Fdo_auto_save): If open fails, make lispstream nil.
d6471 1
a6471 1
1997-08-16  Geoff Voelker  <voelker@@cs.washington.edu>
d6473 2
a6474 2
	* fileio.c (Finsert_file_contents) [DOS_NT]: Set buffer_file_type
	according to eol conversion used on file.
d6476 7
a6482 1
1997-08-16  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6484 1
a6484 1
	* Makefile.in (xselect.o): Fix previous change.
d6486 2
a6487 3
	* minibuf.c (read_minibuf): New arg disable_multibyte.
	(Fcompleting_read): Pass 1 for disable_multibyte if
	the completion table is read-file-name-internal.
d6489 1
a6489 2
	* xrdb.c: Include paths.h.
	(get_system_app): Use PATH_X_DEFAULTS.
d6491 3
a6493 1
	* paths.in (PATH_X_DEFAULTS): New macro.
d6495 1
a6495 1
	* term.c (term_get_fkeys_1): Use kH as alternate for move-to-last-line.
d6497 3
a6499 3
	* charset.c: Many doc fixes.
	(Fcount_chars_region): New function.
	(min, max): New macros.
d6501 1
a6501 1
	* fns.c (Flength): Doc fix.
d6503 2
a6504 1
	* editfns.c (Fchar_before): Do range check before decrement.
d6506 1
a6506 1
1997-08-16  Kenichi Handa  <handa@@etl.go.jp>
d6508 3
a6510 1
	* coding.h (CODING_FLAG_ISO_LATIN_EXTRA): New macro.
d6512 1
a6512 8
	* coding.c (Vmicrosoft_code_table): This variable deleted.
	(Vlatin_extra_code_table): New variable.
	(detect_coding_iso2022): Pay attention to Vlatin_extra_code_table.
	(detect_coding_mask): Likewise.
	(setup_coding_system): Handle a new FLAGS element
	ACCEPT-LATIN-EXTRA-CODE.
	(syms_of_coding): Delete code for Vmicrosoft_code_table.
	Declare latin-extra-code-table as Lisp variable, and initialize.
d6514 2
a6515 1
1997-08-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6517 2
a6518 1
	* Makefile.in (xselect.o): Depend on coding.h.
d6520 4
a6523 1
	* s/osf1.h (SOCKLEN_TYPE): New macro definition.
d6525 1
a6525 1
1997-08-14  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d6527 4
a6530 4
	* xdisp.c (COERCE_MARKER): Use Fmarker_position instead of
	marker_position so that it works with a marker that points nowhere.
	(redisplay_window): Check that Voverlay_arrow_position is a
	marker before accessing it as such.
d6532 1
a6532 1
1997-08-14  Eli Zaretskii  <eliz@@is.elta.co.il>
d6534 1
a6534 2
	* emacs.c (main): Update re_max_failures so regex.c won't overflow
	the stack, except when dumping.
d6536 6
a6541 1
1997-08-13  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6543 1
a6543 4
	* xdisp.c (redisplay_window): When handling just cursor motion,
	do not subtract hscroll when accessing last_point_x.
	(display_text_line): Add WINDOW_LEFT_MARGIN into hpos
	later on, after handling hscroll and minibuffer prompt.
d6545 1
a6545 1
1997-08-13  Eli Zaretskii  <eliz@@psilocin.gnu.ai.mit.edu>
d6547 1
a6547 2
	* msdos.c (syms_of_msdos): Define and bind x-bitmap-file-path and
	delete-exited-processes, to prevent cus-start.el from complaining.
d6549 1
a6549 1
1997-08-13  Kazushi (Jam) Marukawa  <maru@@pdapsun2.trc.rwcp.or.jp>
d6551 1
a6551 2
	* filelock.c (lock_file): Use %lu instead of %d in sprintf because
	the variable named pid is unsigned long.
d6553 1
a6553 1
	* unexalpha.c (unexec): Cast arg to fprintf.
d6555 1
a6555 1
1997-08-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6557 1
a6557 1
	* alloc.c (free_marker): New function.
d6559 1
a6559 2
	* insdel.c (signal_before_change): Relocate START and END
	using markers for subsequent functions, when we run a function.
d6561 1
a6561 1
	* Makefile.in (emacs): Warn about shadowed standard libraries here.
d6563 1
a6563 1
1997-08-11  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6565 1
a6565 1
	* emacs.c (main): Fix previous change.
d6567 12
a6578 1
1997-08-11 +03  Eli Zaretskii  <eliz@@is.elta.co.il>
d6580 2
a6581 2
	* dosfns.c (init_dosfns): Avoid calling DOS memory-allocation
	service, NT DPMI server will crash Emacs in DOS box, if we do.
d6583 1
a6583 2
	* msdos.c (IT_set_frame_parameters): Actually store the frame
	parameters in the frame parameters' alist.
d6585 3
a6587 4
	* msdos.c (init_environment): Set Emacs root directory properly when
	the executable is in its `src' subdirectory, as under a debugger.
	(IT_set_face): If termscript is in use, print the number of the
	face as well.
d6589 1
a6589 1
1997-08-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6591 1
a6591 1
	* emacs.c (main) [__FreeBSD__ && PROFILING]: Add code for profiling.
d6593 1
a6593 1
1997-08-10  Eli Zaretskii  <eliz@@is.elta.co.il>
d6595 2
a6596 1
	* msdos.c (Qbackground_color, Qforeground_color): Define vars.
d6598 1
a6598 2
	* dosfns.c (Finsert_startup_screen): Call `insert_char' with a
	single argument.
d6600 2
a6601 1
1997-08-10  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>
d6603 1
a6603 2
	* coding.h (struct iso2022_spec): New member expected_charsets.
	(CODING_SPEC_ISO_EXPECTED_CHARSETS): New macro.
d6605 2
a6606 5
	* coding.c (Fset_terminal_coding_system_internal): Set
	CODING_FLAG_ISO_SAFE in terminal_coding.flags.
	(ENCODE_ISO_CHARACTER_DIMENSION1): Check
	CODING_SPEC_ISO_EXPECTED_CHARSETS.
	(ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
d6608 1
a6608 1
1997-08-10  Kenichi Handa  <handa@@etl.go.jp>
d6610 2
a6611 3
	* term.c (encode_terminal_code): Use safe_terminal_coding if
	terminal_coding seems to encode Emacs' internal code as is.
	(write_glyphs): Likewise.
d6613 1
a6613 8
	* coding.c (ENCODE_ISO_CHARACTER_DIMENSION1): Pay attention to
	CODING_FLAG_ISO_SAFE.
	(ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
	(safe_terminal_coding): New variable.
	(Fset_safe_terminal_coding_system_internal): New function.
	(init_coding_once): Initilize safe_terminal_coding.
	(syms_of_coding): Declare set-safe-terminal-coding-system as a
	Lisp function.
d6615 1
a6615 3
	* coding.h (CODING_FLAG_ISO_SAFE): New macro.
	(CODING_INHIBIT_CHARACTER_SUBSTITUTION): New macro.
	coding.h (safe_terminal_coding): Extern it.
d6617 2
a6618 1
1997-08-10  Kenichi Handa  <handa@@etl.go.jp>
d6620 1
a6620 3
	* coding.c (Vmicrosoft_code_table): New variable.
	(syms_of_coding): Declare it as a Lisp variable and initialize it.
	(detect_coding_mask): Pay attention to Vmicrosoft_code_table.
d6622 9
a6630 2
	* xterm.c (dumpglyphs): Pay attention to
	Vignore_relative_composition.
d6632 2
a6633 1
	* fontset.h (Vignore_relative_composition): Extern it.
d6635 1
a6635 3
	* fontset.c (Vignore_relative_composition): New variable.
	(syms_of_fontset): Doc-string of use-default-ascent modified.
	Declare ignore-relative-composition as a Lisp variable.
d6637 2
a6638 2
	* fns.c (concat): Pay attention to multibyte characters when
	TARGET_TYPE is Lisp_String.
d6640 1
a6640 1
1997-08-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6642 1
a6642 1
	* sysdep.c (init_system_name): If domain is null, don't add a period.
d6644 1
a6644 1
1997-08-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6646 1
a6646 1
	* buffer.c (init_buffer): Use getcwd instead of getwd, if available.
d6648 4
a6651 1
	* eval.c (do_autoload): Require a suffix for the file.
d6653 1
a6653 1
	* lread.c (read1): Handle read_escape making a multibyte character.
d6655 3
a6657 1
	* strftime.c (gmtime_r, localtime_r): Undef before defining.
d6659 1
a6659 2
	* fns.c (Frequire): Don't insist on a suffix
	if the file name argument was explicitly specified.
d6661 1
a6661 1
1997-08-07  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d6663 1
a6663 1
	* Makefile.in (lisp, shortlisp): Add bindings.el and case-table.elc.
d6665 2
a6666 1
	* xdisp.c (redisplay_window): Fix access to w->last_point{,_[xy]}.
d6668 1
a6668 2
	* lisp.h (Flocal_variable_p, Ffind_operation_coding_system): Declared.
	(find_symbol_value): Fix declaration.
d6670 1
a6670 1
1997-08-07  Erik Naggum  <erik@@naggum.no>
d6672 6
a6677 3
	* emacs.c (main): Remove call to init_filelock.
	* filelock.c (init_filelock): Function deleted.
	* paths.in (PATH_LOCK): Definition deleted.
d6679 2
a6680 1
1997-08-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6682 1
a6682 1
	* xrdb.c (X_DEFAULT_SEARCH_PATH): Add /usr/X11R6/lib alternatives.
d6684 1
a6684 2
	* editfns.c (Fwiden, Fnarrow_to_region, save_restriction_restore): 
	Don't set clip_changed if the new values are the same as the old.
d6686 1
a6686 2
	* fileio.c (Fwrite_region): Turn off the feature of checking
	whether another buffer has locked this file.
d6688 1
a6688 6
	* xdisp.c (COERCE_MARKER): New macro.
	(redisplay_internal): Coerce Voverlay_arrow_position to a number
	to record it in last_arrow_position.
	(mark_window_display_accurate, redisplay_window): Likewise.
	(redisplay_window): Don't do the "only point has change" optimization
	if the overlay arrow is in this buffer.
d6690 1
a6690 1
1997-08-06  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6692 1
a6692 1
	* unexelf.c (unexec): Cast 1st arg in mmap calls.
d6694 1
a6694 2
	* sysdep.c (init_sys_modes) [mips || HAVE_TCATTR]:
	Handle flow_control by setting VSTART and VSTOP characters.
d6696 2
a6697 1
	* filelock.c (lock_file_1, lock_file): Add casts.
d6699 2
a6700 1
	* xselect.c (syms_of_xselect): Doc syntax fixes.
d6702 1
a6702 1
	* coding.c (syms_of_coding): Doc syntax fixes.
d6704 4
a6707 1
	* xdisp.c (redisplay_internal): Count only visible frames at first.
d6709 2
a6710 1
	* xdisp.c (redisplay_internal): Count all visible frames in new_count.
d6712 1
a6712 1
1997-08-05  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>
d6714 1
a6714 1
	* coding.c (detect_eol_type): Fix previous change.
d6716 1
a6716 1
1997-08-05  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6718 4
a6721 1
	* fontset.c (syms_of_fontset): Doc fixes.
d6723 1
a6723 1
1997-08-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6725 1
a6725 2
	* indent.c (current_column): Update ptr differently at newline
	so that current_column_bol_cache is set properly.
d6727 1
a6727 1
1997-08-04  Kenichi Handa  <handa@@etl.go.jp>
d6729 1
a6729 2
	* coding.c (detect_eol_type): If EOL representation does not
	seem consistent, use no conversion.
d6731 2
a6732 2
	* process.c (Fset_process_coding_system): Doc-string modified.
	(Fprocess_coding_system): Likewise.
d6734 1
a6734 2
	* callproc.c (Fcall_process_region): Use cdr part (not car part)
	of Vdefault_process_coding_system for writing out text.
d6736 1
a6736 4
	* coding.c (detect_coding_iso2022): Do not exclude posibility of
	7-bit encoding when designation to G1 occurs.  If CSI, SS2, or SS3
	is found, return CODING_CATEGORY_MASK_ISO_8_ELSE.
	(Fdetect_coding_region): Doc-string modified.
d6738 1
a6738 1
1997-08-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6740 2
a6741 4
	* xfaces.c (merge_face_list): New function.
	(compute_char_face): Use merge_face_list.
	Allow (foreground-color . COLOR) and (background-color . COLOR)
	in place of a face.
d6743 1
a6743 1
1997-08-03  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6745 7
a6751 2
	* m/intel386.h (HAVE_ALLOCA): Don't define this
	on USG5_4 if not using GNU C.
d6753 2
a6754 2
	* xdisp.c (redisplay_internal): Count number of visible frames
	instead of number of frames that were redisplayed.
d6756 3
a6758 2
	* m/ibmrs6000.h (LD_SWITCH_MACHINE):
	Add #ifdef emacs around all the definitions of this.
d6760 1
a6760 1
	* lisp.h (Fload): Update declaration.
d6762 3
a6764 1
1997-08-03  Kenichi HANDA  <handa@@etl.go.jp>
d6766 1
a6766 1
	* coding.h (CODING_CATEGORY_MASK_BINARY): New macro.
d6768 1
a6768 3
	* coding.c (detect_coding_mask): Include
	CODING_CATEGORY_MASK_BINARY in the return value if any 8-bit code
	is found.
d6770 1
a6770 2
	* xfns.c (x_set_frame_parameters): Heading comment fixed.
	(x_default_parameter): Likewise.
d6772 1
a6772 7
	* xselect.c (Vclipboard_coding_system): New variable.
	(selection_data_to_lisp_data): Decode text by
	Vclipboard_coding_system.
	(lisp_data_to_selection_data): Encode text by
	Vclipboard_coding_system.
	(syms_of_xselect): Declare clipboard-coding-system as Lisp
	variable and initialize it.
d6774 1
a6774 1
1997-08-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6776 1
a6776 5
	* coding.c: Doc fixes.
	
	* lread.c (Fload): New optional arg MUST-SUFFIX.
	* fns.c (Frequire): Pass t for the MUST-SUFFIX arg to Fload.
	* eval.c (do_autoload): Pass new arg to Fload.
d6778 1
a6778 2
	* indent.c (compute_motion): Correct the criterion for when to
	move back 1 space when we terminate just after continuing the line.
d6780 2
a6781 1
1997-07-31  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>
d6783 1
a6783 5
	* coding.c (encode_coding_iso2022): When source data ends not at
	character boundardy, set data in coding->carryover correctly, and
	set SRC to SRC_END.
	(encode_coding_sjis_big5): Likewise.
	(encode_coding): Don't set coding->carryover_size to 0.
d6785 2
a6786 1
	* fileio.c (Fwrite_region): Don't try to flush out a data twice.
d6788 2
a6789 1
1997-07-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6791 1
a6791 1
	* xdisp.c (redisplay_window): Fix previous change.
d6793 2
a6794 1
	* dispnew.c (direct_output_for_insert): Set last_point_x properly.
d6796 1
a6796 1
1997-07-31  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>
d6798 4
a6801 1
	* xterm.c (x_list_fonts): Request at least 10 fonts by XListFonts.
d6803 3
a6805 4
	* coding.c (encode_coding_iso2022): Write out invalid multibyte
	forms in a buffer as is.
	(detect_coding_mask): If ISO_CODE_CSI appears in an invalid
	sequence, ignore it.
d6807 1
a6807 1
1997-07-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6809 3
a6811 2
	* xdisp.c (redisplay_window): Fix one-off in handling
	scroll-conservatively for scrolling up.
d6813 1
a6813 2
	* filelock.c (current_lock_owner): Don't try to delete lock
	if this or another existing process owns it!
d6815 3
a6817 1
1997-07-31  enami tsugutomo  <enami@@but-b.or.jp>
d6819 2
a6820 3
	* process.c (read_process_output): Don't call setup_coding_system
	for proc_decode_coding_system[channel].  It is already done in
	detect_coding called via decode_coding.
d6822 1
a6822 1
1997-07-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6824 1
a6824 1
	* filelock.c (lock_if_free): Don't loop; for strange error, return -1.
d6826 1
a6826 1
	* s/sunos4shr.h (LIBXMU): Alternative definition if CANNOT_DUMP.
d6828 2
a6829 1
	* Makefile.in (LDFLAGS, CPPFLAGS): Get them from configure like CFLAGS.
d6831 2
a6832 1
1997-07-29  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6834 6
a6839 2
	* process.c (wait_reading_process_input): Call detect_input_pending
	whenever read_kbd is 0, not just when wait_for_cell.
d6841 2
a6842 2
	* xdisp.c (decode_mode_spec_coding): If multibyte chars disabled.
	display only the eol flag.
d6844 2
a6845 1
1997-07-29  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>
d6847 5
a6851 3
	* xterm.c (x_list_fonts): Reject a font whose min_bounds.width is 0.
	
1997-07-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6853 1
a6853 1
	* emacs.c (sort_args): Check properly for `--'.
d6855 1
a6855 1
	* xdisp.c (redisplay_window): Fix previous change.
d6857 1
a6857 2
	* cm.h, sysdep.c, terminfo.c [HAVE_LIBNCURSES]:
	Declare ospeed as short, unless NCURSES_OSPEED_T.
d6859 2
a6860 3
	* xdisp.c (redisplay_window): When text has not changed,
	call compute_motion starting from the former PT if possible.
	If PT is unchanged from w->last_point, don't do compute_motion at all.
d6862 3
a6864 1
1997-07-28  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d6866 2
a6867 3
	* editfns.c (Fformat_time_string): Don't hang if strftime produces
	an empty string.  Fix arguments of second call to strftime.
	Remove check for result being negative, this cannot happen.
d6869 2
a6870 3
	* xterm.c (x_new_font): Follow the change in
	x_set_scroll_bar_width and make the scroll bar at least 14 pixels
	wide.
d6872 2
a6873 1
	* xfns.c (Fx_create_frame): Initialize fontset in output_data.
d6875 3
a6877 1
1997-07-28  Dan Nicolaescu  <done@@ece.arizona.edu>
d6879 3
a6881 1
	* charset.c (non_ascii_char_to_string): Fix typos.
d6883 2
a6884 1
1997-07-27  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6886 3
a6888 2
	* callproc.c (syms_of_callproc):
	Don't init Vtemp_file_name_pattern here.
d6890 4
a6893 2
	* lread.c (map_obarray): Don't crash if something strange
	is in the obarray.
d6895 4
a6898 1
1997-07-26  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6900 2
a6901 2
	* xterm.c (x_term_init) [! HAVE_X11R5]: Don't try to use
	XtCvtStringToFont.
d6903 2
a6904 1
	* print.c (strout, printchar): Handle minibuffer_auto_raise.
d6906 2
a6907 1
1997-07-25  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d6909 5
a6913 1
	* fileio.c (Fwrite_region): Fix previous change.
d6915 10
a6924 1
1997-07-25  NIIBE Yutaka  <gniibe@@mri.co.jp>
d6926 42
a6967 2
	* indent.c (compute_motion): Handle display table correctly for
	multibyte characters.
d6969 3
a6971 1
1997-07-25  Ken'ichi Handa  <handa@@psilocin.gnu.ai.mit.edu>
d6973 103
a7075 2
	* fontset.c (syms_of_fontset): Set Vhighlight_wrong_size_font to
	Qnil.
d7077 1
a7077 4
	* coding.h (CODING_REQUIRE_TEXT_CONVERSION,
	CODING_REQUIRE_EOL_CONVERSION, CODING_REQUIRE_CONVERSION): Deleted.
	(CODING_REQUIRE_NO_CONVERSION): New macro.
	(CODING_MAY_REQUIRE_NO_CONVERSION): New macro.
d7079 1
a7079 4
	* fileio.c (Finsert_file_contents): Use new macros
	CODING_MAY_REQUIRE_NO_CONVERSION and
	CODING_MAY_REQUIRE_NO_CONVERSION.
	(Fwrite_region): Correct the logic for deciding coding system.
d7081 8
a7088 3
	* process.c (read_process_output): Use new macro
	CODING_REQUIRE_NO_CONVERSION
	(send_process): Use new macro CODING_MAY_REQUIRE_NO_CONVERSION.
d7090 1
a7090 2
	* xterm.c (dumpglyphs): Check the member `encoding' of *FONTP while
	setting `byte1' and `byte2' members of *CP.
d7092 1
a7092 1
1997-07-24  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7094 1
a7094 1
	* Makefile.in (${lispsource}TAGS): Specify ETAGS var in inner make.
d7096 2
a7097 5
	* print.c (Vprint_gensym_alist): Renamed from printed_gensyms.
	(Vprint_gensym): Now a Lisp_Object; Renamed from print_gensym.
	(syms_of_print): Set up both as Lisp vars.
	(PRINTPREPARE, PRINTFINISH): Don't clear Vprint_gensym_alist
	if Vprint_gensym is a cons cell.
d7099 1
a7099 1
	* Makefile.in (../src/$(OLDXMENU)): New target.
d7101 1
a7101 2
	* xselect.c (selection_data_to_lisp_data):
	Make the vector the right size, when format is 16.
d7103 1
a7103 1
	* emacs.c (main): Make --help msg end in newline.
d7105 5
a7109 1
	* xfns.c (Fx_create_frame): Don't fail to initialize `font'.
d7111 2
a7112 2
	* syntax.c (Fforward_comment): When count1 is negative,
	return nil if FROM reaches STOP.
d7114 1
a7114 2
	* editfns.c (Fcurrent_message): New function.
	(syms_of_editfns): defsubr it.
d7116 2
a7117 1
1997-07-23  Marcus G. Daniels  <marcus@@cathcart.sysc.pdx.edu>
d7119 1
a7119 2
	* xterm.c (XTread_socket): Trap the BadMatch error that can occur
	after a XSetInputFocus if window is not visible.
d7121 2
a7122 1
1997-07-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7124 1
a7124 2
	* xterm.c (XTread_socket) <ClientMessage>: Use FRAME_X_WINDOW
	when calling XSetInputFocus.
d7126 4
a7129 1
	* buffer.c (syms_of_buffer): Doc fix.
d7131 4
a7134 1
	* eval.c (syms_of_eval): Doc fix.
d7136 2
a7137 1
1997-07-22  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7139 2
a7140 2
	* xdisp.c (display_text_line): Don't count minibuf_prompt_width
	twice in taboffset.
d7142 5
a7146 1
	* coding.c (syms_of_coding): Doc fix.
d7148 1
a7148 1
1997-07-21  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7150 2
a7151 2
	* s/sol2.h (LIBS_SYSTEM): Undo previous change.
	(HAVE_LIBKSTAT): Define it.
d7153 35
a7187 3
	* minibuf.c (choose_minibuf_frame_1): New function.
	(read_minibuf): Make an unwind protect to run that.
	(read_minibuf_unwind): Don't call choose_minibuf_frame here.
d7189 2
a7190 5
	* keyboard.c (read_char): Delete spurious UNGCPRO.
	Add UNGCPRO before the longjmps to wrong_kboard_jmpbuf.
	Initialize c before the GCPRO1.
	
	* frame.c (Fdelete_frame): Undo previous change.
d7192 1
a7192 6
	* s/hpux8.h (LD_SWITCH_SYSTEM_TEMACS): Define this
	instead of LD_SWITCH_SYSTEM.
	
	* window.c (set_window_height): Allow all heights > 0
	for minibuffer windows.
	(change_window_height): Fix one-off comparing DELTA with MAXIMUM.
d7194 2
a7195 2
	* xfns.c (Fx_create_frame): Default vertical-scroll-bars
	as symbol, not boolean.
d7197 1
a7197 1
1997-07-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7199 1
a7199 2
	* process.c (wait_reading_process_input): Initialize total_read.
	Check for read_process_output giving back EIO.
d7201 3
a7203 1
	* keyboard.c (Fcommand_execute): gcpro c.
d7205 1
a7205 1
1997-07-20  Geoff Voelker  <voelker@@cs.washington.edu>
d7207 2
a7208 1
	* w32term.c (w32_clear_end_of_line): Include scroll bar width.
d7210 1
a7210 1
1997-07-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7212 1
a7212 1
	* s/irix6-0.h: Undo previous change.
d7214 3
a7216 2
	* xterm.c (XTread_socket) <ClientMessage>:
	Don't use FRAME_XIC if it is null, here.
d7218 2
a7219 1
	* puresize.h (BASE_PURESIZE): Increased to 410000.
d7221 2
a7222 2
	* xdisp.c (redisplay_internal): Calculate new_count properly
	for non-window displays.
d7224 1
a7224 1
1997-07-18  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7226 2
a7227 1
	* minibuf.c (Fcompleting_read): gcpro def.
d7229 1
a7229 2
	* xterm.c (XTread_socket) <ClientMessage>:
	For wm_take_focus, use x_any_window_to_frame.
d7231 1
a7231 2
	* fileio.c (Fread_file_name): If Fcompleting_read return the default
	because the buffer want empty, replace that with an empty string.
d7233 1
a7233 1
1997-07-18  Simon Marshall  <simon@@diazepam.gnu.ai.mit.edu>
d7235 1
a7235 1
	* data.c: Many doc fixes.
d7237 1
a7237 1
1997-07-17  Geoff Voelker  <voelker@@cs.washington.edu>
d7239 1
a7239 2
	* coding.c (Ffind_operation_coding_system): Use Ffboundp to
	check for a function entry.
d7241 2
a7242 5
	* fileio.c (Finsert_file_contents) [DOS_NT]: Use the coding
	system to determine buffer_file_type.
	(Fwrite_region): Only use Qbuffer_file_coding_system
	before checking file-coding-system-alist if non-nil.
	(Fwrite_region) [DOS_NT]: Delete conditional code.
d7244 1
a7244 1
1997-07-17  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d7246 1
a7246 2
	* dispnew.c (direct_output_forward_char): Reenable check against
	truncated text at end of line.
d7248 2
a7249 2
	* xdisp.c (display_string): Ignore W->left if OBEY_WINDOW_WIDTH is
	zero.
d7251 1
a7251 1
1997-07-17  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7253 1
a7253 2
	* xterm.c (dumpglyphs): Use 8-bit output to X, rather than 16-bit,
	if the character values permit that.
d7255 3
a7257 1
	* .gdbinit (xcar, xcdr): Print with /x.
d7259 2
a7260 1
	* fileio.c (Fdo_auto_save): Temporarily clear minibuffer_auto_raise.
d7262 1
a7262 1
1997-07-17  enami tsugutomo  <enami@@but-b.or.jp>
d7264 1
a7264 2
	* xdisp.c (decode_mode_spec_coding): Fix typo; use `val' instead
	of `coding-system'.
d7266 1
a7266 1
1997-07-15  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d7268 2
a7269 2
	* xdisp.c (display_text_line): Handle the case of point being in
	the invisible part of the line beyond the left margin.
d7271 1
a7271 1
1997-07-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7273 1
a7273 1
	* syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Fix previous change.
d7275 1
a7275 1
1997-07-15  Kenichi HANDA  <handa@@etl.go.jp>
d7277 4
a7280 7
	* coding.h (CODING_CATEGORY_IDX_ISO_7_ELSE): This macro is deleted
	(CODING_CATEGORY_IDX_ISO_7_ELSE): New macro.
	(CODING_CATEGORY_IDX_ISO_8_ELSE): New macro
	(CODING_CATEGORY_MASK_ISO_ELSE): This macro is deleted.
	(CODING_CATEGORY_MASK_ISO_7_ELSE): New macro.
	(CODING_CATEGORY_MASK_ISO_8_ELSE): New macro.
	(CODING_CATEGORY_MASK_ANY): Adjusted for the above change.
d7282 1
a7282 2
	* coding.c (detect_coding_iso2022): Distinguish
	coding-category-iso-7-else and coding-category-iso-8-else.
d7284 1
a7284 1
1997-07-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7286 1
a7286 2
	* unexalpha.c (unexec):
	Don't call update_dynamic_symbols if static link.
d7288 3
a7290 2
	* keyboard.c (read_char): Call timer_stop_idle unconditionally
	at non_reread.
d7292 1
a7292 1
	* keyboard.c (make_lispy_event): Distinguish S-SPC from SPC.
d7294 4
a7297 2
	* cmds.c (internal_self_insert): Use replace_range when
	number_to_delete is nonzero.
d7299 2
a7300 1
	* insdel.c (replace_range): New function.
d7302 1
a7302 2
	* keyboard.c (make_lispy_event): Handle non_ascii_keystroke
	in the ASCII range.
d7304 4
a7307 1
	* xterm.c (XTread_socket): Treat SPC as a function key.
d7309 1
a7309 1
1997-07-13  Marcus G. Daniels  <marcus@@cathcart.sysc.pdx.edu>
d7311 1
a7311 2
	* xterm.c (x_draw_box): Use scratch_cursor_gc to draw the cursor
	box using the color specified by cursor_pixel.
d7313 1
a7313 1
1997-07-13  Eli Zaretskii  <eliz@@is.elta.co.il>
d7315 2
a7316 2
	* fileio.c (Fwrite_region) [DOS_NT]: Always use binary mode since
	coding conversion now takes care of NL -> CRLF.
d7318 1
a7318 2
	* callproc.c (Fcall_process) [MSDOS]: Request EOL conversion of
	the process output, unless we were promised it is binary.
d7320 4
a7323 1
	* coding.c: Substantial comment changes.
d7325 1
a7325 3
	* lread.c (init_lread): Don't add to load-path lisp subdirectories
	of the source tree if the parent of the source was moved after
	dumping Emacs.
d7327 4
a7330 1
1997-07-13  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7332 2
a7333 1
	* search.c (compile_pattern_1): Don't declare val with CONST.
d7335 2
a7336 2
	* cmds.c (internal_self_insert): When overwriting, insert first
	and then delete.
d7338 1
a7338 1
1997-07-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7340 1
a7340 1
	* s/irix4-0.h (XPointer): Define as macro.
d7342 1
a7342 1
	* emacs.c (main): Use setrlimit only if RLIMIT_STACK.
d7344 1
a7344 1
1997-07-11  Marcus G. Daniels  <marcus@@cathcart.sysc.pdx.edu>
d7346 5
a7350 2
	* xdisp.c (decode_mode_spec): Initialize and use `p' (for the termcap
	case).
d7352 2
a7353 2
	* dispnew.c (init_display): Go ahead and prepare for
	a X configuration in the CANNOT_DUMP case.
d7355 1
a7355 1
1997-07-11  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d7357 1
a7357 5
	* editfns.c (get_system_name): Don't crash if Vsystem_name does
	not contain a string.
	* filelock.c (lock_file_1): Don't crash if Fuser_login_name or
	Fsystem_name don't return strings.
	(current_lock_owner): Likewise.
d7359 1
a7359 3
	* ralloc.c (r_alloc_reinit): New function.
	* emacs.c (main) [DOUG_LEA_MALLOC]: Call it when restarting a
	dumped Emacs.
d7361 6
a7366 1
1997-07-11  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7368 2
a7369 1
	* m/news-r6.h: Renamed from news-risc6.h.
d7371 1
a7371 1
1997-07-10  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d7373 2
a7374 2
	* xdisp.c (display_text_line): Exit the outer loop immediately
	when the right margin has been reached.
d7376 3
a7378 2
	* lisp.h (EXFUN, P_): New definitions.  Use them to declare
	prototypes for external functions.
d7380 3
a7382 46
	* xterm.c (dumpglyphs): Declare local variable first_ch as
	Lisp_Object, not int.
	* xselect.c (selection_data_to_lisp_data): Convert Fmake_vector
	and Faset arguments to Lisp_Integer.
	(clean_local_selection_data): Likewise.
	* x-list-font.c (Fx_list_fonts): Fix Fnconc argument.
	* window.c (Fcoordinates_in_window_p): Convert Fcons arguments to
	Lisp_Integer.
	(save_window_save): Convert Fset_marker argument to Lisp_Integer.
	* textprop.c (interval_of): Convert args_out_of_range arguments to
	Lisp_Integer.
	* syntax.c (init_syntax_once): Convert Fmake_vector argument to
	Lisp_Integer.
	* process.c (Fprocess_send_region): Convert move_gap argument to int.
	* mocklisp.c (Fml_arg): Add missing Fread_string arguments.
	* minibuf.c (Fread_from_minibuffer): Remove extra get_keymap argument.
	(Fminibuffer_complete): Convert Fset_window_start argument to
	Lisp_Integer.
	* keyboard.c (command_loop_1): Add missing message2 argument.
	(menu_bar_items): Add missing get_keyelt argument.
	(follow_key): Likewise.
	(read_key_sequence): Likewise.
	* intervals.c (set_point): Convert call2 arguments to Lisp_Integer.
	* fileio.c (Fwrite_region): Fix call2 argument.
	(Fread_file_name): Convert Fcons argument to Lisp_Integer.
	* editfns.c (Fcurrent_time_zone): Convert Fmake_list argument to
	Lisp_Integer.
	(Ftranspose_regions): Convert Fset_text_properties arguments to
	Lisp_Integer.
	* doc.c (Fsubstitute_command_keys): Add missing describe_map_tree
	argument.
	* coding.c (Ffind_coding_system): Use call1, not call2.
	* cmds.c (Fdelete_backward_char): Convert Finsert_char argument to
	Lisp_Integer and add missing argument.
	(internal_self_insert): Convert Fmove_to_column argument to
	Lisp_Integer and add missing argument.
	* ccl.c (Fregister_ccl_program): Convert Fmake_vector argument to
	Lisp_Integer.
	(syms_of_ccl): Likewise.
	* category.h (CATEGORY_DOCSTRING): Convert Fchar_table_extra_slot
	argument to Lisp_Integer.
	(CATEGORY_TABLE_VERSION): Likewise.
	* buffer.c (set_buffer_internal_1): Convert Fset_marker argument
	to Lisp_Integer.
	(set_buffer_temp): Likewise.
	(fix_overlays_in_range): Likewise.
d7384 2
a7385 1
	* xdisp.c (message2_nolog): Don't call fwrite will null string.
d7387 4
a7390 1
1997-07-10  Geoff Voelker  <voelker@@cs.washington.edu>
d7392 13
a7404 4
	* w32.c (sys_shutdown): New function.
	* s/ms-win32.h: Define HAVE_SHUTDOWN.
	
1997-07-10  Eli Zaretskii  <eliz@@pogo.gnu.ai.mit.edu>
d7406 1
a7406 2
	* xfaces.c (Fset_face_attribute_internal): Set mouse_face_defer
	only if HAVE_X_WINDOWS is defined.
d7408 2
a7409 1
1997-07-09  Marcus G. Daniels  <marcus@@cathcart.sysc.pdx.edu>
d7411 1
a7411 3
	* xdisp.c (echo_area_display): Don't offset using left-side
	scroll bar width because it is included in the width; clear
	the entire line.
d7413 1
a7413 1
1997-07-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7415 1
a7415 1
	* process.c (read_process_output): Add cast.
d7417 1
a7417 1
	* filelock.c (current_lock_owner, lock_file_1): Add casts.
d7419 1
a7419 1
	* xdisp.c (redisplay_internal): Fix previous change.
d7421 2
a7422 1
	* s/irix4-0.h (C_SWITCH_SYSTEM): Add -Wf,-XNh option.
d7424 1
a7424 1
	* s/ms-w32.h: Don't define HAVE_SHUTDOWN.
d7426 1
a7426 1
	* frame.c (Fdelete_frame): Always err for deleting the only frame.
d7428 2
a7429 1
1997-07-09  Kenichi HANDA  <handa@@etl.go.jp>
d7431 1
a7431 1
	* fontset.c (Ffont_info): Make vector of correct size.
d7433 1
a7433 3
	* xterm.c (x_load_font): Get value of fontp->height from
	ascent and descent members of structure font->max_bounds.
	(dumpglyphs): Draw background by FillSolid if a font is too short. 
d7435 1
a7435 1
1997-07-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7437 1
a7437 1
	* xterm.c (x_term_init): Don't use initializer for null_bits.
d7439 2
a7440 1
	* cm.h, sysdep.c, terminfo.c: Fix previous change.
d7442 2
a7443 1
	* fns.c (syms_of_fns): Fix previous change.
d7445 2
a7446 2
	* xdisp.c (decode_mode_spec) <z,Z>: Display buffer coding system
	last of the three.
d7448 1
a7448 1
	* doprnt.c: Use #ifdef to test STDC_HEADERS.
d7450 1
a7450 1
	* Makefile.in (shortlisp): Fix typo.
d7452 1
a7452 1
1997-07-08  enami tsugutomo  <enami@@but-b.or.jp>
d7454 2
a7455 1
	* emacs.c (main) [__NetBSD__]: Round up new stack limit to page bdry.
d7457 1
a7457 4
	* fileio.c (Finsert_file_contents): Give up match-end only if
	coding requires conversion.  Adjust end of non-matching text area
	to multibyte character boundary if enable_multibyte_character is
	non-nil.
d7459 1
a7459 1
1997-07-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7461 1
a7461 3
	* xdisp.c (decode_mode_spec_coding): Really don't display
	EOL indicator when eol_flag is 0.
	(echo_area_display): Use proper width when scroll bars on left.
d7463 1
a7463 5
	* syntax.h (struct gl_state_s): New field `offset'.
	(SETUP_SYNTAX_TABLE_FOR_OBJECT): Set offset field.
	(SETUP_SYNTAX_TABLE): Clear offset field.
	(UPDATE_SYNTAX_TABLE, UPDATE_SYNTAX_TABLE_FORWARD): 
	(UPDATE_SYNTAX_TABLE_BACKWARD): Use the offset field.
d7465 3
a7467 1
	* s/sol2.h (LIBS_SYSTEM): Add -lkvm and -lelf.
d7469 3
a7471 1
1997-07-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7473 1
a7473 1
	* editfns.c (Fuser_full_name): Declare p, q and r as unsigned char *.
d7475 1
a7475 1
	* xterm.c (XTread_socket) <KeyPress>: Call XFilterEvent.
d7477 1
a7477 2
	* terminfo.c (ospeed):
	Define as short, unless HAVE_TERMIOS_H and LINUX.
d7479 3
a7481 2
	* cm.h (ospeed): Declare as short unless HAVE_TERMIOS_H and LINUX.
	* sysdep.c (ospeed): Likewise.
d7483 1
a7483 4
	* window.c: Include blockinput.h.
	(Fset_window_configuration): Block input around frobbing the frame.
	Preseve point in the current buffer if we do not switch
	to a different one.
d7485 2
a7486 1
1997-07-06  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7488 1
a7488 2
	* xdisp.c (redisplay_internal): Fix previous change.
	(echo_area_display): Use proper vpos when clearing extra minibuf lines.
d7490 1
a7490 1
1997-07-04  Kenichi HANDA  <handa@@etl.go.jp>
d7492 1
a7492 6
	* callproc.c (Fcall_process): If enable-multibyte-characters is
	nil, do not encode arguments for process, and decode output of
	process by emacs-mule.
	(Fcall_process_region): If enable-multibyte-characters is nil, do
	not encode text to be given to process, and decode output of
	process by emacs-mule.
d7494 1
a7494 10
	* process.c (Fstart_process): If enable-multibyte-characters is
	nil, set coding system for decoding output of process to
	emacs-mule, and set coding system for encoding to nil.
	(Fopen_network_stream): If enable-multibyte-characters is nil, set
	coding systems for decoding and encoding to nil.
	
	* fileio.c (Finsert_file_contents): If enable-multibyte-characters
	is nil, decode character code by emacs-mule.
	(Fwrite_region): Use buffer-file-coding-system for encoding if
	enable-multibyte-characters is nil.
d7496 1
a7496 10
	* coding.c (Qemacs_mule, inhibit_eol_conversion): New variables.
	(setup_coding_system): If inhibit_eol_conversion is 0, set
	coding->eol_type to CODING_EOL_LF.
	(syms_of_coding): Initialize and staticpro Qemacs_mule.  Change
	error-message property of coding-system-error.  Declare
	inhibit-eol-conversion as Lisp variable.
	(system_eol_type): New variable.
	(init_coding_once): Initialize it.
	(ENCODE_SJIS_BIG5_CHARACTER): Bug in encoding a BIG5 character
	fixed.
d7498 1
a7498 1
	* coding.h (Qemacs_mule): Extern it.
d7500 1
a7500 1
	* xterm.c (x_list_fonts): Initialize the variable LIST to Qnil.
d7502 1
a7502 1
1997-07-06  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7504 1
a7504 1
	* xdisp.c (display_menu_bar): Always pass W to display_string.
d7506 1
a7506 1
	* unexalpha.c (update_dynamic_symbols): Add cast when setting reladdr.
d7508 1
a7508 2
	* sysdep.c (init_system_name): Don't be fooled if getdomainname
	string starts with a period.
d7510 1
a7510 1
1997-07-05  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7512 2
a7513 4
	* xdisp.c (redisplay_internal): At the end, if more frames have
	become visible, repeat the redisplay.
	(decode_mode_spec): Don't display subprocess coding systems.
	Don't display EOL for keyboard and terminal coding systems.
d7515 1
a7515 3
	* xfns.c (x_set_font): Funcall Qface_set_after_frame_default.
	(Qface_set_after_frame_default): New variable.
	(syms_of_xfns): Initialize and staticpro it.
d7517 1
a7517 2
	* xterm.c (x_make_frame_visible): Don't move the frame
	if it was iconified--only if it was invisible.
d7519 2
a7520 1
1997-07-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7522 1
a7522 1
	* gmalloc.c: Rename macro __P to PP.
d7524 1
a7524 1
	* floatfns.c, data.c, doprnt.c: Include float.h before lisp.h.
d7526 1
a7526 1
	* dired.c (Ffile_attributes): Use cast to avoid warnings.
d7528 1
a7528 1
	* syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer.
d7530 1
a7530 3
	* lread.c (Vpreloaded_file_list): New variable.
	(syms_of_lread): Set up Lisp variable.
	(Fload): Add to Vpreloaded_file_list, if dumping.
d7532 2
a7533 1
1997-07-04  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d7535 2
a7536 1
	* editfns.c (Fformat): Add second argument in call to Ftruncate.
d7538 3
a7540 7
	* alloc.c, buffer.c, casefiddle.c, casetab.c, category.c,
	category.h, ccl.c, coding.c, editfns.c, fileio.c, fns.c, indent.c,
	intervals.c, intervals.h, keymap.c, lisp.h, minibuf.c, print.c,
	syntax.c, syntax.h, sysdep.c, textprop.c, xfns.c: Fix numerous
	bugs with inappropriate mixing of Lisp_Object with int.
	* config.in (RE_TRANSLATE): Define to extract integers from
	array of Lisp_Objects.
d7542 1
a7542 1
1997-07-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7544 1
a7544 1
	* buffer.c (overlay_strings): Finish up previous change.
d7546 2
a7547 1
	* Makefile.in (lisp, shortlisp): Some files moved to subdirs.
d7549 2
a7550 1
1997-07-03  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7552 1
a7552 1
	* s/sunos4shr.h (LD_SWITCH_SYSTEM_TEMACS): Add #undef.
d7554 2
a7555 1
	* syssignal.h [sigmask] (SIGEMPTYMASK): Define to use sigmask.
d7557 1
a7557 3
	* eval.c (Fsignal, find_handler_clause): If ERROR_SYMBOL
	is nil, assume it's in the car of DATA.
	* alloc.c (memory_full): Pass Qnil to Fsignal for ERROR_SYMBOL.
d7559 2
a7560 2
	* s/sunos4-0.h (LD_SWITCH_SYSTEM_TEMACS): Defined.  Move -e here.
	(LD_SWITCH_SYSTEM): Don't use -e option here.
d7562 1
a7562 1
	* Makefile.in (ALL_LDFLAGS): Use LD_SWITCH_SYSTEM_TEMACS.
d7564 2
a7565 1
1997-07-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7567 1
a7567 1
	* process.c (send_process): Make buf and temp_buf  `unsigned char *'.
d7569 4
a7572 2
	* buffer.c (overlay_strings): Use unsigned char for things
	that relate to overlay_str_buf.
d7574 1
a7574 1
	* syssignal.h (sigpause): Don't define if already defined.
d7576 2
a7577 3
	* Makefile.in (LD_SWITCH_SYSTEM_TEMACS): New variable.
	
1997-07-02  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d7579 1
a7579 1
	* Makefile.in (lisp, shortlisp): Add widget.elc.
d7581 2
a7582 1
1997-07-02  Kenichi Handa  <handa@@etl.go.jp>
d7584 6
a7589 2
	* xselect.c (selection_data_to_lisp_data): Call free instead of
	xfree.
d7591 3
a7593 3
	* coding.h (struct coding_system): New members
	character_unification_table_for_decode and
	character_unification_table_for_encode.
d7595 1
a7595 26
	* coding.c (Vstandard_character_unification_table_for_decode):
	Name changed from Vstandard_character_unification_table_for_read.
	(Vstandard_character_unification_table_for_encode): Name changed
	from Vstandard_character_unification_table_for_write.
	(Qcharacter_unification_table_for_decode): New variable.
	(Qcharacter_unification_table_for_encode): New variable.
	(decode_coding_iso2022): Adjusted for the above name change.
	(encode_coding_iso2022): Likewise.
	(ENCODE_ISO_CHARACTER): Bug of handling return value of unify_char
	fixed.
	(DECODE_SJIS_BIG5_CHARACTER): New macro.
	(decode_coding_sjis_big5): Handle character unificatoin table.
	Use macro DECODE_SJIS_BIG5_CHARACTER.
	(encode_coding_sjis_big5): Handle character unificatoin table.
	Use macro ENCODE_SJIS_BIG5_CHARACTER.
	(setup_coding_system): Handle members
	character_unification_table_for_decode and
	character_unification_table_for_encode of the variable coding.
	(Ffind_operation_coding_system): Renamed from Ffind_coding_system.
	(syms_of_coding): Initialize and staticpro
	Qcharacter_unification_table_for_decode and
	Qcharacter_unification_table_for_decode.  Declare
	Ffind_operation_coding_system as Lisp functions.  Declare
	Vstandard_character_unification_table_for_decode and
	Vstandard_character_unification_table_for_encode as Lisp
	variables.
d7597 2
a7598 2
	* charset.c (Fchar_width): Check if the current buffer has display
	table.
d7600 1
a7600 3
	* fileio.c (Finsert_file_contents): Doc-string fixed.  Call
	Ffind_operation_coding_system.
	(Fwrite_region):  Call Ffind_operation_coding_system.
d7602 1
a7602 1
	* callproc.c: Call Ffind_operation_coding_system.
d7604 2
a7605 2
	* process.c (Fstart_process): Call Ffind_operation_coding_system.
	(Fopen_network_stream): Likewise.
d7607 1
a7607 1
	* fontset.h: Move "#endif /* _FONTSET_H */" at the tail.
d7609 1
a7609 1
1997-07-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7611 1
a7611 1
	* sysdep.c (init_system_name): Don't accept "(none)" as domain.
d7613 3
a7615 2
	* xterm.c (x_make_frame_visible): Check has_been_visible
	field before the UNBLOCK_INPUT.
d7617 1
a7617 1
1997-07-01  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7619 1
a7619 2
	* coding.c (syms_of_coding): Change initial values of
	eol_mnemonic_... variables.
d7621 2
a7622 2
	* xdisp.c (decode_mode_spec_coding): Clean up handling of
	eol conversions.
d7624 1
a7624 2
	* .gdbinit (xcons): Print car and cdr in hex.
	(nextcons): New command.
d7626 2
a7627 2
	* xfns.c (x_set_scroll_bar_width): By default, use enough
	columns to give 14 or more pixels.
d7629 1
a7629 1
1997-06-30  Geoff Voelker  <voelker@@cs.washington.edu>
d7631 4
a7634 2
	* emacs.c (decode_env_path): Ensure path elements use proper
	directory separator.
d7636 1
a7636 2
	* keyboard.c (make_lispy_event):
	Check that ISO_FUNCTION_KEY_OFFSET is defined.
d7638 1
a7638 2
	* process.c (READ_CHILD_OUTPUT): Deleted.
	(read_process_output): Use read instead of READ_CHILD_OUTPUT.
d7640 1
a7640 8
	* makefile.nt (OBJ2): Include new source files.
	
	* s/ms-w32.h: Duplicate undefs from config.in to check completeness.
	(STDC_HEADERS, HAVE_TZNAME, HAVE_MKTIME): Define to have a value.
	(HAVE_GETPAGESIZE, HAVE_SETLOCALE, HAVE_SHUTDOWN, HAVE_TZSET,
	HAVE_LIMITS_H, HAVE_STRERROR): Define.
	[HAVE_NTGUI] (HAVE_MENUS): Define.
	(SYSTEM_PURESIZE_EXTRA): Increase value.
d7642 4
a7645 2
	* unexw32.c, w32heap.c: Add pragma to force zero initialized 
	data into .data segment.
d7647 1
a7647 1
	* w32console.c, w32term.c: Include charset.h.
d7649 1
a7649 2
	* w32fns.c (syms_of_w32fns): Delete defsubrs of Sfocus_frame and
	Sunfocus_frame.
d7651 2
a7652 1
	* w32heap.c (getpagesize): Define.
d7654 1
a7654 1
1997-06-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7656 11
a7666 1
	* editfns.c (Fformat_time_string): Move doc string outside DEFUN.
d7668 1
a7668 1
	* buffer.c (overlay_str_buf): Declare as unsigned char *.
d7670 1
a7670 3
	* fns.c (Fy_or_n_p, Fyes_or_no_p): Obey use_dialog_box.
	(use_dialog_box): New variable, controls whether to use dialog boxes.
	(syms_of_fns): Set up Lisp variable.
d7672 1
a7672 1
1997-06-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7674 1
a7674 1
	* buffer.c (syms_of_buffer): enable-multibyte-characters is a user var.
d7676 1
a7676 1
	* callproc.c (Fcall_process): Fix previous change.
d7678 1
a7678 3
	* fns.c (concat): Use XCONS rather than Fcar, Fcdr--for known cons.
	(Fassq, assq_no_quit, Fassoc, Frassq, Frassoc, Fdelq): Likewise.
	(Fdelete, Fplist_get, mapcar1, Fmember, Fmemq): Likewise.
d7680 2
a7681 1
	* lread.c (init_lread): Add leim subdir, like lisp subdir.
d7683 5
a7687 1
	* syntax.c (scan_sexps_forward): Split up a complex if-test.
d7689 1
a7689 3
	* keyboard.c (read_char): Add a call to swallow_events
	when deciding whether to redisplay.
	(swallow_events): Add forward declaration.
d7691 2
a7692 1
	* sysdep.c [HAVE_TERMIOS_H]: Include termios.h.
d7694 1
a7694 2
	* callproc.c (Fcall_process): Avoid storing alloca result
	directly into array element.
d7696 2
a7697 4
	* process.c (wait_reading_process_input): If wait_for_cell,
	do check for keyboard input and swallow events, just don't exit.
	(max): New macro.
	(wait_reading_process_input): Pass a smaller first arg to select.
d7699 1
a7699 1
	* buffer.c (Fbury_buffer): Undo previous change.
d7701 1
a7701 1
1997-06-27  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7703 2
a7704 2
	* window.c (temp_output_buffer_show):
	Copy default-directory from current buffer.
d7706 1
a7706 1
	* cm.h (ospeed): Always use `extern' in the declaration.
d7708 2
a7709 1
	* Makefile.in (lisp, shortlisp): Some files are in international/.
d7711 1
a7711 1
	* unexelf.c [__NetBSD__]: Add some conditionals for NetBSD.
d7713 1
a7713 1
	* unexelf1.c: File deleted.
d7715 3
a7717 1
1997-06-26  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7719 1
a7719 1
	* s/unixware.h: New file.
d7721 5
a7725 1
1997-06-25  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7727 2
a7728 2
	* fileio.c (Finsert_file_contents):
	Pass new arg to prepare_to_modify_buffer.
d7730 1
a7730 5
	* insdel.c (prepare_to_modify_buffer, signal_before_change):
	New argument PRESERVE_PTR.
	(del_range_1): Use PRESERVE_PTR to preserve FROM.
	Save the length of the range separately.
	(NULL): Define if not defined.
d7732 1
a7732 1
1997-06-23  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d7734 2
a7735 1
	* fileio.c (Ffile_directory_p): Doc fix.
d7737 1
a7737 1
1997-06-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7739 1
a7739 1
	* buffer.c (Fbuffer_list): New optional argument FRAME.
d7741 2
a7742 1
	* fns.c (Freverse): Simplify.
d7744 1
a7744 1
1997-06-22  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7746 1
a7746 3
	* s/bsdos3.h: New file.
	
	* s/bsdos2.h (KERNEL_FILE): New overriding definition.
d7748 1
a7748 1
	* keyboard.c (read_avail_input): Check for failure with EIO.
d7750 1
a7750 1
	* s/gnu-linux.h (LD_SWITCH_SYSTEM) [__mips__]: Alternate definition.
d7752 1
a7752 6
	* m/mips.h: Test __linux__ along with NEWSOS5.
	(KERNEL_FILE, UNEXEC): Don't redefine them if __linux__.
	[__linux__] (TEXT_START, DATA_START, DATA_SEG_BITS):
	Alternate definitions.
	
	* emacs.c (Fdump_emacs): Bind command-line-processed to nil here.
d7754 1
a7754 1
	* xdisp.c (init_xdisp): Pay attention to FRAME_MENU_BAR_LINES.
d7756 1
a7756 1
	* emacs.c (Fdump_emacs): Error if not run in batch mode.
d7758 2
a7759 1
	* s/hpux10.h (LIBS_TERMCAP): Use -ltermcap instead of -lc.
d7761 6
a7766 4
	* unexelf.c [__sony_news && _SYSTYPE_SYSV]: Include sym.h
	and sys/elf_mips.h.
	(unexec): Add __sony_news && _SYSTYPE_SYSV conditionals.
	Add a _nec_ews_svr4 conditional.
d7768 1
a7768 1
	* s/newsos6.h: New file.
d7770 1
a7770 1
	* m/news-risc6.h: New file.
d7772 2
a7773 2
	* frame.c (Fdelete_frame): Clear echo_area_glyphs if it was
	in this frame.
d7775 1
a7775 2
	* process.c (wait_reading_process_input): Don't check for
	keyboard input if wait_for_cell.
d7777 4
a7780 5
	* minibuf.c (read_minibuf): New arg allow_props.
	If it is 0, discard text properties from the result.  Callers changed.
	(minibuffer_allow_text_properties): New variable.
	(Fread_from_minibuffer): That variable controls allow_props arg.
	(syms_of_minibuf): Set up Lisp var.
d7782 3
a7784 1
1997-06-21  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7786 1
a7786 2
	* insdel.c (del_range_1): Make markers for TO and FROM
	in case prepare_to_modify_buffer changes the text.
d7788 3
a7790 1
1997-06-21  Kenichi Handa  <handa@@etl.go.jp>
d7792 1
a7792 2
	* fontset.h (font_idx_temp): Extern it.
	(FS_LOAD_FONT): New macro.
d7794 2
a7795 2
	* fontset.c (font_idx_temp): New temprary variable used in
	FS_LOAD_FONT.
d7797 2
a7798 2
	* xfaces.c (Fset_face_attribute_internal): Use FS_LOAD_FONT
	instead of calling fs_load_font directly.
d7800 2
a7801 5
	* xterm.c (dumpglyphs): Use FS_LOAD_FONT.
	(x_new_fontset): If frame F has already using FONTSET, avoid the
	duplicated work.  Use FS_LOAD_FONT.
	(x_list_fonts): Call Fassoc to search Valternate_charset_table.
	(x_load_font): Get around a buf of XListFonts
d7803 1
a7803 1
1997-06-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7805 4
a7808 1
	* print.c (Ferror_message_string): Optimize (error STRING) case.
d7810 1
a7810 1
1997-06-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7812 1
a7812 1
	* process.c (Fprocess_send_eof): Properly conditionalize prev. change.
d7814 1
a7814 1
1997-06-18  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7816 1
a7816 4
	* process.c (Fprocess_send_eof): Use shutdown, if it's a socket.
	Don't close the output descriptor if that is also the input descriptor.
	
	* config.in (HAVE_SHUTDOWN): Add #undef.
d7818 1
a7818 2
	* editfns.c (Fchar_before): Validate N after decrementing.
	Don't use POS as integer.
d7820 2
a7821 1
1997-06-18  Kenichi Handa  <handa@@etl.go.jp>
d7823 2
a7824 1
	* coding.c (detect_coding_iso2022): Initilize mask correctly.
d7826 2
a7827 2
	* fns.c (concat): Pay attention to multibyte characters when
	TARGET_TYPE is Lisp_String.
d7829 2
a7830 1
1997-06-17  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7832 1
a7832 1
	* process.c (wait_reading_process_input): Fix previous change.
d7834 2
a7835 1
1997-06-16  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7837 5
a7841 1
	* fileio.c (Fdo_auto_save): Use stdio to write the save-list file.
d7843 4
a7846 2
	* fileio.c (Finsert_file_contents): Don't give up on the fast
	replace method if the coding remains undecided.
d7848 1
a7848 1
1997-06-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7850 1
a7850 2
	* process.c (wait_reading_process_input): When exiting because
	the process WAIT_PROC has terminated, first read all its output. 
d7852 1
a7852 1
1997-06-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7854 3
a7856 1
	* editfns.c (Fchar_after, Fchar_before): Make arg optional.
d7858 1
a7858 1
1997-06-14  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d7860 1
a7860 3
	* buffer.h (point): Obsolete macro deleted in favor of PT.
	* editfns.c (Fprevious_char): Use PT, not point.
	* cmds.c (internal_self_insert): Use PT, not point.
d7862 1
a7862 1
1997-06-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7864 1
a7864 4
	* bytecode.c (Bread_char): Deleted.
	(Bsave_current_buffer_1): New byte code.
	(Fbyte_code): Delete handling Bread_char.
	Handle Bsave_current_buffer_1 like Bsave_current_buffer.
d7866 1
a7866 1
1997-06-11  Paul Eggert  <eggert@@twinsun.com>
d7868 1
a7868 2
	* callproc.c (Fcall_process): Use setsid to disconnect child
	process from controlling terminal.
d7870 1
a7870 1
1997-06-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7872 1
a7872 3
	* unexalpha.c (unexec): Call update_dynamic_symbols unconditionally.
	(update_dynamic_symbols): Define unconditionally, but do nothing
	if __linux__or __NetBSD__.
d7874 1
a7874 3
	* s/netbsd.h (HAVE_TEXT_START, START_FILES, UNEXEC):
	Don't define these if __ELF__.
	(RUN_TIME_REMAP, N_PAGSIZ, N_BSSADDR, N_TRELOFF): Likewise.
d7876 1
a7876 3
	* m/alpha.h (TEXT_END, COFF, DATA_END): 
	Define them if __NetBSD__ just as if LINUX.
	(HAVE_TEXT_START): Define, if __NetBSD__ and __ELF__.
d7878 1
a7878 1
1997-06-10  Erik Naggum  <erik@@naggum.no>
d7880 1
a7880 1
	* fileio.c (Fwrite_region): Fix previous doc change.
d7882 2
a7883 1
1997-06-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7885 1
a7885 2
	* process.c (wait_reading_process_input): Return if unread events
	appear.
d7887 2
a7888 2
	* keyboard.c (kbd_buffer_get_event): When wait_reading_process_input
	returns, check Vunread_command_events.
d7890 1
a7890 1
1997-06-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7892 2
a7893 2
	* sysdep.c (init_sys_modes): Enable VSTART and VSTOP
	if flow_control.
d7895 1
a7895 1
	* editfns.c (Finsert_char): Check QUIT.
d7897 3
a7899 4
	* fontset.c (list_fontsets, fs_load_font): 
	fast_c_string_match_ignore_case renamed.
	
	* xterm.c (x_list_fonts): fast_c_string_match_ignore_case renamed.
d7901 1
a7901 2
	* search.c (fast_c_string_match_ignore_case):
	Renamed from fast_string_match_ignore_case.  Set re_match_object.
d7903 1
a7903 1
1997-06-09  Kenichi Handa  <handa@@etl.go.jp>
d7905 1
a7905 4
	* buffer.c (init_buffer_once): Inititialize the member
	buffer_file_coding_system.
	(syms_of_buffer): Declare Lisp variables
	default-buffer-file-coding-system and buffer-file-coding-system.
d7907 1
a7907 1
	* buffer.h (struct buffer): New member buffer_file_coding_system.
d7909 1
a7909 8
	* coding.c (Vcoding_system_alist): Deleted.
	(Qcoding_system_spec): Renamed from Qcoding_system_vector.
	(Vdefault_process_coding_system, Vfile_coding_system_alist,
	Vprocess_coding_system_alist, Vnetwork_coding_system_alist): New
	variables.
	(Ffind_coding_system): Adjusted for the above change.
	(syms_of_coding): Declare them as lisp variables.
	(Fcheck_coding_system): Pass list as DATA argument to Fsignal.
d7911 1
a7911 1
	* coding.h (Vdefault_process_coding_system): Extern it.
d7913 1
a7913 3
	* callproc.c (Fcall_process): Pay attention to
	Vdefault_process_coding_system.
	(Fcall_process_region): Likewise.
d7915 1
a7915 2
	* process.c (Fstart_process): Likewise.
	(Fopen_network_stream): Likewise.
d7917 2
a7918 2
	* xdisp.c (decode_mode_spec): Access the value of
	buffer-file-coding-system by b->buffer_file_coding_system.
d7920 1
a7920 3
	* fileio.c (Fwrite_region): Cancel the 7th argument CODING_SYSTEM
	added by the previous change.
	(auto_save_1): Adjusted for the above change.
d7922 1
a7922 2
	* data.c (Faset): Inherit default value correctly while creating
	sub char table.
d7924 2
a7925 3
	* xselect.c (selection_data_to_lisp_data): Change coding system
	name to iso-latin-1.
	(lisp_data_to_selection_data): Likewise.
d7927 1
a7927 4
	* xterm.c (dumpglyph): Shift baseline for such a font that is
	shorter but ascent or descent exceed the line height.
	For a larger font, draw a small hook at right-bottom edge instead
	of a rectangle.
d7929 1
a7929 1
1997-06-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7931 1
a7931 2
	* keymap.c (Fcopy_keymap): After copying a sub-char-table,
	do store the copy.
d7933 1
a7933 1
1997-06-04  Kenichi Handa  <handa@@etl.go.jp>
d7935 1
a7935 2
	* casefiddle.c (casify_object): Fix bug on handling a character
	argument.
d7937 1
a7937 1
1997-06-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7939 1
a7939 1
	* s/netbsd.h (NO_SHARED_LIBS): Test __alpha__ && ! __ELF__.
d7941 2
a7942 1
	* keyboard.c (syms_of_keyboard): Doc fix.
d7944 1
a7944 1
	* search.c (Freplace_match): If opoint is 0, that's relative to ZV.
d7946 1
a7946 1
	* intervals.c (find_interval): No longer inline.
d7948 2
a7949 1
1997-06-01  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7951 1
a7951 5
	* lisp.h (VALMASK, GCTYPEMASK, MARKBIT, ARRAY_MARK_FLAG)
	(PSEUDOVECTOR_FLAG, enum pvec_type, PSEUDOVECTOR_SIZE_MASK): 
	Define regardless of NO_UNION_TYPE.
	
	* xfns.c (Fx_create_frame): Use XINT to access parent.
d7953 2
a7954 3
	* syntax.c (Fsyntax_table_p, check_syntax_table): Use EQ.
	(Fmodify_syntax_entry): Use XINT to access c.
	(describe_syntax): Use XINT to access first.
d7956 1
a7956 1
	* search.c (search_buffer): Use XINT around refs to trt.
d7958 1
a7958 1
	* lisp.h (concat3, get_truename_buffer): Declare them.
d7960 3
a7962 1
	* keyboard.c (read_key_sequence): Change some locals to `int'.
d7964 1
a7964 1
	* indent.c (compute_motion): Use XFASTINT on width_table elts.
d7966 2
a7967 1
	* fns.c (map_char_table): Use XSETFASTINT.
d7969 1
a7969 2
	* fileio.c (Fwrite_region, build_annotations):
	Set start and end using XSETFASTINT.
d7971 1
a7971 2
	* editfns.c (Fcompare_buffer_substrings): trt contains Lisp_Objects.
	(transpose_markers): Use marker_position, not Fmarker_position.
d7973 2
a7974 1
	* buffer.c (Fmove_overlay): Clean up setting o_beg and o_end.
d7976 1
a7976 2
	* alloc.c (Fmake_byte_code): Set val from p, not from val.
	(make_event_array): Convert nargs to Lisp_Object.
d7978 1
a7978 1
	* m/powerpcle.h: New file.
d7980 1
a7980 2
	* unexalpha.c [__NetBSD__]: Don't include filehdr.h, aouthdr.h
	scnhdr.h or syms.h.  Add many other conditionalized definitions.
d7982 1
a7982 2
	* m/alpha.h [__NetBSD__]: Include stdlib.h, not alloca.h.
	(ORDINARY_LINK): Defined (if __NetBSD__).
d7984 1
a7984 3
	* s/netbsd.h [__alpha__] (NO_SHARED_LIBS): Defined.
	
1997-05-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d7986 1
a7986 2
	* lread.c (init_lread): Sometimes add to load-path
	the lisp and site-lisp dirs under the source directory.
d7988 1
a7988 1
	* xfaces.c: Include frame.h unconditionally.
d7990 3
a7992 2
	* Makefile.in (stamp-oldxmenu): Always define this
	one way or another.
d7994 1
a7994 1
	* search.c (Freplace_match): Fix previous change.
d7996 1
a7996 3
	* syntax.c (back_comment): Detect 2-char comment starts properly.
	New arg COMSTYLE; callers changed.
	(Fforward_comment): Handle unmatched two-character comment starters.
d7998 1
a7998 1
	* intervals.c (move_if_not_intangible): Fix previous change.
d8000 1
a8000 4
	* Makefile.in (XOBJ, MSDOS_OBJ, SOME_MACHINE_OBJECTS): Delete xfaces.o.
	(obj): Add xfaces.o.
	(FACE_SUPPORT, SOME_MACHINE_LISP): Delete faces.elc.
	(shortlisp, lisp): Add faces.elc
d8002 1
a8002 1
	* emacs.c (main): Call syms_of_xfaces whenever ! HAVE_NTGUI.
d8004 4
a8007 5
	* xfaces.c (Fframe_face_alist, Fset_frame_face_alist):
	Define unconditionally.
	(Finternal_next_face_id, next_face_id): Likewise.
	(syms_of_xfaces): Define unconditionally,
	but conditionalize some of the contents.
d8009 7
a8015 1
1997-06-01  Roderick Schertler  <roderick@@ibcinc.com>
d8017 1
a8017 2
	* sysdep.c (init_baud_rate): Use INIT_BAUD_RATE if it's defined.
	(sys_signal): Lose DGUX special case.
d8019 3
a8021 2
	* s/dgux.h (signal): Define only if not NO_DGUX_SIGNAL_REDEF.
	* s/dgux4.h: New file.
d8023 1
a8023 1
1997-05-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8025 1
a8025 3
	* xterm.c (process_expose_from_menu, XTread_socket): 
	Set has_been_visible field.
	(x_make_frame_visible): Don't do XMoveWindow unles has_been_visible.
d8027 1
a8027 1
	* xterm.h (struct x_output): New field has_been_visible.
d8029 1
a8029 2
	* lread.c (intern): Don't make a pure string here,
	since Fintern does that.
d8031 8
a8038 1
	* Makefile.in (lisp, shortlisp): Use cus-start.el, not .elc.
d8040 2
a8041 1
	* data.c (Farrayp): Accept bool-vectors and char-tables.
d8043 4
a8046 2
	* fns.c (Fchar_table_range, Fset_char_table_range):
	Make one-element vector work for RANGE.
d8048 4
a8051 1
1997-05-30  NIIBE Yutaka  <gniibe@@mri.co.jp>
d8053 1
a8053 1
	* term.c (insert_glyphs): Use &, not &&.
d8055 4
a8058 1
1997-05-29  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8060 1
a8060 2
	* search.c (Freplace_match): Use move_if_not_intangible
	to handle intangible text better.
d8062 2
a8063 1
	* intervals.c (move_if_not_intangible): New function.
d8065 1
a8065 1
	* editfns.c (Fcurrent_time_string): Doc fix.
d8067 1
a8067 1
	* eval.c (Fsignal): Use call2 to call Vsignal_hook_function.
d8069 3
a8071 1
1997-05-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8073 2
a8074 2
	* dispnew.c (scrolling): If a line is not enabled,
	give it an infinite draw_cost.
d8076 1
a8076 1
	* data.c (Faset): Doc fix.
d8078 1
a8078 1
	* alloc.c (Fmake_bool_vector): Doc fix.
d8080 2
a8081 1
	* buffer.c (syms_of_buffer): Doc fix.
d8083 1
a8083 1
1997-05-27  Kenichi Handa  <handa@@etl.go.jp>
d8085 1
a8085 1
	* fontset.h (FONT_ENCODING_NOT_DECIDED): New macro.
d8087 1
a8087 4
	* fontset.c (fs_load_font): Before using a fontset, be sure to
	load the ASCII font of the fontset.  Size and height of a fontset
	is set to the same as those of the ASCII font of the fontset.  Use
	macro FONT_ENCODING_NOT_DECIDED.
d8089 6
a8094 1
	* xterm.c (x_load_font): Use macro FONT_ENCODING_NOT_DECIDED.
d8096 1
a8096 4
	* fns.c (map_char_table): For sub char-table, index should be
	start from 0 (not from 32) considering a composite character.
	(Fmap_char_table): Doc-string adjusted.  The variable indices is
	declared as an array of Lisp_Object.
d8098 5
a8102 3
	* coding.h (struct iso2022_spec): Member requested_designation is
	changed to array of `unsigned char'.
	(CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION): New macro.
d8104 1
a8104 8
	* coding.c (encode_invocation_designation): Use macro
	CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION.
	(encode_designation_at_bol, setup_coding_system): Likewise.
	(Fset_terminal_coding_system_internal): Renamed from
	Fset_terminal_coding_system.  Make it non-interactive.
	Do not call Fredraw_display.
	(Fset_keyboard_coding_system_internal): Renamed from
	Fset_keyboard_coding_system.  Make it non-interactive.
d8106 1
a8106 2
	* charset.c (Ffind_charset_string): The variable CHARSETS is
	changed to (int *).
d8108 3
a8110 8
	* casetab.c (case_temp1, case_temp2): New variables temporarily
	used in macros DOWNCASE and UPCASE1.
	(set_case_table): Setup canonical table correctly.  Use
	map_char_table instead of compute_trt_inverse.
	(set_canon, set_identity, shuffle): New functions given to
	map_char_table.
	(compute_trt_identity, compute_trt_shuffle, compute_trt_inverse):
	Deleted.
d8112 5
a8116 2
	* casefiddle.c (casify_object): Handle multibyte characters.
	(casify_region): Change the way of handling multibyte characters.
d8118 3
a8120 7
	* lisp.h (CHAR_TABLE_REF): Do not check validity of CT.
	(CHAR_TABLE_SET): Likewise.
	(DOWNCASE_TABLE): Return case-table instead of the `contents' field.
	(UPCASE_TABLE): Likewise.
	(DOWNCASE): Use CHAR_TABLE_REF.
	(NOCASEP): Use UPCASE1.
	(UPCASE1): Use CHAR_TABLE_REF.
d8122 2
a8123 2
	* search.c (looking_at_1): Change using DOWNCASE_TABLE.
	(string_match_1): Likewise.
d8125 1
a8125 2
	* editfns.c (Fchar_equal): Make it handle case of multibyte
	characters.
d8127 1
a8127 1
1997-05-27  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8129 2
a8130 3
	* window.c (Fsplit_window): Ignore FRAME_NO_SPLIT_P here.
	(inhibit_frame_unsplittable): Variable deleted.
	(syms_of_window): Don't set up Lisp variable.
d8132 2
a8133 7
	* xterm.c (XTread_socket) <ConfigureNotify>: Don't call
	x_wm_set_size_hint if window has no parent yet.
	Simplify the call to x_real_positions.
	(x_make_frame_visible): Use win_gravity to decide whether to
	call XMoveWindow.  Also, don't do it if frame already visible.
	
	* xfns.c (x_real_positions): Subtract border width from results.
d8135 1
a8135 1
1997-05-26  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8137 1
a8137 1
	* window.c (syms_of_window): Initialize inhibit_frame_unsplittable.
d8139 7
a8145 1
	* w16select.c (Fwin16_set_clipboard_data): Pass new arg to sit_for.
d8147 1
a8147 1
	* fileio.c (Fdo_auto_save): Pass new arg to sit_for.
d8149 1
a8149 1
	* callint.c (Fcall_interactively): Pass new arg to sit_for.
d8151 1
a8151 2
	* keyboard.c (command_loop_1): Pass 1 as new arg to sit_for.
	(read_char): Likewise, pass 0 for it.
d8153 2
a8154 2
	* dispnew.c (sit_for): New arg initial_display.
	(Fsit_for): Pass new arg.
d8156 1
a8156 2
	* indent.c (compute_motion): Return correctly if skip_invisible
	takes us past TO.
d8158 1
a8158 5
	* xterm.c (XTread_socket) <UnmapNotify>: Don't make an iconify_event
	when frame was made invisible.
	(x_make_frame_visible): Put the call to x_set_offset back as it was.
	Near the end, instead call XMoveWindow, but only if original
	positions were not negative.
d8160 1
a8160 1
1997-05-26  Simon Marshall  <simon@@diazepam.gnu.ai.mit.edu>
d8162 2
a8163 3
	* window.c (syms_of_window): Change frame_override_unsplittable to
	inhibit_frame_unsplittable.
	(Fsplit_window): Check inhibit_frame_unsplittable.
d8165 1
a8165 1
1997-05-25  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8167 2
a8168 1
	* window.c (Fdisplay_buffer): Use B not b for interactive argument.
d8170 1
a8170 2
	* xfns.c (x_real_positions): Directly compare the frame's window
	or parent with the root window.
d8172 2
a8173 11
	* xterm.c (x_make_frame_visible): Call x_set_offset only after
	mapping the window and accepting input.
	(x_calc_absolute_position): Do nothing if current position
	is already for the top-left corner.
	Handle errors in XTranslateCoordinates.
	(XTread_socket): Simplify handling of ConfigureNotify events.
	Always call x_wm_set_size_hint for them.
	No need to call XTranslateCoordinates here.
	(x_clear_errors): New function.
	
1997-05-20  Erik Naggum  <erik@@naggum.no>
d8175 1
a8175 3
	* editfns.c (Fformat_time_string): Doc update.
	
1997-05-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8177 2
a8178 3
	* editfns.c (Fformat_time_string): Doc update.
	Handle emacs_strftime returning -1.
	If it returns 0, compute actual buffer size needed.
d8180 2
a8181 1
	* Makefile.in (shortlisp): Add custom.elc and cus-start.elc.
d8183 1
a8183 2
	* fns.c (internal_equal): When comparing strings, ignore text props.
	Friedman offers to fix anything that has trouble due to this.
d8185 2
a8186 1
	* dispnew.c (sit_for): Delete #if 0.
d8188 1
a8188 2
	* keymap.c (access_keymap, store_in_keymap): Don't look in a char-table
	for a character that has modifier bits.
d8190 2
a8191 1
1997-05-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8193 2
a8194 2
	* keymap.c (access_keymap): For a char-table,
	look only for chars with no modifier bits.
d8196 1
a8196 1
1997-05-19  Kenichi Handa  <handa@@etl.go.jp>
d8198 1
a8198 1
	* s/osf1.h (HAVE_TERMIOS): Define it.
d8200 3
a8202 1
	* m/alpha.h (PTY_OPEN): Call sigblock instead of sigblockx.
d8204 1
a8204 1
	* Makefile.in (xdisp.o): Add coding.h in dependency list.
d8206 2
a8207 2
	* fontset.h (struct font_info): Change the declaration of encoding
	from `char' to `unsigned char'.
d8209 1
a8209 2
	* xterm.c (x_load_font): Set 4 instead of -1 in fontp->encoding[1]
	for the meaning of `can not be decided'.
d8211 2
a8212 2
	* fontset.c (fs_load_font): Modified to cope with the above
	change.
d8214 1
a8214 3
	* charset.c (Ffind_charset_region): Change the declaration of
	charsets from `char' to `int'.
	(find_charset_in_str): Likewise.
d8216 2
a8217 1
	* xselect.c (lisp_data_to_selection_data): Likewise.
d8219 1
a8219 2
	* coding.h (struct iso2022_spec): Change the declaration of
	requested_designation from `char' to `int'.
d8221 2
a8222 1
1997-05-18  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8224 1
a8224 1
	* callint.c (Fcall_interactively): Use num_input_events.
d8226 1
a8226 2
	* keyboard.h (num_input_events, num_nonmacro_input_events):
	Renamed from ..._input_chars.
d8228 1
a8228 2
	* eval.c (num_nonmacro_input_events):
	Renamed from num_nonmacro_input_chars.
d8230 2
a8231 3
	* keyboard.c (num_nonmacro_input_events):
	Renamed from num_nonmacro_input_chars.
	(syms_of_keyboard): Rename Lisp variable.
d8233 2
a8234 1
1997-05-18  Erik Naggum  <erik@@naggum.no>
d8236 1
a8236 6
	* lisp.h (Vtty_erase_char): Declared.
	* keyboard.c (Vtty_erase_char): Variable defined
	(syms_of_keyboard): Set up Lisp variable.
	Also set up `num-nonmacro-input-chars' to report actual keystrokes.
	* sysdep.c (init_sys_modes): Initialize Vtty_erase_char if
	possible from the stty settings, otherwise to nil.
d8238 2
a8239 1
	* lread.c (Fintern): Give keywords a value when interned.
d8241 1
a8241 2
	* dired.c (Ffile_attributes): Return inode number as a cons
	only if necessary.
d8243 3
a8245 1
1997-05-18  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8247 1
a8247 1
	* keymap.c (copy_keymap_1): Do nothing if ELT isn't a keymap.
d8249 1
a8249 1
1997-05-17  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8251 2
a8252 1
	* frame.c (make_terminal_frame): Don't add `Emacs' to frame name.
d8254 2
a8255 1
1997-05-16  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8257 1
a8257 1
	* sysselect.h (SELECT_TYPE): Don't define if already defined.
d8259 2
a8260 4
	* cmds.c (nonascii_insert_offset): New variable.
	(Fself_insert_command, internal_self_insert):
	Add nonascii_insert_offset to what we insert, when appropriate.
	(syms_of_cmds): Set up Lisp variable.
d8262 1
a8262 3
	* xdisp.c (display_text_line): Move the code to fill out the line
	with the newline's face to the end of the newline code.
	Add changes (commented out) to record ellipsis positions in charstarts.
d8264 2
a8265 1
	* charset.c (strwidth): Fix previous change.
d8267 1
a8267 3
	* ralloc.c (mallopt): Declare, if appropriate.
	(r_alloc_init) [DOUG_LEA_MALLOC]: Call mallopt,
	instead of setting __malloc_extra_blocks.
d8269 2
a8270 1
Thu May 15 22:21:18 1997  Ken'ichi Handa  <handa@@diazepam.gnu.ai.mit.edu>
d8272 1
a8272 1
	* Makefile.in (charset.o): Add disptab.h in dependency list.
d8274 1
a8274 1
	* charset.c: Include disptab.h.
d8276 1
a8276 1
1997-05-16  Kenichi Handa  <handa@@etl.go.jp>
d8278 2
a8279 2
	* xterm.c (dumpglyphs): Draw glyphs one by one if the font for
	them is narrower than required.
d8281 1
a8281 2
	* fns.c (copy_sub_char_table): Declare the argument ARG as
	Lisp_Object.
d8283 6
a8288 2
	* fontset.c (fontset_pattern_regexp): Cast to (char *) before
	assigning to P0.
d8290 6
a8295 2
	* ccl.c (struct ccl_prog_stack): Declear the member ccl_prog as
	Lisp_Object *.
d8297 3
a8299 2
	* editfns.c: Declare Fuser_full_name as Lisp_Object in advance to
	avoid compiler error.
d8301 4
a8304 2
	* data.c: Declare set_internal as Lisp_Object in advance to avoid
	compiler error.
d8306 8
a8313 2
	* alloc.c (BYTES_USED): Put # at the beginning of line.
	(emacs_blocked_malloc): Likewise.
d8315 1
a8315 2
	* xterm.c (x_connection_closed): Likewise.
	(x_load_font): Cast to (char *) before assigning to FONTNAME.
d8317 3
a8319 2
	* keymap.c: Declare Fcopy_keymap as Lisp_Object in advance to
	avoid compiler error.
d8321 2
a8322 1
1997-05-16  Kenichi Handa  <handa@@etl.go.jp>
d8324 5
a8328 1
	* charset.h (VALID_CHAR_P): New macro.
d8330 4
a8333 1
	* fns.c (Fset_char_table_default): New function.
d8335 6
a8340 1
1997-05-15  Kenichi Handa  <handa@@etl.go.jp>
d8342 2
a8343 3
	* charset.c (non_ascii_char_to_string): Signal error if the
	argument C is an invalid character code.
	(Fconcat_chars): Use alloca instead of malloc.
d8345 1
a8345 1
	* charset.h (CHAR_STRING):  Comment reflect the above change.
d8347 1
a8347 12
	* coding.h: Name change through the code:
	coding-category-internal => coding-category-emacs-mule,
	XXX_coding_internal => XXX_coding_emacs_mule,
	coding_type_internal => coding_type_emacs_mule,
	coding_type_automatic => coding_type_undecided,
	CODING_CATEGORY_MASK_INTERNAL => CODING_CATEGORY_MASK_EMACS_MULE,
	CODING_CATEGORY_IDX_INTERNAL => CODING_CATEGORY_IDX_EMACS_MULE,
	CODING_EOL_AUTOMATIC => CODING_EOL_UNDECIDED.
	* coding.c: Likewise.
	* fileio.c: Likewise.
	
	* xfns.c (Fx_create_frame): Delete unnecessary code.
d8349 2
a8350 1
1997-05-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8352 6
a8357 3
	* fileio.c (Finsert_file_contents): Use xmalloc. not malloc.
	Check correctly for whether no code translation is needed.
	(Finsert_file_contents): Use xrealloc too.
d8359 4
a8362 1
	* charset.c (strwidth, Fchar_width): Handle display table.
d8364 2
a8365 1
1997-05-15  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d8367 1
a8367 4
	* casefiddle.c: Include charset.h.
	(Qidentity): Define this variable.
	(syms_of_casefiddle): Initialize and staticpro it.
	(casify_object, casify_region): Handle multibyte.
d8369 2
a8370 1
1997-05-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8372 1
a8372 5
	* casetab.c (compute_trt_identity): Use make_sub_char_table.
	(compute_trt_identity, compute_trt_shuffle):
	Set up bytes[0] with the charset code.
	Check for a sub-char-table when deciding to recurse.
	Terminate the loop properly for a sub-char-table.
d8374 2
a8375 1
	* callint.c (Fcall_interactively): Pass extra arg to Fread_string.
d8377 1
a8377 1
	* minibuf.c (Fread_from_minibuffer): Add gcpro.
d8379 1
a8379 1
	* fns.c (Fcopy_sequence): Correctly copy the char-table contents.
d8381 1
a8381 1
	* keymap.c (describe_vector): Identify charset row numbers clearly.
d8383 1
a8383 8
	* casetab.c: Include charset.h.
	(compute_trt_inverse): Totally rewritten.
	Args are now Lisp_Object.  Callers changed.
	(compute_trt_identity, compute_trt_shuffle): New subroutines.
	(init_casetab_once): Use XSETFASTINT to store into case table;
	use CHAR_TABLE_SINGLE_BYTE_SLOTS to end the loop.
	
1997-05-13  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8385 1
a8385 1
	* syntax.c (describe_syntax_1): Pass new args to describe_vector.
d8387 3
a8389 1
	* category.c (describe_category_1): Pass new args to describe_vector.
d8391 1
a8391 1
1997-05-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8393 1
a8393 2
	* keymap.c (get_keyelt): Handle an indirect entry with meta char.
	(describe_vector): Rewrite char-table handling.
d8395 2
a8396 1
	* data.c (wrong_type_argument): Pass new arg to Fstring_to_number.
d8398 2
a8399 1
1997-05-11  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8401 2
a8402 4
	* xfns.c (Fx_create_frame): Get X resources from the display
	we are making the frame on.
	(x_get_arg): New arg DPYINFO.  Callers changed.
	(display_x_get_resource): New function.
d8404 2
a8405 1
1997-05-11  Lars Magne Ingebrigtsen  <larsi@@ifi.uio.no>
d8407 2
a8408 2
	* data.c (Fstring_to_number): Handle bases 2...16.
	(digit_to_number): New subroutine.
d8410 1
a8410 1
1997-05-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8412 1
a8412 3
	* fns.c (map_char_table): New arg SUBTABLE.  Callers changed.
	Pass the whole chartable to C_FUNCTION.
	Pass index character as a Lisp_Object.
d8414 1
a8414 9
	* keymap.c (Fmake_keymap): Make a char-table.
	(access_keymap, store_in_keymap): Likewise,
	(describe_map, Fset_keymap_parent, Faccessible_keymaps): Likewise.
	(Fwhere_is_internal, Fcopy_keymap): Handle a char-table.
	(copy_keymap_1, accessible_keymaps_char_table): New subroutines.
	(where_is_internal_1, where_is_internal_2): New functions.
	(syms_of_keymap): Set up Qchar_table_extra_slots prop on Qkeymap.
	
1997-05-10  Ken'ichi Handa  <handa@@etl.go.jp>
d8416 3
a8418 2
	* callproc.c (Fcall_process_region): Supply 7th new arg
	CODING_SYSTEM as Qnil to Fwrite_region.
d8420 1
a8420 2
	* ccl.c (Fccl_execute_on_string): Add 4th optional arg
	CONTINUE.
d8422 1
a8422 7
	* charset.c (unify_char): New function.
	(Fdefine_charset): Doc-string modified.
	(find_charset_in_str): Add 4th arg TABLE which is a character
	unification table.
	(Ffind_charset_region): Add optional arg TABLE which is a
	character unification table.
	(Ffind_charset_string): Likewise.
d8424 1
a8424 1
	* charset.h (unify_char): Extern it.
d8426 2
a8427 21
	* coding.c (Valternate_charset_table): The valiable deleted.
	(Venable_character_unification,
	Vstandard_character_unification_table_for_read,
	Vstandard_character_unification_table_for_write,
	Qcharacter_unification_table): New variables.
	(syms_of_coding): Initialize and declare them.
	(DECODE_ISO_CHARACTER): Modified to handle a character unification
	table instead of Valternate_charset_table.
	(DECODE_DESIGNATION): Delete handling of Valternate_charset_table.
	(decode_coding_iso2022): Handle a character unification table.
	(ENCODE_ISO_CHARACTER): New macro.
	(encode_designation_at_bol): Handle a character unification table.
	Do not return -1 even if end-of-line is not in the current run.
	(encode_coding_iso2022): Handle a character unification table.
	Call macro ENCODE_ISO_CHARACTER instead of calling
	ENCODE_ISO_CHARACTER_DIMENSION1 and
	ENCODE_ISO_CHARACTER_DIMENSION2 directly.  Check the size of
	carryover before copying it to destination.
	(setup_coding_system): Initialize the member
	character_unification_table of the struct coding system to Qnil.
	(Fset_keyboard_coding_system): Doc string augmented.
d8429 1
a8429 3
	* coding.h (CODING_SPEC_ISO_PLANE_CHARSET): Return -1 if no
	character set is invoked to PLANE.
	(struct coding_system): New member character_unification_table.
d8431 2
a8432 11
	* fileio.c (Fwrite_region): Add 7th optional arg
	CODING_SYSTEM.  Move gap after a newline code if we are encoding
	in a coding system which requires designation sequences to be put
	at beginning of line.  Set coding.last_block to 1 before calling
	a_write for an empty file.
	(build_annotations): Code tuned up for handling
	pre_write_conversion of a coding system.
	(e_write): Delete code for handling carryover of code conversion.
	It is now handled in encode_coding.
	(auto_save_1): Supply 7th new arg CODING_SYSTEM as Qnil to
	Fwrite_region.
d8434 1
a8434 9
	* fontset.c (Vfontset_alias_alist): New variable.
	(fontset_pattern_regexp): Delete code for handling nickname of a
	fonset.  It is now handled in Fquery_fontset by consulting
	Vfontset_alias_alist.
	(Fquery_fontset): Handle Vfontset_alias_alist.
	(syms_of_fontset): Terminate each line by `\n\' in doc-string of
	alternate-fontname-alist.  Declare Lisp valiable
	fontset-alias-alist.  Doc-string of highlight-wrong-size-font
	and clip-large-size-font modified.
d8436 3
a8438 2
	* xfns.c (Fx_create_frame): Delete code for handling the X
	resouce "Fontset".
d8440 1
a8440 4
	* xselect.c (selection_data_to_lisp_data): If TYPE is `STRING'
	and DATA contains 8-bit codes, decode them as Latin-1 characters.
	(lisp_data_to_selection_data): Supply 4th arg TABLE as Qnil to
	find_charset_in_str.
d8442 1
a8442 3
	* xterm.c (dumpglyphs): Even if font (not fontset) is used,
	display Latin1 characters correctly if the font contains glyphs
	for them.  Fix bug of displaying cursor on a composite character.
d8444 1
a8444 1
1997-05-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8446 1
a8446 3
	* keyboard.c (Fexecute_extended_command):
	Pass new arg to Fcompleting_read.
	(command_loop_1): Use an int for last_command_char.
d8448 2
a8449 1
	* lisp.h (read_minibuf): Declaration deleted.
d8451 1
a8451 2
	* callint.c (Fcall_interactively): Pass new arg to
	Fread_from_minibuffer and Fread_variable.
d8453 4
a8456 1
	* fns.c (Fyes_or_no_p): Pass new arg to Fread_from_minibuffer.
d8458 1
a8458 8
	* minibuf.c (Fread_command): New optional arg DEFAULT-VALUE.
	Callers changed.
	(Fread_variable, Fread_string, Fread_from_minibuffer): Likewise.
	(read_minibuf): Now static.  New arg DEFALT.  Callers changed.
	Bind minibuffer-default here.
	(read_minibuf_unwind): Now static.
	(Fcompleting_read): Past DEF to Fread_from_minibuffer;
	no need to use it directly here.
d8460 2
a8461 1
	* fileio.c (Fread_file_name): Finish previous change.
d8463 1
a8463 2
	* coding.c (Fread_coding_system, Fread_non_nil_coding_system): 
	Pass new arg to Fcompleting_read.
d8465 1
a8465 1
	* callint.c (Fcall_interactively): Pass new arg to Fcompleting_read.
d8467 1
a8467 1
	* xmenu.c (Fx_popup_menu): Doc fix.
d8469 2
a8470 1
1997-05-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8472 1
a8472 1
	* Makefile.in (TAGS): Fix typo.
d8474 8
a8481 4
	* xdisp.c (mark_window_display_accurate, redisplay_internal):
	Test highlight_nonselected_windows.
	(display_text_line): Likewise (in more places).
	(syms_of_xdisp): Initialize highlight_nonselected_windows to 0.
d8483 1
a8483 8
	* keyboard.c (Qtimer_event): Variable deleted.
	(Qtimer_event_handler): New variable.
	(syms_of_keyboard): Don't initialize Qtimer_event.
	Do initialize Qtimer_event_handler.
	(read_char): Don't check for timer event.
	(swallow_events): Don't handle timer events.
	(timer_check): Likewise.
	(make_lispy_event): Likewise.
d8485 2
a8486 1
1997-05-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8488 1
a8488 2
	* s/bsd386.h: Delete the code that was trying to define BSD "right"
	now that Emacs doesn't use the symbol BSD this way.
d8490 1
a8490 1
1997-05-06  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8492 1
a8492 3
	* Makefile.in (MOUSE_SUPPORT): Delete menu-bar.elc.
	(lisp): Move menu-bar.elc here.
	Add custom.elc and cus-start.elc.
d8494 1
a8494 1
	* m/intel386.h (LIBS_MACHINE): Add -lelf.
d8496 1
a8496 1
1997-05-05  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8498 1
a8498 3
	* xdisp.c (display_text_line): Clear region_showing to Qnil if the
	window should not show a region.
	(redisplay_internal): Do update region_showing when ! all_windows.
d8500 1
a8500 2
	* window.c (Fset_window_configuration): Set last_selected_window
	in the new selected window's new buffer.
d8502 1
a8502 2
	* xdisp.c (display_text_line): Set w->region_showing to the mark
	position if there's a mark; to nil, otherwise.
d8504 5
a8508 1
	* w32fns.c (x_set_mouse_color): Fix previous change.
d8510 1
a8510 2
	* xselect.c (x_reply_selection_request): Delete the inner
	unbind_to call, since x_uncatch_errors does the job.
d8512 3
a8514 1
1997-05-04  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8516 1
a8516 4
	* minibuf.c (Fcompleting_read): New arg DEF.
	Callers changed.
	(Qminibuffer_default): New variable.
	(syms_of_minibuf): Initialize it.
d8518 3
a8520 1
	* fileio.c (Fread_file_name): Pass default to Fcompleting_read.
d8522 1
a8522 1
1997-05-03  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8524 2
a8525 2
	* w32fns.c (x_set_mouse_color): Update calls to x_catch_errors
	and x_uncatch_errors.
d8527 3
a8529 1
	* xfns.c (x_set_scroll_bar_width): If arg is too small, round it up.
d8531 2
a8532 2
	* window.c (Fdisplay_buffer): If we give up and try other frames,
	look again for a window in those frames already showing BUFFER.
d8534 3
a8536 1
1997-05-01  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8538 10
a8547 1
	* xselect.c (x_reply_selection_request): Fix previous change.
d8549 3
a8551 1
1997-04-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8553 2
a8554 2
	* xterm.c (XTmouse_position, x_term_init): 
	Save value from x_catch_errors and pass to x_uncatch_errors.
d8556 2
a8557 3
	* xselect.c (x_own_selection, x_reply_selection_request)
	(x_get_foreign_selection):
	Save value from x_catch_errors and pass to x_uncatch_errors.
d8559 2
a8560 2
	* xfns.c (x_real_positions, x_set_mouse_color, Fx_list_fonts):
	Save value from x_catch_errors and pass to x_uncatch_errors.
d8562 6
a8567 11
	* xterm.c (x_catch_errors): Use specpdl so can be nested.
	Use a Lisp string to as the buffer for the X message.
	(x_uncatch_errors, x_had_errors_p, x_check_errors): Related changes.
	(x_catch_errors_unwind): New function.
	(x_error_quitter): Call x_error_catcher if appropriate.
	(x_error_message_string): New variable.
	(syms_of_xterm): Defvar it.
	(x_caught_error_message): Variable deleted.
	(X_ERROR_MESSAGE_SIZE): Renamed from X_CAUGHT_ERROR_MESSAGE_SIZE.
	(x_error_handler): New function, calls x_error_quitter or ..._checker.
	(x_initialize): Use x_error_handler as error handler for X.
d8569 2
a8570 1
1997-04-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8572 2
a8573 1
	* fileio.c (Fexpand_file_name): Check length > 0 when necessary.
d8575 7
a8581 1
1997-04-27  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8583 2
a8584 1
	* syntax.c (skip_chars): Fix previous change in syntax/backward case.
d8586 2
a8587 1
	* lread.c (init_lread): Don't add ../lisp to the dump-time load path.
d8589 5
a8593 2
	* buffer.c (Fbury_buffer): If buffer is in selected window, remove it.
	Otherwise, remove it from other windows.
d8595 2
a8596 2
	* fileio.c (Fsubstitute_in_file_name): Use xnm uniformly, never nm,
	when handling /~ and // at the end.
d8598 1
a8598 4
	* process.c (read_process_output): Update opoint, old_begv and old_zv
	based on actual buffer change rather than size of string.
	old_begv and old_zv are now ints.
	(status_notify): Likewise for opoint.
d8600 2
a8601 1
1997-04-26  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8603 3
a8605 1
	* xterm.c (x_destroy_window): Free saved_menu_event, if any.
d8607 2
a8608 1
	* frame.c (Fdelete_frame): Free FRAME_MESSAGE_BUF.
d8610 2
a8611 1
	* xrdb.c (get_user_app): Free the gethomedir value.
d8613 1
a8613 1
	* buffer.c (reset_buffer): Initialize clip_changed field.
d8615 2
a8616 1
1997-04-25  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8618 2
a8619 1
	* emacs.c (sort_args): Free the malloc'd memory.
d8621 7
a8627 1
	* fileio.c (Fwrite_region): GCPRO `start' near the beginning.
d8629 2
a8630 1
	* xfns.c (x_set_menu_bar_lines): Increment windows_or_buffers_changed.
d8632 2
a8633 1
1997-04-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8635 7
a8641 1
	* syntax.c (skip_chars): Merge mule changes back in.
d8643 4
a8646 1
1997-04-22  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8648 2
a8649 3
	* window.c (frame_override_unsplittable): New variable.
	(Fsplit_window): Ignore `unsplittable' if frame_override_unsplittable.
	(syms_of_window): Set up Lisp var.
d8651 1
a8651 2
	* xmenu.c (set_frame_menubar): When widget is new,
	forget records of old contents.
d8653 2
a8654 1
1997-04-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8656 1
a8656 2
	* xterm.c (x_set_offset): Turn off the code that added the border_width
	to modified_left and modified_top; it seems incorrect to do that.
d8658 1
a8658 1
1997-04-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8660 2
a8661 2
	* keymap.c (Faccessible_keymaps): Convert PREFIX to a vector
	at the beginning, if it has any definition.
d8663 1
a8663 1
1997-04-19  Erik Naggum  <erik@@naggum.no>
d8665 1
a8665 2
	* keymap.c (describe_vector): Test for suppressed commands in
	all cases.  Call get_keyelt with two arguments.
d8667 2
a8668 1
1997-04-18  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8670 3
a8672 1
	* print.c (print): Symbols like e2 and 2e are not confusing.
d8674 1
a8674 1
1997-04-17  Andrew Innes  <andrewi@@harlequin.co.uk>
d8676 1
a8676 1
	* fileio.c (Fexpand_file_name): Fix expansion of "/foo/../".
d8678 1
a8678 1
1997-04-15  Ken'ichi Handa  <handa@@etl.go.jp>
d8680 1
a8680 2
	* coding.c (setup_coding_system): Setup coding->eol_type as LF
	for a invalid coding system.
d8682 1
a8682 1
1997-04-14  Ilya Zakharevich  <ilya@@math.ohio-state.edu>
d8684 1
a8684 1
	* dired.c (Fdirectory_files): Set re_match_object.
d8686 2
a8687 1
	* intervals.c (update_interval): New function.
d8689 2
a8690 1
	* intervals.h (update_interval): New function declaration.
d8692 4
a8695 12
	* regex.c (PTR_TO_OFFSET): New macro.
	(POS_AS_IN_BUFFER): New macro.
	(SYNTAX_ENTRY_VIA_PROPERTY): Set to take `syntax-table' text
	property into account when doing SYNTAX (c).
	(re_compile_fastmap): disable fastmap if any of wordbound
	notwordbound wordbeg wordend notsyntaxspec syntaxspec are seen.
	(re_search_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start.
	(re_match_object): New variable.
	(re_match_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start.
	(re_match_2_internal): For any of wordbound notwordbound wordbeg
	wordend notsyntaxspec syntaxspec call UPDATE_SYNTAX_TABLE before
	doing SYNTAX (c).
d8697 1
a8697 1
	* regex.h (re_match_object): New variable.
d8699 1
a8699 10
	* search.c (looking_at_1): Set re_match_object.
	(string_match_1): Set re_match_object.
	(fast_string_match): Set re_match_object.
	(Fskip_chars_forward): Move to syntax.c.
	(Fskip_chars_backward): Move to syntax.c.
	(Fskip_syntax_forward): Move to syntax.c.
	(Fskip_syntax_backward): Move to syntax.c.
	(skip_chars): Move to syntax.c.
	(search_buffer): Set re_match_object.
	(syms_of_search): Move initialization of skip* to syntax.c.
d8701 2
a8702 28
	* syntax.c (SYNTAX_ENTRY_VIA_PROPERTY): Set to take `syntax-table'
	text property into account when doing SYNTAX (c).
	(ST_COMMENT_STYLE, ST_STRING_STYLE): New codes to denote
	delimiters for new types of strings and comments.
	(Vparse_sexp_lookup_properties): New variable.
	(struct lisp_parse_state): Comment updated.
	(gl_state): New global variable.
	(update_syntax_table): New function.
	(char_quoted): Move earlier, update gl_state when needed.
	(find_defun_start): Update gl_state when needed.
	(back_comment): New function.
	(Scomment_fence, Sstring_fence): New delimeter char classes
	denoted by `!' and `|'.
	(Fchar_syntax, Fmatching_paren): Update gl_state to whole-buffer state.
	(scan_words): Update gl_state when needed.
	(Fskip_chars_forward): Move from search.c.
	(Fskip_chars_backward): Move from search.c.
	(Fskip_syntax_forward): Move from search.c.
	(Fskip_syntax_backward): Move from search.c.
	(skip_chars): Move from search.c.
	(Fforward_comment, scan_lists): Update gl_state when needed.
	Handle Scomment_fence, Sstring_fence.
	(Fbackward_prefix_chars) update gl_state when needed.
	(scan_sexps_forward): update gl_state when needed.
	Handle Scomment_fence, Sstring_fence.
	If comment_stop==-1, stop at start or end of comment or string.
	(Fparse-partial-sexp): Doc fix.
	(syms_of_syntax): Move initialization of skip* from search.c.
d8704 1
a8704 8
	* syntax.h (enum syntaxcode):
	New members Scomment_fence, Sstring_fence.
	(SYNTAX_ENTRY): Depending on the value of SYNTAX_ENTRY_VIA_PROPERTY
	may do a lookup for syntax table in gl_state.
	(UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD,
	UPDATE_SYNTAX_TABLE, SETUP_SYNTAX_TABLE,
	SETUP_SYNTAX_TABLE_FOR_OBJECT): New macros.
	(struct gl_state_s): New struct.
d8706 2
a8707 2
	* textprop.c: Style of comments corrected. 
	(interval_of): New function.
d8709 1
a8709 1
1997-04-14  Eli Zaretskii  <eliz@@wombat.gnu.ai.mit.edu>
d8711 2
a8712 4
	* w16select.c: New file, MS-Windows clipboard support from
	Emacs running as MSDOS application.
	
	* s/msdos.h (SYMS_SYSTEM): Add `syms_of_win16select'.
d8714 1
a8714 2
	* Makefile.in (MSDOS_OBJ): Add w16select.o.
	(dependencies): Add dependencies for w16select.o.
d8716 1
a8716 1
1997-04-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8718 1
a8718 2
	* undo.c (Fprimitive_undo): When inserting, always insert
	after markers (the ordinary kind of insertion).
d8720 1
a8720 2
	* insdel.c (adjust_markers): Don't be confused by the gap
	when computing the arg to record_marker_adjustment.
d8722 2
a8723 1
1997-04-11  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d8725 1
a8725 2
	* category.c (Fmodify_category_entry): Delete second arg in call
	to make_sub_char_table.
d8727 10
a8736 5
	* lisp.h (DOWNCASE): Return int, not Lisp_Object.
	(UPPERCASEP): Use DOWNCASE.
	(UPCASE_TABLE): New macro.
	(NOCASEP, UPCASE1): Use UPCASE_TABLE.
	[!NO_UNION_TYPE] (make_number): Declare.
d8738 1
a8738 1
1997-04-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8740 2
a8741 2
	* minibuf.c (read_minibuf): Get the string from the minibuffer
	even if the user has selected a different buffer.
d8743 1
a8743 6
	* fileio.c (Finsert_file_contents): Do call signal_after_change
	when REPLACE is handled by reading directly from the file.
	Use insert_1 to insert replacement text, to avoid
	query about whether to modify the buffer.
	
1997-04-10  Marcus G. Daniels  <marcus@@cathcart.sysc.pdx.edu>
d8745 2
a8746 2
	* Makefile.in (mallocobj): Make non-REL_ALLOC configuration work
	with glibc's malloc--do use vm-limit.o.
d8748 1
a8748 1
1997-04-10  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d8750 2
a8751 17
	* cmds.c (internal_self_insert): Fix return value.
	* category.c (Fmake_category_set): Use XSETFASTINT.
	* minibuf.c (scmp): Fix Lisp_Object/integer confusion.
	(Fdisplay_completion_list): Likewise.
	* insdel.c (Fcombine_after_change_execute): Likewise.
	* xselect.c (expect_property_change): Likewise.
	* xterm.c (construct_menu_click, note_mouse_highlight): Likewise.
	(fast_find_position): Likewise.
	* ccl.c (ccl_driver): Likewise.
	* coding.c (Ffind_coding_system): Likewise.
	* charset.c (Fconcat_chars, ONE_BYTE_CHAR_WIDTH): Likewise.
	* xmenu.c (Fx_popup_menu, set_frame_menubar): Likewise.
	* disptab.h (DISP_TABLE_P): Likewise.
	* xdisp.c (display_text_line): Likewise.
	* dispnew.c (Fframe_or_buffer_changed_p): Likewise.
	* window.c (Fset_window_buffer, Fdisplay_buffer): Likewise.
	(delete_window): Don't return value from void function.
d8753 3
a8755 1
1997-04-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8757 1
a8757 1
	* s/freebsd.h (BSD_SYSTEM): Alternate definition for FreeBSD v3.
d8759 3
a8761 2
	* systty.h (GETPGRP_NO_ARG): If Glibc 2.1 or later,
	don't define this if _BSD_SOURCE is defined.
d8763 1
a8763 1
1997-04-08  Marcus G. Daniels  <marcus@@cathcart.sysc.pdx.edu>
d8765 1
a8765 3
	* emacs.c (malloc_get_state, malloc_set_state): New declarations.
	(main): Restore internal malloc state when loading from dumped image.
	(Fdump_emacs): Copy internal malloc state for dumping, then free it.
d8767 1
a8767 9
	* alloc.c: For glibc's malloc, include <malloc.h> for mallinfo,
	mallopt, struct mallinfo, and mallopt constants.
	(BYTES_USED): New macro.
	(memory_full, emacs_blocked_free): Replace _bytes_used with BYTES_USED.
	(emacs_blocked_malloc): Set sbrk padding value for glibc, as is
	done with gmalloc.
	(allocate_vectorlike, make_uninit_string):
	Prevent using mmap for possible large chunks.
	(init_alloc_once): Set trim and mmap malloc parms, when using glibc.
d8769 1
a8769 4
	* config.in (DOUG_LEA_MALLOC): Add #undef.
	
	* Makefile.in (mallocobj): Don't add gmalloc if using glibc.
	Drop check for `old malloc'; it isn't distributed with Emacs.
d8771 1
a8771 1
1997-04-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8773 1
a8773 1
	* casetab.c (init_casetab_once): Initialize the purpose slot.
d8775 2
a8776 1
1997-04-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8778 1
a8778 3
	* keyboard.c (read_key_sequence): New argument FIX_CURRENT_BUFFER.
	Restore the current buffer from selected window on occasion.
	All callers changed.
d8780 2
a8781 1
1997-04-07  Kenichi HANDA  <handa@@etl.go.jp>
d8783 1
a8783 2
	* Makefile.in (lisp, shortlisp): Include english.elc and
	tibetan.elc.
d8785 3
a8787 3
	* alloc.c (Fmake_char_table): Adjusted for the new structure of
	Lisp_Char_Table.
	(make_sub_char_table): New function.
d8789 3
a8791 3
	* category.c (category-table-p): Check only type and purpose.
	(copy_category_table, Fmodify_category_entry): Adjusted for the
	new structure of Lisp_Char_Table.
d8793 1
a8793 1
	* ccl.c: (ccl_driver): Fix bug of the case CCL_WriteArrayReadJump.
d8795 1
a8795 3
	* charset.h (CHARSET_TABLE_ENTRY): Handle ASCII charset correctly.
	(SPLIT_NON_ASCII_CHAR, SPLIT_CHAR): Return -1 in C2 for DIMENSION1
	characters.
d8797 1
a8797 2
	* charset.c (non_ascii_char_to_string, update_charset_table,
	Fsplit_char): Adjusted for the above change.
d8799 1
a8799 4
	* coding.c (detect_coding_iso2022, detect_coding_mask): Ignore
	invalid ESC sequence for ISO 2022.
	(Fencode_sjis_char, Fencode_big5_char): Adjusted for the change of
	SPLIT_CHAR.
d8801 2
a8802 2
	* data.c (Faref, Faset): Adjusted for the new structure of
	Lisp_Char_Table.
d8804 2
a8805 2
	* disptab.c (disp_char_vector): Extern it.
	(DISP_CHAR_VECTOR): Handle multibyte characters.
d8807 1
a8807 5
	* fns.c (copy_sub_char_table): New function.
	(Fcopy_sequence): Call copy_sub_char_table for copying a sub char
	table.
	(Fchar_table_range, Fset_char_table_range, map_char_table,
	Fmap_char_table): Handle multibyte characters correctly.
d8809 2
a8810 3
	* fontset.c (Vhighlight_wrong_size_font, Vclip_large_size_font):
	New variables.
	(syms_of_fontset): Declare them as Lisp variables.
d8812 4
a8815 2
	* fontset.h (Vhighlight_wrong_size_font, Vclip_large_size_font):
	Extern them.
d8817 1
a8817 2
	* keymap.c (describe_vector): Adjusted for the new structure of
	Lisp_Char_Table.
d8819 2
a8820 10
	* lisp.h (CHAR_TABLE_STANDARD_SLOTS): Now 4 more slots than
	CHAR_TABLE_ORDINARY_SLOTS for top, defalt, parent, and purpose.
	(SUB_CHAR_TABLE_ORDINARY_SLOTS, SUB_CHAR_TABLE_STANDARD_SLOTS):
	New macros.
	(CHAR_TABLE_REF, CHAR_TABLE_SET): Enclose args by parenthesis.
	(struct Lisp_Char_Table): New member `top'.  The member `defalt'
	is moved before `contents' so that XCHAT_TABLE (val)->defalt can
	also be used for a sub char table.
	(SUB_CHAR_TABLE_P): New macro.
	(make_sub_char_table): Extern it.
d8822 1
a8822 2
	* lread.c (read1): Adjusted for the new structure of
	Lisp_Char_Table.
d8824 3
a8826 1
	* print.c (print): Likewise.
d8828 2
a8829 2
	* xdisp.c (disp_char_vector): New function to be used from the
	macro DISP_CHAR_VECTOR for multibyte characters.
d8831 2
a8832 2
	* xterm.c (dumpglyphs): Clip and highlight glyphs displayed with
	fonts of wrong size.
d8834 3
a8836 1
Sun Apr  6 10:26:53 1997  Eli Zaretskii  <eliz@@wombat.gnu.ai.mit.edu>
d8838 1
a8838 3
	* emacs.c (init_cmdargs) [MSDOS]: Make the change that sets
	`installation-directory' if `info' is found as its subdirectory or
	sibling, be conditioned on MSDOS (it makes trouble on Unix).
d8840 1
d8842 1
a8842 1
1997-04-05  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8844 4
a8847 1
	* coding.c (Ffind_coding_system): Doc fix.
d8849 1
a8849 1
1997-04-03  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d8851 1
a8851 4
	* fns.c (Fcopy_sequence): Delete unused variable.
	(Fchar_table_extra_slot, Fset_char_table_extra_slot): Doc fix.
	(map_char_table): When expanding indices, don't increase depth;
	that's amount used, not amount allocated.
d8853 1
a8853 1
	* category.h [!__GNUC__] (CATEGORY_SET): Fix syntax error.
d8855 1
a8855 3
	* lisp.h (CHAR_TABLE_REF): Fix syntax error.
	(LOWERCASEP): Use NOCASEP instead of its expansion.
	(UPCASE): Use UPPERCASEP instead of its expansion.
d8857 1
a8857 1
1997-04-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8859 2
a8860 3
	* fileio.c (Finsert_file_contents): When handling REPLACE,
	first try comparing block by block; if we discover a need for
	nontrivial code conversion, give up and try convert-whole-file method.
d8862 1
a8862 1
	* fileio.c (Fcopy_file): Fix error message.
d8864 4
a8867 1
	* fileio.c (Finsert_file_contents): Handle non-regular files.
d8869 3
a8871 1
1997-04-01  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8873 1
a8873 1
	* search.c (skip_chars): Make `c' an unsigned int.
d8875 1
a8875 1
1997-04-01  Erik Naggum  <erik@@naggum.no>
d8877 1
a8877 1
	* eval.c (Fuser_variable_p): If not a symbol, return nil.
d8879 1
a8879 1
1997-03-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8881 3
a8883 7
	* fileio.c (Fcopy_file): Use Qfile_date_error if can't set file date.
	(Qfile_date_error): New variable.
	(syms_of_fileio): Set it up.
	(Fcopy_file): Fix previous change.
	(Finsert_file_contents): Determine the character coding
	before we see if REPLACE can be handled.
	Do handle REPLACE even if code conversion is needed. 
d8885 1
a8885 1
1997-03-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8887 11
a8897 3
	* keymap.c (Faccessible_keymaps): When metizing, convert a
	string to a vector.  But don't metize a character that is
	part of PREFIX.
d8899 1
a8899 9
	* window.c (Qwindow_configuration_change_hook): New variable.
	(Vwindow_configuration_change_hook): New variable.
 	(syms_of_window): Initialize; set up Lisp var.
	(delete_window): New subroutine, from Fdelete_window.
	Most callers changed.
	(Fdelete_window): Call Vwindow_configuration_change_functions.
	(Fset_window_buffer, Fenlarge_window, Fshrink_window):
	Call the Vwindow_configuration_change_functions.
	(Fset_window_configuration): Likewise.
d8901 1
a8901 2
	* dispnew.c (change_frame_size_1): Call Fset_window_buffer,
	so that Vwindow_configuration_change_hook gets run.
d8903 3
a8905 1
1997-03-25  Erik Naggum  <erik@@naggum.no>
d8907 1
a8907 1
	* process.c (Fopen_network_stream): Use same socket for in and out.
d8909 1
a8909 1
1997-03-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d8911 1
a8911 2
	* frame.c (frames_bury_buffer): New function.
	* buffer.c (Fbury_buffer): Call frames_bury_buffer.
d8913 1
a8913 1
1997-03-22  Mark W. Eichin  <eichin@@kitten.gen.ma.us>
d8915 1
a8915 6
	* keyboard.c (make_lispy_event): Use iso_lispy_function_keys for
	XK_ISO_* keys found in XFree86. 
	(ISO_FUNCTION_KEY_OFFSET): New macro.
	(iso_lispy_function_keys): New table.
	
	* xterm.c (XTread_socket): Accept XK_ISO_* keys.
d8917 1
a8917 1
1997-03-19  Kenichi Handa  <handa@@etl.go.jp>
d8919 1
a8919 4
	* xterm.c (dumpglyphs): Set a clipping region when we draw glyphs
	with a font of inappropriate size.
	(x_list_fonts): Try alternative fonts if we can't find a font of an
	appropriate size.
d8921 1
a8921 2
	* fontset.c (Valternative_fontname_alist): New variable.
	(syms_of_fontset): Declare Lisp variable alternative-fontname-alist.
d8923 1
a8923 1
	* fontset.h (Valternative_fontname_alist): Extern it.
d8925 1
a8925 2
	* term.c (insert_glyphs): Fix a bug which turns up when
	TS_ins_multi_chars is 0.
d8927 1
a8927 1
1997-03-18  Kenichi Handa  <handa@@etl.go.jp>
d8929 5
a8933 1
	* xterm.c (x_list_fonts): Comment about cached font list added.
d8935 8
a8942 1
	* fns.c (map_char_table): Handle multibyte characters.
d8944 3
a8946 4
	* lisp.h (CHAR_TABLE_ORDINARY_SLOTS): Change to 384 (== 256 + 128).
	(CHAR_TABLE_STANDARD_SLOTS): Adjusted for the above change.
	(CHAR_TABLE_SINGLE_BYTE_SLOTS): New macro.
	(CHAR_TABLE_REF, CHAR_TABLE_SET): New macros.
d8948 1
a8948 1
	* data.c (Faref, Faset): Adjusted for the above change.
d8950 1
a8950 1
	* syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY): Likewise.
d8952 4
a8955 1
	* category.h (CATEGORY_SET): Likewise.
d8957 1
a8957 1
	* category.c (Fmodify_category_entry): Likewise.
d8959 1
a8959 3
	* keymap.c (describe_vector): Likewise.
	(push_key_description): A key code less than 512 is printed with 3
	octal numbers.  Print only entries of valid charsets.
d8961 1
a8961 2
	* disptab.h (GLYPH_FOLLOW_ALIASES): Assure that the resulting G
	contains valid character code.
d8963 1
a8963 4
	* xdisp.c (copy_part_of_rope): Declare glyph as type GLYPH.  For a
	invalid character code, use ' ' (space).
	(display_string, display_text_line): Check validity of character
	code before calling fix_glyph.
d8965 1
a8965 1
	* term.c (encode_terminal_code): Check validity of character code.
d8967 1
a8967 3
	* charset.h (MAX_CHARSET): Definition changed to the actual
	maximum valid charset.
	(MAX_CHAR): New macro.
d8969 8
a8976 2
	* charset.c, coding.h, coding.c, fontset.h, fontset.c, xselect.c:
	Adjusted for the above change.
d8978 1
a8978 3
	* charset.c (str_cmpchar_id): Return -1 if we have no more room
	for a new composite character.
	(Fmake_char_internal): Docstring is moved to lisp/mule.el.
d8980 1
a8980 2
	* fontset.h (struct font_info): Typo in comment of
	`relative_compose' fixed.
d8982 1
a8982 1
1997-03-14  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d8984 1
a8984 1
	* window.c (change_window_height): Handle shrink as well as enlarge.
d8986 1
a8986 1
1997-03-13  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d8988 4
a8991 1
	* buffer.c (reset_buffer): Initialize display_count slot.
d8993 2
a8994 2
	* search.c (Freplace_match): Give error if
	NEWTEXT uses backslash in an invalid way.
d8996 2
a8997 1
1997-03-10  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d8999 1
a8999 2
	* lisp.h (FAST_MAKE_GLYPH): Don't cast CHAR arg; character codes
	are now wider than C chars.
d9001 3
a9003 1
1997-03-09  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d9005 1
a9005 3
	* buffer.c (Fkill_buffer): Call frames_discard_buffer.
	(record_buffer): Move buffer to front of frame_buffer_list.
	(Fother_buffer): Use frame_buffer_list.
d9007 1
a9007 1
	* frame.h (struct frame): New field buffer_list.
d9009 3
a9011 8
	* frame.c (frame_buffer_list, set_frame_buffer_list): New functions.
	(store_frame_param): Handle buffer-list parameter.
	(Qbuffer_list): New variable.
	(syms_of_frame_1): Initialize it.
	(make_frame): Initialize buffer_list field.
	(Fframe_parameters): Handle buffer-list parameter.
	(frames_discard_buffer): New function.
	(make_frame): Initialize buffer_list.
d9013 1
a9013 1
	* alloc.c (mark_object): Mark the buffer_list field.
d9015 7
a9021 1
1997-03-05  Ken'ichi Handa  <handa@@etl.go.jp>
d9023 1
a9023 1
	* coding.c (decode_eol): Fix bug of converting CRLF to LF.
d9025 2
a9026 1
1997-03-05  NIIBE Yutaka  <gniibe@@mri.co.jp>
d9028 1
a9028 2
	* indent.c: (compute_motion): When POS >= TO, don't call
	find_before_next_newline as it assumes POS < TO.
d9030 1
a9030 1
1997-03-02  Ken'ichi Handa  <handa@@etl.go.jp>
d9032 1
a9032 2
	* category.h (CATEGORY_SET): Cast arg C to
	`unsigned char' before indexing category table directly.
d9034 1
a9034 1
1997-03-01  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d9036 1
a9036 6
	* process.c (wait_reading_process_input): If wait_for_cell,
	ignore subprocess input and respond only to keyboard.
	(non_process_wait_mask): New variable.
	(add_keyboard_wait_descriptor): Update it.
	(delete_keyboard_wait_descriptor): Update it.
	(init_process): Initialize it.
d9038 1
a9038 1
1997-03-01  NIIBE Yutaka  <gniibe@@mri.co.jp>
d9040 8
a9047 1
	* gmalloc.c [__GLIBC__ >= 2]: Don't declare __getpagesize.
d9049 2
a9050 1
1997-02-28  Tomohiko MORIOKA  <morioka@@jaist.ac.jp>
d9052 1
a9052 2
	* coding.c (create_process, Fopen_network_stream): Typo in indexes
	of array proc_encode_coding_system fixed.
d9054 2
a9055 1
1997-02-28  Kenichi HANDA  <handa@@etl.go.jp>
d9057 1
a9057 1
	* Makefile.in (lisp, shortlisp): Add lao.elc.
d9059 2
a9060 4
	* buffer.c (init_buffer_once): Make member
	enable_multibyte_characters of struct buffer not always local.
	(reset_buffer): Do not reset b->enable_multibyte_characters.
	(syms_of_buffer): Declare default-enable-multibyte-characters.
d9062 2
a9063 2
	* category.h (CATEGORY_SET): For a composite character, return
	category set of the first component.
d9065 4
a9068 1
	* ccl.c (Fregister_ccl_program): Escape newlines in docstring.
d9070 1
a9070 4
	* coding.h (struct iso2022_spec): Member requested_designation is
	changed to array of `char' just for saving memory.
	(CODING_FLAG_ISO_INIT_AT_BOL, CODING_FLAG_ISO_DESIGNATE_AT_BOL):
	New macros.
d9072 2
a9073 18
	* coding.c (setup_coding_system): Now, flags of ISO2022 coding
	systems contains charsets instead of charset IDs.  Correct setting
	coding->symbol and coding->eol_type.  The performance improved.
	(encode_coding) : Fix typo ("=" -> "==").
	(detect_coding_iso2022, decode_coding_iso2022): Make the code
	robust against invalid SI and SO.
	(ENCODE_RESET_PLANE_AND_REGISTER): Argument `eol' is deleted.
 	Don't call ENCODE_DESIGNATION if nothing designated initially.
	(encode_designation_at_bol) New function.
	(encode_coding_iso2022): Handle CODING_FLAG_ISO_INIT_AT_BOL and
	CODING_FLAG_ISO_DESIGNATE_AT_BOL.
	(detect_coding_iso2022): Detect coding-category-iso-8-2 more
	precisely.
	(Ffind_coding_system, syms_of_coding): Escape newlines in
	docstring.
	
	* charset.h (INC_POS, DEC_POS): Don't increase or decrease too
	much if there's binary code (invalid character code).
d9075 2
a9076 2
	* data.c (Faref, Faset): Handle a composite char correctly in
	char-table.
d9078 1
a9078 1
	* disptab.h (DISP_CHAR_VECTOR): Allow bare 8-bit in display-table.
d9080 1
a9080 1
	* charset.c (Fcmpchar_cmp_rule): Escape newlines in docstring.
d9082 1
a9082 1
	* editfns.c (Fuser_full_name): Likewise.
d9084 1
a9084 2
	* fileio.c (Finsert_file_contents, Fwrite_region): Do not perform
	character code conversion if enable-multibyte-characters is nil.
d9086 1
a9086 1
	* fontset.h (Vuse_default_ascent): Extern.
d9088 1
a9088 9
	* fontset.c (syms_of_fontset): Intern Qfontset.  Declare new lisp
	variable use-default-ascent.
	(Vuse_default_ascent): New variable.
	(Ffont_info): Return also the value of default-ascent of a font.
	(fs_load_font): Disable updating fontsetp->height by non-ASCII
	character sets.  This should be enabled when Emacs supports
	variable height lines.
	(fs_load_font, Fset_fontset_font): Bug fix to cope
	with the change of charsets to symbols.
d9090 1
a9090 2
	* keymap.c (describe_vector): Do not describe deeper char-table if
	enable-multibyte-characters is nil.
d9092 2
a9093 7
	* process.c (proc_decode_coding_system,
	proc_encode_coding_system): Changed to array of pointers to struct
	coding_system to reduce the size of dumped Emacs.
	(create_process, Fopen_network_stream): Allocate them dynamically.
	(init_process): Initialize these pointers to NULL.
	(Fstart_process, Fopen_network_stream): Do not perform character
	code conversion if enable-multibyte-characters is nil.
d9095 2
a9096 2
	* search.c (skip_chars): If enable-multibyte-characters is nil,
	don't handle multibyte characters.
d9098 2
a9099 2
	* syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY): Cast arg C to
	`unsigned char' before indexing syntax table directly.
d9101 2
a9102 4
	* syntax.c (init_syntax_once): Add trick to avoid compiler warning
	of "comparison is always 1 ...".
	(describe_syntax): Handle the case that the argument VALUE is
	char-table.
d9104 1
a9104 2
	* xdisp.c (display_mode_line): Avoid error while compiling with
	--with-x=no.
d9106 1
a9106 2
	* xfns.c (syms_of_xfns): Documentation of
	x-pixel-size-width-font-regexp modified.
d9108 1
a9108 2
	* xselect.c (lisp_data_to_selection_data, selection_data_to_lisp_data):
	Remove prefix "coding-system-" from coding system symbol names.
d9110 1
a9110 2
	* xterm.h (struct x_display_info): New member
	Xatom_MULE_DEFAULT_ASCENT.
d9112 1
a9112 5
	* xterm.c (dumpglyphs): Pay attention to characters registered in
	use-default-ascent.  Fill background in advance if font has
	non-zero _MULE_BASELINE_OFFSET property.
	(x_load_font, x_term_init): Handle font property
	_MULE_DEFAULT_ASCENT.
d9114 1
a9114 1
1997-02-28  NIIBE Yutaka  <gniibe@@mri.co.jp>
d9116 2
a9117 1
	* sysdep.c: `ospeed' should be short if not HAVE_TERMIO_H.
d9119 1
a9119 5
	* xdisp.c (display_text_line): Correct displaying multi-column
	binary data.
	(try_window_id): Display blank lines from the next line, when
	xp.bufpos == ZV.  (This bug is introduced by changes of Mule).
 	Compare height against xp.vpos instead of xp.bufpos.
d9121 3
a9123 1
1997-02-27  Erik Naggum  <erik@@naggum.no>
d9125 1
a9125 1
	* lread.c (Fload): Call Vload_source_file_function with 4 args.
d9127 1
a9127 1
1997-02-22 Tsugutomo ENAMI  <enami@@ba2.so-net.or.jp>
d9129 2
a9130 1
	* regex.c: Include charset.h and category.h
d9132 1
a9132 4
	[!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P,	CHAR_HEAD_P,
	SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH,
 	STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2):
	New dummy macros.
d9134 2
a9135 2
	(enum re_opcode_t): New member categoryspec and
	notcategoryspec.
d9137 1
a9137 5
	(STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER,
	CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT,
	CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE,
	CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABLE
	CHARSET_PAST_RANGE_TABLE): New macros.
d9139 1
a9139 1
	(TRANSLATE): Cast return value to unsigned char, not char.
d9141 1
a9141 1
	(struct range_table_work_area): New structure.
d9143 2
a9144 4
	(EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA,
	FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED,
	RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros.
	(FREE_STACK_RETURN): Call FREE_RANGE_TABLE_WORK_AREA.
d9146 2
a9147 7
	(regex_compile): Declare `c' and `c1' as int to store
	multibyte characters.
	Declare range_table_work and initialize	it.
	Initialize bufp->multibyte to 0 if not emacs.
	For case '[' and `default', code re-written to handle
	multibyte characters.
	Add code for case 'c' and 'C' to handle category spec.
d9149 2
a9150 6
	(re_compile_fastmap): New local variables k, simple_char_max,
	and match_any_multibyte_characters.
	Use macro CHARSET_BITMAP_SIZE.
	Handle multibyte characters in cases charset, charset_not,
	wordchar, notwordchar, anychar, syntaxspec, notsyntaxspec,
	categoryspec, notcategoryspec.
d9152 1
a9152 1
	(STOP_ADDR_VSTRING, POS_ADDR_VSTRING): New macros.
d9154 1
a9154 1
	(re_search_2): Code re-written to handle multibyte characters.
d9156 1
a9156 1
	(AT_WORD_BOUNDARY): Macro disabled.
d9158 1
a9158 9
	(re_match_2_internal): New local variable multibyte.  `d' is
	incremented while paying attention to multibyte characters if
	necessary.
	For case charset, charsetnot, wordbound, notwordbound,
	wordbeg, wordend, matchsyntax, and matchnotsyntax, code
	re-written to handle multibyte characters.
	Add code for case categoryspec and notcategoryspec.
	 
	* regex.h (struct re_pattern_buffer): New member multibyte.
d9160 2
a9161 1
1997-02-21  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d9163 1
a9163 2
	* window.c (Fset_window_buffer): Increment display_count
	if it is an integer.
d9165 1
a9165 2
	* buffer.c (init_buffer_once): Set up display_count.
	(syms_of_buffer): Set up Lisp variable.
d9167 2
a9168 1
	* buffer.h (struct buffer): New field display_count.
d9170 3
a9172 1
1997-02-20  NIIBE Yutaka  <gniibe@@mri.co.jp>
d9174 1
a9174 10
	* dispnew.c (direct_output_forward_char): #if-0-out redundant
 	check against truncated text at end of line.
	Add giving-up for buffers with reverse direction.
	(remake_frame_glyphs): Use FRAME_MESSAGE_BUF_SIZE
 	instead of FRAME_WIDTH, as the message may include multi-byte
 	character and the length may be longer than width.
	(width_run_cache_on_off): Disable width-run-cache when
 	multi-byte characters are enabled.
	(skip_invisible): Don't put the boundary in the middle of
 	multibyte characters.
d9176 1
a9176 5
	* indent.c (current_column_bol_cache): New variable.  This makes
 	move_to_column faster.
	(current_column): Set current_column_bol_cache.
	(current_column_1): Likewise.
	(Fmove_to_column): Use current_column_bol_cache.
d9178 1
a9178 7
	* xdisp.c (display_text_line): Introduce new local variable
	rev_dir_bit to display right to left characters (not yet used).
	* xdisp.c (message): Use FRAME_MESSAGE_BUF_SIZE.
	(redisplay_internal): Add canceling code for continuation at
 	wide-column.
	(display_text_line): Don't just decrement left_edge->bufpos,
	it may be multi-byte character, use DEC_POS instead.
d9180 2
a9181 1
1997-02-20  NIIBE Yutaka  <gniibe@@mri.co.jp>
d9183 1
a9183 3
	Handle multi-byte and wide-column character in computing columns.
 	Note that we will find the continuation (linebreak) _AFTER_ it
 	occurs.
d9185 2
a9186 5
	* indent.c (current_column): When the buffer may have multi-byte
 	characters, call current_column_1.
	(compute_motion): Handle multi-byte characters.
	(current_column_1): Likewise.
	(Fmove_to_column): Likewise.
d9188 1
a9188 1
1997-02-20  NIIBE Yutaka  <gniibe@@mri.co.jp>
d9190 2
a9191 3
	Tab offset calculation changes.  We need this change because the
 	line may be less than WIDTH columns because of wide-character
 	continuation.
d9193 1
a9193 2
	* indent.h (struct position): New member tab_offset to accumulate
	tab offset.
d9195 2
a9196 4
	* xdisp.c (try_window): Change the way of calculation of tab
 	offset.  We now use val.tab_offset to maintain tab offset.
  	Removed local variable tab_offset.
	(try_window_id): Likewise.
d9198 2
a9199 5
	* indent.c: Include "charset.h".
	(compute_motion): Remove the variable PREV_VPOS.
	Introduce new local variables (multibyte, wide_column, prev_pos,
 	contin_hpos, prev_tab_offset) to handle multi-byte characters and
 	wide-column characters.
d9201 1
a9201 3
	(pos_tab_offset): Return COL (Modulo is no longer valid).
	Add the line to set tab_offset member.
	Use pos.tab_offset.
d9203 1
a9203 1
1997-02-20  NIIBE Yutaka  <gniibe@@mri.co.jp>
d9205 1
a9205 6
	* window.c (Fpos_visible_in_window_p): Bug fix.  Specify big
 	negative number for the argument TOHPOS of compute_motion.
	We don't need to calculate to (HPOS==0), but can stop immediately
	when VPOS pasts HEIGHT.
	* xdisp.c (redisplay_window): Likewise.
	(try_window_id): Likewise.
d9207 1
a9207 2
	* indent.c (pos_tab_offset): Specify "- (1 << (BITS_PER_SHORT - 1))"
 	to express big negative number (for consistency with xdisp.c).
d9209 1
a9209 1
1997-02-20  NIIBE Yutaka  <gniibe@@mri.co.jp>
d9211 1
a9211 3
	* indent.c (vmotion): Specify "1 << (BITS_PER_SHORT - 1)" to
 	express "Don't care".
	* xdisp.c (tri_window_id): Likewise.
d9213 2
a9214 2
	* dispnew.c (direct_output_forward_char): Bug fix.  Add
	XFASTINT (w->left) for losing cursor check.
d9216 3
a9218 1
1997-02-20  Kenichi HANDA  <handa@@etl.go.jp>
d9220 1
a9220 15
	* Makefile.in: The following changes are for new source codes
	related to Mule.
 	(XOBJ): Include fontset.o.
	(obj): Include charset.o, coding.o, category.o, and ccl.o.
	(lisp, shortlisp): Include Mule related elc files.
	(buffer.o, cmds.o, dispnew.o, doprnt.o): Depend on charset.h.
	(editfns.o, indent.o, insdel.o, keymap.o): Depend on charset.h.
	(minibuf.o, xdisp.o, xfaces.o, xselect.o): Depend on charset.h.
	(data.o, print.o, lread.o): Depend on charset.h.
	(callproc.o, fileio.o, process.o, term.o): Depend on charset.h and
	coding.h.
	(regex.o, search.o, syntax.o): Depend on charset.h and category.h.
	(fontset.o): Depend on charset.h and fontset.h.
	(xterm.o): Depend on charset.h, ccl.h, and fontset.h.
	(category.o, ccl.o, charset.o, coding.o, fontset.o): New targets.
d9222 1
a9222 4
	* alloc.c (Fmake_char_table): Typo in doc-string fixed.	 Handle
	the case that PURPOSE is nil (in a deeper char-table).
	(Fmake_bool_vector): Make correct size of Lisp_Object for
	bool-vector.
d9224 1
a9224 9
	* buffer.c: Include charset.h.
	(Fget_buffer_create): Allocate an extra byte for a buffer, and
	make it always 0 for anchoring.
	(reset_buffer): Handle a new member `enable_multibyte_characters'
	in the struct buffer.
	(fix_overlay_before): New function.
	(init_buffer_once): Handle new members in the struct buffer.
	(syms_of_buffer): Declare new buffer local variables
	`enable-multibyte-characters' and `direction-reserved'.
d9226 1
a9226 13
	* buffer.h (BEGV_ADDR, PT_ADDR, ZV_ADDR): Use macro POS_ADDR.
	(Z_ADDR, BUF_GPT_ADDR, BUF_Z_ADDR): New macros.
	(struct buffer): New members `category_table',
	`direction_reserved', and `enable-multibyte-characters'.
	(POS_ADDR): New macro used at all places instead of &FETCH_CHAR.
	(FETCH_BYTE): New macro used at any places to check the argument
	against an ASCII character.
	(FETCH_MULTIBYTE_CHAR): New macro used at any places to get a
	character code of the argument when it is known to be a multibyte
	character.
	(_fetch_multibyte_char_p, _fetch_multibyte_char_len): New
	variables.
	(FETCH_CHAR): Use macros FETCH_MULTIBYTE_CHAR and FETCH_BYTE.
d9228 1
a9228 3
	* callint.c (doc-string of `interactive'): Describe new code
	letters `i', `z', and `Z'.
	(Fcall_interactively): Handle them.
d9230 1
a9230 5
	* callproc.c: Include charset.h and coding.h.
	(Fcall_process): Perform character code conversion of a process
	arguments and the process output.
	(Fcall_process_region): Encode coding of a text given to a
	process.
d9232 1
a9232 9
	* cmds.c: Include charset.h.
	(forward_point, Fforward_point): New functions.
	(Fforward_char, Fdelete_char): Handle multibyte characters by
	calling forward_point.
	(Fdelete_backward_char): Pay attention to multibyte characters
	in overwrite-mode.
	(internal_self_insert): Handle self inserting a multibyte
	character.
	(syms_of_cmds): Handle the new function Fforward_point.
d9234 2
a9235 4
	* data.c: Include charset.h.
	(Qprocess): Now extern, not static.
	(Faref, Faset): Enable indexing a char table by a multibyte
	character.
d9237 1
a9237 3
	* dispextern.h (struct face): New members `non_ascii_gc' and
	`fontset'.
	[HAVE_FACES]: New macros FACE_NON_ASCII_GC and FACE_FONTSET.
d9239 1
a9239 2
	* dispnew.c: Include charset.h.
	(update_line): Handle wide-column characters.
d9241 1
a9241 2
	* disptab.h (DISP_CHAR_VECTOR): Always return nil for multibyte
	characters.
d9243 1
a9243 2
	* doprnt.c: Include charset.h.
	(doprn1): Handle multibyte characters.
d9245 2
a9246 14
	* editfns.c: Include charset.h.
	(Fchar_to_string, Fstring_to_char): Handle multibyte characters.
	(Fsref): New function.
	(Fgoto_char): Force point to be at a character boundary.
	(Ffollowing_char, Fpreceding_char): Handle multibyte characters.
	(Fchar_after): Handle multibyte characters.
	(Fchar_before): New function.
	(general_insert_function): New function.
	(Finsert, Finsert_and_inherit, Finsert_before_markers): Use it.
	(Finsert_char): Doc-string refer to markers of
	before-insertion-type. Handle multibyte characters.
	(Fsubst_char_in_region): Handle multibyte characters.
	(Fchar_equal): Don't consider `case' of multibyte characters.
	(syms_of_editfns): Handle the new function `char-before'.
d9248 3
a9250 2
	* emacs.c (main): Call several initialization function introduced
	by Mule.
d9252 2
a9253 1
	* eval.c (init_eval_once): Increase max_lisp_eval_depth to 300.
d9255 2
a9256 14
	* fileio.c: Include charset.h and coding.h.
	(READ_BUF_SIZE): New macro.
	(Finsert_file_contents): Refer to a coding system in the docstring.
	Perform character code conversion of a text read in.
	(Fwrite_region): Refer to a coding system in the docstring.
	Setup a coding system for character code conversion.
	Pass a new arg `pre_write_conversion' (Lisp function) to
	build_annotations.
	Pass a new arg `coding' to a_write.
	(build_annotations): Handle the new arg.
	(a_write): Handle the new arg `coding' by passing it to e_write.
	(WRITE_BUF_SIZE): New macro.
	(e_write): Perform character code conversion of a text to write
	out according to the new arg `coding'.
d9258 3
a9260 4
	* fns.c (Fcopy_sequence, concat, internal_equal, Ffillarray):
	Fix a bug of miscalculation of `size_in_chars' of a bool vector.
	(Fset_char_table_range): When range is vector, make the original
	char table deeper if necessary.
d9262 1
a9262 4
	* frame.c: Include "charset.h"
	[HAVE_WINDOW_SYSTEM]: Include fontset.h.
	(make_frame): Allocate member `fontset_data' of the struct frame.
	(Fdelete_frame): Free the area for the member.
d9264 2
a9265 2
	* frame.h (struct frame): New member `fontset_data'.
	(FRAME_MESSAGE_BUF_SIZE): New macro.
d9267 1
a9267 7
	* insdel.c: Include charset.h.
	(gap_left, gap_right): Put an anchor `\0' at the end of GAP.
	(adjust_markers_for_insert): If any markers are adjusted, check
	and fix the order of overlays in overlays_before.
	(make_gap): Allocate an extra byte and set to `\0' for anchoring.
	(insert1, insert_from_buffer_1): Put an anchor `\0' at the head of
	GAP.
d9269 2
a9270 5
	* keyboard.c (command_loop_1): Pay attention to a multibyte
	character while handling forward-char and backward-char.
	[!HAVE_NTGUI && XK_kana_A] (lispy_kana_keys): New variable.
	[!HAVE_NTGUI] (lispy_function_keys): New variable.
	(make_lispy_event) [XK_kana_A]: Handle kana keys.
d9272 1
a9272 6
	* keymap.c: Include charset.h.
	(push_key_description): If enable-multibyte-characters is t, use
	octal representation for a code of range 128..255 as binary.
	(Ftext_char_description): Handle multibyte characters.
	(describe_vector): Provide prettier description of a char table
	which contains multibyte characters.
d9274 3
a9276 9
	* lisp.h (CHARACTERBITS, GLYPH_MASK_REV_DIR): New macros.
	(GLYPH_MASK_PADDING, GLYPH_MASK_FACE, GLYPH_MASK_CHAR): New macros.
	[HAVE_FACES] (FAST_MAKE_GLYPH, FAST_GLYPH_CHAR, FAST_GLYPH_FACE):
	Use CHARACTERBITS.
	[!HAVE_FACES] (FAST_MAKE_GLYPH, FAST_GLYPH_CHAR, FAST_GLYPH_FACE):
	New macros.
	[!HAVE_FACES] (GLYPH_CHAR, GLYPH_FACE): Mask appropriate bits.
	(Fcoding_system_p, Fcheck_coding_system): Declare external.
	(Fread_coding_system, Fread_non_nil_coding_system): Likewise.
d9278 1
a9278 9
	* lread.c: Include charset.h.
	(Vload_source_file_function): New variable.
	(Fload): Call Vload_source_file_function if defined while loading
	an Emacs Lisp source file.  */
	(read_multibyte): New function.
	(read_escape): Handle multibyte characters.
	(read1): Correct the value of size_in_chars of a bool vector.
	Handle the case `?' is followed by a multibyte character.
	(Vload_source_file_function): New variable.
d9280 1
a9280 4
	* minibuf.c: Include charset.h.
	(read_minibuf): Pay attention to multibyte characters in the arg
	INITIAL while handling the arg BACKUP_N.
	(scmp, Fminibuffer_complete_word): Handle multibyte characters.
d9282 1
a9282 3
	* print.c: Include charset.h.
	(printchar, strout): Handle multibyte characters.
	(print): Correct the value of size_in_chars of a bool vector.
d9284 3
a9286 13
	* process.c: Include charset.h and coding.h.
	(proc_decode_coding_system, proc_encode_coding_system): New
	variables.
	(Fstart_process, create_process, Fopen_network_stream): Setup
	coding systems for character code conversion.
	(READ_CHILD_OUTPUT): New macro.
	(read_process_output): Perform character code conversion of a
	process output.
	(send_process): Perform character code conversion of a text sent
	to a process.
	(Fset_process_coding_system, Fprocess_coding_system): New
	functions.
	(syms_of_process): Handle them.
d9288 1
a9288 3
	* process.h (struct Lisp_Process): New members
	decode_coding_system, decoding_buf, encode_coding_system, and
	encoding_buf.
d9290 1
a9290 1
	* puresize.h (BASE_PURESIZE): Increase.
d9292 1
a9292 8
	* search.c: Include category.h and charset.h.
	(compile_pattern_1): Handle new argument `multibyte'.
	(compile_pattern): Handle the flag `enable-multibyte-characters'.
	(Vascii_downcase_table): Declare external.
	(fast_string_match_ignore_case): New function.
	(skip_chars): Handle multibyte characters.
	(trivial_regexp_p): Handle regular expression "\\Cc" and "\\CC"
	for category.
d9294 3
a9296 16
	* syntax.c: Include charset.h and category.h.
	(Vsyntax_code_object): New variable.
	(Fmodify_syntax_entry): Handle multibyte characters.  A multibyte
	character in matching parenthesis is also handled correctly.  Use
	shared object in the vector Vsyntax_code_object for an ASCII
	character.
	(describe_syntax): Handle a multibyte character in matching
	parenthesis.
	(describe_syntax_1): Describe also parent syntax tables.
	(scan_words, Fforward_comment): Handle multibyte characters.
	(scan_lists, char_quoted, Fbackward_prefix_chars): Likewise.
	(scan_sexps_forward): Likewise.
	(init_syntax_once): Initialize Vsyntax_code_object.
	Initialize Vstandard_syntax_table by share objects in
	Vsyntax_code_object.
	(syms_of_syntax): Staticpro Vsyntax_code_object.
d9298 1
a9298 6
	* syntax.h (SET_RAW_SYNTAX_ENTRY): Handle syntax of multibyte
	characters.
	(SYNTAX_ENTRY_FOLLOW_PARENT): New macro.
	(SYNTAX_ENTRY): Handle syntax of multibyte characters.
	(SYNTAX, SYNTAX_WITH_FLAGS, SYNTAX_MATCH): Don't signal error even
	if a syntax entry is not cons.
d9300 1
a9300 9
	* term.c: Include charset.h and coding.h.
	(TS_end_italic_mode, TS_italic_mode, TS_bold_mode): New variables.
	(TS_end_bold_mode, TS_end_underscore_mode): New variables.
	(TS_underscore_mode): New variable.
	(encode_terminal_code): New function.
	(write_glyphs, insert_glyphs): Perform character code conversion
	on output to a terminal.
	(term_init): Initialize TS_bold_mode, TS_end_bold_mode,
	TS_end_underscore_mode, and TS_underscore_mode.
d9302 2
a9303 7
	* xdisp.c: Include charset.h, coding.h, and process.h.
	(display_text_line): Handle multibyte characters.
	(display_mode_line): Pay attention to wide-column characters.
	(decode_mode_spec_coding): New function.
	(decode_mode_spec): Handle %-constructs `%z' and `%Z' to print
	coding system mnemonics.
	(display_string): Handle multibyte characters.
d9305 1
a9305 11
	* xfaces.c: Include charset.h.
	(allocate_face, copy_face, face_eq1): Handle member `fontset' of
	struct face, i.e. initialize, copy, and check it.
	(intern_face, clear_face_cache): Handle member `non_ascii_gc' of
	struct face, i.e. initialize and free it.
	(free_frame_faces): Unload font only when fontset is not used.
	Free non_ascii_gc.
	(frame_update_line_height, merge_faces, compute_base_face): Handle
	fontset.
	(recompute_base_faces): Free non_ascii_gc.
	(Fset_face_attribute_internal): Handle fontset.
d9307 4
a9310 7
	* xfns.c: Include charset.h and fontset.h.
	(Vx_pixel_size_width_font_regexp): New variable.
	(x_set_font): Handle fontset.
	(Fx_create_frame): Create fontsets in Vglobal_fontset_alist.
	(Fx_list_fonts): Handle fontset.
	(syms_of_xfns): Initialize Vx_pixel_size_width_font_regexp.
	Setting callback functions for fontset handler.
d9312 1
a9312 8
	* xselect.c: Include charset.h and coding.h.
	(QCOMPOUND_TEXT): New variable.
	(symbol_to_x_atom): Handle it.
	(selection_data_to_lisp_data): Decode a selection data if
	selection type is TEXT or COMPOUND_TEXT.
	(lisp_data_to_selection_data): Encode a text to COMPOUND_TEXT if
	it contains multibyte characters.
	(syms_of_xselect): Initialize and staticpro QCOMPOUND_TEXT.
d9314 2
a9315 15
	* xterm.c: Include charset.h, ccl.h, and fontset.h.
	(PER_CHAR_METRIC): New macro.
	(dumpglyphs): New argument CMPCHARP.  Handle multibyte characters.
	(XTwrite_glyphs, redraw_previous_char, redraw_following_char):
	Supply argument CMPCHARP to dumpglyphs.
	(dumprectangle): Display whole glyph of wide-column characters.
	Supply argument CMPCHARP to dumpglyphs.
	(show_mouse_face): Supply argument CMPCHARP to dumpglyphs.
	(x_draw_box): Pay attention to wide-column characters.
	(x_draw_single_glyph): Supply argument CMPCHARP to dumpglyphs.
	(x_new_font): Call fs_load_font for actual font loading work.
	(x_new_fontset): New function.
	(x_get_font_info, x_list_fonts, x_load_font, x_query_font): New
	functions providing API to fontset handler.
	(x_term_init): Initialize several new members of struct x_display_info.
d9317 1
a9317 8
	* xterm.h (struct font_info): This definition is moved to
	fontset.h.
	(struct x_display_info): New members Xatom_PIXEL_SIZE,
	Xatom_MULE_BASELINE_OFFSET, Xatom_RELATIVE_COMPOSE, and null_pixel.
	(x_list_fonts, x_get_font_info, x_load_font, x_query_font):
	Declare external.
	(struct x_output): New members font_baseline and fontset.
	(FRAME_FONTSET, FRAME_X_FONT_TABLE): New macros.
d9319 1
a9319 2
	* category.h, category.c, ccl.h, ccl.c, charset.h: New files.
	* charset.c, coding.h, coding.c, fontset.h, fontset.c: New files.
d9321 1
a9321 1
1997-02-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9323 2
a9324 3
	* print.c (print): Generate a backslash in \2e10.
	
1997-02-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9326 1
a9326 2
	* window.c (change_window_height): Take size from multiple siblings,
	nearest ones first, when that can be done without deleting any of them.
d9328 1
a9328 1
1997-02-07  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9330 3
a9332 2
	* minibuf.c (Fminibuffer_message): New function.
	(syms_of_minibuf): Set up Lisp function.
d9334 1
a9334 2
	* syntax.c (scan_lists): Signal errors using scan-error.
 	(syms_of_syntax): Set up Qscan_error.
d9336 5
a9340 1
1997-02-06  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9342 4
a9345 1
	* lread.c (Feval_buffer): Doc fix.
d9347 2
a9348 1
1997-02-03  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9350 1
a9350 4
	* window.c (scroll_preserve_screen_position): New variable.
	(keys_of_window): Set up Lisp var.
	(window_scroll): If scroll_preserve_screen_position is 0,
	behave the old way (advancing point the minimum distance).
d9352 3
a9354 1
1997-02-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9356 8
a9363 1
	* emacs.c (main): Don't extend stack limit too far.
d9365 2
a9366 1
Sun Feb  2 10:36:26 1997  Eli Zaretskii  <eliz@@wombat.gnu.ai.mit.edu>
d9368 1
a9368 3
	* msdos.c (dos_rawgetc): When international keyboard doesn't have
 	to be supported, recognize Alt-key combinations even if the Alt
	key is no longer pressed.
d9370 3
a9372 1
1997-01-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9374 2
a9375 4
	* xfns.c (Vx_resource_class): New variable.
	(syms_of_xfns): Set up Lisp variable.
	(Fx_get_resource, x_window): Use Vx_resource_class.
	(validate_x_resource_name): Ensure Vx_resource_class is a string.
d9377 1
a9377 1
1997-01-27  Paul Eggert  <eggert@@twinsun.com>
d9379 8
a9386 13
	* data.c (isnan): Define even if LISP_FLOAT_TYPE is not defined,
 	since fmod might need it.
	(fmod): Ensure that the magnitude of the result does not exceed that
	of the divisor, and that the sign of the result does not disagree with
	that of the dividend.  This does not yield a
	particularly accurate result, but at least it will be in the
	range promised by fmod.
	
	* doprnt.c: Include <float.h> if STDC_HEADERS.
	(DBL_MAX_10_EXP): Define if not defined; default is IEEE double.
	(doprnt1): Allocate enough buffer space to handle very large floating
	point numbers, or very large field widths or precisions.
	Detect overflow in field widths or precisions.
d9388 3
a9390 1
1997-01-26  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d9392 2
a9393 1
	* config.in (HAVE_RINT, HAVE_CBRT): Add undefs.
d9395 5
a9399 1
1997-01-26  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9401 1
a9401 3
	* lread.c (openp): Handle remote file names in path.
	Don't use the path for an absolute name.
	(Fload): Handle openp finding a remote file name.
d9403 4
a9406 1
1997-01-25  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d9408 5
a9412 2
	* floatfns.c [!HAVE_RINT] (rint): Convert macro to an actual
	function, so we can take its address.
d9414 2
a9415 1
1997-01-22  Andreas Schwab  <schwab@@issan.informatik.uni-dortmund.de>
d9417 2
a9418 4
	* indent.c (pos_tab_offset): Take the width of the minibuffer
	prompt into account.
	(vmotion): In calls to compute_motion use a value for tab_offset
	that is corrected by the minibuffer prompt width.
d9420 2
a9421 3
	* xdisp.c (try_window): Remove frobnication of tab_offset in a
 	minibuffer window.
	(display_text_line): Likewise, for the taboffset parameter.
d9423 3
a9425 1
1997-01-24  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9427 4
a9430 3
	* lread.c (Qinhibit_file_name_operation): New variable.
	(syms_of_lread): Initialize and staticpro.
	(Fload): Bind inhibit-file-name-operation to nil.
d9432 2
a9433 1
1997-01-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9435 1
a9435 1
	* eval.c (unbind_to, specbind): Use set_internal.
d9437 3
a9439 3
	* data.c (set_internal): New subroutine.  New arg BINDFLAG.
	Don't make a new buffer-local binding if BINDFLAG is 0.
	(Fset): Use set_internal.
d9441 9
a9449 1
1997-01-21  Paul Eggert  <eggert@@twinsun.com>
d9451 1
a9451 4
	* editfns.c (set_time_zone_rule_tz1, set_time_zone_rule_tz2):
	Put "+" in value; needed if we are a Solaris 1 executable
	running under Solaris 2.
	Define these variables only if LOCALTIME_CACHE is defined.
d9453 1
a9453 9
1997-01-21  Eli Zaretskii  <eliz@@wombat.gnu.ai.mit.edu>
		
	* msdos.c (run_msdos_command): Remove unused variables.
	(crlf_to_lf): Remove unused variables.
	(Fmsdos_downcase_filename): Remove unused variable.
	(IT_set_frame_parameters): Declare prototypes for external functions.
	(IT_set_frame_parameters): Correct format specifier.
	(IT_set_terminal_modes): Remove unused variable.
	(top level): Add header files which declare used functions.
d9455 1
a9455 1
1997-01-21  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9457 1
a9457 2
	* Makefile.in (stamp-oldxmenu): New target.
	(temacs): Depend on stamp-oldxmenu, not on ${OLDXMENU}.
d9459 1
a9459 1
1997-01-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9461 1
a9461 2
	* lisp.h (FAST_MAKE_GLYPH): Rename args to CHAR and FACE.
	Cast CHAR to unsigned char before using it.
d9463 1
a9463 1
	* xterm.c (dumpglyphs): Declare g as GLYPH.
d9465 3
a9467 1
1997-01-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9469 1
a9469 2
	* term.c (fatal): Print a newline at the end.
	(term_init): Calls to fatal changed.
d9471 1
a9471 1
	* eval.c (Fsignal): Call fatal if no error handlers and no catch.
d9473 2
a9474 4
	* dispnew.c (init_display): Check for overflow in screen size.
	Use `fatal'.
	
1997-01-19  Geoff Voelker  <voelker@@cs.washington.edu>
d9476 2
a9477 1
	* w32.c (init_environment): Rebuild Vsystem_configuration at startup.
d9479 1
a9479 1
	* w32gui.h: Update include conditionals to use new name.
d9481 10
a9490 15
	* w32gui.h: Renamed from win32.h.
	* dispextern.h, w32term.h, makefile.nt: Use new name w32gui.h.
	* makefile.nt: Update header comment.
	
	* w32console.c (initialize_w32_display): Renamed from 
	initialize_win_nt_display.
	* term.c (term_init): Use new name initialize_w32_display.
	
	* w32.c, w32console.c, w32faces.c, w32fns.c, w32heap.c,
	w32inevt.c, w32menu.c, w32proc.c, w32select.c, w32term.c,
	w32xfns.c, win32.h, w32inevt.h, w32term.h: Change all uses of win95,
	winnt, and win32 into Windows 95, Windows NT, and W32, respectively.
	Expand "win" substring in variables referring to Microsoft Windows 
	constructs into "windows".
	Canonicalize header comments to use same terminology.
d9492 1
a9492 1
1997-01-18  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9494 2
a9495 1
	* search.c (skip_chars): Optimize by not calling SET_PT in the loop.
d9497 1
a9497 1
1997-01-16  Erik Naggum  <erik@@naggum.no>
d9499 5
a9503 1
	* keymap.c (push_key_description): Print C-j, not LFD.
d9505 1
a9505 1
1997-01-16  Eli Zaretskii  <eliz@@wombat.gnu.ai.mit.edu>
d9507 2
a9508 2
	* msdos.c (XMenuActivate): Don't allow non-positive menu
	coordinates.
d9510 5
a9514 1
1997-01-15  Eli Zaretskii  <eliz@@is.elta.co.il>
d9516 1
a9516 2
	* keyboard.c (interrupt_signal): Make emergency exit work on MSDOS
	frames.  Block further SIGINTs while `interrupt_signal'	runs.
d9518 2
a9519 2
	* msdos.c (sigprocmask, sig_suspender): New functions, implement
	signal blocking on MSDOS.
d9521 1
a9521 1
1997-01-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9523 13
a9535 1
	* s/hpux9.h (HAVE_PSTAT_GETDYNAMIC): New definition.
d9537 1
a9537 1
1997-01-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9539 8
a9546 1
	* w32.c (get_emacs_configuration): Return windows95 instead of win95.
d9548 1
a9548 1
1997-01-13  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9550 2
a9551 2
	* dispnew.c (change_frame_size_1): Reject new sizes if they cause
	overflow.
d9553 1
a9553 1
1997-01-13  Eli Zaretskii  <eliz@@is.elta.co.il>
d9555 1
a9555 3
	* emacs.c (init_cmdargs) [MSDOS]: Allow `installation-directory'
	to be set if either `lib-src' or `info' are found as its
	subdirectories or siblings.
d9557 2
a9558 1
1997-01-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9560 1
a9560 2
	* fns.c (concat): Take modulus of thisindex before shifting.
	Declare thisindex as unsigned.
d9562 1
a9562 1
1997-01-12  Geoff Voelker  <voelker@@cs.washington.edu>
d9564 1
a9564 1
	* w32menu.c (x-popup-menu): Pass in insist flag to mouse_position_hook.
d9566 2
a9567 1
1997-01-11  Paul Eggert  <eggert@@twinsun.com>
d9569 1
a9569 7
	* floatfns.c (rounding_driver): New function for systematic support of
	2-argument rounding functions, so that `floor' isn't the only one
	that supports 2 arguments.
	(Fceiling, Ffloor, Fround, Ftruncate): Use it.
	(ceiling2, floor2, round2, truncate2, double_identity): New functions.
	(syms_of_floatfns): Define ceiling, round, and truncate even if
	LISP_FLOAT_TYPE is not defined.
d9571 2
a9572 1
1997-01-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9574 1
a9574 1
	* lread.c (read1): Round size of bool-vector properly.
d9576 3
a9578 1
	* print.c (print): Round size of bool-vector properly.
d9580 2
a9581 1
	* lread.c (read1): Fix error messages.
d9583 2
a9584 1
1997-01-09  Steve Nygard  <nygard@@telusplanet.net>
d9586 2
a9587 10
	* unexnext.c: Include <mach-o/reloc.h>.
	(fgrowth): Initialize to zero.
	(vmaddr_growth, dataseg_vmaddr, dataseg_vmend): New variables.
	[NS_TARGET] (extreloff, nextrel, dysymtab, reloc_info): New variables.
	(unexec_doit): Adjust file offsets of segments that follow the
	enlarged data segment.  Adjust vmaddr of the SEG_LINKEDIT segment that
	follows the data segment.
	[NS_TARGET] (unexec_doit): Adjust file offsets in the LC_DYSYMTAB load
	command that follows the data segment.  Zero out relocation entries
	that fall within the data segment.
d9589 1
a9589 1
1997-01-07  Karl Berry  <karl@@cs.umb.edu>
d9591 1
a9591 4
	* filelock.c (LOCK_PID_MAX): Use sizeof (unsigned long) instead
	of hardwiring 21.
	(lock_file_1): Use LOCK_PID_MAX when allocating lock_info_str
	instead of hardwiring 21.
d9593 3
a9595 1
1997-01-06  Eli Zaretskii  <eliz@@is.elta.co.il>
d9597 1
a9597 7
	* msdos.c (bright_bg): Save the original state of video blink bit.
	(maybe_enable_blinking): New function, restores the original state
	of the blink bit.
	(IT_reset_terminal_modes): Restore the original state of the blink
	bit when suspending/exiting.
	(run_msdos_command): Make sure bright background colors are again
	enabled after subsidiary program returns.
d9599 1
a9599 1
1997-01-06  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9601 3
a9603 2
	* data.c (Fset_default): For a BUFFER_OBJFWD, store into
	buffer_defaults even if mask < 0.
d9605 1
a9605 1
1997-01-04  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9607 1
a9607 4
	* keyboard.c (command_loop_1, read_char):
	Run Qecho_area_clear_hook when clearing echo area.
	(Qecho_area_clear_hook): New variable.
	(syms_of_keyboard): Initialize it.
d9609 1
a9609 1
	* buffer.c (Fpop_to_buffer): New arg NORECORD.
d9611 1
a9611 1
1997-01-04  Geoff Voelker  <voelker@@cs.washington.edu>
d9613 1
a9613 3
	* w32proc.c (compare_env, merge_and_sort_env): New functions.
	(sys_spawnve): Sort environment variables for subprocess.
	(ppid_env_var_buffer): Variable deleted.
d9615 1
a9615 1
1997-01-02  Karl Berry  <karl@@cs.umb.edu>
d9617 1
a9617 3
	* filelock.c (lock_info_type): Declare pid as unsigned long
	instead of int.
	(lock_file_1): Use %lu instead of %d in printf.
d9619 1
a9619 1
1997-01-01  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9621 1
a9621 2
	* cmds.c (internal_self_insert): Check the property
	on the hook, not on the abbrev symbol.
d9623 1
a9623 2
	* dispnew.c (update_frame): Call detect_input_pending
	for X as well as for termcap frames.
d9625 2
a9626 1
1996-12-31  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9628 1
a9628 3
	* bytecode.c (HANDLE_RELOCATION): New macro.
	(MAYBE_GC): Call HANDLE_RELOCATION.  Swallow following semicolon.
	(Fbyte_code): Use HANDLE_RELOCATION.
d9630 2
a9631 1
1996-12-31  Paul Eggert  <eggert@@twinsun.com>
d9633 1
a9633 3
	* s/nextstep.h, s/sco4.h (BROKEN_MKTIME): New macro.
	* Makefile.in (MKTIME_OBJ), config.in (mktime):
	Use BROKEN_MKTIME to determine whether mktime is broken.
d9635 1
a9635 7
1996-12-30  Paul Eggert  <eggert@@twinsun.com>
	
	* data.c, floatfns.c: <float.h>: Include if STDC_HEADERS.
	(IEEE_FLOATING_POINT): New symbol.
	* data.c (float_arith_driver, Fmod), floatfns.c (Ffloor):
	Test for division by 0 only if ! IEEE_FLOATING_POINT.
	* floatfns.c (fmod_float): New function.
d9637 1
a9637 2
	* Makefile.in (MKTIME_OBJ): Use our mktime instead of SCO
 	3.2v4.2's, since SCO's botches time arithmetic as used by display-time.
d9639 2
a9640 1
1996-12-30  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9642 1
a9642 1
	* bytecode.c (Fbyte_code): Add error check for jumping out of range.
d9644 1
a9644 1
	* s/hiuxmpp.h, m/sr2k.h: New files.
d9646 1
a9646 1
1996-12-29  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9648 1
a9648 1
	* Makefile.in (process.o): Depend on blockinput.h.
d9650 2
a9651 2
	* process.c: Include blockinput.h.
	(create_process): Block input around the fork.
d9653 6
a9658 1
1996-12-27  Karl Berry  <karl@@owl.HQ.Ileaf.COM>
d9660 1
a9660 1
	* filelock.c: Total rewrite.
d9662 4
a9665 1
1996-12-26  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9667 1
a9667 2
	* data.c (Ffset): Change argument name and doc string.
	(Fdefalias): Likewise.
d9669 2
a9670 1
1996-12-26  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d9672 2
a9673 1
	* xterm.c (x_iconify_frame): Clear visible when we set iconified.
d9675 1
a9675 1
1996-12-25  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d9677 2
a9678 7
	* window.c (window_scroll): Preserve vpos of point
	if we cannot preserve the actual position of it.
	Make it static.  New arg WHOLE; callers changed.
	
	* keyboard.c (read_char_x_menu_prompt): Unread and record all the
	input events from here.
	(record_menu_key): New subroutine.
d9680 2
a9681 2
	* xmenu.c (single_keymap_panes): New arg DEPTH.
	Cut off recursion at that depth.  Callers changed.
d9683 2
a9684 1
1996-12-23 +02  Eli Zaretskii  <eliz@@is.elta.co.il>
d9686 4
a9689 4
	* msdos.c (dos_set_keyboard): Test whether KEYB.COM is installed
	for international keyboard support.
	(dos_get_modifiers): If international keyboard support is NOT
	required, make both Right and Left Alt key behave like Meta key.
d9691 1
a9691 1
1996-12-22  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d9693 3
a9695 1
	* emacs.c (standard_args): Add -find-file and -visit.
d9697 3
a9699 2
	* cmds.c (internal_self_insert): If the abbrev has no expansion,
	just a hook, inhibit the insertion of the character.
d9701 2
a9702 2
	* abbrev.c (Fexpand_abbrev): Return the abbrev symbol,
	or nil if no expansion.
d9704 1
a9704 1
1996-12-20  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9706 1
a9706 1
	* xdisp.c (try_window): Add error check for POS.
d9708 1
a9708 1
1996-12-19  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9710 1
a9710 2
	* s/nextstep.h (LD_SWITCH_SYSTEM): Use just -X.
	(LIB_STANDARD): Alternate definition if NS_TARGET.
d9712 4
a9715 1
	* xfns.c (x_set_title): Check data type of NAME.
d9717 2
a9718 1
	* search.c (Fmatch_data): Doc fix.
d9720 1
a9720 1
1996-12-19  Werner Benger  <werner@@ast1.uibk.ac.at>
d9722 2
a9723 2
	* keyboard.c (modify_event_symbol):
	Don't index thru name_table if it is null.
d9725 2
a9726 1
1996-12-19  Erik Naggum  <erik@@naggum.no>
d9728 1
a9728 5
	* process.c (read_process_output, exec_sentinel):
	* w32menu.c (set_frame_menubar):
	* xdisp.c (prepare_menu_bars, update_menu_bar):
	* xmenu.c (set_frame_menubar):
	Call Fmatch_data with new explicit arguments.
d9730 1
a9730 1
1996-12-18  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9732 2
a9733 1
	* search.c (Fmatch_data): New args INTEGERS and REUSE.
d9735 1
a9735 2
	* process.c (send_process) [EMACS_HAS_USECS]:
	When we wait for the buffer to clear, wait just .02 second.
d9737 5
a9741 3
	* intervals.c (adjust_intervals_for_insertion):
	Be smarter about when to split an interval
	for properties that are not sticky on either side.
d9743 2
a9744 1
	* intervals.h (FRONT_NONSTICKY_P): New macro.
d9746 1
a9746 3
	* intervals.c (set_point): Use virtual bounds, not real bounds,
	in the abort test for POSITION.
	Skip the intangibility test if POSITION is at either end of buffer.
d9748 3
a9750 1
1996-12-18  Jonathan I. Kamens  <jik@@annex-1-slip-jik.cam.ov.com>
d9752 2
a9753 2
	* config.in (HAVE_LIBMAIL, HAVE_MAILLOCK_H, HAVE_TOUCHLOCK):
	Add #undefs.
d9755 1
a9755 1
1996-12-16  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9757 2
a9758 2
	* fileio.c (Finsert_file_contents): Handle BEG and END non-nil
	when REPLACE is non-nil.
d9760 1
a9760 1
1996-12-15  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9762 4
a9765 3
	* intervals.c (merge_properties_sticky): Don't discard explicit nil
	properties.  Don't put on a front-sticky property if we inherit
	one from the category that does the job.
d9767 1
a9767 1
	* config.in (HAVE_LIMITS_H): Add #undef.
d9769 1
a9769 1
1996-12-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9771 1
a9771 2
	* intervals.c (set_point): Check for intangible properties
	on overlays.
d9773 4
a9776 3
	* textprop.c (Fnext_char_property_change): New function.
	(Fprevious_char_property_change): New function.
	(syms_of_textprop): defsubr them.
d9778 1
a9778 1
1996-12-14  Lars Magne Ingebrigtsen  <larsi@@ifi.uio.no>
d9780 1
a9780 4
	* editfns.c (Fuser_full_name): Return nil if the specified user
	doesn't exist.
	(init_editfns): Set Vuser_full_name to "unknown" if the user name
	can't be resolved.
d9782 1
a9782 1
1996-12-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9784 2
a9785 1
	* strftime.c: Replace this with the version from libc.
d9787 1
a9787 1
1996-12-12  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9789 5
a9793 1
	* xfns.c (x_set_scroll_bar_width): Reject a width that's too small.
d9795 6
a9800 1
1006-12-10  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9802 3
a9804 1
	* buffer.c (syms_of_buffer): Doc fix (transient-mark-mode).
d9806 13
a9818 1
1996-12-10  Andrew Innes  <andrewi@@harlequin.co.uk>
d9820 3
a9822 2
	* fileio.c (Fwrite_region): Be careful not to destroy contents of
	existing file when appending.
d9824 4
a9827 1
1996-12-09  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9829 3
a9831 2
	* fileio.c (Fread_file_name_internal): Verify STRING is a string.
	(Fread_file_name): Don't insert DIR or INITIAL if it isn't a string.
a9832 1
1996-12-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9834 1
a9834 1
	* s/aix4-2.h: New file.
d9836 1
a9836 1
1995-12-08  Lars Magne Ingebrigtsen  <larsi@@ifi.uio.no>
d9838 1
a9838 1
	* editfns.c (Fuser_full_name): Use build_string instead of make_string.
d9840 1
a9840 1
1996-12-08  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d9842 1
a9842 1
	* callproc.c (Fcall_process_region): Define missing local `count'.
d9844 2
a9845 1
	* xdisp.c (message2_nolog): Handle minibuffer_auto_raise.
d9847 3
a9849 1
	* minibuf.c (syms_of_minibuf): Doc fix.
d9851 5
a9855 1
1996-12-07  Lars Magne Ingebrigtsen  <larsi@@ifi.uio.no>
d9857 4
a9860 3
	* editfns.c (Fuser_full_name): Accept a string (the login name) as
	a parameter.  Do ampersand expansion, if required.
	(init_editfns): Use it.
d9862 4
a9865 1
1996-12-06  Eli Zaretskii  <eliz@@is.elta.co.il>
d9867 1
a9867 2
	* msdos.c (IT_cmgoto): Don't update FRAME_CURSOR_X when the cursor
	is in echo area.
d9869 3
a9871 1
1996-12-05  Erik Naggum <erik@@naggum.no>
d9873 1
a9873 1
	* keyboard.c (syms_of_keyboard): Doc fix.
d9875 1
a9875 1
1996-11-28  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d9877 1
a9877 4
	* callproc.c (Vtemp_file_name_pattern): New variable.
	(syms_of_callproc): Set up Lisp variable.
	(init_callproc): Initialize it.
	(Fcall_process_region): Use it.
d9879 1
a9879 2
	* bytecode.c (MAYBE_GC): New macro.
	(Fbyte_code): Use MAYBE_GC in every goto opcode.
d9881 1
a9881 1
1996-11-25  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d9883 1
a9883 4
	* editfns.c (Fline_beginning_position, Fline_end_position): New fns.
	* cmds.c (Fend_of_line, Fbeginning_of_line):
	Use Fline_beginning_position, Fline_end_position.
	* lisp.h  (Fend_of_line, Fbeginning_of_line): Declared.
d9885 2
a9886 1
1996-11-23  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d9888 2
a9889 2
	* window.c (window_scroll): Don't set w->start or w->force_start
 	if signaling an error.
d9891 1
a9891 3
	* xmenu.c (Vmenu_updating_frame): New variable.
	(syms_of_xmenu): Set up Lisp var.
	(Fx_popup_menu, set_frame_menubar): Initialize it.
d9893 1
a9893 1
1996-11-23  Erik Naggum  <erik@@naggum.no>
d9895 1
a9895 1
	* keyboard.c (syms_of_keyboard): Doc fix for num-input-keys.
d9897 1
a9897 1
1996-11-22  Lars Magne Ingebrigtsen  <larsi@@ifi.uio.no>
d9899 5
a9903 2
	* editfns.c (Fuser_full_name): Accept an optional UID and return
	the full name of that user instead.
d9905 5
a9909 1
1996-11-20  Andrew Innes  <andrewi@@harlequin.co.uk>
d9911 5
a9915 2
	* w32fns.c (w32_wnd_proc): Use dummy message to wake up thread on
 	quit_char.
d9917 1
a9917 1
1996-11-19  Eli Zaretskii  <eliz@@is.elta.co.il>
d9919 1
a9919 12
	* msdos.c [__DJGPP__ >= 2] (dos_direct_output): Faster method of
	writing characters to the screen.
	(SCREEN_SET_CURSOR): Remove.
	(IT_display_cursor): New function, to turn the cursor on and off.
	(IT_cmgoto): New function, sets the cursor to its final position
	whenever frame update is complete.
	(internal_terminal_init): Set IT_cmgoto as the hook to be called
	when frame is up to date.
	(dos_rawgetc): Call IT_cmgoto instead of the SCREEN_SET_CURSOR
	macro (which is gone now).
	(XMenuActivate): Turn off the cursor while the menu is displayed,
	to prevent it from showing through the menu panes.
d9921 1
a9921 1
1996-11-19  Geoff Voelker  <voelker@@cs.washington.edu>
d9923 11
a9933 9
	* w32.c, w32.h: Renamed from nt.c, nt.h.
	* w32heap.c, w32heap.h: Renamed from ntheap.c, ntheap.h.
	* w32inevt.c, w32inevt.h: Renamed from ntinevt.c, ntinevt.h.
	* w32proc.c: Renamed from ntproc.c.
	* w32console.c: Renamed from w32term.c.
	* unexw32.c: Renamed from unexnt.c.
	* s/ms-w32.h: Renamed from s/windowsnt.h.
	
	* dispnew.c (init_display) [HAVE_NTGUI]: Use w32 for window-system.
d9935 7
a9941 1
	* Makefile.in, callproc.c, makefile.nt: Use new names for w32 files.
d9943 3
a9945 1
1996-11-18  Geoff Voelker  <voelker@@cs.washington.edu>
d9947 1
a9947 5
	* emacs.c, frame.c, frame.h, keyboard.c, nt.c, nt.h,
 	ntheap.c, ntheap.h, ntinevt.c, ntinevt.h, ntproc.c, ntterm.c,
 	termhooks.h, unexnt.c, w32faces.c, w32fns.c, w32menu.c, w32reg.c,
 	w32select.c, w32term.c, w32term.h, w32xfns.c, s/windowsnt.h:
	Change identifiers of the form win32* to w32*.
d9949 1
a9949 2
	* window.c (special-display-p, same-window-p): Add missing
	newlines and backslashes in help strings.
d9951 1
a9951 1
1996-11-12  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9953 1
a9953 2
	* xdisp.c (redisplay_window): When handling scroll_conservatively,
	scroll a little farther for the sake of scroll_margin.
d9955 3
a9957 1
1996-11-11  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9959 3
a9961 3
	* abbrev.c (Fexpand_abbrev): If the abbrev's expansion is nil,
	don't expand it, but do still call the hook.
	(Fdefine_abbrev): Allow anything for EXPANSION.
d9963 1
a9963 1
	* frame.c (Fmodify_frame_parameters): Use alist in reverse order.
d9965 2
a9966 1
1996-11-10  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9968 1
a9968 4
	* process.c (status_notify): Test p->infd > 0
	before each call to read_process_output.
	(read_process_output): Handle match data properly in recursive calls.
	(exec_sentinel): Likewise.
d9970 1
a9970 2
	* window.c (window_scroll): Handle scroll_margin
	by putting point at a place that won't force recentering.
d9972 1
a9972 4
	* xdisp.c (scroll_margin): New variable.
	(init_xdisp): Set up Lisp variable.
	(redisplay_window): Implement scroll_margin; don't use old start pos
	if point is inside the margin.
d9974 2
a9975 1
1996-11-09  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9977 1
a9977 4
	* window.h (struct window): New field optional_new_start.
	* xdisp.c (redisplay_window): Handle optional_new_start.
	* window.c (Fdelete_other_windows): Set optional_new_start
	instead of force_start.
d9979 3
a9981 5
	* insdel.c (signal_after_change): If Vcombine_after_change_calls,
	save up changes in combine_after_change_list.
 	(Fcombine_after_change_execute)
	(Fcombine_after_change_execute_1): New subroutines.
	(syms_of_insdel): New function.
d9983 4
a9986 1
	* emacs.c (main): Call syms_of_insdel.
d9988 1
a9988 2
	* fns.c: Include frame.h and window.h.
	(Fy_or_n_p): Handle minibuffer_auto_raise here.
d9990 3
a9992 1
	* Makefile.in (fns.o): Depend on frame.h and window.h.
d9994 1
a9994 1
1996-11-08  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d9996 4
a9999 2
	* macros.c (Fcall_last_kbd_macro): Set this_command from last_command
	on entry and again on exit.
d10001 7
a10007 1
1996-11-07  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10009 3
a10011 1
	* frame.c (Fmodify_frame_parameters): Doc fix.
d10013 1
a10013 3
	* fileio.c (USG5 or BSD_SYSTEM or LINUX): Include fcntl.h.
	(Ffile_readable_p): Return immediately if stat fails.
	Call S_ISFIFO correctly.
d10015 7
a10021 1
1996-11-06  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10023 1
a10023 1
	* editfns.c (Fencode_time): Doc fix.
d10025 5
a10029 1
1996-11-06  John F. Carr  <carrj@@polaroid.com>
d10031 6
a10036 2
	* dired.c (Ffile_attributes): Represent inode number as a pair of
	integers in case inode numbers do not fit in a Lisp integer.
d10038 3
a10040 1
1996-11-06  Eli Zaretskii  <eliz@@is.elta.co.il>
d10042 4
a10045 3
	* msdos.c [__DJGPP_MINOR__ == 0] (_rename): New function, a
	substitute for library low-level file-renaming function which
	works around Windows 95 bug.
d10047 2
a10048 1
1996-11-06  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10050 1
a10050 3
	* window.c (window_loop, case GET_BUFFER_WINDOW):
	Don't find any minibuffer window
	except the one that is currently in use.
d10052 1
a10052 1
1996-11-05  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10054 1
a10054 1
	* fileio.c (S_ISFIFO): Default definition (if S_IFIFO is defined).
d10056 3
a10058 1
	* editfns.c (Fencode_time): Use xfree, not free.
d10060 1
a10060 1
	* print.c (PRINTFINISH): Use xfree, not free.
d10062 1
a10062 1
1996-11-04  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10064 7
a10070 1
	* xfns.c (Fx_create_frame): Look for X-resource for minibuffer.
d10072 1
a10072 2
	* alloc.c (Fgarbage_collect): Use Vhistory_length
	for truncating Vcommand_history.
d10074 1
a10074 1
	* print.c (PRINTPREPARE): Really do set free_print_buffer.
d10076 2
a10077 3
	* xdisp.c (scroll_conservatively): New variable.
	(redisplay_window): Obey it.
	(syms_of_xdisp): Set up Lisp var.
d10079 1
a10079 1
1996-11-02  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10081 1
a10081 3
	* minibuf.c (choose_minibuf_frame): Don't change selected_frame's
	selected window even if it is a minibuffer window,
	if it is active.
d10083 4
a10086 1
1996-11-01  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10088 1
a10088 7
	* print.c (PRINTDECLARE): Declare specpdl_count and free_print_buffer.
	(PRINTPREPARE): If print_buffer is nonzero,
	save its contents in a string using record_unwind_protect.
	(PRINTFINISH): Restore old print_buffer contents.
	Free it only if this PRINTPREPARE malloc'd it.
	(print): Don't call PRINTFULLP after all.
	(print_unwind): New function.
d10090 1
a10090 5
	* print.c (printchar, strout): Do QUIT for echo area output.
	(PRINTFULLP): New macro.
	(print): Exit if PRINTFULLP.
	When printing a symbol, don't save a pointer to the name.
	(PRINTFINISH): Null out print_buffer after freeing it.
d10092 1
a10092 1
1996-10-31  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d10094 2
a10095 4
	* xterm.c (cancel_mouse_face): New function.  Code copied from
	x_set_window_size, fixing a bug.
	(x_set_window_size): Use cancel_mouse_face.
	(XTread_socket): When frame size has changed, call cancel_mouse_face.
d10097 1
a10097 1
	* widget.c (EmacsFrameResize): Use cancel_mouse_face.
d10099 4
a10102 1
1996-10-31  Erik Naggum  <erik@@naggum.no>
d10104 1
a10104 8
	Reorganize function definitions so etags finds them.
	* abbrev.c (Finsert_abbrev_table_description).
	* editfns.c (Finsert_and_inherit_before_markers).
	* eval.c (Frun_hook_with_args, Frun_hook_with_args_until_success,
 	Frun_hook_with_args_until_failure).
	* window.c (Fcurrent_window_configuration).
	* xselect.c (Fx_own_selection_internal, Fx_get_selection_internal,
 	Fx_disown_selection_internal).
d10106 1
a10106 1
1996-10-30  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d10108 7
a10114 1
	* emacs.c (main): Clear out *Messages* before init_callproc.
d10116 1
a10116 2
	* keyboard.c (command_loop_1): Update selected buffer again
	after read_key_sequence.
d10118 1
a10118 1
1996-10-29  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d10120 1
a10120 1
	* callproc.c (init_callproc): Use dir_warning.
d10122 9
a10130 2
	* lread.c (dir_warning): New function.
	(init_lread): Use dir_warning.
d10132 1
a10132 1
1996-10-28  Erik Naggum  <erik@@naggum.no>
d10134 2
a10135 1
	* alloc.c (Fmake_char_table): Doc fix.
d10137 1
a10137 1
1996-10-25  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d10139 1
a10139 2
	* keymap.c (describe_buffer_bindings): Pass 1 for PARTIAL
	in some calls to describe_map_tree.
d10141 1
a10141 1
1996-10-24  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d10143 1
a10143 2
	* process.c (status_notify): Update p->tick again
	just before running the sentinel, in case it dies.
d10145 7
a10151 1
1996-10-23  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d10153 1
a10153 2
	* xdisp.c (decode_mode_spec): In the `L' case,
	remove a buffer from base_line_pos if window has switched buffers.
d10155 2
a10156 1
1996-10-15  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10158 4
a10161 4
	* minibuf.c (read_minibuf_unwind): Don't restore minibuf_window;
	instead call choose_minibuf_frame.
	(choose_minibuf_frame): Don't let any other frame keep its minibuf
	window selected.
d10163 1
a10163 2
	* xterm.c (XTread_socket, KeyPress case): Clear compose_status
	if the key has the meta modifier.
d10165 1
a10165 1
1996-10-14  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10167 1
a10167 1
	* eval.c (Vdebug_on_signal): Renamed from Vdebug_force.
d10169 2
a10170 1
1996-10-13  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10172 1
a10172 5
	* m/pmax.h (BROKEN_O_NONBLOCK): Define only if Ultrix.
	(LIBS_MACHINE, KERNEL_FILE): Don't define if __NetBSD__.
	(C_SWITCH_X_MACHINE): Define only if Ultrix.
	[__NetBSD__] (START_FILES, CANNOT_DUMP): New definitions.
	[__NetBSD__] (RUN_TIME_REMAP, UNEXEC): Undef them.
d10174 2
a10175 1
	* m/mips.h (UNEXEC): Undef before defining.
d10177 2
a10178 3
	* fileio.c (Fexpand_file_name):
	No longer discard .../ before another / or ~.
	That is now only in Fsubstitute_in_file_name.
d10180 1
a10180 1
1996-10-12  Simon Marshall  <simon@@duality.gnu.ai.mit.edu>
d10182 3
a10184 2
	* data.c (Fdefine_function): Function definition deleted.
 	(syms_of_data): Don't call defsubr for it.
d10186 2
a10187 1
1996-10-12  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10189 1
a10189 4
	* xterm.c (XTwrite_glyphs, XTclear_end_of_line, XTclear_frame)
	(clear_cursor, x_display_bar_cursor, x_display_box_cursor)
	(x_set_window_size): Use phys_cursor_on field in frame.
	(x_update_cursor): Negative phys_cursor_x no longer means anything.
d10191 1
a10191 1
	* frame.h (struct frame): New field phys_cursor_on.
d10193 1
a10193 1
1996-10-08  David Kgedal  <davidk@@lysator.liu.se>
d10195 2
a10196 2
	* xmenu.c (Fx_popup_menu): Give the menu a title when the menu is
 	a single keymap.
d10198 1
a10198 1
1996-10-07  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10200 2
a10201 1
	* s/ptx.h (POSIX_SIGNALS): New definition.
d10203 1
a10203 2
	* dispnew.c (init_display): If not yet initialized,
	we can't really use X, so we must do the real work.
d10205 2
a10206 1
1996-10-06  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10208 1
a10208 3
	* xdisp.c (display_text_line): New arg ovstr_done.  (Callers changed).
	Ignore that many chars from start of overlay strings.
	Return updated value in ovstring_chars_done field.
d10210 5
a10214 2
	* indent.c (vmotion, compute_motion): Fill in ovstring_chars_done
	in the return value.
d10216 1
a10216 1
	* indent.h (struct position): New field ovstring_chars_done.
d10218 2
a10219 1
1996-10-06  Erik Naggum  <erik@@naggum.no>
d10221 6
a10226 3
	* window.c (Fspecial_display_p, Fsame_window_p): New functions.
	(Fdisplay_buffer): Use them, instead of doing the work here.
	(syms_of_window): Defsubr them.
d10228 2
a10229 1
1996-10-05  Marcus G. Daniels  <marcus@@coulee.tdb.com>
d10231 19
a10249 2
	* xfns.c (x_set_internal_border_width):  Only change
 	an edit_widget's internal_border_width for the toolkit case.
a10250 1
1996-10-04  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10252 1
a10252 1
	* lread.c (openp): Omit /: from start of file name.
d10254 1
a10254 1
1996-10-03  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10256 1
a10256 3
	* buffer.c (init_buffer): Add /: to dir names that could be magic.
	* emacs.c (decode_env_path): Add /: to dir names that could be magic.
	(init_cmdargs): Add /: to argv[0] if it could be magic.
d10258 2
a10259 1
1996-10-02  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d10261 2
a10262 2
	* xfns.c (syms_of_xfns): For x-sensitive-text-pointer-shape, use
	DEFVAR_LISP.
d10264 1
a10264 1
1996-10-01  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d10266 2
a10267 2
	* frame.c (store_frame_param): Allow setting a frame's minibuffer
	to the value that it already has.
d10269 1
a10269 1
1996-10-01  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d10271 1
a10271 1
	* buffer.c (syms_of_buffer): Doc fix.
d10273 1
a10273 1
1996-09-28  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10275 1
a10275 1
	* xterm.c (show_mouse_face): Undo 1996-08-30 change.
d10277 1
a10277 2
	* s/irix5-0.h (ospeed): New definition.
	* s/irix6-0.h (ospeed): New #undef to counteract that definition.
d10279 1
a10279 1
1996-09-27  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10281 1
a10281 2
	* xterm.c (XTflash): Don't flash in the internal borders.
	or between a scroll bar and the edge.
d10283 2
a10284 4
	* eval.c (Vdebug_force): New variable.
	(syms_of_eval): Set up Lisp var.
	(find_handler_clause): If Vdebug_force, call debugger
	even if there are handlers.
d10286 1
a10286 1
1996-09-26  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>
d10288 1
a10288 2
	* xfns.c (x_set_scroll_bar_width): Move cursor to the 
	left margin, past a scroll bar, if any.
d10290 4
a10293 1
1996-09-26  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10295 1
a10295 1
	* lread.c (isfloat_string): Accept E like e.
d10297 1
a10297 2
	* callint.c (Fcall_interactively): Bind cursor-in-echo-area to t
	for `k' and `K'.
d10299 3
a10301 1
	* s/hpux10.h (KERNEL_FILE): Redefine it here.
d10303 3
a10305 1
1996-09-25  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10307 1
a10307 3
	* textprop.c (Fset_text_properties, Fadd_text_properties)
	(Fremove_text_properties): Call modify_region and signal_after_change
	only for buffers, not for strings.
d10309 1
a10309 1
	* xterm.c (XTflash): Flash just top and bottom screen line.
d10311 1
a10311 1
	* window.c (syms_of_window): Doc fixes.
d10313 1
a10313 1
1996-09-25  Marcus Daniels  <marcus@@sysc.pdx.edu>
d10315 1
a10315 2
	* s/irix5-0.h (sigsetmask, _longjmp, _setjmp): #undef them.
	(_BSD_SIGNALS): Definition deleted.
d10317 1
a10317 1
1996-09-25  Eli Zaretskii  <eliz@@is.elta.co.il>
d10319 2
a10320 2
	* dosfns.c (init_dosfns): When setting `__opendir_flags' value,
	override the bits recorded when dumping.
d10322 1
a10322 1
1996-09-24  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10324 2
a10325 1
	* w32term.c (w32_read_socket): Delete WAITP arg.
d10327 1
a10327 1
	* keyboard.c (read_avail_input): Don't pass WAITP to read_socket_hook.
d10329 1
a10329 1
	* xterm.c (XTread_socket): Delete WAITP arg.
d10331 1
a10331 1
	* config.in (HAVE_GETCWD): Add #undef.
d10333 2
a10334 4
	* fileio.c (Vuser_login_name): Declared extern.
	(minibuf_level): extern decl moved to top level.
	(Fwrite_region): Query before writing to a file that is locked,
	even if it is locked by the same user.
d10336 1
a10336 4
	* textprop.c (set_properties, add_properties, remove_properties):
	Don't call modify_region or signal_after_change here.
	(Fset_text_properties, Fadd_text_properties, Fremove_text_properties):
	Call them here when appropriate.
d10338 2
a10339 1
	* Makefile.in (LIBES): Add LOADLIBES and LDLIBS.
d10341 1
a10341 1
1996-09-24  Eli Zaretskii  <eliz@@is.elta.co.il>
d10343 3
a10345 2
	* msdos.c (run_msdos_command): When testing whether a shell
	belongs to the MSDOS family, convert its name to lower-case.
d10347 2
a10348 1
1996-09-24  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10350 1
a10350 3
	* eval.c (Vsignal_hook_function): New variable.
	(syms_of_eval): Set up Lisp variable.
	(Fsignal): Call that function.
d10352 5
a10356 4
	* xfns.c (x_set_internal_border_width, Fx_create_frame):
	Call widget_store_internal_border.
	(Fx_create_frame): Don't use a superclass when
	checking for an internalBorder resource.
d10358 1
a10358 2
	* widget.c (widget_store_internal_border): New function.
	(EmacsFrameSetValues): Undo previous change.
d10360 2
a10361 1
1996-09-23  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10363 2
a10364 2
	* xfns.c (x_window): With Motif, double extra_borders.
	Use a preprocessor conditional to test for Motif.
d10366 2
a10367 3
	* frame.h (struct frame): New field window_width.
	(FRAME_WINDOW_WIDTH): Refer to window_width field.
	(SET_FRAME_WIDTH): Set window_width field as well as width field.
d10369 1
a10369 1
1996-09-22  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10371 2
a10372 2
	* eval.c (syms_of_eval): Initialize Vrun_hooks here.
	Don't make it a Lisp variable.
d10374 2
a10375 1
	* frame.c (Fdelete_frame): Set update_mode_lines.
d10377 1
a10377 1
	* emacs.c (main): Add copyright etc. to --version output.
d10379 1
a10379 1
1996-09-21  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10381 3
a10383 2
	* bytecode.c (Bsave_current_buffer): New macro.
	(Fbyte_code): Handle Bsave_current_buffer.
d10385 1
a10385 2
	* editfns.c (Fsave_current_buffer): New function.
	(syms_of_editfns): defsubr it.
d10387 1
a10387 2
	* search.c (REGEXP_CACHE_SIZE): Increase to 20.
	(compile_pattern): Check for size match before calling Fstring_equal.
d10389 1
a10389 1
1996-09-21  Paul Eggert  <eggert@@twinsun.com>
d10391 2
a10392 4
	* editfns.c: For time zone difference calculations, use the same
 	code as the GNU C Library; this fixes a bug with large negative years.
	(tm_diff): Renamed from difftm.  Yield int, not long.
	(TM_YEAR_BASE): Renamed from TM_YEAR_ORIGIN.
d10394 1
a10394 1
1996-09-21  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10396 2
a10397 1
	* xdisp.c (echo_area_display): Clear the left-side scroll bar columns.
d10399 1
a10399 1
1996-09-20  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10401 2
a10402 2
	* xterm.c (x_scroll_bar_create, x_scroll_bar_move): 
	(x_scroll_bar_expose): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM.
d10404 1
a10404 3
	* xterm.h (VERTICAL_SCROLL_BAR_WIDTH_TRIM): Renamed from
	LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM.
	(VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM.
d10406 2
a10407 2
	* widget.c (EmacsFrameSetValues): Copy internal_border_width
	from the Emacs frame if caller isn't changing it.
d10409 2
a10410 1
	* xfns.c (Fx_create_frame): Default Qinternal_border_width to 1.
d10412 2
a10413 2
	* xterm.c (XTchange_line_highlight, dumpglyphs, XTclear_end_of_line)
	(do_line_dance, pixel_to_glyph_coords): Use FRAME_WINDOW_WIDTH.
d10415 1
a10415 2
	* xfns.c (x_set_scroll_bar_width): Default the width to 3 cols.
	Call change_frame_size.
d10417 4
a10420 2
	* xterm.c (x_scroll_bar_move, x_scroll_bar_create):
	Add a border around the actual window.
d10422 1
a10422 2
	* dispnew.c (make_frame_glyphs, update_line, update_frame)
	(scroll_frame_lines, char_ins_del_cost): Use FRAME_WINDOW_WIDTH.
d10424 1
a10424 2
	* minibuf.c (read_minibuf): Use FRAME_LEFT_SCROLL_BAR_WIDTH
	to set the cursor position at the end.
d10426 3
a10428 1
	* xterm.c (x_scroll_bar_expose): Don't trim the width here.
d10430 10
a10439 2
	* xdisp.c (display_mode_line): Use faces for inverse video mode line
	whenever that possible.
d10441 3
a10443 1
	* xfns.c (Fx_create_frame): Default Qvertical_scroll_bars to `left'.
d10445 1
a10445 1
Fri Sep 20 02:37:37 1996  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>
d10447 1
a10447 10
	* xterm.c (XTclear_end_of_line): Shift end-of-line when there is a
 	left-side scroll bar by FRAME_LEFT_SCROLL_BAR_WIDTH.
	(do_line_dance): Take into account the width of a left-side scroll bar.
	(dumprectangle): Trim at FRAME_WINDOW_WIDTH instead of FRAME_WIDTH.
	(fast_find_position): Use new macro WINDOW_LEFT_MARGIN.
	(show_mouse_face): Likewise.
	(x_scroll_bar_set_handle): VERTICAL_SCROLL_BAR_INSIDE_WIDTH now
 	requires the frame as an argument.
	(x_scroll_bar_expose): Narrow the box slightly for a left-side
 	scroll bar.
d10449 1
a10449 8
	* xfns.c:  Add the symbol `right'; this symbol is used to indicate
	that a right-side scroll bar is wanted.
	(x_set_vertical_scroll_bars): Check for left<->right<->none 
	scroll bar changes, and modify the vertical scroll bar type
	as appropriate.
	(x_figure_window_size): Use new SET_FRAME_WIDTH macro.
	(Fx_create_frame): Likewise.
	(Fx_horizontal_line): Use new macro WINDOW_LEFT_MARGIN.
d10451 1
a10451 21
	* xdisp.c (echo_area_display): Shift display_string past a
 	left-side scroll bar.
	(redisplay_window): Likewise.
	(redisplay_internal): Shift cursor past a left-side scroll bar.
	(redisplay_window): Likewise.
	(try_window_id): Likewise.
	(display_text_line): Likewise.
	(redisplay_internal): Shift charstarts past a left-side scroll bar.
	(display_text_line): Likewise.
	(redisplay_internal): Use new macro WINDOW_FULL_WIDTH_P.
	(redisplay_window): Likewise.
	(display_text_line): Likewise.
	(display_text_line): Shift output past left-side scroll bar.
	(display_text_line): Use new WINDOW_RIGHTMOST_P macro.
	(display_text_line): Don't pad right columns unless using
 	a right-side scroll bar.  Don't draw vertical bars unless there
 	isn't any kind of scroll bar.
	(display_string): Likewise.
	(display_mode_line): Use new macros WINDOW_LEFT_MARGIN,
 	WINDOW_RIGHT_MARGIN, and WINDOW_FULL_WIDTH_P.
	(display_string): Use new macro WINDOW_RIGHTMOST_P.
d10453 6
a10458 6
	* window.c (Fwindow_edges): Use new WINDOW_RIGHT_EDGE macro.
	(coordinates_in_window): Use WINDOW_LEFT_MARGIN, WINDOW_RIGHT_MARGIN,
	and WINDOW_RIGHT_EDGE.  Adjust for left-side scroll bar margin.
	(window_loop, Fdisplay_buffer): Use new WINDOW_FULL_WIDTH_P macro.
	(window_internal_width): Window width now always includes the
 	scroll bar, if any.  Use WINDOW_RIGHTMOST_P and WINDOW_FULL_WIDTH_P.
d10460 1
a10460 2
	* w32term.c (fast_find_position, show_macro_face): Use new
 	WINDOW_LEFT_MARGIN macro.
d10462 3
a10464 7
	* w32fns.c (Qright): New variable.
	(syms_of_win32fns): Initialize and staticpro Qright.
	(x_set_vertical_scroll_bars): Check for left<->right<->none 
	scroll bar changes, and modify the vertical scroll bar type
	as appropriate.
	(x_figure_window_size): Use new SET_FRAME_WIDTH macro.
	(Fx_create_frame): Likewise.
d10466 4
a10469 2
	* term.c (term_init): Use new vertical scroll bar enumerated type.
	(term_init): Use new macro SET_FRAME_WIDTH.
d10471 1
a10471 1
	* sunfns.c (Fsun_menu_internal): Use new WINDOW_LEFT_MARGIN macro.
d10473 3
a10475 1
	* ntterm.c (initialize_win_nt_display): Use SET_FRAME_WIDTH.
d10477 2
a10478 4
	* keyboard.c (make_lispy_event): When converting from pixel to
 	glyph coordinates, offset by WINDOW_LEFT_MARGIN instead of XINT
 	(XWINDOW (window)->left; this is necessary when there are
 	left-side scrollbars.
d10480 1
a10480 3
	* frame.c (make_frame): Switch from boolean
 	`has_vertical_scrollbars' integer to an enumerated type.
	Use new macro SET_FRAME_WIDTH.
d10482 1
a10482 19
	* dispnew.c (preserve_other_columns, preserve_my_columns): Use new
	macros WINDOW_LEFT_MARGIN and WINDOW_RIGHT_EDGE.
	(adjust_window_charstarts, verify_charstarts, cancel_my_columns):
	Use new macro WINDOW_LEFT_MARGIN instead of w->left.
	(direct_output_for_insert, direct_output_forward_char): Likewise.
	(buffer_posn_from_coords): Likewise.
	(verify_charstarts): Use new macro WINDOW_FULL_WIDTH_P.
	(update_frame): For determining when to wrap the cursor, use the
	new macro FRAME_WINDOW_WIDTH instead of FRAME_WIDTH; they aren't
	necessarily the same any more.
	(change_frame_size_1): Use FRAME_WINDOW_WIDTH to check for changes.
	Give `set_window_width' the window width value.
  	Use new macro SET_FRAME_WIDTH.
	
	* xterm.h (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Add frame as an
 	argument, and use it to decrease the width in the case of a
 	left-side scroll bar; this prevents the bar and adjacent text
 	from scrunching together.
	(LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM): Add constant.
d10484 3
a10486 17
	* frame.h (vertical_scroll_bar_type): Add enumerated
 	none/left/right type for identifying vertical scroll bars.
	(struct frame): Use vertical_scroll_bar_type.
	(FRAME_HAS_VERTICAL_SCROLL_BARS): Use vertical scroll bar type.
	(FRAME_VERTICAL_SCROLL_BAR_TYPE): New macro.
	(FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT): New macros.
	(FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT): New macros.
	(FRAME_SCROLL_BAR_WIDTH, FRAME_LEFT_SCROLL_BAR_WIDTH): New macros.
	(FRAME_WINDOW_WIDTH, FRAME_WINDOW_WIDTH_ARG): New macros.
	(SET_FRAME_WIDTH): New macro for assigning to both
 	`external_width' and `width'.
	(WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Modify to handle left-side
 	scroll bars too.
  	
	* window.h (WINDOW_LEFT_MARGIN): New macro.
	(WINDOW_RIGHT_EDGE, WINDOW_RIGHT_MARGIN): New macros.
	(WINDOW_FULL_WIDTH_P, WINDOW_RIGHTMOST_P): New macros.
d10488 2
a10489 1
1996-09-20  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10491 1
a10491 7
	* xterm.h (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT): New arg F (not used).
	(VERTICAL_SCROLL_BAR_TOP_RANGE): New arg F (not used).
	* xterm.c: Pass frame arg in calls to VERTICAL_SCROLL_BAR_INSIDE_HEIGHT
	and VERTICAL_SCROLL_BAR_TOP_RANGE.
	
	* sysdep.c (init_system_name): Retry gethostbyname only 5 times
	and don't sleep after the last time.
d10493 2
a10494 1
1996-09-19  Eli Zaretskii  <eliz@@is.elta.co.il>
d10496 1
a10496 5
	* dired.c (file_name_completion): Remove code which sets and
	restores the `stat' control flags (they might not be restored if
	C-g is pressed during completion).
	(file_name_completion_stat): Set and restore flags that make
	`stat' faster here instead of in `file_name_completion'.
d10498 7
a10504 1
1996-09-18  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10506 3
a10508 1
	* buffer.c (overlay_strings): Declare pstr using unsigned char.
d10510 1
a10510 1
	* xdisp.c (display_text_line): Declare ovstr as unsigned char *.
d10512 1
a10512 1
	* minibuf.c (Fcompleting_read): Doc fix.
d10514 1
a10514 1
1996-09-17  Erik Naggum  <erik@@naggum.no>
d10516 1
a10516 1
	* lisp.h: Declare make_symbol.
d10518 2
a10519 1
	* lread.c (init_obarray): staticpro Qvariable_documentation.
d10521 1
a10521 1
	* keymap.c (syms_of_keymap): staticpro global_map.
d10523 1
a10523 2
	* keyboard.c (syms_of_keyboard): Initialize and staticpro
	internal_last_event_frame and read_key_sequence_cmd.
d10525 1
a10525 1
	* fileio.c (syms_of_fileio): staticpro Qset_visited_file_modtime.
d10527 1
a10527 2
	* dired.c (syms_of_dired): staticpro Qdirectory_files,
	Qfile_name_completion, Qfile_name_all_completions, and Qfile_attributes.
d10529 3
a10531 2
	* casetab.c (syms_of_casetab): staticpro Vascii_canontable,
	Vascii_eqv_table, and Vascii_upcase_table.
d10533 1
a10533 1
	* alloc.c (Fmake_symbol): Initialize `obarray' field.
d10535 1
a10535 1
1996-09-16  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d10537 7
a10543 6
	* Makefile.in: Replaced symbol BSD with BSD_SYSTEM.
	* emacs.c, floatfns.c, keyboard.c, mem-limits.h, process.c: Likewise.
	* sysdep.c, syssignal.h, syswait.h, xterm.c: Likewise.
	* s/bsd386.h, s/bsd4-1.h, s/bsd4-2.h, s/bsd4-3.h, s/dgux.h: Likewise.
	* s/freebsd.h, s/msdos.h, s/rtu.h, s/umax.h, s/umips.h: Likewise.
	* m/intel386.h, m/mips.h, m/mips4.h, m/vax.h: Likewise.
d10545 1
a10545 1
1996-09-16  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10547 1
a10547 1
	* buffer.c (Fget_buffer_create): Initialize BUF_OVERLAY_MODIFF.
d10549 1
a10549 1
	* minibuf.c (read_minibuf_unwind): Clear last_overlay_modified field.
d10551 1
a10551 1
	* msdos.c (IT_set_menu_bar_lines): Clear last_overlay_modified field.
d10553 1
a10553 1
	* w32term.c (note_mouse_highlight): Test last_overlay_modified field.
d10555 1
a10555 1
	* xterm.c (note_mouse_highlight): Test last_overlay_modified field.
d10557 8
a10564 5
	* window.c (Fset_window_start): Clear last_overlay_modified field.
	(set_window_height, set_window_width, Fset_window_buffer)
	(change_window_height, window_scroll, Fset_window_configuration): 
	Clear last_overlay_modified field.
	(Fpos_visible_in_window_p): Test last_overlay_modified field.
d10566 1
a10566 1
	* Makefile.in (frame.o, textprop.o, abbrev.o): Depend on window.h.
d10568 5
a10572 2
	* process.c (stream_process): Variable deleted.
	(syms_of_process): staticpro deleted.
d10574 4
a10577 1
1996-09-15  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10579 1
a10579 2
	* sysdep.c: Don't explicitly Include termios.h.
	(ospeed): Use HAVE_TERMIOS to decide whether to use speed_t.
d10581 1
a10581 2
	* s/hpux9.h (C_SWITCH_X_SYSTEM): Add -I/usr/contrib/X11R5/include.
	(LD_SWITCH_X_DEFAULT): Add -L/usr/contrib/X11R5/lib.
d10583 1
a10583 1
1996-09-14  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10585 3
a10587 3
	* buffer.h (struct buffer): New field overlay_modiff.
	(MODIFF, BUF_OVERLAY_MODIFF): New macros.
	* window.h (struct window): New field last_overlay_modified.
d10589 1
a10589 3
	* xdisp.c (redisplay_internal, mark_window_display_accurate)
	(redisplay_window): Test and update last_overlay_modified field
	along with last_modified.
d10591 2
a10592 2
	* dispnew.c (direct_output_for_insert): Set last_overlay_modified
	field in window.
d10594 5
a10598 2
	* keyboard.c (command_loop_1): Test last_overlay_modified
	along with last_modified.
d10600 1
a10600 4
	* xdisp.c (overlay_unchanged_modified): New variable.
 	(redisplay_internal): Set overlay_unchanged_modified.
	* insdel.c (gap_left, gap_right, modify_region): 
	Compare overlay_unchanged_modified with OVERLAY_MODIFF.
d10602 4
a10605 7
	* buffer.c (modify_overlay): Renamed from redisplay_region
	moved here from xdisp.c, and made static.  Callers changed.
	Update OVERLAY_MODIFF instead of MODIFF.
	* xdisp.c (redisplay_region): Renamed and moved to buffer.c.
	
	* s/sco5.h (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM): 
	Don't define them if using GCC.
d10607 1
a10607 1
1996-09-13  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10609 2
a10610 2
	* keyboard.c (recursive_edit_1): Handle a string as the
	throw value.
d10612 1
a10612 2
	* minibuf.c (read_minibuf): If not in minibuffer window,
	cancel the active minibuffer.
d10614 2
a10615 1
1996-09-12  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10617 1
a10617 1
	* frame.c (Fmake_terminal_frame): Use Vdefault_frame_alist.
d10619 2
a10620 2
	* s/hpux9.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
	Don't specify dirs for X, only for Motif.
d10622 1
a10622 1
1996-09-11  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10624 19
a10642 1
	* lread.c (Fload): Move ... to ends of messages.
d10644 2
a10645 1
	* puresize.h (BASE_PURESIZE): Increased.
d10647 2
a10648 1
	* s/sco5.h (LIBX11_SYSTEM): Don't use ..._s libraries.
d10650 1
a10650 1
1996-09-10  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10652 2
a10653 1
	* insdel.c (signal_before_change): Fix previous change.
d10655 2
a10656 1
	* lisp.h (struct Lisp_Symbol): New field `obarray'.
d10658 2
a10659 1
	* xterm.c (x_connection_closed): Call XtCloseDisplay.
d10661 1
a10661 1
1996-09-09  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10663 6
a10668 5
	* keyboard.c (Fexecute_extended_command): Delete junk lines.
	Print the key bindings after the command, temporarily;
	then bring back the previous message.
	
	* buffer.c (syms_of_buffer): Doc fixes.
d10670 3
a10672 2
	* filelock.c (lock_superlock): Delete superlock file if it stayed
	locked for 20 seconds.
d10674 2
a10675 1
1996-09-08  Erik Naggum  <erik@@naggum.no>
d10677 5
a10681 9
	* lread.c: Add #n=object, #n#, and #:symbol constructs to reader.
	(readevalloop, read, Fread_from_string): Empty list of read objects
	before read0 call.
	(read1): New variable `uninterned_symbol', which controls how to
	make symbols.  Support #:, #n=object and #n#.
	(make_symbol): New function, used in read1 to make uninterned symbols
	(Fintern): Set `obarray' field of interned symbols.
	(init_obarray): Explicit set `obarray' field of symbol `nil'.
	(syms_of_lread): staticpro read_objects, the list of read objects.
d10683 1
a10683 7
	* print.c: Add #n=object, #n#, and #:symbol constructs to printer.
	(PRINTDECLARE): New macro to declare required variables.
	(PRINTPREPARE, PRINTFINISH): Set printed_genyms to nil.
	(Fwrite_char, write_string, write_string_1, Fterpri, Fprin1,
	Fprin1_to_string, Fprinc, Fprint): Use new macro PRINTDECLARE.
	(print): Print uninterned symbols readable.
	(syms_of_print): Defvar `print-gensym', staticpro printed_gensyms.
d10685 2
a10686 1
1996-09-05  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d10688 2
a10689 2
	* editfns.c (Finsert_buffer_substring): Check for deleted buffer.
	(Fcompare_buffer_substrings): Likewise.
d10691 2
a10692 1
1996-09-04  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10694 3
a10696 5
	* lisp.h: Add many declarations.
	
	* lisp.h (BITS_PER_EMACS_INT): New macro.
	(XMARKBIT): Test BITS_PER_EMACS_INT to conditionalize fast definition.
	* m/alpha.h (BITS_PER_EMACS_INT): New definition.
d10698 1
a10698 1
	* s/sol2.h (LIBS_SYSTEM): Use -lkstat instead of -lelf -lkvm
d10700 1
a10700 1
	* process.c (create_process): Test HAVE_SETPGID for using setpgid.
d10702 1
a10702 1
	* config.in (HAVE_SETPGID): Add #undef.
d10704 1
a10704 1
	* keymap.c (syms_of_keymap): staticpro current_global_map;
d10706 2
a10707 1
	* intervals.c (get_local_map): Call indirect-function.
d10709 2
a10710 1
	* m/alpha.h (UNEXEC): Use unexelf.c.
d10712 1
a10712 1
	* unexelf.c: unexelf1.c merged into this file.
d10714 1
a10714 3
	* terminfo.c: Include config.h.
	[HAVE_TERMIOS_H]: Include termios.h.
	(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.
d10716 1
a10716 2
	* process.c (create_process_1, sigchld_handler) [POSIX_SIGNALS]:
	Don't reestablish handler.
d10718 2
a10719 3
	* keyboard.c (input_available_signal) [POSIX_SIGNALS]:
	Don't reestablish handler.
	(interrupt_signal) [POSIX_SIGNALS]: Likewise.
d10721 1
a10721 1
	* data.c (arith_error) [POSIX_SIGNALS]: Don't reestablish handler.
d10723 1
a10723 1
	* config.in (HAVE_TERMIOS_H): Add #undef.
d10725 2
a10726 2
	* cm.h, sysdep.c [HAVE_TERMIOS_H]: Include termios.h.
	(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.
d10728 1
a10728 1
	* eval.c (Fmacroexpand): Don't declare `form' as register.
d10730 1
a10730 1
	* frame.c (Fredirect_frame_focus): Don't call Ffocus_frame.
d10732 1
a10732 1
	* keyboard.c (Fexecute_extended_command): Fix previous change.
d10734 1
a10734 1
	* intervals.c (copy_intervals_to_string): Take arg as buffer.
d10736 1
a10736 2
	* keyboard.c (Fcommand_execute): gcpro cmd and prefixarg
	while calling do_autoload.
d10738 7
a10744 2
	* eval.c (Fmacroexpand): gcpro form while calling do_autoload.
	(do_autoload): gcpro fun, funname, fundef.
d10746 3
a10748 1
1996-09-03  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10750 2
a10751 1
	* keyboard.c (Fexecute_extended_command): gcpro prefixarg.
d10753 1
a10753 2
	* xfns.c, w32fns.c (x_set_frame_parameters):
	Make height and width ints.
d10755 1
a10755 1
	* fns.c (map_char_table): Declare depth as int.
d10757 5
a10761 2
	* xterm.c (note_mouse_highlight):
	Pass POS argument to fast_find_position as int.
d10763 1
a10763 2
	* textprop.c (set_properties, add_properties, remove_properties): 
	Call modify_region with ints.
d10765 1
a10765 2
	* insdel.c (prepare_to_modify_buffer): Take integer arguments.
	(signal_before_change): Take integer arguments.
d10767 1
a10767 1
	* alloc.c (Fmake_byte_code): Call make_pure_vector using nargs.
d10769 1
a10769 2
	* alloc.c (Fpurecopy): Cast arg to make_pure_vector.
	(Fmake_byte_code): Use XFASTINT when calling make_pure_vector.
d10771 1
a10771 2
	* doprnt.c (doprnt1): If lispstrings, accept a string
	as a `struct Lisp_String *'.
d10773 2
a10774 1
	* editfns.c (Fformat): Pass a string using XSTRING.
d10776 2
a10777 1
	* xdisp.c (message): Cast size arg to doprnt.
d10779 2
a10780 2
	* term.c (term_init): Avoid type-mismatch calling get_frame_size.
	(OUTPUT_IF, OUTPUT): Cast frame height to int.
d10782 1
a10782 1
	* search.c (search_buffer): Use EMACS_UINT.
d10784 1
a10784 1
1996-09-03  Richard Stallman  <rms@@whiz-bang.gnu.ai.mit.edu>
d10786 1
a10786 1
	* emacs.c (sort_args): Don't rearrange any args that follow "--".
d10788 1
a10788 1
1996-09-03  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10790 1
a10790 1
	* xfns.c, w32fns.c (Ffocus_frame, Funfocus_frame): Functions deleted.
d10792 1
a10792 5
	* xfns.c (x_get_and_record_arg): New function.
	(x_icon): Use that, for Qicon_top and Qicon_left.
	(x_report_frame_params): Report the Qparent_id parameter.
	
1996-09-03  Paul Eggert  <eggert@@twinsun.com>
d10794 1
a10794 7
	* config.in (mktime): Define to emacs_mktime if we are using our own
	mktime, since Nextstep doesn't let Emacs redefine the builtin mktime.
	* Makefile.in (MKTIME_OBJ):  Use our mktime instead of NEXTSTEP's,
	since NEXTSTEP's wrongly ignores TZ.
	(mktime): #undef, to avoid messing up the file name mktime.c.
	* editfns.c (Fencode_time):  Remove NEXTSTEP workaround;
	we now use our mktime instead.
d10796 1
a10796 1
1996-09-03  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10798 1
a10798 1
	* process.c (create_process): Undo previous change.
d10800 1
a10800 1
1996-09-02  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10802 1
a10802 1
	* editfns.c (Fencode_time) [_NEXT_SOURCE]: Use ZONE, not ABSZONE.
d10804 2
a10805 9
	* Make region highlighting show in just one window.
	* xdisp.c (redisplay_internal): Test last_selected_window slot.
	(mark_window_display_accurate, display_text_line): Likewise.
	* window.c (unshow_buffer): Clear last_selected_window slot, maybe.
	(Fset_window_buffer): Set last_selected_window slot.
	(Fselect_window): Set last_selected_window slot.
	(delete_all_subwindows): Maybe call unshow_buffer.
	* buffer.c (reset_buffer): Initialize last_selected_window slot.
	* buffer.h (strict buffer): New slot last_selected_window.
d10807 1
a10807 1
1996-09-01  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10809 7
a10815 4
	* process.c (Fprocess_contact): New function.
 	(NETCONN_P): Use GC_CONSP.
	(list_processes_1): Use new childp format.
	(Fopen_network_stream): Store a cons cell in childp.
d10817 1
a10817 2
	* keyboard.c (record_asynch_buffer_change, gobble_input):
	Use sigblock instead of sigblockx.
d10819 5
a10823 2
	* syssignal.h (sigunblockx): Definitions deleted.
	(sigpausex, sigblockx, sigholdx): Definitions deleted.
d10825 5
a10829 2
	* process.c (create_process): Test defined (TIOCSCTTY)
	and defined (HAVE_SETSID) instead of DONT_REOPEN_PTY.
d10831 2
a10832 3
	* fileio.c (Faccess_file): New function.
	(Qaccess_file): New variable.
	(syms_of_fileio): defsubr function; init and staticpro Qaccess_file.
d10834 1
a10834 1
1996-09-01  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d10836 1
a10836 6
	* config.in (MULTI_FRAME): Obsolete macro deleted.
	* Makefile.in: Removed support for !MULTI_FRAME.
	* dispextern.h, frame.h, keyboard.h, lisp.h, puresize.h: Likewise.
	* alloc.c, buffer.c, data.c, dispnew.c, frame.c: Likewise.
	* keyboard.c, minibuf.c, print.c, sysdep.c, w32faces.c: Likewise.
	* window.c, xdisp.c, xfaces.c: Likewise.
d10838 1
a10838 4
	* abbrev.c, bytecode.c: Change all references from point to PT.
	* callint.c, casefiddle.c, cmds.c, dispnew.c, editfns.c: Likewise.
	* fileio.c, indent.c, lread.c, print.c, process.c: Likewise.
	* search.c, syntax.c, undo.c, window.c: Likewise.
d10840 2
a10841 1
1996-09-01  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10843 1
a10843 1
	* Makefile.in (TAGS): Use $(srcdir) in deps.
d10845 9
a10853 1
1996-08-31  Boris Goldowsky  <boris@@gnu.ai.mit.edu>
d10855 2
a10856 2
	* fileio.c (build_annotations): Remember original buffer that the
	region came from; pass this to `format-annotate-function'.
d10858 4
a10861 1
1996-08-31  Geoff Voelker  <voelker@@cs.washington.edu>
d10863 1
a10863 2
	* Makefile.in (MSDOS_SUPPORT, WINNT_SUPPORT, SOME_MACHINE_LISP): 
	Include dos-nt.elc.
d10865 1
a10865 1
1996-08-31  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10867 1
a10867 1
	* keyboard.c (requeued_events_pending_p): New function.
d10869 1
a10869 1
	* config.in (HAVE_SETRLIMIT): Add #undef.
d10871 1
a10871 3
	* emacs.c [HAVE_SETRLIMIT]: Include time.h and resource.h.
	(main) [HAVE_SETRLIMIT]: Call setrlimit to extend the stack limit.
 	New local `rlim'.
d10873 1
a10873 2
	* lread.c (Fload): Add "source is newer" info to the "loading" and
 	"done" messages.
d10875 1
a10875 1
1996-08-31  Paul Eggert  <eggert@@twinsun.com>
d10877 2
a10878 6
	* config.in (HAVE_SYS_SYSTEMINFO_H, HAVE_GETDOMAINNAME, HAVE_SYSINFO):
	New macros.
	* sysdep.c (<sys/systeminfo.h>):
	Include if HAVE_SYS_SYSTEMINFO_H is defined.
	(init_system_name): Use sysinfo or getdomainname to append domain name
	if host name is not already fully qualified.
d10880 1
a10880 1
1996-08-31  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10882 1
a10882 1
	* xfns.c (Fx_list_fonts): New optional arg MAXIMUM.
d10884 1
a10884 1
1996-08-31  Erik Naggum  <erik@@naggum.no>
d10886 1
a10886 1
	* alloc.c (Fgarbage_collect): Report used and free intervals.
d10888 2
a10889 1
1996-08-31  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10891 1
a10891 3
	* xterm.h (struct x_display_info): Add element Xatom_FONT.
	* xterm.c (x_term_init): Initialize Xatom_FONT member.
	(x_new_font): Use Xatom_FONT member.
d10893 2
a10894 1
1996-08-31  Kevin Layer  <layer@@Franz.COM>
d10896 2
a10897 3
	* ntproc.c (Vwin32_start_process_show_window): New variable.
	(create_child): Conditionally force subprocess to hide window.
	(syms_of_ntproc): DEFVAR it.
d10899 1
a10899 1
1996-08-31  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10901 2
a10902 2
	* s/nextstep.h (LD_SWITCH_SYSTEM): Add alternate definition if
	not __NeXT.
d10904 1
a10904 1
1996-08-30  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10906 1
a10906 2
	* xfaces.c (Fset_face_attribute_internal): Set mouse_face_defer flag.
	* xterm.c (XTupdate_end): Always clear mouse_face_defer flag.
d10908 6
a10913 5
	* xterm.c (do_line_dance, dumprectangle): Use x_update_cursor.
	(show_mouse_face, clear_cursor): Likewise.
	(x_display_cursor): New args X and Y.
	(XTupdate_end, XTcursor_to, XTwrite_glyphs): Pass new args.
	(XTupdate_begin): Initialize curs_x, curs_y here.
d10915 1
a10915 1
	* xfns.c (x_set_cursor_color): Use x_update_cursor.
d10917 6
a10922 1
1996-08-29  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10924 4
a10927 1
	* xterm.c (XTread_socket): Fix previous change.
d10929 1
a10929 1
	* keyboard.c (cmd_error): Clear executing_macro.
d10931 1
a10931 1
1996-08-29  David Byers  <byers@@lysator.liu.se>
d10933 2
a10934 2
	* minibuf.c (Fminibuffer_complete_word): Check for
	unexpected data type returned by Ftry_completion.
d10936 2
a10937 1
1996-08-29  Erik Naggum  <erik@@psilocin.gnu.ai.mit.edu>
d10939 1
a10939 1
	* macros.c (init_macros): Initialize executing_macro, too.
d10941 1
a10941 1
1996-08-29  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d10943 1
a10943 2
	* xterm.c (XTread_socket): Call XFilterEvent on all events,
	if HAVE_X_I18N and FRAME_XIC nonzero.
d10945 4
a10948 2
	* keyboard.c (cmd_error): Add number of kbd macro iterations
	to the error message.
d10950 6
a10955 4
	* macros.h (executing_macro_iterations, executing_macro): Declared.
	
	* macros.c (executing_macro_iterations, executing_macro): New vars.
	(Fexecute_kbd_macro): Set them.
d10957 2
a10958 1
1996-08-28  Morten Welinder  <terra@@diku.dk>
d10960 6
a10965 3
	* minibuf.c (Vhistory_length, Qhistory_length): New variables.
	(syms_of_minibuf): Register and initialise these.
	(read_minibuf): Truncate history list if needed.
d10967 1
a10967 1
1996-08-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d10969 1
a10969 1
	* fns.c (Fsubstring): Handle vectors as well as strings.
d10971 2
a10972 2
	* callint.c (Fcall_interactively): For `N' and `n',
	if we don't get a number, try again.
d10974 4
a10977 1
1996-08-28  Lars Magne Ingebrigtsen  <larsi@@dain.ifi.uio.no>
d10979 1
a10979 2
	* alloc.c (syms_of_alloc): Set up Lisp variables ...-consed,
	such as Vcons-cells-consed.
d10981 2
a10982 1
1996-08-28  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d10984 1
a10984 1
	* emacs.c (main): Add bug report info in --help message.
d10986 1
a10986 1
1996-08-26  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10988 2
a10989 3
	* term.c (Vring_bell_function): New variable.
	(syms_of_term): Set up Lisp variable.
	(ring_bell): Use Vring_bell_function.
d10991 1
a10991 1
1996-08-25  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d10993 4
a10996 1
	* xterm.c (fast_find_position): Fix previous change.
d10998 1
a10998 2
	* keyboard.c (command_loop_1): Cancel echoing etc.
	before running post-command-hook and such.
d11000 1
a11000 1
	* xterm.c (fast_find_position): Minor fix in handling maybe_next_line.
d11002 1
a11002 1
	* config.in (HAVE_LIBKRB, HAVE_LIBDES): Add #undefs.
d11004 1
a11004 1
1996-08-24  Richard Stallman  <rms@@ethanol.gnu.ai.mit.edu>
d11006 2
a11007 7
	* Renamings to avoid conflicting names on MSDOS.
	* s/riscix12.h: Renamed from s/riscix12.h.
	* s/sunos413.h: Renamed from s/sunos4-1-3.h.
	* s/dgux5-4-3.h: Renamed from s/dgux5-4r3.h.
	* s/sunos4-1-2.h: File deleted.
	
	* xmenu.c (set_frame_menubar): Don't add ibw to menubar_size.
d11009 2
a11010 1
	* xfns.c (x_window): Don't add ibw to menubar_size.
d11012 1
a11012 1
1996-08-24  Paul Eggert  <eggert@@twinsun.com>
d11014 1
a11014 2
	* editfns.c (Fencode_time, Fset_time_zone_rule):
	Use UTC if the zone is t.
d11016 1
a11016 1
1996-08-24  Erik Naggum  <erik@@naggum.no>
d11018 2
a11019 3
	* print.c (print-quoted): New variable.
	(print): Print certain expressions more compactly when set.
	Also use XCAR and XCDR directly -- we know we have conses.
d11021 1
a11021 1
1996-08-23  Marcus Daniels  <marcus@@sayre.sysc.pdx.edu>
d11023 5
a11027 2
	* xterm.c (x_term_init): If the default Xt font does not exist on
 	the X server, add a resource so that dialog boxes use a common font.
d11029 3
a11031 1
1996-08-23  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d11033 2
a11034 2
	* window.c (Fsplit_window): Treat width just like height;
	no special handling for scroll bars.
d11036 1
a11036 1
1996-08-22  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d11038 2
a11039 2
	* Makefile.in (paths.h, config.h): Targets deleted.
	(../config.status): Add two new rules to check need for reconfigure.
d11041 1
a11041 4
	* keyboard.c (command_loop_1): Check column_number_displayed
	in the selected window, not Vcolumn_number_mode.
	(Vcolumn_number_mode): Variable deleted.
	(syms_of_keyboard): Delete Lisp variable column-number-mode.
d11043 2
a11044 1
1996-08-22  Erik Naggum  <erik@@psilocin.gnu.ai.mit.edu>
d11046 3
a11048 1
	* dispnew.c (change_frame_size_1): Clean up conditional.
d11050 2
a11051 1
1996-08-22  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d11053 1
a11053 1
	* xmenu.c (xdialog_show): Don't allow 9 buttons.
d11055 2
a11056 1
1996-08-21  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d11058 1
a11058 1
	* process.c (send_process): GCPRO object.
d11060 1
a11060 1
	* unexalpha.c: Conditionalize previous changes on not __linux__.
d11062 1
a11062 2
	* xfns.c (x_set_scroll_bar_width): Call x_set_window_size
	when arg is nil.
d11064 1
a11064 1
1996-08-20  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d11066 1
a11066 7
	* unexalpha.c: Include reloc.h and elf_abi.h.
	(rel_dyn_section, dynstr_section, dynsym_section): New variables.
	(old_data_scnhdr): New variable.
	(CHECK_SCNHDR): Compare just 8 chars of section name.
	(unexec): Check for rel_dyn_section, dynsym_section, dynstr_section.
	Do call update_dynamic_symbols.
	(update_dynamic_symbols): Finish it up and take away #if 0.
d11068 2
a11069 1
1996-08-19  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d11071 1
a11071 1
	* unexalpha.c (unexec): Copy the .got section.
d11073 2
a11074 1
1996-08-16  Karl Heuer  <kwzh@@gnu.ai.mit.edu>
d11076 1
a11076 2
	* cmds.c (Fdelete_backward_char): Fix off-by-one error.
	Treat deleted newline specially.
d11078 2
a11079 1
1996-08-16  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d11081 1
a11081 1
	* bytecode.c (Fbyte_code): For relative gotos, force signed arithmetic.
d11083 1
a11083 1
1996-08-14  Richard Stallman  <rms@@psilocin.gnu.ai.mit.edu>
d11085 2
a11086 1
	* xfns.c (Fx_open_connection): Don't set Vx_resource_name.
d11088 1
a11088 1
See ChangeLog.6 for earlier changes.
@


1.1.1.26
log
@import emacs-20.4
@
text
@a0 2795
1999-07-14  Richard Stallman  <rms@@gnu.org>

	* Version 20.4 released.

1999-07-14  Richard Stallman  <rms@@gnu.org>

	* filelock.c (lock_file): Do nothing if purifying.

1999-07-10  Richard Stallman  <rms@@gnu.org>

	* xterm.c (x_display_bar_cursor): Use the cursor-color
	to display the bar, not the cursor foreground pixel.

1999-07-09  Andrew Innes  <andrewi@@gnu.org>

	* w32console.c (w32_use_full_screen_buffer): New variable.
	(syms_of_ntterm): Register it.
	(initialize_w32_display): Set initial frame size accordingly,
	respecting the LINES and COLUMNS environment variables if set.

	* w32inevt.c (w32_console_read_socket): Use it.

1999-07-07  Kenichi Handa  <handa@@etl.go.jp>

	* callproc.c (Fcall_process): Decide coding system for decoding
	after we set to the target buffer.  If the output goes to a
	unibyte buffer, suppress character code conversion.

	* fileio.c (Finsert_file_contents): If reading into a unibyte
	buffer, suppress character code conversion.

	* process.c (create_process): If the output goes to a unibyte
	buffer, suppress character code conversion.p

1999-07-07  Andreas Schwab  <schwab@@gnu.org>

	* xdisp.c (line-number-display-limit): Doc fix.

1999-07-05  Richard Stallman  <rms@@gnu.org>

	* callproc.c (Fcall_process): Don't use initializer on coding_systems.
	(Fcall_process_region): Likewise.

1999-07-01  Markus Rost  <markus.rost@@mathematik.uni-regensburg.de>

	* callproc.c (init_callproc): Set exec_directory if
	installation_directory is non-nil, without a test of exec_path.

1999-07-01  Andrew Innes  <andrewi@@gnu.org>

	* w32xfns.c (drain_message_queue): New function.

	* w32term.h (drain_message_queue): Add extern.

	* w32proc.c (sys_select): Call MsgWaitForMultipleObjects instead
	of WaitForMultipleObjects when user input is allowed, so we can
	handle incoming window messages.  Call drain_message_queue when
	there are messages waiting; this ensures that windows created
	indirectly from the lisp thread get processed properly, and don't
	hang other applications by failing to respond to broadcasts.

1999-07-01  Andreas Schwab  <schwab@@gnu.org>

	* callint.c (Fcall_interactively): Ignore first element of
	event-symbol-elements property.

1999-07-01  Richard Stallman  <rms@@gnu.org>

	* fileio.c (Fread_file_name): Check type of DEFAULT_FILENAME.

1999-07-01  Kenichi Handa  <handa@@etl.go.jp>

	* minibuf.c (read_minibuf): Set the multibyteness of the
	minibuffer before inserting `initial' string.

1999-06-30  Richard Stallman  <rms@@gnu.org>

	* xfns.c (x_make_gc): Turn off GCStipple when setting up cursor_gc.

1999-06-29  Richard M. Stallman  <rms@@gnu.org>

	* emacs.c [DOUG_LEA_MALLOC] (malloc_initialize_hook):
	Move the handling of MALLOC_CHECK_ envvar here.
	(main): Moved from here.

1999-06-29  Wolfram Gloger  <wmglo@@dent.med.uni-muenchen.de>

	* emacs.c [DOUG_LEA_MALLOC] (malloc_initialize_hook): New
	function, assigned to the global __malloc_initialize_hook pointer.
	(main): Move malloc_set_state call into malloc_initialize_hook
	so that it happens as early as possible.

1999-06-27  Richard M. Stallman  <rms@@gnu.org>

	* keyboard.c (read_key_sequence): Properly reinitialize
	fkey_map after translating thru Vkey_translation_map.
	After translating thru Vfunction_key_map, don't reset
	keytrans-start to 0.

1999-06-24  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32.c (get_emacs_configuration): Use GetVersionEx to
	handle NT5.0 correctly.  Include build number in configuration.
	w32heap.c (osinfo_cache): New variable.
	(cache_system_info): Initialize osinfo_cache.
	w32heap.h (osinfo_cache): Declare.

1999-06-24  Richard M. Stallman  <rms@@gnu.org>

	* casefiddle.c (casify_object): Use make_multibyte_string
	if we casify a multibyte string.

1999-06-22  Ken'ichi Handa  <handa@@gnu.org>

	* fileio.c: (Finsert_file_contents): In the case of REPLACE, call
	del_range_byte instead of del_range_1, set `inserted' to the
	number of characters actually inserted.

1999-06-17  Dave Love  <fx@@gnu.org>

	* coding.c (decode_coding_sjis_big5): Avoid compiler warning.

1999-06-18  Paul Eggert  <eggert@@twinsun.com>

	* filelock.c (BOOT_TIME_FILE): New macro.
	(get_boot_time): Use it instead of hardwiring the file name.
	Check BOOT_TIME_FILE only after inspecting the kernel directly.

1999-06-17  Dave Love  <fx@@gnu.org>

	* xdisp.c (invalid_eol_type): Make it unsigned.

1999-06-17  Karl Heuer  <kwzh@@gnu.org>

	* process.c (send_process): Delete unsafe/redundant assignment.

1999-06-17  Jason Rumney  <jasonr@@gnu.org>

	* w32term.c (dumprectangle): Handle wide characters properly.

1999-06-16  Andrew Innes  <andrewi@@gnu.org>

	* s/ms-w32.h (strerror): Override the default implementation of
	strerror, so we can map winsock error codes.

	* w32.c (sys_strerror): New function.

	* w32fns.c (w32_to_x_weight): Return "demibold" instead of "semibold".

1999-06-15  Ken'ichi Handa  <handa@@gnu.org>

	* buffer.c (syms_of_buffer): Don't make
	enable-multibyte-characters customizable.

1999-06-15  Richard M. Stallman  <rms@@gnu.org>

	* editfns.c (Fuser_full_name): Doc fix.

1999-06-14  Tak Ota <ota@@atc.sel.sony.com>

	* w32bdf.c: (clear_cached_bitmap_slots): Remove.
	(get_bitmap_with_cache): Check if CreateBitmap failed.
	Adjust cache size dynamically so cache is never larger than the
	system limit of GDI resources.
	Do cache clearing inline.  Move global variables to local scope.


1999-06-13  Wolfgang Glas <Wolfgang.Glas@@hfm.tu-graz.ac.at>

	* unexsgi.c (unexec): Dump the .rodata section from memory
	under IRIX6.5 in order to be able to unexec with gcc.

1999-06-11  Greg Hudson  <ghudson@@MIT.EDU>

	* indent.c (compute_motion): Fix boundary case.

1999-06-11  Jason Rumney  <jasonr@@altavista.net>

	* w32term.c (cancel_mouse_face): New function. See equiv
	changes to xterm.c on 1996-10-31.
	(x_set_window_size): Use cancel_mouse_face.
        (w32_read_socket): Use cancel_mouse_face.
        Update frame position when size is restored.

1999-06-04  Richard M. Stallman  <rms@@gnu.org>

	* lread.c (Vuser_init_file): New variable.
	(syms_of_lread): Set up Lisp variable.
	(Fload): Store the file name there, if var was t before.

1999-06-04  Paul Eggert  <eggert@@twinsun.com>

	* filelock.c (get_boot_time): Don't look at /proc/uptime; it
	doesn't work if the system date is changed, or if the system
	is suspended.  Look at the last-modified time of
	/var/run/random-seed instead.

1999-06-03  Ken'ichi Handa  <handa@@gnu.org>

	* coding.c (ENCODE_SJIS_BIG5_CHARACTER): Encode charset
	japanese-jisx0208-1978 correctly.

1999-06-03  Andrew Innes  <andrewi@@gnu.org>

	* unexw32.c (get_section_info) [_ALPHA_]: Force as much bss data
	as possible to be dumped, for safety.

1999-06-02  Ken'ichi Handa  <handa@@gnu.org>

	* coding.c (ENCODE_SJIS_BIG5_CHARACTER): Encode charset
	latin-jisx0201 correctly.

1999-05-26  Ken'ichi Handa  <handa@@gnu.org>

	* charset.h (Vcharset_table): Comment fixed.

1999-05-24  Richard Stallman  <rms@@gnu.org>

	* coding.c (syms_of_coding): Doc fix.

	* buffer.c (syms_of_buffer): Doc fix.

	* filelock.c (lock_if_free): After deleting a stale lock,
	try again to lock the file.

1999-05-22  Andrew Innes  <andrewi@@gnu.org>

	* w32inevt.c (maybe_generate_resize_event): Detect changes in the
	console window size.
	(w32_console_read_socket): Call maybe_generate_resize_event
	whenever input events are received, since we don't get told when
	the window size changes (as opposed to the buffer size, which we
	don't care about).

	* w32console.c (clear_frame): Remember that the window width might
	be smaller than the screen buffer width.
	(write_glyphs): Remove redundant variable attrs.  Use
	FillConsoleOutputAttribute instead of WriteConsoleOutputAttribute.

1999-05-20  Andrew Innes  <andrewi@@gnu.org>

	* w32term.c (w32_read_socket): Reset the grabbed flag when a frame gains or
	loses focus.

	* w32fns.c (w32_wnd_proc): Ensure mouse capture is released if
	frame loses focus, and that mouse button state is reset.  Ditto
	when the menu bar is activated.

1999-05-18  Richard Stallman  <rms@@gnu.org>

	* abbrev.c (Fdefine_abbrev): Doc fix.

1999-05-13  Paul Eggert  <eggert@@twinsun.com>

	* filelock.c: Fix performance bug on hosts with large
	/var/adm/wtmp files with no boot records.

	(boot_time_initialized): New var.
	(init_filelock): Initialize it.
	(get_boot_time): Use it, instead of nonzero boot_time,
	to test whether boot_time is initialized.
	Don't invoke utmp routines when dumping.

	(get_boot_time): First, try to get the boot time from the
	current utmp file, as this can be much faster.  Don't try to
	get the boot time from utmp and/or wtmp more than once.

	(get_boot_time_1): When passed null pointer, don't invoke utmpname.
	New arg LATEST.  All uses changed.

1999-05-15  Andrew Innes  <andrewi@@gnu.org>

	* w32term.c (dumpglyphs): Use correct colours for drawing
	rectangles in place of missing fonts, and make them the right
	size.

1999-05-14  Dave Love  <fx@@gnu.org>

	* syntax.c (Fparse_partial_sexp): Correct test for element 8 to be
	non-nil.

1999-05-11  Andrew Innes  <andrewi@@gnu.org>

	* w32fns.c (x_to_w32_charset): Reinstall VIETNAMESE_CHARSET
	definition.
	(w32_wnd_proc): Reinstall debugging output.
	(w32_wnd_proc): Reinstall SetForegroundWindow change.
	(syms_of_w32fns): Reinstall new initializer for
	Vw32_phantom_key_code.

	* w32fns.c (x_to_w32_charset): Do partial matching of charset
	names for most non-European charsets, to cope with wildcards or
	missing spec dates.
	(Fw32_send_sys_command): Post WM_SYSCOMMAND rather than sending it
	to avoid deadlock when activating the menu bar.

1999-05-10  Ken'ichi Handa  <handa@@gnu.org>

	* search.c (boyer_moore): Get charset base value of `untranslated'
	by masking by ~CHAR_FIELD3_MASK (instead of ~0xff).

1999-05-10  Andreas Schwab  <schwab@@gnu.org>

	* fileio.c (Fread_file_name): Correct handling of dollars in file
	names.  Protect dollars in strings put on the file-name-history.
	Substitute homedir by `~' also in default_filename.

	* xdisp.c (try_window_id): Fix computation of tab_offset when
	backing up over a character that is splitted across lines.

1999-05-08  Kenichi HANDA  <handa@@etl.go.jp>

	* coding.c (code_convert_region): If eol format is inconsistent,
	change coding->symbol to the sibling coding system of Unix like
	eol format.

1999-05-09  Richard M. Stallman  <rms@@gnu.org>

	* s/irix5-2.h (NO_WTMP_FILE): Define it.

	* filelock.c (get_boot_time): Handle NO_WTMP_FILE.

1999-05-05  Andrew Innes  <andrewi@@gnu.org>

	* w32fns.c (w32_strict_painting): New variable.
	(w32_wnd_proc): Use it to select repaint rules.
	(syms_of_w32fns): Defvar it.

1999-05-04  Andrew Innes  <andrewi@@gnu.org>

	* w32fns.c (x_to_w32_charset): Fix typo: want to map all Japanese
	charsets to the standard Windows charset for Japanese.

1999-05-04  Ken'ichi Handa  <handa@@gnu.org>

	* xterm.c (x_load_font): Fix typo (`>' -> `=').

	* ccl.h (struct ccl_program): New member stack_idx.

	* ccl.c (ccl_prog_stack_struct): Declare it as static.
	(ccl_driver): Setup stack_idx and ccl_prog correctly.  Update them
	before returing.
	(setup_ccl_program): Initialize ccl->stack_idx to 0.

1999-05-03  Jason Rumney  <jasonr@@altavista.net>

	* w32term.c (dumpglyphs): Always fill background for italic fonts.

1999-05-03  Eli Zaretskii <eliz@@is.elta.co.il>

	* dired.c (make_time): Make argument type be time_t.

1999-05-02  Eli Zaretskii <eliz@@is.elta.co.il>

	* msdos.c (unibyte_display_via_language_environment): Add extern.

1999-05-02  Richard M. Stallman  <rms@@caffeine.ai.mit.edu>

	* xdisp.c (display_text_line): Convert unibyte char to multibyte
	if unibyte_display_via_language_environment is set.
	(unibyte_display_via_language_environment):
	Variable moved from xfns.c and elsewhere.
	(syms_of_xfns): Set up Lisp var.

	* xfns.c (unibyte_display_via_language_environment):
	Variable moved to xdisp.c.
	(syms_of_xfns): Don't set up Lisp var here.

	* msdos.c (unibyte_display_via_language_environment):
	Variable moved to xdisp.c.
	(syms_of_msdos): Don't set up Lisp var here.

	* w32fns.c (unibyte_display_via_language_environment):
	Variable moved to xdisp.c.
	(syms_of_w32fns): Don't set up Lisp var here.

1999-05-02  Andrew Innes  <andrewi@@gnu.org>

	* s/ms-w32.h (HAVE_FSYNC): New macro.
	 (fsync): Map to _commit.
	 (ftruncate): Map to _chsize.

	* w32term.c (dumpglyphs): On Windows NT, do output in Unicode even
	for ASCII, if enabled, to avoid memory allocation overhead for
	implicit Unicode conversion.  Also, recognize that ASCII and
	Latin-1 have a trivial conversion to Unicode, so x_2byte_buffer
	already contains the Unicode characters in that case.
	(construct_drag_n_drop): Remove old code that was
	trashing the drop location.

	* w32select.c (Fw32_set_clipboard_data): Undo last change to add
	nlines to encoding_buffer_size (real bug was in a ccl program in
	lisp/international/coding.el).

	* w32reg.c (w32_get_string_resource): Check for name in current
	user area, and if not found look in the local machine area.

	* w32fns.c (w32_list_bdf_fonts): Initialize n_fonts.
	(Fw32_shell_execute): New function; used to support browse-url.
	(syms_of_w32fns): Register it.
	(w32_load_system_font): Force max width to be average
	char width for fixed-pitch fonts, to avoid unnecessary redisplay
	slowdown.
	(x_to_w32_charset): Define VIETNAMESE_CHARSET if not
	already defined.
	(syms_of_w32fns): Set Vw32_phantom_key_code to 255.

	* unexw32.c (get_section_info): Dump back the entire EMDATA
	section if we can put Emacs' initialized data in a separate
	section, otherwise use the my_begdata/my_edata method.

	* makefile.nt ($(BLD)\w32term.obj): Add dependency on w32heap.h.

	* coding.c (decode_eol): Set produced/consumed values to zero if
	src_bytes is <= 0 on entry.

1999-05-02  Jason Rumney  <jasonr@@altavista.net>

	* w32term.c (w32_write_glyphs, w32_clear_end_of_line,
	w32_clear_frame, clear_cursor, x_display_bar_cursor,
	x_display_box_cursor, x_set_window_size): Use phys_cursor_on
	field in frame.
	(do_line_dance): Updated WRT xterm.c. Use macros where possible.
	(dumprectangle): Take into account the width of a left-side
	scroll bar.

	* w32proc.c (sys_kill): Attach to current foreground thread
	when grabbing focus; necessary on NT 5.0.

	* w32fns.c (w32_wnd_proc) [WM_PAINT]: Use rectangle from
	GetUpdateRect rather than BeginPaint.
	(w32_wnd_proc): Attach to current foreground thread
	when grabbing focus; necessary on NT 5.0.
	(w32_wnd_proc) [W32_DEBUG_DISPLAY]: Add output for
	debugging display messages.
	(w32_to_x_charset): Put wildcard last in unknown charsets to avoid
	false matching.

1999-05-02  Kenichi HANDA  <handa@@etl.go.jp>

	* coding.c (setup_raw_text_coding_system): Call
	setup_coding_system to initialize the fields of struct
	coding_system correctly.
	
1999-04-26  Kenichi HANDA  <handa@@etl.go.jp>

	* xterm.c (x_list_fonts): Fix previous change.

1999-04-26  Richard Stallman  <rms@@gnu.org>

	* config.in (HAVE_LIBXP): Add #undef.
	* Makefile.in (LIB_MOTIF_EXTRA): Check HAVE_LIBXP.

1999-04-12  Ken'ichi Handa  <handa@@gnu.org>

	* xterm.c (x_list_fonts): Trap X errors so that Emacs doesn't die
	by them.

1999-04-12  Karl Heuer  <kwzh@@gnu.org>

	* s/freebsd.h (BSD_SYSTEM): Define for FreeBSD 4 as with FreeBSD 3.

1999-04-11  Ken'ichi Handa  <handa@@gnu.org>

	* fontset.c (Fset_fontset_font): Fix previous change.

1999-04-09  Ken'ichi Handa  <handa@@gnu.org>

	* fontset.c (Fquery_fontset): Check for fontset aliases here.
	(Fnew_fontset, Fset_fontset_font): Don't check for them here.

1999-04-08  Richard Stallman  <rms@@gnu.org>

	* process.c (Faccept_process_output): Check validity of PROCESS.

1999-04-08  Eli Zaretskii  <eliz@@gnu.org>

	* msdos.c (jp_kbd_translate_table): Fix the other \ key.

1999-04-07  Richard Stallman  <rms@@gnu.org>

	* xfns.c (x_set_font): Fix error message.

	* fontset.c (Fquery_fontset): Don't check for fontset aliases here.
	(Fnew_fontset, Fset_fontset_font): Check for them here.
	 (Ffontset_info, Fnew_fontset, Fset_fontset_font):
	Fix error message syntax.

	* buffer.c (Fmake_indirect_buffer): Copy multibyte status
	from the base buffer.
	(Fset_buffer_multibyte): Copy new multibyte status
	into the buffer's indirect buffers.

1999-04-07  Ken'ichi Handa  <handa@@gnu.org>

	* fns.c (base64_encode_1): Don't add unnecessary newline at the
	tail.

1999-04-06  Richard Stallman  <rms@@gnu.org>

	* dired.c (Ffile_attributes): Doc fix.

	* keymap.c (Faccessible_keymaps): Really initialize i_byte.
	Convert 0200 to meta only in a unibyte string.
	(Fkey_description): Likewise.

	* eval.c (do_autoload): Preserve match data.

1999-04-06  Kenichi HANDA  <handa@@etl.go.jp>

	* w32fns.c (x_to_w32_font): Provide sufficient buffer to
	encode_coding to avoid carryover.

	* coding.c: Add comments for decode_coding and encode_coding.

	* ccl.c (ccl_driver) <CCL_ReadMultibyteChar2>: Fix bug of handling
	a composite character by skipping its leading code.
	<CCL_WriteMultibyteChar2>: Handle non-ascii single byte character
	correctly.

	* coding.c: Add comments for decode_coding and encode_coding.

	* ccl.c (ccl_driver) <CCL_ReadMultibyteChar2>: Fix bug of handling
	a composite character by skipping its leading code.
	<CCL_WriteMultibyteChar2>: Handle non-ascii single byte character
	correctly.

1999-04-06  Eli Zaretskii  <eliz@@gnu.org>

	* msdos.c (dos_rawgetc): Don't zero out c if private translation
	table was used.
	(jp_kbd_translate_table): Support C-\.
	(it_kbd_translate_table): Map `>' correctly.
	(it_keyboard): Add `>'.

1999-04-06  Richard Stallman  <rms@@gnu.org>

	* intervals.c (graft_intervals_into_buffer): Turn off
	inhibit_modification_hooks around calling Fset_text_properties.

1999-04-05  Kenichi HANDA  <handa@@etl.go.jp>

	* xterm.c (dumpglyphs): Be sure to fill the whole background of
	glyphs.

1999-04-05  Eli Zaretskii  <eliz@@gnu.org>

	* msdos.c (jp_kbd_translate_table): Fix last change.

1999-04-04  Eli Zaretskii  <eliz@@gnu.org>

	* msdos.c (struct kbd_translate): New struct, for key translation
	tables private to certain national keyboard layouts.
	(struct dos_keyboard_map): Add a pointer to a private translation
	table.
	(jp_kbd_translate_table): Private table for the Japanese
	keyboard.
	(jp_keyboard): Japanese keyboard layout.
	(it_kbd_translate_table): Private table for the Italian keyboard.
	(it_keyboard): Use it_kbd_translate_table.
	(keyboard_layout_list): Add the Japanese keyboard.
	(dos_rawgetc): Use the keyboard-private translation table, if
	available.
	(abort) [__DJGPP_MINOR__ >= 2]: Raise SIGABRT.

1999-04-02  Kenichi HANDA  <handa@@etl.go.jp>

	* xdisp.c (redisplay_window): When we call compute_motion with
	HPOS got from w->last_point_x, call it with DID_MOTION 1.
	(display_text_line): Stop the loop for processing overlay strings
	when we reach the right edge of the window.

1999-03-31  Richard M. Stallman  <rms@@caffeine.ai.mit.edu>

	* doc.c (get_doc_string): When UNIBYTE and DEFINITION are 0,
	let the data control whether string is unibyte.

1999-03-30  Richard M. Stallman  <rms@@gnu.org>

	* macros.c (Fexecute_kbd_macro): Save real_this_command.
	(pop_kbd_macro): Restore the saved real_this_command.
	(Fcall_last_kbd_macro): Set real_this_command to the macro.

1999-03-26  Richard M. Stallman  <rms@@gnu.org>

	* buffer.c (Fset_buffer_modified_p): Don't lock or unlock
	if buffer-file-name is nil.

1999-03-25  Jason Rumney  <jasonr@@altavista.net>

	* w32select.c (Fw32_set_clipboard_data): Take into account line
	ends when calculating clipboard storage needed for non-ASCII text.

1999-03-25  Andrew Innes  <andrewi@@gnu.org>

	* makefile.nt (PREPARED_HEADERS): Change name of paths.h to epaths.h.
	(epaths.h): Renamed from paths.h.
	(clean): 
	($(BLD)\filelock.obj): 
	($(BLD)\lread.obj): 
	($(BLD)\w32fns.obj): Renamed paths.h to epaths.h.

1999-03-23  Ken'ichi Handa  <handa@@gnu.org>

	* coding.c (encode_coding_iso2022): Initialize dummy arguments to
	ENCODE_ISO_CHARACTER for the previous change on this macro.

1999-03-23  Kenichi Handa  <handa@@etl.go.jp>

	* xdisp.c (decode_mode_spec_coding): Handle integer value in
	eoltype correctly for backward compatibility.

1999-03-20  Kenichi HANDA  <handa@@etl.go.jp>

	* coding.c (ENCODE_ISO_CHARACTER): Check validity of CHARSET.  If
	invalid, produce the buffer internal byte sequence without encoding.

1999-03-19  Karl Heuer  <kwzh@@gnu.org>

	* editfns.c (Fformat): Accept %i format.

1999-03-17  Karl Heuer  <kwzh@@gnu.org>

	* filelock.c (get_boot_time): Test tempname, not filename.

1999-03-17  Jason Rumney <jasonr@@altavista.net>

	* w32bdf.h: Merged patches from Meadow.

	* w32bdf.c: Merged patches from Meadow.

	* w32fns.c (enum_font_cb2): Set the font height to be the
	character height, not the cell height.
	(Fw32_select_font): Initialize font dialog with current default font.
	(Vw32_system_coding_system): New variable.
	(w32_strict_filenames): Add comment.
	(w32_to_x_font): Decode font name using Vw32_system_coding_system.
	(x_to_w32_font): Encode font name using Vw32_system_coding_system. 
	(syms_of_w32fns): Add w32-system-coding-system.

1999-03-15  Richard M. Stallman  <rms@@gnu.org>

	* xterm.c (XTread_socket) <ConfigureNotify>:
	If cursor pos is outside the new frame size, mark cursor as off.

1999-03-14  Ken'ichi Handa  <handa@@gnu.org>

	* xdisp.c (try_window_id): Initialize val.ovstring_chars_done to 0.

	* xterm.c (x_load_font): Trap X errors so that Emacs doesn't die
	by them.

1999-03-14  Richard M. Stallman  <rms@@gnu.org>

	* macros.c (Fexecute_kbd_macro): Initialize executing_macro_iterations
	at beginning.

1999-03-14  Jason Rumney <jasonr@@altavista.net>

	* w32fns.c (w32_strict_fontnames): New variable.
	(Fx_create_frame): Formatting fix.
	(w32_load_system_font): Keep trying to load non-existant font
	if w32_strict_fontnames is nil. Formatting fix.
	(syms_of_w32fns): Add w32-strict-fontnames.

	* w32term.c (W32_TEXTOUT): Do not multiply nchars by charset_dim.
	(dumpglyphs): Formatting fixes.

1999-03-14  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32fns.c (w32_wnd_proc): Handle WM_GETMINMAXINFO message.

1999-03-10  Karl Heuer  <kwzh@@gnu.org>

	* puresize.h (BASE_PURESIZE): Increase to 505000.

1999-03-09  Richard M. Stallman  <rms@@gnu.org>

	* emacs.c (main) [CLASH_DETECTION]: Call init_filelock.

	* filelock.c (init_filelock): New function.

1999-03-09  Dave Love  <fx@@gnu.org>

	* fileio.c (Ffile_directory_p): Doc fix.

1999-03-05  Richard M. Stallman  <rms@@caffeine.ai.mit.edu>

	* coding.c (setup_coding_system): Check for CODING_SYSTEM = nil.

1999-03-08  Richard M. Stallman  <rms@@gnu.org>

	* filelock.c (get_boot_time): Reduce scope of #ifdef BOOT_TIME
	to only the part that uses get_boot_time_1.

1999-03-07  Dave Love  <fx@@gnu.org>

	* fileio.c (Finsert_file_contents): Use xfree.

1999-03-06  Kenichi Handa  <handa@@etl.go.jp>

	* Makefile.in (callproc.o, coding.o, fileio.o, msdos.o, process.o,
	term.o, xselect.o): Depend on ccl.h.

1999-03-05  Geoff Voelker  <voelker@@cs.washington.edu>

	* makefile.nt: Remove common multiple file compilation commands.

1999-03-04  Takeshi YAMADA <yamada@@cslab.kecl.ntt.co.jp>

	* fns.c (Fbase64_encode_string): Allocate sufficient memory for
	newlines added when the arg NO-LINE-BREAK is nil.

1999-03-04  Karl Heuer  <kwzh@@gnu.org>

	* search.c (Fstring_match, Fposix_string_match): Doc fix.

	* buffer.c (syms_of_buffer): Doc fix for case-fold-search.

1999-03-04  Dave Love  <fx@@gnu.org>

	* term.c (term_init): Use xmalloc, not malloc.

	* callproc.c (Fcall_process): Use xmalloc, xfree.

1999-03-03  Andreas Schwab  <schwab@@gnu.org>

	* eval.c (Fdefconst): Doc fix.

1999-03-01  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c: Comment for ISO 2022 encoding mechanism modified.

1999-03-01  Eli Zaretskii  <eliz@@gnu.org>

	* w16select.c (get_clipboard_data): Always stop at the first null byte.

1999-02-28  Richard M. Stallman  <rms@@gnu.org>

	* filelock.c (get_boot_time): Support FreeBSD way to read boot-time.

	* cmds.c (internal_self_insert): Calculate column properly
	in overwrite-of-tab case.

1999-02-27  Andreas Schwab  <schwab@@gnu.org>

	* emacs.c (main) [DOUG_LEA_MALLOC]: Don't use unsetenv, it calls
	malloc in glibc 2.1.

1999-02-26  Richard Stallman  <rms@@gnu.org>

	* Makefile.in: paths.h and paths.in renamed to epaths.h and epaths.in.

	* epaths.in: Renamed from paths.in.
	This avoids a conflict with a system header file paths.h on GNU/Linux.

	* callproc.c, lread.c, w32fns.c, xfns.c, xrdb.c:
	Use epaths.h istead of paths.h.

1999-02-26  Andreas Schwab  <schwab@@gnu.org>

	* emacs.c (main) [DOUG_LEA_MALLOC]: Work around a bug in glibc's
	malloc.

1999-02-25  Dave Love  <fx@@gnu.org>

	* buffer.c (syms_of_buffer): Doc fix for enable-multibyte-characters.

1999-02-25  Richard Stallman  <rms@@gnu.org>

	* filelock.c (get_boot_time): Use WTMP_FILE for file name.
	(WTMP_FILE): Default definition in case not defined.
	(get_boot_time_1): Test that file exists before trying to read it.
	
1999-02-25  Ken'ichi Handa  <handa@@gnu.org>

	* keymap.c (push_key_description): If enable-multibyte-characters
	is nil and C is single byte, push C as is.

1999-02-24  Kenichi Handa  <handa@@etl.go.jp>

	* keymap.c (push_key_description): If enable-multibyte-characters
	is non-nil, try to convert unibyte character to multibyte.  For
	invalid multibyte character, show all bits by octal form.
	(Fsingle_key_description): Check the validity of charset for a
	generic character.

1999-02-23  Richard M. Stallman  <rms@@gnu.org>

	* fileio.c (Ffile_regular_p): Undo previous change.

	* eval.c (Fdefconst): Doc fix.

	* filelock.c (get_boot_time): Don't use BUFSIZ.

1999-02-22  Andrew Innes  <andrewi@@gnu.org>

	* makefile.nt ($(BLD)\w32bdf.obj): Add missing continuation character.
	(EXTRA_LINK): Do version test with strings.

1999-02-22  Andreas Schwab  <schwab@@gnu.org>

	* fns.c (Fbase64_encode_string): Fix last change.

	* termhooks.h (event_kind): Add user_signal.

	* keyboard.c (Qusr1_signal, Qusr2_signal): New variables.
	(syms_of_keyboard): Initialize them.
	(lispy_user_signals): New variable.
	(make_lispy_event): Handle user_signal event type.

	* emacs.c: Don't define Qusr1_signal and Qusr2_signal.
	(syms_of_emacs): Don't initialize them.
	(handle_USR1_signal, handle_USR2_signal): Set event type to
	user_signal instead of non_ascii_keystroke, and use plain integers
	as code instead of Lisp symbols.

1999-02-21  Eli Zaretskii  <eliz@@delysid.gnu.org>

	* fileio.c: (lstat) [!S_ISLNK]: Use stat instead of lstat.

1999-02-21  Richard Stallman  <rms@@gnu.org>

	* filelock.c (get_boot_time_1): Put this in #ifdef BOOT_TIME.

	* print.c (print_error_message): Don't crash if (cdr data)
	is not a list.

1999-02-21  Eli Zaretskii  <eliz@@gnu.org>

	* fileio.c (lstat) [!S_ISLNK]: Use stat instead of lstat.

1999-02-20  Andrew Innes  <andrewi@@gnu.org>

	* vm-limit.c (memory_warnings) [WINDOWSNT]: Reset lim_data on each
	run, since size can vary from run to run.

	* makefile.nt (EXTRA_LINK, LINK_FLAGS): Ensure base relocation
	data is included, to enable profiling.
	($(EMACS)): Map file not needed for emacs.exe.

	* emacs.c (main): [!SYSTEM_MALLOC]: Call realloc and free as well
	as malloc before calling uninterrupt_malloc, for consistency.
	This also enables profiling to work on WINDOWSNT.

1999-02-18  Richard Stallman  <rms@@gnu.org>

	* Makefile.in (emacs.o): Depend on termhooks.h.
	(filelock.o): Depend on systime.h.

1999-02-18  Ken'ichi Handa  <handa@@gnu.org>

	* coding.c (Fdecode_sjis_char): Use %x for formatting error message.
	(Fdecode_big5_char): Likewise.

1999-02-17  Richard Stallman  <rms@@gnu.org>

	* insdel.c (adjust_markers_for_replace): When doing an insertion
	(replacing a region of zero length), handle markers at the
	insertion point properly.

1999-02-17  Andrew Innes  <andrewi@@gnu.org>

	* w32fns.c (Vw32_quit_key): New variable.
	(post_character_message): Use it.
	(syms_of_w32fns): DEFVAR it.

1999-02-16  MORIOKA Tomohiko  <morioka@@jaist.ac.jp>

	* fns.c (Fbase64_encode_string): New optional argument `NO_LINE_BREAK'.

1999-02-16  Richard Stallman  <rms@@gnu.org>

	* filelock.c (within_one_second): New function.
	(current_lock_owner): Use that.
	(get_boot_time): Use /proc/uptime if available.
	Otherwise, if nothing found in wtmp, try wtmp.1.gz and so on.
	(get_boot_time_1): New subroutine taken from get_boot_time.
	
1999-02-16  Richard Stallman  <rms@@gnu.org>

	* emacs.c (Qusr1_signal, Qusr2_signal): New variables.
	(syms_of_emacs): Init and staticpro them.
	(handle_USR1_signal): Don't run any code, just queue up an event.
	(handle_USR2_signal): Likewise.

1999-02-16  Eli Zaretskii  <eliz@@gnu.org>

	* dired.c (Ffile_attributes): If the file's size doesn't fit in
	an integer, return it as a float.  Doc string fixed.

1999-02-16  Richard Stallman  <rms@@gnu.org>

	* emacs.c (Qusr1_signal, Qusr2_signal): New variables.
	(syms_of_emacs): Init and staticpro them.
	(handle_USR1_signal): Don't run any code, just queue up an event.
	(handle_USR2_signal): Likewise.

1999-02-15  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (Fdecode_sjis_char, Fencode_sjis_char): Handle
	ASCII correctly.  Signal error on invalid characters.
	(Fdecode_big5_char, Fencode_big5_char): Likewise.

1999-02-15  Eli Zaretskii  <eliz@@gnu.org>

	* w16select.c (get_clipboard_data): Work around a bug in Windows95
	DOS box which doubles the reported size of text in the clipboard.

1999-02-15  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (decode_coding_iso2022): Don't set
	coding->composed_chars to 0 here.
	(setup_coding_system): Set coding->composed_chars to 0 here.

1999-02-10  Richard Stallman  <rms@@gnu.org>

	* fileio.c (Ffile_regular_p): Use lstat.

1999-02-09  Richard Stallman  <rms@@gnu.org>

	* unexelf.c (HAS_SBSS_SECTION): Define this in some cases.
	(unexec): Test this instead of specific systems.

	* m/macppc.h: New file.

1999-02-08  Dave Love  <fx@@gnu.org>

	* fns.c (Fyes_or_no_p, Fy_or_n_p): Doc fix.

1999-02-08  Ken'ichi Handa  <handa@@gnu.org>

	* coding.c (ccl_coding_driver): On encoding, coding->produced_char
	should be set to coding->produced.

1999-02-07  Paul Fisher  <rao@@gnu.org>

	* fns.c (IS_BASE64_IGNORABLE, READ_QUADRUPLET_BYTE): New macros.
	(base64_decode_1): Use READ_QUADRUPLET_BYTE.

1999-02-07  Markus Rost  <markus.rost@@mathematik.uni-regensburg.de>

	* editfns.c (Fformat): Doc fix.

1999-02-06  Richard Stallman  <rms@@gnu.org>

	* process.c (syms_of_process): defsubr it.
	(Fprocess_running_child_p): New function.

1999-02-05  Andrew Innes  <andrewi@@gnu.org>

	* w32term.c (construct_drag_n_drop): Call DraqQueryPoint before
	recording drop position.

1999-02-05  Ken'ichi Handa  <handa@@gnu.org>

	* coding.c (encode_coding_iso2022): Before writing out an invalid
	code, reset graphic planes and registers if necessary.

	* term.c (encode_terminal_code): Fix previous change.

1999-02-04  Eli Zaretskii  <eliz@@gnu.org>

	* w16select.c (last_clipboard_text, clipboard_storage_size): New
	static variables.
	(set_clipboard_data): Save a copy of the text we put into
	clipboard in last_clipboard_text.
	(get_clipboard_data): If the clipboard text is identical to what
	last_clipboard_text holds, pretend there's no data in the clipboard.

1999-02-03  Richard Stallman  <rms@@gnu.org>

	* s/gnu.h (NLIST_STRUCT): Add #undef.

1999-02-03  Eli Zaretskii  <eliz@@gnu.org>

	* w16select.c (Fw16_set_clipboard_data): When the text needs to be
	encoded, set its pointer and size as returned by encode_coding.

1999-02-02  Ken'ichi Handa  <handa@@gnu.org>

	* fns.c (Fset_char_table_default): To handle the case that CH is
	an ASCII char, use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR.

1999-02-02  Andrew Innes  <andrewi@@gnu.org>

	* w32fns.c (syms_of_w32fns): Change default value of
	w32-mouse-move-interval to 0, so that the mouse wheel/rocker on
	some mice works properly.

1999-02-02  Eli Zaretskii  <eliz@@gnu.org>

	* w16select.c (set_clipboard_data): Correctly null-terminate the
	string to be put into the Windows clipboard.  Use xbuf_addr.

1999-02-01  Richard Stallman  <rms@@gnu.org>

	* buffer.c (Fset_buffer_multibyte): Error if buffer is indirect.

1999-01-31  Richard Stallman  <rms@@gnu.org>

	* process.c (process_send_signal): If CURRENT_GROUP is `lambda'
	then don't send the signal if the shell owns the terminal.
	(Finterrupt_process): Doc change.
	
1999-01-31  Andrew Innes  <andrewi@@gnu.org>

	* unexw32.c: (ROUND_UP_DST_AND_ZERO): New macro.
	(copy_executable_and_dump_data): Use it to ensure alignment slop
	is zeroed.

1999-01-30  Andrew Innes  <andrewi@@gnu.org>

	* w32.c (init_environment): Change argv[0] to contain the full
	path to Emacs.

	* emacs.c (main) [WINDOWSNT]: Pass argv to init_environment.

1999-01-29  Ken'ichi Handa  <handa@@gnu.org>

	* xterm.c (x_new_fontset): For ASCII font, don't use the font name
	returned by x_new_font (the resolved one) but use the font name
	set in the fontset specification.
	(x_load_font): For the height of font, if normarl ascent and
	descent value are larger than those in max_bounds field, use the
	former.

1999-01-28  Eli Zaretskii  <eliz@@gnu.org>

	* xdisp.c (decode_mode_spec_coding): Fix previous change.

1999-01-27  Geoff Voelker  <voelker@@cs.washington.edu>

	* makefile.nt: Use full path to temacs.exe when dumping.

1999-01-27  Jason Rumney <jasonr@@altavista.net>

	* w32fns.c (w32_load_system_font): Do not load unlisted fonts if
	list was reliable.
	(enum_fontex_cb1, enum_fontex_cb2): New functions.
	(w32_list_bdf_fonts): New parameter; max_names.  Callers updated.
	(w32_list_synthesized_fonts): New function.
	(w32_list_fonts): Use maxnames.  Use EnumFontFamiliesEx when
	available instead of EnumFontFamilies.  List synthesized fonts if
	Vw32_enable_italics is non-nil.
	
1999-01-27  Richard Stallman  <rms@@gnu.org>

	* s/ptx4.h (SETUP_SLAVE_PTY): Use the ptem module if it exists.
	Don't complain if ttcompat does not exist.

	* w32fns.c (x_set_frame_parameters): gcpro as needed.

1999-01-27  Andrew Innes  <andrewi@@gnu.org>

	* w32fns.c (w32_wnd_proc): Fix bug introduced by previous change;
	the lwindow, rwindow and apps keys could not be used as function
	keys, because they were being passed to TranslateMessage which
	ignores them.  Also, key was being changed to SPC.

	* makefile.nt: Do make version comparison as strings.

1999-01-27  Eli Zaretskii  <eliz@@gnu.org>

	* coding.c (syms_of_coding): eol-mnemonic-* variables are now
	strings, not characters.

	* coding.h: Likewise.

	* xdisp.c (decode_mode_spec_coding): Display the EOL type as a
	string.

1999-01-26  Dave Love  <fx@@gnu.org>

	* emacs.c (main): Up-date copyright.

1999-01-25  Dave Love  <fx@@gnu.org>

	* coding.c (syms_of_coding): Doc fix for inhibit-eol-conversion.

1999-01-25  Andreas Schwab  <schwab@@gnu.org>

	* eval.c (Fsignal): Move comment to avoid confusing make-docfile.

1999-01-23  Richard M. Stallman  <rms@@borg.ai.mit.edu>

	* xfns.c (x_set_frame_parameters): gcpro as needed.

	* window.c (Fset_window_point): If WINDOW is selected but the
	current buffer is not its buffer, don't use Fgoto_char.

1999-01-22  Richard M. Stallman  <rms@@gnu.org>

	* syntax.c (scan_sexps_forward): Delete duplicate code
	to set prev_from_syntax, above start of main loop.
	At startinstring, check syntax when checking for a match.

1999-01-22  Jason Rumney <jasonr@@altavista.net>

	* w32bdf.c: New file.
	* w32bdf.h: New file.
	* makefile.nt: Add w32bdf.c and w32bdf.h.

	* w32gui.h: Include w32bdf.h.
	(W32FontStruct) Add bdf element.

	* w32term.h (FONT_WIDTH, FONT_HEIGHT, FONT_BASE, FONT_MAX_WIDTH):
	Support BDF fonts.

	* w32term.c (W32_TEXTOUT): New macro.
	(dumpglyphs): Support BDF fonts.  Use W32_TEXTOUT macro.
	Simplify baseline calculation.  Detect SJIS by font, not glyph.
	Call SetTextAlign.
	(syms_of_w32term): Remove "jisx0212-sjis" from
	w32-charset-to-codepage-alist.
	Replace "ksc5601" with "ksc5601.1987" in w32-charset-to-codepage-alist.
	Add "ksc5601.1992' to w32-charset-to-codepage-alist.
	
	* w32fns.c (Vw32_bdf_filename_alist): New variable.
	(x_destroy_bitmap): Returns void not int.
	(x_set_border_pixel): Returns void.
	(w32_load_bdf_font): New function.
	(w32_load_system_font): New function, was w32_load_font.  List
	fonts before loading.  Explicitly set encoding for SJIS fonts.
	Set default_ascent to 0 as comment indicates.
	(w32_load_font): Call w32_load_system_font and w32_load_bdf_font.
	(w32_unload_font): Support BDF fonts.
	(w32_to_x_charset): Fix mappings to avoid wildcard mismatches.
	Autodetect whether to use koi8-r instead of iso8859-5.
	Associate "ksc5601.1987" with HANGUEL_CHARSET.
	Associate "ksc5601.1992" with JOHAB_CHARSET.
	(x_to_w32_charset): Make consistent with w32_to_x_charset.
	(w32_to_x_font): Add resolution.
	(x_to_w32_font): Use font resolution to calculate height if supplied.
	(w32_font_match): Handle wildcards anywhere within field.
	(enumfont_t): Remove unused head pointer.
	(enum_font_cb2): Dereference elfLogFont.
	(w32_list_bdf_fonts): New function.
	(w32_list_fonts): Use one_w32_dispay_info instead of insisting on
	valid frame.  Remove MessageBox.  Support BDF fonts.
	(Fw32_find_bdf_fonts): New function.
	(syms_of_w32fns): Add Vw32_bdf_filename_alist and
	Sw32_find_bdf_fonts.

1999-01-21  Andrew Innes  <andrewi@@gnu.org>

	* makefile.nt (temacs): Use del to delete file, not rm.

1999-01-19  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* keyboard.c (read_key_sequence): Fix previous change.

	* xterm.c (same_x_server): Detect treat ":0" and "unix:0"
	as the same.  Treat "myname:0" as the same as those two.

1999-01-19  Jason Rumney <jasonr@@altavista.net>

	* w32fns.c (x_to_w32_charset): Add iso8859-9.
	(w32_to_x_charset): Fix charset mappings.

	* w32term.c: Remove codepage macros. Remove redundant BIG5 macros.
	(dumpglyphs): Move definitions out of block containing goto.
	Remove redundant code for BIG5.
	Use w32_codepage_for_font instead of
	w32_codepage_for_charset.  Add cast to int where float
	operation is assigned to int.
	(Vw32_charset_to_codepage_alist): New variable.
	(w32_codepage_for_charset): Removed.
	(w32_codepage_for_font): New function, replacing 
	w32_codepage_for_charset. 
	(syms_of_w32term): Add and initialize
	w32-charset-to-codepage-alist.

1999-01-17  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* xselect.c (x_handle_selection_clear): Don't clear the
	selection if Emacs still owns it through a different display.

1999-01-17  Andrew Innes  <andrewi@@gnu.org>

	* w32proc.c: (w32_executable_type): Relax the check to identify
	cygwin-compiled applications, because the exact dll name varies
	with release.  Now only require the name to start "cygwin".

	* w32heap.h: (ROUND_UP):
	(ROUND_DOWN): New macros.
	(need_to_recreate_heap): Renamed to using_dynamic_heap.
	(init_heap): New extern.
	(data_region_size):
	(recreate_heap):
	(read_in_bss):
	(map_in_heap):
	(round_to_next):
	(w32_fatal_reload_error):
	(get_section_size): Obsolete externs removed.

	* w32heap.c: (RVA_TO_PTR): Redefine to convert RVA to address in
	current process.
	(round_to_next): Obsolete function removed.
	(preload_heap_section): New variable.
	(data_region_size): Obsolete variable removed.
	(allocate_heap): Modified to determine end of static heap section
	used during preload, and use that as initial base address for
	dynamic heap instead of hard-coded value.
	(sbrk): Remove call to allocate_heap; handled by init_heap.  Skip
	calls to commit or decommit pages when allocating from static heap
	section during preload.
	(recreate_heap): Obsolete function removed.
	(init_heap): New function to initialize internal sbrk heap
	variables.  Uses static heap section during preload, otherwise
	calls allocate_heap to reserve a heap region dynamically.
	(round_heap): Use ROUND_UP macro instead of round_to_next.

	* unexw32.c: Major rewrite to support cleaner method of dumping; a
	static "bss" section is used for heap space during preload, and
	bss data is now written to the proper section area when dumping.
	(need_to_recreate_heap): Renamed to using_dynamic_heap.
	(heap_index_in_executable): Obsolete variable removed.
	(data_section): New variable.
	(data_start_va): Renamed to data_start.
	(data_start_file): Obsolete variable removed.
	(bss_section):
	(extra_bss_size):
	(bss_section_static):
	(bss_start_static):
	(bss_size_static):
	(extra_bss_size_static):
	(heap_section): New variables.
	(_start): Remove code based on old unexec method.  Call init_heap
	to initialize sbrk heap.
	(close_file_data): Update size of file when closing, so that
	unexec doesn't have to work out exact size in advance.
	(get_bss_info_from_map_file):
	(get_section_size): Obsolete functions removed.
	(rva_to_section): Fix minor bug, and add a work-around for a bug
	in very old linkers.
	(offset_to_section):
	(relocate_offset): New functions.
	(OFFSET_TO_RVA):
	(RVA_TO_OFFSET):
	(RVA_TO_SECTION_OFFSET):
	(PTR_TO_RVA):
	(PTR_TO_OFFSET):
	(OFFSET_TO_PTR): New macros.
	(get_section_info): Modify to support new unexec method;
	determines address ranges in process that need dumping, and COFF
	sections where data will be dumped.  Allows for static and global
	bss data to be in separate ranges.  No longer relies on knowledge
	of section names.
	(copy_executable_and_dump_data_section): Renamed
	copy_executable_and_dump_data.  Completely rewritten to copy
	executable section by section, so that raw data areas can be
	expanded to hold dumped data as necessary.  Allows for bss data to
	be in same section as initialized data.  Reduces size of static
	heap section to that used during preload.
	(dump_bss_and_heap):
	(w32_fatal_reload_error):
	(read_in_bss):
	(map_in_heap): Obsolete functions removed.
	(unexec): Rounds off preload heap to nearest page rather than
	virtual allocation unit.  Modified to match other changes.

	* mem-limits.h: (get_lim_data): Use reserved_heap_size instead of
	data_region_size.

	* makefile.nt: (TEMACS_TMP): New macro.
	($(TEMACS)): Output to TEMACS_TMP from link, use post-link
	processor to add static heap section in support of new unexec.

	* lastfile.c: Include config.h to pick up data layout pragmas.
	[WINDOWSNT]: Remove explicit pragma.

1999-01-12  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (Fdecode_sjis_char): Decode Japanese Katakana character
	correctly.
	(Fencode_sjis_char): Encode Japanese Katakana character correctly.

1999-01-11  Dave Love  <fx@@gnu.org>

	* coding.c (syms_of_coding): Doc fix for inhibit-eol-conversion.

1999-01-11  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* keyboard.c (read_key_sequence): In key-translation-map and
	function-key-map, handle symbol with array as fn def.
	In function-key-map, handle symbol with keymap as fn def,
	and autoloaded definitions.
	
	* puresize.h (BASE_PURESIZE): Increment to 500000.

	* print.c (Qtemp_buffer_setup_hook): New variable.
	(syms_of_print): Init and staticpro that.
	(temp_output_buffer_setup): Run Qtemp_buffer_setup_hook.

1999-01-11  Kenichi Handa  <handa@@etl.go.jp>

	* insdel.c (del_range_1): Call signal_after_change.
	(del_range_byte): Likewise.
	(del_range_both): Likewise.
	(del_range_2): Don't call signal_after_change.

	* xdisp.c (message_dolog): Use insert_1_both to avoid running any
	Lisp code here.

1999-01-07  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* eval.c (find_handler_clause): If SIG is nil (memory full error),
	never run the debugger, and don't bother checking the args
	to see whether the debugger should be run.

1999-01-06  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* keyboard.c (read_key_sequence):
	Tell get_keyelt to look handle autoloads.
	Handle symbols defined as keymaps, and autoloaded keymaps.

1999-01-06  Kenichi Handa  <handa@@etl.go.jp>

	* search.c (search_buffer): Fix previous change.

1999-01-06  Eli Zaretskii  <eliz@@gnu.org>

	* w16select.c (set_clipboard_data): Terminate the text with a null
	character.  Don't allow to put binary data into the clipboard.
	Return zero in case of success, 1 or 2 otherwise.
	(get_clipboard_data): Only bail out if the null character is in
	the last 32-byte chunk of clipboard data
	(Fw16_set_clipboard_data): Make ok and put_status be unsigned.  If
	they save binary data, print a message in the echo area saying the
	text was not put into the clipboard.

	* msdos.c (IT_write_glyphs): Move constant expression out of the loop.

1999-01-06  Andreas Schwab  <schwab@@gnu.org>

	* systty.h [__GLIBC__ >= 2]: Check __FAVOR_BSD instead of
	_BSD_SOURCE, the latter is always defined.

1999-01-05  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* fns.c (Frequire): Don't fail to unbind bindings.

1999-01-02  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* emacs.c (main) [DOUG_LEA_MALLOC]: Don't call r_alloc_reinit.

	* charset.c (Ffind_charset_region): Fix doc typo.

1998-12-31  Eli Zaretskii  <eliz@@mescaline.gnu.org>

	* msdos.c (IT_write_glyphs): Convert unibyte characters to
	multibyte in unibyte buffers only.

	* keymap.c (Fdefine_prefix_command): Accept a third argument NAME
	and pass it to Fmake_sparse_keymap.

1998-12-29  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* alloc.c (MMAP_MAX_AREAS): New macro.
	(allocate_vectorlike, make_uninit_multibyte_string): Use that.
	(init_alloc_once): Use that.

	* s/gnu-linux.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it.

	* alloc.c (lisp_malloc, lisp_free): New functions.
	Use them instead of malloc, xmalloc, and xfree, for Lisp objects.
	Don't set allocating_for_lisp in the callers; let lisp_malloc do it.
	(n_interval_blocks, n_float_blocks): New variable.
	(n_cons_blocks, n_vectors, n_symbol_blocks): New variable.
	(n_marker_blocks, n_string_blocks): New variable.
	(init_intervals, make_interval): Set a count variable.
	Use lisp_malloc instead of setting allocating_for_lisp.
	(init_float, make_float, init_cons, Fcons): Likewise.
	(allocate_vectorlike, init_symbol, Fmake_symbol): Likewise
	(init_marker, allocate_misc, init_strings): Likewise.
	(make_uninit_multibyte_string): Likewise.
	(gc_sweep, compact_strings): Decrement the count variables.

	* alloc.c (uninterrupt_malloc): Don't store Emacs's hooks
	into the old_..._hook variables.

1998-12-28  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* keyboard.c: In each active map, for each menu bar item, use only
	the first submap.
	(menu_bar_one_keymap): Initialize menu_bar_one_keymap_changed_items.
	(menu_bar_item): Update and test menu_bar_one_keymap_changed_items.
	(syms_of_keyboard): Staticpro and init it.

	* xmenu.c (single_keymap_panes): 

1998-12-28  Andrew Innes  <andrewi@@delysid.gnu.org>

	* w32fns.c (w32_msg_pump): Ignore WM_NULL message posted to thread
	by complete_deferred_msg.
	(post_character_message): Cancel all deferred messages when
	quit_char is typed, in order to break out of potential deadlocks.
	(cancel_all_deferred_msgs): New function.
	(complete_deferred_msg): Don't abort if msg not found; may have
	been cancelled.
	(Fw32_reconstruct_hot_key): Use pre-interned symbols.
	(Fw32_send_sys_command): Wait for system command to
	complete before returning.
 
	* w32term.c (x_iconify_frame): Wait for frame to be iconified; do
	not set async_iconified flag though.

	* w32proc.c: (Vw32_start_process_inherit_error_mode): New variable.
	(create_child): Use it.
	(syms_of_ntproc): Defvar it.  Also fix docstrings for
	w32-start-process-share-console and w32-start-process-show-window.

	* unexw32.c (_start): Force system calls accessing unmounted
	devices to fail without prompting.

1998-12-26  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* emacs.c (main): Call memory_warnings and uninterrupt_malloc
	even when starting the dumped Emacs.

	* keymap.c (Fsingle_key_description): Handle (control ?x) etc.
	(Fkey_description): Handle lists like vectors.

1998-12-21  Kenichi Handa  <handa@@etl.go.jp>

	* callint.c (Fcall_interactively) <'C'>: Give Fread_char Qnil
	because of the change of the second argument of Fread_char.

	* charset.c (Fcharset_after): Check range.  If POS is out of
	range, return nil.

	* keyboard.c (read_char): Don't bind input-method-exit-on-first-char.

	* lread.c (Fread_char): Change the meaning of the second argument.
	(Fread_event): Likewise.
	(Fread_char_exclusive): Likewise.

	* print.c (printchar): Fix previous change.

	* process.c (read_process_output): Decide the multibyteness of
	string given to a process filter by a coding system used for
	decoding the process output.

1998-12-21  Eli Zaretskii  <eliz@@mescaline.gnu.org>

	* xterm.c (dumpglyphs): Don't convert 7-bit ASCII characters via
	nonascii-translation-table.
	* msdos.c (IT_write_glyphs): Likewise.
	* fns.c (concat): Likewise.
	* charset.c (unibyte_char_to_multibyte): Likewise.
	* insdel.c (copy_text, count_size_as_multibyte): Likewise.

1998-12-21  Andreas Schwab  <schwab@@delysid.gnu.org>

	* doc.c (Fdocumentation): Change the doc string for prefix
	commands to make it a complete sentence in one line.

1998-12-16  Petri Kaurinkoski  <Petri.Kaurinkoski@@hut.fi>

	* s/irix6-5.h: New file.
	* s/irix6-0.h (IRIX6): Define this symbol.
	* s/usg5-4.h (TIOCSIGSEND): Don't define this if irix6.
	(bcopy, bcmp, bzero): Likewise.
	* m/iris4d.h (LIBS_MACHINE): Leave this blank if irix6.5.
	(C_SWITCH_MACHINE): New value for irix6.5.

1998-12-15  Richard Stallman  <rms@@gnu.org>

	* fns.c (Fbase64_decode_region, Fbase64_decode_string):
	Do free malloc'd memory even in case of failure.  Use xfree, not free.
	(Fbase64_encode_region, Fbase64_encode_string): Use xfree, not free.
	(base64_decode_1): Don't fail for short lines.

	* print.c (printchar): Outputting multibyte characters
	to echo area always makes it multibyte.

	* search.c (search_buffer): Don't use Boyer-Moore
	to search for an invalid multibyte code.
	In unibyte case, no need to check whether there are translations
	in more than one charset; just set charset_base to 0.

1998-12-15  Ken'ichi Handa  <handa@@delysid.gnu.org>

	* print.c (printchar): Cancel previous change.

1998-12-15  Kenichi Handa  <handa@@etl.go.jp>

	* callproc.c: Include "ccl.h".
	(Fcall_process): Doc-string modified.  Set CODING_MODE_LAST_BLOCK
	bit in argument_coding.mode to tell encoding procedure to flush
	data.  While encoding arguments, if argument_coding uses CCL
	program, initialize it again after encoding.
	(Fcall_process_region): Doc-string modified.  Handle the case that
	NARGS is 3.

	* ccl.c (CCL_SUCCESS): Don't set ccl->ic.
	(ccl_driver) <CCL_End>: Pretend that all source text is consumed.
	Set `ic' to the head of this command.
	(ccl_driver) <CCL_ReadMultibyteChar2>: Return a single byte 8-bit
	code for an invalid code.
	(setup_ccl_program): If the arg VEC is nil, skip setting ups
	based on VEC.

	* charset.c (Qunknown): New variable.
	(init_charset_once): Intern and staticpro Qunknown.  Initialize
	all elements of Vcharset_symbol_table to Qunknown.
	(find_charset_in_str): New arg MULTIBYTE.  If it is zero, check
	unibyte characters only.  For an invalid composition sequence, set
	CHARSETS[1] to 1.
	(Ffind_charset_region): Call find_charset_in_str with an
	appropriate MULTIBYTE arg.  If undefined charsets are found,
	include `unknown' is the return value.
	(Ffind_charset_string): Likewise.
	(Fsplit_char): If CHAR is invalid, return `(unknown CHAR)'.
	(str_cmpchar_id): Max composite character code should be less than
	GENERIC_COMPOSITION_CHAR.

	* charset.h (find_charset_in_str): Update declaration.

	* coding.c (DECODE_DESIGNATION): Jump to label_invalid_code if
	final_char is invalid.
	(decode_coding): If coding->type is coding_type_ccl, call
	ccl_coding_driver even if SRC_BYTES is zero.
	(code_convert_region): Update `inserted' correctly after calling
	coding->post_read_conversion.  Even after the code converter
	consumed all source text, call it once more if it is
	coding_type_ccl to flush out data.

	* fileio.c (Finsert_file_contents): Even if INSERTED is zero, if
	CODING is handled by CCL program, call code_convert_region.

	* fns.c (string_char_to_byte): Handle invalid multibyte sequence
	correctly.
	(string_byte_to_char): Likesize.

	* print.c (printchar): When outputting a multibyte character to
	echo area, always set message_enable_multibyte to 1.

	* process.c (read_process_output): If NBYTES is zero and
	CODING_MODE_LAST_BLOCK bit is not yet set in coding->mode, set it
	and try decoding again.
	(Fprocess_send_eof): If the coding system of PROCESS
	requires flushing, call send_process with null-string at first.

	* w16select.c (Fw16_set_clipboard_data): Call find_charset_in_str
	with MULTIBYTE arg 0.
	* w32select.c (Fw32_set_clipboard_data): Likewise.
	* xselect.c (lisp_data_to_selection_data): Likewise.

1998-11-30  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* search.c (Freplace_match): Set OPOINT clearly for the case
	where point is in the middle of the text to be replaced.

	* xdisp.c (display_text_line): When handling HPOS < 0 after loop,
	if compute_motion fails to advance at all, don't back it up.

1998-12-10  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32.c (w32_get_long_filename): Handle root dirs correctly.

	* s/ms-w32.h (LOCALTIME_CACHE): Define. 

1998-12-09  Richard Stallman  <rms@@gnu.org>

	* insdel.c (insert_from_buffer_1): Properly count the size
	of output from conversion to multibyte even when input
	is split across the gap.

1998-12-09  Karl Heuer  <kwzh@@gnu.org>

	* keyboard.c: Doc fixes.

	* s/irix4-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Increase space.

1998-12-08  Andrew Innes  <andrewi@@harlequin.co.uk>

	* w32select.c (Fw32_get_clipboard_data): Do not delete isolated CR
	characters, only convert CRLF to LF.

1998-12-08  Geoff Voelker  <voelker@@cs.washington.edu>

	* makefile.nt: Do string comparision of _NMAKE_VER.

1998-12-06  Eli Zaretskii  <eliz@@mescaline.gnu.org>

	* Makefile.in (msdos.o): Depend on termchar.h, charset.h,
	coding.h, and disptab.h

	* msdos.c (Vdos_unsupported_char_glyph): New variable.
	(syms_of_msdos): DEFVAR_LISP it.
	(IT_insert_glyphs, IT_delete_glyphs): New functions which abort Emacs.
	(internal_terminal_init): Set up insert_glyphs_hook and
	delete_glyphs_hook to call them.  Explicitly set char_ins_del_ok to 0.
	(unibyte_display_via_language_environment): New variable.
	(syms_of_msdos): Devfar it.
	(IT_write_glyphs): Honor glyph aliasing via Vglyph_table.
	Encode the character codes of the glyphs according to the
	terminal_coding in effect.

1998-12-04  Andreas Schwab  <schwab@@delysid.gnu.org>

	* fns.c (Fstring_as_unibyte): Doc fix.

1998-12-03  Andreas Schwab  <schwab@@delysid.gnu.org>

	* charset.h: Declare char_valid_p.

1998-12-03  Eli Zaretskii  <eliz@@mescaline.gnu.org>

	* dosfns.c (dos_cleanup): Flush and fsync the termscript stream.

	* msdos.c (init_environment): Record the time we started up.
	(IT_reset_terminal_modes): Don't restore the screen if we exit too
	fast after startup (aka crash).

1998-12-02  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32.c (check_windows_init_file): Use decode_env_path when
	using EMACSLOADPATH.

1998-12-02  Jason Rumney  <jasonr@@altavista.net>

	* w32term.c (dumpglyphs): Use unsigned char arrays.
	Use FONT_MAX_WIDTH to detect and fudge proportional fonts
	for various languages.
	Compensate for fonts that have underhangs (e.g., Thai).

	* w32term.h (FONT_MAX_WIDTH): New macro.

1998-12-02  Andrew Innes  <andrewi@@harlequin.co.uk>

	* keyboard.c (Qlanguage_change): New variable.
	(syms_of_keyboard): Init it.
	(kbd_buffer_get_event) [WINDOWSNT]: Generate language-change events.
	(lispy_function_keys) [HAVE_NTGUI]: Remove names for modifier
	keys; add name for Escape key; extend to 256 elements.
	(parse_modifiers): Make non-static.

	* keyboard.h (parse_modifiers): Declare prototype.

	* termhooks.h (event_kind) [WINDOWSNT]: Define language_change_event.

	* w32fns.c (w32_last_error): Fix cut+paste error.
	(Vw32_phantom_key_code): New variable.
	(Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift): New variables.
	(syms_of_w32fns): Init and register them.
	(reset_modifiers): Use a more precise test for whether Emacs has
	keyboard focus.  Synchronize state of all keys that can be used as
	modifiers, to overcome problems arising from hot-keys.
	(w32_key_to_modifier): Be careful not to call intern() to avoid
	requiring thread synchronization.
	(w32_msg_pump): Handle new WM_EMACS_TOGGLE_LOCK_KEY message.
	(w32_wnd_proc): Ensure lock key indicator lights are updated
	promptly on Windows 9x, by passing key events on to the system.
	(w32_wnd_proc): Use Vw32_phantom_key_code to stop system
	responding to Windows key events when not wanted.
	(w32_wnd_proc): Undo the mapping of Ctrl-Pause into cancel and
	Ctrl-NumLock into pause by the system.
	(w32_wnd_proc): Don't translate key combinations containing any
	modifiers other than shift (and capslock).
	(w32_wnd_proc): Reset modifier key states when receiving focus (we
	can't determine the key states until we have keyboard focus).
	(Fw32_toggle_lock_key): New function.
	(syms_of_w32fns): Defsubr it.

	* w32inevt.c (key_event): Use Vw32_phantom_key_code.  Undo the
	mapping of Ctrl-Pause into cancel, and Ctrl-NumLock into pause.
	(w32_console_toggle_lock_key): New function.

	* w32term.h (WM_EMACS_TOGGLE_LOCK_KEY): New define.

1998-11-30  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* search.c (Freplace_match): Set OPOINT clearly for the case
	where point is in the middle of the text to be replaced.

	* xdisp.c (display_text_line): When handling HPOS < 0 after loop,
	if compute_motion fails to advance at all, don't back it up.

1998-11-28  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* xfns.c (Qouter_window_id): New variable.
	(syms_of_xfns): Initialize it.
	(x_report_frame_params): Set up outer-window-id parameter.

	* keymap.c (Fsingle_key_description): Fix previous change.

1998-11-26  Ken'ichi Handa  <handa@@delysid.gnu.org>

	* lisp.h (Frequire): Update declaration.

1998-11-26  Kenichi Handa  <handa@@etl.go.jp>

	* ccl.c (ccl_driver) <CCL_TranslateCharacter>: Don't suppress MSB
	if the charset is ascii.
	(ccl_driver) <CCL_TranslateCharacterConstTbl>: Likewise.

	* charset.c (non_ascii_char_to_string): If C has modifier bits,
	make an appropriate one byte string.
	(char_bytes): Handle the case that C is a single byte char or has
	modifier bits.

	* charset.h (CHAR_BYTES): If C has modifier bits, return 1.

	* cmds.c (internal_self_insert): If C has modifier bits, insert
	appropriate one byte char.

1998-11-25  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* fns.c (Fstring_as_unibyte, Fstring_as_multibyte):
	Clear text properties in the new string.

1998-11-24  Felix Lee  <flee@@cygnus.com>

	* process.c (read_process_output): Call signal_after_change.

1998-11-24  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* buffer.c (syms_of_buffer): Doc fix.

	* keyboard.c (syms_of_keyboard): Doc fix.

1998-11-22  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* frame.c (Fset_mouse_position): Doc fix.

1998-11-20  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* keymap.c (Fmake_keymap): Doc fix.

1998-11-17  Kenichi Handa  <handa@@etl.go.jp>

	* category.c (word_boundary_p): If C1 or C2 are composite
	characters, test their first components.

1998-11-16  Richard Stallman  <rms@@sucrose.ai.mit.edu>

	* window.c (temp_output_buffer_show): Around temp-buffer-show-hook,
	don't do save-excursion, just restore selected window.

	* window.c (window_loop): For UNSHOW_BUFFER,
	always do consider minibuffer windows.
	
1998-11-16  Kenichi Handa  <handa@@etl.go.jp>

	* charset.h (SINGLE_BYTE_CHAR_P): Check if C is negative or not.

	* charset.c (non_ascii_char_to_string): If C is negative, signal error.

	* lisp.h (CHAR_TABLE_REF): Check if IDX is negative or not.

	* s/bsdos4.h: New file.

1998-11-16  Kenichi Handa  <handa@@etl.go.jp>

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

	* bytecode.c: Include charset.h.

	* abbrev.c: Include charset.h.

	* syntax.h (SYNTAX_ENTRY_INT): For a composite character, check
	the first component.

1998-11-13  Ehud Karni  <ehud@@unix.simonwiesel.co.il>

	* m/aviion-intel.h (LIBS_MACHINE): Delete redundant definition.

1998-11-11  Richard Stallman  <rms@@gnu.org>

	* xterm.c (XTread_socket): Fix previous change in case F == 0.

	* s/dgux5-4-3.h (BSD_PGRPS): Add #undef.

	* s/dgux4.h (BROKEN_FIONREAD): #undef commented out.
	(INTERRUPT_INPUT): #define commented out.

	* m/aviion-intel.h: New file.

1998-11-11  Eli Zaretskii  <eliz@@delysid.gnu.org>

	* fns.c (MAX_ALLOCA): New macro.
	(Fbase64_encode_region, Fbase64_encode_string,
	Fbase64_decode_region, Fbase64_decode_string):  Don't allocate
	more than MAX_ALLOCA bytes with alloca; otherwise use xmalloc.

1998-11-11  Ken'ichi Handa  <handa@@delysid.gnu.org>

	* insdel.c (byte_combining_error): Error message improved.

	* charset.c (char_valid_p): Handle a composite character correctly.

1998-11-11  Kenichi Handa  <handa@@etl.go.jp>

	* charset.c (str_cmpchar_id): Check the byte sequence for
	composition more rigidly.
	(Fcompose_string): Allow DEL to be composed.  Signal error if STR
	contains an invalid multibyte sequence.

	* xterm.c (x_list_fonts): Don't change the value of maxnames.

1998-11-10  Andrew Innes  <andrewi@@harlequin.co.uk>

	* w32term.h (struct w32_display_info): New element faked_key.
	(WM_EMACS_SETKEYBOARDLAYOUT): 
	(WM_EMACS_REGISTER_HOT_KEY): 
	(WM_EMACS_UNREGISTER_HOT_KEY): New message definitions.
	(LEFT_WIN_PRESSED): 
	(RIGHT_WIN_PRESSED): 
	(APPS_PRESSED): New console keyboard modifier flags.

	* w32term.c (convert_to_key_event): Removed.
	(is_dead_key): Copied to w32fns.c.
	(w32_read_socket): Generate language_change_event.  Modify to work
	with keyboard handling changes in w32_wnd_proc.

	* w32proc.c (sys_kill): Set extended key flag when faking
	Ctrl-Break keystrokes.
	(Fw32_get_locale_info): Allow LONGFORM parameter to specify an
	arbitrary locale property using a numerical index.
	(Vw32_valid_codepages): New variable.
	(enum_codepage_fn): 
	(Fw32_get_valid_codepages): 
	(Fw32_get_console_codepage): 
	(Fw32_set_console_codepage): 
	(Fw32_get_console_output_codepage): 
	(Fw32_set_console_output_codepage): 
	(Fw32_get_codepage_charset): 
	(Fw32_get_valid_keyboard_layouts): 
	(Fw32_get_keyboard_layout): 
	(Fw32_set_keyboard_layout): New functions, exposing Windows locale
	handling functions.
	(syms_of_ntproc): Register them.

	* w32inevt.c: Include w32term.h and w32heap.h.
	(map_keypad_keys):
	(Vw32_enable_caps_lock):
	(Vw32_enable_num_lock):
	(Vw32_pass_lwindow_to_system):
	(Vw32_pass_rwindow_to_system):
	(Vw32_lwindow_modifier):
	(Vw32_rwindow_modifier):
	(Vw32_apps_modifier):
	(Vw32_scroll_lock_modifier):
	(w32_key_to_modifier): Add externs.
	(w32_kbd_mods_to_emacs): Recognize Windows keys, Apps key, and
	Scroll Lock as potential modifiers; exclude numpad keys from
	effect by CapsLock; act on Vw32_enable_caps_lock; remove obsolete
	code.
	(is_dead_key): Copy from w32fns.c.
	(w32_kbd_patch_key): Comment attempt to improve handling of
	dead-keys, and system bug relating to same on Windows NT.  Work
	around the bug by calling ToUnicode and then converting to the
	correct codepage.
	(map_virt_key): Removed obsolete variable.
	(lispy_function_keys): Add extern.
	(key_event): Major rework of keyboard input handling: optionally
	recognize Windows keys and Apps key as modifiers; optionally treat
	NumLock, CapsLock and ScrollLock as function keys; let system
	translate keystrokes to characters to avoid system bugs relating
	to dead-key handling; preserve shift distinction for control
	characters.  Remove some obsolete code.

	* makefile.nt ($(BLD)\w32inevt.obj): Add dependencies on w32term.h
	and w32heap.h.

	* w32fns.c (Vw32_pass_optional_keys_to_system): Variable removed.
	(Vw32_pass_lwindow_to_system):
	(Vw32_pass_rwindow_to_system):
	(Vw32_lwindow_modifier):
	(Vw32_rwindow_modifier):
	(Vw32_apps_modifier):
	(Vw32_enable_num_lock):
	(Vw32_enable_caps_lock):
	(Vw32_scroll_lock_modifier): New variables.
	(modifier_set): Return toggle state for Scroll Lock.
	(w32_key_to_modifier): New function.  Returns chosen modifier bit
	for given key.
	(w32_get_modifiers): Returns modifier flags for
	non-keyboard input events.
	(construct_console_modifiers): Renamed from construct_modifiers;
	recognize Windows and Apps keys as modifiers.
	(w32_get_key_modifiers): New function.  Returns modifier flags for
	keyboard input events.
	(map_keypad_keys): Make non-static.  Use second arg as extended
	flag.
	(w32_grabbed_keys): New variable.
	(HOTKEY, HOTKEY_ID, HOTKEY_VK_CODE, HOTKEY_MODIFIERS): New macros.
	(register_hot_keys):
	(unregister_hot_keys):
	(lookup_vk_code):
	(w32_parse_hot_key):
	(Fw32_register_hot_key):
	(Fw32_unregister_hot_key):
	(Fw32_registered_hot_keys):
	(Fw32_reconstruct_hot_key): New functions to support hotkeys.
	(post_character_message): New function.
	(w32_msg_pump): Handle new messages for using hotkeys and changing
	keyboard layout/language.
	(w32_wnd_proc): Major rework of keyboard input handling:
	optionally recognize Windows keys and Apps key as modifiers;
	optionally treat NumLock, CapsLock and ScrollLock as function
	keys; let system translate keystrokes to characters to avoid
	system bugs relating to dead-key handling; preserve shift
	distinction for control characters; forward keyboard
	layout/language changes to lisp; detect and convert hot-key events
	to normal keystrokes.
	(syms_of_w32fns): Register new functions and variables.
	(w32_last_error): New function for use in debugging.

1998-11-10  Kenichi Handa  <handa@@etl.go.jp>

	* category.h (CATEGORY_SET): Adjusted for the change of
	cmpchar_component.
	(CATEGORY_SET): Likewise.

	* charset.c (cmpchar_component): New arg NOERROR.  Check
	composition char ID more strictly.
	(Fcmpchar_component): Call cmpchar_component with NOERROR arg zero.
	(Fcmpchar_cmp_rule): If CHARACTER should be composed relatively,
	return 255.
	(Fcompose_string): Signal error if STR contains a rule-based
	composition character.

	* charset.h (cmpchar_component): Proto-type adjusted.

1998-11-09  Kenichi Handa  <handa@@etl.go.jp>

	* charset.c (string_to_non_ascii_char): Return correct length for
	a charset of dimension 2 and composition character.

1998-11-08  Richard Stallman  <rms@@sucrose.ai.mit.edu>

	* keymap.c (Fsingle_key_description): Handle generic characters.

	* process.c (Fprocess_status): Doc fix.

1998-11-06  Ken'ichi Handa  <handa@@delysid.gnu.org>

	* charset.c (init_charset_once): Fix previous change.

1998-11-06  Kenichi Handa  <handa@@etl.go.jp>

	* charset.c (string_to_non_ascii_char): Fix previous change.
	(char_valid_p): Check the validity of CHARSET by CHARSET_DEFINED_P.

	* charset.h (SPLIT_NON_ASCII_CHAR): Check dimension of an invalid
	character correctly.
	(STRING_CHAR): Handle an invalid charater correctly.

1998-11-05  Kenichi Handa  <handa@@etl.go.jp>

	* charset.c (string_to_non_ascii_char): Fix previous change.

	* charset.h (MAKE_NON_ASCII_CHAR): Check validity of CHARSET.

	* editfns.c (Fstring_to_char): Don't return a multibyte character
	if STRING is a unibyte string.

	* indent.c (MULTIBYTE_BYTES_WIDTH): Check validity of a multibyte
	character.

	* xdisp.c (display_text_line): Check validity of a multibyte character.
	(display_string): Likewise.  Handle an invalid character correctly.

1998-11-05  Karl Heuer  <kwzh@@gnu.org>

	* insdel.c (Fcombine_after_change_execute): Return nil, not junk.
	If nothing to do, return immediately.
	(syms_of_insdel): Initialize combine_after_change_buffer.

1998-11-05  Richard Stallman  <rms@@gnu.org>

	* xterm.c (XTread_socket): ButtonPress clears f->mouse_moved.

1998-11-04  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32term.c (w32_enable_unicode_output): Rename from
	w32_no_unicode_output.
	(w32_use_unicode_for_codepage, syms_of_w32term): Use new name
	and new semantics.

1998-11-04  Jason Rumney  <jasonr@@altavista.net>

	* w32fns.c (w32_list_fonts): Report an error if a frame has not
	been created yet.

	* w32term.c (dumpglyphs): Use FRAME_FONT for w32_fill_area.

1998-11-04  Kenichi Handa  <handa@@etl.go.jp>

	* charset.c (string_to_non_ascii_char): Change the check for the
	varidity of multibyte form.
	(update_charset_table): Check validity of BYTES.  Don't set
	bytes_by_char_head here.
	(init_charset_once): Set bytes_by_char_head completely.

	* frame.c (do_switch_frame): Cancel previous change.

	* print.c (print_string): Check validity of a character.
	(print): Likewise.

	* sysdep.c [nec_ews_svr4]: Extern *_sobuf.

	* m/ews4800.h, s/ux4800.h: New files.

1998-11-03  Theodore Jump <tjump@@tertius.com>

	* makefile.nt: Compile multiple source files when possible.

	* w32faces.c (Qmouse_face): Replace definition with extern decl.
	
1998-11-03  Andrew Innes  <andrewi@@delysid.gnu.org>

	* w32.c (stat): GetFileInformationByHandle can legitimately fail,
	so don't rely on it succeeding.

	* w32fns.c (x_to_w32_font): Specify DEFAULT_CHARSET in the w32
	LOGFONT struct if x font doesn't specify the charset.
	(x_to_w32_charset): Change >= to == when testing results of
	stricmp.

1998-11-02  Richard Stallman  <rms@@sucrose.ai.mit.edu>

	* fns.c (Frequire): New arg NOERROR.

1998-11-02  Andrew Innes  <andrewi@@harlequin.co.uk>

	* fileio.c (Fsubstitute_in_file_name) [DOS_NT]: Fix typo.

1998-10-31  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* xfaces.c (Qmouse_face): Replace definition with extern decl.
	(syms_of_xfaces): Initialization deleted.

	* textprop.c (Qmouse_face): Variable definition moved here.
	(syms_of_textprop): Initialize it.

	* data.c (set_internal): For built-in maybe-local vars,
	when BINDFLAG is set, do not mark them as local.

1998-10-31  Ken'ichi Handa  <handa@@delysid.gnu.org>

	* insdel.c (replace_range): Fix previous change.

1998-10-31  Kenichi Handa  <handa@@etl.go.jp>

	* editfns.c (Fsubst_char_in_region): Fix previous change.
	(Ftranslate_region): Fix previous change.

	* fns.c (Fbase64_decode_region): Fix previous change.

	* frame.c (do_switch_frame): Update minibuf_window if necessary.

	* insdel.c (byte_combining_error): New function.
	(CHECK_BYTE_COMBINING_FOR_INSERT): Call byte_combining_error.
	(insert_from_string_1): Set *(GPT_ADDR) to 0 before calling
	CHECK_BYTE_COMBINING_FOR_INSERT.
	(insert_from_buffer_1): Likewise.
	(adjust_after_replace): Check the posibility of inhibitted byte
	combining correctly.
	(replace_range): Before signaling an error for inhibitted byte
	combining, recover the buffer in a safe state.
	(del_range_2): Check the posibility of inhibitted byte combining
	correctly.

1998-10-30  Andreas Schwab  <schwab@@delysid.gnu.org>

	* xselect.c (Vselection_coding_system): Doc fix.

	* fns.c (Fbase64_encode_region): Use SET_PT_BOTH instead of SET_PT
	when we have both char and byte position.  Fix type clashes.

	* eval.c (Fsignal): Use a separate format string when passing
	error message string to fatal, in case it contains %'s.

	* editfns.c (Fchar_after): Fix type clashes.

	* charset.c (Fchar_bytes): Doc fix.
	(char_bytes): Fix returned value to match returned type.
	(syms_of_charset): Fix type clash in initialisation of
	Vauto_fill_chars.

1998-10-29  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32console.c (initialize_w32_display): Use buffer coords
	instead of buffer size (which may be larger than the window).

	* fileio.c (init_fileio_once): New function.

	* emacs.c (main): Invoke init_fileio_once.

1998-10-28  Paul Eggert  <eggert@@twinsun.com>

	* xterm.c (XTread_socket): Check the returned value of
	XmbLookupString more carefully.

1998-10-28  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (DECODE_CHARACTER_ASCII): Check validity of inserted code.
	(DECODE_CHARACTER_DIMENSION1): Likewise.
	(DECODE_CHARACTER_DIMENSION2): Likewise.
	(decode_coding_sjis_big5): Check the 2nd byte of SJIS correctly.

	* editfns.c (Fsubst_char_in_region): Fix previous change.
	(Ftranslate_region): Fix previous change.

	* insdel.c (check_markers): Check if markers are at character boundry.
	(adjust_markers_for_insert): Fix previous change.
	(count_combining_before): Don't limit the check at BEGV.
	(count_combining_after): Don't limit the check at ZV.
	(CHECK_BYTE_COMBINING_FOR_INSERT): New macro.
	(insert_1_both): Call CHECK_BYTE_COMBINING_FOR_INSERT.
	(insert_from_string_1): Likewise.
	(insert_from_buffer_1): Likewise.
	(adjust_after_replace): Inhibit bytes combined across region
	boundary.  Update end_unchanged correctly.
	(replace_range): Call CHECK_BYTE_COMBINING_FOR_INSERT.  Update
	end_unchanged correctly.
	(del_range_2): Inhibit bytes combined across region boundary.
	Update end_unchanged correctly.

1998-10-27  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32.c (check_windows_init_file): Also look in load path specified
	in environment.

	* w32console.c (Fset_message_beep): Recognize 'silent.
	(w32_sys_ring_bell): Do nothing for the 'silent sound.
	
	* w32fns.c (w32_color_map_lookup): Remove duplicate definition.

	* w32select.c (Vnext_selection_coding_system): New variable.
	(syms_of_w32select): DEFVAR_LISP it.
	(Fw32_set_clipboard_data): Use Vnext_selection_coding_system if
	non-nil.  Always convert multibyte strings.
	(Fw32_get_clipboard_data): Use Vnext_selection_coding_system if
	non-nil.  Always convert a string that includes non-ASCII characters.
	
1998-10-27  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* fns.c (Fbase64_decode_string): Doc fix.
	(Fbase64_decode_region, Fbase64_encode_string Fbase64_encode_region):
	Likewise.

1998-10-27  Dave Love  <fx@@gnu.org>

	* fns.c (Fbase64_decode_region, Fbase64_encode_region): Fix
	newline in doc string.

1998-10-27  Kenichi Handa  <handa@@etl.go.jp>

	* editfns.c (Fsubst_char_in_region): Correctly handle the case
	that byte combining before happens.
	(Ftranslate_region): Likewise.

	* insdel.c (adjust_after_replace): Correctly handle the case that
	both byte combining before and byte combining after happen.
	(replace_range): Likewise.

1998-10-26  Kenichi Handa  <handa@@etl.go.jp>

	* category.c (syms_of_category): Doc-string modified.

	* coding.c (code_convert_region): Kill the work buffer created by
	pre-write-conversion.

1998-10-25  Jason Rumney  <jasonr@@altavista.net>

	* emacs.c (main) [HAVE_NTGUI]: Invoke syms_of_fontset().

1998-10-23  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (code_convert_region): While preserving the orignal
	point, pay attention to the byte combining problem.

	* fns.c (Fbase64_decode_region): Pay attention to the byte
	combining problem.

	* insdel.c (adjust_markers_for_insert): Adjust markers by taking
	combined_before_bytes and combined_after_bytes into account.
	(count_combining_after): Handle the case that LENGTH is zero.
	(adjust_after_replace): Record deletion at correct buffer
	position.  Handle the case that LEN is zero.
	(replace_range): Record deletion at correct buffer position.
	(del_range_2): Call adjust_makers_for_replace to adjust makers for
	combined bytes.

1998-10-21  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* alloc.c (Fgarbage_collect): Block input around most of the function.
	
1998-10-21  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (setup_coding_system): Fix setting up
	coding->spec.ccl.valid_codes for CCL based coding system.
	(code_convert_region): Set point to FROM before inserting the
	result of pre-write-funciton.  Preserve original point.
	(code_convert_string): If coding->type is coding_type_ccl, do
	conversion even if the length of conversion region is zero.

	* fontset.c: Include frame.h before fontset.h.
	(list_fonts_func): Fix prototype.	

	* frame.c: Include frame.h before fontset.h.

	* xterm.c: Likewise.

1998-10-21  Jason Rumney  <jasonr@@altavista.net>

	* x-list-font.c (Fx_list_fonts): Access frame parameters throught
	general macros.   Don't call x_list_font directory, instead call a
	function set in list_fonts_func.

	* fontset.h (list_fonts_func): Fix prototype.

1998-10-20  Jason Rumney  <jasonr@@altavista.net>

	* makefile.nt (w32fns.c): Add x-list-font.c to dependancies.

	* w32faces.c: Update comments referring to obsolete structs.
	(allocate_face, copy_face, face_eql, load_font,
	Fpixmap_spec_p, free_frame_faces, new_computed_face,
	frame_update_line_height, merge_faces, compute_base_face,
	Fset_face_attribute_internal): Use fontset support based on xfaces.c.

	* w32fns.c: (Vx_pixel_size_width): New global variable.
	(unibyte_display_via_language_environment): New global variable.
	(x_set_font): Add support for setting fontsets.
	(Fx_create_frame): Add check_w32(). Initialize fontsets.  Fix
	font names to match xlfd-tight-regexp.
	(w32_load_font): Rewrite based on x_load_font.
	(x_to_w32_charset, w32_to_x_charset): Add character sets.  Use
	`iso8859-1' rather than `ansi'.
	(w32_to_x_font): Remove `-' from font name.  Remove the `-' off the
	end. Move charset into `charset registry' field.
	(enum_font_cb2): Check charsets match.  Include width in font list.
	(w32_list_fonts): Rewrite based on x_list_fonts.
	Moved from w32term.c to have access to enumfont_t struct.
	(Fx_list_fonts): w32 specific version eliminated.  Include
	`x-list-fonts.c'.
	(w32_get_font_info, w32_query_font, w32_find_ccl_program): New
	functions for fontset support - adapted from x_ equivalents.
	(syms_of_w32fns): New lisp variables initialised.  Function
	pointers for fontset.c set up.

	* w32term.c: Include fontset.h.  Define codepage macros. 
	Add ENCODE_BIG5 macro from coding.c.
	(w32_no_unicode_output): New variable.
	(w32_codepage_for_charset, w32_use_unicode_for_codepage): New
	functions.
	(BUILD_WCHAR_T, BYTE1, BYTE2): New macros.
	(dumpglyphs): Rewrite based on xterm.c equivalent.
	(x_new_font): Use functionality provided in fontset.c.
	(x_new_fontset): New function based on the one in xterm.c.
	(syms_of_w32term): Add w32-no-unicode-output flag.

	* w32term.h: Remove redundant font_info struct definition. 
	(Vx_pixel_size_width_font_regexp,
	unibyte_display_via_language_environment): Declare variables.
	(w32_list_fonts, w32_get_font_info, w32_query_font, w32_load_font): 
	Declare functions.
	(w32_output): New fields font_baseline and fontset.
	(FRAME_FONTSET, FRAME_W32_FONT_TABLE): New macros.

	* w32xfns.c: Include charset.h and fontset.h.

1998-10-20  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* syntax.c (syms_of_syntax): Fix the setup of Qscan_error.

1998-10-20  Eli Zaretskii  <eliz@@mescaline.gnu.org>

	* msdos.c (mouse_init): Reset the button press/release info of the
	mouse driver.
	(mouse_preempted): New variable.
	(dos_rawgetc): Don't generate mouse events if mouse is preempted.
	(XMenuActivate): Preempt the mouse during menu-handling loop.
	Release the current time slice while idling in the menu-handling
	loop.  Leave the loop only if the user pressed, then released the
	same button.  Discard all mouse events that are pending in the
	event queue before exiting.

1998-10-19  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* editfns.c (Fformat): Increase buffer size for floating format.

1998-10-17  Kenichi Handa  <handa@@etl.go.jp>

	* charset.c (Vauto_fill_chars, Qauto_fill_chars): New variables.
	(syms_of_charset): Staticpro and initialize Qauto_fill_chars.
	Declare auto-fill-chars as a Lisp variable and initialize it.

	* charset.h (Vauto_fill_chars): Extern it.

	* cmds.c (internal_self_insert): Check Vauto_fill_chars.

1998-10-16  Kenichi Handa  <handa@@etl.go.jp>

	* casefiddle.c (casify_object): Use make_string instead of
	make_specified_string to cope with byte-combining situation.

	* coding.c (decode_coding_iso2022): Set coding->fake_multibyte to
	1 when encountered with a code of the range 0x80..0x9F.

1998-10-14  Eli Zaretskii  <eliz@@mescaline.gnu.org>

	* callproc.c (Fcall_process) [MSDOS]: Use $TMPDIR instead of
	trying $TMP and $TEMP, since the former is always set in msdos.c.
	(Fcall_process_region) [DOS_NT]: When looking for a place to put
	the temporary files, check $TMPDIR as well.

1998-10-14  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* process.c (exec_sentinel, read_process_output): 
	Restore waiting_for_user_input_p after running Lisp code.

	* keyboard.c (parse_menu_item): Avoid initialization for Lisp_Object.
	(command_loop): Likewise.

1998-10-14  Kenichi HANDA  <handa@@etl.go.jp>

	* data.c (Faset): Fix previous change.

	* fns.c (Ffillarray): Fix previous change.

	* insdel.c (adjust_markers_for_combining): This function deleted.
	(adjust_markers_for_replace): Correctly adjust marker positions.
	Don't record these adjustment because they were recorded already.
	(combine_bytes): Don't adjust markers here.

1998-10-13  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* minibuf.c (Fdisplay_completion_list): Put on mouse-face properties.

1998-10-12  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* keyboard.c (Fclear_this_command_keys): New function.
	(syms_of_keyboard): defsubr it.

	* macros.c (Fexecute_kbd_macro): Set real_this_command.

1998-10-12  Kenichi Handa  <handa@@etl.go.jp>

	* ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the definitions.

	* charset.c (Fstring): Call make_string instead of
	make_string_from_bytes.
	(Ffind_charset_region): Include `composition' in the returned list
	if the region contains any composite characters.
	(Ffind_charset_string): Include `composition' in the returned list
	if the string contains any composite characters.
	(find_charset_in_str): Handle CMPCHARP arg correctly.

	* coding.c (shrink_decoding_region): If a charset other than ascii
	is initially designated to G0, don't shrink the region.
	(shrink_encoding_region): Likewise.

	* data.c (Faset): If ARRAY is a multibyte string, pay attention to
	byte-combining situation.

	* fns.c (clear_string_char_byte_cache): New function.
	(Ffillarray): Handle multibyte string correctly.

	* lisp.h (clear_string_char_byte_cache): Extern it.

	* xselect.c (lisp_data_to_selection_data): Call
	find_charset_in_str with CMPCHARP arg 0.
	* w16select.c (Fw16_set_clipboard_data): Likewise.
	* w32select.c (Fw32_set_clipboard_data): Likewise.

1998-10-11  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* keyboard.c (parse_menu_item): For top level of menu bar,
	accept ordinary commands, and treat them just like a keymap.

1998-10-11  Richard Stallman  <rms@@sucrose.ai.mit.edu>

	* xdisp.c (redisplay_window): Clear w->window_end_valid
	before running the window-scroll-functions hook, if appropriate.

1998-10-10  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* data.c (Fstring_to_number): Don't recognize floating point
	if base is not 10.

	* window.c (window_loop): New alternative CHECK_ALL_WINDOWS.
	(check_all_windows): New function for debugging tests.
	(syms_of_window): Initialize it.

	* window.c (Qwindow_configuration_p): New variable.
	(Fwindow_configuration_frame): New function.
	(syms_of_window): defsubr it.
	(Fset_window_configuration): Return t if frame is live.
	Use Qwindow_configuration_p.

	* xfns.c (check_x_display_info): Don't use selected_frame
	if it is dead.

1998-10-09  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32fns.c (x_create_bitmap_from_file): Skip special files.

1998-10-08  Kenichi Handa  <handa@@etl.go.jp>

	* buffer.h (inhibit_modification_hooks): Extern it.

	* buffer.c (inhibit_modification_hooks): New variable.
	(init_buffer_once): Initialize inhibit_modification_hooks to 0.

	* charset.c (invalid_character): Prepend `0' to octal
	representation.  Give error sufficient args.

	* coding.c (code_convert_region): Set inhibit_modification_hooks
	to 1 before calling Fset_text_properties.

	* insdel.c (signal_before_change): If inhibit_modification_hooks
	is nonzero, do nothing.
	(signal_after_change): Likewise.

1998-10-08  Emilio Lopes  <Emilio.Lopes@@Physik.TU-Muenchen.DE>

	* process.c: Doc fixes.

1998-10-08  Richard Stallman  <rms@@sucrose.ai.mit.edu>

	* syntax.c (scan_lists): Bring FROM back into range BEGV...ZV.

1998-10-07  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32.c (init_ntproc): Check for Windows init file.
	(term_ntproc): Do not check for it here.

1998-09-28  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (check_composing_code): Fix previous change.  Now it
	alwasy returns 0 or -1.
	(decode_coding_iso2022): Adjusted for the above change.
	(encode_coding_iso2022): When encoding the last block, flush out
	tailing garbage bytes.
	(setup_coding_system): Delete unnecessary code.
	(shrink_decoding_region): Check translation table.  If ASCII
	should be translated, give up shrinking.
	(shrink_encoding_region): Likewise.
	(SHRINK_CONVERSION_REGION_THRESHHOLD): New macro.
	(SHRINK_CONVERSION_REGION): New macro.
	(code_convert_region): Call SHRINK_CONVERSION_REGION.  Delete text
	properties here.
	(code_convert_region): In the case of encoding, always calulate
	correct character number.
	(code_convert_string): Call SHRINK_CONVERSION_REGION.
	(code_convert_region1): Don't delete text properties here.

	* insdel.c (adjust_after_replace): Don't delete text properties here.

	* term.c (encode_terminal_code): Handle raw 8-bit codes correctly.

1998-09-27  Richard Stallman  <rms@@psilocin.ai.mit.edu>

	* emacs.c (sort_args): Fill extra space with NULL ptrs.

1998-09-26  Kenichi Handa  <handa@@etl.go.jp>

	* coding.h (struct coding_system): New member composed_chars.

	* coding.c (check_composing_code): If the current composing
	sequence doesn't end properly, return -1.
	(DECODE_CHARACTER_ASCII): Update coding->composed_chars.
	(DECODE_CHARACTER_DIMENSION1): Likewise.
	(decode_coding_iso2022): Check validity of a composing sequence.
	(code_convert_string): If the length of text to be converted is
	shrunk to zero, don't perform code conversion.
	(shrink_decoding_region): Fix previous change.

	* editfns.c (Fformat): Check format control characters.

1998-09-25  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (decode_eol): While decoding DOS-like eol, handle a
	single CR code correctly.
	(shrink_decoding_region) <CODING_CATEGORY_IDX_ISO_7 or
	CODING_CATEGORY_IDX_ISO_7_TIGHT>: Skip also 8-bit codes.

1998-09-23  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32fns.c (w32_color_map_lookup): New function.
	(x_to_w32_color): Approximate colors ending in numbers if necessary.

1998-09-22  Kenichi Handa  <handa@@etl.go.jp>

	* ccl.c (ccl_driver): Report correct CCL program counter on error.

	* xmenu.c (single_submenu) [! HAVE_MULTILINGUAL_MENU]: Make
	strings unibyte.
	(xmenu_show) [! HAVE_MULTILINGUAL_MENU]: Likewise.

1998-09-22  Kenichi Handa  <handa@@etl.go.jp>

	* callint.c (Fcall_interactively): Don't use input method when
	reading a character in the case of `c' code letter.

1998-09-21  Dave Love  <fx@@gnu.org>

	* editfns.c (Fsave_restriction): Doc fix.

1998-09-21  Richard Stallman  <rms@@gnu.org>

	* lread.c (build_load_history): Do add to Vload_history
	even when dumping Emacs.

1998-09-18  Kenichi Handa  <handa@@etl.go.jp>

	* ccl.c (CCL_WRITE_CHAR): Don't use bcopy.
	(ccl_driver): If BUFFER-MAGNIFICATION of the CCL program is 0,
	cause error if the program is going to output some bytes.  When
	outputing a string to notify an error, check the case that
	DST_BYTES is zero.

	* coding.h (CODING_FINISH_INTERRUPT): New macro. 

	* coding.c (ccl_coding_driver): If ccl_driver is interrupted by a
	user or the CCL program executed an invalid command, return
	CODING_FINISH_INTERRUPT.
	(code_convert_region): Pay attention to the converters return
	value CODING_FINISH_NORMAL and CODING_FINISH_INTERRUPT.

1998-09-16  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (code_convert_region): Update beg_unchanged and
	end_unchanged after we delete the source text.

	* insdel.c (adjust_markers_for_replace): Don't adjust a byte
	position if it is FROM.
	(adjust_markers_for_combining): New function.
	(combine_bytes): Call adjust_markers_for_combining instead of
	adjust_markers_for_replace.
	(adjust_after_replace): Record deletion of combining after bytes
	with the correct position.
	(replace_range): Likewise.  Record the actual deletion after
	recoding deletions of combining bytes.

	* xdisp.c (message_log_check_duplicate): Count byte length of the
	latest message correctly.

1998-09-12  Richard Stallman  <rms@@gnu.org>

	* xdisp.c (redisplay_internal): Use TEMP_SET_PT_BOTH
	instead of SET_PT_BOTH.
	(try_window_id, display_text_line): Likewise.

1998-09-12  Karl Heuer  <kwzh@@gnu.org>

	* data.c (Fmake_local_variable): Doc fix.

1998-09-10  Dave Love  <fx@@gnu.org>

	* print.c (Fwith_output_to_temp_buffer): Doc fix.

1998-09-10  Richard Stallman  <rms@@gnu.org>

	* s/irix6-0.h (TIOCSIGSEND): Add #undef.
	(bcopy, bcmp, bzero): Add #undef.

	* keyboard.c (command_loop_1): When switching to selected window's bfr,
	first exit if selected frame is dead (no live frames remain).
	(read_key_sequence): Likewise.

1998-09-10  Karl Heuer  <kwzh@@gnu.org>

	* emacs.c (main): Mention --display and --eval in help.

1998-09-07  Paul Eggert  <eggert@@twinsun.com>

	* editfns.c (emacs_memftime): New function.
	(Fformat_time_string): Use it to handle null bytes in formats
	correctly.

1998-09-08  Kenichi Handa  <handa@@etl.go.jp>

	* charset.c (Ffind_charset_region): Optimization for unibyte buffer.
	(Ffind_charset_string): For unibyte string, return (ascii).

	* editfns.c (Fsubst_char_in_region): Call replace_range with the
	arg MARKERS 1.

	* insdel.c (adjust_after_replace): Don't add combining bytes to
	the args given to adjust_point.  Handle correctly the case that
	there are both before and after combining bytes.
	(replace_range): Likewise.

1998-09-07  Lars Magne Ingebrigtsen  <larsi@@gnus.org>

	* fns.c (base64_decode_1, base64_encode_1): New functions.
	(Fbase64_decode_string, Fbase64_encode_string): New functions.
	(Fbase64_decode_region, Fbase64_encode_region): New functions.

1998-09-07  Karl Heuer  <kwzh@@gnu.org>

	* eval.c (error): After enlarging buffer, write to it, not to buf.

	* fns.c (Fwidget_put): Return VALUE instead of garbage.

1998-09-07  Kenichi Handa  <handa@@etl.go.jp>

	* charset.h (STRING_CHAR_AND_LENGTH): Return correct value in
	ACTUAL_LEN even if LEN is too short to have a valid multibyte form.
	(STRING_CHAR_AND_CHAR_LENGTH): Likewise.

	* coding.c (ccl_coding_driver): Always calculate correct mulibyte
	chars in produced byte sequence.
	(Ffind_operation_coding_system): Doc-string fixed.

	* insdel.c (count_combining_after): Check also preceding bytes at
	POS if all characters in STRING are not character head.

1998-09-06  Paul Eggert  <eggert@@twinsun.com>

	* editfns.c (Fformat_time_string, Fdecode_time, Fcurrent_time_zone):
	Don't assume that localtime and gmtime return non-NULL.

1998-09-06  Lars Magne Ingebrigtsen  <larsi@@gnus.org>

	* fns.c (Fbase64_decode_string, Fbase64_encode_string,
	base64_decode_1, Fbase64_decode_region, Fbase64_encode_region):
	New functions.

1998-09-06  Richard Stallman  <rms@@gnu.org>

	* editfns.c (Fformat): Detect incomplete format spec at string's end.

	* lread.c (Fload): Handle case where openp finds a magic file
	but it has no `load' handler or that handler calls `load'.
	If FOUND != FILE, find FOUND's handler even if inhibited for FILE.

1998-09-04  Dave Love  <fx@@gnu.org>

	* buffer.c (enable-multibyte-characters): Doc fix.

1998-09-02  Geoff Voelker  <voelker@@cs.washington.edu>

	* w32heap.c (allocate_heap): Define NTHEAP_PROBE_BASE by default.

1998-09-01  Kenichi Handa  <handa@@etl.go.jp>

	* editfns.c (Ftranspose_regions): Use BYTE_POS_ADDR to get an
	address in buffer from byte-position.

1998-09-01  Eli Zaretskii  <eliz@@delysid.gnu.org>

	* w16select.c (Vnext_selection_coding_system): New variable.
	(syms_of_win16select): DEFVAR_LISP it.  No need to staticpro
	Vselection_coding_system.
	(Fw16_set_clipboard_data): Always convert multibyte strings.  Use
	Vnext_selection_coding_system if non-nil.
	(Fw16_get_clipboard_data): Always convert a string that includes
	non-ASCII characters. Use Vnext_selection_coding_system if
	non-nil.

1998-08-31  Andrew Innes  <andrewi@@harlequin.co.uk>

	* w32fns.c (w32_wnd_proc): Always zero button_state when releasing
	mouse capture.

1998-08-31  Kenichi Handa  <handa@@etl.go.jp>

	* xterm.c (x_load_font): If SIZE is 0, don't use a name
	x_list_font returns.

1998-08-31  Paul Eggert  <eggert@@twinsun.com>

	* lread.c (read1): Don't assume that atof ("-0.0") yields +0.0.
	Handle leading '-' uniformly for zeros, infinities, and NaNs.

1998-08-31  Eli Zaretskii  <eliz@@delysid.gnu.org>

	* msdos.c (IT_cmgoto): When tracking echo area messages with the
	cursor, save and restore previous cursor position in the
	minibuffer.

1998-08-31  Kenichi Handa  <handa@@etl.go.jp>

	* charset.c (unibyte_char_to_multibyte):
	Vnonacii_translation_table will convert a 7-bit charcater.
	(multibyte_char_to_unibyte): Handle the case that
	Vnonacii_translation_table converts a multibyte charcater to a
	unibyte charcter of less than 128.
	(init_charset_once): Initialize nonascii_insert_offset and
	Vnonacii_translation_table.

	* coding.c (decode_coding): Even if SRC_BYTES is zero, try
	processing if CODING requires flushing.
	(encode_coding): Likewise.
	(code_convert_region): Likewise.
	(code_convert_string): Likewise.

	* fns.c (concat): If Vnonascii_translation_table is non-nil, try
	to convert a character less than 160 to multibyte.
	* insdel.c (copy_text): Likewise.
	(count_size_as_multibyte): Likewise.
	* xterm.c (dumpglyphs): Likewise.

1998-08-29  Paul Eggert  <eggert@@twinsun.com>

	* data.c (arith_driver, float_arith_driver): Compute (- x) by
	using negation, not subtraction; this makes a difference with
	IEEE floating point arithmetic (and also if integer arithmetic
	is ones' complement or signed-magnitude!).

1998-08-29  Karl Heuer  <kwzh@@gnu.org>

	* xfns.c (x_create_bitmap_from_file): Fail immediately if magic.

1998-08-28  Ken'ichi Handa  <handa@@delysid.gnu.org>

	* charset.c (Fchar_bytes): Add \n\ in doc-string.

1998-08-28  Paul Eggert  <eggert@@twinsun.com>

	* s/sol2-4.h (NOT_USING_MOTIF): New macro.
	(LD_SWITCH_SYSTEM_TEMACS): Put /usr/dt/lib in the link library
	path only if we're not building with Motif.

1998-08-28  Kenichi Handa  <handa@@etl.go.jp>

	* insdel.c (adjust_after_replace): Fix the code to record undo
	information for the case that `before combining' happens.  Remove
	text properties which are added to the new text by
	offset_intervals.

	* coding.c (code_convert_region1): Remove all text properties of
	the region.

1998-08-28  Kenichi Handa  <handa@@etl.go.jp>

	* charset.h (CHAR_BYTES): New macro.

	* charset.c (Fchar_bytes): Now always return 1.
	(char_bytes): New function.

	* editfns.c (Fposition_bytes): If the arg POSITION is out of
	range, return nil.
	(Fbyte_to_position): If the arg BYTEPOS is out of range, return
	nil.

	* data.c (Faset): Use macro CHAR_BYTES instead of Fchar_bytes.
	* fns.c (concat): Likewise.
	* insdel.c (count_size_as_multibyte): Likewise.
	* xdisp.c (message_dolog): Likewise.

1998-08-27  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (detect_coding_iso2022): Handle ESC N and ESC O
	correctly.  They are for SS2 and SS3 respectively.
	(ccl_coding_driver): Fix previous change.

1998-08-26  Paul Eggert  <eggert@@twinsun.com>

	* xterm.c (fixup_locale): New function.  For now, it resets
	LC_TIME to "C" (reverting the 1998-08-07 change), and also
	resets LC_MESSAGES to "C".
	(x_term_init): Use it to fix up the locale after setlocale
	(LC_ALL, "").

1998-08-26  Kaveh R. Ghazi  <ghazi@@caip.rutgers.edu>

	* xterm.c (x_calc_absolute_position): Cast argument to XFree, in
	case it was prototyped the old way.

1998-08-25  Kenichi Handa  <handa@@etl.go.jp>

	* xterm.c (x_list_fonts): Work-around for the case XGetAtomName
	returns a null string.  This happens when dxpc 3.7 is being used.

1998-08-24  Andreas Schwab  <schwab@@delysid.gnu.org>

	* keyboard.c (input-method-previous-message): Doc fix.

	* coding.c (file-coding-system-alist,
	select-safe-coding-system-function): Doc fix.

1998-08-23  Kenichi HANDA  <handa@@etl.go.jp>

	* coding.c (detect_coding_iso2022): Don't check the byte length of
	succeeding codes (0xa0..0xFF) if the codes follows single shift
	code (SS2 or SS3).

1998-08-21  Ken'ichi Handa  <handa@@delysid.gnu.org>

	* coding.c (detect_coding_system): If detect_eol_type returns
	CODING_EOL_INCONSISTENT, set eol_type to CODING_EOL_UNDECIDED
	correctly.

d932 1
a932 1
	Vlast_coding_system_used when we actually perform IO.
d1059 5
a1063 5
	nonzero when reading a bytecode object.  If
	`load-force-doc-strings' is t when reading a lazily-loaded
	bytecode vector, the loaded docstring must be treated as unibyte
	and passed to Fread to obtain the actual bytecode string and
	constants vector.
d1068 1
a1068 1
	forced to load doc strings.
d1291 2
a1292 2
	concatenate the directory prefix and file name to accidentally
	create a network share name.
d1823 1
a1823 1
	if preceded by CR, since that confuses eol decoding.
d1825 2
a1826 2
	CODING_FINISH_INSUFFICIENT_SRC, was overwriting src with garbage
	from dst instead of copying from src to dst.
d1836 2
a1837 2
	conjunction with stat to make handling of file timestamps
	consistent.
d1847 2
a1848 2
	as an expose event if the repaint region is actually empty.  Also
	use the standard menubar_selection_callback routine.
d1851 1
a1851 1
	based on xmenu.c; menu construction is now completely lazy.
d3287 1
a3287 1
	* s/gnu-linux.h (LINUX_MAP_SHARED_DOES_WORK): Define for kernel
d3375 1
a3375 1
	fixed.  Make the behaviour consistent with INC_POS.
d3439 2
a3440 2
	Lisp_Object.  Allow marker as arg POSITION.  Use XINT for type
	consistency.
d4700 1
a4700 1
	* s/uxpds.h: New file.
d5138 1
a5138 1
	loaded and don't indicate when compiled code is being loaded.
d5239 1
a5239 1
	Switch back to GNU C Library version.
d5285 1
a5285 1
	are reset even if spawnve fails.
d5571 1
a5571 1
	(file_data): Move definition from w32heap.c.
d5739 3
a5741 3
	vertical_scroll_bar_bottom_border, last_scroll_bar_drag_pos,
	Vw32_gab_focus_on_raise, Vw32_capslock_is_shiftlock): New
	variables.
d5745 1
a5745 1
	loop.
d5747 2
a5748 2
	my_set_focus) [! ATTACH_THREADS]: Send message to window instead
	of invoking Windows procedure.
d5762 2
a5763 2
	Handle WM_DISPLAYCHANGE, WINDOWPOSCHANGED, ACTIVATE, SHOWWINDOW,
	INITMENU, and ACTIVATEAPP messages.
d5808 1
a5808 1
	(WM_EMACS_TRACKPOPUPMENU): New Macro.
d5819 16
a5834 16

 	* w32menu.c (get_frame_menubar_event): Check for the possibility
	of a menu-bar button.  A menu-bar button is a caption on the menu
	bar with no submenu.
	(set_frame_menubar): Correctly handle menu-bar buttons.
	(add_menu_item): Equiv parameter send and paid attention to.
	(keymap_panes, list_of_panes): Use CreatePopupMenu.
	(single_keymap_panes): Use CreatePopupMenu.  Send key descriptions
	to add_menu_item.
	(list_of_items): Use CreatePopupMenu.  Send nil description to
	add_menu_item.
	(get_menu_event): Send keymap instead of menu to get_keymap_event.
	(Fx_popup_menu): Extra parameter to mouse_position_hook.  Don't
	send address of menu to win32menu_show.
	(win32menu_show): Send message to call popup menu rather than
	trying directly.  get_menu_event should take an address.
d5837 3
a5839 3
	(list_of_panes): Only bring up one pane if the length of the list
	of panes is one.

d5841 5
a5845 5
 
 	* w32menu.c (single_keymap_panes): Fixed problem with 'descrip'
	lisp object not being protected properly (GCPRO).
 	(get_single_keymap_event): Fixed problem with 'descrip' lisp
	object not being protected properly (GCPRO).
d5848 4
a5851 4
	placed in the main popup instead of a blank-named submenu.  This
	seems to be an undocumented feature of x-popup-menu.
 	(list_of_items): New argument HMENU.
	Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item
d5857 1
a5857 1
	* w32fns.c (w32_wnd_proc): Pass on WM_DISPLAYCHANGE messages.
d5864 1
a5864 1
 	key press was done using a dead key.
d5872 1
a5872 1
	EMDATA segment, and Emacs uninitialized data in EMBSS segment.
d8645 1
a8645 1
	(syms_of_window): Initialize; set up Lisp var.
d8829 1
a8829 1
	Don't call ENCODE_DESIGNATION if nothing designated initially.
d8913 1
a8913 1
	Compare height against xp.vpos instead of xp.bufpos.
d8925 1
a8925 1
	STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2):
d8990 1
a8990 1
	check against truncated text at end of line.
d8993 2
a8994 2
	instead of FRAME_WIDTH, as the message may include multi-byte
	character and the length may be longer than width.
d8996 1
a8996 1
	multi-byte characters are enabled.
d8998 1
a8998 1
	multibyte characters.
d9001 1
a9001 1
	move_to_column faster.
d9010 1
a9010 1
	wide-column.
d9017 2
a9018 2
	Note that we will find the continuation (linebreak) _AFTER_ it
	occurs.
d9021 1
a9021 1
	characters, call current_column_1.
d9029 2
a9030 2
	line may be less than WIDTH columns because of wide-character
	continuation.
d9036 2
a9037 2
	offset.  We now use val.tab_offset to maintain tab offset.
 	Removed local variable tab_offset.
d9043 2
a9044 2
	contin_hpos, prev_tab_offset) to handle multi-byte characters and
	wide-column characters.
d9053 1
a9053 1
	negative number for the argument TOHPOS of compute_motion.
d9060 1
a9060 1
	to express big negative number (for consistency with xdisp.c).
d9065 1
a9065 1
	express "Don't care".
d9075 1
a9075 1
	(XOBJ): Include fontset.o.
d9397 1
a9397 1
	(syms_of_syntax): Set up Qscan_error.
d9417 1
a9417 1
	to be supported, recognize Alt-key combinations even if the Alt
d9430 1
a9430 1
	since fmod might need it.
d9466 1
a9466 1
	minibuffer window.
d9696 1
a9696 1
	3.2v4.2's, since SCO's botches time arithmetic as used by display-time.
d9904 1
a9904 1
	if signaling an error.
d9922 1
a9922 1
	quit_char.
d9956 3
a9958 3
	ntheap.c, ntheap.h, ntinevt.c, ntinevt.h, ntproc.c, ntterm.c,
	termhooks.h, unexnt.c, w32faces.c, w32fns.c, w32menu.c, w32reg.c,
	w32select.c, w32term.c, w32term.h, w32xfns.c, s/windowsnt.h:
d10001 1
a10001 1
	(Fcombine_after_change_execute)
d10104 1
a10104 1
	Frun_hook_with_args_until_failure).
d10107 1
a10107 1
	Fx_disown_selection_internal).
d10173 1
a10173 1
	(syms_of_data): Don't call defsubr for it.
d10187 1
a10187 1
	a single keymap.
d10216 1
a10216 1
	an edit_widget's internal_border_width for the toolkit case.
d10366 1
a10366 1
	code as the GNU C Library; this fixes a bug with large negative years.
d10413 1
a10413 1
	left-side scroll bar by FRAME_LEFT_SCROLL_BAR_WIDTH.
d10419 1
a10419 1
	requires the frame as an argument.
d10421 1
a10421 1
	scroll bar.
d10433 1
a10433 1
	left-side scroll bar.
d10447 2
a10448 2
	a right-side scroll bar.  Don't draw vertical bars unless there
	isn't any kind of scroll bar.
d10451 1
a10451 1
	WINDOW_RIGHT_MARGIN, and WINDOW_FULL_WIDTH_P.
d10459 1
a10459 1
	scroll bar, if any.  Use WINDOW_RIGHTMOST_P and WINDOW_FULL_WIDTH_P.
d10462 1
a10462 1
	WINDOW_LEFT_MARGIN macro.
d10480 3
a10482 3
	glyph coordinates, offset by WINDOW_LEFT_MARGIN instead of XINT
	(XWINDOW (window)->left; this is necessary when there are
	left-side scrollbars.
d10485 1
a10485 1
	`has_vertical_scrollbars' integer to an enumerated type.
d10500 1
a10500 1
 	Use new macro SET_FRAME_WIDTH.
d10503 3
a10505 3
	argument, and use it to decrease the width in the case of a
	left-side scroll bar; this prevents the bar and adjacent text
	from scrunching together.
d10509 1
a10509 1
	none/left/right type for identifying vertical scroll bars.
d10518 1
a10518 1
	`external_width' and `width'.
d10520 2
a10521 2
	scroll bars too.
 	
d10630 1
a10630 1
	(redisplay_internal): Set overlay_unchanged_modified.
d10841 1
a10841 1
	(NETCONN_P): Use GC_CONSP.
d10894 1
a10894 1
	New local `rlim'.
d10897 1
a10897 1
	"done" messages.
d11039 1
a11039 1
	the X server, add a resource so that dialog boxes use a common font.
@


1.1.1.27
log
@import emacs-20.5
@
text
@a0 279
1999-12-04  Gerd Moellmann  <gerd@@gnu.org>

	* Version 20.5 released.
	
1999-12-04  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (Ffind_operation_coding_system): Cancel previous change.

	* fileio.c (decide_coding_unwind): Renamed from
	set_auto_coding_unwind.
	(Finsert_file_contents): Make single unwind protect to call both
	Vset_auto_coding_function and Ffind_operation_coding_system.

	* insdel.c (adjust_markers_for_delete): Make it non-static.

1999-12-03  Gerd Moellmann  <gerd@@gnu.org>

	* unexelf.c (unexec): Put handling of .lit4 and .lit8 in
	#ifdef __sgi.

1999-12-03  Andreas Schwab  <schwab@@suse.de>

	* unexelf.c (unexec): Don't copy .got section.

1999-12-03  Gerd Moellmann  <gerd@@gnu.org>

	* fileio.c (Fwrite_region): Don't call 
	Vselect_safe_coding_sytem_function if noninteractive.

1999-12-02  Gerd Moellmann  <gerd@@gnu.org>

	* m/iris4d.h, m/iris5d.h: Use unexsgi.o instead of unexelf.o.

1999-12-01  Dave Love  <fx@@gnu.org>

	* emacs.c (main): Set LANG=C iff AIX3_2 defined.

1999-11-28  Alexandre Oliva  <oliva@@dcc.unicamp.br>

	* unexelf.c: Auto-detect .sbss section.
	(round_up): Make it static.
	(unexec): Declare alignment as Elf Word.  Skip ``Program
	segment above .bss'' test on MIPS without .sbss.
	Copy sections .got and .sdata1 sections.  Adjust offsets in
	sections .sdata, .lit4, .lit8, .got and .sdata1.

1999-11-28  Alexandre Oliva  <oliva@@dcc.unicamp.br>

	* unexelf.c: Merge IRIX debugging info patch from unexsgi.c
	* m/iris4d.h: Use unexelf for IRIX 5.*.
	* m/iris5d.h: Use unexelf for IRIX 6.*.

1999-11-25  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (Ffind_operation_coding_system): Call functions after
	changing the current buffer to a temporary buffer.

1999-11-24  Ken'ichi Handa  <handa@@gnu.org>

	* fileio.c (Finsert_file_contents): Set buffer-file-coding-system
	of the current buffer via Fset.

1999-11-23  Gerd Moellmann  <gerd@@gnu.org>

	* unexaix.c (unexec): Use unsigned instead of uintptr_t because
	that fails on IBM PowerPC, AIX 4.2.

1999-11-22  Eli Zaretskii  <eliz@@is.elta.co.il>

	* buffer.c (syms_of_buffer): Add %z, %Z, %m and %& to the doc
	string of mode-line-format.  Remove the obsolete %t.

1999-11-21  Jason Rumney <jasonr@@gnu.org>

	* w32fns.c (x_to_w32_font): Assign Y-resolution to resy
        instead of pixel.

1999-11-19  Gerd Moellmann  <gerd@@gnu.org>

	* unexelf.c (unexec): Put new code rounding up the bss section's
	sh_offset in #if 0.  Add corresponding code from 20.4 in #else.

1999-11-18  Kenichi Handa  <handa@@etl.go.jp>

	* keyboard.c (echo_char): Assure sufficient memory for
	push_key_description.

1999-11-16  Jason Rumney  <jasonr@@gnu.org>

	* w32console.c: Include coding.c
	(write_glyphs): Convert glyphs for display using
	terminal_coding_system instead of GLYPH_FOLLOW_ALIASES.

1999-11-16  Dave Love  <fx@@gnu.org>

	* doc.c (Fdocumentation): Remove gcpro here too.

1999-11-12  Gerd Moellmann  <gerd@@gnu.org>

	* doc.c (Fdocumentation_property): Don't GCPRO.

1999-11-11  Ken'ichi Handa  <handa@@gnu.org>

	* editfns.c (Ftranslate_region): Check the buffer multibyteness.

1999-11-07  Andrew Innes  <andrewi@@gnu.org>

	* w32fns.c (x_set_name): Coerce title string to unibyte.
	(x_set_title): Ditto.

	* w32menu.c: Undef HAVE_MULTILINGUAL_MENU.
	(single_submenu):
	(w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: Coerce menu strings to
	unibyte.

	* w32.c (map_w32_filename): Force file functions to fail if the
	name is too long, by returning an invalid name.
	(open_unc_volume): Add cast.
	(open_unc_volume): Make argument const.
	(unc_volume_file_attributes): Ditto.

	* makefile.nt (LINK_FLAGS): Include function-level (COFF format)
	debug information in release builds, to get meaningful stack
	traces on crashes.  Also remove spurious spaces in various places,
	and all dependencies on lisp.h.

	* w32term.c (my_set_focus): Return a value;
	(my_set_foreground_window): Ditto.
	(w32_initialize): Change return type to void, and add forward
	declaration.

	* w32fns.c (Fw32_shell_execute): Fix typo in docstring.
	(Fw32_shell_execute): Allow OPERATION to be nil, to perform the
	default action.
	
1999-11-02  Gerd Moellmann  <gerd@@gnu.org>

	* doc.c (Fdocumentation_property): Fix bug bypassing UNGCPRO.

1999-11-01  Gerd Moellmann  <gerd@@gnu.org>

	* doc.c (Fdocumentation_property): Remove register keyword
	from local variable `tem'.

1999-10-28  Ken'ichi Handa  <handa@@gnu.org>

	* coding.c (code_convert_region): Update `dst' correctly.

1999-10-18  Dave Love  <fx@@gnu.org>

	* doc.c (Fdocumentation_property): Gcpro `tem`.

1999-10-13  Dave Love  <fx@@gnu.org>

	* filelock.c (lock_file): Move gcpro of `fn'.

1999-10-14  Ken'ichi Handa  <handa@@gnu.org>

	* fns.c (Fstring_as_multibyte): Call
	register_composite_chars_string for a multibyte string.

1999-10-13  Ken'ichi Handa  <handa@@gnu.org>

	* lread.c (Fload): Calculate bytes of filename correctly.
	(openp): Likewise.

1999-09-29  Kenichi Handa  <handa@@etl.go.jp>

	* category.c (modify_lower_category_set): Set default value of
	TABLE correctly.

	* coding.c (DECODE_CHARACTER_ASCII): Decode ASCII invocated to GR
	correctly.

	* minibuf.c (Fminibuffer_complete_word): Calculate string byte
	size correctly.

1999-09-28  Richard M. Stallman  <rms@@caffeine.ai.mit.edu>

	* keymap.c (Fsingle_key_description): Make tem big enough.
	(describe_buffer_bindings): Make buf big enough.

1999-09-19  Miyashita Hisashi  <himi@@bird.scphys.kyoto-u.ac.jp>

	* charset.c (str_cmpchar_id):  Before xmalloc, copy data in STR to
	a buffer that is safe from memory relocation.

1999-09-16  Kenichi Handa  <handa@@etl.go.jp>

	* charset.h: (register_composite_chars_region): Extern it.
	(register_composite_chars_string): Extern it.

	* charset.c (str_cmpchar_id): New argument REGISTERP.  Caller
	changed.
	(register_composite_chars_region): New function.
	(register_composite_chars_string): New function.

	* alloc.c (make_string): Call register_composite_chars_string for
	a multibyte string. 
	(make_multibyte_string): Likewise.
	(make_string_from_bytes): Likewise.
	(make_specified_string): Likewise.

	* buffer.c (Fset_buffer_multibyte): On setting the buffer
	multibyte, call register_composite_chars_region.

	* insdel.c (insert_1_both): Call register_composite_chars_region
	after the insertion.
	(adjust_after_replace): Likewise.

	* indent.c (MULTIBYTE_BYTES_WIDTH): Adjusted for the change of
	str_cmpchar_id.

1999-09-15  Richard Stallman  <rms@@gnu.org>

	* filelock.c (Vtemporary_file_directory): New variable.
	(syms_of_filelock): Set up Lisp variable.

1999-09-14  Richard Stallman  <rms@@gnu.org>

	* filelock.c (get_boot_time): Make the temp name in the proper dir.

1999-09-07  Richard Stallman  <rms@@gnu.org>

	* keymap.c (fix_submap_inheritance): Do nothing if the proper
	parent is an ancestor of SUBMAP; otherwise, add it as the
	ultimate ancestor.

1999-09-06  Michael Sperber [Mr. Preprocessor]  <sperber@@informatik.uni-tuebingen.de>

	* s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new
	unexaix.c.

	* s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.

1999-09-06  Dave Love  <fx@@gnu.org>

	* unexaix.c: New version incorporating Michael Sperber's changes
	from XEmacs.  Should solve problems on AIX 4.3.

1999-08-13  Richard M. Stallman  <rms@@gnu.org>

	* eval.c (run_hook_list_with_args): Gcpro `globals'.
	(run_hook_with_args): Likewise.

1999-08-10  Richard M. Stallman  <rms@@gnu.org>

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

	* window.c (set_window_height, set_window_width): 
	If window starts out "too small", set its too_small_ok flag.
	If window's too_small_ok flag is set, don't delete it
	unless it is so small it would cause a crash.

	* charset.h (BCOPY_SHORT): Fix typo `unsigined'.

1999-08-10  Alexandre Oliva  <oliva@@dcc.unicamp.br>

	* unexelf.c [__linux__ && __alpha__] (HAS_SBSS_SECTION): Define.

1999-08-04  Andreas Schwab  <schwab@@gnu.org>

	* insdel.c (insert_from_string_1): Check gap size against number
	of outgoing bytes, not incoming bytes.

1999-08-01  Richard Stallman  <rms@@gnu.org>

	* fns.c (internal_equal): Correct overlay comparison.

1999-07-29  Eli Zaretskii  <eliz@@gnu.org>

	* msdos.c (getdefdir): Don't return failure indication when
	_fixpath sets errno to ENOSYS.

1999-07-21  Joe Ramey  <ramey@@ti.com>

        * filelock.c (lock_if_free): Return -1 if check_lock_owner
	has returned -1 (lockfile exists but is not a symlink?)

@


1.1.1.28
log
@import emacs-20.6
@
text
@a0 137
2000-02-26  Gerd Moellmann  <gerd@@gnu.org>

	* Version 20.6 released.
	
2000-02-25  Miyashita Hisashi  <himi@@bird.scphys.kyoto-u.ac.jp>

	* ccl.c (ccl_driver) [CCL_MapMultiple]: When the mapped value is
	`lambda', set reg[RRR] to the map index.
	(ccl_driver) [CCL_MapSingle]: When the mapped value is found, set
	reg[RRR] to 0.  Otherwise, set it to -1.

2000-02-25  Andrew Innes  <andrewi@@gnu.org>

	* w32fns.c (w32_wnd_proc) <WM_GETMINMAXINFO>: Allow resizing
	the Emacs frame above the screen size.

2000-02-23  Andrew Innes  <andrewi@@gnu.org>

	* w32select.c (Fw32_get_clipboard_data): Force data to be decoded
	even if it doesn't contain non-ascii characters, as if it were
	compound text.

	* w32menu.c: Include charset.h and coding.h.
	(single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: Encode
	mulitbyte strings with w32-system-coding-system before using in
	menus.

	* w32fns.c (x_set_name): Encode multibyte name with
	w32-system-coding-system before using as frame title.
	(x_set_title): Ditto.

	* coding.h (ENCODE_SYSTEM) [WINDOWSNT]: New macro.
	(DECODE_SYSTEM) [WINDOWSNT]: New macro.
	[WINDOWSNT]: Add extern for Vw32_system_coding_system.

	* fileio.c (Ffile_writable_p) [WINDOWSNT]: If a file (or
	directory) doesn't exist, assume it can be created regardless of
	whether the parent directory is writable.  This is the correct
	thing to do, if we are not going to check the ACLs.

	* w32.c (init_environment): Provide default values for all
	required environment variables, and always set emacs_dir based on
	the location of emacs.exe if it appears to be in a standard
	location.
	(init_user_info): Abort if HOME or SHELL isn't set.

2000-02-23  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (IT_write_glyphs): Allocate a screen_buf buffer as
	large as CODING_MODE_LAST_BLOCK requires.

xxxxr2000-02-20  Dave Love  <fx@@gnu.org>

	* gmalloc.c: Don't define away `const'; config.h does that.

2000-02-17  Kenichi Handa  <handa@@etl.go.jp>

	* xdisp.c (decode_mode_spec_coding): Delete superfluous code to
	avoid infinite error signalling.

2000-02-16  Gerd Moellmann  <gerd@@gnu.org>

	* .gdbinit (xbacktrace, xprintsym, xreload): New commands.

2000-02-15  Andrew Innes  <andrewi@@gnu.org>

	* w32proc.c (sys_kill): Fake Ctrl-C keystroke to simulate SIGINT,
	and Ctrl-Break to simulate SIGQUIT (known as SIGBREAK in MSVC).

2000-02-15  Gerd Moellmann  <gerd@@gnu.org>

	* m/arm.h: New file.
	
	* s/freebsd.h (BROKEN_PTY_READ_AFTER_EAGAIN): Define.

	* process.c (send_process) [BROKEN_PTY_READ_AFTER_EAGAIN]:
	Workaround for FreeBSD bug.  Clear output queue after EAGAIN in
	write(2).

2000-02-12  Gerd Moellmann  <gerd@@gnu.org>

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

2000-02-09  Kenichi Handa  <handa@@etl.go.jp>

	* ccl.c (CCL_MAKE_CHAR): New macro.
	(ccl_driver) <CCL_TranslateCharacter>: Check the validity of
	registers by CCL_MAKE_CHAR before calling translate_char.
	<CCL_TranslateCharacterConstTbl> Likewise.
	
2000-02-05  Gerd Moellmann  <gerd@@gnu.org>

	* s/irix6-5.h: Undo previous change.

	* s/irix5-0.h (LD_SWITCH_SYSTEM): Define only for GCC < 2.95.

2000-02-03  Gerd Moellmann  <gerd@@gnu.org>

	* m/alpha.h: Revert to version from 20.5.

2000-02-02  Kenichi Handa  <handa@@etl.go.jp>

	* ccl.c (ccl_driver) <CCL_WriteExprRegister>: Set jump_address
	instead of incrementing ic directly.
	<CCL_WriteExprConst> Likewise.
	<ccl_set_expr>: Set ic to jump_address.

2000-01-26  Gerd Moellmann  <gerd@@gnu.org>

	* s/irix6-5.h [__GNUC__ && __GNUC_MINOR__ >= 95]: Undef
	LD_SWITCH_SYSTEM inherited from irix5-0.h.

2000-01-17  Gerd Moellmann  <gerd@@gnu.org>

	* m/news-risc.h (LD_SWITCH_MACHINE): Define differently for GCC.
	
2000-01-03  Gerd Moellmann  <gerd@@gnu.org>

	* s/hpux9.h (NO_EDITRES): Define even if HAVE_LIBXMU.

1999-12-02  Gerd Moellmann  <gerd@@gnu.org>

	* s/usg5-4.h (LIBS_SYSTEM): Add -lgen because that's needed
	for building with Motif.
	
1999-11-22  Paul Eggert  <eggert@@twinsun.com>

	* m/alpha.h (malloc, realloc, calloc): Remove decls;
	stdlib.h now does this.

1999-08-21  Dave Love  <fx@@gnu.org>

	* aix3-2-5.h (C_DEBUG_SWITCH): Use -g -O.
	* aix4-1.h: Likewise.

	* irix6-5.h (C_DEBUG_SWITCH): Set for debug and optimize.
	
@


1.1.1.29
log
@import emacs-20.7
@
text
@a0 155
2000-06-13  Gerd Moellmann  <gerd@@gnu.org>

	* Version 20.7 released.
	
2000-06-01  Andrew Innes  <andrewi@@gnu.org>

	* w32proc.c (w32_executable_type): Determine whether program is a
	GUI app.
	(sys_spawnve): Tell create_child whether app is a GUI app.
	(create_child): Don't hide window for GUI apps.
	(syms_of_ntproc): Update docstring for w32-start-process-show-window.

2000-05-30  Andrew Innes  <andrewi@@gnu.org>

	* w32.c (sys_socket): Revert the previous fix, and use a better
	approach for detecting when a socket cannot be made
	non-inheritable by duplicating the handle.

2000-05-30  Dave Love  <fx@@gnu.org>

	* s/irix5-0.h (LD_SWITCH_SYSTEM): Don't define to `-G 0'.
	(C_SWITCH_SYSTEM) [__GNUC__]: Put in #if 0.

2000-05-24  Gerd Moellmann  <gerd@@gnu.org>

	* m/iris5d.h (UNEXEC): Use unexsgi.

2000-05-23  Kenichi Handa  <handa@@etl.go.jp>

	* xdisp.c (redisplay_window): Set startp_byte (not startp) to
	ZV_BYTE.

2000-05-23  Andrew Innes  <andrewi@@gnu.org>

	* w32.c (sys_socket): To work around a problem with MS Proxy
	winsock, don't attempt to make sockets non-inheritable if the
	proxy winsock appears to be present.

2000-05-23  Gerd Moellmann  <gerd@@gnu.org>

	* s/gnu-linux.h (setpgrp): Don't define it here because this
	prevents compilation on GNU/Linux systems with glib 2.2.

	* callproc.c, emacs.c, sysdep.c (setpgrp) [HAVE_SETPGID]: Define
	as setpgid.
	
2000-05-20  NIIBE Yutaka  <gniibe@@mri.co.jp>
	
	* s/gnu-linux.h (UNIX98_PTYS) [HAVE_GRANTPT]: Define.
	(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF)
	[HAVE_GRANTPT]: Define.
	(C_SWITCH_SYSTEM): Add -D_XOPEN_SOURCE.

	* sysdep.c (setup_pty): Treat case that UNIX98_PTYS is defined
	like SYSV_PTYS.

	* config.in (HAVE_GRANDPT, HAVE_GETPT): New defines.

	* process.c (toplevel) [UNIX98_PTYS]: Include stdlib.h.

2000-05-20  Gerd Moellmann  <gerd@@gnu.org>

	* buffer.c (Fbury_buffer): Avoid trouble from burying a killed
	buffer.

	* keyboard.c (lispy_mouse_names): Variable removed.
	(Vlispy_mouse_stem): New variable.
	(syms_of_keyboard): Initialize Vlispy_mouse_stem.
	(make_lispy_event) <mouse_click, scroll_bar_click>: Don't abort
	for any mouse button number.  Increase size of mouse_syms and
	button_down_location as needed.  Call modify_event_symbol with
	different arguments.
	(make_lispy_event) <scroll_bar_click> [USE_TOOLKIT_SCROLL_BARS]:
	Call modify_event_symbol with different arguments.
	(make_lispy_event) <w32_scroll_bar_click> [WINDOWSNT]: Don't abort
	for any button number.  Call modify_event_symbol with different
	arguments.
	(modify_event_symbol): Rename NAME_ALIST to NAME_ALIST_OR_STEM.
	Accept a string for NAME_ALIST_OR_STEM.

	* fns.c (larger_vector): New function.

	* keyboard.c (Fclear_this_command_keys): Clear recent_keys
	vector, too.

2000-05-16  Gerd Moellmann  <gerd@@gnu.org>

	* frame.c (frames_bury_buffer): Don't add a buffer to the frame's
	buffer list that wasn't selected in that frame.

	* filelock.c (get_boot_time): To obtain an 8 char file name, use a
	2 char prefix, and call make_temp_name with second arg non-zero.

	* fileio.c (make_temp_name): New function, extracted from
	Fmake_temp_name.
	(Fmake_temp_name): Use it.

2000-05-15  Gerd Moellmann  <gerd@@gnu.org>

	* unexelf.c, m/iris4d.h, m/iris5d.h: Use most current development 
	versions.

2000-05-12  Jason Rumney  <jasonr@@gnu.org>

	* w32bdf.c (w32_BDF_TextOut): Change bytelen arg to char_len
	as used by callers.

	* w32term.c (dumpglyphs): Fill background if character goes
        higher or lower than normal. W32_TEXTOUT outputs chars not
        bytes. Handle bdf fonts when getting width of composite chars
        component. Allow for multibyte first glyph in composite char.

2000-05-11  Jason Rumney  <jasonr@@gnu.org>

	* w32menu.c (w32_menu_show): Call ENCODE_SYSTEM for item_name
	and descrip.

2000-05-11  Andrew Innes  <andrewi@@gnu.org>

	* w32.c (sys_socket): Check return value of DuplicateHandle,
        try to use original socket if it fails.

2000-05-11  Kenichi Handa  <handa@@etl.go.jp>

	* coding.c (code_convert_string): GCPRO str before calling
	temp_output_buffer_setup.

2000-05-05  Gerd Moellmann  <gerd@@gnu.org>
	
	* insdel.c (insert_from_buffer_1): Adjust FROM position by number
	of inserted characters when BUF equals the current buffer, and PT
	is in front of or equal to FROM.
	
2000-05-04  Andrew Innes  <andrewi@@gnu.org>

	* w32fns.c (w32_wnd_proc) <WM_GETMINMAXINFO>: Reduce the maximum
	tracking limits to fit within the Windows 9x 16-bit limit.

2000-05-02  Gerd Moellmann  <gerd@@gnu.org>

	* eval.c (Fsignal): If lisp_eval_depth or spepdl_size are near
	to the limits, increase the limits.

	* s/openbsd.h (LIBS_TERMCAP): Undefine.

	* process.c (send_process): Remove local variable `procname' that
	might become invalid when a GC happens.  Instead, access the
	process name slot directly.
	
	* s/freebsd.h (LIBS_TERMCAP): Define only for __FreeBSD_version
	<= 400000.

	* sysdep.c (read_intput_waiting): Add prototype.
	(read_input_waiting): Call read_socket_hook with 4 arguments.

d52 1
a52 1
2000-02-20  Dave Love  <fx@@gnu.org>
@


1.1.1.30
log
@import emacs-21.0.103
@
text
@d1 1
a1 1
2001-05-07  Gerd Moellmann  <gerd@@gnu.org>
d3 3
a5 1
	* xfns.c (x_set_foreground_color): Set frame's cursor_pixel.
d7 5
a11 1
	* dispextern.h (inverse_video): Declare extern.
d13 1
a13 2
	* keyboard.c (delete_kboard): Handle the case that selected_frame
	has been deleted in the course of x_connection_closed.
d15 3
a17 1
2001-05-03  Eli Zaretskii  <eliz@@is.elta.co.il>
d19 1
a19 2
	* xterm.c (XTread_socket) <Expose> [!USE_TOOLKIT_SCROLL_BARS]: Fix
	the change from 2001-04-30.
d21 2
a22 1
2001-05-03  Gerd Moellmann  <gerd@@gnu.org>
d24 1
a24 3
	* xfns.c (file_dialog_unmap_cb): New function.
	(Fx_file_dialog): Use it as XmNunmapCallback to capture the case
	where a dialog is closed via the window manager.
d26 1
a26 5
	* xdisp.c (try_window_id): Cases of changes all in front of 
	the window start or all below the window end mostly rewritten.
	(redisplay_window): Move the tests if try_window_id is
	applicable to try_window_id.
	(GIVE_UP): New macro.
d28 1
a28 1
2001-05-02  Gerd Moellmann  <gerd@@gnu.org>
d30 2
a31 7
	* xterm.c (expose_window): Return int.  If W is the window
	currently being updated, mark the frame garbaged.  Fix
	computation of rows intersecting the exposed rectangle.
	(expose_window_tree): Stop when expose_window returns 0.
	
	* xterm.c (x_draw_stretch_glyph_string): Don't draw background
	again if it has already been drawn.
d33 1
a33 1
2001-05-01  Stefan Monnier  <monnier@@cs.yale.edu>
d35 3
a37 2
	* syntax.c (update_syntax_table): Check that oldi has the same
	properties as old_prop before deciding not to invalidate.
d39 1
a39 1
2001-04-30  Gerd Moellmann  <gerd@@gnu.org>
d41 2
a42 2
	* undo.c (Fprimitive_undo): In a writable buffer, enable undoing
	read-only text that is so because of text properties.
d44 9
a52 3
	* xterm.c (x_window_to_menu_bar) [USE_LUCID]: New function.
	(XTread_socket) <Expose> [USE_LUCID]: Handle events for
	windows that are components of a Lucid menu bar.
d54 2
a55 1
2001-04-27  Gerd Moellmann  <gerd@@gnu.org>
d57 1
a57 2
	* term.c (turn_on_face): Fix reverse video handling on terminals
	that don't support colors.
d59 1
a59 1
2001-04-26  Gerd Moellmann  <gerd@@gnu.org>
d61 1
a61 2
	* editfns.c (save_excursion_restore): Don't use XBUFFER on
	a non-buffer.
d63 2
a64 1
2001-04-25  Gerd Moellmann  <gerd@@gnu.org>
d66 14
a79 2
	* term.c (toggle_highlight): New function.
	(turn_on_face): Change handling of reverse video.
d81 1
a81 3
	* process.c (wait_reading_process_input): Call
	record_asynch_buffer_change only if a timer really changed
	buffers.
d83 2
a84 2
	* buffer.c (mouse_face_overlay_overlaps): Fix the computation
	of the number of overlays to check.
d86 1
a86 1
	* keyboard.c (command_loop_1): Redo change of 2001-03-12.
d88 2
a89 2
	* xdisp.c (try_window_id): Fix a case where window_end_pos
	and window_end_bytepos were not adjusted.
d91 2
a92 1
2001-04-23  Gerd Moellmann  <gerd@@gnu.org>
d94 3
a96 2
	* xfaces.c (compute_char_face): If buffer is unibyte, set CH to
	zero instead of -1.
d98 1
a98 1
2001-04-21  Eli Zaretskii  <eliz@@is.elta.co.il>
d100 2
a101 3
	* process.c (wait_reading_process_input) [!subprocesses]:
	Don't reference waiting_for_user_input_p, it's not defined in the
	branch without async subprocesses support.
d103 1
a103 1
2001-04-19  Gerd Moellmann  <gerd@@gnu.org>
d105 2
a106 2
	* keyboard.c (delete_kboard): Prevent a dangling reference
	from current_kboard to KB, which is freed.
d108 4
a111 3
	* process.c (wait_reading_process_input):
	Call record_asynch_buffer_change after running timers, to make
	read_key_sequence aware of buffer changes from under it.
d113 1
a113 1
2001-04-18  Gerd Moellmann  <gerd@@gnu.org>
d115 2
a116 7
	* xfaces.c (Qscalable_fonts_allowed): New variable.
	(realizing_basic_faces_p): Removed.
	(x_face_list_fonts): Special handling for realizing_basic_faces_p
	removed.
	(realize_basic_faces): Specbind Qscalable_fonts_allowed to t.
	(syms_of_xfaces): Initialize Qscalable_fonts_allowed.  Change
	default for scalable-fonts-allowed to t.
d118 1
a118 3
	* fileio.c (Finsert_file_contents): If the file size returned from
	stat is zero, set END to READ_BUF_SIZE.  This makes sure we can
	read from files on a procfs whose contents are generated dynamically.
d120 2
a121 1
2001-04-18  Eli Zaretskii  <eliz@@is.elta.co.il>
d123 1
a123 3
	* gmalloc.c (__malloc_size_t) [__GNUC__]: If STDC_HEADERS is not
	defined, include stddef.h and use __SIZE_TYPE__ instead of size_t.
	(__memalign_hook): Make the two prototypes consistent.
d125 2
a126 1
2001-04-17  Gerd Moellmann  <gerd@@gnu.org>
d128 7
a134 2
	* xdisp.c (redisplay_window): Make sure to clear the desired glyph
	matrix of mini-windows.
d136 2
a137 1
2001-04-12  Stefan Monnier  <monnier@@cs.yale.edu>
d139 1
a139 1
	* intervals.c (find_interval): Don't rebalance during signal handling.
d141 2
a142 1
2001-04-11  Gerd Moellmann  <gerd@@gnu.org>
d144 1
a144 1
	* fns.c: Include blockinput.h.
d146 6
a151 1
	* fns.c (Fplist_get): Don't QUIT if interrupt_input_blocked.
d153 2
a154 1
2001-04-10  Gerd Moellmann  <gerd@@gnu.org>
d156 1
a156 1
	* fns.c (Fcompare_strings): Fix return values.
d158 3
a160 4
	* window.c (window_scroll): Change the meaning of N to mean
	N screen-fulls or N lines.
	(window_scroll_pixel_based, window_scroll_line_based)
	(scroll_command, Fscroll_other_window): Change accordingly.
d162 4
a165 3
	* window.c (window_scroll_pixel_based, Frecenter):
	Call window_box_height instead of using it.last_visible_y for the
	height of the window.
d167 1
a167 2
	* xdisp.c (redisplay_window) <recenter>: Call window_box_height
	instead of using it.last_visible_y for the height of the window.
d169 2
a170 1
	* w32proc.c (sys_spawnve): Quote more chars for Cygwin.
d172 1
a172 3
	* w32.c (sys_open): Try to open file without _O_CREAT first, to be
	able to write to hidden and system files.  Make file handles
	non-inheritable.
d174 3
a176 1
	* fileio.c (Fcopy_file) [WINDOWSNT]: Use CopyFile.
d178 4
a181 1
2001-04-09  Gerd Moellmann  <gerd@@gnu.org>
d183 3
a185 1
	* fns.c (Fplist_get, Fplist_put): Add QUITs.
d187 3
a189 2
	* window.c (window_internal_height): Return 1 less if the
	window has a header line.
d191 4
a194 2
	* xdisp.c (try_window_id): When scrolling on a terminal, take
	the change of window_internal_height into account.
d196 5
a200 1
2001-04-09  Eli Zaretskii  <eliz@@is.elta.co.il>
d202 1
a202 2
	* gmalloc.c (align): If the argument SIZE would overflow
	__malloc_ptrdiff_t, fail right away.
d204 2
a205 1
2001-04-06  Gerd Moellmann  <gerd@@gnu.org>
d207 1
a207 3
	* xfns.c (compute_tip_xy): Add parameters WIDTH and HEIGHT.
	Make sure the tooltip is completely visible.
	(x_make_gc): Use FRAME_X_SCREEN_NUMBER.
d209 1
a209 1
	* xterm.h (FRAME_X_SCREEN_NUMBER): New macro.
d211 1
a211 1
	* xmenu.c (xmenu_show): Use FRAME_X_SCREEN_NUMBER.
d213 2
a214 1
2001-04-06  Dave Love  <fx@@gnu.org>
d216 1
a216 2
	* composite.c (update_compositions) <check_mask & CHECK_HEAD>:
	Fix test of `from'.
d218 1
a218 1
2001-04-06  Gerd Moellmann  <gerd@@gnu.org>
d220 1
a220 1
	* composite.h (COMPOSITION_VALID_P): Allow integers as cdrs of PROP.
d222 2
a223 1
	* xdisp.c (Qinhibit_eval_during_redisplay): Make it a Lisp_Object.
d225 1
a225 1
2001-04-05  Gerd Moellmann  <gerd@@gnu.org>
d227 3
a229 1
	* sysdep.c (getwd) [!HAVE_GETWD]: Unblock input before returning.
d231 3
a233 1
	* editfns.c (Fcurrent_time_zone): Accept spaces in timezone names.
d235 1
a235 2
	* xfns.c (Vmotif_version_string) [USE_MOTIF]: New variable.
	(syms_of_xfns): DEFVAR_LISP it.  Initialize from XmVERSION_STRING.
d237 1
a237 2
	* xmenu.c (free_frame_menubar) [USE_MOTIF]: Preserve the
	shell widget's position only if it is non-null.
d239 1
a239 2
	* xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]:
	Set f->output_data.x->widget to null after destroying it.
d241 6
a246 2
	* fns.c (Frequire): Doc fix.  Rename parameter FILE_NAME to
	FILENAME to bring it in synch with the documentation.
d248 1
a248 4
	* xfaces.c (realizing_basic_faces_p): Renamed from
	realize_default_face_p.
	(realize_basic_faces): Set/clear realizing_basic_faces_p.
	(realize_default_face): Don't set the flag.
d250 1
a250 1
2001-04-04  Gerd Moellmann  <gerd@@gnu.org>
d252 1
a252 1
	* lisp.h (echoing, echo_message_buffer, cancel_echoing): Declare.
d254 1
a254 1
	* keyboard.c (echoing, echo_message_buffer): Make externally visible.
d256 1
a256 2
	* xdisp.c (with_echo_area_buffer): Avoid confusion from reusing
	the buffer that was used for echoing.
d258 4
a261 12
	* xfaces.c (best_matching_font): Remove unused parameter PATTERN.
	(first_font_matching): Removed unused function.
	(x_face_list_fonts): Remove unused parameter SCALABLE_P.
	(may_use_scalable_font_p): Remove parameter FONT; rename
	parameter NAME to FONT.
	(x_face_list_fonts): Fix missing bounds check.
	(realizing_default_face_p): New variable.
	(realize_default_face): Set and clear that flag.
	(x_face_list_fonts): When called during the realization of the
	default face, and no matching fonts are found when ignoring
	scalable fonts and fonts matching a regexp from
	face-ignored-fonts, try without ignoring fonts.
d263 1
a263 1
2001-04-03  Gerd Moellmann  <gerd@@gnu.org>
d265 2
a266 3
	* xfns.c (postprocess_image): New function.
	(lookup_image): Call it for all image types except PostScript.
	(x_kill_gs_process): Call postprocess_image.
d268 1
a268 3
	* xterm.c (x_use_underline_position_properties): New variable.
	(x_draw_glyph_string): Use it.
	(syms_of_xterm): DEFVAR_BOOL it.
d270 3
a272 1
2001-04-02  Gerd Moellmann  <gerd@@gnu.org>
d274 1
a274 7
	* xterm.c (x_alloc_nearest_color_1): New function.
	(x_alloc_nearest_color): Use it.
	(x_color_cells): Take a Display as argument, instead of a frame.
	(cvt_string_to_pixel_args, cvt_string_to_pixel_value): New variables.
	(cvt_string_to_pixel, cvt_pixel_dtor): New functions.
	(x_initialize): Register cvt_string_to_pixel as resource converter
	string -> Pixel and cvt_pixel_dtor as pixel resource destructor.
d276 1
a276 1
2001-03-30  Gerd Moellmann  <gerd@@gnu.org>
d278 4
a281 4
	* xdisp.c (get_overlay_strings): Set iterator's end_charpos.
	(set_iterator_to_next): If a string from a display property ends,
	consider the case that this might also be the end of an
	overlay string having the display property.
d283 2
a284 1
	* xdisp.c (handle_display_prop): Fix recognition of subproperty lists.
d286 1
a286 1
	* xdisp.c (reseat_to_string): Undo last change.
d288 2
a289 3
	* dispnew.c (adjust_glyph_matrix): Don't try to reuse the current
	matrix of a window when the header line changes, when
	new rows are allocated, or when the width changes.
d291 3
a293 1
2001-03-30  Eli Zaretskii  <eliz@@is.elta.co.il>
d295 3
a297 1
	* print.c (Fprin1, Fprin1_to_string, Fprinc, Fprint): Fix last change.
d299 1
a299 1
2001-03-29  Eli Zaretskii  <eliz@@is.elta.co.il>
d301 4
a304 2
	* fileio.c (syms_of_fileio) <directory-sep-char>: Warn that it is
	deprecated.
d306 1
a306 1
2001-03-29  Gerd Moellmann  <gerd@@gnu.org>
d308 1
a308 2
	* data.c (Fsubr_interactive_form): New function.
	(syms_of_data): Defsubr it.
d310 2
a311 3
	* alloc.c (live_string_p, live_cons_p, live_symbol_p)
	(live_float_p, live_misc_p): Return 1 only if the offset of the
	pointer in its block is >= 0.
d313 1
a313 1
2001-03-28  Paul Eggert <eggert@@twinsun.com>
d315 1
a315 3
	* editfns.c (Ffloat_time): Fix off-by-factor-of-10 bug in the
	microseconds calcuation.  Avoid double-rounding problem.
	In doc string, warn that the result is approximate.
d317 1
a317 1
2001-03-28  Gerd Moellmann  <gerd@@gnu.org>
d319 2
a320 2
	* eval.c (call_debugger): Bind `inhibit-redisplay' to nil, and
	bind `inhibit-eval-during-redisplay' to t.
d322 1
a322 1
	* lisp.h (Qinhibit_eval_during_redisplay): Declare extern.
d324 1
a324 6
	* xdisp.c (inhibit_eval_during_redisplay)
	(Qinhibit_eval_during_redisplay): New variables.
	(safe_eval, safe_call): If inhibit_eval_during_redisplay is set,
	don't eval, return nil instead.
	(syms_of_xdisp): DEFVAR_BOOL inhibit-eval-during-redisplay.
	Initialize Qinhibit_eval_during_redisplay.
d326 1
a326 2
	* xdisp.c (reseat_to_string): If STRING is multibyte, set
	the iterator's multibyte_p flag.
d328 1
a328 3
	* xfaces.c (realize_basic_faces): Decrement menu_face_change_count
	instead of setting it to zero; it's incremented for each frame
	where the menu face is changed.
d330 1
a330 2
	* xterm.c (x_draw_relief_rect): Extend left shadow to the bottom;
	change bottom shadow accordingly.
d332 6
a337 4
	* xterm.c (expose_window_tree, expose_frame): Don't compute
	intersections here.
	(expose_window): Do it here instead.
	(x_draw_glyph_string): Fix a computation of the underline position.
d339 1
a339 2
	* bytecode.c (BYTE_CODE_QUIT): New macro.
	(Fbyte_code): Use BYTE_CODE_QUIT instead of QUIT.
d341 3
a343 1
2001-03-27  Gerd Moellmann  <gerd@@gnu.org>
d345 1
a345 4
	* xdisp.c (try_window_reusing_current_matrix) <scrolling up>:
	Give up if matrix starts in an ellipsis.
	(init_from_display_pos): Do nothing if POS doesn't specify
	a dpvec_index but the iterator has such a position.
d347 2
a348 1
	* xdisp.c (init_from_display_pos): Remove unwarranted assertion.
d350 1
a350 3
	* xmenu.c (free_frame_menubar) [USE_MOTIF]: If the shell widget's
	x/y position is (0, 0) after destroying the menu bar, restore
	its original position.
d352 2
a353 3
	* xdisp.c (in_ellipses_for_invisible_text_p): New function.
	(init_from_display_pos): Use it.
	(try_window_reusing_current_matrix): Don't use cursor_row_p.
d355 1
a355 1
2001-03-26  Gerd Moellmann  <gerd@@gnu.org>
d357 2
a358 1
	* xdisp.c (try_window_id): Undo last change.
d360 1
a360 1
2001-03-26  Eli Zaretskii  <eliz@@is.elta.co.il>
d362 2
a363 1
	* print.c (Fprin1, Fprin1_to_string, Fprinc, Fprint): Doc fix.
d365 1
a365 1
	* buffer.c (syms_of_buffer): Doc fix.
d367 2
a368 1
2001-03-26  Gerd Moellmann  <gerd@@gnu.org>
d370 1
a370 2
	* xfaces.c (x_update_menu_appearance): Use local variable
	popup_path for setting font resources.
d372 2
a373 1
2001-03-25  Eli Zaretskii  <eliz@@is.elta.co.il>
d375 1
a375 2
	* frame.c (Fframe_list): Don't reference tip_frame if
	HAVE_WINDOW_SYSTEM is not defined.
d377 2
a378 2
	* emacs.c (main): Update the copyright year.  From Werner LEMBERG
	<wl@@gnu.org>.
d380 1
a380 1
2001-03-25  Gerd Moellmann  <gerd@@gnu.org>
d382 3
a384 2
	* xdisp.c (init_from_display_pos): Test invisible property
	with TEXT_PROP_MEANS_INVISIBLE instead of NILP.
d386 1
a386 2
	* xdisp.c (redisplay_internal) <update one window>: Make sure
	last_arrow_position and last_arrow_string are set.
d388 1
a388 1
	* frame.c (Fframe_list): Don't return a tooltip frame.
d390 1
a390 1
2001-03-23  Gerd Moellmann  <gerd@@gnu.org>
d392 1
a392 8
	* xdisp.c (mark_window_display_accurate_1): New function,
	extracted from mark_window_display_accurate.
	Compute BUF_UNCHANGED_MODIFIED, BUF_OVERLAY_UNCHANGED_MODIFIED,
	BUF_BEG_UNCHANGED, BUF_END_UNCHANGED.
	(mark_window_display_accurate): Use it.
	(redisplay_internal): Use it for the selected window.
	(redisplay_internal): Avoid duplicate mark_window_display_accurate
	for the selected frame.
d394 1
a394 7
	* xdisp.c  Use make_number, for readability.
	(try_window_id): Disable rows below the window end.
	(try_window_reusing_current_matrix): Use cursor_row_p.
	(try_window_reusing_current_matrix) <scrolling up>: Fix disabling
	of rows.
	(init_from_display_pos): If POS specifies a position in a display
	vector, maybe get the iterator set up for that ellipsis.
d396 1
a396 1
	* xdisp.c (dump_glyph_row): Fix output for NGLYPHS == 2.
d398 1
a398 1
2001-03-23  Eli Zaretskii  <eliz@@is.elta.co.il>
d400 2
a401 1
	* xmenu.c: Include widget.h only if USE_X_TOOLKIT is defined.
d403 4
a406 1
2001-03-23  Gerd Moellmann  <gerd@@gnu.org>
d408 5
a412 2
	* xfaces.c (x_update_menu_appearance): Use a different path
	for Lucid popup menus.
d414 4
a417 1
2001-03-22  Stefan Monnier  <monnier@@cs.yale.edu>
d419 4
a422 1
	* xterm.c (note_mouse_highlight): Dec the int, not the Lisp_Object.
d424 5
a428 2
	* xdisp.c (init_iterator): Check WINDOWP before using XWINDOW.
	(string_buffer_position): Use `make_number'.
d430 1
a430 1
2001-03-22  Gerd Moellmann  <gerd@@gnu.org>
d432 1
a432 2
	* xfaces.c (x_update_menu_appearance): Renamed from
	x_set_menu_face_resources.  Use different resources for popups.
d434 2
a435 2
	* lisp.h (Vx_resource_name) [HAVE_X_WINDOWS]: Declare extern.
	(GC_CHECK_STRING_BYTES): Don't define.
d437 1
a437 4
	* xfaces.c (x_set_menu_resources_from_menu_face) [USE_X_TOOLKIT]:
	Removed, together with subroutines.
	(x_set_menu_face_resources) [USE_X_TOOLKIT]: New function.
	(realize_basic_faces) [USE_X_TOOLKIT]: Call x_set_menu_face_resources.
d439 1
a439 2
	* dispextern.h (x_set_menu_resources_from_menu_face):
	Remove prototype.
d441 1
a441 2
	* xmenu.c (update_frame_menubar, set_frame_menubar, xmenu_show):
	Remove calls to x_set_menu_resources_from_menu_face.
d443 1
a443 2
	* xfaces.c (xm_set_menu_resources_from_menu_face):
	Remove #ifndef LESSTIF_VERSION.
d445 1
a445 3
	* xmenu.c: Include widget.h.
	(single_submenu): Return int.  Some cleanup.
	(set_frame_menubar): Call x_set_menu_resources_from_menu_face.
d447 1
a447 1
2001-03-21  Gerd Moellmann  <gerd@@gnu.org>
d449 1
a449 4
	* xterm.c (x_update_window_end): Handle overwritten mouse face
	also for tool bar windows.
	(show_mouse_face): Set the glyph row's mouse_face_p flag also when
	DRAW is DRAW_IMAGE_RAISED.
d451 2
a452 1
2001-03-20  Gerd Moellmann  <gerd@@gnu.org>
d454 1
a454 1
	* print.c (syms_of_print): Doc fixes.
d456 2
a457 1
	* fns.c (Fmd5): Doc fix.
d459 1
a459 1
2001-03-19  Gerd Moellmann  <gerd@@gnu.org>
d461 2
a462 2
	* xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
	Clear area of the frame not occupied by the scroll bar.
d464 2
a465 3
	* xfns.c (x_create_tip_frame): Add parameter TEXT.  Set the
	tip frame's root window buffer to *tip* right after creating
	the frame.
d467 2
a468 2
	* xdisp.c (highlight_trailing_whitespace): Glyphs whose object
	is an integer don't have to be for space characters.
d470 1
a470 1
2001-03-16  Gerd Moellmann  <gerd@@gnu.org>
d472 2
a473 2
	* indent.c (current_column, current_column_1, Fmove_to_column)
	(compute_motion): Handle characters from display vectors differently.
d475 1
a475 1
2001-03-15  Kenichi Handa  <handa@@etl.go.jp>
d477 2
a478 2
	* xterm.c (x_draw_glyph_string): Draw relief (if any) before
	drawing glyph string.
d480 1
a480 1
2001-03-15  Gerd Moellmann  <gerd@@gnu.org>
d482 2
a483 2
	* keyboard.c (timer_check): Preserve the value of deactivate-mark.
	(command_loop_1): Undo last change.
d485 4
a488 1
	* xterm.c (fast_find_position): Return the correct vpos.
d490 5
a494 9
	* data.c (store_symval_forwarding): Add parameter BUF.  If BUF is
	non-null, set a per-buffer value in BUF instead of the current buffer.
	(swap_in_global_binding, swap_in_symval_forwarding, Fset_default):
	Call store_symval_forwarding with BUF null.
	(set_internal): Call store_symval_forwarding with the BUF
	parameter passed to set_internal.  Formerly, the value was always
	set in the current buffer; the buffer recorded in specbind for
	this case wasn't used.
	(arith_driver): Reindent.
d496 2
a497 2
	* buffer.c (swap_out_buffer_local_variables):
	Call store_symval_forwarding with BUF null.
d499 3
a501 1
	* lisp.h (store_symval_forwarding): Change prototype.
d503 2
a504 1
	* eval.c (specbind): Call store_symval_forwarding with BUF null.
d506 1
a506 1
2001-03-14  Gerd Moellmann  <gerd@@gnu.org>
d508 2
a509 6
	* frame.c (do_switch_frame): Remove unused parameter NO_EVENT, add
	FOR_DELETION.  Avoid resizing the mini-window of the selected
	frame if FOR_DELETION is set.
	(Fselect_frame, Fhandle_switch_frame, Fdelete_frame)
	(Fmake_frame_invisible): Change calls to do_switch_frame for new
	signature.
d511 1
a511 2
	* window.c (Fset_window_configuration): Change call to
	do_switch_frame to new format.
d513 1
a513 2
	* keyboard.c (quit_throw_to_read_char): Change call to
	do_switch_frame to new format.
d515 1
a515 1
	* lisp.h (do_switch_frame): Change prototype.
d517 3
a519 3
	* frame.c (Fframe_parameters): In the `buffer-list' frame
	parameter, store the buffer list of FRAME, not the list of the
	selected frame.
d521 1
a521 2
	* xterm.c (x_draw_glyph_string_box): Don't draw a full-width
	box just because the glyph row's full_width_p flag is set.
d523 2
a524 1
2001-03-14  Eli Zaretskii  <eliz@@is.elta.co.il>
d526 1
a526 3
	* xdisp.c (highlight_trailing_whitespace): On character terminals,
	skip the padding blanks inserted in extend_face_to_end_of_line,
	before checking for trailing whitespace.
d528 1
a528 1
2001-03-13  Gerd Moellmann  <gerd@@gnu.org>
d530 2
a531 3
	* xmenu.c (popup_activate_callback, popup_deactivate_callback):
	Remove special handling for LessTif/Motif.
	(toplevel): Don't include Xm/Xm.h.
d533 1
a533 2
	* xterm.c (XTread_socket) <LeaveNotify, EnterNotify>:
	Remove workaround code for LessTif; it doesn't work anymore.
d535 2
a536 2
	* xterm.c [USE_TOOLKIT_SCROLL_BARS && USE_MOTIF]: Don't include
	Xm/ScrollBarP.h.
d538 1
a538 3
	* xterm.c (x_set_toolkit_scroll_bar_thumb) [USE_MOTIF]:
	Don't access private scroll bar data; it's no longer necessary with
	contemporary LessTif.
d540 1
a540 2
	* xfaces.c (xm_set_menu_resources_from_menu_face):
	Change #if 0 to #ifndef LESSTIF_VERSION.
d542 4
a545 2
	* xmenu.c (xmenu_show) [LESSTIF_VERSION]: Take out the code
	removing button grabs.
d547 1
a547 1
2001-03-13  Kenichi Handa  <handa@@etl.go.jp>
d549 1
a549 2
	* fontset.c (syms_of_fontset): Describe highlight-wrong-size-font
	and clip-large-size-font as obsolete.
d551 1
a551 2
	* lread.c (read_multibyte): Check the validity of multibyte
	sequence.  If invalid, return the first byte.
d553 1
a553 1
2001-03-12  Gerd Moellmann  <gerd@@gnu.org>
d555 2
a556 3
	* keyboard.c (command_loop_1): Set Vdeactivate_mark to nil
	before running the command; timer functions or process
	filters may have set it.
d558 1
a558 1
2001-03-12  Eli Zaretskii  <eliz@@is.elta.co.il>
d560 1
a560 2
	* keyboard.c (syms_of_keyboard) <overriding-terminal-local-map>:
	Doc fix.
d562 1
a562 1
2001-03-12  Gerd Moellmann  <gerd@@gnu.org>
d564 2
a565 2
	* xrdb.c (x_load_resources) [USE_MOTIF]: Remove extraneous arg
	to sprintf.
d567 1
a567 1
2001-03-09  Gerd Moellmann  <gerd@@gnu.org>
d569 2
a570 1
	* dispextern.h (string_buffer_position): Add prototype.
d572 1
a572 2
	* xdisp.c (string_buffer_position, display_prop_string_p)
	(single_display_prop_string_p): New functions.
d574 1
a574 2
	* xterm.c (note_mouse_highlight): If there's no help-echo on
	a string, look at the buffer text ``under'' it.
d576 1
a576 4
	* keyboard.c (make_lispy_event): Add string info to the event,
	analogous to what's done on mode lines.
	(read_key_sequence): For a click on a string, consider `local-map'
	and `keymap' of that string.
d578 1
a578 2
	* keyboard.c (make_lispy_event, make_lispy_movement):
	Adjust calls to buffer_posn_from_coords to new format.
d580 1
a580 1
	* dispextern.h (buffer_posn_from_coords): Adjust prototype.
d582 2
a583 2
	* dispnew.c (buffer_posn_from_coords): Add parameters OBJECT and
	POS; return void.
d585 1
a585 2
	* fileio.c (Fwrite_region) [DOS_NT]: Remove O_TRUNC from open
	flags argument to emacs_open; it seems to conflict with O_EXCL.
d587 4
a590 1
2001-03-09  Kenichi Handa  <handa@@etl.go.jp>
d592 1
a592 2
	* composite.h (struct composition): Change types of members;
	glyph_len to unsigned, width to unsigned short.
d594 1
a594 1
2001-03-08  Andrew Innes  <andrewi@@gnu.org>
d596 3
a598 2
	* w32menu.c (add_menu_item): Fix problems with using ownerdraw for
	menu titles.
d600 2
a601 1
2001-03-08  Gerd Moellmann  <gerd@@gnu.org>
d603 2
a604 2
	* xdisp.c (handle_display_prop): Use it->w->buffer as object,
	instead of nil.
d606 1
a606 4
	* xterm.c (note_mouse_highlight): Handle mouse-face and
	help-echo in strings.
	(x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
	(fast_find_string_pos): New function.
d608 1
a608 2
	* xdisp.c (handle_face_prop, face_before_or_after_it_pos)
	(display_string): Call face_at_string_position with new parameter.
d610 1
a610 2
	* xfaces.c (face_at_string_position): Add parameter MOUSE_P.
	Handle `mouse-face'.
d612 2
a613 1
	* dispextern.h (face_at_string_position): Change prototype.
d615 1
a615 1
	* dired.c (directory_files_internal): Handle EAGAIN more efficiently.
d617 2
a618 2
	* keyboard.c (make_lispy_event): Avoid generating drag events
	if the mouse hasn't actually moved to another buffer position.
d620 1
a620 1
2001-03-08  Dave Love  <fx@@gnu.org>
d622 1
a622 1
	* eval.c (syms_of_eval) <debug-on-error>: Doc fix.
d624 1
a624 1
2001-03-08  Gerd Moellmann  <gerd@@gnu.org>
d626 6
a631 1
	* process.c (Fset_process_window_size): Fix a typo.
d633 1
a633 1
2001-03-08  Kenichi Handa  <handa@@etl.go.jp>
d635 2
a636 7
	* coding.c (detect_coding_sjis): Do more rigid check.
	(detect_coding_big5): Likewise.
	(decode_coding_sjis_big5): Likewise.
	(Fdetect_coding_region): Call detect_coding_system with tailing
	anchor byte `\0' for more rigid detection.
	(detect_coding_mask): Fix the incorrect handling of arg MULTIBYTEP.
	(Fdetect_coding_string): Likewise.
d638 1
a638 1
2001-03-07  Stefan Monnier  <monnier@@cs.yale.edu>
d640 1
a640 2
	* bytecode.c (Fbyte_code) <Btemp_output_buffer_setup>: Check the arg is
	a string before extracting its data.
d642 1
a642 1
2001-03-07  Gerd Moellmann  <gerd@@gnu.org>
d644 2
a645 2
	* window.c (Frecenter): Rewrite code handling negative values
	of ARG on graphical frames.
d647 1
a647 1
2001-03-07  Eli Zaretskii  <a34785@@is.elta.co.il>
d649 1
a649 3
	* window.c (displayed_window_lines): If W->start is outside the
	accessible portion of the buffer, call start_display with BEGV or
	ZV instead of W->start.
d651 1
a651 1
2001-03-07  Gerd Moellmann  <gerd@@gnu.org>
d653 3
a655 1
	* buffer.c (syms_of_buffer) <header-line-format>: Doc fix.
d657 1
a657 3
	* process.c (Fset_process_filter): Don't crash if the input
	file descriptor of PROCESS is closed.
	(Fset_process_window_size): Likewise.
d659 4
a662 1
2001-03-06  Kenichi Handa  <handa@@etl.go.jp>
d664 1
a664 2
	* xterm.c (XTflash): Make the timeout of select shorter, and call
	select repeatedly until the desired time expires.
d666 4
a669 1
2001-03-06  Gerd Moellmann  <gerd@@gnu.org>
d671 1
a671 1
	* w32fns.c (Fx_create_frame): Clear Vwindow_list.
d673 5
a677 1
	* xfns.c (Fx_create_frame): Clear Vwindow_list.
d679 1
a679 1
	* lisp.h (Vwindow_list): Declare extern.
d681 2
a682 1
2001-03-06  Eli Zaretskii  <eliz@@is.elta.co.il>
d684 1
a684 1
	* dispnew.c (syms_of_display) <glyph-table>: Doc fix.
d686 3
a688 1
2001-03-06  Gerd Moellmann  <gerd@@gnu.org>
d690 1
a690 5
	* xterm.c (note_mouse_highlight): Call mouse_face_overlay_overlaps
	to detect a case where we have to highlight a different region
	despite not having left the currently highlighted region.
	Set mouse_face_overlay in the x_display_info.
	(x_term_init): Initialize the x_display_info's mouse_face_overlay.
d692 1
a692 1
	* xterm.h (struct x_display_info): Add mouse_face_overlay.
d694 1
a694 1
	* buffer.c (mouse_face_overlay_overlaps): New function.
d696 3
a698 2
	* lisp.h (mouse_face_overlay_overlaps): Add prototype.
	(Qmouse_face): Declare extern.
d700 1
a700 2
	* xdisp.c (redisplay_internal): Set windows_or_buffers_changed
	if face_change_count is non-zero.
d702 1
a702 1
2001-03-06  Kenichi Handa  <handa@@etl.go.jp>
d704 1
a704 2
	* ccl.c (ccl_driver) <CCL_ReadMultibyteChar2>: Fix for the case
	that the source is unibyte.
d706 1
a706 1
2001-03-05  Dave Love  <fx@@gnu.org>
d708 1
a708 1
	* xterm.c (XTmouse_position): Fix typo.
d710 1
a710 1
2001-03-05  Gerd Moellmann  <gerd@@gnu.org>
d712 1
a712 2
	* minibuf.c (read_minibuf): Clean up the binding stack if
	called noninteractively.
d714 2
a715 1
2001-03-05  Kenichi Handa  <handa@@etl.go.jp>
d717 1
a717 1
	* coding.c (syms_of_coding): Docstring modified.
d719 1
a719 1
2001-03-05  Kenichi Handa  <handa@@etl.go.jp>
d721 1
a721 3
	* charset.c (char_to_string): If a single byte char has modifier
	bits that can't be reflected to the character code, ignore them
	instead of signaling an error.
d723 2
a724 1
2001-03-04  Eli Zaretskii  <eliz@@is.elta.co.il>
d726 1
a726 1
	* s/msdos.h: Update copyright notice.
d728 1
a728 1
	* dosfns.h: Update copyright notice.
d730 1
a730 1
	* dosfns.c: Update copyright notice.
d732 5
a736 1
	* msdos.c: Update copyright notice.
a737 1
2001-03-02  Gerd Moellmann  <gerd@@gnu.org>
d739 1
a739 3
	* xterm.c (glyph_rect): New function.
	(XTmouse_position): Use it to raise the threshold for mouse
	movement event generation.
d741 2
a742 1
2001-03-02  Eli Zaretskii  <eliz@@is.elta.co.il>
d744 1
a744 7
	* msdos.c (Fmsdos_remember_default_colors): If default-frame-alist
	specifies (reverse . t), reverse the initial screen colors.
	(IT_set_frame_parameters): If the property is foreground-color,
	but we are reversing the colors, set bg_set, not fg_set.
	Likewise for setting background-color and reversing: set fg_set.
	Set unspecified-fg and unspecified-bg correctly when (reverse . t) is
	in effect.
d746 1
a746 3
	* xfaces.c (Finternal_set_lisp_face_attribute)
	[!HAVE_WINDOW_SYSTEM]: Record the new attribute in the frame's
	parameters alist.
d748 1
a748 1
2001-03-02  Gerd Moellmann  <gerd@@gnu.org>
d750 5
a754 2
	* fileio.c (Fexpand_file_name): Collapse sequences of slashes
	to a single slash in the middle of file names.
d756 1
a756 2
	* editfns.c (Fcurrent_time_zone) [HAVE_TM_ZONE || HAVE_TZNAME]:
	Accept only alphanumeric time zone names.
d758 3
a760 4
	* xterm.c (XTset_vertical_scroll_bar): Don't clear a zero height
	or width area.
	(XTset_vertical_scroll_bar, x_scroll_bar_create): Don't configure
	a widget to zero height.
d762 1
a762 1
2001-03-01  Gerd Moellmann  <gerd@@gnu.org>
d764 4
a767 2
	* window.c (Fwindow_end): Call move_it_past_eol only if
	ending up on a partially visible line.
d769 1
a769 1
2001-03-01  Dave Love  <fx@@gnu.org>
d771 2
a772 1
	* ccl.c (Fccl_execute): Doc fix.
d774 1
a774 1
2001-03-01  Gerd Moellmann  <gerd@@gnu.org>
d776 2
a777 2
	* xfns.c (Fx_create_frame): Adjust the frame's height for presence
	of the tool bar before calling x_figure_window_size.
d779 1
a779 3
	* xmenu.c (free_frame_menubar): Set the frame's menubar_widget to
	NULL after destroying it, otherwise XTread_socket can access a
	destroyed widget when input is unblocked.
d781 2
a782 1
	* xfns.c (x_set_foreground_color): Set the background of the cursor GC.
d784 1
a784 2
	* xfns.c (x_set_font): Handle case of x_new_fontset returning the
	same name as before, although there was a change in fontsets.
d786 1
a786 1
2001-02-28  Ken Raeburn  <raeburn@@gnu.org>
d788 1
a788 1
	* lisp.h (Fframe_parameter): Declare.
d790 1
a790 2
	* window.c (set_window_buffer): Field vscroll is an int, not a
	Lisp_Object.
d792 1
a792 1
2001-02-28  Gerd Moellmann  <gerd@@gnu.org>
d794 2
a795 2
	* xterm.c (x_set_window_size): Don't use `None' with widgets; use
	NULL instead.
d797 1
a797 2
	* xfns.c (Fx_hide_tip): Don't use `None' with widgets; use
	NULL instead.
d799 6
a804 15
	* alloc.c (toplevel): Include process.h.
	(enum mem_type): Add MEM_TYPE_PROCESS, MEM_TYPE_HASH_TABLE,
	MEM_TYPE_FRAME, MEM_TYPE_WINDOW enumerators.
	(allocate_vectorlike): Make it a static function.  Add parameter TYPE.
	(allocate_vector, allocate_hash_table, allocate_window)
	(allocate_frame, allocate_process, allocate_other_vector):
	New functions.
	(Fmake_vector): Call allocate_vector instead of allocate_vectorlike.
	(mark_maybe_pointer): New function.
	(mark_memory): Also mark Lisp data to which only pointers
	remain and not Lisp_Objects.
	(min_heap_address, max_heap_address): New variables.
	(mem_find): Return MEM_NIL if START is below min_heap_address or
	above max_heap_address.
	(mem_insert): Compute min_heap_address and max_heap_address.
d806 4
a809 1
	* process.c (make_process): Use allocate_process.
d811 1
a811 1
	* frame.c (make_frame): Use allocate_frame.
d813 2
a814 2
	* window.c (make_window, make_dummy_parent): Use allocate_window.
	(Fcurrent_window_configuration): Use allocate_other_vector.
d816 3
a818 4
	* lisp.h (allocate_vectorlike): Remove prototype.
	(allocate_vector, allocate_other_vector, allocate_frame)
	(allocate_window, allocate_process, allocate_hash_table):
	Add prototypes.
d820 1
a820 2
	* fns.c (Fdelete, larger_vector): Use allocate_vector.
	(make_hash_table, copy_hash_table): Use allocate_hash_table.
d822 1
a822 1
2001-02-27  Kenichi Handa  <handa@@etl.go.jp>
d824 1
a824 2
	* coding.c (ccl_coding_driver): If ccl->eight_bit_control is zero,
	treat the produced bytes as a valid multibyte sequence.
d826 2
a827 4
	* ccl.c (CCL_WRITE_MULTIBYTE_CHAR): New macro.
	(ccl_driver) <CCL_WriteMultibyteChar2>:
	Use CCL_WRITE_MULTIBYTE_CHAR instead of CCL_WRITE_CHAR.
	<ccl_finish>: Set ccl->eight_bit_control properly.
d829 5
a833 1
	* ccl.h (struct ccl_program): New member eight_bit_control.
d835 3
a837 1
2001-02-26  Stefan Monnier  <monnier@@cs.yale.edu>
d839 2
a840 5
	* keymap.c (Faccessible_keymaps): Pass `is_metized' to
	accessible_keymaps_char_table.
	(accessible_keymaps_char_table): Obey `is_metized'.
	(where_is_internal, Fwhere_is_internal): Don't confuse int and
	Lisp_Object.
d842 1
a842 1
2001-02-26  Gerd Moellmann  <gerd@@gnu.org>
d844 3
a846 1
	* dispnew.c: Check HAVE_TERM_H before including term.h.
d848 1
a848 1
2001-02-24  Andrew Innes  <andrewi@@gnu.org>
d850 2
a851 1
	* makefile.w32-in: Update copyright notice.
d853 1
a853 1
2001-02-24  Stefan Monnier  <monnier@@cs.yale.edu>
d855 6
a860 1
	* keymap.c (where_is_internal): Accept non-ascii integer prefixes.
d862 5
a866 1
2001-02-24  Kenichi Handa  <handa@@etl.go.jp>
d868 1
a868 1
	* Makefile.in (lisp): Add international/utf-8.elc.
d870 2
a871 2
	* fontset.c (Fnew_fontset): Fix handling of the case that an
	element of FONTLIST is a cons of family and registry.
d873 1
a873 1
2001-02-23  Jason Rumney  <jasonr@@gnu.org>
d875 3
a877 2
	* w32fns.c (Fx_create_frame): Don't add FRAME_TOOL_BAR_LINES
	to height unconditionally.
d879 2
a880 4
	* w32term.c (x_set_glyph_string_background_width): Extend the
	background face to the end of the drawing area in the text area, only.
	(x_insert_glyphs): Call window_box_left to obtain the left
	x-coordinate of the area to shift.
d882 1
a882 2
	* w32menu.c (set_frame_menubar): Run activate-menu-bar-hook with
	safe_run_hooks.
d884 3
a886 1
2001-02-22  Andrew Innes  <andrewi@@gnu.org>
d888 1
a888 9
	* makefile.nt ($(BLD)\dired.obj): Remove reference to VMS header files.
	($(BLD)\dispnew.obj):
	($(BLD)\editfns.obj):
	($(BLD)\fileio.obj):
	($(BLD)\filelock.obj):
	($(BLD)\keyboard.obj):
	($(BLD)\w32proc.obj):
	($(BLD)\process.obj):
	($(BLD)\sysdep.obj): Ditto.
d890 1
a890 10
	* makefile.w32-in ($(BLD)/dired.$(O)): Remove reference to VMS
	header files.
	($(BLD)/dispnew.$(O)):
	($(BLD)/editfns.$(O)):
	($(BLD)/fileio.$(O)):
	($(BLD)/filelock.$(O)):
	($(BLD)/keyboard.$(O)):
	($(BLD)/w32proc.$(O)):
	($(BLD)/process.$(O)):
	($(BLD)/sysdep.$(O)): Ditto.
d892 1
a892 1
2001-02-22  Gerd Moellmann  <gerd@@gnu.org>
d894 1
a894 3
	* xdisp.c (forward_to_next_line_start): When taking the shortcut
	at the start of the function, check that the \n in it->c is
	from the iterator's current position.
d896 3
a898 8
	* xdisp.c (handle_single_display_prop): Add parameter
	DISPLAY_REPLACED_BEFORE_P.  If it is non-zero ignore display
	properties which replace the display of text with something else.
	(handle_display_prop): Call handle_single_display_prop with
	additional argument saying if we already replaced text display
	with something else.  Use AREF.
	(with_echo_area_buffer_unwind_data, display_menu_bar)
	(decode_mode_spec_coding): Use AREF and ASIZE.
d900 1
a900 3
	* vms-pp.c, vmsdir.h, vmsmap.c, vmsproc.h, vms-pp.trans, vmsfns.c,
	* vmspaths.h, vmstime.c, vms-pwd.h, vmsgmalloc.c, vmsproc.c,
	* vmstime.h: Files removed.
d902 2
a903 1
	* unexencap.c, unexfx2800.c: Files removed.
d905 1
a905 3
	* dispnew.c (direct_output_for_insert): Give up if we are showing
	a message or just cleared the message because we might need to
	resize the echo area window or display an empty echo area.
d907 1
a907 1
2001-02-21  Gerd Moellmann  <gerd@@gnu.org>
d909 1
a909 4
	* xdisp.c (redisplay_internal): Do the
	mark_window_display_accurate after all windows have been
	redisplayed because this call resets flags in buffers which are
	needed for proper redisplay.
d911 4
a914 3
	* keyboard.c, minibuf.c, lread.c, fns.c, eval.c:
	Use display_hourglass_p, start_hourglass, cancel_hourglass instead of
	the old names.
d916 1
a916 2
	* w32term.h (struct x_output): Rename busy_cursor to hourglass_cursor,
	busy_window to hourglass_window, busy_p to hourglass_p.
d918 1
a918 2
	* msdos.h (struct x_output): Rename busy_window to
	hourglass_window, busy_p to hourglass_p.
d920 1
a920 2
	* xterm.h (struct x_output): Rename busy_cursor to hourglass_cursor,
	busy_window to hourglass_window, busy_p to hourglass_p.
d922 1
a922 5
	* xfns.c: Rename everything containing *busy_cursor* and similar
	to *hourglass*.
	(syms_of_w32fns): Rename x-busy-pointer-shape to
	x-hourglass-pointer-shape, display-busy-cursor to
	display-hourglass, busy-cursor-delay to hourglass-delay.
d924 1
a924 5
	* w32fns.c: Rename everything containing *busy_cursor* and similar
	to *hourglass*.
	(syms_of_w32fns): Rename x-busy-pointer-shape to
	x-hourglass-pointer-shape, display-busy-cursor to
	display-hourglass, busy-cursor-delay to hourglass-delay.
d926 1
a926 2
	* xterm.c (XTread_socket): Test x_output's hourglass_p instead
	of its busy_p flag.
d928 1
a928 2
	* dispextern.h (start_hourglass, cancel_hourglass)
	(display_hourglass_p): Renamed from *busy_cursor*.
d930 5
a934 1
2001-02-20  Gerd Moellmann  <gerd@@gnu.org>
d936 3
a938 2
	* keyboard.c (read_char): When an event from unread-command-events
	is from the tool or menu bar, set *USE_MOUSE_MENU to 1.
d940 3
a942 2
	* window.c (Fwindow_end): Handle case that WINDOW's buffer is not
	equal to the current buffer.
d944 3
a946 3
	* xdisp.c (setup_echo_area_for_printing): Set truncate_lines to
	nil, otherwise we're left with truncate_lines t when a message
	is printed with message-truncate-lines bound to t.
d948 1
a948 1
2001-02-19  Gerd Moellmann  <gerd@@gnu.org>
d950 3
a952 3
	* window.c (Fmove_to_window_line): Undo last change.
	(displayed_window_lines): Call line_bottom_y to determine
	the line's bottom position.
d954 7
a960 1
	* dispextern.h (line_bottom_y): Add prototype.
d962 3
a964 2
	* xdisp.c (line_bottom_y): New function extracted from pos_visible_p.
	(pos_visible_p): Use it.
d966 2
a967 4
	* keyboard.c (recursive_edit_1): Bind `inhibit-redisplay' and
	set redisplaying_p to 0 here instead of in Frecursive_edit.
	(Frecursive_edit): Don't bind `inhibit-redisplay' and don't
	set redisplaying_p.
d969 9
a977 5
	* xdisp.c (Qinhibit_menubar_update, inhibit_menubar_update):
	New variables.
	(syms_of_xdisp): Initialize new variables.
	(update_menu_bar): Do nothing if inhibit_menubar_update is set.
	Specbind `inhibit-menubar-update' when updating the menu bar.
d979 3
a981 2
	* xmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
	safe_run_hooks.
d983 1
a983 2
	* xdisp.c (update_menu_bar): Run activate-menu-bar-hook with
	safe_run_hooks.
d985 2
a986 2
	* emacs.c (malloc_initialize_hook): Handle case thet `environ'
	is null.
d988 1
a988 2
	* ralloc.c (__morecore) [!SYSTEM_MALLOC]: Move declaration
	to the start of the file.
d990 7
a996 1
2001-02-16  Gerd Moellmann  <gerd@@gnu.org>
d998 2
a999 1
	* window.c (set_window_buffer): Fix last change.
d1001 8
a1008 1
	* window.c (set_window_buffer): Set window's vscroll to 0.
d1010 1
a1010 2
	* window.c (coordinates_in_window): Increase width of area
	where the vertical line can be dragged.
d1012 5
a1016 3
	* xterm.c (x_set_glyph_string_background_width): Extend the
	background face to the end of the drawing area in the text
	area, only.
d1018 1
a1018 4
	* xdisp.c (handle_single_display_prop): Set iterator's position
	to where the `display' property starts, like for images.
	(dump_glyph): New function.
	(dump_glyph_row): Use it.  Dump info about marginal areas.
d1020 1
a1020 2
	* dispnew.c (direct_output_for_insert): Recognize more cases where
	glyphs can be written instead of being inserted.
d1022 2
a1023 2
	* xterm.c (x_insert_glyphs): Call window_box_left to obtain
	the left x-coordinate of the area to shift.
d1025 1
a1025 2
	* dired.c (directory_files_internal): Set result list to nil
	before retrying.
d1027 2
a1028 1
2001-02-15  Kenichi Handa  <handa@@etl.go.jp>
d1030 1
a1030 3
	* ccl.c (ccl_driver) [CCL_ReadMultibyteChar2]: If SRC points an
	invalid multibyte sequence, treat *SRC as a character of
	eight-bit-graphic.
d1032 1
a1032 1
2001-02-15  Eli Zaretskii  <eliz@@is.elta.co.il>
d1034 1
a1034 1
	* textprop.c (Fset_text_properties): Doc fix.
d1036 1
a1036 1
2001-02-15  Gerd Moellmann  <gerd@@gnu.org>
d1038 1
a1038 1
	* dispnew.c (update_text_area): Undo change of 2001-01-12.
d1040 2
a1041 1
2001-02-14  Dave Love  <fx@@gnu.org>
d1043 1
a1043 1
	* coding.c: Doc and message fixes.
d1045 1
a1045 1
2001-02-14  Andrew Innes  <andrewi@@gnu.org>
d1047 1
a1047 2
	* w32fns.c (w32_wnd_proc) <WM_GETMINMAXINFO>: Allow resizing the
	Emacs frame above the screen size.
d1049 1
a1049 1
2001-02-14  Gerd Moellmann  <gerd@@gnu.org>
d1051 1
a1051 1
	* xdisp.c (reseat_1): Set iterator's end_charpos to ZV.
d1053 1
a1053 1
2001-02-13  Gerd Moellmann  <gerd@@gnu.org>
d1055 4
a1058 2
	* insdel.c (del_range_1, del_range_byte, del_range_both): Handle
	case that TO ends up beyond ZV after running before-change-functions.
d1060 4
a1063 2
	* window.c (window_loop) <GET_BUFFER_WINDOW>: Prefer to return
	the selected window if it is showing the buffer in question.
d1065 1
a1065 2
	* dired.c (directory_files_internal): Initialize errno.
	(toplevel): Include errno.h.
d1067 2
a1068 1
2001-02-13  Kenichi Handa  <handa@@etl.go.jp>
d1070 1
a1070 4
	* xfaces.c (best_matching_font): New parameter width_ratio.
	Multiply avgwidth by width_ratio.
	(choose_face_font): Call best_matching_font with width_ratio
	calculated from the column width of C.
d1072 1
a1072 1
2001-02-12  Andrew Innes  <andrewi@@gnu.org>
d1074 3
a1076 2
	The following changes are to draw box lines inside characters area
	if line-width is negative.
d1078 1
a1078 13
	* w32term.c (x_produce_image_glyph): Pay attention to the case that
	face->box_line_width is negative.
	(x_produce_stretch_glyph): Likewise.
	(x_produce_glyphs): Likewise.
	(x_estimate_mode_line_height): Likewise.
	(x_draw_glyph_string_background): Likewise.
	(x_draw_glyph_string_foreground): Likewise.
	(x_draw_composite_glyph_string_foreground): Likewise.
	(x_draw_glyph_string_box): Likewise.
	(x_draw_image_foreground): Likewise.
	(x_draw_image_relief): Likewise.
	(x_draw_image_foreground_1): Likewise.
	(x_draw_image_glyph_string): Likewise.
d1080 1
a1080 1
2001-02-09  Kenichi Handa  <handa@@etl.go.jp>
d1082 2
a1083 2
	The following changes are to draw box lines inside characters area
	if line-width is negative.
d1085 1
a1085 13
	* xterm.c (x_produce_image_glyph): Pay attention to the case that
	face->box_line_width is negative.
	(x_produce_stretch_glyph): Likewise.
	(x_produce_glyphs): Likewise.
	(x_estimate_mode_line_height): Likewise.
	(x_draw_glyph_string_background): Likewise.
	(x_draw_glyph_string_foreground): Likewise.
	(x_draw_composite_glyph_string_foreground): Likewise.
	(x_draw_glyph_string_box): Likewise.
	(x_draw_image_foreground): Likewise.
	(x_draw_image_relief): Likewise.
	(x_draw_image_foreground_1): Likewise.
	(x_draw_image_glyph_string): Likewise.
d1087 4
a1090 3
	* xfaces.c (Finternal_set_lisp_face_attribute): The value of :box
	and :line-width can be negative.
	(realize_x_face): The value of attrs[LFACE_BOX_INDEX] can be negative.
d1092 1
a1092 1
2001-02-09  Jason Rumney  <jasonr@@gnu.org>
d1094 4
a1097 8
	* w32term.c (w32_encode_char): Treat eight bit graphic and control
	characters the same as ASCII and latin-1.
	(x_display_and_set_cursor): Check for the focus	frame's selected
	window instead of selected_window.
	(x_after_update_window_line): Don't clear if frame's internal
	border width is zero.
	(x_new_font): Don't change a tooltip's size.
	(w32_initialize): Set char_ins_del_ok to 1.
d1099 1
a1099 14
	* w32fns.c (Fx_show_tip): Fix calls to make_number.
	(x_set_font): If font hasn't changed, avoid recomputing
	faces and other things.
	(x_set_tool_bar_lines): Do nothing if frame is minibuffer-only,
	(Fx_create_frame): Add the tool bar height to the frame height.
	(x_create_tip_frame): Prevent changing the tooltip's
	background color by specifying a color for the default font
	in .Xdefaults.
	(Qcancel_timer): New variable.
	(syms_of_w32fns): Initialize and staticpro it.
	(Fx_hide_tip, Fx_show_tip): Use it.
	(Fx_show_tip): Make sure to set tip_timer to nil when canceling
	the timer.
	(toplevel): Lisp code for generating parts of syms_of_w32fns removed.
d1101 5
a1105 1
	* w32.c (init_environment): Duplicate local string before putenv.
d1107 1
a1107 1
2001-02-09  ShengHuo ZHU  <zsh@@cs.rochester.edu>
d1109 2
a1110 1
	* charset.c (Fstring): A typo.
d1112 1
a1112 1
2001-02-09  Kenichi Handa  <handa@@etl.go.jp>
d1114 2
a1115 2
	* charset.c (Fstring): If all arguments are less than 256, return
	a unibyte string.
d1117 1
a1117 2
	* editfns.c (Fchar_to_string): If CHARACTER is less than 256,
	return a unibyte string.
d1119 1
a1119 3
	* coding.c (code_convert_region): After detecting a coding, if
	nothing found, set coding->composing to COMPOSITION_NO.
	(decode_coding_string): Likewise.
d1121 1
a1121 1
2001-02-08  Stefan Monnier  <monnier@@cs.yale.edu>
d1123 13
a1135 2
	* w32term.c (w32_set_scroll_bar_thumb): Use `double' for `range'
	to avoid overflow.
d1137 1
a1137 1
2001-02-07  Kenichi Handa  <handa@@etl.go.jp>
d1139 4
a1142 1
	* charset.c (parse_str_to_multibyte): New function.
d1144 1
a1144 1
	* charset.h (parse_str_to_multibyte): Extern it.
d1146 2
a1147 3
	* print.c (print_string): If we are going to print a unibyte
	string into a multibyte buffer, convert the string to multibyte by
	str_to_multibyte.
d1149 1
a1149 1
2001-02-06  Andrew Innes  <andrewi@@gnu.org>
d1151 3
a1153 3
	* w32xfns.c (select_palette): Do nothing if palette hasn't yet
	been created.  It seems we can get sent window messages such as
	WM_ERASEBKGND before we properly update a frame.
d1155 1
a1155 1
2001-02-06  Gerd Moellmann  <gerd@@gnu.org>
d1157 2
a1158 2
	* dispnew.c (update_frame_line): Rename parameter FRAME to F.
	Avoid some unnecessary cursor positioning.
d1160 1
a1160 1
2001-02-05  Gerd Moellmann  <gerd@@gnu.org>
d1162 2
a1163 15
	* xfaces.c (split_font_name): Compute numeric value of XLFD_AVGWIDTH.
	(LFACE_AVGWIDTH): New macro.
	(LFACEP): Use AREF.
	(check_lface_attrs): Check LFACE_AVGWIDTH.
	(lface_fully_specified_p): Don't check LFACE_AVGWIDTH.
	(set_lface_from_font_name): Set LFACE_AVGWIDTH.
	(merge_face_vectors): Check LFACE_AVGWIDTH.
	(Finternal_make_lisp_face): Use AREF.
	(xm_set_menu_resources_from_menu_face)
	(xl_set_menu_resources_from_menu_face): Check LFACE_AVGWIDTH.
	(Finternal_lisp_face_empty_p): Use AREF.
	(lface_same_font_attributes_p): Compare LFACE_AVGWIDTH.
	(better_font_p, exact_face_match_p): Add parameter AVGWIDTH.
	Compare average widths..
	(best_matching_font): Arrange for comparing average widths.
d1165 1
a1165 2
	* dispextern.h (enum lface_attribute_index):
	Add LFACE_AVGWIDTH_INDEX (invisible from Lisp).
d1167 6
a1172 1
2001-02-05  Dave Love  <fx@@gnu.org>
d1174 1
a1174 1
	* puresize.h: Revert last change following loadup.el change.
d1176 2
a1177 1
2001-02-05  Andrew Innes  <andrewi@@gnu.org>
d1179 1
a1179 3
	* makefile.w32-in ($(EMACS)): Use $(THISDIR) instead of . in
	invocation of temacs, to work with Windows 2000.
	(bootstrap-emacs): Ditto.
d1181 2
a1182 1
2001-02-05  Gerd Moellmann  <gerd@@gnu.org>
d1184 1
a1184 2
	* xterm.c (x_display_and_set_cursor): Check for the focus
	frame's selected window instead of selected_window.
d1186 2
a1187 3
	* xdisp.c (try_scrolling): If point is in the line below the
	window, make sure to move the iterator at least a canonical
	char height down.
d1189 1
a1189 1
	* window.c (Fmove_to_window_line): Don't add 1 if window is vscrolled.
d1191 1
a1191 1
2001-02-05  Kenichi Handa  <handa@@etl.go.jp>
d1193 1
a1193 5
	* ccl.c (CCL_WRITE_CHAR): Check if CH is valid or not.
	If invalid, execute CCL_INVALID_CMD.
	(ccl_driver): If the CCL program is terminated because of
	CCL_STAT_INVALID_CMD, copy the remaining source data to the
	destination instead of throwing them away.
d1195 1
a1195 1
2001-02-02  Gerd Moellmann  <gerd@@gnu.org>
d1197 1
a1197 2
	* xfns.c (x_set_font): If font hasn't changed, avoid recomputing
	faces and other things.
d1199 1
a1199 2
	* xdisp.c (get_next_display_element): Fix case of empty
	display table entry.
d1201 1
a1201 1
2001-02-02  Eli Zaretskii  <eliz@@is.elta.co.il>
d1203 8
a1210 1
	* editfns.c (Fconstrain_to_field): Doc fix.
d1212 1
a1212 2
	* xfaces.c (Fclear_face_cache): Rename the `thorougly' argument
	into `thoroughly', to make it consistent with the doc string.
d1214 2
a1215 1
	* window.c (Fenlarge_window, Fshrink_window): Doc fix.
d1217 1
a1217 1
2001-02-01  Gerd Moellmann  <gerd@@gnu.org>
d1219 1
a1219 2
	* search.c (search_buffer): Call set_search_regs with a byte
	position, not a character position.
d1221 2
a1222 2
	* xfns.c (x_set_tool_bar_lines): Do nothing if frame is
	minibuffer-only,
d1224 1
a1224 1
2001-02-01  Eli Zaretskii  <eliz@@is.elta.co.il>
d1226 2
a1227 1
	* frame.c (Fmodify_frame_parameters): Doc fix.
d1229 1
a1229 1
2001-01-31  Gerd Moellmann  <gerd@@gnu.org>
d1231 5
a1235 2
	* frame.h (EMACS_FRAME_H_INCLUDED): Use an include blocker
	identifier which is not reserved by Standard C.
d1237 2
a1238 1
	* frame.h (FRAME_RIGHT_SCROLL_BAR_WIDTH): New define.
d1240 1
a1240 13
	* window.c (enum window_part): New enumeration.
	(Qleft_fringe, Qright_fringe): Replace Qleft_bitmap_area and
	Qright_bitmap_area.
	(coordinates_in_window): Return an enumerator from enum
	window_part.  Fix handling of right scroll bar.
	(Fcoordinates_in_window_p): Doc fix.  Return `left-fringe' and
	`right-fringe' instead of `left-bitmap-area' and
	`right-bitmap-area'.  Use enumerators from enum window_part
	instead of hard-coded integers.
	(check_window_containing, window_from_coordinates):
	Use enumerators from enum window_part instead of hard-coded integers.
	(syms_of_window): Replace Qleft_bitmap_area and
	Qright_bitmap_area.with Qleft_fringe and Qright_fringe.
d1242 1
a1242 1
2001-01-31  Eli Zaretskii  <eliz@@is.elta.co.il>
d1244 1
a1244 1
	* editfns.c (Fformat_time_string): Doc fix.
d1246 1
a1246 1
2001-01-31  Stefan Monnier  <monnier@@cs.yale.edu>
d1248 1
a1248 2
	* keymap.c (Fwhere_is_internal): Use the first valid binding
	if no ascii binding is found (when firstonly is t).
d1250 1
a1250 1
2001-01-31  Gerd Moellmann  <gerd@@gnu.org>
d1252 1
a1252 2
	* window.c (Fscroll_right, Fscroll_left): Use interactive_p
	instead of Finteractive_p.
d1254 1
a1254 1
	* lisp.h (interactive_p): Add prototype.
d1256 1
a1256 2
	* eval.c (interactive_p): New function.
	(Finteractive_p): Use it.
d1258 1
a1258 1
	* alloc.c (Fmake_list): Add a QUIT in the loop; unroll the loop.
d1260 1
a1260 1
2001-01-31  Dave Love  <fx@@gnu.org>
d1262 1
a1262 1
	* .gdbinit (hook-run): Define to run xreload.
d1264 2
a1265 1
	* textprop.c (Fset_text_properties): Fix newline in doc string.
d1267 1
a1267 1
2001-01-30  Gerd Moellmann  <gerd@@gnu.org>
d1269 1
a1269 2
	* xdisp.c (build_desired_tool_bar_string, syms_of_xdisp):
	Use DEFAULT_TOOL_BAR_BUTTON_MARGIN and DEFAULT_TOOL_BAR_BUTTON_RELIEF.
d1271 1
a1271 3
	* dispextern.h (Vtool_bar_button_margin:): Declare extern.
	(DEFAULT_TOOL_BAR_BUTTON_MARGIN, DEFAULT_TOOL_BAR_BUTTON_RELIEF)
	(DEFAULT_TOOL_BAR_IMAGE_HEIGHT): New defines.
d1273 2
a1274 2
	* xfns.c (Fx_create_frame): Add the tool bar height to the frame
	height.
d1276 1
a1276 1
2001-01-30  Dave Love  <fx@@gnu.org>
d1278 1
a1278 2
	* bytecode.c (Fbyte_code) <Bgeq>: Add BEFORE_POTENTIAL_GC and
	AFTER_POTENTIAL_GC.
d1280 1
a1280 1
2001-01-29  Gerd Moellmann  <gerd@@gnu.org>
d1282 2
a1283 2
	* bytecode.c (Fbyte_code) <Bcurrent_column>:
	Add BEFORE_POTENTIAL_GC and AFTER_POTENTIAL_GC.
d1285 1
a1285 1
2001-01-29  Eli Zaretskii  <eliz@@is.elta.co.il>
d1287 1
a1287 1
	* textprop.c (Fset_text_properties): Doc fix.
d1289 1
a1289 1
2001-01-29  Gerd Moellmann  <gerd@@gnu.org>
d1291 1
a1291 1
	* xdisp.c (forward_to_next_line_start): Remove xassert.
d1293 1
a1293 1
2001-01-29  Jason Rumney  <jasonr@@gnu.org>
d1295 1
a1295 2
	* w32term.c (x_draw_row_bitmaps): Delay obtaining HDC to avoid
	returning without releasing it.
d1297 1
a1297 1
2001-01-29  Kenichi Handa  <handa@@etl.go.jp>
d1299 1
a1299 2
	* w32fns.c (w32_font_match): Allocate three more bytes to regex
	for '^', '$', and '\0'.
d1301 1
a1301 1
2001-01-28  Andrew Choi  <akochoi@@i-cable.com>
d1303 1
a1303 2
	* fontset.c (fontset_pattern_regexp): Allocate three more bytes to
	regex for '^', '$', and '\0'.
d1305 1
a1305 2
	* alloc.c (allocate_string) [macintosh]: Call check_string_bytes
	only if current_sblock has been initialized.
d1307 1
a1307 2
	* frame.c (Fdelete_frame) [macintosh]: Allow deletion of initial
	terminal frame even if it is the only visible frame.
d1309 1
a1309 1
2001-01-28  Kenichi Handa  <handa@@etl.go.jp>
d1311 1
a1311 8
	* fontset.c (font_family_registry): Even if FONTNAME conform to
	XLFD, if it specifies other fields than family and registry,
	return FONTANME.  New argument FORCE if nonzero cancel that feature.
	(fontset_font_pattern): Call font_family_registry with FORCE 1 for
	a signle byte character.  Don't set FAMILY part to nil here.
	It is handled by the caller choose_face_font.
	(Fnew_fontset): Call font_family_registry with FORCE 0.
	(Fset_fontset_font): Likewise.
d1313 2
a1314 1
2001-01-27  Gerd Moellmann  <gerd@@gnu.org>
d1316 1
a1316 2
	* xdisp.c (display_line): Don't treat a newline as fitting
	on the line.
d1318 2
a1319 1
2001-01-26  Gerd Moellmann  <gerd@@gnu.org>
d1321 1
a1321 3
	* window.c (size_window): Set the window's orig_top to nil when
	changing heights, so that a future shrink_mini_window won't
	restore a bogus height.
d1323 1
a1323 2
	* frame.c (do_switch_frame): If selected frame has a mini-window,
	resize that to exact size.
d1325 2
a1326 1
	* dispnew.c (adjust_glyph_matrix): Always clear desired matrices.
d1328 2
a1329 2
	* xdisp.c (display_line): Simplify check for glyphs fitting
	entirely in the line.
d1331 1
a1331 3
	* xfns.c (xic_style): New variable.
	(create_frame_xic): Move static variable to global scope for
	the case that `static' gets defined away.
d1333 2
a1334 1
2001-01-26  Kenichi Handa  <handa@@etl.go.jp>
d1336 1
a1336 5
	* coding.c (decode_coding): Set a flag for inhibiting
	inconsistent eol.
	(code_convert_region): Always set saved_coding_symbol.
	(decode_coding_string): Likewise.  Update coding->symbol when we
	encounter a inconsistent eol by the same way as code_convert_region.
d1338 1
a1338 1
2001-01-25  Gerd Moellmann  <gerd@@gnu.org>
d1340 1
a1340 2
	* xfns.c (x_set_tool_bar_lines): Use x_clear_area instead of
	XClearArea.
d1342 5
a1346 7
	* xterm.c (x_after_update_window_line): Don't clear if frame's
	internal border width is zero.
	(x_clear_area): New function.
	(x_after_update_window_line, x_clear_end_of_line)
	(x_scroll_bar_create, x_scroll_bar_set_handle)
	(XTset_vertical_scroll_bar, x_erase_phys_cursor): Use x_clear_area
	instead of XClearArea.
d1348 2
a1349 1
	* xterm.h (x_clear_area): Add prototype.
d1351 1
a1351 2
	* xfns.c (Fx_file_dialog): Remove a workaround for Lesstif
	which doesn't seem necessary anymore with Lesstif 0.92.
d1353 5
a1357 1
2001-01-25  Dave Love  <fx@@gnu.org>
d1359 1
a1359 1
	* puresize.h (BASE_PURESIZE): Up to 720000.
d1361 1
a1361 1
	* keymap.c (Fwhere_is_internal): Declare gcpro3, gcpro4.
d1363 1
a1363 1
2001-01-25  Gerd Moellmann  <gerd@@gnu.org>
d1365 1
a1365 3
	* xdisp.c (echo_area_display): Don't call redisplay_internal
	when Emacs is shutting down.  We can't run hooks etc. that
	would be necessary to do a redisplay.
d1367 1
a1367 1
	* lread.c (read_integer): Use type EMACS_INT instead of int.
d1369 2
a1370 1
2001-01-25  Eli Zaretskii  <eliz@@is.elta.co.il>
d1372 1
a1372 1
	* ccl.c (ccl_driver): Fix last change.
d1374 1
a1374 1
2001-01-25  Kenichi Handa  <handa@@etl.go.jp>
d1376 1
a1376 1
	* ccl.h (sturct ccl_program): New member suppress_error.
d1378 4
a1381 3
	* ccl.c (ccl_driver): If ccl->suppress_error is nonzero, don't
	insert error message to the output.
	(setup_ccl_program): Initialize ccl->suppress_error to 0.
d1383 5
a1387 1
	* coding.h (struct coding_system): New member suppress_error.
d1389 1
a1389 4
	* coding.c (ccl_coding_driver): Setup ccl->suppress_error.
	(Fset_terminal_coding_system_internal): Set the member
	suppress_error to 1.
	(Fset_safe_terminal_coding_system_internal): Likewise.
d1391 1
a1391 1
2001-01-24  Stefan Monnier  <monnier@@cs.yale.edu>
d1393 1
a1393 2
	* regex.c (mutually_exclusive_p): Don't blindly handle `charset_not'
	as if it was a `charset'.
d1395 1
a1395 1
2001-01-24  Gerd Moellmann  <gerd@@gnu.org>
d1397 2
a1398 3
	* keymap.c (Fwhere_is_internal): Don't nreverse the cached
	value in where_is_cache; the next lookup in the cache returns
	something bogus if we do.
d1400 1
a1400 1
2001-01-24  Eli Zaretskii  <eliz@@is.elta.co.il>
d1402 1
a1402 2
	* xdisp.c (syms_of_xdisp) <Stool_bar_lines_needed>: Don't defsubr
	if HAVE_WINDOW_SYSTEM isn't defined.
d1404 1
a1404 1
2001-01-24  Gerd Moellmann  <gerd@@gnu.org>
d1406 2
a1407 2
	* fns.c (sweep_weak_table): Fix code taking items out of
	the hash collision chain.  Some cleanup.
d1409 3
a1411 1
	* xterm.c (x_new_font): Don't change a tooltip's size.
d1413 3
a1415 3
	* xfns.c (x_create_tip_frame): Prevent changing the tooltip's
	background color by specifying a color for the default font
	in .Xdefaults.
d1417 1
a1417 1
2001-01-24  Kenichi Handa  <handa@@etl.go.jp>
d1419 2
a1420 6
	* ccl.c (CCL_READ_CHAR): Change the argument name from r to REG as
	a workaround for SunOS 4's cc.
	(CCL_CALL_FOR_MAP_INSTRUCTION): Use "if (1)..." not "do {...".
	(CCL_SUCCESS, CCL_SUSPEND, CCL_INVALID_CMD): Likewise.
	(ccl_driver) <CCL_ReadMultibyteChar2>: Remove unnecessay "do"
	statement.
d1422 1
a1422 1
2001-01-23  Gerd Moellmann  <gerd@@gnu.org>
d1424 2
a1425 5
	* xterm.c (x_set_window_size_1): New function extracted from
	x_set_window_size.
	(x_set_window_size): Use it.
	(x_set_window_size) [USE_X_TOOLKIT]: Handle case that window
	doesn't have a widget, like tooltips.
d1427 1
a1427 1
2001-01-23  Eli Zaretskii  <eliz@@is.elta.co.il>
d1429 3
a1431 1
	* window.c (syms_of_window) <scroll-preserve-screen-position>: Doc fix.
d1433 1
a1433 1
2001-01-23  Kenichi Handa  <handa@@etl.go.jp>
d1435 3
a1437 2
	* fns.c (Fset_char_table_default): Fix to make sub char-table
	correctly.
d1439 1
a1439 1
2001-01-22  Gerd Moellmann  <gerd@@gnu.org>
d1441 1
a1441 2
	* xdisp.c (build_desired_tool_bar_string): Make sure we have
	a desired tool bar string, even if there are no tool bar items.
d1443 1
a1443 2
	* xdisp.c (Ftool_bar_lines_needed): New function.
	(syms_of_xdisp): Defsubr it.
d1445 7
a1451 2
	* editfns.c (Fformat): Don't extend text properties from arguments
	to padding chars in the result.
d1453 4
a1456 1
2001-01-20  Eli Zaretskii  <eliz@@is.elta.co.il>
d1458 1
a1458 1
	* s/msdos.h (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS.
d1460 2
a1461 1
2001-01-20  Andrew Innes  <andrewi@@gnu.org>
d1463 1
a1463 3
	* w32term.c (w32_ring_bell): Only support visible bell on w32 frames.
	(w32_initialize): Don't set term hooks that aren't actually needed
	in windowed mode.
d1465 4
a1468 3
	* xfaces.c (realize_default_face):
	(realize_face):
	(realize_tty_face): Remove references to FRAME_W32_CONSOLE_P.
d1470 1
a1470 2
	* xdisp.c (handle_single_display_prop): Remove references to
	FRAME_W32_CONSOLE_P.
d1472 3
a1474 1
	* dispnew.c (Fredraw_frame): Remove reference to FRAME_W32_CONSOLE_P.
d1476 1
a1476 2
	* frame.h (output_method): Remove output_w32_console method.
	(FRAME_W32_CONSOLE_P): Remove macro.
d1478 2
a1479 4
	* frame.c (Qw32_console): Remove variable.
	(Fframep): Remove references to it.
	(syms_of_frame): Ditto.
	(Fframe_parameters): Remove references to FRAME_W32_CONSOLE_P.
d1481 1
a1481 2
	* term.c (FRAME_TERMCAP_P) [WINDOWSNT]: Reinstate original
	redefinition.
d1483 3
a1485 1
2001-01-20  Kenichi Handa  <handa@@etl.go.jp>
d1487 1
a1487 1
	* editfns.c (Fformat): Use lisp_string_width instead of strwidth.
d1489 1
a1489 1
2001-01-19  Andrew Innes  <andrewi@@gnu.org>
d1491 1
a1491 2
	* w32.c (init_environment): Add a version-independent site-lisp
	directory to EMACSLOADPATH, after the version dependent one.
d1493 2
a1494 1
2001-01-19  Gerd Moellmann  <gerd@@gnu.org>
d1496 1
a1496 1
	* editfns.c (Fbuffer_substring): Doc fix.
d1498 1
a1498 2
	* xdisp.c (message_dolog, message2, message2_nolog):
	Rename parameter LEN to NBYTES.
d1500 1
a1500 1
2001-01-19  Kenichi Handa  <handa@@etl.go.jp>
d1502 1
a1502 4
	* charset.c (strwidth): Use c_string_width.
	(c_string_width): New function.
	(lisp_string_width): New arguments PRECISION, NCHARS, NBYTES.
	Caller changed.
d1504 2
a1505 1
	* charset.h (c_string_width, lisp_string_width): Extern them.
d1507 1
a1507 1
	* doprnt.c (doprnt1): Get byte length of Lisp string correctly.
d1509 2
a1510 1
	* indent.c (check_composition): Check validity of composition.
d1512 1
a1512 6
	* xdisp.c (store_frame_title): Pay attention to width of non-ASCII
	characters by calling c_string_width.
	(x_consider_frame_title): Get byte length of frame tile string
	correctly.
	(display_mode_element): Pay attention to width of non-ASCII
	characters by calling strwidth.
d1514 1
a1514 1
2001-01-18  Gerd Moellmann  <gerd@@gnu.org>
d1516 1
a1516 6
	* xfns.c (Qcancel_timer): New variable.
	(syms_of_xfns): Initialize and staticpro it.
	(Fx_hide_tip, Fx_show_tip): Use it.
	(Fx_show_tip): Make sure to set tip_timer to nil when canceling
	the timer.
	(toplevel): Lisp code for generating parts of syms_of_xfns removed.
d1518 2
a1519 1
	* window.c (Fwindow_live_p): Use WINDOW_LIVE_P.
d1521 1
a1521 1
	* window.h (WINDOW_LIVE_P): New macro.
d1523 2
a1524 3
	* window.c (window_size_fixed): New variable.
	(syms_of_window): Add a DEFVAR_BOOL for window-size-fixed, for
	the doc string.
d1526 1
a1526 5
	* eval.c (specbind): If binding a per-buffer variable which
	doesn't have a buffer-local value in the current buffer, change
	the global value by changing the value of the symbol bound in all
	buffers not having their own value, to make it consistent with
	what happens with other buffer-local variables.
d1528 2
a1529 1
	* xterm.c (x_initialize): Set char_ins_del_ok to 1.
d1531 1
a1531 2
	* xdisp.c (forward_to_next_line_start): Stop at end of buffer
	when searching for a newline.
d1533 1
a1533 1
2001-01-18  Kenichi Handa  <handa@@etl.go.jp>
d1535 6
a1540 1
	* xdisp.c (display_string): Fix previous change.
d1542 1
a1542 1
2001-01-18  Jason Rumney  <jasonr@@gnu.org>
d1544 1
a1544 18
	* w32term.c (x_produce_stretch_glyph): Only use Qspace when
	GLYPH_DEBUG is defined.
	(x_produce_glyphs): Don't xassert `it->descent > 0'; this isn't
	true for images with `:ascent 100'.
	(x_set_mouse_face_gc): If the last used mouse face has gone in the
	meantime, use face MOUSE_FACE_ID.
	If first glyph isn't a character glyph, use the ASCII NUL
	character to determine the face.
	(expose_area): Do not treat left margin specially.
	(note_mode_line_highlight): If no local_map, check global keymap.
	(note_mouse_highlight): Initialize overlay.
	(clear_mouse_face): Don't return if tip_frame is non-nil.
	(show_scroll_bars): Remove unused function.
	(w32_read_socket) [WM_KILLFOCUS]: Set help_echo to Qnil.
	(x_draw_bar_cursor): Remove extra test for out of bounds cursor.
	Clip to row.
	(x_erase_phys_cursor): Don't apply XWINDOW to variable that may be nil.
	(x_free_frame_resources): Unload relief colors.
d1546 1
a1546 1
2001-01-17  Gerd Moellmann  <gerd@@gnu.org>
d1548 2
a1549 4
	* xdisp.c (forward_to_next_line_start): Avoid calling
	get_next_display_element when the newline is already found.
	This may change the iterator's position, when its current position is
	equal to the iterator's stop_charpos.
d1551 1
a1551 2
	* dispnew.c (direct_output_for_insert): If char_ins_del_ok is
	zero, use this method only at the end of a line.
d1553 2
a1554 3
	* xfaces.c (x_face_list_fonts): Don't BLOCK_INPUT around the
	call to x_list_fonts.  Call x_list_fonts with SIZE -1 only
	if SCALABLE_FONTS_P is set.
d1556 1
a1556 2
	* xfaces.c (x_face_list_fonts): Call x_list_fonts with SIZE -1,
	so that scalable fonts are included.
d1558 3
a1560 4
	* xterm.c (x_list_fonts): Allow scalable fonts if SIZE is < 0,
	In the cache, use a key containing the information if scalable
	fonts are included.
	(x_load_font): Adapt to change of keys in the font cache.
d1562 1
a1562 1
2001-01-17  Kim F. Storm  <storm@@filanet.dk>
d1564 2
a1565 2
	* xfaces.c (x_face_list_fonts): Use x_list_fonts instead of
	XListFonts to take advantage of font caching.
d1567 1
a1567 3
	* xterm.c (x_list_fonts): Ensure caching font information when
	called for a null frame, which is the case frequently when Emacs
	starts.
d1569 1
a1569 1
2001-01-17  Gerd Moellmann  <gerd@@gnu.org>
d1571 1
a1571 1
	* xfns.c (QCconversion): Replaces QCalgorithm.
d1573 5
a1577 1
	* w32fns.c (QCconversion): Replaces QCalgorithm.  Update copyright.
d1579 3
a1581 2
	* xdisp.c (build_desired_tool_bar_string): Use :conversion instead
	of :algorithm.
d1583 1
a1583 2
	* xdisp.c (redisplay_tool_bar): Change tool bar's height when
	not everything could be displayed.
d1585 2
a1586 1
	* line.h, x-list-font.c: Files removed because unused.
d1588 1
a1588 1
2001-01-17  Andrew Innes  <andrewi@@gnu.org>
d1590 1
a1590 3
	* dired.c (directory_files_internal): Convert result from readdir
	to a unibyte string initially, to avoid possible misinterpretation
	of some bytes as the internal form of Emacs characters.
d1592 6
a1597 1
2001-01-17  Kenichi Handa  <handa@@etl.go.jp>
d1599 1
a1599 2
	* fns.c (concat): Be sure to avoid putting the same `composition'
	property on the adjacent regions.
d1601 1
a1601 1
2001-01-16  Gerd Moellmann  <gerd@@gnu.org>
d1603 1
a1603 3
	* window.c (Fset_window_hscroll): Don't set window's min_hscroll here.
	(Fscroll_right, Fscroll_left): Set it here instead, if called
	interactively.
d1605 1
a1605 2
	* buffer.c (Fset_buffer_modified_p): Set buffer's
	prevent_redisplay_optimizations_p flag.
d1607 1
a1607 3
	* dispnew.c, callproc.c, fns.c, keyboard.c, process.c, sunfns.c,
	* sysdep.c, vmsproc.c, xselect.c: Call redisplay_preserve_echo_area
	with additional arg.
d1609 10
a1618 2
	* dispextern.h, lisp.h (redisplay_preserve_echo_area):
	Change prototype.
d1620 2
a1621 2
	* xdisp.c (redisplay_preserve_echo_area): Add parameter
	FROM_WHERE, for debugging.
d1623 1
a1623 1
2001-01-16  Kenichi Handa  <handa@@etl.go.jp>
d1625 1
a1625 3
	* ccl.c (Fregister_ccl_program): Handle the return value of
	resolve_symbol_ccl_program correctly.
	(CCL_Extension): Fix typo (originally CCL_Extention).  Caller changed.
d1627 4
a1630 1
2001-01-15  Gerd Moellmann  <gerd@@gnu.org>
d1632 1
a1632 2
	* xterm.c (x_set_mouse_face_gc): If the last used mouse face
	has gone in the meantime, use face MOUSE_FACE_ID.
d1634 1
a1634 3
	* xterm.c (x_connection_closed) [USE_X_TOOLKIT]:
	If x_display_info_for_display returns null, don't try to close
	the display; we didn't open it.
d1636 2
a1637 7
	* dispnew.c (save_or_restore_current_matrices): Function removed.
	(save_current_matrix, restore_current_matrix): New functions.
	(adjust_frame_glyphs_for_frame_redisplay): Use them to save and
	restore the frame's current matrix.  Due to the glyph pointer
	setup done in adjust_glyph_matrix, there is no easy way to make
	saving the current matrix in the desired matrix generally correct,
	so don't try it.
d1639 1
a1639 1
2001-01-15  Kenichi Handa  <handa@@etl.go.jp>
d1641 2
a1642 6
	* xdisp.c (insert_left_trunc_glyphs): Overwrite padding glyphs by
	truncation glyphs.
	(display_line): Optimize for wide characters.
	(display_string): Don't try to display a multi-column character
	partially.  On ttys, produce more than one truncation glyph for
	multi-column characters that don't fit on the line.
d1644 1
a1644 1
2001-01-13  Kenichi Handa  <handa@@etl.go.jp>
d1646 1
a1646 2
	* md5.c (WORDS_BIG_ENDIAN) [__BYTE_ORDER == __BIG_ENDIAN]:
	Define it instead of WORDS_BIGENDIAN.  Caller changed.
d1648 1
a1648 1
2001-01-13  Jason Rumney  <jasonr@@gnu.org>
d1650 1
a1650 4
	* w32fns.c (Fimage_size, image_ascent, lookup_image)
	(IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, parse_image_spec)
	(xbm_format, xpm_format, pbm_format, png_format, jpeg_format)
	(tiff_format, gif_format, gs_format): Adapt to change of image margins.
d1652 1
a1652 3
	* w32term.c (x_produce_image_glyph, x_draw_image_foreground)
	(x_draw_image_relief, x_draw_image_foreground_1)
	(x_draw_image_glyph_string): Adapt to change of image margins.
d1654 1
a1654 2
	* w32.c (init_environment, sys_shutdown, sys_pipe): Remove unused
	variables.
d1656 1
a1656 2
	* w32bdf.c (search_file_line, get_cached_font_char)
	(cache_char_offset, create_offscreen_bitmap): Remove unused variables.
d1658 1
a1658 1
	* w32inevt.c (w32_console_toggle_lock_key): Add parentheses.
d1660 2
a1661 4
	* w32fns.c (x_to_w32_color, x_set_icon_name, xlfd_strip_height)
	(w32_list_synthesized_fonts, lookup_image, Fx_file_dialog)
	(Fw32_send_sys_command): Remove unused variables.
	(w32_msg_pump): Add parentheses.
d1663 1
a1663 3
	* w32term.c (w32_fill_rect, w32_read_socket, x_bitmap_icon)
	(x_new_fontset, x_calc_absolute_position, x_iconify_frame):
	Add parentheses.
d1665 3
a1667 1
2001-01-12  Gerd Moellmann  <gerd@@gnu.org>
d1669 1
a1669 5
	* xdisp.c (Vtool_bar_button_margin): Replaces tool_bar_button_margin.
	(build_desired_tool_bar_string): Handle Vtool_bar_button_margin
	being a pair of margins.
	(syms_of_xdisp): Change DEFVAR_INT of tool-bar-button-margins
	to DEFVAR_LISP.  Extend doc.
d1671 3
a1673 10
	* xfns.c (Fimage_size, image_ascent): Adapt to the change of image
	margins.
	(lookup_image): If `:margin MARGIN' is specified, and MARGIN is a
	pair of integers `(X . Y)', use X for the horizontal and Y for the
	vertical margin.
	(IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR): New enumerator.
	(parse_image_spec): Check it.
	(xbm_format, xpm_format, pbm_format, png_format, jpeg_format)
	(tiff_format, gif_format, gs_format):
	Use IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR for :margin.
d1675 2
a1676 3
	* xterm.c (x_produce_image_glyph, x_draw_image_foreground)
	(x_draw_image_relief, x_draw_image_foreground_1)
	(x_draw_image_glyph_string): Adapt to the change of image margins.
d1678 2
a1679 2
	* dispextern.h (struct image): Replace member `margin' with
	`hmargin' and `vmargin'.
d1681 159
a1839 2
	* xdisp.c (Fdump_tool_bar_row) [GLYPH_DEBUG]: Add parameters ROW
	and GLYPHS.
d1841 2
a1842 3
	* dispnew.c (update_text_area): Put code which decrements the
	stop position when the row's face extends to the end of the
	line in #if 0.
d1844 1
a1844 1
	* xfns.c (x_set_mouse_color): Fix color allocation.
d1846 3
a1848 1
	* keyboard.c: Call get_local_map with new argument list.
d1850 1
a1850 1
	* intervals.c (get_local_map): Change TYPE to Lisp_Object.
d1852 1
a1852 2
	* intervals.h (enum map_property): Removed.
	(get_local_map): Change prototype.
d1854 1
a1854 2
	* keymap.c: Call get_local_map with new argument list.
	(Fwhere_is_internal): Rename parameter XKEYMAP to KEYMAP.
d1856 6
a1861 1
2001-01-11  Gerd Moellmann  <gerd@@gnu.org>
d1863 3
a1865 3
	* xdisp.c (build_desired_tool_bar_string): Correct the computation
	of the size needed for the tool bar string.  For the last image,
	use a `display' property that reaches to the end of the string.
d1867 1
a1867 5
	* xselect.c (selection_request_dpyinfo): New variable.
	(x_handle_selection_request): Set it.
	(x_selection_request_lisp_error): Don't call
	x_decline_selection_request if selection request's display has
	been closed.
d1869 4
a1872 2
	* xfaces.c (x_free_colors, x_free_dpy_colors) [DEBUG_X_COLORS]:
	Do the unregister_colors before calling XFreeColors.
d1874 2
a1875 1
2001-01-10  Dave Love  <fx@@gnu.org>
d1877 1
a1877 2
	* Makefile.in (${etc}DOC): Depend on ${shortlisp} and
	${SOME_MACHINE_LISP}, not ${lisp}.
d1879 3
a1881 1
2001-01-10  Gerd Moellmann  <gerd@@gnu.org>
d1883 1
a1883 2
	* xdisp.c (display_line): On ttys, produce more than one truncation
	glyph for multi-column characters that don't fit on the line.
d1885 3
a1887 1
	* xselect.c (x_reply_selection_request): Add a comment.
d1889 1
a1889 2
	* xfns.c (Fx_backspace_delete_keys_p): Use XkbGetMap and
	XkbGetNames instead of XkbGetKeyboard.
d1891 1
a1891 1
2001-01-10  Dave Love  <fx@@gnu.org>
d1893 1
a1893 1
	* sysdep.c (random): Revert the declaration.
d1895 8
a1902 1
2001-01-09  Gerd Moellmann  <gerd@@gnu.org>
d1904 1
a1904 3
	* lisp.h (STRING_BYTES) [GC_CHECK_STRING_BYTES]:
	Call function string_bytes.
	(GC_CHECK_STRING_BYTES): Moved here from alloc.c.
d1906 1
a1906 9
	* alloc.c (CHECK_STRING_BYTES) [GC_CHECK_STRING_BYTES]: New macro.
	(check_sblock, string_bytes) [GC_CHECK_STRING_BYTES]: New functions.
	(check_string_bytes) [GC_CHECK_STRING_BYTES]: Add parameter ALL_P.
	(allocate_string) [GC_CHECK_STRING_BYTES]: Always check strings in
	the current sblock.
	(mark_object) [GC_CHECK_STRING_BYTES]: Use CHECK_STRING_BYTES.
	(gc_sweep) [GC_CHECK_STRING_BYTES]: Call check_string_bytes
	after sweeping strings, and at the end.
	(GC_CHECK_STRING_BYTES): Moved to lisp.h.
d1908 2
a1909 2
	* alloc.c (Fgarbage_collect): Use a record_unwind_protect to
	ensure that pop_message is called.
d1911 1
a1911 2
	* keyboard.c (Fexecute_extended_command): Use a
	record_unwind_protect to ensure that pop_message is called.
d1913 1
a1913 1
	* lisp.h (push_message_unwind): Add prototype.
d1915 1
a1915 1
	* xdisp.c (push_message_unwind): New function.
d1917 1
a1917 3
	* fileio.c (do_auto_save_unwind): Do the pop_message here
	instead of in Fdo_auto_save.
	(Fdo_auto_save): Don't call pop_message.
d1919 1
a1919 1
2001-01-08  Ken Raeburn  <raeburn@@gnu.org>
d1921 1
a1921 2
	* xfns.c (xpm_load) [!ALLOC_XPM_COLORS]: Declare local variable I
	in inner block.
d1923 2
a1924 1
2001-01-08  Gerd Moellmann  <gerd@@gnu.org>
d1926 2
a1927 2
	* window.c (window_scroll_pixel_based): Adjust glyph matrices
	when increasing window's vscroll.
d1929 1
a1929 3
	* macros.c (Qkbd_macro_termination_hook): New variable.
	(syms_of_macros): Initialize and staticpro it.
	(pop_kbd_macro): Run kbd-macro-termination-hook.
d1931 3
a1933 1
	* xterm.c (XTread_socket) <LeaveNotify>: Set help_echo to nil.
d1935 1
a1935 1
2001-01-07  Dave Love  <fx@@gnu.org>
d1937 13
a1949 2
	* keyboard.c (Fread_key_sequence_vector):  Avoid newline in
	arglist, for documentation's sake.
d1951 2
a1952 1
2001-01-06  Andrew Innes  <andrewi@@gnu.org>
d1954 1
a1954 2
	* makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
	of *.pdb.
d1956 5
a1960 1
2001-01-05  Andrew Innes  <andrewi@@gnu.org>
d1962 1
a1962 3
	* term.c (update_end): Don't check updating_frame; for some reason
	this can be 0 sometimes, such as after dismissing a popup menu,
	and isn't necessary given the explicit frame argument.
d1964 1
a1964 1
2001-01-05  Gerd Moellmann  <gerd@@gnu.org>
d1966 13
a1978 2
	* sysdep.c: Don't prototype srandom; it takes an unsigned argument
	 on some systems, and an unsigned long on others, like FreeBSD 4.1.
d1980 4
a1983 1
2001-01-04  Gerd Moellmann  <gerd@@gnu.org>
d1985 2
a1986 1
	* xterm.c (clear_mouse_face): Don't return if tip_frame is non-nil.
d1988 1
a1988 2
	* xfns.c (x_create_tip_frame): Preserve the value of
	face_change_count around the creation of the tip frame.
d1990 2
a1991 4
	* xfns.c (last_show_tip_args): New variable.
	(compute_tip_xy): New function.
	(Fx_show_tip): Reuse an existing tip frame, if possible.
	(syms_of_xfns): Initialize and staticpro last_show_tip_args.
d1993 2
a1994 1
2001-01-04  Dave Love  <fx@@gnu.org>
d1996 1
a1996 1
	* editfns.c (Fformat): Doc fix.
d1998 2
a1999 1
	* systime.h (set_file_times): Prototype.
d2001 2
a2002 1
	* widget.h (EmacsFrameSetCharSize_): Prototype.
d2004 1
a2004 1
	* sysdep.c (random, srandom): Declare explicitly.
d2006 3
a2008 1
	* dispextern.h (move_it_vertically_backward): Declare.
d2010 1
a2010 1
2001-01-04  Gerd Moellmann  <gerd@@gnu.org>
d2012 3
a2014 2
	* xfns.c (x_create_tip_frame): Call face-set-after-frame-default,
	like in Fx_create_frame.
d2016 1
a2016 2
	* xfaces.c (set_font_frame_param): Don't do anything for
	non-graphical frames.
d2018 6
a2023 7
	* window.c (Fdelete_other_windows): Set window's window_end_valid
	to nil when changing the window's start.  Don't change the
	window's start when its top position hasn't changed.  If we do,
	this will set the window's optional_new_start, which act's like a
	force_start during redisplay with C-x 1 M-> under particular
	circumstances (see report from Per Starback to emacs-pretest-bug
	from 2000-12-13.).
d2025 1
a2025 1
2001-01-03  Gerd Moellmann  <gerd@@gnu.org>
d2027 2
a2028 3
	* xdisp.c (forward_to_next_line_start): Reset it->c if taking the
	short cut at the start of the function.  Add an assertion.
	(reseat_at_next_visible_line_start): Add an assertion.
d2030 1
a2030 3
	* window.c (Frecenter): When changing the window start, set the
	window's window_end_valid to nil.
	(Fwindow_end): Fix window-end computation when UPDATE is non-nil.
d2032 6
a2037 1
	* dispextern.h (move_it_past_eol): Add prototype.
d2039 1
a2039 1
	* xdisp.c (move_it_past_eol): New function.
d2041 4
a2044 1
	* window.c (Fwindow_end): Doc fix.
d2046 2
a2047 1
2001-01-03  Dave Love  <fx@@gnu.org>
d2049 4
a2052 1
	* dired.c (Ffile_attributes): Fix last change, removing BSD4_3 kluge.
d2054 1
a2054 1
2001-01-03  Gerd Moellmann  <gerd@@gnu.org>
d2056 1
a2056 3
	* xdisp.c (try_window_reusing_current_matrix): Fix bug setting
	the enabled_p flag of the glyph row at window_end_vpos to 0.
	(handle_single_display_prop): Fix last change.
d2058 1
a2058 1
2001-01-02  Richard M. Stallman  <rms@@caffeine.ai.mit.edu>
d2060 7
a2066 1
	* window.c (Frecenter): Doc fix.
d2068 7
a2074 1
2001-01-02  Andrew Innes  <andrewi@@gnu.org>
d2076 13
a2088 1
	* term.c (FRAME_TERMCAP_P) [WINDOWSNT]: Remove redefinition.
d2090 1
a2090 2
	* frame.h (output_method): Add output_w32_console method.
	(FRAME_W32_CONSOLE_P): New macro.
d2092 8
a2099 6
	* frame.c (make_terminal_frame) [WINDOWSNT]: Make terminal frames
	use output_w32_console method.
	(Qw32_console): New Lisp_Object.
	(Fframep): Return it.
	(syms_of_frame): Init it.
	(Fframe_parameters): Report w32console as font for w32_console frames.
d2101 2
a2102 4
	* xfaces.c (realize_default_face): Set face foreground and
	background to unspecified for w32_console frames.
	(realize_face): Realize face cache for w32_console frames.
	(realize_tty_face): Accept w32_console frames.
d2104 3
a2106 3
	* xdisp.c (handle_single_display_prop): Return if frame is w32_console.
	(init_iterator) [WINDOWSNT]: Initialize frame face cache if
	necessary, even if running interactively.
d2108 2
a2109 2
	* dispnew.c (Fredraw_frame): Call set_terminal_modes for
	w32_console frames.
d2111 5
a2115 12
	* w32term.c (x_update_begin):
	(x_update_end):
	(x_clear_frame):
	(x_ins_del_lines):
	(x_change_line_highlight):
	(x_delete_glyphs):
	(w32_ring_bell):
	(x_update_begin):
	(x_update_end):
	(w32_reassert_line_highlight):
	(w32_frame_rehighlight):
	(w32_frame_raise_lower): Do nothing if not w32 frame.
d2117 4
a2120 1
	* w32xfns.c (get_frame_dc): Abort if called on a non-w32 frame.
d2122 1
a2122 3
	* w32fns.c (Fx_display_color_cells): Determine correct value, when
	system doesn't tell us directly.
	(Fx_display_visual_class): Implement properly.
d2124 2
a2125 1
2001-01-02  Gerd Moellmann  <gerd@@gnu.org>
d2127 2
a2128 3
	* window.c (Frecenter): Handle centering in graphical frames
	specially.  Centering on the basis of line counts doesn't work
	reliably with variable-height lines.
d2130 1
a2130 1
2001-01-02  Eli Zaretskii  <eliz@@is.elta.co.il>
d2132 1
a2132 2
	* widget.c (EmacsFrameSetCharSize): Remove unused variables `ac'
	and al[].
d2134 1
a2134 2
	* composite.c (run_composition_function): Remove unused var `val'.
	(update_compositions): Remove unused variable `hook'.
d2136 1
a2136 1
	* intervals.c (get_local_map): Remove unused variable `tem'.
d2138 3
a2140 1
	* doprnt.c (doprnt1): Remove unused variable `size'.
d2142 1
a2142 2
	* fns.c (Flength): Remove unused variable `tail'.
	(Fdelete): Remove unused variable `size'.
d2144 1
a2144 2
	* editfns.c (Ftranspose_regions): Remove unused variables `gcpro1'
	and `gcpro2'.
d2146 1
a2146 1
	* doc.c (Fsnarf_documentation): Remove unused vars `fun' and `tem'.
d2148 1
a2148 2
	* data.c (find_symbol_value): Remove extra 3rd argument in the
	call to swap_in_symval_forwarding.
d2150 2
a2151 1
	* undo.c (Fprimitive_undo): Remove unused block-scope variable `end'.
d2153 1
a2153 3
	* search.c (shrink_regexp_cache): Remove unused variable `cpp'.
	(trivial_regexp_p): Remove unused variable `c'.
	(boyer_moore): Remove unused variable `k'.
d2155 1
a2155 2
	* indent.c (current_column): Remove unused variable `stopchar'.
	(Fcompute_motion): Remove unused variable `contin'.
d2157 1
a2157 1
	* casefiddle.c (casify_object): Remove unused variable `tolen'.
d2159 2
a2160 5
	* dired.c (directory_files_internal): Fix a typo in a comment.
	Remove an unused variable `handler'.
	(file_name_completion): Remove unused function-scope variable `dp'.
	(Ffile_attributes) <dirname, sdir>: Make declarations conditioned
	on BSD4_2.
d2162 10
a2171 1
	* fileio.c (e_write): Remove unused variable `require_encoding_p'.
d2173 1
a2173 3
	* marker.c (Fmarker_position): Remove unused variables `pos', `i',
	and `buf'.
	(Fmarker_insertion_type): Remove unused variable `buf'.
d2175 1
a2175 1
	* insdel.c (make_gap): Remove unused variable `result'.
d2177 1
a2177 3
	* keyboard.c (record_char): Remove unused function-scope var `help'.
	(kbd_buffer_get_event): Remove unused block-scope variable `idx'.
	(menu_bar_items): Remove unused function-scope variable `tem'.
d2179 1
a2179 11
	* fontset.c (fontset_ref): Remove unused variable `i'.
	(fontset_set): Remove unused variables `j' and `tmp'.
	(make_fontset): Remove unused variables `i', `j', `elt' and `base_elt'.
	(make_fontset_for_ascii_face): Remove unused variable `name'.
	(fs_load_font): Remove unused variable `font_idx'.
	(fs_query_fontset): Remove unused function-local variable `fontset'.
	(list_fontsets): Remove unused variable `tail'.
	(Fnew_fontset): Remove unused variables `family' and `registry'.
	(accumulate_font_info): Remove unused variable `tmp'.
	(Ffontset_font): Remove unused variable `id'.
	(syms_of_fontset): Remove unused variable `i'.
d2181 1
a2181 7
	* xfns.c (x_display_info_for_name): Cast 0 to "char *" in the call
	to x_term_init.
	(lookup_image): Remove unused variable `file'.
	(xbm_load): Remove unused variables `bitmap_data', `height', and
	`width'.  Remove function-local variable `i', leave the
	block-local one.
	(gif_load): Remove unused variable `inc'.
d2183 1
a2183 3
	* xterm.c (XTread_socket): Remove unused variables `p' and `pend'.
	(XTread_socket) <LeaveNotify>: Remove unused variable `frame',
	leave only the one in the inner block.
d2185 3
a2187 3
	* xfaces.c (face_fontset, realize_default_face): Remove unused
	variable `fontset'.
	(face_at_buffer_position): Remove unused variable `multibyte_p'.
d2189 1
a2189 1
	* term.c (encode_terminal_code): Remove unused variable `c'.
d2191 2
a2192 2
	* ccl.c (Fccl_execute): Cast ccl_driver parameters to `unsigned
	char *' instead of `char *'.
d2194 1
a2194 4
	* category.c (Fcategory_docstring): Remove unused variable `doc'.
	(Fget_unused_category): Remove unused variable `docstring_vector'.
	(Fchar_category_set): Remove unused variables `val', `charset',
	`c1' and `c2'.
d2196 4
a2199 12
	* coding.c (detect_coding_iso2022, setup_coding_system):
	Remove unused variable `i'.
	(detect_coding_mask): Remove unused variable `idx'.
	(detect_coding): Remove unused variable `i'.
	(ccl_coding_driver): Remove unused variable `result'.
	(run_pre_post_conversion_on_str): Remove unused variable `prev'.
	(decode_coding_string): Remove unused variables `to' and `gcpro1'.
	(encode_coding_string): Remove unused variables `gcpro1' and
	`saved_coding_symbol'.
	(Ffind_coding_systems_region_internal): Remove function-local
	variable args[], leave only the block-local one.
	(code_convert_region1): Remove unused variable `len'.
d2201 1
a2201 3
	* charset.c (char_printable_p): Remove unused variable `chars'.
	(Fsplit_char, Fchar_bytes): Remove unused variable `val'.
	(str_to_multibyte): Remove unused variable `c'.
d2203 1
a2203 1
	* window.c (size_window): Remove block-local variable `min_size'.
d2205 6
a2210 4
	* xdisp.c (make_cursor_line_fully_visible): Remove unused variable
	`header_line_height'.
	(append_space, extend_face_to_end_of_line): Declare `saved_what'
	enum display_element_type.
d2212 1
a2212 1
2001-01-02  Gerd Moellmann  <gerd@@gnu.org>
d2214 1
a2214 2
	* xterm.c (x_connection_closed): Catch X errors around all
	statements that call X.  Save away the error message in a local copy.
d2216 22
a2237 2
	* xterm.c (x_connection_closed): Set handling_signal to 0 at
	the start.
d2239 3
a2241 2
	* xdisp.c (pos_visible_p): Take into account that CHARPOS maybe
	in or at the start of invisible text.
d2243 1
a2243 1
	* dispnew.c (update_window): Don't check_current_matrix_flags.
d2245 1
a2245 1
2001-01-01  Jason Rumney  <jasonr@@gnu.org>
d2247 2
a2248 2
	* w32fns.c (x_figure_window_size): Do not allow new_height and
	new_width of frame to override specified values.
d2250 2
a2251 1
2000-12-30  Kenichi Handa  <handa@@etl.go.jp>
d2253 1
a2253 1
	* composite.c (find_composition): Fix a code for searching backward.
d2255 3
a2257 1
2000-12-29  Gerd Moellmann  <gerd@@gnu.org>
d2259 1
a2259 4
	* dispnew.c (check_current_matrix_flags) [GLYPH_DEBUG]: New function.
	(update_window) [GLYPH_DEBUG]: Call it.
	(scrolling_window): Prevent including current rows which are below
	what's displayed in the window.
d2261 1
a2261 3
	* xdisp.c (try_window_reusing_current_matrix)
	<new start <= old start>:  Disable rows in the current matrix
	which are below the window after scrolling.
d2263 1
a2263 3
	* xdisp.c (move_it_by_lines): Don't do optimizations if NEED_Y_P
	is zero.  It's not worth the complexity.
	(invisible_text_between_p): Put in #if 0 because unused.
d2265 1
a2265 1
2000-12-28  Gerd Moellmann  <gerd@@gnu.org>
d2267 3
a2269 2
	* xfns.c (Fx_backspace_delete_keys_p): Check library and server
	XKB versions.  Call XkbFreeKeyboard with 2nd arg 0.
d2271 4
a2274 3
	* keyboard.c (echo_char): If C is an integer, always call
	push_key_description.  Former code could signal an invalid
	character error.
d2276 1
a2276 5
	* keymap.c (push_key_description): Add parameter FORCE_MULTIBYTE.
	If set, print multibyte text.
	(Fsingle_key_description): Call push_key_description with
	FORCE_MULTIBYTE set.
	(describe_buffer_bindings): Likewise.
d2278 2
a2279 1
	* lisp.h (push_key_description): Add prototype.
d2281 1
a2281 2
	* xdisp.c (echo_area_display): Bind redisplay-dont-pause to t
	around the call to redisplay_internal.
d2283 2
a2284 1
	* xfns.c: Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG.
d2286 1
a2286 1
	* dispnew.c: Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG.
d2288 1
a2288 1
2000-12-28  Kenichi Handa  <handa@@etl.go.jp>
d2290 1
a2290 2
	* ccl.c (CCL_WRITE_CHAR): Check variable `extra_bytes'.
	(ccl_driver): New local variable `extra_bytes'.
d2292 1
a2292 1
	* ccl.h (struct ccl_spec): New member eight_bit_carryover.
d2294 1
a2294 3
	* coding.c (setup_coding_system):
	Initialize coding->spec.ccl.eight_bit_carryover.
	(ccl_coding_driver): Pay attention to carried over 8-bit bytes.
d2296 1
a2296 1
2000-12-28  Kenichi Handa  <handa@@etl.go.jp>
d2298 1
a2298 11
	* coding.c (SAFE_ONE_MORE_BYTE): New macro.
	(DECODE_EMACS_MULE_COMPOSITION_CHAR): New macro.
	(DECODE_EMACS_MULE_COMPOSITION_RULE): New macro.
	(decode_composition_emacs_mule): New function.
	(decode_coding_emacs_mule): Decode composition sequence by calling
	decode_composition_emacs_mule.
	(ENCODE_COMPOSITION_EMACS_MULE): New macro.
	(encode_coding_emacs_mule): Changed from macro to function.
	If a text contains compositions, encode them correctly.
	(setup_coding_system): Set coding->commong_flags for emacs-mule so
	that decoding and encoding are required.
d2300 1
a2300 1
2000-12-27  Gerd Moellmann  <gerd@@gnu.org>
d2302 1
a2302 4
	* xfaces.c (PT_PER_INCH): New macro.
	(xlfd_point_size): Compute real point size from font's pixel size.
	(pixel_point_size, build_scalable_font_name): Use PT_PER_INCH
	instead of 72.
d2304 1
a2304 2
	* .gdbinit: Comment out the line pointing to the Lesstif source
	directory.
d2306 2
a2307 2
	* window.c (Frecenter): Use displayed_window_lines instead
	of window_internal_height.
d2309 1
a2309 3
	* xterm.c (syms_of_xterm): DEFVAR_LISP x-toolkit-scroll-bars
	instead of x-toolkit-scroll-bars-p.
	(Vx_toolkit_scroll_bars): Renamed from x_toolkit_scroll_bars_p.
d2311 2
a2312 3
	* w32term.c (syms_of_xterm): DEFVAR_LISP x-toolkit-scroll-bars
	instead of x-toolkit-scroll-bars-p.
	(Vx_toolkit_scroll_bars): Renamed from x_toolkit_scroll_bars_p.
d2314 4
a2317 27
	* dispnew.c (struct redisplay_history) [GLYPH_DEBUG]: New.
	(REDISPLAY_HISTORY_SIZE) [GLYPH_DEBUG]: New macro.
	(redisplay_history, history_idx, history_tick) [GLYPH_DEBUG]:
	New variables.
	(add_window_display_history, add_frame_display_history)
	(Fdump_redisplay_history) [GLYPH_DEBUG]: New functions.
	(build_frame_matrix_from_leaf_window): Remove unused code.
	(build_frame_matrix_from_leaf_window) [GLYPH_DEBUG]: Add to
	redisplay history.
	(update_frame) [GLYPH_DEBUG]: Add to redisplay history.
	(update_window) [GLYPH_DEBUG]: Likewise.
	(syms_of_display): Defsubr dump-redisplay-history.

2000-12-23  Gerd Moellmann  <gerd@@gnu.org>

	* keyboard.c (echo_prompt): Always set current_kboard->echoptr to
	the end of the prompt.  Set echo_after_prompt to the offset
	of echoptr in echobuf.

	* xdisp.c (init_from_display_pos): Pop until the iterator's
	stack is empty; there may be frames for stretch or images
	on the stack.

	* dispnew.c (save_frame_matrix, restore_frame_matrix): Removed.
	(save_or_restore_current_matrix): New function for the same
	purpose, but more efficient.
	(adjust_frame_glyphs_for_frame_redisplay): Use it.
d2319 1
a2319 1
2000-12-23  Eli Zaretskii  <eliz@@is.elta.co.il>
d2321 1
a2321 1
	* xdisp.c (syms_of_xdisp): Fix last change.
d2323 1
a2323 1
2000-12-23  Gerd Moellmann  <gerd@@gnu.org>
d2325 1
a2325 1
	* xdisp.c (syms_of_xdisp): Doc fix.
d2327 1
a2327 4
	* xdisp.c (redisplay_window): Remove label restore_buffers;
	use finish_scroll_bars instead to make sure that scroll bars
	are redeemed.  If we don't do this, flickering can result from
	scroll bars being destroyed and recreated.
d2329 2
a2330 1
2000-12-22  Jason Rumney  <jasonr@@gnu.org>
d2332 1
a2332 4
	* w32term.c (w32_draw_bitmap): Fix drawing so it does not appear
	in the wrong colors when the foreground is not black.
	(expose_window): Don't redraw the window that's currently being
	updated.
d2334 1
a2334 1
2000-12-22  Gerd Moellmann  <gerd@@gnu.org>
d2336 2
a2337 3
	* window.c (size_window): When setting the window's too_small_ok
	flag, compare old size with minimum size depending on WIDTH_P,
	don't compare with window_min_width.
d2339 1
a2339 5
	* window.c (delete_window): Simplify somewhat.
	(Fset_window_configuration): Don't SET_FRAME_GARBAGED after
	freeing window matrices.  The flag windows_or_buffers_changed is
	set, so the next redisplay will consider all windows; this should
	suffice.
d2341 1
a2341 1
2000-12-22  Kenichi Handa  <handa@@etl.go.jp>
d2343 1
a2343 1
	* coding.c (ccl_coding_driver): Initialize ccl->cr_consumed.
d2345 1
a2345 1
	* ccl.h (struct ccl_program): New member cr_consumed.
d2347 1
a2347 3
	* ccl.c (CCL_WRITE_CHAR): Don't handle EOL conversion here.
	(CCL_READ_CHAR): Handle EOL conversion here.
	(ccl_driver) <CCL_ReadMultibyteChar2>: Likewise.
d2349 2
a2350 1
2000-12-21  Gerd Moellmann  <gerd@@gnu.org>
d2352 1
a2352 1
	* xdisp.c (Fdump_glyph_row) [GLYPH_DEBUG]: Add optional arg GLYPHS.
d2354 1
a2354 2
	* dispextern.h (GLYPH_EQUAL_P): Also compare pixel widths,
	otherwise tabs of different size compare equal.
d2356 4
a2359 1
	* callint.c (Fcall_interactively): Prevent a compiler warning.
d2361 1
a2361 3
	* print.c (print_unwind): Return nil.
	(PRINTDECLARE): Initialize all local variables.
	(print_preprocess): Add a default case.
d2363 1
a2363 1
	* lisp.h (Qinhibit_point_motion_hooks): Declare extern.
d2365 1
a2365 1
	* undo.c (Fprimitive_undo): Bind `inhibit-point-motion-hooks' to t.
d2367 1
a2367 2
	* window.c (delete_window, Fsplit_window)
	(Fset_window_configuration): Calls to ensure_frame_matrix removed.
d2369 4
a2372 1
	* dispextern.h (ensure_frame_matrix): Function declaration removed.
d2374 1
a2374 3
	* dispnew.c (ensure_frame_matrix): Removed.
	(save_frame_matrix, restore_frame_matrix): New functions.
	(adjust_frame_glyphs_for_frame_redisplay): Use them.
d2376 1
a2376 2
	* xdisp.c (dump_glyph_row, dump_glyph_matrix, Fdump_glyph_matrix)
	[GLYPH_DEBUG]: Extended to dump glyphs in short form.
d2378 7
a2384 1
2000-12-21  Andrew Innes  <andrewi@@gnu.org>
d2386 4
a2389 2
	* w32term.c (x_update_begin): Regenerate the palette here, rather
	than for each window.
d2391 17
a2407 3
	* w32xfns.c (select_palette): Avoid calling SelectPalette if
	palette is NULL, since this corrupts memory!  Also get
	display_info reference from frame.
d2409 28
a2436 1
2000-12-21  Jason Rumney  <jasonr@@gnu.org>
d2438 2
a2439 1
	* w32bdf.c (w32_init_bdf_font): Fix test for valid bmp heap.
d2441 43
a2483 2
	* w32term.c (x_draw_hollow_cursor): Delay obtaining the frame's DC
	to avoid returning without releasing it.
d2485 1
a2485 1
2000-12-21  Kenichi Handa  <handa@@etl.go.jp>
d2487 3
a2489 2
	* keymap.c (push_key_description): Don't convert eight-bit-control
	and eight-bit-graphic to multibyte character.
d2491 7
a2497 3
	* charset.c (Fmake_char_internal): If CHARSET doesn't have a
	generic character and CODE1 is nil, return the smallest character
	in CHARSET.
d2499 1
a2499 1
2000-12-20  Dave Love  <fx@@gnu.org>
d2501 1
a2501 1
	* s/osf5-0.h (NSIG): Don't redefine.
d2503 2
a2504 1
2000-12-20  Stefan Monnier  <monnier@@cs.yale.edu>
d2506 1
a2506 5
	* keymap.c (where_is_internal): Check ascii_sequence_p rather than
	excluding menu-bar and tool-bar.
	(Fwhere_is_internal): Check ascii_sequence_p when looking up the cache.
	(menu_item_p): Remove.
	(where_is_internal_1): Don't ignore menu-items.
d2508 1
a2508 1
2000-12-20  Gerd Moellmann  <gerd@@gnu.org>
d2510 1
a2510 2
	* xdisp.c (hscroll_window_tree): Take window's min_hscroll
	into account.
d2512 1
a2512 9
	* window.c (make_window): Initialize window's min_hscroll.
	(Fset_window_hscroll): Set window's hscroll and min_hscroll.
	(set_window_buffer, temp_output_buffer_show): Set min_hscroll
	to zero.
	(struct saved_window): New member min_hscroll.
	(SAVED_WINDOW_VECTOR_SIZE): Set to 17.
	(Fset_window_configuration): Set window's min_hscroll.
	(save_window_save): Save window's min_hscroll.
	(compare_window_configurations): Compare min_hscroll values.
d2514 1
a2514 1
	* window.h (struct window): New member min_hscroll.
d2516 1
a2516 1
	* keyboard.c (echo_prompt): Prevent a compiler warning.
d2518 2
a2519 3
	* xdisp.c (try_cursor_movement): Fix last change.  The real
	condition is that PT is at the end of the row, and should
	be displayed at the start of the next row.
d2521 3
a2523 2
	* xdisp.c (try_cursor_movement): If we end on a partially
	visible line, end we already decided to scroll, return -1.
d2525 1
a2525 1
	* dispextern.h (ensure_frame_matrix): Add prototype.
d2527 1
a2527 2
	* window.c (delete_window, Fsplit_window)
	(Fset_window_configuration): Call ensure_frame_matrix.
d2529 1
a2529 5
	* dispnew.c (fake_current_matrices, ensure_frame_matrix):
	New functions.
	(adjust_frame_glyphs_for_frame_redisplay): If display has been
	completed, call fake_current_matrices instead of marking frame
	garbaged.
d2531 2
a2532 1
2000-12-20  Jason Rumney  <jasonr@@gnu.org>
d2534 2
a2535 1
	* w32fns.c (syms_of_w32fns): Initialize and staticpro tip_frame.
d2537 2
a2538 1
2000-12-19  Eli Zaretskii  <eliz@@is.elta.co.il>
d2540 1
a2540 1
	* fns.c (Frequire): Doc fix.
d2542 3
a2544 1
2000-12-19  Gerd Moellmann  <gerd@@gnu.org>
d2546 1
a2546 1
	* window.c (window_scroll_pixel_based): Don't use move_it_vertically.
d2548 1
a2548 2
	* dispnew.c (direct_output_for_insert): Fix check for mini-window
	currently displaying a message.
d2550 1
a2550 3
	* bytecode.c (toplevel) [CHECK_FRAME_FONT]: Include frame.h and
	xterm.h.
	(Fbyte_code) [CHECK_FRAME_FONT]: Check the selected frame's font.
d2552 4
a2555 1
2000-12-18  Andrew Innes  <andrewi@@gnu.org>
d2557 1
a2557 1
	* w32.c (w32_strerror): New function.
d2559 2
a2560 1
	* w32.h (w32_strerror): New extern.
d2562 1
a2562 1
	* w32fns.c (Fw32_shell_execute): Use it.
d2564 1
a2564 1
2000-12-18  Gerd Moellmann  <gerd@@gnu.org>
d2566 5
a2570 1
	* s/hpux10.h (_FILE_OFFSET_BITS): Undef again.
d2572 1
a2572 1
2000-12-18  Eli Zaretskii  <eliz@@is.elta.co.il>
d2574 2
a2575 1
	* msdos.c (IT_set_face): Obey inverse_video.
d2577 1
a2577 1
2000-12-18  Kenichi Handa  <handa@@etl.go.jp>
d2579 1
a2579 1
	* dired.c (directory_files_internal): Always return decoded filenames.
d2581 1
a2581 1
2000-12-18  Gerd Moellmann  <gerd@@gnu.org>
d2583 1
a2583 2
	* xterm.c (x_connection_closed): Prevent being called recursively
	because of an error condition in XtCloseDisplay.
d2585 3
a2587 2
	* xdisp.c (init_iterator): If noninteractive, and the frame's
	face cache is null, make one.
d2589 2
a2590 1
	* xfns.c (show_busy_cursor): Check for live frames more thoroughly.
d2592 4
a2595 2
	* process.c (wait_reading_process_input): Check for pending
	input when running timers.
d2597 1
a2597 1
2000-12-18  Eli Zaretskii  <eliz@@is.elta.co.il>
d2599 1
a2599 1
	* msdos.c (IT_write_glyphs): Compute the glyph face from str->face_id.
d2601 1
a2601 1
2000-12-18  Kenichi Handa  <handa@@etl.go.jp>
d2603 1
a2603 2
	* process.c (read_process_output): Don't run a filter if the code
	decoder produces nothing but carryover.
d2605 1
a2605 1
2000-12-17  Andrew Innes  <andrewi@@gnu.org>
d2607 2
a2608 4
	* w32.c (sys_rename): Only check errno against EEXIST, and not
	EACCES, when determining whether rename failed because the target
	exists.  This was resulting in indefinite looping on Windows 9x if
	the source file was locked by another process.
d2610 2
a2611 2
	* w32fns.c (Ffile_system_info): New function.
	(syms_of_w32fns): Defsubr it.
d2613 2
a2614 1
2000-12-17  Gerd Moellmann  <gerd@@gnu.org>
d2616 1
a2616 2
	* window.c (coordinates_in_window): Fix computation for
	position on vertical line between mode lines.
d2618 1
a2618 4
	* xfns.c (unwind_create_frame): Return t if frame was deleted.
	Don't alter tip_frame or tip_window.
	(unwind_create_tip_frame): Set tip_frame to nil only if frame
	was deleted.
d2620 1
a2620 4
	* w32fns.c (unwind_create_frame): Return t if frame was deleted.
	Don't alter tip_frame or tip_window.
	(unwind_create_tip_frame): Set tip_frame to nil only if frame
	was deleted.
d2622 2
a2623 1
2000-12-16  Eli Zaretskii  <eliz@@is.elta.co.il>
d2625 1
a2625 3
	* fileio.c (Fcopy_file): Rename the last argument to keep_time, to
	be consistent with the doc string.  Reported by NAKAJIMA Mikio
	<minakaji@@osaka.email.ne.jp>.
d2627 1
a2627 1
2000-12-16  Kenichi Handa  <handa@@etl.go.jp>
d2629 11
a2639 3
	* xfaces.c (Vface_ignored_fonts): New variable.
	(x_face_list_fonts): Ignore fonts matching Vface_ignored_fonts.
	(syms_of_xfaces): Declare Vface_ignored_fonts as a Lisp variable.
d2641 1
a2641 1
2000-12-15  Gerd Moellmann  <gerd@@gnu.org>
d2643 1
a2643 3
	* dispnew.c (update_window): Detect pending input every nth line
	updated, i.e. do it depending on real work done, and not on the
	vpos of the line.
d2645 2
a2646 2
	* xterm.c (expose_window): Don't redraw the window that's
	currently being updated.
d2648 2
a2649 2
	* window.c (Fset_window_point): Remove test for
	cursor_in_non_selected_windows.
d2651 1
a2651 1
	* lread.c (read1): Recognize end of file after `\\'.
d2653 4
a2656 2
	* xfns.c (x_create_tip_frame): Use unwind_create_tip_frame,
	not unwind_create_frame.
d2658 1
a2658 1
2000-12-15  Dave Love  <fx@@gnu.org>
d2660 2
a2661 2
	* s/usg5-4.h (bcopy) [IRIX6]: Don't special-case definition of
	bcopy & al.
d2663 1
a2663 1
	* s/irix6-5.h: #undef bcopy & al here.  Include strings.h.
d2665 1
a2665 1
2000-12-15  Kenichi Handa  <handa@@etl.go.jp>
d2667 1
a2667 6
	* coding.c (setup_coding_system): Clear all members of the struct
	coding_system at first.
	(detect_coding): Call detect_coding_mask with a correct MULTIBYTEP
	argument.
	(code_convert_region): Don't override coding->src_multibyte and
	coding->dst_multibyte.
d2669 2
a2670 1
	* fns.c (Fmd5): Docstring improved.
d2672 1
a2672 1
2000-12-15  Miles Bader  <miles@@gnu.org>
d2674 4
a2677 3
	* xdisp.c (window_box_height): Only use mode-line glyph-rows that
	are actually marked as mode-lines; otherwise use
	estimate_mode_line_height.
d2679 2
a2680 1
2000-12-14  Gerd Moellmann  <gerd@@gnu.org>
d2682 14
a2695 2
	* editfns.c (Fformat): Prevent a buffer overrun when the format
	specifies a precision.
d2697 1
a2697 1
2000-12-14  Eli Zaretskii  <eliz@@is.elta.co.il>
d2699 2
a2700 2
	* msdos.c (Fmsdos_set_mouse_buttons): Signal an error if the
	argument is outside the range [2..3].
d2702 4
a2705 1
2000-12-14  Andrew Innes  <andrewi@@gnu.org>
d2707 8
a2714 10
	* w32fns.c (Fx_hide_tip): Avoid unnecessary work when there's
	nothing to do.  Bind inhibit-quit.
	(tip_frame): Make it a Lisp_Object.
	(x_create_tip_frame): Set tip_frame after it has been added to
	Vframe_list.
	(Fx_show_tip): Don't set tip_frame here.
	(image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: New variables.
	(unwind_create_frame, unwind_create_tip_frame): New functions.
	(Fx_create_frame, x_create_tip_frame): Handle errors signaled
	while a frame is only partially constructed.
d2716 3
a2718 3
	* w32term.c (clear_mouse_face): Treat tip_frame as a Lisp_Object.
	(x_free_frame_resources): New function.
	(x_destroy_window): Use it.
d2720 1
a2720 1
2000-12-14  Gerd Moellmann  <gerd@@gnu.org>
d2722 2
a2723 2
	* xfns.c (Fx_backspace_delete_keys_p): New function.
	(syms_of_xfns): Defsubr it.
d2725 1
a2725 1
	* config.in (HAVE_XKBGETKEYBOARD): Add.
d2727 3
a2729 1
2000-12-14  Kenichi Handa  <handa@@etl.go.jp>
d2731 3
a2733 6
	* keyboard.c (echo_prompt): Argument type changed to Lisp_Object.
	Always store string in multibyte representation in echobuf.
	(echo_char): Always store string in multibyte representation in
	echobuf.
	(echo_now): Call message2_nolog with the arg MULTIBYTE 1.
	(read_key_sequence): Adjusted for the change of echo_prompt.
d2735 1
a2735 1
	* fns.c (Fmd5): Docstring improved.
d2737 1
a2737 1
	* lisp.h (detect_coding_system): Prototype adjusted.
d2739 2
a2740 10
	* coding.c (ONE_MORE_BYTE_CHECK_MULTIBYTE): New macro.
	(detect_coding_emacs_mule, detect_coding_iso2022,)
	(detect_coding_sjis, detect_coding_big5, detect_coding_utf_8)
	(detect_coding_utf_16, detect_coding_ccl): Make them static.
	New argument MULTIBYTEP.  Callers changed.
	(detect_coding_mask, detect_coding_system): New argument
	MULTIBYTEP.  Callers changed.
	(decode_coding_string): Set coding->src_multibyte and
	coding->dst_multibyte before calling detect_coding and detect_eol.
	Update them after some coding system is detected.
d2742 1
a2742 1
2000-12-13  Stefan Monnier  <monnier@@cs.yale.edu>
d2744 1
a2744 1
	* keymap.c (get_keyelt): Only eval the filter if `autoload' is set.
d2746 1
a2746 2
	* keyboard.c (menu_bar_items, tool_bar_items):
	Set `autoload' when looking up `tool-bar' or `menu-bar' submap.
d2748 2
a2749 1
2000-12-13  Gerd Moellmann  <gerd@@gnu.org>
d2751 2
a2752 5
	* xfns.c (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]:
	New variables.
	(unwind_create_frame, unwind_create_tip_frame): New functions.
	(Fx_create_frame, x_create_tip_frame): Handle errors signaled
	while a frame is only partially constructed.
d2754 8
a2761 1
	* xterm.h (x_free_frame_resources): Declare.
d2763 1
a2763 2
	* xterm.c (x_free_frame_resources): New function.
	(x_destroy_window): Use it.
d2765 3
a2767 3
	* dispnew.c (update_window): If do_mouse_tracking is non-nil,
	don't interrupt the update for pending input initially, i.e.
	update at least some lines.
d2769 6
a2774 1
	* keyboard.c (do_mouse_tracking): Make externally visible.
d2776 2
a2777 1
	* xterm.c (x_term_init): Declare gray_bitmap_bits as `extern char *'.
d2779 1
a2779 1
	* xfns.c (gray_bitmap_bits): Declare `char *'.
d2781 1
a2781 1
2000-12-12  Gerd Moellmann  <gerd@@gnu.org>
d2783 1
a2783 2
	* xdisp.c (display_tool_bar_line): Make sure that tool bar
	lines start with a relief line.
d2785 3
a2787 1
2000-12-12  Dave Love  <fx@@gnu.org>
d2789 1
a2789 2
	* window.c (Fdisplay_buffer): Doc fix.
	(Fwindow_list): Remove unused var.
d2791 1
a2791 1
	* buffer.h (mmap_set_vars): Declare.
d2793 1
a2793 1
	* window.h (Fset_window_point): Declare.
d2795 5
a2799 1
2000-12-12  Eli Zaretskii  <eliz@@is.elta.co.il>
d2801 19
a2819 4
	* msdos.c (fast_find_position): Don't overstep the last window row.
	(IT_note_mouse_highlight): Initialize portion to -1.  Remove unused
	variable `area'.  When looking for a row under (X,Y), give up if some
	of the previous rows is not enabled.
d2821 10
a2830 1
2000-12-12  Gerd Moellmann  <gerd@@gnu.org>
d2832 7
a2838 3
	* window.c (Fset_window_point): If displaying cursors in windows
	other than the selected window, make sure redisplay updates
	other windows to show the new value of point in the window.
d2840 1
a2840 1
	* dispextern.h (cursor_in_non_selected_windows): Declare extern.
d2842 1
a2842 2
	* buffer.c (Fkill_buffer): Don't Fset_buffer when testing if
	the buffer is the sole visible buffer when in the mini-buffer.
d2844 1
a2844 3
	* xdisp.c (setup_echo_area_for_printing, with_echo_area_buffer):
	Bind `inhibit-read-only' to t.
	(unwind_with_echo_area_buffer): Use AREF.
d2846 1
a2846 1
	* xfns.c (Fx_hide_tip): Simplified.
d2848 9
a2856 2
	* s/freebsd.h, s/netbsd.h (GC_MARK_STACK): Use GC_MAKE_GCPROS_NOOPS
	instead of `1'.
d2858 1
a2858 1
	* s/gnu-linux.h (GC_MARK_STACK): Define as GC_MAKE_GCPROS_NOOPS.
d2860 1
a2860 1
2000-12-11  Gerd Moellmann  <gerd@@gnu.org>
d2862 1
a2862 1
	* xfns.c (Fx_hide_tip): Fix last change.
d2864 3
a2866 6
	* xfns.c (Fx_hide_tip): Avoid unnecessary work when there's
	nothing to do.  Bind inhibit-quit.
	(tip_frame): Make it a Lisp_Object.
	(x_create_tip_frame): Set tip_frame after it has been added to
	Vframe_list.
	(Fx_show_tip): Don't set tip_frame here.
d2868 1
a2868 1
	* xterm.c (clear_mouse_face): Treat tip_frame as a Lisp_Object.
d2870 1
a2870 2
	* xdisp.c (prepare_menu_bars): Changes for tip_frame being a
	Lisp_Object.
d2872 1
a2872 1
	* dispextern.h: Change external declaration of tip_frame.
d2874 2
a2875 2
	* keymap.c (Fkey_description): If KEYS is an empty key sequence,
	return an empty string.
d2877 2
a2878 25
	* xdisp.c (try_cursor_movement): Check update_mode_lines instead
	of the window's update_mode_line flag, since the former is set by
	force-mode-line-update, not the latter.  This makes
	column-number-mode slightly faster.

	* xdisp.c (try_window_id) <all changes above window start>:
	Set the cursor.

2000-12-11  Paul Eggert  <eggert@@twinsun.com>

	* config.in (HAVE_FTELLO): Remove.
	(HAVE_FSEEKO): Add.
	(_XOPEN_SOURCE): Remove; the large-file code no longer needs it.
	* lread.c (file_offset, file_tell): Depend on HAVE_FSEEKO, not
	HAVE_FTELLO.
	* s/hpux10.h (_FILE_OFFSET_BITS): Do not undef.
	* s/isc3-0.h, s/osf5-0.h: Update comment about _XOPEN_SOURCE.

2000-12-11  Miles Bader  <miles@@gnu.org>

	* window.c (displayed_window_lines): Don't round up when
	converting empty space at bottom to lines.
	Handle non-newline-terminated final lines properly.
	(Fwindow_text_height): New function (used to be in lisp).
	(syms_of_window): Initialize it.
d2880 1
a2880 1
2000-12-09  Stefan Monnier  <monnier@@cs.yale.edu>
d2882 4
a2885 3
	* syntax.c (scan_lists): Check that the right quote char has the
	right Sstring syntax when jumping over strings.
	(init_syntax_once): Use Smax rather than 13.
d2887 1
a2887 1
2000-12-09  Miles Bader  <miles@@gnu.org>
d2889 2
a2890 6
	* window.c (Fpos_visible_in_window_p): Replace FULLY parameter
	with PARTIALLY, inverting the sense.
	(window_scroll_pixel_based): Scroll partially visible lines into
	place if we hit the beginning or end of the buffer.
	(displayed_window_lines): Don't include partially visible lines.
	(Fmove_to_window_line): Skip past any partially visible first line.
d2892 2
a2893 1
2000-12-08  Gerd Moellmann  <gerd@@gnu.org>
d2895 1
a2895 1
	* keymap.c (current_minor_maps): Use malloc.  Prevent a leak.
d2897 1
a2897 2
	* tparam.c (tparam1): Change the way buffers are reallocated to be
	portable and less obfuscated.
d2899 1
a2899 2
	* termcap.c (tgetent): Change the way buffers are reallocated to
	be portable and less obfuscated.
d2901 4
a2904 2
	* macros.c (store_kbd_macro_char): Change the way buffers are
	reallocated to be portable and less obfuscated.
d2906 1
a2906 2
	* lread.c (read1): Change the way buffers are reallocated to be
	portable and less obfuscated.
d2908 1
a2908 2
	* doc.c (Fsubstitute_command_keys): Change the way buffers
	are reallocated so that it is portable.
d2910 1
a2910 1
2000-12-07  Eli Zaretskii  <eliz@@is.elta.co.il>
d2912 2
a2913 2
	* dosfns.c (Ffile_system_info): New function.
	(syms_of_dosfns): Defsubr it.
d2915 1
a2915 1
2000-12-07  Stefan Monnier  <monnier@@cs.yale.edu>
d2917 1
a2917 1
	* alloc.c (gc_sweep): Add comment.
d2919 1
a2919 1
2000-12-07  Gerd Moellmann  <gerd@@gnu.org>
d2921 7
a2927 4
	* sound.c (vox_configure): Change order of ioctls.
	Don't set SNDCTL_DSP_SPEED from bps, don't set SNDCTL_DSP_SAMPLESIZE.
	Ignore errors when changing volume.
	(vox_close): Don't reset the device.
d2929 3
a2931 3
	* process.c (read_process_output): Make sure the process marker's
	position is valid when the process buffer is changed in
	after-change functions.  W3 does that.
d2933 2
a2934 1
	* xfns.c (x_free_gcs): New function.
d2936 2
a2937 1
	* xterm.h (x_free_gcs): Add prototype.
d2939 1
a2939 2
	* widget.c (EmacsFrameDestroy): Call x_free_gcs instead of
	freeing GCs here.
d2941 4
a2944 2
	* xterm.c (x_destroy_window): Call x_free_gcs so that
	resources of non-toolkit X windows will be freed.
d2946 1
a2946 1
2000-12-07  Andrew Innes  <andrewi@@gnu.org>
d2948 2
a2949 1
	* w32fns.c (xlfd_charset_of_font): Fix last change.
d2951 1
a2951 1
2000-12-06  Dave Love  <fx@@gnu.org>
d2953 2
a2954 1
	* md5.h (__P): Don't define -- it comes from config.h.
d2956 1
a2956 1
	* strftime.c: Change some #if foo to #ifdef foo.
d2958 2
a2959 1
2000-12-06  Andrew Innes  <andrewi@@gnu.org>
d2961 3
a2963 1
	* w32term.h (CP_INVALID): Rename to CP_UNKNOWN.
d2965 5
a2969 3
	* w32fns.c (xlfd_charset_of_font): Don't overwrite fontname argument.
	(w32_codepage_for_font): Rename CP_INVALID to CP_UNKNOWN.
	(w32_list_fonts): Don't choke if pattern doesn't specify a codepage.
d2971 2
a2972 1
2000-12-06  Gerd Moellmann  <gerd@@gnu.org>
d2974 1
a2974 2
	* alloc.c (gc_sweep): Prevent symbols read during loadup
	from being freed.
d2976 1
a2976 4
	* xdisp.c (underlying_face_id): New function.
	(handle_face_prop, face_before_or_after_it_pos): Use it
	to determine the face ``under'' a string.  Let strings inherit
	the face of the buffer under them.
d2978 1
a2978 1
	* xfaces.c (face_at_string_position): Update function comment.
d2980 1
a2980 3
	* dispnew.c (adjust_glyph_matrix): Don't reuse a window's current
	matrix if the window's left position has changed; we need to
	redraw it in this case.
d2982 2
a2983 1
	* dispextern.h (struct glyph_matrix): Add member window_left_x.
d2985 2
a2986 2
	* window.c (coordinates_in_window): Check mouse on mode-line or
	header-line first.
d2988 2
a2989 2
	* alloc.c (Fgarbage_collect): Dox fix.  Return a list as
	advertized by the function documentation.
d2991 3
a2993 1
	* window.c (syms_of_window): Doc fix.
d2995 1
a2995 2
	* sound.c (vox_configure): Set volume for left and right channel.
	(sound_cleanup): Return nil.
d2997 1
a2997 1
	* xdisp.c (move_it_by_lines): Fix paren typo.
d2999 1
a2999 4
	* xterm.c (x_load_font): Don't use the font's max_bounds for
	computing the height of the font.  If max_bounds' ascent or
	descent are greater than the font's ascent or descent, this means
	glyphs overlap, which should be handled now by redisplay.
d3001 1
a3001 4
	* window.c (Veven_window_heights): New variable.
	(syms_of_window): DEFVAR_LISP it.
	(Fdisplay_buffer): Check Veven_window_heights before evening the
	window heights.
d3003 1
a3003 1
2000-12-06  Miles Bader  <miles@@gnu.org>
d3005 2
a3006 2
	* xfaces.c (Finternal_set_lisp_face_attribute): If FRAME is `t',
	update `default-frame-alist' instead of setting no frame parameters.
d3008 1
a3008 1
2000-12-06  Kenichi Handa  <handa@@etl.go.jp>
d3010 17
a3026 2
	* composite.c (update_compositions): Fix typo (use the correct
	variable).
d3028 1
a3028 1
2000-12-05  Jason Rumney  <jasonr@@gnu.org>
d3030 1
a3030 2
	* md5.h: Remove underscores from function declarations.
	(__attribute__, __alignof__) [!__GNUC__]: Define.
d3032 1
a3032 1
	* md5.c: Delay include of md5.h until after namespace cleaning.
d3034 1
a3034 3
	* makefile.w32-in (fns.o): Depend on md5.h
	(md5.o): New target.
	(sunfns.o): Remove.
d3036 1
a3036 1
	* makefile.nt: Likewise.
d3038 1
a3038 1
2000-12-05  Jason Rumney  <jasonr@@altavista.net>
d3040 8
a3047 1
	* w32term.c (expose_area): Complete last change.
d3049 1
a3049 1
2000-12-05  Ken Raeburn  <raeburn@@gnu.org>
d3051 1
a3051 1
	* minibuf.c: Include intervals.h.
d3053 4
a3056 1
2000-12-05  Jason Rumney  <jasonr@@gnu.org>
d3058 1
a3058 5
	* w32term.c (x_produce_glyphs): If a font for a component of
	a composition is not found, use 1 pixel dot ascent and 0 dot
	descent value to avoid displaying terribly tall empty boxes.
	(expose_area): Pass x-coordinate relative to the exposed
	area to x_draw_glyphs instead of a window-relative coordinate.
d3060 2
a3061 1
2000-12-05  Gerd Moellmann  <gerd@@gnu.org>
d3063 1
a3063 8
	* xdisp.c (next_element_from_ellipsis): Save face before selective
	display in saved_face_id, and set face_before_selective_p.
	(reseat_1): Reset face_before_selective_p.
	(append_space, extend_face_to_end_of_line): If iterator's
	face_before_selective_p is set, use the face from saved_face_id.
	(extend_face_to_end_of_line): For tty frames, make sure to
	use the right face id when producing spaces at the end of
	the line.
d3065 1
a3065 1
	* dispextern.h (struct it): Add face_before_selective_p.
d3067 3
a3069 2
	* keyboard.c (record_char): Don't record identical help-echo
	events in recent_keys.
d3071 1
a3071 2
	* xterm.c [USE_X_TOOLKIT]: Close the display.
	(xim_close_dpy): Handle case that the display has been closed.
d3073 2
a3074 2
	* xterm.c (x_destroy_window): Reset the frame's X window after
	destroying it.
d3076 1
a3076 5
	* dispnew.c (adjust_glyph_matrix): Make sure to initialize local
	variable window_width.
	(line_draw_cost): Fix code skipping over spaces at the end of the
	line when must_write_spaces is not set.
	(scrolling_window): Fix code inserting runs in list of all runs.
d3078 1
a3078 1
2000-12-05  Kenichi Handa  <handa@@etl.go.jp>
d3080 1
a3080 2
	* coding.c (setup_coding_system): Be sure to initialize
	coding->category_idx.
d3082 2
a3083 1
2000-12-04  Gerd Moellmann  <gerd@@gnu.org>
d3085 1
a3085 1
	* xterm.c (PER_CHAR_METRIC): Removed because not used.
d3087 5
a3091 2
	* xterm.c (expose_area): Pass x-coordinate relative to the exposed
	area to x_draw_glyphs instead of a window-relative coordinate.
d3093 1
a3093 2
	* fileio.c (auto_save_error): Add parameter ERROR.  Show the
	error in the message.
d3095 5
a3099 3
	* keyboard.c (Fread_key_sequence): Don't start the busy cursor
	timer after having read a key.  It's not good for code reading
	several keys in a loop, like an input method.
d3101 1
a3101 2
	* fileio.c (Finsert_file_contents): When VISIT is t, don't
	record undo information for format-decode.
d3103 2
a3104 2
	* undo.c (Fprimitive_undo): Bind inhibit-read-only to t if
	current buffer is read-only, not if it isn't.
d3106 9
a3114 3
	* keyboard.c (record_char): Record `help-echo' input events
	in recent_keys only if they display some help.  Don't record
	`help-echo' events as macro char.
d3116 2
a3117 1
2000-12-04  Richard M. Stallman  <rms@@caffeine.ai.mit.edu>
d3119 1
a3119 3
	* editfns.c (save_excursion_restore): Don't move point
	in another window if it is showing the wrong buffer.
	Avoid the call to Fwindow_live_p, for speed.
d3121 3
a3123 1
2000-12-04  Kenichi Handa  <handa@@etl.go.jp>
d3125 1
a3125 7
	* xfaces.c (struct font_name): New member registry_priority.
	(split_font_name): Initialize the above member to zero.
	(concat_font_list): New function.
	(font_list): Include fonts of all alternative registries.
	(FONT_POINT_SIZE_QUANTUM): New macro.
	(better_font_p): Ignore point size difference less than
	FONT_POINT_SIZE_QUANTUM.  Use registry_prioprity as a last resort.
d3127 1
a3127 3
	* xterm.c (x_produce_glyphs): If a font for a component of
	a composition is not found, use 1 pixel dot ascent and 0 dot
	descent value to avoid displaying terribly tall empty boxes.
d3129 1
a3129 1
	* ccl.c (stack_idx_of_map_multiple): Don't use C initializier.
d3131 1
a3131 1
2000-12-03  Ken Raeburn  <raeburn@@gnu.org>
d3133 1
a3133 1
	* coding.h (code_convert_string1): Declare.
d3135 2
a3136 1
	* fns.c (Fmd5): Pass lisp objects, not integers, to call3.
d3138 3
a3140 1
	* lisp.h (Fmake_variable_buffer_local, Fbuffer_file_name): Declare.
d3142 1
a3142 1
2000-12-02  Jason Rumney  <jasonr@@gnu.org>
d3144 1
a3144 8
	* w32term.c (w32_bdf_per_char_metric): Dereference pointer
	correctly for single byte character case.
	(w32_per_char_metric): Do not try to make any assumptions about
	the metrics of BDF fonts.
	(x_estimate_mode_line_height): If `mode-line' face
	hasn't a font, use that of the frame, as drawing glyphs does.
	(note_mouse_highlight): Change the cursor shape	on the vertical
	border between windows [not enabled].
d3146 1
a3146 1
	* w32term.h (struct w32_output): Add member horizontal_drag_cursor.
d3148 3
a3150 6
	* w32fns.c (Fx_create_frame): Reintroduce the call to
	face-set-after-frame-defaults.
	(Vx_window_horizontal_drag_shape): New variable.
	(syms_of_xfns): DEFVAR_LISP it.
	(x_set_mouse_color): Create frame's horizontal_drag_cursor [not
	enabled].
d3152 1
a3152 1
2000-12-02  Simon Josefsson  <simon@@josefsson.org>
d3154 2
a3155 2
	* fns.c (Fmd5): Use a different logic to decide the coding system
	to use.
d3157 2
a3158 1
	* coding.h (Qwrite_region, Qcoding_system_error): Declare extern.
d3160 4
a3163 1
2000-12-02  Eli Zaretskii  <eliz@@is.elta.co.il>
d3165 1
a3165 1
	* fileio.c (Fread_file_name) [DOS_NT]: Don't crash if homedir is NULL.
d3167 3
a3169 1
2000-12-01  Gerd Moellmann  <gerd@@gnu.org>
d3171 1
a3171 4
	* xterm.c (x_calc_absolute_position): Don't subtract menubar's
	height for YNegative.
	(x_calc_absolute_position) [USE_MOTIF]: Use the column widget's
	height; also see comment there.
d3173 1
a3173 6
	* window.c (coordinates_in_window): Handle computations for
	positions on the vertical bar and fringes differently for
	window-system frames.  Consider some pixels near the vertical bar
	as on the bar if the frame doesn't have vertical scroll bars.
	Associate positions between mode or header lines with the
	right window, the left one.
d3175 1
a3175 1
2000-12-01  Jason Rumney  <jasonr@@gnu.org>
d3177 1
a3177 1
	* w32term.c (w32_clear_window): Avoid clearing an invalid frame.
d3179 3
a3181 2
	* w32xfns.c (get_frame_dc): Avoid changing the palette on an
	invalid frame.
d3183 3
a3185 1
2000-12-01  Gerd Moellmann  <gerd@@gnu.org>
d3187 2
a3188 4
	* window.c (struct saved_window): Add members orig_top and orig_height.
	(SAVED_WINDOW_VECTOR_SIZE): Increment to 16.
	(save_window_save, Fset_window_configuration): Save/restore
	window's orig_top and orig_height.
d3190 1
a3190 1
2000-12-01  Jason Rumney  <jasonr@@gnu.org>
d3192 2
a3193 1
	* w32term.c (x_draw_vertical_border): Fix call to w32_fill_rect.
d3195 1
a3195 1
	* w32fns.c (x_set_cursor_color): Fix last change.
d3197 3
a3199 1
2000-11-30  Gerd Moellmann  <gerd@@gnu.org>
d3201 1
a3201 3
	* xdisp.c (echo_area_display): If cursor is in the echo area, make
	sure that the next redisplay displays the minibuffer, so that
	the cursor will be replaced with what the minibuffer wants.
d3203 1
a3203 4
	* xterm.c: Test USE_TOOLKIT_SCROLL_BARS everywhere with #ifdef and
	#ifndef instead of using #if.
	(XTread_socket) [USE_MOTIF] <KeyPress>: Call XmIsScrollBar only if
	USE_TOOLKIT_SCROLL_BARS is defined.
d3205 3
a3207 1
2000-11-30  Jason Rumney  <jasonr@@gnu.org>
d3209 1
a3209 2
	* w32fns.c (x_set_cursor_color): Use x_update_cursor instead of
	x_display_cursor.
d3211 1
a3211 1
2000-11-30  Gerd Moellmann  <gerd@@gnu.org>
d3213 1
a3213 1
	* fns.c (Fmd5): Doc fix.
d3215 1
a3215 1
2000-11-30  Simon Josefsson  <simon@@josefsson.org>
d3217 1
a3217 2
	* fns.c (Fmd5): New function.
	(syms_of_fns): Defsubr md5.
d3219 2
a3220 1
	* Makefile.in (obj): Add md5.o
d3222 1
a3222 1
2000-11-30  Gerd Moellmann  <gerd@@gnu.org>
d3224 8
a3231 1
	* md5.h, md5.c: New files, taken from glibc.
d3233 1
a3233 1
	* xmenu.c (popup_get_selection): Use xmalloc instead of malloc.
d3235 2
a3236 2
	* xterm.c (x_estimate_mode_line_height): If `mode-line' face
	hasn't a font, use that of the frame, as drawing glyphs does.
d3238 1
a3238 1
2000-11-29  Stefan Monnier  <monnier@@cs.yale.edu>
d3240 2
a3241 1
	* eval.c (Frun_hooks): Allow 0 arguments.
d3243 1
a3243 1
2000-11-29  Gerd Moellmann  <gerd@@gnu.org>
d3245 2
a3246 2
	* xterm.c (XTmouse_position) [USE_X_TOOLKIT]: When the mouse
	is over the menu bar widget, say it's not on the frame.
d3248 1
a3248 2
	* xfns.c (Fx_create_frame): Reintroduce the call to
	face-set-after-frame-defaults.
d3250 3
a3252 1
	* eval.c (Fsignal): Reset handling_signal.
d3254 1
a3254 1
2000-11-28  Jason Rumney  <jasonr@@gnu.org>
d3256 7
a3262 2
	* w32menu.c (add_menu_item): Reset menu item text when changing
	type to radio button.
d3264 5
a3268 1
2000-11-28  Gerd Moellmann  <gerd@@gnu.org>
d3270 5
a3274 1
	* xselect.c: Update copyright.
d3276 1
a3276 4
	* window.c (coordinates_in_window): If on a mode or header line,
	but sufficiently close to its start, return ``on vertical
	border''.  This gives us a way to drag windows horizontally when
	using toolkit scroll bars.
d3278 4
a3281 2
	* xterm.c (note_mouse_highlight): Change the cursor shape
	on the vertical border between windows.
d3283 1
a3283 1
	* xterm.h (struct x_output): Add member horizontal_drag_cursor.
d3285 1
a3285 3
	* xfns.c (Vx_window_horizontal_drag_shape): New variable.
	(syms_of_xfns): DEFVAR_LISP it.
	(x_set_mouse_color): Create frame's horizontal_drag_cursor.
d3287 1
a3287 4
	* textprop.c (text_read_only): New function.
	(verify_interval_modification): Use it instead of signaling
	`text-read-only'.  This makes it easier to catch this error
	with a breakpoint.:
d3289 1
a3289 2
	* xdisp.c (forward_to_next_line_start): Check for newlines,
	not end of line, which includes CR.
d3291 1
a3291 1
2000-11-28  Kenichi Handa  <handa@@etl.go.jp>
d3293 3
a3295 2
	* coding.c (Ffind_coding_systems_region_internal): Be sure to
	include no-conversion.
d3297 1
a3297 1
2000-11-27  Jason Rumney  <jasonr@@gnu.org>
d3299 4
a3302 2
	* w32fns.c (w32_load_system_font): Always mark font as double byte
	if codepage is unicode.
d3304 2
a3305 1
2000-11-27  Gerd Moellmann  <gerd@@gnu.org>
d3307 1
a3307 2
	* xdisp.c (forward_to_next_line_start): If already on a newline,
	just consume it to avoid unintended skipping over invisible text below.
d3309 1
a3309 2
	* keyboard.c (lucid_event_type_list_p): Handle `help-echo',
	`vertical-line', `mode-line' and `header-line' events.
d3311 2
a3312 4
	* xdisp.c (try_window_id): Avoid starting to display in the middle
	 of a character, a TAB for instance.  This is easier than to set
	 up the iterator exactly, and it's not a frequent case, so the
	 additional effort wouldn't really pay off.
d3314 4
a3317 1
2000-11-26  Andrew Choi  <akochoi@@i-cable.com>
d3319 4
a3322 2
	* emacs.c (main) [macintosh]: Call syms_of_frame before calling
	init_window_once.
d3324 1
a3324 1
2000-11-25  Jason Rumney  <jasonr@@gnu.org>
d3326 3
a3328 2
	* keyboard.c (make_lispy_event) [mouse_wheel, drag_n_drop]:
	Args to window_from_coordinates should be pixel coordinates.
d3330 1
a3330 2
	* w32fns.c (x_to_w32_font): Do not filter out italic fonts, as new
	redisplay handles them properly.
d3332 5
a3336 1
2000-11-25  Miles Bader  <miles@@gnu.org>
d3338 1
a3338 1
	* indent.c (compute_motion): Keep pos_byte in sync with pos.
d3340 2
a3341 1
2000-11-24  Jason Rumney  <jasonr@@gnu.org>
d3343 1
a3343 2
	* w32.c (init_environment): Set LANG environment variable based on
	locale settings, if not set.
d3345 2
a3346 5
	* w32fns.c (x_set_tool_bar_lines): Clear internal border when
	making tool bar smaller. When clearing the frame, also
	clear current matrices. Clear frame when tool bar disappears.
	Don't use more lines for the tool-bar than is available.
	(x_change_window_heights): New function.
d3348 1
a3348 1
2000-11-24  Gerd Moellmann  <gerd@@gnu.org>
d3350 1
a3350 4
	* xdisp.c (init_from_display_pos): If POS says we're already after
	 an overlay string ending at POS, make sure to pop the iterator
	 because it will be in front of that overlay string.  When POS is
	 ZV, we've thereby also ``processed'' overlay strings at ZV.
d3352 2
a3353 1
	* xfaces.c (lface_from_face_name): Function comment fix.
d3355 1
a3355 1
2000-11-24  Miles Bader  <miles@@gnu.org>
d3357 3
a3359 4
	* xdisp.c (display_menu_bar, display_mode_line): Change the way we
	apply `mode-line-inverse-video' -- zero means force display using
	the default face, non-zero means display using the specialized face.
	(syms_of_xdisp): `mode-line-inverse-video' defaults to true again.
d3361 1
a3361 1
2000-11-23  Kenichi Handa  <handa@@etl.go.jp>
d3363 3
a3365 2
	* alloc.c (Fmake_string): Use MAX_MULTIBYTE_LENGTH, instead of
	hard coded `4'.
d3367 1
a3367 1
2000-11-23  Eli Zaretskii  <eliz@@is.elta.co.il>
d3369 1
a3369 2
	* coding.c (decode_coding_emacs_mule): Fix the case of
	CODING_EOL_LF, which used uninitialized value of c.
d3371 3
a3373 1
2000-11-23  Stefan Monnier  <monnier@@cs.yale.edu>
d3375 1
a3375 1
	* xdisp.c (syms_of_xdisp): Make fontification-functions buffer-local.
d3377 1
a3377 1
2000-11-22  Gerd Moellmann  <gerd@@gnu.org>
d3379 3
a3381 2
	* buffer.c (Fmake_indirect_buffer): Don't treat nil as a
	buffer object.
d3383 1
a3383 3
	* frame.h (struct frame): Replace desired_tool_bar_items,
	current_tool_bar_items, n_desired_tool_bar_items,
	n_current_tool_bar_items with tool_bar_items and n_tool_bar_items.
d3385 3
a3387 2
	* frame.c (make_frame): Change initialization of tool bar
	items accordingly.
d3389 1
a3389 3
	* xterm.c (x_handle_tool_bar_click, note_tool_bar_highlight):
	Change references to members deleted from struct frame to use the
	new ones.
d3391 5
a3395 2
	* xdisp.c (update_tool_bar, build_desired_tool_bar_string): Change
	references to members deleted from struct frame to use the new ones.
d3397 2
a3398 1
	* dispnew.c (update_frame): Do nothing with frame's tool bar items.
d3400 14
a3413 1
	* alloc.c (mark_object) <frame>: Mark tool bar items differently.
d3415 5
a3419 3
	* w32term.c (x_tool_bar_item, w32_handle_tool_bar_click)
	(note_tool_bar_highlight): Change references to members deleted
	from struct frame to use the new ones.
d3421 2
a3422 1
2000-11-23  Miles Bader  <miles@@gnu.org>
d3424 1
a3424 2
	* xdisp.c (display_menu_bar): Or `mode-line-inverse-video' with
	the face's inverse-video attribute, rather than overriding it.
d3426 1
a3426 1
2000-11-22  Gerd Moellmann  <gerd@@gnu.org>
d3428 1
a3428 2
	* xfns.c (x_set_tool_bar_lines): Clear internal border when
	making tool bar smaller.
d3430 1
a3430 1
2000-11-22  Dave Love  <fx@@gnu.org>
d3432 1
a3432 1
	* s/sol2-5.h (_LARGEFILE_SOURCE, _FILE_OFFSET_BITS): Don't define.
d3434 9
a3442 1
2000-11-22  Miles Bader  <miles@@gnu.org>
d3444 1
a3444 3
	* keyboard.c (Vminibuffer_message_timeout): New variable.
	(command_loop_1): Use it to determine message timeout.
	(syms_of_keyboard): Initialize it.
d3446 2
a3447 1
	* xdisp.c (syms_of_xdisp): `mode-line-inverse-video' defaults to nil.
d3449 1
a3449 1
2000-11-22  Kenichi Handa  <handa@@etl.go.jp>
d3451 5
a3455 2
	* sysdep.c: Move the code for declaring h_errno after #include
	<netdb.h>.
d3457 1
a3457 1
2000-11-21  Gerd Moellmann  <gerd@@gnu.org>
d3459 1
a3459 2
	* xfns.c (Fx_hide_tip) [USE_LUCID]: Add a hack to redisplay
	the menu bar when the tooltip is unmapped.
d3461 3
a3463 3
	* buffer.c (Fkill_buffer): Notice if the buffer to kill is the
	sole visible buffer when we're currently in the mini-buffer, and
	give up if so.
d3465 2
a3466 1
2000-11-21  Jason Rumney  <jasonr@@gnu.org>
d3468 1
a3468 5
	* w32select.c (Fw32_set_clipboard_data): Save a copy of what is
	put on the clipboard.
	(Fw32_get_clipboard_data): Compare data on clipboard with saved
	copy of what Emacs last put there. If they are the same, do not
	use the clipboard copy to avoid losing data due to coding conversions.
d3470 3
a3472 1
2000-11-22  Miles Bader  <miles@@gnu.org>
d3474 1
a3474 4
	* minibuf.c (Vminibuffer_prompt_properties): New variable.
	(syms_of_minibuf): Initialize it.
	(read_minibuf): Add properties from Vminibuffer_prompt_properties
	to prompt, don't make read-only.
d3476 3
a3478 1
2000-11-21  Gerd Moellmann  <gerd@@gnu.org>
d3480 6
a3485 2
	* bytecode.c (Fbyte_code) <Bvarbind, Bunwind_protect>:
	Add BEFORE/AFTER_POTENTIAL_GC.
d3487 1
a3487 1
	* s/hpux10.h (_FILE_OFFSET_BITS): Undef.
d3489 2
a3490 1
	* buffer.c (mmap_free_1): Avoid a compiler warning.
d3492 1
a3492 1
	* term.c, cm.c: Don't try to include termcap.h; see comment there.
d3494 2
a3495 1
2000-11-21  Kenichi Handa  <handa@@etl.go.jp>
d3497 1
a3497 2
	* s/sol2-5.h: Move #undef USE_MMAP_FOR_BUFFERS out of #if 0
	... #endif scope.
d3499 2
a3500 1
2000-11-20  Gerd Moellmann  <gerd@@gnu.org>
d3502 1
a3502 2
	* xfns.c (x_create_tip_frame): Use CWSaveUnder only if the
	screen supports it.
d3504 2
a3505 1
	* s/gnu-linux.h: Don't use `#cpu'.
d3507 1
a3507 2
	* buffer.c (MAP_FAILED): Define it as `((void *) -1)' if it's
	not defined in mman.h.
d3509 2
a3510 6
	* xterm.c (scroll_bar_windows, scroll_bar_windows_size): New variables.
	(x_send_scroll_bar_event): Store the window in scroll_bar_windows
	and store an index in the XClientMessageEvent.  Storing a
	Lisp_Object or pointer can fail on a 64 bit system, since X only
	transfers 32 bits.
	(x_scroll_bar_to_input_event): Get the window from scroll_bar_windows.
d3512 1
a3512 1
2000-11-20  Dave Love  <fx@@gnu.org>
d3514 2
a3515 1
	* Makefile.in (LIBX): Reorder for -lX11 after -lXpm.
d3517 1
a3517 1
2000-11-20  Gerd Moellmann  <gerd@@gnu.org>
d3519 2
a3520 1
	* s/sol2-5.h (USE_MMAP_FOR_BUFFERS): Undefine.
d3522 1
a3522 1
2000-11-20  Kenichi Handa  <handa@@etl.go.jp>
d3524 3
a3526 2
	* charset.c (get_new_private_charset_id): Don't limit CHARSET_ID
	by WIDTH.
d3528 2
a3529 2
	* alloc.c (make_string): Fix previous change.  Be sure to make
	unibyte string correctly.
d3531 1
a3531 1
2000-11-19  Gerd Moellmann  <gerd@@gnu.org>
d3533 1
a3533 4
	* window.c (Fwindow_list): Change parameter list to be XEmacs
	compatible.
	(window_list_1): New function.
	(window_loop): Use it instead of Fwindow_list.
d3535 6
a3540 3
	* sysdep.c (emacs_ospeed): New variable.
	(toplevel): Don't declare ospeed extern.
	(init_baud_rate): Use emacs_ospeed instead of ospeed.
d3542 2
a3543 3
	* termcap.c (ospeed): Remove.
	(tputs) [!emacs]: Remove unused code.
	(tgetent): Avoid a compiler warning.
d3545 1
a3545 3
	* xterm.c (x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create)
	(x_scroll_bar_remove, XTset_vertical_scroll_bar): Call
	SCROLL_BAR_X_WIDGET with additional argument DPY.
d3547 1
a3547 7
	* xterm.h (struct scroll_bar): Members x_widget_low, x_widget_high
	removed.
	(SCROLL_BAR_X_WIDGET): Get the widget via XtWindowToWidget.
	Take the X display as additional argument.
	(SET_SCROLL_BAR_X_WIDGET): Store the window of the widget, since
	`Widget' is a pointer type that's not easily stored in Lisp_Object
	form in a portable way.
d3549 1
a3549 1
	* dispnew.c (update_text_area): Fix last change.
d3551 1
a3551 1
2000-11-18  Gerd Moellmann  <gerd@@gnu.org>
d3553 2
a3554 1
	* xdisp.c: Use BINDING_STACK_SIZE throughout.
d3556 1
a3556 2
	* xfns.c (x_set_tool_bar_lines): When clearing the frame, also
	clear current matrices.
d3558 1
a3558 2
	* buffer.c (mmap_enlarge): Don't print a message on stderr
	if mapping new memory at the end of the existing region fails.
d3560 1
a3560 2
	* dispnew.c (update_text_area): Don't skip over equal glyphs
	when the last current glyph overlaps the glyph to its right.
d3562 2
a3563 1
2000-11-18  Miles Bader  <miles@@gnu.org>
d3565 2
a3566 2
	* xdisp.c (message_log_check_duplicate): Let "..."-detection match
	lines that *end* with "..." too (that's the most common case!).
d3568 1
a3568 1
2000-11-18  Gerd Moellmann  <gerd@@gnu.org>
d3570 2
a3571 2
	* xdisp.c (resize_mini_window): Temporarily change to the
	mini-window's buffer if necessary.
d3573 2
a3574 2
	* xfns.c (Fx_show_tip): Use default y-offset of -10 so that
	the tooltip obscures less text under it.
d3576 6
a3581 1
2000-11-17  Gerd Moellmann  <gerd@@gnu.org>
d3583 2
a3584 1
	* puresize.h (BASE_PURESIZE): Increase to 700000.
d3586 1
a3586 1
2000-11-18  Jason Rumney  <jasonr@@gnu.org>
d3588 3
a3590 1
	* w32term.c (w32_draw_bitmap): Use face to set colors.
d3592 1
a3592 1
2000-11-17  Dave Love  <fx@@gnu.org>
d3594 1
a3594 1
	* lread.c (Fload): Fix #ifdef for pcc.
d3596 1
a3596 1
2000-11-17  Gerd Moellmann  <gerd@@gnu.org>
d3598 2
a3599 2
	* xdisp.c (pos_visible_p): Compute the default character height
	differently.
d3601 4
a3604 1
2000-11-16  Gerd Moellmann  <gerd@@gnu.org>
d3606 1
a3606 2
	* xdisp.c (pos_visible_p): Handle case that we reach ZV without
	knowing the line's height; use the default font's height in that case.
d3608 2
a3609 2
	* xfaces.c (weight_table): Add `demi' with the same meaning as
	`demibold'.
d3611 1
a3611 1
2000-11-16  Kenichi Handa  <handa@@etl.go.jp>
d3613 3
a3615 2
	* dispnew.c (null_row): New global static variable.
	(clear_glyph_row): Delete local static variable null_row.
d3617 1
a3617 1
2000-11-15  Jason Rumney  <jasonr@@gnu.org>
d3619 3
a3621 4
	* w32term.c (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New constant.
	(w32_alloc_lighter_color): Use new brightness calculations from
	xterm.c. Scale delta to be in the range expected by W32.
	(w32_draw_relief_rect): Use frame relief colors.
d3623 1
a3623 1
2000-11-15  Gerd Moellmann  <gerd@@gnu.org>
d3625 4
a3628 4
	* frame.c (syms_of_frame_1): Removed; code moved to syms_of_frame.
	(Qinhibit_default_face_x_resources): New variable.
	(syms_of_frame): Initialize it.
	(Fmodify_frame_parameters): Bind inhibit-default-face-x-resources.
d3630 1
a3630 1
	* xdisp.c (pos_visible_p): Improve function comment.
d3632 12
a3643 1
	* lisp.h (BINDING_STACK_SIZE): New macro.
d3645 1
a3645 3
	* dired.c (directory_files_internal) [EAGAIN || EINTR]: Retry
	reading the directory if readdir returns null and errno is EAGAIN
	or EINTR.
d3647 3
a3649 1
2000-11-14  Stefan Monnier  <monnier@@cs.yale.edu>
d3651 1
a3651 6
	* xdisp.c (try_scrolling): Set scroll_max to max of scroll_* args
	so setting scroll-step to 1 doesn't defeat scroll-conservatively.
	Set amount_to_scroll to max of dx and scroll_step so that
	scroll-conservatively doesn't defeat scroll-step>1.
	(syms_of_xdisp): Add a hint in scroll-step's docstring to use
	scroll-conservatively for line-at-a-time scrolling.
d3653 1
a3653 1
2000-11-14  Gerd Moellmann  <gerd@@gnu.org>
d3655 3
a3657 2
	* window.c (Fpos_visible_in_window_p): Call pos_visible with
	extra argument.
d3659 2
a3660 5
	* xdisp.c (current_mode_line_height, current_header_line_height):
	New variables.
	(init_xdisp): Initialize them.
	(pos_visible_p): Add parameter EXACT_MODE_LINE_HEIGHTS_P.  Compute
	and use exact mode line heights if it is set.
d3662 3
a3664 1
	* lisp.h (pos_visible_p): Change prototype.
d3666 1
a3666 5
	* dispextern.h (CURRENT_MODE_LINE_HEIGHT)
	(CURRENT_HEADER_LINE_HEIGHT):  Look at current_mode_line_height
	and current_header_line_height first.
	(current_mode_line_height, current_header_line_height):
	Declare extern.
d3668 2
a3669 1
2000-11-14  Miles Bader  <miles@@lsi.nec.co.jp>
d3671 2
a3672 3
	* xterm.c (x_alloc_lighter_color): Use real brightness calculation.
	Just use FACTOR/2 instead of HIGHLIGHT_COLOR_DARK_BOOST.
	(HIGHLIGHT_COLOR_DARK_BOOST): Macro removed.
d3674 1
a3674 1
2000-11-14  Miles Bader  <miles@@gnu.org>
d3676 1
a3676 4
	* xterm.c (x_alloc_lighter_color): Include an additive component
	too for dark colors, because FACTOR isn't enough.
	(HIGHLIGHT_COLOR_DARK_BOOST, HIGHLIGHT_COLOR_DARK_BOOST_LIMIT):
	New macros.
d3678 10
a3687 1
2000-11-13  Gerd Moellmann  <gerd@@gnu.org>
d3689 6
a3694 3
	* keyboard.c (show_help_echo): Call message3_nolog with number of
	bytes in the help string as 2nd parameter, instead of the number
	of characters.
d3696 3
a3698 1
2000-11-13  Miles Bader  <miles@@gnu.org>
d3700 4
a3703 6
	* lread.c (openp): Return -2 instead of 0 for the `remote file' case.
	(Fload): Use new openp return protocol.
	Don't try to use Vload_source_file_function to load .elc files.
	* xfns.c (x_create_bitmap_from_file, x_find_image_file): Use new
	openp return protocol.
	* w32fns.c (x_create_bitmap_from_file, x_find_image_file): Likewise.
d3705 1
a3705 1
2000-11-11  Kenichi Handa  <handa@@etl.go.jp>
d3707 1
a3707 1
	* syssignal.h: Pay attention to BROKEN_SIGAIO and BROKEN_SIGPTY.
d3709 1
a3709 3
	* m/ibmrs6000.h (BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL):
	Defined these macros.
	(NLIST_STRUCT): Avoid re-defining it.
d3711 2
a3712 3
	* s/hpux10.h (C_SWITCH_X_SYSTEM): Include -I/usr/include/X11R6 and
	-I/usr/contrib/X11R6/include.
	(LD_SWITCH_X_DEFAULT): Include -L/usr/lib/X11R6.
d3714 1
a3714 1
2000-11-10  Jason Rumney  <jasonr@@gnu.org>
d3716 1
a3716 1
	* w32term.h (CP_8BIT, CP_UNICODE, CP_INVALID): New pseudo-codepages.
d3718 1
a3718 2
	* w32term.c (w32_encode_char): Handle CP_UNICODE specially.
	(w32_use_unicode_for_codepage): Use new pseudo-codepages.
d3720 3
a3722 13
	* w32fns.c (Qw32_charset_hangeul): Rename to match w32 headers.
	(Qw32_charset_vietnamese): New symbol.
	(xlfd_charset_of_font): New function.
	(w32_load_system_font): Use it.
	(x_to_w32_charset): Use Fassoc to find charset info. Special case
	when Vw32_charset_info_alist is nil to ensure default face always
	has font. Use Fcar and Fcdr for safety.
	(w32_to_x_charset): Use Vw32_charset_info_alist for mappings.
	(w32_codepage_for_font): Use xlfd_charset_of_font.  Use new
	pseudo-codepages for special cases.
	(w32_to_x_font): New parameter to allow charset portion to be
	specified where there is many to one mapping.  Callers changed.
	(w32_list_fonts): Avoid listing fonts that won't display.
d3724 1
a3724 1
2000-11-10  Gerd Moellmann  <gerd@@gnu.org>
d3726 1
a3726 8
	* xfaces.c (Vface_alternative_font_registry_alist): New variable.
	(font_list_1): Renamed from font_list.
	(font_list): New function, trying alternative registries from
	Vface_alternative_font_registry_alist.
	(Finternal_set_alternative_font_registry_alist): New function.
	(syms_of_xfaces): Initialize and Staticpro
	Vface_alternative_font_registry_alist.
	Defsubr Finternal_set_alternative_font_registry_alist.
d3728 1
a3728 1
2000-11-09  Ken Raeburn  <raeburn@@gnu.org>
d3730 2
a3731 1
	* lisp.h (Flooking_at): Declare.
d3733 1
a3733 1
2000-11-09  Gerd Moellmann  <gerd@@gnu.org>
d3735 1
a3735 1
	* dired.c (directory_files_internal): Fix a braino.
d3737 2
a3738 2
	* dired.c (directory_files_internal): Add missing GCPRO's.
	Some cleanup.
d3740 6
a3745 1
2000-11-08  Gerd Moellmann  <gerd@@gnu.org>
d3747 1
a3747 3
	* xdisp.c (syms_of_xdisp): Change doc of max-mini-window-height.
	(resize_mini_window): Return quickly if Vresize_mini_window is
	nil.  Don't return if Vmax_mini_window_height is nil.
d3749 2
a3750 5
	* xdisp.c (Vresize_mini_window, Qgrow_only): New variables.
	(syms_of_xdisp): Initialize them.
	(resize_mini_window): Act according to the setting of
	Vresize_mini_window.
	(syms_of_xdisp): Initialize Vmenu_bar_update_hook to nil.
d3752 3
a3754 4
	* xterm.c (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: Map the
	scroll bar widget after configuring it, so that it will appear at
	the right position from the start.
	(XTredeem_scroll_bar): Cleaned up.
d3756 1
a3756 1
2000-11-08  Kenichi Handa  <handa@@etl.go.jp>
d3758 1
a3758 3
	* xterm.c (VCENTER_BASELINE_OFFSET): Fix previous change.  If the
	font is taller than the frame line, we don't have to bias the
	division by two.
d3760 1
a3760 1
	* w32term.c (VCENTER_BASELINE_OFFSET): Likewise.
d3762 1
a3762 1
2000-11-07  Dave Love  <fx@@gnu.org>
d3764 2
a3765 1
	* config.in (HAVE_MKSTEMP): Add.
d3767 1
a3767 1
	* callproc.c (Fcall_process_region) [HAVE_MKSTEMP]: Use it.
d3769 3
a3771 1
2000-11-07  Gerd Moellmann  <gerd@@gnu.org>
d3773 1
a3773 3
	* window.c (Fset_window_configuration): Don't try to preserve
	point in the current buffer, if that buffer is displayed in more
	than one window.
d3775 9
a3783 4
	* xfaces.c (lookup_named_face): If default face isn't realized,
	try to realize it.  Return -1 if not successful.
	(Fx_list_fonts): Handle case that face cannot be determined.
	(Fface_font): Likewise.
d3785 1
a3785 1
2000-11-06  Gerd Moellmann  <gerd@@gnu.org>
d3787 2
a3788 2
	* window.c (displayed_window_lines): Detect partially
	visible lines at the bottom correctly.
d3790 1
a3790 1
2000-11-06  Stefan Monnier  <monnier@@cs.yale.edu>
d3792 3
a3794 2
	* fileio.c (Fwrite_region): Use `visiting' rather than `visit'
	when ensuring we don't do visit in indirect buffer.
d3796 1
a3796 1
2000-11-06  Kenichi Handa  <handa@@etl.go.jp>
d3798 2
a3799 1
	* composite.h (compose_chars_in_text): Add prototype.
d3801 1
a3801 8
	* composite.c (Vcomposition_function_table): New variable.
	(Qcomposition_function_table): New variable.
	(run_composition_function): Call
	Vcompose_chars_after_function with three arguments.
	(compose_chars_in_text): New function.
	(syms_of_composite): Modified the doc-string of
	Vcompose_chars_after_function.  Declare composition-function-table
	as a lisp variable, and initialize it.
d3803 2
a3804 2
	* xfns.c (x_encode_text): Suppress producing escape sequences for
	composition.
d3806 2
a3807 2
	* xselect.c: Include composite.h.
	(selection_data_to_lisp_data): Call compose_chars_in_text on STR.
d3809 13
a3821 1
2000-11-05  Andrew Innes  <andrewi@@gnu.org>
d3823 3
a3825 1
	* w32term.c (x_produce_glyphs): Fix typo in enum name.
d3827 1
a3827 2
	* sysdep.c (read_input_waiting): Remove extraneous argument to
	read_socket_hook.
d3829 3
a3831 2
	* w32fns.c (Fx_server_version): Include w32_build_number in the
	return list.
d3833 1
a3833 2
	* w32heap.c (w32_build_number): New variable.
	(cache_system_info): Set it.
d3835 10
a3844 1
	* w32heap.h (w32_build_number): Add extern.
d3846 1
a3846 2
	* emacs.c (syms_of_emacs): Update docstring for
	system-configuration, to reflect the actual usage on MS-Windows.
d3848 2
a3849 1
2000-10-31  Gerd Moellmann  <gerd@@gnu.org>
d3851 1
a3851 2
	* keyboard.c (read_char) <wrong_kboard>: Make sure that we
	process idle timers while waiting for another event.
d3853 1
a3853 2
	* dispnew.c (update_frame_line): Handle case where spaces in
	the default face are colored.
d3855 2
a3856 2
	* xdisp.c (redisplay_tool_bar): Don't set fonts_changed_p if
	window height hasn't changed.
d3858 1
a3858 1
2000-10-31  Jason Rumney  <jasonr@@gnu.org>
d3860 3
a3862 3
	* w32term.c (x_produce_glyphs): Handle composite characters.
	(x_draw_glyph_string_foreground)
	(x_draw_composite_glyph_string_foreground): Restore old font.
d3864 1
a3864 1
2000-10-31  Miles Bader  <miles@@lsi.nec.co.jp>
d3866 1
a3866 2
	* minibuf.c (read_minibuf): Reset the undo history just before
	starting the recursive-edit.
d3868 1
a3868 1
2000-10-30  Gerd Moellmann  <gerd@@gnu.org>
d3870 2
a3871 5
	* xfaces.c (menu_face_change_count): New variable.
	(Finternal_set_lisp_face_attribute): Increment it for changes
	of the `menu' face.
	(realize_basic_faces): Reflect changes in the `menu' faces
	in menu bars.
d3873 1
a3873 3
	* xdisp.c (try_scrolling) <PT >= scroll_margin_pos>: Add 1 to the
	dy obtained from the iterator's y-position after moving from
	scroll_margin_pos to PT; see comment there.
d3875 1
a3875 1
	* xdisp.c (safe_eval_handler): Call add_to_log.
d3877 3
a3879 2
	* xfaces.c (resolve_face_name): Handle case that FACE_NAME
	is not a symbol or string.
d3881 4
a3884 4
	* xdisp.c (echo_area_display): Don't perform a display update from
	inside redisplay.  The update will happen anyway at the end of
	redisplay, and it can confuse redisplay (GC messages while
	redisplaying, for instance.)
d3886 3
a3888 1
2000-10-30  Stefan Monnier  <monnier@@cs.yale.edu>
d3890 1
a3890 1
	* xrdb.c (x_load_resources): Use the class name in the defaults.
d3892 1
a3892 2
	* regex.c (re_iswctype, re_wctype_to_bit): Fix braino.
	(regex_compile): Catch bogus \(\1\).
d3894 2
a3895 1
2000-10-30  Gerd Moellmann  <gerd@@gnu.org>
d3897 1
a3897 2
	* xterm.c (x_alloc_nearest_color): Fix last change to compare
	RGB values.
d3899 1
a3899 3
	* xterm.c (x_alloc_nearest_color): If allocation succeeds, and
	we have a color cache, check that the cached color equals the
	allocated color.  If not, clear the color cache.
d3901 7
a3907 2
	* window.c (displayed_window_lines): Change buffers if necessary.
	Fix computation of displayed lines.
d3909 1
a3909 2
	* keyboard.c (syms_of_keyboard): Change DEFVAR_LISP of
	update_menu_bindings to DEFVAR_BOOL.
d3911 5
a3915 1
2000-10-30  Kenichi Handa  <handa@@etl.go.jp>
d3917 1
a3917 1
	* search.c (Fset_match_data): Be sure to make search_regs always sane.
d3919 3
a3921 1
	* puresize.h (BASE_PURESIZE): Increase to 680000.
d3923 1
a3923 1
	* fns.c (Foptimize_char_table): Fix arg for CHARSET_DIMENSION.
d3925 2
a3926 1
2000-10-29  Jason Rumney  <jasonr@@gnu.org>
d3928 1
a3928 1
	* w32term.h (FONT_DESCENT): Negate descent of BDF fonts.
d3930 4
a3933 4
	* w32term.c (w32_bdf_per_char_metric): Negate descent.
	(w32_cache_char_metrics): Handle possibility that 'x' does not
	exist in a BDF font.
	(W32_TEXTOUT): w32_BDF_TextOut wants number of bytes not chars.
d3935 1
a3935 1
	* w32bdf.h (bdffont): Add nchars.
d3937 2
a3938 3
	* w32bdf.c (set_bdf_font_info): Set it.
	(w32_BDF_TextOut): Swap byte order of double byte characters.
	(w32_load_bdf_font): Set double_byte_p based on bdf_font->nchars.
d3940 1
a3940 1
2000-10-28  Eli Zaretskii  <eliz@@is.elta.co.il>
d3942 2
a3943 3
	* frame.c (Fframe_parameters): Fix the change from 2000-10-16:
	don't override the colors in frame's param_alist, unless they are
	unspecified.
d3945 1
a3945 2
	* term.c (reassert_line_highlight): If inverse_video is non-zero,
	reverse the effect of the highlight flag.
d3947 1
a3947 1
2000-10-27  Ken Raeburn  <raeburn@@gnu.org>
d3949 5
a3953 1
	* window.h (Fwindow_live_p): Declare.
d3955 1
a3955 2
	* undo.c (record_delete): Check that last_undo_buffer is really a
	buffer before applying XBUFFER to it.
d3957 1
a3957 2
	* keymap.c (where_is_internal): Pass lisp object, not integer, to
	Faref.
d3959 1
a3959 1
2000-10-27  Stefan Monnier  <monnier@@cs.yale.edu>
d3961 1
a3961 3
	* lisp.h (KEYMAPP): New macro.
	(get_keymap): Remove.
	(get_keymap_1): Rename get_keymap.
d3963 1
a3963 1
	* keyboard.h (get_keymap_1, Fkeymapp): Remove prototype.
d3965 1
a3965 1
	* xterm.c (note_mode_line_highlight): Use KEYMAPP.
d3967 2
a3968 3
	* xmenu.c (single_submenu): Use KEYMAPP.
	(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
	Use KEYMAPP rather than Fkeymapp.
d3970 1
a3970 1
	* w32term.c (note_mode_line_highlight): Use KEYMAPP.
d3972 2
a3973 5
	* w32menu.c (True, False): Remove (use TRUE and FALSE instead).
	(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
	Use KEYMAPP rather than Fkeymapp.
	(single_submenu): Use KEYMAPP.
	(w32_menu_show, w32_dialog_show): Use TRUE.
d3975 4
a3978 1
	* minibuf.c (Fread_from_minibuffer): Update call to get_keymap.
d3980 1
a3980 9
	* keymap.c (KEYMAPP): Remove (moved to lisp.h).
	(Fkeymapp): Use KEYMAPP.
	(get_keymap): Rename from get_keymap_1.  Remove old def.
	Return t when autoload=0 and error=0 and the keymap needs autoloading.
	(Fcopy_keymap): Check (eq (car x) 'keymap) rather than using Fkeymapp.
	(Fminor_mode_key_binding): Don't raise an error if the binding
	is not a keymap.
	(Fuse_global_map, Fuse_local_map): Allow autoloading.
	(Faccessible_keymaps): Fetch keymaps rather than checking Fkeymapp.
d3982 4
a3985 7
	* keyboard.c (read_char): get_keymap_1 -> get_keymap.
	Allow Vspecial_event_map to be autoloaded.
	(menu_bar_items): Fetch the keymap rather than using keymapp.
	(menu_bar_one_keymap): No need to follow func-indirect any more.
	(parse_menu_item): get_keymap_1 -> get_keymap.
	(tool_bar_items): Fetch the keymap rather than using keymapp.
	(read_key_sequence): Use KEYMAPP.
d3987 1
a3987 2
	* intervals.c (get_local_map): Use get_keymap rather than following
	function-indirections explicitly.
d3989 2
a3990 1
	* doc.c (Fsubstitute_command_keys): get_keymap_1 -> get_keymap.
d3992 1
a3992 1
2000-10-27  Jason Rumney  <jasonr@@gnu.org>
d3994 2
a3995 2
	* w32fns.c (Fx_create_frame): Make default fontsize on w32 10
	point, as Windows has oversized fonts.
d3997 5
a4001 1
	* fontset.c (syms_of_fontset) [WINDOWSNT]: Likewise.
d4003 3
a4005 1
2000-10-27  Gerd Moellmann  <gerd@@gnu.org>
d4007 1
a4007 3
	* gmalloc.c [GC_MCHECK]: Add code from mcheck.c of glibc-1.09.1.
	(freehook, reallochook): Handle null pointer arguments.
	(__malloc_initialize) [GC_MCHECK]: Call mcheck.
d4009 1
a4009 1
2000-10-27  Stefan Monnier  <monnier@@cs.yale.edu>
d4011 1
a4011 3
	* regex.c (POP_FAILURE_REG_OR_COUNT, re_match_2_internal)
	(re_match_2_internal, re_match_2_internal, re_match_2_internal):
	Giving in to popular pressure to shut up the compiler with casts.
d4013 5
a4017 1
2000-10-27  Gerd Moellmann  <gerd@@gnu.org>
d4019 3
a4021 3
	* xterm.c (x_draw_glyph_string): Treat XA_UNDERLINE_POSITION as a
	signed value, and use a default value computed from the font's
	maximum descent.
d4023 2
a4024 1
2000-10-27  Miles Bader  <miles@@lsi.nec.co.jp>
d4026 1
a4026 2
	* xterm.c (x_draw_glyph_string): Add a workaround so that fonts
	that specify a negative underline position can still use underlines.
d4028 2
a4029 2
	* window.c (Fpos_visible_in_window_p): Make POS default to
	WINDOW's point, not the current buffer's point.
d4031 1
a4031 1
2000-10-26  Dave Love  <fx@@gnu.org>
d4033 7
a4039 2
	* s/sol2-5.h: Don't define SYSTEM_MALLOC so that we can find out
	when it's necessary.
d4041 2
a4042 1
2000-10-26  Gerd Moellmann  <gerd@@gnu.org>
d4044 1
a4044 2
	* window.c (size_window): Compute size difference from sum of old
	child window sizes instead of from parent's size.
d4046 2
a4047 2
	* xdisp.c (pos_visible_p): Change current buffer if necessary.
	Handle obscured lines at the top of the window.
d4049 1
a4049 2
	* frame.c (Fdelete_frame): Doc fix.  Move running the hook
	down after the last error condition check.
d4051 1
a4051 1
	* frame.c (Fdelete_frame): Run delete-frame-hook.
d4053 3
a4055 1
2000-10-26  Kenichi Handa  <handa@@etl.go.jp>
d4057 1
a4057 2
	* coding.c (decode_coding): Fix previous change (check also
	CODING_MODE_LAST_BLOCK).
d4059 2
a4060 1
2000-10-25  Stefan Monnier  <monnier@@cs.yale.edu>
d4062 1
a4062 22
	* regex.c: More `unsigned char' -> `re_char' changes.
	Also change several `int' into `re_wchar_t'.
	(PATTERN_STACK_EMPTY, PUSH_PATTERN_OP, POP_PATTERN_OP): Remove.
	(PUSH_FAILURE_POINTER): Don't cast any more.
	(POP_FAILURE_REG_OR_COUNT): Remove the cast that strips `const'.
	We want GCC to complain, since this piece of code makes
	re_match non-reentrant, which *should* be fixed.
	(GET_BUFFER_SPACE): Use size_t rather than unsigned long.
	(EXTEND_BUFFER): Use RETALLOC.
	(SET_LIST_BIT): Don't cast.
	(re_wchar_t): New type.
	(re_iswctype, re_wctype_to_bit): Make it crystal clear to GCC
	that those two functions will always properly return.
	(IMMEDIATE_QUIT_CHECK): Cast to void.
	(analyse_first): Use recursion rather than an explicit stack.
	(re_compile_fastmap): Can't fail anymore.
	(re_search_2): Don't check re_compile_fastmap for failure.
	(PUSH_NUMBER): Renamed from PUSH_FAILURE_COUNT.
	Now also sets the new value (passed in a new argument).
	(re_match_2_internal): Use it.
	Also, use a new var `reg' of type size_t when looping through regs
	rather than reuse the inappropriate `mcnt'.
d4064 4
a4067 7
	* keymap.c (where_is_cache, where_is_cache_keymaps): New vars.
	(Fset_keymap_parent, store_in_keymap): Flush the where-is cache.
	(where_is_internal): Renamed from Fwhere_is_internal.
	Don't DEFUN any more. Arg `xkeymap' replaced by `keymaps'.
	(Fwhere_is_internal): New function wrapping where_is_internal.
	(where_is_internal_1): Handle the case where we're filling the cache.
	(syms_of_keymap): Init and gcpro the where_is_cache(|_keymaps).
d4069 1
a4069 1
2000-10-25  Miles Bader  <miles@@gnu.org>
d4071 2
a4072 1
	* xdisp.c (pos_visible_p): Don't add `it.current_y' twice.
d4074 1
a4074 1
2000-10-25  Gerd Moellmann  <gerd@@gnu.org>
d4076 1
a4076 3
	* window.c (pos_fully_visible_p): Removed.
	(Fpos_visible_in_window_p): Use pos_visible_p to determine
	if position is visible and/or fully visible.
d4078 1
a4078 1
	* lisp.h (pos_visible_p): Add prototype.
d4080 1
a4080 1
	* xdisp.c (pos_visible_p): New function.
d4082 1
a4082 1
2000-10-25  Kenichi Handa  <handa@@etl.go.jp>
d4084 1
a4084 4
	* process.c (send_process): If OBJECT is t, it means that the data
	is from C string, but we should encode it.  Before calling
	setup_raw_text_coding_system, be sure to flush out data by the
	previous coding system.
d4086 1
a4086 1
2000-10-25  Miles Bader  <miles@@lsi.nec.co.jp>
d4088 2
a4089 2
	* buffer.c (overlays_at): Only let CHANGE_REQ inhibit an
	assignment of startpos to prev when startpos == pos.
d4091 1
a4091 7
	* editfns.c (find_field): Set the field stickiness correctly from
	overlay fields.  Use renamed `text_property_stickiness'.
	(text_property_stickiness): Renamed from `char_property_stickiness'.
	Only check text properties, not overlays.
	* textprop.c (get_char_property_and_overlay): New function.
	(Fget_char_property): Use it.
	* intervals.h (get_char_property_and_overlay): Add declaration.
d4093 3
a4095 1
2000-10-25  Stefan Monnier  <monnier@@cs.yale.edu>
d4097 1
a4097 10
	* keymap.c: Use AREF, ASET and ASIZE macros.
	(Fmake_sparse_keymap): Docstring fix.
	(synkey): Remove.
	(shadow_lookup): Move up.
	Handle the case where lookup-key returns an integer.
	(where_is_internal_1): Drop arg `keymap'. Don't check shadowing.
	(where_is_internal_2): Adapt to fewer args for where_is_internal_1.
	(Fwhere_is_internal): Allow `xkeymap' to be a list of keymaps.
	Simplify/rewrite the keymap-finding code.
	Add check for command shadowing, using shadow_lookup.
d4099 1
a4099 1
2000-10-24  Stefan Monnier  <monnier@@cs.yale.edu>
d4101 1
a4101 3
	* keymap.c (fix_submap_inheritance): Use get_keymap_1 on parent_entry
	rather than KEYMAPP, to allow EQ to work correctly if parent_entry is
	a symbol.
d4103 1
a4103 1
2000-10-24  Andrew Innes  <andrewi@@gnu.org>
d4105 1
a4105 5
	* dired.c (directory_files_internal_unwind): New function.
	(directory_files_internal): Use it to ensure closedir is called
	even if expand-file-name or file-attributes throw, eg. because of
	a user interrupt.  Also enable immediate_quit while calling
	re_search, so that matching can be interrupted as well.
d4107 4
a4110 1
2000-10-24  Andrew Innes  <andrewi@@gnu.org>
d4112 1
a4112 4
	* regex.c (IMMEDIATE_QUIT_CHECK): New macro, which does QUIT on
	NT-Emacs only.
	(re_match_2_internal): Use IMMEDIATE_QUIT_CHECK instead of QUIT,
	so that re_search functions only quit when callers expect them to.
d4114 3
a4116 1
2000-10-24  Kenichi Handa  <handa@@etl.go.jp>
d4118 1
a4118 2
	* regex.c (regex_compile): Change the way of handling a range from
	a char less than 256 to a char not less than 256.
d4120 2
a4121 1
2000-10-24  Gerd Moellmann  <gerd@@gnu.org>
d4123 1
a4123 2
	* window.c (size_window): Prevent setting window's width or
	height to a negative value (esp. with XSETFASTINT).
d4125 2
a4126 8
	* gmalloc.c (state_protected_p, last_state_size, last_heapinfo)
	[GC_MALLOC_CHECK && GC_PROTECT_MALLOC_STATE]: New variables.
	(protect_malloc_state) [GC_MALLOC_CHECK &&
	GC_PROTECT_MALLOC_STATE]: New function.
	(PROTECT_MALLOC_STATE): New macro.
	(__malloc_initialize, morecore, _malloc_internal)
	(_free_internal) _realloc_internal): Use it to make _heapinfo
	read-only outside of gmalloc.
d4128 5
a4132 1
	* keymap.c: Update copyright.
d4134 1
a4134 2
	* .gdbinit (xbacktrace): Handle case that $bt->function isn't
	a symbol.
d4136 5
a4140 1
2000-10-24  Colin Walters  <walters@@cis.ohio-state.edu>
d4142 1
a4142 2
	* filelock.c (unlock_all_files): Use unlock_file to expand each
	buffer's file_truename before trying remove its lock file.
d4144 4
a4147 1
2000-10-24  Eli Zaretskii  <eliz@@is.elta.co.il>
d4149 1
a4149 2
	* coding.c (decode_coding_emacs_mule): If coding->eol_type is CR
	or CRLF, decode EOLs.
d4151 1
a4151 1
2000-10-24  Kenichi Handa  <handa@@etl.go.jp>
d4153 1
a4153 1
	* window.c (Fdisplay_buffer): Fix doc.
d4155 1
a4155 1
2000-10-23  Jason Rumney  <jasonr@@gnu.org>
d4157 1
a4157 2
	* fontset.c (syms_of_fontset) [WINDOWSNT]: Special case for
	ASCII font of default fontset on Windows.
d4159 2
a4160 2
	* w32term.c (VCENTER_BASELINE_OFFSET): Bias division (see
	xterm.c comment below).
d4162 2
a4163 1
	* w32fns.c (x_to_w32_font): Initialize dpi from dpyinfo->resy.
d4165 1
a4165 1
2000-10-23  Gerd Moellmann  <gerd@@gnu.org>
d4167 4
a4170 1
	* xterm.c (x_connection_closed): Reset handling_signal.
d4172 1
a4172 1
	* alloc.c (emacs_blocked_free) [GC_MALLOC_CHECK]: Handle freeing null.
d4174 1
a4174 1
2000-10-23  Miles Bader  <miles@@gnu.org>
d4176 1
a4176 4
	* window.c (window_scroll_pixel_based, window_scroll_line_based):
	Pass nil for FULLY argument to Fpos_visible_in_window_p to
	maintain old behavior.
	* minibuf.c (Fminibuffer_complete): Likewise.
d4178 2
a4179 1
2000-10-23  Miles Bader  <miles@@lsi.nec.co.jp>
d4181 1
a4181 3
	* xterm.c (VCENTER_BASELINE_OFFSET): Bias the division by two, so
	that when a font can't be exactly centered, it errs up rather than
	down.
d4183 2
a4184 1
2000-10-23  ShengHuo ZHU  <zsh@@cs.rochester.edu>
d4186 2
a4187 1
	* fns.c (Fbase64_decode_string): The decoded result should be unibyte.
d4189 1
a4189 1
2000-10-23  Andrew Choi  <akochoi@@i-cable.com>
d4191 7
a4197 1
	* dispextern.h [macintosh]: Include macgui.h instead of macterm.h.
d4199 1
a4199 2
	* dispnew.c [macintosh]: Include macterm.h.
	(init_display) [macintosh]: Initialization for window system.
d4201 1
a4201 4
	* emacs.c (main) [macintosh]: Call syms_of_textprop,
	syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm,
	syms_of_search, x_term_init, and init_keyboard before calling
	init_window_once.  Also, call syms_of_xmenu.
d4203 1
a4203 2
	* fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of
	default fontset to Monaco.
d4205 2
a4206 8
	* frame.c [macintosh]: Include macterm.h.  Remove declarations of
	NewMacWindow and DisposeMacWindow.
	(make_terminal_frame) [macintosh]: Call make_mac_terminal_frame
	instead of calling NewMacWindow and setting fields of
	f->output_data.mac directly.  Call init_frame_faces.
	(Fdelete_frame) [macintosh]: Remove unused code.
	(Fmodify_frame_parameters) [macintosh]: Call
	x_set_frame_parameters instead of mac_set_frame_parameters.
d4208 1
a4208 2
	* frame.h [macintosh]: Define menu_bar_lines field in struct
	frame.  Define FRAME_EXTERNAL_MENU_BAR macro.
d4210 2
a4211 5
	* keyboard.c [macintosh]: Include macterm.h.
	(kbd_buffer_get_event) [macintosh]: Generate delete_window_event
	and menu_bar_activate_event type events as for X and NT.
	(make_lispy_event) [macintosh]: Construct lisp events of type
	MENU_BAR_EVENT as for X and NT.
d4213 1
a4213 9
	* sysdep.c [macintosh]: Remove declaration for sys_signal.
	Include stdlib.h.  Remove definition of Vx_bitmap_file_path.
	(sys_subshell) [macintosh]: Remove definition entirely.
	(init_sys_modes) [macintosh]: Do not initialize Vwindow_system and
	Vwindow_system_version here.  Remove initialization of
	Vx_bitmap_file_path.
	(read_input_waiting): Correct the number of parameters passed to
	read_socket_hook.
	Move all Macintosh functions to mac/mac.c.
d4215 1
a4215 1
	* term.c [macintosh]: Include macterm.h.
d4217 2
a4218 1
	* window.c [macintosh]: Include macterm.h.
d4220 1
a4220 9
	* xdisp.c [macintosh]: Include macterm.h.  Declare
	set_frame_menubar and pending_menu_activation.
	(echo_area_display) [macintosh]: Do not return if terminal frame
	is the selected frame.
	(update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f).
	Allow only the selected frame to set menu bar.
	(redisplay_window) [macintosh]: Obtain menu bar to redisplay by
	calling FRAME_EXTERNAL_MENU_BAR (f).
	(display_menu_bar) [macintosh]: Check FRAME_MAC_P (f).
d4222 1
a4222 11
	* xfaces.c [macintosh]: Include macterm.h.  Define x_display_info
	and check_x.  Declare XCreateGC.  Define x_create_gc and
	x_free_gc.  Initialize font_sort_order.
	(x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT,
	but call x_list_fonts instead of w32_list_fonts.
	(Finternal_face_x_get_resource) [macintosh]: Do not call
	display_x_get_resource.
	(prepare_face_for_display) [macintosh]: Set xgcv.font.
	(realize_x_face) [macintosh]: Load the font if it is specified in
	ATTRS.
	(syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed to Qt.
d4224 2
a4225 1
2000-10-22  Stefan Monnier  <monnier@@cs.yale.edu>
d4227 1
a4227 5
	* keymap.c (fix_submap_inheritance): Don't do anything if parent_entry
	is nil: since we go to the end of submap anyway, we'd end up
	setting nil to nil.
	(access_keymap): Don't use KEYMAPP on meta_map since KEYMAPP
	doesn't obey autoload.
d4229 2
a4230 1
2000-10-21  Eli Zaretskii  <eliz@@is.elta.co.il>
d4232 1
a4232 1
	* msdos.c (dos_set_window_size): Update screen dimension variables.
d4234 3
a4236 1
2000-10-21  Jason Rumney  <jasonr@@gnu.org>
d4238 1
a4238 2
	* w32term.c (w32_cache_char_metrics): Double check that font is
	really fixed pitch before trusting tmPitchAndFamily.
d4240 3
a4242 1
2000-10-21  Andrew Innes  <andrewi@@gnu.org>
d4244 1
a4244 1
	* w32gui.h (w32_char_font_type): Move enum from w32term.c
d4246 1
a4246 1
	* w32term.h: Extern decl for w32_cache_char_metrics.
d4248 4
a4251 1
	* w32bdf.c (w32_load_bdf_font): Call w32_cache_char_metrics.
d4253 2
a4254 2
	* w32fns.c (w32_load_system_font): Call w32_cache_char_metrics.
	(w32_unload_font): Free per_char array if present.
d4256 1
a4256 11
	* w32term.c (w32_per_char_metric): Remove HDC argument.  Use
	cached information in emulated XFontStruct to handle common cases
	quickly.  Do not allocate XCharStruct for return.
	(w32_native_per_char_metric): New function.
	(w32_bdf_per_char_metric): Fill in supplied XCharStruct instead of
	allocating one.
	(x_produce_glyphs): Don't get an HDC.  Change calls to
	w32_per_char_metric to match arg change above.  Remove calls to
	free results.
	(w32_get_glyph_overhangs): Ditto.
	(w32_cache_char_metrics): New function.
d4258 1
a4258 24
	* makefile.w32-in: Change .obj to .$(O) in all dependencies.
	($(BLD)/casefiddle.$(O)): Remove compile command.
	($(BLD)/gmalloc.$(O)): Remove compile command.
	($(BLD)/dispnew.obj):
	($(BLD)/keyboard.obj):
	($(BLD)/w32inevt.obj):
	($(BLD)/w32bdf.obj):
	($(BLD)/alloc.obj):
	($(BLD)/buffer.obj):
	($(BLD)/editfns.obj):
	($(BLD)/emacs.obj):
	($(BLD)/fileio.obj):
	($(BLD)/fns.obj):
	($(BLD)/indent.obj):
	($(BLD)/insdel.obj):
	($(BLD)/intervals.obj):
	($(BLD)/minibuf.obj):
	($(BLD)/print.obj):
	($(BLD)/scroll.obj):
	($(BLD)/sysdep.obj):
	($(BLD)/textprop.obj):
	($(BLD)/widget.obj):
	($(BLD)/xdisp.obj): Add dependency on w32gui.h.
	($(BLD)/term.obj): Add dependency on dispextern.h.
d4260 9
a4268 21
	* makefile.nt ($(BLD)\dispnew.obj):
	($(BLD)\keyboard.obj):
	($(BLD)\w32inevt.obj):
	($(BLD)\w32bdf.obj):
	($(BLD)\alloc.obj):
	($(BLD)\buffer.obj):
	($(BLD)\editfns.obj):
	($(BLD)\emacs.obj):
	($(BLD)\fileio.obj):
	($(BLD)\fns.obj):
	($(BLD)\indent.obj):
	($(BLD)\insdel.obj):
	($(BLD)\intervals.obj):
	($(BLD)\minibuf.obj):
	($(BLD)\print.obj):
	($(BLD)\scroll.obj):
	($(BLD)\sysdep.obj):
	($(BLD)\textprop.obj):
	($(BLD)\widget.obj):
	($(BLD)\xdisp.obj): Add dependency on w32gui.h.
	($(BLD)\term.obj): Add dependency on dispextern.h
d4270 2
a4271 1
2000-10-21  Eli Zaretskii  <eliz@@is.elta.co.il>
d4273 1
a4273 2
	* minibuf.c (Fminibuffer_complete): Call Fpos_visible_in_window_p
	with an additional argument of Qt.
d4275 6
a4280 1
2000-10-21  Miles Bader  <miles@@gnu.org>
d4282 2
a4283 6
	* window.c (pos_fully_visible_in_window_p): New function.
	(Fpos_visible_in_window_p): Add FULLY argument.
	Use pos_fully_visible_in_window_p.
	(window_scroll_pixel_based, window_scroll_line_based): Update
	calls to Fpos_visible_in_window_p.
	* lisp.h (Fpos_visible_in_window_p): Update prototype
d4285 11
a4295 1
2000-10-20  Gerd Moellmann  <gerd@@gnu.org>
d4297 3
a4299 2
	* alloc.c (toplevel): Conditionalize compilation of mem_*
	functions differently.
d4301 1
a4301 1
2000-10-20  Jason Rumney  <jasonr@@gnu.org>
d4303 1
a4303 2
	* alloc.c (toplevel): Move #ifdef GC_MARK_STACK back to above
	mem_init where it used to be. mem_z etc not defined otherwise.
d4305 9
a4313 1
2000-10-20  Gerd Moellmann  <gerd@@gnu.org>
d4315 6
a4320 15
	* alloc.c (toplevel) [SYSTEM_MALLOC || DOUG_LEA_MALLOC]: Undef
	GC_MALLOC_CHECK.
	(toplevel) [GC_MARK_STACK || GC_MALLOC_CHECK]: Move mem_node
	structure definition and related variabled to the top of the file.
	Include this code when GC_MALLOC_CHECK is defined.
	(lisp_malloc, lisp_free) [GC_MALLOC_CHECK]: Don't
	register/unregister allocated region.
	(emacs_blocked_free) [GC_MALLOC_CHECK]: Check if freeing something
	which isn't allocated.
	(emacs_blocked_malloc) [GC_MALLOC_CHECK]: Check if returning
	something which is already in use.
	(emacs_blocked_realloc) [GC_MALLOC_CHECK]: Likewise.
	(mem_insert) [GC_MALLOC_CHECK]: Use _malloc_internal.
	(mem_delete) [GC_MALLOC_CHECK]: Use _free_internal.
	(init_alloc_once) [GC_MALLOC_CHECK]: Call mem_init.
d4322 1
a4322 4
	* gmalloc.c (_malloc_internal) [GC_MALLOC_CHECK]: Use
	_malloc_internal instead of malloc.
	(_free_internal) [GC_MALLOC_CHECK]: Use _free_internal instead
	of free.
d4324 2
a4325 1
2000-10-20  Andrew Innes  <andrewi@@gnu.org>
d4327 2
a4328 5
	* strftime.c [!WINDOWSNT]: Don't apply Solaris 2.5 work-around on
	Windows.
	(my_strftime) <macro>: Don't use macro arg list when redefining as
	_strftime_copytm.
	(my_strftime) <function>: Supply 0 as ut argument.
d4330 1
a4330 1
2000-10-19  Jason Rumney  <jasonr@@altavista.net>
d4332 2
a4333 2
	* w32console.c: Do not undef HAVE_WINDOW_SYSTEM before
	including dispextern.h, as it stops faces from working.
d4335 1
a4335 3
	* w32fns.c (Fx_create_frame): Don't bother calling
	face-set-after-frame-default since the caller does it for us
	anyway. Clean up calls to x_get_arg to be consistent with X.
d4337 1
a4337 3
	* w32term.c (x_produce_glyphs): Handle
	unibyte_display_via_language_environment correctly.
	(w32_draw_box_rect): Fix the calculation of width and height.
d4339 2
a4340 4
	* w32menu.c (add_menu_item): Do not use MF_OWNERDRAW for titles,
	as it has stopped working.
	(Fx_popup_menu, Fx_popup_dialog): Check for tool-bar position like
	menu-bar.
d4342 1
a4342 1
2000-10-19  Gerd Moellmann  <gerd@@gnu.org>
d4344 1
a4344 3
	* eval.c (skip_debugger): Prevent a compiler warning.
	(Fcondition_case): Likewise.
	(Fbacktrace_frame): Use a null interactive spec.
d4346 1
a4346 1
2000-10-19  Kenichi Handa  <handa@@etl.go.jp>
d4348 1
a4348 1
	* xterm.c (x_find_ccl_program): Check also fontp->full_name.
d4350 1
a4350 1
2000-10-18  Gerd Moellmann  <gerd@@gnu.org>
d4352 1
a4352 3
	* strftime.c: Sync with glibc, file version 1.78.
	(my_strftime) [HAVE_TZNAME]: Use `UTC' instead of `GMT' which
	should no longer be used according to ISO 8601.
d4354 1
a4354 4
	* keymap.c (access_keymap): If IDX has a meta prefix, and there's
	no map for meta_prefix_char, don't try to use it as a keymap.
	Instead, if T_OK is non-zero, look up a default binding, if any,
	otherwise, if T_OK is zero, return nil.
d4356 1
a4356 2
	* xfns.c (x_to_xcolors, x_set_mouse_color, lookup_pixel_color)
	(x_to_xcolors, png_load): Use x_query_color.
d4358 1
a4358 5
	* xterm.c (x_color_cells, x_query_colors, x_query_color):
	New functions.
	(x_alloc_nearest_color): Use it to reduce calls to XQueryColors
	which can be slow.
	(x_copy_color, x_alloc_lighter_color): Likewise.
d4360 1
a4360 2
	* xterm.h (struct x_display_info): Add color_cells and ncolor_cells.
	(x_query_color, x_query_colors): Add prototype.
d4362 1
a4362 2
	* alloc.c (allocate_string) [GC_CHECK_STRING_BYTES]: Call
	check_string_bytes only if not noninteractive, increase count to 50.
d4364 2
a4365 1
2000-10-18  Miles Bader  <miles@@lsi.nec.co.jp>
d4367 1
a4367 2
	* insdel.c (adjust_markers_for_delete): Handle before-insertion
	markers correctly.
d4369 2
a4370 1
2000-10-17  Gerd Moellmann  <gerd@@gnu.org>
d4372 1
a4372 6
	* alloc.c (pure_bytes_used): Renamed from pureptr.
	(ALIGN): New macro.
	(pure_alloc): New function.
	(make_pure_string, pure_cons, make_pure_float, make_pure_vector):
	Use it.
	(Fpurecopy): Use PURE_POINTER_P.
d4374 1
a4374 2
	* xdisp.c (try_cursor_movement): Use cursor_row_p also when
	PT has moved backward.
d4376 4
a4379 1
	* xdisp.c (cursor_row_p): Take continued lines into account.
d4381 1
a4381 6
	* alloc.c (mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
	string's size_byte.
	(check_string_bytes) [GC_CHECK_STRING_BYTES]: New function.
	(check_string_bytes_count) [GC_CHECK_STRING_BYTES]: New variable.
	(allocate_string) [GC_CHECK_STRING_BYTES]: Call it for every 10th
	string allocated.
d4383 1
a4383 2
	* xdisp.c (forward_to_next_line_start): Switch iterator's handling
	of selective display off while searching for the next line start.
d4385 2
a4386 1
2000-10-17  Kenichi Handa  <handa@@etl.go.jp>
d4388 1
a4388 1
	* Makefile.in (term.o): Depend on dispextern.h.
d4390 5
a4394 1
2000-10-16  Stefan Monnier  <monnier@@cs.yale.edu>
d4396 1
a4396 1
	* keymap.c (keymap_memberp): Ensure that nil is not a member.
d4398 2
a4399 1
2000-10-16  Gerd Moellmann  <gerd@@gnu.org>
d4401 1
a4401 4
	* xdisp.c (set_iterator_to_next): Reset box start and end flags of
	the iterator at the beginning, so that they can be set later on,
	for instance in reseat_at_next_visible_line_start, without being
	overwritten.
d4403 4
a4406 3
	* xfns.c (pbm_format): Add :foreground and :background keywords.
	(PBM_FOREGROUND, PBM_BACKGROUND): New enumerators.
	(xbm_load): Recognize foreground and background color specifications.
d4408 1
a4408 1
2000-10-16  Eli Zaretskii  <eliz@@is.elta.co.il>
d4410 7
a4416 1
	* dispextern.h (unspecified_fg, unspecified_bg): Declare.
d4418 1
a4418 1
	* dosfns.c (unspecified_fg, unspecified_bg): Remove extern declaration.
d4420 1
a4420 10
	* msdos.c (IT_set_face): Compare highlighted face with the default
	face, and invert colors if these faces' colors are identical.
	(Fmsdos_remember_default_colors): Don't swap foreground and
	background colors in initial_colors[].
	(IT_set_frame_parameters): Don't swap frame's foreground and
	background pixels.  If ALIST includes "(reverse . t)", swap
	foreground-color and background-color properties in frame's
	param_alist.  If the original frame's param_alist doesn't specify
	the colors, store unspecified-fg and unspecified-bg, reversed if
	required.
d4422 1
a4422 4
	* frame.c (Fframe_parameters): If a tty's frame's param_alist says
	the colors are unspecified and reversed, reverse fore- and back-
	ground in the returned value.
	(Fframe_parameter): Ditto.
d4424 7
a4430 1
2000-10-16  Gerd Moellmann  <gerd@@gnu.org>
d4432 5
a4436 7
	* xdisp.c (find_last_unchanged_at_beg_row): Renamed from
	get_last_unchanged_at_beg_row.
	(find_first_unchanged_at_end_row): Renamed from
	get_first_unchanged_at_end_row.
	(find_first_unchanged_at_end_row): Convert assertions to
	unconditional tests which abort.  When looking for a row in
	unchanged text, don't go further back than first_text_row.
d4438 1
a4438 3
	* xdisp.c (try_scrolling) <cursor in scroll margin at the bottom>:
	Don't add in the last line's height when deciding if the new
	position is below the scroll margin.
d4440 2
a4441 1
2000-10-16  Miles Bader  <miles@@gnu.org>
d4443 1
a4443 3
	* editfns.c (Fconstrain_to_field): Check carefully for field
	boundaries if either OLD_POS or NEW_POS has a non-nil field
	property, even if they're the same.
d4445 1
a4445 1
2000-10-16  Kenichi Handa  <handa@@etl.go.jp>
d4447 2
a4448 2
	* xterm.c (x_draw_box_rect): Fix the calculation of width and
	height for XFillRectangle.
d4450 10
a4459 1
2000-10-15  Stefan Monnier  <monnier@@cs.yale.edu>
d4461 1
a4461 6
	* syntax.c (Fstring_to_syntax): New function extracted from
	Fmodify_syntax_entry.
	(Fmodify_syntax_entry): Use it and document the ! and | fences.
	(skip_chars, Fforward_comment): Remove unused variables.
	(syms_of_syntax): Add defsubr for string-to-syntax.
	(describe_syntax): Add code for comment and string fences.
d4463 1
a4463 1
2000-10-14  Stefan Monnier  <monnier@@cs.yale.edu>
d4465 1
a4465 17
	* keymap.c (access_keymap): Add AUTOLOAD parameter.
	Do the meta->esc mapping.  Call get_keyelt before returning.
	Start scanning from the second element (the first is always `keymap')
	to make it easier to detect when we reach a parent map.
	Handle the case of inheriting from a symbol whose function is a map.
	(Fkeymap_parent): Also handle the `inherit from symbol' case.
	(fix_submap_inheritance, Fdefine_key): Update call to access_keymap.
	(get_keyelt, Flookup_key): Update call to access_keymap.
	Remove the meta->esc mappings.
	(define_as_prefix): Delete old disabled code.
	(menu_item_p): New function.
	(where_is_internal_1): Skip over the few remaining menu items.
	* lisp.h (access_keymap): Update prototype.
	* keyboard.c (read_char, menu_bar_items, tool_bar_items):
	Update call to access_keymap.
	(follow_key, read_key_sequence): Update calls to access_keymap.
	Remove the meta->esc mappings.
d4467 1
a4467 1
2000-10-13  Gerd Moellmann  <gerd@@gnu.org>
d4469 2
a4470 2
	* dispnew.c (direct_output_for_insert): Call set_iterator_to_next
	with additional argument.
d4472 2
a4473 2
	* xdisp.c (cursor_row_p): New function.
	(try_cursor_movement, display_line): Use it.
d4475 1
a4475 2
	* xdisp.c (append_space): Also save/restore iterator's current
	character and its length.
d4477 2
a4478 9
	* xdisp.c (init_from_display_pos): Add an assertion.
	(handle_stop): Don't set iterator's add_overlay_start.
	(handle_invisible_prop): Likewise.
	(load_overlay_strings): If text under an overlay is invisible,
	take both before- and after-strings into account when the iterator
	is positioned either at the start or at the end of the overlay.
	(forward_to_next_line_start): Rewritten.
	(reseat_at_next_visible_line_start): Rewritten.
	(set_iterator_to_next): Add parameter RESEAT_P.
d4480 1
a4480 2
	* dispextern.h (struct it): Remove member add_overlay_start.
	(set_iterator_to_next): Change prototype.
d4482 1
a4482 1
2000-10-13  Kenichi Handa  <handa@@etl.go.jp>
d4484 3
a4486 6
	* coding.c (code_convert_region): Be sure to initialize
	coding->category_idx.
	(decode_coding_string): Set coding->src_multibyte and
	coding->dst_multibyte before using CODING_REQUIRE_DECODING.
	(encode_coding_string): Set coding->src_multibyte and
	coding->dst_multibyte before using CODING_REQUIRE_ENCODING.
d4488 5
a4492 1
2000-10-12  Stefan Monnier  <monnier@@cs.yale.edu>
d4494 2
a4495 2
	* xfns.c (Fx_create_frame): Don't bother calling
	face-set-after-frame-default since the caller does it for us anyway.
d4497 5
a4501 1
2000-10-12  Eli Zaretskii  <eliz@@is.elta.co.il>
d4503 2
a4504 2
	* window.c (coordinates_in_window): Fix detection of vertical line
	on character terminals.
d4506 6
a4511 1
2000-10-12  Gerd Moellmann  <gerd@@gnu.org>
d4513 2
a4514 5
	* editfns.c (save_excursion_save): Additionally record the
	selected window.
	(save_excursion_restore): If buffer was visible in a window, and a
	different window was selected, and the old selected window is
	still live, restore point in that window.
d4516 2
a4517 1
2000-10-12  Kenichi Handa  <handa@@etl.go.jp>
d4519 2
a4520 2
	* xterm.c (x_produce_glyphs): Handle
	unibyte_display_via_language_environment correctly.
d4522 3
a4524 2
	* regex.c (regex_compile): Change the way of handling a range from
	unibyte char to multibyte char.
d4526 1
a4526 2
	* syntax.c (skip_chars): Change the way of handling a range from
	unibyte char to multibyte char.
d4528 1
a4528 1
	* process.c (read_process_output): Cancel previous change.
d4530 1
a4530 1
2000-10-11  Eli Zaretskii  <eliz@@is.elta.co.il>
d4532 1
a4532 1
	* search.c (Fsearch_backward, Fsearch_forward): Doc fix.
d4534 2
a4535 2
	* charset.c (Ffind_charset_string): Doc fix.
	(Ffind_charset_region): Doc fix.
d4537 1
a4537 1
2000-10-11  Kenichi Handa  <handa@@mule.m17n.org>
d4539 2
a4540 3
	* process.c (read_process_output): Fix previous change.  Adjust
	multibyteness of text to insert in a buffer by
	string_make_unibyte/multibyte instead of Fstring_as_unibyte/multibyte.
d4542 1
a4542 1
2000-10-10  Andreas Schwab  <schwab@@suse.de>
d4544 1
a4544 2
	* alloc.c (mark_object): Remove all workarounds installed on
	1993-08-08.
d4546 3
a4548 1
2000-10-10  Kenichi Handa  <handa@@etl.go.jp>
d4550 1
a4550 9
	* fns.c (READ_QUADRUPLET_BYTE): Set *NCHARS_RETURN before returning.
	(base64_encode_1): Make it work for a text of multibyte form.
	(Fbase64_decode_region): Allocate sufficient memory for multibyte
	case.  Don't call str_to_multibyte because base64_decode_1
	produces correct multibyte form for eight-bit codes.
	(Fbase64_decode_string): Adjusted for the change of base64_decode_1.
	(base64_decode_1): New args MULTIBYTE and NCHARS_RETURN.  If
	MULTIBYTE is nonzero, produce correct multibyte form for eight-bit
	codes.
d4552 2
a4553 1
	* charset.h (CHAR_STRING): Optimized for single byte characters.
d4555 3
a4557 1
2000-10-09  Andreas Schwab  <schwab@@suse.de>
d4559 3
a4561 2
	* process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to
	-1 after socket is closed, to fall through to error processing.
d4563 1
a4563 1
2000-10-09  Eli Zaretskii  <eliz@@is.elta.co.il>
d4565 1
a4565 4
	* msdos.c (IT_set_frame_parameters): Don't initialize Lisp_Object
	variables.  If ALIST includes foreground-color or
	background-color, change also the colors of the default face for
	this frame.
d4567 4
a4570 1
2000-10-08  Eli Zaretskii  <eliz@@is.elta.co.il>
d4572 2
a4573 4
	* msdos.c (top-level) <Qbackground_color, Qforeground_color>: Make
	them extern (they are defined on xfaces.c).
	(syms_of_msdos): Don't intern and don't staticpro
	Qbackground_color and Qforeground_color.
d4575 1
a4575 1
2000-10-07  Eli Zaretskii  <eliz@@is.elta.co.il>
d4577 1
a4577 4
	* frame.c (Fframe_parameter): For non-windowed frames, if
	f->param_alist says foreground or background color is unspecified,
	call tty_color_name to return the color name computed from the
	frame's current colors.
d4579 1
a4579 1
2000-10-06  Dave Love  <fx@@gnu.org>
d4581 1
a4581 1
	* terminfo.c (ospeed): Don't declare.
d4583 1
a4583 2
	* sysdep.c: Don't include string.h.
	(h_errno): Declare conditional also on TRY_AGAIN.
d4585 3
a4587 1
	* charset.c (Ffind_charset_string): Doc fix.
d4589 4
a4592 3
	* fns.c (Fbase64_encode_region, Fbase64_encode_string)
	(Fbase64_decode_region, Fbase64_decode_string): More explicit
	error messages.
d4594 3
a4596 1
2000-10-05  Dave Love  <fx@@gnu.org>
d4598 10
a4607 2
	* xmenu.c (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar
	position like menu-bar.
d4609 2
a4610 1
2000-10-05  Gerd Moellmann  <gerd@@gnu.org>
d4612 2
a4613 1
	* keyboard.c (Frecursive_edit): Make sure redisplay can happen.
d4615 2
a4616 8
	* xdisp.c (handle_single_display_prop): Use safe_call1.
	(safe_call): Renamed from call_function.
	(safe_call1): New function.
	(handle_fontified_prop): Use safe_call1 instead of call1.
	(safe_eval): Renamed from eval_form.
	(safe_eval_handler): Renamed from eval_handler.
	(handle_single_display_prop, display_mode_element): Use safe_eval
	instead of eval_form.
d4618 2
a4619 2
	* xfaces.c (merge_face_heights): Use safe_call instead of
	call_function.
d4621 1
a4621 2
	* keyboard.c (show_help_echo): Use safe_call instead of
	call_function; use safe_eval instead of eval_form.
d4623 2
a4624 3
	* lisp.h (safe_call): Renamed from call_function.
	(safe_eval): Renamed from eval_form.
	(safe_call1): Add prototype.
d4626 3
a4628 1
2000-10-05  Miles Bader  <miles@@lsi.nec.co.jp>
d4630 2
a4631 2
	* xfns.c (image_ascent): Rearrange ascent calculation for the
	has-a-font case.
d4633 1
a4633 1
2000-10-04  Stefan Monnier  <monnier@@cs.yale.edu>
d4635 1
a4635 2
	* keymap.c (Fwhere_is_internal): Ignore `menu-bar' and `tool-bar'.
	(where_is_internal_1): Don't bother ignoring menu-items any more.
d4637 4
a4640 1
2000-10-04  Gerd Moellmann  <gerd@@gnu.org>
d4642 1
a4642 4
	* keyboard.c (update_menu_bindings): New variable.
	(parse_menu_item): Use AREF.  If update_menu_bindings
	is 0, don't update menu bindings.
	(syms_of_keyboard): New Lisp variable `update-menu-bindings'.
d4644 3
a4646 1
2000-10-03  Eli Zaretskii  <eliz@@is.elta.co.il>
d4648 5
a4652 2
	* alloc.c (Fgarbage_collect): Prevent compiler warning for a call
	to `mark_object'.
d4654 1
a4654 1
2000-10-02  Stefan Monnier  <monnier@@cs.yale.edu>
d4656 3
a4658 6
	* syntax.c (forw_comment): Match nestedness of ender/starter.
	(Fforward_comment): Treat an unmatched \n comment-ender as whitespace.
	(prev_char_comstart_first): Remove.
	(back_comment): Check two-char comment markers more carefully
	to better handle overlapping cases like *//* or /* */* */ ...
	Match nestedness of ender/starter.
d4660 1
a4660 1
2000-10-02  Dave Love  <fx@@gnu.org>
d4662 6
a4667 1
	* config.in (HAVE_GAI_STRERROR): Add undef.
d4669 1
a4669 1
	* process.c (Fopen_network_stream): Use it.
d4671 1
a4671 1
	* m/alpha.h (NO_REMAP): Don't define.
d4673 3
a4675 1
2000-10-02  Gerd Moellmann  <gerd@@gnu.org>
d4677 1
a4677 6
	* lisp.h (wrong_type_argument): Remove NO_RETURN, the function can
	return with a string converted to an integer or vice versa when
	Vmocklisp_arguments is t.
	(Fsignal): Likewise.  The function can return for `quit'.
	(struct gcpro): Declare member `var' to point to a volatile
	Lisp_Object.
d4679 3
a4681 1
	* eval.c (error): Prevent compiler warning.
d4683 1
a4683 1
2000-09-30  Stefan Monnier  <monnier@@cs.yale.edu>
d4685 1
a4685 5
	* keymap.c (keymap_memberp): New function.
	(Fset_keymap_parent): Use it.
	(fix_submap_inheritance): Use get_keyelt, get_keymap_1 and KEYMAPP.
	Use keymap_memberp to avoid creating cycles.
	(access_keymap): Use KEYMAPP.
d4687 1
a4687 1
2000-09-30  Gerd Moellmann  <gerd@@gnu.org>
d4689 2
a4690 3
	* process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Use
	gai_strerror.  Make sure xerrno is set if connect fails.  Improve
	error recovery.
d4692 1
a4692 1
2000-09-29  Jason Rumney <jasonr@@gnu.org>
d4694 2
a4695 6
	* w32term.c (w32_char_font_type, w32_encode_char)
	(x_produce_glyphs): Distinguish single and multibyte BDF fonts.
	(w32_bdf_per_char_metric): New function.
	(w32_per_char_metric): Use it.
	(x_draw_glyph_string_background): Always draw background for BDF
	glyphs.
d4697 1
a4697 2
	* w32bdf.h (glyph_struct, cache_bitmap): Cache bitmap data, not
	GDI object which is a scarce resource.
d4699 2
a4700 14
	* w32bdf.c (search_file_line): Fix skipping of whitespace.
	(get_quoted_string): Fix limit on memchr search.
	(set_bdf_font_info): Use unsigned chars. Negate yoffset.
	(w32_init_bdf_font): Initialize codepoint and bitmap heaps.
	(w32_free_bdf_font): Free bitmaps and codepoints on heaps.
	(get_cached_font_char, cache_char_offset): Use macro
	BDF_CODEPOINT_RANGE_COVER_P.
	(cache_char_offset): Use HeapAlloc to allocate codepoints on own heap.
	(clear_cached_bitmap_slots): New function.
	(GET_HEX_VALUE): G-Z, g-z are not hex.
	(w32_get_bdf_glyph): Convert to DIB format. Return bytes read.
	(get_bitmap_with_cache): Use new cache implementation.
	(create_offscreen_bitmap): New function.
	(w32_BDF_TextOut): Use it. Draw glyphs as DIBs.
d4702 1
a4702 8
	* w32term.c (x_produce_glyphs):  If the distance from the current
	position to the next tab stop is less than a canonical character
	width, use the tab stop after that.
	(x_draw_glyphs): Handle case START and END are out of bounds more
	carefully.
	(x_clear_mouse_face): Block/unblock input.
	(x_display_and_set_cursor): Don't show a hollow box cursor for
	buffers whose cursor_type is nil.
d4704 2
a4705 1
2000-09-29  Gerd Moellmann  <gerd@@gnu.org>
d4707 1
a4707 1
	* xfns.c (x_set_tool_bar_lines): Clear frame when tool bar disappears.
d4709 2
a4710 1
	* dispextern.h (updating_frame): Declare extern.
d4712 2
a4713 1
2000-09-29  Andreas Schwab  <schwab@@suse.de>
d4715 3
a4717 1
	* m/ia64.h: Remove hack of not prototyping bcopy, etc.
d4719 2
a4720 1
2000-09-29  Gerd Moellmann  <gerd@@gnu.org>
d4722 1
a4722 3
	* keyboard.c (menu_bar_one_keymap): If KEYMAP is a symbol,
	use its function definition.
	(tool_bar_items): Likewise.
d4724 4
a4727 1
	* lisp.h (fatal): Declare NO_RETURN.
d4729 1
a4729 1
2000-09-29  Kenichi Handa  <handa@@etl.go.jp>
d4731 2
a4732 1
	* keymap.c: Remove the line "#undef NULL".
d4734 1
a4734 1
2000-09-28  Gerd Moellmann  <gerd@@gnu.org>
d4736 5
a4740 1
	* xterm.c (x_make_frame_visible): Try harder to make the frame visible.
d4742 4
a4745 1
2000-09-28  Dave Love  <fx@@gnu.org>
d4747 2
a4748 1
	* s/osf5-0.h: Define USE_MMAP_FOR_BUFFERS, not REL_ALLOC_MMAP.
d4750 1
a4750 1
	* s/sunos413.h (USE_MMAP_FOR_BUFFERS): Define.
d4752 1
a4752 1
	* .gdbinit (xreload): Note its need on GNU/Linux.
d4754 2
a4755 2
	* m/alpha.h (XUINT) [REL_ALLOC && _MALLOC_INTERNAL]: Don't declare
	r_alloc, r_alloc_free.
d4757 5
a4761 1
2000-09-28  Kenichi Handa  <handa@@etl.go.jp>
d4763 4
a4766 1
	* syntax.c (skip_chars): Handle negation correctly.
d4768 1
a4768 1
2000-09-27  Gerd Moellmann  <gerd@@gnu.org>
d4770 1
a4770 2
	* xfaces.c (realize_default_face): Call set_lface_from_font_name
	with non-zero FORCE_P argument.
d4772 1
a4772 2
	* dispnew.c (adjust_glyph_matrix, enable_glyph_matrix_rows):
	Add assertions.
d4774 2
a4775 1
	* xdisp.c (window_box_height): Add an assertion.
d4777 2
a4778 3
	* xfns.c (x_set_tool_bar_lines): Don't use more lines for the
	tool-bar than is available.
	(x_change_window_heights): Renamed from x_set_menu_bar_lines_1.
d4780 3
a4782 1
2000-09-27  Dave Love  <fx@@gnu.org>
d4784 1
a4784 1
	* s/irix6-5.h: Now works 64-bit.  Tidied.
d4786 2
a4787 1
2000-09-26  Gerd Moellmann  <gerd@@gnu.org>
d4789 1
a4789 5
	* lisp.h (XINT) [EXPLICIT_SIGN_EXTEND]: Use BITS_PER_EMACS_INT
	instead of BITS_PER_INT.
	(XINT, XUINT) [NO_UNION_TYPE]: Cast result to EMACS_INT and
	EMACS_UINT, respectively.
	(NO_UNION_TYPE) [USE_LISP_UNION_TYPE]: Undefine.
d4791 1
a4791 1
	* m/sparc.h (BITS_PER_EMACS_INT) [__arch64__]: Don't define.
d4793 1
a4793 1
	* unexelf.c (ELFSIZE) [__NetBSD__ && __sparc_v9__]: Define to 64.
d4795 1
a4795 2
	* window.c (freeze_window_starts): Construct last argument for
	foreach_window differently.
d4797 1
a4797 1
	* xfns.c (x_decode_color): Don't return a Lisp_Object.
d4799 3
a4801 3
	* lisp.h (union Lisp_Object) [!NO_UNION_TYPE]: Use EMACS_INT and
	EMACS_UINT instead of `int' and `unsigned int'.
	(XSET) [EXPLICIT_SIGN_EXTEND]: Use EMACS_INT instead of `int'.
d4803 5
a4807 2
	* frame.h (struct frame): Make the `nothing' member of union
	output_data an EMACS_INT.
d4809 1
a4809 11
	* alloc.c (GC_CHECK_STRING_BYTES): Temporarily define, for bug hunting.
	(struct sdata) [GC_CHECK_STRING_BYTES]: Always record the string's
	size in the sdata structure.
	(SDATA_NBYTES, SDATA_DATA): New macros.
	(SDATA_OF_STRING, SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Define
	differently for the different layout of the sdata structure.
	(allocate_string_data) [GC_CHECK_STRING_BYTES]: Record string size
	in sdata.
	(sweep_strings, compact_small_strings) [GC_CHECK_STRING_BYTES]:
	Check that size recorded in the string size and size recorded in
	the sdata structure agree.
d4811 2
a4812 1
2000-09-25  Dave Love  <fx@@gnu.org>
d4814 1
a4814 1
	* buffer.c: Include stdio.h.
d4816 1
a4816 1
	Partly suggested by Eduardo Horvath <eeh@@netbsd.org>.
d4818 1
a4818 1
	* ralloc.c (__malloc_extra_blocks): Declare as __malloc_size_t.
d4820 1
a4820 3
	* alloc.c (__malloc_size_t) [DOUG_LEA_MALLOC]: Don't redefine it.
	(__malloc_size_t) [!DOUG_LEA_MALLOC]: Define unconditionally as size_t.
	(__malloc_extra_blocks): Declare as __malloc_size_t.
d4822 2
a4823 1
2000-09-25  Gerd Moellmann  <gerd@@gnu.org>
d4825 1
a4825 1
	* alloc.c (mark_image): Use GC_NILP instead of NILP.
d4827 1
a4827 3
	* keyboard.c (show_help_echo): Set help_echo_showing_p.
	(read_char): If help-echo is showing, preserve the echo area
	when redisplaying.
d4829 1
a4829 3
	* xdisp.c (help_echo_showing_p): New variable.
	(set_message): Reset it to 0.
	(init_xdisp): Initialize help_echo_showing_p.
d4831 2
a4832 1
	* dispextern.h (help_echo_showing_p): Declare extern.
d4834 1
a4834 1
	* config.in: Fix typo in __GNUC_MINOR__.
d4836 3
a4838 1
	* keyboard.h (quit_throw_to_read_char): Declare NO_RETURN.
d4840 1
a4840 1
	* s/freebsd.h (POSIX_SIGNALS): Define.
d4842 3
a4844 1
	* xterm.c (x_clear_mouse_face): Block/unblock input.
d4846 2
a4847 1
2000-09-24  Dave Love  <fx@@gnu.org>
d4849 1
a4849 1
	* fns.c (base64_encode_1): Fix last change.
d4851 2
a4852 1
2000-09-22  Gerd Moellmann  <gerd@@gnu.org>
d4854 1
a4854 1
	* dispnew.c (enable_glyph_matrix_rows): Remove xasserts.
d4856 2
a4857 2
	* xdisp.c (try_window_reusing_current_matrix): More fixes
	for the case window has a header-line.
d4859 1
a4859 1
2000-09-22  Dave Love  <fx@@gnu.org>
d4861 1
a4861 2
	* xdisp.c (syms_of_xdisp): Defvar Vmenu_bar_update_hook to provide
	a doc string.
d4863 1
a4863 1
	* xterm.c [SOLARIS2]: Remove redundant include of string.h.
d4865 2
a4866 1
	* fns.c (Fstring_as_unibyte, Fstring_as_multibyte): Doc fix.
d4868 1
a4868 1
2000-09-21  Gerd Moellmann  <gerd@@gnu.org>
d4870 1
a4870 2
	* config.in (NO_RETURN): Define as `__attribute__((__noreturn__))'
	for GCC >= 2.5.
d4872 1
a4872 2
	* lisp.h (wrong_type_argument, Fthrow, Fsignal, error):
	Declare NO_RETURN.
d4874 2
a4875 4
	* window.c, term.c, xmenu.c, xrdb.c, emacs.c, macros.c,
	* keymap.c, insdel.c, marker.c, minibuf.c, fileio.c, dired.c,
	* indent.c, search.c, alloc.c, data.c: Avoid some more compiler
	warnings.
d4877 1
a4877 1
	* marker.c (byte_char_debug_check): Return void.
d4879 2
a4880 2
	* xfns.c (Fx_create_frame): Set default frame parameter value
	for tool-bar-lines to 1.
d4882 2
a4883 2
	* dispnew.c (scrolling_window): Compare y-positions of rows
	equal at the start.  Some simplification.
d4885 4
a4888 3
	* xdisp.c (try_window_reusing_current_matrix): Fix computation of
	reused rows' y-position in the case window has a header-line, and
	new window start is greater than old window start.
d4890 3
a4892 4
	* process.c (process_sent_to): New variable.
	(send_process): Workaround for a crash on sparc-sun-solaris-2.6
	with GCC 2.95.2 caused by a parameter being clobbered by longjmp.
	Declare more parameters volatile.
d4894 1
a4894 4
	* lread.c (Vrecursive_load_depth_limit): New variable.
	(Fload): Check recursive loads whose recursion depth exceeds
	Vrecursive_load_depth_limit.
	(syms_of_lread): DERFAR_LISP recursive-load-depth-limit.
d4896 5
a4900 1
2000-09-20  Gerd Moellmann  <gerd@@gnu.org>
d4902 1
a4902 1
	* fileio.c (Fread_file_name): Doc fix.
d4904 1
a4904 1
	* editfns.c (Fmessage_or_box): Doc fix.
d4906 1
a4906 1
	* fns.c (Fy_or_n_p, Fyes_or_no_p): Doc fix.
d4908 1
a4908 1
	* xfns.c (xbm_scan): Allow C-style comments.
d4910 1
a4910 7
	* xfns.c (xpm_init_color_cache) [ALLOC_XPM_COLORS]: If color
	symbols are specified, add color translations to the cache.
	(xpm_color_bucket, xpm_cache_color) [ALLOC_XPM_COLORS]: New functions.
	(xpm_lookup_color) [ALLOC_XPM_COLORS]: Use xpm_color_bucket and
	xpm_cache_color.
	(xpm_load) [ALLOC_XPM_COLORS]: Pass frame and XPM attributes
	structures to xpm_init_color_cache.
d4912 1
a4912 1
2000-09-19  Gerd Moellmann  <gerd@@gnu.org>
d4914 5
a4918 1
	* dispnew.c (update_window_line): Make sure to always draw mode-lines.
d4920 4
a4923 1
2000-09-19  Andrew Innes  <andrewi@@gnu.org>
d4925 1
a4925 1
	* makefile.nt (bootstrap-emacs): Don't change directory.
d4927 1
a4927 1
2000-09-19  Kenichi Handa  <handa@@etl.go.jp>
d4929 1
a4929 1
	* charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Fix previous change.
d4931 3
a4933 2
	* ccl.c (Fccl_execute_on_string): Make multibyte string correctly.
	If output buffer is too small, signal an appropriated error.
d4935 1
a4935 1
2000-09-18  Dave Love  <fx@@gnu.org>
d4937 2
a4938 2
	* keyboard.c (menu_bar_items, tool_bar_items)
	(current_active_maps): Remove redundant get_local_map call.
d4940 1
a4940 1
2000-09-18  Gerd Moellmann  <gerd@@gnu.org>
d4942 1
a4942 2
	* xterm.c (x_display_and_set_cursor): Don't show a hollow box
	cursor for buffers whose cursor_type is nil.
d4944 1
a4944 4
	* xterm.c (x_draw_image_glyph_string): Remove a comment describing
	a feature to implement that is already implemented.
	(note_mouse_highlight, x_find_ccl_program): Avoid some compiler
	warnings.
d4946 1
a4946 3
	* xfns.c (x_clear_image_1): New function.
	(x_clear_image): Use it.
	(x_from_xcolors): Use x_clear_image_1; don't free the image's mask.
d4948 2
a4949 3
	* dispnew.c (update_window): Move test for invisible lines
	at the top to update_window_line.
	(update_window_line): Handle invisible lines here.
d4951 1
a4951 4
	* xfns.c (clear_image_cache): Clear current matrices of all
	frames sharing an image cache.  Block input while freeing
	images.  Fix timestamp comparison.
	(x_clear_image): Also free the mask.
d4953 1
a4953 7
	* xfns.c (lookup_image): Block input while loading the image so
	that we won't get interrupted in a state where the image isn't yet
	set up completely.
	(xbm_load_image, xbm_load, xpm_load, xpm_load, lookup_rgb_color)
	(lookup_pixel_color, x_to_xcolors, x_from_xcolors)
	(x_disable_image, x_build_heuristic_mask, pbm_load, png_load)
	(jpeg_load, tiff_load, gif_load, gs_load): Don't block/unblock input.
d4955 2
a4956 1
2000-09-16  Gerd Moellmann  <gerd@@gnu.org>
d4958 1
a4958 3
	* dispnew.c (update_window): Make sure to make desired rows
	current even if they are completely invisible at the top
	of a window.
d4960 1
a4960 1
2000-09-15  Gerd Moellmann  <gerd@@gnu.org>
d4962 1
a4962 7
	* xfns.c (lookup_image): Build mask before applying an algorithm.
	Recognize algorithm `disabled'.
	(cross_disabled_images): New variable.
	(COLOR_INTENSITY): New macro.
	(x_detect_edges): Use COLOR_INTENSITY.
	(x_disable_image): New function.
	(syms_of_xfns): DEFVAR_BOOL cross_disabled_images.
d4964 2
a4965 5
	* xdisp.c (build_desired_tool_bar_string): For a toolbar item in
	disabled state, don't apply an image transformation algorithm if
	the user specified an image for the disabled state.  Use
	`:algorithm disabled' for creating a disabled item's image if the
	user hasn't specified an image.
d4967 1
a4967 11
	* xfns.c (ALLOC_XPM_COLORS): Define if we can use Emacs' color
	allocation functions with the XPM lib.
	(struct xpm_cached_color) [ALLOC_XPM_COLORS]: New structure.
	(XPM_COLOR_CACHE_BUCKETS) [ALLOC_XPM_COLORS]: New macro.
	(xpm_color_cache) [ALLOC_XPM_COLORS]: New variable.
	(xpm_init_color_cache, xpm_free_color_cache, xpm_lookup_color)
	(xpm_alloc_color, xpm_free_colors) [ALLOC_XPM_COLORS]: New functions.
	(xpm_load) [ALLOC_XPM_COLORS]: Use Emacs' own color allocation
	functions, if possible, because these handle color allocation
	failure more gracefully.
	(Fimage_mask_p): New function.
d4969 4
a4972 15
	* xfns.c (QCmatrix, QCcolor_adjustment, QCmask, Qemboss)
	(Qedge_detection, Qheuristic): New symbols.
	(syms_of_xfns): Initialize new symbols.
	(lookup_image): Handle `:mask X', `:algorithm emboss', and
	`algorithm (edge-detection ...)'.
	(xbm_format, xpm_format, pbm_format, png_format, jpeg_format):
	(tiff_format, gif_format, gs_format): Add `:mask'.
	(XBM_MASK, XPM_MASK, PBM_MASK, PNG_MASK, JPEG_MASK, TIFF_MASK)
	(GIF_MASK, GS_MASK): New enumerators.
	(x_laplace_read_row, x_laplace_write_row): Functions removed.
	(emboss_matrix, laplace_matrix): New variables.
	(x_to_xcolors, x_from_xcolors, x_detect_edges, x_emboss)
	(x_edge_detection): New functions.
	(x_laplace): Rewritten in terms of x_detect_edges.
	(x_build_heuristic_mask): If image has a mask, free it.
d4974 2
a4975 1
2000-09-14  Andrew Innes  <andrewi@@gnu.org>
d4977 1
a4977 1
	* makefile.w32-in: Revert to Unix line endings.
d4979 6
a4984 1
2000-09-14  Andrew Innes  <andrewi@@gnu.org>
d4986 3
a4988 3
	* makefile.w32-in: Standardize indentation somewhat.
	(bootstrap-temacs): Use $(ARGQUOTE) instead of literal quotes, to
	cater for differences between shells.
d4990 1
a4990 1
	* w32term.c (w32_per_char_metric): Handle non-TrueType fonts.
d4992 3
a4994 1
2000-09-14  Gerd Moellmann  <gerd@@gnu.org>
d4996 2
a4997 3
	* xterm.c (x_produce_glyphs): If the distance from the current
	position to the next tab stop is less than a canonical character
	width, use the tab stop after that.
d4999 2
a5000 1
2000-09-14  Dave Love  <fx@@gnu.org>
d5002 1
a5002 1
	* buffer.c (alloc_buffer_text): Fix xmalloc call.
d5004 2
a5005 1
2000-09-14  Gerd Moellmann  <gerd@@gnu.org>
d5007 5
a5011 3
	* xdisp.c (handle_fontified_prop): While running fontification
	functions, bind `fontification-functions' and
	`after-change-functions' to nil.
d5013 2
a5014 2
	* s/freebsd.h, s/irix-5.0.h, s/sol2.h, s/template.h
	(USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP.
d5016 1
a5016 1
	* Makefile.in (mallocobj) [SYSTEM_MALLOC]: Don't add ralloc.o.
d5018 3
a5020 2
	* emacs.c: Change conditional compilation on REL_ALLOC_MMAP to
	USE_MMAP_FOR_BUFFERS.
d5022 1
a5022 1
	* insdel.c (make_gap): Use enlarge_buffer_text.
d5024 1
a5024 10
	* buffer.c: Move allocation with mmap here, from ralloc.c.  Change
	conditional compilation on REL_ALLOC_MMAP to USE_MMAP_FOR_BUFFERS.
	(mmap_alloc, mmap_free, mmap_realloc) [REL_ALLOC_MMAP]: Renamed
	from former r_alloc_* functions in ralloc.c.
	(mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New variables.
	(MEM_ALIGN) [REL_ALLOC_MMAP]: New macro.
	(mmap_init) [REL_ALLOC_MMAP]: New function.
	(alloc_buffer_text, enlarge_buffer_text, free_buffer_text): New
	functions replacing macros BUFFER_ALLOC, BUFFER_REALLOC, and
	BUFFER_FREE.
d5026 4
a5029 2
	* buffer.h (BUFFER_ALLOC, BUFFER_REALLOC, BUFFER_FREE): Removed.
	(enlarge_buffer_text): Add prototype.
d5031 1
a5031 1
	* ralloc.c: Remove everything having to do with the use of mmap.
d5033 3
a5035 1
2000-09-13  Gerd Moellmann  <gerd@@gnu.org>
d5037 1
a5037 1
	* sound.c (Fplay_sound): Doc fix.
d5039 1
a5039 2
	* keyboard.c: Avoid some more compiler warnings.
	(parse_tool_bar_item): Ignore cached key bindings.
d5041 3
a5043 2
	* alloc.c: Add some comments about DOUG_LEA_MALLOC's use of mmap
	and allocation of Lisp data.
d5045 1
a5045 1
2000-09-12  Gerd Moellmann  <gerd@@gnu.org>
d5047 1
a5047 3
	* xfaces.c: Remove conditional compilation on SCALABLE_FONTS.
	(Finternal_set_lisp_face_attribute): If frame is 0, set new frame
	defaults first.
d5049 1
a5049 1
	* lread.c (Fload): Put code checking for recursive loads in #if 0.
d5051 2
a5052 1
2000-09-12  Miyashita Hisashi  <himi@@meadowy.org>
d5054 4
a5057 12
	* ccl.c: Comment fixed.
	(MAX_MAP_SET_LEVEL): Increased to 30.
	(PUSH_MAPPING_STACK): Enclose with do-while block.
	(POP_MAPPING_STACK): Likewise.
	(stack_idx_of_map_multiple): New variable.
	(CCL_CALL_FOR_MAP_INSTRUCTION): New macro.
	(ccl_driver) <CCL_IterateMultipleMap>: If the content is a symbol,
	call the corresponding CCL program by CCL_CALL_FOR_MAP_INSTRUCTION.
	(ccl_driver) <CCL_MapSingle>: Likewise.
	(ccl_driver) <CCL_MapMultiple>: Rewritten to fix many bugs, deal
	with the case where looking up process reaches to the end of
	map-set, and call CCL programs as the above change.
d5059 2
a5060 1
2000-09-11  Gerd Moellmann  <gerd@@gnu.org>
d5062 2
a5063 5
	* xfns.c (png_load, jpeg_load): Declare some variables volatile
	that might be clobbered by longjmp.
	(check_x_display_info, x_decode_color, create_frame_xic)
	(Fx_display_backing_store, Fx_display_visual_class)
	(x_build_heuristic_mask, pbm_scan_number): Avoid compiler warnings.
d5065 1
a5065 3
	* lread.c (init_lread): Set Vloads_in_progress to nil.
	(Fload): Show list of recursively loaded files, when signaling an
	error.
d5067 3
a5069 5
	* lread.c (Vloads_in_progress): New variable.
	(record_load_unwind): New function.
	(Fload): Check for recursive loads.
	(syms_of_lread): Initialize Vloads_in_progress.
	(read_integer, read1): Avoid some compiler warnings.
d5071 1
a5071 2
	* fns.c (concat, Fsubstring, internal_equal, Fnconc): Avoid some
	compiler warnings.
d5073 1
a5073 1
2000-09-11  Miles Bader  <miles@@gnu.org>
d5075 2
a5076 1
	* editfns.c (Fbuffer_string): Doc fix.
d5078 1
a5078 1
2000-09-10  Gerd Moellmann  <gerd@@gnu.org>
d5080 2
a5081 1
	* ralloc.c (mmap_enlarge): Don't return 0 if successful.
d5083 1
a5083 1
2000-09-09  Ken Raeburn  <raeburn@@gnu.org>
d5085 1
a5085 2
	* s/netbsd.h: Use NOT_C_CODE, not NO_C_SOURCE, when deciding
	whether to include other header files.
d5087 5
a5091 1
2000-09-09  Gerd Moellmann  <gerd@@gnu.org>
d5093 1
a5093 2
	* xfaces.c (CYCLE_CHECK): Don't use the Lisp_Object returned
	by Fmemq as a boolean.
d5095 2
a5096 1
2000-09-08  Stefan Monnier  <monnier@@cs.yale.edu>
d5098 2
a5099 1
	* xfaces.c (Finternal_set_lisp_face_attribute): Minor thinko.
d5101 1
a5101 1
2000-09-08  Gerd Moellmann  <gerd@@gnu.org>
d5103 2
a5104 10
	* ralloc.c (mmap_fd): Remove initializer which can make it
	read-only in a dumped Emacs.
	(mmap_fd_1): New variable.
	(mmap_set_vars): Remove local `fd'.  Save mmap_fd in mmap_fd_1,
	restore it from there.
	(r_alloc, r_re_alloc, r_alloc_free): Call r_alloc_init
	unconditionally so that mmap_fd can be initialized there.
	(r_alloc_init_fd): Open-coded in r_alloc_init; function removed.
	(r_alloc_init) [REL_ALLOC_MMAP && !MAP_ANON]: Open /dev/zero.
	(r_alloc_init) [REL_ALLOC_MMAP && MAP_ANON]: Set mmap_fd to -1.
d5106 1
a5106 1
	* xfaces.c (Finternal_merge_in_global_face): Return a Lisp object.
d5108 1
a5108 2
	* xdisp.c (dump_glyph_row): Fix printf format string.
	(display_line, move_it_in_display_line_to): Avoid compiler warnings.
d5110 1
a5110 1
	* s/freebsd.h (GC_MARK_STACK, REL_ALLOC_MMAP): Define.
d5112 1
a5112 2
	* keymap.c (Fset_keymap_parent): Check for cycles in keymap
	inheritance.
d5114 2
a5115 2
	* xdisp.c (try_window_id): When trying to locate cursor in
	unchanged rows at the top, handle the case that we can't find it.
d5117 1
a5117 2
	* xterm.c (x_draw_glyphs): Handle case START and END are out
	of bounds more carefully.
d5119 7
a5125 1
2000-09-08  Dave Love  <fx@@gnu.org>
d5127 2
a5128 2
	* s/sol2.h (REL_ALLOC_MMAP): Define.
	* s/irix5-0.h (REL_ALLOC_MMAP): Likewise.
d5130 1
a5130 10
	* ralloc.c: Don't include string.h (redundant).
	(MAP_ANON) [REL_ALLOC_MMAP]: Ensure it's defined.
	[!MAP_ANON]: Include fcntl.h.
	(mmap_fd) [REL_ALLOC_MMAP]: New variable.
	(r_alloc, r_re_alloc, r_alloc_free)
	(mmap_enlarge, mmap_set_vars): Use it.
	(r_alloc_init_fd): New function.
	(__morecore) [SYSTEM_MALLOC]: Don't declare.
	(r_alloc_init): Call r_alloc_init_fd.  Conditionalize stuff on
	malloc type.
d5132 1
a5132 2
	* Makefile.in (allocaobj) [!SYSTEM_MALLOC && REL_ALLOC_MMAP]:
	Remove vm-limit.o.
d5134 5
a5138 2
	* unexelf.c (SHT_MIPS_DEBUG, HDRR) [__mips__]: Really confine last
	change to __NetBSD__.
d5140 1
a5140 1
2000-09-08  Kenichi Handa  <handa@@etl.go.jp>
d5142 1
a5142 2
	* search.c (compile_pattern): Check the multibyteness of cached
	string and PATTERN.
d5144 1
a5144 1
2000-09-08  Miles Bader  <miles@@gnu.org>
d5146 1
a5146 4
	* xfaces.c (default_face_vector): Function removed.
	(Finternal_merge_in_global_face): Restore old global/local
	attribute override order.  Use inline loop instead of calling
	default_face_vector.
d5148 1
a5148 1
2000-09-07  Gerd Moellmann  <gerd@@gnu.org>
d5150 1
a5150 4
	* ralloc.c (obtain, relinquish, relinquish, r_alloc_size_in_use)
	(get_bloc, relocate_blocs, update_heap_bloc_correspondence)
	(resize_bloc, r_alloc_sbrk, r_alloc_init): Add casts to `char *'
	where necessary, in case POINTER_TYPE is `void'.
d5152 1
a5152 1
2000-09-07  Eli Zaretskii  <eliz@@is.elta.co.il>
d5154 1
a5154 3
	* frame.c (make_terminal_frame): Initialize frame foreground and
	background colors to unspecified, for the initial instance of an
	MSDOS frame.
d5156 1
a5156 1
2000-09-07  Gerd Moellmann  <gerd@@gnu.org>
d5158 3
a5160 3
	* ralloc.c (mmap_find): Fix overlap computation.
	(mmap_enlarge): Compute nbytes before trying to find an
	overlapping region.
d5162 1
a5162 2
	* xfaces.c (smaller_face): Compare font heights with `<' and `>'
	instead of `!='.
d5164 2
a5165 2
	* lread.c (syms_of_lread): Change value of regexp
	Vbytecomp_version_regexp to not match some XEmacs-compiled files.
d5167 1
a5167 3
	* xmenu.c (xdialog_show): When looking up the selection in
	menu_items, take `quote' boundaries into account; this corresponds
	to a nil ITEM in x-popup-dialog.
d5169 1
a5169 1
2000-09-07  Kenichi Handa  <handa@@etl.go.jp>
d5171 1
a5171 3
	* charset.h (MIN_CHARSET_OFFICIAL_DIMENSION1): Define it as 0x80,
	not 0x81.
	(MIN_CHAR_OFFICIAL_DIMENSION1): Define it as ((0x81 - 0x70) << 7).
d5173 1
a5173 5
	* coding.c (encode_coding_sjis_big5): Use translation table for
	encoding, not decoding.  Fix the handling of latin-jisx0201.
	Check for the charset katakana-jisx0201 too.
	(ONE_MORE_CHAR): Call translate_char with CHARSET arg -1.
	(detect_coding_sjis): Check the byte sequence more rigidly.
d5175 2
a5176 1
2000-09-07  Gerd Moellmann  <gerd@@gnu.org>
d5178 3
a5180 3
	* xfaces.c (Vparam_value_alist): New variable.
	(syms_of_xfaces): Initialize it.
	(Finternal_set_lisp_face_attribute): Avoid more consing.
d5182 1
a5182 5
	* frame.c (Fframe_parameter): Handle `name' and `background-mode'
	specially.
	(Fframe_parameter) [HAVE_X_WINDOWS]: Handle `display' specially.
	(Qbackground_mode): New variable.
	(syms_of_frame_1): Initialize Qbackground_mode.
d5184 1
a5184 1
	* lisp.h (Qdisplay): Declare extern.
d5186 1
a5186 2
	* xfaces.c (Finternal_set_lisp_face_attribute): If FRAME is 0,
	change face on all frames, and change the default for new frames.
d5188 5
a5192 1
2000-09-07  Dave Love  <fx@@gnu.org>
d5194 1
a5194 1
	* Makefile.in [!SYSTEM_MALLOC && REL_ALLOC_MMAP]: Set mallocobj.
d5196 2
a5197 1
2000-09-07  Kenichi Handa  <handa@@etl.go.jp>
d5199 1
a5199 1
	* charset.h (MAKE_CHAR): Be sure to set MSB of C1 to 0.
d5201 5
a5205 3
	* charset.c: Include composite.h
	(lisp_string_width): New function.
	(Fstring_width): Call lisp_string_width instead of strwidth.
d5207 4
a5210 1
	* Makefile.in (charset.o): Depends on composite.h.
d5212 3
a5214 2
	* process.c (read_process_output): Before inserting the decoded
	text in the buffer, adjust the multibyteness.
d5216 2
a5217 1
2000-09-06  Gerd Moellmann  <gerd@@gnu.org>
d5219 1
a5219 2
	* buffer.c (set_buffer_internal_1) [REL_ALLOC_MMAP]: If
	buffer's text buffer is null, map new memory.
d5221 1
a5221 9
	* ralloc.c (POINTER, SIZE) [emacs]: Define in terms of
	POINTER_TYPE and size_t.
	(struct mmap_region) [REL_ALLOC_MMAP]: New structure.
	(mmap_regions, mmap_regions_1) [REL_ALLOC_MMAP]: New variables.
	(ROUND, MMAP_REGION_STRUCT_SIZE, MMAP_REGION, MMAP_USER_AREA)
	[REL_ALLOC_MMAP]: New macros.
	(mmap_find, mmap_free, mmap_enlarge, mmap_set_vars)
	(mmap_mapped_bytes, r_alloc, r_re_alloc, r_alloc_free)
	[REL_ALLOC_MMAP]: New functions.
d5223 4
a5226 2
	* emacs.c (Fdump_emacs) [REL_ALLOC_MMAP]: Call mmap_set_vars
	before and after unexec.
d5228 1
a5228 2
	* buffer.c (init_buffer) [REL_ALLOC_MMAP]: Map new buffer
	text buffers if necessary.
d5230 1
a5230 3
	* buffer.h (R_ALLOC_DECLARE): Removed because unused.
	(r_alloc, r_re_alloc, r_alloc_free): Use POINTER_TYPE and size_t
	in prototypes.
d5232 1
a5232 1
	* config.in (HAVE_MMAP): Add #undef.
d5234 3
a5236 1
2000-09-05  Gerd Moellmann  <gerd@@gnu.org>
d5238 2
a5239 4
	* frame.c (Qdisplay_type): New variable.
	(syms_of_frame_1): Initialize it.
	(Fframe_parameter): New function that avoids consing.
	(syms_of_frame): Defsubr it.
d5241 1
a5241 2
	* buffer.c (Fother_buffer): Consider buffers as invisible when
	they are displayed in a window on an invisible frame.
d5243 1
a5243 2
	* window.c (window_loop) <GET_LARGEST_WINDOW>: Fix bug making
	get-largest-window always return nil.
d5245 3
a5247 1
2000-09-04  Gerd Moellmann  <gerd@@gnu.org>
d5249 1
a5249 2
	* lread.c (syms_of_lread): Make Vbytecomp_version_regexp a Lisp
	variable; recognize Emacs 19 elc files.
d5251 3
a5253 1
2000-09-04  Miles Bader  <miles@@gnu.org>
d5255 1
a5255 3
	* xmenu.c (xmenu_show): Call x_set_menu_resources_from_menu_face
	before initially popping up the menu, so the menu doesn't flash
	when the face settings are significantly different from the defaults.
d5257 1
a5257 1
2000-09-04  Stefan Monnier  <monnier@@cs.yale.edu>
d5259 1
a5259 10
	* regex.c (WIDE_CHAR_SUPPORT): New macro.
	(btowc, iswctype, wctype) [_LIBC]: Redefine to __<fun>.
	(BIT_ALPHA, BIT_ALNUM, BIT_ASCII, BIT_NONASCII, BIT_GRAPH, BIT_PRINT)
	(BIT_UNIBYTE): Remove.
	(re_match_2_internal): Delete corresponding code and streamline the
	BIT_MULTIBYTE case to not bother checking ISUNIBYTE.
	(CHAR_CLASS_MAX_LENGTH) [!WIDE_CHAR_SUPPORT]: Set to 9 rather than 6.
	(re_wctype_t): New type.
	(re_wctype, re_iswctype, re_wctype_to_bit): New functions.
	(regex_compile): Use them and fix handling of overly long char classes.
d5261 1
a5261 1
2000-09-03  Andrew Innes  <andrewi@@gnu.org>
d5263 8
a5270 1
	* makefile.w32-in: Change to DOS line endings.
d5272 1
a5272 1
	* s/ms-w32.h (ORDINARY_LINK): New define.
d5274 1
a5274 2
	* w32.c (_ANONYMOUS_UNION) [__GNUC__]: New define
	(_ANONYMOUS_STRUCT) [__GNUC__]: New define.
d5276 1
a5276 2
	* makefile.w32-in (clean): Don't delete config.h and epaths.h.
	(distclean): Delete them here instead.
d5278 1
a5278 2
	* w32proc.c (compare_env): Convert to uppercase for comparison,
	not lowercase, to match how the native Windows shell works.
d5280 5
a5284 1
2000-09-03  Jason Rumney  <jasonr@@gnu.org>
d5286 3
a5288 2
	* ChangeLog: Remove -unix from coding. Let Emacs autodetect, as
	CVS changes the line-ends when checking in/out on DOS/Windows.
d5290 1
a5290 2
	* makefile.nt (emacs): Do not change directory to run temacs, as
	the load-path is set relative to current directory.
d5292 3
a5294 1
2000-09-03  Miles Bader  <miles@@gnu.org>
d5296 3
a5298 1
	* xterm.c (x_alloc_lighter_color_for_widget): New function.
d5300 9
a5308 1
2000-09-02  Gerd Moellmann  <gerd@@gnu.org>
d5310 3
a5312 4
	* xdisp.c (redisplay_mode_lines): New function.
	(display_mode_lines): Return number of mode lines displayed.
	(echo_area_display): Use redisplay_mode_lines to draw garbaged
	mode lines.  Don't temporarily bind redisplay-dont-pause to t.
d5314 1
a5314 3
	* emacs.c, callint.c, doc.c, editfns.c: Remove includes of
	string.h and strings.h.
	(index) [HAVE_INDEX]: Add prototype.
d5316 1
a5316 2
	* unexelf.c (SHT_PROGBITS) [__NetBSD__ && !PT_LOAD]: Don't define.
	(SHT_MIPS_DEBUG, HDRR) [__NetBSD__ && __mips__]: Define.
d5318 1
a5318 2
	* s/netbsd.h [!NO_C_SOURCE]: Include <signal.h>.
	(GC_SETJMP_WORKS, GC_MARK_STACK): Define.
d5320 10
a5329 1
2000-09-01  Gerd Moellmann  <gerd@@gnu.org>
d5331 1
a5331 2
	* lread.c (read1): Accept `?' as symbol constituent, for
	compatiblity with XEmacs.
d5333 1
a5333 1
2000-08-31  Stefan Monnier  <monnier@@cs.yale.edu>
d5335 2
a5336 11
	* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
	(struct re_pattern_buffer): Remove newline_anchor.
	* regex.c: Keep namespace clean for GNU libc by renaming <fun>
	to __<fun> and using `weak_alias (__<fun>, <fun>)'.
	(re_max_failures, fail_stack): Use size_t rather than unsigned.
	(regex_compile): For ^ and $, choose between buffer and line (beg|end)
	depending on the new RE_NO_NEWLINE_ANCHOR syntax flag.
	(print_compiled_pattern, re_search_2, mutually_exclusive_p)
	(re_match_2_internal, re_compile_pattern, re_comp, regcomp):
	Get rid of references to newline_anchor.
	(regcomp): Allocate and precompute a fastmap.
d5338 2
a5339 1
2000-08-31  Gerd Moellmann  <gerd@@gnu.org>
d5341 2
a5342 1
	* lread.c (openp): GCPRO local variable `filename'.
d5344 1
a5344 1
2000-08-30  Stefan Monnier  <monnier@@cs.yale.edu>
d5346 2
a5347 1
	* regex.h (struct re_pattern_buffer): Use size_t for used/allocated.
d5349 7
a5355 17
	* regex.c: Merge some changes from GNU libc.  Add prototypes.
	(bcopy, bcmp, REGEX_REALLOCATE, re_match_2_internal):
	Use memcmp and memcpy instead of bcopy and bcmp.
	(init_syntax_once): Use ISALNUM.
	(PUSH_FAILURE_POINT, re_match_2_internal): Remove failure_id.
	(REG_UNSET_VALUE): Remove.  Use NULL instead.
	(REG_UNSET, re_match_2_internal): Use NULL.
	(SET_HIGH_BOUND, MOVE_BUFFER_POINTER, ELSE_EXTEND_BUFFER_HIGH_BOUND):
	New macros.
	(EXTEND_BUFFER): Use them (to work with BOUNDED_POINTERS).
	(GET_UNSIGNED_NUMBER): Don't use ISDIGIT.
	(regex_compile): In handle_interval, return an error rather than try to
	unfetch the interval if we can't find the closing brace.
	Obey the RE_NO_GNU_OPS syntax bit.
	(TOLOWER): New macro.
	(regcomp): Use it.
	(regexec): Allocate regs.start and regs.end as one block.
d5357 1
a5357 1
2000-08-30  Gerd Moellmann  <gerd@@gnu.org>
d5359 1
a5359 2
	* xdisp.c (echo_area_display): Check display_completed instead
	of calling detect_input_pending.
d5361 1
a5361 4
	* dispnew.c (update_frame): Only set display_completed here; move
	the update_begin and update_end calls here from update_frame_1.
	(update_frame_1): Don't set display_completed here, don't call
	update_begin/update_end.
d5363 2
a5364 2
	* xfaces.c (set_font_frame_param): Use Fmodify_frame_parameters
	instead of store_frame_param.
d5366 2
a5367 1
2000-08-29  Gerd Moellmann  <gerd@@gnu.org>
d5369 2
a5370 4
	* dispnew.c (build_frame_matrix_from_leaf_window): If a row of a
	desired window matrix hasn't been displayed, use the current row
	instead.  Make sure that only those frame rows are updated for
	which there exists a corresponding enabled desired row.
d5372 1
a5372 1
2000-08-29  Miles Bader  <miles@@gnu.org>
d5374 1
a5374 2
	* xfaces.c (default_face_vector): New function.
	(Finternal_merge_in_global_face): Use it instead of merge_face_vectors.
d5376 1
a5376 1
2000-08-29  Gerd Moellmann  <gerd@@gnu.org>
d5378 2
a5379 2
	* lread.c (openp): Prevent temporary string passed to
	Ffile_readable_p from being garbage collected.
d5381 2
a5382 1
2000-08-28  Dave Love  <fx@@gnu.org>
d5384 1
a5384 1
	* keymap.c (store_in_keymap): Add `static' to declaration.
d5386 2
a5387 1
2000-08-28  Gerd Moellmann  <gerd@@gnu.org>
d5389 1
a5389 5
	* emacs.c, callint.c, doc.c, editfns.c
	(toplevel) [HAVE_STRING_H]: Include string.h.
	(toplevel) [HAVE_STRINGS_H]: Include strings.h.
	(index): Remove prototypes which might conflict with non-standard
	definitions of index/strchr.
d5391 1
a5391 2
	* s/usg5-3.h (index): Define only if not HAVE_INDEX.
	(rindex): Define only if !HAVE_RINDEX.
d5393 4
a5396 1
	* s/sco5.h (bcopy, bzero, bcmp): Don't define.
d5398 2
a5399 1
	* config.in (HAVE_INDEX, HAVE_RINDEX, HAVE_STRINGS_H): Add undefs.
d5401 6
a5406 1
2000-08-28  Miles Bader  <miles@@gnu.org>
d5408 5
a5412 3
	* xfaces.c (merge_face_vectors): Clear TO's :font attribute if
	made inconsistent by a font-related attribute in FROM.
	(merge_face_inheritance): Add function comment.
d5414 1
a5414 1
2000-08-28  Kenichi Handa  <handa@@etl.go.jp>
d5416 2
a5417 2
	* keyboard.c (read_char_minibuf_menu_prompt): Call read_char with
	the 4th arg (PREV_EVENT) Qt to suppress input method.
d5419 2
a5420 1
2000-08-27  Stefan Monnier  <monnier@@cs.yale.edu>
d5422 2
a5423 8
	* regex.c: Indent cpp directives and remove parens after `defined'.
	(PTR_TO_OFFSET, POS_AS_IN_BUFFER): Move to a better place.
	(ISDIGIT, ISCNTRL, ISXDIGIT) [!emacs]: Remove duplicate definition.
	(regex_compile): Use RE_FRUGAL instead of RE_ALL_GREEDY.
	(re_compile_pattern): Use size_t for length.
	(init_syntax_once): Move to a better place.
	* regex.h: Merge changes from GNU libc.  Indent cpp directives.
	(RE_FRUGAL): Replaces RE_ALL_GREEDY (inverted meaning).
d5425 5
a5429 3
	* syntax.c (back_comment): Detect cases where a comment-starter is
	actually inside another comment as in:   /* a // b */ c // d \n.
	Make it clear that `comstart_pos' is unused for nested comments.
d5431 4
a5434 6
	* keymap.c (store_in_keymap, fix_submap_inheritance): New prototypes.
	(KEYMAPP): New macro.
	(Fkeymap_parent, Fset_keymap_parent): Use it.
	(fix_submap_inheritance): Mark it static.
	(define_as_prefix, describe_buffer_bindings, describe_command)
	(describe_translation, describe_map): Complete prototypes.
d5436 12
a5447 1
	* lisp.h (store_in_keymap, fix_submap_inheritance): Remove.
d5449 12
a5460 2
	* keyboard.c (menu_bar_item): Detect duplicate entries for all items
	to better match the key-lookup behavior.
d5462 2
a5463 1
2000-08-27  Gerd Moellmann  <gerd@@gnu.org>
d5465 1
a5465 2
	* xfaces.c (lface_fully_specified_p): Handle :inherit.
	(Finternal_set_lisp_face_attribute): Fix typo in error message.
d5467 2
a5468 1
2000-08-27  Eli Zaretskii  <eliz@@is.elta.co.il>
d5470 1
a5470 3
	* Makefile.in (dispnew.o, indent.o, fontset.o, minibuf.o)
	(process.o, scroll.o, sysdep.o): Depend on keyboard.h.
	(xterm.o): Depend on coding.h
d5472 1
a5472 1
2000-08-26  Kenichi Handa  <handa@@etl.go.jp>
d5474 1
a5474 2
	* cmds.c (internal_self_insert): Delete '#ifdef HAVE_FACES' and
	the corresponding '#endif'.
d5476 2
a5477 1
2000-08-26  Miles Bader  <miles@@gnu.org>
d5479 1
a5479 22
	* dispextern.h (enum lface_attribute_index): Add LFACE_INHERIT_INDEX.
	* xfaces.c (QCinherit): New variable.
	(syms_of_xfaces): Initialize it.
	(LFACE_INHERIT): New macro.
	(Finternal_get_lisp_face_attribute)
	(merge_face_vector_with_property)
	(Finternal_set_lisp_face_attribute): Deal with :inherit attribute.
	(check_lface_attrs): Allow new types of face height.  Check
	inherit attribute.
	(CYCLE_CHECK): New macro.
	(merge_face_inheritance): New function.
	(merge_face_vectors): Merge inherited faces too.  Add F and
	CYCLE_CHECK arguments.
	(merge_face_vector_with_property, Finternal_merge_in_global_face)
	(lookup_named_face, lookup_derived_face, realize_named_face)
	(face_at_string_position, face_at_buffer_position):  Supply
	new F and CYCLE_CHECK arguments to merge_face_vectors.
	(merge_face_heights): New function.
	(merge_face_vectors, merge_face_vector_with_property)
	(Finternal_set_lisp_face_attribute): Call merge_face_heights to
	handle relative face heights.
	(lface_same_font_attributes_p): Compare heights using EQ.
d5481 1
a5481 1
2000-08-26  Kenichi Handa  <handa@@etl.go.jp>
d5483 2
a5484 2
	* charset.c (char_to_string): Check the character validity.
	(char_valid_p): If C is not less than MAX_CHAR, be sure to return 0.
d5486 1
a5486 1
2000-08-25  Stefan Monnier  <monnier@@cs.yale.edu>
d5488 1
a5488 6
	* regex.c (PUSH_FAILURE_COUNT): New macro.
	(POP_FAILURE_REG_OR_COUNT): Renamed from POP_FAILURE_REG.
	Handle popping of a register's or a counter's data.
	(POP_FAILURE_POINT): Use the new name.
	(re_match_2_internal): Push counter data on the stack for succeed_n,
	jump_n and set_number_at and remove misleading dead code in succeed_n.
d5490 1
a5490 1
2000-08-25  Gerd Moellmann  <gerd@@gnu.org>
d5492 2
a5493 5
	* xdisp.c (redisplay_internal): If considering all windows on all
	frames, update the display for each frame as soon as possible,
	instead of first building all desired matrices for all frames, and
	then updating them all.
	(try_cursor_movement): Handle case that last_cursor.vpos is -1.
d5495 1
a5495 1
2000-08-24  Gerd Moellmann  <gerd@@gnu.org>
d5497 2
a5498 1
	* bytecode.c (mark_byte_stack): Add a comment.
d5500 1
a5500 3
	* frame.h (FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH)
	(FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is
	a graphical frame.
d5502 3
a5504 1
2000-08-24  Kenichi Handa  <handa@@etl.go.jp>
d5506 2
a5507 3
	* minibuf.c (do_completion): Always use compare-string, not
	string-equal because the latter doesn't pay attention to
	multibyteness of strings.
d5509 1
a5509 9
	* process.c (create_process): Don't setup raw-text coding here.
	(Fopen_network_stream): Don't set coding->src_multibyte and
	coding->dst_multibyte here.
	(read_process_output): For process filter, return unibyte string
	if default-enable-multibyte-characters is nil.
	(send_process): If OBJECT is multibyte text, be sure to encoded it
	by the specified coding system for the process.  Otherwise, setup
	raw-text coding.
	(init_process): Don't initialize default-process-coding-system here.
d5511 1
a5511 1
2000-08-23  Eli Zaretskii  <eliz@@is.elta.co.il>
d5513 4
a5516 2
	* buffer.c (syms_of_buffer) <scroll-up-aggressively>: Doc fix.
	<scroll-down-aggressively>: Likewise.
d5518 1
a5518 1
2000-08-23  Kenichi Handa  <handa@@etl.go.jp>
d5520 1
a5520 2
	* coding.c (encode_eol): Fix bug for the case of dst_bytes being
	zero.  Set coding->produced_char correctly.
d5522 1
a5522 1
2000-08-22  Andrew Innes  <andrewi@@gnu.org>
d5524 1
a5524 1
	* makefile.w32-in: New file.
d5526 2
a5527 2
	* unexw32.c (unexec): Ignore old_name, and use the actual location
	of the current executable instead.  Base new_name on this.
d5529 1
a5529 2
	* w32proc.c (create_child): Remove reference to security
	descriptor, which isn't needed and doesn't compile with mingw32.
d5531 21
a5551 3
	* w32term.c [USE_CRT_DLL]: Remove unnecessary extern, which screws
	up dllimport attributes.
	(x_update_window_end): Update prototype.
d5553 1
a5553 2
	* unexec.c (write_segment) [USE_CRT_DLL]: Remove unnecessary
	extern, which screws up dllimport attributes.
d5555 10
a5564 2
	* sysdep.c [USE_CRT_DLL]: Remove unnecessary extern, which screws
	up dllimport attributes.
d5566 1
a5566 2
	* strftime.c [USE_CRT_DLL]: Remove unnecessary extern, which
	screws up dllimport attributes.
d5568 1
a5568 4
	* process.c [USE_CRT_DLL]: Remove unnecessary extern, which screws
	up dllimport attributes.
	(create_process) [USE_CRT_DLL]: Remove unnecessary extern, which
	screws up dllimport attributes.
d5570 1
a5570 2
	* lread.c [USE_CRT_DLL]: Remove unnecessary extern, which screws
	up dllimport attributes.
d5572 1
a5572 2
	* keyboard.c [USE_CRT_DLL]: Remove unnecessary extern, which
	screws up dllimport attributes.
d5574 1
a5574 2
	* floatfns.c [USE_CRT_DLL]: Remove unnecessary extern, which
	screws up dllimport attributes.
d5576 4
a5579 2
	* fileio.c [USE_CRT_DLL]: Remove unnecessary extern, which screws
	up dllimport attributes.
d5581 1
a5581 3
	* emacs.c (malloc_initialize_hook) [USE_CRT_DLL]: Remove
	unnecessary extern, which screws up dllimport attributes.
	(main): Ditto.
d5583 1
a5583 2
	* editfns.c [USE_CRT_DLL]: Remove unnecessary extern, which screws
	up dllimport attributes.
d5585 2
a5586 2
	* dispnew.c (window_change_signal) [USE_CRT_DLL]: Remove
	unnecessary extern, which screws up dllimport attributes.
d5588 1
a5588 2
	* callproc.c [USE_CRT_DLL]: Remove unnecessary extern, which
	screws up dllimport attributes.
d5590 2
a5591 2
	* buffer.c [USE_CRT_DLL]: Remove unnecessary extern, which screws
	up dllimport attributes.
d5593 2
a5594 1
	* w32proc.c (IsValidLocale): Extern missing from mingw32 headers.
d5596 2
a5597 5
	* w32bdf.c (search_file_line):
	(set_bdf_font_info):
	(seek_char):
	(w32_get_bdf_glyph):
	(w32_BDF_to_x_font): Fix compile warnings.
d5599 1
a5599 1
	* w32menu.c: Include keyboard.h before frame.h.  Fix compile warnings.
d5601 1
a5601 1
	* w32select.c: Include keyboard.h before frame.h.
d5603 2
a5604 4
	* w32fns.c (max): Define macro.
	(JOHAB_CHARSET): Define if not known.
	(MOD_ALT, MOD_CONTROL, MOD_SHIFT, MOD_WIN): Define if not known.
	(Fx_show_tip): Synch with X version.
d5606 1
a5606 1
	* w32xfns.c: Include keyboard.h before frame.h.
d5608 2
a5609 1
	* w32fns.c: Include keyboard.h before frame.h.
d5611 2
a5612 1
	* w32term.c: Include keyboard.h before frame.h.
d5614 1
a5614 1
	* fontset.c: Include keyboard.h before frame.h.
d5616 2
a5617 2
	* w32inevt.c: Include keyboard.h before frame.h.
	(MOUSE_MOVED): Define if not known.
d5619 2
a5620 1
	* minibuf.c: Include keyboard.h before frame.h.
d5622 1
a5622 1
	* keyboard.c: Include keyboard.h before frame.h.
d5624 2
a5625 1
	* indent.c: Include keyboard.h before frame.h.
d5627 1
a5627 1
	* dispnew.c: Include keyboard.h before frame.h.
d5629 3
a5631 1
	* buffer.c: Include keyboard.h before frame.h.
d5633 9
a5641 1
	* alloc.c: Include keyboard.h before frame.h.
d5643 2
a5644 1
	* print.c: Include keyboard.h before frame.h.
d5646 2
a5647 1
	* process.c: Include keyboard.h before frame.h.
d5649 2
a5650 1
	* scroll.c: Include keyboard.h before frame.h.
d5652 1
a5652 1
	* sysdep.c: Include keyboard.h before frame.h.
d5654 2
a5655 1
	* term.c: Include keyboard.h before frame.h.
d5657 1
a5657 1
	* window.c: Include keyboard.h before frame.h.
d5659 3
a5661 2
	* xdisp.c: Include keyboard.h before frame.h.
	Separate GLYPH_DEBUG and DEBUG_TRACE_MOVE.
d5663 2
a5664 1
	* frame.c: Include keyboard.h before frame.h.
d5666 1
a5666 1
	* w32heap.h: Undefine min, max.
d5668 1
a5668 1
	* w32gui.h: Undefine min, max.
d5670 7
a5676 6
	* unexw32.c: Change PUCHAR to PCHAR.
	(PTR_TO_OFFSET): Cast ptr to unsigned char *.
	(relocate_offset):
	(get_section_info):
	(copy_executable_and_dump_data): Remove unnecessary static defs.
	(copy_executable_and_dump_data): Fix compile warnings.
d5678 1
a5678 1
	* sysdep.c (NULL) [WINDOWSNT]: Define NULL if not defined.
d5680 2
a5681 2
	* w32console.c (min): Define macro.
	(clear_frame, write_glyphs): Fix compile warning.
d5683 3
a5685 2
	* w32proc.c (compare_env):
	(find_child_console): Fix compile warning.
d5687 2
a5688 3
	* w32.c (sys_strerror): Use sys_nerr instead of _sys_nerr.  Use
	sys_errlist instead of _sys_errlist.
	(get_emacs_configuration_options): New function.
d5690 2
a5691 7
	* s/ms-w32.h (sys_nerr): Provide default definition.
	(strdup, strupr, strnicmp, stricmp, tzset, tzname): Map to same
	name with _ prepended.
	(NSIG): Define if not known.
	(get_emacs_configuration): Provide extern declaration.
	(get_emacs_configuration_options): Provide extern declaration.
	(EMACS_CONFIG_OPTIONS): Call get_emacs_configuration_options.
d5693 1
a5693 3
	* w32.c (gettimeofday): Use struct timeb, not struct _timeb.
	(map_w32_filename):
	(read_unc_volume): Fix compile warning.
d5695 1
a5695 2
	* s/ms-w32.h (_WINSOCK_H): Define to prevent normal winsock
	definitions from being used.
d5697 1
a5697 1
	* lisp.h [WINDOWSNT]: Don't declare externs for getenv, ctime and getwd.
d5699 1
a5699 2
	* w32.c (unc_volume_file_attributes):
	(open_unc_volume): Make arg const.
d5701 2
a5702 2
	* sysdep.c [WINDOWSNT]: Remove extern decl of errno.
	(read_input_waiting): Remove excess parameter.
d5704 2
a5705 5
	* w32.c (init_environment): Call _access.
	(check_windows_init_file): Call _close.
	(init_user_info): Call _putenv.
	(init_environment): Call _putenv and _strdup.
	(init_ntproc): Reset volume info cache on startup.
d5707 1
a5707 3
	* s/ms-w32.h (malloc, free, realloc, calloc): Rename if
	USE_CRT_DLL is defined, so Emacs can use GNU malloc even though it
	cannot override the CRT malloc.
d5709 1
a5709 2
	* makefile.nt (LOCAL_FLAGS): Define USE_CRT_DLL if requested.
	(LINK_FLAGS): Append to original value of LINK_FLAGS.
d5711 9
a5719 3
	* w32heap.c [!USE_CRT_DLL]: Don't define _heap_init and _heap_term
	unless we are linking with a static CRT.
	(RVA_TO_PTR): Cast result to unsigned char*.
d5721 2
a5722 2
	* w32.c (GetCachedVolumeInformation): Use xmalloc, xfree and xstrdup.
	(add_volume_info): Use xstrdup.
d5724 2
a5725 1
2000-08-22  Stefan Monnier  <monnier@@cs.yale.edu>
d5727 1
a5727 4
	* minibuf.c (Vcompletion_auto_help): Renamed from `auto_help'.
	(do_completion, Fminibuffer_complete_word): Use it.
	(syms_of_minibuf): Turn completion-auto-help into a proper Lisp
	var so it can take non-boolean values.
d5729 1
a5729 1
2000-08-21  Gerd Moellmann  <gerd@@gnu.org>
d5731 8
a5738 4
	* editfns.c (find_field): Formatting changes.
	(toplevel): Some old-style function forward declarations
	changed to prototypes, some new protypes added, some functions
	made static.
d5740 2
a5741 2
	* lisp.h (set_time_zone_rule): Add prototype.
	(use_dialog_box): External declaration.
d5743 1
a5743 9
	* keyboard.c (gen_help_event): Add parameter SIZE.
	(kbd_buffer_events_waiting): Slightly rewritten.
	(clear_event): New function.
	(kbd_buffer_get_event): Use it, and clear the input_events of
	HELP_EVENTs.
	(init_keyboard): Remove duplicate creation of kbd_buffer_gcpro and
	don't fill the newly created array with nils.
	(toplevel): Convert some old-style function forward declarations
	to prototypes.
d5745 4
a5748 1
	* keyboard.h (gen_help_event): Change prototype.
d5750 1
a5750 1
	* xterm.c (XTread_socket): Change calls to gen_help_event.
d5752 2
a5753 1
	* w32term.c (w32_read_socket): Change calls to gen_help_event.
d5755 1
a5755 1
	* eval.c (Fmacroexpand): Doc fix.
d5757 1
a5757 1
2000-08-20  Jason Rumney  <jasonr@@gnu.org>
d5759 1
a5759 2
	* w32term.h (x_display_info_for_display): Remove as this function
	does not exist on W32.
d5761 1
a5761 13
	* w32term.c (help_echo_window): New variable.
	(syms_of_w32term): staticpro it.
	(note_mode_line_highlight): Set it.
	(XTextExtents16): Removed as there is no equivalent on W32.
	(x_compute_glyph_string_overhangs): Incomplete body removed, as
	the X way of doing this will not work for W32.
	(w32_intersect_rectangles): Removed. Use IntersectRect API call.
	(x_draw_image_foreground):  Avoid drawing outside of the clip area
	when image doesn't have a mask.
	(note_mouse_highlight): Process overlays in the right order of
	priority. Set help_echo_window.
	(x_draw_bar_cursor): If cursor is on an image, draw a box cursor
	because that's more visible for large images.
d5763 1
a5763 4
	* w32menu.c (keymap_panes): Pass the keymap's prompt as the pane
	name to single_keymap_panes.
	(w32_menu_show): Set wv->title when dealing with titles.
	(w32_menu_display_help): Call show_help_echo with OBJECT and POS.
d5765 4
a5768 1
2000-08-21  Miles Bader  <miles@@gnu.org>
d5770 2
a5771 3
	* minibuf.c (do_completion): Try again if we rewrite the input
	string, but no completion was done, so that any completion message
	will be correct.
d5773 2
a5774 1
2000-08-20  Gerd Moellmann  <gerd@@gnu.org>
d5776 2
a5777 11
	* xfaces.c (lface_equal_p): Compare strings differently.
	(Qtty_color_alist, Vtty_defined_color_alist): New variables.
	(realize_tty_face): Use them.
	(syms_of_xfaces): Initialize new variables.
	(map_tty_color): New function, extracted from realize_tty_face.
	(map_tty_color) [MSDOS || WINDOWSNT]: If using the frame's default
	foreground or background color, store the new color name in the
	realized face; previous code trying to do this had no effect.
	(realize_tty_face): Use map_tty_color.
	(Fclear_face_cache): Set face_change_count and ensure thorough
	redisplay.
d5779 1
a5779 1
2000-08-19  Gerd Moellmann  <gerd@@gnu.org>
d5781 2
a5782 2
	* undo.c (record_first_change, record_marker_adjustment): Don't
	use XBUFFER on last_undo_buffer which might not be a buffer.
d5784 1
a5784 1
2000-08-18  Kenichi Handa  <handa@@etl.go.jp>
d5786 1
a5786 4
	* coding.c (decode_coding_string): Set members consumed,
	consumed_char, produced, produced_char of *coding correctly.  If
	decode_coding doesn't consume any byte, don't try anymore.
	(encode_coding_string): Likewise.
d5788 1
a5788 1
2000-08-18  Gerd Moellmann  <gerd@@gnu.org>
d5790 2
a5791 2
	* lisp.h (CHECK) [ENABLE_CHECKING]: Make both sides of the
	conditional have void type, for Standard C compilers.
d5793 1
a5793 3
	* xdisp.c (redisplay_internal): Compare windows for equality with
	EQ, instead of applying XWINDOW to something that might not
	be a window.
d5795 2
a5796 1
2000-08-18  Kenichi Handa  <handa@@etl.go.jp>
d5798 1
a5798 2
	* fontset.c (Finternal_char_font): Search only the selected frame
	for a window of the current buffer.
d5800 2
a5801 1
2000-08-18  Gerd Moellmann  <gerd@@gnu.org>
d5803 1
a5803 2
	* minibuf.c (do_completion): Use EQ instead of `!=' to compare
	Lisp_Objects.
d5805 1
a5805 2
	* keyboard.c (kbd_buffer_get_event): Handle the case that the
	second half of a HELP_EVENT is found at the start of kbd_buffer.
d5807 2
a5808 1
2000-08-18  Miles Bader  <miles@@gnu.org>
d5810 2
a5811 1
	* lisp.h (Lisp_String): Replace DECLARE_INTERVALS with real decl.
d5813 2
a5814 4
	* editfns.c (save_restriction_save): Rewrite to use markers.
	(save_restriction_restore): Rewrite to understand new form of data
	saved by save_restriction_save.
	(Fsave_restriction): Remove cautionary note in doc-string.
d5816 2
a5817 1
2000-08-17  Gerd Moellmann  <gerd@@gnu.org>
d5819 1
a5819 5
	* fileio.c (build_annotations): Add a comment explaining the
	return value of format-annotate-function.  Replace a spurious call
	to Flength with a CONSP test.  Call format-annotate-function with
	a fifth arg specifying how many times the function is been called
	in a row, to let it choose temporary buffers appropriately.
d5821 1
a5821 1
2000-08-17  Dave Love  <fx@@gnu.org>
d5823 1
a5823 2
	* lisp.h: Remove DECLARE_INTERVALS, INITIALIZE_INTERVAL.  Don't
	declare make_temp_name twice.
d5825 1
a5825 2
	* lread.c: Prototype readevalloop, load_unwind, load_descriptor_unwind.
	(unreadpure): Give it an arg.
d5827 1
a5827 2
	* unexalpha.c: Prototype fatal_unexec, mark_x,
	update_dynamic_symbols.  Declare unexec as void.
d5829 1
a5829 2
	* cm.c [HAVE_TERMCAP_H]: Include <termcap.h>.
	[!HAVE_TERMCAP_H]: Prototype tputs, tgoto.
d5831 1
a5831 2
	* alloc.c (lisp_malloc): Declare with POINTER_TYPE.
	[SYSTEM_MALLOC]: Make decls in malloc.h conditional on DOUG_LEA_MALLOC.
d5833 2
a5834 2
	* alloca.c: Use #error.
	[POINTER_TYPE]: Use it.
d5836 4
a5839 1
	* eval.c (Fdefvar): Doc fix.
d5841 1
a5841 2
	* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Avoid
	INITIALIZE_INTERVAL.
d5843 2
a5844 1
	* buffer.h: Avoid DECLARE_INTERVALS.
d5846 2
a5847 1
	* config.in: Add size_t.
d5849 1
a5849 1
2000-08-17  Eli Zaretskii  <eliz@@is.elta.co.il>
d5851 1
a5851 6
	* w16select.c (set_clipboard_data): If there's not enough memory
	to put text into clipboard, return 1, as Fw16_set_clipboard_data
	expects.  In case of other failures, return 3.
	(system_error_msg): New error message.
	(Fw16_set_clipboard_data): If set_clipboard_data returns 3, print
	system_error_msg.
d5853 1
a5853 1
2000-08-16  Gerd Moellmann  <gerd@@gnu.org>
d5855 1
a5855 8
	* term.c (write_glyphs): Also turn off inverse video after turning
	off other appearances in case TS_exit_attribute_mode is not equal
	to TS_end_standout_mode.
	(insert_glyphs): Turn inverse video on/off for each run of glyphs
	with the same face.
	(turn_off_face): Reset standout_mode only if
	TS_exit_attribute_mode has been output and TS_exit_attribute_mode
	is equal to TS_end_standout_mode.
d5857 1
a5857 1
2000-08-16  Kenichi Handa  <handa@@etl.go.jp>
d5859 1
a5859 2
	* coding.c (encode_coding): Fix the bug of not flushing ISO escape
	sequence at the end of the source block.
d5861 1
a5861 3
	* ccl.c (Fccl_program_p): Docstring modified.
	(Fccl_execute): Likewise.
	(Fccl_execute_on_string): Likewise.
d5863 1
a5863 1
2000-08-16  Eli Zaretskii  <eliz@@is.elta.co.il>
d5865 1
a5865 1
	* msdos.c (IT_write_glyphs): Convert cbp to unsigned char *.
d5867 2
a5868 1
2000-08-16  Kenichi Handa  <handa@@etl.go.jp>
d5870 1
a5870 31
	The following changes are mainly to fix bugs of
	encode/decode-coding-string failing if encoding/decoding return
	CODING_FINISH_INSUFFICIENT_DST.  In addition, delete the global
	variable conversion_buffer.

	* ccl.c (CCL_WRITE_CHAR): If CH is eight-bit-control char,
	decrement dst_end to avoid buffer overflow in the later call of
	string_as_multibyte

	* coding.h (conversion_buffer_size, conversion_buffer)
	(get_conversion_buffer): Extern deleted.

	* coding.c (MINIMUM_CONVERSION_BUFFER_SIZE): Macro deleted.
	(conversion_buffer, conversion_buffer_size): Variables deleted.
	(get_conversion_buffer): Function deleted.
	(struct conversion_buffer): New structure.
	(MAX_ALLOCA): New macro.
	(allocate_conversion_buffer): New macro.
	(extend_conversion_buffer, free_conversion_buffer): New functions.
	(ccl_coding_driver): Set coding->result.
	(decode_coding): Set coding->result to CODING_FINISH_NORMAL if
	this is the last block of source.
	(encode_coding): Likewise.  Handle the source block as the last
	one only when the whole source text is consumed.
	(decode_coding_string): Handle the case that the output buffer is
	too small to decode the whole source text.  Use
	allocate_conversion_buffer, extend_conversion_buffer and
	free_conversion_buffer, not get_conversion_buffer.
	(encode_coding_string): Likewise.
	(init_coding): Function deleted.
	(init_coding_once): Delete code to initialize conversion_buffer_size.
d5872 3
a5874 1
	* emacs.c (main): Don't call init_coding.
d5876 2
a5877 1
	* msdos.c (IT_write_glyphs): Use a locally declared conversion_buffer.
d5879 2
a5880 2
	* term.c (write_glyphs): Use a locally declared conversion_buffer.
	(insert_glyphs): Likewise.
d5882 1
a5882 2
	* w32console.c (write_glyphs): Use a locally declared
	conversion_buffer.
d5884 1
a5884 1
2000-08-15  Eli Zaretskii  <eliz@@is.elta.co.il>
d5886 1
a5886 2
	* msdos.c (IT_update_begin): Don't crash if mouse_face_mouse_frame
	member of display_info is NULL.
d5888 5
a5892 1
2000-08-15  Gerd Moellmann  <gerd@@gnu.org>
d5894 2
a5895 1
	* alloc.c (compact_small_strings): Use safe_bcopy, add an assertion.
d5897 3
a5899 3
	* term.c (turn_off_face): Reset standout_mode when resetting
	appearances with capability `me'.
	(write_glyphs): Switch on inverse video before each face change.
d5901 5
a5905 1
2000-08-14  Dave Love  <fx@@gnu.org>
d5907 1
a5907 3
	* alloc.c [HAVE_UNISTD_H]: Include unistd.h; don't declare sbrk.
	[!HAVE_UNISTD_H]: Use POINTER_TYPE to declare sbrk.
	(lisp_free): Declare and make static.
d5909 1
a5909 2
	* window.c: Fix embedded comment.
	(syms_of_window): Fix doc string.
d5911 1
a5911 1
2000-08-14  Gerd Moellmann  <gerd@@gnu.org>
d5913 1
a5913 2
	* keymap.c (push_key_description): If C without modifiers is < 32,
	make sure to print `C-' before `M-', like in the manual.
d5915 4
a5918 1
2000-08-11  Gerd Moellmann  <gerd@@gnu.org>
d5920 12
a5931 3
	* fns.c (hashfn_eq, hashfn_eql): Don't handle strings specially
	since they aren't relocated anymore.
	(sxhash_string): Make sure returned hash code fits in a Lisp integer.
d5933 2
a5934 2
	* xdisp.c (try_cursor_movement): Fix handling of cursor in
	partially visible line which is smaller than the window's height.
d5936 4
a5939 1
2000-08-11  Kenichi Handa  <handa@@etl.go.jp>
d5941 1
a5941 3
	* ccl.c (CCL_READ_CHAR): If source is multibyte, pay attention to
	the multibyte form of eight-bit-control characters.
	(Fccl_execute_on_string): Initialize ccl->multibyte.
d5943 1
a5943 1
	* ccl.h (struct ccl_program): New member multibyte.
d5945 1
a5945 1
	* coding.c (ccl_coding_driver): Initialize ccl->multibyte.
d5947 1
a5947 1
2000-08-11  Kenichi Handa  <handa@@etl.go.jp>
d5949 3
a5951 4
	* regex.c (regex_compile) <normal_char>: Pay attention to
	multibyteness.
	(analyse_first) <exactn>: Setup fastmap correctly for
	eight-bit-control characters.
d5953 4
a5956 1
2000-08-11  Kenichi Handa  <handa@@etl.go.jp>
d5958 2
a5959 1
	* termhooks.h (enum event_kind): New member multibyte_char_keystroke.
d5961 4
a5964 2
	* keyboard.c (make_lispy_event): Handle the new event type
	multibyte_char_keystroke.
d5966 1
a5966 4
	* xterm.c: Include coding.h.
	(XTread_socket): Work around a bug of XmbLookupString.  If the
	input is from XIM, decode it according to the current locale.  In
	that case, generate multibyte_char_keystroke events.
d5968 1
a5968 1
2000-08-11  Kenichi Handa  <handa@@etl.go.jp>
d5970 1
a5970 2
	* xdisp.c (TRACE_MOVE) [GLYPH_DEBUG]: Delete the last semicolon.
	(TRACE_MOVE) [not GLYPH_DEBUG]: Define dummy.
d5972 2
a5973 1
2000-08-10  Gerd Moellmann  <gerd@@gnu.org>
d5975 2
a5976 14
	* xdisp.c (trace_move) [GLYPH_DEBUG]: New variable.
	(TRACE_MOVE) [GLYPH_DEBUG]: New macro.
	(move_it_in_display_line_to): Record iterator's ascent and descent
	before producing glyphs, and restore them when we know the glyph
	doesn't fit on the line.
	(move_it_to): Restructured so that it's easier to debug.  If
	moving to a vpos, and not moving to an x or character position,
	stop as soon as the specified vpos is reached; don't move further
	into that line because that might change the computed line height.
	(try_cursor_movement): New function, extracted from the cursor
	movement branch of redisplay_window.  If ending on a partially
	visible line, don't try to scroll if the cursor line is taller
	than the window.
	(redisplay_window): Use try_cursor_movement.
d5978 2
a5979 2
	* window.c (Fwindow_end): Rewritten to not use Fvertical_motion,
	because that function doesn't cope with variable-height lines.
d5981 2
a5982 2
	* xterm.c (x_draw_bar_cursor): If cursor is on an image, draw a
	box cursor because that's better visible for large images.
d5984 1
a5984 1
2000-08-10  Miles Bader  <miles@@gnu.org>
d5986 2
a5987 1
	* w32term.c (note_mouse_highlight): Update calls to overlays_at.
d5989 2
a5990 1
2000-08-10  Gerd Moellmann  <gerd@@gnu.org>
d5992 1
a5992 3
	* xdisp.c (Vmessages_buffer_name): New variable.
	(message_dolog): Use it.
	(syms_of_xdisp): Initialize it.
d5994 2
a5995 1
2000-08-10  Eli Zaretskii  <eliz@@is.elta.co.il>
d5997 2
a5998 3
	* msdos.c (IT_note_mouse_highlight): Update the calls to overlays_at.
	(toplevel) <kbd_buffer_store_event>: Remove prototype, it's
	redundant now that keyboard.h is included.
d6000 1
a6000 1
2000-08-09  Eli Zaretskii  <eliz@@is.elta.co.il>
d6002 9
a6010 1
	* keyboard.c (kbd_buffer_events_waiting): New function.
d6012 3
a6014 1
	* keyboard.h (kbd_buffer_events_waiting): Add prototype.
d6016 1
a6016 6
	* msdos.c: Include keyboard.h.
	(XMenuActivate): Empty no_event events from the event buffer.  If
	no events are left after that, call clear_input_pending.
	(mouse_clear_clicks): New function, code moved from mouse_init.
	(mouse_init, XMenuActivate): Call mouse_clear_clicks to force the
	mouse driver to ``forget'' any past clicks.
d6018 2
a6019 1
	* Makefile.in (msdos.o): Depend on keyboard.h.
d6021 1
a6021 1
2000-08-09  Gerd Moellmann  <gerd@@gnu.org>
d6023 1
a6023 1
	* lisp.h (input_pending): External declaration.
d6025 1
a6025 1
	* dispextern.h (Qredisplay_dont_pause): Declare extern.
d6027 4
a6030 3
	* xdisp.c (echo_area_display): Display thoroughly if input is
	pending.  Bind redisplay-dont-pause to t during the redisplay.
	in case input is pending.
d6032 1
a6032 4
	* dispnew.c (Qredisplay_dont_pause): New variable.
	(syms_of_display): Initialize and staticpro it.
	(update_frame_1): Don't interrupt the display for pending input if
	redisplay_dont_pause is set.
d6034 1
a6034 1
	* dispnew.c (mode_line_string): Declare parameter MODE_LINE_P.
d6036 1
a6036 1
	* xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix.
d6038 1
a6038 1
2000-08-09  Miles Bader  <miles@@lsi.nec.co.jp>
d6040 2
a6041 2
	* callproc.c (Fcall_process): Terminate the unwind-protect around
	the post-read-conversion of coding system.
d6043 1
a6043 7
	* buffer.c (overlays_at): Add CHANGE_REQ parameter.
	(Foverlays_at, Fnext_overlay_change, Fprevious_overlay_change): Use it.
	* buffer.h (overlays_at): Update prototype.
	* xdisp.c (next_overlay_change): Update call to overlays_at.
	* xfaces.c (face_at_buffer_position): Likewise.
	* textprop.c (Fget_char_property): Likewise.
	* xterm.c (note_mouse_highlight): Likewise.
d6045 1
a6045 2
	* minibuf.c (do_completion): Don't consider a simple change of
	case as `completion'.
d6047 6
a6052 1
2000-08-08  Ken Raeburn  <raeburn@@gnu.org>
d6054 9
a6062 3
	* keyboard.c (syms_of_keyboard): Initialize last_point_position_buffer.
	* undo.c (record_delete): Make sure last_point_position_buffer is
	a buffer before comparing pointers.
d6064 4
a6067 1
	* coding.h (decode_coding_string): Declare.
d6069 9
a6077 1
	* intervals.h (Fprevious_single_char_property_change): Declare.
d6079 1
a6079 2
	* textprop.c (Fprevious_single_char_property_change): Don't do
	arithmetic directly on lisp objects.
d6081 1
a6081 1
	* editfns.c (find_field): Use EQ, not ==, to compare Lisp objects.
d6083 2
a6084 1
	* keyboard.h (menu_item_eval_property): Declare.
d6086 2
a6087 8
	* xdisp.c (message_dolog): Save and protect string "*Messages*" to
	reuse as buffer name, instead of recreating (and discarding) every
	time a message is logged.
	(with_echo_area_buffer): Make callback arg A2 a lisp object.
	(current_message_1, truncate_message_1, set_message_1)
	(display_echo_area_1, resize_mini_window_1): Signatures changed.
	(current_message, truncate_echo_area, display_echo_area)
	(resize_echo_area_axactly): Changed calls.
d6089 3
a6091 4
	* coding.c (find_safe_codings): CHAR_TABLE_SET index must be a
	Lisp object.
	(Ffind_coding_systems_region_internal): First argument to Fappend
	must be an integer, not a Lisp object.
d6093 1
a6093 1
2000-08-08  Kenichi Handa  <handa@@etl.go.jp>
d6095 1
a6095 1
	* charset.c (Fchar_width): Doc fix.
d6097 1
a6097 1
2000-08-08  Gerd Moellmann  <gerd@@gnu.org>
d6099 1
a6099 1
	* charset.c (Fstring_width): Doc fix.
d6101 4
a6104 1
2000-08-07  Gerd Moellmann  <gerd@@gnu.org>
d6106 1
a6106 11
	* xdisp.c (start_display): When starting display on a continuation
	line, clear ascent and descent members of the iterator structure;
	the height of the continued line does not affect the height of the
	continuation line.
	(make_cursor_line_fully_visible): Do nothing if cursor is on a
	line taller than the window.
	(redisplay_window) <forced window start>: Handle case that the
	middle of the window is not found in any row.
	(dump_glyph_row): Show more information.
	(compute_line_metrics): Use MATRIX_FIRST_TEXT_ROW to determine the
	first text line in a glyph matrix.
d6108 1
a6108 2
	* xterm.c (x_draw_image_foreground): Avoid drawing outside
	of the clip area when image doesn't have a mask.
d6110 2
a6111 2
	* fns.c (sweep_weak_table): Fix survival conditions for
	key-or-value and key-and-value weakness.
d6113 1
a6113 1
	* .gdbinit (xhashtable): New command.
d6115 5
a6119 2
	* fns.c (sweep_weak_hash_tables): Fix the code taking unmarked
	tables out of the list of all weak hash tables.
d6121 14
a6134 3
	* xdisp.c (ensure_echo_area_buffers): If a buffer was killed, and
	a new buffer is created, make sure echo_area_buffer[] references
	the new buffer.
d6136 1
a6136 1
2000-08-07  Eli Zaretskii  <eliz@@is.elta.co.il>
d6138 6
a6143 2
	* msdos.c (Fmsdos_set_mouse_buttons): Add missing backslashes in
	the doc string.
d6145 6
a6150 1
2000-08-07  Kenichi Handa  <handa@@etl.go.jp>
d6152 2
a6153 2
	* syntax.c (skip_chars): Fix previous change.  Make the handling
	of unibyte string consistent with that of regex search.
d6155 5
a6159 1
2000-08-05  Gerd Moellmann  <gerd@@gnu.org>
d6161 1
a6161 1
	* xmenu.c (popup_get_selection): Use xfree instead of free.
d6163 2
a6164 1
	* fileio.c (Finsert_file_contents): Use xfree instead of free.
d6166 13
a6178 1
	* editfns.c (Ftranspose_regions): Use xfree instead of free.
d6180 9
a6188 1
	* callproc.c (child_setup): Use xfree instead of free.
d6190 1
a6190 3
	* sysdep.c (opendir, GetTempDirName, run_mac_command): Use xmalloc
	instead of malloc.
	(run_mac_command, closedir): Use `xfree' instead of `free'.
d6192 1
a6192 1
	* keymap.c (current_minor_maps): Use xmalloc instead of malloc.
d6194 1
a6194 1
	* eval.c (error): Use xfree instead of free.
d6196 1
a6196 1
	* xfaces.c, xfns.c, w32fns.c: Replace `illegal' with `invalid'.
d6198 2
a6199 2
	* fns.c: Replace `illegal' with `invalid'.
	(Fmake_hash_table, make_hash_table): Allow table size of 0.
d6201 1
a6201 1
2000-08-05  Kenichi Handa  <handa@@etl.go.jp>
d6203 2
a6204 2
	* syntax.c (skip_chars): Fix handling of multibyte<->unibyte
	conversion.
d6206 1
a6206 1
2000-08-04  Noah Friedman  <friedman@@splode.com>
d6208 2
a6209 2
	* fns.c (Fmake_hash_table): Add missing `\n\' to end of line in
	docstring.
d6211 1
a6211 1
2000-08-04  Gerd Moellmann  <gerd@@gnu.org>
d6213 5
a6217 1
	* syntax.c (skip_chars): Fix typo in error message.
d6219 1
a6219 1
2000-08-04  Andreas Schwab  <schwab@@suse.de>
d6221 2
a6222 1
	* m/ia64.h: Moved from s/ia64.h.
d6224 1
a6224 1
2000-08-04  Kenichi Handa  <handa@@etl.go.jp>
d6226 1
a6226 3
	* process.c (read_process_output): Big simplification.  Handle
	composition and post-read-conversion of coding system correctly.
	(send_process): Handle composition correctly.
d6228 1
a6228 2
	* callproc.c (Fcall_process): Handle post-read-conversion of
	coding system if any.
d6230 1
a6230 8
	* coding.c (decode_coding_iso2022): More strict check for handling
	single shifting.
	(coding_restore_composition): Pay attention to the case that
	cmp_data is not set properly (because of invalid code in the
	source text).
	(run_pre_post_conversion_on_str): Include text properties in the
	resulting string.
	(decode_coding_string): Set members of coding correctly.
d6232 6
a6237 1
2000-08-03  Gerd Moellmann  <gerd@@gnu.org>
d6239 1
a6239 1
	* s/ia64.h: New file.
d6241 2
a6242 4
	* widget.c (set_frame_size, update_wm_hints, EmacsFrameSetValues):
	Use NULL instead of 0 at the end of variable argument list of
	XtVaGetValues and XtVaSetValues, because 0 fails on systems where
	sizeof (int) < sizeof (void *).
d6244 3
a6246 2
	* xmenu.c (update_frame_menubar): Use NULL instead of 0 at the end
	of variable argument lists of XtVaGetValues and XtVaSetValues.
d6248 1
a6248 2
	* xfns.c (Fx_file_dialog): Use NULL instead of 0 at the end of
	variable argument lists of XtVaGetValues and XtVaSetValues.
d6250 1
a6250 1
2000-08-02  Gerd Moellmann  <gerd@@gnu.org>
d6252 1
a6252 2
	* alloc.c (lisp_malloc, lisp_free): Use size_t and POINTER_TYPE.
	(xrealloc, xmalloc): Use size_t.  Some callers adjusted.
d6254 7
a6260 2
	* lisp.h (Fsingle_key_description, xmalloc, xrealloc): Change
	prototype.
d6262 2
a6263 2
	* keyboard.c (read_char_minibuf_menu_prompt): Add new parameter
	in call to Fsingle_key_description.
d6265 3
a6267 2
	* keymap.c (Fsingle_key_description): Add parameter NO_ANGLES.
	Callers changed.
d6269 1
a6269 1
2000-08-02  Colin Walters <walters@@cis.ohio-state.edu>
d6271 4
a6274 4
	* window.c (display_buffer_reuse_frames): New variable.
	(Fdisplay_buffer): If display_buffer_reuse_frames is set, reuse
	frames displaying BUFFER.
	(syms_of_window): Define Lisp variable display-buffer-reuse-frames.
d6276 5
a6280 1
2000-08-01  Miles Bader  <miles@@gnu.org>
d6282 2
a6283 2
	* editfns.c (Fconstrain_to_field): Fix the conditions for deciding
	when to constrain NEW_POS (they were pretty screwed up before).
d6285 1
a6285 1
2000-07-31  Eli Zaretskii  <eliz@@is.elta.co.il>
d6287 4
a6290 7
	* msdos.c (run_msdos_command): Save and restore the master
	environment, for the case that child_setup signals an error.
	When mirroring slashes in DOS shell commands, don't fail when
	argv[2] has embedded blanks.
	(Fmsdos_set_mouse_buttons, mouse_setup_buttons): New functions.
	(syms_of_msdos): Defsubr Fmsdos_set_mouse_buttons.
	(dos_ttraw): Call mouse_setup_buttons.
d6292 3
a6294 2
	* callproc.c (child_setup) [MSDOS]: malloc pwd_var instead of
	using alloca; free it after run_msdos_command returns.
d6296 1
a6296 1
2000-07-27  Dave Love  <fx@@gnu.org>
d6298 2
a6299 2
	* s/irix6-5.h (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't define.
	[_MIPS_SZLONG == 64]: Set up for 64-bit mode -- not currently working.
d6301 1
a6301 1
	* m/iris4d.h (XUINT, XSET, XUNMARK) [_LP64]: Don't define.
d6303 1
a6303 1
2000-07-27  Eli Zaretskii  <eliz@@is.elta.co.il>
d6305 2
a6306 1
	* editfns.c (lisp_time_argument): Fix last change.
d6308 2
a6309 1
2000-07-27  Gerd Moellmann  <gerd@@gnu.org>
d6311 1
a6311 2
	* fns.c (Fdelete): Make it work on vectors and strings in addition
	to lists.
d6313 1
a6313 5
	* fns.c (Qkey_or_value, Qkey_and_value): New variables.
	(syms_of_fns): Initialize new variables.
	(sweep_weak_table): Handle weakness `key-or-value' and `key-and-value'.
	(Fmake_hash_table): Recognize `key-and-value' and `key-or-value'
	weakness, with t meaning the same as `key-and-value'.
d6315 1
a6315 1
2000-07-27  Kenichi Handa  <handa@@etl.go.jp>
d6317 1
a6317 1
	* coding.h (struct coding_system): Member safe_charset deleted.
d6319 1
a6319 24
	* coding.c (Qsafe_charsets): This variable deleted.
	(Qsafe_chars, Vchar_coding_system_table, Qchar_coding_system):
	New variables.
	(coding_safe_chars): New function.
	(CODING_SAFE_CHAR_P): New macro.
	(CHARSET_OK): New arg C.  Call CODING_SAFE_CHAR_P instead of
	checking safe_charsets member of the coding system.  Caller changed.
	(detect_coding_iso2022): New local variable safe_chars.
	(DECODE_DESIGNATION): Call CODING_SAFE_CHAR_P instead of checking
	safe_charsets member of the coding system.
	(decode_coding_iso2022): New local variable safe_chars.
	(ENCODE_ISO_CHARACTER_DIMENSION1): Don't check unsafe chars here.
	(ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
	(ENCODE_ISO_CHARACTER): Arguments changed.  Caller changed.
	(ENCODE_UNSAFE_CHARACTER): New macro.
	(encode_coding_iso2022): New local variable safe_chars.  Check
	unsafe chars.
	(setup_coding_system): Delete the code to initialize
	coding->safe_charses
	(intersection, find_safe_codings): New functions.
	(Ffind_coding_systems_region_internal): New function.
	(syms_of_coding): Defsubr it.  Initialize Qsafe_chars,
	Qsafe_cding_system.  Make Vchar_coding_system_table a Lisp
	variable and initialize it.
d6321 95
a6415 1
	* fns.c (char_table_ref_and_index): New function.
d6417 10
a6426 1
	* lisp.h (char_table_ref_and_index): Add prototype.
d6428 1
a6428 1
2000-07-26  Sam Steingold  <sds@@gnu.org>
d6430 1
a6430 2
	* editfns.c (lisp_time_argument): Added third argument `usec'.
	(Ffloat_time): New built-in Lisp function.
d6432 2
a6433 1
2000-07-26  Gerd Moellmann  <gerd@@gnu.org>
d6435 2
a6436 2
	* dispextern.h (GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bits
	for the character code.
d6438 2
a6439 2
	* config.in (HAVE_SOUND): Define only for FreeBSD, NetBSD and
	GNU/Linux.
d6441 1
a6441 3
	* xmenu.c (menu_highlight_callback): Call show_help_echo directly
	if called for a popup menu.
	(xmenu_show): Store help string in widget values.
d6443 1
a6443 1
2000-07-26  Dave Love  <fx@@gnu.org>
d6445 1
a6445 5
	* syswait.h: Move some definitions.
	(HAVE_SYS_WAIT_H): Undef for HPUX7, Convex.
	[!HAVE_SYS_WAIT_H]: Define things unconditionally.   More
	perspicuous definitions.
	(WTERMSIG): Fix bit pattern used.
d6447 2
a6448 1
2000-07-26  Kenichi Handa  <handa@@etl.go.jp>
d6450 2
a6451 2
	* print.c (print_object): If vector printing is truncated, print
	"..." to indicate it as well as the case of list printing.
d6453 2
a6454 1
2000-07-25  Gerd Moellmann  <gerd@@gnu.org>
d6456 2
a6457 1
	* xdisp.c (next_element_from_display_vector): Improve comments.
d6459 1
a6459 3
	* lisp.h (GLYPH_MASK_CHAR, GLYPH_MASK_FACE): Use 19 bits
	for the character code, and the rest for the face id as in 20.x.
	(FAST_GLYPH_FACE, FAST_MAKE_GLYPH): Changed accordingly.
d6461 1
a6461 1
	* window.c (window_display_table): Cleaned up.
d6463 1
a6463 2
	* syntax.c (Fforward_word): Add last arg nil in call of
	Fconstrain_to_field.
d6465 1
a6465 1
2000-07-25  Eli Zaretskii  <eliz@@is.elta.co.il>
d6467 2
a6468 3
	* fileio.c (Frename_file) [DOS_NT]: If the file names are
	identical but for the letter-case, don't call
	barf_or_query_if_file_exists.
d6470 3
a6472 1
2000-07-25  Miles Bader  <miles@@gnu.org>
d6474 5
a6478 8
	* editfns.c (find_field): Honor special `boundary' fields.
	(Qboundary): New variables.
	(syms_of_editfns): Initialize Qboundary.
	(Fconstrain_to_field): Add the INHIBIT-CAPTURE-PROPERTY argument.
	Use scan_buffer instead of find_before_next_newline, because it
	allows us to detect the boundary case where there's a newline at
	the search limit.
	* lisp.h (Fconstrain_to_field): Update external declaration.
d6480 1
a6480 1
2000-07-24  Gerd Moellmann  <gerd@@gnu.org>
d6482 11
a6492 2
	* print.c (temp_output_buffer_setup): Don't call1 Vrun_hooks
	if that is nil.
d6494 2
a6495 1
2000-07-24  Dave Love  <fx@@gnu.org>
d6497 2
a6498 2
	* s/sunos4-0.h, s/sol2.h:
	(LIBS_TERMCAP): Move from m/sparc.h.
d6500 1
a6500 4
	* m/sparc.h (TERMINFO): Moved to system files (probably only
	relevant for sunos4 judging by its vintage).
	(BITS_PER_LONG, BITS_PER_EMACS_INT, _LP64): Define conditional on
	__arch64__.
d6502 1
a6502 1
2000-07-24  Eli Zaretskii  <eliz@@is.elta.co.il>
d6504 2
a6505 2
	* xmenu.c (keymap_panes): Pass the keymap's prompt as the pane
	name to single_keymap_panes.
d6507 6
a6512 1
2000-07-24  Andreas Schwab  <schwab@@suse.de>
d6514 1
a6514 1
	* fns.c (Fmakehash): Pass Qeql to Fmake_hash_table if TEST is nil.
d6516 2
a6517 1
2000-07-24  Gerd Moellmann  <gerd@@gnu.org>
d6519 2
a6520 9
	* xdisp.c (with_echo_area_buffer): Take additional EMACS_INT
	parameters instead of using int parameters.  Expect FN to accept
	EMACS_INT parameters.
	(display_echo_area, resize_echo_area_axactly, current_message)
	(truncate_echo_area, set_message_1): Call with_echo_area_buffer
	with new argument list.
	(resize_mini_window_1): New callback function.
	(current_message_1, truncate_message_1, set_message_1): Change
	parameter lists to the new format expected by with_echo_area_buffer.
d6522 2
a6523 1
2000-07-24  Kenichi Handa  <handa@@etl.go.jp>
d6525 3
a6527 4
	* fontset.c (fontset_ref): Remove INLINE declaration.
	(fontset_ref_via_base): Likewise.
	(Fset_fontset_font): Convert FAMILY and REGISTRY specifications
	to downcase.
d6529 7
a6535 1
2000-07-23  Eli Zaretskii  <eliz@@is.elta.co.il>
d6537 2
a6538 3
	* msdos.c (IT_note_mouse_highlight): Process overlays in the
	correct order of priority.  If help echo was found in an overlay,
	use that overlay as the object in which the help echo was found.
d6540 1
a6540 1
2000-07-22  Miles Bader  <miles@@gnu.org>
d6542 10
a6551 3
	* textprop.c (Fprevious_single_char_property_change): The initial
	property value should be from the position preceding POSITION, not
	following it.
d6553 1
a6553 1
2000-07-22  Eli Zaretskii  <eliz@@is.elta.co.il>
d6555 6
a6560 2
	* coding.c (syms_of_coding): Doc fix for
	inhibit-iso-escape-detection.
d6562 1
a6562 1
2000-07-21  Gerd Moellmann  <gerd@@gnu.org>
d6564 2
a6565 2
	* xterm.c (note_mouse_highlight): Process overlays in the right
	order of priority.
d6567 1
a6567 1
	* keyboard.c (show_help_echo, gen_help_event): Extend comments.
d6569 4
a6572 2
	* xterm.c (note_mouse_highlight): If help-echo was found in an
	overlay, use that overlay as the object in which the help was found.
d6574 2
a6575 1
	* window.c (foreach_window_1): Fix typo reversing an if-condition.
d6577 1
a6577 10
	* window.c (foreach_window): Instead of a fake variable argument
	list, take one USER_DATA argument.
	(foreach_window_1): Likewise, and call callback functions with two
	args, the window and USER_DATA.
	(struct check_window_data): New struct.
	(check_window_containing): Use it.
	(window_from_coordinates): Set up a struct check_window_data for
	foreach_window.
	(add_window_to_list, freeze_window_start): Change parameters
	according to new calling convention.
d6579 1
a6579 1
	* window.h (foreach_window): Change prototype.
d6581 3
a6583 1
	* buffer.c (Fprevious_overlay_change): Avoid memory leak.
d6585 4
a6588 1
2000-07-21  Eli Zaretskii  <eliz@@is.elta.co.il>
d6590 1
a6590 2
	* xmenu.c (menu_help_callback): Call show_help_echo with
	additional arguments OBJECT and POS.
d6592 4
a6595 1
2000-07-21  Kenichi Handa  <handa@@etl.go.jp>
d6597 1
a6597 2
	* data.c (Faset): Allow storing any multibyte character in a
	string.  Convert unibyte string to multibyte if necessary.
d6599 2
a6600 3
	* xfns.c (x_encode_text): New function.
	(x_set_name): Use x_encode_text.
	(x_set_title): Likewise.
d6602 1
a6602 1
	* xselect.c (lisp_data_to_selection_data): Use x_encode_text.
d6604 2
a6605 1
	* xterm.h (x_encode_text): Add prototype.
d6607 1
a6607 1
2000-07-20  Dave Love  <fx@@gnu.org>
d6609 2
a6610 2
	* ccl.c (Fccl_execute_on_string): Don't check xmalloc return.  Use
	xfree, not free.
d6612 3
a6614 1
2000-07-20  Eli Zaretskii  <eliz@@is.elta.co.il>
d6616 1
a6616 6
	* msdos.c (help_echo_window): New variable.
	(syms_of_msdos): Initialize and staticpro it.
	(IT_note_mode_line_highlight): Set help_echo_window.
	(IT_note_mouse_highlight): Ditto.
	(dos_rawgetc): Store help_echo_window in the second event produced
	for HELP_EVENTs.
d6618 1
a6618 19
	* msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight):
	Record the object that generated the help echo and the position of
	that object in help_echo_object and help_echo_pos.  Record that
	some glyphs in a row are displayed in mouse-face.
	(IT_update_begin): Don't clear mouse highlight unless one of the
	enabled glyph rows is marked as being displayed in mouse-face.
	(dos_rawgetc): Generate 2 events for HELP_EVENT.  Pass the object
	and position recorded in help_echo_object and help_echo_pos to the
	event queue.
	(IT_menu_display): Accept a new argument PN: the pane number of
	the current menu pane.  Record the pane number and the item
	number of the item which has associated help string.
	(XMenuActivate): Update the prototype for help_callback in
	function declaration.  Call IT_menu_display with the current menu
	pane number as an additional argument.  Call help_callback with
	two additional arguments: the pane number and the item number of
	the menu item associated with the help text.
	(help_echo_object, help_echo_pos): New variables.
	(syms_of_msdos): Initialize them and staticpro help_echo_object.
d6620 2
a6621 1
	* msdos.h (XMenuActivate): Update prototype.
d6623 1
a6623 1
2000-07-19  Gerd Moellmann  <gerd@@gnu.org>
d6625 1
a6625 2
	* xdisp.c (with_echo_area_buffer): Call FN with more arguments.
	Add some more prototypes.
d6627 1
a6627 1
	* xterm.c, xterm.h: Add some more prototypes.
d6629 1
a6629 1
	* lisp.h (Fnext_single_char_property_change): Add prototype.
d6631 1
a6631 3
	* dispnew.c (direct_output_for_insert): Remove confusing
	outer local variable mouse_face_overwritten_p.
	(glyph_row_slice_p): Put in #ifdef GLYPH_DEBUG.
d6633 2
a6634 1
	* alloc.c (allocate_string_data): Don't copy old string contents.
d6636 1
a6636 1
2000-07-19  Kenichi Handa  <handa@@etl.go.jp>
d6638 1
a6638 2
	* coding.c (code_convert_region): Delete text properties before
	shrinking the conversion region.
d6640 1
a6640 1
2000-07-18  Gerd Moellmann  <gerd@@gnu.org>
d6642 1
a6642 2
	* dispnew.c (update_text_area): Write the whole row if it
	has mouse-face in it.
d6644 6
a6649 2
	* xfaces.c (face-alternative-font-family-alist): Remove
	DEFVAR_LISP; staticpro instead.
d6651 1
a6651 2
	* xmenu.c (menu_help_callback): Call show_help_echo with
	new arguments.
d6653 4
a6656 4
	* keyboard.c (show_help_echo): Add parameter WINDOW.
	(read_char): Call show_help_echo with window extracted from Lisp
	help event.
	(gen_help_event): Add parameter WINDOW.
d6658 9
a6666 1
	* keyboard.h (show_help_echo, gen_help_event): Change prototypes.
d6668 1
a6668 4
	* xterm.c (help_echo_window): New variable.
	(note_mouse_highlight, note_tool_bar_highlight): Set help_echo_window.
	(XTread_socket): Pass help_echo_window to gen_help_event.
	(syms_of_xterm): Initialize and staticpro help_echo_window.
d6670 2
a6671 1
2000-07-18  Dave Love  <fx@@gnu.org>
d6673 3
a6675 1
	* Makefile.in: Fix dependencies of blockinput.h on atimer.h, systime.h.
d6677 2
a6678 1
2000-07-18  Gerd Moellmann  <gerd@@gnu.org>
d6680 1
a6680 2
	* alloc.c (allocate_string_data): If string had already data
	assigned, copy old contents to new string data.
d6682 2
a6683 2
	* coding.c (syms_of_coding): Fix typo in spelling of variable
	`inhibit-iso-escape-detection'.
d6685 1
a6685 1
	* alloca.c (free) [emacs && EMACS_FREE]: Define as EMACS_FREE.
d6687 3
a6689 3
	* Makefile.in: Add dependencies on dispextern.h.
	(alloca.o): Don't define malloc and define EMACS_FREE instead of
	`free'; both can conflict with system header files.
d6691 6
a6696 1
2000-07-18  Kenichi Handa  <handa@@etl.go.jp>
d6698 15
a6712 2
	* charset.h (MAKE_CHAR): Return reasonable code even if CHARSET is
	undefined.
d6714 1
a6714 1
2000-07-18  Dave Love  <fx@@gnu.org>
d6716 3
a6718 1
	* window.c (Fwindow_list): Declare arg `window'.
d6720 2
a6721 1
2000-07-18  Kenichi Handa  <handa@@etl.go.jp>
d6723 7
a6729 2
	* coding.c (setup_coding_system): Don't override the explicitly
	specified designations.
d6731 3
a6733 1
2000-07-15  Miles Bader  <miles@@gnu.org>
d6735 2
a6736 5
	* editfns.c (char_property_eq, char_property_stickiness): Renamed
	from `text_property_eq' and `text_property_stickiness', respectively.
	(find_field, Fconstrain_to_field, char_property_eq)
	(char_property_stickiness): Changed to call char-property functions
	instead of text-property-only ones.
d6738 1
a6738 5
	* textprop.c (Fnext_single_char_property_change): Made a subr (was
	`next_single_char_property_change').  Do more error checking, and
	cleanup limit behavior.
	(Fprevious_single_char_property_change): New function.
	(syms_of_textprop): Initialize new subrs.
d6740 2
a6741 3
	* xdisp.c (display_prop_end, invisible_text_between_p):
	Call Fnext_single_char_property_change instead of
	next_single_char_property_change.
d6743 1
a6743 1
2000-07-15  Jason Rumney  <jasonr@@gnu.org>
d6745 2
a6746 4
	* w32menu.c (w32_menu_show): Call free_menubar_widget_value_tree
	after menu is finished with.
	(add_menu_item): Only consider wv->title as a menu title.
	(w32_menu_display_help): Add OBJECT and POS to show_help_echo.
d6748 2
a6749 4
	* w32fns.c (w32_wnd_proc) [WM_DRAW_ITEM]: Do not try to draw a
	null title.
	(FONT_REGEXP): Remove unused macro, and its sub-components.
	(syms_of_w32fns): Replace underscore in w32-enable-synthesized-fonts.
d6751 1
a6751 28
	* w32term.c (help_echo_object, help_echo_pos): New variables.
	(note_mode_line_highlight): Store additional information about the
	help-echo in help_echo_object and help_echo_pos.  Check both
	`local-map' and `keymap' properties for changing the cursor
	(note_mouse_highlight): Store additional information about the
	help-echo in help_echo_object and help_echo_pos.
	(note_tool_bar_highlight): Set help_echo_object to nil and
	help_echo_pos to -1.
	(w32_read_socket): Use gen_help_event instead of filling
	input_events manually.
	(syms_of_w32term): Staticpro help_echo_object.
	(x_update_window_end): Add parameter MOUSE_FACE_OVERWRITTEN_P. If
	set, arrange for a mouse-highlight redisplay in XTframe_up_to_date.
	(x_clear_mouse_face): New function.
	(w32_redisplay_interface): Add pointer to x_clear_mouse_face.
	(x_update_window_begin): No need to turn off the mouse
	highlight here.
	(show_mouse_face): Set the mouse_face_p flag of glyph rows
	depending on whether they contain glyphs highlighted in mouse-face.
	(x_fill_stretch_glyph_string): Consume runs of stretch
	glyphs instead of a single one.
	(BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string
	with new argument list.
	(x_set_glyph_string_gc): Make sure the face's GC is valid.
	(x_append_glyph, x_append_composite_glyph)
	(x_produce_image_glyph, x_append_stretch_glyph): Accomodate to
	changes in struct glyph starting 1999-12-27. See comments for
	xterm.c on 2000-07-05.
d6753 3
a6755 1
2000-07-14  Sam Steingold  <sds@@gnu.org>
d6757 1
a6757 2
	* xfaces.c (realize_x_face): Fix the last patch:
	check `default_face' before dereferencing.
d6759 3
a6761 1
2000-07-14  Dave Love  <fx@@gnu.org>
d6763 6
a6768 1
	* syntax.c (back_comment): Add null default in switch (for pcc).
d6770 5
a6774 1
2000-07-14  Kenichi Handa  <handa@@etl.go.jp>
d6776 1
a6776 2
	* xfaces.c (realize_x_face): Make fontset using the base of the
	default_face's fontset, not using the default fontset.
d6778 2
a6779 4
	* coding.c (inhibit_iso_escape_detection): New variable.
	(syms_of_coding): Make it a Lisp variable.
	(detect_coding_iso2022): If inhibit_iso_escape_detection is
	nonzero, ignore ISO2022's escape sequence.
d6781 1
a6781 1
2000-07-14  Gerd Moellmann  <gerd@@gnu.org>
d6783 2
a6784 1
	* alloca.c (malloc) [emacs]: Define as xmalloc.
d6786 6
a6791 2
	* xfns.c (Fx_show_tip): If frame parameters contain a position,
	use that instead of the mouse position.  Add parameters DX and DY.
d6793 1
a6793 2
	* dispextern.h (Fx_show_tip): Adjust number of parameters
	in prototype.
d6795 1
a6795 6
	* keyboard.c (show_help_echo): Add parameters OBJECT and POS.
	if HELP is a function, call it with OBJECT and POS as parameters
	to get the help to display.
	(gen_help_event, kbd_buffer_store_help_event): New functions.
	(kbd_buffer_get_event): Construct the Lisp help-event differently.
	(read_char): Call show_help_echo with new parameters.
d6797 2
a6798 2
	* keyboard.h (gen_help_event, kbd_buffer_store_help_event):
	Add prototypes.
d6800 1
a6800 11
	* xterm.c (help_echo_object, help_echo_pos): New variables.
	(note_mode_line_highlight): Store additional information about the
	help-echo in help_echo_object and help_echo_pos.  Check both
	`local-map' and `keymap' properties for changing the cursor
	(note_mouse_highlight): Store additional information about the
	help-echo in help_echo_object and help_echo_pos.
	(note_tool_bar_highlight): Set help_echo_object to nil and
	help_echo_pos to -1.
	(XTread_socket): Use gen_help_event instead of filling
	input_events manually.
	(syms_of_xterm): Staticpro help_echo_object.
d6802 1
a6802 3
	* xmenu.c (menu_highlight_callback): Use
	kbd_buffer_store_help_event instead of setting up and input_event
	structure manually.
d6804 3
a6806 5
	* xdisp.c (eval_form): GCPRO argument sexpr.
	(call_function): New function.
	(handle_single_display_prop): Use call_function and FUNCTIONP
	instead of checking whether if font_height is a symbol and
	using eval_form.
d6808 1
a6808 1
	* eval.c (internal_condition_case_2): New function.
d6810 2
a6811 2
	* lisp.h (FUNCTIONP): New macro.
	(internal_condition_case_2, call_function): Add prototypes.
d6813 1
a6813 4
	* xterm.c (construct_mouse_click, x_scroll_bar_to_input_event)
	(x_scroll_bar_handle_click, SET_SAVED_MENU_EVENT, XTread_socket):
	Always set `arg' member of input_events.
	(construct_menu_click): Unused function removed.
d6815 1
a6815 1
	* msdos.c (dos_rawgetc): Always set `arg' member of input_events.
d6817 3
a6819 3
	* w32term.c (construct_mouse_click, construct_mouse_wheel)
	(construct_drag_n_drop, x_scroll_bar_handle_click)
	(w32_read_socket): Always set `arg' member of input_events.
d6821 2
a6822 1
	* keyboard.c (show_help_echo): Use eval_form.  Add comment.
d6824 1
a6824 1
	* lisp.h (eval_form): Add prototype.
d6826 3
a6828 1
	* xdisp.c (eval_form): Make it externally visible.
d6830 1
a6830 1
2000-07-13  Gerd Moellmann  <gerd@@gnu.org>
d6832 1
a6832 6
	* xterm.c (x_handle_tool_bar_click): Store the frame in the
	frame_or_window slot of TOOL_BAR_EVENT input events instead of
	consing.  For prefix events, store the frame in the `arg' slot of
	the event, otherwise store the key there.
	(XTread_socket): Instead of consing, use the frame_or_window slot
	of HELP_EVENTs for the frame, and the `arg' slot for the help string.
d6834 1
a6834 4
	* xmenu.c (menu_highlight_callback): Store help string in the
	`arg' member of the input event; don't cons.
	(menubar_selection_callback): Use the `arg' slot of input events
	to queue additional information, instead of consing.
d6836 5
a6840 1
	* msdos.c (dos_rawgetc): Adapt to change of HELP_EVENTs.
d6842 2
a6843 3
	* w32term.c (w32_handle_tool_bar_click): Adapt to changes in
	TOOL_BAR_EVENTs.
	(w32_read_socket): Adapt to changes in HELP_EVENTs.
d6845 1
a6845 2
	* w32menu.c (menubar_selection_callback): Use the `arg' slot of
	input events to queue additional information, instead of consing.
d6847 5
a6851 17
	* keyboard.c (kbd_buffer_gcpro): Renamed from
	kbd_buffer_frame_or_window.  Now used for all Lisp objects
	referenced from the input queue.
	(kbd_buffer_store_event): Always use structure assignment for
	copying input events.  Record all Lisp objects referenced from
	events in kbd_buffer_gcpro.
	(kbd_buffer_get_event): Construct Lisp `help-echo' events
	differently from input events.  Test for prefix menu_bar_events
	and TOOL_BAR_EVENTs differently.  Reset all slots used by an input
	event in kbd_buffer_gcpro to nil.
	(make_lispy_event) <TOOL_BAR_EVENT>: Treat an input event whose
	frame_or_window is equal to its arg member as prefix events.
	(stuff_buffered_input): Reset all slots in kbd_buffer_gcpro
	used by an input event to nil.
	(init_keyboard): Use two times the size of the input queue
	for kbd_buffer_gcpro.
	(syms_of_keyboard): Likewise.
d6853 5
a6857 2
	* emacs.c (handle_USR2_signal, handle_USR1_signal):
	Use USER_SIGNAL_EVENT.
d6859 1
a6859 3
	* termhooks.h (struct input_event): Add member `arg'.
	(MENU_BAR_EVENT): Renamed from menu_bar_event.
	(USER_SIGNAL_EVENT): Renamed from user_signal.
d6861 1
a6861 1
	* xfaces.c (ASET): Remove definition.
d6863 1
a6863 1
	* lisp.h (AREF, ASET, ASIZE): New macros.
d6865 1
a6865 1
	* fontset.c (AREF, ASIZE): Remove definitions.
d6867 3
a6869 1
	* fns.c (AREF): Remove definition.
d6871 2
a6872 1
	* composite.c (AREF): Remove definition.
d6874 2
a6875 1
2000-07-12  Gerd Moellmann  <gerd@@gnu.org>
d6877 1
a6877 2
	* dispnew.c (redraw_overlapped_rows): Add missing local.
	(scrolling_window): Remove debug code.
d6879 3
a6881 3
	* xdisp.c (try_window_reusing_current_matrix, try_window_id):
	Before scrolling, turn off a mouse-highlight in the window
	being scrolled.
d6883 1
a6883 5
	* xterm.c (x_update_window_end): Add parameter
	MOUSE_FACE_OVERWRITTEN_P.  If set, arrange for a mouse-highlight
	redisplay in XTframe_up_to_date.
	(x_clear_mouse_face): New function.
	(x_redisplay_interface): Add pointer to x_clear_mouse_face.
d6885 6
a6890 8
	* dispnew.c (make_current): Preserve the mouse_face_p flag of the
	current glyph row.
	(update_window_line): Add parameter MOUSE_FACE_OVERWRITTEN_P.  Set
	it when any row is written to that contains glyphs highlighted in
	mouse-face.
	(update_window): Call the window update end hook with new
	parameter MOUSE_FACE_OVERWRITTEN_P.
	(direct_output_for_insert): Give up if row contains mouse-face.
d6892 1
a6892 3
	* dispextern.h (struct redisplay_interface): Add parameter
	MOUSE_FACE_OVERWRITTEN_P to update_window_end_hook function.
	(clear_mouse_face): New function pointer member.
d6894 1
a6894 1
2000-07-11  Stefan Monnier  <monnier@@cs.yale.edu>
d6896 1
a6896 7
	* syntax.c (back_comment): Use one switch rather than a few `if's.
	Obey open_paren_in_column_0_is_defun_start.
	When reverting to the `slow' method, try to nicely handle the case
	of nested comments by checking that the comment-starter we found
	does indeed match the comment-ender.
	(scan_sexps_forward, scan_sexps_forward):
	Ignore excessive opening parenthesis rather than throwing an error.
d6898 3
a6900 1
2000-07-11  Gerd Moellmann  <gerd@@gnu.org>
d6902 2
a6903 2
	* doc.c (Fsubstitute_command_keys): Handle case that a GC
	in Fwhere_is_internal or get_keymap_1 relocates string contents.
d6905 1
a6905 2
	* dispnew.c (direct_output_forward_char): Give up if currently
	displaying a message instead of the minibuffer contents.
d6907 2
a6908 4
	* xterm.c (x_update_window_begin): No need to turn off the mouse
	highlight here.
	(show_mouse_face): Set the mouse_face_p flag of glyph rows
	depending on whether they contain glyphs highlighted in mouse-face.
d6910 1
a6910 2
	* dispnew.c (row_equal_p): Add parameter MOUSE_FACE_P.  If set,
	compare the mouse_face_p flags of both rows.
d6912 2
a6913 1
	* dispextern.h (struct glyph_row): Add flag mouse_face_p.
d6915 1
a6915 1
2000-07-11  Eli Zaretskii  <eliz@@is.elta.co.il>
d6917 1
a6917 9
	* keyboard.c (show_help_echo): Accept additional parameter
	ok_to_overwrite_keystroke_echo.
	(read_char): Call show_help_echo with a zero
	ok_to_overwrite_keystroke_echo argument.
	* keyboard.h (show_help_echo): Update prototype of show_help_echo.
	* xmenu.c (menu_help_callback): Call show_help_echo with non-zero
	ok_to_overwrite_keystroke_echo argument.
	* w32menu.c (w32_menu_display_help): Call show_help_echo with
	non-zero ok_to_overwrite_keystroke_echo argument.
d6919 1
a6919 1
2000-07-10  Gerd Moellmann  <gerd@@gnu.org>
d6921 1
a6921 3
	* xdisp.c (try_window_id): If changes are all below what is
	displayed in the window, and point is in the window, we still
	might have to find point on the display.
d6923 2
a6924 5
	* xterm.c (x_fill_stretch_glyph_string): Consume runs of stretch
	glyphs instead of a single one.
	(BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string
	with new argument list.
	(x_set_glyph_string_gc): Make sure the face's GC is valid.
d6926 2
a6927 4
	* keymap.c (get_keymap_1): Add comment that this function can GC.
	(where_is_internal_2, where_is_internal_1): Add GCPROs, add
	comment that functions can GC.
	(Fset_keymap_parent): GCPRO arg KEYMAP.
d6929 2
a6930 1
2000-07-10  Eli Zaretskii  <eliz@@is.elta.co.il>
d6932 1
a6932 2
	* msdos.c (XMenuActivate): After exiting the menu, restore the
	echo area message and erase it.
d6934 8
a6941 1
2000-07-10  Kenichi Handa  <handa@@etl.go.jp>
d6943 2
a6944 2
	* fontset.c (Ffontset_info): Make the return value more compatible
	with that of Emacs 20.
d6946 3
a6948 1
2000-07-07  Gerd Moellmann  <gerd@@gnu.org>
d6950 1
a6950 1
	* eval.c (Fsignal): Handle case that backtrace_list is null.
d6952 2
a6953 1
2000-07-07  Kenichi Handa  <handa@@etl.go.jp>
d6955 1
a6955 1
	* ccl.c (Fccl_execute): Typo fixed.
d6957 3
a6959 1
2000-07-06  Gerd Moellmann  <gerd@@gnu.org>
d6961 5
a6965 1
	* window.c (window_loop): Add missing gcpro1 local variable.
d6967 2
a6968 4
	* window.c (Fwindow_list): Reverse list at the end.
	(candidate_window_p): Add parameter OWINDOW.  ALL_FRAMES nil
	means allow windows on OWINDOW's frame, only.
	(window_loop): Simplified; use Fwindow_list.
d6970 1
a6970 1
	* Makefile.in (TAGS-LISP): Don't pass `$(lispsource)' to make.
d6972 155
a7126 1
2000-07-05  Gerd Moellmann  <gerd@@gnu.org>
d7128 110
a7237 2
	* xterm.c (XTread_socket): Increment handling_signal at the start,
	decrement it at the end.
d7239 3
a7241 2
	* eval.c (handling_signal): New variable.
	(Fsignal): Abort if handling_signal is non-zero.
d7243 5
a7247 1
	* lisp.h (handling_signal): External declaration.
d7249 1
a7249 1
	* s/freebsd.h (WAITTYPE, WRETCODE): Put in #if 0.
d7251 2
a7252 1
2000-07-05  Ken Raeburn  <raeburn@@gnu.org>
d7254 2
a7255 9
	Sound support for NetBSD through "Linux emulation" support:
	* config.in (HAVE_SOUNDCARD_H): Undef.
	(HAVE_SOUND): Define if HAVE_SOUNDCARD_H.
	* Makefile.in (LIBSOUND): New variable.
	(LIBES): Include it.
	* sound.c [HAVE_SOUNDCARD_H]: Include <sys/ioctl.h> and <soundcard.h>.
	(DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined elsewhere.
	(vox_open): Use DEFAULT_SOUND_DEVICE.
	* s/netbsd.h (DEFAULT_SOUND_DEVICE): Define to /dev/audio.
d7257 1
a7257 1
2000-07-05  Gerd Moellmann  <gerd@@gnu.org>
d7259 1
a7259 2
	* print.c (print_error_message): If Vsignaling_function is set,
	show it in *Messages*.
d7261 1
a7261 1
	* lisp.h (Vsignaling_function): External declaration.
d7263 2
a7264 3
	* eval.c (Vsignaling_function): New variable.
	(Fsignal): Compute it.
	(syms_of_eval): Staticpro it.
d7266 1
a7266 1
2000-07-05  Dave Love  <fx@@gnu.org>
d7268 1
a7268 2
	* syswait.h: Use the autoconf recommended approach.  Old code
	#if'd out in case we need to revert.
d7270 1
a7270 1
	* config.in (HAVE_SYS_WAIT_H): Added.
d7272 2
a7273 1
2000-07-05  Andrew Innes  <andrewi@@gnu.org>
d7275 1
a7275 4
	* vm-limit.c (check_memory_limits) [REL_ALLOC]: Use real_morecore
	when non-NULL instead of __morecore, to take account of buffer
	memory.  This also solves a problem with spurious memory warnings
	on Windows.
d7277 1
a7277 1
	* ralloc.c: Make real_morecore non-static.
d7279 2
a7280 2
	* eval.c (internal_condition_case): Comment out abort if
	interrupt_input_blocked is not zero.
d7282 3
a7284 3
	* makefile.nt: Add support for `bootstrap' and related targets.
	Include minimal debug info in emacs.exe in release build.
	Remove all dependencies on lisp.h, and fixup some others.
d7286 1
a7286 5
	* w32.c (init_environment): Install code from 20.7 for providing
	default values for environment variables, based on the
	executable's own location.
	(map_w32_filename): Handle filenames that are longer than MAX_PATH.
	(sys_socket): Install socket inheritance bug fix from 20.7.
d7288 6
a7293 2
	* alloca.c [emacs]: Include lisp.h (needed by atimer.h included
	here via blockinput.h).
d7295 2
a7296 1
2000-07-05  Stefan Monnier  <monnier@@cs.yale.edu>
d7298 5
a7302 2
	* w32menu.c (w32_menu_display_help):
	* xmenu.c (menu_help_callback): Use show_help_echo.
d7304 6
a7309 1
	* keyboard.h (show_help_echo): Declare.
d7311 2
a7312 4
	* keyboard.c (show_help_echo): New function, extracted from read_char.
	Feval its `msg' argument if it's a cons cell.
	(read_char): Use it.
	(follow_key): Pass `autoload' to get_keyelt.
d7314 3
a7316 7
	* xterm.c (note_mode_line_highlight, note_mouse_highlight)
	(note_tool_bar_highlight, XTread_socket):
	* msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight)
	(dos_rawgetc):
	* w32term.c (note_mode_line_highlight, note_mouse_highlight)
	(note_tool_bar_highlight, w32_read_socket):
	Do not gratuitously ignore non-string `help-echo' properties.
d7318 1
a7318 1
2000-07-05  Gerd Moellmann  <gerd@@gnu.org>
d7320 2
a7321 1
	* eval.c (Feval): Put check for interrupt_input_block in #if 0.
d7323 4
a7326 1
	* window.c (delete_all_subwindows): Reset Vwindow_list.
d7328 1
a7328 9
	* xterm.c (x_append_glyph, x_append_composite_glyph)
	(x_produce_image_glyph, x_append_stretch_glyph): Accomodate to
	changes in struct glyph starting 1999-12-27.  Some bit-fields of
	struct glyph were not set, which made glyphs unequal when compared
	with GLYPH_EQUAL_P.  Redisplay outputs such glyphs, and flickering
	effects were the result.  This also depended on the contents of
	memory returned by xmalloc.  If flickering happens again, activate
	the code in clear_glyph_row that's in #if 0.  If the flickering is
	gone with that, chances are that it is caused by something similar.
d7330 2
a7331 1
	* dispnew.c (clear_glyph_row): Add debug code in #if 0.
d7333 1
a7333 1
	* dispextern.h: Add some comments.
d7335 1
a7335 5
	* window.c (add_window_to_list): Add parameter LIST.
	(window_list): Order list so that, for each frame, windows are
	in canonical order, and so that frames appear in the list in
	the order given by Vframe_list.
	(next_window): Reverse the handling of NEXT_P.
d7337 2
a7338 1
2000-07-04  Gerd Moellmann  <gerd@@gnu.org>
d7340 1
a7340 16
	* window.c (Vwindow_list): New variable.
	(make_window, delete_window): Set Vwindow_list to nil.
	(check_window_containing): New function.
	(window_from_coordinates): Rewritten.
	(add_window_to_list, window_list, candidate_window_p)
	(decode_next_window_args, next_window): New functions.
	(Fnext_window, Fprevious_window): Rewritten in terms of next_window.
	(Fwindow_list): New function.
	(Fother_window): Cleaned up.
	(foreach_window): Add a longer "variable argument list".  Let
	callback function return 0 to indicate that cycling over windows
	should stop.
	(foreach_window_1): Likewise.
	(freeze_window_start): Return int.
	(init_window): New function.
	(syms_of_window): Staticpro Vwindow_list and defsubr Swindow_list.
d7342 2
a7343 3
	* emacs.c (handle_USR1_signal, handle_USR2_signal) Clear
	input_event with bzero.
	(main): Call init_window.
d7345 2
a7346 2
	* keymap.c (get_keyelt): Temporarily inhibit GC while evaluating
	a menu filter.
d7348 2
a7349 1
2000-07-04  Kenichi Handa  <handa@@etl.go.jp>
d7351 1
a7351 1
	* composite.h (make_composition_value_copy): Extern it.
d7353 1
a7353 1
	* composite.c (make_composition_value_copy): New function.
d7355 3
a7357 2
	* editfns.c (Fformat): While copying text properties, make each
	composition property value a copy.
d7359 6
a7364 2
	* fns.c (concat): While copying text properties, make each
	composition property value a copy.
d7366 1
a7366 1
2000-07-03  Gerd Moellmann  <gerd@@gnu.org>
d7368 1
a7368 1
	* m/macppc.h (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define.
d7370 1
a7370 2
	* fns.c (sweep_weak_table): Mark only objects that are not
	marked already.
d7372 2
a7373 3
	* frame.c (next_frame, prev_frame): If MINIBUF is a window,
	include those frames as candidates which have their focus
	redirected to the minibuffer frame.
d7375 1
a7375 1
2000-07-03  Stefan Monnier  <monnier@@cs.yale.edu>
d7377 6
a7382 1
	* fns.c (Fputhash): Return `value' rather than nil.
d7384 2
a7385 1
2000-06-30  Gerd Moellmann  <gerd@@gnu.org>
d7387 1
a7387 5
	* frame.c (next_frame): Don't check focus redirection in case
	MINIBUF is a window.  Doing so excludes frames using MINIBUF
	unless their focus is redirected, which contradicts the
	specification of next-frame, and leads to infinite loops in
	certain situations when cycling through windows with next-window.
d7389 2
a7390 1
2000-06-30  Kenichi Handa  <handa@@etl.go.jp>
d7392 1
a7392 3
	* coding.c (code_convert_region): Even if the length of text is
	zero, try to convert it if coding->type is coding_type_ccl.
	(decode_coding_string, encode_coding_string): Likewise.
d7394 1
a7394 1
2000-06-28  Gerd Moellmann  <gerd@@gnu.org>
d7396 2
a7397 2
	* xdisp.c (try_window_reusing_current_matrix): Don't try to reuse
	the display if windows_or_buffers_changed.
d7399 1
a7399 10
	* dispnew.c (struct row_entry): New structure.
	(row_entry_pool, row_entry_pool_size, row_entry_idx, row_table)
	(row_table_size, old_lines, new_lines, old_lines_size)
	(new_lines_size, run_pool, runs_size, runs): New variables.
	(add_row_entry): New function.
	(scrolling_window): Use data structures allocated with xmalloc and
	held in global variables, instead of allocating them with alloca and
	holding them in local variables.  Use a larger hash table whose
	size depends on glyph matrix sizes.  Don't use bzero to clear the
	hash table; instead, clear used slots only.
d7401 2
a7402 1
	* fns.c (next_almost_prime): Make it externally visible.
d7404 2
a7405 1
	* lisp.h (next_almost_prime): Add prototype.
d7407 1
a7407 1
	* s/isc4-0.h (sigunblock): Define.
d7409 4
a7412 1
	* s/sco5.h (sigunblock): Define.
d7414 3
a7416 1
2000-06-27  Dave Love  <fx@@gnu.org>
d7418 1
a7418 3
	* s/osf1.h (C_SWITCH_SYSTEM, LIBS_SYSTEM): Revert last change
	(moved to osf5-0.h).
	[!NOT_C_CODE]: Protect string.h stuff.
d7420 1
a7420 2
	* s/osf5-0.h (C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
	(sys_siglist, NSIG): Definitions moved here from osf1.h.
d7422 2
a7423 1
2000-06-27  Gerd Moellmann  <gerd@@gnu.org>
d7425 1
a7425 2
	* xdisp.c (resize_mini_window): Subtract the extra line spacing
	below the last line from the needed window height.
d7427 1
a7427 1
2000-06-26  Stefan Monnier  <monnier@@cs.yale.edu>
d7429 3
a7431 3
	* fns.c (Fplist_member): Renamed from Fwidget_plist_member.
	(Fwidget_get): Use it.
	(syms_of_fns): Defsubr it.
d7433 3
a7435 1
2000-06-26  Gerd Moellmann  <gerd@@gnu.org>
d7437 1
a7437 4
	* xterm.c (xim_initialize) [!USE_XIM]: Don't set up the
	display info for XIM.
	(xim_open_dpy): Likewise.
	(xim_close_dpy): Don't free the display info's XIM.
d7439 1
a7439 1
	* xfns.c (x_window) [!USE_XIM]: Don't call create_frame_ic.
d7441 1
a7441 1
	* config.in (USE_XIM): New define.
d7443 3
a7445 3
	* keymap.c (get_keyelt): For menu-items containing a `:filter
	FILTER', apply FILTER to the menu-item's definition to get the
	real definition to use.
d7447 4
a7450 1
	* lisp.h (QCfilter): External declaration.
d7452 1
a7452 2
	* xfns.c (Fimage_size): New function.
	(syms_of_xfns): Defsubr it.
d7454 1
a7454 1
2000-06-26  Andreas Schwab  <schwab@@suse.de>
d7456 1
a7456 2
	* coding.c (decode_coding_string): Re-fetch STRING_BYTES after
	Fstring_as_unibyte.
d7458 1
a7458 1
2000-06-25  Dave Love  <fx@@gnu.org>
d7460 2
a7461 1
	* term.c [!HAVE_TERMCAP_H]: Declare tputs, tgetent, tgetflag, tgetnum.
d7463 2
a7464 2
	* Makefile.in (blockinput.h): Depend on atimer.h.
	(atimer.h): Depend on systime.h.
d7466 7
a7472 1
	* blockinput.h: Protect against multiple inclusion.  Include atimer.h.
d7474 1
a7474 1
	* atimer.h: Protect against multiple inclusion.  Include systime.h.
d7476 2
a7477 1
	* lisp.h (swap_in_global_binding): Declare.
d7479 2
a7480 1
2000-06-24  Ken Raeburn  <raeburn@@gnu.org>
d7482 1
a7482 2
	* process.c (Fopen_network_stream): Turn off atimers for duration
	of call to connect.  (Patch from Gerd.)
d7484 1
a7484 1
2000-06-23  Dave Love  <fx@@gnu.org>
d7486 3
a7488 1
	* ralloc.c: Maybe include unistd.h
d7490 4
a7493 2
	* emacs.c (setgrp): Undefine before defining.
	(malloc_warning, set_time_zone_rule, index): Prototype.
d7495 1
a7495 2
	* systime.h (EMACS_GET_TIME) [!GETTIMEOFDAY_ONE_ARGUMENT]: Use
	HAVE_STRUCT_TIMEZONE.
d7497 2
a7498 6
	* s/osf1.h: Move string.h hack here from alpha.h and make it
	conditional.
	(C_SWITCH_SYSTEM): Use _OSF_SOURCE, not -BSD, which clashes with
	_XOPEN_SOURCE.
	(WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist, NSIG): Define.
	(SOCKLEN_TYPE): Don't define.
d7500 1
a7500 1
	* m/alpha.h: Remove string.h hack.
d7502 1
a7502 1
	* s/osf5-0.h: New file.
d7504 2
a7505 3
	* filelock.c: Use feature tests for fcntl.h, string.h.  Don't
	include time.h, done by systime.h.
	[__FreeBSD__]: Remove redundant includes.
d7507 2
a7508 2
	* callproc.c (setpgrp): Undefine before defining.
	(delete_temp_file): Return Qnil to avoid warning.
d7510 1
a7510 1
	* config.in (HAVE_TERM_H, HAVE_STRUCT_TIMEZONE): Add.
d7512 1
a7512 2
	* xfaces.c: Include fontset.h dependent on HAVE_WINDOW_SYSTEM, not
	HAVE_X_WINDOWS.
d7514 2
a7515 1
	* fontset.h (free_face_fontset): Renamed from fs_free_face_fontset.
d7517 6
a7522 1
	* composite.h (compose_text): Declare.
d7524 1
a7524 2
	* xterm.c: Don't include sys/types.h unconditionally.  Don't
	protect its inclusion with !USG (following xmenu.c).
d7526 5
a7530 1
2000-06-23  Gerd Moellmann  <gerd@@gnu.org>
d7532 1
a7532 2
	* xfns.c (x_create_tip_frame): Initialize frame's colors like
	in x_create_frame.
d7534 5
a7538 1
2000-06-23  Eli Zaretskii  <eliz@@is.elta.co.il>
d7540 1
a7540 2
	* coding.c (decode_eol_post_ccl): Special handling for undecided
	and inconsistent EOL types.
d7542 1
a7542 1
2000-06-22  Gerd Moellmann  <gerd@@gnu.org>
d7544 6
a7549 2
	* xrdb.c (x_load_resources): Add default resource for scroll bar's
	trough color and main window's background color.
d7551 1
a7551 1
	* xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events differently.
d7553 1
a7553 1
	* xterm.h (Xt_app_con): External declaration.
d7555 1
a7555 1
	* widget.c (EmacsFrameRealize): Fix typo.
d7557 2
a7558 1
	* widget.c (EmacsFrameRealize): Remove SubstructureRedirectMask.
d7560 2
a7561 13
	* xdisp.c (handle_stop): Initialize it->add_overlay_start to zero.
	(handle_invisible_prop): Record the start of invisible text in
	it->add_overlay_start.
	(struct overlay_entry): Add member `overlay'.
	(handle_overlay_change): Simplify.
	(next_overlay_string): After having processed overlay strings at the
	end of the buffer, record that fact in
	it->overlay_strings_at_end_processed_p.
	(compare_overlay_entries): If before- and after-strings come
	from the same overlay, let before-strings come first.
	(RECORD_OVERLAY_STRING): Record the overlay that strings come from.
	(load_overlay_strings): Take it->add_overlay_start into account
	when adding overlay strings.
d7563 3
a7565 1
	* dispextern.h (struct it): Add member add_overlay_start.
d7567 3
a7569 1
2000-06-22  Dave Love  <fx@@gnu.org>
d7571 1
a7571 1
	* s/isc3-0.h (C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500.
d7573 5
a7577 1
	* s/gnu-linux.h (C_SWITCH_SYSTEM): Don't define _XOPEN_SOURCE here.
d7579 1
a7579 1
2000-06-22  Kenichi Handa  <handa@@etl.go.jp>
d7581 1
a7581 2
	* ccl.c (ccl_driver) <CCL_End>: Decrement stack_idx only when it
	is greater than 0.
d7583 1
a7583 1
2000-06-21  Dave Love  <fx@@gnu.org>
d7585 8
a7592 1
	* Makefile.in (GETLOADAVG_OBJ): Removed -- LIBOBJS does it.
d7594 1
a7594 1
2000-06-21  Stefan Monnier  <monnier@@cs.yale.edu>
d7596 2
a7597 5
	* syntax.c (back_comment): Simplify string-parity counting (with
	the added benefit of handling multiple string-styles as long as
	they are not intertwined).
	Jump to the slow code as soon as a comment starter is found in
	a "string_lossage" position.  Fixes the case:  " /* " /* " */.
d7599 4
a7602 1
2000-06-21  Dave Love  <fx@@gnu.org>
d7604 1
a7604 1
	* Makefile.in: Use GETLOADAVG_LIBS.
d7606 3
a7608 2
	* config.in: Add HAVE_FCNTL_H, _FILE_OFFSET_BITS,
	_LARGEFILE_SOURCE, _LARGE_FILES, _XOPEN_SOURCE.
d7610 1
a7610 1
2000-06-20  Stefan Monnier  <monnier@@cs.yale.edu>
d7612 3
a7614 7
	* syntax.c (describe_syntax): Recognize the `n'estable bit.
	(Fforward_comment, scan_lists):
	Check the comstyle of single-char comment-starters.
	(scan_sexps_forward): Don't try to recognize `half comment-enders' if
	we're just at the beginning of the comment (f.ex with (*) ... (*)).
	Check the comstyle of single-char comment-starters.
	Clarify control-flow around the Scomment case.
d7616 1
a7616 1
2000-06-20  Dave Love  <fx@@gnu.org>
d7618 8
a7625 2
	* fns.c (make_hash_table, maybe_resize_hash_table):
	Cast arg of next_almost_prime.
d7627 1
a7627 1
	* tparam.c [emacs]: Include lisp.h.
d7629 50
a7678 2
	* termcap.c [emacs]: Test HAVE_FCNTL_H, not USG5.  Include lisp.h
	and unistd.h.
d7680 1
a7680 1
2000-06-20  Gerd Moellmann  <gerd@@gnu.org>
d7682 2
a7683 2
	* keyboard.c (adjust_point_for_property): Check if display
	property should be treated as intangible by looking at its value.
d7685 1
a7685 2
	* xdisp.c (single_display_prop_intangible_p)
	(display_prop_intangible_p): New functions.
d7687 4
a7690 1
	* dispextern.h (display_prop_intangible_p): Add prototype.
d7692 3
a7694 1
	* xdisp.c (dump_glyph_row): Show type of glyph->object.
d7696 1
a7696 2
	* s/isc4-0.h (sigblock): Redefined to pass a pointer as second
	argument to sigprocmask.
d7698 1
a7698 2
	* s/sco5.h (sigblock): Redefined to pass a pointer as second
	argument to sigprocmask.
d7700 4
a7703 2
	* syssignal.h (sigblock, sigunblock) [USG5_4]: Set
	sigprocmask_set, and pass a pointer to it to sigprocmask.
d7705 1
a7705 1
	* sysdep.c (sigprocmask_set): New variable.
d7707 1
a7707 2
	* fileio.c (make_temp_name): Don't use `%s' in string passed to
	report_file_error.
d7709 1
a7709 1
2000-06-20  Sam Steingold  <sds@@gnu.org>
d7711 1
a7711 1
	* xrdb.c: Don't declare xmalloc, xrealloc.
d7713 4
a7716 1
2000-06-20  Stefan Monnier  <monnier@@cs.yale.edu>
d7718 4
a7721 3
	* regex.c (re_match, re_match_2): Protect calls to alloca (0).
	(re_comp): Cast gettext return value to avoid complaints when
	!HAVE_LIBINTL.
d7723 1
a7723 1
2000-06-20  Dave Love  <fx@@gnu.org>
d7725 6
a7730 1
	* m/stride.h, m/mips.h: Don't define HAVE_GETWD, HAVE_GETTIMEOFDAY.
d7732 1
a7732 1
	* m/ibmrt-aix.h: Don't declare HAVE_GETTIMEOFDAY, HAVE_VFORK.
d7734 1
a7734 1
	* m/ibmrs6000.h, m/ibmps2-aix.h, m/dpx2.h: Don't declare HAVE_GETWD.
d7736 5
a7740 1
	* m/alpha.h: Don't declare xmalloc, xrealloc.
d7742 2
a7743 1
	* s/ux4800.h: Don't declare GETTIMEOFDAY_ONE_ARGUMENT.
d7745 2
a7746 1
	* s/usg5-4-2.h: Don't declare HAVE_GETWD, VFORK_RETURN_TYPE.
d7748 1
a7748 1
	* s/umips.h: Don't declare HAVE_GETWD, HAVE_GETTIMEOFDAY.
d7750 2
a7751 2
	* s/cxux.h, s/gnu-linux.h, s/iris3-6.h, s/irix3-3.h: Don't declare
	HAVE_GETWD.
d7753 1
a7753 1
	* keyboard.h (poll_for_input_1): Declare.
d7755 1
a7755 1
	* getloadavg.c: Don't define NLIST_STRUCT (handled by configure).
d7757 5
a7761 1
	* alloc.c (xmalloc, xrealloc, xfree): Define using POINTER_TYPE.
d7763 1
a7763 1
	* doprnt.c: Don't declare xmalloc, xrealloc.
d7765 2
a7766 3
	* lisp.h (x_set_tool_bar_lines, free_frame_xic, compose_text)
	(getenv, ctime, getwd): Removed.
	(xmalloc, xrealloc, xfree): Declare using POINTER_TYPE.
d7768 5
a7772 2
	* xterm.h: Remove duplicate prototypes.  Declare free_frame_xic,
	x_set_tool_bar_lines.
d7774 1
a7774 2
	* config.in: Add HAVE_GETWD.  Move some definitions above
	machine/system includes.
d7776 13
a7788 1
2000-06-20  Kenichi Handa  <handa@@etl.go.jp>
d7790 3
a7792 1
	* s/bsd386.h (HAVE_GETLOADAVG): Define it as 1.
d7794 1
a7794 2
	* xfaces.c (font_list): Handle the case that REGISTRY doesn't
	contain information about ENCODING.
d7796 1
a7796 8
	* fontset.c (FONTSET_ASCII): Use the first element of char table
	for an ASCII font, not defalt slot.
	(fontset_ref_via_base): If FONTSET doesn't contain information for
	C, try the default fontset.
	(make_fontset): Don't copy the default fontset.
	(fontset_font_pattern): Likewise.
	(accumulate_font_info): If ELT is nil, use the corresponding
	element in the default fontset.
d7798 25
a7822 1
2000-06-19  Dave Love  <fx@@gnu.org>
d7824 1
a7824 1
	* syntax.c (Fparse_partial_sexp): Doc fix.
d7826 4
a7829 1
	* regex.h: Test PROTOTYPES as well as __STDC__.
d7831 1
a7831 2
	* unexalpha.c: Include errno.h, string.h, unistd.h.  Don't declare
	errno, strerror.  Put text after #endif in comment.
d7833 2
a7834 1
	* xdisp.c (dump_glyph_matrix): Add `static' to declaration (for pcc).
d7836 22
a7857 1
	* xterm.c (x_frame_of_widget): Likewise.
d7859 13
a7871 1
2000-06-19  Gerd Moellmann  <gerd@@gnu.org>
d7873 113
a7985 2
	* abbrev.c (syms_of_abbrev): Set buffer_default's abbrev table
	to Vfundamental_mode_abbrev_table.
d7987 3
a7989 4
	* alloc.c (mark_object) [GC_CHECK_MARKED_OBJECTS]: Check that no
	bogus objects are marked.  This slows down GC by ~80 percent, but
	it might be worth trying when debugging GC-related problems.
	This feature requires conservative stack marking to be enabled.
d7991 38
a8028 2
	* xterm.c (XTread_socket) <KeyPress>: In case XmbLookupString
	returns XLookupChars, reset `modifiers' to zero.
d8030 1
a8030 1
2000-06-19  Dave Love  <fx@@gnu.org>
d8032 4
a8035 1
	* mktime.c: Unprotoized.
d8037 2
a8038 1
2000-06-19  Richard Stallman  <rms@@gnu.org>
d8040 1
a8040 2
	* data.c (set_internal): If variable is frame-local,
	store the new value immediately into the frame parameter alist.
d8042 2
a8043 1
2000-06-19  Ken Raeburn  <raeburn@@gnu.org>
d8045 1
a8045 2
	* xfns.c (jpeg_load): Fetch error-handling data first, then fill
	in the custom handler pointer.
d8047 1
a8047 4
	* keyboard.c (follow_key, read_key_sequence): Use XUINT on key
	value, or checks for CHAR_META can fail when Lisp_Object is a
	union type.
	* keymap.c (get_keyelt): Likewise.
d8049 1
a8049 1
2000-06-19  Kenichi Handa  <handa@@etl.go.jp>
d8051 1
a8051 2
	* ccl.h (struct ccl_program): New member eol_type.
	(struct ccl_spec): New member cr_carryover.
d8053 1
a8053 2
	* ccl.c (CCL_WRITE_CHAR): Convert NL according to ccl->eol_type.
	(setup_ccl_program): Initialize ccl->eol_type to CODING_EOL_LF.
d8055 4
a8058 10
	* coding.c (setup_coding_system) <4>: Reset member `cr_carryover'.
	(ccl_coding_driver): On encoding, initialize ccl->eol_type.
	(decode_eol_post_ccl): New function.
	(decode_coding): Don't detect EOL format here for CCL based coding
	systems.
	(decode_coding) <coding_type_ccl>: Handle carryovered CR.  Call
	decode_eol_post_ccl after running the CCL program.
	(code_convert_region): Don't detect EOL format here for CCL based
	coding systems.
	(decode_coding_string): Likewise.
d8060 1
a8060 1
2000-06-18  Ken Raeburn  <raeburn@@gnu.org>
d8062 1
a8062 2
	* charset.c (update_charset_table): Use XINT on "iso_final_char"
	when treating it as an integer.
d8064 1
a8064 1
	* coding.h (encode_coding_string): Declare.
d8066 1
a8066 2
	* keyboard.c (read_key_sequence): Use XINT on "pos" when treating
	it as an integer.
d8068 1
a8068 3
	* keymap.c (Fwhere_is_internal): Rename argument "keymap" to
	"xkeymap" to avoid shadowing the "enum map_type" value that needs
	to be passed to get_local_map.
d8070 3
a8072 2
	* sound.c (Fplay_sound): Don't call make_number on
	Frun_hook_with_args count argument.
d8074 1
a8074 4
	* xterm.c (x_send_scroll_bar_event): Fudge lisp object/integer
	for lisp objects in X event structure data field, when lisp
	objects are represented with unions.
	(x_scroll_bar_to_input_event): Ditto.
d8076 3
a8078 1
2000-06-16  Ken Raeburn  <raeburn@@gnu.org>
d8080 5
a8084 3
	* xdisp.c (decode_mode_spec): In "no_value" case, do NUL
	termination of string.  Fix sense of test whether
	Vline_number_display_limit is an integer.
d8086 1
a8086 1
2000-06-16  Gerd Moellmann  <gerd@@gnu.org>
d8088 2
a8089 2
	* xfaces.c (syms_of_xfaces) [DEBUG_X_COLORS]: Defsubr dump_colors
	only if HAVE_X_WINDOWS.
d8091 1
a8091 2
	* keymap.c (describe_buffer_bindings): Add `\f\n' in front
	of titles.
d8093 2
a8094 2
	* dispnew.c (update_frame_1): Handle case that cursor vpos is
	out of bounds.
d8096 1
a8096 1
2000-06-15  Eli Zaretskii  <eliz@@is.elta.co.il>
d8098 3
a8100 2
	* unexec.c (toplevel): Fix last change, so as not to deprive MSDOS
	of its headers.
d8102 2913
a11014 1
2000-06-15  Kenichi Handa  <handa@@etl.go.jp>
d11016 1
a11016 2
	* coding.c (decode_coding_emacs_mule): Always set src_base at the
	start of the while loop.
d11018 2
a11019 1
2000-06-15  Gerd Moellmann  <gerd@@gnu.org>
d11021 1
a11021 1
	* atimer.c (alarm_signal_handler): Add forward declaration.
d11023 1
a11023 1
	* data.c (set_internal): Remove debug code.
d11025 2
a11026 1
2000-06-14  Gerd Moellmann  <gerd@@gnu.org>
d11028 1
a11028 1
	* Makefile.in (bootstrap-temacs): Add `-I../src'.
d11030 1
a11030 1
	* unexec.c (toplevel) [COFF]: Include coff.h.
d11032 1
a11032 1
	* s/lynxos.h: New file.
d11034 2
a11035 2
	* keymap.c (Fsingle_key_description): Enclose function key and
	event symbol names in angle brackets.
d11037 1
a11037 2
	* xdisp.c (setup_echo_area_for_printing): Call
	message_log_maybe_newline if message_buf_print is not set.
d11039 1
a11039 4
	* print.c (printchar, strout): Don't check message_buf_print
	before calling setup_echo_area_for_printing because that
	function does something useful even when message_buf_print is
	already set.
d11041 363
a11403 11
	* xdisp.c (message_truncate_lines, Qmessage_truncate_lines):
	New variables.
	(ensure_echo_area_buffers): Initialize echo buffer's
	truncate lines setting to nil.
	(with_echo_area_buffer): Don't set the echo buffer's truncate
	lines setting here.
	(set_message_1): Set it here instead, based on the value
	of message_truncate_lines.
	(resize_mini_window): Handle case that lines are truncated.
	(syms_of_xdisp): Initialize Qmessage_truncate_lines.
	DEFVAR_BOOL message-truncate-lines.
d11405 1
a11405 2
	* keyboard.c (read_char): Bind message-truncate-lines to t
	while displaying a help-echo.
d11407 3
a11409 1
	* lisp.h (Qmessage_truncate_lines): External declaration.
d11411 9
a11419 1
2000-06-13  Gerd Moellmann  <gerd@@gnu.org>
d11421 2
a11422 7
	* xdisp.c (Vline_number_display_limit): Renamed from
	line_number_display_limit.
	(syms_of_xdisp): Use DEFVAR_LISP for line-number-display-limit.
	Extend documentation string.  Initialize
	Vline_number_display_limit to nil meaning no limit.
	(decode_mode_spec): Use Vline_number_display_limit with its new
	meaning.
d11424 2
a11425 1
	* xterm.c (x_check_font) [GLYPH_DEBUG]: Add prototype.
d11427 65
a11491 1
2000-06-13  Richard Stallman  <rms@@gnu.org>
d11493 3
a11495 1
	* frame.c (Fmodify_frame_parameters): Doc fix.
d11497 1
a11497 1
	* xfns.c (x_set_frame_parameters): Comment fix.
d11499 3
a11501 2
	* frame.c (store_frame_param): Call swap_in_global_binding if the
	variable's current binding was chosen based on this frame.
d11503 1
a11503 1
	* data.c (swap_in_global_binding): New function.
d11505 2
a11506 1
2000-06-13  Eli Zaretskii  <eliz@@is.elta.co.il>
d11508 1
a11508 2
	* msdos.c (IT_write_glyphs): Don't use CODING_REQUIRE_ENCODING
	macro, instead AND with CODING_REQUIRE_ENCODING_MASK.
d11510 8
a11517 1
2000-06-13  Eli Zaretskii  <eliz@@is.elta.co.il>
d11519 1
a11519 1
	* msdos.h (EMACS_MSDOS_H): Renamed from MSDOS_H_.
d11521 2
a11522 1
2000-06-12  Jason Rumney  <jasonr@@gnu.org>
d11524 1
a11524 1
	* w32bdf.h (EMACS_W32BDF_H): Renamed from __W32BDF_H__
d11526 1
a11526 1
	* w32.h (EMACS_W32_H): Renamed from _NT_H_
d11528 1
a11528 1
	* w32gui.h (EMACS_W32GUI_H): Renamed from __W32GUI_H__
d11530 1
a11530 1
	* w32inevt.h (EMACS_W32INEVT_H): Renamed from __NTINEVT_H__
d11532 4
a11535 1
2000-06-12  Gerd Moellmann  <gerd@@gnu.org>
d11537 8
a11544 6
	* xfaces.c (Fdump_colors) [DEBUG_X_COLORS]: New function.
	(syms_of_xfaces): Defsubr Sdump_colors.
	(x_free_colors): Don't treat b&w specially on default visual.
	(x_free_dpy_colors): New function.
	(free_face_colors): Don't check visual class; it's done
	in x_free_colors.
d11546 1
a11546 4
	* xterm.c (x_frame_of_widget): New function.
	(x_alloc_nearest_color_for_widget): Use it.
	(x_copy_dpy_color): New function.
	(x_destroy_window): Free various colors.
d11548 2
a11549 1
2000-06-12  Kenichi Handa  <handa@@etl.go.jp>
d11551 1
a11551 1
	* ccl.h (EMACS_CCL_H): Renamed from _CCL_H.
d11553 3
a11555 1
	* charset.h (EMACS_CHARSET_H): Renamed from _CHARSET_H.
d11557 1
a11557 1
	* coding.h (EMASC_CODING_H): Renamed from _CODING_H.
d11559 1
a11559 1
	* composite.h (EMACS_COMPOSITE_H): Renamed from _COMPOSITE_H.
d11561 3
a11563 1
	* fontset.h (EMACS_FONTSET_H): Renamed from _FONTSET_H.
d11565 2
a11566 1
2000-06-11  Dave Love  <fx@@gnu.org>
d11568 2
a11569 1
	* systime.h (EMACS_SYSTIME_H): Renamed from _SYSTIME_H.
d11571 1
a11571 1
2000-06-11  Eli Zaretskii  <eliz@@is.elta.co.il>
d11573 2
a11574 1
	* msdos.h: Don't use _MSDOS_H_ as a symbol, use MSDOS_H_ instead.
d11576 1
a11576 1
2000-06-11  Gerd Moellmann  <gerd@@gnu.org>
d11578 4
a11581 2
	* xmenu.c (xmenu_show): Cast second parameter of lw_popup_menu
	to `XEvent *'.
d11583 1
a11583 1
2000-06-10  Kenichi Handa  <handa@@etl.go.jp>
d11585 1
a11585 3
	* regex.c (MAKE_CHAR) [!emacs]: Dummy macro for non-Emacs env.
	(regex_compile): Fix the code for handling the case of single byte
	char and multibyte char being mixed in a range within [...].
d11587 2
a11588 2
	* fileio.c (Finsert_file_contents): Be sure to setup src_multibyte
	and dst_multibyte members of coding.
d11590 1
a11590 4
	* charset.c (update_charset_table): Update the table
	bytes_by_char_head.
	(init_charset_once): Initialize elements of bytes_by_char_head to
	1 except for leading codes for private charases.
d11592 2
a11593 2
	* charset.h (CHARSET_8_BIT_GRAPHIC): Define as 0x80.
	(UNIBYTE_STR_AS_MULTIBYTE_P): Fix for an invalid multibyte sequence.
d11595 1
a11595 1
2000-06-09  Ken Raeburn  <raeburn@@gnu.org>
d11597 1
a11597 2
	* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
	access the data it doesn't point to.
d11599 1
a11599 1
2000-06-08  Gerd Moellmann  <gerd@@gnu.org>
d11601 2
a11602 9
	* xterm.c (XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which
	will be translated to a switch-frame event when reading the
	event queue.  This is necessary because Emacs otherwise won't
	perform a switch-frame to a new frame until some other event, for
	example a keystroke event, forces it to do so.  This has various
	effects, one visible being that the cursor of a frame created with
	C-x 5 2 or switched to with a window manager key binding like
	A-TAB stays hollow because selected_window isn't on the newly
	focused frame until the switch-frame is performed.
d11604 3
a11606 2
	* keyboard.c (kbd_buffer_get_event): Handle FOCUS_IN_EVENT by
	generating a switch-frame event if necessary.
d11608 2
a11609 1
	* termhooks.h (enum event_kind): Add FOCUS_IN_EVENT.
d11611 11
a11621 2
	* xdisp.c (handle_fontified_prop): Don't GCPRO local var `pos';
	it's an integer.
d11623 1
a11623 1
2000-06-08  Kenichi Handa  <handa@@etl.go.jp>
d11625 1
a11625 1
	* fontset.c (Fset_fontset_font): The arg CHARACTER may be a charset.
d11627 1
a11627 1
2000-06-07  Gerd Moellmann  <gerd@@gnu.org>
d11629 1
a11629 2
	* window.c (displayed_window_lines): Take empty lines at
	the bottom of a window into account.
d11631 1
a11631 3
	* window.c (displayed_window_lines): New function.
	(Fmove_to_window_line): Use displayed_window_lines to determine
	the number of lines to move, instead of using the window's height.
d11633 2
a11634 3
	* lread.c (readevalloop): If READCHARFUN sets point to ZV, arrange
	to stop reading, even if the form read sets point to a different
	value when evaluated.
d11636 2
a11637 2
	* xdisp.c (display_line): Fix code deciding in which line to
	put the cursor.
d11639 4
a11642 1
2000-06-07  Kenichi Handa  <handa@@etl.go.jp>
d11644 1
a11644 2
	* fileio.c (e_write): Free composition data if stored in
	coding->cmp_data.
d11646 1
a11646 1
2000-06-06  Gerd Moellmann  <gerd@@gnu.org>
d11648 1
a11648 8
	* xdisp.c (display_line): Set row's and iterator's
	starts_in_middle_of_char_p and ends_in_middle_of_char_p flags.
	Set cursor even if row ends in the middle of a character.
	(dump_glyph_row): Print values of new flags.
	(redisplay_window) <cursor movement in unchanged window>: When
	point has been moved forward, and PT is at the end of the cursor
	row, don't place the cursor in the next row if the cursor row ends
	in the middle of a character or at ZV.
d11650 1
a11650 6
	* dispextern.h (struct it): Add starts_in_middle_of_char_p.
	(struct glyph_row): Add starts_in_middle_of_char_p and
	ends_in_middle_of_char_p.
	(MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P): Test row's
	ends_in_middle_of_char_p flag.
	(MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Likewise.
d11652 1
a11652 1
	* term.c (append_glyph): Revert change of 2000-06-06.
d11654 1
a11654 3
	* xdisp.c (display_line): Revert change of 2000-06-06.  Treat
	padding glyph not fitting on line as whole character not
	fitting on line.
d11656 1
a11656 2
	* xterm.c (x_produce_glyphs): Don't xassert `it->descent > 0';
	this isn't true for images with `:ascent 100'.
d11658 1
a11658 1
2000-06-06  Kenichi Handa  <handa@@etl.go.jp>
d11660 1
a11660 2
	* buffer.c (Fset_buffer_multibyte): Don't make the current buffer
	as modified if it is originally unmodified.
d11662 1
a11662 3
	* term.c (encode_terminal_code): Change the way to check if
	terminal coding does any conversion.
	(append_glyph): Set glyph->pixel_width correctly.
d11664 1
a11664 2
	* xdisp.c (display_line): While checking line continuation, pay
	attention to a padding glyph.
d11666 1
a11666 1
2000-06-05  Gerd Moellmann  <gerd@@gnu.org>
d11668 3
a11670 1
	* xdisp.c (redisplay_window): Always use set_buffer_internal_1.
d11672 2
a11673 1
2000-06-05  Dave Love  <fx@@gnu.org>
d11675 1
a11675 1
	* xdisp.c: Include fontset.h.
d11677 2
a11678 1
	* xfns.c (x_real_positions): Declare tmp_nchildren as unsigned.
d11680 1
a11680 1
	* xterm.c (x_calc_absolute_position): Declare nchildren unsigned.
d11682 2
a11683 1
	* dispnew.c: Conditionally include term.h.
d11685 1
a11685 1
	* coding.h: Declare code_convert_string_norecord.
d11687 2
a11688 1
	* frame.h (struct frame): Use volatile unconditionally.
d11690 1
a11690 1
	* buffer.h: Remove Vbefore_change_function, Vafter_change_function.
d11692 1
a11692 1
	* xmenu.c (menu_item_selection): Declare volatile unconditionally.
d11694 1
a11694 2
	* systime.h: Protect against multiple inclusion.
	(timezone) [USG5_4]: Define as time_t.
d11696 1
a11696 2
	* lisp.h (DEFUN, EXFUN): Test PROTOTYPES.
	(Foptimize_char_table, make_temp_name): Declare.
d11698 1
a11698 1
	* Makefile.in (xdisp.o): Depend on fontset.h.
d11700 2
a11701 1
	* xterm.c (x_calc_absolute_position): Declare nchildren unsigned.
d11703 1
a11703 2
	* lisp.h (DEFUN, EXFUN): Test PROTOTYPES.
	(Foptimize_char_table, make_temp_name): Declare.
d11705 1
a11705 3
	* s/irix4-0.h:
	* s/irix5-0.h:
	* s/netbsd.h: Don't define autoconfiscated MATHERR.
d11707 1
a11707 1
2000-06-02  Dave Love  <fx@@gnu.org>
d11709 1
a11709 1
	* lread.c (_XOPEN_SOURCE, __EXTENSIONS__): Don't define.
d11711 12
a11722 1
2000-06-02  Gerd Moellmann  <gerd@@gnu.org>
d11724 1
a11724 3
	* xfaces.c (realize_x_face): When copying BASE_FACE bitwise to the
	result face, set flags in that face indicating that colors may not
	be freed.
d11726 10
a11735 2
	* xterm.c (x_set_mouse_face_gc): If first glyph isn't a character
	glyph, use the ASCII NUL character to determine the face.
d11737 28
a11764 1
2000-06-02  Dave Love  <fx@@gnu.org>
d11766 8
a11773 2
	* sysdep.c: Conditionally include stdlib.h, unistd.h.
	(VFORK_RETURN_TYPE): Remove.
d11775 2
a11776 1
	* config.in: Add NO_MATHERR.
d11778 1
a11778 1
2000-06-01  Dave Love  <fx@@gnu.org>
d11780 4
a11783 2
	* cmds.c (internal_self_insert): Don't check
	Vbefore_change_function, Vafter_change_function.
d11785 2
a11786 1
	* insdel.c (signal_before_change, signal_after_change): Likewise.
d11788 1
a11788 2
	* buffer.c (Vbefore_change_function, Vafter_change_function):
	Variables and their initializations deleted.
d11790 2
a11791 1
	* callint.c (Fcall_interactively): Doc fix.
d11793 2
a11794 1
	* terminfo.c (ospeed) [HAVE_SPEED_T]: Don't declare extern.
d11796 1
a11796 1
2000-05-31  Dave Love  <fx@@gnu.org>
d11798 2
a11799 1
	* textprop.c: Revert last change -- duplicated.
d11801 5
a11805 1
2000-05-31  Gerd Moellmann  <gerd@@gnu.org>
d11807 1
a11807 2
	* dispnew.c (find_glyph_row_slice, swap_glyphs_in_rows): Put
	in #if 0.
d11809 2
a11810 1
	* lisp.h (eassert) [!ENABLE_CHECKING]: Define as `(void) 0'.
d11812 6
a11817 1
2000-05-31  Jason Rumney  <jasonr@@gnu.org>
d11819 2
a11820 2
	* search.c (Fre_search_forward, Fre_search_backward)
	(Fposix_search_backward, Fposix_search_forward): Fix newlines in docs.
d11822 1
a11822 1
	* w32select.c (Fw32_set_clipboard_data): Change QNil to Qnil.
d11824 40
a11863 1
2000-05-30  Jason Rumney  <jasonr@@gnu.org>
d11865 4
a11868 2
	* coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: New macros.
	[WINDOWSNT]: Add extern for Vw32_system_coding_system.
d11870 1
a11870 1
	* dispextern.h (struct glyph) [WINDOWSNT]: Add w32_font_type member.
d11872 1
a11872 3
	* fileio.c (Fread_file_name) [HAVE_NTGUI]: Use file dialog.
	(Fread_file_name) [HAVE_NTGUI, USE_MOTIF]: Do not attempt to
	expand a nil default_filename.
d11874 1
a11874 2
	* keyboard.c (make_lispy_event) [WINDOWS_NT]: Pass a window
	pointer to glyph_to_pixel_coords, not a frame.
d11876 3
a11878 2
	* makefile.nt (w32fns.obj, w32menu.obj): Add charset.h and
	coding.h to dependencies.
d11880 1
a11880 1
	* w32bdf.c (w32_load_bdf_font): Initialize font->double_byte_p.
d11882 2
a11883 2
	* w32console.c (glyph_to_pixel_coords): Change first parameter to
	window pointer to be consistent with w32term.c and xterm.c.
d11885 3
a11887 19
	* w32fns.c: Format and doc changes to bring closer to xfns.c.
	(VIETNAMESE_CHARSET): Define if not defined in system headers.
	(Qline_spacing, Qcenter): New variables.
	(Qw32_charset_*, w32_codepage_for_font): Moved from w32term.c.
	(x_set_line_spacing): New function.
	(x_set_frame_parameters): Use FRAME_NEW_WIDTH, FRAME_NEW_HEIGHT macros.
	(x_specified_cursor_type): New function.
	(x_set_cursor_type): Use it.
	(x_set_name, x_set_title): Use ENCODE_SYSTEM to encode titlebar
	and icon strings.
	(validate_x_resource_name, x_get_resource_string): Measure lengths
	of external strings in bytes.
	(w32_wnd_proc) [WM_MEASURE_ITEM]: Avoid calling
	GetTextExtentPoint32 with NULL title.
	(Fx_create_frame): Initialize Qline_spacing.
	(w32_load_system_font): Initialize font->double_byte_p.
	(x_to_w32_charset): Use Vw32_charset_info_alist.
	(Image, busy cursor, tooltip functions): Merged changes from
	xfns.c. Not yet functional on Windows.
d11889 3
a11891 1
	* w32gui.h (W32FontStruct): Add double_byte_p member.
d11893 1
a11893 4
	* w32inevt.c (NUM_TRANSLATED_MOUSE_BUTTONS): New constant.
	(emacs_button_translation): Use it.
	(do_mouse_event): Allow up to 32 mouse buttons by allowing any bit
	in `mask' to be set.
d11895 3
a11897 2
	* w32menu.c (single_submenu, w32_menu_show): Call ENCODE_SYSTEM on
	menu strings.
d11899 2
a11900 22
	* w32term.c: Format and doc changes to bring closer to xterm.c.
	(w32_char_font_type): New enum.
	(Qw32_charset_*, w32_codepage_for_font): Moved to w32fns.c.
	(w32_per_char_metric): Use w32_char_font_type instead of unicode_p.
	(w32_encode_char): New function.
	(x_encode_char): Removed.
	(x_get_glyph_and_face_encoding): Use w32_encode_char in place of
	x_encode_char and w32_font_is_double_byte.
	(x_produce_image_glyph): Use image_ascent.
	(x_produce_glyphs): Use new version of w32_per_char_metric and
	handle NULL return value. Allow extra line spacing.
	(W32_TEXTOUT): Distinguish between Unicode and DBCS text.
	(w32_get_glyph_overhangs): Remove unicode_p param. Use
	w32_font_type member of glyph instead.
	(x_draw_glyph_string): Draw underline and strike-out for BDF fonts.
	(fast_find_position): Make sure not to consider rows not visible
	in the window.
	(w32_read_socket) [WM_MENUSELECT]: Cannot call
	w32_menu_display_help with input blocked, as it can abort.
	(x_display_and_set_cursor): Choose cursor depending
	on buffer-local value of cursor_type.
	(x_draw_bar_cursor): Add parameter WIDTH.
d11902 4
a11905 2
	* w32term.h (CP_DEFAULT): Define.
	(Fx_display_color_p, Fx_display_grayscale_p, image_ascent): Declare.
d11907 2
a11908 1
2000-05-30  Gerd Moellmann  <gerd@@gnu.org>
d11910 2
a11911 2
	* search.c (Fre_search_forward, Fre_search_backward)
	(Fposix_search_backward, Fposix_search_forward): Doc fix.
d11913 5
a11917 1
2000-05-30  Kenichi Handa  <handa@@etl.go.jp>
d11919 3
a11921 2
	* coding.c (detect_coding_iso2022): Fix code for checking
	CODING_CATEGORY_MASK_ISO_8_2.
d11923 2
a11924 1
2000-05-29  Stefan Monnier  <monnier@@cs.yale.edu>
d11926 2
a11927 2
	* regex.c (PREFETCH_NOLIMIT): New function.
	(re_match_2_internal): Use it and adjust the end_match_2 logic.
d11929 10
a11938 1
2000-05-29  Gerd Moellmann  <gerd@@gnu.org>
d11940 2
a11941 2
	* syntax.c (find_defun_start): Move test for
	open_paren_in_column_0_is_defun_start outside of the loop.
d11943 1
a11943 3
	* xdisp.c (redisplay_window): Really switch buffers when
	displaying mode lines, and temporarily set selected_frame to the
	frame of the window that's redisplayed.
d11945 2
a11946 2
	* xfaces.c (free_realized_faces): Block/unblock input.
	(free_realized_multibyte_face): Ditto.
d11948 2
a11949 1
2000-05-29  Dave Love  <fx@@gnu.org>
d11951 1
a11951 2
	* textprop.c (Qkeymap): New variable.
	(syms_of_textprop): Intern it.
d11953 3
a11955 2
	* keymap.c: Include intervals.h.
	(Fkey_binding, Fwhere_is_internal): Deal with `keymap' property.
a11956 1
	* Makefile.in (keymap.o): Depend on intervals.h.
d11958 1
a11958 4
	* keyboard.c (menu_bar_items, tool_bar_items)
	(Fexecute_extended_command): Deal with `keymap' property.
	(read_key_sequence): Track map from `keymap' property as well as
	`local_map'.
d11960 1
a11960 2
	* intervals.c (get_local_map): Extra arg to allow looking for
	`keymap' too.
d11962 1
a11962 3
	* intervals.h (map_property): New enum.
	(get_local_map): Extra arg using it.
	(Qkeymap): Declare.
d11964 4
a11967 1
	* lisp.h (get_local_map): Don't declare here.
d11969 1
a11969 1
2000-05-29  Kenichi Handa  <handa@@etl.go.jp>
d11971 3
a11973 1
	* Makefile.in (callproc.o): Depend on composite.h.
d11975 1
a11975 2
	* callproc.c: Include composite.h.
	(Fcall_process): Handle composition correctly.
d11977 3
a11979 2
	* coding.h (coding_allocate_composition_data): Extern it.
	(coding_restore_composition): Likewise.
d11981 1
a11981 5
	* coding.c (DECODE_COMPOSITION_START): If coding->cmp_data is not
	yet allocated, finish decoding with result
	CODING_FINISH_INSUFFICIENT_CMP.
	(coding_allocate_composition_data): Make it non-static.
	(coding_restore_composition): Likewise.
d11983 1
a11983 1
2000-05-29  Eli Zaretskii  <eliz@@is.elta.co.il>
d11985 1
a11985 1
	* charset.c (syms_of_charset): Revert last change.
d11987 1
a11987 1
2000-05-28  Eli Zaretskii  <eliz@@is.elta.co.il>
d11989 1
a11989 3
	* term.c (produce_glyphs): Treat characters from the eight-bit-*
	charsets as unibyte, with 1-column screen width.  Sent by Kenichi
	Handa.
d11991 1
a11991 1
2000-05-28  Eli Zaretskii  <eliz@@is.elta.co.il>
d11993 1
a11993 2
	* charset.c (syms_of_charset): Set width of character sets
	eight-bit-control and eight-bit-graphic to 1 column.
d11995 7
a12001 1
2000-05-26  Gerd Moellmann  <gerd@@gnu.org>
d12003 1
a12003 1
	* config.in (HAVE_SPEED_T): New define.
d12005 3
a12007 2
	* sysdep.c, terminfo.c (ospeed) [HAVE_SPEED_T]: Declare as
	`extern speed_t'.
d12009 9
a12017 1
2000-05-26  Dave Love  <fx@@gnu.org>
d12019 2
a12020 1
	* coding.c (shrink_decoding_region): Initialize eol_conversion.
d12022 1
a12022 3
	* data.c (Qsubrp, Qmany, Qunevalled): New variables.
	(Fsubr_arity): New function.
	(syms_of_data): Install them.
d12024 1
a12024 1
2000-05-26  Kenichi Handa  <handa@@etl.go.jp>
d12026 1
a12026 2
	* charset.c (init_charset_once): Set the table bytes_by_char_head
	correctly.
d12028 2
a12029 5
	* fontset.c (syms_of_fontset): Adjust the font name for ascii of
	the default fontset to what Emacs uses by default.
	(check_registry_encoding): This function deleted.
	(Fset_fontset_font): Remove the adhoc condition for the default
	fontset.  Allow cons in FONTNAME.
d12031 1
a12031 2
	* fns.c (map_char_table): Ignore char-table entries for
	charsets eight-bit-control and eight-bit-graphic.
d12033 6
a12038 1
2000-05-25  Ken Raeburn  <raeburn@@gnu.org>
d12040 1
a12040 2
	* emacs.c (main): Initialize keyboard syms before initializing
	window code, so face names are available.
d12042 4
a12045 1
2000-05-25  Stefan Monnier  <monnier@@cs.yale.edu>
d12047 2
a12048 2
	* regex.c (at_begline_loc_p): Also recognize the \\(?:^ case
	of an anchor at the beginning of a shy-group.
d12050 1
a12050 1
2000-05-25  Gerd Moellmann  <gerd@@gnu.org>
d12052 2
a12053 2
	* xdisp.c (handle_invisible_prop): Don't try to skip over
	invisible text if end of text is already reached.
d12055 1
a12055 1
2000-05-25  Dave Love  <fx@@gnu.org>
d12057 1
a12057 1
	* xdisp.c (Fdump_glyph_matrix): Declare the arg.
d12059 1
a12059 1
	* coding.c (encode_eol): Add null statement after label.
d12061 4
a12064 1
2000-05-25  Eli Zaretskii  <eliz@@is.elta.co.il>
d12066 1
a12066 2
	* w16select.c (Fw16_set_clipboard_data): Fix the change from
	2000-05-20.
d12068 1
a12068 1
2000-05-25  Kenichi Handa  <handa@@etl.go.jp>
d12070 1
a12070 1
	* ccl.c (ccl_driver): Fix previous change.
d12072 1
a12072 1
2000-05-25  Kenichi Handa  <handa@@etl.go.jp>
d12074 3
a12076 5
	* coding.c (run_pre_post_conversion_on_str): Set point to the
	beginning of buffer before calling coding->post_read_conversion.
	(decode_coding_string): Give correct args to
	run_pre_post_conversion_on_str.
	(encode_coding_string): Likewise.
d12078 2
a12079 3
	* ccl.c (ccl_driver) <CCL_ReadMultibyteChar2>
	<CCL_WriteMultibyteChar2>:  Handle charsets eight-bit-control and
	eight-bit-graphic correctly.
d12081 4
a12084 1
2000-05-24  Kenichi HANDA  <handa@@etl.go.jp>
d12086 1
a12086 3
	* fileio.c (Finsert_file_contents): Even if a file is not found,
	execute codes for setting up coding system.  Call
	after-insert-file-functions unconditionally.
d12088 3
a12090 1
2000-05-24  Gerd Moellmann  <gerd@@gnu.org>
d12092 2
a12093 2
	* callproc.c, emacs.c, sysdep.c (setpgrp): Don't define if USG and
	BSD_PGRPS are not defined.
d12095 3
a12097 1
2000-05-24  Kenichi Handa  <handa@@etl.go.jp>
d12099 2
a12100 3
	* charset.c (update_charset_table): Accept nil in LONG_NAME and
	DESCRIPTION.
	(syms_of_charset): Avoid building same strings.
d12102 1
a12102 1
2000-05-23  Gerd Moellmann  <gerd@@gnu.org>
d12104 1
a12104 2
	* lread.c (Fload): Add a comment about the meaning of
	Vuser_init_file being t.
d12106 1
a12106 1
	* puresize.h (BASE_PURESIZE): Increase to 675000.
d12108 1
a12108 2
	* s/gnu-linux.h (setpgrp): Don't define it here because this
	prevents compilation on GNU/Linux systems with glib 2.2.
d12110 2
a12111 2
	* callproc.c, emacs.c, sysdep.c (setpgrp) [HAVE_SETPGID]: Define
	as setpgid.
d12113 1
a12113 1
2000-05-23  Eli Zaretskii  <eliz@@is.elta.co.il>
d12115 2
a12116 4
	* Makefile.in (SOME_MACHINE_LISP): Add disp-table.elc,
	dos-vars.elc, ccl.elc, and codepage.elc, all loaded by the MS-DOS
	version.
	(MSDOS_SUPPORT): Add dos-vars.elc, ccl.elc, and codepage.elc.
d12118 1
a12118 1
2000-05-23  Kenichi Handa  <handa@@etl.go.jp>
d12120 3
a12122 1
	* syntax.c (skip_chars): Use FETCH_STRING_CHAR_ADVANCE unconditionally.
d12124 1
a12124 1
	* msdos.c (IT_write_glyphs): Set coding->src_multibyte to 1.
d12126 8
a12133 1
	* term.c (encode_terminal_code): Set coding->src_multibyte properly.
d12135 1
a12135 1
	* coding.c (encode_eol): Fix a bug of DOS style EOL encoding.
d12137 1
a12137 1
2000-05-22  Kenichi Handa  <handa@@etl.go.jp>
d12139 1
a12139 2
	* keyboard.c (read_char): Allow character codes 128..255 to be
	handled by input-method-function.
d12141 1
a12141 3
	* insdel.c (adjust_markers_for_replace): Fix previous change.
	(adjust_after_replace): If PREV_TEXT is nil, call
	adjust_markers_for_insert, not adjust_markers_for_replace.
d12143 2
a12144 1
2000-05-20  NIIBE Yutaka  <gniibe@@mri.co.jp>
d12146 1
a12146 4
	* s/gnu-linux.h (UNIX98_PTYS) [HAVE_GRANDPT]: Define.
	(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF)
	[HAVE_GRANDPT]: Define.
	(C_SWITCH_SYSTEM): Add -D_XOPEN_SOURCE.
d12148 2
a12149 2
	* sysdep.c (setup_pty): Treat case that UNIX98_PTYS is defined
	like SYSV_PTYS.
d12151 1
a12151 1
	* config.in (HAVE_GRANDPT, HAVE_GETPT): New defines.
d12153 6
a12158 1
	* process.c (toplevel) [UNIX98_PTYS]: Include stdlib.h.
d12160 1
a12160 1
2000-05-20  Kenichi Handa  <handa@@etl.go.jp>
d12162 1
a12162 227
	The following changes are to handle 8-bit characters in a
	multibyte buffer/string without facing with byte combining
	problem.  Two new charsets eight-bit-control (for 0x80..0x9F) and
	eight-bit-graphic (for 0xA0..0xFF) are introduced.

	* Makefile.in (fns.o): Depend on charset.h.

	* alloc.c (Fmake_byte_code): If BYTECODE-STRING is multibyte,
	convert it to unibyte.
	(make_string): Use parse_str_as_multibyte, not chars_in_text.

	* buffer.c (advance_to_char_boundary): Don't use DEC_POS to find a
	apparent char boundary.
	(Fset_buffer_multibyte): Convert 8-bit characters in the range
	0x80..0x9F to/from multibyte form.

	* bytecode.c (Fbyte_code): If arg BYTESTR is multibyte, convert it
	to unibyte.

	* callproc.c (Fcall_process): Always encode an argument string if
	it is multibyte.  Setup src_multibyte and dst_multibyte members of
	process_coding properly.

	* category.c (Fmodify_category_entry): Use SPLIT_CHAR, not
	SPLIT_NON_ASCII_CHAR.

	* ccl.c (CCL_WRITE_CHAR): Be sure to write single byte characters
	as is.
	(CCL_MAKE_CHAR): Use MAKE_CHAR, not MAKE_NON_ASCII_CHAR.

	* charset.c (Qeight_bit_control, Qeight_bit_graphic): New variables.
	(SPLIT_CHARACTER_SEQ): This macro deleted.
	(SPLIT_MULTIBYTE_SEQ): Assume that multibyte sequence at STR is valid.
	(CHAR_COMPONENTS_VALID_P): Handle new charsets; eight-bit-control
	and eight-bit-graphic.
	(char_to_string): Likewise.  Signal an error for too large
	character code.
	(char_printable_p): Return 0 for 8-bit characters.
	(update_charset_table): Update iso_charset_table only when a final
	character is non-negative.
	(find_charset_in_text): Renamed from find_charset_in_str.
	Arguments and return value changed.  Callers changed.
	(Fdefine_charset): Args ISO-FINAL-CHAR and ISO-GRAPHIC-PLANE can
	be -1 if CHARSET is used only internally.
	(Fmake_char_internal): Handle new charsets; eight-bit-control and
	eight-bit-graphic.
	(Fcharset_after): Simplified.
	(char_valid_p): Use SPLIT_CHAR, not SPLIT_NON_ASCII_CHAR.
	(char_bytes): Return 2 for chars of the range 0xA0..0xFF.
	(multibyte_chars_in_text): Simplified by assuming there's no
	invalid multibyte sequence.
	(parse_str_as_multibyte, str_as_multibyte, str_to_multibyte)
	(str_as_unibyte): New functions.
	(Fstring): Simpified by assuming that byte combining never happens.
	(init_charset_once): Initialization for
	LEADING_CODE_8_BIT_CONTROL.
	(syms_of_charset): Intern and staticpro Qeight_bit_control and
	Qeight_bit_graphic.  Include them in Vcharset_list.  Make charsets
	eight-bit-control and eight-bit-graphic.

	* charset.h (LEADING_CODE_8_BIT_CONTROL, CHARSET_8_BIT_CONTROL)
	(CHARSET_8_BIT_GRAPHIC): New macros.
	(SINGLE_BYTE_CHAR_P): Make it faster by using casting.
	(CHARSET_ISO_GRAPHIC_PLANE): Use XINT instead of XFASTINT.
	(CHARSET_REVERSE_CHARSET): Likewise.
	(CHARSET_VALID_P): Handle new charsets; eight-bit-control and
	eight-bit-graphic.
	(BYTES_BY_CHAR_HEAD, WIDTH_BY_CHAR_HEAD): Optimize for ASCII.
	(CHAR_CHARSET, MAKE_CHAR, SPLIT_CHAR, CHAR_BYTES): Likewise.
	(PARSE_MULTIBYTE_SEQ) [BYTE_COMBINING_DEBUG]: Abort if we
	encounter an invalid multibyte sequence.
	(PARSE_MULTIBYTE_SEQ) [not BYTE_COMBINING_DEBUG]: Assume multibyte
	sequence is always valid.
	(MAKE_NON_ASCII_CHAR, SPLIT_NON_ASCII_CHAR): These macros Deleted.
	(UNIBYTE_STR_AS_MULTIBYTE_P, MULTIBYTE_STR_AS_UNIBYTE_P): New macros.
	(CHAR_STRING): For 8-bit characters, call char_to_string.
	(INC_POS) [not BYTE_COMBINING_DEBUG]: Faster version.  Assume
	multibyte sequence is always valid.
	(BUF_INC_POS) [not BYTE_COMBINING_DEBUG]: Likewise.
	(parse_str_as_multibyte, str_as_multibyte, str_to_multibyte)
	(str_as_unibyte): Extern them.
	(BCOPY_SHORT): Fix a bug.
	(CHAR_LEN): This macro deleted.  Callers changed to use CHAR_BYTES.
	(FETCH_STRING_CHAR_ADVANCE): Check multibyteness of STRING.
	(FETCH_STRING_CHAR_ADVANCE_NO_CHECK): New macro.
	(FETCH_CHAR_ADVANCE): Check multibyteness of the current buffer.

	* coding.c (ONE_MORE_BYTE, TWO_MORE_BYTES): Set coding->result to
	CODING_FINISH_INSUFFICIENT_SRC if there's not enough source.
	(ONE_MORE_CHAR, EMIT_CHAR, EMIT_ONE_BYTE, EMIT_TWO_BYTE)
	(EMIT_BYTES): New macros.
	(THREE_MORE_BYTES, DECODE_CHARACTER_ASCII)
	(DECODE_CHARACTER_DIMENSION1, DECODE_CHARACTER_DIMENSION2): These
	macros deleted.
	(CHECK_CODE_RANGE_A0_FF): This macro deleted.
	(detect_coding_emacs_mule): Use UNIBYTE_STR_AS_MULTIBYTE_P to
	check the validity of multibyte sequence.
	(decode_coding_emacs_mule): New function.
	(encode_coding_emacs_mule): New macro.
	(detect_coding_iso2022): Use ONE_MORE_BYTE to fetch a byte from
	the source.
	(DECODE_ISO_CHARACTER): Just return a character code.
	(DECODE_COMPOSITION_START): Set coding->result instead of result.
	(decode_coding_iso2022, decode_coding_sjis_big5, decode_eol): Use
	EMIT_CHAR to produced decoded characters.  Exit the loop only by
	macros ONE_MORE_BYTE or EMIT_CHAR.  Don't handle the case of last
	block here.
	(ENCODE_ISO_CHARACTER): Don't translate character here.  Produce
	only position codes for an invalid character.
	(encode_designation_at_bol): Return new destination pointer.  5th
	arg DSTP is changed to DST.
	(encode_coding_iso2022, decode_coding_sjis_big5): Get a character
	from the source by ONE_MORE_CHAR.  Don't handle the case of last
	block here.
	(DECODE_SJIS_BIG5_CHARACTER, ENCODE_SJIS_BIG5_CHARACTER): These
	macros deleted.
	(detect_coding_sjis, detect_coding_big5, detect_coding_utf_8)
	(detect_coding_utf_16, detect_coding_ccl): Use ONE_MORE_BYTE and
	TWO_MORE_BYTES to fetch a byte from the source.
	(encode_eol): Pay attention to coding->src_multibyte.
	(detect_coding, detect_eol): Preserve members src_multibyte and
	dst_multibyte.
	(DECODING_BUFFER_MAG): Return 2 even for coding_type_raw_text.
	(encoding_buffer_size): Set magnification to 3 for all coding
	systems that require encoding.
	(ccl_coding_driver): For decoding, be sure that the result is
	valid multibyte sequence.
	(decode_coding): Initialize coding->errors and coding->result.
	For emacs-mule, call decode_coding_emacs_mule.  For no-conversion
	and raw-text, always call decode_eol.  Handle the case of last
	block here.  If not coding->dst_multibyte, convert the resulting
	sequence to unibyte.
	(encode_coding): Initialize coding->errors and coding->result.
	For emacs-mule, call encode_coding_emacs_mule.  For no-conversion
	and raw-text, always call encode_eol.  Handle the case of last
	block here.
	(shrink_decoding_region, shrink_encoding_region): Detect cases
	that we can't skip data more rigidly.
	(code_convert_region): Setup src_multibyte and dst_multibyte
	members of coding.  For decoding, if the buffer is multibyte,
	convert the source sequence to unibyte in advance.  For encoding,
	if the buffer is multibyte, convert the resulting sequence to
	multibyte afterward.
	(run_pre_post_conversion_on_str): New function.
	(code_convert_string): Deleted and divided into the following two.
	(decode_coding_string, encode_coding_string): New functions.
	(code_convert_string1, code_convert_string_norecord): Call one of
	above.
	(Fdecode_sjis_char, Fdecode_big5_char): Use MAKE_CHAR instead of
	MAKE_NON_ASCII_CHAR.
	(Fset_terminal_coding_system_internal)
	(Fset_safe_terminal_coding_system_internal): Setup src_multibyte
	and dst_multibyte members.
	(init_coding_once): Initialize iso_code_class with new enum
	ISO_control_0 and ISO_control_1.

	* coding.h (enum iso_code_class_type): Member ISO_control_code is
	devided into ISO_control_0 and ISO_control_1.
	(struct coding_system): New members src_multibyte, dst_multibyte,
	errors, and result.  Delete member fake_multibyte.
	(CODING_REQUIRE_DECODING): Return 1 if coding->dst_multibyte is
	nonzero.
	(CODING_REQUIRE_ENCODING): Return 1 if coding->src_multibyte is
	nonzero.

	* data.c (Faref): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR.
	(Faset): Likewise.

	* editfns.c (Fformat): Be sure to convert 8-bit characters to
	multibyte form.
	(Ftranspose_region) [BYTE_COMBINING_DEBUG]: Abort if byte
	combining occurs.
	(Ftranspose_region): Delete codes for handling byte combining.

	* fileio.c (Finsert_file_contents): Setup src_multibyte and
	dst_multibyte members of coding.  On handling REPLACE on unibyte
	buffer, convert the result of decode_coding to unibyte.  On
	inserting into a mutibyte buffer, always call code_convert_region.
	(e_write): Setup coding->src_multibyte according to the
	multibyteness of the source (buffer or string).

	* fns.c (concat): Handle 8-bit characters correctly.
	(Fstring_as_unibyte): Be sure to make all 8-bit characters in
	unibyte in the result.
	(Fstring_as_multibyte): Be sure to make all 8-bit characters in
	valid multibyte form in the result.
	(map_char_table): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR.
	(Fbase64_encode_region, Fbase64_encode_string): If base64_encode_1
	return -1, signal an error.
	(base64_encode_1): New arg MULTIBYTE.  Get each character by
	CHAR_STRING_AND_LENGTH if MULTIBYTE is nonzero.  If a multibyte
	character is found, return -1.
	(Fbase64_decode_region): Delete codes for handling byte-combining.
	Treat each decoded byte as a unibyte character.
	(Fbase64_decode_string): Return unibyte string.
	(Fcompare_strings, concat, string_byte_to_char): Use
	FETCH_STRING_CHAR_ADVANCE_NO_CHECK instead off
	FETCH_STRING_CHAR_ADVANCE.
	(Fstring_lessp): Use FETCH_STRING_CHAR_ADVANCE unconditionally.
	(mapcar1): If SEQ is string, always use FETCH_STRING_CHAR_ADVANCE.

	* fontset.c (fontset_ref): Use SPLIT_CHAR instead of
	SPLIT_NON_ASCII_CHAR.
	(fontset_ref_via_base, fontset_set): Likewise

	* insdel.c (adjust_markers_for_record_delete): Deleted.
	(adjust_markers_for_insert): Argument changed.  Caller changed.
	(adjust_markers_for_replace): Likewise.
	(ADJUST_CHAR_POS, combine_bytes, byte_combining_error)
	(CHECK_BYTE_COMBINING_FOR_INSERT): Deleted.
	(copy_text): Delete unused local varialbe c_save.  For converting
	to multibyte, be sure to make all 8-bit characters in valid
	multibyte form.
	(count_size_as_multibyte): Handle 8-bit characters correctly.
	(insert_1_both, insert_from_string_1, insert_from_buffer_1)
	(adjust_after_replace, replace_range, del_range_2)
	[BYTE_COMBINING_DEBUG]: Abort if byte combining occurs.
	(insert_1_both, insert_from_string_1, insert_from_buffer_1)
	(adjust_after_replace, replace_range, del_range_2) Delete codes for
	handling byte combining.
	(adjust_before_replace): Deleted.

	* keymap.c (Fsingle_key_description): Use SPLIT_CHAR instead of
	SPLIT_NON_ASCII_CHAR.
	(describe_vector): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR.
	(Faccessible_keymaps): Use FETCH_STRING_CHAR_ADVANCE unconditionally.
	(Fkey_description): Likewise.
d12164 1
a12164 37
	* lread.c (read1): On reading multibyte string, be sure to make
	all 8-bit chararacters in valid multibyte form.
	(readchar): Use FETCH_STRING_CHAR_ADVANCE unconditionally.

	* print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE
	unconditionally.

	* process.c (Fstart_process): GCPRO current_dir before calling
	Ffind_operation_coding_system.  Encode arguments here.
	(create_process): Don't encode arguments here.  Setup
	src_multibyte and dst_multibyte members of struct coding.
	(read_process_output): Setup src_multibyte and dst_multibyte
	members of struct coding.  If the output is to multibyte buffer,
	always decode the output of the process.  Adjust the
	representation of 8-bit characters to the multibyteness of the output.
	(send_process): Setup coding->src_multibyte according to the
	multibyteness of the source.

	* search.c (wordify): Use FETCH_STRING_CHAR_ADVANCE unconditionally.
	(Freplace_match): Use FETCH_STRING_CHAR_ADVANCE and
	FETCH_STRING_CHAR_ADVANCE_NO_CHECK appropriately.

	* term.c (produce_special_glyphs): Use CHAR_BYTES instead of CHAR_LEN.

	* w16select.c (Fw16_set_clipboard_data): Setup members
	src_multibyte and dst_multibyte of coding.  Adjusted for the
	change for find_charset_in_str.
	(Fw16_get_clipboard_data): Likewise.

	* w32fns.c (w32_to_x_font): Setup members src_multibyte and
	dst_multibyte of coding.
	(x_to_w32_font): Likewise.

	* w32select.c (Fw32_set_clipboard_data): Setup members
	src_multibyte and dst_multibyte of coding.  Adjusted for the
	change for find_charset_in_str.
	(Fw32_get_clipboard_data): Likewise.
d12166 2
a12167 4
	* xdisp.c (get_next_display_element): Handle 8-bit characters
	correctly.
	(next_element_from_display_vector): Use CHAR_BYTES instead of CHAR_LEN.
	(disp_char_vector): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR.
d12169 1
a12169 4
	* xselect.c (selection_data_to_lisp_data): Setup members
	src_multibyte and dst_multibyte of coding.  Adjusted for the
	change for find_charset_in_str.
	(lisp_data_to_selection_data): Likewise.
d12171 1
a12171 1
2000-05-19  Gerd Moellmann  <gerd@@gnu.org>
d12173 4
a12176 1
	* buffer.c (Fbury_buffer): Avoid trouble from burying a killed buffer.
d12178 2
a12179 1
	* dispextern.h (Vimage_types): Add extern declaration.
d12181 1
a12181 2
	* xdisp.c (Vimage_types): Moved here from xfns.c.
	(syms_of_xdisp): Move `image-types' variable here from xfns.c.
d12183 4
a12186 2
	* xfns.c (Vimages_types): Moved to xdisp.c.
	(syms_of_xfns): Move `image-types' to xdisp.c.
d12188 18
a12205 2
	* w32fns.c (Vimage_types): Removed.
	(syms_of_w32fns): Remove `image-types'.
d12207 2
a12208 1
2000-05-18  Kenichi Handa  <handa@@etl.go.jp>
d12210 1
a12210 4
	* fns.c (map_char_table): Pay attention to character number of
	charset.  Check the validity of charset at the first level.   For
	leaf nodes that has nil value, call C_FUNCTION or FUNCTION with
	the default value.
d12212 271
a12482 10
	* fontset.c: Include "buffer.h".
	(fs_load_font): If the face has fontset, record the face ID in
	that fontset.
	(Finternal_char_font): New function.
	(accumulate_font_info): New function.
	(Ffontset_info): Rewritten for the new fontset implementation.
	(syms_of_fontset): Register Vdefault_fontset in the first element
	of Vfontset_table.  Include Vdefault_fontset in
	Vfontset_alias_alist.  Declare `internal-char-font' as a Lisp
	function.
d12484 135
a12618 1
2000-05-16  Dave Love  <fx@@gnu.org>
d12620 124
a12743 1
	* m/iris5d.h: Deleted -- unused.
d12745 2
a12746 1
2000-05-16  Gerd Moellmann  <gerd@@gnu.org>
d12748 1
a12748 2
	* xdisp.c, w32.c, print.c, msdos.c, emacs.c: Use the term
	`invalid' instead of `illegal'.
d12750 3
a12752 2
	* indent.c (Fmove_to_column): When ending within a tab, insert
	spaces first so that markers at the end of the tab get adjusted.
d12754 2
a12755 2
	* frame.c (frames_bury_buffer): Don't add a buffer to the frame's
	buffer list that wasn't selected in that frame.
d12757 1
a12757 3
	* filelock.c (get_boot_time): To obtain an 8 char file name, which
	is needed on mescaline, use a 2 char prefix, and call
	make_temp_name with second arg non-zero.
d12759 2
a12760 3
	* fileio.c (make_temp_name): New function, extracted from
	Fmake_temp_name.
	(Fmake_temp_name): Use it.
d12762 2
a12763 1
2000-05-15  Eli Zaretskii  <eliz@@is.elta.co.il>
d12765 1
a12765 1
	* window.c (coordinates_in_window): Subtract 1 when computing right_x.
d12767 1
a12767 1
2000-05-15  Gerd Moellmann  <gerd@@gnu.org>
d12769 1
a12769 1
	* Makefile.in (lisp): Add env.elc.
d12771 4
a12774 1
	* callproc.c (Fgetenv_internal): Renamed from Fgetenv.
d12776 1
a12776 1
2000-05-12  Gerd Moellmann  <gerd@@gnu.org>
d12778 1
a12778 2
	* search.c (Freplace_match): Handle case of `\N' in the
	replacement when there's no group N.
d12780 1
a12780 1
2000-05-11  Gerd Moellmann  <gerd@@gnu.org>
d12782 3
a12784 2
	* xdisp.c (add_to_log): Don't pass the terminating NUL byte
	of the message to message_dolog.
d12786 1
a12786 3
	* keyboard.c (read_char): Don't clear current message for help
	events; let the code handling help events handle this.  Change
	code detecting help events that should be ignored.
d12788 4
a12791 2
	* xdisp.c (handle_single_display_prop): Don't try to set PT if
	we're interating over a string.
d12793 1
a12793 1
2000-05-09  Dave Love  <fx@@gnu.org>
d12795 13
a12807 3
	* fileio.c (Fwrite_region): If APPEND arg is an integer, seek to
	that offset before writing.  Move gcpro region past call of
	Ffile_regular_p.
d12809 1
a12809 1
2000-05-04  Dave Love  <fx@@gnu.org>
d12811 1
a12811 1
	* buffer.c (syms_of_buffer) [auto-fill-function]: Doc fix.
d12813 1
a12813 1
2000-05-04  Gerd Moellmann  <gerd@@gnu.org>
d12815 3
a12817 3
	* insdel.c (insert_from_buffer_1): Adjust FROM position by number
	of inserted characters when BUF equals the current buffer, and PT
	is in front of or equal to FROM.
d12819 1
a12819 1
2000-05-03  Gerd Moellmann  <gerd@@gnu.org>
d12821 2
a12822 4
	* xdisp.c (handle_single_display_prop): If display property value
	is invalid, or something not supported on the frame, restore
	iterator's position to what it was initially.  Make sure to return
	0 for invalid and unsupported property values.
d12824 1
a12824 2
	* xterm.c (x_produce_glyphs) <composite chars>: Handle case
	that x_per_char_metric returns null.
d12826 4
a12829 1
2000-05-02  Gerd Moellmann  <gerd@@gnu.org>
d12831 3
a12833 25
	* xterm.h (struct face): Add forward declaration.
	(struct image): Ditto.
	(image_ascent): Add prototype.

	* xterm.c (x_produce_image_glyph, x_draw_image_foreground)
	(x_draw_image_relief, x_draw_image_foreground_1): Call function
	image_ascent instead of using IMAGE_ASCENT.

	* dispextern.h (DEFAULT_IMAGE_HEIGHT): New macro.
	(IMAGE_ASCENT): Removed.

	* xfns.c (Qcenter): New variable.
	(enum image_value_type): Add IMAGE_ASCENT_VALUE.
	(parse_image_spec): Handle IMAGE_ASCENT_VALUE.
	(image_ascent): New function.
	(lookup_image): Recognize `:ascent center'.
	(xbm_format, xpm_format, pbm_format, png_format, jpeg_format)
	(tiff_format, gif_format, gs_format): Use IMAGE_ASCENT_VALUE.
	(xbm_load): Don't set image's ascent here.
	(xbm_image_p, xpm_image_p, pbm_image_p, png_image_p)
	(jpeg_image_p, tiff_image_p, gif_image_p, gs_image_p): Don't
	check ascent values here.
	(Fimagep, Flookup_image [GLYPH_DEBUG]: Removed.
	(syms_of_xfns) [GLYPH_DEBUG]: Don't defsubr removed functions.
	(syms_of_xfns): Initialize Qcenter.
d12835 1
a12835 2
	* eval.c (Fsignal): If lisp_eval_depth or spepdl_size are near
	to the limits, increase the limits.
d12837 3
a12839 1
2000-05-01  Kenichi Handa  <handa@@etl.go.jp>
d12841 1
a12841 2
	* fontset.c (fs_load_font): By default, use 0x00..0x7f for ASCII.
	Check Vfont_encoding_alist against the full name of the opened font.
d12843 1
a12843 1
2000-04-28  Gerd Moellmann  <gerd@@gnu.org>
d12845 3
a12847 2
	* xdisp.c (make_cursor_line_fully_visible): Handle case of rows
	taller than the window.
d12849 1
a12849 1
2000-04-28  Kenichi Handa  <handa@@etl.go.jp>
d12851 4
a12854 2
	* xfaces.c (realize_x_face): Fix the argument of the second
	xassert.  BASE_FACE may not be a face for ASCII.
d12856 9
a12864 1
2000-04-27  Gerd Moellmann  <gerd@@gnu.org>
d12866 1
a12866 1
	* print.c (print_object): Treat print-length < 0 as nil.
d12868 2
a12869 1
	* Makefile.in (termcapobj): Don't use TERMCAP_OBJ.
d12871 1
a12871 2
	* s/freebsd.h (TERMCAP_OBJ): Removed.
	(LIBS_TERMCAP): Don't define for __FreeBSD_version >= 400000.
d12873 2
a12874 2
	* lread.c (read1): Don't treat period followed by certain
	characters as symbol start.
d12876 1
a12876 10
	* xfns.c (slurp_file): New function.
	(xbm_image_p): Handle case of in-memory XBM files.
	(xbm_scan): Rewritten to work on memory buffers instead of files.
	(xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data.
	Work on memory buffers instead of files.  If DATA is null test
	if buffer looks like an in-memory XBM file.
	(xbm_load_image): Renamed from xbm_load_image_file.  Work on
	memory buffers instead of files.
	(xbm_file_p): New function.
	(xbm_load): Accept :data DATA where DATA is an in-memory XBM file.
d12878 1
a12878 2
	* lread.c (end_of_file_error): New function.
	(read1): Call it instead of signaling `end-of-file' directly.
d12880 2
a12881 2
	* print.c (print_error_message): Print data of `end-of-file'
	with Fprinc instead of Fprin1.
d12883 1
a12883 1
2000-04-26  Ken Raeburn  <raeburn@@gnu.org>
d12885 4
a12888 3
	* window.c (freeze_window_start): Check that minibuffer scroll
	window isn't nil before extracting the window structure pointer
	from it.
d12890 1
a12890 2
	* undo.c (record_delete): If we hit the end of the undo list, stop
	picking elements apart.
d12892 1
a12892 1
2000-04-26  Gerd Moellmann  <gerd@@gnu.org>
d12894 15
a12908 3
	* xdisp.c (display_line): If lines are continued, restore
	iterator's ascent/descent information to the values before the
	first glyph not fitting on the line.
d12910 1
a12910 1
2000-04-25  Gerd Moellmann  <gerd@@gnu.org>
d12912 1
a12912 2
	* xdisp.c (try_window_id) <all changes above window start>: Adjust
	positions in glyph matrix.  Don't compute new window end positions.
d12914 1
a12914 4
	* dispnew.c (increment_matrix_positions): Renamed from
	increment_glyph_matrix_buffer_positions.
	(increment_row_positions): Renamed from
	increment_glyph_row_buffer_positions.
d12916 1
a12916 2
	* dispextern.h: Change names of renamed functions from dispnew.c
	in prototypes.
d12918 1
a12918 1
2000-04-24  Gerd Moellmann  <gerd@@gnu.org>
d12920 2
a12921 2
	* fileio.c (Fdo_auto_save): Create directories for auto-save
	list file if necessary.
d12923 1
a12923 6
	* xdisp.c (init_iterator): Set iterator's extra_line_spacing
	from buffer or frame.
	(automatic_hscrolling_p): New variable.
	(hscroll_windows): Scroll windows horizontally only if automatic
	hscrolling is allowed.
	(syms_of_xdisp): New variable `automatic-hscrolling'.
d12925 2
a12926 1
	* frame.h (struct frame): Add member extra_line_spacing.
d12928 2
a12929 4
	* xfns.c (x_set_line_spacing): New function.
	(Fx_create_frame): Set line spacing from resources.
	(Qline_spacing): New variable.
	(syms_of_xfns): Initialize Qline_spacing.
d12931 1
a12931 1
	* emacs.c (USAGE2): Add `--line-spacing' and `-lsp'.
d12933 1
a12933 5
	* buffer.c (init_buffer_once): Handle extra_line_spacing.
	(syms_of_buffer): Add `default-line-spacing' and `line-spacing'.
	(reset_buffer): Don't initialize extra2 and extra3.  Initialize
	extra_line_spacing from default value.
	(init_buffer_once): Initialize default value of extra_line_spacing.
d12935 1
a12935 2
	* buffer.h (struct buffer): Add extra_line_spacing, remove extra2
	and extra3.
d12937 1
a12937 2
	* xterm.c (x_produce_glyphs): Remove reference to struct it's
	prompt_width.  Add extra line spacing.
d12939 1
a12939 2
	* term.c (produce_glyphs): Remove reference to struct it's
	prompt_width.
d12941 2
a12942 2
	* dispextern.h (struct it): Remove member prompt_width, add
	extra_line_spacing.
d12944 1
a12944 1
2000-04-22  Gerd Moellmann  <gerd@@gnu.org>
d12946 3
a12948 3
	* dispnew.c (update_frame_line): When writing a whole line, make
	sure cursor is in the right row afterwards, otherwise a use of
	capability `ch' in cmgoto might leave the cursor in the row below.
d12950 1
a12950 1
2000-04-21  Gerd Moellmann  <gerd@@gnu.org>
d12952 2
a12953 1
	* lisp.h (struct Lisp_Buffer_Cons): Remove.
d12955 1
a12955 1
	* keyboard.c (timer_check): Fix typo in comment.
d12957 1
a12957 1
2000-04-21  Kenichi Handa  <handa@@etl.go.jp>
d12959 1
a12959 2
	* fontset.c (Fset_fontset_font): Fix docstring.  Local variable
	name change: ch -> character.
d12961 7
a12967 1
2000-04-20  Gerd Moellmann  <gerd@@gnu.org>
d12969 1
a12969 6
	* keyboard.c (echo_message_buffer): New variable.
	(echo_now): Set echo_message_buffer to the echo area buffer used
	to display the echo.
	(cancel_echoing): Reset echo_message_buffer to nil.
	(read_char): Code rewritten that handles canceling an echo or
	echoing a dash, respectively.
d12971 1
a12971 2
	* fileio.c (Ffile_writable_p) [WINDOWSNT]: Return nil if parent
	directory doesn't exist.
d12973 1
a12973 1
2000-04-19  Dave Love  <fx@@gnu.org>
d12975 1
a12975 3
	* fns.c (syms_of_fns): Defsubr mapc.
	(concat): Don't allow numeric args.
	(Fconcat): Doc change.
d12977 1
a12977 1
2000-04-19  Stefan Monnier  <monnier@@cs.yale.edu>
d12979 10
a12988 3
	* regex.c (re_match_2_internal): Don't shorten the strings anymore,
	instead define end_match(1|2) more carefully.
	Use GET_CHAR_BEFORE_2 for `begline'.
d12990 1
a12990 1
2000-04-19  Gerd Moellmann  <gerd@@gnu.org>
d12992 4
a12995 2
	* frame.h (SELECTED_FRAME): Change definition to compile cleanly
	on 64-bit systems where NULL is defined as `0'.
d12997 1
a12997 2
	* xdisp.c (with_echo_area_buffer): Add more `int' parameters for
	the `variable argument list' to make it work on Alpha.
d12999 7
a13005 2
	* m/alpha.h (_LP64) [!_LP64]: Define.
	(ORDINARY_LINK): Define for NetBSD.
d13007 1
a13007 1
	* m/macppc.h (ORDINARY_LINK): Define for NetBSD.
d13009 2
a13010 1
2000-04-19  Dave Love  <fx@@gnu.org>
d13012 1
a13012 2
	* s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Revert 2000-04-14
	change.
d13014 4
a13017 3
	* Makefile.in (LIBS): Don't use.
	(GETLOADAVG_OBJ): Define again.
	(otherobj): Add GETLOADAVG_OBJ.
d13019 1
a13019 1
	* buffer.c (Fmake_indirect_buffer): Escape newline in doc.
d13021 1
a13021 1
2000-04-18  Gerd Moellmann  <gerd@@gnu.org>
d13023 3
a13025 1
	* lread.c (read_filtered_event): Cancel and start busy cursor.
d13027 1
a13027 2
	* xterm.c (x_produce_glyphs) <ASCII chars>: Take into account
	that the per-character metrics may be null.
d13029 3
a13031 1
2000-04-17  Gerd Moellmann  <gerd@@gnu.org>
d13033 1
a13033 3
	* buffer.c (clone_per_buffer_values): New function.
	(Fmake_indirect_buffer): Add optional argument CLONE.  Call
	clone_per_buffer_values if CLONE is not nil.
d13035 2
a13036 1
	* xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix.
d13038 2
a13039 1
2000-04-16  Dave Love  <fx@@gnu.org>
d13041 1
a13041 6
	* Makefile.in: Remove obsolete localcpp stuff.
	(GETLOADAVG_OBJ): Don't define.
	(obj): Move LIBOBJS...
	(otherobj): ... to here.
	(MSDOS_OBJ): Convert to make variable -- preprocessing zapped
	whitespace-only lines after the continuation (Irix).
d13043 3
a13045 1
2000-04-14  Gerd Moellmann  <gerd@@gnu.org>
d13047 1
a13047 1
	* xfns.c (xpm_load) [DEBUG_X_COLORS]: Register colors.
d13049 3
a13051 1
	* s/freebsd.h (LD_SWITCH_SYSTEM): Add `-L /usr/local/lib'.
d13053 7
a13059 1
2000-04-14  Dave Love  <fx@@gnu.org>
d13061 2
a13062 5
	* s/aix3-1.h, s/bsd4-2.h, s/bsd4-3.h, s/cxux.h, s/dgux.h, s/gnu.h:
	* s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/rtu.h:
	* s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h, s/usg5-2.h:
	* s/usg5-3.h, s/xenix.h, s/umax.h: Don't define autoconfiscated
	NLIST_STRUCT.
d13064 1
a13064 2
	* s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Don't define
	autoconfiscated HAVE_GETLOADAVG.
d13066 1
a13066 2
	* s/nextstep.h, s/sco4.h, s/sco5.h: Don't define autoconfiscated
	BROKEN_MKTIME.
d13068 1
a13068 1
2000-04-14  Gerd Moellmann  <gerd@@gnu.org>
d13070 1
a13070 2
	* filelock.c (MAKE_LOCK_NAME): Allocate 2 more bytes.
	(fill_in_lock_file_name): Avoid existing files that aren't links.
d13072 1
a13072 1
2000-04-14  Dave Love  <fx@@gnu.org>
d13074 2
a13075 11
	* Makefile.in (LIBS, LIBOBJS): New variable.
	(INTERVAL_SRC): Convert to make variable.
	(INTERVAL_OBJ, MKTIME_OBJ, FLOAT_SUPPORT, FACE_SUPPORT)
	(HAVE_X_WINDOWS, OBJECTS_SYSTEM): Remove.
	(obj): Substitute INTERVAL_OBJ, add MKTIME_OBJ, GETLOADAVG_OBJ and
	add LIBOBJS.
	(SOME_MACHINE_OBJECTS): Remove interval stuff.
	(lisp): Substitute FACE_SUPPORT, FLOAT_SUP.
	(shortlisp): Add facemenu, float-sup, frame.
	(SOME_MACHINE_LISP): Remove them from here.
	(LIBES): Change unused LDLIBS to autoconf LIBS.
d13077 1
a13077 1
	* config.in: Add BROKEN_MKTIME, NLIST_STRUCT, NLIST_NAME_UNION.
d13079 1
a13079 1
2000-04-14  Kenichi Handa  <handa@@etl.go.jp>
d13081 1
a13081 2
	* composite.c (update_compositions): If FROM and TO are not in a
	valid range, do nothing.
d13083 2
a13084 1
2000-04-13  Gerd Moellmann  <gerd@@gnu.org>
d13086 1
a13086 1
	* tparam.c (tparam1): Abort when encountering an unknown `%'-specifier.
d13088 1
a13088 1
	* s/freebsd.h (TERMCAP_OBJ) [__FreeBSD__ >= 4]: Define as terminfo.o.
d13090 1
a13090 2
	* Makefile.in (termcapobj) [LIBS_TERMCAP && TERMCAP_OBJ]: Define
	as TERMCAP_OBJ.
d13092 7
a13098 1
2000-04-13  Eli Zaretskii  <eliz@@is.elta.co.il>
d13100 2
a13101 3
	* fileio.c (a_write): Remove redundant semi-colons.
	(e_write): Return -1 if failed to write all the data.
	This fixes the changes made at 1999-12-15.
d13103 1
a13103 1
2000-04-12  Dave Love  <fx@@gnu.org>
d13105 4
a13108 2
	* fns.c (mapcar1): Test for null vals to support mapc.
	(Fmapc): New function.
d13110 1
a13110 1
2000-04-12  Eli Zaretskii  <eliz@@is.elta.co.il>
d13112 1
a13112 3
	* msdos.c (NUM_MOUSE_BUTTONS): Define.
	(IT_frame_up_to_date): Support the buffer local value of
	cursor-type, if defined.
d13114 2
a13115 1
2000-04-10  Dave Love  <fx@@gnu.org>
d13117 2
a13118 1
	* editfns.c (preceding-char, following-char): Doc fix.
d13120 1
a13120 1
2000-04-10  Ken Raeburn  <raeburn@@gnu.org>
d13122 1
a13122 1
	* Makefile.in (temacs): Revert 2000-03-12 change.
d13124 1
a13124 1
2000-04-10  Jason Rumney  <jasonr@@gnu.org>
d13126 2
a13127 1
	* xfaces.c (realize_face): Change FRAME_X_P to FRAME_WINDOW_P.
d13129 1
a13129 1
2000-04-10  Gerd Moellmann  <gerd@@gnu.org>
d13131 1
a13131 2
	* xdisp.c (setup_echo_area_for_printing): Choose an echo
	area buffer, if it's not set up yet.
d13133 1
a13133 1
	* indent.c (compute_motion): Set immediate_quit.
d13135 2
a13136 1
2000-04-09  Gerd Moellmann  <gerd@@gnu.org>
d13138 1
a13138 6
	* xfaces.c (tty_suppress_bold_inverse_default_colors_p): New variable.
	(realize_tty_face): Suppress boldness if colors are the inverse of
	the default colors, and tty_suppress_bold_inverse_default_colors_p
	is set.
	(Ftty_suppress_bold_inverse_default_colors): New function.
	(syms_of_xfaces): Defsubr it.
d13140 5
a13144 2
	* buffer.c (Frestore_buffer_modified_p): New function.
	(syms_of_buffer): Defsubr it.
d13146 1
a13146 1
2000-04-08  Ken Raeburn  <raeburn@@gnu.org>
d13148 1
a13148 2
	* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
	charset id (int) argument, not a charset (Lisp_Object).
d13150 2
a13151 3
	* coding.h (code_convert_string): Declare.
	* coding.c (code_convert_string_norecord): Pass an int, not a lisp
	object, as the fourth argument to code_convert_string.
d13153 3
a13155 2
	* fontset.c (make_fontset_for_ascii_face): Use XINT on return value.
	(Fset_fontset_font): Use EQ to compare lisp objects.
d13157 1
a13157 1
2000-04-05  Ken Raeburn  <raeburn@@gnu.org>
d13159 3
a13161 6
	* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for
	a pointer that looks like a lisp object.
	(SET_INTERVAL_OBJECT): Don't explicitly compare the object with
	zero, instead see whether it's an integer object, since they can't
	have intervals.
	(GET_INTERVAL_OBJECT): Simply assign to the destination.
d13163 1
a13163 9
	* dispnew.c (allocate_matrices_for_frame_redisplay)
	(direct_output_forward_char): Use X(U)INT and make_number as needed
	to convert between (unsigned) int values and lisp integers.
	* keyboard.c (read_key_sequence): Likewise.
	* lread.c (substitute_object_recurse): Likewise.
	* fns.c (concat, hash_lookup, hash_remove): Likewise.
	* minibuf.c (do_completion, Fminibuffer_complete_word)
	(Fminibuffer_completion_help): Likewise.
	* term.c (produce_special_glyphs): Likewise.
d13165 2
a13166 2
	* fileio.c (Fwrite_region): Use EQ when comparing lisp objects.
	* print.c (print_preprocess, print_object): Likewise.
d13168 1
a13168 1
	* search.c (compile_pattern): Use NILP when checking for nil.
d13170 2
a13171 6
	* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 &&
	__OPTIMIZE__]: Provide a GNU C macro version that handles
	lisp-object unions.
	(XSET) [!NO_UNION_TYPE]: Set the value field first, then the type
	field, to better cope with ENABLE_CHECKING and calls that modify a
	Lisp_Object using its old value.
d13173 1
a13173 1
2000-04-04  Gerd Moellmann  <gerd@@gnu.org>
d13175 3
a13177 2
	* window.c (compare_window_configurations): Signal an error
	if parameters C1 or C2 aren't window configurations.
d13179 1
a13179 3
	* bytecode.c (Fbyte_code): Add a bunch of BEFORE_POTENTIAL_GC/
	AFTER_POTENTIAL_GC calls around calls to functions that can
	signal an error and thus invoke the debugger.
d13181 1
a13181 1
2000-04-03  Gerd Moellmann  <gerd@@gnu.org>
d13183 2
a13184 2
	* fns.c (Fbase64_decode_region, Fbase64_decode_string): Signal
	an error if decoding fails.
d13186 3
a13188 14
	* keyboard.c (lispy_mouse_names): Variable removed.
	(Vlispy_mouse_stem): New variable.
	(syms_of_keyboard): Initialize Vlispy_mouse_stem.
	(make_lispy_event) <mouse_click, scroll_bar_click>: Don't abort
	for any mouse button number.  Increase size of mouse_syms and
	button_down_location as needed.  Call modify_event_symbol with
	different arguments.
	(make_lispy_event) <scroll_bar_click> [USE_TOOLKIT_SCROLL_BARS]:
	Call modify_event_symbol with different arguments.
	(make_lispy_event) <w32_scroll_bar_click> [WINDOWSNT]: Don't abort
	for any button number.  Call modify_event_symbol with different
	arguments.
	(modify_event_symbol): Rename NAME_ALIST to NAME_ALIST_OR_STEM.
	Accept a string for NAME_ALIST_OR_STEM.
d13190 1
a13190 1
	* lisp.h (larger_vector): Add prototype.
d13192 4
a13195 1
	* fns.c (larger_vector): Make externally visible.
d13197 1
a13197 1
	* termhooks.h (NUM_MOUSE_BUTTONS): Removed.
d13199 1
a13199 1
2000-04-02  Stefan Monnier  <monnier@@cs.yale.edu>
d13201 1
a13201 15
	* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
	(RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros.
	(GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when
	we are between str1 and str2.
	(MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default.
	(PATFETCH): Use `TRANSLATE'.
	(PATFETCH_RAW): Fetch multibyte char if applicable.
	(PATUNFETCH): Remove.
	(regex_compile): Rely on PATFETCH to do most of the multibyte magic.
	When writing a char, write it directly into the pattern buffer rather
	than going needlessly through a temp char-array.
	(re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the
	multibyte magic and remove the useless `#ifdef emacs'.
	(bcmp_translate): Don't compare as multibyte chars when in a unibyte
	buffer.
d13203 1
a13203 2
	* regex.h (struct re_pattern_buffer): Make field `multibyte'
	conditional on `emacs'.
d13205 1
a13205 1
	* charset.h (GET_CHAR_BEFORE_2): Moved to regex.c.
d13207 1
a13207 1
2000-04-01  Ken Raeburn  <raeburn@@gnu.org>
d13209 1
a13209 5
	* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand
	non-union-type versions of XMARK and friends here, because XMARK
	and friends won't work on an integer field if NO_UNION_TYPE is not
	defined.
	(make_number): Define as a function if it's not defined as a macro.
d13211 2
a13212 3
	* composite.c (run_composite_function): Use NILP when checking for nil.
	(syms_of_composite): Delete local var NARGS, pass an int as first
	argument to Fmake_hash_table.
d13214 1
a13214 6
	* editfns.c (text_property_stickiness): Use NILP to test
	Lisp_Object boolean value.
	(Fmessage_or_box): Don't use NILP to test int variable.
	(Fformat): Use a temporary variable to avoid ENABLE_CHECKING
	problems reading from and changing the same lisp value in an
	XSETSTRING call.
d13216 2
a13217 1
2000-04-01  Gerd Moellmann  <gerd@@gnu.org>
d13219 1
a13219 6
	* term.c (TN_no_color_video): New variable.
	(term_init): Intitialize TN_no_color_video.
	(enum no_color_bit): New enumeration.
	(MAY_USE_WITH_COLORS_P): New macro.
	(turn_on_face): Use it to determine if attributes may be used
	combined with colors.
d13221 1
a13221 1
2000-04-01  Ken Raeburn  <raeburn@@gnu.org>
d13223 1
a13223 6
	* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
	with int lvalues via casts; instead, just yield lisp object lvalues.
	(enlarge_window): Variable sizep now points to Lisp_Object.  Use
	proper accessor macros.
	(shrink_window_lowest_first): w->top is Lisp_Object; use XINT.
	(grow_mini_window): Fix typo getting int value of root->height.
d13225 1
a13225 16
	* xdisp.c (compute_string_pos): Fix order of arguments to
	string_pos_nchars_ahead.
	(handle_fontified_prop, add_to_log): Pass int, not Lisp_Object, as
	count arg to variable-arg routines like Frun_hook_with_args and
	Fformat.
	(back_to_previous_visible_line_start)
	(build_desired_tool_bar_string): Pass Lisp_Object, not int, to
	fixed-arg routines like Fget_char_property and Fmake_string.
	(reconsider_clip_changes): Use XINT when comparing integer lisp
	objects, or passing them as int arguments.
	(mark_window_display_accurate, insert_left_trunc_glyphs)
	(append_space, extend_face_to_end_of_line): Use make_number when
	storing or passing integer values as lisp objects.
	(set_cursor_from_row, highlight_trailing_whitespace): Use
	INTEGERP, not implicit test against zero, for glyph object.
	(try_window_id): Don't use make_number when we want an int value.
d13227 1
a13227 4
	* xfaces.c (xlfd_symbolic_value): Make last argument a
	Lisp_Object, to be consistent with callers.
	(Fbitmap_spec_p): Use XINT to get numeric value of height.
	(lface_hash): Apply XFASTINT to lisp values before folding in.
d13229 1
a13229 3
	* xfns.c (Fx_show_tip): Use make_number to get lisp objects to
	fill in window width and height.  Pass an int, not a lisp object,
	as first arg to Finsert.
d13231 1
a13231 1
2000-04-01  Gerd Moellmann  <gerd@@gnu.org>
d13233 1
a13233 2
	* xfaces.c (realize_basic_faces): Block input while realizing
	the faces.
d13235 1
a13235 1
	* keyboard.c (lispy_mouse_names): Add additional mouse names.
d13237 3
a13239 1
	* termhooks.h (NUM_MOUSE_BUTTONS): Increase to 15.
d13241 1
a13241 1
2000-03-31  Gerd Moellmann  <gerd@@gnu.org>
d13243 2
a13244 2
	* xterm.c (x_produce_glyphs): When displaying unibyte text
	or ASCII, handle case that per-char metric is null.
d13246 1
a13246 1
2000-03-30  Ken Raeburn  <raeburn@@gnu.org>
d13248 1
a13248 1
	* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.
d13250 1
a13250 4
	* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW)
	(XSUBR, XBUFFER): Verify correct object type before returning
	pointer, using eassert.
	* frame.h (XFRAME): Likewise.
d13252 4
a13255 13
	* buffer.c (Frename_buffer, Fset_buffer_multibyte)
	(swap_out_buffer_local_variables, Fmove_overlay): Don't apply
	XSYMBOL, XBUFFER, etc, to values that may be nil or of the wrong type.
	* data.c (set_internal): Likewise.
	* dispextern.h (WINDOW_WANTS_MODELINE_P)
	(WINDOW_WANTS_HEADER_LINE_P): Likewise.
	* fileio.c (auto_save_1): Likewise.
	* insdel.c (check_markers): Likewise.
	* marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise.
	* undo.c (record_insert): Likewise.
	* vmsproc.c (child_sig): Likewise.
	* window.c (unshow_buffer, window_loop): Likewise.
	* xterm.c (x_erase_phys_cursor): Likewise.
d13257 2
a13258 1
2000-03-30  Gerd Moellmann  <gerd@@gnu.org>
d13260 1
a13260 2
	* xfns.c (free_image_cache): Free the cache structure itself
	last, after all its members have been freed.
d13262 4
a13265 1
	* lisp.h (xstrdup): Add prototype.
d13267 1
a13267 3
	* alloc.c (xstrdup): Moved here from xfaces.c.
	(allocating_for_lisp): Variable removed.
	(lisp_malloc): Block input around the calls to malloc and mem_insert.
d13269 2
a13270 3
	* xfaces.c (realize_tty_face): Use find_symbol_value instead
	of Fsymbol_value.
	(xstrdup): Moved to alloc.c.
d13272 3
a13274 1
2000-03-29  Ken Raeburn  <raeburn@@gnu.org>
d13276 1
a13276 1
	* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
d13278 1
a13278 1
	* emacs.c (main): Fix sense of no-loadup test.
d13280 1
a13280 1
	* config.in (ENABLE_CHECKING): Undef.
d13282 2
a13283 6
	* lisp.h (struct interval): Replace "parent" field with a union of
	interval pointer and Lisp_Object; add new bitfield to use as
	discriminant.  Change other flag fields to bitfields.
	(CHECK): New macro for consistency checking.  If ENABLE_CHECKING
	is defined and the supplied test fails, print a message and abort.
	(eassert): New macro.  Use CHECK to provide an assert-like facility.
d13285 1
a13285 5
	* intervals.h (NULL_INTERVAL_P): Now applies only to real interval
	pointers; abort if the value looks like a lisp object.
	(NULL_INTERVAL_P, NULL_PARENT, HAS_PARENT, HAS_OBJECT, SET_PARENT)
	(SET_OBJECT, INTERVAL_PARENT, GET_INTERVAL_OBJECT, COPY_PARENT):
	Modify for new interval parent definition.
d13287 2
a13288 5
	* alloc.c (mark_interval_tree, MARK_INTERVAL_TREE)
	(UNMARK_BALANCE_INTERVALS): Update references that need an
	addressable lisp object in the interval structure.
	(die): New function.
	(suppress_checking): New variable.
d13290 1
a13290 2
	* intervals.c (interval_start_pos): Just return 0 if there's no
	parent object.
d13292 12
a13303 1
2000-03-29  Gerd Moellmann  <gerd@@gnu.org>
d13305 1
a13305 2
	* lread.c (read1): Accept `.' (period) as symbol start like in CL
	and earlier Emacs versions.
d13307 9
a13315 1
	* keyboard.c (Ftop_level): Cancel busy-cursor.
d13317 1
a13317 1
	* eval.c (call_debugger): Cancel busy-cursor.
d13319 1
a13319 1
2000-03-29  Kenichi Handa  <handa@@etl.go.jp>
d13321 5
a13325 2
	* search.c (Freplace_match): Adjust multibyteness of the current
	buffer and NEWTEXT.  Free allocated memory before signaling an error.
d13327 2
a13328 1
2000-03-28  Stefan Monnier  <monnier@@cs.yale.edu>
d13330 1
a13330 8
	* regex.c (analyse_first): New function obtained by ripping out most
	of re_compile_fastmap and generalizing it a little bit so that it
	can also just return whether a given (sub)pattern can match the empty
	string or not.
	(regex_compile): Use `analyse_first' to decide whether the loop-check
	needs to be done or not for *, +, *? and +? (the loop check is costly
	for non-greedy repetition).
	(re_compile_fastmap): Delegate the actual work to `analyse_first'.
d13332 2
a13333 1
2000-03-28  Dave Love  <fx@@gnu.org>
d13335 1
a13335 1
	* s/gnu-linux.h (GC_SETJMP_WORKS): Define for i386, sparc, m68k, alpha.
d13337 3
a13339 1
	* alloc.c: Include stdio.h.  Test STDC_HEADERS, not __STDC__.
d13341 1
a13341 1
2000-03-27  Stefan Monnier  <monnier@@cs.yale.edu>
d13343 1
a13343 11
	* regex.c (REGEX_FREE_STACK, RESET_FAIL_STACK): Make them usable as
	an expression.
	(enum re_opcode_t): Update description of succeed_n.
	(PATFETCH): Always define.
	(regex_compile): Use lookahead rather than PATUNFETCH (for repetition
	operators, char classes, shy-groups and intervals).
	Optimize special cases of intervals so as to only use succeed_n and
	jump_n when really needed.
	(re_compile_fastmap): Simplify handling of jump_n and succeed_n now
	that we don't have to handle the special cases any more.
	Simplify on_failure_jump handling as well.
d13345 4
a13348 1
2000-03-28  Jason Rumney  <jasonr@@gnu.org>
d13350 2
a13351 1
	* lread.c (Fload): Move safe_p definition to above #ifdef DOS_NT.
d13353 4
a13356 1
2000-03-27  Gerd Moellmann  <gerd@@gnu.org>
d13358 1
a13358 1
	* s/freebsd.h (GC_SETJMP_WORKS): Define.
d13360 4
a13363 1
	* s/msdos.h (GC_SETJMP_WORKS): Define.
d13365 5
a13369 7
	* alloc.c (mark_maybe_object): New function.
	(mark_memory): Use it.
	(SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): New macros.
	(setjmp_tested_p, longjmp_done): New variables.
	(test_setjmp): New function.
	(mark_stack) [!GC_SETJMP_WORKS]: Call test_setjmp.
	(init_alloc): Initialize setjmp_tested_p and longjmp_done.
d13371 1
a13371 2
	* xdisp.c (face_before_or_after_it_pos): Pass multibyteness
	to DEC_TEXT_POS and INC_TEXT_POS.
d13373 2
a13374 2
	* dispnew.c (direct_output_for_insert): Use DEC_TEXT_POS
	with parameter MULTIBYTE_P.
d13376 1
a13376 1
	* dispextern.h (INC_TEXT_POS, DEC_TEXT_POS): Add parameter MULTIBYTE_P.
d13378 1
a13378 3
	* editfns.c (Fsubst_char_in_region): Don't use INC_POS in unibyte
	buffers because it looks for multibyte character byte sequences
	which don't exist in unibyte text.
d13380 2
a13381 1
	* xterm.h (x_specified_cursor_type, x_copy_color): Add prototypes.
d13383 1
a13383 3
	* xfaces.c (register_color, unregister_color, unregister_colors)
	[DEBUG_X_COLORS]: New functions.
	(x_free_colors) [DEBUG_X_COLORS]: Unregister colors.
d13385 1
a13385 1
	* xfns.c (x_set_cursor_color): Get color reference counts right.
d13387 3
a13389 2
	* xterm.c (x_copy_color): New function.
	(x_alloc_nearest_color) [DEBUG_X_COLORS]: Call register_color.
d13391 1
a13391 10
	* buffer.h (MAX_PER_BUFFER_VARS): Renamed from MAX_BUFFER_LOCAL_VARS.
	(PER_BUFFER_VAR_OFFSET): Renamed from BUFFER_LOCAL_VAR_OFFSET.
	(PER_BUFFER_VAR_IDX): Renamed from BUFFER_LOCAL_VAR_IDX.
	(PER_BUFFER_VALUE_P): Renamed from BUFFER_HAS_LOCAL_VALUE_P.
	(SET_PER_BUFFER_VALUE_P): Renamed from SET_BUFFER_HAS_LOCAL_VALUE_P.
	(PER_BUFFER_IDX): Renamed from BUFFER_LOCAL_IDX.
	(PER_BUFFER_DEFAULT): Renamed from BUFFER_LOCAL_DEFAULT_VALUE.
	(PER_BUFFER_VALUE): Renamed from BUFFER_LOCAL_VALUE.
	(PER_BUFFER_SYMBOL): Renamed from BUFFER_LOCAL_SYMBOL.
	(PER_BUFFER_TYPE): Renamed from BUFFER_LOCAL_TYPE.
d13393 1
a13393 2
	* category.c, data.c, syntax.c, print.c, lread.c: Use new macro
	names for handling per-buffer variables.
d13395 1
a13395 3
	* buffer.c (buffer_permanent_local_flags): Use MAX_PER_BUFFER_VARS
	instead of MAX_BUFFER_LOCAL_VARS.
	(last_per_buffer_idx): Renamed from max_buffer_local_idx.
d13397 2
a13398 1
	* xfaces.c (lookup_face): Don't assert FACE_SUITABLE_FOR_CHAR_P.
d13400 1
a13400 2
	* xfns.c (x_specified_cursor_type): New function.
	(x_set_cursor_type): Use it.
d13402 3
a13404 1
	* buffer.h (struct buffer): Add cursor_type.
d13406 1
a13406 1
2000-03-26  Stefan Monnier  <monnier@@cs.yale.edu>
d13408 3
a13410 7
	* regex.c (enum re_opcode_t): New opcode on_failure_jump_nastyloop.
	(print_partial_compiled_pattern, re_compile_fastmap):
	Handle new opcode.
	(regex_compile): Use on_failure_jump_nastyloop for non-greedy loops.
	(re_match_2_internal): Add code for on_failure_jump_nastyloop when
	executing it as well as when popping it off the stack to find infinite
	loops in non-greedy repetition operators.
d13412 1
a13412 1
2000-03-26  Gerd Moellmann  <gerd@@gnu.org>
d13414 1
a13414 5
	* doc.c (Qfunction_documentation): New variable.
	(syms_of_doc): Initialize Qfunction_documentation.
	(Fdocumentation): If FUNCTION is a symbol with non-nil
	`function-documentation' property, return a documentation derived
	from that.
d13416 1
a13416 3
	* buffer.c (syms_of_buffer): Add default-cursor-type.
	(init_buffer_once): Don't let cursor_type have a local value
	in every buffer.
d13418 1
a13418 3
	* xterm.c (x_display_and_set_cursor): Choose cursor depending
	on buffer-local value of cursor_type.
	(x_draw_bar_cursor): Add parameter WIDTH.
d13420 1
a13420 4
	* buffer.c (reset_buffer): Initialize buffer's cursor_type.
	(init_buffer_once): Set default cursor_type value to t.
	Mark cursor_type as local everywhere.
	(syms_of_buffer): New per-buffer variable cursor-type.
d13422 1
a13422 7
	* buffer.h (struct buffer): Remove member local_var_flags,
	add local_flags.
	(MAX_BUFFER_LOCAL_VARS): New macro.
	(BUFFER_LOCAL_VAR_OFFSET, BUFFER_LOCAL_VAR_IDX)
	(BUFFER_HAS_LOCAL_VALUE_P, SET_BUFFER_HAS_LOCAL_VALUE_P)
	(BUFFER_LOCAL_IDX, BUFFER_LOCAL_DEFAULT_VALUE, BUFFER_LOCAL_VALUE)
	(BUFFER_LOCAL_SYMBOL, BUFFER_LOCAL_TYPE): New macros.
d13424 2
a13425 1
	* print.c (print_object): Use new macros for per-buffer variables.
d13427 1
a13427 2
	* category.c (Fset_category_table): Use new macros for per-buffer
	variables.
d13429 3
a13431 7
	* buffer.c (buffer_permanent_local_flags): Make a char array.
	(max_buffer_local_idx): New variable.
	(reset_buffer_local_variables, Fbuffer_local_variables): Rewritten
	for new handling of per-buffer variables.
	(buffer_slot_type_mismatch): Use new macros for per-buffer vars.
	(init_buffer_once): Initialize per-buffer vars differently.
	Set max_buffer_local_idx.
d13433 1
a13433 2
	* syntax.c (Fset_syntax_table): Use new macros for per-buffer
	variables.
d13435 3
a13437 1
	* lread.c (defvar_per_buffer): Use new macros for per-buffer variables.
d13439 1
a13439 117
	* data.c (do_symval_forwarding, store_symval_forwarding)
	(find_symbol_value, set_internal, default_value, Fset_default)
	(Fkill_local_variable, Flocal_variable_p): Use new macros for
	per-buffer variables.

	* Makefile.in (bootstrap-emacs): Use `mv -f' instead of `mv'.

2000-03-24  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_term_init): Unblock input around call1 of
	Qvendor_specific_keysyms.

	* syntax.c (open_paren_in_column_0_is_defun_start): New variable.
	(find_defun_start): Consider an open parenthesis in column 0
	a defun start only if open_paren_in_column_0_is_defun_start is set.
	(syms_of_syntax): New variable open-paren-in-column-0-is-defun-start.

2000-03-24  Stefan Monnier  <monnier@@cs.yale.edu>

	* eval.c (Fautoload): Add entry in load-history (if after dump).
	* lread.c (load-history): Update docstring.

2000-03-24  Gerd Moellmann  <gerd@@gnu.org>

	* indent.c (Fvertical_motion): Always use the current buffer.
	Temporarily change the window's buffer, if necessary.

2000-03-23  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (fast_find_position): Make sure not to consider rows
	not visible in the window.

2000-03-22  Stefan Monnier  <monnier@@cs.yale.edu>

	* regex.c (enum syntaxcode): Provide default for non-Emacs.
	(re_compile_fastmap, re_match_2_internal): Undo Dave's previous fix.

2000-03-22  Jason Rumney  <jasonr@@gnu.org>

	* w32menu.c (single_submenu): Set help string to NULL if none.
	(w32_menu_show): Set help string correctly.
	(add-menu-item): Set help string in MIIM_DATA for menu item.
	Load SetMenuItemInfoA explicitly.
	(w32_menu_display_help): New function.

	* w32fns.c (w32_wnd_proc): Handle WM_MENUSELECT message.
	(QCdata): Moved to xdisp.c.

	* w32term.c (w32_read_socket): Handle WM_MENUSELECT message.
	(Vw32_charset_to_codepage_alist): Removed.
	(Vw32_charset_info_alist): New variable.
	(Qw32_charset_[ansi, default, symbol, shiftjis, hangul, gb2312)
	(chinesebig5, oem, easteurope, turkish, baltic, russian, arabic)
	(greek, hebrew, thai, johab, mac, unicode]): New symbols.
	(x_produce_glyphs): Remove out of date #ifdef 0'd section. Replace
	with TODO comment.
	(w32_codepage_for_font): Use Vw32_charset_info_alist.
	(syms_of_w32term): Remove Vw32_charset_to_codepage_alist.
	Define Vw32_charset_info_alist and w32_charset symbols.

2000-03-22  Jason Rumney  <jasonr@@gnu.org>

	* makefile.nt (w32bdf.obj): Update dependencies.

	* w32bdf.c: Include frame.h and dispextern.h before fontset.h.

	* w32fns.c: Include fontset.h after dispextern.h.
	(Fx_create_frame): Do not create fontset.
	(w32_load_system_font): Doc fix.
	(Fx_close_connection): Free full_name if it is not shared.

	* w32term.c: Include fontset.h after dispextern.h.
	(x_get_glyph_face_and_encoding): New parameter two_byte_p.
	Callers updated.
	(w32_per_char_metric): If PCM is invalid, delete and return NULL.
	(x_get_char_and_face_encoding): Use FACE_FOR_CHAR to get face_id.
	(w32_font_is_double_byte): New function, needs body.
	(x_append_glyph): Set glyph->glyph_not_available_p.
	(x_produce_glyphs): Set it->glyph_not_available_p.  Don't set
	it->charset.  If it->multibyte_p is zero and it->c is a multibyte
	character, convert it to a unibyte character.
	(struct glyph_string): Delete member `charset'.
	(W32_TEXTOUT): Temporarily remove charset_dim until another way of
	calculating it is found.
	(x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id.  Handle
	the case that per char metric is not available correctly.
	(x_fill_glyph_string): Handle the case that the specific glyph is
	not available correctly.
	(BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset.
	(BUILD_COMPOSITE_GLYPH_STRING): Likewise.
	(x_new_font): Call FS_LOAD_FONT, not fs_load_font.
	(x_new_fontset): Call fontset_ascii to get ASCII font name of the
	fontset.  Don't call FS_LOAD_FONT.

2000-03-22  Ken Raeburn  <raeburn@@gnu.org>

	* intervals.h (NULL_INTERVAL): Cast to INTERVAL type.
	(INT_LISPLIKE): New macro.
	(NULL_INTERVAL_P): Use it.
	(INTERVAL_HAS_PARENT, INTERVAL_HAS_OBJECT, SET_INTERVAL_PARENT)
	(SET_INTERVAL_OBJECT, INTERVAL_PARENT, COPY_INTERVAL_PARENT)
	(GET_INTERVAL_OBJECT, INTERVAL_PARENT_OR_NULL): New macros.

	* alloc.c (make_interval, gc_sweep): Use new macros; eliminate all
	explicit references to "parent" field of struct interval and
	associated unclean type conversions.
	* intervals.c (create_root_interval, root_interval, rotate_right)
	(rotate_left, balance_possible_root_interval, split_interval_right)
	(split_interval_left, interval_start_pos, find_interval)
	(next_interval, previous_interval, update_interval)
	(adjust_intervals_for_insertion, delete_node, delete_interval)
	(adjust_intervals_for_deletion, merge_interval_right)
	(merge_interval_left, reproduce_tree, graft_intervals_into_buffer)
	(copy_intervals_to_string): Likewise.
	* intervals.h (AM_LEFT_CHILD, AM_RIGHT_CHILD, RESET_INTERVAL):
	Likewise.
	* syntax.c (update_syntax_table): Likewise.
d13441 7
a13447 507
	* intervals.c (reproduce_tree_obj): New function, like
	reproduce_tree but takes a Lisp_Object for the parent.  Declare
	with prototype.
	(graft_intervals_into_buffer): Use it when appropriate.
	(reproduce_tree): Declare with prototype.
	(balance_possible_root_interval): Check that the parent is a lisp
	object before trying to examine its type.

2000-03-22  Gerd Moellmann  <gerd@@gnu.org>

	* xfaces.c (lface_same_font_attributes_p): Compare font attributes
	as strings only if both are known to be strings.

	* s/openbsd.h (LIBS_TERMCAP): Undef.

2000-03-21  Stefan Monnier  <monnier@@cs.yale.edu>

	* regex.c (CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default
	definitions for non-Emacs compilation.
	(enum re_opcode_t): Remove (not)wordchar and move (not)syntaxspec
	outside of `#ifdef emacs'.
	(print_partial_compiled_pattern): Update.
	(regex_compile): Use (not)syntaxspec(Sword) instead of (not)wordchar.
	(re_compile_fastmap): Merge handling of charset and charset_not (for
	emacs and non-emacs compilation as well).
	Similarly for (not)categoryspec and (not)syntaxspec.
	Don't use the fastmap when reaching `anychar' since the added
	complexity is not justified.
	(re_match_2_internal): Merge (not)wordchar (emacs and non-emacs)
	and (not)syntaxspec.  Merge (not)categoryspec.

2000-03-22  Kenichi Handa  <handa@@etl.go.jp>

	* dispextern.h [!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P)
	(FACE_FOR_CHAR): Define them differently for the configuration of
	--without-x.

2000-03-21  Dave Love  <fx@@gnu.org>

	* fontset.c (Fset_fontset_font, Ffontset_font): Fix newlines in
	doc string.

2000-03-21  Gerd Moellmann  <gerd@@gnu.org>

	* xfaces.c (check_lface_attrs) [GLYPH_DEBUG]: Fix syntax error.
	(lface_fully_specified_p): Don't check contents of
	LFACE_FONT_INDEX because that attribute is optional.
	(realize_x_face): Remove now unwarranted xassert.

2000-03-21  Kenichi HANDA  <handa@@etl.go.jp>

	The following changes are to make font selection based on
	characters, not charset.  In addition, they recover fontset
	facilities while utilizing the new font selection mechanism.

	* Makefile.in (fontset.o): Depend on dispextern.h.

	* alloc.c (mark_face_cache): Don't mark face->registry.

	* dispextern.h (struct glyph): New member glyph_not_available_p.
	Use 22 bits for face_id.
	(enum lface_attribute_index): Add LFACE_FONT_INDEX.
	(struct face): Delete member registry, new member ascii_face.
	(FACE_SUITABLE_FOR_CHAR_P): Renamed from
	FACE_SUITABLE_FOR_CHARSET_P.  Caller changed.
	(FACE_FOR_CHAR): Renamed from FACE_FOR_CHARSET.  Caller changed.
	(struct it): Delete member charset, new member glyph_not_available_p.

	* fontset.h (FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed.
	(struct fontset_info, struct fontset_data): Structs removed.
	(allloc_fontset_data, free_fontset_data, fs_regiser_fontset)
	(Vglobale_fontset_alist, font_idx_temp): Externs removed.
	(fs_load_font, fs_query_fontset): Adjusted for new argument.
	(fs_free_face_fontset, fontset_font_pattern)
	(face_suitable_for_char_p, face_for_char)
	(make_fontset_for_ascii_face): Extern them.
	(FS_LOAD_FONT): Adjusted for the change of fontset implementation.
	(FS_LOAD_FACE_FONT): New macro.

	* fontset.c: All codes rewritten or adjusted for the change of
	fontset implementation.  Now fontset is represented by char table.
	(Vglobal_fontset_alist, font_idx_temp, my_strcasetbl):
	Variables removed.
	(my_strcasecmp): Function removed.
	(Vfontset_table, next_fontset_id, Vdefault_fontset): New variables.
	(AREF, ASIZE): New macros.
	(FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME)
	(FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF)
	(FONTSET_REF_VIA_BASE, FONTSET_SET): New macros.
	(fontset_ref, fontset_ref_via_base, fontset_set, make_fontset)
	(fontset_id_valid_p, font_family_registry, fontset_name)
	(fontset_ascii, free_face_fontset, face_suitable_for_char_p)
	(face_for_char, make_fontset_for_ascii_face, fontset_font_pattern):
	New functions.
	(fs_load_font): New arg FACE.  Caller changed.
	(fs_query_fontset): Argument changed.  Caller changed.
	(Fquery_fontset): call fs_query_fontset.
	(fs_register_fontset, alloc_fontset_data, free_fontset_data):
	Functions removed.
	(clear_fontset_elements, check_registry_encoding)
	(check_fontset_name): New functions.
	(syms_of_fontset): Set char-table-extra-slots property of fontset
	to 3.  Staticpro and initialize Vfontset_table and
	Vdefault_fontset.  Defsubr fontset_font and fontset_list.

	* frame.h (struct frame): Member `fontset_data' removed.
	(FRAME_FONTSET_DATA): Macro removed.

	* frame.c (make_frame): Don't allocate f->fontset_data.
	(Fdelete_frame): Don't free f->fontset_data.

	* msdos.c (XMenuActivate): Args to lookup_derived_face changed.

	* xdisp.c (charset_at_position): Function removed.
	(init_iterator): Don't set member charset of struct `it'.
	(handle_face_prop, reseat_to_string, set_iterator_to_next)
	(next_element_from_display_vector, insert_left_trunc_glyphs):
	Likewise.
	(face_before_or_after_it_pos): Call FACE_FOR_CHAR, not
	FACE_FOR_CHARSET.
	(get_next_display_element, append_space)
	(extend_face_to_end_of_line): Likewise.

	* xfaces.c (Qx_charset_registry, Vface_default_registry):
	Variables removed.
	(clear_font_table, frame_update_line_height, load_face_font):
	Adjusted for the change of fontset implementation.
	(load_face_fontset_font): Function removed.
	(pixel_point_size): New function.
	(font_list): Argument type changed.  Caller changed.
	(LFACE_FONT): New macro.
	(check_lface_attrs): Check attr[LFACE_FONT_INDEX].
	(set_lface_from_font_name): Type of arg FONTNAME is changed to
	Lisp_Object.  Determine the font name by actually loading a font
	by the specified pattern.  Set LFACE_FONT (lface) to the specified
	pattern.  Even if a font is not found, don't try alternatives.
	(Finternal_set_lisp_face_attribute): Handle `font' slot in lface.
	(set_font_frame_param): If `font' is specified in lface, use it.
	(Finternal_get_lisp_face_attribute): Handle `font' slot in lface.
	(lface_same_font_attributes_p): Likewise.
	(make_realized_face): Arguent changed.  Caller changed.  Set
	face->ascii_face to face itself.
	(free_realized_face): Free face->fontset if face is for ASCII.
	(face_suitable_for_iso8859_1_p, face_suitable_for_charset_p)
	(deduce_unibyte_registry, x_charset_registry): Functions removed.
	(free_realized_multibyte_face): New function.
	(lookup_face, lookup_named_face, lookup_derived_face): Argument
	changed.  Caller changed.
	(try_font_list): Argument type changed.
	(face_fontset): Check `font' slot of ATTRS, not `family' slot.
	(choose_face_font): Argument changed.  Handle fontset properly.
	(choose_face_fontset_font): Function removed.
	(realize_default_face, realize_named_face): Don't remove the
	former face here.
	(realize_face): Argument changed.  Caller changed.  Remove face
	with the arg former_face_id in advance.  Load font for the new face.
	(realize_x_face): Argument changed.  Caller changed.  For a
	multibyte character, share fontset with base_face.  For a single
	byte character, make a new realized fontset.  Don't load a font here.
	(realize_tty_face): Argument changed.  Caller changed.
	(compute_char_face): Call FACE_FOR_CHAR, not FACE_FOR_CHARSET.
	(face_at_buffer_position): Don't check multibyte_p for returning
	DEFAULT_FACE_ID.
	(face_at_string_position): Call FACE_SUITABLE_FOR_CHAR_P, not
	FACE_SUITABLE_FOR_CHARSET_P.
	(syms_of_xfaces): Remove code for Qx_charset_registry and
	Vface_default_registry.

	* xterm.c: Include fontset.h after dispextern.h.  Undo the changes
	related to PER_CHAR_METRIC done by Gerd on 2000-03-03.
	(x_per_char_metric): Don't try FONT->default_char.  Even if
	pcm->width is zero, glyph bits may exist.
	(x_encode_char): Always initialize char2b->byte1.
	(x_get_char_face_and_encoding): Call FACE_FOR_CHAR to get face_id.
	(x_get_glyph_face_and_encoding): New arg two_byte_p.  Caller changed.
	(x_append_glyph): Set glyph->glyph_not_available_p.
	(x_produce_glyphs): Set it->glyph_not_available_p.  Don't set
	it->charset.  Handle the case that per char metric is not
	available.  If it->multibyte_p is zero and it->c is a multibyte
	character, convert it to a unibyte character.
	(struct glyph_string): Delete member `charset'.
	(x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id.  Handle
	the case that per char metric is not available correctly.
	(x_fill_glyph_string): Handle the case that the specific glyph is
	not available correctly.
	(BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset.
	(BUILD_COMPOSITE_GLYPH_STRING): Likewise.
	(x_new_font): Call FS_LOAD_FONT, not fs_load_font.
	(x_new_fontset): Call fontset_ascii to get ASCII font name of the
	fontset.  Don't call FS_LOAD_FONT.

	* xfns.c (Fx_create_frame): Don't cal fs_register_fontset.
	(x_create_tip_frame): Likewise.
	(Fx_close_connection): Free full_name of font_info.

	* fns.c (optimize_sub_char_table): New function.
	(Foptimize_char_table): New function.
	(syms_of_fns): Defsubr Soptimize_char_table.

2000-03-20  Gerd Moellmann  <gerd@@gnu.org>

	* buffer.c (Fset_buffer_modified_p): Set update_mode_lines
	only if buffer is displayed in some window.

	* xdisp.c (handle_single_display_prop): Initialize local `value'.
	(try_window_reusing_current_matrix): Don't call scroll run
	function if run's current and desired position are the same;
	this prevents cursor flickering.

2000-03-19  Stefan Monnier  <monnier@@cs.yale.edu>

	* regex.h (RE_TRANSLATE. RE_TRANSLATE_P): Moved to regex.c.

	* regex.c (RE_STRING_CHAR): New macro.
	(GET_CHAR_AFER_2): Remove.
	(RE_TRANSLATE, RE_TRANSLATE_P): New macros moved from regex.h.
	(enum re_opcode_t): Remove on_failure_jump_exclusive.
	(print_partial_compiled_pattern, re_compile_fastmap)
	(re_match_2_internal): Remove on_failure_jump_exclusive.
	(regex_compile): Turn optimizable P+ loops into PP*, so that the
	optimization only need to work for * (ie. can use of_keep_string_jump).
	Remove the special case for .*\n since it is now covered by the general
	optimization.
	(re_search_2): Don't bother with `room'.
	(skip_one_char): New function.
	(skip_noops): Simplify since `memory' is not needed any more.
	(mutually_exclusive_p): Restructure slightly to use `switch' and
	add handling for "all" remaining cases.
	(re_match_2_internal): Change on_failure_jump_smart to use
	on_failure_keep_string_jump (and redirect the end-of-loop jump)
	rather than on_failure_jump_exclusive.

2000-03-19  Gerd Moellmann  <gerd@@gnu.org>

	* xfns.c (select_visual): Don't set dpyinfo->n_planes to the
	number of bits per RGB because it's everywhere used as the depth
	of the visual.

	* term.c (calculate_costs): Remove code dealing with X frames.

2000-03-19  Richard M. Stallman  <rms@@gnu.org>

	* lread.c (syms_of_lread): Doc fix for load-convert-to-unibyte.

2000-03-18  Gerd Moellmann  <gerd@@gnu.org>

	* lread.c (read_integer): Unread the last char not consumed.

2000-03-17  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_update_window_cursor): Don't update in frames
	which are in the process of being deleted.

2000-03-16  Gerd Moellmann  <gerd@@gnu.org>

	* Makefile.in (mostlyclean): Add `*.core'.
	(clean): Add `bootstrap-emacs'.

	* lread.c (read_integer): New function.
	(read1): Support read syntax #o, #x, #b, #r.

2000-03-15  Stefan Monnier  <monnier@@cs.yale.edu>

	* regex.c (re_match_2): Fix string shortening (to fit `stop') to
	make sure POINTER_TO_OFFSET gives the same value before and after
	PREFETCH.  Use `dfail' to guarantee "atomic" matching.
	(PTR_TO_OFFSET): Use POINTER_TO_OFFSET.
	(debug): Now only active if > 0 rather than if != 0.
	(DEBUG_*): Update for the new meaning of `debug'.
	(print_partial_compiled_pattern): Add missing `succeed' case.  Use
	CHARSET_* macros in the charset(_not) branch.  Fix off-by-two bugs
	in `succeed_n', `jump_n' and `set_number_at'.
	(store_op1, store_op2, insert_op1, insert_op2)
	(at_begline_loc_p, at_endline_loc_p): Add prototype.
	(group_in_compile_stack): Move to after its arg's types are
	declared and add a prototype.
	(PATFETCH): Define in terms of PATFETCH_RAW.
	(GET_UNSIGNED_NUMBER): Add the usual `do { ... } while(0)' wrapper.
	(QUIT): Redefine as a nop except for NTemacs.
	(regex_compile): Handle intervals {,M} as if it was {0,M}.  Fix
	indentation of the greedy-op and shy-group code.
	(at_(beg|end)line_loc_p): Fix argument's types.
	(re_compile_fastmap): Ifdef out failure_stack_ptr to shut up gcc.
	(re_search_2): Use POS_AS_IN_BUFFER.  Simplify `room' computation.
	(MATCHING_IN_FIRST_STRING): Remove.
	(re_match_2): Use POS_AS_IN_BUFFER.  Ifdef out failure_stack_ptr
	to shut up gcc.  Use FIRST_STRING_P and POINTER_TO_OFFSET.  Use
	QUIT unconditionally.

2000-03-15  Gerd Moellmann  <gerd@@gnu.org>

	* minibuf.c (Fminibuffer_complete): Set point to ZV if finding
	a sole completion.

	* process.c (send_process): Add a hint that the function
	can call Lisp code to its comment.

	* lread.c (load_dangerous_libraries): New variable.
	(Vbytecomp_version_regexp): New variable.
	(safe_to_load_p): New function.
	(Fload): Handle files not compiled with Emacs specially.
	(syms_of_lread): New Lisp variable load-dangerous-libraries.

2000-03-14  Gerd Moellmann  <gerd@@gnu.org>

	* lisp.h (free_frame_xic) [HAVE_X_I18N]: Add missing semicolon.

	* xterm.c (xim_close_dpy, xim_initialize): Use X11R6-style XIM
	support functions only if HAVE_X11R6_XIM is defined.
	(xim_instantiate_callback): Define only if HAVE_X11R6_XIM.

	* s/sol2.h (INHIBIT_X11R6_XIM): Define.

	* xfns.c (X_I18N_INHIBITED): Don't define.
	(create_frame_xic): Remove conditional compilation on X_I18N_INHIBITED.
	(x_kill_gs_process, x_window): Use FRAME_X_VISUAL.

	* config.in (HAVE_X_I18N): Moved here from xterm.h.
	(HAVE_X11R6_XIM): Define.

	* xterm.h (HAVE_X_I18N) [HAVE_X11R6]: Moved to config.in.

	* xterm.c (x_term_init): Add support for X resource `synchronous'.
	If set, call XSynchronize.

2000-03-13  Stefan Monnier  <monnier@@cs.yale.edu>

	* regex.c: Declare a new type `re_char' used throughout the code
	for the string char type.  It's `const unsigned char' to match the
	rest of Emacs.  Consistently make sure all pointers to strings use
	it and make sure all pointers into the pattern use `unsigned char'.
	(re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of
	GET_CHAR_AFTER_2.  Also merge wordbound and notwordbound to reduce
	code duplication.

	* charset.h (GET_CHAR_AFTER_2): Remove.
	(GET_CHAR_BEFORE_2): Use unsigned chars, like everywhere else.

2000-03-12  Ken Raeburn  <raeburn@@gnu.org>

	* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary
	variable before the invocation of YMF_PASS_LDFLAGS, in case both
	of them try to use backquotes.

2000-03-12  Dave Love  <fx@@gnu.org>

	* unexelf.c: Restore changes of 1999-10-19.
	(unexec): Don't adjust bss for sbss type SHT_PROGBITS; otherwise
	fix its type and alignment; copy it from current process.

2000-03-12  Gerd Moellmann  <gerd@@gnu.org>

	* atimer.c (cancel_atimer): Break out of the loop as soon as timer
	has been found.  Fix bug not computing timer's predecessor.

	* fileio.c (Fread_file_name): Handle case that DIR contains a
	file name.

	* window.c (Fsave_window_excursion): Doc fix.

	* xfns.c (x_defined_color): Rewritten to use x_allocate_nearest_color.

2000-03-12  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (vga_installed): New function, code moved from
	dos_set_window_size.
	(Qbar, Qcursor_type, outside_cursor): New variables.
	(syms_of_msdos): Intern and staticpro them.
	(dos_ttraw) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Save the cursor
	shape used outside Emacs when called for the first time.
	(dos_ttcooked) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Restore the
	cursor shape used outside Emacs.
	(msdos_set_cursor_shape, IT_set_cursor_type): New functions.
	(IT_frame_up_to_date): Call IT_set_cursor_type, in case the cursor
	type has changed.
	(IT_set_frame_parameters): Call IT_set_cursor_type if the frame
	parameters specify the cursor.  Make qreverse a global
	variable (renamed to Qreverse).

2000-03-09  Gerd Moellmann  <gerd@@gnu.org>

	* fns.c (Fy_or_n_p): Cancel busy-cursor.

2000-03-08  Stefan Monnier  <monnier@@cs.yale.edu>

	This is a big redesign of failure-stack and register handling, prompted
	by bugs revealed when trying to add shy-groups.  Overall, what happened
	is that loops are now structured a little differently, groups can be
	shy and the code is a little simpler.

	* regex.h: Update the copyright.
	(RE_SHY_GROUPS): New value.
	(RE_UNMATCHED_RIGHT_PAREN_ORD): Renumber.
	(RE_SYNTAX_EMACS): Add RE_SHY_GROUPS.

	* regex.c (enum re_opcode_t): Remove jump_past_alt,
	maybe_pop_jump, push_dummy_failure and dumy_failure_jump.  Add
	on_failure_jump_(exclusive, loop and smart).  Also fix the comment
	for (start|stop)_memory since they now only take one argument (the
	second has becomes unnecessary).
	(print_partial_compiled_pattern): Adjust for changes in re_opcode_t.
	(print_compiled_pattern): Use %ld to printf long ints and flush to
	make debugging a little easier.
	(union fail_stack_elt): Make the integer unsigned.
	(struct fail_stack_type): Add a `frame' element.
	(INIT_FAIL_STACK): Init `frame' as well.
	(POP_PATTERN_OP): New macro for re_compile_fastmap.
	(DEBUG_PUSH, DEBUG_POP): Remove.
	(NUM_REG_ITEMS): Remove.
	(NUM_NONREG_ITEMS): Adjust.
	(FAILURE_PAT, FAILURE_STR, NEXT_FAILURE_HANDLE)
	(TOP_FAILURE_HANDLE): New macros for the cycle detection.
	(ENSURE_FAIL_STACK): New macro for PUSH_FAILURE_(REG|POINT).
	(PUSH_FAILURE_REG, POP_FAILURE_REG, CHECK_INFINITE_LOOP):
	New macros.
	(PUSH_FAILURE_POINT): Don't push registers any more.  The pattern
	address pushed is not the destination of the jump but the source
	of it instead.
	(NUM_FAILURE_ITEMS): Remove.
	(POP_FAILURE_POINT): Adapt to the new stack structure (i.e. pop
	registers before the actual failure point).  Don't hardcode any
	meaning for str==NULL anymore.
	(union register_info_type, REG_MATCH_NULL_STRING_P, IS_ACTIVE)
	(MATCHED_SOMETHING, EVER_MATCHED_SOMETHING, SET_REGS_MATCHED):
	Remove.
	(REG_UNSET_VALUE): Use NULL (why not?).
	(compile_range): Remove declaration since it doesn't exist.
	(struct compile_stack_elt_t): Remove inner_group_offset.
	(old_reg(start|end), reg_info, reg_dummy, reg_info_dummy): Remove.
	(regex_grow_registers): Remove dead code.
	(FIXUP_ALT_JUMP): New macro.
	(regex_compile): Add shy-groups Change loops to use
	on_failure_jump_smart&jump instead of
	on_failure_jump&maybe_pop_jump.  Change + loops to eliminate the
	initial (dummy_failure_)jump.  Remove c1_base (looks like unused
	variable to me).  Use `jump' instead of `jump_past_alt' and don't
	bother with push_dummy_failure in alternatives since it is now
	unnecessary.  Use FIXUP_ALT_JUMP.  Eliminate a useless `#ifdef
	emacs' for (re)allocating the stack.
	(re_compile_fastmap): Remove dead variables i and num_regs.  Exit
	from loop when bufp->can_be_null rather than jumping to `done'.
	Avoid jumping backwards so as to ensure termination.  Use
	PATTERN_STACK_EMPTY and POP_PATTERN_OP.  Improved handling of
	backreferences.  Remove dead code in handling of `anychar'.
	(skip_noops, mutually_exclusive_p): New functions taken from the
	handling of `maybe_pop_jump' in re_match_2_internal.  Slightly
	improve mutually_exclusive_p to handle ".+\n".
	(lowest_active_reg, highest_active_reg)
	(NO_(LOWEST|HIGHEST)_ACTIVE_REG) Remove.
	(re_match_2_internal): Use %p instead of 0x%x when printf'ing
	ptrs.  Don't SET_REGS_MATCHED anymore.  Remove many dead
	variables.  Push register (in `start_memory') on the stack rather
	than storing it in old_reg(start|end).  Remove the cycle detection
	from `stop_memory', replaced by the use of on_failure_jump_loop
	for greedy loops.  Add code for the new on_failure_jump_<foo>.
	Remove ad-hoc code in `on_failure_jump' to push more registers in
	the case of a loop.  Take out code from `maybe_pop_jump' into
	separate functions and adapt it to the semantics of
	`on_failure_jump_smart'.  Remove jump_past_alt, dummy_failure_jump
	and push_dummy_failure.  Remove dummy_failure handling and
	handling of `failures to jump to on_failure_jump' (this last one
	was already dead code, it seems).
	(group_match_null_string_p, alt_match_null_string_p)
	(common_op_match_null_string_p): Remove.

2000-03-08  Dave Love  <fx@@gnu.org>

	* config.in: Don't depend on __STDC__ for volatile.
	Add POINTER_TYPE, PTR, PROTOTYPES.

	* hftctl.c, strftime.c: Use PROTOTYPES.
	* eval.c (find_handler_clause): Likewise.

	* mem-limits.h: Use POINTER_TYPE.

	* lisp.h (P_): Define based on PROTOTYPES, not __STDC__.
	(memory_warnings): Declare using POINTER_TYPE.

2000-03-08  Gerd Moellmann  <gerd@@gnu.org>

	* xfns.c (x_set_cursor_type): If ARG is nil, give frame no cursor.

	* xdisp.c (display_echo_area): Temporarily inhibit garbage collection.

	* xfns.c: Remove obsolete code in #if 0.
	(Fx_focus_frame): New function.

2000-03-07  Miyashita Hisashi  <himi@@bird.scphys.kyoto-u.ac.jp>

	* coding.c (coding_category_name): Add coding-category-utf-8,
	coding-category-utf-16-be, coding-category-utf-16-le.
	(UTF_8_1_OCTET_P, UTF_8_EXTRA_OCTET_P, UTF_8_2_OCTET_LEADING_P,
	UTF_8_3_OCTET_LEADING_P, UTF_8_4_OCTET_LEADING_P,
	UTF_8_5_OCTET_LEADING_P, UTF_8_6_OCTET_LEADING_P): New macros.
	(detect_coding_utf_8): New function.
	(UTF_16_INVALID_P, UTF_16_HIGH_SURROGATE_P
	UTF_16_LOW_SURROGATE_P): New macros.
	(detect_coding_utf_16): New function
	(detect_coding_mask): When priorities are specified, skip any
	categories that have `nil' coding-system.  Fix bug of returning
	wrong mask when PRIORITIES is specified and detect_coding_XXX()
	returns a mask not set in PRIORITIES.
	(detect_eol_type_in_2_octet_form): New function.
	(detect_eol): selects detect_eol_type_XXX to call according to
	cooding->category_idx.
	(detect_coding_system): Remove `nil' coding-system in the result.
	(Fupdate_coding_systems_internal): Update all coding-categories.
d13449 5
a13453 19
	* coding.h (CODING_CATEGORY_IDX_UTF_8)
	(CODING_CATEGORY_IDX_UTF_16_BE, CODING_CATEGORY_IDX_UTF_16_LE):
	New macros.
	(CODING_CATEGORY_IDX_RAW_TEXT, CODING_CATEGORY_IDX_BINARY)
	(CODING_CATEGORY_IDX_MAX): Adjusted for the above macros.
	(CODING_CATEGORY_IDX_UTF_16_LE)
	(CODING_CATEGORY_MASK_UTF_8, CODING_CATEGORY_MASK_UTF_16_BE)
	(CODING_CATEGORY_MASK_UTF_16_LE): New macros.
	(CODING_CATEGORY_MASK_ANY): Include the above macros.
	(CODING_CATEGORY_MASK_UTF_16_BE_LE): New macro.

2000-03-07  Gerd Moellmann  <gerd@@gnu.org>

	* doc.c (Fdocumentation_property): If value is not a string,
	and doesn't refer to etc/DOC, evaluate it to obtain a string.

	* xterm.c (x_connection_closed) [USE_X_TOOLKIT]: Don't try to
	close the display with XtCloseDisplay.  This caused a bus error
	on OpenWindows.
d13455 1
a13455 2
	* minibuf.c (Fminibuffer_complete): Move point to ZV when input is
	complete but not unique.
d13457 4
a13460 1
2000-03-06  Gerd Moellmann  <gerd@@gnu.org>
d13462 1
a13462 3
	* process.c (send_process): Remove local variable `procname' that
	might become invalid when a GC happens.  Instead, access the
	process name slot directly.
d13464 1
a13464 2
	* xfns.c (x_set_menu_bar_lines_1): Adjust window's orig_top and
	orig_height if set.
d13466 8
a13473 2
	* frame.c (set_menu_bar_lines_1): Adjust window's orig_top and
	orig_height if set.
d13475 1
a13475 1
2000-03-06  Eli Zaretskii  <eliz@@is.elta.co.il>
d13477 1
a13477 2
	* msdos.c (IT_note_mouse_highlight): Return immediately if frame's
	glyph matrices have been freed.
d13479 2
a13480 1
2000-03-05  Gerd Moellmann  <gerd@@gnu.org>
d13482 1
a13482 2
	* Makefile.in (tags): Include ../lwlib/TAGS in TAGS.
	(bootstrap-temacs): Set LC_ALL to C like for temacs.
d13484 1
a13484 1
	* xfns.c (QCdata): Moved to xdisp.c.
d13486 2
a13487 2
	* xdisp.c (QCdata): Moved here from xfns.c.
	(syms_of_xdisp): Initialize QCdata.
d13489 1
a13489 1
	* frame.h (FRAME_INTERNAL_BORDER_WIDTH) [!HAVE_X_WINDOWS]: Define.
d13491 1
a13491 3
	* window.c (coordinates_in_window): Use
	FRAME_INTERNAL_BORDER_WIDTH_SAFE instead of
	FRAME_INTERNAL_BORDER_WIDTH.
d13493 1
a13493 2
	* xdisp.c (try_window_id): Recompute unchanged information if
	it is obviously invalid.
d13495 2
a13496 2
	* xterm.c (x_term_init): Create a colormap if not using the
	default visual.
d13498 1
a13498 1
	* xterm.h (select_visual): Change prototype.
d13500 2
a13501 3
	* xfns.c (select_visual): Rewritten.  Recognize user-specified
	visual classes.
	(visual_classes): New variable.
d13503 1
a13503 1
2000-03-04  Gerd Moellmann  <gerd@@gnu.org>
d13505 2
a13506 9
	* xfns.c (x_defined_color, x_set_mouse_color, lookup_rgb_color)
	(lookup_pixel_color, x_laplace, x_build_heuristic_mask)
	(png_load): Access colormap of frame using FRAME_X_COLORMAP.
	(x_decode_color): Don't handle allocation of white and black specially.
	(x_window) [USE_X_TOOLKIT]: Set XtNvisual, XtNdepth, and
	XtNcolormap resources.
	(x_window) [!USE_X_TOOLKIT]: Pass colormap to XCreateWindow.
	(Fx_create_frame): Initialize color members of x_output structure.
	(xpm_load): Pass colormap to XPM lib.
d13508 1
a13508 3
	* xfaces.c (x_free_colors): Access colormap of frame using
	FRAME_X_COLORMAP.  Be paranoid about freeing black and white
	when default colormap is used.
d13510 4
a13513 5
	* xterm.c (x_term_init): Set Colormap member of x_display_info
	structure.  Copy colormap if resource `privateColormap' is
	specified (PseudoColor only).
	(x_setup_relief_color): Access colormap of frame using
	FRAME_X_COLORMAP.
d13515 2
a13516 2
	* xterm.h (struct x_display_info): Add Colormap member `cmap'.
	(FRAME_X_COLORMAP, FRAME_X_VISUAL): New macros.
d13518 1
a13518 1
2000-03-04  Jason Rumney  <jasonr@@gnu.org>
d13520 1
a13520 19
	* xfaces.c Change many FRAME_X... macros to FRAME_WINDOW... or
	other non-platform-specific equivalents.
	[WINDOWSNT]: Include w32term.h, fontset.h and define X
	specific functions and macros as their w32 equivalents where
	non-platform-specifics are not available.
	[HAVE_X_WINDOWS]: Change most of these to HAVE_WINDOW_SYSTEM.
	(x_create_gc, x_free_gc) [WINDOWSNT]: Add W32 versions.
	(clear_font_table) [WINDOWSNT]: Call w32_unload_font.
	(frame_update_line_height): Use macros to access f->output_data.
	(defined_color): Remove FIXME comments; fixed.
	(x_face_list_fonts, prepare_face_for_display): Put X specifics
	into #ifdef blocks. Add WINDOWSNT blocks.
	(Fx_list_fonts): Use macros for accessing font data.
	(set_lface_from_font_name): Different default fonts for X and
	WINDOWSNT.
	(font_scalable_p) [WINDOWSNT]: Treat wildcard XLFD_AVGWIDTH as
	scalable for backward compatibility.
	(realize_tty_face) [MSDOS]: Do the same for WINDOWSNT.
	(syms_of_xfaces) [WINDOWSNT]: Allow scalable fonts by default.
d13522 1
a13522 2
	* emacs.c (main) [HAVE_NTGUI]: Call syms_of_xfaces instead of
	syms_of_w32faces.
d13524 5
a13528 2
	* makefile.nt (w32faces.obj): Remove.
	(xfaces.obj): Add.
d13530 1
a13530 1
2000-03-03  Jason Rumney  <jasonr@@gnu.org>
d13532 3
a13534 2
	* keyboard.c (make_lispy_event): Call buffer_posn_from_coords with
	correct parameters.
d13536 1
a13536 1
2000-03-03  Ken Raeburn  <raeburn@@gnu.org>
d13538 2
a13539 2
	* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
	standard ELF definitions here if the system header does not.
d13541 1
a13541 1
2000-03-03  Gerd Moellmann  <gerd@@gnu.org>
d13543 4
a13546 7
	* xterm.c (PER_CHAR_METRIC): Removed.
	(x_per_char_metric_1, x_default_char): New functions.
	(x_per_char_metric): If font's default char is invalid, return
	metrics of a suitably chosen usable default char.
	(x_draw_glyph_string_foreground): If font has an invalid default
	char, replace occurrences of unprintable chars with a suitably
	chosen usable default char.
d13548 1
a13548 1
2000-03-02  Gerd Moellmann  <gerd@@gnu.org>
d13550 1
a13550 2
	* xterm.c (note_mouse_highlight): Return quickly if frame's
	glyph matrices have been freed.
d13552 2
a13553 1
	* dispnew.c (free_glyphs): Block input while freeing matrices.
d13555 1
a13555 1
	* xfns.c (x_clear_image, x_kill_gs_process): Use x_free_colors.
d13557 1
a13557 2
	* xterm.c (x_alloc_lighter_color, x_setup_relief_color):
	Use x_free_colors.
d13559 2
a13560 1
	* dispextern.h (x_free_colors): Add prototype.
d13562 1
a13562 2
	* xfaces.c (x_free_colors): New function.
	(unload_color, free_face_colors): Use it.
d13564 3
a13566 1
2000-03-02  Eli Zaretskii  <eliz@@is.elta.co.il>
d13568 2
a13569 1
	* msdos.h (FRAME_INTERNAL_BORDER_WIDTH): Define to zero.
d13571 1
a13571 1
	* window.c [MSDOS]: Include msdos.h.
d13573 1
a13573 1
2000-03-02  Dave Love  <fx@@gnu.org>
d13575 3
a13577 1
	* m/powerpcle.h, m/sparc.h: Don't set C_OPTIMIZE_SWITCH.
d13579 1
a13579 2
	* m/mips-siemens.h, m/news-r6.h, m/news-risc.h, m/tekxd88.h: Don't
	set C_OPTIMIZE_SWITCH for gcc.
d13581 2
a13582 1
2000-03-02  Kenichi Handa  <handa@@etl.go.jp>
d13584 1
a13584 3
	* coding.c (coding_save_composition): Be sure to allocate
	composition data area in coding even if there's no composition in
	the current run.
d13586 1
a13586 1
2000-03-01  Jason Rumney  <jasonr@@gnu.org>
d13588 1
a13588 2
	* w32term.c: Equivalent changes to those made to xterm.c on
	2000-02-25 and 2000-02-24.
d13590 3
a13592 2
	* w32fns.c: Equivalent changes to those made to xfns.c on
	2000-02-25 and 2000-02-21.
d13594 1
a13594 2
	* sysdep.c: [WINDOWSNT]: Use sys_read and sys_write to ensure
	correct line-end convention is followed.
d13596 2
a13597 7
	* w32menu.c [HAVE_BOXES]: Remove #undef.
	(single_keymap_panes): Remove code for simulating checkmarks.
	(single_menu_item): Remove notbuttons_ptr argument. Callers changed.
	Remove code for drawing simulated checkmarks.
	(w32_menu_show): make unibyte help string correctly.
	(add_menu_item): draw standard Windows checkmarks. Draw radio
	buttons as radio buttons if possible.
d13599 1
a13599 1
2000-03-01  Gerd Moellmann  <gerd@@gnu.org>
d13601 2
a13602 2
	* sysdep.c (start_of_text): Don't define this function for NetBSD
	with ELF.
d13604 1
a13604 4
	* m/pmax.h (START_FILES, CANNOT_DUMP) [__NetBSD__ || __OpenBSD__]:
	Don't define.
	(UNEXEC) [__NetBSD__ || __OpenBSD__]: Define to unexelf.o.
	(LINKER): Don't undef if __NetBSD__ is defined.
d13606 1
a13606 1
	* m/mips.h (LINKER) [__NetBSD__ || __OpenBSD__]: Don't define.
d13608 1
a13608 1
	* fileio.c [__NetBSD__]: Define `unix'.
d13610 1
a13610 1
	* xfns.c (start_busy_cursor): Allow floats for busy-cursor-delay.
d13612 2
a13613 1
2000-02-29  Gerd Moellmann  <gerd@@gnu.org>
d13615 1
a13615 4
	* atimer.c (start_atimer): Don't abort when timers are stopped.
	(append_atimer_lists): New function.
	(cancel_atimer, stop_other_atimers, run_all_atimers): Handle
	arbitrary lists of stopped and running atimers.
d13617 2
a13618 2
	* atimer.c (cancel_atimer): Handle canceling an atimer when
	some timers are stopped.
d13620 4
a13623 2
	* xfns.c (cancel_busy_cursor): Set busy_cursor_atimer to null
	after canceling it.
d13625 1
a13625 2
	* fns.c (maybe_resize_hash_table): Handle case of new size
	coming out as being the same as old size.
d13627 2
a13628 1
2000-02-27  Jason Rumney  <jasonr@@gnu.org>
d13630 1
a13630 23
	* makefile.nt: Add atimer.h to dependencies.
	* w32.c (init_environment): Set Vw32_num_mouse_buttons here.
	* w32console.c: Only disable window system features for dispextern.h
	(initialize_w32_display): Build a display info for the console.
	* w32faces.c (tty_defined_color): Apply xfaces.c change from 02-17.
	* w32fns.c (w32_wnd_proc) [WM_LBUTTON_DOWN, WM_RBUTTON_DOWN,
	WM_LBUTTON_UP, WM_RBUTTON_UP]: Do not treat 4 or more button mice
	as 2 button mice.
	* w32gui.h (struct W32FontStruct): Revert last change after change
	to xdisp.c.
	* w32menu.c (single_submenu): Set up help string.
	[!HAVE_MULTILINGUAL_MENU]: Don't overwrite item_name with descrip.
	(w32_dialog_show): Set up help string.
	* w32term.c (w32_display_info_for_display): Remove unused function.
	(w32_draw_bitmap): Use pre-built bitmaps.
	(w32_initialize_display_info): New function to initialize parts of
	display info that are common to both GUI and console frames.
	(w32_term_init): Use w32_initialize_display_info. Do not set
	Vw32_num_mouse_buttons here, as it is not called for console
	frames.  Build bitmaps for indicating truncated lines etc.
	(x_delete_display): Destroy pre-built bitmaps.
	* xdisp.c (handle_single_display_prop): Use FONT_HEIGHT macro.
	(echo_area_display): Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM.
d13632 1
a13632 1
2000-02-27  Dave Love  <fx@@gnu.org>
d13634 2
a13635 1
	* lisp.h: Add a bunch of prototypes.
d13637 1
a13637 1
2000-02-26  Kenichi Handa  <handa@@etl.go.jp>
d13639 1
a13639 1
	* keyboard.c (read_char): Set `usec' correctly.
d13641 3
a13643 1
2000-02-25  Miyashita Hisashi  <himi@@bird.scphys.kyoto-u.ac.jp>
d13645 1
a13645 4
	* ccl.c (ccl_driver) [CCL_MapMultiple]: When the mapped value is
	`lambda', set reg[RRR] to the map index.
	(ccl_driver) [CCL_MapSingle]: When the mapped value is found, set
	reg[RRR] to 0.  Otherwise, set it to -1.
d13647 1
a13647 1
2000-02-25  Gerd Moellmann  <gerd@@gnu.org>
d13649 1
a13649 1
	* emacs.c (main): Remove code snippet commented out with `//'.
d13651 2
a13652 1
2000-02-25  Richard M. Stallman  <rms@@gnu.org>
d13654 1
a13654 2
	* fileio.c (Ffile_symlink_p): If result starts with a `/'
	and contains a `:', prepend `/:'.
d13656 2
a13657 6
	* window.c (select_window_1): If selected_window is nil,
	don't "swap out" the buffer's point.
	(Fset_window_configuration): Set selected_window to nil
	before calling Fselect_window.
	(unshow_buffer): Don't set point in buffer from window's point
	if another more recently selected window also shows the buffer.
d13659 1
a13659 1
2000-02-25  Gerd Moellmann  <gerd@@gnu.org>
d13661 1
a13661 1
	* keyboard.c (recursive_edit_1): Cancel busy-cursor.
d13663 1
a13663 8
	* xfns.c (inhibit_busy_cursor, busy_count): Removed.
	(Fx_show_busy_cursor, Fx_hide_busy_cursor): Removed.
	(busy_cursor_atimer, busy_cursor_shown_p, Vbusy_cursor_delay):
	New variables.
	(DEFAULT_BUSY_CURSOR_DELAY): New define.
	(start_busy_cursor, cancel_busy_cursor, show_busy_cursor)
	(hide_busy_cursor): New functions.
	(syms_of_xfns): DEFVAR_LISP Vbusy_cursor_delay.
d13665 1
a13665 1
	* minibuf.c (read_minibuf): Cancel busy-cursor.
d13667 1
a13667 5
	* keyboard.c (command_loop_1): Call start_busy_cursor before
	Fcommand_execute and cancel_busy_cursor after it.
	(timer_check): Remove busy-cursor code.
	(Fread_key_sequence, Fread_key_sequence_vector): Start/cancel busy
	cursor timer.
d13669 4
a13672 1
	* process.c (wait_reading_process_input): Remove busy-cursor code.
d13674 4
a13677 2
	* eval.c (Fsignal): Call cancel_busy_cursor instead of
	Fx_hide_busy_cursor.
d13679 1
a13679 3
	* dispextern.h (Fx_show_busy_cursor, Fx_hide_busy_cursor):
	Remove prototyoes.
	(start_busy_cursor, cancel_busy_cursor): Add prototypes.
d13681 1
a13681 1
	* lisp.h (Fx_hide_busy_cursor): Remove prototype.
d13683 2
a13684 1
	* xterm.c (XTread_socket): Remove busy-cursor code.
d13686 1
a13686 6
	* dispnew.c (flush_stdout) [GLYPH_DEBUG]: New function.
	(build_frame_matrix_from_leaf_window): Put code handling
	glyph row's not being a slice of a frame row in #if 0.
	(sync_window_with_frame_matrix_rows): New function.
	(frame_row_to_window): New function.
	(mirror_line_dance): Handle copies between windows.
d13688 3
a13690 2
	* lread.c (Fload): Use `xfree' instead of `free'.
	(init_obarray): Use `xmalloc' instead of `malloc'.
d13692 4
a13695 4
	* window.c (Fset_window_buffer): Set WINDOW to the window
	after decoding.
	(coordinates_in_window): Take frame's internal border width
	into account.
d13697 2
a13698 1
2000-02-24  Gerd Moellmann  <gerd@@gnu.org>
d13700 1
a13700 3
	* xterm.c (x_display_and_set_cursor): Display cursor of
	non-selected windows depending on the setting of
	cursor_in_non_selected_windows.
d13702 2
a13703 2
	* xdisp.c (cursor_in_non_selected_windows): New variable.
	(syms_of_xdisp): DEFVAR_BOOL it.
d13705 3
a13707 1
2000-02-23  Gerd Moellmann  <gerd@@gnu.org>
d13709 1
a13709 2
	* data.c (Fstring_to_number): If number is greater than what
	fits into an integer, return a float.
d13711 2
a13712 2
	* eval.c (specbind): Remove references to
	keyword_symbols_constant_flag.
d13714 1
a13714 3
	* data.c (keyword_symbols_constant_flag): Removed.
	(Fmakunbound, set_internal, syms_of_data): Remove references to
	keyword_symbols_constant_flag.
d13716 1
a13716 1
	* bytecode.c (Fbyte_code): Remove keyword_symbols_constant_flag.
d13718 1
a13718 1
2000-02-23  Kenichi Handa  <handa@@etl.go.jp>
d13720 2
a13721 6
	* syntax.c (multibyte_syntax_as_symbol): New variable.
	(syms_of_syntax): Declare it as a Lisp variable.
	(SYNTAX_WITH_MULTIBYTE_CHECK): New macro.
	(scan_lists): If both sexpflag and multibyte_syntax_as_symbol are
	nonzero, treat all multibyte characters as symbol.
	(init_syntax_once): Give syntax `word' to all multibyte characters.
d13723 2
a13724 1
2000-02-22  Eli Zaretskii  <eliz@@is.elta.co.il>
d13726 2
a13727 2
	* frame.c (Fdelete_frame): Don't let echo_area_window remain on
	a deleted frame.
d13729 1
a13729 1
2000-02-21  Gerd Moellmann  <gerd@@gnu.org>
d13731 4
a13734 1
	* frame.c (Fmouse_position): GCPRO retval instead of x and y.
d13736 1
a13736 2
	* xfns.c (x_window_to_frame, x_any_window_to_frame)
	(x_non_menubar_window_to_frame): Check the busy-cursor window.
d13738 1
a13738 1
2000-02-21  Dave Love  <fx@@gnu.org>
d13740 1
a13740 3
	* frame.c (Vmouse_position_function): New variable.
	(Fmouse_position): Use it.
	(syms_of_frame): Install it.
d13742 2
a13743 1
	* charset.c (find_charset_in_str): Fix use of `c' instead of `c1'.
d13745 3
a13747 1
2000-02-20  Gerd Moellmann  <gerd@@gnu.org>
d13749 2
a13750 2
	* fileio.c (Finsert_file_contents): Unbind the binding of
	standard-output done by temp_output_buffer_setup.
d13752 1
a13752 4
	* eval.c (funcall_lambda): Don't bind Qmocklisp_arguments unless
	Vmocklisp_arguments is nil.  Inline Fcar and Fcdr.
	(specbind, unbind_to): Handle most common case of non-constant
	symbol with trivial value specially.
d13754 2
a13755 1
	* bytecode.c (Fbyte_code) <Bvarset>: Inline most common case.
d13757 2
a13758 1
2000-02-20  Richard M. Stallman  <rms@@gnu.org>
d13760 2
a13761 4
	* data.c (Fmake_variable_buffer_local): Doc fix.
	Init found_for_buffer to 0.
	(Fmake_variable_frame_local): If the variable has already
	been buffer-local, set the check_frame field.
d13763 2
a13764 1
2000-02-20  Eli Zaretskii  <eliz@@is.elta.co.il>
d13766 2
a13767 2
	* msdos.c (IT_write_glyphs): Allocate a larger screen_buf as data
	produced for CODING_MODE_LAST_BLOCK requires.
d13769 1
a13769 1
2000-02-18  Dave Love  <fx@@gnu.org>
d13771 2
a13772 5
	* keyboard.c (echo_keystrokes): Remove declaration.
	(Vecho_keystrokes) New variable.
	(read_char, record_menu_key, read_key_sequence): Use it to allow
	use of float value.
	(syms_of_keyboard): Change Vecho_keystrokes declaration.
d13774 1
a13774 1
	* lread.c: Undef feature selection macros before defining.
d13776 1
a13776 1
2000-02-18  Gerd Moellmann  <gerd@@gnu.org>
d13778 10
a13787 2
	* data.c (let_shadows_buffer_binding_p): Ignore specbindings
	for symbols other than the symbol in question.
d13789 8
a13796 1
2000-02-17  Dave Love  <fx@@gnu.org>
d13798 21
a13818 1
	* s/sol2.h (C_DEBUG_SWITCH): Define to allow optimization.
d13820 6
a13825 1
2000-02-17  Gerd Moellmann  <gerd@@gnu.org>
d13827 2
a13828 1
	* emacs.c (main): Use #if GC_MARK_STACK instead of #ifdef.
d13830 7
a13836 1
	* alloc.c (enum mem_type): Compile unconditionally.
d13838 2
a13839 1
2000-02-17  Eli Zaretskii  <eliz@@is.elta.co.il>
d13841 1
a13841 2
	* xfaces.c (tty_defined_color): Don't return faulire indication
	for unspecified-fg and unspecified-bg pseudo-colors.
d13843 1
a13843 1
2000-02-17  Gerd Moellmann  <gerd@@gnu.org>
d13845 4
a13848 2
	* alloc.c (mark_object): Don't mark symbol names in pure space.
	(gc_sweep): Don't unmark symbol names in pure space.
d13850 3
a13852 5
	* lisp.h (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
	(GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
	[GC_MARK_STACK]: New defines.
	(GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, UNGCPRO)
	[GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS]: Define as no-ops.
d13854 47
a13900 1
	* emacs.c (main) [GC_MARK_STACK]: Initialize stack_base.
d13902 1
a13902 2
	* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use
	allocate_buffer instead of xmalloc.
d13904 5
a13908 24
	* alloc.c (toplevel): Include setjmp.h.
	(PURE_POINTER_P): New define.
	(enum mem_type) [GC_MARK_STACK]: New enumeration.
	(Vdead) [GC_MARK_STACK]: New variable.
	(lisp_malloc): Add parameter TYPE, call mem_insert if
	GC_MARK_STACK is defined.
	(allocate_buffer): New function.
	(lisp_free) [GC_MARK_STACK]: Call mem_delete.
	(free_float) [GC_MARK_STACK]: Set type to Vdead.
	(free_cons) [GC_MARK_STACK]: Set car to Vdead.
	(stack_base, mem_root, mem_z) [GC_MARK_STACK]: New variables.
	(MEM_NIL) [GC_MARK_STACK]: New define.
	(struct mem_node) [GC_MARK_STACK]: New structure.
	(mem_init, mem_find, mem_insert, mem_delete, mem_insert_fixup)
	(mem_delete_fixup, mem_rotate_left, mem_rotate_right)
	(live_string_p, live_cons_p, live_symbol_p, live_float_p)
	(live_misc_p, live_vector_p, live_buffer_p, mark_memory)
	(mark_stack) [GC_MARK_STACK]: New functions.
	(Fgarbage_collect) [GC_MARK_STACK]: Call mark_stack.
	(clear_marks): Removed.
	(gc_sweep): Set free conses' car, free floats' type, free
	symbols' function to Vdead.  Use lisp_free to free buffers.
	(init_alloc_once): Initialize Vdead.
	(survives_gc_p): Return non-zero for pure objects.
d13910 1
a13910 1
	* alloc.c: Add comments throughout the file.
d13912 1
a13912 2
	* atimer.c (stop_other_atimers): Don't call cancel_atimer because
	that unblocks alarms.
d13914 1
a13914 3
	* alloc.c, bytecode.c, data.c, dispnew.c, ecrt0.c, editfns.c,
	emacs.c, floatfns.c, fns.c, lread.c, print.c, config.in, lisp.h,
	Makefile.in: Remove `LISP_FLOAT_TYPE' and `standalone'.
d13916 1
a13916 1
	* frame.c (make_frame): Set frame initiallly to `garbaged'.
d13918 1
a13918 1
2000-02-17  Kenichi Handa  <handa@@etl.go.jp>
d13920 1
a13920 3
	* xdisp.c (decode_mode_spec_coding): Delete superfluous code to
	avoid infinite error signaling.  Allocate sufficient memory for
	eol_str in the case that eoltype is Lisp_Int.
d13922 1
a13922 1
2000-02-17  Stefan Monnier  <monnier@@cs.yale.edu>
d13924 1
a13924 2
	* syntax.c (Fforward_comment): Undo the previous change, since cc-mode
	depends on the previous behavior.
d13926 2
a13927 1
2000-02-16  Gerd Moellmann  <gerd@@gnu.org>
d13929 1
a13929 1
	* sysdep.c (vfork) [!HAVE_VFORK]: Removed.
d13931 2
a13932 1
2000-02-15  Gerd Moellmann  <gerd@@gnu.org>
d13934 2
a13935 1
	* s/freebsd.h (BROKEN_PTY_READ_AFTER_EAGAIN): Define.
d13937 1
a13937 3
	* process.c (send_process) [BROKEN_PTY_READ_AFTER_EAGAIN]:
	Workaround for FreeBSD bug.  Clear output queue after EAGAIN in
	write(2).
d13939 1
a13939 1
2000-02-15  Richard M. Stallman  <rms@@gnu.org>
d13941 6
a13946 7
	* data.c (set_internal): Don't make variable buffer-local
	if within a let-binding for the same buffer.
	(let_shadows_buffer_binding_p): New function.

	* eval.c (specbind): For buffer-local value,
	record the current buffer also.
	(unbind_to): Cope with that change.
d13948 1
a13948 1
2000-02-15  Gerd Moellmann  <gerd@@gnu.org>
d13950 1
a13950 1
	* window.c (Fsave_window_excursion): Doc fix.
d13952 1
a13952 1
2000-02-15  Stefan Monnier  <monnier@@cs.yale.edu>
d13954 1
a13954 6
	* syntax.c (back_comment): Make sure we only consider comment-starters
	of the relevant style and return -1 in case of a failure to find the
	beginning of the comment.
	(Fforward_comment): If back_comment fails, go back to the position just
	after the comment-end.
	(scan_lists): Add comment describing a very minor bug.
d13956 1
a13956 1
2000-02-14  Stefan Monnier  <monnier@@cs.yale.edu>
d13958 1
a13958 2
	* minibuf.c (Ftry_completion, Fall_completions): Add a reference to
	`completion-regexp-list' in the docstring.
d13960 5
a13964 1
2000-02-14  Dave Love  <fx@@gnu.org>
d13966 1
a13966 1
	* xfaces.c (tty_defined_color): Declare color_idx unsigned long.
d13968 2
a13969 1
2000-02-14  Stefan Monnier  <monnier@@cs.yale.edu>
d13971 1
a13971 5
	* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
	to Emacs' syntax.  Also fix the comment about set/not-set meanings
	since Emacs syntax is not the value 0 any more.
	* search.c (compile_pattern_1): Remove RE_CHAR_CLASSES from the syntax
	since it's now part of RE_SYNTAX_EMACS.
d13973 2
a13974 1
2000-02-12  Dave Love  <fx@@gnu.org>
d13976 2
a13977 1
	* frame.h (SELECTED_FRAME): Use NULL, not 0 to avoid warnings on Alpha.
d13979 1
a13979 1
2000-02-12  Gerd Moellmann  <gerd@@gnu.org>
d13981 3
a13983 1
	* xdisp.c (syms_of_xdisp): Doc fix for scroll-conservatively.
d13985 3
a13987 1
2000-02-12  Dave Love  <fx@@gnu.org>
d13989 2
a13990 1
	* s/aix3-2.h, s/osf-1.h: Define C_DEBUG_SWITCH for non-gcc.
d13992 2
a13993 3
	* s/ux4800.h, s/umips.h, s/umax.h, s/sol2.h, s/sco5.h, s/rtu.h:
	* s/ptx4.h, s/umax.h, s/dgux.h, s/bsd4-2.h, s/bsd4-3.h:
	* s/hpux.h: Don't define HAVE_VFORK.
d13995 4
a13998 1
	* s/gnu-linux.h: Don't define HAVE_VFORK or HAVE_SYS_SIGLIST.
d14000 7
a14006 1
	* s/nextstep.h: Don't define HAVE_ALLOCA.
d14008 1
a14008 1
	* config.in: Add vfork bits.
d14010 2
a14011 1
2000-02-12  Gerd Moellmann  <gerd@@gnu.org>
d14013 2
a14014 2
	* process.c (Fopen_network_stream) [POLL_FOR_INPUT]: Register
	unwind function to undo the effect of stopping atimers.
d14016 1
a14016 1
	* keyboard.c (bind_polling_period): Stop all timers except poll_timer.
d14018 1
a14018 3
	* atimer.c (stopped_atimers): New variable.
	(stop_other_atimers, run_all_atimers, unwind_stop_other_atimers):
	New functions.
d14020 2
a14021 2
	* atimer.h (stop_other_atimers, run_all_atimers)
	(unwind_stop_other_atimers): Add function prototypes.
d14023 1
a14023 1
	* s/hpux10.h (HAVE_XRMSETDATABASE): Define if not already defined.
d14025 1
a14025 1
2000-02-11  Ken Raeburn  <raeburn@@gnu.org>
d14027 1
a14027 3
	* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff
	library may depend on jpeg.
	(atimer.o): Depends on atimer.c.
d14029 1
a14029 1
2000-02-11  Kenichi Handa  <handa@@etl.go.jp>
d14031 1
a14031 2
	* insdel.c (del_range_1): Call update_compositions.
	(del_range_both): Call update_compositions just once..
d14033 1
a14033 1
2000-02-10  Dave Love  <fx@@gnu.org>
d14035 1
a14035 2
	* xfns.c (create_frame_xic): Fix initialization of automatic
	aggregates for pcc.
d14037 1
a14037 1
2000-02-09  Kenichi Handa  <handa@@etl.go.jp>
d14039 1
a14039 4
	* ccl.c (CCL_MAKE_CHAR): New macro.
	(ccl_driver) <CCL_TranslateCharacter>: Check the validity of
	registers by CCL_MAKE_CHAR before calling translate_char.
	<CCL_TranslateCharacterConstTbl> Likewise.
d14041 5
a14045 1
2000-02-08  Dave Love  <fx@@gnu.org>
d14047 2
a14048 1
	* lread.c (__EXTENSIONS__): Define.
d14050 1
a14050 1
2000-02-08  Gerd Moellmann  <gerd@@gnu.org>
d14052 17
a14068 1
	* puresize.h (BASE_PURESIZE): Increase to 650000.
d14070 1
a14070 1
2000-02-07  Eli Zaretskii  <eliz@@is.elta.co.il>
d14072 2
a14073 2
	* msdos.c (XMenuActivate): Turn off the cursor after displaying
	the help message.
d14075 1
a14075 1
2000-02-07  Eli Zaretskii <eliz@@is.elta.co.il>
d14077 5
a14081 2
	* s/msdos.h (INTERNAL_TERMINAL): Add capabilities se, so, us, ue,
	md, mh, mb, mr, and me to the fake termcap entry.
d14083 1
a14083 1
2000-02-06  Ken Raeburn  <raeburn@@gnu.org>
d14085 1
a14085 2
	* sound.c (sound_cleanup): Don't call device close routine if the
	function pointer is null.
d14087 1
a14087 1
2000-02-06  Andrew Innes  <andrewi@@gnu.org>
d14089 1
a14089 3
	* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
	around image definitions and prototypes.
	(gamma_correct) [WINDOWSNT]: New prototype.
d14091 1
a14091 2
	* w32term.c (x_make_frame_visible): Replace call to
	input_poll_signal with poll_for_input.
d14093 1
a14093 1
	* window.c [WINDOWSNT]: Include w32term.h.
d14095 1
a14095 1
	* xdisp.c [WINDOWSNT]: Include w32term.h.
d14097 3
a14099 3
	* makefile.nt: Add dependencies on w32gui.h.
	(OBJ1): Include atimer.obj.
	($(BLD)\atimer.obj): New dependency rule.
d14101 2
a14102 2
	* w32.c (sigmask): New function (does nothing).
	(sigunblock): Ditto.
d14104 3
a14106 1
	* frame.c [WINDOWSNT]: Include w32term.h.
d14108 1
a14108 1
	* w32gui.h (struct W32FontStruct): Add ascent and descent slots.
d14110 1
a14110 1
	* lread.c (syms_of_lread): Fix literal newlines.
d14112 2
a14113 3
	* emacs.c (USAGE): Split into USAGE1 and USAGE2, to work-around
	the string constant limit (2048 bytes) in MSVC.
	(main): Ditto.
d14115 1
a14115 1
2000-02-05  INOUE Seiichiro <inoue@@ainet.or.jp>
d14117 1
a14117 4
	* xterm.c (x_display_and_set_cursor) [HAVE_X_I18N]: Set pre-edit area.
	(x_display_cursor) [HAVE_X_I18N]: Don't set it here.
	(XTread_socket) [HAVE_X_I18N]: <KeyPress, KeyRelease>: Don't
	dispatch the event.
d14119 1
a14119 1
2000-02-04  Dave Love  <fx@@gnu.org>
d14121 1
a14121 2
	* fileio.c: Remove some unused vars.
	(_GNU_SOURCE): Define (for euidaccess).
d14123 2
a14124 1
	* lread.c (_XOPEN_SOURCE): Declare (for ftello).
d14126 2
a14127 3
	* minibuf.c (read_minibuf_noninteractive): Remove undeclared
	gcpro1, gcpro2.
	(read_minibuf): Deal with allow_props correctly.
d14129 1
a14129 1
2000-02-03  Eli Zaretskii  <eliz@@is.elta.co.il>
d14131 1
a14131 1
	* s/msdos.h (SYSTEM_PURESIZE_EXTRA): Enlarge to 60000.
d14133 2
a14134 1
2000-02-03  Ken Raeburn  <raeburn@@gnu.org>
d14136 1
a14136 3
	* search.c (compile_pattern): If a cache entry has a nil regexp,
	fill in that entry instead of clobbering a previously cached
	string regexp.
d14138 2
a14139 1
2000-02-02  Ken Raeburn  <raeburn@@gnu.org>
d14141 2
a14142 1
	* puresize.h (BASE_PURESIZE): Increase to 610000.
d14144 2
a14145 1
2000-02-02  Gerd Moellmann  <gerd@@gnu.org>
d14147 1
a14147 2
	* frame.c (Fframe_parameters): Add GCPRO because tty_color_name
	can GC.
d14149 2
a14150 1
2000-02-02  Kenichi Handa  <handa@@etl.go.jp>
d14152 2
a14153 4
	* ccl.c (ccl_driver) <CCL_WriteExprRegister>: Set jump_address
	instead of incrementing ic directly.
	<CCL_WriteExprConst> Likewise.
	<ccl_set_expr>: Set ic to jump_address.
d14155 1
a14155 2
	* fileio.c (e_write): Fix the handling of
	CODING_FINISH_INSUFFICIENT_SRC.
d14157 1
a14157 1
2000-02-01  Dave Love  <fx@@gnu.org>
d14159 2
a14160 1
	* editfns.c (Fpropertize): Doc fix.
d14162 1
a14162 1
	* process.c (Fstart_process): Doc fix.
d14164 1
a14164 2
	* eval.c: Fix various doc strings not to duplicate information
	from help-manyarg-func-alist.
d14166 1
a14166 1
	* window.c (Fset_window_margins): Don't make interactive.  Doc fix.
d14168 1
a14168 160
	* doc.c (Vhelp_manyarg_func_alist): New variable.
	(Fdocumentation): Use it.
	(syms_of_doc): Define it.

2000-01-31  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (xim_open_dpy): Remove unused local variable.

	* emacs.c (USAGE): Use term `display options' instead of `X options'.

	* xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]: New function.
	(syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it.

	* fns.c (sweep_weak_table): New function.
	(sweep_weak_hash_tables): Use it.  Keep on marking until there
	is no more change.

2000-01-30  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_delete_display): Update next_noop_dpyinfo to ensure
	that XTread_socket does not crash by trying to call XNoOp on a
	closed display.

2000-01-30  Jason Rumney  <jasonr@@gnu.org>

	* w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to):
	Change selected_frame to SELECTED_FRAME ().
	(w32_console_mouse_position): Remove #ifndef MULE from around
	`insist' parameter.

	* makefile.nt: Remove dosfns.obj.

	* term.c (term_init) [WINDOWSNT]: Initialize TN_max_colors.

	* w32fns.c (w32_defined_color): Check for valid frame before
	applying gamma correction. Eliminate dependency on frame elsewhere.
	(w32_load_system_font): Switch FIXED_PITCH and VARIABLE_PITCH.
	(w32_to_x_font): Use resx and resy not height_in and width_in.
	(x_to_w32_font): Doc fix.
	(xlfd_strip_height): New function to strip and return font height.
	(w32_font_match): Compare height separately from rest of xlfd
	spec, using xlfd_strip_height.

	* w32term.c (w32_term_init): Swap resx and height_in, resy and
	width_in. Use w32_defined_color in place of defined_color.

	* w32faces.c: Merge more of DOS and X specifics in preparation for
	merge with xfaces.c.
	(defined_color): Remove FIXME comment.
	(tty_color_name): Provide w32-specific function.
	(realize_tty_face): Handle FACE_TTY_DEFAULT*_COLOR specially.

	* w32console.c (turn_on_face, turn_off_face): Removed.
	(w32_face_attributes): New function.
	(Global_variables): Reduce scope where possible.
	(clear_frame, ins_del_lines, scroll_line): Use char_attr_normal as
	fill attribute.
	(hl_mode): Don't modify text attributes.
	(write_glyphs): Don't do anything if len <= 0. Use
	w32_face_attributes to get attributes for drawing. Write
	terminating codes using char_attr_normal.
	(reset_terminal_modes, set_terminal_modes): Turn off highlight.
	(update_begin, update_end): Likewise.
	(vga_stdcolor_name): New function.
	(initialize_w32_display): Remove char_attr_reverse and char_attr.
	(Fset_screen_color): Remove char_attr_reverse.

2000-01-29  Gerd Moellmann  <gerd@@gnu.org>

	* xfns.c (xic_set_preeditarea): Take window parameter and
	window-relative pixel-positions.

	* xterm.c (x_display_cursor): Set XIC pre-edit area only if window
	is its frame's selected window.
	(xim_instantiate_callback): Likewise.

	* xfns.c (x_create_im): Removed.
	(DEFAULT_STYLE, DEFAULT_FONT): Removed.
	(supported_xim_styles): Renamed from supported_styles.
	(best_xim_style): Renamed from best_style.
	(create_frame_xic): Renamed from xic_create_frame.
	(free_frame_xic): Renamed from xic_destroy_frame.

2000-01-29  INOUE Seiichiro <inoue@@ainet.or.jp>

	* xterm.c (XTread_socket) [HAVE_X_I18N]: If event is for none of
	our frames, call XFilterEvent with 2nd parameter `None'.
	(XTread_socket) <KeyPress> [HAVE_X_I18N]: Handle XmbLookupString
	returning XBufferOverflow.
	(XTread_socket) <ConfigureNotify> [HAVE_X_I18N]: Set XIC status area.
	(x_display_cursor) [HAVE_X_I18N]: Set XIC pre-edit area.
	(x_new_fontset) [HAVE_X_I18N]: Create XIC status area fontset.
	(xim_destroy_callback, xim_open_dpy, xim_instantiate_callback)
	(xim_initialize, xim_close)
	[HAVE_X_I18N && HAVE_X11R6]: New functions.
	(x_destroy_window) [HAVE_X_I18N]:  Call xic_destroy_frame.
	(x_term_init) [HAVE_X_I18N]: Call xim_initialize.
	(x_delete_display) [HAVE_X_I18N]: Call xim_close.

	* xterm.h (struct x_display_info) [HAVE_X_I18N]: Add members `xim'
	and `xim_styles'.
	(struct x_output) [HAVE_X_I18N]: Remove member `xim', add
	`xic_style' and `xic_xfs'.
	(FRAME_MENUBAR_HEIGHT, FRAME_X_XIM, FRAME_X_XIM_STYLES)
	(FRAME_XIC_STYLE, FRAME_XIC_FONTSET): New macros.
	(FRAME_XIM): Removed.

	* xfns.c (supported_styles): New variable.
	(DEFAULT_STYLE, DEFAULT_FONT): New macros
	(xic_create_xfontset, best_style, xic_create_frame)
	(xic_destroy_frame, xic_set_preeditarea, xic_set_statusarea)
	(xic_set_xfontset): New functions.

2000-01-28  Dave Love  <fx@@gnu.org>

	* s/irix6-5.h: Revert last change after change to irix5-0.h.

	* m/iris4d.h (C_SWITCH_MACHINE): Don't use -G0.

2000-01-28  Gerd Moellmann  <gerd@@gnu.org>

	* buffer.c (Fother_buffer): Don't call Fset_buffer_major_mode
	for *scratch* if it already existed.

	* emacs.c (USAGE): New macro.
	(main): Use it to display usage information.

2000-01-27  Eli Zaretskii  <eliz@@is.elta.co.il>

	Support for the menu-help feature:

	* msdos.h: Change prototypes of XMenuAddSelection and XMenuActivate.

	* msdos.c (IT_clear_end_of_line): Print the extent of the cleared
	part of the line to the termscript file.
	(IT_clear_to_end): Clear the entire line, not just its beginning.
	(menu_help_message, prev_menu_help_message): New variables.
	(IT_menu_make_room): Make room for the help_text member.
	(IT_menu_display): New argument disp_help; all callers changed.
	If disp_help is non-zero, store the help text of the active menu
	item in menu_help_message.
	(XMenuAddPane): Initialize the help_text member to NULL.
	(XMenuAddSelection): New argument help_text.  Store it in the
	XMenu structure.
	(XMenuActivate): New argument help_callback.  If the value of
	menu_help_message has changed since the last time, display the
	menu help message text while waiting for the mouse to move.  Clear
	the echo area before exiting.
	(XMenuDestroy): Free the help_text member.

2000-01-27  Gerd Moellmann  <gerd@@gnu.org>

	* xmenu.c (xmenu_show) [!USE_X_TOOLKIT]: Pass help to
	XMenuAddSelection.  Pass help callback to XMenuActivate.
	(menu_help_callback) [!USE_X_TOOLKIT]: New function.

2000-01-27  Eli Zaretskii  <eliz@@is.elta.co.il>

	* atimer.c (start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS
	and EMACS_SET_USECS.
d14170 1
a14170 1
2000-01-26  Dave Love  <fx@@gnu.org>
d14172 5
a14176 1
	* editfns.c (Fchar_after, Fchar_before): Doc fix.
d14178 7
a14184 2
	* bytecode.c (Fbyte_code): Use {BEFORE,AFTER}_POTENTIAL_GC where
	an error may be signalled.
d14186 1
a14186 1
2000-01-26  Gerd Moellmann  <gerd@@gnu.org>
d14188 1
a14188 2
	* s/irix6-5.h [__GNUC__ && __GNUC_MINOR__ >= 95]: Undef
	LD_SWITCH_SYSTEM inherited from irix5-0.h.
d14190 1
a14190 1
	* bytecode.c (Fbyte_code) [BYTE_CODE_SAFE]: Fix typo.
d14192 1
a14192 1
2000-01-25  Gerd Moellmann  <gerd@@gnu.org>
d14194 9
a14202 2
	* charset.c (Fstring): If there is a multibyte char among
	the args, always return a multibyte string.
d14204 1
a14204 1
2000-01-25  Gerd Moellmann  <gerd@@gnu.org>
d14206 4
a14209 2
	* sysdep.c (sys_select): Turn atimers off and on instead of
	recording and restoring old alarm handler
d14211 2
a14212 7
	* process.c (toplevel): Include atimer.h.
	(create_process_1): Rewritten.
	(create_process): Use atimers instead of alarm.
	(wait_reading_process_input) [hpux]: Turn atimers off instead
	of turning off SIGALRM.
	(wait_reading_process_input): Turn off atimers instead off
	calling stop_polling.
d14214 2
a14215 1
	* emacs.c (main): Call init_atimer.
d14217 2
a14218 6
	* keyboard.c (toplevel): Include systime.h and atimer.h.
	(polling_for_input): Removed because unused.
	(input_poll_signal) [POLL_FOR_INPUT]: Removed.
	(poll_timer): New variable.
	(poll_for_input, poll_for_input_1): New functions.
	(start_polling, stop_polling): Rewritten.
d14220 3
a14222 1
	* keyboard.h (polling_for_input): Removed.
d14224 1
a14224 1
	* atimer.h, atimer.c: New files.
d14226 6
a14231 2
	* Makefile.in (obj): Add atimer.o.
	(atimer.o): New target.
d14233 4
a14236 2
	* blockinput.h (pending_atimers): Add extern declaration.
	(UNBLOCK_INPUT): Rewritten.  Handle pending atimers.
d14238 1
a14238 1
	* lisp.h (popup_activated_flag): Add extern declaration.
d14240 1
a14240 3
	* xmenu.c (popup_activated_flag): Make externally visible.
	(popup_activate_callback) [USE_MOTIF]: Increment popup_activated_flag.
	(popup_deactivate_callback) [USE_MOTIF]: Decrement it.
d14242 1
a14242 9
	* xterm.c (toplevel): Include atimer.h.
	(toolkit_scroll_bar_interaction): New variable.
	(Fxt_process_timeouts): Removed.
	(x_process_timeouts): New function.
	(xt_action_hook): Clear toolkit_scroll_bar_interaction.
	(x_send_scroll_bar_event): Set toolkit_scroll_bar_interaction.
	(x_make_frame_visible): Call poll_for_input_1 instead of
	input_poll_signal.  Don't call alarm.
	(x_initialize): Install timer calling x_process_timeouts.
d14244 2
a14245 1
2000-01-24  Dave Love  <fx@@gnu.org>
d14247 1
a14247 2
	* s/irix5-0.h: Don't set LD_SWITCH_SYSTEM -- we use unexelf now.
	Don't use -cckr -- apparently not now necessary.
d14249 2
a14250 1
2000-01-24  Eli Zaretskii  <eliz@@is.elta.co.il>
d14252 1
a14252 2
	* msdos.c (IT_menu_display): Truncate long menu lines at the right
	screen boundary.
d14254 1
a14254 1
2000-01-23  Jason Rumney  <jasonr@@gnu.org>
d14256 1
a14256 4
	* w32fns.c (w32_defined_color): Apply gamma correction before
	trying to map to the palette.
	(w32_wnd_proc) [WM_ERASE_BACKGROUND]: Pass device context of frame
	to w32_clear_rect.
d14258 3
a14260 14
	* w32term.c (w32_fill_rect): Do not try to deal with NULL hdc
	here. Callers changed to always pass real device context.
	(w32_draw_bitmap): Likewise.
	(w32_get_glyph_overhangs): Likewise.
	(w32_draw_box_rect): Make use of s->hdc rather than getting a new one.
	(w32_set_vertical_scroll_bar): Pass correct HWND parameters to
	pfnSetScrollInfo and SetScrollRange.
	(x_get_char_face_and_encoding): Don't turn iso8859-1 characters
	back into MULE characters after decoding them.
	(x_get_glyph_face_and_encoding): Likewise.
	(w32_per_char_metric): Use GetCharExtentPoint32W as fallback when
	GetCharABCWidthsW fails, since this is defined on Windows 9x.
	(x_produce_glyphs): Calculate per char metrics for a character
	that we know exists in default font when font_not_found_p is true.
d14262 2
a14263 1
2000-01-22  Jason Rumney <jasonr@@gnu.org>
d14265 1
a14265 2
	* makefile.nt (intervals.obj, composite.obj): New modules.
	(composite.h): Added as dependency where appropriate.
d14267 6
a14272 1
	* w32gui.h (XGCValue): New struct for emulating X GCs.
d14274 1
a14274 1
	* w32term.h (XCharStruct): New struct for emulating X.
d14276 1
a14276 3
	* w32console.c (turn_on_face, turn_off_face): New functions.
	(change_line_highlight): New prototype for new redisplay.
	(write_glyphs): Support multibyte text. Support faces.
d14278 1
a14278 1
	* w32faces.c: Complete rewrite for new redisplay based on new xfaces.c.
d14280 1
a14280 9
	* w32fns.c: Use SELECTED_FRAME macro in place of selected_frame
	throughout. struct frame * in place of FRAME_PTR.
	Skeleton support for images, toolbars, tooltips from xfns.c.
	(Fx_create_frame): Use system default for default scroll bar width.
	(w32_get_arg): Renamed from x_get_arg.
	(Fx_file_dialog): New function.
	(w32_list_fonts): Check cache before asking system.
	(Vw32_enable_synthesized_fonts): New variable.
	(Vw32_enable_italics): Obsolete, removed.
d14282 1
a14282 2
	* w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to):
	Use SELECTED_FRAME macro.
d14284 3
a14286 6
	* w32menu.c: Add skeleton support for help strings on menus.
	(add_menu_item): Native checkbox and radio support added, but not
	yet enabled due to bugs.
	(push_menu_item): Add parameters type, selection and help.
	Callers updated.
	Formatting changes to reduce unnecessary diffs with xmenu.c.
d14288 1
a14288 2
	* w32select.c (Fw32_set_clipboard_data): Update call to
	find_charset_in_str.
d14290 3
a14292 2
	* w32term.c: Complete rewrite for new redisplay based on new
	xterm.c with necessary sections merged back in from old w32term.c.
d14294 1
a14294 1
2000-01-21  Richard M. Stallman  <rms@@gnu.org>
d14296 2
a14297 1
	* data.c (set_internal): Further fix in same criterion.
d14299 1
a14299 1
2000-01-20  Richard M. Stallman  <rms@@gnu.org>
d14301 2
a14302 2
	* data.c (set_internal): Fix the criteria for whether
	to swap out the old cached binding.
d14304 5
a14308 1
2000-01-19  Dave Love  <fx@@gnu.org>
d14310 1
a14310 1
	* lread.c: (syms_of_lread) [user-init-file]: Doc change.
d14312 1
a14312 1
2000-01-18  Kenichi Handa  <handa@@etl.go.jp>
d14314 1
a14314 2
	* regex.c (re_compile_fastmap): While checking a range table for
	`charset', skip flag bits for a character class correctly.
d14316 1
a14316 1
2000-01-17  Gerd Moellmann  <gerd@@gnu.org>
d14318 1
a14318 1
	* m/news-risc.h (LD_SWITCH_MACHINE): Define differently for GCC.
d14320 2
a14321 1
	* xfns.c (x_window): Call lw_create_widget with new parameter list.
d14323 1
a14323 2
	* widget.c (EmacsFrameSetCharSize): Change size of children first
	because of problems with main window geometry management under Lesstif.
d14325 1
a14325 11
	* xmenu.c (enum menu_item_idx): New enumeration replacing defines
	MENU_ITEMS_ITEM_.*.
	(MENU_ITEMS_ITEM_HELP): New enumerator.
	(push_menu_item): Add parameter HELP.  Record help in menu_items.
	(single_menu_item, single_submenu, list_of_items): Call
	push_menu_item with new parameter.
	(single_submenu): Set help string in widget value.
	(menu_highlight_callback): New function.
	(set_frame_menubar): Call lw_create_widget with new
	parameter list.
	(xmenu_show, xdialog_show): Ditto.
d14327 1
a14327 1
2000-01-13  Gerd Moellmann  <gerd@@gnu.org>
d14329 2
a14330 1
	* sound.c (Fplay_sound): Improve doc string.
d14332 2
a14333 1
2000-01-11  Richard M. Stallman  <rms@@gnu.org>
d14335 4
a14338 1
	* lisp.h (set_internal): Enter the new arg.
d14340 1
a14340 4
	* eval.c (specbind): Record buffer-local variables specially,
	indicating which buffer's binding was saved.
	(unbind_to): Restore buffer-local variables specially
	in the proper buffer.
d14342 3
a14344 1
	* data.c (set_internal): New arg BUF.
d14346 1
a14346 3
	* eval.c (specbind, unbind_to): Pass new arg to set_internal.
	* data.c (Fset): Pass new arg to set_internal.
	* bytecode.c (Fbyte_code): Pass new arg to set_internal.
d14348 1
a14348 1
2000-01-11  Gerd Moellmann  <gerd@@gnu.org>
d14350 2
a14351 1
	* .gdbinit: Adapt to new strings.  Add xbacktrace, xreload, xprintsym.
d14353 1
a14353 1
2000-01-11  Richard M. Stallman  <rms@@gnu.org>
d14355 2
a14356 1
	* minibuf.c (Ftry_completion): Doc fix.
d14358 1
a14358 1
2000-01-11  Gerd Moellmann  <gerd@@gnu.org>
d14360 1
a14360 2
	* keyboard.c (Fclear_this_command_keys): Clear recent_keys
	vector, too.
d14362 1
a14362 1
2000-01-11  Andreas Schwab  <schwab@@suse.de>
d14364 3
a14366 1
	* coding.c (code_convert_region): Initialize total_skip.
d14368 1
a14368 1
2000-01-08  Dave Love  <fx@@gnu.org>
d14370 1
a14370 1
	* eval.c (Fuser_variable_p): Check customizability too.
d14372 2
a14373 1
2000-01-07  Gerd Moellmann  <gerd@@gnu.org>
d14375 1
a14375 1
	* minibuf.c (Fcompleting_read): Doc fix.
d14377 1
a14377 1
2000-01-05  Gerd Moellmann  <gerd@@gnu.org>
d14379 1
a14379 2
	* s/freebsd.h (C_SWITCH_SYSTEM): Add -I /usr/local/include and
	-L /usr/local/lib.
d14381 7
a14387 76
	* xfns.c (x_create_im): New function to set IM and IC of a frame.
	Check that input style is supported before trying to create an
	IC for it.
	(x_window): Call x_create_im.

2000-01-04  Gerd Moellmann  <gerd@@gnu.org>

	* xfns.c (current_gif_memory_src): New variable.
	(gif_load): Record the address of the current memory source
	in current_gif_memory_src.
	(gif_read_from_memory): Use current_gif_memory_src.

	* systime.h (EMACS_GET_TIME, EMACS_ADD_TIME, EMACS_SUB_TIME): Give
	macros statement form.

	* sound.c (struct sound): Renamed from struct sound_file.
	(struct sound): Add members `data' and `header_size'.
	(enum sound_attr): Add SOUND_DATA.
	(current_sound, current_sound_device): Variables renamed from
	sound_file and sound_device.
	(parse_sound): Parse :data.
	(parse_sound): Handle sound data in strings.
	(find_sound_type): Function renamed from find_sound_file_type.
	(wav_init, au_init): Fail if sound's header_size is smaller than
	needed header size.
	(wav_play, au_play): Play sounds from string data.

	* puresize.h (BASE_PURE_SIZE): Increase to 600000.

	* lisp.h: Add prototype for allocate_string_data.

	* alloc.c (Fgarbage_collect): Return number of live and free strings.

	* alloc.c (mark_buffer): Remove code in #if 0.
	(gc_sweep): Ditto.
	(UNMARK_BALANCE_INTERVALS): Give the macro statement form.
	(strings_consed): New variable.
	(allocate_string): Set it.
	(syms_of_alloc): Add DEFVAR_INT for strings_consed.
	(Fmemory_use_counts): Return strings_consed.  Use Flist.

	* alloc.c: General cleanup in comments etc.  Remove conditional
	compilation for `standalone'.

	* lisp.h (struct Lisp_String): Make DATA member `unsigned char *'.

	* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P):
	(GC_STRING_BYTES, GC_STRING_CHARS): New macros.
	(DONT_COPY_FLAG): Removed.
	(SBLOCK_SIZE, LARGE_STRING_BYTES): New macros.
	(struct sdata, struct sblock): New
	(struct string_block): Rewritten.
	(STRINGS_IN_STRING_BLOCK): New macro.
	(oldest_sblock, current_sblock, total_strings, total_free_strings)
	(large_sblocks, string_blocks, string_free_list): New variables.
	(NEXT_FREE_LISP_STRING, SDATA_OF_STRING, SDATA_SIZE): New macros.
	(init_strings): Rewritten.
	(allocate_string, allocate_string_data, compact_small_strings)
	(free_large_strings, sweep_strings): New functions.
	(STRING_BLOCK_SIZE, STRING_BLOCK_OUTSIZE)
	(struct string_block_head, current_string_block)
	(first_string_block, large_string_blocks, STRING_FULLSIZE)
	(STRING_PAD): Removed.
	(make_uninit_multibyte_string, make_pure_string): Rewritten.
	(Fgarbage_collect): Don't set mark bit in large strings.
	(mark_object): Mark strings differently.  Mark symbol names
	differently.
	(survives_gc_p): Test marked strings differently.
	(gc_sweep): Sweep strings differently, unmark strings in
	symbol names.
	(compact_strings): Removed.

2000-01-04  Eli Zaretskii  <eliz@@is.elta.co.il>

	* xfaces.c (syms_of_xfaces): defsubr Scolor_gray_p and
	Scolor_supported_p even if HAVE_X_WINDOWS is not defined.
d14389 1
a14389 1
2000-01-04  Kenichi Handa  <handa@@etl.go.jp>
d14391 1
a14391 2
	* fileio.c (Finsert_file_contents): Signal error if visiting file
	in a non-empty buffer.
d14393 2
a14394 1
	* term.c (encode_terminal_code): Fix the previous change.
d14396 1
a14396 1
2000-01-03  Gerd Moellmann  <gerd@@gnu.org>
d14398 3
a14400 2
	* xfaces.c (syms_of_xfaces): Change Sface_color_gray_p to
	Scolor_gray_p, Sface_color_supported_p to Scolor_supported_p.
d14402 1
a14402 1
	* s/hpux9.h (NO_EDITRES): Define even if HAVE_LIBXMU.
d14404 2
a14405 1
2000-01-03  Eli Zaretskii  <eliz@@is.elta.co.il>
d14407 1
a14407 2
	* xdisp.c (handle_single_display_prop) [HAVE_WINDOW_SYSTEM]: No
	need to test for MSDOS frames.
d14409 2
a14410 1
2000-01-03  Eli Zaretskii  <eliz@@is.elta.co.il>
d14412 1
a14412 13
	* dosfns.c (unspecified_colors): Remove.
	(msdos_stdcolor_idx): Use global variables unspecified_fg and
	unspecified_bg.
	(msdos_stdcolor_name): Return strings for unspecified fore- and
	back-ground colors.

	* xfaces.c (Qunspecified_fg, Qunspecified_bg): Remove.
	(syms_of_xfaces): Remove their staticpro's.
	(tty_color_name): Return Lisp strings for unspecified fore- and
	back-ground colors.
	(Finternal_set_lisp_face_attribute): Remove the special treatment
	for Qunspecified_{f,b}g.
	(realize_default_face): Replace Qunspecified_{f,b}g with a Lisp string.
d14414 2
a14415 1
2000-01-03  Gerd Moellmann  <gerd@@gnu.org>
d14417 4
a14420 6
	* xdisp.c (reseat_at_next_visible_line_start): Position before
	newline only if ending up on a newline.
	(next_element_from_ellipsis): Return success.  Handle case of
	displaying no ellipsis.  Fix case of ellipsis defined in display table.
	(next_element_from_buffer): Return 0 if next_element_from_ellipsis
	returns 0.
d14422 1
a14422 1
2000-01-03  Eli Zaretskii  <eliz@@is.elta.co.il>
d14424 1
a14424 2
	* xfaces.c (Fcolor_gray_p): Renamed from face-color-gray-p.
	(Fcolor_supported_p): Renamed from face-color-supported-p.
d14426 1
a14426 1
2000-01-02  Eli Zaretskii  <eliz@@is.elta.co.il>
d14428 1
a14428 5
	* xfaces.c (tty_defined_color): Pass frame to tty-color-desc.  The
	list of colors renamed to tty-defined-color-alist.
	(tty_color_name): Pass the frame to tty-color-by-index.
	(realize_tty_face): tty-color-alist is now a function which
	accepts the frame as argument.
d14430 1
a14430 1
	* term.c (Ftty_display_color_p): Accept an optional argument FRAME.
d14432 1
a14432 1
2000-01-02  Eli Zaretskii  <eliz@@is.elta.co.il>
d14434 1
a14434 2
	* term.c (insert_glyphs): Pass glyph, not &glyph, to
	encode_terminal_code.
d14436 2
a14437 1
2000-01-02  Eli Zaretskii  <eliz@@is.elta.co.il>
d14439 1
a14439 1
	* dispnew.c (mode_line_string): Support termcap frames as well.
d14441 7
a14447 1
2000-01-01  Gerd Moellmann  <gerd@@gnu.org>
d14449 1
a14449 1
	* syntax.c (Fforward_word): Undo previous change.
d14451 1
a14451 4
	* editfns.c (Fconstrain_to_field): Don't constrain if
	inhibit-field-text-motion is non-nil.
	(Fline_beginning_position): Undo previous change.
	(Fline_end_position): Ditto.
d14453 1
a14453 2
	* syntax.c (Fforward_word): Notice field boundaries only if
	inhibit-field-text-motion is nil.
d14455 2
a14456 1
	* lisp.h: Add extern declaration for Vinhibit_field_text_motion.
d14458 1
a14458 4
	* editfns.c (Vinhibit_field_text_motion): New variable.
	(inhibit-field-text-motion): New DEFVAR_LISP.
	(Fline_beginning_position, Fline_end_position): Notice field
	boundaries only if inhibit-field-text-motion is nil.
d14460 1
a14460 6
	* xfns.c (x_create_x_image_and_pixmap): Remove parameter FILE.
	All calls adjusted.
	(x_build_heuristic_mask): Likewise.
	(xbm_load_image_from_file): Change error output.
	(xbm_load, xpm_load, pbm_load, png_load, jpeg_load, tiff_load)
	(gif_load, gs_load, x_kill_gs_process): Ditto.
d14462 1
a14462 10
	* xfns.c (gif_load): Avoid sign extension and thus out of bounds
	color indices when accessing raster pixels.
	(gif_image_p, png_image_p, jpeg_image_p, tiff_image_p): Allow only
	one of :file or :data.
	(enum pbm_keyword_index): Add PBM_DATA.
	(pbm_format): Add :data.
	(pbm_image_p): Allow either :file or :data.
	(pbm_read_file): New function.
	(pbm_scan_number): Rewritten to read from string.
	(pbm_load): Support :data.
d14464 1
a14464 1
See ChangeLog.8 for earlier changes.
d14466 1
a14466 3
;; Local Variables:
;; coding: iso-2022-7bit
;; End:
@


1.1.1.31
log
@import emacs-21.0.105
@
text
@a0 820
2001-08-31  Gerd Moellmann  <gerd@@gnu.org>

	* composite.c (update_compositions): Do nothing if
	inhibit-modification-hooks is set.

2001-08-30  Gerd Moellmann  <gerd@@gnu.org>

	* emacs.c (shut_down_emacs): Don't call check_glyph_memory
	and check_message_stack if temrinating normally.  We want
	glyph matrices etc. in a core dump.

	* xdisp.c (Qbuffer_position, Qposition, Qobject): New variables.
	(syms_of_xdisp): Initialize them.
	(handle_single_display_prop): Don't change point, bind `object',
	`position', and `buffer-position' instead to the object having the
	`display' property, position in the object and position in the
	buffer.

	* fileio.c (Finsert_file_contents): Don't change the multibyteness
	of the buffer if REPLACE is non-nil.

2001-08-29  Gerd Moellmann  <gerd@@gnu.org>

	* fileio.c (Finsert_file_contents): Undo change of 2001-08-27.

2001-08-28  Eli Zaretskii  <eliz@@is.elta.co.il>

	* w32term.c (x_set_glyph_string_background_width)
	(show_mouse_face): Track the last changes in xterm.c.

2001-08-28  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_set_glyph_string_background_width): Set the glyph
	string's background width so that multi-line mouse-face is drawn
	to the right edge of the window.
	(show_mouse_face): Set the row's mouse_face_p flag after drawing
	glyphs.

	* dispnew.c (direct_output_for_insert): Set updated_area
	before inserting/writing glyphs.

	* xdisp.c (display_mode_element): Use string_byte_to_char to
	determine character positions in strings, use chars_in_text
	instead of strwidth.
	(dump_glyph_row) [GLYPH_DEBUG]: Take a glyph row instead of
	a matrix as parameter; this is easier to use from GDB.

2001-08-28  Miles Bader  <miles@@gnu.org>

	* textprop.c (Fprevious_single_char_property_change) 
       (Fnext_single_char_property_change): Doc fixes.

2001-08-27  Gerd Moellmann  <gerd@@gnu.org>

	* fileio.c (Finsert_file_contents): Allocate, restore, and
	free composition data in the case of REPLACE not being nil.

	* xdisp.c (init_from_display_pos, init_to_row_end): Return 0 if
	there exist overlay strings with newlines at POS.
	(text_outside_line_unchanged_p): Return 0 if changes start at
	START and overlays exist at START.  Likewise for END.
	(try_window_id): Give up if init_to_row_end returns 0.

	* fileio.c (Finsert_file_contents): Call Fset_buffer_multibyte
	unconditionally.

2001-08-24  Gerd Moellmann  <gerd@@gnu.org>

	* keymap.c (access_keymap): Return the cdr of the binding of
	a generic character instead of its definition (KEY . BINDING).

	* fileio.c (Finsert_file_contents): Set coding's dest_multibyte
	to 0 also in the REPLACE case.

2001-08-24  Andrew Choi  <akochoi@@cse.cuhk.edu.hk>

	* fileio.c (Ffile_readable_p) [macintosh]: Call access instead of
	open to determine whether file is readable (as for DOS_NT).

2001-08-23  Gerd Moellmann  <gerd@@gnu.org>

	* fileio.c (Finsert_file_contents): If VISIT is non-nil, and
	coding.type is coding_type_no_conversion or coding_type_raw_text,
	use Fset_buffer_multibyte to make the buffer unibyte if REPLACE is
	non-nil instead of just setting enable_multibyte_characters in the
	buffer to nil.

2001-08-22  Gerd Moellmann  <gerd@@gnu.org>

	* dispextern.h (struct face_cache): Add member
	menu_face_changed_p.

	* xfaces.c (menu_face_changed_default): New variable.
	(menu_face_changed_count): Variable removed.
	(Finternal_set_lisp_face_attribute): Doc fix.  If FRAME is t, set
	the menu_face_changed_default flag, otherwise set the FRAME's
	menu_face_changed_p flag if the `menu' face has been changed.
	Prevent calling set_font_frame_param if FRAME is t.
	(make_face_cache): Initialize cache's menu_face_changed_p
	from menu_face_changed_default.
	(realize_basic_faces): Look into the frame's face cache to
	determine if the menu appearance needs updating.

	* keymap.c (access_keymap): Fix last change to not consider
	IDX when it has modifiers.

2001-08-21  Gerd Moellmann  <gerd@@gnu.org>

	* keymap.c (access_keymap): If a binding of the form (GENERIC-CHAR
	. BINDING) exists, where GENERIC-CHAR is the generic character of
	the charset of IDX, return BINDING unless there exists a binding
	for IDX itself.

2001-08-16  Gerd Moellmann  <gerd@@gnu.org>

	* xrdb.c (SYSV): Don't define on Solaris 2.
	From Rainer Orth  <ro@@TechFak.Uni-Bielefeld.DE>.

	* xdisp.c (move_it_by_lines) <DVPOS < 0>: Start at the beginning
	of the screen line, not text line, containing IT's current
	position.

2001-08-15  Gerd Moellmann  <gerd@@gnu.org>

	* window.c (window_scroll_pixel_based): Don't recenter if
	PT is partially visible in the window.

	* xterm.c (expose_window_tree, expose_window, expose_line):
	Return 1 when overwriting mouse-face.
	(expose_frame): If mouse-face was overwritten, redo it.

	* xfaces.c (x_update_menu_appearance): Don't call
	set_frame_menubar, let the next redisplay do it.

2001-08-14  Andrew Innes  <andrewi@@gnu.org>

	* w32term.c (x_draw_glyph_string): Draw relief (if any) before
	drawing glyph string.

2001-08-14  Eli Zaretskii  <eliz@@is.elta.co.il>

	* s/hiuxwe2.h: New file, for the HITACHI SR2001/SR2201 series
	running HI-UX/MPP.

2001-08-14  Gerd Moellmann  <gerd@@gnu.org>

	* xfaces.c (x_update_menu_appearance): Save and restore value of
	interrupt_input_blocked.

2001-08-13  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (move_it_by_lines) <DVPOS < 0>: If not already on
	a line start, move back to the line start.

	* xdisp.c (resize_echo_area_exactly): Don't resize the mini-window
	exactly when a mini-buffer is active.

	* keyboard.c (make_lispy_event): Interpret double_click_fuzz
	in units of 1/8 character on non window-system frames.
	(syms_of_keyboard) <double-click-fuzz>: Doc fix.

2001-08-10  Eli Zaretskii  <eliz@@is.elta.co.il>

	* keyboard.c (syms_of_keyboard) <double-click-fuzz>: Fix a typo in
	a doc string.

2001-08-09  Gerd Moellmann  <gerd@@gnu.org>

	* keyboard.c (Vpre_help_message): New variable.
	(syms_of_keyboard): Initialize and staticpro it.
	(show_help_echo): Record current message before displaying a
	help-echo, and restore that message when clearing the help.

	* xfns.c (x_create_im): Remove prototype.

	* xdisp.c (mark_window_display_accurate_1): Remove an assertion.

	* dispnew.c (adjust_glyph_matrix): Undo last change.

2001-08-08  Gerd Moellmann  <gerd@@gnu.org>

	* dispnew.c (adjust_glyph_matrix): In the optimization for
	windows whose height has changed, disable partially visible lines.

2001-08-07  Gerd Moellmann  <gerd@@gnu.org>

	* window.c (Frecenter): If ARG < 0, and on a window system
	frame, count in some empty lines when we can't move -ARG lines down.

	* xdisp.c (start_display): Don't try to determine the continuation
	lines width if lines are truncated.  It's superfluous and leads to
	incorrect results if POS is not visible in the window after
	reseating the iterator at the previous line start.

2001-08-06  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_dump_glyph_string): Put in #if GLYPH_DEBUG.

2001-08-06  Pavel Jan,Bm(Bk  <Pavel@@Janik.cz>

	* alloc.c (init_stack): Remove declaration.

2001-08-03  Gerd Moellmann  <gerd@@gnu.org>

	* keyboard.c (read_key_sequence): Check that key is an integer
	before comparing it with quit_char.
	(add_command_key): Use larger_vector.
	(read_char_x_menu_prompt): Instead of converting symbol and
	integer events into conses (EVENT . nil), use (EVENT . disabled)
	which cannot be confused with valid events.
	(read_char): When reading from Vunread_command_events, check for
	events of the form (EVENT . disabled) instead of
	(EVENT . nil).

	* xdisp.c (resize_mini_window): If Vmax_mini_window_height is
	a float, determine the max height from the frame's height.

2001-08-02  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (redisplay_internal): Take message_cleared_p into
	account only if minibuf_level == 0.

2001-08-01  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (redisplay_internal): Add a check for the last
	displayed message.

	* xdisp.c (message_cleared_p): New variable.
	(clear_message): Set message_cleared_p when clearing the current
	message.
	(redisplay_internal): Look at message_cleared_p to capture
	the case that the echo area should be cleared.

	* keyboard.c (command_loop_1): Fix spelling of
	resize_echo_area_exactly.

	* dispextern.h (resize_echo_area_exactly): Fix typo in function name.

	* xdisp.c (resize_echo_area_exactly): Fix typo in function name.

	* xfns.c (x_set_tool_bar_lines): Clear the tool bar window's
	current matrix when the window gets smaller.

2001-08-01  Eli Zaretskii  <eliz@@is.elta.co.il>

	* print.c (strout): Cast the character passed to insert_char to
	unsigned char, to avoid sign extension when it is promoted to int.

2001-07-31  Gerd Moellmann  <gerd@@gnu.org>

	* fileio.c (Finsert_file_contents): Don't treat a return value
	of 0 from emacs_read as an IO error.

2001-07-30  Gerd Moellmann  <gerd@@gnu.org>

	* keyboard.c (abs): New macro.
	(double_click_fuzz): New variable.
	(make_lispy_event): Use it to determine what makes a double-click.
	(syms_of_keyboard): DEFVAR_INT it.

	* xmenu.c (set_frame_menubar): Take into account that
	f->menu_bar_vector can be nil, and not a vector.  From Ken Raeburn
	<raeburn@@gnu.org>.

2001-07-27  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_get_glyph_string_clip_rect): Minor cleanup.

	* dispnew.c (shift_glyph_matrix, blank_row): Fix computation
	of row's visible height.

	* xdisp.c (init_from_display_pos): If POS is in an overlay string,
	deal with the first overlay string having an image `display' property.
	(try_window_reusing_current_matrix, compute_line_metrics):
	Fix computation of row's visible height for the case that part of the
	row is invisible above and part of the row is at the same time
	invisible below the window.

2001-07-26  Gerd Moellmann  <gerd@@gnu.org>

	* xfns.c (x-show-tip): Doc fix.

	* xfns.c (Vx_max_tooltip_size): New variable.
	(syms_of_xfns): DEFVAR_LISP it.
	(Fx_show_tip): Set frame's window_width to the width of the
	window.  Use a maximum tooltip size specified by
	Vx_max_tooltip_size, if that has valid contents.
	(x_create_tip_frame): Set tooltip buffer's truncate-lines to nil.

2001-07-26  Andrew Innes  <andrewi@@gnu.org>

	* w32term.c (x_display_list): New variable.
	(w32_term_init): Set it.

	* w32term.h (x_display_list): New extern.

2001-07-26  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (resize_mini_window): Give up when inhibit-redisplay
	is non-nil, instead of when redisplaying_p is non-zero.
	See comment there.
	(mark_window_display_accurate_1): Add an assertion.

2001-07-25  Gerd Moellmann  <gerd@@gnu.org>

	* dispextern.h (struct it): Increase size of ctl_chars to 16.

	* xfns.c (Fx_file_dialog): Block/unblock input while processing
	events so that we get a chance of processing expose events.

	* xdisp.c (resize_mini_window): Don't resize while redisplaying.

2001-07-24  Gerd Moellmann  <gerd@@gnu.org>

	* xfns.c (valid_image_p): Protect better against invalid image
	specifications.  Previous code could signal an error.

2001-07-23  Gerd Moellmann  <gerd@@gnu.org>

	* indent.c (current_column): Fix column computation in the
	presence of display table entries.
	(current_column_1, Fmove_to_column, compute_motion): Likewise.

	* dispnew.c (adjust_glyph_matrix): In the optimization for
	windows whose height has changed, use the new window height
	to compute which rows to invalidate.

	* editfns.c (toplevel) [STDC_HEADERS]: Include float.h.
	(MAX_10_EXP): New macro.
	(Fformat): Use it.

	* coding.c (code_convert_region): Handle the multibyte case if
	decoding ends with CODING_FINISH_INSUFFICIENT_SRC.

2001-07-20  Gerd Moellmann  <gerd@@gnu.org>

	* dispextern.h (struct face): Change type of `stipple' to
	int; it's an ID.

	* xterm.c (x_fill_stretch_glyph_string): Remove an assertion.

2001-07-19  Gerd Moellmann  <gerd@@gnu.org>

	* dispnew.c (update_window): Don't set the cursor at the end
	of the update if display update has been paused.

	* composite.h (syms_of_composite): Renamed from syms_of_composition.

2001-07-18  Ken Raeburn  <raeburn@@gnu.org>

	* fns.c (Fset_char_table_default): Check that a charset is defined
	before checking its dimension.

2001-07-17  Ken Raeburn  <raeburn@@gnu.org>

	* coding.c (setup_coding_system): Don't do any designation based
	on reg_bits if charset is not yet defined.

  	* lisp.h (XVECTOR): Verify correct object type before returning a
	pointer, using eassert.

2001-07-17  Gerd Moellmann  <gerd@@gnu.org>

	* keyboard.c (KBD_BUFFER_SIZE) [!HAVE_WINDOW_SYSTEM]:
	Increase to 4096 because of paste problems reported on GNU/Linux.

2001-07-17  Jan Nieuwenhuizen  <janneke@@gnu.org>

	* emacs.c (USAGE1): Add +LINE:COLUMN option help.

2001-07-16  Gerd Moellmann  <gerd@@gnu.org>

	* fileio.c (unwind_read): Function removed.
	(read_non_regular, read_non_regular_quit): New functions.
	(Finsert_file_contents): When reading from non-regular files,
	arrange to catch a `quit' and terminate the loop.  Rearrange
	code so that a `quit' when reading from a regular file doesn't
	insert text in the buffer.

	* xfaces.c (clear_face_cache): Clear fonts on a display basis.
	Clear faces afterwards.
	(clear_font_table): Take a x_display_info parameter.  Don't free
	fonts being the default font of any frame on the given display.

2001-07-13  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (get_next_display_element): Use CHAR_STRING_NO_SIGNAL
	instead of CHAR_STRING which can signal an error.

	* charset.c (char_to_string_1): Extracted from char_to_string.
	Return -1 instead of signaling an error.
	(char_to_string): Use it.

	* charset.h (CHAR_STRING_NO_SIGNAL): New macro.

2001-07-12  Stefan Monnier  <monnier@@cs.yale.edu>

	* coding.c (Ffind_coding_systems_region_internal): If safe_codings
	is t, don't try to append anything to it.

2001-07-12  Eli Zaretskii  <eliz@@is.elta.co.il>

	* dired.c (file_name_completion): Pass dp->d_name to
	Fstring_match, not elt, which is always nil here.

2001-07-12  Gerd Moellmann  <gerd@@gnu.org>

	* xselect.c (x_decline_selection_request): Handle errors
	caused by receivers that have vanished.

	* xterm.c (XTread_socket) <PropertyNotify>: Put the code
	ignoring events on foreign windows in #if 0.  Always dispatch
	the event after checking it with x_handle_property_notify.

	* xselect.c (TRACE0, TRACE1, TRACE2): New macros, defined
	depending on TRACE_SELECTION.  Replace fprintfs in #if 0 with
	TRACE macros to facilitate debugging.  Add additional trace statements.
	(toplevel): Add prototypes for file-local functions.
	(x_atom_to_symbol): Remove DPYINFO parameter.

2001-07-11  Stefan Monnier  <monnier@@cs.yale.edu>

	* w32menu.c (menubar_selection_callback, w32_menu_show):
	Initialize `entry' to nil.
	(w32_dialog_show): Remove unused `save_wv' variable.
	(name_is_separator): Recognize "--:foo" and "--foo-bar".

2001-07-11  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (try_cursor_movement): Prevent a warning from GCC 3.0.

	* fileio.c (unwind_read): Print a message when discarding inserted
	text or switching the buffer to unibyte.  Change parameter.
	(Finsert_file_contents): Don't pass VISIT to unwind_read.

	* fileio.c (unwind_read): New function.
	(Finsert_file_contents): Record it as unwind-function for
	the case that reading is interrupted by C-g.

2001-07-10  Gerd Moellmann  <gerd@@gnu.org>

	* dispnew.c (update_window): Don't skip the header-line
	update when scrolling_window returns 0.

	* xfaces.c (unload_color): Do nothing if PIXEL is -1.

	* xfns.c (Fx_create_frame): Initialize frame colors to -1,
	for the case that x_decode_color signals an error.

	* xdisp.c (add_to_log): Do nothing if called asynchronously.

2001-07-09  Gerd Moellmann  <gerd@@gnu.org>

	* sound.c (toplevel): Include <signal.h> and "syssignal.h".
	(vox_configure, vox_close) [SIGIO]: Block/unblock SIGIO
	around ioctls.

2001-07-06  Eli Zaretskii  <eliz@@is.elta.co.il>

	* dosfns.c (syms_of_dosfns): Add \n\ at the end of a line in the
	doc string line for dos-timezone-offset.

	* msdos.c (do_visible_bell): Add \n\ at the end of each line of
	inline assembly, to avoid compiler warnings.
	(syms_of_msdos): Add \n\ at the end of a line in the doc string
	line for dos-unsupported-char-glyph.

	* buffer.c (syms_of_buffer) [if 0]: Avoid a warning from GCC 3.0.

2001-07-05  Gerd Moellmann  <gerd@@gnu.org>

	* sound.c: Include Emacs' header files with #include "...".

	* eval.c (specbind): Additionally record the buffer that was
	current when a buffer-local or frame-local variable was bound.

2001-07-04  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_produce_glyphs): Don't convert multibyte characters
	to unibyte characters in unibyte buffers.

2001-07-03  Gerd Moellmann  <gerd@@gnu.org>

	* eval.c (specbind): If SYMBOL has a frame-local binding, record
	the frame on the binding stack.  Change format of entries for
	local bindings on the binding stack to '(SYMBOL . WHERE)'.
	(unbind_to): Handle unbinding a frame-local variable.

	* xdisp.c (compute_line_metrics): On ttys, subtract continuation
	glyphs and truncation glyphs at the end of a row from its pixel width.
	(dump_glyph_row): Print row's continuation_lines_width.
	(try_window_id): Take the shortcut if ZV is visible in the
	window, but there are actually no changes at ZV.

2001-07-02  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.h (x_free_dpy_colors): Add prototype.

	* xterm.c (cvt_pixel_dtor): Call x_free_dpy_colors with the
	right number of arguments.

	* Makefile.in (tags): Depend on $(lwlibdir)/TAGS.
	($(lwlibdir)TAGS): New target.
	(TAGS): Fix dependency list.

	* xterm.c (x_list_fonts): Make sure XFreeFont is called
	with input blocked.

2001-06-30  Gerd Moellmann  <gerd@@gnu.org>

	* emacs.c (main): Remove extern declaration for sys_nerr, which
	isn't used and causes a compilation error with GCC 3.0 on
	FreeBSD 4.3.

2001-06-27  Gerd Moellmann  <gerd@@gnu.org>

	* widget.c (EmacsFrameSetCharSize): Turn off atimers and block
	SIGIO around the code where Xt might wait for a ConfigureNotifyEvent.
	(toplevel): Include <signal.h> and syssignal.h.

	* sound.c (vox_configure, vox_close): Turn off atimers
	around ioctls.

2001-06-26  Gerd Moellmann  <gerd@@gnu.org>

	* keyboard.c (read_char) <non_reread>: Record the previous idle
	start time before calling timer_stop_idle.
	(read_char) <reread_first>: After processing a help-echo event,
	restore the previous idle start time.

	* xdisp.c (handle_invisible_prop): Deal with overlay strings at
	the start of invisible text.
	(setup_for_ellipsis): New function.
	(next_overlay_string): After all overlay strings have been
	processed, display an ellipsis if necessary.
	(load_overlay_strings, get_overlay_strings): Add parameter CHARPOS.
	(push_it): Initialize display_ellipsis_p on the iterator's stack.

	* dispextern.h (struct iterator_stack_entry): Add member
	display_ellipsis_p.

2001-06-25  Gerd Moellmann  <gerd@@gnu.org>

	* widget.c (EmacsFrameSetCharSize): Set XtNwaitForWm depending
	on the value of the wait-for-wm frame parameter.

	* xterm.h (struct x_output): Add member wait_for_wm.

	* xfns.c (Qwait_for_wm): New variable.
	(x_frame_parms): Add entry for `wait-for-wm".
	(x_set_wait_for_wm): New function.
	(Fx_create_frame): Call x_default_parameter for wait-for-wm.
	(syms_of_xfns): Initialize and staticpro Qwait_for_wm.

	* xdisp.c (try_window_id) <all changes below window end>: Don't
	take this shortcut if ZV is visible in the window.
	(try_window_id): When checking for window start being in changed
	text, don't check that the buffer's size has changed.

2001-06-23  Richard M. Stallman  <rms@@gnu.org>

	* minibuf.c (Fcompleting_read): Doc fix.

2001-06-19  Gerd Moellmann  <gerd@@gnu.org>

	* composite.c (Ffind_composition_internal): Accept ZV
	and a string's end position as POS.

2001-06-18  Gerd Moellmann  <gerd@@gnu.org>

	* composite.c (Ffind_composition_internal): Check POS
	for validity.

2001-06-15  Eli Zaretskii  <eliz@@is.elta.co.il>

	* editfns.c (Fmessage_box): If the frame is not under a window
	system, output the message in the echo area.

2001-06-14  Richard M. Stallman  <rms@@gnu.org>

	* xdisp.c (try_window_id): When EOB is visible, don't treat
	insertion at EOB as if it were "off the bottom of the screen."

2001-06-11  Andrew Innes  <andrewi@@gnu.org>

	* w32proc.c (create_child): Add new parameter is_gui_app.
	(w32_executable_type): Add new parameter is_gui_app.
	(sys_spawnve): Use it.
	(sys_kill): Fake ^C for SIGINT, and ^Break (if possible) for
	SIGQUIT.  This matches better how the signals are interpreted by
	MSVC compiled programs.
	(syms_of_ntproc): Update docstring.

2001-06-02  Stefan Monnier  <monnier@@cs.yale.edu>

	* xterm.c (clear_mouse_face): Reset dpyinfo->mouse_face_overlay as
	well otherwise note_mouse_highlight might optimize away highlighting
	if we pass over that same overlay again.

2001-06-02  Eli Zaretskii  <eliz@@is.elta.co.il>

	* lread.c (Fload): Document that the argument is run via
	substitute-in-file-name.

2001-05-31  Gerd Moellmann  <gerd@@gnu.org>

	* Makefile.in (bootstrap-doc): New target.
	(bootstrap-emacs): Depend on it.

	* fileio.c (Fdo_auto_save): Don't try to create the directory of
	auto-save-list-file-name when shutting down Emacs, because
	creating the directory might signal an error, and leaves
	Emacs in a strange state.

	* term.c: (tty_cursor_hidden): New variable.
	(update_begin): Don't call tty_hide_cursor.  Clean up.
	(update_end, set_terminal_window, set_scroll_region): Clean up.
	(ring_bell, reset_terminal_modes): Clean up.
	(tty_hide_cursor, tty_show_cursor): Hide/show cursor depending
	on tty_cursor_hidden.
	(write_glyphs): Call tty_hide_cursor.

2001-05-30  Stefan Monnier  <monnier@@cs.yale.edu>

	* buffer.c (copy_overlays): Make ENABLE_CHECKING happy.

2001-05-30  Gerd Moellmann  <gerd@@gnu.org>

	* xfns.c (enum image_value_type): New enumerator
	IMAGE_STRING_OR_NIL_VALUE.
	(parse_image_spec): Handle it.
	(xbm_format, pbm_format): Use it for :foreground and :background.
	(xbm_load, pbm_load): Check for nil color names.

	* xterm.c (note_mouse_highlight): If an overlapping overlay
	exists, but we find that we highlight the same overlay as before,
	don't do the highlighting again.

2001-05-29  Gerd Moellmann  <gerd@@gnu.org>

	* xmenu.c (single_submenu, xmenu_show) [!HAVE_MULTILINGUAL_MENU]:
	Protect unibyte strings created by replacing their multibyte
	equivalents in menu_items.

	* keymap.c (Fsingle_key_description): NUL-terminate the string
	buffer before calling build_string.

	* callproc.c (Fcall_process): Deal with decode_coding returning
	CODING_FINISH_INCONSISTENT_EOL.

2001-05-28  Gerd Moellmann  <gerd@@gnu.org>

	* xmenu.c (xmenu_show) [!HAVE_MULTILINGUAL_MENU]: Don't overwrite
	an item's name with its key description in case the description
	is a multibyte string.

	* keymap.c (Fsingle_key_description): Create a multibyte string
	only if necessary.

	* macros.c (Fstart_kbd_macro): Doc fix.

	* xterm.c (cursor_in_mouse_face_p): New function.
	(x_draw_stretch_glyph_string): Use it to choose a different GC
	when drawing a cursor within highlighted text.

	* editfns.c (char_property_eq): Put in #if 0.

	* indent.c (string_display_width): Put in #if 0.

	* lread.c (Fload): Remove unused label.

	* termcap.c (speeds): Put in #if 0.

2001-05-18  Gerd Moellmann  <gerd@@gnu.org>

	* eval.c (call_debugger): Don't bind inhibit-eval-during-redisplay.

	* xfaces.c (xlfd_point_size): Don't divide pixel size from
	transformation matrix by 10.

2001-05-16  Gerd Moellmann  <gerd@@gnu.org>

	* xfns.c (x_set_foreground_color): Change frame's cursor_pixel
	only if it's equal to the former foreground pixel color.
	(x_set_foreground_color, x_set_background_color)
	(x_set_mouse_color, x_set_cursor_color): Cleaned up.

2001-05-16  Dave Love  <fx@@gnu.org>

	* insdel.c (signal_before_change, signal_after_change): Consider a
	local change hook which changes the buffer.

	* process.c (read_process_output): Don't call signal_after_change
	and update_compositions after insert_from_string_before_markers.

2001-05-16  Gerd Moellmann  <gerd@@gnu.org>

	* xfaces.c (split_font_name): Use the right field when
	checking for `[...]' syntax.

	* buffer.c (copy_overlays): New function.
	(clone_per_buffer_values): Use it.

	* buffer.h (OVERLAY_PLIST): New macro.

	* keymap.c (Fsingle_key_description): Replace a build_string with
	a make_multibyte_string.  From Kenichi Handa <handa@@etl.go.jp>.

	* fontset.c (Ffontset_info): Check that face is non-null
	before accessing its fields.

2001-05-15  Gerd Moellmann  <gerd@@gnu.org>

	* keyboard.c (read_key_sequence): Prevent generating a fake
	prefix key twice.

	* xfaces.c (split_font_name): Handle `[...]' for the right
	font name fields.

	* ccl.c (ccl_driver): Don't copy remaining bytes in case
	of CCL_STAT_INVALID_CMD.

2001-05-14  Stefan Monnier  <monnier@@cs.yale.edu>

	* eval.c (Fdefvar): Only record (defvar <var>) in the load-history
	in <var> has no default value yet.

	* xfaces.c (try_alternative_families): First try the FAMILY.
	And if nothing is found in the end, try again with scalable fonts.
	(try_font_list): Let try_alternative_families do a bit more of
	the work.  Only use FAMILY if it is not nil.
	(syms_of_xfaces) <scalable-fonts-allowed>: Fix docstring.

2001-05-14  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (note_mouse_highlight): Avoid changing the mouse
	pointer shape when show_mouse_face has already done it.

	* xterm.c (x_draw_glyphs): Fix computation of rightmost x for
	full-width rows.

	* xfaces.c (split_font_name): Make sure to leave the loop
	with the right value of `i'.

	* xfaces.c (split_font_name): Handle matrix transformations
	in the pixel and point size fields of XLFD font names.
	(xlfd_point_size): Likewise.

2001-05-12  Eli Zaretskii  <eliz@@is.elta.co.il>

	* w32fns.c (w32_to_x_font): Change prototype to fit the declaration.
	(x_to_w32_font): Add prototype.

	* regex.c (malloc, realloc, free) [emacs]: Undefine before
	redefining, to avoid compiler warnings.

	* w32proc.c: Include syssignal.h, to avoid compiler warnings.

	* w32bdf.c (search_file_line, set_bdf_font_info, seek_char)
	(w32_get_bdf_glyph): Cast between unsigned char and char when
	passing arguments to subroutines, to shut up compiler warnings.
	(w32_get_bdf_glyph): Don't mix signed and unsigned when calling
	GET_HEX_VAL.

	* xfaces.c: Include keyboard.h before frame.h, not after it.

	* widget.c: Include keyboard.h before frame.h.

	* w32term.h (struct image, struct face): Forward declaration, to
	avoid compiler warnings.

2001-05-11  Gerd Moellmann  <gerd@@gnu.org>

	* keyboard.c (read_key_sequence): Don't modify events when
	generating fake prefix keys (mode-line, scroll-bar, ...) since
	this prevents proper processing of such events when pushed back
	into unread-command-events.

	* xterm.c (clear_mouse_face): Return 1 if text with mouse face was
	actually redrawn.  Make the function static.
	(note_mouse_highlight): Fix a case where the mouse cursor
	was changed back to the text cursor.

	* xterm.h (clear_mouse_face): Remove prototype.

	* xdisp.c (try_window_id): Fix the fix and set the right
	window_end_vpos.

	* xdisp.c (try_window_id): Fix computation of window end in the
	case that lines were deleted at the end of the window.  Add some
	more debug_method_adds.

	* xfaces.c (try_alternative_families): New function.
	(try_font_list): Use it.  If ATTRS specifies a family, check
	fonts from that family first.
	(choose_face_font): Remove code setting the family part of
	the pattern to nil.

2001-05-10  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (try_window_id): Fix case of all changes before
	the window start.

	* xdisp.c (try_window_id): Add some xasserts.

2001-05-09  Gerd Moellmann  <gerd@@gnu.org>

	* lisp.h (GLYPH_CHAR_VALID_P): Use CHAR_VALID_P.

2001-05-09  Dave Love  <fx@@gnu.org>

	* xdisp.c (GIVE_UP): Fix for K&R C.

2001-05-09  Gerd Moellmann  <gerd@@gnu.org>

	* print.c (syms_of_print) <print-length, print-level>: Doc fix.

	* xterm.c (note_mouse_highlight): Don't change the mouse cursor
	back to the text cursor shape without need.

d12 2
a13 2
	* xterm.c (XTread_socket) <Expose> [!USE_TOOLKIT_SCROLL_BARS]:
	Fix the change from 2001-04-30.
d21 1
a21 1
	* xdisp.c (try_window_id): Cases of changes all in front of
d30 2
a31 2
	currently being updated, mark the frame garbaged.
	Fix computation of rows intersecting the exposed rectangle.
d33 1
a33 1

d66 3
a68 2
	* process.c (wait_reading_process_input):
	Call record_asynch_buffer_change only if a timer really changed buffers.
d105 2
a106 2
	(syms_of_xfaces): Initialize Qscalable_fonts_allowed.  Change default
	for scalable-fonts-allowed to t.
a149 1
	From Dan Holmsand <dan@@eyebee.com>.
d152 2
a153 2
	able to write to hidden and system files.  From Dan Holmsand
	<dan@@eyebee.com>.
d155 1
a155 2
	* fileio.c (Fcopy_file) [WINDOWSNT]: Use CopyFile.  From Dan
	Holmsand <dan@@eyebee.com>.
@


1.1.1.32
log
@import emacs-21.0.106
@
text
@a0 205
2001-09-25  Gerd Moellmann  <gerd@@gnu.org>

	* keyboard.c (read_char): Don't clear a message for a switch-frame
	event.   From Stefan Monnier  <monnier@@cs.yale.edu>.

	* xterm.c (fast_find_position) [0]: Add a presumably more correct
	version for after 21.1.

	* xdisp.c (row_containing_pos): Make externally visible.

	* dispextern.h (row_containing_pos): Add prototype.

	* process.c (send_process): Disable composition if from_byte < 0.
	From Kenichi Handa <handa@@etl.go.jp>.

2001-09-24  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (refreshicon): Function removed.

	* Makefile.in (xterm.o): Remove references to sink.h and sinkmask.h.

	* sink11.h, sink11mask.h, sink.h, sinkmask.h: Removed.

	* xterm.c (toplevel): Remove includes in #if 0.

	* process.c (sigchld_handler) [LINUX]: Don't return from
	the signal handler at the end of the loop.

2001-09-21  Gerd Moellmann  <gerd@@gnu.org>

	* sysdep.c (wait_for_termination) [POSIX_SIGNALS]: Terminate
	only if kill returns -1, and errno is ESRCH.

2001-09-21  Markus Rost  <rost@@math.ohio-state.edu>

	* Makefile.in (shortlisp): Add ../lisp/env.elc.

2001-09-20  Gerd Moellmann  <gerd@@gnu.org>

	* process.c (sigchld_handler): Use GC_CONSP, GC_INTEGERP, GC_EQ
	since this function can be called during GC.

	* callproc.c (Fcall_process): Handle errors from pipe(2).
	(child_setup): Delete code in #ifdef vipc.

2001-09-19  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (decode_mode_spec): Add parameter MULTIBYTE.
	(display_mode_element): Display the string from decode_mode_spec
	depending on its multibyteness.

	* s/netbsd.h (LD_SWITCH_SYSTEM, C_SWITCH_SYSTEM): Add /usr/pkg.

	* m/macppc.h (DATA_SEG_BITS): Also define for GCC 3.

2001-09-18  Gerd Moellmann  <gerd@@gnu.org>

	* keyboard.c (Frecursive_edit): Pass (BUFFER . SINGLE-KBOARD) to
	recursive_edit_unwind.
	(recursive_edit_unwind): Set kboard state according to
	SINGLE-KBOARD.

	* buffer.c (modify_overlay): Don't do nothing if START == END;
	This can still be a modification, for example when an overlay has
	a before-string or after-string.
	(Fdelete_overlay): Prevent redisplay optimizations when deleting
	an overlay with before-string or after-string.

	* s/netbsd.h (C_SWITCH_SYSTEM): Add.
	(LD_SWITCH_SYSTEM): Include /usr/local/lib.

	* xdisp.c (try_window_id) [!GLYPH_DEBUG]: Give up if
	first_unchanged_at_end_row is in front of
	last_unchanged_at_beg_row.  This code should be removed after the
	release of 21.1.

2001-09-17  Gerd Moellmann  <gerd@@gnu.org>

	* buffer.h (BUF_COMPUTE_UNCHANGED): Use BUF_MODIFF and
	BUF_OVERLAY_MODIFF instead of MODIFF and OVERLAY_MODIFF.

	* m/macppc.h (DATA_SEG_BITS) [__linux__]: Define for GCC
	versions >= 2.95.

2001-09-14  Eli Zaretskii  <eliz@@is.elta.co.il>

	* dired.c (Ffile_attributes): Doc fix.

2001-09-14  Gerd Moellmann  <gerd@@gnu.org>

	* fileio.c (Ffile_symlink_p): Fix last change.

	* filelock.c (current_lock_owner): Fix last change.

2001-09-13  Gerd Moellmann  <gerd@@gnu.org>

	* filelock.c (current_lock_owner): If readlink returns ERANGE,
	take that to mean that the buffer is too small.

	* fileio.c (Ffile_symlink_p): If readlink returns ERANGE, take
	that to mean that the buffer is too small.

	* xdisp.c (reseat_1): Set IT's multibyte_p flag according to the
	current buffer's multibyteness when discarding the iterator's
	stack.

	* xfns.c (Fx_window_property): Handle case that property gets
	deleted between the two calls to XGetWindowProperty.

2001-09-11  Gerd Moellmann  <gerd@@gnu.org>

	* minibuf.c (read_minibuf_unwind): Bind inhibit-modification-hooks.
	
	* minibuf.c (read_minibuf): Bind inhibit-modification-hooks to t,
	in addition to read-only.

	* xdisp.c (with_echo_area_buffer): Bind inhibit-modification-hooks
	to t in addition to read-only.

	* lisp.h (Qinhibit_modification_hooks): Declare.

	* insdel.c (Qinhibit_modification_hooks): New variable.
	(syms_of_insdel): Initialize and staticpro it.

	* textprop.c (verify_interval_modification): Don't run
	modification-hooks if inhibit_modification_hooks.

	* dispnew.c (set_window_cursor_after_update): Fix code
	finding glyph row containing cursor when cursor_in_echo_area
	is >= 0.

	* xdisp.c (init_from_display_pos): Put some code in #if 0.
	(add_to_log): Use bcopy instead of strcpy.
	(init_from_display_pos): Use an explicit loop over bytes in
	overlay strings instead of calling index.

2001-09-10  Gerd Moellmann  <gerd@@gnu.org>

	* alloc.c (allocate_buffer): Call VALIDATE_LISP_STORAGE.

	* dispnew.c (direct_output_for_insert): Don't change IT's
	stop_charpos to something in front of its current position.

	* xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]: Take args like
	`format'.

2001-09-10  Richard M. Stallman  <rms@@gnu.org>

	* frame.c (Fmouse_position): Doc fix.

2001-09-07  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (init_from_display_pos): Don't compare the result
	of calling index with NULL.

2001-09-06  Gerd Moellmann  <gerd@@gnu.org>

	* xfns.c (x_set_background_color): Don't change the colors
	of the X window of scroll bar widgets.

2001-09-05  Andrew Innes  <andrewi@@gnu.org>

	* w32fns.c (w32_createwindow): Undo last change.

2001-09-05  Gerd Moellmann  <gerd@@gnu.org>

	* macros.c (store_kbd_macro_char): Fix computation of kbd_macro_end.

	* xdisp.c (string_buffer_position): Use *single_char_property*
	functions instead of the *single_property* functions.
	
2001-09-04  Andrew Innes  <andrewi@@gnu.org>

	* w32term.c (w32_read_socket): Add more information to debugging
	output.

	* w32fns.c (w32_createwindow): Remove the WS_CLIPCHILDREN style
	from Emacs frames, so that calls to GetClipBox in w32term.c
	correctly report when part of a frame is visible (including
	scrollbars, etc).  This prevents repeated redrawing of frames when
	only a scrollbar is visible.
	(w32_wnd_proc): Add more frame information to debugging output.

2001-09-03  Stefan Monnier  <monnier@@cs.yale.edu>

	* xdisp.c (handle_single_display_prop): Fix for int/Lisp_Object mixup.

2001-09-03  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (note_mouse_highlight) <help-echo>: When looking for
	help-echo for a string which doesn't have help-echo itself, use
	get-char-property to obtain the help-echo from the string's buffer
	(note_mouse_highlight) <mouse-face>: When on a string that doesn't
	have mouse-face, look ``under'' the string for mouse-face from an
	overlay.
	(fast_find_position): Add parameter STOP.  In the final row, stop
	before glyphs having STOP as object.  Don't consider glyphs that
	are not from a buffer.

	* buffer.c (syms_of_buffer) <default-directory>: Doc fix.

2001-09-01  Eli Zaretskii  <eliz@@is.elta.co.il>

	* fns.c (Fmd5): Doc fix.

d9 1
a9 1
	and check_message_stack if terminating abnormally.  We want
d16 2
a17 1
	`display' property, position in the object and position in the buffer.
d50 2
a51 2
	* textprop.c (Fprevious_single_char_property_change)
	(Fnext_single_char_property_change): Doc fixes.
d120 2
a121 1
	of the screen line, not text line, containing IT's current position.
@


1.1.1.33
log
@import emacs-21.1
@
text
@a0 217
2001-10-20  Gerd Moellmann  <gerd@@gnu.org>

	* Version 21.1 released.

2001-10-19  Richard M. Stallman  <rms@@gnu.org>

	* eval.c (syms_of_eval): Doc fixes.

2001-10-19  Miles Bader  <miles@@gnu.org>

	* cmds.c (Fbeginning_of_line, Fend_of_line): Clarify interaction
	with fields and suggest using `forward-line' to avoid them.
	* editfns.c (Fline_beginning_position, Fline_end_position):
	Clarify documentation.

2001-10-19  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (redisplay_internal): Don't clear echo area if the
	mini-window is selected.

2001-10-18  Ken Raeburn  <raeburn@@gnu.org>

	* config.in (HAVE_LIBHESIOD, HAVE_LIBK5CRYPTO): Undef these.

2001-10-18  Andrew Innes  <andrewi@@gnu.org>

	* fontset.c (fs_load_font) [WINDOWSNT && _MSC_VER]: Disable
	optimization.  The fontp->encoding array was not being initialized
	correctly when compiled with optimizations by MSVC.

	* fontset.h (struct font_info) [WINDOWSNT]: Add codepage field.

	* w32fns.c (w32_load_system_font): Cache codepage in font_info.

	* w32term.c (w32_encode_char): Get cached codepage from font_info,
	rather than working it out by calling w32_codepage_for_font for
	every glyph.

2001-10-18  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (display_line): Indicate empty lines in active
	mini-window.

2001-10-17  Andrew Innes  <andrewi@@gnu.org>

	* w32term.c (w32_read_socket): Determine clipping rectangle for
	the entire frame, including areas covered by scrollbars and the
	menubar.  This avoids internal arguments about whether a frame is
	fully obscured or not.

2001-10-17  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (try_window_id): Undo last change.  Give up if
	window ends in strings.
	
	* xdisp.c (try_window_id): Don't display lines after the window
	end if the rest of the window after the window end was already
	blank.
	
	* xdisp.c (display_line): Don't indicate empty lines in
	mini-windows.

2001-10-15  Pavel Jan,Bm(Bk  <Pavel@@Janik.cz>

	* editfns.c (Fchar_to_string): Make the doc string consistent with
	arguments.

2001-10-15  Gerd Moellmann  <gerd@@gnu.org>

	* window.c (select_window_1): Unfreeze window start.  Remove a
	doubled test for WINDOW being live.

	* xterm.c (x_draw_glyph_string): Restore clipping after
	drawing box.

2001-10-12  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (notice_overwritten_cursor): Renamed from
	note_overwritten_text_cursor.  Rewritten to take glyph widths into
	account.

2001-10-10  Gerd Moellmann  <gerd@@gnu.org>

	* s/osf5-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
	options.  From Dave Love <d.love@@dl.ac.uk>.

2001-10-08  Eli Zaretskii  <eliz@@is.elta.co.il>

	* Makefile.in (lisp, shortlisp): Replace bindings.el with
	bindings.elc, since otherwise doc strings in bindings.el get wrong
	offsets in etc/DOC.

2001-10-08  Gerd Moellmann  <gerd@@gnu.org>

	* sysdep.c (child_setup_tty) [HAVE_TERMIO || HAVE_TERMIOS]: 
	Clear ICRNL and INLCR.  From Daiki Ueno <ueno@@unixuser.org>.

2001-10-04  Andrew Innes  <andrewi@@gnu.org>

	* w32fns.c (x_to_w32_color): Fix argument to alloca.
	(w32_load_system_font): Don't believe what GetLanguageFontInfo
	says; query codepage info directly to determine if font is double
	byte.
	(x_to_w32_charset): Handle private format for unknown charsets.
	Handle wildcards in charset spec, by ignoring them.
	(w32_codepage_for_font): Fix argument to alloca.  Don't remove
	"*-" prefix from charset.
	(x_to_w32_font): Enlarge remainder array for safety.  Specifically
	handle the truncated font spec form constructed by font_list_1, so
	that we correctly identify the charset fields.  Don't remove "*-"
	prefix from charset.
	(w32_list_synthesized_fonts): Fix argument to alloca.

2001-10-03  Miles Bader  <miles@@gnu.org>

	* callproc.c (syms_of_callproc): Explicitly state in the
	documentation for `process-environment' that earlier entries take
	precedence over later ones.

2001-10-02  Miles Bader  <miles@@gnu.org>

	* textprop.c (Fnext_char_property_change)
	(Fprevious_char_property_change): Remove reference to non-existant
	argument OBJECT from doc-string.

2001-10-01  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (display_line): Set row's ends_in_newline_from_string_p.
	(try_window_id): Skip back over lines ending in a newline from a
	string.

	* dispextern.h (struct glyph_row) <ends_in_newline_from_string_p>:
	New bit flag

2001-10-01  Richard M. Stallman  <rms@@gnu.org>

	* search.c (Freplace_match): Doc fix.

2001-09-28  Andrew Innes  <andrewi@@gnu.org>

	* w32menu.c (set_frame_menubar): Take into account that
	f->menu_bar_vector can be nil, and not a vector.  From Ken Raeburn
	<raeburn@@gnu.org>.

2001-09-30  Eli Zaretskii  <eliz@@is.elta.co.il>

	* frame.c (syms_of_frame) <default-minibuffer-frame>: Doc fix.

2001-09-28  Pavel Jan,Bm(Bk  <Pavel@@Janik.cz>

	* s/gnu-linux.h: Fix a typo in comment.

2001-09-28  Andreas Schwab  <schwab@@suse.de>

	* s/gnu-linux.h (LD_SWITCH_SYSTEM_TEMACS): Link temacs with -z
	nocombreloc, in case -z combreloc is the default.

2001-09-28  Gerd Moellmann  <gerd@@gnu.org>

	* m/macppc.h [DATA_SEG_BITS]: Put in #if 0 until we know what's
	really going on here.

2001-09-27  Stefan Monnier  <monnier@@cs.yale.edu>

	* search.c (trivial_regexp_p): Catch \{N,M\} as well.

2001-09-27  Eli Zaretskii  <eliz@@is.elta.co.il>

	* Makefile.in (shortlisp): Resync with loadup.el: add backquote,
	utf-8, menu-bar, and latin-N.
	(SOME_MACHINE_LISP): Remove menu-bar, since it's loaded
	unconditionally now.
	(lisp): Add latin-N, since they are preloaded.

2001-09-27  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_draw_relief_rect): Draw bottom relief 1 pixel more
	to the left.  Some cleanup.

	* xdisp.c (display_mode_element): One more case where a string's
	multibyteness should be used for display.

2001-09-26  Gerd Moellmann  <gerd@@gnu.org>

	* fileio.c (Finsert_file_contents): If REPLACE is non-nil, stop
	reading at EOF.

	* xdisp.c (with_echo_area_buffer): Use echo_kboard instead
	of the only temporarily set echoing flag for deciding when
	the cancel echoing.

	* keyboard.c (echo_kboard): Make externally visible.

	* lisp.h (echo_kboard): Declare extern.

	* xdisp.c (make_cursor_line_fully_visible): Return 0 and set
	fonts_changed_p if we need larger matrices due to vscrolling.
	(try_scrolling, try_cursor_movement, redisplay_window): Give up on
	this round of redisplay if make_cursor_line_fully_visible fails.
	(CURSOR_MOVEMENT_*, SCROLLING_*): New enumerators.
	(try_cursor_movement, try_scrolling): Use them instead of integers.

	* dispextern.h (required_matrix_width, required_matrix_height):
	Add prototypes.

	* dispnew.c (required_matrix_width, required_matrix_height):
	New functions.
	(allocate_matrices_for_window_redisplay)
	(allocate_matrices_for_frame_redisplay: Use them.
	Remove parameters CH_DIM.

	* xdisp.c (display_mode_lines): Temporarily set selected_frame
	and selected_window to the frame of the window whose mode-lines
	are displayed, and to the window itself.
	(redisplay_window, redisplay_mode_lines): Don't set selected_frame
	here.

a2 6
	* xfns.c (x_kill_gs_process): Recognize if someone has cleared
	the image cache under us.

	* xdisp.c (display_mode_element): If the mode element is a symbol
	with a string value, use that string's multibyteness for displaying.

d31 2
a32 2
	* sysdep.c (wait_for_termination) [POSIX_SIGNALS]:
	Terminate only if kill returns -1, and errno is ESRCH.
a12358 4

    Copyright (C) 2001 Free Software Foundation, Inc.
  Copying and distribution of this file, with or without modification,
  are permitted provided the copyright notice and this notice are preserved.
@


1.1.1.34
log
@import emacs-21.2
@
text
@a0 695
2002-03-16  Eli Zaretskii  <eliz@@is.elta.co.il>

	* Version 21.2 released.

2002-03-15  Stefan Monnier  <monnier@@cs.yale.edu>

	* xterm.c (x_set_toolkit_scroll_bar_thumb, xm_scroll_callback)
	(XTread_socket): Undo last change: too late for this release.

2002-03-13  Stefan Monnier  <monnier@@cs.yale.edu>

	* xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>:
	Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per
	line) to avoid annoying flicker.
	(xm_scroll_callback): Get rid of the now unnecessary kludge.
	(XTread_socket): Mark it static.

2002-03-12  Juanma Barranquero  <lektu@@terra.es>

	* editfns.c (syms_of_editfns): Fix typo.

2002-03-09  Jason Rumney  <jasonr@@gnu.org>

	* fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not
	read-only when setting modified time.

2002-03-08  Juanma Barranquero  <lektu@@terra.es>

	* w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to
	24-bit.

2002-03-08  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (move_it_vertically_backward): At the end of the
	function, when moving forward by lines, treat terminal frames
	specially.

2002-02-23  Eli Zaretskii  <eliz@@is.elta.co.il>

	* coding.h (run_pre_post_conversion_on_str): Add prototype.

	* xselect.c (selection_data_to_lisp_data): Fix last change.

2002-02-22  Eli Zaretskii  <eliz@@gnu.org>

	* puresize.h (BASE_PURESIZE): Increase to 710000.

2002-02-22  Eli Zaretskii  <eliz@@is.elta.co.il>

	Support for ICCCM  Extended Segments in X selections:

	* xselect.c <Qcompound_text_with_extensions>: New variable.
	(syms_of_xselect): Intern and staticpro it.
	(selection_data_to_lisp_data): Run post-read-conversion on decoded
	selection text.
	(lisp_data_to_selection_data): If next-selection-coding-system is
	compound-text-with-extensions, set the type of selection to be
	compound-text.

	* xterm.h (x_encode_text): Update prototype.

	* xfns.c (x_encode_text): Accept additional arg SELECTIONP; all
	callers changed.  If SELECTIONP is non-zero, run the
	pre-write-conversion function before encoding the selection text.

2002-02-20  Pavel Jan,Bm(Bk  <Pavel@@Janik.cz>

	* xfns.c (gif_load): Use correct width and height for GIF images.

2002-02-18  Jason Rumney  <jasonr@@gnu.org>

	* w32term.c (glyph_rect): Determine the row and glyph more precisely.

2002-02-11  Jason Rumney  <jasonr@@gnu.org>

	* w32term.c (show_mouse_face): Fix bug setting a row's
	mouse_face_p flag unconditionally.
	(x_scroll_run): Revert to BitBlt.

2002-02-09  Jason Rumney  <jasonr@@gnu.org>

	* w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows
	match each other.
	(w32_load_system_font): Prevent Cleartype fonts from loading.

2002-02-08  Eli Zaretskii  <eliz@@is.elta.co.il>

	* floatfns.c (Fround): Doc fix.

2002-02-07  Stefan Monnier  <monnier@@cs.yale.edu>

	* lisp.h (Fx_file_dialog): Export (for Motif code in fileio.c).

2002-02-06  Jason Rumney  <jasonr@@gnu.org>

	* w32term.c (w32_native_per_char_metric):  Disable 2002-01-20 change.

2002-02-06  Eli Zaretskii  <eliz@@is.elta.co.il>

	* charset.c (get_charset_id): Use if-else instead of ?:.

2001-02-06  Richard M. Stallman  <rms@@gnu.org>

	* coding.c (code_convert_region): Update coding->cmp_data->char_offset
	before calling decode_coding.

	* charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal.

2002-02-05  Stefan Monnier  <monnier@@cs.yale.edu>

	* keymap.c (current_minor_maps): `override' only shadows its
	correspondent in minor-mode-map-alist, not the whole tail.

2002-02-02  Richard M. Stallman  <rms@@gnu.org>

	* window.c (enlarge_window): Fix last change.

2002-02-01  Kim F. Storm  <storm@@cua.dk>

	* xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row
	is invisible.  This can happen if cursor is on top line of a
	window, and we switch to a buffer with a header line.

	* w32term.c (x_erase_phys_cursor): Ditto.

2002-02-01  Eli Zaretskii  <eliz@@is.elta.co.il>

	* coding.c (decode_composition_emacs_mule): Give up if NCOMPONENT
	gets too large to index `component'.

2002-01-28  Richard M. Stallman  <rms@@gnu.org>

	* buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively.

	* xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively
	and scroll_up_aggressively.

2002-01-26  Jason Rumney  <jasonr@@gnu.org>

	* w32term.c (note_mouse_highlight): Reset help_echo.

2002-01-24  Jason Rumney  <jasonr@@gnu.org>

	* w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt.
	If region left to draw is not what was expected, mark the frame as
	garbaged.

	* w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect.
	Combine the regions returned by BeginPaint and GetUpdateRect.

2002-01-20  Eli Zaretskii  <eliz@@is.elta.co.il>

	* unexelf.c (unexec) [__sgi]: Support the .got sections.

2002-01-20  Jason Rumney  <jasonr@@gnu.org>

	* w32term.c (w32_native_per_char_metric): Don't trust the metrics
	that Windows returns.  If a double check fails, try to guess how
	ExtTextOut is going to act.

	* w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp
	in place of stricmp.
	(w32_list_synthesized_fonts): Removed.
	(w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions.
	(struct enumfont_t): New element; list.
	(enum_font_cb2): List all style and charset variations of a font.
	(Fw32_select_font): Exclude vertical fonts.
	(w32_enable_synthesized_fonts): Change to a boolean.
	(Fw32_send_sys_command): Doc fix.

2002-01-19  Jason Rumney  <jasonr@@gnu.org>

	* w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around
	call to face-set-after-frame-default.

2002-01-17  Richard M. Stallman  <rms@@gnu.org>

	* window.c (enlarge_window): When exceeding size of parent,
	directly delete all the siblings instead of trying to resize it.

2002-01-15  Eli Zaretskii  <eliz@@is.elta.co.il>

	* xdisp.c (display_mode_element): When computing charpos, depend
	on multibyteness of elt, not the text in field.

2002-01-14  Andreas Schwab  <schwab@@suse.de>

	* unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS
	if defined, 0 otherwise.
	(MAP_FAILED): Define if not defined and use it to test mmap failure.
	(unexec) [!MAP_ANON]: Use /dev/zero as file to map.

2002-01-14  Pavel Jan,Bm(Bk  <Pavel@@Janik.cz>

	* sound.c (Fplay_sound): Initialize header_size also for :data case.

2002-01-13  Andreas Schwab  <schwab@@suse.de>

	* xterm.c (x_load_font): Never set fonts_changed_p to zero.

2002-01-07  Eli Zaretskii  <eliz@@is.elta.co.il>

	* process.c (send_process): Set src_multibyte to 1 after the call
	top setup_coding_system, not before the call.

2002-01-05  Jason Rumney  <jasonr@@gnu.org>

	* w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor
	if OVERLAPS_P.

2001-12-30  Richard M. Stallman  <rms@@gnu.org>

	* s/sco5.h (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE.

2001-12-30  Eli Zaretskii  <eliz@@is.elta.co.il>

	* s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE.
	(SIGMASKTYPE): Define.

	* syssignal.h (sigunblock): Don't define if already defined.

2001-12-29  Richard M. Stallman  <rms@@gnu.org>

	* s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen.

2001-12-28  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (try_scrolling) <PT below scroll margin>: Add the
	height of the cursor line to the amount to scroll.

2001-12-21  Eli Zaretskii  <eliz@@is.elta.co.il>

	* coding.c (DECODE_COMPOSITION_END): Fix last change.

2001-12-17  Richard M. Stallman  <rms@@gnu.org>

	* coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING (coding)
	instead of only for COMPOSITION_DISABLED.

	* Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h.

2001-12-12  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (move_it_vertically_backward): Change heuristic
	for the case that we didn't move far enough initially.

	* window.c (Frecenter): Simplify computation in the case of window
	system frames and ARG < 0; use window_box_height.

2001-12-09  Eli Zaretskii  <eliz@@is.elta.co.il>

	* s/hpux10.h (random): Undefine.
	(srand48): Don't undefine.

2001-12-09  Andreas Schwab  <schwab@@suse.de>

	* xdisp.c (display_mode_element): Don't read past end of string if
	it ends with '%'.

2001-12-06  Eli Zaretskii  <eliz@@is.elta.co.il>

	* xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the
	scroll bars of the frame before deleting the frame itself.

2001-12-05  Eli Zaretskii  <eliz@@is.elta.co.il>

	* s/sol2-5.h (HAVE_VFORK): Define if undefined.

2001-11-29  Dave Love  <fx@@gnu.org>

	* coding.c (syms_of_coding) <Qchar_coding_system>: Give it an
	extra extra slot.

2001-11-28  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if
	OVERLAPS_P.

2001-11-25  Richard M. Stallman  <rms@@gnu.org>

	* unexelf.c (unexec): Index by n, not nn, when checking for ".sbss".

2001-11-25  Richard M. Stallman  <rms@@gnu.org>

	* callproc.c (Fcall_process): When we make a bigger buffer for bufptr,
	don't lose the data in it.

2001-11-25  Eli Zaretskii  <eliz@@is.elta.co.il>

	* window.c (Fset_window_vscroll): Doc fix.  From Kalle Olavi
	Niemitalo <kon@@iki.fi>.

2001-11-23  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (IT_clear_screen): If the frame's faces are not yet
	realized, use the initial screen colors to clear the screen.

2001-11-19  Richard M. Stallman  <rms@@gnu.org>

	* sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR.

2001-11-18  Jason Rumney  <jasonr@@gnu.org>

	* w32term.c (x_draw_bar_cursor): Get glyph's face.
	(note_mouse_highlight): Fix type of variable `ignore'.

2001-11-17  Andreas Schwab  <schwab@@suse.de>

	* xterm.c (note_mouse_highlight): Fix type of variable `ignore'.

2001-11-17  Jason Rumney  <jasonr@@gnu.org>

	* xterm.c (notice_overwritten_cursor): Take care of end < 0 case.

	* w32fns.c (x_set_internal_border_width): Set frame garbaged
	when X window doesn't exist yet.

	* w32term.c (x_draw_bar_cursor): If the background color of the
	glyph under the cursor equals the frame's cursor color, use
	the glyph's foreground color for drawing the bar cursor.
	(x_after_update_window_line): Clear internal border
	in different circumstances.
	(w32_set_vertical_scroll_bar): Check for width and height > 0.
	(w32_draw_relief_rect): Correct relief by 1 pixel.
	(x_set_glyph_string_background_width): Set
	extends_to_end_of_line_p if the row's fill_line_p is set and
	drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}.
	(x_display_and_set_cursor): If cursor_in_echo_area,
	use NO_CURSOR if cursor_in_non_selected_windows is false.
	(show_mouse_face): Clean up.  Recognize overwritten
	cursor differently.
	(x_draw_glyphs): Remove parameters READ_START and
	REAL_END.  Notice if cursor gets overwritten.
	(notice_overwritten_cursor): Renamed from
	note_overwritten_text_cursor.  Rewritten to take glyph widths
	into account, and to take X positions as parameters.
	(x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p
	around call to x_draw_glyphs.

2001-11-17  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property
	with invalid position.

2001-11-16  Eli Zaretskii  <eliz@@is.elta.co.il>

	* syswait.h (HAVE_SYS_WAIT_H): Undef for ISC 4.1.  Reported by
	Andrew Wiseman <a.wiseman@@btclick.com>.

	* unexec.c (coff.h): Don't include on ISC 4.1.

2001-11-15  Jason Rumney  <jasonr@@gnu.org>

	* w32menu.c (add_menu_item): Make help_echo and radio buttons
	work for most menu items.  From David Ponce
	<david.ponce@@wanadoo.fr>.

2001-11-15  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_draw_bar_cursor): If the background color of the
	glyph under the cursor equals the frame's cursor color, use
	the glyph's foreground color for drawing the bar cursor.

	* dispnew.c (direct_output_forward_char): Fix character/byte
	position comparison.

2001-11-12  Jason Rumney  <jasonr@@gnu.org>

	* w32fns.c (Fx_open_connection): Only execute once.

2001-11-12  Richard M. Stallman  <rms@@gnu.org>

	* xterm.c (XTread_socket): Don't update focus for EnterNotify or
	LeaveNotify events.  Only FocusIn and FocusOut do that now.
	(x_display_and_set_cursor): Do display hollow cursors in active
	minibuffer windows when they are not selected.

2001-11-10  Jason Rumney  <jasonr@@gnu.org>

	* w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName.
	(enum_font_cb2): Ignore fonts starting with @@, unless explicitly
	specified.

	* w32term.c (remember_mouse_glyph): New function.
	(w32_mouse_position): Use it.
	(note_mouse_movement): If the mouse moved off the glyph, remember
	its new position.

	* w32term.h (struct w32_output): Correct spelling of x_compatible.
	(w32_display_info): Add mouse_face_overlay.

	* w32term.c (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
	(fast_find_string_pos): New function.
	(fast_find_position): Return the correct vpos.  Add parameter
	STOP.  In the final row, stop before glyphs having STOP as object.
	Don't consider glyphs that are not from a buffer.
	(expose_window_tree, expose_frame): Don't compute intersections here.
	(expose_window): Do it here instead.
	(expose_window_tree, expose_window, expose_line): Return 1 when
	overwriting mouse-face.
	(expose_window): If W is the window currently being updated, mark
	the frame garbaged.
	(expose_frame): If mouse-face was overwritten, redo it.
	(x_draw_glyph_string): Restore clipping after drawing box.
	Fix a computation of the underline position.
	(w32_get_glyph_string_clip_rect): Minor cleanup.
	(x_fill_stretch_glyph_string): Remove an assertion.
	(x_produce_glyphs): Don't convert multibyte characters
	to unibyte characters in unibyte buffers.
	(cursor_in_mouse_face_p): New function.
	(x_draw_stretch_glyph_string): Use it to choose a different GC
	when drawing a cursor within highlighted text.  Don't draw
	background again if it has already been drawn.
	(x_draw_glyph_string_box): Don't draw a full-width
	box just because the glyph row's full_width_p flag is set.
	(x_draw_glyphs): Fix computation of rightmost x for
	full-width rows.
	(w32_draw_relief_rect): Extend left shadow to the bottom and left;
	change bottom shadow accordingly. Some cleanup.
	(x_update_window_end): Handle overwritten mouse face
	also for tool bar windows.
	(show_mouse_face): Set the glyph row's mouse_face_p flag also when
	DRAW is DRAW_IMAGE_RAISED.
	(clear_mouse_face): Return 1 if text with mouse face was
	actually redrawn.  Make the function static.  Reset
	dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might
	optimize away highlighting if we pass over that same overlay again.
	(note_mouse_highlight): Call mouse_face_overlay_overlaps
	to detect a case where we have to highlight a different region
	despite not having left the currently highlighted region.
	Set mouse_face_overlay in the x_display_info.  Avoid changing the
	mouse pointer shape when show_mouse_face has already done it, or
	there is no need.  Handle mouse-face and help-echo in strings.
	(glyph_rect): New function.
	(w32_mouse_position): Use it to raise the threshold for mouse
	movement event generation.
	(w32_initialize_display_info): Initialize the x_display_info's
	mouse_face_overlay.
	(w32_set_vertical_scroll_bar): Don't clear a zero height
	or width area.
	(w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure
	a widget to zero height.

	* w32fns.c (x_set_foreground_color): Set frame's cursor_pixel.
	(x_set_font): Handle case of x_new_fontset returning the same name
	as before, although there was a change in fontsets.

	* w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]:
	Protect unibyte strings created by replacing their multibyte
	equivalents in menu_items.
	(w32_menu_show): Don't overwrite an item's name with its key
	description in case the description is a multibyte string.
	(single_submenu): Some cleanup.

2001-11-10  Gerd Moellmann  <gerd@@gnu.org>

	* unexelf.c (unexec): Use mmap/munmap to allocate buffers 
	instead of malloc/free.

2001-11-05  Richard M. Stallman  <rms@@gnu.org>

	* m/news-risc.h (BROKEN_PROTOTYPES): Defined.

	* buffer.c (Fkill_buffer): Don't delete auto save file
	if buffer is modified.

2001-11-05  Andreas Schwab  <schwab@@suse.de>

	* sound.c (sound_perror): Save errno from being clobbered.

2001-11-05  Dale Hagglund  <rdh@@yottayotta.com>

	* unexelf.c (unexec): Don't use `mmap'.  Instead, read and write
	the program image directly.

2001-11-04  Richard M. Stallman  <rms@@gnu.org>

	* gmalloc.c: Test BROKEN_PROTOTYPES.

	* xfns.c: Include unistd.h, if it exists.

	* editfns.c: Move the include of ctype.h after unistd.h.

2001-11-03  Richard M. Stallman  <rms@@gnu.org>

	* data.c (Fmake_local_variable): Doc fix.

	* eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix.
	(Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix.

2001-11-02  Stefan Monnier  <monnier@@cs.yale.edu>

	* regex.c (regcomp, regexec): Don't forget the __restrict.

2001-11-01  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_scroll_bar_create): Check for width and height > 0.
	(XTset_vertical_scroll_bar): Likewise.

	* buffer.c (Fset_buffer_major_mode): Use initial-major-mode for
	*scratch*.

	* xfaces.c (Finternal_set_lisp_face_attribute_from_resource):
	Handle :box so that it is possible to specify sexprs.

2001-10-31  Eli Zaretskii  <eliz@@is.elta.co.il>

	* s/hpux11.h: New file.

2001-10-31  Gerd Moellmann  <gerd@@gnu.org>

	* xfaces.c (realize_x_face): If C is not a single-byte character,
	set the face's colors_copied_bitwise_p instead of the defaulted_p
	members which have a different meaning.
	(free_face_colors): Do nothing for a face whose colors have been
	copied bitwise.

	* dispextern.h (struct face) <colors_copied_bitwise_p>: New member.

	* window.c (grow_mini_window): Handle case that the root
	window is already smaller than the nominal mininum height.

2001-10-31  Pavel Jan,Bm(Bk  <Pavel@@Janik.cz>

	* keyboard.c (Freset_this_command_lengths): Doc fix.
	(timer-list): Doc fix.
	(timer-idle-list): Doc fix.
	(disable-point-adjustment): Doc fix.

2001-10-30  Jason Rumney  <jasonr@@gnu.org>

	* w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer.
	(enum_font_cb2): Ignore fonts with vertical orientation.

2001-10-30  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_after_update_window_line): Don't run the code
	clearing in borders for rows whose visible height is 0.

	* xdisp.c (clear_garbaged_frames): Redraw the frame only if its
	resized_p flag is set.  If not set, use the much less flickering
	method previously used.

	* dispnew.c (change_frame_size_1): Set frame's resized_p.

	* frame.h (struct frame) <resized_p>: New member.

	* lread.c (to_multibyte): Ensure read_buffer is at least twice
	as large as the number of bytes to convert.
	
	* lread.c (to_multibyte): New function.
	(read1): Use it.

	* xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel.
	(x_set_glyph_string_background_width): Set
	extends_to_end_of_line_p if the row's fill_line_p is set and
	drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}.

	* xdisp.c (clear_garbaged_frames): Call Fredraw_frame.

2001-10-29  Eli Zaretskii  <eliz@@is.elta.co.il>

	* coding.c (syms_of_coding): Document that locale-coding-system is
	used for decoding input on X.

	* window.c (Fscroll_left, Fscroll_right): Doc fix.

2001-10-29  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_display_and_set_cursor): If cursor_in_echo_area,
	use NO_CURSOR if cursor_in_non_selected_windows is false.

	* xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for
	the slant attribute if FRAME is t.
	
2001-10-29  Eli Zaretskii  <eliz@@is.elta.co.il>

	* emacs.c (Finvocation_directory): Doc fix.
	(USAGE2): Fix typos; from Pavel Janik <Pavel@@Janik.cz>.

2001-10-29  Gerd Moellmann  <gerd@@gnu.org>

	* xfns.c (x_set_internal_border_width): Set frame garbaged
	when X window doesn't exist yet.

	* xterm.c (x_after_update_window_line): Clear internal border
	in different circumstances.
	
	* xterm.c (XTread_socket) <KeyPress>: Don't use
	STRING_CHAR_AND_LENGTH if nchars == nbytes.  From Kenichi Handa
	<handa@@etl.go.jp>.

2001-10-28  Gerd Moellmann  <gerd@@gnu.org>

	* xfns.c (x_build_heuristic_mask): Use x_alloc_image_color.
	
	* xfns.c (x_build_heuristic_mask): Fix a bug not incrementing
	a loop counter.

2001-10-27  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (move_it_vertically_backward): Use 2/3 line_height
	instead of 1/2 line_height in the heuristic for skipping 
	farther backward when target_y was not reached.

	* sound.c (sound_perror): Unblock SIGIO, turn on atimers.
	Display errno only if non-zero.
	(sound_warning): New function.
	(vox_configure): Don't treat failing to set sample rate as error.
	(various places): Improve error messages.

2001-10-26  Eli Zaretskii  <eliz@@is.elta.co.il>

	* dispnew.c (syms_of_display) <visible-bell>: Add a reference to
	ring-bell-function.  Suggested by Alf-Ivar Holm <alfh@@ifi.uio.no>

2001-10-26  Gerd Moellmann  <gerd@@gnu.org>

	* insdel.c (insert_1_both): Do nothing if NCHARS == 0.

	* xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
	Fix clearing in the case of scroll bars on the right.
	
	* xfns.c (XScreenNumberOfScreen): Fix struct to pointer
	comparison.

2001-10-25  Eli Zaretskii  <eliz@@is.elta.co.il>

	* frame.c (Fframe_parameter): Fix last change.

2001-10-25  Gerd Moellmann  <gerd@@gnu.org>

	* frame.c (Fframe_parameter): Fix a bug whereby some
	``artificial'' frame parameters, like `minibuffer' were not
	obtained by calling Fframe_parameters.

	* xterm.c (show_mouse_face): Clean up.  Recognize overwritten
	cursor differently.

	* xdisp.c (move_it_vertically_backward): Compute line height
	differently.  Add heuristic to try to be more compatible to 20.x.

2001-10-24  Gerd Moellmann  <gerd@@gnu.org>

	* xterm.c (x_draw_glyphs): Don't check for cursor overwriting
	in full-width rows.

	* xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
	Fix clearing of area not covered by scroll bar.

	* xdisp.c: Change #ifdef GLYPH_DEBUG to #if.

	* xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos.
	(row_containing_pos): Take additional argument DY.  Treat rows ending
	in middle of char differently.
	(display_line): Handle tabs on window systems differently.

	* xterm.c (fast_find_position): Call row_containing_pos
	with additional argument.

	* dispextern.h (row_containing_pos): Adjust prototype.

	* xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing)
	(inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables.
	(try_window_id, try_window_reusing_current_matrix)
	(try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited.
	(syms_of_xdisp) [GLYPH_DEBUG]:  DEFVAR_BOOL the variables.

2001-10-23  Gerd Moellmann  <gerd@@gnu.org>

	* dispnew.c (sync_window_with_frame_matrix_rows):
	Fix handling of windows which aren't full-width, fix handling
	of marginal areas.

	* lread.c (syms_of_lread)<recursive-load-depth-limit>: Raise to 50.

	* xterm.c (x_draw_glyphs): Remove parameters READ_START and
	REAL_END.  Notice if cursor gets overwritten.
	(notice_overwritten_cursor): Take X positions as parameters.
	(x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p
	around call to x_draw_glyphs.

	* xdisp.c (display_line): For a tab continued to the next line,
	set row's ends_in_middle_of_char_p.

2001-10-23  Andreas Schwab  <schwab@@suse.de>

	* m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override
	LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc".

2001-10-22  Gerd Moellmann  <gerd@@gnu.org>

	* xdisp.c (display_line): Fix computation of continuation lines
	width for TABs.

@


1.1.1.35
log
@import emacs-21.3
@
text
@d1 1
a1 1
2003-03-12  Kim F. Storm  <storm@@cua.dk>
d3 3796
a3798 50
	The following changes consolidates the fringe handling from
	xterm.c, w32term.c, and macterm.c into xdisp.c.
	
	* xdisp.c: Consolidate fringe handling code here.
	(left_bits, right_bits, continued_bits, continuation_bits)
	(ov_bits, zv_bits): Define fringe bitmaps.
	(fringe_bitmaps): New array holding fringe bitmaps.
	(draw_fringe_bitmap): Draw a specific bitmap; call display
	specific drawing routine via rif->draw_fringe_bitmap.
	(draw_row_fringe_bitmaps): Generic replacement for
	x_draw_row_fringe_bitmaps; all callers changed.
	(compute_fringe_widths): Generic replacement for
	x_compute_fringe_widths; all callers changed.

	* dispextern.h (enum fringe_bitmap_type): Define here.
	(struct fringe_bitmap, struct draw_fringe_bitmap_params): New.
	(fringe_bitmaps): Declare extern.
	(struct redisplay_interface): New member draw_fringe_bitmap.
	(draw_row_fringe_bitmaps, compute_fringe_widths): Declare extern.

	* xterm.c: Remove generic fringe code.
	(x_draw_fringe_bitmap): Only perform actual fringe drawing.
	(x_redisplay_interface): Add x_draw_fringe_bitmap member.

	* w32term.c: Remove generic fringe code.
	(w32_draw_fringe_bitmap): Only perform actual fringe drawing.
	(w32_redisplay_interface): Add w32_draw_fringe_bitmap member.
	
	* macterm.c: Remove generic fringe code.
	(x_draw_fringe_bitmap): Only perform actual fringe drawing.
	(x_redisplay_interface): Add x_draw_fringe_bitmap member.

2003-03-09  David Kastrup  <dak@@gnu.org>

	* process.c (read_process_output): We have allocated enough space
	for readmax and carryover, so actually use the alloted space.

2003-03-09  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>

	* keyboard.c (make_lispy_event): Extend mouse_syms if needed for
	toolkit scrollbar click.

	* xterm.c (x_window_to_scroll_bar): Call xg_get_scroll_id_for_window
	for USE_GTK.
	(x_scroll_bar_handle_click): Use this function for toolkit scrollbars
	also.
	(handle_one_xevent): ButtonPress/Release:  If event is for a toolkit
	scrollbar and control is pressed, call x_scroll_bar_handle_click.
	
	* gtkutil.h: Declare xg_get_scroll_id_for_window.
d3800 3
a3802 7
	* gtkutil.c (xg_get_scroll_id_for_window): New function.
	(xg_tool_bar_item_expose_callback): New function.
	(xg_tool_bar_expose_callback): Call update_frame_tool_bar.
	(xg_create_tool_bar): Connect xg_tool_bar_expose_callback to expose
	on the tool bar widget.
	(update_frame_tool_bar): Connect xg_tool_bar_item_expose_callback
	to expose on the tool bar item widgets.
d3804 5
a3808 1
2003-03-08  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d3810 2
a3811 3
	* gtkutil.c (update_frame_tool_bar): Compare pixmap ID instead of
	struct image* when desciding to update (struct image* may have been
	deleted from the image cache).
d3813 1
a3813 2
	* xterm.c (handle_one_xevent): Pass ReparentNotify to Xt even if
	the event isn't for a frame (i.e. for dialogs).
d3815 2
a3816 1
2003-03-07  Kenichi Handa  <handa@@etlken2>
d3818 1
a3818 7
	* coding.c (CODING_ADD_COMPOSITION_COMPONENT): If the number of
	composition components reaches the limit, terminate composing.
	(COMPOSITION_OK): New macro.
	(detect_coding_iso2022): Use it if an escapse sequence for
	composition is found.
	(coding_restore_composition): Adjust the number of composition
	components if it is not sane.
d3820 2
a3821 1
2003-03-06  Juanma Barranquero  <lektu@@terra.es>
d3823 1
a3823 2
	* w32term.h (struct w32_display_info): Add xrdb member to support
	passing resources via -xrm on Windows.
d3825 2
a3826 3
	* w32term.c (w32_make_rdb): New function.
	(w32_term_init): Use it to initialize xrdb member of w32_display_info
	struct.  Delete leftover code.
d3828 1
a3828 2
	* w32fns.c (Fx_get_resource, x_get_resource_string): Pass xrdb to check
	for resources passed on the command line.
d3830 1
a3830 3
	* w32reg.c (w32_get_rdb_resource): New function.
	(x_get_string_resource): Use it, so resources passed with -xrm
	supercede the ones in the registry.
d3832 1
a3832 1
2003-03-04  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d3834 3
a3836 2
	* xterm.c (x_detect_focus_change): Call x_any_window_to_frame
	instead of x_top_window_to_frame.
d3838 9
a3846 1
2003-03-03  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d3848 2
a3849 2
	* xsmfns.c (smc_save_yourself_CB): Add --no-splash to options
	when restarting Emacs.
d3851 2
a3852 1
2003-03-03  Richard M. Stallman  <rms@@gnu.org>
d3854 1
a3854 4
	* buffer.c (Fkill_buffer): Use Frun_hook_with_args_until_failure
	to run kill-buffer-query-functions.
	(Qkill_buffer_query_functions): New var.
	(syms_of_buffer): Init and staticpro it.
d3856 1
a3856 1
2003-03-02  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d3858 3
a3860 1
	* xterm.h (XSync): Define as gdk_window_process_all_updates for GTK.
d3862 1
a3862 1
2003-02-25  Kim F. Storm  <storm@@cua.dk>
d3864 2
a3865 3
	* xdisp.c (redisplay_window): Fix infinite loop in redisplay.
	If centering point failed to make whole line visible and vscroll
	is non-zero, disable vscroll and try centering point again.
d3867 1
a3867 1
	* lread.c (read1): Accept `single space' syntax like (? x).
d3869 2
a3870 1
2003-02-25  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d3872 3
a3874 2
	* keyboard.c (cancel_hourglass_unwind): Surround with
	#ifdef HAVE_X_WINDOWS
d3876 1
a3876 1
2003-02-25  Kenichi Handa  <handa@@m17n.org>
d3878 1
a3878 2
	* buffer.c (Fset_buffer_multibyte): Pay attention to the buffer
	process only when "subprocesses" is defined.
d3880 2
a3881 1
2003-02-24  Stefan Monnier  <monnier@@cs.yale.edu>
d3883 1
a3883 1
	* syntax.c (back_comment): Only check nestedness of 2nd char if needed.
d3885 2
a3886 1
2003-02-24  Juanma Barranquero  <lektu@@terra.es>
d3888 1
a3888 2
	* callint.c (fix_command): Declare as static void and move before
	Fcall_interactively.
d3890 3
a3892 2
	* xdisp.c (Qwhen): Declare external; it's now defined in callint.c.
	(syms_of_xdisp): Don't initialize Qwhen.
d3894 1
a3894 1
2003-02-23  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d3896 2
a3897 2
	* keyboard.c (cancel_hourglass_unwind): New function.
	(command_loop_1): Cancel hourglass with unwind-protect.
d3899 1
a3899 1
2003-02-23  Richard M. Stallman  <rms@@gnu.org>
d3901 1
a3901 5
	* callint.c (fix_command): New subroutine, from Fcall_interactively.
	Detect (when ... (region-beginning)) etc.
	(Fcall_interactively): Call fix_command.
	(Qif, Qwhen): New variables.
	(syms_of_callint): Init and staticpro them.
d3903 2
a3904 1
	* regex.c (print_partial_compiled_pattern): Output to stderr.
d3906 4
a3909 1
2003-02-23  Kai Gro,A_(Bjohann  <kai.grossjohann@@uni-duisburg.de>
d3911 1
a3911 3
	* dired.c (directory_files_internal): Don't expand directory.
	(Fdirectory_files, Fdirectory_files_and_attributes): Do it here
	instead.  From Lars Hansen <larsh@@math.ku.dk>.
d3913 1
a3913 1
2003-02-22  Stefan Monnier  <monnier@@cs.yale.edu>
d3915 1
a3915 4
	* fns.c (string_to_multibyte): Remove unused var i.
	(Flanginfo): Fix int/Lisp_Object mixup.
	(void_call2): New fun.
	(Fmap_char_table): Use it in place of call2.
d3917 1
a3917 1
	* xfaces.c (x_face_list_fonts): Fix int/Lisp_Object mixup.
d3919 1
a3919 1
	* macros.c (Fstart_kbd_macro): Remove redundant assignment.
d3921 1
a3921 1
	* keymap.c (copy_keymap_1): Make it static.
d3923 1
a3923 1
	* alloc.c (Fgarbage_collect): Don't use XSETFLOAT.
d3925 2
a3926 1
2003-02-22  David Ponce  <david@@dponce.com>
d3928 2
a3929 1
	* lread.c (Fload): Don't check STRING_MULTIBYTE.
d3931 7
a3937 1
2003-02-21  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d3939 1
a3939 1
	* process.h: Removed subtty field from struct Lisp_Process.
d3941 3
a3943 5
	* process.c (create_process): Remove setting of subtty.
	(emacs_get_tty_pgrp): New function.
	(Fprocess_running_child_p, process_send_signal):
	Call emacs_get_tty_pgrp instead of ioctl.
	(process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails.
d3945 3
a3947 1
2003-02-21  Kai Gro,A_(Bjohann  <kai.grossjohann@@uni-duisburg.de>
d3949 1
a3949 1
	* keymap.c (Fdefine_key): Doc fix.
d3951 1
a3951 1
2003-02-21  Juanma Barranquero  <lektu@@terra.es>
d3953 1
a3953 1
	Port of patch for RC by Klaus Zeitler <kzeitler@@lucent.com>.
d3955 1
a3955 2
	* s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not
	POLLING_PROBLEM_IN_SELECT.
d3957 1
a3957 2
	* s/hpux11.h: Include hpux10-20.h instead of hpux10.h.
	Delete #undef of POLLING_PROBLEM_IN_SELECT.
d3959 1
a3959 1
	* s/hpux10-20.h: New file.
d3961 3
a3963 2
	* process.c (wait_reading_process_input):
	Use POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT.
d3965 1
a3965 1
2003-02-20  Kenichi Handa  <handa@@m17n.org>
d3967 1
a3967 8
	* fontset.c (check_fontset_name): If NAME is nil, return the
	default fontset.
	(override_font_info): New function.
	(Fset_fontset_font): Document that NAME nil means the default fontset.
	(Ffontset_info): If FONTSET is not the default fontset, merge
	FONTSET onto the copy of the default fontset, and work on that
	copy.  Document that NAME nil means the default fontset.
	(Ffontset_font): Document that NAME nil means the default fontset.
d3969 1
a3969 2
	* process.c (setup_process_coding_systems): If the process's
	in/out descriptor is -1, do nothing.
d3971 1
a3971 1
2003-02-19  Andreas Schwab  <schwab@@suse.de>
d3973 2
a3974 2
	* lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte):
	Add prototypes.
d3976 6
a3981 1
2003-02-19  Kenichi Handa  <handa@@m17n.org>
d3983 4
a3986 2
	* xfaces.c (try_alternative_families): Try all scalable fonts if
	Vscalable_fonts_allowed is not Qt.
d3988 3
a3990 1
2003-02-19  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d3992 2
a3993 1
	* xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found.
d3995 12
a4006 1
2003-02-18  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4008 1
a4008 2
	* xterm.c (x_list_fonts): If maxnames is less than 0, get all font
	names.
d4010 3
a4012 5
	* xfaces.c (x_face_list_fonts): Allocate struct font_name here.
	(sorted_font_list): Move allocation of struct font_name to
	x_face_list_fonts.
	(Fx_font_family_list): Set font-list-limit to -1 to get all font names.
	(Fx_list_fonts): Set maxnames to -1 to get all font names.
d4014 1
a4014 1
2003-02-18  Kim F. Storm  <storm@@cua.dk>
d4016 3
a4018 2
	* lread.c (read1): Fix last change.
	"`" is not always special.  Allow "?" after a character constant.
d4020 1
a4020 1
2003-02-18  Andrew Choi  <akochoi@@shaw.ca>
d4022 2
a4023 1
	* unexmacosx.c (copy_data_segment): Also copy __cfstring section.
d4025 2
a4026 1
2003-02-18  Andreas Schwab  <schwab@@suse.de>
d4028 1
a4028 2
	* window.c (window_scroll_pixel_based): Move outside a
	multi-glyph character before setting new window start.
d4030 1
a4030 2
	* xdisp.c (in_display_vector_p): New function.
	* dispextern.h (in_display_vector_p): Declare.
d4032 2
a4033 1
2003-02-18  Kim F. Storm  <storm@@cua.dk>
d4035 2
a4036 6
	* lread.c (read1): Fix and relax read syntax.
	Recognize "[", ";", "#", and "?" after a dotted-pair dot.
	Only recognize "," after dotted-pair dot if inside backquote.
	Never include "`" or "," (inside backquote) in a symbol.
	Allow dotted-pair dot after a character constant.
	Allow "`" and "," (inside backquote) after a character constant.
d4038 1
a4038 1
2003-02-17  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4040 2
a4041 5
	* gtkutil.c (xg_tool_bar_expose_callback): New function.
	(xg_create_tool_bar): Force style of tool bar to be horizontal with
	icons.	Set name of tool bar to emacs-toolbar.
	(update_frame_tool_bar): Connect expose event to
	xg_tool_bar_expose_callback.
d4043 1
a4043 1
2003-02-17  Richard M. Stallman  <rms@@gnu.org>
d4045 3
a4047 6
	* keyboard.c (this_command_key_count_reset): New variable.
	Initiatize to 0 where this_command_key_count is set.
	(read_char): Save and restore this_command_key_count_reset
	around input method code.
	(read_char): If this_command_key_count_reset, echo reread commands.
	(Freset_this_command_lengths): Set this_command_key_count_reset to 1.
d4049 2
a4050 1
2003-02-17  Kenichi Handa  <handa@@m17n.org>
d4052 1
a4052 1
	* fns.c (string_to_multibyte): Always return a multibyte string.
d4054 5
a4058 1
2003-02-16  Jason Rumney  <jasonr@@gnu.org>
d4060 1
a4060 2
	* w32fns.c (w32_list_bdf_fonts, w32_list_fonts):
	Negative max_fonts parameter means list all.
d4062 3
a4064 1
2003-02-14  Dave Love  <fx@@gnu.org>
d4066 1
a4066 1
	* fns.c (Flanginfo): Doc fix.
d4068 3
a4070 1
2003-02-13  Kim F. Storm  <storm@@cua.dk>
d4072 11
a4082 4
	* lread.c (read_escape): Interpret \s as a SPACE character, except
	for \s-X in a character constant which still is the super modifier.
	(read1): Signal an `invalid read syntax' error if a character
	constant is immediately followed by a digit or symbol character.
d4084 7
a4090 2
	* search.c (Fmatch_data): Doc fix.  Explicitly state that
	match-data is undefined if last search failed.
d4092 3
a4094 2
	* keymap.c (Fcommand_remapping): Renamed from Fremap_command.
	All uses changed.
d4096 3
a4098 1
2003-02-12  Juanma Barranquero  <lektu@@terra.es>
d4100 1
a4100 1
	* eval.c (Fdefmacro): Fix typo.
d4102 2
a4103 1
2003-02-12  Kim F. Storm  <storm@@cua.dk>
d4105 4
a4108 3
	* macros.c (Fstart_kbd_macro): If appending, and last keyboard
	macro is a string, convert meta modifiers in string when copying
	the string into a vector.
d4110 12
a4121 1
2003-02-11  Kim F. Storm  <storm@@cua.dk>
d4123 3
a4125 1
	* keymap.c (Fremap_command): Return nil if arg is not a symbol.
d4127 1
a4127 1
2003-02-11  Kenichi Handa  <handa@@m17n.org>
d4129 4
a4132 1
	* Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el.
d4134 1
a4134 1
2003-02-10  Kim F. Storm  <storm@@cua.dk>
d4136 2
a4137 2
	* process.c: Doc fixes.
	(syms_of_process): Add `:' prefix to QCfilter_multibyte.
d4139 2
a4140 1
2003-02-10  Kenichi Handa  <handa@@m17n.org>
d4142 2
a4143 1
	* fns.c (Fstring_to_multibyte): Fix typo in the docstring.
d4145 1
a4145 23
	* process.c (QCfilter_multibyte): New variable.
	(setup_process_coding_systems): New function.
	(Fset_process_buffer, Fset_process_filter):
	Call setup_process_coding_systems.
	(Fstart_process): Initialize the member `filter_multibyte' of
	struct Lisp_Process.
	(create_process): Call setup_process_coding_systems.
	(Fmake_network_process): New keyward `:filter-multibyte'.
	Initialize the member `filter_multibyte' of struct Lisp_Process.
	Call setup_process_coding_systems.
	(server_accept_connection): Call setup_process_coding_systems.
	(read_process_output): If the process has a filter, decide the
	multibyteness of a string to given to the filter by
	`filter_multibyte' member of the process.  If the process doesn't
	have a filter and the result of conversion is unibyte, use
	Fstring_to_multibyte (not Fstring_make_multibyte) to get the
	multibyte form.
	(Fset_process_coding_system): Call setup_process_coding_systems.
	(Fset_process_filter_multibyte): New function.
	(Fprocess_filter_multibyte_p): New function.
	(syms_of_process): Intern and staticpro QCfilter_multibyte.
	Defsubr Sset_process_filter_multibyte and
	Sprocess_filter_multibyte_p.
d4147 1
a4147 1
	* process.h (struct Lisp_Process): New member filter_multibyte.
d4149 2
a4150 1
	* lisp.h (setup_process_coding_systems): Add prototype.
d4152 1
a4152 2
	* buffer.c (Fset_buffer_multibyte): If the current buffer has a
	process, update coding systems for the process.
d4154 1
a4154 1
2003-02-09  Kenichi Handa  <handa@@m17n.org>
d4156 1
a4156 3
	* fns.c (string_to_multibyte): New function.
	(Fstring_to_multibyte): New function.
	(syms_of_fns): Defsubr it.
d4158 4
a4161 1
2003-02-08  Andreas Schwab  <schwab@@suse.de>
d4163 3
a4165 2
	* Makefile.in (EXEEXT): Define to @@EXEEXT@@ and use this variable
	instead of the substitution.
d4167 3
a4169 1
2003-02-08  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4171 1
a4171 1
	* xterm.c (x_make_frame_visible): Call gtk_window_deiconify.
d4173 2
a4174 2
	* xmenu.c (menu_position_func): Adjust menu popup position so that
	the menu is fully visible.
d4176 3
a4178 1
2003-02-07  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4180 5
a4184 3
	* xterm.c (x_text_icon, x_raise_frame, x_lower_frame)
	(x_make_frame_invisible, x_wm_set_icon_position):
	Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif.
d4186 1
a4186 1
	* xfns.c (x_set_name, x_set_title): Ditto.
d4188 2
a4189 1
2003-02-04  Richard M. Stallman  <rms@@gnu.org>
d4191 1
a4191 9
	* keyboard.c (echo_now): Update before_command_echo_length.
	(Freset_this_command_lengths): Reset this_command_key_count etc.
	immediately rather than arranging to do it later.
	(before_command_key_count_1, before_command_echo_length_1)
	(before_command_restore_flag): Vars deleted.
	(add_command_key): Don't handle before_command_restore_flag.
	(read_char, record_menu_key): Don't update before_command_key_count or
	before_command_echo_length.
	(read_char): Don't handle before_command_restore_flag.
d4193 1
a4193 2
	* keyboard.c (command_loop_1): Don't call adjust_point_for_property
	in direct-output clauses if it wouldn't be called in the ordinary case.
d4195 1
a4195 1
2003-02-04  Kim F. Storm  <storm@@cua.dk>
d4197 2
a4198 1
	* keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix.
d4200 1
a4200 1
2003-02-02  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4202 3
a4204 4
	* gtkutil.c (remove_from_container): Copying list is not needed.
	(xg_update_menubar, xg_update_menu_item, xg_update_submenu)
	(xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free
	on list returned from gtk_container_get_children to avoid memory leak.
d4206 1
a4206 1
2003-02-01  Jason Rumney  <jasonr@@gnu.org>
d4208 11
a4218 7
	* w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for
	local malloc.
	[HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel
	definitions in xpm.h.
	(init_xpm_functions): New function.
	(xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm.
	(init_external_image_libraries): Try to load libXpm.dll.
d4220 1
a4220 2
	* fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting
	timestamp.
d4222 4
a4225 1
2003-01-31  Dave Love  <fx@@gnu.org>
d4227 2
a4228 2
	* syntax.c (Fskip_chars_forward)
	(open-paren-in-column-0-is-defun-start): Doc fix.
d4230 2
a4231 1
2003-01-31  Joe Buehler  <jhpb@@draco.hekimian.com>
d4233 3
a4235 2
	* fileio.c: Support // at start of name for Cygwin (just added proper
	preprocessor tests).
d4237 3
a4239 1
	* keyboard.c: Port to Cygwin (just added proper preprocessor tests).
d4241 12
a4252 1
	* Makefile.in: Use @@EXEEXT@@ for Cygwin.
d4254 1
a4254 1
	* mem-limits.h: Added ifdef to define BSD4_2 for Cygwin.
d4256 3
a4258 1
	* s/cygwin.h: Added for Cygwin port.
d4260 3
a4262 1
2003-01-31  Juanma Barranquero  <lektu@@terra.es>
d4264 4
a4267 8
	* w32fns.c (DrawText): Kludge to avoid a redefinition on Windows
	when including gif_lib.h.
	(init_gif_functions, init_tiff_functions): New functions.
	(gif_load, tiff_load): Sync with xfns.c version. Adjust colors for
	Windows. Disable color table lookups. Call library functions
	through pointers determined at runtime.
	(init_external_image_libraries): Try to load libungif.dll and
	libtiff.dll.
d4269 1
a4269 1
2003-01-31  Kenichi Handa  <handa@@m17n.org>
d4271 1
a4271 2
	* xdisp.c (SKIP_GLYPHS): New macro.
	(set_cursor_from_row): Skip all glyphs that comes from overlay string.
d4273 1
a4273 1
2003-01-30  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4275 1
a4275 1
	* gtkutil.c (free_frame_tool_bar): Remove debug printf.
d4277 4
a4280 1
2003-01-30  Dave Love  <fx@@gnu.org>
d4282 1
a4282 3
	* alloc.c (Vgc_elapsed, gcs_done): New variables.
	(Fgarbage_collect): Use them.
	(init_alloc, syms_of_alloc): Set them up.
d4284 4
a4287 1
2003-01-30  Juanma Barranquero  <lektu@@terra.es>
d4289 1
a4289 1
	* w32fns.c (init_external_image_libraries): Add missing operator.
d4291 3
a4293 1
2003-01-29  Jason Rumney  <jasonr@@gnu.org>
d4295 5
a4299 2
	* w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as
	an alternative name for jpeg.dll.
d4301 1
a4301 1
2003-01-29  Kenichi Handa  <handa@@m17n.org>
d4303 1
a4303 2
	* xdisp.c (set_cursor_from_row): Pay attention to string display
	properties.
d4305 1
a4305 1
2003-01-28  Benjamin Riefenstahl  <Benjamin.Riefenstahl@@epost.de>
d4307 3
a4309 4
	* macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>,
	<escape>.
	(keycode_to_xkeysym_table): Reformat and add more comments.
	(XTread_socket): Drop special case for backspace.
d4311 1
a4311 1
2003-01-28  Andrew Choi  <akochoi@@shaw.ca>
d4313 1
a4313 2
	* macfns.c (x_to_mac_color): Correct the order for parsing the RGB
	values in old-style RGB specs.
d4315 2
a4316 1
2003-01-27  Juanma Barranquero  <lektu@@terra.es>
d4318 1
a4318 2
	* w32fns.c (init_external_image_libraries): Try alternate names for the
	jpeg dll.
d4320 3
a4322 1
2003-01-27  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4324 1
a4324 3
	* gtkutil.c (create_dialog, xg_separator_p)
	(xg_item_label_same_p, xg_update_menu_item): Check for NULL string
	before calling strcmp or strlen.
d4326 1
a4326 1
2003-01-26  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4328 2
a4329 2
	* gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display
	and handle image load failure.
d4331 1
a4331 1
2003-01-26  Jason Rumney  <jasonr@@gnu.org>
d4333 3
a4335 6
	* w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper):
	New functions.
	(jpeg_load): Sync with xfns.c version. Adjust colors for Windows.
	Disable color table lookups. Call jpeg library functions
	through pointers determined at runtime.
	(init_external_image_libraries): Try to load jpeg.dll.
d4337 2
a4338 1
2003-01-25  Richard M. Stallman  <rms@@gnu.org>
d4340 1
a4340 1
	* lisp.h: Declare format2 instead of format1.
d4342 2
a4343 2
	* fileio.c (barf_or_query_if_file_exists):
	Call format2 instead of format1.
d4345 3
a4347 2
	* editfns.c (format2): New function, replaces format1
	but takes exactly two Lisp Objects as format args.
d4349 1
a4349 1
	* buffer.c (Fkill_buffer): Call format2 instead of format1.
d4351 1
a4351 1
2003-01-25  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4353 2
a4354 1
	* xterm.h: Change to return value of x_dispatch_event to int.
d4356 1
a4356 4
	* xterm.c (x_filter_event): New function.
	(event_handler_gdk, XTread_socket): Call x_filter_event.
	(x_dispatch_event): Change to return value of finish.
	(event_handler_gdk): Use return value from x_dispatch_event.
d4358 2
a4359 2
	* xfns.c (x_window): Call create_frame_xic for GTK version to
	initialize input methods.
d4361 3
a4363 1
	* gtkutil.h: Add (void) prototypes.
d4365 1
a4365 2
	* gtkutil.c (create_menus): Remove code that puts the help menu to
	the right.
d4367 1
a4367 1
2003-01-25  Jason Rumney  <jasonr@@gnu.org>
d4369 1
a4369 11
	* w32fns.c (XPutPixel): Handle monochrome images; used for masks.
	[HAVE_PNG]: Sync with xfns.c version.
	(png_load): Adjust colors for Windows. Use Windows
	bitmaps. Disable color table lookups.
	(DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros.
	(init_png_functions): New function.
	(png_read_from_memory, png_load): Call png library functions
	through pointers determined at runtime.
	(QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare.
	(init_external_image_libraries): New function.
	(init_xfns): Call it.
d4371 5
a4375 1
2003-01-24  Andreas Schwab  <schwab@@suse.de>
d4377 1
a4377 1
	* minibuf.c (Fminibuffer_message): Verify type of parameter.
d4379 2
a4380 1
2003-01-24  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4382 9
a4390 2
	* gtkutil.c (xg_initialize): Initialize id_to_widget here instead
	of static initializer.
d4392 1
a4392 1
2003-01-24  Dave Love  <fx@@gnu.org>
d4394 1
a4394 2
	* s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more
	architectures.
d4396 3
a4398 2
	* alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]:
	Use __alignof__.
d4400 2
a4401 1
2003-01-24  Kenichi Handa  <handa@@m17n.org>
d4403 1
a4403 4
	* keyboard.c (adjust_point_for_property): New second arg MODIFIED.
	It it is nonzero, don't pretend that an invisible area doesn't exist.
	(command_loop_1): Call adjust_point_for_property with proper
	second arg.
d4405 2
a4406 1
2003-01-22  Jason Rumney  <jasonr@@gnu.org>
d4408 5
a4412 1
	Sync changes with xterm.c and xfns.c.
d4414 1
a4414 2
	* w32term.c (x_draw_glyph_string_foreground)
	(x_draw_composite_glyph_string_foreground): Implement overstriking.
d4416 1
a4416 5
	* w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current
	phys_cursor's hpos is overwritten.  This is still not completely
	correct, as it doesn't really make sense to use hpos at all to
	get the cursor glyph (as that is relative to the width of the
	characters on the line, which may have changed during the update).
d4418 1
a4418 3
	* w32term.c (notice_overwritten_cursor): Handle the special case
	of the cursor being in the first blank non-text line at the
	end of a window.
d4420 1
a4420 3
	* w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor)
	(x_draw_phys_cursor_glyph): Set phys_cursor_width here.
	Compute from the x position returned by x_draw_glyphs.
d4422 1
a4422 5
	(x_display_and_set_cursor): Don't set phys_cursor_width here,
	except for NO_CURSOR and system caret, to make phys_cursor_width
	contain what its name suggests.
	(notice_overwritten_cursor): Consider the cursor image erased if
	the output area intersects the cursor image in y-direction.
d4424 1
a4424 2
	* w32term.c (note_mode_line_or_margin_highlight): Rename from
	note_mode_line_highlight and extend.
d4426 2
a4427 3
	* w32term.c (last_window): New variable.
	(w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs.
	(note_mouse_movement): Remove reimplemented code in #if 0.
d4429 3
a4431 2
	* w32fns.c (x_set_cursor_type): Set cursor_type_changed,
	not update_mode_lines, and always set it to 1.
d4433 1
a4433 1
2003-01-21  Jason Rumney  <jasonr@@gnu.org>
d4435 1
a4435 1
	* w32fns.c (IDC_HAND): Define it if system headers don't.
d4437 1
a4437 1
2003-01-21  KOBAYASHI Yasuhiro  <kobayays@@otsukakj.co.jp>
d4439 1
a4439 2
	* w32term.h (struct w32_output): New member hand_cursor.
	(WM_EMACS_SETCURSOR): New message definition.
d4441 1
a4441 9
	* w32term.c (note_mode_line_highlight): Delete #if 0 to enable
	function w32_define_cursor.
	(note_mouse_highlight): Initialize, setup cursor accoding to mouse
	position, change member name output_data.x to output_data.w32 and
	add function w32_define_cursor.
	(show_mouse_face): Delete #if 0 to enable function w32_define_cursor
	and change member name output_data.x to output_data.w32.
	(w32_initialize_display_info):
	Setup dpyinfo->vertical_scroll_bar_cursor.
d4443 1
a4443 4
	* w32fns.c (Vx_hand_shape): New variable.
	(w32_wnd_proc): Add message entries for WM_SETCURSOR and
	WM_EMACS_SETCURSOR.
	(x-create-frame): Setup Cursor types.
d4445 1
a4445 1
2003-01-21  David Ponce  <david@@dponce.com>
d4447 1
a4447 6
	* w32term.c (w32_encode_char): For DIM=1 charset, set
	ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c
	x_encode_char change by Kenichi Handa <handa@@m17n.org> on
	2002-09-30.)
	(w32_draw_relief_rect): Declare all args.
	(w32_define_cursor): New.
d4449 1
a4449 3
	* w32fns.c (w32_load_cursor): New function.
	(w32_init_class): Use it.
	(x_put_x_image): Declare all args.
d4451 1
a4451 1
2003-01-21  Richard Dawe  <rich@@phekda.freeserve.co.uk>  (tiny change)
d4453 1
a4453 1
	* Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG.
d4455 2
a4456 1
2003-01-21  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4458 2
a4459 1
	* gtkutil.c: Must include stdio.h before termhooks.h
d4461 1
a4461 1
2003-01-21  Dave Love  <fx@@gnu.org>
d4463 2
a4464 5
	* alloc.c (Fgc_status): Print zombie list.
	(mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]:
	Fix assignment of zombies.
	(Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]:
	Don't take car of non-cons.
d4466 1
a4466 1
	* s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
d4468 1
a4468 1
	* s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
d4470 1
a4470 1
2003-01-20  David Ponce  <david@@dponce.com>
d4472 2
a4473 1
	* w32menu.c (digest_single_submenu): Declare all args.
d4475 1
a4475 2
	Sync with 2002-12-23  Richard M. Stallman  <rms@@gnu.org>
	changes in xmenu.c:
d4477 4
a4480 4
	(parse_single_submenu): Use individual keymap's prompt
	string as pane name, if there is one.
	(set_frame_menubar): Save menu_items_n_panes from each call to
	parse_single_submenu and use it when calling digest_single_submenu.
d4482 2
a4483 1
2003-01-20  Steven Tamm  <steventamm@@mac.com>
d4485 1
a4485 2
	* macterm.c (XTread_socket): Checks for valid, visible window
	before sending a scroll-wheel event.
d4487 2
a4488 1
2003-01-20  Richard M. Stallman  <rms@@gnu.org>
d4490 4
a4493 2
	* xdisp.c (redisplay_window): If mini window's buffer is not
	a minibuffer, then redisplay it like other windows.
d4495 4
a4498 1
2003-01-20  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4500 1
a4500 2
	* gtkutil.c (xg_create_frame_widgets): Check if there is an
	external tool bar before setting tool bar height.
d4502 3
a4504 1
2003-01-19  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4506 1
a4506 2
	* xterm.c (handle_one_xevent): Surround popup_activated
	with #ifdef:s for non-toolkit version.
d4508 3
a4510 4
	* Makefile.in (XOBJ): Add gtkutil.o if USE_GTK
	(gtkutil.o): New file.
	(TOOLKIT_DEFINES): Set to -DUSE_GTK if HAVE_GTK.
	(LIBW): Set to @@GTK_LIBS@@ if USE_GTK.
d4512 1
a4512 1
	* gtkutil.c: New file for GTK version.
d4514 3
a4516 1
	* gtkutil.h: New file for GTK version.
d4518 2
a4519 7
	* xterm.h: Add xt_or_gtk_widget.
	Include gtk files for USE_GTK.
	(struct x_output): Add toolbar_height.
	(struct x_output): Add GTK widgets and Gdk size_hints.
	(GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET)
	(FRAME_OUTER_WINDOW): New macros for USE_GTK.
	(FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation.
d4521 2
a4522 27
	* xterm.c: Include gtkutil.h for USE_GTK.
	Declare extern void free_frame_menubar for USE_GTK.
	(note_mouse_highlight): Check popup_activated for USE_GTK.
	(xt_action_hook): Don't compile if USE_GTK.
	(x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK.
	(xg_scroll_callback): New function.
	(x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK.
	(x_set_toolkit_scroll_bar_thumb): Call xg_set_toolkit_scroll_bar_thumb
	for USE_GTK.
	(x_scroll_bar_create): Call xg_update_scrollbar_pos and
	xg_show_scroll_bar for USE_GTK.
	(x_scroll_bar_remove): Call xg_remove_scroll_bar for USE_GTK.
	(XTset_vertical_scroll_bar): Call xg_update_scrollbar_pos for USE_GTK.
	(event_handler_gdk): New function for USE_GTK.
	(handle_one_xevent): Call xg_resize_widgets for USE_GTK.
	(handle_one_xevent): Make sure widget is mapped before
	calling x_real_positions for USE_GTK.
	(XTread_socket): Add GTK event loop for USE_GTK.
	(x_set_window_size): Call xg_frame_set_char_size for USE_GTK.
	(x_make_frame_visible): Call gtk_widget_show_all for USE_GTK.
	(x_make_frame_invisible): Call gtk_widget_hide for USE_GTK.
	(x_iconify_frame): Add code for USE_GTK.
	(x_free_frame_resources): Call gtk_widget_destroy for USE_GTK.
	(x_wm_set_size_hint): Only compile if not USE_GTK.  GTK version
	is in gtkutil.c.
	(x_term_init): Add initialization for GTK.
	(syms_of_xterm): Set Vx_toolkit_scroll_bars for USE_GTK.
d4524 1
a4524 21
	* xmenu.c: Include gtkutil.h for USE_GTK.
	(Fx_popup_menu): Use current position if x and y is NIL.
	(single_menu_item, single_menu_item, Fx_popup_dialog):
	Check for USE_GTK.
	(popup_widget_loop): New function for USE_GTK.
	(x_activate_menubar): Add code for USE_GTK.
	(popup_activate_callback, popup_deactivate_callback)
	(menu_highlight_callback, menubar_selection_callback):
	Add USE_GTK versions.
	(update_frame_menubar): Call xg_update_frame_menubar for USE_GTK.
	(set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK.
	(free_frame_menubar): Only compile if not USE_GTK.  GTK version
	is in gtkutil.c.
	(popup_selection_callback): New version for USE_GTK.
	(create_and_show_popup_menu): New fuction, one USE_GTK version and
	one USE_X_TOOLKIT version.
	(xmenu_show): Call create_and_show_popup_menu.
	(dialog_selection_callback): New version for USE_GTK.
	(create_and_show_dialog): New fuction, one USE_GTK version and
	one USE_X_TOOLKIT version.
	(xdialog_show): Call create_and_show_dialog.
d4526 2
a4527 11
	* xfns.c: Include gtkutil for USE_GTK.
	(x_window_to_frame, x_any_window_to_frame)
	(x_non_menubar_window_to_frame, x_menubar_window_to_frame)
	(x_top_window_to_frame): Add code for USE_GTK.
	(x_set_background_color): Call xg_set_background_color for GTK.
	(x_set_menu_bar_lines): Check for USE_GTK.
	(x_set_tool_bar_lines): Call update_frame_tool_bar for USE_GTK.
	(x_set_name, x_set_title): Call gtk_window_set_title for USE_GTK.
	(x_window): Call xg_create_frame_widgets for USE_GTK.
	(Fx_create_frame): Check for USE_GTK
	(Fx_file_dialog): New implementation for USE_GTK.
d4529 1
a4529 8
	* xdisp.c: Add check for USE_GTK for extern void set_frame_menubar.
	(update_menu_bar): Add check for USE_GTK.
	(update_tool_bar): Add check for USE_GTK and external tool bar.
	(redisplay_tool_bar): Add check for USE_GTK and external tool bar.
	(redisplay_internal): Add check for USE_GTK and popup_activated.
	(redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR.
	(redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR.
	(display_menu_bar): Add check for USE_GTK
d4531 2
a4532 1
	* lisp.h: Declare Vx_resource_name extern.
d4534 1
a4534 3
	* keyboard.c (kbd_buffer_get_event):  Check MENU_BAR_ACTIVATE_EVENT
	for USE_GTK.
	(make_lispy_event): Check MENU_BAR_EVENT for USE_GTK.
d4536 1
a4536 3
	* frame.h (struct frame): Add external_tool_bar.  Check for USE_GTK.
	(FRAME_EXTERNAL_TOOL_BAR): New macro.
	(FRAME_EXTERNAL_MENU_BAR): Check for USE_GTK.
d4538 6
a4543 1
	* fileio.c (Fread_file_name): Add check for USE_GTK.
d4545 1
a4545 2
	* dispnew.c (adjust_frame_glyphs_for_window_redisplay):
	Add check for USE_GTK.
d4547 1
a4547 1
	* config.in: Added HAVE_GTK
d4549 3
a4551 1
	* alloc.c (Fgarbage_collect): Call xg_mark_data for GTK.
d4553 1
a4553 1
2003-01-18  Stefan Monnier  <monnier@@cs.yale.edu>
d4555 2
a4556 1
	* charset.h (Funibyte_char_to_multibyte): Export.
d4558 1
a4558 1
2003-01-18  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4560 2
a4561 3
	* xmenu.c (mouse_position_for_popup): New function.
	(Fx_popup_menu): Call mouse_position_for_popup for X and
	mouse_position_hook for others.
d4563 1
a4563 1
2003-01-17  Kim F. Storm  <storm@@cua.dk>
d4565 10
a4574 2
	* editfns.c (Finsert): Mention `string-make-multibyte' and
	`string-as-multibyte' in doc string.
d4576 3
a4578 1
2003-01-17  Kenichi Handa  <handa@@m17n.org>
d4580 1
a4580 1
	* fontset.c (syms_of_fontset): Setup Vfont_encoding_alist here.
d4582 2
a4583 3
	* editfns.c (Fformat): Convert an unibyte char argument that is
	formatted by "%c" to multibyte if the total result must be a
	multibyte string.
d4585 1
a4585 1
2003-01-16  Kim F. Storm  <storm@@cua.dk>
d4587 1
a4587 2
	* process.c (set-process-filter): Document unibyte/multibyte-ness
	of string argument.
d4589 6
a4594 1
2003-01-16  Kenichi Handa  <handa@@m17n.org>
d4596 1
a4596 1
	* charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros.
d4598 1
a4598 2
	* regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY.
	(re_search_2): Likewise.
d4600 10
a4609 1
2003-01-15  Kenichi Handa  <handa@@m17n.org>
d4611 1
a4611 2
	* xdisp.c (message_dolog): Fix bug of the case that *Message*
	buffer is unibyte.
d4613 1
a4613 1
2003-01-15  Francesco Potort,Al(B  <pot@@gnu.org>
d4615 2
a4616 1
	* fns.c (Fsubstring): Clarify doc string.
d4618 1
a4618 9
	* textprop.c (Ftext_properties_at, Fnext_char_property_change)
	(Fprevious_char_property_change)
	(Fnext_single_char_property_change)
	(Fprevious_single_char_property_change, Fnext_property_change)
	(Fnext_single_property_change, Fprevious_property_change)
	(Fprevious_single_property_change, Fadd_text_properties)
	(Fput_text_property, Fset_text_properties)
	(Fremove_text_properties, Fremove_list_of_text_properties)
	(Ftext_property_any, Ftext_property_not_all): Clarify doc strings.
d4620 5
a4624 1
2003-01-14  Kim F. Storm  <storm@@cua.dk>
d4626 1
a4626 2
	* process.h (struct Lisp_Process): New member plist replaces old
	member private_vars.  All uses changed.
d4628 2
a4629 6
	* process.c: Reworked 2003-01-12 change -- call a plist a plist!
	(QCplist): Rename from QCvars.  Change all uses.
	(Fprocess_plist): Replaces Fprocess_variable.  Simplified.
	(Fset_process_plist): Replaces Fset_process_variable.  Simplify.
	(syms_of_process): Intern, staticpro, defsubr these.
	(Fmake_network_process): Describe :plist arg.  Remove :vars arg.
d4631 3
a4633 1
2003-01-14  Francesco Potort,Al(B  <pot@@gnu.org>
d4635 1
a4635 1
	* m/delta.h: Remove (obsolete).
d4637 1
a4637 1
2003-01-13  Francesco Potort,Al(B  <pot@@gnu.org>
d4639 1
a4639 3
	* fileio.c (Fdelete_directory, Fdelete_file): Document the
	behaviour in front of symlinks.
	(Fdelete_file): Raise an error on directories.
d4641 1
a4641 1
2003-01-13  Dave Love  <fx@@gnu.org>
d4643 2
a4644 1
	* fns.c (Freverse): Use QUIT.
d4646 1
a4646 1
2003-01-13  Richard M. Stallman  <rms@@gnu.org>
d4648 2
a4649 2
	* minibuf.c (minibuffer_completion_contents):
	Error if point is inside prompt.
d4651 1
a4651 2
	* keyboard.c (command_loop_1): Don't redisplay directly
	if there's a post-command-hook.
d4653 1
a4653 2
	* fileio.c (syms_of_fileio) <directory-sep-char>: Doc fix.
	(Fdo_auto_save): Add gcpros around Ffile_name_directory.
d4655 1
a4655 1
2003-01-12  Kim F. Storm  <storm@@cua.dk>
d4657 4
a4660 1
	* process.h (struct Lisp_Process): New member private_vars.
d4662 1
a4662 10
	* process.c (QCvars): New variable.
	(syms_of_process): Intern and staticpro it.
	(Fset_process_contact): Removed function.
	(Fprocess_variable, Fset_process_variable): New functions.
	(syms_of_process): Defsubr them.
	(Fstart_process): Initialize private_vars plist to nil.
	(Fmake_network_process): New arg :vars to setup the private
	variables for new network process.
	(server_accept_connection): Copy server's private variables to
	client process.
d4664 3
a4666 4
	* alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious
	crashes).  Code rewritten and simplified.  Now directly aligns the
	pointer and recalculates pure_bytes_used, rather than aligning the
	size and adjusting the pointer.
d4668 1
a4668 1
2003-01-11  Kim F. Storm  <storm@@cua.dk>
d4670 2
a4671 3
	* process.c (Fset_process_contact): New function.
	(syms_of_process): defsubr it.
	(make-network-process): Update doc.
d4673 3
a4675 1
2003-01-10  Andreas Schwab  <schwab@@suse.de>
d4677 1
a4677 2
	* alloc.c (pure_alloc): Correct alignment for Lisp_Floats.
	Reported by Berthold Gunreben <b.gunreben@@web.de>.
d4679 2
a4680 1
2003-01-10  Dave Love  <fx@@gnu.org>
d4682 1
a4682 1
	* composite.c (syms_of_composite): Make composition_hash_table weak.
d4684 1
a4684 1
2003-01-09  Kim F. Storm  <storm@@cua.dk>
d4686 1
a4686 2
	* process.c (Fmake_network_process): Convert new port number
	to host byte order for `:service t' case.  From Mario Lang.
d4688 6
a4693 1
2003-01-08  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d4695 1
a4695 2
	* xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event
	instead of XtAppProcessEvent.
d4697 2
a4698 3
	* xterm.c (handle_one_xevent): New function.
	(x_dispatch_event): New function.
	(XTread_socket): Call handle_one_xevent.
d4700 1
a4700 1
	* xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): New.
d4702 2
a4703 6
	* xmenu.c (Fx_popup_menu): If popping up at mouse position,
	call XQueryPointer to get coordinates.
	(popup_get_selection): Do not set popup_activated_flag to zero,
	let popup_deactivate_callback do that.  Needed for Motif.
	Call x_dispatch_event instead of XtDispatchEvent.
	(xmenu_show): Calculate root coordinate from frame top/left position.
d4705 4
a4708 1
2003-01-08  Kim F. Storm  <storm@@cua.dk>
d4710 2
a4711 5
	* process.c (server_accept_connection): Fix recording of new
	connection's local address in :local property of contact info.
	(Fmake_network_process): Record local network address for new
	client processes in :local property of contact info.
	(format-network-address): Add arg OMIT-PORT.  Change callers.
d4713 1
a4713 1
2003-01-07  Dave Love  <fx@@gnu.org>
d4715 7
a4721 1
	* Makefile.in (fns.o): Depend on coding.h.
d4723 1
a4723 1
2003-01-07  Markus Rost  <rost@@math.ohio-state.edu>
d4725 5
a4729 1
	* minibuf.c (Fread_variable): Doc fix.
d4731 1
a4731 2
	* eval.c (Fuser_variable_p): Doc change.  For custom variables,
	use the same test as for custom-variable-p.
d4733 3
a4735 1
2003-01-05  Richard M. Stallman  <rms@@gnu.org>
d4737 1
a4737 4
	* xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT.
	Count LAST_LINE_MISFIT in scroll margin for end of window.
	Move label too_near_end before setting SCROLL_MARGIN_POS.
	Set LAST_LINE_MISFIT before jumping there.
d4739 6
a4744 3
	* xdisp.c (try_scrolling): Calculate amount_to_scroll better in
	scroll_conservatively case.  If scrolling that much doesn't change
	STARTP, move it down one line.
d4746 1
a4746 2
	* xdisp.c (redisplay_window): Pass last_line_misfit arg to
	try_scrolling.  Make it 1 after make_cursor_line_fully_visible fails.
d4748 1
a4748 2
	* xdisp.c (setup_echo_area_for_printing): Kill Emacs if no
	selected frame.
d4750 2
a4751 4
	* keymap.c (apropos_predicate, apropos_accumulate): Make them static.
	(syms_of_keymap): staticpro them.
	(Fapropos_internal): Initialize them and clear them out.
	Don't GCPRO them.
d4753 2
a4754 2
	* buffer.c (syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>:
	Doc fixes.
d4756 2
a4757 6
	* lisp.h: New misc type Lisp_Save_Value.
	(enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value.
	(XSAVE_VALUE): New macro.
	(struct Lisp_Save_Value): New data type.
	(union Lisp_Misc): Add u_save_value alternative.
	(make_save_value): Declared.
d4759 2
a4760 1
	* alloc.c (make_save_value): New function.
d4762 2
a4763 2
	* xterm.c (x_catch_errors): Save dpy using make_save_value.
	(x_catch_errors_unwind): Call XSync.
d4765 1
a4765 1
2003-01-01  Richard M. Stallman  <rms@@gnu.org>
d4767 2
a4768 1
	* window.c (window_scroll_pixel_based): Partially undo last change.
d4770 1
a4770 3
	* keyboard.c (command_loop_1): Call adjust_point_for_property
	in direct action cases for Qforward_char and Qbackward_char.
	Set already_adjusted so it won't be done twice.
d4772 1
a4772 1
2002-12-30  Richard Dawe  <rich@@phekda.freeserve.co.uk>  (tiny change)
d4774 1
a4774 2
	* src/config.in (!HAVE_SIZE_T): Fix order of arguments in
	type definition of size_t.
d4776 4
a4779 1
2003-01-02  Steven Tamm  <steventamm@@mac.com>
d4781 3
a4783 2
	* macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to
	distinguish Carbon GUI builds from X11 builds on darwin.
d4785 1
a4785 1
2002-12-30  Steven Tamm  <steventamm@@mac.com>
d4787 1
a4787 2
	* macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2
	to default to t.
d4789 2
a4790 1
2002-12-29  Francesco Potort,Al(B  <pot@@gnu.org>
d4792 2
a4793 1
	* data.c (Fstring_to_number, Fminus): Better English in doc strings.
d4795 1
a4795 1
2002-12-28  Steven Tamm  <steventamm@@mac.com>
d4797 1
a4797 3
	* Makefile.in (macosx-bundle): Fixes to Mac OS X/Carbon port to
	allow building in a different directory than source.  Uses some
	GNU Make extensions, but there is no other make on Mac OS X.
d4799 1
a4799 1
2002-12-26  Francesco Potort,Al(B  <pot@@gnu.org>
d4801 1
a4801 4
	* data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local)
	(Fsetq_default, Fmake_local_variable, Fkill_local_variable)
	(Fmake_variable_frame_local, Faset, Fnumber_to_string, Fminus)
	(Fstring_to_number): Mention the returned value in the doc strings.
d4803 1
a4803 1
2002-12-23  Richard M. Stallman  <rms@@gnu.org>
d4805 1
a4805 2
	* buffer.c (syms_of_buffer) <scroll-up-aggressively>
	<scroll-down-aggressively>: Doc fix.
d4807 1
a4807 4
	* xmenu.c (parse_single_submenu): Use individual keymap's prompt
	string as pane name, if there is one.
	(set_frame_menubar): Save menu_items_n_panes from each call to
	parse_single_submenu and use it when calling digest_single_submenu.
d4809 3
a4811 2
	* window.c (window_scroll_pixel_based): Fix check for reaching BEGV.
	Don't try to make last line fully visible if it is past end of window.
d4813 1
a4813 1
2002-12-22  Steven Tamm  <steventamm@@mac.com>
d4815 2
a4816 5
	* macmenu.c (MIN_POPUP_SUBMENU_ID): Add.
	(mac_menu_show): Add support for hierarchical popup menus.
	(add_menu_item): Remove indentation support.
	(fill_submenu, fill_menu): Create hierarchical menus
	instead of using indentation.
d4818 4
a4821 1
2002-12-22  Richard M. Stallman  <rms@@gnu.org>
d4823 1
a4823 2
	* xdisp.c (try_cursor_movement): Don't call try_window here.
	(redisplay_window): Never redisplay minibuffer when inactive.
d4825 3
a4827 1
	* window.c (select_window_1): Undo 9/21 change.
d4829 1
a4829 1
2002-12-22  Steven Tamm  <steventamm@@mac.com>
d4831 2
a4832 4
	* macterm.c (XTread_socket): Call KeyTranslate for control and
	meta to deal correctly shifted non-alpha characters, like C-S-5
	being treated like C-%.  Does not look for shift key to deal
	with masking off control-key with mac-reverse-ctrl-meta.
d4834 2
a4835 1
2002-12-21  Richard M. Stallman  <rms@@gnu.org>
d4837 1
a4837 9
	* xmenu.c (popup_get_selection): Now static.  New arg DO_TIMERS.
	If it is non-nil, run timers.  Use an unwind-protect to requeue
	the events that were read ahead.
	(popup_get_selection_unwind): New subroutine.
	(popup_get_selection_queue): File-scope variable now holds that queue.
	(xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection.
	(xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection.
	Use an unwind-protect to pop down the dialog box.
	(xdialog_show_unwind): New subroutine implements that.
d4839 2
a4840 2
	* xdisp.c (row_containing_pos): Change exit test using last_y.
	(try_window_id): Abort if row_containing_pos returns null.
d4842 1
a4842 3
	* lread.c (load_error_handler): New function.
	(Fload): Handle errors in Fsubstitute_in_file_name.
	Don't expect Fsignal to return.
d4844 4
a4847 6
	* eval.c: Errors and throws work right with interrupt blocking.
	(struct catchtag): New elt interrupt_input_blocked.
	(unwind_to_catch): Restore interrupt_input_blocked from saved value.
	(internal_catch, Fcondition_case, internal_condition_case)
	(internal_condition_case_1, internal_condition_case_2): Save it.
	(Fsignal): Don't do TOTALLY_UNBLOCK_INPUT.
d4849 4
a4852 1
	* editfns.c (Fformat): Add parens.
d4854 1
a4854 2
	* dired.c (file_name_completion): Fix that change.
	Delete special quit-handling code; just use QUIT.
d4856 2
a4857 1
2002-12-21  Tak Ota  <Takaaki.Ota@@am.sony.com>  (tiny change)
d4859 1
a4859 2
	* dired.c (file_name_completion): Close directory on error
	just as in directory_files_internal.
d4861 2
a4862 1
2002-12-19  David Kastrup  <David.Kastrup@@t-online.de>
d4864 1
a4864 2
	* window.c (Fset_window_configuration): Set old_point to correct
	value when new_current_buffer == current_buffer.
d4866 2
a4867 1
2002-12-17  Ben Key  <bkey1@@tampabay.rr.com>
d4869 1
a4869 3
	Revisited my earlier fix for the following entry in etc/PROBLEMS:
	"Emacs built on Windows 9x/ME crashes at startup on Windows XP,
	or Emacs builtpart of on XP crashes at startup on Windows 9x/ME."
d4871 3
a4873 2
	These changes were in part based upon suggestions made by Peter
	'Luna' Runestig [peter@@runestig.com].
d4875 1
a4875 4
	* w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token,
	g_b_init_get_token_information, g_b_init_lookup_account_sid,
	g_b_init_get_sid_identifier_authority ): Add several static
	global variables.
d4877 1
a4877 8
	* w32.c (globals_of_w32): New function.  Used to initialize those
	global variables that must always be initialized on startup even
	when the global variable initialized is non zero.  Its primary
	purpose at this time is to set the global variables
	g_b_init_is_windows_9x, g_b_init_open_process_token,
	g_b_init_get_token_information, g_b_init_lookup_account_sid, and
	g_b_init_get_sid_identifier_authority to 0 on startup.
	Called from main.
d4879 1
a4879 3
	* w32.c (is_windows_9x): Perform initialization only if
	g_b_init_is_windows_9x is equal to 0.  On initialization set
	g_b_init_is_windows_9x equal to 1.
d4881 1
a4881 3
	* w32.c (open_process_token): Perform initialization only if
	g_b_init_open_process_token is equal to 0.  On initialization set
	g_b_init_open_process_token equal to 1.
d4883 1
a4883 3
	* w32.c (get_token_information): Perform initialization only if
	g_b_init_get_token_information is equal to 0.  On initialization
	set g_b_init_get_token_information equal to 1.
d4885 1
a4885 3
	* w32.c (lookup_account_sid): Perform initialization only if
	g_b_init_lookup_account_sid is equal to 0.  On initialization
	set g_b_init_lookup_account_sid equal to 1.
d4887 5
a4891 3
	* w32.c (get_sid_identifier_authority): Perform initialization
	only if g_b_init_get_sid_identifier_authority is equal to 0.
	On initialization set g_b_init_get_sid_identifier_authority equal to 1.
d4893 1
a4893 5
	* w32fns.c (globals_of_w32fns): New function. Used to initialize
	those global variables that must always be initialized on startup
	even when the global variable initialized is non zero.
	Its primary purpose at this time is to initialize the global variable
	track_mouse_event_fn.
d4895 8
a4902 2
	* w32fns.c (w32_wnd_proc):  Remove initialization of
	track_mouse_event_fn from the handler for the WM_SETFOCUS message.
d4904 1
a4904 1
	* w32fns.c (syms_of_w32fns): Call globals_of_w32fns.
d4906 2
a4907 5
	* w32menu.c (globals_of_w32menu):  New function. Used to
	initialize those global variables that must always be initialized
	on startup even when the global variable initialized is non zero.
	Its primary purpose at this time is to initialize the global
	variables get_menu_item_info and set_menu_item_info.
d4909 2
a4910 2
	* w32menu.c (initialize_frame_menubar): Remove initialization of
	get_menu_item_info and set_menu_item_info.
d4912 2
a4913 1
	* w32menu.c (syms_of_w32menu): Call globals_of_w32menu.
d4915 5
a4919 2
	* w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu):
	Declare them.
d4921 1
a4921 4
	* emacs.c (main): Call globals_of_w32 prior to calling
	init_environment if WINDOWSNT is defined.  Call globals_of_w32fns
	and globals_of_w32menu if initialized is non zero and HAVE_NTGUI
	is defined.
d4923 2
a4924 4
	* w32term.c (x_update_window_begin): Fix Windows API error
	detected by BoundsChecker.  Test to determine if
	w32_system_caret_hwnd is NULL prior to attempting to use
	SendMessage to send the WM_EMACS_HIDE_CARET message to it.
d4926 1
a4926 4
	* w32term.c (x_update_window_end): Fix Windows API error
	detected by BoundsChecker.  Test to determine if
	w32_system_caret_hwnd is NULL prior to attempting to use
	SendMessage to send the WM_EMACS_SHOW_CARET message to it.
d4928 1
a4928 1
2002-12-17  Kenichi Handa  <handa@@m17n.org>
d4930 2
a4931 2
	* coding.c (coding_system_require_warning): New variable.
	(syms_of_coding): DEFVAR it.
d4933 2
a4934 1
	* coding.h (coding_system_require_warning): Extern it.
d4936 3
a4938 4
	* fileio.c (choose_write_coding_system): Even if
	Vcoding_system_for_write is non-nil, if
	coding_system_require_warning is nonzero, call
	Vselect_safe_coding_system_function.
d4940 2
a4941 1
2002-12-17  Markus Rost  <rost@@math.ohio-state.edu>
d4943 2
a4944 2
	* Makefile.in (lisp, shortlisp): Add cus-face and timer.
	(lisp): Add font-core.
d4946 3
a4948 1
2002-12-13  Stefan Monnier  <monnier@@cs.yale.edu>
d4950 1
a4950 3
	* textprop.c (text_read_only): New arg `propval'.
	(get_char_property_and_overlay): Remove unused var `next_overlay'.
	(verify_interval_modification): Use text_read_only's new arg.
d4952 3
a4954 1
2002-12-13  Kenichi Handa  <handa@@m17n.org>
d4956 1
a4956 1
	* coding.c (Funencodable_char_position): Set pend correctly.
d4958 7
a4964 1
2002-12-12  Jason Rumney  <jasonr@@gnu.org>
d4966 3
a4968 3
	* w32term.c (last_mousemove_x, last_mousemove_y): New variables.
	(w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement.
	Be more careful about when help_events are generated.
d4970 1
a4970 1
2002-12-12  Steven Tamm  <steventamm@@mac.com>
d4972 1
a4972 4
	* macterm.c (mac_check_for_quit_char): Correctly set the
	modifiers of the event to 0.
	* mac.c (sys_select): Duplicate rfds before calling select to
	ensure that rfds survive the while loop.
d4974 1
a4974 1
2002-12-11  Kim F. Storm  <storm@@cua.dk>
d4976 1
a4976 2
	* xdisp.c (try_window_id): Don't call set_cursor_from_row if
	row_containing_pos returned NULL.
d4978 1
a4978 1
2002-12-10  Steven Tamm  <steventamm@@mac.com>
d4980 1
a4980 4
	* mac.c (sys_read): Fix sys_read to not call select if IO is
	non-blocking.
	(sys_select): Fix sys_select to not use a timeout larger than
	the one given.
d4982 8
a4989 1
2002-12-10  Juanma Barranquero  <lektu@@terra.es>
d4991 1
a4991 1
	* editfns.c (Fformat): Use alloca, not _alloca.
d4993 6
a4998 1
2002-12-09  Richard M. Stallman  <rms@@gnu.org>
d5000 1
a5000 2
	* buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input
	as the last thing.
d5002 2
a5003 1
2002-12-09  Dave Love  <fx@@gnu.org>
d5005 1
a5005 1
	* s/sol2-8.h: Removed.  (Not necessary.)
d5007 1
a5007 1
2002-12-09  Matthew Swift  <swift@@alum.mit.edu>
d5009 1
a5009 3
	* editfns.c (Fformat): Handle precision in string conversion
	specifiers like libc functions do (ie, print at most that many
	characters).
d5011 1
a5011 1
2002-12-08  Richard M. Stallman  <rms@@gnu.org>
d5013 4
a5016 2
	* xdisp.c (row_containing_pos): Check more carefully
	whether charpos is really in the row before returning it.
d5018 6
a5023 1
2002-12-07  Steven Tamm  <steventamm@@mac.com>
d5025 1
a5025 1
	* sysdep.c (emacs_read) [HAVE_CARBON]: Have emacs_read use sys_read.
d5027 1
a5027 2
	* eval.c (Feval) [HAVE_CARBON]: Calls mac_check_for_quit_char at
	each stack frame.  This may change as it could be time consuming.
d5029 2
a5030 4
	* macterm.c (mac_check_for_quit_char, quit_char_comp)
	(init_quit_char_handler, mac_determine_quit_char_modifiers)
	(mac_initialize): Add code to check for pressing of quit_char
	in the OS event queue.
d5032 1
a5032 2
	* mac.c (sys_select): Call mac_check_for_quit_char every second
	while blocking on select.
d5034 4
a5037 2
	* mac.c (sys_read): Use sys_select to test for input first
	before calling read, to allow C-g to break.
d5039 1
a5039 1
2002-12-07  Richard M. Stallman  <rms@@gnu.org>
d5041 1
a5041 1
	* minibuf.c (Fcompleting_read): Doc fix.
d5043 1
a5043 1
	* lread.c (syms_of_lread) <load-history>: Doc fix.
d5045 1
a5045 1
	* fileio.c (Fcopy_file): Set immediate_quit around emacs_open call.
d5047 3
a5049 2
	* eval.c (Fdefun, Fdefmacro): Record in load-history redefining an
	autoload.
d5051 4
a5054 1
	* data.c (Fdefalias): Record in load-history redefining an autoload.
d5056 1
a5056 1
	* alloca.c: Undo ifdef change accidentally made on 12-04.
d5058 2
a5059 1
2002-12-06  Francesco Potorti`  <pot@@gnu.org>
d5061 1
a5061 1
	* xfns.c (png_load): Avoid double gamma correction for PNG images.
d5063 1
a5063 1
2002-12-04  Richard M. Stallman  <rms@@gnu.org>
d5065 1
a5065 1
	* sysdep.c (fcntl.h): Test only HAVE_FCNTL_H.
d5067 2
a5068 1
	* fileio.c (fcntl.h): Test only HAVE_FCNTL_H.
d5070 1
a5070 1
	* alloca.c: Don't use #error.
d5072 1
a5072 1
2002-12-03  Dave Love  <fx@@gnu.org>
d5074 1
a5074 7
	* buffer.c (Qucs_set_table_for_input): New.
	(Fget_buffer_create): Use it.
	(Qset_buffer_major_mode_hook): Deleted.
	(Fset_buffer_major_mode): Revert previous change.
	(init_buffer_once): Intern ucs-set-table-for-input.
	(syms_of_buffer): Delete Qset_buffer_major_mode_hook.
	Add &Qucs_set_table_for_input.
d5076 1
a5076 1
2002-12-03  Andreas Schwab  <schwab@@suse.de>
d5078 2
a5079 2
	* callint.c (Fcall_interactively): Use next_event only if less
	than key_count.
d5081 1
a5081 1
2002-12-02  Andrew Choi  <akochoi@@shaw.ca>
d5083 1
a5083 2
	* macmenu.c (add_menu_item, fill_menubar): Truncate menu item
	names to 255 characters.
d5085 1
a5085 2
	* macterm.c (XTread_socket): If all frames have been collapsed,
	expand the first one before handling drag-and-drop events.
d5087 2
a5088 2
	* s/darwin.h (GETPGRP_NO_ARG): Delete.  Replaced by GETPGRP_VOID,
	which is detected by autoconf.
d5090 2
a5091 1
2002-12-01  Steven Tamm  <steventamm@@mac.com>
d5093 1
a5093 3
	* unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the
	offset in two hints table to allow prebinding to be redone and
	allow the executable to be stripped.
d5095 1
a5095 1
2002-11-29  Dave Love  <fx@@gnu.org>
d5097 2
a5098 2
	* fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was
	already provided.
d5100 1
a5100 1
2002-11-29  Richard M. Stallman  <rms@@gnu.org>
d5102 1
a5102 3
	* xdisp.c (start_display): Check more intelligently for
	whether the line is continued.
	(move_it_vertically_backward): Clear it->continuation_lines_width.
d5104 4
a5107 1
2002-11-28  Dave Love  <fx@@gnu.org>
d5109 2
a5110 2
	* s/amdahl.h, s/unipl5-0.h, m/sgi3000.h, s/3700.h, s/alliant-2800.h:
	* s/alliant.h, s/altos.h: Deleted.  (Unused/empty.)
d5112 1
a5112 1
2002-11-27  Steven Tamm  <steventamm@@mac.com>
d5114 3
a5116 3
	* fns.c (Frequire): Change nesting allowance from 2 to 3 to cause
	more descriptive error output from lread.c:Fload upon most require
	cycles during boostrapping.
d5118 4
a5121 1
2002-11-27  Jason Rumney  <jasonr@@gnu.org>
d5123 2
a5124 2
	* fileio.c (Finsert_file_contents): Give a more appropriate error
	for files bigger than 2Gb when off_t is 32 bit.
d5126 1
a5126 2
	* dired.c (Ffile_attributes): Don't return negative file sizes for
	files bigger than 2Gb when off_t is 32 bit.
d5128 2
a5129 1
2002-11-27  Dave Love  <fx@@gnu.org>
d5131 1
a5131 1
	* s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
d5133 2
a5134 3
	* systty.h: Don't conditionally define GETPGRP_NO_ARG.
	Test GETPGRP_VOID instead.
	[BSD_TERMIOS]: Remove definitions (never used).
d5136 1
a5136 3
	* s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist):
	Don't define.
	(GC_SETJMP_WORKS, GC_MARK_STACK): Define.
d5138 2
a5139 1
	* m/mips.h (WORDS_BIG_ENDIAN): Define conditionally.
d5141 2
a5142 1
2002-11-25  Jason Rumney  <jasonr@@gnu.org>
d5144 4
a5147 2
	* w32.c (sys_write): Avoid non-blocking mode, which is not fully
	supported.
d5149 1
a5149 1
2002-11-25  Dave Love  <fx@@gnu.org>
d5151 2
a5152 1
	* unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec.
d5154 1
a5154 1
	* Makefile.in (TEMACS_LDFLAGS): Update last change.
d5156 2
a5157 1
2002-11-25  Andreas Schwab  <schwab@@suse.de>
d5159 2
a5160 1
	* m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change.
d5162 1
a5162 1
2002-11-24  Steven Tamm  <steventamm@@mac.com>
d5164 1
a5164 4
	* unexmacosx.c (unexec_realloc): Use malloc_default_zone to
	determine the size of pointers alloced in unexed space instead
	of using possibly invalid emacs_zone pointers.  This fixes the
	binary incompatibility problems caused by updates to libSystem.B.
d5166 1
a5166 1
2002-11-24  Richard M. Stallman  <rms@@gnu.org>
d5168 2
a5169 1
	* search.c (Fstring_match): Doc fix.
d5171 5
a5175 3
	* callint.c (Fcall_interactively): If a command fails because
	`*' detects a read-only buffer, but RECORD_FLAG is set,
	record it anyway if the args don't actually do tty input.
d5177 1
a5177 1
2002-11-22  Dave Love  <fx@@gnu.org>
d5179 4
a5182 1
	* sysdep.c (stuff_char) [PROTOTYPES]: Provide ISO C arglist.
d5184 1
a5184 2
	* keyboard.c (interrupt_signal): Provide forward declaration.
	(kbd_buffer_store_event): Don't declare interrupt_signal.
d5186 1
a5186 1
	* xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist.
d5188 4
a5191 1
2002-11-21  Richard M. Stallman  <rms@@gnu.org>
d5193 1
a5193 2
	* eval.c (interactive_p): Skip any number of bytecode
	and special form frames, in any order.
d5195 2
a5196 1
2002-11-20  Jason Rumney  <jasonr@@gnu.org>
d5198 1
a5198 3
	* w32fns.c (convert_mono_to_color_image): New function.
	(xbm_load, xbm_load_image): Use it when foreground or background
	is explicitly set.
d5200 2
a5201 1
2002-11-19  Dave Love  <fx@@gnu.org>
d5203 1
a5203 1
	* s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define.
d5205 1
a5205 1
2002-11-18  Jason Rumney  <jasonr@@gnu.org>
d5207 1
a5207 6
	* w32fns.c (x_build_heuristic_mask): Filter palette info from color.
	(XPutPixel): Swap blue and red.
	(xpm_format, pbm_format, png_format, jpeg_format, tiff_format)
	(gif_format, gs_format): Use IMAGE_ASCENT_VALUE.
	(xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p)
	(tiff_image_p, gif_image_p, gs_image_p): Don't check ascent.
d5209 2
a5210 1
2002-11-18  Dave Love  <fx@@gnu.org>
d5212 3
a5214 1
	* m/orion105.h (HAVE_ALLOCA): Don't define.
d5216 2
a5217 1
	* m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca.
d5219 3
a5221 1
	* m/intel386.h: Don't include alloca.h or define alloca.
d5223 2
a5224 2
	* m/ia64.h: Don't include alloca.h, stdlib.h.  Don't declare
	malloc, realloc, calloc.
d5226 1
a5226 2
	* m/hp800.h, m/sr2k.h, m/ns16000.h, m/wicat.h (bcopy, bzero)
	(bcmp): Don't define.
d5228 1
a5228 1
	* m/delta.h (bcopy, bzero, bcmp, alloca): Don't define.
d5230 3
a5232 1
	* m/amdahl.h: Don't define LIB_STANDARD.
d5234 1
a5234 1
	* m/alpha.h: Move OSF1 stuff from here to s/osf1.h.
d5236 2
a5237 1
	* s/osf1.h: Move OSF1 stuff from m/alpha.h to here.
d5239 1
a5239 2
	* s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h:
	Don't include alloca.h.
d5241 2
a5242 1
	* s/aix3-2.h (HAVE_FSYNC): Don't define.
d5244 1
a5244 1
	* regex.c (_GNU_SOURCE): Don't define.
d5246 1
a5246 1
	* process.c (_GNU_SOURCE): Don't define.
d5248 1
a5248 1
	* fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define.
d5250 3
a5252 1
2002-11-18  Markus Rost  <rost@@math.ohio-state.edu>
d5254 1
a5254 1
	* s/sol2-8.h: Include sol2-6.h.
d5256 1
a5256 1
2002-11-18  Miles Bader  <miles@@gnu.org>
d5258 2
a5259 9
	* dispextern.h (struct face): Add `overstrike' field.
	* xterm.c (x_draw_glyph_string_foreground)
	(x_draw_composite_glyph_string_foreground): Implement overstriking.
	* xfaces.c (load_face_font): Set `face->overstrike' based on
	result from choose_face_font.
	(best_matching_font, choose_face_font): Add `needs_overstrike'
	argument, and use it to return whether overstriking is desirable
	for this face/font combo.
	(set_font_frame_param: Pass new argument to choose_face_font.
d5261 1
a5261 1
2002-11-17  Ben Key  <BKey1@@tampabay.rr.com>
d5263 2
a5264 3
	This change is my fix for the following entry in etc/PROBLEMS:
	"Emacs built on Windows 9x/ME crashes at startup on Windows XP,
	or Emacs builtpart of on XP crashes at startup on Windows 9x/ME."
d5266 3
a5268 13
	* w32.c: Added wrapper functions around the win32 API functions
	OpenProcessToken, GetTokenInformation, LookupAccountSid, and
	GetSidIdentifierAuthority.  These wrapper functions serve two
	purposes:
	1.  They ensure that the wrapped function can never be called
	when Emacs is running on an operating system on which they are
	not supported (Microsoft Windows 95 / 98 / ME).
	2.  They call the wrapped functions via function pointers rather
	than calling them directly.  This avoids taking advantage of the
	undocumented fact that although these functions are not supported
	in the 9x branch of Microsoft Windows, the functions do exist in
	the version of advapi32.dll that is found in the 9x branch of
	Microsoft Windows.
d5270 1
a5270 4
	* w32.c (init_user_info): Replace the calls to the win32 API
	functions OpenProcessToken, GetTokenInformation, LookupAccountSid,
	and GetSidIdentifierAuthority with calls to the newly added
	wrapper functions.
d5272 5
a5276 3
	* w32.h: Added extern declarations for the following functions:
	syms_of_w32term, syms_of_w32fns, syms_of_w32select,
	syms_of_w32menu, and void syms_of_fontset.
d5278 1
a5278 3
	* w32fns.c (w32_wnd_proc): Add code to reinitialize the
	function pointer track_mouse_event_fn in the handler for the
	WM_SETFOCUS message.
d5280 4
a5283 3
	* w32menu.c (initialize_frame_menubar): Add code to
	reinitialize the function pointers set_menu_item_info and
	get_menu_item_info.
d5285 1
a5285 1
2002-11-17  Ben Key  <BKey1@@tampabay.rr.com>
d5287 2
a5288 6
	* sound.c: Added a partial implementation of play-sound-internal
	for Microsoft Windows.  Added various #ifdef / #else / #endif
	code blocks to separate the code that will compile under
	Microsoft Windows from the code that is specific to Gnu/Linux.
	Moved several blocks of code around to make this separation of code
	into Windows compatible and Gnu/Linux compatible code blocks easier.
d5290 1
a5290 1
	* makefile.w32-in: Include sound.c and link with WinMM.lib.
d5292 1
a5292 3
	* s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly
	added support for play-sound-internal under Windows would be
	included in the build of Emacs.
d5294 1
a5294 1
2002-11-16  Jason Rumney  <jasonr@@gnu.org>
d5296 1
a5296 1
	* w32fns.c (w32_load_system_font): Don't disable Cleartype.
d5298 2
a5299 1
	* w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly.
d5301 1
a5301 1
2002-11-15  Stefan Monnier  <monnier@@cs.yale.edu>
d5303 2
a5304 5
	* keyboard.c (command_loop_1): Fix int/Lisp_Object mixup.
	(adjust_point_for_property): Move out of display and invisible even if
	we were already inside before (in case a property was added while
	we weren't looking).  Be more careful when handling invisible props.
	Skip invisible text as if it really wasn't there at all.
d5306 1
a5306 1
2002-11-15  Jason Rumney  <jasonr@@gnu.org>
d5308 2
a5309 3
	* w32term.c (x_draw_image_foreground)
	(w32_draw_image_foreground_1): Use standard copy and invert
	operations to draw images.
d5311 6
a5316 4
	* w32fns.c (x_create_x_image_and_pixmap): Fill in palette for
	depth of 1.
	(xbm_read_bitmap_data): Invert bits as xbm is read in.
	(XPutPixel): Don't invert bits here.
d5318 1
a5318 1
2002-11-15  Jason Rumney  <jasonr@@gnu.org>
d5320 1
a5320 3
	* w32term.c (x_draw_image_foreground, x_draw_image_glyph_string)
	(w32_draw_image_foreground_1): Handle image masks.
	(x_draw_image_glyph_string): Don't BitBlt transparently.
d5322 1
a5322 7
	* w32fns.c (w32_defined_color): Adjust RGB values for Emacs.
	(x_from_xcolors): Adjust RGB values for W32.
	(image_background, image_background_transparent)
	(postprocess_image, x_to_xcolors, x_disable_image)
	(x_build_heuristic_mask): Adapt for W32 and enable.
	(x_create_x_image_and_pixmap): Mark images with palettes as such.
	(xbm_load): Remove unused variable.
d5324 1
a5324 1
2002-11-14  Richard M. Stallman  <rms@@gnu.org>
d5326 1
a5326 1
	* buffer.c (syms_of_buffer): Doc fix.
d5328 2
a5329 1
2002-11-14  Dave Love  <fx@@gnu.org>
d5331 2
a5332 1
	* alloc.c (SETJMP_WILL_NOT_WORK): Add note.
d5334 1
a5334 11
	* xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor):
	* xmenu.c (unuse_menu_items, digest_single_submenu):
	* xfns.c (x_put_x_image):
	* xdisp.c (message2_nolog, set_message):
	* undo.c (record_point):
	* terminfo.c (tparam):
	* syntax.c (scan_sexps_forward):
	* scroll.c (calculate_scrolling, calculate_direct_scrolling):
	* composite.c (update_compositions):
	* cm.c (calccost, cmgoto):
	* charset.c (c_string_width): Declare all args (per C99).
d5336 4
a5339 1
	* frame.h (get_specified_cursor_type, get_window_cursor_type): Declare.
d5341 3
a5343 2
	* lisp.h (get_specified_cursor_type, get_window_cursor_type):
	Don't declare.
d5345 3
a5347 1
	* emacs.c (main) [!VMS]: Avoid third arg.
d5349 3
a5351 2
	* fns.c (Fcopy_sequence): Doc fix.
	(Fmap_char_table): Cast `call2'.
d5353 7
a5359 1
2002-11-14  Francesco Potorti`  <pot@@gnu.org>
d5361 1
a5361 1
	* s/sol2-8.h: New file.
d5363 1
a5363 1
2002-11-14  Kim F. Storm  <storm@@cua.dk>
d5365 1
a5365 2
	* buffer.c (syms_of_buffer) <mode-line-format>: Document symbol
	dependency on `risky-local-variable' and the :propertize form.
d5367 2
a5368 1
2002-11-12  Stefan Monnier  <monnier@@cs.yale.edu>
d5370 2
a5371 1
	* fns.c (Fmap_char_table): Don't use map_char_table's function arg.
d5373 2
a5374 2
	* syntax.c (scan_sexps_forward): Undo last patch.
	Use a more obvious fix: check eob before updating the syntax table.
d5376 1
a5376 1
2002-11-09  Stefan Monnier  <monnier@@cs.yale.edu>
d5378 2
a5379 2
	* syntax.c (scan_sexps_forward): Update syntax table before reading
	a char rather than after so we don't update the table past eob.
d5381 1
a5381 1
2002-11-09  Dave Love  <fx@@gnu.org>
d5383 2
a5384 1
	* buffer.c (Fset_buffer_major_mode): Fix last change.
d5386 2
a5387 1
	* regex.c (regexec): Fix pmatch declaration.
d5389 1
a5389 1
	* cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input.
d5391 1
a5391 3
	* keyboard.c (command_loop_1): Apply Vtranslation_table_for_input
	to self-inserting characters.
	(syms_of_keyboard) <keyboard-translate-table>: Doc fix.
d5393 1
a5393 2
	* coding.c (Vtranslation_table_for_input): New.
	(syms_of_coding): DEFVAR it.
d5395 1
a5395 1
2002-11-08  Juanma Barranquero  <lektu@@terra.es>
d5397 1
a5397 2
	* w32term.c (w32_draw_fringe_bitmap): Remove unused local variable
	window.
d5399 1
a5399 1
2002-11-08  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d5401 1
a5401 2
	* process.c (Fformat_network_address): Remove unused locals p,
	cp, and i.
d5403 2
a5404 1
2002-11-06  Dave Love  <fx@@gnu.org>
d5406 1
a5406 2
	* buffer.c (Qset_buffer_major_mode_hook): New.
	(Fset_buffer_major_mode): Use it.
d5408 2
a5409 1
2002-11-06  Richard M. Stallman  <rms@@gnu.org>
d5411 2
a5412 2
	* xterm.c (x_term_init): Use turn_on_atimers, not start_polling
	and stop_polling.
d5414 1
a5414 3
	* process.c (wait_reading_process_input):
	Test POLLING_PROBLEM_IN_SELECT, not hpux.
	Avoid initialization for auto Lisp_Object var.
d5416 2
a5417 1
	* s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef.
d5419 1
a5419 1
	* s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined.
d5421 4
a5424 1
2002-11-05  Richard M. Stallman  <rms@@gnu.org>
d5426 1
a5426 1
	* s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef.
d5428 4
a5431 5
	* callint.c (Fcall_interactively): New local filter_specs.
	(Fcall_interactively): Check for progn as well as let.
	Add a gcpro.
	(Qprogn): New variable.
	(syms_of_callint): Staticpro and init Qprogn.
d5433 1
a5433 1
2002-11-04  John Paul Wallington  <jpw@@shootybangbang.com>
d5435 1
a5435 1
	* lread.c (Feval_buffer): Doc fix.
d5437 3
a5439 1
2002-11-04  Dave Love  <fx@@gnu.org>
d5441 1
a5441 2
	* keyboard.c (read_char): Always translate iff
	Vkeyboard_translate_table is a char table and c is valid.
d5443 6
a5448 2
	* xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table
	and fix C types.
d5450 1
a5450 1
2002-11-03  Stefan Monnier  <monnier@@cs.yale.edu>
d5452 2
a5453 1
	* xdisp.c (single_display_prop_intangible_p): Strings are intangible.
d5455 5
a5459 1
	* editfns.c (get_pos_property): Don't hardcode Qfield.
d5461 1
a5461 2
	* keyboard.c (adjust_point_for_property): Handle `display' prop on
	overlays.  Also handle `invisible' prop.
d5463 5
a5467 1
2002-11-02  Stefan Monnier  <monnier@@cs.yale.edu>
d5469 1
a5469 2
	* coding.c (decode_coding_emacs_mule, decode_coding_iso2022)
	(decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL.
d5471 3
a5473 1
2002-11-01  Andreas Schwab  <schwab@@suse.de>
d5475 1
a5475 1
	* editfns.c (Fmessage): Revert last change to properly handle %%.
d5477 4
a5480 1
2002-11-01  Stefan Monnier  <monnier@@cs.yale.edu>
d5482 1
a5482 6
	* xmenu.c (unuse_menu_items): New fun.
	(menu_items_inuse): New var.
	(syms_of_xmenu): Initialize it.
	(init_menu_items): Use it to detect re-entrance.
	(Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done.
	(Fx_popup_menu): Remove spurious XSETFRAME.
d5484 3
a5486 1
	* editfns.c (find_field): Make an exception for nil fields.
d5488 1
a5488 1
2002-11-01  Dave Love  <fx@@gnu.org>
d5490 6
a5495 1
	* m/gec63.h: Deleted.
d5497 1
a5497 1
2002-10-31  Dave Love  <fx@@gnu.org>
d5499 1
a5499 2
	* xterm.c (XTread_socket): Fix last change.
	(xaw_scroll_callback): Cast call_data to long to avoid warning.
d5501 3
a5503 1
2002-10-31  Stefan Monnier  <monnier@@cs.yale.edu>
d5505 3
a5507 1
	* process.c (Fformat_network_address): Fix int/Lisp_Object mixup.
d5509 1
a5509 1
2002-10-30  Stefan Monnier  <monnier@@cs.yale.edu>
d5511 1
a5511 4
	* editfns.c (overlays_around, get_pos_property): New funs.
	(find_field): Use them.
	Also be careful not to modify POS before its last use.
	(Fmessage): Don't Fformat if there's nothing to format.
d5513 2
a5514 1
2002-10-30  Dave Love  <fx@@gnu.org>
d5516 13
a5528 2
	* process.c [HAVE_SYS_WAIT]: Include sys/wait.h.
	[HAVE_PTY_H]; Include pty.h.
d5530 1
a5530 1
	* lread.c (Fload) <!load_dangerous_libraries>: Close fd.
d5532 8
a5539 5
	* xterm.c (Qeql): Declare.
	(Vx_keysym_table): New.
	(syms_of_xterm): Initialize it.
	(XTread_socket): Use it.  Deal with ASCII keysyms.
	(XSetIMValues) [HAVE_X11R6]: Prototype.
d5541 1
a5541 5
	* keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended.
	(lispy_kana_keys): Comment out.
	(make_lispy_event) [XK_kana_A]: Comment out.
	(modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>:
	Fix sprintf call.
d5543 1
a5543 3
	* s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by
	regexp.h change).
	(TERMINFO, LIBS_TERMCAP): Define.
d5545 1
a5545 4
	* s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY.
	(bcmp): Define conditional on HAVE_BCMP.
	(NO_SIOCTL_H): Don't define.
	(TIOCSIGSEND): Don't make conditional on IRIX6.
d5547 1
a5547 2
	* s/sol2-5.h: Don't include strings.h.
	(bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef.
d5549 2
a5550 2
	* s/irix6-0.h (IRIX6): Don't define.
	(bcopy, bcmp, bzero): Don't undef.
d5552 1
a5552 3
	* s/irix6-5.h: Don't include strings.h.
	(IRIX6): Don't define.
	(bcopy, bcmp, bzero): Don't undef.
d5554 3
a5556 1
	* syntax.c (Fforward_comment): Doc fix.
d5558 5
a5562 1
2002-10-29  Kim F. Storm  <storm@@cua.dk>
d5564 4
a5567 2
	* process.c (Fsignal_process): Allow PROCESS to be specified by
	name in addition to pid (as integer or string).
d5569 1
a5569 1
2002-10-28  Harald Maier  <Harald.Maier.BW@@t-online.de>  (tiny change)
d5571 3
a5573 2
	* w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build
	environments.
d5575 1
a5575 1
2002-10-27  Kim F. Storm  <storm@@cua.dk>
d5577 1
a5577 1
	* xterm.c (note_mouse_highlight): Don't use mouse-face if hidden.
d5579 1
a5579 1
	* w32term.c (note_mouse_highlight): Don't use mouse-face if hidden.
d5581 1
a5581 1
	* msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden.
d5583 1
a5583 1
	* macterm.c (note_mouse_highlight): Don't use mouse-face if hidden.
d5585 3
a5587 1
2002-10-26  Richard M. Stallman  <rms@@gnu.org>
d5589 4
a5592 1
	* editfns.c (Fformat): Detect invalid format letters for floats.
d5594 1
a5594 1
2002-10-25  Kenichi Handa  <handa@@m17n.org>
d5596 2
a5597 2
	* xfns.c (x_set_name): Encode by Qcompound_text unconditionally.
	(x_set_title): Likewise.
d5599 1
a5599 1
2002-10-25  Juanma Barranquero  <lektu@@terra.es>
d5601 2
a5602 2
	* macgui.h:
	* w32gui.h: Remove definition of XColor.
d5604 1
a5604 1
	* dispextern.h [!HAVE_X_WINDOWS]: Define XColor.
d5606 1
a5606 1
2002-10-24  Kim F. Storm  <storm@@cua.dk>
d5608 8
a5615 2
	* xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR.
	Callers changed (supply dummy arg).
d5617 2
a5618 1
	* lisp.h (get_window_cursor_type): Update prototype.
d5620 2
a5621 2
	* w32term.c (x_display_and_set_cursor): Get active_cursor from
	get_window_cursor_type to track system caret.
d5623 1
a5623 1
2002-10-24  Kim F. Storm  <storm@@cua.dk>
d5625 1
a5625 6
	* process.c (Fformat_network_address): New function.
	(syms_of_process): Defsubr it.
	(list_processes_1): Use it to format :local/:remote address if
	service/host is not set; before emacs would crash in that case.
	(Fmake_network_process): Don't use Ffind_operation_coding_system
	to setup coding system if host or service is not set.
d5627 2
a5628 1
2002-10-23  Juanma Barranquero  <lektu@@terra.es>
d5630 2
a5631 1
	Patch suggested by Jay Finger <jay_finger@@hotmail.com>.
d5633 2
a5634 2
	* w32term.c (w32_term_init): Pass XColor to w32_define_color, not
	COLORREF.
d5636 1
a5636 2
	* macgui.h:
	* w32gui.h: Add definition of XColor.
d5638 2
a5639 3
	* macfns.c:
	* w32fns.c:
	* xfaces.c: Remove definition of XColor.
d5641 1
a5641 1
2002-10-22  Stefan Monnier  <monnier@@cs.yale.edu>
d5643 2
a5644 1
	* xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char.
d5646 2
a5647 5
	* window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>,
	Only ignore truly dedicated windows.  For UNSHOW_BUFFER, delete the
	window if it is dedicated.
	(Fshrink_window): Add preserve_before as was done for enlarge_window.
	(Vspecial_display_function): Update docstring.
d5649 2
a5650 3
	* buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer)
	(call_overlay_mod_hooks): Use CONSP and XCAR/XCDR.
	(Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE;
d5652 1
a5652 1
2002-10-21  Stefan Monnier  <monnier@@cs.yale.edu>
d5654 3
a5656 2
	* casefiddle.c (casify_region): Don't treat a prefix char as part
	of a word when at the beginning.
d5658 1
a5658 1
2002-10-17  Juanma Barranquero  <lektu@@terra.es>
d5660 2
a5661 1
	* lread.c (syms_of_lread): Fix typos.
d5663 1
a5663 1
2002-10-17  Dave Love  <fx@@gnu.org>
d5665 5
a5669 1
	* Makefile.in (TEMACS_LDFLAGS): Add trailing comment.
d5671 3
a5673 1
2002-10-16  Richard M. Stallman  <rms@@gnu.org>
d5675 1
a5675 1
	* fileio.c (Fcopy_file): Fix backward test of KEEP_TIME.
d5677 2
a5678 1
2002-10-14  Juanma Barranquero  <lektu@@terra.es>
d5680 4
a5683 2
	* w16select.c (syms_of_win16select): Fix docstring for
	`selection-coding-system'.
d5685 1
a5685 1
	* w32select.c (syms_of_w32select): Likewise.
d5687 1
a5687 1
2002-10-14  Stefan Monnier  <monnier@@cs.yale.edu>
d5689 2
a5690 3
	* syntax.c (scan_lists): Don't get fooled by a symbol ending with
	a backslash-quoted char.
	(scan_lists, scan_sexps_forward): Pacify the compiler.
d5692 1
a5692 1
2002-10-13  Richard M. Stallman  <rms@@gnu.org>
d5694 2
a5695 1
	* window.c (window_scroll): Set immediate_quit.
d5697 3
a5699 3
	* print.c (print): When backquote form is the car of a list,
	output in old style.  Use old_backquote_output to output all
	comma forms inside it in old style too.
d5701 2
a5702 1
	* buffer.h (struct buffer): Move `undo_list' down below `name'.
d5704 2
a5705 1
2002-10-11  Markus Rost  <rost@@math.ohio-state.edu>
d5707 1
a5707 2
	* emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in
	batch mode).
d5709 1
a5709 1
	* lread.c (Fload): Doc fix (load-suffixes).
d5711 1
a5711 1
2002-10-10  Steven Tamm  <steventamm@@mac.com>
d5713 1
a5713 3
	* macterm.c (syms_of_macterm, mac_get_mouse_btn):
	Reverse functionality of mac-wheel-button-is-mouse-2 to be correct.
	Also switch the default to Qnil from Qt.
d5715 1
a5715 1
2002-10-08  Kenichi Handa  <handa@@m17n.org>
d5717 1
a5717 3
	* coding.c (code_convert_region): When we need more GAP for
	conversion, pay attention to the case that coding->produced is not
	greater than coding->consumed.
d5719 4
a5722 1
2002-10-07  Richard M. Stallman  <rms@@gnu.org>
d5724 1
a5724 1
	* unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5.
d5726 3
a5728 1
2002-10-06  Andrew Choi  <akochoi@@shaw.ca>
d5730 1
a5730 2
	* macmenu.c (mac_menu_show): Add j to count menu items; match
	menu_item_selection to it to find selected item.
d5732 3
a5734 1
2002-10-06  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d5736 2
a5737 4
	* xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all
	cases.  The correct fix is to pass ReparentNotify to Xt.
	The shell widget interprets ConfigureNotify differently depending
	on if it has been reparented or not.
d5739 1
a5739 1
2002-10-05  Markus Rost  <rost@@math.ohio-state.edu>
d5741 1
a5741 1
	* editfns.c (Fformat_time_string): Doc fix.
d5743 2
a5744 1
2002-10-05  John Paul Wallington  <jpw@@shootybangbang.com>
d5746 2
a5747 1
	* fns.c (Flength): Doc fix.
d5749 1
a5749 1
2002-10-04  Stefan Monnier  <monnier@@cs.yale.edu>
d5751 3
a5753 4
	* keyboard.c (keyremap): New struct.
	(read_key_sequence): Use it: globally replace keytran_foo with
	keytran.foo and fkey_foo with fkey.foo.  Rename temp vars
	keytran_next and fkey_next to just `next'.
d5755 1
a5755 1
2002-10-04  Steven Tamm  <steventamm@@mac.com>
d5757 1
a5757 2
	* macterm.c (keycode_to_xkeysym_table): Change return to be
	treated like an X keysym.
d5759 3
a5761 1
2002-10-03  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d5763 1
a5763 3
	* xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0,
	and USE_MOTIF, call XTranslateCoordinates to get the real x and y.
	This is to also handle x/y changes that occur because of a resize.
d5765 5
a5769 1
2002-10-02  John Paul Wallington  <jpw@@shootybangbang.com>
d5771 1
a5771 4
	* frame.c (Vdelete_frame_functions): New variable.
	(syms_of_frame): Initialize and defvar it.
	(Fdelete_frame): Use it instead of delete-frame-hook.  Don't run
	it when frame's `tooltip' parameter is non-nil.
d5773 9
a5781 1
	* xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t.
d5783 7
a5789 1
	* w32fns.c (x_create_tip_frame): Likewise.
d5791 2
a5792 1
	* macfns.c (x_create_tip_frame): Likewise.
d5794 1
a5794 1
2002-09-30  Kenichi Handa  <handa@@m17n.org>
d5796 1
a5796 2
	* xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to
	-1 before calling ccl_driver.
d5798 2
a5799 3
	* coding.c (decode_coding_emacs_mule): Check coding->cmp_data.
	Only when it is non-nil, handle composition sequence.
	(setup_coding_system) <0>: Don't force composition handling.
d5801 1
a5801 1
	* Makefile.in (lisp, shortlisp): Add utf-16.elc
d5803 1
a5803 1
2002-09-29  Richard M. Stallman  <rms@@gnu.org>
d5805 3
a5807 2
	* search.c (Freplace_match): Adjust match data for the substitution
	just made in the buffer.
d5809 1
a5809 2
	* xdisp.c (STOP_POLLING, RESUME_POLLING): New macros.
	(redisplay_internal): Use them.  Do RESUME_POLLING at end of function.
d5811 3
a5813 1
2002-09-27  Richard M. Stallman  <rms@@gnu.org>
d5815 1
a5815 2
	* keyboard.c (STOP_POLLING, RESUME_POLLING): New macros.
	(read_char): Use them.  Do all exits thru the end of the function.
d5817 3
a5819 1
2002-09-27  Kenichi Handa  <handa@@etl.go.jp>
d5821 1
a5821 2
	* xfaces.c (try_font_list): Pay attention to the case that FAMILY
	is nil.
d5823 2
a5824 1
2002-09-26  Richard M. Stallman  <rms@@gnu.org>
d5826 2
a5827 1
	* regex.h (__restrict_arr): Don't define if already defined.
d5829 1
a5829 2
	* coding.c (run_pre_post_conversion_on_str):
	Save and restore Vdeactivate_mark.
d5831 2
a5832 1
2002-09-26  John Paul Wallington  <jpw@@shootybangbang.com>
d5834 1
a5834 1
	* minibuf.c (Fminibufferp): Add an optional `buffer' argument.
d5836 2
a5837 1
2002-09-26  Kenichi Handa  <handa@@etl.go.jp>
d5839 2
a5840 4
	* xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY.  If it is
	nonzero, try face's family at first.  Otherwise try FAMILY at first.
	(choose_face_font): If C is a single byte char or latin-1, call
	try_font_list with PREFER_FACE_FAMILY 1.
d5842 2
a5843 1
2002-09-21  Richard M. Stallman  <rms@@gnu.org>
d5845 1
a5845 3
	* window.c (select_window_1): Don't select frame.
	Set frame's selected window only when frame itself is selected.
	(Fselect_window): Doc fix.
d5847 1
a5847 1
2002-09-18  Kim F. Storm  <storm@@cua.dk>
d5849 2
a5850 2
	* process.c (make-network-process): Doc fix (there is no
	network-server-log-function hook).
d5852 1
a5852 1
2002-09-18  Richard M. Stallman  <rms@@gnu.org>
d5854 22
a5875 2
	* print.c (print): Clear out the unused parts of Vprint_number_table.
	(syms_of_print): Doc fix for `print-number-table'.
d5877 7
a5883 1
	* unexelf.c (unexec): Undo previous change.
d5885 1
a5885 1
2002-09-17  Andreas Schwab  <schwab@@suse.de>
d5887 1
a5887 1
	* m/alpha.h [LINUX]: Don't define DATA_START.
d5889 1
a5889 1
2002-09-16  Dave Love  <fx@@gnu.org>
d5891 3
a5893 2
	* unexelf.c (unexec): Deal with .got, reinstating change from
	25-08-1999.
d5895 1
a5895 1
2002-09-13  Richard M. Stallman  <rms@@gnu.org>
d5897 1
a5897 1
	* s/sol2-6.h (UNEXEC): Comment out definition.
d5899 1
a5899 1
	* unexsol.c (unexec): Don't downcase first letter of error msg.
d5901 4
a5904 1
	* xfaces.c (Fcolor_supported_p): Just one arg is required.
d5906 1
a5906 1
2002-09-12  Markus Rost  <rost@@math.ohio-state.edu>
d5908 2
a5909 1
	* unexsol.c: Include buffer.h, charset.h, coding.h.
d5911 7
a5917 1
2002-09-11  Richard M. Stallman  <rms@@gnu.org>
d5919 1
a5919 2
	* unexsol.c: Don't use report_file_error; do it by hand
	using dlerror.
d5921 10
a5930 2
	* process.c (wait_reading_process_input, both versions):
	Before calling turn_on_atimers, call stop_polling.
d5932 1
a5932 1
	* emacs.c (syms_of_emacs) <command-line-args>: Doc fix.
d5934 3
a5936 4
	* xdisp.c (try_scrolling): If after make_cursor_line_fully_visible
	we go to too_near_end, call clear_glyph_matrix.
	(redisplay_window): After make_cursor_line_fully_visible,
	call clear_glyph_matrix and bypass `goto done'.
d5938 1
a5938 2
	* xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0
	and we have non-toolkit scroll bars, return nil for scroll-bar-width.
d5940 5
a5944 1
2002-09-10  Richard M. Stallman  <rms@@gnu.org>
d5946 1
a5946 6
	* fileio.c (Fdo_auto_save): Catch error making directory.
	Only call push_message if we need to.
	At the same time, make an unwind-protect to pop it.
	Rename local message_p to old_message_p.
	(do_auto_save_make_dir, do_auto_save_eh): New functions.
	(do_auto_save_unwind): Don't call pop_message.
d5948 4
a5951 1
	* lisp.h (pop_message_unwind): Renamed from push_message_unwind.
d5953 1
a5953 1
	* keyboard.c (Fexecute_extended_command): Use pop_message_unwind.
d5955 2
a5956 1
	* alloc.c (Fgarbage_collect): Use pop_message_unwind.
d5958 1
a5958 1
	* xdisp.c (pop_message_unwind): Renamed from push_message_unwind.
d5960 2
a5961 1
2002-09-10  Stefan Monnier  <monnier@@cs.yale.edu>
d5963 8
a5970 3
	* regex.c (DISCARD_FAILURE_REG_OR_COUNT): Delete.
	(CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1.
	(re_match_2_internal): Be more careful with infinite loops.
d5972 1
a5972 1
2002-09-10  Kim F. Storm  <storm@@cua.dk>
d5974 2
a5975 2
	* macros.c (end_kbd_macro): New function.
	(Fend_kbd_macro): Use it.
d5977 1
a5977 1
	* macros.h (end_kbd_macro): Declare extern.
d5979 2
a5980 2
	* keyboard.c (Fdiscard_input): If defining keyboard macro,
	end and save it instead of discarding it.
d5982 1
a5982 1
2002-09-09  Markus Rost  <rost@@math.ohio-state.edu>
d5984 2
a5985 1
	* s/sol2-6.h: Fix typo.  Add comment.
d5987 1
a5987 1
2002-09-09  Richard M. Stallman  <rms@@gnu.org>
d5989 1
a5989 1
	* regex.c (regnum_t): Use signed int, not unsigned int.
d5991 1
a5991 1
	* s/sol2-6.h: New file.
d5993 2
a5994 1
	* s/sol2-5.h (UNEXEC): Definition deleted.
d5996 2
a5997 1
2002-09-08  Kim F. Storm  <storm@@cua.dk>
d5999 1
a5999 2
	* macros.c (executing_macro_index): Change type to EMACS_INT.
	(syms_of_macros): DEFVAR_INT it  (needed by kmacro).
d6001 1
a6001 1
	* macros.h (executing_macro_index): Change type to EMACS_INT.
d6003 1
a6003 1
2002-09-06  Richard M. Stallman  <rms@@gnu.org>
d6005 1
a6005 1
	* casetab.c (set_case_table): Make canon table point to eqv table.
d6007 1
a6007 1
2002-09-06  Juanma Barranquero  <lektu@@terra.es>
d6009 4
a6012 1
	* coding.c (syms_of_coding): Fix spacing.
d6014 1
a6014 2
	* composite.c (Fcompose_region_internal)
	(Fcompose_string_internal): Likewise.
d6016 3
a6018 1
	* data.c (Flsh): Likewise.
d6020 1
a6020 1
	* fontset.c (Fset_fontset_font): Likewise.
d6022 1
a6022 1
	* macfns.c (Fx_server_max_request_size): Likewise.
d6024 1
a6024 1
	* w16select.c (syms_of_win16select): Likewise.
d6026 1
a6026 1
	* w32select.c (syms_of_w32select): Likewise.
d6028 2
a6029 1
	* xselect.c (syms_of_xselect): Likewise.
d6031 4
a6034 1
2002-09-05  Richard M. Stallman  <rms@@gnu.org>
d6036 2
a6037 8
	* regex.c (set_image_of_range_1): In no-TRANSLATE case,
	call EXTEND_RANGE_TABLE and return a proper value.
	(set_image_of_range): Don't call set_image_of_range_1
	if no TRANSLATE or if range includes all of Latin-1.
	Only call it for the Latin-1 part of the range.
	For other cases, make two separate ranges,
	one for the original specified characters and one for
	their case-conversions.
d6039 8
a6046 1
2002-09-04  Richard M. Stallman  <rms@@gnu.org>
d6048 2
a6049 1
	* s/sol2-5.h (UNEXEC): Use unexsol.o.
d6051 5
a6055 2
	* window.c (displayed_window_lines): Correct for one-off bug
	in HEIGHT on non-window displays.
d6057 9
a6065 8
	* regex.c (set_image_of_range_1): New function.
	(set_image_of_range): Use set_image_of_range_1 for Latin-1.
	Return a value to indicate running out of memory.
	(SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range.
	(extend_range_table_work_area): New subroutine.
	(EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA.
	Different calling conventions, and used from set_image_of_range{,_1}.
	(IMMEDIATE_QUIT_CHECK): Definitions moved.
d6067 1
a6067 1
2002-09-04  Juanma Barranquero  <lektu@@terra.es>
d6069 1
a6069 1
	* makefile.w32-in: All dependencies updated.
d6071 9
a6079 1
2002-09-01  Richard M. Stallman  <rms@@gnu.org>
d6081 11
a6091 1
	* unexsol.c: New file.
d6093 1
a6093 1
	* xfns.c (Qbox): Declare external, don't define.
d6095 5
a6099 3
	* xdisp.c (redisplay_window) <force-start case>:
	If point is on semi-visible last line, reposition
	it at previous line.
d6101 1
a6101 2
	* alloc.c (display_malloc_warning): Use display-warning.
	(malloc_warning_1): Function deleted.
d6103 1
a6103 1
	* alloc.c [ALLOC_DEBUG]: #undef INLINE.
d6105 1
a6105 1
	* lread.c (read1): Handle #! by skipping the line.
d6107 2
a6108 1
2002-08-31  Richard M. Stallman  <rms@@gnu.org>
d6110 1
a6110 3
	* Makefile.in (TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS.
	Don't include LDFLAGS.
	(temacs): Pass LDFLAGS separately, and not via YMF_PASS_LDFLAGS.
d6112 1
a6112 1
2002-08-31  Eli Zaretskii  <eliz@@is.elta.co.il>
d6114 1
a6114 2
	* xdisp.c (get_window_cursor_type): Don't use x_highlight_frame
	member of x_display_info unless we compile for some window system.
d6116 1
a6116 1
2002-08-31  Kim F. Storm  <storm@@cua.dk>
d6118 2
a6119 3
	* xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed.
	(get_window_cursor_type): Don't use them.
	(syms_of_xdisp): Remove intern, staticpro, and defvar for them.
d6121 11
a6131 1
2002-08-30  Kenichi Handa  <handa@@etl.go.jp>
d6133 24
a6156 1
	* xdisp.c (get_next_display_element): Fix previous change.
d6158 21
a6178 1
2002-08-30  Andrew Choi  <akochoi@@shaw.ca>
d6180 1
a6180 3
	* macterm.c (expose_overlaps): New function (merge code from xterm.c).
	(expose_window): Use it to fix the display of overlapping
	rows (merge code from xterm.c).
d6182 2
a6183 1
	* macfns.c (Qbox): Add extern declaration.
d6185 1
a6185 1
2002-08-30  Juanma Barranquero  <lektu@@terra.es>
d6187 6
a6192 2
	* w32fns.c (Qbox): Make extern.
	(syms_of_w32fns): Remove initialization of Qbox.
d6194 1
a6194 1
2002-08-30  Rune Kleveland  <runekl@@viewpoint.no>  (tiny change)
d6196 2
a6197 1
	* xfns.c (Fx_open_connection): Fix error message.
d6199 1
a6199 1
2002-08-30  Kim F. Storm  <storm@@cua.dk>
d6201 2
a6202 3
	The following changes consolidates the handling of the cursor
	type in xdisp.c, moving duplicate code and functionality from
	xfns.c, xterm.c, w32fns.c, w32term.c, macfns.c, and macterm.c.
d6204 1
a6204 7
	* frame.h (enum text_cursor_kinds): Consolidated here.
	Added DEFAULT_CURSOR value.
	(struct frame) <desired_cursor, cursor_width>
	<blink_off_cursor, blink_off_cursor_width>: New fields.
	Consolidated from output_x, output_w32 and output_mac structs.
	(FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR)
	(FRAME_BLINK_OFF_CURSOR_WIDTH): Macros consolidated here.
d6206 15
a6220 16
	* xdisp.c (Qbar, Qhbar, Qbox, Qhollow, Vblink_cursor_alist):
	Variables consolidated here.
	(Valternate_cursor_type, Qalternate_cursor_type): New variables.
	(Vcursor_in_non_selected_windows): Renamed from
	cursor_in_non_selected_windows and changed to Lisp_Object.
	(syms_of_xdisp): Define and staticpro new and moved variables.
	(get_specified_cursor_type): Renamed from x_specified_cursor_type;
	consolidated here.  Recognize Qhollow setting.
	(set_frame_cursor_types): New function to set frame cursor types
	based on the frame parameters.
	(get_window_cursor_type): New function to calculate new cursor
	type and width for the specified window.  Based on duplicated
	code consolidated here.
	Enhancements: cursor-in-non-selected-windows may be a cursor type,
	check buffer-local alternate-cursor-type and blink-cursor-alist
	before using built-in blink off methods.
d6222 4
a6225 1
	* dispextern.h (cursor_in_non_selected_windows): Extern removed.
d6227 1
a6227 3
	* lisp.h (Qcursor_in_non_selected_windows): Extern removed.
	(get_specified_cursor_type, get_window_cursor_type)
	(set_frame_cursor_types): Added prototypes.
d6229 5
a6233 4
	* macfns.c (x_specified_cursor_type): Removed.
	(x_set_cursor_type): Use set_frame_cursor_types.
	(Qbar, Qbox): Removed.
	(syms_of_macfns): Don't intern or staticpro them.
d6235 1
a6235 6
	* macterm.c (x_specified_cursor_type): Remove prototype.
	(x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH.
	(x_display_and_set_cursor): Use get_window_cursor_type.
	Remove unused local variables cursor_non_selected, active_cursor.
	Redraw cursor if hbar cursor width changes.
	(make_mac_frame): Set FRAME_DESIRED_CURSOR.
d6237 2
a6238 4
	* macterm.h (enum text_cursor_kinds): Removed.
	(struct output_mac) <current_cursor, desired_cursor, cursor_width>
	<blink_off_cursor, blink_off_cursor_width>: Members removed.
	(FRAME_DESIRED_CURSOR): Macro removed.
d6240 3
a6242 5
	* w32fns.c (Vblink_cursor_alist): Removed.
	(Qbar, Qhbar, Qbox, Qhollow): Removed.
	(syms_of_w32fns): Don't intern, staticpro, or define them.
	(x_specified_cursor_type): Removed.
	(x_set_cursor_type): Use set_frame_cursor_types.
d6244 3
a6246 6
	* w32term.c (x_specified_cursor_type): Remove prototype.
	(x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH.
	(x_display_and_set_cursor): Use get_window_cursor_type.
	Remove unused local variables cursor_off_state.
	Redraw cursor if hbar cursor width changes.
	Changed all occurrences of w32_highlight_frame to x_highlight_frame.
d6248 4
a6251 7
	* w32term.h (enum text_cursor_kinds): Removed.
	(struct output_w32) <current_cursor, desired_cursor, cursor_width>
	<blink_off_cursor, blink_off_cursor_width>: Members removed.
	(FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR)
	(FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed.
	(struct w32_display_info) <x_highlight_frame>: Renamed member from
	w32_highlight_frame.
d6253 1
a6253 5
	* xfns.c (Vblink_cursor_alist): Removed.
	(Qbar, Qhbar, Qbox, Qhollow): Removed.
	(syms_of_xfns): Don't intern, staticpro, or define them.
	(x_specified_cursor_type): Removed.
	(x_set_cursor_type): Use set_frame_cursor_types.
d6255 3
a6257 5
	* xterm.c (x_specified_cursor_type): Remove prototype.
	(x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH.
	(x_display_and_set_cursor): Use get_window_cursor_type.
	Remove unused local variables cursor_off_state.
	Redraw cursor if hbar cursor width changes.
d6259 1
a6259 6
	* xterm.h (enum text_cursor_kinds): Removed.
	(struct output_x) <current_cursor, desired_cursor, cursor_width>
	<blink_off_cursor, blink_off_cursor_width>: Members removed.
	(FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR)
	(FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed.
	(x_specified_cursor_type): Remove prototype.
d6261 1
a6261 1
2002-08-28  Richard M. Stallman  <rms@@gnu.org>
d6263 1
a6263 8
	* w32fns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and
	FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist.
	(Vblink_cursor_alist): New variable.
	(syms_of_w32fns): Initialize and defvar it.
	(x_specified_cursor_type): Recognize Qbox for filled box.
	Exceptions are hollow boxes.
	(Qbox, Qhollow): New variables.
	(syms_of_w32fns): Initialize and staticpro them.
d6265 3
a6267 5
	* w32term.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH):
	New macros.
	(struct w32_output): New fields blink_off_cursor,
	blink_off_cursor_width.
	(FRAME_CURSOR_WIDTH): New macro.
d6269 4
a6272 2
	* w32term.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR
	and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off.
d6274 2
a6275 2
	* w32term.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH
	for bar cursor.
d6277 5
a6281 2
	* w32term.c (expose_overlaps): New function.
	(expose_window): Use it to fix the display of overlapping rows.
d6283 2
a6284 1
2002-08-28  Simon Josefsson  <jas@@extundo.com>
d6286 2
a6287 2
	* xfns.c (Fx_open_connection): Improve help when X connection
	fails, xhost is insecure and xauth is better.
d6289 1
a6289 1
2002-08-28  Juanma Barranquero  <lektu@@terra.es>
d6291 2
a6292 2
	* makefile.w32-in: Add missing dependencies on w32term.h and
	composite.h.
d6294 1
a6294 1
	* emacs.c (USAGE1): Add missing newline.
d6296 6
a6301 1
2002-08-27  Andrew Choi  <akochoi@@shaw.ca>
d6303 2
a6304 1
	* s/darwin.h [HAVE_LIBNCURSES]: Define HAVE_TERMINFO.
d6306 1
a6306 1
2002-08-27  Richard M. Stallman  <rms@@gnu.org>
d6308 6
a6313 8
	* xfns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and
	FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist.
	(Vblink_cursor_alist): New variable.
	(syms_of_xfns): Initialize and defvar it.
	(x_specified_cursor_type): Recognize Qbox for filled box.
	Exceptions are hollow boxes.
	(Qbox, Qhollow): New variables.
	(syms_of_xfns): Initialize and staticpro them.
d6315 2
a6316 3
	* xterm.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH):
	New macros.
	(struct x_output): New fields blink_off_cursor, blink_off_cursor_width.
d6318 1
a6318 2
	* xterm.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR
	and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off.
d6320 1
a6320 3
	* emacs.c (main): Handle --script.
	(USAGE1): Mention --script.
	(standard_args): Define sort order for --script.
d6322 1
a6322 1
2002-08-27  Gerd Moellmann  <gerd.moellmann@@t-online.de>
d6324 1
a6324 8
	* xdisp.c (redisplay_updating_p): Variable removed.
	(inhibit_free_realized_faces, Qinhibit_free_realized_faces):
	New variables.
	(init_iterator): Don't free realized faces if
	inhibit_free_realized_faces is set.
	(redisplay_internal): Bind Qinhibit_free_realized_faces to nil.
	(syms_of_xdisp): DEFVAR_BOOL inhibit-free-realized-faces,
	initialize Qinhibit_free_realized_faces.
d6326 1
a6326 2
	* dispextern.h (PRODUCE_GLYPHS): Set inhibit_free_realized_faces
	when iterator is adding glyphs to a glyph matrix.
d6328 4
a6331 1
2002-08-27  Kenichi Handa  <handa@@etl.go.jp>
d6333 3
a6335 3
	* xdisp.c (get_next_display_element): In unibyte case, don't use
	octal form for such eight-bit characters that can be converted to
	multibyte char.
d6337 1
a6337 1
2002-08-26  Kim F. Storm  <storm@@cua.dk>
d6339 1
a6339 2
	* frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize foreground
	and background colors.  From Joe Buehler (tiny change).
d6341 1
a6341 1
2002-08-26  Miles Bader  <miles@@gnu.org>
d6343 10
a6352 1
	* bytecode.c (Fbyte_code): Fsub1 can GC, so protect it.
d6354 4
a6357 1
2002-08-25  Andrew Choi  <akochoi@@shaw.ca>
d6359 1
a6359 2
	* emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is
	defined instead of MAC_OSX.
d6361 7
a6367 4
	* s/darwin.h (select): Define select to sys_select only if
	HAVE_CARBON is defined.
	(HAVE_WORKING_VFORK): #undef it.  Define vfork to fork.
	(DONT_REOPEN_PTY): #def it.
d6369 3
a6371 3
	* macterm.c (XTread_socket): Remove code to call
	SendEventToEventTarget for keys with command modifiers when
	mac_command_key_is_meta is nil.
d6373 1
a6373 1
2002-08-24  Andreas Schwab  <schwab@@suse.de>
d6375 3
a6377 1
	* eval.c (Fdefvar): Fix last change.
d6379 1
a6379 1
2002-08-23  Richard M. Stallman  <rms@@gnu.org>
d6381 2
a6382 5
	* eval.c (Fdefvar, Fdefconst, Fdefvaralias):
	Record variables in load history as (defvar . VAR).
	(Fdefvar): Don't record in load history if no initial value.
	(Qdefvar): New variable.
	(syms_of_eval): Init and staticpro it.
d6384 1
a6384 3
	* lread.c (syms_of_lread): Doc fix.
	(build_load_history): Use Fmember to see if a definition
	is already in the Vload_history element.
d6386 6
a6391 1
	* process.c (Fstart_process): Remove /: from program name.
d6393 1
a6393 2
	* emacs.c (decode_env_path): Don't add /: if file name handler
	has a `safe-magic' property.
d6395 17
a6411 1
	* callproc.c (Fcall_process): Remove /: from program name.
d6413 1
a6413 1
2002-08-23  Stefan Monnier  <monnier@@cs.yale.edu>
d6415 2
a6416 8
	* regex.c (PATFETCH): Remove the translating fetch.
	(PATFETCH_RAW): Rename to PATFETCH.
	(set_image_of_range): New fun.
	(SET_RANGE_TABLE_WORK_AREA): Use it.
	(regex_compile): Don't translate the pattern chars so eagerly.
	Only do it when inserting an `exactn' bytecode or when handling
	a char-range.
	(mutually_exclusive_p): Avoid empty statement.
d6418 2
a6419 1
2002-08-22  Kim F. Storm  <storm@@cua.dk>
d6421 2
a6422 6
	* xdisp.c (redisplay_window): Do not `goto try_to_scroll' when we
	end up on a partially visible line; this reverts a specific part
	of the 2002-07-07 change by Richard M. Stallman to "fix" a nasty
	display error which has been reported several times now.
	However it introduces the problem that changes was supposed to fix.
	See my comments in the source if you want to debug this further.
d6424 9
a6432 1
2002-08-20  Kenichi Handa  <handa@@etl.go.jp>
d6434 2
a6435 1
	* abbrev.c (Fexpand_abbrev): Fix for the multibyte case.
d6437 1
a6437 1
2002-08-19  Eli Zaretskii  <eliz@@is.elta.co.il>
d6439 6
a6444 1
	* msdos.c (croak): Add `void' to definition.
d6446 1
a6446 2
	* sysdep.c [MSDOS] (request_sigio, unrequest_sigio):
	Don't define them, they are defined in msdos.c.
d6448 2
a6449 1
	* mem-limits.h [MSDOS]: Declare etext.
d6451 1
a6451 2
	* fileio.c (Ffile_name_directory) [DOS_NT]: Don't declare `beg'
	`const' since CORRECT_DIR_SEPS modifies its target.
d6453 2
a6454 1
2002-08-19  Kim F. Storm  <storm@@cua.dk>
d6456 1
a6456 3
	* keyboard.c (Fclear_this_command_keys): Added optional arg
	KEEP-RECORD to avoid clearing lossage when we just want to clear
	the current key sequence (kmacro needs this).
d6458 5
a6462 1
2002-08-19  Kenichi Handa  <handa@@localhost>
d6464 1
a6464 1
	* composite.c (run_composition_function): Call FUNC if it is fboundp.
d6466 2
a6467 2
	* composite.h (COMPOSITION_MODIFICATION_FUNC): If PROP is not a
	cons, return Qnil.
d6469 2
a6470 1
2002-08-17  Richard M. Stallman  <rms@@gnu.org>
d6472 2
a6473 1
	* s/sol2-5.h (BROKEN_SIGIO): Add #undef.
d6475 1
a6475 1
	* sysdep.c [!VMS]: Include sys/files.h.
d6477 1
a6477 1
	* editfns.c (save_restriction_restore): Defend from unchained marker.
d6479 1
a6479 2
	* buffer.c (overlays_at): Handle extending vec uniformly.
	(overlays_in): Handle extending vec from length 0 as in overlays_at.
d6481 2
a6482 1
2002-08-15  Andrew Choi  <akochoi@@shaw.ca>
d6484 1
a6484 1
	* mac.c (init_mac_osx_environment): New function.
d6486 3
a6488 1
	* emacs.c (main) [MAC_OSX]: Call init_mac_osx_environment.
d6490 1
a6490 1
2002-08-14  Kim F. Storm  <storm@@cua.dk>
d6492 2
a6493 5
	* macros.c (Fstart_kbd_macro): Added NO-EXEC argument to inhibit
	executing macro before appending to it (when used from Lisp).
	(Fexecute_kbd_macro): Added LOOPFUNC argument to supply function
	which is called prior to each iteration of macro (for kmacro.el).
	(Fend_kbd_macro, Fcall_last_kbd_macro): Likewise.
d6495 1
a6495 1
	* lisp.h (Fexecute_kbd_macro): Update prototype.
d6497 9
a6505 1
	* keyboard.c (Fcommand_execute): Update call to Fexecute_kbd_macro.
d6507 1
a6507 1
2002-08-14  Kenichi Handa  <handa@@etl.go.jp>
d6509 1
a6509 11
	* xselect.c (QUTF8_STRING): New variable.
	(symbol_to_x_atom): Pay attention to QUTF8_STRING.
	(x_atom_to_symbol): Likewise.
	(x_get_local_selection): New argument local_request.  If it is
	nonzero, call handler_fn with the second arg nil.
	(x_handle_selection_request): Call x_get_local_selection with
	local_request 0.
	(lisp_data_to_selection_data): Don't encode the string here.
	(Fx_get_selection_internal): Call x_get_local_selection with
	local_request 1.
	(syms_of_xselect): Intern and staticpro QUTF8_STRING.
d6511 2
a6512 1
	* xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING.
d6514 1
a6514 1
	* xterm.h (struct x_display_info): New member Xatom_UTF8_STRING.
d6516 4
a6519 1
2002-08-13  Richard M. Stallman  <rms@@gnu.org>
d6521 1
a6521 3
	* minibuf.c (Fminibufferp): New function.
	(syms_of_minibuf): Defsubr it.
	(Fminibuffer_prompt_end): Handle non-minibuffers specially.
d6523 4
a6526 1
2002-08-13  Gerd Moellmann  <gerd.moellmann@@t-online.de>
d6528 1
a6528 1
	* coding.c (Funencodable_char_position): Lisp_Object/int mixup.
d6530 4
a6533 1
2002-08-12  Richard M. Stallman  <rms@@gnu.org>
d6535 1
a6535 4
	* syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H.
	[!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED)
	(WSTOPSIG, WTERMSIG): Define each one independently if not defined
	already.
d6537 1
a6537 1
	* buffer.c (syms_of_buffer) <fill-column>: Doc fix.
d6539 2
a6540 1
2002-08-11  Andrew Choi  <akochoi@@shaw.ca>
d6542 1
a6542 10
	* macterm.c (XTmouse_position): Check wp with is_emacs_window.
	(Vmac_pass_command_to_system): New variable.
	(Vmac_pass_control_to_system): New variable.
	(do_mouse_moved): Check wp with is_emacs_window.
	(XTread_socket): Check window_ptr with is_emacs_window.
	Call FrontNonFloatingWindow instead of FrontWindow.  Send keydown
	events back to Mac Toolbox for processing, depending on values of
	Vmac_pass_command_to_system and Vmac_pass_control_to_system.
	(syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and
	Vmac_pass_control_to_system.
d6544 3
a6546 1
2002-08-10  Kenichi Handa  <handa@@etl.go.jp>
d6548 1
a6548 3
	* coding.c (unencodable_char_position): New function.
	(Funencodable_char_position): New function.
	(syms_of_coding): Defsubr Funencodable_char_position.
d6550 2
a6551 1
2002-08-10  Andrew Choi  <akochoi@@shaw.ca>
d6553 1
a6553 1
	* mac.c (sys_select) [MAC_OSX]: New function.
d6555 1
a6555 2
	* macterm.c (MakeMeTheFrontProcess): New function.
	(mac_initialize): Call MakeMeTheFrontProcess.
d6557 8
a6564 1
	* s/darwin.h: Define select to sys_select.
d6566 2
a6567 1
2002-08-09  Richard M. Stallman  <rms@@gnu.org>
d6569 2
a6570 1
	* keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT.
d6572 3
a6574 1
2002-08-09  Gerd Moellmann  <gerd.moellmann@@t-online.de>
d6576 1
a6576 2
	* xdisp.c (forward_to_next_line_start): Return 0 when reaching the
	end of the buffer.
d6578 2
a6579 1
2002-08-08  Ken Raeburn  <raeburn@@mit.edu>
d6581 1
a6581 1
	* coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup.
d6583 2
a6584 1
	* puresize.h (BASE_PURESIZE): Increase to 910000.
d6586 1
a6586 1
2002-08-08  Kenichi Handa  <handa@@etl.go.jp>
d6588 4
a6591 2
	* coding.c (Ffind_operation_coding_system): For write-region, if
	VISIT is a filename, make it the target.
d6593 1
a6593 1
2002-08-07  Richard M. Stallman  <rms@@gnu.org>
d6595 2
a6596 2
	* alloc.c (mark_object): Detect long lists for debugging.
	(mark_object_loop_halt): New variable.
d6598 1
a6598 1
	* s/hpux10.h (C_SWITCH_SYSTEM): #undef it.
d6600 6
a6605 1
	* data.c (Fmake_variable_frame_local): Doc fix.
d6607 1
a6607 1
2002-08-01  David Ponce  <david@@dponce.com>
d6609 1
a6609 3
	* w32menu.c (local_heap, local_alloc, local_free): New macros.
	(malloc_widget_value, free_widget_value)
	(w32_free_submenu_strings): Use them.
d6611 1
a6611 5
	(push_submenu_start, push_submenu_end, push_left_right_boundary)
	(push_menu_pane, push_menu_item, single_keymap_panes)
	(single_menu_item, Fx_popup_menu, menubar_selection_callback)
	(single_submenu, set_frame_menubar)
	(w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE.
d6613 1
a6613 2
	(Fx_popup_menu): Don't show pop up menu until preceding one is
	actually cleaned up.  Moved UNGCPRO outside #ifdef HAVE_MENUS block.
d6615 1
a6615 8
	* w32menu.c: Changes adapted from xmenu.c
	(set_frame_menubar): First parse all submenus,
	then make widget_value trees from them.
	Don't allocate any widget_value objects
	until we are done with the parsing.
	(parse_single_submenu): New function.
	(digest_single_submenu): New function.
	(single_submenu): Function deleted, replaced by those two.
d6617 6
a6622 1
2002-08-04  Andrew Choi  <akochoi@@shaw.ca>
d6624 1
a6624 3
	* macterm.c (XTread_socket): Check that FrontNonFloatingWindow
	returns a valid window pointer before proceeding for keyDown and
	autoKey events.
d6626 1
a6626 1
2002-08-03  Andrew Choi  <akochoi@@shaw.ca>
d6628 53
a6680 17
	* macterm.c (USE_CARBON_EVENTS): New macro.
	(macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros.
	(x_iconify_frame): Call CollapseWindow.
	(Vmac_reverse_ctrl_meta): New variable.
	(Vmac_wheel_button_is_mouse_2): New variable.
	(init_mac_drag_n_drop): New function.
	(mac_do_receive_drag): New function.
	(mac_handle_service_event): New function.
	(init_service_handler): New function.
	(mac_to_emacs_modifiers): New function.
	(mac_event_to_emacs_modifiers): New function.
	(mac_get_mouse_btn): New function.
	(mac_convert_event_ref): New function.
	(XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent,
	SendEventToEventTarget, mac_event_to_emacs_modifiers, and
	mac_get_mouse_btn.
	(mac_initialize): Call init_mac_drag_n_drop and init_service_handler.
d6682 1
a6682 7
	* keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and
	lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT.
	(kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and
	TOOL_BAR_EVENT for MAC_OS as well.
	(make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well
	as for WINDOWS_NT.
	(syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX.
d6684 1
a6684 1
	* termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX.
d6686 1
a6686 1
2002-08-03  Gerd Moellmann  <gerd.moellmann@@t-online.de>
d6688 3
a6690 2
	* xdisp.c (forward_to_next_line_start): Fix a condition that
	lead to a newline being skipped.
d6692 1
a6692 1
2002-08-02  Andrew Choi  <akochoi@@shaw.ca>
d6694 1
a6694 1
	* mac.c (syms_of_mac): Defsubr Sx_selection_exists_p.
d6696 1
a6696 1
2002-08-01  Richard M. Stallman  <rms@@gnu.org>
d6698 1
a6698 1
	* Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o.
d6700 1
a6700 1
2002-07-31  Andrew Choi  <akochoi@@shaw.ca>
d6702 1
a6702 1
	* macfns.c: #undef init_process before #define-ing it.
d6704 1
a6704 2
	* s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if
	HAVE_CARBON is defined.
d6706 1
a6706 1
2002-07-31  Richard M. Stallman  <rms@@gnu.org>
d6708 1
a6708 7
	* xmenu.c (set_frame_menubar): First parse all submenus,
	then make widget_value trees from them.
	Don't allocate any widget_value objects
	until we are done with the parsing.
	(parse_single_submenu): New function.
	(digest_single_submenu): New function.
	(single_submenu): Function deleted, replaced by those two.
d6710 2
a6711 1
2002-07-30  Juanma Barranquero  <lektu@@terra.es>
d6713 1
a6713 2
	* w32proc.c (syms_of_ntproc): Fix docstring of
	`w32-get-true-file-attributes'.
d6715 1
a6715 1
2002-07-28  Richard M. Stallman  <rms@@gnu.org>
d6717 1
a6717 2
	* s/hpux8.h (HPUX8): Define this before including hpux.h.
	(HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide.
d6719 2
a6720 1
	* s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8.
d6722 2
a6723 3
	* keyboard.c (make_lispy_event):
	Use #ifdef to test USE_TOOLKIT_SCROLL_BARS.
	Explicitly clear up_modifier in event->modifiers.
d6725 1
a6725 1
2002-07-27  Richard M. Stallman  <rms@@gnu.org>
d6727 3
a6729 1
	* xterm.h (FRAME_CURSOR_WIDTH): New macro.
d6731 1
a6731 2
	* xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH
	for bar cursor.
d6733 1
a6733 1
2002-07-26  Kenichi Handa  <handa@@etl.go.jp>
d6735 1
a6735 3
	* coding.c (detect_coding_iso2022): While checking a byte sequence
	for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check
	it in the normal loop.
d6737 5
a6741 1
2002-07-24  Gerd Moellmann  <gerd.moellmann@@t-online.de>
d6743 1
a6743 2
	* xterm.c (expose_overlaps): New function.
	(expose_window): Use it to fix the display of overlapping rows.
d6745 1
a6745 1
	* xdisp.c (unwind_redisplay): Clear redisplay_updating_p.
d6747 2
a6748 1
2002-07-23  Ken Raeburn  <raeburn@@gnu.org>
d6750 1
a6750 2
	* lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well,
	since it only depends on XUINT.
d6752 3
a6754 4
	* m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT,
	EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS,
	PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR):
	Macros deleted.
d6756 2
a6757 4
	* mem-limits.h (start_of_data): If DATA_START is defined, prefer
	its value over other approaches.
	* sysdep.c (start_of_data): Don't define the function if a macro
	form has been defined.
d6759 11
a6769 1
2002-07-23  Gerd Moellmann  <gerd.moellmann@@t-online.de>
d6771 1
a6771 5
	* xdisp.c (redisplay_updating_p): New variable.
	(init_iterator): Don't free realized faces when
	redisplay_updating_p is set.
	(redisplay_internal): Set redisplay_updating_p while updating
	the display.
d6773 1
a6773 1
2002-07-23  Richard M. Stallman  <rms@@gnu.org>
d6775 1
a6775 1
	* editfns.c (Fmessage): Treat "" like nil.
d6777 1
a6777 1
2002-07-23  Kenichi Handa  <handa@@etl.go.jp>
d6779 3
a6781 2
	* xdisp.c (face_before_or_after_it_pos):
	Call FETCH_MULTIBYTE_CHAR with byte postion, not char position.
d6783 1
a6783 1
2002-07-22  Juanma Barranquero  <lektu@@terra.es>
d6785 1
a6785 3
	* callproc.c (init_callproc) [DOS_NT]:
	Initialize Vshared_game_score_directory to nil.
	(syms_of_callproc) [DOS_NT]: Likewise.
d6787 3
a6789 1
2002-07-22  Gerd Moellmann  <gerd.moellmann@@t-online.de>
d6791 3
a6793 1
	* xdisp.c (display_line): Replace an abort with xassert.
d6795 1
a6795 1
2002-07-21  Richard M. Stallman  <rms@@gnu.org>
d6797 1
a6797 4
	* xdisp.c (redisplay_window): Don't test BEG_UNCHANGED
	and END_UNCHANGED when setting buffer_unchanged_p.
	Use current_matrix_up_to_date_p to decide whether to use
	try_cursor_movement.
d6799 1
a6799 1
	* config.in (HAVE_SHARED_GAME_DIR): Undef deleted.
d6801 1
a6801 1
	* epaths.in (PATH_GAME): New macro, edited by ../Makefile.in.
d6803 1
a6803 3
	* callproc.c (init_callproc): Set up Vshared_game_score_directory.
	Set to nil if dir does not exist.
	(syms_of_callproc): Init unconditionally and simply.
d6805 1
a6805 1
	* buffer.c (Fbuffer_list): Doc fix.
d6807 1
a6807 1
2002-07-21  Ken Raeburn  <raeburn@@gnu.org>
d6809 1
a6809 1
	* sysdep.c (end_of_text, end_of_data): Unused functions deleted.
d6811 1
a6811 2
	* buffer.c (mmap_realloc): When shrinking, make sure number of
	pages to unmap is rounded towards zero.
d6813 2
a6814 2
	* m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted.
	(XSETINT): Deleted.
d6816 1
a6816 8
	* m/att3b.h (XINT): Don't define.
	(VALBITS, VALMASK, XTYPE): Deleted.
	(DATA_SEG_BITS): Define.
	* m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET,
	ARRAY_MARK_FLAG): Deleted.
	(DATA_SEG_BITS): Define.
	* m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted.
	(DATA_SEG_BITS): Define.
d6818 2
a6819 1
2002-07-20  Richard M. Stallman  <rms@@gnu.org>
d6821 1
a6821 2
	* print.c (print_error_message): New args CONTEXT and CALLER.
	Calls changed.
d6823 1
a6823 1
	* lisp.h (print_error_message): Declare new args.
d6825 1
a6825 4
	* keyboard.c (cmd_error_internal): Pass Vsignaling_function
	and CONTEXT to print_error_message, don't print them here.
	For a Quit, don't use Vsignaling_function.
	Call message_log_maybe_newline.
d6827 2
a6828 1
	* Makefile.in (xsmfns.o): Don't depend on lisp.h.
d6830 2
a6831 1
2002-07-20  Kim F. Storm  <storm@@cua.dk>
d6833 4
a6836 1
	* xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p.
d6838 1
a6838 1
2002-07-19  Ken Raeburn  <raeburn@@gnu.org>
d6840 2
a6841 31
	* bytecode.c (struct byte_stack): Pointers into byte string now
	point to const.
	* callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to
	const.
	* charset.h (BCOPY_SHORT): Source pointer now points to const.
	* coding.c (encode_eol, detect_coding, detect_eol):
	(decode_coding, encode_coding, detect_coding_system):
	Source strings now treated as const.
	(decode_coding_string, encode_coding_string): Use STRING_COPYIN to
	modify Lisp string contents.
	* coding.h (decode_coding, encode_coding, detect_coding,
	detect_eol): Declarations updated.
	* composite.c (compose_chars_in_text): Treat Lisp string contents
	as const.
	* dispnew.c (safe_bcopy): Source pointer now points to const.
	* lisp.h (STRING_COPYIN): New macro.
	(detect_coding_system, safe_bcopy, temp_output_buffer_setup):
	(internal_with_output_to_temp_buffer): Declarations updated.
	* print.c (temp_output_buffer_setup):
	(internal_with_output_to_temp_buffer): Buffer name argument is now
	pointer to const.
	* sound.c (struct sound_device): Function pointer field "write"
	buffer argument now points to const.
	(vox_write): Buffer argument points to const.
	* syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string
	contents as const.
	* sysdep.c (emacs_write): Buffer pointer now const.
	* term.c (encode_terminal_code): Buffer pointer now const.
	* xfaces.c (may_use_scalable_font_p): Argument now points to const.
	(x_face_list_fonts, x_update_menu_appearance):
	(hash_string_case_insensitive): Treat Lisp string contents as const.
d6843 2
a6844 1
2002-07-19  Juanma Barranquero  <lektu@@terra.es>
d6846 3
a6848 2
	* fileio.c (Ffile_name_as_directory): Fix argument name in docstring.
	(file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP.
d6850 4
a6853 1
	* xdisp.c (syms_of_xdisp): Remove redundant deprecation info.
d6855 4
a6858 1
	* fileio.c (syms_of_fileio): Likewise.
d6860 1
a6860 1
2002-07-18  Richard M. Stallman  <rms@@gnu.org>
d6862 1
a6862 1
	* data.c (Fdefalias): Doc fix.
d6864 1
a6864 1
2002-07-17  Dave Love  <fx@@gnu.org>
d6866 1
a6866 1
	* intervals.h (text_property_stickiness): Use P_.
d6868 1
a6868 3
	* ccl.c: Remove `emacs' conditionals.
	(ccl_backtrace_table): Fix size spec.
	(ccl_driver): Fix type errors.
d6870 7
a6876 1
2002-07-16  Ken Raeburn  <raeburn@@gnu.org>
d6878 1
a6878 33
	* alloc.c (xstrdup, make_string, make_unibyte_string)
	(make_multibyte_string, build_string): String pointer args now
	point to const.
	* charset.c (find_charset_in_text, c_string_width):
	(chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte):
	* fileio.c (report_file_error):
	* insdel.c (copy_text, count_size_as_multibyte, insert_1):
	(count_combining_before, count_combining_after, insert_1_both):
	(insert, insert_and_inherit, insert_string):
	(insert_before_markers, insert_before_markers_and_inherit):
	* lread.c (intern, oblookup, hash_string):
	* minibuf.c (temp_echo_area_glyphs):
	* search.c (fast_c_string_match_ignore_case):
	* sysdep.c (emacs_open, set_file_times):
	* xfaces.c (xstricmp):
	* xdisp.c (store_frame_title, string_char_and_length):
	(message_dolog, message2, message2_nolog, set_message): Likewise.
	(set_message_1): Cast message string argument to const pointer.
	* editfns.c (general_insert_function): Insertion function now
	takes pointer to const for input data.
	* charset.h (find_charset_in_text, c_string_width):
	(parse_str_as_multibyte): Declarations updated.
	* dispextern.h (xstricmp): Declaration updated.
	* lisp.h (chars_in_text, multibyte_chars_in_text, copy_text):
	(count_size_as_multibyte, count_combining_before):
	(count_combining_after, insert_1, insert_1_both, message_dolog):
	(insert, insert_and_inherit, insert_before_markers)
	(insert_before_markers_and_inherit, set_message, message2):
	(message2_dolog, build_string, make_string, make_unibyte_string):
	(make_multibyte_string, intern, oblookup, report_file_error):
	(fast_c_string_match_ignore_case, temp_echo_area_glyphs):
	(emacs_open, xstrdup): Declarations updated.
	* systime.h (set_file_times): Declaration updated.
d6880 1
a6880 20
	* charset.c (find_charset_in_text, lisp_string_width): Use const
	for pointer to lisp string data.
	* charset.h (FETCH_STRING_CHAR_ADVANCE):
	(FETCH_STRING_CHAR_ADVANCE_NO_CHECK):
	* coding.c (Ffind_coding_systems_region_interval):
	* fileio.c (Ffile_name_directory, Ffile_name_nondirectory):
	(Fmake_directory_internal, Fdelete_directory):
	(Ffile_name_absolute_p, Fwrite_region, double_dollars):
	* fontset.c (font_family_registry, fs_query_fontset):
	(list_fontsets):
	* frame.c (Fframe_parameter):
	* keyboard.c (cmd_error_internal):
	* keymap.c (Fdescribe_buffer_bindings):
	* lread.c (complete_filename_p, openp):
	* minibuf.c (Fminibuffer_complete_word):
	* xdisp.c (string_pos_nchars_ahead, init_from_display_pos):
	(face_before_or_after_it_pos, next_element_from_string):
	(get_overlay_arrow_glyph_row, display_mode_element):
	(decode_mode_spec_coding):
	* xterm.c (same_x_server): Likewise.
d6882 1
a6882 2
	* buffer.c (reset_buffer_local_variables): Delete "#if 0"
	settings of non-existent fields.
d6884 1
a6884 2
	* editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to
	copy a lisp value.
d6886 1
a6886 5
	* lread.c (Fintern_soft): Use string macros instead of
	Lisp_String fields.
	* keyboard.c (echo_char, parse_modifiers_uncached):
	(parse_solitary_modifier, Fexecute_extended_command): Likewise.
	* textprop.c (validate_interval_range, interval_of): Likewise.
d6888 1
a6888 1
	* fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data.
d6890 2
a6891 3
	* charset.h (FETCH_STRING_CHAR_ADVANCE)
	(FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of
	XSTRING()->size_byte.
d6893 1
a6893 26
	* lisp.h (SDATA, SREF): Produce rvalue.
	(SSET): New macro.
	* alloc.c (make_event_array): Use SSET for storing into a string.
	* buffer.c (Fother_buffer): Use SREF when retrieving a byte from
	a string.
	* casefiddle.c (casify_object): Use SSET.
	* charset.h (FETCH_STRING_CHAR_ADVANCE)
	(FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting
	address of string contents.
	* data.c (Faref): Use SDATA.
	(Faset): Use SDATA, SSET.
	* dired.c (directory_files_internal): Use SSET.
	* fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET.
	(Fread_file_name): Use SREF, SSET.
	* fns.c (concat): Use SSET.
	(concat, Fdelete): Use SDATA.
	* insdel.c (insert_from_string_1): Use SDATA.
	* keyboard.c (Fevent_convert_list): Use SREF.
	* lread.c (Fload): Use SDATA, SSET.
	* macfns.c (validate_x_resource_name): Use SSET.
	* process.c (status_message): Use SSET.
	* search.c (wordify): Use SDATA.
	(Freplace_match): Use SREF.
	* w32fns.c (validate_x_resource_name): Use SSET.
	* xfns.c (validate_x_resource_name): Use SSET.
	* xterm.c (x_catch_errors, x_clear_errors): Use SSET.
d6895 2
a6896 1
2002-07-16  Richard M. Stallman  <rms@@gnu.org>
d6898 1
a6898 1
	* s/hpux11.h (USG_SUBTTY_WORKS): Defined.
d6900 2
a6901 6
	* xdisp.c (reconsider_clip_changes):
	Don't test prevent_redisplay_optimizations_p.
	(redisplay_internal): Test prevent_redisplay_optimizations_p
	along with clip_changed in some cases.
	(try_window_id): Likewise.
	(redisplay_window): New local var buffer_unchanged_p.
d6903 4
a6906 1
	* keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass.
d6908 3
a6910 3
	* process.c (create_process): Test USG_SUBTTY_WORKS.
	(process_send_signal): Clean up handling of GID.
	Detect errors in ioctls meant to set GID.
d6912 3
a6914 2
	* window.c (temp_output_buffer_show):
	Don't set prevent_redisplay_optimizations_p.
d6916 4
a6919 1
2002-07-15  Juanma Barranquero  <lektu@@terra.es>
d6921 7
a6927 1
	* eval.c (Fdefvaralias): Add docstring argument.
d6929 1
a6929 1
2002-07-15  Ken Raeburn  <raeburn@@gnu.org>
d6931 3
a6933 8
	* lisp.h (STRING_INTERVALS): Produce rvalue.
	(STRING_SET_INTERVALS): New macro.
	* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it.
	* fns.c (Fstring_as_multibyte): Likewise.
	* intervals.c (balance_possible_root_interval, delete_interval)
	(create_root_interval, copy_intervals_to_string): Likewise.
	* textprop.c (set_text_properties): Likewise.  Use NULL_INTERVAL
	instead of 0.
d6935 1
a6935 1
2002-07-14  Ken Raeburn  <raeburn@@gnu.org>
d6937 7
a6943 5
	* lisp.h (STRING_SET_CHARS): New macro.
	(SCHARS, SBYTES): Produce rvalues.
	* dired.c (directory_files_internal): Use STRING_SET_CHARS.
	* fns.c (concat): Likewise.
	* lread.c (read_vector): Likewise.
d6945 5
a6949 18
	* lisp.h (SMBP): Deleted.  All uses changed to STRING_MULTIBYTE.
	(STRING_SET_UNIBYTE): New macro.
	(SET_STRING_BYTES): Deleted.  Callers (all of which supplied a
	length of -1) changed to use STRING_SET_UNIBYTE.
	* abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c,
	casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c,
	composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c,
	dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c,
	fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c,
	keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c,
	minibuf.c, msdos.c, print.c, process.c, search.c, sound.c,
	sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c,
	w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c,
	w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c,
	xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with
	STRING_BYTES or indirection changed to SCHARS, SBYTES,
	STRING_INTERVALS, SREF, SDATA; explicit size_byte references left
	unchanged for now.
d6951 11
a6961 1
2002-07-13  Kim F. Storm  <storm@@cua.dk>
d6963 15
a6977 1
	* keyboard.c (command_loop_1): Invert check on Vmemory_full.
d6979 1
a6979 1
2002-07-12  Richard M. Stallman  <rms@@gnu.org>
d6981 1
a6981 1
	* fileio.c (Fwrite_region): Doc fix.
d6983 1
a6983 1
	* print.c (print_error_message): Don't handle Vsignaling_function here.
d6985 3
a6987 2
	* keyboard.c (cmd_error_internal): Handle Vsignaling_function here.
	(command_loop_1): Avoid certain actions after memory-full error.
d6989 1
a6989 3
	* eval.c (Fsignal): Don't call cancel_hourglass.
	For a memory-full error, don't call Vsignal_hook_function
	and don't set Vsignaling_function.
d6991 1
a6991 1
	* process.c (process_send_signal): Add abort call.
d6993 3
a6995 1
2002-07-11  Markus Rost  <rost@@math.ohio-state.edu>
d6997 1
a6997 1
	* keymap.c (Fkey_binding): Fix typo.
d6999 1
a6999 1
2002-07-11  Richard M. Stallman  <rms@@gnu.org>
d7001 1
a7001 5
	* alloc.c (Vmemory_full): New variable.
	(Vmemory_signal_data): Renamed from memory_signal_data.
	Uses changed.
	(syms_of_alloc): Defvar them.
	(memory_full, buffer_memory_full): Set Vmemory_full.
d7003 3
a7005 2
	* lisp.h (Vmemory_full): Add declaration.
	(current_column, indented_beyond_p): Change declaration.
d7007 2
a7008 4
	* indent.c (last_known_column): Declare as double, not float.
	(current_column, current_column_1, string_display_width)
	(position_indentation): Return `double'.
	(indented_beyond_p): Arg `column' is `double'.  Callers changed.
d7010 1
a7010 4
	* xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil.
	(back_to_previous_visible_line_start)
	(reseat_at_next_visible_line_start, next_element_from_buffer):
	Use `double', not `float', when calling indented_beyond_p.
d7012 2
a7013 1
	* s/hpux11.h (BROKEN_SA_RESTART): Defined.
d7015 1
a7015 1
	* sysdep.c (sys_signal): Test BROKEN_SA_RESTART.
d7017 10
a7026 1
2002-07-11  Juanma Barranquero  <lektu@@terra.es>
d7028 2
a7029 6
	* alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c,
	* composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c,
	* fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c,
	* macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c,
	* textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c,
	* xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense.
d7031 1
a7031 1
2002-07-10  Juanma Barranquero  <lektu@@terra.es>
d7033 1
a7033 2
	* lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. All callers
	changed.
d7035 1
a7035 1
2002-07-09  Stefan Monnier  <monnier@@cs.yale.edu>
d7037 2
a7038 2
	* data.c (Fdefalias): Add an optional `docstring' argument.
	(set_internal, Fsetq_default): Use XCAR/XCDR.
d7040 2
a7041 2
	* composite.c (HASH_VALUE, HASH_KEY):
	* ccl.c (HASH_VALUE): Remove (it's in lisp.h now).
d7043 1
a7043 1
2002-07-09  Kenichi Handa  <handa@@etl.go.jp>
d7045 3
a7047 1
	* callproc.c (Fcall_process): Fix previous change.
d7049 1
a7049 1
2002-07-07  Stefan Monnier  <monnier@@cs.yale.edu>
d7051 1
a7051 3
	* minibuf.c (Ftry_completion, Fall_completions, Ftest_completion):
	Add support for hash-tables.
	(Ftry_completion): Return t even if the string appears multiple times.
d7053 12
a7064 7
	* fns.c (Fnconc): Use XCDR.
	(Fprovide): Use CONSP and XCDR.
	(HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX)
	(HASH_TABLE_SIZE): Delete: moved to lisp.h.
	(Fmake_hash_table): Accept `:size nil'.
	(Fmakehash): Delete: moved to subr.el.
	(syms_of_fns): Don't defsubr makehash.
d7066 1
a7066 2
	* lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX)
	(HASH_TABLE_SIZE): Move from fns.c.
d7068 5
a7072 1
2002-07-07  Richard M. Stallman  <rms@@gnu.org>
d7074 3
a7076 8
	* xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls.
	Instead just return 0 when there is something to be done.
	(try_scrolling): If make_cursor_line_fully_visible returns 0,
	retry scrolling as if cursor were off the bottom.
	(try_cursor_movement): If make_cursor_line_fully_visible returns 0,
	return CURSOR_MOVEMENT_MUST_SCROLL.
	(redisplay_window): If make_cursor_line_fully_visible returns 0,
	go to try_to_scroll.
d7078 5
a7082 2
	* buffer.c (Fbuffer_local_value): Store current value into its binding
	so we get the up-to-date value for the binding that is loaded.
d7084 2
a7085 1
	* eval.c (Fdefmacro): Doc fix.
d7087 1
a7087 1
2002-07-05  Dave Love  <fx@@gnu.org>
d7089 1
a7089 2
	* keyboard.c (read_key_sequence): Set initial_idleness_start_time
	correctly.
d7091 1
a7091 5
	* ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE)
	(HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New.
	(ccl_driver): Add cases for CCL_LookupIntConstTbl,
	CCL_LookupCharConstTbl.
	(syms_of_ccl): Defvar translation-hash-table-vector.
d7093 1
a7093 1
2002-07-05  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d7095 1
a7095 1
	* xdisp.c: Remove unused variable `face'.
d7097 2
a7098 1
2002-07-04  Juanma Barranquero  <lektu@@terra.es>
d7100 1
a7100 2
	* keyboard.c (post_command_idle_hook): Remove redundant (and inexact)
	obsolescence information.
d7102 2
a7103 1
2002-07-03  Andrew Choi  <akochoi@@shaw.ca>
d7105 1
a7105 5
	* macterm.c (x_list_fonts): Fix comment.  Cache fonts matching
	pattern.  Search cache first.
	(init_font_name_table): Also add entry for jisx0201.1976-0 coding
	for Japanese font.
	(XLoadQueryFont): Use it.
d7107 1
a7107 1
2002-07-02  Richard M. Stallman  <rms@@gnu.org>
d7109 1
a7109 1
	* keymap.c (Fdefine_key): Doc fix.
d7111 10
a7120 1
	* xterm.c (x_term_init): Turn off polling around XtOpenDisplay.
d7122 1
a7122 1
2002-07-02  Juanma Barranquero  <lektu@@terra.es>
d7124 2
a7125 1
	* keymap.c (syms_of_keymap): Fix typo.
d7127 1
a7127 1
2002-07-01  Andrew Choi  <akochoi@@shaw.ca>
d7129 2
a7130 1
	* s/darwin.h: Define POSIX_SIGNALS.
d7132 2
a7133 6
	* macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef
	and FSRefMakePath to convert FSSpec returned with Apple Event to
	Posix pathname.
	(mac_initialize) [TARGET_API_MAC_CARBON]:
	Call init_required_apple_events and disable the `Quit' menu item
	provided automatically by the Carbon Toolbox.
d7135 2
a7136 1
2002-07-01  Dave Love  <fx@@gnu.org>
d7138 1
a7138 2
	* keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl
	for K&R.
d7140 2
a7141 1
	* xterm.c: Fix prototype for K&R.
d7143 10
a7152 1
	* term.c (costs_set): Declare static, non-initialized for pcc.
d7154 2
a7155 1
2002-07-01  Richard M. Stallman  <rms@@gnu.org>
d7157 2
a7158 4
	* keyboard.c (timer_last_idleness_start_time): New variable.
	(timer_start_idle): Set that.
	(read_key_sequence): Use that to reset timer_idleness_start_time
	to previous value.
d7160 1
a7160 1
	* window.c (Frecenter): With arg, set optional_new_start.
d7162 2
a7163 1
	* xdisp.c (redisplay_internal): Make optional_new_start really work.
d7165 1
a7165 2
	* minibuf.c (Fminibuffer_complete_and_exit): Move to end of
	buffer for completion.
d7167 4
a7170 1
2002-06-29  Ken Raeburn  <raeburn@@gnu.org>
d7172 1
a7172 1
	* xdisp.c (store_mode_line_string): Lisp_Object/int mixup.
d7174 4
a7177 1
2002-06-28  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d7179 1
a7179 10
	* keyboard.c (readable_filtered_events): New function that filters
	FOCUS_IN_EVENT depending on parameter.
	(readable_events): Calls readable_filtered_events, not filtering
	FOCUS_IN_EVENT.
	(get_filtered_input_pending): New function, filtering parameter passed
	to readable_filtered_events.
	(get_input_pending): Calls get_filtered_input_pending, not filtering
	FOCUS_IN_EVENT.
	(Finput_pending_p): Calls get_filtered_input_pending, DO filter
	FOCUS_IN_EVENT.
d7181 3
a7183 1
	* xterm.h (struct x_output): Add focus_state.
d7185 1
a7185 4
	* xterm.c (x_focus_changed): New function.
	(x_detect_focus_change): New function.
	(XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut
	EnterNotify and LeaveNotify to track X focus changes.
d7187 3
a7189 1
2002-06-28  Andreas Schwab  <schwab@@suse.de>
d7191 2
a7192 1
	* lisp.h: Remove duplicate declaration of code_convert_string_norecord.
d7194 2
a7195 1
2002-06-27  Kim F. Storm  <storm@@cua.dk>
d7197 3
a7199 11
	* xdisp.c: (mode_line_string_list, mode_line_string_face)
	(mode_line_string_face_prop): New variables.
	(store_mode_line_string): New function.
	(display_mode_element): Use store_mode_line_string to
	add mode-line string elements to mode_line_string_list
	when mode_line_string_list is non-nil.
	(Fformat_mode_line): Now returns propertized string by
	default.  New arg NO-PROPS to ignore properties.
	(decode_mode_spec): Only add two dashes for %- in propertized
	mode-line string.
	(syms_of_xdisp): Init and staticpro mode_line_string_list.
d7201 1
a7201 1
2002-06-27  Stefan Monnier  <monnier@@cs.yale.edu>
d7203 3
a7205 1
	* minibuf.c (minibuffer_completion_contents): Add return type.
d7207 5
a7211 1
2002-06-27  Juanma Barranquero  <lektu@@terra.es>
d7213 1
a7213 1
	* charset.c (Fchar_bytes): Remove obsolescence info from docstring.
d7215 3
a7217 1
2002-06-26  Juanma Barranquero  <lektu@@terra.es>
d7219 5
a7223 1
	* fileio.c (read_file_name_cleanup): Add missing return.
d7225 1
a7225 1
2002-06-26  Richard M. Stallman  <rms@@gnu.org>
d7227 2
a7228 1
	* window.c (Frecenter): Don't set force_start flag.
d7230 1
a7230 3
	* minibuf.c (do_completion, Fminibuffer_complete_word)
	(Fminibuffer_completion_help): Complete just the text before point.
	(minibuffer_completion_contents): New function.
d7232 1
a7232 1
	* buffer.c (Fbury_buffer): Use frames_discard_buffer.
d7234 1
a7234 1
	* frame.c (frames_bury_buffer): Function deleted.
d7236 1
a7236 1
2002-06-25  Miles Bader  <miles@@gnu.org>
d7238 3
a7240 2
	* callint.c (Fcall_interactively): When checking to see if doprnt hit
	the end of callint_message, allow for a terminating '\0'.
d7242 1
a7242 1
2002-06-24  Juanma Barranquero  <lektu@@terra.es>
d7244 2
a7245 1
	* w32select.c: Include composite.h
d7247 1
a7247 1
	* w16select.c: Likewise.
d7249 2
a7250 1
2002-06-24  Kenichi Handa  <handa@@etl.go.jp>
d7252 9
a7260 2
	* callproc.c (Fcall_process): If code detection is necessary,
	call detect_coding directly here.
d7262 2
a7263 1
	* coding.c (detect_eol): Preserve coding->cmp_data.
d7265 2
a7266 5
	* w16select.c (Fw16_get_clipboard_data):
	* w32fns.c (w32_to_x_font):
	* w32select.c (Fw32_get_clipboard_data):
	* xselect.c (selection_data_to_lisp_data):
	* xterm.c (XTread_socket): Disable composition handling.
d7268 3
a7270 1
2002-06-24  Stefan Monnier  <monnier@@cs.yale.edu>
d7272 1
a7272 1
	* print.c (temp_output_buffer_setup): Kill all local variables.
d7274 1
a7274 1
2002-06-22  Stefan Monnier  <monnier@@cs.yale.edu>
d7276 4
a7279 1
	* lread.c (Fread): Remove redundant and imprecise declaration.
d7281 2
a7282 1
	* xfns.c (check_x_display_info): Use check_x_frame.
d7284 2
a7285 2
	* .gdbinit (xprintsym): Use the new `xname' field.
	(xsymbol): Use it.
d7287 1
a7287 1
2002-06-22  Jason Rumney  <jasonr@@gnu.org>
d7289 2
a7290 2
	* w32fns.c (file_dialog_callback): New function.
	(Fx_file_dialog): Allow selecting directories as well as files.
d7292 1
a7292 1
2002-06-21  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d7294 3
a7296 2
	* m/pmax.h (START_FILES): Define START_FILES for NetBSD and
	OpenBSD. Add support for mipseb-*-netbsd* machines.
d7298 1
a7298 1
2002-06-17  Andrew Choi  <akochoi@@shaw.ca>
d7300 10
a7309 6
	* macterm.c (mac_scroll_area): Set foreground and backcolor to
	black and white before scrolling.  Restore frame background and
	foreground color after scrolling.
	(do_window_update): Call XClearWindow before calling expose_frame.
	(make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and
	FRAME_FOREGROUND_PIXEL of frame.
d7311 1
a7311 2
	* macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil,
	test Mac command key as <ALT> key.
d7313 1
a7313 1
2002-06-17  Stefan Monnier  <monnier@@cs.yale.edu>
d7315 1
a7315 1
	* window.c (Fset_window_configuration): Lisp_Object/int mixup.
d7317 2
a7318 5
	* keyboard.c (read_key_sequence): Be more careful with first_unbound.
	Lookup keys in function-key-map immediately so that key-translation-map
	can be applied earlier.
	Remove function_key_possible and key_translation_possible, replaced
	by checking `keytran_start < t'.
d7320 2
a7321 1
	* .gdbinit (xsymbol): Use the new `xname' field.
d7323 2
a7324 1
2002-06-17  Andrew Choi  <akochoi@@shaw.ca>
d7326 1
a7326 2
	* macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil,
	test Mac command key as <ALT> key.
d7328 2
a7329 3
	* mac.c (do_applescript): Call initialize_applescript if necessary
	when first called.  Dispose of result_desc only when there is no error.
	(Fdo_applescript): Use %d format specifier instead of %ld.
d7331 2
a7332 1
2002-06-16  Andrew Choi  <akochoi@@shaw.ca>
d7334 1
a7334 2
	* macterm.c (XTread_socket): Call FrontNonFloatingWindow instead
	of FrontWindow for cases keyDown and autoKey.
d7336 1
a7336 2
	* fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of
	Vdefault_fontset to Monaco with mac-roman coding.
d7338 1
a7338 2
	* mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine
	init_process before and after inclusion of Carbon/Carbon.h, resp.
d7340 4
a7343 5
	* macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and
	cursor_gc.
	(add_font_name_table_entry): New function.
	(init_font_name_table): Use add_font_name_table_entry; add italic,
	bold, and bold-italic entries for truetype fonts.
d7345 3
a7347 5
	* xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces
	for Mac too.
	(try_font_list) [MAC_OS]: If no font matches given registry, try
	fonts with any registry matching face_family.
	(realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here.
d7349 2
a7350 2
	* s/darwin.h: If autoconf detects the Ncurses library, define
	LIBS_TERMCAP to -lncurses to use it.
d7352 2
a7353 1
2002-06-16  Eli Zaretskii  <eliz@@is.elta.co.il>
d7355 1
a7355 1
	* strftime.c [__hpux]: Include sys/_mbstate_t.h.
d7357 2
a7358 1
2002-06-15  Richard M. Stallman  <rms@@gnu.org>
d7360 1
a7360 2
	* window.c (Fset_window_configuration): Explicitly preserve
	the point value that new_current_buffer had at the start.
d7362 37
a7398 1
2002-06-14  Juanma Barranquero  <lektu@@terra.es>
d7400 1
a7400 2
	* composite.c (Fcompose_region_internal, Fcompose_string_internal):
	Fix typos.
d7402 2
a7403 1
2002-06-14  Kim F. Storm  <storm@@cua.dk>
d7405 4
a7408 5
	* insdel.c (insert_1_both, insert_from_string_1)
	(insert_from_buffer_1): Recalculate END_UNCHANGED in case the
	insert happened in the end_unchanged region.  Otherwise, the
	redisplay may be confused and duplicate the last line in the
	buffer [seen after save-buffer when require-final-newline==t].
d7410 2
a7411 1
2002-06-13  Jason Rumney  <jasonr@@gnu.org>
d7413 1
a7413 2
	* w32.c (init_environment): Remove EMACSLOCKDIR.
	(stat): Swap _S_IFDIR and _S_IFREG.
d7415 4
a7418 1
2002-06-13  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d7420 1
a7420 17
	* keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c
	* termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c,
	* w32menu.c, w32inevt.c: Rename enum event_kind as follows:
	ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke
	to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to
	NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click
	to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT,
	language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click
	to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to
	W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to
	SELECTION_REQUEST_EVENT, selection_clear_event to
	SELECTION_CLEAR_EVENT, buffer_switch_event to BUFFER_SWITCH_EVENT,
	delete_window_event to DELETE_WINDOW_EVENT, iconify_event to
	ICONIFY_EVENT, deiconify_event to DEICONIFY_EVENT,
	menu_bar_activate_event to MENU_BAR_ACTIVATE_EVENT, drag_n_drop to
	DRAG_N_DROP_EVENT, save_session_event to SAVE_SESSION_EVENT and
	no_event to NO_EVENT.
d7422 2
a7423 1
2002-06-12  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d7425 1
a7425 1
	* macmenu.c: Remove declaration of Qmouse_click and Qevent_kind.
d7427 2
a7428 1
2002-06-12  Stefan Monnier  <monnier@@cs.yale.edu>
d7430 1
a7430 2
	* intervals.c (textget): Don't forget to `return'.
	(lookup_char_property): Use XCAR/XCDR.
d7432 1
a7432 1
2002-06-12  Juanma Barranquero  <lektu@@terra.es>
d7434 1
a7434 1
	* xdisp.c (Fformat_mode_line): Fix typo.
d7436 5
a7440 1
2002-06-12  Kim F. Storm  <storm@@cua.dk>
d7442 2
a7443 5
	* xdisp.c (Fformat_mode_line): New function.
	(frame_title_buf, frame_title_buf_end, frame_title_ptr)
	(store_frame_title_char, store_frame_title): Use unconditionally.
	(init_xdisp): Defsubr Fformat_mode_line.
	Initialize frame_title_buf etc. unconditionally.
d7445 1
a7445 1
2002-06-11  Stefan Monnier  <monnier@@cs.yale.edu>
d7447 1
a7447 7
	* keyboard.c (read_key_sequence):
	Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass
	things through those maps after downcasing events.
	Enforce that keytran_end <= fkey_start, i.e. that key-translation-map
	applies after function-key-map.
	Make sure that keytran can be done in the middle in the sequence.
	Be careful not to throw away events past the one we downcase.
d7449 1
a7449 2
	* lread.c (read_integer): Remove unused var `tem'.
	(read1): Fix int/Lisp_Object mixup.
d7451 3
a7453 1
	* xfaces.c (tty_lookup_color): Type bool/Lisp_Object mismatch fixed.
d7455 1
a7455 1
2002-06-11  Richard M. Stallman  <rms@@gnu.org>
d7457 2
a7458 2
	* keyboard.c (readable_events): Ignore any number of
	FOCUS_IN_EVENT events and return 0 if nothing else in buffer.
d7460 1
a7460 1
2002-06-09  Miles Bader  <miles@@gnu.org>
d7462 8
a7469 7
	* xfaces.c (Ftty_supports_face_attributes_p): New function.
	(parse_rgb_list, tty_lookup_color): New functions.
	(tty_defined_color): Use `tty_lookup_color' to do all the work.
	(color_distance, Fcolor_distance): New functions.
	(TTY_SAME_COLOR_THRESHOLD): New macro.
	(Qtty_color_standard_values): New variable.
	(syms_of_xfaces): Initialize new vars & functions.
d7471 3
a7473 1
2002-06-08  Colin Walters  <walters@@verbum.org>
d7475 6
a7480 2
	* textprop.c (Vchar_property_alias_alist): New variable.
	(syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP.
d7482 1
a7482 3
	* intervals.c (lookup_char_property): New function for looking up
	overlay and text properties, created from textget.
	(textget): Use it.
d7484 2
a7485 2
	* intervals.h (lookup_char_property): Declare.
	(Vchar_property_alias_alist): Declare.
d7487 1
a7487 1
	* buffer.c (Foverlay_get): Use lookup_char_property.
d7489 2
a7490 1
2002-06-07  Sam Steingold  <sds@@gnu.org>
d7492 1
a7492 2
	* xselect.c (lisp_data_to_selection_data): Fix last change:
	*data_ret is not a Lisp string, while unibyte_string is.
d7494 3
a7496 1
2002-06-07  Eli Zaretskii  <eliz@@is.elta.co.il>
d7498 1
a7498 2
	* xselect.c (lisp_data_to_selection_data): Fix last change:
	set size_ret.
d7500 2
a7501 1
2002-06-07  Andreas Schwab  <schwab@@suse.de>
d7503 1
a7503 1
	* m/amdx86-64.h: New file.
d7505 22
a7526 1
2002-06-05  Eli Zaretskii  <eliz@@is.elta.co.il>
d7528 1
a7528 1
	* fns.c (Fstring_make_unibyte): Doc fix.
d7530 2
a7531 3
	* xselect.c (lisp_data_to_selection_data): If the requested type
	 is STRING, call string_make_unibyte to encode the selected text
	 as a string.
d7533 1
a7533 1
	* window.c (Fset_window_hscroll): Doc fix.
d7535 6
a7540 1
2002-06-05  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d7542 1
a7542 2
	* fileio.c (choose_write_coding_system):
	Call select-safe-coding-system properly.
d7544 5
a7548 1
2002-06-03  Richard M. Stallman  <rms@@gnu.org>
d7550 1
a7550 1
	* xdisp.c (message_with_string): Error if STRING is not a string.
d7552 1
a7552 1
	* fns.c (md5): Pass FILE arg to Vselect_safe_coding_system_function.
d7554 3
a7556 2
	* fileio.c (choose_write_coding_system): Pass FILE arg to
	Vselect_safe_coding_system_function.
d7558 1
a7558 1
2002-06-03  Ken Raeburn  <raeburn@@gnu.org>
d7560 3
a7562 1
	* buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change.
d7564 9
a7572 1
2002-06-02  Thien-Thi Nguyen  <ttn@@gnu.org>
d7574 1
a7574 4
	* bytecode.c (Fbyte_code): Cast `current_column' return value to int.
	* cmds.c (Fdelete_backward_char, internal_self_insert): Likewise.
	* keymap.c (describe_command): Likewise.
	* minibuf.c (read_minibuf): Likewise.
d7576 2
a7577 5
	* xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec):
	Cast `current_column' return value to int.
	(back_to_previous_visible_line_start)
	(reseat_at_next_visible_line_start, next_element_from_buffer):
	Cast `indented_beyond_p' 3rd arg to float.
d7579 1
a7579 7
	* indent.c (last_known_column): Now a float.
	(current_column_1, position_indentation, current_column)
	(string_display_width): Return float.
	(Fcurrent_column): Cast `current_column' return value to int.
	(Fcurrent_indentation): Cast `position_indentation' retval to int.
	(indented_beyond_p): Third arg now a float.
	(compute_motion, vmotion): Cast `indented_beyond_p' 3rd arg to float.
d7581 2
a7582 2
	* lisp.h (current_column): Now returns float.
	(indented_beyond_p): 3rd arg now a float.
d7584 1
a7584 1
2002-05-31  Eli Zaretskii  <eliz@@is.elta.co.il>
d7586 1
a7586 2
	* xfns.c (x_encode_text): Return stringp non-NULL if coding_system
	is Qcompound_text_with_extensions.
d7588 2
a7589 2
	* xselect.c (lisp_data_to_selection_data): Always set selection
	type as string if x_encode_text returns streingp non-NULL.
d7591 2
a7592 1
	* s/netbsd.h: Include /usr/pkg in the run time shared library path.
d7594 3
a7596 1
2002-05-30  Richard M. Stallman  <rms@@gnu.org>
d7598 2
a7599 2
	* window.c (Fset_window_configuration): Correct the handling
	of point in current buffer, to work with multiple windows.
d7601 2
a7602 1
2002-05-29  Colin Walters  <walters@@verbum.org>
d7604 2
a7605 2
	* lread.c (Fread_from_string): Don't depend on order of evaluation
	for C function parameters.
d7607 4
a7610 1
2002-05-28  Richard M. Stallman  <rms@@gnu.org>
d7612 2
a7613 2
	* xterm.c (x_display_and_set_cursor): Change the cursor in the same
	way for blinked-off state and for a nonselected window.
d7615 2
a7616 2
	* window.c (window_scroll_pixel_based): Don't call Fbolp;
	instead, see if the new start pos is at beginning of line.
d7618 2
a7619 2
	* fileio.c (Fwrite_region): If START is a string, don't
	make any annotations.
d7621 2
a7622 1
	* eval.c (syms_of_eval): Doc fix.
d7624 3
a7626 1
2002-05-28  Colin Walters  <walters@@debian.org>
d7628 2
a7629 2
	* emacs.c (USAGE1): Add --no-splash.
	(standard_args): Ditto.
d7631 2
a7632 1
2002-05-28  Colin Walters  <walters@@gnu.org>
d7634 2
a7635 13
	* lread.c (readchar_count): New variable.
	(readchar): Increment it.
	(unreadchar): Decrement it.
	(read_multibyte): Decrement it.
	(Vread_with_symbol_positions): New variable.
	(Vread_symbol_positions_list): New variable.
	(read_internal_start): New function, created from Fread and
	Fread_from_string.  Handle Vread_symbol_positions_list and
	Vread_with_symbol_positions.
	(readevalloop, Fread, Fread_from_string): Use it.
	(read1): Use readchar_count to add symbol positions to
	Vread_symbol_positions_list if Vread_with_symbol_positions is non-nil.
	(syms_of_lread): DEFVAR_LISP and initialize them.
d7637 2
a7638 4
	* lread.c (read0, read1, read_list, read_vector, read_multibyte)
	(substitute_object_recurse, substitute_object_in_subtree)
	(substitute_in_interval): Prototype.
	(read_multibyte): Return c if it's less than zero.
d7640 1
a7640 1
2002-05-28  Kim F. Storm  <storm@@cua.dk>
d7642 5
a7646 2
	* fileio.c (Fread_file_name_internal): Added brute-force
	speed up for using predicate file-directory-p.
d7648 1
a7648 1
2002-05-28  Kim F. Storm  <storm@@cua.dk>
d7650 1
a7650 10
	* fileio.c (Vread_file_name_function, Vread_file_name_predicate):
	New variables.
	(syms_of_fileio): DEFVAR_LISP them.
	(read_file_name_cleanup): New unwind function.
	(Fread_file_name_internal): Only return completions satifying
	Vread_file_name_predicate.  Temporarily unwind protect and rebind
	default-directory while checking completions against the predicate.
	(Fread_file_name): Added PREDICATE argument.  Specbind it to
	Vread_file_name_predicate during completion.
	Call Vread_file_name_function to read the file name if non-nil.
d7652 4
a7655 1
	* lisp.h (Fread_file_name): Now has 6 args.
d7657 1
a7657 3
	* callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p
	predicate for Fread_file_name when reading directory name.
	Supply Qnil for predicate in other calls to Fread_file_name.
d7659 1
a7659 1
2002-05-26  Miles Bader  <miles@@gnu.org>
d7661 1
a7661 4
	* term.c (tty_capable_p): New function.
	* dispextern.h (tty_capable_p): New function declaration.
	(TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM)
	(TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros.
d7663 1
a7663 1
2002-05-23  Stefan Monnier  <monnier@@cs.yale.edu>
d7665 2
a7666 3
	* fileio.c (read_non_regular, Finsert_file_contents): Use BEG_BYTE.
	(Finsert_file_contents, build_annotations): Use XCAR, XCDR.
	(Vwrite_region_annotate_functions): Docstring fix.
d7668 1
a7668 1
2002-05-23  Kim F. Storm  <storm@@cua.dk>
d7670 1
a7670 5
	* xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current
	phys_cursor's hpos is overwritten.  This is still not completely
	correct, as it doesn't really make sense to use hpos at all to
	get the cursor glyph (as that is relative to the width of the
	characters on the line, which may have changed during the update).
d7672 1
a7672 1
2002-05-22  Jason Rumney  <jasonr@@gnu.org>
d7674 1
a7674 4
	* w32fns.c (enumfont_t): Remove tail, make pattern a normal
	Lisp_Object.
	(enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts):
	Use modified enumfont_t struct.
d7676 1
a7676 1
	* w32term.h (text_cursor_kinds): New enumeration member HBAR_CURSOR.
d7678 1
a7678 182
	* w32term.c (x_draw_bar_cursor): New argument KIND; callers changed.
	Handle the `hbar' cursor type.
	(x_display_and_set_cursor): Handle the HBAR_CURSOR case.

	* w32fns.c (Qhbar): New variable.
	(x_specified_cursor_type): Use it.

2002-05-21  Ken Raeburn  <raeburn@@gnu.org>

	* w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for
	now, when the address is needed.

2002-05-21  Colin Walters  <walters@@gnu.org>

	* Makefile.in (shortlisp): Add font-core.el.

2002-05-20  Richard M. Stallman  <rms@@gnu.org>

	* buffer.c (syms_of_buffer) <cursor-type>: Doc fix.

	* keyboard.c (read_char_minibuf_menu_prompt): Don't list
	equivalent key bindings here.

2002-05-20  Ken Raeburn  <raeburn@@gnu.org>

	Change symbol structure to contain a lisp object for the symbol
	name:
	* lisp.h (struct Lisp_Symbol): Replace field "name" with a lisp
	object field named "xname".
	(SYMBOL_NAME): New macro.
	* abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and
	name field.
	* alloc.c (Fmake_symbol): Set symbol xname field instead of name.
	(mark_object, gc_sweep): Use symbol xname field and XSTRING
	instead of name field.
	* buffer.c (buffer_slot_type_mismatch): Use XSTRING and
	SYMBOL_NAME instead of XSYMBOL and name field.
	* callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME
	instead of XSYMBOL and name field.
	* charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING
	and SYMBOL_NAME instead of XSYMBOL and name field.
	* coding.c (Fread_coding_system, code_convert_region1)
	(code_convert_string1, code_convert_string_norecord)
	(Ffind_operation_coding_system): Use SYMBOL_NAME instead of
	XSYMBOL and name field.
	* data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding)
	(Fmake_variable_buffer_local, Fmake_local_variable)
	(Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead
	of XSYMBOL and name field.
	* editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of
	XSYMBOL and name field.
	* emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING
	instead of XSYMBOL and name field.
	* eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of
	XSYMBOL and name field.
	* fns.c (Fstring_equal, Fstring_lessp, Frequire, sxhash):
	Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
	* fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING
	instead of XSYMBOL and name field.
	* keyboard.c (echo_char, record_char, parse_modifiers_uncached)
	(parse_modifiers, apply_modifiers, Fevent_convert_list)
	(parse_solitary_modifier, Fexecute_extended_command):
	Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
	* keymap.c (silly_event_symbol_error, Fsingle_key_description)
	(Fdescribe_buffer_bindings): Use SYMBOL_NAME and XSTRING instead
	of XSYMBOL and name field.
	(describe_command, describe_translation): Use SYMBOL_NAME and
	assignment instead of XSYMBOL and name field and XSETSTRING.
	* lread.c (Fintern_soft, oblookup): Use SYMBOL_NAME and XSTRING
	instead of XSYMBOL and name field.
	(Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and
	name field and XSETSTRING.
	* macfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead
	of XSYMBOL and name field.
	* minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and
	assignment instead of XSYMBOL and name field and XSETSTRING.
	* print.c (print_error_message, print_object): Use SYMBOL_NAME and
	XSTRING instead of XSYMBOL and name field.
	* process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME
	and XSTRING instead of XSYMBOL and name field.
	* w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME
	and XSTRING instead of XSYMBOL and name field.
	* xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and
	XSTRING instead of XSYMBOL and name field.
	* xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead
	of XSYMBOL and name field.
	* xselect.c (symbol_to_x_atom, x_get_foreign_selection):
	Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.

2002-05-19  Ken Raeburn  <raeburn@@gnu.org>

	* lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR
	and XCDR real rvalues in most configurations.

	* buffer.c (fix_overlays_in_range, fix_overlays_before):
	Don't take the address of the cdr part of a cons cell; instead, track
	the parent cell and call XSETCDR, or set the variable for the head
	of the list if we haven't started down the list yet.

2002-05-19  Richard M. Stallman  <rms@@gnu.org>

	* doc.c (reread_doc_file): Don't ask for confirmation.

2002-05-18  Jason Rumney  <jasonr@@gnu.org>

	* w32fns.c (w32_create_pixmap_from_bitmap_data): New function.
	(xbm_load_image): Use it.
	(xbm_load): Ditto.
	(xbm_read_bitmap_data): Reverted to xfns.c version.
	From David Ponce <david@@dponce.com>.

2002-05-17  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (sig_suspender, sigprocmask): Don't define for DJGPP
	2.02 and later.

2002-05-16  Juanma Barranquero  <lektu@@terra.es>

	* keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo.

2002-05-15  Stefan Monnier  <monnier@@cs.yale.edu>

	* keyboard.c (read_char_x_menu_prompt): Use an equivalent but more
	meaningful test.
	(read_char_minibuf_menu_prompt): Fix typo.

2002-05-15  Eli Zaretskii  <eliz@@is.elta.co.il>

	* eval.c (Fcommandp): Doc fix.

2002-05-13  Stefan Monnier  <monnier@@cs.yale.edu>

	* keymap.c (keymap_parent): New fun, extracted from Fkeymap_parent.
	(Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it.
	(Fset_keymap_parent): Gcpro a bit more.
	(access_keymap): Gcpro around meta_map call and around the main loop.
	(get_keyelt): Gcpro when following indirect references.
	(copy_keymap_item): New fun, extracted from Fcopy_keymap.
	(copy_keymap_1, Fcopy_keymap): Use it.  Don't copy the parent map.
	(Fdefine_key, Flookup_key): Gcpro before calling get_keymap.
	Remove useless ad-hoc remap code.

2002-05-13  Richard M. Stallman  <rms@@gnu.org>

	* search.c (search_buffer): Give up boyer moore search if inverse
	translation change charset_base.

2002-05-12  Eli Zaretskii  <eliz@@is.elta.co.il>

	* coding.c (decode_coding) <coding_type_ccl>: If a lone CR
	characters is carried over from the previous block of text, adjust
	coding->produced to account for the extra character.

2002-05-11  Andreas Schwab  <schwab@@suse.de>

	* coding.c (intersection): Keep the elements of the returned list
	in the same order as in the first list.

2002-05-11  Kim F. Storm  <storm@@cua.dk>

	* keymap.c (current_minor_maps): Fixed resizing of cmm_maps;
	only update cmm_size if realloc actually succeeds.
	Testing with initial size of 2 elements revealed that using
	realloc on GNU/Linux would cause a random trap in xmalloc
	later on, so I rewrote the code to use malloc/bcopy/free instead
	of realloc.

2002-05-10  Jason Rumney  <jasonr@@gnu.org>

	* w32fns.c (enum_font_cb2): Avoid DBCS raster fonts.

2002-05-10  Eli Zaretskii  <eliz@@is.elta.co.il>

	* coding.c (encode_coding_sjis_big5): Enclose bitwise AND in
	parens, to ensure correct evaluation order.

2002-05-10  Kim F. Storm  <storm@@cua.dk>

	* keymap.c (Vemulation_mode_map_alists): New variable.
	(syms_of_keymap): DEFVAR_LISP it.
	(current_minor_maps): Process keymap alists in that list before
	minor-mode-overriding-map-alist and minor-mode-map-alist.
d7680 1
a7680 1
2002-05-09  Richard M. Stallman  <rms@@gnu.org>
d7682 1
a7682 1
	* search.c (Freplace_match): Doc fix.
d7684 1
a7684 1
2002-05-09  Kim F. Storm  <storm@@cua.dk>
d7686 1
a7686 2
	* macterm.c (x_draw_image_foreground, x_draw_image_foreground_1):
	Enlarge cursor rectangle drawn around image with non-zero relief.
d7688 1
a7688 2
	* w32term.c (x_draw_image_foreground, w32_draw_image_foreground_1):
	Enlarge cursor rectangle drawn around image with non-zero relief.
d7690 1
a7690 2
	* xterm.c (x_draw_image_foreground, x_draw_image_foreground_1):
	Enlarge cursor rectangle drawn around image with non-zero relief.
d7692 2
a7693 1
2002-05-07  Eli Zaretskii  <eliz@@is.elta.co.il>
d7695 1
a7695 3
	* xselect.c (lisp_data_to_selection_data): Don't set selection
	type if comes from the Lisp object's car.  If the selection
	contains a pure ASCII text, always return QSTRING as its type.
d7697 1
a7697 1
2002-05-06  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d7699 1
a7699 1
	* mac.c (mac-cut-function): Doc fix.
d7701 6
a7706 1
2002-05-05  Richard M. Stallman  <rms@@gnu.org>
d7708 1
a7708 1
	* s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it.
d7710 2
a7711 1
2002-05-04  Jason Rumney  <jasonr@@gnu.org>
d7713 2
a7714 2
	* keyboard.c (make_lispy_event) <mouse-wheel>: Set count to 1
	for event-click-count.
d7716 3
a7718 2
	* process.c (init_process): Only add server subfeature if we can
	use non-blocking I/O.
d7720 7
a7726 1
2002-05-04  Andrew Choi  <akochoi@@shaw.ca>
d7728 3
a7730 2
	* macterm.c (XTread_socket): Call WaitNextEvent once instead of
	repeatedly.
d7732 2
a7733 1
2002-05-03  Jason Rumney  <jasonr@@gnu.org>
d7735 1
a7735 2
	* process.c (Fmake_network_process): Only support server sockets
	when we can make them non-blocking.
d7737 2
a7738 1
	* s/ms-w32.h (HAVE_SELECT): Define.
d7740 2
a7741 1
	* w32.h (FILE_NDELAY): New flag.
d7743 5
a7747 2
	* w32.c (sys_getpeername, fcntl): New functions.
	(_sys_read_ahead): Temporarily block on non-blocking sockets.
d7749 3
a7751 1
	* w32proc.c: include sys/file.h.
d7753 2
a7754 1
2002-05-03  Colin Walters  <walters@@verbum.org>
d7756 3
a7758 2
	* callproc.c (Vgame_score_directory): Renamed to
	Vshared_game_score_directory.
d7760 2
a7761 1
2002-04-30  Richard M. Stallman  <rms@@gnu.org>
d7763 1
a7763 2
	* s/gnu.h [emacs]: Include stdio.h.
	(GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional.
d7765 4
a7768 1
	* eval.c (do_autoload): Error if called while preparing to dump.
d7770 1
a7770 1
	* fns.c (Frequire): Error if need to load while preparing to dump.
d7772 4
a7775 1
2002-04-28  Colin Walters  <walters@@verbum.org>
d7777 2
a7778 2
	* callproc.c (Vgame_score_directory) [!HAVE_SHARED_GAME_DIR]:
	Default to "~/.emacs.d/games".
d7780 9
a7788 1
2002-04-29  Stefan Monnier  <monnier@@cs.yale.edu>
d7790 1
a7790 5
	* lread.c (openp): Change arg exec_only to predicate.
	(build_load_history): Use XCAR/XCDR.
	(Flocate_file_internal): New fun.
	(syms_of_lread): Defsubr it.
	(Fload): Update call to openp.
d7792 1
a7792 1
	* lisp.h (openp): Update prototype.
d7794 1
a7794 10
	* xfns.c (x_create_bitmap_from_file, x_find_image_file):
	* w32proc.c (sys_spawnve):
	* w32fns.c (x_create_bitmap_from_file, x_find_image_file):
	* w32.c (check_windows_init_file):
	* sound.c (Fplay_sound_internal):
	* process.c (Fstart_process):
	* macfns.c (x_create_bitmap_from_file, x_find_image_file):
	* mac.c (run_mac_command):
	* emacs.c (init_cmdargs):
	* callproc.c (Fcall_process): Update call to openp.
d7796 1
a7796 1
	* textprop.c (remove_properties): Don't use XCAR without CONSP.
d7798 1
a7798 1
	* xterm.c (XTread_socket): Disable the Xutf8LookupString code.
d7800 2
a7801 1
2002-04-29  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d7803 13
a7815 2
	* dispextern.h (DEFAULT_TOOL_BAR_BUTTON_MARGIN)
	(DEFAULT_TOOL_BAR_BUTTON_RELIEF): Change default values.
d7817 4
a7820 1
2002-04-28  Richard M. Stallman  <rms@@gnu.org>
d7822 1
a7822 1
	* minibuf.c (Fall_completions, Ftry_completion): New arg to Fcommandp.
d7824 3
a7826 2
	* eval.c (Fcommandp): New arg for_call_interactively.
	* lisp.h (Fcommandp): Declare new arg.
d7828 1
a7828 1
2002-04-28  Jason Rumney  <jasonr@@gnu.org>
d7830 11
a7840 1
	* w32proc.c (syms_of_w32proc): Get true file attributes by default.
d7842 1
a7842 2
	* w32.c (stat, fstat): Use file index information to generate
	inodes for directories where available.
d7844 2
a7845 1
2002-04-26  Andrew Choi  <akochoi@@shaw.ca>
d7847 1
a7847 2
	* Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add.
	[HAVE_CARBON]: Include Mac object files.
d7849 4
a7852 4
	* alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c,
	fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c,
	termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8,
	MAC_OSX, and MAC_OS instead of macintosh.
d7854 1
a7854 1
	* editfns.c [MAC_OS8]: Include stdio.h.
d7856 2
a7857 1
	* emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init.
d7859 3
a7861 2
	* fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of
	Apple Monaco.
d7863 1
a7863 3
	* process.c: Declare QCfamily and QCfilter as extern.
	(wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before
	calling select.
d7865 2
a7866 1
	* termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent.
d7868 1
a7868 1
	* tparam.c [MAC_OSX]: Don't define BC and UP.
d7870 2
a7871 1
	* config.in [HAVE_CARBON]: Add.
d7873 2
a7874 2
	* mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h:
	Move here from mac/src and mac/inc.
d7876 1
a7876 1
	* s/darwin.h, m/powermac.h, unexmacosx.c: New files.
d7878 1
a7878 1
2002-04-26  Gerd Moellmann  <gerd@@gnu.org>
d7880 4
a7883 5
	* xterm.c (x_draw_phys_cursor_glyph): Undo last change.
	Compute phys_cursor_width from the x position returned
	by x_draw_glyhs, which is cheaper.
	(x_display_and_set_cursor): Compute the buffer-local value
	of `cursor-in-non-selected-windows' only when needed.
d7885 1
a7885 1
2002-04-25  Gerd Moellmann  <gerd@@gnu.org>
d7887 5
a7891 3
	* xterm.c (x_draw_phys_cursor_glyph): Take into account that a box
	cursor on a stretch glyph has a width that depends on
	x_stretch_cursor_p.
d7893 1
a7893 1
2002-04-25  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d7895 2
a7896 1
	* abbrev.c (abbrev-start-location): Doc fix.
d7898 2
a7899 1
	* indent.c (Fvertical_motion): Fix last change.
d7901 2
a7902 1
2002-04-25  Gerd Moellmann  <gerd@@gnu.org>
d7904 2
a7905 2
	* indent.c (Fvertical_motion): Move to the start of the line
	containing PT before moving up or down.
d7907 2
a7908 1
2002-04-24  Gerd Moellmann  <gerd@@gnu.org>
d7910 2
a7911 3
	* dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the
	case of writing a whole row, more or less analogous to the case of
	writing only parts of a row.
d7913 1
a7913 2
	* xterm.c (x_display_and_set_cursor): Set phys_cursor_width to
	0 for NO_CURSOR.
d7915 2
a7916 1
	* xterm.c (notice_overwritten_cursor): Fix an off by 1 error.
d7918 1
a7918 1
2002-04-23  Colin Walters  <walters@@verbum.org>
d7920 1
a7920 1
	* buffer.c (syms_of_buffer): Doc fix.
d7922 1
a7922 1
2002-04-23  Gerd Moellmann  <gerd@@gnu.org>
d7924 6
a7929 3
	* xterm.c (notice_overwritten_cursor): Handle the special case
	of the cursor being in the first blank non-text line at the
	end of a window.
d7931 1
a7931 7
	* xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor)
	(x_draw_phys_cursor_glyph): Set phys_cursor_width here.
	(x_display_and_set_cursor): Don't set phys_cursor_width here, for
	bar cursors only, to make phys_cursor_width contain what its name
	suggests.
	(notice_overwritten_cursor): Consider the cursor image erased if
	the output area intersects the cursor image in y-direction.
d7933 8
a7940 1
2002-04-23  Simon Marshall  <simon@@gnu.org>
d7942 1
a7942 2
	* xfns.c (x_set_mouse_color): Change default for cross_cursor
	to XC_hand2.
d7944 2
a7945 1
2002-04-23  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d7947 3
a7949 1
	* xdisp.c: Remove unused global variable `minibuf_prompt_pixel_width'.
d7951 1
a7951 1
2002-04-22  Kim F. Storm  <storm@@cua.dk>
d7953 1
a7953 1
	* textprop.c (remove_properties): Fixed trap for malformed plist.
d7955 1
a7955 1
2002-04-22  Richard M. Stallman  <rms@@gnu.org>
d7957 4
a7960 1
	* cmds.c (Fend_of_line): Handle intangible text in mid line.
d7962 3
a7964 2
	* window.c (make_window): Initialize height_fixed_p,
	last_cursor_off_p, and p->cursor_off_p slots.
d7966 2
a7967 1
2002-04-20  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d7969 19
a7987 1
	* fns.c (use-dialog-box): Doc fix.
d7989 1
a7989 1
2002-04-19  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d7991 1
a7991 4
	* xterm.c (note_mode_line_or_margin_highlight): Remove unused
	variables `row', `i' and `area'.
	(XTread_socket) <KeyPress>: Pass KeyPress events when in menu to
	toolkit library.
d7993 2
a7994 1
2002-04-19  Stefan Monnier  <monnier@@cs.yale.edu>
d7996 2
a7997 4
	* xfaces.c (clear_font_table): Don't free the default font of
	a frame even if it's on another display.
	(Finternal_set_lisp_face_attribute): Don't use XFRAME on something
	that could be Qt.
d7999 1
a7999 1
2002-04-19  Juanma Barranquero  <lektu@@terra.es>
d8001 2
a8002 3
	* indent.c (Fmove_to_column): Remove unused local variable
	`next_boundary_byte'.
	(current_column_1): Likewise.
d8004 1
a8004 1
2002-04-19  Eli Zaretskii  <eliz@@is.elta.co.il>
d8006 1
a8006 4
	* msdos.c (Qhbar): New variable.
	(syms_of_msdos): Intern and staticpro it.
	(IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar'
	cursor type.
d8008 3
a8010 1
2002-04-19  Dave Lambert  <dlambert@@acm.org>
d8012 1
a8012 1
	Theses change implement an underscore-like (`hbar') cursor.
d8014 3
a8016 1
	* xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR.
d8018 2
a8019 3
	* xterm.c (x_draw_bar_cursor): New argument KIND; callers changed.
	Handle the `hbar' cursor type.
	(x_display_and_set_cursor): Handle the HBAR_CURSOR case.
d8021 1
a8021 3
	* xfns.c (Qhbar): New variable.
	(syms_of_xfns): Intern and staticpro it.
	(x_specified_cursor_type): Handle `hbar' cursor.
d8023 2
a8024 2
	* s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is
	not defined.
d8026 1
a8026 1
2002-04-18  Richard M. Stallman  <rms@@gnu.org>
d8028 3
a8030 7
	* textprop.c (remove_properties): New arg LIST allows scanning
	either a list or a plist.
	(interval_has_some_properties_list): New function, like
	interval_has_some_properties using list instead of plist.
	All callers changed.
	(Fremove_list_of_text_properties): New function.
	(syms_of_textprop): Defsubr it.
d8032 2
a8033 1
2002-04-17  Eli Zaretskii  <eliz@@is.elta.co.il>
d8035 1
a8035 1
	* s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined.
d8037 3
a8039 1
2002-04-17  Juanma Barranquero  <lektu@@terra.es>
d8041 1
a8041 1
	* indent.c (Fmove_to_column): Remove unused local variable `end_byte'.
d8043 1
a8043 1
2002-04-17  Eli Zaretskii  <eliz@@is.elta.co.il>
d8045 1
a8045 2
	* window.c (coordinates_in_window): Don't report on margin area
	if its width is zero.
d8047 4
a8050 1
2002-04-16  Jason Rumney  <jasonr@@gnu.org>
d8052 1
a8052 1
	* w32fns.c (Fx_file_dialog): Decode file name before using.
d8054 1
a8054 1
	* w32term.c (construct_drag_n_drop): Likewise.
d8056 2
a8057 1
2002-04-16  Eli Zaretskii  <eliz@@is.elta.co.il>
d8059 4
a8062 2
	* puresize.h (BASE_PURESIZE): Increase to 830000, since we now
	store load-history in pure space.
d8064 1
a8064 1
	* s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000.
d8066 2
a8067 1
2002-04-16  Stefan Monnier  <monnier@@cs.yale.edu>
d8069 1
a8069 6
	* xterm.c (Qlatin_1, Qutf_8): New vars.
	(syms_of_xterm): Initialize them.
	(XTread_socket): Eliminate incorrect optimization that tried to avoid
	decoding the output of X*LookupString.
	Always use latin-1 to decode the output of XLookupString.
	Try Xutf8LookupString if XmbLookupString failed.
d8071 14
a8084 1
	* region-cache.c (new_region_cache): Use BEG.
d8086 2
a8087 1
2002-04-16  Gerd Moellmann  <gerd@@gnu.org>
d8089 2
a8090 4
	* buffer.c (MMAP_ALLOCATED_P): New macro to be set from system
	configuration files.
	(mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P
	returns 0.
d8092 1
a8092 1
2002-04-15  Andreas Schwab  <schwab@@suse.de>
d8094 1
a8094 1
	* config.in: Regenerated using autoheader.
d8096 1
a8096 17
	* m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h,
	m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h,
	m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h,
	m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h,
	m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h,
	m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h,
	m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h,
	m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h,
	m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h
	m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h,
	m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h,
	m/sparc.h, m/sr2k.h, m/symmetry.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, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h,
	s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and
	STACK_DIRECTION, now set by autoconf.
d8098 3
a8100 1
2002-04-14  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d8102 1
a8102 1
	* dispnew.c (marginal_area_string): Sort arguments.
d8104 3
a8106 1
	* dispextern.h (marginal_area_string): Add prototype.
d8108 1
a8108 1
2002-04-13  Richard M. Stallman  <rms@@gnu.org>
d8110 1
a8110 2
	* fileio.c (Finsert_file_contents):
	Don't call temp_output_buffer_setup--do just part, by hand.
d8112 1
a8112 2
	* coding.c (run_pre_post_conversion_on_str):
	Don't call temp_output_buffer_setup--do just part, by hand.
d8114 6
a8119 2
	* keyboard.c (command_loop_1): Don't call start_hourglass
	or cancel_hourglass when executing a macro.
d8121 1
a8121 1
	* marker.c (count_markers): New function.
d8123 1
a8123 2
	* xdisp.c (display_mode_element): Don't let mode_line_proptrans_alist
	grow without limit.  Move recently used elements to the front.
d8125 1
a8125 1
2002-04-13  Eli Zaretskii  <eliz@@is.elta.co.il>
d8127 1
a8127 1
	* unexelf.c (unexec) [__sgi]: Undo the change from 2002-01-20.
d8129 3
a8131 1
2002-04-12  Gerd Moellmann  <gerd@@gnu.org>
d8133 4
a8136 4
	* xdisp.c (sync_frame_with_window_matrix_rows): Don't give frame
	rows marginal areas.
	(Fdump_frame_glyph_matrix) [GLYPH_DEBUG]: New function.
	(syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it.
d8138 1
a8138 1
	* dispnew.c (marginal_area_string): Check that glyph row is enabled.
d8140 1
a8140 1
2002-04-12  Dave Love  <fx@@gnu.org>
d8142 1
a8142 1
	* dispnew.c (marginal_area_string): New.
d8144 2
a8145 3
	* window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN.
	(Qleft_margin, Qright_margin): Declare.
	(coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins.
d8147 7
a8153 2
	* xterm.c (note_mode_line_or_margin_highlight): Renamed from
	note_mode_line_highlight and extended.
d8155 2
a8156 2
	* keyboard.c (Qleft_margin, Qright_margin): Declare.
	(make_lispy_event): Deal with mouse events in margins.
d8158 1
a8158 1
2002-04-12  Stefan Monnier  <monnier@@cs.yale.edu>
d8160 3
a8162 1
	* msdos.c (dos_rawgetc): Use a single event for HELP_EVENT.
d8164 1
a8164 5
	* keyboard.c (command_loop_1): Turn off transient-mark-mode rather
	than deactivating the mark if tmm is set to `lambda'.
	(gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event):
	Use a single event for HELP_EVENT.
	(Fexecute_extended_command): Save last_point_position.
d8166 1
a8166 1
2002-04-12  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d8168 2
a8169 1
	* lisp.h (Fpropertize): Add prototype.
d8171 1
a8171 1
	* fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt.
d8173 1
a8173 1
2002-04-10  Colin Walters  <walters@@verbum.org>
d8175 8
a8182 1
	* config.in: Add HAVE_SHARED_GAME_DIR.
d8184 4
a8187 2
	* callproc.c: (Vgame_score_directory): New variable.
	(syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP.
d8189 1
a8189 1
2002-04-10  Richard M. Stallman  <rms@@gnu.org>
d8191 1
a8191 1
	* puresize.h (BASE_PURESIZE): Reduce again to avoid big excess.
d8193 1
a8193 1
2002-04-09  Stefan Monnier  <monnier@@cs.yale.edu>
d8195 1
a8195 12
	* minibuf.c (read_minibuf): Use empty_string.
	(Ftry_completion): Allow lambda forms and lists of strings for `alist'.
	Short-circuit the search as soon as it "failed".
	(Fall_completions): Allow lambda forms and lists of strings for alist.
	(Fcompleting_read): Set Qminibuffer_completion_confirm to nil
	when require_match is nil.
	(Ftest_completion): Rename from `test_completion' and export to elisp.
	Call the predicate also when alist is a list.
	Obey Vcompletion_regexp_list.
	(do_completion, Fminibuffer_complete_and_exit): Use it.
	(Fassoc_string): Rename from `assoc_for_completion'.
	Allow list of strings as well and export to elisp.
d8197 1
a8197 1
2002-04-08  Stefan Monnier  <monnier@@cs.yale.edu>
d8199 11
a8209 1
	* puresize.h (BASE_PURESIZE): Increase to 900KB.
d8211 2
a8212 1
2002-04-08  Juanma Barranquero  <lektu@@terra.es>
d8214 2
a8215 1
	* w32.c (sys_accept): Don't hide variable `s'.
d8217 1
a8217 1
2002-04-05  Gerd Moellmann  <gerd@@gnu.org>
d8219 2
a8220 2
	* callint.c (Fcall_interactively): Use INTEGERP instead of
	NUMBERP for checking Vhistory_length.
d8222 3
a8224 1
2002-04-05  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d8226 1
a8226 2
	* sound.c (Fplay_sound_internal): Renamed from Fplay_sound.
	Doc fix to reflect it.
d8228 2
a8229 1
2002-04-04  Richard M. Stallman  <rms@@gnu.org>
d8231 1
a8231 5
	* xdisp.c (display_mode_element): New arg RISKY.
	Disregard text props found or specified within a variable
	that isn't marked risky-local-variable.
	(Qrisky_local_variable): New variable.
	(syms_of_xdisp): Init and staticpro it.
d8233 2
a8234 1
2002-04-04  Stefan Monnier  <monnier@@cs.yale.edu>
d8236 1
a8236 2
	* undo.c (record_point): New fun.
	(record_delete, record_insert): Use it.
d8238 1
a8238 1
2002-04-03  Juanma Barranquero  <lektu@@terra.es>
d8240 1
a8240 2
	* doc.c (Fdocumentation): Add missing parentheses.
	(Fdocumentation_property): Likewise.
d8242 1
a8242 1
2002-04-03  Stefan Monnier  <monnier@@cs.yale.edu>
d8244 1
a8244 2
	* doc.c (Fdocumentation, Fdocumentation_property): When the doc
	data is 0, just return nil.
d8246 3
a8248 1
2002-04-03  Eli Zaretskii  <eliz@@is.elta.co.il>
d8250 1
a8250 2
	* msdos.c (syms_of_msdos): Fix last change with
	mouse_autoselect_window.
d8252 1
a8252 1
2002-04-03  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d8254 1
a8254 2
	* w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to
	mouse_autoselect_window.
d8256 2
a8257 1
2002-04-02  Stefan Monnier  <monnier@@cs.yale.edu>
d8259 1
a8259 2
	* keyboard.c (make_lispy_event): Handle unknown keysyms together
	with system-specific keysyms.  Use it also for unknown function keys.
d8261 2
a8262 3
	* doc.c (reread_doc_file): Return whether reload was attempted.
	(Fdocumentation, Fdocumentation_property): Don't try to reload
	if the doc is 0 and only ask once.
d8264 1
a8264 1
	* Makefile.in (lisp, shortlisp): Add ucs-tables.elc.
d8266 2
a8267 1
2002-04-02  Eli Zaretskii  <eliz@@is.elta.co.il>
d8269 1
a8269 2
	* keyboard.c (read_char): If the event was Qselect_window,
	restore timer_idleness_start_time to its previous value.
d8271 1
a8271 1
	* msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required.
d8273 1
a8273 1
2002-04-01  Stefan Monnier  <monnier@@cs.yale.edu>
d8275 1
a8275 1
	* region-cache.c (new_region_cache): Use BEG.
d8277 1
a8277 2
	* marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos):
	Use BEG and BEG_BYTE.
d8279 3
a8281 5
	* doc.c (get_doc_string): Return nil if the location is wrong.
	(reread_doc_file): New fun.
	(Fdocumentation, Fdocumentation_property):
	Call it if get_doc_string fails.
	(Fsnarf_documentation): Make it work for a dumped Emacs.
d8283 2
a8284 2
	* charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE.
	Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case.
d8286 8
a8293 1
	* charset.c (Fstring): Allow 0 arguments.
d8295 1
a8295 1
	* xterm.c (XTread_socket): Fix int/Lisp_Object confusion.
d8297 1
a8297 4
	* process.c (DATAGRAM_CONN_P, list_processes_1)
	(Fprocess_datagram_address, Fset_process_datagram_address)
	(Fset_network_process_options, server_accept_connection):
	Fix some int/Lisp_Object confusions (thank you union types).
d8299 4
a8302 1
2002-04-01  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d8304 2
a8305 1
	* msdos.c: Rename x_autoselect_window_p to autoselect_window_p.
d8307 2
a8308 2
	* w32term.c: Likewise.
	(note_mouse_movement): Put code for x_autoselect_window_p in #if 0.
d8310 1
a8310 4
	* keyboard.c (Qselect_window): New symbol.
	(head_table): Use it.
	(keys_of_keyboard): Bound select-window event to handle-select-window.
	(kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT.
d8312 2
a8313 6
	* xterm.c: Rename x_autoselect_window_p to autoselect_window_p.
	(last_window): New variable.
	(XTread_socket): Generate SELECT_WINDOW_EVENTs.
	(note_mouse_movement): Remove reimplemented code in #if 0.
	(XTread_socket): Generate SELECT_WINDOW_EVENTs only for
	Emacs windows.
d8315 2
a8316 1
	* termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'.
d8318 2
a8319 1
2002-03-31  Gerd Moellmann  <gerd@@gnu.org>
d8321 1
a8321 1
	* xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P.
d8324 1
a8324 1
2002-03-30  Richard M. Stallman  <rms@@gnu.org>
d8326 4
a8329 2
	* window.c (window_scroll_pixel_based): Exit the move_it_by_lines
	loop whenever it stops making progress.
d8331 1
a8331 1
	* widget.c (set_frame_size): Don't call change_frame_size.
d8333 2
a8334 1
2002-03-30  Gerd Moellmann  <gerd@@gnu.org>
d8336 1
a8336 2
	* dispnew.c (direct_output_for_insert):
	Call mark_window_display_accurate.
d8338 7
a8344 1
2002-03-29  Jason Rumney  <jasonr@@gnu.org>
d8346 2
a8347 1
	* w32term.c (w32_draw_relief_rect): Fix calculations of line lengths.
d8349 1
a8349 1
2002-03-29  Eli Zaretskii  <eliz@@is.elta.co.il>
d8351 2
a8352 1
	* Makefile.in (lread.o): Depend on coding.h.
d8354 1
a8354 4
	* lread.c (openp, Fload): Encode the file name before passing it
	to `stat', `access', and `emacs_open'.
	(openp): GCPRO the encoded file name.  Don't recompute Lisp
	strings unnecessarily.
d8356 1
a8356 1
2002-03-29  Kim F. Storm  <storm@@cua.dk>
d8358 1
a8358 1
	* fns.c (Flax_plist_put): Doc fix.
d8360 1
a8360 1
2002-03-28  Miles Bader  <miles@@gnu.org>
d8362 2
a8363 1
	* process.c (DATAGRAM_CONN_P): Make sure PROC is really a process.
d8365 5
a8369 1
2002-03-27  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d8371 1
a8371 2
	* process.c (set-network-process-options): Add usage.
	(make-network-process): Doc fix.
d8373 1
a8373 1
2002-03-26  Eli Zaretskii  <eliz@@is.elta.co.il>
d8375 24
a8398 1
	* emacs.c (Fdump_emacs): Fix a typo in "command-line-processed".
d8400 1
a8400 1
2002-03-26  Richard M. Stallman  <rms@@gnu.org>
d8402 1
a8402 3
	* fns.c (Fsubstring_no_properties): New function.
	(Flax_plist_get, Flax_plist_put): New functions.
	(syms_of_fns): defsubr them.
d8404 1
a8404 2
	* xdisp.c (update_menu_bar): Test only update_mode_lines;
	don't test or alter w->update_mode_line.
d8406 2
a8407 1
	* window.c (Fdisplay_buffer): Doc fix.
d8409 1
a8409 1
2002-03-24  Richard M. Stallman  <rms@@gnu.org>
d8411 2
a8412 1
	* regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces.
d8414 2
a8415 1
2002-03-24  Gerd Moellmann  <gerd@@gnu.org>
d8417 3
a8419 4
	* eval.c (Qdeclare, Vmacro_declaration_function): New variables.
	(Fdefmacro): Handle `(declare ...)'.
	(syms_of_eval) <Qdeclare>: Initialize and staticpro.
	(syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP.
d8421 1
a8421 1
2002-03-24  Jason Rumney  <jasonr@@gnu.org>
d8423 5
a8427 7
	* w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data)
	(xbm_file_p): Add prototypes.
	(xbm_format, xbm_image_p): Sync with xfns.c.
	(reflect_byte): New function.
	(xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows.
	(xbm_load_image): Create bitmaps with a depth of 1.
	(init_xfns): Enable XBM images.
d8429 1
a8429 1
2002-03-23  Jason Rumney  <jasonr@@gnu.org>
d8431 2
a8432 2
	* w32term.c (w32_handle_tool_bar_click): Detect up and down events
	correctly.  Do not pass up_modifier to keyboard buffer.
d8434 1
a8434 1
	* w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals.
d8436 1
a8436 1
2002-03-22  Stefan Monnier  <monnier@@cs.yale.edu>
d8438 3
a8440 4
	* Makefile.in (bootstrapclean): New target.
	(bootstrap-temacs, bootstrap-doc): Remove.
	(bootstrap-emacs): Use a bog-standard `temacs'.
	Don't bother to build a DOC file.
d8442 1
a8442 1
	* sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause.
d8444 2
a8445 3
	* emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup
	in temacs even if !CANNOT_DUMP.
	(standard_args): Keep --no-loadup even if !CANNOT_DUMP.
d8447 1
a8447 1
	* alloc.c (check_pure_size): Only output a warning.
d8449 3
a8451 1
2002-03-22  Jason Rumney  <jasonr@@gnu.org>
d8453 1
a8453 2
	* w32fns.c (Fx_create_frame): Enable tool-bar when images are
	supported.
d8455 8
a8462 3
	* w32term.c (zv_bits): Declare as short, for word alignment.
	(w32_read_socket) <WM_XBUTTONUP>: Fix last change.
	(syms_of_w32term): Define x-use-underline-position-properties.
d8464 1
a8464 3
	* w32fns.c (x_set_cursor_color): Set cursor_gc as well.
	(clear_image_cache): Block input, fix logic, clear matrices in
	all frames that share this cache.
d8466 2
a8467 1
2002-03-22  Eli Zaretskii  <eliz@@is.elta.co.il>
d8469 1
a8469 2
	* emacs.c (main): Update the Copyright year in the blurb printed
	by "emacs --version".
d8471 2
a8472 1
	* xdisp.c (message_with_string): Fix syntax of a call to GCPRO2.
d8474 4
a8477 3
	* xterm.c (XTread_socket): If XK_ISO_Lock and
	XK_ISO_Last_Group_Lock are defined, handle keysyms between
	XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch.
d8479 1
a8479 1
2002-03-21  Kim F. Storm  <storm@@cua.dk>
d8481 2
a8482 5
	* keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so
	menu-bar bindings in keymap and local-map properties _are_ used.
	But try keymap property first in accordance with 2002-01-03 patch.
	Added comment describing why this is not always reliable.
	(tool_bar_items): Ditto for tool-bar.
d8484 1
a8484 1
2002-03-21  Jason Rumney  <jasonr@@gnu.org>
d8486 1
a8486 1
	* w32fns.c (x_clear_image_1): Disable color table code.
d8488 1
a8488 1
2002-03-21  Kim F. Storm  <storm@@cua.dk>
d8490 9
a8498 2
	* lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch
	removed the wrong version of the DEFUN macro; fixed it.
d8500 1
a8500 3
	* fns.c (Ffeaturep): Allow subfeature to be a list (test using
	Fmember rather than Fmemq).
	(Fprovide): Check that subfeatures is a list.
d8502 4
a8505 12
	* process.c (QCfeature, QCdatagram): Removed variables.
	(QCtype, Qdatagram): New variables.
	(network_process_featurep): Removed function.
	(Fmake_network_process): Removed :feature check.
	Use :type 'datagram instead of :datagram t to create a datagram
	socket.  This allows us to add other connection types (e.g. raw
	sockets) later in a consistent manner.
	(init_process) [subprocess, HAVE_SOCKETS]: Provide list of
	supported subfeatures for feature make-network-process.
	(syms_of_process) [subprocess]: Remove QCfeature and QCdatagram.
	Intern and staticpro QCtype and Qdatagram.
	(syms_of_process) [!subprocess]: Intern and staticpro QCtype.
d8507 1
a8507 2
	* xfns.c: (QCtype): Remove duplicate declaration and
	initialization (is now declared in process.c).
d8509 3
a8511 2
	* w32fns.c: (QCtype): Remove duplicate declaration and
	initialization (is now declared in process.c).
d8513 1
a8513 1
2002-03-21  Richard M. Stallman  <rms@@gnu.org>
d8515 3
a8517 5
	* regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro.
	(CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT
	when jumping to `fail' to avoid undoing reg changes in the
	last iteration of the loop.
	(GET_UNSIGNED_NUMBER): Skip spaces around the number.
d8519 1
a8519 2
	* Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o):
	Depend on process.h.
d8521 2
a8522 1
2002-03-20  Jason Rumney  <jasonr@@gnu.org>
d8524 1
a8524 2
	Most of the following changes are still conditional on HAVE_IMAGES
	which is not set by default on Windows.
d8526 2
a8527 1
	* emacs.c (main) [WINDOWSNT]: Call init_xfns.
d8529 1
a8529 7
	* w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame.
	(Fimage_size, Fimage_mask_p, XPutPixel): New functions.
	(four_corners_best, x_clear_image_1, x_clear_image)
	(x_alloc_image_color, postprocess_image)
	(x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image)
	(x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows.
	(init_xfns, syms_of_w32fns): Initialize image functions and constants.
d8531 2
a8532 1
	* w32gui.h (struct XImage): Define.
d8534 1
a8534 2
	* w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to
	extract mouse co-ordinates.
d8536 10
a8545 1
2002-03-20  Jason Rumney  <jasonr@@gnu.org>
d8547 1
a8547 6
	* w32.c (init_winsock): Dynamically load new server and UDP
	socket functions.
	(socket_to_fd): New function.
	(sys_socket): Use it.
	(sys_setsockopt, sys_listen, sys_getsockname, sys_accept)
	(sys_recvfrom, sys_sendto): New wrapper functions.
d8549 1
a8549 2
	* process.c (QCfamily, QCfilter): Remove duplicate declaration
	and initialization.
d8551 1
a8551 1
	* makefile.w32-in (LIBS): Remove $(WSOCK32).
d8553 2
a8554 1
2002-03-20  Eli Zaretskii  <eliz@@is.elta.co.il>
d8556 1
a8556 3
	* process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr):
	Don't use "sun" as a variable, it's a predefined constant on Sun
	machines.
d8558 2
a8559 1
2002-03-20  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d8561 3
a8563 1
	* bytecode.c (Fbyte_code): Revert last change.
d8565 1
a8565 1
2002-03-19  Kim F. Storm  <storm@@cua.dk>
d8567 1
a8567 2
	* makefile.w32-in (LIBS): Add $(WSOCK32).
	From David Ponce <dponce@@voila.fr>.
d8569 1
a8569 1
2002-03-18  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d8571 2
a8572 2
	* process.c (wait_reading_process_input): Move variables `pname'
	and `pnamelen' down where they are used.
d8574 1
a8574 2
	* bytecode.c (Fbyte_code): Discard unused computed value to
	prevent gcc warning.
d8576 6
a8581 1
	* lisp.h (Fplist_member): Add prototype.
d8583 19
a8601 1
2002-03-18  Kim F. Storm  <storm@@cua.dk>
d8603 1
a8603 2
	* config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT,
	HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H.
d8605 1
a8605 2
	* process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H.
	Remove explicit GNU_LINUX settings for datagram support.
d8607 2
a8608 1
2002-03-18  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d8610 1
a8610 3
	* process.c (Fmake_network_process): Remove unused variable `sa'.
	Doc fix.  Add usage:.
	(set_socket_options): Remove unused variables `optnum' and `opttype'.
d8612 1
a8612 1
2002-03-17  Richard M. Stallman  <rms@@gnu.org>
d8614 3
a8616 6
	* xdisp.c (cursor_type_changed): New variable.
	(redisplay_internal): Redisplay all windows if cursor_type_changed.
	Clear it when clearing windows_or_buffers_changed.
	(try_cursor_movement, redisplay_window, try_window_id)
	(try_window_reusing_current_matrix): Test cursor_type_changed
	along with windows_or_buffers_changed.
d8618 1
a8618 1
	* window.h (cursor_type_changed): New variable.
d8620 1
a8620 2
	* xfns.c (x_set_cursor_type): Set cursor_type_changed,
	not update_mode_lines, and always set it to 1.
d8622 2
a8623 2
	* xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed
	if no frames needed redrawing.
d8625 1
a8625 1
2002-03-17  Kim F. Storm  <storm@@cua.dk>
d8627 2
a8628 2
	The following changes add support for network server processes,
	datagram connections, and local (unix) sockets.
d8630 2
a8631 4
	* process.h (struct Lisp_Process): New member log.
	Doc fix: Member command used to indicate stopped network process.
	Doc fix: Member childp contains plist for network process.
	Doc fix: Member kill_without_query is inverse of query-on-exit flag.
d8633 2
a8634 88
	* process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily)
	(QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop)
	(QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature):
	New variables.
	(NETCONN1_P): New macro.
	(DATAGRAM_SOCKETS): New conditional symbol.
	(datagram_address): New array.
	(DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros.
	(status_message): Use concat3.
	(Fprocess_status): Add `listen' status to doc string.  Return `stop'
	for a stopped network process.
	(Fset_process_buffer): Update contact plist for network process.
	(Fset_process_filter): Ditto.  Don't enable input for stopped
	network processes.  Server must listen, even if filter is t.
	(Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag):
	New functions.
	(Fprocess_kill_without_query): Removed.  Now defined in simple.el.
	(Fprocess_contact): Added KEY argument.  Handle datagrams.
	(list_processes_1): Optionally show only processes with the query
	on exit flag set.  Dynamically adjust column widths.  Omit tty
	column if not needed.  Report stopped network processes.
	Identify server and datagram network processes.
	(Flist_processes): New optional arg `query-only'.
	(conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size)
	(conv_lisp_to_sockaddr, set_socket_options)
	(network_process_featurep, unwind_request_sigio): New helper functions.
	(Fprocess_datagram_address, Fset_process_datagram_address):
	(Fset_network_process_options): New lisp functions.
	(Fopen_network_stream): Removed.  Now defined in simple.el.
	(Fmake_network_process): New lisp function.  Code is based on previous
	Fopen_network_stream, but heavily reworked with new property list based
	argument list, support for datagrams, server processes, and local
	sockets in addition to old client-only functionality.
	(server_accept_connection): New function.
	(wait_reading_process_input): Use it to handle incoming connects.
	Do not enable input on a new connection if process is stopped.
	(read_process_output): Handle datagram sockets. Use 2k buffer for them.
	(send_process): Handle datagram sockets.
	(Fstop_process, Fcontinue_process): Apply to network processes.  A stopped
	network process is indicated by setting command field to t .
	(Fprocess_send_eof): No-op if datagram connection.
	(Fstatus_notify): Don't read input for a stream server socket or a
	stopped network process.
	(init_process): Initialize datagram_address array.
	(syms_of_process): Intern and staticpro new variables, defsubr new
	functions.

2002-03-16  Jason Rumney  <jasonr@@gnu.org>

	* w32fns.c (w32_to_all_x_charsets): Return correct type in
	startup case.

2002-03-16  Richard M. Stallman  <rms@@gnu.org>

	* xdisp.c (redisplay_internal, redisplay_windows):
	Use list_of_error to call internal_condition_case_1.
	(safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2}
	so as to catch all errors with no possibility of debugger redisplay.
	(list_of_error): New variable.
	(syms_of_xdisp): Init and staticpro it.

	* print.c (print_object): Delete `\ ' from printed rep of frame.

2002-03-15  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (dos_rawgetc): Disable the x-autoselect-window feature,
	until its implementation is fixed.

2002-03-14  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>

	* xfns.c (png_load): Remove unused variable `gamma_str'.

2002-03-14  Richard M. Stallman  <rms@@gnu.org>

	* xfns.c (x_real_positions): Handle failure in XQueryTree.

2002-03-14  Miles Bader  <miles@@gnu.org>

	* intervals.c (adjust_for_invis_intang): New function.
	(set_point_both): Use `adjust_for_invis_intang' to do most of the
	work for dealing with invisible+intangible regions.  Do so before
	and after both forward and backward movements, to handle both
	front-sticky and rear-sticky cases.
	* textprop.c (text_property_stickiness): Function moved here from
	`editfns.c'.
	* intervals.h (text_property_stickiness): New declaration.
	* editfns.c (char_property_eq): Function removed.
	(text_property_stickiness): Function moved to `textprop.c'.
d8636 4
a8639 1
2002-03-13  Jason Rumney  <jasonr@@gnu.org>
d8641 1
a8641 1
	* config.in: Add STRFTIME_NO_POSIX2.
d8643 4
a8646 2
	* strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX
	and %OX when underlying strftime does not.
d8648 1
a8648 1
2002-03-13  Stefan Monnier  <monnier@@cs.yale.edu>
d8650 1
a8650 5
	* xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>:
	Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per
	line) to avoid annoying flicker.
	(xm_scroll_callback): Get rid of the now unnecessary kludge.
	(XTread_socket): Mark it static.
d8652 1
a8652 1
	* xdisp.c (display_mode_element): Fix int/Lisp_Object mixup.
d8654 2
a8655 1
2002-03-13  Kim F. Storm  <storm@@cua.dk>
d8657 2
a8658 1
	* puresize.h (BASE_PURESIZE): Increase to 775000.
d8660 1
a8660 1
2002-03-12  Juanma Barranquero  <lektu@@terra.es>
d8662 3
a8664 1
	* editfns.c (syms_of_editfns): Fix typo.
d8666 1
a8666 1
2002-03-12  Gerd Moellmann  <gerd@@gnu.org>
d8668 2
a8669 2
	* xsmfns.c: Include stdio.h because termhooks.h needs it.
	Include termopt.h for interrupt_input.
d8671 1
a8671 1
2002-03-11  Andreas Schwab  <schwab@@suse.de>
d8673 1
a8673 1
	* coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix.
d8675 1
a8675 1
2002-03-11  Gerd Moellmann  <gerd@@gnu.org>
d8677 2
a8678 2
	* xterm.c (note_mouse_movement): Put code for
	x_autoselect_window_p in #if 0.
d8680 1
a8680 2
	* lread.c (Fload): Don't assume that message_with_string uses the
	string it is given like a C string.
d8682 5
a8686 1
2002-03-10  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d8688 5
a8692 1
	* xterm.h (x_session_check_input, x_session_initialize): Declared.
d8694 3
a8696 3
	* xterm.c: (XTread_socket): Add call to x_session_check_input and
	x_session_have_connection.
	(x_initialize): Add call to x_session_initialize.
d8698 1
a8698 1
	* termhooks.h (enum event_kind): Add save_session_event.
d8700 4
a8703 1
	* keyboard.c: Add Emacs event save_session_event.
d8705 4
a8708 1
	* emacs.c (main): Add call to syms_of_xsmfns.
d8710 28
a8737 1
	* lisp.h: Declare syms_of_xsmfns as extern.
d8739 1
a8739 1
	* config.in: Add HAVE_X_SM.
d8741 2
a8742 3
	* Makefile.in (LIBXT): Add -lSM -lICE
	if HAVE_X_SM and not USE_X_TOOLKIT.
	(XOBJ): New file xsmfns.c added.
d8744 1
a8744 1
	* xsmfns.c: New file for X session management.
d8746 1
a8746 1
2002-03-09  Jason Rumney  <jasonr@@gnu.org>
d8748 1
a8748 2
	* fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not
	read-only when setting modified time.
d8750 2
a8751 1
2002-03-08  Gerd Moellmann  <gerd@@gnu.org>
d8753 4
a8756 2
	* xdisp.c (move_it_vertically_backward): At the end of the function,
	when moving forward by lines, treat terminal frames specially.
d8758 1
a8758 2
	* keyboard.c (echo_char): Make sure to add a separator between
	keys even if echo_dash hasn't been called.
d8760 1
a8760 6
	* xdisp.c: Use new string macros.
	(update_echo_area): Pass number of bytes to message3 instead of
	number of chars.
	(set_message_1): Don't access a string's size_byte directly.
	(decode_mode_spec_coding): Use number of bytes of eoltype string
	instead number of chars.
d8762 2
a8763 1
	* lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros.
d8765 2
a8766 1
2002-03-08  Juanma Barranquero  <lektu@@terra.es>
d8768 6
a8773 2
	* w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to
	24-bit.
d8775 2
a8776 1
2002-03-06  Jason Rumney  <jasonr@@gnu.org>
d8778 11
a8788 1
	* w32term.c (x_draw_hollow_cursor): Draw same size as block cursor.
d8790 3
a8792 1
2002-03-06  Gerd Moellmann  <gerd@@gnu.org>
d8794 5
a8798 4
	* keyboard.c (echo_prompt, echo_char, echo_dash, echo_now)
	(cancel_echoing, echo_length, echo_truncate): Changed to
	work with new kboard definition.
	(echo_now): Use message3_nolog instead of message2_nolog.
d8800 1
a8800 1
	* alloc.c (mark_kboards): Mark echo_string.
d8802 2
a8803 3
	* keyboard.h (ECHOBUFSIZE): Removed.
	(struct kboard): Member echoptr removed, member echobuf renamed
	to echo_string.
d8805 4
a8808 3
	* xdisp.c (message_with_string): Use Fformat instead of doprnt and
	message3 instead of message2 to display the message using STRING's
	text properties.
d8810 1
a8810 1
2002-03-05  Andreas Schwab  <schwab@@suse.de>
d8812 3
a8814 1
	* xdisp.c (hscroll_margin): Change to EMACS_INT.
d8816 1
a8816 1
2002-03-05  Per Abrahamsen  <abraham@@dina.kvl.dk>
d8818 1
a8818 2
	* frame.c (default-frame-alist): Explain that setting it doesn't
	affect existing frames.
d8820 1
a8820 1
2002-03-05  Stefan Monnier  <monnier@@cs.yale.edu>
d8822 1
a8822 1
	* indent.c (skip_invisible): Fix my brain fart.
d8824 6
a8829 1
	* dispnew.c (sit_for): Don't wait if executing a kbd macro.
d8831 4
a8834 1
2002-03-04  Stefan Monnier  <monnier@@cs.yale.edu>
d8836 1
a8836 5
	* dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c,
	* alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h,
	* lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c,
	* window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition
	and variables to use EMACS_INT instead of just int.
d8838 3
a8840 1
	* buffer.c (syms_of_buffer): Allow non-string `mode-name'.
d8842 2
a8843 1
2002-03-04  Eli Zaretskii  <eliz@@is.elta.co.il>
d8845 17
a8861 2
	* sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the
	environment, pass it down with corrected value.
d8863 2
a8864 1
2002-03-04  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d8866 3
a8868 2
	* lread.c (read_filtered_event): Do not call start_hourglass
	before returning.
d8870 1
a8870 1
2002-03-04  Juanma Barranquero  <lektu@@terra.es>
d8872 1
a8872 1
	* w32term.c (x_display_and_set_cursor): Fix typo.
d8874 1
a8874 1
2002-03-03  Richard M. Stallman  <rms@@gnu.org>
d8876 1
a8876 1
	* fileio.c (Fmake_temp_name): Doc fix.
d8878 1
a8878 1
2002-03-03  Gary Wong  <gtw@@gnu.org>
d8880 1
a8880 2
	* termcap.c [!emacs]: Replace ospeed for building standalone
	libtermcap, for binary compatibility.
d8882 2
a8883 1
	* tparam.c [!emacs]: Move #define of bcopy to after string.h.
d8885 3
a8887 1
2002-03-03  Richard M. Stallman  <rms@@gnu.org>
d8889 5
a8893 1
	* xrdb.c (file_p): Rename arg `path' to `filename'.
d8895 8
a8902 2
	* abbrev.c (Fexpand_abbrev): Increment plist as use count
	only if it is an integer.
d8904 3
a8906 3
	* xfns.c (png_load): Set screen_gamma based on f->gamma.
	If png_get_sRGB gives an answer, call png_set_gamma
	using the default image gamma value.
d8908 1
a8908 2
	* lread.c (read1): When reading from a file, default string to
	multibyte only if it has some multibyte characters.
d8910 7
a8916 2
	* print.c (print_object): Output multibyte chars 128...255
	using \x even if ! print_escape_multibyte.
d8918 1
a8918 3
	* xdisp.c (display_mode_element): Move the places where
	bytepos, charpos, this, and lisp_string are set.
	Use lisp_string to set bytepos.
d8920 2
a8921 2
	* xdisp.c (redisplay_internal):
	Call clear_image_cache only if HAVE_WINDOW_SYSTEM.
d8923 2
a8924 2
	* xdisp.c (display_mode_element): Merge properties specified with
	:propertize onto those that come with the string.
d8926 4
a8929 1
2002-03-03  Eli Zaretskii  <eliz@@is.elta.co.il>
d8931 2
a8932 5
	* xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from
	automatic-hscrolling.  Users changed.
	<hscroll-margin>: Renamed from automatic-hscroll-margin.
	Users changed.
	<hscroll-step>: Renamed from automatic-hscroll-step.  Users changed.
d8934 1
a8934 1
2002-03-02  Eli Zaretskii  <eliz@@is.elta.co.il>
d8936 1
a8936 1
	* buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix.
d8938 9
a8946 1
2002-03-02  Kim F. Storm  <storm@@cua.dk>
d8948 1
a8948 2
	* window.c (Fminibuffer_selected_window): New function.
	(syms_of_window): Defsubr it.
d8950 3
a8952 1
2002-03-01  Kim F. Storm  <storm@@cua.dk>
d8954 5
a8958 1
	* window.h (struct window): New member phys_cursor_width.
d8960 4
a8963 1
	* window.c (make_window, replace_window): Init phys_cursor_width.
d8965 1
a8965 2
	* xterm.c (x_display_and_set_cursor): Blink box cursor using
	hollow box cursor.  Blink bar cursor using 1 pixel wide bar.
d8967 2
a8968 2
	* w32term.c (x_display_and_set_cursor): Blink box cursor using
	hollow box cursor.  Blink bar cursor using 1 pixel wide bar.
d8970 1
a8970 1
	* lisp.h (GCPRO6): New macro.
d8972 2
a8973 1
	* process.c (Fopen_network_stream): Use GCPRO6.
d8975 1
a8975 1
2002-03-01  Kim F. Storm  <storm@@cua.dk>
d8977 1
a8977 13
	* process.c (Qconnect, Qfailed): New variables.
	(syms_of_process): Intern and staticpro them.
	(Fprocess_status): Document connect and failed return values.
	[NON_BLOCKING_CONNECT]: New conditional.
	(connect_wait_mask, num_pending_connects): New variables.
	(status_message): Convert Qfailed status.
	(Fopen_network_stream): Added support for non-blocking connect.
	New optional args: filter, sentinel, non_blocking.  Doc updated.
	[HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code.
	(deactivate_process): Handle pending non-blocking connect.
	(wait_reading_process_input): Poll for status of non-blocking
	connects.  Exec sentinel directly when connect succeeds.
	(status_notify): Don't read process output if not yet connected.
d8979 1
a8979 1
2002-02-28  Kim F. Storm  <storm@@cua.dk>
d8981 1
a8981 3
	* window.c: (minibuf_selected_window): Renamed from
	Vminibuf_selected_window.  Users changed.
	(syms_of_window): Staticpro it.
d8983 1
a8983 1
2002-02-26  Kim F. Storm  <storm@@cua.dk>
d8985 1
a8985 3
	The following changes add a new Vminibuf_selected_window variable
	which is similar to Vminibuf_scroll_window, but which is only set
	on entry to the minibuffer (from a non-minibuffer window):
d8987 4
a8990 6
	* window.c: (Vminibuf_selected_window): New variable.
	(struct save_window_data): New member minibuf_selected_window.
	(Fset_window_configuration): Restore Vminibuf_selected_window.
	(Fcurrent_window_configuration): Save Vminibuf_selected_window.
	Set minibuf_scroll_window member to nil if minibuf_level is 0.
	(compare_window_configurations): Compare minibuf_selected_window.
d8992 1
a8992 1
	* window.h: (Vminibuf_selected_window): Declare extern.
d8994 1
a8994 2
	* minibuf.c (read_minibuf): Set Vminibuf_selected_window on first
	entry to minibuffer or on entry from a non-minibuffer window.
d8996 2
a8997 2
	* dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with
	Vminibuf_selected_window instead of Vminibuf_scroll_window.
d8999 2
a9000 4
	* xdisp.c (init_iterator): Compare with Vminibuf_selected_window
	instead of Vminibuf_scroll_window when deciding in which window
	the region should be highlighted.  Consequently, the region remains
	highlighteded even when a completion buffer is also displayed.
d9002 1
a9002 1
2002-02-26  Eli Zaretskii  <eliz@@is.elta.co.il>
d9004 1
a9004 1
	* fileio.c (Fsubstitute_in_file_name): Fix the change from 2002-02-08.
d9006 1
a9006 3
	* xselect.c (Qcompound_text_with_extensions): Renamed from
	Qcompound_text_no_extensions.
	(lisp_data_to_selection_data, syms_of_xselect): Use the new name.
d9008 9
a9016 1
2002-02-26  Juanma Barranquero  <lektu@@terra.es>
d9018 1
a9018 1
	* w32proc.c (syms_of_ntproc): Doc fix.
d9020 2
a9021 1
2002-02-24  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9023 1
a9023 1
	* intervals.h: Include "dispextern.h" unconditionally.
d9025 3
a9027 1
2002-02-24  Jason Rumney  <jasonr@@gnu.org>
d9029 1
a9029 3
	* Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc
	and disp-table.elc.
	(lisp): Add emacs-lisp/backquote.elc.
d9031 2
a9032 1
2002-02-24  Kim F. Storm  <storm@@cua.dk>
d9034 1
a9034 4
	* keymap.c (Flookup_key): Fixed problem in 2001-12-28 patch:
	The validation of the event type was too strict as it didn't
	allow string events; buffer names are used in bindings for
	menu-bar-select-buffer (see `menu-bar-update-buffers').
d9036 1
a9036 1
2002-02-23  Kim F. Storm  <storm@@cua.dk>
d9038 4
a9041 4
	The following changes rework my patch of 2002-02-06 which
	added command remapping by entering the commands directly into
	the keymaps.  Now, command remapping uses an explicit `remap'
	prefix in the keymaps, i.e. [remap COMMAND].
d9043 1
a9043 12
	* keymap.c (Qremap, remap_command_vector): New variables.
	(is_command_symbol): Removed function.
	(Fdefine_key): No longer accept a symbol for KEY.
	Added validation of [remap COMMAND] argument for KEY.
	The DEF is no longer required to be a symbol when remapping a command.
	(Fremap_command): New function to remap command through keymaps.
	(Flookup_key): Perform command remapping initiated by
	Fremap_command directly for speed.
	(Fkey_binding): Use Fremap_command for command remapping.
	(where_is_internal): Handle new command remapping representation.
	(syms_of_keymap): Intern Qremap, initialize remap_command_vector,
	staticpro them.  Defsubr Fremap_command.
d9045 2
a9046 2
	* keymap.h (Fremap_command): Declare extern.
	(is_command_symbol): Remove extern.
d9048 3
a9050 2
	* keyboard.c (command_loop_1): Use Fremap_command for command
	remapping; now try command remapping for all symbols.
d9052 5
a9056 1
2002-02-23  Eli Zaretskii  <eliz@@is.elta.co.il>
d9058 2
a9059 1
	* coding.h (run_pre_post_conversion_on_str): Add prototype.
d9061 1
a9061 1
2002-02-23  Jason Rumney  <jasonr@@gnu.org>
d9063 2
a9064 4
	* w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion
	on the string before encoding it.
	(Fw32_get_clipboard_data): Run post-read-conversion on the string
	after decoding it.
d9066 1
a9066 1
	* w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change.
d9068 4
a9071 1
2002-02-23  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9073 7
a9079 2
	* w32term.c (enter_timestamp): Remove unused static variable to
	prevent warning.
d9081 1
a9081 1
	* xterm.c (enter_timestamp): Put in #if 0 to prevent warning.
d9083 1
a9083 1
2002-02-23  Eli Zaretskii  <eliz@@is.elta.co.il>
d9085 1
a9085 1
	* w16select.c (Fw16_get_clipboard_data): Fix last change.
d9087 9
a9095 1
	* xselect.c (selection_data_to_lisp_data): Fix last change.
d9097 1
a9097 1
2002-02-22  Jason Rumney  <jasonr@@gnu.org>
d9099 1
a9099 1
	* w32term.h (struct w32_output): New member menu_command_in_progress.
d9101 5
a9105 2
	* w32menu.c (menubar_selection_callback): Free the menu and
	clear the menu_command_in_progress flag.
d9107 1
a9107 8
	* w32fns.c (mouse_move_timer, mouse_button_timer): Initialize.
	(menu_free_timer): New variable.
	(MENU_FREE_ID, MENU_FREE_DELAY): New constants.
	(w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer.
	<WM_EXITMENULOOP>: Delay before freeing menu.  Do nothing if a
	menu command is in progress.
	<WM_COMMAND>: Set the menu_command_in_progress flag.
	Kill any menu_free_timer that is running.
d9109 16
a9124 2
	* w32term.c (w32_text_out): Renamed from W32_TEXTOUT.
	Call ExtTextOutA rather than ExtTextOut.
d9126 3
a9128 1
2002-02-22  Eli Zaretskii  <eliz@@gnu.org>
d9130 2
a9131 1
	* puresize.h (BASE_PURESIZE): Increase to 755000.
d9133 1
a9133 1
2002-02-22  Eli Zaretskii  <eliz@@is.elta.co.il>
d9135 1
a9135 4
	* w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion
	on the string before encoding it.
	(Fw16_get_clipboard_data): Run post-read-conversion on the string
	after decoding it.
d9137 1
a9137 1
2002-02-22  Eli Zaretskii  <eliz@@is.elta.co.il>
d9139 2
a9140 1
	Support for ICCCM  Extended Segments in X selections:
d9142 2
a9143 7
	* xselect.c <Qcompound_text_no_extensions>: New variable.
	(syms_of_xselect): Intern and staticpro it.
	(selection_data_to_lisp_data): Run post-read-conversion on decoded
	selection text.
	(lisp_data_to_selection_data): If next-selection-coding-system is
	compound-text-no-extensions, set the type of selection to be
	compound-text.
d9145 1
a9145 1
	* xterm.h (x_encode_text): Update prototype.
d9147 1
a9147 3
	* xfns.c (x_encode_text): Accept additional arg SELECTIONP; all
	callers changed.  If SELECTIONP is non-zero, run the
	pre-write-conversion function before encoding the selection text.
d9149 2
a9150 1
2002-02-21  Kim F. Storm  <storm@@cua.dk>
d9152 3
a9154 1
	* frame.c (syms_of_frame): Change mouse-highlight default to t.
d9156 1
a9156 2
	* keyboard.c (kbd_buffer_get_event) [WINDOWSNT]:
	Correct composing of language-change event.
d9158 1
a9158 1
2002-02-20  Kim F. Storm  <storm@@cua.dk>
d9160 1
a9160 5
	* keyboard.c (menu_bar_items): Don't include keymap or local-map
	bindings at PT when building menu (the menu is not updated often
	enough for this to work reliable).
	(tool_bar_items): Likewise.
	(current_active_maps): Removed unused (and buggy) function.
d9162 5
a9166 1
2002-02-20  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9168 1
a9168 1
	* xfns.c (gif_load): Use correct width and height for GIF images.
d9170 3
a9172 1
2002-02-19  Eli Zaretskii  <eliz@@is.elta.co.il>
d9174 1
a9174 2
	* floatfns.c (Fatan): Accept an optional second arg and call
	atan2 if passed 2 args.
d9176 2
a9177 1
2002-02-18  Jason Rumney  <jasonr@@gnu.org>
d9179 10
a9188 1
	* w32term.c (glyph_rect): Determine the row and glyph more precisely.
d9190 1
a9190 1
2002-02-17  Jason Rumney  <jasonr@@gnu.org>
d9192 1
a9192 3
	* w32term.c (x_autoselect_window_p): New variable.
	(syms_of_w32term): DEFVAR_BOOL and initialize it.
	(note_mouse_movement): Use it.
d9194 1
a9194 1
	* w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero.
d9196 1
a9196 1
	* w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p.
d9198 1
a9198 68
	* w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth):
	New variables.
	(syms_of_w32fns): Intern and staticpro them.
	(x_frame_parms) <"fullscreen">: New parameter.
	(x_fullscreen_move, x_set_fullscreen): New functions.
	(x_set_frame_parameters): Support Qfullscreen.
	(x_real_positions): Save x/y_pixels_diff frame params.
	(x_figure_window_size): Support full-screen frames.
	(Fx_create_frame): Default the fullscreen parameter.

	* w32term.c (x_check_fullscreen, x_check_fullscreen_move)
	(x_fullscreen_adjust): New functions.
	(w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't	resize to
	fullscreen.  Call x_check_fullscreen_move, and set the
	want_fullscreen member of output_data.w32
	<WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen.

	* w32term.h: New enum for FULLSCREEN_* constants.
	(struct w32_output): New members want_fullscreen, x_pixels_diff,
	y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff.
	(x-fullscreen-adjust): New prototype.

2002-02-17  Kim F. Storm  <storm@@cua.dk>

	* frame.c: (Vmouse_highlight): New variable.
	(syms_of_frame): DEFVAR_LISP it.

	* frame.h: (Vmouse_highlight): Declare extern.

	* xterm.h (struct x_display_info): Add mouse_face_hidden.

	* xterm.c (disable_mouse_highlight): Removed variable.
	(note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
	(show_mouse_face): Don't show highlight if mouse_face_hidden is	set.
	(XTread_socket): Turn mouse_face_hidden off after mouse movement,
	and on after keyboard input.
	(x_term_init): Initialize mouse_face_hidden.

	* msdos.h (struct display_info): Add mouse_face_hidden.

	* msdos.c (disable_mouse_highlight): Removed variable.
	(show_mouse_face): Don't show highlight if mouse_face_hidden is	set.
	(IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
	(internal_terminal_init): Initialize mouse_face_hidden.
	(dos_rawgetc): Turn mouse_face_hidden off after mouse movement,
	and on after keyboard input.

	* w32term.h (struct w32_display_info): Add mouse_face_hidden.

	* w32term.c (disable_mouse_highlight): Removed variable.
	(note_mouse_highlight): Disable highlight if Vmouse_highlight is nil.
	(show_mouse_face): Don't show highlight if mouse_face_hidden is	set.
	(w32_read_socket): Turn mouse_face_hidden off after mouse movement,
	and on after keyboard input.
	(w32_initialize_display_info): Initialize mouse_face_hidden.

2002-02-16  Eli Zaretskii  <eliz@@is.elta.co.il>

	* msdos.c (last_mouse_window): New variable.
	(dos_rawgetc): Fix last change--if the mouse is in the same window
	as recorded in last_mouse_window, don't select this window.

	* Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el.

	* msdos.c (x_autoselect_window_p): New variable.
	(syms_of_msdos): Defvar it.
	(dos_rawgetc): If x_autoselect_window_p is set, select the window in
	which the last mouse movement occured, unless it is already selected.
d9200 3
a9202 5
	* xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step):
	New variables.
	(syms_of_xdisp): DEVFAR them.
	(hscroll_window_tree): Use automatic_hscroll_margin and
	Vautomatic_hscroll_step to compute the amount of window scrolling.
d9204 2
a9205 1
2002-02-16  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9207 1
a9207 2
	* xterm.c (x-autoselect-window): New variable.
	(note_mouse_movement): Use it.
d9209 2
a9210 1
	* keyboard.c: Do not include "systime.h" twice.
d9212 1
a9212 1
2002-02-15  Andreas Schwab  <schwab@@suse.de>
d9214 3
a9216 1
	* puresize.h (BASE_PURESIZE): Increase to 9/5.
d9218 1
a9218 1
	* alloc.c (NSTATICS): Increase to 1280.
d9220 4
a9223 1
2002-02-15  Kai Gro,A_(Bjohann  <Kai.Grossjohann@@CS.Uni-Dortmund.DE>
d9225 1
a9225 1
	* alloc.c (NSTATICS): Bump to 1026.
d9227 1
a9227 5
	* xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym)
	(Vx_super_keysym): New variables.
	(syms_of_xterm): DEFVAR_LISP them.
	(x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the
	variables to determine which keys to use for the various modifiers.
d9229 3
a9231 1
2002-02-13  Kim F. Storm  <storm@@cua.dk>
d9233 1
a9233 3
	* window.c: (Vmode_line_in_non_selected_windows): Removed.
	(mode_line_in_non_selected_windows): New variable.
	(syms_of_window): DEFVAR_BOOL it.
d9235 2
a9236 4
	* dispextern.h (CURRENT_MODE_LINE_FACE_ID_3):
	Use mode_line_in_non_selected_windows.
	(mode_line_in_non_selected_windows): Declare extern.
	(Vmode_line_in_non_selected_windows): Removed extern.
d9238 1
a9238 1
2002-02-13  Richard M. Stallman  <rms@@gnu.org>
d9240 2
a9241 3
	* keyboard.c (Fthis_command_keys, Fthis_command_keys_vector)
	(Fthis_single_command_keys, Fthis_single_command_raw_keys)
	(Fclear_this_command_keys): Doc fixes.
d9243 1
a9243 3
	* xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
	(update_face_from_frame_parameter): Increment face_change_count
	and windows_or_buffers_changed to force redisplay using changed faces.
d9245 1
a9245 9
	* xdisp.c (QCpropertize): New variable.
	(mode_line_proptrans_alist): New variable.
	(display_mode_element): New arg PROPS; all calls changed.
	Implement this, for strings.
	Handle literal output of strings by sharing the
	main-line code for strings, using local var `literal'.
	Handle :propertize feature.
	(syms_of_xdisp): Initialze and staticpro QCpropertize and
	mode_line_proptrans_alist.
d9247 2
a9248 1
2002-02-11  Kim F. Storm  <storm@@cua.dk>
d9250 1
a9250 2
	* window.c: (Vmode_line_in_non_selected_windows): New variable.
	(syms_of_window): DEFVAR_LISP it.
d9252 1
a9252 3
	* dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro.
	(CURRENT_MODE_LINE_FACE_ID): Use it.
	(Vmode_line_in_non_selected_windows): Declare extern.
d9254 1
a9254 2
	* xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3
	to get mode line face.
d9256 1
a9256 1
2002-02-11  Eli Zaretskii  <eliz@@is.elta.co.il>
d9258 2
a9259 2
	* msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these
	variables; cus-start.el doesn't need them anymore.
d9261 1
a9261 1
2002-02-09  Kim F. Storm  <storm@@cua.dk>
d9263 1
a9263 3
	* insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap
	reduction.  This fixes a display problem where stray newlines were
	inserted in the window (corrected by C-l).  Clarified code (IMHO).
d9265 2
a9266 1
2002-02-09  Eli Zaretskii  <eliz@@is.elta.co.il>
d9268 2
a9269 1
	* dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change.
d9271 6
a9276 1
	* xdisp.c (display_mode_lines): Fix last change.
d9278 1
a9278 1
2002-02-09  Jason Rumney  <jasonr@@gnu.org>
d9280 1
a9280 4
	* w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows
	match each other.
	(w32_load_system_font): Prevent Cleartype fonts from loading.
	(Fx_show_tip): Ensure tip frames are above other topmost windows.
d9282 3
a9284 1
2002-02-09  Kim F. Storm  <storm@@cua.dk>
d9286 2
a9287 3
	* dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro.
	(CURRENT_MODE_LINE_HEIGHT): Use it.
	(enum face_id): Add MODE_LINE_INACTIVE_FACE_ID.
d9289 1
a9289 4
	* xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID.
	(pos_visible_p, handle_face_prop): Likewise.
	(display_mode_lines): Likewise, but for the real selected window.
	(init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID.
d9291 2
a9292 4
	* xfaces.c (Qmode_line_inactive): New face variable for mode-line
	in non-selected windows.
	(realize_basic_faces): Realize it.
	(syms_of_term): Intern and staticpro it.
d9294 1
a9294 1
2002-02-08  Kim F. Storm  <storm@@cua.dk>
d9296 1
a9296 2
	* alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK):
	Changed mail addresses to emacs-devel@@gnu.org.
d9298 2
a9299 1
2002-02-08  Eli Zaretskii  <eliz@@is.elta.co.il>
d9301 1
a9301 2
	* fileio.c (Fsubstitute_in_file_name): If the file name includes
	~user, and there's no such user, don't discard everything before ~user.
d9303 2
a9304 1
	* floatfns.c (Fround): Doc fix.
d9306 1
a9306 1
2002-02-08  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9308 2
a9309 1
	* sysdep.c (init_system_name): Put unused variable `p' in #if 0.
d9311 1
a9311 1
2002-02-07  Stefan Monnier  <monnier@@cs.yale.edu>
d9313 2
a9314 1
	* lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c).
d9316 1
a9316 1
2002-02-07  Kim F. Storm  <storm@@cua.dk>
d9318 1
a9318 2
	* keymap.c (where_is_internal): Only check whether definition is
	remapped if it fulfills is_command_symbol.
d9320 1
a9320 1
2002-02-07  Andreas Schwab  <schwab@@suse.de>
d9322 1
a9322 1
	* s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k.
d9324 13
a9336 1
	* alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4.
d9338 1
a9338 1
2002-02-06  Kim F. Storm  <storm@@cua.dk>
d9340 1
a9340 12
	* keymap.c (Fdefine_key): Allow symbol as KEY argument for
	defining command remapping.  Doc updated.
	(Flookup_key): Remap command through keymap if KEY is a symbol.
	(is_command_symbol): New function.
	(Fkey_binding): Use it.  New optional argument NO-REMAP.
	Doc updated.  Callers changed.  Perform command remapping via
	recursive call unless that arg is non-nil.
	(where_is_internal): New argument no_remap.  Callers changed.
	Call recursively to find original key bindings for a remapped
	comand unless that arg is non-nil.
	(Fwhere_is_internal): New optional argument NO-REMAP.
	Doc updated.  Callers changed.  Pass arg to where_is_internal.
d9342 1
a9342 2
	* keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype.
	(is_command_symbol): Added prototype.
d9344 1
a9344 3
	* keyboard.c (Vthis_original_command): New variable.
	(syms_of_keyboard): DEFVAR_LISP it.
	(command_loop_1): Set it, and perform command remapping.
d9346 1
a9346 1
2002-02-06  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9348 2
a9349 1
	* keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally.
d9351 1
a9351 1
2002-02-06  Jason Rumney  <jasonr@@gnu.org>
d9353 1
a9353 1
	* w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change.
d9355 1
a9355 1
2002-02-06  Eli Zaretskii  <eliz@@is.elta.co.il>
d9357 5
a9361 1
	* charset.c (get_charset_id): Use if-else instead of ?:.
d9363 1
a9363 1
2002-02-06  Richard M. Stallman  <rms@@gnu.org>
d9365 1
a9365 1
	* filelock.c (S_ISLNK): Define if not defined.
d9367 2
a9368 1
2002-02-03  Richard M. Stallman  <rms@@gnu.org>
d9370 1
a9370 1
	* fileio.c (Fdo_auto_save): Improve "auto save disabled" msg.
d9372 7
a9378 3
	* lread.c (read1): Redesign strategy for force_multibyte and
	force_singlebyte.  Now is_multibyte records whether read_buffer
	is multibyte.  Encountering any multibyte character makes it so.
d9380 1
a9380 1
2002-02-02  Stefan Monnier  <monnier@@cs.yale.edu>
d9382 2
a9383 2
	* term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and
	with the same sequence, map that sequence to f10 rather than f0.
d9385 1
a9385 1
2002-02-03  Andreas Schwab  <schwab@@suse.de>
d9387 2
a9388 2
	* s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the
	latter never being defined on GNU/Linux.
d9390 1
a9390 1
2002-02-02  Eli Zaretskii  <eliz@@is.elta.co.il>
d9392 2
a9393 2
	* xfaces.c (realize_default_face): Don't set the weight and slant of
	the default face to Qnormal, unless these attributes are unspecified.
d9395 2
a9396 1
2002-02-02  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9398 1
a9398 2
	* keyboard.c (command_loop_1) [HAVE_X_WINDOWS]:
	Call cancel_hourglass unconditionally.
d9400 1
a9400 2
	* eval.c (Fsignal): Remove duplicated declaration of
	the variable `display_hourglass_p'.
d9402 2
a9403 1
2002-01-31  Richard M. Stallman  <rms@@gnu.org>
d9405 2
a9406 1
	* editfns.c (region_limit): Nicer error message.
d9408 2
a9409 2
	* coding.c (decode_composition_emacs_mule):
	Give up if NCOMPONENT gets too large to index `component'.
d9411 1
a9411 2
	* callint.c (check_mark): New arg to specify clearer error message.
	Callers changed.
d9413 2
a9414 1
2002-01-27  Richard M. Stallman  <rms@@gnu.org>
d9416 1
a9416 1
	* minibuf.c (Fcompleting_read): Doc fix.
d9418 1
a9418 1
2002-01-27  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9420 1
a9420 3
	* minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function)
	(Fread_variable, Fread_buffer, minibuffer-completion-confirm):
	Fix doc-strings.
d9422 3
a9424 1
2002-01-26  Richard M. Stallman  <rms@@gnu.org>
d9426 1
a9426 1
	* buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively.
d9428 1
a9428 2
	* xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively
	and scroll_up_aggressively.
d9430 1
a9430 1
2002-01-26  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9432 1
a9432 1
	* keyboard.c (parse_tool_bar_item): Remove duplicated prototypes.
d9434 1
a9434 1
2002-01-25  Stefan Monnier  <monnier@@cs.yale.edu>
d9436 1
a9436 3
	* textprop.c (Fnext_property_change, Fnext_single_property_change)
	(Fprevious_property_change, Fprevious_single_property_change):
	Stay within the narrowed-buffer boundaries.
d9438 1
a9438 1
2002-01-25  Eli Zaretskii  <eliz@@is.elta.co.il>
d9440 1
a9440 4
	* term.c (Ftty_display_color_cells): New function.
	(syms_of_term): Defsubr it.
	(Ftty_display_color_cells, Ftty_display_color_p): Change the
	argument name to DISPLAY.  Doc fix.
d9442 2
a9443 2
	* dispextern.h: Add prototype for set_tty_color_mode and
	tty_setup_colors.
d9445 1
a9445 1
2002-01-24  Jason Rumney  <jasonr@@gnu.org>
d9447 1
a9447 3
	* w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt.
	If region left to draw is not what was expected, mark the frame as
	garbaged.
d9449 1
a9449 2
	* w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect.
	Combine the regions returned by BeginPaint and GetUpdateRect.
d9451 1
a9451 1
2002-01-23  Jason Rumney  <jasonr@@gnu.org>
d9453 3
a9455 5
	* w32term.c (x_update_window_begin): Only hide caret if
	w32_use_visible_system_caret is set.
	(x_update_window_end): Only show caret if
	w32_use_visible_system_caret is set.
	(syms_of_w32term): Handle SystemParametersInfo call failing.
d9457 2
a9458 1
	* w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd.
d9460 2
a9461 1
2002-01-22  Richard M. Stallman  <rms@@gnu.org>
d9463 1
a9463 2
	* unexelf.c (unexec): Define n so as to cause compilation error
	for the code where people have often written n instead of nn.
d9465 1
a9465 1
	* .gdbinit (hookpost-run): Defined.
d9467 2
a9468 1
2002-01-22  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d9470 8
a9477 1
	* xfns.c (x_set_frame_parameters): Typo in previous fix corrected.
d9479 1
a9479 1
2002-01-21  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>
d9481 1
a9481 2
	* xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust
	if fullscreen is being set.
d9483 1
a9483 1
2002-01-21  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9485 2
a9486 3
	* minibuf.c (Fminibuffer_contents)
	(Fminibuffer_contents_no_properties, Fread_from_minibuffer)
	(Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes.
d9488 1
a9488 1
2002-01-21  Richard M. Stallman  <rms@@gnu.org>
d9490 1
a9490 1
	* window.c (check_frame_size): Fix minimum height calculation.
d9492 1
a9492 1
2002-01-20  Ken Raeburn  <raeburn@@gnu.org>
d9494 2
a9495 3
	* dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window
	height before comparison.
	(WINDOW_WANTS_HEADER_LINE_P): Likewise.
d9497 4
a9500 1
2002-01-20  Jason Rumney  <jasonr@@gnu.org>
d9502 2
a9503 17
	* w32term.c (w32_system_caret_width): Remove.
	(w32_use_visible_system_caret): New user flag.
	(syms_of_w32term): DEFVAR_BOOL it.  Initialize based on whether
	Windows reports a screen reader running.
	(x_update_window_begin): Hide the system caret.
	(x_update_window_end): Show the system caret.
	(x_display_and_set_cursor): Don't draw a cursor when
	w32_use_visible_system_caret is set.  Do not adjust width.

	* w32fns.c (w32_visible_system_caret_hwnd): New static variable.
	(w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it.
	<WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if
	the user requests it.  Use system default width when creating.
	<WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages.

	* w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET):
	New window messages.
d9505 1
a9505 1
2002-01-20  Richard M. Stallman  <rms@@gnu.org>
d9507 1
a9507 1
	* window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1.
d9509 1
a9509 1
2002-01-20  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9511 2
a9512 1
	* doprnt.c (doprnt1): Fix typos in error call.
d9514 1
a9514 1
2002-01-20  Eli Zaretskii  <eliz@@is.elta.co.il>
d9516 2
a9517 1
	* unexelf.c (unexec) [__sgi]: Support the .got sections.
d9519 4
a9522 1
2002-01-20  Jason Rumney  <jasonr@@gnu.org>
d9524 1
a9524 3
	* w32term.c (w32_native_per_char_metric): Don't trust the metrics
	that Windows returns.  If a double check fails, try to guess how
	ExtTextOut is going to act.
d9526 2
a9527 11
	* w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp
	in place of stricmp.
	(w32_list_synthesized_fonts): Removed.
	(w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions.
	(struct enumfont_t): New element; list.
	(enum_font_cb2): List all style and charset variations of a font.
	(Fw32_select_font): New optional argument; include_proportional.
	Exclude vertical fonts.  Exclude proportional fonts unless
	include_proportional is non-nil.
	(w32_enable_synthesized_fonts): Change to a boolean.
	(Fw32_send_sys_command): Doc fix.
d9529 2
a9530 1
2002-01-19  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9532 10
a9541 2
	* dispnew.c (update_frame): Move the variable `tem' to the block
	where it is used.
d9543 1
a9543 1
2002-01-19  Jason Rumney  <jasonr@@gnu.org>
d9545 2
a9546 2
	* w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around
	call to face-set-after-frame-default.
d9548 1
a9548 1
2002-01-18  Richard M. Stallman  <rms@@gnu.org>
d9550 2
a9551 2
	* dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1.
	(WINDOW_WANTS_HEADER_LINE_P): Check window height provides room.
d9553 3
a9555 1
2002-01-17  Richard M. Stallman  <rms@@gnu.org>
d9557 2
a9558 2
	* window.c (enlarge_window): When exceeding size of parent,
	directly delete all the siblings instead of trying to resize it.
d9560 4
a9563 1
2002-01-17  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9565 1
a9565 1
	* term.c (set_tty_color_mode): Remove unused variable `tem'.
d9567 3
a9569 1
2002-01-16  Henrik Enberg  <henrik@@enberg.org>
d9571 1
a9571 1
	* lread.c (init_lread): Move the installed-lisp dirs later in the path.
d9573 2
a9574 1
2002-01-16  Kim F. Storm  <storm@@cua.dk>
d9576 2
a9577 3
	* xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row
	is invisible.  This can happen if cursor is on top line of a
	window, and we switch to a buffer with a header line.
d9579 2
a9580 1
	* w32term.c (x_erase_phys_cursor): Ditto.
d9582 1
a9582 1
2002-01-16  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9584 2
a9585 2
	* xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of
	`dont_resize' only when used.
d9587 1
a9587 1
	* xdisp.c: Remove forgotten extern declaration of `Qimage'.
d9589 2
a9590 1
2002-01-15  Eli Zaretskii  <eliz@@is.elta.co.il>
d9592 1
a9592 2
	* xdisp.c (display_mode_element): When computing charpos, depend
	on multibyteness of elt, not the text in field.
d9594 1
a9594 1
2002-01-15  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9596 1
a9596 2
	* buffer.c (Fkill_all_local_variables):
	Increment `update_mode_lines' only once.
d9598 1
a9598 1
2002-01-14  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9600 1
a9600 2
	* lisp.h (adjust_after_replace_noundo)
	(Fupdate_coding_systems_internal): Add prototypes.
d9602 1
a9602 1
	* sound.c (Fplay_sound): Initialize header_size also for :data case.
d9604 1
a9604 1
2002-01-14  Eli Zaretskii  <eliz@@is.elta.co.il>
d9606 2
a9607 2
	Support for the --color command-line argument and tty-color-mode
	frame parameter:
d9609 2
a9610 25
	* term.c (tty_default_color_capabilities, tty_setup_colors)
	(set_tty_color_mode): New functions.
	(term_init): Call tty_default_color_capabilities.
	(Qtty_color_mode_alist): New variable.
	(syms_of_term): Intern and staticpro it.

	* frame.c (store_frame_param): Call set_tty_color_mode for termcap
	frames.
	(do_switch_frame): For termcap frames, switch the tty
	color mode as specified by the frame's parameters.
	(Qtty_color_mode): New variable.
	(syms_of_frame): Intern and staticpro it.

	* emacs.c (USAGE2): Add the --color option.
	(standard_args): Ditto.

2002-01-13  Jan Dj,Ad(Brv  <jan.h.d@@swipnet.se>

	* xterm.h (struct x_output): New members want_fullscreen,
	x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and
	y_pixels_outer_diff.
	New enum for FULLSCREEN_* constants.
	(FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget
	is NULL.
	(x_fullscreen_adjust): Add prototype.
d9612 4
a9615 2
	* emacs.c (USAGE2): Add the new full-screen arguments.
	(standard_args): Ditto.
d9617 1
a9617 1
	* xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth):
d9619 14
a9632 25
	(syms_of_xfns): Intern and staticpro them.
	(x_frame_parms) <"fullscreen">: New parameter.
	(x_fullscreen_move, x_set_fullscreen): New functions.
	(x_set_frame_parameters): Support for Qfullscreen.
	(x_real_positions): More accurate computation of the frame position.
	(x_figure_window_size): Support full-screen frames.
	(Fx_create_frame): Default the fullscreen parameter.

	* xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions.
	(XTread_socket) <Expose>: Call x_check_fullscreen.
	<ConfigureNotify>: Don't resize to fullscreen.
	Call x_check_fullscreen_move, and set the want_fullscreen member of
	output_data.x.

2002-01-13  Jason Rumney  <jasonr@@gnu.org>

	* w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages
	for mice with more than 3 buttons.

	* w32term.c (parse_button): New parameter xbutton.  Callers changed.
	(w32_read_socket): Handle new "XBUTTON" messages.

	* w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option.
	(syms_of_w32fns): DEFVAR_BOOL it.
	(w32_wnd_proc): Handle new "XBUTTON" messages.
d9634 1
a9634 1
2002-01-13  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9636 7
a9642 1
	* keyboard.c (read_key_sequence): Remove unused variable `extra_maps'.
d9644 59
a9702 1
2002-01-13  Andreas Schwab  <schwab@@suse.de>
d9704 1
a9704 1
	* xterm.c (x_load_font): Never set fonts_changed_p to zero.
d9706 1
a9706 1
2002-01-12  Andreas Schwab  <schwab@@suse.de>
d9708 1
a9708 2
	* .gdbinit (xbuffer): Remove address operator since data is now a
	pointer.
d9710 1
a9710 1
2002-01-11  Richard M. Stallman  <rms@@gnu.org>
d9712 2
a9713 1
	* insdel.c (adjust_after_replace_noundo): New function.
d9715 1
a9715 1
	* coding.c (code_convert_region): Don't copy old text if undo disabled.
d9717 3
a9719 1
2002-01-09  Jason Rumney  <jasonr@@gnu.org>
d9721 2
a9722 2
	* xdisp.c (x_consider_frame_title): Don't count the tooltip frame
	when checking for multiple frames.
d9724 4
a9727 1
2002-01-08  Richard M. Stallman  <rms@@gnu.org>
d9729 2
a9730 2
	* window.c (delete_window): Rewrite the code for changing the
	selected window to handle the case where WINDOW is not a leaf.
d9732 1
a9732 1
2002-01-07  Eli Zaretskii  <eliz@@is.elta.co.il>
d9734 2
a9735 2
	* process.c (send_process): Set src_multibyte to 1 after the call
	top setup_coding_system, not before the call.
d9737 1
a9737 1
2002-01-07  Jason Rumney  <jasonr@@gnu.org>
d9739 9
a9747 2
	* xmenu.c (set_frame_menubar, xmenu_show):
	(xdialog_show):	Initialize wv->help to Qnil.
d9749 2
a9750 2
	* w32menu.c (single_submenu, set_frame_menubar, w32_menu_show):
	(w32_dialog_show): Initialize wv->help to Qnil.
d9752 1
a9752 1
2002-01-06  Jason Rumney  <jasonr@@gnu.org>
d9754 2
a9755 1
	* xmenu.c (single_submenu): Initialize wv->help to Qnil.
d9757 1
a9757 1
	* w32menu.c (w32_menu_display_help): Revert last change.
d9759 1
a9759 1
	* xmenu.c (menu_highlight_callback): Revert last change.
d9761 1
a9761 1
2002-01-06  Andreas Schwab  <schwab@@suse.de>
d9763 2
a9764 2
	* insdel.c (make_gap_larger): Make sure buffer size does not
	overflow range of int.
d9766 3
a9768 1
2002-01-05  Jason Rumney  <jasonr@@gnu.org>
d9770 3
a9772 2
	* w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if
	OVERLAPS_P.
d9774 2
a9775 1
	* w32menu.c (w32_menu_display_help): Hide any tooltip window.
d9777 1
a9777 16
	* w32fns.c (compute_tip_xy): If tooltip won't fit on the screen
	to the left or to the right of the pointer, put it against
	the left screen edge.
	(x_frame_parms): Add missing braces around initializer.

	* w32term.c (x_setup_relief_colors): Don't compute an image's
	background color if it doesn't have a Pixmap.
	(notice_overwritten_cursor): Don't depend on
	output_cursor and updated_area.  Compare pixel coordinates with
	window's cursor pixel coordinates.
	(x_draw_glyphs, x_clear_end_of_line, show_mouse_face):
	Call notice_overwritten_cursor with new arg list.
	(show_mouse_face): Fix bug setting a row's mouse_face_p flag
	unconditionally.
	(x_draw_image_relief): Use predefined macro instead of
	constant when the value of `tool_bar_button_relief' is negative.
d9779 2
a9780 1
	* w32term.c (x_display_and_set_cursor): Fix PostMessage arg types.
d9782 1
a9782 1
2002-01-04  Richard M. Stallman  <rms@@gnu.org>
d9784 8
a9791 1
	* xmenu.c (menu_highlight_callback): Hide any tooltip window.
d9793 6
a9798 1
2002-01-03  Richard M. Stallman  <rms@@gnu.org>
d9800 1
a9800 4
	* keymap.c (Fcurrent_active_maps): Put the `keymap' property map first.
	(Fkey_binding): Try the `keymap' property map first.
	(Fdescribe_buffer_bindings): Show `keymap' property bindings before
	minor mode bindings.
d9802 3
a9804 1
2002-01-03  Kim F. Storm  <storm@@cua.dk>
d9806 2
a9807 1
	* keyboard.c (read_key_sequence): Fixed cast of submaps arg to bcopy.
d9809 1
a9809 1
2002-01-02  Richard M. Stallman  <rms@@gnu.org>
d9811 2
a9812 2
	* keyboard.c (read_key_sequence): Handle the keymap property
	before minor mode maps.
d9814 3
a9816 2
	* editfns.c (Fformat): Update thissize from field_width
	based on the actual width, in the string case.
d9818 2
a9819 1
2002-01-01  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9821 1
a9821 2
	* charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Parenthesize assignment
	when used as truth value to prevent gcc warnings.
d9823 1
a9823 2
	* sysdep.c, unexapollo.c, w32.c, w32bdf.c, w32heap.c, w32inevt.c,
	* w32proc.c: Include <config.h>.
d9825 1
a9825 1
2002-01-01  Andreas Schwab  <schwab@@suse.de>
d9827 1
a9827 3
	* eval.c (max_specpdl_size, max_lisp_eval_depth): Define as int,
	not EMACS_INT, to make them compatible with DEFVAR_INT.
	* lisp.h (max_specpdl_size): Adjust declaration.
d9829 1
a9829 1
2002-01-01  Richard M. Stallman  <rms@@gnu.org>
d9831 1
a9831 4
	* print.c (print_object): Test print_escape_nonascii only for
	unibyte strings.
	(PRINTPREPARE): Once again bind Qprint_escape_nonascii
	when outputting to a multibyte buffer.
d9833 1
a9833 1
2001-12-29  Richard M. Stallman  <rms@@gnu.org>
d9835 1
a9835 7
	* print.c (print_object): In multibyte string, use hex escapes.
	Use octal only for unibyte strings.
	(PRINTPREPARE): Don't ever set Qprint_escape_nonascii.

	* lread.c (read_escape): New arg BYTEREP for reporting whether
	escape forces unibyte or multibyte.
	(read1): When reading a string, take note of that info.
d9837 1
a9837 1
2001-12-29  Ken Raeburn  <raeburn@@gnu.org>
d9839 1
a9839 2
	* abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero
	comparison to test lisp value returned by Fget.
d9841 1
a9841 1
2001-12-29  Richard M. Stallman  <rms@@gnu.org>
d9843 2
a9844 1
	* lisp.h (max_specpdl_size): Add declaration.
d9846 2
a9847 1
	* fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message.
d9849 1
a9849 2
	* keymap.c (silly_event_symbol_error): New subrtn, from Fdefine_key.
	Handle modifier bits.  Correct typo in error message.
d9851 1
a9851 1
2001-12-28  Richard M. Stallman  <rms@@gnu.org>
d9853 2
a9854 9
	* abbrev.c: Use the plist of an abbrev for multiple params if nec.
	(Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev.
	(Fdefine_global_abbrev, Fdefine_mode_abbrev):
	Update calls to Fdefine_abbrev.
	(write_abbrev): Update for changed data format.
	Don't list "system" abbrevs.
	(Fexpand_abbrev): Update use count with new data format.
	(describe_abbrev): Update for changed data format.
	(Fdefine_abbrev_table): Handle the new SYSTEM-FLAG.
d9856 3
a9858 1
	* config.in (HAVE_MBSINIT): Add #undef.
d9860 1
a9860 1
	* strftime.c (mbsinit): Define as no-op if not available.
d9862 1
a9862 2
	* s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen.
	(sigprocmask_set): Conditionalize decl on ! NOT_C_CODE.
d9864 1
a9864 3
	* keymap.c (Flookup_key): Error message if key has wrong data type.
	(Fdefine_key): Add error message for trying to bind [DEL], [RET], etc.
	(exclude_key): New variable.
d9866 3
a9868 1
2001-12-28  Gerd Moellmann  <gerd@@gnu.org>
d9870 2
a9871 2
	* xterm.c (x_setup_relief_colors): Don't compute an image's
	background color if it doesn't have a Pixmap.
d9873 1
a9873 7
	* xterm.c (notice_overwritten_cursor): Don't depend on
	output_cursor and updated_area.  Compare pixel coordinates with
	window's cursor pixel coordinates.
	(x_draw_glyphs, x_clear_end_of_line, show_mouse_face):
	Call notice_overwritten_cursor with new arg list.
	(show_mouse_face): Fix bug setting a row's mouse_face_p flag
	unconditionally.
d9875 2
a9876 2
	* xdisp.c (try_scrolling) <PT below scroll margin>: Add the
	height of the cursor line to the amount to scroll.
d9878 1
a9878 1
2001-12-27  Richard M. Stallman  <rms@@gnu.org>
d9880 1
a9880 2
	* intervals.c (set_point_both): The position after an invisible,
	intangible character is not an acceptable stopping point.
d9882 2
a9883 1
2001-12-27  Ken Raeburn  <raeburn@@gnu.org>
d9885 1
a9885 2
	* window.c (enlarge_window): In new preserve_before code, convert
	CURBEG from lisp object to integer before doing arithmetic.
d9887 2
a9888 1
2001-12-27  Richard M. Stallman  <rms@@gnu.org>
d9890 1
a9890 1
	* bytecode.c (Fbyte_code): Undo previous change.
d9892 1
a9892 1
2001-12-26  Kim F. Storm  <storm@@cua.dk>
d9894 1
a9894 4
	* keyboard.c (record_char): Ignore duplicate help-echo events only
	separated by mouse-movement.  When tracking mouse, only record
	first and last mouse-movement event in same window.
	Don't record mouse-movement events in keyboard macros.
d9896 1
a9896 1
2001-12-25  Richard M. Stallman  <rms@@gnu.org>
d9898 1
a9898 2
	* window.c (enlarge_window): New arg PRESERVE_BEFORE.  Callers changed.
	(Fenlarge_window): New arg PRESERVE_BEFORE.
d9900 2
a9901 2
	* bytecode.c (Fbyte_code): Use Fstring_make_unibyte
	instead of Fstring_as_unibyte.
d9903 1
a9903 1
2001-12-22  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d9905 1
a9905 1
	The following changes remove mocklisp support:
d9907 2
a9908 1
	* mocklisp.h, mocklisp.c: Files removed.
d9910 1
a9910 3
	* lisp.h: Remove declarations of variables `Vmocklisp_arguments',
	`Qmocklisp' and `Qmocklisp_arguments'.
	Remove prototype of syms_of_mocklisp.
d9912 1
a9912 1
	* makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp files.
d9914 2
a9915 2
	* callint.c: Do not include mocklisp.h.
	(Fcall_interactively): Do not test for mocklisp case.
d9917 1
a9917 6
	* eval.c: Remove variables `Qmocklisp_arguments',
	`Vmocklisp_arguments' and `Qmocklisp'.  Remove prototype of ml_apply.
	(Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda):
	Do not test for mocklisp case.
	(Fwhile): Remove unused variable `tem'.
	(syms_of_eval): Remove variable `moclisp-arguments'.
d9919 3
a9921 1
	* data.c (wrong_type_argument): Remove mocklisp case.
d9923 2
a9924 1
	* doc.c (Fdocumentation): Remove mocklisp case.
d9926 2
a9927 1
	* emacs.c (main): Do not call syms_of_mocklisp.
d9929 1
a9929 1
2001-12-21  Richard M. Stallman  <rms@@gnu.org>
d9931 2
a9932 3
	* xfns.c (compute_tip_xy): If tooltip won't fit on the screen
	to the left or to the right of the pointer, put it against
	the left screen edge.
d9934 19
a9952 1
2001-12-21  Eli Zaretskii  <eliz@@is.elta.co.il>
d9954 1
a9954 2
	* Makefile.in (distclean): Remove .gdbinit if we are building
	outside the source tree.
d9956 4
a9959 1
2001-12-19  Eli Zaretskii  <eliz@@is.elta.co.il>
d9961 2
a9962 1
	* w32.c (emacs_root_dir): New function.
d9964 22
a9985 1
	* msdos.c (emacs_root_dir): New function.
d9987 2
a9988 2
	* fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory
	of the current drive as the fallback for default_directory.
d9990 1
a9990 2
	* dired.c (file_name_completion): Run the elements of
	completion-ignored-extensions through ENCODE_FILE.
d9992 2
a9993 2
	* lisp.h (scmp): Remove prototype, since it's now a static
	function private to dired.c.
d9995 1
a9995 1
2001-12-18  Richard M. Stallman  <rms@@gnu.org>
d9997 2
a9998 2
	* dired.c (scmp): Function moved from minibuf.c.
	Delete multibyte handling--used only on encoded strings.
d10000 1
a10000 1
	* minibuf.c (scmp): Function moved to dired.c.
d10002 2
a10003 1
	* fns.c (merge): Add QUIT call.
d10005 1
a10005 1
2001-12-18  Dave Love  <fx@@gnu.org>
d10007 2
a10008 2
	* Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el,
	language/georgian.el.
d10010 3
a10012 1
2001-12-18  Eli Zaretskii  <eliz@@is.elta.co.il>
d10014 2
a10015 2
	* Makefile.in (lisp, shortlisp): Synchronize with changes to
	lisp/Makefile.in:DONTCOMPILE.
d10017 1
a10017 1
2001-12-18  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d10019 2
a10020 2
	* xdisp.c (window_box_height): Do not return negative values.
	From Gerd Moellmann <gerd@@gnu.org>.
d10022 2
a10023 1
	* keyboard.c (head_table): Add missing braces around initializer.
d10025 1
a10025 1
	* term.c (keys): Likewise.
d10027 4
a10030 1
	* xfns.c (x_frame_parms, visual_classes): Likewise.
d10032 2
a10033 1
2001-12-17  Sam Steingold  <sds@@gnu.org>
d10035 3
a10037 2
	* coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last
	patch (COMPOSING_P, not COMPOSING).
d10039 1
a10039 1
2001-12-17  Richard M. Stallman  <rms@@gnu.org>
d10041 1
a10041 1
	* editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop.
d10043 1
a10043 2
	* coding.c (code_convert_region): Update coding->cmp_data->char_offset
	before calling decode_coding.
d10045 2
a10046 1
	* charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal.
d10048 2
a10049 2
	* coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding)
	instead of only for COMPOSITION_DISABLED.
d10051 5
a10055 1
2001-12-16  Richard M. Stallman  <rms@@gnu.org>
d10057 1
a10057 1
	* alloc.c (pure_alloc): After overflow, allocate just a small block.
d10059 1
a10059 1
	* Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h.
d10061 1
a10061 2
	* buffer.h (struct buffer): New field `display_error_modiff'.
	* buffer.c (reset_buffer): Initialize `display_error_modiff'.
d10063 3
a10065 1
	* window.c (Frecenter): Clear display_error_modiff field.
d10067 1
a10067 6
	* xdisp.c (redisplay_window_0, redisplay_window_1): New functions.
	Call redisplay_window, but not if display_error_modiff field says no.
	(redisplay_window_error): New function.
	(displayed_buffer): New variable.
	(redisplay_internal, redisplay_windows): Call the new functions
	instead of redisplay_window directly.
d10069 2
a10070 1
2001-12-15  Richard M. Stallman  <rms@@gnu.org>
d10072 1
a10072 1
	* keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix.
d10074 1
a10074 1
2001-12-14  Andrew Innes  <andrewi@@gnu.org>
d10076 2
a10077 3
	* makefile.w32-in (EMACSLOADPATH): Define.
	($(EMACS)): Run `list-load-path-shadows' after dumping emacs.
	(bootstrap-temacs): Remove dependency on bootstrap-clean.
d10079 1
a10079 1
2001-12-13  Eli Zaretskii  <eliz@@is.elta.co.il>
d10081 1
a10081 2
	* xfns.c (x_report_frame_params): Make the scroll-bar-width frame
	parameter have a numeric value all the time.
d10083 3
a10085 1
	* w32fns.c (x_report_frame_params): Likewise.
d10087 1
a10087 1
2001-12-12  Richard M. Stallman  <rms@@gnu.org>
d10089 2
a10090 1
	* fileio.c (Fwrite_region): Doc fix.
d10092 287
a10378 2
	* xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500.
	(redisplay_internal): Call clear_image_cache only for window terminals.
d10380 2
a10381 1
2001-12-12  Gerd Moellmann  <gerd@@gnu.org>
d10383 63
a10445 2
	* xdisp.c (move_it_vertically_backward): Change heuristic
	for the case that we didn't move far enough initially.
d10447 2
a10448 2
	* window.c (Frecenter): Simplify computation in the case of window
	system frames and ARG < 0; use window_box_height.
d10450 30
a10479 1
2001-12-11  Richard M. Stallman  <rms@@gnu.org>
d10481 4
a10484 2
	* Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c:
	* process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX.
d10486 4
a10489 1
2001-12-11  Andrew Innes  <andrewi@@gnu.org>
d10491 1
a10491 2
	* insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if
	arg is negative.
d10493 1
a10493 1
2001-12-11  Richard M. Stallman  <rms@@gnu.org>
d10495 1
a10495 4
	* m/hp800.h: Split the __hpux conditional into the parts
	that are right for GNU/Linux too and the parts that are not.
	Use the former if GNU_LINUX.
	(HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux.
d10497 2
a10498 1
	* s/gnu-linux.h (GNU_LINUX): Defined.
d10500 2
a10501 1
2001-12-11  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d10503 2
a10504 2
	* macros.c, msdos.c, w16select.c: Change doc-string comments to
	`new style' [w/`doc:' keyword].
d10506 1
a10506 1
2001-12-10  Jason Rumney  <jasonr@@gnu.org>
d10508 4
a10511 2
	* w32menu.c (w32_free_submenu_strings): Clear menu item struct
	before using.
d10513 10
a10522 1
2001-12-09  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d10524 1
a10524 2
	* dosfns.c: Change doc-string comments to `new style' [w/`doc:'
	keyword].
d10526 1
a10526 1
2001-12-09  Eli Zaretskii  <eliz@@is.elta.co.il>
d10528 1
a10528 1
	* dosfns.c (dos-display-scancodes, dos-decimal): Doc fix.
d10530 2
a10531 1
	* s/hpux10.h (srand48): Don't undefine.
d10533 2
a10534 1
2001-12-09  Jason Rumney  <jasonr@@gnu.org>
d10536 2
a10537 7
	* w32menu.c (_widget_value): Make `help' field a Lisp_Object.
	Add	comment to explain where the struct came from.
	(single_submenu, w32_menu_show): Set `help' field as Lisp_Object.
	(add_menu_item): Process pop-up menus first to avoid memory leak.
	(add_menu_item, w32_menu_display_help): Use `help' field as
	Lisp_Object.
	(w32_free_submenu_strings): Only free owner-drawn strings.
d10539 3
a10541 1
2001-12-09  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d10543 3
a10545 1
	* COPYING: Moved back.
d10547 1
a10547 2
	* charset.c (char_to_string_1, translate_char, Fdefine_charset):
	Add parentheses around && within ||.
d10549 1
a10549 1
	* indent.c (compute_motion): Likewise.
d10551 1
a10551 1
	* intervals.c (merge_properties_sticky): Likewise.
d10553 1
a10553 2
	* coding.c (setup_coding_system, shrink_encoding_region)
	(Fdecode_sjis_char): Likewise.
d10555 1
a10555 1
2001-12-07  Andreas Schwab  <schwab@@suse.de>
d10557 1
a10557 2
	* xdisp.c (display_mode_element): Don't read past end of string if
	it ends with '%'.
d10559 2
a10560 2
	* alloc.c (inhibit_garbage_collection): Don't exceed value an int
	can hold.
d10562 1
a10562 24
	* data.c (Vmost_positive_fixnum, Vmost_negative_fixnum):
	Rename from most_positive_fixnum and most_negative_fixnum, resp., and
	type changed to Lisp_Object.
	(syms_of_data): DEFVAR_LISP them.

2001-12-07  Richard M. Stallman  <rms@@gnu.org>

	* callproc.c (init_callproc): Set Vdata_directory based on the source
	location whenever Emacs was run uninstalled.

2001-12-06  Paul Eggert  <eggert@@twinsun.com>

	* config.in (HAVE_WORKING_VFORK): New #undefs.
	* process.c (create_process):
	Use HAVE_WORKING_VFORK, not HAVE_VFORK.
	* m/cnvrgnt.h (HAVE_VFORK): Remove #define.
	* m/ibm370aix.h (HAVE_VFORK): Remove #undef.
	* m/ibmps2-aix.h (HAVE_VFORK): Remove #define.
	* m/intel386.h (HAVE_VFORK): Likewise.
	* m/mips-siemens.h (HAVE_VFORK): Likewise.
	* m/mips.h (HAVE_VFORK): Likewise.
	* s/freebsd.h (vfork): Remove #define.
	* s/lynxos.h (HAVE_VFORK): Remove #undef.
	* s/usg5-4-2.h: Fix comment about vfork.
d10564 2
a10565 1
2001-12-06  Richard M. Stallman  <rms@@gnu.org>
d10567 3
a10569 2
	* s/hpux10.h (random): Add undef.
	(HAVE_RANDOM): Define it just once.
d10571 2
a10572 1
2001-12-06  Stefan Monnier  <monnier@@cs.yale.edu>
d10574 1
a10574 1
	* eval.c: Undo last change: the standard syntax is not wanted.
d10576 3
a10578 1
2001-12-06  Eli Zaretskii  <eliz@@is.elta.co.il>
d10580 1
a10580 4
	* xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the
	scroll bars of the frame before deleting the frame itself.  If the
	frame has a widget, delete the frame with XtDestroyWidget, and do
	not call XDestroyWindow before that.
d10582 1
a10582 1
2001-12-06  Kim F. Storm  <storm@@cua.dk>
d10584 1
a10584 1
	* xfns.c (x_report_frame_params): Return actual fringe widths.
d10586 3
a10588 1
	* w32fns.c (x_report_frame_params): Return actual fringe widths.
d10590 1
a10590 1
2001-12-05  Andrew Innes  <andrewi@@gnu.org>
d10592 4
a10595 2
	* alloc.c (Fgarbage_collect): Shrink buffer gaps that are
	excessively large.
d10597 2
a10598 4
	* insdel.c (make_gap_larger): New function.
	(make_gap_smaller): New function.
	(make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]:
	Call make_gap_smaller if arg is negative.
d10600 1
a10600 1
2001-12-04  Stefan Monnier  <monnier@@cs.yale.edu>
d10602 3
a10604 7
	* keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype.
	Pass a dummy argument when calling interrupt_signal.
	(parse_menu_item): Mark disabled items before checking for empty def.
	(read_char_minibuf_menu_prompt): Make safety more visible.
	(read_key_sequence): Add a `first_unbound' variable.
	Use it to detect C-c ESC ESC ESC ESC ... cases and drop the
	unbound prefix as soon as we can detect it.
d10606 3
a10608 7
	* doc.c (Fsnarf_documentation): Add prototype.
	(get_doc_string): Handle negative arguments.
	(Fdocumentation): Use AREF and ASIZE.
	Move the calls to get_doc_string to a single place.
	Don't confuse an interactive-spec for a docstring reference.
	(Fdocumentation_property): Take advantage of the fact that
	get_doc_string now ignores the sign of the docstring position.
d10610 2
a10611 1
	* eval.c: Use standard syntax for usage in docstrings.
d10613 14
a10626 1
2001-12-03  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d10628 2
a10629 1
	* xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief` an option.
d10631 1
a10631 1
2001-12-02  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d10633 2
a10634 2
	* xterm.c (x_draw_image_relief): Use predefined macro instead of
	constant when the value of `tool_bar_button_relief' is negative.
d10636 1
a10636 1
2001-12-02  Richard M. Stallman  <rms@@gnu.org>
d10638 2
a10639 2
	* xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object.
	(single_submenu, xmenu_show): Set `help' field as Lisp_Object.
d10641 1
a10641 1
	* fileio.c (read_non_regular): Delete Fsignal call.
d10643 2
a10644 1
2001-12-01  Stefan Monnier  <monnier@@cs.yale.edu>
d10646 1
a10646 1
	* lisp.h (run_hook_list_with_args): Undo last change.
d10648 1
a10648 1
2001-12-01  Gerd Moellmann  <gerd@@gnu.org>
d10650 1
a10650 1
	* xterm.c (x_draw_fringe_bitmap): Always undo clipping.
d10652 2
a10653 1
2001-12-01  Jason Rumney  <jasonr@@gnu.org>
d10655 2
a10656 1
	* window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c.
d10658 10
a10667 2
	* w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT)
	[!WM_MOUSELEAVE]: Define.
d10669 2
a10670 9
	* w32menu.c (current_popup_menu, get_menu_item_info):
	(set_menu_item_info): New vars.
	(set_frame_menubar): Doc fix clarifying GC interaction with menus.
	(w32_menu_show): Set current_popup_menu.
	(add_menu_item): Allocate new strings for owner-drawn menu items
	and help strings.
	Use owner-draw for disabled menu items again.
	(w32_menu_display_help): Ignore owner-drawn items and popup menus.
	(w32_free_submenu_strings, w32_free_menu_strings): New functions.
d10672 2
a10673 5
	* w32fns.c (trackmouse_window, track_mouse_event_fn): New vars.
	(w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame.
	<WM_EXITMENULOOP>: Free menu strings.
	<WM_MOUSELEAVE>: Stop tracking mouse.
	(x_create_tip_frame): Specify no minibuffer, modeline or fringes.
d10675 1
a10675 2
	* w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo
	and mouse face.
d10677 3
a10679 1
2001-12-01  Kim F. Storm  <storm@@cua.dk>
d10681 2
a10682 3
	The following changes add left-fringe and right-fringe
	frame parameters to adjust fringe widths, or remove one or
	both fringes.
d10684 1
a10684 4
	* frame.h (struct frame): Remove trunc_area_pixel_width and
	trunc_area_cols fields.
	(Qleft_fringe, Qright_fringe): Declare.
	(FRAME_RIGHT_FRINGE_WIDTH): New macro.
d10686 3
a10688 2
	* frame.c (Qleft_fringe, Qright_fringe): New vars.
	(syms_of_frame): Initialize them.
d10690 1
a10690 2
	* window.c (coordinates_in_window): Handle separate left and right
	fringe widths.
d10692 2
a10693 8
	* xterm.h (struct x_output): Add left_fringe_width, right_fringe_width,
	and fringe_cols fields.
	(FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros.
	(FRAME_X_FRINGE_COLS): Use fringe_cols field.
	(FRAME_X_FRINGE_WIDTH): Use fringes_extra field.
	(FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field.
	(FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field.
	(x_compute_fringe_widths): Add prototype.
d10695 4
a10698 8
	* xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to
	fill fringe evenly with small dashes.
	(x_draw_fringe_bitmap): Clear background if necessary. Align and
	clip the new ZV bitmap to avoid jitter between rows.
	(x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear
	background.  Don't draw fringe bitmaps if fringe width is zero.
	(x_compute_fringe_widths): New function.
	(x_new_font, x_set_window_size_1): Use it.
d10700 2
a10701 7
	* xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms.
	(x_set_frame_parameters): Process `font' parameter before other
	parameters as fringe widths depend on it.
	(x_set_fringe_width): New function.
	(x_figure_window_size): Use x_compute_fringe_widths.
	(Fx_create_frame): Process `left-fringe' and `right-fringe' frame
	parameters.
d10703 1
a10703 2
	* widget.c (set_frame_size): Use x_compute_fringe_widths.
	(EmacsFrameSetCharSize): Ditto.
d10705 2
a10706 3
	* w32term.h: Merged changes from xterm.h.
	* w32term.c: Merged changes from xterm.c.
	* w32fns.c: Merged changes from xfns.c.
d10708 6
a10713 1
2001-11-29  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d10715 1
a10715 1
	* COPYING: Removed.
d10717 4
a10720 1
2001-11-29  Dave Love  <fx@@gnu.org>
d10722 1
a10722 3
	* coding.c (syms_of_coding) <Qchar_coding_system>: Give it an
	extra extra slot.
	(detect_coding_mask): Fix call of detect_coding_iso2022.
d10724 5
a10728 1
2001-11-29  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d10730 2
a10731 3
	* fileio.c (file-name-coding-system)
	(default-file-name-coding-system): Doc fix (links to referenced
	variables added).
d10733 2
a10734 1
2001-11-28  Stefan Monnier  <monnier@@cs.yale.edu>
d10736 2
a10737 2
	* lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5):
	Add dummy uses of gcproN variables.
d10739 2
a10740 3
	* category.c (describe_category, describe_category_1)
	(Fdescribe_categories): Remove.  (Moved to lisp/help-fns.el.)
	(syms_of_category): Don't defsubr Sdescribe_categories.
d10742 1
a10742 1
2001-11-28  Richard M. Stallman  <rms@@gnu.org>
d10744 3
a10746 1
	* fileio.c (Ffind_file_name_handler): Avoid initializer for `result'.
d10748 1
a10748 2
	* Makefile.in (lispdir): New variable, referring to build dir.
	(TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource).
d10750 1
a10750 1
2001-11-28  Andrew Innes  <andrewi@@gnu.org>
d10752 1
a10752 2
	* w32menu.c (w32_menu_display_help): Actually add the new argument
	OWNER.
d10754 1
a10754 1
2001-11-28  Jason Rumney  <jasonr@@gnu.org>
d10756 2
a10757 6
	* w32menu.c (add_menu_item): Do not use owner-draw for disabled
	menu items.  From David Ponce <dponce@@wanadoo.fr>.
	(w32_dialog_show) [HAVE_DIALOGS]: Compile whole function
	conditionally.
	(w32_menu_display_help): New argument OWNER. Rewritten to store a
	help event in the owner frame's keyboard buffer.
d10759 1
a10759 2
	* w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly.
	(Fx_show_tip): Don't subtract last width from row width.
d10761 6
a10766 2
	* w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove.
	(w32_read_socket): Use EQ to compare frames.
d10768 2
a10769 1
2001-11-28  Gerd Moellmann  <gerd@@gnu.org>
d10771 1
a10771 2
	* xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if
	OVERLAPS_P.
d10773 3
a10775 1
2001-11-28  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d10777 1
a10777 2
	* xdisp.c (message_dolog): Remove unused variables `gcpro2',
	`gcpro3' and `gcpro4'.
d10779 3
a10781 1
	* coding.c (decode_coding_string): Remove unused variable `gcpro1'.
d10783 1
a10783 1
2001-11-28  Stefan Monnier  <monnier@@cs.yale.edu>
d10785 2
a10786 1
	* ccl.c: Use AREF and ASIZE.
d10788 2
a10789 1
2001-11-27  Stefan Monnier  <monnier@@cs.yale.edu>
d10791 2
a10792 3
	* lisp.h (run_hook_list_with_args): Remove.
	(LIST_END_P): Fix call to wrong_type_argument.
	(make_fixnum_or_float): Use EMACS_INT rather than int.
d10794 1
a10794 1
2001-11-26  Stefan Monnier  <monnier@@cs.yale.edu>
d10796 1
a10796 2
	* syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax.
	(describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove.
d10798 2
a10799 2
	* eval.c: Use AREF and ASIZE.
	(Ffetch_bytecode): Add the file name to the error message.
d10801 3
a10803 4
	* fileio.c (Ffind_file_name_handler): Give precedence to handlers
	which match the end of the file-name.
	(Fsubstitute_in_file_name): Don't signal an error if $ENVVAR
	is not a valid env var, but leave it as is instead.
d10805 1
a10805 3
	* keymap.c (access_keymap): Handle t bindings like nil bindings.
	Make nil bindings in char-tables transparent.
	(store_in_keymap): Turn a nil binding into a t binding for char-tables.
d10807 1
a10807 1
2001-11-26  Richard M. Stallman  <rms@@gnu.org>
d10809 1
a10809 2
	* textprop.c (set_text_properties_1): Allow START, END in either order.
	Do nothing if range is empty.
d10811 2
a10812 1
	* Makefile.in (mallocobj): Simplify logic using auxiliary vars.
d10814 1
a10814 2
	* Makefile.in (mostlyclean): Delete bootstrap-emacs here.
	(clean): Not here.
d10816 3
a10818 1
2001-11-25  Stefan Monnier  <monnier@@cs.yale.edu>
d10820 1
a10820 2
	* textprop.c (set_text_properties_1): Clearly mark that the
	interval should not be empty.
d10822 1
a10822 2
	* intervals.c (graft_intervals_into_buffer):
	Don't call set_text_properties_1 on an empty interval.
d10824 6
a10829 1
2001-11-25  Richard M. Stallman  <rms@@gnu.org>
d10831 1
a10831 1
	* unexelf.c (unexec): Index by n, not nn, when checking for ".sbss".
d10833 1
a10833 2
	* callproc.c (Fcall_process): When we make a bigger buffer for bufptr,
	don't lose the data in it.
d10835 1
a10835 1
2001-11-25  Juanma Barranquero  <lektu@@terra.es>
d10837 1
a10837 1
	* abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks.
d10839 5
a10843 1
	* buffer.c (Fkill_buffer): Use Frun_hooks, not Vrun_hooks.
d10845 2
a10846 1
	* print.c (temp_output_buffer_setup): Use Frun_hooks, not Vrun_hooks.
d10848 2
a10849 1
2001-11-25  Stefan Monnier  <monnier@@cs.yale.edu>
d10851 1
a10851 1
	* xfaces.c (merge_face_heights): Coerce back to int explicitly.
d10853 2
a10854 1
2001-11-25  Eli Zaretskii  <eliz@@is.elta.co.il>
d10856 1
a10856 2
	* window.c (Fset_window_vscroll): Doc fix.  From Kalle Olavi
	Niemitalo <kon@@iki.fi>.
d10858 11
a10868 1
2001-11-25  Jason Rumney  <jasonr@@gnu.org>
d10870 1
a10870 1
	* w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames.
d10872 1
a10872 3
	* w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0.
	(Fx_show_tip): Block input during frame creation.
	(Fx_show_tip, Fx_hide_tip): Enable.
d10874 2
a10875 1
2001-11-24  Richard M. Stallman  <rms@@gnu.org>
d10877 1
a10877 4
	* lread.c (Fload): Detect recursive load error for more than 3
	nestings of the same file.
	(Vrecursive_load_depth_limit): Variable deleted.
	(syms_of_lread) <recursive-load-depth-limit>: Variable deleted.
d10879 1
a10879 1
2001-11-24  Jason Rumney  <jasonr@@gnu.org>
d10881 1
a10881 2
	* xfns.c (compute_tip_xy): Initialize root_x and root_y from
	mouse position if either left or top is not specified.
d10883 2
a10884 7
	* w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Revert last change.
	<WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction.
	(my_create_tip_window, Fx_show_tip): Adjust size for external border.
	(my_create_tip_window): Assign tip_window.
	(x_create_tip_frame): Use same defaults as X.
	(compute_tip_xy): Remove unused variable.  Use full screen width.
	(Fx_show_tip): Do not double height. Call ShowWindow directly.
d10886 1
a10886 4
	* w32term.c (x_after_update_window_line): Doc fix.
	(w32_read_socket): Doc fix.  Avoid SET_FRAME_GARBAGED for tip
	frames.
	<WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame.
d10888 3
a10890 2
	* xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame
	for all Windowed systems.
d10892 1
a10892 1
2001-11-23  Eli Zaretskii  <eliz@@is.elta.co.il>
d10894 2
a10895 2
	* msdos.c (IT_clear_screen): If the frame's faces are not yet
	realized, use the initial screen colors to clear the screen.
d10897 1
a10897 1
2001-11-23  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d10899 3
a10901 2
	* textprop.c (Fset_text_properties): Remove unused variables
	`unchanged', `prev_changed', `s' and `len'.
d10903 1
a10903 1
	* search.c (Freplace_match): Remove unused variable `inslen'.
d10905 1
a10905 1
	* keymap.c (access_keymap): Remove unused variables `c1' and `c2'.
d10907 1
a10907 1
2001-11-22  Jason Rumney  <jasonr@@gnu.org>
d10909 1
a10909 5
	* w32fns.c (x_window_to_frame): Remove irrelevant TODO comment.
	(w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly.
	(my_create_tip_window): New function.
	(x_create_tip_frame, compute_tip_xy): Adapt for Windows.
	(Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows.
d10911 1
a10911 1
2001-11-20  Jason Rumney  <jasonr@@gnu.org>
d10913 1
a10913 2
	* coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove.
	(ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system.
d10915 1
a10915 2
	* w32fns.c (Vw32_system_coding_system): Remove.
	(w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system.
d10917 2
a10918 1
2001-11-19  Stefan Monnier  <monnier@@cs.yale.edu>
d10920 1
a10920 2
	* fileio.c (Fwrite_region): Move choose_write_coding_system to
	after build_annotations.
d10922 1
a10922 2
	* syntax.c (describe_syntax): Add dummy arg.
	(describe_syntax_1): Update call to describe_vector.
d10924 6
a10929 2
	* category.c (describe_category): Add dummy arg.
	(describe_category_1): Update call to describe_vector.
d10931 2
a10932 7
	* keymap.c (Fdescribe_vector): Add `describer' parameter.
	(describe_command, describe_translation): Add dummy second param.
	(describe_map): Call elt_describer with two arguments.
	(describe_vector_princ): Add `fun' parameter.
	Call it instead of the hardcoded `princ'.
	(describe_vector): Add arg `args'.
	Pass it as a new second argument to elt_describer.
d10934 1
a10934 1
	* keymap.h (describe_vector): Update prototype.
d10936 2
a10937 2
	* frame.c: Don't include keymap.h any more.
	(keys_of_frame): Remove.
d10939 25
a10963 1
	* lisp.h (keys_of_frame): Remove declaration.
d10965 2
a10966 1
	* emacs.c (main): Don't call `keys_of_frame' any more.
d10968 1
a10968 1
2001-11-14  Andreas Schwab  <schwab@@suse.de>
d10970 1003
a11972 4
	* unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS
	if defined, 0 otherwise.
	(MAP_FAILED): Define if not defined and use it to test mmap failure.
	(unexec) [!MAP_ANON]: Use /dev/zero as file to map.
d11974 10
a11983 1
2001-11-19  Richard M. Stallman  <rms@@gnu.org>
d11985 1
a11985 1
	* indent.c (current_column_1): Fix handling of scan_bytes for mb chars.
d11987 2
a11988 1
2001-11-18  Jason Rumney  <jasonr@@gnu.org>
d11990 3
a11992 73
	* w32term.c (note_mouse_highlight): Fix type of variable `ignore'.
	(x_draw_bar_cursor): If the background color of the glyph under
	the cursor equals the frame's cursor color, use the glyph's
	foreground color for drawing the bar cursor.
	(x_after_update_window_line): Clear internal border in different
	circumstances.
	(w32_set_vertical_scroll_bar): Check for width and height > 0.
	(w32_draw_relief_rect): Correct relief by 1 pixel.
	(x_set_glyph_string_background_width):
	Set extends_to_end_of_line_p if the row's fill_line_p is set and
	drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}.
	(x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR
	if cursor_in_non_selected_windows is false.
	(show_mouse_face): Clean up.  Recognize overwritten cursor differently.
	(x_draw_glyphs): Remove parameters REAL_START and REAL_END.
	Notice if cursor gets overwritten.
	(notice_overwritten_cursor): Renamed from
	note_overwritten_text_cursor.  Rewritten to take glyph widths
	into account, and to take X positions as parameters.
	(x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p
	around call to x_draw_glyphs.
	(x_setup_relief_colors): Use `IMAGE_BACKGROUND' and
	`IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background
	color to use for image glyph reliefs.
	(x_draw_image_relief): Accept zero tool_bar_button_relief.
	(glyph_rect): Remove unused variable `area'.

	* w32fns.c (x_set_frame_parameters): Avoid infinite recursion for
	some items.
	(x_set_internal_border_width): Set frame garbaged when window
	doesn't exist yet.
	(Fx_create_frame): Accept zero tool_bar_button_relief.
	(x_clear_image_1, four_corners_best, image_background)
	(image_background_transparent): New functions.
	(xpm_format, png_format, jpeg_format, tiff_format, gif_format)
	(gs_format): Add `:background' entry.
	(lookup_image): Set IMG's background color if specified.
	(pbm_load, xbm_load_image, png_load): Set IMG's background field
	when appropriate.
	(x_clear_image_1): Reset `background_valid' and
	`background_transparent_valid' fields.
	(x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of
	calculating it here.  Set IMG's background_transparent field.
	(enum xpm_keyword_index): Add XPM_BACKGROUND.
	(enum png_keyword_index): Add PNG_BACKGROUND.
	(enum jpeg_keyword_index): Add JPEG_BACKGROUND.
	(enum tiff_keyword_index): Add TIFF_BACKGROUND.
	(enum gif_keyword_index): Add GIF_BACKGROUND.
	(enum gs_keyword_index): Add GS_BACKGROUND.
	(pbm_load, png_load, jpeg_load, tiff_load, gif_load):
	Pre-calculate image background color where necessary.
	(x_create_x_image_and_pixmap, xbm_load, gs_load):
	Use display info's n_cbits entry for screen depth.
	(Fx_show_tip): Remove unused variables `buffer', `top',
	`left', `max_width' and `max_height'.

	* w32menu.c (w32_menu_show, push_menu_pane): Doc fixes.

2001-11-18  Gerd Moellmann  <gerd@@gnu.org>

	* puresize.h (BASE_PURESIZE): Increase to 750000.

2001-11-18  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>

	* frame.c (Fframe_live_p): Doc fix.

2001-11-18  Richard M. Stallman  <rms@@gnu.org>

	* xdisp.c (message_dolog_marker1, message_dolog_marker2)
	(message_dolog_marker3): New static variables hold three markers.
	(syms_of_xdisp): Initialize and staticpro them.
	(message_dolog): Use message_dolog_marker1..3 instead of
	allocating markers each time.  Unchain them when done.
d11994 2
a11995 1
2001-11-17  Richard M. Stallman  <rms@@gnu.org>
d11997 1
a11997 1
	* doc.c (Fsnarf_documentation): Doc fix.
d11999 3
a12001 1
2001-11-17  Andreas Schwab  <schwab@@suse.de>
d12003 2
a12004 1
	* xterm.c (note_mouse_highlight): Fix type of variable `ignore'.
d12006 2
a12007 1
2001-11-17  Richard M. Stallman  <rms@@gnu.org>
d12009 1
a12009 1
	* fileio.c (Fwrite_region): Avoid initializer for Lisp_Object.
d12011 2
a12012 1
2001-11-17  Jason Rumney  <jasonr@@gnu.org>
d12014 1
a12014 1
	* xterm.c (notice_overwritten_cursor): Take care of end < 0 case.
d12016 2
a12017 1
2001-11-17  Gerd Moellmann  <gerd@@gnu.org>
d12019 1
a12019 2
	* xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property
	with invalid position.
d12021 2
a12022 1
2001-11-16  Richard M. Stallman  <rms@@gnu.org>
d12024 1
a12024 1
	* syswait.h: Delete conditionals for HPUX7, ISC 4.1, and convex.
d12026 3
a12028 3
	* s/isc4-1.h (HAVE_SYS_WAIT_H): Add #undef.
	* s/hpux.h (HAVE_SYS_WAIT_H): Add #undef.
	* s/hpux8.h (HAVE_SYS_WAIT_H): Define it.
d12030 2
a12031 1
	* m/convex.h (HAVE_SYS_WAIT_H): Add #undef.
d12033 2
a12034 1
2001-11-16  Stefan Monnier  <monnier@@cs.yale.edu>
d12036 1
a12036 4
	* fileio.c (build_annotations): Split off the tail.
	(build_annotations_2): New fun.  Extracted from build_annotations.
	(Fwrite_region): Split the call to build_annotations into two
	calls to build_annotations and build_annotations_2.
d12038 3
a12040 1
2001-11-16  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12042 1
a12042 2
	* sysdep.c (wait_for_kbd_input) [VMS]: Do not call
	clear_waiting_for_input with argument.
d12044 9
a12052 1
	* xterm.h (x_update_cursor): Remove duplicated prototype.
d12054 3
a12056 1
	* keyboard.h (clear_waiting_for_input): Remove duplicated prototype.
d12058 5
a12062 1
	* xterm.c (waiting_for_input): Remove unnecessary declaration.
d12064 2
a12065 1
	* data.c (Ftimes, Fquo, Frem, Fmod): Doc fix.
d12067 1
a12067 1
2001-11-16  Stefan Monnier  <monnier@@cs.yale.edu>
d12069 19
a12087 3
	* fileio.c (choose_write_coding_system): New fun, extracted
	from Fwrite_region.
	(Fwrite_region): Use it.
d12089 2
a12090 3
	* eval.c (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT.
	(funcall_lambda, run_hook_with_args): Make static and add prototype.
	(ml_apply, find_handler_clause): Add prototype.
d12092 2
a12093 1
2001-11-16  Eli Zaretskii  <eliz@@gnu.org>
d12095 1
a12095 1
	* config.in: Add #undef HAVE_COFF_H.
d12097 2
a12098 2
	* unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined.
	Required for ISC 4.1.
d12100 1
a12100 1
2001-11-16  Eli Zaretskii  <eliz@@is.elta.co.il>
d12102 2
a12103 2
	* syswait.h: (HAVE_SYS_WAIT_H): Undef for ISC 4.1.  Reported by
	Andrew Wiseman <a.wiseman@@btclick.com>.
d12105 1
a12105 1
2001-11-16  Kim F. Storm  <storm@@cua.dk>
d12107 7
a12113 63
	The following changes are made to clean up the various internal
	references to the fringes to actually use the term `fringe' for
	them.  Previously, they were called `flags areas', `bitmap areas',
	`left/right side of windows', or implicitly as `flags' or
	`bitmaps':

	* dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID.
	Comments fixed. Use renamed symbols.

	* dispnew.c: Comment fix. Use renamed symbols.

	* frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS.
	(FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH.
	(FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH.

	* msdos.c: Comment fix.

	* w32fns.c: Use renamed symbols.

	* w32term.c: Comment fixes. Use renamed symbols.
	(fringe_bitmap_type): Renamed from bitmap_type.
	(NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
	(w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap.
	(x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.

	* w32term.h: Comment fixes. Use renamed symbols.
	(fringes_extra): Renamed from flags_areas_extra.
	(FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
	(FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
	(FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
	(FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
	(FRAME_X_LEFT_FRINGE_WIDTH):
	Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
	(FRAME_X_RIGHT_FRINGE_WIDTH):
	Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.

	* widget.c: Use renamed symbols.

	* window.c: Comment fixes. Use renamed symbols.
	(coordinates-in-window-p): Doc fix.

	* xdisp.c: Comment fixes. Use renamed symbols.

	* xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID.

	* xfns.c: Use renamed symbols.

	* xterm.c: Comment fixes. Use renamed symbols.
	(fringe_bitmap_type): Renamed from bitmap_type.
	(NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
	(x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
	(x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.

	* xterm.h: Comment fixes. Use renamed symbols.
	(fringes_extra): Renamed from flags_areas_extra.
	(FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
	(FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
	(FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
	(FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
	(FRAME_X_LEFT_FRINGE_WIDTH):
	Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
	(FRAME_X_RIGHT_FRINGE_WIDTH):
	Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
d12115 1
a12115 1
2001-11-15  Jason Rumney  <jasonr@@gnu.org>
d12117 2
a12118 3
	* w32menu.c (add-menu-item): Make help_echo and radio buttons
	work for most menu items.  From David Ponce
	<david.ponce@@wanadoo.fr>.
d12120 1
a12120 1
2001-11-15  Gerd Moellmann  <gerd@@gnu.org>
d12122 1
a12122 3
	* xfns.c (x_set_frame_parameters): Revert change of 2001-11-07.
	Some x_set_* function expect to be called even if old and new
	value are equal.
d12124 2
a12125 2
	* xdisp.c (build_desired_tool_bar_string): Accept zero
	tool_bar_button_relief.
d12127 1
a12127 1
	* xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief.
d12129 2
a12130 1
	* xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief.
d12132 1
a12132 3
	* xterm.c (x_draw_bar_cursor): If the background color of the
	glyph under the cursor equals the frame's cursor color, use
	the glyph's foreground color for drawing the bar cursor.
d12134 1
a12134 2
	* dispnew.c (direct_output_forward_char): Fix character/byte
	position comparison.
d12136 1
a12136 1
2001-11-15  Miles Bader  <miles@@gnu.org>
d12138 1
a12138 7
	* editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters.
	(Fdelete_field, Ffield_string, Ffield_string_no_properties):
	Update arguments to find_field.
	(Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field.
	(Fconstrain_to_field): Use LIMIT arg to shorten search time.
	* lisp.h (Ffield_beginning, Ffield_end): Update EXFUN decl.
	* minibuf.c (Fminibuffer_prompt_end): Update args to Ffield_end.
d12140 1
a12140 1
2001-11-14  Richard M. Stallman  <rms@@gnu.org>
d12142 2
a12143 1
	* editfns.c (Fpropertize): Allow call with 1 arg.
d12145 1
a12145 2
	* dispextern.h (image_background, image_background_transparent):
	Conditionalize on HAVE_X_WINDOWS.
d12147 3
a12149 1
2001-11-13  Richard M. Stallman  <rms@@gnu.org>
d12151 1
a12151 1
	* print.c (Fprin1_to_string): Doc fix.
d12153 2
a12154 1
	* sunfns.c (Fsun_change_cursor_icon): Doc fix.
d12156 2
a12157 1
	* floatfns.c (Fceiling, Ffloor): Doc fixes.
d12159 2
a12160 1
	* filelock.c (Funlock_buffer, Ffile_locked_p): Doc fixes.
d12162 7
a12168 1
	* fileio.c (Ffile_accessible_directory_p): Doc fix.
d12170 1
a12170 1
	* eval.c (syms_of_eval): Doc fix.
d12172 2
a12173 1
	* coding.c (syms_of_coding): Doc fix.
d12175 4
a12178 1
	* doc.c (Fsnarf_documentation): Doc fix.
d12180 1
a12180 1
	* dispnew.c (syms_of_display): Doc fix.
d12182 1
a12182 1
	* category.c (Fget_unused_category): Doc fix.
d12184 1
a12184 1
	* buffer.c (syms_of_buffer): Doc fixes.
d12186 1
a12186 1
2001-11-14  Eli Zaretskii  <eliz@@is.elta.co.il>
d12188 4
a12191 1
	* print.c (prin1, print): Doc fix.
d12193 2
a12194 1
2001-11-14  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12196 2
a12197 2
	* fontset.h: Remove declarations of variables
	`Vhighlight_wrong_size_font' and `Vclip_large_size_font'.
d12199 2
a12200 2
	* fontset.c: Remove variables `Vhighlight_wrong_size_font' and
	`Vclip_large_size_font'.
d12202 1
a12202 1
2001-11-13  Jason Rumney  <jasonr@@gnu.org>
d12204 23
a12226 1
	* w32fns.c: Doc fix.
d12228 1
a12228 1
2001-11-13  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12230 1
a12230 1
	* xfaces.c (Fface_attributes_as_vector): Doc fix.
d12232 1
a12232 1
	* fns.c: Doc fix.
d12234 1
a12234 1
	* emacs.c: Doc fix.
d12236 1
a12236 1
	* coding.c: Doc fix.
d12238 4
a12241 3
	* cmds.c, composite.c, dired.c, doc.c, filelock.c, floatfns.c,
	* fontset.c, insdel.c, keymap.c: Change doc-string comments to
	`new style' [w/`doc:' keyword].
d12243 1
a12243 1
2001-11-12  Richard M. Stallman  <rms@@gnu.org>
d12245 1
a12245 4
	* xterm.c (XTread_socket): Don't update focus for EnterNotify or
	LeaveNotify events.  Only FocusIn and FocusOut do that now.
	(x_display_and_set_cursor): Do display hollow cursors in active
	minibuffer windows when they are not selected.
d12247 1
a12247 1
2001-11-12  Jason Rumney  <jasonr@@gnu.org>
d12249 2
a12250 3
	* w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c,
	* w32term.c: Change doc-string comments to `new style'.
	[w/`doc:' keyword]. Doc fixes.
d12252 6
a12257 2
	* w32fns.c: Don't define max.
	(Fx_open_connection): Only execute once.
d12259 1
a12259 1
2001-11-12  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12261 1
a12261 2
	* ccl.c: Change macros to use do-while block instead of if-else.
	Use braces to follow GNU Coding Standards.
d12263 8
a12270 1
2001-11-11  Richard M. Stallman  <rms@@gnu.org>
d12272 1
a12272 1
	* sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR.
d12274 5
a12278 1
	* lread.c (read_escape): Use end_of_file_error for reporting eof.
d12280 1
a12280 2
	* insdel.c (replace_range): Use adjust_markers_for_replace
	instead of adjust_markers_for_delete and adjust_markers_for_insert.
d12282 2
a12283 1
	* intervals.h: Declare set_text_properties and set_text_properties_1.
d12285 3
a12287 3
	* textprop.c (set_text_properties_1): New subroutine
	broken out of set_text_properties.
	(set_text_properties): Use set_text_properties_1.
d12289 1
a12289 2
	* intervals.c (graft_intervals_into_buffer):
	Use set_text_properties_1 to clear out properties.
d12291 1
a12291 3
	* search.c (Freplace_match): Use replace_range to insert
	and delete.  Don't request property inheritance from
	surrounding text.
d12293 6
a12298 1
2001-11-10  Jason Rumney  <jasonr@@gnu.org>
d12300 2
a12301 3
	* w32fns.c (enum_font_cb2): Use leading @@ on face name to detect
	vertical fonts. Allow them if face name is explicitly specified.
	Do not give up if we find a font that cannot be converted to an xlfd.
d12303 4
a12306 1
2001-11-10  Gerd Moellmann  <gerd@@gnu.org>
d12308 1
a12308 2
	* unexelf.c (unexec): Use mmap/munmap to allocate buffers
	instead of malloc/free.
d12310 3
a12312 1
2001-11-09  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12314 2
a12315 3
	* xfaces.c (merge_face_vectors): Use braces to follow GNU
	Coding Standards.
	(Finternal_set_lisp_face_attribute): Likewise.
d12317 1
a12317 1
	* buffer.c (Fbury_buffer): Likewise.
d12319 2
a12320 1
	* indent.c (current_column_1): Remove unused variable `prev_col'.
d12322 2
a12323 3
	* coding.c (encode_coding): Use precomputed value of `src'.
	(encode_coding): Remove unused variable `src_end'.
	(code_convert_region): Remove unused variables `count'.
d12325 3
a12327 1
2001-11-07  Jason Rumney  <jasonr@@gnu.org>
d12329 1
a12329 2
	* w32term.c (x_display_and_set_cursor): Do not move system caret
	if cursor_glyph is NULL.
d12331 1
a12331 1
2001-11-07  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12333 6
a12338 1
	* keymap.c (access_keymap): Fix compilation error.
d12340 1
a12340 1
2001-11-07  Miles Bader  <miles@@gnu.org>
d12342 2
a12343 1
	* xfns.c (x_set_frame_parameters): Avoid infinite recursion.
d12345 1
a12345 1
2001-11-07  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12347 1
a12347 3
	* intervals.c (graft_intervals_into_buffer):
	Remove #ifdef'd-out code.
	(graft_intervals_into_buffer): Remove unused variable `middle'.
d12349 2
a12350 3
	* lread.c (Feval_region): Remove obsolete #ifdef'd-out
	code (eval-current-buffer).
	Change doc-string comments to `new style' [w/`doc:' keyword].
d12352 1
a12352 1
2001-11-06  Richard M. Stallman  <rms@@gnu.org>
d12354 3
a12356 1
	* keymap.c (access_keymap): Don't use initializers on Lisp_Object.
d12358 1
a12358 1
2001-11-06  Stefan Monnier  <monnier@@cs.yale.edu>
d12360 1
a12360 1
	* lread.c (read1): Fix behavior with nested backquoting.
d12362 2
a12363 2
	* keyboard.c (make_lispy_event): Check integerness and fix
	Lisp_Object/int mixup.
d12365 4
a12368 1
2001-11-06  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12370 1
a12370 1
	* fns.c (copy_hash_table): Remove unused variable `v'.
d12372 1
a12372 2
	* fontset.c (fontset_font_pattern): Remove unused variable
	`family_registry'.
d12374 4
a12377 1
	* indent.c (current_column_1): Remove unused variable `prev_col'.
d12379 1
a12379 1
2001-11-05  Richard M. Stallman  <rms@@gnu.org>
d12381 2
a12382 1
	* m/news-risc.h (BROKEN_PROTOTYPES): Defined.
d12384 1
a12384 2
	* buffer.c (Fkill_buffer): Don't delete auto save file
	if buffer is modified.
d12386 5
a12390 1
2001-11-05  Andrew Innes  <andrewi@@gnu.org>
d12392 1
a12392 2
	* w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and
	CHECK_NUMBER_CDR.
d12394 1
a12394 1
2001-11-05  Richard M. Stallman  <rms@@gnu.org>
d12396 2
a12397 1
	* unexelf.c (unexec): Minor changes; clean up comments.
d12399 1
a12399 1
2001-11-05  Sam Steingold  <sds@@gnu.org>
d12401 1
a12401 1
	* w32term.c (x_display_and_set_cursor): Fix w32 compilation error.
d12403 1
a12403 1
2001-11-05  Andreas Schwab  <schwab@@suse.de>
d12405 1
a12405 1
	* sound.c (sound_perror): Save errno from being clobbered.
d12407 1
a12407 1
2001-11-05  Dale Hagglund  <rdh@@yottayotta.com>
d12409 1
a12409 2
	* unexelf.c (unexec): Don't use `mmap'.  Instead, read and write
	the program image directly.
d12411 2
a12412 1
2001-11-05  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12414 1
a12414 1
	* buffer.h (Fbuffer_local_value): Add prototype.
d12416 2
a12417 1
2001-11-04  Richard M. Stallman  <rms@@gnu.org>
d12419 5
a12423 2
	* buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL
	and CHECK_BUFFER.
d12425 1
a12425 2
	* keyboard.c (read_char): Use Fcar and Fcdr, not Fnth.
	(record_char): Likewise.
d12427 2
a12428 3
	* keyboard.c (make_lispy_event): Don't insist a drag event must
	move to a different buffer position.  Instead, check for moving at
	least double_click_fuzz.
d12430 24
a12453 1
	* fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength.
d12455 1
a12455 1
	* keyboard.c (echo-area-clear-hook): Undo Oct 29 change.
d12457 2
a12458 3
	* indent.c (current_column_1, Fmove_to_column): Separate the code
	for display-table glyphs from the code for buffer text, to fix
	bugs in the former.
d12460 3
a12462 1
2001-11-04  Michael Welsh Duggan  <md5i@@cs.cmu.edu>
d12464 1
a12464 2
	* buffer.c (Fbuffer_local_value): New function.
	(syms_of_buffer): Defsubr it.
d12466 1
a12466 2
	* xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local
	value of `cursor-in-non-selected-windows'.
d12468 3
a12470 3
	* lisp.h (Qcursor_in_non_selected_windows): New declaration.
	* xdisp.c (Qcursor_in_non_selected_windows): New variable.
	(syms_of_xdisp): Initialize it.
d12472 1
a12472 1
2001-11-04  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12474 2
a12475 1
	* xfns.c (Fx_create_frame): Doc fix.
d12477 1
a12477 2
	* coding.c: Change doc-string comments to `new style' [w/`doc:'
	keyword].
d12479 1
a12479 3
	* eval.c (top_level_value, top_level_set): Remove commented and
	#ifdef'd-out code.
	(Fdefvar): Fix usage in doc-string.
d12481 1
a12481 1
2001-11-03  Richard M. Stallman  <rms@@gnu.org>
d12483 1
a12483 1
	* xfns.c: Include unistd.h, if it exists.
d12485 3
a12487 1
	* editfns.c: Move the include of ctype.h after unistd.h.
d12489 1
a12489 1
	* gmalloc.c: Test BROKEN_PROTOTYPES.
d12491 3
a12493 1
2001-11-03  Ken Raeburn  <raeburn@@gnu.org>
d12495 3
a12497 5
	* lisp.h (CHECK_STRING_CAR): New macro.
	* lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of
	treating XCAR and XCDR as lvalues.
	(openp): Use CHECK_STRING_CAR.
	(read_list): Use XSETCDR instead of treating XCDR as lvalue.
d12499 1
a12499 1
2001-11-03  Eli Zaretskii  <eliz@@is.elta.co.il>
d12501 1
a12501 2
	* s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE.
	(SIGMASKTYPE): Define.
d12503 1
a12503 1
	* syssignal.h (sigunblock): Don't define if already defined.
d12505 6
a12510 1
2001-11-02  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12512 1
a12512 36
	* eval.c (debugger_may_continue, Vdebug_ignored_errors)
	(call_debugger, Fcondition_case, skip_debugger, unbind_to):
	Fix typos in comments.

	* mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented
	and #ifdef'd-out code.
	Fix and reindent comments.

	* mocklisp.h: Remove comment which is a copy of comment in mocklisp.c.

	* category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused
	argument `i' in macros.

	* frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument
	`i' in macros.

	* lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST)
	(CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE)
	(CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER)
	(CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER)
	(CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER)
	(CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT)
	(CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY)
	(CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i'
	in macros.

	* abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c,
	* casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c,
	* composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c,
	* eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h,
	* indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c,
	* minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c,
	* sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c,
	* w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c,
	* xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros
	(remove unused second argument).
d12514 2
a12515 1
2001-11-02  Stefan Monnier  <monnier@@cs.yale.edu>
d12517 1
a12517 4
	* syntax.c (describe_syntax): New wrapper.
	(Finternal_describe_syntax_value): Rename from describe_syntax.
	Don't insert space at front and \n at the end.
	(syms_of_syntax): Defsubr Sinternal_describe_syntax_value.
d12519 1
a12519 2
	* regex.c (re_wctype): Try to fix some warnings.
	(regcomp, regexec): Don't forget the __restrict.
d12521 1
a12521 1
2001-11-02  Richard M. Stallman  <rms@@gnu.org>
d12523 5
a12527 1
	* textprop.c (Fget_char_property): Doc fix.
d12529 1
a12529 1
2001-11-02  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12531 1
a12531 1
	* process.c (Fstart_process): Add usage to doc-string.
d12533 1
a12533 1
	* data.c (Fsetq_default): Ditto.
d12535 1
a12535 1
	* callint.c (Finteractive): Ditto.
d12537 1
a12537 1
2001-11-01  Stefan Monnier  <monnier@@cs.yale.edu>
d12539 1
a12539 1
	* macros.c: Don't include keymap.h any more.
d12541 3
a12543 1
2001-11-01  Richard M. Stallman  <rms@@gnu.org>
d12545 1
a12545 1
	* data.c (Fmake_local_variable): Doc fix.
d12547 1
a12547 2
	* eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix.
	(Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix.
d12549 1
a12549 3
	* keymap.c (Fdescribe_buffer_bindings): Print character property
	bindings along with or instead of the buffer local map.
	Make the overriding maps override what they should.
d12551 1
a12551 1
2001-11-01  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12553 2
a12554 1
	* window.c (grow_mini_window): Fix typo in comment.
d12556 1
a12556 1
2001-11-01  Gerd Moellmann  <gerd@@gnu.org>
d12558 3
a12560 2
	* xterm.c (x_scroll_bar_create): Check for width and height > 0.
	(XTset_vertical_scroll_bar): Likewise.
d12562 2
a12563 2
	* xfns.c (x_build_heuristic_mask): Use four_corners_best
	instead of IMAGE_BACKGROUND.
d12565 1
a12565 1
	* xfns.c (four_corners_best): Reindent.
d12567 1
a12567 2
	* xfaces.c (Finternal_set_lisp_face_attribute_from_resource):
	Handle :box so that it is possible to specify sexprs.
d12569 3
a12571 1
2001-10-31  Eli Zaretskii  <eliz@@is.elta.co.il>
d12573 1
a12573 1
	* s/hpux11.h: New file.
d12575 2
a12576 1
2001-10-31  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12578 1
a12578 4
	* emacs.c (USAGE1): Show command line option --no-window-system
	instead of --no-windows in usage.
	(standard_args): Rename --no-windows to --no-window-system.
	(bug_reporting_address): Follow Emacs coding conventions.
d12580 2
a12581 2
	* eval.c (Fcommandp): Doc fix.
	Change doc-string comments to `new style' [w/`doc:' keyword].
d12583 1
a12583 1
	* frame.c (Fframe_live_p): Doc fix.
d12585 4
a12588 1
	* buffer.c (selective-display-ellipses): Doc fix.
d12590 1
a12590 1
2001-10-31  Gerd Moellmann  <gerd@@gnu.org>
d12592 1
a12592 1
	* lread.c (to_multibyte): Fix computation of new read_buffer_size.
d12594 1
a12594 5
	* xfaces.c (realize_x_face): If C is not a single-byte character,
	set the face's colors_copied_bitwise_p instead of the defaulted_p
	members which have a different meaning.
	(free_face_colors): Do nothing for a face whose colors have been
	copied bitwise.
d12596 1
a12596 1
	* dispextern.h (struct face) <colors_copied_bitwise_p>: New member.
d12598 1
a12598 1
2001-10-31  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12600 2
a12601 2
	* marker.c, mocklisp.c: Change doc-string comments to `new style'
	[w/`doc:' keyword].
d12603 1
a12603 1
2001-10-31  Gerd Moellmann  <gerd@@gnu.org>
d12605 2
a12606 1
	* fns.c (require_unwind): Return Lisp_Object.
d12608 1
a12608 1
2001-10-31  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12610 2
a12611 3
	* keyboard.c (lucid-menu-bar-dirty-flag): Doc fix.
	(last-input-char): Revert doc-string to be the same as the
	doc-string of `last-input-event'.
d12613 1
a12613 1
	* xdisp.c: Fix typos in comments.
d12615 3
a12617 1
2001-10-31  Gerd Moellmann  <gerd@@gnu.org>
d12619 2
a12620 2
	* window.c (grow_mini_window): Handle case that the root
	window is already smaller than the nominal mininum height.
d12622 1
a12622 1
2001-10-30  Stefan Monnier  <monnier@@cs.yale.edu>
d12624 1
a12624 1
	* emacs.c (main): Don't call keys_of_macros any more.
d12626 3
a12628 1
	* lisp.h (keys_of_macros): Remove.
d12630 2
a12631 1
	* macros.c (keys_of_macros): Remove.
d12633 1
a12633 1
	* xfaces.c (Fface_attribute_relative_p): Declare args.
d12635 1
a12635 1
2001-10-30  Jason Rumney  <jasonr@@gnu.org>
d12637 1
a12637 2
	* w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer.
	(enum_font_cb2): Ignore fonts with vertical orientation.
d12639 3
a12641 1
2001-10-30  Richard M. Stallman  <rms@@gnu.org>
d12643 1
a12643 1
	* keyboard.c (Finput_pending_p): Doc fix.
d12645 4
a12648 1
2001-10-30  Gerd Moellmann  <gerd@@gnu.org>
d12650 1
a12650 2
	* xterm.c (x_after_update_window_line): Don't run the code
	clearing in borders for rows whose visible height is 0.
d12652 2
a12653 3
	* xdisp.c (clear_garbaged_frames): Redraw the frame only if its
	resized_p flag is set.  If not set, use the much less flickering
	method previously used.
d12655 1
a12655 1
	* dispnew.c (change_frame_size_1): Set frame's resized_p.
d12657 3
a12659 1
	* frame.h (struct frame) <resized_p>: New member.
d12661 1
a12661 2
	* lread.c (to_multibyte): Ensure read_buffer is at least twice
	as large as the number of bytes to convert.
d12663 1
a12663 2
	* lread.c (to_multibyte): New function.
	(read1): Use it.
d12665 1
a12665 1
2001-10-30  Eli Zaretskii  <eliz@@is.elta.co.il>
d12667 3
a12669 1
	* msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c).
d12671 1
a12671 1
2001-10-30  Gerd Moellmann  <gerd@@gnu.org>
d12673 1
a12673 4
	* xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel.
	(x_set_glyph_string_background_width): Set extends_to_end_of_line_p
	if the row's fill_line_p is set and drawing the last glyph with
	DRAW_IMAGE_{RAISED,SUNKEN}.
d12675 1
a12675 1
	* xdisp.c (clear_garbaged_frames): Call Fredraw_frame.
d12677 2
a12678 1
2001-10-29  Stefan Monnier  <monnier@@cs.yale.edu>
d12680 1
a12680 18
	* xmenu.c: Include coding.h and charset.h.
	(Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT.
	(Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part.
	(single_submenu, xmenu_show): Use ENCODE_SYSTEM.
	Explicitly set wv->help.  Use `TRUE' rather than `True'.
	(menu_help_callback): Use empty_string.

	* w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos.
	(Fx_popup_dialog): Explicitly init f.
	(w32_menu_display_help): Use empty_string.

2001-10-29  Richard M. Stallman  <rms@@gnu.org>

	* fns.c (Frequire): Detect recursive try to require the same
	feature 3 or more levels deep, and get error.
	(require_unwind): New subroutine.
	(require_nesting_list): New variable.
	(syms_of_fns): Init and staticpro it.
d12682 4
a12685 1
	* print.c (print_object): Clarify indication of insertion type.
d12687 2
a12688 1
2001-10-29  Eli Zaretskii  <eliz@@is.elta.co.il>
d12690 1
a12690 2
	* coding.c (syms_of_coding): Document that locale-coding-system is
	used for decoding input on X.
d12692 1
a12692 1
	* window.c (Fscroll_left, Fscroll_right): Doc fix.
d12694 1
a12694 1
2001-10-29  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12696 2
a12697 2
	* keyboard.c (Finput_pending_p): Fix typo in doc-string.
	(echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it.
d12699 1
a12699 1
2001-10-29  Gerd Moellmann  <gerd@@gnu.org>
d12701 3
a12703 2
	* xterm.c (x_display_and_set_cursor): If cursor_in_echo_area,
	use NO_CURSOR if cursor_in_non_selected_windows is false.
d12705 1
a12705 2
	* xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for
	the slant attribute if FRAME is t.
d12707 1
a12707 2
	* xfns.c (x_set_internal_border_width): Set frame garbaged
	when X window doesn't exist yet.
d12709 1
a12709 2
	* xterm.c (x_after_update_window_line): Clear internal border
	in different circumstances.
d12711 2
a12712 3
	* xterm.c (XTread_socket) <KeyPress>: Don't use
	STRING_CHAR_AND_LENGTH if nchars == nbytes.  From Kenichi Handa
	<handa@@etl.go.jp>.
d12714 3
a12716 1
2001-10-28  Eli Zaretskii  <eliz@@is.elta.co.il>
d12718 1
a12718 2
	* m/ibms390.h: New file.  From Adam Thornton
	<athornton@@sinenomine.net>.
d12720 3
a12722 1
2001-10-28  Gerd Moellmann  <gerd@@gnu.org>
d12724 1
a12724 1
	* xfns.c (x_build_heuristic_mask): Use x_alloc_image_color.
d12726 4
a12729 2
	* xfns.c (x_build_heuristic_mask): Fix a bug not incrementing
	a loop counter.
d12731 1
a12731 1
2001-10-28  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12733 1
a12733 1
	* emacs.c: Use argv[0] instead of emacs when -t was specified.
d12735 8
a12742 3
	* keyboard.c: Change doc-string comments to `new style' [w/`doc:'
	keyword].
	Fix typos in comments.
d12744 2
a12745 2
	* emacs.c (bug_reporting_address): New function.
	Use it when displaying usage message.
d12747 5
a12751 2
	* minibuf.c (read_minibuf): Remove unused external declaration of
	variable `Qread_only'.
d12753 14
a12766 1
	* keymap.c (access_keymap): Remove unused variable `charset'.
d12768 1
a12768 1
2001-10-28  Miles Bader  <miles@@gnu.org>
d12770 2
a12771 4
	* xfaces.c (merge_face_heights): Handle TO being relative as well.
	Remove #ifdef'd-out code.
	(Fface_attribute_relative_p, Fmerge_face_attribute): New functions.
	(syms_of_xfaces): Initialize them.
d12773 3
a12775 1
2001-10-27  Jason Rumney  <jasonr@@gnu.org>
d12777 6
a12782 3
	* w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret.
	<WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor
	position using the system caret.
d12784 1
a12784 5
	* w32term.c (w32_system_caret_hwnd, w32_system_caret_width)
	(w32_system_caret_height, w32_system_caret_x)
	(w32_system_caret_y): New variables for tracking system caret.
	(w32_initialize): Initialize them.
	(x_display_and_set_cursor): Make system caret follow the active cursor.
d12786 13
a12798 2
	* w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET):
	New messages types.
d12800 7
a12806 1
	* w32term.c (note_mouse_highlight): Clear old help_echo.
d12808 5
a12812 1
2001-10-27  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12814 1
a12814 1
	* xterm.c: Fix typo in a comment.
d12816 1
a12816 4
	* emacs.c: Fix typos in comments.
	Remove unnecessary spaces.
	Change doc-string comments to `new style' [w/`doc:' keyword].
	(USAGE2): Fix typos in usage string.
d12818 1
a12818 1
	* xterm.c: Fix typo in a comment.
d12820 1
a12820 2
	* lisp.h: (gdb_lisp_params): Remove code in #if 0 which is now in
	emacs.c.
d12822 2
a12823 1
2001-10-27  Gerd Moellmann  <gerd@@gnu.org>
d12825 2
a12826 3
	* xdisp.c (move_it_vertically_backward): Use 2/3 line_height
	instead of 1/2 line_height in the heuristic for skipping
	farther backward when target_y was not reached.
d12828 1
a12828 5
	* sound.c (sound_perror): Unblock SIGIO, turn on atimers.
	Display errno only if non-zero.
	(sound_warning): New function.
	(vox_configure): Don't treat failing to set sample rate as error.
	(various places): Improve error messages.
d12830 1
a12830 1
2001-10-26  Eli Zaretskii  <eliz@@is.elta.co.il>
d12832 1
a12832 2
	* fileio.c (Faccess_file): Run the argument filename through
	Fexpand_file_name, before using it.
d12834 16
a12849 2
	* dispnew.c (syms_of_display) <visible-bell>: Add a reference to
	ring-bell-function.  Suggested by Alf-Ivar Holm <alfh@@ifi.uio.no>
d12851 1
a12851 1
2001-10-26  Gerd Moellmann  <gerd@@gnu.org>
d12853 3
a12855 1
	* insdel.c (insert_1_both): Do nothing if NCHARS == 0.
d12857 1
a12857 2
	* xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
	Fix clearing in the case of scroll bars on the right.
d12859 2
a12860 1
2001-10-26  Juanma Barranquero  <lektu@@terra.es>
d12862 1
a12862 1
	* w32gui.h (XImage): Add a dummy typedef.
d12864 1
a12864 1
2001-10-26  Gerd Moellmann  <gerd@@gnu.org>
d12866 2
a12867 1
	* xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison.
d12869 1
a12869 1
2001-10-25  Eli Zaretskii  <eliz@@is.elta.co.il>
d12871 2
a12872 1
	* frame.c (Fframe_parameter): Fix last change.
d12874 1
a12874 3
	* fileio.c: Revert last change (which removed old commented-out
	version of expand-file-name).  Add a comment that explains why
	this old version should not be removed.
d12876 1
a12876 1
2001-10-25  Gerd Moellmann  <gerd@@gnu.org>
d12878 2
a12879 3
	* frame.c (Fframe_parameter): Fix a bug whereby some
	``artificial'' frame parameters, like `minibuffer' were not
	obtained by calling Fframe_parameters.
d12881 1
a12881 2
	* xterm.c (show_mouse_face): Clean up.  Recognize overwritten
	cursor differently.
d12883 2
a12884 2
	* xdisp.c (move_it_vertically_backward): Compute line height
	differently.  Add heuristic to try to be more compatible to 20.x.
d12886 7
a12892 1
2001-10-25  Stefan Monnier  <monnier@@cs.yale.edu>
d12894 1
a12894 1
	* lisp.h (make_fixnum_or_float): Coerce double to int explicitly.
d12896 6
a12901 2
	* editfns.c (text_property_stickiness): Fix Lisp_Object used as
	boolean.
d12903 1
a12903 1
2001-10-25  Miles Bader  <miles@@gnu.org>
d12905 1
a12905 3
	* xfns.c (png_load): Make sure SPECIFIED_BG is a string.
	BG is a pointer to a structure, not a structure.
	(gif_format, png_format): Add missing commas.
d12907 2
a12908 1
2001-10-24  Richard M. Stallman  <rms@@gnu.org>
d12910 2
a12911 2
	* xfaces.c (Fface_attributes_as_vector): New function.
	(syms_of_xfaces): Defsubr it.
d12913 1
a12913 1
2001-10-24  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12915 3
a12917 2
	* dispnew.c (sync_window_with_frame_matrix_rows): Remove unused
	variable `area'.
d12919 9
a12927 1
2001-10-25  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12929 1
a12929 1
	* search.c (scan_newline): Remove unused variable `selective_display'.
d12931 2
a12932 28
2001-10-25  Miles Bader  <miles@@gnu.org>

	* dispextern.h (struct image): Add `background',
	`background_valid', and `background_transparent' fields.
	(image_background, image_background_transparent): New declarations.
	(IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros.
	* xfns.c (image_background, image_background_transparent)
	(four_corners_best): New functions.
	(xpm_format, png_format, jpeg_format, tiff_format, gif_format)
	(gs_format): Add `:background' entry.
	(lookup_image): Set IMG's background color if specified.
	(pbm_load, xbm_load_image, png_load): Set IMG's background field
	when appropriate.
	(x_clear_image_1): Reset `background_valid' and
	`background_transparent_valid' fields.
	(x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of
	calculating it here.  Set IMG's background_transparent field.
	(enum xpm_keyword_index): Add XPM_BACKGROUND.
	(enum png_keyword_index): Add PNG_BACKGROUND.
	(enum jpeg_keyword_index): Add JPEG_BACKGROUND.
	(enum tiff_keyword_index): Add TIFF_BACKGROUND.
	(enum gif_keyword_index): Add GIF_BACKGROUND.
	(enum gs_keyword_index): Add GS_BACKGROUND.
	(pbm_load, png_load, jpeg_load, tiff_load, gif_load):
	Pre-calculate image background color where necessary.
	* xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and
	`IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background
	color to use for image glyph reliefs.
d12934 1
a12934 1
2001-10-24  Gerd Moellmann  <gerd@@gnu.org>
d12936 2
a12937 2
	* xterm.c (x_draw_glyphs): Don't check for cursor overwriting
	in full-width rows.
d12939 1
a12939 2
	* xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
	Fix clearing of area not covered by scroll bar.
d12941 4
a12944 1
2001-10-24  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12946 14
a12959 4
	* xterm.c: (x_insert_glyphs): Remove unused variables `real_end'
	and `real_start'.
	(x_draw_image_foreground): Remove unused variables `mask' and `xgcv'.
	(glyph_rect): Remove unused variable `area'.
d12961 1
a12961 1
2001-10-24  Gerd Moellmann  <gerd@@gnu.org>
d12963 2
a12964 1
	* xdisp.c: Change #ifdef GLYPH_DEBUG to #if.
d12966 1
a12966 4
	* xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos.
	(row_containing_pos): Take additional argument DY.
	Treat rows ending in middle of char differently.
	(display_line): Handle tabs on window systems differently.
d12968 1
a12968 2
	* xterm.c, w32term.c (fast_find_position): Call row_containing_pos
	with additional argument.
d12970 3
a12972 1
	* dispextern.h (row_containing_pos): Adjust prototype.
d12974 1
a12974 5
	* xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing)
	(inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables.
	(try_window_id, try_window_reusing_current_matrix)
	(try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited.
	(syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables.
d12976 9
a12984 1
2001-10-24  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d12986 2
a12987 4
	* xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of
	gnuemacs).
	(HAVE_BOXES): Fix typo in comment.
	(push_menu_pane): Fix typo in comment.
d12989 6
a12994 6
	* xdisp.c: (display_prop_string_p): Remove unused local declaration
	of `Qwhen'.
	(single_display_prop_string_p): Remove unused local declarations
	of `Qwhen' and `Qmargin'.
	(string_buffer_position): Remove unused variable `around'.
	(store_frame_title): Remove unused variable `width'.
d12996 2
a12997 2
	* window.c: Don't define max.
	(coordinates_in_window): Remove unused variable `uy'.
d12999 2
a13000 1
	* widget.c: Don't define max.
d13002 1
a13002 2
	* process.c: Don't define max.
	(create_process): Remove unused variable `buffer'.
d13004 1
a13004 1
2001-10-23  Gerd Moellmann  <gerd@@gnu.org>
d13006 1
a13006 1
	* xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error.
d13008 2
a13009 1
2001-10-23  Eli Zaretskii  <eliz@@is.elta.co.il>
d13011 1
a13011 3
	* xfaces.c (Finternal_set_lisp_face_attribute)
	[HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the
	frame is on a windowed display.
d13013 1
a13013 1
2001-10-23  Gerd Moellmann  <gerd@@gnu.org>
d13015 1
a13015 3
	* dispnew.c (sync_window_with_frame_matrix_rows):
	Fix handling of windows which aren't full-width, fix handling
	of marginal areas.
d13017 2
a13018 1
	* lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50.
d13020 1
a13020 1
2001-10-23  Andreas Schwab  <schwab@@suse.de>
d13022 1
a13022 2
	* m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override
	LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc".
d13024 1
a13024 1
2001-10-23  Gerd Moellmann  <gerd@@gnu.org>
d13026 2
a13027 5
	* xterm.c (x_draw_glyphs): Remove parameters READ_START and
	REAL_END.  Notice if cursor gets overwritten.
	(notice_overwritten_cursor): Take X positions as parameters.
	(x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p
	around call to x_draw_glyphs.
d13029 11
a13039 1
2001-10-23  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d13041 1
a13041 2
	* syntax.c (modify-syntax-entry): Fix argument names (use CHAR
	instead of C) and usage.
d13043 1
a13043 2
	* editfns.c (char-to-string): Fix argument names (use CHAR instead
	of C) and usage.
d13045 1
a13045 2
	* xfns.c (Fx_show_tip): Remove unused variables `buffer', `top',
	`left', `max_width' and `max_height'.
d13047 1
a13047 1
2001-10-23  Gerd Moellmann  <gerd@@gnu.org>
d13049 4
a13052 2
	* xdisp.c (display_line): For a tab continued to the next line,
	set row's ends_in_middle_of_char_p.
d13054 1
a13054 1
2001-10-22  Gerd Moellmann  <gerd@@gnu.org>
d13056 3
a13058 2
	* xdisp.c (display_line): Fix computation of continuation lines
	width for TABs.
d13060 1
a13060 1
2001-10-22  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d13062 1
a13062 2
	* xdisp.c (build_desired_tool_bar_string): Remove unused variable
	`Qlaplace'.
d13064 1
a13064 1
	* fileio.c: Remove unused code.
d13066 1
a13066 1
2001-10-22  Miles Bader  <miles@@gnu.org>
d13068 1
a13068 3
	* lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL)
	(DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD):
	Remove `DOC_STRINGS_IN_COMMENTS' cases.
d13070 2
a13071 1
2001-10-21  Jason Rumney  <jasonr@@gnu.org>
d13073 1
a13073 1
	* w32term.c (x_erase_phys_cursor): Remove inverse_p again.
d13075 1
a13075 1
2001-10-21  Eli Zaretskii  <eliz@@is.elta.co.il>
d13077 1
a13077 2
	* mocklisp.c (Fml_if, Fml_provide_prefix_argument)
	(Finsert_string): Avoid the multi-line string literals warning.
d13079 1
a13079 1
2001-10-22  Miles Bader  <miles@@gnu.org>
d13081 1
a13081 3
	* doc.c (Vhelp_manyarg_func_alist): Variable removed.
	(Fdocumentation): Don't use it.
	(syms_of_doc): Don't initialize it.
d13083 1
a13083 13
	* keyboard.c (Ftrack_mouse): Add usage: string to doc string.
	* print.c (Fwith_output_to_temp_buffer): Likewise.
	* window.c (Fsave_window_excursion): Likewise.
	* editfns.c (Fsave_excursion, Fsave_current_buffer)
	(Fsave_restriction): Likewise.
	* eval.c (Frun_hooks, Frun_hook_with_args)
	(Frun_hook_with_args_until_failure)
	(Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif)
	(Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun)
	(Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch)
	(Funwind_protect, Fcondition_case): Likewise.
	* coding.c (Ffind_operation_coding_system): Likewise.
	* keyboard.c (Ftrack_mouse): Likewise.
d13085 1
a13085 1
2001-10-21  Miles Bader  <miles@@gnu.org>
d13087 2
a13088 7
	* fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply)
	(Fmake_hash_table): Add usage: string to doc string.
	* editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers)
	(Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat)
	(Fencode_time, Finsert_and_inherit_before_markers): Likewise.
	* mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument)
	(Fml_prefix_argument_loop): Likewise.
d13090 120
a13209 1
2001-10-21  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d13211 1
a13211 1
	* fileio.c (Finsert_file_contents): Remove unused variable `gap_size'.
d13213 2
a13214 2
	* sysdep.c (init_sys_modes): Change doc-string comments to `new
	style' [w/`doc:' keyword].
d13216 1
a13216 3
	* data.c, fileio.c, indent.c, print.c, search.c, sound.c,
	* sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string
	comments to `new style' [w/`doc:' keyword].
d13218 5
a13222 1
2001-10-21  Jason Rumney  <jasonr@@gnu.org>
d13224 1
a13224 1
	* w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName.
d13226 1
a13226 4
	* w32term.c (remember_mouse_glyph): New function.
	(w32_mouse_position): Use it.
	(note_mouse_movement): If the mouse moved off the glyph, remember
	its new position.
d13228 2
a13229 2
	* w32term.h (struct w32_output): Correct spelling of x_compatible.
	(w32_display_info): Add mouse_face_overlay.
d13231 1
a13231 60
	* w32term.c (notice_overwritten_cursor): Renamed from
	note_overwritten_text_cursor.  Rewritten to take glyph widths into
	account.
	(x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
	(fast_find_string_pos): New function.
	(fast_find_position): Return the correct vpos.  Add parameter
	STOP.  In the final row, stop before glyphs having STOP as object.
	Don't consider glyphs that are not from a buffer.
	(fast_find_position) [0]: Add a presumably more correct version
	for after 21.1.
	(expose_window_tree, expose_frame): Don't compute intersections here.
	(expose_window): Do it here instead.
	(expose_window_tree, expose_window, expose_line): Return 1 when
	overwriting mouse-face.
	(expose_window): If W is the window currently being updated, mark
	the frame garbaged.
	(expose_frame): If mouse-face was overwritten, redo it.
	(x_use_underline_position_properties): New variable.
	(syms_of_xterm): DEFVAR_BOOL it.
	(x_draw_glyph_string): Add comment to use it in future.
	(x_draw_glyph_string): Restore clipping after drawing box.
	Fix a computation of the underline position.
	(w32_get_glyph_string_clip_rect): Minor cleanup.
	(x_fill_stretch_glyph_string): Remove an assertion.
	(x_produce_glyphs): Don't convert multibyte characters
	to unibyte characters in unibyte buffers.
	(cursor_in_mouse_face_p): New function.
	(x_draw_stretch_glyph_string): Use it to choose a different GC
	when drawing a cursor within highlighted text.  Don't draw
	background again if it has already been drawn.
	(x_draw_glyph_string_box): Don't draw a full-width
	box just because the glyph row's full_width_p flag is set.
	(x_draw_glyphs): Fix computation of rightmost x for
	full-width rows.
	(x_dump_glyph_string): Put in #if GLYPH_DEBUG.
	(w32_draw_relief_rect): Extend left shadow to the bottom and left;
	change bottom shadow accordingly. Some cleanup.
	(x_update_window_end): Handle overwritten mouse face
	also for tool bar windows.
	(show_mouse_face): Set the glyph row's mouse_face_p flag also when
	DRAW is DRAW_IMAGE_RAISED.
	(clear_mouse_face): Return 1 if text with mouse face was
	actually redrawn.  Make the function static.
	Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might
	optimize away highlighting if we pass over that same overlay again.
	(note_mouse_highlight): Call mouse_face_overlay_overlaps
	to detect a case where we have to highlight a different region
	despite not having left the currently highlighted region.
	Set mouse_face_overlay in the x_display_info.  Avoid changing the
	mouse pointer shape when show_mouse_face has already done it, or
	there is no need.  Handle mouse-face and help-echo in strings.
	(glyph_rect): New function.
	(w32_mouse_position): Use it to raise the threshold for mouse
	movement event generation.
	(w32_initialize_display_info): Initialize the x_display_info's
	mouse_face_overlay.
	(w32_set_vertical_scroll_bar): Don't clear a zero height
	or width area.
	(w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure
	a widget to zero height.
d13233 1
a13233 6
	* w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]:
	Protect unibyte strings created by replacing their multibyte
	equivalents in menu_items.
	(w32_menu_show): Don't overwrite an item's name with its key
	description in case the description is a multibyte string.
	(single_submenu): Some cleanup.
d13235 1
a13235 28
	* w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed.
	(postprocess_image): New function.
	(lookup_image): Call it for all image types except PostScript.
	(x_kill_gs_process): Call postprocess_image.
	(tiff_error_handler, tiff_warning_handler): New functions.
	(tiff_load): Install them as handlers.
	(x_kill_gs_process): Recognize if someone has cleared the image
	cache under us.
	(valid_image_p): Protect better against invalid image
	specifications.  Previous code could signal an error.
	(Fx_hide_tip, Fshow_tip): Doc fix.
	(Fv_max_tooltip_size): New variable.
	(syns_of_xfns): DEFVAR_LISP it.
	(Fx_show_tip): Add parameter TEXT.  Set the tip frame's root
	window buffer to *tip* right after creating the frame. Set frame's
	window_width.  Use a maximum tooltip size specified by
	Vx_max_tooltip_size, if that has valid contents.
	(compute_tip_xy): Add parameters WIDTH and HEIGHT.
	Make sure the tooltip is completely visible.
	(x_create_tip_frame): Set tooltip buffer's truncate-lines to nil.
	(Fx_create_frame): Adjust the frame's height for presence
	of the tool bar before calling x_figure_window_size.
	(x_set_tool_bar_lines): Clear the tool bar window's current matrix
	when the window gets smaller.
	(x_set_foreground_color): Set frame's cursor_pixel.
	(x_set_foreground_color, x_set_background_color): Cleaned up.
	(x_set_font): Handle case of x_new_fontset returning the same name
	as before, although there was a change in fontsets.
d13237 1
a13237 1
2001-10-21  Miles Bader  <miles@@gnu.org>
d13239 4
a13242 5
	* data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior)
	(Flogxor): Add usage: string to doc string.
	* charset.c (Fstring): Likewise.
	* callproc.c (Fcall_process_region, Fcall_process): Likewise.
	* alloc.c (Fmake_byte_code, Fvector, Flist): Likewise.
d13244 2
a13245 1
2001-10-21  Pavel Jan,Am(Bk  <Pavel@@Janik.cz>
d13247 1
a13247 1
	* buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords.
d13249 4
a13252 1
	* alloc.c: Reindent DEFUNs with doc: keywords.
d13254 6
a13259 1
	* abbrev.c (Finsert_abbrev_table_description): Reindent.
d13261 10
a13270 2
	* frame.c: Change doc-string comments to `new style' [w/`doc:'
	keyword].
d13272 1
a13272 1
See ChangeLog.9 for earlier changes.
d13278 1
a13278 1
    Copyright (C) 2001, 2002 Free Software Foundation, Inc.
@


