home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / emacs / 3470 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  1.7 KB

  1. 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
  2. From: rich@da_vinci.it.uswc.uswest.com (Richard Scott)
  3. Newsgroups: comp.emacs
  4. Subject: Re: anyone got a way to cycle through buffers with a keystroke?
  5. Message-ID: <Bx94Fp.3t5@da_vinci.it.uswc.uswest.com>
  6. Date: 5 Nov 92 16:28:37 GMT
  7. References: <EJH.92Nov4132905@khonshu.colorado.edu>
  8. Sender: news@da_vinci.it.uswc.uswest.com (IT Netnews)
  9. Organization: U S WEST Information Technologies
  10. Lines: 25
  11. Nntp-Posting-Host: da_vinci
  12.  
  13. In article <EJH.92Nov4132905@khonshu.colorado.edu> ejh@khonshu.colorado.edu
  14. (Edward J. Hartnett) writes:
  15.  
  16. |Does anyone out there have any elisp code that would allow me to cycle
  17. |through the buffers with a keystroke? So I'd hit a key and the buffer would
  18. |switch to the next one, then again and it would go to the next, etc. Then I
  19. |could just pop pop pop on the key until the buffer I wanted came up.
  20.  
  21.     I highly recommend the 'buf-sel' package, by Bob Weiner & Tom
  22. Horsley, available at most elisp archive sites. This package gives you an
  23. interactive buffer-list capability, and when you invoke 'select-buffer'
  24. (usually via the 'ctrl-x b' keystroke sequence), it defaults to the next
  25. buffer in the list. The keys that are bound to next-line and previous-line
  26. navigate through the buffer list, so you can *very* quickly go through the
  27. buffer list, via ctrl-n and ctrl-p in the mini-buffer (no buffername typing
  28. is necessry).
  29.  
  30.     Be sure to compile it, for speed, and you'll probably want to 
  31. autoload it, via your .emacs file.
  32.  
  33.     =rich
  34.  
  35.  
  36. --
  37. Rich Scott    Adia Information Technologies, Denver, CO       rich@uswest.com
  38.