GNU bug report logs -
#16738
Errors while resizing vertically
Previous Next
Reported by: E Sabof <esabof <at> gmail.com>
Date: Thu, 13 Feb 2014 10:07:02 UTC
Severity: normal
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Another one without a clear recipe. I am using the following function on a fairly regular basis:
(defun es-maximize-window-vertically (&optional window)
(interactive)
(cl-callf window-normalize-window window)
(unless (eq window (frame-root-window))
(window-resize window (window-max-delta window))))
In combination with:
(setq window-min-height 1)
Sometimes it causes errors such as the ones below. In this state a) I can't resize any windows, using the above function. b) I can still resize using the mouse. c) Once I do, I usually can resize once with this function, but then I get a similar error again.
Evgeni
BACKTRACE1:
Debugger entered--Lisp error: (error "Cannot resize window #<window 128 on *Ack-and-a-half*>")
signal(error ("Cannot resize window #<window 128 on *Ack-and-a-half*>"))
error("Cannot resize window %s" #<window 128 on *Backtrace*>)
window-resize(#<window 128 on *Backtrace*> 28)
(if (eq window (frame-root-window)) nil (window-resize window (window-max-delta window)))
es-maximize-window-vertically()
call-interactively(es-maximize-window-vertically nil nil)
command-execute(es-maximize-window-vertically)
BACKTRACE2
Debugger entered--Lisp error: (args-out-of-range -17 0 2147483647)
set-window-new-pixel(#<window 299 on *mu4e-headers*> -17 t)
window--resize-child-windows(#<window 301> -595 nil #<window 303 on *Backtrace*> nil nil nil nil)
window--resize-siblings(#<window 303 on *Backtrace*> 595 nil nil)
window-resize(#<window 303 on *Backtrace*> 35)
(if (eq window (frame-root-window)) nil (window-resize window (window-max-delta window)))
es-maximize-window-vertically()
call-interactively(es-maximize-window-vertically nil nil)
command-execute(es-maximize-window-vertically)
This bug report was last modified 10 years and 309 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.