Henrik Lissner
59152248e6
bin/doom: fix wrong-type-argument hash-table-p errors #2227
...
We can't be consulting the active doom state before it has be
initialized.
2019-12-23 14:20:04 -05:00
Henrik Lissner
b144a3862a
Bind 'SPC h d S' to text search; expand ivy/helm file-search API
2019-12-23 01:51:43 -05:00
Henrik Lissner
e8aa293bc0
Defer tty-run-terminal-initialization to window-setup-hook
...
This seems to work just as well, and ensures it runs in time for
interactive use.
2019-12-23 00:02:10 -05:00
Henrik Lissner
5bff064ba8
Reduce number of projectile project root markers
...
Reduce overall I/O needed to detect project roots, at the expense of
losing detection for less popular version control systems.
2019-12-22 23:53:05 -05:00
Henrik Lissner
86c2d7c10a
No longer retain projectile cache across sessions
...
It's unnecessary overhead. Rebuilding the index the first time it is
used per session is acceptable, imo.
2019-12-22 23:53:05 -05:00
Henrik Lissner
29b383d900
Disable tty-run-terminal-initialization
...
This code *may* have side-effects, but it does reduce startup time for
terminal users by a significant margin. In my case it reduced from 2.6s
to 0.4s.
2019-12-22 23:53:04 -05:00
Henrik Lissner
213a6fda86
General refactors & reformatting
2019-12-22 23:53:04 -05:00
Henrik Lissner
458cdd5df4
ui/workspaces: remove extra workspaces when restoring sessions
2019-12-22 19:59:22 -05:00
Henrik Lissner
6e84ab0673
Fix doom-init-menu-bar-in-gui-frames-h #2156
...
window-setup-hook doesn't pass an argument.
2019-12-22 00:37:33 -05:00
Henrik Lissner
4faa4e22f9
Disable all-the-icons for tty users or tty frames #2200
2019-12-21 23:30:04 -05:00
Henrik Lissner
b53703d527
General comment revision & reformatting
2019-12-21 15:01:05 -05:00
Henrik Lissner
3583e1f2e0
Re-enable menu-bar-lines for GUI frames on MacOS #2156
2019-12-21 14:56:56 -05:00
Henrik Lissner
969b047472
Add warning when disabling core packages #2223
2019-12-21 14:11:20 -05:00
Henrik Lissner
c1879945fd
Replace doom/backward-kill-to-bol-and-indent
...
WIth new evil-delete-back-to-indentation, with behaves exactly as C-u
does in vim.
2019-12-21 03:30:44 -05:00
Henrik Lissner
a49c0b6691
Output feedback from buffer/session kill commands
2019-12-21 03:30:44 -05:00
Henrik Lissner
95bea5b95b
Disable hl-line when non-evil selection is active
...
This was already the case for evil users, now it is the case for
non-evil users.
2019-12-21 01:38:15 -05:00
Henrik Lissner
7033b589cb
Start server after brief idle delay
2019-12-20 23:00:54 -05:00
Henrik Lissner
74e1143ac0
Don't disable all-the-icons in tty Emacs
...
Too much hassle to police. I'll leave it to users to disable.
2019-12-20 21:48:35 -05:00
Henrik Lissner
1cb8ec6302
Fix doom/kill-all-buffers triggering dashboard refresh too soon #2219
2019-12-20 20:46:09 -05:00
Henrik Lissner
bff04ed35c
Fix font-spec in config.el template
2019-12-20 12:09:05 -05:00
Henrik Lissner
6d40f30a0a
Fix 'doom compile' error when compiling templates
2019-12-20 05:01:44 -05:00
Henrik Lissner
322bca710a
General refactors & reformatting
2019-12-20 00:59:52 -05:00
Henrik Lissner
18d8ea22f6
cli/install: add templates for {config,packages}.el
2019-12-19 23:32:58 -05:00
Henrik Lissner
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
Henrik Lissner
2afbbe392c
Remove dotenv-mode package
...
Pruning packages that aren't strictly necessary.
2019-12-19 22:05:55 -05:00
Henrik Lissner
a999a0ddd6
General refactors & comment revision
2019-12-19 14:51:34 -05:00
Henrik Lissner
fd3f5b5b77
Revert 2f79fab99
#2211
...
This breaks too many packages.
2019-12-19 14:51:29 -05:00
Henrik Lissner
11acc30400
Half-revert c522ca4fc
...
Closes #2200
2019-12-16 19:01:27 -05:00
Henrik Lissner
6f7bdc801a
Make print! et co always respect standard-output
2019-12-16 17:05:11 -05:00
Henrik Lissner
2f79fab99f
case-fold-search = nil
2019-12-16 01:11:41 -05:00
Henrik Lissner
eaa5621b36
Update comments
2019-12-15 23:51:59 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
c9e9ef528d
Fix doom/reload-env on first-time generation
2019-12-15 21:54:01 -05:00
Henrik Lissner
760dcbb8ea
Warn about reloading env from within Emacs on Windows
2019-12-15 21:53:26 -05:00
Henrik Lissner
cccaa4f9f3
Make doom/reload-env run 'doom env' through user's SHELL
2019-12-15 21:42:56 -05:00
Henrik Lissner
c522ca4fc0
Minor refactors & cleanup
2019-12-15 15:53:28 -05:00
Henrik Lissner
9eaa6ce194
display-line-numbers-widen = t
2019-12-15 15:52:28 -05:00
Henrik Lissner
8dd647b9bd
Make 'doom update' Skip local packages
...
i.e. packages with a user-specified :local-repo
2019-12-14 20:50:16 -05:00
Henrik Lissner
6cb13a0e86
Make 'doom refresh -p' purge then regraft
2019-12-14 20:42:55 -05:00
Henrik Lissner
e623fde85a
Fix private & elpa package lists in doom/info
...
And display errors if something went wrong.
2019-12-14 20:42:40 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
7e0c093bcf
cli/upgrade: fix dirty worktree detection
2019-12-13 14:53:52 -05:00
Henrik Lissner
8224f14d92
Expand on lambda!/lambda!!'s docstrings
2019-12-13 14:35:28 -05:00
Henrik Lissner
019e6e530b
Add text-mode to so-long-target-modes
2019-12-09 18:14:29 -05:00
Henrik Lissner
ae3316f0ae
bidi-paragraph-direction = 'left-to-right
...
A minor performance boost.
2019-12-08 20:14:11 -05:00
Henrik Lissner
4bcc9e1a94
Add letenv! macro for lexical envvars
2019-12-08 20:14:11 -05:00