From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Diep Pham Van Newsgroups: gmane.emacs.help Subject: Re: How to avoid switching frame when switching buffer? Date: Thu, 30 Aug 2012 16:37:02 +0700 Message-ID: <20120830093702.GA6092@archbox-elite> References: <1e787358-bea2-44a2-802c-b90361f0ca5a@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1346341594 25514 80.91.229.3 (30 Aug 2012 15:46:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2012 15:46:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Wenbo CAI Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 30 17:46:35 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 1T76wy-0005YE-Kp for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Aug 2012 17:46:32 +0200 Original-Received: from localhost ([::1]:40908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T76ww-0008JJ-A5 for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Aug 2012 11:46:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T71Bc-0001mM-WD for help-gnu-emacs@gnu.org; Thu, 30 Aug 2012 05:37:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T71BX-0005G6-A2 for help-gnu-emacs@gnu.org; Thu, 30 Aug 2012 05:37:16 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:56644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T71BX-0005Fd-4d for help-gnu-emacs@gnu.org; Thu, 30 Aug 2012 05:37:11 -0400 Original-Received: by pbbro12 with SMTP id ro12so2994941pbb.0 for ; Thu, 30 Aug 2012 02:37:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-gm-message-state; bh=AHD05lft2JlPoY1CBzAGRzRCsQPkvaJthI2ysuyrluw=; b=mZUqOytOfJLU6Om4SMQbVzODsQHhBkuTz2MLSTfWRJoeVBCceWruPfqmVIjaUZWGPZ XLwH3RXl2jtyiyeWMXP7H+Wr2IWAkTetn/Q3/wPXsfJ08X4SMrmErV+XJfD1mID6kyon dNKdB9l0MILBCsGuw7u8Hk8ijRbnqZT88N1IRMX0eg7z1IXAd1DxRZugQ+opqTIrntE0 bTDiaO4Fjk7vET55T/pTMUt2RhTvUMwp9WVk/awUaUTPvRwZQ1OYAOOBXtF7RmH6Rzse HuSAVrNNB9NQlGtP5MWe1D5aIYR4iWTAUNzusW9YaogJddkGCFhuQS6XMCW7Y8w34iKh hazg== Original-Received: by 10.68.213.5 with SMTP id no5mr11142263pbc.24.1346319429453; Thu, 30 Aug 2012 02:37:09 -0700 (PDT) Original-Received: from localhost ([1.55.56.35]) by mx.google.com with ESMTPS id pn4sm1278257pbb.50.2012.08.30.02.37.06 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 30 Aug 2012 02:37:07 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1e787358-bea2-44a2-802c-b90361f0ca5a@googlegroups.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQn3nwTx4E0QUOgpSlmQdXE2A8/c22Dfxem6QD64gH6Gy2FpzQlEHZy+vNnGdzpUqY69FTFs X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 X-Mailman-Approved-At: Thu, 30 Aug 2012 11:46:26 -0400 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:86592 Archived-At: 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