Commit graph

866 commits

Author SHA1 Message Date
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
Henrik Lissner
9f884bf998
Move delayed-warnings deferral to core.el
Possibly addresses #319
2018-01-03 12:54:30 -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
edc53706ba
feature/snippets: temporarily monkey-patch regression in yasnippet
See https://github.com/joaotavora/yasnippet/issues/883
2018-01-02 20:36:20 -05:00
Henrik Lissner
50c1ad0875
Fix esc not exiting snippets
Caused by a custom ESC keybind overriding +evil-esc-hook
2018-01-01 22:42:46 -05:00
Henrik Lissner
f646c969e7
Fix doom module file templates when emacs.d is a symlink 2018-01-01 21:16:36 -05:00
Henrik Lissner
3708d76f51
feature/snippets: use default yas-snippet-dirs (harmless)
This is often overwritten by other modules anyway.
2018-01-01 16:17:24 -05:00
Henrik Lissner
ff13fb854a
Fix file template for Doom module readmes 2018-01-01 16:14:06 -05:00
Henrik Lissner
14f310e199
Fix some file-templates not being inserted
Because yas--lookup-snippet-1 uses the template's description, rather
than its trigger key as its lookup key. Doom expects it the other way
around, which is the case when a file template doesn't define a name: in
the snippet.
2018-01-01 16:11:03 -05:00
Henrik Lissner
e87b788078
Update & reformat module readmes for v2.0.9
+ completion/ivy
+ completion/company
+ feature/evil
+ feature/eval
+ feature/snippets
+ feature/workspaces
+ tools/neotree
2018-01-01 13:21:53 -05:00
Henrik Lissner
eef6ed3d11
Minor, general refactor & comment updates 2018-01-01 13:21:52 -05:00
Henrik Lissner
2c2030b583
+jump/documentation: always prompt for provider with online fallback 2017-12-31 21:34:54 -05:00
Henrik Lissner
8ad2666f8f
Refactor and fix unit tests, plus isolate them better 2017-12-31 14:58:45 -05:00