From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 11:03:35 2011 Received: (at submit) by debbugs.gnu.org; 14 Jun 2011 15:03:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWV9T-0005kq-7I for submit@debbugs.gnu.org; Tue, 14 Jun 2011 11:03:35 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWV9P-0005ke-Sn for submit@debbugs.gnu.org; Tue, 14 Jun 2011 11:03:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWV9J-0007yE-1p for submit@debbugs.gnu.org; Tue, 14 Jun 2011 11:03:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:57508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWV9I-0007y0-QT for submit@debbugs.gnu.org; Tue, 14 Jun 2011 11:03:24 -0400 Received: from eggs.gnu.org ([140.186.70.92]:53025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWV9G-0001ON-Hx for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 11:03:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWV9E-0007wp-Dj for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 11:03:22 -0400 Received: from mailbigip.dreamhost.com ([208.97.132.5]:39186 helo=homiemail-a10.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWV9D-0007vG-Ot for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 11:03:20 -0400 Received: from homiemail-a10.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a10.g.dreamhost.com (Postfix) with ESMTP id 7440F280077 for ; Tue, 14 Jun 2011 08:03:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=jidanni.org ; b=Aj+HuixdnMhjSrpLP7ZLoXouZPNhiF8a5kRxTUeQ7cablDG7GO6O4Ws12Mu4 0HnIb8RoqVqtdib32/sFbZNMKHdpLA0PG2RKoJu6vlHpruo9o5idM8BJ14bfbwaX aCnsEZscw+Jro9mrW1N3hO9B8dPNzjm0Vag71XYQZxBS5U0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=g5RJgkoOWRb7ouDriWXbD21b+wY=; b=NJeegvNeIiNT584D M85N+2JzgyWNoeMTgNG5rvkT4ud6HgQVs+6kM7+Wdti1CRWoaeNO1bNH1uUReZ/l 4rleQ4DJPpiIa3cOu2uNpAR71HUcEw1GbA9K+/yKTynftEYaazvFOJf/OufPvZLQ Bs7CYCTqciKR1JrczEicNKZf9NY= Received: from jidanni.org (218-163-3-128.dynamic.hinet.net [218.163.3.128]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a10.g.dreamhost.com (Postfix) with ESMTPSA id 1B904280065 for ; Tue, 14 Jun 2011 08:03:16 -0700 (PDT) From: jidanni@jidanni.org To: bug-gnu-emacs@gnu.org Subject: compilation-window-height no good anymore Date: Tue, 14 Jun 2011 23:03:12 +0800 Message-ID: <87fwnce9qn.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) 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. I just was hoping to have a big window. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 13:14:55 2011 Received: (at 8862) by debbugs.gnu.org; 14 Jun 2011 17:14:55 +0000 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 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 Received: (qmail invoked by alias); 14 Jun 2011 17:14:45 -0000 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 Message-ID: <4DF79704.9010601@gmx.at> Date: Tue, 14 Jun 2011 19:14:44 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: jidanni@jidanni.org Subject: Re: bug#8862: compilation-window-height no good anymore References: <87fwnce9qn.fsf@jidanni.org> In-Reply-To: <87fwnce9qn.fsf@jidanni.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 8862 Cc: 8862@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) > 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 14:32:12 2011 Received: (at 8862) by debbugs.gnu.org; 14 Jun 2011 18:32:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWYPL-0002Oa-OS for submit@debbugs.gnu.org; Tue, 14 Jun 2011 14:32:11 -0400 Received: from icebox.esperi.org.uk ([81.187.191.129] helo=mail.esperi.org.uk) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWYPI-0002OA-O1 for 8862@debbugs.gnu.org; Tue, 14 Jun 2011 14:32:09 -0400 Received: from esperi.org.uk (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.4/8.14.3) with ESMTP id p5EIW1px011188; Tue, 14 Jun 2011 19:32:01 +0100 Received: (from nix@localhost) by esperi.org.uk (8.14.4/8.12.11/Submit) id p5EIW1ma020998; Tue, 14 Jun 2011 19:32:01 +0100 From: Nix To: martin rudalics Subject: Re: bug#8862: compilation-window-height no good anymore References: <87fwnce9qn.fsf@jidanni.org> <4DF79704.9010601@gmx.at> Emacs: indefensible, reprehensible, and fully extensible. Date: Tue, 14 Jun 2011 19:32:01 +0100 In-Reply-To: <4DF79704.9010601@gmx.at> (martin rudalics's message of "Tue, 14 Jun 2011 19:14:44 +0200") Message-ID: <8739jci7ry.fsf@spindle.srvr.nix> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DCC-STAT_FI_X86_64_VIRTUAL-Metrics: spindle 1245; Body=3 Fuz1=3 Fuz2=3 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 8862 Cc: 8862@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) On 14 Jun 2011, martin rudalics spake thusly: > In the current version, windows are no longer deleted automatically. Isn't this a very large backward-compatibility and user-expectations break? -- NULL && (void) From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 15:09:09 2011 Received: (at 8862) by debbugs.gnu.org; 14 Jun 2011 19:09:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWYz7-0003Jf-Be for submit@debbugs.gnu.org; Tue, 14 Jun 2011 15:09:09 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QWYz4-0003J3-FN for 8862@debbugs.gnu.org; Tue, 14 Jun 2011 15:09:07 -0400 Received: (qmail invoked by alias); 14 Jun 2011 19:09:00 -0000 Received: from 62-47-43-63.adsl.highway.telekom.at (EHLO [62.47.43.63]) [62.47.43.63] by mail.gmx.net (mp015) with SMTP; 14 Jun 2011 21:09:00 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19SAromG61Sfi1ORPioWABLqxxnSJJXPDw+5Mzmj0 f0zceQpHkXWwv1 Message-ID: <4DF7B1CA.5070501@gmx.at> Date: Tue, 14 Jun 2011 21:08:58 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Nix Subject: Re: bug#8862: compilation-window-height no good anymore References: <87fwnce9qn.fsf@jidanni.org> <4DF79704.9010601@gmx.at> <8739jci7ry.fsf@spindle.srvr.nix> In-Reply-To: <8739jci7ry.fsf@spindle.srvr.nix> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 8862 Cc: 8862@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) >> In the current version, windows are no longer deleted automatically. > > Isn't this a very large backward-compatibility and user-expectations > break? Hopefully not. There were a number of complaints that Emacs deleted windows automatically during resizing. When a similar change was applied to `adjust-window-trailing-edge' for Emacs 22 hardly anyone complained. martin From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 15:12:04 2011 Received: (at 8862) by debbugs.gnu.org; 14 Jun 2011 19:12:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWZ1v-0003OY-RZ for submit@debbugs.gnu.org; Tue, 14 Jun 2011 15:12:04 -0400 Received: from icebox.esperi.org.uk ([81.187.191.129] helo=mail.esperi.org.uk) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWZ1t-0003O1-JY for 8862@debbugs.gnu.org; Tue, 14 Jun 2011 15:12:02 -0400 Received: from esperi.org.uk (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.4/8.14.3) with ESMTP id p5EJBsxh011440; Tue, 14 Jun 2011 20:11:54 +0100 Received: (from nix@localhost) by esperi.org.uk (8.14.4/8.12.11/Submit) id p5EJBsYE024120; Tue, 14 Jun 2011 20:11:54 +0100 From: Nix To: martin rudalics Subject: Re: bug#8862: compilation-window-height no good anymore References: <87fwnce9qn.fsf@jidanni.org> <4DF79704.9010601@gmx.at> <8739jci7ry.fsf@spindle.srvr.nix> <4DF7B1CA.5070501@gmx.at> Emacs: The Awakening Date: Tue, 14 Jun 2011 20:11:54 +0100 In-Reply-To: <4DF7B1CA.5070501@gmx.at> (martin rudalics's message of "Tue, 14 Jun 2011 21:08:58 +0200") Message-ID: <87y614grd1.fsf@spindle.srvr.nix> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DCC-STAT_FI_X86_64_VIRTUAL-Metrics: spindle 1245; Body=3 Fuz1=3 Fuz2=3 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 8862 Cc: 8862@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) On 14 Jun 2011, martin rudalics stated: >>> In the current version, windows are no longer deleted automatically. >> >> Isn't this a very large backward-compatibility and user-expectations >> break? > > Hopefully not. There were a number of complaints that Emacs deleted > windows automatically during resizing. When a similar change was > applied to `adjust-window-trailing-edge' for Emacs 22 hardly anyone > complained. OK, that's fine then :) I'm not concerned about breakage to packages so much -- they can be fixed, and in the past have been -- but user expectations are a hard thing to reprogram. (Your window management changes are really nice codewise, don't let my carping from the sidelines stop you revamping things!) -- NULL && (void) From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 19:51:05 2011 Received: (at 8862) by debbugs.gnu.org; 14 Jun 2011 23:51:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWdNw-0002EJ-Ra for submit@debbugs.gnu.org; Tue, 14 Jun 2011 19:51:05 -0400 Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145] helo=homiemail-a7.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWdNr-0002Dm-5e for 8862@debbugs.gnu.org; Tue, 14 Jun 2011 19:51:04 -0400 Received: from homiemail-a7.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a7.g.dreamhost.com (Postfix) with ESMTP id 30F7A25C06D; Tue, 14 Jun 2011 16:50:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=NbQiNa+T8m1Hyo4kde012ZD8Z8zY+grvA3ewL1K5GfrmooHDk vRBoMYgJTvskcMMk4mB8Jr9kU+ZOGxuMpG8rxMCYHffYc/9/DCIm2LYh/TsuO27n fv1zaUSQjW0TuHZ91IFw7m0pUxLtmwZHm5h2L6Q2wEMdhznYg8MsFGGVRA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=XE+JChKnGnBr+YoVn+FoLAWNefY=; b=YzDuDhUgXM5kT xKBbC0vwr5A18fr1wowKL2HZGTWHJytSlugyTKMkCWw7Nh7kqR6GPqgWcFTHawkg mImFIaxJaUzYlxf+LtFa5GVAJ7zunpGPvwQpTdcmwaJNo5en/hiVoXJR5OWtKeAP xi+Socxb6Ax7rTmK2ksoxAZy7Uc0PI= Received: from jidanni.org (218-163-0-214.dynamic.hinet.net [218.163.0.214]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a7.g.dreamhost.com (Postfix) with ESMTPSA id D2C6525C062; Tue, 14 Jun 2011 16:50:52 -0700 (PDT) From: jidanni@jidanni.org To: rudalics@gmx.at Subject: Re: bug#8862: compilation-window-height no good anymore References: <4DF79704.9010601@gmx.at> Date: Wed, 15 Jun 2011 07:50:50 +0800 Message-ID: <8739jc0y79.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 8862 Cc: 8862@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >>>>> "mr" == martin rudalics writes: mr> (((name . "*compilation*")) (reuse-window same nil nil)) Please tell me the exact lines I should put in what exact file. I cannot use the customization interface. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 23:15:59 2011 Received: (at 8862) by debbugs.gnu.org; 15 Jun 2011 03:15:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWgaF-0006d7-Lp for submit@debbugs.gnu.org; Tue, 14 Jun 2011 23:15:59 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWgaE-0006cu-4J for 8862@debbugs.gnu.org; Tue, 14 Jun 2011 23:15:58 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAIoj+E1MCpO0/2dsb2JhbABSplB4iHO/KYYmBJ04hBs X-IronPort-AV: E=Sophos;i="4.65,368,1304308800"; d="scan'208";a="116319440" Received: from 76-10-147-180.dsl.teksavvy.com (HELO ceviche.home) ([76.10.147.180]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 14 Jun 2011 23:15:43 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 8A450660F1; Wed, 15 Jun 2011 00:15:43 -0300 (ART) From: Stefan Monnier To: martin rudalics Subject: Re: bug#8862: compilation-window-height no good anymore Message-ID: References: <87fwnce9qn.fsf@jidanni.org> <4DF79704.9010601@gmx.at> <8739jci7ry.fsf@spindle.srvr.nix> <4DF7B1CA.5070501@gmx.at> Date: Tue, 14 Jun 2011 23:15:43 -0400 In-Reply-To: <4DF7B1CA.5070501@gmx.at> (martin rudalics's message of "Tue, 14 Jun 2011 21:08:58 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8862 Cc: Nix , 8862@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >>> In the current version, windows are no longer deleted automatically. >> Isn't this a very large backward-compatibility and user-expectations >> break? > Hopefully not. There were a number of complaints that Emacs deleted > windows automatically during resizing. Yes, being less eager to delete windows is good. But why signal an error rather than just make the window as big as possible without deleting surrounding windows? > When a similar change was applied to `adjust-window-trailing-edge' for > Emacs 22 hardly anyone complained. Not sure what you're referring to: adjust-window-trailing-edge was a new function in Emacs-22. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 15 05:08:29 2011 Received: (at 8862) by debbugs.gnu.org; 15 Jun 2011 09:08:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWm5M-0005yn-4H for submit@debbugs.gnu.org; Wed, 15 Jun 2011 05:08:29 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QWm5I-0005yZ-Uj for 8862@debbugs.gnu.org; Wed, 15 Jun 2011 05:08:26 -0400 Received: (qmail invoked by alias); 15 Jun 2011 09:08:17 -0000 Received: from 62-47-36-239.adsl.highway.telekom.at (EHLO [62.47.36.239]) [62.47.36.239] by mail.gmx.net (mp011) with SMTP; 15 Jun 2011 11:08:17 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+zw7Z6FK2zm+H/Pk8KCAjkidF0BgAaOEaIHocByc 6+Pr4Wye4TDhf8 Message-ID: <4DF87680.3080606@gmx.at> Date: Wed, 15 Jun 2011 11:08:16 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: jidanni@jidanni.org Subject: Re: bug#8862: compilation-window-height no good anymore References: <4DF79704.9010601@gmx.at> <8739jc0y79.fsf@jidanni.org> In-Reply-To: <8739jc0y79.fsf@jidanni.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 8862 Cc: 8862@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) > mr> (((name . "*compilation*")) (reuse-window same nil nil)) > Please tell me the exact lines I should put in what exact file. I cannot > use the customization interface. Thanks. Does it work if you put (setq display-buffer-alist (cons '(((name . "*compilation*")) (reuse-window same nil t)) display-buffer-alist)) into your .emacs? martin From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 15 05:09:40 2011 Received: (at 8862) by debbugs.gnu.org; 15 Jun 2011 09:09:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWm6V-00060V-W3 for submit@debbugs.gnu.org; Wed, 15 Jun 2011 05:09:40 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QWm6T-00060H-Nq for 8862@debbugs.gnu.org; Wed, 15 Jun 2011 05:09:38 -0400 Received: (qmail invoked by alias); 15 Jun 2011 09:09:31 -0000 Received: from 62-47-36-239.adsl.highway.telekom.at (EHLO [62.47.36.239]) [62.47.36.239] by mail.gmx.net (mp027) with SMTP; 15 Jun 2011 11:09:31 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18MwOIvZjkMwJNNI+SJYBoWFrqA+H/d03mNjGL4xL +ViVS1itLRVAYO Message-ID: <4DF876C7.5000702@gmx.at> Date: Wed, 15 Jun 2011 11:09:27 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Stefan Monnier Subject: Re: bug#8862: compilation-window-height no good anymore References: <87fwnce9qn.fsf@jidanni.org> <4DF79704.9010601@gmx.at> <8739jci7ry.fsf@spindle.srvr.nix> <4DF7B1CA.5070501@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 8862 Cc: Nix , 8862@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) > Yes, being less eager to delete windows is good. But why signal an > error rather than just make the window as big as possible without > deleting surrounding windows? I can do that for `enlarge-window' (and do a corresponding thing for `shrink-window'). I can do that for the lower level function `resize-window' (aka `window-resize') as well but wouldn't we rather like to catch a failure here? Also what about an attempt to enlarge or shrink the root window of a frame? Should we avoid signalling an error here too? >> When a similar change was applied to `adjust-window-trailing-edge' for >> Emacs 22 hardly anyone complained. > > Not sure what you're referring to: adjust-window-trailing-edge was a new > function in Emacs-22. I meant the functionality of `adjust-window-trailing-edge'. Before that change mouse dragging an edge could delete windows and after that change not. martin From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 15 07:46:29 2011 Received: (at 8862) by debbugs.gnu.org; 15 Jun 2011 11:46:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWoYH-0001mr-9P for submit@debbugs.gnu.org; Wed, 15 Jun 2011 07:46:29 -0400 Received: from caiajhbdcaib.dreamhost.com ([208.97.132.81] helo=homiemail-a6.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWoYF-0001mg-Tf for 8862@debbugs.gnu.org; Wed, 15 Jun 2011 07:46:28 -0400 Received: from homiemail-a6.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id D534F598076; Wed, 15 Jun 2011 04:46:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=D+Xa0JXYvrGl5/Ck/rPW+krG/amh9mjVQMvJsuGkKk7jBK4Ic J5rwBzuPXgOKnG/cq72IPcXWEZsJSWKM6ybMJrXBouaHlADynFx4utOKlBk0PLrZ 3ARw2c2n9OfGHmKRmdh0R+D3Bkn0poXr2WIBzFGkOHbfHkWSaee1pLQpUg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=xUKOwgOhJ3XAAUOxXxaXZnbXnNY=; b=QRQjGQMAdjKVv yf3+9tihpDfzACkFkSrqvhtGArlfkFvRx1KgCGdz8oJD7nBj5947wVPFT+5TNvul ggymDBIRnFbTli45ZO6J5m75HTLdPpp2hyPvHyDcpwqEHxka6kOUBny72cm+OQeY 5Qu/7Vz6ZLOZ+Ggdy/dykCQcyjlbWU= Received: from jidanni.org (218-163-2-34.dynamic.hinet.net [218.163.2.34]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 72DD5598074; Wed, 15 Jun 2011 04:46:21 -0700 (PDT) From: jidanni@jidanni.org To: rudalics@gmx.at Subject: Re: bug#8862: compilation-window-height no good anymore References: <4DF87680.3080606@gmx.at> Date: Wed, 15 Jun 2011 19:46:17 +0800 Message-ID: <87oc1zmi5y.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 8862 Cc: 8862@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) mr> Does it work if you put mr> (setq display-buffer-alist mr> (cons '(((name . "*compilation*")) (reuse-window same nil t)) mr> display-buffer-alist)) mr> into your .emacs? No it does not. I want the compilation buffer to take up my entire screen. That line does not do that. I just tried it. I want to say M-x compile ... and the new buffer should then take up the entire screen. Please give me the right line. Please implement something like (setq Man-notify-method 'bully) Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 15 08:57:54 2011 Received: (at 8862) by debbugs.gnu.org; 15 Jun 2011 12:57:54 +0000 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 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 Received: (qmail invoked by alias); 15 Jun 2011 12:57:44 -0000 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 Message-ID: <4DF8AC46.4090500@gmx.at> Date: Wed, 15 Jun 2011 14:57:42 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: jidanni@jidanni.org Subject: Re: bug#8862: compilation-window-height no good anymore References: <4DF87680.3080606@gmx.at> <87oc1zmi5y.fsf@jidanni.org> In-Reply-To: <87oc1zmi5y.fsf@jidanni.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 8862 Cc: 8862@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.7 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 15 09:10:16 2011 Received: (at 8862) by debbugs.gnu.org; 15 Jun 2011 13:10:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWprL-0003ca-OR for submit@debbugs.gnu.org; Wed, 15 Jun 2011 09:10:16 -0400 Received: from caiajhbdccac.dreamhost.com ([208.97.132.202] helo=homiemail-a38.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWprJ-0003cN-0o for 8862@debbugs.gnu.org; Wed, 15 Jun 2011 09:10:14 -0400 Received: from homiemail-a38.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTP id 0BA1810AFA1; Wed, 15 Jun 2011 06:10:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=aUarsCc+Mxhbmc8E7XIdKBLtzQgDPPtF1ThL9GCR6xTgPiq2s 30Ys9xndbumxbxt+3Bz/m6GZeRKPYbkeR+Yy4FlrPhoDrk8iUYUpXVGDq6eIO49Y jAAB+GdDb8yO8J3CnBaaYZirGORsWnHHTgJMvk9Wj12LLKO+04muEQPJL4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=pQqq4dy+KnaqkPkbt0wUKH4cBFc=; b=mXkg4oEvefb0/ HJTgfCdL2fbXWp+hSBLkQHbM9A2wOhv02AJip1vZdwFVVCjyjGV84jhJsiX4ERUB QIv09K8ydeMFyx6ClbNfsn1WyrpqXM+OA6LnMvrMrK+GjQOgJIc3qsvkbLhOXjoI mXdd+o8SvqTSZ2qPsB1nJMcupvI0TI= Received: from jidanni.org (218-163-2-34.dynamic.hinet.net [218.163.2.34]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTPSA id 5C92410AFB2; Wed, 15 Jun 2011 06:10:06 -0700 (PDT) From: jidanni@jidanni.org To: rudalics@gmx.at Subject: Re: bug#8862: compilation-window-height no good anymore References: <4DF8AC46.4090500@gmx.at> Date: Wed, 15 Jun 2011 21:10:03 +0800 Message-ID: <87hb7rmeac.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 8862 Cc: 8862@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >>>>> "mr" == martin rudalics writes: mr> You might have to adjust the name if that of your compilation buffer is mr> not *compilation*. Well it certainly isn't, %* *compilation /home/jidanni/* 174 Compilation:exit %* *compilation /cf/updates/* 184 Compilation:exit As I seem to use (defun jidanni-compilation-buffer-name-function (maj-mode) "my buffer name individualizer. Helps me not to stomp forgotten compilation logs so fast... maybe upon exiting emacs, we should also somehow ask about compilation buffers that we haven't taken a look at after their compilation finished." (concat "*" (downcase maj-mode) " " ;(file-name-nondirectory default-directory....) ;too bad I don't know how ;to do an exact replica of "basname `pwd`" but in lisp. So I guess ;I'll have to settle for default-directory "*")) (setq compilation-buffer-name-function 'jidanni-compilation-buffer-name-function) etc. from http://jidanni.org/comp/configuration/ So now what? It seems your stuff isn't as dynamic as it should be. Maybe I should put something in a hook to max out the window. Well I bet I used to do that long ago. Then they made some new way, and I followed that. Anyway it is all in http://jidanni.org/comp/configuration/ just waiting for you to give me the 2011 year's solution. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 15 09:29:08 2011 Received: (at 8862) by debbugs.gnu.org; 15 Jun 2011 13:29:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWq9c-00041S-3n for submit@debbugs.gnu.org; Wed, 15 Jun 2011 09:29:08 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QWq9Y-00040u-8k for 8862@debbugs.gnu.org; Wed, 15 Jun 2011 09:29:05 -0400 Received: (qmail invoked by alias); 15 Jun 2011 13:28:57 -0000 Received: from 62-47-44-36.adsl.highway.telekom.at (EHLO [62.47.44.36]) [62.47.44.36] by mail.gmx.net (mp003) with SMTP; 15 Jun 2011 15:28:57 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1905T4vDH90nV6n1zE2fT9H6Olt49lG9vUD5h/hNC pALzipKdjwPEh/ Message-ID: <4DF8B398.5090306@gmx.at> Date: Wed, 15 Jun 2011 15:28:56 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: jidanni@jidanni.org Subject: Re: bug#8862: compilation-window-height no good anymore References: <4DF87680.3080606@gmx.at> <87oc1zmi5y.fsf@jidanni.org> <4DF8AC46.4090500@gmx.at> In-Reply-To: <4DF8AC46.4090500@gmx.at> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 8862 Cc: 8862@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.7 (-) > Well it certainly isn't, > > %* *compilation /home/jidanni/* 174 Compilation:exit > %* *compilation /cf/updates/* 184 Compilation:exit Aha. In this case you probably need something like (setq display-buffer-alist (cons '(((regexp . "\\*compilation.+\\*")) (fun-with-args (lambda (buffer &rest args) (delete-other-windows) (display-buffer buffer 'same-window)))) display-buffer-alist)) martin From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 15 09:43:49 2011 Received: (at 8862) by debbugs.gnu.org; 15 Jun 2011 13:43:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWqNp-0004L0-Bk for submit@debbugs.gnu.org; Wed, 15 Jun 2011 09:43:49 -0400 Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145] helo=homiemail-a38.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWqNm-0004Kn-Qo for 8862@debbugs.gnu.org; Wed, 15 Jun 2011 09:43:48 -0400 Received: from homiemail-a38.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTP id C771010AFB6; Wed, 15 Jun 2011 06:43:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=mnFF1EocC8YkOQ/eEugkk4zyhtVr4i+cmG9fEmEV2yG60hjZ6 WdilEvIe9vb0m1sC3pPMgYEiy/fOSzGBKZQik87jvVzeJqwQhwDdo1jc9zOoJk1I Tf8edpZ+QQdrR6NDom0dC8kLMHapGONsrCKfOISjOrD9h85dTyAM3MFTwQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=ZyNTtcHowwaCcgcfHBW2q2f39EE=; b=DH7t9lSDQQxco L+L2AOvtT0ni3cVK+OwyNGNpTtyl8fi+wn17QHL9UwFvXd1NGtGe0LTyWp4d+XnR 3BJIY36s50vNLv35KAtUa1/qnIW9F2IXDfgnyUOIl90n5p+fJ/tOJ6MWW+S2lRt5 Vy8sx4Qdso350OP5k/h8fIEiJZo/Vw= Received: from jidanni.org (218-163-2-34.dynamic.hinet.net [218.163.2.34]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTPSA id 1ABB510AFB2; Wed, 15 Jun 2011 06:43:37 -0700 (PDT) From: jidanni@jidanni.org To: rudalics@gmx.at Subject: Re: bug#8862: compilation-window-height no good anymore References: <4DF8B398.5090306@gmx.at> Date: Wed, 15 Jun 2011 21:43:34 +0800 Message-ID: <87d3ifmcqh.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 8862 Cc: 8862@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >>>>> "mr" == martin rudalics writes: mr> Aha. In this case you probably need something like mr> (setq display-buffer-alist mr> (cons '(((regexp . "\\*compilation.+\\*")) OK, thanks. I am back in business. So the fate of this bug report is now up to you guys. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 15 10:09:59 2011 Received: (at 8862) by debbugs.gnu.org; 15 Jun 2011 14:09:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWqn9-0004zp-0C for submit@debbugs.gnu.org; Wed, 15 Jun 2011 10:09:59 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWqn6-0004zb-S1 for 8862@debbugs.gnu.org; Wed, 15 Jun 2011 10:09:57 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAOC7+E1FpY1I/2dsb2JhbABSplB4iHO+b4YmBJ0/hBs X-IronPort-AV: E=Sophos;i="4.65,370,1304308800"; d="scan'208";a="116347572" Received: from 69-165-141-72.dsl.teksavvy.com (HELO ceviche.home) ([69.165.141.72]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 15 Jun 2011 10:09:50 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 6FEBD660F1; Wed, 15 Jun 2011 11:09:50 -0300 (ART) From: Stefan Monnier To: martin rudalics Subject: Re: bug#8862: compilation-window-height no good anymore Message-ID: References: <87fwnce9qn.fsf@jidanni.org> <4DF79704.9010601@gmx.at> <8739jci7ry.fsf@spindle.srvr.nix> <4DF7B1CA.5070501@gmx.at> <4DF876C7.5000702@gmx.at> Date: Wed, 15 Jun 2011 10:09:50 -0400 In-Reply-To: <4DF876C7.5000702@gmx.at> (martin rudalics's message of "Wed, 15 Jun 2011 11:09:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8862 Cc: Nix , 8862@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >> Yes, being less eager to delete windows is good. But why signal an >> error rather than just make the window as big as possible without >> deleting surrounding windows? > I can do that for `enlarge-window' (and do a corresponding thing for > `shrink-window'). AFAIK, `enlarge-window' did not signal an error when the size was too large, so I think it's best to keep being silent, for backward compatibility's sake. > I can do that for the lower level function > `resize-window' (aka `window-resize') as well but wouldn't we rather Signalling an error is a good thing, wo while we shouldn't do it for enlarge-window for compatibility reasons, we should do it for the new functions like window-resize. > I meant the functionality of `adjust-window-trailing-edge'. > Before that change mouse dragging an edge could delete windows and > after that change not. Such changes to interactive behavior are much less problematic than changes in non-interactive functions, since the first might at worst surprise or disappoint the user, while the second can break functionality. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 15 10:51:46 2011 Received: (at 8862) by debbugs.gnu.org; 15 Jun 2011 14:51:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWrRZ-0005wf-KR for submit@debbugs.gnu.org; Wed, 15 Jun 2011 10:51:45 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QWrRW-0005wQ-Da for 8862@debbugs.gnu.org; Wed, 15 Jun 2011 10:51:44 -0400 Received: (qmail invoked by alias); 15 Jun 2011 14:51:35 -0000 Received: from 62-47-44-36.adsl.highway.telekom.at (EHLO [62.47.44.36]) [62.47.44.36] by mail.gmx.net (mp023) with SMTP; 15 Jun 2011 16:51:35 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+hkGMZgjihIG627D0z+X3dQSZveoCkZAvJSlpFHb 8KwUHTPCXOFnFB Message-ID: <4DF8C6F6.7000809@gmx.at> Date: Wed, 15 Jun 2011 16:51:34 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Stefan Monnier Subject: Re: bug#8862: compilation-window-height no good anymore References: <87fwnce9qn.fsf@jidanni.org> <4DF79704.9010601@gmx.at> <8739jci7ry.fsf@spindle.srvr.nix> <4DF7B1CA.5070501@gmx.at> <4DF876C7.5000702@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 8862 Cc: Nix , 8862@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.7 (-) > AFAIK, `enlarge-window' did not signal an error when the size was too > large, so I think it's best to keep being silent, for backward > compatibility's sake. OK. I'll use the maximum possible height for enlarging and window-min-height/-width for shrinking. The only cases where I signal an error are when the window is either fixed-size or the root window. > Signalling an error is a good thing, wo while we shouldn't do it for > enlarge-window for compatibility reasons, we should do it for the > new functions like window-resize. Good. > Such changes to interactive behavior are much less problematic than > changes in non-interactive functions, since the first might at worst > surprise or disappoint the user, while the second can > break functionality. Agreed. I tend to discourage using `enlarge-window' in ELisp because it only works on the selected window leading to things like compile.el's ;; Stef said that doing the saves in this order is safer: (save-excursion (save-selected-window (select-window window) (enlarge-window (- height (window-height)))))))) martin From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 15 11:38:45 2011 Received: (at 8862) by debbugs.gnu.org; 15 Jun 2011 15:38:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWsB2-0006xq-P0 for submit@debbugs.gnu.org; Wed, 15 Jun 2011 11:38:45 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWsB0-0006xe-Gb for 8862@debbugs.gnu.org; Wed, 15 Jun 2011 11:38:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAPnQ+E1FpY1I/2dsb2JhbABSplR4iHO+fIYmBJ0/hBs X-IronPort-AV: E=Sophos;i="4.65,370,1304308800"; d="scan'208";a="116367338" Received: from 69-165-141-72.dsl.teksavvy.com (HELO ceviche.home) ([69.165.141.72]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 15 Jun 2011 11:38:36 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 45FD766234; Wed, 15 Jun 2011 12:38:32 -0300 (ART) From: Stefan Monnier To: martin rudalics Subject: Re: bug#8862: compilation-window-height no good anymore Message-ID: References: <87fwnce9qn.fsf@jidanni.org> <4DF79704.9010601@gmx.at> <8739jci7ry.fsf@spindle.srvr.nix> <4DF7B1CA.5070501@gmx.at> <4DF876C7.5000702@gmx.at> <4DF8C6F6.7000809@gmx.at> Date: Wed, 15 Jun 2011 11:38:32 -0400 In-Reply-To: <4DF8C6F6.7000809@gmx.at> (martin rudalics's message of "Wed, 15 Jun 2011 16:51:34 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8862 Cc: Nix , 8862@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >> AFAIK, `enlarge-window' did not signal an error when the size was too >> large, so I think it's best to keep being silent, for backward >> compatibility's sake. > OK. I'll use the maximum possible height for enlarging and > window-min-height/-width for shrinking. The only cases where I signal > an error are when the window is either fixed-size or the root window. In Emacs-23, enlarge-window called on the root window doesn't seem to signal an error either. Maybe you'll be lucky and won't bump into bugs resulting from such a change, but I think you'd be safer keeping the old non-signaling behavior. After all, you don't like enlarge-window anyway and can't really change it into something you like, so you may as well keep it unchanged and deprecate it in favor of something you like better. > Agreed. I tend to discourage using `enlarge-window' in ELisp because it > only works on the selected window leading to things like compile.el's > ;; Stef said that doing the saves in this order is safer: > (save-excursion > (save-selected-window > (select-window window) > (enlarge-window (- height (window-height)))))))) Hmm... not sure why it doesn't use with-selected-window, but yes, providing a `window' argument is even better. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 15 11:56:36 2011 Received: (at 8862) by debbugs.gnu.org; 15 Jun 2011 15:56:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWsSJ-0007MG-Vy for submit@debbugs.gnu.org; Wed, 15 Jun 2011 11:56:36 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QWsSH-0007M4-Ca for 8862@debbugs.gnu.org; Wed, 15 Jun 2011 11:56:34 -0400 Received: (qmail invoked by alias); 15 Jun 2011 15:56:26 -0000 Received: from 62-47-44-36.adsl.highway.telekom.at (EHLO [62.47.44.36]) [62.47.44.36] by mail.gmx.net (mp034) with SMTP; 15 Jun 2011 17:56:26 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+8VwkrkWu8F7B6NQcxDwY2MqS0rY9sRqKIGmozME vKsVhESaJqUERo Message-ID: <4DF8D629.9010800@gmx.at> Date: Wed, 15 Jun 2011 17:56:25 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Stefan Monnier Subject: Re: bug#8862: compilation-window-height no good anymore References: <87fwnce9qn.fsf@jidanni.org> <4DF79704.9010601@gmx.at> <8739jci7ry.fsf@spindle.srvr.nix> <4DF7B1CA.5070501@gmx.at> <4DF876C7.5000702@gmx.at> <4DF8C6F6.7000809@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 8862 Cc: Nix , 8862@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.7 (-) > In Emacs-23, enlarge-window called on the root window doesn't seem to > signal an error either. Horizontally only. Try (enlarge-window 4 t) with a one-window frame. > Maybe you'll be lucky and won't bump into bugs > resulting from such a change, but I think you'd be safer keeping the old > non-signaling behavior. OK. martin From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 18:47:36 2011 Received: (at 8862-done) by debbugs.gnu.org; 15 Jul 2011 22:47:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhrAW-0005Ji-BY for submit@debbugs.gnu.org; Fri, 15 Jul 2011 18:47:36 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhrAU-0005JV-Ct for 8862-done@debbugs.gnu.org; Fri, 15 Jul 2011 18:47:34 -0400 Received: from localhost ([127.0.0.1]:39292) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhrAO-00060D-Im; Fri, 15 Jul 2011 18:47:28 -0400 From: Glenn Morris To: 8862-done@debbugs.gnu.org Subject: Re: bug#8862: compilation-window-height no good anymore References: <4DF87680.3080606@gmx.at> <87oc1zmi5y.fsf@jidanni.org> <4DF8AC46.4090500@gmx.at> <4DF8B398.5090306@gmx.at> X-Spook: Baranyi Comirex radar insurgency MP5K-SD S Key Kennedy X-Ran: fH1>L4eq)=^gycJ{#Uz]ApWm)^_,0'AkHW5k&]@>V1Bo-,xq:d]'.A0v[{DOb!S|<=4](o X-Hue: cyan X-Attribution: GM Date: Fri, 15 Jul 2011 18:47:28 -0400 In-Reply-To: <4DF8B398.5090306@gmx.at> (martin rudalics's message of "Wed, 15 Jun 2011 15:28:56 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 8862-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) Looks like the reported issue was resolved in this message: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8862#41 From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 24 11:08:01 2011 Received: (at 8862) by debbugs.gnu.org; 24 Jul 2011 15:08:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ql0Hh-0001Mk-Lr for submit@debbugs.gnu.org; Sun, 24 Jul 2011 11:08:01 -0400 Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66] helo=homiemail-a5.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ql0Hf-0001MU-JA for 8862@debbugs.gnu.org; Sun, 24 Jul 2011 11:08:00 -0400 Received: from homiemail-a5.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id 9299A70406E; Sun, 24 Jul 2011 08:07:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :date:message-id:mime-version:content-type; q=dns; s=jidanni.org ; b=KNHXUKCpQCWLgLrE/7Oz7fWpxU/3kom9G1bmWhmiGT1BePAe6R7dSJc3fWdO /QtgA6TQxyQBe0R0ncPYE5rAF+ubRt/6HJcgZyrLXOdgOSIAgCmD7n36ty0MaFeQ clK4SBepIEt7eU2JPrs93yycqO/G75MrNfZv+aGCc+aO0Js= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=pO1jipeFmvaJlCtuLCeVlVgoc84=; b=kVasNmYeG9a6Rf9E ei3bBcpuHskX/6MJpFwcbfL99O7GPYXiKq53BlRcmguVdsdcbc0igPnAbfP0ZzpZ rAEoYrrXaR4AmSDl4ruLcYkL1dwI4UY0pFBJIfku6/QA2JW37tLf8fcx0GVweoeP vEklSZw9MhZsJFLUQNoCgmMTNbs= Received: from jidanni.org (218-163-0-246.dynamic.hinet.net [218.163.0.246]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTPSA id 4576B70406A; Sun, 24 Jul 2011 08:07:53 -0700 (PDT) From: jidanni@jidanni.org To: rudalics@gmx.at, monnier@iro.umontreal.ca Subject: Stop compilation mode from splitting the window Date: Sun, 24 Jul 2011 23:07:49 +0800 Message-ID: <87tyabbttm.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 8862 Cc: nix@esperi.org.uk, help-gnu-emacs@gnu.org, 8862@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) 8862 is broken again. Please tell me a way to stop compilation mode from splitting the window! From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 24 11:34:28 2011 Received: (at 8862) by debbugs.gnu.org; 24 Jul 2011 15:34:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ql0hH-0003WA-G0 for submit@debbugs.gnu.org; Sun, 24 Jul 2011 11:34:28 -0400 Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66] helo=homiemail-a4.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ql0hA-0003Vq-Jd for 8862@debbugs.gnu.org; Sun, 24 Jul 2011 11:34:21 -0400 Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id C3C2F51C070; Sun, 24 Jul 2011 08:34:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type: content-transfer-encoding; q=dns; s=jidanni.org; b=dOyUUvBG2xSbG qi4oill+RaxMCPkNzcWEhjSRYJenpXeYhVoPvXjeg0/9kC9uGcrEXeKc+wIo4HfP bD7YcVJnx7BjFKKEypyCI7n52CWsMwjwsigI2LfL9vLfc5VADleMQ/z5RSnNNaaz ovCEk0Jhc3Sw/1r7CUmJWuqd1HRFj0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type: content-transfer-encoding; s=jidanni.org; bh=hK8SgU8HIcO2ooCAXRE tQ/Th3o8=; b=W4zp/lFnOUeBHANyjAuRlJTcsWUuaXzAPAIsQicHojpsKut8Bka d+FP3XOPjArZordVF/VHZv5bN8U+swYKj9re8Zxq4c3DpCovEPllLPR+QtIiDMq2 TzPwnHr6XC7n5XaO4j8rGiVMh0+FuJSAy8fPhhkfarRgHAgG9Mq8HbFA= Received: from jidanni.org (218-163-0-246.dynamic.hinet.net [218.163.0.246]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id 2BFEA51C069; Sun, 24 Jul 2011 08:34:14 -0700 (PDT) From: jidanni@jidanni.org To: david.belohrad@cern.ch Subject: Re: Stop compilation mode from splitting the window References: Date: Sun, 24 Jul 2011 23:34:11 +0800 Message-ID: <87pqkzbslo.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 8862 Cc: help-gnu-emacs@gnu.org, 8862@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) >>>>> "DB" =3D=3D David Belohrad writes: DB> I use something like this to close compilation window if no error dur= ing compilation was DB> found. This however does not preserve the frame configuration DB> =C2=A0 (setq compilation-finish-function DB> =C2=A0=C2=A0=C2=A0=C2=A0 (lambda (buf str) DB> =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 (if (or (string-match "warning:" str)= (string-match "exited abnormally" str) DB> (string-match "compilation aborted" str)) DB> =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 ;;there were errors DB> =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (message "com= pilation errors or warnings, press C-x ` to visit") DB> =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ;;no errors, make the com= pilation window go away in 0.5 seconds DB> =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 (run-at-time 0.5 nil 'del= ete-windows-on buf) DB> =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 (message "NO COMPILATION = ERRORS!")))) OK, but one would think the emacs maintainers might be charitable to provide a variable to just not split the window in half in the first place (so I can see the whole window of juicy compilation action.) From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 24 13:06:15 2011 Received: (at 8862) by debbugs.gnu.org; 24 Jul 2011 17:06:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ql287-0001qi-2F for submit@debbugs.gnu.org; Sun, 24 Jul 2011 13:06:15 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Ql281-0001qS-IC for 8862@debbugs.gnu.org; Sun, 24 Jul 2011 13:06:10 -0400 Received: (qmail invoked by alias); 24 Jul 2011 17:06:03 -0000 Received: from 62-47-35-136.adsl.highway.telekom.at (EHLO [62.47.35.136]) [62.47.35.136] by mail.gmx.net (mp041) with SMTP; 24 Jul 2011 19:06:03 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19gWtZqVr1gglSSv1eTIb00mcDBJvC60h2przSPlK qws9BtIMmApjCc Message-ID: <4E2C50F8.9080009@gmx.at> Date: Sun, 24 Jul 2011 19:06:00 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: jidanni@jidanni.org Subject: Re: Stop compilation mode from splitting the window References: <87tyabbttm.fsf@jidanni.org> In-Reply-To: <87tyabbttm.fsf@jidanni.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 8862 Cc: nix@esperi.org.uk, help-gnu-emacs@gnu.org, monnier@iro.umontreal.ca, 8862@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) > 8862 is broken again. Sorry. > Please tell me a way to stop compilation mode from splitting the window! Does (setq display-buffer-alist (cons '(((regexp . "\\*compilation.+\\*")) (function ; was "fun-with-args" before (lambda (buffer &rest args) (delete-other-windows) (let (display-buffer-alist) (display-buffer buffer 'same-window)))) (override . t)) display-buffer-alist)) work? martin From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 24 21:14:16 2011 Received: (at 8862) by debbugs.gnu.org; 25 Jul 2011 01:14:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ql9kO-0001ST-0q for submit@debbugs.gnu.org; Sun, 24 Jul 2011 21:14:16 -0400 Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a61.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ql9kL-0001SH-Qy for 8862@debbugs.gnu.org; Sun, 24 Jul 2011 21:14:14 -0400 Received: from homiemail-a61.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a61.g.dreamhost.com (Postfix) with ESMTP id 0060257806E; Sun, 24 Jul 2011 18:14:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=IU+Sacx80O9kCgWZZKftIIVwD9WypdV2p/DiiK4Z+ko8NJ/tc gGjKc54YRuOnApYOLdSHFY/SkxKHrpzrbNvMCbnpXL2u7OqwKnetw6QpezmwSvXF 7pNQ7yKwguVMklQbK2b72aMST1EnFYFvESOQNUd3mT2MyXGkxMiPj1GOw8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=g6C1nord9WKa1wMwOiKlQSNcK3o=; b=eYQjLGbGw4enu hcfjk/kwidAt67Omdy4QaYURZ/YzHIsaepv8cKf7wxOMZih2ttGrOHNE9kLRosiJ vwJQSwyLZOpRnk5cY0bOSFnSXIqXPf/LDfT3NUY2GlUvCUoyPzU0OZWeOijOI3wY ZeJiBma7k/04hYoylLsdy4opimzcfg= Received: from jidanni.org (218-163-3-72.dynamic.hinet.net [218.163.3.72]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a61.g.dreamhost.com (Postfix) with ESMTPSA id A0FBE57806C; Sun, 24 Jul 2011 18:14:07 -0700 (PDT) From: jidanni@jidanni.org To: rudalics@gmx.at Subject: Re: Stop compilation mode from splitting the window References: <4E2C50F8.9080009@gmx.at> Date: Mon, 25 Jul 2011 09:14:05 +0800 Message-ID: <87aac3f9gi.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 8862 Cc: nix@esperi.org.uk, help-gnu-emacs@gnu.org, monnier@iro.umontreal.ca, 8862@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) >>>>> "mr" == martin rudalics writes: mr> Does ... mr> work? Yes! Thanks! Bye. From unknown Fri Sep 05 18:47:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 22 Aug 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator