Commit Graph

207 Commits

Author SHA1 Message Date
8a7ebebf16 bin/doom: add -y/--yes option 2018-05-24 16:02:59 +02:00
499630fdcd bin/doom: handle doc/doctor especially 2018-05-24 16:00:46 +02:00
8ea0f34270 doctor: update doom bootstrap logic & fix error on built-in packages 2018-05-21 18:34:33 +02:00
2e7831b8a4 doctor: reduce output for cert test 2018-05-21 18:34:33 +02:00
6a08128194 doctor: make feedback more informative 2018-05-21 18:34:33 +02:00
cf54b3705b bin/doom: alias h => help 2018-05-21 15:42:00 +02:00
337d2e9533 Make bin/doom (with no args) equivalent to make all 2018-05-21 01:38:17 +02:00
ddadb79952 Reduce noise from doom doctor
And fix not-enough-arguments error from format.
2018-05-21 01:38:17 +02:00
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
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
6aaa13d05e doctor: update Doom initialization 2018-05-20 12:18:16 +02:00
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
56a6d1faa3 Doctor: include origin in syntax error message 2018-05-16 00:11:14 +02:00
dbeb7c639a Update doom doctor 2018-05-14 21:08:16 +02:00
e9a325039d doctor: doom-initialize before loading Doom 2018-05-07 19:26:31 +02:00
aef9724324 Add doom*shut-up advisor to core-lib 2018-04-23 00:03:28 -04:00
a616f00670 Fix wrong-type-argument stringp error from doom doctor 2018-04-13 16:34:51 -04:00
5d3f247a7f doctor: add warning for dual private configs 2018-04-04 06:47:42 -04:00
82bead5ae4 Refactor & fix doom-doctor module checkups 2018-03-20 21:12:35 -04:00
74c8b1d113 Rewrite doctor; move warn! blocks out in doctor.el files 2018-03-12 13:32:01 -04:00
f09e23982d Remove debug output from make doctor (replaced by make info) 2018-02-10 17:32:39 -05:00
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
c550851500 doom-doctor: minor refactor 2017-12-31 17:49:15 -05:00
574a783f7f doctor: refactor & check $SHELL 2017-12-29 15:07:41 -05:00
c3c5de93c7 doctor: rewrite TLS heuristics
Fixes "peculiar error" in #175, #285, #288
2017-12-20 19:52:09 -05:00
bd1a4e31f6 doctor: log! => section! 2017-12-20 19:51:33 -05:00
211977e28a doom--module-pairs => doom-module-pairs 2017-11-08 22:51:55 +01:00
5f166d9297 Add --quick to Emacs batch calls (experimental) 2017-11-07 13:09:24 +01:00
075b4557f6 Rewrite bin/org-tangle 2017-11-07 13:08:44 +01:00
c45e2c4918 General & minor refactor+cleanup 2017-11-05 19:54:44 +01:00
bc358bbc7e Remove default font detection from doom-doctor 2017-11-05 01:16:35 +01:00
898d1f225a bin/org-capture: improve stability + add stdin support 2017-10-02 20:02:27 +02:00
4e7d3c6c06 Add GNUTLS feature detection to doom doctor #175 2017-09-13 00:11:02 +02:00
6cb14cd961 bin/doom-doctor: refactor + speed up tls checks 2017-08-05 13:19:51 +02:00
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
7233d6f19a bin/doom-doctor: load doom more comprehensively 2017-08-05 13:17:48 +02:00
c8e138ff51 Rename bin/doctor => bin/doom-doctor 2017-07-09 22:48:54 +02:00
d2d4166b42 Move lang/org => org/*
Since lang/org has grown (and is expected to grow much, much more), it
has been given its own module category.

Concerns #129, #138
2017-07-05 12:26:08 +02:00
732dee608a Stability/error-handling refactor (part 1)
This refactor is about improving how Emacs deals with errors.

A large net is now cast at startup to catch possible errors, produce
more helpful error messages, and localize the damage. Significantly
reducing the risk of later modules not loading (and leaving you
stranded in a half-broken Emacs session).

The DOOM core files are an exception. If something messes up in there,
it *should* choke.

+ use-package will now report missing packages or slow-loading/broken
  def-package! configurations.
+ Persp-mode no longer (inadvertantly) hides buffers that pop up at
  startup, like the *Warnings*, *Backtrace* or debugger buffers.
+ `make autoloads` (or doom/reload-autoloads) now produces a slightly
  more informative error message if an error occurs while building the
  autoloads file.
+ Error handling for package management is *slightly* better now; error
  messages now include the type of error; this needs work.
2017-06-14 21:15:19 +02:00
709d6c4676 bin/doctor: add current commit SHA 2017-06-12 14:56:47 +02:00
b00d5edd26 Correct +org/capture function name 2017-05-28 12:23:05 +02:00
9d1af37dee bin/doctor: add timeout for TLS test 2017-05-25 17:10:49 +02:00
af286043a4 bin/doctor: add SSL/TLS tests 2017-05-23 22:54:02 +02:00
f2c2550549 Refactor bin/doctor 2017-05-23 22:53:55 +02:00
9f698e9f2d bin/doctor: better tar detection on MacOS 2017-05-22 14:32:00 +02:00
086b306562 Fix gnutls-cli detection (#80) 2017-05-22 14:20:30 +02:00
c01162b759 bin/doctor: feature check system-configuration-features 2017-05-22 14:20:30 +02:00
63f84081bb Fix bash 'shebang' for bin/doctor (ew) 2017-05-21 20:36:48 +02:00
22bab03692 Improve bin/doctor's portability + revise feedback 2017-05-21 20:25:30 +02:00
2b5b09c39e bin/doctor: more system information 2017-05-21 15:24:45 +02:00