From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Vincent_Bela=EFche?= Newsgroups: gmane.emacs.devel Subject: RE: Problem with window-size-fixed Date: Wed, 29 Jul 2009 19:45:21 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_91dceb51-f452-4a6b-83c0-acfa5a26fc46_" X-Trace: ger.gmane.org 1248889542 18819 80.91.229.12 (29 Jul 2009 17:45:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jul 2009 17:45:42 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 29 19:45:36 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MWDDa-0003IP-VI for ged-emacs-devel@m.gmane.org; Wed, 29 Jul 2009 19:45:35 +0200 Original-Received: from localhost ([127.0.0.1]:57964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWDDa-0007NO-C9 for ged-emacs-devel@m.gmane.org; Wed, 29 Jul 2009 13:45:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWDDV-0007N4-DB for emacs-devel@gnu.org; Wed, 29 Jul 2009 13:45:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWDDQ-0007LW-GU for emacs-devel@gnu.org; Wed, 29 Jul 2009 13:45:29 -0400 Original-Received: from [199.232.76.173] (port=56020 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWDDQ-0007LT-AJ for emacs-devel@gnu.org; Wed, 29 Jul 2009 13:45:24 -0400 Original-Received: from blu0-omc4-s38.blu0.hotmail.com ([65.55.111.177]:51242) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWDDO-0006TE-Ll for emacs-devel@gnu.org; Wed, 29 Jul 2009 13:45:24 -0400 Original-Received: from BLU104-W20 ([65.55.111.137]) by blu0-omc4-s38.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 29 Jul 2009 10:45:21 -0700 X-Originating-IP: [90.32.16.97] Importance: Normal In-Reply-To: X-OriginalArrivalTime: 29 Jul 2009 17:45:21.0901 (UTC) FILETIME=[586909D0:01CA1074] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113351 Archived-At: --_91dceb51-f452-4a6b-83c0-acfa5a26fc46_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C So=2C what shall I do with this ? Shall I submit a bug=2C or is that a kno= wn problem that will be solved with some redesigning of window handling alo= ng latest discussion on this email reflector ? Vincent. From: vincent.b.1@hotmail.fr To: emacs-devel@gnu.org Date: Sat=2C 25 Jul 2009 22:24:26 +0200 Subject: Problem with window-size-fixed Dear EMACS experts=2C A problem concerning window-size-fixed was reported on newsgroupfr.comp.app= lications.emacs=20 (http://groups.google.fr/group/fr.comp.applications.emacs/browse_thread/thr= ead/f617026a5906fcd3#) To see the problem put the following code into a file=20 test.el and launch emacs with: emacs -q -l test.el=20 =3B---------------------------------------------- (setq inhibit-startup-message t)=20 (split-window-vertically)=20 (split-window-vertically)=20 (split-window-horizontally)=20 (switch-to-buffer (get-buffer-create "buffer1"))=20 (select-window (next-window))=20 (switch-to-buffer (get-buffer-create "buffer2"))=20 (select-window (next-window))=20 (switch-to-buffer (get-buffer-create "buffer3"))=20 (select-window (next-window))=20 (switch-to-buffer (get-buffer-create "buffer4"))=20 (select-window (previous-window))=20 (enlarge-window (- 5 (window-height)))=20 (setq window-size-fixed t) =3B---------------------------------------------- I have tested this with the very latest CVS version GNU Emacs 23.1.50.1 (i3= 86-mingw-nt5.0.2195) of 2009-07-25 (sorry again for the disturbance and th= anks to Eli for help)=20 and the same problem happens.=20 So what happens is that I correctly get the following window partitionning: Buffer 1 | Buffer 2=20 ---------+---------=20 Buffer 3=20 -------------------=20 Buffer 4=20 -------------------=20 with buf 1 and 2 of 7 rows=2C buf 3 of 4 rows=2C and buf 4 taking the remai= nder (that is 38=20 rows for me). The issue is that buffer 3 is supposed to be fixed-size. This is true if yo= u use `C-u N C-x ^' for re-dimensionning=2C but it is not true if you try t= o do it by mouse=2C in that case buffer 4 is fixed-size instead. Best regards=2C Vincent. Discutez sur Messenger o=F9 que vous soyez ! Mettez Messenger sur votre mob= ile ! _________________________________________________________________ D=E9couvrez toutes les possibilit=E9s de communication avec vos proches http://www.microsoft.com/windows/windowslive/default.aspx= --_91dceb51-f452-4a6b-83c0-acfa5a26fc46_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C
So=2C =A0what shall I do with this ? Shall I submit a bug=2C or= is that a known problem that will be solved with some redesigning of windo= w handling along latest discussion on this email reflector ?
=A0 =A0Vinc= ent.




From: vincent.b.1@hotmail.frTo: emacs-devel@gnu.org
Date: Sat=2C 25 Jul 2009 22:24:26 +0200
Subj= ect: Problem with window-size-fixed

Dear EMACS experts=2C
A problem concerning window-size-fixed was reporte= d on newsgroupfr.comp.applications.emacs
(http://groups.google.fr/group= /fr.comp.applications.emacs/browse_thread/thread/f617026a5906fcd3#)
To s= ee the problem put the following code into a file=A0
test.el and launch = emacs with: emacs -q -l test.el=A0

=3B------------------------------= ----------------
(setq inhibit-startup-message t)=A0
(split-window-ve= rtically)=A0
(split-window-vertically)=A0
(split-window-horizontally)= =A0
(switch-to-buffer (get-buffer-create "buffer1"))=A0
(select-windo= w (next-window))=A0
(switch-to-buffer (get-buffer-create "buffer2"))=A0<= BR>(select-window (next-window))=A0
(switch-to-buffer (get-buffer-create= "buffer3"))=A0
(select-window (next-window))=A0
(switch-to-buffer (g= et-buffer-create "buffer4"))=A0
(select-window (previous-window))=A0
= (enlarge-window (- 5 (window-height)))=A0
(setq window-size-fixed t)
= =3B----------------------------------------------

I have tested this= with the very latest CVS version GNU Emacs 23.1.50.1 (i386-mingw-nt5.0.219= 5) of 2009-07-25=A0 (sorry again for the disturbance and thanks to Eli for = help)
and the same problem happens.=A0
So what happens is that I cor= rectly get the following window partitionning:
Buffer 1 | Buffer 2=A0---------+---------=A0
=A0 Buffer 3=A0
-------------------=A0=A0 Buffer 4=A0
-------------------=A0

with buf 1 and 2 of 7= rows=2C buf 3 of 4 rows=2C and buf 4 taking the remainder (that is 38=A0rows 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=2C but it is no= t true if you try to do it by mouse=2C in that case buffer 4 is fixed-size = instead.

Best regards=2C
=A0 =A0 Vincent.





= Discutez sur Messenger o=F9 que vous soyez ! Mettez Messenger sur votre mobile !

D= =E9couvrez toutes les possibilit=E9s de communication avec vos p= roches = --_91dceb51-f452-4a6b-83c0-acfa5a26fc46_--