From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Is this possible in swbuff? Date: Fri, 22 Apr 2005 12:07:40 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1114197109 30760 80.91.229.2 (22 Apr 2005 19:11:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Apr 2005 19:11:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 22 21:11:43 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DP3Xj-0005Ai-Cu for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Apr 2005 21:10:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DP3ch-0007ir-Kj for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Apr 2005 15:15:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DP3cR-0007hG-Le for help-gnu-emacs@gnu.org; Fri, 22 Apr 2005 15:15:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DP3cQ-0007h4-5b for help-gnu-emacs@gnu.org; Fri, 22 Apr 2005 15:15:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DP3cQ-0007V4-0l for help-gnu-emacs@gnu.org; Fri, 22 Apr 2005 15:15:14 -0400 Original-Received: from [141.146.126.229] (helo=agminet02.oracle.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DP3d9-0002mr-W3 for help-gnu-emacs@gnu.org; Fri, 22 Apr 2005 15:16:00 -0400 Original-Received: from agminet02.oracle.com (localhost [127.0.0.1]) by agminet02.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j3MJCrjq001200 for ; Fri, 22 Apr 2005 14:12:54 -0500 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.186.50]) by agminet02.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j3MJ7ivf027618 for ; Fri, 22 Apr 2005 14:09:25 -0500 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j3MJ7inJ030048 for ; Fri, 22 Apr 2005 13:07:44 -0600 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-74-130.vpn.oracle.com [141.144.74.130]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j3MJ7hxZ030037 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Fri, 22 Apr 2005 13:07:43 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25970 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25970 I have finally made swbuff.el work. As it work now I shift buffers each time I press tab while holding down C. But is there some option I can enable so it only cycles through the buffers when I press C-tab and first when I release tab it changes the buffer? I have trouble following just what you mean. Swbuff is _designed_ to change buffers in that way. If that's not what you want, then don't use swbuff. If you want to instead cycle through buffer names and pick one (RET) to switch to, try this 1-2-3 combination (see http://www.emacswiki.org/cgi-bin/wiki/SwitchingBuffers): 1. Use plain old `switch-to-buffer' with #2 and #3. 2. Enable cycling of default input values (e.g. buffer names) in the minibuffer, with this: http://www.emacswiki.org/elisp/elect-mbuf.el. 3. Enable incremental minibuffer completion, with this: http://www.emacswiki.org/elisp/icomplete-plus.el. See also http://www.emacswiki.org/cgi-bin/wiki/IcompleteMode for an explanation. With that combination, you should get what I think you're asking for. The advantages of this over swbuff are that you are not limited to buffer cycling; you can use completion and even open a new, non-existant buffer. That said, swbuff.el is a great way to go. Another, similar, alternative is command `doremi-buffers' in library http://www.emacswiki.org/elisp/doremi-cmd.el. See http://www.emacswiki.org/cgi-bin/wiki/DoReMi for an explanation. Finally, there are a _zillion_ different ways to cycle among buffers. As I mentioned previously, your _first_ stop should be the discussion at http://www.emacswiki.org/cgi-bin/wiki/CategoryBufferSwitching - in particular http://www.emacswiki.org/cgi-bin/wiki/SwitchingBuffers. More generally, Emacs Wiki is your friend. Many of the questions you have asked here are discussed and answered there. HTH, Drew