Commit graph

4623 commits

Author SHA1 Message Date
Henrik Lissner
6ca9e0e2f1
Fix #3632: wrong-number-of-args on setq-local
Emacs 27.0.90 made setq-local variadic. I've backported this in core-lib
for Emacs <27 users. However, there are users who install Emacs
27.0.50...
2020-07-26 14:12:07 -04:00
Henrik Lissner
e71b7fc705
Revise comments in core.el 2020-07-25 17:52:55 -04:00
Henrik Lissner
2441d28ad1
Fix wrong-number-of-args error from cmd!! macro 2020-07-24 18:17:43 -04:00
Henrik Lissner
bcc1b84e76
Increase so-long threshold for softwrapped text modes 2020-07-24 02:29:03 -04:00
Henrik Lissner
9ec5428441
Set core.autocrlf = true in repos on Windows #2637
Line encoding issues can plague repos with dirty worktree prompts
updating packages or "Local variables entry is missing the suffix"
errors when installing them.
2020-07-24 01:49:59 -04:00
Paul A. Patience
a282730ce9 Fix typos and reword docstrings 2020-07-23 07:35:31 -04:00
Henrik Lissner
da1030985d
Minor refactors & reformatting 2020-07-23 01:26:03 -04:00
Henrik Lissner
f3c9a0775e
Load custom-file #3485 2020-07-22 19:18:23 -04:00
Henrik Lissner
1dc7cbcacc
Merge pull request #3485 from peterhoeg/fix_custom
core: use custom.el instead of config.el for custom-file
2020-07-22 19:17:14 -04:00
Henrik Lissner
fee16ed73f
Bump :core
justbur/emacs-which-key@8f2427a -> justbur/emacs-which-key@3642c11
jwiegley/use-package@bfc5ecd -> jwiegley/use-package@7d92536
raxod502/straight.el@621ab2c -> raxod502/straight.el@fc077dd
2020-07-22 18:14:58 -04:00
Henrik Lissner
9073a5d402
Fix #3610: revert changes to cmd!! macro
Half-reverts e6c88e4384
2020-07-22 17:09:38 -04:00
Peter Hoeg
9cead32108 core: use custom.el instead of config.el for custom-file 2020-07-22 17:17:05 +08:00
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