[net.emacs] Process input can leave you in the wrong buffer

thomas%UTAH-GR@utah-cs@sri-unix.UUCP (08/05/83)

From:  Spencer W. Thomas  <thomas%UTAH-GR@utah-cs>

Try the following in your Gosling emacs:
	0. Get a subprocess which sends output to emacs (e.g., time)
	1. Create two buffers, say a and b, with distinguishable
contents.
	2. Put yourself into buffer a.
	3. Define the function foo:
		(defun foo
			(temp-use-buffer "b")
			(get-tty-character)
		)
	4. Say Esc-x foo
	5. Wait until buffer b pops up on your screen.  This will
happen the next time your subprocess does output.

I don't have a fix for this, though I could probably find one without
TOO much work.  Has anybody seen this before (and fixed it, maybe)?

=Spencer

mindle%umcp-cs@UDel-Relay@sri-unix.UUCP (08/14/83)

From:  David M. Balenson <mindle%umcp-cs@UDel-Relay>

  
:quit!