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

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!cis.ohio-state.edu!giant.INTranet.COM!del
  3. From: del@giant.INTranet.COM (G. Del Merritt)
  4. Subject: Re: delete-all-buffers?
  5. Message-ID: <0095F6BE5C384B20.32A004EC@giant.IntraNet.com>
  6. Sender: daemon@cis.ohio-state.edu
  7. Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
  8. Date: Fri, 21 Aug 1992 05:41:38 GMT
  9. Lines: 23
  10.  
  11. >>>>>> "DH" == Dion Hollenbeck <hollen@megatek.UUCP> writes:
  12. >Jim> I often find myself at the end of some editting session doing
  13. >Jim> C-x k, C-x k, C-x k, C-x k,... until I just have *scratch* left.
  14. >Jim> Is there a command to do this or a short elisp script? I'm just
  15. >Jim> beginning to begin to learn lisp so an example of such would be
  16. >Jim> nice to see.
  17. >
  18. >DH> First, there is really no reason to need to kill all buffers.  Just
  19. >DH> C-x C-c and if you have no buffers which need saving, you are exited.
  20. >
  21. >Ummm... no. There are times where I'm at a workstation for several hours. I
  22. >never kill my emacs session through that time, so having an easy way to
  23. >kill all buffers is usefull when I want to kill a bunch of buffers and go
  24. >onto something else, without killing my emacs job.
  25.  
  26. I regularly do a "list-buffers" (C-x C-b) and then type "D" or "d"
  27. next to the buffer name I want to get rid of.  Then I type "x" to
  28. eXecute the deletes.  Out of the box, you do get prompted for
  29. changed-but-unsaved buffers attached to files.
  30.  
  31. Del Merritt    del@IntraNet.com    ccavax!giant!del
  32. IntraNet, Inc., 255 Washington Street, Newton, MA  02158
  33. Voice: 617-527-7020; FAX: 617-527-6779
  34.