From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vincent =?UTF-8?Q?Bela=C3=AFche?= Newsgroups: gmane.emacs.bugs Subject: bug#3689: Problem with window-size-fixed Date: Wed, 19 Aug 2009 20:35:58 +0200 Message-ID: <87ocqbejn5.fsf@gmail.com> Reply-To: Vincent =?UTF-8?Q?Bela=C3=AFche?= , 3689@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250862112 28478 80.91.229.12 (21 Aug 2009 13:41:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2009 13:41:52 +0000 (UTC) To: 3689@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 21 15:41:45 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MeUNE-0005dG-AI for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Aug 2009 15:41:44 +0200 Original-Received: from localhost ([127.0.0.1]:36888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeUND-0005rx-Qr for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Aug 2009 09:41:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeEtw-0000Wj-4y for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:10:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeEtr-0000Gv-5l for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:10:27 -0400 Original-Received: from [199.232.76.173] (port=55422 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeEtq-0000GQ-MO for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:10:22 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52315) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MeEtq-0007El-38 for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:10:22 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7KKkpo6019227; Thu, 20 Aug 2009 13:48:01 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7KKaqno017357; Thu, 20 Aug 2009 13:36:52 -0700 Resent-Date: Thu, 20 Aug 2009 13:36:52 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Vincent =?UTF-8?Q?Bela=C3=AFche?= Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 20 Aug 2009 20:36:52 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3689 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3689-submit@emacsbugs.donarmstrong.com id=B3689.125070686929395 (code B ref 3689); Thu, 20 Aug 2009 20:36:52 +0000 Original-Received: (at 3689) by emacsbugs.donarmstrong.com; 19 Aug 2009 18:34:29 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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) Original-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) Original-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 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 20 Aug 2009 17:10:27 -0400 X-Mailman-Approved-At: Fri, 21 Aug 2009 09:31:22 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30429 Archived-At: 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.