Commit Graph

3977 Commits

Author SHA1 Message Date
18d8ea22f6 cli/install: add templates for {config,packages}.el 2019-12-19 23:32:58 -05:00
11046d7f82 Move gcmh from doom-core-packages to core/packages.el
It doesn't need to be present outside of interactive sessions.
2019-12-19 22:07:32 -05:00
2afbbe392c Remove dotenv-mode package
Pruning packages that aren't strictly necessary.
2019-12-19 22:05:55 -05:00
a999a0ddd6 General refactors & comment revision 2019-12-19 14:51:34 -05:00
fd3f5b5b77 Revert 2f79fab99 #2211
This breaks too many packages.
2019-12-19 14:51:29 -05:00
11acc30400 Half-revert c522ca4fc
Closes #2200
2019-12-16 19:01:27 -05:00
6f7bdc801a Make print! et co always respect standard-output 2019-12-16 17:05:11 -05:00
2f79fab99f case-fold-search = nil 2019-12-16 01:11:41 -05:00
eaa5621b36 Update comments 2019-12-15 23:51:59 -05:00
160462d33d Refactor doom--switch-to-fallback-buffer-maybe-a
Reduce technical debt by future proofing the advice.
2019-12-15 23:43:33 -05:00
84252d8962 Fix #2186: irreversible modeline resizing
When adjusting fonts with doom-big-font-mode, or doom/increase-font-size
and doom/decrease-font-size.
2019-12-15 21:56:16 -05:00
c9e9ef528d Fix doom/reload-env on first-time generation 2019-12-15 21:54:01 -05:00
760dcbb8ea Warn about reloading env from within Emacs on Windows 2019-12-15 21:53:26 -05:00
cccaa4f9f3 Make doom/reload-env run 'doom env' through user's SHELL 2019-12-15 21:42:56 -05:00
c522ca4fc0 Minor refactors & cleanup 2019-12-15 15:53:28 -05:00
9eaa6ce194 display-line-numbers-widen = t 2019-12-15 15:52:28 -05:00
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