Henrik Lissner
8c3693ed47
Add new variable: doom-popup-windows
...
Contains a list of open popup windows.
This preserves window order. Before this commit, doom-popup-windows (the
function), did not do this.
2017-07-06 17:43:17 +02:00
Henrik Lissner
4fc39a0f71
Rename doom/popup => doom/popup-this-buffer
2017-07-06 16:42:35 +02:00
Henrik Lissner
ac70606452
Set buffer-file-name for indirect buffers #130
2017-07-05 18:19:53 +02:00
Henrik Lissner
8edba65504
Possibly restore undo persistence
2017-07-05 18:18:24 +02:00
Henrik Lissner
1d961563c0
Fix #139 : no-region error in doom/scratch-buffer
2017-07-05 15:23:20 +02:00
Henrik Lissner
dfa6c468c3
Change doom-line-number-pad-char default to space
...
There are some subtle issues with using the unicode, which depends
largely on the font you use. It is also slightly faster to use a space.
If you use whitespace-mode's space-mark feature, then change this to
?\u2002.
Addresses #109
2017-07-05 12:26:11 +02:00
Henrik Lissner
576a91b66c
New macro: with-popup-rules!
2017-07-05 02:59:17 +02:00
Henrik Lissner
d7fa7c228d
Add theme and font settings
2017-07-05 02:59:17 +02:00
Henrik Lissner
b771997105
Make font variables default to nil
2017-07-05 02:59:17 +02:00
Henrik Lissner
6093b81412
+present/big-mode => doom-big-font-mode
...
And added new variable: doom-big-font
app/present is deprecated so this feature has been moved into core.
2017-07-05 02:58:50 +02:00
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