Commit graph

10828 commits

Author SHA1 Message Date
TEC
18ca0d4e4e
Mu4e: Improve reply face colouring 2021-07-30 01:56:49 +08:00
TEC
a94832429a
Mu4e: tweak flag bookmark, keymap, mu4e:main end 2021-07-30 01:56:49 +08:00
TEC
d926ecd274
Mu4e: rename my-mu4e-* function to +mu4e-* 2021-07-30 01:56:49 +08:00
TEC
79f8107e43
Mu4e: have =mu4e replace an empty workspace 2021-07-30 01:56:49 +08:00
TEC
82c99b78f2
Mu4e: add missing header colourising function 2021-07-30 01:56:49 +08:00
TEC
3179942dfb
Mu4e: Make the delete action trash for gmail 2021-07-30 01:56:49 +08:00
TEC
f7a2479064
Mu4e: Add nuance to Gmail-specific behaviour
for the non-gmail accounts out there
2021-07-30 01:56:49 +08:00
TEC
940177613e
Mu4e: Tidy and tweak default settings 2021-07-30 01:56:49 +08:00
TEC
522c2e0dda
Mu4e: add some basic doctor checks 2021-07-30 01:56:49 +08:00
TEC
a80ef01b88
Mu4e: improve LaTeX fragment size check
We also don't need to tell org-msg to wait for Org apparently
2021-07-30 01:56:49 +08:00
TEC
d4c5c6245f
Mu4e: Tidy up org-msg use-package statement
reduce unnecessary nesting
2021-07-30 01:56:49 +08:00
TEC
a974db04c4
Mu4e: further improve org-msg
- stylistic tweaks
- make accent colour easily user-settable
- scale LaTeX fragments appropriately
- make it easy to toggle org-msg-mode for one-off messages
2021-07-30 01:56:49 +08:00
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
Daanturo
829a44f79c Quickly close the lsp-signature popup by ESC*
Add to `doom-escape-hook` a function that closes the displayed LSP
signature.
2021-07-29 08:59:48 +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