083c81e44b
refactor(mu4e): use doom-call-process to check XDG
...
This is a bit safer than shell-command-to-string, and we also now check
that the command exited successfully, and fall back if not.
2021-09-15 02:43:40 +08:00
7ab825157f
feat(mu4e): make the unicode bullet customizable
...
By popular demand.
Close #5452 .
2021-09-15 02:43:40 +08:00
4fee7cf953
refactor(mu4e): extract part pickers duplication
...
Both the attachment and part selection functions generate string
representations of the parts. No need to do the same thing twice.
2021-09-15 02:43:40 +08:00
b489ae6452
feat(mu4e): show size in part/attachment picker
2021-09-15 02:43:40 +08:00
b05d8e8082
feat(mu4e): use file icons in part/attachment pick
...
Along with some other improvements and refactoring to the part picker
for a generally nicer experience, improved readability, and more
flexibility.
2021-09-15 02:43:40 +08:00
ea53ab9ef1
tweak(mu4e): end default attachment-dir with "/"
...
Having "/" at the end allows for a single backspace to remove the
directory, instead of just the last character - making it easier to
select a different location in a completing read.
2021-09-15 02:43:40 +08:00
6d1e86affc
tweak(mu4e): be consistent with mu4e naming style
2021-09-15 02:43:40 +08:00
c4aba242a3
feat(mu4e): improve part selection experience
...
It's not nice having to think of the index of the MIME part you want to
look at, it's much nicer to get a completing read with information about
those parts.
2021-09-15 02:43:40 +08:00
251705149b
feat(mu4e): reimplement attachment opening command
...
This can be done via 'a', but it's a nice convenience to have,
particularly as it filters out non-attachment MIME parts.
Closes #5027 .
2021-09-15 02:43:39 +08:00
47be8e292e
feat(mu4e): reintroduce A and p view keybindings
...
When viewing a message, in mu4e < 1.6 'A' gives actions that can be
performed on the attachments, and 'p' / 'P' save attachments. The
functions are removed in 1.6, and their nearest replacements are not
bound. I think it makes sense to actually bind them.
2021-09-15 02:43:39 +08:00
f74debdea8
fix(mu4e): remove forced dependency on doom-themes
...
Fix #5340
2021-08-04 01:53:12 -04:00
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
181f17a6f4
fix(mu4e): account for signature change in v1.6
...
Mu4e 1.6 changes the signature of `mu4e-draft-open'. Since we don't care
about the args replace funcall with apply to make sure it's happy no
matter how many args it expected.
2021-08-03 03:36:57 +08:00
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
6915490d21
Mu4e: Better adhere to Doom naming conventions
2021-07-31 01:10:54 +08:00
95971d2dc7
Mu4e: Add xdg-user-dir directory finding method
2021-07-30 23:44:50 +08:00
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
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
59178f2d71
Mu4e: Relocate min-frames-width statement
2021-07-30 01:56:53 +08:00
a39f7b0ced
Mu4e: Don't set gnus/message face, leave to themes
2021-07-30 01:56:53 +08:00
abe2ac28c0
Mu4e: Replace stray setq with defvar and docstring
2021-07-30 01:56:53 +08:00
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
8603a3c7d2
mu4e: also prettify key-val string in main view
2021-07-30 01:56:53 +08:00
bfa888ced3
Mu4e: Remove duplicated alert mode line call
2021-07-30 01:56:53 +08:00
f49c7e6281
Mu4e: set attachment dir to user download folder
2021-07-30 01:56:53 +08:00
d78cdc9a22
Mu4e: Mask mu4e signature when composing org-msg
2021-07-30 01:56:52 +08:00
874f140a67
Mu4e: (Linux only) make audible bell configurable
2021-07-30 01:56:52 +08:00
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
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
b811376403
Mu4e: Org-msg, add missing tab binding
2021-07-30 01:56:52 +08:00
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
611e532d38
Mu4e: Org-msg, convert "> ..." ascii quotations
2021-07-30 01:56:52 +08:00
78cdb80d2c
Mu4e: Org-msg, prioritise HTML over plaintext
2021-07-30 01:56:52 +08:00
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
f7438325d9
Mu4e: Nobody really likes format-flowed
...
We have autofill, that's good enough.
2021-07-30 01:56:52 +08:00
e760ba5540
Mu4e: Blah. I messed up a let scope
2021-07-30 01:56:52 +08:00
2023eca45a
Mu4e: ensure mu4e-compose-org-msg-handle-toggle
...
... is always defined
2021-07-30 01:56:52 +08:00
d945987b93
Mu4e: make attachments possible without pain
2021-07-30 01:56:51 +08:00
eddbda6650
Mu4e: Add stub org-msg-mode in case called by func
2021-07-30 01:56:51 +08:00
e0d2355126
Mu4e: make flycheck happier
2021-07-30 01:56:51 +08:00
ba5dee4a19
Mu4e: apply msg compose advice to more situations
2021-07-30 01:56:51 +08:00
089b4e6b04
Mu4e: make msg compose advice more transparent
...
... to functions that call the original function
2021-07-30 01:56:51 +08:00
3c0df378a6
Mu4e: rename msg refile func, customisable target
2021-07-30 01:56:51 +08:00
b6f5494601
Mu4e: Avoid conflict in mu4e view action name
...
The HTML and PDF views already bind to v/V
2021-07-30 01:56:51 +08:00
8e4f559a52
Mu4e: Correct reference to unbound variable
2021-07-30 01:56:51 +08:00
44c831ce59
Mu4e: Missed a spot when func renamed
2021-07-30 01:56:51 +08:00
f2445eb6a0
Mu4e: Gah. Typos
2021-07-30 01:56:51 +08:00
4561d8c29d
Mu4e: Fix invalid icon hook removal
2021-07-30 01:56:51 +08:00
acab6a3cde
Mu4e: Another variable missing the "+" prefix
2021-07-30 01:56:51 +08:00
6490565404
Mu4e: Add account stripe, and use it by default
2021-07-30 01:56:51 +08:00