Commit graph

11869 commits

Author SHA1 Message Date
arnfaldur
bd9aef928c
fix(rust): make cargo popups consistent
When invoking `rustic-cargo-run` a buffer called `*cargo-run*` is
opened. This adds a rule such that this buffer opens in a popup window
that is the same as the popup windows for other rustic cargo commands.

Ref: #2623
2023-10-06 22:36:59 +02:00
roife
1a2789c922
fix(workspaces): check before loading tab configuration
Fix: #7139
2023-10-05 17:46:46 +02:00
terru
da99d39e4d
docs(nix): mention +lsp flag
Ref: #6592
2023-10-05 17:45:50 +02:00
Liam Hupfer
1e1e6150d8 fix(data): correct XML closing tag insertion
`nxml-slash-auto-complete-flag` inserts the rest of the closing tag when
`</` is inserted, but smartparens also defines `(sp-local-pair "<" ">")`
for `sp--html-modes`, so two `>` are inserted for closing tags. Apply
the upstream developer’s suggested fix.

Fix: https://github.com/doomemacs/doomemacs/issues/6331
Ref: https://github.com/Fuco1/smartparens/issues/397
2023-10-05 17:43:19 +02:00
Liam Hupfer
2497d58e9a fix(vertico): ensure recentf-mode for consult-buffer
`consult-buffer` uses `recentf` to populate file candidates. It is not
uncommon to use `consult-buffer` as a single entry point to buffers,
bookmarks and recent files, effectively replacing `recentf` and
`consult-recent-file`.

To improve startup performance, Doom enables `recentf-mode` after the
first file is opened (0e851ace9b). When executing `consult-buffer` at
startup, `recentf-mode` won’t be enabled yet. Add it to the
`consult-recent-file` advice to ensure that can’t happen.

Unlike `consult-recent-file`, `consult-buffer` does have significant
functionality without `recentf-mode`, but for the tiny fraction of Doom
users that disable `recentf-mode`, this is easy enough to
`advice-remove`.

Fix: https://github.com/doomemacs/doomemacs/issues/7461
2023-10-05 17:42:55 +02:00
Pieter-Jan Vandenbussche
8eebab4f97 fix(ocaml): add dune-project to ocaml projectile root files 2023-10-05 17:42:24 +02:00
Vitaly Slobodin
844a82c4a0 bump: :lang ruby
pd/yard-mode.el@ef3426ff55 -> pd/yard-mode.el@de1701753a
nonsequitur/inf-ruby@6f1df882ab -> nonsequitur/inf-ruby@03475ac1cc
dgutov/robe@b9d5ab549f -> dgutov/robe@912ae2ba1f
pezra/rspec-mode@62853a428b -> pezra/rspec-mode@29df3d081c
2023-09-22 23:18:31 +02:00
mosquito-magnet
db29f71f10 fix(org): add missing autoloads for org-attach
org-attach-delete-one and -all are bound to keys, thus requiring
autoload.
2023-09-22 23:17:43 +02:00
Henrik Lissner
3983fba5b5
perf(zig): quote flycheck-define-checker
Eager expansion of the flycheck-define-checker macro causes flycheck to
be unavoidably eager-loaded at startup, regardless of other deferral
techniques, slowing down startup considerably, as it pulls in a number
of associated packages/config with it.
2023-09-20 21:01:55 +02:00
Henrik Lissner
96aed4bf35
perf(evil): defer evil-collection-tab-bar
It gets pulled in early and unavoidably, slowing down startup.
2023-09-20 21:01:05 +02:00
Henrik Lissner
1baea0c4c2
feat(beancount): add +beancount/occur command
Inspired by org-occur (or org-sparse-tree): hides all
transactions/directives in the buffer that don't involve a selected
account.
2023-09-20 20:24:00 +02:00
Henrik Lissner
c5e387f7b4
fix(beancount): previous-transaction: jump-to-start behavior
To match +beancount/previous-transaction's docstring: this command
should jump to the start of the transaction/directive at point first,
before jumping to the previous one. Now it does so.

