11373e0128
Move doom-ansi-apply away from macros + add docstring
2018-02-14 05:40:37 -05:00
5e5d075431
New doom/*-this-file commands; move doom/sudo* to new files library
2018-02-14 05:40:37 -05:00
f6039eaee3
Use delay-warning instead of message in warn! macro
2018-02-14 03:17:51 -05:00
cb3e780a96
Fix package manager not detecting outdated quelpa packages
2018-02-13 05:23:40 -05:00
ba19032d29
Rename doom/narrow-buffer => doom/clone-and-narrow-buffer
2018-02-12 01:44:02 -05:00
57b2b5c546
Fix doom//packages-update not updating dependencies
2018-02-11 16:13:15 -05:00
0019deb276
Rewrite doom/info
2018-02-10 17:27:02 -05:00
139a0c8045
Fix kill-buffer arguments.
2018-02-10 19:36:06 +03:00
7e87ab3e29
New warn! macro; replace debug! with log! macro
2018-02-04 17:53:31 -05:00
7d9f2e5078
New doom/toggle-debug-mode command
2018-02-04 17:53:05 -05:00
414383e5f4
Remove vestigial references to doom/{next,previous}-buffer
2018-02-04 05:05:40 -05:00
245ef02597
Fix misplaced info in doom/info output
...
And update its docstring
2018-02-04 01:39:50 -05:00
4262b9912c
Revert "Move init.test.el into core/autoload/test.el"
...
This reverts commit 3bfb7fa17d
.
2018-02-03 22:46:18 -05:00
e2a6028643
Add docstring to doom/toggle-profiler
2018-02-03 22:41:34 -05:00
ee24aba034
Fix whitespace inconsistencies in doom/info
2018-02-03 22:35:40 -05:00
3bfb7fa17d
Move init.test.el into core/autoload/test.el
2018-02-03 03:30:49 -05:00
1dfe6c472a
Rewrite doom/info for concise debug output
2018-02-02 23:44:09 -05:00
160902bd18
Remove doom/toggle-fullsreen; redundant with toggle-frame-fullscreen
2018-02-02 20:47:34 -05:00
bbb969fa59
Combine doom/open-scratch-buffer & doom/open-project-scratch-buffer
...
These two are now doom/open-scratch-buffer. If you're in a project,
a (persistent) scratch buffer is opened. Otherwise, a non-persistent,
transient scratch buffer is opened.
If ARG (universal argument) is non-nil, then use the current window
instead of a new window (or popup, if feature/popup is enabled).
Also, the ex command :x[!] is improved. The BANG = open in current
window.
2018-02-02 20:47:33 -05:00
d1953e00c4
Remove doom--cycle-real-buffers; refactor kill-this-buffer advice
...
cycle-real-buffers was a tidbit of complexity that was never necessary
in the first place. This functionality was already available in the form
of the frame buffer-predicate parameter, which controls where functions
like next-buffer and other-buffer can land you.
The only thing I have to do myself, is check for the condition where
there are no more real buffers left to switch to, and in that case send
you to the fallback-buffer.
2018-02-02 20:47:31 -05:00
ca262f5e4e
Rename doom-fallback-buffer (variable) => doom-fallback-buffer-name
2018-02-01 20:06:00 -05:00
7b2bbb973a
Improve real-buffer function docstrings
2018-02-01 20:04:54 -05:00
2989296521
Use frame's buffer-predicate instead of doom/{next,previous}-buffer
...
doom/{next,previous}-buffer was implemented so that these commands could
skip over unreal buffers, and land us on either a real one or the
dashboard. Using the frame's buffer-predicate parameter accomplishes
exactly this, natively.
2018-02-01 19:58:43 -05:00
c9e8be1f60
Improve doom/toggle-fullscreen #397
2018-02-01 17:42:39 -05:00
dadfeec506
Refactor & fix doom/forward-to-last-non-comment-or-eol
2018-02-01 16:35:55 -05:00
7c48e7e5cc
Improve visual-line-mode support in doom/backward-to-bol-or-indent #396
2018-02-01 16:35:27 -05:00
0bb1635a38
Check if buffer-file-name is nil before passing it as argument.
2018-01-31 06:41:51 +03:00
bcef66b947
Refactor doom/toggle-line-numbers; add doom-line-numbers-visual-style #376
...
doom-line-numbers-visual-style adds support for the visual
display-line-numbers mode by setting it to a non-nil value.
2018-01-30 03:31:32 -05:00
64a674dcc9
Fix nlinum-relative line numbering #376
...
Fixed padding; now relative line numbers look consistent with its non-relative
counterpart.
2018-01-30 01:18:30 -05:00
01787fc876
Change doom/toggle-line-numbers to cycle styles #376
...
Also fixes doom/toggle-line-numbers when doom-line-numbers-style is nil.
2018-01-30 01:10:58 -05:00
e0f6fde7c1
Update doom//run-tests for new doom!
2018-01-29 18:41:55 -05:00
4e908bd525
Minor refactor & correction
2018-01-29 17:39:08 -05:00
8b19e35ef6
Consider dired-mode buffers real
2018-01-28 20:37:40 -05:00
4f983c139e
Improve doom/describe-{setting,module} commands
...
Now grabs the setting/module at point
2018-01-28 03:00:29 -05:00
b57c2e2264
Disarm doom/cleanup-session's oppressive regime
...
It killed buffers a little too indiscriminantly.
2018-01-08 19:36:02 -05:00
4bd74d9653
Fix doom-cleanup-hook breaking if hook didn't return an integer
2018-01-07 15:03:45 -05:00
60fdbf8643
doom/window-enlargen: use maximize-window instead
...
Just discovered maximize-window, which I've been doing manually in
doom/window-zoom. Bueno.
2018-01-07 01:58:38 -05:00
2734810060
Show error when looking up dependency trees for built-in packages
...
There's no obvious way to do this, and I don't think it's important
enough to accommodate it.
2018-01-07 00:15:58 -05:00
392f04446f
General refactor (use map.el more)
...
+ map-delete is shorter and faster than assq-delete-all
+ map-put is simpler than the delete-then-set workflow
+ map-merge is great for merging default and user settings
2018-01-07 00:15:58 -05:00
5cd29479f4
Refactor feature/evil hacks & advice; fix tests
2018-01-07 00:15:57 -05:00
31a4244686
Rethink what Doom loads at startup and manually
...
Better to simply load what we need, when we need it, rather than set up
autoloads for every litte thing.
2018-01-07 00:15:57 -05:00
0042a56d02
Add new cache library (persistent-soft wrapper)
2018-01-07 00:15:57 -05:00
b681917082
Remove/replace references to doom-popup-buffer
2018-01-06 03:27:23 -05:00
91357a3e5d
💥 Replace core-popup with new feature/popup module
...
This is a breaking change! Update your :popup settings. Old ones will
throw errors!
Doom's new popup management system casts off its shackles (hur hur) and
replaces them with the monster that is `display-buffer-alist`, and
window parameters.
However, this is highly experimental! Expect edge cases. Particularly
with org-mode and magit (or anything that does its own window
management).
Relevant to #261 , #263 , #325
2018-01-06 02:17:43 -05:00
5d186d10b4
doom-install-package: don't try to uninstall built-in packages
2018-01-04 16:16:45 -05:00
f3bad40fdf
Packages api: simpler error handling
2018-01-04 16:16:45 -05:00
a29bc54c63
Install packages in the order they are declared
2018-01-04 16:16:45 -05:00
88f8c27a7d
Fix doom/cleanup-session & +workspaces|cleanup-unassociated-buffers
...
Resolve void n variable errors and silent message.
2018-01-04 16:16:44 -05:00
4d51a1ab09
Fix :skip property in def-test!
2018-01-04 16:14:50 -05:00
b7d21fb256
Add let-advice!! test macro
2018-01-04 16:14:50 -05:00