Commit graph

18756 commits

Author SHA1 Message Date
Nikita Bloshchanevich
7d5ceff5ec fix(plantuml): flycheck: executable support
The flycheck-plantuml is by default configured to always run plantuml
via "java". This only works with a downloaded plantuml. However, I would
prefer to have plantuml installed via my package manager (fedora/dnf).

A locally installed PlantUML executable is already detected by default
for normal use (export/preview), we can also use it for flycheck.

If plantuml is downloaded using plantuml-download-jar, this jar is still
used by default (see setq plantuml-exec-mode), so this should not affect
previous setups.
2023-11-24 11:06:34 -05:00
Jonas Jelten
7fb69fac64
bump: :lang markdown
jrblevin/markdown-mode@c765b73b37 -> jrblevin/markdown-mode@b1a862f016

- The workaround introduced aad7bc521f addressed an issue that was
  fixed upstream (jrblevin/markdown-mode@44f0e89534).

Ref: jrblevin/markdown-mode#578
Revert: aad7bc521f
2023-11-24 11:05:30 -05:00
Eric Lim
52be142e5c docs(rss): add a missing double quote in README 2023-11-24 11:02:28 -05:00
Eric
d9a5b326b8 docs: replace single -> double semicolons 2023-11-24 11:02:07 -05:00
StrawberryTea
2a875d9727
refactor(evil): remove lisp prefix-function embrace pair
A more generalized lisp prefix function was added upstream, so ours is
no longer needed.

Ref: cute-jumper/embrace.el#26
2023-11-24 11:00:52 -05:00
Henrik Lissner
e133da7435
docs(upload): append slash to ssh-deploy-root-local
Suffix ssh-deploy-root-local's path with a trailing slash (to be
consistent with upstream documentation and the example value for
ssh-deploy-root-remote right below it).

Co-authored-by: visika <visika@users.noreply.github.com>
Ref: #7513
2023-11-24 10:54:36 -05:00
Henrik Lissner
5100ab121d
fix(upload): ssh-deploy-on-explicit-save: incorrect type
According to upstream package emacs-ssh-deploy, the value 0 should
disable the auto-save behavior. As the ssh-deploy-on-explicit-save is
considered true if its value is 0, it triggers the after-save-hook
anyway. This commit fixes the hook so it conforms to upstream
definition:

  ssh-deploy-on-explicit-save Enabled automatic uploads on save (integer)

Co-authored-by: visika <visika@users.noreply.github.com>
Close: #7513
Fix: #7512
2023-11-24 10:51:19 -05:00
Zdeněk 'Vlk' Mžourek
6bea1f6a35 perf(lsp): turn off eglot events buffer
The `eglot-events-buffer-size` setting disables the `eglot-events-buffer`
when 0, enabling more consistent performance on long running emacs
instance.
Default is 2000000 lines. After each new event the events buffer
is pretty printed as a whole, which causes steady performance decrease
over time.
Quite a bit of CPU is spent on pretty priting and Emacs GC is put under
high pressure.
2023-11-24 10:42:42 -05:00
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
Liam Hupfer
edd95854fd
fix: premature use of emoji fontset in <=28.1
317cea5 assumed Emacs 28, but Doom still tries to support 27.
Attempting to use the undefined emoji script on 27 results in an error.
Prior to 28, emoji are part of the symbol script, which the following
`set-fontset-font` call already handles.

Amend: 317cea5eef
Ref: #7448
Fix: #7505
2023-11-23 18:17:52 -05:00
Zardoz
574cd32147
tweak(doom-quit): make quit message OS-sensitive 2023-11-23 17:55:13 -05:00
LemonBreezes
1bc5f441f0
tweak: helpful-set-variable-function: use setq!
helpful-set-variable-function defaults to setopt if it's available, setq
otherwise. `setopt` is superior for this use case because it uses
custom.el's mechanism for setting variables (thus respecting custom.el's
setters and type checks), however, it is unavailable in Emacs 28 and
earlier (`setopt` was introduced in 29).

