Commit Graph

4606 Commits

Author SHA1 Message Date
81453de0c4 feature/popup: prompt to save unsaved buffers in popups 2018-01-07 05:56:01 -05:00
dff4b03fff feature/popup: support user-defined delete-window parameter 2018-01-07 05:56:01 -05:00
e481a2891a feature/popup: minor refactor & remove provide 2018-01-07 05:56:01 -05:00
43c48a085f feature/popup: improve org compatibility (fix #330)
This update should fix Org Src buffers, as well as those todo/agenda
commans/links mini popups.
2018-01-07 05:56:01 -05:00
878b5ae4e2 feature/popup: rethink default rules 2018-01-07 05:56:00 -05:00
84cba91e50 feature/popup: remove default slot & window-width
...and fix :popup not mapping the size parameter to the correct
dimension when no side is specified.
2018-01-07 05:56:00 -05:00
25a2973c52 feature/popup: make parameters support functions
Now, the transient, quit, select and modeline parameters now accept
a function FN. See `+popup-window-parameters` for details.

(transient . (FN popup-buffer))
(quit . (FN popup-window))
(select . (FN popup-window))
(modeline . (FN popup-buffer))
2018-01-07 05:35:20 -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
29e25f5ea8 feature/popup: use window-toggle-side-window
Neat. `window-toggle-side-window` exists and essentially does what
I wanted +popup/toggle to do.
2018-01-07 01:51:46 -05:00
af58e321dd Remove vestigial comment 2018-01-07 00:36:46 -05:00
4024437cfb lang/latex: don't forcibly hide modeline 2018-01-07 00:35:59 -05:00
a5bb69cf6a Ensure *Messages* and *scratch* have a modeline 2018-01-07 00:35:23 -05:00
7872faad3a feature/popup: don't forcibly hide modeline in org-agenda popups 2018-01-07 00:20:11 -05:00
2d9e63d5bb General & minor refactoring 2018-01-07 00:15:58 -05:00
25619908a2 Narrow down the purpose of init & post-init hooks
Essential hooks should be added to doom-init-hook. Non-essential and
extra hooks should be added to doom-psot-init-hook.
2018-01-07 00:15:58 -05:00
c0680e6fa3 lang/org: refactor load-path mods & don't forget it
Previously, Doom would forget lang/org's modification of the load-path
if you call doom//reload-load-path (which is called when you do package
management with an open Emacs session).

No more!
2018-01-07 00:15:58 -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
2eeb6ce0d9 📝 Write feature/popup's readme 2018-01-07 00:15:57 -05:00
379914ccd7 doom-initialize: letbind load-path to site load-path instead
PREMATURE OPTIMIZATION DETECTED.

EXTERMINATE. EXTERMINATE. EXTERMINATE.
2018-01-07 00:15:57 -05:00
5cd29479f4 Refactor feature/evil hacks & advice; fix tests 2018-01-07 00:15:57 -05:00
0c3484414c Fix dashboard replacing warnings buffer in popup at startup
It makes the dashboard screen a mess!
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
fcd87f6f69 feature/popup: fix balance-windows freezes with neotree
neotree's own advice around balance-windows caused little freezes while
splitting/closing windows, while a neotree pane was open. Not on my
watch.
2018-01-07 00:15:57 -05:00
03d77c0bef feature/popup: fix 'Cancelled timer' spam
https://youtu.be/fn4jIlFwuLU
2018-01-07 00:15:57 -05:00
eab079724d feature/popup: add inhibit-timers letvar
Allows us to disable timer functionality when we're simply setting popup
buffers aside temporarily.
2018-01-07 00:15:56 -05:00
eef808d795 feature/popup: reduce state in window parameters & fix popup continuity
+ Fix list where cons should be
+ Update +popup-window-parameters docstring
+ Use display-buffer instead of +popup-buffer (no need to remember
  alist). This ensures restored popups (with +popup/restore) are truly
  identical to their former selves.
2018-01-07 00:15:56 -05:00
25ec2bdcbb Fix kill-this-buffer killing popup buffer instead of window 2018-01-06 17:04:20 -05:00
4f605d26cd (put '+popup-buffer-mode permanent-local{,-hook} t) 2018-01-06 04:57:54 -05:00
eedd86135e feature/popup: add hacks for wgrep, org, persp-mode & balance-windows
Plus +popup*close and +popup*save advice functions.
2018-01-06 04:56:57 -05:00
a9a731c1eb feature/popup: replace alist param with popup 2018-01-06 04:56:12 -05:00
4df471e53a feature/popup: fix arrayp errors when killing transient buffers 2018-01-06 04:52:37 -05:00
f087f731ef feature/popup: fix +popup/toggle 2018-01-06 04:42:54 -05:00
45bc438c37 feature/popup: fix typo (writeable => writable)
This prevented window parameters from being saved.
2018-01-06 04:42:24 -05:00
48b0a468d1 THOU SHALT NOT WORSHIP FALSE IDOLS, said the byte compiler
And I obeyed.
2018-01-06 04:24:38 -05:00
d738a8d13a lang/org: fix unit test 2018-01-06 04:15:40 -05:00
82abc8647a lang/org: remove recursive require (not necessary anymore?) 2018-01-06 04:15:19 -05:00
e894c07453 Load module init.el too from require! macro 2018-01-06 04:14:44 -05:00
185bf58c9e lang/org: add elpa org to load-path in init.el #327
Let's try to change the load-path sooner...
2018-01-06 04:02:05 -05:00
7ab7885edc Rewrite .travis.yml. Again. I need sleep. 2018-01-06 03:53:02 -05:00
24c2d3727d .travis.yml; forgot the PATH, remove condition 2018-01-06 03:50:57 -05:00
5f9eb8c978 Rewrite .travis.yml 2018-01-06 03:48:36 -05:00
d76f991c0c feature/popup: clean up buffer processes too, if any 2018-01-06 03:30:27 -05:00
b681917082 Remove/replace references to doom-popup-buffer 2018-01-06 03:27:23 -05:00
4fdf4a58b4 feature/popup: mention custom 'size parameter in :popup 2018-01-06 03:09:29 -05:00
8531b5245e ui/vi-tilde-fringe: use minor mode instead of global mode
The global mode is a tad greedy, affecting buffers I don't want it to.
So only activate it in certain places. This may change.
2018-01-06 03:03:25 -05:00
b28f6ed477 General minor refactor & comment revision 2018-01-06 03:03:02 -05:00
b17cafc4f7 feature/evil: recenter after splitting 2018-01-06 03:02:12 -05:00
60cded00e6 Decouple doom/escape & evil 2018-01-06 03:00:45 -05:00