Commit graph

15995 commits

Author SHA1 Message Date
Henrik Lissner
19d41262e4 email/notmuch: remove mbsync & mbsync-xdg backends
Also merges the +notmuch-sync-command variable into
+notmuch-sync-backend, which now accepts a string.

Mentioned in #4838
2021-04-14 23:43:45 -04:00
Henrik Lissner
33af1f98b4 emacs/dired: drop non-standard switches on Windows
On Windows (or systems that don't support ls),
ls-lisp-use-insert-directory-program will be nil. In these cases, strip
out non-standard switches so they don't throw an error and make dired unusuable.

Fixes #3939
2021-04-14 23:43:45 -04:00
Henrik Lissner
0683861f3f Make doom-first-*-hooks trigger less aggressively
This fixes a class of issues where doom-first-file-hook would fire even
for files not opened interactively (e.g. via org-agenda reading agenda
files or helpful scraping definitions from source files).

In instances like these, hooks like find-file-hook or pre-command-hook
are set to nil to speed up this process and reduce noise, but many
packages add to these hooks when they are loaded; these are lost when
their lexical values fall out of scope, leading to odd errors (like the
one in #4759).

Fixes #4759 (again)
First brought up in hlissner/doom-emacs@9f08db8
2021-04-14 23:43:45 -04:00
Henrik Lissner
241e040e4d tools/lsp: remove redundant lsp-clients-lua-language-server-bin
This was already upstreamed.
2021-04-14 23:43:45 -04:00
Henrik Lissner
c6523761ac Fix test/shell.nix
Can now be used to deploy any version of Emacs between 25.3 and HEAD.
2021-04-14 23:43:45 -04:00
Henrik Lissner
32cf114dc7 lang/scheme: fix support for scheme implementations
Adds the following flags:

  +chez
  +chibi
  +chicken
  +gambit
  +gauche
  +guile
  +kawa
  +mit
  +racket

Fixes #4863
2021-04-14 23:43:45 -04:00
Henrik Lissner
5ee8080ca7 Respect dash-docs-browser-func
Formerly, `+lookup/in-docsets` would disregard
dash-docs-browser-func (locally setting it to the value of
`+lookup-open-url-fn`). Now only `+lookup/online` respects
+lookup-open-url-fn and `+lookup/in-docsets` respects
`dash-docs-brwoser-func`.

Closes #4795
2021-04-14 23:31:13 -04:00
Henrik Lissner
079feb26e4 Left align fields in doom-info
The leading whitespace can cause issues with some whitespace trimming
clipboard managers and <pre> blocks.
2021-04-14 23:31:13 -04:00
Henrik Lissner
8a083d1370 Add :lang beancount module 2021-04-14 23:31:13 -04:00
Benjamin Tan
41c0b0b5c1
Bump :lang zig
ziglang/zig-mode@6f10653 -> ziglang/zig-mode@2d0eb23
2021-04-15 11:23:16 +08:00
Henrik Lissner
2d140a7a80
Merge pull request #4860 from ericdallo/add-lsp-treemacs
ui/treemacs: add +lsp flag
2021-04-14 17:21:47 -04:00
Eric Dallo
53bd779cc9
ui/treemacs: add +lsp flag 2021-04-14 18:21:04 -03:00
Henrik Lissner
2cecf3bf84
Minor refactors 2021-04-14 13:30:13 -04:00
Henrik Lissner
51864a731e
Merge pull request #4837 from gagbo/fix/eglot-flycheck-flymake-roommates
Fix eglot integration with flycheck
2021-04-14 12:49:36 -04:00
Henrik Lissner
9bf325f768
Merge pull request #4738 from gagbo/fix/bepo-minibuffer_evil_maps
Fix #4736 - remap insert state bindings in minibuffer maps
2021-04-14 12:48:41 -04:00
Henrik Lissner
4a33c27f4f
Merge pull request #4838 from nackjicholson/notmuch-update-afew-feature-flag
notmuch -- respect +afew feature flag, fix sync buffer kill
2021-04-14 12:47:47 -04:00
Henrik Lissner
58e36b0b13
Merge pull request #4850 from daanturo/2021-04-12
Add counsel-outline to :not ivy-prescient-sort-commands
2021-04-14 12:46:47 -04:00
Henrik Lissner
82dfa22e77
Merge pull request #4851 from daanturo/pyenv-fails-friendly
Active pyenv-mode only when pyenv exe is found
2021-04-14 12:46:43 -04:00
Henrik Lissner
691d26c224
Merge pull request #4852 from daanturo/suppress-highlight-indent-guides-auto-error
Suppress highlight-indent-guides's auto errors
2021-04-14 12:46:38 -04:00
Henrik Lissner
2af1dbb676
Merge pull request #4853 from daanturo/2021-03-30
Change poetry-tracking-strategy for performance
2021-04-14 12:46:33 -04:00
Henrik Lissner
3db634bcfd
Merge pull request #4854 from daanturo/git-no-pager-in-eshell
Tell git not to use pager in eshell
2021-04-14 12:46:24 -04:00
Henrik Lissner
93a7bfc702
Merge pull request #4856 from marienz/vterm-popup
Fix vterm popup rule
2021-04-14 12:46:15 -04:00
William Vaughn
ef3ad06032
align key map item whitespace 2021-04-14 08:15:23 -07:00
Marien Zwart
7ad387619d Fix vterm popup rule
akermu/emacs-libvterm@c2c2c8afb9 changed
the default buffer name of vterm buffers, so Doom's popup-rule no longer
matches them. This causes functions like `+vterm/here` to use the entire
frame instead of creating a popup window.

Fix it by changing the popup rule to match the new naming scheme.
2021-04-14 22:40:05 +10:00
daanturo
2a294d1ea8 Tell git not to use pager in eshell
Eshell can't handle pagers.
2021-04-14 18:06:33 +07:00
daanturo
11e06427fa Suppress highlight-indent-guides's auto errors
Otherwise it constantly spams the echo area in tty
2021-04-14 17:37:45 +07:00
Gerry Agbobada
ec26b91d3a
Add outstanding issues sections for possible contributors
This section is bound to be on Discourse later, keeping the list of
TODOs that got notified on Discord here for now, not to forget
2021-04-14 09:34:38 +02:00
Gerry Agbobada
813dc6e664
fix(:tools lsp): make eglot diags use flycheck with :checkers syntax
Research on how Flycheck work, and a pending fix from Eglot, allowed to
get a cleaner representation of how this "hack" works and make it more
resilient

Co-Authored-By: Steve Purcell <steve@sanityinc.com>
2021-04-14 09:09:37 +02:00
Gerry Agbobada
539ab8d1e9
Bump eglot
joaotavora/eglot@2fbcab2 -> joaotavora/eglot@f930a09
2021-04-14 09:08:17 +02:00
Gerry Agbobada
9ac79c6e86
fix(:input layout bepo): make evilem use gé
For some reason, using only the `map!` call did not work, the reason is
still unclear but calling the evilem-default-keybdings function worked
so going with that.
2021-04-14 08:56:02 +02:00
Gerry Agbobada
3acbf8e90d
Apply changes to helm and selectrum maps 2021-04-14 08:56:02 +02:00
Gerry Agbobada
39b355cfd3
Fix #4736 - remap insert state bindings in minibuffer maps
- Run `doom-bepo--evil-collection-hook` on all minibuffer maps. This
  allows all bindings in <insert-state> to be remapped in minibuffer
  contexts
- Unmap `swiper-C-s`
2021-04-14 08:55:58 +02:00
Henrik Lissner
8b124db899
Merge pull request #4841 from rgrinberg/improve-factor-config
Improve factor configuration
2021-04-13 20:15:29 -04:00
Rudi Grinberg
39ffc27ac8 Improve factor configuration
* Add bindings to fuel-help-mode
* Add more bindings to factor mode
* Add more bindings to fuel-listener mode

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2021-04-13 16:36:04 -07:00
Grazfather
0141ad55f1
go: README: Specify req of (format +onsave) for gofmt (#4812)
* go: README: Specify req of (format +onsave) for gofmt

* Update README.org

* Correct module flag reference

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-04-13 19:28:30 -04:00
Jason Axelson
027b303e33
Update Elixir Installation instructions (#4835)
* Update Elixir Installation instructions

Link to official installation guide
Mark asdf as recommended for easier switching of versions

* Remove recommended tag on asdf

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-04-13 19:20:46 -04:00
Henrik Lissner
876bdb523c
Merge pull request #4842 from rgrinberg/fix-ocamlformat
ocamlforamt hook: buffers without a file name
2021-04-13 19:15:59 -04:00
Henrik Lissner
84d5cda86f
Merge pull request #4808 from andreiltd/c-mode-header-template-remove-double-underscore
Remove double underscore from c header templates
2021-04-13 19:11:28 -04:00
Henrik Lissner
6ca50010cd
Merge pull request #4836 from Dieken/develop
ignore extension installed by lang/dart and recover behaviour of +vterm/here
2021-04-13 19:03:46 -04:00
Henrik Lissner
60207a8028 Bump :lang scheme
jaor/geiser@8e61c27 -> emacs-geiser/geiser@aa26163

The upstream repo was moved. MELPA has since been updated so an explicit
:recipe isn't strictly necessary, but I'll use it for the time being
just to be sure (in case of outdated local melpa recipe repos).
2021-04-13 18:54:48 -04:00
Henrik Lissner
e80bd6da4a ui/dashboard: minor refactors 2021-04-13 18:54:48 -04:00
Henrik Lissner
27e2848d3b Fall back to "TAB" if no [tab] keybind 2021-04-13 18:54:48 -04:00
Henrik Lissner
c9eb00a217 Fix incorrect newline placement on send-to-REPL
Sending this form to a REPL (like ielm):

  (defun test (n)
    ...)

Will yield:

  (defun test (n
                 ...))

Because our RET emulation doesn't take evil's off-by-one cursor
placement into account.
2021-04-13 18:54:48 -04:00
Ivan Tham
ff5407f91f Add note for fcitx5 usage 2021-04-13 23:55:08 +08:00
Rudi Grinberg
47d9f52b6f ocamlforamt hook: buffers without a file name
The behavior before this PR would cause an error if a buffer not backed
by a file was opened. This can be trivially reproduced by opening a
merge/rebase conflict using ediff inside an .ml file.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2021-04-12 20:18:49 -07:00
daanturo
b317910b6e Add counsel-outline to ivy-prescient-sort-commands 2021-04-12 18:29:24 +07:00
Benjamin Tan
66569e4d88
Shift (when (featurep! +lsp)) expression outside of use-package 2021-04-05 22:43:33 +08:00
Benjamin Tan
b90751bafb
Update variable name in documentation 2021-04-05 16:49:39 +08:00
Benjamin Tan
6085102766
Remove duplicate :mode declaration
`zig-mode` already adds handles it.
2021-04-05 16:21:31 +08:00
Benjamin Tan
86ce548e5d
Update documentation 2021-04-05 16:21:31 +08:00