Path: utzoo!attcan!uunet!bu.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!davis From: davis@pacific.mps.ohio-state.edu ("John E. Davis") Newsgroups: comp.emacs Subject: Re: Location markers Message-ID: Date: 27 Sep 90 19:27:59 GMT References: Sender: news@pacific.mps.ohio-state.edu Reply-To: davis@pacific.mps.ohio-state.edu (John E. Davis) Organization: "Dept. of Physics, The Ohio State University" Lines: 35 In-reply-to: poy@fiuggi.IRVINE.DG.COM's message of 27 Sep 90 05:20:29 GMT In article poy@fiuggi.IRVINE.DG.COM (David Poyourow) writes: > The gnuemacs I use has three functions that perform this. > point-to-register > register-to-point > and view-register > > point-to-register uses keystrokes: C-x/ > register-to-point uses keystrokes: C-xj > > each of these is followed by a letter so you can store > up to 256 points. Even better, the points can be in > different buffers, so that you can easily use this mechanism > to quickly swap between buffers. When I work on a project > . > . [rest deleted] There is one problem with this that I'd like to see fixed. Suppose that I have two windows open associated with two distinct buffers. If have a point of the buffer I am not currently using (in the other window) stored in a register, then upon jumping to this register position, the window I am currently using switches to that buffer even though the other window is associated with it. The result is that I have two windows viewing the same buffer. What I'd like to have is for the other window to scroll to the stored buffer position then have the point switch to it, leaving my window/buffer configuration fixed. Of course if I have a third buffer not currently in either of the two windows, then the retgister-to-point function bahaves properly by switching the current window to the third buffer. -- John bitnet: davis@ohstpy internet: davis@pacific.mps.ohio-state.edu