Commit graph

11889 commits

Author SHA1 Message Date
StrawberryTea
dc16fe10e3 feat(eshell): add imenu support 2023-11-24 10:31:35 -05:00
Henrik Lissner
e4b1ed5a6a
refactor(eshell): eshell-prompt-regexp
This new default makes eshell-prompt-regexp's consumers a little less
susceptible to false positives in garbage/process output and a little
more resistant to user changes to eshell-prompt-function. It's also
closer to its default value (KISS).
2023-11-24 10:29:29 -05:00
Henrik Lissner
fba1d4005e
bump: :tools tree-sitter
emacs-tree-sitter/tree-sitter-langs@2f0f97abbd -> emacs-tree-sitter/tree-sitter-langs@3a3ad0527d
meain/evil-textobj-tree-sitter@19979843f5 -> meain/evil-textobj-tree-sitter@9a9edd42a2

Close: #7560
Co-authored-by: l2dy <l2dy@users.noreply.github.com>
2023-11-24 10:01:45 -05:00
Henrik Lissner
cb3d01920c
bump: :tools debugger lsp
emacs-lsp/dap-mode@096070aacf -> emacs-lsp/dap-mode@755845ae05
emacs-lsp/lsp-mode@266945b3e4 -> emacs-lsp/lsp-mode@d441f3d268
emacs-straight/eglot@8ccec6532e -> emacs-straight/eglot@2b145778ba
realgud/realgud@220ce2c348 -> realgud/realgud@365063ea8c

Fix: #7540
2023-11-23 22:05:33 -05:00
Leo Okawa Ericson
31b2ad22fb
fix(org): call org-reveal in correct buffer
Sometimes, `org-reveal` is called in the wrong buffer which throws an
error.  For example, `org-link-open-from-string` creates an temporary
org-mode buffer that gets killed very quickly which means that
`org-reveal` gets called in a different buffer.  I have also had issues
with org-reveal getting called in the org-roam buffer, which is why this
commit also saves the buffer it was called in.

Co-authored-by: Leo Okawa Ericson <git@relevant-information.com>
2023-11-23 21:21:08 -05:00
Kiana Sheibani
c3b228fedd fix(treemacs): do not overwrite git mode when treemacs-python-executable is set 2023-11-23 21:19:26 -05:00
Henrik Lissner
13fa55da82
bump: :lang java
Groovy-Emacs-Modes/groovy-emacs-modes@c612ac1e9f -> Groovy-Emacs-Modes/groovy-emacs-modes@7b8520b2e2
emacs-lsp/lsp-java@dbe448a886 -> emacs-lsp/lsp-java@449673da72
mopemope/meghanada-emacs@59c46cabb7 -> mopemope/meghanada-emacs@fb29746e44

Co-authored-by: aveseli <aveseli@users.noreply.github.com>
Close: #7554
2023-11-23 18:32:35 -05:00
Henrik Lissner
9be60fba43
bump: :lang scala
emacs-lsp/lsp-metals@a2df7263ec -> emacs-lsp/lsp-metals@da7e54ed65

- (#7475) lsp-metals moved on from treemacs-extensions (obsolete) to
  treemacs-treelib.

Co-authored-by: prashantvithani <prashantvithani@users.noreply.github.com>
Close: #7475
2023-11-23 18:32:35 -05:00
Henrik Lissner
80f8b6b680
bump: :editor fold
emacs-tree-sitter/ts-fold@9d9e0c5cf7 -> emacs-tree-sitter/ts-fold@75e72c658a

- (#7480) Adds/enhances support for new languages.

Co-authored-by: jperras <jperras@users.noreply.github.com>
Close: #7480
Ref: https://github.com/emacs-tree-sitter/ts-fold/releases/tag/0.2.0
2023-11-23 18:32:35 -05:00
Chromium
a00f03079a
bump: :app rss
remyhonig/elfeed-org@7f3ad868f2 -> remyhonig/elfeed-org@fe59a96969 

- fix elfeed-org-export-opml error
- perf: use temporary buffers instead of find-file
- replace outline-on-heading-p with org-at-heading-p
- fix typo in last changes

Ref: remyhonig/elfeed-org#88
2023-11-23 18:32:04 -05:00
Zardoz
574cd32147
tweak(doom-quit): make quit message OS-sensitive 2023-11-23 17:55:13 -05:00
LemonBreezes
a180579d6f
bump: :term eshell
Ambrevar/emacs-fish-completion@1038488181 -> Ambrevar/emacs-fish-completion@df42e15308
akreisher/eshell-syntax-highlighting@8bf0494ca7 -> akreisher/eshell-syntax-highlighting@4ac27eec6595# Please enter the commit message for your changes. Lines starting

- (#7529) Fix elisp code-completion in Eshell.

Close: #7529
2023-11-23 17:29:37 -05:00
Liam Hupfer
4499ce7b0a 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.
2023-10-07 02:33:45 +02:00
How Si Wei
c4bb95e073 fix(popup): change evil function to call following upstream rename 2023-10-06 22:38:35 +02:00
Sean Farley
5df41be02b nit(mu4e): remove underline for blank space
Previously, this was a bit confusing and didn't look quite right.
Instead, just pad the space in the temp buffer instead of fontifying it
into a button.
2023-10-06 22:37:43 +02:00
Sean Farley
ce8c2af08c fix(mu4e): set popup rules for mu4e
I'm not sure how this works for anyone without setting these rules. By
setting them here, users will have a good out-of-box experience of using
mu4e.
2023-10-06 22:37:43 +02:00
Sean Farley
feec9368e2 feat(mu4e): set consistent icons for `mu4e-modeline-*' variables
These are new variables in mu4e so let's go ahead and set them to match
doom's style for email icons.
2023-10-06 22:37:43 +02:00
Sean Farley
b40e435f53 feat(mu4e): add space-right argument to `+mu4e-normalised-icon'
This allows a tiny (but equal) amount of space to the right of the icon.
In the next patch, we'll use this for some icons in the modeline.
2023-10-06 22:37:43 +02:00
Sean Farley
9f922065ba refactor(mu4e): prepare `+mu4e-normalised-icon' for extra padding
This is non-functional change to use `format' instead of `concat'. It
will make the next patch easier to read.
2023-10-06 22:37:43 +02:00
Sean Farley
10567b6cec nit(mu4e): :height parameter was already the default value
No need to send it since it's the default value.
2023-10-06 22:37:43 +02:00
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