Commit Graph

71 Commits

Author SHA1 Message Date
Henrik Lissner
01d1a814f9
Refactor doom-initialize functions
Removes doom-module-table; which was inflexible (though more stable). It
prevented you from putting your doom! block in anywhere but
~/.doom.d/init.el.

It is replaced (somewhat) by (doom-modules).
2018-06-10 17:30:26 +02:00
Henrik Lissner
90be135d8b
bin/doom: ensure default-directory is in emacs dir
user-emacs-directory could be changed elsewhere.
2018-06-05 17:26:45 +02:00
Henrik Lissner
a3889dc8b1
bin/doom: don't set DOOMDIR
Now that we use it for doom-private-dir
2018-06-05 17:26:31 +02:00
Henrik Lissner
08a453bd5e
bin/doom: show usage info if no command is entered 2018-06-02 02:56:18 +02:00
Henrik Lissner
6fdd6cb14c
bin/doom: respond to -h/--help
In case people try that before `help`
2018-06-02 02:55:52 +02:00
Henrik Lissner
d998ef3159
Fix emacs-lisp header in bin/doom 2018-05-29 23:14:33 +02:00
Henrik Lissner
6b625e96b5
bin/doom: add support for custom emacs binary (EMACS envvar) 2018-05-28 15:49:50 +02:00
Henrik Lissner
fd86bfb027
Fix load-path not including site-lisp directories
This would cause plugins like mu4e to not be detected and included in
the cached load-path generated by doom-package-autoload-file.
2018-05-26 03:03:01 +02:00
Henrik Lissner
0750e877ab
Ensure private/emacs dirs end with a slash 2018-05-25 20:06:01 +02:00
Henrik Lissner
242a28ddc9
doctor: initialize more state for more accurate tests #603 2018-05-25 19:59:56 +02:00
Henrik Lissner
843c4d085f
bin/doom: fix doom run 2018-05-25 01:25:56 +02:00
Henrik Lissner
e3bdeabe0b
bin/doom: discard extra command line args 2018-05-24 18:29:56 +02:00
Henrik Lissner
7cfab92f7c
bin/doom-doctor: refactor bash bootstrapper 2018-05-24 16:39:08 +02:00
Henrik Lissner
e1e47b9173
bin/doom: minor refactor; no longer default to doom refresh
Better to be explicit, otherwise you get some weird cases where
incorrect commands fall through to a doom refresh.
2018-05-24 16:03:27 +02:00
Henrik Lissner
8a7ebebf16
bin/doom: add -y/--yes option 2018-05-24 16:02:59 +02:00
Henrik Lissner
499630fdcd
bin/doom: handle doc/doctor especially 2018-05-24 16:00:46 +02:00
Henrik Lissner
8ea0f34270
doctor: update doom bootstrap logic & fix error on built-in packages 2018-05-21 18:34:33 +02:00
Henrik Lissner
2e7831b8a4
doctor: reduce output for cert test 2018-05-21 18:34:33 +02:00
Henrik Lissner
6a08128194
doctor: make feedback more informative 2018-05-21 18:34:33 +02:00
Henrik Lissner
cf54b3705b
bin/doom: alias h => help 2018-05-21 15:42:00 +02:00
Henrik Lissner
337d2e9533
Make bin/doom (with no args) equivalent to make all 2018-05-21 01:38:17 +02:00
Henrik Lissner
ddadb79952
Reduce noise from doom doctor
And fix not-enough-arguments error from format.
2018-05-21 01:38:17 +02:00
Henrik Lissner
f058505306
New bin/doom (eventual replacement for make)
This commit adds bin/doom, which acts as the middle man that make once
was (and will stay for a while, though the documentation will shift away
from using it). It does everything the previous make interface did, but
is faster and more flexible. bin/doom should eventually replace the
makefile.

bin/doom also makes it easier to run Doom outside of ~/.emacs.d and
~/.doom.d with, for example:

  bin/doom run -p ~/.other.doom.d/ -e ~/.other.emacs.d

bin/doom.cmd is included for Windows users, but I don't recommend using
it yet. It hasn't been tested nor have I ever written a batch script
before.

