Commit Graph

355 Commits

Author SHA1 Message Date
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
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
ab0223144c Refactor doom/cleanup-session & corresponding evil command 2018-01-04 16:14:50 -05:00
8e875bfa0e Phase out doom-kill-buffer 2018-01-04 03:01:35 -05:00
ecc8051378 Refactor doom/kill-all-buffers & decouple from core-popup 2018-01-04 03:01:35 -05:00
00cc57a2bd doom--cycle-real-buffers: if n=0, switch to fallback buffer 2018-01-04 03:01:35 -05:00
fa72e8d09b Simplify doom-buried-buffers & doom-real-buffer-list 2018-01-04 03:01:35 -05:00
e9a012af34 doom-visible-windows: fix predicate for 'popup window' 2018-01-04 03:01:35 -05:00
8e7b822062 Remove core-popup coupling
New popup management system coming soon!
2018-01-03 03:44:34 -05:00
e0c8e6daef New doom-unreal-buffer-functions function & doom-real-buffer-p spec 2018-01-03 03:38:35 -05:00
3d5d1b65b3 Move misplaced doom--buffer-narrowed-origin to correct place 2018-01-03 03:32:19 -05:00
fd62e8e0b1 Popups: don't dedicate window if has :same t rule #309 2018-01-01 21:48:59 -05:00
2b56fe081c Improve docstring for doom-real-buffer-functions 2018-01-01 16:59:42 -05:00
c9a878a62f Conform unit test macros to naming scheme 2018-01-01 16:59:30 -05:00
189e401197 Refactor doom/info 2017-12-31 18:32:34 -05:00
5048b72c12 Add doom/info command
This copies debug information about the current session of Doom Emacs in
the clipboard, which folks can use to include system information with
their bug reports!
2017-12-31 17:49:31 -05:00
8ad2666f8f Refactor and fix unit tests, plus isolate them better 2017-12-31 14:58:45 -05:00
88946a893a Minor edits + comment out unused popup vars (for later) 2017-12-30 01:25:24 -05:00
9632b8c09d Flip default kill flag in quit-window #309 2017-12-30 01:19:56 -05:00
707b69540d doom/cleanup-buffers => doom/cleanup-session 2017-12-30 00:59:44 -05:00
61df57b86a Refactor core/autoload/buffers.el 2017-12-30 00:58:58 -05:00
f61d7c9e7f doom-force-kill-buffer => doom/kill-this-buffer-in-all-windows 2017-12-30 00:55:44 -05:00
37a07c79b7 popups: handle :autokill in a kill-buffer-query-fn 2017-12-29 22:30:34 -05:00
0c06514c6f doom-narrow-buffer renamed to doom/narrow-buffer and moved 2017-12-29 22:29:57 -05:00
02c1a78330 Add :skip support for def-test! 2017-12-29 04:17:19 -05:00
5bd361cbc4 Stop 'Nowhere left to go!' spam; lighten up Emacs! 2017-12-28 22:08:19 -05:00
60e8f6297e doom-kill-buffer: extract protect-visible-buffers logic
Protecting buffers that were visible in other windows (burying them
instead) is not the responsibility of doom-kill-buffer. This is a job
for kill-buffer-query-functions, hence doom|protect-visible-buffers.
2017-12-28 22:06:22 -05:00
ca56d08dd9 Fix stale mode-line after switching buffers 2017-12-28 21:42:33 -05:00
9a71a73538 General, minor refactor 2017-12-27 18:19:33 -05:00
71c0c96b60 Remove unused project-root in doom--cycle-real-buffers 2017-12-27 13:36:20 -05:00
bee9259096 ui/doom-dashboard: add +doom-dashboard-pwd-policy option #309
Gives the user control over how the dashboard's default-directory is
set. The default is to set it to the project root of the last open
buffer.
2017-12-27 13:24:18 -05:00
e024144f4f Add doom-cleanup-hook to doom/cleanup-buffers 2017-12-26 19:27:14 -05:00
ebd82024e5 Fix doom-fetch & remove --depth 1 2017-12-23 01:47:27 -05:00
7ab8958971 Refactor package management api + remove doom-initialize 2017-12-22 16:26:08 -05:00
98e324b785 Fix 'not installed' errors for built-in packages #288
Caused by doom-package-backend not taking into account that a package
could be built-in. Derp!
2017-12-22 04:02:58 -05:00
34c74d2d5c doom//packages-install: fix skipped cleanup code 2017-12-20 20:10:14 -05:00
4e83cd516c Add unicode symbols to package management output 2017-12-20 20:07:46 -05:00
4af354c693 Fix doom/am-i-secure 2017-12-20 19:57:15 -05:00
fe3db542ed Fix ERT not running properly on make test 2017-12-10 15:37:32 -05:00
76a4ae459d Fix obsolete (when|if)-let messages in Emacs 26 2017-12-10 14:49:52 -05:00
013f8e08d5 Fix make test-* tasks for running specific tests 2017-12-09 14:37:43 -05:00