home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!wupost!cs.utexas.edu!asuvax!ennews!mcdphx!lynn
- From: lynn@urbana.mcd.mot.com (Lynn D. Newton)
- Subject: cycling window positions
- Message-ID: <LYNN.92Nov16082256@ives.urbana.mcd.mot.com>
- Sender: news@phx.mcd.mot.com
- Nntp-Posting-Host: ives.phx.mcd.mot.com
- Reply-To: lynn@phx.mcd.mot.com
- Organization: Motorola MCG, Urbana Design Center
- Distribution: gnu
- Date: Mon, 16 Nov 1992 13:22:56 GMT
- Lines: 45
-
-
- Has anybody out there already written a function that is able to cycle
- the position of windows in the following way? I'll use 3 windows for
- example. I have:
-
- buffer A says blah blah in this window
-
- --------
-
- buffer B says foo foo in this window
-
- --------
-
- buffer C says bar bar in this window
-
-
- Call the magic function and I have
-
- buffer B says foo foo in this window
-
- --------
-
- buffer C says bar bar in this window
-
- --------
-
- buffer A says blah blah in this window
-
- And so forth, so that the contents of the second window is now in the
- top window, the third is now second, and the top is shoved down to the
- bottom. I'd like this to be able to work however many windows I've
- got. Of course I'd also like to be a numeric argument, including
- negative, to be able to cycle some number of positions.
-
- Lynn
- --
- =============================================================
- Lynn D. Newton | System Test
- Motorola Computer Group | (Department of Heuristic Neology)
- 2900 South Diablo Way | "... the bug stops here!"
- Tempe, Arizona 85282 |==================================
- Mail Stop DW220 |
- (602) 438-3739 | FOR RENT
- lynn@ives.phx.mcd.mot.com |
- =============================================================
-