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: Re: display-buffer change Date: Sun, 08 Jul 2007 11:11:44 +0200 Message-ID: <4690AA50.1020806@gmx.at> References: <878xadwrap.fsf@morpheus.local> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1183885993 16568 80.91.229.12 (8 Jul 2007 09:13:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Jul 2007 09:13:13 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: =?ISO-8859-15?Q?David_K=E5gedal?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 08 11:13:12 2007 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I7SpJ-0002J0-Sk for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jul 2007 11:13:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I7SpJ-0007q5-3A for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jul 2007 05:13:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I7SpE-0007pD-SJ for bug-gnu-emacs@gnu.org; Sun, 08 Jul 2007 05:13:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I7SpE-0007p1-8m for bug-gnu-emacs@gnu.org; Sun, 08 Jul 2007 05:13:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I7SpD-0007oy-Tr for bug-gnu-emacs@gnu.org; Sun, 08 Jul 2007 05:13:03 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I7SpD-0005qf-54 for bug-gnu-emacs@gnu.org; Sun, 08 Jul 2007 05:13:03 -0400 Original-Received: (qmail invoked by alias); 08 Jul 2007 09:13:02 -0000 Original-Received: from N945P030.adsl.highway.telekom.at (EHLO [62.47.62.30]) [62.47.62.30] by mail.gmx.net (mp053) with SMTP; 08 Jul 2007 11:13:02 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1++R488ldG+FwiZBak7JwDf+GjSQgyngFXvIZdk/K 8pRV+ZELbsXBA1 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <878xadwrap.fsf@morpheus.local> X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16106 Archived-At: > I have seen a change in Emacs 22.1 from Emacs 21 that broke my use of > dedicated windows. > > The problem is that (display-buffer buf) will change the contents of > the current window, if the other window in the frame has a dedicated > buffer. In Emacs 21, a new window would be opened instead. [...] > I use a dedicated small window at the bottom of my frame that always > contains the *compilation* buffer, and the new behaviour in Emacs 22 > seriously lower the usability of a lots of command, such as viewing > diffs or showing source from gdb etc. > > I didn't find anything in NEWS that indicated that this was somehow > intentional. > Please ignore if this has been already resolved. You should be able to handle this by customizing `split-height-threshold' to a reasonable value (say 10). Confer the doc-string of `display-buffer': If a full-width window on a splittable frame is available to display the buffer, it may be split, subject to the value of the variable `split-height-threshold'. I didn't trace what caused the behavior to change from Emacs 21 to Emacs 22. The Emacs 22 behavior is consistent with respect to the doc-strings of `split-height-threshold' and `display-buffer' though.