From unknown Sun Aug 17 01:22:31 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3689: window-fixed-size behaviour Reply-To: hjuvi , 3689@debbugs.gnu.org Resent-From: hjuvi Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 26 Jun 2009 14:50:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3689 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124602747630127 (code B ref -1); Fri, 26 Jun 2009 14:50:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 26 Jun 2009 14:44:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=IMPRONONCABLE_2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5QEiSvq030120 for ; Fri, 26 Jun 2009 07:44:29 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKCfD-0004kh-4i for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2009 10:44:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKCf7-0004df-U4 for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2009 10:44:26 -0400 Received: from [199.232.76.173] (port=47387 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKCf7-0004dI-Ir for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2009 10:44:21 -0400 Received: from web26004.mail.ukl.yahoo.com ([217.12.10.215]:31415) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MKCf6-0001K4-S4 for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2009 10:44:21 -0400 Received: (qmail 73569 invoked by uid 60001); 26 Jun 2009 14:44:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1246027459; bh=YGIE0jweqR72hk/gjtlNSKTgsF27SdiDa9pAuPjKGlk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=pHQI0IUSes+oFQQ1IdBallEFwrXKEqcjs3HE0W+YThT6fyVWmwFvOGwsqlCxL2N5tslKW9EfaBjT06b5oDhID8PYHiFi4zcQJ5WwoN1dmFx7cniLJ835qUa1SV30EpOpWbKZqvmi5RRhPmR41dtg2+5ECzwnvAjOGCEF6e+mTjs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=6mlXOo6gQsnApeNmfzXpNzKthzQfFSeF1G2tuC9yYn0vgRAP9JGflgw7q0GA9ZUen2bkGc96ULjcBwo+WKb0hrmc+x3NNYvBh40LxVGnZA0o6z40wk5QBqxgWH/i+sPvgkxt4hVrRjc6cL+FpKowmGdtWwFs3gTW1S75unZYuyI=; Message-ID: <11917.72953.qm@web26004.mail.ukl.yahoo.com> X-YMail-OSG: M5BrM3gVM1mxQRMxMtkqLmNXY7mGyuPMZu0JyoNIPUdHNMcF3nsuObsJ3KP8XfkJTUiCl7iDQm8nTGh25gYb3IyHsT3xQr6WOLlP0ohCEazBC0ivRIGbqw.5NugYZggBF_u3FcmqZ5QnkyNyr_dMMZ.uwG2fk52buxucA69llTM8hdXfamtIt5aM92GRzd.MMJSmCA217E5Ge_ECVDeCvG2SgaTMMhHWJck80IhWDB4saAslpijx291y70LnGGYlTjC3SQ9CrFNW2B0kImNlHPzm74C9PP3WQz0kgyw4PDoB4.itHGs_P3zufMSkzIpo2JntSJE_8n5jG6PdaJIZvqYDWvg3ATix7vE- Received: from [91.163.5.39] by web26004.mail.ukl.yahoo.com via HTTP; Fri, 26 Jun 2009 14:44:18 GMT X-Mailer: YahooMailRC/1357.22 YahooMailWebService/0.7.289.15 Date: Fri, 26 Jun 2009 14:44:18 +0000 (GMT) From: hjuvi To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) =0A=0AChanging from emacs21 (GNU Emacs 21.4.1) to emacs22-gtk (GNU Emacs 22= .1.1) (on Ubuntu desktop), I'm no longer able to have window-size-fixed wor= k properly - or at least how I expect it to work.=0A=0A=0AI've been using i= t to have a window with fixed size in the middle of the frame.=0A=0AOn emac= s21, I can change the size of other windows, this particular one moves up a= nd down but always keep the same height. This is how I expect it to work...= =0A=0AOn emacs22, if I drag from the upper side (mode-line) of the window, = it enlarges (which should not happen). If I drag from the lower side of the= window, it doesn't move at all !...=0A=0A=0AWhy is the behaviour different= between emacs21 and emacs22 ?=0AThe behaviour on emacs21 matches with my n= eeds (and with the idea of window-size-fixed, I believe), whereas I cannot = get it work properly on emacs22.=0A=0A=0ABelow is some lisp code to show th= e problem : you can put it in a file test.el, and call : emacs -q -l test.e= l=0A=0A=0A(setq inhibit-startup-message t) =0A(split-window-vertically) =0A= (split-window-vertically) =0A(split-window-horizontally) =0A(switch-to-buff= er (get-buffer-create "buffer1")) =0A(select-window (next-window)) =0A(swit= ch-to-buffer (get-buffer-create "buffer2")) =0A(select-window (next-window)= ) =0A(switch-to-buffer (get-buffer-create "buffer3")) =0A(select-window (ne= xt-window)) =0A(switch-to-buffer (get-buffer-create "buffer4")) =0A(select-= window (previous-window)) =0A(enlarge-window (- 5 (window-height))) =0A(set= q window-size-fixed t) =0A=0A"buffer3" window is supposed to have fixed siz= e. =0A=0A=0ANB : This problem has been discussed here :=0Ahttp://groups.goo= gle.fr/group/gnu.emacs.help/browse_thread/thread/20a054c3e179909d?hl=3Dfr#= =0A=0AIt has been suggested that my problem might have appeared with the in= troduction of function adjust-window-trailing-edge.=0A=0A=0A From unknown Sun Aug 17 01:22:31 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3689: Problem with window-size-fixed Reply-To: Vincent =?UTF-8?Q?Bela=C3=AFche?= , 3689@debbugs.gnu.org Resent-From: Vincent =?UTF-8?Q?Bela=C3=AFche?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 20 Aug 2009 20:36:52 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 3689 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 3689-submit@emacsbugs.donarmstrong.com id=B3689.125070686929395 (code B ref 3689); Thu, 20 Aug 2009 20:36:52 +0000 Received: (at 3689) by emacsbugs.donarmstrong.com; 19 Aug 2009 18:34:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=IMPRONONCABLE_2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from smtp27.orange.fr (smtp27.orange.fr [80.12.242.94]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7JIYRix029392 for <3689@emacsbugs.donarmstrong.com>; Wed, 19 Aug 2009 11:34:29 -0700 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2729.orange.fr (SMTP Server) with ESMTP id 1AE701C0008F; Wed, 19 Aug 2009 20:34:22 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2729.orange.fr (SMTP Server) with ESMTP id 0D9A31C00093; Wed, 19 Aug 2009 20:34:22 +0200 (CEST) Received: from COCOTTE (ARennes-256-1-22-170.w90-32.abo.wanadoo.fr [90.32.5.170]) by mwinf2729.orange.fr (SMTP Server) with ESMTP id 9567F1C0008F; Wed, 19 Aug 2009 20:34:21 +0200 (CEST) X-ME-UUID: 20090819183421612.9567F1C0008F@mwinf2729.orange.fr From: Vincent =?UTF-8?Q?Bela=C3=AFche?= To: 3689@debbugs.gnu.org Cc: martin rudalics Date: Wed, 19 Aug 2009 20:35:58 +0200 Message-ID: <87ocqbejn5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Dear EMACS experts, A problem concerning window-size-fixed was reported on newsgroupfr.comp.applications.emacs (http://groups.google.fr/group/fr.comp.applications.emacs/browse_thread/thread/f617026a5906fcd3#) To see the problem put the following code into a file test.el and launch emacs with: emacs -q -l test.el ;---------------------------------------------- (setq inhibit-startup-message t) (split-window-vertically) (split-window-vertically) (split-window-horizontally) (switch-to-buffer (get-buffer-create "buffer1")) (select-window (next-window)) (switch-to-buffer (get-buffer-create "buffer2")) (select-window (next-window)) (switch-to-buffer (get-buffer-create "buffer3")) (select-window (next-window)) (switch-to-buffer (get-buffer-create "buffer4")) (select-window (previous-window)) (enlarge-window (- 5 (window-height))) (setq window-size-fixed t) ;---------------------------------------------- I have tested this with the very latest CVS version GNU Emacs 23.1.50.1 (i386-mingw-nt5.0.2195) of 2009-07-25 and the same problem happens. So what happens is that I correctly get the following window partitionning: Buffer 1 | Buffer 2 ---------+--------- Buffer 3 ------------------- Buffer 4 ------------------- with buf 1 and 2 of 7 rows, buf 3 of 4 rows, and buf 4 taking the remainder (that is 38 rows for me). The issue is that buffer 3 is supposed to be fixed-size. This is true if you use `C-u N C-x ^' for re-dimensionning, but it is not true if you try to do it by mouse, in that case buffer 4 is fixed-size instead. Best regards, Vincent. From unknown Sun Aug 17 01:22:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: hjuvi Subject: bug#3689: closed (Re: bug#3689: window-fixed-size behaviour) Message-ID: References: <4E64889A.40309@gmx.at> <11917.72953.qm@web26004.mail.ukl.yahoo.com> X-Gnu-PR-Message: they-closed 3689 X-Gnu-PR-Package: emacs Reply-To: 3689@debbugs.gnu.org Date: Mon, 05 Sep 2011 08:35:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1315211702-21816-1" This is a multi-part message in MIME format... ------------=_1315211702-21816-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #3689: window-fixed-size behaviour which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 3689@debbugs.gnu.org. --=20 3689: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3689 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1315211702-21816-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3689-done) by debbugs.gnu.org; 5 Sep 2011 08:34: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 1R0Ud2-0005ep-K0 for submit@debbugs.gnu.org; Mon, 05 Sep 2011 04:34:05 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1R0Ud0-0005ed-QM for 3689-done@debbugs.gnu.org; Mon, 05 Sep 2011 04:34:03 -0400 Received: (qmail invoked by alias); 05 Sep 2011 08:30:20 -0000 Received: from 62-47-37-192.adsl.highway.telekom.at (EHLO [62.47.37.192]) [62.47.37.192] by mail.gmx.net (mp035) with SMTP; 05 Sep 2011 10:30:20 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+X9F9xK06XnElI3OGwCFzH2ZJ38RFN76CLiGaSNe ytX0n2D8uC2tj3 Message-ID: <4E64889A.40309@gmx.at> Date: Mon, 05 Sep 2011 10:30:18 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: 3689-done@debbugs.gnu.org Subject: Re: bug#3689: window-fixed-size behaviour References: <11917.72953.qm@web26004.mail.ukl.yahoo.com> In-Reply-To: <11917.72953.qm@web26004.mail.ukl.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 3689-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: -2.5 (--) > It has been suggested that my problem might have appeared with the introduction of function adjust-window-trailing-edge. Should be fixed in current trunk. martin ------------=_1315211702-21816-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 26 Jun 2009 14:44:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=IMPRONONCABLE_2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5QEiSvq030120 for ; Fri, 26 Jun 2009 07:44:29 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKCfD-0004kh-4i for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2009 10:44:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKCf7-0004df-U4 for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2009 10:44:26 -0400 Received: from [199.232.76.173] (port=47387 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKCf7-0004dI-Ir for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2009 10:44:21 -0400 Received: from web26004.mail.ukl.yahoo.com ([217.12.10.215]:31415) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MKCf6-0001K4-S4 for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2009 10:44:21 -0400 Received: (qmail 73569 invoked by uid 60001); 26 Jun 2009 14:44:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1246027459; bh=YGIE0jweqR72hk/gjtlNSKTgsF27SdiDa9pAuPjKGlk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=pHQI0IUSes+oFQQ1IdBallEFwrXKEqcjs3HE0W+YThT6fyVWmwFvOGwsqlCxL2N5tslKW9EfaBjT06b5oDhID8PYHiFi4zcQJ5WwoN1dmFx7cniLJ835qUa1SV30EpOpWbKZqvmi5RRhPmR41dtg2+5ECzwnvAjOGCEF6e+mTjs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=6mlXOo6gQsnApeNmfzXpNzKthzQfFSeF1G2tuC9yYn0vgRAP9JGflgw7q0GA9ZUen2bkGc96ULjcBwo+WKb0hrmc+x3NNYvBh40LxVGnZA0o6z40wk5QBqxgWH/i+sPvgkxt4hVrRjc6cL+FpKowmGdtWwFs3gTW1S75unZYuyI=; Message-ID: <11917.72953.qm@web26004.mail.ukl.yahoo.com> X-YMail-OSG: M5BrM3gVM1mxQRMxMtkqLmNXY7mGyuPMZu0JyoNIPUdHNMcF3nsuObsJ3KP8XfkJTUiCl7iDQm8nTGh25gYb3IyHsT3xQr6WOLlP0ohCEazBC0ivRIGbqw.5NugYZggBF_u3FcmqZ5QnkyNyr_dMMZ.uwG2fk52buxucA69llTM8hdXfamtIt5aM92GRzd.MMJSmCA217E5Ge_ECVDeCvG2SgaTMMhHWJck80IhWDB4saAslpijx291y70LnGGYlTjC3SQ9CrFNW2B0kImNlHPzm74C9PP3WQz0kgyw4PDoB4.itHGs_P3zufMSkzIpo2JntSJE_8n5jG6PdaJIZvqYDWvg3ATix7vE- Received: from [91.163.5.39] by web26004.mail.ukl.yahoo.com via HTTP; Fri, 26 Jun 2009 14:44:18 GMT X-Mailer: YahooMailRC/1357.22 YahooMailWebService/0.7.289.15 Date: Fri, 26 Jun 2009 14:44:18 +0000 (GMT) From: hjuvi Subject: window-fixed-size behaviour To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) =0A=0AChanging from emacs21 (GNU Emacs 21.4.1) to emacs22-gtk (GNU Emacs 22= .1.1) (on Ubuntu desktop), I'm no longer able to have window-size-fixed wor= k properly - or at least how I expect it to work.=0A=0A=0AI've been using i= t to have a window with fixed size in the middle of the frame.=0A=0AOn emac= s21, I can change the size of other windows, this particular one moves up a= nd down but always keep the same height. This is how I expect it to work...= =0A=0AOn emacs22, if I drag from the upper side (mode-line) of the window, = it enlarges (which should not happen). If I drag from the lower side of the= window, it doesn't move at all !...=0A=0A=0AWhy is the behaviour different= between emacs21 and emacs22 ?=0AThe behaviour on emacs21 matches with my n= eeds (and with the idea of window-size-fixed, I believe), whereas I cannot = get it work properly on emacs22.=0A=0A=0ABelow is some lisp code to show th= e problem : you can put it in a file test.el, and call : emacs -q -l test.e= l=0A=0A=0A(setq inhibit-startup-message t) =0A(split-window-vertically) =0A= (split-window-vertically) =0A(split-window-horizontally) =0A(switch-to-buff= er (get-buffer-create "buffer1")) =0A(select-window (next-window)) =0A(swit= ch-to-buffer (get-buffer-create "buffer2")) =0A(select-window (next-window)= ) =0A(switch-to-buffer (get-buffer-create "buffer3")) =0A(select-window (ne= xt-window)) =0A(switch-to-buffer (get-buffer-create "buffer4")) =0A(select-= window (previous-window)) =0A(enlarge-window (- 5 (window-height))) =0A(set= q window-size-fixed t) =0A=0A"buffer3" window is supposed to have fixed siz= e. =0A=0A=0ANB : This problem has been discussed here :=0Ahttp://groups.goo= gle.fr/group/gnu.emacs.help/browse_thread/thread/20a054c3e179909d?hl=3Dfr#= =0A=0AIt has been suggested that my problem might have appeared with the in= troduction of function adjust-window-trailing-edge.=0A=0A=0A ------------=_1315211702-21816-1--