Commit graph

1711 commits

Author SHA1 Message Date
Henrik Lissner
8a3f52ba7a
bump: :ui
emacs-lsp/lsp-focus@e3e666f447 -> emacs-lsp/lsp-focus@675a20610c
emacs-lsp/lsp-treemacs@49df7292c5 -> emacs-lsp/lsp-treemacs@0104931991
tarsius/hl-todo@cdd8a5bc8d -> tarsius/hl-todo@9a147b9a30

lsp-focus and lsp-treemacs dropped Emacs 28.x support.
2026-05-12 18:37:10 -04:00
Henrik Lissner
b04599f374
tweak(dashboard): reduce banner's bottom padding by 1 2026-05-08 15:35:00 -04:00
Henrik Lissner
a02f985ea6
fix(dashboard): uncentered first line on small displays
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
2026-05-08 15:33:11 -04:00
Henrik Lissner
dfd506bbba
fix(ligatures): doctor.el: comment header & lexical-binding 2026-05-07 01:17:39 -04:00
Henrik Lissner
b52818be56
refactor: modules: drop Emacs 28 support (part 2)
Removing 27-28 compatibility code from modules, since 28.x support was
dropped in 9fbae87.

Ref: 9fbae872c5
2026-05-07 01:17:08 -04:00
Tim Ruffing
469693e8eb
refactor(dashboard): hide cursor in evil correctly
Amend: cf59eedd9c
2026-05-05 17:28:34 -04:00
Henrik Lissner
bead7a7748
refactor!: backport mode-line-invisible-mode & drop hide-mode-line
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.
2026-05-05 17:27:36 -04:00
Henrik Lissner
575975c6a6
bump: :ui
dgutov/diff-hl@b965e19e6e -> dgutov/diff-hl@7d873b2f58
jdtsmith/indent-bars@6e6bb5484e -> jdtsmith/indent-bars@f95fee11d9
jdtsmith/ultra-scroll@0a9a26071e -> jdtsmith/ultra-scroll@c6decf7754
minad/goggles@73040c4dc8 -> minad/goggles@68d9909dab
seagle0128/doom-modeline@043e8eeb0a -> seagle0128/doom-modeline@871f91fad5
tarsius/hl-todo@9540fc4140 -> tarsius/hl-todo@cdd8a5bc8d
2026-05-04 18:39:33 -04:00
Henrik Lissner
92e815fb32
feat(dashboard): add +dashboard-anchor setting
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).
2026-04-26 18:36:29 -04:00
Henrik Lissner
bc3c7e74f4
docs(dashboard): add & revise docstrings 2026-04-26 18:35:33 -04:00
Henrik Lissner
cf59eedd9c
fix(dashboard): hide cursor if no buttons 2026-04-26 18:35:31 -04:00
Troy Brown
5eb006f455 tweak(goggles): disable non-evil goggles delete-region hinting
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.
2026-04-12 23:12:10 -04:00
Henrik Lissner
491a360f92
revert: refactor(dashboard): reduce work on init
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
2026-04-05 18:02:53 -04:00
Henrik Lissner
289d89377b
fix(workspaces): freeze persp-mode 2026-04-03 17:01:22 -04:00
Henrik Lissner
6c13db26bf
bump: :ui
dgutov/diff-hl@bb9af85441 -> dgutov/diff-hl@b965e19e6e
hlissner/emacs-solaire-mode@e44f11a1ff -> hlissner/emacs-solaire-mode@1bd0134194
seagle0128/doom-modeline@e3ad151fe9 -> seagle0128/doom-modeline@043e8eeb0a

Fix: #8738
2026-04-02 21:22:18 -04:00
Henrik Lissner
26f2cf9ae3
fix(hl-todo): enable in more modes
While keeping it off in documentation text modes.

