unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
To: 3689@emacsbugs.donarmstrong.com
Subject: bug#3689: Problem with window-size-fixed
Date: Wed, 19 Aug 2009 20:35:58 +0200	[thread overview]
Message-ID: <87ocqbejn5.fsf@gmail.com> (raw)

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.







                 reply	other threads:[~2009-08-19 18:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ocqbejn5.fsf@gmail.com \
    --to=vincent.b.1@hotmail.fr \
    --cc=3689@emacsbugs.donarmstrong.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).