* switch buffer in one of splitted windows
@ 2009-02-21 17:45 lehe
2009-02-22 3:36 ` Bernardo
0 siblings, 1 reply; 5+ messages in thread
From: lehe @ 2009-02-21 17:45 UTC (permalink / raw)
To: Help-gnu-emacs
While working with two splited windows, I am trying to switch buffer in one
window by first switching cursor to that window, then listing existing
buffers by "C-x C-b" but always end up with listing the existing buffers in
the other window. If I switch to the other window to select one buffer, then
the buffer will be shown in that window instead of the one I want. How to do
it correctly? Thanks for your help!
--
View this message in context: http://www.nabble.com/switch-buffer-in-one-of-splitted-windows-tp22138568p22138568.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: switch buffer in one of splitted windows
[not found] <mailman.1402.1235244623.31690.help-gnu-emacs@gnu.org>
@ 2009-02-21 20:48 ` Pascal J. Bourguignon
0 siblings, 0 replies; 5+ messages in thread
From: Pascal J. Bourguignon @ 2009-02-21 20:48 UTC (permalink / raw)
To: help-gnu-emacs
lehe <timlee126@yahoo.com> writes:
> While working with two splited windows, I am trying to switch buffer in one
> window by first switching cursor to that window, then listing existing
> buffers by "C-x C-b" but always end up with listing the existing buffers in
> the other window. If I switch to the other window to select one buffer, then
> the buffer will be shown in that window instead of the one I want. How to do
> it correctly? Thanks for your help!
C-x b <buffer-name> RET
--
__Pascal Bourguignon__
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: switch buffer in one of splitted windows
2009-02-21 17:45 lehe
@ 2009-02-22 3:36 ` Bernardo
2009-02-22 4:00 ` Bernardo
2009-02-22 17:43 ` Kevin Rodgers
0 siblings, 2 replies; 5+ messages in thread
From: Bernardo @ 2009-02-22 3:36 UTC (permalink / raw)
To: Help-gnu-emacs
> While working with two splited windows, I am trying to switch buffer in one
> window by first switching cursor to that window, then listing existing
> buffers by "C-x C-b" but always end up with listing the existing buffers in
> the other window. If I switch to the other window to select one buffer, then
> the buffer will be shown in that window instead of the one I want. How to do
> it correctly? Thanks for your help!
does it help if you put
(add-to-list 'same-window-buffer-names "*Buffer List*") in your .emacs ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: switch buffer in one of splitted windows
2009-02-22 3:36 ` Bernardo
@ 2009-02-22 4:00 ` Bernardo
2009-02-22 17:43 ` Kevin Rodgers
1 sibling, 0 replies; 5+ messages in thread
From: Bernardo @ 2009-02-22 4:00 UTC (permalink / raw)
To: Help-gnu-emacs
>> While working with two splited windows, I am trying to switch buffer
>> in one
>> window by first switching cursor to that window, then listing existing
>> buffers by "C-x C-b" but always end up with listing the existing
>> buffers in
>> the other window. If I switch to the other window to select one
>> buffer, then
>> the buffer will be shown in that window instead of the one I want. How
>> to do
>> it correctly? Thanks for your help!
>
> does it help if you put
> (add-to-list 'same-window-buffer-names "*Buffer List*") in your .emacs ?
>
C-x 4 b also comes to mind, especially if you use Iswitchb
for more details see (info "(emacs)Iswitchb")
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: switch buffer in one of splitted windows
2009-02-22 3:36 ` Bernardo
2009-02-22 4:00 ` Bernardo
@ 2009-02-22 17:43 ` Kevin Rodgers
1 sibling, 0 replies; 5+ messages in thread
From: Kevin Rodgers @ 2009-02-22 17:43 UTC (permalink / raw)
To: help-gnu-emacs
Bernardo wrote:
>> While working with two splited windows, I am trying to switch buffer
>> in one
>> window by first switching cursor to that window, then listing existing
>> buffers by "C-x C-b" but always end up with listing the existing
>> buffers in
>> the other window. If I switch to the other window to select one
>> buffer, then
>> the buffer will be shown in that window instead of the one I want. How
>> to do
>> it correctly? Thanks for your help!
>
> does it help if you put
> (add-to-list 'same-window-buffer-names "*Buffer List*") in your .emacs ?
That is a great suggestion. I'm considering using that instead of
what's been in my ~/.emacs for at least a decade:
;;; Override existing keybindings:
(global-set-key "\C-x\C-b" 'electric-buffer-list) ; list-buffers
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-02-22 17:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1402.1235244623.31690.help-gnu-emacs@gnu.org>
2009-02-21 20:48 ` switch buffer in one of splitted windows Pascal J. Bourguignon
2009-02-21 17:45 lehe
2009-02-22 3:36 ` Bernardo
2009-02-22 4:00 ` Bernardo
2009-02-22 17:43 ` Kevin Rodgers
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).