home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / emacs / help / 3778 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.3 KB  |  38 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!tekbspa!tekbspa!esh
  3. From: esh@boron.tekbspa.com (Edward S. Hirgelt)
  4. Subject: Re: delete-all-buffers?
  5. In-Reply-To: hetrick@amazonas.ips.id.ethz.ch's message of 18 Aug 92 14:17:26 GMT
  6. Message-ID: <ESH.92Aug19101419@boron.tekbspa.com>
  7. Sender: news@tss.com (USENET Network News)
  8. Organization: Direct Interfaces Corporation @ Teknekron
  9. References: <1992Aug18.141726.4044@bernina.ethz.ch>
  10. Date: Wed, 19 Aug 1992 18:14:19 GMT
  11. Lines: 25
  12.  
  13.  
  14. On 18 Aug 92 14:17:26 GMT,
  15. hetrick@amazonas.ips.id.ethz.ch ( Jim Hetrick) said:
  16.  
  17. Jim> I often find myself at the end of some editting session doing
  18. Jim> C-x k, C-x k, C-x k, C-x k,... until I just have *scratch* left.
  19. Jim> Is there a command to do this or a short elisp script? I'm just
  20. Jim> beginning to begin to learn lisp so an example of such would be 
  21. Jim> nice to see. 
  22.  
  23. Well, you could try buffer-menu (usually bound to ^X^B I think). It pops
  24. up a new buffer (just what you wanted) with one entry for each existing
  25. buffer. Typing a d on the line will mark the buffer for deletion, x will
  26. cause the deletions to happen. ? will give you the full help listing.
  27.  
  28. You can always browse the code in
  29. <where-ever-its-mounted>/emacs/lisp/buff-menu.el to see how it works.
  30. Lots of interesting code in the lisp directory.
  31.  
  32. Good luck,
  33. Ed
  34. --
  35. Ed Hirgelt            esh@tss.com
  36. Direct Interfaces Corporation
  37. San Jose, Ca.
  38.