Commit graph

10828 commits

Author SHA1 Message Date
Itai Y. Efrat
b7901231d4 feat(vertico): add <leader> s B binding 2021-07-31 10:45:00 +03:00
Itai Y. Efrat
9e31d0dac0 fix(vertico): <leader> c J binding
- needs to be `cmd!!` for the prefix argument
- use descriptive quoted symbol instead of `'(4)` for prefix arg
2021-07-31 10:44:00 +03:00
Itai Y. Efrat
4c3c027a96 feat(vertico): better crm interface 2021-07-31 10:43:00 +03: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
Itai Y. Efrat
d6fba19586 bump: :completion vertico
minad/consult@28f9ba8 -> minad/consult@69bbd21
minad/marginalia@a3a8edb -> minad/marginalia@1123544
minad/vertico@4a90297 -> minad/vertico@9de6709
oantolin/embark@be03ce9 -> oantolin/embark@1a7e6b5
iyefrat/all-the-icons-completion@24cdb3b -> iyefrat/all-the-icons-completion@d1d4b2f

update embark indicator to new format
2021-07-31 10:41:00 +03:00
Henrik Lissner
7f8cba9ba0
Merge pull request #3971 from tecosaur/m4e4u
Mu4e Module Revamp
2021-07-31 00:24:45 -04:00
TEC
896f7dd3df
Mu4e: Select reply account when multiple addrs set
Modify +mu4e-set-from-address-h to account for messages with multiple
to/from headers by finding the intersection between the headers and
registered accounts.

While I'm at it, there was a rather silly typo in the when-let line
that's been corrected.
2021-07-31 01:32:57 +08:00
TEC
6b690547b0
Mu4e: Add myself (tecosaur) as module maintainer 2021-07-31 01:22:21 +08:00
TEC
3fd6b2df1d
Mu4e: Ensure composing buffers are writable
This should always be the case, yet it doesn't seem like it always is.
Just to be safe we will ensure that the buffer is not read-only.
2021-07-31 01:13:43 +08:00
TEC
6915490d21
Mu4e: Better adhere to Doom naming conventions 2021-07-31 01:10:54 +08:00
Liam Hupfer
ffaed9f5d7
Mu4e: Fix typos 2021-07-31 01:10:14 +08:00
Liam Hupfer
2fd89a7eca
Mu4e: More contextual +mu4e-set-from-address-h
This hook should only be used when users define email aliases, or no
contexts are defined (in which case the list of personal addresses
should be used). Otherwise, the `:match-func` contexts feature is
sufficient.
2021-07-31 01:07:52 +08:00
Liam Hupfer
a75dea6281
Mu4e: Ignore case when matching mu4e context
This allows users to have different casing in their mu4e context names
and the corresponding directories. Since mu4e's context switching
automatically selects the letter from the context name, this allows
users to set two contexts starting with the same letter to uppercase and
lowercase variants, while leaving the directories lowercase.
2021-07-30 23:44:59 +08:00
Liam Hupfer
3d54471b2a
Mu4e: Fix setting default context
The default-p argument to `set-email-account!` now works as intended.
mu4e checks the first context on startup to determine the default and
uses functions for that, so we can't really get around it by setting
the bare mu4e~context-current variable.
2021-07-30 23:44:56 +08:00
Liam Hupfer
95971d2dc7
Mu4e: Add xdg-user-dir directory finding method 2021-07-30 23:44:50 +08:00
andrewsuperlegit
b633e920cc
Fixed the keybind for fold/unfold all
The keybinding for fold all and unfold all was wrong (was missing a C-f)
2021-07-29 18:46:08 -05:00
TEC
2efeaa3bf2
Mu4e: re-indent advice.el and fix docstring typo 2021-07-30 01:56:54 +08:00
TEC
7e1f7915c0
Mu4e: use file when imagemagik not present
We will also use this as an opportunity to clean up the use of
+org-msg-img-scale-css.
2021-07-30 01:56:54 +08:00
TEC
fe5e410b74
Mu4e: thread folding is too buggy, remove for now
I bumped to get bugfixes and got more bugs. If the situation improves in
future maybe we could add this back in.
2021-07-30 01:56:53 +08:00
TEC
6fae5ea317
Mu4e: extend org-msg application to plaintext
Recently org-msg gained the capability to change which exports/mime
types are sent based on the email, and a new utf-8 type. We will make
use of both of these additions.
2021-07-30 01:56:53 +08:00
TEC
59178f2d71
Mu4e: Relocate min-frames-width statement 2021-07-30 01:56:53 +08:00
TEC
a39f7b0ced
Mu4e: Don't set gnus/message face, leave to themes 2021-07-30 01:56:53 +08:00
TEC
a4db56be2f
Mu4e: Confirm that lockfile pid is an emacs proc
Or else another app can be given the same PID and we'll be complaining
another Emacs process is using mu4e when that simply isn't true.
2021-07-30 01:56:53 +08:00
TEC
abe2ac28c0
Mu4e: Replace stray setq with defvar and docstring 2021-07-30 01:56:53 +08:00
TEC
b20b233986
Mu4e: Avoid making assumptions about defuns result
It's not guaranteed that `defun' will return the new function symbol,
but add-hook! works around this.
2021-07-30 01:56:53 +08:00
TEC
921157f8d7
Mu4e: Remove redundant check in cond statement
The `t' case is already handled in the preceding condition.
2021-07-30 01:56:53 +08:00
TEC
e5c8cb747b
Mu4e: Remove spurious autoloads
None of these functions are called outside the file they're defined in.
2021-07-30 01:56:53 +08:00
TEC
695a670785
Bump mu4e-thread-folding
rougier/mu4e-thread-folding@56bb25a -> rougier/mu4e-thread-folding@c691558

It would be good to get some bug fixes.
2021-07-30 01:56:53 +08:00
TEC
a72d533a24
Mu4e: Fix inline LaTeX image scaling
The structure of doom-call-process's return had changed.
2021-07-30 01:56:53 +08:00
TEC
c9e816e995
Bump org-msg
jeremy-compostella/org-msg@b9b5b4e -> jeremy-compostella/org-msg@4c92c62

Update to v3.8
2021-07-30 01:56:53 +08:00
TEC
8603a3c7d2
mu4e: also prettify key-val string in main view 2021-07-30 01:56:53 +08:00
TEC
3778862a79
mu4e: lock file may not be created by file watcher
On some OS implementations (e.g. BSD uses kqueue),
`file-notify-add-watch' might not create the file if it doesn't exist.
This patch fixes that error. Arguably, emacs lisp should ensure the same
behaviour exists across each implementation.
2021-07-30 01:56:53 +08:00
TEC
bfa888ced3
Mu4e: Remove duplicated alert mode line call 2021-07-30 01:56:53 +08:00
TEC
fadc5f1b35
Mu4e: Add header line to dired buff when attaching 2021-07-30 01:56:53 +08:00
TEC
e881ced143
Mu4e: Improve the +mu4e/attach-files docstring 2021-07-30 01:56:53 +08:00
TEC
f49c7e6281
Mu4e: set attachment dir to user download folder 2021-07-30 01:56:53 +08:00
TEC
2e49b16a6d
Mu4e: When only one personal addr is set, use it
No need to prompt when there's a single entry in +mu4e-personal-addresses.
2021-07-30 01:56:52 +08:00
TEC
d78cdc9a22
Mu4e: Mask mu4e signature when composing org-msg 2021-07-30 01:56:52 +08:00
TEC
e76dcb328a
Mu4e: lock file, use temp file var instead of /tmp 2021-07-30 01:56:52 +08:00
TEC
9e0c77eeb3
Bump org-msg
jeremy-compostella/org-msg@89e746c -> jeremy-compostella/org-msg@b9b5b4e

