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