It should also return nil if it fails.
2023-09-20 20:24:00 +02:00
Henrik Lissner
36651d6e66
tweak(beancount): include directives for next/prev transaction
+beancount/next-transaction and +beancount/previous-transaction would
formerly skip timestampped directives, e.g.

  2016-09-15 * "Foo" ""
    Expenses:Y                                  779.00 DKK
    Assets:X:Checkings
  2016-11-16 balance Assets:X:Checkings         8,417.58 DKK
  2016-12-13 * "Bar" ""
    Assets:X:Checkings                          2,100.00 DKK
    Income:Z

The `balance` directive would be skipped over. This commit changes that
to include them. Perhaps the commands should be renamed to
+beancount/{next,previous}-entry to better reflect my intended purpose
for them?
2023-09-20 20:24:00 +02:00
Henrik Lissner
96e6b72be6
nit(beancount): revise docstrings & sharp-quotes functions 2023-09-20 20:23:59 +02:00
Henrik Lissner
a4d95674ec
tweak(format): doom-debug-variables: add apheleia-log-only-errors 2023-09-20 20:23:59 +02:00
Henrik Lissner
7da57e72f1
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
2023-09-20 20:23:59 +02:00
Henrik Lissner
7cae2b01f6
bump: :emacs ibuffer undo
emacs-straight/undo-tree@16f4121032 -> emacs-straight/undo-tree@f9e7eac16f
emacs-straight/vundo@26c929229a -> emacs-straight/vundo@24271862a2
ideasman42/emacs-undo-fu-session@7b3fd0647d -> ideasman42/emacs-undo-fu-session@a6c4f73bc2
ideasman42/emacs-undo-fu@0e22308de8 -> ideasman42/emacs-undo-fu@0e74116fd5
purcell/ibuffer-projectile@ecbe482804 -> purcell/ibuffer-projectile@710ecac157
purcell/ibuffer-vc@9204001d1c -> purcell/ibuffer-vc@1388d2ea18
2023-09-20 20:23:59 +02:00
Henrik Lissner
fba8dda5c8
bump: :term
akermu/emacs-libvterm@3e5a9b754b -> akermu/emacs-libvterm@94e2b0b2b4
akreisher/eshell-syntax-highlighting@1ba39a9ffb -> akreisher/eshell-syntax-highlighting@8bf0494ca7
szermatt/emacs-bash-completion@25611eed1e -> szermatt/emacs-bash-completion@f1daac0386
2023-09-20 20:23:59 +02:00
Henrik Lissner
cdbf58a871
refactor(format): swap to string-blank-p & memq 2023-09-20 20:23:59 +02:00
Henrik Lissner
7266c11366
fix(swift): activate lsp! on +lsp
Close: #7441
Co-authored-by: itome <itome@users.noreply.github.com>
2023-09-20 20:23:59 +02:00
Henrik Lissner
fed0f49ca7
fix(dart,scala,swift,treemacs): ignore lsp-* packages for eglot
Close: #7441
Co-authored-by: itome <itome@users.noreply.github.com>
2023-09-20 20:23:59 +02:00
StrawberryTea
531a8bdfeb fix(mu4e): remove broken pretty bullets advice 2023-09-20 20:23:44 +02:00
StrawberryTea
a02b4ddfe3 fix(mu4e): replace obsolete/removed functions
This commit fixes several Doom mu4e functions which are broken on later
versions of mu4e due to the variable prefix change from mu4e~ to mu4e--.
I also added them to the forwards-compatibility aliases.
2023-09-20 20:23:44 +02:00
Liam Hupfer
2279a42c50 fix(org): address fancy links regressions
- several all-the-icons references were missed, and some code points are
  different in nerd-fonts. the variable icon became a folder, the
  package icon became a scissors, and the file-icons font icon is not
  available
- make face link type face passthrough work
- remove extraneous rear-nonsticky and height properties that nerd-icons
  already sets
