Commit graph

249 commits

Author SHA1 Message Date
Henrik Lissner
b0e084e416
merge: pull request #5353 from iyefrat/vertico-things
Improve `:completion vertico`
2021-09-15 01:00:04 +02:00
TEC
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
TEC
7ab825157f
feat(mu4e): make the unicode bullet customizable
By popular demand.

Close #5452.
2021-09-15 02:43:40 +08:00
TEC
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
TEC
b489ae6452
feat(mu4e): show size in part/attachment picker 2021-09-15 02:43:40 +08:00
TEC
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
TEC
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
TEC
6d1e86affc
tweak(mu4e): be consistent with mu4e naming style 2021-09-15 02:43:40 +08:00
TEC
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
TEC
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
TEC
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
Itai Y. Efrat
3112b9a6d6 bump: consult-notmuch
https://codeberg.org/jao/consult-notmuch.git@67cf219fcce2 -> https://codeberg.org/jao/consult-notmuch.git@a5133b9e1f19

Needed for consult-notmuch to work with the new async consult api

Fix: #5369
2021-09-14 20:44:55 +03:00
Henrik Lissner
09ead843ae bump: :email mu4e
jeremy-compostella/org-msg@4c92c627b6 -> jeremy-compostella/org-msg@599e8b056c

- jeremy-compostella/org-msg#118 adds support for attachments from
  dired (#5307).

Close #5307
2021-09-14 14:30:06 +02:00
Paul A. Patience
1467c075f7
fix(wanderlust): start wl-summary-mode in emacs state (#5266) 2021-09-14 14:29:41 +02:00
Itai Y. Efrat
777783c144 docs(mu4e): fix msmtp config in readme
- requires being in an (after! mu4e ...) to work
- minor fixes
2021-09-04 16:09:26 +03:00
Itai Y. Efrat
891628379d docs(mu4e): minor readme fixes
- use links instead of ~code~ markup for early project mentions
- fix install matrix
2021-08-06 03:16:52 -04:00
Itai Y. Efrat
78a75608bd docs(notmuch): fix links in readme 2021-08-06 03:16:52 -04:00
Henrik Lissner
f74debdea8 fix(mu4e): remove forced dependency on doom-themes
Fix #5340
2021-08-04 01:53:12 -04:00
Henrik Lissner
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
Ralf Beckmann
0df8d78bd7 docs(mu4e): explain how to fetch/sync mail in other ways
Add explanation on how to use other backends that are neither mbsync
nor offlineimap.
2021-08-03 23:04:38 -04:00
Ralf Beckmann
2fa7bee91f docs(mu4e): remove reference to non-existing variable
The variable +mu4e-mu4e-mail-path is not present in the codebase.
2021-08-03 23:04:38 -04:00
Ralf Beckmann
451afea47b docs(mu4e): clarify impact of user-full-name
The variable is not really required. It seems to be only used by mu4e
to determine the contents of the FROM field when composing mail.
2021-08-03 23:04:38 -04:00
TEC
eaa392c00b
docs(mu4e): fix a typo (errors, plural)
Someone politely requested I add this to my PR on Discord ... why not.
2021-08-03 10:03:10 +08:00
TEC
61126c6bb4
fix(mu4e): improve mu-lock compatability with mac
On mac process args aren't defined, but comm is. Since comm also works
on Linux, we now check for that instead, accounting for a potential
capitalisation difference.
2021-08-03 03:36:57 +08:00
TEC
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
Ellis Kenyő
425f6a1264
fix(mu4e): remove autoload cookie
Autoload cookie was not working as expected

Close #5331
2021-08-02 03:55:13 -04:00
Ellis Kenyő
89bb96c304
fix(mu4e): allow mu4e to be started early
mu4e complains about missing file-notify-*-watch functions if loaded too early.

Close #5327
2021-08-01 14:54:35 -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
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