Commit Graph

15666 Commits

Author SHA1 Message Date
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
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
Henrik Lissner
5e8648e6c1 Add more issue forms and rewrite PR template 2021-05-10 03:11:56 -04:00
Radu Butoi
b2f19c4bd7 use setq-default for notmuch-search-oldest-first
It was made buffer-local upstream [1] and included in the latest version
bump [2].

[1]: https://git.notmuchmail.org/git?p=notmuch;a=commit;h=42d32713be9a23346de09b84983e1dd3b44b3400
[2]: ed4b1ef887
2021-05-10 02:59:27 -04:00
Henrik Lissner
ea9753a5f2 Fix #4989: pdf scaling on retina displays 2021-05-09 20:51:15 -04:00
Henrik Lissner
91573dd95f Fix site files not loading in batch session
Should help with loading Snap environment or packages installed via the
system package manager (like mu4e).

Fixes #4198
2021-05-09 20:50:23 -04:00
Henrik Lissner
5b50a57b85 Correct comments in doom-run-hook-on 2021-05-09 20:50:23 -04:00
Henrik Lissner
33e7f081a7 Restore hl-line-sticky-flag defaults
There are some modes that expect he highlight to be visible across
windows (like treemacs or mu4e). The performance benefit is negligible
anyhow.
2021-05-09 20:50:23 -04:00
Henrik Lissner
cebbd76f3d Revert to 'user theme
Trying to get 'doom to behave like 'user is too much trouble and causes
too many problems. The magic around 'user is too deeply woven into
custom.el. The whole custom.el fiasco needs to be dealt with another
way.

Fixes #5000
Fixes #5009
2021-05-09 20:50:23 -04:00
Henrik Lissner
a1fdc77dc1 lang/org: fail gracefully on org-roam-mode failure
Otherwise throws an error immediately when opening any org file, if
org-roam isn't properly set up from the get go.
2021-05-09 20:50:23 -04:00
Henrik Lissner
d44c57f01a Add :defer support to add-hook! macro
See add-hook's DEPTH argument (replaces APPEND in Emacs 27+).
2021-05-09 13:06:24 -04:00
Henrik Lissner
10f9ec44a0 Revert "Convert custom-{,theme-}set-faces! to functions"
This reverts commit cab8f03a51.

Urg, they did have to be macros, otherwise arguments are evaluated
immediately. Note to self, stop committing things after midnight.

Fixes #5015
Closes #5016
2021-05-09 12:25:19 -04:00
Gerry Agbobada
804504025c
fix(:input layout bepo): Ensure eshell rotation goes after evil-collection maps
Fixes #4847
2021-05-09 12:30:45 +02:00
Henrik Lissner
a4a64b9c6c Revise bug report form
Minor corrections and clarification.
2021-05-09 01:33:24 -04:00
Henrik Lissner
8f3b798620 Fix #5000: ensure 'doom always has precedence
'doom is a pseudo theme used to store internal faces and variables, and
must have the highest precedence (like the 'user theme, but without the
risk of being written to custom-file).
2021-05-09 01:23:42 -04:00
Henrik Lissner
cab8f03a51 Convert custom-{,theme-}set-faces! to functions
They didn't need to be macros.
2021-05-09 01:19:35 -04:00