Commit graph

10315 commits

Author SHA1 Message Date
TEC
aecdbb17b2
Mu4e: Fix misplaced close paren 2021-07-30 01:56:48 +08:00
TEC
2a79ff2280
Mu4e: Restyle org-msg, with the odd config tweak 2021-07-30 01:56:48 +08:00
TEC
b386ea1f53
Mu4e: Oh, there's an autoload file I can use? 2021-07-30 01:56:48 +08:00
TEC
e3a926946e
Mu4e: try to be pick a good account to send from 2021-07-30 01:56:48 +08:00
TEC
c73e903c0d
Mu4e: Use unicode to prettify the main view 2021-07-30 01:56:48 +08:00
TEC
66557c9fe4
Mu4e: add function for filing email to agenda 2021-07-30 01:56:48 +08:00
TEC
74411c87b8
Mu4e: Reduce unnecessary mu action masking by evil 2021-07-30 01:56:48 +08:00
TEC
0f9765c600
Mu4e: Expand frame to minimum size on header view 2021-07-30 01:56:48 +08:00
TEC
9b9f64d912
Mu4e: Fancify headers
Add accounts name colourisation (with a colourisation function + var of
colours) and change the :recipnum header display while I'm at it. It
doesn't deserve the default amount of space/attention.
2021-07-30 01:56:48 +08:00
TEC
65d743926b
Mu4e: Set header fields to opinionated set
- account is useful if you have multiple accounts ... which is most
  people as far as I can tell
- the date is pretty important IMO
- flags 2-wide due to the extra space, so 6 fits 3 flags
- hey, the subject - that could be of interest

Oh, and since :flags is 6 wide there's no good reason to abbreviate it
The initial space is to make the icon alignment work nicer visually
2021-07-30 01:56:48 +08:00
TEC
9f044717bd
Mu4e: Revamp the header view icons 2021-07-30 01:56:48 +08:00
TEC
3f76578721
Mu4e: Use Gnus HTML rendering 2021-07-30 01:56:48 +08:00
TEC
a29704a194
Mu4e: Feature gate org-msg package 2021-07-30 01:56:48 +08:00
Itai Y. Efrat
0f7800b9d1
Bump org-msg
jeremy-compostella/org-msg@557d490 -> jeremy-compostella/org-msg@2db6725

Reverts the version of org-msg to what it was in the beginning of the
mu4e pr. Also reverts back to using `org-msg-text-plain-alternative` due
to this.
2021-07-30 01:56:48 +08:00
Daanturo
e71d564387 Fix +vertico-file-search when separator is used
instead of the Perl style.
`concat` can't operate on characters.
2021-07-29 09:42:42 +07:00
Henrik Lissner
56107744df
Merge pull request #5302 from holyfight6/format-all-lsp
Changed editor/format lsp feature requirement from textDocument/rangeFormatting to textDocument/formatting
2021-07-28 21:28:19 -04:00
Henrik Lissner
3d0b609c1e
Merge pull request #5303 from daanturo/project-async-command-binding
Add "SPC p &" binding as projectile-run-async-shell-command-in-root
2021-07-28 21:28:08 -04:00
Daanturo
ea10da4459 Fix +lookup/in-docsets's vertico section
Convert the let form to let* to fix `Symbol’s value as variable is void:
sink`.
2021-07-29 08:21:17 +07:00
Henrik Lissner
6065073faa feat(lua): improve fennel support
+ Add fennel-show-documentation handler (on K).
+ Add outline-minor-mode support.
+ Set tab-width to 2 in fennel-mode, for consistency with other lisp
  modes.
2021-07-28 15:26:43 -04: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
823fb275a0 feat(org): expand parents for showNlevels option
#+STARTUP: showNlevels

This tells org to expand N levels at startup, but it only partially
unfolds headings, so show2levels gets you:

  * A [...]
  ** X [...]
  ** Y [...]
  ** Z [...]

Instead of (what I think is expected):

  * A
  Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
  eiusmod tempor incididunt ut labore et dolore magna aliqua.

  ** X [...]
  ** Y [...]
  ** Z [...]

Perhaps this should be upstreamed?
2021-07-28 15:02:14 -04:00
Henrik Lissner
7b274c7dbe feat(org): add native :async support
ob-comint (included with org) added native :async support. It only works
for python currently, but unlike ob-async supports :session for :async
python blocks. In fact, it *requires* :session, so we still fall back to
ob-async in its absence, failing that, it ultimately falls back to
synchronous execution.
2021-07-28 15:00:38 -04:00
Henrik Lissner
c48c01ebab feat(org): set org-num-face & org-num-skip-tags
+ Perhaps a dedicated face would be better, but org-special-keyword will
  do for now.
