If the window or user's resolution was too small (or their font was too
big), the text properties of the first (spacing) line of the dashboard
would bleed into the second (typically the first line of the ASCII
banner), uncentering it.
Fix: #8769
BREAKING CHANGE: If you are using the `hide-mode-line` package, use
`mode-line-invisible-mode` instead. This mode was introduced in Emacs
31, but has been backported since it is so widely used in Doom (and so
we can drop another core dependency).
There is no replacement for `global-hide-mode-line`, however. You'll
have to install `hide-mode-line` if you were using it.
This settings lets you horizontally and/or vertically anchor the
dashboard contents to one of the edges of the window. The default is to
center it (as it always has).
Also adds `+dashboard-insert` function to replace
`+dashboard-insert-centered` and `+dashboard-center` (which are now
deprecated).
This makes non-evil goggles consistent with the `evil-goggles-enable-delete`
setting. Additionally, having `delete-region` hinting enabled is a nuisance
for commands which utilize `delete-region` internally. For example, pressing
`RET` on an indented empty line will cause pulsing. This happens because
`newline-and-indent` will remove the empty line's indentation (using
`delete-horizontal-space` which ends up using `delete-region`) before inserting
a newline and indenting that line.
Emacs is designed to display the buffer returned by
`initial-buffer-choice` alongside any other files opened at the
command-line (i.e. with window splits). This is not desireable for a
dashboard.
Revert: 77f2b5abbb
Prevents indent-bars spamming the bar bitmap over every character in a
vimish-fold folded region, or leavin the indent guides blank on the
affected lines when unfolding them.
Because the dashboard may change its `default-directory` in the
background, when opening a file straight from the dashboard, to a
directory with a .dir-locals.el that contains unsafe/risky variables,
causing a redundant prompt.
This accomplishes a few things:
- Prevents indent guides from showing on blank lines *beyond* an
indented block (e.g. a function).
- Avoids gaps in indent guides on empty lines *within* an indented
block.
- Reduces jumpiness when scrolling across some indented/empty lines at
the top or bottom edge of the window (as if `scroll-margin` was
changed between 0 and 1 on certain lines). The issue still exists (and
needs to be reported upstream), but is less pronounced with this
setting.
These groups' parents are their source (aka the module library they
belong to). They will be:
- doomemacs/core = doom
- doomemacs/modules = doom+
- doomemacs/modules-contrib = doom++
And this module belongs to doom+.
Some were outdated, some were incorrectly labeled, others were already
completed, some were missing... Gotta fix them all.
Also, in :ui hl-todo, there are comments that describe how Doom uses
each of these annotations; those have been updated.
In the spirit of 6f40ad5, I'm deprecating this macro because it doesn't
provide enough value to exist and serves only to complicate a casual
reader's understanding of Doom's modules.
Ref: 6f40ad55f5
And use it to replace the various `posframe-delete-all` hooks littered
about to clean up child/posframes in contexts where they may linger
after destructive operations (like changing the active workspace or
executing `doom/reload`).