From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Fernando Dobladez Newsgroups: gmane.emacs.help Subject: Re: rotating between buffers Date: Mon, 26 Aug 2002 16:53:58 -0500 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3D6AA376.1090107@fuego.com> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1030399556 19674 127.0.0.1 (26 Aug 2002 22:05:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 26 Aug 2002 22:05:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17jRza-00056f-00 for ; Tue, 27 Aug 2002 00:05:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17jS0m-000173-00; Mon, 26 Aug 2002 18:07:04 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17jRpZ-0008EB-00 for help-gnu-emacs@gnu.org; Mon, 26 Aug 2002 17:55:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17jRpX-0008Dz-00 for help-gnu-emacs@gnu.org; Mon, 26 Aug 2002 17:55:28 -0400 Original-Received: from [65.201.108.41] (helo=saturn.fuegotech.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 17jRpW-0008Du-00 for help-gnu-emacs@gnu.org; Mon, 26 Aug 2002 17:55:26 -0400 Original-Received: from fuego.com ([192.168.0.102]) by saturn.fuegotech.com with Microsoft SMTPSVC(5.0.2195.4453); Mon, 26 Aug 2002 16:55:25 -0500 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020607 X-Accept-Language: en-us, en Original-To: "Stevens, Brigham" X-OriginalArrivalTime: 26 Aug 2002 21:55:25.0668 (UTC) FILETIME=[48A87240:01C24D4B] Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:874 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:874 I'd use the 'bs' package (comes standard in Emacs 21.x) it's a wonderful replacement for C-x C-b, and it also provides bs-cycle-next and bs-cycle-previous functions (that do what you want) As a bonus, those "cycle" functions skip the temporary buffers (if you want to). Example bindings: (global-set-key "\C-x\C-b" 'bs-show) ;; (global-set-key (kbd "") 'bs-cycle-next) (global-set-key (kbd "") 'bs-cycle-previous) You could also try pc-bufsw.el, it tries to mimic Windows' Alt-TAB behavior. Fer Stevens, Brigham wrote: > Hello, > > I am trying to convince a co-worker to use emacs. He will do it if > there is a key stroke that will allow him to rotate between active > buffers, like alt-tab in windows allows you to cycle through windows. > > I am totally down with ctrl-x b to go to a named buffer, and ctrl-x > ctrl-b to get the buffer list, and even control -left click to get a > buffer menu pop-up... but It has to be a keystroke according to him.. > > So is there any such command built in to emacs to do this, or does > anyone have something I can add on? > > > Thanks in advance! > > --brigham >