+ Don't number trees tagged :noexport: or :nonum:.
2021-07-28 14:06:35 -04:00
Henrik Lissner
a3e01fb4fe fix(org): no mixed-pitch/spellcheck on org-footnote 2021-07-28 14:00:02 -04:00
Henrik Lissner
c2e6db27d0 tweak: adopt +vertico as our default backend
This has been a long time coming. Vertico et co turned out to be what I
wanted ivy to be and more.
2021-07-28 13:11:45 -04:00
Henrik Lissner
a6b6b6197b fix(vertico): TAB bound to non-interactive function 2021-07-28 13:11:45 -04:00
Henrik Lissner
e0234dcab1 fix(pass): add vertico support 2021-07-28 13:11:45 -04:00
Henrik Lissner
9d7338d4b8 fix(vertico): add +ivy/jump-list analogue
Fix 'SPC s j' for consult users.
2021-07-28 13:11:36 -04:00
Henrik Lissner
33b646826b fix(vertico): add counsel-file-jump analogue
Fix 'SPC f F' / 'C-c f F' for vertico users
2021-07-28 12:54:23 -04:00
Henrik Lissner
551e5adf81 fix(vertico): unreachable function in autoloads
+ Rename +vertico--embark-target-package to
  +vertico-embark-target-package-fn to conform to naming conventions,
  and because it's not a private function anymore.
+ Fix +vertico-embark-target-package-fn's indentation.

Fix #5208
2021-07-28 12:43:05 -04:00
Henrik Lissner
2d56dd73dc fix(lookup): add vertico support to dash-docs
Close #5298
2021-07-28 12:42:58 -04:00
Henrik Lissner
cd87cc0cc8 refactor: remove redundant org code
org-collect-keywords does the job here. No need to reinvent the wheel.
2021-07-28 12:42:22 -04:00
Henrik Lissner
fd844ea18d fix(vertico): escape perl syntax in selection
+ Escape any special regexp characters in the active selection.
+ Change the async split character (#) to the first of %, @, !, &, or /
  that is absent in the active selection (falling back to %
  otherwise) (since consult doesn't recognize escaping for these
  characters).
2021-07-28 12:37:47 -04:00
Henrik Lissner
ffcfb6d8b3 tweak(vertico): tune consult async timers
For a more responsive UX.
2021-07-28 12:03:42 -04:00
Daanturo
5ed026e1c1 Add "SPC p &" binding
As projectile-run-async-shell-command-in-root
2021-07-27 22:05:32 +07:00
LuoZhipeng
bf488394e9 editor/format lsp feature requirement from textDocument/rangeFormatting to textDocument/formatting. 2021-07-27 17:49:57 +08:00
Henrik Lissner
cf1fa4eeba Fix #5297: don't defer lv incrementally on magit
transient no longer depends on it.
2021-07-26 02:57:33 -04:00
Henrik Lissner
d7a223493e completion/vertico: consult-async-min-input = 2
Legitimate two-letter searches are common enough in codebases that
consult-async-min-input's default value of 3 catches me up more often
than not.
2021-07-26 02:56:46 -04:00
Henrik Lissner
97048e2db4 completion/vertico: lazily activate recentf-mode
This'll do for now.
2021-07-25 18:03:12 -04:00
Henrik Lissner
cac9158b36 completion/vertico: use fd for counsel-find
If available.
2021-07-25 18:02:46 -04:00
Henrik Lissner
617fc7f1cc
Merge pull request #5296 from Wetlize/add-helpful-update-kbd
editor/evil: Add gr keybinding to refresh `helpful` buffers
2021-07-25 17:58:50 -04:00
Henrik Lissner
dd9657d90d Fix SPC f F w/ vertico + consult
Not a perfect analogue to counsel-file-jump, but it's a start (and
better than the previous no-op).
2021-07-25 17:55:59 -04:00
Henrik Lissner
54a556c2fa lang/emacs-lisp: add flycheck-package 2021-07-25 16:37:28 -04:00
Henrik Lissner
b92caaa3c2 completion/vertico: reformatting 2021-07-25 15:47:58 -04:00
Henrik Lissner
cfcf7e0d03 Open embark grep buffers in popup 2021-07-25 15:47:58 -04:00
Henrik Lissner
ce905b9246 Expand latex snippets in org-mode fragments on TAB 2021-07-25 15:41:29 -04:00
Wetlize
e12519d250 editor/evil: Add gr keybinding to refresh helpful buffers 2021-07-25 22:36:01 +03:00