Commit graph

1504 commits

Author SHA1 Message Date
yuhan0
cf27397bda
fix(popup): fix typo in local variable name 2024-05-21 17:17:07 +02:00
Henrik Lissner
1167b7aabe
fix(neotree): don't use all-the-icons
Fixes 'Package `all-the-icons' isn't installed' error when opening
neotree.

Ref: #7664
2024-05-21 17:17:07 +02:00
Henrik Lissner
c6abb08ae8
refactor(ligatures): test for harfbuzz feature
A `harfbuzz` feature was introduced in 3e81655.

Ref: 3e81655b0e
2024-05-21 17:17:04 +02:00
Henrik Lissner
28ee896420
nit: minor comment reformatting & revision 2024-05-21 17:17:04 +02:00
Henrik Lissner
ae7c8c4135
fix(workspaces): remove ivy integration
Due to upstream changes in ivy-rich, +workspace/switch-to throws a
`wrong-type-argument listp leaf` error. As I plan to phase out Ivy
support (and the Ivy module) in the long term, I'll simply remove
ivy (and ivy-rich) integration in the workspaces module, rather than
update it.

Fix: #7499
Fix: #7173
2024-05-21 17:17:03 +02:00
tecosaur
122b405afe
fix(modeline,everywhere): adjust checker -> check
As part of the recent UI bump (665d808d09ec), the doom-modeline changed
the name of the "checker" segment to "check".

Amend: 665d808d09ec
2024-05-21 17:17:01 +02:00
Henrik Lissner
0716335c4d
bump: :ui
Alexander-Miller/treemacs@df26b6ab9a -> Alexander-Miller/treemacs@8c6df39f01
dgutov/diff-hl@b8b2727a72 -> dgutov/diff-hl@9662083943
doomemacs/themes@ff26f26ea3 -> doomemacs/themes@37d2182f50
jrblevin/deft@28be94d89b -> jrblevin/deft@bb1a16b87c
seagle0128/doom-modeline@bf880ae56f -> seagle0128/doom-modeline@e09b8e989f
2024-05-21 17:17:00 +02:00
Henrik Lissner
1a8afbb4ff
fix(treemacs): simplify lsp-treemacs load-order
dec058f fixed the load order between treemacs-nerd-icons and
lsp-treemacs, but lsp-treemacs still loads so late that folks will see a
theme-less Treemacs until they visit their first lsp-mode-enabled file.
This ensures that won't happen.

Amend: dec058fabb5e
Amend: #7519
2024-05-21 17:16:54 +02:00
Tim Ruffing
00b5b62bca
fix(popup): fix finding of major side window
Fix: #7647
Amend: #7598
2024-05-21 17:16:53 +02:00
Henrik Lissner
c5a20aaf1b
fix(treemacs): treemacs-nerd-icons load order w/ +lsp
lsp-treemacs changes the default Treemacs theme, so treemacs-nerd-icons
needs to be loaded after it, if it's installed/enabled.

Fix: #7519
Fix: doomemacs/themes#801
Ref: emacs-lsp/lsp-treemacs#89
2024-05-21 17:16:52 +02:00
Henrik Lissner
a103cb3a2d
fix(doom): remove neotree icon config
Since we've remove all-the-icons, doom-themes-neotree-config will no
longer work properly, so I disable it for now (not a complete solution
though; we still need proper nerd-icons support for neotree).

