From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: E Sabof Newsgroups: gmane.emacs.bugs Subject: bug#16738: Errors while resizing vertically Date: Thu, 13 Feb 2014 10:06:13 +0000 Message-ID: <87y51fnx7u.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392286041 25777 80.91.229.3 (13 Feb 2014 10:07:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2014 10:07:21 +0000 (UTC) To: 16738@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 13 11:07:28 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WDtCV-0005wK-Ow for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Feb 2014 11:07:24 +0100 Original-Received: from localhost ([::1]:45359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDtCV-0002di-8o for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Feb 2014 05:07:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDtCJ-0002dW-76 for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 05:07:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDtCA-0005Jm-QC for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 05:07:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDtCA-0005Ji-Lp for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 05:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WDtCA-0005Wc-Ch for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 05:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: E Sabof Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2014 10:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16738 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug-Gnu-Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.139228601121208 (code B ref -1); Thu, 13 Feb 2014 10:07:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Feb 2014 10:06:51 +0000 Original-Received: from localhost ([127.0.0.1]:50000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDtBy-0005W0-JI for submit@debbugs.gnu.org; Thu, 13 Feb 2014 05:06:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44470) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDtBv-0005Vl-BT for submit@debbugs.gnu.org; Thu, 13 Feb 2014 05:06:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDtBh-0005E3-Nk for submit@debbugs.gnu.org; Thu, 13 Feb 2014 05:06:42 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:51245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDtBh-0005Dz-Kp for submit@debbugs.gnu.org; Thu, 13 Feb 2014 05:06:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDtBZ-0001tH-0M for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 05:06:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDtBQ-0005BJ-JS for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 05:06:24 -0500 Original-Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:60934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDtBQ-0005BE-BL for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 05:06:16 -0500 Original-Received: by mail-wi0-f176.google.com with SMTP id hi5so8302434wib.15 for ; Thu, 13 Feb 2014 02:06:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:from:to:subject:date:message-id:mime-version :content-type; bh=UQgK8GPD5GAlZGzFrpkGkXaq2XiFh3si4cnAGOyQfBg=; b=mECF0dd10oMBM7LpO4uW75wVVhvp73/Iw7PwUmasBO6UA6LU8YW0crLKs9j1BFS1ZQ lORxu1ufoCx4i6cpIwJ0XHgkTskhr3oWgDNnLIWjEF3hH4znt6M2Bh3RuYCG/qXqybiH XQX3ESrGegqK5iz/y8DW5nbvrQ6qw4UAMiGqDRofR3DE7IfF0kso/HyKDecNAB7h8CcE Ttdef/eucr+CXoPTVPIvGUo9H8FU1gud8K2Cnex47nKcvIyFNJTsSI1fFiE40h0ydbNi XYyxTc8f6THDbAT9skkBJ96gC5wpwv005TwxBRb4+Oc6vKVnzVhYPBnMeMxPiRdAgynZ /jDw== X-Received: by 10.194.63.228 with SMTP id j4mr575236wjs.34.1392285975481; Thu, 13 Feb 2014 02:06:15 -0800 (PST) Original-Received: from ubuntu ([2.218.154.175]) by mx.google.com with ESMTPSA id ev4sm4094095wib.1.2014.02.13.02.06.14 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 13 Feb 2014 02:06:14 -0800 (PST) User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.3 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85458 Archived-At: 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 #") signal(error ("Cannot resize window #")) error("Cannot resize window %s" #) window-resize(# 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(# -17 t) window--resize-child-windows(# -595 nil # nil nil nil nil) window--resize-siblings(# 595 nil nil) window-resize(# 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)