feature/popup: use new +popup-display-buffer #337

Adds support for `slot` and `vslot`, allowing for two dimensional
control over where popups may spawn. Highly experimental.

It's upsetting that I have to set `window--sides-inhibit-check`, I'd
like to find a way around that, if possible.
This commit is contained in:
Henrik Lissner
2018-01-11 01:05:20 -05:00
parent 991297b8e7
commit bff48e5ed7
3 changed files with 140 additions and 45 deletions

View File

@@ -146,9 +146,9 @@ the command buffer."
;; `org'
(after! org
(set! :popup "^\\*\\(?:Agenda Com\\|Org \\(?:Links\\|Export Dispatcher\\|Select\\)\\)"
'((slot . -1) (size . +popup-shrink-to-fit))
'((transient)))
(set! :popup "^\\*\\(?:Agenda Com\\|Calendar\\|Org \\(?:Links\\|Export Dispatcher\\|Select\\)\\)"
'((slot . -1) (vslot . -1) (size . +popup-shrink-to-fit))
'((transient . 0)))
(set! :popup "^\\*Org Agenda" '((size . 20)) '((select . t) (transient)))
(set! :popup "^\\*Org Src" '((size . 0.3)) '((quit) (select . t)))
(set! :popup "^CAPTURE.*\\.org$" '((size . 0.2)) '((quit) (select . t)))