Henrik Lissner
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
Henrik Lissner
d35598520f
Only package-initialize if uninitialized (from package.el API advice)
2018-05-24 21:20:02 +02:00
Henrik Lissner
9e07940b7c
Fix use-package autoload
2018-05-24 21:20:02 +02:00
Henrik Lissner
30893b0ff1
Fix doom-initialize-packages
2018-05-24 21:20:02 +02:00
Henrik Lissner
8282280965
core-packages: revise docstrings & comments
2018-05-24 21:20:02 +02:00
Henrik Lissner
ea86b1075f
Fix doom-template-exists-p
2018-05-24 21:20:02 +02:00
Henrik Lissner
b70ed84a33
Fix doom//run-tests
2018-05-24 21:20:02 +02:00
Henrik Lissner
2a8da07e31
Rename autoload-debug.el test to autoload-help.el
2018-05-24 21:20:02 +02:00
Henrik Lissner
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
Henrik Lissner
18a6df5e6f
Fix doom/info
2018-05-24 21:20:02 +02:00
Henrik Lissner
87e9365a41
Fix package autoremove/install/update batch commands
2018-05-24 21:20:02 +02:00
Henrik Lissner
b629f4f507
Fix doom//clean-byte-compiled-files
2018-05-24 21:20:02 +02:00
Henrik Lissner
6ea5430c4d
Fix doom//byte-compile
2018-05-24 21:20:02 +02:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
3dd291a675
core-lib: improve function docstrings
2018-05-24 21:15:17 +02:00
Henrik Lissner
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
Henrik Lissner
b2186745b7
Refactor doom--resolve-path-forms
2018-05-24 18:35:06 +02:00
Henrik Lissner
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
Henrik Lissner
b25e215d59
Increase last-pkg-refresh ttl from 900 -> 1200s
2018-05-24 16:41:14 +02:00
Henrik Lissner
592e16d76d
Conform debug commands to naming convention
2018-05-24 16:40:37 +02:00
Henrik Lissner
a48f75371b
core-lib (doom-files-in): default relative-to to default-directory
2018-05-24 13:02:20 +02:00
Henrik Lissner
5d42b1512b
Fix naive path concatenation for doom-private-dir #513
2018-05-24 11:49:01 +02:00
Henrik Lissner
b452aded76
Mention doom-emacs-dir must end with a slash
2018-05-24 11:44:17 +02:00
Henrik Lissner
dc0175b8e1
Merge doom-files-under into doom-files-in; more powerful doom-files-in
2018-05-23 23:34:32 +02:00
Henrik Lissner
2637c415d3
Add error checks & docstrings to doom-keyword-* lib functions
2018-05-23 19:09:09 +02:00
Henrik Lissner
553d00b598
Add doctor/help dummy dispatchers
...
This way they show up in doom help + documentation.
2018-05-21 15:42:36 +02:00
Henrik Lissner
fbf8a7be56
Remove vestigial references to doom//reload-load-path
2018-05-21 01:38:17 +02:00
Henrik Lissner
f853d8b407
Update core autoload-message tests
2018-05-21 01:38:17 +02:00
Henrik Lissner
67269fdf2b
add-transient-hook!: unintern => fmakunbound
2018-05-21 01:38:17 +02:00
Henrik Lissner
ac5eaf0fb3
Load core-lib before core-package
...
So that core-package may use the Doom standard library.
2018-05-21 01:38:17 +02:00
Henrik Lissner
8ce5e96ea5
recentf: auto-cleanup = 120; refactor temp-file detector
2018-05-21 01:38:17 +02:00
Henrik Lissner
1369c51000
Replace :defer HOOK/FN with :after-call keyword
2018-05-21 01:38:17 +02:00
Henrik Lissner
89c52e7d99
Rename reload dispatcher to refresh & refactor
2018-05-21 01:38:17 +02:00
Henrik Lissner
454a962d6b
Rewrite doom//reload (merge reload-load-path into it)
2018-05-21 01:38:17 +02:00
Henrik Lissner
16a9126b3e
Make after! noop if package is disabled
...
After disabling a package, def-package! blocks for that package are
ignored. Now, after! blocks for those packages will be ignored too.
2018-05-21 01:38:17 +02:00
Henrik Lissner
f2c02e32c8
General minor refactor & comment updates
2018-05-21 01:38:17 +02:00
Henrik Lissner
f3f8172579
Fix {copy,move}-this-file commands when file doesn't exist yet
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
da5c7d27cf
Use correct init hook (doom-post-init-hook)
2018-05-20 12:18:48 +02:00
Henrik Lissner
8da3f56795
core-project: rename autoload-project-mode => init-project-mode
...
To be consistent with other initializing hooks.
2018-05-20 12:18:16 +02:00
Henrik Lissner
d4608c08f8
Defer dtrt-indent & don't detect indent in noninteractive Doom
2018-05-20 12:18:16 +02:00
Henrik Lissner
5c101f1909
Update modules library: message! => print!
2018-05-20 12:18:16 +02:00
Henrik Lissner
b82ef2cee6
Add open-manual command (docs don't exist yet though!)
2018-05-20 12:18:16 +02:00
Henrik Lissner
f80be3682b
New open-bug-report & open-vanilla-sandbox commands
2018-05-20 12:18:16 +02:00
Henrik Lissner
7b8917ed42
Split core/autoload/util.el into {help,debug}.el
2018-05-20 12:13:05 +02:00
Henrik Lissner
af7fb1c628
Change doom/retab to reformat w/ opposite style if ARG
2018-05-20 12:10:10 +02:00
Henrik Lissner
b7b1445712
Update doom-get-outdated-packages to match new init process
2018-05-20 12:07:31 +02:00
Henrik Lissner
c826f0f6a8
Shrink dependency chains in core libraries
2018-05-20 12:06:50 +02:00
Henrik Lissner
0634289a01
Autoload doom-*-package functions
2018-05-20 12:05:17 +02:00