Henrik Lissner
1c6d39db7f
feature/popup: ensure popups can get as small as they like
...
Popups without modelines can take advantage of the extra lines bought
with a smaller window-min-height.
2018-01-07 05:56:01 -05:00
Henrik Lissner
81453de0c4
feature/popup: prompt to save unsaved buffers in popups
2018-01-07 05:56:01 -05:00
Henrik Lissner
dff4b03fff
feature/popup: support user-defined delete-window parameter
2018-01-07 05:56:01 -05:00
Henrik Lissner
e481a2891a
feature/popup: minor refactor & remove provide
2018-01-07 05:56:01 -05:00
Henrik Lissner
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
Henrik Lissner
878b5ae4e2
feature/popup: rethink default rules
2018-01-07 05:56:00 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
af58e321dd
Remove vestigial comment
2018-01-07 00:36:46 -05:00
Henrik Lissner
7872faad3a
feature/popup: don't forcibly hide modeline in org-agenda popups
2018-01-07 00:20:11 -05:00
Henrik Lissner
2d9e63d5bb
General & minor refactoring
2018-01-07 00:15:58 -05:00
Henrik Lissner
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
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
2eeb6ce0d9
📝 Write feature/popup's readme
2018-01-07 00:15:57 -05:00
Henrik Lissner
5cd29479f4
Refactor feature/evil hacks & advice; fix tests
2018-01-07 00:15:57 -05:00
Henrik Lissner
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
Henrik Lissner
0042a56d02
Add new cache library (persistent-soft wrapper)
2018-01-07 00:15:57 -05:00
Henrik Lissner
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
Henrik Lissner
03d77c0bef
feature/popup: fix 'Cancelled timer' spam
...
https://youtu.be/fn4jIlFwuLU
2018-01-07 00:15:57 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
4f605d26cd
(put '+popup-buffer-mode permanent-local{,-hook} t)
2018-01-06 04:57:54 -05:00
Henrik Lissner
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
Henrik Lissner
a9a731c1eb
feature/popup: replace alist param with popup
2018-01-06 04:56:12 -05:00
Henrik Lissner
4df471e53a
feature/popup: fix arrayp errors when killing transient buffers
2018-01-06 04:52:37 -05:00
Henrik Lissner
f087f731ef
feature/popup: fix +popup/toggle
2018-01-06 04:42:54 -05:00
Henrik Lissner
45bc438c37
feature/popup: fix typo (writeable => writable)
...
This prevented window parameters from being saved.
2018-01-06 04:42:24 -05:00
Henrik Lissner
48b0a468d1
THOU SHALT NOT WORSHIP FALSE IDOLS, said the byte compiler
...
And I obeyed.
2018-01-06 04:24:38 -05:00
Henrik Lissner
d76f991c0c
feature/popup: clean up buffer processes too, if any
2018-01-06 03:30:27 -05:00
Henrik Lissner
b681917082
Remove/replace references to doom-popup-buffer
2018-01-06 03:27:23 -05:00
Henrik Lissner
4fdf4a58b4
feature/popup: mention custom 'size parameter in :popup
2018-01-06 03:09:29 -05:00
Henrik Lissner
b28f6ed477
General minor refactor & comment revision
2018-01-06 03:03:02 -05:00
Henrik Lissner
b17cafc4f7
feature/evil: recenter after splitting
2018-01-06 03:02:12 -05:00
Henrik Lissner
60cded00e6
Decouple doom/escape & evil
2018-01-06 03:00:45 -05:00
Henrik Lissner
a88cb1e4eb
require map library for +popup--normalize-alist
2018-01-06 02:48:08 -05:00
Henrik Lissner
08b479b06f
Rename popup parameter escape-quit => quit
2018-01-06 02:42:53 -05:00
Henrik Lissner
3cbddbfd88
Generalize +evil-esc-hook into doom-escape-hook
...
This lets vanilla Emacs users in on having a universal "escape" key.
2018-01-06 02:38:39 -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
065091bdca
flycheck: use pos-tip in GUI Emacs (linux), popup-tip everywhere else
...
Long story short, `flycheck-popup-tip' works everywhere but only looks
*ok*. `flycheck-pos-tip' looks great, but only in GUI Emacs on Linux.
So we want:
+ GUI Emacs (Linux): pos-tip
+ GUI Emacs (MacOS): popup-tip
+ tty Emacs (anywhere): popup-tip
2018-01-06 01:10:37 -05:00
Henrik Lissner
f277eddf1b
feature/syntax-checker: use flycheck-popup-tip on MacOS #318
...
pos-tip.el (what flycheck-pos-tip's uses) is buggy on MacOS, with no
guarantee where a popup may appear.
2018-01-05 14:43:50 -05:00
Henrik Lissner
1371d34149
💥 Replace feature/jump with feature/lookup
...
+ Adds Dash docset integration (with helm or ivy support)
+ Adds devdocs.io integration
+ Three new settings: :lookup, :devdocs and :docset
2018-01-04 17:11:54 -05:00
Henrik Lissner
b3b31e4bd4
Display *Warnings* buffer in main workspace after startup #319
...
The creation of the main workspace would swallow the Warnings buffer, so
we forcibly display it (if it exists) on startup.
2018-01-04 16:58:21 -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
e9b5ab2385
Fix +workspace/close-window-or-workspace treating everything as a popup
2018-01-04 16:16:44 -05:00
Henrik Lissner
776533adb7
feature/evil: fix unit tests
2018-01-04 16:16:44 -05:00
Henrik Lissner
e74a95de32
feature/workspaces: fix tests
2018-01-04 16:16:44 -05:00
Henrik Lissner
790eed0abd
feature/workspaces: run +workspace-change-hook when updating ws list
2018-01-04 16:14:59 -05:00
Henrik Lissner
9c9e9b2b59
feature/snippets: remove monkey patch (fix merged upstream)
2018-01-04 16:14:51 -05:00
Henrik Lissner
f3562eb038
feature/workspaces: refactor persp-mode init
2018-01-04 03:01:35 -05:00