Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!mit-eddie!WHEATIES.AI.MIT.EDU!gnulists From: gnulists@WHEATIES.AI.MIT.EDU Newsgroups: comp.emacs Subject: Re: Help: Process Filters Message-ID: <8903281235.AA26199@wheat-chex.ai.mit.edu> Date: 28 Mar 89 12:35:34 GMT Sender: uucp@eddie.MIT.EDU Reply-To: otter!ange@hplabs.hp.com 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 --