Commit graph

4461 commits

Author SHA1 Message Date
Henrik Lissner
4205f1bbea
Fix #3591: wrong-type-arg stringp from projectile 2020-07-19 16:45:45 -04:00
Henrik Lissner
6b4af6d544
Remove unused package API functions
We'll see no changes to this API until the CLI rewrite is done, so
remove these unused and unfinished function definitions.
2020-07-17 23:22:48 -04:00
Henrik Lissner
523e945a3a
Fix #3215: ripgrep reporting error code 2 on Windows
Closes #3512
2020-07-17 19:24:26 -04:00
Henrik Lissner
c348b51e5f
Fix typo regression from 8e83a8e84 2020-07-13 17:14:57 -04:00
Henrik Lissner
cf39d7ed59
Fix #3532: file API wouldn't work with TRAMP 2020-07-13 17:14:12 -04:00
Henrik Lissner
8e83a8e842
Fix #3491: void-function doom-set-jump-h 2020-07-13 17:10:30 -04:00
Henrik Lissner
1cec7bf8be
Bump :core
bbatsov/projectile@95bcc7d -> bbatsov/projectile@bbcf781
justbur/emacs-which-key@8b49ae9 -> justbur/emacs-which-key@8f2427a
jwiegley/use-package@2b8f8a3 -> jwiegley/use-package@bfc5ecd
raxod502/straight.el@59c92dd -> raxod502/straight.el@621ab2c
2020-07-12 22:48:47 -04:00
Henrik Lissner
46d6d0b586
Use symbol-at-point instead of xref w/ eglot
Otherwise doom-thing-at-point-or-region will return nil, causing
"Nothing under point" warnings when using lookup commands.
2020-06-29 15:12:30 -04:00
Henrik Lissner
00ebbafb96
Fix #3455: wrong-number-of-args on executable-find call
executable-find's second argument was added in Emacs 27, so 26 users
would suffer this error.

Closes #3460
2020-06-25 15:27:26 -04:00
Henrik Lissner
d034bc2004
Fix #3425: eagerly resolve path to fd executable
This ensures that the correct binary is found, even if you're remoting
onto a system where `fd` is named `fdfind`.
2020-06-24 19:49:08 -04:00
Saál Germán Gutiérrez Calderón
3c7b64c5b0 Enable projectile-locate-dominating-file on tramp 2020-06-22 11:37:11 -05:00
Henrik Lissner
aeba2116c7
Fix #3401: doom/help-search returning no results 2020-06-19 15:50:13 -04:00
Gerry Agbobada
32f9070614
Filter out 'eglot backend from doom-thing-at-point
Context : https://github.com/joaotavora/eglot/issues/503

Fixes a bug where having eglot enabled in a buffer will make `SPC *` search the whole project for literally `LSP Identifier at point.`
2020-06-18 23:59:33 +02:00
Henrik Lissner
1878a08814
Bump :core
raxod502/straight.el@ffaad60 -> raxod502/straight.el@59c92dd
jwiegley/use-package@d2640fe -> jwiegley/use-package@2b8f8a3

Reverts 33cd837
Fixes #3406
2020-06-18 15:33:03 -04:00
Henrik Lissner
33cd8e7380
Fix #3406: max-lisp-eval-depth on startup
Due to version conflicts between the built-in seq library and the one
installed from upstream.

Revert once raxod502/straight.el#537 is resolved.
2020-06-18 14:56:30 -04:00
Henrik Lissner
4e193dbbd3
Bump :core
raxod502/straight.el@09cfa1b -> raxod502/straight.el@ffaad60
bbatsov/projectile@7e552b6 -> bbatsov/projectile@95bcc7d
2020-06-17 14:34:52 -04:00
Henrik Lissner
67c5de0313
Change :around advice to :override 2020-06-13 17:13:38 -04:00
Henrik Lissner
002bf84f45
doom-load-envvars-file: only affect default state
Some plugins (like envrc-mode) make process-environment, exec-path and
shell-file-name buffer-local. Running `M-x doom/reload` or
`doom-load-envvars-file` should affect their global values, and not
their buffer local ones.
2020-06-13 17:01:34 -04:00
Henrik Lissner
10f5916298
Only use projectile-generic-command
Rather than the 7 different commands for indexing the project's files.

This also fixes an issue with #3377, where changes to
`projectile-globally-ignored-directories` weren't seen unless they were
done at startup, before projectile loads.
2020-06-13 17:01:09 -04:00
Henrik Lissner
64de099aad
Merge pull request #3377 from wedens/fd-ignore-dirs
Make `fd` respect `projectile-globally-ignored-directories`
2020-06-13 16:35:41 -04:00
Henrik Lissner
1d709e30be
custom-file = ~/.doom.d/config.el
custom-file is now set to your private config.el, because users may want
to be able to see what Customize is storing (and where) front and
center. Storing it away in ~/.emacs.d/.local makes it harder to notice.