Update to v3.4
2021-07-30 01:56:52 +08:00
TEC
eebe2859cf
Mu4e: Replace shell-commands with call-process
Shell-process actually initialises a shell, which is completely
unnecessary here.
2021-07-30 01:56:52 +08:00
TEC
874f140a67
Mu4e: (Linux only) make audible bell configurable 2021-07-30 01:56:52 +08:00
TEC
32b07003fb
Mu4e: start using thread folding package
It does what it says on the tin, and mu4e doesn't (currently) do this.
2021-07-30 01:56:52 +08:00
TEC
16fd26e5ba
Bump org-msg
jeremy-compostella/org-msg@bb378c79 -> jeremy-compostella/org-msg@89e746c

Update to v3.3 of org-msg introduces ">" quotes and styling.
The styling has been copied over, but the palette tweaked.
2021-07-30 01:56:52 +08:00
TEC
b811376403
Mu4e: Org-msg, add missing tab binding 2021-07-30 01:56:52 +08:00
TEC
6af30b5d68
Mu4e: Handle no-name from case
As seen in
https://www.djcbsoftware.nl/code/mu/mu4e/Message-functions.html, the
name can be nil, but an address will still be present.
2021-07-30 01:56:52 +08:00
TEC
2307ae5644
Mu4e: More robust Gmail account checking
Emails sent to an @gmail.com account may have been forwarded to a non-gmail mailbox.
Thus the current approach is over-eager.

Only checking @gmail on send, and then matching a user's maildir (not email) with
received messages is a more robust approach.

To accommodate this we switch `+mu4e-gmail-addresses' out for `+mu4e-gmail-accounts'.

Along the way `mu4e-index-cleanup' and `mu4e-index-lazy-check' customisations were
moved into the readme as a recommendation for Gmail-only users, to avoid causing
adverse effects for users who have non-gmail accounts too.
2021-07-30 01:56:52 +08:00
TEC
611e532d38
Mu4e: Org-msg, convert "> ..." ascii quotations 2021-07-30 01:56:52 +08:00
TEC
78cdb80d2c
Mu4e: Org-msg, prioritise HTML over plaintext 2021-07-30 01:56:52 +08:00
TEC
39442daeb2
Bump org-msg
jeremy-compostella/org-msg@2db6725 -> jeremy-compostella/org-msg@bb378c79

Also update `org-msg-text-plain-alternative` to new format
2021-07-30 01:56:52 +08:00