Commit graph

15680 commits

Author SHA1 Message Date
Henrik Lissner
53d438d467
Merge pull request #5008 from nackjicholson/notmuch-rm-org-mime
notmuch: remove org-mime
2021-05-15 16:57:59 -04:00
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
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
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
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
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
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
skyler544
eab954bdfc
Add another potential fix for icon misalignment in doom-modeline (#5017)
I've added the code I used to finally fix modeline icon misalignment
problems in my own setup as a suggestion in the Troubleshooting section.
2021-05-10 04:56:05 -04:00
Henrik Lissner
c8ae5395a1
Merge pull request #5014 from Grazfather/patch-1
:lang clojure: Add some links and details
2021-05-10 04:55:41 -04:00
Henrik Lissner
e3cae2a5e3
Merge pull request #5007 from nackjicholson/notmuch-dead-code
notmuch: rm dead code
2021-05-10 04:55:28 -04:00
Henrik Lissner
8aa84d346e
Merge pull request #5005 from orlandow/develop
Add counsel-jq to :not ivy-prescient-sort-commands
2021-05-10 04:55:10 -04:00
Henrik Lissner
7c1ffe9a9c
Merge pull request #4996 from nackjicholson/notmuch-doc-addition
Notmuch: docs to add
2021-05-10 04:54:52 -04:00
Henrik Lissner
8882f4a994
Merge pull request #4980 from rushsteve1/elixir-improvments
Improve Elixir module keymaps
2021-05-10 04:54:27 -04:00
Henrik Lissner
fdfd60dbad Don't call uname on Windows for doom/info
Mentioned in #5022
2021-05-10 04:46:14 -04:00
Henrik Lissner
857d266e72 Inhibit format-all in modes without a formatter
Should stop format-all's error from causing trouble in modes that don't
have a registered formatter, like mu4e, org-msg-edit-mode,
org-journal-mode, and others.
2021-05-10 04:43:35 -04:00
Henrik Lissner
c19b3c827d Add CODEOWNERS file
This won't be effective until the repo is moved to a github org and
these folks are given the needed permissions.
2021-05-10 04:41:13 -04:00
Henrik Lissner
dbcf7b4f31 docs/modules: add missing README.org links 2021-05-10 04:21:19 -04:00
Henrik Lissner
b029fdfc9c evil-respect-visual-line-mode = nil
Reverts f0eb015

The conflicts are not resolved. This also breaks propagated edits on
visual line + I/A. A more convoluted fix is needed.

Relevant to #2447
2021-05-10 03:12:31 -04:00