[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to avoid switching frame when switching buffer?
From: |
Wenbo CAI |
Subject: |
Re: How to avoid switching frame when switching buffer? |
Date: |
Thu, 30 Aug 2012 21:33:57 -0700 (PDT) |
User-agent: |
G2/1.0 |
This is exact what I want. Thank you.
Regards,
Wenbo
On Thursday, August 30, 2012 5:37:02 PM UTC+8, Diep Pham Van wrote:
> 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