Also, have enable-command (and disable-command) save their data to
custom-file instead of ~/.emacs.d (see #3379).

Fixes #3379
2020-06-13 16:21:43 -04:00
wedens
79f62a6d3e make fd respect projectile-globally-ignored-directories 2020-06-13 23:31:12 +07:00
Henrik Lissner
298ef7a93b
Merge pull request #3356 from leoalekseyev/develop-stable-20200608
Fix #3348
2020-06-12 17:02:01 -04:00
Henrik Lissner
9edd4f26f3
Only crawl autoloads from module once
If you have a private module with the same name as a built-in module,
doom-module-load-path returns two entries for that module, causing our
autoloads scanner to scan it twice.
2020-06-11 04:49:31 -04:00
Leo Alekseyev
dbb48b7360 Changing add-hook in :config of use-package to :hook 2020-06-10 23:23:17 -07:00
Leo Alekseyev
9f5ae41037 This fixes https://github.com/hlissner/doom-emacs/issues/3348
I am not sure what the setting + removing hook code in use-package!
winner was trying to accomplish, but it was breaking winner-redo
functionality. This patch fixes the issue.
2020-06-10 20:38:39 -07:00
Henrik Lissner
f7431aa7c9
Fix units of "projectile cache is too large" warning
Labeled MB, but is actually displaying KB.
2020-06-10 21:54:09 -04:00
Henrik Lissner
b93cd79599
Bump :core
domtronn/all-the-icons.el@4135424 -> domtronn/all-the-icons.el@ed8e44d
raxod502/straight.el@846956e -> raxod502/straight.el@09cfa1b
2020-06-10 02:43:19 -04:00
Henrik Lissner
912961b46d
Merge pull request #3258 from sei40kr/tslint-and-eslint-for-tsx
lang/javascript: Enable TSLint and ESLint for TypeScript-TSX
2020-06-07 14:19:13 -04:00
Henrik Lissner
b4efda78a0
Merge pull request #3322 from zackteo/develop
Update doc comments in {init,config}.el templates
2020-06-07 14:15:14 -04:00
Henrik Lissner
c2c81ece35
Revert server-auth-dir to default
This directory is used when server-use-tcp is non-nil (which is the case
on Windows). With this changed from its default, users have to manually
specify its location when using emacsclientw.exe to connect to daemons.

This means a little more noise in `~/.emacs.d`, but Windows users have
worse things to put up with.

Fixes #3324
2020-06-07 14:09:30 -04:00
Henrik Lissner
5092bd82f9
Fix doom/help-search-{load-path,loaded-files}
counsel-rg-base-command now accepts a list.

Closes #3323
2020-06-07 13:55:23 -04:00
zackteo
26e421e336 Update doc comments in {init,config}.el templates
Fixed parts missing in ee972e7a3f
2020-06-07 20:02:59 +08:00
Henrik Lissner
ee972e7a3f
Update doc comments in {init,config}.el templates 2020-06-07 02:31:13 -04:00
Henrik Lissner
ea52dbc12e
Fix extra ) in doom-obsolete-modules
Left over from #3308
2020-06-05 15:22:32 -04:00
Henrik Lissner
0f03c32a12
Add with-output-to! macro
For piping output to both stdout and a file/buffer. Used in the coming
CLI rewrite.
2020-06-05 15:18:03 -04:00
Marcus Ramberg
35ec72d080 Rename perl module to raku.
It doesn't actually contain any Perl config.
2020-06-05 21:01:23 +02:00
Henrik Lissner
5b8b04f0c8
Properly lazy load flyspell
Package was eagerly loaded at startup, so we must pretend it hasn't to
defer it and future configuration.

And generalize defer-feature! macro.
2020-06-05 01:41:49 -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
60ca118eb2
Fix #3166 and #3288: over-eager project-root caching
And prevent explicit projectile-project-root interfering with project
switching.
2020-06-04 19:43:20 -04:00
Henrik Lissner
c499cdcdbe
Bump :core
domtronn/all-the-icons.el@d6cb6d4 -> domtronn/all-the-icons.el@4135424
bbatsov/projectile@5103cfc -> bbatsov/projectile@7e552b6
2020-06-02 19:52:42 -04:00
Henrik Lissner
2a824136ef
Fix #3277: 'doom install' options are ignored 2020-06-02 18:16:32 -04:00
Henrik Lissner
02542a63d4
Refactor :load-path resolve-from-here advice 2020-06-01 21:07:22 -04:00
Henrik Lissner
6a85417e8e
Fix #3272: void-variable args regression 2020-06-01 21:02:36 -04:00
Henrik Lissner
0787eae274
Expand use-package :load-path relative to containing file 2020-06-01 18:23:27 -04:00
Henrik Lissner
2d4b946e03
Clear project-root cache before switching project
Fixes #3205
May address #3166
2020-06-01 18:16:26 -04:00
Seong Yong-ju
63113ff6ce lang/javascript: Enable TSLint and ESLint for TypeScript-TSX 2020-05-31 00:57:38 +09:00
Henrik Lissner
aec94f5bb2
Fix #3228: 'Failed to fetch from upstream' on doom upgrade
Due to git name-rev returning fully qualified refs in some cases.
2020-05-29 19:36:13 -04:00
Henrik Lissner
95eb2989dc
Minimize custom-set-faces! clobbering doom-load-theme-hook
Evaluating custom-set-faces! calls would add setter functions to
doom-load-theme-hook indefinitely, which could add up each time you M-x
doom/reload. Now it adds them to a subhook, which is reset whenever Doom
is reloaded.
2020-05-28 22:01:23 -04:00