From: martin rudalics <rudalics@gmx.at>
To: E Sabof <esabof@gmail.com>
Cc: 16738@debbugs.gnu.org
Subject: bug#16738: Errors while resizing vertically
Date: Fri, 21 Feb 2014 14:07:32 +0100 [thread overview]
Message-ID: <53074F94.9090303@gmx.at> (raw)
In-Reply-To: <87y51fnx7u.fsf@gmail.com>
> 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)
Hopefully fixed with revision 116504 on trunk. Please try again.
martin
next prev parent reply other threads:[~2014-02-21 13:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-13 10:06 bug#16738: Errors while resizing vertically E Sabof
2014-02-14 11:39 ` martin rudalics
2014-02-15 2:08 ` E Sabof
2014-02-16 10:32 ` martin rudalics
2014-02-21 13:07 ` martin rudalics
2014-02-21 20:29 ` Paul Eggert
2014-02-21 21:29 ` martin rudalics
2014-02-24 0:03 ` E Sabof
2014-02-24 7:40 ` martin rudalics
2014-02-24 13:06 ` E Sabof
2014-02-26 10:15 ` martin rudalics
2014-02-21 13:07 ` martin rudalics [this message]
2014-09-19 8:18 ` martin rudalics
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=53074F94.9090303@gmx.at \
--to=rudalics@gmx.at \
--cc=16738@debbugs.gnu.org \
--cc=esabof@gmail.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).