From: "Walter Gillett" <walter_gillett@hotmail.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: want user option for pop-to-buffer to split window horizontally not vertical
Date: Fri, 16 Dec 2005 18:02:42 +0000 [thread overview]
Message-ID: <BAY101-F29F7C2374184847E782EC2E23A0@phx.gbl> (raw)
In-Reply-To: <87psny9g05.fsf@smolny.plus.com>
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.
-Walter
From: Sebastian Tennant <sebyte@smolny.plus.com>
To: "Walter Gillett" <walter_gillett@hotmail.com>
CC: juri@jurta.org, bug-gnu-emacs@gnu.org
Subject: Re: want user option for pop-to-buffer to split window horizontally
not vertical
Date: 15 Dec 2005 22:01:30 +0000
"Walter Gillett" <walter_gillett@hotmail.com> writes:
> Juri-
>
> That would be great, thanks!
>
> -Walter
Just in case... have you heard of iswitchb?
Forgive me if you have.
Just add
(iswitchb-mode 1)
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'
is
now mapped to (iswitchb-buffer). Cycle forward and back through buffers in
the
echo area using C-s and C-r. Select them with <RET>, kill them with C-k.
Add
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®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
next prev parent reply other threads:[~2005-12-16 18:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-14 20:46 want user option for pop-to-buffer to split window horizontally not vertically Walter Gillett
2005-12-15 9:19 ` Juri Linkov
2005-12-15 16:49 ` want user option for pop-to-buffer to split window horizontally not vertical Walter Gillett
2005-12-15 22:01 ` Sebastian Tennant
2005-12-16 18:02 ` Walter Gillett [this message]
2005-12-16 1:52 ` want user option for pop-to-buffer to split window horizontally not vertically Richard M. Stallman
2005-12-16 7:48 ` Juri Linkov
2005-12-16 16:52 ` Johan Bockgård
2005-12-17 10:50 ` Juri Linkov
2005-12-17 1:03 ` Richard M. Stallman
2005-12-17 10:45 ` Juri Linkov
2005-12-15 17:08 ` Richard M. Stallman
2005-12-15 17:46 ` want user option for pop-to-buffer to split window horizontally notverticall Walter Gillett
2005-12-16 5:09 ` Richard M. Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY101-F29F7C2374184847E782EC2E23A0@phx.gbl \
--to=walter_gillett@hotmail.com \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).