From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel Subject: Re: [display-buffer] a way to make it behave as before? Date: Mon, 20 Jun 2011 19:39:54 +0900 Organization: Emacsen advocacy group Message-ID: References: <4DFB7705.2000401@gmx.at> <4DFF1223.5030100@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1308566798 8523 80.91.229.12 (20 Jun 2011 10:46:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2011 10:46:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 20 12:46:31 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 1QYbzv-0001C9-9N for ged-emacs-devel@m.gmane.org; Mon, 20 Jun 2011 12:46:27 +0200 Original-Received: from localhost ([::1]:38657 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYbzu-0008VI-GG for ged-emacs-devel@m.gmane.org; Mon, 20 Jun 2011 06:46:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYbuH-00079N-Bg for emacs-devel@gnu.org; Mon, 20 Jun 2011 06:40:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QYbuF-000611-0Z for emacs-devel@gnu.org; Mon, 20 Jun 2011 06:40:36 -0400 Original-Received: from orlando.hostforweb.net ([216.246.45.90]:58235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYbuE-00060i-Gm for emacs-devel@gnu.org; Mon, 20 Jun 2011 06:40:34 -0400 Original-Received: from localhost ([127.0.0.1]:48395) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1QYbu9-000805-8y; Mon, 20 Jun 2011 05:40:30 -0500 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (cygwin) Cancel-Lock: sha1:N0fL1kDFX2r42mda2Gf2VgZe+lY= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: Linux 2.6? (barebone, rare!) X-Received-From: 216.246.45.90 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:140714 Archived-At: martin rudalics wrote: >> I only want to see it in the other window of the current frame. > There was a misunderstanding. I thought you wanted a new frame :-( > In the first version of `display-buffer-alist' there was no minimum size > of the new window specified, so you got too many windows. This should > have been fixed in the meantime. So the best solution is probably to > try using the default value of `display-buffer-alist' again. I tried the new window.el without rebuilding Emacs as: emacs -Q -eval '(makunbound (quote display-buffer-alist))' -l window The *scratch* window appears in an Emacs frame. Say it is the first frame. Type `C-x 5 b RET' there. The *Messages* window will appear in a new Emacs frame. Say it is the second frame. And then type `C-x 4 f ~/.emacs RET' in the second frame. Hmm, the .emacs window appears in the first frame. Isn't it strange? At least it differs from old Emacsen. > If you want to avoid that another frame showing the buffer already is > used, replace in all reuse-window specifiers you find in > `display-buffer-alist' the last element by nil. > That is, wherever you see an object like > (reuse-window nil same visible) > replace the term `visible' by nil > (reuse-window nil same nil) > so only the selected and not all visible frames get inspected. I'll try it. Thanks.