Commit Graph

2556 Commits

Author SHA1 Message Date
e3daf2b818 Improve how reload-package-autoloads detects your packages have changed 2018-05-25 19:22:44 +02:00
74c8df3618 Fix reload-*-autoloads commands not remotely loading byte-compiled autoloads file 2018-05-25 19:22:44 +02:00
068979591a doom//byte-compile: cl-pushnew => push (redundant w/ cl-delete-duplicates) 2018-05-25 19:22:44 +02:00
ef9b30cdef Fix doom//upgrade failing to detect branch & clean *.elc files before updating 2018-05-25 19:22:44 +02:00
5ef1228201 Fix nested length form typos 2018-05-25 19:22:44 +02:00
365201bfcf doom//upgrade: fix void-variable core-file error 2018-05-25 19:22:41 +02:00
4aacd831b5 Fix doom//upgrade (make upgrade) 2018-05-25 12:49:39 +02:00
73045f9950 Fix doom//quickstart & improve feedback (make quickstart) 2018-05-25 12:49:39 +02:00
d7a5f3b997 Fix doom-module-table failing to fetch module list
...because sexp-at-point needs a valid syntax table, and fundamental
mode ain't got one.
2018-05-25 03:07:23 +02:00
2b8efd6783 Error of private init.el doesn't exist (it really should!) 2018-05-25 02:54:16 +02:00
7f31f4a1bd Adjust package state initialization strategies 2018-05-25 02:53:48 +02:00
0368e8f84b Ensure package state is initialized before package management 2018-05-25 02:41:23 +02:00
ef9cea4d11 More aggressive autoloads reloading on install, autoremove, update & refresh 2018-05-25 02:20:28 +02:00
0aa7bf2d4a Insert package state before package autoloads in autoloads file
Prevents issues where autoloads will try to load packages but
`load-path` isn't initialized yet, causing "Cannot open load file"
errors.
2018-05-25 02:18:55 +02:00
d9894f0b74 Fix package install not retrying after a 'bad request' error 2018-05-25 02:16:19 +02:00
2990d5bd58 Fix hash-table-p and format type errors on blank startup 2018-05-25 01:26:24 +02:00
a390ef8deb Reduce doom-module-table calls significantly 2018-05-25 01:17:01 +02:00
11705d0920 Fix void-variable error (let -> let*) 2018-05-25 01:13:28 +02:00
59f70c2a87 Soft-fail if doom-module-table can't find your private init.el 2018-05-25 01:11:53 +02:00
887e3e11af Remove unused printerr! macro 2018-05-25 00:49:03 +02:00
6a140209b8 Optimize Doom core package configs 2018-05-24 23:41:40 +02:00
9e7703db2a core-lib (add-transient-hook!): set permanent-local-hook on hook fn 2018-05-24 22:35:45 +02:00
0b48575c14 Remove def-hydra! macro alias
Causes byte-compilation issues and the alias is unnecessary.
2018-05-24 22:03:19 +02:00
7c611df6a6 Have doom//reload return t on success 2018-05-24 22:01:26 +02:00
dea7c10771 Don't do naive path concatenation for private custom-theme-directory 2018-05-24 21:20:50 +02:00
a55e2251e6 auto-mode-case-fold = nil
This disables the case insensitive second pass through auto-mode-alist
on case sensitive systems.
2018-05-24 21:20:02 +02:00
d35598520f Only package-initialize if uninitialized (from package.el API advice) 2018-05-24 21:20:02 +02:00
9e07940b7c Fix use-package autoload 2018-05-24 21:20:02 +02:00
30893b0ff1 Fix doom-initialize-packages 2018-05-24 21:20:02 +02:00
8282280965 core-packages: revise docstrings & comments 2018-05-24 21:20:02 +02:00
ea86b1075f Fix doom-template-exists-p 2018-05-24 21:20:02 +02:00
b70ed84a33 Fix doom//run-tests 2018-05-24 21:20:02 +02:00
2a8da07e31 Rename autoload-debug.el test to autoload-help.el 2018-05-24 21:20:02 +02:00
6dc375a891 Fix catch-all text-mode entry in auto-mode-alist
This indirectly fixes an issue where the elfeed db was opened in
text-mode, triggering the large-file check.
2018-05-24 21:20:02 +02:00
18a6df5e6f Fix doom/info 2018-05-24 21:20:02 +02:00
87e9365a41 Fix package autoremove/install/update batch commands 2018-05-24 21:20:02 +02:00
b629f4f507 Fix doom//clean-byte-compiled-files 2018-05-24 21:20:02 +02:00
6ea5430c4d Fix doom//byte-compile 2018-05-24 21:20:02 +02:00
3261f1fd71 Finalize core-dispatcher API
+ Add doom-auto-accept to replace YES envvar.
+ Add docstrings & documentation to all commands.
+ Make dispatcher support more than one alias.
+ Document quickstart command
+ Update autoloads/install/autoremove/update/refresh to fit new initialization workflows
+ Rename doom//info and doom//version
+ Recompile alias is now rc instead of cc
+ Improve reliability of doom//quickstart
2018-05-24 21:20:02 +02:00
8746c12fae Redesign Doom bootstrap, caching & autoload generation logic
The autoloads file has been split into doom-autoload-file and
doom-package-autoload-file. The former is for Doom's modules and
standard library; the latter is for compiling all package autoloads like
load-path and auto-mode-alist (among other things).

This reduced my startup speed from ~1s to ~0.5s
2018-05-24 21:20:02 +02:00
3dd291a675 core-lib: improve function docstrings 2018-05-24 21:15:17 +02:00
4ee0b5ba6d New macros file-exists-p! & project-file-exists-p!
The latter replaces the doom-project-has! macro
2018-05-24 21:15:17 +02:00
b2186745b7 Refactor doom--resolve-path-forms 2018-05-24 18:35:06 +02:00
47ccbb5d41 print!: use terpri instead of princ for newline
Will produce the appropriate newline for the current OS.
2018-05-24 18:30:37 +02:00
b25e215d59 Increase last-pkg-refresh ttl from 900 -> 1200s 2018-05-24 16:41:14 +02:00
592e16d76d Conform debug commands to naming convention 2018-05-24 16:40:37 +02:00
a48f75371b core-lib (doom-files-in): default relative-to to default-directory 2018-05-24 13:02:20 +02:00
5d42b1512b Fix naive path concatenation for doom-private-dir #513 2018-05-24 11:49:01 +02:00
b452aded76 Mention doom-emacs-dir must end with a slash 2018-05-24 11:44:17 +02:00
dc0175b8e1 Merge doom-files-under into doom-files-in; more powerful doom-files-in 2018-05-23 23:34:32 +02:00