Doom defines `setq!`, which is a drop-in replacement for setopt, and is
functional in Emacs 28, so it is the better option here.

Ref: #7527
2023-11-23 17:38:22 -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
Henrik Lissner
c5f561b0c5
bump: :core
Fuco1/smartparens@79a338db11 -> Fuco1/smartparens@0778a8a840
Wilfred/helpful@66ba816b26 -> Wilfred/helpful@a32a5b3d95
bbatsov/projectile@971cd5c4f2 -> bbatsov/projectile@9446ea92d2
emacs-compat/compat@ecf53005ab -> emacs-compat/compat@ea8de2ea18
emacs-straight/project@ce140cdb70 -> emacs-straight/project@f64bcf065c
radian-software/straight.el@5e84c4e2cd -> radian-software/straight.el@b3760f5829
rainstormstudio/nerd-icons.el@619a0382d2 -> rainstormstudio/nerd-icons.el@e109d09b95

Co-authored-by: LemonBreezes <LemonBreezes@users.noreply.github.com>
Close: #7527
2023-11-23 17:29:31 -05:00
StrawberryTea
f2562bbb4a feat(corfu): always configure dabbrev & line 2023-11-06 14:50:07 -06:00
StrawberryTea
46ce67aa6d fix(corfu): move orderless config earlier 2023-11-06 14:48:33 -06:00
Luigi Sartor Piucco
a16e544c7a
bump: :completion corfu 2023-10-31 21:54:50 -03:00
Luigi Sartor Piucco
fc15f169da
feat(corfu, vertico): use equal orderless config
This removes the old `&` separator for Vertico (does anyone use that
instead of just space?) in favor of escapable space and unifies
orderless config with Corfu. Also implements smart separator
insert/escape/reset on `C-SPC`
2023-10-31 21:50:14 -03:00
Luigi Sartor Piucco
3d41c07370
tweak(corfu): expand autoload command triggers 2023-10-31 21:50:14 -03:00
Luigi Sartor Piucco
7a4d8572f7
tweak(corfu): place extra CAPFs behind flags 2023-10-31 21:50:10 -03:00
Luigi Sartor Piucco
241b8896da
fix(corfu): improve keybinding config 2023-10-30 21:38:49 -03:00
StrawberryTea
50bdf024ad
feat(corfu): more CAPFs and ergonomy changes
Add various CAPFs from cape:
- `cape-line`;
- `cape-dabbrev`;
- `cape-emoji`;
- `cape-dict`;
Fixed some CAPFs via cape:
- Make non-exclusive, purified and silent `pcomplete-completions-at-point`;
- Make non-exclusive and non-interruptable `lsp-completion-at-point`;
- Make non-exclusive `eglot-completion-at-point`;
- Make non-exclusive `comint-completion-at-point`;
Fix and improve keybindings:
- Smart `backspace` for `+tng`;
- Smart `DEL` for `+tng`;
- Smart `SPC` which quits if after separator;
- Smart `RET`;
Add depth to CAPFs, allowing ordering to be adjustable.
Remove the `+corfu-completion-styles` mechanism.
Add `,` as additional separator.
Enable in minibuffer.
Bump `cape`.
2023-10-30 16:07:43 -03:00
StrawberryTea
167911ba7b fix: use a post-command-hook for updating localleader 2023-10-18 15:32:10 -05:00
StrawberryTea
6624c39682 fix: set doom/leader for backwards compatibility 2023-10-18 15:31:53 -05:00
Luigi Sartor Piucco
61c73c9def
feat(corfu): switch to nerd-icons-corfu
This removes the need to vendor the icon code.
2023-10-15 15:41:37 -03:00
Luigi Sartor Piucco
5c1e1978d5
tweak(corfu): quit corfu on evil quit 2023-10-15 15:41:37 -03:00
Luigi Sartor Piucco
61c3b74231
tweak(corfu): use better binding instead of S- 2023-10-15 15:41:37 -03:00
Liam Hupfer
4d118ff01e
tweak(corfu): allow corfu-history without savehist
savehist is for persisting history across sessions, but users who
disable savehist can still benefit from session-length Corfu history.
2023-10-15 15:41:37 -03:00
Liam Hupfer
2d62db15c4
perf(corfu): improve lazy loading
`:after y` eagerly loads package x after y loads. Cape and
`yasnippet-capf` define autoloads, so we can defer them until a capf is
actually called.
2023-10-15 15:41:37 -03:00
Luigi Sartor Piucco
bc00a49475
docs(corfu): simplify and show how to add capfs 2023-10-15 15:41:37 -03:00
Luigi Sartor Piucco
787d040ba6
feat(corfu): add snippets
Yasnippet is now properly integrated! A previosly-unset default has now
been given to `corfu-on-exact-match`. With snippets, it causes immediate
expansion upon single match by default, so we set it to nil and
recommend against changing it in the README.
2023-10-15 15:41:37 -03:00
Luigi Sartor Piucco
85f4c58a3c
fix(corfu): pin packages 2023-10-15 15:41:34 -03:00
Luigi Sartor Piucco
5e542af186
module: add :completion corfu
This commit's primary goal is allowing use of
[minad/corfu](https://github.com/minad/corfu) as an alternative to
[company](https://github.com/company-mode/company-mode). It introduces a
module under :completion for this purpose, plus some conditionals on
other relevant modules to toggle functionality like lsp back-ends and
[minad/cape](https://github.com/minad/cape) capfs for certain modes.

Other optional or miscellaneous features include:

- Support for displaying the completion's documentation on a secondary
  popup;
- Support for terminal display if :os tty;
- Support for icons if +icons;
- Support for tab-and-go completion if +tng;
2023-10-15 15:00:40 -03:00
Liam Hupfer
986398504d refactor: defvar -> defcustom
Ref: 8c442d84b9
2023-10-07 02:33:45 +02:00
Liam Hupfer
b42882c545 refactor: make fallback font families constant
These are undocumented internal variables for basic platform-specific
fallbacks. Now that doom-symbol-font and doom-emoji-font exist, make
them constant.
2023-10-07 02:33:45 +02:00
Liam Hupfer
7abed4dbf1 fix: fall back to emoji font for symbols
Symbols fonts vary widely in their coverage of Unicode symbols blocks.
Emoji fonts are generally guaranteed to cover the small subset of
symbols code points that have assigned emoji representations, so fall
back to them when symbols fonts are lacking.

Ref: https://en.wikipedia.org/w/index.php?title=Variant_form_(Unicode)&oldid=1175107681#Blocks_with_standardized_variation_sequences
2023-10-07 02:33:45 +02:00
Liam Hupfer
37affa5cff feat: add doom-emoji-font
This parallels doom-symbol-font for emoji. In the process, refactor
symbol and emoji font setup to take advantage of these parallels.
2023-10-07 02:33:45 +02: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
Liam Hupfer
1cc7b04059 docs: clarify doom-unicode-font default
d4dec35658 removed Apple Color Emoji, and it wasn’t clear how Symbola
was set if this variable was nil.
2023-10-07 02:33:45 +02:00
Liam Hupfer
317cea5eef fix: assign emoji fallbacks directly to emoji script
Ref: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=12d2fb58c416b557924174f57bfb1c9b9e7cf999
2023-10-07 02:33:45 +02:00
Liam Hupfer
5e6430e9e6 fix: assign Nerd Fonts directly to Unicode PUAs
Nerd Fonts assign icons to code points in these Unicode Private Use
Areas. `doom-unicode-font` is now available again as a user-defined
fallback of last resort for non-PUA Unicode code points.

Ref: f12c615e4d (overview)
2023-10-07 02:33:45 +02:00