Commit graph

103 commits

Author SHA1 Message Date
Henrik Lissner
1f8bf7accb
merge: rewrite-docs
I've omitted docs/*.org from this merge, as there is still work left to
do there, but I am pushing the module docs early so folks can benefit
from the new docs sooner.
2022-08-03 03:27:50 +02:00
Henrik Lissner
7e400abdc0
fix(docs): set mode in file-local vars
Due to emacs-straight/org-mode@e22b4eb, a replacement major mode (for
org-mode) can no longer be specified from .dir-locals.el, as it spirals
into infinite recursion. Therefore, a mode: line is needed in all Doom
docs.

Ref: emacs-straight/org-mode@e22b4eb7aa
2022-08-03 02:46:33 +02:00
Henrik Lissner
1255315bfc
refactor(docs): replace nav menus with virtual one
Now that the header is dynamically generated (when doom-docs-mode is
active), a literal header is unnecessary.
2022-08-02 19:37:07 +02:00
Henrik Lissner
e77a45bc22
docs: use lowercase keywords
As per Org's new defaults, which we're adopting elsewhere, so may as
well adopt it here.
2022-08-02 16:23:43 +02:00
Henrik Lissner
d212f3bd13
bump: :ui
Alexander-Miller/treemacs@1820db42c6 -> Alexander-Miller/treemacs@b18a05b1f6
Bad-ptr/persp-mode.el@298df111f0 -> Bad-ptr/persp-mode.el@7a594a3d8f
abo-abo/ace-window@c7cb315c14 -> abo-abo/ace-window@0577c426a9
abo-abo/hydra@2d553787ac -> abo-abo/hydra@9e9e00cb24
doomemacs/themes@56e8a93b2d -> doomemacs/themes@83fd9545c2
edkolev/evil-goggles@08a22058fd -> edkolev/evil-goggles@8f20a16e74
ema2159/centaur-tabs@5860a5c40c -> ema2159/centaur-tabs@f4cef95acb
emacs-lsp/lsp-treemacs@c40a381730 -> emacs-lsp/lsp-treemacs@355e468b7f
seagle0128/doom-modeline@84573ae5e7 -> seagle0128/doom-modeline@ce9899f00a
tarsius/hl-todo@42f744ffb5 -> tarsius/hl-todo@e52285965b

Close: #6228
2022-03-31 21:08:31 +02:00
Henrik Lissner
7246db457c docs: replace doom-source with doom-repo links
I will later use "source" to refer to module sources, so better we avoid
the terminology for now.
2022-02-01 18:55:27 +01:00
Henrik Lissner
88844e9cec docs: simplify internal docs links
Fewer links means less confusion.

- Merge doom-issue and doom-commit links into doom-ref (for auto-linking
  Issue/PR/commit references).
