Commit graph

675 commits

Author SHA1 Message Date
Henrik Lissner
7febca1988
Merge pull request #3414 from Andre0991/add-ivy-avy
Add `ivy-avy`
2020-11-27 23:26:08 -05:00
Henrik Lissner
db66b8af31
Omit .git from projectile-find-file & ocunsel-file-jump 2020-11-16 20:10:26 -05:00
Henrik Lissner
51744ce294
Fix #4180: omit .git from file searches 2020-11-16 20:00:07 -05:00
Henrik Lissner
29d8f44254
Add comments 2020-11-16 19:27:39 -05:00
Henrik Lissner
cfcd010cd6
Revert ivy-magic-slash-non-match-action to nil 2020-11-16 19:26:27 -05:00
Henrik Lissner
44a6c9b2c8
Fix oversized company-box scrollbars 2020-11-16 19:19:43 -05:00
Henrik Lissner
b61096578a
Hide tab-bar line in company-box frames 2020-11-16 19:18:56 -05:00
Henrik Lissner
3bdb9ad6c0
Bump :completion
abo-abo/swiper@b65e401 -> abo-abo/swiper@6a22192
company-mode/company-mode@5f5949b -> company-mode/company-mode@dd92593
emacs-helm/helm@19d2ba9 -> emacs-helm/helm@5ad6c83
ericdanan/counsel-projectile@77392cb -> ericdanan/counsel-projectile@06b03c1
lewang/flx@05600ff -> lewang/flx@647cb2f
raxod502/prescient.el@0c5d611 -> raxod502/prescient.el@41443e1
tumashu/ivy-posframe@b4fed55 -> tumashu/ivy-posframe@58ddf8c
tumashu/posframe@5696463 -> tumashu/posframe@395aca9
2020-11-10 18:36:48 -05:00
Ralf Beckmann
4e7ce47825 Demote overly aggressive completion styles
Use the Helm completion styles only as a fallback. They match so eagerly
that they disrupt other facilities like company.
2020-11-05 01:41:46 +01:00
Henrik Lissner
41885c4e72
Revert company-idle-delay to package default (0.5)
Setting a default for this variable is dangerous. Set it to low and
modes with slow backends will give users the impression that this is
typing latency (they'll suspect something else, likely Doom, before
suspecting their lsp servers or company backends). Set it too high and
users may misinterpret this as latency. Turn it off (set to nil) and
I'll get a dozen "code completion isn't working" bug reports.