Also update init.example.el with new defaults.
2018-05-21 01:38:17 +02:00
Henrik Lissner
7851e9e3b4
doctor: pluralize issue count at the end
It's features like these that separate us from animals.
2018-05-20 12:18:16 +02:00
Henrik Lissner
6aaa13d05e
doctor: update Doom initialization 2018-05-20 12:18:16 +02:00
Henrik Lissner
85ee9ce459
Refactor doom module API
+ Consolidate the CATEGORY -> MODULE terminology
+ Rename functions to make their function easier to understand
  + Rename doom-module-expand-file => doom-module-path
  + Rename doom-module-find-path => doom-module-locate-path
2018-05-20 00:03:57 +02:00
Henrik Lissner
56a6d1faa3
Doctor: include origin in syntax error message 2018-05-16 00:11:14 +02:00
Henrik Lissner
dbeb7c639a
Update doom doctor 2018-05-14 21:08:16 +02:00
Henrik Lissner
e9a325039d
doctor: doom-initialize before loading Doom 2018-05-07 19:26:31 +02:00
Henrik Lissner
aef9724324
Add doom*shut-up advisor to core-lib 2018-04-23 00:03:28 -04:00
Henrik Lissner
a616f00670
Fix wrong-type-argument stringp error from doom doctor 2018-04-13 16:34:51 -04:00
Henrik Lissner
5d3f247a7f
doctor: add warning for dual private configs 2018-04-04 06:47:42 -04:00
Henrik Lissner
82bead5ae4
Refactor & fix doom-doctor module checkups 2018-03-20 21:12:35 -04:00
Henrik Lissner
74c8b1d113
Rewrite doctor; move warn! blocks out in doctor.el files 2018-03-12 13:32:01 -04:00
Henrik Lissner
f09e23982d
Remove debug output from make doctor (replaced by make info) 2018-02-10 17:32:39 -05:00
Henrik Lissner
69dc25ae4c
lang/org: fix external org-capture workflow
+ Fix frame-spawning when calling bin/org-capture
+ Integrate counsel-org-capture into bin/org-capture workflow
+ Ensure frame is closed if counsel-org-capture is cancelled
+ Ensure org-capture buffer closes the associated frame
+ Add transient frame property for org-capture frames

If you are using a tiling window manager, you'll need to add a rule for
a window named "org-capture" in order to make a floating window.
2018-02-07 01:08:33 -05:00
Henrik Lissner
c550851500
doom-doctor: minor refactor 2017-12-31 17:49:15 -05:00
Henrik Lissner
574a783f7f
doctor: refactor & check $SHELL 2017-12-29 15:07:41 -05:00
Henrik Lissner
c3c5de93c7
doctor: rewrite TLS heuristics
Fixes "peculiar error" in #175, #285, #288
2017-12-20 19:52:09 -05:00
Henrik Lissner
bd1a4e31f6
doctor: log! => section! 2017-12-20 19:51:33 -05:00
Henrik Lissner
211977e28a
doom--module-pairs => doom-module-pairs 2017-11-08 22:51:55 +01:00
Henrik Lissner
5f166d9297
Add --quick to Emacs batch calls (experimental) 2017-11-07 13:09:24 +01:00
Henrik Lissner
075b4557f6
Rewrite bin/org-tangle 2017-11-07 13:08:44 +01:00
Henrik Lissner
c45e2c4918
General & minor refactor+cleanup 2017-11-05 19:54:44 +01:00
Henrik Lissner
bc358bbc7e
Remove default font detection from doom-doctor 2017-11-05 01:16:35 +01:00
Henrik Lissner
898d1f225a
bin/org-capture: improve stability + add stdin support 2017-10-02 20:02:27 +02:00
Henrik Lissner
4e7d3c6c06
Add GNUTLS feature detection to doom doctor #175 2017-09-13 00:11:02 +02:00
Henrik Lissner
6cb14cd961
bin/doom-doctor: refactor + speed up tls checks 2017-08-05 13:19:51 +02:00
Henrik Lissner
b65718691f
Improve font detection (+ all-the-icons fonts) #167
make doctor will now complain if it can't find any of the fonts that
Doom uses, and offer help on how to install them.
2017-08-05 13:18:45 +02:00
Henrik Lissner
7233d6f19a
bin/doom-doctor: load doom more comprehensively 2017-08-05 13:17:48 +02:00