- Merge doom-module-source and doom-docs-source links into doom-source.
- Rename doom-report-issue to doom-report.
- Use '!' as the icon for module issues link.
- Remove doom-repo (replaced with "doom:*" in :lang org module).
- Add doomdir and emacsdir links to :lang org module.
2021-11-21 20:04:28 +01:00
Henrik Lissner
b5a2aa48fe docs(:ui): update READMEs to new format 2021-11-21 20:04:28 +01: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
Henrik Lissner
06392a723f refactor: rename orig-fn arg in advice to fn
A minor tweak to our naming conventions for the first argument of an
:around advice.
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
3aeb0c060f Fix #5195: workspace is killed on magit commit
Due to magit now using server-done instead of server-edit as of
magit/magit@5c02910, which calls server-done-hook, which the workspaces
module has a hook on to kill auto-generated, daemon-spawned frames,
causing workspaces to be prematurely killed when commiting in magit.
2021-07-10 16:32:53 -04:00
Colin Woodbury
42ff369142
SPC TAB N binding (#5173)
* Introduce `SPC TAB N` binding

* Add vanilla Emacs binding
2021-07-09 01:13:13 -04:00
Henrik Lissner
84e1554f14 Fix #5109: startup files not added to main persp 2021-05-28 11:43:40 -04:00
Henrik Lissner
87e209badc Remove vestigial mentions of the :feature category
It was removed long, long ago.
2021-03-06 00:49:36 -05: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
cde7a06bdf
Bump :ui
Alexander-Miller/treemacs@6c00fe7 -> Alexander-Miller/treemacs@389bca1
Bad-ptr/persp-mode.el@c132efe -> Bad-ptr/persp-mode.el@298df11
abo-abo/hydra@112e689 -> abo-abo/hydra@2d55378
dimitri/switch-window@277706b -> dimitri/switch-window@5bba780
ema2159/centaur-tabs@5453317 -> ema2159/centaur-tabs@b172646
emacsorphanage/anzu@7b8688c -> emacsorphanage/anzu@b3d15fb
hlissner/emacs-doom-themes@e55d9a2 -> hlissner/emacs-doom-themes@74ebd77
iqbalansari/emacs-emojify@d886069 -> iqbalansari/emacs-emojify@9fc2277
jaypei/emacs-neotree@5e12716 -> jaypei/emacs-neotree@98fe213
joostkremers/writeroom-mode@8a226a3 -> joostkremers/writeroom-mode@92c47df
seagle0128/doom-modeline@538017a -> seagle0128/doom-modeline@fb34eb5
2020-11-29 14:33:31 -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
Henrik Lissner
5b2b660eeb
Bump :ui
Alexander-Miller/treemacs@027e03b -> Alexander-Miller/treemacs@6c00fe7
Bad-ptr/persp-mode.el@14325c1 -> Bad-ptr/persp-mode.el@c132efe
DarthFennec/highlight-indent-guides@a4f7714 -> DarthFennec/highlight-indent-guides@cf352c8
dimitri/switch-window@8710f63 -> dimitri/switch-window@277706b
ema2159/centaur-tabs@7e0332b -> ema2159/centaur-tabs@5453317
emacs-straight/minimap@d8850be -> emacs-straight/minimap@37a0200
hlissner/emacs-doom-themes@24023de -> hlissner/emacs-doom-themes@d6ee47d
hlissner/emacs-solaire-mode@cd63b67 -> hlissner/emacs-solaire-mode@d751c1c
jabranham/mixed-pitch@1cad46f -> jabranham/mixed-pitch@d305108
seagle0128/doom-modeline@ffbaaee -> seagle0128/doom-modeline@538017a

Fix #4023
2020-10-04 23:25:53 -04:00
Henrik Lissner
ea35023765
Fix prefix arg for +workspace/new 2020-10-04 23:17:50 -04: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
3cf726c07a
Bump :ui workspaces
hlissner/persp-mode.el@14325c1 -> Bad-ptr/persp-mode.el@14325c1
2020-06-24 19:07:03 -04:00
Henrik Lissner
2dd849e5f9
Bump :ui workspaces
Bad-ptr/persp-mode.el@391a7dc -> hlissner/persp-mode.el@14325c1

Until Bad-ptr/persp-mode.el#116 is merged.
2020-06-18 13:55:42 -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
60ca118eb2
Fix #3166 and #3288: over-eager project-root caching
And prevent explicit projectile-project-root interfering with project
switching.
2020-06-04 19:43:20 -04:00
Henrik Lissner
49cdda3e3d
Bump :ui
Alexander-Miller/treemacs@ee1b523 -> Alexander-Miller/treemacs@10c96c9
abo-abo/ace-window@7e0777b -> abo-abo/ace-window@7003c88
hlissner/emacs-doom-themes@8d5ddbb -> hlissner/emacs-doom-themes@254d476
jaypei/emacs-neotree@98fe213 -> jaypei/emacs-neotree@5e12716
joostkremers/writeroom-mode@9b6e55f -> joostkremers/writeroom-mode@7f7acde

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-04-29 23:48:42 -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
7c5903c339
Bump :ui modules
hlissner/emacs-doom-themes@0760079 -> hlissner/emacs-doom-themes@bbb3725
tarsius/hl-todo@5d2ea49 -> tarsius/hl-todo@3bba459
abo-abo/hydra@e3beffd -> abo-abo/hydra@16fa8d1
seagle0128/doom-modeline@0df5585 -> seagle0128/doom-modeline@0642f71
syohex/emacs-anzu@592f8ee -> syohex/emacs-anzu@2e69955
jaypei/emacs-neotree@c2420a4 -> jaypei/emacs-neotree@98fe213
ema2159/centaur-tabs@af50f87 -> ema2159/centaur-tabs@e6bf9f5
Alexander-Miller/treemacs@4eb8eb8 -> Alexander-Miller/treemacs@81b69d9
syohex/emacs-git-gutter-fringe@16226ca -> syohex/emacs-git-gutter-fringe@da19a47
Bad-ptr/persp-mode.el@e330e62 -> Bad-ptr/persp-mode.el@391a7dc
jabranham/mixed-pitch@6090716 -> jabranham/mixed-pitch@734fbdf
2020-03-27 16:18:52 -04:00
Henrik Lissner
031dc5eb1d
Fix +workspaces-switch-project-function not respecting dir local vars 2020-03-10 01:47:34 -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
505ca8712d
Prevent 'not in valid workspace' error on switch project 2020-02-25 14:13:07 -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
8049914e0e
Fix #2591: fix project switch hooks not running
When :ui workspaces was enabled.
2020-02-24 20:47:57 -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
3ab70d78eb
Add +workspace/swap-{left,right} commands
For changing the order of workspaces.

Relevant to #2488, #2487
2020-02-06 15:20:42 -05:00
Henrik Lissner
5eeb362610
Ensure workspace in insertion order
Closes #2488
Fixes #2487
2020-02-06 15:20:42 -05:00
Henrik Lissner
a9402cfb55
Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00