Commit Graph

15893 Commits

Author SHA1 Message Date
Henrik Lissner
5c46a5e680 ui/treemacs: restore old h/l behavior
Fixes #5056
2021-05-15 14:09:08 -04:00
Henrik Lissner
44a0589281 Fix labeler action config 2021-05-15 14:09:08 -04:00
Henrik Lissner
dee20c7585 Remove define-obsolete-*-alias fix
Packages have had enough time to catch up. Also, with 9d3742c0d these
fixes are no longer effective for packages.

Closes #4534
2021-05-15 14:09:08 -04:00
Henrik Lissner
fb89327ff2 Revert to straight's original bytecomp behavior
Half-reverts 628f0a9, which forced straight to byte-compile packages in
another Emacs session, which produced failures for packages that didn't
properly load their compile-time dependencies (e.g. macro calls).

But now, I realize that _not_ failing in those cases is worse and
produces odd byte-code issues like #1657 or invalid-function ((date
date)) errors. This doesn't guarantee a fix, but at least takes the ball
out of Doom's court, and gracefully fails to uncompiled packages, rather
than incorrect bytecode.
2021-05-15 14:09:08 -04:00
Henrik Lissner
9e5ba5fd6c Don't suppress user-error errors
Refactor doom-run-hooks warning.
2021-05-15 14:09:08 -04:00
Henrik Lissner
755d4c7b15 Add popup rule for *envrc* error buffers 2021-05-15 14:09:08 -04:00
Henrik Lissner
528657a426 bin/org-capture: fix hanging
The script's stdin check was too simplistic and would block forever
waiting for input. From now on, to pipe to the script, pass it a dash.
2021-05-15 14:09:08 -04:00
Henrik Lissner
ff3c9777e7 Bump :tools debugger lsp
emacs-lsp/dap-mode@ae395aa -> emacs-lsp/dap-mode@49af1b8
emacs-lsp/helm-lsp@74a02f8 -> emacs-lsp/helm-lsp@c2c6974
emacs-lsp/lsp-ivy@515e597 -> emacs-lsp/lsp-ivy@4dcb635
emacs-lsp/lsp-mode@eda51c2 -> emacs-lsp/lsp-mode@3dc87f6
emacs-lsp/lsp-ui@1dbea9f -> emacs-lsp/lsp-ui@efae00e
emacs-straight/project@388ffdf -> emacs-straight/project@ef2d487
joaotavora/eglot@f930a09 -> joaotavora/eglot@b06589b
realgud/realgud-trepan-ni@6e38cf8 -> realgud/realgud-trepan-ni@0ec088e
realgud/realgud@f73c039 -> realgud/realgud@34557f8
tumashu/posframe@fff21cc -> tumashu/posframe@739d8fd
2021-05-15 14:08:21 -04:00
Christian Kruse
f3b71b0495 fix regex in lsp-file-watch-ignored-directories in elixir module 2021-05-14 21:31:41 +02:00
Itai Y. Efrat
8a40e83ab5 unicode-chars-list-chars -> insert-char
`unicode-chars-list-chars` doesn't seem to be an actual function (not
defined in emacs or found online), and `insert-char` seems like what one
would want here.
2021-05-13 17:04:16 +03:00
Jan Felix Langenbach
c84bc953d9 Simplify (% current-column tab-width) code 2021-05-13 10:50:44 +02:00
Jan Felix Langenbach
3c41823824 Fix wrong column being used and resulting bugs 2021-05-13 09:49:30 +02:00
James Miller
b523d5314d
change from list to ' form 2021-05-12 22:08:52 -04:00
James Miller
aa97fd5528
fix typo in how to set custom elfeed.org 2021-05-12 21:35:17 -04:00
Jan Felix Langenbach
6aa29e82ae Fix #4577: WS not at BOL is deleted to tab columns
Changes the behavior of
doom/backward-delete-whitespace-to-column
to only delete to the closest tab column if there
is only whitespace between point and BOL.
This coincides with what the comments state to be
the original intent.
2021-05-13 01:06:30 +02:00
Henrik Lissner
6d2c6b44fa Refactor comp-effective-async-max-jobs advice
We only need this magic in CLI sessions. It's better to only use half
the CPUs in interactive sessions (if the user has enabled
comp-deferred-compilation for some reason).

Fixes #5042
2021-05-12 14:52:00 -04:00
Henrik Lissner
ce11a98b70 Alias native-comp-* on any Emacs 28+ build
Because boundp checks are too fallible as a guard.
2021-05-12 01:22:07 -04:00
Henrik Lissner
b7a199046d
Merge pull request #5041 from HyunggyuJang/fix/cli/byte-compile
Fix bin/doom compile error introduced by e2a11d24fd
2021-05-12 01:18:17 -04:00
Hyunggyu Jang
fef242aa34 Fix bin/doom compile error introduced by e2a11d24fd
With a commit of e2a11d24fd, when it comes to
`doom compile`, modules aren't loaded anymore, which corrupts the compiling process.

What I did is just adding the necessity parts for the doom's byte compiler.
2021-05-12 14:08:51 +09:00
Henrik Lissner
b092d79d35 Fix reference to comp-deferred-compilation-deny-list 2021-05-12 00:50:17 -04:00
Henrik Lissner
485f097297 Make native-comp-* aliases more robust
(defvaralias A B) throws an error if A is already defined. This breaks
Doom in the event that Doom's config is loaded late (e.g. with 'doom
run'), or these variables are set elsewhere (e.g. the sandbox). I didn't
want to have to do all these checks at startup, but it seems
unavoidable.

