Henrik Lissner
245ef02597
Fix misplaced info in doom/info output
...
And update its docstring
2018-02-04 01:39:50 -05:00
Henrik Lissner
4262b9912c
Revert "Move init.test.el into core/autoload/test.el"
...
This reverts commit 3bfb7fa17d
.
2018-02-03 22:46:18 -05:00
Henrik Lissner
e2a6028643
Add docstring to doom/toggle-profiler
2018-02-03 22:41:34 -05:00
Henrik Lissner
ee24aba034
Fix whitespace inconsistencies in doom/info
2018-02-03 22:35:40 -05:00
Henrik Lissner
3bfb7fa17d
Move init.test.el into core/autoload/test.el
2018-02-03 03:30:49 -05:00
Henrik Lissner
1dfe6c472a
Rewrite doom/info for concise debug output
2018-02-02 23:44:09 -05:00
Henrik Lissner
160902bd18
Remove doom/toggle-fullsreen; redundant with toggle-frame-fullscreen
2018-02-02 20:47:34 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
ca262f5e4e
Rename doom-fallback-buffer (variable) => doom-fallback-buffer-name
2018-02-01 20:06:00 -05:00
Henrik Lissner
7b2bbb973a
Improve real-buffer function docstrings
2018-02-01 20:04:54 -05:00
Henrik Lissner
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
Henrik Lissner
c9e8be1f60
Improve doom/toggle-fullscreen #397
2018-02-01 17:42:39 -05:00
Henrik Lissner
dadfeec506
Refactor & fix doom/forward-to-last-non-comment-or-eol
2018-02-01 16:35:55 -05:00
Henrik Lissner
7c48e7e5cc
Improve visual-line-mode support in doom/backward-to-bol-or-indent #396
2018-02-01 16:35:27 -05:00
Sergey Trofimov
0bb1635a38
Check if buffer-file-name is nil before passing it as argument.
2018-01-31 06:41:51 +03:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
e0f6fde7c1
Update doom//run-tests for new doom!
2018-01-29 18:41:55 -05:00
Henrik Lissner
4e908bd525
Minor refactor & correction
2018-01-29 17:39:08 -05:00
Henrik Lissner
8b19e35ef6
Consider dired-mode buffers real
2018-01-28 20:37:40 -05:00
Henrik Lissner
4f983c139e
Improve doom/describe-{setting,module} commands
...
Now grabs the setting/module at point
2018-01-28 03:00:29 -05:00
Henrik Lissner
b57c2e2264
Disarm doom/cleanup-session's oppressive regime
...
It killed buffers a little too indiscriminantly.
2018-01-08 19:36:02 -05:00
Henrik Lissner
4bd74d9653
Fix doom-cleanup-hook breaking if hook didn't return an integer
2018-01-07 15:03:45 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
5cd29479f4
Refactor feature/evil hacks & advice; fix tests
2018-01-07 00:15:57 -05:00
Henrik Lissner
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
Henrik Lissner
0042a56d02
Add new cache library (persistent-soft wrapper)
2018-01-07 00:15:57 -05:00
Henrik Lissner
b681917082
Remove/replace references to doom-popup-buffer
2018-01-06 03:27:23 -05:00
Henrik Lissner
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
Henrik Lissner
5d186d10b4
doom-install-package: don't try to uninstall built-in packages
2018-01-04 16:16:45 -05:00
Henrik Lissner
f3bad40fdf
Packages api: simpler error handling
2018-01-04 16:16:45 -05:00
Henrik Lissner
a29bc54c63
Install packages in the order they are declared
2018-01-04 16:16:45 -05:00
Henrik Lissner
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
Henrik Lissner
4d51a1ab09
Fix :skip property in def-test!
2018-01-04 16:14:50 -05:00
Henrik Lissner
b7d21fb256
Add let-advice!! test macro
2018-01-04 16:14:50 -05:00
Henrik Lissner
f1268b130f
Update & refactor core-popups
...
Updates core-popups for new doom-kill-buffer-less workflow, and gives it
is last refactor. Within the next couple of days core-popups will be
replaced with a new and improved feature/popup module.
2018-01-04 16:14:50 -05:00
Henrik Lissner
ab0223144c
Refactor doom/cleanup-session & corresponding evil command
2018-01-04 16:14:50 -05:00
Henrik Lissner
8e875bfa0e
Phase out doom-kill-buffer
2018-01-04 03:01:35 -05:00
Henrik Lissner
ecc8051378
Refactor doom/kill-all-buffers & decouple from core-popup
2018-01-04 03:01:35 -05:00
Henrik Lissner
00cc57a2bd
doom--cycle-real-buffers: if n=0, switch to fallback buffer
2018-01-04 03:01:35 -05:00
Henrik Lissner
fa72e8d09b
Simplify doom-buried-buffers & doom-real-buffer-list
2018-01-04 03:01:35 -05:00
Henrik Lissner
e9a012af34
doom-visible-windows: fix predicate for 'popup window'
2018-01-04 03:01:35 -05:00
Henrik Lissner
8e7b822062
Remove core-popup coupling
...
New popup management system coming soon!
2018-01-03 03:44:34 -05:00
Henrik Lissner
e0c8e6daef
New doom-unreal-buffer-functions function & doom-real-buffer-p spec
2018-01-03 03:38:35 -05:00
Henrik Lissner
3d5d1b65b3
Move misplaced doom--buffer-narrowed-origin to correct place
2018-01-03 03:32:19 -05:00
Henrik Lissner
fd62e8e0b1
Popups: don't dedicate window if has :same t rule #309
2018-01-01 21:48:59 -05:00