From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: [display-buffer] a way to make it behave as before? Date: Tue, 21 Jun 2011 18:11:52 +0200 Message-ID: <4E00C2C8.6040303@gmx.at> References: <4DFB7705.2000401@gmx.at> <4DFF1223.5030100@gmx.at> <4DFF3BA8.3070007@gmx.at> 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 1308673769 21618 80.91.229.12 (21 Jun 2011 16:29:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2011 16:29:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Katsumi Yamaoka Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 21 18:29:22 2011 Return-path: Envelope-to: ged-emacs-devel@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 1QZ3pK-0007hW-4b for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2011 18:29:22 +0200 Original-Received: from localhost ([::1]:42961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ3pH-0004Zi-VQ for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2011 12:29:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ3YT-0007Vm-Pf for emacs-devel@gnu.org; Tue, 21 Jun 2011 12:11:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ3YS-00077S-Ea for emacs-devel@gnu.org; Tue, 21 Jun 2011 12:11:57 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:44382) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QZ3YR-00077A-T7 for emacs-devel@gnu.org; Tue, 21 Jun 2011 12:11:56 -0400 Original-Received: (qmail invoked by alias); 21 Jun 2011 16:11:53 -0000 Original-Received: from 62-47-41-150.adsl.highway.telekom.at (EHLO [62.47.41.150]) [62.47.41.150] by mail.gmx.net (mp032) with SMTP; 21 Jun 2011 18:11:53 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1++KCIi/Hu++N8YgA6uxO1D2zp6Bf/WbYPm+LSLmZ WMfe/hy/4z6p94 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140784 Archived-At: > I updated the bzr copy, rebuilt Emacs with it, launched Emacs with > the -Q option, and saw the behavior unchanged. > > emacs -Q > C-x 5 b *Messages* RET > C-x 4 f ~/.emacs RET > -> the file appears in the *other frame*. > > It might be right in a literal sense because the ~/.emacs file > appears in the *other window* even if it is not in the frame in > which the `C-x 4 f' command is invoked, and even if it is a major > visible change of Emacs. However, there is a case that violates > that specification: > > emacs -Q > C-x 5 2 > C-x 4 f ~/.emacs RET > -> the file appears in the *other window* of the current frame. > > [...] There was a remnant of my test settings in the default value of the pop-up-frame specifier: I made any new frame created this way unsplittable. So this is part of the behavior you see. Currently, I can reproduce the "display on another frame" behavior iff I make the selected window small enough and all other windows on this frame unusable. Please try once more. > I tried this: > > emacs -Q > (setcdr (cddr (assq 'reuse-window (car display-buffer-alist))) (list nil)) I didn't check this but it doesn't have any effect here. > C-x 5 b *Messages* RET > C-x 4 f ~/.emacs RET > > The behavior unchanged, i.e., the file appears in the other frame. If I prepend a (reuse-window nil nil nil) specifier to the first entry in `display-buffer-alist' the selected window gets reused (with the old unsplittable frame behavior). martin