Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!otter!ange From: ange@otter.hpl.hp.com (Andy Norman) Newsgroups: gnu.emacs Subject: Re: Help: Process Filters Message-ID: <12090009@otter.hpl.hp.com> Date: 7 Mar 89 14:22:11 GMT References: <12090005@otter.hpl.hp.com> Organization: Hewlett-Packard Laboratories, Bristol, UK. Lines: 19 / otter:gnu.emacs / ange@otter.hpl.hp.com (Andy Norman) / 1:18 pm Mar 6, 1989 / |If the screen is split *horizontally* and I am currently sitting in the |minibuffer window, the cursor is yanked away from the minibuffer window to |another window. This doesn't happen when the screen is split *vertically*. Well, I finally found a filter that doesn't suffer from any of the above bugs. Thanks to people who've been kind enough to mail me some of their solutions to my problem. (defun my-process-filter (proc str) (let ((cur (selected-window)) (pop-up-windows t)) (pop-to-buffer my-shell-buffer) (goto-char (point-max)) (insert str) (set-marker (process-mark proc) (point-max)) (select-window cur))) -- ange --