Commit Graph

3961 Commits

Author SHA1 Message Date
8dd647b9bd Make 'doom update' Skip local packages
i.e. packages with a user-specified :local-repo
2019-12-14 20:50:16 -05:00
6cb13a0e86 Make 'doom refresh -p' purge then regraft 2019-12-14 20:42:55 -05:00
e623fde85a Fix private & elpa package lists in doom/info
And display errors if something went wrong.
2019-12-14 20:42:40 -05:00
cdf4604288 Reduce file cache timeout from 7 days to 1
Also:
- Reorder projectile variables.
- Remove unused projectile-sort-order (since ripgrep is a hard
  dependency of Doom now, there should be no situation where we
  projectile-sort-order is important to us as a default).
2019-12-13 20:07:41 -05:00
078e563355 Prevent duplicates in projectile file lists
Projectile has `projectile-git-command` and
`projectile-git-submodule-command`. By default, these use `git ls-files`
and `git submodule foreach 'echo $path'`, respectively. It uses them
together to index a full list of project files.

Since we've changed `projectile-git-command` to use `fd` or `ripgrep`,
which indexes submodules just fine (unlike git ls-files), you get
duplicates when projectile does a second pass with
`projectile-git-submodule-command`, so we unset it completely.
2019-12-13 17:28:33 -05:00
1e6ef4d6e4 Rewrite interactive CLI commands
- Replace doom//upgrade with doom/upgrade
- Replace doom//autoloads with doom/reload-autoloads
- Replace doom//refresh with doom/reload
- Remove doom//install; there should be no workflow for this command
- Remove doom//autoremove; autoremove was replaced with purge. Maybe
  I'll write a doom//purge analogue. Not sure yet.
- Use compile instead of hacky wrapper around core-cli API

Rewrite interactive CLI commands

- Rewrite doom//upgrade & doom//autoloads
- Remove doom//install; there really should be no use-case for it
- Remove doom//autoremove; autoremove was replaced with purge. I'll get
  around to writing a doom//purge eventually.

