Henrik Lissner
22f4404210
feature/workspace: improve daemon/frame compatibility
...
This update fixes issues with frame-local perspectives, and ensures that
a workspace is always selected in a daemon session's frames.
2018-01-28 20:32:10 -05:00
Henrik Lissner
38c0a85155
feature/workspaces: display tab line in minibuffer
...
This prevents the tabline from being mirrored across all frames.
2018-01-28 20:30:44 -05:00
Henrik Lissner
83b04b4f14
feature/workspace: associate emacsclient frames with workspace too
2018-01-28 18:26:32 -05:00
Henrik Lissner
3578d433c2
Integrate counsel-projectile-switch-project & restore file prompt when switching projects
2018-01-28 03:34:18 -05:00
Henrik Lissner
381a4416ed
feature/workspaces: major refactor & various fixes
...
+ Rewrite projectile integration.
+ Fix per-frame workspaces not cleaning up after itself when an
frame-associated workspace (or its frame) is destroyed.
+ Alias +workspace-p to perspective-p instead of persp-p (which isn't as
accurate, because it counts nil as a valid perspective).
+ Extract orphaned-buffer list functionality in +workspace-buffer-list
into seperate function: +workspace-orphaned-buffer-list.
+ Allow toggle-debug-on-error to catch workspace errors.
+ Remove +workspace/kill-session-and-quit (never used)
+ Ensure persp-mode is loaded as late as possible.
2018-01-20 15:38:59 -05:00
Henrik Lissner
45c2221316
General update for docstrings and comments & minor refactor
2018-01-15 00:43:28 -05:00
Henrik Lissner
10167b85b5
feature/workspaces: remove +workspace-change-hook
...
persp-mode provides the following hooks already (among many others):
+ persp-{before,after}-switch-functions
+ persp-renamed-functions
+ persp-created-functions
+ persp-before-kill-functions
This makes +workspace-change-hook redundant.
2018-01-14 16:21:22 -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
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
48b0a468d1
THOU SHALT NOT WORSHIP FALSE IDOLS, said the byte compiler
...
And I obeyed.
2018-01-06 04:24:38 -05:00
Henrik Lissner
b28f6ed477
General minor refactor & comment revision
2018-01-06 03:03:02 -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
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
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
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
8ad2666f8f
Refactor and fix unit tests, plus isolate them better
2017-12-31 14:58:45 -05:00
Henrik Lissner
b6eec664bb
Fix new workspace when switching projects #314
2017-12-30 01:18:41 -05:00
Henrik Lissner
707b69540d
doom/cleanup-buffers => doom/cleanup-session
2017-12-30 00:59:44 -05:00
Henrik Lissner
c9fe2de236
Ensure persp-kill-buffer-query-function is last in hook
2017-12-29 01:48:55 -05:00
Henrik Lissner
73333784f8
completion/ivy: fix cyclical-load errors when compiling
2017-12-17 00:03:45 -05:00
Henrik Lissner
27b1a9c3c6
+workspaces*auto-add-buffer: redisplay => force-mode-line-update
2017-12-10 17:00:29 -05:00
Henrik Lissner
76a4ae459d
Fix obsolete (when|if)-let messages in Emacs 26
2017-12-10 14:49:52 -05:00
Henrik Lissner
f8e8dbad8f
General minor refactor
2017-12-08 23:14:12 -05:00
Henrik Lissner
9d81bc5a8b
Major refactor: use-package-always-defer = nil & use :hook
...
Possibly breaking change: packages are no longer deferred by default.
Addresses #286
2017-12-08 23:14:11 -05:00
Henrik Lissner
a49675eb21
Merge branch 'master' into develop
...
* master:
Fix 'Wrong type argument: commandp' in +workspace/kill-session-and-quit.
2017-11-08 22:55:10 +01:00
Sergey Trofimov
1fe5f2d33b
Fix 'Wrong type argument: commandp' in +workspace/kill-session-and-quit.
2017-11-08 22:49:19 +03:00
Henrik Lissner
655f14a85d
Start tab numbering from 1 instead of 0 #262
2017-11-07 14:47:15 +01:00
Henrik Lissner
9408062f60
Move some plugins' storage to doom-etc-dir
2017-11-05 01:16:36 +01:00
Henrik Lissner
6b9849fd57
Add conditional autoload/compile cookies #229
2017-11-05 01:16:35 +01:00
Henrik Lissner
b0c26ea4dd
Remove +workspace/cleanup (doom/cleanup-buffers is better)
2017-10-06 02:37:24 +02:00
Henrik Lissner
de35ac873a
Major refactor of workspaces api
...
+ The "main" workspace is no longer treated especially, and can be
renamed or deleted. Fixes issue mentioned in #200 .
+ In the disastrous event that there are no workspaces left, a main one
is generated and switched to. Under no circumstances should the use be
left in the nil perspective!
+ Fix the :tabr[ename] ex command throwing argument errors.
+ Refactored most workspace functions.
+ New command: +workspace/close-workspace-or-frame, which is bound to
C-S-w in my private module.
2017-09-29 01:54:58 +02:00
Russell Matney
05a743320f
fix(wrkspcs): interactive rename, save + load dir
2017-09-09 19:30:08 -04:00
Henrik Lissner
d28c64b4fa
General refactor & cleanup
2017-09-02 16:39:51 +02:00
Henrik Lissner
ee1875ffd4
Add feature/workspaces/README.org
2017-08-21 20:13:30 +02:00
Henrik Lissner
6d44cec666
Fix new workspace & file prompt on project switch
...
Properly initialize a new workspace, switch to the fallback buffer
(scratch/dash), update its default-directory to the project root, and
fuzzy-prompt for a file to open.
2017-08-06 18:49:47 +02:00
Henrik Lissner
85c28444b3
General cleanup & refactor
2017-08-06 16:30:53 +02:00
Henrik Lissner
6a5bd216e5
Appease byte-compiler senpai
2017-07-14 18:19:08 +02:00
Henrik Lissner
2948ec4e0d
feature/workspaces: add some unit tests
2017-07-08 21:10:39 +02:00
Henrik Lissner
5a386446aa
Add +workspace-contains-buffer-p
2017-07-08 21:08:42 +02:00
Henrik Lissner
30001ec3f4
Fix +workspace-p (obj is a struct, not hash table)
2017-07-08 21:08:35 +02:00
Henrik Lissner
d3a6a8317b
feature/workspaces: toggle doom-buffer-list advice
2017-07-08 13:47:40 +02:00
Henrik Lissner
78c3549b0f
New function (alias): +workspace-current
2017-07-08 13:47:17 +02:00
Henrik Lissner
9194d020e4
+workspace-buffer-list: preserve list order #144
...
persp-mode still doesn't preserve buffer list order. You'll have to use
+workspace-buffer-list to get this.
2017-07-08 13:44:43 +02:00
Henrik Lissner
b3a9889c53
Refactor feature/workspaces
2017-06-28 15:16:30 +02:00
Henrik Lissner
a894f3ee1e
Move persp-mode popup fix to core-popups
2017-06-28 12:26:50 +02:00