Henrik Lissner
ed1a79040e
Revert async package refresh
...
Unnecessary complexity for negligible gain.
2017-07-04 12:26:34 +02:00
Henrik Lissner
8c1fb1e6b2
+doom:scratch-buffer => doom/scratch-buffer
2017-07-03 03:39:18 +02:00
Henrik Lissner
0f6884f9d6
Favor horizontal splits (for widescreen LCDs)
2017-07-02 16:55:39 +02:00
Henrik Lissner
a002f7025c
Rewrite docstrings for package functions/macros
2017-07-02 16:47:27 +02:00
Henrik Lissner
ce5cd52642
Refactor load! to accept a string filesym
2017-07-02 16:38:28 +02:00
Henrik Lissner
cca37f2508
Add doom-(pre|post)-reload-theme-hook
2017-06-29 14:58:10 +02:00
Henrik Lissner
fa47730204
Fix void-function error in doom/reload-theme
2017-06-29 11:58:58 +02:00
Henrik Lissner
069d085eec
Inhibit font loading in non-gui sessions
2017-06-28 18:13:25 +02:00
Henrik Lissner
29f88e6c63
Add fboundp guard around fringe-mode
2017-06-28 18:05:11 +02:00
Henrik Lissner
ecd8ad0f46
Change how themes, fonts & modelines are loaded
...
WARNING: THIS IS A BREAKING CHANGE FOR THEME/FONT/NLINUM CUSTOMIZATIONS.
This change was motivated by the need to decouple theme and font loading
from the ui/doom module.
Now, it is doom-core's purview. Theme and fonts are loaded after
initfiles are read (attached to the doom-init-ui-hook hook), giving
other modules (especially private ones) a chance to change the theme or
fonts.
+ Refactor core-ui.el
+ New init hook: doom-init-ui-hook
+ Decouple theme/font loading from ui/doom
+ Load modelines are doom-init-ui-hook
+ New theme/font variables (replaces old ui/doom variables)
+ doom-theme
+ doom-font
+ doom-variable-pitch-font
+ doom-unicode-font
+ Change nlinum variables
+ doom-line-number-lpad
+ doom-line-number-rpad
+ doom-line-number-pad-char
Addresses #117
2017-06-28 16:18:24 +02:00
Henrik Lissner
804fd31aab
Fix hl-line toggle in evil visual mode
...
Prior to this fix, hl-line would be disabled and stay off.
2017-06-28 16:16:10 +02:00
Henrik Lissner
76b020eddb
package management: change output on retry/errors
2017-06-28 15:33:19 +02:00
Henrik Lissner
84581f73ea
Silence set! test
2017-06-28 15:29:39 +02:00
Henrik Lissner
f246d89fb6
Fix make test:X/Y
where Y is omitted
...
This way, make feature will run all unit tests in feature/* modules.
2017-06-28 15:28:51 +02:00
Henrik Lissner
869bc03ca6
Load bare minimum for tests
2017-06-28 15:28:13 +02:00
Henrik Lissner
f8dde296ca
Refactor core.el
...
+ Always reset gc-cons-* vars on doom|finalize
+ display-warning => lwarn
2017-06-28 12:26:50 +02:00
Henrik Lissner
a894f3ee1e
Move persp-mode popup fix to core-popups
2017-06-28 12:26:50 +02:00
Henrik Lissner
510e7116c8
Use different function for :cleanup
2017-06-28 12:26:49 +02:00
Henrik Lissner
5ebda9b0c6
Refactor buffer functions & update tests
...
+ Split doom-buffer-list into doom-buffer-list
& doom-project-buffer-list.
+ doom-real-buffers-list => doom-real-buffer-list (for naming
consistency).
2017-06-28 12:26:49 +02:00
Henrik Lissner
822c78554f
destructuring-bind => cl-destructuring-bind
2017-06-25 02:04:50 +02:00
Henrik Lissner
383d7dbddb
Don't return anything from set! on failure
2017-06-24 17:23:11 +02:00
Henrik Lissner
cbfb3eeda4
Fix, rename & move doom/run-tests => doom-run-tests
2017-06-24 17:15:22 +02:00
Henrik Lissner
fac587d21e
Remove debug code in doom-initialize-modules
2017-06-24 16:51:37 +02:00
Henrik Lissner
313fa06400
doom-setting--setter%s => doom--set%s
2017-06-24 16:39:45 +02:00
Henrik Lissner
779ae60454
Refactor doom-resolve-hooks
2017-06-24 16:20:22 +02:00
Henrik Lissner
84f4fdf9e7
Add+refactor core-lib tests
2017-06-24 16:20:09 +02:00
Henrik Lissner
5ef61c7bb4
Remove :load-path for nlinum-hl
2017-06-24 02:25:15 +02:00
Henrik Lissner
e38337b357
Evaluate featurep! at compile-time
...
Its return value shouldn't change during runtime.
2017-06-24 02:25:15 +02:00
Henrik Lissner
83f4f2e725
Remove s.el dependency in doom/packages-update
2017-06-24 02:25:15 +02:00
Henrik Lissner
e2c161cbf8
Clean up doom-get-outdated-packages
2017-06-24 02:25:15 +02:00
Henrik Lissner
e75bc10baa
Unset mode-line-format sooner in startup process
2017-06-24 02:25:15 +02:00
Henrik Lissner
c60970ff2d
Remove inject-trailing-whitespace functionality
...
This was buggy, inefficient and more trouble than its benefits were
worth. Perhaps we can now switch back to highlight-indent-guides...
2017-06-24 02:25:15 +02:00
Henrik Lissner
e3eadf596d
Disable persistent-undo; causes undo corruption
...
A known issue with undo-tree causes an "unrecognized entry in undo list
undo-tree-canary" error, which can result in the loss of work.
2017-06-24 02:25:15 +02:00
Henrik Lissner
56d7c78e00
Expand :popup docstring
2017-06-24 02:25:15 +02:00
Henrik Lissner
50f924bcfc
Fix doom-ansi-apply alias to autoload in format!
...
A wrong-type-argument: symbolp error occurs when core files are
byte-compiled and the expanded message!/format! macros are trying to
cl-flet-alias 'color to doom-ansi-apply (which hasn't been loaded yet).
2017-06-24 02:25:15 +02:00
V. Subramani Raju
6d4c9c83c3
fix :text-obj map macro
2017-06-23 09:27:03 +05:30
Henrik Lissner
a5e2a5745b
Eval :ignore/:freeze in package! plists
2017-06-22 23:59:34 +02:00
Henrik Lissner
ee1fb43b93
Make doom-get-outdated-packages asynchronous
2017-06-21 16:09:58 +02:00
Henrik Lissner
8f7e138357
Add debug! macro
2017-06-21 16:09:34 +02:00
Henrik Lissner
8f00b3d07a
Minor general refactor
2017-06-20 16:32:50 +02:00
Henrik Lissner
e44f5d0457
Call doom|finalize after doom-initialize-packages
...
doom-initialize-packages re-initializes certain important variables,
like gc-cons-threshold (which causes intermittent freezing when set too
high), without resetting them to sensible defaults. This ensures those
variable are reset afterwards.
2017-06-20 16:25:46 +02:00
Henrik Lissner
345b704a0d
Make interactive doom/compile less destructive
...
It would reload all files; which is harmless, but does unnecessarily
inflate variables that get push-ed or nconc-ed to. It's best to compile
from the command line.
2017-06-20 16:25:46 +02:00
Henrik Lissner
3762d877b1
Appease almighty byte-compiler sama
2017-06-19 12:41:30 +02:00
Henrik Lissner
392c58ea47
General refactor & cleanup
2017-06-19 00:32:45 +02:00
Henrik Lissner
928812da8a
Make def-setting! behave more like defmacro
...
set! used to aggressively evaluate its arguments (at expansion-time),
even if placed inside an after! block. This causes unavoidable errors if
those arguments use functions/variables that don't exist yet.
Fixes #112
2017-06-19 00:32:44 +02:00
Henrik Lissner
27cbd36b69
Improve hl-line disable hook for visual mode
2017-06-19 00:04:20 +02:00
Henrik Lissner
a2ca21cc21
Add doom*project-root advice fn
2017-06-19 00:03:37 +02:00
Henrik Lissner
7d081c3154
Fix subr-x macro autoloads
2017-06-18 23:43:08 +02:00
Henrik Lissner
7029d287e5
Add doom/toggle-profiler
2017-06-18 23:43:08 +02:00
Henrik Lissner
a8df81b259
Optimize modeline rendering slightly
2017-06-18 23:43:08 +02:00