I've settled on company's own default of 0.5 (which is twice as slow as
Doom's original default) because responsiveness while typing is more
important (and more frustrating to deal with), but it's still enabled,
so users are more likely to notice it than assume code completion isn't
working.
2020-11-03 16:05:12 -05:00
Henrik Lissner
a904b718f8
Default to showing dotfiles in ripgrep searches 2020-10-24 16:51:56 -04:00
Henrik Lissner
664937a3f3
Bump :completion ido
creichert/ido-vertical-mode.el@16c4c1a -> creichert/ido-vertical-mode.el@5a6e170
lewang/flx@17f5c9c -> lewang/flx@647cb2f
2020-10-20 23:25:36 -04:00
Henrik Lissner
bba035a1a2
Fix void-function +ivy-prescient-non-fuzzy in daemon 2020-10-16 23:42:59 -04:00
Henrik Lissner
35185b2175
Split doom-reload-hook into before/after hooks 2020-10-16 22:28:08 -04:00
Henrik Lissner
2e476de446
Fix #1335: company keymaps losing precedence to evil 2020-10-16 00:28:25 -04:00
Henrik Lissner
15d976142c
Fix #4000: company-box breaks if frames are deleted
Company-box doesn't perform frame-live-p checks before trying to use its
childframes, so any operation that cleans up the current session (like
`SPC TAB x`) would break it.

Should be fixed upstream.
2020-10-15 18:13:42 -04:00
Henrik Lissner
963f96b42f
Bump company
company-mode/company-mode@053c50d -> company-mode/company-mode@5f5949b

Fix #4092, due to company-mode/company-mode#1024
2020-10-14 19:11:37 -04:00
Henrik Lissner
961f551465
Fix #3859: defhydra+ ignored 2020-10-13 22:18:06 -04:00
Henrik Lissner
57669b4163
Bump company
(package! company :pin "8c22b58a01ba5f571bff112fadfc51046473fcc1")
(package! company :pin "053c50d376e65e189a6b170d2fedc7d552a73907")

For company-mode/company-mode#1023
2020-10-13 21:04:10 -04:00
Henrik Lissner
dc50c6bae3
Bump :completion ivy
tumashu/ivy-posframe@1e602a7 -> tumashu/ivy-posframe@b4fed55

Fixes #4058, due to tumashu/ivy-posframe@d16fbb0
2020-10-11 20:36:44 -04:00
Henrik Lissner
c5605e9de5
Bump :completion
abo-abo/swiper@9bb6841 -> abo-abo/swiper@b65e401
company-mode/company-mode@4462e7d -> company-mode/company-mode@8c22b58
emacs-helm/helm@d2fbf66 -> emacs-helm/helm@19d2ba9
lewang/flx@17f5c9c -> lewang/flx@05600ff
raxod502/prescient.el@cc289ba -> raxod502/prescient.el@0c5d611
sebastiencs/company-box@d8f71fd -> sebastiencs/company-box@be37a9a
tumashu/ivy-posframe@4474956 -> tumashu/ivy-posframe@1e602a7
tumashu/posframe@7b92a54 -> tumashu/posframe@5696463

Fix #4013 due to company-mode/company-mode#1020
2020-10-07 21:51:10 -04:00
Nick Hackman
64444ac2e7 Fix typo Ivy README.org
Removed extraneous `)`.
2020-09-02 18:34:47 -04:00
Henrik Lissner
8024f4edf9
Fix #3215 (again): --path-separator /
Use a single slash.
2020-09-01 06:45:04 -04:00
Mike Chen
93795633dd
fix ivy not working well with lsp-ivy-workspace-symbol
More details here: emacs-lsp/lsp-ivy#18 (comment)
2020-08-26 15:09:52 +08:00
Henrik Lissner
af35e56abb
Bump :completion
+ :completion company
  company-mode/company-mode@54f60ef -> company-mode/company-mode@4462e7d
  sebastiencs/company-box@20384f0 -> sebastiencs/company-box@d8f71fd
+ :completion helm
  emacs-helm/helm@e9a1e53 -> emacs-helm/helm@d2fbf66
2020-08-24 22:27:37 -04:00
Henrik Lissner
a1da1fa82f
Bump :completion ivy
tumashu/ivy-posframe@82a63ae -> tumashu/ivy-posframe@4474956

tumashu/ivy-posframe@82a63ae seems to have been removed or force pushed
out of master.

Fixes #3799
2020-08-21 15:49:39 -04:00
Henrik Lissner
cf2663ab7b
Bump *
bbatsov/projectile@bbcf781 -> bbatsov/projectile@46d2010
domtronn/all-the-icons.el@ed8e44d -> domtronn/all-the-icons.el@8c02280
emacsmirror/straight@fc077dd -> emacsmirror/straight@0c7c757
justbur/emacs-which-key@3642c11 -> justbur/emacs-which-key@e48e190
jwiegley/use-package@7d92536 -> jwiegley/use-package@4fb1f9a
purcell/ns-auto-titlebar@1efc30d -> purcell/ns-auto-titlebar@60273e7

+ :app
  - :app calendar
    kidd/org-gcal.el@7445058 -> kidd/org-gcal.el@2cad2d8
  - :app irc
    jorgenschaefer/circe@e5bf5f8 -> jorgenschaefer/circe@89aac22
  - :app rss
    skeeto/elfeed@d0405e6 -> skeeto/elfeed@8fb09ad
  - :app twitter
    abo-abo/avy@509471b -> abo-abo/avy@bbf1e73
+ :completion
  - :completion company
    company-mode/company-mode@5eb7d86 -> company-mode/company-mode@54f60ef
    sebastiencs/company-box@889d723 -> sebastiencs/company-box@20384f0
  - :completion helm
    emacs-helm/helm@5d224cb -> emacs-helm/helm@e9a1e53
    tumashu/posframe@922e4d2 -> tumashu/posframe@7b92a54
  - :completion ivy
    abo-abo/swiper@c6b60d3 -> abo-abo/swiper@9bb6841
    raxod502/prescient.el@b11d79b -> raxod502/prescient.el@cc289ba
    snyball/ivy-posframe@4474956 -> snyball/ivy-posframe@82a63ae
+ :checkers
  - :checkers syntax
    alexmurray/flycheck-posframe@2b3e94c -> alexmurray/flycheck-posframe@c928b5b
+ :editor
  - :editor evil
    emacs-evil/evil@2bc6ca3 -> emacs-evil/evil@1e7aa5b
    emacs-evil/evil-collection@3e62b6b -> emacs-evil/evil-collection@c136589
  - :editor fold
    seregaxvm/vimish-fold@6368523 -> seregaxvm/vimish-fold@9d12e39
  - :editor god
    emacsorphanage/god-mode@1eb6ef3 -> emacsorphanage/god-mode@ad2e674
  - :editor lispy
    abo-abo/lispy@cdaa9c7 -> abo-abo/lispy@0a9dcfd
    noctuid/lispyville@25a7012 -> noctuid/lispyville@0f13f26
  - :editor objed
    clemera/objed@e89d8da -> clemera/objed@dea5a64
  - :editor snippets
    joaotavora/yasnippet@5b1217a -> joaotavora/yasnippet@5cbdbf0
    hlissner/doom-snippets@21b7c8d -> hlissner/doom-snippets@60c57d6
  - :editor word-wrap
    emacs-straight/adaptive-wrap@1810c0e -> emacs-straight/adaptive-wrap@319db64
+ :emacs
  - :emacs dired
    purcell/diredfl@83567d0 -> purcell/diredfl@cd052df
  - :emacs ibuffer
    purcell/ibuffer-projectile@504b0ed -> purcell/ibuffer-projectile@ecbe482
    purcell/ibuffer-vc@1249c1e -> purcell/ibuffer-vc@5fa6aea
  - :emacs undo
    emacs-straight/undo-tree@5b6df03 -> emacs-straight/undo-tree@7523823
    ideasman42/emacs-undo-fu@46de023 -> ideasman42/emacs-undo-fu@c0806c1
  - :emacs vc
    magit/magit@d459e52 -> magit/magit@321214c
    pidu/git-timemachine@391eb61 -> pidu/git-timemachine@8d67575
+ :email
  + :email notmuch
    https://git.notmuchmail.org/git/notmuch@ad9c2e9 -> https://git.notmuchmail.org/git/notmuch@8776faf
    org-mime/org-mime@9f84446 -> org-mime/org-mime@9bb6351
  + :email wanderlust
    wanderlust/semi@57a948c -> wanderlust/semi@10897f0
+ :input
  - :input japanese
    skk-dev/ddskk@fe7f82b -> skk-dev/ddskk@275a831
+ :lang
  - :lang agda
    agda/agda@8eb0d01 -> agda/agda@36738c1
  - :lang cc
    Andersbakken/rtags@080cb0e -> Andersbakken/rtags@b57b360
    MaskRay/emacs-ccls@44f1fb3 -> Sarcasm/irony-mode@5f75fc0
    emacsmirror/cmake-mode@bfe85bc -> emacsmirror/cmake-mode@e58c411
  - :lang common-lisp
    joaotavora/sly@becf7b7 -> joaotavora/sly@155cb06
  - :lang coq
    ProofGeneral/PG@0f0bb2c -> ProofGeneral/PG@03e427a
    cpitclaudel/company-coq@7ec8058 -> cpitclaudel/company-coq@b096cb5
  - :lang dart
    emacs-lsp/lsp-dart@a06fc74 -> emacs-lsp/lsp-dart@437c548
  - :lang elixir
    elixir-editors/emacs-elixir@02a3922 -> elixir-editors/emacs-elixir@01b3324
  - :lang elm
    jcollard/elm-mode@7782be0 -> jcollard/elm-mode@363da4b
  - :lang emacs-lisp
    clojure-emacs/cider@9e117c2 -> clojure-emacs/cider@a89b694
    clojure-emacs/clojure-mode@da9f1ec -> clojure-emacs/clojure-mode@84ed16c
    jorgenschaefer/emacs-buttercup@e71a40f -> jorgenschaefer/emacs-buttercup@0e5eae0
    xuchunyang/elisp-demos@4cd55a3 -> xuchunyang/elisp-demos@8c97481
  - :lang erlang
    erlang/otp@3065fbf -> erlang/otp@d9bc785
  - :lang ess
    emacs-ess/ESS@3c2fb63 -> emacs-ess/ESS@1baf8bf
  - :lang fuel
    factor/factor@497d649 -> factor/factor@3fdb032
  - :lang fsharp
    fsharp/emacs-fsharp-mode@8c86e38 -> fsharp/emacs-fsharp-mode@3e41fe1
  - :lang fstar
    FStarLang/fstar-mode.el@aaaf256 -> FStarLang/fstar-mode.el@bd28cb8
  - :lang haskell
    jyp/dante@7411904 -> jyp/dante@c516bc9
  - :lang hy
    hylang/hy-mode@e2d5fec -> hylang/hy-mode@55e84ca
  - :lang idris
    idris-hackers/idris-mode@acc8835 -> idris-hackers/idris-mode@b77eadd
  - :lang java
    mopemope/meghanada-emacs@e119c7b -> mopemope/meghanada-emacs@1e41f7f
  - :lang javascript
    ananthakumaran/tide@13e7af7 -> ananthakumaran/tide@f0b6dac
    emacs-typescript/typescript.el@0fc7297 -> emacs-typescript/typescript.el@42a60e5
    mooz/js2-mode@5049e54 -> mooz/js2-mode@40aab27
  - :lang julia
    JuliaEditorSupport/julia-emacs@1c122f1 -> JuliaEditorSupport/julia-emacs@b5f5983
    tpapp/julia-repl@5fa04de -> tpapp/julia-repl@d073acb
  - :lang kotlin
    Emacs-Kotlin-Mode-Maintainers/kotlin-mode@ab61099 -> Emacs-Kotlin-Mode-Maintainers/kotlin-mode@8e6dd57
  - :lang latex
    emacs-straight/adaptive-wrap@1810c0e -> emacs-straight/adaptive-wrap@319db64
    emacs-straight/auctex@6abf890 -> emacs-straight/auctex@59e251c
    iyefrat/evil-tex@bb01576 -> iyefrat/evil-tex@06234c9
  - :lang lean
    leanprover/lean-mode@65b55b1 -> leanprover/lean-mode@6b43776
  - :lang ledger
    ledger/ledger-mode@7d78645 -> ledger/ledger-mode@805507f
  - :lang markdown
    Fanael/edit-indirect@935ded3 -> Fanael/edit-indirect@bdc8f54
    jrblevin/markdown-mode@fa9fa20 -> jrblevin/markdown-mode@ef2cb4d
    seagle0128/grip-mode@52768a0 -> seagle0128/grip-mode@281ada2
  - :lang nix
    NixOS/nix-mode@a00b3f7 -> NixOS/nix-mode@0cf1ea1
  - :lang ocaml
    ocaml-ppx/ocamlformat@27a49cc -> ocaml-ppx/ocamlformat@cd0eaa8
    ocaml/dune@66cfb3a -> ocaml/dune@daea74e
  - :lang org
    abo-abo/org-download@768716b -> abo-abo/org-download@67b3c74
    bastibe/org-journal@a6378dc -> bastibe/org-journal@a2728e2
    dzop/emacs-jupyter@785edbb -> dzop/emacs-jupyter@360cae2
    emacs-straight/org-mode@a1e5bee -> emacs-straight/org-mode@220f2b0
    hniksic/emacs-htmlize@86f22f2 -> hniksic/emacs-htmlize@4920510
    integral-dw/org-superstar-mode@1748185 -> integral-dw/org-superstar-mode@94f35c2
    oer/org-re-reveal@c548e23 -> oer/org-re-reveal@7fe39d5
    org-roam/company-org-roam@5d7ccd9 -> org-roam/company-org-roam@1132663
    org-roam/org-roam@0aa0a7c -> org-roam/org-roam@c33867e
  - :lang php
    emacs-php/php-mode@4345dfd -> emacs-php/php-mode@f4c7c69
    jwiegley/emacs-async@86aef2c -> jwiegley/emacs-async@36a1015
  - :lang plantuml
    skuro/plantuml-mode@ea45a13 -> skuro/plantuml-mode@5889166
  - :lang python
    cython/cython@0208bf2 -> cython/cython@fcfd16c
    emacs-lsp/lsp-pyright@3cf2e8f -> emacs-lsp/lsp-pyright@9603dda
    emacs-lsp/lsp-python-ms@7a502e6 -> emacs-lsp/lsp-python-ms@a884a9a
    necaris/conda.el@9d02130 -> necaris/conda.el@9f7eea1
    wbolster/emacs-python-pytest@6a3b4e5 -> wbolster/emacs-python-pytest@fc056fa
  - :lang racket
    greghendershott/racket-mode@29afd25 -> greghendershott/racket-mode@c55fd70
  - :lang rest
    pashky/restclient.el@e8ca809 -> pashky/restclient.el@ac8aad6
  - :lang ruby
    nonsequitur/inf-ruby@f3c927c -> nonsequitur/inf-ruby@9f0f79f
  - :lang rust
    brotzeit/rustic@0ec0688 -> brotzeit/rustic@75b9920
  - :lang scala
    emacs-lsp/lsp-metals@3d4d4b7 -> emacs-lsp/lsp-metals@039aa72
    hvesalai/emacs-sbt-mode@633a315 -> hvesalai/emacs-sbt-mode@4358ed8
    hvesalai/emacs-scala-mode@46bb948 -> hvesalai/emacs-scala-mode@1d08e88
  - :lang scheme
    flatwhatson/flycheck-guile@f37b614 -> flatwhatson/flycheck-guile@2940f16
    jaor/geiser@0c86289 -> jaor/geiser@adc5c4a
  - :lang solidity
    ethereum/emacs-solidity@022b315 -> ethereum/emacs-solidity@d166a86
  - :lang swift
    emacs-lsp/lsp-sourcekit@04d75b6 -> emacs-lsp/lsp-sourcekit@130f7a8
    swift-emacs/swift-mode@2ab9ea1 -> swift-emacs/swift-mode@d266fbd
  - :lang web
    fxbois/web-mode@a2badd0 -> fxbois/web-mode@60ffd87
  - :lang yaml
    yoshiki/yaml-mode@cecf4b1 -> yoshiki/yaml-mode@68fecb5
+ :term
  - :term term
    manateelazycat/multi-term@7307ddd -> manateelazycat/multi-term@017c77c
+ :tools
  - :tools ansible
    yoshiki/yaml-mode@34648f2 -> yoshiki/yaml-mode@68fecb5
  - :tools debugger
    emacs-lsp/dap-mode@85a6163 -> emacs-lsp/dap-mode@4b18543
    realgud/realgud@5b0ed08 -> realgud/realgud@332d136
    tumashu/posframe@6d604a7 -> tumashu/posframe@7b92a54
  - :tools docker
    Silex/docker.el@d6233bd -> Silex/docker.el@3773112
  - :tools editorconfig
    editorconfig/editorconfig-emacs@9a73ff7 -> editorconfig/editorconfig-emacs@9bc1343
  - :tools ein
    millejoh/emacs-ipython-notebook@ccbed30 -> millejoh/emacs-ipython-notebook@99a4718
  - :tools lookup
    jacktasia/dumb-jump@b815731 -> jacktasia/dumb-jump@0d74b2f
  - :tools lsp
    emacs-lsp/helm-lsp@5c960e7 -> emacs-lsp/helm-lsp@4263c96
    emacs-lsp/lsp-mode@edb8119 -> emacs-lsp/lsp-mode@4145a70
    emacs-lsp/lsp-ui@1f3e970 -> emacs-lsp/lsp-ui@c39ae37
    joaotavora/eglot@fb6b17e -> joaotavora/eglot@5f873d2
  - :tools magit
    magit/forge@2c48746 -> magit/forge@feee7e2
    magit/magit@798aff5 -> magit/magit@321214c
  - :tools pass
    zx2c4/password-store@07b169e -> zx2c4/password-store@06f4999
  - :tools rgb
    emacs-straight/rainbow-mode@f780ddb -> emacs-straight/rainbow-mode@fdff98b
+ :ui
  - :ui doom
    hlissner/emacs-doom-themes@8a5538e -> hlissner/emacs-doom-themes@24023de
  - :ui fill-column
    laishulu/hl-fill-column@43cb3c3 -> laishulu/hl-fill-column@5782a91
  - :ui hl-todo
    tarsius/hl-todo@3bba459 -> tarsius/hl-todo@0598b98
  - :ui hydra
    abo-abo/hydra@87873d7 -> abo-abo/hydra@112e689
  - :ui indent-guides
    DarthFennec/highlight-indent-guides@1b12c7b -> DarthFennec/highlight-indent-guides@a4f7714
  - :ui modeline
    seagle0128/doom-modeline@881e099 -> seagle0128/doom-modeline@ffbaaee
  - :ui tabs
    ema2159/centaur-tabs@9114ef4 -> ema2159/centaur-tabs@7e0332b
  - :ui treemacs
    Alexander-Miller/treemacs@644e940 -> Alexander-Miller/treemacs@027e03b
  - :ui window-select
    abo-abo/ace-window@7003c88 -> abo-abo/ace-window@c7cb315
2020-08-19 16:18:11 -04:00
Henrik Lissner
d02d78c3fa
Make find-file-in-project faster in large projects 2020-08-13 17:02:25 -04:00
Henrik Lissner
ef09695f57
Bump :completion company
company-mode/company-mode@1f56bec -> company-mode/company-mode@5eb7d86
sebastiencs/company-box@452f083 -> sebastiencs/company-box@889d723
2020-08-07 23:22:40 -04:00
Henrik Lissner
db7b2f6da9
completion/ivy: show chevron on highlighted item in tty
So its easier to see in the terminal, where some themes may not have a
visible background for the current match.
2020-08-07 23:07:51 -04:00
Henrik Lissner
fd3b89854e
completion/company: minor refactor/reformatting 2020-08-07 20:15:15 -04:00
Henrik Lissner
e52993fe33
completion/company: update README's package list
To reflect e7c21634a
2020-07-26 14:52:16 -04:00
Henrik Lissner
e7c21634a7
Remove company-prescient
Prescient re-sorts completion candidates by frecency, which is
disruptive for backends that do their own sorting (like LSP or sly, or
any backend that does fuzzy completion). It also slows down the
presentation of candidates by at least a magnitude of 2. The net loss in
performance and accuracy doesn't justify having frecency sorting, and
disabling it on a per-mode basis is too big a maintenance hassle.

Fix #3630
2020-07-26 14:43:19 -04:00
Henrik Lissner
15f0bccde5
Bump :completion
bbatsov/helm-projectile@08ea358 -> bbatsov/helm-projectile@2f3a2a0
cosmicexplorer/helm-rg@785a80f -> cosmicexplorer/helm-rg@ee0a3c0
emacs-helm/helm@58d1982 -> emacs-helm/helm@5d224cb
raxod502/prescient.el@3ab7605 -> raxod502/prescient.el@b11d79b
tumashu/posframe@c445902 -> tumashu/posframe@922e4d2
2020-07-23 01:32:00 -04:00
Henrik Lissner
89915715a6
Fix #3586: truncated filenames from counsel-file-jump
When using ripgrep instead of fd.
2020-07-18 19:40:01 -04:00
Henrik Lissner
523e945a3a
Fix #3215: ripgrep reporting error code 2 on Windows
Closes #3512
2020-07-17 19:24:26 -04:00
Andre Peric Tavares
41b237e06e
Add ivy-avy
`ivy-avy` makes it possible to select a candidate with `avy` by using `C-'` in an ivy minibuffer.
This functinally used to come with `swiper`, but it was split: https://github.com/melpa/melpa/pull/6951
2020-06-18 23:18:26 -03:00
Henrik Lissner
c0087ff30e
Bump :completion
DarwinAwardWinner/ido-completing-read-plus@98d3a6e -> DarwinAwardWinner/ido-completing-read-plus@b9ca256
abo-abo/swiper@544e7de -> abo-abo/swiper@a007ba6
bbatsov/helm-projectile@5328b74 -> bbatsov/helm-projectile@08ea358
company-mode/company-mode@6333fc4 -> company-mode/company-mode@1f56bec
emacs-helm/helm@b6db9fb -> emacs-helm/helm@58d1982
emacs-jp/helm-c-yasnippet@65ca732 -> emacs-jp/helm-c-yasnippet@89cc856
raxod502/prescient.el@0f4a89b -> raxod502/prescient.el@3ab7605
sebastiencs/company-box@3814fcb -> sebastiencs/company-box@452f083
tumashu/posframe@093b29a -> tumashu/posframe@c445902
2020-06-17 14:31:23 -04:00
Henrik Lissner
235ad55ba1
Force counsel-rg-base-command to be a list
Counsel allows `counsel-rg-base-command' to be a string or list. This
backwards compatibility is a maintenance burden for Doom, so it's
simpler to force it to always be a list.
2020-06-07 13:58:12 -04:00
Henrik Lissner
85883facf5
Bump :completion ivy
Yevgnen/ivy-rich@3f818b2 -> Yevgnen/ivy-rich@1097013
abo-abo/swiper@04ca164 -> abo-abo/swiper@544e7de
ericdanan/counsel-projectile@126e825 -> ericdanan/counsel-projectile@77392cb
tumashu/ivy-posframe@ae9bafe -> tumashu/ivy-posframe@4474956
2020-06-05 01:19:03 -04:00
Henrik Lissner
8089b5b723
Make change to counsel-rg-base-command idempotent
So doom/reload doesn't clobber it.
2020-06-05 00:47:35 -04:00
Henrik Lissner
f548ab600c
Fix #2351: counsel-rg errors on Windows 2020-06-05 00:43:51 -04:00
Henrik Lissner
8bf902d5f4
General refactors & reformatting across the board 2020-06-04 20:13:28 -04:00
Henrik Lissner
f5e120eefe
Fix #3219: icon repetition after doom/reload
Due to faulty member detection (`cl-pushnew` uses `eql` by default,
which can't compare compound data structures).
2020-05-26 20:32:55 -04:00
Henrik Lissner
e00bfc7612
Minor refactors & reformatting 2020-05-25 03:43:40 -04:00
Henrik Lissner
bbe3cbdaf6
Activate global-company-mode on doom-first-input-hook 2020-05-17 20:37:07 -04:00
Henrik Lissner
bdd4657e23
Prevent company-abort side-effects suppressing echo-area
e.g. some sly commands (like sly-compile-defun) log to the echo area,
but company-abort was being called every time normal mode is
invoked (which happens more often than you'd think). It would be fine if
company-abort noop'ed if company wasn't active, but it doesn't; side
effects ensue.
2020-05-17 20:31:51 -04:00
Henrik Lissner
4f885ca176
Bump :completion ivy
abo-abo/swiper@84efa3a -> abo-abo/swiper@04ca164
ericdanan/counsel-projectile@b556ed8 -> ericdanan/counsel-projectile@126e825
mhayashi1120/Emacs-wgrep@5977b8e -> mhayashi1120/Emacs-wgrep@f0ef9bf
raxod502/prescient.el@0f4a89b -> raxod502/prescient.el@3ab7605
2020-05-16 05:15:53 -04:00
Henrik Lissner
ea18c83c0a
General refactors & reformatting across the board 2020-05-15 01:44:53 -04:00
Henrik Lissner
0e851ace9b
Backport bits of CLI rewrite
The rewrite for Doom's CLI is taking a while, so I've backported a few
important changes in order to ease the transition and fix a couple bugs
sooner.

Fixes #2802, #2737, #2386

The big highlights are:

- Fix #2802: We now update recipe repos *before* updating/installing any
  new packages. No more "Could not find package X in recipe repositories".

- Fix #2737: An edge case where straight couldn't reach a pinned
  commit (particularly with agda).

- Doom is now smarter about what option it recommends when straight
  prompts you to make a choice.

- Introduces a new init path for Doom. The old way:
  - Launch in "minimal" CLI mode in non-interactive sessions
  - Launch a "full" interactive mode otherwise.
  The new way
  - Launch in "minimal" CLI mode *only* for bin/doom
  - Launch is a simple mode for non-interactive sessions that still need
    access to your interactive config (like async org export/babel).
  - Launch a "full" interactive mode otherwise.

  This should fix compatibility issues with plugins that use the
  async.el library or spawn child Emacs processes to fake
  parallelization (like org's async export and babel functionality).

- Your private init.el is now loaded more reliably when running any
  bin/doom command. This gives you an opportunity to configure its
  settings.

- Added doom-first-{input,buffer,file}-hook hooks, which we use to queue
  deferred activation of a number of packages. Users can remove these
  modes from these hooks; altogether preventing them from loading,
  rather than waiting for them to load to then disable them,
  e.g. (after! smartparens (smartparens-global-mode -1)) -> (remove-hook
  'doom-first-buffer #'smartparens-global-mode)

  Hooks added to doom-first-*-hook variables will be removed once they
  run.

  This should also indirectly fix #2386, by preventing interactive modes
  from running in non-interactive session.

- Added `doom/bump-*` commands to make bumping modules and packages
  easier, and `doom/bumpify-*` commands for converting package!
  statements into user/repo@sha1hash format for bump commits.

- straight.el is now commit-pinned, like all other packages. We also
  more reliably install straight.el by cloning it ourselves, rather than
  relying on its bootstrap.el.

  This should prevent infinite "straight has diverged from master"
  prompts whenever we change branches (though, you might have to put up
  with it one more after this update -- see #2937 for workaround).

All the other minor changes:

- Moved core/autoload/cli.el to core/autoload/process.el
- The package manager will log attempts to check out pinned commits
- If package state is incomplete while rebuilding packages, emit a
  simpler error message instead of an obscure one!
- Added -u switch to 'doom sync' to make it run 'doom update' afterwards
- Added -p switch to 'doom sync' to make it run 'doom purge' afterwards
- Replace doom-modules function with doom-modules-list
- The `with-plist!` macro was removed, since `cl-destructuring-bind`
  already serves that purpose well enough.
- core/autoload/packages.el was moved into core-packages.el
- bin/doom will no longer die if DOOMDIR or DOOMLOCALDIR don't have a
  trailing slash
- Introduces doom-debug-variables; a list of variables to toggle on
  doom/toggle-debug-mode.
- The sandbox has been updated to reflect the above changes, also:
  1. Child instances will no longer inherit the process environment of
     the host instance,
  2. It will no longer produce an auto-save-list directory in ~/.emacs.d
2020-05-15 01:33:52 -04:00