spacemacs/layers/+spacemacs
Miciah 4972855231 Fix updating buffer names in window configurations
Eyebrowse stores window configurations for workspaces in frame properties.
These window configurations reference buffers by name, which means that
these references must be updated when a buffer is renamed.  To this end,
eyebrowse advises rename-buffer.

Spacemacs integrates eyebrowse with persp-mode by saving the eyebrowse
workspaces for a perspective as a parameter for that perspective so that
Spacemacs can restore a perspective's workspaces when switching to that
perspective.  However, eyebrowse's advice for rename-buffer fails to update
inactive workspaces, for which the window configurations are stored in
perspective parameters and not frame properties.

This commit disables eyebrowse's advice and adds perspective-aware advice
to update buffer references in workspace window configurations.

* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//fixup-window-configs): New.
* layers/+spacemacs/spacemacs-layouts/packages.el
(spacemacs-layouts/init-eyebrowse): Remove eyebrowse-fixup-window-configs
advice for rename-buffer and advise with spacemacs//fixup-window-configs
instead.
2018-08-21 23:27:31 +03:00
..
spacemacs-completion Move helm variable from helm layer to spacemacs-completion layer 2018-06-16 00:02:59 -04:00
spacemacs-defaults spacemacs-defaults: add a keybind to open a file and replace buffer with it 2018-08-21 00:55:37 +03:00
spacemacs-editing Fix smart-closing-parenthesis extra parenthesis 2018-08-04 10:48:00 -04:00
spacemacs-editing-visual Defer volatile hightlight by 2 seconds 2018-06-14 02:06:19 -04:00
spacemacs-evil Load evil-surround when entering operator state 2018-07-12 11:56:20 +03:00
spacemacs-language
spacemacs-layouts Fix updating buffer names in window configurations 2018-08-21 23:27:31 +03:00
spacemacs-misc
spacemacs-modeline spaceline: fix copy-paste error in lazy-load hook name 2018-06-20 09:51:45 +03:00
spacemacs-navigation Lazy load flx-ido 2018-06-14 21:09:40 -04:00
spacemacs-org
spacemacs-project Fix the projectile layer 2018-07-09 23:17:08 +02:00
spacemacs-purpose Remove obsolete purpose-conf argument for good 2018-06-20 23:56:41 +03:00
spacemacs-visual Adds *Process List* to popwin:special-display-config 2018-06-26 09:11:17 +03:00