Fix: #8736
2026-04-02 07:36:40 -04:00
Henrik Lissner
548d164e1b
fix: s/3.0.0-pre/2.1.0/ in deprecation warnings
Amend: 4f4911fed9
2026-04-01 23:52:01 -04:00
Henrik Lissner
61f566724a
fix(dashboard): don't switch to dashboard on doom/reload 2026-04-01 17:39:14 -04:00
Henrik Lissner
38f93d2444
bump: :ui :tools :editor
emacs-citar/citar@911a7d59c4 -> emacs-citar/citar@8d061b5d27
emacs-evil/evil-collection@d052ad2ec1 -> emacs-evil/evil-collection@8f261eb0c2
emacs-lsp/lsp-mode@197f56bf7a -> emacs-lsp/lsp-mode@9a2513cb40
emacs-straight/adaptive-wrap@d75665b9c8 -> emacs-straight/adaptive-wrap@6b9ffc18cd
emacs-straight/dape@d5ce595033 -> svaante/dape@1e86212784
jdtsmith/ultra-scroll@08758c6772 -> jdtsmith/ultra-scroll@0a9a26071e
jwiegley/ob-gptel@60e704a390 -> jwiegley/ob-gptel@cbed018a7d
karthink/gptel@ecb6276a94 -> karthink/gptel@0239c93d47
minad/goggles@81adff62ca -> minad/goggles@73040c4dc8
purcell/envrc@f44353c42c -> purcell/envrc@60820285ae
radian-software/apheleia@2bc2bb4cc2 -> radian-software/apheleia@e6e5d5523d
seagle0128/doom-modeline@1953aa47a4 -> seagle0128/doom-modeline@e3ad151fe9
2026-03-26 20:03:36 -04:00
Henrik Lissner
b613a6a739
refactor(treemacs): general reformat and revise 2026-03-26 18:47:01 -04:00
Henrik Lissner
d3aaf2f9ba
fix(dashboard): revert-buffer-function 2026-03-25 19:47:16 -04:00
Henrik Lissner
77f2b5abbb
refactor(dashboard): reduce work on init
And set `doom-fallback-buffer-name` and `initial-buffer-choice`
sooner (makes it easier for users to override).
2026-03-25 19:42:04 -04:00
Henrik Lissner
9e49552283
refactor(zen): remove unused variable
Amend: f4c2890e12
2026-03-25 05:30:53 -04:00
Henrik Lissner
9c3b5cbda3
fix(zen): focus-mode not deactivating with writeroom
By using `writeroom-local-effects` instead of
`writeroom-mode-hook` (which doesn't necessarily trigger on
deactivation).

Fix: doomemacs/community#68
2026-03-25 05:30:43 -04:00
Henrik Lissner
0876796e7a
feat(zen): add +focus flag
Inspired by the dimming feature in snacks.nvim.

Ref: doomemacs/community#68
Ref: https://github.com/folke/snacks.nvim/blob/main/docs/zen.md
2026-03-21 17:14:20 -04:00
Henrik Lissner
9eab5dde5b
tweak(popup): cancel compilation process if closed
And make ESC/C-g close the compilation popup remotely or from within.
2026-03-21 04:05:47 -04:00
Henrik Lissner
f4c2890e12
fix(zen): remove +zen-toggle-large-window-dividers-h
The hook isn't triggered when the global mode is disabled, so this
doesn't restore window-divider's settings correctly, so do away with it
altogether.
2026-03-21 04:02:05 -04:00
Henrik Lissner
290798eb15
refactor(zen): reformat & minor revisions
Cleanup.
2026-03-21 04:00:48 -04:00
Henrik Lissner
a8369118a1
refactor(indent-guides): use frame-parent
I erroneously believed `frame-parent` was introduced in 28.x, but it's
present in 27.1, so it was likely introduced in 26.x, so use it here.
2026-03-21 00:21:30 -04:00
Henrik Lissner
23d1547be6
fix(indent-guides): interop with vimish-fold
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.
2026-03-21 00:13:00 -04:00
Henrik Lissner
0ac2c77d3c
fix(popup): rule for *Local Variables* popup
The rule wasn't catching the risky-variables prompt. Also ensures its
modeline is hidden, because it serves little purpose.
2026-03-20 05:17:44 -04:00
Henrik Lissner
ebf77f71c4
bump: :ui
dimitri/switch-window@a72cf11d21 -> dimitri/switch-window@1ccbfa53df
seagle0128/doom-modeline@8806358185 -> seagle0128/doom-modeline@1953aa47a4
2026-03-20 02:25:20 -04:00
Henrik Lissner
95d47b4847
fix(dashboard): repeated risky-local-var prompts
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.
2026-03-19 23:33:47 -04:00
Henrik Lissner
bccbbdd61b
fix(indent-guides): activate reasonably late
Ensure indent-bars-mode is enabled late enough than any other potential
hooks that might affect indent variables.
2026-03-18 19:31:49 -04:00
Henrik Lissner
bcbb5199bf
tweak(indent-guides): indent-bars-display-on-blank-lines = 'least
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.
2026-03-18 19:31:48 -04:00
Henrik Lissner
f573c7a1ee
fix: don't trigger doom-first-buffer-hook too early
The scratch or dashboard buffers triggered it too early.

