Commit graph

1579 commits

Author SHA1 Message Date
Henrik Lissner
db9106f92c fix(popup,undo): show undo-tree visualizer in popup
But only if undo-tree-visualizer-diff is disabled. If it's enabled,
undo-tree has its own opinions on how to manage the two windows which
don't mesh well with our popup manager, so we leave undo-tree to its
devices.

Fix: #5617
2021-10-20 21:42:13 +02: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
0bb4d4dfcb refactor: switch buffer/frame/window hooks
Emacs 27 introduced a bunch of `window-*-change-functions` hooks,
including `window-selection-change-functions` and
`window-buffer-change-functions`, which handles 98% of the use case for
Doom's `doom-switch-{buffer,window,frame}-hook` hooks, so I've rewritten
them to use them under the hood, which amounts to simpler code and fewer
hacks.
2021-10-10 18:36:46 +02:00
Björn Larsson
b2f27c2b4f
refactor(lookup): move xwidget popup rule (#5598)
Setting the rules explicitly was preventing users from customizing how
xwidget popups should behave, so it was moved to the popup module as a 
global default.
2021-10-10 18:22:13 +02:00
Itai Y. Efrat
e8df74f09b bump: :ui doom
hlissner/emacs-doom-themes@65fb964f36 -> hlissner/emacs-doom-themes@e716ddbb88
hlissner/emacs-solaire-mode@030964f7c6 -> hlissner/emacs-solaire-mode@46408f4a10
2021-10-03 13:33:36 +02:00
Kevin Rauscher
abd07c2793 fix(ligatures): update ligature table for pragmata 0.829 2021-10-03 12:47:12 +02:00
Henrik Lissner
b58fad7eee fix: unresponsive which-key C-h bindings
Since the which-key window didn't have focus, its C-h keybinds were
unpredictably unresponsive, making next/previous-page navigation et co
finnicky. This commit restores the needed focus.

Ref https://www.reddit.com/r/emacs/comments/pwr7va/comment/heydq4g
2021-10-01 11:15:17 +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
da24d7d47d bump: :ui modeline
seagle0128/doom-modeline@ef78fe07cd -> seagle0128/doom-modeline@ffedb34800

Fixes void-variable: flymake--backend-state error on latest commits of
Emacs 28.
2021-09-29 17:57:25 +02:00
Henrik Lissner
b1336e18ce fix(tabs): error while centaur-tabs-mode is off
The hooks on `+doom-dashboard-mode-hook` and `+popup-buffer-mode-hook`
will throw an error if centaur-tabs-mode is disabled, which may be the
case if the user disables it interactively, post-startup.

Fix #5196
2021-09-26 12:07:35 +02:00
Henrik Lissner
8f69474e56 fix(treemacs): remove defunct ace-window advice
This advise has been defunct since f6de662.

Fix #5516
Ref f6de662011
2021-09-24 23:41:42 +02:00
Sheng Yang
07f2d17a11 feat(modeline): add pdf pages to +light modeline 2021-09-23 11:41:09 +02:00
Henrik Lissner
2bc67d8387 bump: :app :checkers :config :emacs :term :tools :ui
Alexander-Miller/treemacs@a6f9e9f1ce -> Alexander-Miller/treemacs@63e2bc207a
Silex/docker.el@9bcefbe54d -> Silex/docker.el@4fc69969b1
akermu/emacs-libvterm@2b1392cb2b -> akermu/emacs-libvterm@2681120b77
bdarcus/bibtex-actions@6e3a194c3a -> bdarcus/bibtex-actions@08c6ca0e5b
dash-docs-el/dash-docs@dafc8fc9f1 -> dash-docs-el/dash-docs@29848b6b34
dgutov/diff-hl@992559f98a -> dgutov/diff-hl@40c89a7b0d
dimitri/switch-window@2801d9b3a9 -> dimitri/switch-window@8d9fe251d8
editorconfig/editorconfig-emacs@e10fa22b13 -> editorconfig/editorconfig-emacs@2ab86dc9a8
ema2159/centaur-tabs@9c7c936e4e -> ema2159/centaur-tabs@8b4249c405
emacs-circe/circe@d6f1fa1864 -> emacs-circe/circe@77e16de3b9
emacs-lsp/lsp-treemacs@905cc74726 -> emacs-lsp/lsp-treemacs@d82df44d63
emacsorphanage/osx-trash@0f1dc052d0 -> emacsorphanage/osx-trash@af74a2055a
emacsorphanage/quickrun@35e91f4b6c -> emacsorphanage/quickrun@78317951cd
flycheck/flycheck@21d52264aa -> flycheck/flycheck@784f184cdd
hlissner/emacs-doom-themes@9e2680b918 -> hlissner/emacs-doom-themes@65fb964f36
https://git.savannah.gnu.org/git/emms.git@6e0aaaf4c559 -> https://git.savannah.gnu.org/git/emms.git@c42fab572846
ideasman42/emacs-spell-fu@1abcb5594e -> ideasman42/emacs-spell-fu@10823ae58f
ideasman42/emacs-undo-fu@e0ad06b5ef -> ideasman42/emacs-undo-fu@34b27c01da
joostkremers/writeroom-mode@b648b34017 -> joostkremers/writeroom-mode@7f4ec92404
kidd/org-gcal.el@4c2616a4f8 -> kidd/org-gcal.el@80e6f9501f
magnars/expand-region.el@4b8322774d -> magnars/expand-region.el@95a773bd8f
millejoh/emacs-ipython-notebook@09af85821e -> millejoh/emacs-ipython-notebook@0600c286bd
mohkale/consult-eglot@a6aeb6fa07 -> mohkale/consult-eglot@28a09cc839
noctuid/link-hint.el@09ba5727d8 -> noctuid/link-hint.el@d3c5bacc9c
rolandwalker/nav-flash@55786c9582 -> rolandwalker/nav-flash@2e31f32085
skeeto/elfeed@243add9e74 -> skeeto/elfeed@162d7d545e
szermatt/emacs-bash-completion@65e54c6f9c -> szermatt/emacs-bash-completion@c5eaeed156
tarsius/hl-todo@5ac0076cfe -> tarsius/hl-todo@42f744ffb5
tecosaur/emacs-everywhere@64ba2e3f30 -> tecosaur/emacs-everywhere@da88fa2d04
tkf/emacs-request@f3a5b4352e -> tkf/emacs-request@2b68b3ca54
tmalsburg/helm-bibtex@a0d32ab167 -> tmalsburg/helm-bibtex@b85662081d
yoshiki/yaml-mode@3a57058468 -> yoshiki/yaml-mode@63b637f846
yqrashawn/fd-dired@c223aee30a -> yqrashawn/fd-dired@458464771b
2021-09-15 17:47:17 +02:00
Henrik Lissner
225f01d2f4 bump: :ui modeline
seagle0128/doom-modeline@06606e0b8b -> seagle0128/doom-modeline@ef78fe07cd

- Fixes incorrect VCS state in remote files (#5408)
- Fixes icons in TUI modeline (#5380)

Close #5408
Close #5380
Fix #3514
2021-09-14 14:30:05 +02:00
TEC
f19a7483d2 feat(doom-quit): holy hercules! more portal lines 2021-09-11 18:38:23 +02:00
Henrik Lissner
c44aacb319 fix(rss): disable ligatures in elfeed list buffers
Ligatures were interfering with font-lock in elfeed search/show buffers.

Fix #3391
2021-09-11 14:26:45 +02:00
Henrik Lissner
c298dc3ac7 refactor(doom-quit): distinguish flavor text in quit prompts
Makes it easier to tell apart flavor text from the actual prompt.
2021-08-16 15:01:22 -04:00
Kiran Shila
782de48e0b
feat(doom-quit): add message from Sid Meier's Alpha Centauri
I loved the idea, so I added it :)

Fix #5373
Close #5375
2021-08-14 21:50:50 -04: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
Henrik Lissner
426369b4d3 revert: feat(popup): switch-to-buffer-obey-display-actions = t
As suspected, there were edge cases. Lots of sporadic window misbehavior
since I turned this on, so I'm reverting this.

Revert df520dfd4
2021-07-31 19:41:17 -04:00
Henrik Lissner
348ff3f65d fix(popup): overaggressive ignoring of popup rules
Would cause errors in some legitimate cases where we want
display-buffer-alist respected.
2021-07-31 04:35:49 -04:00
Itai Y. Efrat
099a4ac8ff bump: :ui doom
hlissner/emacs-doom-themes@5221b06 -> hlissner/emacs-doom-themes@9e2680b
2021-07-31 10:42:00 +03:00
Henrik Lissner
df520dfd44 feat(popup): switch-to-buffer-obey-display-actions = t
This should give the popup module much more coverage, but *may* also
cause edge cases. Testing needed!
2021-07-28 15:23:56 -04:00
Henrik Lissner
4d862d7770 fix(popup): org-edit-src breaks if forcibly killed
Invoke org-edit-src and an edit buffer is displayed for the src block at
point. If that popup is killed incorrectly, it leaves the original org
buffer (specifically, the src block you were editing) in a half-broken
state; forever waiting for you to finish editing that block.

This can happen when the edit window is a popup window and you switch
workspaces (which temporarily deletes popup windows), so clean up those
popups properly before switching.
2021-07-28 15:16:20 -04:00
Henrik Lissner
d189132be1 fix(org): oversized org-todo popup
In the presence of multiple, horizontal splits, the org-todo popup
consumes ~50% of the vertical real-estate of its northern neighbor when
created. This is due to an edge case with some failsafe code somewhere
down org-fit-window-to-buffer's stack. This fix ensures the popup is
always a sane size.

And by enabling +popup-buffer-mode in it, we ensure it will be treated
as a popup (e.g. solaire-mode will be active in it, no modeline, etc).
2021-07-28 15:15:56 -04:00
Henrik Lissner
2400e8b275 fix(popup): prioritize local actions over popup rules
Otherwise, commands like switch-to-buffer-other-{tab,window,frame} don't
do as they promise and revert to our global popup rules.

Fix #5301
2021-07-28 15:12:37 -04:00
Henrik Lissner
a3e01fb4fe fix(org): no mixed-pitch/spellcheck on org-footnote 2021-07-28 14:00:02 -04:00
Henrik Lissner
cfcf7e0d03 Open embark grep buffers in popup 2021-07-25 15:47:58 -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
lguenth
813a60ef6d Implemented the requested changes 2021-07-13 11:20:40 +02:00
lguenth
4af3f4c435 Update ui/deft README to new format 2021-07-12 19:48:24 +02:00
Henrik Lissner
55c9cde6ee Bump :ui doom
hlissner/emacs-solaire-mode@731552b -> hlissner/emacs-solaire-mode@030964f

Fixes solaire-mode not activating correctly due to missing autoload.
2021-07-11 17:52:08 -04:00
Henrik Lissner
ab334559f5 Bump :ui nav-flash
rolandwalker/nav-flash@d763148 -> rolandwalker/nav-flash@55786c9
2021-07-10 22:35:10 -04: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
Henrik Lissner
b886b9a635
Merge pull request #5251 from iyefrat/emacs27
Remove remaining `Emacs27+` checks
2021-07-10 10:29:07 -04:00
Itai Y. Efrat
34fae1c01c Remove remaining Emacs27+ checks
- Remove remaining `EMACS27+` checks, since the whole codebase is
  assumed to run at version 27 or above now
- Remove `EMACS27+` definition since it's no longer needed
2021-07-10 16:03:41 +03:00
Henrik Lissner
29460d205e Bump :ui
Alexander-Miller/treemacs@1a396fb -> Alexander-Miller/treemacs@a6f9e9f
emacs-lsp/lsp-treemacs@b078687 -> emacs-lsp/lsp-treemacs@905cc74
hlissner/emacs-doom-themes@b2c0ea0 -> hlissner/emacs-doom-themes@5221b06
hlissner/emacs-solaire-mode@2298fd8 -> hlissner/emacs-solaire-mode@731552b
jrblevin/deft@c4af448 -> jrblevin/deft@28be94d
seagle0128/doom-modeline@0466d88 -> seagle0128/doom-modeline@06606e0
tarsius/hl-todo@57378bd -> tarsius/hl-todo@5ac0076

Fixes crashes/freezes when previewing themes with minibuffer
plugins (like ivy, helm, vertico, etc).
2021-07-09 17:42:18 -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
80c32eaa89 Fix #5176 (again): wrong interactive arg to gt/gT commands 2021-07-08 18:41:48 -04:00
Henrik Lissner
1a96f5b002 Fix #5176: don't prompt on gt/gT (tab switch) 2021-07-08 15:24:18 -04:00
Henrik Lissner
044a1a5f2b Drop Emacs 26.x support
Emacs 27.x has been the stable version of Emacs for nearly a year, and
introduces a litany of bugfixes, performance, and quality-of-life
improvements that significantly reduce Doom's maintenance burden (like
XDG support, early-init.el, image manipulation without imagemagick, a
native JSON library, harfbuzz support, pdumper, and others).

With so many big changes on Doom's horizon, I like having one less (big)
thing to worry about.

Also reverts bb677cf7a (#5232) as it is no longer needed.
2021-07-06 02:31:52 -04:00
Henrik Lissner
335b6f9abb Bump :ui doom
hlissner/emacs-doom-themes@13d2377 -> hlissner/emacs-doom-themes@b2c0ea0
hlissner/emacs-solaire-mode@186f97d -> hlissner/emacs-solaire-mode@2298fd8
2021-06-07 21:05:25 -04:00
Henrik Lissner
50e71ce765 Revert 54067455e: fix ligatures
To fix ligatures, at least until I get around to merging #5082
2021-06-06 17:36:23 -04:00
Henrik Lissner
ea80826fd2 gt/gT = add goto Nth tab behavior
As it does in vim.
2021-06-05 14:24:17 -04:00
Henrik Lissner
dd1f7713ea Fix 'invalid face attribute :background' warnings
And 'invalid face attribute nil' warnings too.
2021-05-30 12:20:58 -04:00
Henrik Lissner
84e1554f14 Fix #5109: startup files not added to main persp 2021-05-28 11:43:40 -04:00
Henrik Lissner
9bd0be17e3 Enable solaire-mode in popups, transient, which-key 2021-05-26 16:19:07 -04:00
Jeetaditya Chatterjee
1eb3da9fcb
doc: adding treemacs readme (#4797)
* fix: rebase readme too combine lsp settings

* doc:finish Sections of the README (now with +lsp!)

* fix: punctuation and wording.

Sentences should now be punctuated and the sentence at the start of
configuration now is a little easier to understand IMO

* Revert "fix: punctuation and wording."

This reverts commit b0155b02b0dd83519e192ba6951dc5eecee8130a.

* Revert "Revert "fix: punctuation and wording.""

This reverts commit 3933660c9d1c2074ac303bd5db472f315676b3dc.
2021-05-24 13:47:20 -04:00
Henrik Lissner
5da0408e4f Add :T for treemacs state keybinds in map! 2021-05-23 22:09:07 -04:00