From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: JS Newsgroups: gmane.emacs.help Subject: Re: Shortcut to change buffers? Date: Thu, 21 Apr 2005 20:20:18 +0200 Organization: UNI-C 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 1114107382 23413 80.91.229.2 (21 Apr 2005 18:16:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Apr 2005 18:16:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 21 20:16:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DOgD4-0005R6-2A for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Apr 2005 20:15:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DOgHp-0005Vd-7U for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Apr 2005 14:20:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!newsserver.news.garr.it!newscore.univie.ac.at!newsfeed.sunet.se!news01.sunet.se!news.net.uni-c.dk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 56 Original-NNTP-Posting-Host: 130.225.245.182 Original-X-Trace: news.net.uni-c.dk 1114107522 32576 130.225.245.182 (21 Apr 2005 18:18:42 GMT) Original-X-Complaints-To: usenet@news.net.uni-c.dk Original-NNTP-Posting-Date: Thu, 21 Apr 2005 18:18:42 +0000 (UTC) User-Agent: KNode/0.7.7 Original-Xref: shelby.stanford.edu gnu.emacs.help:130324 Original-To: help-gnu-emacs@gnu.org 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:25896 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25896 Kevin Rodgers wrote: > JS wrote: > > Joe Corneli wrote: > > > From the tutorial (C-h T) -- which you should read all of -- > > > > Its not quite what I meant. I know its possible to change a buffer by > C-x b > > RET. > > > > But I don't think its very efficient that I need to type the buffers > > name (enventhough I can use TAB to auto complete). > > > > It takes less time just to hold down ctrl and left mouse button at > the same > > time and then choose the buffer from that menu. > > > > What I thought of was something like using Alt-Tab to shift between > windows, > > where a menu pops up and you the find the buffer you need by repeately > > pressing Tab while holding down Alt. > > Try `C-x C-b' (M-x list-buffers). > > Try `M-x electric-buffer-list', which I like enough to override that key > binding: (global-set-key "\C-x\C-b" 'electric-buffer-list) ; was > list-buffers > > Try `C-x b ?', but with TAB and M-TAB bound to cycle through the > completions: http://www.emacswiki.org/elisp/minibuffer-complete-cycle.el I have put this file in my load path but I would like to make it a standard option in my .emacs file. How do I do that? In the comments it says that: ;; highlighting it in the *Completions* buffer. As before, the window ;; displaying the possible completions is scrolled if necessary. This ;; feature is enabled by loading this file and setting the ;; `minibuffer-complete-cycle' option to t with `M-x customize-variable' ;; or `M-x set-variable'; it is disabled by unsetting the option (to ;; nil). Besides t, the special value `auto' enables the feature and ;; also causes the first completion to be selected immediately. But I don't know how to set a value to "t". I have tried: M-x customize-variable-t but that gives no match. >