home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!tekbspa!tekbspa!esh
- From: esh@boron.tekbspa.com (Edward S. Hirgelt)
- Subject: Re: delete-all-buffers?
- In-Reply-To: hetrick@amazonas.ips.id.ethz.ch's message of 18 Aug 92 14:17:26 GMT
- Message-ID: <ESH.92Aug19101419@boron.tekbspa.com>
- Sender: news@tss.com (USENET Network News)
- Organization: Direct Interfaces Corporation @ Teknekron
- References: <1992Aug18.141726.4044@bernina.ethz.ch>
- Date: Wed, 19 Aug 1992 18:14:19 GMT
- Lines: 25
-
-
- On 18 Aug 92 14:17:26 GMT,
- hetrick@amazonas.ips.id.ethz.ch ( Jim Hetrick) said:
-
- 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.
-
- Well, you could try buffer-menu (usually bound to ^X^B I think). It pops
- up a new buffer (just what you wanted) with one entry for each existing
- buffer. Typing a d on the line will mark the buffer for deletion, x will
- cause the deletions to happen. ? will give you the full help listing.
-
- You can always browse the code in
- <where-ever-its-mounted>/emacs/lisp/buff-menu.el to see how it works.
- Lots of interesting code in the lisp directory.
-
- Good luck,
- Ed
- --
- Ed Hirgelt esh@tss.com
- Direct Interfaces Corporation
- San Jose, Ca.
-