GNU bug report logs - #32720
term-mode ignores certain window size changes

Previous Next

Package: emacs;

Reported by: Gary Fredericks <fredericksgary <at> gmail.com>

Date: Wed, 12 Sep 2018 15:24:01 UTC

Severity: minor

Fixed in version 26.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #133 received at 32720 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Gary Fredericks <fredericksgary <at> gmail.com>
Cc: eliz <at> gnu.org, 32720 <at> debbugs.gnu.org
Subject: Re: bug#32720: term-mode ignores certain window size changes
Date: Wed, 16 Jan 2019 18:30:09 +0100
> 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




This bug report was last modified 4 years and 274 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.