Commit graph

4120 commits

Author SHA1 Message Date
Henrik Lissner
f959147218
Reset projectile-use-git-grep
Other search engines are no longer our responsibility.
2019-11-28 15:36:07 -05:00
Henrik Lissner
8f77c41a48
font-use-system-font = t if no font is set 2019-11-28 15:35:30 -05:00
Henrik Lissner
f6ec3181c8
Fix doom/reload-autoloads 2019-11-25 16:34:56 -05:00
Henrik Lissner
886fa36ac8
Improve 'doom purge' progress output 2019-11-25 02:18:01 -05:00
Henrik Lissner
b665e31bcb
Restore mode-line help-echo properties
And moved it to my private config.
2019-11-25 02:10:51 -05:00
Henrik Lissner
ffc29a547c
Associate clojurescript-mode with :lang clojure
For doom/help-modules
2019-11-24 19:39:10 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
d37ebee2f8
Print progress to same line on 'doom update'
Experimental.
2019-11-24 16:50:46 -05:00
Henrik Lissner
a9f412bf5e
Fix doom/help-* commands for helm users #2107 2019-11-24 16:50:46 -05:00
Henrik Lissner
ebe1da4282
doom-module-from-path: exclude psuedo-modules #2107
Don't include :core and :private modules in '<help> d m'. They aren't
real and no help can be derived from them.
2019-11-23 15:01:34 -05:00
Henrik Lissner
d11902f313
doom-module-from-path: return nil if not in a module #2107 2019-11-23 14:52:38 -05:00
Henrik Lissner
5ece51a2a6
Prevent straight recipe lookup errors #2104
Errors like 'Could not find package emacsmirror-mirror in recipe
repositories' occur because I assumed that straight--reset-caches would
unset `straight-recipe-repositories`. I'm not sure if that was ever the
case, but it isn't now.
2019-11-23 01:44:49 -05:00
Henrik Lissner
26c8f5c6ef
Bytecompiler bytecompiler, won't you shut up 2019-11-23 01:21:25 -05:00
Henrik Lissner
803da8b3b9
Fix #2104: prevent double-package-init on 'doom refresh'
'Could not find package emacsmirror-mirror in recipe repositories'
error, which shouldn't happen since emacsmirror-mirror is a recipe repo.
2019-11-23 01:21:25 -05:00
Henrik Lissner
9676c7a871
Update straight init
Since straight-allow-recipe-inheritance was introduced upstream, we no
longer need to merge recipes ourselves.
2019-11-23 01:21:24 -05:00
Henrik Lissner
9d9b6e514c
Refactor autoloads generater 2019-11-23 01:21:24 -05:00
Henrik Lissner
e7019e4163
Fix custom-set-*-faces! macros in Emacs 27
custom--inhibit-theme-enable is non-nil by default in Emacs 27, which
inhibits uses of `custom-theme-set-faces` when modifying any theme other
than 'user.
2019-11-22 16:24:19 -05:00
Henrik Lissner
4351474bf3
Add "X updated" notice after package is updated
To make it clearer what package was just updated after spewing a lot of
git log output.
2019-11-22 16:15:06 -05:00
Henrik Lissner
c9ae1f0a30
cli/env: ignore GPG_TTY & TERM envvars 2019-11-22 16:14:05 -05:00
Henrik Lissner
88eb9d1d61
Don't bind noninteractive while building autoloads
See raxod502/straight.el#431
2019-11-22 13:52:07 -05:00
Henrik Lissner
fcbd91fc0d
Fix custom-set-theme-faces! applying only to 'user 2019-11-22 13:17:10 -05:00
Henrik Lissner
34500c9177
Fix #2103: logic error initializing gcmh-mode 2019-11-22 12:56:00 -05:00
Henrik Lissner
2dc50f49fc
Fix #1500: rewrite font size adjustment commands 2019-11-22 00:39:55 -05:00
Henrik Lissner
441fc5115c
Don't load user's init.el in sandbox sessions
For 'C-c C-p' and 'C-c C-d', specifically.
2019-11-21 21:55:48 -05:00
Henrik Lissner
a6e25209b8
Fix #2046 replacing process-environment, exec-path & shell-file-name 2019-11-21 17:16:46 -05:00
Henrik Lissner
fb13b902b0
Minor comment/doc revision & refactors 2019-11-21 14:46:45 -05:00
Henrik Lissner
db19241936
Use gcmh package to manage adjust GC interactively 2019-11-21 14:46:45 -05:00
Henrik Lissner
6f63a28c8f
Require straight on doom//* commands 2019-11-21 14:24:20 -05:00
Henrik Lissner
d873e75e63
Disable M-x customize & M-x customize-themes 2019-11-21 14:21:56 -05:00
Henrik Lissner
cfe501fab0
Fix doom//*... again 2019-11-21 14:10:48 -05:00
Henrik Lissner
36ba16b295
Add -p/--purge switches to 'doom refresh' 2019-11-21 02:00:24 -05:00
Henrik Lissner
e1435d6453
Merge pull request #2084 from rgrinberg/speedup-guessing-indent
Speed up indent guessing
2019-11-21 00:44:06 -05:00
Henrik Lissner
a4fcbb40e9
Revert ed3408d #2085 2019-11-21 00:36:40 -05:00
Henrik Lissner
643c7b0f18
Fix doom//* commands
Hopefully
2019-11-21 00:35:50 -05:00
Rudi Grinberg
c7420a4bd7 Speed up indent guessing
Guessing the indentation can be awfully slow because it scans the whole
buffer. This PR overrides the guessing mechanism to scan at most 10000
points.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-11-20 11:27:26 +07:00
Henrik Lissner
304506edcc
Fix first envvar set by doom-load-envvar-file
Potentially fixes #2077
2019-11-19 19:09:44 -05:00
Henrik Lissner
263c82def1
Remove references to old ivy/helm search commands
And consolidate ex commands into :pg[rep][!] and :pg[rep]d[!].
2019-11-18 15:06:11 -05:00
Henrik Lissner
c7ddcefba9
core: use-package!->after! where former is unnecessary 2019-11-18 14:18:18 -05:00
Henrik Lissner
abe9239088
Simplify doom/report-bug 2019-11-17 21:09:06 -05:00
Henrik Lissner
ed3408d839
Move tramp-histfile-override to doom-cache-dir 2019-11-17 18:45:30 -05:00
Henrik Lissner
8ea3733e73
Fix :built-in property for package! 2019-11-17 17:55:06 -05:00
Henrik Lissner
fa1a19a1f0
core: minor refactor & reformatting 2019-11-17 16:48:26 -05:00
Henrik Lissner
3195b84fd2
Evaluate package! properties & error on :fetcher
- No longer translates :fetcher to :host. Update your package!
  declaration people!
