GNU bug report logs -
#3689
window-fixed-size behaviour
Previous Next
Reported by: hjuvi <hjuvi-google <at> yahoo.fr>
Date: Fri, 26 Jun 2009 14:50:04 UTC
Severity: normal
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3689 in the body.
You can then email your comments to 3689 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3689
; Package
emacs
.
(Fri, 26 Jun 2009 14:50:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
hjuvi <hjuvi-google <at> yahoo.fr>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 26 Jun 2009 14:50:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Changing from emacs21 (GNU Emacs 21.4.1) to emacs22-gtk (GNU Emacs 22.1.1) (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, 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 ?
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.
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.
NB : This problem has been discussed here :
http://groups.google.fr/group/gnu.emacs.help/browse_thread/thread/20a054c3e179909d?hl=fr#
It has been suggested that my problem might have appeared with the introduction of function adjust-window-trailing-edge.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3689
; Package
emacs
.
(Thu, 20 Aug 2009 20:36:52 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Vincent Belaïche <vincent.b.1 <at> hotmail.fr>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 20 Aug 2009 20:36:52 GMT)
Full text and
rfc822 format available.
Message #10 received at 3689 <at> emacsbugs.donarmstrong.com (full text, mbox):
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 sent
to
martin rudalics <rudalics <at> gmx.at>
:
You have taken responsibility.
(Mon, 05 Sep 2011 08:35:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
hjuvi <hjuvi-google <at> yahoo.fr>
:
bug acknowledged by developer.
(Mon, 05 Sep 2011 08:35:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 3689-done <at> debbugs.gnu.org (full text, mbox):
> It has been suggested that my problem might have appeared with the introduction of function adjust-window-trailing-edge.
Should be fixed in current trunk.
martin
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 03 Oct 2011 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 321 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.