- generally improve consistency across link types
  - material design icons, underlines, and font lock faces for symbols,
    shadow if unbound
  - octicons for packages, modules, and executables, blue links if
    installed, shadow if not. color coded icon based on status
  - refactor and remove extraneous code
2023-09-20 20:23:26 +02:00
Liam Hupfer
c3342a8011 nit(org): make activate function suffixes consistent 2023-09-20 20:23:26 +02:00
Liam Hupfer
54c67acf2a nit(org): use consistent link follow function names
Looks like the doom-module one was partially renamed to follow naming
conventions, and that didn’t propagate to the corresponding doom-package
function.
2023-09-20 20:23:26 +02:00
Liam Hupfer
f369b48b2a fix(org): use correct doom-module link follow function 2023-09-20 20:23:26 +02:00
Gerry Agbobada
a60d8b3da4 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
2023-09-19 23:32:07 +02:00
Noisy Computation
2b08b2da33 bump: :emacs vc
magit/magit@97a95f7007 -> magit/magit@4881835572

The pinned version of `magit` in `:tools magit` needs be the same
as that of `git-commit` in `:emacs vc`.

`straight.el` prepares the repo only once, and if `git-commit` is
processed first, its pinned version wins out and the more recent
pinning of `magit` is ignored.

As noted in #7363, processing order may be non-deterministic, so the
inconsistent pinning may not be apparent on every system.

Fix: #7363
Amend: #7277
Amend: 7c63b353d2
2023-09-19 23:31:32 +02:00
Jdogzz
2be3cf4b38
bump: nerd-icons-dired
rainstormstudio/nerd-icons-dired@b760520821 -> rainstormstudio/nerd-icons-dired@4a068884bf

Fix: #5579
Ref: rainstormstudio/nerd-icons-dired@4a068884bf
Ref: rainstormstudio/nerd-icons-dired#14
2023-09-17 05:07:52 +02:00
Henrik Lissner
0f663d007b
docs(evil,latex,vterm,treemacs): correct notices
Use the correct symbol for warnings.

Amend: 88bb045388
2023-09-17 03:27:49 +02:00
Henrik Lissner
8230b78ad5
fix(ligatures): set-font-ligatures!
Old lexical variable reference caused an error.

Ref: #7433
Amend: #5082
Amend: 46d7404bef
2023-09-17 03:24:09 +02:00
Henrik Lissner
5f3a667400
bump: :lang cc
Andersbakken/rtags@9e442e5b30 -> Andersbakken/rtags@ee1ab7b9a6
emacs-lsp/emacs-ccls@29d231590f -> emacs-lsp/emacs-ccls@dd33da8ed7
emacsmirror/cmake-mode@6ce5633144 -> emacsmirror/cmake-mode@f9c7a21254
jart/disaster@0c13bd244c -> jart/disaster@16bba9afb9

- emacsmirror/cmake-mode@6ce5633144 was an orphaned commit.

Fix: #7434
2023-09-17 03:17:12 +02:00
Henrik Lissner
41de7d9d01
bump: :lang org
TobiasZawada/org-yt@158e20204c -> TobiasZawada/org-yt@56166f48e0
emacs-straight/org-mode@d6f3aed7b1 -> emacs-straight/org-mode@e90a8a69a7
emacsmirror/org-contrib@4ac1a280c7 -> emacsmirror/org-contrib@dc59cdd46b
fuxialexander/org-pdftools@967f48fb50 -> fuxialexander/org-pdftools@4e420233a1
hakimel/reveal.js@12f5ba4c9d -> hakimel/reveal.js@07a6cf1249
oer/org-re-reveal@5929850199 -> oer/org-re-reveal@93396b531b
org-noter/org-noter@f9710c9768 -> org-noter/org-noter@ab838691f0
snosov1/toc-org@bf2e4b358e -> snosov1/toc-org@6d3ae0fc47
takaxp/org-tree-slide@97273dbb17 -> takaxp/org-tree-slide@e2599a106a

