home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / emacs / help / 4816 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.8 KB  |  59 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!wupost!cs.utexas.edu!asuvax!ennews!mcdphx!lynn
  3. From: lynn@urbana.mcd.mot.com (Lynn D. Newton)
  4. Subject: cycling window positions
  5. Message-ID: <LYNN.92Nov16082256@ives.urbana.mcd.mot.com>
  6. Sender: news@phx.mcd.mot.com
  7. Nntp-Posting-Host: ives.phx.mcd.mot.com
  8. Reply-To: lynn@phx.mcd.mot.com
  9. Organization: Motorola MCG, Urbana Design Center
  10. Distribution: gnu
  11. Date: Mon, 16 Nov 1992 13:22:56 GMT
  12. Lines: 45
  13.  
  14.  
  15. Has anybody out there already written a function that is able to cycle
  16. the position of windows in the following way? I'll use 3 windows for
  17. example. I have:
  18.  
  19.     buffer A says blah blah in this window
  20.  
  21.         -------- 
  22.  
  23.     buffer B says foo foo in this window
  24.  
  25.     --------
  26.  
  27.     buffer C says bar bar in this window
  28.  
  29.  
  30. Call the magic function and I have
  31.  
  32.     buffer B says foo foo in this window
  33.  
  34.     --------
  35.  
  36.     buffer C says bar bar in this window
  37.     
  38.         -------- 
  39.  
  40.     buffer A says blah blah in this window
  41.  
  42. And so forth, so that the contents of the second window is now in the
  43. top window, the third is now second, and the top is shoved down to the
  44. bottom. I'd like this to be able to work however many windows I've
  45. got. Of course I'd also like to be a numeric argument, including
  46. negative, to be able to cycle some number of positions.
  47.  
  48. Lynn
  49. --
  50. =============================================================
  51. Lynn D. Newton            | System Test
  52. Motorola Computer Group   | (Department of Heuristic Neology)
  53. 2900 South Diablo Way     | "... the bug stops here!"
  54. Tempe, Arizona 85282      |==================================
  55. Mail Stop DW220           |                                  
  56. (602) 438-3739            |             FOR RENT             
  57. lynn@ives.phx.mcd.mot.com |                                  
  58. =============================================================
  59.