Commit graph

1356 commits

Author SHA1 Message Date
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
Henrik Lissner
3ba364ae10 Minor refactoring across the board 2021-05-23 22:09:07 -04:00
Henrik Lissner
54067455e7 Fix #5053: unwanted inline ligature composition 2021-05-22 22:59:55 -04:00
Henrik Lissner
5abba3642b Bump :ui
Alexander-Miller/treemacs@f132498 -> Alexander-Miller/treemacs@1a396fb
ema2159/centaur-tabs@51f28d0 -> ema2159/centaur-tabs@9c7c936
emacs-lsp/lsp-treemacs@192c8f5 -> emacs-lsp/lsp-treemacs@b078687
hlissner/emacs-doom-themes@fe8eac3 -> hlissner/emacs-doom-themes@13d2377
seagle0128/doom-modeline@e898c0d -> seagle0128/doom-modeline@0466d88
tarsius/hl-todo@4d18ccd -> tarsius/hl-todo@57378bd
2021-05-22 20:03:30 -04:00
Henrik Lissner
6e296f3da2 Reload dashboard when loading theme
To fix dashboard banner background mismatches due to solaire-mode.
2021-05-22 19:57:41 -04:00
Björn Larsson
90d1a59cce Add vi-tilde-fringe documentation 2021-05-22 18:35:46 +02:00
Henrik Lissner
f015a5ec7a Bump :ui doom
hlissner/emacs-doom-themes@9996e1b -> hlissner/emacs-doom-themes@fe8eac3

To include hotfix for breaking change.
2021-05-22 00:54:06 -04:00
Henrik Lissner
cd6d33c4a3 Bump :ui doom
hlissner/emacs-doom-themes@4d24728 -> hlissner/emacs-doom-themes@9996e1b

Includes a lot of bugfixes (and to adapt to changes in solaire-mode).
2021-05-22 00:13:03 -04:00
Henrik Lissner
a4d2e873ab Bump :ui doom
hlissner/emacs-doom-themes@4199e74 -> hlissner/emacs-doom-themes@4d24728
hlissner/emacs-solaire-mode@9d143db -> hlissner/emacs-solaire-mode@186f97d

Rewrite solaire-mode usage to adapt to upstream changes. This will yield
a new class of edge cases, but I'll tackle those as I encounter them.

Closes #5063
2021-05-21 23:13:14 -04:00
Henrik Lissner
059a70b74b Enable hl-todo-mode in yaml-mode
Since it isn't derived from prog-mode and has a comment syntax.
2021-05-16 21:16:16 -04:00
Henrik Lissner
05866ce30f ui/modeline: don't show encoding unless nondefault 2021-05-16 21:15:55 -04:00
Eric Dallo
59aabaead3
:ui modeline: Fix missing arg to function 2021-05-16 00:11:12 -03:00
Henrik Lissner
7383ed4dc1
Merge pull request #3307 from ericdallo/add-lsp-modeline
Add lsp and repl to +light modeline
2021-05-15 17:54:53 -04:00
Henrik Lissner
b9e0ee2954 Revert 5c46a5e68 & fix treemacs-evil load order
I misunderstood the purpose of the new keybinds. They are actually fine.

Also fixes the config load order for treemacs-evil caused by weird
use-package + :after semantics.

Closes #5056
2021-05-15 17:33:37 -04:00
Eric Dallo
c224e2e771
Move to global-mode-string 2021-05-15 18:30:59 -03:00
Eric Dallo
7ddfb6271d
Add repl modeline 2021-05-15 18:26:37 -03:00
Eric Dallo
8e56aa8706
Add lsp modeline 2021-05-15 18:26:26 -03:00
Henrik Lissner
a95abedc0e
Merge pull request #5023 from Grazfather/lispy-goggles
ophints: Add hooks for lispyville
2021-05-15 16:58:14 -04:00
Henrik Lissner
5c46a5e680 ui/treemacs: restore old h/l behavior
Fixes #5056
2021-05-15 14:09:08 -04:00
Henrik Lissner
3c19d9528e Bump :ui nav-flash
rolandwalker/nav-flash@dbb9121 -> rolandwalker/nav-flash@d763148

To include hotfix: rolandwalker/nav-flash#6
2021-05-10 16:37:03 -04:00
Grazfather
0d5ed1e257 ophints: Add hooks for lispyville
Because lispyville (depending on how you configure it) replaces some
evil-mode mappings with its own function, we lose the indication of our
deletions/yanks/etc. This change adds all lispyville functions to the
evil-goggles--commands list.
2021-05-10 12:58:46 -04:00
skyler544
eab954bdfc
Add another potential fix for icon misalignment in doom-modeline (#5017)
I've added the code I used to finally fix modeline icon misalignment
problems in my own setup as a suggestion in the Troubleshooting section.
2021-05-10 04:56:05 -04:00
Henrik Lissner
f989bf60f0 Rewrite how themes are loaded, and fonts reloaded
A follow-up to 578dddd, which wasn't sufficient.

Fixes #5000 (again)
2021-05-08 00:42:06 -04:00
Henrik Lissner
075e66f4d7 Fix #4991: writeroom-mode + mixed-pitch not remapping fonts
mixed-pitch-mode was toggled *before* text-scale-mode was.  They both
preform face remapping, but use the same strategy to accomplish it, so
the less complex mode should go first. In this case, that's text-scale.
2021-05-07 02:32:51 -04:00