Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!novavax!weiner From: weiner@novavax.UUCP (Bob Weiner) Newsgroups: comp.emacs Subject: Re: looking for feature Message-ID: <1145@novavax.UUCP> Date: 31 Mar 89 06:09:47 GMT References: <37704@bbn.COM> Organization: Nova University, Fort Lauderdale, FL Lines: 38 In-reply-to: jr@bbn.com's message of 24 Mar 89 04:31:39 GMT Posting-Front-End: GNU Emacs 18.47.5 of Tue Sep 15 1987 on novavax (berkeley-unix) In article <37704@bbn.COM> jr@bbn.com (John Robinson) writes: >I like using M-p and M-n to skim through gnuemacs' command history. >What I'm looking for is some way to do the same thing in the >switch-to-buffer command. jr@bbn.com writes: I know of no such package, but it is a nice idea. The minibuffer completing reader is handed a list of alternatives when it is invoked, which is the buffer list in the case of ^X b. The completing reader has its own keymap, and M-p and M-n could be bound to fns which move around through the provided list. This approach would make it pretty general for any function using the completing reader. The mechanism in simple.el that supports the command-history recall might be a model for how to do this. Anyone got the time for this? You can get around much faster with a knowlege of buffer-menu mode. It works decently in its vanilla flavored distribution form, but even better with some basic modifications that I have saved. With these mods you get almost all the advantages of electric-buffer-menu (buffer menu pops up and restores previous window configuration before displaying selected buffers) but none of the disadvantages (limited command set, can't switch windows). I also have a mouse interface that lets you mark, save, delete, and select buffers in this mode with one mouse button. I will get around to posting this stuff, but it is not easy for me to since I don't have a direct net connection at work. Be patient and you'll see this code and probably a generalization on my 'Info-mouse' package that gives you context sensitive (based on current buffer and location) functionality from one mouse button. Cheers, Bob -- Bob Weiner, Motorola, Inc., USENET: ...!gatech!uflorida!novavax!weiner (407) 738-2087