home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!hal.com!olivea!charnel!rat!usc!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!csn!cherokee!da_vinci!rich
- From: rich@da_vinci.it.uswc.uswest.com (Richard Scott)
- Newsgroups: comp.emacs
- Subject: Re: anyone got a way to cycle through buffers with a keystroke?
- Message-ID: <Bx94Fp.3t5@da_vinci.it.uswc.uswest.com>
- Date: 5 Nov 92 16:28:37 GMT
- References: <EJH.92Nov4132905@khonshu.colorado.edu>
- Sender: news@da_vinci.it.uswc.uswest.com (IT Netnews)
- Organization: U S WEST Information Technologies
- Lines: 25
- Nntp-Posting-Host: da_vinci
-
- In article <EJH.92Nov4132905@khonshu.colorado.edu> ejh@khonshu.colorado.edu
- (Edward J. Hartnett) writes:
-
- |Does anyone out there have any elisp code that would allow me to cycle
- |through the buffers with a keystroke? So I'd hit a key and the buffer would
- |switch to the next one, then again and it would go to the next, etc. Then I
- |could just pop pop pop on the key until the buffer I wanted came up.
-
- I highly recommend the 'buf-sel' package, by Bob Weiner & Tom
- Horsley, available at most elisp archive sites. This package gives you an
- interactive buffer-list capability, and when you invoke 'select-buffer'
- (usually via the 'ctrl-x b' keystroke sequence), it defaults to the next
- buffer in the list. The keys that are bound to next-line and previous-line
- navigate through the buffer list, so you can *very* quickly go through the
- buffer list, via ctrl-n and ctrl-p in the mini-buffer (no buffername typing
- is necessry).
-
- Be sure to compile it, for speed, and you'll probably want to
- autoload it, via your .emacs file.
-
- =rich
-
-
- --
- Rich Scott Adia Information Technologies, Denver, CO rich@uswest.com
-