Doom-emacs: `doom/window-enlargen` will restore window configure from other workspace

Created on 14 Aug 2020  Â·  4Comments  Â·  Source: hlissner/doom-emacs

I have multiple workspaces and expect the doom/window-enlargen only restore the window configure in the same workspace.

But it will restore the window configure from other workspace if last enlargen command is called in different workspace.

I think each workspace should have its own stored window configuration.

:core lib :ui workspaces bug interface

All 4 comments

As of 702fb6e this issue should be resolved. Let me know if that isn't the case and I'll reopen it. Thanks for bringing it to my attention!

First, thank for the quick fix for this.

I have tried it. It is not mixed the workspace now. But I still have issue, here is the example:

  1. In workspace 1, let's call the window configure as window config 1, do enlarge SPC w o
  2. Switch to workspace 2, SPC w o
  3. jump back to workspace 1, the SPC w o does nothing, I expect it should restore it back to window config 1

Does this fix the issue?

(add-to-list 'window-persistent-parameters '(doom--maximize-last-wconf . t))
(add-to-list 'window-persistent-parameters '(doom--enlargen-last-wconf . t))

Sorry to say it doesn't. Still same behaviour

Was this page helpful?
0 / 5 - 0 ratings