Fix: #7634
Ref: #7664
2024-05-21 17:16:47 +02:00
Henrik Lissner
3074e4648d
nit(popup): mention post-command-select-window for 30.x+
Ref: emacs-mirror/emacs@6f75d0f36d
2024-05-21 17:16:44 +02:00
Henrik Lissner
7a19f7bb93
bump: :ui
Alexander-Miller/treemacs@56691a530a -> Alexander-Miller/treemacs@df26b6ab9a
Bad-ptr/persp-mode.el@df95ea710e -> Bad-ptr/persp-mode.el@345baaa520
dgutov/diff-hl@b5651f1c57 -> dgutov/diff-hl@b8b2727a72
edkolev/evil-goggles@0070c9d844 -> edkolev/evil-goggles@34ca276a85
emacs-lsp/lsp-treemacs@e66ae21965 -> emacs-lsp/lsp-treemacs@e54e74deb8
emacsorphanage/anzu@5abb37455e -> emacsorphanage/anzu@26fb50b429
joostkremers/writeroom-mode@1fd52848eb -> joostkremers/writeroom-mode@f4d035e91d
mickeynp/ligature.el@0e5d0a8554 -> mickeynp/ligature.el@6ac1634612
rolandwalker/unicode-fonts@44d0a22420 -> rolandwalker/unicode-fonts@6245b97d8d
tarsius/hl-todo@70ce48470c -> tarsius/hl-todo@f1fef158f9
2024-05-21 17:16:38 +02:00
Henrik Lissner
ddd3f7564d
refactor!: deprecate IS-* OS constants
BREAKING CHANGE: This deprecates the IS-(MAC|WINDOWS|LINUX|BSD) family
of global constants in favor of a native `featurep` check:

  IS-MAC      ->  (featurep :system 'macos)
  IS-WINDOWS  ->  (featurep :system 'windows)
  IS-LINUX    ->  (featurep :system 'linux)
  IS-BSD      ->  (featurep :system 'bsd)

The constants will stick around until the v3 release so folks can still
use it -- and there are still some modules that use it, but I'll phase
those uses out gradually.

Fix: #7479
2024-05-21 17:16:36 +02:00
Mathew
41c808d9d5
fix(evil): obsolete evil-command-window advice
As noted in #7556, the advice `+popup--evil-command-window-a` fails,
preventing the command window from being opened. This is because
`evil-command-window` has been rewritten extensively.

In particular, emacs-evil/evil@a09fdca0b3 made it use
`display-buffer` instead of `switch-to-buffer`, so that users could
customize how the window opens. Since this was the function of this
advice, it is obsolete and can be removed.

Fix: #7556
Ref: emacs-evil/evil@a09fdca0b3
2024-05-21 17:16:34 +02:00
George Thomas
d186a817c6
bump: :ui modeline
seagle0128/doom-modeline@93f240f7a0 -> seagle0128/doom-modeline@bf880ae56f
2024-05-21 17:16:32 +02:00
Henrik Lissner
1bff83846e
tweak(indent-guides): default to bitmap in GUI 2024-05-21 17:16:31 +02:00
Ivan Necas
bdfac1a3dd
bump: :ui doom
doomemacs/themes@4aee1f5a0e -> doomemacs/themes@ff26f26ea3

Improves Emacs 30 compatibility (see ref).

Ref: https://github.com/doomemacs/themes/issues/809
2024-05-21 17:16:30 +02:00
Tim Ruffing
dc8764bd19
fix(popup): find internal major side windows
Fix: #5485
2024-05-21 17:16:30 +02:00
Kiana Sheibani
6fcec2341c
fix(treemacs): do not overwrite git mode when treemacs-python-executable is set 2024-05-21 17:16:22 +02:00
Zardoz
91dde5f383
tweak(doom-quit): make quit message OS-sensitive 2024-05-21 17:16:21 +02:00
Liam Hupfer
0c6971a400
refactor: doom-unicode-font -> doom-symbol-font
No font supports all of Unicode or anywhere near it. It’s not even
really possible with current font formats. Therefore, rename
`doom-unicode-font` to `doom-symbol-font`. Only set it as a fallback for
characters in the `symbol` and `mathematical` scripts.
2024-05-21 17:16:20 +02:00
How Si Wei
45cad911f1
fix(popup): change evil function to call following upstream rename 2024-05-21 17:16:19 +02:00
roife
bcbe8160a4
fix(workspaces): check before loading tab configuration
Fix: #7139
2024-05-21 17:16:18 +02:00
Henrik Lissner
6a9112f7df
bump: :ui
Alexander-Miller/treemacs@fe471314f1 -> Alexander-Miller/treemacs@56691a530a
doomemacs/themes@d1d6c2953f -> doomemacs/themes@4aee1f5a0e
emacs-straight/minimap@ed7490652a -> emacs-straight/minimap@90aeeb5798
seagle0128/doom-modeline@173ad0a27f -> seagle0128/doom-modeline@93f240f7a0
tarsius/hl-todo@0faf8569b6 -> tarsius/hl-todo@70ce48470c
2024-05-21 17:16:16 +02:00
Henrik Lissner
d0316a847c
fix(dart,scala,swift,treemacs): ignore lsp-* packages for eglot
Close: #7441
Co-authored-by: itome <itome@users.noreply.github.com>
2024-05-21 17:16:15 +02:00
Gerry Agbobada
ad6caabfb8
fix(ligatures): proper resetting of font-ligatures
resetting font-ligatures means passing `nil` as the second argument
of `(set-font-ligatures!)`

Using `ligatures-ignored-major-modes` to cancel ligatures is too
brittle, because "resetting ligatures for `prog-mode`" would have bad
semantics with all its derived modes. The user probably just wants to
remove the default ligatures and then configure `foo-mode`, but pushing
`prog-mode` to `ignored-major-modes` might just disable ligatures across
all modes _derived from_ `prog-mode`.

This commit changes things in 2 ways:
- resetting ligatures now directly manipulates ligature.el internal
  state (the `ligature-composition-table` alist)
- in order to work, Doom must maintain an extra invariant on that alist,
  multi-modes keys (`'(foo-mode bar-mode)`), cannot be used, only single
  modes.

That mostly means that users should _not_ use
`ligature-set-ligatures` themselves in private config, but instead
always rely on `set-font-ligatures!` which does splicing behind
curtains. Failing to do so would be mostly harmless though (it would
just make "resetting ligatures" only partially remove set ligatures).

Fix: #7433
2024-05-21 17:16:14 +02:00
Henrik Lissner
f280189431
docs(evil,latex,vterm,treemacs): correct notices
Use the correct symbol for warnings.

Amend: 88bb04538875
2024-05-21 17:16:14 +02:00
Henrik Lissner
50b7d976ac
fix(ligatures): set-font-ligatures!
Old lexical variable reference caused an error.

Ref: #7433
Amend: #5082
Amend: 46d7404befcd
2024-05-21 17:16:13 +02:00
Henrik Lissner
4fa9362224
docs(*): replace all-the-icons with nerd-icons
Also colorizes the leading icon in notices.
2024-05-21 17:16:13 +02:00
Henrik Lissner
5a3132bed9
fix(treemacs): replace all-the-icons with nerd-icons
Ref: #7411
Close: #7428
Ref: https://discourse.doomemacs.org/t/4147
2024-05-21 17:16:12 +02:00
Ellis Kenyo
7420496a95
fix(modeline): update icons for +light 2024-05-21 17:16:11 +02:00
Henrik Lissner
b55dc26196
refactor(modeline): remove doom-modeline-buffer-modified shim
No longer needed.

Ref: seagle0128/doom-modeline@5c98267310
2024-05-21 17:16:10 +02:00
SunskyXH
ac5da4f82c
fix(tabs): replace all-the-icons with nerd-icons
Ref: #7411
2024-05-21 17:16:10 +02:00
Ellis Kenyő
7bb2db1049
fix(format): handle git-gutter nicely 2024-05-21 17:16:01 +02:00
Ellis Kenyő
cb016f2dba
refactor!: replace all-the-icons with nerd-icons
BREAKING CHANGE: This commit replaces all-the-icons with nerd-fonts. Any
all-the-icons-* function calls or variable references in your private
config will break and should be replaced with their nerd-icons-*
equivalent. That said, Doom will continue to install all-the-icons for
a while, so feel free to load it if you don't want to fully commit to
the change yet.

This change is happening because nerd-icon has wider support for GUI and
TUI Emacs; has a larger, more consistent selection of symbols; plus unicode
coverage.

Fix: #7368
Close: #6675
Close: #7364
2024-05-21 17:15:56 +02:00
Emily Bourke
698f3ddeff
tweak(workspaces): prefill current name on rename
This change uses completing-read to get the new name from the user when
renaming workspaces, to allow them to more easily make a small change to
the existing name of a workspace.
2024-05-21 17:15:54 +02:00
Velnbur
7bdc7a6d3d
bump: :ui treemacs
Alexander-Miller/treemacs@00e96c842f -> Alexander-Miller/treemacs@fe471314f1

Fix: #7409
2024-05-21 17:15:54 +02:00
Gerry Agbobada
724a845e1f
refactor!(ligatures): use ligature.el for Emacs28+
Include ligature.el in a new set-font-ligatures! function, so that
"normal" (read: "font-based") ligatures can
also be controlled on a per-major mode basis from a user function
in configuration.

This commit also drops support for Emacs 27 to reduce the maintenance
burden.

BREAKING CHANGE: font ligatures for Harfbuzz/Coretext composition
table-based ligations are no longer controlled with
`+ligatures-composition-alist`, but is handled with
`+ligatures-prog-mode-list` and `+ligatures-all-modes-list` for most
common cases. See the README for the mode-specific methods

BREAKING CHANGE: the `:ui ligatures` module will not work anymore
with Emacs 27 or older. Also, there is no need to keep patched fonts
(for Fira, Hasklig, Iosevka) if you use the module. Update Emacs if
you want to keep using ligatures, or disable the module (`doom doctor`
will tell you if your current version of Emacs stopped working with
the module)
2024-05-21 17:15:54 +02:00
Henrik Lissner
580754a735
fix(popup): +popup/raise: recursive popup
Without this, raising a popup might result in simply opening a popup
with the same rules.
2024-05-21 17:15:54 +02:00
Henrik Lissner
f98709dddc
bump: :editor evil
emacs-evil/evil@9eb69b7f5b -> emacs-evil/evil@5fc16776c5
emacs-evil/evil-collection@1ad283f5b7 -> emacs-evil/evil-collection@8be4b75c86

- Fixes breaking change due to emacs-mirror/emacs@802a54ad62 (see
  #7397).

Ref: debbugs.gnu.org/cgi/bugreport.cgi?bug=62248
Close: #7397
Co-authored-by: prashantvithani <prashantvithani@users.noreply.github.com>
2024-05-21 17:15:52 +02:00
Amos Bird
840463bf30
fix(popup): add wdired hacks
Previously, wdired actions will not close popup windows, which is
cumbersome to use. We've already added similar hacks to dired. Now it's
time to add similar hacks to wdired.
2024-05-21 17:15:50 +02:00
Liam Hupfer
92cb788cc9
tweak(emoji): add emoji-search binding for Emacs 29
The emojify command takes precedence in case users want ASCII/GitHub
string completion/insertion.

Ref: https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29.1#n884
2024-05-21 17:15:50 +02:00
Liam Hupfer
336dea55b2
nit: remove superfluous package cookies 2024-05-21 17:15:49 +02:00
Henrik Lissner
d675072dc5
bump: :ui
Alexander-Miller/treemacs@9986d6cd3d -> Alexander-Miller/treemacs@00e96c842f
dgutov/diff-hl@d20f16bf5e -> dgutov/diff-hl@b5651f1c57
doomemacs/themes@b5ff201f4b -> doomemacs/themes@e4f0b006a5
edkolev/evil-goggles@8f20a16e74 -> edkolev/evil-goggles@0070c9d844
ema2159/centaur-tabs@a2890d968d -> ema2159/centaur-tabs@0bb1aa18d4
emacs-lsp/lsp-treemacs@a48763ba5d -> emacs-lsp/lsp-treemacs@e66ae21965
jaypei/emacs-neotree@98fe21334a -> jaypei/emacs-neotree@2b0cb82853
k-talo/volatile-highlights.el@513c8b73cd -> k-talo/volatile-highlights.el@fcf6e27784
seagle0128/doom-modeline@6125309c2c -> seagle0128/doom-modeline@f45a5a2003
tarsius/hl-todo@a627d33214 -> tarsius/hl-todo@0faf8569b6
2024-05-21 17:15:48 +02:00
Jeetaditya Chatterjee
5842f46cfc
tweak(doom-dashboard): recentf now top menu section
This makes the top action one that is harmless as to prevent accidental
clobbering of current workspaces
2024-05-21 17:15:47 +02:00
StrawberryTea
177157b044
fix(popup): cycle windows with no-other-window property
Previously, +popup/other would do nothing if a window with the
no-other-window property that was not a popup was focused. Now
+popup/other will always select different window if there is another
popup or window with the no-other-window property.

Fix: #7119
2023-07-24 19:18:53 +02:00
Henrik Lissner
f70e382463
docs(unicode): describe #7164
Seems to be a common issue, and unlikely to see a fix, unless
unicode-fonts gets a new maintainer.

Ref: rolandwalker/unicode-fonts#36
Ref: #7164
2023-07-22 17:57:25 +02:00
Henrik Lissner
09f602b342
fix(unicode): unicode-fonts remapping for daemon
The unicode remappings were done too early, prior to this change, making
them ineffective for later daemon frames.

Fix: #5486
Fix: #7160
2023-03-22 17:58:21 -04:00
Henrik Lissner
1d7dd915ab
fix(unicode): show remapping progress at startup
unicode-fonts takes 5-15 seconds to remap unicode blocks on first
invokation, but it does so invisibly because inhibit-redisplay and
inhibit-message are active during startup (to prevent unintended redraws
slowing down the startup process). This change ensures users get
meaningful feedback during this time.
2023-03-22 17:57:39 -04:00