fixup! Rewrite interactive CLI commands
2019-12-13 16:17:05 -05:00
c0116d1447 Fix #2183: suppress so-long when no comment syntax
Hopefully a better solution can be found.
2019-12-13 14:56:25 -05:00
7e0c093bcf cli/upgrade: fix dirty worktree detection 2019-12-13 14:53:52 -05:00
8224f14d92 Expand on lambda!/lambda!!'s docstrings 2019-12-13 14:35:28 -05:00
019e6e530b Add text-mode to so-long-target-modes 2019-12-09 18:14:29 -05:00
ae3316f0ae bidi-paragraph-direction = 'left-to-right
A minor performance boost.
2019-12-08 20:14:11 -05:00
4bcc9e1a94 Add letenv! macro for lexical envvars 2019-12-08 20:14:11 -05:00
f251eb5ba9 Remove recentf-exclude setting
We don't need to be so judicious about what files are included in the
MRU list. If you open a file, any file, it'll be considered a recently
opened file.
2019-12-08 20:14:11 -05:00
bc89de4228 Move vc-follow-symlinks to core-editor
And remove vc-make-backup-files setting. nil is already its default
2019-12-08 16:10:31 -05:00
cefc218e33 Merge pull request #2158 from yuhan0/fix-narrow-indirect
Fix interactive call of doom/narrow-buffer-indirectly
2019-12-08 01:01:31 -05:00
dc8b3dd57d Slight reformatting of 'doom refresh' & 'doom compile' output 2019-12-08 00:57:10 -05:00
996188250b Minor refactors & comment revision 2019-12-06 17:16:34 -05:00
cd158c5656 cli/install: fix missing autoloads error #2157 2019-12-06 13:24:14 -05:00
a30fb6fa59 Fix interactive call of doom/narrow-buffer-indirectly
Optional 3rd arg was removed in f9190c08bf
2019-12-06 18:24:51 +08:00
b0e6373694 Prevent errors when starting tests 2019-12-05 21:06:16 -05:00
8809bbc33d cli/test: fix startup error in bootstrapper 2019-12-05 20:46:47 -05:00
cd3190b594 Comment autoloads file deletion in 'doom refresh' 2019-12-05 19:51:53 -05:00
d525b5502b Update tests with new arg for doom-initialize 2019-12-05 19:50:38 -05:00
341e8b3531 cli/help: only show aliases if there are any 2019-12-05 19:34:09 -05:00
e3f8674297 Group 'doom refresh' with maintenance commands 2019-12-05 15:01:04 -05:00
1c402950af Display command aliases from 'doom help CMD' 2019-12-05 14:59:47 -05:00
c13b8df5df Minor refactors & reformatting 2019-12-05 14:56:16 -05:00
96e0ccab21 Add sync alias for 'doom refresh' 2019-12-05 14:55:13 -05:00
4b05a64263 Ensure no autoloads files are preloaded on 'doom refresh' 2019-12-05 14:55:01 -05:00
d232ba241f Remove 'doom autoloads'
It's redundant with doom refresh
2019-12-05 14:54:49 -05:00
35bb87edeb Fix unrelated errors when missing autoloads files
It should warn the user that the autoloads files are missing and need to
be generated, but instead displayed an unrelated error.
2019-12-05 14:52:46 -05:00
4300957aea Add NOERROR arg to doom-initialize 2019-12-05 14:52:30 -05:00
172260118e core/core-cli: only load the libraries we need 2019-12-05 14:50:05 -05:00
4ced3d3e83 Fix doom/reload #2153 2019-12-04 20:37:59 -05:00
235d31e82e Shorten def-package{,-hook}! deprecation warnings 2019-12-03 20:02:32 -05:00
153fbbc466 cli/upgrade: print git fetch log on successful upgrade 2019-12-02 20:22:01 -05:00
41e2fb3f76 Replace doom-large-file-size w/ doom-large-file-size-alist
Now you can have major-mode-specific large-filesize thresholds, since
not all major modes are created equal.
2019-12-02 20:22:00 -05:00
24506f15bf cli/env: fix doom-env-ignored-vars not being ignored
And add HOME to ignored vars.
2019-12-02 20:22:00 -05:00
a0d94e0db7 cli/upgrade: fix -y/--yes for 'doom upgrade'
Otherwise, 'doom upgrade' throws 'Unrecognized switch "-y"' error after
updating Doom.
2019-12-02 20:22:00 -05:00
724bf9aa08 Refactor evaluation of doom!'s arguments
And update doom!'s docstring
2019-12-02 20:22:00 -05:00
4fed5e7eb3 Fix doom/kill-buried-buffers deleting windows 2019-11-28 19:56:05 -05:00
f959147218 Reset projectile-use-git-grep
Other search engines are no longer our responsibility.
2019-11-28 15:36:07 -05:00
8f77c41a48 font-use-system-font = t if no font is set 2019-11-28 15:35:30 -05:00
f6ec3181c8 Fix doom/reload-autoloads 2019-11-25 16:34:56 -05:00
886fa36ac8 Improve 'doom purge' progress output 2019-11-25 02:18:01 -05:00
b665e31bcb Restore mode-line help-echo properties
And moved it to my private config.
2019-11-25 02:10:51 -05:00
ffc29a547c Associate clojurescript-mode with :lang clojure
For doom/help-modules
2019-11-24 19:39:10 -05:00
570894e1c8 cli/upgrade: 'doom refresh' after upgrading, before updating
Fixes an issue where uninitialized packages aren't installed when 'doom
update' tries to update them.
2019-11-24 19:38:49 -05:00
5b190c9eca Unfold hidden subtree after doom-completing-read-org-headings
Affects doom/help* commands, as well as +default/org-notes-headlines,
and others (any command that uses doom-completing-read-org-headings to
search org files).
2019-11-24 19:21:20 -05:00
d37ebee2f8 Print progress to same line on 'doom update'
Experimental.
2019-11-24 16:50:46 -05:00