Since Doom will only support near-enough the latest commit of Emacs 28
HEAD, I will remove these fixes at the end of May, give or take a week.
2021-05-12 00:18:36 -04:00
Henrik Lissner
2dbeb0d161 Fix org-tree-slide-after-narrow-hook reference 2021-05-11 23:15:28 -04:00
Henrik Lissner
1c0cfd459b Don't invoke company on TAB if company-mode isn't active 2021-05-11 21:50:14 -04:00
Henrik Lissner
d2426d8442 Disable company-mode in vterm-mode
Doesn't do anything but hijack the TAB key. Company offers no meaningful
completion in vterm buffers anyway.
2021-05-11 21:50:14 -04:00
Henrik Lissner
87d15700bd Fix #5038: sandbox redefining comp var aliases
Closes #5040
2021-05-11 21:29:54 -04:00
Henrik Lissner
80295728d8 editor/parinfer: refactor 2021-05-11 21:29:54 -04:00
Henrik Lissner
54c67eb29e Fix #5038: renamed comp variables in sandbox loader 2021-05-11 19:28:18 -04:00
Henrik Lissner
6ad4f0698e Fix #4995: adapt to more renamed comp-* symbols
Two more variables were renamed upstream.
2021-05-11 19:03:18 -04:00
Saúl Germán Gutiérrez Calderón
582759e43b Refactor +vterm/toggle and +vterm/here 2021-05-11 17:09:48 -05:00
Henrik Lissner
5fca440beb lang/beancount: add beancount-langserver support
Mentioned in #5035.
Remove when emacs-lsp/lsp-mode#2863 is resolved.
2021-05-11 17:57:21 -04:00
Saúl Germán Gutiérrez Calderón
fe9f8e785f Fix +vterm-toggle not changing directory to project root 2021-05-11 16:44:29 -05:00
Henrik Lissner
b0e59ccdcc Fix #5030: leave rustfmt to :editor format 2021-05-11 17:00:11 -04:00
Henrik Lissner
980b3730f1 lang/beancount: fix beancount-mode+lsp support
Mentioned in #5035
2021-05-11 17:00:11 -04:00
Henrik Lissner
926ba626b7 Minor clarification in issue forms 2021-05-11 16:22:00 -04:00
Henrik Lissner
febe4a7403 Fix #5035: assocate *.beancount with beancount-mode
Otherwise, use-package implicitly associates *.beancount with
a function called `beancount`, which does not exist.
2021-05-11 16:22:00 -04:00
Henrik Lissner
a1ab5e8066
Merge pull request #4915 from HyunggyuJang/fix/org-agenda-restart
fix #4901: suppress strange behavior involving org agenda commands
2021-05-11 15:53:50 -04:00
Colin Woodbury
b66a0520b4
[:lang racket] Mention Arch packages 2021-05-11 08:01:37 -07:00
Colin Woodbury
116fb4fc64
[:lang racket] Fix typos 2021-05-11 08:01:26 -07:00
Henrik Lissner
ea3adb0e72 Revise PR template 2021-05-11 01:37:14 -04:00
William Vaughn
513e05e856
notmuch: put org-mime behind +org flag 2021-05-10 21:24:03 -07:00
Henrik Lissner
b98b6fdeed lang/julia: auto-detect default environment 2021-05-10 21:56:02 -04:00
Henrik Lissner
6584aa866f lang/julia: lsp-enable-folding = 1
To address non-Jedi/lsp-julia#35
2021-05-10 21:21:08 -04:00
Henrik Lissner
87e48cbc90 Add git-timemachine support to browse-at-remote
browse-at-remote commands will now open the current file at the active
revision on that project's git forge in your browser.
2021-05-10 16:55:54 -04:00
Henrik Lissner
3c19d9528e Bump :ui nav-flash
rolandwalker/nav-flash@dbb9121 -> rolandwalker/nav-flash@d763148

To include hotfix: rolandwalker/nav-flash#6
2021-05-10 16:37:03 -04:00
Henrik Lissner
4397f0123f Fix custom{,theme-}set-faces!, again
custom-theme-set-faces! depends on doom-theme's previous-theme property
being non-nil to determine if the theme has been set (and if so, apply
its changes immediately), but at startup custom-enabled-themes is empty,
so it was never non-nil.

Fixes #5009
Fixes #5000
2021-05-10 16:05:19 -04:00
Henrik Lissner
8492e9ba93 Bump :editor snippets
hlissner/doom-snippets@afe549b -> hlissner/doom-snippets@f7747da

To include hotfix: hlissner/doom-snippets#67
2021-05-10 15:47:36 -04:00
Grazfather
0d5ed1e257 ophints: Add hooks for lispyville
Because lispyville (depending on how you configure it) replaces some
evil-mode mappings with its own function, we lose the indication of our
deletions/yanks/etc. This change adds all lispyville functions to the
evil-goggles--commands list.
2021-05-10 12:58:46 -04:00
Henrik Lissner
68ba7e0f56
Merge pull request #5026 from rbutoi/setq-default
use setq-default for notmuch-search-oldest-first
2021-05-10 04:57:45 -04:00
Gerry Agbobada
cbbbf0de5c
fix(input layout bepo): remap visual-line-mode-map (#5019)
* fix(input layout bepo): remap visual-line-mode-map

Fixes #5002

* TO SQUASH: map visual-line-mode-map

See comment for rationale. This is the only way to make the remapping work correctly.

`j` and `k` aren't remapped because `t` and `s` had no meaning at all on
`visual-line-mode-map` in `motion` state.

* TO SQUASH: sharpquote and align
2021-05-10 04:57:06 -04:00
Henrik Lissner
d930b03fa4
Merge pull request #5018 from gagbo/patch-11
fix(:input layout bepo): Ensure eshell rotation goes after evil-collection maps
2021-05-10 04:56:27 -04:00