- Now evaluates the values for properties (except for :recipe IF it is a
  list whose CAR passes keywordp -- for backwards compatibility).
- Throws error if an invalid property is used for a package!'s :recipe
2019-11-17 16:48:25 -05:00
Henrik Lissner
a66872fe25
Focus on ripgrep; remove ag, git-grep & grep support
We're focusing on ripgrep so we can iterate on search functionality in
Doom quicker. There is nothing the other search backends can do that
ripgrep can't. It is now a hard dependency for Doom.
2019-11-17 01:19:59 -05:00
Henrik Lissner
7a7b89ded1
Init packages from init.el in noninteractive sessions
This allows users to load init.el for their batch scripts, rather than
some monstrosity involving loading core/core.el and doom-initialize.
2019-11-17 01:17:34 -05:00
Henrik Lissner
d474223a99
cli/upgrade: don't use removed -f switch 2019-11-16 21:04:08 -05:00
Henrik Lissner
c363791da0
Made -f the default for 'doom refresh' #2065
-f is necessary when there are changes to your system that Doom needs to
pick up when running 'doom refresh'. It won't do anything if your doom
dotfiles haven't visibly changed, which won't be the case if you are
installing, say, mu4e or vterm, through your system package manager.

What was initially a time-saving mechanic has become a trap for
beginners, so I've made -f its default behavior and its previous
behavior opt-in with the -n / --if-necessary switches.
2019-11-16 20:55:08 -05:00
Henrik Lissner
b9e5059e3f
Ensure only one window after doom/kill-all-buffers 2019-11-15 22:17:30 -05:00
Henrik Lissner
9108f4780e
Clean up & refactor tests 2019-11-15 02:14:42 -05:00