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: Problem with window-size-fixed Date: Sat, 25 Jul 2009 22:24:26 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_dd8ff7b3-74dc-45d2-9e30-432cce3cbcfc_" X-Trace: ger.gmane.org 1248553485 30589 80.91.229.12 (25 Jul 2009 20:24:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jul 2009 20:24:45 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 25 22:24:38 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 1MUnnJ-0007o5-Ju for ged-emacs-devel@m.gmane.org; Sat, 25 Jul 2009 22:24:37 +0200 Original-Received: from localhost ([127.0.0.1]:47459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MUnnI-0001Ec-Tn for ged-emacs-devel@m.gmane.org; Sat, 25 Jul 2009 16:24:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MUnnE-0001D7-BD for emacs-devel@gnu.org; Sat, 25 Jul 2009 16:24:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MUnn9-00013O-HG for emacs-devel@gnu.org; Sat, 25 Jul 2009 16:24:31 -0400 Original-Received: from [199.232.76.173] (port=41113 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MUnn9-00013G-FB for emacs-devel@gnu.org; Sat, 25 Jul 2009 16:24:27 -0400 Original-Received: from blu0-omc4-s36.blu0.hotmail.com ([65.55.111.175]:41648) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MUnn9-0007DP-7a for emacs-devel@gnu.org; Sat, 25 Jul 2009 16:24:27 -0400 Original-Received: from BLU104-W16 ([65.55.111.135]) by blu0-omc4-s36.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 25 Jul 2009 13:24:27 -0700 X-Originating-IP: [90.32.161.134] Importance: Normal X-OriginalArrivalTime: 25 Jul 2009 20:24:27.0581 (UTC) FILETIME=[E86D36D0:01CA0D65] 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:113145 Archived-At: --_dd8ff7b3-74dc-45d2-9e30-432cce3cbcfc_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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. _________________________________________________________________ T=E9l=E9phonez gratuitement =E0 tous vos proches avec Windows Live Messenge= r=A0 !=A0 T=E9l=E9chargez-le maintenant ! http://www.windowslive.fr/messenger/1.asp= --_dd8ff7b3-74dc-45d2-9e30-432cce3cbcfc_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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= ! = --_dd8ff7b3-74dc-45d2-9e30-432cce3cbcfc_--