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
337d2e9533
Make bin/doom (with no args) equivalent to make all
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
ddadb79952
Reduce noise from doom doctor
...
And fix not-enough-arguments error from format.
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
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
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
Henrik Lissner
61ca98fd3f
Refactor package managent batch commands
...
+ Replace message! with print!
+ doom//packages-* commands now only return t if package list changed
2018-05-20 12:03:50 +02:00
Henrik Lissner
0d9db6f149
Rewrite autoload/message library
...
+ Rename message! => print!
+ New printerr! macro
+ Extended color support to interactive sessions (now propertized using
term faces, so we don't have to rely on a popup window to display it).
2018-05-20 11:44:10 +02:00
Henrik Lissner
f984d46a9b
Fix featurep! & load! calls while byte-compiling
...
The would prioritize load-file-name over byte-compile-current-file
during byte-compiling, which would result featurep! being unable to
resolve the current module and load! from figuring out where "here" was
to build its relative paths from.
2018-05-20 00:57:58 +02:00
Henrik Lissner
a46e7655dc
Move batch commands from core-packages to autoload/modules
2018-05-20 00:57:18 +02:00
Henrik Lissner
1d99ee5017
Add esup back to core package list
2018-05-20 00:37:48 +02:00
Henrik Lissner
2d2ce3cff9
Fix exec-path/osx-clipboard initializing too early
2018-05-20 00:08:19 +02:00
Henrik Lissner
dc4e0f1556
Add doom-file-cookie-p to core-lib
2018-05-20 00:07:06 +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
5abdbaee38
Rewrite docstrings for doom-initialize{,-packages}
2018-05-20 00:01:07 +02:00
Henrik Lissner
6f5e710d98
Refactor startup process, hooks, doom-initialize & doom!
...
+ Brings back doom-pre-init-hook and doom-post-init-hook hooks.
+ Extracts autoload file loading logic into doom-initialize-autoloads
function.
2018-05-19 23:59:55 +02:00
Henrik Lissner
17d5721102
Minor reformatting of core startup config
2018-05-19 23:49:25 +02:00
Henrik Lissner
a19a64b16b
Complain if using Emacs <25
...
More helpful than advice-add errors.
2018-05-19 18:01:54 +02:00
Henrik Lissner
fa37d7b05e
Refactor core initialization process
...
A vastly simpler bootstrap process.
Also load core libs in core-lib (duh)
2018-05-19 16:42:48 +02:00
Henrik Lissner
59f510e85f
Add four new functions for keywords & file collection
2018-05-19 16:32:12 +02:00
James Conroy-Finn
217ff2cd54
Fix use of +workspaces-data-file in +workspace/load
2018-05-19 15:02:54 +01:00
Henrik Lissner
dcec3b9b25
feature/popup: add new autosave window parameter
...
(autosave . CDR)
This parameter determines what to do with modified buffers in closing
popup windows. CDR can be a t, 'ignore, a function or nil.
+ If t, no prompts. Just save them automatically (if they're
file-visiting buffers).
+ If 'ignore, no prompts, no saving. Just silently kill it.
+ If nil (the default), prompt the user what to do if the buffer is
file-visiting and modified.
+ If a function, the return value must return one of the other values.
It takes two arguments: the popup window and buffer.
2018-05-19 12:08:24 +02:00
Edmund Milller
01993aa698
Fix solc and solium pathes
...
The bin files were links to the real thing.
2018-05-18 17:04:43 -05:00
Edmund Milller
f4234779ce
Remove Company package
...
It's been moved into solidity-mode already.
2018-05-18 17:04:37 -05:00
Edmund Milller
3193e7a8a7
Add Solidity
...
Add basic Solidity module
2018-05-18 17:04:25 -05:00
Henrik Lissner
f16aa539c7
Fix window is not a live frame error #596
2018-05-18 22:06:10 +02:00
Henrik Lissner
ee386f8461
Fix wrong-number-of-args error when installing packages
...
The fourth argument of map-put is an Emacs 26+ only feature.
2018-05-18 18:47:19 +02:00
Aria
1bbf5b7d19
lang/org Make agenda view span 10 days
2018-05-18 13:45:06 +10:00
Henrik Lissner
5abdeed8fd
feature/file-templates: rewrite without autoinsert
...
autoinsert was more trouble than it was worth, so I reinvented a better
wheel.
2018-05-18 01:47:03 +02:00