From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#32720: term-mode ignores certain window size changes Date: Wed, 16 Jan 2019 18:30:09 +0100 Message-ID: <5C3F6A21.5040907@gmx.at> References: <5C1F9038.30604@gmx.at> <5C1FCDD0.4070303@gmx.at> <5C21FD94.8070005@gmx.at> <5C289582.5010700@gmx.at> <5C2A24AA.5060908@gmx.at> <5C2BA293.3080303@gmx.at> <5C2BA9A5.1050801@gmx.at> <5C3860C8.8080805@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1547659752 19647 195.159.176.226 (16 Jan 2019 17:29:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2019 17:29:12 +0000 (UTC) Cc: 32720@debbugs.gnu.org To: Gary Fredericks Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 16 18:29:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjozz-0004zp-Qt for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jan 2019 18:29:08 +0100 Original-Received: from localhost ([127.0.0.1]:55789 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjp26-0007ZS-Up for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jan 2019 12:31:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjp1r-0007ZL-0K for bug-gnu-emacs@gnu.org; Wed, 16 Jan 2019 12:31:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjp1q-0004zv-7R for bug-gnu-emacs@gnu.org; Wed, 16 Jan 2019 12:31:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34537) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjp1q-0004zp-3a for bug-gnu-emacs@gnu.org; Wed, 16 Jan 2019 12:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gjp1p-0000jt-OJ for bug-gnu-emacs@gnu.org; Wed, 16 Jan 2019 12:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Jan 2019 17:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32720 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32720-submit@debbugs.gnu.org id=B32720.15476598272802 (code B ref 32720); Wed, 16 Jan 2019 17:31:01 +0000 Original-Received: (at 32720) by debbugs.gnu.org; 16 Jan 2019 17:30:27 +0000 Original-Received: from localhost ([127.0.0.1]:33818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjp1G-0000j8-U5 for submit@debbugs.gnu.org; Wed, 16 Jan 2019 12:30:27 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:40479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjp1F-0000iu-D5 for 32720@debbugs.gnu.org; Wed, 16 Jan 2019 12:30:25 -0500 Original-Received: from [192.168.1.100] ([212.95.5.61]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MZTP3-1gxm4433UL-00LIhQ; Wed, 16 Jan 2019 18:30:17 +0100 In-Reply-To: X-Provags-ID: V03:K1:dwTPzGZN/+n22bZ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JWl X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:154488 Archived-At: > I tracked down my issue to this line in my configuration: > > https://github.com/gfredericks/dotfiles/blob/48c503319046517fc1767735d09fbb232ace12ba/base/.emacs.d/user/gfredericks-longrunning.el.symlink#L34 > > I can see how it's related, since it's adding a > window-configuration-change-hook, but I can't tell at a glance what's wrong > with it. It's a function that tries to save the current window > configuration to a variable each time it changes. ... >> > it complains about the minibuffer being active). The error seems to come from this wg function: (defun wg-error-on-active-minibuffer () "Throw an error when the minibuffer is active." (when (active-minibuffer-window) (error "Workgroup operations aren't permitted while the \ minibuffer is active."))) 'window-configuration-change-hook' now conceptually runs after any resize operation which includes states where the minibuffer window is active. FWIW the call sequence you encounter is stash-my-working-config -> wg-make-wconfig -> wg-ewtree->wtree -> wg-error-on-active-minibuffer so maybe you should not stash your working configuration when the minibuffer is active. martin