[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: want user option for pop-to-buffer to split window horizontally not
Re: want user option for pop-to-buffer to split window horizontally not vertical
Fri, 16 Dec 2005 18:02:42 +0000
No, I hadn't heard of iswitchb -- thanks. Certainly useful but doesn't
address the problem I'm thinking about, namely the ability to globally set
the window splitting behavior when a command needs to split the window to
show a buffer. A specific example I'm thinking of is the SVN front-end,
psvn.el (see http://www.xsteve.at/prg/emacs/). When you run svn-diff via
this utility, it always splits the window vertically, because it calls the
built-in function pop-to-buffer, and that's what pop-to-buffer always does
(today). I was able to work around this by hacking psvn.el locally &
replacing the call to pop-to-buffer with code that splits horizontally, but
clearly it would be more convenient, elegant, and broadly useful if the
behavior of pop-to-buffer could be configurable.
From: Sebastian Tennant <address@hidden>
To: "Walter Gillett" <address@hidden>
CC: address@hidden, address@hidden
Subject: Re: want user option for pop-to-buffer to split window horizontally
Date: 15 Dec 2005 22:01:30 +0000
"Walter Gillett" <address@hidden> writes:
> That would be great, thanks!
Just in case... have you heard of iswitchb?
Forgive me if you have.
somewhere in your ~/.emacs and observe the changed behaviour.
(list-buffers) is mapped to `C-x C-b', so you can still use it, and `C-x b'
now mapped to (iswitchb-buffer). Cycle forward and back through buffers in
echo area using C-s and C-r. Select them with <RET>, kill them with C-k.
patterns to iswtich-buffer-ignore if they needn't be listed.
It's far less disruptive and just as functional in my opinion.
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Re: want user option for pop-to-buffer to split window horizontally not vertically, Richard M. Stallman, 2005/12/15