all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: hjuvi <hjuvi-google@yahoo.fr>
To: help-gnu-emacs@gnu.org
Subject: window-size-fixed behaviour on emacs22-gtk
Date: Sat, 13 Jun 2009 00:52:18 -0700 (PDT)	[thread overview]
Message-ID: <6b71efd9-3e79-47fb-972c-47e8d31f8c82@r10g2000yqa.googlegroups.com> (raw)

Hello,

Changing from emacs21 to emacs22-gtk (on Ubuntu desktop), I'm no
longer able to have window-size-fixed work properly - or at least how
I expect it to work :)

I've been using it to have a window with fixed size in the middle of
the frame.

On emacs21, I can change the size of other windows, this particular
one moves up and down but always keep the same height. This is how I
expect it to work...

On emacs22-gtk, 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 !...

Why is the behaviour different between emacs21 and emacs22-gtk ?
The behaviour on emacs21 matches with my needs (and with the idea of
window-size-fixed, I believe), whereas I cannot get it work properly
on emacs22-gtk.

Below is some lisp code to show the problem : you can put it in a file
test.el, and call : 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)

"buffer3" window is supposed to have fixed size.

Thanks to anyone who can help me...

If the behaviour of window-size-fixed is unpredictable - depending on
which version of emacs I use - I will have to remove the feature that
need it, so I hope there is a solution...


             reply	other threads:[~2009-06-13  7:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-13  7:52 hjuvi [this message]
2009-06-22  8:29 ` window-size-fixed behaviour on emacs22-gtk hjuvi
  -- strict thread matches above, loose matches on Subject: below --
2009-06-22 13:07 martin rudalics
     [not found] <mailman.1077.1245676035.2239.help-gnu-emacs@gnu.org>
2009-06-23 14:45 ` hjuvi
2009-06-27  8:06   ` hjuvi

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

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

  git send-email \
    --in-reply-to=6b71efd9-3e79-47fb-972c-47e8d31f8c82@r10g2000yqa.googlegroups.com \
    --to=hjuvi-google@yahoo.fr \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.