From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#8865: 24.0.50; `display-buffer' does not respect `pop-up-frames' Date: Tue, 14 Jun 2011 21:08:43 +0200 Message-ID: <4DF7B1BB.6050704@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308080315 16440 80.91.229.12 (14 Jun 2011 19:38:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2011 19:38:35 +0000 (UTC) Cc: 8865@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 14 21:38:30 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QWZRW-0005sQ-CZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jun 2011 21:38:30 +0200 Original-Received: from localhost ([::1]:34964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWZRV-0008Tv-EC for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jun 2011 15:38:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWYz5-0001er-3z for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 15:09:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWYz0-0007pk-DR for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 15:09:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWYz0-0007pf-5B for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 15:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QWYyz-0003JD-Np; Tue, 14 Jun 2011 15:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Jun 2011 19:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8865 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8865-submit@debbugs.gnu.org id=B8865.130807853412704 (code B ref 8865); Tue, 14 Jun 2011 19:09:01 +0000 Original-Received: (at 8865) by debbugs.gnu.org; 14 Jun 2011 19:08:54 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWYyr-0003Iq-Pm for submit@debbugs.gnu.org; Tue, 14 Jun 2011 15:08:54 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QWYyp-0003Id-58 for 8865@debbugs.gnu.org; Tue, 14 Jun 2011 15:08:52 -0400 Original-Received: (qmail invoked by alias); 14 Jun 2011 19:08:44 -0000 Original-Received: from 62-47-43-63.adsl.highway.telekom.at (EHLO [62.47.43.63]) [62.47.43.63] by mail.gmx.net (mp067) with SMTP; 14 Jun 2011 21:08:44 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX192XmFgy+F2dkKtbemDwozaz3ztsn1Ax5wqgpee/g IuGB1hVB/LB4a2 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 14 Jun 2011 15:09:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47155 Archived-At: > I have non-nil `pop-up-frames'. I use the following function via `M-x > find-library-other-window frame.el'. It should find the library in a > separate frame. Instead, it finds it in another window of the current > frame - i.e., it splits the current window and puts it in one of those > two windows. Emacs has a lot of commands postfixed with -other-window and -other-frame. For example, `find-file-other-window' or `switch-to-buffer-other-window' traditionally find a file or switch to a buffer in another window on the same frame. By this convention, `find-library-other-window' is not supposed to pop up a new frame. If we want to maintain compatibility with the old behavior in this and similar cases we'd have to segregate a set of reserved values for the second argument of `display-buffer'. Preserving the classic "non-nil" behavior is impossible if we want to use the new `display-buffer' code (originally I favored let-binding to achieve that behavior but using an argument was proposed by Stefan Monnier and overloading the second argument by Juri Linkov - at the time that was discussed there were no objections). I have no objections interpreting the argument value `t' in the sense that when `pop-up-frames' is non-nil and not unset, `display-buffer' tries to pop up a new frame before it tries to pop up a new window. martin