Dirk-Jan C. Binnema
b672f6bc1d
mu4e: avoid trouble with truncate-string-to-width
...
Treatment of the 'ellipsis' parameter is a bit unclear, gave errors in
some cases.
Fixes #1716
2020-06-03 21:24:14 +03:00
Dirk-Jan C. Binnema
cfb59e36b0
mu4e-org: add missing defs when linking query
...
Fixes : #1714 .
2020-06-01 09:55:24 +03:00
Dirk-Jan C. Binnema
73be015cd0
fixup: mu4e: some cleanups / bytecomp warning fixes
2020-05-28 10:21:16 +03:00
Philip K
29ad71fdf2
Marked mu4e-compose-context-policy type as greedy
2020-05-27 22:54:15 +03:00
Philip K
bd87dcfd9b
Removed default case in mu4e-compose-crypto-message
2020-05-27 22:54:15 +03:00
Dirk-Jan C. Binnema
336cad35e6
Merged crypto-policy configuration into one variable
2020-05-27 22:53:41 +03:00
Dirk-Jan C. Binnema
c9a9d4be95
mu4e: handle compose-mail when mu4e is not yet running
...
We were trying to start mu4e asynchronously, then compose the mail but
this doesn't quite work the way some external packages expected, and
this would fail.
Fixes #1710
Fixes #1698
2020-05-27 22:34:43 +03:00
Dirk-Jan C. Binnema
454e8d9a3a
mu4e: allow for hiding fully read maildirs/bookmarks
...
Add a variable mu4e-main-hide-fully-read to control whether to _not_ show
maildir / bookmark links if they're fully read.
2020-05-27 18:56:23 +03:00
Dirk-Jan C. Binnema
7900a4d050
mu4e-vars: update mu4e-maildir-shortcuts docs
...
Document :hide / :hide-unread
2020-05-26 23:12:26 +03:00
Sean Farley
3ea1784aad
mu4e-main: use `string-width' over `length'
...
Better for utf-8 but still difficult to align due to non-monospaced
characters.
2020-05-26 23:12:26 +03:00
Sean Farley
d68c0fd5b5
mu4e-main: decode strings as utf-8
...
This fixes both bookmarks and maildirs with non-ASCII names. Thanks to
@scturtle for pointing this out!
2020-05-26 23:12:26 +03:00
Sean Farley
9f1e231824
mu4e-main: fix off-by-one error in `mu4e~main-action-str'
...
For bookmarks, which specify the key combo instead of using the first
character of the string had an off-by-one error in the mouse
highlighting since it wasn't consuming that first letter.
2020-05-26 23:12:26 +03:00
Sean Farley
5110b02349
mu4e-main: use longest bookmark/mailder count in bookmarks section
2020-05-26 23:12:26 +03:00
Sean Farley
a070cca79d
mu4e-main: add new method for constructing the maildir list
...
This method is exactly like `mu4e~main-bookmarks' but for maildirs
instead of bookmarks.
2020-05-26 23:12:26 +03:00
Sean Farley
41f0c5a92a
mu4e-utils: add method to count the longest name
...
Consolidates the logic for looping over bookmarks and maildirs so that
we can compute the longest name.
2020-05-26 23:12:26 +03:00
Sean Farley
c2b0d2db6e
mu4e-utils: send maildir queries along with bookmarks
...
When `mu4e-main-show-maildirs' is non-nil, we append the list of maildir
queries to the mu server.
2020-05-26 23:12:26 +03:00
Sean Farley
a899dd04f7
mu4e-utils: add new method to transform `mu4e-maildir-shortcuts'
...
This will allow iterating over `mu4e-maildir-shortcuts' the same way as
`mu4e-bookmarks' (i.e. adding :name and :query to the plist).
2020-05-26 20:57:40 +03:00
Dirk-Jan C. Binnema
7ed8d509ee
mu4e-org: support more attributes for capturing
...
item description
-----------------------------------------------------+------------------------
%:date, %:date-timestamp, %d:date-timestamp-inactive | date, org timestamps
%:from, %:fromname, %:fromaddress | sender, name/address
%:to, %:toname, %:toaddress | recipient, name/address
%:maildir | maildir for the message
%:message-id | message-id
%:path | file system path
%:subject | message subject
Fixes #1678
2020-05-26 20:17:50 +03:00
Dirk-Jan C. Binnema
57d38aa707
mu4e: honor truncate-string-ellipsis
...
Use truncate-string-to-width and thus honor truncate-string-ellipsis; so
to get 'fancy' ellipsis, one can set:
(setq truncate-string-ellipsis "…")
2020-05-25 18:34:42 +03:00
Dirk-Jan C. Binnema
d6e017c19f
update documentation
2020-05-24 20:12:49 +03:00
Dirk-Jan C. Binnema
9030cfc657
mu4e-maildir-shortcuts: update for today's functionality
...
The text:
Optionally, you can add the following:
`:hide' - if t, maildir is hdden from the main-view and speedbar.
`:hide-unread' - do not show the counts of unread/total number
of messages for the maildir in the main-view.
is not true for the current version, so let's remove it.
*
2020-05-20 07:12:04 +03:00
Marcel van der Boom
fa5b181e25
Merge remote-tracking branch 'upstream/master'
2020-05-19 09:09:08 +02:00
Marcel van der Boom
01736c9a65
Add missing space between signature verification and signers
2020-05-19 09:08:30 +02:00
Dirk-Jan C. Binnema
1c88651f41
mu4e: remove easy-accounts / no-trash-providers for now
...
The code still has some problems, and the original author has moved
elsewhere (which is fine of course), but it's not ready enough for
1.4.... yet. So let's remove it for now and check again with 1.5+.
2020-05-18 18:56:15 +03:00
Dirk-Jan C. Binnema
5bc63119e1
Merge pull request #1700 from derek-upham/master
...
Strip properties from mu4e-completing-read-function results.
2020-05-18 18:55:37 +03:00
Derek Upham
bb865fd1af
Strip properties from mu4e-completing-read-function results.
...
Some completion engines (like "flx") decorate the strings that they
return. If MU4E passes such a string down to MU, the "format" call
preserves the text properties in the generated S-expression, producing
an invalid query. MU4E itself has no interest in those decorations,
so strip them out as early as possible from all prompts that use
mu4e-completing-read-function.
2020-05-18 08:12:56 -07:00
Dirk-Jan C. Binnema
f016f257f9
mu4e: support 'no trash flag' for all mark-for-trash
...
Use a non-macro implementation for mu4e-(view|headers)-mark-for-trash,
and honor the no-trash flag.
Fixes #1687 .
2020-05-16 12:43:23 +03:00
Dirk-Jan C. Binnema
a2d315df4c
mu4e-compose: fix external use (`compose-mail')
...
Ensure compose-mail with mu works again, including passing various
parameters.
Fixes #1695 .
2020-05-15 23:42:05 +03:00
Dirk-Jan C. Binnema
4855004161
Merge pull request #1691 from vqhuy/fix-make-context
...
Fix `make-mu4e-context-account()` set incorrect query for bookmarks
2020-05-13 23:59:43 +03:00
Jonas Bernoulli
564d892701
Fix typos
2020-05-12 23:56:55 +02:00
Vu Quoc Huy
1b0d06f706
Fix make-mu4e-context-account
...
set the correct query for bookmarks when no-trash-flag is used
2020-05-12 00:38:16 +02:00
Giuseppe Fierro
08318af76c
Fix mu4e-headers-mark-or-move-to-trash()
...
Fix mu4e-headers-mark-or-move-to-trash() to pick right trash folder when
:no-trash-flag option is used in a context.
2020-05-10 08:25:41 +02:00
Dirk-Jan C. Binnema
2b105009aa
mu4e.texi: Add note about s/mime
2020-05-09 23:14:01 +03:00
Dirk-Jan C. Binnema
30bad6a6ff
Merge pull request #1683 from manuel-arguelles/change-info-spacing
...
mu4e: change spacing in main view for info section
2020-05-09 23:13:31 +03:00
Dirk-Jan C. Binnema
f4ac9d2538
Merge pull request #1685 from derek-upham/mu4e-view-hook-fix
...
Make mu4e~view-message available to mu4e-view-mode-hooks.
2020-05-09 23:12:20 +03:00
Manuel Argüelles
36701c9336
mu4e: change spacing in main view for info section
...
Change the spaces to tab to be consistent with the other entries in the
main view.
2020-05-08 11:24:31 -05:00
Derek Upham
d17abfc324
Make mu4e~view-message available to mu4e-view-mode-hooks.
...
This requires setting the buffer-local variable before calling the
major mode function, and protecting the variable from the standard
mode-change cleanup.
2020-05-06 20:23:29 -07:00
Dirk-Jan C. Binnema
05dc6333c3
mu4e-format: decode strings to utf8
...
Thanks to thierryvolpiatto
Fixes #1676 .
2020-05-05 22:14:53 +03:00
Dirk-Jan C. Binnema
75c8262a01
mu4e-bookmarks: improve documentation
2020-05-05 21:45:48 +03:00
Dirk-Jan C. Binnema
7ddcc2159f
mu4e: better error when mu4e-mu-binary is not set
2020-05-05 21:22:35 +03:00
Dirk-Jan C. Binnema
935232c94d
mu4e: Update documentation, vars
...
Fixes #1675 .
2020-05-04 21:03:44 +03:00
Dirk-Jan C. Binnema
0e69ac0f83
mu4e: use :hide-unread in doc
2020-05-04 20:53:12 +03:00
Stephen Eglen
a2a201eef6
Is it :hide-unread or :show-unread
...
I think the docstring is correct and the variable setting is wrong -- the code elsewhere (mu4e~start) seems to check hide-unread property.
2020-05-04 09:27:14 +01:00
Dirk-Jan C. Binnema
59ed21b01a
mu4e: start mu4e in compose-handler, when necessary
2020-05-01 22:44:45 +03:00
Dirk-Jan C. Binnema
4f113544f7
mu4e: update documentation
2020-05-01 22:44:45 +03:00
Dirk-Jan C. Binnema
1919146b94
mu4e: centralize mode-line context setting code
...
Add mu4e-context-in-modeline to handle all setting of context in the
mode-line, to address some corner-cases with the current setup.
2020-05-01 22:44:45 +03:00
Stephen Eglen
42f6edb2bf
typo in mu4e.texi
...
typo
2020-05-01 11:29:51 +01:00
Dirk-Jan C. Binnema
7a47784d78
mu4e-proc: only rename when maildir is set
...
The restores the old behavior (but with the fix for non-boolean
mu4e-change-filename-when-moving)
And some cleanups as suggested by Jonas Bernoulli.
2020-04-30 11:34:59 +03:00
Dirk-Jan C. Binnema
0f5f6c4e13
mu4e: ask for context in mu4e~start
...
This is a little risky, but it avoids the case where the
context-question is hidden by the response from the server ("blabla
contacts" etc.)
2020-04-27 21:51:23 +03:00
Dirk-Jan C. Binnema
a5dccffcdf
mu4e-proc: ensure some booleans are nil/t
...
Some are described as 'non-nil', but the backend only accepts symbols,
not e.g. a literal '1'.
2020-04-27 20:51:09 +03:00