- Fixes package download errors while installing
  emacsmirror/org-contrib@4ac1a280c7, which is an orphaned commit.
2023-09-16 20:35:31 +02:00
Henrik Lissner
88bb045388
docs(*): replace all-the-icons with nerd-icons
Also colorizes the leading icon in notices.
2023-09-16 20:19:11 +02:00
Henrik Lissner
ae8c5cfdde
fix(org): org-roam-node-display-template: strip :box from org-tag
The :box causes tremendous slowdown when displayed in the minibuffer.

Fix: #7432
2023-09-16 17:02:16 +02:00
Henrik Lissner
8340141e69
fix(eshell): pcomplete after quotes in emacs <=28
Fixes an upstream issue in pcomplete where completion after quotes fails
with the following message:

  Completion function pcomplete-completions-at-point uses a deprecated
  calling convention

This issue is fixed in 29+, but I backport this fix for 27-28
users (credit for the fix goes minad/cape, which is where I adapted this
fix from).

Fix: #3817
Co-authored-by: minad <minad@users.noreply.github.com>
2023-09-16 16:17:02 +02:00
Henrik Lissner
8e1f5509ea
fix(undo): add emacs version check for vundo 2023-09-16 05:30:06 +02:00
Patrick Norton
34f583d396 fix(ocaml): Prevent clobbering +format-with globally
Previously, loading the `ocaml` module and opening a file in Tuareg mode
would result in every buffer having its formatter set to `ocp-indent`.
This now restricts the formatter override to the current buffer.
2023-09-16 05:29:06 +02:00
LemonBreezes
aab5215951 fix(format): use +vc-gutter-update-h instead
+vc-gutter-init-maybe-h is not defined when using +diff-hl so instead
let's use +vc-gutter-update-h to refresh the VC gutter.
2023-09-16 05:00:25 +02:00
Henrik Lissner
57965f18a5
fix(treemacs): replace all-the-icons with nerd-icons
Ref: #7411
Close: #7428
Ref: https://discourse.doomemacs.org/t/4147
2023-09-15 21:24:45 +02:00
Ellis Kenyo
e44508f67c docs(format): improve note about regional formatting 2023-09-15 20:38:29 +02:00
Ellis Kenyo
7920b0d46c fix(format): update missing values & set buffer modification
This prevents apheleia complaining about the editing buffer being
killed.

Co-authored-by: Wang Liao <lwlw1988@gmail.com>
2023-09-15 20:38:29 +02:00
Ellis Kenyo
e47accb773 fix(modeline): update icons for +light 2023-09-15 01:51:09 +02:00
Henrik Lissner
3191349182
docs(format): set-formatter!: escape quotes in docstring 2023-09-14 20:17:24 +02:00
Ellis Kenyo
0b2e6d7070 docs(format): clarify how to update macro in private config 2023-09-14 20:06:51 +02:00
Henrik Lissner
eec8808f45
bump: :app rss
remyhonig/elfeed-org@3242ec0519 -> remyhonig/elfeed-org@7f3ad868f2

Ref: remyhonig/elfeed-org#87
2023-09-14 19:01:36 +02:00
Zero King
928e5640c5 feat(lua): enable rainbow-delimiters in fennel-mode
Fennel's syntax is based on Lisp. It's easier to see matching
parentheses with rainbow delimiters.
2023-09-14 14:58:55 +02:00
Ellis Kenyő
e97b05c07c
fix: nerd-icons-material => nerd-icons-mdicon
Fix: #7422
Amend: #7411
2023-09-14 14:58:01 +02:00
Henrik Lissner
cd2477e79c
refactor(collab): s/featurep!/modulep!
featurep! was renamed modulep! in ad6a3d0.

Close: #7420
Ref: ad6a3d0f33
Co-authored-by: lagman <lagman@users.noreply.github.com>
2023-09-14 03:42:23 +02:00