all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to avoid switching frame when switching buffer?
@ 2012-08-30  7:59 Wenbo CAI
  2012-08-30  9:37 ` Diep Pham Van
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Wenbo CAI @ 2012-08-30  7:59 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to avoid switching frame when switching buffer?
  2012-08-30  7:59 How to avoid switching frame when switching buffer? Wenbo CAI
@ 2012-08-30  9:37 ` Diep Pham Van
  2012-08-30 21:15 ` Peter
       [not found] ` <mailman.7826.1346341587.855.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 7+ messages in thread
From: Diep Pham Van @ 2012-08-30  9:37 UTC (permalink / raw)
  To: Wenbo CAI; +Cc: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to avoid switching frame when switching buffer?
  2012-08-30  7:59 How to avoid switching frame when switching buffer? Wenbo CAI
  2012-08-30  9:37 ` Diep Pham Van
@ 2012-08-30 21:15 ` Peter
  2012-08-31  4:35   ` Wenbo CAI
       [not found] ` <mailman.7826.1346341587.855.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 7+ messages in thread
From: Peter @ 2012-08-30 21:15 UTC (permalink / raw)
  To: help-gnu-emacs

I would recommend escreen - it is far more convenient than using frames (unless you have multiple monitors and REALLY want to see two separate full-sizes emacs frames). I really don't know why it isn't a part of Emacs (but I don't have the latest release so perhaps it is now?).

escreen doesn't give you side-by-side sessions, but even though I use multiple monitors I have never been tempted to use frames - escreens does everything I need.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to avoid switching frame when switching buffer?
       [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>
  1 sibling, 0 replies; 7+ messages in thread
From: Wenbo CAI @ 2012-08-31  4:33 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: Wenbo CAI, help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to avoid switching frame when switching buffer?
  2012-08-30 21:15 ` Peter
@ 2012-08-31  4:35   ` Wenbo CAI
  0 siblings, 0 replies; 7+ messages in thread
From: Wenbo CAI @ 2012-08-31  4:35 UTC (permalink / raw)
  To: help-gnu-emacs

escreen is really a nice tool.  Thank you.

On Friday, August 31, 2012 5:15:35 AM UTC+8, Peter wrote:
> I would recommend escreen - it is far more convenient than using frames (unless you have multiple monitors and REALLY want to see two separate full-sizes emacs frames). I really don't know why it isn't a part of Emacs (but I don't have the latest release so perhaps it is now?).
> 
> 
> 
> escreen doesn't give you side-by-side sessions, but even though I use multiple monitors I have never been tempted to use frames - escreens does everything I need.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to avoid switching frame when switching buffer?
       [not found]   ` <mailman.7856.1346397798.855.help-gnu-emacs@gnu.org>
@ 2012-09-03  0:15     ` Peter
  2012-09-04  4:28       ` Wenbo CAI
  0 siblings, 1 reply; 7+ messages in thread
From: Peter @ 2012-09-03  0:15 UTC (permalink / raw)
  To: gnu.emacs.help; +Cc: Wenbo CAI, help-gnu-emacs

You're welcome :-)

I use the Emacs Wiki - just lately I have been trying to select a "new" package to try every month, it is a great way to avoid stagnation as an Emacs user because there are just so many great packages out there that people have written!

Peter

On Friday, August 31, 2012 2:33:57 PM UTC+10, Wenbo CAI wrote:
> 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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to avoid switching frame when switching buffer?
  2012-09-03  0:15     ` Peter
@ 2012-09-04  4:28       ` Wenbo CAI
  0 siblings, 0 replies; 7+ messages in thread
From: Wenbo CAI @ 2012-09-04  4:28 UTC (permalink / raw)
  To: Peter; +Cc: help-gnu-emacs, gnu.emacs.help

Your idea shocked me.
I never considered trying new packages this way.  I just google when needed.
I will try this new way :)

Regards,
Wenbo

On Mon, Sep 3, 2012 at 8:15 AM, Peter <peter.milliken@gmail.com> wrote:
> You're welcome :-)
>
> I use the Emacs Wiki - just lately I have been trying to select a "new" package to try every month, it is a great way to avoid stagnation as an Emacs user because there are just so many great packages out there that people have written!
>
> Peter
>
> On Friday, August 31, 2012 2:33:57 PM UTC+10, Wenbo CAI wrote:
>> 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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-09-04  4:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-30  7:59 How to avoid switching frame when switching buffer? Wenbo CAI
2012-08-30  9:37 ` Diep Pham Van
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

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.