all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Diep Pham Van <imeo@favadi.com>
To: Wenbo CAI <bocaiwen@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to avoid switching frame when switching buffer?
Date: Thu, 30 Aug 2012 16:37:02 +0700	[thread overview]
Message-ID: <20120830093702.GA6092@archbox-elite> (raw)
In-Reply-To: <1e787358-bea2-44a2-802c-b90361f0ca5a@googlegroups.com>

You can use:
    (setq ido-default-buffer-method 'selected-window)

On Thu, Aug 30, 2012 at 12:59:10AM -0700, Wenbo CAI wrote:
> Hello guys,
>
> I am using emacs 23.3.1 on Ubuntu 12.04.
> I have 2 frames open.  Now I am on frame A.  When I switch to a buffer which is visible on frame B, then the frame is switched - frame B has the focus.
>
> I feel not comfortable with this behavior (maybe because both frames are full screen).  I prefer the frame is not switched - just switch the buffer to frame A.
>
> Is there any way to avoid frame switching when do buffer switch?
> Thanks in advance.
>
> Btw, I am using ido-switch-buffer.
>
> Regards,
> Wenbo



  reply	other threads:[~2012-08-30  9:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30  7:59 How to avoid switching frame when switching buffer? Wenbo CAI
2012-08-30  9:37 ` Diep Pham Van [this message]
2012-08-30 21:15 ` Peter
2012-08-31  4:35   ` Wenbo CAI
     [not found] ` <mailman.7826.1346341587.855.help-gnu-emacs@gnu.org>
2012-08-31  4:33   ` Wenbo CAI
     [not found]   ` <mailman.7856.1346397798.855.help-gnu-emacs@gnu.org>
2012-09-03  0:15     ` Peter
2012-09-04  4:28       ` Wenbo CAI

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120830093702.GA6092@archbox-elite \
    --to=imeo@favadi.com \
    --cc=bocaiwen@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.