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: Wed, 15 Jun 2011 14:57:42 +0200 Message-ID: <4DF8AC46.4090500@gmx.at> References: <4DF87680.3080606@gmx.at> <87oc1zmi5y.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 1308142725 16322 80.91.229.12 (15 Jun 2011 12:58:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2011 12:58:45 +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 Wed Jun 15 14:58:36 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 1QWpg3-0003vQ-7M for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Jun 2011 14:58:35 +0200 Original-Received: from localhost ([::1]:42430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWpg2-0007A5-6i for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Jun 2011 08:58:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWpfb-00078W-W5 for bug-gnu-emacs@gnu.org; Wed, 15 Jun 2011 08:58:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWpfX-0007IH-G6 for bug-gnu-emacs@gnu.org; Wed, 15 Jun 2011 08:58:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWpfW-0007IA-P5 for bug-gnu-emacs@gnu.org; Wed, 15 Jun 2011 08:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QWpfV-0003Le-Oq; Wed, 15 Jun 2011 08:58: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: Wed, 15 Jun 2011 12:58:01 +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.130814267412852 (code B ref 8862); Wed, 15 Jun 2011 12:58:01 +0000 Original-Received: (at 8862) by debbugs.gnu.org; 15 Jun 2011 12:57: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 1QWpfN-0003LF-Pm for submit@debbugs.gnu.org; Wed, 15 Jun 2011 08:57: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 1QWpfL-0003L0-7u for 8862@debbugs.gnu.org; Wed, 15 Jun 2011 08:57:52 -0400 Original-Received: (qmail invoked by alias); 15 Jun 2011 12:57:44 -0000 Original-Received: from 62-47-44-36.adsl.highway.telekom.at (EHLO [62.47.44.36]) [62.47.44.36] by mail.gmx.net (mp009) with SMTP; 15 Jun 2011 14:57:44 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+COfBwx9aChWnipPtfuwglbwEIX+b9HNDLCPFQ5Z T3Xt4BZg7tZdBu User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <87oc1zmi5y.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: Wed, 15 Jun 2011 08:58: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:47175 Archived-At: I want to say M-x compile ... and the new buffer should then take up the > entire screen. So your use case is that you have more than one window on your screen but when you invoke compile you just want to have one window? Try the following: (setq display-buffer-alist (cons '(((name . "*compilation*")) (fun-with-args (lambda (buffer &rest args) (delete-other-windows) (display-buffer buffer 'same-window)))) display-buffer-alist)) You might have to adjust the name if that of your compilation buffer is not *compilation*. martin