unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: switch buffer in one of splitted windows
Date: Sun, 22 Feb 2009 10:43:21 -0700	[thread overview]
Message-ID: <gns2r8$jd9$1@ger.gmane.org> (raw)
In-Reply-To: <49A0C827.8020201@pobox.com>

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





  parent reply	other threads:[~2009-02-22 17:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-21 17:45 switch buffer in one of splitted windows lehe
2009-02-22  3:36 ` Bernardo
2009-02-22  4:00   ` Bernardo
2009-02-22 17:43   ` Kevin Rodgers [this message]
     [not found] <mailman.1402.1235244623.31690.help-gnu-emacs@gnu.org>
2009-02-21 20:48 ` Pascal J. Bourguignon

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='gns2r8$jd9$1@ger.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --cc=help-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.
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).