|
From: | Colin S. Miller |
Subject: | Re: Easier buffer navigtion (alt-tabbing?) |
Date: | Sun, 10 Sep 2006 13:30:44 +0100 |
User-agent: | Thunderbird 1.5.0.4 (X11/20060713) |
Stefan Arentz wrote:
"Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk> writes:Stefan, C-x b creates a list of open buffers. The following code, in your init.el uses Ibuffer instead of buffer for this, and makes it open in a new frame. The frame is left open after you switch buffers, but that shouldn't be a problem.Hm. Odd. Symbol's function definition is void: ibuffer-list-buffers I do succesfully (require 'ibuffer) and I have the last version of that package from http://www.shootybangbang.com/software/ibuffer.el. I am on GNU Emacs 21.4.1 (i386-apple-darwin8.7.1). Should I try a 22 version? S.
Stefan, Oops. I use Xemacs (21.4.19). I thought this was comp.emacs.xemacs, not gnu.emacs.help, so I didn't give a warning that it mightn't work. XEmacs comes with a version of Ibuffer. In XEmacs, the function ibuffer-other-window is a wrapper around ibuffer. A suitable (untested) definition is (defun ibuffer-other-window () "Like `ibuffer', but displayed in another window by default." (interactive "P") (ibuffer t)) Alternatively, using this code, instead of the code in my previous post should make the standard buffer-mode pop up a window. (setq special-display-buffer-names '( ("*Buffer List*" (modeline . nil) (unsplittable . nil) (top-toolbar-visible-p . nil) (menubar-visible-p . nil) (height . 10) (width . 70) (top . 0) (left . 444) (auto-raise-mode . t)) )) (define-key Buffer-menu-mode-map [return] 'Buffer-menu-other-window) HTH, Colin S. Miller -- Replace the obvious in my email address with the first three letters of the hostname to reply.
[Prev in Thread] | Current Thread | [Next in Thread] |