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#8862: compilation-window-height no good anymore Date: Tue, 14 Jun 2011 19:14:44 +0200 Message-ID: <4DF79704.9010601@gmx.at> References: <87fwnce9qn.fsf@jidanni.org> 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: dough.gmane.org 1308074609 12915 80.91.229.12 (14 Jun 2011 18:03:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2011 18:03:29 +0000 (UTC) Cc: 8862@debbugs.gnu.org To: jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 14 20:03:25 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 1QWXxU-0008D1-Jr for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jun 2011 20:03:24 +0200 Original-Received: from localhost ([::1]:35755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWXxT-0002Gh-Gr for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jun 2011 14:03:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWXCn-0007T9-PZ for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 13:15:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWXCi-0000mw-BE for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 13:15:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWXCh-0000mR-QX for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 13:15:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QWXCh-0000Wi-I3; Tue, 14 Jun 2011 13:15:03 -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 17:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8862 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8862-submit@debbugs.gnu.org id=B8862.13080716951979 (code B ref 8862); Tue, 14 Jun 2011 17:15:03 +0000 Original-Received: (at 8862) by debbugs.gnu.org; 14 Jun 2011 17:14:55 +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 1QWXCY-0000Vs-EK for submit@debbugs.gnu.org; Tue, 14 Jun 2011 13:14: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 1QWXCW-0000Va-Bt for 8862@debbugs.gnu.org; Tue, 14 Jun 2011 13:14:53 -0400 Original-Received: (qmail invoked by alias); 14 Jun 2011 17:14:45 -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 (mp065) with SMTP; 14 Jun 2011 19:14:45 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19qs9lUaJpq17fed3iSU0QiBwCjhcvE8mt/k5mAdM X019faFr70CXEu User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <87fwnce9qn.fsf@jidanni.org> 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 13:15:03 -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:47142 Archived-At: > I used to have > setq compilation-window-height 111 > in my .emacs, but starting this week, I get a cannot resize window error > upon M-x compiles. Same here. > I just was hoping to have a big window. By default `compile' tries to split off a window for the compilation buffer and, when faced with the problem to make that window 111 lines high, calls `enlarge-window' which, with the old behavior, automatically deleted all other windows on your frame and then used the remaining big window (but not 111 lines even on your screen, I suppose;-)). In the current version, windows are no longer deleted automatically. So when you want to make a window that's too large to fit onto the frame in question (respecting the minimumm heights of other windows on the frame) Emacs issues an error message. If you really want one big window for your compilation buffer, you should create an entry in `display-buffer-alist' (I know you don't like it but I recommend to use the customization interface when doing this for the first time) which might look like (((name . "*compilation*")) (reuse-window same nil nil)) telling the buffer display mechanism to simply use the selected window for displaying the buffer (and not split the window as it would do by default). If you want a more sophisticated behavior, please tell me. martin