[comp.sys.hp] Problems with emacs under X windows

raveling@isi.edu (Paul Raveling) (02/08/90)

	This is an inquiry about a different problem that's
	proving elusive to locate.

	The GNU emacs code is version 18.54 on an HP 9000/370
	running HP-UX 6.5 with a patched C compiler.  When X11R4
	arrived I deleted src/x11term.o and src/x11fns.o, and
	remade emacs with R4 includes and libraries.  No emacs
	source code has changed, and the only these two object
	modules have changed.  I've done the remake twice, once
	using +O2 (-O) for the compilations, and once using +O1.
	Changing fro +O2 to +O1 did NOT change emacs' behavior.

	The problem happens intermittently when starting emacs.
	Perhaps 2/3 of the time it starts normally.  Sometimes it
	appears to either hang or loop after its window is mapped
	but before anything is drawn into the window.  When it
	does this, it usually sits there benignly.  On occasion
	it appears to go wild in some way that floods the system
	with page-swapping activity.  On rare occasions this
	will virtually disable the system.

	On one of those rare occasions I tried an extreme abort
	by hitting control-shift-reset to abort X.  To my amazement
	it didn't abort X, but it DID cure the problem -- the emacs
	window suddenly came to life; it initialized, loaded the
	file to be edited, and operated normally.

	This problem is intermittent.  It seems possible that
	cursor motion or window manager functions might be involved,
	but I haven't been able to prove that yet.

	If anyone else has experienced this problem, or has
	a clue to its cause, I'd appreciate hearing about it.
	An email message would be best -- I'll be out of town
	for ~1.5 weeks.


----------------
Paul Raveling
Raveling@isi.edu