Fix: #8706
2026-03-11 02:55:08 -04:00
Henrik Lissner
5351f18611
fix(dashboard): parent group and remove :prefix
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+.
2026-03-11 02:28:56 -04:00
Henrik Lissner
4fe1cbeddb
refactor: s/when-let/when-let*/
The former is deprecated on Emacs 31 for the latter.
2026-03-09 03:28:06 -04:00
Henrik Lissner
45dfc8f60c
module: add :ui dashboard
And deprecate :ui doom-dashboard. The new module is a breaking
rename+rewrite of the old module. The old module will be removed when v3
goes live.
2026-03-09 00:18:01 -04:00
Henrik Lissner
4cf886ba30
refactor: remove old unit tests
Making room for the new tests and framework coming in v3. Besides, these
old tests haven't been used in years.
2026-03-08 19:41:17 -04:00
Henrik Lissner
08ab5d53b4
docs: update doomemacs repo urls
Close: #8695
Co-authored-by: kovan <kovan@users.noreply.github.com>
2026-03-05 22:48:55 -05:00
Henrik Lissner
dc20cc7901
refactor: minor revisions
To appease the byte-compiler or simplify.

Getting these small edits out of the way to simplify v3 merge conflicts.
2026-03-02 19:51:19 -05:00
Henrik Lissner
2105bf59c3
nit: minor reformatting & revise comments
Getting these small edits out of the way to simplify v3 merge conflicts.
2026-03-02 19:50:51 -05:00
Henrik Lissner
6c0881c684
nit: revise TODO/FIXME/HACK/REVIEW/etc in comments
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.
2026-03-02 19:45:09 -05:00
Henrik Lissner
04701547b1
bump: :completion :ui :tools
company-mode/company-mode@fad9f207e0 -> company-mode/company-mode@42d3897308
dgutov/diff-hl@3eefe68941 -> dgutov/diff-hl@bb9af85441
dimitri/switch-window@8f771b571a -> dimitri/switch-window@a72cf11d21
jacktasia/dumb-jump@215e2ed9ab -> jacktasia/dumb-jump@8c97b2afc2
karthink/gptel@d221329ee3 -> karthink/gptel@63795dee75
magit/ghub@278d9fb5f3 (5.0.3) -> magit/ghub@c22858596c (5.0.4)
magit/orgit@24c8fe48c4 (v2.1.1) -> magit/orgit@4fb91faff3 (v2.1.2)
minad/marginalia@0d08fbea0f -> minad/marginalia@142e4da1bd
oantolin/embark@7b3b2fa239 -> oantolin/embark@e0238889b1
seagle0128/doom-modeline@0c91e47a0c -> seagle0128/doom-modeline@8806358185
2026-03-02 19:45:08 -05:00
Henrik Lissner
10d0b60f5d
refactor(lib): deprecate pushnew!
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
2026-03-01 18:10:43 -05:00
Henrik Lissner
e5bbae8144
feat(lib): introduce doom-kill-childframes-h
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`).
2026-03-01 18:10:42 -05:00
Henrik Lissner
28cb499225
feat(lib): doom-special-buffer-p: consider special-mode parents 2026-02-20 20:37:31 -05:00
Henrik Lissner
279d27a981
fix(indent-guides): disable in all temp buffers 2026-02-20 20:37:31 -05:00
Henrik Lissner
85d51e78c1
refactor(indent-guides): remove redundant ein inhibitor
Already covered by `+indent-guides-in-special-buffers-p` (and the ein
module is deprecated).
2026-02-20 20:18:57 -05:00