Henrik Lissner
b2e4e8e27c
revert: persp-mode
...
Bad-ptr/persp-mode.el@82680795b3 -> Bad-ptr/persp-mode.el@40e9993a97
persp-mode introduced some breaking API changes in a recent refactoring,
which have caused issues that are difficult to opt out of, even by
repinning it to an older commit. Until persp-mode sorts things out, I
simply revert it back to a point before all the changes.
Revert: c64ca09ed2
Revert: 751ac6134b
Revert: 6d5e004b87
Amend: a1121acc94
Fix : #8455
Close : #8474
Ref: #8470
2025-09-01 14:33:53 +02:00
Henrik Lissner
a1121acc94
bump: :ui
...
Alexander-Miller/treemacs@abd27c86df -> Alexander-Miller/treemacs@5fa8419950
Bad-ptr/persp-mode.el@40e9993a97 -> Bad-ptr/persp-mode.el@f146ddccaf
dgutov/diff-hl@9b032018fd -> dgutov/diff-hl@39f076efa8
doomemacs/themes@729ad03463 -> doomemacs/themes@3152c60bb5
jaypei/emacs-neotree@4a4cd85761 -> jaypei/emacs-neotree@3178805a09
jdtsmith/indent-bars@87729d685d -> jdtsmith/indent-bars@aa07a3d812
jdtsmith/ultra-scroll@b447044b9d -> jdtsmith/ultra-scroll@8c92a17743
minad/goggles@5176114e99 -> minad/goggles@791140df23
seagle0128/doom-modeline@a85cb28da8 -> seagle0128/doom-modeline@cb703c217e
tarsius/hl-todo@7ed8bbcadb -> tarsius/hl-todo@b8be53068b
Includes some refactors to the workspaces and vc-gutter modules to adapt
to upstream changes in persp-mode and diff-hl.
2025-08-10 15:34:44 +02:00
Henrik Lissner
b2db71e55a
revert: feature/workspaces: persist indirect buffers
...
Restoring indirect buffers indiscriminately isn't so simple, and can
come with unserializable data that Emacs will throw errors on while
restoring a saved workspace.
Revert: 5f04be599f
Fix : #6043
2025-05-01 14:48:46 -04:00
Henrik Lissner
c6f979b4e0
refactor(workspaces): projectile integration
...
Simplifies +workspaces-switch-to-project-h and refactors out the
dependency on external state.
2025-04-01 03:27:03 -04:00
Henrik Lissner
b3bea23331
fix(workspaces): "none" workspace
...
Doom removes the "none" workspace from persp-mode's default list of
perspectives, because it is a special case that doesn't behave
identically to other persps in the list, making it a pain to deal with.
This worked fine up until a change to `persp-update-names-cache` (in
Bad-ptr/persp-mode.el@0d6cacc ) made it re-insert this "none" workspace
into `persp-names-cache` whenever it is called, undoing our hack; this
commit adapts to that change.
Ref: Bad-ptr/persp-mode.el@0d6caccab3
Ref: Bad-ptr/persp-mode.el@b2e68f97cb
Fix : #7986
Amend: 7f3412e317
2024-08-09 15:42:54 -04:00
Henrik Lissner
69bc471722
fix(workspaces): dual *Warnings* windows at startup
...
At some point, either Emacs, persp-mode, or I fixed what caused #319 ,
which swallows the *Warnings* popup when the new main workspace is
created. Until I can determine what fixed it (so I can determine whether
the whole hack should go), I'll simply add this guard.
Ref: #319
2024-04-06 12:55:01 -04:00
Henrik Lissner
90070c639a
fix(workspaces): remove ivy integration
...
Due to upstream changes in ivy-rich, +workspace/switch-to throws a
`wrong-type-argument listp leaf` error. As I plan to phase out Ivy
support (and the Ivy module) in the long term, I'll simply remove
ivy (and ivy-rich) integration in the workspaces module, rather than
update it.
Fix : #7499
Fix : #7173
2024-03-26 10:11:34 -04:00
Henrik Lissner
086e9a9322
feat(workspaces): +workspace/switch-to: add buffer list column
...
To offer more context for ivy users while switching between workspaces.
Close : #3006
Co-authored-by: rgrinberg <rgrinberg@users.noreply.github.com >~
2023-02-18 15:27:47 -05:00
roife
d12b0ebc80
fix(workspaces): save current tab-bar tabs to file
2023-02-18 01:01:49 -05:00
Antonio Ruiz
191745424b
feat(workspaces): make tab-bar tabs workspace-local
2022-10-05 15:14:44 +02:00
Henrik Lissner
aa54383b5d
refactor: deprecate doom-etc-dir for doom-data-dir
...
doom-etc-dir will be renamed to doom-data-dir, to better reflect its
purpose, and align it with XDG_DATA_HOME (where it will be moved to in
v3, where Doom will begin to obey XDG directory conventions more
closely).
2022-08-14 20:43:35 +02:00
Henrik Lissner
ad6a3d0f33
refactor: deprecate featurep! for modulep!
...
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.
featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
Henrik Lissner
02850dd6d7
fix(workspaces): wrong-type-argument list error on kill emacs
...
Amend: 1db18f6e1390
Fix : #5687
2021-11-21 18:49:21 +01:00
Henrik Lissner
e431dbc138
fix(doom-dashboard,workspaces): module init order
...
Change (and simplify) the load order of Doom's dashboard and persp-mode
so that the dashboard always initializes later. This and 0ab6aba
should
fix #5643 .
Fix #5643
Ref 0ab6aba056
2021-10-18 01:15:20 +02:00
Henrik Lissner
2f100fef04
fix(workspaces): persist magit-status buffers
...
Fix #3558
Co-authored-by: Mikhail Levchenko <Mishkun@users.noreply.github.com >
2021-09-29 17:59:51 +02:00
Henrik Lissner
045ea7460d
nit: revise and reformat code comments
2021-08-04 01:53:12 -04:00
Itai Y. Efrat
0e9864d308
selectrum: fix project switching with workspaces
...
Replicates ivy behavior of opening file in the new workspace
2021-07-25 02:49:41 +03:00
Henrik Lissner
84e1554f14
Fix #5109 : startup files not added to main persp
2021-05-28 11:43:40 -04:00
Henrik Lissner
fa29a3cf1d
Ensure associated workspace is deleted on server-done too
...
Should catch more corner cases where workspaces are surviving their
emacsclient-spawned frames.
2021-03-05 20:09:22 -05:00
Henrik Lissner
00b370fdc6
ui/workspaces: persp-local winner-mode history
2020-11-19 00:44:16 -05:00
Henrik Lissner
807f00a470
Fix #4205 : void-function (setf persp-buffers)
2020-11-02 23:56:43 -05:00
Henrik Lissner
7d603185e1
Filter dead buffers from persp-mode workspaces
...
Fix #4196
Fix #1525
2020-11-02 14:43:12 -05:00
Henrik Lissner
8afba81b02
Fix #4037 : persp-mode failure at daemon startup
...
Due to upstream changes.
2020-10-06 14:19:36 -04:00
Henrik Lissner
3f4eaec1af
Fix void-variable bb error when saving workspace
2020-10-05 16:35:58 -04:00
RobinMarchart
9f6cb1a1b4
fix #4025
...
function was renamed in persp-mode
2020-10-05 12:17:59 +02:00
t-e-r-m
b632cbaa5c
Add projectile dired action in workspaces module
...
"open project in dired"
2020-08-19 17:37:00 +05:30
Henrik Lissner
08e5b8535a
ui/workspaces: don't persist TRAMP buffers
...
They're too slow to restore.
2020-08-11 20:53:12 -04:00
Henrik Lissner
095b32979f
Register workspace buffers opened via bookmark-jump
2020-07-28 16:06:37 -04:00
Henrik Lissner
847bbf380c
persp-kill-foreign-buffer-behavior = kill
...
Don't bother the user with prompts. If they're killing a buffer, they
want to kill the buffer.
2020-06-13 17:12:23 -04:00
Henrik Lissner
db16b12633
persp-reset-windows-on-nil-window-conf = nil
...
Do nothing when opening a perspective with no window conf; this is
particularly useful for emacsclient frames that are opened without a
dedicated workspace.
2020-04-29 14:44:51 -04:00
Henrik Lissner
5cc2befc72
Fix #2609 : switch-project no-ops for helm users
2020-02-29 00:03:40 -05:00
Henrik Lissner
88dd15e204
Revise comments
2020-02-28 22:26:19 -05:00
Henrik Lissner
e220549bb8
Fix #2595 : immortal find-file prompt on project switch
...
Regression caused by 8049914e0
, for #2591
2020-02-24 22:27:25 -05:00
Henrik Lissner
93fce97e61
Refactor +workspaces-add-current-buffer-h
2020-02-11 17:47:39 -05:00
Henrik Lissner
725003376f
Add indirect buffer itself to workspace
2020-02-11 17:01:00 -05:00
Henrik Lissner
fe584a1f0c
Add (real) indirect buffers to workspace
2020-02-11 17:00:41 -05:00
Henrik Lissner
5eeb362610
Ensure workspace in insertion order
...
Closes #2488
Fixes #2487
2020-02-06 15:20:42 -05:00
Henrik Lissner
458cdd5df4
ui/workspaces: remove extra workspaces when restoring sessions
2019-12-22 19:59:22 -05:00
Henrik Lissner
c13b8df5df
Minor refactors & reformatting
2019-12-05 14:56:16 -05:00
Henrik Lissner
d347574d30
Fix #1973 : selected region survives switching workspaces
...
Leaving behind ineffectual region highlights
2019-10-28 23:23:13 -04:00
Henrik Lissner
f7c368c5da
ui/workspaces: associate files opened via emacsclient
...
...with the current workspace.
2019-09-14 18:28:30 -04:00
Henrik Lissner
9e122c6847
ui/workspaces: fix session restoration
...
Caused by an inverted buffer filter when saving the current session.
2019-08-28 12:41:00 -04:00
Henrik Lissner
243d69bb6d
ui/workspaces: don't register filtered buffers
...
May indirectly address #1525
2019-08-22 14:45:40 -04:00
Henrik Lissner
9b1c49149c
New fix for #1525 : 'selecting deleted buffer' error
2019-08-21 00:29:02 -04:00
Henrik Lissner
58fb9faf3a
ui/workspaces: use add-hook! for inline hook
2019-08-17 16:04:41 -04:00
Henrik Lissner
0cf669ab92
Fix fix for #1525
...
Original fix complained about void function setf persp-buffers.
2019-08-15 21:30:59 -04:00
Henrik Lissner
e32fd0c7e1
Fix #1525 : selecting deleted buffer errors
...
...when killing Emacs or switching perspectives.
2019-08-15 21:14:21 -04:00
Henrik Lissner
db1c1995fd
ui/workspaces: fix evil-window-delete remapping
...
Relevant to #1641
2019-08-08 23:58:41 -04:00
Henrik Lissner
19ecf8e46a
Correct last inline hook defuns
...
See a3e262c7
for rationale
2019-07-28 16:10:53 +02:00
Henrik Lissner
3313212f90
ui/workspaces: correct inline defun hooks
...
And add-to-list -> add-hook, because its a tiny bit faster (and fewer
characters).
2019-07-27 17:08:56 +02:00