Commit Graph

208 Commits

Author SHA1 Message Date
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
TEC
6c2d68ea17 Mu4e: ensure that attachment isn't mixed with text
Ensure that mail-add-attachment is called on a blank line at the end of
the buffer.
2021-07-30 01:56:52 +08:00
TEC
f7438325d9 Mu4e: Nobody really likes format-flowed
We have autofill, that's good enough.
2021-07-30 01:56:52 +08:00
TEC
941d3e3608 Mu4e: Remove outdated content 2021-07-30 01:56:52 +08:00
TEC
e760ba5540 Mu4e: Blah. I messed up a let scope 2021-07-30 01:56:52 +08:00
TEC
2023eca45a Mu4e: ensure mu4e-compose-org-msg-handle-toggle
... is always defined
2021-07-30 01:56:52 +08:00
TEC
d945987b93 Mu4e: make attachments possible without pain 2021-07-30 01:56:51 +08:00
TEC
eddbda6650 Mu4e: Add stub org-msg-mode in case called by func 2021-07-30 01:56:51 +08:00
TEC
e0d2355126 Mu4e: make flycheck happier 2021-07-30 01:56:51 +08:00
TEC
ba5dee4a19 Mu4e: apply msg compose advice to more situations 2021-07-30 01:56:51 +08:00
TEC
089b4e6b04 Mu4e: make msg compose advice more transparent
... to functions that call the original function
2021-07-30 01:56:51 +08:00
TEC
3c0df378a6 Mu4e: rename msg refile func, customisable target 2021-07-30 01:56:51 +08:00
TEC
16b4a31bf9 Mu4e: Recommend mbsync, and describe msmtp setup 2021-07-30 01:56:51 +08:00
TEC
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
TEC
8e4f559a52 Mu4e: Correct reference to unbound variable 2021-07-30 01:56:51 +08:00
TEC
44c831ce59 Mu4e: Missed a spot when func renamed 2021-07-30 01:56:51 +08:00
TEC
f2445eb6a0 Mu4e: Gah. Typos 2021-07-30 01:56:51 +08:00
TEC
4561d8c29d Mu4e: Fix invalid icon hook removal 2021-07-30 01:56:51 +08:00
TEC
acab6a3cde Mu4e: Another variable missing the "+" prefix 2021-07-30 01:56:51 +08:00
TEC
42ee991f4a Mu4e: Remove (now-)unused header colourise func 2021-07-30 01:56:51 +08:00
TEC
6490565404 Mu4e: Add account stripe, and use it by default 2021-07-30 01:56:51 +08:00
TEC
7cf91ff61d Mu4e: Further americanisation (colour → color) 2021-07-30 01:56:51 +08:00