Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!jabberwock.shs.ohio-state.edu!slithy-tove.shs.ohio-state.edu!reiner From: reiner@slithy-tove.shs.ohio-state.edu (Reiner Wilhelms) Newsgroups: comp.emacs Subject: Editing multiple buffers and rotating between them Keywords: switch-to-buffer, key bindings Message-ID: <236@jabberwock.shs.ohio-state.edu> Date: 7 Aug 90 22:15:58 GMT Sender: news@jabberwock.shs.ohio-state.edu Distribution: usa Lines: 26 If I call emacs with, say, 5 file names: %emacs f1 f2 f3 f4 f5 and then list the buffers via 'list-buffers (C-x C-b), I get a list of buffers which shows f5 first, and f1 last. f5 is the buffer on top. If I type 'switch-to-buffer RET (which is C-x b, followed by return) it will switch to buffer f4. If I repeat this switching, it switches to buffer f5 again, not to buffer f3. Of course, I could always type in the buffer name instead of just hitting return, but that's too much work. Rather, I'd like it to switch circularly through the whole list: f5->f4->f3->f2->f1->f5->... I wonder if this feature is not built in. Does someone know how to program it as key binding, e.g. via key board macro definition? This is the version of our emacs: GNU Emacs 18.55.8 of Fri Dec 8 1989 on jabberwock (berkeley-unix) Thanks in advance for any hints - Reiner