From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Tran Newsgroups: gmane.emacs.help Subject: Re: Why does Emacs make it difficult for me to have two frames open thesame buffer? Date: Fri, 13 Apr 2012 20:17:09 -0700 Message-ID: References: <2FB6A872-A97F-4FA7-87F9-E7FCFE95DFF1@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1334373446 21112 80.91.229.3 (14 Apr 2012 03:17:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2012 03:17:26 +0000 (UTC) To: Drew Adams , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 14 05:17:25 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 1SItUL-0002qq-0g for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Apr 2012 05:17:25 +0200 Original-Received: from localhost ([::1]:36815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SItUK-0005mE-Bq for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Apr 2012 23:17:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SItUC-0005kB-Un for help-gnu-emacs@gnu.org; Fri, 13 Apr 2012 23:17:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SItUA-0006yT-LN for help-gnu-emacs@gnu.org; Fri, 13 Apr 2012 23:17:16 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:33662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SItUA-0006xb-Ci for help-gnu-emacs@gnu.org; Fri, 13 Apr 2012 23:17:14 -0400 Original-Received: by pbcup15 with SMTP id up15so4482964pbc.0 for ; Fri, 13 Apr 2012 20:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=Vzx2dmNJkmUUkDwVpuuyYSBwvUsUMUmmpQUgYNvsCuM=; b=Ixms6mrXYAyWSfHUi5XAWH/FzzKNYooJ02i0zaryXmcw2wL3F+XQH8dWckH3BA0vH4 IyFYXsnaSXuGJPOkEcogLP4i4Ds5a9qQ4XnUlwoQsaypcjsbJR3WlSFVA7hPuqiwZxoB D2Vgk1a+HxI+dn5lNF+CutCSJvtpEq4WT964cBZRC81oE0KC2hqKtbwnZ69AWYOI5ErL gRG8txJVuSe5NxWPzdt+cnBKw6vEo5wAeAwZvXKT393k+XLg202iYmW8iAWy39NL6FbP 04Y3LHLyfiNdKfC7JoIZXwPCUHoth2JXHl3mqaHoHsOxz0SDsQJFxEOclxj+Zc03EA/D qkIA== Original-Received: by 10.68.192.10 with SMTP id hc10mr9488472pbc.31.1334373432345; Fri, 13 Apr 2012 20:17:12 -0700 (PDT) Original-Received: from [192.168.1.87] (108-85-24-133.lightspeed.sntcca.sbcglobal.net. [108.85.24.133]) by mx.google.com with ESMTPS id uf3sm10461795pbc.67.2012.04.13.20.17.10 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 Apr 2012 20:17:11 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1257) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 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:84461 Archived-At: I didn't know how else to explain what I was seeing. It turns out that = this is a feature of ido-mode. The defaults for "Ido Default Buffer = Method" and "Ido Default File Method" are "Raise frame if already = shown". On Apr 13, 2012, at 2:34 PM, Drew Adams wrote: >> I have 2 frames. I switch the buffer in first frame to buffer=20 >> A. When I try to switch the buffer in the second frame to=20 >> buffer A, Emacs brings the first frame forward. What I want=20 >> is to open buffer A in both frames. Is there a setting that=20 >> makes Emacs bring the other frame forward when buffer A is=20 >> already opened in it? >=20 > You don't give enough info to understand your situation. It doesn't = sound like > you are starting from `emacs -Q', so I suspect some setting in your = init file or > your `custom-file' is determining the behavior you see. >=20 > Try from `emacs -Q', and if you still see the problem, give us a = recipe, step by > step. If not, then try to narrow down your init file to discover what = is > causing that behavior. >=20 > When I do this, I see no such behavior: >=20 > emacs -Q >=20 > `C-x 5 2' to get another frame. >=20 > `C-x C-f foo.el' in one frame. >=20 > `C-x b f TAB RET' in the other frame. >=20 >=20