Path: utzoo!mnetor!uunet!husc6!uwvax!rutgers!aramis.rutgers.edu!athos.rutgers.edu!mende From: mende@athos.rutgers.edu (Bob Mende) Newsgroups: comp.emacs Subject: non disctructive split-window Message-ID: <605@athos.rutgers.edu> Date: 20 Jan 88 17:00:37 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 42 Hi ... Is there any way to have split a buffer to get the following effects (either would be nice)... Original config... ------------------------------------------------------ | | | Buffer No. 1 | ------------------------------------------------------ | | | Buffer No. 2 | ------------------------------------------------------ (switch-to-buffer "Buffer No. 2") (split-window (selected-window)) (pop-to-buffer "Buffer No. 3") *** I am not sure this is the right command *** .... so we now have ... ------------------------------------------------------ | | | Buffer No. 1 | ------------------------------------------------------ | Buffer No. 2 | ------------------------------------------------------ | Buffer No. 3 | ------------------------------------------------------ (delete-window) ****Buffer No. 3**** ...and *return* to the orig configuration. Basicly I want to only modify the current buffer/window (if possible) when I do a split. The reason I want this is that I have elisp code that needs to know the where the point last was when it was outside of Buffer No. 3. Plus it would be nice to split a window... and then get the same sized windows as when I started. does anyone know of anyway to do this is GnuEmacs 18.49? Thanks... /Bob -- mende@rutgers.edu {...}!rutgers!mende mende@zodiac.bitnet I am a jelly donut. I am a jelly donut.