From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wenbo CAI Newsgroups: gmane.emacs.help Subject: Re: How to avoid switching frame when switching buffer? Date: Tue, 4 Sep 2012 12:28:45 +0800 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 1346732940 3412 80.91.229.3 (4 Sep 2012 04:29:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2012 04:29:00 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, gnu.emacs.help@googlegroups.com To: Peter Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 04 06:29:02 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 1T8kl0-0000JV-8i for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Sep 2012 06:28:58 +0200 Original-Received: from localhost ([::1]:59032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8kkw-0006qL-Ro for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Sep 2012 00:28:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8kkq-0006qA-4l for help-gnu-emacs@gnu.org; Tue, 04 Sep 2012 00:28:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8kkp-0000nh-4A for help-gnu-emacs@gnu.org; Tue, 04 Sep 2012 00:28:48 -0400 Original-Received: from mail-we0-f169.google.com ([74.125.82.169]:57003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8kko-0000nb-Sz for help-gnu-emacs@gnu.org; Tue, 04 Sep 2012 00:28:47 -0400 Original-Received: by weys10 with SMTP id s10so3632961wey.0 for ; Mon, 03 Sep 2012 21:28:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1VVBBuy324E2wjviAos4KvgPU38GYxvMlcY1x2qw6Ms=; b=NXtPyZB9vcJsEALyN2VjJF59YazKK2SbLZbVYtpZTvvIpCk58cffSoMkdOj/qGHOVu UlzYWIxfKOzxGkV3g8QEyfuGB0IG/lPRtbIEUqI0kDidAwXT/fIDi2A/6Vic+e9VO1HI Vd4embQeMGWv9OcyB1b532fLaVu5DjzhvQk1baG+AjUpeTVk421H+mpvLZWzRyhQ0WYK HzsTaeGln9GVU9mJD6zfs3x49hxuoTR9DrnPoHSSdRu846+N4Q/6nC3LfUEcR46lll76 jKcieQKOzCV5LeukVmBIlLQThgGhKfdotYQTda4ITw4jYHlXKUdp8PHtpaj8fFk8GiXG nLFA== Original-Received: by 10.216.233.216 with SMTP id p66mr10004282weq.152.1346732925319; Mon, 03 Sep 2012 21:28:45 -0700 (PDT) Original-Received: by 10.227.129.211 with HTTP; Mon, 3 Sep 2012 21:28:45 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.169 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:86646 Archived-At: 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 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