From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Newsgroups: gmane.emacs.help Subject: Re: How to avoid switching frame when switching buffer? Date: Sun, 2 Sep 2012 17:15:36 -0700 (PDT) Message-ID: References: <1e787358-bea2-44a2-802c-b90361f0ca5a@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1346631346 23292 80.91.229.3 (3 Sep 2012 00:15:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2012 00:15:46 +0000 (UTC) Cc: Wenbo CAI , help-gnu-emacs@gnu.org To: gnu.emacs.help@googlegroups.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 03 02:15:47 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T8KKR-0001n4-AM for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Sep 2012 02:15:47 +0200 Original-Received: from localhost ([::1]:44268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8KKO-0000EI-AL for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Sep 2012 20:15:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8KKJ-0000ED-6m for help-gnu-emacs@gnu.org; Sun, 02 Sep 2012 20:15:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8KKI-0003kh-9V for help-gnu-emacs@gnu.org; Sun, 02 Sep 2012 20:15:39 -0400 Original-Received: from mail-qc0-f189.google.com ([209.85.216.189]:64054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8KKI-0003kb-5Y for help-gnu-emacs@gnu.org; Sun, 02 Sep 2012 20:15:38 -0400 Original-Received: by qcac11 with SMTP id c11so12125433qca.6 for ; Sun, 02 Sep 2012 17:15:37 -0700 (PDT) Original-Received: by 10.68.189.228 with SMTP id gl4mr2742382pbc.4.1346631336718; Sun, 02 Sep 2012 17:15:36 -0700 (PDT) Original-Path: glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=203.15.64.50; posting-account=xn0CbQoAAAASWsnV689K01BfDuqsREZp Original-NNTP-Posting-Host: 203.15.64.50 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 203.15.64.50 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.216.189 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86644 Archived-At: 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