I'm giving the visual tab-bar a try, by making it less ugly than it is
by default. Hopefully I won't mind it taking up one full row at the top
of the frame.
Packages that need to be loaded on emacs startup, should just be loaded
through use-package in a non-deferred manner.
It makes no real difference to startup, loading the packages either
slows down emacs before "startup" is complete, or right after it
completes. End result is that Emacs is unresponsive for basically the
same amount of time regardless.
Recent native-comp builds glitch out running in a terminal when
tab-bar-mode is enabled and tab-bar-show is set to nil. I'm not sure if
it's a native-comp specific thing, or just latest emacs-28 dev.
Due to changes to use-package's :custom option, my abuse of it to set
custom variables no longer works and yields errors.
Instead correctly set custom variables with defvar.
If you launch Emacs by giving it a file to open, the auto-loading of the
default desktop would remove that file, as it is not likely to be part
of the default desktop.
Instead desktop management is now disabled until you specifically load a
desktop with `desktop+-load-or-create` (bound to `C-z C-z C-s`).
Most visual/theme related frame parameters I prefer coming from the
active config, rather than being restored to what they were when the
desktop/session file was saved.
Previously I've always kinda "hacked" things to get C-z prefixes for
various workspace-related packages to work. Now it's finally setup
correctly with a custom siren-workspace-map keymap bound to C-z, and
relevant packages adding keybindings to it.
- Improve the switch to previous / recent list of persps.
- Add a indexes when showing list of current persps.
- Add `C-z <num>` keybindings to switch to persp by index.
Keep a list of most recently visited persps whenever you switch, and
enable switching back and forth between the current and most recently
visited persp.
Also when killing current persp, switch to the most recently visited
persp, instead of back to the default/nil persp.
Minor bug remaining is that the when killing current persp, the echo
area shows all persps like usual when switching, but it includes the
persp that was just killed, despite it already being killed.
Persp-mode doesn't quite manage to restore magit buffers correctly, so
I've opted to have it ignore any and all magit buffers when performing
it's auto-save.
It is possible to configure it to know how to save and load the
magit-status buffer for example, but the snippet for it from
persp-mode's readme doesn't fully restore the buffer as is. And magit
has many different kinds of buffers, so I've simply opted for having all
ignored.
Ever since I started using persp-mode, launching Emacs in a terminal has
made it restore the same set of open files as in my main GUI instance of
Emacs. This hasn't been a big deal, but still somewhat annoying.
I've finally gotten around to disabling persp-mode's auto save/load
feature when running Emacs in a terminal.
And for good measure, I also set the theme to be doom-vibrant in the
terminal too. My old tomorrow-night-paradise is way out of date, and
nowhere near as good as doom-vibrant.